@univerjs-pro/collaboration-client 0.10.8 → 0.10.9-nightly.202509260614

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 +11 -11
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
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;
1
+ 'use strict';var _0x1640f8=_0x3549;(function(_0x41d0cb,_0x1d330d){var _0x434bc6=_0x3549,_0x55a8bb=_0x41d0cb();while(!![]){try{var _0xbd4e76=-parseInt(_0x434bc6(0x39c))/0x1*(parseInt(_0x434bc6(0x236))/0x2)+parseInt(_0x434bc6(0x299))/0x3+-parseInt(_0x434bc6(0x28e))/0x4+-parseInt(_0x434bc6(0x39d))/0x5*(-parseInt(_0x434bc6(0x23b))/0x6)+-parseInt(_0x434bc6(0x2ad))/0x7+-parseInt(_0x434bc6(0x193))/0x8*(parseInt(_0x434bc6(0x2dc))/0x9)+parseInt(_0x434bc6(0x134))/0xa*(parseInt(_0x434bc6(0x152))/0xb);if(_0xbd4e76===_0x1d330d)break;else _0x55a8bb['push'](_0x55a8bb['shift']());}catch(_0x3263aa){_0x55a8bb['push'](_0x55a8bb['shift']());}}}(_0x459c,0x5834e));var bt=Object[_0x1640f8(0x450)],Ot=(_0x1ca0be,_0x1cf13f,_0x5cba78)=>_0x1cf13f in _0x1ca0be?bt(_0x1ca0be,_0x1cf13f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cba78}):_0x1ca0be[_0x1cf13f]=_0x5cba78,A=(_0x41069a,_0x4ef26c,_0x53b9fb)=>Ot(_0x41069a,typeof _0x4ef26c!=_0x1640f8(0x368)?_0x4ef26c+'':_0x4ef26c,_0x53b9fb);Object[_0x1640f8(0x450)](exports,Symbol['toStringTag'],{'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='/universer-api/snapshot',Dt=_0x1640f8(0x339),Ut=0x7d0,ht=_0x1640f8(0x269),At='/universer-api/user/session-ticket',_t=_0x1640f8(0x389),Pt=0x7530,ke=_0x1640f8(0x283),lt=0x4e20,wt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,Lt=_0x1640f8(0x1ad),xt=0x3e8,kt='/universer-api/comb',$t=_0x1640f8(0x48b),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt=_0x1640f8(0x2b5);var dt=(_0x3af209=>(_0x3af209[_0x3af209['UNDEFINED']=0x0]='UNDEFINED',_0x3af209[_0x3af209['OK']=0x1]='OK',_0x3af209[_0x3af209['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3af209[_0x3af209[_0x1640f8(0x32e)]=0x3]=_0x1640f8(0x32e),_0x3af209[_0x3af209[_0x1640f8(0x455)]=0x4]=_0x1640f8(0x455),_0x3af209[_0x3af209[_0x1640f8(0x465)]=0x5]=_0x1640f8(0x465),_0x3af209[_0x3af209[_0x1640f8(0x284)]=0x6]=_0x1640f8(0x284),_0x3af209[_0x3af209[_0x1640f8(0x2de)]=0x7]=_0x1640f8(0x2de),_0x3af209[_0x3af209[_0x1640f8(0x1ec)]=0x8]=_0x1640f8(0x1ec),_0x3af209[_0x3af209[_0x1640f8(0x3c1)]=0x9]=_0x1640f8(0x3c1),_0x3af209[_0x3af209[_0x1640f8(0x39a)]=0xa]=_0x1640f8(0x39a),_0x3af209[_0x3af209[_0x1640f8(0x396)]=0xb]=_0x1640f8(0x396),_0x3af209[_0x3af209[_0x1640f8(0x13e)]=0xc]=_0x1640f8(0x13e),_0x3af209[_0x3af209[_0x1640f8(0x21f)]=0xd]=_0x1640f8(0x21f),_0x3af209[_0x3af209[_0x1640f8(0x274)]=0xe]=_0x1640f8(0x274),_0x3af209[_0x3af209[_0x1640f8(0x15c)]=0x1389]=_0x1640f8(0x15c),_0x3af209[_0x3af209['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1640f8(0x307),_0x3af209[_0x3af209[_0x1640f8(0x2e4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3af209[_0x3af209[_0x1640f8(0x19a)]=0x1773]=_0x1640f8(0x19a),_0x3af209[_0x3af209[_0x1640f8(0x338)]=0x1b59]='APPLY_REJECT',_0x3af209[_0x3af209['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1640f8(0x44a),_0x3af209[_0x3af209[_0x1640f8(0x183)]=0x1b5b]=_0x1640f8(0x183),_0x3af209[_0x3af209['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1640f8(0x349),_0x3af209[_0x3af209[_0x1640f8(0x2ea)]=0x1b5d]='APPLY_DUPLICATED',_0x3af209[_0x3af209[_0x1640f8(0x1c5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3af209[_0x3af209[_0x1640f8(0x33b)]=0x2329]=_0x1640f8(0x33b),_0x3af209[_0x3af209['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1640f8(0x416),_0x3af209[_0x3af209['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1640f8(0x1d0),_0x3af209[_0x3af209[_0x1640f8(0x252)]=0x232c]=_0x1640f8(0x252),_0x3af209[_0x3af209['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1640f8(0x2e9),_0x3af209[_0x3af209[_0x1640f8(0x1d4)]=0x2711]=_0x1640f8(0x1d4),_0x3af209[_0x3af209['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1640f8(0x481),_0x3af209[_0x3af209[_0x1640f8(0x253)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3af209[_0x3af209[_0x1640f8(0x16c)]=0x2714]=_0x1640f8(0x16c),_0x3af209[_0x3af209[_0x1640f8(0x270)]=0x271a]=_0x1640f8(0x270),_0x3af209[_0x3af209[_0x1640f8(0x3f1)]=0x271b]=_0x1640f8(0x3f1),_0x3af209[_0x3af209[_0x1640f8(0x33d)]=0x271c]=_0x1640f8(0x33d),_0x3af209[_0x3af209[_0x1640f8(0x3e4)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3af209[_0x3af209[_0x1640f8(0x3fc)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3af209[_0x3af209[_0x1640f8(0x2cf)]=0x271f]=_0x1640f8(0x2cf),_0x3af209[_0x3af209['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1640f8(0x2d8),_0x3af209[_0x3af209['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3af209[_0x3af209['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3af209[_0x3af209[_0x1640f8(0x3a5)]=0x2ee2]=_0x1640f8(0x3a5),_0x3af209[_0x3af209[_0x1640f8(0x290)]=0x2ee3]=_0x1640f8(0x290),_0x3af209[_0x3af209[_0x1640f8(0x2a9)]=0x2ee4]=_0x1640f8(0x2a9),_0x3af209[_0x3af209[_0x1640f8(0x471)]=0x2ee5]=_0x1640f8(0x471),_0x3af209[_0x3af209[_0x1640f8(0x3a4)]=0x32c9]=_0x1640f8(0x3a4),_0x3af209[_0x3af209[_0x1640f8(0x324)]=0x32ca]=_0x1640f8(0x324),_0x3af209[_0x3af209[_0x1640f8(0x265)]=0x32cb]=_0x1640f8(0x265),_0x3af209[_0x3af209[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x3af209))(dt||{}),J=(_0x271fa2=>(_0x271fa2[_0x271fa2[_0x1640f8(0x2f5)]=0x0]='UNIVER_UNKNOWN',_0x271fa2[_0x271fa2[_0x1640f8(0x15e)]=0x1]=_0x1640f8(0x15e),_0x271fa2[_0x271fa2[_0x1640f8(0x435)]=0x2]=_0x1640f8(0x435),_0x271fa2[_0x271fa2['UNIVER_SLIDE']=0x3]=_0x1640f8(0x259),_0x271fa2[_0x271fa2[_0x1640f8(0x241)]=0x4]=_0x1640f8(0x241),_0x271fa2[_0x271fa2['UNRECOGNIZED']=-0x1]=_0x1640f8(0x487),_0x271fa2))(J||{}),W=(_0x27661d=>(_0x27661d[_0x27661d[_0x1640f8(0x3bd)]=0x0]='UNKNOWN_CMD',_0x27661d[_0x27661d['HELLO']=0x1]='HELLO',_0x27661d[_0x27661d[_0x1640f8(0x2a5)]=0x2]=_0x1640f8(0x2a5),_0x27661d[_0x27661d[_0x1640f8(0x266)]=0x3]=_0x1640f8(0x266),_0x27661d[_0x27661d[_0x1640f8(0x474)]=0x4]=_0x1640f8(0x474),_0x27661d[_0x27661d[_0x1640f8(0x43f)]=0x5]=_0x1640f8(0x43f),_0x27661d[_0x27661d['RECV']=0x6]=_0x1640f8(0x333),_0x27661d[_0x27661d[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x27661d))(W||{}),se=(_0x5db05c=>(_0x5db05c[_0x5db05c[_0x1640f8(0x1c4)]=0x0]=_0x1640f8(0x1c4),_0x5db05c[_0x5db05c['OK']=0x1]='OK',_0x5db05c[_0x5db05c['FAIL']=0x2]=_0x1640f8(0x20e),_0x5db05c[_0x5db05c['JOIN_ROOM_FULL']=0x3e9]=_0x1640f8(0x173),_0x5db05c[_0x5db05c[_0x1640f8(0x246)]=0x3ea]=_0x1640f8(0x246),_0x5db05c[_0x5db05c[_0x1640f8(0x1f0)]=0x3eb]=_0x1640f8(0x1f0),_0x5db05c[_0x5db05c[_0x1640f8(0x385)]=0x3ec]=_0x1640f8(0x385),_0x5db05c[_0x5db05c[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x5db05c))(se||{}),vt=(_0x31efd4=>(_0x31efd4[_0x31efd4[_0x1640f8(0x3ae)]=0x0]=_0x1640f8(0x3ae),_0x31efd4[_0x31efd4['HttpImport']=0x1]=_0x1640f8(0x37e),_0x31efd4[_0x31efd4[_0x1640f8(0x250)]=0x2]='HttpExport',_0x31efd4[_0x31efd4[_0x1640f8(0x1f6)]=0x3]=_0x1640f8(0x1f6),_0x31efd4[_0x31efd4[_0x1640f8(0x16b)]=0x4]=_0x1640f8(0x16b),_0x31efd4[_0x31efd4[_0x1640f8(0x298)]=0x5]=_0x1640f8(0x298),_0x31efd4[_0x31efd4[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x31efd4))(vt||{});const Bt=_0x1640f8(0x1e7);function Ft(_0xde8985){return JSON['stringify'](_0xde8985)['length'];}var Z=(_0x585e05=>(_0x585e05[_0x1640f8(0x255)]='OTHER_CLIENT_EDITING',_0x585e05[_0x1640f8(0x32e)]=_0x1640f8(0x32e),_0x585e05[_0x1640f8(0x2e2)]=_0x1640f8(0x2e2),_0x585e05[_0x1640f8(0x182)]=_0x1640f8(0x182),_0x585e05[_0x1640f8(0x225)]=_0x1640f8(0x225),_0x585e05[_0x1640f8(0x326)]='SOCKET_FAILED_RETRY',_0x585e05[_0x1640f8(0x1a8)]=_0x1640f8(0x1a8),_0x585e05[_0x1640f8(0x486)]=_0x1640f8(0x486),_0x585e05))(Z||{});class ee{constructor(){var _0x8b3545=_0x1640f8;A(this,_0x8b3545(0x2bd),new H[(_0x8b3545(0x375))]()),A(this,'event$',this[_0x8b3545(0x2bd)][_0x8b3545(0x1ed)]());}['emitEvent'](_0x392c40){var _0xab25c5=_0x1640f8;this[_0xab25c5(0x2bd)][_0xab25c5(0x3f8)](_0x392c40);}}class $e{constructor(){var _0x19a330=_0x1640f8;A(this,_0x19a330(0x3a8),new H[(_0x19a330(0x375))]()),A(this,_0x19a330(0x15b),this['_commentUpdate$'][_0x19a330(0x1ed)]());}[_0x1640f8(0x352)](_0x3c8543){var _0x1b5dbb=_0x1640f8;this[_0x1b5dbb(0x3a8)][_0x1b5dbb(0x3f8)](_0x3c8543);}}var Vt=Object[_0x1640f8(0x2d7)],Wt=(_0x23a240,_0x44eb5b,_0xaae657,_0x323397)=>{var _0x15a598=_0x1640f8;for(var _0xd0ed7d=_0x323397>0x1?void 0x0:_0x323397?Vt(_0x44eb5b,_0xaae657):_0x44eb5b,_0x1b3abe=_0x23a240[_0x15a598(0x388)]-0x1,_0x43518b;_0x1b3abe>=0x0;_0x1b3abe--)(_0x43518b=_0x23a240[_0x1b3abe])&&(_0xd0ed7d=_0x43518b(_0xd0ed7d)||_0xd0ed7d);return _0xd0ed7d;},Ve=(_0x2daca6,_0x41bd95)=>(_0x3bca66,_0x409771)=>_0x41bd95(_0x3bca66,_0x409771,_0x2daca6);exports[_0x1640f8(0x398)]=class extends a[_0x1640f8(0x380)]{constructor(_0x378fa2,_0x534d04){var _0x554c18=_0x1640f8;super(),A(this,'_roomMembers',new Map()),A(this,_0x554c18(0x32a),new H[(_0x554c18(0x375))]()),(this[_0x554c18(0x2f3)]=_0x378fa2,this[_0x554c18(0x351)]=_0x534d04,this[_0x554c18(0x30c)](H[_0x554c18(0x22a)](this[_0x554c18(0x2f3)][_0x554c18(0x2fe)](a[_0x554c18(0x1cb)]['UNIVER_SHEET'])[_0x554c18(0x297)](V[_0x554c18(0x3d2)](_0x5f13ef=>_0x5f13ef[_0x554c18(0x2e1)]())),this['_univerInstanceService'][_0x554c18(0x2fe)](a['UniverInstanceType'][_0x554c18(0x15e)])[_0x554c18(0x297)](V[_0x554c18(0x3d2)](_0x476193=>_0x476193[_0x554c18(0x2e1)]())),this[_0x554c18(0x2f3)][_0x554c18(0x2fe)](a[_0x554c18(0x1cb)]['UNIVER_SLIDE'])[_0x554c18(0x297)](V['map'](_0x22aca2=>_0x22aca2[_0x554c18(0x2e1)]())))[_0x554c18(0x217)](_0x5e1f3c=>this[_0x554c18(0x171)](_0x5e1f3c))));}[_0x1640f8(0x443)](_0x2b3936){var _0x16df03=_0x1640f8;return this[_0x16df03(0x23d)][_0x16df03(0x3fb)](_0x2b3936)?H['of'](this[_0x16df03(0x23d)][_0x16df03(0x3ee)](_0x2b3936)):this[_0x16df03(0x32a)][_0x16df03(0x297)](V[_0x16df03(0x3d2)](_0x5bc9f8=>{if(_0x5bc9f8===_0x2b3936)return this['_roomMembers']['get'](_0x5bc9f8);}));}['setCurrentUser'](_0x21cd89){var _0x2f5494=_0x1640f8;this['_userManagerService'][_0x2f5494(0x1bc)](_0x21cd89);}[_0x1640f8(0x2b9)](){var _0x593320=_0x1640f8;return this[_0x593320(0x351)][_0x593320(0x2b9)]();}['updateMember'](_0x24de50,_0x155877){var _0x2ba8f9=_0x1640f8;let _0x24101c=this['_roomMembers'][_0x2ba8f9(0x3ee)](_0x24de50);_0x24101c||(_0x24101c=new Gt(),this[_0x2ba8f9(0x23d)]['set'](_0x24de50,_0x24101c),this['_roomCreated$'][_0x2ba8f9(0x3f8)](_0x24de50)),_0x24101c[_0x2ba8f9(0x2c1)](_0x155877);}[_0x1640f8(0x19b)](_0x21ab29,_0x564522){var _0x355947=_0x1640f8;const _0x56f024=this[_0x355947(0x23d)][_0x355947(0x3ee)](_0x21ab29);_0x56f024&&_0x56f024[_0x355947(0x19b)](_0x564522);}[_0x1640f8(0x221)](_0x398bc2){var _0x10e252=_0x1640f8;return this[_0x10e252(0x23d)][_0x10e252(0x3ee)](_0x398bc2);}[_0x1640f8(0x3f4)](_0x405eac,_0x56bb0e){var _0x15eefe=_0x1640f8;const _0x56776f=this[_0x15eefe(0x23d)][_0x15eefe(0x3ee)](_0x405eac);if(_0x56776f)return _0x56776f[_0x15eefe(0x3f4)](_0x56bb0e);}['_removeRoom'](_0x140f08){var _0x88f927=_0x1640f8;const _0x318f5c=this[_0x88f927(0x23d)][_0x88f927(0x3ee)](_0x140f08);_0x318f5c&&(_0x318f5c[_0x88f927(0x244)](),this[_0x88f927(0x23d)][_0x88f927(0x24b)](_0x140f08));}['dispose'](){var _0xf25adc=_0x1640f8;this[_0xf25adc(0x23d)][_0xf25adc(0x1ff)](_0x262fb4=>_0x262fb4[_0xf25adc(0x244)]()),this[_0xf25adc(0x23d)][_0xf25adc(0x21c)](),this[_0xf25adc(0x32a)][_0xf25adc(0x256)]();}},exports['MemberService']=Wt([Ve(0x0,a[_0x1640f8(0x49a)]),Ve(0x1,a['Inject'](a[_0x1640f8(0x445)]))],exports[_0x1640f8(0x398)]);class Gt extends a['Disposable']{constructor(){var _0x8686c=_0x1640f8;super(...arguments),A(this,_0x8686c(0x381),new Map()),A(this,'_members$',new H[(_0x8686c(0x453))](this[_0x8686c(0x381)])),A(this,_0x8686c(0x2f9),this['_members$'][_0x8686c(0x1ed)]());}[_0x1640f8(0x244)](){var _0x1863f1=_0x1640f8;this[_0x1863f1(0x381)][_0x1863f1(0x21c)]();}['updateMember'](_0x47c98e){this['_members']['set'](_0x47c98e['memberID'],_0x47c98e),this['_emitMembers']();}[_0x1640f8(0x19b)](_0x2a0c37){this['_members']['delete'](_0x2a0c37);}[_0x1640f8(0x3f4)](_0x2a04a7){var _0x160188=_0x1640f8;return this[_0x160188(0x381)][_0x160188(0x3ee)](_0x2a04a7);}[_0x1640f8(0x21b)](){var _0x48550d=_0x1640f8;return Array[_0x48550d(0x41d)](this[_0x48550d(0x381)][_0x48550d(0x43c)]());}['_emitMembers'](){var _0x5312e4=_0x1640f8;this[_0x5312e4(0x140)]['next'](this[_0x5312e4(0x381)]);}}var Yt=Object[_0x1640f8(0x2d7)],qt=(_0x33d020,_0x233166,_0x301daa,_0x9a98ce)=>{var _0x4dadb3=_0x1640f8;for(var _0x452729=_0x9a98ce>0x1?void 0x0:_0x9a98ce?Yt(_0x233166,_0x301daa):_0x233166,_0x49233a=_0x33d020[_0x4dadb3(0x388)]-0x1,_0x1383b0;_0x49233a>=0x0;_0x49233a--)(_0x1383b0=_0x33d020[_0x49233a])&&(_0x452729=_0x1383b0(_0x452729)||_0x452729);return _0x452729;},ce=(_0x34a1b8,_0x4b86ca)=>(_0x8146e7,_0x5ce27e)=>_0x4b86ca(_0x8146e7,_0x5ce27e,_0x34a1b8),re=(_0x4d7adc=>(_0x4d7adc[_0x4d7adc[_0x1640f8(0x390)]=0x0]='IDLE',_0x4d7adc[_0x4d7adc[_0x1640f8(0x45b)]=0x1]='JOINING',_0x4d7adc[_0x4d7adc[_0x1640f8(0x2bb)]=0x2]=_0x1640f8(0x2bb),_0x4d7adc[_0x4d7adc[_0x1640f8(0x314)]=0x3]=_0x1640f8(0x314),_0x4d7adc))(re||{});const We={[se[_0x1640f8(0x20e)]]:_0x1640f8(0x3f7),[se[_0x1640f8(0x173)]]:_0x1640f8(0x278),[se[_0x1640f8(0x246)]]:'session.room-not-exists',[se[_0x1640f8(0x1f0)]]:'session.room-permission-denied',[se[_0x1640f8(0x385)]]:_0x1640f8(0x459)};exports[_0x1640f8(0x1b7)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x567e28,_0x581851,_0xbde09b,_0x1622a0,_0x50fd0b,_0x1542e4,_0x1a257b,_0x3b7826){var _0x4061f2=_0x1640f8;super(),A(this,'_sessionStatus$',new H[(_0x4061f2(0x453))](0x0)),A(this,_0x4061f2(0x478),this['_sessionStatus$'][_0x4061f2(0x1ed)]()),A(this,_0x4061f2(0x2bd),new H['Subject']()),A(this,_0x4061f2(0x2be),this[_0x4061f2(0x2bd)]['asObservable']()),A(this,_0x4061f2(0x36b)),A(this,_0x4061f2(0x3fa)),A(this,_0x4061f2(0x479)),A(this,_0x4061f2(0x3ca),!0x1),A(this,'_telemetryInfo',null),(this[_0x4061f2(0x408)]=_0x567e28,this[_0x4061f2(0x3aa)]=_0xbde09b,this['_configService']=_0x1622a0,this[_0x4061f2(0x25f)]=_0x50fd0b,this[_0x4061f2(0x3b2)]=_0x1542e4,this['_collaborationUIEventService']=_0x1a257b,this[_0x4061f2(0x19c)]=_0x3b7826,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x581851[_0x4061f2(0x297)](H['takeUntil'](this[_0x4061f2(0x247)]))[_0x4061f2(0x217)](_0x1619be=>{var _0x59e3f0=_0x4061f2,_0x2c8857;typeof _0x1619be>'u'||(this[_0x59e3f0(0x36b)]=_0x1619be,_0x1619be?(this[_0x59e3f0(0x337)](_0x1619be),this[_0x59e3f0(0x3fa)]=_0x1619be[_0x59e3f0(0x151)][_0x59e3f0(0x217)](_0x34dd49=>{var _0x6dab1f=_0x59e3f0;_0x34dd49[_0x6dab1f(0x149)]===this['_unitID']&&this['_onCombEvent'](_0x34dd49);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x59e3f0(0x27f)]['next'](0x2),(_0x2c8857=this['_socketMessageSubscription'])==null||_0x2c8857[_0x59e3f0(0x209)](),this[_0x59e3f0(0x3fa)]=null));}));}get['sessionStatus'](){var _0x544337=_0x1640f8;return this[_0x544337(0x27f)][_0x544337(0x46c)]();}[_0x1640f8(0x238)](){var _0x18c7ac=_0x1640f8,_0xb42c81,_0x2dfc28;return(_0x2dfc28=(_0xb42c81=this['_socket'])==null?void 0x0:_0xb42c81[_0x18c7ac(0x433)])!=null?_0x2dfc28:null;}[_0x1640f8(0x244)](){var _0x5f1c9b=_0x1640f8;super['dispose'](),this[_0x5f1c9b(0x247)][_0x5f1c9b(0x3f8)](),this['dispose$']['complete']();}[_0x1640f8(0x3f5)](){var _0x212139=_0x1640f8,_0x15cc28,_0x43b183;this[_0x212139(0x322)](),(_0x15cc28=this['_socket'])==null||_0x15cc28['send']({'cmd':W[_0x212139(0x266)],'data':{'roomID':this[_0x212139(0x408)]}}),(_0x43b183=this[_0x212139(0x36b)])==null||_0x43b183[_0x212139(0x3f5)](),this['_event$']['complete'](),this[_0x212139(0x27f)][_0x212139(0x256)](),this[_0x212139(0x244)]();}[_0x1640f8(0x3c2)](_0x13d933){var _0x51fd15=_0x1640f8;_0x13d933[_0x51fd15(0x21d)]===W[_0x51fd15(0x2a5)]?this[_0x51fd15(0x25b)](_0x13d933):_0x13d933['cmd']===W[_0x51fd15(0x333)]&&this['_onRecvEvent'](_0x13d933);}[_0x1640f8(0x337)](_0x3b5880){var _0x68366f=_0x1640f8;this['_sessionStatus$'][_0x68366f(0x3f8)](0x1),_0x3b5880[_0x68366f(0x407)]({'cmd':W[_0x68366f(0x2a5)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x68366f(0x408)]}]}});}[_0x1640f8(0x25b)](_0x4aebaa){var _0xbf55c7=_0x1640f8,_0xdcbe01;if(_0x4aebaa[_0xbf55c7(0x141)]in We){this[_0xbf55c7(0x468)]['emitEvent']({'id':Z[_0xbf55c7(0x225)],'data':We[_0x4aebaa[_0xbf55c7(0x141)]]}),this[_0xbf55c7(0x27f)][_0xbf55c7(0x3f8)](0x2);return;}this[_0xbf55c7(0x27f)][_0xbf55c7(0x3f8)](0x3);const _0x14b4a=(_0xdcbe01=_0x4aebaa['data'][_0xbf55c7(0x26f)][this['_unitID']])==null?void 0x0:_0xdcbe01[_0xbf55c7(0x1fb)];_0x14b4a&&_0x14b4a[_0xbf55c7(0x1ff)](_0x2bd569=>this[_0xbf55c7(0x25f)]['updateMember'](this['_unitID'],_0x2bd569));}['_onRecvEvent'](_0x4dc70e){var _0x7d7837=_0x1640f8;try{const _0x340caf=_0x4dc70e[_0x7d7837(0x19d)];switch(_0x340caf[_0x7d7837(0x47b)]){case p[_0x7d7837(0x1e8)][_0x7d7837(0x430)]:this['_onUserJoin'](_0x340caf),this['_event$'][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)][_0x7d7837(0x22e)]:this[_0x7d7837(0x311)](_0x340caf),this['_event$'][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)][_0x7d7837(0x136)]:case p[_0x7d7837(0x1e8)]['CHANGESET_SHOULD_RETRY']:this[_0x7d7837(0x370)](),this[_0x7d7837(0x306)](),this[_0x7d7837(0x2bd)][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)][_0x7d7837(0x43a)]:this[_0x7d7837(0x3aa)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x7d7837(0x288)](_0x340caf)),this[_0x7d7837(0x2bd)][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)]['COMMENT_UPDATE']:this[_0x7d7837(0x3b2)]['onCommentUpdate'](_0x340caf[_0x7d7837(0x19d)]),this[_0x7d7837(0x2bd)][_0x7d7837(0x3f8)](_0x340caf);break;default:this['_event$'][_0x7d7837(0x3f8)](_0x340caf);}}catch(_0x579fed){this[_0x7d7837(0x3aa)][_0x7d7837(0x15a)](_0x579fed,_0x4dc70e);}}[_0x1640f8(0x301)](_0x360498){var _0x3f1e8f=_0x1640f8;this[_0x3f1e8f(0x25f)][_0x3f1e8f(0x2c1)](this[_0x3f1e8f(0x408)],_0x360498[_0x3f1e8f(0x19d)]);}[_0x1640f8(0x311)](_0x400086){var _0x24a124=_0x1640f8;this[_0x24a124(0x25f)][_0x24a124(0x19b)](this[_0x24a124(0x408)],_0x400086[_0x24a124(0x19d)][_0x24a124(0x433)]);}async[_0x1640f8(0x407)](_0x2e1e29,_0x324450){var _0x28a973=_0x1640f8;if(this[_0x28a973(0x2e6)]!==0x3||!this[_0x28a973(0x36b)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2e1e29['eventID']===p[_0x28a973(0x1e8)][_0x28a973(0x3b9)]&&(this[_0x28a973(0x2a3)](),this[_0x28a973(0x181)](_0x2e1e29)),this['_socket'][_0x28a973(0x407)]({'cmd':W[_0x28a973(0x474)],'routeKey':_0x324450,'routeType':'','data':_0x2e1e29});}catch(_0x20aaf3){this['_logService']['error'](_0x20aaf3);}}['_scheduleCollaborationTimeoutTimer'](){var _0xc854d6=_0x1640f8,_0x19f21e;this[_0xc854d6(0x479)]=setTimeout(()=>{var _0x5ed9a4=_0xc854d6;this[_0x5ed9a4(0x479)]=null,this[_0x5ed9a4(0x468)][_0x5ed9a4(0x1b6)]({'id':Z[_0x5ed9a4(0x486)]});},(_0x19f21e=this['_configService'][_0xc854d6(0x254)](ke))!=null?_0x19f21e:lt);}[_0x1640f8(0x306)](){var _0x173d9d=_0x1640f8;this[_0x173d9d(0x479)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x173d9d(0x479)]=null);}[_0x1640f8(0x181)](_0x1a6ebb){var _0x57dd7a=_0x1640f8;if(!this[_0x57dd7a(0x3ca)])return;const {data:_0x57bab6}=_0x1a6ebb,{unitID:_0x15402c,changeset:_0x5c3b40}=_0x57bab6,{mutations:_0x149d53,type:_0x4952cd}=_0x5c3b40;this[_0x57dd7a(0x303)]={'unitId':_0x15402c,'type':_0x4952cd,'startTime':performance[_0x57dd7a(0x20f)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x149d53)};}[_0x1640f8(0x370)](){var _0x3ab40a=_0x1640f8;if(this[_0x3ab40a(0x3ca)]){if(!this[_0x3ab40a(0x303)]){this['_logService']['error'](_0x3ab40a(0x342),_0x3ab40a(0x267));return;}this[_0x3ab40a(0x303)][_0x3ab40a(0x316)]=performance[_0x3ab40a(0x20f)](),this[_0x3ab40a(0x303)][_0x3ab40a(0x3c9)]=this[_0x3ab40a(0x303)][_0x3ab40a(0x316)]-this[_0x3ab40a(0x303)][_0x3ab40a(0x146)],this[_0x3ab40a(0x19c)][_0x3ab40a(0x1f5)](Bt,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x1640f8(0x322)](){this['_telemetryInfo']=null;}},exports[_0x1640f8(0x1b7)]=qt([ce(0x2,a[_0x1640f8(0x226)]),ce(0x3,a[_0x1640f8(0x30d)]),ce(0x4,a[_0x1640f8(0x207)](exports[_0x1640f8(0x398)])),ce(0x5,a['Inject']($e)),ce(0x6,a[_0x1640f8(0x207)](ee)),ce(0x7,a[_0x1640f8(0x1d3)](Rt[_0x1640f8(0x2a6)]))],exports[_0x1640f8(0x1b7)]);const K=a[_0x1640f8(0x363)]('collaboration-client.local-cache-service');function Kt(_0xa221e0){var _0x2e4aa8=_0x1640f8;return _0x2e4aa8(0x271)+_0xa221e0;}var zt=Object['getOwnPropertyDescriptor'],Jt=(_0xa9684d,_0xfd6b2f,_0x489703,_0x5dc739)=>{var _0x28b94e=_0x1640f8;for(var _0x26d415=_0x5dc739>0x1?void 0x0:_0x5dc739?zt(_0xfd6b2f,_0x489703):_0xfd6b2f,_0x38c253=_0xa9684d[_0x28b94e(0x388)]-0x1,_0x23b817;_0x38c253>=0x0;_0x38c253--)(_0x23b817=_0xa9684d[_0x38c253])&&(_0x26d415=_0x23b817(_0x26d415)||_0x26d415);return _0x26d415;},Ue=(_0x1accbd,_0x83ee24)=>(_0x4e8874,_0x6052ba)=>_0x83ee24(_0x4e8874,_0x6052ba,_0x1accbd);function Xt(_0x36d193){var _0x48a801=_0x1640f8;const {unitID:_0x191b5d,mutations:_0x460710}=_0x36d193;return{'unitId':_0x191b5d,'subUnitId':_0x460710[0x0]['params'][_0x48a801(0x37a)]};}exports[_0x1640f8(0x392)]=class{constructor(_0x8bad59,_0xbdd832,_0x2a0b19){var _0x23834e=_0x1640f8;this[_0x23834e(0x331)]=_0x8bad59,this['_transformService']=_0xbdd832,this[_0x23834e(0x233)]=_0x2a0b19;}[_0x1640f8(0x162)](_0x3e7892){var _0x27c349=_0x1640f8,_0x3b1377,_0x35c2f6,_0x1e96ad,_0x329df1;const _0x5c9b9=this[_0x27c349(0x331)][_0x27c349(0x3ee)](X[_0x27c349(0x360)]),{unitId:_0x65dcb,subUnitId:_0x2389ce}=Xt(_0x3e7892),_0x4b37a6=_0x5c9b9==null?void 0x0:_0x5c9b9[_0x27c349(0x279)](_0x65dcb)[_0x27c349(0x3cc)](),_0x541f8e=(_0x35c2f6=(_0x3b1377=this[_0x27c349(0x233)][_0x27c349(0x178)](_0x65dcb))==null?void 0x0:_0x3b1377[_0x27c349(0x413)]())==null?void 0x0:_0x35c2f6[_0x27c349(0x28d)]();if(_0x4b37a6[_0x27c349(0x388)]===0x0||!_0x65dcb||!_0x2389ce)return;const _0x2b5473=[{'id':X[_0x27c349(0x25e)]['id'],'params':{'unitId':_0x65dcb,'subUnitId':_0x541f8e,'selections':a['Tools'][_0x27c349(0x3ed)](_0x4b37a6)}}],_0x27aad7=this[_0x27c349(0x424)][_0x27c349(0x201)](_0x3e7892,_0x2b5473);if(!p['isTransformMutationsWithChangesetSuccess'](_0x27aad7))throw _0x27aad7[_0x27c349(0x15a)];const _0x257eb9=(_0x329df1=(_0x1e96ad=_0x27aad7[_0x27c349(0x47a)][0x0])==null?void 0x0:_0x1e96ad[_0x27c349(0x43d)])==null?void 0x0:_0x329df1[_0x27c349(0x374)];if(Array['isArray'](_0x257eb9)&&_0x257eb9['length']){if(_0x257eb9[_0x27c349(0x388)]===_0x2b5473[0x0][_0x27c349(0x43d)][_0x27c349(0x374)][_0x27c349(0x388)]&&_0x257eb9[_0x27c349(0x249)]((_0x3e9bd9,_0x98fd5a)=>a['Rectangle'][_0x27c349(0x18e)](_0x3e9bd9['range'],_0x2b5473[0x0]['params'][_0x27c349(0x374)][_0x98fd5a][_0x27c349(0x223)])))return;this[_0x27c349(0x331)]['get'](a[_0x27c349(0x3a9)])[_0x27c349(0x409)](X[_0x27c349(0x25e)]['id'],{'unitId':_0x65dcb,'subUnitId':_0x541f8e,'selections':_0x257eb9});}}},exports[_0x1640f8(0x392)]=Jt([Ue(0x0,a[_0x1640f8(0x207)](a['Injector'])),Ue(0x1,p[_0x1640f8(0x1f4)]),Ue(0x2,a[_0x1640f8(0x49a)])],exports[_0x1640f8(0x392)]);const de=a[_0x1640f8(0x363)]('univer-pro.collaboration-client.single-active-unit-service');var He=(_0x2c4cb9=>(_0x2c4cb9[_0x2c4cb9[_0x1640f8(0x328)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2c4cb9[_0x2c4cb9[_0x1640f8(0x176)]=0x1]=_0x1640f8(0x176),_0x2c4cb9))(He||{});const Y=_0x1640f8(0x436),Zt={},Qt=new Set([X[_0x1640f8(0x2d2)]['id']]);function Ge(_0x26d3b5,_0x526a0c,_0x2f1944,_0x212033,_0x56abee){var _0x276f8a=_0x1640f8,_0x185977,_0x1532bf,_0x4bdf9f,_0x6398d0;const _0x52ec7d=[];for(const _0x48209c of _0x26d3b5)if(Qt[_0x276f8a(0x3fb)](_0x48209c['id'])){if(_0x52ec7d[_0x276f8a(0x388)]>0x0)break;_0x52ec7d[_0x276f8a(0x33f)](_0x48209c);break;}else _0x52ec7d['push'](_0x48209c);const _0x83e37d=(_0x1532bf=(_0x185977=_0x56abee['getCurrentUser']())==null?void 0x0:_0x185977[_0x276f8a(0x2c6)])!=null?_0x1532bf:_0x276f8a(0x1e2),_0x54da06=(_0x6398d0=(_0x4bdf9f=_0x56abee[_0x276f8a(0x2b9)]())==null?void 0x0:_0x4bdf9f['memberID'])!=null?_0x6398d0:_0x276f8a(0x1e2);return{'changeset':{'unitID':_0x526a0c,'type':p['mapDocumentTypeToUniverType'](_0x2f1944[_0x276f8a(0x1eb)](_0x526a0c)),'baseRev':_0x212033[_0x276f8a(0x378)](_0x526a0c),'revision':0x0,'userID':_0x83e37d,'memberID':_0x54da06,'mutations':_0x52ec7d},'pendingMutations':_0x26d3b5[_0x276f8a(0x21e)](_0x52ec7d['length'])};}function ei(_0xae94da,_0x1615b4,_0x3c37b1,_0x34b165,_0x195279){var _0x215042=_0x1640f8,_0x49c101,_0x1f8171,_0x331261,_0x26fb65;const _0x429d8b=[_0xae94da[_0x215042(0x2ed)]((_0x5d7aac,_0x34c71f)=>{var _0x2dd665=_0x215042,_0x1650e2;const {id:_0x16a450}=_0x5d7aac,{id:_0x5be099,type:_0x31ae08}=_0x34c71f,_0x230e28=(_0x1650e2=_0x5d7aac[_0x2dd665(0x43d)])!=null?_0x1650e2:{'actions':null},_0x352d7e=_0x34c71f[_0x2dd665(0x43d)];if(_0x16a450&&_0x16a450!==_0x5be099)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x16a450+_0x2dd665(0x13d)+_0x5be099+'.');return{..._0x5d7aac,'id':_0x5be099,'type':_0x31ae08,'params':{'unitId':_0x352d7e[_0x2dd665(0x372)],'textRanges':_0x352d7e[_0x2dd665(0x1ee)],'actions':a[_0x2dd665(0x477)][_0x2dd665(0x203)](_0x230e28['actions'],_0x352d7e[_0x2dd665(0x403)])}};},{})],_0x6fe9d2=(_0x1f8171=(_0x49c101=_0x195279[_0x215042(0x2b9)]())==null?void 0x0:_0x49c101[_0x215042(0x2c6)])!=null?_0x1f8171:_0x215042(0x1e2),_0x2c3c78=(_0x26fb65=(_0x331261=_0x195279[_0x215042(0x2b9)]())==null?void 0x0:_0x331261['memberID'])!=null?_0x26fb65:_0x215042(0x1e2);return{'changeset':{'unitID':_0x1615b4,'type':p[_0x215042(0x1af)](_0x3c37b1['getUnitType'](_0x1615b4)),'baseRev':_0x34b165[_0x215042(0x378)](_0x1615b4),'revision':0x0,'userID':_0x6fe9d2,'memberID':_0x2c3c78,'mutations':_0x429d8b},'pendingMutations':[]};}function St(_0x117350,_0x123518){var _0x289261=_0x1640f8;const _0x38e87e=new H[(_0x289261(0x415))](0x1);return setTimeout(()=>_0x38e87e['next'](_0x123518),_0x117350),_0x38e87e['asObservable']()[_0x289261(0x297)](H[_0x289261(0x153)](0x1));}const ti={'id':X[_0x1640f8(0x1ea)]['id'],'type':a[_0x1640f8(0x484)]['MUTATION'],'params':{}};var ii=Object[_0x1640f8(0x2d7)],oe=(_0x4a90f5,_0x465792,_0x9ef169,_0x380fe4)=>{var _0x574d35=_0x1640f8;for(var _0x447bab=_0x380fe4>0x1?void 0x0:_0x380fe4?ii(_0x465792,_0x9ef169):_0x465792,_0x523660=_0x4a90f5[_0x574d35(0x388)]-0x1,_0x44fe1f;_0x523660>=0x0;_0x523660--)(_0x44fe1f=_0x4a90f5[_0x523660])&&(_0x447bab=_0x44fe1f(_0x447bab)||_0x447bab);return _0x447bab;},w=(_0xec74cb,_0x44368e)=>(_0x3a33d8,_0x403c8b)=>_0x44368e(_0x3a33d8,_0x403c8b,_0xec74cb),je=(_0x41aa7f=>(_0x41aa7f['NOT_COLLAB']=_0x1640f8(0x3cd),_0x41aa7f[_0x1640f8(0x2d4)]='synced',_0x41aa7f[_0x1640f8(0x212)]=_0x1640f8(0x492),_0x41aa7f[_0x1640f8(0x31d)]='awaiting',_0x41aa7f[_0x1640f8(0x428)]='awaiting_with_pending',_0x41aa7f['FETCH_MISS']=_0x1640f8(0x464),_0x41aa7f['CONFLICT']=_0x1640f8(0x179),_0x41aa7f[_0x1640f8(0x2bb)]='offline',_0x41aa7f))(je||{});const ft=0xea60;function _0x459c(){var _0x765bd9=['stopTime','add','MD5','permissionRejEvent','updatePermissionObjEvent','open$','fetchMissingChangesets','AWAITING','[PendingState]:\x20unhandled\x20univer\x20type:\x20','clone','liveShareNewHost','then','_throwTelemetryCollaborationNewChangeset','charCodeAt','MOBILE_HAS_BEEN_BOUND','_syncEditingCollabCursor','SOCKET_FAILED_RETRY','collabSubmitChangesetUrl','NO_OTHER_CLIENTS_EDITING','_networkConditionService','_roomCreated$','hasher','MentionType','enableAuthServer','PERMISSION_DENIED','decrypt','OPTIONAL','_injector','[OfflineState]:\x20received\x20changeset.','RECV','appendMutation','_doCreateSocket','_retryCount','_joinRoom','APPLY_REJECT','SNAPSHOT_URL_KEY','resend','LICENSE_MAX_UNITS_EXCEEDED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Cipher','push','_hash','onRemoteRej','[CollaborationSession]','_transitionLocked','AwaitingWithPendingState','getSheetBlock','close$','LIVESHARE_REQUEST_HOST','SHA1','APPLY_PERMISSION_DENIED','onRemoteAck','authzUrl','_snapshotService','append','DEFAULT_COLLAB_WEB_SOCKET_URL','ImageSourceType','call','_userManagerService','onCommentUpdate','AuthzIoHttpService','reset','substr','_getCurrentRevision','status$','_replayCachedMutations','transformChangesets','submit\x20changeset\x20error!','filter','ERROR_IMAGE','Utf8','_isPermissionRej','NEW_CHANGESETS','SheetsSelectionsService','encode','CipherParams','createIdentifier','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','crypto','_hasher','RichTextEditingMutation','symbol','_transformIMECache','_keySchedule','_socket','image/png','action','CollaborationImageIoService','saveSheetBlock','_stopTelemetryCollaborationNewChangeset','&assign=','unitId','_resendWithTimeout','selections','Subject','onLocalMutation','_onConflict','getCurrentRevOfUnit','__esModule','subUnitId','SnapshotServerOverHTTPService','HmacSHA1','readAsDataURL','HttpImport','max','Disposable','_members','extend','isArray','_doProcessBlock','GLOBAL_ROOMS_CNT_EXCEEDS','_sessions','ILocalCacheService','length','HEARTBEAT_INTERVAL','PendingState','OpenSSL','IPermissionService','ceil','status','_entities','IDLE','join','SheetTransformSelectionsService','ciphertext','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getSignURL','MOBILE_VERIFY_CODE_MISMATCH','takeUntil','MemberService','OfflineState','LOGIN_FAILED','pad','8887ffrWVT','5sWbugA','_onFetchMissResult','transformStack\x20failed!','_httpService','_ENC_XFORM_MODE','floor','_onLocalMutation','WECHAT_HAS_BEEN_BOUND','INVALID_INVITE_CODE','baseRev','url','_commentUpdate$','ICommandService','_logService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','online$','Failed\x20to\x20update\x20permission\x20point','Undefined','_append','onStateChange','ImageUploadStatusType','_commentService','resolve','mixIn','_key','_clearLocalCache','default','isInternalEditorID','SUBMIT_CHANGESET','_substituteUndoStack','includes','updateOfflineData','UNKNOWN_CMD','_toggleOnline','exports','getTime','COMPLETION_FINISHED','_onCombEvent','_onMessage','file','uniscriptRunEvent','PSEUDO_FETCH_MISSING_RESULT','fromCharCode','state$','duration','_shouldReportTelemetry','create','getCurrentSelections','not_collab','_changesetReqId','_doFinalize','_onRemoteRejected','refreshPermission','map','_initMergeInterceptor','_substituteRedoStack','_getCtorByUniverType','[SyncedState]:\x20received\x20acknowledgement.','_type','_clearScheduledTask','_applyRemoteChangeset','CollaborationEntity','_updateStatus','disableLocalCache','objectID','setWaitCount','{fileID}','onTransformIME','getInterceptPoints','deleteCollaborator','body','YUUMI_ALL_TABLES_IS_INVALID','_commandService','clamp','Pkcs7','onMissedChangesetFetched','_HTTPService','key','_socketService','RETRY_CONNECTING_MAX_COUNT_KEY','deepClone','get','getSnapshotAPIPath','socket$','YUUMI_ASYNCIO_CANCELLED','_acknowledgedAwaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getMember','close','requestParams','session.join-failed','next','_rescheduleHeartbeat','_socketMessageSubscription','has','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addImageSourceCache','[OfflineState]:\x20received\x20acknowledgement.','fetchMiss','loadUnitOfRevision','_tryEnsureSocket','unitInfo$','actions','words','DocCollaborationEntity','_unitInfo$','send','_unitID','executeCommand','_redoStacks','ThresholdInterceptorFactory','[CollaborationSessionService]:\x20socket\x20error','/-/object/list','enableOfflineEditing','UnitStatus','[CollaborationSessionService]','sendChangesetTimeout','toggleOffline','getActiveSheet','getLatestCsReqIdBySid','ReplaySubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','csRejEvent','COMPRESS_MUTATION_SEND','auth.needGotoLoginAlert','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitStatus$','?size=','from','_getLoginPath','_remoteChangesetQueue','awaiting_with_pending','CollaborationStatus','localCacheService','IMentionIOService','_transformService','byteLength','_xformMode','_singleActiveUnitService','AWAITING_WITH_PENDING','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','post','toString','confirm','HEARTBEAT_TIMEOUT_KEY','_checkMissing','_retryConnectingTimer','USERS_ENTER','onStarting','_transformRemoteChangesetByIMECache','memberID','_unlockTransition','UNIVER_SHEET','collaboration-client.config','\x20in\x20_schedule.','listCollaborators','entityInit$','MSG_FOR_ERROR','_submitChangeset','values','params','_doReset','HEARTBEAT','SessionStatus','_createInitialStateImpl','_localCacheService','waitForRoom$','synced','UserManagerService','collaborators','requireSession','charAt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','APPLY_NON_SEQUENTIAL_REVISION','Hasher','_transformStack','_schedule','BlockCipher','_data','defineProperty','getDeserializedSheetBlock','mutations','BehaviorSubject','generateRandomId','NOT_FOUND','roles','reject','formatter','session.room-cnt-exceeds','HTTPRequest','JOINING','isTransformMutationsWithChangesetSuccess','setShowComponents','_updateLocalCache','isTransformMutationsWithChangesetFailure','COMPRESS_MUTATION_APPLY','DependentOn','_nDataBytes','MUTATION','fetch_missing','UNAUTHENTICATED','Univer','finalize','_collaborationUIEventService','_createHmacHelper','_lockTransition','_createHandler','getValue','_iv','_handlerCallback','_process','function','INVITE_CODE_ALREADY_BOUND','batchAllowed','PERMISSION_REJ','INGEST','algo','_waitCount','JSONX','sessionStatus$','_collaborationTimeoutTimer','m2Prime','eventID','onSyncEditingCollabCursor','objectType','IUndoRedoService','entries','patch','YUUMI_URL_COL_OUT_OF_RANGE','loadDoc','ISnapshotServerService','CommandType','_status$','SUBMIT_CHANGESET_TIMEOUT','UNRECOGNIZED','_getAPIPrefix','PasswordBasedCipher','_clearRedo','/universer-api/oidc/authpage','location','name','_cipher','_localeService','HELLO','findIndex','pending','parse','objectActions','LIVESHARE_FETCH_OPERATIONS','incrementRevOfUnit','/-/object/-/batch_allowed','Plugin','headers','IUniverInstanceService','reqId','937820qLHdPG','ivSize','CHANGESET_ACK','onRemoteRetry','socketService','delay','createInstance','&to=','subject','\x20-\x20','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SheetCollaborationEntity','_members$','code','Base64','WordArray','registerHTTPInterceptor','msCrypto','startTime','ISingleActiveUnitService','loadOfflineData','routeKey','_resendTimer','[CollaborationEntity]','reconnect','_imageSourceCache','sheets','onSendChangeset','DEFAULT_FILE_NAME','message$','209ENZREr','take','[UniverCollaborationClientPlugin]','list','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createSocket','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[DataLoaderService]','error','commentUpdate$','CHANGESET_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNIVER_DOC','image/gif','_showConflictNotification','createEncryptor','transformSelections','UniverNetworkPlugin','randomBytes','onRemoteChangeset','leaveEvent','CHANGESET_SHOULD_RETRY','startsWith','CollaborationSessionService','?url=','UnitSnapshot','YUUMI_SUBSCRIPTION_NOT_FOUND','EvpKDF','replace','/block/','image/jpeg','_removeRoom','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN_ROOM_FULL','/rev/','isPermissionRej','OTHER_CLIENTS_EDITING','UniverCollaborationPlugin','getUnit','conflict','CommentService','UUID','_onRemoteRetry','_timeoutTimer','LIVESHARE_NEW_HOST','salt','mode','_startTelemetryCollaborationNewChangeset','CLOSE_ROOM','APPLY_REVISION_CONFILICT','revision','_config','copyFileMeta','_pendingMutations','_onConnectionOpen','abs','_tryReconnect','_toggleOffline','_initDependencies','_onRemoteACK','equals','CollaborationController','awaitingChangeset','image/bmp','_getSendChangesetTimeout','1265136EQqxxl','_oKey','[OfflineState]:\x20received\x20rejection.','_map','iterations','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UPDATE_CURSOR','ENSURE_SNAPSHOT_EXECUTION','removeMember','_telemetryService','data','onlyLocal','workbook','ERROR_EXCEED_SIZE','objects','_collaborationSessionService','__creator','CollaborationUIEventId','sigBytes','_resendTimeout','sequenceExecute','SOCKET_FAILED','Hex','_getAPIPrefixPath','BufferedBlockAlgorithm','_init','LOCAL_CACHE_INTERVAL','_nRounds','mapDocumentTypeToUniverType','FETCH_MISSING','csAckEvent','RevisionService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_socket$','_getUploadFileURL','emitEvent','CollaborationSession','RxDisposable','_undoRedoService','HTTPService','AwaitingState','setCurrentUser','_clearUndo','parseProtocolChangeset','state','/role','Injector','offline','/object/','UNKNOWN_CODE','CONNECTOR_DATA_TOO_LARGE','localeService','textEncoder','_transformUndoredo','x-univer-host','_iKey','UniverInstanceType','format','override','UPDATE_PERMISSION_OBJ','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','LICENSE_IMPORT_SIZE_EXCEEDED','HmacMD5','_replaceFileID','Optional','YUUMI_UNABLE_LOAD_URL','LIVESHARE_TERMINATE','downloadEndpointUrl','awaiting','addHandlerCallback','_minBufferSize','newCsEvent','getGlobalObject','BlockCipherMode','onTransformSelections','_queuedRemoteChangesets','_revisionService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','createDecryptor','unknown','collabWebSocketUrl','FetchingMissState','CompressMutationService','_onOffline','collaboration_new_changeset','CollaborationEvent','_compressMutationService','EmptyMutation','getUnitType','TOO_MANY_REQUESTS','asObservable','textRanges','IContextService','JOIN_ROOM_PERMISSION_DENIED','_clearRetryConnectingTimer','touchDependencies','_clearHeartbeatTimer','ITransformService','capture','UnitEmbedded','createSocket','LIVESHARE_OPERATION','UNISCRIPT_RUN','_parse','members','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_collaborationPaused','_getUndoStack','forEach','_executeRemoteChangeset','transformMutationsWithChangeset','onTransformRemoteChangesetByIMECache','compose','splice','keySize','collaboratorID','Inject','_undoStacks','unsubscribe','cfg','_createHelper','BASE64','enableCollaboration','FAIL','now','\x0aCurrent:\x20','_fetchMissChangesets','PENDING','origin','MentionIoHttpService','_DEC_XFORM_MODE','update','subscribe','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','apply','_collabSessionService','getAllMembers','clear','cmd','slice','EMAIL_VERIFY_CODE_MISMATCH','/unit/','getRoom','_invKeySchedule','range','getCollabEntity','JOIN_ROOM_FAILED','ILogService','PERSON','decryptBlock','liveShareOperation','merge','_entityInit$','DEFAULT_WS_SESSION_TICKET_URL','repeat','USERS_LEAVE','LOCAL_CACHE_INTERVAL_KEY','_state$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','session','_instanceService','IAuthzIoService','SnapshotService','102GJWJcL','getTypeOfUnitAdded$','getMemberID','DataLoaderService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','4143558AZOcgx','_sendingTimer','_roomMembers','getRandomValues','_mode','_awaitingChangeset','UNIVER_PROJECT','onload','responseType','dispose','_changesetSessionId','JOIN_ROOM_NOT_EXISTS','dispose$','_state','every','onTransformState','delete','encryptBlock','/collaborator','focused$','csShouldRetryEvent','HttpExport','ICollaborationSocketService','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_RATE_OVER_LIMIT','getConfig','OTHER_CLIENT_EDITING','complete','SUCCUSS','SyncedState','UNIVER_SLIDE','_handler','_onJoinRoomEvent','CollaborationSocketService','execute','SetSelectionsOperation','_memberService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_sendHeartbeat','href','_socketReady','find','EMAIL_HAS_BEEN_BOUND','LEAVE','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_COLLABORATION_CLIENT_PLUGIN','ws://127.0.0.1:8000/universer-api/comb/connect','_sender','prototype','hasOwnProperty','target','originalMeta','roomInfos','YUUMI_NO_CUBOID_FOR_QUESTION','unit-cache-','Quantity','sid','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sendHeartbeatTimer','fromCollab','transformUndoRedo','session.room-full','getWorkbookSelections','saveSnapshot','[PendingState]:\x20received\x20rejection.','Decryptor','WorkbookEditablePermission','init','_sessionStatus$','_onConnectionFailed','unitID','updateSnapshot','HEARTBEAT_TIMEOUT','ALREADY_EXISTS','__Key__','rev','/universer-api/stream/file/upload','stringify','_createInitialState','closeSession','_disableEditing','_registerDependencies','getSheetId','2427464jzsqGj','CollaborativeUndoRedoService','INVITE_CODE_REQUIRED','change$','put','_exhaustRemoteChangesetQueue','uuidv4','fetching\x20missing\x20changesets\x20from\x20','pauseCollaboration','pipe','UserProfileImg','131553TaKZeU','FileId','_keyPriorReset','Base','[FetchMissState]','random','\x0aAfter:\x20','Error\x20on\x20receiving\x20event','[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.','updateCollaborator','_scheduleCollaborationTimeoutTimer','$super','JOIN','ITelemetryService','LocaleService','_permissionService','USER_NOT_INVITED_CODE','withCredentials','LocalUndoRedoService','_candidateSocket','4343353Lofkze','_reverseMap','setConfig','loadSheet','_configService','COMMENT_UPDATE','UniverCollaborationClientPlugin','_initRequestHeader','/universer-api/uniscript','_getRedoStack','type','size','getCurrentUser','kdf','OFFLINE','_onRemoteChangeset','_event$','event$','_waitForHeartbeatResponse','method','updateMember','/object','_doCryptBlock','onCommandExecuted','catch','userID','/new_changes','ConflictState','_change$','[CollaborationState]:\x20apply\x20error!','_scheduleCompleteTimestamp','debug','enc','Workbook','YUUMI_AI_RUN_FAILED','string','fetchThroughInterceptors','InsertSheetMutation','CHANGESET_REJ','SYNCED','error$','b64DecodeUnicode','getOwnPropertyDescriptor','YUUMI_CONNECTOR_URL_NOT_FOUND','toggleOnline','/universer-api/authz','editingUnit','27JVfCnI','blockSize','INVALID_ARGUMENT','parseChangesetToProtocol','[CollaborationUndoRedoService]','getUnitId','CONFLICT','compute','SNAPSHOT_HAS_BEEN_REMOVED','firstValueFrom','sessionStatus','onTransformRemoteChangesetByStateCache','&source=','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','c1Prime','_decreaseWaiting','reduce','_clearTimeoutTimer','_transformRemoteChangesetByStateCache','loadUnit','_initCloseConn','onMissingChangesets','_univerInstanceService','getFocusedUnit','UNIVER_UNKNOWN','_prevBlock','lib','_getDownloadEndpointURL','members$','_startCollaboration','_transformSelections','registerDependencies','AES','getTypeOfUnitDisposed$','isTransformChangesetsSuccess','toDisposable','_onUserJoin','readyForCollab','_telemetryInfo','CollaborationUIEventService','reverse','_clearCollaborationTimeoutTimer','SNAPSHOT_INVALID_SNAPSHOT','encrypt','NoPadding','_transformStateCache','_incrementRevisionNumber','disposeWithMe','IConfigService','concat','result','_updateState','_onUserLeave','interceptor','updatePermissionPoint','ONLINE','set'];_0x459c=function(){return _0x765bd9;};return _0x459c();}class ae{constructor(_0x4ae8e8,_0x63776c,_0x5d5757,_0x3a97a8,_0x412584,_0x2aa3b0,_0x12c1b3,_0x5d06f9,_0x1ae3de){var _0x759e74=_0x1640f8;A(this,_0x759e74(0x240),null),A(this,_0x759e74(0x187),[]),(this[_0x759e74(0x281)]=_0x4ae8e8,this[_0x759e74(0x2b7)]=_0x63776c,this[_0x759e74(0x25a)]=_0x412584,this[_0x759e74(0x3e5)]=_0x2aa3b0,this[_0x759e74(0x1b9)]=_0x12c1b3,this[_0x759e74(0x1df)]=_0x5d06f9,this[_0x759e74(0x442)]=_0x1ae3de,this[_0x759e74(0x240)]=_0x5d5757,this['_pendingMutations']=_0x3a97a8);}[_0x1640f8(0x42e)](_0x2df4f2){var _0x295269=_0x1640f8;const _0x1418b2=this[_0x295269(0x1df)][_0x295269(0x378)](this[_0x295269(0x281)]);return _0x2df4f2['revision']>_0x1418b2+0x1?(this[_0x295269(0x25a)]['onMissingChangesets']({'from':_0x1418b2,'to':_0x2df4f2[_0x295269(0x184)]-0x1}),!0x0):!0x1;}[_0x1640f8(0x1c8)](_0x51e56f){var _0x39ae07=_0x1640f8;this[_0x39ae07(0x1b9)][_0x39ae07(0x277)](this['unitID'],_0x51e56f);}[_0x1640f8(0x2fb)](_0x3d2f9b){var _0x2a69b8=_0x1640f8,_0x37277f,_0x2c7ac5;(_0x2c7ac5=(_0x37277f=this[_0x2a69b8(0x25a)])[_0x2a69b8(0x1dd)])==null||_0x2c7ac5[_0x2a69b8(0x350)](_0x37277f,_0x3d2f9b);}[_0x1640f8(0x369)](_0xbda413){var _0x385fce=_0x1640f8,_0x16ec03,_0x44b260;return(_0x44b260=(_0x16ec03=this[_0x385fce(0x25a)])['onTransformIME'])==null?void 0x0:_0x44b260[_0x385fce(0x350)](_0x16ec03,_0xbda413);}[_0x1640f8(0x30a)](_0x552c4f){var _0x187e1f=_0x1640f8,_0xf47970,_0x57c851;return(_0x57c851=(_0xf47970=this[_0x187e1f(0x25a)])['onTransformState'])==null?void 0x0:_0x57c851[_0x187e1f(0x350)](_0xf47970,_0x552c4f);}[_0x1640f8(0x432)](_0x26f267){var _0x23274e=_0x1640f8,_0x5c4a04,_0x5abf90,_0x148e10;return(_0x148e10=(_0x5abf90=(_0x5c4a04=this[_0x23274e(0x25a)])[_0x23274e(0x202)])==null?void 0x0:_0x5abf90['call'](_0x5c4a04,_0x26f267))!=null?_0x148e10:_0x26f267;}[_0x1640f8(0x2ef)](_0x109c69){var _0x6ba14c=_0x1640f8,_0x4b0268,_0x30a3be,_0x2bd3e3;return(_0x2bd3e3=(_0x30a3be=(_0x4b0268=this['_handler'])[_0x6ba14c(0x2e7)])==null?void 0x0:_0x30a3be[_0x6ba14c(0x350)](_0x4b0268,_0x109c69))!=null?_0x2bd3e3:_0x109c69;}[_0x1640f8(0x325)](_0x3566c2){var _0x471b81=_0x1640f8,_0x77f24,_0x4b7a2d;if(this['type']===J[_0x471b81(0x15e)]){const {unitID:_0xb53914,mutations:_0x142d73,memberID:_0x31fd47}=_0x3566c2,_0x52a1a5=_0x142d73[0x0]['params'][_0x471b81(0x1ee)];Array[_0x471b81(0x383)](_0x52a1a5)&&_0x52a1a5['length']>0x0&&((_0x4b7a2d=(_0x77f24=this['_handler'])[_0x471b81(0x47c)])==null||_0x4b7a2d[_0x471b81(0x350)](_0x77f24,{'unitID':_0xb53914,'memberID':_0x31fd47,'textRanges':_0x52a1a5}));}}[_0x1640f8(0x45e)](){var _0xe36730=_0x1640f8,_0x1c8200;(_0x1c8200=this[_0xe36730(0x442)])==null||_0x1c8200[_0xe36730(0x3bc)](this[_0xe36730(0x281)],this[_0xe36730(0x2b7)],this[_0xe36730(0x240)],this['_pendingMutations']);}[_0x1640f8(0x356)](){var _0x2ba0a9=_0x1640f8;return this[_0x2ba0a9(0x1df)]['getCurrentRevOfUnit'](this[_0x2ba0a9(0x281)]);}[_0x1640f8(0x30b)](){var _0x3c0b0a=_0x1640f8;this[_0x3c0b0a(0x1df)][_0x3c0b0a(0x496)](this[_0x3c0b0a(0x281)]);}['_executeRemoteChangeset'](_0x45d29d){var _0x3ff716=_0x1640f8,_0x583786;let _0x17ea47=this[_0x3ff716(0x432)](_0x45d29d);_0x17ea47=this[_0x3ff716(0x2ef)](_0x17ea47);const _0x5a251a=a[_0x3ff716(0x1a7)](_0x17ea47[_0x3ff716(0x452)],this[_0x3ff716(0x3e5)],{'fromCollab':!0x0});if(!_0x5a251a[_0x3ff716(0x30f)])throw _0x5a251a['error']instanceof Error?_0x5a251a[_0x3ff716(0x15a)]:new Error((_0x583786=_0x5a251a[_0x3ff716(0x15a)])!=null?_0x583786:_0x3ff716(0x2ca));this[_0x3ff716(0x369)](_0x17ea47),this[_0x3ff716(0x30a)](_0x17ea47),this[_0x3ff716(0x1c8)](_0x45d29d),this[_0x3ff716(0x2fb)](_0x17ea47),this[_0x3ff716(0x325)](_0x17ea47),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends ae{constructor(_0x546aaf,_0x29bdd8,_0x147ed7,_0x1a42b3,_0x1ab268,_0x558135,_0x1e9708,_0x106ddc,_0x4ac580,_0x429964){var _0x26c95c=_0x1640f8;super(_0x546aaf,_0x29bdd8,null,[],_0x147ed7,_0x1e9708,_0x558135,_0x1a42b3,_0x429964),A(this,_0x26c95c(0x38e),_0x26c95c(0x444)),(this[_0x26c95c(0x331)]=_0x1ab268,this['_logService']=_0x106ddc,this['_transformService']=_0x4ac580,this[_0x26c95c(0x422)]=_0x429964);}[_0x1640f8(0x334)](_0x84bba){var _0x573681=_0x1640f8;const _0x7ac36b=this[_0x573681(0x331)][_0x573681(0x13a)](exports[_0x573681(0x38a)],this[_0x573681(0x281)],this[_0x573681(0x2b7)],[_0x84bba],this['_handler']);return _0x7ac36b[_0x573681(0x44d)](),_0x7ac36b[_0x573681(0x45e)](),_0x7ac36b;}[_0x1640f8(0x165)](_0x5e5f64){var _0x55d0e7=_0x1640f8;if(this[_0x55d0e7(0x42e)](_0x5e5f64))return this['_injector']['createInstance'](exports[_0x55d0e7(0x1e4)],this[_0x55d0e7(0x281)],this['type'],null,[],null,[_0x5e5f64],this[_0x55d0e7(0x25a)]);try{const _0x54160a=this[_0x55d0e7(0x424)][_0x55d0e7(0x201)](_0x5e5f64,[ti]);if(p[_0x55d0e7(0x45c)](_0x54160a)){const {c1Prime:_0x3fd0e7}=_0x54160a;return this[_0x55d0e7(0x200)](_0x3fd0e7),this;}throw _0x54160a[_0x55d0e7(0x15a)];}catch(_0xac51b2){return this[_0x55d0e7(0x3aa)][_0x55d0e7(0x15a)](_0xac51b2),this[_0x55d0e7(0x377)](!0x1);}}['_onConflict'](_0x5862e7){var _0x42ee3e=_0x1640f8;return this['_injector'][_0x42ee3e(0x13a)](exports[_0x42ee3e(0x2c8)],this[_0x42ee3e(0x281)],this['type'],null,[],this[_0x42ee3e(0x25a)],_0x5862e7);}[_0x1640f8(0x34a)](){var _0x86956=_0x1640f8;throw new Error(_0x86956(0x3d6));}[_0x1640f8(0x341)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1640f8(0x137)](){return this;}[_0x1640f8(0x412)](){var _0x3c64f9=_0x1640f8;return this['_injector'][_0x3c64f9(0x13a)](exports[_0x3c64f9(0x399)],this[_0x3c64f9(0x281)],this[_0x3c64f9(0x2b7)],null,[],this[_0x3c64f9(0x25a)]);}[_0x1640f8(0x2d9)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1640f8(0x3ff)](){var _0x40f758=_0x1640f8;const _0x568283=this[_0x40f758(0x1df)][_0x40f758(0x378)](this['unitID']);return this['_handler'][_0x40f758(0x2f2)]({'from':_0x568283,'to':0x0}),this[_0x40f758(0x331)][_0x40f758(0x13a)](exports[_0x40f758(0x1e4)],this[_0x40f758(0x281)],this['type'],null,[],null,[],this['_handler']);}},exports['SyncedState']=oe([w(0x3,a['Inject'](p[_0x1640f8(0x1b2)])),w(0x4,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),w(0x5,a[_0x1640f8(0x47e)]),w(0x6,a[_0x1640f8(0x3a9)]),w(0x7,a['ILogService']),w(0x8,p['ITransformService']),w(0x9,a[_0x1640f8(0x1d3)](K))],exports['SyncedState']),exports[_0x1640f8(0x38a)]=class extends ae{constructor(_0x34edb3,_0x2ea04c,_0x273673,_0x20a471,_0x48ad67,_0x1ada5d,_0x73ca8a,_0x4682c0,_0x2d390e,_0x1388e2,_0x37d7a1,_0x59e7d0,_0x52f5ee,_0x337790){var _0x40e4a0=_0x1640f8;super(_0x34edb3,_0x2ea04c,null,_0x273673,_0x20a471,_0x2d390e,_0x52f5ee,_0x1ada5d,_0x337790),A(this,_0x40e4a0(0x38e),'pending'),A(this,_0x40e4a0(0x2cb),null),A(this,_0x40e4a0(0x23c),null),(this[_0x40e4a0(0x331)]=_0x48ad67,this[_0x40e4a0(0x25f)]=_0x73ca8a,this[_0x40e4a0(0x3aa)]=_0x4682c0,this['_configService']=_0x1388e2,this[_0x40e4a0(0x424)]=_0x37d7a1,this['_univerInstanceService']=_0x59e7d0);}[_0x1640f8(0x334)](_0x3f801b){var _0x8fcd74=_0x1640f8;return this[_0x8fcd74(0x187)][_0x8fcd74(0x33f)](_0x3f801b),this[_0x8fcd74(0x45e)](),this;}['onRemoteChangeset'](_0x3c9195){var _0x567d1a=_0x1640f8;if(this[_0x567d1a(0x42e)](_0x3c9195))return this[_0x567d1a(0x3d8)](),this[_0x567d1a(0x331)][_0x567d1a(0x13a)](exports[_0x567d1a(0x1e4)],this[_0x567d1a(0x281)],this[_0x567d1a(0x2b7)],null,this['_pendingMutations'],null,[_0x3c9195],this[_0x567d1a(0x25a)]);try{const _0x548944=this['_transformService'][_0x567d1a(0x201)](_0x3c9195,this['_pendingMutations']);if(p[_0x567d1a(0x45c)](_0x548944)){const {c1Prime:_0x4c5165,m2Prime:_0x5f1d8c}=_0x548944;this['_executeRemoteChangeset'](_0x4c5165);const _0x42d8b7=this[_0x567d1a(0x331)][_0x567d1a(0x13a)](exports[_0x567d1a(0x38a)],this['unitID'],this[_0x567d1a(0x2b7)],_0x5f1d8c,this[_0x567d1a(0x25a)]);this[_0x567d1a(0x3d8)]();const _0x3bf24f=new Date()['getTime'](),_0x7fbb43=this[_0x567d1a(0x2cb)]?Math[_0x567d1a(0x37f)](this['_scheduleCompleteTimestamp']-_0x3bf24f,0x0):this[_0x567d1a(0x192)]();return _0x42d8b7['_schedule'](_0x7fbb43),_0x42d8b7;}throw _0x548944[_0x567d1a(0x15a)];}catch(_0x1be4ea){return this[_0x567d1a(0x3aa)][_0x567d1a(0x15a)](_0x1be4ea),this[_0x567d1a(0x377)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1640f8(0x341)](){var _0x373761=_0x1640f8;throw new Error(_0x373761(0x27b));}[_0x1640f8(0x137)](){return this;}[_0x1640f8(0x412)](){var _0x573ec7=_0x1640f8;return this['_clearScheduledTask'](),this[_0x573ec7(0x331)][_0x573ec7(0x13a)](exports[_0x573ec7(0x399)],this['unitID'],this[_0x573ec7(0x2b7)],null,this[_0x573ec7(0x187)],this[_0x573ec7(0x25a)]);}[_0x1640f8(0x2d9)](){return this;}[_0x1640f8(0x44d)](_0x147c00){var _0x1606fb=_0x1640f8;const _0x3bbd15=_0x147c00!=null?_0x147c00:this[_0x1606fb(0x192)]();this['_scheduleCompleteTimestamp']=new Date()[_0x1606fb(0x3c0)]()+_0x3bbd15,this[_0x1606fb(0x23c)]=setTimeout(()=>{var _0x56fdf6=_0x1606fb;this[_0x56fdf6(0x3d8)]();let _0x36bb24=null;switch(this[_0x56fdf6(0x2b7)]){case J[_0x56fdf6(0x435)]:{_0x36bb24=Ge(this[_0x56fdf6(0x187)],this['unitID'],this[_0x56fdf6(0x2f3)],this[_0x56fdf6(0x1df)],this[_0x56fdf6(0x25f)]);break;}case J[_0x56fdf6(0x15e)]:{this[_0x56fdf6(0x187)][_0x56fdf6(0x249)](_0x4507cd=>_0x4507cd['id']===ct[_0x56fdf6(0x367)]['id'])?_0x36bb24=ei(this[_0x56fdf6(0x187)],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2f3)],this[_0x56fdf6(0x1df)],this[_0x56fdf6(0x25f)]):_0x36bb24=Ge(this['_pendingMutations'],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2f3)],this[_0x56fdf6(0x1df)],this[_0x56fdf6(0x25f)]);break;}default:throw new Error(_0x56fdf6(0x31e)+this[_0x56fdf6(0x2b7)]+_0x56fdf6(0x437));}const {changeset:_0xd6a81b,pendingMutations:_0x5abd52}=_0x36bb24;this[_0x56fdf6(0x25a)][_0x56fdf6(0x14f)](_0xd6a81b);const _0x2e3b91=_0x5abd52[_0x56fdf6(0x388)]?this[_0x56fdf6(0x331)][_0x56fdf6(0x13a)](exports[_0x56fdf6(0x344)],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2b7)],_0xd6a81b,_0x5abd52,this['_handler'],void 0x0):this[_0x56fdf6(0x331)][_0x56fdf6(0x13a)](exports[_0x56fdf6(0x1bb)],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2b7)],_0xd6a81b,this[_0x56fdf6(0x25a)]);_0x2e3b91[_0x56fdf6(0x45e)](),this[_0x56fdf6(0x25a)][_0x56fdf6(0x3b0)](this,_0x2e3b91);},_0x3bbd15);}[_0x1640f8(0x192)](){var _0xd18888=_0x1640f8,_0x119e4b;const _0x363135=this[_0xd18888(0x2b1)][_0xd18888(0x254)](Y);return(_0x119e4b=_0x363135==null?void 0x0:_0x363135[_0xd18888(0x411)])!=null?_0x119e4b:Ut;}['resend'](){var _0x4a6ef7=_0x1640f8;throw new Error(_0x4a6ef7(0x3ab));}[_0x1640f8(0x3d8)](){var _0x471f6e=_0x1640f8;this[_0x471f6e(0x23c)]!=null&&(clearTimeout(this[_0x471f6e(0x23c)]),this['_sendingTimer']=null);}['_onConflict'](_0x21f6dd){var _0x5f1f50=_0x1640f8;return this[_0x5f1f50(0x3d8)](),this[_0x5f1f50(0x331)][_0x5f1f50(0x13a)](exports[_0x5f1f50(0x2c8)],this['unitID'],this[_0x5f1f50(0x2b7)],null,this[_0x5f1f50(0x187)],this[_0x5f1f50(0x25a)],_0x21f6dd);}},exports[_0x1640f8(0x38a)]=oe([w(0x4,a['Inject'](a[_0x1640f8(0x1c1)])),w(0x5,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),w(0x6,a['Inject'](exports['MemberService'])),w(0x7,a[_0x1640f8(0x226)]),w(0x8,a[_0x1640f8(0x3a9)]),w(0x9,a[_0x1640f8(0x30d)]),w(0xa,p[_0x1640f8(0x1f4)]),w(0xb,a[_0x1640f8(0x49a)]),w(0xc,a[_0x1640f8(0x47e)]),w(0xd,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x38a)]),exports[_0x1640f8(0x1bb)]=class extends ae{constructor(_0x510bec,_0x27f605,_0x7ab12e,_0x3972d5,_0x3a414a,_0x1b8489,_0x5f1278,_0x5259b3,_0x32502f,_0x5d5af0,_0x1e0f49){var _0x5a5e1e=_0x1640f8;super(_0x510bec,_0x27f605,_0x7ab12e,[],_0x3972d5,_0x5f1278,_0x5d5af0,_0x1b8489,_0x1e0f49),A(this,'status',_0x5a5e1e(0x1d7)),A(this,_0x5a5e1e(0x1a6),0x0),A(this,_0x5a5e1e(0x14a)),A(this,'_sender'),(this['_injector']=_0x3a414a,this[_0x5a5e1e(0x3aa)]=_0x5259b3,this['_transformService']=_0x32502f);}[_0x1640f8(0x334)](_0x4cb03e){var _0x4c433c=_0x1640f8;this[_0x4c433c(0x3d8)]();const _0x1bda8c=this[_0x4c433c(0x331)][_0x4c433c(0x13a)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x4c433c(0x2b7)],this['_awaitingChangeset'],[_0x4cb03e],this[_0x4c433c(0x25a)],this[_0x4c433c(0x14a)]);return _0x1bda8c['_updateLocalCache'](),_0x1bda8c;}[_0x1640f8(0x165)](_0x40e2f4){var _0x4dd5c1=_0x1640f8;if(this[_0x4dd5c1(0x42e)](_0x40e2f4))return this['_clearScheduledTask'](),this[_0x4dd5c1(0x331)]['createInstance'](exports[_0x4dd5c1(0x1e4)],this['unitID'],this[_0x4dd5c1(0x2b7)],this[_0x4dd5c1(0x240)],[],null,[_0x40e2f4],this['_handler']);try{const _0x349099=this['_transformService'][_0x4dd5c1(0x359)]([_0x40e2f4],[this[_0x4dd5c1(0x240)]],!0x1);if(p[_0x4dd5c1(0x2ff)](_0x349099)){const {c1Prime:_0x4c8bf3,c2Prime:_0x58cf75}=_0x349099;this[_0x4dd5c1(0x200)](_0x4c8bf3[0x0]),_0x58cf75[0x0][_0x4dd5c1(0x3a6)]=this[_0x4dd5c1(0x356)](),this[_0x4dd5c1(0x3d8)]();const _0x593477=this['_injector'][_0x4dd5c1(0x13a)](exports['AwaitingState'],this[_0x4dd5c1(0x281)],this['type'],_0x58cf75[0x0],this[_0x4dd5c1(0x25a)]);return _0x593477['_updateLocalCache'](),_0x593477;}return this[_0x4dd5c1(0x377)](!0x1);}catch(_0x5e1050){return this[_0x4dd5c1(0x3aa)][_0x4dd5c1(0x15a)](_0x5e1050),this[_0x4dd5c1(0x377)](!0x1);}}[_0x1640f8(0x34a)](_0x1f0e60){var _0x76d6eb=_0x1640f8;this[_0x76d6eb(0x3d8)]();const _0x33427e=this['_revisionService'][_0x76d6eb(0x378)](this[_0x76d6eb(0x281)]);if(_0x1f0e60[_0x76d6eb(0x184)]<_0x33427e-0x1)return this;if(this[_0x76d6eb(0x42e)](_0x1f0e60))return this[_0x76d6eb(0x331)][_0x76d6eb(0x13a)](exports['FetchingMissState'],this[_0x76d6eb(0x281)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x76d6eb(0x25a)]);this[_0x76d6eb(0x30b)]();const _0x934e34=this['_injector'][_0x76d6eb(0x13a)](exports[_0x76d6eb(0x258)],this[_0x76d6eb(0x281)],this[_0x76d6eb(0x2b7)],this[_0x76d6eb(0x25a)]);return _0x934e34[_0x76d6eb(0x45e)](),_0x934e34;}['onRemoteRej'](_0x3faa0c){var _0x7f6236=_0x1640f8;return this[_0x7f6236(0x377)](!!(_0x3faa0c!=null&&_0x3faa0c[_0x7f6236(0x175)]));}[_0x1640f8(0x137)](_0x3019d2){var _0x1028c8=_0x1640f8;return this['_resendTimeout']>ft?this[_0x1028c8(0x412)]():(this[_0x1028c8(0x14a)]=St(this[_0x1028c8(0x1a6)],{'timeout':this[_0x1028c8(0x1a6)],'reqId':_0x3019d2['reqId']}),this[_0x1028c8(0x26a)]=this['_resendTimer'][_0x1028c8(0x217)](({reqId:_0x2718f6,timeout:_0x218ef9})=>{var _0x119521=_0x1028c8;this[_0x119521(0x373)](_0x2718f6,_0x218ef9);}),this);}[_0x1640f8(0x412)](){var _0x4208d9=_0x1640f8;return this['_clearScheduledTask'](),this[_0x4208d9(0x331)][_0x4208d9(0x13a)](exports[_0x4208d9(0x399)],this['unitID'],this['type'],this[_0x4208d9(0x240)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x1640f8(0x33a)](){var _0x14e22b=_0x1640f8;this['_handler'][_0x14e22b(0x14f)](this[_0x14e22b(0x240)]);}[_0x1640f8(0x377)](_0x5e48a0){var _0x262b4e=_0x1640f8;return this[_0x262b4e(0x3d8)](),this['_injector'][_0x262b4e(0x13a)](exports[_0x262b4e(0x2c8)],this[_0x262b4e(0x281)],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x5e48a0);}[_0x1640f8(0x373)](_0x524d5a,_0x36b782){var _0x5081e6=_0x1640f8,_0x1bc3e1;_0x524d5a===((_0x1bc3e1=this[_0x5081e6(0x240)])==null?void 0x0:_0x1bc3e1[_0x5081e6(0x133)])&&(this[_0x5081e6(0x33a)](),this[_0x5081e6(0x1a6)]=_0x36b782===0x0?0x3e8:_0x36b782*0x2);}[_0x1640f8(0x3d8)](){var _0x3b7964=_0x1640f8,_0xe33f9e;(_0xe33f9e=this[_0x3b7964(0x26a)])==null||_0xe33f9e[_0x3b7964(0x209)](),this[_0x3b7964(0x1a6)]=0x0;}},exports[_0x1640f8(0x1bb)]=oe([w(0x4,a['Inject'](a[_0x1640f8(0x1c1)])),w(0x5,a[_0x1640f8(0x207)](p['RevisionService'])),w(0x6,a[_0x1640f8(0x3a9)]),w(0x7,a[_0x1640f8(0x226)]),w(0x8,p[_0x1640f8(0x1f4)]),w(0x9,a[_0x1640f8(0x47e)]),w(0xa,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x1bb)]),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x5f0afa,_0x3daec4,_0x4acc89,_0x1650fd,_0x792b21,_0x3b9a2d,_0xe5728a,_0x3fc61d,_0x29808f,_0xe4173c,_0x30d9cd,_0x3adfae,_0x179fc5){var _0x3bef78=_0x1640f8;super(_0x5f0afa,_0x3daec4,_0x4acc89,_0x1650fd,_0x792b21,_0x29808f,_0x3adfae,_0x3fc61d,_0x179fc5),A(this,_0x3bef78(0x38e),_0x3bef78(0x420)),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,_0x3bef78(0x26a)),(this[_0x3bef78(0x331)]=_0xe5728a,this['_logService']=_0xe4173c,this['_transformService']=_0x30d9cd,this['localCacheService']=_0x179fc5,_0x3b9a2d&&(this[_0x3bef78(0x14a)]=_0x3b9a2d,this['_sender']=this['_resendTimer'][_0x3bef78(0x217)](({reqId:_0x43c515,timeout:_0x3fd30d})=>{this['_resendWithTimeout'](_0x43c515,_0x3fd30d);})));}[_0x1640f8(0x334)](_0x4bbdd0){var _0xf83749=_0x1640f8;return this['_pendingMutations'][_0xf83749(0x33f)](_0x4bbdd0),this;}[_0x1640f8(0x165)](_0x10608b){var _0x5221ed=_0x1640f8;if(this[_0x5221ed(0x42e)](_0x10608b))return this[_0x5221ed(0x3d8)](),this['_injector'][_0x5221ed(0x13a)](exports['FetchingMissState'],this[_0x5221ed(0x281)],this[_0x5221ed(0x2b7)],this[_0x5221ed(0x240)],this[_0x5221ed(0x187)],null,[_0x10608b],this['_handler']);try{const _0x5f2da7=this['_transformService'][_0x5221ed(0x359)]([_0x10608b],[this[_0x5221ed(0x240)]],!0x1);if(p[_0x5221ed(0x2ff)](_0x5f2da7)){const {c1Prime:_0x42bd6a,c2Prime:_0x2c8f07}=_0x5f2da7,_0x1adba9=this[_0x5221ed(0x424)]['transformMutationsWithChangeset'](_0x42bd6a[0x0],this[_0x5221ed(0x187)]);if(p[_0x5221ed(0x45c)](_0x1adba9)){const {c1Prime:_0xa67949,m2Prime:_0x437ff9}=_0x1adba9;return this[_0x5221ed(0x200)](_0xa67949),_0x2c8f07[0x0][_0x5221ed(0x3a6)]=this[_0x5221ed(0x356)](),this[_0x5221ed(0x3d8)](),this[_0x5221ed(0x331)][_0x5221ed(0x13a)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x5221ed(0x2b7)],_0x2c8f07[0x0],_0x437ff9,this[_0x5221ed(0x25a)],void 0x0);}throw _0x1adba9[_0x5221ed(0x15a)];}throw _0x5f2da7[_0x5221ed(0x15a)];}catch(_0x4d3ccf){return this[_0x5221ed(0x3aa)][_0x5221ed(0x15a)](_0x4d3ccf),this['_onConflict'](!0x1);}}[_0x1640f8(0x34a)](_0x31e391){var _0x1ebcf8=_0x1640f8;if(this['_clearScheduledTask'](),this[_0x1ebcf8(0x42e)](_0x31e391))return this[_0x1ebcf8(0x331)][_0x1ebcf8(0x13a)](exports[_0x1ebcf8(0x1e4)],this['unitID'],this[_0x1ebcf8(0x2b7)],null,this['_pendingMutations'],this[_0x1ebcf8(0x240)],[],this[_0x1ebcf8(0x25a)]);this[_0x1ebcf8(0x30b)]();const _0x2db1e7=this[_0x1ebcf8(0x331)]['createInstance'](exports['PendingState'],this['unitID'],this['type'],this[_0x1ebcf8(0x187)],this['_handler']);return _0x2db1e7[_0x1ebcf8(0x44d)](),_0x2db1e7[_0x1ebcf8(0x45e)](),_0x2db1e7;}['onRemoteRej'](_0x494ca9){var _0x7a99fa=_0x1640f8;return this[_0x7a99fa(0x377)](!!(_0x494ca9!=null&&_0x494ca9[_0x7a99fa(0x175)]));}['onRemoteRetry'](_0x4bd389){var _0x4dbee3=_0x1640f8;return this[_0x4dbee3(0x1a6)]>ft?this[_0x4dbee3(0x412)]():(this['_resendTimer']=St(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4bd389[_0x4dbee3(0x133)]}),this[_0x4dbee3(0x26a)]=this[_0x4dbee3(0x14a)][_0x4dbee3(0x217)](({reqId:_0x5f0426,timeout:_0x47d3ab})=>{var _0x1e1bd7=_0x4dbee3;this[_0x1e1bd7(0x373)](_0x5f0426,_0x47d3ab);}),this);}['toggleOffline'](){var _0x4b8ade=_0x1640f8;return this[_0x4b8ade(0x3d8)](),this[_0x4b8ade(0x331)][_0x4b8ade(0x13a)](exports[_0x4b8ade(0x399)],this[_0x4b8ade(0x281)],this[_0x4b8ade(0x2b7)],this[_0x4b8ade(0x240)],this[_0x4b8ade(0x187)],this[_0x4b8ade(0x25a)]);}[_0x1640f8(0x2d9)](){return this;}[_0x1640f8(0x33a)](){var _0x861ade=_0x1640f8;this[_0x861ade(0x25a)][_0x861ade(0x14f)](this['_awaitingChangeset']);}[_0x1640f8(0x377)](_0x3e6614){var _0x5d0d9e=_0x1640f8;return this['_clearScheduledTask'](),this[_0x5d0d9e(0x331)]['createInstance'](exports[_0x5d0d9e(0x2c8)],this[_0x5d0d9e(0x281)],this[_0x5d0d9e(0x2b7)],null,this[_0x5d0d9e(0x187)],this['_handler'],_0x3e6614);}['_resendWithTimeout'](_0xe16e7d,_0x59e11d){var _0x78b50b=_0x1640f8,_0x492a9d;_0xe16e7d===((_0x492a9d=this[_0x78b50b(0x240)])==null?void 0x0:_0x492a9d[_0x78b50b(0x133)])&&(this['resend'](),this[_0x78b50b(0x1a6)]=_0x59e11d===0x0?0x3e8:_0x59e11d*0x2);}[_0x1640f8(0x3d8)](){var _0x539c6a=_0x1640f8,_0x43efc3;(_0x43efc3=this[_0x539c6a(0x26a)])==null||_0x43efc3['unsubscribe'](),this[_0x539c6a(0x1a6)]=0x0;}},exports[_0x1640f8(0x344)]=oe([w(0x6,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),w(0x7,a['Inject'](p[_0x1640f8(0x1b2)])),w(0x8,a[_0x1640f8(0x3a9)]),w(0x9,a[_0x1640f8(0x226)]),w(0xa,p[_0x1640f8(0x1f4)]),w(0xb,a[_0x1640f8(0x47e)]),w(0xc,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x344)]),exports[_0x1640f8(0x2c8)]=class extends ae{constructor(_0x338198,_0x53a4e0,_0x55f34a,_0x4473cc,_0x1cd308,_0x55eebb=!0x1,_0x4acab2,_0x276e18,_0x1e789b,_0x4e4a51,_0x5428be,_0x4679d7,_0x5400f4){var _0x558a71=_0x1640f8;super(_0x338198,_0x53a4e0,_0x55f34a,_0x4473cc,_0x1cd308,_0x276e18,_0x1e789b,_0x4e4a51,_0x5400f4),A(this,'status','conflict'),(this[_0x558a71(0x35e)]=_0x55eebb,this[_0x558a71(0x2a8)]=_0x4acab2,this[_0x558a71(0x48f)]=_0x5428be,this['_collaborationUIEventService']=_0x4679d7,this[_0x558a71(0x422)]=_0x5400f4,this[_0x558a71(0x160)](),this[_0x558a71(0x3b6)](),this[_0x558a71(0x28b)]());}['appendMutation'](){return this;}[_0x1640f8(0x165)](){return this;}[_0x1640f8(0x34a)](){return this;}[_0x1640f8(0x341)](){return this;}['onRemoteRetry'](){return this;}[_0x1640f8(0x412)](){return this;}[_0x1640f8(0x2d9)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1640f8(0x3b6)](){var _0x8f3305=_0x1640f8,_0x2e5c34;(_0x2e5c34=this[_0x8f3305(0x442)])==null||_0x2e5c34[_0x8f3305(0x3bc)](this[_0x8f3305(0x281)],this[_0x8f3305(0x2b7)],null,[]);}[_0x1640f8(0x160)](){var _0x6da4f5=_0x1640f8;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x6da4f5(0x1b6)]({'id':Z['PERMISSION_DENIED']}):this[_0x6da4f5(0x468)][_0x6da4f5(0x1b6)]({'id':Z[_0x6da4f5(0x2e2)]});}[_0x1640f8(0x28b)](){var _0x3e9b53=_0x1640f8;this[_0x3e9b53(0x2a8)]['updatePermissionPoint'](new X[(_0x3e9b53(0x27d))](this[_0x3e9b53(0x281)])['id'],!0x1);}},exports[_0x1640f8(0x2c8)]=oe([w(0x6,a[_0x1640f8(0x207)](a[_0x1640f8(0x38c)])),w(0x7,a['ICommandService']),w(0x8,a[_0x1640f8(0x47e)]),w(0x9,a['Inject'](p[_0x1640f8(0x1b2)])),w(0xa,a[_0x1640f8(0x207)](a[_0x1640f8(0x2a7)])),w(0xb,a[_0x1640f8(0x207)](ee)),w(0xc,a['Optional'](K))],exports[_0x1640f8(0x2c8)]),exports[_0x1640f8(0x399)]=class extends ae{constructor(_0x299e9c,_0x30d6f5,_0x1f74e6,_0x3368f6,_0x232105,_0x3fb56f,_0x575c46,_0x3df864,_0x4de130,_0x4ea351){var _0x12332e=_0x1640f8;super(_0x299e9c,_0x30d6f5,_0x1f74e6,_0x3368f6,_0x232105,_0x3df864,_0x4de130,_0x575c46,_0x4ea351),A(this,_0x12332e(0x38e),_0x12332e(0x1c2)),this['_injector']=_0x3fb56f;}[_0x1640f8(0x334)](_0x408130){var _0x2a720e=_0x1640f8;return this[_0x2a720e(0x187)][_0x2a720e(0x33f)](_0x408130),this['_updateLocalCache'](),this;}[_0x1640f8(0x165)](_0x5f053c){var _0x2f6508=_0x1640f8;throw new Error(_0x2f6508(0x332));}[_0x1640f8(0x34a)](){var _0x4a80db=_0x1640f8;throw new Error(_0x4a80db(0x3fe));}['onRemoteRej'](){var _0x37b78e=_0x1640f8;throw new Error(_0x37b78e(0x195));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x5c4d0c=_0x1640f8;const {_injector:_0x4a38fb,_pendingMutations:_0x2ba1a1,_awaitingChangeset:_0x4c2c06,unitID:_0x7c540c,_handler:_0x1f7658,type:_0x144200}=this,_0x193fc1=It(_0x4a38fb,_0x7c540c,_0x144200,_0x4c2c06,_0x2ba1a1,_0x1f7658);return _0x193fc1 instanceof exports[_0x5c4d0c(0x38a)]?_0x193fc1[_0x5c4d0c(0x44d)]():(_0x193fc1 instanceof exports[_0x5c4d0c(0x344)]||_0x193fc1 instanceof exports[_0x5c4d0c(0x1bb)])&&_0x193fc1[_0x5c4d0c(0x33a)](),_0x193fc1;}['resend'](){var _0x46fa89=_0x1640f8;throw new Error(_0x46fa89(0x172));}},exports['OfflineState']=oe([w(0x5,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),w(0x6,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),w(0x7,a['ICommandService']),w(0x8,a[_0x1640f8(0x47e)]),w(0x9,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x399)]),exports[_0x1640f8(0x1e4)]=class extends ae{constructor(_0x5b9f8e,_0x1df09c,_0x54b61c,_0x2bd137,_0x122b89,_0x52a3fe,_0x54637c,_0x180f1c,_0x5110f2,_0x6ef230,_0x35fc44,_0x307878,_0x3a6830,_0x3ffb64){var _0x1af899=_0x1640f8;super(_0x5b9f8e,_0x1df09c,_0x54b61c,_0x2bd137,_0x54637c,_0x35fc44,_0x307878,_0x5110f2,_0x3ffb64),A(this,'status',_0x1af899(0x464)),(this[_0x1af899(0x3f2)]=_0x122b89,this[_0x1af899(0x1de)]=_0x52a3fe,this[_0x1af899(0x331)]=_0x180f1c,this[_0x1af899(0x3aa)]=_0x6ef230,this['_transformService']=_0x3a6830,this[_0x1af899(0x422)]=_0x3ffb64);}['onMissedChangesetFetched'](_0x49163a){var _0x1a00c5=_0x1640f8;try{const _0x7ea303=[..._0x49163a,...this[_0x1a00c5(0x1de)]],_0x319b1d=[this[_0x1a00c5(0x240)]||this[_0x1a00c5(0x3f2)]][_0x1a00c5(0x35b)](_0xf2c14a=>!!_0xf2c14a);let _0x3b3ec4,_0x443bbd;if(_0x319b1d['length']){const _0xd000c0=this[_0x1a00c5(0x424)]['transformChangesets'](_0x7ea303,_0x319b1d,!0x1);if(!p[_0x1a00c5(0x2ff)](_0xd000c0))throw _0xd000c0[_0x1a00c5(0x15a)];_0x3b3ec4=_0xd000c0['c1Prime'],_0x443bbd=_0xd000c0['c2Prime'];}else _0x3b3ec4=_0x7ea303,_0x443bbd=[];let _0xcf9abd=this[_0x1a00c5(0x187)];_0x3b3ec4['forEach'](_0x3190a4=>{var _0x1f83ae=_0x1a00c5;let _0x4764af;if(_0xcf9abd[_0x1f83ae(0x388)]){const _0x425897=this[_0x1f83ae(0x424)][_0x1f83ae(0x201)](_0x3190a4,_0xcf9abd);if(!p[_0x1f83ae(0x45c)](_0x425897))throw _0x425897[_0x1f83ae(0x15a)];_0x4764af=_0x425897[_0x1f83ae(0x2eb)],_0xcf9abd=_0x425897['m2Prime'];}else _0x4764af=_0x3190a4;this['_executeRemoteChangeset'](_0x4764af);}),this[_0x1a00c5(0x3f2)]&&this[_0x1a00c5(0x30b)](),this[_0x1a00c5(0x240)]&&_0x443bbd[_0x1a00c5(0x388)]&&(_0x443bbd[0x0]['baseRev']=this['_getCurrentRevision']());let _0x25a7f6;if(this[_0x1a00c5(0x240)]&&_0xcf9abd[_0x1a00c5(0x388)]!==0x0)_0x25a7f6=this['_injector'][_0x1a00c5(0x13a)](exports[_0x1a00c5(0x344)],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],_0x443bbd[0x0],_0xcf9abd,this[_0x1a00c5(0x25a)],void 0x0);else{if(this[_0x1a00c5(0x240)]&&_0xcf9abd[_0x1a00c5(0x388)]===0x0)_0x443bbd[0x0][_0x1a00c5(0x3a6)]=this['_getCurrentRevision'](),_0x25a7f6=this[_0x1a00c5(0x331)][_0x1a00c5(0x13a)](exports[_0x1a00c5(0x1bb)],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],_0x443bbd[0x0],this['_handler']);else{if(_0xcf9abd[_0x1a00c5(0x388)]!==0x0){const _0x4222b7=this[_0x1a00c5(0x331)]['createInstance'](exports['PendingState'],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],_0xcf9abd,this[_0x1a00c5(0x25a)]);_0x4222b7['_schedule'](),_0x25a7f6=_0x4222b7;}else _0x25a7f6=this['_injector'][_0x1a00c5(0x13a)](exports[_0x1a00c5(0x258)],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],this['_handler']);}}return _0x25a7f6[_0x1a00c5(0x45e)](),_0x25a7f6;}catch(_0xeb9cf3){return this[_0x1a00c5(0x3aa)][_0x1a00c5(0x15a)](_0x1a00c5(0x29d),'failed\x20to\x20apply\x20missed\x20changesets!',_0xeb9cf3),this[_0x1a00c5(0x331)][_0x1a00c5(0x13a)](exports['ConflictState'],this[_0x1a00c5(0x281)],this['type'],this['_awaitingChangeset'],this[_0x1a00c5(0x187)],this[_0x1a00c5(0x25a)],!0x1);}}[_0x1640f8(0x33a)](){var _0x34eb45=_0x1640f8;throw new Error(_0x34eb45(0x41a));}[_0x1640f8(0x334)](_0x2f14fa){var _0x1a91d2=_0x1640f8;return this[_0x1a91d2(0x187)][_0x1a91d2(0x33f)](_0x2f14fa),this;}['onRemoteChangeset'](_0x53f0fc){var _0x35ea32=_0x1640f8;return this[_0x35ea32(0x1de)][_0x35ea32(0x33f)](_0x53f0fc),this;}['onRemoteAck'](_0x2c4bcc){var _0x43e0ac=_0x1640f8;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x43e0ac(0x240)],this[_0x43e0ac(0x240)]=null,this;throw new Error(_0x43e0ac(0x198));}[_0x1640f8(0x341)](_0x29c1fc){var _0x191a78=_0x1640f8;return this['_onConflict'](!!(_0x29c1fc!=null&&_0x29c1fc[_0x191a78(0x175)]));}[_0x1640f8(0x137)](){return this;}['toggleOffline'](){var _0x2fb6aa=_0x1640f8;return this['_injector']['createInstance'](exports[_0x2fb6aa(0x399)],this[_0x2fb6aa(0x281)],this[_0x2fb6aa(0x2b7)],this['_awaitingChangeset'],this[_0x2fb6aa(0x187)],this['_handler']);}[_0x1640f8(0x2d9)](){return this;}[_0x1640f8(0x377)](_0x3ec80d){var _0x375843=_0x1640f8;return this[_0x375843(0x331)][_0x375843(0x13a)](exports[_0x375843(0x2c8)],this[_0x375843(0x281)],this[_0x375843(0x2b7)],this[_0x375843(0x240)],this[_0x375843(0x187)],this[_0x375843(0x25a)],_0x3ec80d);}},exports[_0x1640f8(0x1e4)]=oe([w(0x7,a['Inject'](a['Injector'])),w(0x8,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),w(0x9,a['ILogService']),w(0xa,a[_0x1640f8(0x3a9)]),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x1640f8(0x1f4)]),w(0xd,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x1e4)]);function It(_0x471534,_0x37fce8,_0x36e4eb,_0x99cb56,_0x1a77f2,_0x32f879){var _0x12ead1=_0x1640f8;return _0x99cb56&&_0x1a77f2[_0x12ead1(0x388)]?_0x471534[_0x12ead1(0x13a)](exports['AwaitingWithPendingState'],_0x37fce8,_0x36e4eb,_0x99cb56,_0x1a77f2,_0x32f879,void 0x0):_0x99cb56?_0x471534['createInstance'](exports[_0x12ead1(0x1bb)],_0x37fce8,_0x36e4eb,_0x99cb56,_0x32f879):_0x1a77f2[_0x12ead1(0x388)]?_0x471534[_0x12ead1(0x13a)](exports[_0x12ead1(0x38a)],_0x37fce8,_0x36e4eb,_0x1a77f2,_0x32f879):_0x471534[_0x12ead1(0x13a)](exports[_0x12ead1(0x258)],_0x37fce8,_0x36e4eb,_0x32f879);}var ni=Object[_0x1640f8(0x2d7)],Be=(_0x520fff,_0x10f92b,_0x443dea,_0x454af2)=>{var _0x50bf20=_0x1640f8;for(var _0x3a3c3d=_0x454af2>0x1?void 0x0:_0x454af2?ni(_0x10f92b,_0x443dea):_0x10f92b,_0x534dbb=_0x520fff[_0x50bf20(0x388)]-0x1,_0x41a71f;_0x534dbb>=0x0;_0x534dbb--)(_0x41a71f=_0x520fff[_0x534dbb])&&(_0x3a3c3d=_0x41a71f(_0x3a3c3d)||_0x3a3c3d);return _0x3a3c3d;},j=(_0x2ef317,_0x289e79)=>(_0x4ec535,_0x57b967)=>_0x289e79(_0x4ec535,_0x57b967,_0x2ef317);exports[_0x1640f8(0x3da)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x47b4bc,_0x49bacc,_0x56747d,_0x57e3c0,_0x463640,_0x2e18bb,_0x3e3ac3,_0x498dd5,_0x446c23,_0x4deb8f,_0x1517c7,_0x341bb3,_0x343b5a){var _0x3787c6=_0x1640f8;super(),A(this,'_state$',new H[(_0x3787c6(0x453))](null)),A(this,_0x3787c6(0x3c8),this[_0x3787c6(0x230)]['asObservable']()),A(this,_0x3787c6(0x248)),A(this,'_collaborationPaused',!0x1),A(this,_0x3787c6(0x245),''),A(this,_0x3787c6(0x3ce),0x0),A(this,_0x3787c6(0x357),this['state$']['pipe'](H['map'](_0x1bb14d=>_0x1bb14d?_0x1bb14d[_0x3787c6(0x38e)]:je['OFFLINE']),H['shareReplay'](0x1))),A(this,_0x3787c6(0x343),!0x1),A(this,_0x3787c6(0x41f),[]),(this['unitID']=_0x47b4bc,this[_0x3787c6(0x232)]=_0x49bacc,this['_type']=_0x56747d,this['_injector']=_0x57e3c0,this[_0x3787c6(0x1e9)]=_0x463640,this[_0x3787c6(0x48f)]=_0x2e18bb,this[_0x3787c6(0x1df)]=_0x3e3ac3,this['_eventService']=_0x498dd5,this[_0x3787c6(0x3aa)]=_0x446c23,this[_0x3787c6(0x3e5)]=_0x4deb8f,this[_0x3787c6(0x2a8)]=_0x1517c7,this[_0x3787c6(0x427)]=_0x341bb3,this[_0x3787c6(0x442)]=_0x343b5a);}get['state'](){var _0x9c1170=_0x1640f8;return this[_0x9c1170(0x248)];}async[_0x1640f8(0x27e)](){var _0x57c061=_0x1640f8;if(this[_0x57c061(0x1bf)])throw new Error(_0x57c061(0x1cf));await this['_init']();}[_0x1640f8(0x296)](){var _0x9c4225=_0x1640f8;return this[_0x9c4225(0x1fd)]=!0x0,a[_0x9c4225(0x300)](()=>{var _0xa8b835=_0x9c4225;this[_0xa8b835(0x1fd)]=!0x1,this[_0xa8b835(0x293)]();});}[_0x1640f8(0x376)](_0x3350a2){var _0x22e9a7=_0x1640f8;this[_0x22e9a7(0x3a3)](_0x3350a2);}[_0x1640f8(0x310)](_0x151283){var _0x41471e=_0x1640f8;this[_0x41471e(0x248)]=_0x151283,this[_0x41471e(0x230)][_0x41471e(0x3f8)](_0x151283);}async[_0x1640f8(0x1ac)](){var _0x1197b7=_0x1640f8,_0x2a98e6;this[_0x1197b7(0x310)](await this[_0x1197b7(0x289)]()),this[_0x1197b7(0x427)]&&((_0x2a98e6=this[_0x1197b7(0x427)])==null||_0x2a98e6[_0x1197b7(0x2db)](this[_0x1197b7(0x281)]),this[_0x1197b7(0x30c)](this[_0x1197b7(0x427)][_0x1197b7(0x41b)](this[_0x1197b7(0x281)])['subscribe'](_0x55ccbe=>{var _0x4a3651=_0x1197b7;this[_0x4a3651(0x3aa)]['debug'](_0x4a3651(0x14b),'editing\x20status\x20changed\x20to',_0x55ccbe),_0x55ccbe===He[_0x4a3651(0x176)]?(this['_eventService'][_0x4a3651(0x1b6)]({'id':Z[_0x4a3651(0x255)]}),this[_0x4a3651(0x2a8)][_0x4a3651(0x313)](new X[(_0x4a3651(0x27d))](this[_0x4a3651(0x281)])['id'],!0x1),this[_0x4a3651(0x2a8)][_0x4a3651(0x45d)](!0x1)):(this[_0x4a3651(0x2a8)][_0x4a3651(0x313)](new X['WorkbookEditablePermission'](this[_0x4a3651(0x281)])['id'],!0x0),this[_0x4a3651(0x2a8)][_0x4a3651(0x45d)](!0x0));})));let _0x7f22b6=!0x1;return this[_0x1197b7(0x30c)](this[_0x1197b7(0x232)][_0x1197b7(0x478)]['subscribe'](_0x48727a=>{var _0x1f1c58=_0x1197b7;_0x48727a===re['ONLINE']?this[_0x1f1c58(0x3be)](_0x7f22b6):_0x48727a===re[_0x1f1c58(0x2bb)]&&(_0x7f22b6=!0x0,this[_0x1f1c58(0x18b)]());})),this[_0x1197b7(0x30c)](this['session'][_0x1197b7(0x2be)]['subscribe'](_0x293fcd=>{var _0x10adb5=_0x1197b7;try{switch(_0x293fcd[_0x10adb5(0x47b)]){case p[_0x10adb5(0x1e8)][_0x10adb5(0x35f)]:{this[_0x10adb5(0x2bc)](p['parseProtocolChangeset'](_0x293fcd[_0x10adb5(0x19d)]));break;}case p[_0x10adb5(0x1e8)][_0x10adb5(0x136)]:{this[_0x10adb5(0x18d)](_0x293fcd['data']);break;}case p['CollaborationEvent'][_0x10adb5(0x2d3)]:{this[_0x10adb5(0x3d0)]();break;}case p[_0x10adb5(0x1e8)]['CHANGESET_SHOULD_RETRY']:{this[_0x10adb5(0x17c)](_0x293fcd['data']);break;}case p[_0x10adb5(0x1e8)][_0x10adb5(0x3c6)]:{this[_0x10adb5(0x39e)](_0x293fcd['data']['changesets'][_0x10adb5(0x3d2)](_0x1b4c0e=>p[_0x10adb5(0x1be)](_0x1b4c0e)));break;}case p[_0x10adb5(0x1e8)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x41bdd4){throw console[_0x10adb5(0x15a)](_0x10adb5(0x2a0),_0x41bdd4),_0x41bdd4;}})),this[_0x1197b7(0x248)];}[_0x1640f8(0x434)](){var _0x46f6ae=_0x1640f8;this[_0x46f6ae(0x343)]=!0x1;}[_0x1640f8(0x46a)](){var _0x62d0fe=_0x1640f8;if(this[_0x62d0fe(0x343)])throw new Error(_0x62d0fe(0x2a1));this['_transitionLocked']=!0x0;}[_0x1640f8(0x3a3)](_0x281bbb){var _0xa5d467=_0x1640f8;this[_0xa5d467(0x46a)](),this[_0xa5d467(0x310)](this[_0xa5d467(0x248)][_0xa5d467(0x334)](_0x281bbb)),this[_0xa5d467(0x434)]();}['_onRemoteChangeset'](_0x5c4abe){var _0x443582=_0x1640f8;if(!(_0x5c4abe['revision']<=this[_0x443582(0x1df)][_0x443582(0x378)](this[_0x443582(0x281)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x5c4abe);return;}this[_0x443582(0x3d9)](_0x5c4abe);}}[_0x1640f8(0x293)](){var _0x172ff4=_0x1640f8;this[_0x172ff4(0x41f)][_0x172ff4(0x1ff)](_0x265205=>this[_0x172ff4(0x3d9)](_0x265205)),this[_0x172ff4(0x41f)]=[];}[_0x1640f8(0x3d9)](_0x194138){var _0x51df86=_0x1640f8;const _0x47bbb0=this[_0x51df86(0x1e9)][_0x51df86(0x312)][_0x51df86(0x2d1)](this[_0x51df86(0x1e9)][_0x51df86(0x312)]['getInterceptPoints']()[_0x51df86(0x460)])(_0x194138['mutations'],null)||_0x194138[_0x51df86(0x452)],_0x2f1ac4={..._0x194138,'mutations':_0x47bbb0};this['_lockTransition'](),this['_updateState'](this[_0x51df86(0x248)][_0x51df86(0x165)](_0x2f1ac4)),this[_0x51df86(0x434)]();}[_0x1640f8(0x18d)](_0xfc51b1){var _0x36d3d9=_0x1640f8;this[_0x36d3d9(0x46a)](),this[_0x36d3d9(0x310)](this[_0x36d3d9(0x248)]['onRemoteAck'](_0xfc51b1)),this[_0x36d3d9(0x434)]();}['_onRemoteRejected'](_0xa6db2f){var _0x77c4c=_0x1640f8;this[_0x77c4c(0x46a)](),this[_0x77c4c(0x310)](this[_0x77c4c(0x248)][_0x77c4c(0x341)](_0xa6db2f)),this[_0x77c4c(0x434)]();}[_0x1640f8(0x17c)](_0x2b1f22){var _0x53c18e=_0x1640f8;this['_lockTransition'](),this[_0x53c18e(0x310)](this['_state']['onRemoteRetry'](_0x2b1f22)),this['_unlockTransition']();}['_onFetchMissResult'](_0x43edf1){var _0x2a9b5a=_0x1640f8;if(!(this[_0x2a9b5a(0x248)]instanceof exports[_0x2a9b5a(0x1e4)]))throw new TypeError(_0x2a9b5a(0x156));const _0x342d11=_0x43edf1[_0x2a9b5a(0x3d2)](_0x40cd45=>{var _0x3f1639=_0x2a9b5a;const _0x4a9f19=this[_0x3f1639(0x1e9)][_0x3f1639(0x312)][_0x3f1639(0x2d1)](this[_0x3f1639(0x1e9)]['interceptor'][_0x3f1639(0x3e1)]()[_0x3f1639(0x460)])(_0x40cd45[_0x3f1639(0x452)],null)||_0x40cd45[_0x3f1639(0x452)];return{..._0x40cd45,'mutations':_0x4a9f19};});this[_0x2a9b5a(0x46a)](),this['_updateState'](this[_0x2a9b5a(0x248)][_0x2a9b5a(0x3e8)](_0x342d11)),this[_0x2a9b5a(0x434)]();}['_toggleOffline'](){var _0x42f109=_0x1640f8;this[_0x42f109(0x46a)](),this[_0x42f109(0x310)](this[_0x42f109(0x248)][_0x42f109(0x412)]()),this[_0x42f109(0x434)]();}[_0x1640f8(0x3be)](_0x591eca=!0x1){var _0x1b4667=_0x1640f8;this[_0x1b4667(0x46a)](),this[_0x1b4667(0x310)](this[_0x1b4667(0x248)]['toggleOnline']()),this['_unlockTransition']();const _0x557006=this[_0x1b4667(0x248)];_0x591eca&&_0x557006 instanceof exports[_0x1b4667(0x258)]&&(this[_0x1b4667(0x46a)](),this[_0x1b4667(0x310)](_0x557006['fetchMiss']()),this[_0x1b4667(0x434)]());}async[_0x1640f8(0x289)](){return new Promise(_0x415d44=>{var _0x54d977=_0x3549;this['session'][_0x54d977(0x478)][_0x54d977(0x297)](H[_0x54d977(0x153)](0x1))[_0x54d977(0x217)](async _0x3f690a=>{var _0x2c8995=_0x54d977;_0x415d44(await this[_0x2c8995(0x441)](_0x3f690a===re[_0x2c8995(0x314)]));});});}[_0x1640f8(0x46b)](){const _0x4c2932=this['unitID'];return{'onStateChange':(_0x1e3283,_0x4e831a)=>{var _0x2dc24e=_0x3549;if(_0x1e3283!==this[_0x2dc24e(0x248)])throw new Error(_0x2dc24e(0x449)+_0x1e3283[_0x2dc24e(0x38e)]+_0x2dc24e(0x29f)+_0x4e831a[_0x2dc24e(0x38e)]+_0x2dc24e(0x210)+this['_state'][_0x2dc24e(0x38e)]);this['_updateState'](_0x4e831a);},'onSendChangeset':_0x1544b7=>{var _0x3537a2=_0x3549;_0x1544b7[_0x3537a2(0x273)]||(_0x1544b7[_0x3537a2(0x273)]=this[_0x3537a2(0x245)],_0x1544b7['reqId']=++this[_0x3537a2(0x3ce)]);const _0x293f54={'eventID':p[_0x3537a2(0x1e8)][_0x3537a2(0x3b9)],'data':{'unitID':_0x1544b7[_0x3537a2(0x281)],'unitType':this[_0x3537a2(0x3d7)],'changeset':_0x1544b7,'memberID':this['session'][_0x3537a2(0x238)]()}};this['session'][_0x3537a2(0x407)](_0x293f54,this[_0x3537a2(0x281)]);},'onMissingChangesets':({from:_0x207f4d,to:_0x49036a})=>{var _0x428ae9=_0x3549;this[_0x428ae9(0x3aa)][_0x428ae9(0x2cc)](_0x428ae9(0x14b),_0x428ae9(0x295)+_0x207f4d+'\x20to\x20'+_0x49036a);const _0xb0bc23={'eventID':p['CollaborationEvent'][_0x428ae9(0x1b0)],'data':{'unitID':_0x4c2932,'unitType':this[_0x428ae9(0x3d7)],'from':_0x207f4d,'to':_0x49036a}};this[_0x428ae9(0x232)][_0x428ae9(0x407)](_0xb0bc23,this[_0x428ae9(0x281)]);}};}async[_0x1640f8(0x441)](_0x16d070){var _0x2b9d66=_0x1640f8,_0x17770d,_0x5eb7aa,_0x3aa77b;const _0x530ff7=await((_0x17770d=this['_localCacheService'])==null?void 0x0:_0x17770d[_0x2b9d66(0x148)](this['unitID'])),_0x4442cc=(_0x5eb7aa=_0x530ff7==null?void 0x0:_0x530ff7['mutations'])!=null?_0x5eb7aa:[],_0x1992ee=(_0x3aa77b=_0x530ff7==null?void 0x0:_0x530ff7['awaitingChangeset'])!=null?_0x3aa77b:null,_0x527722=!!(_0x1992ee!=null&&_0x1992ee[_0x2b9d66(0x273)])&&!!(_0x1992ee!=null&&_0x1992ee[_0x2b9d66(0x133)]);this[_0x2b9d66(0x245)]=_0x527722?_0x1992ee[_0x2b9d66(0x273)]:p[_0x2b9d66(0x294)](),this['_changesetReqId']=_0x527722?_0x1992ee[_0x2b9d66(0x133)]:0x0;const _0x62bd4f=this[_0x2b9d66(0x281)];try{this[_0x2b9d66(0x358)](_0x1992ee,_0x4442cc);}catch(_0x58d4ef){this[_0x2b9d66(0x3aa)]['error'](_0x58d4ef);}const _0x2b8afb=this[_0x2b9d66(0x46b)]();if(_0x16d070){const _0x23fbbd=It(this['_injector'],_0x62bd4f,this[_0x2b9d66(0x3d7)],_0x1992ee,_0x4442cc,_0x2b8afb);return _0x23fbbd instanceof exports[_0x2b9d66(0x38a)]?_0x23fbbd[_0x2b9d66(0x44d)]():(_0x23fbbd instanceof exports['AwaitingWithPendingState']||_0x23fbbd instanceof exports[_0x2b9d66(0x1bb)])&&_0x23fbbd[_0x2b9d66(0x33a)](),_0x23fbbd;}return this[_0x2b9d66(0x331)]['createInstance'](exports[_0x2b9d66(0x399)],_0x62bd4f,this[_0x2b9d66(0x3d7)],_0x1992ee,_0x4442cc,_0x2b8afb);}[_0x1640f8(0x358)](_0x9ddb48,_0x841733){var _0x17e8f5=_0x1640f8,_0x4d2ee0,_0x44726e;const _0x246599=this[_0x17e8f5(0x1e9)]['interceptor'][_0x17e8f5(0x2d1)](this['_compressMutationService']['interceptor'][_0x17e8f5(0x3e1)]()[_0x17e8f5(0x460)]);(_0x4d2ee0=_0x246599((_0x9ddb48==null?void 0x0:_0x9ddb48[_0x17e8f5(0x452)])||[],null))==null||_0x4d2ee0[_0x17e8f5(0x1ff)](_0x2c67b1=>this[_0x17e8f5(0x3e5)][_0x17e8f5(0x409)](_0x2c67b1['id'],_0x2c67b1[_0x17e8f5(0x43d)])),(_0x44726e=_0x246599(_0x841733||[],null))==null||_0x44726e[_0x17e8f5(0x1ff)](_0x3b9139=>this[_0x17e8f5(0x3e5)][_0x17e8f5(0x409)](_0x3b9139['id'],_0x3b9139[_0x17e8f5(0x43d)]));}},exports['CollaborationEntity']=Be([j(0x3,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),j(0x4,a[_0x1640f8(0x207)](p['CompressMutationService'])),j(0x5,a[_0x1640f8(0x207)](a['LocaleService'])),j(0x6,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),j(0x7,a[_0x1640f8(0x207)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x1640f8(0x3a9)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x1640f8(0x1d3)](de)),j(0xc,a['Optional'](K))],exports['CollaborationEntity']),exports[_0x1640f8(0x405)]=class extends exports[_0x1640f8(0x3da)]{constructor(_0x12f364,_0x25704a,_0x314f4e,_0x30f36e,_0x2c6bdc,_0x187e80,_0x299d37,_0x4844d0,_0x39e124,_0x4bf1f0,_0x352233,_0x57f4c8,_0x2a2afe){var _0x479104=_0x1640f8;super(_0x12f364,_0x314f4e,_0x25704a,_0x30f36e,_0x2c6bdc,_0x187e80,_0x299d37,_0x4844d0,_0x39e124,_0x4bf1f0,_0x352233,_0x57f4c8,_0x2a2afe),A(this,_0x479104(0x46e),null),(this[_0x479104(0x281)]=_0x12f364,this[_0x479104(0x2b7)]=_0x25704a);}[_0x1640f8(0x1d8)](_0x114920){this['_handlerCallback']=_0x114920;}[_0x1640f8(0x244)](){var _0x3762a7=_0x1640f8;this[_0x3762a7(0x46e)]=null,super[_0x3762a7(0x244)]();}[_0x1640f8(0x46b)](){var _0x4446f4=_0x1640f8;const _0x2bd4bd=super[_0x4446f4(0x46b)]();return _0x2bd4bd[_0x4446f4(0x3e0)]=_0x5e2f2e=>{var _0x301f33=_0x4446f4,_0x3b1928,_0x420719;return(_0x420719=(_0x3b1928=this[_0x301f33(0x46e)])==null?void 0x0:_0x3b1928[_0x301f33(0x3e0)])==null?void 0x0:_0x420719[_0x301f33(0x350)](_0x3b1928,_0x5e2f2e);},_0x2bd4bd[_0x4446f4(0x24a)]=_0x2dd57b=>{var _0x3171c5=_0x4446f4,_0x2f1641,_0x10f732;return(_0x10f732=(_0x2f1641=this[_0x3171c5(0x46e)])==null?void 0x0:_0x2f1641[_0x3171c5(0x24a)])==null?void 0x0:_0x10f732[_0x3171c5(0x350)](_0x2f1641,_0x2dd57b);},_0x2bd4bd[_0x4446f4(0x1dd)]=_0x3b1b8d=>{var _0x3a8dec=_0x4446f4,_0x575f05,_0x3ca87e;return(_0x3ca87e=(_0x575f05=this[_0x3a8dec(0x46e)])==null?void 0x0:_0x575f05['onTransformSelections'])==null?void 0x0:_0x3ca87e[_0x3a8dec(0x350)](_0x575f05,_0x3b1b8d);},_0x2bd4bd[_0x4446f4(0x47c)]=_0x39f638=>{var _0x5caf54=_0x4446f4,_0x25494b,_0x183533;return(_0x183533=(_0x25494b=this[_0x5caf54(0x46e)])==null?void 0x0:_0x25494b[_0x5caf54(0x47c)])==null?void 0x0:_0x183533['call'](_0x25494b,_0x39f638);},_0x2bd4bd[_0x4446f4(0x202)]=_0x1a4f0c=>{var _0x4a58f1=_0x4446f4,_0x403880,_0x1beaa9,_0xfa2c4e;if(!((_0x403880=this[_0x4a58f1(0x46e)])!=null&&_0x403880[_0x4a58f1(0x202)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xfa2c4e=(_0x1beaa9=this[_0x4a58f1(0x46e)])==null?void 0x0:_0x1beaa9[_0x4a58f1(0x202)])==null?void 0x0:_0xfa2c4e[_0x4a58f1(0x350)](_0x1beaa9,_0x1a4f0c);},_0x2bd4bd['onTransformRemoteChangesetByStateCache']=_0x2f1382=>{var _0x382c96=_0x4446f4,_0x5e6c43,_0x424ef7,_0x7c338d;if(!((_0x5e6c43=this[_0x382c96(0x46e)])!=null&&_0x5e6c43[_0x382c96(0x2e7)]))throw new Error(_0x382c96(0x231));return(_0x7c338d=(_0x424ef7=this[_0x382c96(0x46e)])==null?void 0x0:_0x424ef7['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x7c338d[_0x382c96(0x350)](_0x424ef7,_0x2f1382);},_0x2bd4bd;}async[_0x1640f8(0x1ac)](){var _0x75789c=_0x1640f8;const _0x33e81d=await super[_0x75789c(0x1ac)]();return this[_0x75789c(0x30c)](this['_commandService'][_0x75789c(0x2c4)]((_0x285af1,_0x4b6337)=>{var _0x4c65d0=_0x75789c;if(_0x285af1[_0x4c65d0(0x2b7)]!==a[_0x4c65d0(0x484)][_0x4c65d0(0x463)]||_0x4b6337!=null&&_0x4b6337[_0x4c65d0(0x276)]||_0x4b6337!=null&&_0x4b6337[_0x4c65d0(0x19e)]||_0x285af1['id']===ct[_0x4c65d0(0x367)]['id'])return;const _0x25659c=_0x285af1[_0x4c65d0(0x43d)];if((_0x25659c==null?void 0x0:_0x25659c[_0x4c65d0(0x372)])!==this[_0x4c65d0(0x281)])return;const _0x4cef0b=_0x285af1,_0x2a26dd=this[_0x4c65d0(0x1e9)][_0x4c65d0(0x312)][_0x4c65d0(0x2d1)](this['_compressMutationService'][_0x4c65d0(0x312)][_0x4c65d0(0x3e1)]()['COMPRESS_MUTATION_SEND'])([_0x4cef0b],null)||[_0x4cef0b];this[_0x4c65d0(0x3a3)](_0x2a26dd[0x0]);})),_0x33e81d;}},exports[_0x1640f8(0x405)]=Be([j(0x3,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),j(0x4,a[_0x1640f8(0x207)](p['CompressMutationService'])),j(0x5,a[_0x1640f8(0x207)](a[_0x1640f8(0x2a7)])),j(0x6,a['Inject'](p[_0x1640f8(0x1b2)])),j(0x7,a[_0x1640f8(0x207)](ee)),j(0x8,a[_0x1640f8(0x226)]),j(0x9,a['ICommandService']),j(0xa,a[_0x1640f8(0x38c)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x405)]),exports[_0x1640f8(0x13f)]=class extends exports[_0x1640f8(0x3da)]{constructor(_0x352a9e,_0xbc04bd,_0xa106c6,_0x57a76c,_0x110716,_0x18f872,_0x2eee7b,_0x5a8caa,_0x112a63,_0x38ad1f,_0x13eb93,_0x41407f,_0xe3d88a,_0x155204){var _0x55282b=_0x1640f8;super(_0x352a9e,_0xa106c6,_0xbc04bd,_0x57a76c,_0x110716,_0x18f872,_0x2eee7b,_0x112a63,_0x38ad1f,_0x13eb93,_0x41407f,_0xe3d88a,_0x155204),this['unitID']=_0x352a9e,this[_0x55282b(0x2b7)]=_0xbc04bd,this['_sheetTransformSelectionsService']=_0x5a8caa;}['_createHandler'](){var _0x3967c9=_0x1640f8;const _0x3e3f1a=super[_0x3967c9(0x46b)]();return _0x3e3f1a[_0x3967c9(0x1dd)]=_0xdb5a32=>this['_sheetTransformSelectionsService']['transformSelections'](_0xdb5a32),_0x3e3f1a;}async['_init'](){var _0xbc5f40=_0x1640f8;const _0x3a6bce=await super['_init']();return this[_0xbc5f40(0x30c)](this[_0xbc5f40(0x3e5)][_0xbc5f40(0x2c4)]((_0x15f5af,_0x12d133)=>{var _0x442387=_0xbc5f40;if(_0x15f5af[_0x442387(0x2b7)]!==a[_0x442387(0x484)][_0x442387(0x463)]||_0x12d133!=null&&_0x12d133[_0x442387(0x276)]||_0x12d133!=null&&_0x12d133[_0x442387(0x19e)])return;const _0x4f0b11=_0x15f5af[_0x442387(0x43d)];if((_0x4f0b11==null?void 0x0:_0x4f0b11[_0x442387(0x372)])!==this[_0x442387(0x281)])return;const _0x1b6925=_0x15f5af,_0x42a889=this[_0x442387(0x1e9)]['interceptor']['fetchThroughInterceptors'](this[_0x442387(0x1e9)][_0x442387(0x312)][_0x442387(0x3e1)]()[_0x442387(0x418)])([_0x1b6925],null)||[_0x1b6925];this['_onLocalMutation'](_0x42a889[0x0]);})),_0x3a6bce;}},exports[_0x1640f8(0x13f)]=Be([j(0x3,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),j(0x4,a[_0x1640f8(0x207)](p[_0x1640f8(0x1e5)])),j(0x5,a[_0x1640f8(0x207)](a['LocaleService'])),j(0x6,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),j(0x7,a['Inject'](exports[_0x1640f8(0x392)])),j(0x8,a[_0x1640f8(0x207)](ee)),j(0x9,a[_0x1640f8(0x226)]),j(0xa,a[_0x1640f8(0x3a9)]),j(0xb,a[_0x1640f8(0x38c)]),j(0xc,a[_0x1640f8(0x1d3)](de)),j(0xd,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x13f)]);const pt=a[_0x1640f8(0x363)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x938f31){var _0xdf9a4c=_0x1640f8,_0x322434,_0x449597,_0x210772,_0x30bab9,_0x3222b9;const _0x5b0675=_0x938f31[_0xdf9a4c(0x19d)],_0x5b3ef1=JSON[_0xdf9a4c(0x493)](_0x5b0675);switch(_0x5b3ef1[_0xdf9a4c(0x21d)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x3de353=_0x5b3ef1['infoRsp'];return{..._0x5b3ef1,'data':_0x3de353,'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};}case W[_0xdf9a4c(0x2a5)]:{const _0x28bf7d=_0x5b3ef1['joinRsp'];return{..._0x5b3ef1,'data':_0x28bf7d,'cmd':_0x5b3ef1['cmd']};}case W[_0xdf9a4c(0x333)]:{const _0x4b68e5=_0x5b3ef1['collaMsg'];switch(_0x4b68e5['eventID']){case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x473)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x322434=_0x4b68e5[_0xdf9a4c(0x319)])==null?void 0x0:_0x322434['cs']},'cmd':_0x5b3ef1['cmd']};case p[_0xdf9a4c(0x1e8)]['CHANGESET_ACK']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x449597=_0x4b68e5[_0xdf9a4c(0x1b1)])==null?void 0x0:_0x449597['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x35f)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x210772=_0x4b68e5[_0xdf9a4c(0x1da)])==null?void 0x0:_0x210772['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)]['CHANGESET_REJ']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x30bab9=_0x4b68e5[_0xdf9a4c(0x417)])==null?void 0x0:_0x30bab9['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x167)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x3222b9=_0x4b68e5[_0xdf9a4c(0x24f)])==null?void 0x0:_0x3222b9['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['updateCursorEvent']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x430)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['joinEvent']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x22e)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x166)]},'cmd':_0x5b3ef1['cmd']};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x17e)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x320)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x495)]:case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x1f8)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x229)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x1d5)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x320)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x43a)]:return{..._0x5b3ef1,'data':_0x4b68e5,'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x2b2)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['commentUpdateEvent']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x1ce)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x31a)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['shouldCloseConn']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x1f9)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x3c5)]},'cmd':_0x5b3ef1['cmd']};default:return _0x5b3ef1;}}default:return _0x5b3ef1;}}function gt(_0x509e1b){var _0x268e80=_0x1640f8;switch(_0x509e1b[_0x268e80(0x21d)]){case W[_0x268e80(0x43f)]:case W[_0x268e80(0x490)]:return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b['cmd'],'routeKey':_0x509e1b[_0x268e80(0x149)]});case W[_0x268e80(0x474)]:{let _0x532c55;switch(_0x509e1b[_0x268e80(0x19d)][_0x268e80(0x47b)]){case p[_0x268e80(0x1e8)][_0x268e80(0x199)]:{_0x532c55={'eventID':p[_0x268e80(0x1e8)][_0x268e80(0x199)],'updateCursorEvent':_0x509e1b['data'][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)]['USERS_LEAVE']:{_0x532c55={'eventID':p[_0x268e80(0x1e8)]['USERS_LEAVE'],'leaveEvent':_0x509e1b['data'][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)]['USERS_ENTER']:{_0x532c55={'eventID':p[_0x268e80(0x1e8)][_0x268e80(0x430)],'joinEvent':_0x509e1b[_0x268e80(0x19d)]['data']};break;}case p[_0x268e80(0x1e8)][_0x268e80(0x17e)]:{_0x532c55={'eventID':p[_0x268e80(0x1e8)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x509e1b[_0x268e80(0x19d)]['data']};break;}case p[_0x268e80(0x1e8)]['LIVESHARE_OPERATION']:{_0x532c55={'eventID':p['CollaborationEvent'][_0x268e80(0x1f8)],'liveShareOperation':_0x509e1b['data'][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)]['LIVESHARE_TERMINATE']:{_0x532c55={'eventID':p['CollaborationEvent'][_0x268e80(0x1d5)],'liveShareTerminate':_0x509e1b[_0x268e80(0x19d)][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)][_0x268e80(0x347)]:{_0x532c55={'eventID':p[_0x268e80(0x1e8)][_0x268e80(0x347)],'liveShareRequestHost':_0x509e1b[_0x268e80(0x19d)]['data']};break;}case p[_0x268e80(0x1e8)]['LIVESHARE_FETCH_OPERATIONS']:{_0x532c55={'eventID':p[_0x268e80(0x1e8)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x532c55={'eventID':_0x509e1b[_0x268e80(0x19d)]['eventID']};}return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b[_0x268e80(0x21d)],'routeKey':_0x509e1b[_0x268e80(0x149)],'collaMsg':_0x532c55});}case W[_0x268e80(0x2a5)]:return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b[_0x268e80(0x21d)],'routeKey':_0x509e1b[_0x268e80(0x149)],'joinReq':_0x509e1b[_0x268e80(0x19d)]});case W[_0x268e80(0x266)]:return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b[_0x268e80(0x21d)],'routeKey':_0x509e1b['routeKey'],'leaveReq':_0x509e1b['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object[_0x1640f8(0x2d7)],si=(_0x1c790a,_0xf0cb0e,_0x2ef008,_0x415a9e)=>{var _0x199331=_0x1640f8;for(var _0x1c8191=_0x415a9e>0x1?void 0x0:_0x415a9e?ri(_0xf0cb0e,_0x2ef008):_0xf0cb0e,_0x393ecf=_0x1c790a[_0x199331(0x388)]-0x1,_0x1974a7;_0x393ecf>=0x0;_0x393ecf--)(_0x1974a7=_0x1c790a[_0x393ecf])&&(_0x1c8191=_0x1974a7(_0x1c8191)||_0x1c8191);return _0x1c8191;},_e=(_0x30f0c0,_0x51f6ac)=>(_0x5831c9,_0x2901fe)=>_0x51f6ac(_0x5831c9,_0x2901fe,_0x30f0c0);const Fe=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function oi(_0x514b16,_0x37c516,_0x2fdde9){var _0x568863=_0x1640f8;return _0x514b16+'/'+_0x37c516+_0x568863(0x220)+_0x2fdde9+_0x568863(0x2c7);}exports[_0x1640f8(0x25c)]=class extends a['Disposable']{constructor(_0x5ece91,_0x4aaea8,_0x168564,_0x32b84f,_0x283b6a){var _0x3bdb9c=_0x1640f8;super(),this['_injector']=_0x5ece91,this['_httpService']=_0x4aaea8,this[_0x3bdb9c(0x2b1)]=_0x168564,this[_0x3bdb9c(0x3aa)]=_0x32b84f,this['_snapshotServerService']=_0x283b6a;}[_0x1640f8(0x335)](_0x5552e0){var _0x5c7d32=_0x1640f8;const _0x21ab83=this['_injector'][_0x5c7d32(0x3ee)](q['ISocketService']);if(!_0x21ab83)throw new Error(_0x5c7d32(0x3f3));const _0xed52c9=_0x21ab83[_0x5c7d32(0x1f7)](_0x5552e0);if(!_0xed52c9)throw new Error(_0x5c7d32(0x15d));const _0x4e6918=new a['DisposableCollection'](),_0x2d3384=new H[(_0x5c7d32(0x375))]();_0x4e6918[_0x5c7d32(0x317)](_0xed52c9[_0x5c7d32(0x346)][_0x5c7d32(0x217)](_0x4956fc=>_0x2d3384[_0x5c7d32(0x3f8)](_0x4956fc))),_0x4e6918[_0x5c7d32(0x317)](a[_0x5c7d32(0x300)](()=>_0x2d3384[_0x5c7d32(0x256)]()));const _0x494f70=new H[(_0x5c7d32(0x375))]();_0x4e6918['add'](_0xed52c9[_0x5c7d32(0x2d5)]['subscribe'](_0x38d48c=>_0x494f70[_0x5c7d32(0x3f8)](_0x38d48c))),_0x4e6918['add'](a[_0x5c7d32(0x300)](()=>_0x494f70['complete']()));const _0x2da3d2=new H[(_0x5c7d32(0x375))]();_0x4e6918[_0x5c7d32(0x317)](_0xed52c9[_0x5c7d32(0x151)][_0x5c7d32(0x217)](_0x37792c=>{var _0x1cf87b=_0x5c7d32;const _0x5cb49a=mt(_0x37792c);_0x2da3d2[_0x1cf87b(0x3f8)](_0x5cb49a);})),_0x4e6918[_0x5c7d32(0x317)](a[_0x5c7d32(0x300)](()=>_0x2da3d2[_0x5c7d32(0x256)]()));let _0x222700;const _0x2d0b24=()=>{var _0x59d786=_0x5c7d32;_0x494f70['next'](new Event('connection\x20error')),_0x2d3384[_0x59d786(0x3f8)](new Event('connection\x20error')),_0x222700['close']();};return _0x222700={'memberID':'','close$':_0x2d3384['asObservable'](),'error$':_0x494f70[_0x5c7d32(0x1ed)](),'open$':_0xed52c9[_0x5c7d32(0x31b)],'message$':_0x2da3d2[_0x5c7d32(0x1ed)](),'send':_0x207598=>{var _0x171496=_0x5c7d32;if(_0x207598[_0x171496(0x21d)]===W['INGEST']){if(_0x207598[_0x171496(0x19d)][_0x171496(0x47b)]===p['CollaborationEvent'][_0x171496(0x3b9)]){this[_0x171496(0x43b)](_0x222700,_0x207598[_0x171496(0x19d)])['catch'](_0x51f059=>{var _0x3a4818=_0x171496;this[_0x3a4818(0x3aa)][_0x3a4818(0x15a)](_0x51f059),_0x2d0b24();});return;}if(_0x207598['data'][_0x171496(0x47b)]===p[_0x171496(0x1e8)][_0x171496(0x1b0)]){const _0x38cf60=_0x207598[_0x171496(0x19d)];this[_0x171496(0x211)](_0x38cf60)[_0x171496(0x321)](_0x5e5497=>{var _0x931a6f=_0x171496;_0x2da3d2[_0x931a6f(0x3f8)]({'cmd':W[_0x931a6f(0x333)],'code':se['OK'],'routeKey':_0x38cf60['data'][_0x931a6f(0x281)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x931a6f(0x3c6)],'data':{'changesets':_0x5e5497}}});})[_0x171496(0x2c5)](_0x5b6c77=>{var _0x2527ef=_0x171496;this[_0x2527ef(0x3aa)]['error'](_0x5b6c77),_0x2d0b24();});return;}}_0xed52c9[_0x171496(0x407)](gt(_0x207598));},'close':()=>{var _0x21394d=_0x5c7d32;_0xed52c9[_0x21394d(0x3f5)](),_0x4e6918[_0x21394d(0x244)]();}},_0x222700;}async[_0x1640f8(0x43b)](_0x265a92,_0x12af7d){var _0x3aae30=_0x1640f8,_0x524629;const {unitType:_0x1eb130,unitID:_0x288ba6,changeset:_0x3d97c4}=_0x12af7d[_0x3aae30(0x19d)],_0x597262={'unitID':_0x288ba6,'memberID':_0x265a92[_0x3aae30(0x433)],'type':_0x1eb130,'changeset':p[_0x3aae30(0x2df)](_0x3d97c4)},_0x35a46c=this[_0x3aae30(0x2b1)][_0x3aae30(0x254)](Y),_0x1073ab=oi((_0x524629=_0x35a46c==null?void 0x0:_0x35a46c[_0x3aae30(0x327)])!=null?_0x524629:kt,_0x1eb130,_0x288ba6);try{await this[_0x3aae30(0x3a0)][_0x3aae30(0x42a)](_0x1073ab,{'body':_0x597262});}catch(_0x23e700){throw this[_0x3aae30(0x3aa)][_0x3aae30(0x15a)](_0x3aae30(0x342),_0x3aae30(0x35a)),_0x23e700;}}async['_fetchMissChangesets'](_0x14fdc1){var _0x83ad2f=_0x1640f8;const {unitID:_0x285ffb,from:_0x3f9b85,to:_0x5670ca,unitType:_0x2252c0}=_0x14fdc1[_0x83ad2f(0x19d)];return(await this['_snapshotServerService'][_0x83ad2f(0x31c)]({'metadata':void 0x0},{'unitID':_0x285ffb,'type':_0x2252c0,'from':_0x3f9b85,'to':_0x5670ca}))['changesets'];}},exports[_0x1640f8(0x25c)]=si([_e(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),_e(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)])),_e(0x2,a[_0x1640f8(0x30d)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x1640f8(0x483)])],exports['CollaborationSocketService']);var ai=Object[_0x1640f8(0x2d7)],ci=(_0x1690d2,_0x314689,_0x58267b,_0x54e505)=>{var _0x40b42b=_0x1640f8;for(var _0x436123=_0x54e505>0x1?void 0x0:_0x54e505?ai(_0x314689,_0x58267b):_0x314689,_0x411b96=_0x1690d2[_0x40b42b(0x388)]-0x1,_0x522c0a;_0x411b96>=0x0;_0x411b96--)(_0x522c0a=_0x1690d2[_0x411b96])&&(_0x436123=_0x522c0a(_0x436123)||_0x436123);return _0x436123;},he=(_0x2d18a0,_0x481fc2)=>(_0x55b839,_0x197bce)=>_0x481fc2(_0x55b839,_0x197bce,_0x2d18a0);exports['CollaborationSessionService']=class extends a[_0x1640f8(0x380)]{constructor(_0x5b42d9,_0x522b6e,_0x93c01c,_0x223077,_0x45e01e,_0x592c9b){var _0x4a7cda=_0x1640f8;super(),A(this,_0x4a7cda(0x1b4),new H['BehaviorSubject'](void 0x0)),A(this,_0x4a7cda(0x3f0),this[_0x4a7cda(0x1b4)][_0x4a7cda(0x1ed)]()),A(this,_0x4a7cda(0x2ac),null),A(this,'_sessions',new Map()),A(this,_0x4a7cda(0x485),new H['BehaviorSubject'](re[_0x4a7cda(0x390)])),A(this,_0x4a7cda(0x357),this['_status$'][_0x4a7cda(0x1ed)]()),A(this,_0x4a7cda(0x263),!0x1),A(this,_0x4a7cda(0x42f)),A(this,_0x4a7cda(0x336),0x0),A(this,_0x4a7cda(0x275)),A(this,_0x4a7cda(0x17d)),(this[_0x4a7cda(0x331)]=_0x5b42d9,this['_logService']=_0x522b6e,this[_0x4a7cda(0x2b1)]=_0x93c01c,this[_0x4a7cda(0x3eb)]=_0x223077,this[_0x4a7cda(0x468)]=_0x45e01e,this[_0x4a7cda(0x329)]=_0x592c9b,this['_listenToNetworkCondition']());}get[_0x1640f8(0x36b)](){var _0x39cbc1=_0x1640f8;return this[_0x39cbc1(0x1b4)][_0x39cbc1(0x46c)]();}['_listenToNetworkCondition'](){var _0x270e6b=_0x1640f8;this['_networkConditionService']&&this['disposeWithMe'](this[_0x270e6b(0x329)][_0x270e6b(0x3ac)][_0x270e6b(0x217)](_0x5a9e28=>{var _0x4966a0=_0x270e6b;_0x5a9e28&&!this[_0x4966a0(0x36b)]&&this[_0x4966a0(0x14c)](),_0x5a9e28||this['_onOffline']();}));}['dispose'](){var _0x1be333=_0x1640f8;super[_0x1be333(0x244)](),this['_clearRetryConnectingTimer'](),this[_0x1be333(0x2ee)](),this[_0x1be333(0x1f3)](),this[_0x1be333(0x386)][_0x1be333(0x1ff)](_0x5eefa9=>_0x5eefa9[_0x1be333(0x244)]()),this[_0x1be333(0x386)][_0x1be333(0x21c)](),this[_0x1be333(0x485)][_0x1be333(0x256)]();}async['requireSession'](_0x56be23){var _0x5ad739=_0x1640f8;if(this['_sessions'][_0x5ad739(0x3fb)](_0x56be23))return this['_sessions'][_0x5ad739(0x3ee)](_0x56be23);this[_0x5ad739(0x401)]();const _0x4abbf9=this[_0x5ad739(0x331)][_0x5ad739(0x13a)](exports[_0x5ad739(0x1b7)],_0x56be23,this['_socket$'][_0x5ad739(0x1ed)]());return this['_sessions'][_0x5ad739(0x315)](_0x56be23,_0x4abbf9),_0x4abbf9;}[_0x1640f8(0x28a)](_0x5b55c4){var _0x4e6115=_0x1640f8,_0x4a58f5;const _0x3fb50b=this['_sessions'][_0x4e6115(0x3ee)](_0x5b55c4);_0x3fb50b&&(this[_0x4e6115(0x386)][_0x4e6115(0x24b)](_0x5b55c4),_0x3fb50b['close']()),this[_0x4e6115(0x386)][_0x4e6115(0x2b8)]||(_0x4a58f5=this[_0x4e6115(0x36b)])==null||_0x4a58f5[_0x4e6115(0x3f5)]();}[_0x1640f8(0x14c)](){var _0x4d811d=_0x1640f8;this[_0x4d811d(0x336)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x4d811d(0x18a)]();}[_0x1640f8(0x1f1)](){var _0x4813ed=_0x1640f8;this[_0x4813ed(0x42f)]!=null&&(clearTimeout(this[_0x4813ed(0x42f)]),this[_0x4813ed(0x42f)]=null);}async[_0x1640f8(0x157)](){var _0x2dc4b1=_0x1640f8,_0x74bb65;const _0x2aa8d5=this[_0x2dc4b1(0x2b1)][_0x2dc4b1(0x254)](Y),_0x5985bb=(_0x74bb65=_0x2aa8d5==null?void 0x0:_0x2aa8d5[_0x2dc4b1(0x1e3)])!=null?_0x74bb65:ht,_0x23e540=await this[_0x2dc4b1(0x3eb)][_0x2dc4b1(0x1f7)](_0x5985bb);return this[_0x2dc4b1(0x2ac)]=_0x23e540,_0x23e540;}async[_0x1640f8(0x401)](){var _0x545eac=_0x1640f8,_0x5332a9,_0x4364fd;try{const _0x6e71c9=(_0x4364fd=(_0x5332a9=this[_0x545eac(0x36b)])!=null?_0x5332a9:this[_0x545eac(0x2ac)])!=null?_0x4364fd:await this[_0x545eac(0x157)]();if(_0x6e71c9){const _0x575754=_0x6e71c9[_0x545eac(0x407)];_0x6e71c9[_0x545eac(0x407)]=_0x16793f=>(this[_0x545eac(0x3f9)](),_0x575754[_0x545eac(0x219)](_0x6e71c9,[_0x16793f])),_0x6e71c9[_0x545eac(0x151)][_0x545eac(0x217)](_0x5b564b=>this[_0x545eac(0x3c3)](_0x6e71c9,_0x5b564b)),_0x6e71c9[_0x545eac(0x2d5)][_0x545eac(0x297)](V[_0x545eac(0x153)](0x1))[_0x545eac(0x217)](_0x4a07bb=>this['_logService']['error'](_0x545eac(0x40c),_0x4a07bb)),_0x6e71c9[_0x545eac(0x31b)]['pipe'](V[_0x545eac(0x153)](0x1))['subscribe'](()=>{var _0x15ff20=_0x545eac;this[_0x15ff20(0x188)](_0x6e71c9);}),_0x6e71c9[_0x545eac(0x346)][_0x545eac(0x297)](V[_0x545eac(0x153)](0x1))[_0x545eac(0x217)](_0x229c5f=>{var _0x3a8236=_0x545eac;this[_0x3a8236(0x3aa)][_0x3a8236(0x2cc)]('[CollaborationSessionService]','socket\x20close',_0x229c5f),this[_0x3a8236(0x280)]();});}}catch(_0x5b7609){this[_0x545eac(0x3aa)][_0x545eac(0x15a)](_0x5b7609),this['_onConnectionFailed']();}}[_0x1640f8(0x188)](_0x10e4e9){var _0x1465e1=_0x1640f8;this[_0x1465e1(0x3aa)][_0x1465e1(0x2cc)](_0x1465e1(0x410),'socket\x20open.'),_0x10e4e9[_0x1465e1(0x407)]({'cmd':W[_0x1465e1(0x490)]}),this[_0x1465e1(0x3f9)]();}[_0x1640f8(0x1e6)](){var _0x29edf4=_0x1640f8;this[_0x29edf4(0x263)]=!0x1,this[_0x29edf4(0x2ac)]=null,this[_0x29edf4(0x485)][_0x29edf4(0x3f8)](re[_0x29edf4(0x2bb)]),this[_0x29edf4(0x1b4)][_0x29edf4(0x3f8)](null),this[_0x29edf4(0x2ee)](),this[_0x29edf4(0x1f3)]();}['_onConnectionFailed'](){var _0xcc9f86=_0x1640f8,_0x39c3a1;this['_onOffline'](),this[_0xcc9f86(0x336)]<((_0x39c3a1=this[_0xcc9f86(0x2b1)][_0xcc9f86(0x254)](ut))!=null?_0x39c3a1:Mt)?(this[_0xcc9f86(0x468)][_0xcc9f86(0x1b6)]({'id':Z[_0xcc9f86(0x326)]}),this[_0xcc9f86(0x18a)]()):this[_0xcc9f86(0x468)][_0xcc9f86(0x1b6)]({'id':Z['SOCKET_FAILED']});}[_0x1640f8(0x18a)](){var _0x50ac6a=_0x1640f8,_0x5e1eb2;const _0x173d53=this[_0x50ac6a(0x336)],_0x4b7d4e=this[_0x50ac6a(0x2b1)][_0x50ac6a(0x254)](Y),_0x4df02e=_0x173d53===0x0?0x0:((_0x5e1eb2=_0x4b7d4e==null?void 0x0:_0x4b7d4e['retryConnectingInterval'])!=null?_0x5e1eb2:wt)*0x2**_0x173d53;this[_0x50ac6a(0x42f)]=setTimeout(()=>{var _0x34982a=_0x50ac6a;clearTimeout(this[_0x34982a(0x42f)]),this[_0x34982a(0x42f)]=null,this['_tryEnsureSocket']();},_0x4df02e),this[_0x50ac6a(0x336)]+=0x1;}[_0x1640f8(0x3c3)](_0x36016b,_0x51a6b7){var _0x364394=_0x1640f8;const {cmd:_0x2a0733}=_0x51a6b7;_0x2a0733===W[_0x364394(0x490)]&&!this['_socketReady']&&(_0x36016b[_0x364394(0x433)]=_0x51a6b7['data'][_0x364394(0x433)],this['_socket$'][_0x364394(0x3f8)](_0x36016b),this[_0x364394(0x485)][_0x364394(0x3f8)](re[_0x364394(0x314)]),this[_0x364394(0x263)]=!0x0,this[_0x364394(0x2ac)]=null),_0x2a0733===W[_0x364394(0x43f)]&&this['_clearTimeoutTimer'](),this[_0x364394(0x3f9)]();}[_0x1640f8(0x3f9)](){var _0x3d6ff3=_0x1640f8,_0x4d3199;this[_0x3d6ff3(0x1f3)](),this[_0x3d6ff3(0x275)]=setTimeout(()=>this[_0x3d6ff3(0x261)](),(_0x4d3199=this['_configService']['getConfig'](_t))!=null?_0x4d3199:Pt);}[_0x1640f8(0x261)](){var _0x5c0ad2=_0x1640f8;this[_0x5c0ad2(0x36b)][_0x5c0ad2(0x407)]({'cmd':W[_0x5c0ad2(0x43f)]}),this[_0x5c0ad2(0x2bf)]();}['_waitForHeartbeatResponse'](){var _0x37818b=_0x1640f8,_0xa029d3;this[_0x37818b(0x17d)]=setTimeout(()=>this[_0x37818b(0x280)](),(_0xa029d3=this[_0x37818b(0x2b1)][_0x37818b(0x254)](ke))!=null?_0xa029d3:lt);}['_clearHeartbeatTimer'](){var _0x3b0757=_0x1640f8;this[_0x3b0757(0x275)]!=null&&(clearTimeout(this[_0x3b0757(0x275)]),this[_0x3b0757(0x275)]=null);}[_0x1640f8(0x2ee)](){var _0x43f7f7=_0x1640f8;this[_0x43f7f7(0x17d)]!=null&&(clearTimeout(this[_0x43f7f7(0x17d)]),this[_0x43f7f7(0x17d)]=null);}},exports[_0x1640f8(0x169)]=ci([he(0x0,a['Inject'](a[_0x1640f8(0x1c1)])),he(0x1,a[_0x1640f8(0x226)]),he(0x2,a[_0x1640f8(0x30d)]),he(0x3,Fe),he(0x4,a[_0x1640f8(0x207)](ee)),he(0x5,a[_0x1640f8(0x1d3)](pt))],exports[_0x1640f8(0x169)]);var hi=Object[_0x1640f8(0x2d7)],_i=(_0xb75fdb,_0xe76528,_0x2790d0,_0x3be2c8)=>{var _0x94301e=_0x1640f8;for(var _0x428126=_0x3be2c8>0x1?void 0x0:_0x3be2c8?hi(_0xe76528,_0x2790d0):_0xe76528,_0x3f996a=_0xb75fdb[_0x94301e(0x388)]-0x1,_0x1f843f;_0x3f996a>=0x0;_0x3f996a--)(_0x1f843f=_0xb75fdb[_0x3f996a])&&(_0x428126=_0x1f843f(_0x428126)||_0x428126);return _0x428126;},Se=(_0x13a122,_0x1fb2e5)=>(_0x40348c,_0x489c03)=>_0x1fb2e5(_0x40348c,_0x489c03,_0x13a122);exports[_0x1640f8(0x18f)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x1a3ce4,_0x402451,_0xf1155,_0x11d589){var _0x2135cb=_0x1640f8,_0x26832e;super(),A(this,'_entities',new Map()),A(this,_0x2135cb(0x22b),new H[(_0x2135cb(0x375))]()),A(this,_0x2135cb(0x439),this[_0x2135cb(0x22b)][_0x2135cb(0x1ed)]()),(this[_0x2135cb(0x331)]=_0x1a3ce4,this[_0x2135cb(0x21a)]=_0x402451,this['_configService']=_0xf1155,this[_0x2135cb(0x2f3)]=_0x11d589,((_0x26832e=this[_0x2135cb(0x2b1)]['getConfig'](Y))==null?void 0x0:_0x26832e[_0x2135cb(0x20d)])!==!0x1&&this[_0x2135cb(0x1ac)]());}[_0x1640f8(0x244)](){var _0x83bc84=_0x1640f8;super[_0x83bc84(0x244)](),this[_0x83bc84(0x38f)][_0x83bc84(0x1ff)](_0x3659e6=>_0x3659e6[_0x83bc84(0x244)]()),this['_entities'][_0x83bc84(0x21c)]();}[_0x1640f8(0x224)](_0x582d0c){var _0x125f7b=_0x1640f8,_0x2534ff;return(_0x2534ff=this[_0x125f7b(0x38f)][_0x125f7b(0x3ee)](_0x582d0c))!=null?_0x2534ff:null;}['getCollabEntity$'](_0x55cb5d){var _0x5d7c4d=_0x1640f8;const _0x3b8ec9=this['getCollabEntity'](_0x55cb5d);return _0x3b8ec9?H['of'](_0x3b8ec9):this[_0x5d7c4d(0x22b)]['pipe'](V[_0x5d7c4d(0x35b)](_0x214a5b=>_0x214a5b[_0x5d7c4d(0x281)]===_0x55cb5d));}[_0x1640f8(0x302)](_0x2b5e14){var _0x132ace=_0x1640f8;return H[_0x132ace(0x2e5)](this['getCollabEntity$'](_0x2b5e14)[_0x132ace(0x297)](V[_0x132ace(0x3d2)](()=>{})));}[_0x1640f8(0x1ac)](){var _0x158e9e=_0x1640f8;this[_0x158e9e(0x2f3)][_0x158e9e(0x237)](a[_0x158e9e(0x1cb)][_0x158e9e(0x435)])['pipe'](H[_0x158e9e(0x397)](this[_0x158e9e(0x247)]),V[_0x158e9e(0x139)](0x10))[_0x158e9e(0x217)](async _0x50b8f2=>{var _0x46e39c=_0x158e9e;const _0x1e626b=_0x50b8f2[_0x46e39c(0x2e1)](),_0x43de32=await this[_0x46e39c(0x2fa)](_0x1e626b,J[_0x46e39c(0x435)]);this[_0x46e39c(0x38f)][_0x46e39c(0x315)](_0x1e626b,_0x43de32);}),this[_0x158e9e(0x2f3)][_0x158e9e(0x237)](a['UniverInstanceType'][_0x158e9e(0x15e)])[_0x158e9e(0x297)](H[_0x158e9e(0x397)](this['dispose$']),V[_0x158e9e(0x139)](0x10))[_0x158e9e(0x297)](V[_0x158e9e(0x35b)](_0x324f86=>!_0x324f86['getUnitId']()[_0x158e9e(0x168)]('__')))['subscribe'](async _0x2cc2b9=>{var _0x4bc4ea=_0x158e9e;const _0x2acb63=_0x2cc2b9[_0x4bc4ea(0x2e1)](),_0x66b266=await this[_0x4bc4ea(0x2fa)](_0x2acb63,J['UNIVER_DOC']);this[_0x4bc4ea(0x38f)][_0x4bc4ea(0x315)](_0x2acb63,_0x66b266);}),H[_0x158e9e(0x22a)](this[_0x158e9e(0x2f3)][_0x158e9e(0x2fe)](a[_0x158e9e(0x1cb)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x158e9e(0x2fe)](a['UniverInstanceType']['UNIVER_DOC']))['pipe'](H[_0x158e9e(0x397)](this['dispose$']))[_0x158e9e(0x217)](_0x3cf94b=>{var _0x5aed06=_0x158e9e;const _0x25a918=_0x3cf94b['getUnitId'](),_0x563fab=this[_0x5aed06(0x38f)][_0x5aed06(0x3ee)](_0x25a918);_0x563fab&&(_0x563fab[_0x5aed06(0x244)](),this[_0x5aed06(0x38f)][_0x5aed06(0x24b)](_0x25a918));});}async['_startCollaboration'](_0x4f4bf4,_0x5504de){var _0x30d65a=_0x1640f8;const _0x163d88=await this[_0x30d65a(0x21a)][_0x30d65a(0x447)](_0x4f4bf4),_0x4ef11a=this[_0x30d65a(0x331)][_0x30d65a(0x13a)](this[_0x30d65a(0x3d5)](_0x5504de),_0x4f4bf4,_0x5504de,_0x163d88);return await _0x4ef11a[_0x30d65a(0x27e)](),this['_entityInit$'][_0x30d65a(0x3f8)](_0x4ef11a),_0x4ef11a;}['_getCtorByUniverType'](_0x2f5344){var _0x2a9109=_0x1640f8;switch(_0x2f5344){case J[_0x2a9109(0x15e)]:return exports[_0x2a9109(0x405)];case J['UNIVER_SHEET']:return exports[_0x2a9109(0x13f)];default:throw new Error(_0x2a9109(0x394)+_0x2f5344);}}},exports['CollaborationController']=_i([Se(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),Se(0x1,a[_0x1640f8(0x207)](exports[_0x1640f8(0x169)])),Se(0x2,a[_0x1640f8(0x30d)]),Se(0x3,a[_0x1640f8(0x49a)])],exports[_0x1640f8(0x18f)]);var li=Object[_0x1640f8(0x2d7)],ui=(_0x5b4ff9,_0x13a924,_0x53d4dd,_0x3c410c)=>{for(var _0x4c6a2a=_0x3c410c>0x1?void 0x0:_0x3c410c?li(_0x13a924,_0x53d4dd):_0x13a924,_0xd88557=_0x5b4ff9['length']-0x1,_0x391332;_0xd88557>=0x0;_0xd88557--)(_0x391332=_0x5b4ff9[_0xd88557])&&(_0x4c6a2a=_0x391332(_0x4c6a2a)||_0x4c6a2a);return _0x4c6a2a;},Ye=(_0x5e1f9d,_0x3a2700)=>(_0x23df77,_0x3c777b)=>_0x3a2700(_0x23df77,_0x3c777b,_0x5e1f9d);const di=_0x1640f8(0x150),vi=_0x1640f8(0x466);let xe=class extends a['Disposable']{constructor(_0x197d67,_0x5d4df7){var _0x5206fa=_0x1640f8;super(),this[_0x5206fa(0x2f3)]=_0x197d67,this[_0x5206fa(0x2b1)]=_0x5d4df7,this['_init']();}['_init'](){var _0x1fe603=_0x1640f8;this[_0x1fe603(0x30c)](this['_univerInstanceService'][_0x1fe603(0x24e)]['subscribe'](()=>{var _0x25ba88=_0x1fe603,_0x20de3c;const _0x32d1c3=this['_univerInstanceService']['getFocusedUnit']();let _0x1514b3=(_0x20de3c=this[_0x25ba88(0x2b1)]['getConfig'](di))!=null?_0x20de3c:vi;_0x32d1c3 instanceof a[_0x25ba88(0x2ce)]&&(_0x1514b3=_0x32d1c3[_0x25ba88(0x48d)]),document['title']=_0x1514b3;}));}};xe=ui([Ye(0x0,a[_0x1640f8(0x49a)]),Ye(0x1,a[_0x1640f8(0x30d)])],xe);var Si=Object[_0x1640f8(0x2d7)],fi=(_0x49734d,_0x4f3315,_0x9e214e,_0x42033e)=>{var _0x47d910=_0x1640f8;for(var _0x1f4376=_0x42033e>0x1?void 0x0:_0x42033e?Si(_0x4f3315,_0x9e214e):_0x4f3315,_0x1736b8=_0x49734d[_0x47d910(0x388)]-0x1,_0x3e729c;_0x1736b8>=0x0;_0x1736b8--)(_0x3e729c=_0x49734d[_0x1736b8])&&(_0x1f4376=_0x3e729c(_0x1f4376)||_0x1f4376);return _0x1f4376;},Ae=(_0x106c9e,_0x1bf73c)=>(_0x3a9887,_0x277554)=>_0x1bf73c(_0x3a9887,_0x277554,_0x106c9e);let ye=class{constructor(_0x3106f8,_0x3a249b,_0x1356a2){var _0x4e47bc=_0x1640f8;this[_0x4e47bc(0x2b1)]=_0x3106f8,this['_httpService']=_0x3a249b,this[_0x4e47bc(0x1c6)]=_0x1356a2,this[_0x4e47bc(0x27e)]();}['init'](){var _0x39376e=_0x1640f8;this[_0x39376e(0x3a0)][_0x39376e(0x144)]({'priority':0x1,'interceptor':(_0x1e4a86,_0x33bf35)=>_0x33bf35(_0x1e4a86)['pipe'](H['concatMap'](async _0x6e6d4c=>{var _0x5ce368=_0x39376e;const _0x505c80=_0x6e6d4c;if(_0x505c80['status']===0x191){if(typeof window>'u')throw new Error(_0x5ce368(0x23a));if(window[_0x5ce368(0x42c)](this['localeService']['t'](_0x5ce368(0x419)))){const _0x5b6a02=window['encodeURIComponent'](window[_0x5ce368(0x48c)][_0x5ce368(0x262)]);window['location'][_0x5ce368(0x262)]=this['_getLoginPath']()+_0x5ce368(0x16a)+_0x5b6a02;}}return _0x505c80;}))});}[_0x1640f8(0x41e)](){var _0x3838ab=_0x1640f8,_0xc57152;const _0x5a618d=this[_0x3838ab(0x2b1)][_0x3838ab(0x254)](Y);return(_0xc57152=_0x5a618d==null?void 0x0:_0x5a618d['loginUrlKey'])!=null?_0xc57152:$t;}};ye=fi([Ae(0x0,a[_0x1640f8(0x30d)]),Ae(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)])),Ae(0x2,a[_0x1640f8(0x207)](a[_0x1640f8(0x2a7)]))],ye);var Ii=Object[_0x1640f8(0x2d7)],pi=(_0x13f7dc,_0x1b4b7c,_0x4324b2,_0x2d8a32)=>{var _0xddc3c5=_0x1640f8;for(var _0x1f6dca=_0x2d8a32>0x1?void 0x0:_0x2d8a32?Ii(_0x1b4b7c,_0x4324b2):_0x1b4b7c,_0x3ce99a=_0x13f7dc[_0xddc3c5(0x388)]-0x1,_0x4b4937;_0x3ce99a>=0x0;_0x3ce99a--)(_0x4b4937=_0x13f7dc[_0x3ce99a])&&(_0x1f6dca=_0x4b4937(_0x1f6dca)||_0x1f6dca);return _0x1f6dca;},qe=(_0x3f8084,_0x30fe44)=>(_0x3bb9b7,_0xf8c118)=>_0x30fe44(_0x3bb9b7,_0xf8c118,_0x3f8084);const mi=_0x1640f8(0x2da);exports[_0x1640f8(0x353)]=class extends a[_0x1640f8(0x380)]{constructor(_0x1ba2b2,_0x4aef08){var _0xd90936=_0x1640f8;super(),this['_HTTPService']=_0x1ba2b2,this[_0xd90936(0x2b1)]=_0x4aef08,this[_0xd90936(0x3d3)]();}[_0x1640f8(0x3d3)](){var _0x489e92=_0x1640f8;const _0xd647e=this;this[_0x489e92(0x30c)](this['_HTTPService'][_0x489e92(0x144)]({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x101df9){var _0x436c28=_0x489e92,_0x4fdc6a;if(_0x101df9[_0x436c28(0x2c0)]==='POST'&&((_0x4fdc6a=_0x101df9[_0x436c28(0x3f6)])!=null&&_0x4fdc6a['body'])){const {objectID:_0xfb8691,objectType:_0x1e9558}=_0x101df9[_0x436c28(0x3f6)][_0x436c28(0x3e3)]||{};if(!_0xfb8691||_0x1e9558===void 0x0)return!0x1;const _0x5bfd47=_0xd647e[_0x436c28(0x1aa)]()+'/'+_0x1e9558+_0x436c28(0x1c3)+_0xfb8691+'/allowed';if(_0x101df9[_0x436c28(0x3a7)]===_0x5bfd47)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1ecb7d){var _0x2d4e61=_0x489e92,_0xe3ff5f;return(_0xe3ff5f=_0x1ecb7d['requestParams'])==null?void 0x0:_0xe3ff5f[_0x2d4e61(0x3e3)];},'mergeParamsToRequest'(_0x388add,_0x3aad10){var _0x576b38=_0x489e92;const _0x1e06d6=_0xd647e[_0x576b38(0x1aa)]()+_0x576b38(0x497),_0x13dbcc=_0x388add['reduce']((_0x55a38b,_0x578ba7)=>{var _0x26e997=_0x576b38;const {unitID:_0xd3d013,objectID:_0x31fc4c,objectType:_0x5cfc70,actions:_0x3fdad0}=_0x578ba7;return _0x55a38b[_0xd3d013]||(_0x55a38b[_0xd3d013]={}),_0x55a38b[_0xd3d013][_0x31fc4c]||(_0x55a38b[_0xd3d013][_0x31fc4c]={'objectID':_0x31fc4c,'objectType':_0x5cfc70,'actions':[]}),_0x55a38b[_0xd3d013][_0x31fc4c][_0x26e997(0x403)][_0x26e997(0x33f)](..._0x3fdad0),_0x55a38b;},{}),_0x257c5a=[];for(const _0x15ece2 in _0x13dbcc)for(const _0x447986 in _0x13dbcc[_0x15ece2]){const {actions:_0x4ae783,objectType:_0xe6241}=_0x13dbcc[_0x15ece2][_0x447986],_0x226b0d=[...new Set(_0x4ae783)];_0x257c5a['push']({'unitID':_0x15ece2,'objectID':_0x447986,'objectType':_0xe6241,'actions':_0x226b0d});}return new q[(_0x576b38(0x45a))]('POST',_0x1e06d6,{'headers':_0x3aad10['headers'],'withCredentials':_0x3aad10[_0x576b38(0x2aa)],'responseType':_0x3aad10[_0x576b38(0x243)],'body':{'requests':_0x257c5a}});}},{'distributeResult'(_0x591572,_0x4b6c4c){var _0x20e809=_0x489e92;const {objectActions:_0x5146f9}=_0x591572;return _0x4b6c4c[_0x20e809(0x3d2)](_0x35ee1e=>{var _0x23cba4=_0x20e809;const {unitID:_0x23322b,objectID:_0x3e2625,actions:_0x328069}=_0x35ee1e,_0x5a3984=_0x5146f9['find'](_0x269625=>_0x269625[_0x23cba4(0x281)]===_0x23322b&&_0x269625[_0x23cba4(0x3dd)]===_0x3e2625),_0x696057=_0x328069['map'](_0x42318d=>_0x5a3984==null?void 0x0:_0x5a3984['actions'][_0x23cba4(0x264)](_0x58157e=>_0x58157e[_0x23cba4(0x36d)]===_0x42318d))[_0x23cba4(0x35b)](_0x225768=>!!_0x225768);return{'config':_0x35ee1e,'result':{'actions':_0x696057,'error':_0x591572[_0x23cba4(0x15a)]}};});}})}));}[_0x1640f8(0x1aa)](){var _0x1d9b21=_0x1640f8,_0xd30cb;const _0x45e276=this[_0x1d9b21(0x2b1)][_0x1d9b21(0x254)](Y);return(_0xd30cb=_0x45e276==null?void 0x0:_0x45e276[_0x1d9b21(0x34b)])!=null?_0xd30cb:mi;}async[_0x1640f8(0x3cb)](_0x3c2452){var _0x520eb1=_0x1640f8;const _0x41fd1e=this[_0x520eb1(0x1aa)]()+'/'+_0x3c2452[_0x520eb1(0x47d)]+_0x520eb1(0x2c2);return(await this[_0x520eb1(0x3e9)][_0x520eb1(0x42a)](_0x41fd1e,{'body':_0x3c2452}))[_0x520eb1(0x3e3)][_0x520eb1(0x3dd)]||'';}async[_0x1640f8(0x155)](_0x26c72c){var _0x1884c6=_0x1640f8;const _0x3fccdf=this['_getAPIPrefixPath']()+_0x1884c6(0x40d);return(await this[_0x1884c6(0x3e9)][_0x1884c6(0x42a)](_0x3fccdf,{'body':_0x26c72c}))['body'][_0x1884c6(0x1a1)];}async[_0x1640f8(0x216)](_0xb86087){var _0x2ff49e=_0x1640f8,_0x59b0fa,_0x1e7286;const _0x3c8d45=this[_0x2ff49e(0x1aa)]()+'/'+_0xb86087[_0x2ff49e(0x47d)]+_0x2ff49e(0x1c3)+_0xb86087[_0x2ff49e(0x3dd)],_0x4eff51=await this[_0x2ff49e(0x3e9)][_0x2ff49e(0x292)](_0x3c8d45,{'body':_0xb86087});if(((_0x1e7286=(_0x59b0fa=_0x4eff51==null?void 0x0:_0x4eff51[_0x2ff49e(0x3e3)])==null?void 0x0:_0x59b0fa[_0x2ff49e(0x15a)])==null?void 0x0:_0x1e7286[_0x2ff49e(0x141)])!==0x1)throw new Error(_0x2ff49e(0x3ad));}async['allowed'](_0x12c6dd){var _0x352688=_0x1640f8;const _0xbfae17=this['_getAPIPrefixPath']()+'/'+_0x12c6dd[_0x352688(0x47d)]+_0x352688(0x1c3)+_0x12c6dd[_0x352688(0x3dd)]+'/allowed';return(await this[_0x352688(0x3e9)][_0x352688(0x42a)](_0xbfae17,{'body':_0x12c6dd}))[_0x352688(0x3e3)][_0x352688(0x403)];}async[_0x1640f8(0x472)](_0x2eb2f6){var _0x197636=_0x1640f8;const _0x469333=this['_getAPIPrefixPath']()+_0x197636(0x497);return(await this['_HTTPService'][_0x197636(0x42a)](_0x469333,{'body':{'requests':_0x2eb2f6}}))['body'][_0x197636(0x494)];}async['listRoles'](_0x4bd552){var _0x440f1e=_0x1640f8;const _0x272d73=this[_0x440f1e(0x1aa)]()+'/'+_0x4bd552[_0x440f1e(0x47d)]+_0x440f1e(0x1c0),_0x462a54=await this[_0x440f1e(0x3e9)]['post'](_0x272d73,{'body':_0x4bd552});return{'roles':_0x462a54[_0x440f1e(0x3e3)][_0x440f1e(0x456)],'actions':_0x462a54['body'][_0x440f1e(0x403)]};}async[_0x1640f8(0x3e2)](_0x18a679){var _0x7f12b1=_0x1640f8;const _0x1ff916=this['_getAPIPrefixPath']()+_0x7f12b1(0x24d);await this['_HTTPService'][_0x7f12b1(0x24b)](_0x1ff916,{'params':{'collaboratorID':_0x18a679[_0x7f12b1(0x206)],'objectID':_0x18a679[_0x7f12b1(0x3dd)],'unitID':_0x18a679[_0x7f12b1(0x281)]}});}async[_0x1640f8(0x2a2)](_0x40e4f5){var _0x31f432=_0x1640f8;const _0x2501c3=this[_0x31f432(0x1aa)]()+'/collaborator';await this[_0x31f432(0x3e9)][_0x31f432(0x480)](_0x2501c3,{'body':_0x40e4f5});}async['createCollaborator'](_0x1b9c60){var _0x3c5763=_0x1640f8;const _0x245f29=this['_getAPIPrefixPath']()+_0x3c5763(0x24d);await this[_0x3c5763(0x3e9)][_0x3c5763(0x42a)](_0x245f29,{'body':_0x1b9c60});}async[_0x1640f8(0x438)](_0x16aae5){var _0x4ef59a=_0x1640f8;const _0x1d3d67=this[_0x4ef59a(0x1aa)]()+_0x4ef59a(0x24d);return(await this[_0x4ef59a(0x3e9)][_0x4ef59a(0x3ee)](_0x1d3d67,{'params':{'objectID':_0x16aae5['objectID'],'unitID':_0x16aae5[_0x4ef59a(0x281)]}}))[_0x4ef59a(0x3e3)][_0x4ef59a(0x446)];}async['putCollaborators'](_0x260744){var _0x3e0a09=_0x1640f8;const _0xad0f69=this[_0x3e0a09(0x1aa)]()+_0x3e0a09(0x24d);await this[_0x3e0a09(0x3e9)][_0x3e0a09(0x292)](_0xad0f69,{'body':_0x260744});}},exports[_0x1640f8(0x353)]=pi([qe(0x0,a['Inject'](q[_0x1640f8(0x1ba)])),qe(0x1,a[_0x1640f8(0x207)](a['IConfigService']))],exports[_0x1640f8(0x353)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4066df){var _0xe9ed1=_0x1640f8;return _0x4066df&&_0x4066df[_0xe9ed1(0x379)]&&Object['prototype'][_0xe9ed1(0x26c)]['call'](_0x4066df,_0xe9ed1(0x3b7))?_0x4066df[_0xe9ed1(0x3b7)]:_0x4066df;}var fe={'exports':{}};function gi(_0x555273){var _0xa0075c=_0x1640f8;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x555273+_0xa0075c(0x158));}var Ie={'exports':{}},Ei=Ie[_0x1640f8(0x3bf)],Ke;function Q(){var _0x3865c4=_0x1640f8;return Ke||(Ke=0x1,function(_0x10a3b3,_0x3b4b95){(function(_0x2d4881,_0x231ee9){var _0x43fb87=_0x3549;_0x10a3b3[_0x43fb87(0x3bf)]=_0x231ee9();}(Ei,function(){var _0x193e20=_0x193e20||function(_0x2bd23e,_0xc7eb74){var _0x59bed8=_0x3549,_0x2b5803;if(typeof window<'u'&&window[_0x59bed8(0x365)]&&(_0x2b5803=window[_0x59bed8(0x365)]),typeof self<'u'&&self[_0x59bed8(0x365)]&&(_0x2b5803=self[_0x59bed8(0x365)]),typeof globalThis<'u'&&globalThis[_0x59bed8(0x365)]&&(_0x2b5803=globalThis[_0x59bed8(0x365)]),!_0x2b5803&&typeof window<'u'&&window[_0x59bed8(0x145)]&&(_0x2b5803=window[_0x59bed8(0x145)]),!_0x2b5803&&typeof Pe<'u'&&Pe[_0x59bed8(0x365)]&&(_0x2b5803=Pe[_0x59bed8(0x365)]),!_0x2b5803&&typeof gi==_0x59bed8(0x470))try{_0x2b5803=require('crypto');}catch{}var _0x11ca86=function(){var _0x5e5322=_0x59bed8;if(_0x2b5803){if(typeof _0x2b5803[_0x5e5322(0x23e)]==_0x5e5322(0x470))try{return _0x2b5803[_0x5e5322(0x23e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b5803[_0x5e5322(0x164)]==_0x5e5322(0x470))try{return _0x2b5803[_0x5e5322(0x164)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xc66dd4=Object['create']||(function(){function _0x24fb0d(){}return function(_0x1d5214){var _0x4ce8be=_0x3549,_0x25b473;return _0x24fb0d['prototype']=_0x1d5214,_0x25b473=new _0x24fb0d(),_0x24fb0d[_0x4ce8be(0x26b)]=null,_0x25b473;};}()),_0x4cc220={},_0x4d43f3=_0x4cc220[_0x59bed8(0x2f7)]={},_0xad277d=_0x4d43f3[_0x59bed8(0x29c)]=(function(){return{'extend':function(_0x4ba7a4){var _0x381601=_0x3549,_0x19e8f9=_0xc66dd4(this);return _0x4ba7a4&&_0x19e8f9[_0x381601(0x3b4)](_0x4ba7a4),(!_0x19e8f9[_0x381601(0x26c)](_0x381601(0x27e))||this['init']===_0x19e8f9[_0x381601(0x27e)])&&(_0x19e8f9[_0x381601(0x27e)]=function(){var _0x415f77=_0x381601;_0x19e8f9[_0x415f77(0x2a4)][_0x415f77(0x27e)][_0x415f77(0x219)](this,arguments);}),_0x19e8f9[_0x381601(0x27e)][_0x381601(0x26b)]=_0x19e8f9,_0x19e8f9[_0x381601(0x2a4)]=this,_0x19e8f9;},'create':function(){var _0x517a9c=_0x3549,_0x3e06eb=this[_0x517a9c(0x382)]();return _0x3e06eb[_0x517a9c(0x27e)]['apply'](_0x3e06eb,arguments),_0x3e06eb;},'init':function(){},'mixIn':function(_0x5432ff){var _0x152b89=_0x3549;for(var _0x334744 in _0x5432ff)_0x5432ff[_0x152b89(0x26c)](_0x334744)&&(this[_0x334744]=_0x5432ff[_0x334744]);_0x5432ff['hasOwnProperty'](_0x152b89(0x42b))&&(this[_0x152b89(0x42b)]=_0x5432ff[_0x152b89(0x42b)]);},'clone':function(){var _0x1cefb7=_0x3549;return this[_0x1cefb7(0x27e)][_0x1cefb7(0x26b)][_0x1cefb7(0x382)](this);}};}()),_0x3311a1=_0x4d43f3[_0x59bed8(0x143)]=_0xad277d['extend']({'init':function(_0x5ea35f,_0x39b875){var _0x32df8d=_0x59bed8;_0x5ea35f=this[_0x32df8d(0x404)]=_0x5ea35f||[],_0x39b875!=_0xc7eb74?this['sigBytes']=_0x39b875:this[_0x32df8d(0x1a5)]=_0x5ea35f['length']*0x4;},'toString':function(_0x47d0da){return(_0x47d0da||_0x1de5f8)['stringify'](this);},'concat':function(_0x5d7e3b){var _0x174166=_0x59bed8,_0x2fe1bd=this['words'],_0x221ac8=_0x5d7e3b['words'],_0x39d7e6=this['sigBytes'],_0x761ca6=_0x5d7e3b[_0x174166(0x1a5)];if(this[_0x174166(0x3e6)](),_0x39d7e6%0x4)for(var _0x2f7a22=0x0;_0x2f7a22<_0x761ca6;_0x2f7a22++){var _0x54c2c6=_0x221ac8[_0x2f7a22>>>0x2]>>>0x18-_0x2f7a22%0x4*0x8&0xff;_0x2fe1bd[_0x39d7e6+_0x2f7a22>>>0x2]|=_0x54c2c6<<0x18-(_0x39d7e6+_0x2f7a22)%0x4*0x8;}else{for(var _0x19fb44=0x0;_0x19fb44<_0x761ca6;_0x19fb44+=0x4)_0x2fe1bd[_0x39d7e6+_0x19fb44>>>0x2]=_0x221ac8[_0x19fb44>>>0x2];}return this[_0x174166(0x1a5)]+=_0x761ca6,this;},'clamp':function(){var _0x3c27bf=_0x59bed8,_0x410039=this[_0x3c27bf(0x404)],_0x35e21d=this[_0x3c27bf(0x1a5)];_0x410039[_0x35e21d>>>0x2]&=0xffffffff<<0x20-_0x35e21d%0x4*0x8,_0x410039[_0x3c27bf(0x388)]=_0x2bd23e[_0x3c27bf(0x38d)](_0x35e21d/0x4);},'clone':function(){var _0x267267=_0x59bed8,_0x1eaf48=_0xad277d['clone']['call'](this);return _0x1eaf48['words']=this[_0x267267(0x404)]['slice'](0x0),_0x1eaf48;},'random':function(_0x2a45d3){var _0x357df2=_0x59bed8;for(var _0x4adfa0=[],_0x446f88=0x0;_0x446f88<_0x2a45d3;_0x446f88+=0x4)_0x4adfa0[_0x357df2(0x33f)](_0x11ca86());return new _0x3311a1[(_0x357df2(0x27e))](_0x4adfa0,_0x2a45d3);}}),_0x833695=_0x4cc220['enc']={},_0x1de5f8=_0x833695[_0x59bed8(0x1a9)]={'stringify':function(_0x53adda){var _0x398930=_0x59bed8;for(var _0x570f9e=_0x53adda[_0x398930(0x404)],_0x4b1c91=_0x53adda[_0x398930(0x1a5)],_0x50f24f=[],_0x2666d2=0x0;_0x2666d2<_0x4b1c91;_0x2666d2++){var _0x2e3816=_0x570f9e[_0x2666d2>>>0x2]>>>0x18-_0x2666d2%0x4*0x8&0xff;_0x50f24f[_0x398930(0x33f)]((_0x2e3816>>>0x4)['toString'](0x10)),_0x50f24f['push']((_0x2e3816&0xf)[_0x398930(0x42b)](0x10));}return _0x50f24f[_0x398930(0x391)]('');},'parse':function(_0x33d6fd){var _0x157bcb=_0x59bed8;for(var _0x23f7ff=_0x33d6fd[_0x157bcb(0x388)],_0x4ef5bf=[],_0x5beb70=0x0;_0x5beb70<_0x23f7ff;_0x5beb70+=0x2)_0x4ef5bf[_0x5beb70>>>0x3]|=parseInt(_0x33d6fd[_0x157bcb(0x355)](_0x5beb70,0x2),0x10)<<0x18-_0x5beb70%0x8*0x4;return new _0x3311a1[(_0x157bcb(0x27e))](_0x4ef5bf,_0x23f7ff/0x2);}},_0x5b9fcb=_0x833695['Latin1']={'stringify':function(_0x46b677){var _0x4da14f=_0x59bed8;for(var _0xf00380=_0x46b677[_0x4da14f(0x404)],_0x329f41=_0x46b677[_0x4da14f(0x1a5)],_0x15e2c9=[],_0x205bd1=0x0;_0x205bd1<_0x329f41;_0x205bd1++){var _0x4bdafe=_0xf00380[_0x205bd1>>>0x2]>>>0x18-_0x205bd1%0x4*0x8&0xff;_0x15e2c9[_0x4da14f(0x33f)](String[_0x4da14f(0x3c7)](_0x4bdafe));}return _0x15e2c9[_0x4da14f(0x391)]('');},'parse':function(_0x161f41){var _0x266136=_0x59bed8;for(var _0x10b77c=_0x161f41['length'],_0x22c8a9=[],_0x25a081=0x0;_0x25a081<_0x10b77c;_0x25a081++)_0x22c8a9[_0x25a081>>>0x2]|=(_0x161f41[_0x266136(0x323)](_0x25a081)&0xff)<<0x18-_0x25a081%0x4*0x8;return new _0x3311a1[(_0x266136(0x27e))](_0x22c8a9,_0x10b77c);}},_0x366fea=_0x833695['Utf8']={'stringify':function(_0x38d488){var _0x1bafcd=_0x59bed8;try{return decodeURIComponent(escape(_0x5b9fcb[_0x1bafcd(0x288)](_0x38d488)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x24000d){var _0x351486=_0x59bed8;return _0x5b9fcb[_0x351486(0x493)](unescape(encodeURIComponent(_0x24000d)));}},_0x10ce08=_0x4d43f3[_0x59bed8(0x1ab)]=_0xad277d['extend']({'reset':function(){var _0x5c0f53=_0x59bed8;this['_data']=new _0x3311a1[(_0x5c0f53(0x27e))](),this['_nDataBytes']=0x0;},'_append':function(_0x2f6b7a){var _0x5ea644=_0x59bed8;typeof _0x2f6b7a==_0x5ea644(0x2d0)&&(_0x2f6b7a=_0x366fea['parse'](_0x2f6b7a)),this[_0x5ea644(0x44f)][_0x5ea644(0x30e)](_0x2f6b7a),this[_0x5ea644(0x462)]+=_0x2f6b7a[_0x5ea644(0x1a5)];},'_process':function(_0x221c1d){var _0x123fca=_0x59bed8,_0x2482ab,_0x35e76f=this[_0x123fca(0x44f)],_0x321610=_0x35e76f['words'],_0x5d2151=_0x35e76f[_0x123fca(0x1a5)],_0x147a1e=this[_0x123fca(0x2dd)],_0x383388=_0x147a1e*0x4,_0x21c324=_0x5d2151/_0x383388;_0x221c1d?_0x21c324=_0x2bd23e[_0x123fca(0x38d)](_0x21c324):_0x21c324=_0x2bd23e[_0x123fca(0x37f)]((_0x21c324|0x0)-this[_0x123fca(0x1d9)],0x0);var _0x3cbce0=_0x21c324*_0x147a1e,_0x3c1951=_0x2bd23e['min'](_0x3cbce0*0x4,_0x5d2151);if(_0x3cbce0){for(var _0x38c7bf=0x0;_0x38c7bf<_0x3cbce0;_0x38c7bf+=_0x147a1e)this[_0x123fca(0x384)](_0x321610,_0x38c7bf);_0x2482ab=_0x321610[_0x123fca(0x204)](0x0,_0x3cbce0),_0x35e76f['sigBytes']-=_0x3c1951;}return new _0x3311a1[(_0x123fca(0x27e))](_0x2482ab,_0x3c1951);},'clone':function(){var _0x5f4062=_0x59bed8,_0x504c38=_0xad277d[_0x5f4062(0x31f)][_0x5f4062(0x350)](this);return _0x504c38[_0x5f4062(0x44f)]=this[_0x5f4062(0x44f)]['clone'](),_0x504c38;},'_minBufferSize':0x0});_0x4d43f3[_0x59bed8(0x44b)]=_0x10ce08['extend']({'cfg':_0xad277d[_0x59bed8(0x382)](),'init':function(_0x26d8ab){var _0xc1dd86=_0x59bed8;this['cfg']=this[_0xc1dd86(0x20a)][_0xc1dd86(0x382)](_0x26d8ab),this[_0xc1dd86(0x354)]();},'reset':function(){var _0x222928=_0x59bed8;_0x10ce08[_0x222928(0x354)][_0x222928(0x350)](this),this[_0x222928(0x43e)]();},'update':function(_0x183ce6){var _0x4d70de=_0x59bed8;return this['_append'](_0x183ce6),this[_0x4d70de(0x46f)](),this;},'finalize':function(_0x3229e1){var _0x616d88=_0x59bed8;_0x3229e1&&this[_0x616d88(0x3af)](_0x3229e1);var _0x467a70=this[_0x616d88(0x3cf)]();return _0x467a70;},'blockSize':0x10,'_createHelper':function(_0x1b4946){return function(_0x6846d9,_0x39b1ee){var _0x14b837=_0x3549;return new _0x1b4946[(_0x14b837(0x27e))](_0x39b1ee)[_0x14b837(0x467)](_0x6846d9);};},'_createHmacHelper':function(_0x343d54){return function(_0x4e6ad8,_0x23687e){var _0x3d5475=_0x3549;return new _0x695ba0['HMAC'][(_0x3d5475(0x27e))](_0x343d54,_0x23687e)[_0x3d5475(0x467)](_0x4e6ad8);};}});var _0x695ba0=_0x4cc220['algo']={};return _0x4cc220;}(Math);return _0x193e20;}));}(Ie)),Ie[_0x3865c4(0x3bf)];}var pe={'exports':{}},Ci=pe[_0x1640f8(0x3bf)],ze;function Et(){var _0x100b3e=_0x1640f8;return ze||(ze=0x1,function(_0x48a2d5,_0x1e0ca2){(function(_0x3dcc80,_0x28cab3){var _0x3f1c08=_0x3549;_0x48a2d5[_0x3f1c08(0x3bf)]=_0x28cab3(Q());}(Ci,function(_0x5f42c6){var _0x4a7557=_0x3549;return(function(){var _0x5d89b4=_0x3549,_0x5e329c=_0x5f42c6,_0x255af3=_0x5e329c[_0x5d89b4(0x2f7)],_0x4c07da=_0x255af3[_0x5d89b4(0x143)],_0x4c24d4=_0x5e329c['enc'];_0x4c24d4[_0x5d89b4(0x142)]={'stringify':function(_0x21ef43){var _0x98f097=_0x5d89b4,_0x352abd=_0x21ef43[_0x98f097(0x404)],_0x5b78cb=_0x21ef43[_0x98f097(0x1a5)],_0x309cef=this['_map'];_0x21ef43[_0x98f097(0x3e6)]();for(var _0x3d4de5=[],_0x3305be=0x0;_0x3305be<_0x5b78cb;_0x3305be+=0x3)for(var _0x4b6027=_0x352abd[_0x3305be>>>0x2]>>>0x18-_0x3305be%0x4*0x8&0xff,_0x4782ae=_0x352abd[_0x3305be+0x1>>>0x2]>>>0x18-(_0x3305be+0x1)%0x4*0x8&0xff,_0x5cb18b=_0x352abd[_0x3305be+0x2>>>0x2]>>>0x18-(_0x3305be+0x2)%0x4*0x8&0xff,_0x42c8d5=_0x4b6027<<0x10|_0x4782ae<<0x8|_0x5cb18b,_0x4d8641=0x0;_0x4d8641<0x4&&_0x3305be+_0x4d8641*0.75<_0x5b78cb;_0x4d8641++)_0x3d4de5['push'](_0x309cef[_0x98f097(0x448)](_0x42c8d5>>>0x6*(0x3-_0x4d8641)&0x3f));var _0xf90cde=_0x309cef[_0x98f097(0x448)](0x40);if(_0xf90cde){for(;_0x3d4de5[_0x98f097(0x388)]%0x4;)_0x3d4de5[_0x98f097(0x33f)](_0xf90cde);}return _0x3d4de5[_0x98f097(0x391)]('');},'parse':function(_0x56742f){var _0x192976=_0x5d89b4,_0x269b55=_0x56742f['length'],_0x53c488=this[_0x192976(0x196)],_0x566e2e=this[_0x192976(0x2ae)];if(!_0x566e2e){_0x566e2e=this[_0x192976(0x2ae)]=[];for(var _0x300b50=0x0;_0x300b50<_0x53c488[_0x192976(0x388)];_0x300b50++)_0x566e2e[_0x53c488[_0x192976(0x323)](_0x300b50)]=_0x300b50;}var _0x539c9d=_0x53c488[_0x192976(0x448)](0x40);if(_0x539c9d){var _0x1266bf=_0x56742f['indexOf'](_0x539c9d);_0x1266bf!==-0x1&&(_0x269b55=_0x1266bf);}return _0x57b3ef(_0x56742f,_0x269b55,_0x566e2e);},'_map':_0x5d89b4(0x429)};function _0x57b3ef(_0x5d410f,_0x3e7c55,_0x384ffb){var _0x28ec42=_0x5d89b4;for(var _0x4bf6e3=[],_0x419f32=0x0,_0x6e75fc=0x0;_0x6e75fc<_0x3e7c55;_0x6e75fc++)if(_0x6e75fc%0x4){var _0x1606b0=_0x384ffb[_0x5d410f['charCodeAt'](_0x6e75fc-0x1)]<<_0x6e75fc%0x4*0x2,_0x45cb33=_0x384ffb[_0x5d410f[_0x28ec42(0x323)](_0x6e75fc)]>>>0x6-_0x6e75fc%0x4*0x2,_0x319631=_0x1606b0|_0x45cb33;_0x4bf6e3[_0x419f32>>>0x2]|=_0x319631<<0x18-_0x419f32%0x4*0x8,_0x419f32++;}return _0x4c07da[_0x28ec42(0x3cb)](_0x4bf6e3,_0x419f32);}}()),_0x5f42c6[_0x4a7557(0x2cd)][_0x4a7557(0x142)];}));}(pe)),pe[_0x100b3e(0x3bf)];}var me={'exports':{}},Ti=me[_0x1640f8(0x3bf)],Je;function bi(){var _0x59aab0=_0x1640f8;return Je||(Je=0x1,function(_0x3b793c,_0x15134d){(function(_0x308345,_0x123a8b){var _0x56451a=_0x3549;_0x3b793c[_0x56451a(0x3bf)]=_0x123a8b(Q());}(Ti,function(_0xa4a4b0){var _0x128e23=_0x3549;return function(_0x2e8957){var _0x44d056=_0x3549,_0x588e07=_0xa4a4b0,_0x54ba2b=_0x588e07[_0x44d056(0x2f7)],_0x652b74=_0x54ba2b[_0x44d056(0x143)],_0x11bc33=_0x54ba2b['Hasher'],_0x5890b2=_0x588e07[_0x44d056(0x475)],_0x42a335=[];(function(){var _0x4a2379=_0x44d056;for(var _0x19fef5=0x0;_0x19fef5<0x40;_0x19fef5++)_0x42a335[_0x19fef5]=_0x2e8957[_0x4a2379(0x189)](_0x2e8957['sin'](_0x19fef5+0x1))*0x100000000|0x0;}());var _0x55c7ff=_0x5890b2[_0x44d056(0x318)]=_0x11bc33[_0x44d056(0x382)]({'_doReset':function(){var _0x3fa228=_0x44d056;this[_0x3fa228(0x340)]=new _0x652b74[(_0x3fa228(0x27e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x248ff8,_0x32fcfa){var _0x212071=_0x44d056;for(var _0x14f953=0x0;_0x14f953<0x10;_0x14f953++){var _0x303a26=_0x32fcfa+_0x14f953,_0x4965b9=_0x248ff8[_0x303a26];_0x248ff8[_0x303a26]=(_0x4965b9<<0x8|_0x4965b9>>>0x18)&0xff00ff|(_0x4965b9<<0x18|_0x4965b9>>>0x8)&0xff00ff00;}var _0x217e2b=this[_0x212071(0x340)]['words'],_0x3e6796=_0x248ff8[_0x32fcfa+0x0],_0x42e582=_0x248ff8[_0x32fcfa+0x1],_0x2a9f09=_0x248ff8[_0x32fcfa+0x2],_0x3b7d25=_0x248ff8[_0x32fcfa+0x3],_0x381297=_0x248ff8[_0x32fcfa+0x4],_0xe2d345=_0x248ff8[_0x32fcfa+0x5],_0x1bb298=_0x248ff8[_0x32fcfa+0x6],_0x38fc49=_0x248ff8[_0x32fcfa+0x7],_0x112430=_0x248ff8[_0x32fcfa+0x8],_0x4cc2d1=_0x248ff8[_0x32fcfa+0x9],_0x7c7caa=_0x248ff8[_0x32fcfa+0xa],_0x47dd0a=_0x248ff8[_0x32fcfa+0xb],_0x4ad436=_0x248ff8[_0x32fcfa+0xc],_0x5b1379=_0x248ff8[_0x32fcfa+0xd],_0x4a6e18=_0x248ff8[_0x32fcfa+0xe],_0x17c286=_0x248ff8[_0x32fcfa+0xf],_0x59b6de=_0x217e2b[0x0],_0x4d0612=_0x217e2b[0x1],_0x26b9a7=_0x217e2b[0x2],_0x2f0c1d=_0x217e2b[0x3];_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x3e6796,0x7,_0x42a335[0x0]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x42e582,0xc,_0x42a335[0x1]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x2a9f09,0x11,_0x42a335[0x2]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x3b7d25,0x16,_0x42a335[0x3]),_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x381297,0x7,_0x42a335[0x4]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0xe2d345,0xc,_0x42a335[0x5]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x1bb298,0x11,_0x42a335[0x6]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x38fc49,0x16,_0x42a335[0x7]),_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x112430,0x7,_0x42a335[0x8]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x4cc2d1,0xc,_0x42a335[0x9]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x7c7caa,0x11,_0x42a335[0xa]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x47dd0a,0x16,_0x42a335[0xb]),_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4ad436,0x7,_0x42a335[0xc]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x5b1379,0xc,_0x42a335[0xd]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x4a6e18,0x11,_0x42a335[0xe]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x17c286,0x16,_0x42a335[0xf]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x42e582,0x5,_0x42a335[0x10]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x1bb298,0x9,_0x42a335[0x11]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x47dd0a,0xe,_0x42a335[0x12]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x3e6796,0x14,_0x42a335[0x13]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0xe2d345,0x5,_0x42a335[0x14]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x7c7caa,0x9,_0x42a335[0x15]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x17c286,0xe,_0x42a335[0x16]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x381297,0x14,_0x42a335[0x17]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4cc2d1,0x5,_0x42a335[0x18]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x4a6e18,0x9,_0x42a335[0x19]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x3b7d25,0xe,_0x42a335[0x1a]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x112430,0x14,_0x42a335[0x1b]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x5b1379,0x5,_0x42a335[0x1c]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x2a9f09,0x9,_0x42a335[0x1d]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x38fc49,0xe,_0x42a335[0x1e]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4ad436,0x14,_0x42a335[0x1f]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0xe2d345,0x4,_0x42a335[0x20]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x112430,0xb,_0x42a335[0x21]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x47dd0a,0x10,_0x42a335[0x22]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4a6e18,0x17,_0x42a335[0x23]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x42e582,0x4,_0x42a335[0x24]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x381297,0xb,_0x42a335[0x25]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x38fc49,0x10,_0x42a335[0x26]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x7c7caa,0x17,_0x42a335[0x27]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x5b1379,0x4,_0x42a335[0x28]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x3e6796,0xb,_0x42a335[0x29]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x3b7d25,0x10,_0x42a335[0x2a]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x1bb298,0x17,_0x42a335[0x2b]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4cc2d1,0x4,_0x42a335[0x2c]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x4ad436,0xb,_0x42a335[0x2d]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x17c286,0x10,_0x42a335[0x2e]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x2a9f09,0x17,_0x42a335[0x2f]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x3e6796,0x6,_0x42a335[0x30]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x38fc49,0xa,_0x42a335[0x31]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x4a6e18,0xf,_0x42a335[0x32]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0xe2d345,0x15,_0x42a335[0x33]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4ad436,0x6,_0x42a335[0x34]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x3b7d25,0xa,_0x42a335[0x35]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x7c7caa,0xf,_0x42a335[0x36]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x42e582,0x15,_0x42a335[0x37]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x112430,0x6,_0x42a335[0x38]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x17c286,0xa,_0x42a335[0x39]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x1bb298,0xf,_0x42a335[0x3a]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x5b1379,0x15,_0x42a335[0x3b]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x381297,0x6,_0x42a335[0x3c]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x47dd0a,0xa,_0x42a335[0x3d]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x2a9f09,0xf,_0x42a335[0x3e]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4cc2d1,0x15,_0x42a335[0x3f]),_0x217e2b[0x0]=_0x217e2b[0x0]+_0x59b6de|0x0,_0x217e2b[0x1]=_0x217e2b[0x1]+_0x4d0612|0x0,_0x217e2b[0x2]=_0x217e2b[0x2]+_0x26b9a7|0x0,_0x217e2b[0x3]=_0x217e2b[0x3]+_0x2f0c1d|0x0;},'_doFinalize':function(){var _0xf82d2d=_0x44d056,_0x281970=this['_data'],_0x5345d1=_0x281970[_0xf82d2d(0x404)],_0x480954=this[_0xf82d2d(0x462)]*0x8,_0x3e748f=_0x281970[_0xf82d2d(0x1a5)]*0x8;_0x5345d1[_0x3e748f>>>0x5]|=0x80<<0x18-_0x3e748f%0x20;var _0x1b96d5=_0x2e8957[_0xf82d2d(0x3a2)](_0x480954/0x100000000),_0x3de54f=_0x480954;_0x5345d1[(_0x3e748f+0x40>>>0x9<<0x4)+0xf]=(_0x1b96d5<<0x8|_0x1b96d5>>>0x18)&0xff00ff|(_0x1b96d5<<0x18|_0x1b96d5>>>0x8)&0xff00ff00,_0x5345d1[(_0x3e748f+0x40>>>0x9<<0x4)+0xe]=(_0x3de54f<<0x8|_0x3de54f>>>0x18)&0xff00ff|(_0x3de54f<<0x18|_0x3de54f>>>0x8)&0xff00ff00,_0x281970[_0xf82d2d(0x1a5)]=(_0x5345d1[_0xf82d2d(0x388)]+0x1)*0x4,this['_process']();for(var _0xb8380d=this['_hash'],_0x4cf7eb=_0xb8380d[_0xf82d2d(0x404)],_0x528478=0x0;_0x528478<0x4;_0x528478++){var _0x51e66a=_0x4cf7eb[_0x528478];_0x4cf7eb[_0x528478]=(_0x51e66a<<0x8|_0x51e66a>>>0x18)&0xff00ff|(_0x51e66a<<0x18|_0x51e66a>>>0x8)&0xff00ff00;}return _0xb8380d;},'clone':function(){var _0x5d0b59=_0x44d056,_0x1cd292=_0x11bc33['clone'][_0x5d0b59(0x350)](this);return _0x1cd292[_0x5d0b59(0x340)]=this[_0x5d0b59(0x340)][_0x5d0b59(0x31f)](),_0x1cd292;}});function _0x5006a8(_0x59f36b,_0x1e571b,_0x4bca11,_0x315681,_0x229250,_0x846f70,_0x5a2a06){var _0xf43f2d=_0x59f36b+(_0x1e571b&_0x4bca11|~_0x1e571b&_0x315681)+_0x229250+_0x5a2a06;return(_0xf43f2d<<_0x846f70|_0xf43f2d>>>0x20-_0x846f70)+_0x1e571b;}function _0x1fabc9(_0x280404,_0x500677,_0x23ec46,_0x3fee06,_0x164395,_0x256307,_0x9bc589){var _0x54ced5=_0x280404+(_0x500677&_0x3fee06|_0x23ec46&~_0x3fee06)+_0x164395+_0x9bc589;return(_0x54ced5<<_0x256307|_0x54ced5>>>0x20-_0x256307)+_0x500677;}function _0x1dd97e(_0xad5d84,_0x55755f,_0x14ea18,_0x34686e,_0x507018,_0x298a54,_0x28cd6f){var _0x39ab61=_0xad5d84+(_0x55755f^_0x14ea18^_0x34686e)+_0x507018+_0x28cd6f;return(_0x39ab61<<_0x298a54|_0x39ab61>>>0x20-_0x298a54)+_0x55755f;}function _0x52e56a(_0x60f5ab,_0x2d3d9a,_0x2fb90a,_0x189eba,_0x2d69db,_0x547cb2,_0x2574ac){var _0x2a9402=_0x60f5ab+(_0x2fb90a^(_0x2d3d9a|~_0x189eba))+_0x2d69db+_0x2574ac;return(_0x2a9402<<_0x547cb2|_0x2a9402>>>0x20-_0x547cb2)+_0x2d3d9a;}_0x588e07['MD5']=_0x11bc33[_0x44d056(0x20b)](_0x55c7ff),_0x588e07[_0x44d056(0x1d1)]=_0x11bc33[_0x44d056(0x469)](_0x55c7ff);}(Math),_0xa4a4b0[_0x128e23(0x318)];}));}(me)),me[_0x59aab0(0x3bf)];}function _0x3549(_0x36e88a,_0x366d0c){var _0x459c3f=_0x459c();return _0x3549=function(_0x3549df,_0x3e1dfe){_0x3549df=_0x3549df-0x133;var _0x5e50a3=_0x459c3f[_0x3549df];return _0x5e50a3;},_0x3549(_0x36e88a,_0x366d0c);}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x1640f8(0x3bf)],Xe;function Ri(){var _0x20ad50=_0x1640f8;return Xe||(Xe=0x1,function(_0x3165a7,_0x3d8755){(function(_0x1c7299,_0x13d400){var _0x38074b=_0x3549;_0x3165a7[_0x38074b(0x3bf)]=_0x13d400(Q());}(Oi,function(_0x653283){var _0xf52b7=_0x3549;return(function(){var _0x5351cc=_0x3549,_0x3b4199=_0x653283,_0xe1c5d7=_0x3b4199[_0x5351cc(0x2f7)],_0x3d71f1=_0xe1c5d7[_0x5351cc(0x143)],_0x5d71b6=_0xe1c5d7['Hasher'],_0x364e7f=_0x3b4199[_0x5351cc(0x475)],_0x3fd3f8=[],_0x28d67b=_0x364e7f[_0x5351cc(0x348)]=_0x5d71b6[_0x5351cc(0x382)]({'_doReset':function(){var _0x4b0c8d=_0x5351cc;this[_0x4b0c8d(0x340)]=new _0x3d71f1[(_0x4b0c8d(0x27e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf3c64e,_0xa2384a){var _0x1b0ae1=_0x5351cc;for(var _0x48cda0=this['_hash'][_0x1b0ae1(0x404)],_0xad30b6=_0x48cda0[0x0],_0x212455=_0x48cda0[0x1],_0x295f0b=_0x48cda0[0x2],_0x1b8f92=_0x48cda0[0x3],_0x31a7df=_0x48cda0[0x4],_0x67a5c9=0x0;_0x67a5c9<0x50;_0x67a5c9++){if(_0x67a5c9<0x10)_0x3fd3f8[_0x67a5c9]=_0xf3c64e[_0xa2384a+_0x67a5c9]|0x0;else{var _0x3d5d4f=_0x3fd3f8[_0x67a5c9-0x3]^_0x3fd3f8[_0x67a5c9-0x8]^_0x3fd3f8[_0x67a5c9-0xe]^_0x3fd3f8[_0x67a5c9-0x10];_0x3fd3f8[_0x67a5c9]=_0x3d5d4f<<0x1|_0x3d5d4f>>>0x1f;}var _0x185bba=(_0xad30b6<<0x5|_0xad30b6>>>0x1b)+_0x31a7df+_0x3fd3f8[_0x67a5c9];_0x67a5c9<0x14?_0x185bba+=(_0x212455&_0x295f0b|~_0x212455&_0x1b8f92)+0x5a827999:_0x67a5c9<0x28?_0x185bba+=(_0x212455^_0x295f0b^_0x1b8f92)+0x6ed9eba1:_0x67a5c9<0x3c?_0x185bba+=(_0x212455&_0x295f0b|_0x212455&_0x1b8f92|_0x295f0b&_0x1b8f92)-0x70e44324:_0x185bba+=(_0x212455^_0x295f0b^_0x1b8f92)-0x359d3e2a,_0x31a7df=_0x1b8f92,_0x1b8f92=_0x295f0b,_0x295f0b=_0x212455<<0x1e|_0x212455>>>0x2,_0x212455=_0xad30b6,_0xad30b6=_0x185bba;}_0x48cda0[0x0]=_0x48cda0[0x0]+_0xad30b6|0x0,_0x48cda0[0x1]=_0x48cda0[0x1]+_0x212455|0x0,_0x48cda0[0x2]=_0x48cda0[0x2]+_0x295f0b|0x0,_0x48cda0[0x3]=_0x48cda0[0x3]+_0x1b8f92|0x0,_0x48cda0[0x4]=_0x48cda0[0x4]+_0x31a7df|0x0;},'_doFinalize':function(){var _0x50513d=_0x5351cc,_0x138697=this['_data'],_0x4f3e30=_0x138697[_0x50513d(0x404)],_0x364cd7=this[_0x50513d(0x462)]*0x8,_0x229a3f=_0x138697['sigBytes']*0x8;return _0x4f3e30[_0x229a3f>>>0x5]|=0x80<<0x18-_0x229a3f%0x20,_0x4f3e30[(_0x229a3f+0x40>>>0x9<<0x4)+0xe]=Math[_0x50513d(0x3a2)](_0x364cd7/0x100000000),_0x4f3e30[(_0x229a3f+0x40>>>0x9<<0x4)+0xf]=_0x364cd7,_0x138697[_0x50513d(0x1a5)]=_0x4f3e30[_0x50513d(0x388)]*0x4,this[_0x50513d(0x46f)](),this[_0x50513d(0x340)];},'clone':function(){var _0x3f46bd=_0x5351cc,_0x4022f2=_0x5d71b6['clone'][_0x3f46bd(0x350)](this);return _0x4022f2[_0x3f46bd(0x340)]=this['_hash'][_0x3f46bd(0x31f)](),_0x4022f2;}});_0x3b4199[_0x5351cc(0x348)]=_0x5d71b6['_createHelper'](_0x28d67b),_0x3b4199[_0x5351cc(0x37c)]=_0x5d71b6[_0x5351cc(0x469)](_0x28d67b);}()),_0x653283[_0xf52b7(0x348)];}));}(Ee)),Ee[_0x20ad50(0x3bf)];}var Ce={'exports':{}},yi=Ce[_0x1640f8(0x3bf)],Ze;function Ni(){var _0x50335d=_0x1640f8;return Ze||(Ze=0x1,function(_0x44af9a,_0x4d7fed){(function(_0x4ade51,_0x58132a){var _0x2178f6=_0x3549;_0x44af9a[_0x2178f6(0x3bf)]=_0x58132a(Q());}(yi,function(_0x435c6f){(function(){var _0x2f7f00=_0x3549,_0x261bad=_0x435c6f,_0x38264c=_0x261bad[_0x2f7f00(0x2f7)],_0x1f9a7d=_0x38264c['Base'],_0x1b7f9b=_0x261bad[_0x2f7f00(0x2cd)],_0x21f14f=_0x1b7f9b['Utf8'],_0x2cd923=_0x261bad[_0x2f7f00(0x475)];_0x2cd923['HMAC']=_0x1f9a7d['extend']({'init':function(_0x4edf49,_0x3be49a){var _0x526421=_0x2f7f00;_0x4edf49=this[_0x526421(0x366)]=new _0x4edf49[(_0x526421(0x27e))](),typeof _0x3be49a==_0x526421(0x2d0)&&(_0x3be49a=_0x21f14f[_0x526421(0x493)](_0x3be49a));var _0x903f64=_0x4edf49[_0x526421(0x2dd)],_0x38e32a=_0x903f64*0x4;_0x3be49a[_0x526421(0x1a5)]>_0x38e32a&&(_0x3be49a=_0x4edf49['finalize'](_0x3be49a)),_0x3be49a[_0x526421(0x3e6)]();for(var _0x51b947=this[_0x526421(0x194)]=_0x3be49a['clone'](),_0x49dc09=this[_0x526421(0x1ca)]=_0x3be49a[_0x526421(0x31f)](),_0x2dd3a4=_0x51b947['words'],_0x397ffd=_0x49dc09[_0x526421(0x404)],_0x54cd13=0x0;_0x54cd13<_0x903f64;_0x54cd13++)_0x2dd3a4[_0x54cd13]^=0x5c5c5c5c,_0x397ffd[_0x54cd13]^=0x36363636;_0x51b947[_0x526421(0x1a5)]=_0x49dc09[_0x526421(0x1a5)]=_0x38e32a,this[_0x526421(0x354)]();},'reset':function(){var _0x46be55=_0x2f7f00,_0x507cab=this[_0x46be55(0x366)];_0x507cab[_0x46be55(0x354)](),_0x507cab['update'](this[_0x46be55(0x1ca)]);},'update':function(_0x2c73f3){var _0x2b5349=_0x2f7f00;return this[_0x2b5349(0x366)]['update'](_0x2c73f3),this;},'finalize':function(_0x2fb89a){var _0x2cd1ad=_0x2f7f00,_0x4d2ec5=this['_hasher'],_0x57f051=_0x4d2ec5[_0x2cd1ad(0x467)](_0x2fb89a);_0x4d2ec5['reset']();var _0x4cd115=_0x4d2ec5[_0x2cd1ad(0x467)](this[_0x2cd1ad(0x194)][_0x2cd1ad(0x31f)]()[_0x2cd1ad(0x30e)](_0x57f051));return _0x4cd115;}});}());}));}(Ce)),Ce[_0x50335d(0x3bf)];}var Di=ge[_0x1640f8(0x3bf)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x523dfd,_0xf33801){(function(_0x3d82e2,_0x425c2b,_0x55311a){var _0x26e2f4=_0x3549;_0x523dfd[_0x26e2f4(0x3bf)]=_0x425c2b(Q(),Ri(),Ni());}(Di,function(_0x766521){var _0x3c1972=_0x3549;return(function(){var _0x1f2c72=_0x3549,_0x50c1e3=_0x766521,_0x422933=_0x50c1e3[_0x1f2c72(0x2f7)],_0x4db674=_0x422933[_0x1f2c72(0x29c)],_0x3f1c5e=_0x422933[_0x1f2c72(0x143)],_0x1f285b=_0x50c1e3[_0x1f2c72(0x475)],_0x2e5d37=_0x1f285b[_0x1f2c72(0x318)],_0x4f3c89=_0x1f285b[_0x1f2c72(0x16d)]=_0x4db674[_0x1f2c72(0x382)]({'cfg':_0x4db674[_0x1f2c72(0x382)]({'keySize':0x80/0x20,'hasher':_0x2e5d37,'iterations':0x1}),'init':function(_0xa602ce){var _0x14a6c6=_0x1f2c72;this['cfg']=this[_0x14a6c6(0x20a)][_0x14a6c6(0x382)](_0xa602ce);},'compute':function(_0x16bbeb,_0x3d8c6e){var _0x95dfd=_0x1f2c72;for(var _0x40baa5,_0x5653ce=this[_0x95dfd(0x20a)],_0x1ec0e1=_0x5653ce[_0x95dfd(0x32b)][_0x95dfd(0x3cb)](),_0x59e965=_0x3f1c5e[_0x95dfd(0x3cb)](),_0x1a278e=_0x59e965['words'],_0xa6ebc4=_0x5653ce[_0x95dfd(0x205)],_0x1debed=_0x5653ce[_0x95dfd(0x197)];_0x1a278e[_0x95dfd(0x388)]<_0xa6ebc4;){_0x40baa5&&_0x1ec0e1['update'](_0x40baa5),_0x40baa5=_0x1ec0e1['update'](_0x16bbeb)[_0x95dfd(0x467)](_0x3d8c6e),_0x1ec0e1[_0x95dfd(0x354)]();for(var _0x5cd519=0x1;_0x5cd519<_0x1debed;_0x5cd519++)_0x40baa5=_0x1ec0e1[_0x95dfd(0x467)](_0x40baa5),_0x1ec0e1['reset']();_0x59e965[_0x95dfd(0x30e)](_0x40baa5);}return _0x59e965[_0x95dfd(0x1a5)]=_0xa6ebc4*0x4,_0x59e965;}});_0x50c1e3[_0x1f2c72(0x16d)]=function(_0x20da9d,_0x32dbf8,_0x1af606){var _0x1ae476=_0x1f2c72;return _0x4f3c89[_0x1ae476(0x3cb)](_0x1af606)['compute'](_0x20da9d,_0x32dbf8);};}()),_0x766521[_0x3c1972(0x16d)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te['exports'],et;function Tt(){return et||(et=0x1,function(_0x31a5ca,_0x38ad76){(function(_0x3a53eb,_0x437ec9,_0x2c3975){var _0x1eec27=_0x3549;_0x31a5ca[_0x1eec27(0x3bf)]=_0x437ec9(Q(),Ct());}(Ui,function(_0xa57351){var _0xfa278f=_0x3549;_0xa57351[_0xfa278f(0x2f7)]['Cipher']||function(_0x51ae09){var _0x3e29e7=_0xfa278f,_0x1c148b=_0xa57351,_0x19af61=_0x1c148b[_0x3e29e7(0x2f7)],_0x498c7b=_0x19af61['Base'],_0x5cfa59=_0x19af61[_0x3e29e7(0x143)],_0x520cf7=_0x19af61['BufferedBlockAlgorithm'],_0x35311a=_0x1c148b[_0x3e29e7(0x2cd)];_0x35311a[_0x3e29e7(0x35d)];var _0x286b52=_0x35311a['Base64'],_0x1aea73=_0x1c148b[_0x3e29e7(0x475)],_0x205631=_0x1aea73['EvpKDF'],_0x1aa858=_0x19af61[_0x3e29e7(0x33e)]=_0x520cf7[_0x3e29e7(0x382)]({'cfg':_0x498c7b[_0x3e29e7(0x382)](),'createEncryptor':function(_0x229faa,_0x516bf4){var _0x25453b=_0x3e29e7;return this[_0x25453b(0x3cb)](this[_0x25453b(0x3a1)],_0x229faa,_0x516bf4);},'createDecryptor':function(_0x28acb2,_0x377f95){var _0xa26441=_0x3e29e7;return this[_0xa26441(0x3cb)](this[_0xa26441(0x215)],_0x28acb2,_0x377f95);},'init':function(_0x5472d3,_0x21a903,_0x44b862){var _0x51c13c=_0x3e29e7;this['cfg']=this[_0x51c13c(0x20a)][_0x51c13c(0x382)](_0x44b862),this[_0x51c13c(0x426)]=_0x5472d3,this[_0x51c13c(0x3b5)]=_0x21a903,this[_0x51c13c(0x354)]();},'reset':function(){var _0x4c00da=_0x3e29e7;_0x520cf7[_0x4c00da(0x354)][_0x4c00da(0x350)](this),this[_0x4c00da(0x43e)]();},'process':function(_0x6b69c8){var _0x14e766=_0x3e29e7;return this['_append'](_0x6b69c8),this[_0x14e766(0x46f)]();},'finalize':function(_0x1569e7){var _0xfae6e=_0x3e29e7;_0x1569e7&&this['_append'](_0x1569e7);var _0x327723=this[_0xfae6e(0x3cf)]();return _0x327723;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1105f(_0x1162f3){var _0x3a9b10=_0x3549;return typeof _0x1162f3==_0x3a9b10(0x2d0)?_0x266cef:_0x376369;}return function(_0x2478c8){return{'encrypt':function(_0x1f0e41,_0x3d617d,_0x4c883d){var _0x229fe0=_0x3549;return _0x1105f(_0x3d617d)[_0x229fe0(0x308)](_0x2478c8,_0x1f0e41,_0x3d617d,_0x4c883d);},'decrypt':function(_0xfa2ad8,_0xc2d3f6,_0x59e905){var _0x10ac9c=_0x3549;return _0x1105f(_0xc2d3f6)[_0x10ac9c(0x32f)](_0x2478c8,_0xfa2ad8,_0xc2d3f6,_0x59e905);}};};}())});_0x19af61['StreamCipher']=_0x1aa858[_0x3e29e7(0x382)]({'_doFinalize':function(){var _0x243f5f=_0x3e29e7,_0x52d026=this[_0x243f5f(0x46f)](!0x0);return _0x52d026;},'blockSize':0x1});var _0xd5e4af=_0x1c148b[_0x3e29e7(0x180)]={},_0x372e71=_0x19af61[_0x3e29e7(0x1dc)]=_0x498c7b['extend']({'createEncryptor':function(_0x1d17e7,_0x226d51){return this['Encryptor']['create'](_0x1d17e7,_0x226d51);},'createDecryptor':function(_0x358d5d,_0x28c5ab){var _0x571a1c=_0x3e29e7;return this['Decryptor'][_0x571a1c(0x3cb)](_0x358d5d,_0x28c5ab);},'init':function(_0x543a31,_0x368b27){var _0x16ec57=_0x3e29e7;this[_0x16ec57(0x48e)]=_0x543a31,this[_0x16ec57(0x46d)]=_0x368b27;}}),_0x446040=_0xd5e4af['CBC']=(function(){var _0xaa85a9=_0x3e29e7,_0x3ca351=_0x372e71[_0xaa85a9(0x382)]();_0x3ca351['Encryptor']=_0x3ca351['extend']({'processBlock':function(_0x21a610,_0x16475c){var _0x485d35=_0xaa85a9,_0x2c3b5c=this[_0x485d35(0x48e)],_0xe928ef=_0x2c3b5c[_0x485d35(0x2dd)];_0x472bea[_0x485d35(0x350)](this,_0x21a610,_0x16475c,_0xe928ef),_0x2c3b5c[_0x485d35(0x24c)](_0x21a610,_0x16475c),this[_0x485d35(0x2f6)]=_0x21a610[_0x485d35(0x21e)](_0x16475c,_0x16475c+_0xe928ef);}}),_0x3ca351[_0xaa85a9(0x27c)]=_0x3ca351[_0xaa85a9(0x382)]({'processBlock':function(_0x1d0e9f,_0x1bd86c){var _0x102c72=_0xaa85a9,_0x4b9ff2=this[_0x102c72(0x48e)],_0x2d9444=_0x4b9ff2[_0x102c72(0x2dd)],_0x1f7d7c=_0x1d0e9f[_0x102c72(0x21e)](_0x1bd86c,_0x1bd86c+_0x2d9444);_0x4b9ff2[_0x102c72(0x228)](_0x1d0e9f,_0x1bd86c),_0x472bea[_0x102c72(0x350)](this,_0x1d0e9f,_0x1bd86c,_0x2d9444),this['_prevBlock']=_0x1f7d7c;}});function _0x472bea(_0x3ed4fc,_0x10b991,_0x199aa0){var _0x21bbb2=_0xaa85a9,_0x42afbc,_0x328663=this[_0x21bbb2(0x46d)];_0x328663?(_0x42afbc=_0x328663,this[_0x21bbb2(0x46d)]=_0x51ae09):_0x42afbc=this['_prevBlock'];for(var _0x5635a4=0x0;_0x5635a4<_0x199aa0;_0x5635a4++)_0x3ed4fc[_0x10b991+_0x5635a4]^=_0x42afbc[_0x5635a4];}return _0x3ca351;}()),_0x13bfcd=_0x1c148b[_0x3e29e7(0x39b)]={},_0x239b77=_0x13bfcd[_0x3e29e7(0x3e7)]={'pad':function(_0x240395,_0x3e6975){var _0x265260=_0x3e29e7;for(var _0x4c5ce2=_0x3e6975*0x4,_0x35f3dd=_0x4c5ce2-_0x240395[_0x265260(0x1a5)]%_0x4c5ce2,_0x43a429=_0x35f3dd<<0x18|_0x35f3dd<<0x10|_0x35f3dd<<0x8|_0x35f3dd,_0x1a6f56=[],_0xd1a1f=0x0;_0xd1a1f<_0x35f3dd;_0xd1a1f+=0x4)_0x1a6f56['push'](_0x43a429);var _0x3086cb=_0x5cfa59[_0x265260(0x3cb)](_0x1a6f56,_0x35f3dd);_0x240395[_0x265260(0x30e)](_0x3086cb);},'unpad':function(_0x5e3af7){var _0x562b99=_0x3e29e7,_0x4cca21=_0x5e3af7['words'][_0x5e3af7[_0x562b99(0x1a5)]-0x1>>>0x2]&0xff;_0x5e3af7[_0x562b99(0x1a5)]-=_0x4cca21;}};_0x19af61[_0x3e29e7(0x44e)]=_0x1aa858[_0x3e29e7(0x382)]({'cfg':_0x1aa858['cfg']['extend']({'mode':_0x446040,'padding':_0x239b77}),'reset':function(){var _0x4c3962=_0x3e29e7,_0x3ffd82;_0x1aa858[_0x4c3962(0x354)][_0x4c3962(0x350)](this);var _0x23853b=this[_0x4c3962(0x20a)],_0x4f707c=_0x23853b['iv'],_0x53780e=_0x23853b[_0x4c3962(0x180)];this[_0x4c3962(0x426)]==this['_ENC_XFORM_MODE']?_0x3ffd82=_0x53780e[_0x4c3962(0x161)]:(_0x3ffd82=_0x53780e[_0x4c3962(0x1e1)],this[_0x4c3962(0x1d9)]=0x1),this[_0x4c3962(0x23f)]&&this['_mode'][_0x4c3962(0x1a3)]==_0x3ffd82?this[_0x4c3962(0x23f)][_0x4c3962(0x27e)](this,_0x4f707c&&_0x4f707c[_0x4c3962(0x404)]):(this[_0x4c3962(0x23f)]=_0x3ffd82[_0x4c3962(0x350)](_0x53780e,this,_0x4f707c&&_0x4f707c[_0x4c3962(0x404)]),this['_mode'][_0x4c3962(0x1a3)]=_0x3ffd82);},'_doProcessBlock':function(_0x530cbb,_0x4125f0){this['_mode']['processBlock'](_0x530cbb,_0x4125f0);},'_doFinalize':function(){var _0x494bd8=_0x3e29e7,_0x31673c,_0xda88b=this[_0x494bd8(0x20a)]['padding'];return this['_xformMode']==this[_0x494bd8(0x3a1)]?(_0xda88b[_0x494bd8(0x39b)](this[_0x494bd8(0x44f)],this[_0x494bd8(0x2dd)]),_0x31673c=this[_0x494bd8(0x46f)](!0x0)):(_0x31673c=this[_0x494bd8(0x46f)](!0x0),_0xda88b['unpad'](_0x31673c)),_0x31673c;},'blockSize':0x80/0x20});var _0x2a9a69=_0x19af61[_0x3e29e7(0x362)]=_0x498c7b['extend']({'init':function(_0x1639f6){var _0x55920b=_0x3e29e7;this[_0x55920b(0x3b4)](_0x1639f6);},'toString':function(_0x33f32b){var _0x24450f=_0x3e29e7;return(_0x33f32b||this[_0x24450f(0x458)])['stringify'](this);}}),_0x23b0cd=_0x1c148b[_0x3e29e7(0x1cc)]={},_0x2b6695=_0x23b0cd[_0x3e29e7(0x38b)]={'stringify':function(_0x135f92){var _0x12aaa1=_0x3e29e7,_0x21607c,_0x82b8e6=_0x135f92['ciphertext'],_0x24ceb9=_0x135f92[_0x12aaa1(0x17f)];return _0x24ceb9?_0x21607c=_0x5cfa59[_0x12aaa1(0x3cb)]([0x53616c74,0x65645f5f])['concat'](_0x24ceb9)[_0x12aaa1(0x30e)](_0x82b8e6):_0x21607c=_0x82b8e6,_0x21607c[_0x12aaa1(0x42b)](_0x286b52);},'parse':function(_0x518707){var _0xc20c35=_0x3e29e7,_0x2d3a62,_0xff8ae0=_0x286b52[_0xc20c35(0x493)](_0x518707),_0xbb83b5=_0xff8ae0['words'];return _0xbb83b5[0x0]==0x53616c74&&_0xbb83b5[0x1]==0x65645f5f&&(_0x2d3a62=_0x5cfa59[_0xc20c35(0x3cb)](_0xbb83b5[_0xc20c35(0x21e)](0x2,0x4)),_0xbb83b5[_0xc20c35(0x204)](0x0,0x4),_0xff8ae0[_0xc20c35(0x1a5)]-=0x10),_0x2a9a69['create']({'ciphertext':_0xff8ae0,'salt':_0x2d3a62});}},_0x376369=_0x19af61['SerializableCipher']=_0x498c7b[_0x3e29e7(0x382)]({'cfg':_0x498c7b['extend']({'format':_0x2b6695}),'encrypt':function(_0xa1bb77,_0xb37b47,_0x23e38a,_0xec4f31){var _0x34a19d=_0x3e29e7;_0xec4f31=this['cfg'][_0x34a19d(0x382)](_0xec4f31);var _0xb0384f=_0xa1bb77['createEncryptor'](_0x23e38a,_0xec4f31),_0x1f5c59=_0xb0384f[_0x34a19d(0x467)](_0xb37b47),_0x53a98e=_0xb0384f[_0x34a19d(0x20a)];return _0x2a9a69['create']({'ciphertext':_0x1f5c59,'key':_0x23e38a,'iv':_0x53a98e['iv'],'algorithm':_0xa1bb77,'mode':_0x53a98e[_0x34a19d(0x180)],'padding':_0x53a98e['padding'],'blockSize':_0xa1bb77[_0x34a19d(0x2dd)],'formatter':_0xec4f31[_0x34a19d(0x1cc)]});},'decrypt':function(_0x33e624,_0x18f0ac,_0x40bd28,_0x5f27a0){var _0x469e28=_0x3e29e7;_0x5f27a0=this[_0x469e28(0x20a)][_0x469e28(0x382)](_0x5f27a0),_0x18f0ac=this[_0x469e28(0x1fa)](_0x18f0ac,_0x5f27a0['format']);var _0x3e618f=_0x33e624[_0x469e28(0x1e1)](_0x40bd28,_0x5f27a0)[_0x469e28(0x467)](_0x18f0ac[_0x469e28(0x393)]);return _0x3e618f;},'_parse':function(_0x3f246c,_0x57ed6f){return typeof _0x3f246c=='string'?_0x57ed6f['parse'](_0x3f246c,this):_0x3f246c;}}),_0x5ec97b=_0x1c148b[_0x3e29e7(0x2ba)]={},_0x589b5b=_0x5ec97b[_0x3e29e7(0x38b)]={'execute':function(_0x36a09f,_0x55ba95,_0x102dfa,_0x39ab2e,_0x17a69d){var _0x19db78=_0x3e29e7;if(_0x39ab2e||(_0x39ab2e=_0x5cfa59['random'](0x40/0x8)),_0x17a69d)var _0x1684ed=_0x205631[_0x19db78(0x3cb)]({'keySize':_0x55ba95+_0x102dfa,'hasher':_0x17a69d})[_0x19db78(0x2e3)](_0x36a09f,_0x39ab2e);else var _0x1684ed=_0x205631[_0x19db78(0x3cb)]({'keySize':_0x55ba95+_0x102dfa})[_0x19db78(0x2e3)](_0x36a09f,_0x39ab2e);var _0x16e42=_0x5cfa59['create'](_0x1684ed[_0x19db78(0x404)][_0x19db78(0x21e)](_0x55ba95),_0x102dfa*0x4);return _0x1684ed['sigBytes']=_0x55ba95*0x4,_0x2a9a69[_0x19db78(0x3cb)]({'key':_0x1684ed,'iv':_0x16e42,'salt':_0x39ab2e});}},_0x266cef=_0x19af61[_0x3e29e7(0x489)]=_0x376369[_0x3e29e7(0x382)]({'cfg':_0x376369['cfg'][_0x3e29e7(0x382)]({'kdf':_0x589b5b}),'encrypt':function(_0x4d0301,_0x258bf8,_0x2f800f,_0x55752c){var _0x38bde0=_0x3e29e7;_0x55752c=this[_0x38bde0(0x20a)]['extend'](_0x55752c);var _0x108dc9=_0x55752c[_0x38bde0(0x2ba)][_0x38bde0(0x25d)](_0x2f800f,_0x4d0301[_0x38bde0(0x205)],_0x4d0301[_0x38bde0(0x135)],_0x55752c[_0x38bde0(0x17f)],_0x55752c['hasher']);_0x55752c['iv']=_0x108dc9['iv'];var _0x2c7919=_0x376369[_0x38bde0(0x308)][_0x38bde0(0x350)](this,_0x4d0301,_0x258bf8,_0x108dc9[_0x38bde0(0x3ea)],_0x55752c);return _0x2c7919[_0x38bde0(0x3b4)](_0x108dc9),_0x2c7919;},'decrypt':function(_0xde3082,_0x20a018,_0x5c1c18,_0x350bc3){var _0x5e4333=_0x3e29e7;_0x350bc3=this[_0x5e4333(0x20a)][_0x5e4333(0x382)](_0x350bc3),_0x20a018=this['_parse'](_0x20a018,_0x350bc3[_0x5e4333(0x1cc)]);var _0x382ef7=_0x350bc3['kdf'][_0x5e4333(0x25d)](_0x5c1c18,_0xde3082[_0x5e4333(0x205)],_0xde3082[_0x5e4333(0x135)],_0x20a018[_0x5e4333(0x17f)],_0x350bc3[_0x5e4333(0x32b)]);_0x350bc3['iv']=_0x382ef7['iv'];var _0x1c7ac8=_0x376369[_0x5e4333(0x32f)][_0x5e4333(0x350)](this,_0xde3082,_0x20a018,_0x382ef7[_0x5e4333(0x3ea)],_0x350bc3);return _0x1c7ac8;}});}();}));}(Te)),Te['exports'];}var Ai=fe[_0x1640f8(0x3bf)],tt;function Pi(){return tt||(tt=0x1,function(_0x35692f,_0x1156f2){(function(_0x35f8ff,_0x4cdac9,_0x556459){var _0x1b00e3=_0x3549;_0x35692f[_0x1b00e3(0x3bf)]=_0x4cdac9(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0xa05d37){var _0xa93d8c=_0x3549;return(function(){var _0x492ecc=_0x3549,_0x53abd7=_0xa05d37,_0x117e99=_0x53abd7[_0x492ecc(0x2f7)],_0x17d1bf=_0x117e99['BlockCipher'],_0x2b6fa1=_0x53abd7['algo'],_0x4e3b4e=[],_0x12a371=[],_0x32b352=[],_0xbd995b=[],_0xbeaee4=[],_0x4d7d28=[],_0x4096a5=[],_0x40fd9c=[],_0x1560f0=[],_0x114384=[];(function(){for(var _0x19a491=[],_0x2fd739=0x0;_0x2fd739<0x100;_0x2fd739++)_0x2fd739<0x80?_0x19a491[_0x2fd739]=_0x2fd739<<0x1:_0x19a491[_0x2fd739]=_0x2fd739<<0x1^0x11b;for(var _0x278936=0x0,_0x5d95d5=0x0,_0x2fd739=0x0;_0x2fd739<0x100;_0x2fd739++){var _0x274285=_0x5d95d5^_0x5d95d5<<0x1^_0x5d95d5<<0x2^_0x5d95d5<<0x3^_0x5d95d5<<0x4;_0x274285=_0x274285>>>0x8^_0x274285&0xff^0x63,_0x4e3b4e[_0x278936]=_0x274285,_0x12a371[_0x274285]=_0x278936;var _0x891d6a=_0x19a491[_0x278936],_0x2cf629=_0x19a491[_0x891d6a],_0x4d6beb=_0x19a491[_0x2cf629],_0x2ddef4=_0x19a491[_0x274285]*0x101^_0x274285*0x1010100;_0x32b352[_0x278936]=_0x2ddef4<<0x18|_0x2ddef4>>>0x8,_0xbd995b[_0x278936]=_0x2ddef4<<0x10|_0x2ddef4>>>0x10,_0xbeaee4[_0x278936]=_0x2ddef4<<0x8|_0x2ddef4>>>0x18,_0x4d7d28[_0x278936]=_0x2ddef4;var _0x2ddef4=_0x4d6beb*0x1010101^_0x2cf629*0x10001^_0x891d6a*0x101^_0x278936*0x1010100;_0x4096a5[_0x274285]=_0x2ddef4<<0x18|_0x2ddef4>>>0x8,_0x40fd9c[_0x274285]=_0x2ddef4<<0x10|_0x2ddef4>>>0x10,_0x1560f0[_0x274285]=_0x2ddef4<<0x8|_0x2ddef4>>>0x18,_0x114384[_0x274285]=_0x2ddef4,_0x278936?(_0x278936=_0x891d6a^_0x19a491[_0x19a491[_0x19a491[_0x4d6beb^_0x891d6a]]],_0x5d95d5^=_0x19a491[_0x19a491[_0x5d95d5]]):_0x278936=_0x5d95d5=0x1;}}());var _0x295498=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x119a51=_0x2b6fa1['AES']=_0x17d1bf['extend']({'_doReset':function(){var _0x55105e=_0x492ecc,_0x33ffb1;if(!(this[_0x55105e(0x1ae)]&&this[_0x55105e(0x29b)]===this[_0x55105e(0x3b5)])){for(var _0x1e99f7=this[_0x55105e(0x29b)]=this[_0x55105e(0x3b5)],_0x403b06=_0x1e99f7['words'],_0x47da30=_0x1e99f7['sigBytes']/0x4,_0x347ef3=this['_nRounds']=_0x47da30+0x6,_0x36ffdd=(_0x347ef3+0x1)*0x4,_0x3a335c=this[_0x55105e(0x36a)]=[],_0x5abcc3=0x0;_0x5abcc3<_0x36ffdd;_0x5abcc3++)_0x5abcc3<_0x47da30?_0x3a335c[_0x5abcc3]=_0x403b06[_0x5abcc3]:(_0x33ffb1=_0x3a335c[_0x5abcc3-0x1],_0x5abcc3%_0x47da30?_0x47da30>0x6&&_0x5abcc3%_0x47da30==0x4&&(_0x33ffb1=_0x4e3b4e[_0x33ffb1>>>0x18]<<0x18|_0x4e3b4e[_0x33ffb1>>>0x10&0xff]<<0x10|_0x4e3b4e[_0x33ffb1>>>0x8&0xff]<<0x8|_0x4e3b4e[_0x33ffb1&0xff]):(_0x33ffb1=_0x33ffb1<<0x8|_0x33ffb1>>>0x18,_0x33ffb1=_0x4e3b4e[_0x33ffb1>>>0x18]<<0x18|_0x4e3b4e[_0x33ffb1>>>0x10&0xff]<<0x10|_0x4e3b4e[_0x33ffb1>>>0x8&0xff]<<0x8|_0x4e3b4e[_0x33ffb1&0xff],_0x33ffb1^=_0x295498[_0x5abcc3/_0x47da30|0x0]<<0x18),_0x3a335c[_0x5abcc3]=_0x3a335c[_0x5abcc3-_0x47da30]^_0x33ffb1);for(var _0x46c47c=this['_invKeySchedule']=[],_0x203b26=0x0;_0x203b26<_0x36ffdd;_0x203b26++){var _0x5abcc3=_0x36ffdd-_0x203b26;if(_0x203b26%0x4)var _0x33ffb1=_0x3a335c[_0x5abcc3];else var _0x33ffb1=_0x3a335c[_0x5abcc3-0x4];_0x203b26<0x4||_0x5abcc3<=0x4?_0x46c47c[_0x203b26]=_0x33ffb1:_0x46c47c[_0x203b26]=_0x4096a5[_0x4e3b4e[_0x33ffb1>>>0x18]]^_0x40fd9c[_0x4e3b4e[_0x33ffb1>>>0x10&0xff]]^_0x1560f0[_0x4e3b4e[_0x33ffb1>>>0x8&0xff]]^_0x114384[_0x4e3b4e[_0x33ffb1&0xff]];}}},'encryptBlock':function(_0x42485c,_0x1cc8d3){this['_doCryptBlock'](_0x42485c,_0x1cc8d3,this['_keySchedule'],_0x32b352,_0xbd995b,_0xbeaee4,_0x4d7d28,_0x4e3b4e);},'decryptBlock':function(_0x117489,_0x57797a){var _0x251461=_0x492ecc,_0x58d7fd=_0x117489[_0x57797a+0x1];_0x117489[_0x57797a+0x1]=_0x117489[_0x57797a+0x3],_0x117489[_0x57797a+0x3]=_0x58d7fd,this[_0x251461(0x2c3)](_0x117489,_0x57797a,this[_0x251461(0x222)],_0x4096a5,_0x40fd9c,_0x1560f0,_0x114384,_0x12a371);var _0x58d7fd=_0x117489[_0x57797a+0x1];_0x117489[_0x57797a+0x1]=_0x117489[_0x57797a+0x3],_0x117489[_0x57797a+0x3]=_0x58d7fd;},'_doCryptBlock':function(_0xe05aef,_0x3d2859,_0x5479aa,_0x58188b,_0x4b1406,_0x49f78e,_0x2b0d4d,_0x4ba273){for(var _0x4f4ff0=this['_nRounds'],_0x5d42cf=_0xe05aef[_0x3d2859]^_0x5479aa[0x0],_0x20d324=_0xe05aef[_0x3d2859+0x1]^_0x5479aa[0x1],_0x549e03=_0xe05aef[_0x3d2859+0x2]^_0x5479aa[0x2],_0x22ee75=_0xe05aef[_0x3d2859+0x3]^_0x5479aa[0x3],_0x31666=0x4,_0x4d50db=0x1;_0x4d50db<_0x4f4ff0;_0x4d50db++){var _0x11691a=_0x58188b[_0x5d42cf>>>0x18]^_0x4b1406[_0x20d324>>>0x10&0xff]^_0x49f78e[_0x549e03>>>0x8&0xff]^_0x2b0d4d[_0x22ee75&0xff]^_0x5479aa[_0x31666++],_0x4b60f0=_0x58188b[_0x20d324>>>0x18]^_0x4b1406[_0x549e03>>>0x10&0xff]^_0x49f78e[_0x22ee75>>>0x8&0xff]^_0x2b0d4d[_0x5d42cf&0xff]^_0x5479aa[_0x31666++],_0x408b0e=_0x58188b[_0x549e03>>>0x18]^_0x4b1406[_0x22ee75>>>0x10&0xff]^_0x49f78e[_0x5d42cf>>>0x8&0xff]^_0x2b0d4d[_0x20d324&0xff]^_0x5479aa[_0x31666++],_0x21324e=_0x58188b[_0x22ee75>>>0x18]^_0x4b1406[_0x5d42cf>>>0x10&0xff]^_0x49f78e[_0x20d324>>>0x8&0xff]^_0x2b0d4d[_0x549e03&0xff]^_0x5479aa[_0x31666++];_0x5d42cf=_0x11691a,_0x20d324=_0x4b60f0,_0x549e03=_0x408b0e,_0x22ee75=_0x21324e;}var _0x11691a=(_0x4ba273[_0x5d42cf>>>0x18]<<0x18|_0x4ba273[_0x20d324>>>0x10&0xff]<<0x10|_0x4ba273[_0x549e03>>>0x8&0xff]<<0x8|_0x4ba273[_0x22ee75&0xff])^_0x5479aa[_0x31666++],_0x4b60f0=(_0x4ba273[_0x20d324>>>0x18]<<0x18|_0x4ba273[_0x549e03>>>0x10&0xff]<<0x10|_0x4ba273[_0x22ee75>>>0x8&0xff]<<0x8|_0x4ba273[_0x5d42cf&0xff])^_0x5479aa[_0x31666++],_0x408b0e=(_0x4ba273[_0x549e03>>>0x18]<<0x18|_0x4ba273[_0x22ee75>>>0x10&0xff]<<0x10|_0x4ba273[_0x5d42cf>>>0x8&0xff]<<0x8|_0x4ba273[_0x20d324&0xff])^_0x5479aa[_0x31666++],_0x21324e=(_0x4ba273[_0x22ee75>>>0x18]<<0x18|_0x4ba273[_0x5d42cf>>>0x10&0xff]<<0x10|_0x4ba273[_0x20d324>>>0x8&0xff]<<0x8|_0x4ba273[_0x549e03&0xff])^_0x5479aa[_0x31666++];_0xe05aef[_0x3d2859]=_0x11691a,_0xe05aef[_0x3d2859+0x1]=_0x4b60f0,_0xe05aef[_0x3d2859+0x2]=_0x408b0e,_0xe05aef[_0x3d2859+0x3]=_0x21324e;},'keySize':0x100/0x20});_0x53abd7[_0x492ecc(0x2fd)]=_0x17d1bf['_createHelper'](_0x119a51);}()),_0xa05d37[_0xa93d8c(0x2fd)];}));}(fe)),fe['exports'];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x1640f8(0x3bf)],nt;function ki(){var _0x4c3190=_0x1640f8;return nt||(nt=0x1,function(_0x1f87e6,_0x38249c){(function(_0x35b952,_0x46bf40){_0x1f87e6['exports']=_0x46bf40(Q());}(xi,function(_0x553855){var _0x11d2b5=_0x3549;return _0x553855[_0x11d2b5(0x2cd)][_0x11d2b5(0x35d)];}));}(be)),be[_0x4c3190(0x3bf)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x1640f8(0x3bf)],rt;function Bi(){var _0x53a5b8=_0x1640f8;return rt||(rt=0x1,function(_0x1dfe5d,_0x2c7e5f){(function(_0x37694e,_0x2c7118){var _0x54bf80=_0x3549;_0x1dfe5d[_0x54bf80(0x3bf)]=_0x2c7118(Q());}(ji,function(_0x4bc05d){var _0x5f3ac2=_0x3549;return(function(){var _0x789e72=_0x3549;if(typeof ArrayBuffer=='function'){var _0x8b105f=_0x4bc05d,_0x14f8ac=_0x8b105f['lib'],_0x41ad71=_0x14f8ac[_0x789e72(0x143)],_0xe23863=_0x41ad71[_0x789e72(0x27e)],_0x59f6de=_0x41ad71[_0x789e72(0x27e)]=function(_0x673ecb){var _0x4aac0f=_0x789e72;if(_0x673ecb instanceof ArrayBuffer&&(_0x673ecb=new Uint8Array(_0x673ecb)),(_0x673ecb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x673ecb instanceof Uint8ClampedArray||_0x673ecb instanceof Int16Array||_0x673ecb instanceof Uint16Array||_0x673ecb instanceof Int32Array||_0x673ecb instanceof Uint32Array||_0x673ecb instanceof Float32Array||_0x673ecb instanceof Float64Array)&&(_0x673ecb=new Uint8Array(_0x673ecb['buffer'],_0x673ecb['byteOffset'],_0x673ecb[_0x4aac0f(0x425)])),_0x673ecb instanceof Uint8Array){for(var _0x11f459=_0x673ecb['byteLength'],_0x4e4977=[],_0x578ba5=0x0;_0x578ba5<_0x11f459;_0x578ba5++)_0x4e4977[_0x578ba5>>>0x2]|=_0x673ecb[_0x578ba5]<<0x18-_0x578ba5%0x4*0x8;_0xe23863['call'](this,_0x4e4977,_0x11f459);}else _0xe23863[_0x4aac0f(0x219)](this,arguments);};_0x59f6de['prototype']=_0x41ad71;}}()),_0x4bc05d[_0x5f3ac2(0x2f7)][_0x5f3ac2(0x143)];}));}(Oe)),Oe[_0x53a5b8(0x3bf)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x1640f8(0x3bf)],st;function Gi(){var _0xb66527=_0x1640f8;return st||(st=0x1,function(_0x2bb600,_0x2f26e5){(function(_0x5b988a,_0xb72659,_0x27f336){var _0x286dcf=_0x3549;_0x2bb600[_0x286dcf(0x3bf)]=_0xb72659(Q(),Tt());}(Wi,function(_0x18071b){var _0xc0f516=_0x3549;return _0x18071b['pad'][_0xc0f516(0x309)]={'pad':function(){},'unpad':function(){}},_0x18071b[_0xc0f516(0x39b)]['NoPadding'];}));}(Re)),Re[_0xb66527(0x3bf)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x4afa80,_0x46e86a){var _0x51a832=_0x1640f8;const _0x6ac028=_0x46e86a-_0x4afa80['length']%_0x46e86a,_0x108553=String['fromCharCode'](_0x6ac028)[_0x51a832(0x22d)](_0x6ac028);return _0x4afa80+_0x108553;}function zi(_0x4c1391,_0x4c69a0){var _0x15cbf8=_0x1640f8;const _0x251533=Vi[_0x15cbf8(0x29e)](0x10),_0x46118b=Ki(_0x4c1391,0x10),_0x3acca3=Mi[_0x15cbf8(0x308)](Hi[_0x15cbf8(0x493)](_0x46118b),it['parse'](_0x4c69a0),{'iv':_0x251533,'padding':qi});return _0x251533[_0x15cbf8(0x30e)](_0x3acca3[_0x15cbf8(0x393)])['toString'](it);}function Ji(){var _0x5218bb=_0x1640f8;const _0x288783=yt[_0x5218bb(0x1db)]()[_0x5218bb(0x285)];if(_0x288783){const _0x396260={'time':Math[_0x5218bb(0x3a2)](Date[_0x5218bb(0x20f)]()/0x3e8),'domain':location['hostname']};return zi(JSON[_0x5218bb(0x288)](_0x396260),_0x288783);}}var Xi=Object[_0x1640f8(0x2d7)],Zi=(_0x3b694c,_0x4a7287,_0x124bf8,_0x167bee)=>{var _0x577df0=_0x1640f8;for(var _0x597c7e=_0x167bee>0x1?void 0x0:_0x167bee?Xi(_0x4a7287,_0x124bf8):_0x4a7287,_0x5b9b23=_0x3b694c[_0x577df0(0x388)]-0x1,_0x4e6cda;_0x5b9b23>=0x0;_0x5b9b23--)(_0x4e6cda=_0x3b694c[_0x5b9b23])&&(_0x597c7e=_0x4e6cda(_0x597c7e)||_0x597c7e);return _0x597c7e;},Qi=(_0x18e9e3,_0x3fe033)=>(_0x21242b,_0x422609)=>_0x3fe033(_0x21242b,_0x422609,_0x18e9e3);let Ne=class{constructor(_0x9730d2){var _0x299bc8=_0x1640f8;this['_httpService']=_0x9730d2,this[_0x299bc8(0x2b4)]();}[_0x1640f8(0x2b4)](){var _0x114c96=_0x1640f8;this['_httpService'][_0x114c96(0x144)]({'interceptor':(_0x345c0b,_0x17e570)=>{var _0x59d593=_0x114c96;const _0x409a83=_0x345c0b[_0x59d593(0x499)],_0x1e9f8f=Ji();return _0x1e9f8f&&_0x409a83[_0x59d593(0x315)](_0x59d593(0x1c9),_0x1e9f8f),_0x17e570(_0x345c0b);}});}};Ne=Zi([Qi(0x0,a[_0x1640f8(0x207)](q['HTTPService']))],Ne);var en=Object['getOwnPropertyDescriptor'],tn=(_0x3e6a09,_0x592025,_0x483c59,_0x4c2bc4)=>{var _0x69e227=_0x1640f8;for(var _0x231645=_0x4c2bc4>0x1?void 0x0:_0x4c2bc4?en(_0x592025,_0x483c59):_0x592025,_0x2a3279=_0x3e6a09[_0x69e227(0x388)]-0x1,_0x44e504;_0x2a3279>=0x0;_0x2a3279--)(_0x44e504=_0x3e6a09[_0x2a3279])&&(_0x231645=_0x44e504(_0x231645)||_0x231645);return _0x231645;},we=(_0x3d6fe8,_0x4001ac)=>(_0xc25408,_0x2af66e)=>_0x4001ac(_0xc25408,_0x2af66e,_0x3d6fe8);exports[_0x1640f8(0x239)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x62e53f,_0x16b4ac,_0x3e4ebb){var _0x4eb31e=_0x1640f8;super(),A(this,'_unitInfo$',new H[(_0x4eb31e(0x453))](null)),A(this,_0x4eb31e(0x402),this[_0x4eb31e(0x406)]['asObservable']()),(this[_0x4eb31e(0x3aa)]=_0x62e53f,this[_0x4eb31e(0x34c)]=_0x16b4ac,this[_0x4eb31e(0x442)]=_0x3e4ebb);}async[_0x1640f8(0x400)](_0x2193ef,_0x49aa01,_0x5e0f83){var _0xf8be6f=_0x1640f8;this[_0xf8be6f(0x406)]['next']({'unitId':_0x2193ef,'type':_0x49aa01});let _0x589ddb=null;switch(_0x49aa01){case J['UNIVER_SHEET']:{_0x589ddb=await this[_0xf8be6f(0x34c)][_0xf8be6f(0x2b0)](_0x2193ef,_0x5e0f83);break;}case J[_0xf8be6f(0x15e)]:{_0x589ddb=await this['_snapshotService'][_0xf8be6f(0x482)](_0x2193ef,_0x5e0f83);break;}default:{this[_0xf8be6f(0x3aa)][_0xf8be6f(0x15a)](_0xf8be6f(0x159),_0xf8be6f(0x364));break;}}return _0x589ddb;}async[_0x1640f8(0x2f0)](_0x12fce9,_0x43205f,_0x1a0a42){var _0x5ca2c4=_0x1640f8,_0x4594a7;this[_0x5ca2c4(0x406)]['next']({'unitId':_0x12fce9,'type':_0x43205f,'subUnitId':_0x1a0a42});let _0x2cb174=0x0;const _0x509d4f=await((_0x4594a7=this['_localCacheService'])==null?void 0x0:_0x4594a7[_0x5ca2c4(0x148)](_0x12fce9));return _0x509d4f&&(_0x509d4f[_0x5ca2c4(0x190)]||_0x509d4f[_0x5ca2c4(0x452)][_0x5ca2c4(0x388)]!==0x0)&&(_0x2cb174=_0x509d4f[_0x5ca2c4(0x286)]),_0x2cb174===0x0&&this[_0x5ca2c4(0x3aa)][_0x5ca2c4(0x2cc)](_0x5ca2c4(0x159),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5ca2c4(0x400)](_0x12fce9,_0x43205f,_0x2cb174);}},exports[_0x1640f8(0x239)]=tn([we(0x0,a[_0x1640f8(0x226)]),we(0x1,a[_0x1640f8(0x207)](p[_0x1640f8(0x235)])),we(0x2,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x239)]);var nn=Object[_0x1640f8(0x2d7)],rn=(_0xe7de80,_0x5bc747,_0xf515d5,_0x11dc74)=>{var _0x142e63=_0x1640f8;for(var _0x4e1177=_0x11dc74>0x1?void 0x0:_0x11dc74?nn(_0x5bc747,_0xf515d5):_0x5bc747,_0x43bb4d=_0xe7de80[_0x142e63(0x388)]-0x1,_0xa8ae46;_0x43bb4d>=0x0;_0x43bb4d--)(_0xa8ae46=_0xe7de80[_0x43bb4d])&&(_0x4e1177=_0xa8ae46(_0x4e1177)||_0x4e1177);return _0x4e1177;},Me=(_0x310bc9,_0x2abe54)=>(_0x5cd4d5,_0x1caab1)=>_0x2abe54(_0x5cd4d5,_0x1caab1,_0x310bc9);const sn=[_0x1640f8(0x36c),_0x1640f8(0x170),'image/jpg',_0x1640f8(0x15f),_0x1640f8(0x191)],on=0x5*0x400*0x400,an=_0x1640f8(0x287),cn='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x590418,_0x4865db,_0x3f0bb5){var _0x75e88=_0x1640f8;A(this,_0x75e88(0x476),0x0),A(this,'_change$',new H[(_0x75e88(0x375))]()),A(this,_0x75e88(0x291),this[_0x75e88(0x2c9)]),A(this,_0x75e88(0x14d),new Map()),(this[_0x75e88(0x3a0)]=_0x590418,this[_0x75e88(0x2b1)]=_0x4865db,this[_0x75e88(0x2f3)]=_0x3f0bb5);}[_0x1640f8(0x3de)](_0xfaeb9a){var _0x2f861e=_0x1640f8;this[_0x2f861e(0x476)]=_0xfaeb9a,this[_0x2f861e(0x2c9)]['next'](_0xfaeb9a);}['getImageSourceCache'](_0x674a8,_0x25a0c0){var _0x2fae6d=_0x1640f8;if(_0x25a0c0===z[_0x2fae6d(0x34f)]['BASE64']){const _0xc3f319=new Image();return _0xc3f319['src']=_0x674a8,_0xc3f319;}return this[_0x2fae6d(0x14d)][_0x2fae6d(0x3ee)](_0x674a8);}[_0x1640f8(0x3fd)](_0x50893a,_0x17fe97,_0x27ed2a){var _0x5246b7=_0x1640f8;_0x17fe97===z[_0x5246b7(0x34f)][_0x5246b7(0x20c)]||_0x27ed2a==null||this['_imageSourceCache'][_0x5246b7(0x315)](_0x50893a,_0x27ed2a);}async['getImage'](_0x58bb94){var _0x5da812=_0x1640f8;try{const _0xcb0be=this[_0x5da812(0x1d2)](this[_0x5da812(0x395)](),''+_0x58bb94),_0x15f903=(await this[_0x5da812(0x3a0)][_0x5da812(0x3ee)](_0xcb0be))[_0x5da812(0x3e3)];if(_0x15f903[_0x5da812(0x15a)]&&_0x15f903[_0x5da812(0x15a)][_0x5da812(0x141)]===dt['OK']){const _0x35814f=new URL(_0x15f903[_0x5da812(0x3a7)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x5da812(0x3b3)](_0x35814f);}return Promise[_0x5da812(0x457)](_0x15f903[_0x5da812(0x15a)]);}catch(_0x159e0a){return Promise[_0x5da812(0x457)](_0x159e0a);}}async['saveImage'](_0x3609e9){var _0x45f504=_0x1640f8;let _0x30f8e1='';if(!sn[_0x45f504(0x3bb)](_0x3609e9['type']))return this[_0x45f504(0x2ec)](),Promise['reject'](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x3609e9[_0x45f504(0x2b8)]>on)return this[_0x45f504(0x2ec)](),Promise[_0x45f504(0x457)](new Error(z[_0x45f504(0x3b1)][_0x45f504(0x1a0)]));try{const _0x2d5eae=new FormData();_0x2d5eae[_0x45f504(0x34d)](_0x45f504(0x3c4),_0x3609e9);const _0x403109=this[_0x45f504(0x2f3)][_0x45f504(0x2f4)](),_0x150e0a=_0x403109==null?void 0x0:_0x403109[_0x45f504(0x2e1)]();if(!_0x150e0a)throw new Error('unitId\x20is\x20not\x20found');const _0x1ff160=this[_0x45f504(0x1b5)]()+_0x45f504(0x41c)+_0x3609e9[_0x45f504(0x2b8)][_0x45f504(0x42b)]()+_0x45f504(0x2e8)+vt[_0x45f504(0x1f6)]+_0x45f504(0x371)+encodeURIComponent(_0x150e0a),_0x1b0b24={'body':_0x2d5eae},_0x217af2=(await this['_httpService']['post'](_0x1ff160,_0x1b0b24))['body'];if(typeof _0x217af2[_0x45f504(0x29a)]!='string')return this[_0x45f504(0x2ec)](),Promise[_0x45f504(0x457)](new Error(z[_0x45f504(0x3b1)][_0x45f504(0x35c)]));_0x30f8e1=_0x217af2['FileId'];}catch{return this[_0x45f504(0x2ec)](),Promise[_0x45f504(0x457)](new Error(z[_0x45f504(0x3b1)][_0x45f504(0x35c)]));}return new Promise((_0x107a3d,_0x147257)=>{var _0x4eb281=_0x45f504;const _0x55ff02=new FileReader();_0x55ff02[_0x4eb281(0x37d)](_0x3609e9),_0x55ff02[_0x4eb281(0x242)]=_0x2d4a55=>{var _0x5df1dc=_0x4eb281,_0x4636af;const _0x33a17c=(_0x4636af=_0x2d4a55[_0x5df1dc(0x26d)])==null?void 0x0:_0x4636af[_0x5df1dc(0x30f)];if(_0x33a17c==null){this['_decreaseWaiting'](),_0x147257(new Error(z[_0x5df1dc(0x3b1)][_0x5df1dc(0x35c)]));return;}const _0x13c088=a[_0x5df1dc(0x454)](0x6);_0x107a3d({'imageId':_0x13c088,'imageSourceType':z[_0x5df1dc(0x34f)][_0x5df1dc(0x17b)],'source':_0x30f8e1,'base64Cache':_0x33a17c,'status':z[_0x5df1dc(0x3b1)][_0x5df1dc(0x257)]}),this['_decreaseWaiting']();};});}[_0x1640f8(0x1b5)](){var _0x258c0f=_0x1640f8,_0x21a531;const _0x220152=this[_0x258c0f(0x2b1)][_0x258c0f(0x254)](Y);return(_0x21a531=_0x220152==null?void 0x0:_0x220152['uploadFileServerUrl'])!=null?_0x21a531:an;}[_0x1640f8(0x395)](){var _0x5b8dfa=_0x1640f8,_0x20da10;const _0x2b2bd5=this[_0x5b8dfa(0x2b1)][_0x5b8dfa(0x254)](Y);return(_0x20da10=_0x2b2bd5==null?void 0x0:_0x2b2bd5['signUrlServerUrl'])!=null?_0x20da10:cn;}[_0x1640f8(0x2f8)](){var _0x186d2b=_0x1640f8,_0x103a7b;const _0x122be5=this[_0x186d2b(0x2b1)]['getConfig'](Y);return(_0x103a7b=_0x122be5==null?void 0x0:_0x122be5[_0x186d2b(0x1d6)])!=null?_0x103a7b:location[_0x186d2b(0x213)];}[_0x1640f8(0x1d2)](_0x5e1b88,_0x425340){var _0x340647=_0x1640f8;return _0x5e1b88[_0x340647(0x16e)](_0x340647(0x3df),_0x425340);}['_decreaseWaiting'](){var _0x2c103f=_0x1640f8;this['_waitCount']-=0x1,this['_change$'][_0x2c103f(0x3f8)](this[_0x2c103f(0x476)]);}},exports[_0x1640f8(0x36e)]=rn([Me(0x0,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)])),Me(0x1,a[_0x1640f8(0x30d)]),Me(0x2,a[_0x1640f8(0x207)](a[_0x1640f8(0x49a)]))],exports[_0x1640f8(0x36e)]);var hn=Object[_0x1640f8(0x2d7)],_n=(_0x2b37a8,_0x124f21,_0x57ea5e,_0x3c01e7)=>{var _0xdee5ed=_0x1640f8;for(var _0x1bfb84=_0x3c01e7>0x1?void 0x0:_0x3c01e7?hn(_0x124f21,_0x57ea5e):_0x124f21,_0x3b614b=_0x2b37a8[_0xdee5ed(0x388)]-0x1,_0x462be7;_0x3b614b>=0x0;_0x3b614b--)(_0x462be7=_0x2b37a8[_0x3b614b])&&(_0x1bfb84=_0x462be7(_0x1bfb84)||_0x1bfb84);return _0x1bfb84;},ot=(_0x517d41,_0x30f6b0)=>(_0x46ac35,_0x3c1cd2)=>_0x30f6b0(_0x46ac35,_0x3c1cd2,_0x517d41);const ln='/universer-api/authz';exports[_0x1640f8(0x214)]=class{constructor(_0x40b938,_0x3554a8){var _0x51f517=_0x1640f8;this[_0x51f517(0x2b1)]=_0x40b938,this[_0x51f517(0x3e9)]=_0x3554a8;}[_0x1640f8(0x1aa)](){var _0x11705f=_0x1640f8,_0x21256b;const _0x221e9b=this[_0x11705f(0x2b1)]['getConfig'](Y);return(_0x21256b=_0x221e9b==null?void 0x0:_0x221e9b[_0x11705f(0x34b)])!=null?_0x21256b:ln;}async[_0x1640f8(0x155)](_0x39229c){var _0x36dfb0=_0x1640f8;const _0x455000=this[_0x36dfb0(0x1aa)]()+_0x36dfb0(0x24d);return{'list':[{'title':'People','mentions':(await this[_0x36dfb0(0x3e9)][_0x36dfb0(0x3ee)](_0x455000,{'params':{'objectID':_0x39229c[_0x36dfb0(0x372)],'unitID':_0x39229c[_0x36dfb0(0x372)]}}))[_0x36dfb0(0x3e3)]['collaborators']['map'](_0x2032c7=>({'objectId':_0x2032c7['id'],'name':_0x2032c7[_0x36dfb0(0x13c)][_0x36dfb0(0x48d)],'metadata':{'icon':_0x2032c7['subject']['avatar']},'label':_0x2032c7[_0x36dfb0(0x13c)]['name'],'objectType':a[_0x36dfb0(0x32c)][_0x36dfb0(0x227)]})),'metadata':{},'type':a[_0x36dfb0(0x32c)][_0x36dfb0(0x227)]}]};}},exports[_0x1640f8(0x214)]=_n([ot(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x30d)])),ot(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)]))],exports['MentionIoHttpService']);var un=Object['getOwnPropertyDescriptor'],dn=(_0xa4cbe4,_0x36c666,_0x2dcfea,_0x2af7a6)=>{for(var _0x4843b0=_0x2af7a6>0x1?void 0x0:_0x2af7a6?un(_0x36c666,_0x2dcfea):_0x36c666,_0x5c19f9=_0xa4cbe4['length']-0x1,_0x3fa831;_0x5c19f9>=0x0;_0x5c19f9--)(_0x3fa831=_0xa4cbe4[_0x5c19f9])&&(_0x4843b0=_0x3fa831(_0x4843b0)||_0x4843b0);return _0x4843b0;},le=(_0x263862,_0x48cd80)=>(_0x1f3660,_0x404655)=>_0x48cd80(_0x1f3660,_0x404655,_0x263862);let De=class extends a['RxDisposable']{constructor(_0x363fe4,_0x5d3d48,_0x219f38,_0x5772b4,_0x2f941b){var _0x18cbb4=_0x1640f8;super(),this[_0x18cbb4(0x331)]=_0x363fe4,this[_0x18cbb4(0x2f3)]=_0x5d3d48,this[_0x18cbb4(0x2a8)]=_0x219f38,this[_0x18cbb4(0x1a2)]=_0x5772b4,this[_0x18cbb4(0x468)]=_0x2f941b,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x1640f8(0x2f1)](){var _0x138657=_0x1640f8;const _0x719eff=async _0x564e8f=>{var _0x4a9792=_0x3549;(await this[_0x4a9792(0x1a2)][_0x4a9792(0x447)](_0x564e8f))['event$'][_0x4a9792(0x297)](V[_0x4a9792(0x35b)](_0x56b9d4=>_0x56b9d4[_0x4a9792(0x47b)]===p[_0x4a9792(0x1e8)]['SHOULD_CLOSE_CONN']),V[_0x4a9792(0x397)](this[_0x4a9792(0x247)]))[_0x4a9792(0x217)](_0x3e0dd6=>{var _0x23e349=_0x4a9792;const _0x18872a=_0x3e0dd6,{reason:_0x463684}=_0x18872a['data'];this[_0x23e349(0x468)]['emitEvent']({'id':Z[_0x23e349(0x182)],'data':_0x463684}),this['_permissionService'][_0x23e349(0x313)](new X[(_0x23e349(0x27d))](_0x564e8f)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x564e8f);});};H[_0x138657(0x22a)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x138657(0x1cb)][_0x138657(0x435)]),this[_0x138657(0x2f3)][_0x138657(0x237)](a[_0x138657(0x1cb)][_0x138657(0x15e)]))[_0x138657(0x297)](V[_0x138657(0x3d2)](_0x3c1c67=>_0x3c1c67[_0x138657(0x2e1)]()),V['filter'](_0x4e5793=>!a[_0x138657(0x3b8)](_0x4e5793)),V['takeUntil'](this[_0x138657(0x247)]))[_0x138657(0x217)](_0x17e968=>{_0x719eff(_0x17e968);});}['_initUnitPermissionChange'](){var _0x55e001=_0x1640f8;const _0x3ed05d=async _0x63ba4a=>{var _0x17e671=_0x3549;const _0x587742=await this['_collaborationSessionService'][_0x17e671(0x447)](_0x63ba4a),_0x2a7078=this[_0x17e671(0x331)][_0x17e671(0x3ee)](X['SheetPermissionInitController']);_0x587742['event$']['pipe'](V[_0x17e671(0x35b)](_0x519df0=>_0x519df0[_0x17e671(0x47b)]===p[_0x17e671(0x1e8)][_0x17e671(0x1ce)]),V[_0x17e671(0x397)](this['dispose$']))['subscribe'](_0x3b4e36=>{var _0x55d181=_0x17e671;const _0x31e83b=_0x3b4e36,{objectId:_0x58c727}=_0x31e83b[_0x55d181(0x19d)];_0x58c727===_0x63ba4a?_0x2a7078['initWorkbookPermissionChange'](_0x63ba4a):_0x2a7078[_0x55d181(0x3d1)](_0x63ba4a,_0x58c727);});};H[_0x55e001(0x22a)](this['_univerInstanceService'][_0x55e001(0x237)](a[_0x55e001(0x1cb)][_0x55e001(0x435)]))[_0x55e001(0x297)](V[_0x55e001(0x3d2)](_0x293193=>_0x293193['getUnitId']()),V[_0x55e001(0x35b)](_0x55a87e=>!a[_0x55e001(0x3b8)](_0x55a87e)),V[_0x55e001(0x397)](this[_0x55e001(0x247)]))[_0x55e001(0x217)](_0x5c7cda=>{_0x3ed05d(_0x5c7cda);});}};De=dn([le(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),le(0x1,a[_0x1640f8(0x49a)]),le(0x2,a[_0x1640f8(0x38c)]),le(0x3,a[_0x1640f8(0x207)](exports[_0x1640f8(0x169)])),le(0x4,a[_0x1640f8(0x207)](ee))],De);var vn=Object[_0x1640f8(0x2d7)],Sn=(_0x387e37,_0x215625,_0x5ee5de,_0x1664a6)=>{for(var _0x5ad46b=_0x1664a6>0x1?void 0x0:_0x1664a6?vn(_0x215625,_0x5ee5de):_0x215625,_0x392d57=_0x387e37['length']-0x1,_0x2e8054;_0x392d57>=0x0;_0x392d57--)(_0x2e8054=_0x387e37[_0x392d57])&&(_0x5ad46b=_0x2e8054(_0x5ad46b)||_0x5ad46b);return _0x5ad46b;},at=(_0x28494a,_0x281de7)=>(_0x8173df,_0x5b2518)=>_0x281de7(_0x8173df,_0x5b2518,_0x28494a);exports[_0x1640f8(0x37b)]=class{constructor(_0x5be2ac,_0x581e34){var _0x21a26f=_0x1640f8;this[_0x21a26f(0x2b1)]=_0x5be2ac,this[_0x21a26f(0x3a0)]=_0x581e34;}async['getUnitOnRev'](_0x156085,_0xc8b6c3){var _0x545086=_0x1640f8,_0x3a4048;const {unitID:_0x114ffe,type:_0x3a026c,revision:_0x5ab3ba=0x0}=_0xc8b6c3,_0x281b8d=this[_0x545086(0x3ef)]()+'/'+_0x3a026c+_0x545086(0x220)+_0x114ffe+_0x545086(0x174)+_0x5ab3ba,_0x471957=(await this['_httpService'][_0x545086(0x3ee)](_0x281b8d))[_0x545086(0x3e3)],_0x340b90=(_0x3a4048=_0x471957['snapshot'])==null?void 0x0:_0x3a4048[_0x545086(0x19f)];if(_0x340b90){const _0x5c8a27=_0x340b90==null?void 0x0:_0x340b90[_0x545086(0x26e)],_0x30bbcf=p[_0x545086(0x1c7)]['encode'](p[_0x545086(0x2d6)](_0x5c8a27));_0x340b90[_0x545086(0x26e)]=_0x30bbcf,Object[_0x545086(0x47f)](_0x340b90[_0x545086(0x14e)])[_0x545086(0x1ff)](([,_0x2c960b])=>{var _0x23d23d=_0x545086;const _0x313ba7=_0x2c960b[_0x23d23d(0x26e)],_0x3a1af7=p[_0x23d23d(0x1c7)][_0x23d23d(0x361)](p[_0x23d23d(0x2d6)](_0x313ba7));_0x2c960b[_0x23d23d(0x26e)]=_0x3a1af7;});}return _0x471957;}async[_0x1640f8(0x345)](_0x10361c,_0x354713){var _0x511882=_0x1640f8;const {unitID:_0x1b6dac,type:_0x5837ad,blockID:_0x3ba52c}=_0x354713,_0x27b91c=this[_0x511882(0x488)]()+'/'+_0x5837ad+'/unit/'+_0x1b6dac+_0x511882(0x16f)+_0x3ba52c;return(await this[_0x511882(0x3a0)][_0x511882(0x3ee)](_0x27b91c))[_0x511882(0x3e3)];}async[_0x1640f8(0x451)](_0x254fc3,_0x4f4240){var _0x2e86ba=_0x1640f8;const {unitID:_0x3cb8ee,type:_0x5d35e7,blockID:_0x5a7a78}=_0x4f4240,_0x234f9b=this[_0x2e86ba(0x488)]()+_0x2e86ba(0x16f)+_0x5d35e7+_0x2e86ba(0x220)+_0x3cb8ee+_0x2e86ba(0x16f)+_0x5a7a78;return(await this[_0x2e86ba(0x3a0)][_0x2e86ba(0x3ee)](_0x234f9b))[_0x2e86ba(0x3e3)];}async[_0x1640f8(0x31c)](_0x233c11,_0x2fcbe7){var _0x3a8e95=_0x1640f8;const {unitID:_0x529454,type:_0x1bea08,from:_0x65cee0,to:_0x4ece25}=_0x2fcbe7,_0xe59714=this[_0x3a8e95(0x488)]()+'/'+_0x1bea08+_0x3a8e95(0x220)+_0x529454+'/fetchmissing?from='+_0x65cee0+_0x3a8e95(0x13b)+_0x4ece25;return(await this[_0x3a8e95(0x3a0)][_0x3a8e95(0x3ee)](_0xe59714))[_0x3a8e95(0x3e3)];}[_0x1640f8(0x3ef)](){var _0xac657d=_0x1640f8,_0x34c84e;return(_0x34c84e=this[_0xac657d(0x2b1)][_0xac657d(0x254)](Dt))!=null?_0x34c84e:this[_0xac657d(0x488)]();}[_0x1640f8(0x488)](){var _0x26b495=_0x1640f8,_0x3b7c7a;const _0x34bfdc=this[_0x26b495(0x2b1)][_0x26b495(0x254)](Y);return(_0x3b7c7a=_0x34bfdc==null?void 0x0:_0x34bfdc['snapshotServerUrl'])!=null?_0x3b7c7a:Nt;}async['getResourcesRequest'](_0x3815c0,_0xfe12e7){var _0x5f4d9a=_0x1640f8;const _0x538a40='/universer-api/snapshot/'+_0xfe12e7[_0x5f4d9a(0x2b7)]+_0x5f4d9a(0x220)+_0xfe12e7['unitID']+'/resources';return(await this[_0x5f4d9a(0x3a0)][_0x5f4d9a(0x3ee)](_0x538a40,{'params':{'resourceId':JSON[_0x5f4d9a(0x288)](_0xfe12e7['resourceIDs'])}}))[_0x5f4d9a(0x3e3)];}[_0x1640f8(0x27a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1640f8(0x282)](){var _0x256482=_0x1640f8;throw new Error(_0x256482(0x1b3));}[_0x1640f8(0x36f)](){var _0x4aeb0a=_0x1640f8;throw new Error(_0x4aeb0a(0x1b3));}['saveChangeset'](){var _0x3ee813=_0x1640f8;throw new Error(_0x3ee813(0x1b3));}[_0x1640f8(0x186)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1640f8(0x414)](){var _0x2e2302=_0x1640f8;throw new Error(_0x2e2302(0x1b3));}},exports['SnapshotServerOverHTTPService']=Sn([at(0x0,a[_0x1640f8(0x30d)]),at(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)]))],exports['SnapshotServerOverHTTPService']);var fn=Object[_0x1640f8(0x2d7)],In=(_0x460553,_0x3c1382,_0x452692,_0x2cb153)=>{var _0x9d4b9d=_0x1640f8;for(var _0x14a875=_0x2cb153>0x1?void 0x0:_0x2cb153?fn(_0x3c1382,_0x452692):_0x3c1382,_0x370053=_0x460553[_0x9d4b9d(0x388)]-0x1,_0x2f044a;_0x370053>=0x0;_0x370053--)(_0x2f044a=_0x460553[_0x370053])&&(_0x14a875=_0x2f044a(_0x14a875)||_0x14a875);return _0x14a875;},ue=(_0x5d799b,_0x538b74)=>(_0x442291,_0x5261a6)=>_0x538b74(_0x442291,_0x5261a6,_0x5d799b);exports[_0x1640f8(0x28f)]=class extends a[_0x1640f8(0x2ab)]{constructor(_0x32022b,_0x125347,_0xf79d59,_0x2e744,_0x4fcf70){var _0x4de9b9=_0x1640f8;super(_0x32022b,_0x125347,_0xf79d59),this[_0x4de9b9(0x424)]=_0x2e744,this[_0x4de9b9(0x3aa)]=_0x4fcf70;}['transformUndoRedo'](_0x50c7ad,_0x1e6d93){var _0x3cb356=_0x1640f8;const _0x3f379b=this[_0x3cb356(0x1fe)](_0x50c7ad);if(_0x3f379b)try{const _0x47a6b3=this[_0x3cb356(0x44c)](_0x3f379b,_0x1e6d93);this[_0x3cb356(0x3ba)](_0x50c7ad,_0x47a6b3);}catch(_0x1921ed){this[_0x3cb356(0x3aa)][_0x3cb356(0x15a)](_0x3cb356(0x2e0),_0x1921ed),this[_0x3cb356(0x1bd)](_0x50c7ad);}const _0x5d9de8=this['_getRedoStack'](_0x50c7ad);if(_0x5d9de8)try{const _0x74a3c4=this[_0x3cb356(0x44c)](_0x5d9de8,_0x1e6d93);this[_0x3cb356(0x3d4)](_0x50c7ad,_0x74a3c4);}catch(_0x4575ba){this[_0x3cb356(0x3aa)][_0x3cb356(0x15a)](_0x4575ba),this['_clearRedo'](_0x50c7ad);}}[_0x1640f8(0x1bd)](_0x10c43f){var _0x5c2b4a=_0x1640f8;const _0x5c6331=this[_0x5c2b4a(0x1fe)](_0x10c43f);_0x5c6331&&(_0x5c6331['length']=0x0,this[_0x5c2b4a(0x3db)]());}[_0x1640f8(0x48a)](_0x50366d){var _0xacd3fd=_0x1640f8;const _0x4f85b1=this[_0xacd3fd(0x2b6)](_0x50366d);_0x4f85b1&&(_0x4f85b1[_0xacd3fd(0x388)]=0x0,this[_0xacd3fd(0x3db)]());}[_0x1640f8(0x3ba)](_0x1a2314,_0x350048){var _0x22cb69=_0x1640f8;this[_0x22cb69(0x208)][_0x22cb69(0x315)](_0x1a2314,_0x350048),this[_0x22cb69(0x3db)]();}['_substituteRedoStack'](_0x5a1d31,_0x11ed73){var _0x111324=_0x1640f8;this[_0x111324(0x40a)][_0x111324(0x315)](_0x5a1d31,_0x11ed73),this['_updateStatus']();}[_0x1640f8(0x44c)](_0x1d543e,_0x43ca8c){var _0x3823f0=_0x1640f8;const _0xa3eb30=[];let _0x41e20a=_0x43ca8c,_0x220e61=_0x43ca8c;for(let _0x537f2a=_0x1d543e[_0x3823f0(0x388)]-0x1;_0x537f2a>=0x0;_0x537f2a--){const {unitID:_0x40cfea,undoMutations:_0x4a4100,redoMutations:_0x32efa9}=_0x1d543e[_0x537f2a],_0x3771b3=this[_0x3823f0(0x424)]['transformMutationsWithChangeset'](_0x41e20a,_0x4a4100),_0x215f8e=this[_0x3823f0(0x424)]['transformMutationsWithChangeset'](_0x220e61,_0x32efa9);if(p[_0x3823f0(0x45f)](_0x3771b3)||p[_0x3823f0(0x45f)](_0x215f8e)){this[_0x3823f0(0x3aa)][_0x3823f0(0x15a)](_0x3823f0(0x2e0),_0x3823f0(0x39f),_0x3771b3,_0x215f8e);break;}_0x41e20a=_0x3771b3[_0x3823f0(0x2eb)],_0x220e61=_0x215f8e['c1Prime'],_0xa3eb30[_0x3823f0(0x33f)]({'unitID':_0x40cfea,'undoMutations':_0x3771b3[_0x3823f0(0x47a)],'redoMutations':_0x215f8e[_0x3823f0(0x47a)]});}return _0xa3eb30[_0x3823f0(0x305)]();}},exports[_0x1640f8(0x28f)]=In([ue(0x0,a['IUniverInstanceService']),ue(0x1,a['ICommandService']),ue(0x2,a[_0x1640f8(0x1ef)]),ue(0x3,p[_0x1640f8(0x1f4)]),ue(0x4,a[_0x1640f8(0x226)])],exports[_0x1640f8(0x28f)]);var pn=Object[_0x1640f8(0x450)],mn=Object[_0x1640f8(0x2d7)],gn=(_0x3754cb,_0x78de34,_0x3993eb)=>_0x78de34 in _0x3754cb?pn(_0x3754cb,_0x78de34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3993eb}):_0x3754cb[_0x78de34]=_0x3993eb,En=(_0x4ae962,_0x5976d9,_0x4e89af,_0x571f97)=>{var _0x7e9f03=_0x1640f8;for(var _0x45b87b=_0x571f97>0x1?void 0x0:_0x571f97?mn(_0x5976d9,_0x4e89af):_0x5976d9,_0x12a26e=_0x4ae962[_0x7e9f03(0x388)]-0x1,_0x20eea3;_0x12a26e>=0x0;_0x12a26e--)(_0x20eea3=_0x4ae962[_0x12a26e])&&(_0x45b87b=_0x20eea3(_0x45b87b)||_0x45b87b);return _0x45b87b;},Le=(_0x1d6766,_0x595061)=>(_0x542ea5,_0x241720)=>_0x595061(_0x542ea5,_0x241720,_0x1d6766),Cn=(_0x312b2c,_0x558eef,_0x1ed2c6)=>gn(_0x312b2c,_0x558eef+'',_0x1ed2c6);const Tn=_0x1640f8(0x268);exports[_0x1640f8(0x2b3)]=class extends a[_0x1640f8(0x498)]{constructor(_0x146d4f,_0xfbbce8,_0x1a5405,_0x292c2b){var _0x4de6a8=_0x1640f8;super(),A(this,_0x4de6a8(0x185)),(this[_0x4de6a8(0x3aa)]=_0xfbbce8,this['_injector']=_0x1a5405,this[_0x4de6a8(0x2b1)]=_0x292c2b);const {..._0x4ab3f9}=a[_0x4de6a8(0x22a)]({},Zt,_0x146d4f);if(!_0x4ab3f9[_0x4de6a8(0x138)])throw new Error(_0x4de6a8(0x1fc));this[_0x4de6a8(0x185)]=_0x4ab3f9,this[_0x4de6a8(0x2b1)][_0x4de6a8(0x2af)](Y,_0x4ab3f9);}[_0x1640f8(0x431)](){var _0x7d6aef=_0x1640f8;this[_0x7d6aef(0x28c)](),this[_0x7d6aef(0x18c)]();}[_0x1640f8(0x28c)](){var _0x47a49c=_0x1640f8,_0x13acd4,_0x4f16c3;this[_0x47a49c(0x331)][_0x47a49c(0x3fb)](a['IUndoRedoService'])&&this[_0x47a49c(0x3aa)][_0x47a49c(0x15a)](_0x47a49c(0x154),_0x47a49c(0x260));const _0x3467f5=a['mergeOverrideWithDependencies']([[a[_0x47a49c(0x47e)],{'useClass':exports[_0x47a49c(0x28f)]}],[exports[_0x47a49c(0x169)]],[exports[_0x47a49c(0x398)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[De],[ee],[exports[_0x47a49c(0x239)]],[Fe,{'useClass':this[_0x47a49c(0x185)]['socketService']}],[p['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x47a49c(0x234)],{'useClass':exports[_0x47a49c(0x353)]}],[z['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[a[_0x47a49c(0x423)],{'useClass':exports[_0x47a49c(0x214)]}],[exports[_0x47a49c(0x18f)]],[xe]],(_0x13acd4=this[_0x47a49c(0x185)])==null?void 0x0:_0x13acd4[_0x47a49c(0x1cd)]);if(!((_0x4f16c3=this[_0x47a49c(0x185)])!=null&&_0x4f16c3['enableSingleActiveInstanceLock'])){const _0x5c4c30=_0x3467f5[_0x47a49c(0x491)](([_0x5d182a])=>_0x5d182a===de);_0x5c4c30!==-0x1&&_0x3467f5[_0x47a49c(0x204)](_0x5c4c30,0x1);}a[_0x47a49c(0x2fc)](this[_0x47a49c(0x331)],_0x3467f5);}[_0x1640f8(0x18c)](){var _0x1c2e9f=_0x1640f8,_0x3e52cc,_0x25e6c1,_0x353b27;this[_0x1c2e9f(0x331)][_0x1c2e9f(0x3ee)](q[_0x1c2e9f(0x1ba)])[_0x1c2e9f(0x144)]({'priority':0x14,'interceptor':q[_0x1c2e9f(0x40b)]({'maxParallel':0x6})}),(_0x3e52cc=this['_config'])!=null&&_0x3e52cc[_0x1c2e9f(0x40e)]||(_0x25e6c1=this[_0x1c2e9f(0x331)][_0x1c2e9f(0x3ee)](K,a[_0x1c2e9f(0x272)][_0x1c2e9f(0x330)]))==null||_0x25e6c1[_0x1c2e9f(0x3dc)](),(_0x353b27=this[_0x1c2e9f(0x185)])!=null&&_0x353b27[_0x1c2e9f(0x32d)]&&a[_0x1c2e9f(0x1f2)](this[_0x1c2e9f(0x331)],[[ye]]),a[_0x1c2e9f(0x1f2)](this['_injector'],[[Ne],[exports['CollaborationController']],[De]]);}},Cn(exports[_0x1640f8(0x2b3)],'pluginName',Tn),exports[_0x1640f8(0x2b3)]=En([a[_0x1640f8(0x461)](p[_0x1640f8(0x177)],q[_0x1640f8(0x163)]),Le(0x1,a[_0x1640f8(0x226)]),Le(0x2,a['Inject'](a['Injector'])),Le(0x3,a[_0x1640f8(0x30d)])],exports['UniverCollaborationClientPlugin']),exports[_0x1640f8(0x33c)]=Y,exports[_0x1640f8(0x421)]=je,exports[_0x1640f8(0x1a4)]=Z,exports[_0x1640f8(0x304)]=ee,exports[_0x1640f8(0x17a)]=$e,exports[_0x1640f8(0x34e)]=ht,exports[_0x1640f8(0x218)]=jt,exports[_0x1640f8(0x22c)]=At,exports['HEARTBEAT_INTERVAL_KEY']=_t,exports[_0x1640f8(0x42d)]=ke,exports[_0x1640f8(0x251)]=Fe,exports[_0x1640f8(0x387)]=K,exports['INetworkConditionService']=pt,exports[_0x1640f8(0x147)]=de,exports['LOCAL_CACHE_INTERVAL']=xt,exports[_0x1640f8(0x22f)]=Lt,exports[_0x1640f8(0x1e0)]=Ht,exports[_0x1640f8(0x3ec)]=ut,exports[_0x1640f8(0x440)]=re,exports[_0x1640f8(0x40f)]=He,exports['deserializeToCombResponse']=mt,exports['getLocalCacheKey']=Kt,exports['serializeCombRequest']=gt;