@univerjs-pro/collaboration-client 0.10.8 → 0.10.9-experimental.20250925-61b61a0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _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 _0x4adc58=_0x2018;(function(_0x4efd25,_0x5c910e){var _0x4b92f=_0x2018,_0x142beb=_0x4efd25();while(!![]){try{var _0x3e1c77=parseInt(_0x4b92f(0x1b9))/0x1+parseInt(_0x4b92f(0x209))/0x2*(parseInt(_0x4b92f(0x25c))/0x3)+-parseInt(_0x4b92f(0x2a5))/0x4+-parseInt(_0x4b92f(0x2f8))/0x5*(-parseInt(_0x4b92f(0x2a2))/0x6)+parseInt(_0x4b92f(0x333))/0x7*(-parseInt(_0x4b92f(0x23e))/0x8)+parseInt(_0x4b92f(0x331))/0x9*(parseInt(_0x4b92f(0x2c9))/0xa)+parseInt(_0x4b92f(0x3ba))/0xb;if(_0x3e1c77===_0x5c910e)break;else _0x142beb['push'](_0x142beb['shift']());}catch(_0x5ea965){_0x142beb['push'](_0x142beb['shift']());}}}(_0x250a,0x47438));var bt=Object['defineProperty'],Ot=(_0x2da7fa,_0x5007f3,_0x59f6ce)=>_0x5007f3 in _0x2da7fa?bt(_0x2da7fa,_0x5007f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59f6ce}):_0x2da7fa[_0x5007f3]=_0x59f6ce,A=(_0x31711c,_0x415f4b,_0x57bc21)=>Ot(_0x31711c,typeof _0x415f4b!=_0x4adc58(0x486)?_0x415f4b+'':_0x415f4b,_0x57bc21);Object[_0x4adc58(0x300)](exports,Symbol[_0x4adc58(0x269)],{'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=_0x4adc58(0x208),Dt=_0x4adc58(0x49d),Ut=0x7d0,ht=_0x4adc58(0x1ca),At=_0x4adc58(0x259),_t=_0x4adc58(0x1b4),Pt=0x7530,ke=_0x4adc58(0x1ec),lt=0x4e20,wt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,Lt=_0x4adc58(0x3b7),xt=0x3e8,kt=_0x4adc58(0x3e9),$t=_0x4adc58(0x21f),Ht=_0x4adc58(0x1d8),jt=_0x4adc58(0x2f4);var dt=(_0x12b5cf=>(_0x12b5cf[_0x12b5cf['UNDEFINED']=0x0]=_0x4adc58(0x2a9),_0x12b5cf[_0x12b5cf['OK']=0x1]='OK',_0x12b5cf[_0x12b5cf[_0x4adc58(0x4c7)]=0x2]=_0x4adc58(0x4c7),_0x12b5cf[_0x12b5cf[_0x4adc58(0x263)]=0x3]='PERMISSION_DENIED',_0x12b5cf[_0x12b5cf[_0x4adc58(0x37f)]=0x4]=_0x4adc58(0x37f),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3aa)]=0x5]=_0x4adc58(0x3aa),_0x12b5cf[_0x12b5cf[_0x4adc58(0x4ab)]=0x6]=_0x4adc58(0x4ab),_0x12b5cf[_0x12b5cf[_0x4adc58(0x404)]=0x7]=_0x4adc58(0x404),_0x12b5cf[_0x12b5cf[_0x4adc58(0x352)]=0x8]='TOO_MANY_REQUESTS',_0x12b5cf[_0x12b5cf['COMPLETION_FINISHED']=0x9]=_0x4adc58(0x36b),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3d3)]=0xa]=_0x4adc58(0x3d3),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2ab)]=0xb]=_0x4adc58(0x2ab),_0x12b5cf[_0x12b5cf[_0x4adc58(0x297)]=0xc]=_0x4adc58(0x297),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3c1)]=0xd]=_0x4adc58(0x3c1),_0x12b5cf[_0x12b5cf[_0x4adc58(0x37c)]=0xe]=_0x4adc58(0x37c),_0x12b5cf[_0x12b5cf[_0x4adc58(0x357)]=0x1389]=_0x4adc58(0x357),_0x12b5cf[_0x12b5cf[_0x4adc58(0x37a)]=0x1771]=_0x4adc58(0x37a),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2a3)]=0x1772]=_0x4adc58(0x2a3),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2c7)]=0x1773]=_0x4adc58(0x2c7),_0x12b5cf[_0x12b5cf[_0x4adc58(0x25d)]=0x1b59]=_0x4adc58(0x25d),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2f5)]=0x1b5a]=_0x4adc58(0x2f5),_0x12b5cf[_0x12b5cf[_0x4adc58(0x1c2)]=0x1b5b]=_0x4adc58(0x1c2),_0x12b5cf[_0x12b5cf[_0x4adc58(0x386)]=0x1b5c]=_0x4adc58(0x386),_0x12b5cf[_0x12b5cf[_0x4adc58(0x431)]=0x1b5d]='APPLY_DUPLICATED',_0x12b5cf[_0x12b5cf[_0x4adc58(0x43d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x12b5cf[_0x12b5cf[_0x4adc58(0x358)]=0x2329]=_0x4adc58(0x358),_0x12b5cf[_0x12b5cf[_0x4adc58(0x1b7)]=0x232a]=_0x4adc58(0x1b7),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3db)]=0x232b]=_0x4adc58(0x3db),_0x12b5cf[_0x12b5cf[_0x4adc58(0x369)]=0x232c]=_0x4adc58(0x369),_0x12b5cf[_0x12b5cf[_0x4adc58(0x279)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x12b5cf[_0x12b5cf['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4adc58(0x394),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2e9)]=0x2712]=_0x4adc58(0x2e9),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3f9)]=0x2713]=_0x4adc58(0x3f9),_0x12b5cf[_0x12b5cf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x12b5cf[_0x12b5cf['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4adc58(0x278),_0x12b5cf[_0x12b5cf[_0x4adc58(0x44d)]=0x271b]=_0x4adc58(0x44d),_0x12b5cf[_0x12b5cf[_0x4adc58(0x382)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x12b5cf[_0x12b5cf[_0x4adc58(0x4b4)]=0x271d]=_0x4adc58(0x4b4),_0x12b5cf[_0x12b5cf[_0x4adc58(0x4a6)]=0x271e]=_0x4adc58(0x4a6),_0x12b5cf[_0x12b5cf[_0x4adc58(0x4c5)]=0x271f]=_0x4adc58(0x4c5),_0x12b5cf[_0x12b5cf[_0x4adc58(0x255)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x12b5cf[_0x12b5cf['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4adc58(0x48f),_0x12b5cf[_0x12b5cf[_0x4adc58(0x4c8)]=0x2ee1]=_0x4adc58(0x4c8),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3ab)]=0x2ee2]=_0x4adc58(0x3ab),_0x12b5cf[_0x12b5cf['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x12b5cf[_0x12b5cf['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4adc58(0x317),_0x12b5cf[_0x12b5cf[_0x4adc58(0x40a)]=0x2ee5]=_0x4adc58(0x40a),_0x12b5cf[_0x12b5cf[_0x4adc58(0x1e1)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x12b5cf[_0x12b5cf[_0x4adc58(0x32a)]=0x32ca]=_0x4adc58(0x32a),_0x12b5cf[_0x12b5cf[_0x4adc58(0x294)]=0x32cb]=_0x4adc58(0x294),_0x12b5cf[_0x12b5cf[_0x4adc58(0x178)]=-0x1]=_0x4adc58(0x178),_0x12b5cf))(dt||{}),J=(_0x51ffcb=>(_0x51ffcb[_0x51ffcb[_0x4adc58(0x4ba)]=0x0]=_0x4adc58(0x4ba),_0x51ffcb[_0x51ffcb[_0x4adc58(0x3ae)]=0x1]=_0x4adc58(0x3ae),_0x51ffcb[_0x51ffcb[_0x4adc58(0x3fa)]=0x2]='UNIVER_SHEET',_0x51ffcb[_0x51ffcb[_0x4adc58(0x421)]=0x3]=_0x4adc58(0x421),_0x51ffcb[_0x51ffcb['UNIVER_PROJECT']=0x4]=_0x4adc58(0x406),_0x51ffcb[_0x51ffcb['UNRECOGNIZED']=-0x1]=_0x4adc58(0x178),_0x51ffcb))(J||{}),W=(_0x6808c8=>(_0x6808c8[_0x6808c8[_0x4adc58(0x42c)]=0x0]=_0x4adc58(0x42c),_0x6808c8[_0x6808c8['HELLO']=0x1]=_0x4adc58(0x475),_0x6808c8[_0x6808c8[_0x4adc58(0x170)]=0x2]='JOIN',_0x6808c8[_0x6808c8[_0x4adc58(0x1fd)]=0x3]='LEAVE',_0x6808c8[_0x6808c8[_0x4adc58(0x16a)]=0x4]=_0x4adc58(0x16a),_0x6808c8[_0x6808c8[_0x4adc58(0x221)]=0x5]=_0x4adc58(0x221),_0x6808c8[_0x6808c8[_0x4adc58(0x2a6)]=0x6]=_0x4adc58(0x2a6),_0x6808c8[_0x6808c8[_0x4adc58(0x178)]=-0x1]=_0x4adc58(0x178),_0x6808c8))(W||{}),se=(_0x3c3a22=>(_0x3c3a22[_0x3c3a22[_0x4adc58(0x2fa)]=0x0]=_0x4adc58(0x2fa),_0x3c3a22[_0x3c3a22['OK']=0x1]='OK',_0x3c3a22[_0x3c3a22['FAIL']=0x2]=_0x4adc58(0x177),_0x3c3a22[_0x3c3a22[_0x4adc58(0x3f7)]=0x3e9]=_0x4adc58(0x3f7),_0x3c3a22[_0x3c3a22[_0x4adc58(0x48d)]=0x3ea]=_0x4adc58(0x48d),_0x3c3a22[_0x3c3a22[_0x4adc58(0x16e)]=0x3eb]=_0x4adc58(0x16e),_0x3c3a22[_0x3c3a22[_0x4adc58(0x3e5)]=0x3ec]=_0x4adc58(0x3e5),_0x3c3a22[_0x3c3a22['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3c3a22))(se||{}),vt=(_0x277708=>(_0x277708[_0x277708[_0x4adc58(0x335)]=0x0]=_0x4adc58(0x335),_0x277708[_0x277708[_0x4adc58(0x33e)]=0x1]=_0x4adc58(0x33e),_0x277708[_0x277708[_0x4adc58(0x48c)]=0x2]='HttpExport',_0x277708[_0x277708[_0x4adc58(0x292)]=0x3]=_0x4adc58(0x292),_0x277708[_0x277708[_0x4adc58(0x241)]=0x4]=_0x4adc58(0x241),_0x277708[_0x277708['UserProfileImg']=0x5]=_0x4adc58(0x3f8),_0x277708[_0x277708['UNRECOGNIZED']=-0x1]=_0x4adc58(0x178),_0x277708))(vt||{});const Bt=_0x4adc58(0x2d0);function Ft(_0x31e731){var _0x2ead04=_0x4adc58;return JSON[_0x2ead04(0x247)](_0x31e731)[_0x2ead04(0x2ba)];}var Z=(_0xad43ae=>(_0xad43ae['OTHER_CLIENT_EDITING']=_0x4adc58(0x454),_0xad43ae[_0x4adc58(0x263)]=_0x4adc58(0x263),_0xad43ae[_0x4adc58(0x3fb)]=_0x4adc58(0x3fb),_0xad43ae[_0x4adc58(0x439)]=_0x4adc58(0x439),_0xad43ae['JOIN_ROOM_FAILED']=_0x4adc58(0x481),_0xad43ae['SOCKET_FAILED_RETRY']=_0x4adc58(0x20d),_0xad43ae[_0x4adc58(0x2c6)]=_0x4adc58(0x2c6),_0xad43ae[_0x4adc58(0x383)]='SUBMIT_CHANGESET_TIMEOUT',_0xad43ae))(Z||{});class ee{constructor(){var _0x11d3e1=_0x4adc58;A(this,'_event$',new H[(_0x11d3e1(0x2c5))]()),A(this,'event$',this[_0x11d3e1(0x29a)][_0x11d3e1(0x228)]());}[_0x4adc58(0x245)](_0x36cff7){var _0x5792d3=_0x4adc58;this[_0x5792d3(0x29a)]['next'](_0x36cff7);}}class $e{constructor(){var _0xfce324=_0x4adc58;A(this,_0xfce324(0x463),new H['Subject']()),A(this,'commentUpdate$',this[_0xfce324(0x463)]['asObservable']());}[_0x4adc58(0x2a7)](_0x3e9151){var _0x3fdb0a=_0x4adc58;this[_0x3fdb0a(0x463)][_0x3fdb0a(0x395)](_0x3e9151);}}var Vt=Object[_0x4adc58(0x3af)],Wt=(_0x15c841,_0x11770b,_0x3aeb58,_0x1efb17)=>{var _0x4c8f64=_0x4adc58;for(var _0x871244=_0x1efb17>0x1?void 0x0:_0x1efb17?Vt(_0x11770b,_0x3aeb58):_0x11770b,_0x5d4da0=_0x15c841[_0x4c8f64(0x2ba)]-0x1,_0x2c361a;_0x5d4da0>=0x0;_0x5d4da0--)(_0x2c361a=_0x15c841[_0x5d4da0])&&(_0x871244=_0x2c361a(_0x871244)||_0x871244);return _0x871244;},Ve=(_0x35c725,_0x547584)=>(_0xd50454,_0x5ea61d)=>_0x547584(_0xd50454,_0x5ea61d,_0x35c725);exports[_0x4adc58(0x2be)]=class extends a[_0x4adc58(0x2c8)]{constructor(_0x2dbb3a,_0x4b38b4){var _0x135803=_0x4adc58;super(),A(this,_0x135803(0x457),new Map()),A(this,_0x135803(0x2fc),new H[(_0x135803(0x2c5))]()),(this[_0x135803(0x2b6)]=_0x2dbb3a,this[_0x135803(0x3b5)]=_0x4b38b4,this[_0x135803(0x166)](H[_0x135803(0x244)](this[_0x135803(0x2b6)]['getTypeOfUnitDisposed$'](a[_0x135803(0x3f3)][_0x135803(0x3fa)])[_0x135803(0x2c3)](V[_0x135803(0x1ea)](_0x5c519b=>_0x5c519b[_0x135803(0x40c)]())),this[_0x135803(0x2b6)][_0x135803(0x1bc)](a[_0x135803(0x3f3)][_0x135803(0x3ae)])[_0x135803(0x2c3)](V[_0x135803(0x1ea)](_0xcc952a=>_0xcc952a[_0x135803(0x40c)]())),this[_0x135803(0x2b6)][_0x135803(0x1bc)](a[_0x135803(0x3f3)][_0x135803(0x421)])[_0x135803(0x2c3)](V[_0x135803(0x1ea)](_0xba6548=>_0xba6548['getUnitId']())))[_0x135803(0x1b8)](_0x5b4178=>this[_0x135803(0x4a5)](_0x5b4178))));}[_0x4adc58(0x2bb)](_0x13b11d){var _0x520a49=_0x4adc58;return this[_0x520a49(0x457)][_0x520a49(0x3e0)](_0x13b11d)?H['of'](this['_roomMembers'][_0x520a49(0x44b)](_0x13b11d)):this[_0x520a49(0x2fc)][_0x520a49(0x2c3)](V['map'](_0x58c975=>{var _0x320168=_0x520a49;if(_0x58c975===_0x13b11d)return this[_0x320168(0x457)][_0x320168(0x44b)](_0x58c975);}));}[_0x4adc58(0x16b)](_0x45b24d){var _0x1b0ca7=_0x4adc58;this[_0x1b0ca7(0x3b5)][_0x1b0ca7(0x16b)](_0x45b24d);}[_0x4adc58(0x471)](){var _0x1656bd=_0x4adc58;return this['_userManagerService'][_0x1656bd(0x471)]();}[_0x4adc58(0x3c0)](_0x387387,_0x244936){var _0x569c2b=_0x4adc58;let _0x27841f=this['_roomMembers'][_0x569c2b(0x44b)](_0x387387);_0x27841f||(_0x27841f=new Gt(),this[_0x569c2b(0x457)]['set'](_0x387387,_0x27841f),this[_0x569c2b(0x2fc)][_0x569c2b(0x395)](_0x387387)),_0x27841f[_0x569c2b(0x3c0)](_0x244936);}[_0x4adc58(0x3bf)](_0x7c55f2,_0x1c9333){var _0x3eb5a9=_0x4adc58;const _0x1c6190=this[_0x3eb5a9(0x457)]['get'](_0x7c55f2);_0x1c6190&&_0x1c6190[_0x3eb5a9(0x3bf)](_0x1c9333);}[_0x4adc58(0x200)](_0x21075c){var _0x156fe9=_0x4adc58;return this[_0x156fe9(0x457)][_0x156fe9(0x44b)](_0x21075c);}['getMember'](_0x3fa1b1,_0x2b35a6){var _0x101e43=_0x4adc58;const _0x1b8a0f=this['_roomMembers']['get'](_0x3fa1b1);if(_0x1b8a0f)return _0x1b8a0f[_0x101e43(0x3e6)](_0x2b35a6);}[_0x4adc58(0x4a5)](_0x19c59e){var _0x52cf55=_0x4adc58;const _0x23597e=this[_0x52cf55(0x457)][_0x52cf55(0x44b)](_0x19c59e);_0x23597e&&(_0x23597e['dispose'](),this[_0x52cf55(0x457)]['delete'](_0x19c59e));}[_0x4adc58(0x1d1)](){var _0x2206b=_0x4adc58;this[_0x2206b(0x457)][_0x2206b(0x37b)](_0x5b1bf3=>_0x5b1bf3[_0x2206b(0x1d1)]()),this[_0x2206b(0x457)][_0x2206b(0x1bd)](),this[_0x2206b(0x2fc)][_0x2206b(0x17f)]();}},exports[_0x4adc58(0x2be)]=Wt([Ve(0x0,a[_0x4adc58(0x46d)]),Ve(0x1,a[_0x4adc58(0x49e)](a[_0x4adc58(0x2ea)]))],exports['MemberService']);class Gt extends a[_0x4adc58(0x2c8)]{constructor(){var _0x316125=_0x4adc58;super(...arguments),A(this,_0x316125(0x3a8),new Map()),A(this,_0x316125(0x240),new H[(_0x316125(0x3b0))](this[_0x316125(0x3a8)])),A(this,_0x316125(0x181),this[_0x316125(0x240)]['asObservable']());}['dispose'](){var _0xf3f3ae=_0x4adc58;this[_0xf3f3ae(0x3a8)][_0xf3f3ae(0x1bd)]();}[_0x4adc58(0x3c0)](_0x587140){var _0x1651f5=_0x4adc58;this[_0x1651f5(0x3a8)][_0x1651f5(0x440)](_0x587140[_0x1651f5(0x4a0)],_0x587140),this['_emitMembers']();}[_0x4adc58(0x3bf)](_0x2b4cbd){var _0xd0f6f5=_0x4adc58;this[_0xd0f6f5(0x3a8)][_0xd0f6f5(0x47e)](_0x2b4cbd);}[_0x4adc58(0x3e6)](_0x33574b){var _0x2e6f8e=_0x4adc58;return this[_0x2e6f8e(0x3a8)][_0x2e6f8e(0x44b)](_0x33574b);}[_0x4adc58(0x3e8)](){var _0x2024ca=_0x4adc58;return Array[_0x2024ca(0x43e)](this['_members'][_0x2024ca(0x4a7)]());}[_0x4adc58(0x3e3)](){var _0x56e752=_0x4adc58;this['_members$'][_0x56e752(0x395)](this[_0x56e752(0x3a8)]);}}var Yt=Object[_0x4adc58(0x3af)],qt=(_0x4d9aa7,_0x5d0ad2,_0x1bf7f7,_0x211e82)=>{var _0x241607=_0x4adc58;for(var _0x5e648c=_0x211e82>0x1?void 0x0:_0x211e82?Yt(_0x5d0ad2,_0x1bf7f7):_0x5d0ad2,_0x343748=_0x4d9aa7[_0x241607(0x2ba)]-0x1,_0x4e3b09;_0x343748>=0x0;_0x343748--)(_0x4e3b09=_0x4d9aa7[_0x343748])&&(_0x5e648c=_0x4e3b09(_0x5e648c)||_0x5e648c);return _0x5e648c;},ce=(_0x54af4f,_0x220302)=>(_0x112ca3,_0x43a640)=>_0x220302(_0x112ca3,_0x43a640,_0x54af4f),re=(_0x1ac44e=>(_0x1ac44e[_0x1ac44e[_0x4adc58(0x2e3)]=0x0]=_0x4adc58(0x2e3),_0x1ac44e[_0x1ac44e[_0x4adc58(0x18a)]=0x1]=_0x4adc58(0x18a),_0x1ac44e[_0x1ac44e[_0x4adc58(0x43a)]=0x2]=_0x4adc58(0x43a),_0x1ac44e[_0x1ac44e['ONLINE']=0x3]='ONLINE',_0x1ac44e))(re||{});const We={[se[_0x4adc58(0x177)]]:_0x4adc58(0x190),[se[_0x4adc58(0x3f7)]]:_0x4adc58(0x2d3),[se[_0x4adc58(0x48d)]]:_0x4adc58(0x379),[se[_0x4adc58(0x16e)]]:_0x4adc58(0x42f),[se[_0x4adc58(0x3e5)]]:'session.room-cnt-exceeds'};exports[_0x4adc58(0x22e)]=class extends a['RxDisposable']{constructor(_0xbd83d8,_0x5ecabf,_0x1f7eec,_0x176f9c,_0x3f06d0,_0x22b4ae,_0x366ef8,_0x535c9a){var _0x55d404=_0x4adc58;super(),A(this,_0x55d404(0x40d),new H['BehaviorSubject'](0x0)),A(this,_0x55d404(0x38b),this[_0x55d404(0x40d)][_0x55d404(0x228)]()),A(this,_0x55d404(0x29a),new H[(_0x55d404(0x2c5))]()),A(this,_0x55d404(0x2c2),this[_0x55d404(0x29a)][_0x55d404(0x228)]()),A(this,'_socket'),A(this,_0x55d404(0x41d)),A(this,'_collaborationTimeoutTimer'),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x55d404(0x419),null),(this[_0x55d404(0x446)]=_0xbd83d8,this[_0x55d404(0x337)]=_0x1f7eec,this[_0x55d404(0x25b)]=_0x176f9c,this[_0x55d404(0x416)]=_0x3f06d0,this['_commentService']=_0x22b4ae,this[_0x55d404(0x496)]=_0x366ef8,this['_telemetryService']=_0x535c9a,this[_0x55d404(0x44c)]=!!this[_0x55d404(0x37d)],_0x5ecabf['pipe'](H[_0x55d404(0x2d1)](this['dispose$']))[_0x55d404(0x1b8)](_0x4759a0=>{var _0x22e0f9=_0x55d404,_0x514bd0;typeof _0x4759a0>'u'||(this[_0x22e0f9(0x3f2)]=_0x4759a0,_0x4759a0?(this[_0x22e0f9(0x346)](_0x4759a0),this['_socketMessageSubscription']=_0x4759a0[_0x22e0f9(0x15c)][_0x22e0f9(0x1b8)](_0x20b8c4=>{var _0x329af6=_0x22e0f9;_0x20b8c4[_0x329af6(0x274)]===this[_0x329af6(0x446)]&&this['_onCombEvent'](_0x20b8c4);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x22e0f9(0x40d)][_0x22e0f9(0x395)](0x2),(_0x514bd0=this['_socketMessageSubscription'])==null||_0x514bd0[_0x22e0f9(0x325)](),this['_socketMessageSubscription']=null));}));}get[_0x4adc58(0x2ff)](){var _0x946b41=_0x4adc58;return this[_0x946b41(0x40d)][_0x946b41(0x42a)]();}['getMemberID'](){var _0x59a82a=_0x4adc58,_0x6dca3f,_0x378b42;return(_0x378b42=(_0x6dca3f=this[_0x59a82a(0x3f2)])==null?void 0x0:_0x6dca3f[_0x59a82a(0x4a0)])!=null?_0x378b42:null;}[_0x4adc58(0x1d1)](){var _0x5a0d43=_0x4adc58;super[_0x5a0d43(0x1d1)](),this[_0x5a0d43(0x40f)]['next'](),this[_0x5a0d43(0x40f)][_0x5a0d43(0x17f)]();}[_0x4adc58(0x1d7)](){var _0x3ee21e=_0x4adc58,_0x286c0e,_0xb8f2e;this[_0x3ee21e(0x168)](),(_0x286c0e=this[_0x3ee21e(0x3f2)])==null||_0x286c0e[_0x3ee21e(0x1b1)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x3ee21e(0x446)]}}),(_0xb8f2e=this[_0x3ee21e(0x3f2)])==null||_0xb8f2e[_0x3ee21e(0x1d7)](),this['_event$'][_0x3ee21e(0x17f)](),this[_0x3ee21e(0x40d)][_0x3ee21e(0x17f)](),this[_0x3ee21e(0x1d1)]();}[_0x4adc58(0x2d6)](_0x5625cd){var _0x1a2a0e=_0x4adc58;_0x5625cd[_0x1a2a0e(0x1c1)]===W[_0x1a2a0e(0x170)]?this[_0x1a2a0e(0x470)](_0x5625cd):_0x5625cd[_0x1a2a0e(0x1c1)]===W[_0x1a2a0e(0x2a6)]&&this['_onRecvEvent'](_0x5625cd);}[_0x4adc58(0x346)](_0x599047){var _0x2531a9=_0x4adc58;this['_sessionStatus$'][_0x2531a9(0x395)](0x1),_0x599047[_0x2531a9(0x1b1)]({'cmd':W[_0x2531a9(0x170)],'routeKey':this[_0x2531a9(0x446)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2ebcc3){var _0x123544=_0x4adc58,_0x15f31d;if(_0x2ebcc3[_0x123544(0x23f)]in We){this[_0x123544(0x496)][_0x123544(0x245)]({'id':Z[_0x123544(0x481)],'data':We[_0x2ebcc3['code']]}),this[_0x123544(0x40d)][_0x123544(0x395)](0x2);return;}this[_0x123544(0x40d)][_0x123544(0x395)](0x3);const _0x5db905=(_0x15f31d=_0x2ebcc3[_0x123544(0x46c)][_0x123544(0x2ce)][this[_0x123544(0x446)]])==null?void 0x0:_0x15f31d[_0x123544(0x2bd)];_0x5db905&&_0x5db905[_0x123544(0x37b)](_0x5adefc=>this[_0x123544(0x416)][_0x123544(0x3c0)](this[_0x123544(0x446)],_0x5adefc));}['_onRecvEvent'](_0x5e2439){var _0x28ebcd=_0x4adc58;try{const _0x3a4c73=_0x5e2439[_0x28ebcd(0x46c)];switch(_0x3a4c73[_0x28ebcd(0x162)]){case p[_0x28ebcd(0x232)][_0x28ebcd(0x262)]:this[_0x28ebcd(0x387)](_0x3a4c73),this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);break;case p[_0x28ebcd(0x232)][_0x28ebcd(0x433)]:this['_onUserLeave'](_0x3a4c73),this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);break;case p[_0x28ebcd(0x232)][_0x28ebcd(0x39c)]:case p[_0x28ebcd(0x232)][_0x28ebcd(0x3df)]:this[_0x28ebcd(0x194)](),this[_0x28ebcd(0x1dc)](),this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);break;case p[_0x28ebcd(0x232)][_0x28ebcd(0x1ce)]:this[_0x28ebcd(0x337)][_0x28ebcd(0x2f2)](_0x28ebcd(0x425)+JSON[_0x28ebcd(0x247)](_0x3a4c73)),this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);break;case p[_0x28ebcd(0x232)][_0x28ebcd(0x3dd)]:this['_commentService'][_0x28ebcd(0x2a7)](_0x3a4c73[_0x28ebcd(0x46c)]),this[_0x28ebcd(0x29a)]['next'](_0x3a4c73);break;default:this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);}}catch(_0x24abab){this[_0x28ebcd(0x337)][_0x28ebcd(0x2f2)](_0x24abab,_0x5e2439);}}[_0x4adc58(0x387)](_0x2feada){var _0x27c720=_0x4adc58;this['_memberService'][_0x27c720(0x3c0)](this['_unitID'],_0x2feada[_0x27c720(0x46c)]);}['_onUserLeave'](_0x23141c){var _0x301ba7=_0x4adc58;this[_0x301ba7(0x416)][_0x301ba7(0x3bf)](this[_0x301ba7(0x446)],_0x23141c['data']['memberID']);}async[_0x4adc58(0x1b1)](_0x218773,_0x3f2974){var _0x39df7e=_0x4adc58;if(this[_0x39df7e(0x2ff)]!==0x3||!this[_0x39df7e(0x3f2)])throw new Error(_0x39df7e(0x3c7));try{_0x218773['eventID']===p[_0x39df7e(0x232)][_0x39df7e(0x2b3)]&&(this[_0x39df7e(0x3a3)](),this[_0x39df7e(0x1c6)](_0x218773)),this[_0x39df7e(0x3f2)]['send']({'cmd':W[_0x39df7e(0x16a)],'routeKey':_0x3f2974,'routeType':'','data':_0x218773});}catch(_0x34a1b8){this[_0x39df7e(0x337)][_0x39df7e(0x2f2)](_0x34a1b8);}}[_0x4adc58(0x3a3)](){var _0x537f96=_0x4adc58,_0x4d3ec6;this[_0x537f96(0x3d5)]=setTimeout(()=>{var _0x2cde9f=_0x537f96;this[_0x2cde9f(0x3d5)]=null,this[_0x2cde9f(0x496)]['emitEvent']({'id':Z[_0x2cde9f(0x383)]});},(_0x4d3ec6=this[_0x537f96(0x25b)]['getConfig'](ke))!=null?_0x4d3ec6:lt);}[_0x4adc58(0x1dc)](){var _0xf5f20f=_0x4adc58;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0xf5f20f(0x3d5)]),this[_0xf5f20f(0x3d5)]=null);}[_0x4adc58(0x1c6)](_0x32427f){var _0x3893be=_0x4adc58;if(!this[_0x3893be(0x44c)])return;const {data:_0x2f38a7}=_0x32427f,{unitID:_0x1039ed,changeset:_0x5aca95}=_0x2f38a7,{mutations:_0x240e50,type:_0x4b01ba}=_0x5aca95;this[_0x3893be(0x419)]={'unitId':_0x1039ed,'type':_0x4b01ba,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x240e50)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x25cec8=_0x4adc58;if(this[_0x25cec8(0x44c)]){if(!this[_0x25cec8(0x419)]){this[_0x25cec8(0x337)][_0x25cec8(0x2f2)](_0x25cec8(0x1e4),_0x25cec8(0x418));return;}this[_0x25cec8(0x419)][_0x25cec8(0x2e7)]=performance[_0x25cec8(0x478)](),this[_0x25cec8(0x419)][_0x25cec8(0x3d1)]=this[_0x25cec8(0x419)][_0x25cec8(0x2e7)]-this['_telemetryInfo'][_0x25cec8(0x328)],this['_telemetryService']['capture'](Bt,this[_0x25cec8(0x419)]),this['_telemetryInfo']=null;}}[_0x4adc58(0x168)](){var _0x49ea99=_0x4adc58;this[_0x49ea99(0x419)]=null;}},exports[_0x4adc58(0x22e)]=qt([ce(0x2,a[_0x4adc58(0x270)]),ce(0x3,a[_0x4adc58(0x3f1)]),ce(0x4,a['Inject'](exports[_0x4adc58(0x2be)])),ce(0x5,a[_0x4adc58(0x49e)]($e)),ce(0x6,a['Inject'](ee)),ce(0x7,a[_0x4adc58(0x287)](Rt[_0x4adc58(0x34c)]))],exports[_0x4adc58(0x22e)]);const K=a[_0x4adc58(0x359)]('collaboration-client.local-cache-service');function Kt(_0x5596b8){var _0x468e7f=_0x4adc58;return _0x468e7f(0x21b)+_0x5596b8;}var zt=Object['getOwnPropertyDescriptor'],Jt=(_0x16d715,_0x4f7b2d,_0x34455e,_0x2fcdb3)=>{var _0x559f2a=_0x4adc58;for(var _0x21d9e2=_0x2fcdb3>0x1?void 0x0:_0x2fcdb3?zt(_0x4f7b2d,_0x34455e):_0x4f7b2d,_0x58387a=_0x16d715[_0x559f2a(0x2ba)]-0x1,_0xa91ee6;_0x58387a>=0x0;_0x58387a--)(_0xa91ee6=_0x16d715[_0x58387a])&&(_0x21d9e2=_0xa91ee6(_0x21d9e2)||_0x21d9e2);return _0x21d9e2;},Ue=(_0x31c4c2,_0xecbe3)=>(_0x477c91,_0x44a247)=>_0xecbe3(_0x477c91,_0x44a247,_0x31c4c2);function Xt(_0x3d0b86){var _0x485ec3=_0x4adc58;const {unitID:_0x3e8e64,mutations:_0x360a4c}=_0x3d0b86;return{'unitId':_0x3e8e64,'subUnitId':_0x360a4c[0x0][_0x485ec3(0x343)][_0x485ec3(0x362)]};}exports[_0x4adc58(0x18f)]=class{constructor(_0x4635ef,_0x4f5bcc,_0x5eed04){var _0x2efa87=_0x4adc58;this[_0x2efa87(0x20f)]=_0x4635ef,this['_transformService']=_0x4f5bcc,this[_0x2efa87(0x3e1)]=_0x5eed04;}[_0x4adc58(0x2bf)](_0x16b891){var _0x121ab6=_0x4adc58,_0x3ffcfa,_0x2f49b8,_0x4bba39,_0x3924c7;const _0x297c86=this['_injector'][_0x121ab6(0x44b)](X['SheetsSelectionsService']),{unitId:_0x1bf10a,subUnitId:_0x393924}=Xt(_0x16b891),_0x3aed7c=_0x297c86==null?void 0x0:_0x297c86[_0x121ab6(0x477)](_0x1bf10a)[_0x121ab6(0x3ed)](),_0x174270=(_0x2f49b8=(_0x3ffcfa=this['_instanceService']['getUnit'](_0x1bf10a))==null?void 0x0:_0x3ffcfa[_0x121ab6(0x1e7)]())==null?void 0x0:_0x2f49b8['getSheetId']();if(_0x3aed7c[_0x121ab6(0x2ba)]===0x0||!_0x1bf10a||!_0x393924)return;const _0x456bdc=[{'id':X[_0x121ab6(0x2a1)]['id'],'params':{'unitId':_0x1bf10a,'subUnitId':_0x174270,'selections':a[_0x121ab6(0x171)][_0x121ab6(0x19b)](_0x3aed7c)}}],_0x1c4cd4=this[_0x121ab6(0x28d)]['transformMutationsWithChangeset'](_0x16b891,_0x456bdc);if(!p['isTransformMutationsWithChangesetSuccess'](_0x1c4cd4))throw _0x1c4cd4[_0x121ab6(0x2f2)];const _0x1484e6=(_0x3924c7=(_0x4bba39=_0x1c4cd4[_0x121ab6(0x189)][0x0])==null?void 0x0:_0x4bba39['params'])==null?void 0x0:_0x3924c7[_0x121ab6(0x4b2)];if(Array[_0x121ab6(0x2fe)](_0x1484e6)&&_0x1484e6[_0x121ab6(0x2ba)]){if(_0x1484e6[_0x121ab6(0x2ba)]===_0x456bdc[0x0][_0x121ab6(0x343)][_0x121ab6(0x4b2)][_0x121ab6(0x2ba)]&&_0x1484e6['every']((_0x2e7eb0,_0x14d97d)=>a[_0x121ab6(0x498)][_0x121ab6(0x44a)](_0x2e7eb0[_0x121ab6(0x4c9)],_0x456bdc[0x0]['params']['selections'][_0x14d97d][_0x121ab6(0x4c9)])))return;this[_0x121ab6(0x20f)][_0x121ab6(0x44b)](a[_0x121ab6(0x31a)])[_0x121ab6(0x308)](X['SetSelectionsOperation']['id'],{'unitId':_0x1bf10a,'subUnitId':_0x174270,'selections':_0x1484e6});}}},exports[_0x4adc58(0x18f)]=Jt([Ue(0x0,a['Inject'](a[_0x4adc58(0x322)])),Ue(0x1,p[_0x4adc58(0x30f)]),Ue(0x2,a[_0x4adc58(0x46d)])],exports['SheetTransformSelectionsService']);const de=a[_0x4adc58(0x359)](_0x4adc58(0x293));var He=(_0x3c9576=>(_0x3c9576[_0x3c9576[_0x4adc58(0x41a)]=0x0]=_0x4adc58(0x41a),_0x3c9576[_0x3c9576[_0x4adc58(0x1df)]=0x1]='OTHER_CLIENTS_EDITING',_0x3c9576))(He||{});const Y=_0x4adc58(0x3be),Zt={},Qt=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x48d3b8,_0x223bce,_0x5a35e5,_0x24ff51,_0x4224af){var _0x251627=_0x4adc58,_0x4d4630,_0x4ec7aa,_0x51b42a,_0x2f6ee1;const _0x4a61e7=[];for(const _0x255976 of _0x48d3b8)if(Qt[_0x251627(0x3e0)](_0x255976['id'])){if(_0x4a61e7[_0x251627(0x2ba)]>0x0)break;_0x4a61e7[_0x251627(0x286)](_0x255976);break;}else _0x4a61e7[_0x251627(0x286)](_0x255976);const _0xe0450c=(_0x4ec7aa=(_0x4d4630=_0x4224af[_0x251627(0x471)]())==null?void 0x0:_0x4d4630[_0x251627(0x407)])!=null?_0x4ec7aa:'unknown',_0x2e6f4e=(_0x2f6ee1=(_0x51b42a=_0x4224af[_0x251627(0x471)]())==null?void 0x0:_0x51b42a[_0x251627(0x4a0)])!=null?_0x2f6ee1:_0x251627(0x38f);return{'changeset':{'unitID':_0x223bce,'type':p['mapDocumentTypeToUniverType'](_0x5a35e5[_0x251627(0x3b8)](_0x223bce)),'baseRev':_0x24ff51[_0x251627(0x273)](_0x223bce),'revision':0x0,'userID':_0xe0450c,'memberID':_0x2e6f4e,'mutations':_0x4a61e7},'pendingMutations':_0x48d3b8[_0x251627(0x380)](_0x4a61e7['length'])};}function ei(_0x1278ec,_0x47469b,_0x36c65f,_0x6c794d,_0x5ae981){var _0x179ad8=_0x4adc58,_0x413c60,_0x389e4c,_0x237348,_0x1cb571;const _0x125d44=[_0x1278ec['reduce']((_0x8a8cf6,_0x369688)=>{var _0x194de3=_0x2018,_0x5392b6;const {id:_0x194840}=_0x8a8cf6,{id:_0x3fb1e7,type:_0x9af6d5}=_0x369688,_0x5d3f53=(_0x5392b6=_0x8a8cf6[_0x194de3(0x343)])!=null?_0x5392b6:{'actions':null},_0x11f04f=_0x369688['params'];if(_0x194840&&_0x194840!==_0x3fb1e7)throw new Error(_0x194de3(0x311)+_0x194840+_0x194de3(0x233)+_0x3fb1e7+'.');return{..._0x8a8cf6,'id':_0x3fb1e7,'type':_0x9af6d5,'params':{'unitId':_0x11f04f[_0x194de3(0x1f4)],'textRanges':_0x11f04f[_0x194de3(0x16f)],'actions':a['JSONX']['compose'](_0x5d3f53[_0x194de3(0x342)],_0x11f04f[_0x194de3(0x342)])}};},{})],_0x59dd0b=(_0x389e4c=(_0x413c60=_0x5ae981[_0x179ad8(0x471)]())==null?void 0x0:_0x413c60[_0x179ad8(0x407)])!=null?_0x389e4c:_0x179ad8(0x38f),_0x248fd3=(_0x1cb571=(_0x237348=_0x5ae981[_0x179ad8(0x471)]())==null?void 0x0:_0x237348['memberID'])!=null?_0x1cb571:'unknown';return{'changeset':{'unitID':_0x47469b,'type':p['mapDocumentTypeToUniverType'](_0x36c65f[_0x179ad8(0x3b8)](_0x47469b)),'baseRev':_0x6c794d[_0x179ad8(0x273)](_0x47469b),'revision':0x0,'userID':_0x59dd0b,'memberID':_0x248fd3,'mutations':_0x125d44},'pendingMutations':[]};}function _0x2018(_0x47157c,_0x42c0b8){var _0x250a27=_0x250a();return _0x2018=function(_0x2018da,_0x259f9c){_0x2018da=_0x2018da-0x15b;var _0x450115=_0x250a27[_0x2018da];return _0x450115;},_0x2018(_0x47157c,_0x42c0b8);}function St(_0x2e5ed6,_0x123cea){var _0x45455e=_0x4adc58;const _0x2577c6=new H[(_0x45455e(0x253))](0x1);return setTimeout(()=>_0x2577c6[_0x45455e(0x395)](_0x123cea),_0x2e5ed6),_0x2577c6['asObservable']()[_0x45455e(0x2c3)](H[_0x45455e(0x2d5)](0x1));}const ti={'id':X[_0x4adc58(0x1ef)]['id'],'type':a[_0x4adc58(0x3c9)][_0x4adc58(0x276)],'params':{}};var ii=Object['getOwnPropertyDescriptor'],oe=(_0x499969,_0xb222b0,_0x51a35b,_0x17d056)=>{var _0x184cca=_0x4adc58;for(var _0x44c779=_0x17d056>0x1?void 0x0:_0x17d056?ii(_0xb222b0,_0x51a35b):_0xb222b0,_0x279e4b=_0x499969[_0x184cca(0x2ba)]-0x1,_0x30ccb6;_0x279e4b>=0x0;_0x279e4b--)(_0x30ccb6=_0x499969[_0x279e4b])&&(_0x44c779=_0x30ccb6(_0x44c779)||_0x44c779);return _0x44c779;},w=(_0x3232ee,_0x58524d)=>(_0x281a06,_0x219257)=>_0x58524d(_0x281a06,_0x219257,_0x3232ee),je=(_0x21fa96=>(_0x21fa96[_0x4adc58(0x31b)]=_0x4adc58(0x43c),_0x21fa96['SYNCED']='synced',_0x21fa96[_0x4adc58(0x2f3)]=_0x4adc58(0x38d),_0x21fa96['AWAITING']=_0x4adc58(0x361),_0x21fa96['AWAITING_WITH_PENDING']=_0x4adc58(0x1b0),_0x21fa96['FETCH_MISS']='fetch_missing',_0x21fa96['CONFLICT']=_0x4adc58(0x3ce),_0x21fa96['OFFLINE']='offline',_0x21fa96))(je||{});const ft=0xea60;class ae{constructor(_0x40fc55,_0x39cd57,_0xf10255,_0x1b61d2,_0x448146,_0x50dc53,_0x3b899c,_0x36b8fe,_0x363982){var _0x17b0d6=_0x4adc58;A(this,'_awaitingChangeset',null),A(this,_0x17b0d6(0x4b5),[]),(this['unitID']=_0x40fc55,this[_0x17b0d6(0x3b4)]=_0x39cd57,this[_0x17b0d6(0x427)]=_0x448146,this['_commandService']=_0x50dc53,this[_0x17b0d6(0x17e)]=_0x3b899c,this[_0x17b0d6(0x492)]=_0x36b8fe,this[_0x17b0d6(0x1f3)]=_0x363982,this[_0x17b0d6(0x33a)]=_0xf10255,this[_0x17b0d6(0x4b5)]=_0x1b61d2);}[_0x4adc58(0x405)](_0x221044){var _0x50fb6e=_0x4adc58;const _0xfbcf15=this[_0x50fb6e(0x492)][_0x50fb6e(0x273)](this[_0x50fb6e(0x1e3)]);return _0x221044[_0x50fb6e(0x29e)]>_0xfbcf15+0x1?(this[_0x50fb6e(0x427)][_0x50fb6e(0x3c6)]({'from':_0xfbcf15,'to':_0x221044[_0x50fb6e(0x29e)]-0x1}),!0x0):!0x1;}[_0x4adc58(0x2cd)](_0x5f1ac3){var _0x24fdd4=_0x4adc58;this['_undoRedoService'][_0x24fdd4(0x3cb)](this[_0x24fdd4(0x1e3)],_0x5f1ac3);}['_transformSelections'](_0x1f8abf){var _0x4b329e=_0x4adc58,_0x10089f,_0x351689;(_0x351689=(_0x10089f=this['_handler'])[_0x4b329e(0x1b3)])==null||_0x351689[_0x4b329e(0x160)](_0x10089f,_0x1f8abf);}[_0x4adc58(0x35a)](_0x4f5e87){var _0x3fc8fa=_0x4adc58,_0x2932bf,_0x1f750c;return(_0x1f750c=(_0x2932bf=this[_0x3fc8fa(0x427)])[_0x3fc8fa(0x401)])==null?void 0x0:_0x1f750c[_0x3fc8fa(0x160)](_0x2932bf,_0x4f5e87);}[_0x4adc58(0x30c)](_0x2f978a){var _0x2a816c=_0x4adc58,_0x27b87e,_0x53648e;return(_0x53648e=(_0x27b87e=this[_0x2a816c(0x427)])[_0x2a816c(0x2a8)])==null?void 0x0:_0x53648e[_0x2a816c(0x160)](_0x27b87e,_0x2f978a);}[_0x4adc58(0x2f9)](_0x2798a3){var _0x578c45=_0x4adc58,_0x402a34,_0x1d7f29,_0x11a97f;return(_0x11a97f=(_0x1d7f29=(_0x402a34=this[_0x578c45(0x427)])[_0x578c45(0x23b)])==null?void 0x0:_0x1d7f29[_0x578c45(0x160)](_0x402a34,_0x2798a3))!=null?_0x11a97f:_0x2798a3;}[_0x4adc58(0x23d)](_0x2fcb9e){var _0x4797a5=_0x4adc58,_0x2953f3,_0x5545d7,_0x45455b;return(_0x45455b=(_0x5545d7=(_0x2953f3=this[_0x4797a5(0x427)])[_0x4797a5(0x487)])==null?void 0x0:_0x5545d7['call'](_0x2953f3,_0x2fcb9e))!=null?_0x45455b:_0x2fcb9e;}[_0x4adc58(0x413)](_0x2a558e){var _0x47885a=_0x4adc58,_0x381693,_0x388320;if(this['type']===J[_0x47885a(0x3ae)]){const {unitID:_0x438ba2,mutations:_0x2d69df,memberID:_0x5365cf}=_0x2a558e,_0x29d0e1=_0x2d69df[0x0][_0x47885a(0x343)][_0x47885a(0x16f)];Array[_0x47885a(0x2fe)](_0x29d0e1)&&_0x29d0e1[_0x47885a(0x2ba)]>0x0&&((_0x388320=(_0x381693=this[_0x47885a(0x427)])['onSyncEditingCollabCursor'])==null||_0x388320[_0x47885a(0x160)](_0x381693,{'unitID':_0x438ba2,'memberID':_0x5365cf,'textRanges':_0x29d0e1}));}}[_0x4adc58(0x216)](){var _0x23d9d6=_0x4adc58,_0x5f04a3;(_0x5f04a3=this[_0x23d9d6(0x1f3)])==null||_0x5f04a3['updateOfflineData'](this[_0x23d9d6(0x1e3)],this['type'],this[_0x23d9d6(0x33a)],this[_0x23d9d6(0x4b5)]);}[_0x4adc58(0x186)](){var _0x28f1d3=_0x4adc58;return this[_0x28f1d3(0x492)][_0x28f1d3(0x273)](this[_0x28f1d3(0x1e3)]);}[_0x4adc58(0x246)](){var _0x2cc978=_0x4adc58;this[_0x2cc978(0x492)][_0x2cc978(0x314)](this[_0x2cc978(0x1e3)]);}[_0x4adc58(0x271)](_0x37f8ab){var _0x37cc64=_0x4adc58,_0x5eb710;let _0x518be7=this[_0x37cc64(0x2f9)](_0x37f8ab);_0x518be7=this[_0x37cc64(0x23d)](_0x518be7);const _0x31b0ff=a[_0x37cc64(0x374)](_0x518be7[_0x37cc64(0x20a)],this['_commandService'],{'fromCollab':!0x0});if(!_0x31b0ff['result'])throw _0x31b0ff[_0x37cc64(0x2f2)]instanceof Error?_0x31b0ff[_0x37cc64(0x2f2)]:new Error((_0x5eb710=_0x31b0ff['error'])!=null?_0x5eb710:'[CollaborationState]:\x20apply\x20error!');this[_0x37cc64(0x35a)](_0x518be7),this[_0x37cc64(0x30c)](_0x518be7),this[_0x37cc64(0x2cd)](_0x37f8ab),this['_transformSelections'](_0x518be7),this[_0x37cc64(0x413)](_0x518be7),this['_incrementRevisionNumber']();}}exports[_0x4adc58(0x4a4)]=class extends ae{constructor(_0x57d7fe,_0x2aeacf,_0x5ef35b,_0x143ee7,_0x420871,_0x117d38,_0x27897a,_0x14756c,_0xc88f27,_0x18f361){var _0x360c81=_0x4adc58;super(_0x57d7fe,_0x2aeacf,null,[],_0x5ef35b,_0x27897a,_0x117d38,_0x143ee7,_0x18f361),A(this,'status',_0x360c81(0x29d)),(this[_0x360c81(0x20f)]=_0x420871,this[_0x360c81(0x337)]=_0x14756c,this[_0x360c81(0x28d)]=_0xc88f27,this[_0x360c81(0x1c0)]=_0x18f361);}['appendMutation'](_0xcbbcbf){var _0x512e52=_0x4adc58;const _0xcb1776=this[_0x512e52(0x20f)][_0x512e52(0x349)](exports[_0x512e52(0x1ab)],this[_0x512e52(0x1e3)],this[_0x512e52(0x3b4)],[_0xcbbcbf],this[_0x512e52(0x427)]);return _0xcb1776[_0x512e52(0x19e)](),_0xcb1776[_0x512e52(0x216)](),_0xcb1776;}[_0x4adc58(0x2eb)](_0x2e3e6f){var _0x5112d8=_0x4adc58;if(this[_0x5112d8(0x405)](_0x2e3e6f))return this[_0x5112d8(0x20f)][_0x5112d8(0x349)](exports[_0x5112d8(0x1dd)],this[_0x5112d8(0x1e3)],this['type'],null,[],null,[_0x2e3e6f],this['_handler']);try{const _0x6ad39d=this[_0x5112d8(0x28d)][_0x5112d8(0x4aa)](_0x2e3e6f,[ti]);if(p[_0x5112d8(0x172)](_0x6ad39d)){const {c1Prime:_0x717a39}=_0x6ad39d;return this[_0x5112d8(0x271)](_0x717a39),this;}throw _0x6ad39d[_0x5112d8(0x2f2)];}catch(_0x2ef981){return this[_0x5112d8(0x337)]['error'](_0x2ef981),this[_0x5112d8(0x3fe)](!0x1);}}[_0x4adc58(0x3fe)](_0x17441d){var _0x321aa9=_0x4adc58;return this['_injector'][_0x321aa9(0x349)](exports['ConflictState'],this[_0x321aa9(0x1e3)],this['type'],null,[],this[_0x321aa9(0x427)],_0x17441d);}[_0x4adc58(0x199)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x4adc58(0x1c4)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4adc58(0x41f)](){return this;}[_0x4adc58(0x1cc)](){var _0x4b091b=_0x4adc58;return this[_0x4b091b(0x20f)][_0x4b091b(0x349)](exports[_0x4b091b(0x17b)],this[_0x4b091b(0x1e3)],this[_0x4b091b(0x3b4)],null,[],this[_0x4b091b(0x427)]);}[_0x4adc58(0x437)](){return this;}[_0x4adc58(0x3d2)](){var _0x59675a=_0x4adc58;throw new Error(_0x59675a(0x42e));}[_0x4adc58(0x290)](){var _0xccb5d5=_0x4adc58;const _0x5ae5a4=this[_0xccb5d5(0x492)][_0xccb5d5(0x273)](this[_0xccb5d5(0x1e3)]);return this['_handler'][_0xccb5d5(0x3c6)]({'from':_0x5ae5a4,'to':0x0}),this[_0xccb5d5(0x20f)][_0xccb5d5(0x349)](exports['FetchingMissState'],this[_0xccb5d5(0x1e3)],this[_0xccb5d5(0x3b4)],null,[],null,[],this['_handler']);}},exports[_0x4adc58(0x4a4)]=oe([w(0x3,a[_0x4adc58(0x49e)](p['RevisionService'])),w(0x4,a['Inject'](a[_0x4adc58(0x322)])),w(0x5,a[_0x4adc58(0x191)]),w(0x6,a['ICommandService']),w(0x7,a[_0x4adc58(0x270)]),w(0x8,p[_0x4adc58(0x30f)]),w(0x9,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x4a4)]),exports[_0x4adc58(0x1ab)]=class extends ae{constructor(_0x3e6b0c,_0x28db15,_0x1dc0b5,_0x114fdf,_0x3d27e2,_0x3dba59,_0x1676a9,_0x275103,_0x48cf54,_0x40feb4,_0x5783b3,_0x264763,_0x5d2be8,_0x5d7ffa){var _0x4d79cd=_0x4adc58;super(_0x3e6b0c,_0x28db15,null,_0x1dc0b5,_0x114fdf,_0x48cf54,_0x5d2be8,_0x3dba59,_0x5d7ffa),A(this,_0x4d79cd(0x28b),'pending'),A(this,_0x4d79cd(0x16d),null),A(this,'_sendingTimer',null),(this[_0x4d79cd(0x20f)]=_0x3d27e2,this['_memberService']=_0x1676a9,this[_0x4d79cd(0x337)]=_0x275103,this[_0x4d79cd(0x25b)]=_0x40feb4,this[_0x4d79cd(0x28d)]=_0x5783b3,this[_0x4d79cd(0x2b6)]=_0x264763);}[_0x4adc58(0x28e)](_0x1a4283){var _0x2427c7=_0x4adc58;return this[_0x2427c7(0x4b5)][_0x2427c7(0x286)](_0x1a4283),this[_0x2427c7(0x216)](),this;}['onRemoteChangeset'](_0xfcb222){var _0x52baf4=_0x4adc58;if(this[_0x52baf4(0x405)](_0xfcb222))return this['_clearScheduledTask'](),this[_0x52baf4(0x20f)][_0x52baf4(0x349)](exports[_0x52baf4(0x1dd)],this['unitID'],this[_0x52baf4(0x3b4)],null,this[_0x52baf4(0x4b5)],null,[_0xfcb222],this['_handler']);try{const _0x5be192=this[_0x52baf4(0x28d)]['transformMutationsWithChangeset'](_0xfcb222,this[_0x52baf4(0x4b5)]);if(p[_0x52baf4(0x172)](_0x5be192)){const {c1Prime:_0x89031e,m2Prime:_0xe6c883}=_0x5be192;this['_executeRemoteChangeset'](_0x89031e);const _0x161133=this[_0x52baf4(0x20f)][_0x52baf4(0x349)](exports[_0x52baf4(0x1ab)],this[_0x52baf4(0x1e3)],this['type'],_0xe6c883,this[_0x52baf4(0x427)]);this[_0x52baf4(0x23a)]();const _0xcd8e38=new Date()[_0x52baf4(0x462)](),_0x2bcfd2=this[_0x52baf4(0x16d)]?Math[_0x52baf4(0x3e4)](this[_0x52baf4(0x16d)]-_0xcd8e38,0x0):this[_0x52baf4(0x16c)]();return _0x161133[_0x52baf4(0x19e)](_0x2bcfd2),_0x161133;}throw _0x5be192[_0x52baf4(0x2f2)];}catch(_0x212dc4){return this['_logService'][_0x52baf4(0x2f2)](_0x212dc4),this[_0x52baf4(0x3fe)](!0x1);}}[_0x4adc58(0x199)](){var _0x204b70=_0x4adc58;throw new Error(_0x204b70(0x21e));}[_0x4adc58(0x1c4)](){var _0x1c16bd=_0x4adc58;throw new Error(_0x1c16bd(0x403));}['onRemoteRetry'](){return this;}[_0x4adc58(0x1cc)](){var _0x11eb5=_0x4adc58;return this[_0x11eb5(0x23a)](),this[_0x11eb5(0x20f)][_0x11eb5(0x349)](exports[_0x11eb5(0x17b)],this[_0x11eb5(0x1e3)],this[_0x11eb5(0x3b4)],null,this['_pendingMutations'],this[_0x11eb5(0x427)]);}[_0x4adc58(0x437)](){return this;}['_schedule'](_0x9506ca){var _0x173ee9=_0x4adc58;const _0x57e27b=_0x9506ca!=null?_0x9506ca:this[_0x173ee9(0x16c)]();this['_scheduleCompleteTimestamp']=new Date()[_0x173ee9(0x462)]()+_0x57e27b,this[_0x173ee9(0x49b)]=setTimeout(()=>{var _0xe8c2f4=_0x173ee9;this[_0xe8c2f4(0x23a)]();let _0x4e50d8=null;switch(this[_0xe8c2f4(0x3b4)]){case J['UNIVER_SHEET']:{_0x4e50d8=Ge(this[_0xe8c2f4(0x4b5)],this['unitID'],this[_0xe8c2f4(0x2b6)],this[_0xe8c2f4(0x492)],this[_0xe8c2f4(0x416)]);break;}case J[_0xe8c2f4(0x3ae)]:{this[_0xe8c2f4(0x4b5)][_0xe8c2f4(0x30a)](_0x526dba=>_0x526dba['id']===ct[_0xe8c2f4(0x195)]['id'])?_0x4e50d8=ei(this[_0xe8c2f4(0x4b5)],this['unitID'],this[_0xe8c2f4(0x2b6)],this[_0xe8c2f4(0x492)],this['_memberService']):_0x4e50d8=Ge(this[_0xe8c2f4(0x4b5)],this['unitID'],this[_0xe8c2f4(0x2b6)],this[_0xe8c2f4(0x492)],this[_0xe8c2f4(0x416)]);break;}default:throw new Error(_0xe8c2f4(0x4a9)+this[_0xe8c2f4(0x3b4)]+'\x20in\x20_schedule.');}const {changeset:_0x563197,pendingMutations:_0x5bf79d}=_0x4e50d8;this[_0xe8c2f4(0x427)][_0xe8c2f4(0x426)](_0x563197);const _0x3fcc67=_0x5bf79d['length']?this['_injector'][_0xe8c2f4(0x349)](exports['AwaitingWithPendingState'],this[_0xe8c2f4(0x1e3)],this['type'],_0x563197,_0x5bf79d,this['_handler'],void 0x0):this[_0xe8c2f4(0x20f)][_0xe8c2f4(0x349)](exports[_0xe8c2f4(0x27a)],this[_0xe8c2f4(0x1e3)],this[_0xe8c2f4(0x3b4)],_0x563197,this[_0xe8c2f4(0x427)]);_0x3fcc67[_0xe8c2f4(0x216)](),this[_0xe8c2f4(0x427)][_0xe8c2f4(0x388)](this,_0x3fcc67);},_0x57e27b);}[_0x4adc58(0x16c)](){var _0x18826e=_0x4adc58,_0x4f18d8;const _0x2f3f85=this['_configService'][_0x18826e(0x392)](Y);return(_0x4f18d8=_0x2f3f85==null?void 0x0:_0x2f3f85['sendChangesetTimeout'])!=null?_0x4f18d8:Ut;}[_0x4adc58(0x3d2)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4adc58(0x23a)](){var _0x212443=_0x4adc58;this[_0x212443(0x49b)]!=null&&(clearTimeout(this[_0x212443(0x49b)]),this[_0x212443(0x49b)]=null);}[_0x4adc58(0x3fe)](_0xb69ab4){var _0x4f7cf1=_0x4adc58;return this[_0x4f7cf1(0x23a)](),this[_0x4f7cf1(0x20f)][_0x4f7cf1(0x349)](exports[_0x4f7cf1(0x29c)],this['unitID'],this[_0x4f7cf1(0x3b4)],null,this[_0x4f7cf1(0x4b5)],this[_0x4f7cf1(0x427)],_0xb69ab4);}},exports[_0x4adc58(0x1ab)]=oe([w(0x4,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),w(0x5,a['Inject'](p[_0x4adc58(0x38a)])),w(0x6,a[_0x4adc58(0x49e)](exports[_0x4adc58(0x2be)])),w(0x7,a[_0x4adc58(0x270)]),w(0x8,a[_0x4adc58(0x31a)]),w(0x9,a[_0x4adc58(0x3f1)]),w(0xa,p[_0x4adc58(0x30f)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x4adc58(0x191)]),w(0xd,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x1ab)]),exports['AwaitingState']=class extends ae{constructor(_0x3815d8,_0x3c1029,_0x55e17d,_0x5940ea,_0xd3b1db,_0x241c90,_0xd0ab7a,_0x5b264c,_0x258b54,_0xe2c061,_0x144d76){var _0x5d265b=_0x4adc58;super(_0x3815d8,_0x3c1029,_0x55e17d,[],_0x5940ea,_0xd0ab7a,_0xe2c061,_0x241c90,_0x144d76),A(this,'status',_0x5d265b(0x361)),A(this,'_resendTimeout',0x0),A(this,_0x5d265b(0x167)),A(this,'_sender'),(this[_0x5d265b(0x20f)]=_0xd3b1db,this[_0x5d265b(0x337)]=_0x5b264c,this['_transformService']=_0x258b54);}[_0x4adc58(0x28e)](_0x2e0628){var _0x5f52c9=_0x4adc58;this[_0x5f52c9(0x23a)]();const _0x2d2f6b=this[_0x5f52c9(0x20f)][_0x5f52c9(0x349)](exports[_0x5f52c9(0x182)],this[_0x5f52c9(0x1e3)],this[_0x5f52c9(0x3b4)],this[_0x5f52c9(0x33a)],[_0x2e0628],this[_0x5f52c9(0x427)],this[_0x5f52c9(0x167)]);return _0x2d2f6b[_0x5f52c9(0x216)](),_0x2d2f6b;}[_0x4adc58(0x2eb)](_0x375552){var _0x69175c=_0x4adc58;if(this[_0x69175c(0x405)](_0x375552))return this['_clearScheduledTask'](),this[_0x69175c(0x20f)]['createInstance'](exports['FetchingMissState'],this[_0x69175c(0x1e3)],this[_0x69175c(0x3b4)],this[_0x69175c(0x33a)],[],null,[_0x375552],this[_0x69175c(0x427)]);try{const _0x10a7d8=this[_0x69175c(0x28d)]['transformChangesets']([_0x375552],[this[_0x69175c(0x33a)]],!0x1);if(p[_0x69175c(0x2ee)](_0x10a7d8)){const {c1Prime:_0x113f0f,c2Prime:_0x11b236}=_0x10a7d8;this[_0x69175c(0x271)](_0x113f0f[0x0]),_0x11b236[0x0][_0x69175c(0x165)]=this[_0x69175c(0x186)](),this[_0x69175c(0x23a)]();const _0x5d73e2=this[_0x69175c(0x20f)]['createInstance'](exports[_0x69175c(0x27a)],this[_0x69175c(0x1e3)],this[_0x69175c(0x3b4)],_0x11b236[0x0],this[_0x69175c(0x427)]);return _0x5d73e2[_0x69175c(0x216)](),_0x5d73e2;}return this['_onConflict'](!0x1);}catch(_0x4260d4){return this[_0x69175c(0x337)]['error'](_0x4260d4),this[_0x69175c(0x3fe)](!0x1);}}['onRemoteAck'](_0x19d5e1){var _0x4dc3e6=_0x4adc58;this[_0x4dc3e6(0x23a)]();const _0x55b294=this[_0x4dc3e6(0x492)][_0x4dc3e6(0x273)](this[_0x4dc3e6(0x1e3)]);if(_0x19d5e1['revision']<_0x55b294-0x1)return this;if(this[_0x4dc3e6(0x405)](_0x19d5e1))return this[_0x4dc3e6(0x20f)][_0x4dc3e6(0x349)](exports[_0x4dc3e6(0x1dd)],this['unitID'],this[_0x4dc3e6(0x3b4)],null,[],this[_0x4dc3e6(0x33a)],[],this[_0x4dc3e6(0x427)]);this[_0x4dc3e6(0x246)]();const _0x4b2a69=this['_injector'][_0x4dc3e6(0x349)](exports[_0x4dc3e6(0x4a4)],this['unitID'],this[_0x4dc3e6(0x3b4)],this[_0x4dc3e6(0x427)]);return _0x4b2a69['_updateLocalCache'](),_0x4b2a69;}[_0x4adc58(0x1c4)](_0x152748){var _0x579920=_0x4adc58;return this[_0x579920(0x3fe)](!!(_0x152748!=null&&_0x152748[_0x579920(0x321)]));}[_0x4adc58(0x41f)](_0x2e539e){var _0x46a0f4=_0x4adc58;return this[_0x46a0f4(0x231)]>ft?this[_0x46a0f4(0x1cc)]():(this['_resendTimer']=St(this[_0x46a0f4(0x231)],{'timeout':this[_0x46a0f4(0x231)],'reqId':_0x2e539e[_0x46a0f4(0x17c)]}),this[_0x46a0f4(0x24b)]=this['_resendTimer'][_0x46a0f4(0x1b8)](({reqId:_0x33171e,timeout:_0x8ef8c3})=>{this['_resendWithTimeout'](_0x33171e,_0x8ef8c3);}),this);}[_0x4adc58(0x1cc)](){var _0xd3508=_0x4adc58;return this[_0xd3508(0x23a)](),this[_0xd3508(0x20f)][_0xd3508(0x349)](exports['OfflineState'],this[_0xd3508(0x1e3)],this['type'],this[_0xd3508(0x33a)],[],this[_0xd3508(0x427)]);}[_0x4adc58(0x437)](){return this;}[_0x4adc58(0x3d2)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x4adc58(0x3fe)](_0x49c5d8){var _0x367e24=_0x4adc58;return this[_0x367e24(0x23a)](),this[_0x367e24(0x20f)][_0x367e24(0x349)](exports[_0x367e24(0x29c)],this[_0x367e24(0x1e3)],this[_0x367e24(0x3b4)],this['_awaitingChangeset'],[],this['_handler'],_0x49c5d8);}['_resendWithTimeout'](_0x58529b,_0x2c4ac5){var _0x51b2ef=_0x4adc58,_0x47c34f;_0x58529b===((_0x47c34f=this[_0x51b2ef(0x33a)])==null?void 0x0:_0x47c34f['reqId'])&&(this[_0x51b2ef(0x3d2)](),this[_0x51b2ef(0x231)]=_0x2c4ac5===0x0?0x3e8:_0x2c4ac5*0x2);}[_0x4adc58(0x23a)](){var _0x4bbeb0=_0x4adc58,_0x31a6c0;(_0x31a6c0=this[_0x4bbeb0(0x24b)])==null||_0x31a6c0[_0x4bbeb0(0x325)](),this[_0x4bbeb0(0x231)]=0x0;}},exports[_0x4adc58(0x27a)]=oe([w(0x4,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),w(0x5,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,p[_0x4adc58(0x30f)]),w(0x9,a[_0x4adc58(0x191)]),w(0xa,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x27a)]),exports[_0x4adc58(0x182)]=class extends ae{constructor(_0x235649,_0x390197,_0x38794d,_0x357e50,_0x1f9831,_0x2a8add,_0x3dc379,_0x466d75,_0x1d4f45,_0xe1b6dd,_0x33defc,_0x652ded,_0x57d320){var _0x3a8b6=_0x4adc58;super(_0x235649,_0x390197,_0x38794d,_0x357e50,_0x1f9831,_0x1d4f45,_0x652ded,_0x466d75,_0x57d320),A(this,'status',_0x3a8b6(0x1b0)),A(this,_0x3a8b6(0x231),0x0),A(this,'_resendTimer'),A(this,_0x3a8b6(0x24b)),(this[_0x3a8b6(0x20f)]=_0x3dc379,this[_0x3a8b6(0x337)]=_0xe1b6dd,this[_0x3a8b6(0x28d)]=_0x33defc,this[_0x3a8b6(0x1c0)]=_0x57d320,_0x2a8add&&(this[_0x3a8b6(0x167)]=_0x2a8add,this[_0x3a8b6(0x24b)]=this[_0x3a8b6(0x167)][_0x3a8b6(0x1b8)](({reqId:_0x232a97,timeout:_0x890230})=>{var _0x313bcd=_0x3a8b6;this[_0x313bcd(0x1bb)](_0x232a97,_0x890230);})));}[_0x4adc58(0x28e)](_0x58ce9e){var _0x4d9064=_0x4adc58;return this[_0x4d9064(0x4b5)][_0x4d9064(0x286)](_0x58ce9e),this;}[_0x4adc58(0x2eb)](_0x1b6f14){var _0x9fae53=_0x4adc58;if(this[_0x9fae53(0x405)](_0x1b6f14))return this[_0x9fae53(0x23a)](),this[_0x9fae53(0x20f)][_0x9fae53(0x349)](exports[_0x9fae53(0x1dd)],this[_0x9fae53(0x1e3)],this[_0x9fae53(0x3b4)],this[_0x9fae53(0x33a)],this[_0x9fae53(0x4b5)],null,[_0x1b6f14],this['_handler']);try{const _0x2d395e=this[_0x9fae53(0x28d)][_0x9fae53(0x483)]([_0x1b6f14],[this[_0x9fae53(0x33a)]],!0x1);if(p[_0x9fae53(0x2ee)](_0x2d395e)){const {c1Prime:_0x3e9405,c2Prime:_0x57f030}=_0x2d395e,_0x5cb845=this[_0x9fae53(0x28d)]['transformMutationsWithChangeset'](_0x3e9405[0x0],this[_0x9fae53(0x4b5)]);if(p[_0x9fae53(0x172)](_0x5cb845)){const {c1Prime:_0x42acfa,m2Prime:_0x4ef517}=_0x5cb845;return this['_executeRemoteChangeset'](_0x42acfa),_0x57f030[0x0][_0x9fae53(0x165)]=this['_getCurrentRevision'](),this[_0x9fae53(0x23a)](),this[_0x9fae53(0x20f)][_0x9fae53(0x349)](exports[_0x9fae53(0x182)],this[_0x9fae53(0x1e3)],this[_0x9fae53(0x3b4)],_0x57f030[0x0],_0x4ef517,this[_0x9fae53(0x427)],void 0x0);}throw _0x5cb845[_0x9fae53(0x2f2)];}throw _0x2d395e[_0x9fae53(0x2f2)];}catch(_0x3b3a2a){return this[_0x9fae53(0x337)][_0x9fae53(0x2f2)](_0x3b3a2a),this[_0x9fae53(0x3fe)](!0x1);}}[_0x4adc58(0x199)](_0xc35949){var _0x14eef8=_0x4adc58;if(this[_0x14eef8(0x23a)](),this[_0x14eef8(0x405)](_0xc35949))return this[_0x14eef8(0x20f)]['createInstance'](exports[_0x14eef8(0x1dd)],this['unitID'],this[_0x14eef8(0x3b4)],null,this[_0x14eef8(0x4b5)],this['_awaitingChangeset'],[],this[_0x14eef8(0x427)]);this[_0x14eef8(0x246)]();const _0x50baef=this[_0x14eef8(0x20f)]['createInstance'](exports[_0x14eef8(0x1ab)],this[_0x14eef8(0x1e3)],this[_0x14eef8(0x3b4)],this[_0x14eef8(0x4b5)],this[_0x14eef8(0x427)]);return _0x50baef['_schedule'](),_0x50baef['_updateLocalCache'](),_0x50baef;}['onRemoteRej'](_0xfabd6a){var _0x5ac9a0=_0x4adc58;return this[_0x5ac9a0(0x3fe)](!!(_0xfabd6a!=null&&_0xfabd6a[_0x5ac9a0(0x321)]));}['onRemoteRetry'](_0x5783f4){var _0x54f592=_0x4adc58;return this[_0x54f592(0x231)]>ft?this[_0x54f592(0x1cc)]():(this[_0x54f592(0x167)]=St(this[_0x54f592(0x231)],{'timeout':this[_0x54f592(0x231)],'reqId':_0x5783f4[_0x54f592(0x17c)]}),this[_0x54f592(0x24b)]=this[_0x54f592(0x167)][_0x54f592(0x1b8)](({reqId:_0x6df523,timeout:_0x3adbc4})=>{var _0x16e532=_0x54f592;this[_0x16e532(0x1bb)](_0x6df523,_0x3adbc4);}),this);}[_0x4adc58(0x1cc)](){var _0x486629=_0x4adc58;return this[_0x486629(0x23a)](),this[_0x486629(0x20f)][_0x486629(0x349)](exports[_0x486629(0x17b)],this[_0x486629(0x1e3)],this['type'],this[_0x486629(0x33a)],this[_0x486629(0x4b5)],this[_0x486629(0x427)]);}[_0x4adc58(0x437)](){return this;}[_0x4adc58(0x3d2)](){var _0x4449e4=_0x4adc58;this['_handler'][_0x4449e4(0x426)](this[_0x4449e4(0x33a)]);}[_0x4adc58(0x3fe)](_0x69dd7d){var _0x3e4cc4=_0x4adc58;return this['_clearScheduledTask'](),this[_0x3e4cc4(0x20f)][_0x3e4cc4(0x349)](exports[_0x3e4cc4(0x29c)],this[_0x3e4cc4(0x1e3)],this['type'],null,this[_0x3e4cc4(0x4b5)],this['_handler'],_0x69dd7d);}[_0x4adc58(0x1bb)](_0x2ce058,_0x4236a1){var _0xb9636=_0x4adc58,_0x24f6da;_0x2ce058===((_0x24f6da=this['_awaitingChangeset'])==null?void 0x0:_0x24f6da['reqId'])&&(this[_0xb9636(0x3d2)](),this['_resendTimeout']=_0x4236a1===0x0?0x3e8:_0x4236a1*0x2);}[_0x4adc58(0x23a)](){var _0x28ca3f=_0x4adc58,_0x4c611d;(_0x4c611d=this[_0x28ca3f(0x24b)])==null||_0x4c611d[_0x28ca3f(0x325)](),this[_0x28ca3f(0x231)]=0x0;}},exports[_0x4adc58(0x182)]=oe([w(0x6,a[_0x4adc58(0x49e)](a['Injector'])),w(0x7,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),w(0x8,a[_0x4adc58(0x31a)]),w(0x9,a['ILogService']),w(0xa,p[_0x4adc58(0x30f)]),w(0xb,a[_0x4adc58(0x191)]),w(0xc,a[_0x4adc58(0x287)](K))],exports['AwaitingWithPendingState']),exports['ConflictState']=class extends ae{constructor(_0x1d588f,_0x477842,_0x53d596,_0x1fdec1,_0x12633b,_0x3c91ac=!0x1,_0x14707f,_0x92ad13,_0x2d0fd4,_0x2831b8,_0x4b11ce,_0x1bbad9,_0x1bc78b){var _0xfc6454=_0x4adc58;super(_0x1d588f,_0x477842,_0x53d596,_0x1fdec1,_0x12633b,_0x92ad13,_0x2d0fd4,_0x2831b8,_0x1bc78b),A(this,_0xfc6454(0x28b),_0xfc6454(0x3ce)),(this[_0xfc6454(0x32e)]=_0x3c91ac,this['_permissionService']=_0x14707f,this[_0xfc6454(0x2f6)]=_0x4b11ce,this['_collaborationUIEventService']=_0x1bbad9,this['localCacheService']=_0x1bc78b,this['_showConflictNotification'](),this[_0xfc6454(0x365)](),this[_0xfc6454(0x2d2)]());}[_0x4adc58(0x28e)](){return this;}[_0x4adc58(0x2eb)](){return this;}[_0x4adc58(0x199)](){return this;}[_0x4adc58(0x1c4)](){return this;}[_0x4adc58(0x41f)](){return this;}[_0x4adc58(0x1cc)](){return this;}[_0x4adc58(0x437)](){return this;}[_0x4adc58(0x3d2)](){var _0x415c76=_0x4adc58;throw new Error(_0x415c76(0x2e6));}[_0x4adc58(0x365)](){var _0x52a45b=_0x4adc58,_0x238b8d;(_0x238b8d=this[_0x52a45b(0x1f3)])==null||_0x238b8d['updateOfflineData'](this[_0x52a45b(0x1e3)],this[_0x52a45b(0x3b4)],null,[]);}[_0x4adc58(0x415)](){var _0x2ae595=_0x4adc58;this[_0x2ae595(0x32e)]?this[_0x2ae595(0x496)][_0x2ae595(0x245)]({'id':Z[_0x2ae595(0x263)]}):this[_0x2ae595(0x496)][_0x2ae595(0x245)]({'id':Z[_0x2ae595(0x3fb)]});}[_0x4adc58(0x2d2)](){var _0x57dff5=_0x4adc58;this[_0x57dff5(0x15d)][_0x57dff5(0x230)](new X[(_0x57dff5(0x32f))](this[_0x57dff5(0x1e3)])['id'],!0x1);}},exports[_0x4adc58(0x29c)]=oe([w(0x6,a[_0x4adc58(0x49e)](a[_0x4adc58(0x3b3)])),w(0x7,a[_0x4adc58(0x31a)]),w(0x8,a[_0x4adc58(0x191)]),w(0x9,a[_0x4adc58(0x49e)](p['RevisionService'])),w(0xa,a[_0x4adc58(0x49e)](a['LocaleService'])),w(0xb,a[_0x4adc58(0x49e)](ee)),w(0xc,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x29c)]),exports[_0x4adc58(0x17b)]=class extends ae{constructor(_0x4fb037,_0x4a3ecf,_0x13ada8,_0x420d3d,_0x35b057,_0x37ded2,_0x29328a,_0xc05747,_0x53d1dd,_0x414c5b){var _0x2a8d8=_0x4adc58;super(_0x4fb037,_0x4a3ecf,_0x13ada8,_0x420d3d,_0x35b057,_0xc05747,_0x53d1dd,_0x29328a,_0x414c5b),A(this,_0x2a8d8(0x28b),_0x2a8d8(0x44f)),this[_0x2a8d8(0x20f)]=_0x37ded2;}[_0x4adc58(0x28e)](_0x1a08a1){var _0x241291=_0x4adc58;return this[_0x241291(0x4b5)][_0x241291(0x286)](_0x1a08a1),this[_0x241291(0x216)](),this;}[_0x4adc58(0x2eb)](_0x3b8451){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4adc58(0x199)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4adc58(0x41f)](){return this;}['toggleOffline'](){return this;}[_0x4adc58(0x437)](){var _0x3cdc6a=_0x4adc58;const {_injector:_0x4a03ed,_pendingMutations:_0x384b86,_awaitingChangeset:_0x5aec1e,unitID:_0x17985a,_handler:_0x276ce7,type:_0x5860c4}=this,_0x5d1114=It(_0x4a03ed,_0x17985a,_0x5860c4,_0x5aec1e,_0x384b86,_0x276ce7);return _0x5d1114 instanceof exports[_0x3cdc6a(0x1ab)]?_0x5d1114['_schedule']():(_0x5d1114 instanceof exports[_0x3cdc6a(0x182)]||_0x5d1114 instanceof exports[_0x3cdc6a(0x27a)])&&_0x5d1114['resend'](),_0x5d1114;}[_0x4adc58(0x3d2)](){var _0x3b2001=_0x4adc58;throw new Error(_0x3b2001(0x428));}},exports[_0x4adc58(0x17b)]=oe([w(0x5,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),w(0x6,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),w(0x7,a[_0x4adc58(0x31a)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Optional'](K))],exports[_0x4adc58(0x17b)]),exports[_0x4adc58(0x1dd)]=class extends ae{constructor(_0x5692c3,_0x52936b,_0x4bf64a,_0x305d79,_0x27f61a,_0x3150db,_0x812116,_0x56d216,_0x40d6ec,_0x4730fc,_0x577dc8,_0x46c997,_0x56ecf8,_0x35cc7d){var _0x34e647=_0x4adc58;super(_0x5692c3,_0x52936b,_0x4bf64a,_0x305d79,_0x812116,_0x577dc8,_0x46c997,_0x40d6ec,_0x35cc7d),A(this,_0x34e647(0x28b),_0x34e647(0x27e)),(this[_0x34e647(0x350)]=_0x27f61a,this[_0x34e647(0x1fb)]=_0x3150db,this['_injector']=_0x56d216,this[_0x34e647(0x337)]=_0x4730fc,this[_0x34e647(0x28d)]=_0x56ecf8,this[_0x34e647(0x1c0)]=_0x35cc7d);}[_0x4adc58(0x2fb)](_0x2e59d2){var _0xf4602f=_0x4adc58;try{const _0x41afe2=[..._0x2e59d2,...this['_queuedRemoteChangesets']],_0x4fe57a=[this[_0xf4602f(0x33a)]||this[_0xf4602f(0x350)]]['filter'](_0x57d3e6=>!!_0x57d3e6);let _0x198bf3,_0x1ef6ad;if(_0x4fe57a[_0xf4602f(0x2ba)]){const _0x564171=this['_transformService']['transformChangesets'](_0x41afe2,_0x4fe57a,!0x1);if(!p[_0xf4602f(0x2ee)](_0x564171))throw _0x564171[_0xf4602f(0x2f2)];_0x198bf3=_0x564171[_0xf4602f(0x46a)],_0x1ef6ad=_0x564171[_0xf4602f(0x211)];}else _0x198bf3=_0x41afe2,_0x1ef6ad=[];let _0x4ef3db=this[_0xf4602f(0x4b5)];_0x198bf3[_0xf4602f(0x37b)](_0x2eec32=>{var _0x53da97=_0xf4602f;let _0x51e105;if(_0x4ef3db[_0x53da97(0x2ba)]){const _0x428245=this[_0x53da97(0x28d)][_0x53da97(0x4aa)](_0x2eec32,_0x4ef3db);if(!p[_0x53da97(0x172)](_0x428245))throw _0x428245[_0x53da97(0x2f2)];_0x51e105=_0x428245[_0x53da97(0x46a)],_0x4ef3db=_0x428245[_0x53da97(0x189)];}else _0x51e105=_0x2eec32;this[_0x53da97(0x271)](_0x51e105);}),this[_0xf4602f(0x350)]&&this['_incrementRevisionNumber'](),this[_0xf4602f(0x33a)]&&_0x1ef6ad[_0xf4602f(0x2ba)]&&(_0x1ef6ad[0x0]['baseRev']=this[_0xf4602f(0x186)]());let _0x3895e4;if(this[_0xf4602f(0x33a)]&&_0x4ef3db['length']!==0x0)_0x3895e4=this[_0xf4602f(0x20f)][_0xf4602f(0x349)](exports['AwaitingWithPendingState'],this[_0xf4602f(0x1e3)],this['type'],_0x1ef6ad[0x0],_0x4ef3db,this[_0xf4602f(0x427)],void 0x0);else{if(this[_0xf4602f(0x33a)]&&_0x4ef3db[_0xf4602f(0x2ba)]===0x0)_0x1ef6ad[0x0][_0xf4602f(0x165)]=this[_0xf4602f(0x186)](),_0x3895e4=this['_injector'][_0xf4602f(0x349)](exports[_0xf4602f(0x27a)],this['unitID'],this['type'],_0x1ef6ad[0x0],this['_handler']);else{if(_0x4ef3db[_0xf4602f(0x2ba)]!==0x0){const _0x216619=this[_0xf4602f(0x20f)]['createInstance'](exports[_0xf4602f(0x1ab)],this[_0xf4602f(0x1e3)],this[_0xf4602f(0x3b4)],_0x4ef3db,this[_0xf4602f(0x427)]);_0x216619[_0xf4602f(0x19e)](),_0x3895e4=_0x216619;}else _0x3895e4=this[_0xf4602f(0x20f)][_0xf4602f(0x349)](exports[_0xf4602f(0x4a4)],this[_0xf4602f(0x1e3)],this[_0xf4602f(0x3b4)],this[_0xf4602f(0x427)]);}}return _0x3895e4['_updateLocalCache'](),_0x3895e4;}catch(_0x386403){return this[_0xf4602f(0x337)][_0xf4602f(0x2f2)](_0xf4602f(0x1ad),'failed\x20to\x20apply\x20missed\x20changesets!',_0x386403),this[_0xf4602f(0x20f)][_0xf4602f(0x349)](exports['ConflictState'],this[_0xf4602f(0x1e3)],this[_0xf4602f(0x3b4)],this[_0xf4602f(0x33a)],this['_pendingMutations'],this[_0xf4602f(0x427)],!0x1);}}['resend'](){var _0x343d91=_0x4adc58;throw new Error(_0x343d91(0x204));}[_0x4adc58(0x28e)](_0x145ac8){return this['_pendingMutations']['push'](_0x145ac8),this;}[_0x4adc58(0x2eb)](_0x31d550){var _0xdb8203=_0x4adc58;return this[_0xdb8203(0x1fb)][_0xdb8203(0x286)](_0x31d550),this;}[_0x4adc58(0x199)](_0x4ea77d){var _0x5ec5f8=_0x4adc58;if(this[_0x5ec5f8(0x33a)])return this[_0x5ec5f8(0x350)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x5ec5f8(0x323));}[_0x4adc58(0x1c4)](_0x468d4c){var _0x10ae3e=_0x4adc58;return this['_onConflict'](!!(_0x468d4c!=null&&_0x468d4c[_0x10ae3e(0x321)]));}[_0x4adc58(0x41f)](){return this;}['toggleOffline'](){var _0x11903d=_0x4adc58;return this[_0x11903d(0x20f)]['createInstance'](exports['OfflineState'],this[_0x11903d(0x1e3)],this[_0x11903d(0x3b4)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x11903d(0x427)]);}['toggleOnline'](){return this;}[_0x4adc58(0x3fe)](_0x1d2b01){var _0x3ecb5d=_0x4adc58;return this[_0x3ecb5d(0x20f)][_0x3ecb5d(0x349)](exports[_0x3ecb5d(0x29c)],this[_0x3ecb5d(0x1e3)],this[_0x3ecb5d(0x3b4)],this['_awaitingChangeset'],this[_0x3ecb5d(0x4b5)],this[_0x3ecb5d(0x427)],_0x1d2b01);}},exports[_0x4adc58(0x1dd)]=oe([w(0x7,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),w(0x8,a['Inject'](p[_0x4adc58(0x38a)])),w(0x9,a[_0x4adc58(0x270)]),w(0xa,a[_0x4adc58(0x31a)]),w(0xb,a[_0x4adc58(0x191)]),w(0xc,p['ITransformService']),w(0xd,a['Optional'](K))],exports['FetchingMissState']);function It(_0xcafa2d,_0x61f595,_0x1215e3,_0x76dab9,_0x3adb55,_0xae84cd){var _0x2ceed1=_0x4adc58;return _0x76dab9&&_0x3adb55[_0x2ceed1(0x2ba)]?_0xcafa2d[_0x2ceed1(0x349)](exports[_0x2ceed1(0x182)],_0x61f595,_0x1215e3,_0x76dab9,_0x3adb55,_0xae84cd,void 0x0):_0x76dab9?_0xcafa2d[_0x2ceed1(0x349)](exports['AwaitingState'],_0x61f595,_0x1215e3,_0x76dab9,_0xae84cd):_0x3adb55[_0x2ceed1(0x2ba)]?_0xcafa2d[_0x2ceed1(0x349)](exports['PendingState'],_0x61f595,_0x1215e3,_0x3adb55,_0xae84cd):_0xcafa2d[_0x2ceed1(0x349)](exports[_0x2ceed1(0x4a4)],_0x61f595,_0x1215e3,_0xae84cd);}var ni=Object[_0x4adc58(0x3af)],Be=(_0x44182c,_0x5d5a74,_0x2ac47c,_0x4d685c)=>{var _0x58f316=_0x4adc58;for(var _0x1a9f56=_0x4d685c>0x1?void 0x0:_0x4d685c?ni(_0x5d5a74,_0x2ac47c):_0x5d5a74,_0x4b525c=_0x44182c[_0x58f316(0x2ba)]-0x1,_0x139734;_0x4b525c>=0x0;_0x4b525c--)(_0x139734=_0x44182c[_0x4b525c])&&(_0x1a9f56=_0x139734(_0x1a9f56)||_0x1a9f56);return _0x1a9f56;},j=(_0x302590,_0xc6d372)=>(_0x2ddace,_0x4166e0)=>_0xc6d372(_0x2ddace,_0x4166e0,_0x302590);exports[_0x4adc58(0x3a0)]=class extends a[_0x4adc58(0x34a)]{constructor(_0x5b9fd1,_0x34c182,_0x44ceff,_0x150632,_0x223f61,_0x277971,_0x51e549,_0x1c389b,_0x2153df,_0x4b498f,_0x4ff411,_0x5e2b3d,_0x4d94c3){var _0x4b9130=_0x4adc58;super(),A(this,_0x4b9130(0x414),new H[(_0x4b9130(0x3b0))](null)),A(this,_0x4b9130(0x376),this[_0x4b9130(0x414)]['asObservable']()),A(this,_0x4b9130(0x202)),A(this,_0x4b9130(0x251),!0x1),A(this,_0x4b9130(0x474),''),A(this,_0x4b9130(0x3eb),0x0),A(this,_0x4b9130(0x33d),this[_0x4b9130(0x376)]['pipe'](H[_0x4b9130(0x1ea)](_0x3d8244=>_0x3d8244?_0x3d8244[_0x4b9130(0x28b)]:je[_0x4b9130(0x43a)]),H[_0x4b9130(0x1a2)](0x1))),A(this,_0x4b9130(0x20e),!0x1),A(this,_0x4b9130(0x456),[]),(this[_0x4b9130(0x1e3)]=_0x5b9fd1,this['session']=_0x34c182,this['_type']=_0x44ceff,this[_0x4b9130(0x20f)]=_0x150632,this['_compressMutationService']=_0x223f61,this[_0x4b9130(0x2f6)]=_0x277971,this[_0x4b9130(0x492)]=_0x51e549,this[_0x4b9130(0x183)]=_0x1c389b,this[_0x4b9130(0x337)]=_0x2153df,this[_0x4b9130(0x41c)]=_0x4b498f,this['_permissionService']=_0x4ff411,this[_0x4b9130(0x2ef)]=_0x5e2b3d,this[_0x4b9130(0x1f3)]=_0x4d94c3);}get[_0x4adc58(0x339)](){var _0x2ff6e3=_0x4adc58;return this[_0x2ff6e3(0x202)];}async[_0x4adc58(0x316)](){var _0x42fe62=_0x4adc58;if(this[_0x42fe62(0x339)])throw new Error(_0x42fe62(0x3fd));await this[_0x42fe62(0x18e)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{var _0x30ef6b=_0x2018;this['_collaborationPaused']=!0x1,this[_0x30ef6b(0x2b4)]();});}['onLocalMutation'](_0xc567cc){var _0x273557=_0x4adc58;this[_0x273557(0x409)](_0xc567cc);}['_updateState'](_0x3df204){var _0x485cb2=_0x4adc58;this['_state']=_0x3df204,this[_0x485cb2(0x414)]['next'](_0x3df204);}async[_0x4adc58(0x18e)](){var _0x14323b=_0x4adc58,_0x397d41;this[_0x14323b(0x313)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x397d41=this[_0x14323b(0x2ef)])==null||_0x397d41[_0x14323b(0x39f)](this['unitID']),this[_0x14323b(0x166)](this[_0x14323b(0x2ef)][_0x14323b(0x3c5)](this[_0x14323b(0x1e3)])[_0x14323b(0x1b8)](_0x30f442=>{var _0x403378=_0x14323b;this[_0x403378(0x337)][_0x403378(0x3d9)](_0x403378(0x455),'editing\x20status\x20changed\x20to',_0x30f442),_0x30f442===He[_0x403378(0x1df)]?(this[_0x403378(0x183)][_0x403378(0x245)]({'id':Z[_0x403378(0x454)]}),this['_permissionService'][_0x403378(0x230)](new X[(_0x403378(0x32f))](this['unitID'])['id'],!0x1),this[_0x403378(0x15d)][_0x403378(0x2db)](!0x1)):(this['_permissionService'][_0x403378(0x230)](new X[(_0x403378(0x32f))](this[_0x403378(0x1e3)])['id'],!0x0),this[_0x403378(0x15d)]['setShowComponents'](!0x0));})));let _0x1455af=!0x1;return this['disposeWithMe'](this[_0x14323b(0x3f0)][_0x14323b(0x38b)][_0x14323b(0x1b8)](_0x4f59cf=>{var _0x1fc1c4=_0x14323b;_0x4f59cf===re[_0x1fc1c4(0x49a)]?this[_0x1fc1c4(0x197)](_0x1455af):_0x4f59cf===re[_0x1fc1c4(0x43a)]&&(_0x1455af=!0x0,this[_0x1fc1c4(0x179)]());})),this['disposeWithMe'](this[_0x14323b(0x3f0)][_0x14323b(0x2c2)][_0x14323b(0x1b8)](_0x7e82d6=>{var _0x3aac4b=_0x14323b;try{switch(_0x7e82d6[_0x3aac4b(0x162)]){case p[_0x3aac4b(0x232)]['NEW_CHANGESETS']:{this[_0x3aac4b(0x434)](p['parseProtocolChangeset'](_0x7e82d6[_0x3aac4b(0x46c)]));break;}case p[_0x3aac4b(0x232)][_0x3aac4b(0x39c)]:{this['_onRemoteACK'](_0x7e82d6[_0x3aac4b(0x46c)]);break;}case p['CollaborationEvent'][_0x3aac4b(0x381)]:{this['_onRemoteRejected']();break;}case p['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x7e82d6[_0x3aac4b(0x46c)]);break;}case p[_0x3aac4b(0x232)][_0x3aac4b(0x2b7)]:{this[_0x3aac4b(0x2b5)](_0x7e82d6[_0x3aac4b(0x46c)][_0x3aac4b(0x302)]['map'](_0x5e78a1=>p[_0x3aac4b(0x38e)](_0x5e78a1)));break;}case p[_0x3aac4b(0x232)]['PERMISSION_REJ']:{this[_0x3aac4b(0x27f)]({'isPermissionRej':!0x0});break;}case p[_0x3aac4b(0x232)][_0x3aac4b(0x367)]:break;}}catch(_0x1b2f00){throw console[_0x3aac4b(0x2f2)](_0x3aac4b(0x33b),_0x1b2f00),_0x1b2f00;}})),this[_0x14323b(0x202)];}[_0x4adc58(0x22c)](){var _0x51e4b1=_0x4adc58;this[_0x51e4b1(0x20e)]=!0x1;}[_0x4adc58(0x402)](){if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x23c0d7){var _0x35b125=_0x4adc58;this[_0x35b125(0x402)](),this[_0x35b125(0x313)](this[_0x35b125(0x202)][_0x35b125(0x28e)](_0x23c0d7)),this[_0x35b125(0x22c)]();}[_0x4adc58(0x434)](_0x24fca5){var _0xff213a=_0x4adc58;if(!(_0x24fca5['revision']<=this[_0xff213a(0x492)][_0xff213a(0x273)](this[_0xff213a(0x1e3)]))){if(this['_collaborationPaused']){this[_0xff213a(0x456)][_0xff213a(0x286)](_0x24fca5);return;}this[_0xff213a(0x391)](_0x24fca5);}}[_0x4adc58(0x2b4)](){var _0x346fea=_0x4adc58;this[_0x346fea(0x456)][_0x346fea(0x37b)](_0x25f1fa=>this[_0x346fea(0x391)](_0x25f1fa)),this[_0x346fea(0x456)]=[];}[_0x4adc58(0x391)](_0x5c8ebf){var _0x1bc45d=_0x4adc58;const _0x2b22c3=this[_0x1bc45d(0x1e2)][_0x1bc45d(0x371)][_0x1bc45d(0x2fd)](this[_0x1bc45d(0x1e2)][_0x1bc45d(0x371)][_0x1bc45d(0x193)]()[_0x1bc45d(0x1eb)])(_0x5c8ebf[_0x1bc45d(0x20a)],null)||_0x5c8ebf[_0x1bc45d(0x20a)],_0x3688f6={..._0x5c8ebf,'mutations':_0x2b22c3};this[_0x1bc45d(0x402)](),this[_0x1bc45d(0x313)](this[_0x1bc45d(0x202)][_0x1bc45d(0x2eb)](_0x3688f6)),this[_0x1bc45d(0x22c)]();}[_0x4adc58(0x469)](_0x495a35){var _0x13069b=_0x4adc58;this[_0x13069b(0x402)](),this[_0x13069b(0x313)](this[_0x13069b(0x202)][_0x13069b(0x199)](_0x495a35)),this[_0x13069b(0x22c)]();}[_0x4adc58(0x27f)](_0x1747dc){var _0x15e86d=_0x4adc58;this[_0x15e86d(0x402)](),this['_updateState'](this[_0x15e86d(0x202)][_0x15e86d(0x1c4)](_0x1747dc)),this[_0x15e86d(0x22c)]();}[_0x4adc58(0x334)](_0x51c160){var _0x3aedb2=_0x4adc58;this[_0x3aedb2(0x402)](),this['_updateState'](this['_state'][_0x3aedb2(0x41f)](_0x51c160)),this[_0x3aedb2(0x22c)]();}[_0x4adc58(0x2b5)](_0x9abc07){var _0x503030=_0x4adc58;if(!(this[_0x503030(0x202)]instanceof exports[_0x503030(0x1dd)]))throw new TypeError(_0x503030(0x332));const _0x1e4b8d=_0x9abc07[_0x503030(0x1ea)](_0x90f12d=>{var _0x34b972=_0x503030;const _0x545ed8=this[_0x34b972(0x1e2)][_0x34b972(0x371)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x34b972(0x371)]['getInterceptPoints']()[_0x34b972(0x1eb)])(_0x90f12d['mutations'],null)||_0x90f12d[_0x34b972(0x20a)];return{..._0x90f12d,'mutations':_0x545ed8};});this[_0x503030(0x402)](),this[_0x503030(0x313)](this[_0x503030(0x202)]['onMissedChangesetFetched'](_0x1e4b8d)),this[_0x503030(0x22c)]();}['_toggleOffline'](){var _0x4b1136=_0x4adc58;this[_0x4b1136(0x402)](),this[_0x4b1136(0x313)](this['_state'][_0x4b1136(0x1cc)]()),this[_0x4b1136(0x22c)]();}['_toggleOnline'](_0x1cdca1=!0x1){var _0x1755c1=_0x4adc58;this[_0x1755c1(0x402)](),this['_updateState'](this[_0x1755c1(0x202)][_0x1755c1(0x437)]()),this[_0x1755c1(0x22c)]();const _0x126502=this[_0x1755c1(0x202)];_0x1cdca1&&_0x126502 instanceof exports['SyncedState']&&(this['_lockTransition'](),this['_updateState'](_0x126502[_0x1755c1(0x290)]()),this['_unlockTransition']());}async[_0x4adc58(0x47d)](){return new Promise(_0x4217bc=>{var _0x296116=_0x2018;this[_0x296116(0x3f0)][_0x296116(0x38b)]['pipe'](H[_0x296116(0x2d5)](0x1))[_0x296116(0x1b8)](async _0x39e930=>{var _0x277914=_0x296116;_0x4217bc(await this[_0x277914(0x2cf)](_0x39e930===re['ONLINE']));});});}[_0x4adc58(0x447)](){const _0x2930d5=this['unitID'];return{'onStateChange':(_0x358c4c,_0x306131)=>{var _0x2e78dd=_0x2018;if(_0x358c4c!==this[_0x2e78dd(0x202)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x358c4c[_0x2e78dd(0x28b)]+_0x2e78dd(0x19f)+_0x306131[_0x2e78dd(0x28b)]+_0x2e78dd(0x389)+this[_0x2e78dd(0x202)][_0x2e78dd(0x28b)]);this[_0x2e78dd(0x313)](_0x306131);},'onSendChangeset':_0x295f4a=>{var _0x1d2976=_0x2018;_0x295f4a[_0x1d2976(0x345)]||(_0x295f4a[_0x1d2976(0x345)]=this[_0x1d2976(0x474)],_0x295f4a[_0x1d2976(0x17c)]=++this['_changesetReqId']);const _0x452b28={'eventID':p[_0x1d2976(0x232)][_0x1d2976(0x2b3)],'data':{'unitID':_0x295f4a[_0x1d2976(0x1e3)],'unitType':this['_type'],'changeset':_0x295f4a,'memberID':this[_0x1d2976(0x3f0)]['getMemberID']()}};this[_0x1d2976(0x3f0)][_0x1d2976(0x1b1)](_0x452b28,this[_0x1d2976(0x1e3)]);},'onMissingChangesets':({from:_0x27d80e,to:_0x4e500d})=>{var _0xc47978=_0x2018;this[_0xc47978(0x337)][_0xc47978(0x3d9)](_0xc47978(0x455),_0xc47978(0x2da)+_0x27d80e+_0xc47978(0x468)+_0x4e500d);const _0x5318da={'eventID':p[_0xc47978(0x232)]['FETCH_MISSING'],'data':{'unitID':_0x2930d5,'unitType':this['_type'],'from':_0x27d80e,'to':_0x4e500d}};this[_0xc47978(0x3f0)][_0xc47978(0x1b1)](_0x5318da,this[_0xc47978(0x1e3)]);}};}async['_createInitialStateImpl'](_0x15a333){var _0x174ff6=_0x4adc58,_0x20d990,_0x3060fa,_0x33947c;const _0x1ff43a=await((_0x20d990=this[_0x174ff6(0x1f3)])==null?void 0x0:_0x20d990[_0x174ff6(0x33c)](this[_0x174ff6(0x1e3)])),_0x3fc3d5=(_0x3060fa=_0x1ff43a==null?void 0x0:_0x1ff43a[_0x174ff6(0x20a)])!=null?_0x3060fa:[],_0x5312e7=(_0x33947c=_0x1ff43a==null?void 0x0:_0x1ff43a[_0x174ff6(0x180)])!=null?_0x33947c:null,_0x5ada44=!!(_0x5312e7!=null&&_0x5312e7[_0x174ff6(0x345)])&&!!(_0x5312e7!=null&&_0x5312e7['reqId']);this[_0x174ff6(0x474)]=_0x5ada44?_0x5312e7[_0x174ff6(0x345)]:p['uuidv4'](),this[_0x174ff6(0x3eb)]=_0x5ada44?_0x5312e7[_0x174ff6(0x17c)]:0x0;const _0x3bc2e4=this[_0x174ff6(0x1e3)];try{this['_replayCachedMutations'](_0x5312e7,_0x3fc3d5);}catch(_0x1c2c25){this[_0x174ff6(0x337)][_0x174ff6(0x2f2)](_0x1c2c25);}const _0x58a3f0=this['_createHandler']();if(_0x15a333){const _0x1110dc=It(this['_injector'],_0x3bc2e4,this['_type'],_0x5312e7,_0x3fc3d5,_0x58a3f0);return _0x1110dc instanceof exports[_0x174ff6(0x1ab)]?_0x1110dc[_0x174ff6(0x19e)]():(_0x1110dc instanceof exports[_0x174ff6(0x182)]||_0x1110dc instanceof exports[_0x174ff6(0x27a)])&&_0x1110dc[_0x174ff6(0x3d2)](),_0x1110dc;}return this[_0x174ff6(0x20f)]['createInstance'](exports['OfflineState'],_0x3bc2e4,this[_0x174ff6(0x35f)],_0x5312e7,_0x3fc3d5,_0x58a3f0);}[_0x4adc58(0x485)](_0x16c6c4,_0xc897b5){var _0x21733e=_0x4adc58,_0xf4a372,_0x1fe6fc;const _0x2a1086=this['_compressMutationService'][_0x21733e(0x371)][_0x21733e(0x2fd)](this[_0x21733e(0x1e2)][_0x21733e(0x371)]['getInterceptPoints']()[_0x21733e(0x1eb)]);(_0xf4a372=_0x2a1086((_0x16c6c4==null?void 0x0:_0x16c6c4[_0x21733e(0x20a)])||[],null))==null||_0xf4a372['forEach'](_0x371100=>this['_commandService'][_0x21733e(0x308)](_0x371100['id'],_0x371100[_0x21733e(0x343)])),(_0x1fe6fc=_0x2a1086(_0xc897b5||[],null))==null||_0x1fe6fc[_0x21733e(0x37b)](_0x352efc=>this[_0x21733e(0x41c)]['executeCommand'](_0x352efc['id'],_0x352efc[_0x21733e(0x343)]));}},exports[_0x4adc58(0x3a0)]=Be([j(0x3,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),j(0x4,a[_0x4adc58(0x49e)](p['CompressMutationService'])),j(0x5,a[_0x4adc58(0x49e)](a[_0x4adc58(0x1f9)])),j(0x6,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),j(0x7,a[_0x4adc58(0x49e)](ee)),j(0x8,a[_0x4adc58(0x270)]),j(0x9,a[_0x4adc58(0x31a)]),j(0xa,a['IPermissionService']),j(0xb,a['Optional'](de)),j(0xc,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x3a0)]),exports['DocCollaborationEntity']=class extends exports[_0x4adc58(0x3a0)]{constructor(_0x1ef423,_0x118d01,_0x2485dc,_0x5b2152,_0x523a30,_0x1f7142,_0x5440c3,_0x175382,_0x1c567e,_0x19cb60,_0x708f8f,_0x1dc49f,_0x402461){var _0x4c5935=_0x4adc58;super(_0x1ef423,_0x2485dc,_0x118d01,_0x5b2152,_0x523a30,_0x1f7142,_0x5440c3,_0x175382,_0x1c567e,_0x19cb60,_0x708f8f,_0x1dc49f,_0x402461),A(this,_0x4c5935(0x249),null),(this[_0x4c5935(0x1e3)]=_0x1ef423,this['type']=_0x118d01);}[_0x4adc58(0x19d)](_0xba50a2){var _0x14c86e=_0x4adc58;this[_0x14c86e(0x249)]=_0xba50a2;}[_0x4adc58(0x1d1)](){var _0x44f287=_0x4adc58;this['_handlerCallback']=null,super[_0x44f287(0x1d1)]();}[_0x4adc58(0x447)](){var _0x5dbda5=_0x4adc58;const _0x540ff2=super[_0x5dbda5(0x447)]();return _0x540ff2[_0x5dbda5(0x401)]=_0x2f946c=>{var _0x36b19b=_0x5dbda5,_0x101027,_0x48dd82;return(_0x48dd82=(_0x101027=this['_handlerCallback'])==null?void 0x0:_0x101027['onTransformIME'])==null?void 0x0:_0x48dd82[_0x36b19b(0x160)](_0x101027,_0x2f946c);},_0x540ff2[_0x5dbda5(0x2a8)]=_0x4c4cdc=>{var _0x10c71d=_0x5dbda5,_0x29c90f,_0x47c36b;return(_0x47c36b=(_0x29c90f=this[_0x10c71d(0x249)])==null?void 0x0:_0x29c90f[_0x10c71d(0x2a8)])==null?void 0x0:_0x47c36b[_0x10c71d(0x160)](_0x29c90f,_0x4c4cdc);},_0x540ff2[_0x5dbda5(0x1b3)]=_0x4d36ff=>{var _0x1008b5=_0x5dbda5,_0x44e69b,_0x58aa2c;return(_0x58aa2c=(_0x44e69b=this[_0x1008b5(0x249)])==null?void 0x0:_0x44e69b[_0x1008b5(0x1b3)])==null?void 0x0:_0x58aa2c[_0x1008b5(0x160)](_0x44e69b,_0x4d36ff);},_0x540ff2[_0x5dbda5(0x36a)]=_0x496468=>{var _0x25bc92=_0x5dbda5,_0x524060,_0x482648;return(_0x482648=(_0x524060=this[_0x25bc92(0x249)])==null?void 0x0:_0x524060[_0x25bc92(0x36a)])==null?void 0x0:_0x482648[_0x25bc92(0x160)](_0x524060,_0x496468);},_0x540ff2[_0x5dbda5(0x23b)]=_0x59c694=>{var _0x777453=_0x5dbda5,_0x5b8556,_0x488bac,_0x18e663;if(!((_0x5b8556=this[_0x777453(0x249)])!=null&&_0x5b8556[_0x777453(0x23b)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x18e663=(_0x488bac=this[_0x777453(0x249)])==null?void 0x0:_0x488bac[_0x777453(0x23b)])==null?void 0x0:_0x18e663[_0x777453(0x160)](_0x488bac,_0x59c694);},_0x540ff2['onTransformRemoteChangesetByStateCache']=_0x417679=>{var _0xdaa64e=_0x5dbda5,_0x48bccc,_0x3b870b,_0x4e43f5;if(!((_0x48bccc=this['_handlerCallback'])!=null&&_0x48bccc[_0xdaa64e(0x487)]))throw new Error(_0xdaa64e(0x32d));return(_0x4e43f5=(_0x3b870b=this['_handlerCallback'])==null?void 0x0:_0x3b870b[_0xdaa64e(0x487)])==null?void 0x0:_0x4e43f5[_0xdaa64e(0x160)](_0x3b870b,_0x417679);},_0x540ff2;}async[_0x4adc58(0x18e)](){var _0x3d1a55=_0x4adc58;const _0x4639c7=await super['_init']();return this[_0x3d1a55(0x166)](this[_0x3d1a55(0x41c)][_0x3d1a55(0x312)]((_0x3fcbbb,_0x3032e2)=>{var _0x26d1d7=_0x3d1a55;if(_0x3fcbbb[_0x26d1d7(0x3b4)]!==a[_0x26d1d7(0x3c9)][_0x26d1d7(0x276)]||_0x3032e2!=null&&_0x3032e2[_0x26d1d7(0x47a)]||_0x3032e2!=null&&_0x3032e2[_0x26d1d7(0x25a)]||_0x3fcbbb['id']===ct['RichTextEditingMutation']['id'])return;const _0x500603=_0x3fcbbb[_0x26d1d7(0x343)];if((_0x500603==null?void 0x0:_0x500603['unitId'])!==this[_0x26d1d7(0x1e3)])return;const _0x18db39=_0x3fcbbb,_0x539c39=this['_compressMutationService'][_0x26d1d7(0x371)][_0x26d1d7(0x2fd)](this[_0x26d1d7(0x1e2)][_0x26d1d7(0x371)][_0x26d1d7(0x193)]()['COMPRESS_MUTATION_SEND'])([_0x18db39],null)||[_0x18db39];this['_onLocalMutation'](_0x539c39[0x0]);})),_0x4639c7;}},exports['DocCollaborationEntity']=Be([j(0x3,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),j(0x4,a['Inject'](p[_0x4adc58(0x15e)])),j(0x5,a[_0x4adc58(0x49e)](a['LocaleService'])),j(0x6,a[_0x4adc58(0x49e)](p['RevisionService'])),j(0x7,a[_0x4adc58(0x49e)](ee)),j(0x8,a[_0x4adc58(0x270)]),j(0x9,a[_0x4adc58(0x31a)]),j(0xa,a[_0x4adc58(0x3b3)]),j(0xb,a[_0x4adc58(0x287)](de)),j(0xc,a['Optional'](K))],exports[_0x4adc58(0x2df)]),exports['SheetCollaborationEntity']=class extends exports[_0x4adc58(0x3a0)]{constructor(_0x3eb97a,_0x3695cb,_0x3b556b,_0x10c45f,_0x5e4c7f,_0x456834,_0xb1abd8,_0xc9d815,_0x152db0,_0x426bb0,_0x3232bb,_0x5ad9f0,_0x2a2521,_0xc6954){var _0x35e65a=_0x4adc58;super(_0x3eb97a,_0x3b556b,_0x3695cb,_0x10c45f,_0x5e4c7f,_0x456834,_0xb1abd8,_0x152db0,_0x426bb0,_0x3232bb,_0x5ad9f0,_0x2a2521,_0xc6954),this['unitID']=_0x3eb97a,this['type']=_0x3695cb,this[_0x35e65a(0x289)]=_0xc9d815;}[_0x4adc58(0x447)](){var _0x1fd0b3=_0x4adc58;const _0x59f7e8=super[_0x1fd0b3(0x447)]();return _0x59f7e8[_0x1fd0b3(0x1b3)]=_0x3b7f74=>this['_sheetTransformSelectionsService']['transformSelections'](_0x3b7f74),_0x59f7e8;}async['_init'](){var _0x296160=_0x4adc58;const _0x51a50b=await super['_init']();return this['disposeWithMe'](this[_0x296160(0x41c)][_0x296160(0x312)]((_0x5c3889,_0x31a44b)=>{var _0x560b83=_0x296160;if(_0x5c3889['type']!==a['CommandType'][_0x560b83(0x276)]||_0x31a44b!=null&&_0x31a44b['fromCollab']||_0x31a44b!=null&&_0x31a44b[_0x560b83(0x25a)])return;const _0x47ee30=_0x5c3889[_0x560b83(0x343)];if((_0x47ee30==null?void 0x0:_0x47ee30[_0x560b83(0x1f4)])!==this['unitID'])return;const _0x43d4f3=_0x5c3889,_0x236a26=this[_0x560b83(0x1e2)][_0x560b83(0x371)]['fetchThroughInterceptors'](this[_0x560b83(0x1e2)][_0x560b83(0x371)][_0x560b83(0x193)]()['COMPRESS_MUTATION_SEND'])([_0x43d4f3],null)||[_0x43d4f3];this[_0x560b83(0x409)](_0x236a26[0x0]);})),_0x51a50b;}},exports[_0x4adc58(0x2dc)]=Be([j(0x3,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),j(0x4,a[_0x4adc58(0x49e)](p[_0x4adc58(0x15e)])),j(0x5,a['Inject'](a[_0x4adc58(0x1f9)])),j(0x6,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),j(0x7,a[_0x4adc58(0x49e)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x4adc58(0x49e)](ee)),j(0x9,a[_0x4adc58(0x270)]),j(0xa,a[_0x4adc58(0x31a)]),j(0xb,a['IPermissionService']),j(0xc,a[_0x4adc58(0x287)](de)),j(0xd,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x2dc)]);const pt=a[_0x4adc58(0x359)](_0x4adc58(0x484));function mt(_0x337297){var _0x1f2eea=_0x4adc58,_0x4e7788,_0x386ad4,_0x484124,_0x31e279,_0x488f56;const _0x6635dd=_0x337297[_0x1f2eea(0x46c)],_0x5d24ad=JSON['parse'](_0x6635dd);switch(_0x5d24ad[_0x1f2eea(0x1c1)]){case W['HEARTBEAT']:case W[_0x1f2eea(0x475)]:{const _0x3e9379=_0x5d24ad['infoRsp'];return{..._0x5d24ad,'data':_0x3e9379,'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};}case W[_0x1f2eea(0x170)]:{const _0x4aa1bf=_0x5d24ad[_0x1f2eea(0x479)];return{..._0x5d24ad,'data':_0x4aa1bf,'cmd':_0x5d24ad['cmd']};}case W[_0x1f2eea(0x2a6)]:{const _0x42d86d=_0x5d24ad[_0x1f2eea(0x472)];switch(_0x42d86d['eventID']){case p[_0x1f2eea(0x232)][_0x1f2eea(0x330)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x4e7788=_0x42d86d[_0x1f2eea(0x4c2)])==null?void 0x0:_0x4e7788['cs']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x39c)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x386ad4=_0x42d86d[_0x1f2eea(0x18d)])==null?void 0x0:_0x386ad4['cs']},'cmd':_0x5d24ad['cmd']};case p[_0x1f2eea(0x232)]['NEW_CHANGESETS']:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x484124=_0x42d86d[_0x1f2eea(0x482)])==null?void 0x0:_0x484124['cs']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x381)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x31e279=_0x42d86d[_0x1f2eea(0x18c)])==null?void 0x0:_0x31e279['cs']},'cmd':_0x5d24ad['cmd']};case p[_0x1f2eea(0x232)][_0x1f2eea(0x3df)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x488f56=_0x42d86d['csShouldRetryEvent'])==null?void 0x0:_0x488f56['cs']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x1af)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['updateCursorEvent']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p['CollaborationEvent'][_0x1f2eea(0x262)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['joinEvent']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x433)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x47f)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)]['LIVESHARE_NEW_HOST']:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['liveShareNewHost']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p['CollaborationEvent'][_0x1f2eea(0x436)]:case p['CollaborationEvent'][_0x1f2eea(0x1c9)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x42d)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p['CollaborationEvent'][_0x1f2eea(0x35e)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x46e)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x1ce)]:return{..._0x5d24ad,'data':_0x42d86d,'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x3dd)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['commentUpdateEvent']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p['CollaborationEvent'][_0x1f2eea(0x453)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['updatePermissionObjEvent']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x45b)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x2cc)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x367)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x450)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};default:return _0x5d24ad;}}default:return _0x5d24ad;}}function gt(_0x40e8bc){var _0x1a951b=_0x4adc58;switch(_0x40e8bc['cmd']){case W[_0x1a951b(0x221)]:case W[_0x1a951b(0x475)]:return JSON[_0x1a951b(0x247)]({'cmd':_0x40e8bc[_0x1a951b(0x1c1)],'routeKey':_0x40e8bc[_0x1a951b(0x274)]});case W[_0x1a951b(0x16a)]:{let _0x4fa5be;switch(_0x40e8bc[_0x1a951b(0x46c)]['eventID']){case p[_0x1a951b(0x232)]['UPDATE_CURSOR']:{_0x4fa5be={'eventID':p['CollaborationEvent'][_0x1a951b(0x1af)],'updateCursorEvent':_0x40e8bc[_0x1a951b(0x46c)][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)]['USERS_LEAVE']:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)][_0x1a951b(0x433)],'leaveEvent':_0x40e8bc['data'][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)][_0x1a951b(0x262)]:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)][_0x1a951b(0x262)],'joinEvent':_0x40e8bc[_0x1a951b(0x46c)][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)][_0x1a951b(0x2e8)]:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x40e8bc['data'][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)][_0x1a951b(0x1c9)]:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x40e8bc[_0x1a951b(0x46c)][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)][_0x1a951b(0x35e)]:{_0x4fa5be={'eventID':p['CollaborationEvent'][_0x1a951b(0x35e)],'liveShareTerminate':_0x40e8bc['data'][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)]['LIVESHARE_REQUEST_HOST']:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)][_0x1a951b(0x320)],'liveShareRequestHost':_0x40e8bc[_0x1a951b(0x46c)]['data']};break;}case p['CollaborationEvent'][_0x1a951b(0x436)]:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4fa5be={'eventID':_0x40e8bc[_0x1a951b(0x46c)][_0x1a951b(0x162)]};}return JSON[_0x1a951b(0x247)]({'cmd':_0x40e8bc[_0x1a951b(0x1c1)],'routeKey':_0x40e8bc[_0x1a951b(0x274)],'collaMsg':_0x4fa5be});}case W[_0x1a951b(0x170)]:return JSON[_0x1a951b(0x247)]({'cmd':_0x40e8bc[_0x1a951b(0x1c1)],'routeKey':_0x40e8bc['routeKey'],'joinReq':_0x40e8bc[_0x1a951b(0x46c)]});case W[_0x1a951b(0x1fd)]:return JSON[_0x1a951b(0x247)]({'cmd':_0x40e8bc[_0x1a951b(0x1c1)],'routeKey':_0x40e8bc[_0x1a951b(0x274)],'leaveReq':_0x40e8bc[_0x1a951b(0x46c)]});default:throw new Error(_0x1a951b(0x31d));}}var ri=Object[_0x4adc58(0x3af)],si=(_0x592ad0,_0x1749ba,_0x272742,_0x599725)=>{var _0x5a1bcd=_0x4adc58;for(var _0x572fdb=_0x599725>0x1?void 0x0:_0x599725?ri(_0x1749ba,_0x272742):_0x1749ba,_0x4340d8=_0x592ad0[_0x5a1bcd(0x2ba)]-0x1,_0x1cc798;_0x4340d8>=0x0;_0x4340d8--)(_0x1cc798=_0x592ad0[_0x4340d8])&&(_0x572fdb=_0x1cc798(_0x572fdb)||_0x572fdb);return _0x572fdb;},_e=(_0x3bd485,_0x369178)=>(_0x497e5e,_0x5e7941)=>_0x369178(_0x497e5e,_0x5e7941,_0x3bd485);const Fe=a[_0x4adc58(0x359)]('univer-pro.collaboration-client-socket-service');function oi(_0x3c42b7,_0x4f94c8,_0x52e33b){var _0x39b192=_0x4adc58;return _0x3c42b7+'/'+_0x4f94c8+_0x39b192(0x192)+_0x52e33b+'/new_changes';}exports[_0x4adc58(0x1fc)]=class extends a[_0x4adc58(0x2c8)]{constructor(_0x36daf,_0x362a00,_0x2d59f9,_0x26eb4e,_0x23802a){var _0x53d50d=_0x4adc58;super(),this[_0x53d50d(0x20f)]=_0x36daf,this[_0x53d50d(0x3a2)]=_0x362a00,this['_configService']=_0x2d59f9,this[_0x53d50d(0x337)]=_0x26eb4e,this[_0x53d50d(0x21c)]=_0x23802a;}['_doCreateSocket'](_0x560337){var _0x20a7e1=_0x4adc58;const _0x55434c=this[_0x20a7e1(0x20f)]['get'](q['ISocketService']);if(!_0x55434c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x32e086=_0x55434c['createSocket'](_0x560337);if(!_0x32e086)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x82af38=new a['DisposableCollection'](),_0x2886d7=new H[(_0x20a7e1(0x2c5))]();_0x82af38[_0x20a7e1(0x187)](_0x32e086[_0x20a7e1(0x252)]['subscribe'](_0x28dcda=>_0x2886d7[_0x20a7e1(0x395)](_0x28dcda))),_0x82af38['add'](a[_0x20a7e1(0x224)](()=>_0x2886d7['complete']()));const _0x3dbf79=new H[(_0x20a7e1(0x2c5))]();_0x82af38[_0x20a7e1(0x187)](_0x32e086[_0x20a7e1(0x22b)]['subscribe'](_0x150034=>_0x3dbf79[_0x20a7e1(0x395)](_0x150034))),_0x82af38[_0x20a7e1(0x187)](a[_0x20a7e1(0x224)](()=>_0x3dbf79[_0x20a7e1(0x17f)]()));const _0x1edaa4=new H[(_0x20a7e1(0x2c5))]();_0x82af38[_0x20a7e1(0x187)](_0x32e086['message$'][_0x20a7e1(0x1b8)](_0x3e6e81=>{var _0x5780d3=_0x20a7e1;const _0x44e429=mt(_0x3e6e81);_0x1edaa4[_0x5780d3(0x395)](_0x44e429);})),_0x82af38['add'](a[_0x20a7e1(0x224)](()=>_0x1edaa4[_0x20a7e1(0x17f)]()));let _0x44ba12;const _0x422459=()=>{var _0x5e047c=_0x20a7e1;_0x3dbf79['next'](new Event(_0x5e047c(0x3f5))),_0x2886d7['next'](new Event(_0x5e047c(0x3f5))),_0x44ba12[_0x5e047c(0x1d7)]();};return _0x44ba12={'memberID':'','close$':_0x2886d7[_0x20a7e1(0x228)](),'error$':_0x3dbf79['asObservable'](),'open$':_0x32e086[_0x20a7e1(0x3d0)],'message$':_0x1edaa4[_0x20a7e1(0x228)](),'send':_0x3cc99d=>{var _0x488840=_0x20a7e1;if(_0x3cc99d['cmd']===W[_0x488840(0x16a)]){if(_0x3cc99d[_0x488840(0x46c)][_0x488840(0x162)]===p[_0x488840(0x232)][_0x488840(0x2b3)]){this['_submitChangeset'](_0x44ba12,_0x3cc99d[_0x488840(0x46c)])[_0x488840(0x4c3)](_0x45d78c=>{var _0xa7f056=_0x488840;this['_logService'][_0xa7f056(0x2f2)](_0x45d78c),_0x422459();});return;}if(_0x3cc99d[_0x488840(0x46c)][_0x488840(0x162)]===p[_0x488840(0x232)][_0x488840(0x34e)]){const _0x5c7327=_0x3cc99d[_0x488840(0x46c)];this[_0x488840(0x205)](_0x5c7327)[_0x488840(0x443)](_0x55c5a5=>{var _0xd3693a=_0x488840;_0x1edaa4[_0xd3693a(0x395)]({'cmd':W['RECV'],'code':se['OK'],'routeKey':_0x5c7327[_0xd3693a(0x46c)][_0xd3693a(0x1e3)],'routeType':'','data':{'eventID':p[_0xd3693a(0x232)][_0xd3693a(0x2b7)],'data':{'changesets':_0x55c5a5}}});})[_0x488840(0x4c3)](_0x43ac09=>{var _0x56b25d=_0x488840;this['_logService'][_0x56b25d(0x2f2)](_0x43ac09),_0x422459();});return;}}_0x32e086[_0x488840(0x1b1)](gt(_0x3cc99d));},'close':()=>{var _0x4f050a=_0x20a7e1;_0x32e086[_0x4f050a(0x1d7)](),_0x82af38[_0x4f050a(0x1d1)]();}},_0x44ba12;}async[_0x4adc58(0x2b2)](_0xd384f8,_0x25539c){var _0x18056e=_0x4adc58,_0x47bf74;const {unitType:_0x5005ed,unitID:_0x39e81a,changeset:_0x193f01}=_0x25539c[_0x18056e(0x46c)],_0x4661f3={'unitID':_0x39e81a,'memberID':_0xd384f8[_0x18056e(0x4a0)],'type':_0x5005ed,'changeset':p['parseChangesetToProtocol'](_0x193f01)},_0x51bf75=this[_0x18056e(0x25b)][_0x18056e(0x392)](Y),_0x1c7889=oi((_0x47bf74=_0x51bf75==null?void 0x0:_0x51bf75[_0x18056e(0x326)])!=null?_0x47bf74:kt,_0x5005ed,_0x39e81a);try{await this['_httpService'][_0x18056e(0x235)](_0x1c7889,{'body':_0x4661f3});}catch(_0x11ca49){throw this['_logService']['error'](_0x18056e(0x1e4),_0x18056e(0x3bd)),_0x11ca49;}}async[_0x4adc58(0x205)](_0xf4e14e){var _0x41056d=_0x4adc58;const {unitID:_0x3d167d,from:_0x1ebef8,to:_0x55032b,unitType:_0x4da282}=_0xf4e14e[_0x41056d(0x46c)];return(await this[_0x41056d(0x21c)][_0x41056d(0x336)]({'metadata':void 0x0},{'unitID':_0x3d167d,'type':_0x4da282,'from':_0x1ebef8,'to':_0x55032b}))[_0x41056d(0x302)];}},exports[_0x4adc58(0x1fc)]=si([_e(0x0,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),_e(0x1,a[_0x4adc58(0x49e)](q['HTTPService'])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x4adc58(0x270)]),_e(0x4,p[_0x4adc58(0x27b)])],exports[_0x4adc58(0x1fc)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x3d1c3a,_0x536f89,_0x186910,_0x8bbdd6)=>{var _0x1fc7aa=_0x4adc58;for(var _0x4ce0f7=_0x8bbdd6>0x1?void 0x0:_0x8bbdd6?ai(_0x536f89,_0x186910):_0x536f89,_0x2dde5a=_0x3d1c3a[_0x1fc7aa(0x2ba)]-0x1,_0x1d61f9;_0x2dde5a>=0x0;_0x2dde5a--)(_0x1d61f9=_0x3d1c3a[_0x2dde5a])&&(_0x4ce0f7=_0x1d61f9(_0x4ce0f7)||_0x4ce0f7);return _0x4ce0f7;},he=(_0x3b83cd,_0x1419db)=>(_0x236930,_0x2a61de)=>_0x1419db(_0x236930,_0x2a61de,_0x3b83cd);function _0x250a(){var _0x37bd3e=['sequenceExecute','cfg','state$','BlockCipher','Quantity','session.room-not-exists','SNAPSHOT_INVALID_SNAPSHOT','forEach','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_telemetryService','decryptBlock','NOT_FOUND','slice','CHANGESET_REJ','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SUBMIT_CHANGESET_TIMEOUT','charCodeAt','formatter','APPLY_PERMISSION_DENIED','_onUserJoin','onStateChange','\x0aCurrent:\x20','RevisionService','sessionStatus$','Utf8','pending','parseProtocolChangeset','unknown','encode','_applyRemoteChangeset','getConfig','b64DecodeUnicode','YUUMI_UNABLE_LOAD_URL','next','_getUploadFileURL','/collaborator','CollaborativeUndoRedoService','updateSnapshot','sheets','Hasher','CHANGESET_ACK','startsWith','StreamCipher','editingUnit','CollaborationEntity','charAt','_httpService','_scheduleCollaborationTimeoutTimer','exports','socket\x20open.','HEARTBEAT_TIMEOUT_KEY','UniverCollaborationClientPlugin','_members','ISingleActiveUnitService','UNAUTHENTICATED','INVALID_INVITE_CODE','_clearHeartbeatTimer','patch','UNIVER_DOC','getOwnPropertyDescriptor','BehaviorSubject','lib','registerHTTPInterceptor','IPermissionService','type','_userManagerService','_parse','LOCAL_CACHE_INTERVAL','getUnitType','textEncoder','725439DCtinc','getGlobalObject','enableOfflineEditing','submit\x20changeset\x20error!','collaboration-client.config','removeMember','updateMember','EMAIL_VERIFY_CODE_MISMATCH','ImageUploadStatusType','random','_xformMode','getUnitStatus$','onMissingChangesets','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','loadSheet','CommandType','title','transformUndoRedo','fromCharCode','_prevBlock','conflict','Workbook','open$','duration','resend','LOGIN_FAILED','_initRequestHeader','_collaborationTimeoutTimer','authzUrl','People','/block/','debug','saveChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','firstValueFrom','COMMENT_UPDATE','snapshotServerUrl','CHANGESET_SHOULD_RETRY','has','_instanceService','concatMap','_emitMembers','max','GLOBAL_ROOMS_CNT_EXCEEDS','getMember','initWorkbookPermissionChange','getAllMembers','/universer-api/comb','apply','_changesetReqId','ciphertext','getCurrentSelections','_getAPIPrefix','_onConnectionOpen','session','IConfigService','_socket','UniverInstanceType','_hash','connection\x20error','_unitInfo$','JOIN_ROOM_FULL','UserProfileImg','YUUMI_RATE_OVER_LIMIT','UNIVER_SHEET','CONFLICT','_decreaseWaiting','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_onConflict','clamp','uploadFileServerUrl','onTransformIME','_lockTransition','[PendingState]:\x20received\x20rejection.','INVALID_ARGUMENT','_checkMissing','UNIVER_PROJECT','userID','headers','_onLocalMutation','INVITE_CODE_ALREADY_BOUND','_cipher','getUnitId','_sessionStatus$','/rev/','dispose$','/role','reject','_registerDependencies','_syncEditingCollabCursor','_state$','_showConflictNotification','_memberService','BASE64','telemetry\x20info\x20is\x20not\x20initialized','_telemetryInfo','NO_OTHER_CLIENTS_EDITING','reduce','_commandService','_socketMessageSubscription','_hasher','onRemoteRetry','createDecryptor','UNIVER_SLIDE','onStarting','includes','_onOffline','save\x20fail\x20reason\x20is\x20','onSendChangeset','_handler','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketReady','getValue','isInternalEditorID','UNKNOWN_CMD','liveShareOperation','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-permission-denied','touchDependencies','APPLY_DUPLICATED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','USERS_LEAVE','_onRemoteChangeset','function','LIVESHARE_FETCH_OPERATIONS','toggleOnline','putCollaborators','CLOSE_ROOM','OFFLINE','_replaceFileID','not_collab','CONNECTOR_DATA_TOO_LARGE','from','serializeCombRequest','set','&to=','create','then','ILocalCacheService','reset','_unitID','_createHandler','registerDependencies','_updateStatus','equals','get','_shouldReportTelemetry','YUUMI_ASYNCIO_CANCELLED','batchAllowed','offline','uniscriptRunEvent','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CollaborationUIEventId','UPDATE_PERMISSION_OBJ','OTHER_CLIENT_EDITING','[CollaborationEntity]','_remoteChangesetQueue','_roomMembers','_retryConnectingTimer','Hex','_clearUndo','SHOULD_CLOSE_CONN','name','DEFAULT_FILE_NAME','SheetPermissionInitController','ERROR_EXCEED_SIZE','encodeURIComponent','_doFinalize','getTime','_commentUpdate$','override','getCollabEntity$','[UniverCollaborationClientPlugin]','_status$','\x20to\x20','_onRemoteACK','c1Prime','deleteCollaborator','data','IUniverInstanceService','liveShareNewHost','prototype','_onJoinRoomEvent','getCurrentUser','collaMsg','DataLoaderService','_changesetSessionId','HELLO','MD5','getWorkbookSelections','now','joinRsp','fromCollab','__creator','_waitForHeartbeatResponse','_createInitialState','delete','leaveEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','JOIN_ROOM_FAILED','newCsEvent','transformChangesets','univer-pro.collaboration-client.network-condition.service','_replayCachedMutations','symbol','onTransformRemoteChangesetByStateCache','loadDoc','min','reconnect','{fileID}','HttpExport','JOIN_ROOM_NOT_EXISTS','ThresholdInterceptorFactory','PY_RUNTIME_SCRIPT_ERROR','setConfig','objectType','_revisionService','_data','HmacMD5','_createHmacHelper','_collaborationUIEventService','_tryEnsureSocket','Rectangle','_minBufferSize','ONLINE','_sendingTimer','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','SNAPSHOT_URL_KEY','Inject','Plugin','memberID','subject','Failed\x20to\x20update\x20permission\x20point','getFocusedUnit','SyncedState','_removeRoom','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','values','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','[PendingState]:\x20unhandled\x20univer\x20type:\x20','transformMutationsWithChangeset','ALREADY_EXISTS','find','CollaborationImageIoService','padding','&source=','words','HTTPRequest','selections','findIndex','YUUMI_ALL_TABLES_IS_INVALID','_pendingMutations','MentionIoHttpService','_keySchedule','_reverseMap','addImageSourceCache','UNIVER_UNKNOWN','iterations','encryptBlock','copyFileMeta','?size=','WordArray','createSocket','_ENC_XFORM_MODE','permissionRejEvent','catch','hasOwnProperty','YUUMI_AI_RUN_FAILED','DependentOn','INTERNAL_ERROR','INVITE_CODE_HAS_BEEN_UES','range','requireSession','action','Decryptor','_undoStacks','message$','_permissionService','CompressMutationService','&assign=','call','collaboratorID','eventID','_nRounds','Encryptor','baseRev','disposeWithMe','_resendTimer','_throwTelemetryCollaborationNewChangeset','_invKeySchedule','INGEST','setCurrentUser','_getSendChangesetTimeout','_scheduleCompleteTimestamp','JOIN_ROOM_PERMISSION_DENIED','textRanges','JOIN','Tools','isTransformMutationsWithChangesetSuccess','floor','abs','SessionStatus','result','FAIL','UNRECOGNIZED','_toggleOffline','processBlock','OfflineState','reqId','getImage','_undoRedoService','complete','awaitingChangeset','members$','AwaitingWithPendingState','_eventService','[CollaborationSessionService]:\x20socket\x20error','Base64','_getCurrentRevision','add','image/png','m2Prime','JOINING','entityInit$','csRejEvent','csAckEvent','_init','SheetTransformSelectionsService','session.join-failed','IUndoRedoService','/unit/','getInterceptPoints','_stopTelemetryCollaborationNewChangeset','RichTextEditingMutation','CollaborationSessionService','_toggleOnline','randomBytes','onRemoteAck','update','deepClone','auth.needGotoLoginAlert','addHandlerCallback','_schedule','\x0aAfter:\x20','image/bmp','resourceIDs','shareReplay','url','_DEC_XFORM_MODE','getCollabEntity','IContextService','kdf','_getCtorByUniverType','mixIn','getRandomValues','PendingState','target','[FetchMissState]','getTypeOfUnitAdded$','UPDATE_CURSOR','awaiting_with_pending','send','objectID','onTransformSelections','HEARTBEAT_INTERVAL','Latin1','HTTPService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribe','373275zkUHhg','CBC','_resendWithTimeout','getTypeOfUnitDisposed$','clear','workbook','compute','localCacheService','cmd','APPLY_REVISION_CONFILICT','avatar','onRemoteRej','BufferedBlockAlgorithm','_startTelemetryCollaborationNewChangeset','delay','snapshot','LIVESHARE_OPERATION','ws://127.0.0.1:8000/universer-api/comb/connect','isTransformMutationsWithChangesetFailure','toggleOffline','CollaborationStatus','MSG_FOR_ERROR','RETRY_CONNECTING_MAX_COUNT_KEY','OpenSSL','dispose','AuthzIoHttpService','encrypt','_imageSourceCache','SnapshotServerOverHTTPService','/allowed','close','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','string','image/gif','_socketService','_clearCollaborationTimeoutTimer','FetchingMissState','/object/','OTHER_CLIENTS_EDITING','indexOf','WECHAT_HAS_BEEN_BOUND','_compressMutationService','unitID','[CollaborationSession]','byteLength','_append','getActiveSheet','IImageIoService','_key','map','COMPRESS_MUTATION_APPLY','HEARTBEAT_TIMEOUT','_clearRetryConnectingTimer','/universer-api/file/{fileID}/sign-url','EmptyMutation','POST','pluginName','DEFAULT_WS_SESSION_TICKET_URL','_localCacheService','unitId','withCredentials','SUCCUSS','SHA1','listCollaborators','LocaleService','MergeInterceptorFactory','_queuedRemoteChangesets','CollaborationSocketService','LEAVE','getImageSourceCache','_sendHeartbeat','getRoom','retryConnectingInterval','_state','splice','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_fetchMissChangesets','_collabSessionService','getSheetBlock','/universer-api/snapshot','1954yEhuLJ','mutations','getDeserializedSheetBlock','_tryReconnect','SOCKET_FAILED_RETRY','_transitionLocked','_injector','keySize','c2Prime','_waitCount','setWaitCount','getLocalCacheKey','method','_updateLocalCache','CollaborationUIEventService','_sessions','_initUnitPermissionChange','IMentionIOService','unit-cache-','_snapshotServerService','parse','[PendingState]:\x20received\x20acknowledgement.','/universer-api/oidc/authpage','change$','HEARTBEAT','SerializableCipher','_initCloseConn','toDisposable','put','mergeOverrideWithDependencies','_entityInit$','asObservable','_getSignURL','HEARTBEAT_INTERVAL_KEY','error$','_unlockTransition','IAuthzIoService','CollaborationSession','getResourcesRequest','updatePermissionPoint','_resendTimeout','CollaborationEvent','\x20-\x20','DEFAULT_COLLAB_WEB_SOCKET_URL','post','_process','size','extend','ICollaborationSocketService','_clearScheduledTask','onTransformRemoteChangesetByIMECache','getLatestCsReqIdBySid','_transformRemoteChangesetByStateCache','56UEKRyP','code','_members$','UnitSnapshot','SnapshotService','_initMergeInterceptor','merge','emitEvent','_incrementRevisionNumber','stringify','blockSize','_handlerCallback','_onConnectionFailed','_sender','_change$','unpad','_doProcessBlock','localeService','_transformStack','_collaborationPaused','close$','ReplaySubject','_oKey','YUUMI_CONNECTOR_URL_NOT_FOUND','OPTIONAL','_rescheduleHeartbeat','enc','/universer-api/user/session-ticket','onlyLocal','_configService','1437cthUHz','APPLY_REJECT','objects','[CollaborationSessionService]','[DataLoaderService]','saveSnapshot','USERS_ENTER','PERMISSION_DENIED','objectActions','loadUnitOfRevision','key','_candidateSocket','MentionType','toStringTag','_listenToNetworkCondition','sigBytes','_startCollaboration','sin','_snapshotService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ILogService','_executeRemoteChangeset','socketService','getCurrentRevOfUnit','routeKey','allowed','MUTATION','readInt32LE','YUUMI_NO_CUBOID_FOR_QUESTION','LICENSE_DISTRO_REJECTED','AwaitingState','ISnapshotServerService','x-univer-host','_initDependencies','fetch_missing','_onRemoteRejected','ImageSourceType','format','?url=','_socket$','entries','repeat','push','Optional','unitInfo$','_sheetTransformSelectionsService','originalMeta','status','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_transformService','appendMutation','salt','fetchMiss','execute','UnitEmbedded','univer-pro.collaboration-client.single-active-unit-service','EMAIL_HAS_BEEN_BOUND','/universer-api/snapshot/','algo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_COLLABORATION_CLIENT_PLUGIN','_retryCount','_event$','default','ConflictState','synced','revision','ERROR_IMAGE','resolve','SetSelectionsOperation','6zUYIAv','SNAPSHOT_HAS_BEEN_REMOVED','/-/object/list','1695136WHzbMA','RECV','onCommentUpdate','onTransformState','UNDEFINED','collaborators','MOBILE_VERIFY_CODE_MISMATCH','CommentService','responseType','mode','refreshPermission','concat','_iKey','_submitChangeset','SUBMIT_CHANGESET','_exhaustRemoteChangesetQueue','_onFetchMissResult','_univerInstanceService','PSEUDO_FETCH_MISSING_RESULT','_nDataBytes','clone','length','waitForRoom$','BlockCipherMode','members','MemberService','transformSelections','collabWebSocketUrl','decrypt','event$','pipe','/universer-api/authz','Subject','SOCKET_FAILED','ENSURE_SNAPSHOT_EXECUTION','Disposable','130sRxFfp','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','EvpKDF','shouldCloseConn','_transformUndoredo','roomInfos','_createInitialStateImpl','collaboration_new_changeset','takeUntil','_disableEditing','session.room-full','image/jpeg','take','_onCombEvent','readyForCollab','_doReset','_iv','fetching\x20missing\x20changesets\x20from\x20','setShowComponents','SheetCollaborationEntity','transformStack\x20failed!','socket$','DocCollaborationEntity','src','_getDownloadEndpointURL','UniverCollaborationPlugin','IDLE','online$','downloadEndpointUrl','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','stopTime','LIVESHARE_NEW_HOST','YUUMI_URL_COL_OUT_OF_RANGE','UserManagerService','onRemoteChangeset','_getAPIPrefixPath','origin','isTransformChangesetsSuccess','_singleActiveUnitService','/-/object/-/batch_allowed','_clearTimeoutTimer','error','PENDING','/universer-api/uniscript','APPLY_NON_SEQUENTIAL_REVISION','_localeService','_getUndoStack','887455JXGCVS','_transformRemoteChangesetByIMECache','UNKNOWN_CODE','onMissedChangesetFetched','_roomCreated$','fetchThroughInterceptors','isArray','sessionStatus','defineProperty','_substituteRedoStack','changesets','pad','_timeoutTimer','join','generateRandomId','filter','executeCommand','saveImage','every','list','_transformStateCache','rev','CipherParams','ITransformService','roles','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onCommandExecuted','_updateState','incrementRevOfUnit','_substituteUndoStack','init','USER_NOT_INVITED_CODE','__Key__','FileId','ICommandService','NOT_COLLAB','_keyPriorReset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','CollaborationController','Base','LIVESHARE_REQUEST_HOST','isPermissionRej','Injector','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','enableSingleActiveInstanceLock','unsubscribe','collabSubmitChangesetUrl','_map','startTime','Cipher','MOBILE_HAS_BEEN_BOUND','_mode','href','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_isPermissionRej','WorkbookEditablePermission','PERMISSION_REJ','50328MqpDph','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','441714xEEpCc','_onRemoteRetry','Undefined','fetchMissingChangesets','_logService','_createSocket','state','_awaitingChangeset','Error\x20on\x20receiving\x20event','loadOfflineData','status$','HttpImport','AES','_collaborationSessionService','_config','actions','params','[CollaborationUndoRedoService]','sid','_joinRoom','_onMessage','ivSize','createInstance','RxDisposable','hostname','ITelemetryService','getSnapshotAPIPath','FETCH_MISSING','finalize','_acknowledgedAwaitingChangeset','location','TOO_MANY_REQUESTS','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','onload','toString','_redoStacks','CHANGESET_REVISION_CONFILICT','LICENSE_MAX_UNITS_EXCEEDED','createIdentifier','_transformIMECache','_getRedoStack','_HTTPService','_doCryptBlock','LIVESHARE_TERMINATE','_type','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','awaiting','subUnitId','_sendHeartbeatTimer','/object','_clearLocalCache','crypto','UNISCRIPT_RUN','_createHelper','LICENSE_EXPORT_SIZE_EXCEEDED','onSyncEditingCollabCursor','COMPLETION_FINISHED','body','unitId\x20is\x20not\x20found','_entities','loginUrlKey','requestParams','interceptor','_getLoginPath','ceil'];_0x250a=function(){return _0x37bd3e;};return _0x250a();}exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x54c725,_0x303ab7,_0x28e512,_0x4ee3a6,_0x3393a7,_0x4cd4da){var _0x590a37=_0x4adc58;super(),A(this,_0x590a37(0x283),new H['BehaviorSubject'](void 0x0)),A(this,_0x590a37(0x2de),this[_0x590a37(0x283)]['asObservable']()),A(this,_0x590a37(0x267),null),A(this,_0x590a37(0x218),new Map()),A(this,'_status$',new H[(_0x590a37(0x3b0))](re[_0x590a37(0x2e3)])),A(this,_0x590a37(0x33d),this[_0x590a37(0x467)][_0x590a37(0x228)]()),A(this,'_socketReady',!0x1),A(this,_0x590a37(0x458)),A(this,_0x590a37(0x299),0x0),A(this,_0x590a37(0x363)),A(this,_0x590a37(0x304)),(this['_injector']=_0x54c725,this['_logService']=_0x303ab7,this[_0x590a37(0x25b)]=_0x28e512,this[_0x590a37(0x1db)]=_0x4ee3a6,this[_0x590a37(0x496)]=_0x3393a7,this['_networkConditionService']=_0x4cd4da,this['_listenToNetworkCondition']());}get[_0x4adc58(0x3f2)](){var _0x15c8bc=_0x4adc58;return this[_0x15c8bc(0x283)][_0x15c8bc(0x42a)]();}[_0x4adc58(0x26a)](){var _0x4fb683=_0x4adc58;this['_networkConditionService']&&this[_0x4fb683(0x166)](this['_networkConditionService'][_0x4fb683(0x2e4)]['subscribe'](_0x105ea9=>{var _0x5b743b=_0x4fb683;_0x105ea9&&!this[_0x5b743b(0x3f2)]&&this['reconnect'](),_0x105ea9||this[_0x5b743b(0x424)]();}));}[_0x4adc58(0x1d1)](){var _0x277ec9=_0x4adc58;super[_0x277ec9(0x1d1)](),this['_clearRetryConnectingTimer'](),this[_0x277ec9(0x2f1)](),this[_0x277ec9(0x3ac)](),this[_0x277ec9(0x218)][_0x277ec9(0x37b)](_0x423681=>_0x423681[_0x277ec9(0x1d1)]()),this[_0x277ec9(0x218)][_0x277ec9(0x1bd)](),this['_status$'][_0x277ec9(0x17f)]();}async[_0x4adc58(0x4ca)](_0x292205){var _0x28b5ea=_0x4adc58;if(this['_sessions'][_0x28b5ea(0x3e0)](_0x292205))return this['_sessions'][_0x28b5ea(0x44b)](_0x292205);this[_0x28b5ea(0x497)]();const _0x3f257d=this[_0x28b5ea(0x20f)][_0x28b5ea(0x349)](exports['CollaborationSession'],_0x292205,this['_socket$'][_0x28b5ea(0x228)]());return this[_0x28b5ea(0x218)][_0x28b5ea(0x440)](_0x292205,_0x3f257d),_0x3f257d;}['closeSession'](_0x54bd37){var _0x17d927=_0x4adc58,_0x588fbf;const _0xb9e76=this[_0x17d927(0x218)][_0x17d927(0x44b)](_0x54bd37);_0xb9e76&&(this[_0x17d927(0x218)][_0x17d927(0x47e)](_0x54bd37),_0xb9e76[_0x17d927(0x1d7)]()),this[_0x17d927(0x218)][_0x17d927(0x237)]||(_0x588fbf=this[_0x17d927(0x3f2)])==null||_0x588fbf[_0x17d927(0x1d7)]();}[_0x4adc58(0x48a)](){var _0x10669b=_0x4adc58;this[_0x10669b(0x299)]=0x0,this[_0x10669b(0x1ed)](),this[_0x10669b(0x20c)]();}[_0x4adc58(0x1ed)](){var _0x40deca=_0x4adc58;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x40deca(0x458)]=null);}async[_0x4adc58(0x338)](){var _0x2f0934=_0x4adc58,_0xb284dc;const _0x8e8cd2=this[_0x2f0934(0x25b)][_0x2f0934(0x392)](Y),_0x38bf3a=(_0xb284dc=_0x8e8cd2==null?void 0x0:_0x8e8cd2[_0x2f0934(0x2c0)])!=null?_0xb284dc:ht,_0x509736=await this[_0x2f0934(0x1db)][_0x2f0934(0x4c0)](_0x38bf3a);return this[_0x2f0934(0x267)]=_0x509736,_0x509736;}async[_0x4adc58(0x497)](){var _0x4c9a30=_0x4adc58,_0x32d6e1,_0x38b8aa;try{const _0x261632=(_0x38b8aa=(_0x32d6e1=this['_socket'])!=null?_0x32d6e1:this[_0x4c9a30(0x267)])!=null?_0x38b8aa:await this['_createSocket']();if(_0x261632){const _0x1906b1=_0x261632[_0x4c9a30(0x1b1)];_0x261632[_0x4c9a30(0x1b1)]=_0x5aa27d=>(this[_0x4c9a30(0x257)](),_0x1906b1['apply'](_0x261632,[_0x5aa27d])),_0x261632[_0x4c9a30(0x15c)][_0x4c9a30(0x1b8)](_0x668779=>this[_0x4c9a30(0x347)](_0x261632,_0x668779)),_0x261632[_0x4c9a30(0x22b)][_0x4c9a30(0x2c3)](V[_0x4c9a30(0x2d5)](0x1))[_0x4c9a30(0x1b8)](_0x440d1e=>this[_0x4c9a30(0x337)][_0x4c9a30(0x2f2)](_0x4c9a30(0x184),_0x440d1e)),_0x261632['open$'][_0x4c9a30(0x2c3)](V['take'](0x1))[_0x4c9a30(0x1b8)](()=>{var _0x24e0a3=_0x4c9a30;this[_0x24e0a3(0x3ef)](_0x261632);}),_0x261632['close$']['pipe'](V[_0x4c9a30(0x2d5)](0x1))[_0x4c9a30(0x1b8)](_0x4a4c2e=>{var _0x5d504e=_0x4c9a30;this[_0x5d504e(0x337)]['debug'](_0x5d504e(0x25f),'socket\x20close',_0x4a4c2e),this['_onConnectionFailed']();});}}catch(_0x1deaef){this[_0x4c9a30(0x337)][_0x4c9a30(0x2f2)](_0x1deaef),this[_0x4c9a30(0x24a)]();}}[_0x4adc58(0x3ef)](_0x57ed66){var _0x3859c4=_0x4adc58;this[_0x3859c4(0x337)][_0x3859c4(0x3d9)](_0x3859c4(0x25f),_0x3859c4(0x3a5)),_0x57ed66[_0x3859c4(0x1b1)]({'cmd':W[_0x3859c4(0x475)]}),this[_0x3859c4(0x257)]();}[_0x4adc58(0x424)](){var _0x4befb4=_0x4adc58;this[_0x4befb4(0x429)]=!0x1,this['_candidateSocket']=null,this[_0x4befb4(0x467)][_0x4befb4(0x395)](re[_0x4befb4(0x43a)]),this[_0x4befb4(0x283)][_0x4befb4(0x395)](null),this[_0x4befb4(0x2f1)](),this[_0x4befb4(0x3ac)]();}[_0x4adc58(0x24a)](){var _0x3f8a0a=_0x4adc58,_0x408cde;this[_0x3f8a0a(0x424)](),this[_0x3f8a0a(0x299)]<((_0x408cde=this['_configService'][_0x3f8a0a(0x392)](ut))!=null?_0x408cde:Mt)?(this[_0x3f8a0a(0x496)][_0x3f8a0a(0x245)]({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x3f8a0a(0x20c)]()):this[_0x3f8a0a(0x496)][_0x3f8a0a(0x245)]({'id':Z['SOCKET_FAILED']});}['_tryReconnect'](){var _0x1ba1bf=_0x4adc58,_0x138b7b;const _0x2d26de=this[_0x1ba1bf(0x299)],_0x7d0895=this[_0x1ba1bf(0x25b)][_0x1ba1bf(0x392)](Y),_0x25fa8e=_0x2d26de===0x0?0x0:((_0x138b7b=_0x7d0895==null?void 0x0:_0x7d0895[_0x1ba1bf(0x201)])!=null?_0x138b7b:wt)*0x2**_0x2d26de;this[_0x1ba1bf(0x458)]=setTimeout(()=>{var _0x56e123=_0x1ba1bf;clearTimeout(this[_0x56e123(0x458)]),this[_0x56e123(0x458)]=null,this[_0x56e123(0x497)]();},_0x25fa8e),this[_0x1ba1bf(0x299)]+=0x1;}[_0x4adc58(0x347)](_0x893440,_0x1c541b){var _0x4ba6ad=_0x4adc58;const {cmd:_0xdbf7e8}=_0x1c541b;_0xdbf7e8===W[_0x4ba6ad(0x475)]&&!this[_0x4ba6ad(0x429)]&&(_0x893440['memberID']=_0x1c541b[_0x4ba6ad(0x46c)][_0x4ba6ad(0x4a0)],this[_0x4ba6ad(0x283)][_0x4ba6ad(0x395)](_0x893440),this[_0x4ba6ad(0x467)][_0x4ba6ad(0x395)](re['ONLINE']),this[_0x4ba6ad(0x429)]=!0x0,this[_0x4ba6ad(0x267)]=null),_0xdbf7e8===W[_0x4ba6ad(0x221)]&&this[_0x4ba6ad(0x2f1)](),this[_0x4ba6ad(0x257)]();}[_0x4adc58(0x257)](){var _0x54f6a6=_0x4adc58,_0x2d5b1e;this[_0x54f6a6(0x3ac)](),this[_0x54f6a6(0x363)]=setTimeout(()=>this[_0x54f6a6(0x1ff)](),(_0x2d5b1e=this[_0x54f6a6(0x25b)][_0x54f6a6(0x392)](_t))!=null?_0x2d5b1e:Pt);}['_sendHeartbeat'](){var _0x4e28e4=_0x4adc58;this[_0x4e28e4(0x3f2)][_0x4e28e4(0x1b1)]({'cmd':W[_0x4e28e4(0x221)]}),this[_0x4e28e4(0x47c)]();}[_0x4adc58(0x47c)](){var _0x2549dd=_0x4adc58,_0x52dee2;this[_0x2549dd(0x304)]=setTimeout(()=>this[_0x2549dd(0x24a)](),(_0x52dee2=this[_0x2549dd(0x25b)]['getConfig'](ke))!=null?_0x52dee2:lt);}[_0x4adc58(0x3ac)](){var _0x3260f7=_0x4adc58;this[_0x3260f7(0x363)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x4adc58(0x2f1)](){var _0x3be31e=_0x4adc58;this[_0x3be31e(0x304)]!=null&&(clearTimeout(this[_0x3be31e(0x304)]),this[_0x3be31e(0x304)]=null);}},exports[_0x4adc58(0x196)]=ci([he(0x0,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),he(0x1,a[_0x4adc58(0x270)]),he(0x2,a[_0x4adc58(0x3f1)]),he(0x3,Fe),he(0x4,a[_0x4adc58(0x49e)](ee)),he(0x5,a[_0x4adc58(0x287)](pt))],exports['CollaborationSessionService']);var hi=Object[_0x4adc58(0x3af)],_i=(_0x3e0bd4,_0x374a39,_0x5dcc1f,_0x3c896a)=>{for(var _0x32731f=_0x3c896a>0x1?void 0x0:_0x3c896a?hi(_0x374a39,_0x5dcc1f):_0x374a39,_0x522ebc=_0x3e0bd4['length']-0x1,_0x103ff6;_0x522ebc>=0x0;_0x522ebc--)(_0x103ff6=_0x3e0bd4[_0x522ebc])&&(_0x32731f=_0x103ff6(_0x32731f)||_0x32731f);return _0x32731f;},Se=(_0x17d4ed,_0x53777d)=>(_0x4c5d76,_0x1c8776)=>_0x53777d(_0x4c5d76,_0x1c8776,_0x17d4ed);exports[_0x4adc58(0x31e)]=class extends a[_0x4adc58(0x34a)]{constructor(_0x163ff8,_0xe9bc0a,_0x1c4540,_0x5af33a){var _0xb932cd=_0x4adc58,_0xd9a3fa;super(),A(this,_0xb932cd(0x36e),new Map()),A(this,_0xb932cd(0x227),new H['Subject']()),A(this,_0xb932cd(0x18b),this[_0xb932cd(0x227)][_0xb932cd(0x228)]()),(this[_0xb932cd(0x20f)]=_0x163ff8,this[_0xb932cd(0x206)]=_0xe9bc0a,this['_configService']=_0x1c4540,this['_univerInstanceService']=_0x5af33a,((_0xd9a3fa=this['_configService'][_0xb932cd(0x392)](Y))==null?void 0x0:_0xd9a3fa['enableCollaboration'])!==!0x1&&this[_0xb932cd(0x18e)]());}['dispose'](){var _0x2b1796=_0x4adc58;super[_0x2b1796(0x1d1)](),this[_0x2b1796(0x36e)][_0x2b1796(0x37b)](_0x31acba=>_0x31acba[_0x2b1796(0x1d1)]()),this[_0x2b1796(0x36e)][_0x2b1796(0x1bd)]();}['getCollabEntity'](_0x5b63e5){var _0x541f51=_0x4adc58,_0x428b36;return(_0x428b36=this[_0x541f51(0x36e)]['get'](_0x5b63e5))!=null?_0x428b36:null;}['getCollabEntity$'](_0x53a4c4){var _0x3be5fe=_0x4adc58;const _0x4d66de=this[_0x3be5fe(0x1a5)](_0x53a4c4);return _0x4d66de?H['of'](_0x4d66de):this['_entityInit$'][_0x3be5fe(0x2c3)](V[_0x3be5fe(0x307)](_0x49a3f6=>_0x49a3f6[_0x3be5fe(0x1e3)]===_0x53a4c4));}[_0x4adc58(0x2d7)](_0x5ac1b1){var _0x191092=_0x4adc58;return H[_0x191092(0x3dc)](this[_0x191092(0x465)](_0x5ac1b1)[_0x191092(0x2c3)](V[_0x191092(0x1ea)](()=>{})));}['_init'](){var _0x541ff3=_0x4adc58;this[_0x541ff3(0x2b6)][_0x541ff3(0x1ae)](a[_0x541ff3(0x3f3)][_0x541ff3(0x3fa)])[_0x541ff3(0x2c3)](H[_0x541ff3(0x2d1)](this['dispose$']),V[_0x541ff3(0x1c7)](0x10))[_0x541ff3(0x1b8)](async _0x1c0501=>{var _0x2b224b=_0x541ff3;const _0x2730fd=_0x1c0501[_0x2b224b(0x40c)](),_0x182441=await this['_startCollaboration'](_0x2730fd,J[_0x2b224b(0x3fa)]);this[_0x2b224b(0x36e)][_0x2b224b(0x440)](_0x2730fd,_0x182441);}),this[_0x541ff3(0x2b6)][_0x541ff3(0x1ae)](a[_0x541ff3(0x3f3)][_0x541ff3(0x3ae)])[_0x541ff3(0x2c3)](H[_0x541ff3(0x2d1)](this[_0x541ff3(0x40f)]),V[_0x541ff3(0x1c7)](0x10))[_0x541ff3(0x2c3)](V[_0x541ff3(0x307)](_0x4f1a4f=>!_0x4f1a4f[_0x541ff3(0x40c)]()[_0x541ff3(0x39d)]('__')))['subscribe'](async _0x478a8b=>{var _0x83c61f=_0x541ff3;const _0x24ca32=_0x478a8b['getUnitId'](),_0x45d731=await this[_0x83c61f(0x26c)](_0x24ca32,J['UNIVER_DOC']);this[_0x83c61f(0x36e)][_0x83c61f(0x440)](_0x24ca32,_0x45d731);}),H['merge'](this[_0x541ff3(0x2b6)][_0x541ff3(0x1bc)](a[_0x541ff3(0x3f3)][_0x541ff3(0x3fa)]),this[_0x541ff3(0x2b6)][_0x541ff3(0x1bc)](a['UniverInstanceType'][_0x541ff3(0x3ae)]))[_0x541ff3(0x2c3)](H[_0x541ff3(0x2d1)](this[_0x541ff3(0x40f)]))['subscribe'](_0x11b242=>{var _0x9d0118=_0x541ff3;const _0x349377=_0x11b242[_0x9d0118(0x40c)](),_0x30edee=this[_0x9d0118(0x36e)][_0x9d0118(0x44b)](_0x349377);_0x30edee&&(_0x30edee[_0x9d0118(0x1d1)](),this[_0x9d0118(0x36e)]['delete'](_0x349377));});}async['_startCollaboration'](_0x8d1d03,_0x450463){var _0x56a410=_0x4adc58;const _0xc9d0a1=await this[_0x56a410(0x206)]['requireSession'](_0x8d1d03),_0x3e58c7=this[_0x56a410(0x20f)][_0x56a410(0x349)](this[_0x56a410(0x1a8)](_0x450463),_0x8d1d03,_0x450463,_0xc9d0a1);return await _0x3e58c7[_0x56a410(0x316)](),this[_0x56a410(0x227)][_0x56a410(0x395)](_0x3e58c7),_0x3e58c7;}['_getCtorByUniverType'](_0x518d65){var _0x4a0fc3=_0x4adc58;switch(_0x518d65){case J[_0x4a0fc3(0x3ae)]:return exports[_0x4a0fc3(0x2df)];case J[_0x4a0fc3(0x3fa)]:return exports[_0x4a0fc3(0x2dc)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x518d65);}}},exports[_0x4adc58(0x31e)]=_i([Se(0x0,a[_0x4adc58(0x49e)](a['Injector'])),Se(0x1,a[_0x4adc58(0x49e)](exports['CollaborationSessionService'])),Se(0x2,a[_0x4adc58(0x3f1)]),Se(0x3,a[_0x4adc58(0x46d)])],exports['CollaborationController']);var li=Object['getOwnPropertyDescriptor'],ui=(_0x253538,_0x2d504d,_0x1cb59e,_0x4bf54e)=>{var _0x41bc73=_0x4adc58;for(var _0x28cd8a=_0x4bf54e>0x1?void 0x0:_0x4bf54e?li(_0x2d504d,_0x1cb59e):_0x2d504d,_0x1bec5d=_0x253538[_0x41bc73(0x2ba)]-0x1,_0x21e89e;_0x1bec5d>=0x0;_0x1bec5d--)(_0x21e89e=_0x253538[_0x1bec5d])&&(_0x28cd8a=_0x21e89e(_0x28cd8a)||_0x28cd8a);return _0x28cd8a;},Ye=(_0x193f74,_0x3044cb)=>(_0x3103aa,_0x543e22)=>_0x3044cb(_0x3103aa,_0x543e22,_0x193f74);const di=_0x4adc58(0x45d),vi='Univer';let xe=class extends a[_0x4adc58(0x2c8)]{constructor(_0x34ce7f,_0x2db24a){var _0xef970b=_0x4adc58;super(),this[_0xef970b(0x2b6)]=_0x34ce7f,this[_0xef970b(0x25b)]=_0x2db24a,this[_0xef970b(0x18e)]();}[_0x4adc58(0x18e)](){var _0x372ece=_0x4adc58;this[_0x372ece(0x166)](this[_0x372ece(0x2b6)]['focused$'][_0x372ece(0x1b8)](()=>{var _0x47f160=_0x372ece,_0x3291e9;const _0x1f3d9d=this[_0x47f160(0x2b6)][_0x47f160(0x4a3)]();let _0x11a61e=(_0x3291e9=this[_0x47f160(0x25b)][_0x47f160(0x392)](di))!=null?_0x3291e9:vi;_0x1f3d9d instanceof a[_0x47f160(0x3cf)]&&(_0x11a61e=_0x1f3d9d[_0x47f160(0x45c)]),document[_0x47f160(0x3ca)]=_0x11a61e;}));}};xe=ui([Ye(0x0,a[_0x4adc58(0x46d)]),Ye(0x1,a[_0x4adc58(0x3f1)])],xe);var Si=Object[_0x4adc58(0x3af)],fi=(_0x40e7d7,_0x143f8b,_0x23d044,_0x49ed60)=>{var _0x4b67b1=_0x4adc58;for(var _0x449c0a=_0x49ed60>0x1?void 0x0:_0x49ed60?Si(_0x143f8b,_0x23d044):_0x143f8b,_0x1849e6=_0x40e7d7[_0x4b67b1(0x2ba)]-0x1,_0x140e6e;_0x1849e6>=0x0;_0x1849e6--)(_0x140e6e=_0x40e7d7[_0x1849e6])&&(_0x449c0a=_0x140e6e(_0x449c0a)||_0x449c0a);return _0x449c0a;},Ae=(_0x17ffa8,_0x1f0ee1)=>(_0x3c107d,_0x43ba4d)=>_0x1f0ee1(_0x3c107d,_0x43ba4d,_0x17ffa8);let ye=class{constructor(_0x4bb8a8,_0x3c8924,_0x1f21bf){var _0x478054=_0x4adc58;this[_0x478054(0x25b)]=_0x4bb8a8,this[_0x478054(0x3a2)]=_0x3c8924,this[_0x478054(0x24f)]=_0x1f21bf,this[_0x478054(0x316)]();}[_0x4adc58(0x316)](){var _0xbece50=_0x4adc58;this[_0xbece50(0x3a2)][_0xbece50(0x3b2)]({'priority':0x1,'interceptor':(_0x5176ac,_0x4182f8)=>_0x4182f8(_0x5176ac)[_0xbece50(0x2c3)](H[_0xbece50(0x3e2)](async _0x27b1a2=>{var _0x526e94=_0xbece50;const _0x51c367=_0x27b1a2;if(_0x51c367[_0x526e94(0x28b)]===0x191){if(typeof window>'u')throw new Error(_0x526e94(0x49c));if(window['confirm'](this['localeService']['t'](_0x526e94(0x19c)))){const _0x4a8fb0=window[_0x526e94(0x460)](window[_0x526e94(0x351)]['href']);window[_0x526e94(0x351)][_0x526e94(0x32c)]=this[_0x526e94(0x372)]()+_0x526e94(0x282)+_0x4a8fb0;}}return _0x51c367;}))});}[_0x4adc58(0x372)](){var _0x10b6a6=_0x4adc58,_0x36c05b;const _0x4c6417=this['_configService'][_0x10b6a6(0x392)](Y);return(_0x36c05b=_0x4c6417==null?void 0x0:_0x4c6417[_0x10b6a6(0x36f)])!=null?_0x36c05b:$t;}};ye=fi([Ae(0x0,a[_0x4adc58(0x3f1)]),Ae(0x1,a[_0x4adc58(0x49e)](q['HTTPService'])),Ae(0x2,a[_0x4adc58(0x49e)](a[_0x4adc58(0x1f9)]))],ye);var Ii=Object[_0x4adc58(0x3af)],pi=(_0x4b7fec,_0x28331a,_0x1585df,_0x12db68)=>{var _0x4dfe3d=_0x4adc58;for(var _0x5eb8a3=_0x12db68>0x1?void 0x0:_0x12db68?Ii(_0x28331a,_0x1585df):_0x28331a,_0xdf0efb=_0x4b7fec[_0x4dfe3d(0x2ba)]-0x1,_0x35b6ad;_0xdf0efb>=0x0;_0xdf0efb--)(_0x35b6ad=_0x4b7fec[_0xdf0efb])&&(_0x5eb8a3=_0x35b6ad(_0x5eb8a3)||_0x5eb8a3);return _0x5eb8a3;},qe=(_0x33a422,_0x2ae6d4)=>(_0x205b10,_0x32cc09)=>_0x2ae6d4(_0x205b10,_0x32cc09,_0x33a422);const mi=_0x4adc58(0x2c4);exports['AuthzIoHttpService']=class extends a[_0x4adc58(0x2c8)]{constructor(_0x271f7b,_0x3abdf0){var _0x197c52=_0x4adc58;super(),this['_HTTPService']=_0x271f7b,this['_configService']=_0x3abdf0,this[_0x197c52(0x243)]();}['_initMergeInterceptor'](){var _0x45786c=_0x4adc58;const _0x59cb09=this;this[_0x45786c(0x166)](this[_0x45786c(0x35c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x45786c(0x1fa)]({'isMatch'(_0x431c51){var _0x3ce034=_0x45786c,_0x2862e6;if(_0x431c51[_0x3ce034(0x215)]===_0x3ce034(0x1f0)&&((_0x2862e6=_0x431c51[_0x3ce034(0x370)])!=null&&_0x2862e6[_0x3ce034(0x36c)])){const {objectID:_0x30e9ab,objectType:_0x38dcc7}=_0x431c51[_0x3ce034(0x370)]['body']||{};if(!_0x30e9ab||_0x38dcc7===void 0x0)return!0x1;const _0x5a1ec5=_0x59cb09['_getAPIPrefixPath']()+'/'+_0x38dcc7+_0x3ce034(0x1de)+_0x30e9ab+'/allowed';if(_0x431c51[_0x3ce034(0x1a3)]===_0x5a1ec5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5a93c6){var _0xc89a54=_0x45786c,_0x1cb0a7;return(_0x1cb0a7=_0x5a93c6[_0xc89a54(0x370)])==null?void 0x0:_0x1cb0a7[_0xc89a54(0x36c)];},'mergeParamsToRequest'(_0xe40535,_0x58035b){var _0x594f2c=_0x45786c;const _0xf6bb8f=_0x59cb09[_0x594f2c(0x2ec)]()+_0x594f2c(0x2f0),_0x3c1a76=_0xe40535[_0x594f2c(0x41b)]((_0x356b14,_0x1f5081)=>{var _0x30860f=_0x594f2c;const {unitID:_0xc8d99b,objectID:_0x160866,objectType:_0xda9991,actions:_0x25c1ec}=_0x1f5081;return _0x356b14[_0xc8d99b]||(_0x356b14[_0xc8d99b]={}),_0x356b14[_0xc8d99b][_0x160866]||(_0x356b14[_0xc8d99b][_0x160866]={'objectID':_0x160866,'objectType':_0xda9991,'actions':[]}),_0x356b14[_0xc8d99b][_0x160866][_0x30860f(0x342)][_0x30860f(0x286)](..._0x25c1ec),_0x356b14;},{}),_0x3867e1=[];for(const _0x28178a in _0x3c1a76)for(const _0x36300b in _0x3c1a76[_0x28178a]){const {actions:_0x304e88,objectType:_0x2ea1e7}=_0x3c1a76[_0x28178a][_0x36300b],_0xc3937f=[...new Set(_0x304e88)];_0x3867e1[_0x594f2c(0x286)]({'unitID':_0x28178a,'objectID':_0x36300b,'objectType':_0x2ea1e7,'actions':_0xc3937f});}return new q[(_0x594f2c(0x4b1))](_0x594f2c(0x1f0),_0xf6bb8f,{'headers':_0x58035b[_0x594f2c(0x408)],'withCredentials':_0x58035b[_0x594f2c(0x1f5)],'responseType':_0x58035b[_0x594f2c(0x2ad)],'body':{'requests':_0x3867e1}});}},{'distributeResult'(_0x31644f,_0x4dbdd9){var _0x42cca1=_0x45786c;const {objectActions:_0x37d948}=_0x31644f;return _0x4dbdd9[_0x42cca1(0x1ea)](_0x312ac6=>{var _0x505b96=_0x42cca1;const {unitID:_0x5b187a,objectID:_0x44175d,actions:_0xa84f85}=_0x312ac6,_0x238fde=_0x37d948[_0x505b96(0x4ac)](_0x317236=>_0x317236[_0x505b96(0x1e3)]===_0x5b187a&&_0x317236[_0x505b96(0x1b2)]===_0x44175d),_0x3dfbf1=_0xa84f85['map'](_0x48e942=>_0x238fde==null?void 0x0:_0x238fde[_0x505b96(0x342)]['find'](_0xab506f=>_0xab506f[_0x505b96(0x4cb)]===_0x48e942))[_0x505b96(0x307)](_0xd03fac=>!!_0xd03fac);return{'config':_0x312ac6,'result':{'actions':_0x3dfbf1,'error':_0x31644f[_0x505b96(0x2f2)]}};});}})}));}[_0x4adc58(0x2ec)](){var _0x22cd36=_0x4adc58,_0x8c30ff;const _0x52ce97=this[_0x22cd36(0x25b)][_0x22cd36(0x392)](Y);return(_0x8c30ff=_0x52ce97==null?void 0x0:_0x52ce97[_0x22cd36(0x3d6)])!=null?_0x8c30ff:mi;}async[_0x4adc58(0x442)](_0x3ad5bb){var _0x1edd1c=_0x4adc58;const _0x51d32c=this[_0x1edd1c(0x2ec)]()+'/'+_0x3ad5bb[_0x1edd1c(0x491)]+_0x1edd1c(0x364);return(await this[_0x1edd1c(0x35c)]['post'](_0x51d32c,{'body':_0x3ad5bb}))['body']['objectID']||'';}async[_0x4adc58(0x30b)](_0x1f233c){var _0x1ebe20=_0x4adc58;const _0xa0a4b3=this[_0x1ebe20(0x2ec)]()+_0x1ebe20(0x2a4);return(await this[_0x1ebe20(0x35c)][_0x1ebe20(0x235)](_0xa0a4b3,{'body':_0x1f233c}))['body'][_0x1ebe20(0x25e)];}async[_0x4adc58(0x19a)](_0xffe894){var _0x24ffda=_0x4adc58,_0xf52347,_0x29fbca;const _0x4f46cb=this[_0x24ffda(0x2ec)]()+'/'+_0xffe894['objectType']+_0x24ffda(0x1de)+_0xffe894[_0x24ffda(0x1b2)],_0x5cb753=await this[_0x24ffda(0x35c)][_0x24ffda(0x225)](_0x4f46cb,{'body':_0xffe894});if(((_0x29fbca=(_0xf52347=_0x5cb753==null?void 0x0:_0x5cb753[_0x24ffda(0x36c)])==null?void 0x0:_0xf52347['error'])==null?void 0x0:_0x29fbca[_0x24ffda(0x23f)])!==0x1)throw new Error(_0x24ffda(0x4a2));}async[_0x4adc58(0x275)](_0x4a6277){var _0x22e501=_0x4adc58;const _0x2014c2=this['_getAPIPrefixPath']()+'/'+_0x4a6277[_0x22e501(0x491)]+_0x22e501(0x1de)+_0x4a6277[_0x22e501(0x1b2)]+_0x22e501(0x1d6);return(await this[_0x22e501(0x35c)][_0x22e501(0x235)](_0x2014c2,{'body':_0x4a6277}))[_0x22e501(0x36c)][_0x22e501(0x342)];}async[_0x4adc58(0x44e)](_0x2a642e){var _0x268bb9=_0x4adc58;const _0x52166d=this[_0x268bb9(0x2ec)]()+'/-/object/-/batch_allowed';return(await this[_0x268bb9(0x35c)][_0x268bb9(0x235)](_0x52166d,{'body':{'requests':_0x2a642e}}))[_0x268bb9(0x36c)][_0x268bb9(0x264)];}async['listRoles'](_0x29aa64){var _0x772368=_0x4adc58;const _0x1986f0=this['_getAPIPrefixPath']()+'/'+_0x29aa64[_0x772368(0x491)]+_0x772368(0x410),_0x4ceb72=await this[_0x772368(0x35c)][_0x772368(0x235)](_0x1986f0,{'body':_0x29aa64});return{'roles':_0x4ceb72[_0x772368(0x36c)][_0x772368(0x310)],'actions':_0x4ceb72[_0x772368(0x36c)][_0x772368(0x342)]};}async[_0x4adc58(0x46b)](_0x96ce9f){var _0x189a87=_0x4adc58;const _0x456b85=this[_0x189a87(0x2ec)]()+_0x189a87(0x397);await this[_0x189a87(0x35c)][_0x189a87(0x47e)](_0x456b85,{'params':{'collaboratorID':_0x96ce9f[_0x189a87(0x161)],'objectID':_0x96ce9f[_0x189a87(0x1b2)],'unitID':_0x96ce9f[_0x189a87(0x1e3)]}});}async['updateCollaborator'](_0x421d43){var _0x54e399=_0x4adc58;const _0x1e5583=this[_0x54e399(0x2ec)]()+_0x54e399(0x397);await this[_0x54e399(0x35c)][_0x54e399(0x3ad)](_0x1e5583,{'body':_0x421d43});}async['createCollaborator'](_0x2ebc83){var _0x55ff4b=_0x4adc58;const _0x234eea=this['_getAPIPrefixPath']()+_0x55ff4b(0x397);await this['_HTTPService'][_0x55ff4b(0x235)](_0x234eea,{'body':_0x2ebc83});}async[_0x4adc58(0x1f8)](_0x4c2733){var _0x92d900=_0x4adc58;const _0x4725a3=this[_0x92d900(0x2ec)]()+_0x92d900(0x397);return(await this[_0x92d900(0x35c)][_0x92d900(0x44b)](_0x4725a3,{'params':{'objectID':_0x4c2733[_0x92d900(0x1b2)],'unitID':_0x4c2733['unitID']}}))['body']['collaborators'];}async[_0x4adc58(0x438)](_0x5a8f23){var _0x134ee2=_0x4adc58;const _0x24c61f=this[_0x134ee2(0x2ec)]()+_0x134ee2(0x397);await this[_0x134ee2(0x35c)][_0x134ee2(0x225)](_0x24c61f,{'body':_0x5a8f23});}},exports[_0x4adc58(0x1d2)]=pi([qe(0x0,a['Inject'](q[_0x4adc58(0x1b6)])),qe(0x1,a['Inject'](a[_0x4adc58(0x3f1)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4004ef){var _0x1a6f78=_0x4adc58;return _0x4004ef&&_0x4004ef['__esModule']&&Object[_0x1a6f78(0x46f)][_0x1a6f78(0x4c4)][_0x1a6f78(0x160)](_0x4004ef,_0x1a6f78(0x29b))?_0x4004ef['default']:_0x4004ef;}var fe={'exports':{}};function gi(_0x24995f){var _0x14658=_0x4adc58;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x24995f+_0x14658(0x2ca));}var Ie={'exports':{}},Ei=Ie[_0x4adc58(0x3a4)],Ke;function Q(){var _0x3b9053=_0x4adc58;return Ke||(Ke=0x1,function(_0x2291d7,_0x2fe903){(function(_0x41b647,_0xa9a4b8){var _0x2303ff=_0x2018;_0x2291d7[_0x2303ff(0x3a4)]=_0xa9a4b8();}(Ei,function(){var _0x3f9463=_0x3f9463||function(_0x389a92,_0x5c368e){var _0x32011d=_0x2018,_0x471e62;if(typeof window<'u'&&window['crypto']&&(_0x471e62=window[_0x32011d(0x366)]),typeof self<'u'&&self[_0x32011d(0x366)]&&(_0x471e62=self[_0x32011d(0x366)]),typeof globalThis<'u'&&globalThis[_0x32011d(0x366)]&&(_0x471e62=globalThis[_0x32011d(0x366)]),!_0x471e62&&typeof window<'u'&&window['msCrypto']&&(_0x471e62=window['msCrypto']),!_0x471e62&&typeof Pe<'u'&&Pe[_0x32011d(0x366)]&&(_0x471e62=Pe[_0x32011d(0x366)]),!_0x471e62&&typeof gi==_0x32011d(0x435))try{_0x471e62=require('crypto');}catch{}var _0x16ffb9=function(){var _0x1f3ed8=_0x32011d;if(_0x471e62){if(typeof _0x471e62[_0x1f3ed8(0x1aa)]=='function')try{return _0x471e62[_0x1f3ed8(0x1aa)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x471e62[_0x1f3ed8(0x198)]=='function')try{return _0x471e62[_0x1f3ed8(0x198)](0x4)[_0x1f3ed8(0x277)]();}catch{}}throw new Error(_0x1f3ed8(0x480));},_0x4bdf93=Object[_0x32011d(0x442)]||(function(){function _0x35e5b7(){}return function(_0x1fb586){var _0x249f90;return _0x35e5b7['prototype']=_0x1fb586,_0x249f90=new _0x35e5b7(),_0x35e5b7['prototype']=null,_0x249f90;};}()),_0x2c1754={},_0x2aa89d=_0x2c1754[_0x32011d(0x3b1)]={},_0x16ebfd=_0x2aa89d[_0x32011d(0x31f)]=(function(){return{'extend':function(_0x3279dc){var _0x4ff41d=_0x2018,_0x54312b=_0x4bdf93(this);return _0x3279dc&&_0x54312b[_0x4ff41d(0x1a9)](_0x3279dc),(!_0x54312b[_0x4ff41d(0x4c4)](_0x4ff41d(0x316))||this[_0x4ff41d(0x316)]===_0x54312b[_0x4ff41d(0x316)])&&(_0x54312b['init']=function(){var _0x423e49=_0x4ff41d;_0x54312b['$super'][_0x423e49(0x316)][_0x423e49(0x3ea)](this,arguments);}),_0x54312b[_0x4ff41d(0x316)][_0x4ff41d(0x46f)]=_0x54312b,_0x54312b['$super']=this,_0x54312b;},'create':function(){var _0x3a1885=_0x2018,_0x396128=this[_0x3a1885(0x238)]();return _0x396128[_0x3a1885(0x316)][_0x3a1885(0x3ea)](_0x396128,arguments),_0x396128;},'init':function(){},'mixIn':function(_0x370799){var _0x320757=_0x2018;for(var _0x20f1eb in _0x370799)_0x370799['hasOwnProperty'](_0x20f1eb)&&(this[_0x20f1eb]=_0x370799[_0x20f1eb]);_0x370799[_0x320757(0x4c4)](_0x320757(0x355))&&(this['toString']=_0x370799['toString']);},'clone':function(){var _0x570f73=_0x2018;return this[_0x570f73(0x316)][_0x570f73(0x46f)]['extend'](this);}};}()),_0x300e2f=_0x2aa89d[_0x32011d(0x4bf)]=_0x16ebfd['extend']({'init':function(_0x2e921d,_0x3ccc5d){var _0x42a142=_0x32011d;_0x2e921d=this[_0x42a142(0x4b0)]=_0x2e921d||[],_0x3ccc5d!=_0x5c368e?this[_0x42a142(0x26b)]=_0x3ccc5d:this[_0x42a142(0x26b)]=_0x2e921d['length']*0x4;},'toString':function(_0xf61f96){var _0x202460=_0x32011d;return(_0xf61f96||_0x40d3cc)[_0x202460(0x247)](this);},'concat':function(_0x21bce6){var _0x250644=_0x32011d,_0x208040=this[_0x250644(0x4b0)],_0xbdd84d=_0x21bce6['words'],_0x429a81=this['sigBytes'],_0x2606e6=_0x21bce6['sigBytes'];if(this[_0x250644(0x3ff)](),_0x429a81%0x4)for(var _0x312d2a=0x0;_0x312d2a<_0x2606e6;_0x312d2a++){var _0x57fa30=_0xbdd84d[_0x312d2a>>>0x2]>>>0x18-_0x312d2a%0x4*0x8&0xff;_0x208040[_0x429a81+_0x312d2a>>>0x2]|=_0x57fa30<<0x18-(_0x429a81+_0x312d2a)%0x4*0x8;}else{for(var _0x50abe6=0x0;_0x50abe6<_0x2606e6;_0x50abe6+=0x4)_0x208040[_0x429a81+_0x50abe6>>>0x2]=_0xbdd84d[_0x50abe6>>>0x2];}return this['sigBytes']+=_0x2606e6,this;},'clamp':function(){var _0x210b4e=_0x32011d,_0x23fa3e=this[_0x210b4e(0x4b0)],_0x21ccb3=this[_0x210b4e(0x26b)];_0x23fa3e[_0x21ccb3>>>0x2]&=0xffffffff<<0x20-_0x21ccb3%0x4*0x8,_0x23fa3e[_0x210b4e(0x2ba)]=_0x389a92[_0x210b4e(0x373)](_0x21ccb3/0x4);},'clone':function(){var _0x2f3fc0=_0x32011d,_0x2eefa4=_0x16ebfd['clone'][_0x2f3fc0(0x160)](this);return _0x2eefa4[_0x2f3fc0(0x4b0)]=this['words'][_0x2f3fc0(0x380)](0x0),_0x2eefa4;},'random':function(_0x41d510){var _0x5290ce=_0x32011d;for(var _0x451d03=[],_0x4c4efa=0x0;_0x4c4efa<_0x41d510;_0x4c4efa+=0x4)_0x451d03[_0x5290ce(0x286)](_0x16ffb9());return new _0x300e2f['init'](_0x451d03,_0x41d510);}}),_0x3b1a37=_0x2c1754[_0x32011d(0x258)]={},_0x40d3cc=_0x3b1a37[_0x32011d(0x459)]={'stringify':function(_0x2b1cea){var _0x5f3232=_0x32011d;for(var _0x5de341=_0x2b1cea['words'],_0x344c6e=_0x2b1cea[_0x5f3232(0x26b)],_0x1849cd=[],_0x5665f9=0x0;_0x5665f9<_0x344c6e;_0x5665f9++){var _0x57eca2=_0x5de341[_0x5665f9>>>0x2]>>>0x18-_0x5665f9%0x4*0x8&0xff;_0x1849cd[_0x5f3232(0x286)]((_0x57eca2>>>0x4)[_0x5f3232(0x355)](0x10)),_0x1849cd['push']((_0x57eca2&0xf)[_0x5f3232(0x355)](0x10));}return _0x1849cd[_0x5f3232(0x305)]('');},'parse':function(_0x17c82c){var _0x7466d6=_0x32011d;for(var _0x25b88a=_0x17c82c['length'],_0x234ea3=[],_0x53cb5e=0x0;_0x53cb5e<_0x25b88a;_0x53cb5e+=0x2)_0x234ea3[_0x53cb5e>>>0x3]|=parseInt(_0x17c82c['substr'](_0x53cb5e,0x2),0x10)<<0x18-_0x53cb5e%0x8*0x4;return new _0x300e2f[(_0x7466d6(0x316))](_0x234ea3,_0x25b88a/0x2);}},_0x5ce81f=_0x3b1a37[_0x32011d(0x1b5)]={'stringify':function(_0x5198fa){var _0x198f4d=_0x32011d;for(var _0x56be3b=_0x5198fa[_0x198f4d(0x4b0)],_0x8c534f=_0x5198fa[_0x198f4d(0x26b)],_0x3fbabf=[],_0x3dce28=0x0;_0x3dce28<_0x8c534f;_0x3dce28++){var _0x47313c=_0x56be3b[_0x3dce28>>>0x2]>>>0x18-_0x3dce28%0x4*0x8&0xff;_0x3fbabf[_0x198f4d(0x286)](String[_0x198f4d(0x3cc)](_0x47313c));}return _0x3fbabf[_0x198f4d(0x305)]('');},'parse':function(_0x517426){var _0x2403f3=_0x32011d;for(var _0x4daca0=_0x517426[_0x2403f3(0x2ba)],_0xe2a6c7=[],_0x1c4a30=0x0;_0x1c4a30<_0x4daca0;_0x1c4a30++)_0xe2a6c7[_0x1c4a30>>>0x2]|=(_0x517426['charCodeAt'](_0x1c4a30)&0xff)<<0x18-_0x1c4a30%0x4*0x8;return new _0x300e2f[(_0x2403f3(0x316))](_0xe2a6c7,_0x4daca0);}},_0x31e86b=_0x3b1a37[_0x32011d(0x38c)]={'stringify':function(_0x233b13){var _0xec57e6=_0x32011d;try{return decodeURIComponent(escape(_0x5ce81f[_0xec57e6(0x247)](_0x233b13)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1addd7){var _0x2e3e31=_0x32011d;return _0x5ce81f[_0x2e3e31(0x21d)](unescape(encodeURIComponent(_0x1addd7)));}},_0x5686f9=_0x2aa89d[_0x32011d(0x1c5)]=_0x16ebfd['extend']({'reset':function(){var _0x1512da=_0x32011d;this[_0x1512da(0x493)]=new _0x300e2f[(_0x1512da(0x316))](),this[_0x1512da(0x2b8)]=0x0;},'_append':function(_0x242f18){var _0x4591dc=_0x32011d;typeof _0x242f18==_0x4591dc(0x1d9)&&(_0x242f18=_0x31e86b[_0x4591dc(0x21d)](_0x242f18)),this[_0x4591dc(0x493)][_0x4591dc(0x2b0)](_0x242f18),this[_0x4591dc(0x2b8)]+=_0x242f18['sigBytes'];},'_process':function(_0x299c2f){var _0x1a5179=_0x32011d,_0x2caf4f,_0x3e46ed=this[_0x1a5179(0x493)],_0x2e98dc=_0x3e46ed['words'],_0x4ec96e=_0x3e46ed['sigBytes'],_0x57cc76=this[_0x1a5179(0x248)],_0x312663=_0x57cc76*0x4,_0x5aaf8e=_0x4ec96e/_0x312663;_0x299c2f?_0x5aaf8e=_0x389a92[_0x1a5179(0x373)](_0x5aaf8e):_0x5aaf8e=_0x389a92[_0x1a5179(0x3e4)]((_0x5aaf8e|0x0)-this[_0x1a5179(0x499)],0x0);var _0x1db0d8=_0x5aaf8e*_0x57cc76,_0x255455=_0x389a92[_0x1a5179(0x489)](_0x1db0d8*0x4,_0x4ec96e);if(_0x1db0d8){for(var _0x914f1c=0x0;_0x914f1c<_0x1db0d8;_0x914f1c+=_0x57cc76)this[_0x1a5179(0x24e)](_0x2e98dc,_0x914f1c);_0x2caf4f=_0x2e98dc['splice'](0x0,_0x1db0d8),_0x3e46ed['sigBytes']-=_0x255455;}return new _0x300e2f[(_0x1a5179(0x316))](_0x2caf4f,_0x255455);},'clone':function(){var _0x143b2e=_0x32011d,_0x2214ef=_0x16ebfd[_0x143b2e(0x2b9)][_0x143b2e(0x160)](this);return _0x2214ef['_data']=this['_data'][_0x143b2e(0x2b9)](),_0x2214ef;},'_minBufferSize':0x0});_0x2aa89d[_0x32011d(0x39b)]=_0x5686f9[_0x32011d(0x238)]({'cfg':_0x16ebfd[_0x32011d(0x238)](),'init':function(_0x4116dc){var _0x451f12=_0x32011d;this['cfg']=this[_0x451f12(0x375)]['extend'](_0x4116dc),this['reset']();},'reset':function(){var _0x192eb4=_0x32011d;_0x5686f9[_0x192eb4(0x445)]['call'](this),this[_0x192eb4(0x2d8)]();},'update':function(_0x13e2ed){var _0x51f918=_0x32011d;return this[_0x51f918(0x1e6)](_0x13e2ed),this[_0x51f918(0x236)](),this;},'finalize':function(_0x4d0912){var _0x469934=_0x32011d;_0x4d0912&&this['_append'](_0x4d0912);var _0x53d710=this[_0x469934(0x461)]();return _0x53d710;},'blockSize':0x10,'_createHelper':function(_0x5b91c3){return function(_0x4c1317,_0x5637d0){return new _0x5b91c3['init'](_0x5637d0)['finalize'](_0x4c1317);};},'_createHmacHelper':function(_0x3226cf){return function(_0x47579b,_0x33e04d){var _0x20b41b=_0x2018;return new _0x26b053['HMAC']['init'](_0x3226cf,_0x33e04d)[_0x20b41b(0x34f)](_0x47579b);};}});var _0x26b053=_0x2c1754['algo']={};return _0x2c1754;}(Math);return _0x3f9463;}));}(Ie)),Ie[_0x3b9053(0x3a4)];}var pe={'exports':{}},Ci=pe['exports'],ze;function Et(){var _0x3780ec=_0x4adc58;return ze||(ze=0x1,function(_0x43dbd2,_0x1b1c43){(function(_0x5ec28f,_0x12650b){var _0x556676=_0x2018;_0x43dbd2[_0x556676(0x3a4)]=_0x12650b(Q());}(Ci,function(_0x71d23c){var _0x4f3e32=_0x2018;return(function(){var _0x3c1af4=_0x2018,_0x490af3=_0x71d23c,_0x5bde53=_0x490af3['lib'],_0x2740f7=_0x5bde53[_0x3c1af4(0x4bf)],_0x5063c2=_0x490af3['enc'];_0x5063c2['Base64']={'stringify':function(_0x5a8c62){var _0x24fd53=_0x3c1af4,_0x28ebb2=_0x5a8c62[_0x24fd53(0x4b0)],_0x22dae4=_0x5a8c62['sigBytes'],_0x30921f=this[_0x24fd53(0x327)];_0x5a8c62[_0x24fd53(0x3ff)]();for(var _0x1faabc=[],_0x1ffe33=0x0;_0x1ffe33<_0x22dae4;_0x1ffe33+=0x3)for(var _0x15d626=_0x28ebb2[_0x1ffe33>>>0x2]>>>0x18-_0x1ffe33%0x4*0x8&0xff,_0x5c9ee5=_0x28ebb2[_0x1ffe33+0x1>>>0x2]>>>0x18-(_0x1ffe33+0x1)%0x4*0x8&0xff,_0x3d03a2=_0x28ebb2[_0x1ffe33+0x2>>>0x2]>>>0x18-(_0x1ffe33+0x2)%0x4*0x8&0xff,_0x46fc51=_0x15d626<<0x10|_0x5c9ee5<<0x8|_0x3d03a2,_0x32220f=0x0;_0x32220f<0x4&&_0x1ffe33+_0x32220f*0.75<_0x22dae4;_0x32220f++)_0x1faabc[_0x24fd53(0x286)](_0x30921f[_0x24fd53(0x3a1)](_0x46fc51>>>0x6*(0x3-_0x32220f)&0x3f));var _0x10167e=_0x30921f[_0x24fd53(0x3a1)](0x40);if(_0x10167e){for(;_0x1faabc[_0x24fd53(0x2ba)]%0x4;)_0x1faabc[_0x24fd53(0x286)](_0x10167e);}return _0x1faabc[_0x24fd53(0x305)]('');},'parse':function(_0x385c53){var _0x53b4ed=_0x3c1af4,_0x58b58f=_0x385c53[_0x53b4ed(0x2ba)],_0x2f0b80=this[_0x53b4ed(0x327)],_0x4450ad=this[_0x53b4ed(0x4b8)];if(!_0x4450ad){_0x4450ad=this['_reverseMap']=[];for(var _0x12017b=0x0;_0x12017b<_0x2f0b80[_0x53b4ed(0x2ba)];_0x12017b++)_0x4450ad[_0x2f0b80[_0x53b4ed(0x384)](_0x12017b)]=_0x12017b;}var _0x116631=_0x2f0b80[_0x53b4ed(0x3a1)](0x40);if(_0x116631){var _0x428f6b=_0x385c53[_0x53b4ed(0x1e0)](_0x116631);_0x428f6b!==-0x1&&(_0x58b58f=_0x428f6b);}return _0x222c2a(_0x385c53,_0x58b58f,_0x4450ad);},'_map':_0x3c1af4(0x28c)};function _0x222c2a(_0x4de606,_0x37b648,_0x2838ae){var _0x5e55da=_0x3c1af4;for(var _0x27bdf8=[],_0x31a85b=0x0,_0x175473=0x0;_0x175473<_0x37b648;_0x175473++)if(_0x175473%0x4){var _0x45f8c0=_0x2838ae[_0x4de606[_0x5e55da(0x384)](_0x175473-0x1)]<<_0x175473%0x4*0x2,_0x1f9204=_0x2838ae[_0x4de606[_0x5e55da(0x384)](_0x175473)]>>>0x6-_0x175473%0x4*0x2,_0x2176ce=_0x45f8c0|_0x1f9204;_0x27bdf8[_0x31a85b>>>0x2]|=_0x2176ce<<0x18-_0x31a85b%0x4*0x8,_0x31a85b++;}return _0x2740f7['create'](_0x27bdf8,_0x31a85b);}}()),_0x71d23c[_0x4f3e32(0x258)]['Base64'];}));}(pe)),pe[_0x3780ec(0x3a4)];}var me={'exports':{}},Ti=me[_0x4adc58(0x3a4)],Je;function bi(){var _0x38f72b=_0x4adc58;return Je||(Je=0x1,function(_0x3a7cc5,_0x4ae7b5){(function(_0x5be15e,_0x3f6aa8){var _0x11db4b=_0x2018;_0x3a7cc5[_0x11db4b(0x3a4)]=_0x3f6aa8(Q());}(Ti,function(_0x1d9660){return function(_0x5a92a3){var _0x284aa3=_0x2018,_0x467665=_0x1d9660,_0x5d6bd7=_0x467665[_0x284aa3(0x3b1)],_0x92e2a3=_0x5d6bd7[_0x284aa3(0x4bf)],_0x1365a2=_0x5d6bd7['Hasher'],_0x217ad9=_0x467665['algo'],_0x132882=[];(function(){var _0x3c9a3d=_0x284aa3;for(var _0x583a96=0x0;_0x583a96<0x40;_0x583a96++)_0x132882[_0x583a96]=_0x5a92a3[_0x3c9a3d(0x174)](_0x5a92a3[_0x3c9a3d(0x26d)](_0x583a96+0x1))*0x100000000|0x0;}());var _0x394bfa=_0x217ad9[_0x284aa3(0x476)]=_0x1365a2[_0x284aa3(0x238)]({'_doReset':function(){var _0x2b0608=_0x284aa3;this[_0x2b0608(0x3f4)]=new _0x92e2a3[(_0x2b0608(0x316))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4b399a,_0x315fae){var _0x2482b0=_0x284aa3;for(var _0x3d75af=0x0;_0x3d75af<0x10;_0x3d75af++){var _0x51260b=_0x315fae+_0x3d75af,_0x1bf2cf=_0x4b399a[_0x51260b];_0x4b399a[_0x51260b]=(_0x1bf2cf<<0x8|_0x1bf2cf>>>0x18)&0xff00ff|(_0x1bf2cf<<0x18|_0x1bf2cf>>>0x8)&0xff00ff00;}var _0x199587=this[_0x2482b0(0x3f4)][_0x2482b0(0x4b0)],_0x3eeb3a=_0x4b399a[_0x315fae+0x0],_0x3adc40=_0x4b399a[_0x315fae+0x1],_0x2277e9=_0x4b399a[_0x315fae+0x2],_0x255039=_0x4b399a[_0x315fae+0x3],_0x2078bd=_0x4b399a[_0x315fae+0x4],_0x5581bf=_0x4b399a[_0x315fae+0x5],_0x5cf233=_0x4b399a[_0x315fae+0x6],_0x1a1d36=_0x4b399a[_0x315fae+0x7],_0x442ae=_0x4b399a[_0x315fae+0x8],_0x47350a=_0x4b399a[_0x315fae+0x9],_0xd9981f=_0x4b399a[_0x315fae+0xa],_0x370654=_0x4b399a[_0x315fae+0xb],_0x4dace8=_0x4b399a[_0x315fae+0xc],_0x180cb6=_0x4b399a[_0x315fae+0xd],_0x5724d4=_0x4b399a[_0x315fae+0xe],_0x432998=_0x4b399a[_0x315fae+0xf],_0xb9b4d6=_0x199587[0x0],_0x4d8ef5=_0x199587[0x1],_0x3da61a=_0x199587[0x2],_0x55662b=_0x199587[0x3];_0xb9b4d6=_0x18e180(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x3eeb3a,0x7,_0x132882[0x0]),_0x55662b=_0x18e180(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x3adc40,0xc,_0x132882[0x1]),_0x3da61a=_0x18e180(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x2277e9,0x11,_0x132882[0x2]),_0x4d8ef5=_0x18e180(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x255039,0x16,_0x132882[0x3]),_0xb9b4d6=_0x18e180(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x2078bd,0x7,_0x132882[0x4]),_0x55662b=_0x18e180(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x5581bf,0xc,_0x132882[0x5]),_0x3da61a=_0x18e180(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x5cf233,0x11,_0x132882[0x6]),_0x4d8ef5=_0x18e180(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x1a1d36,0x16,_0x132882[0x7]),_0xb9b4d6=_0x18e180(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x442ae,0x7,_0x132882[0x8]),_0x55662b=_0x18e180(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x47350a,0xc,_0x132882[0x9]),_0x3da61a=_0x18e180(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0xd9981f,0x11,_0x132882[0xa]),_0x4d8ef5=_0x18e180(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x370654,0x16,_0x132882[0xb]),_0xb9b4d6=_0x18e180(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x4dace8,0x7,_0x132882[0xc]),_0x55662b=_0x18e180(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x180cb6,0xc,_0x132882[0xd]),_0x3da61a=_0x18e180(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x5724d4,0x11,_0x132882[0xe]),_0x4d8ef5=_0x18e180(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x432998,0x16,_0x132882[0xf]),_0xb9b4d6=_0x1bbca1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x3adc40,0x5,_0x132882[0x10]),_0x55662b=_0x1bbca1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x5cf233,0x9,_0x132882[0x11]),_0x3da61a=_0x1bbca1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x370654,0xe,_0x132882[0x12]),_0x4d8ef5=_0x1bbca1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x3eeb3a,0x14,_0x132882[0x13]),_0xb9b4d6=_0x1bbca1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x5581bf,0x5,_0x132882[0x14]),_0x55662b=_0x1bbca1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0xd9981f,0x9,_0x132882[0x15]),_0x3da61a=_0x1bbca1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x432998,0xe,_0x132882[0x16]),_0x4d8ef5=_0x1bbca1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x2078bd,0x14,_0x132882[0x17]),_0xb9b4d6=_0x1bbca1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x47350a,0x5,_0x132882[0x18]),_0x55662b=_0x1bbca1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x5724d4,0x9,_0x132882[0x19]),_0x3da61a=_0x1bbca1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x255039,0xe,_0x132882[0x1a]),_0x4d8ef5=_0x1bbca1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x442ae,0x14,_0x132882[0x1b]),_0xb9b4d6=_0x1bbca1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x180cb6,0x5,_0x132882[0x1c]),_0x55662b=_0x1bbca1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x2277e9,0x9,_0x132882[0x1d]),_0x3da61a=_0x1bbca1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x1a1d36,0xe,_0x132882[0x1e]),_0x4d8ef5=_0x1bbca1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x4dace8,0x14,_0x132882[0x1f]),_0xb9b4d6=_0x495fa1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x5581bf,0x4,_0x132882[0x20]),_0x55662b=_0x495fa1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x442ae,0xb,_0x132882[0x21]),_0x3da61a=_0x495fa1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x370654,0x10,_0x132882[0x22]),_0x4d8ef5=_0x495fa1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x5724d4,0x17,_0x132882[0x23]),_0xb9b4d6=_0x495fa1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x3adc40,0x4,_0x132882[0x24]),_0x55662b=_0x495fa1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x2078bd,0xb,_0x132882[0x25]),_0x3da61a=_0x495fa1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x1a1d36,0x10,_0x132882[0x26]),_0x4d8ef5=_0x495fa1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0xd9981f,0x17,_0x132882[0x27]),_0xb9b4d6=_0x495fa1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x180cb6,0x4,_0x132882[0x28]),_0x55662b=_0x495fa1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x3eeb3a,0xb,_0x132882[0x29]),_0x3da61a=_0x495fa1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x255039,0x10,_0x132882[0x2a]),_0x4d8ef5=_0x495fa1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x5cf233,0x17,_0x132882[0x2b]),_0xb9b4d6=_0x495fa1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x47350a,0x4,_0x132882[0x2c]),_0x55662b=_0x495fa1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x4dace8,0xb,_0x132882[0x2d]),_0x3da61a=_0x495fa1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x432998,0x10,_0x132882[0x2e]),_0x4d8ef5=_0x495fa1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x2277e9,0x17,_0x132882[0x2f]),_0xb9b4d6=_0x30150b(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x3eeb3a,0x6,_0x132882[0x30]),_0x55662b=_0x30150b(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x1a1d36,0xa,_0x132882[0x31]),_0x3da61a=_0x30150b(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x5724d4,0xf,_0x132882[0x32]),_0x4d8ef5=_0x30150b(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x5581bf,0x15,_0x132882[0x33]),_0xb9b4d6=_0x30150b(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x4dace8,0x6,_0x132882[0x34]),_0x55662b=_0x30150b(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x255039,0xa,_0x132882[0x35]),_0x3da61a=_0x30150b(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0xd9981f,0xf,_0x132882[0x36]),_0x4d8ef5=_0x30150b(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x3adc40,0x15,_0x132882[0x37]),_0xb9b4d6=_0x30150b(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x442ae,0x6,_0x132882[0x38]),_0x55662b=_0x30150b(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x432998,0xa,_0x132882[0x39]),_0x3da61a=_0x30150b(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x5cf233,0xf,_0x132882[0x3a]),_0x4d8ef5=_0x30150b(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x180cb6,0x15,_0x132882[0x3b]),_0xb9b4d6=_0x30150b(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x2078bd,0x6,_0x132882[0x3c]),_0x55662b=_0x30150b(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x370654,0xa,_0x132882[0x3d]),_0x3da61a=_0x30150b(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x2277e9,0xf,_0x132882[0x3e]),_0x4d8ef5=_0x30150b(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x47350a,0x15,_0x132882[0x3f]),_0x199587[0x0]=_0x199587[0x0]+_0xb9b4d6|0x0,_0x199587[0x1]=_0x199587[0x1]+_0x4d8ef5|0x0,_0x199587[0x2]=_0x199587[0x2]+_0x3da61a|0x0,_0x199587[0x3]=_0x199587[0x3]+_0x55662b|0x0;},'_doFinalize':function(){var _0x4be4c0=_0x284aa3,_0x184c80=this[_0x4be4c0(0x493)],_0x243f16=_0x184c80[_0x4be4c0(0x4b0)],_0x15113e=this['_nDataBytes']*0x8,_0x5aea51=_0x184c80[_0x4be4c0(0x26b)]*0x8;_0x243f16[_0x5aea51>>>0x5]|=0x80<<0x18-_0x5aea51%0x20;var _0x28f86e=_0x5a92a3[_0x4be4c0(0x173)](_0x15113e/0x100000000),_0x4b5368=_0x15113e;_0x243f16[(_0x5aea51+0x40>>>0x9<<0x4)+0xf]=(_0x28f86e<<0x8|_0x28f86e>>>0x18)&0xff00ff|(_0x28f86e<<0x18|_0x28f86e>>>0x8)&0xff00ff00,_0x243f16[(_0x5aea51+0x40>>>0x9<<0x4)+0xe]=(_0x4b5368<<0x8|_0x4b5368>>>0x18)&0xff00ff|(_0x4b5368<<0x18|_0x4b5368>>>0x8)&0xff00ff00,_0x184c80['sigBytes']=(_0x243f16[_0x4be4c0(0x2ba)]+0x1)*0x4,this[_0x4be4c0(0x236)]();for(var _0x303da8=this[_0x4be4c0(0x3f4)],_0xef2cc5=_0x303da8['words'],_0x3a47dc=0x0;_0x3a47dc<0x4;_0x3a47dc++){var _0x151cb1=_0xef2cc5[_0x3a47dc];_0xef2cc5[_0x3a47dc]=(_0x151cb1<<0x8|_0x151cb1>>>0x18)&0xff00ff|(_0x151cb1<<0x18|_0x151cb1>>>0x8)&0xff00ff00;}return _0x303da8;},'clone':function(){var _0xad9af4=_0x284aa3,_0xc39d2c=_0x1365a2[_0xad9af4(0x2b9)][_0xad9af4(0x160)](this);return _0xc39d2c[_0xad9af4(0x3f4)]=this['_hash'][_0xad9af4(0x2b9)](),_0xc39d2c;}});function _0x18e180(_0x46f79f,_0x5eee57,_0x35e91e,_0x1867eb,_0x46f3d7,_0x4f3016,_0x488aeb){var _0xb4bd65=_0x46f79f+(_0x5eee57&_0x35e91e|~_0x5eee57&_0x1867eb)+_0x46f3d7+_0x488aeb;return(_0xb4bd65<<_0x4f3016|_0xb4bd65>>>0x20-_0x4f3016)+_0x5eee57;}function _0x1bbca1(_0x12d34e,_0x1657cc,_0x4380e9,_0x419600,_0x4e5080,_0x5f0530,_0x2f79ad){var _0x17c2c4=_0x12d34e+(_0x1657cc&_0x419600|_0x4380e9&~_0x419600)+_0x4e5080+_0x2f79ad;return(_0x17c2c4<<_0x5f0530|_0x17c2c4>>>0x20-_0x5f0530)+_0x1657cc;}function _0x495fa1(_0x593781,_0x90a1db,_0x4e20ee,_0x3ea9cd,_0x1c3566,_0x45f57e,_0x167f2b){var _0x494584=_0x593781+(_0x90a1db^_0x4e20ee^_0x3ea9cd)+_0x1c3566+_0x167f2b;return(_0x494584<<_0x45f57e|_0x494584>>>0x20-_0x45f57e)+_0x90a1db;}function _0x30150b(_0x28cf0f,_0x301f3c,_0x18e4a9,_0x3267d2,_0x2dab38,_0x37aa27,_0x160216){var _0x20e5b9=_0x28cf0f+(_0x18e4a9^(_0x301f3c|~_0x3267d2))+_0x2dab38+_0x160216;return(_0x20e5b9<<_0x37aa27|_0x20e5b9>>>0x20-_0x37aa27)+_0x301f3c;}_0x467665[_0x284aa3(0x476)]=_0x1365a2['_createHelper'](_0x394bfa),_0x467665[_0x284aa3(0x494)]=_0x1365a2[_0x284aa3(0x495)](_0x394bfa);}(Math),_0x1d9660['MD5'];}));}(me)),me[_0x38f72b(0x3a4)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x4adc58(0x3a4)],Xe;function Ri(){var _0x53fca9=_0x4adc58;return Xe||(Xe=0x1,function(_0x3dae7d,_0x5c80f0){(function(_0x40bc7e,_0x340b2f){var _0x1e836e=_0x2018;_0x3dae7d[_0x1e836e(0x3a4)]=_0x340b2f(Q());}(Oi,function(_0xa4bfb4){var _0x448055=_0x2018;return(function(){var _0xdb48ba=_0x2018,_0x5edbcf=_0xa4bfb4,_0xa4d311=_0x5edbcf[_0xdb48ba(0x3b1)],_0x13bb58=_0xa4d311[_0xdb48ba(0x4bf)],_0x504c6b=_0xa4d311[_0xdb48ba(0x39b)],_0x5bdd54=_0x5edbcf[_0xdb48ba(0x296)],_0x204804=[],_0x18927a=_0x5bdd54[_0xdb48ba(0x1f7)]=_0x504c6b['extend']({'_doReset':function(){var _0xa6fdcc=_0xdb48ba;this['_hash']=new _0x13bb58[(_0xa6fdcc(0x316))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2a25d3,_0x311261){var _0x1e81fc=_0xdb48ba;for(var _0x4e9a95=this['_hash'][_0x1e81fc(0x4b0)],_0x2f6f85=_0x4e9a95[0x0],_0x22cbe7=_0x4e9a95[0x1],_0x52fbc3=_0x4e9a95[0x2],_0x37d875=_0x4e9a95[0x3],_0x45634d=_0x4e9a95[0x4],_0x5645a4=0x0;_0x5645a4<0x50;_0x5645a4++){if(_0x5645a4<0x10)_0x204804[_0x5645a4]=_0x2a25d3[_0x311261+_0x5645a4]|0x0;else{var _0x15e70c=_0x204804[_0x5645a4-0x3]^_0x204804[_0x5645a4-0x8]^_0x204804[_0x5645a4-0xe]^_0x204804[_0x5645a4-0x10];_0x204804[_0x5645a4]=_0x15e70c<<0x1|_0x15e70c>>>0x1f;}var _0x270f7a=(_0x2f6f85<<0x5|_0x2f6f85>>>0x1b)+_0x45634d+_0x204804[_0x5645a4];_0x5645a4<0x14?_0x270f7a+=(_0x22cbe7&_0x52fbc3|~_0x22cbe7&_0x37d875)+0x5a827999:_0x5645a4<0x28?_0x270f7a+=(_0x22cbe7^_0x52fbc3^_0x37d875)+0x6ed9eba1:_0x5645a4<0x3c?_0x270f7a+=(_0x22cbe7&_0x52fbc3|_0x22cbe7&_0x37d875|_0x52fbc3&_0x37d875)-0x70e44324:_0x270f7a+=(_0x22cbe7^_0x52fbc3^_0x37d875)-0x359d3e2a,_0x45634d=_0x37d875,_0x37d875=_0x52fbc3,_0x52fbc3=_0x22cbe7<<0x1e|_0x22cbe7>>>0x2,_0x22cbe7=_0x2f6f85,_0x2f6f85=_0x270f7a;}_0x4e9a95[0x0]=_0x4e9a95[0x0]+_0x2f6f85|0x0,_0x4e9a95[0x1]=_0x4e9a95[0x1]+_0x22cbe7|0x0,_0x4e9a95[0x2]=_0x4e9a95[0x2]+_0x52fbc3|0x0,_0x4e9a95[0x3]=_0x4e9a95[0x3]+_0x37d875|0x0,_0x4e9a95[0x4]=_0x4e9a95[0x4]+_0x45634d|0x0;},'_doFinalize':function(){var _0x282831=_0xdb48ba,_0x15e36b=this['_data'],_0x4ec913=_0x15e36b[_0x282831(0x4b0)],_0x56e582=this['_nDataBytes']*0x8,_0x2085a2=_0x15e36b[_0x282831(0x26b)]*0x8;return _0x4ec913[_0x2085a2>>>0x5]|=0x80<<0x18-_0x2085a2%0x20,_0x4ec913[(_0x2085a2+0x40>>>0x9<<0x4)+0xe]=Math[_0x282831(0x173)](_0x56e582/0x100000000),_0x4ec913[(_0x2085a2+0x40>>>0x9<<0x4)+0xf]=_0x56e582,_0x15e36b[_0x282831(0x26b)]=_0x4ec913[_0x282831(0x2ba)]*0x4,this[_0x282831(0x236)](),this[_0x282831(0x3f4)];},'clone':function(){var _0x4d27fe=_0xdb48ba,_0x4c6c8d=_0x504c6b[_0x4d27fe(0x2b9)][_0x4d27fe(0x160)](this);return _0x4c6c8d[_0x4d27fe(0x3f4)]=this['_hash']['clone'](),_0x4c6c8d;}});_0x5edbcf['SHA1']=_0x504c6b['_createHelper'](_0x18927a),_0x5edbcf['HmacSHA1']=_0x504c6b['_createHmacHelper'](_0x18927a);}()),_0xa4bfb4[_0x448055(0x1f7)];}));}(Ee)),Ee[_0x53fca9(0x3a4)];}var Ce={'exports':{}},yi=Ce[_0x4adc58(0x3a4)],Ze;function Ni(){var _0x3eb71a=_0x4adc58;return Ze||(Ze=0x1,function(_0x37cad4,_0x3427b2){(function(_0x3a12e3,_0x39fce6){_0x37cad4['exports']=_0x39fce6(Q());}(yi,function(_0x34c2ce){(function(){var _0x1d90fb=_0x2018,_0x1c8998=_0x34c2ce,_0x4dc757=_0x1c8998[_0x1d90fb(0x3b1)],_0x5ad004=_0x4dc757['Base'],_0x31c1ae=_0x1c8998['enc'],_0x4d40ca=_0x31c1ae['Utf8'],_0x40cf40=_0x1c8998[_0x1d90fb(0x296)];_0x40cf40['HMAC']=_0x5ad004[_0x1d90fb(0x238)]({'init':function(_0x4bf6af,_0x130383){var _0x52b69c=_0x1d90fb;_0x4bf6af=this[_0x52b69c(0x41e)]=new _0x4bf6af[(_0x52b69c(0x316))](),typeof _0x130383==_0x52b69c(0x1d9)&&(_0x130383=_0x4d40ca[_0x52b69c(0x21d)](_0x130383));var _0x4eb219=_0x4bf6af['blockSize'],_0x508c25=_0x4eb219*0x4;_0x130383[_0x52b69c(0x26b)]>_0x508c25&&(_0x130383=_0x4bf6af['finalize'](_0x130383)),_0x130383[_0x52b69c(0x3ff)]();for(var _0x36f430=this[_0x52b69c(0x254)]=_0x130383['clone'](),_0x154c89=this[_0x52b69c(0x2b1)]=_0x130383['clone'](),_0x3a8dcf=_0x36f430['words'],_0x43c619=_0x154c89['words'],_0x641c66=0x0;_0x641c66<_0x4eb219;_0x641c66++)_0x3a8dcf[_0x641c66]^=0x5c5c5c5c,_0x43c619[_0x641c66]^=0x36363636;_0x36f430[_0x52b69c(0x26b)]=_0x154c89[_0x52b69c(0x26b)]=_0x508c25,this['reset']();},'reset':function(){var _0x547946=_0x1d90fb,_0x57408a=this[_0x547946(0x41e)];_0x57408a[_0x547946(0x445)](),_0x57408a[_0x547946(0x19a)](this[_0x547946(0x2b1)]);},'update':function(_0xec5182){var _0x58be99=_0x1d90fb;return this[_0x58be99(0x41e)]['update'](_0xec5182),this;},'finalize':function(_0x5d2841){var _0x3a99ab=_0x1d90fb,_0x101a55=this[_0x3a99ab(0x41e)],_0x27eedc=_0x101a55[_0x3a99ab(0x34f)](_0x5d2841);_0x101a55['reset']();var _0x269c51=_0x101a55[_0x3a99ab(0x34f)](this[_0x3a99ab(0x254)]['clone']()[_0x3a99ab(0x2b0)](_0x27eedc));return _0x269c51;}});}());}));}(Ce)),Ce[_0x3eb71a(0x3a4)];}var Di=ge[_0x4adc58(0x3a4)],Qe;function Ct(){var _0x36b7ef=_0x4adc58;return Qe||(Qe=0x1,function(_0x35eb37,_0x620308){(function(_0x746b24,_0x25ebec,_0x5a9317){var _0x156e9d=_0x2018;_0x35eb37[_0x156e9d(0x3a4)]=_0x25ebec(Q(),Ri(),Ni());}(Di,function(_0x2ad2a3){return(function(){var _0x146104=_0x2018,_0x54d18b=_0x2ad2a3,_0x3171da=_0x54d18b[_0x146104(0x3b1)],_0x4dbab8=_0x3171da['Base'],_0x352b86=_0x3171da[_0x146104(0x4bf)],_0x63080d=_0x54d18b['algo'],_0x64b206=_0x63080d['MD5'],_0x592041=_0x63080d[_0x146104(0x2cb)]=_0x4dbab8[_0x146104(0x238)]({'cfg':_0x4dbab8[_0x146104(0x238)]({'keySize':0x80/0x20,'hasher':_0x64b206,'iterations':0x1}),'init':function(_0x495cf7){var _0x3b8e63=_0x146104;this[_0x3b8e63(0x375)]=this[_0x3b8e63(0x375)][_0x3b8e63(0x238)](_0x495cf7);},'compute':function(_0x308ad3,_0x3ca344){var _0x3d39ab=_0x146104;for(var _0x8e7659,_0x14bdef=this[_0x3d39ab(0x375)],_0x5120d5=_0x14bdef['hasher'][_0x3d39ab(0x442)](),_0x16e945=_0x352b86[_0x3d39ab(0x442)](),_0x10c736=_0x16e945[_0x3d39ab(0x4b0)],_0x736b84=_0x14bdef[_0x3d39ab(0x210)],_0x931dd6=_0x14bdef[_0x3d39ab(0x4bb)];_0x10c736[_0x3d39ab(0x2ba)]<_0x736b84;){_0x8e7659&&_0x5120d5[_0x3d39ab(0x19a)](_0x8e7659),_0x8e7659=_0x5120d5['update'](_0x308ad3)[_0x3d39ab(0x34f)](_0x3ca344),_0x5120d5[_0x3d39ab(0x445)]();for(var _0x1a2d62=0x1;_0x1a2d62<_0x931dd6;_0x1a2d62++)_0x8e7659=_0x5120d5[_0x3d39ab(0x34f)](_0x8e7659),_0x5120d5[_0x3d39ab(0x445)]();_0x16e945[_0x3d39ab(0x2b0)](_0x8e7659);}return _0x16e945[_0x3d39ab(0x26b)]=_0x736b84*0x4,_0x16e945;}});_0x54d18b[_0x146104(0x2cb)]=function(_0x55b45c,_0x404d25,_0xb57231){var _0x46160e=_0x146104;return _0x592041[_0x46160e(0x442)](_0xb57231)[_0x46160e(0x1bf)](_0x55b45c,_0x404d25);};}()),_0x2ad2a3['EvpKDF'];}));}(ge)),ge[_0x36b7ef(0x3a4)];}var Te={'exports':{}},Ui=Te[_0x4adc58(0x3a4)],et;function Tt(){var _0x2bbf7c=_0x4adc58;return et||(et=0x1,function(_0x10680b,_0x2987ba){(function(_0x3665ec,_0x15710b,_0x1bd4d8){var _0xaab080=_0x2018;_0x10680b[_0xaab080(0x3a4)]=_0x15710b(Q(),Ct());}(Ui,function(_0x450a30){var _0x416533=_0x2018;_0x450a30[_0x416533(0x3b1)][_0x416533(0x329)]||function(_0x458585){var _0x5e96ad=_0x416533,_0x300c10=_0x450a30,_0x1d8584=_0x300c10[_0x5e96ad(0x3b1)],_0x4cf1a3=_0x1d8584[_0x5e96ad(0x31f)],_0x2ec48b=_0x1d8584[_0x5e96ad(0x4bf)],_0x4d9dc2=_0x1d8584[_0x5e96ad(0x1c5)],_0x5efbbc=_0x300c10['enc'];_0x5efbbc[_0x5e96ad(0x38c)];var _0x558064=_0x5efbbc[_0x5e96ad(0x185)],_0x1298af=_0x300c10[_0x5e96ad(0x296)],_0x2d5ed0=_0x1298af[_0x5e96ad(0x2cb)],_0x20cf8f=_0x1d8584[_0x5e96ad(0x329)]=_0x4d9dc2[_0x5e96ad(0x238)]({'cfg':_0x4cf1a3[_0x5e96ad(0x238)](),'createEncryptor':function(_0x18193a,_0x498ccf){var _0x13c80f=_0x5e96ad;return this[_0x13c80f(0x442)](this[_0x13c80f(0x4c1)],_0x18193a,_0x498ccf);},'createDecryptor':function(_0x500288,_0x4b701f){var _0x1cfb67=_0x5e96ad;return this[_0x1cfb67(0x442)](this[_0x1cfb67(0x1a4)],_0x500288,_0x4b701f);},'init':function(_0x3ad8e,_0x3aaab0,_0x29df29){var _0x27ba48=_0x5e96ad;this[_0x27ba48(0x375)]=this[_0x27ba48(0x375)][_0x27ba48(0x238)](_0x29df29),this[_0x27ba48(0x3c4)]=_0x3ad8e,this[_0x27ba48(0x1e9)]=_0x3aaab0,this[_0x27ba48(0x445)]();},'reset':function(){var _0x4a7b9a=_0x5e96ad;_0x4d9dc2[_0x4a7b9a(0x445)]['call'](this),this[_0x4a7b9a(0x2d8)]();},'process':function(_0x3c8cd6){return this['_append'](_0x3c8cd6),this['_process']();},'finalize':function(_0x47509b){var _0x53701f=_0x5e96ad;_0x47509b&&this[_0x53701f(0x1e6)](_0x47509b);var _0x13b736=this[_0x53701f(0x461)]();return _0x13b736;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4bc208(_0x19f063){var _0x5dc0e8=_0x2018;return typeof _0x19f063==_0x5dc0e8(0x1d9)?_0x5958c9:_0x40075c;}return function(_0xb08e02){return{'encrypt':function(_0x1af24f,_0x291d79,_0x396a59){var _0x253b68=_0x2018;return _0x4bc208(_0x291d79)[_0x253b68(0x1d3)](_0xb08e02,_0x1af24f,_0x291d79,_0x396a59);},'decrypt':function(_0x33f083,_0x5d4a85,_0x40e9fa){return _0x4bc208(_0x5d4a85)['decrypt'](_0xb08e02,_0x33f083,_0x5d4a85,_0x40e9fa);}};};}())});_0x1d8584[_0x5e96ad(0x39e)]=_0x20cf8f[_0x5e96ad(0x238)]({'_doFinalize':function(){var _0x5590b9=_0x5e96ad,_0x40af95=this[_0x5590b9(0x236)](!0x0);return _0x40af95;},'blockSize':0x1});var _0xab1397=_0x300c10[_0x5e96ad(0x2ae)]={},_0x80e208=_0x1d8584[_0x5e96ad(0x2bc)]=_0x4cf1a3[_0x5e96ad(0x238)]({'createEncryptor':function(_0x1219d3,_0x3cab5f){return this['Encryptor']['create'](_0x1219d3,_0x3cab5f);},'createDecryptor':function(_0x22e31a,_0x3f315c){var _0x225b5c=_0x5e96ad;return this[_0x225b5c(0x4cc)]['create'](_0x22e31a,_0x3f315c);},'init':function(_0x48cd73,_0x5a0c39){var _0x57a497=_0x5e96ad;this['_cipher']=_0x48cd73,this[_0x57a497(0x2d9)]=_0x5a0c39;}}),_0x31347c=_0xab1397[_0x5e96ad(0x1ba)]=(function(){var _0x194eeb=_0x5e96ad,_0xa8b95c=_0x80e208[_0x194eeb(0x238)]();_0xa8b95c[_0x194eeb(0x164)]=_0xa8b95c[_0x194eeb(0x238)]({'processBlock':function(_0x4373d5,_0x493b1b){var _0x1eee34=_0x194eeb,_0x571c61=this['_cipher'],_0x324710=_0x571c61[_0x1eee34(0x248)];_0x47dad9[_0x1eee34(0x160)](this,_0x4373d5,_0x493b1b,_0x324710),_0x571c61[_0x1eee34(0x4bc)](_0x4373d5,_0x493b1b),this[_0x1eee34(0x3cd)]=_0x4373d5[_0x1eee34(0x380)](_0x493b1b,_0x493b1b+_0x324710);}}),_0xa8b95c['Decryptor']=_0xa8b95c[_0x194eeb(0x238)]({'processBlock':function(_0x34988f,_0x45e190){var _0x13633c=_0x194eeb,_0x430f1c=this[_0x13633c(0x40b)],_0x3b4bc0=_0x430f1c[_0x13633c(0x248)],_0x664981=_0x34988f[_0x13633c(0x380)](_0x45e190,_0x45e190+_0x3b4bc0);_0x430f1c[_0x13633c(0x37e)](_0x34988f,_0x45e190),_0x47dad9[_0x13633c(0x160)](this,_0x34988f,_0x45e190,_0x3b4bc0),this[_0x13633c(0x3cd)]=_0x664981;}});function _0x47dad9(_0x4c99ce,_0x3243a7,_0x3389e4){var _0x33b5eb=_0x194eeb,_0xdc1a84,_0x45e096=this[_0x33b5eb(0x2d9)];_0x45e096?(_0xdc1a84=_0x45e096,this[_0x33b5eb(0x2d9)]=_0x458585):_0xdc1a84=this[_0x33b5eb(0x3cd)];for(var _0x1e249d=0x0;_0x1e249d<_0x3389e4;_0x1e249d++)_0x4c99ce[_0x3243a7+_0x1e249d]^=_0xdc1a84[_0x1e249d];}return _0xa8b95c;}()),_0x30e76a=_0x300c10[_0x5e96ad(0x303)]={},_0x2c18a2=_0x30e76a['Pkcs7']={'pad':function(_0x3fb28f,_0x4b2286){var _0x2a4910=_0x5e96ad;for(var _0x1bcc54=_0x4b2286*0x4,_0x3638f1=_0x1bcc54-_0x3fb28f[_0x2a4910(0x26b)]%_0x1bcc54,_0x2aac74=_0x3638f1<<0x18|_0x3638f1<<0x10|_0x3638f1<<0x8|_0x3638f1,_0x194cda=[],_0x176485=0x0;_0x176485<_0x3638f1;_0x176485+=0x4)_0x194cda[_0x2a4910(0x286)](_0x2aac74);var _0x5165b6=_0x2ec48b[_0x2a4910(0x442)](_0x194cda,_0x3638f1);_0x3fb28f['concat'](_0x5165b6);},'unpad':function(_0x314ba8){var _0x12596b=_0x5e96ad,_0x2fb837=_0x314ba8[_0x12596b(0x4b0)][_0x314ba8[_0x12596b(0x26b)]-0x1>>>0x2]&0xff;_0x314ba8['sigBytes']-=_0x2fb837;}};_0x1d8584[_0x5e96ad(0x377)]=_0x20cf8f[_0x5e96ad(0x238)]({'cfg':_0x20cf8f[_0x5e96ad(0x375)]['extend']({'mode':_0x31347c,'padding':_0x2c18a2}),'reset':function(){var _0x562747=_0x5e96ad,_0x365e87;_0x20cf8f['reset'][_0x562747(0x160)](this);var _0x3e96ba=this[_0x562747(0x375)],_0x336740=_0x3e96ba['iv'],_0x2bb45c=_0x3e96ba['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x365e87=_0x2bb45c['createEncryptor']:(_0x365e87=_0x2bb45c['createDecryptor'],this[_0x562747(0x499)]=0x1),this[_0x562747(0x32b)]&&this[_0x562747(0x32b)]['__creator']==_0x365e87?this[_0x562747(0x32b)][_0x562747(0x316)](this,_0x336740&&_0x336740['words']):(this[_0x562747(0x32b)]=_0x365e87[_0x562747(0x160)](_0x2bb45c,this,_0x336740&&_0x336740['words']),this['_mode'][_0x562747(0x47b)]=_0x365e87);},'_doProcessBlock':function(_0x332d97,_0x114a56){var _0x3b85f3=_0x5e96ad;this[_0x3b85f3(0x32b)][_0x3b85f3(0x17a)](_0x332d97,_0x114a56);},'_doFinalize':function(){var _0x30c1a6=_0x5e96ad,_0x20e33d,_0x26f81e=this[_0x30c1a6(0x375)][_0x30c1a6(0x4ae)];return this[_0x30c1a6(0x3c4)]==this[_0x30c1a6(0x4c1)]?(_0x26f81e[_0x30c1a6(0x303)](this[_0x30c1a6(0x493)],this[_0x30c1a6(0x248)]),_0x20e33d=this[_0x30c1a6(0x236)](!0x0)):(_0x20e33d=this['_process'](!0x0),_0x26f81e[_0x30c1a6(0x24d)](_0x20e33d)),_0x20e33d;},'blockSize':0x80/0x20});var _0x5f5867=_0x1d8584[_0x5e96ad(0x30e)]=_0x4cf1a3[_0x5e96ad(0x238)]({'init':function(_0x1d32aa){var _0x446d41=_0x5e96ad;this[_0x446d41(0x1a9)](_0x1d32aa);},'toString':function(_0x5e035b){var _0x1a7adf=_0x5e96ad;return(_0x5e035b||this[_0x1a7adf(0x385)])[_0x1a7adf(0x247)](this);}}),_0x27ca79=_0x300c10[_0x5e96ad(0x281)]={},_0x2cc183=_0x27ca79[_0x5e96ad(0x1d0)]={'stringify':function(_0x5fbd44){var _0x54ee91=_0x5e96ad,_0x2af4de,_0x55e68a=_0x5fbd44['ciphertext'],_0x2acdce=_0x5fbd44[_0x54ee91(0x28f)];return _0x2acdce?_0x2af4de=_0x2ec48b[_0x54ee91(0x442)]([0x53616c74,0x65645f5f])['concat'](_0x2acdce)['concat'](_0x55e68a):_0x2af4de=_0x55e68a,_0x2af4de['toString'](_0x558064);},'parse':function(_0x3f6c27){var _0x428a13=_0x5e96ad,_0x3a0b21,_0x21a16a=_0x558064[_0x428a13(0x21d)](_0x3f6c27),_0x365622=_0x21a16a[_0x428a13(0x4b0)];return _0x365622[0x0]==0x53616c74&&_0x365622[0x1]==0x65645f5f&&(_0x3a0b21=_0x2ec48b[_0x428a13(0x442)](_0x365622[_0x428a13(0x380)](0x2,0x4)),_0x365622[_0x428a13(0x203)](0x0,0x4),_0x21a16a[_0x428a13(0x26b)]-=0x10),_0x5f5867[_0x428a13(0x442)]({'ciphertext':_0x21a16a,'salt':_0x3a0b21});}},_0x40075c=_0x1d8584[_0x5e96ad(0x222)]=_0x4cf1a3['extend']({'cfg':_0x4cf1a3[_0x5e96ad(0x238)]({'format':_0x2cc183}),'encrypt':function(_0x4e46b4,_0x3dfc70,_0x1cf60b,_0x2a1542){var _0x239161=_0x5e96ad;_0x2a1542=this[_0x239161(0x375)]['extend'](_0x2a1542);var _0x1448d5=_0x4e46b4['createEncryptor'](_0x1cf60b,_0x2a1542),_0x13a7fb=_0x1448d5['finalize'](_0x3dfc70),_0xf168e8=_0x1448d5[_0x239161(0x375)];return _0x5f5867[_0x239161(0x442)]({'ciphertext':_0x13a7fb,'key':_0x1cf60b,'iv':_0xf168e8['iv'],'algorithm':_0x4e46b4,'mode':_0xf168e8['mode'],'padding':_0xf168e8[_0x239161(0x4ae)],'blockSize':_0x4e46b4['blockSize'],'formatter':_0x2a1542['format']});},'decrypt':function(_0x5d55b2,_0x2345b9,_0x5ec93e,_0x197fcc){var _0x973a61=_0x5e96ad;_0x197fcc=this['cfg'][_0x973a61(0x238)](_0x197fcc),_0x2345b9=this[_0x973a61(0x3b6)](_0x2345b9,_0x197fcc[_0x973a61(0x281)]);var _0x405b92=_0x5d55b2[_0x973a61(0x420)](_0x5ec93e,_0x197fcc)['finalize'](_0x2345b9[_0x973a61(0x3ec)]);return _0x405b92;},'_parse':function(_0x3a88d4,_0x148f09){var _0x459a92=_0x5e96ad;return typeof _0x3a88d4==_0x459a92(0x1d9)?_0x148f09[_0x459a92(0x21d)](_0x3a88d4,this):_0x3a88d4;}}),_0x5d4ff7=_0x300c10[_0x5e96ad(0x1a7)]={},_0x171e75=_0x5d4ff7[_0x5e96ad(0x1d0)]={'execute':function(_0x2eef3f,_0x85c0d,_0x46ac72,_0x25c134,_0xce833c){var _0x5645a0=_0x5e96ad;if(_0x25c134||(_0x25c134=_0x2ec48b[_0x5645a0(0x3c3)](0x40/0x8)),_0xce833c)var _0x38b108=_0x2d5ed0[_0x5645a0(0x442)]({'keySize':_0x85c0d+_0x46ac72,'hasher':_0xce833c})[_0x5645a0(0x1bf)](_0x2eef3f,_0x25c134);else var _0x38b108=_0x2d5ed0[_0x5645a0(0x442)]({'keySize':_0x85c0d+_0x46ac72})[_0x5645a0(0x1bf)](_0x2eef3f,_0x25c134);var _0x7a0116=_0x2ec48b['create'](_0x38b108[_0x5645a0(0x4b0)][_0x5645a0(0x380)](_0x85c0d),_0x46ac72*0x4);return _0x38b108[_0x5645a0(0x26b)]=_0x85c0d*0x4,_0x5f5867[_0x5645a0(0x442)]({'key':_0x38b108,'iv':_0x7a0116,'salt':_0x25c134});}},_0x5958c9=_0x1d8584['PasswordBasedCipher']=_0x40075c[_0x5e96ad(0x238)]({'cfg':_0x40075c['cfg']['extend']({'kdf':_0x171e75}),'encrypt':function(_0x5971fc,_0x56fe0a,_0x5cca9b,_0xe44896){var _0x1bc4d5=_0x5e96ad;_0xe44896=this[_0x1bc4d5(0x375)][_0x1bc4d5(0x238)](_0xe44896);var _0x240baf=_0xe44896[_0x1bc4d5(0x1a7)][_0x1bc4d5(0x291)](_0x5cca9b,_0x5971fc[_0x1bc4d5(0x210)],_0x5971fc['ivSize'],_0xe44896[_0x1bc4d5(0x28f)],_0xe44896['hasher']);_0xe44896['iv']=_0x240baf['iv'];var _0x23d37f=_0x40075c[_0x1bc4d5(0x1d3)]['call'](this,_0x5971fc,_0x56fe0a,_0x240baf[_0x1bc4d5(0x266)],_0xe44896);return _0x23d37f[_0x1bc4d5(0x1a9)](_0x240baf),_0x23d37f;},'decrypt':function(_0x129918,_0x49fcc4,_0x324de8,_0xb97428){var _0xd1b995=_0x5e96ad;_0xb97428=this[_0xd1b995(0x375)][_0xd1b995(0x238)](_0xb97428),_0x49fcc4=this[_0xd1b995(0x3b6)](_0x49fcc4,_0xb97428[_0xd1b995(0x281)]);var _0x11dcd0=_0xb97428[_0xd1b995(0x1a7)][_0xd1b995(0x291)](_0x324de8,_0x129918[_0xd1b995(0x210)],_0x129918[_0xd1b995(0x348)],_0x49fcc4[_0xd1b995(0x28f)],_0xb97428['hasher']);_0xb97428['iv']=_0x11dcd0['iv'];var _0x1451bd=_0x40075c[_0xd1b995(0x2c1)][_0xd1b995(0x160)](this,_0x129918,_0x49fcc4,_0x11dcd0[_0xd1b995(0x266)],_0xb97428);return _0x1451bd;}});}();}));}(Te)),Te[_0x2bbf7c(0x3a4)];}var Ai=fe[_0x4adc58(0x3a4)],tt;function Pi(){var _0x5d6bca=_0x4adc58;return tt||(tt=0x1,function(_0x1ee745,_0x552e44){(function(_0x14d39f,_0x54ad7a,_0x1c64a3){var _0x5a38c4=_0x2018;_0x1ee745[_0x5a38c4(0x3a4)]=_0x54ad7a(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x2abba3){var _0x1e81dd=_0x2018;return(function(){var _0x4e8e09=_0x2018,_0x885b25=_0x2abba3,_0x2cc0b3=_0x885b25[_0x4e8e09(0x3b1)],_0x57b7d1=_0x2cc0b3['BlockCipher'],_0x36819e=_0x885b25[_0x4e8e09(0x296)],_0x57dcbc=[],_0x2b91a2=[],_0x39045f=[],_0x581dee=[],_0x4c29fa=[],_0x1ee809=[],_0x3c52c9=[],_0x5e397f=[],_0x1cc742=[],_0x34eb84=[];(function(){for(var _0x889b94=[],_0x3caca1=0x0;_0x3caca1<0x100;_0x3caca1++)_0x3caca1<0x80?_0x889b94[_0x3caca1]=_0x3caca1<<0x1:_0x889b94[_0x3caca1]=_0x3caca1<<0x1^0x11b;for(var _0x32e95d=0x0,_0x379dd7=0x0,_0x3caca1=0x0;_0x3caca1<0x100;_0x3caca1++){var _0x24cb6b=_0x379dd7^_0x379dd7<<0x1^_0x379dd7<<0x2^_0x379dd7<<0x3^_0x379dd7<<0x4;_0x24cb6b=_0x24cb6b>>>0x8^_0x24cb6b&0xff^0x63,_0x57dcbc[_0x32e95d]=_0x24cb6b,_0x2b91a2[_0x24cb6b]=_0x32e95d;var _0x1217be=_0x889b94[_0x32e95d],_0x58fe40=_0x889b94[_0x1217be],_0xeb0eef=_0x889b94[_0x58fe40],_0x540b23=_0x889b94[_0x24cb6b]*0x101^_0x24cb6b*0x1010100;_0x39045f[_0x32e95d]=_0x540b23<<0x18|_0x540b23>>>0x8,_0x581dee[_0x32e95d]=_0x540b23<<0x10|_0x540b23>>>0x10,_0x4c29fa[_0x32e95d]=_0x540b23<<0x8|_0x540b23>>>0x18,_0x1ee809[_0x32e95d]=_0x540b23;var _0x540b23=_0xeb0eef*0x1010101^_0x58fe40*0x10001^_0x1217be*0x101^_0x32e95d*0x1010100;_0x3c52c9[_0x24cb6b]=_0x540b23<<0x18|_0x540b23>>>0x8,_0x5e397f[_0x24cb6b]=_0x540b23<<0x10|_0x540b23>>>0x10,_0x1cc742[_0x24cb6b]=_0x540b23<<0x8|_0x540b23>>>0x18,_0x34eb84[_0x24cb6b]=_0x540b23,_0x32e95d?(_0x32e95d=_0x1217be^_0x889b94[_0x889b94[_0x889b94[_0xeb0eef^_0x1217be]]],_0x379dd7^=_0x889b94[_0x889b94[_0x379dd7]]):_0x32e95d=_0x379dd7=0x1;}}());var _0x2c2095=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3d9301=_0x36819e[_0x4e8e09(0x33f)]=_0x57b7d1['extend']({'_doReset':function(){var _0x2b01b0=_0x4e8e09,_0x79cbdc;if(!(this[_0x2b01b0(0x163)]&&this[_0x2b01b0(0x31c)]===this[_0x2b01b0(0x1e9)])){for(var _0x3a6547=this[_0x2b01b0(0x31c)]=this[_0x2b01b0(0x1e9)],_0x1cc91e=_0x3a6547[_0x2b01b0(0x4b0)],_0x1ae3ff=_0x3a6547[_0x2b01b0(0x26b)]/0x4,_0x2923d3=this[_0x2b01b0(0x163)]=_0x1ae3ff+0x6,_0x30566c=(_0x2923d3+0x1)*0x4,_0x4321e0=this[_0x2b01b0(0x4b7)]=[],_0x4db5c6=0x0;_0x4db5c6<_0x30566c;_0x4db5c6++)_0x4db5c6<_0x1ae3ff?_0x4321e0[_0x4db5c6]=_0x1cc91e[_0x4db5c6]:(_0x79cbdc=_0x4321e0[_0x4db5c6-0x1],_0x4db5c6%_0x1ae3ff?_0x1ae3ff>0x6&&_0x4db5c6%_0x1ae3ff==0x4&&(_0x79cbdc=_0x57dcbc[_0x79cbdc>>>0x18]<<0x18|_0x57dcbc[_0x79cbdc>>>0x10&0xff]<<0x10|_0x57dcbc[_0x79cbdc>>>0x8&0xff]<<0x8|_0x57dcbc[_0x79cbdc&0xff]):(_0x79cbdc=_0x79cbdc<<0x8|_0x79cbdc>>>0x18,_0x79cbdc=_0x57dcbc[_0x79cbdc>>>0x18]<<0x18|_0x57dcbc[_0x79cbdc>>>0x10&0xff]<<0x10|_0x57dcbc[_0x79cbdc>>>0x8&0xff]<<0x8|_0x57dcbc[_0x79cbdc&0xff],_0x79cbdc^=_0x2c2095[_0x4db5c6/_0x1ae3ff|0x0]<<0x18),_0x4321e0[_0x4db5c6]=_0x4321e0[_0x4db5c6-_0x1ae3ff]^_0x79cbdc);for(var _0x5f101c=this[_0x2b01b0(0x169)]=[],_0x674942=0x0;_0x674942<_0x30566c;_0x674942++){var _0x4db5c6=_0x30566c-_0x674942;if(_0x674942%0x4)var _0x79cbdc=_0x4321e0[_0x4db5c6];else var _0x79cbdc=_0x4321e0[_0x4db5c6-0x4];_0x674942<0x4||_0x4db5c6<=0x4?_0x5f101c[_0x674942]=_0x79cbdc:_0x5f101c[_0x674942]=_0x3c52c9[_0x57dcbc[_0x79cbdc>>>0x18]]^_0x5e397f[_0x57dcbc[_0x79cbdc>>>0x10&0xff]]^_0x1cc742[_0x57dcbc[_0x79cbdc>>>0x8&0xff]]^_0x34eb84[_0x57dcbc[_0x79cbdc&0xff]];}}},'encryptBlock':function(_0x3b53ee,_0x7b0199){var _0x321e27=_0x4e8e09;this[_0x321e27(0x35d)](_0x3b53ee,_0x7b0199,this[_0x321e27(0x4b7)],_0x39045f,_0x581dee,_0x4c29fa,_0x1ee809,_0x57dcbc);},'decryptBlock':function(_0x13bf11,_0x4e58d4){var _0x139fd7=_0x4e8e09,_0x1f77e8=_0x13bf11[_0x4e58d4+0x1];_0x13bf11[_0x4e58d4+0x1]=_0x13bf11[_0x4e58d4+0x3],_0x13bf11[_0x4e58d4+0x3]=_0x1f77e8,this[_0x139fd7(0x35d)](_0x13bf11,_0x4e58d4,this[_0x139fd7(0x169)],_0x3c52c9,_0x5e397f,_0x1cc742,_0x34eb84,_0x2b91a2);var _0x1f77e8=_0x13bf11[_0x4e58d4+0x1];_0x13bf11[_0x4e58d4+0x1]=_0x13bf11[_0x4e58d4+0x3],_0x13bf11[_0x4e58d4+0x3]=_0x1f77e8;},'_doCryptBlock':function(_0x153d08,_0x13fda3,_0x562206,_0x50fb20,_0x37bc15,_0x51d6ef,_0xe17154,_0x428098){for(var _0x2ef39e=this['_nRounds'],_0x555dc5=_0x153d08[_0x13fda3]^_0x562206[0x0],_0x18b731=_0x153d08[_0x13fda3+0x1]^_0x562206[0x1],_0x2bb5bd=_0x153d08[_0x13fda3+0x2]^_0x562206[0x2],_0x45292d=_0x153d08[_0x13fda3+0x3]^_0x562206[0x3],_0x4ec3d4=0x4,_0x418fb9=0x1;_0x418fb9<_0x2ef39e;_0x418fb9++){var _0x37b318=_0x50fb20[_0x555dc5>>>0x18]^_0x37bc15[_0x18b731>>>0x10&0xff]^_0x51d6ef[_0x2bb5bd>>>0x8&0xff]^_0xe17154[_0x45292d&0xff]^_0x562206[_0x4ec3d4++],_0x45409a=_0x50fb20[_0x18b731>>>0x18]^_0x37bc15[_0x2bb5bd>>>0x10&0xff]^_0x51d6ef[_0x45292d>>>0x8&0xff]^_0xe17154[_0x555dc5&0xff]^_0x562206[_0x4ec3d4++],_0xebe14c=_0x50fb20[_0x2bb5bd>>>0x18]^_0x37bc15[_0x45292d>>>0x10&0xff]^_0x51d6ef[_0x555dc5>>>0x8&0xff]^_0xe17154[_0x18b731&0xff]^_0x562206[_0x4ec3d4++],_0x372264=_0x50fb20[_0x45292d>>>0x18]^_0x37bc15[_0x555dc5>>>0x10&0xff]^_0x51d6ef[_0x18b731>>>0x8&0xff]^_0xe17154[_0x2bb5bd&0xff]^_0x562206[_0x4ec3d4++];_0x555dc5=_0x37b318,_0x18b731=_0x45409a,_0x2bb5bd=_0xebe14c,_0x45292d=_0x372264;}var _0x37b318=(_0x428098[_0x555dc5>>>0x18]<<0x18|_0x428098[_0x18b731>>>0x10&0xff]<<0x10|_0x428098[_0x2bb5bd>>>0x8&0xff]<<0x8|_0x428098[_0x45292d&0xff])^_0x562206[_0x4ec3d4++],_0x45409a=(_0x428098[_0x18b731>>>0x18]<<0x18|_0x428098[_0x2bb5bd>>>0x10&0xff]<<0x10|_0x428098[_0x45292d>>>0x8&0xff]<<0x8|_0x428098[_0x555dc5&0xff])^_0x562206[_0x4ec3d4++],_0xebe14c=(_0x428098[_0x2bb5bd>>>0x18]<<0x18|_0x428098[_0x45292d>>>0x10&0xff]<<0x10|_0x428098[_0x555dc5>>>0x8&0xff]<<0x8|_0x428098[_0x18b731&0xff])^_0x562206[_0x4ec3d4++],_0x372264=(_0x428098[_0x45292d>>>0x18]<<0x18|_0x428098[_0x555dc5>>>0x10&0xff]<<0x10|_0x428098[_0x18b731>>>0x8&0xff]<<0x8|_0x428098[_0x2bb5bd&0xff])^_0x562206[_0x4ec3d4++];_0x153d08[_0x13fda3]=_0x37b318,_0x153d08[_0x13fda3+0x1]=_0x45409a,_0x153d08[_0x13fda3+0x2]=_0xebe14c,_0x153d08[_0x13fda3+0x3]=_0x372264;},'keySize':0x100/0x20});_0x885b25[_0x4e8e09(0x33f)]=_0x57b7d1[_0x4e8e09(0x368)](_0x3d9301);}()),_0x2abba3[_0x1e81dd(0x33f)];}));}(fe)),fe[_0x5d6bca(0x3a4)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x4adc58(0x3a4)],nt;function ki(){var _0x580986=_0x4adc58;return nt||(nt=0x1,function(_0x486be7,_0x5605e9){(function(_0x3f956f,_0x2ffb45){var _0x62f0f1=_0x2018;_0x486be7[_0x62f0f1(0x3a4)]=_0x2ffb45(Q());}(xi,function(_0x3a3503){var _0xf2dc21=_0x2018;return _0x3a3503[_0xf2dc21(0x258)][_0xf2dc21(0x38c)];}));}(be)),be[_0x580986(0x3a4)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x4adc58(0x3a4)],rt;function Bi(){var _0x5e6185=_0x4adc58;return rt||(rt=0x1,function(_0x43ed1b,_0x1ef357){(function(_0x2f0bf0,_0x48e9e2){var _0x17ff93=_0x2018;_0x43ed1b[_0x17ff93(0x3a4)]=_0x48e9e2(Q());}(ji,function(_0x22c633){var _0x3bddf5=_0x2018;return(function(){var _0x45f9b5=_0x2018;if(typeof ArrayBuffer==_0x45f9b5(0x435)){var _0x46f271=_0x22c633,_0x50b626=_0x46f271[_0x45f9b5(0x3b1)],_0x412e09=_0x50b626[_0x45f9b5(0x4bf)],_0xa6eac4=_0x412e09[_0x45f9b5(0x316)],_0x4b0819=_0x412e09[_0x45f9b5(0x316)]=function(_0x179d0e){var _0x38b10a=_0x45f9b5;if(_0x179d0e instanceof ArrayBuffer&&(_0x179d0e=new Uint8Array(_0x179d0e)),(_0x179d0e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x179d0e instanceof Uint8ClampedArray||_0x179d0e instanceof Int16Array||_0x179d0e instanceof Uint16Array||_0x179d0e instanceof Int32Array||_0x179d0e instanceof Uint32Array||_0x179d0e instanceof Float32Array||_0x179d0e instanceof Float64Array)&&(_0x179d0e=new Uint8Array(_0x179d0e['buffer'],_0x179d0e['byteOffset'],_0x179d0e[_0x38b10a(0x1e5)])),_0x179d0e instanceof Uint8Array){for(var _0x3061d8=_0x179d0e['byteLength'],_0x5e4a39=[],_0x17ce6c=0x0;_0x17ce6c<_0x3061d8;_0x17ce6c++)_0x5e4a39[_0x17ce6c>>>0x2]|=_0x179d0e[_0x17ce6c]<<0x18-_0x17ce6c%0x4*0x8;_0xa6eac4['call'](this,_0x5e4a39,_0x3061d8);}else _0xa6eac4[_0x38b10a(0x3ea)](this,arguments);};_0x4b0819['prototype']=_0x412e09;}}()),_0x22c633[_0x3bddf5(0x3b1)][_0x3bddf5(0x4bf)];}));}(Oe)),Oe[_0x5e6185(0x3a4)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x4adc58(0x3a4)],st;function Gi(){var _0x3cc40e=_0x4adc58;return st||(st=0x1,function(_0x50354f,_0x52e0a8){(function(_0x193b3d,_0x551d00,_0x24f461){var _0x417f78=_0x2018;_0x50354f[_0x417f78(0x3a4)]=_0x551d00(Q(),Tt());}(Wi,function(_0x619325){var _0x3cc0c8=_0x2018;return _0x619325[_0x3cc0c8(0x303)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x619325[_0x3cc0c8(0x303)]['NoPadding'];}));}(Re)),Re[_0x3cc40e(0x3a4)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0xcb5f78,_0x268c41){var _0x89cee0=_0x4adc58;const _0x55f1fd=_0x268c41-_0xcb5f78[_0x89cee0(0x2ba)]%_0x268c41,_0x14555a=String[_0x89cee0(0x3cc)](_0x55f1fd)[_0x89cee0(0x285)](_0x55f1fd);return _0xcb5f78+_0x14555a;}function zi(_0x2e5959,_0x55d34c){var _0xeed329=_0x4adc58;const _0x89de07=Vi[_0xeed329(0x3c3)](0x10),_0x2d5b77=Ki(_0x2e5959,0x10),_0x1b6f5c=Mi['encrypt'](Hi[_0xeed329(0x21d)](_0x2d5b77),it['parse'](_0x55d34c),{'iv':_0x89de07,'padding':qi});return _0x89de07[_0xeed329(0x2b0)](_0x1b6f5c[_0xeed329(0x3ec)])[_0xeed329(0x355)](it);}function Ji(){var _0x164b5b=_0x4adc58;const _0x1325c5=yt[_0x164b5b(0x3bb)]()[_0x164b5b(0x318)];if(_0x1325c5){const _0x4495af={'time':Math[_0x164b5b(0x173)](Date['now']()/0x3e8),'domain':location[_0x164b5b(0x34b)]};return zi(JSON[_0x164b5b(0x247)](_0x4495af),_0x1325c5);}}var Xi=Object[_0x4adc58(0x3af)],Zi=(_0x4c2807,_0x213c95,_0x10895b,_0x44479c)=>{var _0x2c6502=_0x4adc58;for(var _0x487a2b=_0x44479c>0x1?void 0x0:_0x44479c?Xi(_0x213c95,_0x10895b):_0x213c95,_0x34ce5c=_0x4c2807[_0x2c6502(0x2ba)]-0x1,_0x2835ef;_0x34ce5c>=0x0;_0x34ce5c--)(_0x2835ef=_0x4c2807[_0x34ce5c])&&(_0x487a2b=_0x2835ef(_0x487a2b)||_0x487a2b);return _0x487a2b;},Qi=(_0x1e8969,_0x410f37)=>(_0x1b3dba,_0x433898)=>_0x410f37(_0x1b3dba,_0x433898,_0x1e8969);let Ne=class{constructor(_0x3bc7b7){var _0x3d9fdd=_0x4adc58;this[_0x3d9fdd(0x3a2)]=_0x3bc7b7,this[_0x3d9fdd(0x3d4)]();}[_0x4adc58(0x3d4)](){var _0x3ff1fe=_0x4adc58;this[_0x3ff1fe(0x3a2)][_0x3ff1fe(0x3b2)]({'interceptor':(_0x4f819d,_0x1b0261)=>{var _0x4070c1=_0x3ff1fe;const _0x1f901d=_0x4f819d[_0x4070c1(0x408)],_0x1eb550=Ji();return _0x1eb550&&_0x1f901d[_0x4070c1(0x440)](_0x4070c1(0x27c),_0x1eb550),_0x1b0261(_0x4f819d);}});}};Ne=Zi([Qi(0x0,a['Inject'](q['HTTPService']))],Ne);var en=Object['getOwnPropertyDescriptor'],tn=(_0x22815d,_0x4f4d1c,_0x440e7f,_0x59a23c)=>{var _0x21b5da=_0x4adc58;for(var _0x4676ed=_0x59a23c>0x1?void 0x0:_0x59a23c?en(_0x4f4d1c,_0x440e7f):_0x4f4d1c,_0x53286c=_0x22815d[_0x21b5da(0x2ba)]-0x1,_0x1e1d0e;_0x53286c>=0x0;_0x53286c--)(_0x1e1d0e=_0x22815d[_0x53286c])&&(_0x4676ed=_0x1e1d0e(_0x4676ed)||_0x4676ed);return _0x4676ed;},we=(_0x1cf063,_0x1187f7)=>(_0x474572,_0x2573a3)=>_0x1187f7(_0x474572,_0x2573a3,_0x1cf063);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x1b6e8a,_0x44ff4c,_0x48dba2){var _0x5b6c5a=_0x4adc58;super(),A(this,_0x5b6c5a(0x3f6),new H[(_0x5b6c5a(0x3b0))](null)),A(this,_0x5b6c5a(0x288),this[_0x5b6c5a(0x3f6)][_0x5b6c5a(0x228)]()),(this[_0x5b6c5a(0x337)]=_0x1b6e8a,this[_0x5b6c5a(0x26e)]=_0x44ff4c,this[_0x5b6c5a(0x1f3)]=_0x48dba2);}async[_0x4adc58(0x265)](_0x51f087,_0x4a0e9a,_0x5de14e){var _0x54e2e9=_0x4adc58;this['_unitInfo$'][_0x54e2e9(0x395)]({'unitId':_0x51f087,'type':_0x4a0e9a});let _0x1cf2a0=null;switch(_0x4a0e9a){case J[_0x54e2e9(0x3fa)]:{_0x1cf2a0=await this[_0x54e2e9(0x26e)][_0x54e2e9(0x3c8)](_0x51f087,_0x5de14e);break;}case J[_0x54e2e9(0x3ae)]:{_0x1cf2a0=await this[_0x54e2e9(0x26e)][_0x54e2e9(0x488)](_0x51f087,_0x5de14e);break;}default:{this[_0x54e2e9(0x337)][_0x54e2e9(0x2f2)](_0x54e2e9(0x260),_0x54e2e9(0x432));break;}}return _0x1cf2a0;}async['loadUnit'](_0x1bb055,_0x24ee77,_0x38b3c7){var _0x4c7b5=_0x4adc58,_0x45e166;this[_0x4c7b5(0x3f6)][_0x4c7b5(0x395)]({'unitId':_0x1bb055,'type':_0x24ee77,'subUnitId':_0x38b3c7});let _0x1c2640=0x0;const _0x33434d=await((_0x45e166=this[_0x4c7b5(0x1f3)])==null?void 0x0:_0x45e166[_0x4c7b5(0x33c)](_0x1bb055));return _0x33434d&&(_0x33434d[_0x4c7b5(0x180)]||_0x33434d[_0x4c7b5(0x20a)]['length']!==0x0)&&(_0x1c2640=_0x33434d[_0x4c7b5(0x30d)]),_0x1c2640===0x0&&this[_0x4c7b5(0x337)][_0x4c7b5(0x3d9)](_0x4c7b5(0x260),_0x4c7b5(0x26f)),this['loadUnitOfRevision'](_0x1bb055,_0x24ee77,_0x1c2640);}},exports[_0x4adc58(0x473)]=tn([we(0x0,a[_0x4adc58(0x270)]),we(0x1,a[_0x4adc58(0x49e)](p[_0x4adc58(0x242)])),we(0x2,a[_0x4adc58(0x287)](K))],exports['DataLoaderService']);var nn=Object[_0x4adc58(0x3af)],rn=(_0x3ca509,_0x579238,_0x52b608,_0x871d05)=>{var _0x168a56=_0x4adc58;for(var _0x3d1a33=_0x871d05>0x1?void 0x0:_0x871d05?nn(_0x579238,_0x52b608):_0x579238,_0x4ba6b0=_0x3ca509[_0x168a56(0x2ba)]-0x1,_0x492138;_0x4ba6b0>=0x0;_0x4ba6b0--)(_0x492138=_0x3ca509[_0x4ba6b0])&&(_0x3d1a33=_0x492138(_0x3d1a33)||_0x3d1a33);return _0x3d1a33;},Me=(_0x32c4cd,_0x2c7c5c)=>(_0x42be63,_0xfdce31)=>_0x2c7c5c(_0x42be63,_0xfdce31,_0x32c4cd);const sn=[_0x4adc58(0x188),_0x4adc58(0x2d4),'image/jpg',_0x4adc58(0x1da),_0x4adc58(0x1a0)],on=0x5*0x400*0x400,an='/universer-api/stream/file/upload',cn=_0x4adc58(0x1ee);exports['CollaborationImageIoService']=class{constructor(_0x42cb92,_0x15f45d,_0x540ad8){var _0x5a33b9=_0x4adc58;A(this,_0x5a33b9(0x212),0x0),A(this,'_change$',new H['Subject']()),A(this,_0x5a33b9(0x220),this[_0x5a33b9(0x24c)]),A(this,_0x5a33b9(0x1d4),new Map()),(this[_0x5a33b9(0x3a2)]=_0x42cb92,this[_0x5a33b9(0x25b)]=_0x15f45d,this[_0x5a33b9(0x2b6)]=_0x540ad8);}[_0x4adc58(0x213)](_0x27e83b){var _0x4b9568=_0x4adc58;this[_0x4b9568(0x212)]=_0x27e83b,this[_0x4b9568(0x24c)]['next'](_0x27e83b);}[_0x4adc58(0x1fe)](_0x3fbb0f,_0x556839){var _0xe8a5bf=_0x4adc58;if(_0x556839===z[_0xe8a5bf(0x280)]['BASE64']){const _0x571a87=new Image();return _0x571a87[_0xe8a5bf(0x2e0)]=_0x3fbb0f,_0x571a87;}return this['_imageSourceCache'][_0xe8a5bf(0x44b)](_0x3fbb0f);}[_0x4adc58(0x4b9)](_0x498ca4,_0x5947a6,_0xb3a97e){var _0x79113c=_0x4adc58;_0x5947a6===z['ImageSourceType'][_0x79113c(0x417)]||_0xb3a97e==null||this['_imageSourceCache'][_0x79113c(0x440)](_0x498ca4,_0xb3a97e);}async[_0x4adc58(0x17d)](_0x217283){var _0x1ccd17=_0x4adc58;try{const _0x4d2a7c=this[_0x1ccd17(0x43b)](this[_0x1ccd17(0x229)](),''+_0x217283),_0x4c7999=(await this[_0x1ccd17(0x3a2)][_0x1ccd17(0x44b)](_0x4d2a7c))['body'];if(_0x4c7999[_0x1ccd17(0x2f2)]&&_0x4c7999[_0x1ccd17(0x2f2)][_0x1ccd17(0x23f)]===dt['OK']){const _0x4a2efd=new URL(_0x4c7999[_0x1ccd17(0x1a3)],this[_0x1ccd17(0x2e1)]())[_0x1ccd17(0x355)]();return Promise[_0x1ccd17(0x2a0)](_0x4a2efd);}return Promise['reject'](_0x4c7999['error']);}catch(_0x1574d2){return Promise[_0x1ccd17(0x411)](_0x1574d2);}}async[_0x4adc58(0x309)](_0x4f32a8){var _0x5c1c12=_0x4adc58;let _0x14aea4='';if(!sn[_0x5c1c12(0x423)](_0x4f32a8[_0x5c1c12(0x3b4)]))return this[_0x5c1c12(0x3fc)](),Promise[_0x5c1c12(0x411)](new Error(z[_0x5c1c12(0x3c2)]['ERROR_IMAGE_TYPE']));if(_0x4f32a8[_0x5c1c12(0x237)]>on)return this['_decreaseWaiting'](),Promise[_0x5c1c12(0x411)](new Error(z['ImageUploadStatusType'][_0x5c1c12(0x45f)]));try{const _0x5cb715=new FormData();_0x5cb715['append']('file',_0x4f32a8);const _0x2dfb02=this[_0x5c1c12(0x2b6)][_0x5c1c12(0x4a3)](),_0x40294f=_0x2dfb02==null?void 0x0:_0x2dfb02[_0x5c1c12(0x40c)]();if(!_0x40294f)throw new Error(_0x5c1c12(0x36d));const _0x4b1f04=this['_getUploadFileURL']()+_0x5c1c12(0x4be)+_0x4f32a8[_0x5c1c12(0x237)]['toString']()+_0x5c1c12(0x4af)+vt[_0x5c1c12(0x292)]+_0x5c1c12(0x15f)+encodeURIComponent(_0x40294f),_0x48ddbd={'body':_0x5cb715},_0x465fce=(await this[_0x5c1c12(0x3a2)][_0x5c1c12(0x235)](_0x4b1f04,_0x48ddbd))[_0x5c1c12(0x36c)];if(typeof _0x465fce['FileId']!='string')return this[_0x5c1c12(0x3fc)](),Promise[_0x5c1c12(0x411)](new Error(z['ImageUploadStatusType'][_0x5c1c12(0x29f)]));_0x14aea4=_0x465fce[_0x5c1c12(0x319)];}catch{return this[_0x5c1c12(0x3fc)](),Promise[_0x5c1c12(0x411)](new Error(z['ImageUploadStatusType'][_0x5c1c12(0x29f)]));}return new Promise((_0x2fc1a1,_0x4178b4)=>{var _0x1818c7=_0x5c1c12;const _0x5496db=new FileReader();_0x5496db['readAsDataURL'](_0x4f32a8),_0x5496db[_0x1818c7(0x354)]=_0x2b4386=>{var _0x526364=_0x1818c7,_0x5afc3c;const _0x577f6d=(_0x5afc3c=_0x2b4386[_0x526364(0x1ac)])==null?void 0x0:_0x5afc3c[_0x526364(0x176)];if(_0x577f6d==null){this[_0x526364(0x3fc)](),_0x4178b4(new Error(z[_0x526364(0x3c2)]['ERROR_IMAGE']));return;}const _0x3a4acf=a[_0x526364(0x306)](0x6);_0x2fc1a1({'imageId':_0x3a4acf,'imageSourceType':z[_0x526364(0x280)]['UUID'],'source':_0x14aea4,'base64Cache':_0x577f6d,'status':z[_0x526364(0x3c2)][_0x526364(0x1f6)]}),this['_decreaseWaiting']();};});}[_0x4adc58(0x396)](){var _0x2175cc=_0x4adc58,_0x2a3b0b;const _0x43ff62=this['_configService'][_0x2175cc(0x392)](Y);return(_0x2a3b0b=_0x43ff62==null?void 0x0:_0x43ff62[_0x2175cc(0x400)])!=null?_0x2a3b0b:an;}[_0x4adc58(0x229)](){var _0x2e64c3=_0x4adc58,_0x383c48;const _0x47e0a=this[_0x2e64c3(0x25b)][_0x2e64c3(0x392)](Y);return(_0x383c48=_0x47e0a==null?void 0x0:_0x47e0a['signUrlServerUrl'])!=null?_0x383c48:cn;}[_0x4adc58(0x2e1)](){var _0x2eaaa7=_0x4adc58,_0x511f1b;const _0x425842=this[_0x2eaaa7(0x25b)]['getConfig'](Y);return(_0x511f1b=_0x425842==null?void 0x0:_0x425842[_0x2eaaa7(0x2e5)])!=null?_0x511f1b:location[_0x2eaaa7(0x2ed)];}['_replaceFileID'](_0x51267b,_0x2c5f62){var _0x4e8d2f=_0x4adc58;return _0x51267b['replace'](_0x4e8d2f(0x48b),_0x2c5f62);}[_0x4adc58(0x3fc)](){var _0x359013=_0x4adc58;this[_0x359013(0x212)]-=0x1,this['_change$']['next'](this['_waitCount']);}},exports[_0x4adc58(0x4ad)]=rn([Me(0x0,a[_0x4adc58(0x49e)](q[_0x4adc58(0x1b6)])),Me(0x1,a[_0x4adc58(0x3f1)]),Me(0x2,a[_0x4adc58(0x49e)](a[_0x4adc58(0x46d)]))],exports[_0x4adc58(0x4ad)]);var hn=Object[_0x4adc58(0x3af)],_n=(_0x54b56a,_0x3432d3,_0x236b9f,_0x4b057a)=>{var _0x2e2d32=_0x4adc58;for(var _0x48bffd=_0x4b057a>0x1?void 0x0:_0x4b057a?hn(_0x3432d3,_0x236b9f):_0x3432d3,_0x2eea86=_0x54b56a[_0x2e2d32(0x2ba)]-0x1,_0x5bf00c;_0x2eea86>=0x0;_0x2eea86--)(_0x5bf00c=_0x54b56a[_0x2eea86])&&(_0x48bffd=_0x5bf00c(_0x48bffd)||_0x48bffd);return _0x48bffd;},ot=(_0x942b83,_0x19cf60)=>(_0x1c6fec,_0x466cd2)=>_0x19cf60(_0x1c6fec,_0x466cd2,_0x942b83);const ln=_0x4adc58(0x2c4);exports[_0x4adc58(0x4b6)]=class{constructor(_0x2beecf,_0x5c9e94){var _0x5ad46b=_0x4adc58;this['_configService']=_0x2beecf,this[_0x5ad46b(0x35c)]=_0x5c9e94;}[_0x4adc58(0x2ec)](){var _0x130b89=_0x4adc58,_0x17b930;const _0xccea3c=this[_0x130b89(0x25b)]['getConfig'](Y);return(_0x17b930=_0xccea3c==null?void 0x0:_0xccea3c[_0x130b89(0x3d6)])!=null?_0x17b930:ln;}async[_0x4adc58(0x30b)](_0x26a970){var _0x1d9b9e=_0x4adc58;const _0x392edf=this[_0x1d9b9e(0x2ec)]()+'/collaborator';return{'list':[{'title':_0x1d9b9e(0x3d7),'mentions':(await this[_0x1d9b9e(0x35c)][_0x1d9b9e(0x44b)](_0x392edf,{'params':{'objectID':_0x26a970[_0x1d9b9e(0x1f4)],'unitID':_0x26a970[_0x1d9b9e(0x1f4)]}}))[_0x1d9b9e(0x36c)][_0x1d9b9e(0x2aa)][_0x1d9b9e(0x1ea)](_0x42e9b1=>({'objectId':_0x42e9b1['id'],'name':_0x42e9b1['subject']['name'],'metadata':{'icon':_0x42e9b1[_0x1d9b9e(0x4a1)][_0x1d9b9e(0x1c3)]},'label':_0x42e9b1[_0x1d9b9e(0x4a1)]['name'],'objectType':a[_0x1d9b9e(0x268)]['PERSON']})),'metadata':{},'type':a[_0x1d9b9e(0x268)]['PERSON']}]};}},exports[_0x4adc58(0x4b6)]=_n([ot(0x0,a['Inject'](a[_0x4adc58(0x3f1)])),ot(0x1,a['Inject'](q[_0x4adc58(0x1b6)]))],exports['MentionIoHttpService']);var un=Object['getOwnPropertyDescriptor'],dn=(_0x31a602,_0x5381e8,_0xd47b82,_0x489d6a)=>{var _0x4ea108=_0x4adc58;for(var _0x31d789=_0x489d6a>0x1?void 0x0:_0x489d6a?un(_0x5381e8,_0xd47b82):_0x5381e8,_0x2795e8=_0x31a602[_0x4ea108(0x2ba)]-0x1,_0xb35e53;_0x2795e8>=0x0;_0x2795e8--)(_0xb35e53=_0x31a602[_0x2795e8])&&(_0x31d789=_0xb35e53(_0x31d789)||_0x31d789);return _0x31d789;},le=(_0x3fb5bf,_0x2da508)=>(_0x37fa60,_0x4407cb)=>_0x2da508(_0x37fa60,_0x4407cb,_0x3fb5bf);let De=class extends a['RxDisposable']{constructor(_0xe9d19a,_0x3293eb,_0x49d629,_0x56910b,_0x21fe8d){var _0xb8936a=_0x4adc58;super(),this[_0xb8936a(0x20f)]=_0xe9d19a,this['_univerInstanceService']=_0x3293eb,this[_0xb8936a(0x15d)]=_0x49d629,this[_0xb8936a(0x340)]=_0x56910b,this['_collaborationUIEventService']=_0x21fe8d,this[_0xb8936a(0x219)](),this[_0xb8936a(0x223)]();}[_0x4adc58(0x223)](){var _0x53d82a=_0x4adc58;const _0x43c063=async _0x223dfa=>{var _0x28e0dc=_0x2018;(await this[_0x28e0dc(0x340)]['requireSession'](_0x223dfa))[_0x28e0dc(0x2c2)]['pipe'](V[_0x28e0dc(0x307)](_0x4bb301=>_0x4bb301[_0x28e0dc(0x162)]===p[_0x28e0dc(0x232)]['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x28e0dc(0x40f)]))[_0x28e0dc(0x1b8)](_0x5b940e=>{var _0x2a0b7a=_0x28e0dc;const _0x5fda07=_0x5b940e,{reason:_0xdfd4ed}=_0x5fda07[_0x2a0b7a(0x46c)];this[_0x2a0b7a(0x496)][_0x2a0b7a(0x245)]({'id':Z[_0x2a0b7a(0x439)],'data':_0xdfd4ed}),this[_0x2a0b7a(0x15d)]['updatePermissionPoint'](new X[(_0x2a0b7a(0x32f))](_0x223dfa)['id'],!0x1),this[_0x2a0b7a(0x340)]['closeSession'](_0x223dfa);});};H[_0x53d82a(0x244)](this[_0x53d82a(0x2b6)][_0x53d82a(0x1ae)](a[_0x53d82a(0x3f3)][_0x53d82a(0x3fa)]),this['_univerInstanceService'][_0x53d82a(0x1ae)](a[_0x53d82a(0x3f3)][_0x53d82a(0x3ae)]))[_0x53d82a(0x2c3)](V[_0x53d82a(0x1ea)](_0x2fc240=>_0x2fc240[_0x53d82a(0x40c)]()),V[_0x53d82a(0x307)](_0x1740c7=>!a[_0x53d82a(0x42b)](_0x1740c7)),V[_0x53d82a(0x2d1)](this[_0x53d82a(0x40f)]))['subscribe'](_0x261738=>{_0x43c063(_0x261738);});}[_0x4adc58(0x219)](){var _0x4ccb15=_0x4adc58;const _0x5b270d=async _0x474113=>{var _0x589180=_0x2018;const _0x467ae7=await this['_collaborationSessionService'][_0x589180(0x4ca)](_0x474113),_0x9495f3=this['_injector']['get'](X[_0x589180(0x45e)]);_0x467ae7[_0x589180(0x2c2)][_0x589180(0x2c3)](V[_0x589180(0x307)](_0x4be16d=>_0x4be16d['eventID']===p[_0x589180(0x232)][_0x589180(0x453)]),V[_0x589180(0x2d1)](this[_0x589180(0x40f)]))['subscribe'](_0xee2102=>{var _0x381051=_0x589180;const _0x36aa1f=_0xee2102,{objectId:_0x19ddc0}=_0x36aa1f[_0x381051(0x46c)];_0x19ddc0===_0x474113?_0x9495f3[_0x381051(0x3e7)](_0x474113):_0x9495f3[_0x381051(0x2af)](_0x474113,_0x19ddc0);});};H['merge'](this[_0x4ccb15(0x2b6)]['getTypeOfUnitAdded$'](a[_0x4ccb15(0x3f3)]['UNIVER_SHEET']))['pipe'](V[_0x4ccb15(0x1ea)](_0x3a0882=>_0x3a0882[_0x4ccb15(0x40c)]()),V[_0x4ccb15(0x307)](_0x3f9a9d=>!a[_0x4ccb15(0x42b)](_0x3f9a9d)),V['takeUntil'](this[_0x4ccb15(0x40f)]))['subscribe'](_0x1b4a35=>{_0x5b270d(_0x1b4a35);});}};De=dn([le(0x0,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),le(0x1,a[_0x4adc58(0x46d)]),le(0x2,a[_0x4adc58(0x3b3)]),le(0x3,a[_0x4adc58(0x49e)](exports[_0x4adc58(0x196)])),le(0x4,a[_0x4adc58(0x49e)](ee))],De);var vn=Object[_0x4adc58(0x3af)],Sn=(_0x2b7d6e,_0x1b0d85,_0x9f3fdb,_0x5406ff)=>{var _0x17baaf=_0x4adc58;for(var _0x19c4ab=_0x5406ff>0x1?void 0x0:_0x5406ff?vn(_0x1b0d85,_0x9f3fdb):_0x1b0d85,_0x253c7a=_0x2b7d6e[_0x17baaf(0x2ba)]-0x1,_0x153ea2;_0x253c7a>=0x0;_0x253c7a--)(_0x153ea2=_0x2b7d6e[_0x253c7a])&&(_0x19c4ab=_0x153ea2(_0x19c4ab)||_0x19c4ab);return _0x19c4ab;},at=(_0x3e99ac,_0x455686)=>(_0x2ed34e,_0xb30cac)=>_0x455686(_0x2ed34e,_0xb30cac,_0x3e99ac);exports[_0x4adc58(0x1d5)]=class{constructor(_0x3f6aa9,_0x640af6){var _0x59f7e7=_0x4adc58;this[_0x59f7e7(0x25b)]=_0x3f6aa9,this[_0x59f7e7(0x3a2)]=_0x640af6;}async['getUnitOnRev'](_0x4c5772,_0x3bb314){var _0x57f786=_0x4adc58,_0x273af9;const {unitID:_0x5d14d7,type:_0x3adc83,revision:_0x42522a=0x0}=_0x3bb314,_0x3ee502=this[_0x57f786(0x34d)]()+'/'+_0x3adc83+_0x57f786(0x192)+_0x5d14d7+_0x57f786(0x40e)+_0x42522a,_0x15d729=(await this[_0x57f786(0x3a2)][_0x57f786(0x44b)](_0x3ee502))[_0x57f786(0x36c)],_0x23c27b=(_0x273af9=_0x15d729[_0x57f786(0x1c8)])==null?void 0x0:_0x273af9[_0x57f786(0x1be)];if(_0x23c27b){const _0x384aa5=_0x23c27b==null?void 0x0:_0x23c27b[_0x57f786(0x28a)],_0x5b966b=p[_0x57f786(0x3b9)][_0x57f786(0x390)](p[_0x57f786(0x393)](_0x384aa5));_0x23c27b[_0x57f786(0x28a)]=_0x5b966b,Object[_0x57f786(0x284)](_0x23c27b[_0x57f786(0x39a)])['forEach'](([,_0x353932])=>{var _0x1447aa=_0x57f786;const _0x4aae15=_0x353932['originalMeta'],_0x294e62=p['textEncoder'][_0x1447aa(0x390)](p[_0x1447aa(0x393)](_0x4aae15));_0x353932[_0x1447aa(0x28a)]=_0x294e62;});}return _0x15d729;}async[_0x4adc58(0x207)](_0x470aec,_0x4645cf){var _0x148c9a=_0x4adc58;const {unitID:_0x3c4aff,type:_0x3500ed,blockID:_0x548d31}=_0x4645cf,_0x5b886c=this[_0x148c9a(0x3ee)]()+'/'+_0x3500ed+_0x148c9a(0x192)+_0x3c4aff+_0x148c9a(0x3d8)+_0x548d31;return(await this['_httpService'][_0x148c9a(0x44b)](_0x5b886c))[_0x148c9a(0x36c)];}async[_0x4adc58(0x20b)](_0x36f0ee,_0x47a194){var _0x34b036=_0x4adc58;const {unitID:_0x1c3c5a,type:_0x29bb31,blockID:_0x59fe52}=_0x47a194,_0x467eff=this[_0x34b036(0x3ee)]()+_0x34b036(0x3d8)+_0x29bb31+'/unit/'+_0x1c3c5a+_0x34b036(0x3d8)+_0x59fe52;return(await this['_httpService'][_0x34b036(0x44b)](_0x467eff))['body'];}async[_0x4adc58(0x336)](_0x49f763,_0x388b22){var _0x1b7ed8=_0x4adc58;const {unitID:_0x5d02f9,type:_0xa3a1e0,from:_0x52ce12,to:_0x544301}=_0x388b22,_0x318c69=this[_0x1b7ed8(0x3ee)]()+'/'+_0xa3a1e0+_0x1b7ed8(0x192)+_0x5d02f9+'/fetchmissing?from='+_0x52ce12+_0x1b7ed8(0x441)+_0x544301;return(await this[_0x1b7ed8(0x3a2)][_0x1b7ed8(0x44b)](_0x318c69))['body'];}[_0x4adc58(0x34d)](){var _0x15c320=_0x4adc58,_0x34a7a7;return(_0x34a7a7=this[_0x15c320(0x25b)]['getConfig'](Dt))!=null?_0x34a7a7:this[_0x15c320(0x3ee)]();}[_0x4adc58(0x3ee)](){var _0x19c417=_0x4adc58,_0x621519;const _0x429fd8=this[_0x19c417(0x25b)][_0x19c417(0x392)](Y);return(_0x621519=_0x429fd8==null?void 0x0:_0x429fd8[_0x19c417(0x3de)])!=null?_0x621519:Nt;}async[_0x4adc58(0x22f)](_0x215d53,_0x522ca4){var _0x3b7910=_0x4adc58;const _0x42cd20=_0x3b7910(0x295)+_0x522ca4['type']+_0x3b7910(0x192)+_0x522ca4[_0x3b7910(0x1e3)]+'/resources';return(await this[_0x3b7910(0x3a2)][_0x3b7910(0x44b)](_0x42cd20,{'params':{'resourceId':JSON['stringify'](_0x522ca4[_0x3b7910(0x1a1)])}}))[_0x3b7910(0x36c)];}[_0x4adc58(0x261)](){var _0x248ffd=_0x4adc58;throw new Error(_0x248ffd(0x451));}[_0x4adc58(0x399)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4adc58(0x3da)](){var _0x39a85b=_0x4adc58;throw new Error(_0x39a85b(0x451));}[_0x4adc58(0x4bd)](){var _0x2b89bc=_0x4adc58;throw new Error(_0x2b89bc(0x451));}[_0x4adc58(0x23c)](){var _0x2fe460=_0x4adc58;throw new Error(_0x2fe460(0x451));}},exports[_0x4adc58(0x1d5)]=Sn([at(0x0,a[_0x4adc58(0x3f1)]),at(0x1,a[_0x4adc58(0x49e)](q[_0x4adc58(0x1b6)]))],exports[_0x4adc58(0x1d5)]);var fn=Object[_0x4adc58(0x3af)],In=(_0x403894,_0x419c32,_0x556c52,_0x9157dc)=>{for(var _0x32d247=_0x9157dc>0x1?void 0x0:_0x9157dc?fn(_0x419c32,_0x556c52):_0x419c32,_0x556c0b=_0x403894['length']-0x1,_0x44788c;_0x556c0b>=0x0;_0x556c0b--)(_0x44788c=_0x403894[_0x556c0b])&&(_0x32d247=_0x44788c(_0x32d247)||_0x32d247);return _0x32d247;},ue=(_0x14ed93,_0x34c448)=>(_0x1eff29,_0x10c7ec)=>_0x34c448(_0x1eff29,_0x10c7ec,_0x14ed93);exports[_0x4adc58(0x398)]=class extends a['LocalUndoRedoService']{constructor(_0xde0844,_0x1957e4,_0x363225,_0x291db2,_0xd7d7bd){var _0x107417=_0x4adc58;super(_0xde0844,_0x1957e4,_0x363225),this[_0x107417(0x28d)]=_0x291db2,this[_0x107417(0x337)]=_0xd7d7bd;}[_0x4adc58(0x3cb)](_0x229c18,_0x428a4b){var _0x35240b=_0x4adc58;const _0x5de514=this[_0x35240b(0x2f7)](_0x229c18);if(_0x5de514)try{const _0x120e2c=this[_0x35240b(0x250)](_0x5de514,_0x428a4b);this[_0x35240b(0x315)](_0x229c18,_0x120e2c);}catch(_0xfa398){this[_0x35240b(0x337)][_0x35240b(0x2f2)]('[CollaborationUndoRedoService]',_0xfa398),this['_clearUndo'](_0x229c18);}const _0x461f13=this['_getRedoStack'](_0x229c18);if(_0x461f13)try{const _0x58b57d=this[_0x35240b(0x250)](_0x461f13,_0x428a4b);this['_substituteRedoStack'](_0x229c18,_0x58b57d);}catch(_0x1d8e87){this[_0x35240b(0x337)][_0x35240b(0x2f2)](_0x1d8e87),this['_clearRedo'](_0x229c18);}}[_0x4adc58(0x45a)](_0x1eb6ec){var _0x39bb53=_0x4adc58;const _0x5e118f=this[_0x39bb53(0x2f7)](_0x1eb6ec);_0x5e118f&&(_0x5e118f[_0x39bb53(0x2ba)]=0x0,this[_0x39bb53(0x449)]());}['_clearRedo'](_0x3b082c){var _0x3edcaf=_0x4adc58;const _0x3f4e0b=this[_0x3edcaf(0x35b)](_0x3b082c);_0x3f4e0b&&(_0x3f4e0b[_0x3edcaf(0x2ba)]=0x0,this['_updateStatus']());}[_0x4adc58(0x315)](_0x386ce3,_0x3007ac){var _0x29d483=_0x4adc58;this[_0x29d483(0x15b)][_0x29d483(0x440)](_0x386ce3,_0x3007ac),this[_0x29d483(0x449)]();}[_0x4adc58(0x301)](_0x569df9,_0x146448){var _0x1c5de1=_0x4adc58;this[_0x1c5de1(0x356)][_0x1c5de1(0x440)](_0x569df9,_0x146448),this[_0x1c5de1(0x449)]();}['_transformStack'](_0x20004c,_0x20e7b0){var _0x17b181=_0x4adc58;const _0x501f14=[];let _0x47f6d8=_0x20e7b0,_0x279712=_0x20e7b0;for(let _0x4cef6b=_0x20004c['length']-0x1;_0x4cef6b>=0x0;_0x4cef6b--){const {unitID:_0x561f07,undoMutations:_0x22de93,redoMutations:_0x51ef76}=_0x20004c[_0x4cef6b],_0x1c2146=this[_0x17b181(0x28d)][_0x17b181(0x4aa)](_0x47f6d8,_0x22de93),_0x36190c=this['_transformService']['transformMutationsWithChangeset'](_0x279712,_0x51ef76);if(p['isTransformMutationsWithChangesetFailure'](_0x1c2146)||p[_0x17b181(0x1cb)](_0x36190c)){this['_logService']['error'](_0x17b181(0x344),_0x17b181(0x2dd),_0x1c2146,_0x36190c);break;}_0x47f6d8=_0x1c2146[_0x17b181(0x46a)],_0x279712=_0x36190c[_0x17b181(0x46a)],_0x501f14[_0x17b181(0x286)]({'unitID':_0x561f07,'undoMutations':_0x1c2146[_0x17b181(0x189)],'redoMutations':_0x36190c[_0x17b181(0x189)]});}return _0x501f14['reverse']();}},exports[_0x4adc58(0x398)]=In([ue(0x0,a[_0x4adc58(0x46d)]),ue(0x1,a[_0x4adc58(0x31a)]),ue(0x2,a[_0x4adc58(0x1a6)]),ue(0x3,p[_0x4adc58(0x30f)]),ue(0x4,a[_0x4adc58(0x270)])],exports[_0x4adc58(0x398)]);var pn=Object[_0x4adc58(0x300)],mn=Object[_0x4adc58(0x3af)],gn=(_0x613307,_0x305654,_0x11963d)=>_0x305654 in _0x613307?pn(_0x613307,_0x305654,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11963d}):_0x613307[_0x305654]=_0x11963d,En=(_0x170b75,_0x52df98,_0x3b22b6,_0x2794af)=>{var _0x291626=_0x4adc58;for(var _0x451b53=_0x2794af>0x1?void 0x0:_0x2794af?mn(_0x52df98,_0x3b22b6):_0x52df98,_0x5a3e82=_0x170b75[_0x291626(0x2ba)]-0x1,_0xe2e676;_0x5a3e82>=0x0;_0x5a3e82--)(_0xe2e676=_0x170b75[_0x5a3e82])&&(_0x451b53=_0xe2e676(_0x451b53)||_0x451b53);return _0x451b53;},Le=(_0x32410b,_0x4a0ff8)=>(_0x25f3d2,_0x66dcc9)=>_0x4a0ff8(_0x25f3d2,_0x66dcc9,_0x32410b),Cn=(_0x5284f0,_0x43c2be,_0x9d85fc)=>gn(_0x5284f0,_0x43c2be+'',_0x9d85fc);const Tn=_0x4adc58(0x298);exports[_0x4adc58(0x3a7)]=class extends a[_0x4adc58(0x49f)]{constructor(_0x160a3c,_0x2dc2d2,_0x9b6e6,_0x545998){var _0x57fdab=_0x4adc58;super(),A(this,_0x57fdab(0x341)),(this[_0x57fdab(0x337)]=_0x2dc2d2,this['_injector']=_0x9b6e6,this['_configService']=_0x545998);const {..._0x5783be}=a[_0x57fdab(0x244)]({},Zt,_0x160a3c);if(!_0x5783be[_0x57fdab(0x272)])throw new Error(_0x57fdab(0x353));this[_0x57fdab(0x341)]=_0x5783be,this['_configService'][_0x57fdab(0x490)](Y,_0x5783be);}[_0x4adc58(0x422)](){var _0x280e88=_0x4adc58;this['_registerDependencies'](),this[_0x280e88(0x27d)]();}[_0x4adc58(0x412)](){var _0x51ade7=_0x4adc58,_0x3d02cb,_0x59bd74;this[_0x51ade7(0x20f)][_0x51ade7(0x3e0)](a[_0x51ade7(0x191)])&&this['_logService'][_0x51ade7(0x2f2)](_0x51ade7(0x466),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2ab311=a[_0x51ade7(0x226)]([[a[_0x51ade7(0x191)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x51ade7(0x196)]],[exports[_0x51ade7(0x2be)]],[exports[_0x51ade7(0x18f)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x51ade7(0x473)]],[Fe,{'useClass':this[_0x51ade7(0x341)]['socketService']}],[p[_0x51ade7(0x27b)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x51ade7(0x22d)],{'useClass':exports[_0x51ade7(0x1d2)]}],[z[_0x51ade7(0x1e8)],{'useClass':exports[_0x51ade7(0x4ad)]}],[a[_0x51ade7(0x21a)],{'useClass':exports['MentionIoHttpService']}],[exports['CollaborationController']],[xe]],(_0x3d02cb=this[_0x51ade7(0x341)])==null?void 0x0:_0x3d02cb[_0x51ade7(0x464)]);if(!((_0x59bd74=this['_config'])!=null&&_0x59bd74[_0x51ade7(0x324)])){const _0x2c6d4c=_0x2ab311[_0x51ade7(0x4b3)](([_0x5cb1fc])=>_0x5cb1fc===de);_0x2c6d4c!==-0x1&&_0x2ab311[_0x51ade7(0x203)](_0x2c6d4c,0x1);}a[_0x51ade7(0x448)](this['_injector'],_0x2ab311);}[_0x4adc58(0x27d)](){var _0x260939=_0x4adc58,_0x2f1ffa,_0x1bdb9e,_0x93da2;this[_0x260939(0x20f)][_0x260939(0x44b)](q[_0x260939(0x1b6)])[_0x260939(0x3b2)]({'priority':0x14,'interceptor':q[_0x260939(0x48e)]({'maxParallel':0x6})}),(_0x2f1ffa=this[_0x260939(0x341)])!=null&&_0x2f1ffa[_0x260939(0x3bc)]||(_0x1bdb9e=this[_0x260939(0x20f)]['get'](K,a[_0x260939(0x378)][_0x260939(0x256)]))==null||_0x1bdb9e['disableLocalCache'](),(_0x93da2=this[_0x260939(0x341)])!=null&&_0x93da2['enableAuthServer']&&a['touchDependencies'](this[_0x260939(0x20f)],[[ye]]),a[_0x260939(0x430)](this[_0x260939(0x20f)],[[Ne],[exports[_0x260939(0x31e)]],[De]]);}},Cn(exports[_0x4adc58(0x3a7)],_0x4adc58(0x1f1),Tn),exports[_0x4adc58(0x3a7)]=En([a[_0x4adc58(0x4c6)](p[_0x4adc58(0x2e2)],q['UniverNetworkPlugin']),Le(0x1,a[_0x4adc58(0x270)]),Le(0x2,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),Le(0x3,a['IConfigService'])],exports[_0x4adc58(0x3a7)]),exports[_0x4adc58(0x4a8)]=Y,exports[_0x4adc58(0x1cd)]=je,exports[_0x4adc58(0x452)]=Z,exports[_0x4adc58(0x217)]=ee,exports[_0x4adc58(0x2ac)]=$e,exports[_0x4adc58(0x234)]=ht,exports[_0x4adc58(0x360)]=jt,exports[_0x4adc58(0x1f2)]=At,exports[_0x4adc58(0x22a)]=_t,exports[_0x4adc58(0x3a6)]=ke,exports[_0x4adc58(0x239)]=Fe,exports[_0x4adc58(0x444)]=K,exports['INetworkConditionService']=pt,exports[_0x4adc58(0x3a9)]=de,exports[_0x4adc58(0x3b7)]=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=Lt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Ht,exports[_0x4adc58(0x1cf)]=ut,exports[_0x4adc58(0x175)]=re,exports['UnitStatus']=He,exports['deserializeToCombResponse']=mt,exports[_0x4adc58(0x214)]=Kt,exports[_0x4adc58(0x43f)]=gt;