@univerjs-pro/collaboration-client 0.8.2-nightly.202506251607 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +1 -1
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/umd/facade.js +1 -1
  29. package/lib/umd/index.js +1 -1
  30. package/lib/umd/locale/en-US.js +1 -1
  31. package/lib/umd/locale/fa-IR.js +1 -1
  32. package/lib/umd/locale/fr-FR.js +1 -1
  33. package/lib/umd/locale/ru-RU.js +1 -1
  34. package/lib/umd/locale/vi-VN.js +1 -1
  35. package/lib/umd/locale/zh-CN.js +1 -1
  36. package/lib/umd/locale/zh-TW.js +1 -1
  37. package/package.json +10 -10
  38. package/lib/cjs/locale/ko-KR.js +0 -1
  39. package/lib/es/locale/ko-KR.js +0 -1
  40. package/lib/locale/ko-KR.js +0 -1
  41. package/lib/types/locale/ko-KR.d.ts +0 -3
  42. package/lib/umd/locale/ko-KR.js +0 -1
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x11fce6=_0x450d;(function(_0x3de700,_0xc76652){var _0x473940=_0x450d,_0x55757a=_0x3de700();while(!![]){try{var _0x18313f=-parseInt(_0x473940(0x48a))/0x1*(parseInt(_0x473940(0x2e0))/0x2)+-parseInt(_0x473940(0x22f))/0x3+parseInt(_0x473940(0x497))/0x4+parseInt(_0x473940(0x457))/0x5+parseInt(_0x473940(0x39f))/0x6+-parseInt(_0x473940(0x326))/0x7*(-parseInt(_0x473940(0x2f6))/0x8)+-parseInt(_0x473940(0x278))/0x9;if(_0x18313f===_0xc76652)break;else _0x55757a['push'](_0x55757a['shift']());}catch(_0x3ac133){_0x55757a['push'](_0x55757a['shift']());}}}(_0x530a,0xf27c4));var Ut=Object['defineProperty'],At=(_0x27c892,_0x40725b,_0x3c9190)=>_0x40725b in _0x27c892?Ut(_0x27c892,_0x40725b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c9190}):_0x27c892[_0x40725b]=_0x3c9190,A=(_0x3e15cb,_0x149a12,_0x4ade57)=>At(_0x3e15cb,typeof _0x149a12!=_0x11fce6(0x20e)?_0x149a12+'':_0x149a12,_0x4ade57);Object['defineProperty'](exports,Symbol[_0x11fce6(0x303)],{'value':_0x11fce6(0x389)});const a=require(_0x11fce6(0x262)),$=require(_0x11fce6(0x256)),V=require(_0x11fce6(0x4bc)),p=require('@univerjs-pro/collaboration'),K=require(_0x11fce6(0x1fd)),Pt=require(_0x11fce6(0x40e)),ht=require(_0x11fce6(0x4d9)),X=require(_0x11fce6(0x4de)),z=require(_0x11fce6(0x2a2)),Lt=require(_0x11fce6(0x446)),_t=_0x11fce6(0x30a),wt='/universer-api/snapshot',lt=_0x11fce6(0x40b),Mt=_0x11fce6(0x379),xt=0x7d0,ut=_0x11fce6(0x1cf),dt=_0x11fce6(0x1e3),kt=_0x11fce6(0x4ae),vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x11fce6(0x357),St=0x4e20,$t=0x4e20,ft=_0x11fce6(0x204),jt=0x3,Bt=_0x11fce6(0x498),Ft=0x3e8,It=_0x11fce6(0x380),Vt=_0x11fce6(0x4b2),pt=_0x11fce6(0x201),Wt=_0x11fce6(0x400),Yt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Gt='/universer-api/uniscript';var gt=(_0xa133a8=>(_0xa133a8[_0xa133a8[_0x11fce6(0x3db)]=0x0]=_0x11fce6(0x3db),_0xa133a8[_0xa133a8['OK']=0x1]='OK',_0xa133a8[_0xa133a8[_0x11fce6(0x32c)]=0x2]=_0x11fce6(0x32c),_0xa133a8[_0xa133a8[_0x11fce6(0x3c1)]=0x3]='PERMISSION_DENIED',_0xa133a8[_0xa133a8[_0x11fce6(0x40a)]=0x4]=_0x11fce6(0x40a),_0xa133a8[_0xa133a8[_0x11fce6(0x2dd)]=0x5]=_0x11fce6(0x2dd),_0xa133a8[_0xa133a8[_0x11fce6(0x1ab)]=0x6]=_0x11fce6(0x1ab),_0xa133a8[_0xa133a8[_0x11fce6(0x395)]=0x7]='INVALID_ARGUMENT',_0xa133a8[_0xa133a8[_0x11fce6(0x21d)]=0x8]=_0x11fce6(0x21d),_0xa133a8[_0xa133a8[_0x11fce6(0x1be)]=0x9]=_0x11fce6(0x1be),_0xa133a8[_0xa133a8[_0x11fce6(0x1c0)]=0xa]='LOGIN_FAILED',_0xa133a8[_0xa133a8['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x11fce6(0x479),_0xa133a8[_0xa133a8['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x11fce6(0x1ad),_0xa133a8[_0xa133a8[_0x11fce6(0x224)]=0xd]=_0x11fce6(0x224),_0xa133a8[_0xa133a8[_0x11fce6(0x4f6)]=0xe]=_0x11fce6(0x4f6),_0xa133a8[_0xa133a8['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0xa133a8[_0xa133a8[_0x11fce6(0x4d7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xa133a8[_0xa133a8[_0x11fce6(0x490)]=0x1772]=_0x11fce6(0x490),_0xa133a8[_0xa133a8[_0x11fce6(0x180)]=0x1773]=_0x11fce6(0x180),_0xa133a8[_0xa133a8[_0x11fce6(0x2fb)]=0x1b59]='APPLY_REJECT',_0xa133a8[_0xa133a8[_0x11fce6(0x1e1)]=0x1b5a]=_0x11fce6(0x1e1),_0xa133a8[_0xa133a8[_0x11fce6(0x3d9)]=0x1b5b]=_0x11fce6(0x3d9),_0xa133a8[_0xa133a8[_0x11fce6(0x35a)]=0x1b5c]=_0x11fce6(0x35a),_0xa133a8[_0xa133a8[_0x11fce6(0x179)]=0x1b5d]='APPLY_DUPLICATED',_0xa133a8[_0xa133a8[_0x11fce6(0x361)]=0x1f41]=_0x11fce6(0x361),_0xa133a8[_0xa133a8[_0x11fce6(0x196)]=0x2329]=_0x11fce6(0x196),_0xa133a8[_0xa133a8[_0x11fce6(0x330)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xa133a8[_0xa133a8[_0x11fce6(0x1f9)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xa133a8[_0xa133a8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa133a8[_0xa133a8[_0x11fce6(0x46c)]=0x232d]=_0x11fce6(0x46c),_0xa133a8[_0xa133a8[_0x11fce6(0x2db)]=0x2711]=_0x11fce6(0x2db),_0xa133a8[_0xa133a8[_0x11fce6(0x3ec)]=0x2712]=_0x11fce6(0x3ec),_0xa133a8[_0xa133a8[_0x11fce6(0x20f)]=0x2713]=_0x11fce6(0x20f),_0xa133a8[_0xa133a8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x11fce6(0x38d),_0xa133a8[_0xa133a8[_0x11fce6(0x3d0)]=0x271a]=_0x11fce6(0x3d0),_0xa133a8[_0xa133a8[_0x11fce6(0x291)]=0x271b]=_0x11fce6(0x291),_0xa133a8[_0xa133a8[_0x11fce6(0x212)]=0x271c]=_0x11fce6(0x212),_0xa133a8[_0xa133a8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x11fce6(0x3f6),_0xa133a8[_0xa133a8[_0x11fce6(0x24d)]=0x271e]=_0x11fce6(0x24d),_0xa133a8[_0xa133a8['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0xa133a8[_0xa133a8[_0x11fce6(0x246)]=0x2720]=_0x11fce6(0x246),_0xa133a8[_0xa133a8[_0x11fce6(0x507)]=0x2af9]=_0x11fce6(0x507),_0xa133a8[_0xa133a8[_0x11fce6(0x399)]=0x2ee1]=_0x11fce6(0x399),_0xa133a8[_0xa133a8[_0x11fce6(0x3a6)]=0x2ee2]=_0x11fce6(0x3a6),_0xa133a8[_0xa133a8[_0x11fce6(0x31f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xa133a8[_0xa133a8[_0x11fce6(0x27c)]=0x2ee4]=_0x11fce6(0x27c),_0xa133a8[_0xa133a8[_0x11fce6(0x39d)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xa133a8[_0xa133a8['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x11fce6(0x32e),_0xa133a8[_0xa133a8[_0x11fce6(0x4c9)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xa133a8[_0xa133a8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x11fce6(0x2ec),_0xa133a8[_0xa133a8[_0x11fce6(0x1fa)]=-0x1]=_0x11fce6(0x1fa),_0xa133a8))(gt||{}),J=(_0x2c81f1=>(_0x2c81f1[_0x2c81f1[_0x11fce6(0x477)]=0x0]='UNIVER_UNKNOWN',_0x2c81f1[_0x2c81f1[_0x11fce6(0x45d)]=0x1]=_0x11fce6(0x45d),_0x2c81f1[_0x2c81f1['UNIVER_SHEET']=0x2]=_0x11fce6(0x47d),_0x2c81f1[_0x2c81f1[_0x11fce6(0x426)]=0x3]='UNIVER_SLIDE',_0x2c81f1[_0x2c81f1[_0x11fce6(0x310)]=0x4]=_0x11fce6(0x310),_0x2c81f1[_0x2c81f1[_0x11fce6(0x1fa)]=-0x1]=_0x11fce6(0x1fa),_0x2c81f1))(J||{}),W=(_0x25d694=>(_0x25d694[_0x25d694[_0x11fce6(0x48e)]=0x0]=_0x11fce6(0x48e),_0x25d694[_0x25d694[_0x11fce6(0x4a0)]=0x1]=_0x11fce6(0x4a0),_0x25d694[_0x25d694[_0x11fce6(0x318)]=0x2]=_0x11fce6(0x318),_0x25d694[_0x25d694['LEAVE']=0x3]=_0x11fce6(0x360),_0x25d694[_0x25d694[_0x11fce6(0x447)]=0x4]=_0x11fce6(0x447),_0x25d694[_0x25d694[_0x11fce6(0x414)]=0x5]=_0x11fce6(0x414),_0x25d694[_0x25d694[_0x11fce6(0x319)]=0x6]=_0x11fce6(0x319),_0x25d694[_0x25d694[_0x11fce6(0x1fa)]=-0x1]=_0x11fce6(0x1fa),_0x25d694))(W||{}),oe=(_0x516afd=>(_0x516afd[_0x516afd[_0x11fce6(0x4ed)]=0x0]='UNKNOWN_CODE',_0x516afd[_0x516afd['OK']=0x1]='OK',_0x516afd[_0x516afd[_0x11fce6(0x468)]=0x2]='FAIL',_0x516afd[_0x516afd[_0x11fce6(0x222)]=0x3e9]='JOIN_ROOM_FULL',_0x516afd[_0x516afd['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x11fce6(0x205),_0x516afd[_0x516afd['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x11fce6(0x3e8),_0x516afd[_0x516afd[_0x11fce6(0x248)]=0x3ec]=_0x11fce6(0x248),_0x516afd[_0x516afd[_0x11fce6(0x1fa)]=-0x1]=_0x11fce6(0x1fa),_0x516afd))(oe||{}),Et=(_0x59e581=>(_0x59e581[_0x59e581[_0x11fce6(0x1d7)]=0x0]=_0x11fce6(0x1d7),_0x59e581[_0x59e581[_0x11fce6(0x431)]=0x1]=_0x11fce6(0x431),_0x59e581[_0x59e581[_0x11fce6(0x1e2)]=0x2]='HttpExport',_0x59e581[_0x59e581['UnitEmbedded']=0x3]=_0x11fce6(0x2d9),_0x59e581[_0x59e581[_0x11fce6(0x311)]=0x4]='UnitSnapshot',_0x59e581[_0x59e581[_0x11fce6(0x42b)]=0x5]='UserProfileImg',_0x59e581[_0x59e581[_0x11fce6(0x1fa)]=-0x1]=_0x11fce6(0x1fa),_0x59e581))(Et||{});function _0x450d(_0x5532ed,_0x1cda33){var _0x530a74=_0x530a();return _0x450d=function(_0x450d35,_0x2bfedd){_0x450d35=_0x450d35-0x179;var _0x295542=_0x530a74[_0x450d35];return _0x295542;},_0x450d(_0x5532ed,_0x1cda33);}const G='collaboration-client.config',Kt={};var Z=(_0x2a58ee=>(_0x2a58ee[_0x11fce6(0x38c)]=_0x11fce6(0x38c),_0x2a58ee[_0x11fce6(0x3c1)]='PERMISSION_DENIED',_0x2a58ee[_0x11fce6(0x3e4)]=_0x11fce6(0x3e4),_0x2a58ee['CLOSE_ROOM']='CLOSE_ROOM',_0x2a58ee[_0x11fce6(0x34b)]=_0x11fce6(0x34b),_0x2a58ee['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x2a58ee[_0x11fce6(0x273)]=_0x11fce6(0x273),_0x2a58ee[_0x11fce6(0x1a2)]=_0x11fce6(0x1a2),_0x2a58ee))(Z||{});class ee{constructor(){var _0x18fec1=_0x11fce6;A(this,_0x18fec1(0x300),new $[(_0x18fec1(0x1b8))]()),A(this,_0x18fec1(0x1d0),this[_0x18fec1(0x300)][_0x18fec1(0x241)]());}['emitEvent'](_0x40f9a0){this['_event$']['next'](_0x40f9a0);}}const mt=a[_0x11fce6(0x315)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x106ecd){var _0x905035=_0x11fce6,_0x577c0c,_0x5c788b,_0x4fb3e3,_0x179f97,_0x4eac32;const _0x472d2d=_0x106ecd['data'],_0x506f0f=JSON['parse'](_0x472d2d);switch(_0x506f0f[_0x905035(0x216)]){case W[_0x905035(0x414)]:case W[_0x905035(0x4a0)]:{const _0x781e9d=_0x506f0f['infoRsp'];return{..._0x506f0f,'data':_0x781e9d,'cmd':_0x506f0f[_0x905035(0x216)]};}case W['JOIN']:{const _0x1ef3a6=_0x506f0f[_0x905035(0x2a7)];return{..._0x506f0f,'data':_0x1ef3a6,'cmd':_0x506f0f['cmd']};}case W[_0x905035(0x319)]:{const _0x51537e=_0x506f0f[_0x905035(0x365)];switch(_0x51537e[_0x905035(0x259)]){case p[_0x905035(0x26d)]['PERMISSION_REJ']:return{..._0x506f0f,'data':{..._0x51537e,'data':(_0x577c0c=_0x51537e[_0x905035(0x3b9)])==null?void 0x0:_0x577c0c['cs']},'cmd':_0x506f0f['cmd']};case p[_0x905035(0x26d)][_0x905035(0x1dd)]:return{..._0x506f0f,'data':{..._0x51537e,'data':(_0x5c788b=_0x51537e[_0x905035(0x1b1)])==null?void 0x0:_0x5c788b['cs']},'cmd':_0x506f0f[_0x905035(0x216)]};case p['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x506f0f,'data':{..._0x51537e,'data':(_0x4fb3e3=_0x51537e[_0x905035(0x3f3)])==null?void 0x0:_0x4fb3e3['cs']},'cmd':_0x506f0f['cmd']};case p[_0x905035(0x26d)]['CHANGESET_REJ']:return{..._0x506f0f,'data':{..._0x51537e,'data':(_0x179f97=_0x51537e['csRejEvent'])==null?void 0x0:_0x179f97['cs']},'cmd':_0x506f0f['cmd']};case p[_0x905035(0x26d)][_0x905035(0x4a5)]:return{..._0x506f0f,'data':{..._0x51537e,'data':(_0x4eac32=_0x51537e[_0x905035(0x406)])==null?void 0x0:_0x4eac32['cs']},'cmd':_0x506f0f['cmd']};case p['CollaborationEvent'][_0x905035(0x220)]:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e['updateCursorEvent']},'cmd':_0x506f0f[_0x905035(0x216)]};case p[_0x905035(0x26d)][_0x905035(0x44e)]:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e[_0x905035(0x415)]},'cmd':_0x506f0f[_0x905035(0x216)]};case p[_0x905035(0x26d)]['USERS_LEAVE']:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e['leaveEvent']},'cmd':_0x506f0f[_0x905035(0x216)]};case p[_0x905035(0x26d)]['LIVESHARE_NEW_HOST']:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e[_0x905035(0x18f)]},'cmd':_0x506f0f[_0x905035(0x216)]};case p[_0x905035(0x26d)][_0x905035(0x344)]:case p[_0x905035(0x26d)][_0x905035(0x41e)]:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e[_0x905035(0x4b5)]},'cmd':_0x506f0f[_0x905035(0x216)]};case p[_0x905035(0x26d)]['LIVESHARE_TERMINATE']:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e[_0x905035(0x18f)]},'cmd':_0x506f0f[_0x905035(0x216)]};case p[_0x905035(0x26d)]['MSG_FOR_ERROR']:return{..._0x506f0f,'data':_0x51537e,'cmd':_0x506f0f[_0x905035(0x216)]};case p[_0x905035(0x26d)][_0x905035(0x1f5)]:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e[_0x905035(0x4eb)]},'cmd':_0x506f0f[_0x905035(0x216)]};case p['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e[_0x905035(0x2d5)]},'cmd':_0x506f0f[_0x905035(0x216)]};case p[_0x905035(0x26d)][_0x905035(0x1c5)]:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e[_0x905035(0x37e)]},'cmd':_0x506f0f[_0x905035(0x216)]};case p[_0x905035(0x26d)]['UNISCRIPT_RUN']:return{..._0x506f0f,'data':{..._0x51537e,'data':_0x51537e['uniscriptRunEvent']},'cmd':_0x506f0f['cmd']};default:return _0x506f0f;}}default:return _0x506f0f;}}function Tt(_0x46e581){var _0x467ce2=_0x11fce6;switch(_0x46e581[_0x467ce2(0x216)]){case W[_0x467ce2(0x414)]:case W[_0x467ce2(0x4a0)]:return JSON[_0x467ce2(0x4cc)]({'cmd':_0x46e581[_0x467ce2(0x216)],'routeKey':_0x46e581[_0x467ce2(0x17f)]});case W['INGEST']:{let _0x144b0a;switch(_0x46e581['data'][_0x467ce2(0x259)]){case p[_0x467ce2(0x26d)][_0x467ce2(0x220)]:{_0x144b0a={'eventID':p[_0x467ce2(0x26d)]['UPDATE_CURSOR'],'updateCursorEvent':_0x46e581[_0x467ce2(0x4f9)]['data']};break;}case p[_0x467ce2(0x26d)][_0x467ce2(0x1d4)]:{_0x144b0a={'eventID':p['CollaborationEvent'][_0x467ce2(0x1d4)],'leaveEvent':_0x46e581[_0x467ce2(0x4f9)][_0x467ce2(0x4f9)]};break;}case p[_0x467ce2(0x26d)]['USERS_ENTER']:{_0x144b0a={'eventID':p[_0x467ce2(0x26d)][_0x467ce2(0x44e)],'joinEvent':_0x46e581[_0x467ce2(0x4f9)]['data']};break;}case p['CollaborationEvent'][_0x467ce2(0x1ac)]:{_0x144b0a={'eventID':p[_0x467ce2(0x26d)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x46e581[_0x467ce2(0x4f9)][_0x467ce2(0x4f9)]};break;}case p[_0x467ce2(0x26d)]['LIVESHARE_OPERATION']:{_0x144b0a={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x46e581[_0x467ce2(0x4f9)][_0x467ce2(0x4f9)]};break;}case p['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x144b0a={'eventID':p[_0x467ce2(0x26d)][_0x467ce2(0x2d6)],'liveShareTerminate':_0x46e581[_0x467ce2(0x4f9)][_0x467ce2(0x4f9)]};break;}case p['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x144b0a={'eventID':p['CollaborationEvent'][_0x467ce2(0x236)],'liveShareRequestHost':_0x46e581[_0x467ce2(0x4f9)]['data']};break;}case p[_0x467ce2(0x26d)][_0x467ce2(0x344)]:{_0x144b0a={'eventID':p[_0x467ce2(0x26d)][_0x467ce2(0x344)]};break;}default:_0x144b0a={'eventID':_0x46e581[_0x467ce2(0x4f9)]['eventID']};}return JSON[_0x467ce2(0x4cc)]({'cmd':_0x46e581[_0x467ce2(0x216)],'routeKey':_0x46e581[_0x467ce2(0x17f)],'collaMsg':_0x144b0a});}case W[_0x467ce2(0x318)]:return JSON[_0x467ce2(0x4cc)]({'cmd':_0x46e581['cmd'],'routeKey':_0x46e581[_0x467ce2(0x17f)],'joinReq':_0x46e581[_0x467ce2(0x4f9)]});case W[_0x467ce2(0x360)]:return JSON['stringify']({'cmd':_0x46e581[_0x467ce2(0x216)],'routeKey':_0x46e581[_0x467ce2(0x17f)],'leaveReq':_0x46e581['data']});default:throw new Error(_0x467ce2(0x3d5));}}var qt=Object[_0x11fce6(0x394)],zt=(_0x3b87ac,_0x289e2,_0x1a5fef,_0x41fce5)=>{var _0x419ded=_0x11fce6;for(var _0x1029e3=_0x41fce5>0x1?void 0x0:_0x41fce5?qt(_0x289e2,_0x1a5fef):_0x289e2,_0x1d4781=_0x3b87ac[_0x419ded(0x373)]-0x1,_0x4a4879;_0x1d4781>=0x0;_0x1d4781--)(_0x4a4879=_0x3b87ac[_0x1d4781])&&(_0x1029e3=_0x4a4879(_0x1029e3)||_0x1029e3);return _0x1029e3;},_e=(_0x1938af,_0x292cac)=>(_0x373940,_0x233574)=>_0x292cac(_0x373940,_0x233574,_0x1938af);const He=a[_0x11fce6(0x315)](_0x11fce6(0x2b0));function Jt(_0x39a610,_0x25a581,_0x13b0c1){var _0x5d1f4f=_0x11fce6;return _0x39a610+'/'+_0x25a581+_0x5d1f4f(0x472)+_0x13b0c1+_0x5d1f4f(0x420);}exports[_0x11fce6(0x368)]=class extends a['Disposable']{constructor(_0x27dc8e,_0x4ca003,_0x596d20,_0x32bfb3,_0x26d30e){var _0x6fb7ae=_0x11fce6;super(),this[_0x6fb7ae(0x2cc)]=_0x27dc8e,this['_httpService']=_0x4ca003,this[_0x6fb7ae(0x4e8)]=_0x596d20,this['_logService']=_0x32bfb3,this[_0x6fb7ae(0x289)]=_0x26d30e;}[_0x11fce6(0x3ff)](_0x5019ff){var _0x132738=_0x11fce6;const _0x5c368e=this['_injector'][_0x132738(0x19d)](K[_0x132738(0x3a3)]);if(!_0x5c368e)throw new Error(_0x132738(0x290));const _0x369b23=_0x5c368e[_0x132738(0x3ce)](_0x5019ff);if(!_0x369b23)throw new Error(_0x132738(0x503));const _0x622315=new a[(_0x132738(0x1e8))](),_0xebad65=new $['Subject']();_0x622315[_0x132738(0x4df)](_0x369b23['close$'][_0x132738(0x1f7)](_0x2805db=>_0xebad65[_0x132738(0x1a9)](_0x2805db))),_0x622315[_0x132738(0x4df)](a[_0x132738(0x29f)](()=>_0xebad65[_0x132738(0x1de)]()));const _0x29c475=new $['Subject']();_0x622315[_0x132738(0x4df)](_0x369b23[_0x132738(0x43f)][_0x132738(0x1f7)](_0x426c0c=>_0x29c475[_0x132738(0x1a9)](_0x426c0c))),_0x622315[_0x132738(0x4df)](a[_0x132738(0x29f)](()=>_0x29c475[_0x132738(0x1de)]()));const _0x3322f3=new $[(_0x132738(0x1b8))]();_0x622315[_0x132738(0x4df)](_0x369b23[_0x132738(0x390)][_0x132738(0x1f7)](_0x4c46ec=>{const _0x31a7d1=Ct(_0x4c46ec);_0x3322f3['next'](_0x31a7d1);})),_0x622315[_0x132738(0x4df)](a['toDisposable'](()=>_0x3322f3[_0x132738(0x1de)]()));let _0x36782b;const _0x5dcad4=()=>{var _0x311e36=_0x132738;_0x29c475[_0x311e36(0x1a9)](new Event(_0x311e36(0x4ee))),_0xebad65['next'](new Event(_0x311e36(0x4ee))),_0x36782b[_0x311e36(0x3b2)]();};return _0x36782b={'memberID':'','close$':_0xebad65[_0x132738(0x241)](),'error$':_0x29c475[_0x132738(0x241)](),'open$':_0x369b23['open$'],'message$':_0x3322f3[_0x132738(0x241)](),'send':_0x35aea9=>{var _0x2bb5be=_0x132738;if(_0x35aea9[_0x2bb5be(0x216)]===W[_0x2bb5be(0x447)]){if(_0x35aea9[_0x2bb5be(0x4f9)][_0x2bb5be(0x259)]===p['CollaborationEvent'][_0x2bb5be(0x47c)]){this['_submitChangeset'](_0x36782b,_0x35aea9[_0x2bb5be(0x4f9)])[_0x2bb5be(0x23d)](_0x372f45=>{var _0x27c9d9=_0x2bb5be;this['_logService'][_0x27c9d9(0x26f)](_0x372f45),_0x5dcad4();});return;}if(_0x35aea9['data'][_0x2bb5be(0x259)]===p[_0x2bb5be(0x26d)][_0x2bb5be(0x37b)]){const _0x105f58=_0x35aea9[_0x2bb5be(0x4f9)];this[_0x2bb5be(0x1f6)](_0x105f58)[_0x2bb5be(0x323)](_0x14c7f9=>{var _0x3a2a66=_0x2bb5be;_0x3322f3[_0x3a2a66(0x1a9)]({'cmd':W[_0x3a2a66(0x319)],'code':oe['OK'],'routeKey':_0x105f58['data'][_0x3a2a66(0x4c8)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x3a2a66(0x307)],'data':{'changesets':_0x14c7f9}}});})[_0x2bb5be(0x23d)](_0x5b1749=>{var _0x56d679=_0x2bb5be;this['_logService'][_0x56d679(0x26f)](_0x5b1749),_0x5dcad4();});return;}}_0x369b23['send'](Tt(_0x35aea9));},'close':()=>{var _0x37f557=_0x132738;_0x369b23[_0x37f557(0x3b2)](),_0x622315[_0x37f557(0x22e)]();}},_0x36782b;}async[_0x11fce6(0x19c)](_0x2f92a4,_0x2d861e){var _0x357e82=_0x11fce6,_0x3bcd08,_0x1663c2;const {unitType:_0x36b385,unitID:_0x23f103,changeset:_0xce075b}=_0x2d861e[_0x357e82(0x4f9)],_0x289a85={'unitID':_0x23f103,'memberID':_0x2f92a4[_0x357e82(0x4b0)],'type':_0x36b385,'changeset':p[_0x357e82(0x320)](_0xce075b)},_0x4ed3e6=this[_0x357e82(0x4e8)][_0x357e82(0x348)](It),_0xaf8bbe=this['_configService'][_0x357e82(0x348)](G),_0x15d796=Jt((_0x1663c2=(_0x3bcd08=_0xaf8bbe==null?void 0x0:_0xaf8bbe[_0x357e82(0x4da)])!=null?_0x3bcd08:_0x4ed3e6)!=null?_0x1663c2:Vt,_0x36b385,_0x23f103);try{await this[_0x357e82(0x2e7)][_0x357e82(0x1b0)](_0x15d796,{'body':_0x289a85});}catch(_0x42d194){throw this['_logService'][_0x357e82(0x26f)](_0x357e82(0x313),_0x357e82(0x240)),_0x42d194;}}async[_0x11fce6(0x1f6)](_0x2a8fa7){var _0x3202fc=_0x11fce6;const {unitID:_0x5ae109,from:_0x4a48e8,to:_0x6ad6d9,unitType:_0x20cd8b}=_0x2a8fa7[_0x3202fc(0x4f9)];return(await this['_snapshotServerService'][_0x3202fc(0x325)]({'metadata':void 0x0},{'unitID':_0x5ae109,'type':_0x20cd8b,'from':_0x4a48e8,'to':_0x6ad6d9}))[_0x3202fc(0x2a9)];}},exports[_0x11fce6(0x368)]=zt([_e(0x0,a['Inject'](a[_0x11fce6(0x187)])),_e(0x1,a[_0x11fce6(0x455)](K[_0x11fce6(0x3ee)])),_e(0x2,a[_0x11fce6(0x34f)]),_e(0x3,a[_0x11fce6(0x383)]),_e(0x4,p[_0x11fce6(0x3c9)])],exports[_0x11fce6(0x368)]);const Xt=_0x11fce6(0x28c);function Zt(_0x3b32da){var _0xe9be92=_0x11fce6;return JSON[_0xe9be92(0x4cc)](_0x3b32da)['length'];}class $e{constructor(){var _0x3d591c=_0x11fce6;A(this,_0x3d591c(0x1a4),new $[(_0x3d591c(0x1b8))]()),A(this,'commentUpdate$',this[_0x3d591c(0x1a4)][_0x3d591c(0x241)]());}[_0x11fce6(0x489)](_0x1aa31e){this['_commentUpdate$']['next'](_0x1aa31e);}}var Qt=Object[_0x11fce6(0x394)],ei=(_0x419144,_0x343a35,_0x21a49c,_0x51092b)=>{var _0x4a76cd=_0x11fce6;for(var _0x3f35c8=_0x51092b>0x1?void 0x0:_0x51092b?Qt(_0x343a35,_0x21a49c):_0x343a35,_0x4e8955=_0x419144[_0x4a76cd(0x373)]-0x1,_0x5851b9;_0x4e8955>=0x0;_0x4e8955--)(_0x5851b9=_0x419144[_0x4e8955])&&(_0x3f35c8=_0x5851b9(_0x3f35c8)||_0x3f35c8);return _0x3f35c8;},We=(_0x54f43a,_0x285e25)=>(_0x214d3b,_0x2f28b9)=>_0x285e25(_0x214d3b,_0x2f28b9,_0x54f43a);exports[_0x11fce6(0x352)]=class extends a[_0x11fce6(0x26a)]{constructor(_0xcfeb9a,_0x175de9){var _0x4674d3=_0x11fce6;super(),A(this,_0x4674d3(0x21e),new Map()),A(this,_0x4674d3(0x28d),new $[(_0x4674d3(0x1b8))]()),(this[_0x4674d3(0x2b3)]=_0xcfeb9a,this[_0x4674d3(0x2e5)]=_0x175de9,this['disposeWithMe']($[_0x4674d3(0x1d8)](this[_0x4674d3(0x2b3)]['getTypeOfUnitDisposed$'](a[_0x4674d3(0x408)][_0x4674d3(0x47d)])[_0x4674d3(0x18e)](V[_0x4674d3(0x42a)](_0x3e0c43=>_0x3e0c43[_0x4674d3(0x23f)]())),this[_0x4674d3(0x2b3)][_0x4674d3(0x4db)](a['UniverInstanceType']['UNIVER_DOC'])[_0x4674d3(0x18e)](V['map'](_0x41d636=>_0x41d636[_0x4674d3(0x23f)]())),this[_0x4674d3(0x2b3)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x4674d3(0x426)])[_0x4674d3(0x18e)](V['map'](_0x2ab15e=>_0x2ab15e['getUnitId']())))['subscribe'](_0x408fca=>this[_0x4674d3(0x4d6)](_0x408fca))));}['waitForRoom$'](_0x35bb8b){var _0x238baf=_0x11fce6;return this['_roomMembers'][_0x238baf(0x23b)](_0x35bb8b)?$['of'](this[_0x238baf(0x21e)][_0x238baf(0x19d)](_0x35bb8b)):this[_0x238baf(0x28d)][_0x238baf(0x18e)](V['map'](_0x509bc7=>{var _0x2a8330=_0x238baf;if(_0x509bc7===_0x35bb8b)return this[_0x2a8330(0x21e)]['get'](_0x509bc7);}));}[_0x11fce6(0x1b4)](_0x45cb35){var _0x5f51da=_0x11fce6;this[_0x5f51da(0x2e5)]['setCurrentUser'](_0x45cb35);}['getCurrentUser'](){var _0x464efd=_0x11fce6;return this[_0x464efd(0x2e5)]['getCurrentUser']();}['updateMember'](_0x11898e,_0x3c02c2){var _0x382a9f=_0x11fce6;let _0x203edb=this['_roomMembers'][_0x382a9f(0x19d)](_0x11898e);_0x203edb||(_0x203edb=new ti(),this['_roomMembers'][_0x382a9f(0x219)](_0x11898e,_0x203edb),this[_0x382a9f(0x28d)]['next'](_0x11898e)),_0x203edb['updateMember'](_0x3c02c2);}[_0x11fce6(0x36f)](_0x59bfac,_0x11db1a){var _0x41986c=_0x11fce6;const _0x47ba89=this['_roomMembers']['get'](_0x59bfac);_0x47ba89&&_0x47ba89[_0x41986c(0x36f)](_0x11db1a);}[_0x11fce6(0x2d8)](_0x58a341){var _0x1714d0=_0x11fce6;return this[_0x1714d0(0x21e)][_0x1714d0(0x19d)](_0x58a341);}['getMember'](_0xf75306,_0x385833){var _0xe95524=_0x11fce6;const _0xf85e11=this[_0xe95524(0x21e)][_0xe95524(0x19d)](_0xf75306);if(_0xf85e11)return _0xf85e11[_0xe95524(0x35b)](_0x385833);}[_0x11fce6(0x4d6)](_0x16ebb3){var _0x475d36=_0x11fce6;const _0x23d56d=this[_0x475d36(0x21e)][_0x475d36(0x19d)](_0x16ebb3);_0x23d56d&&(_0x23d56d[_0x475d36(0x22e)](),this[_0x475d36(0x21e)][_0x475d36(0x38e)](_0x16ebb3));}[_0x11fce6(0x22e)](){var _0x53a875=_0x11fce6;this['_roomMembers'][_0x53a875(0x485)](_0xcdd1c9=>_0xcdd1c9['dispose']()),this[_0x53a875(0x21e)][_0x53a875(0x1c9)](),this[_0x53a875(0x28d)][_0x53a875(0x1de)]();}},exports[_0x11fce6(0x352)]=ei([We(0x0,a[_0x11fce6(0x270)]),We(0x1,a['Inject'](a[_0x11fce6(0x3f8)]))],exports[_0x11fce6(0x352)]);class ti extends a[_0x11fce6(0x26a)]{constructor(){var _0x46aa34=_0x11fce6;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new $['BehaviorSubject'](this['_members'])),A(this,_0x46aa34(0x1d9),this['_members$'][_0x46aa34(0x241)]());}[_0x11fce6(0x22e)](){this['_members']['clear']();}[_0x11fce6(0x443)](_0x29988a){var _0xff6f55=_0x11fce6;this[_0xff6f55(0x40f)]['set'](_0x29988a[_0xff6f55(0x4b0)],_0x29988a),this[_0xff6f55(0x2ae)]();}[_0x11fce6(0x36f)](_0x175a73){var _0x326e62=_0x11fce6;this[_0x326e62(0x40f)][_0x326e62(0x38e)](_0x175a73);}[_0x11fce6(0x35b)](_0x5139a2){var _0x12084b=_0x11fce6;return this['_members'][_0x12084b(0x19d)](_0x5139a2);}[_0x11fce6(0x267)](){var _0x2859c8=_0x11fce6;return Array[_0x2859c8(0x29e)](this[_0x2859c8(0x40f)][_0x2859c8(0x192)]());}[_0x11fce6(0x2ae)](){var _0x4f264f=_0x11fce6;this['_members$'][_0x4f264f(0x1a9)](this['_members']);}}var ii=Object[_0x11fce6(0x394)],ni=(_0x502111,_0x28bbf3,_0x41381b,_0x2f2d82)=>{var _0x4ce117=_0x11fce6;for(var _0x13372f=_0x2f2d82>0x1?void 0x0:_0x2f2d82?ii(_0x28bbf3,_0x41381b):_0x28bbf3,_0x1dc8c6=_0x502111[_0x4ce117(0x373)]-0x1,_0x367d58;_0x1dc8c6>=0x0;_0x1dc8c6--)(_0x367d58=_0x502111[_0x1dc8c6])&&(_0x13372f=_0x367d58(_0x13372f)||_0x13372f);return _0x13372f;},se=(_0x3ebbc2,_0x4af7bf)=>(_0x4af4d5,_0x2f1d32)=>_0x4af7bf(_0x4af4d5,_0x2f1d32,_0x3ebbc2),re=(_0x43cbc9=>(_0x43cbc9[_0x43cbc9[_0x11fce6(0x4b9)]=0x0]=_0x11fce6(0x4b9),_0x43cbc9[_0x43cbc9[_0x11fce6(0x2be)]=0x1]=_0x11fce6(0x2be),_0x43cbc9[_0x43cbc9['OFFLINE']=0x2]=_0x11fce6(0x2fe),_0x43cbc9[_0x43cbc9[_0x11fce6(0x378)]=0x3]=_0x11fce6(0x378),_0x43cbc9))(re||{});const Ye={[oe[_0x11fce6(0x468)]]:_0x11fce6(0x359),[oe[_0x11fce6(0x222)]]:_0x11fce6(0x42c),[oe[_0x11fce6(0x205)]]:_0x11fce6(0x213),[oe['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[oe[_0x11fce6(0x248)]]:_0x11fce6(0x4cb)};exports[_0x11fce6(0x181)]=class extends a[_0x11fce6(0x29a)]{constructor(_0x1e069c,_0x5a7d0b,_0x290a32,_0x247dc6,_0x9ea1bc,_0x397ef6,_0x3d03cf,_0x1c08fa,_0xc6dcf2){var _0x5bd684=_0x11fce6;super(),A(this,_0x5bd684(0x429),new $['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x5bd684(0x429)][_0x5bd684(0x241)]()),A(this,_0x5bd684(0x300),new $['Subject']()),A(this,_0x5bd684(0x1d0),this[_0x5bd684(0x300)]['asObservable']()),A(this,'_socket'),A(this,_0x5bd684(0x19a)),A(this,_0x5bd684(0x232)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x5bd684(0x4a6),null),(this['_unitID']=_0x1e069c,this[_0x5bd684(0x2a4)]=_0x290a32,this[_0x5bd684(0x4e8)]=_0x247dc6,this['_localeService']=_0x9ea1bc,this[_0x5bd684(0x32b)]=_0x397ef6,this[_0x5bd684(0x342)]=_0x3d03cf,this[_0x5bd684(0x41f)]=_0x1c08fa,this[_0x5bd684(0x28f)]=_0xc6dcf2,this[_0x5bd684(0x251)]=!!this[_0x5bd684(0x28f)],_0x5a7d0b['pipe']($[_0x5bd684(0x3b4)](this[_0x5bd684(0x382)]))[_0x5bd684(0x1f7)](_0x3e301d=>{var _0x1fa764=_0x5bd684,_0x352db2;typeof _0x3e301d>'u'||(this[_0x1fa764(0x386)]=_0x3e301d,_0x3e301d?(this['_joinRoom'](_0x3e301d),this[_0x1fa764(0x19a)]=_0x3e301d[_0x1fa764(0x390)][_0x1fa764(0x1f7)](_0x1b440c=>{var _0x1c58d4=_0x1fa764;_0x1b440c[_0x1c58d4(0x17f)]===this[_0x1c58d4(0x252)]&&this[_0x1c58d4(0x483)](_0x1b440c);})):(this[_0x1fa764(0x3fa)](),this[_0x1fa764(0x429)][_0x1fa764(0x1a9)](0x2),(_0x352db2=this['_socketMessageSubscription'])==null||_0x352db2['unsubscribe'](),this[_0x1fa764(0x19a)]=null));}));}get['sessionStatus'](){var _0x488e86=_0x11fce6;return this[_0x488e86(0x429)][_0x488e86(0x2b1)]();}[_0x11fce6(0x227)](){var _0x1ca639=_0x11fce6,_0x2d5a50,_0x3b9e6e;return(_0x3b9e6e=(_0x2d5a50=this[_0x1ca639(0x386)])==null?void 0x0:_0x2d5a50[_0x1ca639(0x4b0)])!=null?_0x3b9e6e:null;}[_0x11fce6(0x22e)](){var _0x30ad76=_0x11fce6;super[_0x30ad76(0x22e)](),this[_0x30ad76(0x382)]['next'](),this[_0x30ad76(0x382)]['complete']();}[_0x11fce6(0x3b2)](){var _0x7a7432=_0x11fce6,_0x37b312,_0xa9eb;this[_0x7a7432(0x3fa)](),(_0x37b312=this['_socket'])==null||_0x37b312[_0x7a7432(0x4b1)]({'cmd':W[_0x7a7432(0x360)],'data':{'roomID':this['_unitID']}}),(_0xa9eb=this[_0x7a7432(0x386)])==null||_0xa9eb['close'](),this[_0x7a7432(0x300)][_0x7a7432(0x1de)](),this[_0x7a7432(0x429)][_0x7a7432(0x1de)](),this['dispose']();}[_0x11fce6(0x483)](_0x2788d3){var _0x45abb9=_0x11fce6;_0x2788d3['cmd']===W[_0x45abb9(0x318)]?this[_0x45abb9(0x423)](_0x2788d3):_0x2788d3[_0x45abb9(0x216)]===W[_0x45abb9(0x319)]&&this[_0x45abb9(0x3b6)](_0x2788d3);}['_joinRoom'](_0x5bb3a6){var _0xdc2a1d=_0x11fce6;this['_sessionStatus$'][_0xdc2a1d(0x1a9)](0x1),_0x5bb3a6[_0xdc2a1d(0x4b1)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xdc2a1d(0x252)]}]}});}[_0x11fce6(0x423)](_0x6112d0){var _0x5d26ff=_0x11fce6,_0x33af42;if(_0x6112d0[_0x5d26ff(0x39a)]in Ye){this[_0x5d26ff(0x41f)][_0x5d26ff(0x19f)]({'id':Z[_0x5d26ff(0x34b)],'data':Ye[_0x6112d0['code']]}),this[_0x5d26ff(0x429)][_0x5d26ff(0x1a9)](0x2);return;}this[_0x5d26ff(0x429)][_0x5d26ff(0x1a9)](0x3);const _0x2fd78f=(_0x33af42=_0x6112d0[_0x5d26ff(0x4f9)][_0x5d26ff(0x509)][this['_unitID']])==null?void 0x0:_0x33af42[_0x5d26ff(0x3eb)];_0x2fd78f&&_0x2fd78f['forEach'](_0x274631=>this[_0x5d26ff(0x32b)]['updateMember'](this['_unitID'],_0x274631));}[_0x11fce6(0x3b6)](_0x56d12c){var _0x2a570c=_0x11fce6;try{const _0x1e204e=_0x56d12c[_0x2a570c(0x4f9)];switch(_0x1e204e[_0x2a570c(0x259)]){case p[_0x2a570c(0x26d)]['USERS_ENTER']:this['_onUserJoin'](_0x1e204e),this[_0x2a570c(0x300)][_0x2a570c(0x1a9)](_0x1e204e);break;case p[_0x2a570c(0x26d)][_0x2a570c(0x1d4)]:this[_0x2a570c(0x1eb)](_0x1e204e),this[_0x2a570c(0x300)][_0x2a570c(0x1a9)](_0x1e204e);break;case p['CollaborationEvent'][_0x2a570c(0x1dd)]:case p[_0x2a570c(0x26d)][_0x2a570c(0x4a5)]:this[_0x2a570c(0x504)](),this[_0x2a570c(0x3cb)](),this['_event$'][_0x2a570c(0x1a9)](_0x1e204e);break;case p[_0x2a570c(0x26d)][_0x2a570c(0x316)]:this[_0x2a570c(0x2a4)][_0x2a570c(0x26f)](_0x2a570c(0x3b1)+JSON['stringify'](_0x1e204e)),this[_0x2a570c(0x300)][_0x2a570c(0x1a9)](_0x1e204e);break;case p['CollaborationEvent'][_0x2a570c(0x1f5)]:this['_commentService'][_0x2a570c(0x489)](_0x1e204e[_0x2a570c(0x4f9)]),this[_0x2a570c(0x300)][_0x2a570c(0x1a9)](_0x1e204e);break;default:this[_0x2a570c(0x300)]['next'](_0x1e204e);}}catch(_0xaedbee){this[_0x2a570c(0x2a4)][_0x2a570c(0x26f)](_0xaedbee,_0x56d12c);}}['_onUserJoin'](_0x5bc2c8){var _0x4cabfa=_0x11fce6;this[_0x4cabfa(0x32b)][_0x4cabfa(0x443)](this[_0x4cabfa(0x252)],_0x5bc2c8[_0x4cabfa(0x4f9)]);}[_0x11fce6(0x1eb)](_0x1d7686){var _0x3221e6=_0x11fce6;this[_0x3221e6(0x32b)][_0x3221e6(0x36f)](this['_unitID'],_0x1d7686['data'][_0x3221e6(0x4b0)]);}async['send'](_0x26c086,_0x319b94){var _0x1314a0=_0x11fce6;if(this[_0x1314a0(0x2c9)]!==0x3||!this['_socket'])throw new Error(_0x1314a0(0x367));try{_0x26c086[_0x1314a0(0x259)]===p[_0x1314a0(0x26d)][_0x1314a0(0x47c)]&&(this[_0x1314a0(0x460)](),this[_0x1314a0(0x403)](_0x26c086)),this[_0x1314a0(0x386)]['send']({'cmd':W[_0x1314a0(0x447)],'routeKey':_0x319b94,'routeType':'','data':_0x26c086});}catch(_0x3a68c1){this['_logService'][_0x1314a0(0x26f)](_0x3a68c1);}}[_0x11fce6(0x460)](){var _0x32da62=_0x11fce6,_0x4585bd;this[_0x32da62(0x232)]=setTimeout(()=>{var _0x56ba6b=_0x32da62;this[_0x56ba6b(0x232)]=null,this[_0x56ba6b(0x41f)]['emitEvent']({'id':Z[_0x56ba6b(0x1a2)]});},(_0x4585bd=this[_0x32da62(0x4e8)][_0x32da62(0x348)](ke))!=null?_0x4585bd:St);}['_clearCollaborationTimeoutTimer'](){var _0x59fc92=_0x11fce6;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x59fc92(0x232)]),this[_0x59fc92(0x232)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4e6ff4){var _0x1ad7a4=_0x11fce6;if(!this[_0x1ad7a4(0x251)])return;const {data:_0x336a35}=_0x4e6ff4,{unitID:_0x260c1f,changeset:_0x399361}=_0x336a35,{mutations:_0x3d9461,type:_0x262f8c}=_0x399361;this[_0x1ad7a4(0x4a6)]={'unitId':_0x260c1f,'type':_0x262f8c,'startTime':performance[_0x1ad7a4(0x499)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x3d9461)};}[_0x11fce6(0x504)](){var _0x38463a=_0x11fce6;if(this[_0x38463a(0x251)]){if(!this['_telemetryInfo']){this['_logService'][_0x38463a(0x26f)]('[CollaborationSession]',_0x38463a(0x35f));return;}this[_0x38463a(0x4a6)][_0x38463a(0x4f4)]=performance['now'](),this['_telemetryInfo'][_0x38463a(0x505)]=this['_telemetryInfo'][_0x38463a(0x4f4)]-this['_telemetryInfo'][_0x38463a(0x393)],this[_0x38463a(0x28f)]['capture'](Xt,this[_0x38463a(0x4a6)]),this[_0x38463a(0x4a6)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0x11fce6(0x383)]),se(0x3,a[_0x11fce6(0x34f)]),se(0x4,a[_0x11fce6(0x455)](a[_0x11fce6(0x2ce)])),se(0x5,a[_0x11fce6(0x455)](exports['MemberService'])),se(0x6,a[_0x11fce6(0x455)]($e)),se(0x7,a[_0x11fce6(0x455)](ee)),se(0x8,a[_0x11fce6(0x37f)](Pt['ITelemetryService']))],exports[_0x11fce6(0x181)]);var ri=Object[_0x11fce6(0x394)],si=(_0x20ec4b,_0x4e93b0,_0xc8df7d,_0x99e94c)=>{var _0x32f110=_0x11fce6;for(var _0x2236ce=_0x99e94c>0x1?void 0x0:_0x99e94c?ri(_0x4e93b0,_0xc8df7d):_0x4e93b0,_0x630c91=_0x20ec4b[_0x32f110(0x373)]-0x1,_0x368af9;_0x630c91>=0x0;_0x630c91--)(_0x368af9=_0x20ec4b[_0x630c91])&&(_0x2236ce=_0x368af9(_0x2236ce)||_0x2236ce);return _0x2236ce;},he=(_0x321b6c,_0x16b2f1)=>(_0xebe369,_0x223061)=>_0x16b2f1(_0xebe369,_0x223061,_0x321b6c);exports[_0x11fce6(0x3a0)]=class extends a[_0x11fce6(0x26a)]{constructor(_0x3d55db,_0x2bcb5a,_0x23c743,_0x17d4a2,_0x310f04,_0x4232c3){var _0x17d6c0=_0x11fce6;super(),A(this,_0x17d6c0(0x50a),new $[(_0x17d6c0(0x294))](void 0x0)),A(this,'socket$',this['_socket$']['asObservable']()),A(this,_0x17d6c0(0x1e7),null),A(this,_0x17d6c0(0x434),new Map()),A(this,_0x17d6c0(0x191),new $[(_0x17d6c0(0x294))](re[_0x17d6c0(0x4b9)])),A(this,'status$',this[_0x17d6c0(0x191)]['asObservable']()),A(this,_0x17d6c0(0x31a),!0x1),A(this,_0x17d6c0(0x4ea)),A(this,_0x17d6c0(0x21a),0x0),A(this,_0x17d6c0(0x4c2)),A(this,_0x17d6c0(0x33a)),(this[_0x17d6c0(0x2cc)]=_0x3d55db,this[_0x17d6c0(0x2a4)]=_0x2bcb5a,this['_configService']=_0x23c743,this[_0x17d6c0(0x48c)]=_0x17d4a2,this['_collaborationUIEventService']=_0x310f04,this['_networkConditionService']=_0x4232c3,this[_0x17d6c0(0x1c1)]());}get[_0x11fce6(0x386)](){var _0x9860a2=_0x11fce6;return this[_0x9860a2(0x50a)][_0x9860a2(0x2b1)]();}[_0x11fce6(0x1c1)](){var _0x4b10f3=_0x11fce6;this['_networkConditionService']&&this['disposeWithMe'](this[_0x4b10f3(0x1c6)]['online$'][_0x4b10f3(0x1f7)](_0x51c417=>{var _0x5c0176=_0x4b10f3;_0x51c417&&!this[_0x5c0176(0x386)]&&this[_0x5c0176(0x3e2)](),_0x51c417||this[_0x5c0176(0x198)]();}));}[_0x11fce6(0x22e)](){var _0x307eb0=_0x11fce6;super['dispose'](),this[_0x307eb0(0x281)](),this['_clearTimeoutTimer'](),this[_0x307eb0(0x419)](),this[_0x307eb0(0x434)]['forEach'](_0x4bf928=>_0x4bf928[_0x307eb0(0x22e)]()),this['_sessions']['clear'](),this['_status$'][_0x307eb0(0x1de)]();}async[_0x11fce6(0x4a8)](_0x214db7){var _0x209102=_0x11fce6;if(this['_sessions'][_0x209102(0x23b)](_0x214db7))return this[_0x209102(0x434)][_0x209102(0x19d)](_0x214db7);this[_0x209102(0x329)]();const _0x58e873=this[_0x209102(0x2cc)][_0x209102(0x502)](exports[_0x209102(0x181)],_0x214db7,this[_0x209102(0x50a)][_0x209102(0x241)]());return this[_0x209102(0x434)]['set'](_0x214db7,_0x58e873),_0x58e873;}[_0x11fce6(0x337)](_0x4fc13b){var _0x1e6f4a=_0x11fce6,_0x45db76;const _0x31b36d=this[_0x1e6f4a(0x434)][_0x1e6f4a(0x19d)](_0x4fc13b);_0x31b36d&&(this[_0x1e6f4a(0x434)][_0x1e6f4a(0x38e)](_0x4fc13b),_0x31b36d[_0x1e6f4a(0x3b2)]()),this['_sessions']['size']||(_0x45db76=this[_0x1e6f4a(0x386)])==null||_0x45db76[_0x1e6f4a(0x3b2)]();}[_0x11fce6(0x3e2)](){var _0xcaf09f=_0x11fce6;this[_0xcaf09f(0x21a)]=0x0,this[_0xcaf09f(0x281)](),this[_0xcaf09f(0x39c)]();}[_0x11fce6(0x281)](){var _0x5f44f2=_0x11fce6;this[_0x5f44f2(0x4ea)]!=null&&(clearTimeout(this[_0x5f44f2(0x4ea)]),this[_0x5f44f2(0x4ea)]=null);}async[_0x11fce6(0x284)](){var _0x565338=_0x11fce6,_0x395fb1,_0xdc7b65;const _0xbc7cf1=this['_configService']['getConfig'](ut),_0x36830c=this[_0x565338(0x4e8)][_0x565338(0x348)](G),_0x5a3fd2=(_0xdc7b65=(_0x395fb1=_0x36830c==null?void 0x0:_0x36830c[_0x565338(0x2cf)])!=null?_0x395fb1:_0xbc7cf1)!=null?_0xdc7b65:dt,_0x2e7c4d=await this[_0x565338(0x48c)]['createSocket'](_0x5a3fd2);return this[_0x565338(0x1e7)]=_0x2e7c4d,_0x2e7c4d;}async[_0x11fce6(0x329)](){var _0x38f758=_0x11fce6,_0x46f89b,_0x3249c5;try{const _0x18a439=(_0x3249c5=(_0x46f89b=this[_0x38f758(0x386)])!=null?_0x46f89b:this['_candidateSocket'])!=null?_0x3249c5:await this['_createSocket']();if(_0x18a439){const _0xf493ba=_0x18a439[_0x38f758(0x4b1)];_0x18a439[_0x38f758(0x4b1)]=_0x110448=>(this[_0x38f758(0x476)](),_0xf493ba[_0x38f758(0x22c)](_0x18a439,[_0x110448])),_0x18a439[_0x38f758(0x390)][_0x38f758(0x1f7)](_0x2280aa=>this[_0x38f758(0x3c0)](_0x18a439,_0x2280aa)),_0x18a439[_0x38f758(0x43f)]['pipe'](V[_0x38f758(0x269)](0x1))['subscribe'](_0x294363=>this[_0x38f758(0x2a4)][_0x38f758(0x26f)]('[CollaborationSessionService]:\x20socket\x20error',_0x294363)),_0x18a439[_0x38f758(0x4ef)]['pipe'](V['take'](0x1))[_0x38f758(0x1f7)](()=>{var _0x13355b=_0x38f758;this[_0x13355b(0x2c0)](_0x18a439);}),_0x18a439['close$'][_0x38f758(0x18e)](V['take'](0x1))['subscribe'](_0x3f7cef=>{var _0x55182e=_0x38f758;this['_logService'][_0x55182e(0x4ca)](_0x55182e(0x440),_0x55182e(0x29c),_0x3f7cef),this[_0x55182e(0x2fd)]();});}}catch(_0x42c757){this[_0x38f758(0x2a4)][_0x38f758(0x26f)](_0x42c757),this[_0x38f758(0x2fd)]();}}[_0x11fce6(0x2c0)](_0x1b91a3){var _0x166880=_0x11fce6;this['_logService'][_0x166880(0x4ca)](_0x166880(0x440),'socket\x20open.'),_0x1b91a3[_0x166880(0x4b1)]({'cmd':W[_0x166880(0x4a0)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x199ba2=_0x11fce6;this[_0x199ba2(0x31a)]=!0x1,this[_0x199ba2(0x1e7)]=null,this['_status$']['next'](re[_0x199ba2(0x2fe)]),this[_0x199ba2(0x50a)][_0x199ba2(0x1a9)](null),this[_0x199ba2(0x1ba)](),this[_0x199ba2(0x419)]();}[_0x11fce6(0x2fd)](){var _0x1e5db0=_0x11fce6,_0x188b50;this[_0x1e5db0(0x198)](),this['_retryCount']<((_0x188b50=this[_0x1e5db0(0x4e8)][_0x1e5db0(0x348)](ft))!=null?_0x188b50:jt)?(this[_0x1e5db0(0x41f)][_0x1e5db0(0x19f)]({'id':Z[_0x1e5db0(0x208)]}),this['_tryReconnect']()):this[_0x1e5db0(0x41f)][_0x1e5db0(0x19f)]({'id':Z[_0x1e5db0(0x273)]});}[_0x11fce6(0x39c)](){var _0xa2d4a=_0x11fce6,_0x5ee13b;const _0x83a41f=this[_0xa2d4a(0x21a)],_0x714acf=this[_0xa2d4a(0x4e8)]['getConfig'](G),_0x48eff8=_0x83a41f===0x0?0x0:((_0x5ee13b=_0x714acf==null?void 0x0:_0x714acf[_0xa2d4a(0x2f0)])!=null?_0x5ee13b:$t)*0x2**_0x83a41f;this[_0xa2d4a(0x4ea)]=setTimeout(()=>{var _0x42e433=_0xa2d4a;clearTimeout(this[_0x42e433(0x4ea)]),this[_0x42e433(0x4ea)]=null,this['_tryEnsureSocket']();},_0x48eff8),this['_retryCount']+=0x1;}['_onMessage'](_0x249a46,_0x3eaa20){var _0x12ee85=_0x11fce6;const {cmd:_0x58d43d}=_0x3eaa20;_0x58d43d===W['HELLO']&&!this['_socketReady']&&(_0x249a46[_0x12ee85(0x4b0)]=_0x3eaa20[_0x12ee85(0x4f9)]['memberID'],this[_0x12ee85(0x50a)][_0x12ee85(0x1a9)](_0x249a46),this[_0x12ee85(0x191)]['next'](re[_0x12ee85(0x378)]),this[_0x12ee85(0x31a)]=!0x0,this[_0x12ee85(0x1e7)]=null),_0x58d43d===W[_0x12ee85(0x414)]&&this[_0x12ee85(0x1ba)](),this[_0x12ee85(0x476)]();}[_0x11fce6(0x476)](){var _0x12d3b4=_0x11fce6,_0x6b862c;this[_0x12d3b4(0x419)](),this[_0x12d3b4(0x4c2)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x6b862c=this['_configService'][_0x12d3b4(0x348)](vt))!=null?_0x6b862c:Ht);}[_0x11fce6(0x3a7)](){var _0x509fbc=_0x11fce6;this[_0x509fbc(0x386)][_0x509fbc(0x4b1)]({'cmd':W['HEARTBEAT']}),this[_0x509fbc(0x34a)]();}['_waitForHeartbeatResponse'](){var _0x4858e3=_0x11fce6,_0x18579d;this[_0x4858e3(0x33a)]=setTimeout(()=>this[_0x4858e3(0x2fd)](),(_0x18579d=this[_0x4858e3(0x4e8)]['getConfig'](ke))!=null?_0x18579d:St);}[_0x11fce6(0x419)](){var _0x5defb4=_0x11fce6;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5defb4(0x4c2)]),this['_sendHeartbeatTimer']=null);}[_0x11fce6(0x1ba)](){var _0x2c82cf=_0x11fce6;this[_0x2c82cf(0x33a)]!=null&&(clearTimeout(this[_0x2c82cf(0x33a)]),this[_0x2c82cf(0x33a)]=null);}},exports[_0x11fce6(0x3a0)]=si([he(0x0,a['Inject'](a[_0x11fce6(0x187)])),he(0x1,a[_0x11fce6(0x383)]),he(0x2,a['IConfigService']),he(0x3,He),he(0x4,a[_0x11fce6(0x455)](ee)),he(0x5,a[_0x11fce6(0x37f)](mt))],exports[_0x11fce6(0x3a0)]);const q=a[_0x11fce6(0x315)](_0x11fce6(0x4d5));function oi(_0x535179){var _0x2bb9a0=_0x11fce6;return _0x2bb9a0(0x1b3)+_0x535179;}var ai=Object[_0x11fce6(0x394)],ci=(_0x4dd558,_0x1e90c1,_0x5a02f6,_0x305253)=>{var _0x170fb8=_0x11fce6;for(var _0xa91ff7=_0x305253>0x1?void 0x0:_0x305253?ai(_0x1e90c1,_0x5a02f6):_0x1e90c1,_0x3aad69=_0x4dd558[_0x170fb8(0x373)]-0x1,_0x5310bf;_0x3aad69>=0x0;_0x3aad69--)(_0x5310bf=_0x4dd558[_0x3aad69])&&(_0xa91ff7=_0x5310bf(_0xa91ff7)||_0xa91ff7);return _0xa91ff7;},Ue=(_0xd4fbee,_0x58eeaa)=>(_0x75aba1,_0x12a302)=>_0x58eeaa(_0x75aba1,_0x12a302,_0xd4fbee);function hi(_0x448816){var _0x1b65b4=_0x11fce6;const {unitID:_0x34224b,mutations:_0x523e96}=_0x448816;return{'unitId':_0x34224b,'subUnitId':_0x523e96[0x0][_0x1b65b4(0x2f5)]['subUnitId']};}exports[_0x11fce6(0x1a0)]=class{constructor(_0xa1ed6b,_0x381396,_0x120248){var _0x2ea1f5=_0x11fce6;this[_0x2ea1f5(0x2cc)]=_0xa1ed6b,this['_transformService']=_0x381396,this[_0x2ea1f5(0x4c5)]=_0x120248;}[_0x11fce6(0x194)](_0x11aff4){var _0x557cca=_0x11fce6,_0x4d0f01,_0x565128,_0x4e316a,_0x15bfa8;const _0x5a40bd=this[_0x557cca(0x2cc)][_0x557cca(0x19d)](X[_0x557cca(0x3ba)]),{unitId:_0x13d70e,subUnitId:_0x3ae8d5}=hi(_0x11aff4),_0x2f1ccc=_0x5a40bd==null?void 0x0:_0x5a40bd[_0x557cca(0x4fb)](_0x13d70e)[_0x557cca(0x22d)](),_0x1d9135=(_0x565128=(_0x4d0f01=this['_instanceService'][_0x557cca(0x3c3)](_0x13d70e))==null?void 0x0:_0x4d0f01[_0x557cca(0x25e)]())==null?void 0x0:_0x565128[_0x557cca(0x4b6)]();if(_0x2f1ccc[_0x557cca(0x373)]===0x0||!_0x13d70e||!_0x3ae8d5)return;const _0x2aa4a0=[{'id':X[_0x557cca(0x3d3)]['id'],'params':{'unitId':_0x13d70e,'subUnitId':_0x1d9135,'selections':a[_0x557cca(0x2bd)]['deepClone'](_0x2f1ccc)}}],_0x5f595b=this[_0x557cca(0x3e9)][_0x557cca(0x1a1)](_0x11aff4,_0x2aa4a0);if(!p[_0x557cca(0x2da)](_0x5f595b))throw _0x5f595b['error'];const _0x107d01=(_0x15bfa8=(_0x4e316a=_0x5f595b['m2Prime'][0x0])==null?void 0x0:_0x4e316a[_0x557cca(0x2f5)])==null?void 0x0:_0x15bfa8['selections'];if(Array[_0x557cca(0x362)](_0x107d01)&&_0x107d01['length']){if(_0x107d01[_0x557cca(0x373)]===_0x2aa4a0[0x0][_0x557cca(0x2f5)][_0x557cca(0x3e3)][_0x557cca(0x373)]&&_0x107d01[_0x557cca(0x2bb)]((_0x137ce8,_0x3b0cb5)=>a[_0x557cca(0x288)][_0x557cca(0x4e0)](_0x137ce8['range'],_0x2aa4a0[0x0][_0x557cca(0x2f5)][_0x557cca(0x3e3)][_0x3b0cb5][_0x557cca(0x48f)])))return;this[_0x557cca(0x2cc)][_0x557cca(0x19d)](a[_0x557cca(0x430)])[_0x557cca(0x437)](X[_0x557cca(0x3d3)]['id'],{'unitId':_0x13d70e,'subUnitId':_0x1d9135,'selections':_0x107d01});}}},exports[_0x11fce6(0x1a0)]=ci([Ue(0x0,a['Inject'](a[_0x11fce6(0x187)])),Ue(0x1,p[_0x11fce6(0x2e6)]),Ue(0x2,a[_0x11fce6(0x270)])],exports[_0x11fce6(0x1a0)]);const de=a[_0x11fce6(0x315)](_0x11fce6(0x1e6));var je=(_0x6ef2d6=>(_0x6ef2d6[_0x6ef2d6[_0x11fce6(0x28e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x6ef2d6[_0x6ef2d6[_0x11fce6(0x339)]=0x1]=_0x11fce6(0x339),_0x6ef2d6))(je||{});const _i=new Set([X[_0x11fce6(0x49e)]['id']]);function Ge(_0x299089,_0x4ed5a3,_0x2a052f,_0xa87858,_0x3a0f06){var _0x285528=_0x11fce6,_0x230d79,_0x199e57,_0x1135cd,_0x4d4e16;const _0x169ca6=[];for(const _0x4b2bb7 of _0x299089)if(_i[_0x285528(0x23b)](_0x4b2bb7['id'])){if(_0x169ca6[_0x285528(0x373)]>0x0)break;_0x169ca6[_0x285528(0x34d)](_0x4b2bb7);break;}else _0x169ca6[_0x285528(0x34d)](_0x4b2bb7);const _0x75f79c=(_0x199e57=(_0x230d79=_0x3a0f06['getCurrentUser']())==null?void 0x0:_0x230d79['userID'])!=null?_0x199e57:_0x285528(0x421),_0x28d8df=(_0x4d4e16=(_0x1135cd=_0x3a0f06[_0x285528(0x4be)]())==null?void 0x0:_0x1135cd[_0x285528(0x4b0)])!=null?_0x4d4e16:_0x285528(0x421);return{'changeset':{'unitID':_0x4ed5a3,'type':p[_0x285528(0x452)](_0x2a052f['getUnitType'](_0x4ed5a3)),'baseRev':_0xa87858['getCurrentRevOfUnit'](_0x4ed5a3),'revision':0x0,'userID':_0x75f79c,'memberID':_0x28d8df,'mutations':_0x169ca6},'pendingMutations':_0x299089[_0x285528(0x3e1)](_0x169ca6['length'])};}function li(_0xfff481,_0x424762,_0x300b25,_0x233e8e,_0x346098){var _0x16db39=_0x11fce6,_0x15ba4b,_0x21e40b,_0x4ecc1b,_0x47420a;const _0x252c02=[_0xfff481['reduce']((_0x3d78f5,_0x3d9d3b)=>{var _0x3d6ab8=_0x450d,_0x387cef;const {id:_0x43c8f6}=_0x3d78f5,{id:_0x5502c7,type:_0x2d35ca}=_0x3d9d3b,_0x4abba5=(_0x387cef=_0x3d78f5[_0x3d6ab8(0x2f5)])!=null?_0x387cef:{'actions':null},_0x186236=_0x3d9d3b[_0x3d6ab8(0x2f5)];if(_0x43c8f6&&_0x43c8f6!==_0x5502c7)throw new Error(_0x3d6ab8(0x331)+_0x43c8f6+'\x20-\x20'+_0x5502c7+'.');return{..._0x3d78f5,'id':_0x5502c7,'type':_0x2d35ca,'params':{'unitId':_0x186236['unitId'],'textRanges':_0x186236[_0x3d6ab8(0x4fa)],'actions':a[_0x3d6ab8(0x3fb)][_0x3d6ab8(0x405)](_0x4abba5[_0x3d6ab8(0x1ec)],_0x186236[_0x3d6ab8(0x1ec)])}};},{})],_0x3e0aa3=(_0x21e40b=(_0x15ba4b=_0x346098['getCurrentUser']())==null?void 0x0:_0x15ba4b[_0x16db39(0x409)])!=null?_0x21e40b:_0x16db39(0x421),_0x2c54ee=(_0x47420a=(_0x4ecc1b=_0x346098[_0x16db39(0x4be)]())==null?void 0x0:_0x4ecc1b[_0x16db39(0x4b0)])!=null?_0x47420a:_0x16db39(0x421);return{'changeset':{'unitID':_0x424762,'type':p['mapDocumentTypeToUniverType'](_0x300b25[_0x16db39(0x39b)](_0x424762)),'baseRev':_0x233e8e[_0x16db39(0x4fe)](_0x424762),'revision':0x0,'userID':_0x3e0aa3,'memberID':_0x2c54ee,'mutations':_0x252c02},'pendingMutations':[]};}function bt(_0x44992f,_0x3c2f06){var _0xb77ff9=_0x11fce6;const _0x5535d8=new $[(_0xb77ff9(0x496))](0x1);return setTimeout(()=>_0x5535d8['next'](_0x3c2f06),_0x44992f),_0x5535d8[_0xb77ff9(0x241)]()[_0xb77ff9(0x18e)]($[_0xb77ff9(0x269)](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0x11fce6(0x2ad)][_0x11fce6(0x20d)],'params':{}};var di=Object['getOwnPropertyDescriptor'],ae=(_0x2780d2,_0x29aef7,_0x44187e,_0x4d69c5)=>{var _0x2002a3=_0x11fce6;for(var _0x2d0edc=_0x4d69c5>0x1?void 0x0:_0x4d69c5?di(_0x29aef7,_0x44187e):_0x29aef7,_0x2b199e=_0x2780d2[_0x2002a3(0x373)]-0x1,_0x1f3309;_0x2b199e>=0x0;_0x2b199e--)(_0x1f3309=_0x2780d2[_0x2b199e])&&(_0x2d0edc=_0x1f3309(_0x2d0edc)||_0x2d0edc);return _0x2d0edc;},L=(_0x335f7,_0xa724ee)=>(_0x333c22,_0x2575be)=>_0xa724ee(_0x333c22,_0x2575be,_0x335f7),Be=(_0x722404=>(_0x722404['NOT_COLLAB']=_0x11fce6(0x228),_0x722404[_0x11fce6(0x2ed)]=_0x11fce6(0x25a),_0x722404[_0x11fce6(0x185)]='pending',_0x722404['AWAITING']=_0x11fce6(0x2ea),_0x722404['AWAITING_WITH_PENDING']=_0x11fce6(0x33c),_0x722404[_0x11fce6(0x4c4)]='fetch_missing',_0x722404[_0x11fce6(0x3e4)]=_0x11fce6(0x3e5),_0x722404['OFFLINE']=_0x11fce6(0x3ef),_0x722404))(Be||{});const Rt=0xea60;class ce{constructor(_0x1424a8,_0x2fd5a3,_0x5b296a,_0x392e20,_0x26e8a5,_0x5b875a,_0x28992e,_0x974501,_0xe638a8){var _0x16f10c=_0x11fce6;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this[_0x16f10c(0x4c8)]=_0x1424a8,this[_0x16f10c(0x1bc)]=_0x2fd5a3,this[_0x16f10c(0x1e0)]=_0x26e8a5,this['_commandService']=_0x5b875a,this['_undoRedoService']=_0x28992e,this[_0x16f10c(0x20b)]=_0x974501,this[_0x16f10c(0x32a)]=_0xe638a8,this[_0x16f10c(0x1b6)]=_0x5b296a,this['_pendingMutations']=_0x392e20);}['_checkMissing'](_0x1a5a7a){var _0x28e0dc=_0x11fce6;const _0x1b9110=this[_0x28e0dc(0x20b)]['getCurrentRevOfUnit'](this[_0x28e0dc(0x4c8)]);return _0x1a5a7a[_0x28e0dc(0x432)]>_0x1b9110+0x1?(this[_0x28e0dc(0x1e0)]['onMissingChangesets']({'from':_0x1b9110,'to':_0x1a5a7a[_0x28e0dc(0x432)]-0x1}),!0x0):!0x1;}[_0x11fce6(0x2d4)](_0x4a9d1c){var _0x550d59=_0x11fce6;this['_undoRedoService'][_0x550d59(0x1c7)](this['unitID'],_0x4a9d1c);}[_0x11fce6(0x3f7)](_0xfed4d1){var _0x5ecef2=_0x11fce6,_0x4fe4a6,_0x1de1e2;(_0x1de1e2=(_0x4fe4a6=this[_0x5ecef2(0x1e0)])['onTransformSelections'])==null||_0x1de1e2['call'](_0x4fe4a6,_0xfed4d1);}['_transformIMECache'](_0x375f0d){var _0x477816=_0x11fce6,_0xbcb39a,_0x28939e;return(_0x28939e=(_0xbcb39a=this[_0x477816(0x1e0)])[_0x477816(0x397)])==null?void 0x0:_0x28939e['call'](_0xbcb39a,_0x375f0d);}[_0x11fce6(0x3b3)](_0x1b879b){var _0xca1bb4=_0x11fce6,_0x34d0ea,_0xde79f;return(_0xde79f=(_0x34d0ea=this[_0xca1bb4(0x1e0)])['onTransformState'])==null?void 0x0:_0xde79f[_0xca1bb4(0x396)](_0x34d0ea,_0x1b879b);}['_transformRemoteChangesetByIMECache'](_0x3b7f0e){var _0x432034=_0x11fce6,_0x11f9f6,_0x4addaf,_0x32c59d;return(_0x32c59d=(_0x4addaf=(_0x11f9f6=this['_handler'])[_0x432034(0x39e)])==null?void 0x0:_0x4addaf[_0x432034(0x396)](_0x11f9f6,_0x3b7f0e))!=null?_0x32c59d:_0x3b7f0e;}[_0x11fce6(0x338)](_0x3744a3){var _0x36f4a7=_0x11fce6,_0x210544,_0x2d9639,_0x94aa6d;return(_0x94aa6d=(_0x2d9639=(_0x210544=this[_0x36f4a7(0x1e0)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2d9639[_0x36f4a7(0x396)](_0x210544,_0x3744a3))!=null?_0x94aa6d:_0x3744a3;}['_syncEditingCollabCursor'](_0x39b68e){var _0x5d473b=_0x11fce6,_0x279cd4,_0x543b45;if(this[_0x5d473b(0x1bc)]===J[_0x5d473b(0x45d)]){const {unitID:_0x33deb0,mutations:_0x5e364e,memberID:_0x570035}=_0x39b68e,_0x31aef8=_0x5e364e[0x0][_0x5d473b(0x2f5)][_0x5d473b(0x4fa)];Array[_0x5d473b(0x362)](_0x31aef8)&&_0x31aef8[_0x5d473b(0x373)]>0x0&&((_0x543b45=(_0x279cd4=this[_0x5d473b(0x1e0)])[_0x5d473b(0x43e)])==null||_0x543b45[_0x5d473b(0x396)](_0x279cd4,{'unitID':_0x33deb0,'memberID':_0x570035,'textRanges':_0x31aef8}));}}[_0x11fce6(0x28b)](){var _0xb2451d=_0x11fce6,_0xabb542;(_0xabb542=this[_0xb2451d(0x32a)])==null||_0xabb542[_0xb2451d(0x30d)](this[_0xb2451d(0x4c8)],this['type'],this[_0xb2451d(0x1b6)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x4c7a3c=_0x11fce6;return this[_0x4c7a3c(0x20b)][_0x4c7a3c(0x4fe)](this[_0x4c7a3c(0x4c8)]);}['_incrementRevisionNumber'](){var _0x130b01=_0x11fce6;this[_0x130b01(0x20b)][_0x130b01(0x462)](this[_0x130b01(0x4c8)]);}[_0x11fce6(0x4a7)](_0x1df382){var _0x20e91e=_0x11fce6,_0x1bfa4c;let _0x538162=this[_0x20e91e(0x257)](_0x1df382);_0x538162=this[_0x20e91e(0x338)](_0x538162);const _0x49ffba=a['sequenceExecute'](_0x538162[_0x20e91e(0x46d)],this[_0x20e91e(0x2fa)],{'fromCollab':!0x0});if(!_0x49ffba[_0x20e91e(0x1fc)])throw _0x49ffba[_0x20e91e(0x26f)]instanceof Error?_0x49ffba['error']:new Error((_0x1bfa4c=_0x49ffba[_0x20e91e(0x26f)])!=null?_0x1bfa4c:_0x20e91e(0x317));this[_0x20e91e(0x3a4)](_0x538162),this[_0x20e91e(0x3b3)](_0x538162),this[_0x20e91e(0x2d4)](_0x1df382),this[_0x20e91e(0x3f7)](_0x538162),this[_0x20e91e(0x441)](_0x538162),this[_0x20e91e(0x4d1)]();}}exports[_0x11fce6(0x44d)]=class extends ce{constructor(_0x62e30d,_0x58b418,_0x341d80,_0x3c6439,_0x20118c,_0x360ed,_0x549c87,_0x3c4202,_0x18ca1a,_0x30fc98){var _0x356a42=_0x11fce6;super(_0x62e30d,_0x58b418,null,[],_0x341d80,_0x549c87,_0x360ed,_0x3c6439,_0x30fc98),A(this,'status',_0x356a42(0x25a)),(this[_0x356a42(0x2cc)]=_0x20118c,this[_0x356a42(0x2a4)]=_0x3c4202,this[_0x356a42(0x3e9)]=_0x18ca1a,this[_0x356a42(0x500)]=_0x30fc98);}[_0x11fce6(0x46f)](_0x57e3b4){var _0x17b593=_0x11fce6;const _0x25bb8c=this[_0x17b593(0x2cc)][_0x17b593(0x502)](exports[_0x17b593(0x182)],this['unitID'],this[_0x17b593(0x1bc)],[_0x57e3b4],this['_handler']);return _0x25bb8c[_0x17b593(0x4ba)](),_0x25bb8c[_0x17b593(0x28b)](),_0x25bb8c;}[_0x11fce6(0x254)](_0x51afd4){var _0x3debb9=_0x11fce6;if(this[_0x3debb9(0x36a)](_0x51afd4))return this['_injector'][_0x3debb9(0x502)](exports[_0x3debb9(0x4c7)],this['unitID'],this['type'],null,[],null,[_0x51afd4],this[_0x3debb9(0x1e0)]);try{const _0x2956bb=this[_0x3debb9(0x3e9)][_0x3debb9(0x1a1)](_0x51afd4,[ui]);if(p[_0x3debb9(0x2da)](_0x2956bb)){const {c1Prime:_0x20b75a}=_0x2956bb;return this[_0x3debb9(0x4a7)](_0x20b75a),this;}throw _0x2956bb[_0x3debb9(0x26f)];}catch(_0x24d07a){return this[_0x3debb9(0x2a4)][_0x3debb9(0x26f)](_0x24d07a),this[_0x3debb9(0x495)](!0x1);}}['_onConflict'](_0x7a3308){var _0xb69668=_0x11fce6;return this['_injector'][_0xb69668(0x502)](exports[_0xb69668(0x3ab)],this[_0xb69668(0x4c8)],this[_0xb69668(0x1bc)],null,[],this[_0xb69668(0x1e0)],_0x7a3308);}[_0x11fce6(0x471)](){var _0x3a5f87=_0x11fce6;throw new Error(_0x3a5f87(0x280));}['onRemoteRej'](){var _0x1f6089=_0x11fce6;throw new Error(_0x1f6089(0x230));}[_0x11fce6(0x334)](){return this;}[_0x11fce6(0x1f3)](){var _0x4439b8=_0x11fce6;return this['_injector'][_0x4439b8(0x502)](exports[_0x4439b8(0x4dd)],this[_0x4439b8(0x4c8)],this[_0x4439b8(0x1bc)],null,[],this[_0x4439b8(0x1e0)]);}['toggleOnline'](){return this;}['resend'](){var _0x2c8cfa=_0x11fce6;throw new Error(_0x2c8cfa(0x448));}[_0x11fce6(0x314)](){var _0x3bd90f=_0x11fce6;const _0x1b6ea6=this[_0x3bd90f(0x20b)][_0x3bd90f(0x4fe)](this[_0x3bd90f(0x4c8)]);return this[_0x3bd90f(0x1e0)][_0x3bd90f(0x3ae)]({'from':_0x1b6ea6,'to':0x0}),this[_0x3bd90f(0x2cc)][_0x3bd90f(0x502)](exports['FetchingMissState'],this[_0x3bd90f(0x4c8)],this[_0x3bd90f(0x1bc)],null,[],null,[],this[_0x3bd90f(0x1e0)]);}},exports['SyncedState']=ae([L(0x3,a['Inject'](p[_0x11fce6(0x302)])),L(0x4,a[_0x11fce6(0x455)](a[_0x11fce6(0x187)])),L(0x5,a[_0x11fce6(0x285)]),L(0x6,a['ICommandService']),L(0x7,a[_0x11fce6(0x383)]),L(0x8,p[_0x11fce6(0x2e6)]),L(0x9,a[_0x11fce6(0x37f)](q))],exports[_0x11fce6(0x44d)]),exports[_0x11fce6(0x182)]=class extends ce{constructor(_0x7168f4,_0x426162,_0x59b582,_0x1531a5,_0x174ad5,_0x1cab6c,_0x1f94c1,_0x57a251,_0x37988f,_0x4ca3f3,_0x275668,_0x568d62,_0x42a14b,_0x9da4bd){var _0x2766d9=_0x11fce6;super(_0x7168f4,_0x426162,null,_0x59b582,_0x1531a5,_0x37988f,_0x42a14b,_0x1cab6c,_0x9da4bd),A(this,_0x2766d9(0x1d2),_0x2766d9(0x2ba)),A(this,_0x2766d9(0x372),null),A(this,_0x2766d9(0x197),null),(this['_injector']=_0x174ad5,this[_0x2766d9(0x32b)]=_0x1f94c1,this[_0x2766d9(0x2a4)]=_0x57a251,this['_configService']=_0x4ca3f3,this[_0x2766d9(0x3e9)]=_0x275668,this['_univerInstanceService']=_0x568d62);}[_0x11fce6(0x46f)](_0x42bd3c){var _0x1be7db=_0x11fce6;return this[_0x1be7db(0x4dc)]['push'](_0x42bd3c),this[_0x1be7db(0x28b)](),this;}[_0x11fce6(0x254)](_0x5a13e9){var _0x38c164=_0x11fce6;if(this[_0x38c164(0x36a)](_0x5a13e9))return this[_0x38c164(0x4b3)](),this[_0x38c164(0x2cc)][_0x38c164(0x502)](exports[_0x38c164(0x4c7)],this[_0x38c164(0x4c8)],this[_0x38c164(0x1bc)],null,this[_0x38c164(0x4dc)],null,[_0x5a13e9],this[_0x38c164(0x1e0)]);try{const _0x2eea57=this[_0x38c164(0x3e9)][_0x38c164(0x1a1)](_0x5a13e9,this[_0x38c164(0x4dc)]);if(p[_0x38c164(0x2da)](_0x2eea57)){const {c1Prime:_0x48eac4,m2Prime:_0x3d47e1}=_0x2eea57;this[_0x38c164(0x4a7)](_0x48eac4);const _0x5b288d=this[_0x38c164(0x2cc)][_0x38c164(0x502)](exports[_0x38c164(0x182)],this['unitID'],this[_0x38c164(0x1bc)],_0x3d47e1,this['_handler']);this['_clearScheduledTask']();const _0x3caa4a=new Date()['getTime'](),_0x10ea42=this[_0x38c164(0x372)]?Math[_0x38c164(0x3ad)](this[_0x38c164(0x372)]-_0x3caa4a,0x0):this['_getSendChangesetTimeout']();return _0x5b288d['_schedule'](_0x10ea42),_0x5b288d;}throw _0x2eea57[_0x38c164(0x26f)];}catch(_0x164e30){return this[_0x38c164(0x2a4)][_0x38c164(0x26f)](_0x164e30),this[_0x38c164(0x495)](!0x1);}}[_0x11fce6(0x471)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x11fce6(0x34e)](){var _0x4d3795=_0x11fce6;throw new Error(_0x4d3795(0x343));}[_0x11fce6(0x334)](){return this;}[_0x11fce6(0x1f3)](){var _0x1f801f=_0x11fce6;return this[_0x1f801f(0x4b3)](),this[_0x1f801f(0x2cc)][_0x1f801f(0x502)](exports[_0x1f801f(0x4dd)],this[_0x1f801f(0x4c8)],this['type'],null,this[_0x1f801f(0x4dc)],this[_0x1f801f(0x1e0)]);}[_0x11fce6(0x214)](){return this;}[_0x11fce6(0x4ba)](_0x51288e){var _0x4ccf19=_0x11fce6;const _0x296536=_0x51288e!=null?_0x51288e:this[_0x4ccf19(0x3d4)]();this[_0x4ccf19(0x372)]=new Date()['getTime']()+_0x296536,this[_0x4ccf19(0x197)]=setTimeout(()=>{var _0x31ad10=_0x4ccf19;this[_0x31ad10(0x4b3)]();let _0x36abab=null;switch(this[_0x31ad10(0x1bc)]){case J[_0x31ad10(0x47d)]:{_0x36abab=Ge(this[_0x31ad10(0x4dc)],this[_0x31ad10(0x4c8)],this[_0x31ad10(0x2b3)],this['_revisionService'],this[_0x31ad10(0x32b)]);break;}case J[_0x31ad10(0x45d)]:{this['_pendingMutations']['every'](_0x41af79=>_0x41af79['id']===ht['RichTextEditingMutation']['id'])?_0x36abab=li(this[_0x31ad10(0x4dc)],this[_0x31ad10(0x4c8)],this['_univerInstanceService'],this[_0x31ad10(0x20b)],this[_0x31ad10(0x32b)]):_0x36abab=Ge(this['_pendingMutations'],this[_0x31ad10(0x4c8)],this[_0x31ad10(0x2b3)],this[_0x31ad10(0x20b)],this[_0x31ad10(0x32b)]);break;}default:throw new Error(_0x31ad10(0x47b)+this[_0x31ad10(0x1bc)]+_0x31ad10(0x2c3));}const {changeset:_0x541cbb,pendingMutations:_0x15bd6c}=_0x36abab;this[_0x31ad10(0x1e0)]['onSendChangeset'](_0x541cbb);const _0x20737d=_0x15bd6c[_0x31ad10(0x373)]?this['_injector'][_0x31ad10(0x502)](exports['AwaitingWithPendingState'],this['unitID'],this['type'],_0x541cbb,_0x15bd6c,this[_0x31ad10(0x1e0)],void 0x0):this[_0x31ad10(0x2cc)][_0x31ad10(0x502)](exports[_0x31ad10(0x44f)],this[_0x31ad10(0x4c8)],this[_0x31ad10(0x1bc)],_0x541cbb,this[_0x31ad10(0x1e0)]);_0x20737d[_0x31ad10(0x28b)](),this[_0x31ad10(0x1e0)][_0x31ad10(0x243)](this,_0x20737d);},_0x296536);}[_0x11fce6(0x3d4)](){var _0x507d5b=_0x11fce6,_0x3a1f93;const _0x225115=this['_configService'][_0x507d5b(0x348)](G);return(_0x3a1f93=_0x225115==null?void 0x0:_0x225115[_0x507d5b(0x444)])!=null?_0x3a1f93:xt;}[_0x11fce6(0x4a2)](){var _0x2d1025=_0x11fce6;throw new Error(_0x2d1025(0x1a8));}[_0x11fce6(0x4b3)](){var _0x31cbc0=_0x11fce6;this[_0x31cbc0(0x197)]!=null&&(clearTimeout(this[_0x31cbc0(0x197)]),this[_0x31cbc0(0x197)]=null);}['_onConflict'](_0x2a02a6){var _0x17619b=_0x11fce6;return this[_0x17619b(0x4b3)](),this[_0x17619b(0x2cc)][_0x17619b(0x502)](exports[_0x17619b(0x3ab)],this[_0x17619b(0x4c8)],this['type'],null,this[_0x17619b(0x4dc)],this[_0x17619b(0x1e0)],_0x2a02a6);}},exports[_0x11fce6(0x182)]=ae([L(0x4,a[_0x11fce6(0x455)](a[_0x11fce6(0x187)])),L(0x5,a[_0x11fce6(0x455)](p[_0x11fce6(0x302)])),L(0x6,a[_0x11fce6(0x455)](exports[_0x11fce6(0x352)])),L(0x7,a[_0x11fce6(0x383)]),L(0x8,a['ICommandService']),L(0x9,a[_0x11fce6(0x34f)]),L(0xa,p[_0x11fce6(0x2e6)]),L(0xb,a[_0x11fce6(0x270)]),L(0xc,a[_0x11fce6(0x285)]),L(0xd,a[_0x11fce6(0x37f)](q))],exports['PendingState']),exports[_0x11fce6(0x44f)]=class extends ce{constructor(_0x40357b,_0x357ff4,_0x59fed4,_0x2dbef0,_0x59162e,_0x1ce105,_0x456962,_0x55772a,_0x33a8a5,_0x2148cd,_0x3b839f){var _0x56be05=_0x11fce6;super(_0x40357b,_0x357ff4,_0x59fed4,[],_0x2dbef0,_0x456962,_0x2148cd,_0x1ce105,_0x3b839f),A(this,_0x56be05(0x1d2),_0x56be05(0x2ea)),A(this,_0x56be05(0x2a3),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x56be05(0x2cc)]=_0x59162e,this[_0x56be05(0x2a4)]=_0x55772a,this[_0x56be05(0x3e9)]=_0x33a8a5);}['appendMutation'](_0x5202a1){var _0x10f5de=_0x11fce6;this[_0x10f5de(0x4b3)]();const _0x168d82=this['_injector'][_0x10f5de(0x502)](exports[_0x10f5de(0x45a)],this[_0x10f5de(0x4c8)],this[_0x10f5de(0x1bc)],this[_0x10f5de(0x1b6)],[_0x5202a1],this['_handler'],this['_resendTimer']);return _0x168d82[_0x10f5de(0x28b)](),_0x168d82;}['onRemoteChangeset'](_0x511123){var _0x1271a8=_0x11fce6;if(this['_checkMissing'](_0x511123))return this[_0x1271a8(0x4b3)](),this[_0x1271a8(0x2cc)]['createInstance'](exports[_0x1271a8(0x4c7)],this[_0x1271a8(0x4c8)],this[_0x1271a8(0x1bc)],this[_0x1271a8(0x1b6)],[],null,[_0x511123],this[_0x1271a8(0x1e0)]);try{const _0xd36709=this[_0x1271a8(0x3e9)][_0x1271a8(0x49f)]([_0x511123],[this[_0x1271a8(0x1b6)]],!0x1);if(p['isTransformChangesetsSuccess'](_0xd36709)){const {c1Prime:_0x5308cf,c2Prime:_0x3b0d45}=_0xd36709;this['_executeRemoteChangeset'](_0x5308cf[0x0]),_0x3b0d45[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x43860e=this[_0x1271a8(0x2cc)]['createInstance'](exports['AwaitingState'],this[_0x1271a8(0x4c8)],this[_0x1271a8(0x1bc)],_0x3b0d45[0x0],this[_0x1271a8(0x1e0)]);return _0x43860e[_0x1271a8(0x28b)](),_0x43860e;}return this[_0x1271a8(0x495)](!0x1);}catch(_0xc5bf11){return this[_0x1271a8(0x2a4)]['error'](_0xc5bf11),this[_0x1271a8(0x495)](!0x1);}}[_0x11fce6(0x471)](_0x2233a1){var _0x26e448=_0x11fce6;this[_0x26e448(0x4b3)]();const _0x2ee1c8=this['_revisionService'][_0x26e448(0x4fe)](this[_0x26e448(0x4c8)]);if(_0x2233a1['revision']<_0x2ee1c8-0x1)return this;if(this[_0x26e448(0x36a)](_0x2233a1))return this['_injector'][_0x26e448(0x502)](exports[_0x26e448(0x4c7)],this[_0x26e448(0x4c8)],this[_0x26e448(0x1bc)],null,[],this[_0x26e448(0x1b6)],[],this[_0x26e448(0x1e0)]);this[_0x26e448(0x4d1)]();const _0x4573f9=this['_injector']['createInstance'](exports['SyncedState'],this['unitID'],this['type'],this[_0x26e448(0x1e0)]);return _0x4573f9[_0x26e448(0x28b)](),_0x4573f9;}[_0x11fce6(0x34e)](_0x43ea78){var _0xb0131f=_0x11fce6;return this['_onConflict'](!!(_0x43ea78!=null&&_0x43ea78[_0xb0131f(0x2e3)]));}['onRemoteRetry'](_0xc043e9){var _0x583b72=_0x11fce6;return this[_0x583b72(0x2a3)]>Rt?this['toggleOffline']():(this[_0x583b72(0x4f0)]=bt(this[_0x583b72(0x2a3)],{'timeout':this['_resendTimeout'],'reqId':_0xc043e9[_0x583b72(0x2ac)]}),this[_0x583b72(0x17a)]=this['_resendTimer']['subscribe'](({reqId:_0xfc4f5f,timeout:_0x1116c1})=>{var _0x379872=_0x583b72;this[_0x379872(0x4c0)](_0xfc4f5f,_0x1116c1);}),this);}[_0x11fce6(0x1f3)](){var _0x1d2439=_0x11fce6;return this[_0x1d2439(0x4b3)](),this['_injector']['createInstance'](exports[_0x1d2439(0x4dd)],this[_0x1d2439(0x4c8)],this[_0x1d2439(0x1bc)],this['_awaitingChangeset'],[],this[_0x1d2439(0x1e0)]);}[_0x11fce6(0x214)](){return this;}[_0x11fce6(0x4a2)](){var _0x4f8484=_0x11fce6;this[_0x4f8484(0x1e0)][_0x4f8484(0x2ab)](this['_awaitingChangeset']);}[_0x11fce6(0x495)](_0x5d8b82){var _0x433bb2=_0x11fce6;return this[_0x433bb2(0x4b3)](),this[_0x433bb2(0x2cc)][_0x433bb2(0x502)](exports[_0x433bb2(0x3ab)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x433bb2(0x1e0)],_0x5d8b82);}['_resendWithTimeout'](_0xf4f6c0,_0x3cccff){var _0x180e77=_0x11fce6,_0x125f63;_0xf4f6c0===((_0x125f63=this[_0x180e77(0x1b6)])==null?void 0x0:_0x125f63[_0x180e77(0x2ac)])&&(this['resend'](),this[_0x180e77(0x2a3)]=_0x3cccff===0x0?0x3e8:_0x3cccff*0x2);}[_0x11fce6(0x4b3)](){var _0xc1478d=_0x11fce6,_0x32ef09;(_0x32ef09=this[_0xc1478d(0x17a)])==null||_0x32ef09[_0xc1478d(0x17b)](),this['_resendTimeout']=0x0;}},exports['AwaitingState']=ae([L(0x4,a[_0x11fce6(0x455)](a[_0x11fce6(0x187)])),L(0x5,a[_0x11fce6(0x455)](p[_0x11fce6(0x302)])),L(0x6,a[_0x11fce6(0x430)]),L(0x7,a[_0x11fce6(0x383)]),L(0x8,p[_0x11fce6(0x2e6)]),L(0x9,a[_0x11fce6(0x285)]),L(0xa,a[_0x11fce6(0x37f)](q))],exports['AwaitingState']),exports[_0x11fce6(0x45a)]=class extends ce{constructor(_0x332184,_0x2f4974,_0x11e3a0,_0x2aa37f,_0x3ad213,_0x409b14,_0x112b17,_0x14f840,_0xb0b34,_0x1311ea,_0x10b5b7,_0x11394c,_0x58fdec){var _0x48524b=_0x11fce6;super(_0x332184,_0x2f4974,_0x11e3a0,_0x2aa37f,_0x3ad213,_0xb0b34,_0x11394c,_0x14f840,_0x58fdec),A(this,'status','awaiting_with_pending'),A(this,_0x48524b(0x2a3),0x0),A(this,_0x48524b(0x4f0)),A(this,'_sender'),(this[_0x48524b(0x2cc)]=_0x112b17,this['_logService']=_0x1311ea,this['_transformService']=_0x10b5b7,this['localCacheService']=_0x58fdec,_0x409b14&&(this[_0x48524b(0x4f0)]=_0x409b14,this[_0x48524b(0x17a)]=this[_0x48524b(0x4f0)][_0x48524b(0x1f7)](({reqId:_0x200a66,timeout:_0x344132})=>{var _0x2b3445=_0x48524b;this[_0x2b3445(0x4c0)](_0x200a66,_0x344132);})));}[_0x11fce6(0x46f)](_0x5e373e){var _0x40ae3e=_0x11fce6;return this[_0x40ae3e(0x4dc)][_0x40ae3e(0x34d)](_0x5e373e),this;}[_0x11fce6(0x254)](_0x9f5c9e){var _0x1deb6f=_0x11fce6;if(this[_0x1deb6f(0x36a)](_0x9f5c9e))return this['_clearScheduledTask'](),this[_0x1deb6f(0x2cc)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x1deb6f(0x1bc)],this[_0x1deb6f(0x1b6)],this[_0x1deb6f(0x4dc)],null,[_0x9f5c9e],this[_0x1deb6f(0x1e0)]);try{const _0x3901e6=this[_0x1deb6f(0x3e9)][_0x1deb6f(0x49f)]([_0x9f5c9e],[this['_awaitingChangeset']],!0x1);if(p[_0x1deb6f(0x253)](_0x3901e6)){const {c1Prime:_0x2286a1,c2Prime:_0x16109c}=_0x3901e6,_0x4ec8d8=this[_0x1deb6f(0x3e9)][_0x1deb6f(0x1a1)](_0x2286a1[0x0],this[_0x1deb6f(0x4dc)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x4ec8d8)){const {c1Prime:_0x9805,m2Prime:_0x149a5c}=_0x4ec8d8;return this[_0x1deb6f(0x4a7)](_0x9805),_0x16109c[0x0][_0x1deb6f(0x488)]=this[_0x1deb6f(0x1a7)](),this[_0x1deb6f(0x4b3)](),this[_0x1deb6f(0x2cc)]['createInstance'](exports[_0x1deb6f(0x45a)],this[_0x1deb6f(0x4c8)],this[_0x1deb6f(0x1bc)],_0x16109c[0x0],_0x149a5c,this[_0x1deb6f(0x1e0)],void 0x0);}throw _0x4ec8d8[_0x1deb6f(0x26f)];}throw _0x3901e6[_0x1deb6f(0x26f)];}catch(_0x1c6ca3){return this['_logService'][_0x1deb6f(0x26f)](_0x1c6ca3),this['_onConflict'](!0x1);}}[_0x11fce6(0x471)](_0x4bbaf8){var _0x62b440=_0x11fce6;if(this[_0x62b440(0x4b3)](),this[_0x62b440(0x36a)](_0x4bbaf8))return this[_0x62b440(0x2cc)]['createInstance'](exports[_0x62b440(0x4c7)],this['unitID'],this[_0x62b440(0x1bc)],null,this['_pendingMutations'],this[_0x62b440(0x1b6)],[],this[_0x62b440(0x1e0)]);this[_0x62b440(0x4d1)]();const _0x4f8a1e=this['_injector'][_0x62b440(0x502)](exports['PendingState'],this[_0x62b440(0x4c8)],this[_0x62b440(0x1bc)],this[_0x62b440(0x4dc)],this[_0x62b440(0x1e0)]);return _0x4f8a1e[_0x62b440(0x4ba)](),_0x4f8a1e[_0x62b440(0x28b)](),_0x4f8a1e;}['onRemoteRej'](_0x1404d0){var _0x224f60=_0x11fce6;return this[_0x224f60(0x495)](!!(_0x1404d0!=null&&_0x1404d0[_0x224f60(0x2e3)]));}['onRemoteRetry'](_0x555d4f){var _0x553e37=_0x11fce6;return this[_0x553e37(0x2a3)]>Rt?this[_0x553e37(0x1f3)]():(this[_0x553e37(0x4f0)]=bt(this[_0x553e37(0x2a3)],{'timeout':this[_0x553e37(0x2a3)],'reqId':_0x555d4f[_0x553e37(0x2ac)]}),this[_0x553e37(0x17a)]=this[_0x553e37(0x4f0)][_0x553e37(0x1f7)](({reqId:_0x512283,timeout:_0x55ea1c})=>{var _0xb5087b=_0x553e37;this[_0xb5087b(0x4c0)](_0x512283,_0x55ea1c);}),this);}[_0x11fce6(0x1f3)](){var _0x18518e=_0x11fce6;return this[_0x18518e(0x4b3)](),this[_0x18518e(0x2cc)][_0x18518e(0x502)](exports[_0x18518e(0x4dd)],this['unitID'],this[_0x18518e(0x1bc)],this['_awaitingChangeset'],this[_0x18518e(0x4dc)],this[_0x18518e(0x1e0)]);}[_0x11fce6(0x214)](){return this;}[_0x11fce6(0x4a2)](){var _0x1e8b00=_0x11fce6;this[_0x1e8b00(0x1e0)][_0x1e8b00(0x2ab)](this[_0x1e8b00(0x1b6)]);}[_0x11fce6(0x495)](_0x30ea6a){var _0x371577=_0x11fce6;return this[_0x371577(0x4b3)](),this[_0x371577(0x2cc)][_0x371577(0x502)](exports[_0x371577(0x3ab)],this[_0x371577(0x4c8)],this[_0x371577(0x1bc)],null,this['_pendingMutations'],this[_0x371577(0x1e0)],_0x30ea6a);}['_resendWithTimeout'](_0x57248b,_0x523bb4){var _0x56a05b=_0x11fce6,_0x139e06;_0x57248b===((_0x139e06=this[_0x56a05b(0x1b6)])==null?void 0x0:_0x139e06[_0x56a05b(0x2ac)])&&(this[_0x56a05b(0x4a2)](),this['_resendTimeout']=_0x523bb4===0x0?0x3e8:_0x523bb4*0x2);}['_clearScheduledTask'](){var _0x14ef32=_0x11fce6,_0x481ee8;(_0x481ee8=this[_0x14ef32(0x17a)])==null||_0x481ee8[_0x14ef32(0x17b)](),this[_0x14ef32(0x2a3)]=0x0;}},exports['AwaitingWithPendingState']=ae([L(0x6,a[_0x11fce6(0x455)](a[_0x11fce6(0x187)])),L(0x7,a['Inject'](p[_0x11fce6(0x302)])),L(0x8,a[_0x11fce6(0x430)]),L(0x9,a[_0x11fce6(0x383)]),L(0xa,p[_0x11fce6(0x2e6)]),L(0xb,a[_0x11fce6(0x285)]),L(0xc,a[_0x11fce6(0x37f)](q))],exports[_0x11fce6(0x45a)]),exports[_0x11fce6(0x3ab)]=class extends ce{constructor(_0x4f23dc,_0xb7b4cd,_0x27e425,_0x911c7f,_0x4dabbe,_0x319b9b=!0x1,_0x2d3f76,_0x535e4a,_0x145e69,_0x721289,_0x4bc9ff,_0x4e5d92,_0x76ec18){var _0x350ad9=_0x11fce6;super(_0x4f23dc,_0xb7b4cd,_0x27e425,_0x911c7f,_0x4dabbe,_0x535e4a,_0x145e69,_0x721289,_0x76ec18),A(this,_0x350ad9(0x1d2),_0x350ad9(0x3e5)),(this[_0x350ad9(0x3cf)]=_0x319b9b,this[_0x350ad9(0x41b)]=_0x2d3f76,this[_0x350ad9(0x258)]=_0x4bc9ff,this[_0x350ad9(0x41f)]=_0x4e5d92,this[_0x350ad9(0x500)]=_0x76ec18,this[_0x350ad9(0x36d)](),this[_0x350ad9(0x42e)](),this['_disableEditing']());}[_0x11fce6(0x46f)](){return this;}['onRemoteChangeset'](){return this;}[_0x11fce6(0x471)](){return this;}[_0x11fce6(0x34e)](){return this;}[_0x11fce6(0x334)](){return this;}[_0x11fce6(0x1f3)](){return this;}[_0x11fce6(0x214)](){return this;}['resend'](){var _0x1b3547=_0x11fce6;throw new Error(_0x1b3547(0x265));}[_0x11fce6(0x42e)](){var _0x705d58=_0x11fce6,_0x4b0bdc;(_0x4b0bdc=this[_0x705d58(0x32a)])==null||_0x4b0bdc[_0x705d58(0x30d)](this[_0x705d58(0x4c8)],this[_0x705d58(0x1bc)],null,[]);}[_0x11fce6(0x36d)](){var _0x22678a=_0x11fce6;this['_isPermissionRej']?this[_0x22678a(0x41f)][_0x22678a(0x19f)]({'id':Z[_0x22678a(0x3c1)]}):this['_collaborationUIEventService'][_0x22678a(0x19f)]({'id':Z[_0x22678a(0x3e4)]});}[_0x11fce6(0x340)](){var _0x2ab3b4=_0x11fce6;this[_0x2ab3b4(0x41b)][_0x2ab3b4(0x345)](new X['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},exports[_0x11fce6(0x3ab)]=ae([L(0x6,a[_0x11fce6(0x455)](a[_0x11fce6(0x245)])),L(0x7,a[_0x11fce6(0x430)]),L(0x8,a[_0x11fce6(0x285)]),L(0x9,a['Inject'](p[_0x11fce6(0x302)])),L(0xa,a[_0x11fce6(0x455)](a[_0x11fce6(0x2ce)])),L(0xb,a[_0x11fce6(0x455)](ee)),L(0xc,a[_0x11fce6(0x37f)](q))],exports['ConflictState']),exports[_0x11fce6(0x4dd)]=class extends ce{constructor(_0x2e01a7,_0xb03334,_0x3f78ae,_0xd74f5c,_0x30980f,_0x3fd27f,_0x469f08,_0x445671,_0x530407,_0x5f1159){var _0x2425c2=_0x11fce6;super(_0x2e01a7,_0xb03334,_0x3f78ae,_0xd74f5c,_0x30980f,_0x445671,_0x530407,_0x469f08,_0x5f1159),A(this,_0x2425c2(0x1d2),_0x2425c2(0x3ef)),this[_0x2425c2(0x2cc)]=_0x3fd27f;}[_0x11fce6(0x46f)](_0x487ea8){var _0x11b87f=_0x11fce6;return this[_0x11b87f(0x4dc)]['push'](_0x487ea8),this['_updateLocalCache'](),this;}[_0x11fce6(0x254)](_0x1648f3){var _0x162f3b=_0x11fce6;throw new Error(_0x162f3b(0x401));}[_0x11fce6(0x471)](){var _0x267c5b=_0x11fce6;throw new Error(_0x267c5b(0x27b));}[_0x11fce6(0x34e)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x11fce6(0x334)](){return this;}[_0x11fce6(0x1f3)](){return this;}[_0x11fce6(0x214)](){var _0x32dd7f=_0x11fce6;const {_injector:_0x33fc36,_pendingMutations:_0x7a2d74,_awaitingChangeset:_0x232d54,unitID:_0x41e3bb,_handler:_0x3895d8,type:_0x30c959}=this,_0x3774ab=Ot(_0x33fc36,_0x41e3bb,_0x30c959,_0x232d54,_0x7a2d74,_0x3895d8);return _0x3774ab instanceof exports[_0x32dd7f(0x182)]?_0x3774ab[_0x32dd7f(0x4ba)]():(_0x3774ab instanceof exports['AwaitingWithPendingState']||_0x3774ab instanceof exports[_0x32dd7f(0x44f)])&&_0x3774ab[_0x32dd7f(0x4a2)](),_0x3774ab;}[_0x11fce6(0x4a2)](){var _0x20295c=_0x11fce6;throw new Error(_0x20295c(0x384));}},exports[_0x11fce6(0x4dd)]=ae([L(0x5,a[_0x11fce6(0x455)](a[_0x11fce6(0x187)])),L(0x6,a[_0x11fce6(0x455)](p[_0x11fce6(0x302)])),L(0x7,a[_0x11fce6(0x430)]),L(0x8,a['IUndoRedoService']),L(0x9,a[_0x11fce6(0x37f)](q))],exports[_0x11fce6(0x4dd)]),exports[_0x11fce6(0x4c7)]=class extends ce{constructor(_0x4962fe,_0x50661e,_0x14835e,_0x88b8b7,_0x36c5d4,_0xc8b7d6,_0x100ea6,_0x4482db,_0x47181b,_0x346ce9,_0x4d65e8,_0x3f2ed8,_0x28ce8e,_0x50c44e){var _0x49592d=_0x11fce6;super(_0x4962fe,_0x50661e,_0x14835e,_0x88b8b7,_0x100ea6,_0x4d65e8,_0x3f2ed8,_0x47181b,_0x50c44e),A(this,'status',_0x49592d(0x1f4)),(this[_0x49592d(0x3df)]=_0x36c5d4,this[_0x49592d(0x351)]=_0xc8b7d6,this[_0x49592d(0x2cc)]=_0x4482db,this[_0x49592d(0x2a4)]=_0x346ce9,this[_0x49592d(0x3e9)]=_0x28ce8e,this[_0x49592d(0x500)]=_0x50c44e);}[_0x11fce6(0x25d)](_0x1dbbfb){var _0x154628=_0x11fce6;try{const _0xc76a54=[..._0x1dbbfb,...this['_queuedRemoteChangesets']],_0x3f706a=[this[_0x154628(0x1b6)]||this[_0x154628(0x3df)]]['filter'](_0x5ce51d=>!!_0x5ce51d);let _0x12c0b7,_0x2afb70;if(_0x3f706a[_0x154628(0x373)]){const _0x33a052=this[_0x154628(0x3e9)][_0x154628(0x49f)](_0xc76a54,_0x3f706a,!0x1);if(!p['isTransformChangesetsSuccess'](_0x33a052))throw _0x33a052[_0x154628(0x26f)];_0x12c0b7=_0x33a052[_0x154628(0x1e4)],_0x2afb70=_0x33a052[_0x154628(0x31b)];}else _0x12c0b7=_0xc76a54,_0x2afb70=[];let _0x2d8033=this[_0x154628(0x4dc)];_0x12c0b7[_0x154628(0x485)](_0x13fc23=>{var _0x2a49bd=_0x154628;let _0x11c193;if(_0x2d8033[_0x2a49bd(0x373)]){const _0x346a43=this[_0x2a49bd(0x3e9)][_0x2a49bd(0x1a1)](_0x13fc23,_0x2d8033);if(!p[_0x2a49bd(0x2da)](_0x346a43))throw _0x346a43[_0x2a49bd(0x26f)];_0x11c193=_0x346a43[_0x2a49bd(0x1e4)],_0x2d8033=_0x346a43['m2Prime'];}else _0x11c193=_0x13fc23;this[_0x2a49bd(0x4a7)](_0x11c193);}),this[_0x154628(0x3df)]&&this[_0x154628(0x4d1)](),this[_0x154628(0x1b6)]&&_0x2afb70[_0x154628(0x373)]&&(_0x2afb70[0x0][_0x154628(0x488)]=this[_0x154628(0x1a7)]());let _0x338f8b;if(this[_0x154628(0x1b6)]&&_0x2d8033[_0x154628(0x373)]!==0x0)_0x338f8b=this[_0x154628(0x2cc)][_0x154628(0x502)](exports['AwaitingWithPendingState'],this[_0x154628(0x4c8)],this[_0x154628(0x1bc)],_0x2afb70[0x0],_0x2d8033,this[_0x154628(0x1e0)],void 0x0);else{if(this[_0x154628(0x1b6)]&&_0x2d8033[_0x154628(0x373)]===0x0)_0x2afb70[0x0][_0x154628(0x488)]=this[_0x154628(0x1a7)](),_0x338f8b=this[_0x154628(0x2cc)][_0x154628(0x502)](exports[_0x154628(0x44f)],this[_0x154628(0x4c8)],this['type'],_0x2afb70[0x0],this[_0x154628(0x1e0)]);else{if(_0x2d8033[_0x154628(0x373)]!==0x0){const _0x57e68e=this[_0x154628(0x2cc)][_0x154628(0x502)](exports[_0x154628(0x182)],this[_0x154628(0x4c8)],this[_0x154628(0x1bc)],_0x2d8033,this[_0x154628(0x1e0)]);_0x57e68e[_0x154628(0x4ba)](),_0x338f8b=_0x57e68e;}else _0x338f8b=this[_0x154628(0x2cc)][_0x154628(0x502)](exports[_0x154628(0x44d)],this['unitID'],this[_0x154628(0x1bc)],this[_0x154628(0x1e0)]);}}return _0x338f8b[_0x154628(0x28b)](),_0x338f8b;}catch(_0x487c7c){return this[_0x154628(0x2a4)]['error'](_0x154628(0x411),_0x154628(0x2a1),_0x487c7c),this['_injector'][_0x154628(0x502)](exports[_0x154628(0x3ab)],this[_0x154628(0x4c8)],this[_0x154628(0x1bc)],this[_0x154628(0x1b6)],this[_0x154628(0x4dc)],this[_0x154628(0x1e0)],!0x1);}}[_0x11fce6(0x4a2)](){var _0x365922=_0x11fce6;throw new Error(_0x365922(0x2b5));}[_0x11fce6(0x46f)](_0x123895){var _0x3ff60e=_0x11fce6;return this[_0x3ff60e(0x4dc)]['push'](_0x123895),this;}[_0x11fce6(0x254)](_0x114cd5){var _0x4f18c2=_0x11fce6;return this[_0x4f18c2(0x351)][_0x4f18c2(0x34d)](_0x114cd5),this;}[_0x11fce6(0x471)](_0x106483){var _0x1b53c6=_0x11fce6;if(this[_0x1b53c6(0x1b6)])return this[_0x1b53c6(0x3df)]=this['_awaitingChangeset'],this[_0x1b53c6(0x1b6)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x34836c){var _0x5bfacd=_0x11fce6;return this[_0x5bfacd(0x495)](!!(_0x34836c!=null&&_0x34836c[_0x5bfacd(0x2e3)]));}[_0x11fce6(0x334)](){return this;}[_0x11fce6(0x1f3)](){var _0x15641c=_0x11fce6;return this[_0x15641c(0x2cc)][_0x15641c(0x502)](exports[_0x15641c(0x4dd)],this[_0x15641c(0x4c8)],this[_0x15641c(0x1bc)],this[_0x15641c(0x1b6)],this[_0x15641c(0x4dc)],this[_0x15641c(0x1e0)]);}[_0x11fce6(0x214)](){return this;}[_0x11fce6(0x495)](_0x46935b){var _0xde290a=_0x11fce6;return this[_0xde290a(0x2cc)]['createInstance'](exports[_0xde290a(0x3ab)],this[_0xde290a(0x4c8)],this['type'],this['_awaitingChangeset'],this[_0xde290a(0x4dc)],this[_0xde290a(0x1e0)],_0x46935b);}},exports[_0x11fce6(0x4c7)]=ae([L(0x7,a[_0x11fce6(0x455)](a[_0x11fce6(0x187)])),L(0x8,a[_0x11fce6(0x455)](p[_0x11fce6(0x302)])),L(0x9,a['ILogService']),L(0xa,a[_0x11fce6(0x430)]),L(0xb,a[_0x11fce6(0x285)]),L(0xc,p[_0x11fce6(0x2e6)]),L(0xd,a['Optional'](q))],exports['FetchingMissState']);function Ot(_0x3d8467,_0x3cbf4e,_0x4cbd35,_0x3039ba,_0x5e1b27,_0x3d6a33){var _0x12d0e0=_0x11fce6;return _0x3039ba&&_0x5e1b27[_0x12d0e0(0x373)]?_0x3d8467[_0x12d0e0(0x502)](exports[_0x12d0e0(0x45a)],_0x3cbf4e,_0x4cbd35,_0x3039ba,_0x5e1b27,_0x3d6a33,void 0x0):_0x3039ba?_0x3d8467['createInstance'](exports[_0x12d0e0(0x44f)],_0x3cbf4e,_0x4cbd35,_0x3039ba,_0x3d6a33):_0x5e1b27[_0x12d0e0(0x373)]?_0x3d8467[_0x12d0e0(0x502)](exports[_0x12d0e0(0x182)],_0x3cbf4e,_0x4cbd35,_0x5e1b27,_0x3d6a33):_0x3d8467[_0x12d0e0(0x502)](exports[_0x12d0e0(0x44d)],_0x3cbf4e,_0x4cbd35,_0x3d6a33);}var vi=Object[_0x11fce6(0x394)],Fe=(_0x28e975,_0x340d41,_0x5b131d,_0xc1440f)=>{var _0x2817ba=_0x11fce6;for(var _0x10d7b6=_0xc1440f>0x1?void 0x0:_0xc1440f?vi(_0x340d41,_0x5b131d):_0x340d41,_0x5b2d56=_0x28e975[_0x2817ba(0x373)]-0x1,_0x5b1e0a;_0x5b2d56>=0x0;_0x5b2d56--)(_0x5b1e0a=_0x28e975[_0x5b2d56])&&(_0x10d7b6=_0x5b1e0a(_0x10d7b6)||_0x10d7b6);return _0x10d7b6;},j=(_0x1cd0d2,_0x2b4598)=>(_0x8a4e49,_0x330aa7)=>_0x2b4598(_0x8a4e49,_0x330aa7,_0x1cd0d2);exports[_0x11fce6(0x2cd)]=class extends a['RxDisposable']{constructor(_0x1c1197,_0x202bdf,_0x3b3dc8,_0x56e294,_0x384604,_0x1e826d,_0x3dee3c,_0x57355e,_0x321b4b,_0x516aed,_0x3acdd8,_0x5d4430,_0x397f44){var _0x7b1a78=_0x11fce6;super(),A(this,'_state$',new $[(_0x7b1a78(0x294))](null)),A(this,_0x7b1a78(0x2b8),this[_0x7b1a78(0x247)]['asObservable']()),A(this,_0x7b1a78(0x4ce)),A(this,'_collaborationPaused',!0x1),A(this,'_changesetSessionId',''),A(this,_0x7b1a78(0x2b9),0x0),A(this,_0x7b1a78(0x3fd),this[_0x7b1a78(0x2b8)]['pipe']($['map'](_0x1bc43c=>_0x1bc43c?_0x1bc43c[_0x7b1a78(0x1d2)]:Be['OFFLINE']),$[_0x7b1a78(0x41d)](0x1))),A(this,_0x7b1a78(0x47f),!0x1),A(this,_0x7b1a78(0x1da),[]),(this[_0x7b1a78(0x4c8)]=_0x1c1197,this['session']=_0x202bdf,this['_type']=_0x3b3dc8,this['_injector']=_0x56e294,this['_compressMutationService']=_0x384604,this[_0x7b1a78(0x258)]=_0x1e826d,this[_0x7b1a78(0x20b)]=_0x3dee3c,this[_0x7b1a78(0x376)]=_0x57355e,this['_logService']=_0x321b4b,this[_0x7b1a78(0x2fa)]=_0x516aed,this[_0x7b1a78(0x41b)]=_0x3acdd8,this[_0x7b1a78(0x18b)]=_0x5d4430,this['_localCacheService']=_0x397f44);}get['state'](){var _0x129331=_0x11fce6;return this[_0x129331(0x4ce)];}async[_0x11fce6(0x301)](){var _0x4eb4a4=_0x11fce6;if(this[_0x4eb4a4(0x1dc)])throw new Error(_0x4eb4a4(0x45e));await this['_init']();}[_0x11fce6(0x4d3)](){var _0x5a948f=_0x11fce6;return this[_0x5a948f(0x436)]=!0x0,a[_0x5a948f(0x29f)](()=>{var _0x5a4004=_0x5a948f;this[_0x5a4004(0x436)]=!0x1,this[_0x5a4004(0x482)]();});}[_0x11fce6(0x3d2)](_0x5d70a4){var _0x1eee35=_0x11fce6;this[_0x1eee35(0x1ea)](_0x5d70a4);}[_0x11fce6(0x30e)](_0x37387e){var _0x3ded23=_0x11fce6;this['_state']=_0x37387e,this[_0x3ded23(0x247)][_0x3ded23(0x1a9)](_0x37387e);}async['_init'](){var _0x40df67=_0x11fce6,_0x32c719;this[_0x40df67(0x30e)](await this[_0x40df67(0x491)]()),this[_0x40df67(0x18b)]&&((_0x32c719=this[_0x40df67(0x18b)])==null||_0x32c719[_0x40df67(0x388)](this[_0x40df67(0x4c8)]),this[_0x40df67(0x33f)](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x40df67(0x1f7)](_0xec45e7=>{var _0x174889=_0x40df67;this[_0x174889(0x2a4)][_0x174889(0x4ca)](_0x174889(0x410),_0x174889(0x469),_0xec45e7),_0xec45e7===je[_0x174889(0x339)]?(this['_eventService'][_0x174889(0x19f)]({'id':Z['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x174889(0x345)](new X[(_0x174889(0x3e6))](this[_0x174889(0x4c8)])['id'],!0x1),this[_0x174889(0x41b)][_0x174889(0x17e)](!0x1)):(this['_permissionService'][_0x174889(0x345)](new X['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x5394a9=!0x1;return this[_0x40df67(0x33f)](this[_0x40df67(0x3cc)][_0x40df67(0x1fb)]['subscribe'](_0x135893=>{var _0x4c9251=_0x40df67;_0x135893===re[_0x4c9251(0x378)]?this[_0x4c9251(0x487)](_0x5394a9):_0x135893===re[_0x4c9251(0x2fe)]&&(_0x5394a9=!0x0,this[_0x4c9251(0x4c1)]());})),this[_0x40df67(0x33f)](this['session']['event$'][_0x40df67(0x1f7)](_0xaf23a7=>{var _0x47545c=_0x40df67;try{switch(_0xaf23a7[_0x47545c(0x259)]){case p['CollaborationEvent'][_0x47545c(0x27f)]:{this[_0x47545c(0x336)](p['parseProtocolChangeset'](_0xaf23a7['data']));break;}case p[_0x47545c(0x26d)]['CHANGESET_ACK']:{this[_0x47545c(0x2d7)](_0xaf23a7[_0x47545c(0x4f9)]);break;}case p['CollaborationEvent'][_0x47545c(0x1fe)]:{this[_0x47545c(0x3a8)]();break;}case p[_0x47545c(0x26d)][_0x47545c(0x4a5)]:{this[_0x47545c(0x4cf)](_0xaf23a7[_0x47545c(0x4f9)]);break;}case p[_0x47545c(0x26d)][_0x47545c(0x307)]:{this[_0x47545c(0x217)](_0xaf23a7[_0x47545c(0x4f9)][_0x47545c(0x2a9)][_0x47545c(0x42a)](_0x4fdae5=>p[_0x47545c(0x4bf)](_0x4fdae5)));break;}case p[_0x47545c(0x26d)][_0x47545c(0x1ae)]:{this[_0x47545c(0x3a8)]({'isPermissionRej':!0x0});break;}case p[_0x47545c(0x26d)]['UNISCRIPT_RUN']:break;}}catch(_0x113cf0){throw console[_0x47545c(0x26f)](_0x47545c(0x17c),_0x113cf0),_0x113cf0;}})),this['_state'];}[_0x11fce6(0x2f3)](){var _0x14288f=_0x11fce6;this[_0x14288f(0x47f)]=!0x1;}[_0x11fce6(0x1cb)](){var _0x322cf9=_0x11fce6;if(this[_0x322cf9(0x47f)])throw new Error(_0x322cf9(0x3dd));this[_0x322cf9(0x47f)]=!0x0;}[_0x11fce6(0x1ea)](_0x4ae45f){var _0x4d290a=_0x11fce6;this['_lockTransition'](),this['_updateState'](this[_0x4d290a(0x4ce)]['appendMutation'](_0x4ae45f)),this[_0x4d290a(0x2f3)]();}['_onRemoteChangeset'](_0x343c59){var _0x4d7a6b=_0x11fce6;if(!(_0x343c59['revision']<=this['_revisionService'][_0x4d7a6b(0x4fe)](this[_0x4d7a6b(0x4c8)]))){if(this['_collaborationPaused']){this[_0x4d7a6b(0x1da)][_0x4d7a6b(0x34d)](_0x343c59);return;}this[_0x4d7a6b(0x1d3)](_0x343c59);}}[_0x11fce6(0x482)](){var _0x5f43d3=_0x11fce6;this[_0x5f43d3(0x1da)][_0x5f43d3(0x485)](_0xf5d83=>this[_0x5f43d3(0x1d3)](_0xf5d83)),this[_0x5f43d3(0x1da)]=[];}[_0x11fce6(0x1d3)](_0x4a8b72){var _0x5901cf=_0x11fce6;const _0x56c2c2=this[_0x5901cf(0x493)][_0x5901cf(0x24e)][_0x5901cf(0x299)](this[_0x5901cf(0x493)][_0x5901cf(0x24e)]['getInterceptPoints']()[_0x5901cf(0x22b)])(_0x4a8b72[_0x5901cf(0x46d)],null)||_0x4a8b72[_0x5901cf(0x46d)],_0x11fd7b={..._0x4a8b72,'mutations':_0x56c2c2};this['_lockTransition'](),this[_0x5901cf(0x30e)](this[_0x5901cf(0x4ce)][_0x5901cf(0x254)](_0x11fd7b)),this[_0x5901cf(0x2f3)]();}['_onRemoteACK'](_0x579264){var _0x5806f6=_0x11fce6;this['_lockTransition'](),this[_0x5806f6(0x30e)](this[_0x5806f6(0x4ce)][_0x5806f6(0x471)](_0x579264)),this[_0x5806f6(0x2f3)]();}[_0x11fce6(0x3a8)](_0x2e0a48){var _0x215ccc=_0x11fce6;this[_0x215ccc(0x1cb)](),this['_updateState'](this['_state']['onRemoteRej'](_0x2e0a48)),this[_0x215ccc(0x2f3)]();}[_0x11fce6(0x4cf)](_0x5f5691){var _0x48a095=_0x11fce6;this[_0x48a095(0x1cb)](),this[_0x48a095(0x30e)](this['_state'][_0x48a095(0x334)](_0x5f5691)),this[_0x48a095(0x2f3)]();}[_0x11fce6(0x217)](_0x4c889d){var _0x43aa45=_0x11fce6;if(!(this[_0x43aa45(0x4ce)]instanceof exports[_0x43aa45(0x4c7)]))throw new TypeError(_0x43aa45(0x4d4));const _0x3ce3b9=_0x4c889d['map'](_0xb2ae1=>{var _0x1c08e1=_0x43aa45;const _0x369558=this[_0x1c08e1(0x493)][_0x1c08e1(0x24e)]['fetchThroughInterceptors'](this[_0x1c08e1(0x493)][_0x1c08e1(0x24e)]['getInterceptPoints']()[_0x1c08e1(0x22b)])(_0xb2ae1['mutations'],null)||_0xb2ae1[_0x1c08e1(0x46d)];return{..._0xb2ae1,'mutations':_0x369558};});this[_0x43aa45(0x1cb)](),this[_0x43aa45(0x30e)](this[_0x43aa45(0x4ce)][_0x43aa45(0x25d)](_0x3ce3b9)),this[_0x43aa45(0x2f3)]();}[_0x11fce6(0x4c1)](){var _0x5a49a8=_0x11fce6;this[_0x5a49a8(0x1cb)](),this[_0x5a49a8(0x30e)](this[_0x5a49a8(0x4ce)][_0x5a49a8(0x1f3)]()),this[_0x5a49a8(0x2f3)]();}['_toggleOnline'](_0x38c80c=!0x1){var _0x359542=_0x11fce6;this['_lockTransition'](),this[_0x359542(0x30e)](this['_state'][_0x359542(0x214)]()),this[_0x359542(0x2f3)]();const _0x2eda92=this[_0x359542(0x4ce)];_0x38c80c&&_0x2eda92 instanceof exports[_0x359542(0x44d)]&&(this['_lockTransition'](),this['_updateState'](_0x2eda92[_0x359542(0x314)]()),this[_0x359542(0x2f3)]());}async[_0x11fce6(0x491)](){return new Promise(_0x5a7b56=>{var _0xcb5e50=_0x450d;this['session'][_0xcb5e50(0x1fb)][_0xcb5e50(0x18e)]($[_0xcb5e50(0x269)](0x1))[_0xcb5e50(0x1f7)](async _0x26d1c9=>{_0x5a7b56(await this['_createInitialStateImpl'](_0x26d1c9===re['ONLINE']));});});}[_0x11fce6(0x292)](){var _0x155a38=_0x11fce6;const _0x5a6505=this[_0x155a38(0x4c8)];return{'onStateChange':(_0x57915f,_0x51b929)=>{var _0x141100=_0x155a38;if(_0x57915f!==this[_0x141100(0x4ce)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x57915f[_0x141100(0x1d2)]+'\x0aAfter:\x20'+_0x51b929['status']+_0x141100(0x43d)+this[_0x141100(0x4ce)][_0x141100(0x1d2)]);this['_updateState'](_0x51b929);},'onSendChangeset':_0x167d39=>{var _0x20d86f=_0x155a38;_0x167d39[_0x20d86f(0x2b7)]||(_0x167d39['sid']=this[_0x20d86f(0x27a)],_0x167d39['reqId']=++this[_0x20d86f(0x2b9)]);const _0x8d2786={'eventID':p[_0x20d86f(0x26d)][_0x20d86f(0x47c)],'data':{'unitID':_0x167d39['unitID'],'unitType':this['_type'],'changeset':_0x167d39,'memberID':this['session'][_0x20d86f(0x227)]()}};this[_0x20d86f(0x3cc)][_0x20d86f(0x4b1)](_0x8d2786,this['unitID']);},'onMissingChangesets':({from:_0x3e28fa,to:_0x547736})=>{var _0x3ef14c=_0x155a38;this['_logService']['debug'](_0x3ef14c(0x410),'fetching\x20missing\x20changesets\x20from\x20'+_0x3e28fa+'\x20to\x20'+_0x547736);const _0x1cd992={'eventID':p[_0x3ef14c(0x26d)]['FETCH_MISSING'],'data':{'unitID':_0x5a6505,'unitType':this[_0x3ef14c(0x3f4)],'from':_0x3e28fa,'to':_0x547736}};this[_0x3ef14c(0x3cc)][_0x3ef14c(0x4b1)](_0x1cd992,this[_0x3ef14c(0x4c8)]);}};}async['_createInitialStateImpl'](_0x4bb236){var _0x3808b2=_0x11fce6,_0xa9b5d2,_0x58cc2e,_0x578e68;const _0x3152dd=await((_0xa9b5d2=this['_localCacheService'])==null?void 0x0:_0xa9b5d2[_0x3808b2(0x4e5)](this[_0x3808b2(0x4c8)])),_0x2ac7e9=(_0x58cc2e=_0x3152dd==null?void 0x0:_0x3152dd[_0x3808b2(0x46d)])!=null?_0x58cc2e:[],_0x212016=(_0x578e68=_0x3152dd==null?void 0x0:_0x3152dd[_0x3808b2(0x2e4)])!=null?_0x578e68:null,_0x510a37=!!(_0x212016!=null&&_0x212016[_0x3808b2(0x2b7)])&&!!(_0x212016!=null&&_0x212016['reqId']);this[_0x3808b2(0x27a)]=_0x510a37?_0x212016[_0x3808b2(0x2b7)]:p['uuidv4'](),this[_0x3808b2(0x2b9)]=_0x510a37?_0x212016[_0x3808b2(0x2ac)]:0x0;const _0x34e774=this[_0x3808b2(0x4c8)];try{this[_0x3808b2(0x2ff)](_0x212016,_0x2ac7e9);}catch(_0x1bfbaa){this[_0x3808b2(0x2a4)][_0x3808b2(0x26f)](_0x1bfbaa);}const _0x188add=this[_0x3808b2(0x292)]();if(_0x4bb236){const _0x4afb2b=Ot(this[_0x3808b2(0x2cc)],_0x34e774,this['_type'],_0x212016,_0x2ac7e9,_0x188add);return _0x4afb2b instanceof exports['PendingState']?_0x4afb2b['_schedule']():(_0x4afb2b instanceof exports[_0x3808b2(0x45a)]||_0x4afb2b instanceof exports[_0x3808b2(0x44f)])&&_0x4afb2b[_0x3808b2(0x4a2)](),_0x4afb2b;}return this[_0x3808b2(0x2cc)][_0x3808b2(0x502)](exports[_0x3808b2(0x4dd)],_0x34e774,this[_0x3808b2(0x3f4)],_0x212016,_0x2ac7e9,_0x188add);}[_0x11fce6(0x2ff)](_0x778597,_0x25f8fe){var _0x644116=_0x11fce6,_0x58d2fc,_0x597a16;const _0x5a5a48=this[_0x644116(0x493)][_0x644116(0x24e)][_0x644116(0x299)](this[_0x644116(0x493)][_0x644116(0x24e)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x58d2fc=_0x5a5a48((_0x778597==null?void 0x0:_0x778597[_0x644116(0x46d)])||[],null))==null||_0x58d2fc[_0x644116(0x485)](_0x5363a0=>this['_commandService'][_0x644116(0x437)](_0x5363a0['id'],_0x5363a0[_0x644116(0x2f5)])),(_0x597a16=_0x5a5a48(_0x25f8fe||[],null))==null||_0x597a16['forEach'](_0x3b989a=>this[_0x644116(0x2fa)][_0x644116(0x437)](_0x3b989a['id'],_0x3b989a[_0x644116(0x2f5)]));}},exports[_0x11fce6(0x2cd)]=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0x11fce6(0x455)](p['CompressMutationService'])),j(0x5,a[_0x11fce6(0x455)](a[_0x11fce6(0x2ce)])),j(0x6,a[_0x11fce6(0x455)](p['RevisionService'])),j(0x7,a[_0x11fce6(0x455)](ee)),j(0x8,a[_0x11fce6(0x383)]),j(0x9,a[_0x11fce6(0x430)]),j(0xa,a[_0x11fce6(0x245)]),j(0xb,a[_0x11fce6(0x37f)](de)),j(0xc,a[_0x11fce6(0x37f)](q))],exports['CollaborationEntity']),exports[_0x11fce6(0x453)]=class extends exports[_0x11fce6(0x2cd)]{constructor(_0x55b97b,_0x5d8ce5,_0x265427,_0x34cbdd,_0x318d53,_0x322719,_0x5c54c,_0x4b1fad,_0x3a3492,_0x264695,_0x409f26,_0x347208,_0x2cccd0){var _0x5b54a5=_0x11fce6;super(_0x55b97b,_0x265427,_0x5d8ce5,_0x34cbdd,_0x318d53,_0x322719,_0x5c54c,_0x4b1fad,_0x3a3492,_0x264695,_0x409f26,_0x347208,_0x2cccd0),A(this,_0x5b54a5(0x271),null),(this[_0x5b54a5(0x4c8)]=_0x55b97b,this['type']=_0x5d8ce5);}['addHandlerCallback'](_0x25eeb0){var _0x1bdc04=_0x11fce6;this[_0x1bdc04(0x271)]=_0x25eeb0;}[_0x11fce6(0x22e)](){var _0x3db39b=_0x11fce6;this[_0x3db39b(0x271)]=null,super['dispose']();}[_0x11fce6(0x292)](){var _0x5d40c3=_0x11fce6;const _0x25aa99=super['_createHandler']();return _0x25aa99[_0x5d40c3(0x397)]=_0x4aa3c8=>{var _0x14f76d=_0x5d40c3,_0xa90880,_0x173cec;return(_0x173cec=(_0xa90880=this[_0x14f76d(0x271)])==null?void 0x0:_0xa90880[_0x14f76d(0x397)])==null?void 0x0:_0x173cec[_0x14f76d(0x396)](_0xa90880,_0x4aa3c8);},_0x25aa99[_0x5d40c3(0x18c)]=_0x2f78be=>{var _0x3e8d39=_0x5d40c3,_0x3d414f,_0x1ea37c;return(_0x1ea37c=(_0x3d414f=this[_0x3e8d39(0x271)])==null?void 0x0:_0x3d414f[_0x3e8d39(0x18c)])==null?void 0x0:_0x1ea37c['call'](_0x3d414f,_0x2f78be);},_0x25aa99[_0x5d40c3(0x223)]=_0x2d4260=>{var _0x583312=_0x5d40c3,_0x47fe86,_0x4fa211;return(_0x4fa211=(_0x47fe86=this[_0x583312(0x271)])==null?void 0x0:_0x47fe86[_0x583312(0x223)])==null?void 0x0:_0x4fa211[_0x583312(0x396)](_0x47fe86,_0x2d4260);},_0x25aa99[_0x5d40c3(0x43e)]=_0x4c8004=>{var _0x48508e=_0x5d40c3,_0x266ae7,_0x3b8f60;return(_0x3b8f60=(_0x266ae7=this[_0x48508e(0x271)])==null?void 0x0:_0x266ae7[_0x48508e(0x43e)])==null?void 0x0:_0x3b8f60[_0x48508e(0x396)](_0x266ae7,_0x4c8004);},_0x25aa99[_0x5d40c3(0x39e)]=_0x5e3bc6=>{var _0x9f1e13=_0x5d40c3,_0x4a3b92,_0x2cacce,_0x487550;if(!((_0x4a3b92=this['_handlerCallback'])!=null&&_0x4a3b92[_0x9f1e13(0x39e)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x487550=(_0x2cacce=this[_0x9f1e13(0x271)])==null?void 0x0:_0x2cacce[_0x9f1e13(0x39e)])==null?void 0x0:_0x487550[_0x9f1e13(0x396)](_0x2cacce,_0x5e3bc6);},_0x25aa99[_0x5d40c3(0x195)]=_0x5e1968=>{var _0x367fd7=_0x5d40c3,_0x4217be,_0x130295,_0x458092;if(!((_0x4217be=this[_0x367fd7(0x271)])!=null&&_0x4217be[_0x367fd7(0x195)]))throw new Error(_0x367fd7(0x42d));return(_0x458092=(_0x130295=this[_0x367fd7(0x271)])==null?void 0x0:_0x130295[_0x367fd7(0x195)])==null?void 0x0:_0x458092[_0x367fd7(0x396)](_0x130295,_0x5e1968);},_0x25aa99;}async[_0x11fce6(0x3c5)](){var _0xa70617=_0x11fce6;const _0x595e24=await super[_0xa70617(0x3c5)]();return this[_0xa70617(0x33f)](this['_commandService'][_0xa70617(0x461)]((_0x5278ff,_0x147a03)=>{var _0x57d546=_0xa70617;if(_0x5278ff[_0x57d546(0x1bc)]!==a[_0x57d546(0x2ad)][_0x57d546(0x20d)]||_0x147a03!=null&&_0x147a03['fromCollab']||_0x147a03!=null&&_0x147a03[_0x57d546(0x324)]||_0x5278ff['id']===ht[_0x57d546(0x363)]['id'])return;const _0x5662c5=_0x5278ff[_0x57d546(0x2f5)];if((_0x5662c5==null?void 0x0:_0x5662c5[_0x57d546(0x304)])!==this[_0x57d546(0x4c8)])return;const _0x4d345a=_0x5278ff,_0xd1ad8c=this['_compressMutationService'][_0x57d546(0x24e)][_0x57d546(0x299)](this[_0x57d546(0x493)][_0x57d546(0x24e)][_0x57d546(0x44a)]()[_0x57d546(0x2d2)])([_0x4d345a],null)||[_0x4d345a];this[_0x57d546(0x1ea)](_0xd1ad8c[0x0]);})),_0x595e24;}},exports[_0x11fce6(0x453)]=Fe([j(0x3,a[_0x11fce6(0x455)](a['Injector'])),j(0x4,a[_0x11fce6(0x455)](p[_0x11fce6(0x1db)])),j(0x5,a[_0x11fce6(0x455)](a['LocaleService'])),j(0x6,a[_0x11fce6(0x455)](p[_0x11fce6(0x302)])),j(0x7,a[_0x11fce6(0x455)](ee)),j(0x8,a[_0x11fce6(0x383)]),j(0x9,a[_0x11fce6(0x430)]),j(0xa,a[_0x11fce6(0x245)]),j(0xb,a[_0x11fce6(0x37f)](de)),j(0xc,a[_0x11fce6(0x37f)](q))],exports[_0x11fce6(0x453)]),exports[_0x11fce6(0x3b0)]=class extends exports[_0x11fce6(0x2cd)]{constructor(_0x4f55b9,_0x2bff19,_0x3ee211,_0x164f25,_0x7be6f4,_0x528d58,_0x5759f0,_0x426711,_0xf13ebd,_0x28fae4,_0x290371,_0x40cb33,_0x4daec4,_0x40b869){var _0x5b559e=_0x11fce6;super(_0x4f55b9,_0x3ee211,_0x2bff19,_0x164f25,_0x7be6f4,_0x528d58,_0x5759f0,_0xf13ebd,_0x28fae4,_0x290371,_0x40cb33,_0x4daec4,_0x40b869),this[_0x5b559e(0x4c8)]=_0x4f55b9,this[_0x5b559e(0x1bc)]=_0x2bff19,this['_sheetTransformSelectionsService']=_0x426711;}[_0x11fce6(0x292)](){var _0x39ad69=_0x11fce6;const _0x104945=super[_0x39ad69(0x292)]();return _0x104945[_0x39ad69(0x223)]=_0x2ad9de=>this[_0x39ad69(0x474)][_0x39ad69(0x194)](_0x2ad9de),_0x104945;}async[_0x11fce6(0x3c5)](){var _0xb8f622=_0x11fce6;const _0x693216=await super[_0xb8f622(0x3c5)]();return this['disposeWithMe'](this[_0xb8f622(0x2fa)][_0xb8f622(0x461)]((_0x527ae9,_0x1c7a7c)=>{var _0x17d46f=_0xb8f622;if(_0x527ae9[_0x17d46f(0x1bc)]!==a['CommandType'][_0x17d46f(0x20d)]||_0x1c7a7c!=null&&_0x1c7a7c['fromCollab']||_0x1c7a7c!=null&&_0x1c7a7c[_0x17d46f(0x324)])return;const _0xa95580=_0x527ae9[_0x17d46f(0x2f5)];if((_0xa95580==null?void 0x0:_0xa95580[_0x17d46f(0x304)])!==this[_0x17d46f(0x4c8)])return;const _0x133441=_0x527ae9,_0x927b62=this['_compressMutationService']['interceptor'][_0x17d46f(0x299)](this[_0x17d46f(0x493)][_0x17d46f(0x24e)][_0x17d46f(0x44a)]()['COMPRESS_MUTATION_SEND'])([_0x133441],null)||[_0x133441];this[_0x17d46f(0x1ea)](_0x927b62[0x0]);})),_0x693216;}},exports[_0x11fce6(0x3b0)]=Fe([j(0x3,a[_0x11fce6(0x455)](a['Injector'])),j(0x4,a[_0x11fce6(0x455)](p['CompressMutationService'])),j(0x5,a[_0x11fce6(0x455)](a[_0x11fce6(0x2ce)])),j(0x6,a[_0x11fce6(0x455)](p[_0x11fce6(0x302)])),j(0x7,a[_0x11fce6(0x455)](exports[_0x11fce6(0x1a0)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x11fce6(0x383)]),j(0xa,a['ICommandService']),j(0xb,a[_0x11fce6(0x245)]),j(0xc,a[_0x11fce6(0x37f)](de)),j(0xd,a[_0x11fce6(0x37f)](q))],exports[_0x11fce6(0x3b0)]);var Si=Object[_0x11fce6(0x394)],fi=(_0x487ac1,_0x5d9f9a,_0x13a267,_0xe9457)=>{for(var _0x4c5c4d=_0xe9457>0x1?void 0x0:_0xe9457?Si(_0x5d9f9a,_0x13a267):_0x5d9f9a,_0x28f2c2=_0x487ac1['length']-0x1,_0x3b4612;_0x28f2c2>=0x0;_0x28f2c2--)(_0x3b4612=_0x487ac1[_0x28f2c2])&&(_0x4c5c4d=_0x3b4612(_0x4c5c4d)||_0x4c5c4d);return _0x4c5c4d;},Se=(_0x3290aa,_0x1321ce)=>(_0x26543b,_0x68786f)=>_0x1321ce(_0x26543b,_0x68786f,_0x3290aa);exports[_0x11fce6(0x480)]=class extends a[_0x11fce6(0x29a)]{constructor(_0x32e20c,_0x26c38b,_0x5ec5b1,_0x120aa2){var _0x2f4dab=_0x11fce6,_0x10eda7;super(),A(this,_0x2f4dab(0x1c3),new Map()),A(this,_0x2f4dab(0x25b),new $[(_0x2f4dab(0x1b8))]()),A(this,_0x2f4dab(0x33d),this[_0x2f4dab(0x25b)]['asObservable']()),(this[_0x2f4dab(0x2cc)]=_0x32e20c,this[_0x2f4dab(0x2e8)]=_0x26c38b,this[_0x2f4dab(0x4e8)]=_0x5ec5b1,this[_0x2f4dab(0x2b3)]=_0x120aa2,((_0x10eda7=this['_configService'][_0x2f4dab(0x348)](G))==null?void 0x0:_0x10eda7['enableCollaboration'])!==!0x1&&this[_0x2f4dab(0x3c5)]());}[_0x11fce6(0x22e)](){var _0x253cc9=_0x11fce6;super['dispose'](),this[_0x253cc9(0x1c3)][_0x253cc9(0x485)](_0x30019c=>_0x30019c[_0x253cc9(0x22e)]()),this[_0x253cc9(0x1c3)][_0x253cc9(0x1c9)]();}[_0x11fce6(0x435)](_0x11178a){var _0x296f20=_0x11fce6,_0x5a56bb;return(_0x5a56bb=this[_0x296f20(0x1c3)]['get'](_0x11178a))!=null?_0x5a56bb:null;}[_0x11fce6(0x4af)](_0x3ece3){var _0x13f335=_0x11fce6;const _0x1d6d31=this[_0x13f335(0x435)](_0x3ece3);return _0x1d6d31?$['of'](_0x1d6d31):this['_entityInit$'][_0x13f335(0x18e)](V[_0x13f335(0x402)](_0x3d0b95=>_0x3d0b95[_0x13f335(0x4c8)]===_0x3ece3));}['readyForCollab'](_0x573f10){var _0x1f447f=_0x11fce6;return $[_0x1f447f(0x43c)](this[_0x1f447f(0x4af)](_0x573f10)[_0x1f447f(0x18e)](V[_0x1f447f(0x42a)](()=>{})));}['_init'](){var _0x1cdba1=_0x11fce6;this['_univerInstanceService'][_0x1cdba1(0x1f8)](a['UniverInstanceType'][_0x1cdba1(0x47d)])[_0x1cdba1(0x18e)]($[_0x1cdba1(0x3b4)](this[_0x1cdba1(0x382)]),V['delay'](0x10))[_0x1cdba1(0x1f7)](async _0x58bd3c=>{var _0x22a9b0=_0x1cdba1;const _0x52fb89=_0x58bd3c['getUnitId'](),_0x5203d5=await this['_startCollaboration'](_0x52fb89,J[_0x22a9b0(0x47d)]);this['_entities'][_0x22a9b0(0x219)](_0x52fb89,_0x5203d5);}),this[_0x1cdba1(0x2b3)][_0x1cdba1(0x1f8)](a[_0x1cdba1(0x408)][_0x1cdba1(0x45d)])['pipe']($[_0x1cdba1(0x3b4)](this[_0x1cdba1(0x382)]),V['delay'](0x10))[_0x1cdba1(0x18e)](V[_0x1cdba1(0x402)](_0x308937=>!_0x308937[_0x1cdba1(0x23f)]()[_0x1cdba1(0x4f1)]('__')))[_0x1cdba1(0x1f7)](async _0x29de40=>{var _0x19ded2=_0x1cdba1;const _0x51ee55=_0x29de40['getUnitId'](),_0x16f115=await this[_0x19ded2(0x370)](_0x51ee55,J['UNIVER_DOC']);this['_entities'][_0x19ded2(0x219)](_0x51ee55,_0x16f115);}),$[_0x1cdba1(0x1d8)](this[_0x1cdba1(0x2b3)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x1cdba1(0x47d)]),this['_univerInstanceService'][_0x1cdba1(0x4db)](a[_0x1cdba1(0x408)]['UNIVER_DOC']))[_0x1cdba1(0x18e)]($[_0x1cdba1(0x3b4)](this[_0x1cdba1(0x382)]))[_0x1cdba1(0x1f7)](_0x22863f=>{var _0x402496=_0x1cdba1;const _0x285cc=_0x22863f[_0x402496(0x23f)](),_0x2f986b=this[_0x402496(0x1c3)][_0x402496(0x19d)](_0x285cc);_0x2f986b&&(_0x2f986b[_0x402496(0x22e)](),this[_0x402496(0x1c3)]['delete'](_0x285cc));});}async[_0x11fce6(0x370)](_0x2237ca,_0x2fadb2){var _0x47ad97=_0x11fce6;const _0x19385e=await this[_0x47ad97(0x2e8)][_0x47ad97(0x4a8)](_0x2237ca),_0x1f75b1=this[_0x47ad97(0x2cc)][_0x47ad97(0x502)](this['_getCtorByUniverType'](_0x2fadb2),_0x2237ca,_0x2fadb2,_0x19385e);return await _0x1f75b1[_0x47ad97(0x301)](),this['_entityInit$'][_0x47ad97(0x1a9)](_0x1f75b1),_0x1f75b1;}['_getCtorByUniverType'](_0x158436){var _0x32e9d4=_0x11fce6;switch(_0x158436){case J[_0x32e9d4(0x45d)]:return exports['DocCollaborationEntity'];case J[_0x32e9d4(0x47d)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x32e9d4(0x322)+_0x158436);}}},exports[_0x11fce6(0x480)]=fi([Se(0x0,a[_0x11fce6(0x455)](a[_0x11fce6(0x187)])),Se(0x1,a[_0x11fce6(0x455)](exports[_0x11fce6(0x3a0)])),Se(0x2,a[_0x11fce6(0x34f)]),Se(0x3,a['IUniverInstanceService'])],exports['CollaborationController']);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x176cae,_0x30045b,_0x3c3fd3,_0x505046)=>{var _0x164f7b=_0x11fce6;for(var _0x37b492=_0x505046>0x1?void 0x0:_0x505046?Ii(_0x30045b,_0x3c3fd3):_0x30045b,_0x2539a2=_0x176cae[_0x164f7b(0x373)]-0x1,_0x4abbe7;_0x2539a2>=0x0;_0x2539a2--)(_0x4abbe7=_0x176cae[_0x2539a2])&&(_0x37b492=_0x4abbe7(_0x37b492)||_0x37b492);return _0x37b492;},Ke=(_0xfdf2c4,_0x9fb38)=>(_0x3289a9,_0x3dcda7)=>_0x9fb38(_0x3289a9,_0x3dcda7,_0xfdf2c4);const gi=_0x11fce6(0x2b6),Ei='Univer';let xe=class extends a['Disposable']{constructor(_0x23f3c9,_0x42bd0b){var _0x36e01d=_0x11fce6;super(),this[_0x36e01d(0x2b3)]=_0x23f3c9,this[_0x36e01d(0x4e8)]=_0x42bd0b,this[_0x36e01d(0x3c5)]();}[_0x11fce6(0x3c5)](){var _0x13adb5=_0x11fce6;this[_0x13adb5(0x33f)](this[_0x13adb5(0x2b3)]['focused$'][_0x13adb5(0x1f7)](()=>{var _0x228d90=_0x13adb5,_0x239fd9;const _0x15141b=this['_univerInstanceService'][_0x228d90(0x286)]();let _0x4795e2=(_0x239fd9=this[_0x228d90(0x4e8)][_0x228d90(0x348)](gi))!=null?_0x239fd9:Ei;_0x15141b instanceof a[_0x228d90(0x3dc)]&&(_0x4795e2=_0x15141b[_0x228d90(0x38a)]),document[_0x228d90(0x2f8)]=_0x4795e2;}));}};xe=pi([Ke(0x0,a[_0x11fce6(0x270)]),Ke(0x1,a[_0x11fce6(0x34f)])],xe);var mi=Object[_0x11fce6(0x394)],Ci=(_0x57f3d7,_0x579bba,_0x1dbe0f,_0x2acec5)=>{var _0x363a9a=_0x11fce6;for(var _0x558daf=_0x2acec5>0x1?void 0x0:_0x2acec5?mi(_0x579bba,_0x1dbe0f):_0x579bba,_0x3d6a88=_0x57f3d7[_0x363a9a(0x373)]-0x1,_0x5ed57f;_0x3d6a88>=0x0;_0x3d6a88--)(_0x5ed57f=_0x57f3d7[_0x3d6a88])&&(_0x558daf=_0x5ed57f(_0x558daf)||_0x558daf);return _0x558daf;},Ae=(_0x2b2b81,_0xe56613)=>(_0x36c341,_0x446bab)=>_0xe56613(_0x36c341,_0x446bab,_0x2b2b81);let ye=class{constructor(_0x599067,_0x5b0e87,_0x1ba979){var _0xea25d1=_0x11fce6;this[_0xea25d1(0x4e8)]=_0x599067,this[_0xea25d1(0x2e7)]=_0x5b0e87,this['localeService']=_0x1ba979,this['init']();}[_0x11fce6(0x301)](){var _0x2c55a6=_0x11fce6;this[_0x2c55a6(0x2e7)][_0x2c55a6(0x3f2)]({'priority':0x1,'interceptor':(_0x25474b,_0x5c2834)=>_0x5c2834(_0x25474b)[_0x2c55a6(0x18e)]($[_0x2c55a6(0x3c7)](async _0x36398b=>{var _0x1b1827=_0x2c55a6;const _0x595228=_0x36398b;if(_0x595228[_0x1b1827(0x1d2)]===0x191){if(typeof window>'u')throw new Error(_0x1b1827(0x449));if(window[_0x1b1827(0x4ff)](this[_0x1b1827(0x3c2)]['t'](_0x1b1827(0x308)))){const _0x223ebf=window[_0x1b1827(0x1ca)](window[_0x1b1827(0x202)][_0x1b1827(0x30c)]);window['location'][_0x1b1827(0x30c)]=this['_getLoginPath']()+_0x1b1827(0x413)+_0x223ebf;}}return _0x595228;}))});}[_0x11fce6(0x28a)](){var _0x56820f=_0x11fce6,_0x3ff561,_0x11caac;const _0x341394=this[_0x56820f(0x4e8)][_0x56820f(0x348)](pt),_0x4ef64d=this[_0x56820f(0x4e8)][_0x56820f(0x348)](G);return(_0x11caac=(_0x3ff561=_0x4ef64d==null?void 0x0:_0x4ef64d[_0x56820f(0x2f2)])!=null?_0x3ff561:_0x341394)!=null?_0x11caac:Wt;}};ye=Ci([Ae(0x0,a[_0x11fce6(0x34f)]),Ae(0x1,a[_0x11fce6(0x455)](K[_0x11fce6(0x3ee)])),Ae(0x2,a[_0x11fce6(0x455)](a['LocaleService']))],ye);var Ti=Object[_0x11fce6(0x394)],bi=(_0x491924,_0x1f9fc9,_0x2e31c3,_0x22c622)=>{var _0x1db5e0=_0x11fce6;for(var _0x1aa27a=_0x22c622>0x1?void 0x0:_0x22c622?Ti(_0x1f9fc9,_0x2e31c3):_0x1f9fc9,_0x1bfebd=_0x491924[_0x1db5e0(0x373)]-0x1,_0x5de0e0;_0x1bfebd>=0x0;_0x1bfebd--)(_0x5de0e0=_0x491924[_0x1bfebd])&&(_0x1aa27a=_0x5de0e0(_0x1aa27a)||_0x1aa27a);return _0x1aa27a;},qe=(_0x56634e,_0x32ea2e)=>(_0x52a2f0,_0x1e7da4)=>_0x32ea2e(_0x52a2f0,_0x1e7da4,_0x56634e);const Ve=_0x11fce6(0x3b7),Ri=_0x11fce6(0x494);exports[_0x11fce6(0x4b7)]=class extends a[_0x11fce6(0x26a)]{constructor(_0x357e38,_0x27a9cd){var _0x31c65b=_0x11fce6;super(),this['_HTTPService']=_0x357e38,this[_0x31c65b(0x4e8)]=_0x27a9cd,this[_0x31c65b(0x464)]();}['_initMergeInterceptor'](){var _0x196cb9=_0x11fce6;const _0x55ec8b=this;this[_0x196cb9(0x33f)](this[_0x196cb9(0x249)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x4b269c){var _0xef807=_0x196cb9,_0x5252bd;if(_0x4b269c[_0xef807(0x21c)]===_0xef807(0x283)&&((_0x5252bd=_0x4b269c[_0xef807(0x40c)])!=null&&_0x5252bd[_0xef807(0x2e1)])){const {objectID:_0x267c84,objectType:_0x58c9dc}=_0x4b269c[_0xef807(0x40c)][_0xef807(0x2e1)]||{};if(!_0x267c84||_0x58c9dc===void 0x0)return!0x1;const _0x1b2718=_0x55ec8b['_getAPIPrefixPath']()+'/'+_0x58c9dc+'/object/'+_0x267c84+'/allowed';if(_0x4b269c[_0xef807(0x4d2)]===_0x1b2718)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a7ba4){var _0x2dc1a4=_0x196cb9,_0x1971b2;return(_0x1971b2=_0x4a7ba4[_0x2dc1a4(0x40c)])==null?void 0x0:_0x1971b2[_0x2dc1a4(0x2e1)];},'mergeParamsToRequest'(_0x206f28,_0x570e29){var _0x19d18d=_0x196cb9;const _0x15721a=_0x55ec8b[_0x19d18d(0x27d)]()+'/-/object/-/batch_allowed',_0x3c9caa=_0x206f28[_0x19d18d(0x37d)]((_0x2d8ac4,_0x26448d)=>{var _0x297124=_0x19d18d;const {unitID:_0x47d90c,objectID:_0x2b1fea,objectType:_0x1a504e,actions:_0x450e33}=_0x26448d;return _0x2d8ac4[_0x47d90c]||(_0x2d8ac4[_0x47d90c]={}),_0x2d8ac4[_0x47d90c][_0x2b1fea]||(_0x2d8ac4[_0x47d90c][_0x2b1fea]={'objectID':_0x2b1fea,'objectType':_0x1a504e,'actions':[]}),_0x2d8ac4[_0x47d90c][_0x2b1fea][_0x297124(0x1ec)][_0x297124(0x34d)](..._0x450e33),_0x2d8ac4;},{}),_0x338818=[];for(const _0x5e0c1c in _0x3c9caa)for(const _0x5226f7 in _0x3c9caa[_0x5e0c1c]){const {actions:_0x449ea9,objectType:_0x25f4ba}=_0x3c9caa[_0x5e0c1c][_0x5226f7],_0x15e76a=[...new Set(_0x449ea9)];_0x338818[_0x19d18d(0x34d)]({'unitID':_0x5e0c1c,'objectID':_0x5226f7,'objectType':_0x25f4ba,'actions':_0x15e76a});}return new K[(_0x19d18d(0x31c))](_0x19d18d(0x283),_0x15721a,{'headers':_0x570e29[_0x19d18d(0x3bf)],'withCredentials':_0x570e29[_0x19d18d(0x45b)],'responseType':_0x570e29[_0x19d18d(0x225)],'body':{'requests':_0x338818}});}},{'distributeResult'(_0x1283b3,_0x55656a){var _0x42ce5b=_0x196cb9;const {objectActions:_0x2a3ac7}=_0x1283b3;return _0x55656a[_0x42ce5b(0x42a)](_0x1c9503=>{var _0x4a4a46=_0x42ce5b;const {unitID:_0x4ed0fa,objectID:_0x2f8ea9,actions:_0x382db9}=_0x1c9503,_0x4facbd=_0x2a3ac7[_0x4a4a46(0x3aa)](_0x20b81a=>_0x20b81a[_0x4a4a46(0x4c8)]===_0x4ed0fa&&_0x20b81a[_0x4a4a46(0x328)]===_0x2f8ea9),_0x42c749=_0x382db9['map'](_0x3af807=>_0x4facbd==null?void 0x0:_0x4facbd[_0x4a4a46(0x1ec)]['find'](_0x57a3d8=>_0x57a3d8['action']===_0x3af807))['filter'](_0x56a211=>!!_0x56a211);return{'config':_0x1c9503,'result':{'actions':_0x42c749,'error':_0x1283b3['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x450cb9=_0x11fce6,_0x3f6221,_0x4a3e23;const _0x575066=this[_0x450cb9(0x4e8)][_0x450cb9(0x348)](Ve),_0x1d68b4=this[_0x450cb9(0x4e8)][_0x450cb9(0x348)](G);return(_0x4a3e23=(_0x3f6221=_0x1d68b4==null?void 0x0:_0x1d68b4[_0x450cb9(0x427)])!=null?_0x3f6221:_0x575066)!=null?_0x4a3e23:Ri;}async[_0x11fce6(0x277)](_0x444f2b){var _0x5d270f=_0x11fce6;const _0x150e28=this[_0x5d270f(0x27d)]()+'/'+_0x444f2b[_0x5d270f(0x412)]+_0x5d270f(0x305);return(await this[_0x5d270f(0x249)][_0x5d270f(0x1b0)](_0x150e28,{'body':_0x444f2b}))['body'][_0x5d270f(0x328)]||'';}async[_0x11fce6(0x3fe)](_0x18a7a2){var _0x45b808=_0x11fce6;const _0xdd815b=this['_getAPIPrefixPath']()+_0x45b808(0x416);return(await this[_0x45b808(0x249)][_0x45b808(0x1b0)](_0xdd815b,{'body':_0x18a7a2}))[_0x45b808(0x2e1)][_0x45b808(0x4fd)];}async[_0x11fce6(0x235)](_0x328007){var _0x33bade=_0x11fce6,_0x200c44,_0x3307d3;const _0x46805a=this[_0x33bade(0x27d)]()+'/'+_0x328007[_0x33bade(0x412)]+_0x33bade(0x470)+_0x328007[_0x33bade(0x328)],_0x4daef4=await this['_HTTPService'][_0x33bade(0x31e)](_0x46805a,{'body':_0x328007});if(((_0x3307d3=(_0x200c44=_0x4daef4==null?void 0x0:_0x4daef4[_0x33bade(0x2e1)])==null?void 0x0:_0x200c44['error'])==null?void 0x0:_0x3307d3[_0x33bade(0x39a)])!==0x1)throw new Error(_0x33bade(0x2df));}async[_0x11fce6(0x41c)](_0x4562f5){var _0x55ff51=_0x11fce6;const _0x1aeef4=this[_0x55ff51(0x27d)]()+'/'+_0x4562f5[_0x55ff51(0x412)]+_0x55ff51(0x470)+_0x4562f5[_0x55ff51(0x328)]+_0x55ff51(0x335);return(await this[_0x55ff51(0x249)][_0x55ff51(0x1b0)](_0x1aeef4,{'body':_0x4562f5}))[_0x55ff51(0x2e1)][_0x55ff51(0x1ec)];}async['batchAllowed'](_0x361253){var _0xab60eb=_0x11fce6;const _0x4c1c10=this[_0xab60eb(0x27d)]()+_0xab60eb(0x3c4);return(await this[_0xab60eb(0x249)][_0xab60eb(0x1b0)](_0x4c1c10,{'body':{'requests':_0x361253}}))[_0xab60eb(0x2e1)][_0xab60eb(0x2d0)];}async[_0x11fce6(0x1a3)](_0x40d823){var _0x1001a7=_0x11fce6;const _0x41134a=this[_0x1001a7(0x27d)]()+'/'+_0x40d823[_0x1001a7(0x412)]+_0x1001a7(0x2c5),_0x3f1b33=await this['_HTTPService'][_0x1001a7(0x1b0)](_0x41134a,{'body':_0x40d823});return{'roles':_0x3f1b33[_0x1001a7(0x2e1)]['roles'],'actions':_0x3f1b33[_0x1001a7(0x2e1)][_0x1001a7(0x1ec)]};}async[_0x11fce6(0x306)](_0x4714fc){var _0x3af0ba=_0x11fce6;const _0x319eae=this['_getAPIPrefixPath']()+_0x3af0ba(0x1d6);await this[_0x3af0ba(0x249)]['delete'](_0x319eae,{'params':{'collaboratorID':_0x4714fc[_0x3af0ba(0x2f4)],'objectID':_0x4714fc['objectID'],'unitID':_0x4714fc[_0x3af0ba(0x4c8)]}});}async['updateCollaborator'](_0x1867aa){var _0x266abd=_0x11fce6;const _0x28dbfd=this[_0x266abd(0x27d)]()+'/collaborator';await this[_0x266abd(0x249)]['patch'](_0x28dbfd,{'body':_0x1867aa});}async[_0x11fce6(0x37c)](_0x38495b){var _0xcc68d5=_0x11fce6;const _0x5b8bab=this[_0xcc68d5(0x27d)]()+_0xcc68d5(0x1d6);await this[_0xcc68d5(0x249)][_0xcc68d5(0x1b0)](_0x5b8bab,{'body':_0x38495b});}async[_0x11fce6(0x321)](_0x26374c){var _0x4406c8=_0x11fce6;const _0x5cb1f5=this[_0x4406c8(0x27d)]()+_0x4406c8(0x1d6);return(await this[_0x4406c8(0x249)]['get'](_0x5cb1f5,{'params':{'objectID':_0x26374c[_0x4406c8(0x328)],'unitID':_0x26374c[_0x4406c8(0x4c8)]}}))[_0x4406c8(0x2e1)][_0x4406c8(0x24a)];}async[_0x11fce6(0x3d6)](_0x1ccd82){var _0x4eb7a9=_0x11fce6;const _0x2fe6ff=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x4eb7a9(0x249)][_0x4eb7a9(0x31e)](_0x2fe6ff,{'body':_0x1ccd82});}},exports[_0x11fce6(0x4b7)]=bi([qe(0x0,a[_0x11fce6(0x455)](K[_0x11fce6(0x3ee)])),qe(0x1,a[_0x11fce6(0x455)](a[_0x11fce6(0x34f)]))],exports[_0x11fce6(0x4b7)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x2d60bf){var _0x2d2a8a=_0x11fce6;return _0x2d60bf&&_0x2d60bf[_0x2d2a8a(0x371)]&&Object[_0x2d2a8a(0x354)][_0x2d2a8a(0x2fc)][_0x2d2a8a(0x396)](_0x2d60bf,_0x2d2a8a(0x255))?_0x2d60bf[_0x2d2a8a(0x255)]:_0x2d60bf;}var fe={'exports':{}};function Oi(_0x405d31){var _0x48af02=_0x11fce6;throw new Error(_0x48af02(0x45f)+_0x405d31+_0x48af02(0x35d));}var Ie={'exports':{}},yi=Ie[_0x11fce6(0x2b4)],ze;function Q(){var _0xdc192=_0x11fce6;return ze||(ze=0x1,function(_0x5501c9,_0x3cde7e){(function(_0x1c681b,_0x16bd3e){var _0x27db64=_0x450d;_0x5501c9[_0x27db64(0x2b4)]=_0x16bd3e();}(yi,function(){var _0x16d035=_0x16d035||function(_0x1529a7,_0x2d8230){var _0x29ee6c=_0x450d,_0x1a9f45;if(typeof window<'u'&&window[_0x29ee6c(0x25f)]&&(_0x1a9f45=window['crypto']),typeof self<'u'&&self[_0x29ee6c(0x25f)]&&(_0x1a9f45=self[_0x29ee6c(0x25f)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1a9f45=globalThis[_0x29ee6c(0x25f)]),!_0x1a9f45&&typeof window<'u'&&window['msCrypto']&&(_0x1a9f45=window[_0x29ee6c(0x312)]),!_0x1a9f45&&typeof Pe<'u'&&Pe[_0x29ee6c(0x25f)]&&(_0x1a9f45=Pe['crypto']),!_0x1a9f45&&typeof Oi==_0x29ee6c(0x38b))try{_0x1a9f45=require(_0x29ee6c(0x25f));}catch{}var _0x3c0cb5=function(){var _0x348359=_0x29ee6c;if(_0x1a9f45){if(typeof _0x1a9f45[_0x348359(0x40d)]=='function')try{return _0x1a9f45['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1a9f45[_0x348359(0x215)]==_0x348359(0x38b))try{return _0x1a9f45[_0x348359(0x215)](0x4)[_0x348359(0x450)]();}catch{}}throw new Error(_0x348359(0x424));},_0x2a092d=Object['create']||(function(){function _0x5534d6(){}return function(_0x7cdad0){var _0x1738cc=_0x450d,_0x22ce12;return _0x5534d6['prototype']=_0x7cdad0,_0x22ce12=new _0x5534d6(),_0x5534d6[_0x1738cc(0x354)]=null,_0x22ce12;};}()),_0x3c8e2e={},_0x413a6e=_0x3c8e2e['lib']={},_0x20a89f=_0x413a6e[_0x29ee6c(0x46a)]=(function(){return{'extend':function(_0x1aa0f6){var _0x199ed3=_0x450d,_0x5691c9=_0x2a092d(this);return _0x1aa0f6&&_0x5691c9['mixIn'](_0x1aa0f6),(!_0x5691c9['hasOwnProperty'](_0x199ed3(0x301))||this[_0x199ed3(0x301)]===_0x5691c9[_0x199ed3(0x301)])&&(_0x5691c9[_0x199ed3(0x301)]=function(){var _0x34d5b6=_0x199ed3;_0x5691c9[_0x34d5b6(0x4fc)][_0x34d5b6(0x301)][_0x34d5b6(0x22c)](this,arguments);}),_0x5691c9[_0x199ed3(0x301)][_0x199ed3(0x354)]=_0x5691c9,_0x5691c9['$super']=this,_0x5691c9;},'create':function(){var _0x7f2b33=_0x450d,_0x4b5d6a=this[_0x7f2b33(0x2c4)]();return _0x4b5d6a[_0x7f2b33(0x301)][_0x7f2b33(0x22c)](_0x4b5d6a,arguments),_0x4b5d6a;},'init':function(){},'mixIn':function(_0x96aaa4){var _0x27bbf3=_0x450d;for(var _0x4e6c38 in _0x96aaa4)_0x96aaa4[_0x27bbf3(0x2fc)](_0x4e6c38)&&(this[_0x4e6c38]=_0x96aaa4[_0x4e6c38]);_0x96aaa4['hasOwnProperty'](_0x27bbf3(0x33e))&&(this[_0x27bbf3(0x33e)]=_0x96aaa4[_0x27bbf3(0x33e)]);},'clone':function(){var _0x241c10=_0x450d;return this[_0x241c10(0x301)][_0x241c10(0x354)][_0x241c10(0x2c4)](this);}};}()),_0x1c1dcf=_0x413a6e['WordArray']=_0x20a89f['extend']({'init':function(_0x49f084,_0x4e5558){var _0x4c525a=_0x29ee6c;_0x49f084=this[_0x4c525a(0x4e7)]=_0x49f084||[],_0x4e5558!=_0x2d8230?this[_0x4c525a(0x266)]=_0x4e5558:this[_0x4c525a(0x266)]=_0x49f084['length']*0x4;},'toString':function(_0x41bb33){var _0x2f34b=_0x29ee6c;return(_0x41bb33||_0x17744b)[_0x2f34b(0x4cc)](this);},'concat':function(_0x23d8bc){var _0x1be8c7=_0x29ee6c,_0x367d3e=this[_0x1be8c7(0x4e7)],_0x43352a=_0x23d8bc[_0x1be8c7(0x4e7)],_0x138f0b=this[_0x1be8c7(0x266)],_0x302274=_0x23d8bc[_0x1be8c7(0x266)];if(this[_0x1be8c7(0x20a)](),_0x138f0b%0x4)for(var _0x410125=0x0;_0x410125<_0x302274;_0x410125++){var _0x1e73bd=_0x43352a[_0x410125>>>0x2]>>>0x18-_0x410125%0x4*0x8&0xff;_0x367d3e[_0x138f0b+_0x410125>>>0x2]|=_0x1e73bd<<0x18-(_0x138f0b+_0x410125)%0x4*0x8;}else{for(var _0xa3ba4d=0x0;_0xa3ba4d<_0x302274;_0xa3ba4d+=0x4)_0x367d3e[_0x138f0b+_0xa3ba4d>>>0x2]=_0x43352a[_0xa3ba4d>>>0x2];}return this[_0x1be8c7(0x266)]+=_0x302274,this;},'clamp':function(){var _0x3abc72=_0x29ee6c,_0x513d31=this[_0x3abc72(0x4e7)],_0x27a042=this[_0x3abc72(0x266)];_0x513d31[_0x27a042>>>0x2]&=0xffffffff<<0x20-_0x27a042%0x4*0x8,_0x513d31[_0x3abc72(0x373)]=_0x1529a7['ceil'](_0x27a042/0x4);},'clone':function(){var _0x1c9a53=_0x29ee6c,_0x292794=_0x20a89f[_0x1c9a53(0x3e7)][_0x1c9a53(0x396)](this);return _0x292794[_0x1c9a53(0x4e7)]=this['words'][_0x1c9a53(0x3e1)](0x0),_0x292794;},'random':function(_0x33b918){var _0x229db2=_0x29ee6c;for(var _0x3cfed7=[],_0x43e165=0x0;_0x43e165<_0x33b918;_0x43e165+=0x4)_0x3cfed7[_0x229db2(0x34d)](_0x3c0cb5());return new _0x1c1dcf[(_0x229db2(0x301))](_0x3cfed7,_0x33b918);}}),_0x5e3a6f=_0x3c8e2e['enc']={},_0x17744b=_0x5e3a6f[_0x29ee6c(0x1ed)]={'stringify':function(_0x4effa5){var _0x51346d=_0x29ee6c;for(var _0x5e408d=_0x4effa5[_0x51346d(0x4e7)],_0x4cafb5=_0x4effa5[_0x51346d(0x266)],_0x3f4088=[],_0x59d3d1=0x0;_0x59d3d1<_0x4cafb5;_0x59d3d1++){var _0x22ced3=_0x5e408d[_0x59d3d1>>>0x2]>>>0x18-_0x59d3d1%0x4*0x8&0xff;_0x3f4088[_0x51346d(0x34d)]((_0x22ced3>>>0x4)[_0x51346d(0x33e)](0x10)),_0x3f4088[_0x51346d(0x34d)]((_0x22ced3&0xf)['toString'](0x10));}return _0x3f4088[_0x51346d(0x43b)]('');},'parse':function(_0x5c87b4){var _0x22063d=_0x29ee6c;for(var _0x538622=_0x5c87b4[_0x22063d(0x373)],_0x5e3f07=[],_0x3c05e9=0x0;_0x3c05e9<_0x538622;_0x3c05e9+=0x2)_0x5e3f07[_0x3c05e9>>>0x3]|=parseInt(_0x5c87b4[_0x22063d(0x36b)](_0x3c05e9,0x2),0x10)<<0x18-_0x3c05e9%0x8*0x4;return new _0x1c1dcf[(_0x22063d(0x301))](_0x5e3f07,_0x538622/0x2);}},_0x2b7196=_0x5e3a6f['Latin1']={'stringify':function(_0xf76f30){var _0x11740a=_0x29ee6c;for(var _0x54be32=_0xf76f30[_0x11740a(0x4e7)],_0x2db740=_0xf76f30['sigBytes'],_0x4a6ca7=[],_0x64cf87=0x0;_0x64cf87<_0x2db740;_0x64cf87++){var _0x39b1eb=_0x54be32[_0x64cf87>>>0x2]>>>0x18-_0x64cf87%0x4*0x8&0xff;_0x4a6ca7[_0x11740a(0x34d)](String[_0x11740a(0x44b)](_0x39b1eb));}return _0x4a6ca7[_0x11740a(0x43b)]('');},'parse':function(_0x5cbe0f){var _0x100038=_0x29ee6c;for(var _0x442d76=_0x5cbe0f[_0x100038(0x373)],_0x5497ae=[],_0x544daf=0x0;_0x544daf<_0x442d76;_0x544daf++)_0x5497ae[_0x544daf>>>0x2]|=(_0x5cbe0f['charCodeAt'](_0x544daf)&0xff)<<0x18-_0x544daf%0x4*0x8;return new _0x1c1dcf[(_0x100038(0x301))](_0x5497ae,_0x442d76);}},_0x5d0d0c=_0x5e3a6f['Utf8']={'stringify':function(_0x40b691){var _0x454243=_0x29ee6c;try{return decodeURIComponent(escape(_0x2b7196[_0x454243(0x4cc)](_0x40b691)));}catch{throw new Error(_0x454243(0x24c));}},'parse':function(_0x2830d5){var _0x4188d0=_0x29ee6c;return _0x2b7196[_0x4188d0(0x375)](unescape(encodeURIComponent(_0x2830d5)));}},_0x539222=_0x413a6e[_0x29ee6c(0x203)]=_0x20a89f[_0x29ee6c(0x2c4)]({'reset':function(){var _0x2716c2=_0x29ee6c;this[_0x2716c2(0x49a)]=new _0x1c1dcf[(_0x2716c2(0x301))](),this[_0x2716c2(0x21f)]=0x0;},'_append':function(_0x472902){var _0x2d028f=_0x29ee6c;typeof _0x472902=='string'&&(_0x472902=_0x5d0d0c['parse'](_0x472902)),this[_0x2d028f(0x49a)][_0x2d028f(0x422)](_0x472902),this[_0x2d028f(0x21f)]+=_0x472902[_0x2d028f(0x266)];},'_process':function(_0x2cea6b){var _0xee1cfe=_0x29ee6c,_0x1d33b9,_0x7f245e=this[_0xee1cfe(0x49a)],_0xfe1384=_0x7f245e[_0xee1cfe(0x4e7)],_0x19a17b=_0x7f245e[_0xee1cfe(0x266)],_0x317e73=this[_0xee1cfe(0x501)],_0x3eb4f4=_0x317e73*0x4,_0x31a17e=_0x19a17b/_0x3eb4f4;_0x2cea6b?_0x31a17e=_0x1529a7[_0xee1cfe(0x3ca)](_0x31a17e):_0x31a17e=_0x1529a7[_0xee1cfe(0x3ad)]((_0x31a17e|0x0)-this[_0xee1cfe(0x1bb)],0x0);var _0x34b66d=_0x31a17e*_0x317e73,_0x48e0e9=_0x1529a7[_0xee1cfe(0x451)](_0x34b66d*0x4,_0x19a17b);if(_0x34b66d){for(var _0x55661e=0x0;_0x55661e<_0x34b66d;_0x55661e+=_0x317e73)this[_0xee1cfe(0x3bc)](_0xfe1384,_0x55661e);_0x1d33b9=_0xfe1384[_0xee1cfe(0x2f9)](0x0,_0x34b66d),_0x7f245e[_0xee1cfe(0x266)]-=_0x48e0e9;}return new _0x1c1dcf[(_0xee1cfe(0x301))](_0x1d33b9,_0x48e0e9);},'clone':function(){var _0xfed569=_0x29ee6c,_0x4aa6f5=_0x20a89f[_0xfed569(0x3e7)][_0xfed569(0x396)](this);return _0x4aa6f5['_data']=this[_0xfed569(0x49a)][_0xfed569(0x3e7)](),_0x4aa6f5;},'_minBufferSize':0x0});_0x413a6e[_0x29ee6c(0x47a)]=_0x539222[_0x29ee6c(0x2c4)]({'cfg':_0x20a89f[_0x29ee6c(0x2c4)](),'init':function(_0x16403e){var _0x5722c2=_0x29ee6c;this[_0x5722c2(0x2c7)]=this[_0x5722c2(0x2c7)][_0x5722c2(0x2c4)](_0x16403e),this[_0x5722c2(0x1aa)]();},'reset':function(){var _0x22e43b=_0x29ee6c;_0x539222['reset'][_0x22e43b(0x396)](this),this[_0x22e43b(0x27e)]();},'update':function(_0x581aef){var _0x459862=_0x29ee6c;return this[_0x459862(0x2c2)](_0x581aef),this[_0x459862(0x3f5)](),this;},'finalize':function(_0x435a8a){var _0x4fedfb=_0x29ee6c;_0x435a8a&&this[_0x4fedfb(0x2c2)](_0x435a8a);var _0x2241c1=this['_doFinalize']();return _0x2241c1;},'blockSize':0x10,'_createHelper':function(_0x1c1aa7){return function(_0x48fb56,_0x4a226a){var _0x52d6d4=_0x450d;return new _0x1c1aa7['init'](_0x4a226a)[_0x52d6d4(0x2a8)](_0x48fb56);};},'_createHmacHelper':function(_0x41d5f5){return function(_0x19d66b,_0x2f0d3d){var _0x31a1e2=_0x450d;return new _0x3bb4d6[(_0x31a1e2(0x41a))][(_0x31a1e2(0x301))](_0x41d5f5,_0x2f0d3d)[_0x31a1e2(0x2a8)](_0x19d66b);};}});var _0x3bb4d6=_0x3c8e2e[_0x29ee6c(0x46b)]={};return _0x3c8e2e;}(Math);return _0x16d035;}));}(Ie)),Ie[_0xdc192(0x2b4)];}var pe={'exports':{}},Ni=pe[_0x11fce6(0x2b4)],Je;function yt(){var _0x23760a=_0x11fce6;return Je||(Je=0x1,function(_0x4b2901,_0x119d59){(function(_0x31bd64,_0xff9802){var _0x4da7cb=_0x450d;_0x4b2901[_0x4da7cb(0x2b4)]=_0xff9802(Q());}(Ni,function(_0x3fe4ef){var _0x5779af=_0x450d;return(function(){var _0xd58af1=_0x450d,_0x35bf52=_0x3fe4ef,_0x2ac4fd=_0x35bf52['lib'],_0x16ef44=_0x2ac4fd['WordArray'],_0x533b5e=_0x35bf52['enc'];_0x533b5e[_0xd58af1(0x42f)]={'stringify':function(_0x1d33dd){var _0x121f2f=_0xd58af1,_0x15f27d=_0x1d33dd[_0x121f2f(0x4e7)],_0x2515e4=_0x1d33dd['sigBytes'],_0x257ee2=this[_0x121f2f(0x438)];_0x1d33dd['clamp']();for(var _0x450438=[],_0x574841=0x0;_0x574841<_0x2515e4;_0x574841+=0x3)for(var _0x24021b=_0x15f27d[_0x574841>>>0x2]>>>0x18-_0x574841%0x4*0x8&0xff,_0xcee4ed=_0x15f27d[_0x574841+0x1>>>0x2]>>>0x18-(_0x574841+0x1)%0x4*0x8&0xff,_0x246b86=_0x15f27d[_0x574841+0x2>>>0x2]>>>0x18-(_0x574841+0x2)%0x4*0x8&0xff,_0x4f43d5=_0x24021b<<0x10|_0xcee4ed<<0x8|_0x246b86,_0x4cb8ee=0x0;_0x4cb8ee<0x4&&_0x574841+_0x4cb8ee*0.75<_0x2515e4;_0x4cb8ee++)_0x450438[_0x121f2f(0x34d)](_0x257ee2['charAt'](_0x4f43d5>>>0x6*(0x3-_0x4cb8ee)&0x3f));var _0x2609a9=_0x257ee2['charAt'](0x40);if(_0x2609a9){for(;_0x450438[_0x121f2f(0x373)]%0x4;)_0x450438[_0x121f2f(0x34d)](_0x2609a9);}return _0x450438[_0x121f2f(0x43b)]('');},'parse':function(_0x253d85){var _0x5e1a6e=_0xd58af1,_0x3e8066=_0x253d85[_0x5e1a6e(0x373)],_0x5b9052=this[_0x5e1a6e(0x438)],_0x21b871=this['_reverseMap'];if(!_0x21b871){_0x21b871=this[_0x5e1a6e(0x2a6)]=[];for(var _0x2cdb24=0x0;_0x2cdb24<_0x5b9052[_0x5e1a6e(0x373)];_0x2cdb24++)_0x21b871[_0x5b9052[_0x5e1a6e(0x2ee)](_0x2cdb24)]=_0x2cdb24;}var _0xe8f145=_0x5b9052[_0x5e1a6e(0x29d)](0x40);if(_0xe8f145){var _0x51f367=_0x253d85['indexOf'](_0xe8f145);_0x51f367!==-0x1&&(_0x3e8066=_0x51f367);}return _0x3a9e41(_0x253d85,_0x3e8066,_0x21b871);},'_map':_0xd58af1(0x2ef)};function _0x3a9e41(_0x24c0e4,_0x105502,_0x2e4a92){var _0x21317d=_0xd58af1;for(var _0x4e77d2=[],_0x1cf6af=0x0,_0x223214=0x0;_0x223214<_0x105502;_0x223214++)if(_0x223214%0x4){var _0x10a88=_0x2e4a92[_0x24c0e4['charCodeAt'](_0x223214-0x1)]<<_0x223214%0x4*0x2,_0xccea46=_0x2e4a92[_0x24c0e4[_0x21317d(0x2ee)](_0x223214)]>>>0x6-_0x223214%0x4*0x2,_0x2fbd72=_0x10a88|_0xccea46;_0x4e77d2[_0x1cf6af>>>0x2]|=_0x2fbd72<<0x18-_0x1cf6af%0x4*0x8,_0x1cf6af++;}return _0x16ef44[_0x21317d(0x277)](_0x4e77d2,_0x1cf6af);}}()),_0x3fe4ef[_0x5779af(0x3bd)][_0x5779af(0x42f)];}));}(pe)),pe[_0x23760a(0x2b4)];}var ge={'exports':{}},Di=ge[_0x11fce6(0x2b4)],Xe;function Ui(){var _0x5d86db=_0x11fce6;return Xe||(Xe=0x1,function(_0x347f30,_0x3421a9){(function(_0x185efe,_0x11bd75){var _0x2944cd=_0x450d;_0x347f30[_0x2944cd(0x2b4)]=_0x11bd75(Q());}(Di,function(_0xae485f){var _0x1015e3=_0x450d;return function(_0x1c2a65){var _0x424cc6=_0x450d,_0x2ea701=_0xae485f,_0x3fbbfa=_0x2ea701[_0x424cc6(0x4cd)],_0x199dfa=_0x3fbbfa[_0x424cc6(0x458)],_0x43af3c=_0x3fbbfa[_0x424cc6(0x47a)],_0x537344=_0x2ea701[_0x424cc6(0x46b)],_0x51d6f5=[];(function(){var _0x5efbcc=_0x424cc6;for(var _0x26a75b=0x0;_0x26a75b<0x40;_0x26a75b++)_0x51d6f5[_0x26a75b]=_0x1c2a65[_0x5efbcc(0x425)](_0x1c2a65[_0x5efbcc(0x211)](_0x26a75b+0x1))*0x100000000|0x0;}());var _0x346fcd=_0x537344[_0x424cc6(0x1ff)]=_0x43af3c[_0x424cc6(0x2c4)]({'_doReset':function(){var _0xff7661=_0x424cc6;this['_hash']=new _0x199dfa[(_0xff7661(0x301))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x514150,_0x2c8641){var _0x23326e=_0x424cc6;for(var _0x3d6922=0x0;_0x3d6922<0x10;_0x3d6922++){var _0xd6f4bb=_0x2c8641+_0x3d6922,_0xb98e96=_0x514150[_0xd6f4bb];_0x514150[_0xd6f4bb]=(_0xb98e96<<0x8|_0xb98e96>>>0x18)&0xff00ff|(_0xb98e96<<0x18|_0xb98e96>>>0x8)&0xff00ff00;}var _0xdd0e50=this[_0x23326e(0x26b)][_0x23326e(0x4e7)],_0x339e00=_0x514150[_0x2c8641+0x0],_0x1ba855=_0x514150[_0x2c8641+0x1],_0x58ff6f=_0x514150[_0x2c8641+0x2],_0x3bc11b=_0x514150[_0x2c8641+0x3],_0x28c68c=_0x514150[_0x2c8641+0x4],_0x1aa643=_0x514150[_0x2c8641+0x5],_0x1acb4f=_0x514150[_0x2c8641+0x6],_0x4d2809=_0x514150[_0x2c8641+0x7],_0x90cb86=_0x514150[_0x2c8641+0x8],_0x1e0061=_0x514150[_0x2c8641+0x9],_0xd20fe=_0x514150[_0x2c8641+0xa],_0x4e8d72=_0x514150[_0x2c8641+0xb],_0x186b09=_0x514150[_0x2c8641+0xc],_0x3c5291=_0x514150[_0x2c8641+0xd],_0x5be4aa=_0x514150[_0x2c8641+0xe],_0x24392d=_0x514150[_0x2c8641+0xf],_0x3dc074=_0xdd0e50[0x0],_0x2eeca1=_0xdd0e50[0x1],_0x562b5e=_0xdd0e50[0x2],_0x5bc349=_0xdd0e50[0x3];_0x3dc074=_0x5e6d9d(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x339e00,0x7,_0x51d6f5[0x0]),_0x5bc349=_0x5e6d9d(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x1ba855,0xc,_0x51d6f5[0x1]),_0x562b5e=_0x5e6d9d(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x58ff6f,0x11,_0x51d6f5[0x2]),_0x2eeca1=_0x5e6d9d(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x3bc11b,0x16,_0x51d6f5[0x3]),_0x3dc074=_0x5e6d9d(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x28c68c,0x7,_0x51d6f5[0x4]),_0x5bc349=_0x5e6d9d(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x1aa643,0xc,_0x51d6f5[0x5]),_0x562b5e=_0x5e6d9d(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x1acb4f,0x11,_0x51d6f5[0x6]),_0x2eeca1=_0x5e6d9d(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x4d2809,0x16,_0x51d6f5[0x7]),_0x3dc074=_0x5e6d9d(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x90cb86,0x7,_0x51d6f5[0x8]),_0x5bc349=_0x5e6d9d(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x1e0061,0xc,_0x51d6f5[0x9]),_0x562b5e=_0x5e6d9d(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0xd20fe,0x11,_0x51d6f5[0xa]),_0x2eeca1=_0x5e6d9d(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x4e8d72,0x16,_0x51d6f5[0xb]),_0x3dc074=_0x5e6d9d(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x186b09,0x7,_0x51d6f5[0xc]),_0x5bc349=_0x5e6d9d(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x3c5291,0xc,_0x51d6f5[0xd]),_0x562b5e=_0x5e6d9d(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x5be4aa,0x11,_0x51d6f5[0xe]),_0x2eeca1=_0x5e6d9d(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x24392d,0x16,_0x51d6f5[0xf]),_0x3dc074=_0x5208ff(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x1ba855,0x5,_0x51d6f5[0x10]),_0x5bc349=_0x5208ff(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x1acb4f,0x9,_0x51d6f5[0x11]),_0x562b5e=_0x5208ff(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x4e8d72,0xe,_0x51d6f5[0x12]),_0x2eeca1=_0x5208ff(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x339e00,0x14,_0x51d6f5[0x13]),_0x3dc074=_0x5208ff(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x1aa643,0x5,_0x51d6f5[0x14]),_0x5bc349=_0x5208ff(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0xd20fe,0x9,_0x51d6f5[0x15]),_0x562b5e=_0x5208ff(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x24392d,0xe,_0x51d6f5[0x16]),_0x2eeca1=_0x5208ff(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x28c68c,0x14,_0x51d6f5[0x17]),_0x3dc074=_0x5208ff(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x1e0061,0x5,_0x51d6f5[0x18]),_0x5bc349=_0x5208ff(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x5be4aa,0x9,_0x51d6f5[0x19]),_0x562b5e=_0x5208ff(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x3bc11b,0xe,_0x51d6f5[0x1a]),_0x2eeca1=_0x5208ff(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x90cb86,0x14,_0x51d6f5[0x1b]),_0x3dc074=_0x5208ff(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x3c5291,0x5,_0x51d6f5[0x1c]),_0x5bc349=_0x5208ff(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x58ff6f,0x9,_0x51d6f5[0x1d]),_0x562b5e=_0x5208ff(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x4d2809,0xe,_0x51d6f5[0x1e]),_0x2eeca1=_0x5208ff(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x186b09,0x14,_0x51d6f5[0x1f]),_0x3dc074=_0x66f313(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x1aa643,0x4,_0x51d6f5[0x20]),_0x5bc349=_0x66f313(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x90cb86,0xb,_0x51d6f5[0x21]),_0x562b5e=_0x66f313(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x4e8d72,0x10,_0x51d6f5[0x22]),_0x2eeca1=_0x66f313(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x5be4aa,0x17,_0x51d6f5[0x23]),_0x3dc074=_0x66f313(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x1ba855,0x4,_0x51d6f5[0x24]),_0x5bc349=_0x66f313(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x28c68c,0xb,_0x51d6f5[0x25]),_0x562b5e=_0x66f313(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x4d2809,0x10,_0x51d6f5[0x26]),_0x2eeca1=_0x66f313(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0xd20fe,0x17,_0x51d6f5[0x27]),_0x3dc074=_0x66f313(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x3c5291,0x4,_0x51d6f5[0x28]),_0x5bc349=_0x66f313(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x339e00,0xb,_0x51d6f5[0x29]),_0x562b5e=_0x66f313(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x3bc11b,0x10,_0x51d6f5[0x2a]),_0x2eeca1=_0x66f313(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x1acb4f,0x17,_0x51d6f5[0x2b]),_0x3dc074=_0x66f313(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x1e0061,0x4,_0x51d6f5[0x2c]),_0x5bc349=_0x66f313(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x186b09,0xb,_0x51d6f5[0x2d]),_0x562b5e=_0x66f313(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x24392d,0x10,_0x51d6f5[0x2e]),_0x2eeca1=_0x66f313(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x58ff6f,0x17,_0x51d6f5[0x2f]),_0x3dc074=_0x110c43(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x339e00,0x6,_0x51d6f5[0x30]),_0x5bc349=_0x110c43(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x4d2809,0xa,_0x51d6f5[0x31]),_0x562b5e=_0x110c43(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x5be4aa,0xf,_0x51d6f5[0x32]),_0x2eeca1=_0x110c43(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x1aa643,0x15,_0x51d6f5[0x33]),_0x3dc074=_0x110c43(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x186b09,0x6,_0x51d6f5[0x34]),_0x5bc349=_0x110c43(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x3bc11b,0xa,_0x51d6f5[0x35]),_0x562b5e=_0x110c43(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0xd20fe,0xf,_0x51d6f5[0x36]),_0x2eeca1=_0x110c43(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x1ba855,0x15,_0x51d6f5[0x37]),_0x3dc074=_0x110c43(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x90cb86,0x6,_0x51d6f5[0x38]),_0x5bc349=_0x110c43(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x24392d,0xa,_0x51d6f5[0x39]),_0x562b5e=_0x110c43(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x1acb4f,0xf,_0x51d6f5[0x3a]),_0x2eeca1=_0x110c43(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x3c5291,0x15,_0x51d6f5[0x3b]),_0x3dc074=_0x110c43(_0x3dc074,_0x2eeca1,_0x562b5e,_0x5bc349,_0x28c68c,0x6,_0x51d6f5[0x3c]),_0x5bc349=_0x110c43(_0x5bc349,_0x3dc074,_0x2eeca1,_0x562b5e,_0x4e8d72,0xa,_0x51d6f5[0x3d]),_0x562b5e=_0x110c43(_0x562b5e,_0x5bc349,_0x3dc074,_0x2eeca1,_0x58ff6f,0xf,_0x51d6f5[0x3e]),_0x2eeca1=_0x110c43(_0x2eeca1,_0x562b5e,_0x5bc349,_0x3dc074,_0x1e0061,0x15,_0x51d6f5[0x3f]),_0xdd0e50[0x0]=_0xdd0e50[0x0]+_0x3dc074|0x0,_0xdd0e50[0x1]=_0xdd0e50[0x1]+_0x2eeca1|0x0,_0xdd0e50[0x2]=_0xdd0e50[0x2]+_0x562b5e|0x0,_0xdd0e50[0x3]=_0xdd0e50[0x3]+_0x5bc349|0x0;},'_doFinalize':function(){var _0x1adf05=_0x424cc6,_0x43170f=this[_0x1adf05(0x49a)],_0x2327c4=_0x43170f[_0x1adf05(0x4e7)],_0x56c78d=this[_0x1adf05(0x21f)]*0x8,_0x2b7373=_0x43170f[_0x1adf05(0x266)]*0x8;_0x2327c4[_0x2b7373>>>0x5]|=0x80<<0x18-_0x2b7373%0x20;var _0x943e1e=_0x1c2a65['floor'](_0x56c78d/0x100000000),_0x54af68=_0x56c78d;_0x2327c4[(_0x2b7373+0x40>>>0x9<<0x4)+0xf]=(_0x943e1e<<0x8|_0x943e1e>>>0x18)&0xff00ff|(_0x943e1e<<0x18|_0x943e1e>>>0x8)&0xff00ff00,_0x2327c4[(_0x2b7373+0x40>>>0x9<<0x4)+0xe]=(_0x54af68<<0x8|_0x54af68>>>0x18)&0xff00ff|(_0x54af68<<0x18|_0x54af68>>>0x8)&0xff00ff00,_0x43170f[_0x1adf05(0x266)]=(_0x2327c4[_0x1adf05(0x373)]+0x1)*0x4,this[_0x1adf05(0x3f5)]();for(var _0x16d606=this[_0x1adf05(0x26b)],_0x4b2f54=_0x16d606[_0x1adf05(0x4e7)],_0x579f5e=0x0;_0x579f5e<0x4;_0x579f5e++){var _0x5b38fa=_0x4b2f54[_0x579f5e];_0x4b2f54[_0x579f5e]=(_0x5b38fa<<0x8|_0x5b38fa>>>0x18)&0xff00ff|(_0x5b38fa<<0x18|_0x5b38fa>>>0x8)&0xff00ff00;}return _0x16d606;},'clone':function(){var _0x362b73=_0x424cc6,_0x57d763=_0x43af3c[_0x362b73(0x3e7)]['call'](this);return _0x57d763[_0x362b73(0x26b)]=this[_0x362b73(0x26b)][_0x362b73(0x3e7)](),_0x57d763;}});function _0x5e6d9d(_0x3bba3c,_0x33382f,_0x3c6890,_0x500b5f,_0x5be9d9,_0x196dff,_0x59e4ce){var _0x3a3fdb=_0x3bba3c+(_0x33382f&_0x3c6890|~_0x33382f&_0x500b5f)+_0x5be9d9+_0x59e4ce;return(_0x3a3fdb<<_0x196dff|_0x3a3fdb>>>0x20-_0x196dff)+_0x33382f;}function _0x5208ff(_0x58055d,_0x144967,_0x34fa50,_0x58a39d,_0x4c58e2,_0x5cad6c,_0x5869c2){var _0x33c015=_0x58055d+(_0x144967&_0x58a39d|_0x34fa50&~_0x58a39d)+_0x4c58e2+_0x5869c2;return(_0x33c015<<_0x5cad6c|_0x33c015>>>0x20-_0x5cad6c)+_0x144967;}function _0x66f313(_0x53379f,_0x1f45b1,_0x20f477,_0x514a82,_0x48caf4,_0x364a7b,_0x41259f){var _0x55d43d=_0x53379f+(_0x1f45b1^_0x20f477^_0x514a82)+_0x48caf4+_0x41259f;return(_0x55d43d<<_0x364a7b|_0x55d43d>>>0x20-_0x364a7b)+_0x1f45b1;}function _0x110c43(_0x5db384,_0x49b855,_0x6cb496,_0x96d8b8,_0x5e321f,_0x35ef6b,_0x406da1){var _0x8cb4ca=_0x5db384+(_0x6cb496^(_0x49b855|~_0x96d8b8))+_0x5e321f+_0x406da1;return(_0x8cb4ca<<_0x35ef6b|_0x8cb4ca>>>0x20-_0x35ef6b)+_0x49b855;}_0x2ea701[_0x424cc6(0x1ff)]=_0x43af3c[_0x424cc6(0x1cc)](_0x346fcd),_0x2ea701[_0x424cc6(0x4e6)]=_0x43af3c[_0x424cc6(0x4e3)](_0x346fcd);}(Math),_0xae485f[_0x1015e3(0x1ff)];}));}(ge)),ge[_0x5d86db(0x2b4)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x11fce6(0x2b4)],Ze;function Pi(){var _0x2a1d85=_0x11fce6;return Ze||(Ze=0x1,function(_0x2a6b74,_0x1abac2){(function(_0x4dec07,_0x1bcc40){var _0x5c9345=_0x450d;_0x2a6b74[_0x5c9345(0x2b4)]=_0x1bcc40(Q());}(Ai,function(_0x4a8c0d){return(function(){var _0x399ddc=_0x450d,_0x4bfb77=_0x4a8c0d,_0x32dc32=_0x4bfb77['lib'],_0x4a4246=_0x32dc32['WordArray'],_0x331ef9=_0x32dc32['Hasher'],_0x2b34b2=_0x4bfb77[_0x399ddc(0x46b)],_0x1b324a=[],_0x21a33f=_0x2b34b2[_0x399ddc(0x1b7)]=_0x331ef9[_0x399ddc(0x2c4)]({'_doReset':function(){var _0x3d848d=_0x399ddc;this[_0x3d848d(0x26b)]=new _0x4a4246[(_0x3d848d(0x301))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x23dccd,_0x18d6d5){var _0x2c5c48=_0x399ddc;for(var _0x1b79f4=this['_hash'][_0x2c5c48(0x4e7)],_0x133537=_0x1b79f4[0x0],_0x50e442=_0x1b79f4[0x1],_0x5a362a=_0x1b79f4[0x2],_0x46fafd=_0x1b79f4[0x3],_0x2e75be=_0x1b79f4[0x4],_0x4dc280=0x0;_0x4dc280<0x50;_0x4dc280++){if(_0x4dc280<0x10)_0x1b324a[_0x4dc280]=_0x23dccd[_0x18d6d5+_0x4dc280]|0x0;else{var _0x3cd92e=_0x1b324a[_0x4dc280-0x3]^_0x1b324a[_0x4dc280-0x8]^_0x1b324a[_0x4dc280-0xe]^_0x1b324a[_0x4dc280-0x10];_0x1b324a[_0x4dc280]=_0x3cd92e<<0x1|_0x3cd92e>>>0x1f;}var _0x15cc62=(_0x133537<<0x5|_0x133537>>>0x1b)+_0x2e75be+_0x1b324a[_0x4dc280];_0x4dc280<0x14?_0x15cc62+=(_0x50e442&_0x5a362a|~_0x50e442&_0x46fafd)+0x5a827999:_0x4dc280<0x28?_0x15cc62+=(_0x50e442^_0x5a362a^_0x46fafd)+0x6ed9eba1:_0x4dc280<0x3c?_0x15cc62+=(_0x50e442&_0x5a362a|_0x50e442&_0x46fafd|_0x5a362a&_0x46fafd)-0x70e44324:_0x15cc62+=(_0x50e442^_0x5a362a^_0x46fafd)-0x359d3e2a,_0x2e75be=_0x46fafd,_0x46fafd=_0x5a362a,_0x5a362a=_0x50e442<<0x1e|_0x50e442>>>0x2,_0x50e442=_0x133537,_0x133537=_0x15cc62;}_0x1b79f4[0x0]=_0x1b79f4[0x0]+_0x133537|0x0,_0x1b79f4[0x1]=_0x1b79f4[0x1]+_0x50e442|0x0,_0x1b79f4[0x2]=_0x1b79f4[0x2]+_0x5a362a|0x0,_0x1b79f4[0x3]=_0x1b79f4[0x3]+_0x46fafd|0x0,_0x1b79f4[0x4]=_0x1b79f4[0x4]+_0x2e75be|0x0;},'_doFinalize':function(){var _0x24440d=_0x399ddc,_0x18ec7e=this[_0x24440d(0x49a)],_0x21d978=_0x18ec7e[_0x24440d(0x4e7)],_0x5c507b=this[_0x24440d(0x21f)]*0x8,_0x4cd108=_0x18ec7e[_0x24440d(0x266)]*0x8;return _0x21d978[_0x4cd108>>>0x5]|=0x80<<0x18-_0x4cd108%0x20,_0x21d978[(_0x4cd108+0x40>>>0x9<<0x4)+0xe]=Math[_0x24440d(0x44c)](_0x5c507b/0x100000000),_0x21d978[(_0x4cd108+0x40>>>0x9<<0x4)+0xf]=_0x5c507b,_0x18ec7e[_0x24440d(0x266)]=_0x21d978[_0x24440d(0x373)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x14752c=_0x399ddc,_0x8b7564=_0x331ef9[_0x14752c(0x3e7)][_0x14752c(0x396)](this);return _0x8b7564[_0x14752c(0x26b)]=this['_hash']['clone'](),_0x8b7564;}});_0x4bfb77[_0x399ddc(0x1b7)]=_0x331ef9[_0x399ddc(0x1cc)](_0x21a33f),_0x4bfb77[_0x399ddc(0x3a2)]=_0x331ef9[_0x399ddc(0x4e3)](_0x21a33f);}()),_0x4a8c0d['SHA1'];}));}(me)),me[_0x2a1d85(0x2b4)];}var Ce={'exports':{}},Li=Ce[_0x11fce6(0x2b4)],Qe;function wi(){return Qe||(Qe=0x1,function(_0x2fe8b4,_0x31616f){(function(_0x24b326,_0x10921b){_0x2fe8b4['exports']=_0x10921b(Q());}(Li,function(_0x42bdf1){(function(){var _0x2ef080=_0x450d,_0x54d23b=_0x42bdf1,_0xed32f7=_0x54d23b['lib'],_0x4deafe=_0xed32f7[_0x2ef080(0x46a)],_0x210d8d=_0x54d23b[_0x2ef080(0x3bd)],_0x429281=_0x210d8d['Utf8'],_0x3ee687=_0x54d23b[_0x2ef080(0x46b)];_0x3ee687[_0x2ef080(0x41a)]=_0x4deafe[_0x2ef080(0x2c4)]({'init':function(_0x187a02,_0x59ce3e){var _0x328af0=_0x2ef080;_0x187a02=this['_hasher']=new _0x187a02[(_0x328af0(0x301))](),typeof _0x59ce3e==_0x328af0(0x1cd)&&(_0x59ce3e=_0x429281[_0x328af0(0x375)](_0x59ce3e));var _0x40e256=_0x187a02[_0x328af0(0x501)],_0x474f19=_0x40e256*0x4;_0x59ce3e[_0x328af0(0x266)]>_0x474f19&&(_0x59ce3e=_0x187a02[_0x328af0(0x2a8)](_0x59ce3e)),_0x59ce3e['clamp']();for(var _0x26978c=this[_0x328af0(0x206)]=_0x59ce3e[_0x328af0(0x3e7)](),_0x543bfe=this[_0x328af0(0x18a)]=_0x59ce3e['clone'](),_0x1e5266=_0x26978c[_0x328af0(0x4e7)],_0x10c174=_0x543bfe['words'],_0x443d86=0x0;_0x443d86<_0x40e256;_0x443d86++)_0x1e5266[_0x443d86]^=0x5c5c5c5c,_0x10c174[_0x443d86]^=0x36363636;_0x26978c[_0x328af0(0x266)]=_0x543bfe['sigBytes']=_0x474f19,this['reset']();},'reset':function(){var _0x44dcc6=_0x2ef080,_0x302631=this[_0x44dcc6(0x22a)];_0x302631[_0x44dcc6(0x1aa)](),_0x302631[_0x44dcc6(0x235)](this[_0x44dcc6(0x18a)]);},'update':function(_0x4c2bec){var _0x280201=_0x2ef080;return this['_hasher'][_0x280201(0x235)](_0x4c2bec),this;},'finalize':function(_0x592471){var _0x4a3f38=_0x2ef080,_0x35e063=this[_0x4a3f38(0x22a)],_0x76903c=_0x35e063[_0x4a3f38(0x2a8)](_0x592471);_0x35e063[_0x4a3f38(0x1aa)]();var _0x3d924b=_0x35e063['finalize'](this[_0x4a3f38(0x206)][_0x4a3f38(0x3e7)]()[_0x4a3f38(0x422)](_0x76903c));return _0x3d924b;}});}());}));}(Ce)),Ce['exports'];}var Mi=Ee[_0x11fce6(0x2b4)],et;function Nt(){return et||(et=0x1,function(_0x8e8bab,_0x5f37fc){(function(_0x1d0e20,_0xaf0f77,_0x1fbf7c){var _0x4c2f37=_0x450d;_0x8e8bab[_0x4c2f37(0x2b4)]=_0xaf0f77(Q(),Pi(),wi());}(Mi,function(_0x51a449){var _0x4aa6ca=_0x450d;return(function(){var _0x378b0c=_0x450d,_0x5ab171=_0x51a449,_0x45380a=_0x5ab171[_0x378b0c(0x4cd)],_0x2988ad=_0x45380a[_0x378b0c(0x46a)],_0x185084=_0x45380a[_0x378b0c(0x458)],_0x4e127b=_0x5ab171[_0x378b0c(0x46b)],_0x59b2d5=_0x4e127b[_0x378b0c(0x1ff)],_0x5aefd6=_0x4e127b[_0x378b0c(0x1ef)]=_0x2988ad[_0x378b0c(0x2c4)]({'cfg':_0x2988ad[_0x378b0c(0x2c4)]({'keySize':0x80/0x20,'hasher':_0x59b2d5,'iterations':0x1}),'init':function(_0xa92718){var _0x144aa0=_0x378b0c;this['cfg']=this[_0x144aa0(0x2c7)][_0x144aa0(0x2c4)](_0xa92718);},'compute':function(_0x1b74e9,_0x90219c){var _0x2f8a52=_0x378b0c;for(var _0x2e73c9,_0x874d5f=this[_0x2f8a52(0x2c7)],_0x153296=_0x874d5f['hasher'][_0x2f8a52(0x277)](),_0x37f158=_0x185084[_0x2f8a52(0x277)](),_0x7fdcbf=_0x37f158[_0x2f8a52(0x4e7)],_0x3a445c=_0x874d5f['keySize'],_0x2f1b0b=_0x874d5f['iterations'];_0x7fdcbf[_0x2f8a52(0x373)]<_0x3a445c;){_0x2e73c9&&_0x153296[_0x2f8a52(0x235)](_0x2e73c9),_0x2e73c9=_0x153296[_0x2f8a52(0x235)](_0x1b74e9)['finalize'](_0x90219c),_0x153296[_0x2f8a52(0x1aa)]();for(var _0x15b7a6=0x1;_0x15b7a6<_0x2f1b0b;_0x15b7a6++)_0x2e73c9=_0x153296[_0x2f8a52(0x2a8)](_0x2e73c9),_0x153296['reset']();_0x37f158[_0x2f8a52(0x422)](_0x2e73c9);}return _0x37f158[_0x2f8a52(0x266)]=_0x3a445c*0x4,_0x37f158;}});_0x5ab171[_0x378b0c(0x1ef)]=function(_0x2700cf,_0x5b4e4d,_0x5540ab){return _0x5aefd6['create'](_0x5540ab)['compute'](_0x2700cf,_0x5b4e4d);};}()),_0x51a449[_0x4aa6ca(0x1ef)];}));}(Ee)),Ee['exports'];}var Te={'exports':{}},xi=Te[_0x11fce6(0x2b4)],tt;function Dt(){return tt||(tt=0x1,function(_0x483ee5,_0x20fbaa){(function(_0x23e594,_0x1bf0d4,_0x4c1a4c){var _0x38ff1c=_0x450d;_0x483ee5[_0x38ff1c(0x2b4)]=_0x1bf0d4(Q(),Nt());}(xi,function(_0x3fb940){var _0x56f9fe=_0x450d;_0x3fb940[_0x56f9fe(0x4cd)][_0x56f9fe(0x3b5)]||function(_0x157269){var _0x2a43d8=_0x56f9fe,_0x5935f9=_0x3fb940,_0xaab287=_0x5935f9[_0x2a43d8(0x4cd)],_0x5e6d7e=_0xaab287[_0x2a43d8(0x46a)],_0xbac3cd=_0xaab287[_0x2a43d8(0x458)],_0x278789=_0xaab287[_0x2a43d8(0x203)],_0x164a16=_0x5935f9['enc'];_0x164a16[_0x2a43d8(0x4e9)];var _0x2d208b=_0x164a16['Base64'],_0x1cc7e8=_0x5935f9[_0x2a43d8(0x46b)],_0xec14ab=_0x1cc7e8[_0x2a43d8(0x1ef)],_0x34b3b5=_0xaab287[_0x2a43d8(0x3b5)]=_0x278789['extend']({'cfg':_0x5e6d7e[_0x2a43d8(0x2c4)](),'createEncryptor':function(_0x3ef8a8,_0x21e8d9){var _0x478917=_0x2a43d8;return this[_0x478917(0x277)](this[_0x478917(0x428)],_0x3ef8a8,_0x21e8d9);},'createDecryptor':function(_0x3dd0f5,_0x1c51c7){var _0x4344d6=_0x2a43d8;return this[_0x4344d6(0x277)](this['_DEC_XFORM_MODE'],_0x3dd0f5,_0x1c51c7);},'init':function(_0x2e17e7,_0x47f05d,_0x586a05){var _0x289ba8=_0x2a43d8;this[_0x289ba8(0x2c7)]=this['cfg'][_0x289ba8(0x2c4)](_0x586a05),this['_xformMode']=_0x2e17e7,this[_0x289ba8(0x4a3)]=_0x47f05d,this['reset']();},'reset':function(){var _0x5b3f25=_0x2a43d8;_0x278789[_0x5b3f25(0x1aa)][_0x5b3f25(0x396)](this),this['_doReset']();},'process':function(_0x156de3){var _0x3ee55c=_0x2a43d8;return this[_0x3ee55c(0x2c2)](_0x156de3),this[_0x3ee55c(0x3f5)]();},'finalize':function(_0x50ea55){var _0x7d4e99=_0x2a43d8;_0x50ea55&&this['_append'](_0x50ea55);var _0x13a39e=this[_0x7d4e99(0x4ad)]();return _0x13a39e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5cf9e5(_0x2c2771){var _0x46ac35=_0x450d;return typeof _0x2c2771==_0x46ac35(0x1cd)?_0x8b05fe:_0x2277d0;}return function(_0x32ac9f){return{'encrypt':function(_0x4c2366,_0x4b98ee,_0x544d3b){var _0x33eefa=_0x450d;return _0x5cf9e5(_0x4b98ee)[_0x33eefa(0x465)](_0x32ac9f,_0x4c2366,_0x4b98ee,_0x544d3b);},'decrypt':function(_0x413082,_0x233457,_0x3c430d){var _0x52c172=_0x450d;return _0x5cf9e5(_0x233457)[_0x52c172(0x209)](_0x32ac9f,_0x413082,_0x233457,_0x3c430d);}};};}())});_0xaab287[_0x2a43d8(0x463)]=_0x34b3b5[_0x2a43d8(0x2c4)]({'_doFinalize':function(){var _0x450164=_0x2a43d8,_0x44a751=this[_0x450164(0x3f5)](!0x0);return _0x44a751;},'blockSize':0x1});var _0x4f4736=_0x5935f9[_0x2a43d8(0x272)]={},_0x2eace5=_0xaab287[_0x2a43d8(0x263)]=_0x5e6d7e[_0x2a43d8(0x2c4)]({'createEncryptor':function(_0x5bf328,_0x5db99e){var _0x55b1e6=_0x2a43d8;return this['Encryptor'][_0x55b1e6(0x277)](_0x5bf328,_0x5db99e);},'createDecryptor':function(_0x2cc460,_0x55a2d){var _0x18a717=_0x2a43d8;return this['Decryptor'][_0x18a717(0x277)](_0x2cc460,_0x55a2d);},'init':function(_0x2b09ac,_0x30374d){var _0x2a4f33=_0x2a43d8;this[_0x2a4f33(0x3ea)]=_0x2b09ac,this[_0x2a4f33(0x358)]=_0x30374d;}}),_0x3d5234=_0x4f4736[_0x2a43d8(0x45c)]=(function(){var _0x529622=_0x2a43d8,_0x1fa4a7=_0x2eace5[_0x529622(0x2c4)]();_0x1fa4a7['Encryptor']=_0x1fa4a7['extend']({'processBlock':function(_0x31ab46,_0x351e1f){var _0x368aac=_0x529622,_0x3419a8=this['_cipher'],_0x53378d=_0x3419a8[_0x368aac(0x501)];_0x5caaa4[_0x368aac(0x396)](this,_0x31ab46,_0x351e1f,_0x53378d),_0x3419a8[_0x368aac(0x43a)](_0x31ab46,_0x351e1f),this[_0x368aac(0x417)]=_0x31ab46['slice'](_0x351e1f,_0x351e1f+_0x53378d);}}),_0x1fa4a7[_0x529622(0x349)]=_0x1fa4a7[_0x529622(0x2c4)]({'processBlock':function(_0x597cf9,_0x3d8fda){var _0x7164a7=_0x529622,_0x28e4fe=this[_0x7164a7(0x3ea)],_0x7673a3=_0x28e4fe[_0x7164a7(0x501)],_0x45b1cf=_0x597cf9[_0x7164a7(0x3e1)](_0x3d8fda,_0x3d8fda+_0x7673a3);_0x28e4fe[_0x7164a7(0x1ee)](_0x597cf9,_0x3d8fda),_0x5caaa4['call'](this,_0x597cf9,_0x3d8fda,_0x7673a3),this[_0x7164a7(0x417)]=_0x45b1cf;}});function _0x5caaa4(_0x5ed7d1,_0x685492,_0x44caf5){var _0x1b9ee4=_0x529622,_0x37994c,_0x31ebbe=this[_0x1b9ee4(0x358)];_0x31ebbe?(_0x37994c=_0x31ebbe,this[_0x1b9ee4(0x358)]=_0x157269):_0x37994c=this[_0x1b9ee4(0x417)];for(var _0x519e76=0x0;_0x519e76<_0x44caf5;_0x519e76++)_0x5ed7d1[_0x685492+_0x519e76]^=_0x37994c[_0x519e76];}return _0x1fa4a7;}()),_0x2cc762=_0x5935f9['pad']={},_0x2aa501=_0x2cc762[_0x2a43d8(0x2c6)]={'pad':function(_0x3cec02,_0x1cb14a){var _0x3257d0=_0x2a43d8;for(var _0x165052=_0x1cb14a*0x4,_0x5557f8=_0x165052-_0x3cec02['sigBytes']%_0x165052,_0x42594a=_0x5557f8<<0x18|_0x5557f8<<0x10|_0x5557f8<<0x8|_0x5557f8,_0x4df5a0=[],_0xe38388=0x0;_0xe38388<_0x5557f8;_0xe38388+=0x4)_0x4df5a0['push'](_0x42594a);var _0x15fd49=_0xbac3cd['create'](_0x4df5a0,_0x5557f8);_0x3cec02[_0x3257d0(0x422)](_0x15fd49);},'unpad':function(_0x52a051){var _0x4e25fa=_0x2a43d8,_0x44f564=_0x52a051[_0x4e25fa(0x4e7)][_0x52a051['sigBytes']-0x1>>>0x2]&0xff;_0x52a051['sigBytes']-=_0x44f564;}};_0xaab287[_0x2a43d8(0x184)]=_0x34b3b5[_0x2a43d8(0x2c4)]({'cfg':_0x34b3b5[_0x2a43d8(0x2c7)][_0x2a43d8(0x2c4)]({'mode':_0x3d5234,'padding':_0x2aa501}),'reset':function(){var _0x21732f=_0x2a43d8,_0xc0b74f;_0x34b3b5[_0x21732f(0x1aa)][_0x21732f(0x396)](this);var _0x4134be=this['cfg'],_0x385558=_0x4134be['iv'],_0x5e35e4=_0x4134be[_0x21732f(0x272)];this[_0x21732f(0x36c)]==this[_0x21732f(0x428)]?_0xc0b74f=_0x5e35e4[_0x21732f(0x4a1)]:(_0xc0b74f=_0x5e35e4[_0x21732f(0x3b8)],this['_minBufferSize']=0x1),this[_0x21732f(0x23e)]&&this['_mode'][_0x21732f(0x481)]==_0xc0b74f?this[_0x21732f(0x23e)]['init'](this,_0x385558&&_0x385558[_0x21732f(0x4e7)]):(this[_0x21732f(0x23e)]=_0xc0b74f[_0x21732f(0x396)](_0x5e35e4,this,_0x385558&&_0x385558[_0x21732f(0x4e7)]),this[_0x21732f(0x23e)][_0x21732f(0x481)]=_0xc0b74f);},'_doProcessBlock':function(_0x1c0585,_0x4bf4a3){var _0x4f1339=_0x2a43d8;this[_0x4f1339(0x23e)]['processBlock'](_0x1c0585,_0x4bf4a3);},'_doFinalize':function(){var _0x3fefea=_0x2a43d8,_0xda435d,_0xc8b5e3=this['cfg'][_0x3fefea(0x24f)];return this[_0x3fefea(0x36c)]==this[_0x3fefea(0x428)]?(_0xc8b5e3[_0x3fefea(0x2cb)](this[_0x3fefea(0x49a)],this[_0x3fefea(0x501)]),_0xda435d=this[_0x3fefea(0x3f5)](!0x0)):(_0xda435d=this['_process'](!0x0),_0xc8b5e3[_0x3fefea(0x274)](_0xda435d)),_0xda435d;},'blockSize':0x80/0x20});var _0x549eea=_0xaab287[_0x2a43d8(0x1f0)]=_0x5e6d7e['extend']({'init':function(_0x34ae01){var _0x4f9866=_0x2a43d8;this[_0x4f9866(0x3f1)](_0x34ae01);},'toString':function(_0x3cea54){var _0x2fca48=_0x2a43d8;return(_0x3cea54||this[_0x2fca48(0x242)])[_0x2fca48(0x4cc)](this);}}),_0x4b4cb8=_0x5935f9[_0x2a43d8(0x193)]={},_0x34a7ec=_0x4b4cb8[_0x2a43d8(0x1d1)]={'stringify':function(_0x14b96b){var _0x143188=_0x2a43d8,_0x1a51b6,_0x475781=_0x14b96b[_0x143188(0x2a5)],_0x3601dd=_0x14b96b['salt'];return _0x3601dd?_0x1a51b6=_0xbac3cd[_0x143188(0x277)]([0x53616c74,0x65645f5f])['concat'](_0x3601dd)[_0x143188(0x422)](_0x475781):_0x1a51b6=_0x475781,_0x1a51b6['toString'](_0x2d208b);},'parse':function(_0x3317ad){var _0x3b3cf1=_0x2a43d8,_0x1fcfcb,_0x1f2a12=_0x2d208b[_0x3b3cf1(0x375)](_0x3317ad),_0x148738=_0x1f2a12[_0x3b3cf1(0x4e7)];return _0x148738[0x0]==0x53616c74&&_0x148738[0x1]==0x65645f5f&&(_0x1fcfcb=_0xbac3cd[_0x3b3cf1(0x277)](_0x148738[_0x3b3cf1(0x3e1)](0x2,0x4)),_0x148738['splice'](0x0,0x4),_0x1f2a12['sigBytes']-=0x10),_0x549eea[_0x3b3cf1(0x277)]({'ciphertext':_0x1f2a12,'salt':_0x1fcfcb});}},_0x2277d0=_0xaab287[_0x2a43d8(0x442)]=_0x5e6d7e[_0x2a43d8(0x2c4)]({'cfg':_0x5e6d7e['extend']({'format':_0x34a7ec}),'encrypt':function(_0x1873d9,_0xd413f6,_0x3684e4,_0x17999b){var _0x5d49b2=_0x2a43d8;_0x17999b=this['cfg'][_0x5d49b2(0x2c4)](_0x17999b);var _0x2ca2c6=_0x1873d9[_0x5d49b2(0x4a1)](_0x3684e4,_0x17999b),_0x48cd78=_0x2ca2c6[_0x5d49b2(0x2a8)](_0xd413f6),_0x37bf8e=_0x2ca2c6['cfg'];return _0x549eea['create']({'ciphertext':_0x48cd78,'key':_0x3684e4,'iv':_0x37bf8e['iv'],'algorithm':_0x1873d9,'mode':_0x37bf8e[_0x5d49b2(0x272)],'padding':_0x37bf8e[_0x5d49b2(0x24f)],'blockSize':_0x1873d9['blockSize'],'formatter':_0x17999b[_0x5d49b2(0x193)]});},'decrypt':function(_0x44e55e,_0x5a319c,_0x254d13,_0x5102bc){var _0x27b8b6=_0x2a43d8;_0x5102bc=this[_0x27b8b6(0x2c7)]['extend'](_0x5102bc),_0x5a319c=this['_parse'](_0x5a319c,_0x5102bc[_0x27b8b6(0x193)]);var _0x37a8be=_0x44e55e[_0x27b8b6(0x3b8)](_0x254d13,_0x5102bc)[_0x27b8b6(0x2a8)](_0x5a319c['ciphertext']);return _0x37a8be;},'_parse':function(_0x8b553f,_0x28234e){var _0x7ec97=_0x2a43d8;return typeof _0x8b553f==_0x7ec97(0x1cd)?_0x28234e[_0x7ec97(0x375)](_0x8b553f,this):_0x8b553f;}}),_0x5ea347=_0x5935f9[_0x2a43d8(0x2f1)]={},_0x1db4af=_0x5ea347[_0x2a43d8(0x1d1)]={'execute':function(_0x491f6b,_0x480027,_0x13993c,_0x3fcf99,_0xcee2c8){var _0x25d341=_0x2a43d8;if(_0x3fcf99||(_0x3fcf99=_0xbac3cd[_0x25d341(0x4c3)](0x40/0x8)),_0xcee2c8)var _0x3e6f3d=_0xec14ab['create']({'keySize':_0x480027+_0x13993c,'hasher':_0xcee2c8})[_0x25d341(0x433)](_0x491f6b,_0x3fcf99);else var _0x3e6f3d=_0xec14ab['create']({'keySize':_0x480027+_0x13993c})[_0x25d341(0x433)](_0x491f6b,_0x3fcf99);var _0x1de168=_0xbac3cd[_0x25d341(0x277)](_0x3e6f3d['words'][_0x25d341(0x3e1)](_0x480027),_0x13993c*0x4);return _0x3e6f3d['sigBytes']=_0x480027*0x4,_0x549eea['create']({'key':_0x3e6f3d,'iv':_0x1de168,'salt':_0x3fcf99});}},_0x8b05fe=_0xaab287[_0x2a43d8(0x32f)]=_0x2277d0['extend']({'cfg':_0x2277d0[_0x2a43d8(0x2c7)][_0x2a43d8(0x2c4)]({'kdf':_0x1db4af}),'encrypt':function(_0x3811d1,_0x33a37c,_0x1ee919,_0xeb1b74){var _0x3c3389=_0x2a43d8;_0xeb1b74=this['cfg']['extend'](_0xeb1b74);var _0x5e90a0=_0xeb1b74[_0x3c3389(0x2f1)][_0x3c3389(0x377)](_0x1ee919,_0x3811d1[_0x3c3389(0x467)],_0x3811d1[_0x3c3389(0x2dc)],_0xeb1b74[_0x3c3389(0x276)],_0xeb1b74[_0x3c3389(0x508)]);_0xeb1b74['iv']=_0x5e90a0['iv'];var _0x4cb4de=_0x2277d0[_0x3c3389(0x465)]['call'](this,_0x3811d1,_0x33a37c,_0x5e90a0[_0x3c3389(0x49c)],_0xeb1b74);return _0x4cb4de[_0x3c3389(0x3f1)](_0x5e90a0),_0x4cb4de;},'decrypt':function(_0x494386,_0x3ca26f,_0x2e7505,_0x42b33f){var _0x939acc=_0x2a43d8;_0x42b33f=this['cfg']['extend'](_0x42b33f),_0x3ca26f=this['_parse'](_0x3ca26f,_0x42b33f[_0x939acc(0x193)]);var _0x1fb78e=_0x42b33f[_0x939acc(0x2f1)][_0x939acc(0x377)](_0x2e7505,_0x494386['keySize'],_0x494386[_0x939acc(0x2dc)],_0x3ca26f['salt'],_0x42b33f[_0x939acc(0x508)]);_0x42b33f['iv']=_0x1fb78e['iv'];var _0x4b9e1f=_0x2277d0[_0x939acc(0x209)][_0x939acc(0x396)](this,_0x494386,_0x3ca26f,_0x1fb78e['key'],_0x42b33f);return _0x4b9e1f;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x11fce6(0x2b4)],it;function Hi(){var _0x43c33c=_0x11fce6;return it||(it=0x1,function(_0xffafaa,_0x592fea){(function(_0x2696e8,_0x47051d,_0x2820b6){var _0x31fcfe=_0x450d;_0xffafaa[_0x31fcfe(0x2b4)]=_0x47051d(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x4c0338){return(function(){var _0x398add=_0x450d,_0xee3c99=_0x4c0338,_0xdb8a39=_0xee3c99['lib'],_0x8fa7c3=_0xdb8a39[_0x398add(0x184)],_0x2bde3c=_0xee3c99[_0x398add(0x46b)],_0x176470=[],_0x52e7e8=[],_0x319b9c=[],_0x1246eb=[],_0x43ace7=[],_0x229b34=[],_0xbd82a7=[],_0x296534=[],_0x419d10=[],_0x3f265d=[];(function(){for(var _0x1e3bf3=[],_0x2da7c4=0x0;_0x2da7c4<0x100;_0x2da7c4++)_0x2da7c4<0x80?_0x1e3bf3[_0x2da7c4]=_0x2da7c4<<0x1:_0x1e3bf3[_0x2da7c4]=_0x2da7c4<<0x1^0x11b;for(var _0x5b0dda=0x0,_0x42faed=0x0,_0x2da7c4=0x0;_0x2da7c4<0x100;_0x2da7c4++){var _0x386376=_0x42faed^_0x42faed<<0x1^_0x42faed<<0x2^_0x42faed<<0x3^_0x42faed<<0x4;_0x386376=_0x386376>>>0x8^_0x386376&0xff^0x63,_0x176470[_0x5b0dda]=_0x386376,_0x52e7e8[_0x386376]=_0x5b0dda;var _0x47aaa5=_0x1e3bf3[_0x5b0dda],_0x4c5d3c=_0x1e3bf3[_0x47aaa5],_0x3a1b0b=_0x1e3bf3[_0x4c5d3c],_0x328a8d=_0x1e3bf3[_0x386376]*0x101^_0x386376*0x1010100;_0x319b9c[_0x5b0dda]=_0x328a8d<<0x18|_0x328a8d>>>0x8,_0x1246eb[_0x5b0dda]=_0x328a8d<<0x10|_0x328a8d>>>0x10,_0x43ace7[_0x5b0dda]=_0x328a8d<<0x8|_0x328a8d>>>0x18,_0x229b34[_0x5b0dda]=_0x328a8d;var _0x328a8d=_0x3a1b0b*0x1010101^_0x4c5d3c*0x10001^_0x47aaa5*0x101^_0x5b0dda*0x1010100;_0xbd82a7[_0x386376]=_0x328a8d<<0x18|_0x328a8d>>>0x8,_0x296534[_0x386376]=_0x328a8d<<0x10|_0x328a8d>>>0x10,_0x419d10[_0x386376]=_0x328a8d<<0x8|_0x328a8d>>>0x18,_0x3f265d[_0x386376]=_0x328a8d,_0x5b0dda?(_0x5b0dda=_0x47aaa5^_0x1e3bf3[_0x1e3bf3[_0x1e3bf3[_0x3a1b0b^_0x47aaa5]]],_0x42faed^=_0x1e3bf3[_0x1e3bf3[_0x42faed]]):_0x5b0dda=_0x42faed=0x1;}}());var _0x7a8daf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5a09e0=_0x2bde3c[_0x398add(0x3d8)]=_0x8fa7c3[_0x398add(0x2c4)]({'_doReset':function(){var _0x4f6e15=_0x398add,_0x462410;if(!(this[_0x4f6e15(0x3ed)]&&this[_0x4f6e15(0x295)]===this[_0x4f6e15(0x4a3)])){for(var _0xa606b3=this['_keyPriorReset']=this[_0x4f6e15(0x4a3)],_0x1c9f1f=_0xa606b3[_0x4f6e15(0x4e7)],_0x39c68d=_0xa606b3['sigBytes']/0x4,_0x5b6dc6=this['_nRounds']=_0x39c68d+0x6,_0x41f602=(_0x5b6dc6+0x1)*0x4,_0x427d7d=this[_0x4f6e15(0x4a9)]=[],_0x2338bd=0x0;_0x2338bd<_0x41f602;_0x2338bd++)_0x2338bd<_0x39c68d?_0x427d7d[_0x2338bd]=_0x1c9f1f[_0x2338bd]:(_0x462410=_0x427d7d[_0x2338bd-0x1],_0x2338bd%_0x39c68d?_0x39c68d>0x6&&_0x2338bd%_0x39c68d==0x4&&(_0x462410=_0x176470[_0x462410>>>0x18]<<0x18|_0x176470[_0x462410>>>0x10&0xff]<<0x10|_0x176470[_0x462410>>>0x8&0xff]<<0x8|_0x176470[_0x462410&0xff]):(_0x462410=_0x462410<<0x8|_0x462410>>>0x18,_0x462410=_0x176470[_0x462410>>>0x18]<<0x18|_0x176470[_0x462410>>>0x10&0xff]<<0x10|_0x176470[_0x462410>>>0x8&0xff]<<0x8|_0x176470[_0x462410&0xff],_0x462410^=_0x7a8daf[_0x2338bd/_0x39c68d|0x0]<<0x18),_0x427d7d[_0x2338bd]=_0x427d7d[_0x2338bd-_0x39c68d]^_0x462410);for(var _0xd88643=this[_0x4f6e15(0x484)]=[],_0x3dfdfb=0x0;_0x3dfdfb<_0x41f602;_0x3dfdfb++){var _0x2338bd=_0x41f602-_0x3dfdfb;if(_0x3dfdfb%0x4)var _0x462410=_0x427d7d[_0x2338bd];else var _0x462410=_0x427d7d[_0x2338bd-0x4];_0x3dfdfb<0x4||_0x2338bd<=0x4?_0xd88643[_0x3dfdfb]=_0x462410:_0xd88643[_0x3dfdfb]=_0xbd82a7[_0x176470[_0x462410>>>0x18]]^_0x296534[_0x176470[_0x462410>>>0x10&0xff]]^_0x419d10[_0x176470[_0x462410>>>0x8&0xff]]^_0x3f265d[_0x176470[_0x462410&0xff]];}}},'encryptBlock':function(_0x38a374,_0x1519e1){var _0x4b65d7=_0x398add;this[_0x4b65d7(0x37a)](_0x38a374,_0x1519e1,this[_0x4b65d7(0x4a9)],_0x319b9c,_0x1246eb,_0x43ace7,_0x229b34,_0x176470);},'decryptBlock':function(_0x579466,_0x46b9a4){var _0x23e328=_0x398add,_0x2228d1=_0x579466[_0x46b9a4+0x1];_0x579466[_0x46b9a4+0x1]=_0x579466[_0x46b9a4+0x3],_0x579466[_0x46b9a4+0x3]=_0x2228d1,this[_0x23e328(0x37a)](_0x579466,_0x46b9a4,this[_0x23e328(0x484)],_0xbd82a7,_0x296534,_0x419d10,_0x3f265d,_0x52e7e8);var _0x2228d1=_0x579466[_0x46b9a4+0x1];_0x579466[_0x46b9a4+0x1]=_0x579466[_0x46b9a4+0x3],_0x579466[_0x46b9a4+0x3]=_0x2228d1;},'_doCryptBlock':function(_0x1e79f1,_0x37b8ac,_0xde5abf,_0x1a5bb2,_0x50bf16,_0x500edc,_0xc57bc6,_0x1efb82){var _0x108421=_0x398add;for(var _0x27bfe7=this[_0x108421(0x3ed)],_0x13ef86=_0x1e79f1[_0x37b8ac]^_0xde5abf[0x0],_0x204ba7=_0x1e79f1[_0x37b8ac+0x1]^_0xde5abf[0x1],_0x282876=_0x1e79f1[_0x37b8ac+0x2]^_0xde5abf[0x2],_0xcb6f71=_0x1e79f1[_0x37b8ac+0x3]^_0xde5abf[0x3],_0x7202b2=0x4,_0x486686=0x1;_0x486686<_0x27bfe7;_0x486686++){var _0x14859c=_0x1a5bb2[_0x13ef86>>>0x18]^_0x50bf16[_0x204ba7>>>0x10&0xff]^_0x500edc[_0x282876>>>0x8&0xff]^_0xc57bc6[_0xcb6f71&0xff]^_0xde5abf[_0x7202b2++],_0x24f139=_0x1a5bb2[_0x204ba7>>>0x18]^_0x50bf16[_0x282876>>>0x10&0xff]^_0x500edc[_0xcb6f71>>>0x8&0xff]^_0xc57bc6[_0x13ef86&0xff]^_0xde5abf[_0x7202b2++],_0x4d944a=_0x1a5bb2[_0x282876>>>0x18]^_0x50bf16[_0xcb6f71>>>0x10&0xff]^_0x500edc[_0x13ef86>>>0x8&0xff]^_0xc57bc6[_0x204ba7&0xff]^_0xde5abf[_0x7202b2++],_0x1f53ed=_0x1a5bb2[_0xcb6f71>>>0x18]^_0x50bf16[_0x13ef86>>>0x10&0xff]^_0x500edc[_0x204ba7>>>0x8&0xff]^_0xc57bc6[_0x282876&0xff]^_0xde5abf[_0x7202b2++];_0x13ef86=_0x14859c,_0x204ba7=_0x24f139,_0x282876=_0x4d944a,_0xcb6f71=_0x1f53ed;}var _0x14859c=(_0x1efb82[_0x13ef86>>>0x18]<<0x18|_0x1efb82[_0x204ba7>>>0x10&0xff]<<0x10|_0x1efb82[_0x282876>>>0x8&0xff]<<0x8|_0x1efb82[_0xcb6f71&0xff])^_0xde5abf[_0x7202b2++],_0x24f139=(_0x1efb82[_0x204ba7>>>0x18]<<0x18|_0x1efb82[_0x282876>>>0x10&0xff]<<0x10|_0x1efb82[_0xcb6f71>>>0x8&0xff]<<0x8|_0x1efb82[_0x13ef86&0xff])^_0xde5abf[_0x7202b2++],_0x4d944a=(_0x1efb82[_0x282876>>>0x18]<<0x18|_0x1efb82[_0xcb6f71>>>0x10&0xff]<<0x10|_0x1efb82[_0x13ef86>>>0x8&0xff]<<0x8|_0x1efb82[_0x204ba7&0xff])^_0xde5abf[_0x7202b2++],_0x1f53ed=(_0x1efb82[_0xcb6f71>>>0x18]<<0x18|_0x1efb82[_0x13ef86>>>0x10&0xff]<<0x10|_0x1efb82[_0x204ba7>>>0x8&0xff]<<0x8|_0x1efb82[_0x282876&0xff])^_0xde5abf[_0x7202b2++];_0x1e79f1[_0x37b8ac]=_0x14859c,_0x1e79f1[_0x37b8ac+0x1]=_0x24f139,_0x1e79f1[_0x37b8ac+0x2]=_0x4d944a,_0x1e79f1[_0x37b8ac+0x3]=_0x1f53ed;},'keySize':0x100/0x20});_0xee3c99[_0x398add(0x3d8)]=_0x8fa7c3[_0x398add(0x1cc)](_0x5a09e0);}()),_0x4c0338['AES'];}));}(fe)),fe[_0x43c33c(0x2b4)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x11fce6(0x2b4)],rt;function Vi(){return rt||(rt=0x1,function(_0x39addc,_0x540fd4){(function(_0x2625f2,_0xd52a27){var _0x446060=_0x450d;_0x39addc[_0x446060(0x2b4)]=_0xd52a27(Q());}(Fi,function(_0x567115){var _0x164c11=_0x450d;return _0x567115[_0x164c11(0x3bd)][_0x164c11(0x4e9)];}));}(be)),be['exports'];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x11fce6(0x2b4)],st;function Ki(){var _0x18b964=_0x11fce6;return st||(st=0x1,function(_0x33ab1c,_0x1f18cf){(function(_0x43bae9,_0x3525f5){var _0x138cb6=_0x450d;_0x33ab1c[_0x138cb6(0x2b4)]=_0x3525f5(Q());}(Gi,function(_0x4f4fe1){var _0x1e9195=_0x450d;return(function(){var _0x35413b=_0x450d;if(typeof ArrayBuffer==_0x35413b(0x38b)){var _0x586e27=_0x4f4fe1,_0x5478fb=_0x586e27[_0x35413b(0x4cd)],_0x178ce7=_0x5478fb[_0x35413b(0x458)],_0x53f2c0=_0x178ce7[_0x35413b(0x301)],_0x1f2a50=_0x178ce7['init']=function(_0x4ea31a){var _0x4de009=_0x35413b;if(_0x4ea31a instanceof ArrayBuffer&&(_0x4ea31a=new Uint8Array(_0x4ea31a)),(_0x4ea31a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4ea31a instanceof Uint8ClampedArray||_0x4ea31a instanceof Int16Array||_0x4ea31a instanceof Uint16Array||_0x4ea31a instanceof Int32Array||_0x4ea31a instanceof Uint32Array||_0x4ea31a instanceof Float32Array||_0x4ea31a instanceof Float64Array)&&(_0x4ea31a=new Uint8Array(_0x4ea31a[_0x4de009(0x297)],_0x4ea31a[_0x4de009(0x275)],_0x4ea31a['byteLength'])),_0x4ea31a instanceof Uint8Array){for(var _0x1ff8bb=_0x4ea31a[_0x4de009(0x3f9)],_0x185ac7=[],_0x2f3be9=0x0;_0x2f3be9<_0x1ff8bb;_0x2f3be9++)_0x185ac7[_0x2f3be9>>>0x2]|=_0x4ea31a[_0x2f3be9]<<0x18-_0x2f3be9%0x4*0x8;_0x53f2c0[_0x4de009(0x396)](this,_0x185ac7,_0x1ff8bb);}else _0x53f2c0[_0x4de009(0x22c)](this,arguments);};_0x1f2a50[_0x35413b(0x354)]=_0x178ce7;}}()),_0x4f4fe1['lib'][_0x1e9195(0x458)];}));}(Re)),Re[_0x18b964(0x2b4)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x11fce6(0x2b4)],ot;function Xi(){return ot||(ot=0x1,function(_0x3bd730,_0x3b37c6){(function(_0x30a19f,_0x2ff072,_0x5dccc9){var _0x5b5845=_0x450d;_0x3bd730[_0x5b5845(0x2b4)]=_0x2ff072(Q(),Dt());}(Ji,function(_0x5ecbd2){var _0x45a24e=_0x450d;return _0x5ecbd2[_0x45a24e(0x2cb)][_0x45a24e(0x38f)]={'pad':function(){},'unpad':function(){}},_0x5ecbd2['pad']['NoPadding'];}));}(Oe)),Oe['exports'];}var Zi=Xi();const Qi=ve(Zi);function en(_0x1980b2,_0x505806){var _0x346d5c=_0x11fce6;const _0x15c5a5=_0x505806-_0x1980b2[_0x346d5c(0x373)]%_0x505806,_0x3e562c=String['fromCharCode'](_0x15c5a5)[_0x346d5c(0x4e1)](_0x15c5a5);return _0x1980b2+_0x3e562c;}function _0x530a(){var _0xd82536=['mutations','refreshPermission','appendMutation','/object/','onRemoteAck','/unit/','uploadFileServerUrl','_sheetTransformSelectionsService','DEFAULT_COLLAB_WEB_SOCKET_URL','_rescheduleHeartbeat','UNIVER_UNKNOWN','HEARTBEAT_INTERVAL_KEY','MOBILE_VERIFY_CODE_MISMATCH','Hasher','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SUBMIT_CHANGESET','UNIVER_SHEET','initWorkbookPermissionChange','_transitionLocked','CollaborationController','__creator','_exhaustRemoteChangesetQueue','_onCombEvent','_invKeySchedule','forEach','workbook','_toggleOnline','baseRev','onCommentUpdate','6qDjGSy','UPDATE_PERMISSION_OBJ','_socketService','target','UNKNOWN_CMD','range','SNAPSHOT_HAS_BEEN_REMOVED','_createInitialState','_config','_compressMutationService','/universer-api/authz','_onConflict','ReplaySubject','4615980DyhGUt','LOCAL_CACHE_INTERVAL','now','_data','SUCCUSS','key','onStarting','InsertSheetMutation','transformChangesets','HELLO','createEncryptor','resend','_key','getSheetBlock','CHANGESET_SHOULD_RETRY','_telemetryInfo','_executeRemoteChangeset','requireSession','_keySchedule','_transformStack','/rev/','IAuthzIoService','_doFinalize','/universer-api/user/session-ticket','getCollabEntity$','memberID','send','/universer-api/comb','_clearScheduledTask','MentionType','liveShareOperation','getSheetId','AuthzIoHttpService','deserializeToCombResponse','IDLE','_schedule','transformStack\x20failed!','rxjs/operators','serializeCombRequest','getCurrentUser','parseProtocolChangeset','_resendWithTimeout','_toggleOffline','_sendHeartbeatTimer','random','FETCH_MISS','_instanceService','DEFAULT_WS_SESSION_TICKET_URL','FetchingMissState','unitID','MOBILE_HAS_BEEN_BOUND','debug','session.room-cnt-exceeds','stringify','lib','_state','_onRemoteRetry','enableOfflineEditing','_incrementRevisionNumber','url','pauseCollaboration','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','collaboration-client.local-cache-service','_removeRoom','SNAPSHOT_INVALID_SNAPSHOT','IContextService','@univerjs/docs','collabSubmitChangesetUrl','getTypeOfUnitDisposed$','_pendingMutations','OfflineState','@univerjs/sheets','add','equals','repeat','SEND_CHANGESET_TIMEOUT_KEY','_createHmacHelper','_change$','loadOfflineData','HmacMD5','words','_configService','Utf8','_retryConnectingTimer','commentUpdateEvent','Quantity','UNKNOWN_CODE','connection\x20error','open$','_resendTimer','startsWith','readAsDataURL','UUID','stopTime','snapshotServerUrl','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Plugin','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','data','textRanges','getWorkbookSelections','$super','objects','getCurrentRevOfUnit','confirm','localCacheService','blockSize','createInstance','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_stopTelemetryCollaborationNewChangeset','duration','_getAPIPrefix','PY_RUNTIME_SCRIPT_ERROR','hasher','roomInfos','_socket$','APPLY_DUPLICATED','_sender','unsubscribe','Error\x20on\x20receiving\x20event','getUnitOnRev','setShowComponents','routeKey','ENSURE_SNAPSHOT_EXECUTION','CollaborationSession','PendingState','LocalUndoRedoService','BlockCipher','PENDING','loadDoc','Injector','isInternalEditorID','_collaborationSessionService','_iKey','_singleActiveUnitService','onTransformState','image/jpeg','pipe','liveShareNewHost','UniverNetworkPlugin','_status$','values','format','transformSelections','onTransformRemoteChangesetByStateCache','LICENSE_MAX_UNITS_EXCEEDED','_sendingTimer','_onOffline','_redoStacks','_socketMessageSubscription','UnitStatus','_submitChangeset','get','CLOSE_ROOM','emitEvent','SheetTransformSelectionsService','transformMutationsWithChangeset','SUBMIT_CHANGESET_TIMEOUT','listRoles','_commentUpdate$','/universer-api/stream/file/upload','loadUnitOfRevision','_getCurrentRevision','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','next','reset','ALREADY_EXISTS','LIVESHARE_NEW_HOST','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PERMISSION_REJ','image/jpg','post','csAckEvent','isTransformMutationsWithChangesetFailure','unit-cache-','setCurrentUser','_imageSourceCache','_awaitingChangeset','SHA1','Subject','getImage','_clearTimeoutTimer','_minBufferSize','type','enableSingleActiveInstanceLock','COMPLETION_FINISHED','unitId\x20is\x20not\x20found','LOGIN_FAILED','_listenToNetworkCondition','registerDependencies','_entities','SnapshotServerOverHTTPService','SHOULD_CLOSE_CONN','_networkConditionService','transformUndoRedo','updateSnapshot','clear','encodeURIComponent','_lockTransition','_createHelper','string','MentionIoHttpService','COLLAB_WEB_SOCKET_URL','event$','OpenSSL','status','_applyRemoteChangeset','USERS_LEAVE','FileId','/collaborator','Undefined','merge','members$','_remoteChangesetQueue','CompressMutationService','state','CHANGESET_ACK','complete','{fileID}','_handler','APPLY_NON_SEQUENTIAL_REVISION','HttpExport','ws://127.0.0.1:8000/universer-api/comb/connect','c1Prime','UniverCollaborationClientPlugin','univer-pro.collaboration-client.single-active-unit-service','_candidateSocket','DisposableCollection','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onLocalMutation','_onUserLeave','actions','Hex','decryptBlock','EvpKDF','CipherParams','onload','findIndex','toggleOffline','fetch_missing','COMMENT_UPDATE','_fetchMissChangesets','subscribe','getTypeOfUnitAdded$','LICENSE_IMPORT_SIZE_EXCEEDED','UNRECOGNIZED','sessionStatus$','result','@univerjs/network','CHANGESET_REJ','MD5','ILocalCacheService','LOGIN_URL_KEY','location','BufferedBlockAlgorithm','RETRY_CONNECTING_MAX_COUNT','JOIN_ROOM_NOT_EXISTS','_oKey','resolve','SOCKET_FAILED_RETRY','decrypt','clamp','_revisionService','textEncoder','MUTATION','symbol','YUUMI_RATE_OVER_LIMIT','image/png','sin','YUUMI_TABLE_NOT_FOUND_IN_UNIT','session.room-not-exists','toggleOnline','randomBytes','cmd','_onFetchMissResult','_snapshotService','set','_retryCount','_unitInfo$','method','TOO_MANY_REQUESTS','_roomMembers','_nDataBytes','UPDATE_CURSOR','DataLoaderService','JOIN_ROOM_FULL','onTransformSelections','EMAIL_VERIFY_CODE_MISMATCH','responseType','COLLAB_SUBMIT_CHANGESET_URL_KEY','getMemberID','not_collab','rev','_hasher','COMPRESS_MUTATION_APPLY','apply','getCurrentSelections','dispose','4453965uLuNTy','[SyncedState]:\x20received\x20rejection.','change$','_collaborationTimeoutTimer','sheets','/universer-api/file/{fileID}/sign-url','update','LIVESHARE_REQUEST_HOST','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','IMentionIOService','SessionStatus','_getDownloadEndpointURL','has','UniverCollaborationPlugin','catch','_mode','getUnitId','submit\x20changeset\x20error!','asObservable','formatter','onStateChange','entries','IPermissionService','YUUMI_CONNECTOR_URL_NOT_FOUND','_state$','GLOBAL_ROOMS_CNT_EXCEEDS','_HTTPService','collaborators','ImageUploadStatusType','Malformed\x20UTF-8\x20data','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','interceptor','padding','People','_shouldReportTelemetry','_unitID','isTransformChangesetsSuccess','onRemoteChangeset','default','rxjs','_transformRemoteChangesetByIMECache','_localeService','eventID','synced','_entityInit$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','onMissedChangesetFetched','getActiveSheet','crypto','CommentService','image/gif','@univerjs/core','BlockCipherMode','defineProperty','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','sigBytes','getAllMembers','_initUnitPermissionChange','take','Disposable','_hash','[UniverCollaborationClientPlugin]','CollaborationEvent','IImageIoService','error','IUniverInstanceService','_handlerCallback','mode','SOCKET_FAILED','unpad','byteOffset','salt','create','17557506hPxMwn','HEARTBEAT_TIMEOUT_KEY','_changesetSessionId','[OfflineState]:\x20received\x20acknowledgement.','USER_NOT_INVITED_CODE','_getAPIPrefixPath','_doReset','NEW_CHANGESETS','[SyncedState]:\x20received\x20acknowledgement.','_clearRetryConnectingTimer','pluginName','POST','_createSocket','IUndoRedoService','getFocusedUnit','touchDependencies','Rectangle','_snapshotServerService','_getLoginPath','_updateLocalCache','collaboration_new_changeset','_roomCreated$','NO_OTHER_CLIENTS_EDITING','_telemetryService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','YUUMI_ASYNCIO_CANCELLED','_createHandler','&to=','BehaviorSubject','_keyPriorReset','ERROR_IMAGE','buffer','saveImage','fetchThroughInterceptors','RxDisposable','__Key__','socket\x20close','charAt','from','toDisposable','/resources','failed\x20to\x20apply\x20missed\x20changesets!','@univerjs/drawing','_resendTimeout','_logService','ciphertext','_reverseMap','joinRsp','finalize','changesets','disableLocalCache','onSendChangeset','reqId','CommandType','_emitMembers','saveSheetBlock','univer-pro.collaboration-client-socket-service','getValue','getLocalCacheKey','_univerInstanceService','exports','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','DEFAULT_FILE_NAME','sid','state$','_changesetReqId','pending','every','enableAuthServer','Tools','JOINING','/universer-api/snapshot/','_onConnectionOpen','/fetchmissing?from=','_append','\x20in\x20_schedule.','extend','/role','Pkcs7','cfg','SheetPermissionInitController','sessionStatus','_undoStacks','pad','_injector','CollaborationEntity','LocaleService','collabWebSocketUrl','objectActions','avatar','COMPRESS_MUTATION_SEND','CollaborationUIEventId','_transformUndoredo','updatePermissionObjEvent','LIVESHARE_TERMINATE','_onRemoteACK','getRoom','UnitEmbedded','isTransformMutationsWithChangesetSuccess','YUUMI_UNABLE_LOAD_URL','ivSize','UNAUTHENTICATED','subject','Failed\x20to\x20update\x20permission\x20point','31736KvHfkZ','body','ICollaborationSocketService','isPermissionRej','awaitingChangeset','_userManagerService','ITransformService','_httpService','_collabSessionService','signUrlServerUrl','awaiting','reverse','EMAIL_HAS_BEEN_BOUND','SYNCED','charCodeAt','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','retryConnectingInterval','kdf','loginUrlKey','_unlockTransition','collaboratorID','params','120808vdmilk','override','title','splice','_commandService','APPLY_REJECT','hasOwnProperty','_onConnectionFailed','OFFLINE','_replayCachedMutations','_event$','init','RevisionService','toStringTag','unitId','/object','deleteCollaborator','PSEUDO_FETCH_MISSING_RESULT','auth.needGotoLoginAlert','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SNAPSHOT_SERVER_URL_KEY','loadSheet','href','updateOfflineData','_updateState','ThresholdInterceptorFactory','UNIVER_PROJECT','UnitSnapshot','msCrypto','[CollaborationSession]','fetchMiss','createIdentifier','MSG_FOR_ERROR','[CollaborationState]:\x20apply\x20error!','JOIN','RECV','_socketReady','c2Prime','HTTPRequest','includes','put','INVITE_CODE_REQUIRED','parseChangesetToProtocol','listCollaborators','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','then','onlyLocal','fetchMissingChangesets','651XPiGed','BASE64','objectID','_tryEnsureSocket','_localCacheService','_memberService','INTERNAL_ERROR','_getRedoStack','WECHAT_HAS_BEEN_BOUND','PasswordBasedCipher','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','origin','encode','onRemoteRetry','/allowed','_onRemoteChangeset','closeSession','_transformRemoteChangesetByStateCache','OTHER_CLIENTS_EDITING','_timeoutTimer','_getSignURL','awaiting_with_pending','entityInit$','toString','disposeWithMe','_disableEditing','_getUndoStack','_commentService','[PendingState]:\x20received\x20rejection.','LIVESHARE_FETCH_OPERATIONS','updatePermissionPoint','RETRY_CONNECTING_MAX_COUNT_KEY','mergeOverrideWithDependencies','getConfig','Decryptor','_waitForHeartbeatResponse','JOIN_ROOM_FAILED','&assign=','push','onRemoteRej','IConfigService','reject','_queuedRemoteChangesets','MemberService','setConfig','prototype','resourceIDs','OPTIONAL','HEARTBEAT_TIMEOUT','_iv','session.join-failed','APPLY_PERMISSION_DENIED','getMember','CollaborationStatus','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_updateStatus','telemetry\x20info\x20is\x20not\x20initialized','LEAVE','CONNECTOR_DATA_TOO_LARGE','isArray','RichTextEditingMutation','originalMeta','collaMsg','CollaborationUIEventService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CollaborationSocketService','x-univer-host','_checkMissing','substr','_xformMode','_showConflictNotification','getDeserializedSheetBlock','removeMember','_startCollaboration','__esModule','_scheduleCompleteTimestamp','length','LOCAL_CACHE_INTERVAL_KEY','parse','_eventService','execute','ONLINE','SEND_CHANGESET_TIMEOUT','_doCryptBlock','FETCH_MISSING','createCollaborator','reduce','shouldCloseConn','Optional','COLLAB_SUBMIT_CHANGESET_URL','generateRandomId','dispose$','ILogService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_substituteRedoStack','_socket','_replaceFileID','editingUnit','Module','name','function','OTHER_CLIENT_EDITING','YUUMI_SUBSCRIPTION_NOT_FOUND','delete','NoPadding','message$','_waitCount','UNIVER_COLLABORATION_CLIENT_PLUGIN','startTime','getOwnPropertyDescriptor','INVALID_ARGUMENT','call','onTransformIME','ImageSourceType','INVITE_CODE_HAS_BEEN_UES','code','getUnitType','_tryReconnect','INVITE_CODE_ALREADY_BOUND','onTransformRemoteChangesetByIMECache','1324380fhZhIo','CollaborationSessionService','_initDependencies','HmacSHA1','ISocketService','_transformIMECache','?size=','INVALID_INVITE_CODE','_sendHeartbeat','_onRemoteRejected','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','find','ConflictState','_decreaseWaiting','max','onMissingChangesets','downloadEndpointUrl','SheetCollaborationEntity','save\x20fail\x20reason\x20is\x20','close','_transformStateCache','takeUntil','Cipher','_onRecvEvent','AUTHZ_URL_KEY','createDecryptor','permissionRejEvent','SheetsSelectionsService','b64DecodeUnicode','_doProcessBlock','enc','_getUploadFileURL','headers','_onMessage','PERMISSION_DENIED','localeService','getUnit','/-/object/-/batch_allowed','_init','[CollaborationUndoRedoService]','concatMap','_registerDependencies','ISnapshotServerService','ceil','_clearCollaborationTimeoutTimer','session','_clearRedo','createSocket','_isPermissionRej','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborativeUndoRedoService','onLocalMutation','SetSelectionsOperation','_getSendChangesetTimeout','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','putCollaborators','_substituteUndoStack','AES','APPLY_REVISION_CONFILICT','getSnapshotAPIPath','UNDEFINED','Workbook','[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.','_initCloseConn','_acknowledgedAwaitingChangeset','_clearUndo','slice','reconnect','selections','CONFLICT','conflict','WorkbookEditablePermission','clone','JOIN_ROOM_PERMISSION_DENIED','_transformService','_cipher','members','YUUMI_URL_COL_OUT_OF_RANGE','_nRounds','HTTPService','offline','copyFileMeta','mixIn','registerHTTPInterceptor','newCsEvent','_type','_process','YUUMI_ALL_TABLES_IS_INVALID','_transformSelections','UserManagerService','byteLength','_throwTelemetryCollaborationNewChangeset','JSONX','src','status$','list','_doCreateSocket','/universer-api/oidc/authpage','[OfflineState]:\x20received\x20changeset.','filter','_startTelemetryCollaborationNewChangeset','[DataLoaderService]','compose','csShouldRetryEvent','/block/','UniverInstanceType','userID','NOT_FOUND','SNAPSHOT_URL_KEY','requestParams','getRandomValues','@univerjs/telemetry','_members','[CollaborationEntity]','[FetchMissState]','objectType','?url=','HEARTBEAT','joinEvent','/-/object/list','_prevBlock','DependentOn','_clearHeartbeatTimer','HMAC','_permissionService','allowed','shareReplay','LIVESHARE_OPERATION','_collaborationUIEventService','/new_changes','unknown','concat','_onJoinRoomEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','abs','UNIVER_SLIDE','authzUrl','_ENC_XFORM_MODE','_sessionStatus$','map','UserProfileImg','session.room-full','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearLocalCache','Base64','ICommandService','HttpImport','revision','compute','_sessions','getCollabEntity','_collaborationPaused','executeCommand','_map','snapshot','encryptBlock','join','firstValueFrom','\x0aCurrent:\x20','onSyncEditingCollabCursor','error$','[CollaborationSessionService]','_syncEditingCollabCursor','SerializableCipher','updateMember','sendChangesetTimeout','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs-pro/license','INGEST','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getInterceptPoints','fromCharCode','floor','SyncedState','USERS_ENTER','AwaitingState','readInt32LE','min','mapDocumentTypeToUniverType','DocCollaborationEntity','CollaborationImageIoService','Inject','size','8723995xYgiUV','WordArray','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','AwaitingWithPendingState','withCredentials','CBC','UNIVER_DOC','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Could\x20not\x20dynamically\x20require\x20\x22','_scheduleCollaborationTimeoutTimer','onCommandExecuted','incrementRevOfUnit','StreamCipher','_initMergeInterceptor','encrypt','m2Prime','keySize','FAIL','editing\x20status\x20changed\x20to','Base','algo','LICENSE_DISTRO_REJECTED'];_0x530a=function(){return _0xd82536;};return _0x530a();}function tn(_0x519b0f,_0x14c94b){var _0x4cb84b=_0x11fce6;const _0x265cd8=zi['random'](0x10),_0x163f5b=en(_0x519b0f,0x10),_0x215052=ji['encrypt'](Yi['parse'](_0x163f5b),nt[_0x4cb84b(0x375)](_0x14c94b),{'iv':_0x265cd8,'padding':Qi});return _0x265cd8[_0x4cb84b(0x422)](_0x215052[_0x4cb84b(0x2a5)])['toString'](nt);}function nn(){var _0x58fada=_0x11fce6;const _0xa8e1db=Lt['getGlobalObject']()[_0x58fada(0x29b)];if(_0xa8e1db){const _0x28eb6e={'time':Math[_0x58fada(0x44c)](Date[_0x58fada(0x499)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x58fada(0x4cc)](_0x28eb6e),_0xa8e1db);}}var rn=Object[_0x11fce6(0x394)],sn=(_0x50d97a,_0x4dfcb8,_0x13d183,_0x1e03fd)=>{var _0x53562d=_0x11fce6;for(var _0x266ede=_0x1e03fd>0x1?void 0x0:_0x1e03fd?rn(_0x4dfcb8,_0x13d183):_0x4dfcb8,_0x155748=_0x50d97a[_0x53562d(0x373)]-0x1,_0x7eb1c7;_0x155748>=0x0;_0x155748--)(_0x7eb1c7=_0x50d97a[_0x155748])&&(_0x266ede=_0x7eb1c7(_0x266ede)||_0x266ede);return _0x266ede;},on=(_0x38e4c1,_0x27365e)=>(_0x3b26af,_0x5b86c7)=>_0x27365e(_0x3b26af,_0x5b86c7,_0x38e4c1);let Ne=class{constructor(_0x2cddf9){this['_httpService']=_0x2cddf9,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x5289c8=_0x11fce6;this[_0x5289c8(0x2e7)][_0x5289c8(0x3f2)]({'interceptor':(_0x13b8f6,_0x53b9fc)=>{var _0x25379b=_0x5289c8;const _0x2ca74b=_0x13b8f6[_0x25379b(0x3bf)],_0x2357c4=nn();return _0x2357c4&&_0x2ca74b[_0x25379b(0x219)](_0x25379b(0x369),_0x2357c4),_0x53b9fc(_0x13b8f6);}});}};Ne=sn([on(0x0,a[_0x11fce6(0x455)](K[_0x11fce6(0x3ee)]))],Ne);var an=Object[_0x11fce6(0x394)],cn=(_0xff3bac,_0x5ed5c2,_0x52cafd,_0x5921a1)=>{var _0x26fc4b=_0x11fce6;for(var _0x27eec1=_0x5921a1>0x1?void 0x0:_0x5921a1?an(_0x5ed5c2,_0x52cafd):_0x5ed5c2,_0x2b9f6f=_0xff3bac[_0x26fc4b(0x373)]-0x1,_0x7048ec;_0x2b9f6f>=0x0;_0x2b9f6f--)(_0x7048ec=_0xff3bac[_0x2b9f6f])&&(_0x27eec1=_0x7048ec(_0x27eec1)||_0x27eec1);return _0x27eec1;},Le=(_0x2b4058,_0x4c2b71)=>(_0x1c7beb,_0x2da531)=>_0x4c2b71(_0x1c7beb,_0x2da531,_0x2b4058);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x177679,_0x26f32a,_0x5855c3){var _0x465736=_0x11fce6;super(),A(this,'_unitInfo$',new $[(_0x465736(0x294))](null)),A(this,'unitInfo$',this[_0x465736(0x21b)][_0x465736(0x241)]()),(this['_logService']=_0x177679,this[_0x465736(0x218)]=_0x26f32a,this[_0x465736(0x32a)]=_0x5855c3);}async[_0x11fce6(0x1a6)](_0x11a141,_0xdcaaa2,_0xde92ee){var _0x3a5e91=_0x11fce6;this['_unitInfo$'][_0x3a5e91(0x1a9)]({'unitId':_0x11a141,'type':_0xdcaaa2});let _0x1f9cbb=null;switch(_0xdcaaa2){case J[_0x3a5e91(0x47d)]:{_0x1f9cbb=await this['_snapshotService'][_0x3a5e91(0x30b)](_0x11a141,_0xde92ee);break;}case J[_0x3a5e91(0x45d)]:{_0x1f9cbb=await this[_0x3a5e91(0x218)][_0x3a5e91(0x186)](_0x11a141,_0xde92ee);break;}default:{this[_0x3a5e91(0x2a4)]['error'](_0x3a5e91(0x404),_0x3a5e91(0x459));break;}}return _0x1f9cbb;}async['loadUnit'](_0x83095c,_0x223513,_0x4686c4){var _0x32f336=_0x11fce6,_0x2f4c90;this[_0x32f336(0x21b)]['next']({'unitId':_0x83095c,'type':_0x223513,'subUnitId':_0x4686c4});let _0x371390=0x0;const _0x3534f3=await((_0x2f4c90=this[_0x32f336(0x32a)])==null?void 0x0:_0x2f4c90[_0x32f336(0x4e5)](_0x83095c));return _0x3534f3&&(_0x3534f3[_0x32f336(0x2e4)]||_0x3534f3[_0x32f336(0x46d)][_0x32f336(0x373)]!==0x0)&&(_0x371390=_0x3534f3[_0x32f336(0x229)]),_0x371390===0x0&&this[_0x32f336(0x2a4)][_0x32f336(0x4ca)]('[DataLoaderService]',_0x32f336(0x1e9)),this[_0x32f336(0x1a6)](_0x83095c,_0x223513,_0x371390);}},exports[_0x11fce6(0x221)]=cn([Le(0x0,a['ILogService']),Le(0x1,a['Inject'](p['SnapshotService'])),Le(0x2,a[_0x11fce6(0x37f)](q))],exports[_0x11fce6(0x221)]);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x3a7af3,_0xf3679a,_0x4b95ed,_0x50a6e7)=>{var _0x2b3de2=_0x11fce6;for(var _0x37c9a4=_0x50a6e7>0x1?void 0x0:_0x50a6e7?hn(_0xf3679a,_0x4b95ed):_0xf3679a,_0x220945=_0x3a7af3[_0x2b3de2(0x373)]-0x1,_0x47d3ef;_0x220945>=0x0;_0x220945--)(_0x47d3ef=_0x3a7af3[_0x220945])&&(_0x37c9a4=_0x47d3ef(_0x37c9a4)||_0x37c9a4);return _0x37c9a4;},we=(_0x89d9c4,_0x59e87f)=>(_0x35ceec,_0x51788f)=>_0x59e87f(_0x35ceec,_0x51788f,_0x89d9c4);const ln=[_0x11fce6(0x210),_0x11fce6(0x18d),_0x11fce6(0x1af),_0x11fce6(0x261),'image/bmp'],un=0x5*0x400*0x400,dn=_0x11fce6(0x237),vn=_0x11fce6(0x1a5),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x11fce6(0x234);exports['CollaborationImageIoService']=class{constructor(_0x47f2c7,_0x271e48,_0x167314){var _0x525dd5=_0x11fce6;A(this,_0x525dd5(0x391),0x0),A(this,_0x525dd5(0x4e4),new $[(_0x525dd5(0x1b8))]()),A(this,_0x525dd5(0x231),this[_0x525dd5(0x4e4)]),A(this,_0x525dd5(0x1b5),new Map()),(this[_0x525dd5(0x2e7)]=_0x47f2c7,this['_configService']=_0x271e48,this[_0x525dd5(0x2b3)]=_0x167314);}['setWaitCount'](_0x27d173){var _0x5a8cc7=_0x11fce6;this['_waitCount']=_0x27d173,this[_0x5a8cc7(0x4e4)][_0x5a8cc7(0x1a9)](_0x27d173);}['getImageSourceCache'](_0x3e23e5,_0x459466){var _0x1e1853=_0x11fce6;if(_0x459466===z[_0x1e1853(0x398)][_0x1e1853(0x327)]){const _0x18dae6=new Image();return _0x18dae6[_0x1e1853(0x3fc)]=_0x3e23e5,_0x18dae6;}return this[_0x1e1853(0x1b5)][_0x1e1853(0x19d)](_0x3e23e5);}['addImageSourceCache'](_0x5c8f0b,_0x15fe9a,_0xb23d47){var _0x250fdb=_0x11fce6;_0x15fe9a===z[_0x250fdb(0x398)][_0x250fdb(0x327)]||_0xb23d47==null||this[_0x250fdb(0x1b5)][_0x250fdb(0x219)](_0x5c8f0b,_0xb23d47);}async[_0x11fce6(0x1b9)](_0x4a3c1d){var _0x72a4db=_0x11fce6;try{const _0x55411b=this[_0x72a4db(0x387)](this[_0x72a4db(0x33b)](),''+_0x4a3c1d),_0x303fa6=(await this['_httpService'][_0x72a4db(0x19d)](_0x55411b))[_0x72a4db(0x2e1)];if(_0x303fa6[_0x72a4db(0x26f)]&&_0x303fa6[_0x72a4db(0x26f)][_0x72a4db(0x39a)]===gt['OK']){const _0x481828=new URL(_0x303fa6[_0x72a4db(0x4d2)],this[_0x72a4db(0x23a)]())[_0x72a4db(0x33e)]();return Promise[_0x72a4db(0x207)](_0x481828);}return Promise[_0x72a4db(0x350)](_0x303fa6[_0x72a4db(0x26f)]);}catch(_0x279b41){return Promise[_0x72a4db(0x350)](_0x279b41);}}async[_0x11fce6(0x298)](_0x7e8982){var _0x4a7c62=_0x11fce6;let _0x340170='';if(!ln[_0x4a7c62(0x31d)](_0x7e8982['type']))return this[_0x4a7c62(0x3ac)](),Promise[_0x4a7c62(0x350)](new Error(z[_0x4a7c62(0x24b)]['ERROR_IMAGE_TYPE']));if(_0x7e8982[_0x4a7c62(0x456)]>un)return this[_0x4a7c62(0x3ac)](),Promise['reject'](new Error(z['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x4c172d=new FormData();_0x4c172d['append']('file',_0x7e8982);const _0x450387=this[_0x4a7c62(0x2b3)][_0x4a7c62(0x286)](),_0x220eff=_0x450387==null?void 0x0:_0x450387['getUnitId']();if(!_0x220eff)throw new Error(_0x4a7c62(0x1bf));const _0x4b2f13=this[_0x4a7c62(0x3be)]()+_0x4a7c62(0x3a5)+_0x7e8982['size'][_0x4a7c62(0x33e)]()+'&source='+Et[_0x4a7c62(0x2d9)]+_0x4a7c62(0x34c)+encodeURIComponent(_0x220eff),_0x477bb7={'body':_0x4c172d},_0x491d3e=(await this[_0x4a7c62(0x2e7)][_0x4a7c62(0x1b0)](_0x4b2f13,_0x477bb7))['body'];if(typeof _0x491d3e['FileId']!=_0x4a7c62(0x1cd))return this[_0x4a7c62(0x3ac)](),Promise[_0x4a7c62(0x350)](new Error(z[_0x4a7c62(0x24b)]['ERROR_IMAGE']));_0x340170=_0x491d3e[_0x4a7c62(0x1d5)];}catch{return this[_0x4a7c62(0x3ac)](),Promise[_0x4a7c62(0x350)](new Error(z[_0x4a7c62(0x24b)][_0x4a7c62(0x296)]));}return new Promise((_0xd5b8cf,_0x424b9c)=>{var _0x6354e7=_0x4a7c62;const _0xb44154=new FileReader();_0xb44154[_0x6354e7(0x4f2)](_0x7e8982),_0xb44154[_0x6354e7(0x1f1)]=_0x461fb4=>{var _0x510bf0=_0x6354e7,_0x1d2c93;const _0x31a3d5=(_0x1d2c93=_0x461fb4[_0x510bf0(0x48d)])==null?void 0x0:_0x1d2c93[_0x510bf0(0x1fc)];if(_0x31a3d5==null){this['_decreaseWaiting'](),_0x424b9c(new Error(z['ImageUploadStatusType'][_0x510bf0(0x296)]));return;}const _0xa04373=a[_0x510bf0(0x2bd)][_0x510bf0(0x381)](0x6);_0xd5b8cf({'imageId':_0xa04373,'imageSourceType':z['ImageSourceType'][_0x510bf0(0x4f3)],'source':_0x340170,'base64Cache':_0x31a3d5,'status':z[_0x510bf0(0x24b)][_0x510bf0(0x49b)]}),this['_decreaseWaiting']();};});}[_0x11fce6(0x3be)](){var _0x367128=_0x11fce6,_0x57c66b,_0x3c286c;const _0x33ed02=this[_0x367128(0x4e8)]['getConfig'](dn),_0x7d7d5a=this[_0x367128(0x4e8)][_0x367128(0x348)](G);return(_0x3c286c=(_0x57c66b=_0x7d7d5a==null?void 0x0:_0x7d7d5a[_0x367128(0x473)])!=null?_0x57c66b:_0x33ed02)!=null?_0x3c286c:vn;}[_0x11fce6(0x33b)](){var _0x2e9880=_0x11fce6,_0x490fca,_0x511a20;const _0x452dd8=this[_0x2e9880(0x4e8)][_0x2e9880(0x348)](Sn),_0x31360e=this[_0x2e9880(0x4e8)][_0x2e9880(0x348)](G);return(_0x511a20=(_0x490fca=_0x31360e==null?void 0x0:_0x31360e[_0x2e9880(0x2e9)])!=null?_0x490fca:_0x452dd8)!=null?_0x511a20:fn;}['_getDownloadEndpointURL'](){var _0x1ad1ad=_0x11fce6,_0x5ba515;const _0x243150=this[_0x1ad1ad(0x4e8)][_0x1ad1ad(0x348)](G);return(_0x5ba515=_0x243150==null?void 0x0:_0x243150[_0x1ad1ad(0x3af)])!=null?_0x5ba515:location[_0x1ad1ad(0x332)];}[_0x11fce6(0x387)](_0x232738,_0x25b76d){var _0x298811=_0x11fce6;return _0x232738['replace'](_0x298811(0x1df),_0x25b76d);}[_0x11fce6(0x3ac)](){var _0x25f7bd=_0x11fce6;this[_0x25f7bd(0x391)]-=0x1,this[_0x25f7bd(0x4e4)][_0x25f7bd(0x1a9)](this['_waitCount']);}},exports[_0x11fce6(0x454)]=_n([we(0x0,a['Inject'](K['HTTPService'])),we(0x1,a['IConfigService']),we(0x2,a[_0x11fce6(0x455)](a[_0x11fce6(0x270)]))],exports[_0x11fce6(0x454)]);var In=Object[_0x11fce6(0x394)],pn=(_0x1be3a4,_0x218432,_0x2fedee,_0x4a6093)=>{var _0x1c0698=_0x11fce6;for(var _0x5d8d36=_0x4a6093>0x1?void 0x0:_0x4a6093?In(_0x218432,_0x2fedee):_0x218432,_0x3bf16d=_0x1be3a4[_0x1c0698(0x373)]-0x1,_0x36433f;_0x3bf16d>=0x0;_0x3bf16d--)(_0x36433f=_0x1be3a4[_0x3bf16d])&&(_0x5d8d36=_0x36433f(_0x5d8d36)||_0x5d8d36);return _0x5d8d36;},at=(_0x2392d6,_0x2fe0ba)=>(_0x2d2308,_0x16ad25)=>_0x2fe0ba(_0x2d2308,_0x16ad25,_0x2392d6);const gn='/universer-api/authz';exports[_0x11fce6(0x1ce)]=class{constructor(_0x420171,_0x19fb5c){var _0x4c6ae0=_0x11fce6;this[_0x4c6ae0(0x4e8)]=_0x420171,this[_0x4c6ae0(0x249)]=_0x19fb5c;}[_0x11fce6(0x27d)](){var _0xa573e=_0x11fce6,_0x30a91f,_0x18613d;const _0x2956d4=this['_configService']['getConfig'](Ve),_0x16bc4c=this[_0xa573e(0x4e8)][_0xa573e(0x348)](G);return(_0x18613d=(_0x30a91f=_0x16bc4c==null?void 0x0:_0x16bc4c[_0xa573e(0x427)])!=null?_0x30a91f:_0x2956d4)!=null?_0x18613d:gn;}async[_0x11fce6(0x3fe)](_0x1b59d1){var _0x471257=_0x11fce6;const _0x5bdc13=this[_0x471257(0x27d)]()+_0x471257(0x1d6);return{'list':[{'title':_0x471257(0x250),'mentions':(await this['_HTTPService']['get'](_0x5bdc13,{'params':{'objectID':_0x1b59d1[_0x471257(0x304)],'unitID':_0x1b59d1[_0x471257(0x304)]}}))[_0x471257(0x2e1)][_0x471257(0x24a)][_0x471257(0x42a)](_0x3edb3d=>({'objectId':_0x3edb3d['id'],'name':_0x3edb3d[_0x471257(0x2de)][_0x471257(0x38a)],'metadata':{'icon':_0x3edb3d['subject'][_0x471257(0x2d1)]},'label':_0x3edb3d[_0x471257(0x2de)][_0x471257(0x38a)],'objectType':a[_0x471257(0x4b4)]['PERSON']})),'metadata':{},'type':a[_0x471257(0x4b4)]['PERSON']}]};}},exports[_0x11fce6(0x1ce)]=pn([at(0x0,a[_0x11fce6(0x455)](a['IConfigService'])),at(0x1,a[_0x11fce6(0x455)](K[_0x11fce6(0x3ee)]))],exports[_0x11fce6(0x1ce)]);var En=Object[_0x11fce6(0x394)],mn=(_0x5f379b,_0x1d49cb,_0xa1ae92,_0x5ecdb8)=>{var _0x111f07=_0x11fce6;for(var _0x513152=_0x5ecdb8>0x1?void 0x0:_0x5ecdb8?En(_0x1d49cb,_0xa1ae92):_0x1d49cb,_0x374b27=_0x5f379b[_0x111f07(0x373)]-0x1,_0x553d4b;_0x374b27>=0x0;_0x374b27--)(_0x553d4b=_0x5f379b[_0x374b27])&&(_0x513152=_0x553d4b(_0x513152)||_0x513152);return _0x513152;},le=(_0x51bd4c,_0x422b1e)=>(_0x4c3872,_0xb56e2e)=>_0x422b1e(_0x4c3872,_0xb56e2e,_0x51bd4c);let De=class extends a[_0x11fce6(0x29a)]{constructor(_0x49effa,_0x4b0102,_0x2fd550,_0xe90528,_0x12b1bf){var _0x54fcd3=_0x11fce6;super(),this[_0x54fcd3(0x2cc)]=_0x49effa,this[_0x54fcd3(0x2b3)]=_0x4b0102,this['_permissionService']=_0x2fd550,this['_collaborationSessionService']=_0xe90528,this[_0x54fcd3(0x41f)]=_0x12b1bf,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x11fce6(0x3de)](){var _0x37e525=_0x11fce6;const _0x2e2e34=async _0x29b409=>{var _0x529b1d=_0x450d;(await this[_0x529b1d(0x189)][_0x529b1d(0x4a8)](_0x29b409))['event$'][_0x529b1d(0x18e)](V['filter'](_0x342152=>_0x342152['eventID']===p['CollaborationEvent'][_0x529b1d(0x1c5)]),V['takeUntil'](this[_0x529b1d(0x382)]))['subscribe'](_0x44613d=>{var _0x532501=_0x529b1d;const _0x583daa=_0x44613d,{reason:_0xd57c14}=_0x583daa['data'];this[_0x532501(0x41f)][_0x532501(0x19f)]({'id':Z[_0x532501(0x19e)],'data':_0xd57c14}),this[_0x532501(0x41b)]['updatePermissionPoint'](new X[(_0x532501(0x3e6))](_0x29b409)['id'],!0x1),this[_0x532501(0x189)][_0x532501(0x337)](_0x29b409);});};$[_0x37e525(0x1d8)](this['_univerInstanceService'][_0x37e525(0x1f8)](a[_0x37e525(0x408)][_0x37e525(0x47d)]),this['_univerInstanceService'][_0x37e525(0x1f8)](a[_0x37e525(0x408)][_0x37e525(0x45d)]))[_0x37e525(0x18e)](V['map'](_0x5dd708=>_0x5dd708['getUnitId']()),V[_0x37e525(0x402)](_0x2f3094=>!a[_0x37e525(0x188)](_0x2f3094)),V[_0x37e525(0x3b4)](this['dispose$']))[_0x37e525(0x1f7)](_0x47cf6c=>{_0x2e2e34(_0x47cf6c);});}[_0x11fce6(0x268)](){var _0x69ed5f=_0x11fce6;const _0x41f5e0=async _0x549aa2=>{var _0x17030e=_0x450d;const _0x244179=await this['_collaborationSessionService'][_0x17030e(0x4a8)](_0x549aa2),_0x2b0c56=this[_0x17030e(0x2cc)][_0x17030e(0x19d)](X[_0x17030e(0x2c8)]);_0x244179[_0x17030e(0x1d0)][_0x17030e(0x18e)](V['filter'](_0x5e4ab6=>_0x5e4ab6['eventID']===p[_0x17030e(0x26d)][_0x17030e(0x48b)]),V[_0x17030e(0x3b4)](this[_0x17030e(0x382)]))[_0x17030e(0x1f7)](_0x18528d=>{var _0x47a8dd=_0x17030e;const _0x36b055=_0x18528d,{objectId:_0x561c91}=_0x36b055[_0x47a8dd(0x4f9)];_0x561c91===_0x549aa2?_0x2b0c56[_0x47a8dd(0x47e)](_0x549aa2):_0x2b0c56[_0x47a8dd(0x46e)](_0x549aa2,_0x561c91);});};$[_0x69ed5f(0x1d8)](this[_0x69ed5f(0x2b3)][_0x69ed5f(0x1f8)](a[_0x69ed5f(0x408)][_0x69ed5f(0x47d)]))[_0x69ed5f(0x18e)](V[_0x69ed5f(0x42a)](_0x478eee=>_0x478eee[_0x69ed5f(0x23f)]()),V[_0x69ed5f(0x402)](_0x3a5cd2=>!a['isInternalEditorID'](_0x3a5cd2)),V[_0x69ed5f(0x3b4)](this['dispose$']))[_0x69ed5f(0x1f7)](_0x151ca5=>{_0x41f5e0(_0x151ca5);});}};De=mn([le(0x0,a[_0x11fce6(0x455)](a['Injector'])),le(0x1,a[_0x11fce6(0x270)]),le(0x2,a[_0x11fce6(0x245)]),le(0x3,a[_0x11fce6(0x455)](exports['CollaborationSessionService'])),le(0x4,a['Inject'](ee))],De);var Cn=Object[_0x11fce6(0x394)],Tn=(_0x52f0e3,_0x439834,_0x443758,_0x46010c)=>{for(var _0x463762=_0x46010c>0x1?void 0x0:_0x46010c?Cn(_0x439834,_0x443758):_0x439834,_0x142f7c=_0x52f0e3['length']-0x1,_0x1d63f7;_0x142f7c>=0x0;_0x142f7c--)(_0x1d63f7=_0x52f0e3[_0x142f7c])&&(_0x463762=_0x1d63f7(_0x463762)||_0x463762);return _0x463762;},ct=(_0x798b1a,_0x56883f)=>(_0x6957db,_0xd24039)=>_0x56883f(_0x6957db,_0xd24039,_0x798b1a);exports['SnapshotServerOverHTTPService']=class{constructor(_0x3f680b,_0x4a2d1c){var _0x143559=_0x11fce6;this[_0x143559(0x4e8)]=_0x3f680b,this[_0x143559(0x2e7)]=_0x4a2d1c;}async[_0x11fce6(0x17d)](_0x518da9,_0x2be997){var _0xbebd0e=_0x11fce6,_0x11f768;const {unitID:_0x38233b,type:_0x5f1a4e,revision:_0x4f71ce=0x0}=_0x2be997,_0x11798b=this[_0xbebd0e(0x3da)]()+'/'+_0x5f1a4e+_0xbebd0e(0x472)+_0x38233b+_0xbebd0e(0x4ab)+_0x4f71ce,_0xaebe0e=(await this[_0xbebd0e(0x2e7)]['get'](_0x11798b))['body'],_0x43283a=(_0x11f768=_0xaebe0e[_0xbebd0e(0x439)])==null?void 0x0:_0x11f768[_0xbebd0e(0x486)];if(_0x43283a){const _0x14e268=_0x43283a==null?void 0x0:_0x43283a[_0xbebd0e(0x364)],_0x2fdd6c=p[_0xbebd0e(0x20c)][_0xbebd0e(0x333)](p[_0xbebd0e(0x3bb)](_0x14e268));_0x43283a[_0xbebd0e(0x364)]=_0x2fdd6c,Object[_0xbebd0e(0x244)](_0x43283a[_0xbebd0e(0x233)])['forEach'](([,_0x41d458])=>{var _0x3246e8=_0xbebd0e;const _0x27ae5d=_0x41d458['originalMeta'],_0x4de79e=p['textEncoder'][_0x3246e8(0x333)](p['b64DecodeUnicode'](_0x27ae5d));_0x41d458[_0x3246e8(0x364)]=_0x4de79e;});}return _0xaebe0e;}async[_0x11fce6(0x4a4)](_0x376db1,_0x2994e5){var _0x447023=_0x11fce6;const {unitID:_0x535b94,type:_0x5203cc,blockID:_0x33a851}=_0x2994e5,_0x55c475=this['_getAPIPrefix']()+'/'+_0x5203cc+_0x447023(0x472)+_0x535b94+_0x447023(0x407)+_0x33a851;return(await this['_httpService'][_0x447023(0x19d)](_0x55c475))[_0x447023(0x2e1)];}async[_0x11fce6(0x36e)](_0x5a7500,_0x2c502d){var _0x5bb879=_0x11fce6;const {unitID:_0x11f7d5,type:_0x44b883,blockID:_0x135b44}=_0x2c502d,_0x2f3d5b=this['_getAPIPrefix']()+_0x5bb879(0x407)+_0x44b883+_0x5bb879(0x472)+_0x11f7d5+_0x5bb879(0x407)+_0x135b44;return(await this['_httpService'][_0x5bb879(0x19d)](_0x2f3d5b))[_0x5bb879(0x2e1)];}async[_0x11fce6(0x325)](_0x55809a,_0x502015){var _0x1c98e4=_0x11fce6;const {unitID:_0x43c2b4,type:_0x1f6c30,from:_0x3059d,to:_0x8ea609}=_0x502015,_0x3f26a8=this['_getAPIPrefix']()+'/'+_0x1f6c30+_0x1c98e4(0x472)+_0x43c2b4+_0x1c98e4(0x2c1)+_0x3059d+_0x1c98e4(0x293)+_0x8ea609;return(await this[_0x1c98e4(0x2e7)][_0x1c98e4(0x19d)](_0x3f26a8))[_0x1c98e4(0x2e1)];}[_0x11fce6(0x3da)](){var _0x3effa9;return(_0x3effa9=this['_configService']['getConfig'](lt))!=null?_0x3effa9:this['_getAPIPrefix']();}[_0x11fce6(0x506)](){var _0x38cc1c=_0x11fce6,_0x372f84,_0x40cac3;const _0x1e87d3=this['_configService'][_0x38cc1c(0x348)](_t),_0x2cde9d=this[_0x38cc1c(0x4e8)][_0x38cc1c(0x348)](G);return(_0x40cac3=(_0x372f84=_0x2cde9d==null?void 0x0:_0x2cde9d[_0x38cc1c(0x4f5)])!=null?_0x372f84:_0x1e87d3)!=null?_0x40cac3:wt;}async['getResourcesRequest'](_0x2218ad,_0x6bfb71){var _0x2ff167=_0x11fce6;const _0x4f304a=_0x2ff167(0x2bf)+_0x6bfb71['type']+_0x2ff167(0x472)+_0x6bfb71[_0x2ff167(0x4c8)]+_0x2ff167(0x2a0);return(await this['_httpService'][_0x2ff167(0x19d)](_0x4f304a,{'params':{'resourceId':JSON[_0x2ff167(0x4cc)](_0x6bfb71[_0x2ff167(0x355)])}}))[_0x2ff167(0x2e1)];}['saveSnapshot'](){var _0x58a825=_0x11fce6;throw new Error(_0x58a825(0x309));}[_0x11fce6(0x1c8)](){var _0x23f708=_0x11fce6;throw new Error(_0x23f708(0x309));}[_0x11fce6(0x2af)](){var _0x4c732e=_0x11fce6;throw new Error(_0x4c732e(0x309));}['saveChangeset'](){var _0x367c0c=_0x11fce6;throw new Error(_0x367c0c(0x309));}[_0x11fce6(0x3f0)](){var _0x3aeeec=_0x11fce6;throw new Error(_0x3aeeec(0x309));}['getLatestCsReqIdBySid'](){var _0x531e08=_0x11fce6;throw new Error(_0x531e08(0x309));}},exports[_0x11fce6(0x1c4)]=Tn([ct(0x0,a[_0x11fce6(0x34f)]),ct(0x1,a[_0x11fce6(0x455)](K[_0x11fce6(0x3ee)]))],exports['SnapshotServerOverHTTPService']);var bn=Object[_0x11fce6(0x394)],Rn=(_0xb33e35,_0x4c8ad9,_0x1c3e13,_0x5791ef)=>{var _0x56ec8e=_0x11fce6;for(var _0x496ea9=_0x5791ef>0x1?void 0x0:_0x5791ef?bn(_0x4c8ad9,_0x1c3e13):_0x4c8ad9,_0x4c37f4=_0xb33e35[_0x56ec8e(0x373)]-0x1,_0x21ec12;_0x4c37f4>=0x0;_0x4c37f4--)(_0x21ec12=_0xb33e35[_0x4c37f4])&&(_0x496ea9=_0x21ec12(_0x496ea9)||_0x496ea9);return _0x496ea9;},ue=(_0x32ca52,_0x560b02)=>(_0x299cfa,_0x2bc20f)=>_0x560b02(_0x299cfa,_0x2bc20f,_0x32ca52);exports['CollaborativeUndoRedoService']=class extends a[_0x11fce6(0x183)]{constructor(_0x37d087,_0x36628b,_0x5b3a27,_0x351dfb,_0x5212be){var _0x1e8ef6=_0x11fce6;super(_0x37d087,_0x36628b,_0x5b3a27),this['_transformService']=_0x351dfb,this[_0x1e8ef6(0x2a4)]=_0x5212be;}[_0x11fce6(0x1c7)](_0x34bd62,_0x493216){var _0x5dec54=_0x11fce6;const _0x276210=this[_0x5dec54(0x341)](_0x34bd62);if(_0x276210)try{const _0x5c9a73=this[_0x5dec54(0x4aa)](_0x276210,_0x493216);this[_0x5dec54(0x3d7)](_0x34bd62,_0x5c9a73);}catch(_0x52938c){this[_0x5dec54(0x2a4)][_0x5dec54(0x26f)]('[CollaborationUndoRedoService]',_0x52938c),this[_0x5dec54(0x3e0)](_0x34bd62);}const _0x6f07b1=this[_0x5dec54(0x32d)](_0x34bd62);if(_0x6f07b1)try{const _0x35462d=this['_transformStack'](_0x6f07b1,_0x493216);this[_0x5dec54(0x385)](_0x34bd62,_0x35462d);}catch(_0x1e5a5f){this['_logService'][_0x5dec54(0x26f)](_0x1e5a5f),this[_0x5dec54(0x3cd)](_0x34bd62);}}[_0x11fce6(0x3e0)](_0x2f542c){var _0x5858ab=_0x11fce6;const _0x1b7f4c=this[_0x5858ab(0x341)](_0x2f542c);_0x1b7f4c&&(_0x1b7f4c['length']=0x0,this[_0x5858ab(0x35e)]());}[_0x11fce6(0x3cd)](_0x15bcb8){var _0x40c9e1=_0x11fce6;const _0x1bf9b0=this[_0x40c9e1(0x32d)](_0x15bcb8);_0x1bf9b0&&(_0x1bf9b0['length']=0x0,this[_0x40c9e1(0x35e)]());}[_0x11fce6(0x3d7)](_0x35f331,_0x2f12cc){var _0x5a3f5d=_0x11fce6;this[_0x5a3f5d(0x2ca)][_0x5a3f5d(0x219)](_0x35f331,_0x2f12cc),this[_0x5a3f5d(0x35e)]();}['_substituteRedoStack'](_0x4ba0a5,_0x2d16eb){var _0x230f67=_0x11fce6;this[_0x230f67(0x199)][_0x230f67(0x219)](_0x4ba0a5,_0x2d16eb),this[_0x230f67(0x35e)]();}['_transformStack'](_0x3abd91,_0x31fc40){var _0x400aba=_0x11fce6;const _0x5c4567=[];let _0x525262=_0x31fc40,_0x2a6bd1=_0x31fc40;for(let _0x4022ac=_0x3abd91[_0x400aba(0x373)]-0x1;_0x4022ac>=0x0;_0x4022ac--){const {unitID:_0x924d26,undoMutations:_0x56ca70,redoMutations:_0x278c18}=_0x3abd91[_0x4022ac],_0x3ae70e=this['_transformService'][_0x400aba(0x1a1)](_0x525262,_0x56ca70),_0x1af923=this['_transformService'][_0x400aba(0x1a1)](_0x2a6bd1,_0x278c18);if(p['isTransformMutationsWithChangesetFailure'](_0x3ae70e)||p[_0x400aba(0x1b2)](_0x1af923)){this[_0x400aba(0x2a4)][_0x400aba(0x26f)](_0x400aba(0x3c6),_0x400aba(0x4bb),_0x3ae70e,_0x1af923);break;}_0x525262=_0x3ae70e[_0x400aba(0x1e4)],_0x2a6bd1=_0x1af923['c1Prime'],_0x5c4567[_0x400aba(0x34d)]({'unitID':_0x924d26,'undoMutations':_0x3ae70e['m2Prime'],'redoMutations':_0x1af923[_0x400aba(0x466)]});}return _0x5c4567[_0x400aba(0x2eb)]();}},exports[_0x11fce6(0x3d1)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x11fce6(0x430)]),ue(0x2,a[_0x11fce6(0x4d8)]),ue(0x3,p[_0x11fce6(0x2e6)]),ue(0x4,a['ILogService'])],exports[_0x11fce6(0x3d1)]);var On=Object[_0x11fce6(0x264)],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x28d5f6,_0x51a75a,_0xf0dec8)=>_0x51a75a in _0x28d5f6?On(_0x28d5f6,_0x51a75a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf0dec8}):_0x28d5f6[_0x51a75a]=_0xf0dec8,Dn=(_0x558cb2,_0x3e0d89,_0x1ab277,_0x1ec075)=>{var _0x24edbe=_0x11fce6;for(var _0x504865=_0x1ec075>0x1?void 0x0:_0x1ec075?yn(_0x3e0d89,_0x1ab277):_0x3e0d89,_0x165d5e=_0x558cb2[_0x24edbe(0x373)]-0x1,_0x238bd2;_0x165d5e>=0x0;_0x165d5e--)(_0x238bd2=_0x558cb2[_0x165d5e])&&(_0x504865=_0x238bd2(_0x504865)||_0x504865);return _0x504865;},Me=(_0x7efe1c,_0x203997)=>(_0x22a9d5,_0x1c0b5a)=>_0x203997(_0x22a9d5,_0x1c0b5a,_0x7efe1c),Un=(_0x1e98fc,_0x55e620,_0x46bea3)=>Nn(_0x1e98fc,_0x55e620+'',_0x46bea3);const An=_0x11fce6(0x392);exports[_0x11fce6(0x1e5)]=class extends a[_0x11fce6(0x4f7)]{constructor(_0x4d2fb1,_0x47e12a,_0x247eec,_0x1c8ff3){var _0x4a4ceb=_0x11fce6;super(),A(this,_0x4a4ceb(0x492)),(this[_0x4a4ceb(0x2a4)]=_0x47e12a,this[_0x4a4ceb(0x2cc)]=_0x247eec,this[_0x4a4ceb(0x4e8)]=_0x1c8ff3);const {..._0x266684}=a['merge']({},Kt,_0x4d2fb1);if(!_0x266684['socketService'])throw new Error(_0x4a4ceb(0x25c));this[_0x4a4ceb(0x492)]=_0x266684,this[_0x4a4ceb(0x4e8)][_0x4a4ceb(0x353)](G,_0x266684);}[_0x11fce6(0x49d)](){var _0x30f56d=_0x11fce6;this[_0x30f56d(0x3c8)](),this['_initDependencies']();}[_0x11fce6(0x3c8)](){var _0x1df820=_0x11fce6,_0x51a6ba,_0x3cd1e6;this[_0x1df820(0x2cc)][_0x1df820(0x23b)](a[_0x1df820(0x285)])&&this[_0x1df820(0x2a4)]['error'](_0x1df820(0x26c),_0x1df820(0x4f8));const _0x11089a=a[_0x1df820(0x347)]([[a[_0x1df820(0x285)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x1df820(0x3a0)]],[exports['MemberService']],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[De],[ee],[exports[_0x1df820(0x221)]],[He,{'useClass':this[_0x1df820(0x492)]['socketService']}],[p[_0x1df820(0x3c9)],{'useClass':exports[_0x1df820(0x1c4)]}],[a[_0x1df820(0x4ac)],{'useClass':exports[_0x1df820(0x4b7)]}],[z[_0x1df820(0x26e)],{'useClass':exports[_0x1df820(0x454)]}],[a[_0x1df820(0x238)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x1df820(0x480)]],[xe]],(_0x51a6ba=this[_0x1df820(0x492)])==null?void 0x0:_0x51a6ba[_0x1df820(0x2f7)]);if(!((_0x3cd1e6=this[_0x1df820(0x492)])!=null&&_0x3cd1e6[_0x1df820(0x1bd)])){const _0x1f3716=_0x11089a[_0x1df820(0x1f2)](([_0x3457e3])=>_0x3457e3===de);_0x1f3716!==-0x1&&_0x11089a[_0x1df820(0x2f9)](_0x1f3716,0x1);}a[_0x1df820(0x1c2)](this[_0x1df820(0x2cc)],_0x11089a);}[_0x11fce6(0x3a1)](){var _0x811de5=_0x11fce6,_0x1de855,_0x34de19,_0x5bbff3;this['_injector'][_0x811de5(0x19d)](K[_0x811de5(0x3ee)])[_0x811de5(0x3f2)]({'priority':0x14,'interceptor':K[_0x811de5(0x30f)]({'maxParallel':0x6})}),(_0x1de855=this['_config'])!=null&&_0x1de855[_0x811de5(0x4d0)]||(_0x34de19=this[_0x811de5(0x2cc)]['get'](q,a[_0x811de5(0x4ec)][_0x811de5(0x356)]))==null||_0x34de19[_0x811de5(0x2aa)](),(_0x5bbff3=this[_0x811de5(0x492)])!=null&&_0x5bbff3[_0x811de5(0x2bc)]&&a[_0x811de5(0x287)](this['_injector'],[[ye]]),a[_0x811de5(0x287)](this['_injector'],[[Ne],[exports[_0x811de5(0x480)]],[De]]);}},Un(exports[_0x11fce6(0x1e5)],_0x11fce6(0x282),An),exports[_0x11fce6(0x1e5)]=Dn([a[_0x11fce6(0x418)](p[_0x11fce6(0x23c)],K[_0x11fce6(0x190)]),Me(0x1,a[_0x11fce6(0x383)]),Me(0x2,a[_0x11fce6(0x455)](a[_0x11fce6(0x187)])),Me(0x3,a[_0x11fce6(0x34f)])],exports[_0x11fce6(0x1e5)]),exports[_0x11fce6(0x3b7)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=G,exports[_0x11fce6(0x226)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports[_0x11fce6(0x35c)]=Be,exports[_0x11fce6(0x2d3)]=Z,exports[_0x11fce6(0x366)]=ee,exports[_0x11fce6(0x260)]=$e,exports[_0x11fce6(0x475)]=dt,exports[_0x11fce6(0x445)]=Gt,exports[_0x11fce6(0x4c6)]=kt,exports[_0x11fce6(0x478)]=vt,exports[_0x11fce6(0x279)]=ke,exports[_0x11fce6(0x2e2)]=He,exports[_0x11fce6(0x200)]=q,exports['INetworkConditionService']=mt,exports['ISingleActiveUnitService']=de,exports[_0x11fce6(0x498)]=Ft,exports[_0x11fce6(0x374)]=Bt,exports[_0x11fce6(0x201)]=pt,exports[_0x11fce6(0x3a9)]=Yt,exports[_0x11fce6(0x346)]=ft,exports[_0x11fce6(0x4e2)]=Mt,exports[_0x11fce6(0x30a)]=_t,exports[_0x11fce6(0x40b)]=lt,exports[_0x11fce6(0x239)]=re,exports[_0x11fce6(0x19b)]=je,exports[_0x11fce6(0x4b8)]=Ct,exports[_0x11fce6(0x2b2)]=oi,exports[_0x11fce6(0x4bd)]=Tt;
1
+ 'use strict';var _0x772c99=_0x5365;(function(_0x1a1ef3,_0x350cfd){var _0xb975a6=_0x5365,_0x153945=_0x1a1ef3();while(!![]){try{var _0x333874=-parseInt(_0xb975a6(0x3a7))/0x1*(-parseInt(_0xb975a6(0x53f))/0x2)+-parseInt(_0xb975a6(0x4ab))/0x3*(parseInt(_0xb975a6(0x38c))/0x4)+parseInt(_0xb975a6(0x458))/0x5+parseInt(_0xb975a6(0x216))/0x6*(-parseInt(_0xb975a6(0x254))/0x7)+parseInt(_0xb975a6(0x1f3))/0x8+-parseInt(_0xb975a6(0x49f))/0x9+-parseInt(_0xb975a6(0x270))/0xa*(-parseInt(_0xb975a6(0x366))/0xb);if(_0x333874===_0x350cfd)break;else _0x153945['push'](_0x153945['shift']());}catch(_0x1d90e4){_0x153945['push'](_0x153945['shift']());}}}(_0x5af3,0x6bb52));var Ut=Object[_0x772c99(0x3eb)],At=(_0x3a59e3,_0x16541e,_0x3a03bd)=>_0x16541e in _0x3a59e3?Ut(_0x3a59e3,_0x16541e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a03bd}):_0x3a59e3[_0x16541e]=_0x3a03bd,A=(_0x5561a7,_0x4676d3,_0x133469)=>At(_0x5561a7,typeof _0x4676d3!='symbol'?_0x4676d3+'':_0x4676d3,_0x133469);Object[_0x772c99(0x3eb)](exports,Symbol['toStringTag'],{'value':_0x772c99(0x4be)});const a=require(_0x772c99(0x3a4)),$=require('rxjs'),V=require(_0x772c99(0x3c1)),p=require('@univerjs-pro/collaboration'),K=require(_0x772c99(0x2c3)),Pt=require(_0x772c99(0x54a)),ht=require(_0x772c99(0x28b)),X=require(_0x772c99(0x2b6)),z=require(_0x772c99(0x37a)),Lt=require('@univerjs-pro/license'),_t=_0x772c99(0x2af),wt=_0x772c99(0x4c0),lt=_0x772c99(0x356),Mt=_0x772c99(0x220),xt=0x7d0,ut='COLLAB_WEB_SOCKET_URL',dt=_0x772c99(0x41f),kt=_0x772c99(0x3c9),vt=_0x772c99(0x460),Ht=0x7530,ke=_0x772c99(0x516),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x772c99(0x2d7),Ft=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Vt='/universer-api/comb',pt='LOGIN_URL_KEY',Wt='/universer-api/oidc/authpage',Yt=_0x772c99(0x2c2),Gt=_0x772c99(0x540);var gt=(_0x3994a2=>(_0x3994a2[_0x3994a2[_0x772c99(0x4ea)]=0x0]=_0x772c99(0x4ea),_0x3994a2[_0x3994a2['OK']=0x1]='OK',_0x3994a2[_0x3994a2['INTERNAL_ERROR']=0x2]=_0x772c99(0x389),_0x3994a2[_0x3994a2['PERMISSION_DENIED']=0x3]=_0x772c99(0x54b),_0x3994a2[_0x3994a2[_0x772c99(0x36f)]=0x4]=_0x772c99(0x36f),_0x3994a2[_0x3994a2['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3994a2[_0x3994a2[_0x772c99(0x27e)]=0x6]=_0x772c99(0x27e),_0x3994a2[_0x3994a2[_0x772c99(0x28e)]=0x7]=_0x772c99(0x28e),_0x3994a2[_0x3994a2[_0x772c99(0x34b)]=0x8]=_0x772c99(0x34b),_0x3994a2[_0x3994a2['COMPLETION_FINISHED']=0x9]=_0x772c99(0x1fa),_0x3994a2[_0x3994a2['LOGIN_FAILED']=0xa]=_0x772c99(0x427),_0x3994a2[_0x3994a2[_0x772c99(0x476)]=0xb]=_0x772c99(0x476),_0x3994a2[_0x3994a2[_0x772c99(0x28d)]=0xc]=_0x772c99(0x28d),_0x3994a2[_0x3994a2['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3994a2[_0x3994a2[_0x772c99(0x2c4)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3994a2[_0x3994a2[_0x772c99(0x28c)]=0x1389]=_0x772c99(0x28c),_0x3994a2[_0x3994a2[_0x772c99(0x354)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3994a2[_0x3994a2[_0x772c99(0x200)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3994a2[_0x3994a2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x772c99(0x532),_0x3994a2[_0x3994a2['APPLY_REJECT']=0x1b59]=_0x772c99(0x219),_0x3994a2[_0x3994a2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x772c99(0x4dd),_0x3994a2[_0x3994a2['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x772c99(0x24a),_0x3994a2[_0x3994a2[_0x772c99(0x416)]=0x1b5c]=_0x772c99(0x416),_0x3994a2[_0x3994a2[_0x772c99(0x46f)]=0x1b5d]='APPLY_DUPLICATED',_0x3994a2[_0x3994a2[_0x772c99(0x4cf)]=0x1f41]=_0x772c99(0x4cf),_0x3994a2[_0x3994a2[_0x772c99(0x333)]=0x2329]=_0x772c99(0x333),_0x3994a2[_0x3994a2[_0x772c99(0x453)]=0x232a]=_0x772c99(0x453),_0x3994a2[_0x3994a2['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x772c99(0x331),_0x3994a2[_0x3994a2[_0x772c99(0x495)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3994a2[_0x3994a2[_0x772c99(0x2cd)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3994a2[_0x3994a2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x772c99(0x3b5),_0x3994a2[_0x3994a2[_0x772c99(0x442)]=0x2712]=_0x772c99(0x442),_0x3994a2[_0x3994a2[_0x772c99(0x390)]=0x2713]=_0x772c99(0x390),_0x3994a2[_0x3994a2[_0x772c99(0x367)]=0x2714]=_0x772c99(0x367),_0x3994a2[_0x3994a2['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x772c99(0x1f4),_0x3994a2[_0x3994a2[_0x772c99(0x3db)]=0x271b]=_0x772c99(0x3db),_0x3994a2[_0x3994a2['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x772c99(0x1e9),_0x3994a2[_0x3994a2[_0x772c99(0x489)]=0x271d]=_0x772c99(0x489),_0x3994a2[_0x3994a2[_0x772c99(0x359)]=0x271e]=_0x772c99(0x359),_0x3994a2[_0x3994a2[_0x772c99(0x456)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3994a2[_0x3994a2['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3994a2[_0x3994a2[_0x772c99(0x378)]=0x2af9]=_0x772c99(0x378),_0x3994a2[_0x3994a2[_0x772c99(0x386)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3994a2[_0x3994a2['INVALID_INVITE_CODE']=0x2ee2]=_0x772c99(0x3ee),_0x3994a2[_0x3994a2['INVITE_CODE_REQUIRED']=0x2ee3]=_0x772c99(0x298),_0x3994a2[_0x3994a2[_0x772c99(0x44c)]=0x2ee4]=_0x772c99(0x44c),_0x3994a2[_0x3994a2[_0x772c99(0x1fd)]=0x2ee5]=_0x772c99(0x1fd),_0x3994a2[_0x3994a2[_0x772c99(0x49a)]=0x32c9]=_0x772c99(0x49a),_0x3994a2[_0x3994a2['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3994a2[_0x3994a2[_0x772c99(0x29b)]=0x32cb]=_0x772c99(0x29b),_0x3994a2[_0x3994a2[_0x772c99(0x3f2)]=-0x1]=_0x772c99(0x3f2),_0x3994a2))(gt||{}),J=(_0x2b84ec=>(_0x2b84ec[_0x2b84ec[_0x772c99(0x404)]=0x0]='UNIVER_UNKNOWN',_0x2b84ec[_0x2b84ec['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x2b84ec[_0x2b84ec[_0x772c99(0x3de)]=0x2]='UNIVER_SHEET',_0x2b84ec[_0x2b84ec[_0x772c99(0x50e)]=0x3]=_0x772c99(0x50e),_0x2b84ec[_0x2b84ec['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x2b84ec[_0x2b84ec[_0x772c99(0x3f2)]=-0x1]='UNRECOGNIZED',_0x2b84ec))(J||{}),W=(_0x502ebc=>(_0x502ebc[_0x502ebc[_0x772c99(0x2de)]=0x0]='UNKNOWN_CMD',_0x502ebc[_0x502ebc[_0x772c99(0x4a5)]=0x1]=_0x772c99(0x4a5),_0x502ebc[_0x502ebc[_0x772c99(0x21f)]=0x2]=_0x772c99(0x21f),_0x502ebc[_0x502ebc[_0x772c99(0x497)]=0x3]=_0x772c99(0x497),_0x502ebc[_0x502ebc[_0x772c99(0x26c)]=0x4]=_0x772c99(0x26c),_0x502ebc[_0x502ebc[_0x772c99(0x554)]=0x5]='HEARTBEAT',_0x502ebc[_0x502ebc[_0x772c99(0x35c)]=0x6]=_0x772c99(0x35c),_0x502ebc[_0x502ebc[_0x772c99(0x3f2)]=-0x1]='UNRECOGNIZED',_0x502ebc))(W||{}),oe=(_0x317cf3=>(_0x317cf3[_0x317cf3['UNKNOWN_CODE']=0x0]=_0x772c99(0x530),_0x317cf3[_0x317cf3['OK']=0x1]='OK',_0x317cf3[_0x317cf3[_0x772c99(0x40a)]=0x2]=_0x772c99(0x40a),_0x317cf3[_0x317cf3[_0x772c99(0x206)]=0x3e9]=_0x772c99(0x206),_0x317cf3[_0x317cf3[_0x772c99(0x2c8)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x317cf3[_0x317cf3[_0x772c99(0x228)]=0x3eb]=_0x772c99(0x228),_0x317cf3[_0x317cf3[_0x772c99(0x2f2)]=0x3ec]=_0x772c99(0x2f2),_0x317cf3[_0x317cf3[_0x772c99(0x3f2)]=-0x1]=_0x772c99(0x3f2),_0x317cf3))(oe||{}),Et=(_0x220944=>(_0x220944[_0x220944[_0x772c99(0x2d3)]=0x0]='Undefined',_0x220944[_0x220944[_0x772c99(0x310)]=0x1]=_0x772c99(0x310),_0x220944[_0x220944[_0x772c99(0x2c0)]=0x2]=_0x772c99(0x2c0),_0x220944[_0x220944[_0x772c99(0x2a6)]=0x3]='UnitEmbedded',_0x220944[_0x220944['UnitSnapshot']=0x4]=_0x772c99(0x3ce),_0x220944[_0x220944[_0x772c99(0x4f1)]=0x5]=_0x772c99(0x4f1),_0x220944[_0x220944[_0x772c99(0x3f2)]=-0x1]=_0x772c99(0x3f2),_0x220944))(Et||{});const G=_0x772c99(0x54f),Kt={};var Z=(_0x384628=>(_0x384628[_0x772c99(0x36b)]=_0x772c99(0x36b),_0x384628[_0x772c99(0x54b)]=_0x772c99(0x54b),_0x384628['CONFLICT']=_0x772c99(0x4ac),_0x384628['CLOSE_ROOM']=_0x772c99(0x35d),_0x384628[_0x772c99(0x46a)]=_0x772c99(0x46a),_0x384628[_0x772c99(0x3c5)]=_0x772c99(0x3c5),_0x384628[_0x772c99(0x3ea)]=_0x772c99(0x3ea),_0x384628[_0x772c99(0x241)]='SUBMIT_CHANGESET_TIMEOUT',_0x384628))(Z||{});class ee{constructor(){var _0x567c06=_0x772c99;A(this,_0x567c06(0x26e),new $[(_0x567c06(0x2ba))]()),A(this,_0x567c06(0x4b2),this['_event$'][_0x567c06(0x515)]());}[_0x772c99(0x2a2)](_0x4ae043){var _0x556f3a=_0x772c99;this[_0x556f3a(0x26e)][_0x556f3a(0x509)](_0x4ae043);}}const mt=a[_0x772c99(0x325)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x1acd31){var _0x31ccc3=_0x772c99,_0x230bdd,_0x470f18,_0xdda5b4,_0x2eb24e,_0x3cf93a;const _0x125b86=_0x1acd31[_0x31ccc3(0x231)],_0x25f208=JSON['parse'](_0x125b86);switch(_0x25f208['cmd']){case W[_0x31ccc3(0x554)]:case W[_0x31ccc3(0x4a5)]:{const _0x1dd2b5=_0x25f208[_0x31ccc3(0x4f2)];return{..._0x25f208,'data':_0x1dd2b5,'cmd':_0x25f208[_0x31ccc3(0x53c)]};}case W[_0x31ccc3(0x21f)]:{const _0x42a7ed=_0x25f208[_0x31ccc3(0x475)];return{..._0x25f208,'data':_0x42a7ed,'cmd':_0x25f208[_0x31ccc3(0x53c)]};}case W[_0x31ccc3(0x35c)]:{const _0xb9b7d8=_0x25f208[_0x31ccc3(0x30f)];switch(_0xb9b7d8[_0x31ccc3(0x352)]){case p['CollaborationEvent'][_0x31ccc3(0x321)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':(_0x230bdd=_0xb9b7d8['permissionRejEvent'])==null?void 0x0:_0x230bdd['cs']},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p['CollaborationEvent'][_0x31ccc3(0x420)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':(_0x470f18=_0xb9b7d8[_0x31ccc3(0x3cb)])==null?void 0x0:_0x470f18['cs']},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p[_0x31ccc3(0x4da)][_0x31ccc3(0x48f)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':(_0xdda5b4=_0xb9b7d8[_0x31ccc3(0x44b)])==null?void 0x0:_0xdda5b4['cs']},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p[_0x31ccc3(0x4da)]['CHANGESET_REJ']:return{..._0x25f208,'data':{..._0xb9b7d8,'data':(_0x2eb24e=_0xb9b7d8['csRejEvent'])==null?void 0x0:_0x2eb24e['cs']},'cmd':_0x25f208['cmd']};case p[_0x31ccc3(0x4da)][_0x31ccc3(0x3ba)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':(_0x3cf93a=_0xb9b7d8[_0x31ccc3(0x245)])==null?void 0x0:_0x3cf93a['cs']},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p[_0x31ccc3(0x4da)][_0x31ccc3(0x4e4)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8[_0x31ccc3(0x3d3)]},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p[_0x31ccc3(0x4da)][_0x31ccc3(0x35f)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8['joinEvent']},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p[_0x31ccc3(0x4da)][_0x31ccc3(0x42b)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8[_0x31ccc3(0x226)]},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p['CollaborationEvent'][_0x31ccc3(0x4dc)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8['liveShareNewHost']},'cmd':_0x25f208['cmd']};case p[_0x31ccc3(0x4da)]['LIVESHARE_FETCH_OPERATIONS']:case p['CollaborationEvent'][_0x31ccc3(0x22c)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8[_0x31ccc3(0x252)]},'cmd':_0x25f208['cmd']};case p[_0x31ccc3(0x4da)][_0x31ccc3(0x4f9)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8['liveShareNewHost']},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p[_0x31ccc3(0x4da)]['MSG_FOR_ERROR']:return{..._0x25f208,'data':_0xb9b7d8,'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p[_0x31ccc3(0x4da)][_0x31ccc3(0x40c)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8['commentUpdateEvent']},'cmd':_0x25f208['cmd']};case p['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8[_0x31ccc3(0x4a4)]},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p[_0x31ccc3(0x4da)][_0x31ccc3(0x379)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8['shouldCloseConn']},'cmd':_0x25f208[_0x31ccc3(0x53c)]};case p[_0x31ccc3(0x4da)][_0x31ccc3(0x1ed)]:return{..._0x25f208,'data':{..._0xb9b7d8,'data':_0xb9b7d8[_0x31ccc3(0x209)]},'cmd':_0x25f208[_0x31ccc3(0x53c)]};default:return _0x25f208;}}default:return _0x25f208;}}function Tt(_0x199409){var _0xbd8728=_0x772c99;switch(_0x199409[_0xbd8728(0x53c)]){case W[_0xbd8728(0x554)]:case W[_0xbd8728(0x4a5)]:return JSON[_0xbd8728(0x371)]({'cmd':_0x199409[_0xbd8728(0x53c)],'routeKey':_0x199409[_0xbd8728(0x545)]});case W['INGEST']:{let _0x17d6bb;switch(_0x199409[_0xbd8728(0x231)][_0xbd8728(0x352)]){case p[_0xbd8728(0x4da)][_0xbd8728(0x4e4)]:{_0x17d6bb={'eventID':p[_0xbd8728(0x4da)][_0xbd8728(0x4e4)],'updateCursorEvent':_0x199409[_0xbd8728(0x231)][_0xbd8728(0x231)]};break;}case p[_0xbd8728(0x4da)][_0xbd8728(0x42b)]:{_0x17d6bb={'eventID':p[_0xbd8728(0x4da)][_0xbd8728(0x42b)],'leaveEvent':_0x199409['data'][_0xbd8728(0x231)]};break;}case p[_0xbd8728(0x4da)][_0xbd8728(0x35f)]:{_0x17d6bb={'eventID':p['CollaborationEvent'][_0xbd8728(0x35f)],'joinEvent':_0x199409[_0xbd8728(0x231)][_0xbd8728(0x231)]};break;}case p[_0xbd8728(0x4da)]['LIVESHARE_NEW_HOST']:{_0x17d6bb={'eventID':p[_0xbd8728(0x4da)][_0xbd8728(0x4dc)],'liveShareNewHost':_0x199409[_0xbd8728(0x231)][_0xbd8728(0x231)]};break;}case p[_0xbd8728(0x4da)][_0xbd8728(0x22c)]:{_0x17d6bb={'eventID':p[_0xbd8728(0x4da)][_0xbd8728(0x22c)],'liveShareOperation':_0x199409[_0xbd8728(0x231)]['data']};break;}case p[_0xbd8728(0x4da)]['LIVESHARE_TERMINATE']:{_0x17d6bb={'eventID':p['CollaborationEvent'][_0xbd8728(0x4f9)],'liveShareTerminate':_0x199409['data'][_0xbd8728(0x231)]};break;}case p[_0xbd8728(0x4da)][_0xbd8728(0x317)]:{_0x17d6bb={'eventID':p['CollaborationEvent'][_0xbd8728(0x317)],'liveShareRequestHost':_0x199409['data']['data']};break;}case p['CollaborationEvent'][_0xbd8728(0x3e5)]:{_0x17d6bb={'eventID':p[_0xbd8728(0x4da)][_0xbd8728(0x3e5)]};break;}default:_0x17d6bb={'eventID':_0x199409['data'][_0xbd8728(0x352)]};}return JSON[_0xbd8728(0x371)]({'cmd':_0x199409[_0xbd8728(0x53c)],'routeKey':_0x199409[_0xbd8728(0x545)],'collaMsg':_0x17d6bb});}case W[_0xbd8728(0x21f)]:return JSON['stringify']({'cmd':_0x199409[_0xbd8728(0x53c)],'routeKey':_0x199409[_0xbd8728(0x545)],'joinReq':_0x199409[_0xbd8728(0x231)]});case W[_0xbd8728(0x497)]:return JSON[_0xbd8728(0x371)]({'cmd':_0x199409[_0xbd8728(0x53c)],'routeKey':_0x199409['routeKey'],'leaveReq':_0x199409[_0xbd8728(0x231)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0x772c99(0x25d)],zt=(_0x1b9842,_0x45b362,_0x33623a,_0x3c0d6a)=>{var _0x295fea=_0x772c99;for(var _0x1bbfe1=_0x3c0d6a>0x1?void 0x0:_0x3c0d6a?qt(_0x45b362,_0x33623a):_0x45b362,_0x5a8edc=_0x1b9842[_0x295fea(0x1fe)]-0x1,_0xc53a6d;_0x5a8edc>=0x0;_0x5a8edc--)(_0xc53a6d=_0x1b9842[_0x5a8edc])&&(_0x1bbfe1=_0xc53a6d(_0x1bbfe1)||_0x1bbfe1);return _0x1bbfe1;},_e=(_0x3d4312,_0x13a514)=>(_0x36cd78,_0x5e219b)=>_0x13a514(_0x36cd78,_0x5e219b,_0x3d4312);const He=a[_0x772c99(0x325)]('univer-pro.collaboration-client-socket-service');function Jt(_0x2054af,_0x405cf2,_0xfb3312){var _0x26dbf0=_0x772c99;return _0x2054af+'/'+_0x405cf2+_0x26dbf0(0x32f)+_0xfb3312+_0x26dbf0(0x4f3);}exports[_0x772c99(0x1e5)]=class extends a[_0x772c99(0x482)]{constructor(_0x5310df,_0x39138b,_0x1acf61,_0x206755,_0x4e288f){var _0x321783=_0x772c99;super(),this[_0x321783(0x45b)]=_0x5310df,this[_0x321783(0x3f5)]=_0x39138b,this[_0x321783(0x549)]=_0x1acf61,this[_0x321783(0x2b8)]=_0x206755,this['_snapshotServerService']=_0x4e288f;}[_0x772c99(0x25f)](_0x1ff2a3){var _0x6eb306=_0x772c99;const _0x19db13=this['_injector'][_0x6eb306(0x555)](K['ISocketService']);if(!_0x19db13)throw new Error(_0x6eb306(0x451));const _0x5cb577=_0x19db13[_0x6eb306(0x3b1)](_0x1ff2a3);if(!_0x5cb577)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x520028=new a[(_0x6eb306(0x2a3))](),_0xfbae76=new $[(_0x6eb306(0x2ba))]();_0x520028[_0x6eb306(0x4e5)](_0x5cb577[_0x6eb306(0x1e6)][_0x6eb306(0x210)](_0x1f05a5=>_0xfbae76[_0x6eb306(0x509)](_0x1f05a5))),_0x520028['add'](a[_0x6eb306(0x4f5)](()=>_0xfbae76[_0x6eb306(0x34a)]()));const _0x5dcbe8=new $['Subject']();_0x520028[_0x6eb306(0x4e5)](_0x5cb577['error$'][_0x6eb306(0x210)](_0x22c123=>_0x5dcbe8[_0x6eb306(0x509)](_0x22c123))),_0x520028[_0x6eb306(0x4e5)](a[_0x6eb306(0x4f5)](()=>_0x5dcbe8[_0x6eb306(0x34a)]()));const _0x1a6afb=new $[(_0x6eb306(0x2ba))]();_0x520028[_0x6eb306(0x4e5)](_0x5cb577['message$'][_0x6eb306(0x210)](_0x26bde0=>{const _0x1f5825=Ct(_0x26bde0);_0x1a6afb['next'](_0x1f5825);})),_0x520028[_0x6eb306(0x4e5)](a[_0x6eb306(0x4f5)](()=>_0x1a6afb['complete']()));let _0x79bac9;const _0x4e5cdd=()=>{var _0x2da766=_0x6eb306;_0x5dcbe8[_0x2da766(0x509)](new Event('connection\x20error')),_0xfbae76[_0x2da766(0x509)](new Event('connection\x20error')),_0x79bac9[_0x2da766(0x444)]();};return _0x79bac9={'memberID':'','close$':_0xfbae76[_0x6eb306(0x515)](),'error$':_0x5dcbe8[_0x6eb306(0x515)](),'open$':_0x5cb577[_0x6eb306(0x400)],'message$':_0x1a6afb[_0x6eb306(0x515)](),'send':_0x7038c9=>{var _0x271a03=_0x6eb306;if(_0x7038c9[_0x271a03(0x53c)]===W[_0x271a03(0x26c)]){if(_0x7038c9['data'][_0x271a03(0x352)]===p['CollaborationEvent'][_0x271a03(0x263)]){this[_0x271a03(0x4ba)](_0x79bac9,_0x7038c9['data'])[_0x271a03(0x4ec)](_0x3b11a8=>{var _0x399498=_0x271a03;this[_0x399498(0x2b8)][_0x399498(0x2aa)](_0x3b11a8),_0x4e5cdd();});return;}if(_0x7038c9[_0x271a03(0x231)][_0x271a03(0x352)]===p['CollaborationEvent'][_0x271a03(0x28a)]){const _0x26109e=_0x7038c9[_0x271a03(0x231)];this[_0x271a03(0x3e2)](_0x26109e)[_0x271a03(0x369)](_0x322f96=>{var _0x21e6ed=_0x271a03;_0x1a6afb[_0x21e6ed(0x509)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x26109e['data'][_0x21e6ed(0x53e)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x21e6ed(0x382)],'data':{'changesets':_0x322f96}}});})['catch'](_0xef236f=>{var _0x383738=_0x271a03;this[_0x383738(0x2b8)][_0x383738(0x2aa)](_0xef236f),_0x4e5cdd();});return;}}_0x5cb577[_0x271a03(0x48d)](Tt(_0x7038c9));},'close':()=>{var _0x58dbf4=_0x6eb306;_0x5cb577[_0x58dbf4(0x444)](),_0x520028[_0x58dbf4(0x3b7)]();}},_0x79bac9;}async[_0x772c99(0x4ba)](_0x5c7b47,_0x541c75){var _0x6ecb12=_0x772c99,_0xb5a6ee,_0x323781;const {unitType:_0x1ae9c3,unitID:_0xf6e8bc,changeset:_0x42ef18}=_0x541c75[_0x6ecb12(0x231)],_0x5cd203={'unitID':_0xf6e8bc,'memberID':_0x5c7b47[_0x6ecb12(0x541)],'type':_0x1ae9c3,'changeset':p[_0x6ecb12(0x3d9)](_0x42ef18)},_0x362d32=this[_0x6ecb12(0x549)]['getConfig'](It),_0x16d60d=this['_configService'][_0x6ecb12(0x27c)](G),_0x1d2475=Jt((_0x323781=(_0xb5a6ee=_0x16d60d==null?void 0x0:_0x16d60d[_0x6ecb12(0x1ef)])!=null?_0xb5a6ee:_0x362d32)!=null?_0x323781:Vt,_0x1ae9c3,_0xf6e8bc);try{await this[_0x6ecb12(0x3f5)][_0x6ecb12(0x41a)](_0x1d2475,{'body':_0x5cd203});}catch(_0x1e04ae){throw this[_0x6ecb12(0x2b8)][_0x6ecb12(0x2aa)](_0x6ecb12(0x2cf),_0x6ecb12(0x3e9)),_0x1e04ae;}}async[_0x772c99(0x3e2)](_0x34816a){var _0x95f822=_0x772c99;const {unitID:_0x50a379,from:_0xa6885c,to:_0x15c60a,unitType:_0x5ed10e}=_0x34816a[_0x95f822(0x231)];return(await this[_0x95f822(0x3d8)][_0x95f822(0x437)]({'metadata':void 0x0},{'unitID':_0x50a379,'type':_0x5ed10e,'from':_0xa6885c,'to':_0x15c60a}))[_0x95f822(0x330)];}},exports[_0x772c99(0x1e5)]=zt([_e(0x0,a['Inject'](a[_0x772c99(0x3e7)])),_e(0x1,a[_0x772c99(0x2a5)](K[_0x772c99(0x4c9)])),_e(0x2,a[_0x772c99(0x399)]),_e(0x3,a[_0x772c99(0x327)]),_e(0x4,p[_0x772c99(0x1f5)])],exports[_0x772c99(0x1e5)]);const Xt='collaboration_new_changeset';function Zt(_0x3875ac){var _0x53bb87=_0x772c99;return JSON[_0x53bb87(0x371)](_0x3875ac)[_0x53bb87(0x1fe)];}class $e{constructor(){var _0x3d80b6=_0x772c99;A(this,'_commentUpdate$',new $[(_0x3d80b6(0x2ba))]()),A(this,_0x3d80b6(0x3f4),this[_0x3d80b6(0x3a6)][_0x3d80b6(0x515)]());}['onCommentUpdate'](_0x1ee192){var _0xb3dcf2=_0x772c99;this[_0xb3dcf2(0x3a6)][_0xb3dcf2(0x509)](_0x1ee192);}}var Qt=Object[_0x772c99(0x25d)],ei=(_0xfaae7e,_0x36d218,_0x2d47b6,_0x234fcb)=>{var _0xc78f5d=_0x772c99;for(var _0x315ab2=_0x234fcb>0x1?void 0x0:_0x234fcb?Qt(_0x36d218,_0x2d47b6):_0x36d218,_0x4a64f5=_0xfaae7e[_0xc78f5d(0x1fe)]-0x1,_0x397ea1;_0x4a64f5>=0x0;_0x4a64f5--)(_0x397ea1=_0xfaae7e[_0x4a64f5])&&(_0x315ab2=_0x397ea1(_0x315ab2)||_0x315ab2);return _0x315ab2;},We=(_0x43b5a8,_0x182921)=>(_0x522c98,_0x3f2006)=>_0x182921(_0x522c98,_0x3f2006,_0x43b5a8);exports['MemberService']=class extends a['Disposable']{constructor(_0x43e302,_0x1025be){var _0x29363b=_0x772c99;super(),A(this,_0x29363b(0x24e),new Map()),A(this,_0x29363b(0x3fe),new $[(_0x29363b(0x2ba))]()),(this[_0x29363b(0x1ea)]=_0x43e302,this['_userManagerService']=_0x1025be,this['disposeWithMe']($['merge'](this[_0x29363b(0x1ea)]['getTypeOfUnitDisposed$'](a[_0x29363b(0x31c)]['UNIVER_SHEET'])[_0x29363b(0x24d)](V[_0x29363b(0x2be)](_0x3eec6f=>_0x3eec6f[_0x29363b(0x520)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x29363b(0x31c)][_0x29363b(0x3d1)])['pipe'](V[_0x29363b(0x2be)](_0x548233=>_0x548233[_0x29363b(0x520)]())),this[_0x29363b(0x1ea)][_0x29363b(0x2b0)](a[_0x29363b(0x31c)][_0x29363b(0x50e)])[_0x29363b(0x24d)](V[_0x29363b(0x2be)](_0x11c561=>_0x11c561['getUnitId']())))[_0x29363b(0x210)](_0x2a1333=>this[_0x29363b(0x39d)](_0x2a1333))));}[_0x772c99(0x538)](_0x372ba0){var _0xc9853f=_0x772c99;return this[_0xc9853f(0x24e)][_0xc9853f(0x553)](_0x372ba0)?$['of'](this['_roomMembers']['get'](_0x372ba0)):this[_0xc9853f(0x3fe)][_0xc9853f(0x24d)](V[_0xc9853f(0x2be)](_0x379e04=>{var _0x5f0bc2=_0xc9853f;if(_0x379e04===_0x372ba0)return this[_0x5f0bc2(0x24e)][_0x5f0bc2(0x555)](_0x379e04);}));}[_0x772c99(0x50a)](_0xda37b5){var _0xbe1b3c=_0x772c99;this[_0xbe1b3c(0x2f3)][_0xbe1b3c(0x50a)](_0xda37b5);}[_0x772c99(0x237)](){var _0x187550=_0x772c99;return this[_0x187550(0x2f3)]['getCurrentUser']();}[_0x772c99(0x306)](_0x1307a2,_0x415629){var _0x4aa35c=_0x772c99;let _0x3be7c3=this[_0x4aa35c(0x24e)][_0x4aa35c(0x555)](_0x1307a2);_0x3be7c3||(_0x3be7c3=new ti(),this[_0x4aa35c(0x24e)][_0x4aa35c(0x2ed)](_0x1307a2,_0x3be7c3),this[_0x4aa35c(0x3fe)]['next'](_0x1307a2)),_0x3be7c3['updateMember'](_0x415629);}[_0x772c99(0x411)](_0x21f573,_0x31db9f){var _0xc81ebd=_0x772c99;const _0x18e09e=this[_0xc81ebd(0x24e)][_0xc81ebd(0x555)](_0x21f573);_0x18e09e&&_0x18e09e[_0xc81ebd(0x411)](_0x31db9f);}[_0x772c99(0x26b)](_0x44f2eb){return this['_roomMembers']['get'](_0x44f2eb);}[_0x772c99(0x504)](_0x197504,_0x5d1907){var _0x1a0de2=_0x772c99;const _0x3e97a5=this[_0x1a0de2(0x24e)][_0x1a0de2(0x555)](_0x197504);if(_0x3e97a5)return _0x3e97a5[_0x1a0de2(0x504)](_0x5d1907);}[_0x772c99(0x39d)](_0x2e7cd7){var _0x2f8a41=_0x772c99;const _0x50c70c=this[_0x2f8a41(0x24e)][_0x2f8a41(0x555)](_0x2e7cd7);_0x50c70c&&(_0x50c70c[_0x2f8a41(0x3b7)](),this[_0x2f8a41(0x24e)][_0x2f8a41(0x1f1)](_0x2e7cd7));}[_0x772c99(0x3b7)](){var _0x3400af=_0x772c99;this[_0x3400af(0x24e)]['forEach'](_0x4ee148=>_0x4ee148[_0x3400af(0x3b7)]()),this[_0x3400af(0x24e)]['clear'](),this[_0x3400af(0x3fe)][_0x3400af(0x34a)]();}},exports[_0x772c99(0x47b)]=ei([We(0x0,a[_0x772c99(0x418)]),We(0x1,a[_0x772c99(0x2a5)](a[_0x772c99(0x320)]))],exports['MemberService']);class ti extends a[_0x772c99(0x482)]{constructor(){var _0x28daa0=_0x772c99;super(...arguments),A(this,_0x28daa0(0x3a0),new Map()),A(this,'_members$',new $[(_0x28daa0(0x27a))](this[_0x28daa0(0x3a0)])),A(this,'members$',this[_0x28daa0(0x40d)]['asObservable']());}[_0x772c99(0x3b7)](){var _0x523a16=_0x772c99;this[_0x523a16(0x3a0)][_0x523a16(0x4e7)]();}[_0x772c99(0x306)](_0x127e74){var _0x318cb8=_0x772c99;this[_0x318cb8(0x3a0)]['set'](_0x127e74[_0x318cb8(0x541)],_0x127e74),this['_emitMembers']();}[_0x772c99(0x411)](_0x9262e5){var _0x1841b9=_0x772c99;this['_members'][_0x1841b9(0x1f1)](_0x9262e5);}['getMember'](_0x4267ea){var _0x21bc59=_0x772c99;return this[_0x21bc59(0x3a0)][_0x21bc59(0x555)](_0x4267ea);}[_0x772c99(0x464)](){var _0x7c0142=_0x772c99;return Array['from'](this[_0x7c0142(0x3a0)][_0x7c0142(0x3b2)]());}[_0x772c99(0x1fc)](){var _0x5bb7e8=_0x772c99;this[_0x5bb7e8(0x40d)][_0x5bb7e8(0x509)](this['_members']);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x5c00b6,_0x352472,_0x24241c,_0x30e62c)=>{var _0x2ffd7f=_0x772c99;for(var _0x48913c=_0x30e62c>0x1?void 0x0:_0x30e62c?ii(_0x352472,_0x24241c):_0x352472,_0x571a1c=_0x5c00b6[_0x2ffd7f(0x1fe)]-0x1,_0x15752b;_0x571a1c>=0x0;_0x571a1c--)(_0x15752b=_0x5c00b6[_0x571a1c])&&(_0x48913c=_0x15752b(_0x48913c)||_0x48913c);return _0x48913c;},se=(_0x4dc2c4,_0x2ec80e)=>(_0x41ae99,_0x2c5eb3)=>_0x2ec80e(_0x41ae99,_0x2c5eb3,_0x4dc2c4),re=(_0x4b695c=>(_0x4b695c[_0x4b695c[_0x772c99(0x45f)]=0x0]=_0x772c99(0x45f),_0x4b695c[_0x4b695c['JOINING']=0x1]=_0x772c99(0x202),_0x4b695c[_0x4b695c[_0x772c99(0x250)]=0x2]=_0x772c99(0x250),_0x4b695c[_0x4b695c[_0x772c99(0x4e8)]=0x3]=_0x772c99(0x4e8),_0x4b695c))(re||{});const Ye={[oe[_0x772c99(0x40a)]]:_0x772c99(0x508),[oe[_0x772c99(0x206)]]:_0x772c99(0x377),[oe[_0x772c99(0x2c8)]]:_0x772c99(0x2ad),[oe[_0x772c99(0x228)]]:_0x772c99(0x29d),[oe[_0x772c99(0x2f2)]]:_0x772c99(0x239)};exports[_0x772c99(0x23a)]=class extends a[_0x772c99(0x54c)]{constructor(_0x24de6a,_0x5c11bd,_0x1d3caf,_0x34dda1,_0x285fb0,_0xea879e,_0x1770a2,_0x2856ce,_0x54b1cd){var _0x350215=_0x772c99;super(),A(this,_0x350215(0x24f),new $[(_0x350215(0x27a))](0x0)),A(this,_0x350215(0x3cd),this['_sessionStatus$'][_0x350215(0x515)]()),A(this,'_event$',new $[(_0x350215(0x2ba))]()),A(this,_0x350215(0x4b2),this[_0x350215(0x26e)][_0x350215(0x515)]()),A(this,_0x350215(0x407)),A(this,_0x350215(0x248)),A(this,_0x350215(0x4bb)),A(this,_0x350215(0x3bf),!0x1),A(this,_0x350215(0x20e),null),(this['_unitID']=_0x24de6a,this[_0x350215(0x2b8)]=_0x1d3caf,this[_0x350215(0x549)]=_0x34dda1,this[_0x350215(0x297)]=_0x285fb0,this[_0x350215(0x4ff)]=_0xea879e,this[_0x350215(0x3ef)]=_0x1770a2,this[_0x350215(0x380)]=_0x2856ce,this[_0x350215(0x381)]=_0x54b1cd,this[_0x350215(0x3bf)]=!!this['_telemetryService'],_0x5c11bd[_0x350215(0x24d)]($[_0x350215(0x36e)](this[_0x350215(0x33b)]))['subscribe'](_0x4f6dc4=>{var _0x2a45d7=_0x350215,_0x2d68cf;typeof _0x4f6dc4>'u'||(this[_0x2a45d7(0x407)]=_0x4f6dc4,_0x4f6dc4?(this[_0x2a45d7(0x443)](_0x4f6dc4),this[_0x2a45d7(0x248)]=_0x4f6dc4[_0x2a45d7(0x340)][_0x2a45d7(0x210)](_0x4acf9f=>{var _0x4ee837=_0x2a45d7;_0x4acf9f['routeKey']===this['_unitID']&&this[_0x4ee837(0x2b9)](_0x4acf9f);})):(this[_0x2a45d7(0x295)](),this[_0x2a45d7(0x24f)][_0x2a45d7(0x509)](0x2),(_0x2d68cf=this[_0x2a45d7(0x248)])==null||_0x2d68cf[_0x2a45d7(0x47e)](),this[_0x2a45d7(0x248)]=null));}));}get[_0x772c99(0x47c)](){var _0x45a4d2=_0x772c99;return this['_sessionStatus$'][_0x45a4d2(0x39a)]();}['getMemberID'](){var _0x3287ee=_0x772c99,_0x21f80f,_0x2f8752;return(_0x2f8752=(_0x21f80f=this[_0x3287ee(0x407)])==null?void 0x0:_0x21f80f[_0x3287ee(0x541)])!=null?_0x2f8752:null;}[_0x772c99(0x3b7)](){var _0x13670f=_0x772c99;super['dispose'](),this[_0x13670f(0x33b)][_0x13670f(0x509)](),this[_0x13670f(0x33b)][_0x13670f(0x34a)]();}[_0x772c99(0x444)](){var _0xa7b14c=_0x772c99,_0x36a5e1,_0x304328;this[_0xa7b14c(0x295)](),(_0x36a5e1=this[_0xa7b14c(0x407)])==null||_0x36a5e1[_0xa7b14c(0x48d)]({'cmd':W[_0xa7b14c(0x497)],'data':{'roomID':this[_0xa7b14c(0x534)]}}),(_0x304328=this['_socket'])==null||_0x304328['close'](),this[_0xa7b14c(0x26e)]['complete'](),this[_0xa7b14c(0x24f)][_0xa7b14c(0x34a)](),this[_0xa7b14c(0x3b7)]();}[_0x772c99(0x2b9)](_0x3a4505){var _0x5608d3=_0x772c99;_0x3a4505[_0x5608d3(0x53c)]===W[_0x5608d3(0x21f)]?this[_0x5608d3(0x261)](_0x3a4505):_0x3a4505[_0x5608d3(0x53c)]===W[_0x5608d3(0x35c)]&&this['_onRecvEvent'](_0x3a4505);}[_0x772c99(0x443)](_0x534bc5){var _0xcb2b5f=_0x772c99;this['_sessionStatus$'][_0xcb2b5f(0x509)](0x1),_0x534bc5[_0xcb2b5f(0x48d)]({'cmd':W[_0xcb2b5f(0x21f)],'routeKey':this[_0xcb2b5f(0x534)],'routeType':'','data':{'rooms':[{'roomID':this[_0xcb2b5f(0x534)]}]}});}[_0x772c99(0x261)](_0x294c5d){var _0x14545b=_0x772c99,_0x37d2f5;if(_0x294c5d[_0x14545b(0x2e1)]in Ye){this[_0x14545b(0x380)][_0x14545b(0x2a2)]({'id':Z['JOIN_ROOM_FAILED'],'data':Ye[_0x294c5d['code']]}),this[_0x14545b(0x24f)][_0x14545b(0x509)](0x2);return;}this[_0x14545b(0x24f)][_0x14545b(0x509)](0x3);const _0x1101e6=(_0x37d2f5=_0x294c5d['data']['roomInfos'][this[_0x14545b(0x534)]])==null?void 0x0:_0x37d2f5[_0x14545b(0x305)];_0x1101e6&&_0x1101e6['forEach'](_0x228522=>this['_memberService'][_0x14545b(0x306)](this[_0x14545b(0x534)],_0x228522));}[_0x772c99(0x343)](_0x5c9ff0){var _0x4970b8=_0x772c99;try{const _0x2c15b6=_0x5c9ff0[_0x4970b8(0x231)];switch(_0x2c15b6[_0x4970b8(0x352)]){case p[_0x4970b8(0x4da)]['USERS_ENTER']:this[_0x4970b8(0x3d0)](_0x2c15b6),this[_0x4970b8(0x26e)][_0x4970b8(0x509)](_0x2c15b6);break;case p[_0x4970b8(0x4da)][_0x4970b8(0x42b)]:this[_0x4970b8(0x24b)](_0x2c15b6),this['_event$'][_0x4970b8(0x509)](_0x2c15b6);break;case p['CollaborationEvent']['CHANGESET_ACK']:case p['CollaborationEvent'][_0x4970b8(0x3ba)]:this[_0x4970b8(0x362)](),this[_0x4970b8(0x34c)](),this[_0x4970b8(0x26e)]['next'](_0x2c15b6);break;case p['CollaborationEvent'][_0x4970b8(0x2f5)]:this[_0x4970b8(0x2b8)][_0x4970b8(0x2aa)](_0x4970b8(0x22b)+JSON[_0x4970b8(0x371)](_0x2c15b6)),this['_event$'][_0x4970b8(0x509)](_0x2c15b6);break;case p[_0x4970b8(0x4da)]['COMMENT_UPDATE']:this[_0x4970b8(0x3ef)][_0x4970b8(0x54d)](_0x2c15b6[_0x4970b8(0x231)]),this[_0x4970b8(0x26e)]['next'](_0x2c15b6);break;default:this[_0x4970b8(0x26e)][_0x4970b8(0x509)](_0x2c15b6);}}catch(_0x1a8cba){this[_0x4970b8(0x2b8)]['error'](_0x1a8cba,_0x5c9ff0);}}[_0x772c99(0x3d0)](_0x1027c6){var _0xf2b79=_0x772c99;this['_memberService'][_0xf2b79(0x306)](this[_0xf2b79(0x534)],_0x1027c6[_0xf2b79(0x231)]);}[_0x772c99(0x24b)](_0x2c572d){var _0x5bb965=_0x772c99;this[_0x5bb965(0x4ff)]['removeMember'](this[_0x5bb965(0x534)],_0x2c572d[_0x5bb965(0x231)][_0x5bb965(0x541)]);}async[_0x772c99(0x48d)](_0x5c759d,_0x4c9695){var _0x321558=_0x772c99;if(this['sessionStatus']!==0x3||!this[_0x321558(0x407)])throw new Error(_0x321558(0x2d1));try{_0x5c759d[_0x321558(0x352)]===p[_0x321558(0x4da)][_0x321558(0x263)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x321558(0x480)](_0x5c759d)),this[_0x321558(0x407)]['send']({'cmd':W[_0x321558(0x26c)],'routeKey':_0x4c9695,'routeType':'','data':_0x5c759d});}catch(_0x56be13){this[_0x321558(0x2b8)][_0x321558(0x2aa)](_0x56be13);}}[_0x772c99(0x2a7)](){var _0x1c463c=_0x772c99,_0x102c18;this[_0x1c463c(0x4bb)]=setTimeout(()=>{var _0x390376=_0x1c463c;this[_0x390376(0x4bb)]=null,this[_0x390376(0x380)]['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x102c18=this[_0x1c463c(0x549)]['getConfig'](ke))!=null?_0x102c18:St);}[_0x772c99(0x34c)](){var _0xd2f130=_0x772c99;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xd2f130(0x4bb)]=null);}[_0x772c99(0x480)](_0x225a49){if(!this['_shouldReportTelemetry'])return;const {data:_0x3e3cc8}=_0x225a49,{unitID:_0x4eccaa,changeset:_0x1b4811}=_0x3e3cc8,{mutations:_0x321d2d,type:_0x49c5d0}=_0x1b4811;this['_telemetryInfo']={'unitId':_0x4eccaa,'type':_0x49c5d0,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x321d2d)};}[_0x772c99(0x362)](){var _0x50e990=_0x772c99;if(this[_0x50e990(0x3bf)]){if(!this[_0x50e990(0x20e)]){this[_0x50e990(0x2b8)]['error'](_0x50e990(0x2cf),_0x50e990(0x4c5));return;}this[_0x50e990(0x20e)]['stopTime']=performance['now'](),this[_0x50e990(0x20e)]['duration']=this[_0x50e990(0x20e)][_0x50e990(0x2ff)]-this['_telemetryInfo'][_0x50e990(0x502)],this['_telemetryService'][_0x50e990(0x543)](Xt,this['_telemetryInfo']),this[_0x50e990(0x20e)]=null;}}[_0x772c99(0x295)](){var _0x19bcb5=_0x772c99;this[_0x19bcb5(0x20e)]=null;}},exports[_0x772c99(0x23a)]=ni([se(0x2,a[_0x772c99(0x327)]),se(0x3,a[_0x772c99(0x399)]),se(0x4,a[_0x772c99(0x2a5)](a[_0x772c99(0x43d)])),se(0x5,a[_0x772c99(0x2a5)](exports[_0x772c99(0x47b)])),se(0x6,a[_0x772c99(0x2a5)]($e)),se(0x7,a[_0x772c99(0x2a5)](ee)),se(0x8,a[_0x772c99(0x43f)](Pt[_0x772c99(0x394)]))],exports[_0x772c99(0x23a)]);var ri=Object[_0x772c99(0x25d)],si=(_0x1ddcb5,_0x348cb9,_0x8e944d,_0x537309)=>{var _0xda6b70=_0x772c99;for(var _0xfdf79c=_0x537309>0x1?void 0x0:_0x537309?ri(_0x348cb9,_0x8e944d):_0x348cb9,_0x51653a=_0x1ddcb5[_0xda6b70(0x1fe)]-0x1,_0x52e920;_0x51653a>=0x0;_0x51653a--)(_0x52e920=_0x1ddcb5[_0x51653a])&&(_0xfdf79c=_0x52e920(_0xfdf79c)||_0xfdf79c);return _0xfdf79c;},he=(_0x3edece,_0x2630eb)=>(_0x4f8728,_0x4091c5)=>_0x2630eb(_0x4f8728,_0x4091c5,_0x3edece);exports[_0x772c99(0x314)]=class extends a[_0x772c99(0x482)]{constructor(_0x31e8c2,_0x4793ab,_0x561462,_0x283e2d,_0x2ccda7,_0x683396){var _0x4e8b99=_0x772c99;super(),A(this,'_socket$',new $[(_0x4e8b99(0x27a))](void 0x0)),A(this,_0x4e8b99(0x45c),this['_socket$'][_0x4e8b99(0x515)]()),A(this,_0x4e8b99(0x4a9),null),A(this,_0x4e8b99(0x384),new Map()),A(this,_0x4e8b99(0x370),new $[(_0x4e8b99(0x27a))](re[_0x4e8b99(0x45f)])),A(this,_0x4e8b99(0x2a9),this['_status$'][_0x4e8b99(0x515)]()),A(this,_0x4e8b99(0x445),!0x1),A(this,_0x4e8b99(0x32a)),A(this,_0x4e8b99(0x432),0x0),A(this,_0x4e8b99(0x2b2)),A(this,_0x4e8b99(0x49c)),(this[_0x4e8b99(0x45b)]=_0x31e8c2,this[_0x4e8b99(0x2b8)]=_0x4793ab,this[_0x4e8b99(0x549)]=_0x561462,this['_socketService']=_0x283e2d,this[_0x4e8b99(0x380)]=_0x2ccda7,this[_0x4e8b99(0x33c)]=_0x683396,this['_listenToNetworkCondition']());}get[_0x772c99(0x407)](){var _0x57afcb=_0x772c99;return this[_0x57afcb(0x346)][_0x57afcb(0x39a)]();}[_0x772c99(0x2a1)](){var _0x37d279=_0x772c99;this[_0x37d279(0x33c)]&&this['disposeWithMe'](this['_networkConditionService']['online$']['subscribe'](_0x36b64d=>{var _0x4beee3=_0x37d279;_0x36b64d&&!this[_0x4beee3(0x407)]&&this[_0x4beee3(0x422)](),_0x36b64d||this[_0x4beee3(0x2e9)]();}));}['dispose'](){var _0x2630e3=_0x772c99;super[_0x2630e3(0x3b7)](),this[_0x2630e3(0x2a8)](),this['_clearTimeoutTimer'](),this[_0x2630e3(0x4c7)](),this[_0x2630e3(0x384)][_0x2630e3(0x500)](_0x111279=>_0x111279[_0x2630e3(0x3b7)]()),this['_sessions'][_0x2630e3(0x4e7)](),this[_0x2630e3(0x370)][_0x2630e3(0x34a)]();}async[_0x772c99(0x374)](_0x52680c){var _0xc1948d=_0x772c99;if(this[_0xc1948d(0x384)][_0xc1948d(0x553)](_0x52680c))return this[_0xc1948d(0x384)][_0xc1948d(0x555)](_0x52680c);this['_tryEnsureSocket']();const _0x31f267=this[_0xc1948d(0x45b)][_0xc1948d(0x43a)](exports[_0xc1948d(0x23a)],_0x52680c,this['_socket$'][_0xc1948d(0x515)]());return this[_0xc1948d(0x384)]['set'](_0x52680c,_0x31f267),_0x31f267;}[_0x772c99(0x544)](_0x439fda){var _0x264e37=_0x772c99,_0x514d55;const _0x1b6d50=this[_0x264e37(0x384)][_0x264e37(0x555)](_0x439fda);_0x1b6d50&&(this[_0x264e37(0x384)][_0x264e37(0x1f1)](_0x439fda),_0x1b6d50[_0x264e37(0x444)]()),this[_0x264e37(0x384)][_0x264e37(0x262)]||(_0x514d55=this['_socket'])==null||_0x514d55['close']();}[_0x772c99(0x422)](){var _0x10a76b=_0x772c99;this[_0x10a76b(0x432)]=0x0,this[_0x10a76b(0x2a8)](),this[_0x10a76b(0x21d)]();}['_clearRetryConnectingTimer'](){var _0x47c566=_0x772c99;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x47c566(0x32a)]),this[_0x47c566(0x32a)]=null);}async[_0x772c99(0x4d6)](){var _0x57267c=_0x772c99,_0x33d5b3,_0x35ecb0;const _0xf74b1b=this[_0x57267c(0x549)][_0x57267c(0x27c)](ut),_0x5b2b33=this['_configService'][_0x57267c(0x27c)](G),_0x36f983=(_0x35ecb0=(_0x33d5b3=_0x5b2b33==null?void 0x0:_0x5b2b33[_0x57267c(0x3d2)])!=null?_0x33d5b3:_0xf74b1b)!=null?_0x35ecb0:dt,_0x5a7e4f=await this['_socketService']['createSocket'](_0x36f983);return this['_candidateSocket']=_0x5a7e4f,_0x5a7e4f;}async[_0x772c99(0x462)](){var _0x2fe9ab=_0x772c99,_0x1aa06d,_0x4f99af;try{const _0x4bda5d=(_0x4f99af=(_0x1aa06d=this['_socket'])!=null?_0x1aa06d:this[_0x2fe9ab(0x4a9)])!=null?_0x4f99af:await this[_0x2fe9ab(0x4d6)]();if(_0x4bda5d){const _0x93beaa=_0x4bda5d[_0x2fe9ab(0x48d)];_0x4bda5d['send']=_0xfeca3=>(this[_0x2fe9ab(0x264)](),_0x93beaa[_0x2fe9ab(0x22f)](_0x4bda5d,[_0xfeca3])),_0x4bda5d[_0x2fe9ab(0x340)]['subscribe'](_0x3d39d6=>this[_0x2fe9ab(0x526)](_0x4bda5d,_0x3d39d6)),_0x4bda5d['error$']['pipe'](V[_0x2fe9ab(0x531)](0x1))[_0x2fe9ab(0x210)](_0x283323=>this[_0x2fe9ab(0x2b8)][_0x2fe9ab(0x2aa)](_0x2fe9ab(0x1ec),_0x283323)),_0x4bda5d[_0x2fe9ab(0x400)][_0x2fe9ab(0x24d)](V['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x4bda5d);}),_0x4bda5d['close$']['pipe'](V[_0x2fe9ab(0x531)](0x1))[_0x2fe9ab(0x210)](_0x3d12ed=>{var _0x12a5a3=_0x2fe9ab;this[_0x12a5a3(0x2b8)][_0x12a5a3(0x265)](_0x12a5a3(0x52c),_0x12a5a3(0x253),_0x3d12ed),this[_0x12a5a3(0x53d)]();});}}catch(_0x1bb378){this[_0x2fe9ab(0x2b8)][_0x2fe9ab(0x2aa)](_0x1bb378),this[_0x2fe9ab(0x53d)]();}}[_0x772c99(0x277)](_0x316289){var _0x5d35c6=_0x772c99;this[_0x5d35c6(0x2b8)][_0x5d35c6(0x265)](_0x5d35c6(0x52c),_0x5d35c6(0x286)),_0x316289[_0x5d35c6(0x48d)]({'cmd':W[_0x5d35c6(0x4a5)]}),this['_rescheduleHeartbeat']();}[_0x772c99(0x2e9)](){var _0xa31fd5=_0x772c99;this['_socketReady']=!0x1,this[_0xa31fd5(0x4a9)]=null,this[_0xa31fd5(0x370)][_0xa31fd5(0x509)](re[_0xa31fd5(0x250)]),this[_0xa31fd5(0x346)][_0xa31fd5(0x509)](null),this[_0xa31fd5(0x213)](),this['_clearHeartbeatTimer']();}[_0x772c99(0x53d)](){var _0x28205c=_0x772c99,_0xb23dd9;this[_0x28205c(0x2e9)](),this[_0x28205c(0x432)]<((_0xb23dd9=this[_0x28205c(0x549)]['getConfig'](ft))!=null?_0xb23dd9:jt)?(this[_0x28205c(0x380)][_0x28205c(0x2a2)]({'id':Z[_0x28205c(0x3c5)]}),this[_0x28205c(0x21d)]()):this['_collaborationUIEventService'][_0x28205c(0x2a2)]({'id':Z['SOCKET_FAILED']});}[_0x772c99(0x21d)](){var _0xcf8651=_0x772c99,_0x15aff8;const _0x33da60=this[_0xcf8651(0x432)],_0x251cf4=this[_0xcf8651(0x549)][_0xcf8651(0x27c)](G),_0x26460b=_0x33da60===0x0?0x0:((_0x15aff8=_0x251cf4==null?void 0x0:_0x251cf4['retryConnectingInterval'])!=null?_0x15aff8:$t)*0x2**_0x33da60;this[_0xcf8651(0x32a)]=setTimeout(()=>{var _0x30fd7b=_0xcf8651;clearTimeout(this['_retryConnectingTimer']),this[_0x30fd7b(0x32a)]=null,this[_0x30fd7b(0x462)]();},_0x26460b),this['_retryCount']+=0x1;}[_0x772c99(0x526)](_0xf189fe,_0x107d25){var _0x2c2fe8=_0x772c99;const {cmd:_0x1b529e}=_0x107d25;_0x1b529e===W[_0x2c2fe8(0x4a5)]&&!this[_0x2c2fe8(0x445)]&&(_0xf189fe[_0x2c2fe8(0x541)]=_0x107d25[_0x2c2fe8(0x231)][_0x2c2fe8(0x541)],this[_0x2c2fe8(0x346)][_0x2c2fe8(0x509)](_0xf189fe),this[_0x2c2fe8(0x370)][_0x2c2fe8(0x509)](re[_0x2c2fe8(0x4e8)]),this[_0x2c2fe8(0x445)]=!0x0,this[_0x2c2fe8(0x4a9)]=null),_0x1b529e===W[_0x2c2fe8(0x554)]&&this[_0x2c2fe8(0x213)](),this['_rescheduleHeartbeat']();}[_0x772c99(0x264)](){var _0xb98f0a=_0x772c99,_0x192f40;this[_0xb98f0a(0x4c7)](),this[_0xb98f0a(0x2b2)]=setTimeout(()=>this[_0xb98f0a(0x496)](),(_0x192f40=this['_configService'][_0xb98f0a(0x27c)](vt))!=null?_0x192f40:Ht);}['_sendHeartbeat'](){var _0xf36853=_0x772c99;this['_socket'][_0xf36853(0x48d)]({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x772c99(0x430)](){var _0x53a753=_0x772c99,_0x578b8b;this[_0x53a753(0x49c)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x578b8b=this[_0x53a753(0x549)][_0x53a753(0x27c)](ke))!=null?_0x578b8b:St);}[_0x772c99(0x4c7)](){var _0x14e862=_0x772c99;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x14e862(0x2b2)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x41f6b9=_0x772c99;this[_0x41f6b9(0x49c)]!=null&&(clearTimeout(this[_0x41f6b9(0x49c)]),this['_timeoutTimer']=null);}},exports[_0x772c99(0x314)]=si([he(0x0,a[_0x772c99(0x2a5)](a[_0x772c99(0x3e7)])),he(0x1,a['ILogService']),he(0x2,a[_0x772c99(0x399)]),he(0x3,He),he(0x4,a[_0x772c99(0x2a5)](ee)),he(0x5,a[_0x772c99(0x43f)](mt))],exports[_0x772c99(0x314)]);const q=a[_0x772c99(0x325)]('collaboration-client.local-cache-service');function oi(_0x285b9e){return'unit-cache-'+_0x285b9e;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x57a475,_0x525aa3,_0x49105d,_0x11c8cc)=>{var _0x5ee5e0=_0x772c99;for(var _0x392c7e=_0x11c8cc>0x1?void 0x0:_0x11c8cc?ai(_0x525aa3,_0x49105d):_0x525aa3,_0x328de9=_0x57a475[_0x5ee5e0(0x1fe)]-0x1,_0x4933dd;_0x328de9>=0x0;_0x328de9--)(_0x4933dd=_0x57a475[_0x328de9])&&(_0x392c7e=_0x4933dd(_0x392c7e)||_0x392c7e);return _0x392c7e;},Ue=(_0x4842b8,_0x2eadbd)=>(_0x5bdcaf,_0x1fb67c)=>_0x2eadbd(_0x5bdcaf,_0x1fb67c,_0x4842b8);function hi(_0x443398){var _0x535df7=_0x772c99;const {unitID:_0x4d6c58,mutations:_0x1f12e7}=_0x443398;return{'unitId':_0x4d6c58,'subUnitId':_0x1f12e7[0x0]['params'][_0x535df7(0x214)]};}exports[_0x772c99(0x4de)]=class{constructor(_0x5672b0,_0x4c7e30,_0x53f59b){var _0x27a435=_0x772c99;this[_0x27a435(0x45b)]=_0x5672b0,this[_0x27a435(0x1e3)]=_0x4c7e30,this[_0x27a435(0x491)]=_0x53f59b;}[_0x772c99(0x358)](_0x4f5a66){var _0xc85d73=_0x772c99,_0x9c29c1,_0x5a7c8b,_0x4e1673,_0x237f39;const _0x1a2f8e=this['_injector'][_0xc85d73(0x555)](X['SheetsSelectionsService']),{unitId:_0x13cd76,subUnitId:_0xd1f263}=hi(_0x4f5a66),_0x43b1b2=_0x1a2f8e==null?void 0x0:_0x1a2f8e['getWorkbookSelections'](_0x13cd76)[_0xc85d73(0x3bc)](),_0x4c8c91=(_0x5a7c8b=(_0x9c29c1=this[_0xc85d73(0x491)][_0xc85d73(0x3c2)](_0x13cd76))==null?void 0x0:_0x9c29c1['getActiveSheet']())==null?void 0x0:_0x5a7c8b[_0xc85d73(0x373)]();if(_0x43b1b2[_0xc85d73(0x1fe)]===0x0||!_0x13cd76||!_0xd1f263)return;const _0x32d5e7=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x13cd76,'subUnitId':_0x4c8c91,'selections':a['Tools'][_0xc85d73(0x50b)](_0x43b1b2)}}],_0xe41fa1=this[_0xc85d73(0x1e3)][_0xc85d73(0x34d)](_0x4f5a66,_0x32d5e7);if(!p[_0xc85d73(0x51f)](_0xe41fa1))throw _0xe41fa1[_0xc85d73(0x2aa)];const _0x7a13d5=(_0x237f39=(_0x4e1673=_0xe41fa1['m2Prime'][0x0])==null?void 0x0:_0x4e1673['params'])==null?void 0x0:_0x237f39[_0xc85d73(0x2f0)];if(Array[_0xc85d73(0x457)](_0x7a13d5)&&_0x7a13d5['length']){if(_0x7a13d5[_0xc85d73(0x1fe)]===_0x32d5e7[0x0][_0xc85d73(0x3a9)][_0xc85d73(0x2f0)]['length']&&_0x7a13d5[_0xc85d73(0x446)]((_0x556517,_0x411ed4)=>a['Rectangle'][_0xc85d73(0x2ec)](_0x556517[_0xc85d73(0x247)],_0x32d5e7[0x0][_0xc85d73(0x3a9)][_0xc85d73(0x2f0)][_0x411ed4]['range'])))return;this[_0xc85d73(0x45b)][_0xc85d73(0x555)](a[_0xc85d73(0x449)])[_0xc85d73(0x396)](X['SetSelectionsOperation']['id'],{'unitId':_0x13cd76,'subUnitId':_0x4c8c91,'selections':_0x7a13d5});}}},exports[_0x772c99(0x4de)]=ci([Ue(0x0,a[_0x772c99(0x2a5)](a['Injector'])),Ue(0x1,p[_0x772c99(0x463)]),Ue(0x2,a[_0x772c99(0x418)])],exports[_0x772c99(0x4de)]);const de=a[_0x772c99(0x325)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0xaf5db6=>(_0xaf5db6[_0xaf5db6[_0x772c99(0x273)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xaf5db6[_0xaf5db6['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0xaf5db6))(je||{});const _i=new Set([X[_0x772c99(0x2bc)]['id']]);function Ge(_0x402200,_0x317d83,_0x1ed40e,_0x500b37,_0x546859){var _0x546a5c=_0x772c99,_0x5943bd,_0x46b985,_0x2fc0f8,_0x458594;const _0x370edd=[];for(const _0x1e2778 of _0x402200)if(_i[_0x546a5c(0x553)](_0x1e2778['id'])){if(_0x370edd['length']>0x0)break;_0x370edd[_0x546a5c(0x536)](_0x1e2778);break;}else _0x370edd[_0x546a5c(0x536)](_0x1e2778);const _0x52b3c9=(_0x46b985=(_0x5943bd=_0x546859[_0x546a5c(0x237)]())==null?void 0x0:_0x5943bd['userID'])!=null?_0x46b985:_0x546a5c(0x542),_0x342849=(_0x458594=(_0x2fc0f8=_0x546859[_0x546a5c(0x237)]())==null?void 0x0:_0x2fc0f8[_0x546a5c(0x541)])!=null?_0x458594:_0x546a5c(0x542);return{'changeset':{'unitID':_0x317d83,'type':p[_0x546a5c(0x25a)](_0x1ed40e[_0x546a5c(0x533)](_0x317d83)),'baseRev':_0x500b37[_0x546a5c(0x368)](_0x317d83),'revision':0x0,'userID':_0x52b3c9,'memberID':_0x342849,'mutations':_0x370edd},'pendingMutations':_0x402200[_0x546a5c(0x4df)](_0x370edd[_0x546a5c(0x1fe)])};}function li(_0x4f2e3a,_0x239197,_0x34cd71,_0x4edce9,_0xa23ed5){var _0x371ea3=_0x772c99,_0x306017,_0x670171,_0x3f2757,_0x24afda;const _0x12a440=[_0x4f2e3a['reduce']((_0x3d6af0,_0x4125ad)=>{var _0x3cd02f=_0x5365,_0x2f8d16;const {id:_0x289c74}=_0x3d6af0,{id:_0x46eb61,type:_0x511e95}=_0x4125ad,_0x51c9db=(_0x2f8d16=_0x3d6af0[_0x3cd02f(0x3a9)])!=null?_0x2f8d16:{'actions':null},_0x15ec33=_0x4125ad[_0x3cd02f(0x3a9)];if(_0x289c74&&_0x289c74!==_0x46eb61)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x289c74+_0x3cd02f(0x498)+_0x46eb61+'.');return{..._0x3d6af0,'id':_0x46eb61,'type':_0x511e95,'params':{'unitId':_0x15ec33[_0x3cd02f(0x2b5)],'textRanges':_0x15ec33['textRanges'],'actions':a['JSONX'][_0x3cd02f(0x3be)](_0x51c9db['actions'],_0x15ec33[_0x3cd02f(0x31e)])}};},{})],_0x501bfe=(_0x670171=(_0x306017=_0xa23ed5[_0x371ea3(0x237)]())==null?void 0x0:_0x306017[_0x371ea3(0x2bd)])!=null?_0x670171:_0x371ea3(0x542),_0x36c127=(_0x24afda=(_0x3f2757=_0xa23ed5[_0x371ea3(0x237)]())==null?void 0x0:_0x3f2757['memberID'])!=null?_0x24afda:_0x371ea3(0x542);return{'changeset':{'unitID':_0x239197,'type':p[_0x371ea3(0x25a)](_0x34cd71['getUnitType'](_0x239197)),'baseRev':_0x4edce9['getCurrentRevOfUnit'](_0x239197),'revision':0x0,'userID':_0x501bfe,'memberID':_0x36c127,'mutations':_0x12a440},'pendingMutations':[]};}function bt(_0x2f98cb,_0x5dbfd5){var _0x16666e=_0x772c99;const _0x24dbea=new $[(_0x16666e(0x2dd))](0x1);return setTimeout(()=>_0x24dbea[_0x16666e(0x509)](_0x5dbfd5),_0x2f98cb),_0x24dbea[_0x16666e(0x515)]()['pipe']($[_0x16666e(0x531)](0x1));}const ui={'id':X[_0x772c99(0x3bb)]['id'],'type':a[_0x772c99(0x43e)][_0x772c99(0x4fd)],'params':{}};var di=Object[_0x772c99(0x25d)],ae=(_0x1934da,_0x4c21e0,_0x13afe4,_0x134d5e)=>{var _0xd08e8f=_0x772c99;for(var _0x42b4cd=_0x134d5e>0x1?void 0x0:_0x134d5e?di(_0x4c21e0,_0x13afe4):_0x4c21e0,_0x3be297=_0x1934da[_0xd08e8f(0x1fe)]-0x1,_0x306490;_0x3be297>=0x0;_0x3be297--)(_0x306490=_0x1934da[_0x3be297])&&(_0x42b4cd=_0x306490(_0x42b4cd)||_0x42b4cd);return _0x42b4cd;},L=(_0x41e77c,_0x3ab274)=>(_0x19315a,_0x141046)=>_0x3ab274(_0x19315a,_0x141046,_0x41e77c),Be=(_0x1ee4fc=>(_0x1ee4fc[_0x772c99(0x4b5)]=_0x772c99(0x2c6),_0x1ee4fc['SYNCED']=_0x772c99(0x224),_0x1ee4fc[_0x772c99(0x357)]='pending',_0x1ee4fc[_0x772c99(0x4e2)]='awaiting',_0x1ee4fc['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x1ee4fc[_0x772c99(0x1e8)]=_0x772c99(0x272),_0x1ee4fc['CONFLICT']=_0x772c99(0x4b3),_0x1ee4fc[_0x772c99(0x250)]=_0x772c99(0x329),_0x1ee4fc))(Be||{});const Rt=0xea60;class ce{constructor(_0x1a609e,_0x19cb53,_0x265994,_0x591890,_0xda2077,_0x4e9136,_0x43b66b,_0x34cdf7,_0xb252c){var _0x183e84=_0x772c99;A(this,_0x183e84(0x304),null),A(this,_0x183e84(0x397),[]),(this[_0x183e84(0x53e)]=_0x1a609e,this[_0x183e84(0x535)]=_0x19cb53,this[_0x183e84(0x3c6)]=_0xda2077,this[_0x183e84(0x499)]=_0x4e9136,this['_undoRedoService']=_0x43b66b,this[_0x183e84(0x1f8)]=_0x34cdf7,this[_0x183e84(0x4ae)]=_0xb252c,this[_0x183e84(0x304)]=_0x265994,this[_0x183e84(0x397)]=_0x591890);}[_0x772c99(0x4a1)](_0x33fb77){var _0xa82d5b=_0x772c99;const _0x4817cb=this[_0xa82d5b(0x1f8)][_0xa82d5b(0x368)](this[_0xa82d5b(0x53e)]);return _0x33fb77[_0xa82d5b(0x3e6)]>_0x4817cb+0x1?(this[_0xa82d5b(0x3c6)]['onMissingChangesets']({'from':_0x4817cb,'to':_0x33fb77[_0xa82d5b(0x3e6)]-0x1}),!0x0):!0x1;}[_0x772c99(0x522)](_0x29f8dd){var _0x1a9d49=_0x772c99;this[_0x1a9d49(0x41d)][_0x1a9d49(0x3e8)](this['unitID'],_0x29f8dd);}[_0x772c99(0x51d)](_0x4408e){var _0x419510=_0x772c99,_0x20f17a,_0x2a78ad;(_0x2a78ad=(_0x20f17a=this[_0x419510(0x3c6)])[_0x419510(0x44e)])==null||_0x2a78ad['call'](_0x20f17a,_0x4408e);}[_0x772c99(0x439)](_0x531ca9){var _0x114199=_0x772c99,_0x2006fc,_0x26d0d5;return(_0x26d0d5=(_0x2006fc=this[_0x114199(0x3c6)])['onTransformIME'])==null?void 0x0:_0x26d0d5[_0x114199(0x300)](_0x2006fc,_0x531ca9);}[_0x772c99(0x438)](_0x2d59e7){var _0x4b0815=_0x772c99,_0x4d9968,_0x3bac05;return(_0x3bac05=(_0x4d9968=this[_0x4b0815(0x3c6)])[_0x4b0815(0x37c)])==null?void 0x0:_0x3bac05[_0x4b0815(0x300)](_0x4d9968,_0x2d59e7);}[_0x772c99(0x313)](_0x3838cf){var _0x1dd437,_0x1f457e,_0x3ff7a3;return(_0x3ff7a3=(_0x1f457e=(_0x1dd437=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1f457e['call'](_0x1dd437,_0x3838cf))!=null?_0x3ff7a3:_0x3838cf;}[_0x772c99(0x4db)](_0x2eab2c){var _0x943bf0=_0x772c99,_0x4d289f,_0x5ac8bf,_0x557e94;return(_0x557e94=(_0x5ac8bf=(_0x4d289f=this[_0x943bf0(0x3c6)])[_0x943bf0(0x271)])==null?void 0x0:_0x5ac8bf['call'](_0x4d289f,_0x2eab2c))!=null?_0x557e94:_0x2eab2c;}['_syncEditingCollabCursor'](_0x52e1e3){var _0x1ef5da=_0x772c99,_0xa58ac0,_0x3b86ca;if(this[_0x1ef5da(0x535)]===J[_0x1ef5da(0x3d1)]){const {unitID:_0x24773e,mutations:_0x182f77,memberID:_0x5e7bb5}=_0x52e1e3,_0x1348f1=_0x182f77[0x0]['params'][_0x1ef5da(0x372)];Array[_0x1ef5da(0x457)](_0x1348f1)&&_0x1348f1[_0x1ef5da(0x1fe)]>0x0&&((_0x3b86ca=(_0xa58ac0=this[_0x1ef5da(0x3c6)])[_0x1ef5da(0x238)])==null||_0x3b86ca[_0x1ef5da(0x300)](_0xa58ac0,{'unitID':_0x24773e,'memberID':_0x5e7bb5,'textRanges':_0x1348f1}));}}['_updateLocalCache'](){var _0x2e7bf5=_0x772c99,_0x3288ba;(_0x3288ba=this['_localCacheService'])==null||_0x3288ba[_0x2e7bf5(0x2d6)](this[_0x2e7bf5(0x53e)],this[_0x2e7bf5(0x535)],this[_0x2e7bf5(0x304)],this[_0x2e7bf5(0x397)]);}[_0x772c99(0x409)](){var _0x311d47=_0x772c99;return this[_0x311d47(0x1f8)][_0x311d47(0x368)](this[_0x311d47(0x53e)]);}[_0x772c99(0x22d)](){var _0x4f8520=_0x772c99;this[_0x4f8520(0x1f8)][_0x4f8520(0x511)](this[_0x4f8520(0x53e)]);}[_0x772c99(0x4bf)](_0x4d92cc){var _0x3e02f7=_0x772c99,_0x394eaf;let _0x34117d=this['_transformRemoteChangesetByIMECache'](_0x4d92cc);_0x34117d=this['_transformRemoteChangesetByStateCache'](_0x34117d);const _0x454465=a[_0x3e02f7(0x30b)](_0x34117d[_0x3e02f7(0x388)],this[_0x3e02f7(0x499)],{'fromCollab':!0x0});if(!_0x454465[_0x3e02f7(0x2c5)])throw _0x454465['error']instanceof Error?_0x454465[_0x3e02f7(0x2aa)]:new Error((_0x394eaf=_0x454465[_0x3e02f7(0x2aa)])!=null?_0x394eaf:_0x3e02f7(0x4f8));this['_transformIMECache'](_0x34117d),this['_transformStateCache'](_0x34117d),this['_transformUndoredo'](_0x4d92cc),this['_transformSelections'](_0x34117d),this[_0x3e02f7(0x4b6)](_0x34117d),this[_0x3e02f7(0x22d)]();}}function _0x5365(_0x492ec1,_0x353441){var _0x5af3ed=_0x5af3();return _0x5365=function(_0x536550,_0x527bc6){_0x536550=_0x536550-0x1e1;var _0x234135=_0x5af3ed[_0x536550];return _0x234135;},_0x5365(_0x492ec1,_0x353441);}exports[_0x772c99(0x4fe)]=class extends ce{constructor(_0x34656c,_0xa18223,_0x4aabee,_0x2c06e6,_0x567e98,_0x4fa031,_0x12550e,_0x5c1dd6,_0x20a306,_0x3cd08b){var _0x3c57af=_0x772c99;super(_0x34656c,_0xa18223,null,[],_0x4aabee,_0x12550e,_0x4fa031,_0x2c06e6,_0x3cd08b),A(this,_0x3c57af(0x1f6),'synced'),(this[_0x3c57af(0x45b)]=_0x567e98,this['_logService']=_0x5c1dd6,this['_transformService']=_0x20a306,this[_0x3c57af(0x3ab)]=_0x3cd08b);}[_0x772c99(0x46c)](_0x36e7d5){var _0x177a37=_0x772c99;const _0x25026f=this[_0x177a37(0x45b)][_0x177a37(0x43a)](exports['PendingState'],this['unitID'],this['type'],[_0x36e7d5],this[_0x177a37(0x3c6)]);return _0x25026f['_schedule'](),_0x25026f[_0x177a37(0x4f6)](),_0x25026f;}[_0x772c99(0x244)](_0x4d9993){var _0x5a0b6d=_0x772c99;if(this[_0x5a0b6d(0x4a1)](_0x4d9993))return this[_0x5a0b6d(0x45b)][_0x5a0b6d(0x43a)](exports[_0x5a0b6d(0x4e0)],this[_0x5a0b6d(0x53e)],this['type'],null,[],null,[_0x4d9993],this['_handler']);try{const _0x5b5957=this['_transformService'][_0x5a0b6d(0x34d)](_0x4d9993,[ui]);if(p[_0x5a0b6d(0x51f)](_0x5b5957)){const {c1Prime:_0x23f4da}=_0x5b5957;return this[_0x5a0b6d(0x4bf)](_0x23f4da),this;}throw _0x5b5957[_0x5a0b6d(0x2aa)];}catch(_0x535bfc){return this[_0x5a0b6d(0x2b8)][_0x5a0b6d(0x2aa)](_0x535bfc),this[_0x5a0b6d(0x350)](!0x1);}}[_0x772c99(0x350)](_0x4285f0){var _0x45b6dc=_0x772c99;return this['_injector'][_0x45b6dc(0x43a)](exports[_0x45b6dc(0x40b)],this[_0x45b6dc(0x53e)],this['type'],null,[],this[_0x45b6dc(0x3c6)],_0x4285f0);}['onRemoteAck'](){var _0x6ffa08=_0x772c99;throw new Error(_0x6ffa08(0x492));}['onRemoteRej'](){var _0x2df091=_0x772c99;throw new Error(_0x2df091(0x51b));}[_0x772c99(0x4bd)](){return this;}[_0x772c99(0x448)](){var _0x3f70e7=_0x772c99;return this['_injector']['createInstance'](exports['OfflineState'],this[_0x3f70e7(0x53e)],this[_0x3f70e7(0x535)],null,[],this[_0x3f70e7(0x3c6)]);}['toggleOnline'](){return this;}[_0x772c99(0x37d)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x33c109=_0x772c99;const _0x5c03a2=this[_0x33c109(0x1f8)][_0x33c109(0x368)](this[_0x33c109(0x53e)]);return this[_0x33c109(0x3c6)][_0x33c109(0x2ab)]({'from':_0x5c03a2,'to':0x0}),this[_0x33c109(0x45b)]['createInstance'](exports[_0x33c109(0x4e0)],this[_0x33c109(0x53e)],this[_0x33c109(0x535)],null,[],null,[],this[_0x33c109(0x3c6)]);}},exports[_0x772c99(0x4fe)]=ae([L(0x3,a[_0x772c99(0x2a5)](p[_0x772c99(0x204)])),L(0x4,a[_0x772c99(0x2a5)](a['Injector'])),L(0x5,a[_0x772c99(0x410)]),L(0x6,a[_0x772c99(0x449)]),L(0x7,a[_0x772c99(0x327)]),L(0x8,p[_0x772c99(0x463)]),L(0x9,a[_0x772c99(0x43f)](q))],exports['SyncedState']),exports['PendingState']=class extends ce{constructor(_0xe5f58c,_0x4cb061,_0x581468,_0x1bfdb8,_0x35049c,_0x1db9b1,_0x1c393e,_0x34d0c7,_0xbe060c,_0x5cfd31,_0x5c5244,_0x1ee52e,_0x3fc5f5,_0x227275){var _0xa4f556=_0x772c99;super(_0xe5f58c,_0x4cb061,null,_0x581468,_0x1bfdb8,_0xbe060c,_0x3fc5f5,_0x1db9b1,_0x227275),A(this,_0xa4f556(0x1f6),_0xa4f556(0x4eb)),A(this,_0xa4f556(0x30c),null),A(this,_0xa4f556(0x42f),null),(this[_0xa4f556(0x45b)]=_0x35049c,this[_0xa4f556(0x4ff)]=_0x1c393e,this[_0xa4f556(0x2b8)]=_0x34d0c7,this[_0xa4f556(0x549)]=_0x5cfd31,this[_0xa4f556(0x1e3)]=_0x5c5244,this['_univerInstanceService']=_0x1ee52e);}[_0x772c99(0x46c)](_0x18bb0f){var _0x1114a6=_0x772c99;return this['_pendingMutations'][_0x1114a6(0x536)](_0x18bb0f),this[_0x1114a6(0x4f6)](),this;}[_0x772c99(0x244)](_0x1c936e){var _0x202dad=_0x772c99;if(this[_0x202dad(0x4a1)](_0x1c936e))return this[_0x202dad(0x30d)](),this[_0x202dad(0x45b)][_0x202dad(0x43a)](exports[_0x202dad(0x4e0)],this['unitID'],this[_0x202dad(0x535)],null,this['_pendingMutations'],null,[_0x1c936e],this[_0x202dad(0x3c6)]);try{const _0x32e8de=this[_0x202dad(0x1e3)][_0x202dad(0x34d)](_0x1c936e,this[_0x202dad(0x397)]);if(p[_0x202dad(0x51f)](_0x32e8de)){const {c1Prime:_0x1b5ba4,m2Prime:_0x2be4f5}=_0x32e8de;this[_0x202dad(0x4bf)](_0x1b5ba4);const _0x5b592d=this[_0x202dad(0x45b)][_0x202dad(0x43a)](exports[_0x202dad(0x38e)],this[_0x202dad(0x53e)],this[_0x202dad(0x535)],_0x2be4f5,this[_0x202dad(0x3c6)]);this['_clearScheduledTask']();const _0x23d09b=new Date()[_0x202dad(0x4d1)](),_0x1668b3=this[_0x202dad(0x30c)]?Math[_0x202dad(0x353)](this[_0x202dad(0x30c)]-_0x23d09b,0x0):this['_getSendChangesetTimeout']();return _0x5b592d[_0x202dad(0x2e5)](_0x1668b3),_0x5b592d;}throw _0x32e8de[_0x202dad(0x2aa)];}catch(_0xfa845c){return this[_0x202dad(0x2b8)]['error'](_0xfa845c),this[_0x202dad(0x350)](!0x1);}}[_0x772c99(0x284)](){var _0x1c7384=_0x772c99;throw new Error(_0x1c7384(0x21e));}[_0x772c99(0x3e3)](){var _0x37e5b2=_0x772c99;throw new Error(_0x37e5b2(0x280));}[_0x772c99(0x4bd)](){return this;}[_0x772c99(0x448)](){var _0x48b81f=_0x772c99;return this['_clearScheduledTask'](),this[_0x48b81f(0x45b)]['createInstance'](exports['OfflineState'],this[_0x48b81f(0x53e)],this[_0x48b81f(0x535)],null,this[_0x48b81f(0x397)],this[_0x48b81f(0x3c6)]);}[_0x772c99(0x33e)](){return this;}[_0x772c99(0x2e5)](_0x245bc7){var _0x1ee99c=_0x772c99;const _0x1c0b51=_0x245bc7!=null?_0x245bc7:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x1ee99c(0x4d1)]()+_0x1c0b51,this['_sendingTimer']=setTimeout(()=>{var _0x23a246=_0x1ee99c;this[_0x23a246(0x30d)]();let _0x2f9502=null;switch(this[_0x23a246(0x535)]){case J[_0x23a246(0x3de)]:{_0x2f9502=Ge(this[_0x23a246(0x397)],this[_0x23a246(0x53e)],this[_0x23a246(0x1ea)],this[_0x23a246(0x1f8)],this[_0x23a246(0x4ff)]);break;}case J[_0x23a246(0x3d1)]:{this[_0x23a246(0x397)][_0x23a246(0x446)](_0x4b14e3=>_0x4b14e3['id']===ht[_0x23a246(0x402)]['id'])?_0x2f9502=li(this[_0x23a246(0x397)],this[_0x23a246(0x53e)],this[_0x23a246(0x1ea)],this[_0x23a246(0x1f8)],this[_0x23a246(0x4ff)]):_0x2f9502=Ge(this['_pendingMutations'],this[_0x23a246(0x53e)],this[_0x23a246(0x1ea)],this['_revisionService'],this[_0x23a246(0x4ff)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x23a246(0x479));}const {changeset:_0x362d1e,pendingMutations:_0x3ea2c8}=_0x2f9502;this[_0x23a246(0x3c6)]['onSendChangeset'](_0x362d1e);const _0xb98d76=_0x3ea2c8[_0x23a246(0x1fe)]?this[_0x23a246(0x45b)]['createInstance'](exports[_0x23a246(0x268)],this['unitID'],this[_0x23a246(0x535)],_0x362d1e,_0x3ea2c8,this['_handler'],void 0x0):this[_0x23a246(0x45b)][_0x23a246(0x43a)](exports[_0x23a246(0x2d0)],this[_0x23a246(0x53e)],this['type'],_0x362d1e,this[_0x23a246(0x3c6)]);_0xb98d76[_0x23a246(0x4f6)](),this[_0x23a246(0x3c6)][_0x23a246(0x283)](this,_0xb98d76);},_0x1c0b51);}[_0x772c99(0x4cc)](){var _0x3356ca=_0x772c99,_0x57283e;const _0x2df9b5=this[_0x3356ca(0x549)][_0x3356ca(0x27c)](G);return(_0x57283e=_0x2df9b5==null?void 0x0:_0x2df9b5[_0x3356ca(0x2f6)])!=null?_0x57283e:xt;}[_0x772c99(0x37d)](){var _0x2e6803=_0x772c99;throw new Error(_0x2e6803(0x274));}[_0x772c99(0x30d)](){var _0x510ebd=_0x772c99;this[_0x510ebd(0x42f)]!=null&&(clearTimeout(this[_0x510ebd(0x42f)]),this['_sendingTimer']=null);}['_onConflict'](_0x3f6a0b){var _0x1fa0d6=_0x772c99;return this[_0x1fa0d6(0x30d)](),this['_injector'][_0x1fa0d6(0x43a)](exports[_0x1fa0d6(0x40b)],this[_0x1fa0d6(0x53e)],this[_0x1fa0d6(0x535)],null,this['_pendingMutations'],this[_0x1fa0d6(0x3c6)],_0x3f6a0b);}},exports[_0x772c99(0x38e)]=ae([L(0x4,a[_0x772c99(0x2a5)](a[_0x772c99(0x3e7)])),L(0x5,a[_0x772c99(0x2a5)](p[_0x772c99(0x204)])),L(0x6,a[_0x772c99(0x2a5)](exports['MemberService'])),L(0x7,a['ILogService']),L(0x8,a[_0x772c99(0x449)]),L(0x9,a['IConfigService']),L(0xa,p[_0x772c99(0x463)]),L(0xb,a[_0x772c99(0x418)]),L(0xc,a[_0x772c99(0x410)]),L(0xd,a['Optional'](q))],exports[_0x772c99(0x38e)]),exports[_0x772c99(0x2d0)]=class extends ce{constructor(_0x6c3e20,_0x563a1b,_0x4cbaf3,_0x10ec12,_0x567c1c,_0x16c576,_0x4d4aa0,_0x3848b7,_0x37293a,_0x2fe226,_0x47e466){var _0x5c5a9d=_0x772c99;super(_0x6c3e20,_0x563a1b,_0x4cbaf3,[],_0x10ec12,_0x4d4aa0,_0x2fe226,_0x16c576,_0x47e466),A(this,_0x5c5a9d(0x1f6),_0x5c5a9d(0x41c)),A(this,'_resendTimeout',0x0),A(this,_0x5c5a9d(0x31b)),A(this,'_sender'),(this[_0x5c5a9d(0x45b)]=_0x567c1c,this[_0x5c5a9d(0x2b8)]=_0x3848b7,this[_0x5c5a9d(0x1e3)]=_0x37293a);}[_0x772c99(0x46c)](_0x1be71b){var _0x31a002=_0x772c99;this[_0x31a002(0x30d)]();const _0x55a6bf=this['_injector'][_0x31a002(0x43a)](exports[_0x31a002(0x268)],this[_0x31a002(0x53e)],this[_0x31a002(0x535)],this[_0x31a002(0x304)],[_0x1be71b],this[_0x31a002(0x3c6)],this[_0x31a002(0x31b)]);return _0x55a6bf['_updateLocalCache'](),_0x55a6bf;}[_0x772c99(0x244)](_0xce2e2b){var _0xbd50be=_0x772c99;if(this['_checkMissing'](_0xce2e2b))return this[_0xbd50be(0x30d)](),this[_0xbd50be(0x45b)][_0xbd50be(0x43a)](exports['FetchingMissState'],this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0xce2e2b],this['_handler']);try{const _0x145161=this['_transformService']['transformChangesets']([_0xce2e2b],[this[_0xbd50be(0x304)]],!0x1);if(p[_0xbd50be(0x472)](_0x145161)){const {c1Prime:_0x4e68b7,c2Prime:_0x59c924}=_0x145161;this[_0xbd50be(0x4bf)](_0x4e68b7[0x0]),_0x59c924[0x0]['baseRev']=this[_0xbd50be(0x409)](),this['_clearScheduledTask']();const _0x371ef6=this[_0xbd50be(0x45b)]['createInstance'](exports['AwaitingState'],this[_0xbd50be(0x53e)],this[_0xbd50be(0x535)],_0x59c924[0x0],this['_handler']);return _0x371ef6['_updateLocalCache'](),_0x371ef6;}return this[_0xbd50be(0x350)](!0x1);}catch(_0x26c166){return this[_0xbd50be(0x2b8)][_0xbd50be(0x2aa)](_0x26c166),this['_onConflict'](!0x1);}}[_0x772c99(0x284)](_0x3d6fb0){var _0x1477a0=_0x772c99;this[_0x1477a0(0x30d)]();const _0x4c421e=this[_0x1477a0(0x1f8)][_0x1477a0(0x368)](this['unitID']);if(_0x3d6fb0[_0x1477a0(0x3e6)]<_0x4c421e-0x1)return this;if(this[_0x1477a0(0x4a1)](_0x3d6fb0))return this['_injector'][_0x1477a0(0x43a)](exports[_0x1477a0(0x4e0)],this[_0x1477a0(0x53e)],this[_0x1477a0(0x535)],null,[],this['_awaitingChangeset'],[],this[_0x1477a0(0x3c6)]);this[_0x1477a0(0x22d)]();const _0x26394e=this[_0x1477a0(0x45b)][_0x1477a0(0x43a)](exports[_0x1477a0(0x4fe)],this[_0x1477a0(0x53e)],this[_0x1477a0(0x535)],this[_0x1477a0(0x3c6)]);return _0x26394e['_updateLocalCache'](),_0x26394e;}['onRemoteRej'](_0x373df9){var _0x1d2468=_0x772c99;return this['_onConflict'](!!(_0x373df9!=null&&_0x373df9[_0x1d2468(0x303)]));}[_0x772c99(0x4bd)](_0x234bf4){var _0x2c0f52=_0x772c99;return this['_resendTimeout']>Rt?this[_0x2c0f52(0x448)]():(this['_resendTimer']=bt(this[_0x2c0f52(0x2fe)],{'timeout':this['_resendTimeout'],'reqId':_0x234bf4[_0x2c0f52(0x465)]}),this['_sender']=this[_0x2c0f52(0x31b)]['subscribe'](({reqId:_0x1a19b0,timeout:_0x455d9a})=>{var _0x510263=_0x2c0f52;this[_0x510263(0x3fd)](_0x1a19b0,_0x455d9a);}),this);}['toggleOffline'](){var _0x1fe6c7=_0x772c99;return this[_0x1fe6c7(0x30d)](),this['_injector'][_0x1fe6c7(0x43a)](exports[_0x1fe6c7(0x469)],this[_0x1fe6c7(0x53e)],this[_0x1fe6c7(0x535)],this[_0x1fe6c7(0x304)],[],this['_handler']);}[_0x772c99(0x33e)](){return this;}[_0x772c99(0x37d)](){var _0x57cfee=_0x772c99;this[_0x57cfee(0x3c6)]['onSendChangeset'](this[_0x57cfee(0x304)]);}[_0x772c99(0x350)](_0x4c8d60){var _0x3573f7=_0x772c99;return this[_0x3573f7(0x30d)](),this['_injector']['createInstance'](exports['ConflictState'],this[_0x3573f7(0x53e)],this['type'],this[_0x3573f7(0x304)],[],this[_0x3573f7(0x3c6)],_0x4c8d60);}[_0x772c99(0x3fd)](_0x72bfc1,_0x493077){var _0x3394c4=_0x772c99,_0x4497cf;_0x72bfc1===((_0x4497cf=this[_0x3394c4(0x304)])==null?void 0x0:_0x4497cf[_0x3394c4(0x465)])&&(this[_0x3394c4(0x37d)](),this[_0x3394c4(0x2fe)]=_0x493077===0x0?0x3e8:_0x493077*0x2);}[_0x772c99(0x30d)](){var _0x29c774=_0x772c99,_0x8c2770;(_0x8c2770=this[_0x29c774(0x45a)])==null||_0x8c2770['unsubscribe'](),this[_0x29c774(0x2fe)]=0x0;}},exports['AwaitingState']=ae([L(0x4,a['Inject'](a[_0x772c99(0x3e7)])),L(0x5,a[_0x772c99(0x2a5)](p['RevisionService'])),L(0x6,a[_0x772c99(0x449)]),L(0x7,a[_0x772c99(0x327)]),L(0x8,p[_0x772c99(0x463)]),L(0x9,a[_0x772c99(0x410)]),L(0xa,a['Optional'](q))],exports[_0x772c99(0x2d0)]),exports[_0x772c99(0x268)]=class extends ce{constructor(_0x54da37,_0x11f569,_0x427829,_0x2dee86,_0xd98bb0,_0x2f143a,_0x57ab5a,_0x3291ab,_0xe7db70,_0x133644,_0x4f2790,_0x14a34a,_0xd91f97){var _0x313af5=_0x772c99;super(_0x54da37,_0x11f569,_0x427829,_0x2dee86,_0xd98bb0,_0xe7db70,_0x14a34a,_0x3291ab,_0xd91f97),A(this,'status',_0x313af5(0x281)),A(this,_0x313af5(0x2fe),0x0),A(this,_0x313af5(0x31b)),A(this,_0x313af5(0x45a)),(this[_0x313af5(0x45b)]=_0x57ab5a,this[_0x313af5(0x2b8)]=_0x133644,this[_0x313af5(0x1e3)]=_0x4f2790,this['localCacheService']=_0xd91f97,_0x2f143a&&(this[_0x313af5(0x31b)]=_0x2f143a,this[_0x313af5(0x45a)]=this['_resendTimer'][_0x313af5(0x210)](({reqId:_0x305e6d,timeout:_0x41bcc5})=>{var _0x49c913=_0x313af5;this[_0x49c913(0x3fd)](_0x305e6d,_0x41bcc5);})));}[_0x772c99(0x46c)](_0x4bab24){var _0x6912e6=_0x772c99;return this['_pendingMutations'][_0x6912e6(0x536)](_0x4bab24),this;}[_0x772c99(0x244)](_0x2ca4be){var _0x336629=_0x772c99;if(this['_checkMissing'](_0x2ca4be))return this[_0x336629(0x30d)](),this[_0x336629(0x45b)][_0x336629(0x43a)](exports[_0x336629(0x4e0)],this[_0x336629(0x53e)],this[_0x336629(0x535)],this[_0x336629(0x304)],this[_0x336629(0x397)],null,[_0x2ca4be],this['_handler']);try{const _0x4d2cdb=this[_0x336629(0x1e3)]['transformChangesets']([_0x2ca4be],[this[_0x336629(0x304)]],!0x1);if(p[_0x336629(0x472)](_0x4d2cdb)){const {c1Prime:_0x33c4da,c2Prime:_0x32f7a0}=_0x4d2cdb,_0x1ad259=this[_0x336629(0x1e3)][_0x336629(0x34d)](_0x33c4da[0x0],this[_0x336629(0x397)]);if(p[_0x336629(0x51f)](_0x1ad259)){const {c1Prime:_0x16e2ae,m2Prime:_0x707f00}=_0x1ad259;return this[_0x336629(0x4bf)](_0x16e2ae),_0x32f7a0[0x0][_0x336629(0x49e)]=this[_0x336629(0x409)](),this[_0x336629(0x30d)](),this['_injector'][_0x336629(0x43a)](exports[_0x336629(0x268)],this['unitID'],this['type'],_0x32f7a0[0x0],_0x707f00,this['_handler'],void 0x0);}throw _0x1ad259['error'];}throw _0x4d2cdb[_0x336629(0x2aa)];}catch(_0x4440eb){return this[_0x336629(0x2b8)]['error'](_0x4440eb),this[_0x336629(0x350)](!0x1);}}[_0x772c99(0x284)](_0x31c6f0){var _0x212330=_0x772c99;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x31c6f0))return this[_0x212330(0x45b)][_0x212330(0x43a)](exports[_0x212330(0x4e0)],this[_0x212330(0x53e)],this[_0x212330(0x535)],null,this[_0x212330(0x397)],this['_awaitingChangeset'],[],this[_0x212330(0x3c6)]);this[_0x212330(0x22d)]();const _0x1c5628=this[_0x212330(0x45b)][_0x212330(0x43a)](exports['PendingState'],this[_0x212330(0x53e)],this[_0x212330(0x535)],this[_0x212330(0x397)],this['_handler']);return _0x1c5628[_0x212330(0x2e5)](),_0x1c5628[_0x212330(0x4f6)](),_0x1c5628;}[_0x772c99(0x3e3)](_0x10f8d2){var _0x283adc=_0x772c99;return this['_onConflict'](!!(_0x10f8d2!=null&&_0x10f8d2[_0x283adc(0x303)]));}[_0x772c99(0x4bd)](_0x5254ea){var _0x29fd34=_0x772c99;return this[_0x29fd34(0x2fe)]>Rt?this[_0x29fd34(0x448)]():(this['_resendTimer']=bt(this[_0x29fd34(0x2fe)],{'timeout':this[_0x29fd34(0x2fe)],'reqId':_0x5254ea[_0x29fd34(0x465)]}),this[_0x29fd34(0x45a)]=this['_resendTimer']['subscribe'](({reqId:_0x7e5fbf,timeout:_0x463edc})=>{var _0x2868d3=_0x29fd34;this[_0x2868d3(0x3fd)](_0x7e5fbf,_0x463edc);}),this);}['toggleOffline'](){var _0x25fd5f=_0x772c99;return this[_0x25fd5f(0x30d)](),this[_0x25fd5f(0x45b)][_0x25fd5f(0x43a)](exports[_0x25fd5f(0x469)],this['unitID'],this['type'],this[_0x25fd5f(0x304)],this['_pendingMutations'],this['_handler']);}[_0x772c99(0x33e)](){return this;}[_0x772c99(0x37d)](){var _0x15f58b=_0x772c99;this[_0x15f58b(0x3c6)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x772c99(0x350)](_0xa42bd6){var _0x2be294=_0x772c99;return this[_0x2be294(0x30d)](),this[_0x2be294(0x45b)][_0x2be294(0x43a)](exports[_0x2be294(0x40b)],this['unitID'],this[_0x2be294(0x535)],null,this[_0x2be294(0x397)],this[_0x2be294(0x3c6)],_0xa42bd6);}[_0x772c99(0x3fd)](_0x38be72,_0x3e44ee){var _0x3ad813=_0x772c99,_0x44cc48;_0x38be72===((_0x44cc48=this['_awaitingChangeset'])==null?void 0x0:_0x44cc48[_0x3ad813(0x465)])&&(this[_0x3ad813(0x37d)](),this[_0x3ad813(0x2fe)]=_0x3e44ee===0x0?0x3e8:_0x3e44ee*0x2);}[_0x772c99(0x30d)](){var _0x5a6ec8=_0x772c99,_0x3b772d;(_0x3b772d=this[_0x5a6ec8(0x45a)])==null||_0x3b772d['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x772c99(0x268)]=ae([L(0x6,a['Inject'](a[_0x772c99(0x3e7)])),L(0x7,a[_0x772c99(0x2a5)](p[_0x772c99(0x204)])),L(0x8,a['ICommandService']),L(0x9,a[_0x772c99(0x327)]),L(0xa,p[_0x772c99(0x463)]),L(0xb,a[_0x772c99(0x410)]),L(0xc,a['Optional'](q))],exports[_0x772c99(0x268)]),exports['ConflictState']=class extends ce{constructor(_0x55f415,_0x114e81,_0x28d4d1,_0x304f03,_0x2332fb,_0x290d61=!0x1,_0x5bebca,_0xcf2afe,_0x4db3b0,_0x5c2184,_0x279b79,_0x20baff,_0x2fead5){var _0x3fe850=_0x772c99;super(_0x55f415,_0x114e81,_0x28d4d1,_0x304f03,_0x2332fb,_0xcf2afe,_0x4db3b0,_0x5c2184,_0x2fead5),A(this,_0x3fe850(0x1f6),_0x3fe850(0x4b3)),(this[_0x3fe850(0x246)]=_0x290d61,this[_0x3fe850(0x471)]=_0x5bebca,this[_0x3fe850(0x297)]=_0x279b79,this[_0x3fe850(0x380)]=_0x20baff,this[_0x3fe850(0x3ab)]=_0x2fead5,this[_0x3fe850(0x351)](),this[_0x3fe850(0x490)](),this[_0x3fe850(0x345)]());}[_0x772c99(0x46c)](){return this;}[_0x772c99(0x244)](){return this;}[_0x772c99(0x284)](){return this;}[_0x772c99(0x3e3)](){return this;}[_0x772c99(0x4bd)](){return this;}[_0x772c99(0x448)](){return this;}[_0x772c99(0x33e)](){return this;}['resend'](){var _0x2501da=_0x772c99;throw new Error(_0x2501da(0x1f9));}[_0x772c99(0x490)](){var _0x387e3a=_0x772c99,_0x5439d8;(_0x5439d8=this[_0x387e3a(0x4ae)])==null||_0x5439d8[_0x387e3a(0x2d6)](this[_0x387e3a(0x53e)],this['type'],null,[]);}[_0x772c99(0x351)](){var _0x2bba03=_0x772c99;this[_0x2bba03(0x246)]?this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x2bba03(0x54b)]}):this[_0x2bba03(0x380)][_0x2bba03(0x2a2)]({'id':Z[_0x2bba03(0x4ac)]});}[_0x772c99(0x345)](){var _0xa6500d=_0x772c99;this[_0xa6500d(0x471)][_0xa6500d(0x47f)](new X[(_0xa6500d(0x212))](this[_0xa6500d(0x53e)])['id'],!0x1);}},exports['ConflictState']=ae([L(0x6,a[_0x772c99(0x2a5)](a[_0x772c99(0x3b4)])),L(0x7,a['ICommandService']),L(0x8,a[_0x772c99(0x410)]),L(0x9,a['Inject'](p[_0x772c99(0x204)])),L(0xa,a['Inject'](a[_0x772c99(0x43d)])),L(0xb,a['Inject'](ee)),L(0xc,a[_0x772c99(0x43f)](q))],exports[_0x772c99(0x40b)]),exports[_0x772c99(0x469)]=class extends ce{constructor(_0x3d43e0,_0x43a6ce,_0xadc1e1,_0x467ab6,_0x205389,_0x5cb2f1,_0x2f3d33,_0x47f3cd,_0x2abcec,_0x199ac0){var _0x41f517=_0x772c99;super(_0x3d43e0,_0x43a6ce,_0xadc1e1,_0x467ab6,_0x205389,_0x47f3cd,_0x2abcec,_0x2f3d33,_0x199ac0),A(this,_0x41f517(0x1f6),_0x41f517(0x329)),this[_0x41f517(0x45b)]=_0x5cb2f1;}['appendMutation'](_0x30e4d1){var _0x280b27=_0x772c99;return this[_0x280b27(0x397)]['push'](_0x30e4d1),this[_0x280b27(0x4f6)](),this;}[_0x772c99(0x244)](_0x19c2d5){var _0x4246b5=_0x772c99;throw new Error(_0x4246b5(0x474));}['onRemoteAck'](){var _0x3abc7a=_0x772c99;throw new Error(_0x3abc7a(0x4d5));}[_0x772c99(0x3e3)](){var _0x9c1159=_0x772c99;throw new Error(_0x9c1159(0x243));}[_0x772c99(0x4bd)](){return this;}[_0x772c99(0x448)](){return this;}[_0x772c99(0x33e)](){var _0xf71f9d=_0x772c99;const {_injector:_0x4e1700,_pendingMutations:_0x556328,_awaitingChangeset:_0x589f4e,unitID:_0x43d670,_handler:_0x6a96a,type:_0x29181d}=this,_0x19e565=Ot(_0x4e1700,_0x43d670,_0x29181d,_0x589f4e,_0x556328,_0x6a96a);return _0x19e565 instanceof exports['PendingState']?_0x19e565[_0xf71f9d(0x2e5)]():(_0x19e565 instanceof exports[_0xf71f9d(0x268)]||_0x19e565 instanceof exports['AwaitingState'])&&_0x19e565[_0xf71f9d(0x37d)](),_0x19e565;}['resend'](){var _0x5a4c03=_0x772c99;throw new Error(_0x5a4c03(0x4c6));}},exports[_0x772c99(0x469)]=ae([L(0x5,a[_0x772c99(0x2a5)](a['Injector'])),L(0x6,a[_0x772c99(0x2a5)](p[_0x772c99(0x204)])),L(0x7,a[_0x772c99(0x449)]),L(0x8,a['IUndoRedoService']),L(0x9,a['Optional'](q))],exports['OfflineState']),exports[_0x772c99(0x4e0)]=class extends ce{constructor(_0x3b3cf4,_0x1125b6,_0x5af97d,_0x4a03e0,_0x4cbb50,_0x102617,_0x3624f7,_0x34f742,_0x5c7dd4,_0x1223da,_0x3bd666,_0x268564,_0x242350,_0x5e769e){var _0x452149=_0x772c99;super(_0x3b3cf4,_0x1125b6,_0x5af97d,_0x4a03e0,_0x3624f7,_0x3bd666,_0x268564,_0x5c7dd4,_0x5e769e),A(this,_0x452149(0x1f6),_0x452149(0x272)),(this['_acknowledgedAwaitingChangeset']=_0x4cbb50,this[_0x452149(0x236)]=_0x102617,this[_0x452149(0x45b)]=_0x34f742,this[_0x452149(0x2b8)]=_0x1223da,this[_0x452149(0x1e3)]=_0x242350,this['localCacheService']=_0x5e769e);}[_0x772c99(0x510)](_0x1fefea){var _0x359060=_0x772c99;try{const _0x37dd55=[..._0x1fefea,...this[_0x359060(0x236)]],_0x1cee50=[this[_0x359060(0x304)]||this['_acknowledgedAwaitingChangeset']][_0x359060(0x34f)](_0x55aa6b=>!!_0x55aa6b);let _0x133f17,_0x742d82;if(_0x1cee50[_0x359060(0x1fe)]){const _0x2379cd=this[_0x359060(0x1e3)][_0x359060(0x37e)](_0x37dd55,_0x1cee50,!0x1);if(!p[_0x359060(0x472)](_0x2379cd))throw _0x2379cd[_0x359060(0x2aa)];_0x133f17=_0x2379cd[_0x359060(0x447)],_0x742d82=_0x2379cd[_0x359060(0x395)];}else _0x133f17=_0x37dd55,_0x742d82=[];let _0xe5456e=this['_pendingMutations'];_0x133f17[_0x359060(0x500)](_0x30310f=>{var _0x4239bc=_0x359060;let _0x3c46ff;if(_0xe5456e[_0x4239bc(0x1fe)]){const _0xe2db0f=this[_0x4239bc(0x1e3)][_0x4239bc(0x34d)](_0x30310f,_0xe5456e);if(!p[_0x4239bc(0x51f)](_0xe2db0f))throw _0xe2db0f[_0x4239bc(0x2aa)];_0x3c46ff=_0xe2db0f[_0x4239bc(0x447)],_0xe5456e=_0xe2db0f[_0x4239bc(0x35a)];}else _0x3c46ff=_0x30310f;this[_0x4239bc(0x4bf)](_0x3c46ff);}),this[_0x359060(0x3a2)]&&this[_0x359060(0x22d)](),this[_0x359060(0x304)]&&_0x742d82[_0x359060(0x1fe)]&&(_0x742d82[0x0][_0x359060(0x49e)]=this[_0x359060(0x409)]());let _0x177e14;if(this[_0x359060(0x304)]&&_0xe5456e[_0x359060(0x1fe)]!==0x0)_0x177e14=this[_0x359060(0x45b)]['createInstance'](exports[_0x359060(0x268)],this[_0x359060(0x53e)],this['type'],_0x742d82[0x0],_0xe5456e,this[_0x359060(0x3c6)],void 0x0);else{if(this[_0x359060(0x304)]&&_0xe5456e[_0x359060(0x1fe)]===0x0)_0x742d82[0x0]['baseRev']=this['_getCurrentRevision'](),_0x177e14=this[_0x359060(0x45b)]['createInstance'](exports[_0x359060(0x2d0)],this[_0x359060(0x53e)],this[_0x359060(0x535)],_0x742d82[0x0],this[_0x359060(0x3c6)]);else{if(_0xe5456e[_0x359060(0x1fe)]!==0x0){const _0x54d828=this[_0x359060(0x45b)][_0x359060(0x43a)](exports[_0x359060(0x38e)],this[_0x359060(0x53e)],this[_0x359060(0x535)],_0xe5456e,this[_0x359060(0x3c6)]);_0x54d828[_0x359060(0x2e5)](),_0x177e14=_0x54d828;}else _0x177e14=this[_0x359060(0x45b)][_0x359060(0x43a)](exports['SyncedState'],this[_0x359060(0x53e)],this[_0x359060(0x535)],this[_0x359060(0x3c6)]);}}return _0x177e14[_0x359060(0x4f6)](),_0x177e14;}catch(_0x41b5b3){return this[_0x359060(0x2b8)][_0x359060(0x2aa)](_0x359060(0x4e6),_0x359060(0x552),_0x41b5b3),this[_0x359060(0x45b)][_0x359060(0x43a)](exports[_0x359060(0x40b)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x359060(0x397)],this[_0x359060(0x3c6)],!0x1);}}['resend'](){var _0x507521=_0x772c99;throw new Error(_0x507521(0x39f));}['appendMutation'](_0x432cff){var _0x3c6a49=_0x772c99;return this[_0x3c6a49(0x397)]['push'](_0x432cff),this;}['onRemoteChangeset'](_0x3051f1){var _0x2b99d0=_0x772c99;return this[_0x2b99d0(0x236)][_0x2b99d0(0x536)](_0x3051f1),this;}[_0x772c99(0x284)](_0x2a00d8){var _0x36bb46=_0x772c99;if(this[_0x36bb46(0x304)])return this[_0x36bb46(0x3a2)]=this[_0x36bb46(0x304)],this[_0x36bb46(0x304)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x772c99(0x3e3)](_0xe17714){var _0x36f2e6=_0x772c99;return this[_0x36f2e6(0x350)](!!(_0xe17714!=null&&_0xe17714[_0x36f2e6(0x303)]));}['onRemoteRetry'](){return this;}[_0x772c99(0x448)](){var _0x38271c=_0x772c99;return this[_0x38271c(0x45b)]['createInstance'](exports[_0x38271c(0x469)],this[_0x38271c(0x53e)],this[_0x38271c(0x535)],this[_0x38271c(0x304)],this[_0x38271c(0x397)],this['_handler']);}[_0x772c99(0x33e)](){return this;}['_onConflict'](_0x4df163){var _0x5eb9e3=_0x772c99;return this[_0x5eb9e3(0x45b)][_0x5eb9e3(0x43a)](exports[_0x5eb9e3(0x40b)],this[_0x5eb9e3(0x53e)],this[_0x5eb9e3(0x535)],this[_0x5eb9e3(0x304)],this[_0x5eb9e3(0x397)],this[_0x5eb9e3(0x3c6)],_0x4df163);}},exports[_0x772c99(0x4e0)]=ae([L(0x7,a['Inject'](a[_0x772c99(0x3e7)])),L(0x8,a[_0x772c99(0x2a5)](p[_0x772c99(0x204)])),L(0x9,a[_0x772c99(0x327)]),L(0xa,a[_0x772c99(0x449)]),L(0xb,a[_0x772c99(0x410)]),L(0xc,p[_0x772c99(0x463)]),L(0xd,a['Optional'](q))],exports['FetchingMissState']);function Ot(_0x5b29cf,_0x1ed9f7,_0x48a8f3,_0x14df03,_0x388972,_0xf242d7){var _0x445c03=_0x772c99;return _0x14df03&&_0x388972[_0x445c03(0x1fe)]?_0x5b29cf[_0x445c03(0x43a)](exports[_0x445c03(0x268)],_0x1ed9f7,_0x48a8f3,_0x14df03,_0x388972,_0xf242d7,void 0x0):_0x14df03?_0x5b29cf[_0x445c03(0x43a)](exports[_0x445c03(0x2d0)],_0x1ed9f7,_0x48a8f3,_0x14df03,_0xf242d7):_0x388972[_0x445c03(0x1fe)]?_0x5b29cf['createInstance'](exports['PendingState'],_0x1ed9f7,_0x48a8f3,_0x388972,_0xf242d7):_0x5b29cf[_0x445c03(0x43a)](exports[_0x445c03(0x4fe)],_0x1ed9f7,_0x48a8f3,_0xf242d7);}var vi=Object[_0x772c99(0x25d)],Fe=(_0x4faf48,_0x4b5351,_0x19e76a,_0x28b616)=>{var _0x23baaa=_0x772c99;for(var _0x59864f=_0x28b616>0x1?void 0x0:_0x28b616?vi(_0x4b5351,_0x19e76a):_0x4b5351,_0x3fb70a=_0x4faf48[_0x23baaa(0x1fe)]-0x1,_0xc315df;_0x3fb70a>=0x0;_0x3fb70a--)(_0xc315df=_0x4faf48[_0x3fb70a])&&(_0x59864f=_0xc315df(_0x59864f)||_0x59864f);return _0x59864f;},j=(_0x43ce74,_0x2ed9f6)=>(_0x5bd017,_0x335aa6)=>_0x2ed9f6(_0x5bd017,_0x335aa6,_0x43ce74);exports[_0x772c99(0x45e)]=class extends a['RxDisposable']{constructor(_0x117d6d,_0x4e204a,_0x18fcda,_0x28367a,_0x452031,_0x24fc7e,_0x161653,_0xc50f63,_0x37735c,_0x3c4ede,_0x49de62,_0x29e456,_0xc87d80){var _0x2c173c=_0x772c99;super(),A(this,_0x2c173c(0x21b),new $[(_0x2c173c(0x27a))](null)),A(this,_0x2c173c(0x393),this['_state$'][_0x2c173c(0x515)]()),A(this,'_state'),A(this,_0x2c173c(0x27d),!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0x2c173c(0x2a9),this[_0x2c173c(0x393)][_0x2c173c(0x24d)]($['map'](_0x4f03dd=>_0x4f03dd?_0x4f03dd[_0x2c173c(0x1f6)]:Be['OFFLINE']),$[_0x2c173c(0x21c)](0x1))),A(this,_0x2c173c(0x450),!0x1),A(this,_0x2c173c(0x257),[]),(this[_0x2c173c(0x53e)]=_0x117d6d,this['session']=_0x4e204a,this['_type']=_0x18fcda,this[_0x2c173c(0x45b)]=_0x28367a,this['_compressMutationService']=_0x452031,this[_0x2c173c(0x297)]=_0x24fc7e,this[_0x2c173c(0x1f8)]=_0x161653,this['_eventService']=_0xc50f63,this[_0x2c173c(0x2b8)]=_0x37735c,this[_0x2c173c(0x499)]=_0x3c4ede,this['_permissionService']=_0x49de62,this[_0x2c173c(0x3f7)]=_0x29e456,this['_localCacheService']=_0xc87d80);}get[_0x772c99(0x507)](){var _0x1f1b5c=_0x772c99;return this[_0x1f1b5c(0x527)];}async[_0x772c99(0x2ac)](){var _0x596314=_0x772c99;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x596314(0x23b)]();}[_0x772c99(0x4b4)](){var _0x39333a=_0x772c99;return this[_0x39333a(0x27d)]=!0x0,a[_0x39333a(0x4f5)](()=>{var _0x4f0bc2=_0x39333a;this[_0x4f0bc2(0x27d)]=!0x1,this[_0x4f0bc2(0x46e)]();});}[_0x772c99(0x47d)](_0x5b4529){this['_onLocalMutation'](_0x5b4529);}[_0x772c99(0x36d)](_0x227e25){var _0x4faf4c=_0x772c99;this['_state']=_0x227e25,this[_0x4faf4c(0x21b)][_0x4faf4c(0x509)](_0x227e25);}async[_0x772c99(0x23b)](){var _0x394cdf=_0x772c99,_0x5d24c9;this[_0x394cdf(0x36d)](await this[_0x394cdf(0x3ac)]()),this[_0x394cdf(0x3f7)]&&((_0x5d24c9=this[_0x394cdf(0x3f7)])==null||_0x5d24c9[_0x394cdf(0x363)](this[_0x394cdf(0x53e)]),this[_0x394cdf(0x48e)](this[_0x394cdf(0x3f7)]['getUnitStatus$'](this[_0x394cdf(0x53e)])[_0x394cdf(0x210)](_0xa8c205=>{var _0x4d8586=_0x394cdf;this[_0x4d8586(0x2b8)][_0x4d8586(0x265)](_0x4d8586(0x2bf),_0x4d8586(0x221),_0xa8c205),_0xa8c205===je[_0x4d8586(0x347)]?(this['_eventService'][_0x4d8586(0x2a2)]({'id':Z[_0x4d8586(0x36b)]}),this['_permissionService']['updatePermissionPoint'](new X[(_0x4d8586(0x212))](this[_0x4d8586(0x53e)])['id'],!0x1),this[_0x4d8586(0x471)][_0x4d8586(0x417)](!0x1)):(this['_permissionService'][_0x4d8586(0x47f)](new X[(_0x4d8586(0x212))](this[_0x4d8586(0x53e)])['id'],!0x0),this[_0x4d8586(0x471)][_0x4d8586(0x417)](!0x0));})));let _0x28e097=!0x1;return this['disposeWithMe'](this['session'][_0x394cdf(0x3cd)][_0x394cdf(0x210)](_0x41b9e0=>{var _0x2bf287=_0x394cdf;_0x41b9e0===re['ONLINE']?this[_0x2bf287(0x3d4)](_0x28e097):_0x41b9e0===re[_0x2bf287(0x250)]&&(_0x28e097=!0x0,this['_toggleOffline']());})),this[_0x394cdf(0x48e)](this[_0x394cdf(0x518)][_0x394cdf(0x4b2)][_0x394cdf(0x210)](_0x335b62=>{var _0x251ae6=_0x394cdf;try{switch(_0x335b62[_0x251ae6(0x352)]){case p[_0x251ae6(0x4da)]['NEW_CHANGESETS']:{this[_0x251ae6(0x3a8)](p[_0x251ae6(0x28f)](_0x335b62[_0x251ae6(0x231)]));break;}case p[_0x251ae6(0x4da)]['CHANGESET_ACK']:{this[_0x251ae6(0x2e8)](_0x335b62[_0x251ae6(0x231)]);break;}case p[_0x251ae6(0x4da)][_0x251ae6(0x41e)]:{this[_0x251ae6(0x38f)]();break;}case p[_0x251ae6(0x4da)]['CHANGESET_SHOULD_RETRY']:{this[_0x251ae6(0x4c1)](_0x335b62[_0x251ae6(0x231)]);break;}case p[_0x251ae6(0x4da)][_0x251ae6(0x382)]:{this[_0x251ae6(0x434)](_0x335b62[_0x251ae6(0x231)]['changesets'][_0x251ae6(0x2be)](_0x4ef800=>p[_0x251ae6(0x28f)](_0x4ef800)));break;}case p[_0x251ae6(0x4da)][_0x251ae6(0x321)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x25599a){throw console[_0x251ae6(0x2aa)]('Error\x20on\x20receiving\x20event',_0x25599a),_0x25599a;}})),this[_0x394cdf(0x527)];}[_0x772c99(0x234)](){this['_transitionLocked']=!0x1;}[_0x772c99(0x2ca)](){var _0x9524c3=_0x772c99;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[_0x9524c3(0x450)]=!0x0;}['_onLocalMutation'](_0x38972b){var _0x44303b=_0x772c99;this['_lockTransition'](),this[_0x44303b(0x36d)](this['_state']['appendMutation'](_0x38972b)),this['_unlockTransition']();}[_0x772c99(0x3a8)](_0x3e67df){var _0x4cb8da=_0x772c99;if(!(_0x3e67df[_0x4cb8da(0x3e6)]<=this['_revisionService'][_0x4cb8da(0x368)](this['unitID']))){if(this['_collaborationPaused']){this[_0x4cb8da(0x257)]['push'](_0x3e67df);return;}this[_0x4cb8da(0x537)](_0x3e67df);}}['_exhaustRemoteChangesetQueue'](){var _0x720011=_0x772c99;this[_0x720011(0x257)][_0x720011(0x500)](_0x3b7c5=>this[_0x720011(0x537)](_0x3b7c5)),this[_0x720011(0x257)]=[];}[_0x772c99(0x537)](_0x427527){var _0x1b2cf6=_0x772c99;const _0x50e1ea=this['_compressMutationService'][_0x1b2cf6(0x546)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x1b2cf6(0x546)][_0x1b2cf6(0x278)]()[_0x1b2cf6(0x50c)])(_0x427527[_0x1b2cf6(0x388)],null)||_0x427527[_0x1b2cf6(0x388)],_0xc9495a={..._0x427527,'mutations':_0x50e1ea};this['_lockTransition'](),this[_0x1b2cf6(0x36d)](this[_0x1b2cf6(0x527)][_0x1b2cf6(0x244)](_0xc9495a)),this['_unlockTransition']();}[_0x772c99(0x2e8)](_0x1c548d){var _0xe1b222=_0x772c99;this[_0xe1b222(0x2ca)](),this[_0xe1b222(0x36d)](this['_state']['onRemoteAck'](_0x1c548d)),this['_unlockTransition']();}[_0x772c99(0x38f)](_0xcdd449){var _0x5bedbe=_0x772c99;this['_lockTransition'](),this[_0x5bedbe(0x36d)](this['_state'][_0x5bedbe(0x3e3)](_0xcdd449)),this['_unlockTransition']();}[_0x772c99(0x4c1)](_0x38303d){var _0xeeb9d9=_0x772c99;this['_lockTransition'](),this[_0xeeb9d9(0x36d)](this['_state']['onRemoteRetry'](_0x38303d)),this[_0xeeb9d9(0x234)]();}['_onFetchMissResult'](_0x565b3e){var _0x2bcc64=_0x772c99;if(!(this[_0x2bcc64(0x527)]instanceof exports[_0x2bcc64(0x4e0)]))throw new TypeError(_0x2bcc64(0x3c8));const _0x2c6dbf=_0x565b3e['map'](_0x5caaf0=>{var _0x110033=_0x2bcc64;const _0x13199a=this[_0x110033(0x478)][_0x110033(0x546)][_0x110033(0x4fc)](this[_0x110033(0x478)]['interceptor'][_0x110033(0x278)]()[_0x110033(0x50c)])(_0x5caaf0[_0x110033(0x388)],null)||_0x5caaf0[_0x110033(0x388)];return{..._0x5caaf0,'mutations':_0x13199a};});this['_lockTransition'](),this[_0x2bcc64(0x36d)](this[_0x2bcc64(0x527)][_0x2bcc64(0x510)](_0x2c6dbf)),this[_0x2bcc64(0x234)]();}['_toggleOffline'](){var _0x23ef86=_0x772c99;this[_0x23ef86(0x2ca)](),this['_updateState'](this[_0x23ef86(0x527)]['toggleOffline']()),this[_0x23ef86(0x234)]();}[_0x772c99(0x3d4)](_0x4c438e=!0x1){var _0x3c1579=_0x772c99;this[_0x3c1579(0x2ca)](),this[_0x3c1579(0x36d)](this[_0x3c1579(0x527)][_0x3c1579(0x33e)]()),this['_unlockTransition']();const _0x114017=this[_0x3c1579(0x527)];_0x4c438e&&_0x114017 instanceof exports[_0x3c1579(0x4fe)]&&(this[_0x3c1579(0x2ca)](),this['_updateState'](_0x114017[_0x3c1579(0x43c)]()),this[_0x3c1579(0x234)]());}async[_0x772c99(0x3ac)](){return new Promise(_0x35d687=>{var _0x41716f=_0x5365;this['session'][_0x41716f(0x3cd)]['pipe']($[_0x41716f(0x531)](0x1))[_0x41716f(0x210)](async _0x416b5a=>{var _0x590f42=_0x41716f;_0x35d687(await this['_createInitialStateImpl'](_0x416b5a===re[_0x590f42(0x4e8)]));});});}[_0x772c99(0x251)](){var _0x36c36c=_0x772c99;const _0x313740=this[_0x36c36c(0x53e)];return{'onStateChange':(_0x199511,_0x2aed14)=>{var _0x3002f9=_0x36c36c;if(_0x199511!==this[_0x3002f9(0x527)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x199511['status']+_0x3002f9(0x291)+_0x2aed14['status']+_0x3002f9(0x2d2)+this[_0x3002f9(0x527)][_0x3002f9(0x1f6)]);this[_0x3002f9(0x36d)](_0x2aed14);},'onSendChangeset':_0x1f64a4=>{var _0x35665d=_0x36c36c;_0x1f64a4[_0x35665d(0x2a4)]||(_0x1f64a4['sid']=this[_0x35665d(0x3d5)],_0x1f64a4['reqId']=++this[_0x35665d(0x4ad)]);const _0x27a0a1={'eventID':p[_0x35665d(0x4da)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x1f64a4['unitID'],'unitType':this[_0x35665d(0x426)],'changeset':_0x1f64a4,'memberID':this[_0x35665d(0x518)]['getMemberID']()}};this[_0x35665d(0x518)][_0x35665d(0x48d)](_0x27a0a1,this[_0x35665d(0x53e)]);},'onMissingChangesets':({from:_0x1a05b2,to:_0x1de8b1})=>{var _0x109662=_0x36c36c;this[_0x109662(0x2b8)]['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x1a05b2+'\x20to\x20'+_0x1de8b1);const _0x497e8d={'eventID':p[_0x109662(0x4da)]['FETCH_MISSING'],'data':{'unitID':_0x313740,'unitType':this['_type'],'from':_0x1a05b2,'to':_0x1de8b1}};this[_0x109662(0x518)][_0x109662(0x48d)](_0x497e8d,this['unitID']);}};}async[_0x772c99(0x3c4)](_0x596ba7){var _0x108ff9=_0x772c99,_0x3f8bb8,_0x4aa6d3,_0x34d075;const _0x3de859=await((_0x3f8bb8=this['_localCacheService'])==null?void 0x0:_0x3f8bb8['loadOfflineData'](this[_0x108ff9(0x53e)])),_0x5ce656=(_0x4aa6d3=_0x3de859==null?void 0x0:_0x3de859[_0x108ff9(0x388)])!=null?_0x4aa6d3:[],_0x5956be=(_0x34d075=_0x3de859==null?void 0x0:_0x3de859[_0x108ff9(0x42e)])!=null?_0x34d075:null,_0xa85fae=!!(_0x5956be!=null&&_0x5956be[_0x108ff9(0x2a4)])&&!!(_0x5956be!=null&&_0x5956be['reqId']);this['_changesetSessionId']=_0xa85fae?_0x5956be['sid']:p[_0x108ff9(0x2fb)](),this[_0x108ff9(0x4ad)]=_0xa85fae?_0x5956be[_0x108ff9(0x465)]:0x0;const _0x401d58=this[_0x108ff9(0x53e)];try{this['_replayCachedMutations'](_0x5956be,_0x5ce656);}catch(_0x523451){this[_0x108ff9(0x2b8)]['error'](_0x523451);}const _0x323c42=this['_createHandler']();if(_0x596ba7){const _0x269790=Ot(this[_0x108ff9(0x45b)],_0x401d58,this[_0x108ff9(0x426)],_0x5956be,_0x5ce656,_0x323c42);return _0x269790 instanceof exports[_0x108ff9(0x38e)]?_0x269790[_0x108ff9(0x2e5)]():(_0x269790 instanceof exports['AwaitingWithPendingState']||_0x269790 instanceof exports[_0x108ff9(0x2d0)])&&_0x269790['resend'](),_0x269790;}return this[_0x108ff9(0x45b)][_0x108ff9(0x43a)](exports[_0x108ff9(0x469)],_0x401d58,this[_0x108ff9(0x426)],_0x5956be,_0x5ce656,_0x323c42);}[_0x772c99(0x4d7)](_0x57de68,_0x30d2d9){var _0x5abd8f=_0x772c99,_0x15f422,_0x1e2415;const _0x27b4a2=this[_0x5abd8f(0x478)]['interceptor'][_0x5abd8f(0x4fc)](this['_compressMutationService'][_0x5abd8f(0x546)][_0x5abd8f(0x278)]()[_0x5abd8f(0x50c)]);(_0x15f422=_0x27b4a2((_0x57de68==null?void 0x0:_0x57de68['mutations'])||[],null))==null||_0x15f422[_0x5abd8f(0x500)](_0x310745=>this[_0x5abd8f(0x499)][_0x5abd8f(0x396)](_0x310745['id'],_0x310745['params'])),(_0x1e2415=_0x27b4a2(_0x30d2d9||[],null))==null||_0x1e2415['forEach'](_0x483320=>this['_commandService'][_0x5abd8f(0x396)](_0x483320['id'],_0x483320[_0x5abd8f(0x3a9)]));}},exports[_0x772c99(0x45e)]=Fe([j(0x3,a[_0x772c99(0x2a5)](a['Injector'])),j(0x4,a[_0x772c99(0x2a5)](p['CompressMutationService'])),j(0x5,a['Inject'](a[_0x772c99(0x43d)])),j(0x6,a[_0x772c99(0x2a5)](p[_0x772c99(0x204)])),j(0x7,a[_0x772c99(0x2a5)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x772c99(0x449)]),j(0xa,a[_0x772c99(0x3b4)]),j(0xb,a[_0x772c99(0x43f)](de)),j(0xc,a['Optional'](q))],exports['CollaborationEntity']),exports[_0x772c99(0x240)]=class extends exports[_0x772c99(0x45e)]{constructor(_0x578bce,_0x2e9618,_0x3f5ad1,_0x24b74d,_0x11a3fc,_0x1748d5,_0x6007cf,_0x661f9e,_0x52a31e,_0x5008ff,_0x10eb22,_0x23b6f7,_0x4a6922){var _0x3a2d85=_0x772c99;super(_0x578bce,_0x3f5ad1,_0x2e9618,_0x24b74d,_0x11a3fc,_0x1748d5,_0x6007cf,_0x661f9e,_0x52a31e,_0x5008ff,_0x10eb22,_0x23b6f7,_0x4a6922),A(this,_0x3a2d85(0x22e),null),(this[_0x3a2d85(0x53e)]=_0x578bce,this[_0x3a2d85(0x535)]=_0x2e9618);}[_0x772c99(0x4b1)](_0x201937){var _0x2b4422=_0x772c99;this[_0x2b4422(0x22e)]=_0x201937;}[_0x772c99(0x3b7)](){var _0x3b7b09=_0x772c99;this[_0x3b7b09(0x22e)]=null,super[_0x3b7b09(0x3b7)]();}[_0x772c99(0x251)](){var _0x13430c=_0x772c99;const _0x75b8dc=super[_0x13430c(0x251)]();return _0x75b8dc[_0x13430c(0x428)]=_0x535dc8=>{var _0x3d0b58,_0x30e77a;return(_0x30e77a=(_0x3d0b58=this['_handlerCallback'])==null?void 0x0:_0x3d0b58['onTransformIME'])==null?void 0x0:_0x30e77a['call'](_0x3d0b58,_0x535dc8);},_0x75b8dc[_0x13430c(0x37c)]=_0x5023bc=>{var _0x1b49b4=_0x13430c,_0x252a68,_0x5120d3;return(_0x5120d3=(_0x252a68=this[_0x1b49b4(0x22e)])==null?void 0x0:_0x252a68[_0x1b49b4(0x37c)])==null?void 0x0:_0x5120d3[_0x1b49b4(0x300)](_0x252a68,_0x5023bc);},_0x75b8dc[_0x13430c(0x44e)]=_0x445126=>{var _0x4d6e39=_0x13430c,_0x2aab32,_0x546989;return(_0x546989=(_0x2aab32=this[_0x4d6e39(0x22e)])==null?void 0x0:_0x2aab32[_0x4d6e39(0x44e)])==null?void 0x0:_0x546989[_0x4d6e39(0x300)](_0x2aab32,_0x445126);},_0x75b8dc[_0x13430c(0x238)]=_0x3f7cab=>{var _0x3d8f5f=_0x13430c,_0xee2ec8,_0x5a0ed6;return(_0x5a0ed6=(_0xee2ec8=this['_handlerCallback'])==null?void 0x0:_0xee2ec8[_0x3d8f5f(0x238)])==null?void 0x0:_0x5a0ed6[_0x3d8f5f(0x300)](_0xee2ec8,_0x3f7cab);},_0x75b8dc['onTransformRemoteChangesetByIMECache']=_0xaee1c3=>{var _0x2e430d=_0x13430c,_0x4c15e7,_0xe7c842,_0x273970;if(!((_0x4c15e7=this['_handlerCallback'])!=null&&_0x4c15e7[_0x2e430d(0x40e)]))throw new Error(_0x2e430d(0x483));return(_0x273970=(_0xe7c842=this[_0x2e430d(0x22e)])==null?void 0x0:_0xe7c842[_0x2e430d(0x40e)])==null?void 0x0:_0x273970[_0x2e430d(0x300)](_0xe7c842,_0xaee1c3);},_0x75b8dc['onTransformRemoteChangesetByStateCache']=_0x2e6596=>{var _0x2b712f=_0x13430c,_0x1d17a6,_0x3a0bb6,_0x2cd7ca;if(!((_0x1d17a6=this[_0x2b712f(0x22e)])!=null&&_0x1d17a6['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2cd7ca=(_0x3a0bb6=this[_0x2b712f(0x22e)])==null?void 0x0:_0x3a0bb6['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2cd7ca['call'](_0x3a0bb6,_0x2e6596);},_0x75b8dc;}async[_0x772c99(0x23b)](){var _0x538d86=_0x772c99;const _0x17e370=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x538d86(0x225)]((_0xc718fc,_0x5b48ce)=>{var _0x4133dc=_0x538d86;if(_0xc718fc[_0x4133dc(0x535)]!==a[_0x4133dc(0x43e)][_0x4133dc(0x4fd)]||_0x5b48ce!=null&&_0x5b48ce[_0x4133dc(0x29e)]||_0x5b48ce!=null&&_0x5b48ce['onlyLocal']||_0xc718fc['id']===ht[_0x4133dc(0x402)]['id'])return;const _0x37c89c=_0xc718fc[_0x4133dc(0x3a9)];if((_0x37c89c==null?void 0x0:_0x37c89c['unitId'])!==this[_0x4133dc(0x53e)])return;const _0x17987a=_0xc718fc,_0x5e0c6c=this[_0x4133dc(0x478)][_0x4133dc(0x546)][_0x4133dc(0x4fc)](this[_0x4133dc(0x478)][_0x4133dc(0x546)][_0x4133dc(0x278)]()[_0x4133dc(0x3ed)])([_0x17987a],null)||[_0x17987a];this['_onLocalMutation'](_0x5e0c6c[0x0]);})),_0x17e370;}},exports[_0x772c99(0x240)]=Fe([j(0x3,a[_0x772c99(0x2a5)](a[_0x772c99(0x3e7)])),j(0x4,a['Inject'](p['CompressMutationService'])),j(0x5,a[_0x772c99(0x2a5)](a[_0x772c99(0x43d)])),j(0x6,a[_0x772c99(0x2a5)](p['RevisionService'])),j(0x7,a[_0x772c99(0x2a5)](ee)),j(0x8,a[_0x772c99(0x327)]),j(0x9,a['ICommandService']),j(0xa,a[_0x772c99(0x3b4)]),j(0xb,a[_0x772c99(0x43f)](de)),j(0xc,a[_0x772c99(0x43f)](q))],exports[_0x772c99(0x240)]),exports[_0x772c99(0x34e)]=class extends exports['CollaborationEntity']{constructor(_0x44fcd0,_0x21e5b9,_0x3ef39e,_0xe65c4,_0x10890a,_0x91cc60,_0x420a35,_0x5b1ebd,_0x279f36,_0x59837c,_0xb95708,_0x4672bd,_0x491faf,_0x3cef30){var _0x54ddb4=_0x772c99;super(_0x44fcd0,_0x3ef39e,_0x21e5b9,_0xe65c4,_0x10890a,_0x91cc60,_0x420a35,_0x279f36,_0x59837c,_0xb95708,_0x4672bd,_0x491faf,_0x3cef30),this[_0x54ddb4(0x53e)]=_0x44fcd0,this[_0x54ddb4(0x535)]=_0x21e5b9,this[_0x54ddb4(0x42d)]=_0x5b1ebd;}[_0x772c99(0x251)](){var _0x501741=_0x772c99;const _0x9c7680=super[_0x501741(0x251)]();return _0x9c7680[_0x501741(0x44e)]=_0x151a37=>this[_0x501741(0x42d)][_0x501741(0x358)](_0x151a37),_0x9c7680;}async['_init'](){var _0x3e78c3=_0x772c99;const _0x102069=await super[_0x3e78c3(0x23b)]();return this[_0x3e78c3(0x48e)](this[_0x3e78c3(0x499)]['onCommandExecuted']((_0x2ea1e1,_0x25c61b)=>{var _0x47601c=_0x3e78c3;if(_0x2ea1e1[_0x47601c(0x535)]!==a['CommandType'][_0x47601c(0x4fd)]||_0x25c61b!=null&&_0x25c61b[_0x47601c(0x29e)]||_0x25c61b!=null&&_0x25c61b[_0x47601c(0x4b7)])return;const _0x46702b=_0x2ea1e1[_0x47601c(0x3a9)];if((_0x46702b==null?void 0x0:_0x46702b[_0x47601c(0x2b5)])!==this[_0x47601c(0x53e)])return;const _0x230ca8=_0x2ea1e1,_0x10f758=this[_0x47601c(0x478)]['interceptor'][_0x47601c(0x4fc)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x47601c(0x3ed)])([_0x230ca8],null)||[_0x230ca8];this['_onLocalMutation'](_0x10f758[0x0]);})),_0x102069;}},exports[_0x772c99(0x34e)]=Fe([j(0x3,a[_0x772c99(0x2a5)](a['Injector'])),j(0x4,a[_0x772c99(0x2a5)](p[_0x772c99(0x3e1)])),j(0x5,a[_0x772c99(0x2a5)](a[_0x772c99(0x43d)])),j(0x6,a[_0x772c99(0x2a5)](p[_0x772c99(0x204)])),j(0x7,a[_0x772c99(0x2a5)](exports[_0x772c99(0x4de)])),j(0x8,a[_0x772c99(0x2a5)](ee)),j(0x9,a[_0x772c99(0x327)]),j(0xa,a['ICommandService']),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a[_0x772c99(0x43f)](q))],exports[_0x772c99(0x34e)]);var Si=Object[_0x772c99(0x25d)],fi=(_0x13c5e8,_0x5f5b83,_0x2d903e,_0x2bfe30)=>{var _0x1466b2=_0x772c99;for(var _0x4c6bb7=_0x2bfe30>0x1?void 0x0:_0x2bfe30?Si(_0x5f5b83,_0x2d903e):_0x5f5b83,_0x1d4c7d=_0x13c5e8[_0x1466b2(0x1fe)]-0x1,_0x20ba10;_0x1d4c7d>=0x0;_0x1d4c7d--)(_0x20ba10=_0x13c5e8[_0x1d4c7d])&&(_0x4c6bb7=_0x20ba10(_0x4c6bb7)||_0x4c6bb7);return _0x4c6bb7;},Se=(_0x569d9f,_0x5575e3)=>(_0xf22c74,_0x9c69df)=>_0x5575e3(_0xf22c74,_0x9c69df,_0x569d9f);exports[_0x772c99(0x425)]=class extends a[_0x772c99(0x54c)]{constructor(_0x109aef,_0x5b598f,_0x5ed525,_0x258461){var _0x3750bf=_0x772c99,_0x35bf70;super(),A(this,'_entities',new Map()),A(this,'_entityInit$',new $[(_0x3750bf(0x2ba))]()),A(this,_0x3750bf(0x230),this[_0x3750bf(0x406)][_0x3750bf(0x515)]()),(this[_0x3750bf(0x45b)]=_0x109aef,this['_collabSessionService']=_0x5b598f,this[_0x3750bf(0x549)]=_0x5ed525,this[_0x3750bf(0x1ea)]=_0x258461,((_0x35bf70=this['_configService'][_0x3750bf(0x27c)](G))==null?void 0x0:_0x35bf70[_0x3750bf(0x4ee)])!==!0x1&&this['_init']());}[_0x772c99(0x3b7)](){var _0x1bf439=_0x772c99;super['dispose'](),this['_entities']['forEach'](_0x507653=>_0x507653[_0x1bf439(0x3b7)]()),this[_0x1bf439(0x2e7)][_0x1bf439(0x4e7)]();}['getCollabEntity'](_0x5b0170){var _0x5ee7bf;return(_0x5ee7bf=this['_entities']['get'](_0x5b0170))!=null?_0x5ee7bf:null;}['getCollabEntity$'](_0x3b2f59){var _0x21b2a7=_0x772c99;const _0x372646=this[_0x21b2a7(0x37f)](_0x3b2f59);return _0x372646?$['of'](_0x372646):this[_0x21b2a7(0x406)][_0x21b2a7(0x24d)](V[_0x21b2a7(0x34f)](_0x3cf06a=>_0x3cf06a[_0x21b2a7(0x53e)]===_0x3b2f59));}[_0x772c99(0x4a0)](_0x121b2c){var _0x747923=_0x772c99;return $[_0x747923(0x3ff)](this[_0x747923(0x468)](_0x121b2c)[_0x747923(0x24d)](V[_0x747923(0x2be)](()=>{})));}[_0x772c99(0x23b)](){var _0x26eb8a=_0x772c99;this[_0x26eb8a(0x1ea)][_0x26eb8a(0x4b9)](a[_0x26eb8a(0x31c)][_0x26eb8a(0x3de)])[_0x26eb8a(0x24d)]($[_0x26eb8a(0x36e)](this['dispose$']),V[_0x26eb8a(0x391)](0x10))[_0x26eb8a(0x210)](async _0x52ff85=>{var _0x5e0d9c=_0x26eb8a;const _0x22b599=_0x52ff85[_0x5e0d9c(0x520)](),_0x4685b5=await this['_startCollaboration'](_0x22b599,J[_0x5e0d9c(0x3de)]);this[_0x5e0d9c(0x2e7)][_0x5e0d9c(0x2ed)](_0x22b599,_0x4685b5);}),this[_0x26eb8a(0x1ea)][_0x26eb8a(0x4b9)](a['UniverInstanceType'][_0x26eb8a(0x3d1)])[_0x26eb8a(0x24d)]($[_0x26eb8a(0x36e)](this[_0x26eb8a(0x33b)]),V[_0x26eb8a(0x391)](0x10))[_0x26eb8a(0x24d)](V[_0x26eb8a(0x34f)](_0x11771f=>!_0x11771f[_0x26eb8a(0x520)]()[_0x26eb8a(0x39e)]('__')))[_0x26eb8a(0x210)](async _0x4fb740=>{var _0x4c87bd=_0x26eb8a;const _0x33f594=_0x4fb740[_0x4c87bd(0x520)](),_0x372775=await this[_0x4c87bd(0x3e4)](_0x33f594,J[_0x4c87bd(0x3d1)]);this['_entities'][_0x4c87bd(0x2ed)](_0x33f594,_0x372775);}),$['merge'](this[_0x26eb8a(0x1ea)][_0x26eb8a(0x2b0)](a['UniverInstanceType'][_0x26eb8a(0x3de)]),this[_0x26eb8a(0x1ea)][_0x26eb8a(0x2b0)](a[_0x26eb8a(0x31c)][_0x26eb8a(0x3d1)]))[_0x26eb8a(0x24d)]($[_0x26eb8a(0x36e)](this[_0x26eb8a(0x33b)]))['subscribe'](_0x4315ff=>{var _0x4251d9=_0x26eb8a;const _0x4918e7=_0x4315ff['getUnitId'](),_0x52871d=this[_0x4251d9(0x2e7)][_0x4251d9(0x555)](_0x4918e7);_0x52871d&&(_0x52871d[_0x4251d9(0x3b7)](),this['_entities'][_0x4251d9(0x1f1)](_0x4918e7));});}async[_0x772c99(0x3e4)](_0x2c3585,_0xbd925d){var _0x43f300=_0x772c99;const _0xdd54bd=await this[_0x43f300(0x50f)][_0x43f300(0x374)](_0x2c3585),_0x1ee467=this['_injector']['createInstance'](this[_0x43f300(0x2e0)](_0xbd925d),_0x2c3585,_0xbd925d,_0xdd54bd);return await _0x1ee467[_0x43f300(0x2ac)](),this[_0x43f300(0x406)][_0x43f300(0x509)](_0x1ee467),_0x1ee467;}[_0x772c99(0x2e0)](_0x528ea2){var _0x108230=_0x772c99;switch(_0x528ea2){case J['UNIVER_DOC']:return exports[_0x108230(0x240)];case J['UNIVER_SHEET']:return exports[_0x108230(0x34e)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x528ea2);}}},exports[_0x772c99(0x425)]=fi([Se(0x0,a[_0x772c99(0x2a5)](a['Injector'])),Se(0x1,a[_0x772c99(0x2a5)](exports[_0x772c99(0x314)])),Se(0x2,a[_0x772c99(0x399)]),Se(0x3,a[_0x772c99(0x418)])],exports[_0x772c99(0x425)]);var Ii=Object[_0x772c99(0x25d)],pi=(_0x1bbe12,_0x908295,_0x102d51,_0x2144a4)=>{for(var _0x202336=_0x2144a4>0x1?void 0x0:_0x2144a4?Ii(_0x908295,_0x102d51):_0x908295,_0x348131=_0x1bbe12['length']-0x1,_0x11dbef;_0x348131>=0x0;_0x348131--)(_0x11dbef=_0x1bbe12[_0x348131])&&(_0x202336=_0x11dbef(_0x202336)||_0x202336);return _0x202336;},Ke=(_0x5bd122,_0x37db4b)=>(_0x1101f1,_0x331e13)=>_0x37db4b(_0x1101f1,_0x331e13,_0x5bd122);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a['Disposable']{constructor(_0x2d6fdf,_0xb72acd){var _0x33063c=_0x772c99;super(),this[_0x33063c(0x1ea)]=_0x2d6fdf,this[_0x33063c(0x549)]=_0xb72acd,this['_init']();}[_0x772c99(0x23b)](){var _0x42473f=_0x772c99;this[_0x42473f(0x48e)](this['_univerInstanceService'][_0x42473f(0x4af)][_0x42473f(0x210)](()=>{var _0x27dafa=_0x42473f,_0x5a34f8;const _0x397be6=this[_0x27dafa(0x1ea)][_0x27dafa(0x2d4)]();let _0x31aa73=(_0x5a34f8=this['_configService']['getConfig'](gi))!=null?_0x5a34f8:Ei;_0x397be6 instanceof a[_0x27dafa(0x24c)]&&(_0x31aa73=_0x397be6['name']),document[_0x27dafa(0x4f0)]=_0x31aa73;}));}};xe=pi([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a['IConfigService'])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x5716e9,_0x27394a,_0x10155d,_0x49c27c)=>{var _0x3290e2=_0x772c99;for(var _0x31e711=_0x49c27c>0x1?void 0x0:_0x49c27c?mi(_0x27394a,_0x10155d):_0x27394a,_0x46b741=_0x5716e9[_0x3290e2(0x1fe)]-0x1,_0x1b6597;_0x46b741>=0x0;_0x46b741--)(_0x1b6597=_0x5716e9[_0x46b741])&&(_0x31e711=_0x1b6597(_0x31e711)||_0x31e711);return _0x31e711;},Ae=(_0x1bdf0b,_0xd39d80)=>(_0xd2c33a,_0x20dd28)=>_0xd39d80(_0xd2c33a,_0x20dd28,_0x1bdf0b);let ye=class{constructor(_0x381fd4,_0xda2e90,_0x5cedf3){var _0x23287d=_0x772c99;this[_0x23287d(0x549)]=_0x381fd4,this[_0x23287d(0x3f5)]=_0xda2e90,this[_0x23287d(0x4bc)]=_0x5cedf3,this['init']();}[_0x772c99(0x2ac)](){var _0x41ee24=_0x772c99;this[_0x41ee24(0x3f5)][_0x41ee24(0x423)]({'priority':0x1,'interceptor':(_0x3e56f2,_0x5bc034)=>_0x5bc034(_0x3e56f2)[_0x41ee24(0x24d)]($[_0x41ee24(0x2df)](async _0x2e818b=>{var _0x58131b=_0x41ee24;const _0x41a258=_0x2e818b;if(_0x41a258[_0x58131b(0x1f6)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x58131b(0x4bc)]['t']('auth.needGotoLoginAlert'))){const _0x1d21ba=window[_0x58131b(0x207)](window[_0x58131b(0x514)][_0x58131b(0x233)]);window[_0x58131b(0x514)][_0x58131b(0x233)]=this['_getLoginPath']()+_0x58131b(0x4fb)+_0x1d21ba;}}return _0x41a258;}))});}['_getLoginPath'](){var _0x3d791a=_0x772c99,_0x53b7da,_0x44e7b2;const _0x3fc7ae=this[_0x3d791a(0x549)][_0x3d791a(0x27c)](pt),_0x1daf5b=this[_0x3d791a(0x549)][_0x3d791a(0x27c)](G);return(_0x44e7b2=(_0x53b7da=_0x1daf5b==null?void 0x0:_0x1daf5b[_0x3d791a(0x49b)])!=null?_0x53b7da:_0x3fc7ae)!=null?_0x44e7b2:Wt;}};ye=Ci([Ae(0x0,a[_0x772c99(0x399)]),Ae(0x1,a[_0x772c99(0x2a5)](K[_0x772c99(0x4c9)])),Ae(0x2,a['Inject'](a[_0x772c99(0x43d)]))],ye);var Ti=Object[_0x772c99(0x25d)],bi=(_0x2daea2,_0x2e6b25,_0x339c1c,_0x1b9e04)=>{var _0x4b9b78=_0x772c99;for(var _0x4fdf59=_0x1b9e04>0x1?void 0x0:_0x1b9e04?Ti(_0x2e6b25,_0x339c1c):_0x2e6b25,_0x1f0a78=_0x2daea2[_0x4b9b78(0x1fe)]-0x1,_0x544bd7;_0x1f0a78>=0x0;_0x1f0a78--)(_0x544bd7=_0x2daea2[_0x1f0a78])&&(_0x4fdf59=_0x544bd7(_0x4fdf59)||_0x4fdf59);return _0x4fdf59;},qe=(_0x4ac685,_0xa83e14)=>(_0x4fbaa3,_0x4b99e9)=>_0xa83e14(_0x4fbaa3,_0x4b99e9,_0x4ac685);const Ve=_0x772c99(0x3bd),Ri=_0x772c99(0x3da);exports[_0x772c99(0x20c)]=class extends a[_0x772c99(0x482)]{constructor(_0xcf8cec,_0xede924){var _0x1fc1ec=_0x772c99;super(),this[_0x1fc1ec(0x4e9)]=_0xcf8cec,this['_configService']=_0xede924,this['_initMergeInterceptor']();}[_0x772c99(0x2c7)](){var _0x2f03c1=_0x772c99;const _0x126fdf=this;this['disposeWithMe'](this[_0x2f03c1(0x4e9)][_0x2f03c1(0x423)]({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x10ca62){var _0x44f518=_0x2f03c1,_0x253365;if(_0x10ca62[_0x44f518(0x2a0)]===_0x44f518(0x266)&&((_0x253365=_0x10ca62[_0x44f518(0x3fb)])!=null&&_0x253365[_0x44f518(0x1e4)])){const {objectID:_0x37b370,objectType:_0x19a066}=_0x10ca62['requestParams']['body']||{};if(!_0x37b370||_0x19a066===void 0x0)return!0x1;const _0x240499=_0x126fdf[_0x44f518(0x26d)]()+'/'+_0x19a066+_0x44f518(0x424)+_0x37b370+_0x44f518(0x242);if(_0x10ca62[_0x44f518(0x2f8)]===_0x240499)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x205e64){var _0x1fe3bd=_0x2f03c1,_0x2f4b81;return(_0x2f4b81=_0x205e64[_0x1fe3bd(0x3fb)])==null?void 0x0:_0x2f4b81[_0x1fe3bd(0x1e4)];},'mergeParamsToRequest'(_0x2d81fd,_0x5b1a72){var _0x3846b9=_0x2f03c1;const _0x93a1e2=_0x126fdf[_0x3846b9(0x26d)]()+'/-/object/-/batch_allowed',_0x386e68=_0x2d81fd[_0x3846b9(0x32d)]((_0x5c643c,_0x25df07)=>{var _0x1daaf4=_0x3846b9;const {unitID:_0x152b19,objectID:_0x213028,objectType:_0x428e9b,actions:_0x31fb98}=_0x25df07;return _0x5c643c[_0x152b19]||(_0x5c643c[_0x152b19]={}),_0x5c643c[_0x152b19][_0x213028]||(_0x5c643c[_0x152b19][_0x213028]={'objectID':_0x213028,'objectType':_0x428e9b,'actions':[]}),_0x5c643c[_0x152b19][_0x213028][_0x1daaf4(0x31e)][_0x1daaf4(0x536)](..._0x31fb98),_0x5c643c;},{}),_0x3e62ee=[];for(const _0x4d3a5f in _0x386e68)for(const _0x2a93b9 in _0x386e68[_0x4d3a5f]){const {actions:_0x5ba1c4,objectType:_0x5f0e9a}=_0x386e68[_0x4d3a5f][_0x2a93b9],_0x593205=[...new Set(_0x5ba1c4)];_0x3e62ee[_0x3846b9(0x536)]({'unitID':_0x4d3a5f,'objectID':_0x2a93b9,'objectType':_0x5f0e9a,'actions':_0x593205});}return new K[(_0x3846b9(0x344))](_0x3846b9(0x266),_0x93a1e2,{'headers':_0x5b1a72[_0x3846b9(0x51a)],'withCredentials':_0x5b1a72[_0x3846b9(0x255)],'responseType':_0x5b1a72['responseType'],'body':{'requests':_0x3e62ee}});}},{'distributeResult'(_0x43af34,_0x40d874){var _0x47f134=_0x2f03c1;const {objectActions:_0x594fe7}=_0x43af34;return _0x40d874[_0x47f134(0x2be)](_0x1b2208=>{var _0x316830=_0x47f134;const {unitID:_0x27e109,objectID:_0x502802,actions:_0x399066}=_0x1b2208,_0x49bfa8=_0x594fe7[_0x316830(0x3cc)](_0x2dd329=>_0x2dd329[_0x316830(0x53e)]===_0x27e109&&_0x2dd329[_0x316830(0x289)]===_0x502802),_0x29798f=_0x399066[_0x316830(0x2be)](_0xc65cbf=>_0x49bfa8==null?void 0x0:_0x49bfa8[_0x316830(0x31e)][_0x316830(0x3cc)](_0x30f73b=>_0x30f73b[_0x316830(0x4a2)]===_0xc65cbf))[_0x316830(0x34f)](_0x25ea6a=>!!_0x25ea6a);return{'config':_0x1b2208,'result':{'actions':_0x29798f,'error':_0x43af34[_0x316830(0x2aa)]}};});}})}));}['_getAPIPrefixPath'](){var _0x7f860d=_0x772c99,_0x25821b,_0x4bead1;const _0x25903e=this[_0x7f860d(0x549)][_0x7f860d(0x27c)](Ve),_0x2518ab=this['_configService']['getConfig'](G);return(_0x4bead1=(_0x25821b=_0x2518ab==null?void 0x0:_0x2518ab[_0x7f860d(0x52e)])!=null?_0x25821b:_0x25903e)!=null?_0x4bead1:Ri;}async[_0x772c99(0x4fa)](_0x34a074){var _0x5d15fe=_0x772c99;const _0x269ef9=this[_0x5d15fe(0x26d)]()+'/'+_0x34a074['objectType']+'/object';return(await this[_0x5d15fe(0x4e9)][_0x5d15fe(0x41a)](_0x269ef9,{'body':_0x34a074}))[_0x5d15fe(0x1e4)][_0x5d15fe(0x289)]||'';}async[_0x772c99(0x2fd)](_0x3f1748){var _0x32146a=_0x772c99;const _0x32bb4d=this[_0x32146a(0x26d)]()+'/-/object/list';return(await this[_0x32146a(0x4e9)][_0x32146a(0x41a)](_0x32bb4d,{'body':_0x3f1748}))[_0x32146a(0x1e4)][_0x32146a(0x1ee)];}async[_0x772c99(0x2ea)](_0x51b171){var _0x1912d0=_0x772c99,_0xe9990a,_0x326d7e;const _0x7fd79f=this[_0x1912d0(0x26d)]()+'/'+_0x51b171['objectType']+'/object/'+_0x51b171[_0x1912d0(0x289)],_0x441b54=await this['_HTTPService'][_0x1912d0(0x487)](_0x7fd79f,{'body':_0x51b171});if(((_0x326d7e=(_0xe9990a=_0x441b54==null?void 0x0:_0x441b54[_0x1912d0(0x1e4)])==null?void 0x0:_0xe9990a[_0x1912d0(0x2aa)])==null?void 0x0:_0x326d7e[_0x1912d0(0x2e1)])!==0x1)throw new Error(_0x1912d0(0x31f));}async[_0x772c99(0x387)](_0x5c8552){var _0x5b5921=_0x772c99;const _0x3b50bc=this[_0x5b5921(0x26d)]()+'/'+_0x5c8552['objectType']+_0x5b5921(0x424)+_0x5c8552['objectID']+_0x5b5921(0x242);return(await this[_0x5b5921(0x4e9)][_0x5b5921(0x41a)](_0x3b50bc,{'body':_0x5c8552}))[_0x5b5921(0x1e4)][_0x5b5921(0x31e)];}async['batchAllowed'](_0x4164f6){var _0x2853b7=_0x772c99;const _0x18bdb4=this['_getAPIPrefixPath']()+_0x2853b7(0x2c9);return(await this['_HTTPService'][_0x2853b7(0x41a)](_0x18bdb4,{'body':{'requests':_0x4164f6}}))[_0x2853b7(0x1e4)][_0x2853b7(0x49d)];}async[_0x772c99(0x36a)](_0x580c2f){var _0x226342=_0x772c99;const _0x38be05=this[_0x226342(0x26d)]()+'/'+_0x580c2f['objectType']+_0x226342(0x4cb),_0x21cd77=await this['_HTTPService'][_0x226342(0x41a)](_0x38be05,{'body':_0x580c2f});return{'roles':_0x21cd77[_0x226342(0x1e4)][_0x226342(0x454)],'actions':_0x21cd77[_0x226342(0x1e4)][_0x226342(0x31e)]};}async['deleteCollaborator'](_0x17527a){var _0x4306a4=_0x772c99;const _0x38afa3=this[_0x4306a4(0x26d)]()+_0x4306a4(0x551);await this[_0x4306a4(0x4e9)][_0x4306a4(0x1f1)](_0x38afa3,{'params':{'collaboratorID':_0x17527a[_0x4306a4(0x4d3)],'objectID':_0x17527a[_0x4306a4(0x289)],'unitID':_0x17527a[_0x4306a4(0x53e)]}});}async['updateCollaborator'](_0x1dac91){var _0x30550f=_0x772c99;const _0x2c6f42=this[_0x30550f(0x26d)]()+_0x30550f(0x551);await this[_0x30550f(0x4e9)][_0x30550f(0x3ad)](_0x2c6f42,{'body':_0x1dac91});}async['createCollaborator'](_0x1319da){var _0x24d368=_0x772c99;const _0x15eb57=this[_0x24d368(0x26d)]()+'/collaborator';await this[_0x24d368(0x4e9)]['post'](_0x15eb57,{'body':_0x1319da});}async[_0x772c99(0x276)](_0x427e80){var _0xe2b7bc=_0x772c99;const _0x13af27=this[_0xe2b7bc(0x26d)]()+_0xe2b7bc(0x551);return(await this[_0xe2b7bc(0x4e9)]['get'](_0x13af27,{'params':{'objectID':_0x427e80['objectID'],'unitID':_0x427e80[_0xe2b7bc(0x53e)]}}))[_0xe2b7bc(0x1e4)][_0xe2b7bc(0x52d)];}async['putCollaborators'](_0x11e765){var _0x215230=_0x772c99;const _0xdd0e46=this[_0x215230(0x26d)]()+_0x215230(0x551);await this[_0x215230(0x4e9)][_0x215230(0x487)](_0xdd0e46,{'body':_0x11e765});}},exports[_0x772c99(0x20c)]=bi([qe(0x0,a['Inject'](K['HTTPService'])),qe(0x1,a[_0x772c99(0x2a5)](a[_0x772c99(0x399)]))],exports[_0x772c99(0x20c)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x3853ba){var _0x453739=_0x772c99;return _0x3853ba&&_0x3853ba[_0x453739(0x53a)]&&Object[_0x453739(0x4c3)][_0x453739(0x441)][_0x453739(0x300)](_0x3853ba,_0x453739(0x20b))?_0x3853ba[_0x453739(0x20b)]:_0x3853ba;}var fe={'exports':{}};function Oi(_0x1965a8){var _0x1cd8f8=_0x772c99;throw new Error(_0x1cd8f8(0x334)+_0x1965a8+_0x1cd8f8(0x50d));}var Ie={'exports':{}},yi=Ie[_0x772c99(0x3b6)],ze;function Q(){var _0x3210bf=_0x772c99;return ze||(ze=0x1,function(_0xa26652,_0x2d6ae0){(function(_0x2ec245,_0xa3e941){var _0x208fce=_0x5365;_0xa26652[_0x208fce(0x3b6)]=_0xa3e941();}(yi,function(){var _0x352c31=_0x352c31||function(_0x3546a0,_0x3db1ae){var _0x2c07fc=_0x5365,_0x2a4049;if(typeof window<'u'&&window['crypto']&&(_0x2a4049=window['crypto']),typeof self<'u'&&self[_0x2c07fc(0x1e1)]&&(_0x2a4049=self[_0x2c07fc(0x1e1)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2a4049=globalThis[_0x2c07fc(0x1e1)]),!_0x2a4049&&typeof window<'u'&&window['msCrypto']&&(_0x2a4049=window[_0x2c07fc(0x51e)]),!_0x2a4049&&typeof Pe<'u'&&Pe['crypto']&&(_0x2a4049=Pe[_0x2c07fc(0x1e1)]),!_0x2a4049&&typeof Oi==_0x2c07fc(0x414))try{_0x2a4049=require('crypto');}catch{}var _0x5d10b6=function(){var _0x298711=_0x2c07fc;if(_0x2a4049){if(typeof _0x2a4049[_0x298711(0x2dc)]==_0x298711(0x414))try{return _0x2a4049['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a4049[_0x298711(0x4d0)]==_0x298711(0x414))try{return _0x2a4049[_0x298711(0x4d0)](0x4)[_0x298711(0x26f)]();}catch{}}throw new Error(_0x298711(0x2fc));},_0x103a6e=Object[_0x2c07fc(0x4fa)]||(function(){function _0x4fec84(){}return function(_0x311ecd){var _0x3cfb05=_0x5365,_0x4a3ea8;return _0x4fec84['prototype']=_0x311ecd,_0x4a3ea8=new _0x4fec84(),_0x4fec84[_0x3cfb05(0x4c3)]=null,_0x4a3ea8;};}()),_0x35a4ad={},_0x52199e=_0x35a4ad[_0x2c07fc(0x547)]={},_0x396dbc=_0x52199e[_0x2c07fc(0x48c)]=(function(){return{'extend':function(_0x20d292){var _0x5989b6=_0x5365,_0x20dae1=_0x103a6e(this);return _0x20d292&&_0x20dae1[_0x5989b6(0x392)](_0x20d292),(!_0x20dae1[_0x5989b6(0x441)](_0x5989b6(0x2ac))||this['init']===_0x20dae1[_0x5989b6(0x2ac)])&&(_0x20dae1[_0x5989b6(0x2ac)]=function(){var _0x3dc4f4=_0x5989b6;_0x20dae1['$super'][_0x3dc4f4(0x2ac)][_0x3dc4f4(0x22f)](this,arguments);}),_0x20dae1[_0x5989b6(0x2ac)][_0x5989b6(0x4c3)]=_0x20dae1,_0x20dae1['$super']=this,_0x20dae1;},'create':function(){var _0x57cd8b=_0x5365,_0x1d4986=this['extend']();return _0x1d4986[_0x57cd8b(0x2ac)][_0x57cd8b(0x22f)](_0x1d4986,arguments),_0x1d4986;},'init':function(){},'mixIn':function(_0x225d30){var _0x1f2d02=_0x5365;for(var _0x5a8bca in _0x225d30)_0x225d30[_0x1f2d02(0x441)](_0x5a8bca)&&(this[_0x5a8bca]=_0x225d30[_0x5a8bca]);_0x225d30[_0x1f2d02(0x441)](_0x1f2d02(0x4b0))&&(this[_0x1f2d02(0x4b0)]=_0x225d30['toString']);},'clone':function(){var _0x4a2c6a=_0x5365;return this[_0x4a2c6a(0x2ac)][_0x4a2c6a(0x4c3)][_0x4a2c6a(0x1e7)](this);}};}()),_0x1e75fe=_0x52199e['WordArray']=_0x396dbc['extend']({'init':function(_0x1facce,_0x23d029){var _0x423001=_0x2c07fc;_0x1facce=this[_0x423001(0x2d9)]=_0x1facce||[],_0x23d029!=_0x3db1ae?this[_0x423001(0x31a)]=_0x23d029:this[_0x423001(0x31a)]=_0x1facce[_0x423001(0x1fe)]*0x4;},'toString':function(_0x2e3c3e){var _0x4bc841=_0x2c07fc;return(_0x2e3c3e||_0x252035)[_0x4bc841(0x371)](this);},'concat':function(_0x58b7b7){var _0x5a60f8=_0x2c07fc,_0x4c4ed8=this['words'],_0x2b4fe2=_0x58b7b7['words'],_0xea327=this[_0x5a60f8(0x31a)],_0x39b935=_0x58b7b7['sigBytes'];if(this[_0x5a60f8(0x259)](),_0xea327%0x4)for(var _0x2bcbd2=0x0;_0x2bcbd2<_0x39b935;_0x2bcbd2++){var _0x259e66=_0x2b4fe2[_0x2bcbd2>>>0x2]>>>0x18-_0x2bcbd2%0x4*0x8&0xff;_0x4c4ed8[_0xea327+_0x2bcbd2>>>0x2]|=_0x259e66<<0x18-(_0xea327+_0x2bcbd2)%0x4*0x8;}else{for(var _0x58c612=0x0;_0x58c612<_0x39b935;_0x58c612+=0x4)_0x4c4ed8[_0xea327+_0x58c612>>>0x2]=_0x2b4fe2[_0x58c612>>>0x2];}return this[_0x5a60f8(0x31a)]+=_0x39b935,this;},'clamp':function(){var _0x1a9061=_0x2c07fc,_0x5bcfed=this[_0x1a9061(0x2d9)],_0x55af41=this['sigBytes'];_0x5bcfed[_0x55af41>>>0x2]&=0xffffffff<<0x20-_0x55af41%0x4*0x8,_0x5bcfed[_0x1a9061(0x1fe)]=_0x3546a0['ceil'](_0x55af41/0x4);},'clone':function(){var _0x3f5cb1=_0x2c07fc,_0x24d358=_0x396dbc[_0x3f5cb1(0x2e6)][_0x3f5cb1(0x300)](this);return _0x24d358[_0x3f5cb1(0x2d9)]=this[_0x3f5cb1(0x2d9)][_0x3f5cb1(0x4df)](0x0),_0x24d358;},'random':function(_0x53053c){var _0x207e35=_0x2c07fc;for(var _0x48cfc4=[],_0x4e7970=0x0;_0x4e7970<_0x53053c;_0x4e7970+=0x4)_0x48cfc4[_0x207e35(0x536)](_0x5d10b6());return new _0x1e75fe['init'](_0x48cfc4,_0x53053c);}}),_0x3d7cba=_0x35a4ad[_0x2c07fc(0x3d6)]={},_0x252035=_0x3d7cba[_0x2c07fc(0x20a)]={'stringify':function(_0x342b29){var _0x1c510d=_0x2c07fc;for(var _0x425d10=_0x342b29[_0x1c510d(0x2d9)],_0x47dead=_0x342b29[_0x1c510d(0x31a)],_0x5d26da=[],_0x22d594=0x0;_0x22d594<_0x47dead;_0x22d594++){var _0x1bd614=_0x425d10[_0x22d594>>>0x2]>>>0x18-_0x22d594%0x4*0x8&0xff;_0x5d26da[_0x1c510d(0x536)]((_0x1bd614>>>0x4)['toString'](0x10)),_0x5d26da['push']((_0x1bd614&0xf)['toString'](0x10));}return _0x5d26da[_0x1c510d(0x290)]('');},'parse':function(_0x2ed367){var _0x214b88=_0x2c07fc;for(var _0x1cd5f5=_0x2ed367[_0x214b88(0x1fe)],_0x2e79b9=[],_0x23f556=0x0;_0x23f556<_0x1cd5f5;_0x23f556+=0x2)_0x2e79b9[_0x23f556>>>0x3]|=parseInt(_0x2ed367['substr'](_0x23f556,0x2),0x10)<<0x18-_0x23f556%0x8*0x4;return new _0x1e75fe[(_0x214b88(0x2ac))](_0x2e79b9,_0x1cd5f5/0x2);}},_0x266b3c=_0x3d7cba[_0x2c07fc(0x385)]={'stringify':function(_0x1d6758){var _0x468276=_0x2c07fc;for(var _0x288073=_0x1d6758[_0x468276(0x2d9)],_0x4e17d5=_0x1d6758[_0x468276(0x31a)],_0x240189=[],_0x59dcc2=0x0;_0x59dcc2<_0x4e17d5;_0x59dcc2++){var _0x236d62=_0x288073[_0x59dcc2>>>0x2]>>>0x18-_0x59dcc2%0x4*0x8&0xff;_0x240189['push'](String[_0x468276(0x52b)](_0x236d62));}return _0x240189[_0x468276(0x290)]('');},'parse':function(_0x10cd31){var _0x4fbdf5=_0x2c07fc;for(var _0x2d8e79=_0x10cd31[_0x4fbdf5(0x1fe)],_0xeaff69=[],_0x240350=0x0;_0x240350<_0x2d8e79;_0x240350++)_0xeaff69[_0x240350>>>0x2]|=(_0x10cd31['charCodeAt'](_0x240350)&0xff)<<0x18-_0x240350%0x4*0x8;return new _0x1e75fe[(_0x4fbdf5(0x2ac))](_0xeaff69,_0x2d8e79);}},_0x2fd38d=_0x3d7cba[_0x2c07fc(0x4f4)]={'stringify':function(_0x17c79f){var _0x3b35dd=_0x2c07fc;try{return decodeURIComponent(escape(_0x266b3c[_0x3b35dd(0x371)](_0x17c79f)));}catch{throw new Error(_0x3b35dd(0x208));}},'parse':function(_0x412165){var _0x77dc1f=_0x2c07fc;return _0x266b3c[_0x77dc1f(0x288)](unescape(encodeURIComponent(_0x412165)));}},_0x171641=_0x52199e[_0x2c07fc(0x217)]=_0x396dbc[_0x2c07fc(0x1e7)]({'reset':function(){var _0x49b989=_0x2c07fc;this[_0x49b989(0x322)]=new _0x1e75fe['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x579457){var _0x3c7222=_0x2c07fc;typeof _0x579457==_0x3c7222(0x4e1)&&(_0x579457=_0x2fd38d[_0x3c7222(0x288)](_0x579457)),this[_0x3c7222(0x322)][_0x3c7222(0x54e)](_0x579457),this[_0x3c7222(0x2cb)]+=_0x579457[_0x3c7222(0x31a)];},'_process':function(_0x5c487e){var _0x352978=_0x2c07fc,_0xcc2d04,_0x12cc58=this[_0x352978(0x322)],_0x1786a1=_0x12cc58[_0x352978(0x2d9)],_0x242264=_0x12cc58['sigBytes'],_0x31726b=this['blockSize'],_0x143dad=_0x31726b*0x4,_0x1f8d82=_0x242264/_0x143dad;_0x5c487e?_0x1f8d82=_0x3546a0[_0x352978(0x2b4)](_0x1f8d82):_0x1f8d82=_0x3546a0[_0x352978(0x353)]((_0x1f8d82|0x0)-this['_minBufferSize'],0x0);var _0x2a1934=_0x1f8d82*_0x31726b,_0x4220c2=_0x3546a0[_0x352978(0x4a3)](_0x2a1934*0x4,_0x242264);if(_0x2a1934){for(var _0x193a6a=0x0;_0x193a6a<_0x2a1934;_0x193a6a+=_0x31726b)this[_0x352978(0x299)](_0x1786a1,_0x193a6a);_0xcc2d04=_0x1786a1[_0x352978(0x3c3)](0x0,_0x2a1934),_0x12cc58['sigBytes']-=_0x4220c2;}return new _0x1e75fe[(_0x352978(0x2ac))](_0xcc2d04,_0x4220c2);},'clone':function(){var _0x9d6660=_0x2c07fc,_0x4c8222=_0x396dbc[_0x9d6660(0x2e6)]['call'](this);return _0x4c8222[_0x9d6660(0x322)]=this[_0x9d6660(0x322)][_0x9d6660(0x2e6)](),_0x4c8222;},'_minBufferSize':0x0});_0x52199e[_0x2c07fc(0x342)]=_0x171641[_0x2c07fc(0x1e7)]({'cfg':_0x396dbc[_0x2c07fc(0x1e7)](),'init':function(_0x22bc70){var _0x1b3772=_0x2c07fc;this[_0x1b3772(0x2fa)]=this['cfg'][_0x1b3772(0x1e7)](_0x22bc70),this[_0x1b3772(0x279)]();},'reset':function(){var _0x2e4fc0=_0x2c07fc;_0x171641['reset'][_0x2e4fc0(0x300)](this),this['_doReset']();},'update':function(_0x2f55d6){var _0x1a6aa3=_0x2c07fc;return this[_0x1a6aa3(0x4a6)](_0x2f55d6),this[_0x1a6aa3(0x222)](),this;},'finalize':function(_0x2c93dc){var _0xa5690d=_0x2c07fc;_0x2c93dc&&this[_0xa5690d(0x4a6)](_0x2c93dc);var _0x4a431d=this[_0xa5690d(0x46d)]();return _0x4a431d;},'blockSize':0x10,'_createHelper':function(_0x590058){return function(_0x346821,_0x2ffa97){var _0x553bad=_0x5365;return new _0x590058[(_0x553bad(0x2ac))](_0x2ffa97)[_0x553bad(0x1f7)](_0x346821);};},'_createHmacHelper':function(_0x58390a){return function(_0x3f7de8,_0x47372c){var _0x4a2df7=_0x5365;return new _0xcafc4a[(_0x4a2df7(0x4c8))][(_0x4a2df7(0x2ac))](_0x58390a,_0x47372c)[_0x4a2df7(0x1f7)](_0x3f7de8);};}});var _0xcafc4a=_0x35a4ad['algo']={};return _0x35a4ad;}(Math);return _0x352c31;}));}(Ie)),Ie[_0x3210bf(0x3b6)];}var pe={'exports':{}},Ni=pe[_0x772c99(0x3b6)],Je;function yt(){return Je||(Je=0x1,function(_0x359119,_0x4079f8){(function(_0x10525b,_0xf7edd7){var _0x50c5c1=_0x5365;_0x359119[_0x50c5c1(0x3b6)]=_0xf7edd7(Q());}(Ni,function(_0x5b8063){var _0x25f2e6=_0x5365;return(function(){var _0xe04459=_0x5365,_0x24edce=_0x5b8063,_0x4ccb3e=_0x24edce[_0xe04459(0x547)],_0x5c694b=_0x4ccb3e[_0xe04459(0x30a)],_0x18637f=_0x24edce['enc'];_0x18637f['Base64']={'stringify':function(_0x1e9479){var _0x2da1fb=_0xe04459,_0x45f4f2=_0x1e9479[_0x2da1fb(0x2d9)],_0x4f6982=_0x1e9479[_0x2da1fb(0x31a)],_0x2e5f5f=this['_map'];_0x1e9479[_0x2da1fb(0x259)]();for(var _0x3a2e6c=[],_0x24658a=0x0;_0x24658a<_0x4f6982;_0x24658a+=0x3)for(var _0x573f35=_0x45f4f2[_0x24658a>>>0x2]>>>0x18-_0x24658a%0x4*0x8&0xff,_0x18d6bc=_0x45f4f2[_0x24658a+0x1>>>0x2]>>>0x18-(_0x24658a+0x1)%0x4*0x8&0xff,_0x54223e=_0x45f4f2[_0x24658a+0x2>>>0x2]>>>0x18-(_0x24658a+0x2)%0x4*0x8&0xff,_0x37e747=_0x573f35<<0x10|_0x18d6bc<<0x8|_0x54223e,_0x4bd6e2=0x0;_0x4bd6e2<0x4&&_0x24658a+_0x4bd6e2*0.75<_0x4f6982;_0x4bd6e2++)_0x3a2e6c[_0x2da1fb(0x536)](_0x2e5f5f[_0x2da1fb(0x557)](_0x37e747>>>0x6*(0x3-_0x4bd6e2)&0x3f));var _0x55c3ab=_0x2e5f5f['charAt'](0x40);if(_0x55c3ab){for(;_0x3a2e6c['length']%0x4;)_0x3a2e6c['push'](_0x55c3ab);}return _0x3a2e6c[_0x2da1fb(0x290)]('');},'parse':function(_0x135ea0){var _0x202032=_0xe04459,_0x252899=_0x135ea0[_0x202032(0x1fe)],_0x6781e=this['_map'],_0x146cbe=this[_0x202032(0x294)];if(!_0x146cbe){_0x146cbe=this[_0x202032(0x294)]=[];for(var _0x43f2a8=0x0;_0x43f2a8<_0x6781e[_0x202032(0x1fe)];_0x43f2a8++)_0x146cbe[_0x6781e['charCodeAt'](_0x43f2a8)]=_0x43f2a8;}var _0x500811=_0x6781e[_0x202032(0x557)](0x40);if(_0x500811){var _0x423bea=_0x135ea0[_0x202032(0x23d)](_0x500811);_0x423bea!==-0x1&&(_0x252899=_0x423bea);}return _0x3b3dc6(_0x135ea0,_0x252899,_0x146cbe);},'_map':_0xe04459(0x3ec)};function _0x3b3dc6(_0x5f1771,_0x368e34,_0x485ffe){var _0x1c495c=_0xe04459;for(var _0x5adf4d=[],_0x1f939c=0x0,_0x51ff0e=0x0;_0x51ff0e<_0x368e34;_0x51ff0e++)if(_0x51ff0e%0x4){var _0x38e036=_0x485ffe[_0x5f1771[_0x1c495c(0x477)](_0x51ff0e-0x1)]<<_0x51ff0e%0x4*0x2,_0x24b957=_0x485ffe[_0x5f1771['charCodeAt'](_0x51ff0e)]>>>0x6-_0x51ff0e%0x4*0x2,_0x10d56e=_0x38e036|_0x24b957;_0x5adf4d[_0x1f939c>>>0x2]|=_0x10d56e<<0x18-_0x1f939c%0x4*0x8,_0x1f939c++;}return _0x5c694b['create'](_0x5adf4d,_0x1f939c);}}()),_0x5b8063[_0x25f2e6(0x3d6)][_0x25f2e6(0x2da)];}));}(pe)),pe['exports'];}var ge={'exports':{}},Di=ge[_0x772c99(0x3b6)],Xe;function Ui(){var _0x51a272=_0x772c99;return Xe||(Xe=0x1,function(_0x58ccd9,_0xf8942c){(function(_0x5043e5,_0x557493){var _0x5a441b=_0x5365;_0x58ccd9[_0x5a441b(0x3b6)]=_0x557493(Q());}(Di,function(_0x8829d5){var _0xb46990=_0x5365;return function(_0xd6e6fc){var _0x46d7ce=_0x5365,_0x297fed=_0x8829d5,_0x23cb87=_0x297fed[_0x46d7ce(0x547)],_0x360550=_0x23cb87[_0x46d7ce(0x30a)],_0x5a97ba=_0x23cb87[_0x46d7ce(0x342)],_0x2d2e40=_0x297fed[_0x46d7ce(0x2ae)],_0x39e5ce=[];(function(){var _0x2977b3=_0x46d7ce;for(var _0x1deb5c=0x0;_0x1deb5c<0x40;_0x1deb5c++)_0x39e5ce[_0x1deb5c]=_0xd6e6fc[_0x2977b3(0x223)](_0xd6e6fc[_0x2977b3(0x38d)](_0x1deb5c+0x1))*0x100000000|0x0;}());var _0x3547d9=_0x2d2e40[_0x46d7ce(0x2eb)]=_0x5a97ba[_0x46d7ce(0x1e7)]({'_doReset':function(){var _0xa43189=_0x46d7ce;this[_0xa43189(0x203)]=new _0x360550['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x224386,_0x40a1a6){var _0x50d7e2=_0x46d7ce;for(var _0x108e35=0x0;_0x108e35<0x10;_0x108e35++){var _0x36c535=_0x40a1a6+_0x108e35,_0x662e9b=_0x224386[_0x36c535];_0x224386[_0x36c535]=(_0x662e9b<<0x8|_0x662e9b>>>0x18)&0xff00ff|(_0x662e9b<<0x18|_0x662e9b>>>0x8)&0xff00ff00;}var _0x1ea5a8=this[_0x50d7e2(0x203)][_0x50d7e2(0x2d9)],_0x42b3db=_0x224386[_0x40a1a6+0x0],_0x21d1eb=_0x224386[_0x40a1a6+0x1],_0x1ec5f0=_0x224386[_0x40a1a6+0x2],_0x2c1165=_0x224386[_0x40a1a6+0x3],_0x4e720b=_0x224386[_0x40a1a6+0x4],_0x2625db=_0x224386[_0x40a1a6+0x5],_0x276875=_0x224386[_0x40a1a6+0x6],_0x3d09b2=_0x224386[_0x40a1a6+0x7],_0x4dae52=_0x224386[_0x40a1a6+0x8],_0x3f72c1=_0x224386[_0x40a1a6+0x9],_0x14ff0f=_0x224386[_0x40a1a6+0xa],_0x2095d5=_0x224386[_0x40a1a6+0xb],_0x44629c=_0x224386[_0x40a1a6+0xc],_0x58f159=_0x224386[_0x40a1a6+0xd],_0x5f3179=_0x224386[_0x40a1a6+0xe],_0x1478f8=_0x224386[_0x40a1a6+0xf],_0x4c9127=_0x1ea5a8[0x0],_0x1c072e=_0x1ea5a8[0x1],_0x15ff91=_0x1ea5a8[0x2],_0x505c32=_0x1ea5a8[0x3];_0x4c9127=_0x44b74e(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x42b3db,0x7,_0x39e5ce[0x0]),_0x505c32=_0x44b74e(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x21d1eb,0xc,_0x39e5ce[0x1]),_0x15ff91=_0x44b74e(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x1ec5f0,0x11,_0x39e5ce[0x2]),_0x1c072e=_0x44b74e(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x2c1165,0x16,_0x39e5ce[0x3]),_0x4c9127=_0x44b74e(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x4e720b,0x7,_0x39e5ce[0x4]),_0x505c32=_0x44b74e(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x2625db,0xc,_0x39e5ce[0x5]),_0x15ff91=_0x44b74e(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x276875,0x11,_0x39e5ce[0x6]),_0x1c072e=_0x44b74e(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x3d09b2,0x16,_0x39e5ce[0x7]),_0x4c9127=_0x44b74e(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x4dae52,0x7,_0x39e5ce[0x8]),_0x505c32=_0x44b74e(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x3f72c1,0xc,_0x39e5ce[0x9]),_0x15ff91=_0x44b74e(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x14ff0f,0x11,_0x39e5ce[0xa]),_0x1c072e=_0x44b74e(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x2095d5,0x16,_0x39e5ce[0xb]),_0x4c9127=_0x44b74e(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x44629c,0x7,_0x39e5ce[0xc]),_0x505c32=_0x44b74e(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x58f159,0xc,_0x39e5ce[0xd]),_0x15ff91=_0x44b74e(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x5f3179,0x11,_0x39e5ce[0xe]),_0x1c072e=_0x44b74e(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x1478f8,0x16,_0x39e5ce[0xf]),_0x4c9127=_0x1ab531(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x21d1eb,0x5,_0x39e5ce[0x10]),_0x505c32=_0x1ab531(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x276875,0x9,_0x39e5ce[0x11]),_0x15ff91=_0x1ab531(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x2095d5,0xe,_0x39e5ce[0x12]),_0x1c072e=_0x1ab531(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x42b3db,0x14,_0x39e5ce[0x13]),_0x4c9127=_0x1ab531(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x2625db,0x5,_0x39e5ce[0x14]),_0x505c32=_0x1ab531(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x14ff0f,0x9,_0x39e5ce[0x15]),_0x15ff91=_0x1ab531(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x1478f8,0xe,_0x39e5ce[0x16]),_0x1c072e=_0x1ab531(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x4e720b,0x14,_0x39e5ce[0x17]),_0x4c9127=_0x1ab531(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x3f72c1,0x5,_0x39e5ce[0x18]),_0x505c32=_0x1ab531(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x5f3179,0x9,_0x39e5ce[0x19]),_0x15ff91=_0x1ab531(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x2c1165,0xe,_0x39e5ce[0x1a]),_0x1c072e=_0x1ab531(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x4dae52,0x14,_0x39e5ce[0x1b]),_0x4c9127=_0x1ab531(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x58f159,0x5,_0x39e5ce[0x1c]),_0x505c32=_0x1ab531(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x1ec5f0,0x9,_0x39e5ce[0x1d]),_0x15ff91=_0x1ab531(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x3d09b2,0xe,_0x39e5ce[0x1e]),_0x1c072e=_0x1ab531(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x44629c,0x14,_0x39e5ce[0x1f]),_0x4c9127=_0x32bb4f(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x2625db,0x4,_0x39e5ce[0x20]),_0x505c32=_0x32bb4f(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x4dae52,0xb,_0x39e5ce[0x21]),_0x15ff91=_0x32bb4f(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x2095d5,0x10,_0x39e5ce[0x22]),_0x1c072e=_0x32bb4f(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x5f3179,0x17,_0x39e5ce[0x23]),_0x4c9127=_0x32bb4f(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x21d1eb,0x4,_0x39e5ce[0x24]),_0x505c32=_0x32bb4f(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x4e720b,0xb,_0x39e5ce[0x25]),_0x15ff91=_0x32bb4f(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x3d09b2,0x10,_0x39e5ce[0x26]),_0x1c072e=_0x32bb4f(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x14ff0f,0x17,_0x39e5ce[0x27]),_0x4c9127=_0x32bb4f(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x58f159,0x4,_0x39e5ce[0x28]),_0x505c32=_0x32bb4f(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x42b3db,0xb,_0x39e5ce[0x29]),_0x15ff91=_0x32bb4f(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x2c1165,0x10,_0x39e5ce[0x2a]),_0x1c072e=_0x32bb4f(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x276875,0x17,_0x39e5ce[0x2b]),_0x4c9127=_0x32bb4f(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x3f72c1,0x4,_0x39e5ce[0x2c]),_0x505c32=_0x32bb4f(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x44629c,0xb,_0x39e5ce[0x2d]),_0x15ff91=_0x32bb4f(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x1478f8,0x10,_0x39e5ce[0x2e]),_0x1c072e=_0x32bb4f(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x1ec5f0,0x17,_0x39e5ce[0x2f]),_0x4c9127=_0x438dbf(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x42b3db,0x6,_0x39e5ce[0x30]),_0x505c32=_0x438dbf(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x3d09b2,0xa,_0x39e5ce[0x31]),_0x15ff91=_0x438dbf(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x5f3179,0xf,_0x39e5ce[0x32]),_0x1c072e=_0x438dbf(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x2625db,0x15,_0x39e5ce[0x33]),_0x4c9127=_0x438dbf(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x44629c,0x6,_0x39e5ce[0x34]),_0x505c32=_0x438dbf(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x2c1165,0xa,_0x39e5ce[0x35]),_0x15ff91=_0x438dbf(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x14ff0f,0xf,_0x39e5ce[0x36]),_0x1c072e=_0x438dbf(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x21d1eb,0x15,_0x39e5ce[0x37]),_0x4c9127=_0x438dbf(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x4dae52,0x6,_0x39e5ce[0x38]),_0x505c32=_0x438dbf(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x1478f8,0xa,_0x39e5ce[0x39]),_0x15ff91=_0x438dbf(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x276875,0xf,_0x39e5ce[0x3a]),_0x1c072e=_0x438dbf(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x58f159,0x15,_0x39e5ce[0x3b]),_0x4c9127=_0x438dbf(_0x4c9127,_0x1c072e,_0x15ff91,_0x505c32,_0x4e720b,0x6,_0x39e5ce[0x3c]),_0x505c32=_0x438dbf(_0x505c32,_0x4c9127,_0x1c072e,_0x15ff91,_0x2095d5,0xa,_0x39e5ce[0x3d]),_0x15ff91=_0x438dbf(_0x15ff91,_0x505c32,_0x4c9127,_0x1c072e,_0x1ec5f0,0xf,_0x39e5ce[0x3e]),_0x1c072e=_0x438dbf(_0x1c072e,_0x15ff91,_0x505c32,_0x4c9127,_0x3f72c1,0x15,_0x39e5ce[0x3f]),_0x1ea5a8[0x0]=_0x1ea5a8[0x0]+_0x4c9127|0x0,_0x1ea5a8[0x1]=_0x1ea5a8[0x1]+_0x1c072e|0x0,_0x1ea5a8[0x2]=_0x1ea5a8[0x2]+_0x15ff91|0x0,_0x1ea5a8[0x3]=_0x1ea5a8[0x3]+_0x505c32|0x0;},'_doFinalize':function(){var _0x2ff3fe=_0x46d7ce,_0xff66d9=this[_0x2ff3fe(0x322)],_0x1c80eb=_0xff66d9[_0x2ff3fe(0x2d9)],_0x3d0335=this[_0x2ff3fe(0x2cb)]*0x8,_0x503ed4=_0xff66d9['sigBytes']*0x8;_0x1c80eb[_0x503ed4>>>0x5]|=0x80<<0x18-_0x503ed4%0x20;var _0x2fdb86=_0xd6e6fc['floor'](_0x3d0335/0x100000000),_0x49aed0=_0x3d0335;_0x1c80eb[(_0x503ed4+0x40>>>0x9<<0x4)+0xf]=(_0x2fdb86<<0x8|_0x2fdb86>>>0x18)&0xff00ff|(_0x2fdb86<<0x18|_0x2fdb86>>>0x8)&0xff00ff00,_0x1c80eb[(_0x503ed4+0x40>>>0x9<<0x4)+0xe]=(_0x49aed0<<0x8|_0x49aed0>>>0x18)&0xff00ff|(_0x49aed0<<0x18|_0x49aed0>>>0x8)&0xff00ff00,_0xff66d9[_0x2ff3fe(0x31a)]=(_0x1c80eb[_0x2ff3fe(0x1fe)]+0x1)*0x4,this[_0x2ff3fe(0x222)]();for(var _0x5b453c=this[_0x2ff3fe(0x203)],_0x14d167=_0x5b453c['words'],_0x48d094=0x0;_0x48d094<0x4;_0x48d094++){var _0x402bfc=_0x14d167[_0x48d094];_0x14d167[_0x48d094]=(_0x402bfc<<0x8|_0x402bfc>>>0x18)&0xff00ff|(_0x402bfc<<0x18|_0x402bfc>>>0x8)&0xff00ff00;}return _0x5b453c;},'clone':function(){var _0x2ba803=_0x46d7ce,_0x5415c3=_0x5a97ba[_0x2ba803(0x2e6)][_0x2ba803(0x300)](this);return _0x5415c3['_hash']=this[_0x2ba803(0x203)]['clone'](),_0x5415c3;}});function _0x44b74e(_0x47a203,_0x5c4035,_0x123261,_0x3f1d9d,_0x4dc9a5,_0xa4a4bf,_0x140497){var _0x434e03=_0x47a203+(_0x5c4035&_0x123261|~_0x5c4035&_0x3f1d9d)+_0x4dc9a5+_0x140497;return(_0x434e03<<_0xa4a4bf|_0x434e03>>>0x20-_0xa4a4bf)+_0x5c4035;}function _0x1ab531(_0x2b6316,_0x4e55ad,_0xc87773,_0x1b01e0,_0x2a0b95,_0x4ca8a5,_0x2200e7){var _0x1076a4=_0x2b6316+(_0x4e55ad&_0x1b01e0|_0xc87773&~_0x1b01e0)+_0x2a0b95+_0x2200e7;return(_0x1076a4<<_0x4ca8a5|_0x1076a4>>>0x20-_0x4ca8a5)+_0x4e55ad;}function _0x32bb4f(_0x2208f2,_0x59b760,_0x1f6e92,_0x1ebb35,_0x10b88b,_0x259003,_0x1a7bff){var _0x29962d=_0x2208f2+(_0x59b760^_0x1f6e92^_0x1ebb35)+_0x10b88b+_0x1a7bff;return(_0x29962d<<_0x259003|_0x29962d>>>0x20-_0x259003)+_0x59b760;}function _0x438dbf(_0x572b43,_0x171cb4,_0x27f7a5,_0x890278,_0x5af51a,_0x2ee649,_0x3b41e9){var _0x14e44a=_0x572b43+(_0x27f7a5^(_0x171cb4|~_0x890278))+_0x5af51a+_0x3b41e9;return(_0x14e44a<<_0x2ee649|_0x14e44a>>>0x20-_0x2ee649)+_0x171cb4;}_0x297fed[_0x46d7ce(0x2eb)]=_0x5a97ba['_createHelper'](_0x3547d9),_0x297fed[_0x46d7ce(0x501)]=_0x5a97ba[_0x46d7ce(0x3fc)](_0x3547d9);}(Math),_0x8829d5[_0xb46990(0x2eb)];}));}(ge)),ge[_0x51a272(0x3b6)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x772c99(0x3b6)],Ze;function Pi(){var _0x31f726=_0x772c99;return Ze||(Ze=0x1,function(_0x1e3efd,_0x2ed126){(function(_0x4115e5,_0x461bd9){var _0x1be893=_0x5365;_0x1e3efd[_0x1be893(0x3b6)]=_0x461bd9(Q());}(Ai,function(_0x44b1ad){var _0x534d77=_0x5365;return(function(){var _0x585a53=_0x5365,_0xb3867b=_0x44b1ad,_0x11375e=_0xb3867b[_0x585a53(0x547)],_0x4b0591=_0x11375e[_0x585a53(0x30a)],_0x1ac91f=_0x11375e['Hasher'],_0x23c941=_0xb3867b[_0x585a53(0x2ae)],_0x376985=[],_0x3e37c0=_0x23c941['SHA1']=_0x1ac91f[_0x585a53(0x1e7)]({'_doReset':function(){var _0x3b5884=_0x585a53;this[_0x3b5884(0x203)]=new _0x4b0591['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x8814c0,_0x59e515){var _0x431c22=_0x585a53;for(var _0x28a8ec=this[_0x431c22(0x203)][_0x431c22(0x2d9)],_0x3eb188=_0x28a8ec[0x0],_0x117df1=_0x28a8ec[0x1],_0x1ec3fb=_0x28a8ec[0x2],_0x13ab16=_0x28a8ec[0x3],_0x2dc93a=_0x28a8ec[0x4],_0x2fa771=0x0;_0x2fa771<0x50;_0x2fa771++){if(_0x2fa771<0x10)_0x376985[_0x2fa771]=_0x8814c0[_0x59e515+_0x2fa771]|0x0;else{var _0x2dab5c=_0x376985[_0x2fa771-0x3]^_0x376985[_0x2fa771-0x8]^_0x376985[_0x2fa771-0xe]^_0x376985[_0x2fa771-0x10];_0x376985[_0x2fa771]=_0x2dab5c<<0x1|_0x2dab5c>>>0x1f;}var _0x16ebe9=(_0x3eb188<<0x5|_0x3eb188>>>0x1b)+_0x2dc93a+_0x376985[_0x2fa771];_0x2fa771<0x14?_0x16ebe9+=(_0x117df1&_0x1ec3fb|~_0x117df1&_0x13ab16)+0x5a827999:_0x2fa771<0x28?_0x16ebe9+=(_0x117df1^_0x1ec3fb^_0x13ab16)+0x6ed9eba1:_0x2fa771<0x3c?_0x16ebe9+=(_0x117df1&_0x1ec3fb|_0x117df1&_0x13ab16|_0x1ec3fb&_0x13ab16)-0x70e44324:_0x16ebe9+=(_0x117df1^_0x1ec3fb^_0x13ab16)-0x359d3e2a,_0x2dc93a=_0x13ab16,_0x13ab16=_0x1ec3fb,_0x1ec3fb=_0x117df1<<0x1e|_0x117df1>>>0x2,_0x117df1=_0x3eb188,_0x3eb188=_0x16ebe9;}_0x28a8ec[0x0]=_0x28a8ec[0x0]+_0x3eb188|0x0,_0x28a8ec[0x1]=_0x28a8ec[0x1]+_0x117df1|0x0,_0x28a8ec[0x2]=_0x28a8ec[0x2]+_0x1ec3fb|0x0,_0x28a8ec[0x3]=_0x28a8ec[0x3]+_0x13ab16|0x0,_0x28a8ec[0x4]=_0x28a8ec[0x4]+_0x2dc93a|0x0;},'_doFinalize':function(){var _0x17a34a=_0x585a53,_0x327c0d=this[_0x17a34a(0x322)],_0x1e82e8=_0x327c0d['words'],_0x45e430=this[_0x17a34a(0x2cb)]*0x8,_0x53d258=_0x327c0d[_0x17a34a(0x31a)]*0x8;return _0x1e82e8[_0x53d258>>>0x5]|=0x80<<0x18-_0x53d258%0x20,_0x1e82e8[(_0x53d258+0x40>>>0x9<<0x4)+0xe]=Math[_0x17a34a(0x4d4)](_0x45e430/0x100000000),_0x1e82e8[(_0x53d258+0x40>>>0x9<<0x4)+0xf]=_0x45e430,_0x327c0d['sigBytes']=_0x1e82e8[_0x17a34a(0x1fe)]*0x4,this[_0x17a34a(0x222)](),this[_0x17a34a(0x203)];},'clone':function(){var _0x1e9a68=_0x585a53,_0xacbf6b=_0x1ac91f[_0x1e9a68(0x2e6)][_0x1e9a68(0x300)](this);return _0xacbf6b[_0x1e9a68(0x203)]=this[_0x1e9a68(0x203)][_0x1e9a68(0x2e6)](),_0xacbf6b;}});_0xb3867b['SHA1']=_0x1ac91f['_createHelper'](_0x3e37c0),_0xb3867b[_0x585a53(0x431)]=_0x1ac91f[_0x585a53(0x3fc)](_0x3e37c0);}()),_0x44b1ad[_0x534d77(0x39b)];}));}(me)),me[_0x31f726(0x3b6)];}var Ce={'exports':{}},Li=Ce[_0x772c99(0x3b6)],Qe;function wi(){return Qe||(Qe=0x1,function(_0x527335,_0x6c71f7){(function(_0x1e3a88,_0x435dca){var _0x4a9044=_0x5365;_0x527335[_0x4a9044(0x3b6)]=_0x435dca(Q());}(Li,function(_0x55ac4f){(function(){var _0x2f8c26=_0x5365,_0x21c8a2=_0x55ac4f,_0x2e63dc=_0x21c8a2[_0x2f8c26(0x547)],_0x2b08dc=_0x2e63dc[_0x2f8c26(0x48c)],_0x242037=_0x21c8a2[_0x2f8c26(0x3d6)],_0x45e01d=_0x242037[_0x2f8c26(0x4f4)],_0x346dc1=_0x21c8a2['algo'];_0x346dc1[_0x2f8c26(0x4c8)]=_0x2b08dc[_0x2f8c26(0x1e7)]({'init':function(_0x4de7dd,_0x1e5b58){var _0x2b5f82=_0x2f8c26;_0x4de7dd=this[_0x2b5f82(0x3f8)]=new _0x4de7dd[(_0x2b5f82(0x2ac))](),typeof _0x1e5b58==_0x2b5f82(0x4e1)&&(_0x1e5b58=_0x45e01d[_0x2b5f82(0x288)](_0x1e5b58));var _0x1b37f0=_0x4de7dd[_0x2b5f82(0x43b)],_0x3070f1=_0x1b37f0*0x4;_0x1e5b58[_0x2b5f82(0x31a)]>_0x3070f1&&(_0x1e5b58=_0x4de7dd[_0x2b5f82(0x1f7)](_0x1e5b58)),_0x1e5b58[_0x2b5f82(0x259)]();for(var _0x1eb21c=this[_0x2b5f82(0x311)]=_0x1e5b58[_0x2b5f82(0x2e6)](),_0x3169cb=this[_0x2b5f82(0x440)]=_0x1e5b58['clone'](),_0x2795ae=_0x1eb21c[_0x2b5f82(0x2d9)],_0x1b4984=_0x3169cb[_0x2b5f82(0x2d9)],_0x11ae58=0x0;_0x11ae58<_0x1b37f0;_0x11ae58++)_0x2795ae[_0x11ae58]^=0x5c5c5c5c,_0x1b4984[_0x11ae58]^=0x36363636;_0x1eb21c[_0x2b5f82(0x31a)]=_0x3169cb[_0x2b5f82(0x31a)]=_0x3070f1,this[_0x2b5f82(0x279)]();},'reset':function(){var _0x1abf6f=_0x2f8c26,_0x58d3fd=this[_0x1abf6f(0x3f8)];_0x58d3fd[_0x1abf6f(0x279)](),_0x58d3fd[_0x1abf6f(0x2ea)](this[_0x1abf6f(0x440)]);},'update':function(_0x1e77db){var _0x1a3508=_0x2f8c26;return this[_0x1a3508(0x3f8)][_0x1a3508(0x2ea)](_0x1e77db),this;},'finalize':function(_0x3680f8){var _0x4096c1=_0x2f8c26,_0x11b8bb=this[_0x4096c1(0x3f8)],_0x6bdfcd=_0x11b8bb['finalize'](_0x3680f8);_0x11b8bb[_0x4096c1(0x279)]();var _0x450216=_0x11b8bb[_0x4096c1(0x1f7)](this['_oKey'][_0x4096c1(0x2e6)]()[_0x4096c1(0x54e)](_0x6bdfcd));return _0x450216;}});}());}));}(Ce)),Ce['exports'];}var Mi=Ee['exports'],et;function Nt(){return et||(et=0x1,function(_0x598592,_0x4f7c3a){(function(_0x212195,_0x1afb2d,_0x2f2646){var _0xb26767=_0x5365;_0x598592[_0xb26767(0x3b6)]=_0x1afb2d(Q(),Pi(),wi());}(Mi,function(_0x2ea812){var _0x387e98=_0x5365;return(function(){var _0x40b501=_0x5365,_0x1aaa28=_0x2ea812,_0x84c099=_0x1aaa28[_0x40b501(0x547)],_0x3fab60=_0x84c099[_0x40b501(0x48c)],_0x3da2f3=_0x84c099[_0x40b501(0x30a)],_0x1636ba=_0x1aaa28[_0x40b501(0x2ae)],_0x47f31c=_0x1636ba[_0x40b501(0x2eb)],_0x2390c4=_0x1636ba[_0x40b501(0x488)]=_0x3fab60[_0x40b501(0x1e7)]({'cfg':_0x3fab60[_0x40b501(0x1e7)]({'keySize':0x80/0x20,'hasher':_0x47f31c,'iterations':0x1}),'init':function(_0x410d7a){var _0x219a01=_0x40b501;this[_0x219a01(0x2fa)]=this['cfg']['extend'](_0x410d7a);},'compute':function(_0x478906,_0x2c213f){var _0x40c458=_0x40b501;for(var _0x20f00e,_0x5e7e43=this[_0x40c458(0x2fa)],_0x1c69b4=_0x5e7e43[_0x40c458(0x218)][_0x40c458(0x4fa)](),_0x261b89=_0x3da2f3[_0x40c458(0x4fa)](),_0x37f06c=_0x261b89[_0x40c458(0x2d9)],_0xa8d43=_0x5e7e43[_0x40c458(0x435)],_0x59e0dc=_0x5e7e43[_0x40c458(0x493)];_0x37f06c[_0x40c458(0x1fe)]<_0xa8d43;){_0x20f00e&&_0x1c69b4['update'](_0x20f00e),_0x20f00e=_0x1c69b4[_0x40c458(0x2ea)](_0x478906)[_0x40c458(0x1f7)](_0x2c213f),_0x1c69b4[_0x40c458(0x279)]();for(var _0xbd4b1b=0x1;_0xbd4b1b<_0x59e0dc;_0xbd4b1b++)_0x20f00e=_0x1c69b4[_0x40c458(0x1f7)](_0x20f00e),_0x1c69b4[_0x40c458(0x279)]();_0x261b89[_0x40c458(0x54e)](_0x20f00e);}return _0x261b89[_0x40c458(0x31a)]=_0xa8d43*0x4,_0x261b89;}});_0x1aaa28[_0x40b501(0x488)]=function(_0x56ba4b,_0x5b51f2,_0x36dc59){var _0x2a4c6b=_0x40b501;return _0x2390c4[_0x2a4c6b(0x4fa)](_0x36dc59)['compute'](_0x56ba4b,_0x5b51f2);};}()),_0x2ea812[_0x387e98(0x488)];}));}(Ee)),Ee['exports'];}var Te={'exports':{}},xi=Te[_0x772c99(0x3b6)],tt;function Dt(){var _0x469967=_0x772c99;return tt||(tt=0x1,function(_0x23f30c,_0x4a21f0){(function(_0x25da57,_0x13ed37,_0x12b7d9){var _0x7eeb2f=_0x5365;_0x23f30c[_0x7eeb2f(0x3b6)]=_0x13ed37(Q(),Nt());}(xi,function(_0x5cdb5b){var _0x39e36f=_0x5365;_0x5cdb5b[_0x39e36f(0x547)][_0x39e36f(0x401)]||function(_0x51bfd1){var _0x49a400=_0x39e36f,_0x5f4637=_0x5cdb5b,_0x546045=_0x5f4637[_0x49a400(0x547)],_0x4542ef=_0x546045[_0x49a400(0x48c)],_0x194a74=_0x546045[_0x49a400(0x30a)],_0x57fc33=_0x546045['BufferedBlockAlgorithm'],_0x2be480=_0x5f4637[_0x49a400(0x3d6)];_0x2be480[_0x49a400(0x4f4)];var _0x4321ae=_0x2be480[_0x49a400(0x2da)],_0x296b86=_0x5f4637[_0x49a400(0x2ae)],_0x50aee4=_0x296b86['EvpKDF'],_0x4b79aa=_0x546045[_0x49a400(0x401)]=_0x57fc33[_0x49a400(0x1e7)]({'cfg':_0x4542ef[_0x49a400(0x1e7)](),'createEncryptor':function(_0x7388e5,_0x1e8d5d){var _0x19c23a=_0x49a400;return this[_0x19c23a(0x4fa)](this['_ENC_XFORM_MODE'],_0x7388e5,_0x1e8d5d);},'createDecryptor':function(_0x3d5489,_0x273ad1){var _0x3be7cd=_0x49a400;return this[_0x3be7cd(0x4fa)](this[_0x3be7cd(0x3a1)],_0x3d5489,_0x273ad1);},'init':function(_0x46cdce,_0x321050,_0x29f92a){var _0x4051cc=_0x49a400;this['cfg']=this['cfg'][_0x4051cc(0x1e7)](_0x29f92a),this[_0x4051cc(0x3a5)]=_0x46cdce,this[_0x4051cc(0x3b8)]=_0x321050,this[_0x4051cc(0x279)]();},'reset':function(){var _0x456d33=_0x49a400;_0x57fc33[_0x456d33(0x279)]['call'](this),this[_0x456d33(0x459)]();},'process':function(_0x503665){var _0x5e1f83=_0x49a400;return this[_0x5e1f83(0x4a6)](_0x503665),this['_process']();},'finalize':function(_0x4667a6){var _0x27fc43=_0x49a400;_0x4667a6&&this[_0x27fc43(0x4a6)](_0x4667a6);var _0x2e809e=this['_doFinalize']();return _0x2e809e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5449fc(_0x41b688){return typeof _0x41b688=='string'?_0x423399:_0x65a13d;}return function(_0xd0a83a){return{'encrypt':function(_0x3e60ee,_0x4a9809,_0x5c2dc2){var _0x5329d7=_0x5365;return _0x5449fc(_0x4a9809)[_0x5329d7(0x249)](_0xd0a83a,_0x3e60ee,_0x4a9809,_0x5c2dc2);},'decrypt':function(_0x4c5ff8,_0x4df337,_0x6a7d9a){var _0x5779b9=_0x5365;return _0x5449fc(_0x4df337)[_0x5779b9(0x473)](_0xd0a83a,_0x4c5ff8,_0x4df337,_0x6a7d9a);}};};}())});_0x546045[_0x49a400(0x35e)]=_0x4b79aa[_0x49a400(0x1e7)]({'_doFinalize':function(){var _0x3a70ed=_0x49a400,_0x58953c=this[_0x3a70ed(0x222)](!0x0);return _0x58953c;},'blockSize':0x1});var _0x19cc7d=_0x5f4637[_0x49a400(0x316)]={},_0x447e80=_0x546045[_0x49a400(0x48a)]=_0x4542ef[_0x49a400(0x1e7)]({'createEncryptor':function(_0x43ced8,_0x13b357){var _0x388d5d=_0x49a400;return this['Encryptor'][_0x388d5d(0x4fa)](_0x43ced8,_0x13b357);},'createDecryptor':function(_0x1e9231,_0x50e52c){var _0x4e26a6=_0x49a400;return this[_0x4e26a6(0x31d)][_0x4e26a6(0x4fa)](_0x1e9231,_0x50e52c);},'init':function(_0x3d23aa,_0x3e8c54){var _0x242803=_0x49a400;this[_0x242803(0x3df)]=_0x3d23aa,this[_0x242803(0x42a)]=_0x3e8c54;}}),_0x5bcb9d=_0x19cc7d['CBC']=(function(){var _0x4bb137=_0x49a400,_0x1295d2=_0x447e80[_0x4bb137(0x1e7)]();_0x1295d2[_0x4bb137(0x282)]=_0x1295d2[_0x4bb137(0x1e7)]({'processBlock':function(_0x52ad10,_0x54d121){var _0x420932=_0x4bb137,_0x4e1774=this[_0x420932(0x3df)],_0x3f8d4c=_0x4e1774[_0x420932(0x43b)];_0x14e2b4['call'](this,_0x52ad10,_0x54d121,_0x3f8d4c),_0x4e1774[_0x420932(0x556)](_0x52ad10,_0x54d121),this[_0x420932(0x3ca)]=_0x52ad10['slice'](_0x54d121,_0x54d121+_0x3f8d4c);}}),_0x1295d2[_0x4bb137(0x31d)]=_0x1295d2[_0x4bb137(0x1e7)]({'processBlock':function(_0x3d6edd,_0x287809){var _0x65adcd=_0x4bb137,_0x118daf=this[_0x65adcd(0x3df)],_0x17d82c=_0x118daf[_0x65adcd(0x43b)],_0x277f69=_0x3d6edd[_0x65adcd(0x4df)](_0x287809,_0x287809+_0x17d82c);_0x118daf[_0x65adcd(0x413)](_0x3d6edd,_0x287809),_0x14e2b4[_0x65adcd(0x300)](this,_0x3d6edd,_0x287809,_0x17d82c),this['_prevBlock']=_0x277f69;}});function _0x14e2b4(_0x4cbb9f,_0x32461f,_0x3c91f0){var _0x12c6e3=_0x4bb137,_0x2e6018,_0x9cb47e=this[_0x12c6e3(0x42a)];_0x9cb47e?(_0x2e6018=_0x9cb47e,this[_0x12c6e3(0x42a)]=_0x51bfd1):_0x2e6018=this[_0x12c6e3(0x3ca)];for(var _0x15ca2a=0x0;_0x15ca2a<_0x3c91f0;_0x15ca2a++)_0x4cbb9f[_0x32461f+_0x15ca2a]^=_0x2e6018[_0x15ca2a];}return _0x1295d2;}()),_0x72f121=_0x5f4637[_0x49a400(0x1e2)]={},_0x47cc8e=_0x72f121[_0x49a400(0x301)]={'pad':function(_0x239d92,_0x326ccd){var _0x221b33=_0x49a400;for(var _0x105f33=_0x326ccd*0x4,_0x13b7b6=_0x105f33-_0x239d92['sigBytes']%_0x105f33,_0x44fdc4=_0x13b7b6<<0x18|_0x13b7b6<<0x10|_0x13b7b6<<0x8|_0x13b7b6,_0xd81600=[],_0x4279c0=0x0;_0x4279c0<_0x13b7b6;_0x4279c0+=0x4)_0xd81600[_0x221b33(0x536)](_0x44fdc4);var _0x1f213d=_0x194a74[_0x221b33(0x4fa)](_0xd81600,_0x13b7b6);_0x239d92[_0x221b33(0x54e)](_0x1f213d);},'unpad':function(_0x3ac79d){var _0x486b3b=_0x49a400,_0x224a94=_0x3ac79d[_0x486b3b(0x2d9)][_0x3ac79d[_0x486b3b(0x31a)]-0x1>>>0x2]&0xff;_0x3ac79d[_0x486b3b(0x31a)]-=_0x224a94;}};_0x546045[_0x49a400(0x3f1)]=_0x4b79aa['extend']({'cfg':_0x4b79aa[_0x49a400(0x2fa)][_0x49a400(0x1e7)]({'mode':_0x5bcb9d,'padding':_0x47cc8e}),'reset':function(){var _0x43fd2a=_0x49a400,_0x2653ff;_0x4b79aa[_0x43fd2a(0x279)][_0x43fd2a(0x300)](this);var _0x5e830a=this[_0x43fd2a(0x2fa)],_0x3a8cfa=_0x5e830a['iv'],_0x374003=_0x5e830a[_0x43fd2a(0x316)];this['_xformMode']==this[_0x43fd2a(0x309)]?_0x2653ff=_0x374003[_0x43fd2a(0x4d8)]:(_0x2653ff=_0x374003[_0x43fd2a(0x32b)],this['_minBufferSize']=0x1),this[_0x43fd2a(0x2d8)]&&this['_mode']['__creator']==_0x2653ff?this[_0x43fd2a(0x2d8)][_0x43fd2a(0x2ac)](this,_0x3a8cfa&&_0x3a8cfa[_0x43fd2a(0x2d9)]):(this['_mode']=_0x2653ff['call'](_0x374003,this,_0x3a8cfa&&_0x3a8cfa[_0x43fd2a(0x2d9)]),this[_0x43fd2a(0x2d8)]['__creator']=_0x2653ff);},'_doProcessBlock':function(_0x38eac1,_0x9877bc){var _0x408f11=_0x49a400;this[_0x408f11(0x2d8)][_0x408f11(0x258)](_0x38eac1,_0x9877bc);},'_doFinalize':function(){var _0x1bf7e2=_0x49a400,_0x257773,_0x4e4173=this[_0x1bf7e2(0x2fa)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x4e4173[_0x1bf7e2(0x1e2)](this[_0x1bf7e2(0x322)],this[_0x1bf7e2(0x43b)]),_0x257773=this[_0x1bf7e2(0x222)](!0x0)):(_0x257773=this[_0x1bf7e2(0x222)](!0x0),_0x4e4173[_0x1bf7e2(0x528)](_0x257773)),_0x257773;},'blockSize':0x80/0x20});var _0x1149bb=_0x546045[_0x49a400(0x429)]=_0x4542ef[_0x49a400(0x1e7)]({'init':function(_0x13e37d){var _0x5b164d=_0x49a400;this[_0x5b164d(0x392)](_0x13e37d);},'toString':function(_0x431c7b){var _0x192164=_0x49a400;return(_0x431c7b||this[_0x192164(0x318)])[_0x192164(0x371)](this);}}),_0x21353e=_0x5f4637['format']={},_0xf194a1=_0x21353e['OpenSSL']={'stringify':function(_0xe8438){var _0x485aa7=_0x49a400,_0x4930de,_0xfdc20a=_0xe8438[_0x485aa7(0x38b)],_0x9b03=_0xe8438['salt'];return _0x9b03?_0x4930de=_0x194a74[_0x485aa7(0x4fa)]([0x53616c74,0x65645f5f])[_0x485aa7(0x54e)](_0x9b03)[_0x485aa7(0x54e)](_0xfdc20a):_0x4930de=_0xfdc20a,_0x4930de[_0x485aa7(0x4b0)](_0x4321ae);},'parse':function(_0x10cc78){var _0x27e4ce=_0x49a400,_0x404d36,_0x576bec=_0x4321ae['parse'](_0x10cc78),_0x70bbaa=_0x576bec['words'];return _0x70bbaa[0x0]==0x53616c74&&_0x70bbaa[0x1]==0x65645f5f&&(_0x404d36=_0x194a74['create'](_0x70bbaa[_0x27e4ce(0x4df)](0x2,0x4)),_0x70bbaa[_0x27e4ce(0x3c3)](0x0,0x4),_0x576bec[_0x27e4ce(0x31a)]-=0x10),_0x1149bb[_0x27e4ce(0x4fa)]({'ciphertext':_0x576bec,'salt':_0x404d36});}},_0x65a13d=_0x546045[_0x49a400(0x383)]=_0x4542ef['extend']({'cfg':_0x4542ef[_0x49a400(0x1e7)]({'format':_0xf194a1}),'encrypt':function(_0x2949d5,_0x120277,_0x1fa4fa,_0x2a6478){var _0x48cc81=_0x49a400;_0x2a6478=this[_0x48cc81(0x2fa)][_0x48cc81(0x1e7)](_0x2a6478);var _0x3165ab=_0x2949d5['createEncryptor'](_0x1fa4fa,_0x2a6478),_0x5b1044=_0x3165ab[_0x48cc81(0x1f7)](_0x120277),_0x571d87=_0x3165ab['cfg'];return _0x1149bb[_0x48cc81(0x4fa)]({'ciphertext':_0x5b1044,'key':_0x1fa4fa,'iv':_0x571d87['iv'],'algorithm':_0x2949d5,'mode':_0x571d87['mode'],'padding':_0x571d87[_0x48cc81(0x506)],'blockSize':_0x2949d5[_0x48cc81(0x43b)],'formatter':_0x2a6478['format']});},'decrypt':function(_0x23ec24,_0x1191cc,_0x2cfafb,_0x4b596b){var _0x3e72a9=_0x49a400;_0x4b596b=this[_0x3e72a9(0x2fa)][_0x3e72a9(0x1e7)](_0x4b596b),_0x1191cc=this[_0x3e72a9(0x452)](_0x1191cc,_0x4b596b['format']);var _0x2180d6=_0x23ec24[_0x3e72a9(0x32b)](_0x2cfafb,_0x4b596b)[_0x3e72a9(0x1f7)](_0x1191cc[_0x3e72a9(0x38b)]);return _0x2180d6;},'_parse':function(_0x25933c,_0x1fd646){var _0x5cb0f9=_0x49a400;return typeof _0x25933c==_0x5cb0f9(0x4e1)?_0x1fd646[_0x5cb0f9(0x288)](_0x25933c,this):_0x25933c;}}),_0x50ced1=_0x5f4637[_0x49a400(0x33f)]={},_0x1c7092=_0x50ced1[_0x49a400(0x323)]={'execute':function(_0xa95280,_0x3ac1b0,_0x5a7399,_0x4f0f09,_0x408744){var _0x5acab1=_0x49a400;if(_0x4f0f09||(_0x4f0f09=_0x194a74['random'](0x40/0x8)),_0x408744)var _0x4a8446=_0x50aee4['create']({'keySize':_0x3ac1b0+_0x5a7399,'hasher':_0x408744})[_0x5acab1(0x4d2)](_0xa95280,_0x4f0f09);else var _0x4a8446=_0x50aee4['create']({'keySize':_0x3ac1b0+_0x5a7399})['compute'](_0xa95280,_0x4f0f09);var _0x6db78a=_0x194a74['create'](_0x4a8446[_0x5acab1(0x2d9)]['slice'](_0x3ac1b0),_0x5a7399*0x4);return _0x4a8446[_0x5acab1(0x31a)]=_0x3ac1b0*0x4,_0x1149bb[_0x5acab1(0x4fa)]({'key':_0x4a8446,'iv':_0x6db78a,'salt':_0x4f0f09});}},_0x423399=_0x546045['PasswordBasedCipher']=_0x65a13d['extend']({'cfg':_0x65a13d[_0x49a400(0x2fa)][_0x49a400(0x1e7)]({'kdf':_0x1c7092}),'encrypt':function(_0x872b52,_0x331bb6,_0x39b2f2,_0x450680){var _0x31b2bd=_0x49a400;_0x450680=this['cfg'][_0x31b2bd(0x1e7)](_0x450680);var _0x226331=_0x450680[_0x31b2bd(0x33f)][_0x31b2bd(0x4c4)](_0x39b2f2,_0x872b52[_0x31b2bd(0x435)],_0x872b52[_0x31b2bd(0x419)],_0x450680[_0x31b2bd(0x45d)],_0x450680[_0x31b2bd(0x218)]);_0x450680['iv']=_0x226331['iv'];var _0x4b1da9=_0x65a13d[_0x31b2bd(0x249)][_0x31b2bd(0x300)](this,_0x872b52,_0x331bb6,_0x226331[_0x31b2bd(0x421)],_0x450680);return _0x4b1da9[_0x31b2bd(0x392)](_0x226331),_0x4b1da9;},'decrypt':function(_0x57c102,_0x194472,_0x5f18c3,_0x4df345){var _0x56bff7=_0x49a400;_0x4df345=this['cfg'][_0x56bff7(0x1e7)](_0x4df345),_0x194472=this['_parse'](_0x194472,_0x4df345['format']);var _0x5883ab=_0x4df345[_0x56bff7(0x33f)]['execute'](_0x5f18c3,_0x57c102[_0x56bff7(0x435)],_0x57c102[_0x56bff7(0x419)],_0x194472['salt'],_0x4df345[_0x56bff7(0x218)]);_0x4df345['iv']=_0x5883ab['iv'];var _0x297010=_0x65a13d[_0x56bff7(0x473)]['call'](this,_0x57c102,_0x194472,_0x5883ab['key'],_0x4df345);return _0x297010;}});}();}));}(Te)),Te[_0x469967(0x3b6)];}var ki=fe[_0x772c99(0x3b6)],it;function Hi(){var _0x88be24=_0x772c99;return it||(it=0x1,function(_0x148920,_0x57b3bd){(function(_0x4d0531,_0x13aa4e,_0x54689e){var _0x37562b=_0x5365;_0x148920[_0x37562b(0x3b6)]=_0x13aa4e(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x2303ab){return(function(){var _0x2bb986=_0x5365,_0x270c33=_0x2303ab,_0x3dcb49=_0x270c33[_0x2bb986(0x547)],_0x4ae58b=_0x3dcb49[_0x2bb986(0x3f1)],_0x1a2f5e=_0x270c33['algo'],_0x504e8a=[],_0x3b1963=[],_0x5d1e0a=[],_0x23098d=[],_0x3ea5e6=[],_0xeb0e39=[],_0x145ff4=[],_0x584222=[],_0x163f47=[],_0x49519e=[];(function(){for(var _0x27920e=[],_0x3440c1=0x0;_0x3440c1<0x100;_0x3440c1++)_0x3440c1<0x80?_0x27920e[_0x3440c1]=_0x3440c1<<0x1:_0x27920e[_0x3440c1]=_0x3440c1<<0x1^0x11b;for(var _0x3819eb=0x0,_0x889d95=0x0,_0x3440c1=0x0;_0x3440c1<0x100;_0x3440c1++){var _0x53d268=_0x889d95^_0x889d95<<0x1^_0x889d95<<0x2^_0x889d95<<0x3^_0x889d95<<0x4;_0x53d268=_0x53d268>>>0x8^_0x53d268&0xff^0x63,_0x504e8a[_0x3819eb]=_0x53d268,_0x3b1963[_0x53d268]=_0x3819eb;var _0x5e1043=_0x27920e[_0x3819eb],_0x3c725d=_0x27920e[_0x5e1043],_0x476dcd=_0x27920e[_0x3c725d],_0x2fc25a=_0x27920e[_0x53d268]*0x101^_0x53d268*0x1010100;_0x5d1e0a[_0x3819eb]=_0x2fc25a<<0x18|_0x2fc25a>>>0x8,_0x23098d[_0x3819eb]=_0x2fc25a<<0x10|_0x2fc25a>>>0x10,_0x3ea5e6[_0x3819eb]=_0x2fc25a<<0x8|_0x2fc25a>>>0x18,_0xeb0e39[_0x3819eb]=_0x2fc25a;var _0x2fc25a=_0x476dcd*0x1010101^_0x3c725d*0x10001^_0x5e1043*0x101^_0x3819eb*0x1010100;_0x145ff4[_0x53d268]=_0x2fc25a<<0x18|_0x2fc25a>>>0x8,_0x584222[_0x53d268]=_0x2fc25a<<0x10|_0x2fc25a>>>0x10,_0x163f47[_0x53d268]=_0x2fc25a<<0x8|_0x2fc25a>>>0x18,_0x49519e[_0x53d268]=_0x2fc25a,_0x3819eb?(_0x3819eb=_0x5e1043^_0x27920e[_0x27920e[_0x27920e[_0x476dcd^_0x5e1043]]],_0x889d95^=_0x27920e[_0x27920e[_0x889d95]]):_0x3819eb=_0x889d95=0x1;}}());var _0x233516=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x49eb88=_0x1a2f5e[_0x2bb986(0x2f7)]=_0x4ae58b[_0x2bb986(0x1e7)]({'_doReset':function(){var _0x57ee26=_0x2bb986,_0x270ca6;if(!(this[_0x57ee26(0x29f)]&&this[_0x57ee26(0x523)]===this['_key'])){for(var _0x3b8f81=this[_0x57ee26(0x523)]=this['_key'],_0x6989=_0x3b8f81[_0x57ee26(0x2d9)],_0x3ad6cf=_0x3b8f81[_0x57ee26(0x31a)]/0x4,_0x22e528=this[_0x57ee26(0x29f)]=_0x3ad6cf+0x6,_0x46e0aa=(_0x22e528+0x1)*0x4,_0x179128=this['_keySchedule']=[],_0x200723=0x0;_0x200723<_0x46e0aa;_0x200723++)_0x200723<_0x3ad6cf?_0x179128[_0x200723]=_0x6989[_0x200723]:(_0x270ca6=_0x179128[_0x200723-0x1],_0x200723%_0x3ad6cf?_0x3ad6cf>0x6&&_0x200723%_0x3ad6cf==0x4&&(_0x270ca6=_0x504e8a[_0x270ca6>>>0x18]<<0x18|_0x504e8a[_0x270ca6>>>0x10&0xff]<<0x10|_0x504e8a[_0x270ca6>>>0x8&0xff]<<0x8|_0x504e8a[_0x270ca6&0xff]):(_0x270ca6=_0x270ca6<<0x8|_0x270ca6>>>0x18,_0x270ca6=_0x504e8a[_0x270ca6>>>0x18]<<0x18|_0x504e8a[_0x270ca6>>>0x10&0xff]<<0x10|_0x504e8a[_0x270ca6>>>0x8&0xff]<<0x8|_0x504e8a[_0x270ca6&0xff],_0x270ca6^=_0x233516[_0x200723/_0x3ad6cf|0x0]<<0x18),_0x179128[_0x200723]=_0x179128[_0x200723-_0x3ad6cf]^_0x270ca6);for(var _0x476ed2=this[_0x57ee26(0x3b0)]=[],_0x1394eb=0x0;_0x1394eb<_0x46e0aa;_0x1394eb++){var _0x200723=_0x46e0aa-_0x1394eb;if(_0x1394eb%0x4)var _0x270ca6=_0x179128[_0x200723];else var _0x270ca6=_0x179128[_0x200723-0x4];_0x1394eb<0x4||_0x200723<=0x4?_0x476ed2[_0x1394eb]=_0x270ca6:_0x476ed2[_0x1394eb]=_0x145ff4[_0x504e8a[_0x270ca6>>>0x18]]^_0x584222[_0x504e8a[_0x270ca6>>>0x10&0xff]]^_0x163f47[_0x504e8a[_0x270ca6>>>0x8&0xff]]^_0x49519e[_0x504e8a[_0x270ca6&0xff]];}}},'encryptBlock':function(_0x65e9b0,_0x4735a3){var _0x2ad67b=_0x2bb986;this['_doCryptBlock'](_0x65e9b0,_0x4735a3,this[_0x2ad67b(0x412)],_0x5d1e0a,_0x23098d,_0x3ea5e6,_0xeb0e39,_0x504e8a);},'decryptBlock':function(_0xe95bda,_0x448030){var _0x2ba0dc=_0x2bb986,_0x4ee58c=_0xe95bda[_0x448030+0x1];_0xe95bda[_0x448030+0x1]=_0xe95bda[_0x448030+0x3],_0xe95bda[_0x448030+0x3]=_0x4ee58c,this[_0x2ba0dc(0x2c1)](_0xe95bda,_0x448030,this[_0x2ba0dc(0x3b0)],_0x145ff4,_0x584222,_0x163f47,_0x49519e,_0x3b1963);var _0x4ee58c=_0xe95bda[_0x448030+0x1];_0xe95bda[_0x448030+0x1]=_0xe95bda[_0x448030+0x3],_0xe95bda[_0x448030+0x3]=_0x4ee58c;},'_doCryptBlock':function(_0x4c2f2f,_0x19883a,_0x1ff996,_0xd8c49f,_0x45c6a0,_0x714cc4,_0xdec1bb,_0x3a61a7){var _0x13e5b3=_0x2bb986;for(var _0x2d82c8=this[_0x13e5b3(0x29f)],_0x24122c=_0x4c2f2f[_0x19883a]^_0x1ff996[0x0],_0x8df765=_0x4c2f2f[_0x19883a+0x1]^_0x1ff996[0x1],_0x14e9aa=_0x4c2f2f[_0x19883a+0x2]^_0x1ff996[0x2],_0x78b702=_0x4c2f2f[_0x19883a+0x3]^_0x1ff996[0x3],_0x203e71=0x4,_0x44874b=0x1;_0x44874b<_0x2d82c8;_0x44874b++){var _0x5c5751=_0xd8c49f[_0x24122c>>>0x18]^_0x45c6a0[_0x8df765>>>0x10&0xff]^_0x714cc4[_0x14e9aa>>>0x8&0xff]^_0xdec1bb[_0x78b702&0xff]^_0x1ff996[_0x203e71++],_0x27bb21=_0xd8c49f[_0x8df765>>>0x18]^_0x45c6a0[_0x14e9aa>>>0x10&0xff]^_0x714cc4[_0x78b702>>>0x8&0xff]^_0xdec1bb[_0x24122c&0xff]^_0x1ff996[_0x203e71++],_0x99461=_0xd8c49f[_0x14e9aa>>>0x18]^_0x45c6a0[_0x78b702>>>0x10&0xff]^_0x714cc4[_0x24122c>>>0x8&0xff]^_0xdec1bb[_0x8df765&0xff]^_0x1ff996[_0x203e71++],_0x3ef8c9=_0xd8c49f[_0x78b702>>>0x18]^_0x45c6a0[_0x24122c>>>0x10&0xff]^_0x714cc4[_0x8df765>>>0x8&0xff]^_0xdec1bb[_0x14e9aa&0xff]^_0x1ff996[_0x203e71++];_0x24122c=_0x5c5751,_0x8df765=_0x27bb21,_0x14e9aa=_0x99461,_0x78b702=_0x3ef8c9;}var _0x5c5751=(_0x3a61a7[_0x24122c>>>0x18]<<0x18|_0x3a61a7[_0x8df765>>>0x10&0xff]<<0x10|_0x3a61a7[_0x14e9aa>>>0x8&0xff]<<0x8|_0x3a61a7[_0x78b702&0xff])^_0x1ff996[_0x203e71++],_0x27bb21=(_0x3a61a7[_0x8df765>>>0x18]<<0x18|_0x3a61a7[_0x14e9aa>>>0x10&0xff]<<0x10|_0x3a61a7[_0x78b702>>>0x8&0xff]<<0x8|_0x3a61a7[_0x24122c&0xff])^_0x1ff996[_0x203e71++],_0x99461=(_0x3a61a7[_0x14e9aa>>>0x18]<<0x18|_0x3a61a7[_0x78b702>>>0x10&0xff]<<0x10|_0x3a61a7[_0x24122c>>>0x8&0xff]<<0x8|_0x3a61a7[_0x8df765&0xff])^_0x1ff996[_0x203e71++],_0x3ef8c9=(_0x3a61a7[_0x78b702>>>0x18]<<0x18|_0x3a61a7[_0x24122c>>>0x10&0xff]<<0x10|_0x3a61a7[_0x8df765>>>0x8&0xff]<<0x8|_0x3a61a7[_0x14e9aa&0xff])^_0x1ff996[_0x203e71++];_0x4c2f2f[_0x19883a]=_0x5c5751,_0x4c2f2f[_0x19883a+0x1]=_0x27bb21,_0x4c2f2f[_0x19883a+0x2]=_0x99461,_0x4c2f2f[_0x19883a+0x3]=_0x3ef8c9;},'keySize':0x100/0x20});_0x270c33[_0x2bb986(0x2f7)]=_0x4ae58b[_0x2bb986(0x455)](_0x49eb88);}()),_0x2303ab['AES'];}));}(fe)),fe[_0x88be24(0x3b6)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x772c99(0x3b6)],rt;function Vi(){return rt||(rt=0x1,function(_0x29ab2d,_0x277d50){(function(_0x399b8b,_0x4b72cb){var _0x5bdf83=_0x5365;_0x29ab2d[_0x5bdf83(0x3b6)]=_0x4b72cb(Q());}(Fi,function(_0x294a3f){var _0x13f5d7=_0x5365;return _0x294a3f[_0x13f5d7(0x3d6)][_0x13f5d7(0x4f4)];}));}(be)),be['exports'];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x772c99(0x3b6)],st;function Ki(){var _0x944422=_0x772c99;return st||(st=0x1,function(_0x5184ea,_0x422fef){(function(_0x21ad3d,_0x2b649b){_0x5184ea['exports']=_0x2b649b(Q());}(Gi,function(_0x220918){var _0x2aa73c=_0x5365;return(function(){var _0x2c845d=_0x5365;if(typeof ArrayBuffer==_0x2c845d(0x414)){var _0xee250d=_0x220918,_0x34f686=_0xee250d['lib'],_0x3c8cd9=_0x34f686[_0x2c845d(0x30a)],_0x43cf36=_0x3c8cd9['init'],_0x53b0d4=_0x3c8cd9[_0x2c845d(0x2ac)]=function(_0x183e50){var _0x20b1ef=_0x2c845d;if(_0x183e50 instanceof ArrayBuffer&&(_0x183e50=new Uint8Array(_0x183e50)),(_0x183e50 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x183e50 instanceof Uint8ClampedArray||_0x183e50 instanceof Int16Array||_0x183e50 instanceof Uint16Array||_0x183e50 instanceof Int32Array||_0x183e50 instanceof Uint32Array||_0x183e50 instanceof Float32Array||_0x183e50 instanceof Float64Array)&&(_0x183e50=new Uint8Array(_0x183e50[_0x20b1ef(0x33d)],_0x183e50[_0x20b1ef(0x287)],_0x183e50[_0x20b1ef(0x296)])),_0x183e50 instanceof Uint8Array){for(var _0x13b0a1=_0x183e50[_0x20b1ef(0x296)],_0x1b4764=[],_0x2babc7=0x0;_0x2babc7<_0x13b0a1;_0x2babc7++)_0x1b4764[_0x2babc7>>>0x2]|=_0x183e50[_0x2babc7]<<0x18-_0x2babc7%0x4*0x8;_0x43cf36[_0x20b1ef(0x300)](this,_0x1b4764,_0x13b0a1);}else _0x43cf36['apply'](this,arguments);};_0x53b0d4[_0x2c845d(0x4c3)]=_0x3c8cd9;}}()),_0x220918[_0x2aa73c(0x547)][_0x2aa73c(0x30a)];}));}(Re)),Re[_0x944422(0x3b6)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe['exports'],ot;function Xi(){var _0x916e65=_0x772c99;return ot||(ot=0x1,function(_0x17525d,_0x1ad060){(function(_0xbb7160,_0x55f32b,_0x3f000b){_0x17525d['exports']=_0x55f32b(Q(),Dt());}(Ji,function(_0x53b78b){var _0x565a5e=_0x5365;return _0x53b78b[_0x565a5e(0x1e2)][_0x565a5e(0x365)]={'pad':function(){},'unpad':function(){}},_0x53b78b[_0x565a5e(0x1e2)][_0x565a5e(0x365)];}));}(Oe)),Oe[_0x916e65(0x3b6)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x1d35e7,_0x52a1f3){var _0x2b4118=_0x772c99;const _0x1bc39b=_0x52a1f3-_0x1d35e7[_0x2b4118(0x1fe)]%_0x52a1f3,_0x17cdab=String[_0x2b4118(0x52b)](_0x1bc39b)[_0x2b4118(0x4a7)](_0x1bc39b);return _0x1d35e7+_0x17cdab;}function tn(_0x53241,_0x559f80){var _0x3bbe2a=_0x772c99;const _0x54ac82=zi['random'](0x10),_0x4a73f3=en(_0x53241,0x10),_0x1a90c9=ji[_0x3bbe2a(0x249)](Yi[_0x3bbe2a(0x288)](_0x4a73f3),nt[_0x3bbe2a(0x288)](_0x559f80),{'iv':_0x54ac82,'padding':Qi});return _0x54ac82[_0x3bbe2a(0x54e)](_0x1a90c9['ciphertext'])['toString'](nt);}function nn(){var _0x39ca6b=_0x772c99;const _0x38e174=Lt[_0x39ca6b(0x3f6)]()[_0x39ca6b(0x41b)];if(_0x38e174){const _0xf59643={'time':Math['floor'](Date[_0x39ca6b(0x470)]()/0x3e8),'domain':location[_0x39ca6b(0x215)]};return tn(JSON[_0x39ca6b(0x371)](_0xf59643),_0x38e174);}}var rn=Object[_0x772c99(0x25d)],sn=(_0x55ac4c,_0x4a3b85,_0xcbcf51,_0x510256)=>{for(var _0x44bae=_0x510256>0x1?void 0x0:_0x510256?rn(_0x4a3b85,_0xcbcf51):_0x4a3b85,_0x5b53ac=_0x55ac4c['length']-0x1,_0x4a79c6;_0x5b53ac>=0x0;_0x5b53ac--)(_0x4a79c6=_0x55ac4c[_0x5b53ac])&&(_0x44bae=_0x4a79c6(_0x44bae)||_0x44bae);return _0x44bae;},on=(_0x5f7a76,_0x2a2caa)=>(_0x3b6428,_0x23a625)=>_0x2a2caa(_0x3b6428,_0x23a625,_0x5f7a76);let Ne=class{constructor(_0x1d34c6){var _0x2728d9=_0x772c99;this[_0x2728d9(0x3f5)]=_0x1d34c6,this[_0x2728d9(0x30e)]();}[_0x772c99(0x30e)](){var _0x326c27=_0x772c99;this[_0x326c27(0x3f5)][_0x326c27(0x423)]({'interceptor':(_0x195ca1,_0x5aabbe)=>{var _0x17d36b=_0x326c27;const _0x52c7d1=_0x195ca1[_0x17d36b(0x51a)],_0x15e7aa=nn();return _0x15e7aa&&_0x52c7d1[_0x17d36b(0x2ed)](_0x17d36b(0x505),_0x15e7aa),_0x5aabbe(_0x195ca1);}});}};Ne=sn([on(0x0,a[_0x772c99(0x2a5)](K[_0x772c99(0x4c9)]))],Ne);var an=Object[_0x772c99(0x25d)],cn=(_0x5f402f,_0x366fcd,_0x42f79e,_0xc1c7eb)=>{for(var _0x519a69=_0xc1c7eb>0x1?void 0x0:_0xc1c7eb?an(_0x366fcd,_0x42f79e):_0x366fcd,_0x394009=_0x5f402f['length']-0x1,_0x4591fa;_0x394009>=0x0;_0x394009--)(_0x4591fa=_0x5f402f[_0x394009])&&(_0x519a69=_0x4591fa(_0x519a69)||_0x519a69);return _0x519a69;},Le=(_0x78573a,_0x2a4c12)=>(_0x44a384,_0xf5f06b)=>_0x2a4c12(_0x44a384,_0xf5f06b,_0x78573a);exports[_0x772c99(0x348)]=class extends a[_0x772c99(0x54c)]{constructor(_0x4f0d55,_0x2bf44f,_0x503ce0){var _0x107f2b=_0x772c99;super(),A(this,_0x107f2b(0x519),new $[(_0x107f2b(0x27a))](null)),A(this,_0x107f2b(0x32e),this[_0x107f2b(0x519)][_0x107f2b(0x515)]()),(this[_0x107f2b(0x2b8)]=_0x4f0d55,this['_snapshotService']=_0x2bf44f,this[_0x107f2b(0x4ae)]=_0x503ce0);}async[_0x772c99(0x22a)](_0x4c85c0,_0x461e93,_0x4f4b27){var _0x28fda0=_0x772c99;this[_0x28fda0(0x519)]['next']({'unitId':_0x4c85c0,'type':_0x461e93});let _0x295947=null;switch(_0x461e93){case J[_0x28fda0(0x3de)]:{_0x295947=await this['_snapshotService'][_0x28fda0(0x1f0)](_0x4c85c0,_0x4f4b27);break;}case J[_0x28fda0(0x3d1)]:{_0x295947=await this[_0x28fda0(0x2bb)][_0x28fda0(0x36c)](_0x4c85c0,_0x4f4b27);break;}default:{this['_logService']['error'](_0x28fda0(0x3d7),_0x28fda0(0x361));break;}}return _0x295947;}async[_0x772c99(0x3c0)](_0x288f55,_0x385c91,_0x25325c){var _0x3f52cc=_0x772c99,_0x4e013f;this[_0x3f52cc(0x519)][_0x3f52cc(0x509)]({'unitId':_0x288f55,'type':_0x385c91,'subUnitId':_0x25325c});let _0x4cbdd7=0x0;const _0x3e9c2f=await((_0x4e013f=this['_localCacheService'])==null?void 0x0:_0x4e013f[_0x3f52cc(0x25e)](_0x288f55));return _0x3e9c2f&&(_0x3e9c2f[_0x3f52cc(0x42e)]||_0x3e9c2f['mutations'][_0x3f52cc(0x1fe)]!==0x0)&&(_0x4cbdd7=_0x3e9c2f[_0x3f52cc(0x3c7)]),_0x4cbdd7===0x0&&this[_0x3f52cc(0x2b8)][_0x3f52cc(0x265)](_0x3f52cc(0x3d7),_0x3f52cc(0x27b)),this[_0x3f52cc(0x22a)](_0x288f55,_0x385c91,_0x4cbdd7);}},exports[_0x772c99(0x348)]=cn([Le(0x0,a[_0x772c99(0x327)]),Le(0x1,a[_0x772c99(0x2a5)](p[_0x772c99(0x46b)])),Le(0x2,a['Optional'](q))],exports[_0x772c99(0x348)]);var hn=Object[_0x772c99(0x25d)],_n=(_0x55a18d,_0x59b75e,_0x485aea,_0x1b1ae8)=>{for(var _0x37a60b=_0x1b1ae8>0x1?void 0x0:_0x1b1ae8?hn(_0x59b75e,_0x485aea):_0x59b75e,_0x46abf5=_0x55a18d['length']-0x1,_0x5e1644;_0x46abf5>=0x0;_0x46abf5--)(_0x5e1644=_0x55a18d[_0x46abf5])&&(_0x37a60b=_0x5e1644(_0x37a60b)||_0x37a60b);return _0x37a60b;},we=(_0x16a24b,_0x437f54)=>(_0x48a6c0,_0x321934)=>_0x437f54(_0x48a6c0,_0x321934,_0x16a24b);const ln=[_0x772c99(0x315),_0x772c99(0x481),_0x772c99(0x2b1),_0x772c99(0x513),'image/bmp'],un=0x5*0x400*0x400,dn=_0x772c99(0x2ef),vn=_0x772c99(0x205),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x772c99(0x2e2);exports[_0x772c99(0x3e0)]=class{constructor(_0x36d7bc,_0xc519a7,_0x1228d9){var _0x407b28=_0x772c99;A(this,'_waitCount',0x0),A(this,_0x407b28(0x433),new $[(_0x407b28(0x2ba))]()),A(this,_0x407b28(0x232),this[_0x407b28(0x433)]),A(this,'_imageSourceCache',new Map()),(this[_0x407b28(0x3f5)]=_0x36d7bc,this[_0x407b28(0x549)]=_0xc519a7,this[_0x407b28(0x1ea)]=_0x1228d9);}[_0x772c99(0x3b9)](_0x448ec4){var _0x4b4a61=_0x772c99;this['_waitCount']=_0x448ec4,this[_0x4b4a61(0x433)]['next'](_0x448ec4);}[_0x772c99(0x52f)](_0x334d39,_0x1d7de5){var _0x274505=_0x772c99;if(_0x1d7de5===z['ImageSourceType']['BASE64']){const _0x466df8=new Image();return _0x466df8[_0x274505(0x3ae)]=_0x334d39,_0x466df8;}return this['_imageSourceCache']['get'](_0x334d39);}['addImageSourceCache'](_0x2899e8,_0x3ab95c,_0x43bdf9){var _0x2474f0=_0x772c99;_0x3ab95c===z[_0x2474f0(0x4ce)][_0x2474f0(0x332)]||_0x43bdf9==null||this[_0x2474f0(0x285)][_0x2474f0(0x2ed)](_0x2899e8,_0x43bdf9);}async['getImage'](_0x4a8030){var _0x1896b2=_0x772c99;try{const _0x929b98=this['_replaceFileID'](this[_0x1896b2(0x326)](),''+_0x4a8030),_0x8f3802=(await this[_0x1896b2(0x3f5)]['get'](_0x929b98))[_0x1896b2(0x1e4)];if(_0x8f3802[_0x1896b2(0x2aa)]&&_0x8f3802[_0x1896b2(0x2aa)]['code']===gt['OK']){const _0x505620=new URL(_0x8f3802['url'],this[_0x1896b2(0x339)]())[_0x1896b2(0x4b0)]();return Promise['resolve'](_0x505620);}return Promise[_0x1896b2(0x37b)](_0x8f3802['error']);}catch(_0x12c8fb){return Promise[_0x1896b2(0x37b)](_0x12c8fb);}}async[_0x772c99(0x256)](_0xec88fc){var _0x2dc4c0=_0x772c99;let _0x2289b9='';if(!ln['includes'](_0xec88fc[_0x2dc4c0(0x535)]))return this[_0x2dc4c0(0x335)](),Promise[_0x2dc4c0(0x37b)](new Error(z[_0x2dc4c0(0x529)]['ERROR_IMAGE_TYPE']));if(_0xec88fc[_0x2dc4c0(0x262)]>un)return this[_0x2dc4c0(0x335)](),Promise[_0x2dc4c0(0x37b)](new Error(z['ImageUploadStatusType'][_0x2dc4c0(0x3f3)]));try{const _0x81202b=new FormData();_0x81202b['append']('file',_0xec88fc);const _0x43307f=this[_0x2dc4c0(0x1ea)][_0x2dc4c0(0x2d4)](),_0x658419=_0x43307f==null?void 0x0:_0x43307f['getUnitId']();if(!_0x658419)throw new Error('unitId\x20is\x20not\x20found');const _0x3e8f3c=this['_getUploadFileURL']()+_0x2dc4c0(0x48b)+_0xec88fc[_0x2dc4c0(0x262)][_0x2dc4c0(0x4b0)]()+_0x2dc4c0(0x4e3)+Et['UnitEmbedded']+'&assign='+encodeURIComponent(_0x658419),_0x9d01d0={'body':_0x81202b},_0x5dac84=(await this[_0x2dc4c0(0x3f5)][_0x2dc4c0(0x41a)](_0x3e8f3c,_0x9d01d0))[_0x2dc4c0(0x1e4)];if(typeof _0x5dac84['FileId']!=_0x2dc4c0(0x4e1))return this[_0x2dc4c0(0x335)](),Promise[_0x2dc4c0(0x37b)](new Error(z[_0x2dc4c0(0x529)][_0x2dc4c0(0x229)]));_0x2289b9=_0x5dac84['FileId'];}catch{return this[_0x2dc4c0(0x335)](),Promise[_0x2dc4c0(0x37b)](new Error(z[_0x2dc4c0(0x529)][_0x2dc4c0(0x229)]));}return new Promise((_0x1a7241,_0x3e3242)=>{var _0x16ba83=_0x2dc4c0;const _0x49af8b=new FileReader();_0x49af8b[_0x16ba83(0x3dd)](_0xec88fc),_0x49af8b[_0x16ba83(0x3f0)]=_0xd67a8b=>{var _0x1dd451=_0x16ba83,_0x1cfcd2;const _0x5bc852=(_0x1cfcd2=_0xd67a8b[_0x1dd451(0x293)])==null?void 0x0:_0x1cfcd2[_0x1dd451(0x2c5)];if(_0x5bc852==null){this[_0x1dd451(0x335)](),_0x3e3242(new Error(z[_0x1dd451(0x529)][_0x1dd451(0x229)]));return;}const _0x4d8bc=a[_0x1dd451(0x26a)]['generateRandomId'](0x6);_0x1a7241({'imageId':_0x4d8bc,'imageSourceType':z[_0x1dd451(0x4ce)]['UUID'],'source':_0x2289b9,'base64Cache':_0x5bc852,'status':z[_0x1dd451(0x529)][_0x1dd451(0x4d9)]}),this['_decreaseWaiting']();};});}[_0x772c99(0x341)](){var _0x5bec9f=_0x772c99,_0x9bc1f,_0x4503be;const _0x4dea3f=this[_0x5bec9f(0x549)]['getConfig'](dn),_0x1b798f=this[_0x5bec9f(0x549)][_0x5bec9f(0x27c)](G);return(_0x4503be=(_0x9bc1f=_0x1b798f==null?void 0x0:_0x1b798f[_0x5bec9f(0x1fb)])!=null?_0x9bc1f:_0x4dea3f)!=null?_0x4503be:vn;}[_0x772c99(0x326)](){var _0x491034=_0x772c99,_0x50100c,_0x2ba662;const _0x5d5da1=this[_0x491034(0x549)][_0x491034(0x27c)](Sn),_0x56c104=this[_0x491034(0x549)]['getConfig'](G);return(_0x2ba662=(_0x50100c=_0x56c104==null?void 0x0:_0x56c104['signUrlServerUrl'])!=null?_0x50100c:_0x5d5da1)!=null?_0x2ba662:fn;}[_0x772c99(0x339)](){var _0x6acf45=_0x772c99,_0x3bfd61;const _0x15c749=this[_0x6acf45(0x549)]['getConfig'](G);return(_0x3bfd61=_0x15c749==null?void 0x0:_0x15c749[_0x6acf45(0x548)])!=null?_0x3bfd61:location[_0x6acf45(0x35b)];}[_0x772c99(0x517)](_0x3157c8,_0x229345){var _0x200310=_0x772c99;return _0x3157c8[_0x200310(0x360)](_0x200310(0x44f),_0x229345);}['_decreaseWaiting'](){var _0xeb14a9=_0x772c99;this[_0xeb14a9(0x29a)]-=0x1,this[_0xeb14a9(0x433)]['next'](this[_0xeb14a9(0x29a)]);}},exports[_0x772c99(0x3e0)]=_n([we(0x0,a[_0x772c99(0x2a5)](K[_0x772c99(0x4c9)])),we(0x1,a[_0x772c99(0x399)]),we(0x2,a[_0x772c99(0x2a5)](a[_0x772c99(0x418)]))],exports[_0x772c99(0x3e0)]);var In=Object[_0x772c99(0x25d)],pn=(_0x3363e6,_0x4b5318,_0x4f97d4,_0xedd3d4)=>{for(var _0x32225e=_0xedd3d4>0x1?void 0x0:_0xedd3d4?In(_0x4b5318,_0x4f97d4):_0x4b5318,_0x1f1017=_0x3363e6['length']-0x1,_0x2de1c7;_0x1f1017>=0x0;_0x1f1017--)(_0x2de1c7=_0x3363e6[_0x1f1017])&&(_0x32225e=_0x2de1c7(_0x32225e)||_0x32225e);return _0x32225e;},at=(_0xc671a,_0x45b4f1)=>(_0x19638d,_0x269d88)=>_0x45b4f1(_0x19638d,_0x269d88,_0xc671a);const gn=_0x772c99(0x3da);exports['MentionIoHttpService']=class{constructor(_0x7d3534,_0x43dbdb){var _0x4bbd68=_0x772c99;this[_0x4bbd68(0x549)]=_0x7d3534,this[_0x4bbd68(0x4e9)]=_0x43dbdb;}[_0x772c99(0x26d)](){var _0x98f2d9=_0x772c99,_0x1f6c37,_0x281ffb;const _0x3a45a8=this[_0x98f2d9(0x549)][_0x98f2d9(0x27c)](Ve),_0x20c479=this[_0x98f2d9(0x549)]['getConfig'](G);return(_0x281ffb=(_0x1f6c37=_0x20c479==null?void 0x0:_0x20c479[_0x98f2d9(0x52e)])!=null?_0x1f6c37:_0x3a45a8)!=null?_0x281ffb:gn;}async[_0x772c99(0x2fd)](_0x1fa98c){var _0x475dfe=_0x772c99;const _0x1086e4=this['_getAPIPrefixPath']()+_0x475dfe(0x551);return{'list':[{'title':_0x475dfe(0x267),'mentions':(await this[_0x475dfe(0x4e9)][_0x475dfe(0x555)](_0x1086e4,{'params':{'objectID':_0x1fa98c[_0x475dfe(0x2b5)],'unitID':_0x1fa98c['unitId']}}))[_0x475dfe(0x1e4)][_0x475dfe(0x52d)][_0x475dfe(0x2be)](_0x46b8bb=>({'objectId':_0x46b8bb['id'],'name':_0x46b8bb[_0x475dfe(0x302)]['name'],'metadata':{'icon':_0x46b8bb[_0x475dfe(0x302)][_0x475dfe(0x201)]},'label':_0x46b8bb['subject'][_0x475dfe(0x398)],'objectType':a['MentionType'][_0x475dfe(0x467)]})),'metadata':{},'type':a[_0x475dfe(0x308)][_0x475dfe(0x467)]}]};}},exports[_0x772c99(0x408)]=pn([at(0x0,a[_0x772c99(0x2a5)](a[_0x772c99(0x399)])),at(0x1,a[_0x772c99(0x2a5)](K[_0x772c99(0x4c9)]))],exports[_0x772c99(0x408)]);var En=Object[_0x772c99(0x25d)],mn=(_0x509610,_0x85ba28,_0xb33e63,_0x1e8c20)=>{var _0x657913=_0x772c99;for(var _0xc556ff=_0x1e8c20>0x1?void 0x0:_0x1e8c20?En(_0x85ba28,_0xb33e63):_0x85ba28,_0x3e8ea5=_0x509610[_0x657913(0x1fe)]-0x1,_0x5db995;_0x3e8ea5>=0x0;_0x3e8ea5--)(_0x5db995=_0x509610[_0x3e8ea5])&&(_0xc556ff=_0x5db995(_0xc556ff)||_0xc556ff);return _0xc556ff;},le=(_0x32bbf0,_0x4b24ba)=>(_0x1ea1ec,_0x53b29b)=>_0x4b24ba(_0x1ea1ec,_0x53b29b,_0x32bbf0);let De=class extends a[_0x772c99(0x54c)]{constructor(_0x1993d5,_0x3075ce,_0x532211,_0x3a0ad8,_0xd9cb84){var _0x2f02d6=_0x772c99;super(),this[_0x2f02d6(0x45b)]=_0x1993d5,this[_0x2f02d6(0x1ea)]=_0x3075ce,this[_0x2f02d6(0x471)]=_0x532211,this[_0x2f02d6(0x4a8)]=_0x3a0ad8,this[_0x2f02d6(0x380)]=_0xd9cb84,this[_0x2f02d6(0x3fa)](),this['_initCloseConn']();}[_0x772c99(0x292)](){var _0x1b5b1a=_0x772c99;const _0x2a9ebc=async _0x14aaf4=>{var _0x3d2599=_0x5365;(await this[_0x3d2599(0x4a8)][_0x3d2599(0x374)](_0x14aaf4))['event$']['pipe'](V[_0x3d2599(0x34f)](_0x12ec8a=>_0x12ec8a['eventID']===p[_0x3d2599(0x4da)][_0x3d2599(0x379)]),V['takeUntil'](this[_0x3d2599(0x33b)]))['subscribe'](_0xc258b3=>{var _0x4f1f16=_0x3d2599;const _0x26eefb=_0xc258b3,{reason:_0x12ad53}=_0x26eefb[_0x4f1f16(0x231)];this[_0x4f1f16(0x380)][_0x4f1f16(0x2a2)]({'id':Z['CLOSE_ROOM'],'data':_0x12ad53}),this[_0x4f1f16(0x471)][_0x4f1f16(0x47f)](new X['WorkbookEditablePermission'](_0x14aaf4)['id'],!0x1),this['_collaborationSessionService'][_0x4f1f16(0x544)](_0x14aaf4);});};$['merge'](this['_univerInstanceService'][_0x1b5b1a(0x4b9)](a[_0x1b5b1a(0x31c)][_0x1b5b1a(0x3de)]),this[_0x1b5b1a(0x1ea)][_0x1b5b1a(0x4b9)](a[_0x1b5b1a(0x31c)]['UNIVER_DOC']))[_0x1b5b1a(0x24d)](V[_0x1b5b1a(0x2be)](_0x1c6ae7=>_0x1c6ae7[_0x1b5b1a(0x520)]()),V[_0x1b5b1a(0x34f)](_0x3f0171=>!a[_0x1b5b1a(0x47a)](_0x3f0171)),V[_0x1b5b1a(0x36e)](this[_0x1b5b1a(0x33b)]))[_0x1b5b1a(0x210)](_0x3797c9=>{_0x2a9ebc(_0x3797c9);});}[_0x772c99(0x3fa)](){var _0x4f5cd4=_0x772c99;const _0x3491af=async _0x33163b=>{var _0x38862d=_0x5365;const _0x5a54af=await this[_0x38862d(0x4a8)]['requireSession'](_0x33163b),_0x4a2ff2=this[_0x38862d(0x45b)]['get'](X[_0x38862d(0x42c)]);_0x5a54af['event$'][_0x38862d(0x24d)](V[_0x38862d(0x34f)](_0x3753e4=>_0x3753e4[_0x38862d(0x352)]===p['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x38862d(0x36e)](this[_0x38862d(0x33b)]))[_0x38862d(0x210)](_0x2f4ec2=>{var _0x3cee96=_0x38862d;const _0x2d83e9=_0x2f4ec2,{objectId:_0x40b6c1}=_0x2d83e9[_0x3cee96(0x231)];_0x40b6c1===_0x33163b?_0x4a2ff2[_0x3cee96(0x27f)](_0x33163b):_0x4a2ff2[_0x3cee96(0x2db)](_0x33163b,_0x40b6c1);});};$[_0x4f5cd4(0x4f7)](this[_0x4f5cd4(0x1ea)][_0x4f5cd4(0x4b9)](a[_0x4f5cd4(0x31c)]['UNIVER_SHEET']))['pipe'](V[_0x4f5cd4(0x2be)](_0x3ce065=>_0x3ce065[_0x4f5cd4(0x520)]()),V[_0x4f5cd4(0x34f)](_0x1d182f=>!a['isInternalEditorID'](_0x1d182f)),V[_0x4f5cd4(0x36e)](this[_0x4f5cd4(0x33b)]))[_0x4f5cd4(0x210)](_0x3d1a10=>{_0x3491af(_0x3d1a10);});}};De=mn([le(0x0,a['Inject'](a[_0x772c99(0x3e7)])),le(0x1,a[_0x772c99(0x418)]),le(0x2,a[_0x772c99(0x3b4)]),le(0x3,a[_0x772c99(0x2a5)](exports[_0x772c99(0x314)])),le(0x4,a[_0x772c99(0x2a5)](ee))],De);var Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x3685d2,_0x36583f,_0x9b95c5,_0x2e3b40)=>{var _0x4329c4=_0x772c99;for(var _0x4803d9=_0x2e3b40>0x1?void 0x0:_0x2e3b40?Cn(_0x36583f,_0x9b95c5):_0x36583f,_0x1344c3=_0x3685d2[_0x4329c4(0x1fe)]-0x1,_0x36a8e0;_0x1344c3>=0x0;_0x1344c3--)(_0x36a8e0=_0x3685d2[_0x1344c3])&&(_0x4803d9=_0x36a8e0(_0x4803d9)||_0x4803d9);return _0x4803d9;},ct=(_0x1b9f66,_0xf77813)=>(_0x44aade,_0xa5f8a3)=>_0xf77813(_0x44aade,_0xa5f8a3,_0x1b9f66);exports['SnapshotServerOverHTTPService']=class{constructor(_0x46476b,_0x580709){this['_configService']=_0x46476b,this['_httpService']=_0x580709;}async[_0x772c99(0x2e4)](_0x2f07a6,_0x37c846){var _0x3932fd=_0x772c99,_0x26a253;const {unitID:_0x5a5e24,type:_0x155722,revision:_0x37ed64=0x0}=_0x37c846,_0x520a55=this['getSnapshotAPIPath']()+'/'+_0x155722+_0x3932fd(0x32f)+_0x5a5e24+_0x3932fd(0x4cd)+_0x37ed64,_0x506e1d=(await this['_httpService']['get'](_0x520a55))[_0x3932fd(0x1e4)],_0x4059ce=(_0x26a253=_0x506e1d[_0x3932fd(0x38a)])==null?void 0x0:_0x26a253[_0x3932fd(0x51c)];if(_0x4059ce){const _0x15f096=_0x4059ce==null?void 0x0:_0x4059ce[_0x3932fd(0x25b)],_0x4853e2=p['textEncoder'][_0x3932fd(0x39c)](p['b64DecodeUnicode'](_0x15f096));_0x4059ce[_0x3932fd(0x25b)]=_0x4853e2,Object['entries'](_0x4059ce[_0x3932fd(0x364)])[_0x3932fd(0x500)](([,_0x58b18d])=>{var _0x34ac78=_0x3932fd;const _0xb3a278=_0x58b18d['originalMeta'],_0x53f163=p[_0x34ac78(0x211)]['encode'](p[_0x34ac78(0x2b3)](_0xb3a278));_0x58b18d['originalMeta']=_0x53f163;});}return _0x506e1d;}async['getSheetBlock'](_0x1b1c04,_0x539298){var _0x5da0f4=_0x772c99;const {unitID:_0x2b5fe9,type:_0x43aea9,blockID:_0x26542d}=_0x539298,_0x17a09c=this[_0x5da0f4(0x349)]()+'/'+_0x43aea9+_0x5da0f4(0x32f)+_0x2b5fe9+_0x5da0f4(0x2b7)+_0x26542d;return(await this[_0x5da0f4(0x3f5)][_0x5da0f4(0x555)](_0x17a09c))[_0x5da0f4(0x1e4)];}async[_0x772c99(0x21a)](_0xfd46e3,_0x17d4a9){var _0x16b66f=_0x772c99;const {unitID:_0x1e5c32,type:_0x477949,blockID:_0x2bc011}=_0x17d4a9,_0x2fcd05=this['_getAPIPrefix']()+_0x16b66f(0x2b7)+_0x477949+_0x16b66f(0x32f)+_0x1e5c32+'/block/'+_0x2bc011;return(await this[_0x16b66f(0x3f5)]['get'](_0x2fcd05))[_0x16b66f(0x1e4)];}async['fetchMissingChangesets'](_0x28739a,_0x5a009d){var _0x2612b9=_0x772c99;const {unitID:_0x4a894c,type:_0x2ccede,from:_0x4737ed,to:_0x23aa2d}=_0x5a009d,_0x196058=this['_getAPIPrefix']()+'/'+_0x2ccede+_0x2612b9(0x32f)+_0x4a894c+_0x2612b9(0x25c)+_0x4737ed+_0x2612b9(0x524)+_0x23aa2d;return(await this[_0x2612b9(0x3f5)][_0x2612b9(0x555)](_0x196058))['body'];}[_0x772c99(0x2ee)](){var _0x849622=_0x772c99,_0x11255d;return(_0x11255d=this['_configService'][_0x849622(0x27c)](lt))!=null?_0x11255d:this[_0x849622(0x349)]();}['_getAPIPrefix'](){var _0x19b65a=_0x772c99,_0x47b0f5,_0x153c8a;const _0x4fc5f1=this[_0x19b65a(0x549)]['getConfig'](_t),_0x403628=this['_configService'][_0x19b65a(0x27c)](G);return(_0x153c8a=(_0x47b0f5=_0x403628==null?void 0x0:_0x403628[_0x19b65a(0x3af)])!=null?_0x47b0f5:_0x4fc5f1)!=null?_0x153c8a:wt;}async['getResourcesRequest'](_0x510409,_0x38b1f0){var _0x34614c=_0x772c99;const _0x243b67=_0x34614c(0x32c)+_0x38b1f0[_0x34614c(0x535)]+_0x34614c(0x32f)+_0x38b1f0[_0x34614c(0x53e)]+_0x34614c(0x3cf);return(await this[_0x34614c(0x3f5)]['get'](_0x243b67,{'params':{'resourceId':JSON[_0x34614c(0x371)](_0x38b1f0[_0x34614c(0x235)])}}))[_0x34614c(0x1e4)];}[_0x772c99(0x4b8)](){var _0x308edc=_0x772c99;throw new Error(_0x308edc(0x1eb));}[_0x772c99(0x375)](){var _0x51d134=_0x772c99;throw new Error(_0x51d134(0x1eb));}['saveSheetBlock'](){var _0x15b716=_0x772c99;throw new Error(_0x15b716(0x1eb));}[_0x772c99(0x3b3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x21d090=_0x772c99;throw new Error(_0x21d090(0x1eb));}[_0x772c99(0x485)](){var _0x24bdea=_0x772c99;throw new Error(_0x24bdea(0x1eb));}},exports[_0x772c99(0x307)]=Tn([ct(0x0,a[_0x772c99(0x399)]),ct(0x1,a[_0x772c99(0x2a5)](K[_0x772c99(0x4c9)]))],exports['SnapshotServerOverHTTPService']);var bn=Object[_0x772c99(0x25d)],Rn=(_0x7d42b8,_0x4d5c72,_0x14fdaa,_0x3afeda)=>{for(var _0x2b792d=_0x3afeda>0x1?void 0x0:_0x3afeda?bn(_0x4d5c72,_0x14fdaa):_0x4d5c72,_0x324940=_0x7d42b8['length']-0x1,_0x2c5554;_0x324940>=0x0;_0x324940--)(_0x2c5554=_0x7d42b8[_0x324940])&&(_0x2b792d=_0x2c5554(_0x2b792d)||_0x2b792d);return _0x2b792d;},ue=(_0x1f8ff8,_0x5d641c)=>(_0xd241e4,_0x23121d)=>_0x5d641c(_0xd241e4,_0x23121d,_0x1f8ff8);exports['CollaborativeUndoRedoService']=class extends a[_0x772c99(0x550)]{constructor(_0x38a4cf,_0x370eac,_0x2a3da8,_0x9d9994,_0x59ff01){var _0xf1553f=_0x772c99;super(_0x38a4cf,_0x370eac,_0x2a3da8),this[_0xf1553f(0x1e3)]=_0x9d9994,this['_logService']=_0x59ff01;}['transformUndoRedo'](_0x1dab43,_0x389ea3){var _0x44252e=_0x772c99;const _0x97dd8a=this[_0x44252e(0x4ef)](_0x1dab43);if(_0x97dd8a)try{const _0x125747=this[_0x44252e(0x484)](_0x97dd8a,_0x389ea3);this['_substituteUndoStack'](_0x1dab43,_0x125747);}catch(_0x130a51){this[_0x44252e(0x2b8)]['error'](_0x44252e(0x336),_0x130a51),this['_clearUndo'](_0x1dab43);}const _0x1fa5fb=this[_0x44252e(0x415)](_0x1dab43);if(_0x1fa5fb)try{const _0x4456ae=this['_transformStack'](_0x1fa5fb,_0x389ea3);this['_substituteRedoStack'](_0x1dab43,_0x4456ae);}catch(_0x14da5e){this[_0x44252e(0x2b8)][_0x44252e(0x2aa)](_0x14da5e),this[_0x44252e(0x494)](_0x1dab43);}}[_0x772c99(0x4aa)](_0x542949){var _0x59a667=_0x772c99;const _0x502fa5=this['_getUndoStack'](_0x542949);_0x502fa5&&(_0x502fa5[_0x59a667(0x1fe)]=0x0,this['_updateStatus']());}[_0x772c99(0x494)](_0x4ec621){var _0x322f11=_0x772c99;const _0x28dfbf=this[_0x322f11(0x415)](_0x4ec621);_0x28dfbf&&(_0x28dfbf[_0x322f11(0x1fe)]=0x0,this[_0x322f11(0x4c2)]());}[_0x772c99(0x521)](_0x1bc09f,_0x544d7d){var _0x3c3dfe=_0x772c99;this[_0x3c3dfe(0x23f)][_0x3c3dfe(0x2ed)](_0x1bc09f,_0x544d7d),this[_0x3c3dfe(0x4c2)]();}[_0x772c99(0x2f1)](_0x24322b,_0x197bab){var _0x4b964b=_0x772c99;this[_0x4b964b(0x23e)][_0x4b964b(0x2ed)](_0x24322b,_0x197bab),this[_0x4b964b(0x4c2)]();}[_0x772c99(0x484)](_0x2d4ba0,_0x25c23e){var _0x1ebc53=_0x772c99;const _0x93ec83=[];let _0x228f05=_0x25c23e,_0x5efc19=_0x25c23e;for(let _0x58de26=_0x2d4ba0['length']-0x1;_0x58de26>=0x0;_0x58de26--){const {unitID:_0x5dc428,undoMutations:_0x5b34e8,redoMutations:_0x1a778e}=_0x2d4ba0[_0x58de26],_0x50337c=this[_0x1ebc53(0x1e3)][_0x1ebc53(0x34d)](_0x228f05,_0x5b34e8),_0x520513=this['_transformService'][_0x1ebc53(0x34d)](_0x5efc19,_0x1a778e);if(p[_0x1ebc53(0x355)](_0x50337c)||p[_0x1ebc53(0x355)](_0x520513)){this[_0x1ebc53(0x2b8)][_0x1ebc53(0x2aa)](_0x1ebc53(0x336),_0x1ebc53(0x436),_0x50337c,_0x520513);break;}_0x228f05=_0x50337c[_0x1ebc53(0x447)],_0x5efc19=_0x520513[_0x1ebc53(0x447)],_0x93ec83['push']({'unitID':_0x5dc428,'undoMutations':_0x50337c[_0x1ebc53(0x35a)],'redoMutations':_0x520513[_0x1ebc53(0x35a)]});}return _0x93ec83[_0x1ebc53(0x2f4)]();}},exports[_0x772c99(0x2cc)]=Rn([ue(0x0,a[_0x772c99(0x418)]),ue(0x1,a[_0x772c99(0x449)]),ue(0x2,a['IContextService']),ue(0x3,p[_0x772c99(0x463)]),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var On=Object[_0x772c99(0x3eb)],yn=Object[_0x772c99(0x25d)],Nn=(_0x4ac0f2,_0x30bcf9,_0x1dbf9a)=>_0x30bcf9 in _0x4ac0f2?On(_0x4ac0f2,_0x30bcf9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dbf9a}):_0x4ac0f2[_0x30bcf9]=_0x1dbf9a,Dn=(_0x4ad637,_0x126db0,_0x41cb72,_0x4a822a)=>{var _0x38557e=_0x772c99;for(var _0x468eea=_0x4a822a>0x1?void 0x0:_0x4a822a?yn(_0x126db0,_0x41cb72):_0x126db0,_0x5aedd5=_0x4ad637[_0x38557e(0x1fe)]-0x1,_0x571676;_0x5aedd5>=0x0;_0x5aedd5--)(_0x571676=_0x4ad637[_0x5aedd5])&&(_0x468eea=_0x571676(_0x468eea)||_0x468eea);return _0x468eea;},Me=(_0x12853c,_0x90d802)=>(_0xb09a18,_0x180d7d)=>_0x90d802(_0xb09a18,_0x180d7d,_0x12853c),Un=(_0x4fae78,_0x196965,_0x166ad2)=>Nn(_0x4fae78,_0x196965+'',_0x166ad2);const An=_0x772c99(0x53b);function _0x5af3(){var _0x29a746=['blockSize','fetchMiss','LocaleService','CommandType','Optional','_iKey','hasOwnProperty','YUUMI_URL_COL_OUT_OF_RANGE','_joinRoom','close','_socketReady','every','c1Prime','toggleOffline','ICommandService','UniverCollaborationClientPlugin','newCsEvent','USER_NOT_INVITED_CODE','getLocalCacheKey','onTransformSelections','{fileID}','_transitionLocked','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_parse','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','roles','_createHelper','YUUMI_AI_RUN_FAILED','isArray','1738390OlXhub','_doReset','_sender','_injector','socket$','salt','CollaborationEntity','IDLE','HEARTBEAT_INTERVAL','serializeCombRequest','_tryEnsureSocket','ITransformService','getAllMembers','reqId','CollaborationUIEventService','PERSON','getCollabEntity$','OfflineState','JOIN_ROOM_FAILED','SnapshotService','appendMutation','_doFinalize','_exhaustRemoteChangesetQueue','APPLY_DUPLICATED','now','_permissionService','isTransformChangesetsSuccess','decrypt','[OfflineState]:\x20received\x20changeset.','joinRsp','MOBILE_VERIFY_CODE_MISMATCH','charCodeAt','_compressMutationService','\x20in\x20_schedule.','isInternalEditorID','MemberService','sessionStatus','onLocalMutation','unsubscribe','updatePermissionPoint','_startTelemetryCollaborationNewChangeset','image/jpeg','Disposable','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_transformStack','getLatestCsReqIdBySid','DEFAULT_WS_SESSION_TICKET_URL','put','EvpKDF','YUUMI_ALL_TABLES_IS_INVALID','BlockCipherMode','?size=','Base','send','disposeWithMe','NEW_CHANGESETS','_clearLocalCache','_instanceService','[SyncedState]:\x20received\x20acknowledgement.','iterations','_clearRedo','LICENSE_EXPORT_SIZE_EXCEEDED','_sendHeartbeat','LEAVE','\x20-\x20','_commandService','WECHAT_HAS_BEEN_BOUND','loginUrlKey','_timeoutTimer','objectActions','baseRev','223821GiEiUP','readyForCollab','_checkMissing','action','min','updatePermissionObjEvent','HELLO','_append','repeat','_collaborationSessionService','_candidateSocket','_clearUndo','9000ucgBNh','CONFLICT','_changesetReqId','_localCacheService','focused$','toString','addHandlerCallback','event$','conflict','pauseCollaboration','NOT_COLLAB','_syncEditingCollabCursor','onlyLocal','saveSnapshot','getTypeOfUnitAdded$','_submitChangeset','_collaborationTimeoutTimer','localeService','onRemoteRetry','Module','_executeRemoteChangeset','/universer-api/snapshot','_onRemoteRetry','_updateStatus','prototype','execute','telemetry\x20info\x20is\x20not\x20initialized','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearHeartbeatTimer','HMAC','HTTPService','_registerDependencies','/role','_getSendChangesetTimeout','/rev/','ImageSourceType','CONNECTOR_DATA_TOO_LARGE','randomBytes','getTime','compute','collaboratorID','floor','[OfflineState]:\x20received\x20acknowledgement.','_createSocket','_replayCachedMutations','createEncryptor','SUCCUSS','CollaborationEvent','_transformRemoteChangesetByStateCache','LIVESHARE_NEW_HOST','APPLY_NON_SEQUENTIAL_REVISION','SheetTransformSelectionsService','slice','FetchingMissState','string','AWAITING','&source=','UPDATE_CURSOR','add','[FetchMissState]','clear','ONLINE','_HTTPService','UNDEFINED','pending','catch','UnitStatus','enableCollaboration','_getUndoStack','title','UserProfileImg','infoRsp','/new_changes','Utf8','toDisposable','_updateLocalCache','merge','[CollaborationState]:\x20apply\x20error!','LIVESHARE_TERMINATE','create','?url=','fetchThroughInterceptors','MUTATION','SyncedState','_memberService','forEach','HmacMD5','startTime','SessionStatus','getMember','x-univer-host','padding','state','session.join-failed','next','setCurrentUser','deepClone','COMPRESS_MUTATION_APPLY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNIVER_SLIDE','_collabSessionService','onMissedChangesetFetched','incrementRevOfUnit','[UniverCollaborationClientPlugin]','image/gif','location','asObservable','HEARTBEAT_TIMEOUT','_replaceFileID','session','_unitInfo$','headers','[SyncedState]:\x20received\x20rejection.','workbook','_transformSelections','msCrypto','isTransformMutationsWithChangesetSuccess','getUnitId','_substituteUndoStack','_transformUndoredo','_keyPriorReset','&to=','ThresholdInterceptorFactory','_onMessage','_state','unpad','ImageUploadStatusType','enableOfflineEditing','fromCharCode','[CollaborationSessionService]','collaborators','authzUrl','getImageSourceCache','UNKNOWN_CODE','take','ENSURE_SNAPSHOT_EXECUTION','getUnitType','_unitID','type','push','_applyRemoteChangeset','waitForRoom$','setConfig','__esModule','UNIVER_COLLABORATION_CLIENT_PLUGIN','cmd','_onConnectionFailed','unitID','2msPqLq','/universer-api/uniscript','memberID','unknown','capture','closeSession','routeKey','interceptor','lib','downloadEndpointUrl','_configService','@univerjs/telemetry','PERMISSION_DENIED','RxDisposable','onCommentUpdate','concat','collaboration-client.config','LocalUndoRedoService','/collaborator','failed\x20to\x20apply\x20missed\x20changesets!','has','HEARTBEAT','get','encryptBlock','charAt','crypto','pad','_transformService','body','CollaborationSocketService','close$','extend','FETCH_MISS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_univerInstanceService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationSessionService]:\x20socket\x20error','UNISCRIPT_RUN','objects','collabSubmitChangesetUrl','loadSheet','delete','LOCAL_CACHE_INTERVAL_KEY','941504xQzGhm','YUUMI_NO_CUBOID_FOR_QUESTION','ISnapshotServerService','status','finalize','_revisionService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPLETION_FINISHED','uploadFileServerUrl','_emitMembers','INVITE_CODE_ALREADY_BOUND','length','disableLocalCache','SNAPSHOT_HAS_BEEN_REMOVED','avatar','JOINING','_hash','RevisionService','/universer-api/stream/file/upload','JOIN_ROOM_FULL','encodeURIComponent','Malformed\x20UTF-8\x20data','uniscriptRunEvent','Hex','default','AuthzIoHttpService','mergeOverrideWithDependencies','_telemetryInfo','enableSingleActiveInstanceLock','subscribe','textEncoder','WorkbookEditablePermission','_clearTimeoutTimer','subUnitId','hostname','4966998cTtmqu','BufferedBlockAlgorithm','hasher','APPLY_REJECT','getDeserializedSheetBlock','_state$','shareReplay','_tryReconnect','[PendingState]:\x20received\x20acknowledgement.','JOIN','SEND_CHANGESET_TIMEOUT','editing\x20status\x20changed\x20to','_process','abs','synced','onCommandExecuted','leaveEvent','COLLAB_WEB_SOCKET_URL_KEY','JOIN_ROOM_PERMISSION_DENIED','ERROR_IMAGE','loadUnitOfRevision','save\x20fail\x20reason\x20is\x20','LIVESHARE_OPERATION','_incrementRevisionNumber','_handlerCallback','apply','entityInit$','data','change$','href','_unlockTransition','resourceIDs','_queuedRemoteChangesets','getCurrentUser','onSyncEditingCollabCursor','session.room-cnt-exceeds','CollaborationSession','_init','_config','indexOf','_redoStacks','_undoStacks','DocCollaborationEntity','SUBMIT_CHANGESET_TIMEOUT','/allowed','[OfflineState]:\x20received\x20rejection.','onRemoteChangeset','csShouldRetryEvent','_isPermissionRej','range','_socketMessageSubscription','encrypt','APPLY_REVISION_CONFILICT','_onUserLeave','Workbook','pipe','_roomMembers','_sessionStatus$','OFFLINE','_createHandler','liveShareOperation','socket\x20close','7iiEQTs','withCredentials','saveImage','_remoteChangesetQueue','processBlock','clamp','mapDocumentTypeToUniverType','originalMeta','/fetchmissing?from=','getOwnPropertyDescriptor','loadOfflineData','_doCreateSocket','onStarting','_onJoinRoomEvent','size','SUBMIT_CHANGESET','_rescheduleHeartbeat','debug','POST','People','AwaitingWithPendingState','UniverNetworkPlugin','Tools','getRoom','INGEST','_getAPIPrefixPath','_event$','readInt32LE','17470ijDsMD','onTransformRemoteChangesetByStateCache','fetch_missing','NO_OTHER_CLIENTS_EDITING','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','IMentionIOService','listCollaborators','_onConnectionOpen','getInterceptPoints','reset','BehaviorSubject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getConfig','_collaborationPaused','ALREADY_EXISTS','initWorkbookPermissionChange','[PendingState]:\x20received\x20rejection.','awaiting_with_pending','Encryptor','onStateChange','onRemoteAck','_imageSourceCache','socket\x20open.','byteOffset','parse','objectID','FETCH_MISSING','@univerjs/docs','CHANGESET_REVISION_CONFILICT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','INVALID_ARGUMENT','parseProtocolChangeset','join','\x0aAfter:\x20','_initCloseConn','target','_reverseMap','_throwTelemetryCollaborationNewChangeset','byteLength','_localeService','INVITE_CODE_REQUIRED','_doProcessBlock','_waitCount','EMAIL_HAS_BEEN_BOUND','DEFAULT_COLLAB_WEB_SOCKET_URL','session.room-permission-denied','fromCollab','_nRounds','method','_listenToNetworkCondition','emitEvent','DisposableCollection','sid','Inject','UnitEmbedded','_scheduleCollaborationTimeoutTimer','_clearRetryConnectingTimer','status$','error','onMissingChangesets','init','session.room-not-exists','algo','SNAPSHOT_SERVER_URL_KEY','getTypeOfUnitDisposed$','image/jpg','_sendHeartbeatTimer','b64DecodeUnicode','ceil','unitId','@univerjs/sheets','/block/','_logService','_onCombEvent','Subject','_snapshotService','InsertSheetMutation','userID','map','[CollaborationEntity]','HttpExport','_doCryptBlock','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs/network','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','result','not_collab','_initMergeInterceptor','JOIN_ROOM_NOT_EXISTS','/-/object/-/batch_allowed','_lockTransition','_nDataBytes','CollaborativeUndoRedoService','LICENSE_DISTRO_REJECTED','LOGIN_URL_KEY','[CollaborationSession]','AwaitingState','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','\x0aCurrent:\x20','Undefined','getFocusedUnit','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','updateOfflineData','LOCAL_CACHE_INTERVAL','_mode','words','Base64','refreshPermission','getRandomValues','ReplaySubject','UNKNOWN_CMD','concatMap','_getCtorByUniverType','code','/universer-api/file/{fileID}/sign-url','OPTIONAL','getUnitOnRev','_schedule','clone','_entities','_onRemoteACK','_onOffline','update','MD5','equals','set','getSnapshotAPIPath','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','selections','_substituteRedoStack','GLOBAL_ROOMS_CNT_EXCEEDS','_userManagerService','reverse','MSG_FOR_ERROR','sendChangesetTimeout','AES','url','deserializeToCombResponse','cfg','uuidv4','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','list','_resendTimeout','stopTime','call','Pkcs7','subject','isPermissionRej','_awaitingChangeset','members','updateMember','SnapshotServerOverHTTPService','MentionType','_ENC_XFORM_MODE','WordArray','sequenceExecute','_scheduleCompleteTimestamp','_clearScheduledTask','_initRequestHeader','collaMsg','HttpImport','_oKey','ILocalCacheService','_transformRemoteChangesetByIMECache','CollaborationSessionService','image/png','mode','LIVESHARE_REQUEST_HOST','formatter','enableAuthServer','sigBytes','_resendTimer','UniverInstanceType','Decryptor','actions','Failed\x20to\x20update\x20permission\x20point','UserManagerService','PERMISSION_REJ','_data','OpenSSL','IImageIoService','createIdentifier','_getSignURL','ILogService','socketService','offline','_retryConnectingTimer','createDecryptor','/universer-api/snapshot/','reduce','unitInfo$','/unit/','changesets','LICENSE_IMPORT_SIZE_EXCEEDED','BASE64','LICENSE_MAX_UNITS_EXCEEDED','Could\x20not\x20dynamically\x20require\x20\x22','_decreaseWaiting','[CollaborationUndoRedoService]','_initDependencies','touchDependencies','_getDownloadEndpointURL','ISingleActiveUnitService','dispose$','_networkConditionService','buffer','toggleOnline','kdf','message$','_getUploadFileURL','Hasher','_onRecvEvent','HTTPRequest','_disableEditing','_socket$','OTHER_CLIENTS_EDITING','DataLoaderService','_getAPIPrefix','complete','TOO_MANY_REQUESTS','_clearCollaborationTimeoutTimer','transformMutationsWithChangeset','SheetCollaborationEntity','filter','_onConflict','_showConflictNotification','eventID','max','SNAPSHOT_INVALID_SNAPSHOT','isTransformMutationsWithChangesetFailure','SNAPSHOT_URL_KEY','PENDING','transformSelections','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','m2Prime','origin','RECV','CLOSE_ROOM','StreamCipher','USERS_ENTER','replace','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_stopTelemetryCollaborationNewChangeset','editingUnit','sheets','NoPadding','9207QZnKQd','YUUMI_SUBSCRIPTION_NOT_FOUND','getCurrentRevOfUnit','then','listRoles','OTHER_CLIENT_EDITING','loadDoc','_updateState','takeUntil','NOT_FOUND','_status$','stringify','textRanges','getSheetId','requireSession','updateSnapshot','CollaborationStatus','session.room-full','PY_RUNTIME_SCRIPT_ERROR','SHOULD_CLOSE_CONN','@univerjs/drawing','reject','onTransformState','resend','transformChangesets','getCollabEntity','_collaborationUIEventService','_telemetryService','PSEUDO_FETCH_MISSING_RESULT','SerializableCipher','_sessions','Latin1','INVITE_CODE_HAS_BEEN_UES','allowed','mutations','INTERNAL_ERROR','snapshot','ciphertext','1160kBbJdQ','sin','PendingState','_onRemoteRejected','YUUMI_RATE_OVER_LIMIT','delay','mixIn','state$','ITelemetryService','c2Prime','executeCommand','_pendingMutations','name','IConfigService','getValue','SHA1','encode','_removeRoom','startsWith','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_members','_DEC_XFORM_MODE','_acknowledgedAwaitingChangeset','INetworkConditionService','@univerjs/core','_xformMode','_commentUpdate$','236267pkBYEV','_onRemoteChangeset','params','pluginName','localCacheService','_createInitialState','patch','src','snapshotServerUrl','_invKeySchedule','createSocket','values','saveChangeset','IPermissionService','YUUMI_UNABLE_LOAD_URL','exports','dispose','_key','setWaitCount','CHANGESET_SHOULD_RETRY','EmptyMutation','getCurrentSelections','AUTHZ_URL_KEY','compose','_shouldReportTelemetry','loadUnit','rxjs/operators','getUnit','splice','_createInitialStateImpl','SOCKET_FAILED_RETRY','_handler','rev','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/universer-api/user/session-ticket','_prevBlock','csAckEvent','find','sessionStatus$','UnitSnapshot','/resources','_onUserJoin','UNIVER_DOC','collabWebSocketUrl','updateCursorEvent','_toggleOnline','_changesetSessionId','enc','[DataLoaderService]','_snapshotServerService','parseChangesetToProtocol','/universer-api/authz','YUUMI_ASYNCIO_CANCELLED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','readAsDataURL','UNIVER_SHEET','_cipher','CollaborationImageIoService','CompressMutationService','_fetchMissChangesets','onRemoteRej','_startCollaboration','LIVESHARE_FETCH_OPERATIONS','revision','Injector','transformUndoRedo','submit\x20changeset\x20error!','SOCKET_FAILED','defineProperty','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','COMPRESS_MUTATION_SEND','INVALID_INVITE_CODE','_commentService','onload','BlockCipher','UNRECOGNIZED','ERROR_EXCEED_SIZE','commentUpdate$','_httpService','getGlobalObject','_singleActiveUnitService','_hasher','Plugin','_initUnitPermissionChange','requestParams','_createHmacHelper','_resendWithTimeout','_roomCreated$','firstValueFrom','open$','Cipher','RichTextEditingMutation','CommentService','UNIVER_UNKNOWN','COLLAB_SUBMIT_CHANGESET_URL_KEY','_entityInit$','_socket','MentionIoHttpService','_getCurrentRevision','FAIL','ConflictState','COMMENT_UPDATE','_members$','onTransformRemoteChangesetByIMECache','override','IUndoRedoService','removeMember','_keySchedule','decryptBlock','function','_getRedoStack','APPLY_PERMISSION_DENIED','setShowComponents','IUniverInstanceService','ivSize','post','__Key__','awaiting','_undoRedoService','CHANGESET_REJ','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_ACK','key','reconnect','registerHTTPInterceptor','/object/','CollaborationController','_type','LOGIN_FAILED','onTransformIME','CipherParams','_iv','USERS_LEAVE','SheetPermissionInitController','_sheetTransformSelectionsService','awaitingChangeset','_sendingTimer','_waitForHeartbeatResponse','HmacSHA1','_retryCount','_change$','_onFetchMissResult','keySize','transformStack\x20failed!','fetchMissingChangesets','_transformStateCache','_transformIMECache','createInstance'];_0x5af3=function(){return _0x29a746;};return _0x5af3();}exports[_0x772c99(0x44a)]=class extends a[_0x772c99(0x3f9)]{constructor(_0x28ddd2,_0x12446e,_0x3cd241,_0x24d0a6){var _0x2d50f2=_0x772c99;super(),A(this,_0x2d50f2(0x23c)),(this[_0x2d50f2(0x2b8)]=_0x12446e,this['_injector']=_0x3cd241,this[_0x2d50f2(0x549)]=_0x24d0a6);const {..._0x1d23e7}=a[_0x2d50f2(0x4f7)]({},Kt,_0x28ddd2);if(!_0x1d23e7['socketService'])throw new Error(_0x2d50f2(0x2d5));this[_0x2d50f2(0x23c)]=_0x1d23e7,this['_configService'][_0x2d50f2(0x539)](G,_0x1d23e7);}[_0x772c99(0x260)](){var _0x251ad7=_0x772c99;this[_0x251ad7(0x4ca)](),this[_0x251ad7(0x337)]();}[_0x772c99(0x4ca)](){var _0x1fa9e2=_0x772c99,_0x98de3e,_0x125c4f;this[_0x1fa9e2(0x45b)]['has'](a[_0x1fa9e2(0x410)])&&this['_logService'][_0x1fa9e2(0x2aa)](_0x1fa9e2(0x512),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x182100=a[_0x1fa9e2(0x20d)]([[a['IUndoRedoService'],{'useClass':exports[_0x1fa9e2(0x2cc)]}],[exports[_0x1fa9e2(0x314)]],[exports[_0x1fa9e2(0x47b)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[De],[ee],[exports[_0x1fa9e2(0x348)]],[He,{'useClass':this[_0x1fa9e2(0x23c)][_0x1fa9e2(0x328)]}],[p[_0x1fa9e2(0x1f5)],{'useClass':exports[_0x1fa9e2(0x307)]}],[a['IAuthzIoService'],{'useClass':exports[_0x1fa9e2(0x20c)]}],[z[_0x1fa9e2(0x324)],{'useClass':exports[_0x1fa9e2(0x3e0)]}],[a[_0x1fa9e2(0x275)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x1fa9e2(0x425)]],[xe]],(_0x98de3e=this[_0x1fa9e2(0x23c)])==null?void 0x0:_0x98de3e[_0x1fa9e2(0x40f)]);if(!((_0x125c4f=this[_0x1fa9e2(0x23c)])!=null&&_0x125c4f[_0x1fa9e2(0x20f)])){const _0x121920=_0x182100['findIndex'](([_0x49d514])=>_0x49d514===de);_0x121920!==-0x1&&_0x182100[_0x1fa9e2(0x3c3)](_0x121920,0x1);}a['registerDependencies'](this[_0x1fa9e2(0x45b)],_0x182100);}[_0x772c99(0x337)](){var _0x21d583=_0x772c99,_0x428b8d,_0x561a2c,_0x1a811d;this[_0x21d583(0x45b)][_0x21d583(0x555)](K[_0x21d583(0x4c9)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K[_0x21d583(0x525)]({'maxParallel':0x6})}),(_0x428b8d=this[_0x21d583(0x23c)])!=null&&_0x428b8d[_0x21d583(0x52a)]||(_0x561a2c=this[_0x21d583(0x45b)][_0x21d583(0x555)](q,a['Quantity'][_0x21d583(0x2e3)]))==null||_0x561a2c[_0x21d583(0x1ff)](),(_0x1a811d=this[_0x21d583(0x23c)])!=null&&_0x1a811d[_0x21d583(0x319)]&&a[_0x21d583(0x338)](this[_0x21d583(0x45b)],[[ye]]),a['touchDependencies'](this[_0x21d583(0x45b)],[[Ne],[exports[_0x21d583(0x425)]],[De]]);}},Un(exports['UniverCollaborationClientPlugin'],_0x772c99(0x3aa),An),exports[_0x772c99(0x44a)]=Dn([a['DependentOn'](p['UniverCollaborationPlugin'],K[_0x772c99(0x269)]),Me(0x1,a['ILogService']),Me(0x2,a[_0x772c99(0x2a5)](a[_0x772c99(0x3e7)])),Me(0x3,a[_0x772c99(0x399)])],exports[_0x772c99(0x44a)]),exports[_0x772c99(0x3bd)]=Ve,exports[_0x772c99(0x3dc)]=G,exports[_0x772c99(0x405)]=It,exports[_0x772c99(0x227)]=ut,exports[_0x772c99(0x376)]=Be,exports['CollaborationUIEventId']=Z,exports[_0x772c99(0x466)]=ee,exports[_0x772c99(0x403)]=$e,exports[_0x772c99(0x29c)]=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Gt,exports[_0x772c99(0x486)]=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=He,exports[_0x772c99(0x312)]=q,exports[_0x772c99(0x3a3)]=mt,exports[_0x772c99(0x33a)]=de,exports[_0x772c99(0x2d7)]=Ft,exports[_0x772c99(0x1f2)]=Bt,exports[_0x772c99(0x2ce)]=pt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Yt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports['SNAPSHOT_SERVER_URL_KEY']=_t,exports['SNAPSHOT_URL_KEY']=lt,exports[_0x772c99(0x503)]=re,exports[_0x772c99(0x4ed)]=je,exports[_0x772c99(0x2f9)]=Ct,exports[_0x772c99(0x44d)]=oi,exports[_0x772c99(0x461)]=Tt;