@univerjs-pro/collaboration-client 0.9.4 → 0.10.0

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 (50) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/services/collaboration-session/collaboration-session.d.ts +2 -3
  38. package/lib/umd/facade.js +1 -1
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +11 -11
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x32d268=_0x10a7;(function(_0x2e7046,_0x5cbfb7){var _0x6f246a=_0x10a7,_0x5ce3e3=_0x2e7046();while(!![]){try{var _0x126fee=parseInt(_0x6f246a(0x31b))/0x1+parseInt(_0x6f246a(0x4cd))/0x2+-parseInt(_0x6f246a(0x3d5))/0x3+parseInt(_0x6f246a(0x345))/0x4+parseInt(_0x6f246a(0x33d))/0x5+-parseInt(_0x6f246a(0x4f6))/0x6*(parseInt(_0x6f246a(0x25c))/0x7)+-parseInt(_0x6f246a(0x553))/0x8;if(_0x126fee===_0x5cbfb7)break;else _0x5ce3e3['push'](_0x5ce3e3['shift']());}catch(_0x232bb4){_0x5ce3e3['push'](_0x5ce3e3['shift']());}}}(_0x5164,0xbe922));var bt=Object[_0x32d268(0x30e)],Ot=(_0x51d38b,_0x28062a,_0x2e4310)=>_0x28062a in _0x51d38b?bt(_0x51d38b,_0x28062a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e4310}):_0x51d38b[_0x28062a]=_0x2e4310,A=(_0x3bd962,_0x2f1134,_0x221e72)=>Ot(_0x3bd962,typeof _0x2f1134!=_0x32d268(0x249)?_0x2f1134+'':_0x2f1134,_0x221e72);Object[_0x32d268(0x30e)](exports,Symbol[_0x32d268(0x50c)],{'value':_0x32d268(0x3c7)});const a=require('@univerjs/core'),j=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),q=require('@univerjs/network'),Rt=require('@univerjs/telemetry'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x32d268(0x3e2),Dt=_0x32d268(0x40c),Ut=0x7d0,ht=_0x32d268(0x4c8),At=_0x32d268(0x3e4),_t=_0x32d268(0x1f8),Pt=0x7530,ke=_0x32d268(0x245),lt=0x4e20,wt=0x4e20,ut=_0x32d268(0x1fe),Mt=0x3,Lt=_0x32d268(0x33b),xt=0x3e8,kt='/universer-api/comb',$t=_0x32d268(0x216),jt=_0x32d268(0x4fc),Ht=_0x32d268(0x280);var dt=(_0x2d9bd3=>(_0x2d9bd3[_0x2d9bd3[_0x32d268(0x2c2)]=0x0]=_0x32d268(0x2c2),_0x2d9bd3[_0x2d9bd3['OK']=0x1]='OK',_0x2d9bd3[_0x2d9bd3[_0x32d268(0x4a2)]=0x2]=_0x32d268(0x4a2),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x3b4)]=0x3]=_0x32d268(0x3b4),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x40f)]=0x4]='NOT_FOUND',_0x2d9bd3[_0x2d9bd3[_0x32d268(0x55a)]=0x5]=_0x32d268(0x55a),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x323)]=0x6]=_0x32d268(0x323),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x203)]=0x7]=_0x32d268(0x203),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x555)]=0x8]=_0x32d268(0x555),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x29b)]=0x9]=_0x32d268(0x29b),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x4d0)]=0xa]='LOGIN_FAILED',_0x2d9bd3[_0x2d9bd3['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2d9bd3[_0x2d9bd3[_0x32d268(0x279)]=0xc]=_0x32d268(0x279),_0x2d9bd3[_0x2d9bd3['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2d9bd3[_0x2d9bd3['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x32d268(0x320),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x312)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2d9bd3[_0x2d9bd3[_0x32d268(0x44b)]=0x1771]=_0x32d268(0x44b),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x217)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2d9bd3[_0x2d9bd3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x32d268(0x363),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x2e1)]=0x1b59]=_0x32d268(0x2e1),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x3eb)]=0x1b5a]=_0x32d268(0x3eb),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x3b2)]=0x1b5b]=_0x32d268(0x3b2),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x2f9)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2d9bd3[_0x2d9bd3[_0x32d268(0x4ff)]=0x1b5d]=_0x32d268(0x4ff),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x274)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2d9bd3[_0x2d9bd3[_0x32d268(0x539)]=0x2329]=_0x32d268(0x539),_0x2d9bd3[_0x2d9bd3['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x32d268(0x388),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x442)]=0x232b]=_0x32d268(0x442),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x428)]=0x232c]=_0x32d268(0x428),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x389)]=0x232d]=_0x32d268(0x389),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x556)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2d9bd3[_0x2d9bd3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2d9bd3[_0x2d9bd3[_0x32d268(0x4df)]=0x2713]=_0x32d268(0x4df),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x41b)]=0x2714]=_0x32d268(0x41b),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x4e1)]=0x271a]=_0x32d268(0x4e1),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x282)]=0x271b]=_0x32d268(0x282),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x35e)]=0x271c]=_0x32d268(0x35e),_0x2d9bd3[_0x2d9bd3['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x32d268(0x2c8),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x4a6)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2d9bd3[_0x2d9bd3[_0x32d268(0x285)]=0x271f]=_0x32d268(0x285),_0x2d9bd3[_0x2d9bd3['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x32d268(0x2e0),_0x2d9bd3[_0x2d9bd3['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x32d268(0x481),_0x2d9bd3[_0x2d9bd3['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x32d268(0x204),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x3de)]=0x2ee2]=_0x32d268(0x3de),_0x2d9bd3[_0x2d9bd3['INVITE_CODE_REQUIRED']=0x2ee3]=_0x32d268(0x456),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x378)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2d9bd3[_0x2d9bd3[_0x32d268(0x395)]=0x2ee5]=_0x32d268(0x395),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x21f)]=0x32c9]=_0x32d268(0x21f),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x25f)]=0x32ca]=_0x32d268(0x25f),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x3d2)]=0x32cb]=_0x32d268(0x3d2),_0x2d9bd3[_0x2d9bd3[_0x32d268(0x3d9)]=-0x1]=_0x32d268(0x3d9),_0x2d9bd3))(dt||{}),J=(_0x1a1e41=>(_0x1a1e41[_0x1a1e41[_0x32d268(0x470)]=0x0]='UNIVER_UNKNOWN',_0x1a1e41[_0x1a1e41['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1a1e41[_0x1a1e41[_0x32d268(0x467)]=0x2]=_0x32d268(0x467),_0x1a1e41[_0x1a1e41[_0x32d268(0x42e)]=0x3]=_0x32d268(0x42e),_0x1a1e41[_0x1a1e41[_0x32d268(0x232)]=0x4]='UNIVER_PROJECT',_0x1a1e41[_0x1a1e41['UNRECOGNIZED']=-0x1]=_0x32d268(0x3d9),_0x1a1e41))(J||{}),W=(_0xc1fe76=>(_0xc1fe76[_0xc1fe76['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0xc1fe76[_0xc1fe76[_0x32d268(0x1e5)]=0x1]=_0x32d268(0x1e5),_0xc1fe76[_0xc1fe76[_0x32d268(0x39b)]=0x2]=_0x32d268(0x39b),_0xc1fe76[_0xc1fe76[_0x32d268(0x525)]=0x3]=_0x32d268(0x525),_0xc1fe76[_0xc1fe76[_0x32d268(0x1f1)]=0x4]=_0x32d268(0x1f1),_0xc1fe76[_0xc1fe76[_0x32d268(0x550)]=0x5]=_0x32d268(0x550),_0xc1fe76[_0xc1fe76[_0x32d268(0x53e)]=0x6]=_0x32d268(0x53e),_0xc1fe76[_0xc1fe76['UNRECOGNIZED']=-0x1]=_0x32d268(0x3d9),_0xc1fe76))(W||{}),oe=(_0x2b5c7b=>(_0x2b5c7b[_0x2b5c7b[_0x32d268(0x2ab)]=0x0]=_0x32d268(0x2ab),_0x2b5c7b[_0x2b5c7b['OK']=0x1]='OK',_0x2b5c7b[_0x2b5c7b[_0x32d268(0x210)]=0x2]=_0x32d268(0x210),_0x2b5c7b[_0x2b5c7b[_0x32d268(0x35a)]=0x3e9]='JOIN_ROOM_FULL',_0x2b5c7b[_0x2b5c7b[_0x32d268(0x2dc)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x2b5c7b[_0x2b5c7b[_0x32d268(0x2c1)]=0x3eb]=_0x32d268(0x2c1),_0x2b5c7b[_0x2b5c7b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x32d268(0x413),_0x2b5c7b[_0x2b5c7b[_0x32d268(0x3d9)]=-0x1]=_0x32d268(0x3d9),_0x2b5c7b))(oe||{}),vt=(_0x3e2cf2=>(_0x3e2cf2[_0x3e2cf2[_0x32d268(0x309)]=0x0]=_0x32d268(0x309),_0x3e2cf2[_0x3e2cf2[_0x32d268(0x43f)]=0x1]=_0x32d268(0x43f),_0x3e2cf2[_0x3e2cf2[_0x32d268(0x252)]=0x2]='HttpExport',_0x3e2cf2[_0x3e2cf2[_0x32d268(0x22d)]=0x3]='UnitEmbedded',_0x3e2cf2[_0x3e2cf2[_0x32d268(0x33c)]=0x4]=_0x32d268(0x33c),_0x3e2cf2[_0x3e2cf2['UserProfileImg']=0x5]=_0x32d268(0x367),_0x3e2cf2[_0x3e2cf2[_0x32d268(0x3d9)]=-0x1]=_0x32d268(0x3d9),_0x3e2cf2))(vt||{});const Y=_0x32d268(0x1ff),Bt={};var Z=(_0x5ba536=>(_0x5ba536[_0x32d268(0x355)]=_0x32d268(0x355),_0x5ba536[_0x32d268(0x3b4)]='PERMISSION_DENIED',_0x5ba536[_0x32d268(0x267)]=_0x32d268(0x267),_0x5ba536['CLOSE_ROOM']='CLOSE_ROOM',_0x5ba536[_0x32d268(0x2ee)]='JOIN_ROOM_FAILED',_0x5ba536['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x5ba536[_0x32d268(0x495)]=_0x32d268(0x495),_0x5ba536[_0x32d268(0x4b4)]=_0x32d268(0x4b4),_0x5ba536))(Z||{});class ee{constructor(){var _0x2404f8=_0x32d268;A(this,'_event$',new j[(_0x2404f8(0x46f))]()),A(this,_0x2404f8(0x3aa),this[_0x2404f8(0x381)][_0x2404f8(0x236)]());}[_0x32d268(0x3da)](_0x13b032){var _0x203319=_0x32d268;this[_0x203319(0x381)]['next'](_0x13b032);}}const St=a[_0x32d268(0x209)](_0x32d268(0x46c));function ft(_0x273c46){var _0x4ae918=_0x32d268,_0x227103,_0xb3228,_0x5b082d,_0x240e66,_0x6b34db;const _0x5af4b8=_0x273c46[_0x4ae918(0x40d)],_0x3d0e5d=JSON[_0x4ae918(0x29d)](_0x5af4b8);switch(_0x3d0e5d[_0x4ae918(0x503)]){case W[_0x4ae918(0x550)]:case W[_0x4ae918(0x1e5)]:{const _0x2dd937=_0x3d0e5d[_0x4ae918(0x4bd)];return{..._0x3d0e5d,'data':_0x2dd937,'cmd':_0x3d0e5d[_0x4ae918(0x503)]};}case W[_0x4ae918(0x39b)]:{const _0x3c6224=_0x3d0e5d[_0x4ae918(0x457)];return{..._0x3d0e5d,'data':_0x3c6224,'cmd':_0x3d0e5d[_0x4ae918(0x503)]};}case W[_0x4ae918(0x53e)]:{const _0x12506d=_0x3d0e5d[_0x4ae918(0x2f5)];switch(_0x12506d[_0x4ae918(0x211)]){case p[_0x4ae918(0x1f5)][_0x4ae918(0x21b)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':(_0x227103=_0x12506d['permissionRejEvent'])==null?void 0x0:_0x227103['cs']},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p[_0x4ae918(0x1f5)][_0x4ae918(0x42c)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':(_0xb3228=_0x12506d[_0x4ae918(0x34a)])==null?void 0x0:_0xb3228['cs']},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p['CollaborationEvent'][_0x4ae918(0x2d6)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':(_0x5b082d=_0x12506d['newCsEvent'])==null?void 0x0:_0x5b082d['cs']},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p[_0x4ae918(0x1f5)][_0x4ae918(0x219)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':(_0x240e66=_0x12506d['csRejEvent'])==null?void 0x0:_0x240e66['cs']},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p[_0x4ae918(0x1f5)][_0x4ae918(0x265)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':(_0x6b34db=_0x12506d[_0x4ae918(0x2a1)])==null?void 0x0:_0x6b34db['cs']},'cmd':_0x3d0e5d['cmd']};case p[_0x4ae918(0x1f5)][_0x4ae918(0x52e)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d[_0x4ae918(0x27e)]},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p[_0x4ae918(0x1f5)]['USERS_ENTER']:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d[_0x4ae918(0x43e)]},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p['CollaborationEvent'][_0x4ae918(0x42d)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d[_0x4ae918(0x416)]},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p[_0x4ae918(0x1f5)][_0x4ae918(0x3af)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d[_0x4ae918(0x4f5)]},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p[_0x4ae918(0x1f5)][_0x4ae918(0x2b8)]:case p[_0x4ae918(0x1f5)][_0x4ae918(0x54d)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d['liveShareOperation']},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p[_0x4ae918(0x1f5)]['LIVESHARE_TERMINATE']:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d[_0x4ae918(0x4f5)]},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p['CollaborationEvent'][_0x4ae918(0x4da)]:return{..._0x3d0e5d,'data':_0x12506d,'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p[_0x4ae918(0x1f5)][_0x4ae918(0x507)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d[_0x4ae918(0x2ff)]},'cmd':_0x3d0e5d['cmd']};case p[_0x4ae918(0x1f5)][_0x4ae918(0x30c)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d[_0x4ae918(0x370)]},'cmd':_0x3d0e5d['cmd']};case p[_0x4ae918(0x1f5)][_0x4ae918(0x326)]:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d['shouldCloseConn']},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};case p[_0x4ae918(0x1f5)]['UNISCRIPT_RUN']:return{..._0x3d0e5d,'data':{..._0x12506d,'data':_0x12506d[_0x4ae918(0x23f)]},'cmd':_0x3d0e5d[_0x4ae918(0x503)]};default:return _0x3d0e5d;}}default:return _0x3d0e5d;}}function It(_0x1712b0){var _0x557ba7=_0x32d268;switch(_0x1712b0[_0x557ba7(0x503)]){case W[_0x557ba7(0x550)]:case W[_0x557ba7(0x1e5)]:return JSON['stringify']({'cmd':_0x1712b0[_0x557ba7(0x503)],'routeKey':_0x1712b0[_0x557ba7(0x348)]});case W[_0x557ba7(0x1f1)]:{let _0x12c8fb;switch(_0x1712b0[_0x557ba7(0x40d)]['eventID']){case p[_0x557ba7(0x1f5)][_0x557ba7(0x52e)]:{_0x12c8fb={'eventID':p['CollaborationEvent'][_0x557ba7(0x52e)],'updateCursorEvent':_0x1712b0[_0x557ba7(0x40d)][_0x557ba7(0x40d)]};break;}case p[_0x557ba7(0x1f5)]['USERS_LEAVE']:{_0x12c8fb={'eventID':p['CollaborationEvent'][_0x557ba7(0x42d)],'leaveEvent':_0x1712b0[_0x557ba7(0x40d)][_0x557ba7(0x40d)]};break;}case p[_0x557ba7(0x1f5)][_0x557ba7(0x3a0)]:{_0x12c8fb={'eventID':p[_0x557ba7(0x1f5)][_0x557ba7(0x3a0)],'joinEvent':_0x1712b0[_0x557ba7(0x40d)][_0x557ba7(0x40d)]};break;}case p[_0x557ba7(0x1f5)]['LIVESHARE_NEW_HOST']:{_0x12c8fb={'eventID':p['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1712b0[_0x557ba7(0x40d)][_0x557ba7(0x40d)]};break;}case p[_0x557ba7(0x1f5)][_0x557ba7(0x54d)]:{_0x12c8fb={'eventID':p['CollaborationEvent'][_0x557ba7(0x54d)],'liveShareOperation':_0x1712b0[_0x557ba7(0x40d)]['data']};break;}case p[_0x557ba7(0x1f5)][_0x557ba7(0x4cc)]:{_0x12c8fb={'eventID':p[_0x557ba7(0x1f5)][_0x557ba7(0x4cc)],'liveShareTerminate':_0x1712b0[_0x557ba7(0x40d)][_0x557ba7(0x40d)]};break;}case p['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x12c8fb={'eventID':p['CollaborationEvent'][_0x557ba7(0x2a0)],'liveShareRequestHost':_0x1712b0['data'][_0x557ba7(0x40d)]};break;}case p[_0x557ba7(0x1f5)][_0x557ba7(0x2b8)]:{_0x12c8fb={'eventID':p[_0x557ba7(0x1f5)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x12c8fb={'eventID':_0x1712b0[_0x557ba7(0x40d)][_0x557ba7(0x211)]};}return JSON[_0x557ba7(0x27d)]({'cmd':_0x1712b0['cmd'],'routeKey':_0x1712b0[_0x557ba7(0x348)],'collaMsg':_0x12c8fb});}case W[_0x557ba7(0x39b)]:return JSON['stringify']({'cmd':_0x1712b0['cmd'],'routeKey':_0x1712b0[_0x557ba7(0x348)],'joinReq':_0x1712b0[_0x557ba7(0x40d)]});case W[_0x557ba7(0x525)]:return JSON[_0x557ba7(0x27d)]({'cmd':_0x1712b0[_0x557ba7(0x503)],'routeKey':_0x1712b0[_0x557ba7(0x348)],'leaveReq':_0x1712b0[_0x557ba7(0x40d)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ft=Object[_0x32d268(0x32e)],Vt=(_0x4f1814,_0x46594f,_0x3e68c5,_0x3360ec)=>{var _0xa419ce=_0x32d268;for(var _0x27a0ed=_0x3360ec>0x1?void 0x0:_0x3360ec?Ft(_0x46594f,_0x3e68c5):_0x46594f,_0x3712d0=_0x4f1814[_0xa419ce(0x25b)]-0x1,_0x64bfe;_0x3712d0>=0x0;_0x3712d0--)(_0x64bfe=_0x4f1814[_0x3712d0])&&(_0x27a0ed=_0x64bfe(_0x27a0ed)||_0x27a0ed);return _0x27a0ed;},_e=(_0x3b0c85,_0x252ac8)=>(_0x3e9ec4,_0x9694d1)=>_0x252ac8(_0x3e9ec4,_0x9694d1,_0x3b0c85);const $e=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function Wt(_0x239e3f,_0x2162da,_0x8ddc75){var _0x34e71b=_0x32d268;return _0x239e3f+'/'+_0x2162da+_0x34e71b(0x374)+_0x8ddc75+'/new_changes';}exports[_0x32d268(0x49e)]=class extends a[_0x32d268(0x483)]{constructor(_0x2a49d7,_0x27a53d,_0x19fb9c,_0x5818aa,_0x260649){var _0x269250=_0x32d268;super(),this[_0x269250(0x432)]=_0x2a49d7,this[_0x269250(0x410)]=_0x27a53d,this[_0x269250(0x4bf)]=_0x19fb9c,this['_logService']=_0x5818aa,this[_0x269250(0x356)]=_0x260649;}[_0x32d268(0x39d)](_0xea6b96){var _0x785888=_0x32d268;const _0x51b9fd=this[_0x785888(0x432)][_0x785888(0x349)](q[_0x785888(0x340)]);if(!_0x51b9fd)throw new Error(_0x785888(0x4b6));const _0x81c5ad=_0x51b9fd[_0x785888(0x444)](_0xea6b96);if(!_0x81c5ad)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x457204=new a['DisposableCollection'](),_0x1b8f56=new j[(_0x785888(0x46f))]();_0x457204[_0x785888(0x4c0)](_0x81c5ad['close$'][_0x785888(0x377)](_0x2a506d=>_0x1b8f56[_0x785888(0x3f7)](_0x2a506d))),_0x457204['add'](a[_0x785888(0x45f)](()=>_0x1b8f56[_0x785888(0x3d8)]()));const _0x56e3dc=new j[(_0x785888(0x46f))]();_0x457204[_0x785888(0x4c0)](_0x81c5ad[_0x785888(0x276)]['subscribe'](_0x2c0718=>_0x56e3dc[_0x785888(0x3f7)](_0x2c0718))),_0x457204[_0x785888(0x4c0)](a[_0x785888(0x45f)](()=>_0x56e3dc[_0x785888(0x3d8)]()));const _0x15a270=new j[(_0x785888(0x46f))]();_0x457204[_0x785888(0x4c0)](_0x81c5ad[_0x785888(0x30d)][_0x785888(0x377)](_0x5d1e9a=>{var _0x3b70de=_0x785888;const _0x36e8c3=ft(_0x5d1e9a);_0x15a270[_0x3b70de(0x3f7)](_0x36e8c3);})),_0x457204[_0x785888(0x4c0)](a['toDisposable'](()=>_0x15a270[_0x785888(0x3d8)]()));let _0xd63574;const _0x4ff78f=()=>{var _0x5d3b86=_0x785888;_0x56e3dc[_0x5d3b86(0x3f7)](new Event(_0x5d3b86(0x54c))),_0x1b8f56[_0x5d3b86(0x3f7)](new Event(_0x5d3b86(0x54c))),_0xd63574[_0x5d3b86(0x430)]();};return _0xd63574={'memberID':'','close$':_0x1b8f56[_0x785888(0x236)](),'error$':_0x56e3dc[_0x785888(0x236)](),'open$':_0x81c5ad[_0x785888(0x344)],'message$':_0x15a270[_0x785888(0x236)](),'send':_0xfdc923=>{var _0x1ac96c=_0x785888;if(_0xfdc923[_0x1ac96c(0x503)]===W[_0x1ac96c(0x1f1)]){if(_0xfdc923['data'][_0x1ac96c(0x211)]===p['CollaborationEvent'][_0x1ac96c(0x385)]){this[_0x1ac96c(0x3dd)](_0xd63574,_0xfdc923[_0x1ac96c(0x40d)])[_0x1ac96c(0x3e8)](_0x34ff3b=>{var _0x28a534=_0x1ac96c;this[_0x28a534(0x2bb)][_0x28a534(0x29a)](_0x34ff3b),_0x4ff78f();});return;}if(_0xfdc923[_0x1ac96c(0x40d)]['eventID']===p[_0x1ac96c(0x1f5)][_0x1ac96c(0x53f)]){const _0x1ec054=_0xfdc923[_0x1ac96c(0x40d)];this[_0x1ac96c(0x281)](_0x1ec054)[_0x1ac96c(0x400)](_0x58a259=>{var _0x1991db=_0x1ac96c;_0x15a270['next']({'cmd':W[_0x1991db(0x53e)],'code':oe['OK'],'routeKey':_0x1ec054[_0x1991db(0x40d)]['unitID'],'routeType':'','data':{'eventID':p[_0x1991db(0x1f5)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x58a259}}});})['catch'](_0x43868b=>{var _0x3b38f7=_0x1ac96c;this[_0x3b38f7(0x2bb)]['error'](_0x43868b),_0x4ff78f();});return;}}_0x81c5ad[_0x1ac96c(0x1fa)](It(_0xfdc923));},'close':()=>{var _0x28521a=_0x785888;_0x81c5ad['close'](),_0x457204[_0x28521a(0x401)]();}},_0xd63574;}async[_0x32d268(0x3dd)](_0xd0d38b,_0x4c105d){var _0x58e84a=_0x32d268,_0x302974;const {unitType:_0x3299e8,unitID:_0x4b73eb,changeset:_0x49bde1}=_0x4c105d['data'],_0x453f8a={'unitID':_0x4b73eb,'memberID':_0xd0d38b['memberID'],'type':_0x3299e8,'changeset':p[_0x58e84a(0x275)](_0x49bde1)},_0x2aa5f9=this[_0x58e84a(0x4bf)][_0x58e84a(0x1f4)](Y),_0x112c7d=Wt((_0x302974=_0x2aa5f9==null?void 0x0:_0x2aa5f9[_0x58e84a(0x406)])!=null?_0x302974:kt,_0x3299e8,_0x4b73eb);try{await this['_httpService'][_0x58e84a(0x4e5)](_0x112c7d,{'body':_0x453f8a});}catch(_0x412442){throw this['_logService'][_0x58e84a(0x29a)](_0x58e84a(0x22c),_0x58e84a(0x208)),_0x412442;}}async['_fetchMissChangesets'](_0x5724f5){var _0x526538=_0x32d268;const {unitID:_0x3680f3,from:_0x3fd82b,to:_0xd96829,unitType:_0x1ad0f9}=_0x5724f5['data'];return(await this['_snapshotServerService'][_0x526538(0x333)]({'metadata':void 0x0},{'unitID':_0x3680f3,'type':_0x1ad0f9,'from':_0x3fd82b,'to':_0xd96829}))[_0x526538(0x295)];}},exports[_0x32d268(0x49e)]=Vt([_e(0x0,a[_0x32d268(0x2ef)](a[_0x32d268(0x4e6)])),_e(0x1,a[_0x32d268(0x2ef)](q['HTTPService'])),_e(0x2,a[_0x32d268(0x26b)]),_e(0x3,a[_0x32d268(0x2fd)]),_e(0x4,p['ISnapshotServerService'])],exports[_0x32d268(0x49e)]);const Gt=_0x32d268(0x3db);function Yt(_0xc45262){var _0x12f3ea=_0x32d268;return JSON[_0x12f3ea(0x27d)](_0xc45262)['length'];}class je{constructor(){var _0x2cb696=_0x32d268;A(this,_0x2cb696(0x4ba),new j['Subject']()),A(this,_0x2cb696(0x491),this['_commentUpdate$'][_0x2cb696(0x236)]());}[_0x32d268(0x322)](_0x1990a7){var _0xf1ca92=_0x32d268;this[_0xf1ca92(0x4ba)][_0xf1ca92(0x3f7)](_0x1990a7);}}var qt=Object[_0x32d268(0x32e)],Kt=(_0x1052dd,_0x383103,_0xc057c8,_0x2ecf30)=>{for(var _0x4e9150=_0x2ecf30>0x1?void 0x0:_0x2ecf30?qt(_0x383103,_0xc057c8):_0x383103,_0xf60d0=_0x1052dd['length']-0x1,_0x50d8cb;_0xf60d0>=0x0;_0xf60d0--)(_0x50d8cb=_0x1052dd[_0xf60d0])&&(_0x4e9150=_0x50d8cb(_0x4e9150)||_0x4e9150);return _0x4e9150;},Ve=(_0x5659c6,_0x3a1fe6)=>(_0x594844,_0xd8534f)=>_0x3a1fe6(_0x594844,_0xd8534f,_0x5659c6);exports['MemberService']=class extends a[_0x32d268(0x483)]{constructor(_0x589581,_0x22ca08){var _0x551b70=_0x32d268;super(),A(this,_0x551b70(0x254),new Map()),A(this,'_roomCreated$',new j[(_0x551b70(0x46f))]()),(this[_0x551b70(0x43d)]=_0x589581,this['_userManagerService']=_0x22ca08,this[_0x551b70(0x305)](j[_0x551b70(0x47a)](this[_0x551b70(0x43d)][_0x551b70(0x303)](a[_0x551b70(0x319)][_0x551b70(0x467)])['pipe'](V[_0x551b70(0x287)](_0x465401=>_0x465401[_0x551b70(0x397)]())),this[_0x551b70(0x43d)][_0x551b70(0x303)](a[_0x551b70(0x319)][_0x551b70(0x39e)])['pipe'](V[_0x551b70(0x287)](_0x508f53=>_0x508f53[_0x551b70(0x397)]())),this[_0x551b70(0x43d)]['getTypeOfUnitDisposed$'](a[_0x551b70(0x319)]['UNIVER_SLIDE'])[_0x551b70(0x554)](V[_0x551b70(0x287)](_0x4791a7=>_0x4791a7['getUnitId']())))[_0x551b70(0x377)](_0x25621f=>this[_0x551b70(0x424)](_0x25621f))));}['waitForRoom$'](_0x5877cb){var _0x3e885b=_0x32d268;return this[_0x3e885b(0x254)][_0x3e885b(0x259)](_0x5877cb)?j['of'](this[_0x3e885b(0x254)][_0x3e885b(0x349)](_0x5877cb)):this[_0x3e885b(0x498)][_0x3e885b(0x554)](V['map'](_0x149510=>{var _0x41e502=_0x3e885b;if(_0x149510===_0x5877cb)return this['_roomMembers'][_0x41e502(0x349)](_0x149510);}));}[_0x32d268(0x262)](_0x5ddfda){var _0x1fe3e7=_0x32d268;this['_userManagerService'][_0x1fe3e7(0x262)](_0x5ddfda);}[_0x32d268(0x24e)](){var _0x57b85=_0x32d268;return this[_0x57b85(0x206)]['getCurrentUser']();}[_0x32d268(0x230)](_0x5488af,_0x2adf35){var _0x1e8a95=_0x32d268;let _0x376e26=this[_0x1e8a95(0x254)][_0x1e8a95(0x349)](_0x5488af);_0x376e26||(_0x376e26=new zt(),this[_0x1e8a95(0x254)][_0x1e8a95(0x261)](_0x5488af,_0x376e26),this[_0x1e8a95(0x498)][_0x1e8a95(0x3f7)](_0x5488af)),_0x376e26[_0x1e8a95(0x230)](_0x2adf35);}[_0x32d268(0x32b)](_0xdea87e,_0x348ca9){var _0x34d9f8=_0x32d268;const _0x29b7fd=this[_0x34d9f8(0x254)][_0x34d9f8(0x349)](_0xdea87e);_0x29b7fd&&_0x29b7fd[_0x34d9f8(0x32b)](_0x348ca9);}[_0x32d268(0x3bb)](_0x4922cb){var _0x52f0ad=_0x32d268;return this['_roomMembers'][_0x52f0ad(0x349)](_0x4922cb);}[_0x32d268(0x2e9)](_0x2877ea,_0x1698f0){var _0xd920bc=_0x32d268;const _0x3dc5d9=this['_roomMembers'][_0xd920bc(0x349)](_0x2877ea);if(_0x3dc5d9)return _0x3dc5d9[_0xd920bc(0x2e9)](_0x1698f0);}[_0x32d268(0x424)](_0x556728){var _0x2d1f99=_0x32d268;const _0x1aa8de=this['_roomMembers'][_0x2d1f99(0x349)](_0x556728);_0x1aa8de&&(_0x1aa8de[_0x2d1f99(0x401)](),this['_roomMembers']['delete'](_0x556728));}[_0x32d268(0x401)](){var _0x47618d=_0x32d268;this[_0x47618d(0x254)][_0x47618d(0x256)](_0x123ced=>_0x123ced[_0x47618d(0x401)]()),this['_roomMembers'][_0x47618d(0x3bf)](),this['_roomCreated$']['complete']();}},exports[_0x32d268(0x38a)]=Kt([Ve(0x0,a['IUniverInstanceService']),Ve(0x1,a[_0x32d268(0x2ef)](a['UserManagerService']))],exports[_0x32d268(0x38a)]);class zt extends a['Disposable']{constructor(){var _0x241ae2=_0x32d268;super(...arguments),A(this,_0x241ae2(0x229),new Map()),A(this,'_members$',new j[(_0x241ae2(0x493))](this[_0x241ae2(0x229)])),A(this,_0x241ae2(0x21e),this[_0x241ae2(0x458)][_0x241ae2(0x236)]());}[_0x32d268(0x401)](){var _0x5ab94b=_0x32d268;this['_members'][_0x5ab94b(0x3bf)]();}['updateMember'](_0x3342e3){var _0x4e5f54=_0x32d268;this[_0x4e5f54(0x229)][_0x4e5f54(0x261)](_0x3342e3[_0x4e5f54(0x437)],_0x3342e3),this[_0x4e5f54(0x2da)]();}[_0x32d268(0x32b)](_0x461dfe){var _0x4a18d5=_0x32d268;this[_0x4a18d5(0x229)][_0x4a18d5(0x543)](_0x461dfe);}[_0x32d268(0x2e9)](_0x9b5d1){var _0x25627c=_0x32d268;return this['_members'][_0x25627c(0x349)](_0x9b5d1);}[_0x32d268(0x3e1)](){var _0x4e6b80=_0x32d268;return Array[_0x4e6b80(0x524)](this['_members']['values']());}[_0x32d268(0x2da)](){var _0xa9b09e=_0x32d268;this['_members$'][_0xa9b09e(0x3f7)](this[_0xa9b09e(0x229)]);}}function _0x10a7(_0x4bdf91,_0x1fdda3){var _0x516409=_0x5164();return _0x10a7=function(_0x10a78a,_0x251ab9){_0x10a78a=_0x10a78a-0x1e4;var _0x1a6893=_0x516409[_0x10a78a];return _0x1a6893;},_0x10a7(_0x4bdf91,_0x1fdda3);}var Jt=Object['getOwnPropertyDescriptor'],Xt=(_0x56519c,_0x4853b4,_0x1001c9,_0xfa06c1)=>{for(var _0x47f1be=_0xfa06c1>0x1?void 0x0:_0xfa06c1?Jt(_0x4853b4,_0x1001c9):_0x4853b4,_0x29f4d6=_0x56519c['length']-0x1,_0x48402b;_0x29f4d6>=0x0;_0x29f4d6--)(_0x48402b=_0x56519c[_0x29f4d6])&&(_0x47f1be=_0x48402b(_0x47f1be)||_0x47f1be);return _0x47f1be;},se=(_0x571c65,_0x13cea4)=>(_0x434fcc,_0x3c7320)=>_0x13cea4(_0x434fcc,_0x3c7320,_0x571c65),re=(_0x3864f5=>(_0x3864f5[_0x3864f5['IDLE']=0x0]=_0x32d268(0x435),_0x3864f5[_0x3864f5[_0x32d268(0x28d)]=0x1]=_0x32d268(0x28d),_0x3864f5[_0x3864f5[_0x32d268(0x509)]=0x2]='OFFLINE',_0x3864f5[_0x3864f5[_0x32d268(0x2c4)]=0x3]=_0x32d268(0x2c4),_0x3864f5))(re||{});const We={[oe['FAIL']]:'session.join-failed',[oe[_0x32d268(0x35a)]]:_0x32d268(0x24f),[oe[_0x32d268(0x2dc)]]:'session.room-not-exists',[oe[_0x32d268(0x2c1)]]:_0x32d268(0x520),[oe[_0x32d268(0x413)]]:'session.room-cnt-exceeds'};exports[_0x32d268(0x26c)]=class extends a[_0x32d268(0x3f3)]{constructor(_0x30a2b8,_0x5aeb6e,_0x4557e7,_0x2ca8f3,_0x3cc8d7,_0x1a8e0f,_0x57da07,_0xf1ae3,_0x5a71a7){var _0x453d1b=_0x32d268;super(),A(this,_0x453d1b(0x24d),new j['BehaviorSubject'](0x0)),A(this,_0x453d1b(0x213),this[_0x453d1b(0x24d)][_0x453d1b(0x236)]()),A(this,_0x453d1b(0x381),new j[(_0x453d1b(0x46f))]()),A(this,'event$',this[_0x453d1b(0x381)][_0x453d1b(0x236)]()),A(this,'_socket'),A(this,'_socketMessageSubscription'),A(this,_0x453d1b(0x4aa)),A(this,_0x453d1b(0x4c6),!0x1),A(this,'_telemetryInfo',null),(this['_unitID']=_0x30a2b8,this[_0x453d1b(0x2bb)]=_0x4557e7,this['_configService']=_0x2ca8f3,this[_0x453d1b(0x3fc)]=_0x3cc8d7,this[_0x453d1b(0x306)]=_0x1a8e0f,this[_0x453d1b(0x35c)]=_0x57da07,this[_0x453d1b(0x27b)]=_0xf1ae3,this[_0x453d1b(0x34b)]=_0x5a71a7,this[_0x453d1b(0x4c6)]=!!this['_telemetryService'],_0x5aeb6e[_0x453d1b(0x554)](j[_0x453d1b(0x2f4)](this[_0x453d1b(0x4ad)]))[_0x453d1b(0x377)](_0x430c40=>{var _0x25f17b=_0x453d1b,_0x2f6c9d;typeof _0x430c40>'u'||(this[_0x25f17b(0x488)]=_0x430c40,_0x430c40?(this[_0x25f17b(0x200)](_0x430c40),this[_0x25f17b(0x398)]=_0x430c40[_0x25f17b(0x30d)][_0x25f17b(0x377)](_0x4ab790=>{var _0x452b51=_0x25f17b;_0x4ab790['routeKey']===this['_unitID']&&this[_0x452b51(0x433)](_0x4ab790);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x25f17b(0x3f7)](0x2),(_0x2f6c9d=this['_socketMessageSubscription'])==null||_0x2f6c9d['unsubscribe'](),this[_0x25f17b(0x398)]=null));}));}get[_0x32d268(0x28c)](){var _0x542346=_0x32d268;return this[_0x542346(0x24d)][_0x542346(0x54a)]();}[_0x32d268(0x434)](){var _0x525d4f=_0x32d268,_0x4f2ba7,_0x9a3baa;return(_0x9a3baa=(_0x4f2ba7=this[_0x525d4f(0x488)])==null?void 0x0:_0x4f2ba7[_0x525d4f(0x437)])!=null?_0x9a3baa:null;}[_0x32d268(0x401)](){var _0x5a01b2=_0x32d268;super[_0x5a01b2(0x401)](),this[_0x5a01b2(0x4ad)][_0x5a01b2(0x3f7)](),this[_0x5a01b2(0x4ad)][_0x5a01b2(0x3d8)]();}[_0x32d268(0x430)](){var _0x455bdc=_0x32d268,_0x10029c,_0x26fb80;this['_throwTelemetryCollaborationNewChangeset'](),(_0x10029c=this[_0x455bdc(0x488)])==null||_0x10029c['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x455bdc(0x258)]}}),(_0x26fb80=this[_0x455bdc(0x488)])==null||_0x26fb80['close'](),this['_event$']['complete'](),this[_0x455bdc(0x24d)][_0x455bdc(0x3d8)](),this[_0x455bdc(0x401)]();}[_0x32d268(0x433)](_0x857e05){var _0x31ae02=_0x32d268;_0x857e05[_0x31ae02(0x503)]===W[_0x31ae02(0x39b)]?this[_0x31ae02(0x250)](_0x857e05):_0x857e05[_0x31ae02(0x503)]===W['RECV']&&this[_0x31ae02(0x38f)](_0x857e05);}['_joinRoom'](_0x13a0e3){var _0x32ff66=_0x32d268;this[_0x32ff66(0x24d)][_0x32ff66(0x3f7)](0x1),_0x13a0e3[_0x32ff66(0x1fa)]({'cmd':W[_0x32ff66(0x39b)],'routeKey':this[_0x32ff66(0x258)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x32d268(0x250)](_0x676fbd){var _0x3dc648=_0x32d268,_0x7e1266;if(_0x676fbd['code']in We){this[_0x3dc648(0x27b)][_0x3dc648(0x3da)]({'id':Z[_0x3dc648(0x2ee)],'data':We[_0x676fbd[_0x3dc648(0x386)]]}),this[_0x3dc648(0x24d)][_0x3dc648(0x3f7)](0x2);return;}this[_0x3dc648(0x24d)][_0x3dc648(0x3f7)](0x3);const _0x5f0fc1=(_0x7e1266=_0x676fbd['data'][_0x3dc648(0x339)][this['_unitID']])==null?void 0x0:_0x7e1266['members'];_0x5f0fc1&&_0x5f0fc1[_0x3dc648(0x256)](_0x1db1fe=>this[_0x3dc648(0x306)][_0x3dc648(0x230)](this[_0x3dc648(0x258)],_0x1db1fe));}['_onRecvEvent'](_0x24e4bb){var _0x592fc8=_0x32d268;try{const _0x4b62a0=_0x24e4bb['data'];switch(_0x4b62a0[_0x592fc8(0x211)]){case p[_0x592fc8(0x1f5)]['USERS_ENTER']:this[_0x592fc8(0x403)](_0x4b62a0),this['_event$']['next'](_0x4b62a0);break;case p[_0x592fc8(0x1f5)]['USERS_LEAVE']:this[_0x592fc8(0x346)](_0x4b62a0),this[_0x592fc8(0x381)][_0x592fc8(0x3f7)](_0x4b62a0);break;case p[_0x592fc8(0x1f5)][_0x592fc8(0x42c)]:case p[_0x592fc8(0x1f5)][_0x592fc8(0x265)]:this[_0x592fc8(0x244)](),this[_0x592fc8(0x390)](),this[_0x592fc8(0x381)][_0x592fc8(0x3f7)](_0x4b62a0);break;case p[_0x592fc8(0x1f5)][_0x592fc8(0x4da)]:this['_logService'][_0x592fc8(0x29a)](_0x592fc8(0x3cd)+JSON['stringify'](_0x4b62a0)),this['_event$'][_0x592fc8(0x3f7)](_0x4b62a0);break;case p[_0x592fc8(0x1f5)][_0x592fc8(0x507)]:this[_0x592fc8(0x35c)][_0x592fc8(0x322)](_0x4b62a0[_0x592fc8(0x40d)]),this['_event$'][_0x592fc8(0x3f7)](_0x4b62a0);break;default:this[_0x592fc8(0x381)][_0x592fc8(0x3f7)](_0x4b62a0);}}catch(_0x1ae384){this[_0x592fc8(0x2bb)][_0x592fc8(0x29a)](_0x1ae384,_0x24e4bb);}}[_0x32d268(0x403)](_0x424986){var _0x1d2ae9=_0x32d268;this[_0x1d2ae9(0x306)][_0x1d2ae9(0x230)](this[_0x1d2ae9(0x258)],_0x424986['data']);}[_0x32d268(0x346)](_0x3c1a8c){var _0x22b68b=_0x32d268;this['_memberService'][_0x22b68b(0x32b)](this['_unitID'],_0x3c1a8c['data'][_0x22b68b(0x437)]);}async[_0x32d268(0x1fa)](_0x5bae0e,_0x1269eb){var _0x3482ce=_0x32d268;if(this[_0x3482ce(0x28c)]!==0x3||!this[_0x3482ce(0x488)])throw new Error(_0x3482ce(0x2a9));try{_0x5bae0e[_0x3482ce(0x211)]===p['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x3482ce(0x2c9)](),this[_0x3482ce(0x25a)](_0x5bae0e)),this[_0x3482ce(0x488)][_0x3482ce(0x1fa)]({'cmd':W[_0x3482ce(0x1f1)],'routeKey':_0x1269eb,'routeType':'','data':_0x5bae0e});}catch(_0x5b51e6){this[_0x3482ce(0x2bb)][_0x3482ce(0x29a)](_0x5b51e6);}}['_scheduleCollaborationTimeoutTimer'](){var _0x51e6e2=_0x32d268,_0x470343;this[_0x51e6e2(0x4aa)]=setTimeout(()=>{var _0x401b6b=_0x51e6e2;this['_collaborationTimeoutTimer']=null,this[_0x401b6b(0x27b)][_0x401b6b(0x3da)]({'id':Z[_0x401b6b(0x4b4)]});},(_0x470343=this[_0x51e6e2(0x4bf)][_0x51e6e2(0x1f4)](ke))!=null?_0x470343:lt);}['_clearCollaborationTimeoutTimer'](){var _0x14a2cd=_0x32d268;this[_0x14a2cd(0x4aa)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x14a2cd(0x4aa)]=null);}[_0x32d268(0x25a)](_0x268212){var _0x2debfa=_0x32d268;if(!this[_0x2debfa(0x4c6)])return;const {data:_0x462037}=_0x268212,{unitID:_0x738fc0,changeset:_0x592071}=_0x462037,{mutations:_0x3f1ac1,type:_0x185a98}=_0x592071;this[_0x2debfa(0x3f8)]={'unitId':_0x738fc0,'type':_0x185a98,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Yt(_0x3f1ac1)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x59e030=_0x32d268;if(this[_0x59e030(0x4c6)]){if(!this[_0x59e030(0x3f8)]){this[_0x59e030(0x2bb)][_0x59e030(0x29a)](_0x59e030(0x22c),_0x59e030(0x228));return;}this[_0x59e030(0x3f8)][_0x59e030(0x36a)]=performance['now'](),this['_telemetryInfo']['duration']=this['_telemetryInfo'][_0x59e030(0x36a)]-this[_0x59e030(0x3f8)][_0x59e030(0x2b5)],this[_0x59e030(0x34b)][_0x59e030(0x222)](Gt,this[_0x59e030(0x3f8)]),this['_telemetryInfo']=null;}}[_0x32d268(0x484)](){var _0x34fd7a=_0x32d268;this[_0x34fd7a(0x3f8)]=null;}},exports[_0x32d268(0x26c)]=Xt([se(0x2,a[_0x32d268(0x2fd)]),se(0x3,a[_0x32d268(0x26b)]),se(0x4,a[_0x32d268(0x2ef)](a[_0x32d268(0x31e)])),se(0x5,a['Inject'](exports[_0x32d268(0x38a)])),se(0x6,a[_0x32d268(0x2ef)](je)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x32d268(0x379)](Rt['ITelemetryService']))],exports[_0x32d268(0x26c)]);var Zt=Object[_0x32d268(0x32e)],Qt=(_0x56a22e,_0x590853,_0x59030a,_0x11145b)=>{var _0x54f7e3=_0x32d268;for(var _0x59dd4d=_0x11145b>0x1?void 0x0:_0x11145b?Zt(_0x590853,_0x59030a):_0x590853,_0xa474cb=_0x56a22e[_0x54f7e3(0x25b)]-0x1,_0x7039d1;_0xa474cb>=0x0;_0xa474cb--)(_0x7039d1=_0x56a22e[_0xa474cb])&&(_0x59dd4d=_0x7039d1(_0x59dd4d)||_0x59dd4d);return _0x59dd4d;},he=(_0x3bc870,_0x587409)=>(_0x3a2d77,_0x359beb)=>_0x587409(_0x3a2d77,_0x359beb,_0x3bc870);exports[_0x32d268(0x3cf)]=class extends a[_0x32d268(0x483)]{constructor(_0x465de4,_0x12bee7,_0x6c9c8,_0x22eb76,_0xd82a98,_0x56a86c){var _0x1d8d10=_0x32d268;super(),A(this,_0x1d8d10(0x49a),new j[(_0x1d8d10(0x493))](void 0x0)),A(this,_0x1d8d10(0x347),this[_0x1d8d10(0x49a)][_0x1d8d10(0x236)]()),A(this,_0x1d8d10(0x298),null),A(this,'_sessions',new Map()),A(this,_0x1d8d10(0x3d1),new j[(_0x1d8d10(0x493))](re[_0x1d8d10(0x435)])),A(this,_0x1d8d10(0x238),this[_0x1d8d10(0x3d1)][_0x1d8d10(0x236)]()),A(this,_0x1d8d10(0x471),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x1d8d10(0x4ef),0x0),A(this,_0x1d8d10(0x4eb)),A(this,'_timeoutTimer'),(this[_0x1d8d10(0x432)]=_0x465de4,this[_0x1d8d10(0x2bb)]=_0x12bee7,this[_0x1d8d10(0x4bf)]=_0x6c9c8,this[_0x1d8d10(0x207)]=_0x22eb76,this[_0x1d8d10(0x27b)]=_0xd82a98,this[_0x1d8d10(0x302)]=_0x56a86c,this[_0x1d8d10(0x343)]());}get[_0x32d268(0x488)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x157024=_0x32d268;this[_0x157024(0x302)]&&this[_0x157024(0x305)](this[_0x157024(0x302)][_0x157024(0x29e)][_0x157024(0x377)](_0x44b1f8=>{var _0x12dbf7=_0x157024;_0x44b1f8&&!this['_socket']&&this[_0x12dbf7(0x30a)](),_0x44b1f8||this[_0x12dbf7(0x360)]();}));}[_0x32d268(0x401)](){var _0x571253=_0x32d268;super[_0x571253(0x401)](),this[_0x571253(0x2c0)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x571253(0x256)](_0x12ff85=>_0x12ff85[_0x571253(0x401)]()),this[_0x571253(0x552)][_0x571253(0x3bf)](),this[_0x571253(0x3d1)]['complete']();}async[_0x32d268(0x463)](_0x17d53f){var _0x1fe0b8=_0x32d268;if(this[_0x1fe0b8(0x552)][_0x1fe0b8(0x259)](_0x17d53f))return this[_0x1fe0b8(0x552)][_0x1fe0b8(0x349)](_0x17d53f);this['_tryEnsureSocket']();const _0x2d6966=this[_0x1fe0b8(0x432)][_0x1fe0b8(0x3fb)](exports[_0x1fe0b8(0x26c)],_0x17d53f,this[_0x1fe0b8(0x49a)]['asObservable']());return this['_sessions'][_0x1fe0b8(0x261)](_0x17d53f,_0x2d6966),_0x2d6966;}[_0x32d268(0x541)](_0x44ee5f){var _0x2c5e28=_0x32d268,_0x5a56d2;const _0x2f95bf=this[_0x2c5e28(0x552)][_0x2c5e28(0x349)](_0x44ee5f);_0x2f95bf&&(this[_0x2c5e28(0x552)][_0x2c5e28(0x543)](_0x44ee5f),_0x2f95bf['close']()),this['_sessions'][_0x2c5e28(0x364)]||(_0x5a56d2=this[_0x2c5e28(0x488)])==null||_0x5a56d2[_0x2c5e28(0x430)]();}[_0x32d268(0x30a)](){var _0x427d86=_0x32d268;this[_0x427d86(0x4ef)]=0x0,this[_0x427d86(0x2c0)](),this[_0x427d86(0x45e)]();}[_0x32d268(0x2c0)](){var _0x2680e3=_0x32d268;this[_0x2680e3(0x22f)]!=null&&(clearTimeout(this[_0x2680e3(0x22f)]),this[_0x2680e3(0x22f)]=null);}async[_0x32d268(0x421)](){var _0x26e21f=_0x32d268,_0x40da14;const _0x1edf76=this[_0x26e21f(0x4bf)][_0x26e21f(0x1f4)](Y),_0x287a2e=(_0x40da14=_0x1edf76==null?void 0x0:_0x1edf76[_0x26e21f(0x4a9)])!=null?_0x40da14:ht,_0x39aea6=await this['_socketService'][_0x26e21f(0x444)](_0x287a2e);return this['_candidateSocket']=_0x39aea6,_0x39aea6;}async[_0x32d268(0x4fe)](){var _0x3af206=_0x32d268,_0x411361,_0x321c87;try{const _0x47e897=(_0x321c87=(_0x411361=this[_0x3af206(0x488)])!=null?_0x411361:this[_0x3af206(0x298)])!=null?_0x321c87:await this[_0x3af206(0x421)]();if(_0x47e897){const _0x2513f9=_0x47e897['send'];_0x47e897[_0x3af206(0x1fa)]=_0x275b42=>(this['_rescheduleHeartbeat'](),_0x2513f9['apply'](_0x47e897,[_0x275b42])),_0x47e897['message$'][_0x3af206(0x377)](_0x28a9f9=>this['_onMessage'](_0x47e897,_0x28a9f9)),_0x47e897[_0x3af206(0x276)][_0x3af206(0x554)](V[_0x3af206(0x41f)](0x1))[_0x3af206(0x377)](_0x5a91f3=>this[_0x3af206(0x2bb)][_0x3af206(0x29a)]('[CollaborationSessionService]:\x20socket\x20error',_0x5a91f3)),_0x47e897[_0x3af206(0x344)][_0x3af206(0x554)](V[_0x3af206(0x41f)](0x1))['subscribe'](()=>{var _0x2d3a72=_0x3af206;this[_0x2d3a72(0x4f3)](_0x47e897);}),_0x47e897[_0x3af206(0x2fa)]['pipe'](V['take'](0x1))[_0x3af206(0x377)](_0x19efd9=>{var _0x22d565=_0x3af206;this[_0x22d565(0x2bb)][_0x22d565(0x34f)](_0x22d565(0x2b0),_0x22d565(0x521),_0x19efd9),this[_0x22d565(0x237)]();});}}catch(_0x25295f){this[_0x3af206(0x2bb)][_0x3af206(0x29a)](_0x25295f),this[_0x3af206(0x237)]();}}['_onConnectionOpen'](_0x1bdcad){var _0xdb6031=_0x32d268;this[_0xdb6031(0x2bb)][_0xdb6031(0x34f)](_0xdb6031(0x2b0),_0xdb6031(0x455)),_0x1bdcad[_0xdb6031(0x1fa)]({'cmd':W['HELLO']}),this[_0xdb6031(0x20d)]();}[_0x32d268(0x360)](){var _0x268006=_0x32d268;this[_0x268006(0x471)]=!0x1,this[_0x268006(0x298)]=null,this[_0x268006(0x3d1)][_0x268006(0x3f7)](re[_0x268006(0x509)]),this[_0x268006(0x49a)][_0x268006(0x3f7)](null),this[_0x268006(0x350)](),this['_clearHeartbeatTimer']();}[_0x32d268(0x237)](){var _0x42e7b5=_0x32d268,_0x505ee7;this[_0x42e7b5(0x360)](),this[_0x42e7b5(0x4ef)]<((_0x505ee7=this['_configService']['getConfig'](ut))!=null?_0x505ee7:Mt)?(this[_0x42e7b5(0x27b)][_0x42e7b5(0x3da)]({'id':Z[_0x42e7b5(0x35b)]}),this[_0x42e7b5(0x45e)]()):this['_collaborationUIEventService']['emitEvent']({'id':Z['SOCKET_FAILED']});}[_0x32d268(0x45e)](){var _0x68771f=_0x32d268,_0x5e39d6;const _0x1f8cca=this['_retryCount'],_0x3b08a7=this[_0x68771f(0x4bf)][_0x68771f(0x1f4)](Y),_0x415328=_0x1f8cca===0x0?0x0:((_0x5e39d6=_0x3b08a7==null?void 0x0:_0x3b08a7[_0x68771f(0x450)])!=null?_0x5e39d6:wt)*0x2**_0x1f8cca;this[_0x68771f(0x22f)]=setTimeout(()=>{var _0x40453c=_0x68771f;clearTimeout(this[_0x40453c(0x22f)]),this[_0x40453c(0x22f)]=null,this[_0x40453c(0x4fe)]();},_0x415328),this[_0x68771f(0x4ef)]+=0x1;}[_0x32d268(0x3be)](_0x231b3e,_0x3839f0){var _0x1917d1=_0x32d268;const {cmd:_0x12296f}=_0x3839f0;_0x12296f===W['HELLO']&&!this[_0x1917d1(0x471)]&&(_0x231b3e['memberID']=_0x3839f0[_0x1917d1(0x40d)]['memberID'],this['_socket$'][_0x1917d1(0x3f7)](_0x231b3e),this[_0x1917d1(0x3d1)][_0x1917d1(0x3f7)](re[_0x1917d1(0x2c4)]),this[_0x1917d1(0x471)]=!0x0,this[_0x1917d1(0x298)]=null),_0x12296f===W[_0x1917d1(0x550)]&&this[_0x1917d1(0x350)](),this[_0x1917d1(0x20d)]();}[_0x32d268(0x20d)](){var _0x30a545=_0x32d268,_0x8e7cd9;this[_0x30a545(0x331)](),this[_0x30a545(0x4eb)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x8e7cd9=this[_0x30a545(0x4bf)][_0x30a545(0x1f4)](_t))!=null?_0x8e7cd9:Pt);}[_0x32d268(0x3a8)](){var _0x2622d1=_0x32d268;this[_0x2622d1(0x488)][_0x2622d1(0x1fa)]({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x32d268(0x2c6)](){var _0x36613f=_0x32d268,_0x18df37;this[_0x36613f(0x502)]=setTimeout(()=>this[_0x36613f(0x237)](),(_0x18df37=this[_0x36613f(0x4bf)][_0x36613f(0x1f4)](ke))!=null?_0x18df37:lt);}[_0x32d268(0x331)](){var _0x25f919=_0x32d268;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x25f919(0x4eb)]),this[_0x25f919(0x4eb)]=null);}[_0x32d268(0x350)](){var _0x13dc68=_0x32d268;this[_0x13dc68(0x502)]!=null&&(clearTimeout(this[_0x13dc68(0x502)]),this[_0x13dc68(0x502)]=null);}},exports[_0x32d268(0x3cf)]=Qt([he(0x0,a[_0x32d268(0x2ef)](a[_0x32d268(0x4e6)])),he(0x1,a['ILogService']),he(0x2,a[_0x32d268(0x26b)]),he(0x3,$e),he(0x4,a[_0x32d268(0x2ef)](ee)),he(0x5,a[_0x32d268(0x379)](St))],exports['CollaborationSessionService']);const K=a[_0x32d268(0x209)](_0x32d268(0x1ef));function ei(_0xac367b){var _0x32a3ed=_0x32d268;return _0x32a3ed(0x3f9)+_0xac367b;}var ti=Object['getOwnPropertyDescriptor'],ii=(_0x28d4f0,_0x5537f5,_0xffd2cb,_0x17f80f)=>{var _0x3df38f=_0x32d268;for(var _0x42e8fc=_0x17f80f>0x1?void 0x0:_0x17f80f?ti(_0x5537f5,_0xffd2cb):_0x5537f5,_0xab9ea7=_0x28d4f0[_0x3df38f(0x25b)]-0x1,_0x350186;_0xab9ea7>=0x0;_0xab9ea7--)(_0x350186=_0x28d4f0[_0xab9ea7])&&(_0x42e8fc=_0x350186(_0x42e8fc)||_0x42e8fc);return _0x42e8fc;},Ue=(_0x1c8a17,_0x2a9a43)=>(_0x1cb298,_0x176c5d)=>_0x2a9a43(_0x1cb298,_0x176c5d,_0x1c8a17);function ni(_0x366784){var _0x402a31=_0x32d268;const {unitID:_0x133a49,mutations:_0x40a79b}=_0x366784;return{'unitId':_0x133a49,'subUnitId':_0x40a79b[0x0][_0x402a31(0x4a7)][_0x402a31(0x409)]};}exports[_0x32d268(0x278)]=class{constructor(_0x2708aa,_0x1c5b7,_0x30d778){var _0x53450a=_0x32d268;this[_0x53450a(0x432)]=_0x2708aa,this['_transformService']=_0x1c5b7,this[_0x53450a(0x233)]=_0x30d778;}['transformSelections'](_0x2e0504){var _0x71353b=_0x32d268,_0xcb6ccf,_0x38313d,_0x87f9b5,_0x19cf0c;const _0x6e21d=this[_0x71353b(0x432)][_0x71353b(0x349)](X['SheetsSelectionsService']),{unitId:_0x2b2ad3,subUnitId:_0x3bd575}=ni(_0x2e0504),_0x20b46d=_0x6e21d==null?void 0x0:_0x6e21d[_0x71353b(0x3c9)](_0x2b2ad3)['getCurrentSelections'](),_0x83fde2=(_0x38313d=(_0xcb6ccf=this[_0x71353b(0x233)][_0x71353b(0x2fb)](_0x2b2ad3))==null?void 0x0:_0xcb6ccf['getActiveSheet']())==null?void 0x0:_0x38313d[_0x71353b(0x3f0)]();if(_0x20b46d[_0x71353b(0x25b)]===0x0||!_0x2b2ad3||!_0x3bd575)return;const _0x297989=[{'id':X[_0x71353b(0x338)]['id'],'params':{'unitId':_0x2b2ad3,'subUnitId':_0x83fde2,'selections':a[_0x71353b(0x2b3)][_0x71353b(0x4c7)](_0x20b46d)}}],_0xf54b7a=this['_transformService']['transformMutationsWithChangeset'](_0x2e0504,_0x297989);if(!p['isTransformMutationsWithChangesetSuccess'](_0xf54b7a))throw _0xf54b7a['error'];const _0x497208=(_0x19cf0c=(_0x87f9b5=_0xf54b7a[_0x71353b(0x4ed)][0x0])==null?void 0x0:_0x87f9b5[_0x71353b(0x4a7)])==null?void 0x0:_0x19cf0c[_0x71353b(0x28e)];if(Array[_0x71353b(0x536)](_0x497208)&&_0x497208[_0x71353b(0x25b)]){if(_0x497208[_0x71353b(0x25b)]===_0x297989[0x0]['params'][_0x71353b(0x28e)][_0x71353b(0x25b)]&&_0x497208['every']((_0x3af0b6,_0x5a3ae9)=>a[_0x71353b(0x546)][_0x71353b(0x22a)](_0x3af0b6[_0x71353b(0x273)],_0x297989[0x0][_0x71353b(0x4a7)]['selections'][_0x5a3ae9][_0x71353b(0x273)])))return;this[_0x71353b(0x432)][_0x71353b(0x349)](a['ICommandService'])[_0x71353b(0x22e)](X[_0x71353b(0x338)]['id'],{'unitId':_0x2b2ad3,'subUnitId':_0x83fde2,'selections':_0x497208});}}},exports[_0x32d268(0x278)]=ii([Ue(0x0,a[_0x32d268(0x2ef)](a['Injector'])),Ue(0x1,p['ITransformService']),Ue(0x2,a[_0x32d268(0x422)])],exports[_0x32d268(0x278)]);const de=a[_0x32d268(0x209)]('univer-pro.collaboration-client.single-active-unit-service');var He=(_0x2cdf64=>(_0x2cdf64[_0x2cdf64[_0x32d268(0x38e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2cdf64[_0x2cdf64[_0x32d268(0x20b)]=0x1]=_0x32d268(0x20b),_0x2cdf64))(He||{});const ri=new Set([X[_0x32d268(0x26a)]['id']]);function Ge(_0x192f0b,_0xcc0453,_0x4623c5,_0x4fcc80,_0x94dc82){var _0x50ce72=_0x32d268,_0x2e414b,_0x15e942,_0x1b8d2b,_0x2062b7;const _0x545cc0=[];for(const _0x307c30 of _0x192f0b)if(ri[_0x50ce72(0x259)](_0x307c30['id'])){if(_0x545cc0[_0x50ce72(0x25b)]>0x0)break;_0x545cc0[_0x50ce72(0x47b)](_0x307c30);break;}else _0x545cc0[_0x50ce72(0x47b)](_0x307c30);const _0x669851=(_0x15e942=(_0x2e414b=_0x94dc82['getCurrentUser']())==null?void 0x0:_0x2e414b[_0x50ce72(0x3a9)])!=null?_0x15e942:'unknown',_0x1b5d3b=(_0x2062b7=(_0x1b8d2b=_0x94dc82['getCurrentUser']())==null?void 0x0:_0x1b8d2b[_0x50ce72(0x437)])!=null?_0x2062b7:_0x50ce72(0x2a7);return{'changeset':{'unitID':_0xcc0453,'type':p[_0x50ce72(0x2ad)](_0x4623c5[_0x50ce72(0x425)](_0xcc0453)),'baseRev':_0x4fcc80['getCurrentRevOfUnit'](_0xcc0453),'revision':0x0,'userID':_0x669851,'memberID':_0x1b5d3b,'mutations':_0x545cc0},'pendingMutations':_0x192f0b[_0x50ce72(0x292)](_0x545cc0[_0x50ce72(0x25b)])};}function si(_0x1d3894,_0xbf7b9a,_0x2279f8,_0x1aa198,_0x28e789){var _0x458c46=_0x32d268,_0x1520ec,_0x525f82,_0x5a8610,_0x42af44;const _0x487a6b=[_0x1d3894[_0x458c46(0x255)]((_0x475204,_0x2de687)=>{var _0x50344f=_0x458c46,_0x498feb;const {id:_0x195be5}=_0x475204,{id:_0x3863c5,type:_0x2070e5}=_0x2de687,_0x2e60d6=(_0x498feb=_0x475204[_0x50344f(0x4a7)])!=null?_0x498feb:{'actions':null},_0x20e738=_0x2de687[_0x50344f(0x4a7)];if(_0x195be5&&_0x195be5!==_0x3863c5)throw new Error(_0x50344f(0x537)+_0x195be5+_0x50344f(0x3c5)+_0x3863c5+'.');return{..._0x475204,'id':_0x3863c5,'type':_0x2070e5,'params':{'unitId':_0x20e738[_0x50344f(0x2eb)],'textRanges':_0x20e738[_0x50344f(0x2e6)],'actions':a[_0x50344f(0x468)][_0x50344f(0x220)](_0x2e60d6['actions'],_0x20e738[_0x50344f(0x3ea)])}};},{})],_0x26dd31=(_0x525f82=(_0x1520ec=_0x28e789[_0x458c46(0x24e)]())==null?void 0x0:_0x1520ec[_0x458c46(0x3a9)])!=null?_0x525f82:'unknown',_0x239424=(_0x42af44=(_0x5a8610=_0x28e789[_0x458c46(0x24e)]())==null?void 0x0:_0x5a8610[_0x458c46(0x437)])!=null?_0x42af44:_0x458c46(0x2a7);return{'changeset':{'unitID':_0xbf7b9a,'type':p[_0x458c46(0x2ad)](_0x2279f8[_0x458c46(0x425)](_0xbf7b9a)),'baseRev':_0x1aa198[_0x458c46(0x54e)](_0xbf7b9a),'revision':0x0,'userID':_0x26dd31,'memberID':_0x239424,'mutations':_0x487a6b},'pendingMutations':[]};}function pt(_0xcff51f,_0x308549){var _0x444d45=_0x32d268;const _0x157498=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x157498[_0x444d45(0x3f7)](_0x308549),_0xcff51f),_0x157498[_0x444d45(0x236)]()[_0x444d45(0x554)](j[_0x444d45(0x41f)](0x1));}const oi={'id':X[_0x32d268(0x247)]['id'],'type':a[_0x32d268(0x3a5)][_0x32d268(0x2c5)],'params':{}};var ai=Object['getOwnPropertyDescriptor'],ae=(_0x3b048c,_0x2b6638,_0x2fe67a,_0x5a9f01)=>{for(var _0x59b5d5=_0x5a9f01>0x1?void 0x0:_0x5a9f01?ai(_0x2b6638,_0x2fe67a):_0x2b6638,_0x143842=_0x3b048c['length']-0x1,_0x42041a;_0x143842>=0x0;_0x143842--)(_0x42041a=_0x3b048c[_0x143842])&&(_0x59b5d5=_0x42041a(_0x59b5d5)||_0x59b5d5);return _0x59b5d5;},w=(_0x21ebe9,_0x182d38)=>(_0x499b16,_0x1c38df)=>_0x182d38(_0x499b16,_0x1c38df,_0x21ebe9),Be=(_0x35b962=>(_0x35b962[_0x32d268(0x3e5)]=_0x32d268(0x505),_0x35b962['SYNCED']=_0x32d268(0x39f),_0x35b962[_0x32d268(0x2d5)]=_0x32d268(0x494),_0x35b962[_0x32d268(0x48b)]=_0x32d268(0x31f),_0x35b962[_0x32d268(0x4dc)]=_0x32d268(0x324),_0x35b962[_0x32d268(0x272)]=_0x32d268(0x1fb),_0x35b962['CONFLICT']=_0x32d268(0x474),_0x35b962[_0x32d268(0x509)]='offline',_0x35b962))(Be||{});const mt=0xea60;class ce{constructor(_0x2ff8bb,_0x109c49,_0x53b9ad,_0x504cb9,_0x2e56ff,_0x11c856,_0x1212fe,_0x2e5142,_0x422e61){var _0xa0683e=_0x32d268;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this[_0xa0683e(0x2de)]=_0x2ff8bb,this[_0xa0683e(0x459)]=_0x109c49,this[_0xa0683e(0x266)]=_0x2e56ff,this[_0xa0683e(0x37c)]=_0x11c856,this[_0xa0683e(0x201)]=_0x1212fe,this['_revisionService']=_0x2e5142,this[_0xa0683e(0x52d)]=_0x422e61,this[_0xa0683e(0x221)]=_0x53b9ad,this[_0xa0683e(0x2e5)]=_0x504cb9);}[_0x32d268(0x3b7)](_0xa1afd8){var _0x326112=_0x32d268;const _0x14f223=this['_revisionService'][_0x326112(0x54e)](this[_0x326112(0x2de)]);return _0xa1afd8['revision']>_0x14f223+0x1?(this[_0x326112(0x266)]['onMissingChangesets']({'from':_0x14f223,'to':_0xa1afd8[_0x326112(0x1f2)]-0x1}),!0x0):!0x1;}[_0x32d268(0x372)](_0x5812d8){var _0x42cddd=_0x32d268;this[_0x42cddd(0x201)][_0x42cddd(0x3b9)](this[_0x42cddd(0x2de)],_0x5812d8);}[_0x32d268(0x26e)](_0x4f8859){var _0x37edb0=_0x32d268,_0x2860cd,_0x3fd1f8;(_0x3fd1f8=(_0x2860cd=this[_0x37edb0(0x266)])[_0x37edb0(0x445)])==null||_0x3fd1f8['call'](_0x2860cd,_0x4f8859);}[_0x32d268(0x496)](_0x279f83){var _0x338492=_0x32d268,_0x48c853,_0x35a7a2;return(_0x35a7a2=(_0x48c853=this[_0x338492(0x266)])[_0x338492(0x31c)])==null?void 0x0:_0x35a7a2[_0x338492(0x500)](_0x48c853,_0x279f83);}[_0x32d268(0x49f)](_0x45aa78){var _0x2d78b8=_0x32d268,_0x526d93,_0x482400;return(_0x482400=(_0x526d93=this['_handler'])[_0x2d78b8(0x1f0)])==null?void 0x0:_0x482400[_0x2d78b8(0x500)](_0x526d93,_0x45aa78);}[_0x32d268(0x47c)](_0x29ecac){var _0x11efcb=_0x32d268,_0x319448,_0x4d0311,_0xc6429c;return(_0xc6429c=(_0x4d0311=(_0x319448=this[_0x11efcb(0x266)])[_0x11efcb(0x42a)])==null?void 0x0:_0x4d0311[_0x11efcb(0x500)](_0x319448,_0x29ecac))!=null?_0xc6429c:_0x29ecac;}[_0x32d268(0x512)](_0x10d666){var _0x41cd52=_0x32d268,_0x2d536b,_0x3c9ce2,_0x3a494d;return(_0x3a494d=(_0x3c9ce2=(_0x2d536b=this[_0x41cd52(0x266)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3c9ce2['call'](_0x2d536b,_0x10d666))!=null?_0x3a494d:_0x10d666;}[_0x32d268(0x357)](_0x40e403){var _0x343d79=_0x32d268,_0x3a8a4f,_0x52c358;if(this[_0x343d79(0x459)]===J[_0x343d79(0x39e)]){const {unitID:_0x3f3aa5,mutations:_0x4be6a6,memberID:_0x22da3b}=_0x40e403,_0x50cfb6=_0x4be6a6[0x0][_0x343d79(0x4a7)]['textRanges'];Array['isArray'](_0x50cfb6)&&_0x50cfb6['length']>0x0&&((_0x52c358=(_0x3a8a4f=this[_0x343d79(0x266)])['onSyncEditingCollabCursor'])==null||_0x52c358[_0x343d79(0x500)](_0x3a8a4f,{'unitID':_0x3f3aa5,'memberID':_0x22da3b,'textRanges':_0x50cfb6}));}}['_updateLocalCache'](){var _0x1b4bf0=_0x32d268,_0x54f411;(_0x54f411=this[_0x1b4bf0(0x52d)])==null||_0x54f411['updateOfflineData'](this[_0x1b4bf0(0x2de)],this[_0x1b4bf0(0x459)],this[_0x1b4bf0(0x221)],this[_0x1b4bf0(0x2e5)]);}[_0x32d268(0x384)](){var _0x5e8510=_0x32d268;return this[_0x5e8510(0x3dc)][_0x5e8510(0x54e)](this['unitID']);}['_incrementRevisionNumber'](){var _0x4df7ce=_0x32d268;this['_revisionService'][_0x4df7ce(0x2d7)](this['unitID']);}['_executeRemoteChangeset'](_0x363bfa){var _0x1924c7=_0x32d268,_0x1d092d;let _0x57d674=this['_transformRemoteChangesetByIMECache'](_0x363bfa);_0x57d674=this[_0x1924c7(0x512)](_0x57d674);const _0x4a1864=a[_0x1924c7(0x499)](_0x57d674[_0x1924c7(0x39a)],this[_0x1924c7(0x37c)],{'fromCollab':!0x0});if(!_0x4a1864['result'])throw _0x4a1864[_0x1924c7(0x29a)]instanceof Error?_0x4a1864[_0x1924c7(0x29a)]:new Error((_0x1d092d=_0x4a1864[_0x1924c7(0x29a)])!=null?_0x1d092d:_0x1924c7(0x534));this[_0x1924c7(0x496)](_0x57d674),this[_0x1924c7(0x49f)](_0x57d674),this[_0x1924c7(0x372)](_0x363bfa),this[_0x1924c7(0x26e)](_0x57d674),this['_syncEditingCollabCursor'](_0x57d674),this[_0x1924c7(0x290)]();}}exports['SyncedState']=class extends ce{constructor(_0xbd6ac,_0x173171,_0x3b62f2,_0x21c5d2,_0x200164,_0x49a925,_0x592f66,_0x5d0f9f,_0x55eebc,_0x5dcb74){var _0x32bf0f=_0x32d268;super(_0xbd6ac,_0x173171,null,[],_0x3b62f2,_0x592f66,_0x49a925,_0x21c5d2,_0x5dcb74),A(this,_0x32bf0f(0x380),_0x32bf0f(0x39f)),(this[_0x32bf0f(0x432)]=_0x200164,this['_logService']=_0x5d0f9f,this[_0x32bf0f(0x40e)]=_0x55eebc,this[_0x32bf0f(0x315)]=_0x5dcb74);}['appendMutation'](_0x47cce7){var _0x2ae6f0=_0x32d268;const _0x1337b1=this[_0x2ae6f0(0x432)]['createInstance'](exports[_0x2ae6f0(0x2e8)],this[_0x2ae6f0(0x2de)],this['type'],[_0x47cce7],this[_0x2ae6f0(0x266)]);return _0x1337b1[_0x2ae6f0(0x490)](),_0x1337b1['_updateLocalCache'](),_0x1337b1;}[_0x32d268(0x2db)](_0x4fe120){var _0x3f448f=_0x32d268;if(this[_0x3f448f(0x3b7)](_0x4fe120))return this[_0x3f448f(0x432)][_0x3f448f(0x3fb)](exports['FetchingMissState'],this[_0x3f448f(0x2de)],this[_0x3f448f(0x459)],null,[],null,[_0x4fe120],this[_0x3f448f(0x266)]);try{const _0x552585=this[_0x3f448f(0x40e)][_0x3f448f(0x27a)](_0x4fe120,[oi]);if(p[_0x3f448f(0x240)](_0x552585)){const {c1Prime:_0x981106}=_0x552585;return this[_0x3f448f(0x48d)](_0x981106),this;}throw _0x552585[_0x3f448f(0x29a)];}catch(_0x5b0be9){return this[_0x3f448f(0x2bb)][_0x3f448f(0x29a)](_0x5b0be9),this[_0x3f448f(0x53c)](!0x1);}}[_0x32d268(0x53c)](_0x4e7307){var _0x4a6a7a=_0x32d268;return this['_injector']['createInstance'](exports[_0x4a6a7a(0x2cf)],this['unitID'],this[_0x4a6a7a(0x459)],null,[],this['_handler'],_0x4e7307);}['onRemoteAck'](){var _0x591f4e=_0x32d268;throw new Error(_0x591f4e(0x3ec));}[_0x32d268(0x264)](){var _0x11ea83=_0x32d268;throw new Error(_0x11ea83(0x321));}['onRemoteRetry'](){return this;}[_0x32d268(0x4b2)](){var _0x59b589=_0x32d268;return this[_0x59b589(0x432)][_0x59b589(0x3fb)](exports[_0x59b589(0x52b)],this[_0x59b589(0x2de)],this[_0x59b589(0x459)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x32d268(0x44e)](){var _0x14399f=_0x32d268;throw new Error(_0x14399f(0x29f));}['fetchMiss'](){var _0xc288c6=_0x32d268;const _0x258746=this['_revisionService'][_0xc288c6(0x54e)](this['unitID']);return this['_handler'][_0xc288c6(0x504)]({'from':_0x258746,'to':0x0}),this['_injector'][_0xc288c6(0x3fb)](exports['FetchingMissState'],this[_0xc288c6(0x2de)],this[_0xc288c6(0x459)],null,[],null,[],this[_0xc288c6(0x266)]);}},exports[_0x32d268(0x2e3)]=ae([w(0x3,a['Inject'](p[_0x32d268(0x286)])),w(0x4,a[_0x32d268(0x2ef)](a[_0x32d268(0x4e6)])),w(0x5,a[_0x32d268(0x3b5)]),w(0x6,a[_0x32d268(0x519)]),w(0x7,a[_0x32d268(0x2fd)]),w(0x8,p[_0x32d268(0x366)]),w(0x9,a[_0x32d268(0x379)](K))],exports[_0x32d268(0x2e3)]),exports[_0x32d268(0x2e8)]=class extends ce{constructor(_0x761c16,_0x50ac9d,_0x1fe2d6,_0x1a3e09,_0x35fd95,_0x51631a,_0x239649,_0x129b52,_0x339404,_0x19020c,_0x2a5121,_0xa581d,_0x31c59e,_0x202638){var _0x3a2bf5=_0x32d268;super(_0x761c16,_0x50ac9d,null,_0x1fe2d6,_0x1a3e09,_0x339404,_0x31c59e,_0x51631a,_0x202638),A(this,_0x3a2bf5(0x380),_0x3a2bf5(0x494)),A(this,_0x3a2bf5(0x2f0),null),A(this,'_sendingTimer',null),(this['_injector']=_0x35fd95,this[_0x3a2bf5(0x306)]=_0x239649,this['_logService']=_0x129b52,this[_0x3a2bf5(0x4bf)]=_0x19020c,this[_0x3a2bf5(0x40e)]=_0x2a5121,this[_0x3a2bf5(0x43d)]=_0xa581d);}[_0x32d268(0x2f2)](_0x3354f9){var _0x5eba7e=_0x32d268;return this[_0x5eba7e(0x2e5)][_0x5eba7e(0x47b)](_0x3354f9),this[_0x5eba7e(0x4f4)](),this;}['onRemoteChangeset'](_0xc90363){var _0x419014=_0x32d268;if(this['_checkMissing'](_0xc90363))return this['_clearScheduledTask'](),this[_0x419014(0x432)][_0x419014(0x3fb)](exports['FetchingMissState'],this['unitID'],this[_0x419014(0x459)],null,this[_0x419014(0x2e5)],null,[_0xc90363],this[_0x419014(0x266)]);try{const _0x45e6ae=this[_0x419014(0x40e)]['transformMutationsWithChangeset'](_0xc90363,this['_pendingMutations']);if(p['isTransformMutationsWithChangesetSuccess'](_0x45e6ae)){const {c1Prime:_0x12ea38,m2Prime:_0x36984c}=_0x45e6ae;this[_0x419014(0x48d)](_0x12ea38);const _0x265837=this[_0x419014(0x432)][_0x419014(0x3fb)](exports[_0x419014(0x2e8)],this['unitID'],this[_0x419014(0x459)],_0x36984c,this[_0x419014(0x266)]);this[_0x419014(0x4ca)]();const _0x5dbff8=new Date()['getTime'](),_0x50d93e=this['_scheduleCompleteTimestamp']?Math[_0x419014(0x3ce)](this[_0x419014(0x2f0)]-_0x5dbff8,0x0):this[_0x419014(0x205)]();return _0x265837['_schedule'](_0x50d93e),_0x265837;}throw _0x45e6ae[_0x419014(0x29a)];}catch(_0x2c448c){return this[_0x419014(0x2bb)][_0x419014(0x29a)](_0x2c448c),this[_0x419014(0x53c)](!0x1);}}[_0x32d268(0x33f)](){var _0x4cd9a2=_0x32d268;throw new Error(_0x4cd9a2(0x242));}[_0x32d268(0x264)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x32d268(0x412)](){return this;}[_0x32d268(0x4b2)](){var _0x927a06=_0x32d268;return this[_0x927a06(0x4ca)](),this[_0x927a06(0x432)][_0x927a06(0x3fb)](exports[_0x927a06(0x52b)],this[_0x927a06(0x2de)],this[_0x927a06(0x459)],null,this[_0x927a06(0x2e5)],this[_0x927a06(0x266)]);}[_0x32d268(0x387)](){return this;}[_0x32d268(0x490)](_0x76c536){var _0x352509=_0x32d268;const _0x13035c=_0x76c536!=null?_0x76c536:this['_getSendChangesetTimeout']();this[_0x352509(0x2f0)]=new Date()['getTime']()+_0x13035c,this[_0x352509(0x1e6)]=setTimeout(()=>{var _0x576a90=_0x352509;this[_0x576a90(0x4ca)]();let _0x5e84fc=null;switch(this[_0x576a90(0x459)]){case J[_0x576a90(0x467)]:{_0x5e84fc=Ge(this['_pendingMutations'],this[_0x576a90(0x2de)],this[_0x576a90(0x43d)],this['_revisionService'],this['_memberService']);break;}case J['UNIVER_DOC']:{this['_pendingMutations'][_0x576a90(0x212)](_0x15f601=>_0x15f601['id']===ct[_0x576a90(0x4ec)]['id'])?_0x5e84fc=si(this[_0x576a90(0x2e5)],this[_0x576a90(0x2de)],this[_0x576a90(0x43d)],this[_0x576a90(0x3dc)],this[_0x576a90(0x306)]):_0x5e84fc=Ge(this[_0x576a90(0x2e5)],this['unitID'],this['_univerInstanceService'],this[_0x576a90(0x3dc)],this['_memberService']);break;}default:throw new Error(_0x576a90(0x294)+this[_0x576a90(0x459)]+_0x576a90(0x1eb));}const {changeset:_0xae3ef8,pendingMutations:_0x5a83e5}=_0x5e84fc;this['_handler'][_0x576a90(0x4be)](_0xae3ef8);const _0x2db121=_0x5a83e5[_0x576a90(0x25b)]?this[_0x576a90(0x432)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x576a90(0x459)],_0xae3ef8,_0x5a83e5,this[_0x576a90(0x266)],void 0x0):this['_injector'][_0x576a90(0x3fb)](exports[_0x576a90(0x50b)],this[_0x576a90(0x2de)],this[_0x576a90(0x459)],_0xae3ef8,this['_handler']);_0x2db121[_0x576a90(0x4f4)](),this[_0x576a90(0x266)][_0x576a90(0x4c5)](this,_0x2db121);},_0x13035c);}[_0x32d268(0x205)](){var _0x2fffdf=_0x32d268,_0x3edb9d;const _0x2a6ed9=this[_0x2fffdf(0x4bf)]['getConfig'](Y);return(_0x3edb9d=_0x2a6ed9==null?void 0x0:_0x2a6ed9[_0x2fffdf(0x20e)])!=null?_0x3edb9d:Ut;}[_0x32d268(0x44e)](){var _0x4d031b=_0x32d268;throw new Error(_0x4d031b(0x391));}['_clearScheduledTask'](){var _0x39d5eb=_0x32d268;this[_0x39d5eb(0x1e6)]!=null&&(clearTimeout(this[_0x39d5eb(0x1e6)]),this[_0x39d5eb(0x1e6)]=null);}[_0x32d268(0x53c)](_0x428d1c){var _0x46ca04=_0x32d268;return this[_0x46ca04(0x4ca)](),this[_0x46ca04(0x432)][_0x46ca04(0x3fb)](exports['ConflictState'],this['unitID'],this[_0x46ca04(0x459)],null,this[_0x46ca04(0x2e5)],this[_0x46ca04(0x266)],_0x428d1c);}},exports[_0x32d268(0x2e8)]=ae([w(0x4,a[_0x32d268(0x2ef)](a[_0x32d268(0x4e6)])),w(0x5,a[_0x32d268(0x2ef)](p[_0x32d268(0x286)])),w(0x6,a[_0x32d268(0x2ef)](exports['MemberService'])),w(0x7,a['ILogService']),w(0x8,a['ICommandService']),w(0x9,a[_0x32d268(0x26b)]),w(0xa,p[_0x32d268(0x366)]),w(0xb,a[_0x32d268(0x422)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x32d268(0x379)](K))],exports[_0x32d268(0x2e8)]),exports['AwaitingState']=class extends ce{constructor(_0x42fdbd,_0x500e0e,_0x33862d,_0x1ecfb8,_0x5a26c6,_0x47b923,_0x581cd5,_0x5a8d59,_0x1aa894,_0x3e0a57,_0x180cef){var _0x35b349=_0x32d268;super(_0x42fdbd,_0x500e0e,_0x33862d,[],_0x1ecfb8,_0x581cd5,_0x3e0a57,_0x47b923,_0x180cef),A(this,'status','awaiting'),A(this,_0x35b349(0x297),0x0),A(this,_0x35b349(0x3bc)),A(this,_0x35b349(0x2a2)),(this[_0x35b349(0x432)]=_0x5a26c6,this[_0x35b349(0x2bb)]=_0x5a8d59,this['_transformService']=_0x1aa894);}[_0x32d268(0x2f2)](_0x4f79fe){var _0x3e8426=_0x32d268;this['_clearScheduledTask']();const _0x884797=this[_0x3e8426(0x432)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x3e8426(0x2de)],this[_0x3e8426(0x459)],this[_0x3e8426(0x221)],[_0x4f79fe],this[_0x3e8426(0x266)],this[_0x3e8426(0x3bc)]);return _0x884797['_updateLocalCache'](),_0x884797;}['onRemoteChangeset'](_0x50777c){var _0x1dd6e6=_0x32d268;if(this[_0x1dd6e6(0x3b7)](_0x50777c))return this['_clearScheduledTask'](),this[_0x1dd6e6(0x432)]['createInstance'](exports[_0x1dd6e6(0x49c)],this[_0x1dd6e6(0x2de)],this['type'],this['_awaitingChangeset'],[],null,[_0x50777c],this['_handler']);try{const _0x3fb040=this[_0x1dd6e6(0x40e)][_0x1dd6e6(0x231)]([_0x50777c],[this[_0x1dd6e6(0x221)]],!0x1);if(p[_0x1dd6e6(0x4d4)](_0x3fb040)){const {c1Prime:_0x28ffd6,c2Prime:_0x407c41}=_0x3fb040;this[_0x1dd6e6(0x48d)](_0x28ffd6[0x0]),_0x407c41[0x0][_0x1dd6e6(0x4a4)]=this[_0x1dd6e6(0x384)](),this[_0x1dd6e6(0x4ca)]();const _0x352272=this[_0x1dd6e6(0x432)]['createInstance'](exports[_0x1dd6e6(0x50b)],this['unitID'],this[_0x1dd6e6(0x459)],_0x407c41[0x0],this[_0x1dd6e6(0x266)]);return _0x352272[_0x1dd6e6(0x4f4)](),_0x352272;}return this[_0x1dd6e6(0x53c)](!0x1);}catch(_0x10f558){return this['_logService']['error'](_0x10f558),this[_0x1dd6e6(0x53c)](!0x1);}}['onRemoteAck'](_0x3c7f8a){var _0x150b44=_0x32d268;this['_clearScheduledTask']();const _0x156734=this['_revisionService'][_0x150b44(0x54e)](this[_0x150b44(0x2de)]);if(_0x3c7f8a[_0x150b44(0x1f2)]<_0x156734-0x1)return this;if(this[_0x150b44(0x3b7)](_0x3c7f8a))return this[_0x150b44(0x432)][_0x150b44(0x3fb)](exports[_0x150b44(0x49c)],this[_0x150b44(0x2de)],this[_0x150b44(0x459)],null,[],this[_0x150b44(0x221)],[],this[_0x150b44(0x266)]);this[_0x150b44(0x290)]();const _0x5ee55e=this[_0x150b44(0x432)][_0x150b44(0x3fb)](exports[_0x150b44(0x2e3)],this[_0x150b44(0x2de)],this[_0x150b44(0x459)],this['_handler']);return _0x5ee55e[_0x150b44(0x4f4)](),_0x5ee55e;}[_0x32d268(0x264)](_0x2870ee){var _0x32aee4=_0x32d268;return this[_0x32aee4(0x53c)](!!(_0x2870ee!=null&&_0x2870ee['isPermissionRej']));}[_0x32d268(0x412)](_0x3106f0){var _0x50d5c0=_0x32d268;return this[_0x50d5c0(0x297)]>mt?this[_0x50d5c0(0x4b2)]():(this['_resendTimer']=pt(this[_0x50d5c0(0x297)],{'timeout':this[_0x50d5c0(0x297)],'reqId':_0x3106f0['reqId']}),this[_0x50d5c0(0x2a2)]=this[_0x50d5c0(0x3bc)][_0x50d5c0(0x377)](({reqId:_0x2a2caa,timeout:_0x26808c})=>{var _0x44cae8=_0x50d5c0;this[_0x44cae8(0x29c)](_0x2a2caa,_0x26808c);}),this);}[_0x32d268(0x4b2)](){var _0x2cec8e=_0x32d268;return this[_0x2cec8e(0x4ca)](),this[_0x2cec8e(0x432)][_0x2cec8e(0x3fb)](exports[_0x2cec8e(0x52b)],this[_0x2cec8e(0x2de)],this['type'],this['_awaitingChangeset'],[],this[_0x2cec8e(0x266)]);}[_0x32d268(0x387)](){return this;}[_0x32d268(0x44e)](){var _0x57d6cf=_0x32d268;this[_0x57d6cf(0x266)][_0x57d6cf(0x4be)](this[_0x57d6cf(0x221)]);}['_onConflict'](_0xa0e47a){var _0x1b296c=_0x32d268;return this[_0x1b296c(0x4ca)](),this[_0x1b296c(0x432)][_0x1b296c(0x3fb)](exports['ConflictState'],this[_0x1b296c(0x2de)],this[_0x1b296c(0x459)],this[_0x1b296c(0x221)],[],this[_0x1b296c(0x266)],_0xa0e47a);}[_0x32d268(0x29c)](_0x260ba9,_0x296473){var _0x191e3f=_0x32d268,_0x3afe2e;_0x260ba9===((_0x3afe2e=this[_0x191e3f(0x221)])==null?void 0x0:_0x3afe2e[_0x191e3f(0x20a)])&&(this[_0x191e3f(0x44e)](),this[_0x191e3f(0x297)]=_0x296473===0x0?0x3e8:_0x296473*0x2);}[_0x32d268(0x4ca)](){var _0x586ae5=_0x32d268,_0x57f2d5;(_0x57f2d5=this[_0x586ae5(0x2a2)])==null||_0x57f2d5[_0x586ae5(0x31a)](),this[_0x586ae5(0x297)]=0x0;}},exports[_0x32d268(0x50b)]=ae([w(0x4,a['Inject'](a['Injector'])),w(0x5,a['Inject'](p[_0x32d268(0x286)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,p['ITransformService']),w(0x9,a[_0x32d268(0x3b5)]),w(0xa,a['Optional'](K))],exports[_0x32d268(0x50b)]),exports[_0x32d268(0x45d)]=class extends ce{constructor(_0x5631f7,_0x4b2209,_0x1c7ff8,_0x71f504,_0x25c03f,_0x211cfb,_0x2ef001,_0x2917a1,_0x2a93d0,_0x4d912b,_0x568e7f,_0x5241f1,_0x3c4c90){var _0x59f643=_0x32d268;super(_0x5631f7,_0x4b2209,_0x1c7ff8,_0x71f504,_0x25c03f,_0x2a93d0,_0x5241f1,_0x2917a1,_0x3c4c90),A(this,_0x59f643(0x380),_0x59f643(0x324)),A(this,_0x59f643(0x297),0x0),A(this,_0x59f643(0x3bc)),A(this,_0x59f643(0x2a2)),(this['_injector']=_0x2ef001,this[_0x59f643(0x2bb)]=_0x4d912b,this['_transformService']=_0x568e7f,this[_0x59f643(0x315)]=_0x3c4c90,_0x211cfb&&(this[_0x59f643(0x3bc)]=_0x211cfb,this[_0x59f643(0x2a2)]=this[_0x59f643(0x3bc)][_0x59f643(0x377)](({reqId:_0x5d62a3,timeout:_0x3f4ea2})=>{var _0x3bc66a=_0x59f643;this[_0x3bc66a(0x29c)](_0x5d62a3,_0x3f4ea2);})));}[_0x32d268(0x2f2)](_0x348731){var _0x7fc797=_0x32d268;return this[_0x7fc797(0x2e5)]['push'](_0x348731),this;}[_0x32d268(0x2db)](_0xc1e3e0){var _0x230ad9=_0x32d268;if(this[_0x230ad9(0x3b7)](_0xc1e3e0))return this[_0x230ad9(0x4ca)](),this['_injector'][_0x230ad9(0x3fb)](exports[_0x230ad9(0x49c)],this[_0x230ad9(0x2de)],this[_0x230ad9(0x459)],this['_awaitingChangeset'],this[_0x230ad9(0x2e5)],null,[_0xc1e3e0],this[_0x230ad9(0x266)]);try{const _0xf0842b=this[_0x230ad9(0x40e)][_0x230ad9(0x231)]([_0xc1e3e0],[this['_awaitingChangeset']],!0x1);if(p[_0x230ad9(0x4d4)](_0xf0842b)){const {c1Prime:_0x33bcb7,c2Prime:_0x3db2a0}=_0xf0842b,_0xb6bb02=this[_0x230ad9(0x40e)][_0x230ad9(0x27a)](_0x33bcb7[0x0],this[_0x230ad9(0x2e5)]);if(p[_0x230ad9(0x240)](_0xb6bb02)){const {c1Prime:_0x421e05,m2Prime:_0x210607}=_0xb6bb02;return this[_0x230ad9(0x48d)](_0x421e05),_0x3db2a0[0x0][_0x230ad9(0x4a4)]=this['_getCurrentRevision'](),this[_0x230ad9(0x4ca)](),this['_injector'][_0x230ad9(0x3fb)](exports[_0x230ad9(0x45d)],this['unitID'],this['type'],_0x3db2a0[0x0],_0x210607,this['_handler'],void 0x0);}throw _0xb6bb02[_0x230ad9(0x29a)];}throw _0xf0842b[_0x230ad9(0x29a)];}catch(_0x1e97c4){return this[_0x230ad9(0x2bb)][_0x230ad9(0x29a)](_0x1e97c4),this[_0x230ad9(0x53c)](!0x1);}}[_0x32d268(0x33f)](_0x36f4e6){var _0x267526=_0x32d268;if(this[_0x267526(0x4ca)](),this[_0x267526(0x3b7)](_0x36f4e6))return this[_0x267526(0x432)][_0x267526(0x3fb)](exports[_0x267526(0x49c)],this[_0x267526(0x2de)],this[_0x267526(0x459)],null,this[_0x267526(0x2e5)],this[_0x267526(0x221)],[],this[_0x267526(0x266)]);this[_0x267526(0x290)]();const _0x32eb28=this['_injector']['createInstance'](exports[_0x267526(0x2e8)],this[_0x267526(0x2de)],this[_0x267526(0x459)],this[_0x267526(0x2e5)],this[_0x267526(0x266)]);return _0x32eb28['_schedule'](),_0x32eb28[_0x267526(0x4f4)](),_0x32eb28;}[_0x32d268(0x264)](_0x476d33){var _0x14f116=_0x32d268;return this[_0x14f116(0x53c)](!!(_0x476d33!=null&&_0x476d33['isPermissionRej']));}[_0x32d268(0x412)](_0x314eeb){var _0x287948=_0x32d268;return this[_0x287948(0x297)]>mt?this[_0x287948(0x4b2)]():(this[_0x287948(0x3bc)]=pt(this[_0x287948(0x297)],{'timeout':this['_resendTimeout'],'reqId':_0x314eeb[_0x287948(0x20a)]}),this[_0x287948(0x2a2)]=this[_0x287948(0x3bc)]['subscribe'](({reqId:_0x2563e5,timeout:_0x41ec97})=>{var _0x7842dc=_0x287948;this[_0x7842dc(0x29c)](_0x2563e5,_0x41ec97);}),this);}[_0x32d268(0x4b2)](){var _0x1ed789=_0x32d268;return this[_0x1ed789(0x4ca)](),this['_injector'][_0x1ed789(0x3fb)](exports[_0x1ed789(0x52b)],this[_0x1ed789(0x2de)],this['type'],this[_0x1ed789(0x221)],this[_0x1ed789(0x2e5)],this['_handler']);}[_0x32d268(0x387)](){return this;}['resend'](){var _0x147c7a=_0x32d268;this[_0x147c7a(0x266)]['onSendChangeset'](this[_0x147c7a(0x221)]);}[_0x32d268(0x53c)](_0x2244ed){var _0x3df4a9=_0x32d268;return this[_0x3df4a9(0x4ca)](),this[_0x3df4a9(0x432)][_0x3df4a9(0x3fb)](exports[_0x3df4a9(0x2cf)],this[_0x3df4a9(0x2de)],this[_0x3df4a9(0x459)],null,this['_pendingMutations'],this[_0x3df4a9(0x266)],_0x2244ed);}[_0x32d268(0x29c)](_0x953ff6,_0x2d6d88){var _0x35d4bd=_0x32d268,_0x35cfd2;_0x953ff6===((_0x35cfd2=this[_0x35d4bd(0x221)])==null?void 0x0:_0x35cfd2[_0x35d4bd(0x20a)])&&(this[_0x35d4bd(0x44e)](),this[_0x35d4bd(0x297)]=_0x2d6d88===0x0?0x3e8:_0x2d6d88*0x2);}[_0x32d268(0x4ca)](){var _0x3ae2cf=_0x32d268,_0x5449c7;(_0x5449c7=this['_sender'])==null||_0x5449c7[_0x3ae2cf(0x31a)](),this[_0x3ae2cf(0x297)]=0x0;}},exports[_0x32d268(0x45d)]=ae([w(0x6,a[_0x32d268(0x2ef)](a[_0x32d268(0x4e6)])),w(0x7,a[_0x32d268(0x2ef)](p[_0x32d268(0x286)])),w(0x8,a[_0x32d268(0x519)]),w(0x9,a[_0x32d268(0x2fd)]),w(0xa,p[_0x32d268(0x366)]),w(0xb,a[_0x32d268(0x3b5)]),w(0xc,a[_0x32d268(0x379)](K))],exports[_0x32d268(0x45d)]),exports[_0x32d268(0x2cf)]=class extends ce{constructor(_0x38f08c,_0x43bd07,_0x1bc0a0,_0x539885,_0x5119a2,_0x1e6e6c=!0x1,_0x3743e9,_0x236b10,_0x3df2e0,_0x5dc5ee,_0x404b94,_0x1bcd8c,_0x4d2335){var _0x2b2686=_0x32d268;super(_0x38f08c,_0x43bd07,_0x1bc0a0,_0x539885,_0x5119a2,_0x236b10,_0x3df2e0,_0x5dc5ee,_0x4d2335),A(this,_0x2b2686(0x380),_0x2b2686(0x474)),(this[_0x2b2686(0x2be)]=_0x1e6e6c,this[_0x2b2686(0x3c8)]=_0x3743e9,this[_0x2b2686(0x3fc)]=_0x404b94,this[_0x2b2686(0x27b)]=_0x1bcd8c,this[_0x2b2686(0x315)]=_0x4d2335,this[_0x2b2686(0x2d1)](),this[_0x2b2686(0x3d4)](),this[_0x2b2686(0x466)]());}[_0x32d268(0x2f2)](){return this;}[_0x32d268(0x2db)](){return this;}[_0x32d268(0x33f)](){return this;}[_0x32d268(0x264)](){return this;}[_0x32d268(0x412)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x32d268(0x44e)](){var _0x2a7ec6=_0x32d268;throw new Error(_0x2a7ec6(0x33a));}[_0x32d268(0x3d4)](){var _0x5bfe8d=_0x32d268,_0x4181e8;(_0x4181e8=this[_0x5bfe8d(0x52d)])==null||_0x4181e8[_0x5bfe8d(0x277)](this[_0x5bfe8d(0x2de)],this[_0x5bfe8d(0x459)],null,[]);}[_0x32d268(0x2d1)](){var _0x1958ea=_0x32d268;this[_0x1958ea(0x2be)]?this[_0x1958ea(0x27b)][_0x1958ea(0x3da)]({'id':Z[_0x1958ea(0x3b4)]}):this['_collaborationUIEventService'][_0x1958ea(0x3da)]({'id':Z[_0x1958ea(0x267)]});}[_0x32d268(0x466)](){var _0x25d2d5=_0x32d268;this[_0x25d2d5(0x3c8)]['updatePermissionPoint'](new X[(_0x25d2d5(0x2d8))](this['unitID'])['id'],!0x1);}},exports['ConflictState']=ae([w(0x6,a['Inject'](a['IPermissionService'])),w(0x7,a[_0x32d268(0x519)]),w(0x8,a[_0x32d268(0x3b5)]),w(0x9,a[_0x32d268(0x2ef)](p[_0x32d268(0x286)])),w(0xa,a[_0x32d268(0x2ef)](a['LocaleService'])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x32d268(0x379)](K))],exports['ConflictState']),exports[_0x32d268(0x52b)]=class extends ce{constructor(_0x1adaf0,_0x2785f3,_0x5dc839,_0x43a5d8,_0x307f3d,_0x262097,_0x2631bd,_0x22e2c9,_0x172087,_0x1da429){var _0x4732e5=_0x32d268;super(_0x1adaf0,_0x2785f3,_0x5dc839,_0x43a5d8,_0x307f3d,_0x22e2c9,_0x172087,_0x2631bd,_0x1da429),A(this,'status',_0x4732e5(0x530)),this['_injector']=_0x262097;}['appendMutation'](_0x32c07e){var _0x3b8c6a=_0x32d268;return this['_pendingMutations']['push'](_0x32c07e),this[_0x3b8c6a(0x4f4)](),this;}['onRemoteChangeset'](_0x5c7f7b){var _0x508567=_0x32d268;throw new Error(_0x508567(0x2a5));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x32d268(0x4b2)](){return this;}[_0x32d268(0x387)](){var _0x19dd63=_0x32d268;const {_injector:_0x4208e9,_pendingMutations:_0x5f0bbc,_awaitingChangeset:_0x52b714,unitID:_0x319254,_handler:_0x46d313,type:_0xd88d9f}=this,_0x14df87=gt(_0x4208e9,_0x319254,_0xd88d9f,_0x52b714,_0x5f0bbc,_0x46d313);return _0x14df87 instanceof exports[_0x19dd63(0x2e8)]?_0x14df87[_0x19dd63(0x490)]():(_0x14df87 instanceof exports[_0x19dd63(0x45d)]||_0x14df87 instanceof exports[_0x19dd63(0x50b)])&&_0x14df87[_0x19dd63(0x44e)](),_0x14df87;}['resend'](){var _0x41bdf5=_0x32d268;throw new Error(_0x41bdf5(0x53d));}},exports[_0x32d268(0x52b)]=ae([w(0x5,a[_0x32d268(0x2ef)](a[_0x32d268(0x4e6)])),w(0x6,a['Inject'](p[_0x32d268(0x286)])),w(0x7,a[_0x32d268(0x519)]),w(0x8,a[_0x32d268(0x3b5)]),w(0x9,a[_0x32d268(0x379)](K))],exports[_0x32d268(0x52b)]),exports[_0x32d268(0x49c)]=class extends ce{constructor(_0x44216e,_0xad744d,_0x565173,_0x4a77df,_0x128c74,_0x51e9d5,_0xde914e,_0x4d13b0,_0xc14228,_0x417a70,_0x54eeb3,_0x2c87a4,_0xcdbe74,_0x917937){var _0xbe9311=_0x32d268;super(_0x44216e,_0xad744d,_0x565173,_0x4a77df,_0xde914e,_0x54eeb3,_0x2c87a4,_0xc14228,_0x917937),A(this,_0xbe9311(0x380),_0xbe9311(0x1fb)),(this[_0xbe9311(0x3e7)]=_0x128c74,this[_0xbe9311(0x41c)]=_0x51e9d5,this[_0xbe9311(0x432)]=_0x4d13b0,this[_0xbe9311(0x2bb)]=_0x417a70,this[_0xbe9311(0x40e)]=_0xcdbe74,this[_0xbe9311(0x315)]=_0x917937);}[_0x32d268(0x3ff)](_0x1e038d){var _0x47be4f=_0x32d268;try{const _0x3ecb25=[..._0x1e038d,...this[_0x47be4f(0x41c)]],_0x5add60=[this[_0x47be4f(0x221)]||this[_0x47be4f(0x3e7)]][_0x47be4f(0x469)](_0x448312=>!!_0x448312);let _0x2716b1,_0x6dc7f1;if(_0x5add60['length']){const _0x1fd538=this['_transformService'][_0x47be4f(0x231)](_0x3ecb25,_0x5add60,!0x1);if(!p['isTransformChangesetsSuccess'](_0x1fd538))throw _0x1fd538[_0x47be4f(0x29a)];_0x2716b1=_0x1fd538[_0x47be4f(0x4ea)],_0x6dc7f1=_0x1fd538['c2Prime'];}else _0x2716b1=_0x3ecb25,_0x6dc7f1=[];let _0x3b3f4f=this[_0x47be4f(0x2e5)];_0x2716b1[_0x47be4f(0x256)](_0xadc26a=>{var _0x24fc4e=_0x47be4f;let _0x510be8;if(_0x3b3f4f[_0x24fc4e(0x25b)]){const _0x59f27d=this[_0x24fc4e(0x40e)]['transformMutationsWithChangeset'](_0xadc26a,_0x3b3f4f);if(!p[_0x24fc4e(0x240)](_0x59f27d))throw _0x59f27d['error'];_0x510be8=_0x59f27d[_0x24fc4e(0x4ea)],_0x3b3f4f=_0x59f27d[_0x24fc4e(0x4ed)];}else _0x510be8=_0xadc26a;this[_0x24fc4e(0x48d)](_0x510be8);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x47be4f(0x221)]&&_0x6dc7f1[_0x47be4f(0x25b)]&&(_0x6dc7f1[0x0]['baseRev']=this[_0x47be4f(0x384)]());let _0x38aa31;if(this[_0x47be4f(0x221)]&&_0x3b3f4f[_0x47be4f(0x25b)]!==0x0)_0x38aa31=this[_0x47be4f(0x432)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x47be4f(0x2de)],this[_0x47be4f(0x459)],_0x6dc7f1[0x0],_0x3b3f4f,this[_0x47be4f(0x266)],void 0x0);else{if(this[_0x47be4f(0x221)]&&_0x3b3f4f[_0x47be4f(0x25b)]===0x0)_0x6dc7f1[0x0]['baseRev']=this['_getCurrentRevision'](),_0x38aa31=this['_injector'][_0x47be4f(0x3fb)](exports['AwaitingState'],this[_0x47be4f(0x2de)],this[_0x47be4f(0x459)],_0x6dc7f1[0x0],this[_0x47be4f(0x266)]);else{if(_0x3b3f4f[_0x47be4f(0x25b)]!==0x0){const _0x394db7=this[_0x47be4f(0x432)][_0x47be4f(0x3fb)](exports[_0x47be4f(0x2e8)],this[_0x47be4f(0x2de)],this[_0x47be4f(0x459)],_0x3b3f4f,this[_0x47be4f(0x266)]);_0x394db7[_0x47be4f(0x490)](),_0x38aa31=_0x394db7;}else _0x38aa31=this['_injector']['createInstance'](exports[_0x47be4f(0x2e3)],this[_0x47be4f(0x2de)],this[_0x47be4f(0x459)],this['_handler']);}}return _0x38aa31['_updateLocalCache'](),_0x38aa31;}catch(_0x2c6637){return this['_logService'][_0x47be4f(0x29a)](_0x47be4f(0x1ee),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2c6637),this['_injector'][_0x47be4f(0x3fb)](exports['ConflictState'],this[_0x47be4f(0x2de)],this[_0x47be4f(0x459)],this[_0x47be4f(0x221)],this[_0x47be4f(0x2e5)],this[_0x47be4f(0x266)],!0x1);}}['resend'](){var _0x10b571=_0x32d268;throw new Error(_0x10b571(0x4d5));}[_0x32d268(0x2f2)](_0x3ffb92){var _0x1c51f6=_0x32d268;return this['_pendingMutations'][_0x1c51f6(0x47b)](_0x3ffb92),this;}[_0x32d268(0x2db)](_0x384584){var _0x7f53f6=_0x32d268;return this['_queuedRemoteChangesets'][_0x7f53f6(0x47b)](_0x384584),this;}[_0x32d268(0x33f)](_0x205659){var _0x3e4f94=_0x32d268;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x3e4f94(0x221)],this[_0x3e4f94(0x221)]=null,this;throw new Error(_0x3e4f94(0x25d));}[_0x32d268(0x264)](_0x3afa35){var _0x2a7d29=_0x32d268;return this[_0x2a7d29(0x53c)](!!(_0x3afa35!=null&&_0x3afa35[_0x2a7d29(0x307)]));}['onRemoteRetry'](){return this;}[_0x32d268(0x4b2)](){var _0x2b9c06=_0x32d268;return this[_0x2b9c06(0x432)][_0x2b9c06(0x3fb)](exports['OfflineState'],this[_0x2b9c06(0x2de)],this[_0x2b9c06(0x459)],this[_0x2b9c06(0x221)],this[_0x2b9c06(0x2e5)],this[_0x2b9c06(0x266)]);}[_0x32d268(0x387)](){return this;}[_0x32d268(0x53c)](_0x1afefb){var _0x2689d4=_0x32d268;return this[_0x2689d4(0x432)][_0x2689d4(0x3fb)](exports[_0x2689d4(0x2cf)],this['unitID'],this[_0x2689d4(0x459)],this[_0x2689d4(0x221)],this[_0x2689d4(0x2e5)],this['_handler'],_0x1afefb);}},exports[_0x32d268(0x49c)]=ae([w(0x7,a[_0x32d268(0x2ef)](a[_0x32d268(0x4e6)])),w(0x8,a[_0x32d268(0x2ef)](p['RevisionService'])),w(0x9,a[_0x32d268(0x2fd)]),w(0xa,a['ICommandService']),w(0xb,a[_0x32d268(0x3b5)]),w(0xc,p[_0x32d268(0x366)]),w(0xd,a[_0x32d268(0x379)](K))],exports[_0x32d268(0x49c)]);function gt(_0x5df9a8,_0x1c8c64,_0x40b706,_0x3642aa,_0x17cc34,_0x48f74c){var _0x51c9c4=_0x32d268;return _0x3642aa&&_0x17cc34['length']?_0x5df9a8[_0x51c9c4(0x3fb)](exports['AwaitingWithPendingState'],_0x1c8c64,_0x40b706,_0x3642aa,_0x17cc34,_0x48f74c,void 0x0):_0x3642aa?_0x5df9a8[_0x51c9c4(0x3fb)](exports[_0x51c9c4(0x50b)],_0x1c8c64,_0x40b706,_0x3642aa,_0x48f74c):_0x17cc34[_0x51c9c4(0x25b)]?_0x5df9a8[_0x51c9c4(0x3fb)](exports[_0x51c9c4(0x2e8)],_0x1c8c64,_0x40b706,_0x17cc34,_0x48f74c):_0x5df9a8['createInstance'](exports['SyncedState'],_0x1c8c64,_0x40b706,_0x48f74c);}var ci=Object[_0x32d268(0x32e)],Fe=(_0x5171c5,_0x3d6705,_0x49ca8c,_0x6b30be)=>{var _0x14d3d5=_0x32d268;for(var _0x4fa894=_0x6b30be>0x1?void 0x0:_0x6b30be?ci(_0x3d6705,_0x49ca8c):_0x3d6705,_0x338982=_0x5171c5[_0x14d3d5(0x25b)]-0x1,_0x31f7d8;_0x338982>=0x0;_0x338982--)(_0x31f7d8=_0x5171c5[_0x338982])&&(_0x4fa894=_0x31f7d8(_0x4fa894)||_0x4fa894);return _0x4fa894;},H=(_0x65ccec,_0x488d73)=>(_0x3f2ca9,_0x5defac)=>_0x488d73(_0x3f2ca9,_0x5defac,_0x65ccec);function _0x5164(){var _0x1e04a6=['status','_event$','_onRemoteRetry','extend','_getCurrentRevision','SUBMIT_CHANGESET','code','toggleOnline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_DISTRO_REJECTED','MemberService','loadUnit','hasOwnProperty','lib','NO_OTHER_CLIENTS_EDITING','_onRecvEvent','_clearCollaborationTimeoutTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SheetCollaborationEntity','_eventService','listRoles','INVITE_CODE_ALREADY_BOUND','decryptBlock','getUnitId','_socketMessageSubscription','WordArray','mutations','JOIN','AES','_doCreateSocket','UNIVER_DOC','synced','USERS_ENTER','?size=','_getCtorByUniverType','SHA1','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CommandType','/resources','awaitingChangeset','_sendHeartbeat','userID','event$','_replayCachedMutations','sin','listCollaborators','_collabSessionService','LIVESHARE_NEW_HOST','/-/object/-/batch_allowed','&to=','APPLY_REVISION_CONFILICT','UNIVER_COLLABORATION_CLIENT_PLUGIN','PERMISSION_DENIED','IUndoRedoService','charAt','_checkMissing','_iv','transformUndoRedo','mixIn','getRoom','_resendTimer','update','_onMessage','clear','_doCryptBlock','Hasher','prototype','_imageSourceCache','DEFAULT_COLLAB_WEB_SOCKET_URL','\x20-\x20','fromCharCode','Module','_permissionService','getWorkbookSelections','COMPRESS_MUTATION_SEND','PasswordBasedCipher','getImage','save\x20fail\x20reason\x20is\x20','max','CollaborationSessionService','focused$','_status$','EMAIL_HAS_BEEN_BOUND','getRandomValues','_clearLocalCache','2216520vyokfJ','execute','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','complete','UNRECOGNIZED','emitEvent','collaboration_new_changeset','_revisionService','_submitChangeset','INVALID_INVITE_CODE','/block/','uuidv4','getAllMembers','/universer-api/snapshot','__esModule','/universer-api/user/session-ticket','NOT_COLLAB','localeService','_acknowledgedAwaitingChangeset','catch','getResourcesRequest','actions','APPLY_NON_SEQUENTIAL_REVISION','[SyncedState]:\x20received\x20acknowledgement.','image/jpg','[UniverCollaborationClientPlugin]','byteLength','getSheetId','AuthzIoHttpService','SerializableCipher','RxDisposable','_getUndoStack','socketService','avatar','next','_telemetryInfo','unit-cache-','cfg','createInstance','_localeService','/object/','byteOffset','onMissedChangesetFetched','then','dispose','list','_onUserJoin','originalMeta','ERROR_IMAGE','collabSubmitChangesetUrl','body','enableAuthServer','subUnitId','_snapshotService','createCollaborator','SNAPSHOT_URL_KEY','data','_transformService','NOT_FOUND','_httpService','toString','onRemoteRetry','GLOBAL_ROOMS_CNT_EXCEEDS','loadOfflineData','HEARTBEAT_TIMEOUT_KEY','leaveEvent','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','allowed','BlockCipher','PERSON','YUUMI_SUBSCRIPTION_NOT_FOUND','_queuedRemoteChangesets','_state','hostname','take','replace','_createSocket','IUniverInstanceService','_doProcessBlock','_removeRoom','getUnitType','_DEC_XFORM_MODE','isInternalEditorID','LICENSE_EXPORT_SIZE_EXCEEDED','_getUploadFileURL','onTransformRemoteChangesetByIMECache','_changesetReqId','CHANGESET_ACK','USERS_LEAVE','UNIVER_SLIDE','FileId','close','transformSelections','_injector','_onCombEvent','getMemberID','IDLE','_hasher','memberID','[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.','objectID','IPermissionService','state$','_doReset','_univerInstanceService','joinEvent','HttpImport','clone','mode','LICENSE_IMPORT_SIZE_EXCEEDED','unitInfo$','createSocket','onTransformSelections','formatter','fetchThroughInterceptors','Quantity','ciphertext','href','SNAPSHOT_INVALID_SNAPSHOT','_keyPriorReset','withCredentials','resend','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','retryConnectingInterval','_append','DataLoaderService','entries','iterations','socket\x20open.','INVITE_CODE_REQUIRED','joinRsp','_members$','type','_createHmacHelper','collaborators','/universer-api/file/{fileID}/sign-url','AwaitingWithPendingState','_tryReconnect','toDisposable','shareReplay','_exhaustRemoteChangesetQueue','generateRandomId','requireSession','action','_collaborationPaused','_disableEditing','UNIVER_SHEET','JSONX','filter','OpenSSL','deserializeToCombResponse','univer-pro.collaboration-client.network-condition.service','_state$','loadSheet','Subject','UNIVER_UNKNOWN','_socketReady','/rev/','getSnapshotAPIPath','conflict','ceil','/universer-api/snapshot/','CollaborativeUndoRedoService','kdf','_getDownloadEndpointURL','merge','push','_transformRemoteChangesetByIMECache','sigBytes','&source=','registerHTTPInterceptor','_collaborationSessionService','PY_RUNTIME_SCRIPT_ERROR','$super','Disposable','_throwTelemetryCollaborationNewChangeset','_process','_createHelper','target','_socket','parseProtocolChangeset','_createInitialStateImpl','AWAITING','unpad','_executeRemoteChangeset','_compressMutationService','_change$','_schedule','commentUpdate$','salt','BehaviorSubject','pending','SOCKET_FAILED','_transformIMECache','getTypeOfUnitAdded$','_roomCreated$','sequenceExecute','_socket$','_createHandler','FetchingMissState','HTTPService','CollaborationSocketService','_transformStateCache','fetching\x20missing\x20changesets\x20from\x20','function','INTERNAL_ERROR','patch','baseRev','_initDependencies','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','params','onlyLocal','collabWebSocketUrl','_collaborationTimeoutTimer','_entityInit$','title','dispose$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_changesetSessionId','_key','/universer-api/authz','toggleOffline','refreshPermission','SUBMIT_CHANGESET_TIMEOUT','_type','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','BufferedBlockAlgorithm','headers','_getSignURL','_commentUpdate$','CollaborationEntity','[CollaborationEntity]','infoRsp','onSendChangeset','_configService','add','_init','CLOSE_ROOM','_getAPIPrefixPath','_initUnitPermissionChange','onStateChange','_shouldReportTelemetry','deepClone','ws://127.0.0.1:8000/universer-api/comb/connect','_HTTPService','_clearScheduledTask','_transitionLocked','LIVESHARE_TERMINATE','839168EbGAPl','_unlockTransition','getUnitStatus$','LOGIN_FAILED','_redoStacks','getLocalCacheKey','hasher','isTransformChangesetsSuccess','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','HmacSHA1','IMentionIOService','_getAPIPrefix','&assign=','MSG_FOR_ERROR','snapshot','AWAITING_WITH_PENDING','BlockCipherMode','batchAllowed','YUUMI_RATE_OVER_LIMIT','_doFinalize','YUUMI_NO_CUBOID_FOR_QUESTION','exports','getCollabEntity','string','post','Injector','method','_substituteUndoStack','_nDataBytes','c1Prime','_sendHeartbeatTimer','RichTextEditingMutation','m2Prime','MentionIoHttpService','_retryCount','url','copyFileMeta','Base','_onConnectionOpen','_updateLocalCache','liveShareNewHost','600654OMjQNA','state','format','LocalUndoRedoService','readyForCollab','substr','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getLoginPath','_tryEnsureSocket','APPLY_DUPLICATED','call','OPTIONAL','_timeoutTimer','cmd','onMissingChangesets','not_collab','_xformMode','COMMENT_UPDATE','collaboratorID','OFFLINE','_transformStack','AwaitingState','toStringTag','enableCollaboration','splice','ThresholdInterceptorFactory','_getRedoStack','_iKey','_transformRemoteChangesetByStateCache','IContextService','_reverseMap','People','deleteCollaborator','saveSheetBlock','put','ICommandService','COMPRESS_MUTATION_APPLY','addImageSourceCache','_updateState','CollaborationController','signUrlServerUrl','random','session.room-permission-denied','socket\x20close','blockSize','includes','from','LEAVE','create','Hex','_clearRedo','loadDoc','Utf8','OfflineState','floor','_localCacheService','UPDATE_CURSOR','loginUrlKey','offline','_waitCount','name','responseType','[CollaborationState]:\x20apply\x20error!','MentionType','isArray','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LICENSE_MAX_UNITS_EXCEEDED','_minBufferSize','setShowComponents','_onConflict','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','RECV','FETCH_MISSING','encryptBlock','closeSession','subject','delete','HEARTBEAT_INTERVAL_KEY','encode','Rectangle','append','finalize','resolve','getValue','DocCollaborationEntity','connection\x20error','LIVESHARE_OPERATION','getCurrentRevOfUnit','_undoStacks','HEARTBEAT','encodeURIComponent','_sessions','12691408uurZKB','pipe','TOO_MANY_REQUESTS','YUUMI_UNABLE_LOAD_URL','crypto','createEncryptor','_onFetchMissResult','UNAUTHENTICATED','getUnitOnRev','HELLO','_sendingTimer','_nRounds','\x0aCurrent:\x20','_createInitialState','init','\x20in\x20_schedule.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','unitId\x20is\x20not\x20found','[FetchMissState]','collaboration-client.local-cache-service','onTransformState','INGEST','revision','\x20to\x20','getConfig','CollaborationEvent','{fileID}','UnitStatus','HEARTBEAT_INTERVAL','_invKeySchedule','send','fetch_missing','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','__Key__','RETRY_CONNECTING_MAX_COUNT','collaboration-client.config','_joinRoom','_undoRedoService','POST','INVALID_ARGUMENT','INVITE_CODE_HAS_BEEN_UES','_getSendChangesetTimeout','_userManagerService','_socketService','submit\x20changeset\x20error!','createIdentifier','reqId','OTHER_CLIENTS_EDITING','location','_rescheduleHeartbeat','sendChangesetTimeout','reset','FAIL','eventID','every','sessionStatus$','charCodeAt','NoPadding','/universer-api/oidc/authpage','SNAPSHOT_HAS_BEEN_REMOVED','_data','CHANGESET_REJ','_remoteChangesetQueue','PERMISSION_REJ','readInt32LE','SessionStatus','members$','WECHAT_HAS_BEEN_BOUND','compose','_awaitingChangeset','capture','initWorkbookPermissionChange','_initMergeInterceptor','startsWith','ERROR_EXCEED_SIZE','_map','telemetry\x20info\x20is\x20not\x20initialized','_members','equals','_decreaseWaiting','[CollaborationSession]','UnitEmbedded','executeCommand','_retryConnectingTimer','updateMember','transformChangesets','UNIVER_PROJECT','_instanceService','DEFAULT_FILE_NAME','BASE64','asObservable','_onConnectionFailed','status$','encrypt','ImageSourceType','/-/object/list','b64DecodeUnicode','Workbook','CompressMutationService','uniscriptRunEvent','isTransformMutationsWithChangesetSuccess','msCrypto','[PendingState]:\x20received\x20acknowledgement.','resourceIDs','_stopTelemetryCollaborationNewChangeset','HEARTBEAT_TIMEOUT','repeat','EmptyMutation','_entities','symbol','Base64','/allowed','x-univer-host','_sessionStatus$','getCurrentUser','session.room-full','_onJoinRoomEvent','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','HttpExport','[DataLoaderService]','_roomMembers','reduce','forEach','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_unitID','has','_startTelemetryCollaborationNewChangeset','length','21XfdqwH','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Malformed\x20UTF-8\x20data','MOBILE_HAS_BEEN_BOUND','/universer-api/stream/file/upload','set','setCurrentUser','key','onRemoteRej','CHANGESET_SHOULD_RETRY','_handler','CONFLICT','CollaborationImageIoService','HTTPRequest','InsertSheetMutation','IConfigService','CollaborationSession','_startCollaboration','_transformSelections','concat','padding','entityInit$','FETCH_MISS','range','CONNECTOR_DATA_TOO_LARGE','parseChangesetToProtocol','error$','updateOfflineData','SheetTransformSelectionsService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformMutationsWithChangeset','_collaborationUIEventService','mergeOverrideWithDependencies','stringify','updateCursorEvent','getCollabEntity$','/universer-api/uniscript','_fetchMissChangesets','YUUMI_ASYNCIO_CANCELLED','enc','session','YUUMI_AI_RUN_FAILED','RevisionService','map','/object','_oKey','/collaborator','file','sessionStatus','JOINING','selections','delay','_incrementRevisionNumber','authzUrl','slice','EvpKDF','[PendingState]:\x20unhandled\x20univer\x20type:\x20','changesets','requestParams','_resendTimeout','_candidateSocket','fromCollab','error','COMPLETION_FINISHED','_resendWithTimeout','parse','online$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_REQUEST_HOST','csShouldRetryEvent','_sender','_lockTransition','onTransformRemoteChangesetByStateCache','[OfflineState]:\x20received\x20changeset.','MD5','unknown','words','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CollaborationUIEventService','UNKNOWN_CODE','reverse','mapDocumentTypeToUniverType','interceptor','onLocalMutation','[CollaborationSessionService]','Error\x20on\x20receiving\x20event','roles','Tools','HMAC','startTime','default','Decryptor','LIVESHARE_FETCH_OPERATIONS','_mode','algo','_logService','decrypt','touchDependencies','_isPermissionRej','_toggleOffline','_clearRetryConnectingTimer','JOIN_ROOM_PERMISSION_DENIED','UNDEFINED','loadUnitOfRevision','ONLINE','MUTATION','_waitForHeartbeatResponse','[CollaborationUndoRedoService]','YUUMI_ALL_TABLES_IS_INVALID','_scheduleCollaborationTimeoutTimer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onload','saveImage','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UniverCollaborationClientPlugin','ConflictState','__creator','_showConflictNotification','indexOf','_onRemoteRejected','RETRY_CONNECTING_MAX_COUNT_KEY','PENDING','NEW_CHANGESETS','incrementRevOfUnit','WorkbookEditablePermission','objectType','_emitMembers','onRemoteChangeset','JOIN_ROOM_NOT_EXISTS','_updateStatus','unitID','_initCloseConn','YUUMI_CONNECTOR_URL_NOT_FOUND','APPLY_REJECT','_ENC_XFORM_MODE','SyncedState','getFocusedUnit','_pendingMutations','textRanges','Encryptor','PendingState','getMember','Plugin','unitId','randomBytes','sid','JOIN_ROOM_FAILED','Inject','_scheduleCompleteTimestamp','_hash','appendMutation','concatMap','takeUntil','collaMsg','_singleActiveUnitService','/fetchmissing?from=','INetworkConditionService','APPLY_PERMISSION_DENIED','close$','getUnit','ivSize','ILogService','join','commentUpdateEvent','ILocalCacheService','clamp','_networkConditionService','getTypeOfUnitDisposed$','pad','disposeWithMe','_memberService','isPermissionRej','findIndex','Undefined','reconnect','_sheetTransformSelectionsService','UPDATE_PERMISSION_OBJ','message$','defineProperty','apply','change$','SnapshotService','CHANGESET_REVISION_CONFILICT','_applyRemoteChangeset','workbook','localCacheService','CollaborationStatus','SUCCUSS','_onLocalMutation','UniverInstanceType','unsubscribe','1528296qLsvtV','onTransformIME','_parse','LocaleService','awaiting','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[SyncedState]:\x20received\x20rejection.','onCommentUpdate','ALREADY_EXISTS','awaiting_with_pending','image/gif','SHOULD_CLOSE_CONN','_onRemoteACK','_prevBlock','onSyncEditingCollabCursor','compute','removeMember','HmacMD5','confirm','getOwnPropertyDescriptor','_replaceFileID','addHandlerCallback','_clearHeartbeatTimer','editing\x20status\x20changed\x20to','fetchMissingChangesets','abs','_initRequestHeader','_handlerCallback','_config','SetSelectionsOperation','roomInfos','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','LOCAL_CACHE_INTERVAL','UnitSnapshot','1576100QSYzrE','SnapshotServerOverHTTPService','onRemoteAck','ISocketService','_onRemoteChangeset','onCommandExecuted','_listenToNetworkCondition','open$','4572284pWQDGX','_onUserLeave','socket$','routeKey','get','csAckEvent','_telemetryService','Pkcs7','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','DEFAULT_WS_SESSION_TICKET_URL','debug','_clearTimeoutTimer','keySize','fetchMiss','ImageUploadStatusType','getDeserializedSheetBlock','OTHER_CLIENT_EDITING','_snapshotServerService','_syncEditingCollabCursor','image/png','getGlobalObject','JOIN_ROOM_FULL','SOCKET_FAILED_RETRY','_commentService','auth.needGotoLoginAlert','YUUMI_TABLE_NOT_FOUND_IN_UNIT','find','_onOffline','registerDependencies','firstValueFrom','ENSURE_SNAPSHOT_EXECUTION','size','ERROR_IMAGE_TYPE','ITransformService','UserProfileImg','downloadEndpointUrl','pluginName','stopTime','reject','_toggleOnline','disableLocalCache','image/jpeg','updatePermissionPoint','updatePermissionObjEvent','MergeInterceptorFactory','_transformUndoredo','getInterceptPoints','/unit/','textEncoder','readAsDataURL','subscribe','USER_NOT_INVITED_CODE','Optional','result','updateSnapshot','_commandService','_unitInfo$','_registerDependencies','sheets'];_0x5164=function(){return _0x1e04a6;};return _0x5164();}exports[_0x32d268(0x4bb)]=class extends a[_0x32d268(0x3f3)]{constructor(_0x43d9bd,_0x503b13,_0x5c1a11,_0x216b2f,_0x34e5af,_0x3439b2,_0x404a31,_0x39a237,_0x507663,_0x471fe8,_0x4e5b89,_0x36c0d3,_0x537097){var _0x4c04c2=_0x32d268;super(),A(this,_0x4c04c2(0x46d),new j[(_0x4c04c2(0x493))](null)),A(this,_0x4c04c2(0x43b),this[_0x4c04c2(0x46d)][_0x4c04c2(0x236)]()),A(this,'_state'),A(this,_0x4c04c2(0x465),!0x1),A(this,_0x4c04c2(0x4af),''),A(this,_0x4c04c2(0x42b),0x0),A(this,_0x4c04c2(0x238),this['state$']['pipe'](j[_0x4c04c2(0x287)](_0x56c840=>_0x56c840?_0x56c840['status']:Be['OFFLINE']),j[_0x4c04c2(0x460)](0x1))),A(this,_0x4c04c2(0x4cb),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x4c04c2(0x2de)]=_0x43d9bd,this['session']=_0x503b13,this['_type']=_0x5c1a11,this[_0x4c04c2(0x432)]=_0x216b2f,this[_0x4c04c2(0x48e)]=_0x34e5af,this[_0x4c04c2(0x3fc)]=_0x3439b2,this[_0x4c04c2(0x3dc)]=_0x404a31,this[_0x4c04c2(0x393)]=_0x39a237,this[_0x4c04c2(0x2bb)]=_0x507663,this[_0x4c04c2(0x37c)]=_0x471fe8,this[_0x4c04c2(0x3c8)]=_0x4e5b89,this['_singleActiveUnitService']=_0x36c0d3,this[_0x4c04c2(0x52d)]=_0x537097);}get[_0x32d268(0x4f7)](){var _0x5ea044=_0x32d268;return this[_0x5ea044(0x41d)];}async['init'](){var _0x1ae7e2=_0x32d268;if(this['state'])throw new Error(_0x1ae7e2(0x34d));await this['_init']();}['pauseCollaboration'](){var _0x22f777=_0x32d268;return this[_0x22f777(0x465)]=!0x0,a[_0x22f777(0x45f)](()=>{var _0x1ac0bc=_0x22f777;this[_0x1ac0bc(0x465)]=!0x1,this[_0x1ac0bc(0x461)]();});}[_0x32d268(0x2af)](_0x5cf0d0){var _0x6caee7=_0x32d268;this[_0x6caee7(0x318)](_0x5cf0d0);}[_0x32d268(0x51c)](_0x719734){var _0x5e91dc=_0x32d268;this[_0x5e91dc(0x41d)]=_0x719734,this[_0x5e91dc(0x46d)][_0x5e91dc(0x3f7)](_0x719734);}async[_0x32d268(0x4c1)](){var _0x5f557b=_0x32d268,_0x557dbd;this[_0x5f557b(0x51c)](await this[_0x5f557b(0x1e9)]()),this[_0x5f557b(0x2f6)]&&((_0x557dbd=this['_singleActiveUnitService'])==null||_0x557dbd['editingUnit'](this['unitID']),this[_0x5f557b(0x305)](this['_singleActiveUnitService'][_0x5f557b(0x4cf)](this[_0x5f557b(0x2de)])[_0x5f557b(0x377)](_0x1da31f=>{var _0xb55c55=_0x5f557b;this[_0xb55c55(0x2bb)]['debug'](_0xb55c55(0x4bc),_0xb55c55(0x332),_0x1da31f),_0x1da31f===He[_0xb55c55(0x20b)]?(this['_eventService'][_0xb55c55(0x3da)]({'id':Z[_0xb55c55(0x355)]}),this[_0xb55c55(0x3c8)][_0xb55c55(0x36f)](new X[(_0xb55c55(0x2d8))](this[_0xb55c55(0x2de)])['id'],!0x1),this['_permissionService'][_0xb55c55(0x53b)](!0x1)):(this[_0xb55c55(0x3c8)][_0xb55c55(0x36f)](new X['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0xb55c55(0x3c8)][_0xb55c55(0x53b)](!0x0));})));let _0x2d82f4=!0x1;return this['disposeWithMe'](this[_0x5f557b(0x284)][_0x5f557b(0x213)][_0x5f557b(0x377)](_0x3ecb9d=>{var _0x47f60e=_0x5f557b;_0x3ecb9d===re[_0x47f60e(0x2c4)]?this[_0x47f60e(0x36c)](_0x2d82f4):_0x3ecb9d===re['OFFLINE']&&(_0x2d82f4=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x5f557b(0x284)]['event$'][_0x5f557b(0x377)](_0x567272=>{var _0xd89690=_0x5f557b;try{switch(_0x567272['eventID']){case p[_0xd89690(0x1f5)]['NEW_CHANGESETS']:{this[_0xd89690(0x341)](p[_0xd89690(0x489)](_0x567272[_0xd89690(0x40d)]));break;}case p['CollaborationEvent'][_0xd89690(0x42c)]:{this[_0xd89690(0x327)](_0x567272[_0xd89690(0x40d)]);break;}case p[_0xd89690(0x1f5)][_0xd89690(0x219)]:{this[_0xd89690(0x2d3)]();break;}case p[_0xd89690(0x1f5)][_0xd89690(0x265)]:{this[_0xd89690(0x382)](_0x567272[_0xd89690(0x40d)]);break;}case p[_0xd89690(0x1f5)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xd89690(0x559)](_0x567272[_0xd89690(0x40d)][_0xd89690(0x295)][_0xd89690(0x287)](_0x32d121=>p['parseProtocolChangeset'](_0x32d121)));break;}case p[_0xd89690(0x1f5)]['PERMISSION_REJ']:{this[_0xd89690(0x2d3)]({'isPermissionRej':!0x0});break;}case p['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x12226c){throw console[_0xd89690(0x29a)](_0xd89690(0x2b1),_0x12226c),_0x12226c;}})),this[_0x5f557b(0x41d)];}[_0x32d268(0x4ce)](){var _0x4bd2da=_0x32d268;this[_0x4bd2da(0x4cb)]=!0x1;}[_0x32d268(0x2a3)](){var _0x4f6900=_0x32d268;if(this[_0x4f6900(0x4cb)])throw new Error(_0x4f6900(0x438));this[_0x4f6900(0x4cb)]=!0x0;}[_0x32d268(0x318)](_0x43136e){var _0x41a3a0=_0x32d268;this['_lockTransition'](),this[_0x41a3a0(0x51c)](this[_0x41a3a0(0x41d)][_0x41a3a0(0x2f2)](_0x43136e)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x5e3c52){var _0x9bedbf=_0x32d268;if(!(_0x5e3c52[_0x9bedbf(0x1f2)]<=this[_0x9bedbf(0x3dc)][_0x9bedbf(0x54e)](this[_0x9bedbf(0x2de)]))){if(this[_0x9bedbf(0x465)]){this[_0x9bedbf(0x21a)][_0x9bedbf(0x47b)](_0x5e3c52);return;}this[_0x9bedbf(0x313)](_0x5e3c52);}}['_exhaustRemoteChangesetQueue'](){var _0x1d37f4=_0x32d268;this['_remoteChangesetQueue']['forEach'](_0x484bbb=>this[_0x1d37f4(0x313)](_0x484bbb)),this[_0x1d37f4(0x21a)]=[];}[_0x32d268(0x313)](_0x90fbb1){var _0xaac69=_0x32d268;const _0x317bb4=this['_compressMutationService'][_0xaac69(0x2ae)][_0xaac69(0x447)](this[_0xaac69(0x48e)][_0xaac69(0x2ae)][_0xaac69(0x373)]()[_0xaac69(0x51a)])(_0x90fbb1[_0xaac69(0x39a)],null)||_0x90fbb1[_0xaac69(0x39a)],_0x581a0d={..._0x90fbb1,'mutations':_0x317bb4};this['_lockTransition'](),this[_0xaac69(0x51c)](this[_0xaac69(0x41d)][_0xaac69(0x2db)](_0x581a0d)),this['_unlockTransition']();}['_onRemoteACK'](_0xad747b){var _0x572e26=_0x32d268;this[_0x572e26(0x2a3)](),this['_updateState'](this[_0x572e26(0x41d)][_0x572e26(0x33f)](_0xad747b)),this[_0x572e26(0x4ce)]();}['_onRemoteRejected'](_0x44d5d4){var _0x20deb3=_0x32d268;this[_0x20deb3(0x2a3)](),this[_0x20deb3(0x51c)](this['_state'][_0x20deb3(0x264)](_0x44d5d4)),this['_unlockTransition']();}[_0x32d268(0x382)](_0x28a0b6){var _0x1a8405=_0x32d268;this[_0x1a8405(0x2a3)](),this[_0x1a8405(0x51c)](this[_0x1a8405(0x41d)][_0x1a8405(0x412)](_0x28a0b6)),this[_0x1a8405(0x4ce)]();}['_onFetchMissResult'](_0xc9c110){var _0x12a2ea=_0x32d268;if(!(this[_0x12a2ea(0x41d)]instanceof exports[_0x12a2ea(0x49c)]))throw new TypeError(_0x12a2ea(0x3a4));const _0x2137da=_0xc9c110[_0x12a2ea(0x287)](_0x34f388=>{var _0x45fcdd=_0x12a2ea;const _0x508f6a=this[_0x45fcdd(0x48e)][_0x45fcdd(0x2ae)][_0x45fcdd(0x447)](this[_0x45fcdd(0x48e)][_0x45fcdd(0x2ae)][_0x45fcdd(0x373)]()[_0x45fcdd(0x51a)])(_0x34f388[_0x45fcdd(0x39a)],null)||_0x34f388[_0x45fcdd(0x39a)];return{..._0x34f388,'mutations':_0x508f6a};});this[_0x12a2ea(0x2a3)](),this[_0x12a2ea(0x51c)](this[_0x12a2ea(0x41d)][_0x12a2ea(0x3ff)](_0x2137da)),this[_0x12a2ea(0x4ce)]();}[_0x32d268(0x2bf)](){var _0x271498=_0x32d268;this[_0x271498(0x2a3)](),this[_0x271498(0x51c)](this[_0x271498(0x41d)]['toggleOffline']()),this[_0x271498(0x4ce)]();}['_toggleOnline'](_0x3bdd4a=!0x1){var _0x1307a5=_0x32d268;this[_0x1307a5(0x2a3)](),this[_0x1307a5(0x51c)](this[_0x1307a5(0x41d)][_0x1307a5(0x387)]()),this[_0x1307a5(0x4ce)]();const _0x2cdceb=this[_0x1307a5(0x41d)];_0x3bdd4a&&_0x2cdceb instanceof exports['SyncedState']&&(this[_0x1307a5(0x2a3)](),this[_0x1307a5(0x51c)](_0x2cdceb[_0x1307a5(0x352)]()),this[_0x1307a5(0x4ce)]());}async['_createInitialState'](){return new Promise(_0x430ff9=>{var _0x4b2ed1=_0x10a7;this[_0x4b2ed1(0x284)]['sessionStatus$'][_0x4b2ed1(0x554)](j[_0x4b2ed1(0x41f)](0x1))['subscribe'](async _0x3f42e1=>{var _0x5d016c=_0x4b2ed1;_0x430ff9(await this[_0x5d016c(0x48a)](_0x3f42e1===re[_0x5d016c(0x2c4)]));});});}[_0x32d268(0x49b)](){var _0x5ce34d=_0x32d268;const _0x56452b=this[_0x5ce34d(0x2de)];return{'onStateChange':(_0x5278e2,_0x960df4)=>{var _0x32fa51=_0x5ce34d;if(_0x5278e2!==this['_state'])throw new Error(_0x32fa51(0x2ca)+_0x5278e2[_0x32fa51(0x380)]+'\x0aAfter:\x20'+_0x960df4[_0x32fa51(0x380)]+_0x32fa51(0x1e8)+this[_0x32fa51(0x41d)][_0x32fa51(0x380)]);this[_0x32fa51(0x51c)](_0x960df4);},'onSendChangeset':_0x27e941=>{var _0x3fabc7=_0x5ce34d;_0x27e941[_0x3fabc7(0x2ed)]||(_0x27e941[_0x3fabc7(0x2ed)]=this['_changesetSessionId'],_0x27e941['reqId']=++this[_0x3fabc7(0x42b)]);const _0x346571={'eventID':p[_0x3fabc7(0x1f5)][_0x3fabc7(0x385)],'data':{'unitID':_0x27e941[_0x3fabc7(0x2de)],'unitType':this[_0x3fabc7(0x4b5)],'changeset':_0x27e941,'memberID':this['session'][_0x3fabc7(0x434)]()}};this[_0x3fabc7(0x284)][_0x3fabc7(0x1fa)](_0x346571,this['unitID']);},'onMissingChangesets':({from:_0x45feaf,to:_0x41b3ce})=>{var _0x212f9f=_0x5ce34d;this['_logService'][_0x212f9f(0x34f)](_0x212f9f(0x4bc),_0x212f9f(0x4a0)+_0x45feaf+_0x212f9f(0x1f3)+_0x41b3ce);const _0x5cfb14={'eventID':p['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x56452b,'unitType':this[_0x212f9f(0x4b5)],'from':_0x45feaf,'to':_0x41b3ce}};this[_0x212f9f(0x284)][_0x212f9f(0x1fa)](_0x5cfb14,this[_0x212f9f(0x2de)]);}};}async[_0x32d268(0x48a)](_0x219fd7){var _0x23d726=_0x32d268,_0x4cf0fb,_0x295080,_0x14fd24;const _0x36cc1a=await((_0x4cf0fb=this[_0x23d726(0x52d)])==null?void 0x0:_0x4cf0fb[_0x23d726(0x414)](this['unitID'])),_0x223b95=(_0x295080=_0x36cc1a==null?void 0x0:_0x36cc1a[_0x23d726(0x39a)])!=null?_0x295080:[],_0x24e774=(_0x14fd24=_0x36cc1a==null?void 0x0:_0x36cc1a[_0x23d726(0x3a7)])!=null?_0x14fd24:null,_0x2517f4=!!(_0x24e774!=null&&_0x24e774['sid'])&&!!(_0x24e774!=null&&_0x24e774[_0x23d726(0x20a)]);this[_0x23d726(0x4af)]=_0x2517f4?_0x24e774[_0x23d726(0x2ed)]:p[_0x23d726(0x3e0)](),this[_0x23d726(0x42b)]=_0x2517f4?_0x24e774[_0x23d726(0x20a)]:0x0;const _0x315df4=this[_0x23d726(0x2de)];try{this[_0x23d726(0x3ab)](_0x24e774,_0x223b95);}catch(_0x3f8d29){this[_0x23d726(0x2bb)][_0x23d726(0x29a)](_0x3f8d29);}const _0xd64b3c=this[_0x23d726(0x49b)]();if(_0x219fd7){const _0x3457f5=gt(this['_injector'],_0x315df4,this[_0x23d726(0x4b5)],_0x24e774,_0x223b95,_0xd64b3c);return _0x3457f5 instanceof exports[_0x23d726(0x2e8)]?_0x3457f5[_0x23d726(0x490)]():(_0x3457f5 instanceof exports['AwaitingWithPendingState']||_0x3457f5 instanceof exports[_0x23d726(0x50b)])&&_0x3457f5[_0x23d726(0x44e)](),_0x3457f5;}return this['_injector']['createInstance'](exports[_0x23d726(0x52b)],_0x315df4,this[_0x23d726(0x4b5)],_0x24e774,_0x223b95,_0xd64b3c);}[_0x32d268(0x3ab)](_0xa352a3,_0x211198){var _0x4561eb=_0x32d268,_0x5216b0,_0x50fa2c;const _0x39cf14=this[_0x4561eb(0x48e)]['interceptor']['fetchThroughInterceptors'](this[_0x4561eb(0x48e)][_0x4561eb(0x2ae)][_0x4561eb(0x373)]()[_0x4561eb(0x51a)]);(_0x5216b0=_0x39cf14((_0xa352a3==null?void 0x0:_0xa352a3[_0x4561eb(0x39a)])||[],null))==null||_0x5216b0[_0x4561eb(0x256)](_0xef5905=>this[_0x4561eb(0x37c)][_0x4561eb(0x22e)](_0xef5905['id'],_0xef5905[_0x4561eb(0x4a7)])),(_0x50fa2c=_0x39cf14(_0x211198||[],null))==null||_0x50fa2c[_0x4561eb(0x256)](_0x12412c=>this[_0x4561eb(0x37c)][_0x4561eb(0x22e)](_0x12412c['id'],_0x12412c[_0x4561eb(0x4a7)]));}},exports[_0x32d268(0x4bb)]=Fe([H(0x3,a[_0x32d268(0x2ef)](a['Injector'])),H(0x4,a[_0x32d268(0x2ef)](p[_0x32d268(0x23e)])),H(0x5,a[_0x32d268(0x2ef)](a['LocaleService'])),H(0x6,a[_0x32d268(0x2ef)](p[_0x32d268(0x286)])),H(0x7,a[_0x32d268(0x2ef)](ee)),H(0x8,a[_0x32d268(0x2fd)]),H(0x9,a[_0x32d268(0x519)]),H(0xa,a[_0x32d268(0x43a)]),H(0xb,a['Optional'](de)),H(0xc,a[_0x32d268(0x379)](K))],exports[_0x32d268(0x4bb)]),exports[_0x32d268(0x54b)]=class extends exports[_0x32d268(0x4bb)]{constructor(_0x42d246,_0x407cd5,_0x5ed14d,_0x16735a,_0x4e00bb,_0x4f33ae,_0x133f35,_0x17eaaa,_0x336237,_0x590153,_0x392c91,_0x262377,_0x1cc105){var _0x398d48=_0x32d268;super(_0x42d246,_0x5ed14d,_0x407cd5,_0x16735a,_0x4e00bb,_0x4f33ae,_0x133f35,_0x17eaaa,_0x336237,_0x590153,_0x392c91,_0x262377,_0x1cc105),A(this,_0x398d48(0x336),null),(this[_0x398d48(0x2de)]=_0x42d246,this[_0x398d48(0x459)]=_0x407cd5);}[_0x32d268(0x330)](_0x2a258e){var _0x449d32=_0x32d268;this[_0x449d32(0x336)]=_0x2a258e;}[_0x32d268(0x401)](){var _0x117fb1=_0x32d268;this[_0x117fb1(0x336)]=null,super[_0x117fb1(0x401)]();}[_0x32d268(0x49b)](){var _0x249dcc=_0x32d268;const _0x2058b7=super['_createHandler']();return _0x2058b7[_0x249dcc(0x31c)]=_0x4cffe4=>{var _0x30d76a=_0x249dcc,_0x497ad2,_0x42a30d;return(_0x42a30d=(_0x497ad2=this[_0x30d76a(0x336)])==null?void 0x0:_0x497ad2[_0x30d76a(0x31c)])==null?void 0x0:_0x42a30d['call'](_0x497ad2,_0x4cffe4);},_0x2058b7[_0x249dcc(0x1f0)]=_0x43190c=>{var _0x48b1a5,_0x5c5520;return(_0x5c5520=(_0x48b1a5=this['_handlerCallback'])==null?void 0x0:_0x48b1a5['onTransformState'])==null?void 0x0:_0x5c5520['call'](_0x48b1a5,_0x43190c);},_0x2058b7[_0x249dcc(0x445)]=_0x270119=>{var _0x153336=_0x249dcc,_0x4db248,_0x16872e;return(_0x16872e=(_0x4db248=this[_0x153336(0x336)])==null?void 0x0:_0x4db248[_0x153336(0x445)])==null?void 0x0:_0x16872e[_0x153336(0x500)](_0x4db248,_0x270119);},_0x2058b7[_0x249dcc(0x329)]=_0x1e590a=>{var _0x96347f=_0x249dcc,_0x3314bb,_0x2f4b38;return(_0x2f4b38=(_0x3314bb=this[_0x96347f(0x336)])==null?void 0x0:_0x3314bb[_0x96347f(0x329)])==null?void 0x0:_0x2f4b38['call'](_0x3314bb,_0x1e590a);},_0x2058b7['onTransformRemoteChangesetByIMECache']=_0x40362e=>{var _0x479c19=_0x249dcc,_0x4324be,_0x3bc15b,_0xa8d3a2;if(!((_0x4324be=this['_handlerCallback'])!=null&&_0x4324be['onTransformRemoteChangesetByIMECache']))throw new Error(_0x479c19(0x1ec));return(_0xa8d3a2=(_0x3bc15b=this[_0x479c19(0x336)])==null?void 0x0:_0x3bc15b[_0x479c19(0x42a)])==null?void 0x0:_0xa8d3a2[_0x479c19(0x500)](_0x3bc15b,_0x40362e);},_0x2058b7[_0x249dcc(0x2a4)]=_0x298ba6=>{var _0x2cdb83=_0x249dcc,_0x50bb0c,_0x5a841c,_0xecfa1d;if(!((_0x50bb0c=this[_0x2cdb83(0x336)])!=null&&_0x50bb0c[_0x2cdb83(0x2a4)]))throw new Error(_0x2cdb83(0x538));return(_0xecfa1d=(_0x5a841c=this['_handlerCallback'])==null?void 0x0:_0x5a841c[_0x2cdb83(0x2a4)])==null?void 0x0:_0xecfa1d['call'](_0x5a841c,_0x298ba6);},_0x2058b7;}async[_0x32d268(0x4c1)](){var _0x313542=_0x32d268;const _0x2972ca=await super['_init']();return this[_0x313542(0x305)](this[_0x313542(0x37c)][_0x313542(0x342)]((_0xdf36c2,_0x236039)=>{var _0x130fb5=_0x313542;if(_0xdf36c2[_0x130fb5(0x459)]!==a['CommandType'][_0x130fb5(0x2c5)]||_0x236039!=null&&_0x236039[_0x130fb5(0x299)]||_0x236039!=null&&_0x236039[_0x130fb5(0x4a8)]||_0xdf36c2['id']===ct[_0x130fb5(0x4ec)]['id'])return;const _0x25131a=_0xdf36c2[_0x130fb5(0x4a7)];if((_0x25131a==null?void 0x0:_0x25131a[_0x130fb5(0x2eb)])!==this['unitID'])return;const _0x50e185=_0xdf36c2,_0xe07ddf=this[_0x130fb5(0x48e)][_0x130fb5(0x2ae)][_0x130fb5(0x447)](this[_0x130fb5(0x48e)][_0x130fb5(0x2ae)]['getInterceptPoints']()[_0x130fb5(0x3ca)])([_0x50e185],null)||[_0x50e185];this[_0x130fb5(0x318)](_0xe07ddf[0x0]);})),_0x2972ca;}},exports[_0x32d268(0x54b)]=Fe([H(0x3,a[_0x32d268(0x2ef)](a[_0x32d268(0x4e6)])),H(0x4,a[_0x32d268(0x2ef)](p[_0x32d268(0x23e)])),H(0x5,a['Inject'](a[_0x32d268(0x31e)])),H(0x6,a[_0x32d268(0x2ef)](p[_0x32d268(0x286)])),H(0x7,a[_0x32d268(0x2ef)](ee)),H(0x8,a[_0x32d268(0x2fd)]),H(0x9,a[_0x32d268(0x519)]),H(0xa,a['IPermissionService']),H(0xb,a[_0x32d268(0x379)](de)),H(0xc,a[_0x32d268(0x379)](K))],exports[_0x32d268(0x54b)]),exports[_0x32d268(0x392)]=class extends exports['CollaborationEntity']{constructor(_0x3d808a,_0x5d7604,_0x48c1c1,_0x2e79f2,_0x4a524c,_0x1d204c,_0xafb429,_0x24f6ca,_0x5b6179,_0xb2d8b5,_0x8ed9b9,_0x759b1e,_0xcb56d3,_0x3f02ad){var _0x1254a9=_0x32d268;super(_0x3d808a,_0x48c1c1,_0x5d7604,_0x2e79f2,_0x4a524c,_0x1d204c,_0xafb429,_0x5b6179,_0xb2d8b5,_0x8ed9b9,_0x759b1e,_0xcb56d3,_0x3f02ad),this['unitID']=_0x3d808a,this[_0x1254a9(0x459)]=_0x5d7604,this[_0x1254a9(0x30b)]=_0x24f6ca;}[_0x32d268(0x49b)](){var _0x4d0a7a=_0x32d268;const _0x25b722=super['_createHandler']();return _0x25b722[_0x4d0a7a(0x445)]=_0x538ca7=>this[_0x4d0a7a(0x30b)][_0x4d0a7a(0x431)](_0x538ca7),_0x25b722;}async[_0x32d268(0x4c1)](){var _0xc41f84=_0x32d268;const _0x18b707=await super['_init']();return this[_0xc41f84(0x305)](this['_commandService']['onCommandExecuted']((_0x73caff,_0x379785)=>{var _0xe53a1c=_0xc41f84;if(_0x73caff[_0xe53a1c(0x459)]!==a[_0xe53a1c(0x3a5)][_0xe53a1c(0x2c5)]||_0x379785!=null&&_0x379785[_0xe53a1c(0x299)]||_0x379785!=null&&_0x379785['onlyLocal'])return;const _0xebc7f6=_0x73caff['params'];if((_0xebc7f6==null?void 0x0:_0xebc7f6['unitId'])!==this[_0xe53a1c(0x2de)])return;const _0x4ad4cb=_0x73caff,_0x4bff2e=this[_0xe53a1c(0x48e)][_0xe53a1c(0x2ae)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xe53a1c(0x2ae)][_0xe53a1c(0x373)]()[_0xe53a1c(0x3ca)])([_0x4ad4cb],null)||[_0x4ad4cb];this[_0xe53a1c(0x318)](_0x4bff2e[0x0]);})),_0x18b707;}},exports[_0x32d268(0x392)]=Fe([H(0x3,a['Inject'](a[_0x32d268(0x4e6)])),H(0x4,a[_0x32d268(0x2ef)](p[_0x32d268(0x23e)])),H(0x5,a[_0x32d268(0x2ef)](a['LocaleService'])),H(0x6,a[_0x32d268(0x2ef)](p[_0x32d268(0x286)])),H(0x7,a[_0x32d268(0x2ef)](exports[_0x32d268(0x278)])),H(0x8,a[_0x32d268(0x2ef)](ee)),H(0x9,a[_0x32d268(0x2fd)]),H(0xa,a[_0x32d268(0x519)]),H(0xb,a[_0x32d268(0x43a)]),H(0xc,a[_0x32d268(0x379)](de)),H(0xd,a['Optional'](K))],exports[_0x32d268(0x392)]);var hi=Object[_0x32d268(0x32e)],_i=(_0x36ebe0,_0x19d2d3,_0x246ce3,_0xd7d45)=>{var _0xed8887=_0x32d268;for(var _0x4974fa=_0xd7d45>0x1?void 0x0:_0xd7d45?hi(_0x19d2d3,_0x246ce3):_0x19d2d3,_0x4148a1=_0x36ebe0[_0xed8887(0x25b)]-0x1,_0x371e8c;_0x4148a1>=0x0;_0x4148a1--)(_0x371e8c=_0x36ebe0[_0x4148a1])&&(_0x4974fa=_0x371e8c(_0x4974fa)||_0x4974fa);return _0x4974fa;},Se=(_0x396ee3,_0x53150a)=>(_0x2adbdf,_0x285f14)=>_0x53150a(_0x2adbdf,_0x285f14,_0x396ee3);exports[_0x32d268(0x51d)]=class extends a[_0x32d268(0x3f3)]{constructor(_0x13a368,_0x1e88da,_0x2ae441,_0x4ce372){var _0x5edd1e=_0x32d268,_0x1b64b7;super(),A(this,_0x5edd1e(0x248),new Map()),A(this,'_entityInit$',new j[(_0x5edd1e(0x46f))]()),A(this,_0x5edd1e(0x271),this[_0x5edd1e(0x4ab)][_0x5edd1e(0x236)]()),(this[_0x5edd1e(0x432)]=_0x13a368,this['_collabSessionService']=_0x1e88da,this[_0x5edd1e(0x4bf)]=_0x2ae441,this[_0x5edd1e(0x43d)]=_0x4ce372,((_0x1b64b7=this[_0x5edd1e(0x4bf)][_0x5edd1e(0x1f4)](Y))==null?void 0x0:_0x1b64b7[_0x5edd1e(0x50d)])!==!0x1&&this['_init']());}[_0x32d268(0x401)](){var _0x23a73b=_0x32d268;super['dispose'](),this[_0x23a73b(0x248)][_0x23a73b(0x256)](_0x3fb7f4=>_0x3fb7f4['dispose']()),this[_0x23a73b(0x248)][_0x23a73b(0x3bf)]();}[_0x32d268(0x4e3)](_0x40c100){var _0x1e0946=_0x32d268,_0x79b959;return(_0x79b959=this['_entities'][_0x1e0946(0x349)](_0x40c100))!=null?_0x79b959:null;}[_0x32d268(0x27f)](_0x8c4116){var _0x57207b=_0x32d268;const _0x466ef0=this[_0x57207b(0x4e3)](_0x8c4116);return _0x466ef0?j['of'](_0x466ef0):this[_0x57207b(0x4ab)][_0x57207b(0x554)](V[_0x57207b(0x469)](_0x960205=>_0x960205['unitID']===_0x8c4116));}[_0x32d268(0x4fa)](_0x2d25b5){var _0x19b503=_0x32d268;return j[_0x19b503(0x362)](this['getCollabEntity$'](_0x2d25b5)['pipe'](V[_0x19b503(0x287)](()=>{})));}[_0x32d268(0x4c1)](){var _0x2b2d23=_0x32d268;this['_univerInstanceService'][_0x2b2d23(0x497)](a[_0x2b2d23(0x319)][_0x2b2d23(0x467)])[_0x2b2d23(0x554)](j[_0x2b2d23(0x2f4)](this[_0x2b2d23(0x4ad)]),V[_0x2b2d23(0x28f)](0x10))['subscribe'](async _0x3067a4=>{var _0x1c2867=_0x2b2d23;const _0x12dae0=_0x3067a4[_0x1c2867(0x397)](),_0x38258f=await this[_0x1c2867(0x26d)](_0x12dae0,J[_0x1c2867(0x467)]);this[_0x1c2867(0x248)][_0x1c2867(0x261)](_0x12dae0,_0x38258f);}),this[_0x2b2d23(0x43d)][_0x2b2d23(0x497)](a[_0x2b2d23(0x319)][_0x2b2d23(0x39e)])['pipe'](j[_0x2b2d23(0x2f4)](this['dispose$']),V['delay'](0x10))[_0x2b2d23(0x554)](V[_0x2b2d23(0x469)](_0x41528b=>!_0x41528b[_0x2b2d23(0x397)]()[_0x2b2d23(0x225)]('__')))['subscribe'](async _0x38377b=>{var _0x427a3c=_0x2b2d23;const _0x4b392f=_0x38377b[_0x427a3c(0x397)](),_0x597b29=await this[_0x427a3c(0x26d)](_0x4b392f,J['UNIVER_DOC']);this[_0x427a3c(0x248)][_0x427a3c(0x261)](_0x4b392f,_0x597b29);}),j[_0x2b2d23(0x47a)](this[_0x2b2d23(0x43d)][_0x2b2d23(0x303)](a[_0x2b2d23(0x319)][_0x2b2d23(0x467)]),this[_0x2b2d23(0x43d)]['getTypeOfUnitDisposed$'](a[_0x2b2d23(0x319)][_0x2b2d23(0x39e)]))[_0x2b2d23(0x554)](j['takeUntil'](this[_0x2b2d23(0x4ad)]))[_0x2b2d23(0x377)](_0x370da5=>{var _0x4b00ea=_0x2b2d23;const _0x57f94a=_0x370da5[_0x4b00ea(0x397)](),_0xf00634=this['_entities'][_0x4b00ea(0x349)](_0x57f94a);_0xf00634&&(_0xf00634[_0x4b00ea(0x401)](),this[_0x4b00ea(0x248)][_0x4b00ea(0x543)](_0x57f94a));});}async[_0x32d268(0x26d)](_0x168f08,_0x112529){var _0x3b9803=_0x32d268;const _0x32f869=await this[_0x3b9803(0x3ae)][_0x3b9803(0x463)](_0x168f08),_0x113a5a=this[_0x3b9803(0x432)][_0x3b9803(0x3fb)](this['_getCtorByUniverType'](_0x112529),_0x168f08,_0x112529,_0x32f869);return await _0x113a5a['init'](),this[_0x3b9803(0x4ab)][_0x3b9803(0x3f7)](_0x113a5a),_0x113a5a;}[_0x32d268(0x3a2)](_0x1771ed){var _0xb2fcdc=_0x32d268;switch(_0x1771ed){case J[_0xb2fcdc(0x39e)]:return exports[_0xb2fcdc(0x54b)];case J['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error(_0xb2fcdc(0x44f)+_0x1771ed);}}},exports[_0x32d268(0x51d)]=_i([Se(0x0,a['Inject'](a[_0x32d268(0x4e6)])),Se(0x1,a[_0x32d268(0x2ef)](exports[_0x32d268(0x3cf)])),Se(0x2,a[_0x32d268(0x26b)]),Se(0x3,a[_0x32d268(0x422)])],exports['CollaborationController']);var li=Object['getOwnPropertyDescriptor'],ui=(_0x3eeb6d,_0x48ace5,_0x3d5927,_0x53f20)=>{var _0x4dc070=_0x32d268;for(var _0x376195=_0x53f20>0x1?void 0x0:_0x53f20?li(_0x48ace5,_0x3d5927):_0x48ace5,_0x2eca35=_0x3eeb6d[_0x4dc070(0x25b)]-0x1,_0x5e2dae;_0x2eca35>=0x0;_0x2eca35--)(_0x5e2dae=_0x3eeb6d[_0x2eca35])&&(_0x376195=_0x5e2dae(_0x376195)||_0x376195);return _0x376195;},Ye=(_0x186d75,_0x1ae52f)=>(_0x20e54c,_0x481545)=>_0x1ae52f(_0x20e54c,_0x481545,_0x186d75);const di=_0x32d268(0x234),vi='Univer';let xe=class extends a[_0x32d268(0x483)]{constructor(_0x300747,_0x23d309){var _0x6827b6=_0x32d268;super(),this[_0x6827b6(0x43d)]=_0x300747,this[_0x6827b6(0x4bf)]=_0x23d309,this[_0x6827b6(0x4c1)]();}['_init'](){var _0x59aa4e=_0x32d268;this[_0x59aa4e(0x305)](this[_0x59aa4e(0x43d)][_0x59aa4e(0x3d0)][_0x59aa4e(0x377)](()=>{var _0x1673fb=_0x59aa4e,_0x4500c3;const _0x1d5ffc=this['_univerInstanceService'][_0x1673fb(0x2e4)]();let _0x5dcae9=(_0x4500c3=this[_0x1673fb(0x4bf)][_0x1673fb(0x1f4)](di))!=null?_0x4500c3:vi;_0x1d5ffc instanceof a[_0x1673fb(0x23d)]&&(_0x5dcae9=_0x1d5ffc[_0x1673fb(0x532)]),document[_0x1673fb(0x4ac)]=_0x5dcae9;}));}};xe=ui([Ye(0x0,a[_0x32d268(0x422)]),Ye(0x1,a[_0x32d268(0x26b)])],xe);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x3a1f1f,_0x3ad064,_0x44e69e,_0xe3a300)=>{var _0x152c73=_0x32d268;for(var _0x42c7e8=_0xe3a300>0x1?void 0x0:_0xe3a300?Si(_0x3ad064,_0x44e69e):_0x3ad064,_0x433578=_0x3a1f1f[_0x152c73(0x25b)]-0x1,_0x539a39;_0x433578>=0x0;_0x433578--)(_0x539a39=_0x3a1f1f[_0x433578])&&(_0x42c7e8=_0x539a39(_0x42c7e8)||_0x42c7e8);return _0x42c7e8;},Ae=(_0x3106fc,_0x234997)=>(_0x4c13b8,_0x4673b9)=>_0x234997(_0x4c13b8,_0x4673b9,_0x3106fc);let ye=class{constructor(_0x469ff9,_0xc5fa4f,_0x2e0c3a){var _0xa1cd16=_0x32d268;this[_0xa1cd16(0x4bf)]=_0x469ff9,this['_httpService']=_0xc5fa4f,this[_0xa1cd16(0x3e6)]=_0x2e0c3a,this[_0xa1cd16(0x1ea)]();}[_0x32d268(0x1ea)](){var _0x409e44=_0x32d268;this[_0x409e44(0x410)][_0x409e44(0x47f)]({'priority':0x1,'interceptor':(_0x160254,_0x47c5aa)=>_0x47c5aa(_0x160254)['pipe'](j[_0x409e44(0x2f3)](async _0x323b6d=>{var _0x459579=_0x409e44;const _0xf702ca=_0x323b6d;if(_0xf702ca[_0x459579(0x380)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x459579(0x32d)](this[_0x459579(0x3e6)]['t'](_0x459579(0x35d)))){const _0x16f97f=window[_0x459579(0x551)](window[_0x459579(0x20c)][_0x459579(0x44a)]);window[_0x459579(0x20c)][_0x459579(0x44a)]=this[_0x459579(0x4fd)]()+'?url='+_0x16f97f;}}return _0xf702ca;}))});}['_getLoginPath'](){var _0x390edc=_0x32d268,_0x128a07;const _0x32aa32=this[_0x390edc(0x4bf)][_0x390edc(0x1f4)](Y);return(_0x128a07=_0x32aa32==null?void 0x0:_0x32aa32[_0x390edc(0x52f)])!=null?_0x128a07:$t;}};ye=fi([Ae(0x0,a[_0x32d268(0x26b)]),Ae(0x1,a['Inject'](q[_0x32d268(0x49d)])),Ae(0x2,a['Inject'](a[_0x32d268(0x31e)]))],ye);var Ii=Object[_0x32d268(0x32e)],pi=(_0x1b0fa9,_0x1e1363,_0x5bb0dd,_0xc80eea)=>{var _0x672157=_0x32d268;for(var _0x500ccf=_0xc80eea>0x1?void 0x0:_0xc80eea?Ii(_0x1e1363,_0x5bb0dd):_0x1e1363,_0x380e97=_0x1b0fa9[_0x672157(0x25b)]-0x1,_0x1fd6ca;_0x380e97>=0x0;_0x380e97--)(_0x1fd6ca=_0x1b0fa9[_0x380e97])&&(_0x500ccf=_0x1fd6ca(_0x500ccf)||_0x500ccf);return _0x500ccf;},qe=(_0x5cdda0,_0x5d98a5)=>(_0x4d94b2,_0x10bf33)=>_0x5d98a5(_0x4d94b2,_0x10bf33,_0x5cdda0);const mi=_0x32d268(0x4b1);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x374b8e,_0x528533){var _0x4ad616=_0x32d268;super(),this[_0x4ad616(0x4c9)]=_0x374b8e,this[_0x4ad616(0x4bf)]=_0x528533,this[_0x4ad616(0x224)]();}[_0x32d268(0x224)](){var _0x13d629=_0x32d268;const _0x57851c=this;this[_0x13d629(0x305)](this[_0x13d629(0x4c9)][_0x13d629(0x47f)]({'priority':0x3e7,'interceptor':q[_0x13d629(0x371)]({'isMatch'(_0x32e8a1){var _0x50467a=_0x13d629,_0x1c8a6b;if(_0x32e8a1[_0x50467a(0x4e7)]===_0x50467a(0x202)&&((_0x1c8a6b=_0x32e8a1[_0x50467a(0x296)])!=null&&_0x1c8a6b[_0x50467a(0x407)])){const {objectID:_0xd52ad9,objectType:_0x4d1291}=_0x32e8a1[_0x50467a(0x296)]['body']||{};if(!_0xd52ad9||_0x4d1291===void 0x0)return!0x1;const _0x42c9fd=_0x57851c[_0x50467a(0x4c3)]()+'/'+_0x4d1291+_0x50467a(0x3fd)+_0xd52ad9+_0x50467a(0x24b);if(_0x32e8a1[_0x50467a(0x4f0)]===_0x42c9fd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x31dee7){var _0x4d1ebe=_0x13d629,_0x3fed23;return(_0x3fed23=_0x31dee7[_0x4d1ebe(0x296)])==null?void 0x0:_0x3fed23['body'];},'mergeParamsToRequest'(_0x35bd80,_0x6fa585){var _0x273164=_0x13d629;const _0x287a8b=_0x57851c['_getAPIPrefixPath']()+_0x273164(0x3b0),_0x33ea89=_0x35bd80['reduce']((_0x5c8820,_0x9ff7b5)=>{var _0x74ed81=_0x273164;const {unitID:_0x3a7cb7,objectID:_0x5d8113,objectType:_0x571887,actions:_0x166d2f}=_0x9ff7b5;return _0x5c8820[_0x3a7cb7]||(_0x5c8820[_0x3a7cb7]={}),_0x5c8820[_0x3a7cb7][_0x5d8113]||(_0x5c8820[_0x3a7cb7][_0x5d8113]={'objectID':_0x5d8113,'objectType':_0x571887,'actions':[]}),_0x5c8820[_0x3a7cb7][_0x5d8113][_0x74ed81(0x3ea)][_0x74ed81(0x47b)](..._0x166d2f),_0x5c8820;},{}),_0x4af35c=[];for(const _0x2723c9 in _0x33ea89)for(const _0x1fd315 in _0x33ea89[_0x2723c9]){const {actions:_0x10e980,objectType:_0x33f553}=_0x33ea89[_0x2723c9][_0x1fd315],_0x571f4f=[...new Set(_0x10e980)];_0x4af35c[_0x273164(0x47b)]({'unitID':_0x2723c9,'objectID':_0x1fd315,'objectType':_0x33f553,'actions':_0x571f4f});}return new q[(_0x273164(0x269))](_0x273164(0x202),_0x287a8b,{'headers':_0x6fa585['headers'],'withCredentials':_0x6fa585[_0x273164(0x44d)],'responseType':_0x6fa585[_0x273164(0x533)],'body':{'requests':_0x4af35c}});}},{'distributeResult'(_0x58bcb8,_0xa3dbfa){var _0x593df8=_0x13d629;const {objectActions:_0x19a8cf}=_0x58bcb8;return _0xa3dbfa[_0x593df8(0x287)](_0x2d2a63=>{var _0x21c78d=_0x593df8;const {unitID:_0x3f1db5,objectID:_0x5b1e00,actions:_0x4f72b3}=_0x2d2a63,_0xe08cab=_0x19a8cf['find'](_0x55f64e=>_0x55f64e[_0x21c78d(0x2de)]===_0x3f1db5&&_0x55f64e[_0x21c78d(0x439)]===_0x5b1e00),_0xafb353=_0x4f72b3['map'](_0x5c9b0b=>_0xe08cab==null?void 0x0:_0xe08cab['actions'][_0x21c78d(0x35f)](_0x2aa0ed=>_0x2aa0ed[_0x21c78d(0x464)]===_0x5c9b0b))[_0x21c78d(0x469)](_0x340e1b=>!!_0x340e1b);return{'config':_0x2d2a63,'result':{'actions':_0xafb353,'error':_0x58bcb8[_0x21c78d(0x29a)]}};});}})}));}['_getAPIPrefixPath'](){var _0x27b910=_0x32d268,_0xd5d7d1;const _0x5e775e=this['_configService'][_0x27b910(0x1f4)](Y);return(_0xd5d7d1=_0x5e775e==null?void 0x0:_0x5e775e[_0x27b910(0x291)])!=null?_0xd5d7d1:mi;}async[_0x32d268(0x526)](_0x2f005a){var _0x12291a=_0x32d268;const _0x5e7601=this[_0x12291a(0x4c3)]()+'/'+_0x2f005a[_0x12291a(0x2d9)]+_0x12291a(0x288);return(await this['_HTTPService']['post'](_0x5e7601,{'body':_0x2f005a}))[_0x12291a(0x407)][_0x12291a(0x439)]||'';}async[_0x32d268(0x402)](_0x4fe760){var _0x281b83=_0x32d268;const _0x312846=this[_0x281b83(0x4c3)]()+_0x281b83(0x23b);return(await this[_0x281b83(0x4c9)][_0x281b83(0x4e5)](_0x312846,{'body':_0x4fe760}))[_0x281b83(0x407)]['objects'];}async[_0x32d268(0x3bd)](_0x600961){var _0x3fa614=_0x32d268,_0xcb16c7,_0x513f6a;const _0x1aefc6=this[_0x3fa614(0x4c3)]()+'/'+_0x600961[_0x3fa614(0x2d9)]+'/object/'+_0x600961[_0x3fa614(0x439)],_0x2373da=await this[_0x3fa614(0x4c9)]['put'](_0x1aefc6,{'body':_0x600961});if(((_0x513f6a=(_0xcb16c7=_0x2373da==null?void 0x0:_0x2373da[_0x3fa614(0x407)])==null?void 0x0:_0xcb16c7['error'])==null?void 0x0:_0x513f6a['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x32d268(0x418)](_0x44f0bc){var _0x1f6a8a=_0x32d268;const _0x2822b9=this[_0x1f6a8a(0x4c3)]()+'/'+_0x44f0bc[_0x1f6a8a(0x2d9)]+_0x1f6a8a(0x3fd)+_0x44f0bc['objectID']+'/allowed';return(await this['_HTTPService']['post'](_0x2822b9,{'body':_0x44f0bc}))['body'][_0x1f6a8a(0x3ea)];}async[_0x32d268(0x4de)](_0xf03925){var _0x21f60c=_0x32d268;const _0x3ae429=this[_0x21f60c(0x4c3)]()+_0x21f60c(0x3b0);return(await this[_0x21f60c(0x4c9)]['post'](_0x3ae429,{'body':{'requests':_0xf03925}}))[_0x21f60c(0x407)]['objectActions'];}async[_0x32d268(0x394)](_0x1b318d){var _0x263690=_0x32d268;const _0x56caea=this[_0x263690(0x4c3)]()+'/'+_0x1b318d[_0x263690(0x2d9)]+'/role',_0x2adb40=await this[_0x263690(0x4c9)]['post'](_0x56caea,{'body':_0x1b318d});return{'roles':_0x2adb40[_0x263690(0x407)][_0x263690(0x2b2)],'actions':_0x2adb40['body'][_0x263690(0x3ea)]};}async[_0x32d268(0x516)](_0x910a9d){var _0x10acea=_0x32d268;const _0x1cf738=this[_0x10acea(0x4c3)]()+_0x10acea(0x28a);await this['_HTTPService'][_0x10acea(0x543)](_0x1cf738,{'params':{'collaboratorID':_0x910a9d[_0x10acea(0x508)],'objectID':_0x910a9d[_0x10acea(0x439)],'unitID':_0x910a9d[_0x10acea(0x2de)]}});}async['updateCollaborator'](_0x3ddfee){var _0x2920f2=_0x32d268;const _0x41ad53=this[_0x2920f2(0x4c3)]()+_0x2920f2(0x28a);await this[_0x2920f2(0x4c9)][_0x2920f2(0x4a3)](_0x41ad53,{'body':_0x3ddfee});}async[_0x32d268(0x40b)](_0x47ddb5){var _0x3c47c2=_0x32d268;const _0x1edd0d=this[_0x3c47c2(0x4c3)]()+'/collaborator';await this[_0x3c47c2(0x4c9)][_0x3c47c2(0x4e5)](_0x1edd0d,{'body':_0x47ddb5});}async[_0x32d268(0x3ad)](_0x201620){var _0x1f9610=_0x32d268;const _0x5ab1d6=this[_0x1f9610(0x4c3)]()+_0x1f9610(0x28a);return(await this[_0x1f9610(0x4c9)]['get'](_0x5ab1d6,{'params':{'objectID':_0x201620[_0x1f9610(0x439)],'unitID':_0x201620[_0x1f9610(0x2de)]}}))[_0x1f9610(0x407)][_0x1f9610(0x45b)];}async['putCollaborators'](_0x4dc9fe){var _0x1c8ddc=_0x32d268;const _0x37fe9e=this[_0x1c8ddc(0x4c3)]()+_0x1c8ddc(0x28a);await this[_0x1c8ddc(0x4c9)][_0x1c8ddc(0x518)](_0x37fe9e,{'body':_0x4dc9fe});}},exports[_0x32d268(0x3f1)]=pi([qe(0x0,a[_0x32d268(0x2ef)](q[_0x32d268(0x49d)])),qe(0x1,a['Inject'](a[_0x32d268(0x26b)]))],exports[_0x32d268(0x3f1)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x93eb3a){var _0x15fb2b=_0x32d268;return _0x93eb3a&&_0x93eb3a[_0x15fb2b(0x3e3)]&&Object['prototype']['hasOwnProperty'][_0x15fb2b(0x500)](_0x93eb3a,'default')?_0x93eb3a[_0x15fb2b(0x2b6)]:_0x93eb3a;}var fe={'exports':{}};function gi(_0x5c83d3){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5c83d3+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},Ei=Ie['exports'],Ke;function Q(){var _0x48b0cf=_0x32d268;return Ke||(Ke=0x1,function(_0x331b67,_0x2dc7cf){(function(_0x3f51fe,_0x594d79){_0x331b67['exports']=_0x594d79();}(Ei,function(){var _0x2cf4f0=_0x2cf4f0||function(_0x56bad6,_0x410d8f){var _0x95890d=_0x10a7,_0x1fef63;if(typeof window<'u'&&window[_0x95890d(0x557)]&&(_0x1fef63=window['crypto']),typeof self<'u'&&self[_0x95890d(0x557)]&&(_0x1fef63=self[_0x95890d(0x557)]),typeof globalThis<'u'&&globalThis[_0x95890d(0x557)]&&(_0x1fef63=globalThis[_0x95890d(0x557)]),!_0x1fef63&&typeof window<'u'&&window[_0x95890d(0x241)]&&(_0x1fef63=window[_0x95890d(0x241)]),!_0x1fef63&&typeof Pe<'u'&&Pe[_0x95890d(0x557)]&&(_0x1fef63=Pe['crypto']),!_0x1fef63&&typeof gi==_0x95890d(0x4a1))try{_0x1fef63=require('crypto');}catch{}var _0x4dbb00=function(){var _0x20e997=_0x95890d;if(_0x1fef63){if(typeof _0x1fef63[_0x20e997(0x3d3)]==_0x20e997(0x4a1))try{return _0x1fef63[_0x20e997(0x3d3)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fef63[_0x20e997(0x2ec)]==_0x20e997(0x4a1))try{return _0x1fef63[_0x20e997(0x2ec)](0x4)[_0x20e997(0x21c)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xc95e97=Object[_0x95890d(0x526)]||(function(){function _0x153e5e(){}return function(_0x5d2039){var _0x3dbd35=_0x10a7,_0x452aa0;return _0x153e5e['prototype']=_0x5d2039,_0x452aa0=new _0x153e5e(),_0x153e5e[_0x3dbd35(0x3c2)]=null,_0x452aa0;};}()),_0x3ae5e3={},_0x3a375d=_0x3ae5e3['lib']={},_0x534d7e=_0x3a375d[_0x95890d(0x4f2)]=(function(){return{'extend':function(_0x2c89ea){var _0x271ff7=_0x10a7,_0x217a9c=_0xc95e97(this);return _0x2c89ea&&_0x217a9c[_0x271ff7(0x3ba)](_0x2c89ea),(!_0x217a9c[_0x271ff7(0x38c)](_0x271ff7(0x1ea))||this['init']===_0x217a9c['init'])&&(_0x217a9c[_0x271ff7(0x1ea)]=function(){var _0x2505d3=_0x271ff7;_0x217a9c['$super'][_0x2505d3(0x1ea)][_0x2505d3(0x30f)](this,arguments);}),_0x217a9c[_0x271ff7(0x1ea)][_0x271ff7(0x3c2)]=_0x217a9c,_0x217a9c[_0x271ff7(0x482)]=this,_0x217a9c;},'create':function(){var _0xfab316=_0x10a7,_0x43b1d1=this[_0xfab316(0x383)]();return _0x43b1d1[_0xfab316(0x1ea)][_0xfab316(0x30f)](_0x43b1d1,arguments),_0x43b1d1;},'init':function(){},'mixIn':function(_0x16fc43){var _0x319b67=_0x10a7;for(var _0x58799d in _0x16fc43)_0x16fc43[_0x319b67(0x38c)](_0x58799d)&&(this[_0x58799d]=_0x16fc43[_0x58799d]);_0x16fc43[_0x319b67(0x38c)](_0x319b67(0x411))&&(this[_0x319b67(0x411)]=_0x16fc43[_0x319b67(0x411)]);},'clone':function(){var _0x5d44d8=_0x10a7;return this[_0x5d44d8(0x1ea)][_0x5d44d8(0x3c2)][_0x5d44d8(0x383)](this);}};}()),_0x812ded=_0x3a375d[_0x95890d(0x399)]=_0x534d7e[_0x95890d(0x383)]({'init':function(_0x3e4142,_0x5766de){var _0x234787=_0x95890d;_0x3e4142=this[_0x234787(0x2a8)]=_0x3e4142||[],_0x5766de!=_0x410d8f?this[_0x234787(0x47d)]=_0x5766de:this[_0x234787(0x47d)]=_0x3e4142[_0x234787(0x25b)]*0x4;},'toString':function(_0x494504){var _0xda23e8=_0x95890d;return(_0x494504||_0x1483c7)[_0xda23e8(0x27d)](this);},'concat':function(_0x3a4033){var _0x1b2aa2=_0x95890d,_0x348cf2=this['words'],_0x1cf877=_0x3a4033[_0x1b2aa2(0x2a8)],_0x405c69=this[_0x1b2aa2(0x47d)],_0x428a41=_0x3a4033[_0x1b2aa2(0x47d)];if(this[_0x1b2aa2(0x301)](),_0x405c69%0x4)for(var _0x559b62=0x0;_0x559b62<_0x428a41;_0x559b62++){var _0x1f3ca4=_0x1cf877[_0x559b62>>>0x2]>>>0x18-_0x559b62%0x4*0x8&0xff;_0x348cf2[_0x405c69+_0x559b62>>>0x2]|=_0x1f3ca4<<0x18-(_0x405c69+_0x559b62)%0x4*0x8;}else{for(var _0x3eb046=0x0;_0x3eb046<_0x428a41;_0x3eb046+=0x4)_0x348cf2[_0x405c69+_0x3eb046>>>0x2]=_0x1cf877[_0x3eb046>>>0x2];}return this[_0x1b2aa2(0x47d)]+=_0x428a41,this;},'clamp':function(){var _0x340b74=_0x95890d,_0x2ccc18=this[_0x340b74(0x2a8)],_0x55f9b2=this['sigBytes'];_0x2ccc18[_0x55f9b2>>>0x2]&=0xffffffff<<0x20-_0x55f9b2%0x4*0x8,_0x2ccc18[_0x340b74(0x25b)]=_0x56bad6['ceil'](_0x55f9b2/0x4);},'clone':function(){var _0x375cca=_0x95890d,_0x74d4d1=_0x534d7e['clone'][_0x375cca(0x500)](this);return _0x74d4d1['words']=this[_0x375cca(0x2a8)]['slice'](0x0),_0x74d4d1;},'random':function(_0x3b93ef){var _0x5628b8=_0x95890d;for(var _0x2731a7=[],_0x5ebb56=0x0;_0x5ebb56<_0x3b93ef;_0x5ebb56+=0x4)_0x2731a7[_0x5628b8(0x47b)](_0x4dbb00());return new _0x812ded[(_0x5628b8(0x1ea))](_0x2731a7,_0x3b93ef);}}),_0x3d861f=_0x3ae5e3['enc']={},_0x1483c7=_0x3d861f[_0x95890d(0x527)]={'stringify':function(_0x3384b5){var _0x3dfda0=_0x95890d;for(var _0x46ad3d=_0x3384b5[_0x3dfda0(0x2a8)],_0x1fb07a=_0x3384b5['sigBytes'],_0x3076b3=[],_0x50666a=0x0;_0x50666a<_0x1fb07a;_0x50666a++){var _0x5c452b=_0x46ad3d[_0x50666a>>>0x2]>>>0x18-_0x50666a%0x4*0x8&0xff;_0x3076b3[_0x3dfda0(0x47b)]((_0x5c452b>>>0x4)[_0x3dfda0(0x411)](0x10)),_0x3076b3['push']((_0x5c452b&0xf)[_0x3dfda0(0x411)](0x10));}return _0x3076b3[_0x3dfda0(0x2fe)]('');},'parse':function(_0x2197de){var _0x341c01=_0x95890d;for(var _0x248725=_0x2197de[_0x341c01(0x25b)],_0x281878=[],_0x5a1c1c=0x0;_0x5a1c1c<_0x248725;_0x5a1c1c+=0x2)_0x281878[_0x5a1c1c>>>0x3]|=parseInt(_0x2197de[_0x341c01(0x4fb)](_0x5a1c1c,0x2),0x10)<<0x18-_0x5a1c1c%0x8*0x4;return new _0x812ded[(_0x341c01(0x1ea))](_0x281878,_0x248725/0x2);}},_0x171818=_0x3d861f['Latin1']={'stringify':function(_0x12db47){var _0xe07fa3=_0x95890d;for(var _0x516783=_0x12db47[_0xe07fa3(0x2a8)],_0x2b2047=_0x12db47[_0xe07fa3(0x47d)],_0x35c6dd=[],_0x501a21=0x0;_0x501a21<_0x2b2047;_0x501a21++){var _0x31c30c=_0x516783[_0x501a21>>>0x2]>>>0x18-_0x501a21%0x4*0x8&0xff;_0x35c6dd[_0xe07fa3(0x47b)](String[_0xe07fa3(0x3c6)](_0x31c30c));}return _0x35c6dd[_0xe07fa3(0x2fe)]('');},'parse':function(_0x47cead){var _0x59c1a1=_0x95890d;for(var _0x268f7f=_0x47cead['length'],_0x5ab80a=[],_0x32cd33=0x0;_0x32cd33<_0x268f7f;_0x32cd33++)_0x5ab80a[_0x32cd33>>>0x2]|=(_0x47cead['charCodeAt'](_0x32cd33)&0xff)<<0x18-_0x32cd33%0x4*0x8;return new _0x812ded[(_0x59c1a1(0x1ea))](_0x5ab80a,_0x268f7f);}},_0x2803ea=_0x3d861f[_0x95890d(0x52a)]={'stringify':function(_0x58d0c0){var _0x4b8871=_0x95890d;try{return decodeURIComponent(escape(_0x171818['stringify'](_0x58d0c0)));}catch{throw new Error(_0x4b8871(0x25e));}},'parse':function(_0x2b41c1){var _0x2b01a1=_0x95890d;return _0x171818[_0x2b01a1(0x29d)](unescape(encodeURIComponent(_0x2b41c1)));}},_0x59b61d=_0x3a375d[_0x95890d(0x4b7)]=_0x534d7e['extend']({'reset':function(){var _0x729029=_0x95890d;this[_0x729029(0x218)]=new _0x812ded[(_0x729029(0x1ea))](),this[_0x729029(0x4e9)]=0x0;},'_append':function(_0x52360e){var _0x184fb5=_0x95890d;typeof _0x52360e==_0x184fb5(0x4e4)&&(_0x52360e=_0x2803ea[_0x184fb5(0x29d)](_0x52360e)),this[_0x184fb5(0x218)]['concat'](_0x52360e),this[_0x184fb5(0x4e9)]+=_0x52360e['sigBytes'];},'_process':function(_0x15886d){var _0x4e6751=_0x95890d,_0x12c556,_0x17c26b=this[_0x4e6751(0x218)],_0x207f18=_0x17c26b[_0x4e6751(0x2a8)],_0x5c9df3=_0x17c26b[_0x4e6751(0x47d)],_0x35a595=this['blockSize'],_0x4392a5=_0x35a595*0x4,_0x352af4=_0x5c9df3/_0x4392a5;_0x15886d?_0x352af4=_0x56bad6[_0x4e6751(0x475)](_0x352af4):_0x352af4=_0x56bad6[_0x4e6751(0x3ce)]((_0x352af4|0x0)-this[_0x4e6751(0x53a)],0x0);var _0x38c1fc=_0x352af4*_0x35a595,_0x4d1488=_0x56bad6['min'](_0x38c1fc*0x4,_0x5c9df3);if(_0x38c1fc){for(var _0x121acd=0x0;_0x121acd<_0x38c1fc;_0x121acd+=_0x35a595)this[_0x4e6751(0x423)](_0x207f18,_0x121acd);_0x12c556=_0x207f18[_0x4e6751(0x50e)](0x0,_0x38c1fc),_0x17c26b[_0x4e6751(0x47d)]-=_0x4d1488;}return new _0x812ded[(_0x4e6751(0x1ea))](_0x12c556,_0x4d1488);},'clone':function(){var _0x319242=_0x95890d,_0x15a06=_0x534d7e[_0x319242(0x440)]['call'](this);return _0x15a06[_0x319242(0x218)]=this[_0x319242(0x218)][_0x319242(0x440)](),_0x15a06;},'_minBufferSize':0x0});_0x3a375d['Hasher']=_0x59b61d[_0x95890d(0x383)]({'cfg':_0x534d7e['extend'](),'init':function(_0x2cc6c8){var _0x3aab45=_0x95890d;this[_0x3aab45(0x3fa)]=this[_0x3aab45(0x3fa)][_0x3aab45(0x383)](_0x2cc6c8),this[_0x3aab45(0x20f)]();},'reset':function(){var _0x70fda8=_0x95890d;_0x59b61d[_0x70fda8(0x20f)][_0x70fda8(0x500)](this),this[_0x70fda8(0x43c)]();},'update':function(_0x460df1){var _0x4f5996=_0x95890d;return this[_0x4f5996(0x451)](_0x460df1),this[_0x4f5996(0x485)](),this;},'finalize':function(_0x46d5ac){var _0x551f7c=_0x95890d;_0x46d5ac&&this['_append'](_0x46d5ac);var _0x1d4128=this[_0x551f7c(0x4e0)]();return _0x1d4128;},'blockSize':0x10,'_createHelper':function(_0x50fcd8){return function(_0x363c1b,_0x19bfa0){var _0x376dee=_0x10a7;return new _0x50fcd8[(_0x376dee(0x1ea))](_0x19bfa0)[_0x376dee(0x548)](_0x363c1b);};},'_createHmacHelper':function(_0x335195){return function(_0x4bd4b7,_0x4ada0d){var _0x4bedf3=_0x10a7;return new _0x10c0cb[(_0x4bedf3(0x2b4))][(_0x4bedf3(0x1ea))](_0x335195,_0x4ada0d)[_0x4bedf3(0x548)](_0x4bd4b7);};}});var _0x10c0cb=_0x3ae5e3['algo']={};return _0x3ae5e3;}(Math);return _0x2cf4f0;}));}(Ie)),Ie[_0x48b0cf(0x4e2)];}var pe={'exports':{}},Ci=pe[_0x32d268(0x4e2)],ze;function Et(){return ze||(ze=0x1,function(_0x4ea1bc,_0xfb5f8b){(function(_0x95ffd9,_0x3d763e){var _0x1b987a=_0x10a7;_0x4ea1bc[_0x1b987a(0x4e2)]=_0x3d763e(Q());}(Ci,function(_0x404319){var _0x365476=_0x10a7;return(function(){var _0x36746d=_0x10a7,_0x568f96=_0x404319,_0x2daad7=_0x568f96[_0x36746d(0x38d)],_0x225fb1=_0x2daad7[_0x36746d(0x399)],_0x5a4934=_0x568f96[_0x36746d(0x283)];_0x5a4934['Base64']={'stringify':function(_0x46fa6a){var _0x41c908=_0x36746d,_0x19e6c8=_0x46fa6a['words'],_0x50fa04=_0x46fa6a[_0x41c908(0x47d)],_0x5b245d=this['_map'];_0x46fa6a[_0x41c908(0x301)]();for(var _0x5e35dc=[],_0xf105a=0x0;_0xf105a<_0x50fa04;_0xf105a+=0x3)for(var _0x4733b0=_0x19e6c8[_0xf105a>>>0x2]>>>0x18-_0xf105a%0x4*0x8&0xff,_0x2788d1=_0x19e6c8[_0xf105a+0x1>>>0x2]>>>0x18-(_0xf105a+0x1)%0x4*0x8&0xff,_0x8911f8=_0x19e6c8[_0xf105a+0x2>>>0x2]>>>0x18-(_0xf105a+0x2)%0x4*0x8&0xff,_0x1b7fb0=_0x4733b0<<0x10|_0x2788d1<<0x8|_0x8911f8,_0x166862=0x0;_0x166862<0x4&&_0xf105a+_0x166862*0.75<_0x50fa04;_0x166862++)_0x5e35dc['push'](_0x5b245d[_0x41c908(0x3b6)](_0x1b7fb0>>>0x6*(0x3-_0x166862)&0x3f));var _0x56d247=_0x5b245d[_0x41c908(0x3b6)](0x40);if(_0x56d247){for(;_0x5e35dc['length']%0x4;)_0x5e35dc[_0x41c908(0x47b)](_0x56d247);}return _0x5e35dc['join']('');},'parse':function(_0x4376ea){var _0x3b1aa5=_0x36746d,_0x31bec6=_0x4376ea[_0x3b1aa5(0x25b)],_0x4117d0=this[_0x3b1aa5(0x227)],_0x89e90b=this[_0x3b1aa5(0x514)];if(!_0x89e90b){_0x89e90b=this['_reverseMap']=[];for(var _0x4f5f81=0x0;_0x4f5f81<_0x4117d0[_0x3b1aa5(0x25b)];_0x4f5f81++)_0x89e90b[_0x4117d0[_0x3b1aa5(0x214)](_0x4f5f81)]=_0x4f5f81;}var _0x324627=_0x4117d0[_0x3b1aa5(0x3b6)](0x40);if(_0x324627){var _0x318aa2=_0x4376ea[_0x3b1aa5(0x2d2)](_0x324627);_0x318aa2!==-0x1&&(_0x31bec6=_0x318aa2);}return _0xb85d34(_0x4376ea,_0x31bec6,_0x89e90b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xb85d34(_0x55ae08,_0x445e9e,_0x22017a){var _0x381343=_0x36746d;for(var _0x9962c4=[],_0x58ddb9=0x0,_0x13ec3a=0x0;_0x13ec3a<_0x445e9e;_0x13ec3a++)if(_0x13ec3a%0x4){var _0x461922=_0x22017a[_0x55ae08[_0x381343(0x214)](_0x13ec3a-0x1)]<<_0x13ec3a%0x4*0x2,_0x3f132e=_0x22017a[_0x55ae08[_0x381343(0x214)](_0x13ec3a)]>>>0x6-_0x13ec3a%0x4*0x2,_0x382ffc=_0x461922|_0x3f132e;_0x9962c4[_0x58ddb9>>>0x2]|=_0x382ffc<<0x18-_0x58ddb9%0x4*0x8,_0x58ddb9++;}return _0x225fb1[_0x381343(0x526)](_0x9962c4,_0x58ddb9);}}()),_0x404319[_0x365476(0x283)][_0x365476(0x24a)];}));}(pe)),pe['exports'];}var me={'exports':{}},Ti=me[_0x32d268(0x4e2)],Je;function bi(){return Je||(Je=0x1,function(_0xdcbdf4,_0x4d8ae8){(function(_0x16086c,_0x3ce965){var _0x39f178=_0x10a7;_0xdcbdf4[_0x39f178(0x4e2)]=_0x3ce965(Q());}(Ti,function(_0x3e6a2d){var _0x1ff531=_0x10a7;return function(_0x23a686){var _0x396278=_0x10a7,_0x64747e=_0x3e6a2d,_0x147f62=_0x64747e[_0x396278(0x38d)],_0x65cfe8=_0x147f62['WordArray'],_0x77ee34=_0x147f62['Hasher'],_0x102031=_0x64747e[_0x396278(0x2ba)],_0x57b278=[];(function(){var _0x374974=_0x396278;for(var _0x210845=0x0;_0x210845<0x40;_0x210845++)_0x57b278[_0x210845]=_0x23a686[_0x374974(0x334)](_0x23a686[_0x374974(0x3ac)](_0x210845+0x1))*0x100000000|0x0;}());var _0x2fa8f5=_0x102031['MD5']=_0x77ee34[_0x396278(0x383)]({'_doReset':function(){var _0x2df266=_0x396278;this[_0x2df266(0x2f1)]=new _0x65cfe8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x363540,_0x4868d3){var _0x4abfa1=_0x396278;for(var _0x271b79=0x0;_0x271b79<0x10;_0x271b79++){var _0x522345=_0x4868d3+_0x271b79,_0x45ae6e=_0x363540[_0x522345];_0x363540[_0x522345]=(_0x45ae6e<<0x8|_0x45ae6e>>>0x18)&0xff00ff|(_0x45ae6e<<0x18|_0x45ae6e>>>0x8)&0xff00ff00;}var _0x50b178=this[_0x4abfa1(0x2f1)][_0x4abfa1(0x2a8)],_0xef3322=_0x363540[_0x4868d3+0x0],_0x2e8d5f=_0x363540[_0x4868d3+0x1],_0x42915e=_0x363540[_0x4868d3+0x2],_0x137887=_0x363540[_0x4868d3+0x3],_0xaef576=_0x363540[_0x4868d3+0x4],_0x1ad8e9=_0x363540[_0x4868d3+0x5],_0x5dd9cf=_0x363540[_0x4868d3+0x6],_0x3d19a6=_0x363540[_0x4868d3+0x7],_0x35a732=_0x363540[_0x4868d3+0x8],_0x54ddf3=_0x363540[_0x4868d3+0x9],_0x573f5b=_0x363540[_0x4868d3+0xa],_0x3cfc0e=_0x363540[_0x4868d3+0xb],_0x1862a1=_0x363540[_0x4868d3+0xc],_0x3ee951=_0x363540[_0x4868d3+0xd],_0x2498f=_0x363540[_0x4868d3+0xe],_0x8bf559=_0x363540[_0x4868d3+0xf],_0xa01ca=_0x50b178[0x0],_0xceae1a=_0x50b178[0x1],_0x2578c2=_0x50b178[0x2],_0x5442d7=_0x50b178[0x3];_0xa01ca=_0x4d1947(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0xef3322,0x7,_0x57b278[0x0]),_0x5442d7=_0x4d1947(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x2e8d5f,0xc,_0x57b278[0x1]),_0x2578c2=_0x4d1947(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x42915e,0x11,_0x57b278[0x2]),_0xceae1a=_0x4d1947(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x137887,0x16,_0x57b278[0x3]),_0xa01ca=_0x4d1947(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0xaef576,0x7,_0x57b278[0x4]),_0x5442d7=_0x4d1947(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x1ad8e9,0xc,_0x57b278[0x5]),_0x2578c2=_0x4d1947(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x5dd9cf,0x11,_0x57b278[0x6]),_0xceae1a=_0x4d1947(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x3d19a6,0x16,_0x57b278[0x7]),_0xa01ca=_0x4d1947(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x35a732,0x7,_0x57b278[0x8]),_0x5442d7=_0x4d1947(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x54ddf3,0xc,_0x57b278[0x9]),_0x2578c2=_0x4d1947(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x573f5b,0x11,_0x57b278[0xa]),_0xceae1a=_0x4d1947(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x3cfc0e,0x16,_0x57b278[0xb]),_0xa01ca=_0x4d1947(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x1862a1,0x7,_0x57b278[0xc]),_0x5442d7=_0x4d1947(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x3ee951,0xc,_0x57b278[0xd]),_0x2578c2=_0x4d1947(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x2498f,0x11,_0x57b278[0xe]),_0xceae1a=_0x4d1947(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x8bf559,0x16,_0x57b278[0xf]),_0xa01ca=_0x28268a(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x2e8d5f,0x5,_0x57b278[0x10]),_0x5442d7=_0x28268a(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x5dd9cf,0x9,_0x57b278[0x11]),_0x2578c2=_0x28268a(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x3cfc0e,0xe,_0x57b278[0x12]),_0xceae1a=_0x28268a(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0xef3322,0x14,_0x57b278[0x13]),_0xa01ca=_0x28268a(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x1ad8e9,0x5,_0x57b278[0x14]),_0x5442d7=_0x28268a(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x573f5b,0x9,_0x57b278[0x15]),_0x2578c2=_0x28268a(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x8bf559,0xe,_0x57b278[0x16]),_0xceae1a=_0x28268a(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0xaef576,0x14,_0x57b278[0x17]),_0xa01ca=_0x28268a(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x54ddf3,0x5,_0x57b278[0x18]),_0x5442d7=_0x28268a(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x2498f,0x9,_0x57b278[0x19]),_0x2578c2=_0x28268a(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x137887,0xe,_0x57b278[0x1a]),_0xceae1a=_0x28268a(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x35a732,0x14,_0x57b278[0x1b]),_0xa01ca=_0x28268a(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x3ee951,0x5,_0x57b278[0x1c]),_0x5442d7=_0x28268a(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x42915e,0x9,_0x57b278[0x1d]),_0x2578c2=_0x28268a(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x3d19a6,0xe,_0x57b278[0x1e]),_0xceae1a=_0x28268a(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x1862a1,0x14,_0x57b278[0x1f]),_0xa01ca=_0x31277b(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x1ad8e9,0x4,_0x57b278[0x20]),_0x5442d7=_0x31277b(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x35a732,0xb,_0x57b278[0x21]),_0x2578c2=_0x31277b(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x3cfc0e,0x10,_0x57b278[0x22]),_0xceae1a=_0x31277b(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x2498f,0x17,_0x57b278[0x23]),_0xa01ca=_0x31277b(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x2e8d5f,0x4,_0x57b278[0x24]),_0x5442d7=_0x31277b(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0xaef576,0xb,_0x57b278[0x25]),_0x2578c2=_0x31277b(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x3d19a6,0x10,_0x57b278[0x26]),_0xceae1a=_0x31277b(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x573f5b,0x17,_0x57b278[0x27]),_0xa01ca=_0x31277b(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x3ee951,0x4,_0x57b278[0x28]),_0x5442d7=_0x31277b(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0xef3322,0xb,_0x57b278[0x29]),_0x2578c2=_0x31277b(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x137887,0x10,_0x57b278[0x2a]),_0xceae1a=_0x31277b(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x5dd9cf,0x17,_0x57b278[0x2b]),_0xa01ca=_0x31277b(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x54ddf3,0x4,_0x57b278[0x2c]),_0x5442d7=_0x31277b(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x1862a1,0xb,_0x57b278[0x2d]),_0x2578c2=_0x31277b(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x8bf559,0x10,_0x57b278[0x2e]),_0xceae1a=_0x31277b(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x42915e,0x17,_0x57b278[0x2f]),_0xa01ca=_0x6025e(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0xef3322,0x6,_0x57b278[0x30]),_0x5442d7=_0x6025e(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x3d19a6,0xa,_0x57b278[0x31]),_0x2578c2=_0x6025e(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x2498f,0xf,_0x57b278[0x32]),_0xceae1a=_0x6025e(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x1ad8e9,0x15,_0x57b278[0x33]),_0xa01ca=_0x6025e(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x1862a1,0x6,_0x57b278[0x34]),_0x5442d7=_0x6025e(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x137887,0xa,_0x57b278[0x35]),_0x2578c2=_0x6025e(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x573f5b,0xf,_0x57b278[0x36]),_0xceae1a=_0x6025e(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x2e8d5f,0x15,_0x57b278[0x37]),_0xa01ca=_0x6025e(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0x35a732,0x6,_0x57b278[0x38]),_0x5442d7=_0x6025e(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x8bf559,0xa,_0x57b278[0x39]),_0x2578c2=_0x6025e(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x5dd9cf,0xf,_0x57b278[0x3a]),_0xceae1a=_0x6025e(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x3ee951,0x15,_0x57b278[0x3b]),_0xa01ca=_0x6025e(_0xa01ca,_0xceae1a,_0x2578c2,_0x5442d7,_0xaef576,0x6,_0x57b278[0x3c]),_0x5442d7=_0x6025e(_0x5442d7,_0xa01ca,_0xceae1a,_0x2578c2,_0x3cfc0e,0xa,_0x57b278[0x3d]),_0x2578c2=_0x6025e(_0x2578c2,_0x5442d7,_0xa01ca,_0xceae1a,_0x42915e,0xf,_0x57b278[0x3e]),_0xceae1a=_0x6025e(_0xceae1a,_0x2578c2,_0x5442d7,_0xa01ca,_0x54ddf3,0x15,_0x57b278[0x3f]),_0x50b178[0x0]=_0x50b178[0x0]+_0xa01ca|0x0,_0x50b178[0x1]=_0x50b178[0x1]+_0xceae1a|0x0,_0x50b178[0x2]=_0x50b178[0x2]+_0x2578c2|0x0,_0x50b178[0x3]=_0x50b178[0x3]+_0x5442d7|0x0;},'_doFinalize':function(){var _0x2fbb4f=_0x396278,_0x2ed8e3=this[_0x2fbb4f(0x218)],_0x1e9184=_0x2ed8e3[_0x2fbb4f(0x2a8)],_0x203c8c=this[_0x2fbb4f(0x4e9)]*0x8,_0x1f5d98=_0x2ed8e3['sigBytes']*0x8;_0x1e9184[_0x1f5d98>>>0x5]|=0x80<<0x18-_0x1f5d98%0x20;var _0x3df317=_0x23a686[_0x2fbb4f(0x52c)](_0x203c8c/0x100000000),_0x10d9ea=_0x203c8c;_0x1e9184[(_0x1f5d98+0x40>>>0x9<<0x4)+0xf]=(_0x3df317<<0x8|_0x3df317>>>0x18)&0xff00ff|(_0x3df317<<0x18|_0x3df317>>>0x8)&0xff00ff00,_0x1e9184[(_0x1f5d98+0x40>>>0x9<<0x4)+0xe]=(_0x10d9ea<<0x8|_0x10d9ea>>>0x18)&0xff00ff|(_0x10d9ea<<0x18|_0x10d9ea>>>0x8)&0xff00ff00,_0x2ed8e3[_0x2fbb4f(0x47d)]=(_0x1e9184[_0x2fbb4f(0x25b)]+0x1)*0x4,this['_process']();for(var _0x40f897=this[_0x2fbb4f(0x2f1)],_0x290f7e=_0x40f897[_0x2fbb4f(0x2a8)],_0x4145b4=0x0;_0x4145b4<0x4;_0x4145b4++){var _0x338124=_0x290f7e[_0x4145b4];_0x290f7e[_0x4145b4]=(_0x338124<<0x8|_0x338124>>>0x18)&0xff00ff|(_0x338124<<0x18|_0x338124>>>0x8)&0xff00ff00;}return _0x40f897;},'clone':function(){var _0x2057e2=_0x396278,_0x1abd75=_0x77ee34[_0x2057e2(0x440)]['call'](this);return _0x1abd75[_0x2057e2(0x2f1)]=this[_0x2057e2(0x2f1)]['clone'](),_0x1abd75;}});function _0x4d1947(_0x384c76,_0x3e00fe,_0x2c112d,_0x5c6094,_0x35a188,_0x3c639a,_0x2a13e2){var _0x5ad9ab=_0x384c76+(_0x3e00fe&_0x2c112d|~_0x3e00fe&_0x5c6094)+_0x35a188+_0x2a13e2;return(_0x5ad9ab<<_0x3c639a|_0x5ad9ab>>>0x20-_0x3c639a)+_0x3e00fe;}function _0x28268a(_0x5dc9c4,_0x1511ff,_0x3c44cc,_0x250a41,_0x2a29ae,_0xe7e54f,_0x383f27){var _0x32c2aa=_0x5dc9c4+(_0x1511ff&_0x250a41|_0x3c44cc&~_0x250a41)+_0x2a29ae+_0x383f27;return(_0x32c2aa<<_0xe7e54f|_0x32c2aa>>>0x20-_0xe7e54f)+_0x1511ff;}function _0x31277b(_0x4d71ab,_0x2ff607,_0xc36c65,_0xab2ab0,_0x746019,_0x36954f,_0x53da04){var _0x497b64=_0x4d71ab+(_0x2ff607^_0xc36c65^_0xab2ab0)+_0x746019+_0x53da04;return(_0x497b64<<_0x36954f|_0x497b64>>>0x20-_0x36954f)+_0x2ff607;}function _0x6025e(_0x1f43cc,_0x19c9cd,_0x53fc18,_0x33c10f,_0x130bb0,_0x221391,_0x4027da){var _0x3022c6=_0x1f43cc+(_0x53fc18^(_0x19c9cd|~_0x33c10f))+_0x130bb0+_0x4027da;return(_0x3022c6<<_0x221391|_0x3022c6>>>0x20-_0x221391)+_0x19c9cd;}_0x64747e[_0x396278(0x2a6)]=_0x77ee34[_0x396278(0x486)](_0x2fa8f5),_0x64747e[_0x396278(0x32c)]=_0x77ee34['_createHmacHelper'](_0x2fa8f5);}(Math),_0x3e6a2d[_0x1ff531(0x2a6)];}));}(me)),me['exports'];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee['exports'],Xe;function Ri(){var _0x3d939a=_0x32d268;return Xe||(Xe=0x1,function(_0x3e2c2e,_0x4b91d0){(function(_0x528781,_0x1cd648){_0x3e2c2e['exports']=_0x1cd648(Q());}(Oi,function(_0x4b84c4){var _0x170f9d=_0x10a7;return(function(){var _0x51bf62=_0x10a7,_0x46439d=_0x4b84c4,_0x3b37ae=_0x46439d[_0x51bf62(0x38d)],_0x9c3651=_0x3b37ae['WordArray'],_0x32c7d4=_0x3b37ae[_0x51bf62(0x3c1)],_0x192b13=_0x46439d[_0x51bf62(0x2ba)],_0x47087d=[],_0x1049c8=_0x192b13[_0x51bf62(0x3a3)]=_0x32c7d4[_0x51bf62(0x383)]({'_doReset':function(){var _0x2f7d14=_0x51bf62;this[_0x2f7d14(0x2f1)]=new _0x9c3651['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5b36a2,_0xfe06ce){var _0x5e3c8d=_0x51bf62;for(var _0x4d23de=this[_0x5e3c8d(0x2f1)][_0x5e3c8d(0x2a8)],_0x4a6411=_0x4d23de[0x0],_0x407cf9=_0x4d23de[0x1],_0x16685e=_0x4d23de[0x2],_0x9e1706=_0x4d23de[0x3],_0x5af47c=_0x4d23de[0x4],_0x500824=0x0;_0x500824<0x50;_0x500824++){if(_0x500824<0x10)_0x47087d[_0x500824]=_0x5b36a2[_0xfe06ce+_0x500824]|0x0;else{var _0x539387=_0x47087d[_0x500824-0x3]^_0x47087d[_0x500824-0x8]^_0x47087d[_0x500824-0xe]^_0x47087d[_0x500824-0x10];_0x47087d[_0x500824]=_0x539387<<0x1|_0x539387>>>0x1f;}var _0x18ea0f=(_0x4a6411<<0x5|_0x4a6411>>>0x1b)+_0x5af47c+_0x47087d[_0x500824];_0x500824<0x14?_0x18ea0f+=(_0x407cf9&_0x16685e|~_0x407cf9&_0x9e1706)+0x5a827999:_0x500824<0x28?_0x18ea0f+=(_0x407cf9^_0x16685e^_0x9e1706)+0x6ed9eba1:_0x500824<0x3c?_0x18ea0f+=(_0x407cf9&_0x16685e|_0x407cf9&_0x9e1706|_0x16685e&_0x9e1706)-0x70e44324:_0x18ea0f+=(_0x407cf9^_0x16685e^_0x9e1706)-0x359d3e2a,_0x5af47c=_0x9e1706,_0x9e1706=_0x16685e,_0x16685e=_0x407cf9<<0x1e|_0x407cf9>>>0x2,_0x407cf9=_0x4a6411,_0x4a6411=_0x18ea0f;}_0x4d23de[0x0]=_0x4d23de[0x0]+_0x4a6411|0x0,_0x4d23de[0x1]=_0x4d23de[0x1]+_0x407cf9|0x0,_0x4d23de[0x2]=_0x4d23de[0x2]+_0x16685e|0x0,_0x4d23de[0x3]=_0x4d23de[0x3]+_0x9e1706|0x0,_0x4d23de[0x4]=_0x4d23de[0x4]+_0x5af47c|0x0;},'_doFinalize':function(){var _0x304b53=_0x51bf62,_0x317de9=this[_0x304b53(0x218)],_0x594884=_0x317de9['words'],_0x4af288=this[_0x304b53(0x4e9)]*0x8,_0x544483=_0x317de9['sigBytes']*0x8;return _0x594884[_0x544483>>>0x5]|=0x80<<0x18-_0x544483%0x20,_0x594884[(_0x544483+0x40>>>0x9<<0x4)+0xe]=Math[_0x304b53(0x52c)](_0x4af288/0x100000000),_0x594884[(_0x544483+0x40>>>0x9<<0x4)+0xf]=_0x4af288,_0x317de9[_0x304b53(0x47d)]=_0x594884[_0x304b53(0x25b)]*0x4,this[_0x304b53(0x485)](),this['_hash'];},'clone':function(){var _0x4224c4=_0x51bf62,_0x47b0b8=_0x32c7d4[_0x4224c4(0x440)][_0x4224c4(0x500)](this);return _0x47b0b8[_0x4224c4(0x2f1)]=this[_0x4224c4(0x2f1)][_0x4224c4(0x440)](),_0x47b0b8;}});_0x46439d[_0x51bf62(0x3a3)]=_0x32c7d4[_0x51bf62(0x486)](_0x1049c8),_0x46439d[_0x51bf62(0x4d6)]=_0x32c7d4[_0x51bf62(0x45a)](_0x1049c8);}()),_0x4b84c4[_0x170f9d(0x3a3)];}));}(Ee)),Ee[_0x3d939a(0x4e2)];}var Ce={'exports':{}},yi=Ce[_0x32d268(0x4e2)],Ze;function Ni(){var _0x35b63a=_0x32d268;return Ze||(Ze=0x1,function(_0x172db0,_0x397ba3){(function(_0x1afbdc,_0xb7bb28){var _0x100138=_0x10a7;_0x172db0[_0x100138(0x4e2)]=_0xb7bb28(Q());}(yi,function(_0x53bec1){(function(){var _0x136de8=_0x10a7,_0x354895=_0x53bec1,_0x4e3dab=_0x354895[_0x136de8(0x38d)],_0x530474=_0x4e3dab['Base'],_0x3569e1=_0x354895[_0x136de8(0x283)],_0x509457=_0x3569e1[_0x136de8(0x52a)],_0x510903=_0x354895[_0x136de8(0x2ba)];_0x510903[_0x136de8(0x2b4)]=_0x530474[_0x136de8(0x383)]({'init':function(_0x58702f,_0x5865d5){var _0x333c6d=_0x136de8;_0x58702f=this[_0x333c6d(0x436)]=new _0x58702f[(_0x333c6d(0x1ea))](),typeof _0x5865d5==_0x333c6d(0x4e4)&&(_0x5865d5=_0x509457['parse'](_0x5865d5));var _0x89a38f=_0x58702f[_0x333c6d(0x522)],_0x1d89f5=_0x89a38f*0x4;_0x5865d5['sigBytes']>_0x1d89f5&&(_0x5865d5=_0x58702f[_0x333c6d(0x548)](_0x5865d5)),_0x5865d5['clamp']();for(var _0x543383=this['_oKey']=_0x5865d5[_0x333c6d(0x440)](),_0x331765=this[_0x333c6d(0x511)]=_0x5865d5[_0x333c6d(0x440)](),_0x498880=_0x543383[_0x333c6d(0x2a8)],_0x43ce47=_0x331765[_0x333c6d(0x2a8)],_0x2b6787=0x0;_0x2b6787<_0x89a38f;_0x2b6787++)_0x498880[_0x2b6787]^=0x5c5c5c5c,_0x43ce47[_0x2b6787]^=0x36363636;_0x543383[_0x333c6d(0x47d)]=_0x331765['sigBytes']=_0x1d89f5,this[_0x333c6d(0x20f)]();},'reset':function(){var _0x4109d0=_0x136de8,_0x224dd0=this[_0x4109d0(0x436)];_0x224dd0[_0x4109d0(0x20f)](),_0x224dd0['update'](this[_0x4109d0(0x511)]);},'update':function(_0x30f2d5){var _0x2fc343=_0x136de8;return this[_0x2fc343(0x436)][_0x2fc343(0x3bd)](_0x30f2d5),this;},'finalize':function(_0x511dfe){var _0x51346d=_0x136de8,_0x573a6e=this[_0x51346d(0x436)],_0x19bf7d=_0x573a6e[_0x51346d(0x548)](_0x511dfe);_0x573a6e['reset']();var _0x35607a=_0x573a6e[_0x51346d(0x548)](this[_0x51346d(0x289)][_0x51346d(0x440)]()[_0x51346d(0x26f)](_0x19bf7d));return _0x35607a;}});}());}));}(Ce)),Ce[_0x35b63a(0x4e2)];}var Di=ge['exports'],Qe;function Ct(){var _0x3dedda=_0x32d268;return Qe||(Qe=0x1,function(_0x1ce909,_0x33ff6a){(function(_0x38bc09,_0x541e52,_0x255610){var _0x4ea3b9=_0x10a7;_0x1ce909[_0x4ea3b9(0x4e2)]=_0x541e52(Q(),Ri(),Ni());}(Di,function(_0x37766d){return(function(){var _0x2ed3c7=_0x10a7,_0x2ea3c0=_0x37766d,_0x50be37=_0x2ea3c0[_0x2ed3c7(0x38d)],_0xa765ea=_0x50be37['Base'],_0x51e9fc=_0x50be37[_0x2ed3c7(0x399)],_0x28a100=_0x2ea3c0[_0x2ed3c7(0x2ba)],_0x234d8a=_0x28a100[_0x2ed3c7(0x2a6)],_0x3fed0f=_0x28a100[_0x2ed3c7(0x293)]=_0xa765ea[_0x2ed3c7(0x383)]({'cfg':_0xa765ea[_0x2ed3c7(0x383)]({'keySize':0x80/0x20,'hasher':_0x234d8a,'iterations':0x1}),'init':function(_0x558855){var _0x1eb69c=_0x2ed3c7;this[_0x1eb69c(0x3fa)]=this[_0x1eb69c(0x3fa)][_0x1eb69c(0x383)](_0x558855);},'compute':function(_0x2e9c5c,_0xe07369){var _0x309d8a=_0x2ed3c7;for(var _0x563c06,_0x3972cd=this[_0x309d8a(0x3fa)],_0x5a2a58=_0x3972cd[_0x309d8a(0x4d3)][_0x309d8a(0x526)](),_0x596c13=_0x51e9fc['create'](),_0x449436=_0x596c13[_0x309d8a(0x2a8)],_0x4ff198=_0x3972cd[_0x309d8a(0x351)],_0x2c9258=_0x3972cd[_0x309d8a(0x454)];_0x449436[_0x309d8a(0x25b)]<_0x4ff198;){_0x563c06&&_0x5a2a58['update'](_0x563c06),_0x563c06=_0x5a2a58['update'](_0x2e9c5c)[_0x309d8a(0x548)](_0xe07369),_0x5a2a58[_0x309d8a(0x20f)]();for(var _0xfb1975=0x1;_0xfb1975<_0x2c9258;_0xfb1975++)_0x563c06=_0x5a2a58[_0x309d8a(0x548)](_0x563c06),_0x5a2a58[_0x309d8a(0x20f)]();_0x596c13[_0x309d8a(0x26f)](_0x563c06);}return _0x596c13[_0x309d8a(0x47d)]=_0x4ff198*0x4,_0x596c13;}});_0x2ea3c0[_0x2ed3c7(0x293)]=function(_0x483147,_0x2e8529,_0x4f7cdb){var _0x4a9f04=_0x2ed3c7;return _0x3fed0f[_0x4a9f04(0x526)](_0x4f7cdb)['compute'](_0x483147,_0x2e8529);};}()),_0x37766d['EvpKDF'];}));}(ge)),ge[_0x3dedda(0x4e2)];}var Te={'exports':{}},Ui=Te['exports'],et;function Tt(){var _0x18f24d=_0x32d268;return et||(et=0x1,function(_0x3b77a0,_0x648a38){(function(_0x415c0d,_0x15573a,_0xcd0561){var _0x3aa09e=_0x10a7;_0x3b77a0[_0x3aa09e(0x4e2)]=_0x15573a(Q(),Ct());}(Ui,function(_0x3fa8a6){_0x3fa8a6['lib']['Cipher']||function(_0x28de02){var _0x51e85e=_0x10a7,_0x461907=_0x3fa8a6,_0xa0cdd7=_0x461907[_0x51e85e(0x38d)],_0x8c9468=_0xa0cdd7[_0x51e85e(0x4f2)],_0x593822=_0xa0cdd7[_0x51e85e(0x399)],_0x4f0c48=_0xa0cdd7[_0x51e85e(0x4b7)],_0x2b418d=_0x461907[_0x51e85e(0x283)];_0x2b418d[_0x51e85e(0x52a)];var _0x32f6ac=_0x2b418d[_0x51e85e(0x24a)],_0x3e8e38=_0x461907[_0x51e85e(0x2ba)],_0x4d42df=_0x3e8e38['EvpKDF'],_0x18a907=_0xa0cdd7['Cipher']=_0x4f0c48[_0x51e85e(0x383)]({'cfg':_0x8c9468[_0x51e85e(0x383)](),'createEncryptor':function(_0x248079,_0x4f5ac5){var _0x270505=_0x51e85e;return this['create'](this[_0x270505(0x2e2)],_0x248079,_0x4f5ac5);},'createDecryptor':function(_0x2a2245,_0x37aad3){var _0x17ee42=_0x51e85e;return this[_0x17ee42(0x526)](this[_0x17ee42(0x426)],_0x2a2245,_0x37aad3);},'init':function(_0x54197c,_0x5a87e2,_0xc5d026){var _0x520cf3=_0x51e85e;this[_0x520cf3(0x3fa)]=this[_0x520cf3(0x3fa)][_0x520cf3(0x383)](_0xc5d026),this[_0x520cf3(0x506)]=_0x54197c,this[_0x520cf3(0x4b0)]=_0x5a87e2,this[_0x520cf3(0x20f)]();},'reset':function(){var _0x2f31f8=_0x51e85e;_0x4f0c48[_0x2f31f8(0x20f)]['call'](this),this[_0x2f31f8(0x43c)]();},'process':function(_0xad10a0){var _0x25d04a=_0x51e85e;return this[_0x25d04a(0x451)](_0xad10a0),this[_0x25d04a(0x485)]();},'finalize':function(_0x4c0e87){var _0x4f9141=_0x51e85e;_0x4c0e87&&this[_0x4f9141(0x451)](_0x4c0e87);var _0x2218be=this[_0x4f9141(0x4e0)]();return _0x2218be;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x13e2e2(_0x41c9d){var _0x4f99d7=_0x10a7;return typeof _0x41c9d==_0x4f99d7(0x4e4)?_0x2d70e1:_0x9348cb;}return function(_0x1d0f2c){return{'encrypt':function(_0x19adf4,_0x1f0106,_0x3d4f49){var _0xad35de=_0x10a7;return _0x13e2e2(_0x1f0106)[_0xad35de(0x239)](_0x1d0f2c,_0x19adf4,_0x1f0106,_0x3d4f49);},'decrypt':function(_0x19904f,_0x4d8205,_0x103bfb){var _0x4fce4f=_0x10a7;return _0x13e2e2(_0x4d8205)[_0x4fce4f(0x2bc)](_0x1d0f2c,_0x19904f,_0x4d8205,_0x103bfb);}};};}())});_0xa0cdd7['StreamCipher']=_0x18a907[_0x51e85e(0x383)]({'_doFinalize':function(){var _0x2657d8=_0x51e85e,_0x18f877=this[_0x2657d8(0x485)](!0x0);return _0x18f877;},'blockSize':0x1});var _0x4fdc93=_0x461907[_0x51e85e(0x441)]={},_0x53e8f6=_0xa0cdd7[_0x51e85e(0x4dd)]=_0x8c9468[_0x51e85e(0x383)]({'createEncryptor':function(_0x4d5466,_0x1060f4){var _0x45155a=_0x51e85e;return this[_0x45155a(0x2e7)][_0x45155a(0x526)](_0x4d5466,_0x1060f4);},'createDecryptor':function(_0x3a51a3,_0x538c21){var _0x2e2125=_0x51e85e;return this[_0x2e2125(0x2b7)]['create'](_0x3a51a3,_0x538c21);},'init':function(_0x43693a,_0x46d483){var _0x3ddcff=_0x51e85e;this['_cipher']=_0x43693a,this[_0x3ddcff(0x3b8)]=_0x46d483;}}),_0x3b5f0d=_0x4fdc93['CBC']=(function(){var _0x218494=_0x51e85e,_0x17b667=_0x53e8f6['extend']();_0x17b667['Encryptor']=_0x17b667['extend']({'processBlock':function(_0x56d401,_0x3ecb59){var _0x13cd9b=_0x10a7,_0x4fee64=this['_cipher'],_0x1430c1=_0x4fee64[_0x13cd9b(0x522)];_0x3e1624[_0x13cd9b(0x500)](this,_0x56d401,_0x3ecb59,_0x1430c1),_0x4fee64[_0x13cd9b(0x540)](_0x56d401,_0x3ecb59),this[_0x13cd9b(0x328)]=_0x56d401[_0x13cd9b(0x292)](_0x3ecb59,_0x3ecb59+_0x1430c1);}}),_0x17b667[_0x218494(0x2b7)]=_0x17b667[_0x218494(0x383)]({'processBlock':function(_0x14cbd4,_0xb25d37){var _0x22dce8=_0x218494,_0x3b6e5c=this['_cipher'],_0x310978=_0x3b6e5c[_0x22dce8(0x522)],_0x1a1488=_0x14cbd4[_0x22dce8(0x292)](_0xb25d37,_0xb25d37+_0x310978);_0x3b6e5c[_0x22dce8(0x396)](_0x14cbd4,_0xb25d37),_0x3e1624[_0x22dce8(0x500)](this,_0x14cbd4,_0xb25d37,_0x310978),this[_0x22dce8(0x328)]=_0x1a1488;}});function _0x3e1624(_0x101e69,_0x2128f0,_0x19cca2){var _0x659515=_0x218494,_0x4b5176,_0x3f7897=this['_iv'];_0x3f7897?(_0x4b5176=_0x3f7897,this[_0x659515(0x3b8)]=_0x28de02):_0x4b5176=this[_0x659515(0x328)];for(var _0x48be30=0x0;_0x48be30<_0x19cca2;_0x48be30++)_0x101e69[_0x2128f0+_0x48be30]^=_0x4b5176[_0x48be30];}return _0x17b667;}()),_0x12cb34=_0x461907[_0x51e85e(0x304)]={},_0x2d6bc4=_0x12cb34[_0x51e85e(0x34c)]={'pad':function(_0x318b33,_0x41953b){var _0x444121=_0x51e85e;for(var _0x5e4e52=_0x41953b*0x4,_0x4f66a5=_0x5e4e52-_0x318b33['sigBytes']%_0x5e4e52,_0x2f91df=_0x4f66a5<<0x18|_0x4f66a5<<0x10|_0x4f66a5<<0x8|_0x4f66a5,_0x59d543=[],_0x1eae22=0x0;_0x1eae22<_0x4f66a5;_0x1eae22+=0x4)_0x59d543[_0x444121(0x47b)](_0x2f91df);var _0x1fe1de=_0x593822['create'](_0x59d543,_0x4f66a5);_0x318b33[_0x444121(0x26f)](_0x1fe1de);},'unpad':function(_0x576876){var _0x60171f=_0x51e85e,_0x1dc2ea=_0x576876['words'][_0x576876[_0x60171f(0x47d)]-0x1>>>0x2]&0xff;_0x576876[_0x60171f(0x47d)]-=_0x1dc2ea;}};_0xa0cdd7['BlockCipher']=_0x18a907[_0x51e85e(0x383)]({'cfg':_0x18a907[_0x51e85e(0x3fa)][_0x51e85e(0x383)]({'mode':_0x3b5f0d,'padding':_0x2d6bc4}),'reset':function(){var _0x2af17d=_0x51e85e,_0x1dba02;_0x18a907['reset'][_0x2af17d(0x500)](this);var _0x139bb7=this[_0x2af17d(0x3fa)],_0x51571c=_0x139bb7['iv'],_0x5379e5=_0x139bb7[_0x2af17d(0x441)];this[_0x2af17d(0x506)]==this['_ENC_XFORM_MODE']?_0x1dba02=_0x5379e5[_0x2af17d(0x558)]:(_0x1dba02=_0x5379e5['createDecryptor'],this[_0x2af17d(0x53a)]=0x1),this[_0x2af17d(0x2b9)]&&this['_mode'][_0x2af17d(0x2d0)]==_0x1dba02?this['_mode'][_0x2af17d(0x1ea)](this,_0x51571c&&_0x51571c[_0x2af17d(0x2a8)]):(this[_0x2af17d(0x2b9)]=_0x1dba02[_0x2af17d(0x500)](_0x5379e5,this,_0x51571c&&_0x51571c['words']),this[_0x2af17d(0x2b9)][_0x2af17d(0x2d0)]=_0x1dba02);},'_doProcessBlock':function(_0x33631c,_0x2deb9b){var _0x5cbcb3=_0x51e85e;this[_0x5cbcb3(0x2b9)]['processBlock'](_0x33631c,_0x2deb9b);},'_doFinalize':function(){var _0x39d93d=_0x51e85e,_0xbde46c,_0x15fe4e=this['cfg'][_0x39d93d(0x270)];return this[_0x39d93d(0x506)]==this[_0x39d93d(0x2e2)]?(_0x15fe4e[_0x39d93d(0x304)](this[_0x39d93d(0x218)],this[_0x39d93d(0x522)]),_0xbde46c=this[_0x39d93d(0x485)](!0x0)):(_0xbde46c=this['_process'](!0x0),_0x15fe4e[_0x39d93d(0x48c)](_0xbde46c)),_0xbde46c;},'blockSize':0x80/0x20});var _0x264458=_0xa0cdd7['CipherParams']=_0x8c9468[_0x51e85e(0x383)]({'init':function(_0x19ac98){var _0x108cb0=_0x51e85e;this[_0x108cb0(0x3ba)](_0x19ac98);},'toString':function(_0x1389cf){var _0x2fcf03=_0x51e85e;return(_0x1389cf||this[_0x2fcf03(0x446)])[_0x2fcf03(0x27d)](this);}}),_0x6e8fe8=_0x461907['format']={},_0x1247c6=_0x6e8fe8[_0x51e85e(0x46a)]={'stringify':function(_0x279d1d){var _0x3213c5=_0x51e85e,_0x3ba255,_0x1d66b9=_0x279d1d[_0x3213c5(0x449)],_0x11bcc5=_0x279d1d[_0x3213c5(0x492)];return _0x11bcc5?_0x3ba255=_0x593822[_0x3213c5(0x526)]([0x53616c74,0x65645f5f])['concat'](_0x11bcc5)['concat'](_0x1d66b9):_0x3ba255=_0x1d66b9,_0x3ba255[_0x3213c5(0x411)](_0x32f6ac);},'parse':function(_0x1aedfe){var _0x1330e8=_0x51e85e,_0x2f22e1,_0x245d87=_0x32f6ac[_0x1330e8(0x29d)](_0x1aedfe),_0x1e8389=_0x245d87[_0x1330e8(0x2a8)];return _0x1e8389[0x0]==0x53616c74&&_0x1e8389[0x1]==0x65645f5f&&(_0x2f22e1=_0x593822['create'](_0x1e8389['slice'](0x2,0x4)),_0x1e8389['splice'](0x0,0x4),_0x245d87[_0x1330e8(0x47d)]-=0x10),_0x264458[_0x1330e8(0x526)]({'ciphertext':_0x245d87,'salt':_0x2f22e1});}},_0x9348cb=_0xa0cdd7[_0x51e85e(0x3f2)]=_0x8c9468[_0x51e85e(0x383)]({'cfg':_0x8c9468[_0x51e85e(0x383)]({'format':_0x1247c6}),'encrypt':function(_0x40bf04,_0x136c88,_0x4f82dd,_0x56e6f0){var _0x2eacfd=_0x51e85e;_0x56e6f0=this[_0x2eacfd(0x3fa)][_0x2eacfd(0x383)](_0x56e6f0);var _0x399d0b=_0x40bf04[_0x2eacfd(0x558)](_0x4f82dd,_0x56e6f0),_0x5e6ed8=_0x399d0b['finalize'](_0x136c88),_0x3ffd81=_0x399d0b[_0x2eacfd(0x3fa)];return _0x264458[_0x2eacfd(0x526)]({'ciphertext':_0x5e6ed8,'key':_0x4f82dd,'iv':_0x3ffd81['iv'],'algorithm':_0x40bf04,'mode':_0x3ffd81[_0x2eacfd(0x441)],'padding':_0x3ffd81['padding'],'blockSize':_0x40bf04[_0x2eacfd(0x522)],'formatter':_0x56e6f0[_0x2eacfd(0x4f8)]});},'decrypt':function(_0x3adccc,_0x1c04e6,_0x32a079,_0x2b33f5){var _0x297b94=_0x51e85e;_0x2b33f5=this[_0x297b94(0x3fa)][_0x297b94(0x383)](_0x2b33f5),_0x1c04e6=this[_0x297b94(0x31d)](_0x1c04e6,_0x2b33f5[_0x297b94(0x4f8)]);var _0x377fb0=_0x3adccc['createDecryptor'](_0x32a079,_0x2b33f5)[_0x297b94(0x548)](_0x1c04e6[_0x297b94(0x449)]);return _0x377fb0;},'_parse':function(_0x1fedb6,_0x56ca78){var _0x145e6b=_0x51e85e;return typeof _0x1fedb6==_0x145e6b(0x4e4)?_0x56ca78['parse'](_0x1fedb6,this):_0x1fedb6;}}),_0x10af6e=_0x461907['kdf']={},_0x5700df=_0x10af6e[_0x51e85e(0x46a)]={'execute':function(_0x42678b,_0x46bdf2,_0x18aa23,_0x1ea11a,_0x4351ed){var _0x211e45=_0x51e85e;if(_0x1ea11a||(_0x1ea11a=_0x593822['random'](0x40/0x8)),_0x4351ed)var _0x2f750e=_0x4d42df[_0x211e45(0x526)]({'keySize':_0x46bdf2+_0x18aa23,'hasher':_0x4351ed})['compute'](_0x42678b,_0x1ea11a);else var _0x2f750e=_0x4d42df[_0x211e45(0x526)]({'keySize':_0x46bdf2+_0x18aa23})[_0x211e45(0x32a)](_0x42678b,_0x1ea11a);var _0x262e8b=_0x593822[_0x211e45(0x526)](_0x2f750e['words'][_0x211e45(0x292)](_0x46bdf2),_0x18aa23*0x4);return _0x2f750e[_0x211e45(0x47d)]=_0x46bdf2*0x4,_0x264458[_0x211e45(0x526)]({'key':_0x2f750e,'iv':_0x262e8b,'salt':_0x1ea11a});}},_0x2d70e1=_0xa0cdd7[_0x51e85e(0x3cb)]=_0x9348cb[_0x51e85e(0x383)]({'cfg':_0x9348cb['cfg'][_0x51e85e(0x383)]({'kdf':_0x5700df}),'encrypt':function(_0x437f55,_0x5dcca1,_0x3dda46,_0x1e6349){var _0x4e55cf=_0x51e85e;_0x1e6349=this[_0x4e55cf(0x3fa)]['extend'](_0x1e6349);var _0x38bfa6=_0x1e6349[_0x4e55cf(0x478)][_0x4e55cf(0x3d6)](_0x3dda46,_0x437f55['keySize'],_0x437f55['ivSize'],_0x1e6349[_0x4e55cf(0x492)],_0x1e6349[_0x4e55cf(0x4d3)]);_0x1e6349['iv']=_0x38bfa6['iv'];var _0xeb9e09=_0x9348cb[_0x4e55cf(0x239)][_0x4e55cf(0x500)](this,_0x437f55,_0x5dcca1,_0x38bfa6[_0x4e55cf(0x263)],_0x1e6349);return _0xeb9e09['mixIn'](_0x38bfa6),_0xeb9e09;},'decrypt':function(_0x1b03c8,_0x4901c7,_0x4a61f0,_0x470a3b){var _0x13287a=_0x51e85e;_0x470a3b=this[_0x13287a(0x3fa)][_0x13287a(0x383)](_0x470a3b),_0x4901c7=this[_0x13287a(0x31d)](_0x4901c7,_0x470a3b['format']);var _0x6a6e12=_0x470a3b[_0x13287a(0x478)][_0x13287a(0x3d6)](_0x4a61f0,_0x1b03c8[_0x13287a(0x351)],_0x1b03c8[_0x13287a(0x2fc)],_0x4901c7['salt'],_0x470a3b[_0x13287a(0x4d3)]);_0x470a3b['iv']=_0x6a6e12['iv'];var _0x9ea571=_0x9348cb['decrypt']['call'](this,_0x1b03c8,_0x4901c7,_0x6a6e12[_0x13287a(0x263)],_0x470a3b);return _0x9ea571;}});}();}));}(Te)),Te[_0x18f24d(0x4e2)];}var Ai=fe[_0x32d268(0x4e2)],tt;function Pi(){var _0x466619=_0x32d268;return tt||(tt=0x1,function(_0x40d0d7,_0x1f32b9){(function(_0x529541,_0x599c4b,_0x1f3776){var _0x5ddadf=_0x10a7;_0x40d0d7[_0x5ddadf(0x4e2)]=_0x599c4b(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x164d8b){var _0x48f649=_0x10a7;return(function(){var _0x404e88=_0x10a7,_0x56f69b=_0x164d8b,_0x215246=_0x56f69b['lib'],_0x2726ce=_0x215246[_0x404e88(0x419)],_0x2bce64=_0x56f69b['algo'],_0x23f58e=[],_0x2d56c2=[],_0x4ae3bc=[],_0x27eee7=[],_0x1e002e=[],_0xb7d292=[],_0x49bdc7=[],_0x1e72f3=[],_0x35a65a=[],_0x19ea2f=[];(function(){for(var _0x2f7d4a=[],_0x220b58=0x0;_0x220b58<0x100;_0x220b58++)_0x220b58<0x80?_0x2f7d4a[_0x220b58]=_0x220b58<<0x1:_0x2f7d4a[_0x220b58]=_0x220b58<<0x1^0x11b;for(var _0xc29174=0x0,_0x119d53=0x0,_0x220b58=0x0;_0x220b58<0x100;_0x220b58++){var _0x2f5ffd=_0x119d53^_0x119d53<<0x1^_0x119d53<<0x2^_0x119d53<<0x3^_0x119d53<<0x4;_0x2f5ffd=_0x2f5ffd>>>0x8^_0x2f5ffd&0xff^0x63,_0x23f58e[_0xc29174]=_0x2f5ffd,_0x2d56c2[_0x2f5ffd]=_0xc29174;var _0x4f23bb=_0x2f7d4a[_0xc29174],_0x50f969=_0x2f7d4a[_0x4f23bb],_0x1faa2e=_0x2f7d4a[_0x50f969],_0x2cfc77=_0x2f7d4a[_0x2f5ffd]*0x101^_0x2f5ffd*0x1010100;_0x4ae3bc[_0xc29174]=_0x2cfc77<<0x18|_0x2cfc77>>>0x8,_0x27eee7[_0xc29174]=_0x2cfc77<<0x10|_0x2cfc77>>>0x10,_0x1e002e[_0xc29174]=_0x2cfc77<<0x8|_0x2cfc77>>>0x18,_0xb7d292[_0xc29174]=_0x2cfc77;var _0x2cfc77=_0x1faa2e*0x1010101^_0x50f969*0x10001^_0x4f23bb*0x101^_0xc29174*0x1010100;_0x49bdc7[_0x2f5ffd]=_0x2cfc77<<0x18|_0x2cfc77>>>0x8,_0x1e72f3[_0x2f5ffd]=_0x2cfc77<<0x10|_0x2cfc77>>>0x10,_0x35a65a[_0x2f5ffd]=_0x2cfc77<<0x8|_0x2cfc77>>>0x18,_0x19ea2f[_0x2f5ffd]=_0x2cfc77,_0xc29174?(_0xc29174=_0x4f23bb^_0x2f7d4a[_0x2f7d4a[_0x2f7d4a[_0x1faa2e^_0x4f23bb]]],_0x119d53^=_0x2f7d4a[_0x2f7d4a[_0x119d53]]):_0xc29174=_0x119d53=0x1;}}());var _0x4ec862=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x28c02a=_0x2bce64[_0x404e88(0x39c)]=_0x2726ce[_0x404e88(0x383)]({'_doReset':function(){var _0x1e8ec4=_0x404e88,_0x3cc54d;if(!(this['_nRounds']&&this[_0x1e8ec4(0x44c)]===this[_0x1e8ec4(0x4b0)])){for(var _0x43fba0=this[_0x1e8ec4(0x44c)]=this['_key'],_0x5a078c=_0x43fba0['words'],_0x2de66f=_0x43fba0[_0x1e8ec4(0x47d)]/0x4,_0x1fdfa0=this[_0x1e8ec4(0x1e7)]=_0x2de66f+0x6,_0xc3e69c=(_0x1fdfa0+0x1)*0x4,_0x2ef5fd=this['_keySchedule']=[],_0x52caf1=0x0;_0x52caf1<_0xc3e69c;_0x52caf1++)_0x52caf1<_0x2de66f?_0x2ef5fd[_0x52caf1]=_0x5a078c[_0x52caf1]:(_0x3cc54d=_0x2ef5fd[_0x52caf1-0x1],_0x52caf1%_0x2de66f?_0x2de66f>0x6&&_0x52caf1%_0x2de66f==0x4&&(_0x3cc54d=_0x23f58e[_0x3cc54d>>>0x18]<<0x18|_0x23f58e[_0x3cc54d>>>0x10&0xff]<<0x10|_0x23f58e[_0x3cc54d>>>0x8&0xff]<<0x8|_0x23f58e[_0x3cc54d&0xff]):(_0x3cc54d=_0x3cc54d<<0x8|_0x3cc54d>>>0x18,_0x3cc54d=_0x23f58e[_0x3cc54d>>>0x18]<<0x18|_0x23f58e[_0x3cc54d>>>0x10&0xff]<<0x10|_0x23f58e[_0x3cc54d>>>0x8&0xff]<<0x8|_0x23f58e[_0x3cc54d&0xff],_0x3cc54d^=_0x4ec862[_0x52caf1/_0x2de66f|0x0]<<0x18),_0x2ef5fd[_0x52caf1]=_0x2ef5fd[_0x52caf1-_0x2de66f]^_0x3cc54d);for(var _0x14a031=this[_0x1e8ec4(0x1f9)]=[],_0x5a697d=0x0;_0x5a697d<_0xc3e69c;_0x5a697d++){var _0x52caf1=_0xc3e69c-_0x5a697d;if(_0x5a697d%0x4)var _0x3cc54d=_0x2ef5fd[_0x52caf1];else var _0x3cc54d=_0x2ef5fd[_0x52caf1-0x4];_0x5a697d<0x4||_0x52caf1<=0x4?_0x14a031[_0x5a697d]=_0x3cc54d:_0x14a031[_0x5a697d]=_0x49bdc7[_0x23f58e[_0x3cc54d>>>0x18]]^_0x1e72f3[_0x23f58e[_0x3cc54d>>>0x10&0xff]]^_0x35a65a[_0x23f58e[_0x3cc54d>>>0x8&0xff]]^_0x19ea2f[_0x23f58e[_0x3cc54d&0xff]];}}},'encryptBlock':function(_0x56e801,_0x256e4b){var _0x250b1f=_0x404e88;this[_0x250b1f(0x3c0)](_0x56e801,_0x256e4b,this['_keySchedule'],_0x4ae3bc,_0x27eee7,_0x1e002e,_0xb7d292,_0x23f58e);},'decryptBlock':function(_0x28115d,_0x41ecab){var _0xf80b7=_0x404e88,_0x13c7b8=_0x28115d[_0x41ecab+0x1];_0x28115d[_0x41ecab+0x1]=_0x28115d[_0x41ecab+0x3],_0x28115d[_0x41ecab+0x3]=_0x13c7b8,this[_0xf80b7(0x3c0)](_0x28115d,_0x41ecab,this[_0xf80b7(0x1f9)],_0x49bdc7,_0x1e72f3,_0x35a65a,_0x19ea2f,_0x2d56c2);var _0x13c7b8=_0x28115d[_0x41ecab+0x1];_0x28115d[_0x41ecab+0x1]=_0x28115d[_0x41ecab+0x3],_0x28115d[_0x41ecab+0x3]=_0x13c7b8;},'_doCryptBlock':function(_0x539517,_0x434050,_0x174d28,_0x1010aa,_0x13ba4a,_0x3b9a36,_0x7903f,_0x98371c){var _0x373512=_0x404e88;for(var _0x4c7839=this[_0x373512(0x1e7)],_0x53d282=_0x539517[_0x434050]^_0x174d28[0x0],_0x529a6f=_0x539517[_0x434050+0x1]^_0x174d28[0x1],_0x200d9e=_0x539517[_0x434050+0x2]^_0x174d28[0x2],_0x226327=_0x539517[_0x434050+0x3]^_0x174d28[0x3],_0x4d80c4=0x4,_0x28dc4c=0x1;_0x28dc4c<_0x4c7839;_0x28dc4c++){var _0x18f102=_0x1010aa[_0x53d282>>>0x18]^_0x13ba4a[_0x529a6f>>>0x10&0xff]^_0x3b9a36[_0x200d9e>>>0x8&0xff]^_0x7903f[_0x226327&0xff]^_0x174d28[_0x4d80c4++],_0x2677b3=_0x1010aa[_0x529a6f>>>0x18]^_0x13ba4a[_0x200d9e>>>0x10&0xff]^_0x3b9a36[_0x226327>>>0x8&0xff]^_0x7903f[_0x53d282&0xff]^_0x174d28[_0x4d80c4++],_0x536bec=_0x1010aa[_0x200d9e>>>0x18]^_0x13ba4a[_0x226327>>>0x10&0xff]^_0x3b9a36[_0x53d282>>>0x8&0xff]^_0x7903f[_0x529a6f&0xff]^_0x174d28[_0x4d80c4++],_0x2af1d3=_0x1010aa[_0x226327>>>0x18]^_0x13ba4a[_0x53d282>>>0x10&0xff]^_0x3b9a36[_0x529a6f>>>0x8&0xff]^_0x7903f[_0x200d9e&0xff]^_0x174d28[_0x4d80c4++];_0x53d282=_0x18f102,_0x529a6f=_0x2677b3,_0x200d9e=_0x536bec,_0x226327=_0x2af1d3;}var _0x18f102=(_0x98371c[_0x53d282>>>0x18]<<0x18|_0x98371c[_0x529a6f>>>0x10&0xff]<<0x10|_0x98371c[_0x200d9e>>>0x8&0xff]<<0x8|_0x98371c[_0x226327&0xff])^_0x174d28[_0x4d80c4++],_0x2677b3=(_0x98371c[_0x529a6f>>>0x18]<<0x18|_0x98371c[_0x200d9e>>>0x10&0xff]<<0x10|_0x98371c[_0x226327>>>0x8&0xff]<<0x8|_0x98371c[_0x53d282&0xff])^_0x174d28[_0x4d80c4++],_0x536bec=(_0x98371c[_0x200d9e>>>0x18]<<0x18|_0x98371c[_0x226327>>>0x10&0xff]<<0x10|_0x98371c[_0x53d282>>>0x8&0xff]<<0x8|_0x98371c[_0x529a6f&0xff])^_0x174d28[_0x4d80c4++],_0x2af1d3=(_0x98371c[_0x226327>>>0x18]<<0x18|_0x98371c[_0x53d282>>>0x10&0xff]<<0x10|_0x98371c[_0x529a6f>>>0x8&0xff]<<0x8|_0x98371c[_0x200d9e&0xff])^_0x174d28[_0x4d80c4++];_0x539517[_0x434050]=_0x18f102,_0x539517[_0x434050+0x1]=_0x2677b3,_0x539517[_0x434050+0x2]=_0x536bec,_0x539517[_0x434050+0x3]=_0x2af1d3;},'keySize':0x100/0x20});_0x56f69b[_0x404e88(0x39c)]=_0x2726ce['_createHelper'](_0x28c02a);}()),_0x164d8b[_0x48f649(0x39c)];}));}(fe)),fe[_0x466619(0x4e2)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x32d268(0x4e2)],nt;function ki(){var _0x7a16c=_0x32d268;return nt||(nt=0x1,function(_0x3a5cec,_0x27c24b){(function(_0x50896c,_0x278218){var _0x214190=_0x10a7;_0x3a5cec[_0x214190(0x4e2)]=_0x278218(Q());}(xi,function(_0x33f665){var _0x3bf7fc=_0x10a7;return _0x33f665[_0x3bf7fc(0x283)]['Utf8'];}));}(be)),be[_0x7a16c(0x4e2)];}var $i=ki();const ji=ve($i);var Oe={'exports':{}},Hi=Oe[_0x32d268(0x4e2)],rt;function Bi(){var _0x1e250b=_0x32d268;return rt||(rt=0x1,function(_0x473586,_0x51ba78){(function(_0x14c060,_0xcac327){_0x473586['exports']=_0xcac327(Q());}(Hi,function(_0x448250){var _0x2255fd=_0x10a7;return(function(){var _0x5ddf06=_0x10a7;if(typeof ArrayBuffer==_0x5ddf06(0x4a1)){var _0x36c40f=_0x448250,_0x2529bd=_0x36c40f[_0x5ddf06(0x38d)],_0x549e7c=_0x2529bd[_0x5ddf06(0x399)],_0xb210b=_0x549e7c[_0x5ddf06(0x1ea)],_0x138037=_0x549e7c['init']=function(_0x2f015f){var _0x3bfe69=_0x5ddf06;if(_0x2f015f instanceof ArrayBuffer&&(_0x2f015f=new Uint8Array(_0x2f015f)),(_0x2f015f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2f015f instanceof Uint8ClampedArray||_0x2f015f instanceof Int16Array||_0x2f015f instanceof Uint16Array||_0x2f015f instanceof Int32Array||_0x2f015f instanceof Uint32Array||_0x2f015f instanceof Float32Array||_0x2f015f instanceof Float64Array)&&(_0x2f015f=new Uint8Array(_0x2f015f['buffer'],_0x2f015f[_0x3bfe69(0x3fe)],_0x2f015f[_0x3bfe69(0x3ef)])),_0x2f015f instanceof Uint8Array){for(var _0x4cbed6=_0x2f015f['byteLength'],_0x46a1c6=[],_0x3a62d8=0x0;_0x3a62d8<_0x4cbed6;_0x3a62d8++)_0x46a1c6[_0x3a62d8>>>0x2]|=_0x2f015f[_0x3a62d8]<<0x18-_0x3a62d8%0x4*0x8;_0xb210b[_0x3bfe69(0x500)](this,_0x46a1c6,_0x4cbed6);}else _0xb210b[_0x3bfe69(0x30f)](this,arguments);};_0x138037['prototype']=_0x549e7c;}}()),_0x448250['lib'][_0x2255fd(0x399)];}));}(Oe)),Oe[_0x1e250b(0x4e2)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re['exports'],st;function Gi(){var _0x1a6c23=_0x32d268;return st||(st=0x1,function(_0x58eeb2,_0x3f5c1e){(function(_0x5ec71e,_0x5cd980,_0x1720f3){var _0x2c1e20=_0x10a7;_0x58eeb2[_0x2c1e20(0x4e2)]=_0x5cd980(Q(),Tt());}(Wi,function(_0x327981){var _0x3332e1=_0x10a7;return _0x327981[_0x3332e1(0x304)][_0x3332e1(0x215)]={'pad':function(){},'unpad':function(){}},_0x327981['pad'][_0x3332e1(0x215)];}));}(Re)),Re[_0x1a6c23(0x4e2)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x5c9fa2,_0x2f3157){var _0x503cf5=_0x32d268;const _0x2f3748=_0x2f3157-_0x5c9fa2[_0x503cf5(0x25b)]%_0x2f3157,_0x4e92df=String[_0x503cf5(0x3c6)](_0x2f3748)[_0x503cf5(0x246)](_0x2f3748);return _0x5c9fa2+_0x4e92df;}function zi(_0x4c4690,_0x49cfa6){var _0x19fd6c=_0x32d268;const _0x3b63c4=Vi[_0x19fd6c(0x51f)](0x10),_0x485e2c=Ki(_0x4c4690,0x10),_0x48d8ba=Mi[_0x19fd6c(0x239)](ji['parse'](_0x485e2c),it[_0x19fd6c(0x29d)](_0x49cfa6),{'iv':_0x3b63c4,'padding':qi});return _0x3b63c4[_0x19fd6c(0x26f)](_0x48d8ba[_0x19fd6c(0x449)])[_0x19fd6c(0x411)](it);}function Ji(){var _0x3f098b=_0x32d268;const _0x15ab9b=yt[_0x3f098b(0x359)]()[_0x3f098b(0x1fd)];if(_0x15ab9b){const _0x3a1d8a={'time':Math[_0x3f098b(0x52c)](Date['now']()/0x3e8),'domain':location[_0x3f098b(0x41e)]};return zi(JSON[_0x3f098b(0x27d)](_0x3a1d8a),_0x15ab9b);}}var Xi=Object[_0x32d268(0x32e)],Zi=(_0x1ad8e6,_0x4c34d4,_0xf75d94,_0x494e46)=>{var _0x1e30ea=_0x32d268;for(var _0x483208=_0x494e46>0x1?void 0x0:_0x494e46?Xi(_0x4c34d4,_0xf75d94):_0x4c34d4,_0x4b853d=_0x1ad8e6[_0x1e30ea(0x25b)]-0x1,_0x511888;_0x4b853d>=0x0;_0x4b853d--)(_0x511888=_0x1ad8e6[_0x4b853d])&&(_0x483208=_0x511888(_0x483208)||_0x483208);return _0x483208;},Qi=(_0x2fa791,_0x29211d)=>(_0x243080,_0x178a9c)=>_0x29211d(_0x243080,_0x178a9c,_0x2fa791);let Ne=class{constructor(_0x1b383a){var _0x2bce58=_0x32d268;this[_0x2bce58(0x410)]=_0x1b383a,this[_0x2bce58(0x335)]();}[_0x32d268(0x335)](){var _0x3633b3=_0x32d268;this[_0x3633b3(0x410)]['registerHTTPInterceptor']({'interceptor':(_0x4ccf6d,_0x2ccd21)=>{var _0x3fa000=_0x3633b3;const _0x19e666=_0x4ccf6d[_0x3fa000(0x4b8)],_0x5f522b=Ji();return _0x5f522b&&_0x19e666['set'](_0x3fa000(0x24c),_0x5f522b),_0x2ccd21(_0x4ccf6d);}});}};Ne=Zi([Qi(0x0,a[_0x32d268(0x2ef)](q[_0x32d268(0x49d)]))],Ne);var en=Object[_0x32d268(0x32e)],tn=(_0x1e43b3,_0x4b50f4,_0xc6405a,_0x18d302)=>{var _0xca669c=_0x32d268;for(var _0x6842ed=_0x18d302>0x1?void 0x0:_0x18d302?en(_0x4b50f4,_0xc6405a):_0x4b50f4,_0x47dce8=_0x1e43b3[_0xca669c(0x25b)]-0x1,_0x4626ec;_0x47dce8>=0x0;_0x47dce8--)(_0x4626ec=_0x1e43b3[_0x47dce8])&&(_0x6842ed=_0x4626ec(_0x6842ed)||_0x6842ed);return _0x6842ed;},we=(_0x51ea91,_0x433642)=>(_0x448c09,_0x10bb5d)=>_0x433642(_0x448c09,_0x10bb5d,_0x51ea91);exports[_0x32d268(0x452)]=class extends a[_0x32d268(0x3f3)]{constructor(_0x5075bd,_0x26d7e1,_0x4f54b2){var _0x4986e4=_0x32d268;super(),A(this,_0x4986e4(0x37d),new j[(_0x4986e4(0x493))](null)),A(this,_0x4986e4(0x443),this[_0x4986e4(0x37d)][_0x4986e4(0x236)]()),(this[_0x4986e4(0x2bb)]=_0x5075bd,this[_0x4986e4(0x40a)]=_0x26d7e1,this[_0x4986e4(0x52d)]=_0x4f54b2);}async[_0x32d268(0x2c3)](_0x543fbc,_0x30fc78,_0x179849){var _0x1d4e8c=_0x32d268;this[_0x1d4e8c(0x37d)]['next']({'unitId':_0x543fbc,'type':_0x30fc78});let _0x265673=null;switch(_0x30fc78){case J['UNIVER_SHEET']:{_0x265673=await this[_0x1d4e8c(0x40a)][_0x1d4e8c(0x46e)](_0x543fbc,_0x179849);break;}case J[_0x1d4e8c(0x39e)]:{_0x265673=await this[_0x1d4e8c(0x40a)][_0x1d4e8c(0x529)](_0x543fbc,_0x179849);break;}default:{this[_0x1d4e8c(0x2bb)][_0x1d4e8c(0x29a)](_0x1d4e8c(0x253),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x265673;}async[_0x32d268(0x38b)](_0x32d02b,_0x50fcc8,_0x4e46e6){var _0x343296=_0x32d268,_0x22a888;this[_0x343296(0x37d)][_0x343296(0x3f7)]({'unitId':_0x32d02b,'type':_0x50fcc8,'subUnitId':_0x4e46e6});let _0x26140f=0x0;const _0x186f89=await((_0x22a888=this['_localCacheService'])==null?void 0x0:_0x22a888['loadOfflineData'](_0x32d02b));return _0x186f89&&(_0x186f89[_0x343296(0x3a7)]||_0x186f89[_0x343296(0x39a)]['length']!==0x0)&&(_0x26140f=_0x186f89['rev']),_0x26140f===0x0&&this['_logService'][_0x343296(0x34f)](_0x343296(0x253),_0x343296(0x2cd)),this[_0x343296(0x2c3)](_0x32d02b,_0x50fcc8,_0x26140f);}},exports[_0x32d268(0x452)]=tn([we(0x0,a[_0x32d268(0x2fd)]),we(0x1,a[_0x32d268(0x2ef)](p[_0x32d268(0x311)])),we(0x2,a['Optional'](K))],exports['DataLoaderService']);var nn=Object[_0x32d268(0x32e)],rn=(_0x16aa6c,_0x2adf6f,_0x1529d8,_0xdb6370)=>{var _0x734b87=_0x32d268;for(var _0x3c21a1=_0xdb6370>0x1?void 0x0:_0xdb6370?nn(_0x2adf6f,_0x1529d8):_0x2adf6f,_0x4da173=_0x16aa6c[_0x734b87(0x25b)]-0x1,_0x5f064d;_0x4da173>=0x0;_0x4da173--)(_0x5f064d=_0x16aa6c[_0x4da173])&&(_0x3c21a1=_0x5f064d(_0x3c21a1)||_0x3c21a1);return _0x3c21a1;},Me=(_0x42f3c0,_0x2afe1e)=>(_0xe36a3b,_0x1583b8)=>_0x2afe1e(_0xe36a3b,_0x1583b8,_0x42f3c0);const sn=[_0x32d268(0x358),_0x32d268(0x36e),_0x32d268(0x3ed),_0x32d268(0x325),'image/bmp'],on=0x5*0x400*0x400,an=_0x32d268(0x260),cn=_0x32d268(0x45c);exports[_0x32d268(0x268)]=class{constructor(_0x191f1a,_0x271585,_0xce323d){var _0x4bcbef=_0x32d268;A(this,_0x4bcbef(0x531),0x0),A(this,'_change$',new j[(_0x4bcbef(0x46f))]()),A(this,_0x4bcbef(0x310),this[_0x4bcbef(0x48f)]),A(this,_0x4bcbef(0x3c3),new Map()),(this[_0x4bcbef(0x410)]=_0x191f1a,this[_0x4bcbef(0x4bf)]=_0x271585,this[_0x4bcbef(0x43d)]=_0xce323d);}['setWaitCount'](_0x2a1431){var _0x504604=_0x32d268;this[_0x504604(0x531)]=_0x2a1431,this[_0x504604(0x48f)]['next'](_0x2a1431);}['getImageSourceCache'](_0x555fa4,_0x291cbf){var _0x2e06fe=_0x32d268;if(_0x291cbf===z[_0x2e06fe(0x23a)]['BASE64']){const _0x4f17d5=new Image();return _0x4f17d5['src']=_0x555fa4,_0x4f17d5;}return this[_0x2e06fe(0x3c3)]['get'](_0x555fa4);}[_0x32d268(0x51b)](_0x46df3d,_0x57960c,_0x4a8751){var _0x3d44b1=_0x32d268;_0x57960c===z[_0x3d44b1(0x23a)][_0x3d44b1(0x235)]||_0x4a8751==null||this[_0x3d44b1(0x3c3)][_0x3d44b1(0x261)](_0x46df3d,_0x4a8751);}async[_0x32d268(0x3cc)](_0x5db0c6){var _0x3d1e05=_0x32d268;try{const _0x5d70f2=this[_0x3d1e05(0x32f)](this['_getSignURL'](),''+_0x5db0c6),_0x408b05=(await this[_0x3d1e05(0x410)]['get'](_0x5d70f2))[_0x3d1e05(0x407)];if(_0x408b05[_0x3d1e05(0x29a)]&&_0x408b05[_0x3d1e05(0x29a)][_0x3d1e05(0x386)]===dt['OK']){const _0x35e4ef=new URL(_0x408b05[_0x3d1e05(0x4f0)],this['_getDownloadEndpointURL']())[_0x3d1e05(0x411)]();return Promise[_0x3d1e05(0x549)](_0x35e4ef);}return Promise[_0x3d1e05(0x36b)](_0x408b05[_0x3d1e05(0x29a)]);}catch(_0x12b435){return Promise[_0x3d1e05(0x36b)](_0x12b435);}}async[_0x32d268(0x2cc)](_0x2a9846){var _0x467291=_0x32d268;let _0x5f026f='';if(!sn[_0x467291(0x523)](_0x2a9846[_0x467291(0x459)]))return this['_decreaseWaiting'](),Promise[_0x467291(0x36b)](new Error(z[_0x467291(0x353)][_0x467291(0x365)]));if(_0x2a9846[_0x467291(0x364)]>on)return this['_decreaseWaiting'](),Promise[_0x467291(0x36b)](new Error(z[_0x467291(0x353)][_0x467291(0x226)]));try{const _0x6eb21d=new FormData();_0x6eb21d[_0x467291(0x547)](_0x467291(0x28b),_0x2a9846);const _0x43b474=this['_univerInstanceService'][_0x467291(0x2e4)](),_0x226a83=_0x43b474==null?void 0x0:_0x43b474[_0x467291(0x397)]();if(!_0x226a83)throw new Error(_0x467291(0x1ed));const _0x43043a=this[_0x467291(0x429)]()+_0x467291(0x3a1)+_0x2a9846[_0x467291(0x364)][_0x467291(0x411)]()+_0x467291(0x47e)+vt[_0x467291(0x22d)]+_0x467291(0x4d9)+encodeURIComponent(_0x226a83),_0x2df00f={'body':_0x6eb21d},_0x3eadbb=(await this['_httpService'][_0x467291(0x4e5)](_0x43043a,_0x2df00f))['body'];if(typeof _0x3eadbb[_0x467291(0x42f)]!=_0x467291(0x4e4))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x467291(0x353)][_0x467291(0x405)]));_0x5f026f=_0x3eadbb['FileId'];}catch{return this[_0x467291(0x22b)](),Promise[_0x467291(0x36b)](new Error(z[_0x467291(0x353)][_0x467291(0x405)]));}return new Promise((_0x1cb6d3,_0x3ec893)=>{var _0x98545c=_0x467291;const _0x482a13=new FileReader();_0x482a13[_0x98545c(0x376)](_0x2a9846),_0x482a13[_0x98545c(0x2cb)]=_0x1319d9=>{var _0x13b18e=_0x98545c,_0x1f6361;const _0x340d1c=(_0x1f6361=_0x1319d9[_0x13b18e(0x487)])==null?void 0x0:_0x1f6361[_0x13b18e(0x37a)];if(_0x340d1c==null){this[_0x13b18e(0x22b)](),_0x3ec893(new Error(z['ImageUploadStatusType'][_0x13b18e(0x405)]));return;}const _0x241f29=a[_0x13b18e(0x462)](0x6);_0x1cb6d3({'imageId':_0x241f29,'imageSourceType':z[_0x13b18e(0x23a)]['UUID'],'source':_0x5f026f,'base64Cache':_0x340d1c,'status':z['ImageUploadStatusType'][_0x13b18e(0x317)]}),this[_0x13b18e(0x22b)]();};});}[_0x32d268(0x429)](){var _0x13ef1c=_0x32d268,_0x3e9de4;const _0x39c984=this[_0x13ef1c(0x4bf)]['getConfig'](Y);return(_0x3e9de4=_0x39c984==null?void 0x0:_0x39c984['uploadFileServerUrl'])!=null?_0x3e9de4:an;}[_0x32d268(0x4b9)](){var _0x1a3387=_0x32d268,_0x43e40f;const _0x1e67e8=this[_0x1a3387(0x4bf)]['getConfig'](Y);return(_0x43e40f=_0x1e67e8==null?void 0x0:_0x1e67e8[_0x1a3387(0x51e)])!=null?_0x43e40f:cn;}[_0x32d268(0x479)](){var _0x3ade82=_0x32d268,_0x27b956;const _0x1b9501=this[_0x3ade82(0x4bf)][_0x3ade82(0x1f4)](Y);return(_0x27b956=_0x1b9501==null?void 0x0:_0x1b9501[_0x3ade82(0x368)])!=null?_0x27b956:location['origin'];}[_0x32d268(0x32f)](_0x32dfb4,_0x38513d){var _0x124c9b=_0x32d268;return _0x32dfb4[_0x124c9b(0x420)](_0x124c9b(0x1f6),_0x38513d);}['_decreaseWaiting'](){var _0x3fc74c=_0x32d268;this[_0x3fc74c(0x531)]-=0x1,this[_0x3fc74c(0x48f)][_0x3fc74c(0x3f7)](this[_0x3fc74c(0x531)]);}},exports[_0x32d268(0x268)]=rn([Me(0x0,a['Inject'](q[_0x32d268(0x49d)])),Me(0x1,a[_0x32d268(0x26b)]),Me(0x2,a[_0x32d268(0x2ef)](a[_0x32d268(0x422)]))],exports['CollaborationImageIoService']);var hn=Object[_0x32d268(0x32e)],_n=(_0x3ac0aa,_0x877c0c,_0x14aed2,_0x295fe9)=>{for(var _0x3ee1d9=_0x295fe9>0x1?void 0x0:_0x295fe9?hn(_0x877c0c,_0x14aed2):_0x877c0c,_0x17171c=_0x3ac0aa['length']-0x1,_0x8958e3;_0x17171c>=0x0;_0x17171c--)(_0x8958e3=_0x3ac0aa[_0x17171c])&&(_0x3ee1d9=_0x8958e3(_0x3ee1d9)||_0x3ee1d9);return _0x3ee1d9;},ot=(_0x1fa8fc,_0x5592a4)=>(_0x4108db,_0x4eaf49)=>_0x5592a4(_0x4108db,_0x4eaf49,_0x1fa8fc);const ln=_0x32d268(0x4b1);exports[_0x32d268(0x4ee)]=class{constructor(_0x7cdf42,_0x5105c5){var _0x142ed4=_0x32d268;this[_0x142ed4(0x4bf)]=_0x7cdf42,this['_HTTPService']=_0x5105c5;}[_0x32d268(0x4c3)](){var _0x32c0c0=_0x32d268,_0x555df5;const _0x54961f=this[_0x32c0c0(0x4bf)]['getConfig'](Y);return(_0x555df5=_0x54961f==null?void 0x0:_0x54961f[_0x32c0c0(0x291)])!=null?_0x555df5:ln;}async['list'](_0x1243e7){var _0x304b3f=_0x32d268;const _0x29274f=this[_0x304b3f(0x4c3)]()+_0x304b3f(0x28a);return{'list':[{'title':_0x304b3f(0x515),'mentions':(await this[_0x304b3f(0x4c9)]['get'](_0x29274f,{'params':{'objectID':_0x1243e7[_0x304b3f(0x2eb)],'unitID':_0x1243e7[_0x304b3f(0x2eb)]}}))['body'][_0x304b3f(0x45b)]['map'](_0x1ff768=>({'objectId':_0x1ff768['id'],'name':_0x1ff768[_0x304b3f(0x542)][_0x304b3f(0x532)],'metadata':{'icon':_0x1ff768[_0x304b3f(0x542)][_0x304b3f(0x3f6)]},'label':_0x1ff768[_0x304b3f(0x542)]['name'],'objectType':a[_0x304b3f(0x535)][_0x304b3f(0x41a)]})),'metadata':{},'type':a[_0x304b3f(0x535)][_0x304b3f(0x41a)]}]};}},exports['MentionIoHttpService']=_n([ot(0x0,a[_0x32d268(0x2ef)](a[_0x32d268(0x26b)])),ot(0x1,a[_0x32d268(0x2ef)](q[_0x32d268(0x49d)]))],exports[_0x32d268(0x4ee)]);var un=Object[_0x32d268(0x32e)],dn=(_0x192f9d,_0x92cd09,_0x4c4943,_0x125152)=>{var _0x490b29=_0x32d268;for(var _0x2c8d96=_0x125152>0x1?void 0x0:_0x125152?un(_0x92cd09,_0x4c4943):_0x92cd09,_0x118505=_0x192f9d[_0x490b29(0x25b)]-0x1,_0x50626a;_0x118505>=0x0;_0x118505--)(_0x50626a=_0x192f9d[_0x118505])&&(_0x2c8d96=_0x50626a(_0x2c8d96)||_0x2c8d96);return _0x2c8d96;},le=(_0x46f053,_0x3325e9)=>(_0x4e2e63,_0x3bca01)=>_0x3325e9(_0x4e2e63,_0x3bca01,_0x46f053);let De=class extends a[_0x32d268(0x3f3)]{constructor(_0x57e0a0,_0x272288,_0x191381,_0x5001da,_0x3933c2){var _0x18262b=_0x32d268;super(),this['_injector']=_0x57e0a0,this['_univerInstanceService']=_0x272288,this[_0x18262b(0x3c8)]=_0x191381,this[_0x18262b(0x480)]=_0x5001da,this[_0x18262b(0x27b)]=_0x3933c2,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x32d268(0x2df)](){var _0x1c2126=_0x32d268;const _0x1cc601=async _0x4c8f53=>{var _0x490f45=_0x10a7;(await this[_0x490f45(0x480)][_0x490f45(0x463)](_0x4c8f53))[_0x490f45(0x3aa)][_0x490f45(0x554)](V[_0x490f45(0x469)](_0x36ed1a=>_0x36ed1a['eventID']===p['CollaborationEvent'][_0x490f45(0x326)]),V[_0x490f45(0x2f4)](this['dispose$']))[_0x490f45(0x377)](_0x1d8c47=>{var _0x440dac=_0x490f45;const _0x568586=_0x1d8c47,{reason:_0x28c69a}=_0x568586[_0x440dac(0x40d)];this[_0x440dac(0x27b)][_0x440dac(0x3da)]({'id':Z[_0x440dac(0x4c2)],'data':_0x28c69a}),this[_0x440dac(0x3c8)][_0x440dac(0x36f)](new X[(_0x440dac(0x2d8))](_0x4c8f53)['id'],!0x1),this[_0x440dac(0x480)][_0x440dac(0x541)](_0x4c8f53);});};j['merge'](this[_0x1c2126(0x43d)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x1c2126(0x467)]),this[_0x1c2126(0x43d)]['getTypeOfUnitAdded$'](a[_0x1c2126(0x319)][_0x1c2126(0x39e)]))['pipe'](V[_0x1c2126(0x287)](_0x355411=>_0x355411[_0x1c2126(0x397)]()),V['filter'](_0x361b08=>!a['isInternalEditorID'](_0x361b08)),V[_0x1c2126(0x2f4)](this[_0x1c2126(0x4ad)]))[_0x1c2126(0x377)](_0x11bf12=>{_0x1cc601(_0x11bf12);});}[_0x32d268(0x4c4)](){var _0xf66f60=_0x32d268;const _0x7a9bc9=async _0x434e33=>{var _0x723d4=_0x10a7;const _0x36bf35=await this['_collaborationSessionService'][_0x723d4(0x463)](_0x434e33),_0x437ff8=this[_0x723d4(0x432)]['get'](X['SheetPermissionInitController']);_0x36bf35['event$'][_0x723d4(0x554)](V[_0x723d4(0x469)](_0x11c369=>_0x11c369[_0x723d4(0x211)]===p[_0x723d4(0x1f5)][_0x723d4(0x30c)]),V[_0x723d4(0x2f4)](this['dispose$']))[_0x723d4(0x377)](_0x329e24=>{var _0x5a0cd6=_0x723d4;const _0x1d6fe1=_0x329e24,{objectId:_0x1dd11d}=_0x1d6fe1[_0x5a0cd6(0x40d)];_0x1dd11d===_0x434e33?_0x437ff8[_0x5a0cd6(0x223)](_0x434e33):_0x437ff8[_0x5a0cd6(0x4b3)](_0x434e33,_0x1dd11d);});};j[_0xf66f60(0x47a)](this[_0xf66f60(0x43d)][_0xf66f60(0x497)](a[_0xf66f60(0x319)][_0xf66f60(0x467)]))[_0xf66f60(0x554)](V['map'](_0x305260=>_0x305260[_0xf66f60(0x397)]()),V['filter'](_0x12cadd=>!a[_0xf66f60(0x427)](_0x12cadd)),V[_0xf66f60(0x2f4)](this[_0xf66f60(0x4ad)]))[_0xf66f60(0x377)](_0x56c15a=>{_0x7a9bc9(_0x56c15a);});}};De=dn([le(0x0,a[_0x32d268(0x2ef)](a[_0x32d268(0x4e6)])),le(0x1,a[_0x32d268(0x422)]),le(0x2,a[_0x32d268(0x43a)]),le(0x3,a[_0x32d268(0x2ef)](exports[_0x32d268(0x3cf)])),le(0x4,a[_0x32d268(0x2ef)](ee))],De);var vn=Object['getOwnPropertyDescriptor'],Sn=(_0x2db0fe,_0x4dfcab,_0x73dec0,_0x1e2dd0)=>{var _0x83c406=_0x32d268;for(var _0x11a0ea=_0x1e2dd0>0x1?void 0x0:_0x1e2dd0?vn(_0x4dfcab,_0x73dec0):_0x4dfcab,_0x5701a5=_0x2db0fe[_0x83c406(0x25b)]-0x1,_0x5f3bcd;_0x5701a5>=0x0;_0x5701a5--)(_0x5f3bcd=_0x2db0fe[_0x5701a5])&&(_0x11a0ea=_0x5f3bcd(_0x11a0ea)||_0x11a0ea);return _0x11a0ea;},at=(_0x578a20,_0x111413)=>(_0x1632cf,_0x54640b)=>_0x111413(_0x1632cf,_0x54640b,_0x578a20);exports[_0x32d268(0x33e)]=class{constructor(_0x240f2a,_0x59e4a2){var _0x2d5f07=_0x32d268;this['_configService']=_0x240f2a,this[_0x2d5f07(0x410)]=_0x59e4a2;}async[_0x32d268(0x1e4)](_0xb8d0af,_0x469b03){var _0x4523cd=_0x32d268,_0xb131ff;const {unitID:_0x279e76,type:_0x50bf42,revision:_0x54303a=0x0}=_0x469b03,_0x53cad9=this[_0x4523cd(0x473)]()+'/'+_0x50bf42+_0x4523cd(0x374)+_0x279e76+_0x4523cd(0x472)+_0x54303a,_0x103edf=(await this[_0x4523cd(0x410)][_0x4523cd(0x349)](_0x53cad9))[_0x4523cd(0x407)],_0x58862a=(_0xb131ff=_0x103edf[_0x4523cd(0x4db)])==null?void 0x0:_0xb131ff[_0x4523cd(0x314)];if(_0x58862a){const _0x1f765c=_0x58862a==null?void 0x0:_0x58862a[_0x4523cd(0x404)],_0x9b5ca7=p[_0x4523cd(0x375)][_0x4523cd(0x545)](p[_0x4523cd(0x23c)](_0x1f765c));_0x58862a['originalMeta']=_0x9b5ca7,Object[_0x4523cd(0x453)](_0x58862a[_0x4523cd(0x37f)])[_0x4523cd(0x256)](([,_0x480a39])=>{var _0x5bd5dc=_0x4523cd;const _0x3a6be5=_0x480a39[_0x5bd5dc(0x404)],_0x5483f4=p['textEncoder'][_0x5bd5dc(0x545)](p[_0x5bd5dc(0x23c)](_0x3a6be5));_0x480a39['originalMeta']=_0x5483f4;});}return _0x103edf;}async['getSheetBlock'](_0x18df69,_0x4deab9){var _0x27b745=_0x32d268;const {unitID:_0x46f1c8,type:_0x3f636a,blockID:_0x2bd55d}=_0x4deab9,_0x29aab4=this['_getAPIPrefix']()+'/'+_0x3f636a+_0x27b745(0x374)+_0x46f1c8+'/block/'+_0x2bd55d;return(await this[_0x27b745(0x410)][_0x27b745(0x349)](_0x29aab4))[_0x27b745(0x407)];}async[_0x32d268(0x354)](_0x3e59bd,_0x12e263){var _0x506e07=_0x32d268;const {unitID:_0x3af523,type:_0x5975c9,blockID:_0x58aac2}=_0x12e263,_0x42dca4=this[_0x506e07(0x4d8)]()+'/block/'+_0x5975c9+_0x506e07(0x374)+_0x3af523+_0x506e07(0x3df)+_0x58aac2;return(await this['_httpService']['get'](_0x42dca4))[_0x506e07(0x407)];}async[_0x32d268(0x333)](_0x21f9ac,_0x1fc603){var _0x40fdf=_0x32d268;const {unitID:_0x5c1e57,type:_0xf825be,from:_0xc9001b,to:_0xc816cc}=_0x1fc603,_0x277a62=this[_0x40fdf(0x4d8)]()+'/'+_0xf825be+'/unit/'+_0x5c1e57+_0x40fdf(0x2f7)+_0xc9001b+_0x40fdf(0x3b1)+_0xc816cc;return(await this[_0x40fdf(0x410)][_0x40fdf(0x349)](_0x277a62))[_0x40fdf(0x407)];}[_0x32d268(0x473)](){var _0x57f3ae=_0x32d268,_0x197afa;return(_0x197afa=this['_configService']['getConfig'](Dt))!=null?_0x197afa:this[_0x57f3ae(0x4d8)]();}[_0x32d268(0x4d8)](){var _0x52f0db=_0x32d268,_0x127b93;const _0x2d4e3e=this[_0x52f0db(0x4bf)][_0x52f0db(0x1f4)](Y);return(_0x127b93=_0x2d4e3e==null?void 0x0:_0x2d4e3e['snapshotServerUrl'])!=null?_0x127b93:Nt;}async[_0x32d268(0x3e9)](_0x2d1e0a,_0x413b72){var _0x58941f=_0x32d268;const _0x36a7c6=_0x58941f(0x476)+_0x413b72[_0x58941f(0x459)]+_0x58941f(0x374)+_0x413b72[_0x58941f(0x2de)]+_0x58941f(0x3a6);return(await this[_0x58941f(0x410)][_0x58941f(0x349)](_0x36a7c6,{'params':{'resourceId':JSON[_0x58941f(0x27d)](_0x413b72[_0x58941f(0x243)])}}))[_0x58941f(0x407)];}['saveSnapshot'](){var _0x453282=_0x32d268;throw new Error(_0x453282(0x251));}[_0x32d268(0x37b)](){var _0x2c2cf9=_0x32d268;throw new Error(_0x2c2cf9(0x251));}[_0x32d268(0x517)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x5c1378=_0x32d268;throw new Error(_0x5c1378(0x251));}[_0x32d268(0x4f1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x32d268(0x33e)]=Sn([at(0x0,a[_0x32d268(0x26b)]),at(0x1,a[_0x32d268(0x2ef)](q[_0x32d268(0x49d)]))],exports['SnapshotServerOverHTTPService']);var fn=Object['getOwnPropertyDescriptor'],In=(_0x3beddd,_0x1e8c09,_0x167a50,_0x330800)=>{var _0x17c66b=_0x32d268;for(var _0xa4ccc8=_0x330800>0x1?void 0x0:_0x330800?fn(_0x1e8c09,_0x167a50):_0x1e8c09,_0x4e8af5=_0x3beddd[_0x17c66b(0x25b)]-0x1,_0x485566;_0x4e8af5>=0x0;_0x4e8af5--)(_0x485566=_0x3beddd[_0x4e8af5])&&(_0xa4ccc8=_0x485566(_0xa4ccc8)||_0xa4ccc8);return _0xa4ccc8;},ue=(_0x112a41,_0x10aee6)=>(_0x526fa9,_0x326001)=>_0x10aee6(_0x526fa9,_0x326001,_0x112a41);exports[_0x32d268(0x477)]=class extends a[_0x32d268(0x4f9)]{constructor(_0x16ca2a,_0x4fe218,_0x5eff4a,_0x481f9f,_0x36f5c6){var _0x57f973=_0x32d268;super(_0x16ca2a,_0x4fe218,_0x5eff4a),this['_transformService']=_0x481f9f,this[_0x57f973(0x2bb)]=_0x36f5c6;}['transformUndoRedo'](_0x1b65f8,_0x493880){var _0x434817=_0x32d268;const _0x33de07=this[_0x434817(0x3f4)](_0x1b65f8);if(_0x33de07)try{const _0xf879ba=this[_0x434817(0x50a)](_0x33de07,_0x493880);this[_0x434817(0x4e8)](_0x1b65f8,_0xf879ba);}catch(_0x22a6f6){this[_0x434817(0x2bb)][_0x434817(0x29a)](_0x434817(0x2c7),_0x22a6f6),this['_clearUndo'](_0x1b65f8);}const _0x26d193=this[_0x434817(0x510)](_0x1b65f8);if(_0x26d193)try{const _0x25031d=this[_0x434817(0x50a)](_0x26d193,_0x493880);this['_substituteRedoStack'](_0x1b65f8,_0x25031d);}catch(_0x4c2ac4){this[_0x434817(0x2bb)][_0x434817(0x29a)](_0x4c2ac4),this['_clearRedo'](_0x1b65f8);}}['_clearUndo'](_0x2f4b6d){var _0x47821a=_0x32d268;const _0x4e0233=this[_0x47821a(0x3f4)](_0x2f4b6d);_0x4e0233&&(_0x4e0233['length']=0x0,this[_0x47821a(0x2dd)]());}[_0x32d268(0x528)](_0x62dd67){var _0x47c292=_0x32d268;const _0x4e79aa=this[_0x47c292(0x510)](_0x62dd67);_0x4e79aa&&(_0x4e79aa[_0x47c292(0x25b)]=0x0,this[_0x47c292(0x2dd)]());}[_0x32d268(0x4e8)](_0x1355b1,_0x11256d){var _0x160edf=_0x32d268;this[_0x160edf(0x54f)]['set'](_0x1355b1,_0x11256d),this['_updateStatus']();}['_substituteRedoStack'](_0x4ec10b,_0x1755fc){var _0x1f9c45=_0x32d268;this[_0x1f9c45(0x4d1)][_0x1f9c45(0x261)](_0x4ec10b,_0x1755fc),this[_0x1f9c45(0x2dd)]();}[_0x32d268(0x50a)](_0x171c0e,_0x39ecf3){var _0x346a1f=_0x32d268;const _0x58058d=[];let _0x1b5095=_0x39ecf3,_0x393bd6=_0x39ecf3;for(let _0x3bac0c=_0x171c0e['length']-0x1;_0x3bac0c>=0x0;_0x3bac0c--){const {unitID:_0x543adf,undoMutations:_0x104901,redoMutations:_0x3ce90a}=_0x171c0e[_0x3bac0c],_0x26b788=this[_0x346a1f(0x40e)]['transformMutationsWithChangeset'](_0x1b5095,_0x104901),_0x12af49=this[_0x346a1f(0x40e)][_0x346a1f(0x27a)](_0x393bd6,_0x3ce90a);if(p['isTransformMutationsWithChangesetFailure'](_0x26b788)||p['isTransformMutationsWithChangesetFailure'](_0x12af49)){this[_0x346a1f(0x2bb)]['error'](_0x346a1f(0x2c7),'transformStack\x20failed!',_0x26b788,_0x12af49);break;}_0x1b5095=_0x26b788[_0x346a1f(0x4ea)],_0x393bd6=_0x12af49[_0x346a1f(0x4ea)],_0x58058d[_0x346a1f(0x47b)]({'unitID':_0x543adf,'undoMutations':_0x26b788[_0x346a1f(0x4ed)],'redoMutations':_0x12af49['m2Prime']});}return _0x58058d[_0x346a1f(0x2ac)]();}},exports['CollaborativeUndoRedoService']=In([ue(0x0,a[_0x32d268(0x422)]),ue(0x1,a[_0x32d268(0x519)]),ue(0x2,a[_0x32d268(0x513)]),ue(0x3,p[_0x32d268(0x366)]),ue(0x4,a[_0x32d268(0x2fd)])],exports[_0x32d268(0x477)]);var pn=Object[_0x32d268(0x30e)],mn=Object['getOwnPropertyDescriptor'],gn=(_0x2335c0,_0x2cf658,_0x3dddd8)=>_0x2cf658 in _0x2335c0?pn(_0x2335c0,_0x2cf658,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dddd8}):_0x2335c0[_0x2cf658]=_0x3dddd8,En=(_0x11fb46,_0x236470,_0x5898ce,_0x1104d6)=>{var _0x2e0372=_0x32d268;for(var _0x4d5d85=_0x1104d6>0x1?void 0x0:_0x1104d6?mn(_0x236470,_0x5898ce):_0x236470,_0x3416c6=_0x11fb46[_0x2e0372(0x25b)]-0x1,_0x39aba9;_0x3416c6>=0x0;_0x3416c6--)(_0x39aba9=_0x11fb46[_0x3416c6])&&(_0x4d5d85=_0x39aba9(_0x4d5d85)||_0x4d5d85);return _0x4d5d85;},Le=(_0x156e01,_0x52cc03)=>(_0x342e8c,_0x55a1d5)=>_0x52cc03(_0x342e8c,_0x55a1d5,_0x156e01),Cn=(_0x2813bb,_0x1b7638,_0x1906af)=>gn(_0x2813bb,_0x1b7638+'',_0x1906af);const Tn=_0x32d268(0x3b3);exports[_0x32d268(0x2ce)]=class extends a[_0x32d268(0x2ea)]{constructor(_0x470b1d,_0x5e86fb,_0x18d0fa,_0x55066f){var _0x4ac9c0=_0x32d268;super(),A(this,_0x4ac9c0(0x337)),(this[_0x4ac9c0(0x2bb)]=_0x5e86fb,this[_0x4ac9c0(0x432)]=_0x18d0fa,this['_configService']=_0x55066f);const {..._0x4f5d90}=a[_0x4ac9c0(0x47a)]({},Bt,_0x470b1d);if(!_0x4f5d90[_0x4ac9c0(0x3f5)])throw new Error(_0x4ac9c0(0x3d7));this[_0x4ac9c0(0x337)]=_0x4f5d90,this[_0x4ac9c0(0x4bf)]['setConfig'](Y,_0x4f5d90);}['onStarting'](){var _0x2e7079=_0x32d268;this[_0x2e7079(0x37e)](),this[_0x2e7079(0x4a5)]();}[_0x32d268(0x37e)](){var _0x163112=_0x32d268,_0x6cf9d6,_0x32f028;this[_0x163112(0x432)][_0x163112(0x259)](a[_0x163112(0x3b5)])&&this[_0x163112(0x2bb)]['error'](_0x163112(0x3ee),_0x163112(0x257));const _0x1d6ab1=a[_0x163112(0x27c)]([[a['IUndoRedoService'],{'useClass':exports[_0x163112(0x477)]}],[exports[_0x163112(0x3cf)]],[exports[_0x163112(0x38a)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[je],[De],[ee],[exports[_0x163112(0x452)]],[$e,{'useClass':this['_config']['socketService']}],[p['ISnapshotServerService'],{'useClass':exports[_0x163112(0x33e)]}],[a['IAuthzIoService'],{'useClass':exports[_0x163112(0x3f1)]}],[z['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[a[_0x163112(0x4d7)],{'useClass':exports[_0x163112(0x4ee)]}],[exports[_0x163112(0x51d)]],[xe]],(_0x6cf9d6=this[_0x163112(0x337)])==null?void 0x0:_0x6cf9d6['override']);if(!((_0x32f028=this['_config'])!=null&&_0x32f028['enableSingleActiveInstanceLock'])){const _0x141217=_0x1d6ab1[_0x163112(0x308)](([_0x3d9dbc])=>_0x3d9dbc===de);_0x141217!==-0x1&&_0x1d6ab1[_0x163112(0x50e)](_0x141217,0x1);}a[_0x163112(0x361)](this[_0x163112(0x432)],_0x1d6ab1);}['_initDependencies'](){var _0x256a30=_0x32d268,_0x133ebb,_0x2c4932,_0x3709ad;this[_0x256a30(0x432)]['get'](q['HTTPService'])[_0x256a30(0x47f)]({'priority':0x14,'interceptor':q[_0x256a30(0x50f)]({'maxParallel':0x6})}),(_0x133ebb=this[_0x256a30(0x337)])!=null&&_0x133ebb['enableOfflineEditing']||(_0x2c4932=this[_0x256a30(0x432)]['get'](K,a[_0x256a30(0x448)][_0x256a30(0x501)]))==null||_0x2c4932[_0x256a30(0x36d)](),(_0x3709ad=this[_0x256a30(0x337)])!=null&&_0x3709ad[_0x256a30(0x408)]&&a['touchDependencies'](this[_0x256a30(0x432)],[[ye]]),a[_0x256a30(0x2bd)](this[_0x256a30(0x432)],[[Ne],[exports[_0x256a30(0x51d)]],[De]]);}},Cn(exports['UniverCollaborationClientPlugin'],_0x32d268(0x369),Tn),exports[_0x32d268(0x2ce)]=En([a['DependentOn'](p['UniverCollaborationPlugin'],q['UniverNetworkPlugin']),Le(0x1,a[_0x32d268(0x2fd)]),Le(0x2,a[_0x32d268(0x2ef)](a['Injector'])),Le(0x3,a[_0x32d268(0x26b)])],exports[_0x32d268(0x2ce)]),exports[_0x32d268(0x1fc)]=Y,exports[_0x32d268(0x316)]=Be,exports['CollaborationUIEventId']=Z,exports[_0x32d268(0x2aa)]=ee,exports['CommentService']=je,exports[_0x32d268(0x3c4)]=ht,exports[_0x32d268(0x417)]=Ht,exports[_0x32d268(0x34e)]=At,exports[_0x32d268(0x544)]=_t,exports[_0x32d268(0x415)]=ke,exports['ICollaborationSocketService']=$e,exports[_0x32d268(0x300)]=K,exports[_0x32d268(0x2f8)]=St,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=Lt,exports[_0x32d268(0x4ae)]=jt,exports[_0x32d268(0x2d4)]=ut,exports[_0x32d268(0x21d)]=re,exports[_0x32d268(0x1f7)]=He,exports[_0x32d268(0x46b)]=ft,exports[_0x32d268(0x4d2)]=ei,exports['serializeCombRequest']=It;
1
+ 'use strict';var _0x2f6cf0=_0x30fe;(function(_0x654229,_0x104234){var _0x581197=_0x30fe,_0x5b70ed=_0x654229();while(!![]){try{var _0x303b30=parseInt(_0x581197(0x2ad))/0x1*(-parseInt(_0x581197(0x33d))/0x2)+parseInt(_0x581197(0x35f))/0x3+parseInt(_0x581197(0x53f))/0x4+-parseInt(_0x581197(0x3e0))/0x5+-parseInt(_0x581197(0x301))/0x6+parseInt(_0x581197(0x533))/0x7*(parseInt(_0x581197(0x534))/0x8)+parseInt(_0x581197(0x556))/0x9;if(_0x303b30===_0x104234)break;else _0x5b70ed['push'](_0x5b70ed['shift']());}catch(_0x23cf06){_0x5b70ed['push'](_0x5b70ed['shift']());}}}(_0x1f96,0x1dfe1));var bt=Object[_0x2f6cf0(0x231)],Ot=(_0x575087,_0x3e5083,_0x4a5721)=>_0x3e5083 in _0x575087?bt(_0x575087,_0x3e5083,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a5721}):_0x575087[_0x3e5083]=_0x4a5721,A=(_0x4746d2,_0x439f7d,_0x3f557d)=>Ot(_0x4746d2,typeof _0x439f7d!=_0x2f6cf0(0x4fe)?_0x439f7d+'':_0x439f7d,_0x3f557d);Object[_0x2f6cf0(0x231)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require('@univerjs/core'),H=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),q=require('@univerjs/network'),Rt=require('@univerjs/telemetry'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x2f6cf0(0x223),Dt=_0x2f6cf0(0x202),Ut=0x7d0,ht=_0x2f6cf0(0x2c8),At='/universer-api/user/session-ticket',_t=_0x2f6cf0(0x42e),Pt=0x7530,ke=_0x2f6cf0(0x25a),lt=0x4e20,wt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,Lt='LOCAL_CACHE_INTERVAL',xt=0x3e8,kt=_0x2f6cf0(0x497),$t=_0x2f6cf0(0x4b2),Ht=_0x2f6cf0(0x30d),jt=_0x2f6cf0(0x416);var dt=(_0x3606dd=>(_0x3606dd[_0x3606dd[_0x2f6cf0(0x3f3)]=0x0]=_0x2f6cf0(0x3f3),_0x3606dd[_0x3606dd['OK']=0x1]='OK',_0x3606dd[_0x3606dd[_0x2f6cf0(0x4f0)]=0x2]=_0x2f6cf0(0x4f0),_0x3606dd[_0x3606dd[_0x2f6cf0(0x367)]=0x3]=_0x2f6cf0(0x367),_0x3606dd[_0x3606dd[_0x2f6cf0(0x4f4)]=0x4]=_0x2f6cf0(0x4f4),_0x3606dd[_0x3606dd[_0x2f6cf0(0x333)]=0x5]='UNAUTHENTICATED',_0x3606dd[_0x3606dd['ALREADY_EXISTS']=0x6]=_0x2f6cf0(0x40d),_0x3606dd[_0x3606dd[_0x2f6cf0(0x3fc)]=0x7]=_0x2f6cf0(0x3fc),_0x3606dd[_0x3606dd[_0x2f6cf0(0x537)]=0x8]='TOO_MANY_REQUESTS',_0x3606dd[_0x3606dd[_0x2f6cf0(0x233)]=0x9]=_0x2f6cf0(0x233),_0x3606dd[_0x3606dd[_0x2f6cf0(0x399)]=0xa]=_0x2f6cf0(0x399),_0x3606dd[_0x3606dd['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x2f6cf0(0x402),_0x3606dd[_0x3606dd['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3606dd[_0x3606dd[_0x2f6cf0(0x260)]=0xd]=_0x2f6cf0(0x260),_0x3606dd[_0x3606dd[_0x2f6cf0(0x311)]=0xe]=_0x2f6cf0(0x311),_0x3606dd[_0x3606dd[_0x2f6cf0(0x3cc)]=0x1389]=_0x2f6cf0(0x3cc),_0x3606dd[_0x3606dd[_0x2f6cf0(0x352)]=0x1771]=_0x2f6cf0(0x352),_0x3606dd[_0x3606dd[_0x2f6cf0(0x4a6)]=0x1772]=_0x2f6cf0(0x4a6),_0x3606dd[_0x3606dd[_0x2f6cf0(0x26c)]=0x1773]=_0x2f6cf0(0x26c),_0x3606dd[_0x3606dd[_0x2f6cf0(0x2b6)]=0x1b59]=_0x2f6cf0(0x2b6),_0x3606dd[_0x3606dd[_0x2f6cf0(0x379)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3606dd[_0x3606dd[_0x2f6cf0(0x4a7)]=0x1b5b]=_0x2f6cf0(0x4a7),_0x3606dd[_0x3606dd[_0x2f6cf0(0x4d2)]=0x1b5c]=_0x2f6cf0(0x4d2),_0x3606dd[_0x3606dd[_0x2f6cf0(0x21d)]=0x1b5d]=_0x2f6cf0(0x21d),_0x3606dd[_0x3606dd[_0x2f6cf0(0x39e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3606dd[_0x3606dd[_0x2f6cf0(0x32d)]=0x2329]=_0x2f6cf0(0x32d),_0x3606dd[_0x3606dd[_0x2f6cf0(0x354)]=0x232a]=_0x2f6cf0(0x354),_0x3606dd[_0x3606dd[_0x2f6cf0(0x47b)]=0x232b]=_0x2f6cf0(0x47b),_0x3606dd[_0x3606dd[_0x2f6cf0(0x447)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3606dd[_0x3606dd['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2f6cf0(0x515),_0x3606dd[_0x3606dd[_0x2f6cf0(0x2b1)]=0x2711]=_0x2f6cf0(0x2b1),_0x3606dd[_0x3606dd[_0x2f6cf0(0x487)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3606dd[_0x3606dd[_0x2f6cf0(0x3d3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3606dd[_0x3606dd[_0x2f6cf0(0x3e9)]=0x2714]=_0x2f6cf0(0x3e9),_0x3606dd[_0x3606dd['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2f6cf0(0x26f),_0x3606dd[_0x3606dd[_0x2f6cf0(0x275)]=0x271b]=_0x2f6cf0(0x275),_0x3606dd[_0x3606dd['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3606dd[_0x3606dd['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2f6cf0(0x4eb),_0x3606dd[_0x3606dd['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2f6cf0(0x42d),_0x3606dd[_0x3606dd[_0x2f6cf0(0x2b4)]=0x271f]=_0x2f6cf0(0x2b4),_0x3606dd[_0x3606dd[_0x2f6cf0(0x3a0)]=0x2720]=_0x2f6cf0(0x3a0),_0x3606dd[_0x3606dd[_0x2f6cf0(0x528)]=0x2af9]=_0x2f6cf0(0x528),_0x3606dd[_0x3606dd[_0x2f6cf0(0x2d1)]=0x2ee1]=_0x2f6cf0(0x2d1),_0x3606dd[_0x3606dd[_0x2f6cf0(0x32c)]=0x2ee2]=_0x2f6cf0(0x32c),_0x3606dd[_0x3606dd[_0x2f6cf0(0x542)]=0x2ee3]=_0x2f6cf0(0x542),_0x3606dd[_0x3606dd[_0x2f6cf0(0x273)]=0x2ee4]=_0x2f6cf0(0x273),_0x3606dd[_0x3606dd['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2f6cf0(0x523),_0x3606dd[_0x3606dd[_0x2f6cf0(0x307)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3606dd[_0x3606dd[_0x2f6cf0(0x242)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3606dd[_0x3606dd['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2f6cf0(0x2f6),_0x3606dd[_0x3606dd[_0x2f6cf0(0x417)]=-0x1]=_0x2f6cf0(0x417),_0x3606dd))(dt||{}),J=(_0x2a1bae=>(_0x2a1bae[_0x2a1bae['UNIVER_UNKNOWN']=0x0]=_0x2f6cf0(0x4ac),_0x2a1bae[_0x2a1bae[_0x2f6cf0(0x4a1)]=0x1]=_0x2f6cf0(0x4a1),_0x2a1bae[_0x2a1bae['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2a1bae[_0x2a1bae['UNIVER_SLIDE']=0x3]=_0x2f6cf0(0x335),_0x2a1bae[_0x2a1bae[_0x2f6cf0(0x220)]=0x4]=_0x2f6cf0(0x220),_0x2a1bae[_0x2a1bae[_0x2f6cf0(0x417)]=-0x1]='UNRECOGNIZED',_0x2a1bae))(J||{}),W=(_0x7d3c70=>(_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x4e9)]=0x0]=_0x2f6cf0(0x4e9),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x2e2)]=0x1]=_0x2f6cf0(0x2e2),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x2cb)]=0x2]=_0x2f6cf0(0x2cb),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x382)]=0x3]=_0x2f6cf0(0x382),_0x7d3c70[_0x7d3c70['INGEST']=0x4]=_0x2f6cf0(0x4ec),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x336)]=0x5]=_0x2f6cf0(0x336),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x407)]=0x6]=_0x2f6cf0(0x407),_0x7d3c70[_0x7d3c70['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x7d3c70))(W||{}),se=(_0x1f0de0=>(_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x410)]=0x0]='UNKNOWN_CODE',_0x1f0de0[_0x1f0de0['OK']=0x1]='OK',_0x1f0de0[_0x1f0de0['FAIL']=0x2]=_0x2f6cf0(0x360),_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x4e4)]=0x3e9]='JOIN_ROOM_FULL',_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x3f5)]=0x3ea]=_0x2f6cf0(0x3f5),_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x44d)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x1f0de0[_0x1f0de0['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2f6cf0(0x215),_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x417)]=-0x1]='UNRECOGNIZED',_0x1f0de0))(se||{}),vt=(_0x56f9fe=>(_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x526)]=0x0]='Undefined',_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x37c)]=0x1]=_0x2f6cf0(0x37c),_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x2fe)]=0x2]=_0x2f6cf0(0x2fe),_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x43f)]=0x3]='UnitEmbedded',_0x56f9fe[_0x56f9fe['UnitSnapshot']=0x4]=_0x2f6cf0(0x398),_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x51c)]=0x5]='UserProfileImg',_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x417)]=-0x1]=_0x2f6cf0(0x417),_0x56f9fe))(vt||{});const Y=_0x2f6cf0(0x2a2),Bt={};var Z=(_0x16db32=>(_0x16db32[_0x2f6cf0(0x3b6)]='OTHER_CLIENT_EDITING',_0x16db32[_0x2f6cf0(0x367)]=_0x2f6cf0(0x367),_0x16db32[_0x2f6cf0(0x4de)]=_0x2f6cf0(0x4de),_0x16db32['CLOSE_ROOM']=_0x2f6cf0(0x308),_0x16db32[_0x2f6cf0(0x46d)]='JOIN_ROOM_FAILED',_0x16db32[_0x2f6cf0(0x481)]=_0x2f6cf0(0x481),_0x16db32['SOCKET_FAILED']='SOCKET_FAILED',_0x16db32[_0x2f6cf0(0x3ef)]='SUBMIT_CHANGESET_TIMEOUT',_0x16db32))(Z||{});class ee{constructor(){var _0x2949f0=_0x2f6cf0;A(this,'_event$',new H[(_0x2949f0(0x3dc))]()),A(this,'event$',this[_0x2949f0(0x518)][_0x2949f0(0x480)]());}['emitEvent'](_0x405d4f){var _0x514518=_0x2f6cf0;this[_0x514518(0x518)][_0x514518(0x4b8)](_0x405d4f);}}const St=a[_0x2f6cf0(0x276)]('univer-pro.collaboration-client.network-condition.service');function ft(_0x4f5ca7){var _0x390b6b=_0x2f6cf0,_0x2b6ee,_0x41939f,_0x2fa8d9,_0x59c8a4,_0x2de910;const _0x354dd8=_0x4f5ca7[_0x390b6b(0x49d)],_0x383168=JSON[_0x390b6b(0x3b9)](_0x354dd8);switch(_0x383168[_0x390b6b(0x2e7)]){case W[_0x390b6b(0x336)]:case W['HELLO']:{const _0x21d886=_0x383168[_0x390b6b(0x236)];return{..._0x383168,'data':_0x21d886,'cmd':_0x383168[_0x390b6b(0x2e7)]};}case W[_0x390b6b(0x2cb)]:{const _0x3c278a=_0x383168[_0x390b6b(0x519)];return{..._0x383168,'data':_0x3c278a,'cmd':_0x383168[_0x390b6b(0x2e7)]};}case W[_0x390b6b(0x407)]:{const _0x39cd5f=_0x383168[_0x390b6b(0x4bf)];switch(_0x39cd5f['eventID']){case p[_0x390b6b(0x252)][_0x390b6b(0x37a)]:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x2b6ee=_0x39cd5f[_0x390b6b(0x3c5)])==null?void 0x0:_0x2b6ee['cs']},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)][_0x390b6b(0x4cb)]:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x41939f=_0x39cd5f[_0x390b6b(0x341)])==null?void 0x0:_0x41939f['cs']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x2fa8d9=_0x39cd5f[_0x390b6b(0x466)])==null?void 0x0:_0x2fa8d9['cs']},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)][_0x390b6b(0x33f)]:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x59c8a4=_0x39cd5f[_0x390b6b(0x323)])==null?void 0x0:_0x59c8a4['cs']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x4fa)]:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x2de910=_0x39cd5f[_0x390b6b(0x2fc)])==null?void 0x0:_0x2de910['cs']},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)][_0x390b6b(0x3f2)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f['updateCursorEvent']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x251)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x421)]},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x38a)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f['leaveEvent']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x3d5)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f['liveShareNewHost']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x296)]:case p['CollaborationEvent'][_0x390b6b(0x320)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x244)]},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x39d)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x46b)]},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)]['MSG_FOR_ERROR']:return{..._0x383168,'data':_0x39cd5f,'cmd':_0x383168[_0x390b6b(0x2e7)]};case p['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x553)]},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)][_0x390b6b(0x372)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x361)]},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)]['SHOULD_CLOSE_CONN']:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x443)]},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)]['UNISCRIPT_RUN']:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f['uniscriptRunEvent']},'cmd':_0x383168['cmd']};default:return _0x383168;}}default:return _0x383168;}}function It(_0x27a4b8){var _0x348ab6=_0x2f6cf0;switch(_0x27a4b8[_0x348ab6(0x2e7)]){case W[_0x348ab6(0x336)]:case W[_0x348ab6(0x2e2)]:return JSON[_0x348ab6(0x245)]({'cmd':_0x27a4b8[_0x348ab6(0x2e7)],'routeKey':_0x27a4b8[_0x348ab6(0x439)]});case W['INGEST']:{let _0xdc0612;switch(_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x3f1)]){case p[_0x348ab6(0x252)]['UPDATE_CURSOR']:{_0xdc0612={'eventID':p[_0x348ab6(0x252)]['UPDATE_CURSOR'],'updateCursorEvent':_0x27a4b8['data'][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)]['USERS_LEAVE']:{_0xdc0612={'eventID':p[_0x348ab6(0x252)][_0x348ab6(0x38a)],'leaveEvent':_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)][_0x348ab6(0x251)]:{_0xdc0612={'eventID':p[_0x348ab6(0x252)][_0x348ab6(0x251)],'joinEvent':_0x27a4b8['data'][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)]['LIVESHARE_NEW_HOST']:{_0xdc0612={'eventID':p[_0x348ab6(0x252)][_0x348ab6(0x3d5)],'liveShareNewHost':_0x27a4b8['data'][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)]['LIVESHARE_OPERATION']:{_0xdc0612={'eventID':p['CollaborationEvent'][_0x348ab6(0x320)],'liveShareOperation':_0x27a4b8[_0x348ab6(0x49d)]['data']};break;}case p[_0x348ab6(0x252)][_0x348ab6(0x39d)]:{_0xdc0612={'eventID':p[_0x348ab6(0x252)][_0x348ab6(0x39d)],'liveShareTerminate':_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)][_0x348ab6(0x4bd)]:{_0xdc0612={'eventID':p[_0x348ab6(0x252)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)][_0x348ab6(0x296)]:{_0xdc0612={'eventID':p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xdc0612={'eventID':_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x3f1)]};}return JSON[_0x348ab6(0x245)]({'cmd':_0x27a4b8['cmd'],'routeKey':_0x27a4b8[_0x348ab6(0x439)],'collaMsg':_0xdc0612});}case W[_0x348ab6(0x2cb)]:return JSON[_0x348ab6(0x245)]({'cmd':_0x27a4b8[_0x348ab6(0x2e7)],'routeKey':_0x27a4b8[_0x348ab6(0x439)],'joinReq':_0x27a4b8[_0x348ab6(0x49d)]});case W[_0x348ab6(0x382)]:return JSON['stringify']({'cmd':_0x27a4b8[_0x348ab6(0x2e7)],'routeKey':_0x27a4b8[_0x348ab6(0x439)],'leaveReq':_0x27a4b8[_0x348ab6(0x49d)]});default:throw new Error(_0x348ab6(0x40f));}}var Ft=Object[_0x2f6cf0(0x51f)],Vt=(_0x712469,_0x2aff98,_0x248fcf,_0xbfce44)=>{for(var _0x2754e9=_0xbfce44>0x1?void 0x0:_0xbfce44?Ft(_0x2aff98,_0x248fcf):_0x2aff98,_0x53f489=_0x712469['length']-0x1,_0x921379;_0x53f489>=0x0;_0x53f489--)(_0x921379=_0x712469[_0x53f489])&&(_0x2754e9=_0x921379(_0x2754e9)||_0x2754e9);return _0x2754e9;},_e=(_0x5c6b8d,_0x2fc15f)=>(_0x556517,_0x22f7b3)=>_0x2fc15f(_0x556517,_0x22f7b3,_0x5c6b8d);const $e=a[_0x2f6cf0(0x276)](_0x2f6cf0(0x30f));function Wt(_0x57f48f,_0xa3af98,_0x5cd82c){var _0xa0344c=_0x2f6cf0;return _0x57f48f+'/'+_0xa3af98+_0xa0344c(0x266)+_0x5cd82c+'/new_changes';}exports[_0x2f6cf0(0x545)]=class extends a['Disposable']{constructor(_0x36a3b7,_0x2450ec,_0x53aacb,_0x4bf87a,_0x2e907b){var _0x3dd4ca=_0x2f6cf0;super(),this[_0x3dd4ca(0x2d8)]=_0x36a3b7,this['_httpService']=_0x2450ec,this['_configService']=_0x53aacb,this[_0x3dd4ca(0x39f)]=_0x4bf87a,this[_0x3dd4ca(0x49b)]=_0x2e907b;}[_0x2f6cf0(0x366)](_0x1087e1){var _0x5f28f5=_0x2f6cf0;const _0x1467af=this[_0x5f28f5(0x2d8)][_0x5f28f5(0x1f6)](q['ISocketService']);if(!_0x1467af)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x38b079=_0x1467af['createSocket'](_0x1087e1);if(!_0x38b079)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2a6631=new a['DisposableCollection'](),_0x59634d=new H['Subject']();_0x2a6631[_0x5f28f5(0x562)](_0x38b079['close$'][_0x5f28f5(0x2a7)](_0x324b16=>_0x59634d[_0x5f28f5(0x4b8)](_0x324b16))),_0x2a6631[_0x5f28f5(0x562)](a[_0x5f28f5(0x4bc)](()=>_0x59634d['complete']()));const _0x1fe6c2=new H[(_0x5f28f5(0x3dc))]();_0x2a6631[_0x5f28f5(0x562)](_0x38b079[_0x5f28f5(0x201)]['subscribe'](_0x4d32a0=>_0x1fe6c2[_0x5f28f5(0x4b8)](_0x4d32a0))),_0x2a6631['add'](a[_0x5f28f5(0x4bc)](()=>_0x1fe6c2[_0x5f28f5(0x339)]()));const _0x445347=new H['Subject']();_0x2a6631[_0x5f28f5(0x562)](_0x38b079[_0x5f28f5(0x548)][_0x5f28f5(0x2a7)](_0x59b919=>{var _0x15617b=_0x5f28f5;const _0x4fee1d=ft(_0x59b919);_0x445347[_0x15617b(0x4b8)](_0x4fee1d);})),_0x2a6631['add'](a[_0x5f28f5(0x4bc)](()=>_0x445347[_0x5f28f5(0x339)]()));let _0x1a3bc9;const _0x1870a7=()=>{var _0x385f87=_0x5f28f5;_0x1fe6c2[_0x385f87(0x4b8)](new Event('connection\x20error')),_0x59634d[_0x385f87(0x4b8)](new Event(_0x385f87(0x434))),_0x1a3bc9[_0x385f87(0x457)]();};return _0x1a3bc9={'memberID':'','close$':_0x59634d['asObservable'](),'error$':_0x1fe6c2['asObservable'](),'open$':_0x38b079['open$'],'message$':_0x445347[_0x5f28f5(0x480)](),'send':_0x5ca61f=>{var _0x149b82=_0x5f28f5;if(_0x5ca61f[_0x149b82(0x2e7)]===W[_0x149b82(0x4ec)]){if(_0x5ca61f['data'][_0x149b82(0x3f1)]===p[_0x149b82(0x252)][_0x149b82(0x3c1)]){this[_0x149b82(0x432)](_0x1a3bc9,_0x5ca61f[_0x149b82(0x49d)])['catch'](_0x4ebaa2=>{var _0x49b395=_0x149b82;this[_0x49b395(0x39f)][_0x49b395(0x2c2)](_0x4ebaa2),_0x1870a7();});return;}if(_0x5ca61f[_0x149b82(0x49d)][_0x149b82(0x3f1)]===p[_0x149b82(0x252)]['FETCH_MISSING']){const _0x18b8a1=_0x5ca61f[_0x149b82(0x49d)];this['_fetchMissChangesets'](_0x18b8a1)['then'](_0x306377=>{var _0x50f88b=_0x149b82;_0x445347[_0x50f88b(0x4b8)]({'cmd':W['RECV'],'code':se['OK'],'routeKey':_0x18b8a1[_0x50f88b(0x49d)][_0x50f88b(0x1f2)],'routeType':'','data':{'eventID':p[_0x50f88b(0x252)][_0x50f88b(0x312)],'data':{'changesets':_0x306377}}});})[_0x149b82(0x52e)](_0x517444=>{var _0x4ed753=_0x149b82;this[_0x4ed753(0x39f)]['error'](_0x517444),_0x1870a7();});return;}}_0x38b079[_0x149b82(0x3f7)](It(_0x5ca61f));},'close':()=>{var _0x58b21a=_0x5f28f5;_0x38b079[_0x58b21a(0x457)](),_0x2a6631['dispose']();}},_0x1a3bc9;}async[_0x2f6cf0(0x432)](_0x4ce922,_0x43208c){var _0x42ef5f=_0x2f6cf0,_0x59600e;const {unitType:_0x204db2,unitID:_0x56b8e0,changeset:_0x591019}=_0x43208c[_0x42ef5f(0x49d)],_0x57a8cd={'unitID':_0x56b8e0,'memberID':_0x4ce922[_0x42ef5f(0x283)],'type':_0x204db2,'changeset':p[_0x42ef5f(0x36b)](_0x591019)},_0x11474c=this[_0x42ef5f(0x543)][_0x42ef5f(0x52a)](Y),_0x40acf2=Wt((_0x59600e=_0x11474c==null?void 0x0:_0x11474c[_0x42ef5f(0x28e)])!=null?_0x59600e:kt,_0x204db2,_0x56b8e0);try{await this[_0x42ef5f(0x2bc)][_0x42ef5f(0x295)](_0x40acf2,{'body':_0x57a8cd});}catch(_0x119b94){throw this['_logService'][_0x42ef5f(0x2c2)](_0x42ef5f(0x2f8),_0x42ef5f(0x309)),_0x119b94;}}async['_fetchMissChangesets'](_0x28c56e){var _0x4127e7=_0x2f6cf0;const {unitID:_0x2598a7,from:_0x3d7eb3,to:_0x7e878f,unitType:_0xc86ad6}=_0x28c56e[_0x4127e7(0x49d)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2598a7,'type':_0xc86ad6,'from':_0x3d7eb3,'to':_0x7e878f}))[_0x4127e7(0x429)];}},exports['CollaborationSocketService']=Vt([_e(0x0,a['Inject'](a[_0x2f6cf0(0x3b2)])),_e(0x1,a[_0x2f6cf0(0x4ba)](q[_0x2f6cf0(0x2d4)])),_e(0x2,a[_0x2f6cf0(0x45e)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x2f6cf0(0x406)])],exports[_0x2f6cf0(0x545)]);const Gt='collaboration_new_changeset';function Yt(_0x41ef3f){return JSON['stringify'](_0x41ef3f)['length'];}class He{constructor(){var _0x32a2b0=_0x2f6cf0;A(this,_0x32a2b0(0x262),new H[(_0x32a2b0(0x3dc))]()),A(this,_0x32a2b0(0x22c),this['_commentUpdate$'][_0x32a2b0(0x480)]());}[_0x2f6cf0(0x356)](_0x46529b){this['_commentUpdate$']['next'](_0x46529b);}}var qt=Object[_0x2f6cf0(0x51f)],Kt=(_0x6ffd31,_0x1997ca,_0x554d28,_0x1f8072)=>{for(var _0x5d631b=_0x1f8072>0x1?void 0x0:_0x1f8072?qt(_0x1997ca,_0x554d28):_0x1997ca,_0x6f8bb2=_0x6ffd31['length']-0x1,_0x576106;_0x6f8bb2>=0x0;_0x6f8bb2--)(_0x576106=_0x6ffd31[_0x6f8bb2])&&(_0x5d631b=_0x576106(_0x5d631b)||_0x5d631b);return _0x5d631b;},Ve=(_0x17eb3a,_0x4714c3)=>(_0x2519f9,_0x17e645)=>_0x4714c3(_0x2519f9,_0x17e645,_0x17eb3a);exports[_0x2f6cf0(0x2d2)]=class extends a['Disposable']{constructor(_0x361fae,_0x59cd28){var _0x44340f=_0x2f6cf0;super(),A(this,_0x44340f(0x362),new Map()),A(this,_0x44340f(0x255),new H[(_0x44340f(0x3dc))]()),(this[_0x44340f(0x3a8)]=_0x361fae,this[_0x44340f(0x37f)]=_0x59cd28,this[_0x44340f(0x20b)](H[_0x44340f(0x293)](this['_univerInstanceService'][_0x44340f(0x46f)](a[_0x44340f(0x454)][_0x44340f(0x3b3)])[_0x44340f(0x298)](V[_0x44340f(0x237)](_0x344fc2=>_0x344fc2[_0x44340f(0x3de)]())),this[_0x44340f(0x3a8)][_0x44340f(0x46f)](a[_0x44340f(0x454)][_0x44340f(0x4a1)])[_0x44340f(0x298)](V[_0x44340f(0x237)](_0x543c3f=>_0x543c3f[_0x44340f(0x3de)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x44340f(0x335)])[_0x44340f(0x298)](V[_0x44340f(0x237)](_0xdc70fa=>_0xdc70fa[_0x44340f(0x3de)]())))[_0x44340f(0x2a7)](_0x52bc64=>this[_0x44340f(0x4e6)](_0x52bc64))));}[_0x2f6cf0(0x29f)](_0x22c2fc){var _0x1099aa=_0x2f6cf0;return this['_roomMembers'][_0x1099aa(0x52c)](_0x22c2fc)?H['of'](this[_0x1099aa(0x362)]['get'](_0x22c2fc)):this[_0x1099aa(0x255)]['pipe'](V['map'](_0x116bc5=>{var _0x3bae17=_0x1099aa;if(_0x116bc5===_0x22c2fc)return this[_0x3bae17(0x362)][_0x3bae17(0x1f6)](_0x116bc5);}));}['setCurrentUser'](_0x5039d5){var _0x468543=_0x2f6cf0;this['_userManagerService'][_0x468543(0x2f7)](_0x5039d5);}[_0x2f6cf0(0x217)](){var _0x363084=_0x2f6cf0;return this[_0x363084(0x37f)][_0x363084(0x217)]();}['updateMember'](_0x5a18c0,_0x175af9){var _0x13d07b=_0x2f6cf0;let _0x3c1c86=this[_0x13d07b(0x362)][_0x13d07b(0x1f6)](_0x5a18c0);_0x3c1c86||(_0x3c1c86=new zt(),this[_0x13d07b(0x362)][_0x13d07b(0x48a)](_0x5a18c0,_0x3c1c86),this[_0x13d07b(0x255)][_0x13d07b(0x4b8)](_0x5a18c0)),_0x3c1c86[_0x13d07b(0x3e7)](_0x175af9);}[_0x2f6cf0(0x35b)](_0x1a37d8,_0x5d3f54){var _0x17ceaa=_0x2f6cf0;const _0x1c3671=this[_0x17ceaa(0x362)][_0x17ceaa(0x1f6)](_0x1a37d8);_0x1c3671&&_0x1c3671[_0x17ceaa(0x35b)](_0x5d3f54);}['getRoom'](_0x19bcff){var _0x3a12cb=_0x2f6cf0;return this[_0x3a12cb(0x362)][_0x3a12cb(0x1f6)](_0x19bcff);}[_0x2f6cf0(0x39a)](_0x1b45ec,_0x26fc14){var _0x2ea75d=_0x2f6cf0;const _0x2bf456=this[_0x2ea75d(0x362)][_0x2ea75d(0x1f6)](_0x1b45ec);if(_0x2bf456)return _0x2bf456[_0x2ea75d(0x39a)](_0x26fc14);}[_0x2f6cf0(0x4e6)](_0x53d2ad){var _0x562dc2=_0x2f6cf0;const _0x238ef5=this[_0x562dc2(0x362)]['get'](_0x53d2ad);_0x238ef5&&(_0x238ef5['dispose'](),this[_0x562dc2(0x362)][_0x562dc2(0x53a)](_0x53d2ad));}[_0x2f6cf0(0x4c4)](){var _0x33caeb=_0x2f6cf0;this[_0x33caeb(0x362)]['forEach'](_0x4d629f=>_0x4d629f[_0x33caeb(0x4c4)]()),this[_0x33caeb(0x362)][_0x33caeb(0x468)](),this[_0x33caeb(0x255)]['complete']();}},exports[_0x2f6cf0(0x2d2)]=Kt([Ve(0x0,a[_0x2f6cf0(0x4cf)]),Ve(0x1,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x1f1)]))],exports['MemberService']);class zt extends a[_0x2f6cf0(0x2a3)]{constructor(){var _0x5ce7fc=_0x2f6cf0;super(...arguments),A(this,_0x5ce7fc(0x415),new Map()),A(this,'_members$',new H[(_0x5ce7fc(0x1fd))](this[_0x5ce7fc(0x415)])),A(this,_0x5ce7fc(0x281),this[_0x5ce7fc(0x4d8)][_0x5ce7fc(0x480)]());}[_0x2f6cf0(0x4c4)](){var _0x7a283c=_0x2f6cf0;this[_0x7a283c(0x415)][_0x7a283c(0x468)]();}[_0x2f6cf0(0x3e7)](_0x4ffc61){var _0x703752=_0x2f6cf0;this['_members'][_0x703752(0x48a)](_0x4ffc61[_0x703752(0x283)],_0x4ffc61),this['_emitMembers']();}[_0x2f6cf0(0x35b)](_0x18b3d3){var _0xfaf426=_0x2f6cf0;this[_0xfaf426(0x415)][_0xfaf426(0x53a)](_0x18b3d3);}[_0x2f6cf0(0x39a)](_0x2d8fdc){var _0x4681ba=_0x2f6cf0;return this[_0x4681ba(0x415)][_0x4681ba(0x1f6)](_0x2d8fdc);}[_0x2f6cf0(0x25c)](){var _0x16608f=_0x2f6cf0;return Array[_0x16608f(0x550)](this['_members'][_0x16608f(0x414)]());}[_0x2f6cf0(0x42f)](){var _0x4d3848=_0x2f6cf0;this[_0x4d3848(0x4d8)][_0x4d3848(0x4b8)](this[_0x4d3848(0x415)]);}}var Jt=Object[_0x2f6cf0(0x51f)],Xt=(_0x2ac0d4,_0x5280fb,_0x35c76f,_0x3b4bef)=>{var _0x447762=_0x2f6cf0;for(var _0x25245a=_0x3b4bef>0x1?void 0x0:_0x3b4bef?Jt(_0x5280fb,_0x35c76f):_0x5280fb,_0x3ceaf2=_0x2ac0d4[_0x447762(0x4ca)]-0x1,_0x5a0807;_0x3ceaf2>=0x0;_0x3ceaf2--)(_0x5a0807=_0x2ac0d4[_0x3ceaf2])&&(_0x25245a=_0x5a0807(_0x25245a)||_0x25245a);return _0x25245a;},ce=(_0x768f8c,_0x521f62)=>(_0x5707b1,_0x25a4d0)=>_0x521f62(_0x5707b1,_0x25a4d0,_0x768f8c),re=(_0x42a3f8=>(_0x42a3f8[_0x42a3f8[_0x2f6cf0(0x4c8)]=0x0]=_0x2f6cf0(0x4c8),_0x42a3f8[_0x42a3f8['JOINING']=0x1]=_0x2f6cf0(0x208),_0x42a3f8[_0x42a3f8['OFFLINE']=0x2]='OFFLINE',_0x42a3f8[_0x42a3f8['ONLINE']=0x3]=_0x2f6cf0(0x47d),_0x42a3f8))(re||{});const We={[se[_0x2f6cf0(0x360)]]:'session.join-failed',[se[_0x2f6cf0(0x4e4)]]:_0x2f6cf0(0x37e),[se['JOIN_ROOM_NOT_EXISTS']]:_0x2f6cf0(0x224),[se[_0x2f6cf0(0x44d)]]:'session.room-permission-denied',[se[_0x2f6cf0(0x215)]]:_0x2f6cf0(0x319)};exports[_0x2f6cf0(0x35c)]=class extends a[_0x2f6cf0(0x44c)]{constructor(_0xa9f763,_0x26bb0e,_0x2a4086,_0x118995,_0x4f943d,_0x5a84a4,_0x3e7cb1,_0x4e397d){var _0x3c7b23=_0x2f6cf0;super(),A(this,_0x3c7b23(0x2be),new H['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x3c7b23(0x2be)][_0x3c7b23(0x480)]()),A(this,_0x3c7b23(0x518),new H['Subject']()),A(this,_0x3c7b23(0x329),this[_0x3c7b23(0x518)][_0x3c7b23(0x480)]()),A(this,_0x3c7b23(0x268)),A(this,_0x3c7b23(0x1f5)),A(this,_0x3c7b23(0x521)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x3c7b23(0x50f),null),(this[_0x3c7b23(0x40a)]=_0xa9f763,this[_0x3c7b23(0x39f)]=_0x2a4086,this[_0x3c7b23(0x543)]=_0x118995,this[_0x3c7b23(0x4e2)]=_0x4f943d,this[_0x3c7b23(0x420)]=_0x5a84a4,this[_0x3c7b23(0x22f)]=_0x3e7cb1,this['_telemetryService']=_0x4e397d,this[_0x3c7b23(0x3fb)]=!!this['_telemetryService'],_0x26bb0e[_0x3c7b23(0x298)](H['takeUntil'](this[_0x3c7b23(0x3d9)]))[_0x3c7b23(0x2a7)](_0x205e51=>{var _0xd5841e=_0x3c7b23,_0x4f3c62;typeof _0x205e51>'u'||(this[_0xd5841e(0x268)]=_0x205e51,_0x205e51?(this[_0xd5841e(0x3fe)](_0x205e51),this[_0xd5841e(0x1f5)]=_0x205e51['message$'][_0xd5841e(0x2a7)](_0x1c747c=>{var _0x185be5=_0xd5841e;_0x1c747c[_0x185be5(0x439)]===this[_0x185be5(0x40a)]&&this[_0x185be5(0x503)](_0x1c747c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xd5841e(0x2be)][_0xd5841e(0x4b8)](0x2),(_0x4f3c62=this[_0xd5841e(0x1f5)])==null||_0x4f3c62[_0xd5841e(0x1f7)](),this[_0xd5841e(0x1f5)]=null));}));}get[_0x2f6cf0(0x25f)](){var _0x93bc64=_0x2f6cf0;return this[_0x93bc64(0x2be)][_0x93bc64(0x2b2)]();}[_0x2f6cf0(0x54c)](){var _0x19726b,_0x58e3cb;return(_0x58e3cb=(_0x19726b=this['_socket'])==null?void 0x0:_0x19726b['memberID'])!=null?_0x58e3cb:null;}[_0x2f6cf0(0x4c4)](){var _0x47f6ab=_0x2f6cf0;super[_0x47f6ab(0x4c4)](),this[_0x47f6ab(0x3d9)][_0x47f6ab(0x4b8)](),this[_0x47f6ab(0x3d9)][_0x47f6ab(0x339)]();}[_0x2f6cf0(0x457)](){var _0x12c9a9=_0x2f6cf0,_0x577757,_0x58a293;this[_0x12c9a9(0x316)](),(_0x577757=this[_0x12c9a9(0x268)])==null||_0x577757[_0x12c9a9(0x3f7)]({'cmd':W[_0x12c9a9(0x382)],'data':{'roomID':this['_unitID']}}),(_0x58a293=this['_socket'])==null||_0x58a293[_0x12c9a9(0x457)](),this[_0x12c9a9(0x518)]['complete'](),this['_sessionStatus$'][_0x12c9a9(0x339)](),this[_0x12c9a9(0x4c4)]();}[_0x2f6cf0(0x503)](_0x1d55cf){var _0x3574d5=_0x2f6cf0;_0x1d55cf[_0x3574d5(0x2e7)]===W['JOIN']?this[_0x3574d5(0x2d6)](_0x1d55cf):_0x1d55cf[_0x3574d5(0x2e7)]===W[_0x3574d5(0x407)]&&this[_0x3574d5(0x44b)](_0x1d55cf);}[_0x2f6cf0(0x3fe)](_0x5a2a9d){var _0x5b8645=_0x2f6cf0;this[_0x5b8645(0x2be)][_0x5b8645(0x4b8)](0x1),_0x5a2a9d[_0x5b8645(0x3f7)]({'cmd':W[_0x5b8645(0x2cb)],'routeKey':this[_0x5b8645(0x40a)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2f6cf0(0x2d6)](_0x425c05){var _0x443686=_0x2f6cf0,_0x3d5a24;if(_0x425c05['code']in We){this[_0x443686(0x22f)][_0x443686(0x33e)]({'id':Z[_0x443686(0x46d)],'data':We[_0x425c05[_0x443686(0x44e)]]}),this[_0x443686(0x2be)][_0x443686(0x4b8)](0x2);return;}this[_0x443686(0x2be)][_0x443686(0x4b8)](0x3);const _0x118791=(_0x3d5a24=_0x425c05[_0x443686(0x49d)][_0x443686(0x232)][this[_0x443686(0x40a)]])==null?void 0x0:_0x3d5a24[_0x443686(0x274)];_0x118791&&_0x118791['forEach'](_0x3f7596=>this['_memberService']['updateMember'](this['_unitID'],_0x3f7596));}[_0x2f6cf0(0x44b)](_0xc66cfa){var _0x20b7d7=_0x2f6cf0;try{const _0x37808e=_0xc66cfa['data'];switch(_0x37808e[_0x20b7d7(0x3f1)]){case p[_0x20b7d7(0x252)][_0x20b7d7(0x251)]:this['_onUserJoin'](_0x37808e),this['_event$']['next'](_0x37808e);break;case p[_0x20b7d7(0x252)][_0x20b7d7(0x38a)]:this['_onUserLeave'](_0x37808e),this[_0x20b7d7(0x518)]['next'](_0x37808e);break;case p[_0x20b7d7(0x252)][_0x20b7d7(0x4cb)]:case p[_0x20b7d7(0x252)]['CHANGESET_SHOULD_RETRY']:this[_0x20b7d7(0x209)](),this[_0x20b7d7(0x54d)](),this[_0x20b7d7(0x518)][_0x20b7d7(0x4b8)](_0x37808e);break;case p[_0x20b7d7(0x252)][_0x20b7d7(0x2ab)]:this['_logService'][_0x20b7d7(0x2c2)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x20b7d7(0x245)](_0x37808e)),this[_0x20b7d7(0x518)]['next'](_0x37808e);break;case p[_0x20b7d7(0x252)]['COMMENT_UPDATE']:this[_0x20b7d7(0x420)][_0x20b7d7(0x356)](_0x37808e[_0x20b7d7(0x49d)]),this['_event$']['next'](_0x37808e);break;default:this[_0x20b7d7(0x518)][_0x20b7d7(0x4b8)](_0x37808e);}}catch(_0x161212){this[_0x20b7d7(0x39f)]['error'](_0x161212,_0xc66cfa);}}[_0x2f6cf0(0x46a)](_0x1baa78){var _0x6823df=_0x2f6cf0;this[_0x6823df(0x4e2)][_0x6823df(0x3e7)](this[_0x6823df(0x40a)],_0x1baa78[_0x6823df(0x49d)]);}['_onUserLeave'](_0x349dc7){var _0xd5bda=_0x2f6cf0;this[_0xd5bda(0x4e2)][_0xd5bda(0x35b)](this[_0xd5bda(0x40a)],_0x349dc7[_0xd5bda(0x49d)]['memberID']);}async[_0x2f6cf0(0x3f7)](_0x337a3a,_0x2fa3d){var _0x3e2635=_0x2f6cf0;if(this[_0x3e2635(0x25f)]!==0x3||!this[_0x3e2635(0x268)])throw new Error(_0x3e2635(0x508));try{_0x337a3a[_0x3e2635(0x3f1)]===p[_0x3e2635(0x252)][_0x3e2635(0x3c1)]&&(this[_0x3e2635(0x287)](),this[_0x3e2635(0x357)](_0x337a3a)),this[_0x3e2635(0x268)][_0x3e2635(0x3f7)]({'cmd':W['INGEST'],'routeKey':_0x2fa3d,'routeType':'','data':_0x337a3a});}catch(_0x2305d5){this[_0x3e2635(0x39f)][_0x3e2635(0x2c2)](_0x2305d5);}}[_0x2f6cf0(0x287)](){var _0x1b2e2c=_0x2f6cf0,_0x438244;this[_0x1b2e2c(0x521)]=setTimeout(()=>{var _0x3ce580=_0x1b2e2c;this[_0x3ce580(0x521)]=null,this['_collaborationUIEventService'][_0x3ce580(0x33e)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x438244=this[_0x1b2e2c(0x543)]['getConfig'](ke))!=null?_0x438244:lt);}[_0x2f6cf0(0x54d)](){var _0x224814=_0x2f6cf0;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x224814(0x521)]),this[_0x224814(0x521)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4dee77){var _0x43f76c=_0x2f6cf0;if(!this[_0x43f76c(0x3fb)])return;const {data:_0x52e6ba}=_0x4dee77,{unitID:_0x51bad1,changeset:_0x1fa752}=_0x52e6ba,{mutations:_0x4c48c6,type:_0x3b9c87}=_0x1fa752;this[_0x43f76c(0x50f)]={'unitId':_0x51bad1,'type':_0x3b9c87,'startTime':performance[_0x43f76c(0x4dc)](),'stopTime':0x0,'duration':0x0,'size':Yt(_0x4c48c6)};}[_0x2f6cf0(0x209)](){var _0xe6973f=_0x2f6cf0;if(this['_shouldReportTelemetry']){if(!this[_0xe6973f(0x50f)]){this['_logService'][_0xe6973f(0x2c2)](_0xe6973f(0x2f8),_0xe6973f(0x33c));return;}this[_0xe6973f(0x50f)][_0xe6973f(0x325)]=performance['now'](),this[_0xe6973f(0x50f)][_0xe6973f(0x4ce)]=this[_0xe6973f(0x50f)][_0xe6973f(0x325)]-this['_telemetryInfo'][_0xe6973f(0x4bb)],this[_0xe6973f(0x3c8)][_0xe6973f(0x4fd)](Gt,this[_0xe6973f(0x50f)]),this[_0xe6973f(0x50f)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x3751e8=_0x2f6cf0;this[_0x3751e8(0x50f)]=null;}},exports[_0x2f6cf0(0x35c)]=Xt([ce(0x2,a['ILogService']),ce(0x3,a[_0x2f6cf0(0x45e)]),ce(0x4,a[_0x2f6cf0(0x4ba)](exports[_0x2f6cf0(0x2d2)])),ce(0x5,a[_0x2f6cf0(0x4ba)](He)),ce(0x6,a[_0x2f6cf0(0x4ba)](ee)),ce(0x7,a[_0x2f6cf0(0x388)](Rt['ITelemetryService']))],exports['CollaborationSession']);var Zt=Object[_0x2f6cf0(0x51f)],Qt=(_0x1d1b8d,_0x47ca05,_0x1192ba,_0x3e7ae2)=>{var _0x558d37=_0x2f6cf0;for(var _0x23a044=_0x3e7ae2>0x1?void 0x0:_0x3e7ae2?Zt(_0x47ca05,_0x1192ba):_0x47ca05,_0x1f577b=_0x1d1b8d[_0x558d37(0x4ca)]-0x1,_0x569615;_0x1f577b>=0x0;_0x1f577b--)(_0x569615=_0x1d1b8d[_0x1f577b])&&(_0x23a044=_0x569615(_0x23a044)||_0x23a044);return _0x23a044;},he=(_0x4146a,_0x639ea0)=>(_0x35caef,_0x2f59c3)=>_0x639ea0(_0x35caef,_0x2f59c3,_0x4146a);exports[_0x2f6cf0(0x365)]=class extends a['Disposable']{constructor(_0x58a7c8,_0x553ae2,_0x222ba,_0x48ce5f,_0x3cbf14,_0x1dffea){var _0x1a35b0=_0x2f6cf0;super(),A(this,_0x1a35b0(0x546),new H[(_0x1a35b0(0x1fd))](void 0x0)),A(this,_0x1a35b0(0x4b6),this[_0x1a35b0(0x546)][_0x1a35b0(0x480)]()),A(this,_0x1a35b0(0x549),null),A(this,_0x1a35b0(0x2b5),new Map()),A(this,_0x1a35b0(0x310),new H[(_0x1a35b0(0x1fd))](re[_0x1a35b0(0x4c8)])),A(this,_0x1a35b0(0x321),this[_0x1a35b0(0x310)]['asObservable']()),A(this,_0x1a35b0(0x24d),!0x1),A(this,_0x1a35b0(0x3b8)),A(this,_0x1a35b0(0x34f),0x0),A(this,_0x1a35b0(0x1fc)),A(this,_0x1a35b0(0x3cf)),(this[_0x1a35b0(0x2d8)]=_0x58a7c8,this[_0x1a35b0(0x39f)]=_0x553ae2,this['_configService']=_0x222ba,this[_0x1a35b0(0x315)]=_0x48ce5f,this[_0x1a35b0(0x22f)]=_0x3cbf14,this[_0x1a35b0(0x41b)]=_0x1dffea,this[_0x1a35b0(0x50c)]());}get['_socket'](){var _0x5c0a76=_0x2f6cf0;return this[_0x5c0a76(0x546)][_0x5c0a76(0x2b2)]();}['_listenToNetworkCondition'](){var _0x420df6=_0x2f6cf0;this[_0x420df6(0x41b)]&&this[_0x420df6(0x20b)](this[_0x420df6(0x41b)]['online$']['subscribe'](_0x217d49=>{var _0x22c547=_0x420df6;_0x217d49&&!this[_0x22c547(0x268)]&&this[_0x22c547(0x206)](),_0x217d49||this[_0x22c547(0x2e6)]();}));}[_0x2f6cf0(0x4c4)](){var _0x3cd4f1=_0x2f6cf0;super[_0x3cd4f1(0x4c4)](),this[_0x3cd4f1(0x474)](),this['_clearTimeoutTimer'](),this[_0x3cd4f1(0x422)](),this[_0x3cd4f1(0x2b5)][_0x3cd4f1(0x397)](_0x57c68a=>_0x57c68a['dispose']()),this['_sessions'][_0x3cd4f1(0x468)](),this['_status$'][_0x3cd4f1(0x339)]();}async[_0x2f6cf0(0x241)](_0x1d4898){var _0x4544b1=_0x2f6cf0;if(this[_0x4544b1(0x2b5)][_0x4544b1(0x52c)](_0x1d4898))return this[_0x4544b1(0x2b5)]['get'](_0x1d4898);this[_0x4544b1(0x43c)]();const _0x566223=this[_0x4544b1(0x2d8)][_0x4544b1(0x486)](exports['CollaborationSession'],_0x1d4898,this['_socket$']['asObservable']());return this[_0x4544b1(0x2b5)][_0x4544b1(0x48a)](_0x1d4898,_0x566223),_0x566223;}[_0x2f6cf0(0x284)](_0x3c68b6){var _0x883c2b=_0x2f6cf0,_0x6351a1;const _0x2bcbb1=this[_0x883c2b(0x2b5)][_0x883c2b(0x1f6)](_0x3c68b6);_0x2bcbb1&&(this[_0x883c2b(0x2b5)][_0x883c2b(0x53a)](_0x3c68b6),_0x2bcbb1['close']()),this[_0x883c2b(0x2b5)][_0x883c2b(0x290)]||(_0x6351a1=this['_socket'])==null||_0x6351a1[_0x883c2b(0x457)]();}[_0x2f6cf0(0x206)](){var _0x472f0a=_0x2f6cf0;this[_0x472f0a(0x34f)]=0x0,this[_0x472f0a(0x474)](),this[_0x472f0a(0x34e)]();}[_0x2f6cf0(0x474)](){var _0x3fb046=_0x2f6cf0;this[_0x3fb046(0x3b8)]!=null&&(clearTimeout(this[_0x3fb046(0x3b8)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x5597ea=_0x2f6cf0,_0x19155d;const _0x1467e6=this['_configService'][_0x5597ea(0x52a)](Y),_0x42a742=(_0x19155d=_0x1467e6==null?void 0x0:_0x1467e6[_0x5597ea(0x23e)])!=null?_0x19155d:ht,_0x116e7d=await this['_socketService'][_0x5597ea(0x433)](_0x42a742);return this[_0x5597ea(0x549)]=_0x116e7d,_0x116e7d;}async[_0x2f6cf0(0x43c)](){var _0x4d2e9d=_0x2f6cf0,_0x37dd2e,_0x33751e;try{const _0x3b6d94=(_0x33751e=(_0x37dd2e=this[_0x4d2e9d(0x268)])!=null?_0x37dd2e:this[_0x4d2e9d(0x549)])!=null?_0x33751e:await this[_0x4d2e9d(0x482)]();if(_0x3b6d94){const _0x38ca73=_0x3b6d94[_0x4d2e9d(0x3f7)];_0x3b6d94['send']=_0x12359a=>(this[_0x4d2e9d(0x544)](),_0x38ca73[_0x4d2e9d(0x2a8)](_0x3b6d94,[_0x12359a])),_0x3b6d94[_0x4d2e9d(0x548)][_0x4d2e9d(0x2a7)](_0x15d0d1=>this[_0x4d2e9d(0x525)](_0x3b6d94,_0x15d0d1)),_0x3b6d94['error$']['pipe'](V['take'](0x1))[_0x4d2e9d(0x2a7)](_0x1d1d46=>this['_logService'][_0x4d2e9d(0x2c2)](_0x4d2e9d(0x1fb),_0x1d1d46)),_0x3b6d94['open$'][_0x4d2e9d(0x298)](V[_0x4d2e9d(0x2d5)](0x1))[_0x4d2e9d(0x2a7)](()=>{this['_onConnectionOpen'](_0x3b6d94);}),_0x3b6d94[_0x4d2e9d(0x326)][_0x4d2e9d(0x298)](V[_0x4d2e9d(0x2d5)](0x1))[_0x4d2e9d(0x2a7)](_0x23d302=>{var _0x57985d=_0x4d2e9d;this[_0x57985d(0x39f)][_0x57985d(0x359)](_0x57985d(0x313),_0x57985d(0x44a),_0x23d302),this['_onConnectionFailed']();});}}catch(_0x350c83){this[_0x4d2e9d(0x39f)][_0x4d2e9d(0x2c2)](_0x350c83),this[_0x4d2e9d(0x560)]();}}['_onConnectionOpen'](_0x5e6f57){var _0x517bb1=_0x2f6cf0;this[_0x517bb1(0x39f)][_0x517bb1(0x359)](_0x517bb1(0x313),_0x517bb1(0x55f)),_0x5e6f57['send']({'cmd':W['HELLO']}),this[_0x517bb1(0x544)]();}['_onOffline'](){var _0x445302=_0x2f6cf0;this[_0x445302(0x24d)]=!0x1,this[_0x445302(0x549)]=null,this['_status$'][_0x445302(0x4b8)](re[_0x445302(0x3ee)]),this[_0x445302(0x546)][_0x445302(0x4b8)](null),this[_0x445302(0x2f1)](),this[_0x445302(0x422)]();}['_onConnectionFailed'](){var _0x1c2b77=_0x2f6cf0,_0x5df299;this['_onOffline'](),this[_0x1c2b77(0x34f)]<((_0x5df299=this['_configService'][_0x1c2b77(0x52a)](ut))!=null?_0x5df299:Mt)?(this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x1c2b77(0x481)]}),this[_0x1c2b77(0x34e)]()):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x1c2b77(0x30e)]});}['_tryReconnect'](){var _0x4c1a7d=_0x2f6cf0,_0x4656c4;const _0x31a609=this[_0x4c1a7d(0x34f)],_0x529922=this[_0x4c1a7d(0x543)][_0x4c1a7d(0x52a)](Y),_0x2ef766=_0x31a609===0x0?0x0:((_0x4656c4=_0x529922==null?void 0x0:_0x529922[_0x4c1a7d(0x2fd)])!=null?_0x4656c4:wt)*0x2**_0x31a609;this['_retryConnectingTimer']=setTimeout(()=>{var _0x1318a3=_0x4c1a7d;clearTimeout(this[_0x1318a3(0x3b8)]),this['_retryConnectingTimer']=null,this[_0x1318a3(0x43c)]();},_0x2ef766),this[_0x4c1a7d(0x34f)]+=0x1;}['_onMessage'](_0x4f6130,_0x5d0d1d){var _0x4a6d44=_0x2f6cf0;const {cmd:_0x2335e1}=_0x5d0d1d;_0x2335e1===W['HELLO']&&!this[_0x4a6d44(0x24d)]&&(_0x4f6130['memberID']=_0x5d0d1d['data']['memberID'],this[_0x4a6d44(0x546)]['next'](_0x4f6130),this['_status$'][_0x4a6d44(0x4b8)](re[_0x4a6d44(0x47d)]),this[_0x4a6d44(0x24d)]=!0x0,this[_0x4a6d44(0x549)]=null),_0x2335e1===W[_0x4a6d44(0x336)]&&this[_0x4a6d44(0x2f1)](),this['_rescheduleHeartbeat']();}[_0x2f6cf0(0x544)](){var _0x48d16e=_0x2f6cf0,_0x49d295;this['_clearHeartbeatTimer'](),this[_0x48d16e(0x1fc)]=setTimeout(()=>this[_0x48d16e(0x4f2)](),(_0x49d295=this[_0x48d16e(0x543)][_0x48d16e(0x52a)](_t))!=null?_0x49d295:Pt);}['_sendHeartbeat'](){var _0xfd5c87=_0x2f6cf0;this[_0xfd5c87(0x268)][_0xfd5c87(0x3f7)]({'cmd':W[_0xfd5c87(0x336)]}),this['_waitForHeartbeatResponse']();}[_0x2f6cf0(0x496)](){var _0xc49af=_0x2f6cf0,_0x5b1d1b;this['_timeoutTimer']=setTimeout(()=>this[_0xc49af(0x560)](),(_0x5b1d1b=this[_0xc49af(0x543)][_0xc49af(0x52a)](ke))!=null?_0x5b1d1b:lt);}[_0x2f6cf0(0x422)](){var _0x4d75b9=_0x2f6cf0;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4d75b9(0x1fc)]),this[_0x4d75b9(0x1fc)]=null);}[_0x2f6cf0(0x2f1)](){var _0x3ebdfc=_0x2f6cf0;this[_0x3ebdfc(0x3cf)]!=null&&(clearTimeout(this[_0x3ebdfc(0x3cf)]),this[_0x3ebdfc(0x3cf)]=null);}},exports[_0x2f6cf0(0x365)]=Qt([he(0x0,a[_0x2f6cf0(0x4ba)](a['Injector'])),he(0x1,a['ILogService']),he(0x2,a['IConfigService']),he(0x3,$e),he(0x4,a[_0x2f6cf0(0x4ba)](ee)),he(0x5,a[_0x2f6cf0(0x388)](St))],exports[_0x2f6cf0(0x365)]);const K=a[_0x2f6cf0(0x276)](_0x2f6cf0(0x4f8));function ei(_0x47050a){return'unit-cache-'+_0x47050a;}var ti=Object['getOwnPropertyDescriptor'],ii=(_0x1dfb88,_0x327e60,_0x5400f0,_0x485308)=>{var _0xe21fa7=_0x2f6cf0;for(var _0x81ae2f=_0x485308>0x1?void 0x0:_0x485308?ti(_0x327e60,_0x5400f0):_0x327e60,_0xe83569=_0x1dfb88[_0xe21fa7(0x4ca)]-0x1,_0x25faf2;_0xe83569>=0x0;_0xe83569--)(_0x25faf2=_0x1dfb88[_0xe83569])&&(_0x81ae2f=_0x25faf2(_0x81ae2f)||_0x81ae2f);return _0x81ae2f;},Ue=(_0x182f37,_0x46f014)=>(_0x2036cc,_0x551cc7)=>_0x46f014(_0x2036cc,_0x551cc7,_0x182f37);function ni(_0x3b3dcb){var _0x589e50=_0x2f6cf0;const {unitID:_0x3f5ebf,mutations:_0x295244}=_0x3b3dcb;return{'unitId':_0x3f5ebf,'subUnitId':_0x295244[0x0][_0x589e50(0x2a1)][_0x589e50(0x235)]};}exports[_0x2f6cf0(0x448)]=class{constructor(_0x1bc0ee,_0xf7e942,_0x20fe7c){var _0x67e570=_0x2f6cf0;this['_injector']=_0x1bc0ee,this[_0x67e570(0x54f)]=_0xf7e942,this['_instanceService']=_0x20fe7c;}[_0x2f6cf0(0x2b8)](_0x155749){var _0x33a651=_0x2f6cf0,_0x3570d0,_0x4a8c43,_0x5964c0,_0x3f6f17;const _0x56988a=this['_injector'][_0x33a651(0x1f6)](X[_0x33a651(0x331)]),{unitId:_0x53d4b2,subUnitId:_0x1d5d27}=ni(_0x155749),_0x3a1dfb=_0x56988a==null?void 0x0:_0x56988a['getWorkbookSelections'](_0x53d4b2)['getCurrentSelections'](),_0x2d5dab=(_0x4a8c43=(_0x3570d0=this[_0x33a651(0x300)][_0x33a651(0x392)](_0x53d4b2))==null?void 0x0:_0x3570d0[_0x33a651(0x43a)]())==null?void 0x0:_0x4a8c43[_0x33a651(0x1fe)]();if(_0x3a1dfb[_0x33a651(0x4ca)]===0x0||!_0x53d4b2||!_0x1d5d27)return;const _0x5c371f=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x53d4b2,'subUnitId':_0x2d5dab,'selections':a[_0x33a651(0x337)][_0x33a651(0x219)](_0x3a1dfb)}}],_0x30fb19=this['_transformService'][_0x33a651(0x49c)](_0x155749,_0x5c371f);if(!p[_0x33a651(0x332)](_0x30fb19))throw _0x30fb19[_0x33a651(0x2c2)];const _0x58caca=(_0x3f6f17=(_0x5964c0=_0x30fb19[_0x33a651(0x203)][0x0])==null?void 0x0:_0x5964c0[_0x33a651(0x2a1)])==null?void 0x0:_0x3f6f17['selections'];if(Array['isArray'](_0x58caca)&&_0x58caca[_0x33a651(0x4ca)]){if(_0x58caca['length']===_0x5c371f[0x0]['params']['selections'][_0x33a651(0x4ca)]&&_0x58caca[_0x33a651(0x32f)]((_0x423622,_0x5f3382)=>a[_0x33a651(0x3d0)][_0x33a651(0x28b)](_0x423622[_0x33a651(0x491)],_0x5c371f[0x0]['params'][_0x33a651(0x204)][_0x5f3382][_0x33a651(0x491)])))return;this['_injector']['get'](a['ICommandService'])[_0x33a651(0x44f)](X[_0x33a651(0x3d4)]['id'],{'unitId':_0x53d4b2,'subUnitId':_0x2d5dab,'selections':_0x58caca});}}},exports[_0x2f6cf0(0x448)]=ii([Ue(0x0,a[_0x2f6cf0(0x4ba)](a['Injector'])),Ue(0x1,p[_0x2f6cf0(0x517)]),Ue(0x2,a[_0x2f6cf0(0x4cf)])],exports[_0x2f6cf0(0x448)]);const de=a[_0x2f6cf0(0x276)](_0x2f6cf0(0x52d));var je=(_0x3f7360=>(_0x3f7360[_0x3f7360['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3f7360[_0x3f7360['OTHER_CLIENTS_EDITING']=0x1]=_0x2f6cf0(0x445),_0x3f7360))(je||{});const ri=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x3ec6fa,_0x5cbf1b,_0x191939,_0x4d1b6e,_0x39b1e3){var _0x1a66bd=_0x2f6cf0,_0x6b16e6,_0x1c4289,_0x4e9ab2,_0x4bc8ae;const _0x2ead69=[];for(const _0x7ce601 of _0x3ec6fa)if(ri[_0x1a66bd(0x52c)](_0x7ce601['id'])){if(_0x2ead69[_0x1a66bd(0x4ca)]>0x0)break;_0x2ead69['push'](_0x7ce601);break;}else _0x2ead69[_0x1a66bd(0x547)](_0x7ce601);const _0x413761=(_0x1c4289=(_0x6b16e6=_0x39b1e3[_0x1a66bd(0x217)]())==null?void 0x0:_0x6b16e6[_0x1a66bd(0x4cc)])!=null?_0x1c4289:'unknown',_0x3e1a66=(_0x4bc8ae=(_0x4e9ab2=_0x39b1e3[_0x1a66bd(0x217)]())==null?void 0x0:_0x4e9ab2[_0x1a66bd(0x283)])!=null?_0x4bc8ae:_0x1a66bd(0x3c3);return{'changeset':{'unitID':_0x5cbf1b,'type':p[_0x1a66bd(0x211)](_0x191939['getUnitType'](_0x5cbf1b)),'baseRev':_0x4d1b6e[_0x1a66bd(0x2ff)](_0x5cbf1b),'revision':0x0,'userID':_0x413761,'memberID':_0x3e1a66,'mutations':_0x2ead69},'pendingMutations':_0x3ec6fa[_0x1a66bd(0x2e5)](_0x2ead69[_0x1a66bd(0x4ca)])};}function si(_0x59b6b4,_0x1b2a4e,_0x25a5bb,_0x2394d8,_0x3feed0){var _0x4a9fb0=_0x2f6cf0,_0x4467aa,_0x26d689,_0x5f3113,_0x236dbd;const _0x23fa64=[_0x59b6b4[_0x4a9fb0(0x49e)]((_0x2edcc6,_0x3898d0)=>{var _0x517908=_0x4a9fb0,_0x2d0f0c;const {id:_0xf16b97}=_0x2edcc6,{id:_0x475743,type:_0x224d30}=_0x3898d0,_0x55dfb0=(_0x2d0f0c=_0x2edcc6[_0x517908(0x2a1)])!=null?_0x2d0f0c:{'actions':null},_0x5d009=_0x3898d0[_0x517908(0x2a1)];if(_0xf16b97&&_0xf16b97!==_0x475743)throw new Error(_0x517908(0x23a)+_0xf16b97+_0x517908(0x4c1)+_0x475743+'.');return{..._0x2edcc6,'id':_0x475743,'type':_0x224d30,'params':{'unitId':_0x5d009[_0x517908(0x4d7)],'textRanges':_0x5d009[_0x517908(0x4db)],'actions':a[_0x517908(0x43e)][_0x517908(0x3bb)](_0x55dfb0[_0x517908(0x21b)],_0x5d009['actions'])}};},{})],_0x58a4b1=(_0x26d689=(_0x4467aa=_0x3feed0['getCurrentUser']())==null?void 0x0:_0x4467aa['userID'])!=null?_0x26d689:_0x4a9fb0(0x3c3),_0x4bad76=(_0x236dbd=(_0x5f3113=_0x3feed0[_0x4a9fb0(0x217)]())==null?void 0x0:_0x5f3113['memberID'])!=null?_0x236dbd:'unknown';return{'changeset':{'unitID':_0x1b2a4e,'type':p['mapDocumentTypeToUniverType'](_0x25a5bb[_0x4a9fb0(0x373)](_0x1b2a4e)),'baseRev':_0x2394d8[_0x4a9fb0(0x2ff)](_0x1b2a4e),'revision':0x0,'userID':_0x58a4b1,'memberID':_0x4bad76,'mutations':_0x23fa64},'pendingMutations':[]};}function _0x30fe(_0x40e66b,_0x7b4637){var _0x1f964c=_0x1f96();return _0x30fe=function(_0x30feab,_0x4c3d3c){_0x30feab=_0x30feab-0x1f1;var _0x34b328=_0x1f964c[_0x30feab];return _0x34b328;},_0x30fe(_0x40e66b,_0x7b4637);}function pt(_0x4e3bce,_0x4b7186){var _0x362eac=_0x2f6cf0;const _0x5352fd=new H[(_0x362eac(0x22a))](0x1);return setTimeout(()=>_0x5352fd['next'](_0x4b7186),_0x4e3bce),_0x5352fd[_0x362eac(0x480)]()[_0x362eac(0x298)](H[_0x362eac(0x2d5)](0x1));}const oi={'id':X[_0x2f6cf0(0x38b)]['id'],'type':a[_0x2f6cf0(0x2ed)][_0x2f6cf0(0x24c)],'params':{}};var ai=Object['getOwnPropertyDescriptor'],oe=(_0x16888c,_0x301cd5,_0x40d0d0,_0x1e32bb)=>{var _0x4ec006=_0x2f6cf0;for(var _0x4ec419=_0x1e32bb>0x1?void 0x0:_0x1e32bb?ai(_0x301cd5,_0x40d0d0):_0x301cd5,_0x1e4f62=_0x16888c[_0x4ec006(0x4ca)]-0x1,_0x5d9fad;_0x1e4f62>=0x0;_0x1e4f62--)(_0x5d9fad=_0x16888c[_0x1e4f62])&&(_0x4ec419=_0x5d9fad(_0x4ec419)||_0x4ec419);return _0x4ec419;},w=(_0x2d800d,_0x5a1b24)=>(_0x56d79a,_0x32c47c)=>_0x5a1b24(_0x56d79a,_0x32c47c,_0x2d800d),Be=(_0x42c144=>(_0x42c144[_0x2f6cf0(0x42a)]='not_collab',_0x42c144[_0x2f6cf0(0x353)]=_0x2f6cf0(0x387),_0x42c144['PENDING']=_0x2f6cf0(0x38d),_0x42c144['AWAITING']='awaiting',_0x42c144[_0x2f6cf0(0x3ca)]=_0x2f6cf0(0x384),_0x42c144['FETCH_MISS']=_0x2f6cf0(0x288),_0x42c144[_0x2f6cf0(0x4de)]=_0x2f6cf0(0x4d0),_0x42c144[_0x2f6cf0(0x3ee)]='offline',_0x42c144))(Be||{});const mt=0xea60;class ae{constructor(_0x20b63d,_0x51902e,_0x5cbf6c,_0x25e01,_0x4a57f7,_0x4cdb1a,_0x2fafc3,_0x4dc237,_0x15a7db){var _0x550745=_0x2f6cf0;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this['unitID']=_0x20b63d,this['type']=_0x51902e,this[_0x550745(0x41a)]=_0x4a57f7,this[_0x550745(0x45d)]=_0x4cdb1a,this[_0x550745(0x253)]=_0x2fafc3,this[_0x550745(0x507)]=_0x4dc237,this[_0x550745(0x2c3)]=_0x15a7db,this['_awaitingChangeset']=_0x5cbf6c,this[_0x550745(0x4b7)]=_0x25e01);}[_0x2f6cf0(0x36a)](_0x1a7274){var _0x352281=_0x2f6cf0;const _0x19369f=this[_0x352281(0x507)]['getCurrentRevOfUnit'](this[_0x352281(0x1f2)]);return _0x1a7274[_0x352281(0x303)]>_0x19369f+0x1?(this[_0x352281(0x41a)]['onMissingChangesets']({'from':_0x19369f,'to':_0x1a7274[_0x352281(0x303)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x12b6de){var _0x26f02c=_0x2f6cf0;this['_undoRedoService'][_0x26f02c(0x4fb)](this[_0x26f02c(0x1f2)],_0x12b6de);}[_0x2f6cf0(0x4ee)](_0x12d5cf){var _0x57755b=_0x2f6cf0,_0x51e46f,_0x1e44f1;(_0x1e44f1=(_0x51e46f=this[_0x57755b(0x41a)])[_0x57755b(0x4dd)])==null||_0x1e44f1[_0x57755b(0x411)](_0x51e46f,_0x12d5cf);}[_0x2f6cf0(0x4e1)](_0x44accc){var _0x5cd7e9,_0x4ab530;return(_0x4ab530=(_0x5cd7e9=this['_handler'])['onTransformIME'])==null?void 0x0:_0x4ab530['call'](_0x5cd7e9,_0x44accc);}[_0x2f6cf0(0x277)](_0x242513){var _0x17d5c1=_0x2f6cf0,_0x53a266,_0xcfd1df;return(_0xcfd1df=(_0x53a266=this[_0x17d5c1(0x41a)])['onTransformState'])==null?void 0x0:_0xcfd1df['call'](_0x53a266,_0x242513);}['_transformRemoteChangesetByIMECache'](_0x370135){var _0x5badeb=_0x2f6cf0,_0x23c0cf,_0x272641,_0x4fcea0;return(_0x4fcea0=(_0x272641=(_0x23c0cf=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x272641[_0x5badeb(0x411)](_0x23c0cf,_0x370135))!=null?_0x4fcea0:_0x370135;}[_0x2f6cf0(0x425)](_0xeb4edb){var _0x59eab5=_0x2f6cf0,_0x138c40,_0x37e623,_0x129fce;return(_0x129fce=(_0x37e623=(_0x138c40=this[_0x59eab5(0x41a)])[_0x59eab5(0x4fc)])==null?void 0x0:_0x37e623[_0x59eab5(0x411)](_0x138c40,_0xeb4edb))!=null?_0x129fce:_0xeb4edb;}[_0x2f6cf0(0x51a)](_0x4c9e5e){var _0x32db73=_0x2f6cf0,_0x51857a,_0x40c425;if(this['type']===J[_0x32db73(0x4a1)]){const {unitID:_0x14ef55,mutations:_0x4d0dbb,memberID:_0xf09869}=_0x4c9e5e,_0xca0586=_0x4d0dbb[0x0]['params'][_0x32db73(0x4db)];Array[_0x32db73(0x2de)](_0xca0586)&&_0xca0586[_0x32db73(0x4ca)]>0x0&&((_0x40c425=(_0x51857a=this['_handler'])[_0x32db73(0x1f9)])==null||_0x40c425[_0x32db73(0x411)](_0x51857a,{'unitID':_0x14ef55,'memberID':_0xf09869,'textRanges':_0xca0586}));}}[_0x2f6cf0(0x230)](){var _0x38cda4=_0x2f6cf0,_0x2074db;(_0x2074db=this[_0x38cda4(0x2c3)])==null||_0x2074db['updateOfflineData'](this[_0x38cda4(0x1f2)],this[_0x38cda4(0x477)],this['_awaitingChangeset'],this[_0x38cda4(0x4b7)]);}[_0x2f6cf0(0x49f)](){var _0x35bbed=_0x2f6cf0;return this[_0x35bbed(0x507)][_0x35bbed(0x2ff)](this['unitID']);}[_0x2f6cf0(0x442)](){var _0x126456=_0x2f6cf0;this[_0x126456(0x507)][_0x126456(0x4b3)](this[_0x126456(0x1f2)]);}[_0x2f6cf0(0x2dc)](_0x29d130){var _0x29d3b2=_0x2f6cf0,_0xee7a0b;let _0x34d0f5=this[_0x29d3b2(0x3ac)](_0x29d130);_0x34d0f5=this[_0x29d3b2(0x425)](_0x34d0f5);const _0x2cdb0e=a['sequenceExecute'](_0x34d0f5['mutations'],this[_0x29d3b2(0x45d)],{'fromCollab':!0x0});if(!_0x2cdb0e[_0x29d3b2(0x512)])throw _0x2cdb0e[_0x29d3b2(0x2c2)]instanceof Error?_0x2cdb0e[_0x29d3b2(0x2c2)]:new Error((_0xee7a0b=_0x2cdb0e[_0x29d3b2(0x2c2)])!=null?_0xee7a0b:_0x29d3b2(0x238));this['_transformIMECache'](_0x34d0f5),this[_0x29d3b2(0x277)](_0x34d0f5),this[_0x29d3b2(0x327)](_0x29d130),this[_0x29d3b2(0x4ee)](_0x34d0f5),this[_0x29d3b2(0x51a)](_0x34d0f5),this[_0x29d3b2(0x442)]();}}exports['SyncedState']=class extends ae{constructor(_0xbb522b,_0x597690,_0x317c0a,_0x24f3bf,_0x4d4cb9,_0x861e2d,_0x50ebe8,_0x5c3cc3,_0x344da1,_0x5c9aaa){var _0x1e1457=_0x2f6cf0;super(_0xbb522b,_0x597690,null,[],_0x317c0a,_0x50ebe8,_0x861e2d,_0x24f3bf,_0x5c9aaa),A(this,_0x1e1457(0x43d),'synced'),(this[_0x1e1457(0x2d8)]=_0x4d4cb9,this[_0x1e1457(0x39f)]=_0x5c3cc3,this[_0x1e1457(0x54f)]=_0x344da1,this['localCacheService']=_0x5c9aaa);}[_0x2f6cf0(0x426)](_0x521bc1){var _0x4d7518=_0x2f6cf0;const _0x3a9202=this[_0x4d7518(0x2d8)][_0x4d7518(0x486)](exports[_0x4d7518(0x1f3)],this[_0x4d7518(0x1f2)],this[_0x4d7518(0x477)],[_0x521bc1],this[_0x4d7518(0x41a)]);return _0x3a9202[_0x4d7518(0x4df)](),_0x3a9202[_0x4d7518(0x230)](),_0x3a9202;}[_0x2f6cf0(0x343)](_0x4991f3){var _0x19a020=_0x2f6cf0;if(this[_0x19a020(0x36a)](_0x4991f3))return this[_0x19a020(0x2d8)]['createInstance'](exports[_0x19a020(0x3d8)],this['unitID'],this[_0x19a020(0x477)],null,[],null,[_0x4991f3],this[_0x19a020(0x41a)]);try{const _0x35bd18=this['_transformService'][_0x19a020(0x49c)](_0x4991f3,[oi]);if(p[_0x19a020(0x332)](_0x35bd18)){const {c1Prime:_0x17db30}=_0x35bd18;return this[_0x19a020(0x2dc)](_0x17db30),this;}throw _0x35bd18[_0x19a020(0x2c2)];}catch(_0x2dc340){return this[_0x19a020(0x39f)]['error'](_0x2dc340),this[_0x19a020(0x4c9)](!0x1);}}[_0x2f6cf0(0x4c9)](_0x1d95e8){var _0x258159=_0x2f6cf0;return this[_0x258159(0x2d8)][_0x258159(0x486)](exports[_0x258159(0x27c)],this[_0x258159(0x1f2)],this[_0x258159(0x477)],null,[],this['_handler'],_0x1d95e8);}[_0x2f6cf0(0x509)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x568f77=_0x2f6cf0;throw new Error(_0x568f77(0x2e9));}[_0x2f6cf0(0x3ff)](){return this;}[_0x2f6cf0(0x471)](){var _0x466c78=_0x2f6cf0;return this[_0x466c78(0x2d8)][_0x466c78(0x486)](exports['OfflineState'],this[_0x466c78(0x1f2)],this[_0x466c78(0x477)],null,[],this['_handler']);}[_0x2f6cf0(0x45f)](){return this;}['resend'](){var _0x38bf06=_0x2f6cf0;throw new Error(_0x38bf06(0x4b0));}[_0x2f6cf0(0x4b1)](){var _0x51a624=_0x2f6cf0;const _0x295175=this['_revisionService'][_0x51a624(0x2ff)](this['unitID']);return this[_0x51a624(0x41a)][_0x51a624(0x226)]({'from':_0x295175,'to':0x0}),this[_0x51a624(0x2d8)][_0x51a624(0x486)](exports[_0x51a624(0x3d8)],this['unitID'],this['type'],null,[],null,[],this[_0x51a624(0x41a)]);}},exports[_0x2f6cf0(0x34c)]=oe([w(0x3,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x4,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x5,a[_0x2f6cf0(0x563)]),w(0x6,a[_0x2f6cf0(0x48d)]),w(0x7,a[_0x2f6cf0(0x3ae)]),w(0x8,p[_0x2f6cf0(0x517)]),w(0x9,a['Optional'](K))],exports[_0x2f6cf0(0x34c)]),exports[_0x2f6cf0(0x1f3)]=class extends ae{constructor(_0x49d039,_0x5174fc,_0x47c036,_0x375073,_0x3d3bc0,_0x2902da,_0x4476ce,_0x343ecc,_0x32caf3,_0x53bd47,_0x2d6513,_0x1785cf,_0x20cbed,_0x4c9bb8){var _0x4eb748=_0x2f6cf0;super(_0x49d039,_0x5174fc,null,_0x47c036,_0x375073,_0x32caf3,_0x20cbed,_0x2902da,_0x4c9bb8),A(this,_0x4eb748(0x43d),_0x4eb748(0x38d)),A(this,_0x4eb748(0x257),null),A(this,_0x4eb748(0x248),null),(this['_injector']=_0x3d3bc0,this[_0x4eb748(0x4e2)]=_0x4476ce,this[_0x4eb748(0x39f)]=_0x343ecc,this['_configService']=_0x53bd47,this[_0x4eb748(0x54f)]=_0x2d6513,this['_univerInstanceService']=_0x1785cf);}[_0x2f6cf0(0x426)](_0x445cd5){var _0x597c70=_0x2f6cf0;return this[_0x597c70(0x4b7)][_0x597c70(0x547)](_0x445cd5),this[_0x597c70(0x230)](),this;}['onRemoteChangeset'](_0x2aea1c){var _0x21dec5=_0x2f6cf0;if(this[_0x21dec5(0x36a)](_0x2aea1c))return this[_0x21dec5(0x479)](),this[_0x21dec5(0x2d8)][_0x21dec5(0x486)](exports[_0x21dec5(0x3d8)],this['unitID'],this[_0x21dec5(0x477)],null,this[_0x21dec5(0x4b7)],null,[_0x2aea1c],this[_0x21dec5(0x41a)]);try{const _0x5841a7=this[_0x21dec5(0x54f)][_0x21dec5(0x49c)](_0x2aea1c,this[_0x21dec5(0x4b7)]);if(p[_0x21dec5(0x332)](_0x5841a7)){const {c1Prime:_0x2e02b3,m2Prime:_0x8d1127}=_0x5841a7;this[_0x21dec5(0x2dc)](_0x2e02b3);const _0x485668=this[_0x21dec5(0x2d8)][_0x21dec5(0x486)](exports['PendingState'],this[_0x21dec5(0x1f2)],this[_0x21dec5(0x477)],_0x8d1127,this[_0x21dec5(0x41a)]);this['_clearScheduledTask']();const _0x10c579=new Date()['getTime'](),_0x628c01=this[_0x21dec5(0x257)]?Math[_0x21dec5(0x423)](this[_0x21dec5(0x257)]-_0x10c579,0x0):this['_getSendChangesetTimeout']();return _0x485668[_0x21dec5(0x4df)](_0x628c01),_0x485668;}throw _0x5841a7['error'];}catch(_0x34aee5){return this[_0x21dec5(0x39f)][_0x21dec5(0x2c2)](_0x34aee5),this['_onConflict'](!0x1);}}[_0x2f6cf0(0x509)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2f6cf0(0x21f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2f6cf0(0x3ff)](){return this;}[_0x2f6cf0(0x471)](){var _0x56cb9c=_0x2f6cf0;return this[_0x56cb9c(0x479)](),this[_0x56cb9c(0x2d8)][_0x56cb9c(0x486)](exports['OfflineState'],this['unitID'],this[_0x56cb9c(0x477)],null,this['_pendingMutations'],this[_0x56cb9c(0x41a)]);}[_0x2f6cf0(0x45f)](){return this;}[_0x2f6cf0(0x4df)](_0x24bf99){var _0x30c5c1=_0x2f6cf0;const _0x32a7be=_0x24bf99!=null?_0x24bf99:this[_0x30c5c1(0x221)]();this[_0x30c5c1(0x257)]=new Date()[_0x30c5c1(0x272)]()+_0x32a7be,this[_0x30c5c1(0x248)]=setTimeout(()=>{var _0x59dd65=_0x30c5c1;this[_0x59dd65(0x479)]();let _0x48329e=null;switch(this[_0x59dd65(0x477)]){case J[_0x59dd65(0x3b3)]:{_0x48329e=Ge(this[_0x59dd65(0x4b7)],this[_0x59dd65(0x1f2)],this[_0x59dd65(0x3a8)],this[_0x59dd65(0x507)],this[_0x59dd65(0x4e2)]);break;}case J[_0x59dd65(0x4a1)]:{this[_0x59dd65(0x4b7)][_0x59dd65(0x32f)](_0xf871fe=>_0xf871fe['id']===ct[_0x59dd65(0x3f4)]['id'])?_0x48329e=si(this[_0x59dd65(0x4b7)],this[_0x59dd65(0x1f2)],this['_univerInstanceService'],this[_0x59dd65(0x507)],this[_0x59dd65(0x4e2)]):_0x48329e=Ge(this[_0x59dd65(0x4b7)],this[_0x59dd65(0x1f2)],this[_0x59dd65(0x3a8)],this[_0x59dd65(0x507)],this[_0x59dd65(0x4e2)]);break;}default:throw new Error(_0x59dd65(0x2d3)+this[_0x59dd65(0x477)]+_0x59dd65(0x418));}const {changeset:_0x43f231,pendingMutations:_0x24e329}=_0x48329e;this[_0x59dd65(0x41a)]['onSendChangeset'](_0x43f231);const _0x2f9972=_0x24e329[_0x59dd65(0x4ca)]?this['_injector'][_0x59dd65(0x486)](exports['AwaitingWithPendingState'],this[_0x59dd65(0x1f2)],this[_0x59dd65(0x477)],_0x43f231,_0x24e329,this[_0x59dd65(0x41a)],void 0x0):this[_0x59dd65(0x2d8)]['createInstance'](exports[_0x59dd65(0x527)],this[_0x59dd65(0x1f2)],this[_0x59dd65(0x477)],_0x43f231,this[_0x59dd65(0x41a)]);_0x2f9972['_updateLocalCache'](),this['_handler'][_0x59dd65(0x4f9)](this,_0x2f9972);},_0x32a7be);}[_0x2f6cf0(0x221)](){var _0x2dcf9e=_0x2f6cf0,_0x22cc20;const _0x45811c=this[_0x2dcf9e(0x543)][_0x2dcf9e(0x52a)](Y);return(_0x22cc20=_0x45811c==null?void 0x0:_0x45811c[_0x2dcf9e(0x4d3)])!=null?_0x22cc20:Ut;}[_0x2f6cf0(0x364)](){var _0xbc19bd=_0x2f6cf0;throw new Error(_0xbc19bd(0x492));}[_0x2f6cf0(0x479)](){var _0xb48702=_0x2f6cf0;this[_0xb48702(0x248)]!=null&&(clearTimeout(this[_0xb48702(0x248)]),this[_0xb48702(0x248)]=null);}[_0x2f6cf0(0x4c9)](_0x441d21){var _0x5bd430=_0x2f6cf0;return this['_clearScheduledTask'](),this[_0x5bd430(0x2d8)][_0x5bd430(0x486)](exports[_0x5bd430(0x27c)],this['unitID'],this[_0x5bd430(0x477)],null,this[_0x5bd430(0x4b7)],this[_0x5bd430(0x41a)],_0x441d21);}},exports['PendingState']=oe([w(0x4,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x5,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x6,a[_0x2f6cf0(0x4ba)](exports[_0x2f6cf0(0x2d2)])),w(0x7,a[_0x2f6cf0(0x3ae)]),w(0x8,a['ICommandService']),w(0x9,a['IConfigService']),w(0xa,p[_0x2f6cf0(0x517)]),w(0xb,a[_0x2f6cf0(0x4cf)]),w(0xc,a[_0x2f6cf0(0x563)]),w(0xd,a[_0x2f6cf0(0x388)](K))],exports[_0x2f6cf0(0x1f3)]),exports[_0x2f6cf0(0x527)]=class extends ae{constructor(_0x59755c,_0x2332f4,_0x35c4c5,_0x29a66f,_0x172263,_0x476e40,_0xdfe0de,_0xecf35c,_0x5a6c2e,_0x5d8bcc,_0x479820){var _0x532974=_0x2f6cf0;super(_0x59755c,_0x2332f4,_0x35c4c5,[],_0x29a66f,_0xdfe0de,_0x5d8bcc,_0x476e40,_0x479820),A(this,_0x532974(0x43d),_0x532974(0x47c)),A(this,_0x532974(0x375),0x0),A(this,_0x532974(0x500)),A(this,_0x532974(0x225)),(this[_0x532974(0x2d8)]=_0x172263,this[_0x532974(0x39f)]=_0xecf35c,this[_0x532974(0x54f)]=_0x5a6c2e);}[_0x2f6cf0(0x426)](_0x14ca77){var _0x12b1ed=_0x2f6cf0;this[_0x12b1ed(0x479)]();const _0x2cb30a=this[_0x12b1ed(0x2d8)][_0x12b1ed(0x486)](exports[_0x12b1ed(0x239)],this['unitID'],this[_0x12b1ed(0x477)],this['_awaitingChangeset'],[_0x14ca77],this[_0x12b1ed(0x41a)],this[_0x12b1ed(0x500)]);return _0x2cb30a[_0x12b1ed(0x230)](),_0x2cb30a;}[_0x2f6cf0(0x343)](_0x2a3320){var _0x3eef45=_0x2f6cf0;if(this[_0x3eef45(0x36a)](_0x2a3320))return this['_clearScheduledTask'](),this[_0x3eef45(0x2d8)][_0x3eef45(0x486)](exports[_0x3eef45(0x3d8)],this[_0x3eef45(0x1f2)],this[_0x3eef45(0x477)],this['_awaitingChangeset'],[],null,[_0x2a3320],this[_0x3eef45(0x41a)]);try{const _0x416ddf=this[_0x3eef45(0x54f)][_0x3eef45(0x430)]([_0x2a3320],[this[_0x3eef45(0x403)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x416ddf)){const {c1Prime:_0x141925,c2Prime:_0x5e3023}=_0x416ddf;this['_executeRemoteChangeset'](_0x141925[0x0]),_0x5e3023[0x0][_0x3eef45(0x395)]=this[_0x3eef45(0x49f)](),this[_0x3eef45(0x479)]();const _0x3c260d=this['_injector'][_0x3eef45(0x486)](exports[_0x3eef45(0x527)],this['unitID'],this['type'],_0x5e3023[0x0],this[_0x3eef45(0x41a)]);return _0x3c260d[_0x3eef45(0x230)](),_0x3c260d;}return this[_0x3eef45(0x4c9)](!0x1);}catch(_0x58f361){return this[_0x3eef45(0x39f)]['error'](_0x58f361),this['_onConflict'](!0x1);}}[_0x2f6cf0(0x509)](_0xe4a656){var _0x54f4c8=_0x2f6cf0;this['_clearScheduledTask']();const _0xc94db8=this[_0x54f4c8(0x507)][_0x54f4c8(0x2ff)](this[_0x54f4c8(0x1f2)]);if(_0xe4a656['revision']<_0xc94db8-0x1)return this;if(this[_0x54f4c8(0x36a)](_0xe4a656))return this[_0x54f4c8(0x2d8)]['createInstance'](exports[_0x54f4c8(0x3d8)],this[_0x54f4c8(0x1f2)],this['type'],null,[],this[_0x54f4c8(0x403)],[],this['_handler']);this[_0x54f4c8(0x442)]();const _0x6e75b1=this[_0x54f4c8(0x2d8)][_0x54f4c8(0x486)](exports[_0x54f4c8(0x34c)],this[_0x54f4c8(0x1f2)],this['type'],this[_0x54f4c8(0x41a)]);return _0x6e75b1[_0x54f4c8(0x230)](),_0x6e75b1;}[_0x2f6cf0(0x21f)](_0x5af311){var _0x5e1805=_0x2f6cf0;return this['_onConflict'](!!(_0x5af311!=null&&_0x5af311[_0x5e1805(0x376)]));}[_0x2f6cf0(0x3ff)](_0x392118){var _0x55af84=_0x2f6cf0;return this[_0x55af84(0x375)]>mt?this[_0x55af84(0x471)]():(this['_resendTimer']=pt(this[_0x55af84(0x375)],{'timeout':this[_0x55af84(0x375)],'reqId':_0x392118[_0x55af84(0x4ae)]}),this[_0x55af84(0x225)]=this[_0x55af84(0x500)][_0x55af84(0x2a7)](({reqId:_0x33b108,timeout:_0x84a13b})=>{var _0x2c85e5=_0x55af84;this[_0x2c85e5(0x240)](_0x33b108,_0x84a13b);}),this);}[_0x2f6cf0(0x471)](){var _0x5d6037=_0x2f6cf0;return this['_clearScheduledTask'](),this['_injector'][_0x5d6037(0x486)](exports[_0x5d6037(0x551)],this['unitID'],this['type'],this[_0x5d6037(0x403)],[],this['_handler']);}[_0x2f6cf0(0x45f)](){return this;}[_0x2f6cf0(0x364)](){var _0x5ce1fa=_0x2f6cf0;this[_0x5ce1fa(0x41a)][_0x5ce1fa(0x3b1)](this[_0x5ce1fa(0x403)]);}[_0x2f6cf0(0x4c9)](_0x2f2e31){var _0xf5a4fd=_0x2f6cf0;return this[_0xf5a4fd(0x479)](),this[_0xf5a4fd(0x2d8)]['createInstance'](exports['ConflictState'],this[_0xf5a4fd(0x1f2)],this['type'],this[_0xf5a4fd(0x403)],[],this['_handler'],_0x2f2e31);}[_0x2f6cf0(0x240)](_0x3857d2,_0x57ea30){var _0x279031=_0x2f6cf0,_0x135999;_0x3857d2===((_0x135999=this[_0x279031(0x403)])==null?void 0x0:_0x135999[_0x279031(0x4ae)])&&(this[_0x279031(0x364)](),this[_0x279031(0x375)]=_0x57ea30===0x0?0x3e8:_0x57ea30*0x2);}[_0x2f6cf0(0x479)](){var _0x144e23=_0x2f6cf0,_0xa350;(_0xa350=this[_0x144e23(0x225)])==null||_0xa350[_0x144e23(0x1f7)](),this[_0x144e23(0x375)]=0x0;}},exports['AwaitingState']=oe([w(0x4,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x5,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x6,a[_0x2f6cf0(0x48d)]),w(0x7,a['ILogService']),w(0x8,p['ITransformService']),w(0x9,a['IUndoRedoService']),w(0xa,a[_0x2f6cf0(0x388)](K))],exports['AwaitingState']),exports['AwaitingWithPendingState']=class extends ae{constructor(_0xbbbfe5,_0x3edd44,_0x175afa,_0x1b28de,_0x5410f2,_0x4ae1d5,_0x37a162,_0x49cda1,_0x4bfff0,_0x20f927,_0x1b2dfa,_0x5535ac,_0x45abb6){var _0xcfc13a=_0x2f6cf0;super(_0xbbbfe5,_0x3edd44,_0x175afa,_0x1b28de,_0x5410f2,_0x4bfff0,_0x5535ac,_0x49cda1,_0x45abb6),A(this,_0xcfc13a(0x43d),_0xcfc13a(0x384)),A(this,'_resendTimeout',0x0),A(this,_0xcfc13a(0x500)),A(this,_0xcfc13a(0x225)),(this[_0xcfc13a(0x2d8)]=_0x37a162,this['_logService']=_0x20f927,this[_0xcfc13a(0x54f)]=_0x1b2dfa,this[_0xcfc13a(0x4a4)]=_0x45abb6,_0x4ae1d5&&(this[_0xcfc13a(0x500)]=_0x4ae1d5,this[_0xcfc13a(0x225)]=this[_0xcfc13a(0x500)][_0xcfc13a(0x2a7)](({reqId:_0xc97392,timeout:_0x179dde})=>{var _0x59926c=_0xcfc13a;this[_0x59926c(0x240)](_0xc97392,_0x179dde);})));}[_0x2f6cf0(0x426)](_0x4a2946){var _0x5c4b54=_0x2f6cf0;return this[_0x5c4b54(0x4b7)][_0x5c4b54(0x547)](_0x4a2946),this;}[_0x2f6cf0(0x343)](_0x5301fe){var _0x5019dd=_0x2f6cf0;if(this[_0x5019dd(0x36a)](_0x5301fe))return this[_0x5019dd(0x479)](),this[_0x5019dd(0x2d8)][_0x5019dd(0x486)](exports[_0x5019dd(0x3d8)],this[_0x5019dd(0x1f2)],this[_0x5019dd(0x477)],this[_0x5019dd(0x403)],this[_0x5019dd(0x4b7)],null,[_0x5301fe],this['_handler']);try{const _0x3b02dd=this[_0x5019dd(0x54f)][_0x5019dd(0x430)]([_0x5301fe],[this[_0x5019dd(0x403)]],!0x1);if(p[_0x5019dd(0x2c1)](_0x3b02dd)){const {c1Prime:_0x43ff58,c2Prime:_0x4a5d50}=_0x3b02dd,_0x60a546=this[_0x5019dd(0x54f)][_0x5019dd(0x49c)](_0x43ff58[0x0],this[_0x5019dd(0x4b7)]);if(p[_0x5019dd(0x332)](_0x60a546)){const {c1Prime:_0x593c41,m2Prime:_0x140e7f}=_0x60a546;return this[_0x5019dd(0x2dc)](_0x593c41),_0x4a5d50[0x0][_0x5019dd(0x395)]=this[_0x5019dd(0x49f)](),this[_0x5019dd(0x479)](),this[_0x5019dd(0x2d8)]['createInstance'](exports[_0x5019dd(0x239)],this[_0x5019dd(0x1f2)],this[_0x5019dd(0x477)],_0x4a5d50[0x0],_0x140e7f,this[_0x5019dd(0x41a)],void 0x0);}throw _0x60a546['error'];}throw _0x3b02dd[_0x5019dd(0x2c2)];}catch(_0x58875b){return this[_0x5019dd(0x39f)]['error'](_0x58875b),this[_0x5019dd(0x4c9)](!0x1);}}[_0x2f6cf0(0x509)](_0x4ebb30){var _0x132939=_0x2f6cf0;if(this[_0x132939(0x479)](),this[_0x132939(0x36a)](_0x4ebb30))return this[_0x132939(0x2d8)]['createInstance'](exports[_0x132939(0x3d8)],this['unitID'],this[_0x132939(0x477)],null,this[_0x132939(0x4b7)],this[_0x132939(0x403)],[],this[_0x132939(0x41a)]);this[_0x132939(0x442)]();const _0x327f51=this['_injector'][_0x132939(0x486)](exports[_0x132939(0x1f3)],this[_0x132939(0x1f2)],this[_0x132939(0x477)],this[_0x132939(0x4b7)],this['_handler']);return _0x327f51['_schedule'](),_0x327f51['_updateLocalCache'](),_0x327f51;}[_0x2f6cf0(0x21f)](_0x31dafe){var _0x176e7a=_0x2f6cf0;return this[_0x176e7a(0x4c9)](!!(_0x31dafe!=null&&_0x31dafe[_0x176e7a(0x376)]));}[_0x2f6cf0(0x3ff)](_0x5d0f05){var _0x285119=_0x2f6cf0;return this['_resendTimeout']>mt?this['toggleOffline']():(this[_0x285119(0x500)]=pt(this['_resendTimeout'],{'timeout':this[_0x285119(0x375)],'reqId':_0x5d0f05[_0x285119(0x4ae)]}),this[_0x285119(0x225)]=this[_0x285119(0x500)][_0x285119(0x2a7)](({reqId:_0x4eb514,timeout:_0x67278f})=>{var _0x22d72a=_0x285119;this[_0x22d72a(0x240)](_0x4eb514,_0x67278f);}),this);}[_0x2f6cf0(0x471)](){var _0x3d99f9=_0x2f6cf0;return this[_0x3d99f9(0x479)](),this['_injector']['createInstance'](exports['OfflineState'],this[_0x3d99f9(0x1f2)],this[_0x3d99f9(0x477)],this[_0x3d99f9(0x403)],this['_pendingMutations'],this['_handler']);}[_0x2f6cf0(0x45f)](){return this;}['resend'](){var _0x1a27f4=_0x2f6cf0;this[_0x1a27f4(0x41a)][_0x1a27f4(0x3b1)](this[_0x1a27f4(0x403)]);}[_0x2f6cf0(0x4c9)](_0xc37492){var _0x38b69a=_0x2f6cf0;return this[_0x38b69a(0x479)](),this[_0x38b69a(0x2d8)][_0x38b69a(0x486)](exports['ConflictState'],this[_0x38b69a(0x1f2)],this[_0x38b69a(0x477)],null,this['_pendingMutations'],this[_0x38b69a(0x41a)],_0xc37492);}[_0x2f6cf0(0x240)](_0x33f308,_0x3558bc){var _0x1c3b78=_0x2f6cf0,_0x2956f8;_0x33f308===((_0x2956f8=this[_0x1c3b78(0x403)])==null?void 0x0:_0x2956f8[_0x1c3b78(0x4ae)])&&(this[_0x1c3b78(0x364)](),this[_0x1c3b78(0x375)]=_0x3558bc===0x0?0x3e8:_0x3558bc*0x2);}[_0x2f6cf0(0x479)](){var _0x14afc3=_0x2f6cf0,_0x29a52d;(_0x29a52d=this[_0x14afc3(0x225)])==null||_0x29a52d[_0x14afc3(0x1f7)](),this['_resendTimeout']=0x0;}},exports['AwaitingWithPendingState']=oe([w(0x6,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x7,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x8,a['ICommandService']),w(0x9,a[_0x2f6cf0(0x3ae)]),w(0xa,p[_0x2f6cf0(0x517)]),w(0xb,a[_0x2f6cf0(0x563)]),w(0xc,a[_0x2f6cf0(0x388)](K))],exports['AwaitingWithPendingState']),exports[_0x2f6cf0(0x27c)]=class extends ae{constructor(_0x1abe3e,_0xd9dd93,_0x520e07,_0x3ac1a1,_0x24d854,_0x5b73bd=!0x1,_0x327419,_0x1526bc,_0x42eb66,_0x21e096,_0x24e666,_0x4804fc,_0x4cd356){var _0x438a7f=_0x2f6cf0;super(_0x1abe3e,_0xd9dd93,_0x520e07,_0x3ac1a1,_0x24d854,_0x1526bc,_0x42eb66,_0x21e096,_0x4cd356),A(this,_0x438a7f(0x43d),'conflict'),(this['_isPermissionRej']=_0x5b73bd,this[_0x438a7f(0x38e)]=_0x327419,this[_0x438a7f(0x555)]=_0x24e666,this[_0x438a7f(0x22f)]=_0x4804fc,this[_0x438a7f(0x4a4)]=_0x4cd356,this[_0x438a7f(0x3f9)](),this[_0x438a7f(0x495)](),this[_0x438a7f(0x2da)]());}[_0x2f6cf0(0x426)](){return this;}[_0x2f6cf0(0x343)](){return this;}[_0x2f6cf0(0x509)](){return this;}['onRemoteRej'](){return this;}[_0x2f6cf0(0x3ff)](){return this;}[_0x2f6cf0(0x471)](){return this;}[_0x2f6cf0(0x45f)](){return this;}[_0x2f6cf0(0x364)](){var _0x46d7bf=_0x2f6cf0;throw new Error(_0x46d7bf(0x3eb));}[_0x2f6cf0(0x495)](){var _0x4097ad=_0x2f6cf0,_0x7460b8;(_0x7460b8=this['_localCacheService'])==null||_0x7460b8[_0x4097ad(0x3ed)](this[_0x4097ad(0x1f2)],this[_0x4097ad(0x477)],null,[]);}['_showConflictNotification'](){var _0xbc23f4=_0x2f6cf0;this[_0xbc23f4(0x2cc)]?this[_0xbc23f4(0x22f)][_0xbc23f4(0x33e)]({'id':Z[_0xbc23f4(0x367)]}):this['_collaborationUIEventService'][_0xbc23f4(0x33e)]({'id':Z[_0xbc23f4(0x4de)]});}[_0x2f6cf0(0x2da)](){var _0x42812a=_0x2f6cf0;this['_permissionService'][_0x42812a(0x3a1)](new X[(_0x42812a(0x344))](this[_0x42812a(0x1f2)])['id'],!0x1);}},exports[_0x2f6cf0(0x27c)]=oe([w(0x6,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x400)])),w(0x7,a['ICommandService']),w(0x8,a[_0x2f6cf0(0x563)]),w(0x9,a[_0x2f6cf0(0x4ba)](p['RevisionService'])),w(0xa,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x441)])),w(0xb,a['Inject'](ee)),w(0xc,a['Optional'](K))],exports[_0x2f6cf0(0x27c)]),exports[_0x2f6cf0(0x551)]=class extends ae{constructor(_0x260261,_0x3b3e1a,_0x990249,_0x1ee026,_0x264cb8,_0x316320,_0x389d39,_0xa494b8,_0x4d37f2,_0x4d99ee){var _0x35780e=_0x2f6cf0;super(_0x260261,_0x3b3e1a,_0x990249,_0x1ee026,_0x264cb8,_0xa494b8,_0x4d37f2,_0x389d39,_0x4d99ee),A(this,'status',_0x35780e(0x34a)),this[_0x35780e(0x2d8)]=_0x316320;}[_0x2f6cf0(0x426)](_0x180374){var _0x20d84f=_0x2f6cf0;return this[_0x20d84f(0x4b7)]['push'](_0x180374),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x55416e){var _0x2557d4=_0x2f6cf0;throw new Error(_0x2557d4(0x4c5));}['onRemoteAck'](){var _0x4e1d46=_0x2f6cf0;throw new Error(_0x4e1d46(0x42b));}['onRemoteRej'](){var _0x215043=_0x2f6cf0;throw new Error(_0x215043(0x39b));}['onRemoteRetry'](){return this;}[_0x2f6cf0(0x471)](){return this;}[_0x2f6cf0(0x45f)](){var _0x160f51=_0x2f6cf0;const {_injector:_0x11dade,_pendingMutations:_0x267fdc,_awaitingChangeset:_0x2bd5b8,unitID:_0x53c56b,_handler:_0x163c91,type:_0x39195e}=this,_0x126f08=gt(_0x11dade,_0x53c56b,_0x39195e,_0x2bd5b8,_0x267fdc,_0x163c91);return _0x126f08 instanceof exports[_0x160f51(0x1f3)]?_0x126f08[_0x160f51(0x4df)]():(_0x126f08 instanceof exports['AwaitingWithPendingState']||_0x126f08 instanceof exports[_0x160f51(0x527)])&&_0x126f08[_0x160f51(0x364)](),_0x126f08;}[_0x2f6cf0(0x364)](){var _0x2f6ad0=_0x2f6cf0;throw new Error(_0x2f6ad0(0x2ca));}},exports[_0x2f6cf0(0x551)]=oe([w(0x5,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x6,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x7,a[_0x2f6cf0(0x48d)]),w(0x8,a[_0x2f6cf0(0x563)]),w(0x9,a[_0x2f6cf0(0x388)](K))],exports[_0x2f6cf0(0x551)]),exports['FetchingMissState']=class extends ae{constructor(_0x5bed33,_0x2d94e7,_0x1aaba9,_0x5881f,_0x9e18ff,_0x5d96e7,_0x656b2d,_0x11e6d4,_0x42fe36,_0x370bd7,_0x5046f6,_0x869c91,_0x14576a,_0x5ec312){var _0x237374=_0x2f6cf0;super(_0x5bed33,_0x2d94e7,_0x1aaba9,_0x5881f,_0x656b2d,_0x5046f6,_0x869c91,_0x42fe36,_0x5ec312),A(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x9e18ff,this['_queuedRemoteChangesets']=_0x5d96e7,this[_0x237374(0x2d8)]=_0x11e6d4,this[_0x237374(0x39f)]=_0x370bd7,this[_0x237374(0x54f)]=_0x14576a,this[_0x237374(0x4a4)]=_0x5ec312);}['onMissedChangesetFetched'](_0x16f4bb){var _0x2d44b7=_0x2f6cf0;try{const _0x485172=[..._0x16f4bb,...this[_0x2d44b7(0x2d7)]],_0x27464c=[this[_0x2d44b7(0x403)]||this[_0x2d44b7(0x2a4)]][_0x2d44b7(0x3ec)](_0x794f1a=>!!_0x794f1a);let _0x4d5c94,_0x4035a1;if(_0x27464c['length']){const _0x5f1348=this[_0x2d44b7(0x54f)][_0x2d44b7(0x430)](_0x485172,_0x27464c,!0x1);if(!p['isTransformChangesetsSuccess'](_0x5f1348))throw _0x5f1348['error'];_0x4d5c94=_0x5f1348[_0x2d44b7(0x27a)],_0x4035a1=_0x5f1348[_0x2d44b7(0x41c)];}else _0x4d5c94=_0x485172,_0x4035a1=[];let _0x6499ec=this[_0x2d44b7(0x4b7)];_0x4d5c94[_0x2d44b7(0x397)](_0x4739c5=>{var _0x4833f2=_0x2d44b7;let _0x402906;if(_0x6499ec[_0x4833f2(0x4ca)]){const _0x3ff621=this[_0x4833f2(0x54f)][_0x4833f2(0x49c)](_0x4739c5,_0x6499ec);if(!p[_0x4833f2(0x332)](_0x3ff621))throw _0x3ff621['error'];_0x402906=_0x3ff621[_0x4833f2(0x27a)],_0x6499ec=_0x3ff621[_0x4833f2(0x203)];}else _0x402906=_0x4739c5;this[_0x4833f2(0x2dc)](_0x402906);}),this[_0x2d44b7(0x2a4)]&&this['_incrementRevisionNumber'](),this[_0x2d44b7(0x403)]&&_0x4035a1[_0x2d44b7(0x4ca)]&&(_0x4035a1[0x0][_0x2d44b7(0x395)]=this[_0x2d44b7(0x49f)]());let _0x25fd98;if(this[_0x2d44b7(0x403)]&&_0x6499ec[_0x2d44b7(0x4ca)]!==0x0)_0x25fd98=this[_0x2d44b7(0x2d8)]['createInstance'](exports[_0x2d44b7(0x239)],this['unitID'],this[_0x2d44b7(0x477)],_0x4035a1[0x0],_0x6499ec,this['_handler'],void 0x0);else{if(this[_0x2d44b7(0x403)]&&_0x6499ec[_0x2d44b7(0x4ca)]===0x0)_0x4035a1[0x0][_0x2d44b7(0x395)]=this[_0x2d44b7(0x49f)](),_0x25fd98=this['_injector'][_0x2d44b7(0x486)](exports['AwaitingState'],this[_0x2d44b7(0x1f2)],this[_0x2d44b7(0x477)],_0x4035a1[0x0],this[_0x2d44b7(0x41a)]);else{if(_0x6499ec[_0x2d44b7(0x4ca)]!==0x0){const _0x16900e=this['_injector']['createInstance'](exports['PendingState'],this['unitID'],this[_0x2d44b7(0x477)],_0x6499ec,this[_0x2d44b7(0x41a)]);_0x16900e[_0x2d44b7(0x4df)](),_0x25fd98=_0x16900e;}else _0x25fd98=this[_0x2d44b7(0x2d8)][_0x2d44b7(0x486)](exports[_0x2d44b7(0x34c)],this['unitID'],this[_0x2d44b7(0x477)],this[_0x2d44b7(0x41a)]);}}return _0x25fd98[_0x2d44b7(0x230)](),_0x25fd98;}catch(_0x411c82){return this[_0x2d44b7(0x39f)]['error'](_0x2d44b7(0x464),'failed\x20to\x20apply\x20missed\x20changesets!',_0x411c82),this[_0x2d44b7(0x2d8)][_0x2d44b7(0x486)](exports[_0x2d44b7(0x27c)],this[_0x2d44b7(0x1f2)],this[_0x2d44b7(0x477)],this['_awaitingChangeset'],this[_0x2d44b7(0x4b7)],this[_0x2d44b7(0x41a)],!0x1);}}['resend'](){var _0xecabeb=_0x2f6cf0;throw new Error(_0xecabeb(0x3f6));}['appendMutation'](_0x403c7f){var _0x381633=_0x2f6cf0;return this['_pendingMutations'][_0x381633(0x547)](_0x403c7f),this;}[_0x2f6cf0(0x343)](_0x387b1c){var _0xa9a8b6=_0x2f6cf0;return this[_0xa9a8b6(0x2d7)][_0xa9a8b6(0x547)](_0x387b1c),this;}[_0x2f6cf0(0x509)](_0x32ad1e){var _0x1bae78=_0x2f6cf0;if(this[_0x1bae78(0x403)])return this[_0x1bae78(0x2a4)]=this['_awaitingChangeset'],this[_0x1bae78(0x403)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2f6cf0(0x21f)](_0x118402){var _0x38b6bd=_0x2f6cf0;return this[_0x38b6bd(0x4c9)](!!(_0x118402!=null&&_0x118402['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2f6cf0(0x471)](){var _0x9d8a7c=_0x2f6cf0;return this['_injector']['createInstance'](exports['OfflineState'],this[_0x9d8a7c(0x1f2)],this[_0x9d8a7c(0x477)],this[_0x9d8a7c(0x403)],this[_0x9d8a7c(0x4b7)],this[_0x9d8a7c(0x41a)]);}[_0x2f6cf0(0x45f)](){return this;}[_0x2f6cf0(0x4c9)](_0x20ac12){var _0x28f8c8=_0x2f6cf0;return this[_0x28f8c8(0x2d8)][_0x28f8c8(0x486)](exports['ConflictState'],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x28f8c8(0x4b7)],this['_handler'],_0x20ac12);}},exports[_0x2f6cf0(0x3d8)]=oe([w(0x7,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x8,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x9,a['ILogService']),w(0xa,a[_0x2f6cf0(0x48d)]),w(0xb,a[_0x2f6cf0(0x563)]),w(0xc,p[_0x2f6cf0(0x517)]),w(0xd,a[_0x2f6cf0(0x388)](K))],exports[_0x2f6cf0(0x3d8)]);function _0x1f96(){var _0xd2140f=['words','getUnitOnRev','set','BlockCipher','_snapshotService','ICommandService','_initMergeInterceptor','RevisionService','_prevBlock','range','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','join','_eventService','_clearLocalCache','_waitForHeartbeatResponse','/universer-api/comb','salt','loadOfflineData','/collaborator','_snapshotServerService','transformMutationsWithChangeset','data','reduce','_getCurrentRevision','Base64','UNIVER_DOC','_getCtorByUniverType','allowed','localCacheService','image/jpg','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_REVISION_CONFILICT','clone','session','_getLoginPath','_sheetTransformSelectionsService','UNIVER_UNKNOWN','floor','reqId','SheetCollaborationEntity','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMiss','/universer-api/oidc/authpage','incrementRevOfUnit','/fetchmissing?from=','DEFAULT_WS_SESSION_TICKET_URL','socket$','_pendingMutations','next','localeService','Inject','startTime','toDisposable','LIVESHARE_REQUEST_HOST','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','collaMsg','[DataLoaderService]','\x20-\x20','downloadEndpointUrl','_lockTransition','dispose','[OfflineState]:\x20received\x20changeset.','saveSnapshot','_nRounds','IDLE','_onConflict','length','CHANGESET_ACK','userID','MentionType','duration','IUniverInstanceService','conflict','title','APPLY_PERMISSION_DENIED','sendChangesetTimeout','UnitStatus','_HTTPService','takeUntil','unitId','_members$','[CollaborationEntity]','generateRandomId','textRanges','now','onTransformSelections','CONFLICT','_schedule','reset','_transformIMECache','_memberService','BASE64','JOIN_ROOM_FULL','batchAllowed','_removeRoom','snapshot','_process','UNKNOWN_CMD','byteLength','YUUMI_ALL_TABLES_IS_INVALID','INGEST','pauseCollaboration','_transformSelections','$super','INTERNAL_ERROR','DependentOn','_sendHeartbeat','registerDependencies','NOT_FOUND','isInternalEditorID','CollaborativeUndoRedoService','addHandlerCallback','collaboration-client.local-cache-service','onStateChange','CHANGESET_SHOULD_RETRY','transformUndoRedo','onTransformRemoteChangesetByStateCache','capture','symbol','COMPRESS_MUTATION_SEND','_resendTimer','string','interceptor','_onCombEvent','avatar','HmacSHA1','CollaborationEntity','_revisionService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onRemoteAck','fetchThroughInterceptors','findIndex','_listenToNetworkCondition','/object/','createEncryptor','_telemetryInfo','key','LOCAL_CACHE_INTERVAL_KEY','result','enableSingleActiveInstanceLock','SessionStatus','LICENSE_DISTRO_REJECTED','createDecryptor','ITransformService','_event$','joinRsp','_syncEditingCollabCursor','auth.needGotoLoginAlert','UserProfileImg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','pad','getOwnPropertyDescriptor','createCollaborator','_collaborationTimeoutTimer','_type','INVITE_CODE_ALREADY_BOUND','getCollabEntity$','_onMessage','Undefined','AwaitingState','PY_RUNTIME_SCRIPT_ERROR','IContextService','getConfig','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','has','univer-pro.collaboration-client.single-active-unit-service','catch','_entityInit$','EvpKDF','fromCharCode','toString','1194662ZxCmqt','8vhKZKX','_doProcessBlock','_doFinalize','TOO_MANY_REQUESTS','onTransformIME','objectActions','delete','iterations','UNIVER_COLLABORATION_CLIENT_PLUGIN','mutations','deserializeToCombResponse','62848YvfRJK','responseType','href','INVITE_CODE_REQUIRED','_configService','_rescheduleHeartbeat','CollaborationSocketService','_socket$','push','message$','_candidateSocket','People','?url=','getMemberID','_clearCollaborationTimeoutTimer','Malformed\x20UTF-8\x20data','_transformService','from','OfflineState','resourceIDs','commentUpdateEvent','_collaborationPaused','_localeService','1161891yXTkEI','authzUrl','Utf8','getImageSourceCache','charCodeAt','_map','sid','uploadFileServerUrl','loginUrlKey','socket\x20open.','_onConnectionFailed','substr','add','IUndoRedoService','UserManagerService','unitID','PendingState','x-univer-host','_socketMessageSubscription','get','unsubscribe','finalize','onSyncEditingCollabCursor','loadUnitOfRevision','[CollaborationSessionService]:\x20socket\x20error','_sendHeartbeatTimer','BehaviorSubject','getSheetId','getUnitStatus$','patch','error$','SNAPSHOT_URL_KEY','m2Prime','selections','_decreaseWaiting','reconnect','mixIn','JOINING','_stopTelemetryCollaborationNewChangeset','getDeserializedSheetBlock','disposeWithMe','IMentionIOService','msCrypto','/block/','saveSheetBlock','_ENC_XFORM_MODE','mapDocumentTypeToUniverType','_changesetSessionId','Failed\x20to\x20update\x20permission\x20point','_minBufferSize','GLOBAL_ROOMS_CNT_EXCEEDS','SerializableCipher','getCurrentUser','[CollaborationUndoRedoService]','deepClone','subject','actions','/universer-api/stream/file/upload','APPLY_DUPLICATED','decryptBlock','onRemoteRej','UNIVER_PROJECT','_getSendChangesetTimeout','splice','/universer-api/snapshot','session.room-not-exists','_sender','onMissingChangesets','create','_changesetReqId','_collabSessionService','ReplaySubject','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','commentUpdate$','MentionIoHttpService','loadSheet','_collaborationUIEventService','_updateLocalCache','defineProperty','roomInfos','COMPLETION_FINISHED','HMAC','subUnitId','infoRsp','map','[CollaborationState]:\x20apply\x20error!','AwaitingWithPendingState','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_invKeySchedule','CollaborationUIEventService','listRoles','collabWebSocketUrl','onlyLocal','_resendWithTimeout','requireSession','MOBILE_HAS_BEEN_BOUND','/universer-api/authz','liveShareOperation','stringify','_onFetchMissResult','withCredentials','_sendingTimer','_getUploadFileURL','_handlerCallback','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MUTATION','_socketReady','encode','b64DecodeUnicode','_getRedoStack','USERS_ENTER','CollaborationEvent','_undoRedoService','delay','_roomCreated$','_exhaustRemoteChangesetQueue','_scheduleCompleteTimestamp','format','_parse','HEARTBEAT_TIMEOUT','registerHTTPInterceptor','getAllMembers','_createHelper','_config','sessionStatus','EMAIL_VERIFY_CODE_MISMATCH','_key','_commentUpdate$','MD5','unpad','_state','/unit/','HTTPRequest','_socket','HEARTBEAT_INTERVAL_KEY','_transformStack','_hasher','ENSURE_SNAPSHOT_EXECUTION','abs','url','YUUMI_NO_CUBOID_FOR_QUESTION','_clearRedo','body','getTime','USER_NOT_INVITED_CODE','members','YUUMI_ASYNCIO_CANCELLED','createIdentifier','_transformStateCache','override','_onRemoteACK','c1Prime','Hasher','ConflictState','_substituteUndoStack','enc','_singleActiveUnitService','file','members$','setShowComponents','memberID','closeSession','collaboratorID','name','_scheduleCollaborationTimeoutTimer','fetch_missing','buffer','exports','equals','padding','PERSON','collabSubmitChangesetUrl','processBlock','size','PasswordBasedCipher','ciphertext','merge','pluginName','post','LIVESHARE_FETCH_OPERATIONS','_unitInfo$','pipe','_reverseMap','_keyPriorReset','putCollaborators','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','entityInit$','_onRemoteRetry','waitForRoom$','list','params','collaboration-client.config','Disposable','_acknowledgedAwaitingChangeset','sigBytes','Plugin','subscribe','apply','ThresholdInterceptorFactory','_updateStatus','MSG_FOR_ERROR','_getAPIPrefixPath','3323KrWeTi','confirm','uuidv4','onCommandExecuted','YUUMI_UNABLE_LOAD_URL','getValue','AuthzIoHttpService','YUUMI_AI_RUN_FAILED','_sessions','APPLY_REJECT','UniverNetworkPlugin','transformSelections','entries','sessionStatus$','[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.','_httpService','/rev/','_sessionStatus$','_getUndoStack','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isTransformChangesetsSuccess','error','_localCacheService','fetching\x20missing\x20changesets\x20from\x20','find','_initCloseConn','cfg','ws://127.0.0.1:8000/universer-api/comb/connect','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN','_isPermissionRej','image/jpeg','target','headers','/-/object/list','INVITE_CODE_HAS_BEEN_UES','MemberService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','HTTPService','take','_onJoinRoomEvent','_queuedRemoteChangesets','_injector','firstValueFrom','_disableEditing','_getDownloadEndpointURL','_executeRemoteChangeset','hasOwnProperty','isArray','onLocalMutation','ImageSourceType','/object','HELLO','_replaceFileID','/universer-api/snapshot/','slice','_onOffline','cmd','originalMeta','[SyncedState]:\x20received\x20rejection.','_updateState','_clearUndo','_keySchedule','CommandType','setConfig','origin','_initDependencies','_clearTimeoutTimer','encodeURIComponent','_toggleOnline','random','DataLoaderService','EMAIL_HAS_BEEN_BOUND','setCurrentUser','[CollaborationSession]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getFocusedUnit','Latin1','csShouldRetryEvent','retryConnectingInterval','HttpExport','getCurrentRevOfUnit','_instanceService','696114HnPybL','_oKey','revision','_registerDependencies','&to=','initWorkbookPermissionChange','WECHAT_HAS_BEEN_BOUND','CLOSE_ROOM','submit\x20changeset\x20error!','IImageIoService','execute','LOCAL_CACHE_INTERVAL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SOCKET_FAILED','univer-pro.collaboration-client-socket-service','_status$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PSEUDO_FETCH_MISSING_RESULT','[CollaborationSessionService]','_xformMode','_socketService','_throwTelemetryCollaborationNewChangeset','serializeCombRequest','HmacMD5','session.room-cnt-exceeds','randomBytes','_undoStacks','prototype','hostname','WordArray','copyFileMeta','LIVESHARE_OPERATION','status$','_onRemoteChangeset','csRejEvent','_nDataBytes','stopTime','close$','_transformUndoredo','onload','event$','Could\x20not\x20dynamically\x20require\x20\x22','readAsDataURL','INVALID_INVITE_CODE','LICENSE_MAX_UNITS_EXCEEDED','_hash','every','DocCollaborationEntity','SheetsSelectionsService','isTransformMutationsWithChangesetSuccess','UNAUTHENTICATED','hasher','UNIVER_SLIDE','HEARTBEAT','Tools','_imageSourceCache','complete','RETRY_CONNECTING_MAX_COUNT_KEY','CollaborationImageIoService','telemetry\x20info\x20is\x20not\x20initialized','86bzSxpN','emitEvent','CHANGESET_REJ','Quantity','csAckEvent','getRandomValues','onRemoteChangeset','WorkbookEditablePermission','onTransformRemoteChangesetByIMECache','formatter','getInterceptPoints','_append','_toggleOffline','offline','_redoStacks','SyncedState','SnapshotService','_tryReconnect','_retryCount','DEFAULT_FILE_NAME','AES','SNAPSHOT_INVALID_SNAPSHOT','SYNCED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','OpenSSL','onCommentUpdate','_startTelemetryCollaborationNewChangeset','_getSignURL','debug','SnapshotServerOverHTTPService','removeMember','CollaborationSession','_onRemoteRejected','Base','459735dBvLXG','FAIL','updatePermissionObjEvent','_roomMembers','extend','resend','CollaborationSessionService','_doCreateSocket','PERMISSION_DENIED','enableOfflineEditing','append','_checkMissing','parseChangesetToProtocol','BlockCipherMode','_entities','_collaborationSessionService','charAt','_createHandler','_doCryptBlock','UPDATE_PERMISSION_OBJ','getUnitType','_unlockTransition','_resendTimeout','isPermissionRej','state','touchDependencies','APPLY_NON_SEQUENTIAL_REVISION','PERMISSION_REJ','sin','HttpImport','readInt32LE','session.room-full','_userManagerService','CBC','StreamCipher','LEAVE','__esModule','awaiting_with_pending','concat','ERROR_IMAGE','synced','Optional','function','USERS_LEAVE','EmptyMutation','state$','pending','_permissionService','_onLocalMutation','method','OPTIONAL','getUnit','algo','_initRequestHeader','baseRev','/-/object/-/batch_allowed','forEach','UnitSnapshot','LOGIN_FAILED','getMember','[OfflineState]:\x20received\x20rejection.','mergeOverrideWithDependencies','LIVESHARE_TERMINATE','CONNECTOR_DATA_TOO_LARGE','_logService','YUUMI_CONNECTOR_URL_NOT_FOUND','updatePermissionPoint','getGlobalObject','compute','sheets','getTypeOfUnitAdded$','init','_doReset','_univerInstanceService','UNISCRIPT_RUN','resolve','refreshPermission','_transformRemoteChangesetByIMECache','_init','ILogService','onTransformState','src','onSendChangeset','Injector','UNIVER_SHEET','ICollaborationSocketService','_compressMutationService','OTHER_CLIENT_EDITING','enableCollaboration','_retryConnectingTimer','parse','Encryptor','compose','\x20to\x20','indexOf','updateCollaborator','_change$','unitInfo$','SUBMIT_CHANGESET','getLocalCacheKey','unknown','socketService','permissionRejEvent','_DEC_XFORM_MODE','change$','_telemetryService','mode','AWAITING_WITH_PENDING','Workbook','CHANGESET_REVISION_CONFILICT','awaitingChangeset','location','_timeoutTimer','Rectangle','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','shareReplay','YUUMI_RATE_OVER_LIMIT','SetSelectionsOperation','LIVESHARE_NEW_HOST','parseProtocolChangeset','objectID','FetchingMissState','dispose$','ERROR_EXCEED_SIZE','deleteCollaborator','Subject','SHA1','getUnitId','_waitCount','434825GbZwdy','getImage','encrypt','replace','getSnapshotAPIPath','_substituteRedoStack','clamp','updateMember','_iv','YUUMI_SUBSCRIPTION_NOT_FOUND','loadUnit','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','filter','updateOfflineData','OFFLINE','SUBMIT_CHANGESET_TIMEOUT','focused$','eventID','UPDATE_CURSOR','UNDEFINED','RichTextEditingMutation','JOIN_ROOM_NOT_EXISTS','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','send','_createInitialStateImpl','_showConflictNotification','COMPRESS_MUTATION_APPLY','_shouldReportTelemetry','INVALID_ARGUMENT','_replayCachedMutations','_joinRoom','onRemoteRetry','IPermissionService','keySize','MOBILE_VERIFY_CODE_MISMATCH','_awaitingChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','objectType','ISnapshotServerService','RECV','UniverCollaborationClientPlugin','ERROR_IMAGE_TYPE','_unitID','_iKey','default','ALREADY_EXISTS','blockSize','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UNKNOWN_CODE','call','NoPadding','reject','values','_members','/universer-api/uniscript','UNRECOGNIZED','\x20in\x20_schedule.','crypto','_handler','_networkConditionService','c2Prime','updateSnapshot','_createHmacHelper','CollaborationUIEventId','_commentService','joinEvent','_clearHeartbeatTimer','max','editing\x20status\x20changed\x20to','_transformRemoteChangesetByStateCache','appendMutation','_remoteChangesetQueue','getSheetBlock','changesets','NOT_COLLAB','[OfflineState]:\x20received\x20acknowledgement.','_createInitialState','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','HEARTBEAT_INTERVAL','_emitMembers','transformChangesets','collaborators','_submitChangeset','createSocket','connection\x20error','IAuthzIoService','textEncoder','Pkcs7','fromCollab','routeKey','getActiveSheet','_mode','_tryEnsureSocket','status','JSONX','UnitEmbedded','_applyRemoteChangeset','LocaleService','_incrementRevisionNumber','shouldCloseConn','snapshotServerUrl','OTHER_CLIENTS_EDITING','FileId','LICENSE_EXPORT_SIZE_EXCEEDED','SheetTransformSelectionsService','kdf','socket\x20close','_onRecvEvent','RxDisposable','JOIN_ROOM_PERMISSION_DENIED','code','executeCommand','ImageUploadStatusType','Cipher','workbook','_transitionLocked','UniverInstanceType','decrypt','requestParams','close','saveImage','getCollabEntity','update','POST','_cipher','_commandService','IConfigService','toggleOnline','CompressMutationService','BufferedBlockAlgorithm','_data','Decryptor','[FetchMissState]','Hex','newCsEvent','_initUnitPermissionChange','clear','ceil','_onUserJoin','liveShareNewHost','lib','JOIN_ROOM_FAILED','enableAuthServer','getTypeOfUnitDisposed$','loadDoc','toggleOffline','ivSize','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_clearRetryConnectingTimer','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','__creator','type','_getAPIPrefix','_clearScheduledTask','/allowed','LICENSE_IMPORT_SIZE_EXCEEDED','awaiting','ONLINE','Univer','SUCCUSS','asObservable','SOCKET_FAILED_RETRY','_createSocket','CollaborationController','&source=','getLatestCsReqIdBySid','createInstance','YUUMI_URL_COL_OUT_OF_RANGE'];_0x1f96=function(){return _0xd2140f;};return _0x1f96();}function gt(_0x53014f,_0x2f4538,_0x1c27c2,_0x278a5b,_0x2c1205,_0x26e8ba){var _0x2ca9e2=_0x2f6cf0;return _0x278a5b&&_0x2c1205[_0x2ca9e2(0x4ca)]?_0x53014f[_0x2ca9e2(0x486)](exports[_0x2ca9e2(0x239)],_0x2f4538,_0x1c27c2,_0x278a5b,_0x2c1205,_0x26e8ba,void 0x0):_0x278a5b?_0x53014f[_0x2ca9e2(0x486)](exports[_0x2ca9e2(0x527)],_0x2f4538,_0x1c27c2,_0x278a5b,_0x26e8ba):_0x2c1205[_0x2ca9e2(0x4ca)]?_0x53014f['createInstance'](exports['PendingState'],_0x2f4538,_0x1c27c2,_0x2c1205,_0x26e8ba):_0x53014f[_0x2ca9e2(0x486)](exports[_0x2ca9e2(0x34c)],_0x2f4538,_0x1c27c2,_0x26e8ba);}var ci=Object[_0x2f6cf0(0x51f)],Fe=(_0x118008,_0xd9c93,_0x195219,_0x1e80fe)=>{var _0x448291=_0x2f6cf0;for(var _0xe26fc1=_0x1e80fe>0x1?void 0x0:_0x1e80fe?ci(_0xd9c93,_0x195219):_0xd9c93,_0x2da8e0=_0x118008[_0x448291(0x4ca)]-0x1,_0x9b51f6;_0x2da8e0>=0x0;_0x2da8e0--)(_0x9b51f6=_0x118008[_0x2da8e0])&&(_0xe26fc1=_0x9b51f6(_0xe26fc1)||_0xe26fc1);return _0xe26fc1;},j=(_0x176a89,_0x2938fc)=>(_0x2c4d78,_0x441b69)=>_0x2938fc(_0x2c4d78,_0x441b69,_0x176a89);exports[_0x2f6cf0(0x506)]=class extends a['RxDisposable']{constructor(_0xe7f50d,_0x1a46a9,_0x32b9fe,_0xc72485,_0x42a9d5,_0xa3990e,_0x487417,_0x2e2ad1,_0x2b78fd,_0x34e6dd,_0x46a3d5,_0x4631dd,_0x56becd){var _0x50b186=_0x2f6cf0;super(),A(this,'_state$',new H[(_0x50b186(0x1fd))](null)),A(this,_0x50b186(0x38c),this['_state$']['asObservable']()),A(this,_0x50b186(0x265)),A(this,'_collaborationPaused',!0x1),A(this,_0x50b186(0x212),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x50b186(0x38c)][_0x50b186(0x298)](H[_0x50b186(0x237)](_0x14c659=>_0x14c659?_0x14c659[_0x50b186(0x43d)]:Be[_0x50b186(0x3ee)]),H[_0x50b186(0x3d2)](0x1))),A(this,_0x50b186(0x453),!0x1),A(this,_0x50b186(0x427),[]),(this['unitID']=_0xe7f50d,this[_0x50b186(0x4a9)]=_0x1a46a9,this['_type']=_0x32b9fe,this[_0x50b186(0x2d8)]=_0xc72485,this[_0x50b186(0x3b5)]=_0x42a9d5,this['_localeService']=_0xa3990e,this[_0x50b186(0x507)]=_0x487417,this[_0x50b186(0x494)]=_0x2e2ad1,this[_0x50b186(0x39f)]=_0x2b78fd,this[_0x50b186(0x45d)]=_0x34e6dd,this['_permissionService']=_0x46a3d5,this[_0x50b186(0x27f)]=_0x4631dd,this[_0x50b186(0x2c3)]=_0x56becd);}get[_0x2f6cf0(0x377)](){var _0x1aee04=_0x2f6cf0;return this[_0x1aee04(0x265)];}async[_0x2f6cf0(0x3a6)](){var _0x13c795=_0x2f6cf0;if(this[_0x13c795(0x377)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x13c795(0x3ad)]();}[_0x2f6cf0(0x4ed)](){var _0x2a069b=_0x2f6cf0;return this[_0x2a069b(0x554)]=!0x0,a['toDisposable'](()=>{var _0x2ecc94=_0x2a069b;this['_collaborationPaused']=!0x1,this[_0x2ecc94(0x256)]();});}[_0x2f6cf0(0x2df)](_0xd48de4){var _0x8d9927=_0x2f6cf0;this[_0x8d9927(0x38f)](_0xd48de4);}[_0x2f6cf0(0x2ea)](_0x31b8d0){var _0x474e8d=_0x2f6cf0;this[_0x474e8d(0x265)]=_0x31b8d0,this['_state$'][_0x474e8d(0x4b8)](_0x31b8d0);}async[_0x2f6cf0(0x3ad)](){var _0x3094fb=_0x2f6cf0,_0xfa0404;this[_0x3094fb(0x2ea)](await this[_0x3094fb(0x42c)]()),this['_singleActiveUnitService']&&((_0xfa0404=this[_0x3094fb(0x27f)])==null||_0xfa0404['editingUnit'](this[_0x3094fb(0x1f2)]),this[_0x3094fb(0x20b)](this[_0x3094fb(0x27f)][_0x3094fb(0x1ff)](this[_0x3094fb(0x1f2)])[_0x3094fb(0x2a7)](_0xd60d24=>{var _0x1b0c3c=_0x3094fb;this[_0x1b0c3c(0x39f)][_0x1b0c3c(0x359)]('[CollaborationEntity]',_0x1b0c3c(0x424),_0xd60d24),_0xd60d24===je[_0x1b0c3c(0x445)]?(this[_0x1b0c3c(0x494)][_0x1b0c3c(0x33e)]({'id':Z[_0x1b0c3c(0x3b6)]}),this[_0x1b0c3c(0x38e)]['updatePermissionPoint'](new X[(_0x1b0c3c(0x344))](this[_0x1b0c3c(0x1f2)])['id'],!0x1),this[_0x1b0c3c(0x38e)][_0x1b0c3c(0x282)](!0x1)):(this[_0x1b0c3c(0x38e)][_0x1b0c3c(0x3a1)](new X[(_0x1b0c3c(0x344))](this['unitID'])['id'],!0x0),this[_0x1b0c3c(0x38e)][_0x1b0c3c(0x282)](!0x0));})));let _0xb1e326=!0x1;return this[_0x3094fb(0x20b)](this[_0x3094fb(0x4a9)]['sessionStatus$']['subscribe'](_0x43c426=>{var _0x5efbad=_0x3094fb;_0x43c426===re[_0x5efbad(0x47d)]?this[_0x5efbad(0x2f3)](_0xb1e326):_0x43c426===re['OFFLINE']&&(_0xb1e326=!0x0,this[_0x5efbad(0x349)]());})),this[_0x3094fb(0x20b)](this[_0x3094fb(0x4a9)][_0x3094fb(0x329)][_0x3094fb(0x2a7)](_0x396193=>{var _0x42ef74=_0x3094fb;try{switch(_0x396193[_0x42ef74(0x3f1)]){case p[_0x42ef74(0x252)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](p['parseProtocolChangeset'](_0x396193[_0x42ef74(0x49d)]));break;}case p[_0x42ef74(0x252)]['CHANGESET_ACK']:{this[_0x42ef74(0x279)](_0x396193[_0x42ef74(0x49d)]);break;}case p['CollaborationEvent'][_0x42ef74(0x33f)]:{this[_0x42ef74(0x35d)]();break;}case p[_0x42ef74(0x252)][_0x42ef74(0x4fa)]:{this[_0x42ef74(0x29e)](_0x396193[_0x42ef74(0x49d)]);break;}case p[_0x42ef74(0x252)][_0x42ef74(0x312)]:{this[_0x42ef74(0x246)](_0x396193[_0x42ef74(0x49d)][_0x42ef74(0x429)][_0x42ef74(0x237)](_0x3aa1a2=>p[_0x42ef74(0x3d6)](_0x3aa1a2)));break;}case p[_0x42ef74(0x252)][_0x42ef74(0x37a)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x42ef74(0x252)][_0x42ef74(0x3a9)]:break;}}catch(_0x1de56f){throw console[_0x42ef74(0x2c2)]('Error\x20on\x20receiving\x20event',_0x1de56f),_0x1de56f;}})),this[_0x3094fb(0x265)];}['_unlockTransition'](){var _0x27fa59=_0x2f6cf0;this[_0x27fa59(0x453)]=!0x1;}[_0x2f6cf0(0x4c3)](){var _0x4c2e16=_0x2f6cf0;if(this['_transitionLocked'])throw new Error(_0x4c2e16(0x2bb));this[_0x4c2e16(0x453)]=!0x0;}[_0x2f6cf0(0x38f)](_0x56cbd0){var _0x5437dd=_0x2f6cf0;this[_0x5437dd(0x4c3)](),this[_0x5437dd(0x2ea)](this[_0x5437dd(0x265)][_0x5437dd(0x426)](_0x56cbd0)),this[_0x5437dd(0x374)]();}[_0x2f6cf0(0x322)](_0x2e919b){var _0x13635c=_0x2f6cf0;if(!(_0x2e919b[_0x13635c(0x303)]<=this['_revisionService'][_0x13635c(0x2ff)](this['unitID']))){if(this[_0x13635c(0x554)]){this[_0x13635c(0x427)][_0x13635c(0x547)](_0x2e919b);return;}this[_0x13635c(0x440)](_0x2e919b);}}['_exhaustRemoteChangesetQueue'](){var _0x45ad5d=_0x2f6cf0;this[_0x45ad5d(0x427)][_0x45ad5d(0x397)](_0x6401b5=>this['_applyRemoteChangeset'](_0x6401b5)),this[_0x45ad5d(0x427)]=[];}[_0x2f6cf0(0x440)](_0x15b4a1){var _0x4fa2d5=_0x2f6cf0;const _0x27b87a=this[_0x4fa2d5(0x3b5)][_0x4fa2d5(0x502)]['fetchThroughInterceptors'](this[_0x4fa2d5(0x3b5)]['interceptor'][_0x4fa2d5(0x347)]()[_0x4fa2d5(0x3fa)])(_0x15b4a1['mutations'],null)||_0x15b4a1[_0x4fa2d5(0x53d)],_0x3103f8={..._0x15b4a1,'mutations':_0x27b87a};this['_lockTransition'](),this[_0x4fa2d5(0x2ea)](this['_state'][_0x4fa2d5(0x343)](_0x3103f8)),this[_0x4fa2d5(0x374)]();}[_0x2f6cf0(0x279)](_0x95dc88){var _0x362c45=_0x2f6cf0;this[_0x362c45(0x4c3)](),this[_0x362c45(0x2ea)](this['_state'][_0x362c45(0x509)](_0x95dc88)),this['_unlockTransition']();}['_onRemoteRejected'](_0x5e55bc){var _0x516ae6=_0x2f6cf0;this[_0x516ae6(0x4c3)](),this['_updateState'](this[_0x516ae6(0x265)][_0x516ae6(0x21f)](_0x5e55bc)),this['_unlockTransition']();}[_0x2f6cf0(0x29e)](_0x20c151){var _0x1a8fcf=_0x2f6cf0;this[_0x1a8fcf(0x4c3)](),this['_updateState'](this[_0x1a8fcf(0x265)][_0x1a8fcf(0x3ff)](_0x20c151)),this[_0x1a8fcf(0x374)]();}['_onFetchMissResult'](_0x3808f9){var _0x15c590=_0x2f6cf0;if(!(this[_0x15c590(0x265)]instanceof exports[_0x15c590(0x3d8)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2fc04c=_0x3808f9[_0x15c590(0x237)](_0x34c828=>{var _0x2b351d=_0x15c590;const _0x1dfa99=this[_0x2b351d(0x3b5)][_0x2b351d(0x502)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2b351d(0x502)]['getInterceptPoints']()[_0x2b351d(0x3fa)])(_0x34c828[_0x2b351d(0x53d)],null)||_0x34c828[_0x2b351d(0x53d)];return{..._0x34c828,'mutations':_0x1dfa99};});this[_0x15c590(0x4c3)](),this[_0x15c590(0x2ea)](this[_0x15c590(0x265)]['onMissedChangesetFetched'](_0x2fc04c)),this[_0x15c590(0x374)]();}[_0x2f6cf0(0x349)](){var _0x188ebb=_0x2f6cf0;this[_0x188ebb(0x4c3)](),this[_0x188ebb(0x2ea)](this[_0x188ebb(0x265)][_0x188ebb(0x471)]()),this['_unlockTransition']();}['_toggleOnline'](_0x57f34f=!0x1){var _0x35f266=_0x2f6cf0;this[_0x35f266(0x4c3)](),this[_0x35f266(0x2ea)](this[_0x35f266(0x265)][_0x35f266(0x45f)]()),this[_0x35f266(0x374)]();const _0x4cd1dd=this[_0x35f266(0x265)];_0x57f34f&&_0x4cd1dd instanceof exports['SyncedState']&&(this[_0x35f266(0x4c3)](),this[_0x35f266(0x2ea)](_0x4cd1dd['fetchMiss']()),this['_unlockTransition']());}async[_0x2f6cf0(0x42c)](){return new Promise(_0x1ed861=>{var _0x4fefaf=_0x30fe;this[_0x4fefaf(0x4a9)][_0x4fefaf(0x2ba)][_0x4fefaf(0x298)](H[_0x4fefaf(0x2d5)](0x1))[_0x4fefaf(0x2a7)](async _0x3318f9=>{var _0x4b2cff=_0x4fefaf;_0x1ed861(await this[_0x4b2cff(0x3f8)](_0x3318f9===re[_0x4b2cff(0x47d)]));});});}[_0x2f6cf0(0x370)](){var _0x359e3a=_0x2f6cf0;const _0x2118a3=this[_0x359e3a(0x1f2)];return{'onStateChange':(_0x2cee5a,_0x2212c7)=>{var _0x5a70ef=_0x359e3a;if(_0x2cee5a!==this[_0x5a70ef(0x265)])throw new Error(_0x5a70ef(0x404)+_0x2cee5a['status']+'\x0aAfter:\x20'+_0x2212c7[_0x5a70ef(0x43d)]+'\x0aCurrent:\x20'+this[_0x5a70ef(0x265)][_0x5a70ef(0x43d)]);this[_0x5a70ef(0x2ea)](_0x2212c7);},'onSendChangeset':_0x4e5234=>{var _0x3077ca=_0x359e3a;_0x4e5234[_0x3077ca(0x55c)]||(_0x4e5234['sid']=this[_0x3077ca(0x212)],_0x4e5234[_0x3077ca(0x4ae)]=++this[_0x3077ca(0x228)]);const _0x466724={'eventID':p[_0x3077ca(0x252)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x4e5234[_0x3077ca(0x1f2)],'unitType':this['_type'],'changeset':_0x4e5234,'memberID':this['session'][_0x3077ca(0x54c)]()}};this['session'][_0x3077ca(0x3f7)](_0x466724,this['unitID']);},'onMissingChangesets':({from:_0x23483f,to:_0x3976dc})=>{var _0x58510a=_0x359e3a;this[_0x58510a(0x39f)][_0x58510a(0x359)](_0x58510a(0x4d9),_0x58510a(0x2c4)+_0x23483f+_0x58510a(0x3bc)+_0x3976dc);const _0xe9a4aa={'eventID':p[_0x58510a(0x252)]['FETCH_MISSING'],'data':{'unitID':_0x2118a3,'unitType':this[_0x58510a(0x522)],'from':_0x23483f,'to':_0x3976dc}};this['session'][_0x58510a(0x3f7)](_0xe9a4aa,this['unitID']);}};}async['_createInitialStateImpl'](_0x3003f2){var _0x286a73=_0x2f6cf0,_0x49d800,_0x3ad816,_0x91f9dc;const _0x1417d6=await((_0x49d800=this[_0x286a73(0x2c3)])==null?void 0x0:_0x49d800[_0x286a73(0x499)](this[_0x286a73(0x1f2)])),_0x1cc3a2=(_0x3ad816=_0x1417d6==null?void 0x0:_0x1417d6[_0x286a73(0x53d)])!=null?_0x3ad816:[],_0x45beb0=(_0x91f9dc=_0x1417d6==null?void 0x0:_0x1417d6[_0x286a73(0x3cd)])!=null?_0x91f9dc:null,_0x658a74=!!(_0x45beb0!=null&&_0x45beb0[_0x286a73(0x55c)])&&!!(_0x45beb0!=null&&_0x45beb0[_0x286a73(0x4ae)]);this[_0x286a73(0x212)]=_0x658a74?_0x45beb0[_0x286a73(0x55c)]:p[_0x286a73(0x2af)](),this[_0x286a73(0x228)]=_0x658a74?_0x45beb0[_0x286a73(0x4ae)]:0x0;const _0x4bd275=this[_0x286a73(0x1f2)];try{this[_0x286a73(0x3fd)](_0x45beb0,_0x1cc3a2);}catch(_0x1d34b0){this[_0x286a73(0x39f)][_0x286a73(0x2c2)](_0x1d34b0);}const _0x3b4a51=this[_0x286a73(0x370)]();if(_0x3003f2){const _0x241c15=gt(this[_0x286a73(0x2d8)],_0x4bd275,this[_0x286a73(0x522)],_0x45beb0,_0x1cc3a2,_0x3b4a51);return _0x241c15 instanceof exports[_0x286a73(0x1f3)]?_0x241c15[_0x286a73(0x4df)]():(_0x241c15 instanceof exports[_0x286a73(0x239)]||_0x241c15 instanceof exports[_0x286a73(0x527)])&&_0x241c15[_0x286a73(0x364)](),_0x241c15;}return this[_0x286a73(0x2d8)]['createInstance'](exports[_0x286a73(0x551)],_0x4bd275,this['_type'],_0x45beb0,_0x1cc3a2,_0x3b4a51);}['_replayCachedMutations'](_0x31d2dd,_0x18e2c7){var _0x40665b=_0x2f6cf0,_0x4a3650,_0x3aa987;const _0x7d5b6b=this[_0x40665b(0x3b5)][_0x40665b(0x502)][_0x40665b(0x50a)](this['_compressMutationService'][_0x40665b(0x502)][_0x40665b(0x347)]()[_0x40665b(0x3fa)]);(_0x4a3650=_0x7d5b6b((_0x31d2dd==null?void 0x0:_0x31d2dd[_0x40665b(0x53d)])||[],null))==null||_0x4a3650[_0x40665b(0x397)](_0x4c6676=>this[_0x40665b(0x45d)][_0x40665b(0x44f)](_0x4c6676['id'],_0x4c6676['params'])),(_0x3aa987=_0x7d5b6b(_0x18e2c7||[],null))==null||_0x3aa987[_0x40665b(0x397)](_0x532bf4=>this['_commandService'][_0x40665b(0x44f)](_0x532bf4['id'],_0x532bf4[_0x40665b(0x2a1)]));}},exports[_0x2f6cf0(0x506)]=Fe([j(0x3,a['Inject'](a[_0x2f6cf0(0x3b2)])),j(0x4,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x460)])),j(0x5,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x441)])),j(0x6,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),j(0x7,a[_0x2f6cf0(0x4ba)](ee)),j(0x8,a[_0x2f6cf0(0x3ae)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0x2f6cf0(0x388)](de)),j(0xc,a['Optional'](K))],exports[_0x2f6cf0(0x506)]),exports[_0x2f6cf0(0x330)]=class extends exports['CollaborationEntity']{constructor(_0x10401c,_0x124f19,_0x89d933,_0x54b246,_0x11ff78,_0x2f7ecd,_0x627233,_0x27a707,_0x40eeab,_0x29e153,_0x426b32,_0x13c7ae,_0x370220){var _0x202c7c=_0x2f6cf0;super(_0x10401c,_0x89d933,_0x124f19,_0x54b246,_0x11ff78,_0x2f7ecd,_0x627233,_0x27a707,_0x40eeab,_0x29e153,_0x426b32,_0x13c7ae,_0x370220),A(this,_0x202c7c(0x24a),null),(this[_0x202c7c(0x1f2)]=_0x10401c,this[_0x202c7c(0x477)]=_0x124f19);}[_0x2f6cf0(0x4f7)](_0x424ac2){var _0x415ed4=_0x2f6cf0;this[_0x415ed4(0x24a)]=_0x424ac2;}[_0x2f6cf0(0x4c4)](){var _0x2e8694=_0x2f6cf0;this[_0x2e8694(0x24a)]=null,super[_0x2e8694(0x4c4)]();}['_createHandler'](){var _0x2018d8=_0x2f6cf0;const _0x56c343=super[_0x2018d8(0x370)]();return _0x56c343[_0x2018d8(0x538)]=_0x23a4ff=>{var _0x55fda9=_0x2018d8,_0x4c041b,_0x71fb75;return(_0x71fb75=(_0x4c041b=this[_0x55fda9(0x24a)])==null?void 0x0:_0x4c041b[_0x55fda9(0x538)])==null?void 0x0:_0x71fb75[_0x55fda9(0x411)](_0x4c041b,_0x23a4ff);},_0x56c343[_0x2018d8(0x3af)]=_0x1d01f5=>{var _0x1f952c=_0x2018d8,_0xb40baf,_0x230ab4;return(_0x230ab4=(_0xb40baf=this['_handlerCallback'])==null?void 0x0:_0xb40baf[_0x1f952c(0x3af)])==null?void 0x0:_0x230ab4[_0x1f952c(0x411)](_0xb40baf,_0x1d01f5);},_0x56c343['onTransformSelections']=_0xaecec=>{var _0xfb4599=_0x2018d8,_0x4b2a5c,_0x293e21;return(_0x293e21=(_0x4b2a5c=this[_0xfb4599(0x24a)])==null?void 0x0:_0x4b2a5c['onTransformSelections'])==null?void 0x0:_0x293e21[_0xfb4599(0x411)](_0x4b2a5c,_0xaecec);},_0x56c343[_0x2018d8(0x1f9)]=_0x31620a=>{var _0x3a84a4,_0x16162a;return(_0x16162a=(_0x3a84a4=this['_handlerCallback'])==null?void 0x0:_0x3a84a4['onSyncEditingCollabCursor'])==null?void 0x0:_0x16162a['call'](_0x3a84a4,_0x31620a);},_0x56c343[_0x2018d8(0x345)]=_0x3037da=>{var _0x4cee35=_0x2018d8,_0x71cd87,_0x2326b4,_0x10431d;if(!((_0x71cd87=this['_handlerCallback'])!=null&&_0x71cd87['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4cee35(0x4be));return(_0x10431d=(_0x2326b4=this[_0x4cee35(0x24a)])==null?void 0x0:_0x2326b4['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x10431d[_0x4cee35(0x411)](_0x2326b4,_0x3037da);},_0x56c343[_0x2018d8(0x4fc)]=_0x25184a=>{var _0x203341=_0x2018d8,_0x3c6aa6,_0xbe6291,_0x5a99c0;if(!((_0x3c6aa6=this[_0x203341(0x24a)])!=null&&_0x3c6aa6[_0x203341(0x4fc)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5a99c0=(_0xbe6291=this[_0x203341(0x24a)])==null?void 0x0:_0xbe6291[_0x203341(0x4fc)])==null?void 0x0:_0x5a99c0[_0x203341(0x411)](_0xbe6291,_0x25184a);},_0x56c343;}async['_init'](){var _0x51af02=_0x2f6cf0;const _0x25741b=await super[_0x51af02(0x3ad)]();return this[_0x51af02(0x20b)](this[_0x51af02(0x45d)][_0x51af02(0x2b0)]((_0x2fddea,_0x26f854)=>{var _0x3e61dc=_0x51af02;if(_0x2fddea['type']!==a['CommandType'][_0x3e61dc(0x24c)]||_0x26f854!=null&&_0x26f854[_0x3e61dc(0x438)]||_0x26f854!=null&&_0x26f854[_0x3e61dc(0x23f)]||_0x2fddea['id']===ct[_0x3e61dc(0x3f4)]['id'])return;const _0x2ce18a=_0x2fddea['params'];if((_0x2ce18a==null?void 0x0:_0x2ce18a[_0x3e61dc(0x4d7)])!==this['unitID'])return;const _0x400880=_0x2fddea,_0x2d275e=this[_0x3e61dc(0x3b5)][_0x3e61dc(0x502)][_0x3e61dc(0x50a)](this[_0x3e61dc(0x3b5)]['interceptor']['getInterceptPoints']()[_0x3e61dc(0x4ff)])([_0x400880],null)||[_0x400880];this[_0x3e61dc(0x38f)](_0x2d275e[0x0]);})),_0x25741b;}},exports['DocCollaborationEntity']=Fe([j(0x3,a['Inject'](a[_0x2f6cf0(0x3b2)])),j(0x4,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x460)])),j(0x5,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x441)])),j(0x6,a['Inject'](p['RevisionService'])),j(0x7,a[_0x2f6cf0(0x4ba)](ee)),j(0x8,a[_0x2f6cf0(0x3ae)]),j(0x9,a[_0x2f6cf0(0x48d)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x2f6cf0(0x388)](de)),j(0xc,a[_0x2f6cf0(0x388)](K))],exports[_0x2f6cf0(0x330)]),exports['SheetCollaborationEntity']=class extends exports[_0x2f6cf0(0x506)]{constructor(_0x42fe92,_0x3a8724,_0x4fe1e1,_0x99215b,_0xdd1098,_0x3c74b1,_0x1a2626,_0x962aa8,_0x1afe74,_0x242c6e,_0x4cf0a5,_0xa83ceb,_0x24af26,_0x5e6d74){var _0x2c30a3=_0x2f6cf0;super(_0x42fe92,_0x4fe1e1,_0x3a8724,_0x99215b,_0xdd1098,_0x3c74b1,_0x1a2626,_0x1afe74,_0x242c6e,_0x4cf0a5,_0xa83ceb,_0x24af26,_0x5e6d74),this[_0x2c30a3(0x1f2)]=_0x42fe92,this[_0x2c30a3(0x477)]=_0x3a8724,this['_sheetTransformSelectionsService']=_0x962aa8;}[_0x2f6cf0(0x370)](){var _0x3b15d5=_0x2f6cf0;const _0x171f01=super[_0x3b15d5(0x370)]();return _0x171f01['onTransformSelections']=_0x105554=>this[_0x3b15d5(0x4ab)]['transformSelections'](_0x105554),_0x171f01;}async[_0x2f6cf0(0x3ad)](){var _0x1c5770=_0x2f6cf0;const _0x452466=await super[_0x1c5770(0x3ad)]();return this['disposeWithMe'](this[_0x1c5770(0x45d)][_0x1c5770(0x2b0)]((_0x25ec40,_0x18b82f)=>{var _0x6cc033=_0x1c5770;if(_0x25ec40[_0x6cc033(0x477)]!==a[_0x6cc033(0x2ed)]['MUTATION']||_0x18b82f!=null&&_0x18b82f[_0x6cc033(0x438)]||_0x18b82f!=null&&_0x18b82f['onlyLocal'])return;const _0x2a2117=_0x25ec40[_0x6cc033(0x2a1)];if((_0x2a2117==null?void 0x0:_0x2a2117[_0x6cc033(0x4d7)])!==this[_0x6cc033(0x1f2)])return;const _0x2cf6c0=_0x25ec40,_0xd757d8=this[_0x6cc033(0x3b5)][_0x6cc033(0x502)]['fetchThroughInterceptors'](this[_0x6cc033(0x3b5)][_0x6cc033(0x502)][_0x6cc033(0x347)]()[_0x6cc033(0x4ff)])([_0x2cf6c0],null)||[_0x2cf6c0];this[_0x6cc033(0x38f)](_0xd757d8[0x0]);})),_0x452466;}},exports[_0x2f6cf0(0x4af)]=Fe([j(0x3,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),j(0x4,a[_0x2f6cf0(0x4ba)](p['CompressMutationService'])),j(0x5,a['Inject'](a[_0x2f6cf0(0x441)])),j(0x6,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),j(0x7,a[_0x2f6cf0(0x4ba)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x2f6cf0(0x4ba)](ee)),j(0x9,a[_0x2f6cf0(0x3ae)]),j(0xa,a[_0x2f6cf0(0x48d)]),j(0xb,a[_0x2f6cf0(0x400)]),j(0xc,a[_0x2f6cf0(0x388)](de)),j(0xd,a[_0x2f6cf0(0x388)](K))],exports['SheetCollaborationEntity']);var hi=Object[_0x2f6cf0(0x51f)],_i=(_0x43ad8b,_0x41977,_0x2aad24,_0x54ccff)=>{var _0x116104=_0x2f6cf0;for(var _0x13104b=_0x54ccff>0x1?void 0x0:_0x54ccff?hi(_0x41977,_0x2aad24):_0x41977,_0x1d2787=_0x43ad8b[_0x116104(0x4ca)]-0x1,_0x12ea29;_0x1d2787>=0x0;_0x1d2787--)(_0x12ea29=_0x43ad8b[_0x1d2787])&&(_0x13104b=_0x12ea29(_0x13104b)||_0x13104b);return _0x13104b;},Se=(_0x52b019,_0x2bdce9)=>(_0x22f7f8,_0x2ce07a)=>_0x2bdce9(_0x22f7f8,_0x2ce07a,_0x52b019);exports[_0x2f6cf0(0x483)]=class extends a[_0x2f6cf0(0x44c)]{constructor(_0x14e436,_0x57057a,_0x4ee007,_0x469ffa){var _0x1d83b6=_0x2f6cf0,_0x4eb78e;super(),A(this,_0x1d83b6(0x36d),new Map()),A(this,_0x1d83b6(0x52f),new H[(_0x1d83b6(0x3dc))]()),A(this,_0x1d83b6(0x29d),this['_entityInit$'][_0x1d83b6(0x480)]()),(this[_0x1d83b6(0x2d8)]=_0x14e436,this[_0x1d83b6(0x229)]=_0x57057a,this[_0x1d83b6(0x543)]=_0x4ee007,this[_0x1d83b6(0x3a8)]=_0x469ffa,((_0x4eb78e=this[_0x1d83b6(0x543)][_0x1d83b6(0x52a)](Y))==null?void 0x0:_0x4eb78e[_0x1d83b6(0x3b7)])!==!0x1&&this['_init']());}[_0x2f6cf0(0x4c4)](){var _0x418b21=_0x2f6cf0;super[_0x418b21(0x4c4)](),this[_0x418b21(0x36d)][_0x418b21(0x397)](_0x1892df=>_0x1892df[_0x418b21(0x4c4)]()),this['_entities'][_0x418b21(0x468)]();}[_0x2f6cf0(0x459)](_0x7ad64e){var _0x40e30e=_0x2f6cf0,_0x14aa0e;return(_0x14aa0e=this[_0x40e30e(0x36d)][_0x40e30e(0x1f6)](_0x7ad64e))!=null?_0x14aa0e:null;}[_0x2f6cf0(0x524)](_0x4bce16){var _0x3ffb6d=_0x2f6cf0;const _0x27a9d9=this[_0x3ffb6d(0x459)](_0x4bce16);return _0x27a9d9?H['of'](_0x27a9d9):this[_0x3ffb6d(0x52f)]['pipe'](V['filter'](_0x5bef90=>_0x5bef90[_0x3ffb6d(0x1f2)]===_0x4bce16));}['readyForCollab'](_0x255aec){var _0x161d59=_0x2f6cf0;return H[_0x161d59(0x2d9)](this[_0x161d59(0x524)](_0x255aec)['pipe'](V[_0x161d59(0x237)](()=>{})));}[_0x2f6cf0(0x3ad)](){var _0x5dde6e=_0x2f6cf0;this['_univerInstanceService'][_0x5dde6e(0x3a5)](a['UniverInstanceType'][_0x5dde6e(0x3b3)])[_0x5dde6e(0x298)](H['takeUntil'](this[_0x5dde6e(0x3d9)]),V[_0x5dde6e(0x254)](0x10))['subscribe'](async _0x13d95a=>{var _0x369d6e=_0x5dde6e;const _0x3b0b82=_0x13d95a['getUnitId'](),_0x51d917=await this['_startCollaboration'](_0x3b0b82,J[_0x369d6e(0x3b3)]);this['_entities'][_0x369d6e(0x48a)](_0x3b0b82,_0x51d917);}),this[_0x5dde6e(0x3a8)]['getTypeOfUnitAdded$'](a[_0x5dde6e(0x454)]['UNIVER_DOC'])[_0x5dde6e(0x298)](H['takeUntil'](this[_0x5dde6e(0x3d9)]),V[_0x5dde6e(0x254)](0x10))[_0x5dde6e(0x298)](V[_0x5dde6e(0x3ec)](_0x1af134=>!_0x1af134['getUnitId']()['startsWith']('__')))['subscribe'](async _0x35f8cb=>{var _0x1551d3=_0x5dde6e;const _0xaa6810=_0x35f8cb[_0x1551d3(0x3de)](),_0x1bd0f1=await this['_startCollaboration'](_0xaa6810,J[_0x1551d3(0x4a1)]);this[_0x1551d3(0x36d)]['set'](_0xaa6810,_0x1bd0f1);}),H[_0x5dde6e(0x293)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x5dde6e(0x454)][_0x5dde6e(0x3b3)]),this[_0x5dde6e(0x3a8)][_0x5dde6e(0x46f)](a['UniverInstanceType'][_0x5dde6e(0x4a1)]))[_0x5dde6e(0x298)](H[_0x5dde6e(0x4d6)](this[_0x5dde6e(0x3d9)]))['subscribe'](_0xa0c138=>{var _0x479e92=_0x5dde6e;const _0x5aeb92=_0xa0c138[_0x479e92(0x3de)](),_0x195fa3=this[_0x479e92(0x36d)][_0x479e92(0x1f6)](_0x5aeb92);_0x195fa3&&(_0x195fa3[_0x479e92(0x4c4)](),this[_0x479e92(0x36d)][_0x479e92(0x53a)](_0x5aeb92));});}async['_startCollaboration'](_0xc0818d,_0xf12dda){var _0x705113=_0x2f6cf0;const _0x306301=await this[_0x705113(0x229)]['requireSession'](_0xc0818d),_0x20a156=this[_0x705113(0x2d8)][_0x705113(0x486)](this[_0x705113(0x4a2)](_0xf12dda),_0xc0818d,_0xf12dda,_0x306301);return await _0x20a156[_0x705113(0x3a6)](),this['_entityInit$'][_0x705113(0x4b8)](_0x20a156),_0x20a156;}[_0x2f6cf0(0x4a2)](_0x4b1e2e){var _0x45aea0=_0x2f6cf0;switch(_0x4b1e2e){case J['UNIVER_DOC']:return exports[_0x45aea0(0x330)];case J[_0x45aea0(0x3b3)]:return exports[_0x45aea0(0x4af)];default:throw new Error(_0x45aea0(0x51d)+_0x4b1e2e);}}},exports['CollaborationController']=_i([Se(0x0,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),Se(0x1,a['Inject'](exports[_0x2f6cf0(0x365)])),Se(0x2,a[_0x2f6cf0(0x45e)]),Se(0x3,a['IUniverInstanceService'])],exports['CollaborationController']);var li=Object['getOwnPropertyDescriptor'],ui=(_0x520ae3,_0x539d56,_0x3b3982,_0x1b5141)=>{var _0x2da5c4=_0x2f6cf0;for(var _0x51ec7a=_0x1b5141>0x1?void 0x0:_0x1b5141?li(_0x539d56,_0x3b3982):_0x539d56,_0x30fbae=_0x520ae3[_0x2da5c4(0x4ca)]-0x1,_0x2baa41;_0x30fbae>=0x0;_0x30fbae--)(_0x2baa41=_0x520ae3[_0x30fbae])&&(_0x51ec7a=_0x2baa41(_0x51ec7a)||_0x51ec7a);return _0x51ec7a;},Ye=(_0x545de0,_0x5edb37)=>(_0x37e20a,_0xc208dc)=>_0x5edb37(_0x37e20a,_0xc208dc,_0x545de0);const di=_0x2f6cf0(0x350),vi=_0x2f6cf0(0x47e);let xe=class extends a[_0x2f6cf0(0x2a3)]{constructor(_0x1c45be,_0x42257a){var _0x19227b=_0x2f6cf0;super(),this[_0x19227b(0x3a8)]=_0x1c45be,this[_0x19227b(0x543)]=_0x42257a,this[_0x19227b(0x3ad)]();}[_0x2f6cf0(0x3ad)](){var _0x546c7d=_0x2f6cf0;this[_0x546c7d(0x20b)](this[_0x546c7d(0x3a8)][_0x546c7d(0x3f0)]['subscribe'](()=>{var _0x2f83ea=_0x546c7d,_0x335cc5;const _0x22bc97=this[_0x2f83ea(0x3a8)][_0x2f83ea(0x2fa)]();let _0x86c48c=(_0x335cc5=this[_0x2f83ea(0x543)][_0x2f83ea(0x52a)](di))!=null?_0x335cc5:vi;_0x22bc97 instanceof a[_0x2f83ea(0x3cb)]&&(_0x86c48c=_0x22bc97['name']),document[_0x2f83ea(0x4d1)]=_0x86c48c;}));}};xe=ui([Ye(0x0,a[_0x2f6cf0(0x4cf)]),Ye(0x1,a[_0x2f6cf0(0x45e)])],xe);var Si=Object[_0x2f6cf0(0x51f)],fi=(_0x181d7f,_0x3dd917,_0x4d21cd,_0x515325)=>{for(var _0x34e569=_0x515325>0x1?void 0x0:_0x515325?Si(_0x3dd917,_0x4d21cd):_0x3dd917,_0x5d84a0=_0x181d7f['length']-0x1,_0x55bbad;_0x5d84a0>=0x0;_0x5d84a0--)(_0x55bbad=_0x181d7f[_0x5d84a0])&&(_0x34e569=_0x55bbad(_0x34e569)||_0x34e569);return _0x34e569;},Ae=(_0x252a08,_0x4594ec)=>(_0x364b43,_0x198745)=>_0x4594ec(_0x364b43,_0x198745,_0x252a08);let ye=class{constructor(_0x53f49e,_0x3a94b4,_0x5ea81a){var _0x550efa=_0x2f6cf0;this[_0x550efa(0x543)]=_0x53f49e,this['_httpService']=_0x3a94b4,this['localeService']=_0x5ea81a,this['init']();}[_0x2f6cf0(0x3a6)](){var _0x5a627f=_0x2f6cf0;this[_0x5a627f(0x2bc)][_0x5a627f(0x25b)]({'priority':0x1,'interceptor':(_0x3945b6,_0x581b6c)=>_0x581b6c(_0x3945b6)[_0x5a627f(0x298)](H['concatMap'](async _0x338eb3=>{var _0x59c001=_0x5a627f;const _0x19b469=_0x338eb3;if(_0x19b469['status']===0x191){if(typeof window>'u')throw new Error(_0x59c001(0x473));if(window[_0x59c001(0x2ae)](this[_0x59c001(0x4b9)]['t'](_0x59c001(0x51b)))){const _0x400901=window[_0x59c001(0x2f2)](window[_0x59c001(0x3ce)]['href']);window[_0x59c001(0x3ce)][_0x59c001(0x541)]=this[_0x59c001(0x4aa)]()+_0x59c001(0x54b)+_0x400901;}}return _0x19b469;}))});}[_0x2f6cf0(0x4aa)](){var _0x29b82e=_0x2f6cf0,_0x3cc781;const _0x40ee9d=this['_configService'][_0x29b82e(0x52a)](Y);return(_0x3cc781=_0x40ee9d==null?void 0x0:_0x40ee9d[_0x29b82e(0x55e)])!=null?_0x3cc781:$t;}};ye=fi([Ae(0x0,a[_0x2f6cf0(0x45e)]),Ae(0x1,a[_0x2f6cf0(0x4ba)](q['HTTPService'])),Ae(0x2,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x441)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x3665b3,_0x2e6143,_0x528633,_0x4149b5)=>{var _0x14bdf1=_0x2f6cf0;for(var _0x1b51ed=_0x4149b5>0x1?void 0x0:_0x4149b5?Ii(_0x2e6143,_0x528633):_0x2e6143,_0x1243ed=_0x3665b3[_0x14bdf1(0x4ca)]-0x1,_0x13664f;_0x1243ed>=0x0;_0x1243ed--)(_0x13664f=_0x3665b3[_0x1243ed])&&(_0x1b51ed=_0x13664f(_0x1b51ed)||_0x1b51ed);return _0x1b51ed;},qe=(_0x13f37f,_0x1a7cb3)=>(_0x4fa2b3,_0x19ad5f)=>_0x1a7cb3(_0x4fa2b3,_0x19ad5f,_0x13f37f);const mi=_0x2f6cf0(0x243);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x46007f,_0x1eddef){var _0x5f2dde=_0x2f6cf0;super(),this[_0x5f2dde(0x4d5)]=_0x46007f,this[_0x5f2dde(0x543)]=_0x1eddef,this[_0x5f2dde(0x48e)]();}[_0x2f6cf0(0x48e)](){var _0x335d86=_0x2f6cf0;const _0x1e0561=this;this[_0x335d86(0x20b)](this[_0x335d86(0x4d5)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0xa7c6f7){var _0x57ec16=_0x335d86,_0x245705;if(_0xa7c6f7[_0x57ec16(0x390)]===_0x57ec16(0x45b)&&((_0x245705=_0xa7c6f7[_0x57ec16(0x456)])!=null&&_0x245705[_0x57ec16(0x271)])){const {objectID:_0x26e4ad,objectType:_0x2cfc65}=_0xa7c6f7['requestParams'][_0x57ec16(0x271)]||{};if(!_0x26e4ad||_0x2cfc65===void 0x0)return!0x1;const _0x50d77f=_0x1e0561[_0x57ec16(0x2ac)]()+'/'+_0x2cfc65+_0x57ec16(0x50d)+_0x26e4ad+_0x57ec16(0x47a);if(_0xa7c6f7[_0x57ec16(0x26e)]===_0x50d77f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5540a0){var _0x220ff5=_0x335d86,_0x3cf787;return(_0x3cf787=_0x5540a0[_0x220ff5(0x456)])==null?void 0x0:_0x3cf787['body'];},'mergeParamsToRequest'(_0x2a77db,_0x1a4c6b){var _0x55812f=_0x335d86;const _0x36960f=_0x1e0561[_0x55812f(0x2ac)]()+_0x55812f(0x396),_0x80c01e=_0x2a77db['reduce']((_0x449405,_0xc921a8)=>{var _0x1427aa=_0x55812f;const {unitID:_0x44f3e4,objectID:_0x4cb724,objectType:_0x39b840,actions:_0x17e9fc}=_0xc921a8;return _0x449405[_0x44f3e4]||(_0x449405[_0x44f3e4]={}),_0x449405[_0x44f3e4][_0x4cb724]||(_0x449405[_0x44f3e4][_0x4cb724]={'objectID':_0x4cb724,'objectType':_0x39b840,'actions':[]}),_0x449405[_0x44f3e4][_0x4cb724][_0x1427aa(0x21b)][_0x1427aa(0x547)](..._0x17e9fc),_0x449405;},{}),_0x878735=[];for(const _0x2a1170 in _0x80c01e)for(const _0x152ff1 in _0x80c01e[_0x2a1170]){const {actions:_0x52cefe,objectType:_0xd0446c}=_0x80c01e[_0x2a1170][_0x152ff1],_0x17eb31=[...new Set(_0x52cefe)];_0x878735['push']({'unitID':_0x2a1170,'objectID':_0x152ff1,'objectType':_0xd0446c,'actions':_0x17eb31});}return new q[(_0x55812f(0x267))](_0x55812f(0x45b),_0x36960f,{'headers':_0x1a4c6b[_0x55812f(0x2cf)],'withCredentials':_0x1a4c6b[_0x55812f(0x247)],'responseType':_0x1a4c6b[_0x55812f(0x540)],'body':{'requests':_0x878735}});}},{'distributeResult'(_0x5005aa,_0x2d7fe4){const {objectActions:_0x32d192}=_0x5005aa;return _0x2d7fe4['map'](_0x271954=>{var _0x8c82b3=_0x30fe;const {unitID:_0x2a8eaf,objectID:_0x2d9a36,actions:_0x4e97ed}=_0x271954,_0x2ef5ca=_0x32d192[_0x8c82b3(0x2c5)](_0x307c75=>_0x307c75['unitID']===_0x2a8eaf&&_0x307c75[_0x8c82b3(0x3d7)]===_0x2d9a36),_0x4ba2e6=_0x4e97ed[_0x8c82b3(0x237)](_0xb94fc5=>_0x2ef5ca==null?void 0x0:_0x2ef5ca['actions']['find'](_0x4cd822=>_0x4cd822['action']===_0xb94fc5))[_0x8c82b3(0x3ec)](_0x2c2d5a=>!!_0x2c2d5a);return{'config':_0x271954,'result':{'actions':_0x4ba2e6,'error':_0x5005aa[_0x8c82b3(0x2c2)]}};});}})}));}['_getAPIPrefixPath'](){var _0x1be291=_0x2f6cf0,_0x178a43;const _0x399601=this[_0x1be291(0x543)][_0x1be291(0x52a)](Y);return(_0x178a43=_0x399601==null?void 0x0:_0x399601[_0x1be291(0x557)])!=null?_0x178a43:mi;}async[_0x2f6cf0(0x227)](_0x659c04){var _0x49d832=_0x2f6cf0;const _0x233c1c=this['_getAPIPrefixPath']()+'/'+_0x659c04[_0x49d832(0x405)]+_0x49d832(0x2e1);return(await this[_0x49d832(0x4d5)]['post'](_0x233c1c,{'body':_0x659c04}))[_0x49d832(0x271)][_0x49d832(0x3d7)]||'';}async[_0x2f6cf0(0x2a0)](_0xbcd641){var _0x36e409=_0x2f6cf0;const _0x4f8faa=this[_0x36e409(0x2ac)]()+_0x36e409(0x2d0);return(await this[_0x36e409(0x4d5)][_0x36e409(0x295)](_0x4f8faa,{'body':_0xbcd641}))['body']['objects'];}async['update'](_0x18c5ce){var _0x351b77=_0x2f6cf0,_0x2699eb,_0x13dbc4;const _0x2dad89=this[_0x351b77(0x2ac)]()+'/'+_0x18c5ce[_0x351b77(0x405)]+'/object/'+_0x18c5ce['objectID'],_0x2f197d=await this[_0x351b77(0x4d5)]['put'](_0x2dad89,{'body':_0x18c5ce});if(((_0x13dbc4=(_0x2699eb=_0x2f197d==null?void 0x0:_0x2f197d[_0x351b77(0x271)])==null?void 0x0:_0x2699eb[_0x351b77(0x2c2)])==null?void 0x0:_0x13dbc4[_0x351b77(0x44e)])!==0x1)throw new Error(_0x351b77(0x213));}async[_0x2f6cf0(0x4a3)](_0x1d531f){var _0xf5d8da=_0x2f6cf0;const _0x663071=this[_0xf5d8da(0x2ac)]()+'/'+_0x1d531f[_0xf5d8da(0x405)]+_0xf5d8da(0x50d)+_0x1d531f['objectID']+_0xf5d8da(0x47a);return(await this[_0xf5d8da(0x4d5)]['post'](_0x663071,{'body':_0x1d531f}))[_0xf5d8da(0x271)]['actions'];}async[_0x2f6cf0(0x4e5)](_0x1a42b7){var _0x5e0580=_0x2f6cf0;const _0x92a3af=this[_0x5e0580(0x2ac)]()+_0x5e0580(0x396);return(await this[_0x5e0580(0x4d5)]['post'](_0x92a3af,{'body':{'requests':_0x1a42b7}}))[_0x5e0580(0x271)][_0x5e0580(0x539)];}async[_0x2f6cf0(0x23d)](_0x729ef6){var _0x579418=_0x2f6cf0;const _0x331de5=this[_0x579418(0x2ac)]()+'/'+_0x729ef6[_0x579418(0x405)]+'/role',_0x188f56=await this[_0x579418(0x4d5)]['post'](_0x331de5,{'body':_0x729ef6});return{'roles':_0x188f56[_0x579418(0x271)]['roles'],'actions':_0x188f56['body'][_0x579418(0x21b)]};}async[_0x2f6cf0(0x3db)](_0x1b46a7){var _0xa19818=_0x2f6cf0;const _0x1e2aa7=this[_0xa19818(0x2ac)]()+_0xa19818(0x49a);await this[_0xa19818(0x4d5)][_0xa19818(0x53a)](_0x1e2aa7,{'params':{'collaboratorID':_0x1b46a7[_0xa19818(0x285)],'objectID':_0x1b46a7['objectID'],'unitID':_0x1b46a7[_0xa19818(0x1f2)]}});}async[_0x2f6cf0(0x3be)](_0x2c8e6b){var _0x556e85=_0x2f6cf0;const _0x9f7645=this[_0x556e85(0x2ac)]()+_0x556e85(0x49a);await this[_0x556e85(0x4d5)][_0x556e85(0x200)](_0x9f7645,{'body':_0x2c8e6b});}async[_0x2f6cf0(0x520)](_0x495271){var _0x2661da=_0x2f6cf0;const _0x2bec73=this[_0x2661da(0x2ac)]()+_0x2661da(0x49a);await this[_0x2661da(0x4d5)][_0x2661da(0x295)](_0x2bec73,{'body':_0x495271});}async['listCollaborators'](_0x42bb5e){var _0x43a44b=_0x2f6cf0;const _0x2900b1=this['_getAPIPrefixPath']()+_0x43a44b(0x49a);return(await this[_0x43a44b(0x4d5)][_0x43a44b(0x1f6)](_0x2900b1,{'params':{'objectID':_0x42bb5e['objectID'],'unitID':_0x42bb5e['unitID']}}))[_0x43a44b(0x271)][_0x43a44b(0x431)];}async[_0x2f6cf0(0x29b)](_0x58534a){var _0x28810b=_0x2f6cf0;const _0xc7566=this['_getAPIPrefixPath']()+_0x28810b(0x49a);await this[_0x28810b(0x4d5)]['put'](_0xc7566,{'body':_0x58534a});}},exports[_0x2f6cf0(0x2b3)]=pi([qe(0x0,a[_0x2f6cf0(0x4ba)](q['HTTPService'])),qe(0x1,a['Inject'](a[_0x2f6cf0(0x45e)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0xb247e1){var _0x546079=_0x2f6cf0;return _0xb247e1&&_0xb247e1[_0x546079(0x383)]&&Object[_0x546079(0x31c)][_0x546079(0x2dd)][_0x546079(0x411)](_0xb247e1,'default')?_0xb247e1[_0x546079(0x40c)]:_0xb247e1;}var fe={'exports':{}};function gi(_0x5cdbbe){var _0x1e005f=_0x2f6cf0;throw new Error(_0x1e005f(0x32a)+_0x5cdbbe+_0x1e005f(0x475));}var Ie={'exports':{}},Ei=Ie[_0x2f6cf0(0x28a)],Ke;function Q(){return Ke||(Ke=0x1,function(_0x42e79a,_0x55a5cd){(function(_0xfa52a8,_0x2fd88a){_0x42e79a['exports']=_0x2fd88a();}(Ei,function(){var _0x39d5f0=_0x39d5f0||function(_0xc1382f,_0x481ffc){var _0x3acba5=_0x30fe,_0x42e6f5;if(typeof window<'u'&&window[_0x3acba5(0x419)]&&(_0x42e6f5=window[_0x3acba5(0x419)]),typeof self<'u'&&self[_0x3acba5(0x419)]&&(_0x42e6f5=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x42e6f5=globalThis[_0x3acba5(0x419)]),!_0x42e6f5&&typeof window<'u'&&window[_0x3acba5(0x20d)]&&(_0x42e6f5=window[_0x3acba5(0x20d)]),!_0x42e6f5&&typeof Pe<'u'&&Pe[_0x3acba5(0x419)]&&(_0x42e6f5=Pe[_0x3acba5(0x419)]),!_0x42e6f5&&typeof gi=='function')try{_0x42e6f5=require('crypto');}catch{}var _0xae6c3f=function(){var _0x202b1c=_0x3acba5;if(_0x42e6f5){if(typeof _0x42e6f5[_0x202b1c(0x342)]==_0x202b1c(0x389))try{return _0x42e6f5[_0x202b1c(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x42e6f5[_0x202b1c(0x31a)]==_0x202b1c(0x389))try{return _0x42e6f5['randomBytes'](0x4)[_0x202b1c(0x37d)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xdb0317=Object['create']||(function(){function _0xc565e1(){}return function(_0x3b129e){var _0x3f2123=_0x30fe,_0xe1814d;return _0xc565e1['prototype']=_0x3b129e,_0xe1814d=new _0xc565e1(),_0xc565e1[_0x3f2123(0x31c)]=null,_0xe1814d;};}()),_0x61b358={},_0x5dd5a7=_0x61b358[_0x3acba5(0x46c)]={},_0x218ccf=_0x5dd5a7[_0x3acba5(0x35e)]=(function(){return{'extend':function(_0x5804c5){var _0x51395e=_0x30fe,_0xcab3e2=_0xdb0317(this);return _0x5804c5&&_0xcab3e2[_0x51395e(0x207)](_0x5804c5),(!_0xcab3e2[_0x51395e(0x2dd)](_0x51395e(0x3a6))||this[_0x51395e(0x3a6)]===_0xcab3e2['init'])&&(_0xcab3e2[_0x51395e(0x3a6)]=function(){var _0x52e437=_0x51395e;_0xcab3e2[_0x52e437(0x4ef)]['init'][_0x52e437(0x2a8)](this,arguments);}),_0xcab3e2[_0x51395e(0x3a6)][_0x51395e(0x31c)]=_0xcab3e2,_0xcab3e2[_0x51395e(0x4ef)]=this,_0xcab3e2;},'create':function(){var _0x5db435=_0x30fe,_0x284021=this[_0x5db435(0x363)]();return _0x284021['init'][_0x5db435(0x2a8)](_0x284021,arguments),_0x284021;},'init':function(){},'mixIn':function(_0x3bbb26){var _0x5ebecb=_0x30fe;for(var _0x21c7d6 in _0x3bbb26)_0x3bbb26['hasOwnProperty'](_0x21c7d6)&&(this[_0x21c7d6]=_0x3bbb26[_0x21c7d6]);_0x3bbb26[_0x5ebecb(0x2dd)](_0x5ebecb(0x532))&&(this['toString']=_0x3bbb26[_0x5ebecb(0x532)]);},'clone':function(){var _0x50c326=_0x30fe;return this['init'][_0x50c326(0x31c)][_0x50c326(0x363)](this);}};}()),_0x2778e7=_0x5dd5a7['WordArray']=_0x218ccf[_0x3acba5(0x363)]({'init':function(_0x47de5d,_0x1631cd){var _0x58a3db=_0x3acba5;_0x47de5d=this['words']=_0x47de5d||[],_0x1631cd!=_0x481ffc?this[_0x58a3db(0x2a5)]=_0x1631cd:this[_0x58a3db(0x2a5)]=_0x47de5d['length']*0x4;},'toString':function(_0x1d7fc7){return(_0x1d7fc7||_0x3ece1b)['stringify'](this);},'concat':function(_0x2ff692){var _0x1f5460=_0x3acba5,_0x3be097=this['words'],_0x4f9995=_0x2ff692['words'],_0x15a0c6=this[_0x1f5460(0x2a5)],_0x591942=_0x2ff692[_0x1f5460(0x2a5)];if(this['clamp'](),_0x15a0c6%0x4)for(var _0xef20c6=0x0;_0xef20c6<_0x591942;_0xef20c6++){var _0x4f653e=_0x4f9995[_0xef20c6>>>0x2]>>>0x18-_0xef20c6%0x4*0x8&0xff;_0x3be097[_0x15a0c6+_0xef20c6>>>0x2]|=_0x4f653e<<0x18-(_0x15a0c6+_0xef20c6)%0x4*0x8;}else{for(var _0x1bcdad=0x0;_0x1bcdad<_0x591942;_0x1bcdad+=0x4)_0x3be097[_0x15a0c6+_0x1bcdad>>>0x2]=_0x4f9995[_0x1bcdad>>>0x2];}return this['sigBytes']+=_0x591942,this;},'clamp':function(){var _0x1bb8f7=_0x3acba5,_0x10bb25=this['words'],_0x1d73fb=this[_0x1bb8f7(0x2a5)];_0x10bb25[_0x1d73fb>>>0x2]&=0xffffffff<<0x20-_0x1d73fb%0x4*0x8,_0x10bb25[_0x1bb8f7(0x4ca)]=_0xc1382f[_0x1bb8f7(0x469)](_0x1d73fb/0x4);},'clone':function(){var _0x17cf36=_0x3acba5,_0x303d86=_0x218ccf['clone'][_0x17cf36(0x411)](this);return _0x303d86['words']=this[_0x17cf36(0x488)][_0x17cf36(0x2e5)](0x0),_0x303d86;},'random':function(_0x42c3c2){var _0x1e2776=_0x3acba5;for(var _0x505dc1=[],_0x2f1a75=0x0;_0x2f1a75<_0x42c3c2;_0x2f1a75+=0x4)_0x505dc1['push'](_0xae6c3f());return new _0x2778e7[(_0x1e2776(0x3a6))](_0x505dc1,_0x42c3c2);}}),_0x2b0d13=_0x61b358[_0x3acba5(0x27e)]={},_0x3ece1b=_0x2b0d13[_0x3acba5(0x465)]={'stringify':function(_0x47e769){var _0x3edff0=_0x3acba5;for(var _0x4c0505=_0x47e769[_0x3edff0(0x488)],_0xa5f6c2=_0x47e769[_0x3edff0(0x2a5)],_0x59c063=[],_0x40fd8e=0x0;_0x40fd8e<_0xa5f6c2;_0x40fd8e++){var _0xd7ff10=_0x4c0505[_0x40fd8e>>>0x2]>>>0x18-_0x40fd8e%0x4*0x8&0xff;_0x59c063[_0x3edff0(0x547)]((_0xd7ff10>>>0x4)[_0x3edff0(0x532)](0x10)),_0x59c063[_0x3edff0(0x547)]((_0xd7ff10&0xf)[_0x3edff0(0x532)](0x10));}return _0x59c063[_0x3edff0(0x493)]('');},'parse':function(_0x5d8a88){var _0x17bee3=_0x3acba5;for(var _0x44b9c0=_0x5d8a88[_0x17bee3(0x4ca)],_0x39fd3a=[],_0x30d771=0x0;_0x30d771<_0x44b9c0;_0x30d771+=0x2)_0x39fd3a[_0x30d771>>>0x3]|=parseInt(_0x5d8a88[_0x17bee3(0x561)](_0x30d771,0x2),0x10)<<0x18-_0x30d771%0x8*0x4;return new _0x2778e7[(_0x17bee3(0x3a6))](_0x39fd3a,_0x44b9c0/0x2);}},_0x161e86=_0x2b0d13[_0x3acba5(0x2fb)]={'stringify':function(_0x53e160){var _0x410905=_0x3acba5;for(var _0x4acb32=_0x53e160[_0x410905(0x488)],_0x45455f=_0x53e160[_0x410905(0x2a5)],_0x95688b=[],_0x59378f=0x0;_0x59378f<_0x45455f;_0x59378f++){var _0x3212f4=_0x4acb32[_0x59378f>>>0x2]>>>0x18-_0x59378f%0x4*0x8&0xff;_0x95688b['push'](String['fromCharCode'](_0x3212f4));}return _0x95688b['join']('');},'parse':function(_0xa96f79){var _0x386b1d=_0x3acba5;for(var _0x4ba7a8=_0xa96f79[_0x386b1d(0x4ca)],_0x38792b=[],_0x40334d=0x0;_0x40334d<_0x4ba7a8;_0x40334d++)_0x38792b[_0x40334d>>>0x2]|=(_0xa96f79[_0x386b1d(0x55a)](_0x40334d)&0xff)<<0x18-_0x40334d%0x4*0x8;return new _0x2778e7[(_0x386b1d(0x3a6))](_0x38792b,_0x4ba7a8);}},_0x5b1ca1=_0x2b0d13[_0x3acba5(0x558)]={'stringify':function(_0x3b100a){var _0x1cf9a8=_0x3acba5;try{return decodeURIComponent(escape(_0x161e86[_0x1cf9a8(0x245)](_0x3b100a)));}catch{throw new Error(_0x1cf9a8(0x54e));}},'parse':function(_0x2704a2){return _0x161e86['parse'](unescape(encodeURIComponent(_0x2704a2)));}},_0x9d3769=_0x5dd5a7[_0x3acba5(0x461)]=_0x218ccf[_0x3acba5(0x363)]({'reset':function(){var _0x391be8=_0x3acba5;this['_data']=new _0x2778e7[(_0x391be8(0x3a6))](),this[_0x391be8(0x324)]=0x0;},'_append':function(_0x43f2ab){var _0x1c3774=_0x3acba5;typeof _0x43f2ab==_0x1c3774(0x501)&&(_0x43f2ab=_0x5b1ca1['parse'](_0x43f2ab)),this['_data'][_0x1c3774(0x385)](_0x43f2ab),this['_nDataBytes']+=_0x43f2ab[_0x1c3774(0x2a5)];},'_process':function(_0x5736e3){var _0x733679=_0x3acba5,_0xa9c54d,_0x429eaa=this[_0x733679(0x462)],_0x1d89ca=_0x429eaa[_0x733679(0x488)],_0x1a2e71=_0x429eaa[_0x733679(0x2a5)],_0x4d89d3=this['blockSize'],_0x1060db=_0x4d89d3*0x4,_0xf183cf=_0x1a2e71/_0x1060db;_0x5736e3?_0xf183cf=_0xc1382f[_0x733679(0x469)](_0xf183cf):_0xf183cf=_0xc1382f[_0x733679(0x423)]((_0xf183cf|0x0)-this[_0x733679(0x214)],0x0);var _0x260877=_0xf183cf*_0x4d89d3,_0x9dfa15=_0xc1382f['min'](_0x260877*0x4,_0x1a2e71);if(_0x260877){for(var _0xc35259=0x0;_0xc35259<_0x260877;_0xc35259+=_0x4d89d3)this[_0x733679(0x535)](_0x1d89ca,_0xc35259);_0xa9c54d=_0x1d89ca[_0x733679(0x222)](0x0,_0x260877),_0x429eaa[_0x733679(0x2a5)]-=_0x9dfa15;}return new _0x2778e7['init'](_0xa9c54d,_0x9dfa15);},'clone':function(){var _0x1adba4=_0x3acba5,_0x4c2cff=_0x218ccf['clone']['call'](this);return _0x4c2cff[_0x1adba4(0x462)]=this[_0x1adba4(0x462)][_0x1adba4(0x4a8)](),_0x4c2cff;},'_minBufferSize':0x0});_0x5dd5a7[_0x3acba5(0x27b)]=_0x9d3769[_0x3acba5(0x363)]({'cfg':_0x218ccf[_0x3acba5(0x363)](),'init':function(_0x40cbe7){var _0x4bbc8a=_0x3acba5;this[_0x4bbc8a(0x2c7)]=this[_0x4bbc8a(0x2c7)]['extend'](_0x40cbe7),this['reset']();},'reset':function(){var _0x42f968=_0x3acba5;_0x9d3769[_0x42f968(0x4e0)][_0x42f968(0x411)](this),this[_0x42f968(0x3a7)]();},'update':function(_0x4098f2){return this['_append'](_0x4098f2),this['_process'](),this;},'finalize':function(_0x145c97){var _0x53cb78=_0x3acba5;_0x145c97&&this['_append'](_0x145c97);var _0x49ce95=this[_0x53cb78(0x536)]();return _0x49ce95;},'blockSize':0x10,'_createHelper':function(_0x29dbdc){return function(_0x54a63c,_0x3c095c){var _0x5ff169=_0x30fe;return new _0x29dbdc[(_0x5ff169(0x3a6))](_0x3c095c)['finalize'](_0x54a63c);};},'_createHmacHelper':function(_0x5e4edd){return function(_0x21ebc6,_0x4326d5){var _0x3e94bd=_0x30fe;return new _0x4e8d81[(_0x3e94bd(0x234))][(_0x3e94bd(0x3a6))](_0x5e4edd,_0x4326d5)[_0x3e94bd(0x1f8)](_0x21ebc6);};}});var _0x4e8d81=_0x61b358[_0x3acba5(0x393)]={};return _0x61b358;}(Math);return _0x39d5f0;}));}(Ie)),Ie['exports'];}var pe={'exports':{}},Ci=pe[_0x2f6cf0(0x28a)],ze;function Et(){var _0x2262e6=_0x2f6cf0;return ze||(ze=0x1,function(_0x302be7,_0x4ec05f){(function(_0x195266,_0x5999a2){var _0x1939ff=_0x30fe;_0x302be7[_0x1939ff(0x28a)]=_0x5999a2(Q());}(Ci,function(_0x280111){var _0x3dc212=_0x30fe;return(function(){var _0x2ea8b3=_0x30fe,_0x6f2e15=_0x280111,_0x423bf5=_0x6f2e15['lib'],_0x17d730=_0x423bf5[_0x2ea8b3(0x31e)],_0x59fc4a=_0x6f2e15['enc'];_0x59fc4a['Base64']={'stringify':function(_0x362117){var _0x503eff=_0x2ea8b3,_0xf48085=_0x362117[_0x503eff(0x488)],_0x5475a4=_0x362117[_0x503eff(0x2a5)],_0x4a38ed=this['_map'];_0x362117['clamp']();for(var _0x486ba8=[],_0xd653b6=0x0;_0xd653b6<_0x5475a4;_0xd653b6+=0x3)for(var _0x4ed657=_0xf48085[_0xd653b6>>>0x2]>>>0x18-_0xd653b6%0x4*0x8&0xff,_0x2f9660=_0xf48085[_0xd653b6+0x1>>>0x2]>>>0x18-(_0xd653b6+0x1)%0x4*0x8&0xff,_0x199638=_0xf48085[_0xd653b6+0x2>>>0x2]>>>0x18-(_0xd653b6+0x2)%0x4*0x8&0xff,_0x1874f2=_0x4ed657<<0x10|_0x2f9660<<0x8|_0x199638,_0x348feb=0x0;_0x348feb<0x4&&_0xd653b6+_0x348feb*0.75<_0x5475a4;_0x348feb++)_0x486ba8[_0x503eff(0x547)](_0x4a38ed[_0x503eff(0x36f)](_0x1874f2>>>0x6*(0x3-_0x348feb)&0x3f));var _0x56c207=_0x4a38ed[_0x503eff(0x36f)](0x40);if(_0x56c207){for(;_0x486ba8[_0x503eff(0x4ca)]%0x4;)_0x486ba8[_0x503eff(0x547)](_0x56c207);}return _0x486ba8[_0x503eff(0x493)]('');},'parse':function(_0x2a05cd){var _0x5e2c51=_0x2ea8b3,_0x4433e5=_0x2a05cd[_0x5e2c51(0x4ca)],_0x33e3f0=this[_0x5e2c51(0x55b)],_0x592eee=this[_0x5e2c51(0x299)];if(!_0x592eee){_0x592eee=this[_0x5e2c51(0x299)]=[];for(var _0xb80bcd=0x0;_0xb80bcd<_0x33e3f0['length'];_0xb80bcd++)_0x592eee[_0x33e3f0['charCodeAt'](_0xb80bcd)]=_0xb80bcd;}var _0x4ce0b7=_0x33e3f0[_0x5e2c51(0x36f)](0x40);if(_0x4ce0b7){var _0x5590ac=_0x2a05cd[_0x5e2c51(0x3bd)](_0x4ce0b7);_0x5590ac!==-0x1&&(_0x4433e5=_0x5590ac);}return _0x89fe8(_0x2a05cd,_0x4433e5,_0x592eee);},'_map':_0x2ea8b3(0x29c)};function _0x89fe8(_0x2e9905,_0x378c85,_0x57f2d4){var _0x218fe5=_0x2ea8b3;for(var _0x2333a4=[],_0x348ca5=0x0,_0xa16202=0x0;_0xa16202<_0x378c85;_0xa16202++)if(_0xa16202%0x4){var _0x344298=_0x57f2d4[_0x2e9905[_0x218fe5(0x55a)](_0xa16202-0x1)]<<_0xa16202%0x4*0x2,_0x147430=_0x57f2d4[_0x2e9905[_0x218fe5(0x55a)](_0xa16202)]>>>0x6-_0xa16202%0x4*0x2,_0x19c0b3=_0x344298|_0x147430;_0x2333a4[_0x348ca5>>>0x2]|=_0x19c0b3<<0x18-_0x348ca5%0x4*0x8,_0x348ca5++;}return _0x17d730[_0x218fe5(0x227)](_0x2333a4,_0x348ca5);}}()),_0x280111['enc'][_0x3dc212(0x4a0)];}));}(pe)),pe[_0x2262e6(0x28a)];}var me={'exports':{}},Ti=me[_0x2f6cf0(0x28a)],Je;function bi(){var _0x5c559b=_0x2f6cf0;return Je||(Je=0x1,function(_0x29d06a,_0x5595f1){(function(_0x20f925,_0x314a97){var _0x18a789=_0x30fe;_0x29d06a[_0x18a789(0x28a)]=_0x314a97(Q());}(Ti,function(_0x4c1b29){return function(_0x52f867){var _0x3994a4=_0x30fe,_0x199e5e=_0x4c1b29,_0x5be676=_0x199e5e['lib'],_0x51ce44=_0x5be676[_0x3994a4(0x31e)],_0x23ec47=_0x5be676[_0x3994a4(0x27b)],_0x16b0cf=_0x199e5e[_0x3994a4(0x393)],_0x4e5ae8=[];(function(){var _0x48add9=_0x3994a4;for(var _0x18f29a=0x0;_0x18f29a<0x40;_0x18f29a++)_0x4e5ae8[_0x18f29a]=_0x52f867[_0x48add9(0x26d)](_0x52f867[_0x48add9(0x37b)](_0x18f29a+0x1))*0x100000000|0x0;}());var _0x4d2b2b=_0x16b0cf[_0x3994a4(0x263)]=_0x23ec47['extend']({'_doReset':function(){var _0x214504=_0x3994a4;this[_0x214504(0x32e)]=new _0x51ce44['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3198e6,_0x1e9602){var _0x22a186=_0x3994a4;for(var _0x29ba30=0x0;_0x29ba30<0x10;_0x29ba30++){var _0x16c18c=_0x1e9602+_0x29ba30,_0x49a5f4=_0x3198e6[_0x16c18c];_0x3198e6[_0x16c18c]=(_0x49a5f4<<0x8|_0x49a5f4>>>0x18)&0xff00ff|(_0x49a5f4<<0x18|_0x49a5f4>>>0x8)&0xff00ff00;}var _0x3e43a0=this['_hash'][_0x22a186(0x488)],_0x4cf7a4=_0x3198e6[_0x1e9602+0x0],_0x4c6e26=_0x3198e6[_0x1e9602+0x1],_0x18ea2d=_0x3198e6[_0x1e9602+0x2],_0x472079=_0x3198e6[_0x1e9602+0x3],_0x1b72c9=_0x3198e6[_0x1e9602+0x4],_0x3da5c8=_0x3198e6[_0x1e9602+0x5],_0x2f72e4=_0x3198e6[_0x1e9602+0x6],_0x2b0353=_0x3198e6[_0x1e9602+0x7],_0x194752=_0x3198e6[_0x1e9602+0x8],_0x18f4d0=_0x3198e6[_0x1e9602+0x9],_0x39c08b=_0x3198e6[_0x1e9602+0xa],_0x3473b7=_0x3198e6[_0x1e9602+0xb],_0x1ffeed=_0x3198e6[_0x1e9602+0xc],_0x304706=_0x3198e6[_0x1e9602+0xd],_0x50387c=_0x3198e6[_0x1e9602+0xe],_0xf9e352=_0x3198e6[_0x1e9602+0xf],_0x2f2531=_0x3e43a0[0x0],_0x3e50f9=_0x3e43a0[0x1],_0x4c15e6=_0x3e43a0[0x2],_0x3ab53b=_0x3e43a0[0x3];_0x2f2531=_0x5cf5f7(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x4cf7a4,0x7,_0x4e5ae8[0x0]),_0x3ab53b=_0x5cf5f7(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x4c6e26,0xc,_0x4e5ae8[0x1]),_0x4c15e6=_0x5cf5f7(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x18ea2d,0x11,_0x4e5ae8[0x2]),_0x3e50f9=_0x5cf5f7(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x472079,0x16,_0x4e5ae8[0x3]),_0x2f2531=_0x5cf5f7(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x1b72c9,0x7,_0x4e5ae8[0x4]),_0x3ab53b=_0x5cf5f7(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3da5c8,0xc,_0x4e5ae8[0x5]),_0x4c15e6=_0x5cf5f7(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x2f72e4,0x11,_0x4e5ae8[0x6]),_0x3e50f9=_0x5cf5f7(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x2b0353,0x16,_0x4e5ae8[0x7]),_0x2f2531=_0x5cf5f7(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x194752,0x7,_0x4e5ae8[0x8]),_0x3ab53b=_0x5cf5f7(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x18f4d0,0xc,_0x4e5ae8[0x9]),_0x4c15e6=_0x5cf5f7(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x39c08b,0x11,_0x4e5ae8[0xa]),_0x3e50f9=_0x5cf5f7(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3473b7,0x16,_0x4e5ae8[0xb]),_0x2f2531=_0x5cf5f7(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x1ffeed,0x7,_0x4e5ae8[0xc]),_0x3ab53b=_0x5cf5f7(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x304706,0xc,_0x4e5ae8[0xd]),_0x4c15e6=_0x5cf5f7(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x50387c,0x11,_0x4e5ae8[0xe]),_0x3e50f9=_0x5cf5f7(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0xf9e352,0x16,_0x4e5ae8[0xf]),_0x2f2531=_0x168cbc(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x4c6e26,0x5,_0x4e5ae8[0x10]),_0x3ab53b=_0x168cbc(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x2f72e4,0x9,_0x4e5ae8[0x11]),_0x4c15e6=_0x168cbc(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x3473b7,0xe,_0x4e5ae8[0x12]),_0x3e50f9=_0x168cbc(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x4cf7a4,0x14,_0x4e5ae8[0x13]),_0x2f2531=_0x168cbc(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x3da5c8,0x5,_0x4e5ae8[0x14]),_0x3ab53b=_0x168cbc(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x39c08b,0x9,_0x4e5ae8[0x15]),_0x4c15e6=_0x168cbc(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0xf9e352,0xe,_0x4e5ae8[0x16]),_0x3e50f9=_0x168cbc(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x1b72c9,0x14,_0x4e5ae8[0x17]),_0x2f2531=_0x168cbc(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x18f4d0,0x5,_0x4e5ae8[0x18]),_0x3ab53b=_0x168cbc(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x50387c,0x9,_0x4e5ae8[0x19]),_0x4c15e6=_0x168cbc(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x472079,0xe,_0x4e5ae8[0x1a]),_0x3e50f9=_0x168cbc(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x194752,0x14,_0x4e5ae8[0x1b]),_0x2f2531=_0x168cbc(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x304706,0x5,_0x4e5ae8[0x1c]),_0x3ab53b=_0x168cbc(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x18ea2d,0x9,_0x4e5ae8[0x1d]),_0x4c15e6=_0x168cbc(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x2b0353,0xe,_0x4e5ae8[0x1e]),_0x3e50f9=_0x168cbc(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x1ffeed,0x14,_0x4e5ae8[0x1f]),_0x2f2531=_0x3ff24e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x3da5c8,0x4,_0x4e5ae8[0x20]),_0x3ab53b=_0x3ff24e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x194752,0xb,_0x4e5ae8[0x21]),_0x4c15e6=_0x3ff24e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x3473b7,0x10,_0x4e5ae8[0x22]),_0x3e50f9=_0x3ff24e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x50387c,0x17,_0x4e5ae8[0x23]),_0x2f2531=_0x3ff24e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x4c6e26,0x4,_0x4e5ae8[0x24]),_0x3ab53b=_0x3ff24e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x1b72c9,0xb,_0x4e5ae8[0x25]),_0x4c15e6=_0x3ff24e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x2b0353,0x10,_0x4e5ae8[0x26]),_0x3e50f9=_0x3ff24e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x39c08b,0x17,_0x4e5ae8[0x27]),_0x2f2531=_0x3ff24e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x304706,0x4,_0x4e5ae8[0x28]),_0x3ab53b=_0x3ff24e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x4cf7a4,0xb,_0x4e5ae8[0x29]),_0x4c15e6=_0x3ff24e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x472079,0x10,_0x4e5ae8[0x2a]),_0x3e50f9=_0x3ff24e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x2f72e4,0x17,_0x4e5ae8[0x2b]),_0x2f2531=_0x3ff24e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x18f4d0,0x4,_0x4e5ae8[0x2c]),_0x3ab53b=_0x3ff24e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x1ffeed,0xb,_0x4e5ae8[0x2d]),_0x4c15e6=_0x3ff24e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0xf9e352,0x10,_0x4e5ae8[0x2e]),_0x3e50f9=_0x3ff24e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x18ea2d,0x17,_0x4e5ae8[0x2f]),_0x2f2531=_0x37d80e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x4cf7a4,0x6,_0x4e5ae8[0x30]),_0x3ab53b=_0x37d80e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x2b0353,0xa,_0x4e5ae8[0x31]),_0x4c15e6=_0x37d80e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x50387c,0xf,_0x4e5ae8[0x32]),_0x3e50f9=_0x37d80e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3da5c8,0x15,_0x4e5ae8[0x33]),_0x2f2531=_0x37d80e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x1ffeed,0x6,_0x4e5ae8[0x34]),_0x3ab53b=_0x37d80e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x472079,0xa,_0x4e5ae8[0x35]),_0x4c15e6=_0x37d80e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x39c08b,0xf,_0x4e5ae8[0x36]),_0x3e50f9=_0x37d80e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x4c6e26,0x15,_0x4e5ae8[0x37]),_0x2f2531=_0x37d80e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x194752,0x6,_0x4e5ae8[0x38]),_0x3ab53b=_0x37d80e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0xf9e352,0xa,_0x4e5ae8[0x39]),_0x4c15e6=_0x37d80e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x2f72e4,0xf,_0x4e5ae8[0x3a]),_0x3e50f9=_0x37d80e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x304706,0x15,_0x4e5ae8[0x3b]),_0x2f2531=_0x37d80e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x1b72c9,0x6,_0x4e5ae8[0x3c]),_0x3ab53b=_0x37d80e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3473b7,0xa,_0x4e5ae8[0x3d]),_0x4c15e6=_0x37d80e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x18ea2d,0xf,_0x4e5ae8[0x3e]),_0x3e50f9=_0x37d80e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x18f4d0,0x15,_0x4e5ae8[0x3f]),_0x3e43a0[0x0]=_0x3e43a0[0x0]+_0x2f2531|0x0,_0x3e43a0[0x1]=_0x3e43a0[0x1]+_0x3e50f9|0x0,_0x3e43a0[0x2]=_0x3e43a0[0x2]+_0x4c15e6|0x0,_0x3e43a0[0x3]=_0x3e43a0[0x3]+_0x3ab53b|0x0;},'_doFinalize':function(){var _0x1f5f9b=_0x3994a4,_0x1ec597=this[_0x1f5f9b(0x462)],_0x2f7e3c=_0x1ec597['words'],_0x58022f=this[_0x1f5f9b(0x324)]*0x8,_0x57dcef=_0x1ec597[_0x1f5f9b(0x2a5)]*0x8;_0x2f7e3c[_0x57dcef>>>0x5]|=0x80<<0x18-_0x57dcef%0x20;var _0x33ab84=_0x52f867[_0x1f5f9b(0x4ad)](_0x58022f/0x100000000),_0x7b6ff8=_0x58022f;_0x2f7e3c[(_0x57dcef+0x40>>>0x9<<0x4)+0xf]=(_0x33ab84<<0x8|_0x33ab84>>>0x18)&0xff00ff|(_0x33ab84<<0x18|_0x33ab84>>>0x8)&0xff00ff00,_0x2f7e3c[(_0x57dcef+0x40>>>0x9<<0x4)+0xe]=(_0x7b6ff8<<0x8|_0x7b6ff8>>>0x18)&0xff00ff|(_0x7b6ff8<<0x18|_0x7b6ff8>>>0x8)&0xff00ff00,_0x1ec597[_0x1f5f9b(0x2a5)]=(_0x2f7e3c[_0x1f5f9b(0x4ca)]+0x1)*0x4,this[_0x1f5f9b(0x4e8)]();for(var _0x35141a=this[_0x1f5f9b(0x32e)],_0xff11db=_0x35141a[_0x1f5f9b(0x488)],_0x1206b1=0x0;_0x1206b1<0x4;_0x1206b1++){var _0x1d7efc=_0xff11db[_0x1206b1];_0xff11db[_0x1206b1]=(_0x1d7efc<<0x8|_0x1d7efc>>>0x18)&0xff00ff|(_0x1d7efc<<0x18|_0x1d7efc>>>0x8)&0xff00ff00;}return _0x35141a;},'clone':function(){var _0x3233bf=_0x3994a4,_0x41fc1a=_0x23ec47[_0x3233bf(0x4a8)]['call'](this);return _0x41fc1a[_0x3233bf(0x32e)]=this[_0x3233bf(0x32e)][_0x3233bf(0x4a8)](),_0x41fc1a;}});function _0x5cf5f7(_0x1fb00f,_0x2e61b1,_0x1e8ff7,_0x3295a3,_0x4ef8f1,_0x1d7a8f,_0x283dc9){var _0x249bd2=_0x1fb00f+(_0x2e61b1&_0x1e8ff7|~_0x2e61b1&_0x3295a3)+_0x4ef8f1+_0x283dc9;return(_0x249bd2<<_0x1d7a8f|_0x249bd2>>>0x20-_0x1d7a8f)+_0x2e61b1;}function _0x168cbc(_0xc0b19a,_0x54b7a4,_0x24ff26,_0x448ef4,_0x2ff54c,_0x2bc4ae,_0x6a1021){var _0x256d1d=_0xc0b19a+(_0x54b7a4&_0x448ef4|_0x24ff26&~_0x448ef4)+_0x2ff54c+_0x6a1021;return(_0x256d1d<<_0x2bc4ae|_0x256d1d>>>0x20-_0x2bc4ae)+_0x54b7a4;}function _0x3ff24e(_0x40d61d,_0x556a8c,_0x242b01,_0x5be550,_0x4f68c3,_0x386d88,_0x1cfbe5){var _0x2dd995=_0x40d61d+(_0x556a8c^_0x242b01^_0x5be550)+_0x4f68c3+_0x1cfbe5;return(_0x2dd995<<_0x386d88|_0x2dd995>>>0x20-_0x386d88)+_0x556a8c;}function _0x37d80e(_0x59d84e,_0x537a13,_0x36c900,_0x2be6ba,_0x335fa7,_0x10ccb2,_0x3fae44){var _0xdece2f=_0x59d84e+(_0x36c900^(_0x537a13|~_0x2be6ba))+_0x335fa7+_0x3fae44;return(_0xdece2f<<_0x10ccb2|_0xdece2f>>>0x20-_0x10ccb2)+_0x537a13;}_0x199e5e[_0x3994a4(0x263)]=_0x23ec47['_createHelper'](_0x4d2b2b),_0x199e5e[_0x3994a4(0x318)]=_0x23ec47[_0x3994a4(0x41e)](_0x4d2b2b);}(Math),_0x4c1b29['MD5'];}));}(me)),me[_0x5c559b(0x28a)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x2f6cf0(0x28a)],Xe;function Ri(){var _0x2d7037=_0x2f6cf0;return Xe||(Xe=0x1,function(_0x4a3175,_0x2d0e8c){(function(_0xc8e100,_0x31a524){var _0x58fe5d=_0x30fe;_0x4a3175[_0x58fe5d(0x28a)]=_0x31a524(Q());}(Oi,function(_0x5c48c1){var _0x2067f5=_0x30fe;return(function(){var _0x34ad49=_0x30fe,_0x2c3c2a=_0x5c48c1,_0x3cfc4c=_0x2c3c2a[_0x34ad49(0x46c)],_0x135c23=_0x3cfc4c[_0x34ad49(0x31e)],_0x1dc7d6=_0x3cfc4c[_0x34ad49(0x27b)],_0x5b579d=_0x2c3c2a[_0x34ad49(0x393)],_0x1b51f9=[],_0x1cde4b=_0x5b579d[_0x34ad49(0x3dd)]=_0x1dc7d6[_0x34ad49(0x363)]({'_doReset':function(){var _0x5241c8=_0x34ad49;this[_0x5241c8(0x32e)]=new _0x135c23[(_0x5241c8(0x3a6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x28faea,_0x4ca978){var _0x9cd84=_0x34ad49;for(var _0x10fa3d=this[_0x9cd84(0x32e)][_0x9cd84(0x488)],_0x12d3d6=_0x10fa3d[0x0],_0x10c714=_0x10fa3d[0x1],_0x73135a=_0x10fa3d[0x2],_0x43ca5d=_0x10fa3d[0x3],_0x79466b=_0x10fa3d[0x4],_0x546182=0x0;_0x546182<0x50;_0x546182++){if(_0x546182<0x10)_0x1b51f9[_0x546182]=_0x28faea[_0x4ca978+_0x546182]|0x0;else{var _0x5d3b6a=_0x1b51f9[_0x546182-0x3]^_0x1b51f9[_0x546182-0x8]^_0x1b51f9[_0x546182-0xe]^_0x1b51f9[_0x546182-0x10];_0x1b51f9[_0x546182]=_0x5d3b6a<<0x1|_0x5d3b6a>>>0x1f;}var _0x5e56e6=(_0x12d3d6<<0x5|_0x12d3d6>>>0x1b)+_0x79466b+_0x1b51f9[_0x546182];_0x546182<0x14?_0x5e56e6+=(_0x10c714&_0x73135a|~_0x10c714&_0x43ca5d)+0x5a827999:_0x546182<0x28?_0x5e56e6+=(_0x10c714^_0x73135a^_0x43ca5d)+0x6ed9eba1:_0x546182<0x3c?_0x5e56e6+=(_0x10c714&_0x73135a|_0x10c714&_0x43ca5d|_0x73135a&_0x43ca5d)-0x70e44324:_0x5e56e6+=(_0x10c714^_0x73135a^_0x43ca5d)-0x359d3e2a,_0x79466b=_0x43ca5d,_0x43ca5d=_0x73135a,_0x73135a=_0x10c714<<0x1e|_0x10c714>>>0x2,_0x10c714=_0x12d3d6,_0x12d3d6=_0x5e56e6;}_0x10fa3d[0x0]=_0x10fa3d[0x0]+_0x12d3d6|0x0,_0x10fa3d[0x1]=_0x10fa3d[0x1]+_0x10c714|0x0,_0x10fa3d[0x2]=_0x10fa3d[0x2]+_0x73135a|0x0,_0x10fa3d[0x3]=_0x10fa3d[0x3]+_0x43ca5d|0x0,_0x10fa3d[0x4]=_0x10fa3d[0x4]+_0x79466b|0x0;},'_doFinalize':function(){var _0x3bd57d=_0x34ad49,_0x17ba97=this['_data'],_0x41d33a=_0x17ba97['words'],_0xb8926c=this[_0x3bd57d(0x324)]*0x8,_0x3e1b15=_0x17ba97['sigBytes']*0x8;return _0x41d33a[_0x3e1b15>>>0x5]|=0x80<<0x18-_0x3e1b15%0x20,_0x41d33a[(_0x3e1b15+0x40>>>0x9<<0x4)+0xe]=Math[_0x3bd57d(0x4ad)](_0xb8926c/0x100000000),_0x41d33a[(_0x3e1b15+0x40>>>0x9<<0x4)+0xf]=_0xb8926c,_0x17ba97['sigBytes']=_0x41d33a[_0x3bd57d(0x4ca)]*0x4,this[_0x3bd57d(0x4e8)](),this[_0x3bd57d(0x32e)];},'clone':function(){var _0xd69d81=_0x34ad49,_0x1ec845=_0x1dc7d6[_0xd69d81(0x4a8)][_0xd69d81(0x411)](this);return _0x1ec845['_hash']=this[_0xd69d81(0x32e)]['clone'](),_0x1ec845;}});_0x2c3c2a[_0x34ad49(0x3dd)]=_0x1dc7d6[_0x34ad49(0x25d)](_0x1cde4b),_0x2c3c2a[_0x34ad49(0x505)]=_0x1dc7d6[_0x34ad49(0x41e)](_0x1cde4b);}()),_0x5c48c1[_0x2067f5(0x3dd)];}));}(Ee)),Ee[_0x2d7037(0x28a)];}var Ce={'exports':{}},yi=Ce[_0x2f6cf0(0x28a)],Ze;function Ni(){var _0xdbda66=_0x2f6cf0;return Ze||(Ze=0x1,function(_0x51b42f,_0x264d70){(function(_0x3246f3,_0x4eebb5){_0x51b42f['exports']=_0x4eebb5(Q());}(yi,function(_0x701cc){(function(){var _0x419b02=_0x30fe,_0x195efa=_0x701cc,_0x4efe4a=_0x195efa[_0x419b02(0x46c)],_0xe745a7=_0x4efe4a[_0x419b02(0x35e)],_0x21f571=_0x195efa[_0x419b02(0x27e)],_0x54d6d7=_0x21f571['Utf8'],_0x496b0e=_0x195efa[_0x419b02(0x393)];_0x496b0e[_0x419b02(0x234)]=_0xe745a7[_0x419b02(0x363)]({'init':function(_0x6f2bc7,_0x232609){var _0x2bfcb3=_0x419b02;_0x6f2bc7=this['_hasher']=new _0x6f2bc7[(_0x2bfcb3(0x3a6))](),typeof _0x232609=='string'&&(_0x232609=_0x54d6d7[_0x2bfcb3(0x3b9)](_0x232609));var _0x4ea6ad=_0x6f2bc7[_0x2bfcb3(0x40e)],_0x58c04c=_0x4ea6ad*0x4;_0x232609[_0x2bfcb3(0x2a5)]>_0x58c04c&&(_0x232609=_0x6f2bc7[_0x2bfcb3(0x1f8)](_0x232609)),_0x232609[_0x2bfcb3(0x3e6)]();for(var _0x517b45=this[_0x2bfcb3(0x302)]=_0x232609[_0x2bfcb3(0x4a8)](),_0xd799be=this[_0x2bfcb3(0x40b)]=_0x232609[_0x2bfcb3(0x4a8)](),_0x26d5b8=_0x517b45[_0x2bfcb3(0x488)],_0xf19163=_0xd799be['words'],_0x621f12=0x0;_0x621f12<_0x4ea6ad;_0x621f12++)_0x26d5b8[_0x621f12]^=0x5c5c5c5c,_0xf19163[_0x621f12]^=0x36363636;_0x517b45[_0x2bfcb3(0x2a5)]=_0xd799be[_0x2bfcb3(0x2a5)]=_0x58c04c,this[_0x2bfcb3(0x4e0)]();},'reset':function(){var _0x400602=_0x419b02,_0x5a3e85=this[_0x400602(0x26b)];_0x5a3e85[_0x400602(0x4e0)](),_0x5a3e85[_0x400602(0x45a)](this[_0x400602(0x40b)]);},'update':function(_0x3f201a){var _0x1d8939=_0x419b02;return this['_hasher'][_0x1d8939(0x45a)](_0x3f201a),this;},'finalize':function(_0x3a2c33){var _0x3d5402=_0x419b02,_0x32e0ed=this[_0x3d5402(0x26b)],_0x1b4e26=_0x32e0ed[_0x3d5402(0x1f8)](_0x3a2c33);_0x32e0ed[_0x3d5402(0x4e0)]();var _0x2b3025=_0x32e0ed[_0x3d5402(0x1f8)](this[_0x3d5402(0x302)][_0x3d5402(0x4a8)]()[_0x3d5402(0x385)](_0x1b4e26));return _0x2b3025;}});}());}));}(Ce)),Ce[_0xdbda66(0x28a)];}var Di=ge[_0x2f6cf0(0x28a)],Qe;function Ct(){var _0x101f23=_0x2f6cf0;return Qe||(Qe=0x1,function(_0x11da37,_0x5e8995){(function(_0x167db7,_0x1d2c1c,_0x4194bc){var _0x5411f1=_0x30fe;_0x11da37[_0x5411f1(0x28a)]=_0x1d2c1c(Q(),Ri(),Ni());}(Di,function(_0x49107a){return(function(){var _0x7a0b3b=_0x30fe,_0x128dfd=_0x49107a,_0xc3baa0=_0x128dfd['lib'],_0x24ceab=_0xc3baa0[_0x7a0b3b(0x35e)],_0x56f11b=_0xc3baa0['WordArray'],_0x18b49c=_0x128dfd[_0x7a0b3b(0x393)],_0x5409f1=_0x18b49c[_0x7a0b3b(0x263)],_0x45c2e0=_0x18b49c[_0x7a0b3b(0x530)]=_0x24ceab['extend']({'cfg':_0x24ceab[_0x7a0b3b(0x363)]({'keySize':0x80/0x20,'hasher':_0x5409f1,'iterations':0x1}),'init':function(_0x392ba0){var _0x4c5519=_0x7a0b3b;this[_0x4c5519(0x2c7)]=this[_0x4c5519(0x2c7)][_0x4c5519(0x363)](_0x392ba0);},'compute':function(_0x6161c7,_0x58b263){var _0x5b1f79=_0x7a0b3b;for(var _0x1dc9f8,_0x5d0af5=this[_0x5b1f79(0x2c7)],_0x33906f=_0x5d0af5[_0x5b1f79(0x334)][_0x5b1f79(0x227)](),_0x279e28=_0x56f11b[_0x5b1f79(0x227)](),_0x403fd6=_0x279e28[_0x5b1f79(0x488)],_0x4abaca=_0x5d0af5[_0x5b1f79(0x401)],_0x5cbbb4=_0x5d0af5[_0x5b1f79(0x53b)];_0x403fd6[_0x5b1f79(0x4ca)]<_0x4abaca;){_0x1dc9f8&&_0x33906f[_0x5b1f79(0x45a)](_0x1dc9f8),_0x1dc9f8=_0x33906f[_0x5b1f79(0x45a)](_0x6161c7)[_0x5b1f79(0x1f8)](_0x58b263),_0x33906f['reset']();for(var _0xf71061=0x1;_0xf71061<_0x5cbbb4;_0xf71061++)_0x1dc9f8=_0x33906f['finalize'](_0x1dc9f8),_0x33906f[_0x5b1f79(0x4e0)]();_0x279e28[_0x5b1f79(0x385)](_0x1dc9f8);}return _0x279e28[_0x5b1f79(0x2a5)]=_0x4abaca*0x4,_0x279e28;}});_0x128dfd['EvpKDF']=function(_0x1f6f65,_0x33880a,_0x7c8b9f){var _0x1a8f0c=_0x7a0b3b;return _0x45c2e0['create'](_0x7c8b9f)[_0x1a8f0c(0x3a3)](_0x1f6f65,_0x33880a);};}()),_0x49107a['EvpKDF'];}));}(ge)),ge[_0x101f23(0x28a)];}var Te={'exports':{}},Ui=Te[_0x2f6cf0(0x28a)],et;function Tt(){var _0x1bacd4=_0x2f6cf0;return et||(et=0x1,function(_0xd07024,_0x5b6659){(function(_0xaf0c10,_0x1b5678,_0x445d4b){var _0x374d9f=_0x30fe;_0xd07024[_0x374d9f(0x28a)]=_0x1b5678(Q(),Ct());}(Ui,function(_0x3d37b5){var _0x49b14e=_0x30fe;_0x3d37b5['lib'][_0x49b14e(0x451)]||function(_0x3aa046){var _0x1c3b3f=_0x49b14e,_0x5526ba=_0x3d37b5,_0x55c2e4=_0x5526ba['lib'],_0x8bedb5=_0x55c2e4[_0x1c3b3f(0x35e)],_0x3529af=_0x55c2e4[_0x1c3b3f(0x31e)],_0x362d15=_0x55c2e4['BufferedBlockAlgorithm'],_0x580ef4=_0x5526ba[_0x1c3b3f(0x27e)];_0x580ef4[_0x1c3b3f(0x558)];var _0x17f104=_0x580ef4[_0x1c3b3f(0x4a0)],_0x30a2cf=_0x5526ba[_0x1c3b3f(0x393)],_0x58db49=_0x30a2cf['EvpKDF'],_0x11a4cb=_0x55c2e4[_0x1c3b3f(0x451)]=_0x362d15['extend']({'cfg':_0x8bedb5[_0x1c3b3f(0x363)](),'createEncryptor':function(_0x429807,_0x292079){var _0x5ba42d=_0x1c3b3f;return this[_0x5ba42d(0x227)](this[_0x5ba42d(0x210)],_0x429807,_0x292079);},'createDecryptor':function(_0x536ccc,_0xf97a6){var _0x2aab05=_0x1c3b3f;return this[_0x2aab05(0x227)](this[_0x2aab05(0x3c6)],_0x536ccc,_0xf97a6);},'init':function(_0x49e8a6,_0x2e33ce,_0x980336){var _0x4a6215=_0x1c3b3f;this[_0x4a6215(0x2c7)]=this[_0x4a6215(0x2c7)][_0x4a6215(0x363)](_0x980336),this[_0x4a6215(0x314)]=_0x49e8a6,this['_key']=_0x2e33ce,this[_0x4a6215(0x4e0)]();},'reset':function(){var _0x1a6cb3=_0x1c3b3f;_0x362d15[_0x1a6cb3(0x4e0)][_0x1a6cb3(0x411)](this),this[_0x1a6cb3(0x3a7)]();},'process':function(_0x33c0b9){var _0x1e0dee=_0x1c3b3f;return this[_0x1e0dee(0x348)](_0x33c0b9),this[_0x1e0dee(0x4e8)]();},'finalize':function(_0x324a39){var _0x39217d=_0x1c3b3f;_0x324a39&&this[_0x39217d(0x348)](_0x324a39);var _0xdc9bc9=this[_0x39217d(0x536)]();return _0xdc9bc9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2eb563(_0x27cfa7){var _0x3acde7=_0x30fe;return typeof _0x27cfa7==_0x3acde7(0x501)?_0x24e004:_0x2995c0;}return function(_0x10d2cf){return{'encrypt':function(_0x32863e,_0x345c73,_0x2117da){var _0x133fac=_0x30fe;return _0x2eb563(_0x345c73)[_0x133fac(0x3e2)](_0x10d2cf,_0x32863e,_0x345c73,_0x2117da);},'decrypt':function(_0x3b6690,_0x550d4c,_0x5867a3){var _0xa4e088=_0x30fe;return _0x2eb563(_0x550d4c)[_0xa4e088(0x455)](_0x10d2cf,_0x3b6690,_0x550d4c,_0x5867a3);}};};}())});_0x55c2e4[_0x1c3b3f(0x381)]=_0x11a4cb[_0x1c3b3f(0x363)]({'_doFinalize':function(){var _0x66ab7a=this['_process'](!0x0);return _0x66ab7a;},'blockSize':0x1});var _0x2281a2=_0x5526ba[_0x1c3b3f(0x3c9)]={},_0x3a4cd1=_0x55c2e4[_0x1c3b3f(0x36c)]=_0x8bedb5[_0x1c3b3f(0x363)]({'createEncryptor':function(_0x2fd3f3,_0x1c379e){var _0x10f6b9=_0x1c3b3f;return this[_0x10f6b9(0x3ba)]['create'](_0x2fd3f3,_0x1c379e);},'createDecryptor':function(_0x1aa278,_0x21313d){var _0x3f8e57=_0x1c3b3f;return this[_0x3f8e57(0x463)][_0x3f8e57(0x227)](_0x1aa278,_0x21313d);},'init':function(_0xef171c,_0x2a442d){var _0x5e3616=_0x1c3b3f;this['_cipher']=_0xef171c,this[_0x5e3616(0x3e8)]=_0x2a442d;}}),_0x1b5fbd=_0x2281a2[_0x1c3b3f(0x380)]=(function(){var _0x5891bb=_0x1c3b3f,_0x382ae5=_0x3a4cd1[_0x5891bb(0x363)]();_0x382ae5[_0x5891bb(0x3ba)]=_0x382ae5[_0x5891bb(0x363)]({'processBlock':function(_0x2454f1,_0x538950){var _0x37b9d5=_0x5891bb,_0x1b0503=this[_0x37b9d5(0x45c)],_0x4290dc=_0x1b0503[_0x37b9d5(0x40e)];_0x2f9c5a[_0x37b9d5(0x411)](this,_0x2454f1,_0x538950,_0x4290dc),_0x1b0503['encryptBlock'](_0x2454f1,_0x538950),this[_0x37b9d5(0x490)]=_0x2454f1[_0x37b9d5(0x2e5)](_0x538950,_0x538950+_0x4290dc);}}),_0x382ae5[_0x5891bb(0x463)]=_0x382ae5['extend']({'processBlock':function(_0x127605,_0x123b72){var _0x2bbac7=_0x5891bb,_0x202815=this[_0x2bbac7(0x45c)],_0x1b8569=_0x202815['blockSize'],_0x3579a4=_0x127605[_0x2bbac7(0x2e5)](_0x123b72,_0x123b72+_0x1b8569);_0x202815[_0x2bbac7(0x21e)](_0x127605,_0x123b72),_0x2f9c5a['call'](this,_0x127605,_0x123b72,_0x1b8569),this[_0x2bbac7(0x490)]=_0x3579a4;}});function _0x2f9c5a(_0x1acbe6,_0x1e9d4d,_0x36c13f){var _0x31c30b=_0x5891bb,_0x135fed,_0x53566e=this['_iv'];_0x53566e?(_0x135fed=_0x53566e,this['_iv']=_0x3aa046):_0x135fed=this[_0x31c30b(0x490)];for(var _0x113e0c=0x0;_0x113e0c<_0x36c13f;_0x113e0c++)_0x1acbe6[_0x1e9d4d+_0x113e0c]^=_0x135fed[_0x113e0c];}return _0x382ae5;}()),_0x48ccdb=_0x5526ba[_0x1c3b3f(0x51e)]={},_0x1600fa=_0x48ccdb[_0x1c3b3f(0x437)]={'pad':function(_0x2c8d52,_0x5bcba0){var _0x130cc7=_0x1c3b3f;for(var _0x7b4170=_0x5bcba0*0x4,_0x581112=_0x7b4170-_0x2c8d52['sigBytes']%_0x7b4170,_0x114fb9=_0x581112<<0x18|_0x581112<<0x10|_0x581112<<0x8|_0x581112,_0x227d88=[],_0x23adc1=0x0;_0x23adc1<_0x581112;_0x23adc1+=0x4)_0x227d88['push'](_0x114fb9);var _0x363384=_0x3529af[_0x130cc7(0x227)](_0x227d88,_0x581112);_0x2c8d52[_0x130cc7(0x385)](_0x363384);},'unpad':function(_0x250f66){var _0x592fb9=_0x1c3b3f,_0x66664a=_0x250f66[_0x592fb9(0x488)][_0x250f66[_0x592fb9(0x2a5)]-0x1>>>0x2]&0xff;_0x250f66[_0x592fb9(0x2a5)]-=_0x66664a;}};_0x55c2e4[_0x1c3b3f(0x48b)]=_0x11a4cb[_0x1c3b3f(0x363)]({'cfg':_0x11a4cb[_0x1c3b3f(0x2c7)][_0x1c3b3f(0x363)]({'mode':_0x1b5fbd,'padding':_0x1600fa}),'reset':function(){var _0x13492b=_0x1c3b3f,_0x19a5ad;_0x11a4cb[_0x13492b(0x4e0)][_0x13492b(0x411)](this);var _0x5c6f58=this[_0x13492b(0x2c7)],_0x17efb3=_0x5c6f58['iv'],_0xca88a6=_0x5c6f58['mode'];this[_0x13492b(0x314)]==this[_0x13492b(0x210)]?_0x19a5ad=_0xca88a6[_0x13492b(0x50e)]:(_0x19a5ad=_0xca88a6[_0x13492b(0x516)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x13492b(0x476)]==_0x19a5ad?this['_mode'][_0x13492b(0x3a6)](this,_0x17efb3&&_0x17efb3['words']):(this[_0x13492b(0x43b)]=_0x19a5ad[_0x13492b(0x411)](_0xca88a6,this,_0x17efb3&&_0x17efb3['words']),this[_0x13492b(0x43b)][_0x13492b(0x476)]=_0x19a5ad);},'_doProcessBlock':function(_0x833e36,_0x1d5e45){var _0x1cbce9=_0x1c3b3f;this[_0x1cbce9(0x43b)][_0x1cbce9(0x28f)](_0x833e36,_0x1d5e45);},'_doFinalize':function(){var _0x2f7a59=_0x1c3b3f,_0x103d2a,_0x596485=this['cfg'][_0x2f7a59(0x28c)];return this[_0x2f7a59(0x314)]==this[_0x2f7a59(0x210)]?(_0x596485[_0x2f7a59(0x51e)](this['_data'],this['blockSize']),_0x103d2a=this[_0x2f7a59(0x4e8)](!0x0)):(_0x103d2a=this['_process'](!0x0),_0x596485[_0x2f7a59(0x264)](_0x103d2a)),_0x103d2a;},'blockSize':0x80/0x20});var _0x4858d0=_0x55c2e4['CipherParams']=_0x8bedb5[_0x1c3b3f(0x363)]({'init':function(_0xbd32aa){var _0x2e2a2d=_0x1c3b3f;this[_0x2e2a2d(0x207)](_0xbd32aa);},'toString':function(_0x40a590){var _0x5b7534=_0x1c3b3f;return(_0x40a590||this[_0x5b7534(0x346)])[_0x5b7534(0x245)](this);}}),_0x19cb95=_0x5526ba[_0x1c3b3f(0x258)]={},_0xc07c34=_0x19cb95[_0x1c3b3f(0x355)]={'stringify':function(_0x104937){var _0x3d870e=_0x1c3b3f,_0x2acf34,_0x329d8a=_0x104937[_0x3d870e(0x292)],_0x256272=_0x104937[_0x3d870e(0x498)];return _0x256272?_0x2acf34=_0x3529af[_0x3d870e(0x227)]([0x53616c74,0x65645f5f])[_0x3d870e(0x385)](_0x256272)['concat'](_0x329d8a):_0x2acf34=_0x329d8a,_0x2acf34[_0x3d870e(0x532)](_0x17f104);},'parse':function(_0xa111d2){var _0x4416e7=_0x1c3b3f,_0x2a8518,_0x148dc9=_0x17f104[_0x4416e7(0x3b9)](_0xa111d2),_0x264682=_0x148dc9[_0x4416e7(0x488)];return _0x264682[0x0]==0x53616c74&&_0x264682[0x1]==0x65645f5f&&(_0x2a8518=_0x3529af['create'](_0x264682['slice'](0x2,0x4)),_0x264682[_0x4416e7(0x222)](0x0,0x4),_0x148dc9[_0x4416e7(0x2a5)]-=0x10),_0x4858d0[_0x4416e7(0x227)]({'ciphertext':_0x148dc9,'salt':_0x2a8518});}},_0x2995c0=_0x55c2e4[_0x1c3b3f(0x216)]=_0x8bedb5[_0x1c3b3f(0x363)]({'cfg':_0x8bedb5[_0x1c3b3f(0x363)]({'format':_0xc07c34}),'encrypt':function(_0x5d059e,_0x1bfb75,_0x59922a,_0x200301){var _0x22abed=_0x1c3b3f;_0x200301=this['cfg']['extend'](_0x200301);var _0xa47177=_0x5d059e[_0x22abed(0x50e)](_0x59922a,_0x200301),_0x4d00eb=_0xa47177[_0x22abed(0x1f8)](_0x1bfb75),_0x57f0f7=_0xa47177[_0x22abed(0x2c7)];return _0x4858d0[_0x22abed(0x227)]({'ciphertext':_0x4d00eb,'key':_0x59922a,'iv':_0x57f0f7['iv'],'algorithm':_0x5d059e,'mode':_0x57f0f7[_0x22abed(0x3c9)],'padding':_0x57f0f7[_0x22abed(0x28c)],'blockSize':_0x5d059e['blockSize'],'formatter':_0x200301[_0x22abed(0x258)]});},'decrypt':function(_0x25970d,_0x289ce3,_0x385f50,_0xfb0c12){var _0x4bdaa0=_0x1c3b3f;_0xfb0c12=this[_0x4bdaa0(0x2c7)][_0x4bdaa0(0x363)](_0xfb0c12),_0x289ce3=this[_0x4bdaa0(0x259)](_0x289ce3,_0xfb0c12[_0x4bdaa0(0x258)]);var _0x28a82a=_0x25970d['createDecryptor'](_0x385f50,_0xfb0c12)[_0x4bdaa0(0x1f8)](_0x289ce3['ciphertext']);return _0x28a82a;},'_parse':function(_0x428842,_0x21a662){var _0x46a78d=_0x1c3b3f;return typeof _0x428842=='string'?_0x21a662[_0x46a78d(0x3b9)](_0x428842,this):_0x428842;}}),_0x33069e=_0x5526ba[_0x1c3b3f(0x449)]={},_0x1cfb2f=_0x33069e['OpenSSL']={'execute':function(_0xe03fcf,_0x1b44c3,_0x12d09e,_0x2b4239,_0x3df713){var _0x7fde88=_0x1c3b3f;if(_0x2b4239||(_0x2b4239=_0x3529af['random'](0x40/0x8)),_0x3df713)var _0x4fbb48=_0x58db49[_0x7fde88(0x227)]({'keySize':_0x1b44c3+_0x12d09e,'hasher':_0x3df713})[_0x7fde88(0x3a3)](_0xe03fcf,_0x2b4239);else var _0x4fbb48=_0x58db49[_0x7fde88(0x227)]({'keySize':_0x1b44c3+_0x12d09e})[_0x7fde88(0x3a3)](_0xe03fcf,_0x2b4239);var _0x22be55=_0x3529af['create'](_0x4fbb48['words'][_0x7fde88(0x2e5)](_0x1b44c3),_0x12d09e*0x4);return _0x4fbb48[_0x7fde88(0x2a5)]=_0x1b44c3*0x4,_0x4858d0['create']({'key':_0x4fbb48,'iv':_0x22be55,'salt':_0x2b4239});}},_0x24e004=_0x55c2e4[_0x1c3b3f(0x291)]=_0x2995c0[_0x1c3b3f(0x363)]({'cfg':_0x2995c0[_0x1c3b3f(0x2c7)][_0x1c3b3f(0x363)]({'kdf':_0x1cfb2f}),'encrypt':function(_0x679276,_0x1132bb,_0x39aa54,_0x5f4e26){var _0x3b0e2c=_0x1c3b3f;_0x5f4e26=this[_0x3b0e2c(0x2c7)][_0x3b0e2c(0x363)](_0x5f4e26);var _0x1671fd=_0x5f4e26[_0x3b0e2c(0x449)][_0x3b0e2c(0x30b)](_0x39aa54,_0x679276['keySize'],_0x679276['ivSize'],_0x5f4e26[_0x3b0e2c(0x498)],_0x5f4e26[_0x3b0e2c(0x334)]);_0x5f4e26['iv']=_0x1671fd['iv'];var _0x2e460d=_0x2995c0['encrypt'][_0x3b0e2c(0x411)](this,_0x679276,_0x1132bb,_0x1671fd['key'],_0x5f4e26);return _0x2e460d[_0x3b0e2c(0x207)](_0x1671fd),_0x2e460d;},'decrypt':function(_0x455fae,_0x1bc37d,_0xdd8f1,_0x532e29){var _0x46ed9c=_0x1c3b3f;_0x532e29=this['cfg']['extend'](_0x532e29),_0x1bc37d=this[_0x46ed9c(0x259)](_0x1bc37d,_0x532e29[_0x46ed9c(0x258)]);var _0x3d82ad=_0x532e29[_0x46ed9c(0x449)][_0x46ed9c(0x30b)](_0xdd8f1,_0x455fae[_0x46ed9c(0x401)],_0x455fae[_0x46ed9c(0x472)],_0x1bc37d[_0x46ed9c(0x498)],_0x532e29['hasher']);_0x532e29['iv']=_0x3d82ad['iv'];var _0x16cbd9=_0x2995c0['decrypt'][_0x46ed9c(0x411)](this,_0x455fae,_0x1bc37d,_0x3d82ad[_0x46ed9c(0x510)],_0x532e29);return _0x16cbd9;}});}();}));}(Te)),Te[_0x1bacd4(0x28a)];}var Ai=fe[_0x2f6cf0(0x28a)],tt;function Pi(){var _0x12ecd9=_0x2f6cf0;return tt||(tt=0x1,function(_0x511267,_0x37c427){(function(_0x14b486,_0x503edf,_0x49e602){var _0x155483=_0x30fe;_0x511267[_0x155483(0x28a)]=_0x503edf(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x1f61b3){return(function(){var _0x1b0aa9=_0x30fe,_0x7258b0=_0x1f61b3,_0x5132d9=_0x7258b0['lib'],_0x4bcca9=_0x5132d9['BlockCipher'],_0x4727f9=_0x7258b0[_0x1b0aa9(0x393)],_0x2439f2=[],_0x4936f1=[],_0x1292f7=[],_0x8037d3=[],_0x478632=[],_0x548e6c=[],_0x69f793=[],_0x3fd109=[],_0x88915f=[],_0x1abf28=[];(function(){for(var _0x5459b3=[],_0x31fee3=0x0;_0x31fee3<0x100;_0x31fee3++)_0x31fee3<0x80?_0x5459b3[_0x31fee3]=_0x31fee3<<0x1:_0x5459b3[_0x31fee3]=_0x31fee3<<0x1^0x11b;for(var _0x263d91=0x0,_0x3f2dea=0x0,_0x31fee3=0x0;_0x31fee3<0x100;_0x31fee3++){var _0x469ca7=_0x3f2dea^_0x3f2dea<<0x1^_0x3f2dea<<0x2^_0x3f2dea<<0x3^_0x3f2dea<<0x4;_0x469ca7=_0x469ca7>>>0x8^_0x469ca7&0xff^0x63,_0x2439f2[_0x263d91]=_0x469ca7,_0x4936f1[_0x469ca7]=_0x263d91;var _0x35aa48=_0x5459b3[_0x263d91],_0x20bb5d=_0x5459b3[_0x35aa48],_0x16d961=_0x5459b3[_0x20bb5d],_0x881505=_0x5459b3[_0x469ca7]*0x101^_0x469ca7*0x1010100;_0x1292f7[_0x263d91]=_0x881505<<0x18|_0x881505>>>0x8,_0x8037d3[_0x263d91]=_0x881505<<0x10|_0x881505>>>0x10,_0x478632[_0x263d91]=_0x881505<<0x8|_0x881505>>>0x18,_0x548e6c[_0x263d91]=_0x881505;var _0x881505=_0x16d961*0x1010101^_0x20bb5d*0x10001^_0x35aa48*0x101^_0x263d91*0x1010100;_0x69f793[_0x469ca7]=_0x881505<<0x18|_0x881505>>>0x8,_0x3fd109[_0x469ca7]=_0x881505<<0x10|_0x881505>>>0x10,_0x88915f[_0x469ca7]=_0x881505<<0x8|_0x881505>>>0x18,_0x1abf28[_0x469ca7]=_0x881505,_0x263d91?(_0x263d91=_0x35aa48^_0x5459b3[_0x5459b3[_0x5459b3[_0x16d961^_0x35aa48]]],_0x3f2dea^=_0x5459b3[_0x5459b3[_0x3f2dea]]):_0x263d91=_0x3f2dea=0x1;}}());var _0x536b7a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xb00dcf=_0x4727f9['AES']=_0x4bcca9[_0x1b0aa9(0x363)]({'_doReset':function(){var _0x112421=_0x1b0aa9,_0x5c5fef;if(!(this['_nRounds']&&this[_0x112421(0x29a)]===this['_key'])){for(var _0x557488=this[_0x112421(0x29a)]=this[_0x112421(0x261)],_0x966244=_0x557488[_0x112421(0x488)],_0x491ff0=_0x557488[_0x112421(0x2a5)]/0x4,_0x32dc74=this['_nRounds']=_0x491ff0+0x6,_0x5cc9a6=(_0x32dc74+0x1)*0x4,_0x1c0e19=this['_keySchedule']=[],_0x183923=0x0;_0x183923<_0x5cc9a6;_0x183923++)_0x183923<_0x491ff0?_0x1c0e19[_0x183923]=_0x966244[_0x183923]:(_0x5c5fef=_0x1c0e19[_0x183923-0x1],_0x183923%_0x491ff0?_0x491ff0>0x6&&_0x183923%_0x491ff0==0x4&&(_0x5c5fef=_0x2439f2[_0x5c5fef>>>0x18]<<0x18|_0x2439f2[_0x5c5fef>>>0x10&0xff]<<0x10|_0x2439f2[_0x5c5fef>>>0x8&0xff]<<0x8|_0x2439f2[_0x5c5fef&0xff]):(_0x5c5fef=_0x5c5fef<<0x8|_0x5c5fef>>>0x18,_0x5c5fef=_0x2439f2[_0x5c5fef>>>0x18]<<0x18|_0x2439f2[_0x5c5fef>>>0x10&0xff]<<0x10|_0x2439f2[_0x5c5fef>>>0x8&0xff]<<0x8|_0x2439f2[_0x5c5fef&0xff],_0x5c5fef^=_0x536b7a[_0x183923/_0x491ff0|0x0]<<0x18),_0x1c0e19[_0x183923]=_0x1c0e19[_0x183923-_0x491ff0]^_0x5c5fef);for(var _0x56e5ef=this['_invKeySchedule']=[],_0x529058=0x0;_0x529058<_0x5cc9a6;_0x529058++){var _0x183923=_0x5cc9a6-_0x529058;if(_0x529058%0x4)var _0x5c5fef=_0x1c0e19[_0x183923];else var _0x5c5fef=_0x1c0e19[_0x183923-0x4];_0x529058<0x4||_0x183923<=0x4?_0x56e5ef[_0x529058]=_0x5c5fef:_0x56e5ef[_0x529058]=_0x69f793[_0x2439f2[_0x5c5fef>>>0x18]]^_0x3fd109[_0x2439f2[_0x5c5fef>>>0x10&0xff]]^_0x88915f[_0x2439f2[_0x5c5fef>>>0x8&0xff]]^_0x1abf28[_0x2439f2[_0x5c5fef&0xff]];}}},'encryptBlock':function(_0x3eb19c,_0x87ab6){var _0xd0c8a2=_0x1b0aa9;this['_doCryptBlock'](_0x3eb19c,_0x87ab6,this[_0xd0c8a2(0x2ec)],_0x1292f7,_0x8037d3,_0x478632,_0x548e6c,_0x2439f2);},'decryptBlock':function(_0x35ed60,_0x40e423){var _0x1afef5=_0x1b0aa9,_0x1d7617=_0x35ed60[_0x40e423+0x1];_0x35ed60[_0x40e423+0x1]=_0x35ed60[_0x40e423+0x3],_0x35ed60[_0x40e423+0x3]=_0x1d7617,this[_0x1afef5(0x371)](_0x35ed60,_0x40e423,this[_0x1afef5(0x23b)],_0x69f793,_0x3fd109,_0x88915f,_0x1abf28,_0x4936f1);var _0x1d7617=_0x35ed60[_0x40e423+0x1];_0x35ed60[_0x40e423+0x1]=_0x35ed60[_0x40e423+0x3],_0x35ed60[_0x40e423+0x3]=_0x1d7617;},'_doCryptBlock':function(_0x55826c,_0x532562,_0x36b9bb,_0x50b3e9,_0xb785af,_0x400b82,_0x423713,_0x1b1ea4){var _0x345039=_0x1b0aa9;for(var _0x3aa512=this[_0x345039(0x4c7)],_0xad6845=_0x55826c[_0x532562]^_0x36b9bb[0x0],_0xd82abc=_0x55826c[_0x532562+0x1]^_0x36b9bb[0x1],_0x46469f=_0x55826c[_0x532562+0x2]^_0x36b9bb[0x2],_0x459b32=_0x55826c[_0x532562+0x3]^_0x36b9bb[0x3],_0x53abd3=0x4,_0xdad00b=0x1;_0xdad00b<_0x3aa512;_0xdad00b++){var _0x879afb=_0x50b3e9[_0xad6845>>>0x18]^_0xb785af[_0xd82abc>>>0x10&0xff]^_0x400b82[_0x46469f>>>0x8&0xff]^_0x423713[_0x459b32&0xff]^_0x36b9bb[_0x53abd3++],_0x13aa61=_0x50b3e9[_0xd82abc>>>0x18]^_0xb785af[_0x46469f>>>0x10&0xff]^_0x400b82[_0x459b32>>>0x8&0xff]^_0x423713[_0xad6845&0xff]^_0x36b9bb[_0x53abd3++],_0x1d6a61=_0x50b3e9[_0x46469f>>>0x18]^_0xb785af[_0x459b32>>>0x10&0xff]^_0x400b82[_0xad6845>>>0x8&0xff]^_0x423713[_0xd82abc&0xff]^_0x36b9bb[_0x53abd3++],_0x459088=_0x50b3e9[_0x459b32>>>0x18]^_0xb785af[_0xad6845>>>0x10&0xff]^_0x400b82[_0xd82abc>>>0x8&0xff]^_0x423713[_0x46469f&0xff]^_0x36b9bb[_0x53abd3++];_0xad6845=_0x879afb,_0xd82abc=_0x13aa61,_0x46469f=_0x1d6a61,_0x459b32=_0x459088;}var _0x879afb=(_0x1b1ea4[_0xad6845>>>0x18]<<0x18|_0x1b1ea4[_0xd82abc>>>0x10&0xff]<<0x10|_0x1b1ea4[_0x46469f>>>0x8&0xff]<<0x8|_0x1b1ea4[_0x459b32&0xff])^_0x36b9bb[_0x53abd3++],_0x13aa61=(_0x1b1ea4[_0xd82abc>>>0x18]<<0x18|_0x1b1ea4[_0x46469f>>>0x10&0xff]<<0x10|_0x1b1ea4[_0x459b32>>>0x8&0xff]<<0x8|_0x1b1ea4[_0xad6845&0xff])^_0x36b9bb[_0x53abd3++],_0x1d6a61=(_0x1b1ea4[_0x46469f>>>0x18]<<0x18|_0x1b1ea4[_0x459b32>>>0x10&0xff]<<0x10|_0x1b1ea4[_0xad6845>>>0x8&0xff]<<0x8|_0x1b1ea4[_0xd82abc&0xff])^_0x36b9bb[_0x53abd3++],_0x459088=(_0x1b1ea4[_0x459b32>>>0x18]<<0x18|_0x1b1ea4[_0xad6845>>>0x10&0xff]<<0x10|_0x1b1ea4[_0xd82abc>>>0x8&0xff]<<0x8|_0x1b1ea4[_0x46469f&0xff])^_0x36b9bb[_0x53abd3++];_0x55826c[_0x532562]=_0x879afb,_0x55826c[_0x532562+0x1]=_0x13aa61,_0x55826c[_0x532562+0x2]=_0x1d6a61,_0x55826c[_0x532562+0x3]=_0x459088;},'keySize':0x100/0x20});_0x7258b0[_0x1b0aa9(0x351)]=_0x4bcca9[_0x1b0aa9(0x25d)](_0xb00dcf);}()),_0x1f61b3['AES'];}));}(fe)),fe[_0x12ecd9(0x28a)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x2f6cf0(0x28a)],nt;function ki(){var _0x53c5de=_0x2f6cf0;return nt||(nt=0x1,function(_0xd8bfee,_0x2ad8ff){(function(_0x555191,_0x37fcab){var _0x17a279=_0x30fe;_0xd8bfee[_0x17a279(0x28a)]=_0x37fcab(Q());}(xi,function(_0x357235){var _0x102e7b=_0x30fe;return _0x357235['enc'][_0x102e7b(0x558)];}));}(be)),be[_0x53c5de(0x28a)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x2f6cf0(0x28a)],rt;function Bi(){var _0x53a8c1=_0x2f6cf0;return rt||(rt=0x1,function(_0x13e182,_0x12534d){(function(_0x5460a5,_0x1093da){_0x13e182['exports']=_0x1093da(Q());}(ji,function(_0x4dfab7){var _0x1a178b=_0x30fe;return(function(){var _0x38d123=_0x30fe;if(typeof ArrayBuffer=='function'){var _0x262a8e=_0x4dfab7,_0x3fe763=_0x262a8e['lib'],_0x9c8997=_0x3fe763[_0x38d123(0x31e)],_0x55c0c9=_0x9c8997['init'],_0x101021=_0x9c8997[_0x38d123(0x3a6)]=function(_0x6afab9){var _0x1f4996=_0x38d123;if(_0x6afab9 instanceof ArrayBuffer&&(_0x6afab9=new Uint8Array(_0x6afab9)),(_0x6afab9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x6afab9 instanceof Uint8ClampedArray||_0x6afab9 instanceof Int16Array||_0x6afab9 instanceof Uint16Array||_0x6afab9 instanceof Int32Array||_0x6afab9 instanceof Uint32Array||_0x6afab9 instanceof Float32Array||_0x6afab9 instanceof Float64Array)&&(_0x6afab9=new Uint8Array(_0x6afab9[_0x1f4996(0x289)],_0x6afab9['byteOffset'],_0x6afab9[_0x1f4996(0x4ea)])),_0x6afab9 instanceof Uint8Array){for(var _0xf1ec84=_0x6afab9[_0x1f4996(0x4ea)],_0x54fdce=[],_0xfd1c59=0x0;_0xfd1c59<_0xf1ec84;_0xfd1c59++)_0x54fdce[_0xfd1c59>>>0x2]|=_0x6afab9[_0xfd1c59]<<0x18-_0xfd1c59%0x4*0x8;_0x55c0c9[_0x1f4996(0x411)](this,_0x54fdce,_0xf1ec84);}else _0x55c0c9['apply'](this,arguments);};_0x101021[_0x38d123(0x31c)]=_0x9c8997;}}()),_0x4dfab7['lib'][_0x1a178b(0x31e)];}));}(Oe)),Oe[_0x53a8c1(0x28a)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x2f6cf0(0x28a)],st;function Gi(){var _0x281e72=_0x2f6cf0;return st||(st=0x1,function(_0x64f68b,_0x1261cf){(function(_0x26a0d6,_0x28fcd3,_0x16874c){_0x64f68b['exports']=_0x28fcd3(Q(),Tt());}(Wi,function(_0x239627){var _0x3dc695=_0x30fe;return _0x239627[_0x3dc695(0x51e)][_0x3dc695(0x412)]={'pad':function(){},'unpad':function(){}},_0x239627['pad'][_0x3dc695(0x412)];}));}(Re)),Re[_0x281e72(0x28a)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x44f79e,_0x3ef996){var _0x2c9710=_0x2f6cf0;const _0x3fb849=_0x3ef996-_0x44f79e['length']%_0x3ef996,_0x351e3e=String[_0x2c9710(0x531)](_0x3fb849)['repeat'](_0x3fb849);return _0x44f79e+_0x351e3e;}function zi(_0x57fe47,_0xfa38ae){var _0x2d73d3=_0x2f6cf0;const _0x333f06=Vi[_0x2d73d3(0x2f4)](0x10),_0x63d673=Ki(_0x57fe47,0x10),_0x129f5a=Mi[_0x2d73d3(0x3e2)](Hi[_0x2d73d3(0x3b9)](_0x63d673),it[_0x2d73d3(0x3b9)](_0xfa38ae),{'iv':_0x333f06,'padding':qi});return _0x333f06['concat'](_0x129f5a['ciphertext'])[_0x2d73d3(0x532)](it);}function Ji(){var _0x3f588a=_0x2f6cf0;const _0x1a0537=yt[_0x3f588a(0x3a2)]()['__Key__'];if(_0x1a0537){const _0x3cbac0={'time':Math['floor'](Date[_0x3f588a(0x4dc)]()/0x3e8),'domain':location[_0x3f588a(0x31d)]};return zi(JSON['stringify'](_0x3cbac0),_0x1a0537);}}var Xi=Object[_0x2f6cf0(0x51f)],Zi=(_0x2fa0ba,_0x26c765,_0x2b9dc6,_0xafa8ee)=>{var _0x1ee8dc=_0x2f6cf0;for(var _0x479903=_0xafa8ee>0x1?void 0x0:_0xafa8ee?Xi(_0x26c765,_0x2b9dc6):_0x26c765,_0x2d2cf7=_0x2fa0ba[_0x1ee8dc(0x4ca)]-0x1,_0x2a443f;_0x2d2cf7>=0x0;_0x2d2cf7--)(_0x2a443f=_0x2fa0ba[_0x2d2cf7])&&(_0x479903=_0x2a443f(_0x479903)||_0x479903);return _0x479903;},Qi=(_0x469a19,_0x1dc85b)=>(_0x443ffd,_0x388af6)=>_0x1dc85b(_0x443ffd,_0x388af6,_0x469a19);let Ne=class{constructor(_0x9a3dcf){var _0x5dd8a5=_0x2f6cf0;this[_0x5dd8a5(0x2bc)]=_0x9a3dcf,this[_0x5dd8a5(0x394)]();}[_0x2f6cf0(0x394)](){var _0x1a7b57=_0x2f6cf0;this[_0x1a7b57(0x2bc)][_0x1a7b57(0x25b)]({'interceptor':(_0x1e91a0,_0x145d1e)=>{var _0x3969d2=_0x1a7b57;const _0x131ebe=_0x1e91a0[_0x3969d2(0x2cf)],_0x32881=Ji();return _0x32881&&_0x131ebe['set'](_0x3969d2(0x1f4),_0x32881),_0x145d1e(_0x1e91a0);}});}};Ne=Zi([Qi(0x0,a[_0x2f6cf0(0x4ba)](q[_0x2f6cf0(0x2d4)]))],Ne);var en=Object[_0x2f6cf0(0x51f)],tn=(_0x1e912b,_0x1f3e2d,_0xdf9e54,_0x547aab)=>{for(var _0x460914=_0x547aab>0x1?void 0x0:_0x547aab?en(_0x1f3e2d,_0xdf9e54):_0x1f3e2d,_0x3dca74=_0x1e912b['length']-0x1,_0x27b3b5;_0x3dca74>=0x0;_0x3dca74--)(_0x27b3b5=_0x1e912b[_0x3dca74])&&(_0x460914=_0x27b3b5(_0x460914)||_0x460914);return _0x460914;},we=(_0x38eb49,_0x22221a)=>(_0x4927ec,_0x23eb6d)=>_0x22221a(_0x4927ec,_0x23eb6d,_0x38eb49);exports[_0x2f6cf0(0x2f5)]=class extends a['RxDisposable']{constructor(_0x4b5708,_0x2d9830,_0x4f7c23){var _0x519189=_0x2f6cf0;super(),A(this,_0x519189(0x297),new H[(_0x519189(0x1fd))](null)),A(this,_0x519189(0x3c0),this[_0x519189(0x297)][_0x519189(0x480)]()),(this[_0x519189(0x39f)]=_0x4b5708,this[_0x519189(0x48c)]=_0x2d9830,this[_0x519189(0x2c3)]=_0x4f7c23);}async['loadUnitOfRevision'](_0x16633c,_0x1484ea,_0x6af12f){var _0x41a2ab=_0x2f6cf0;this[_0x41a2ab(0x297)][_0x41a2ab(0x4b8)]({'unitId':_0x16633c,'type':_0x1484ea});let _0x1302c9=null;switch(_0x1484ea){case J[_0x41a2ab(0x3b3)]:{_0x1302c9=await this['_snapshotService'][_0x41a2ab(0x22e)](_0x16633c,_0x6af12f);break;}case J[_0x41a2ab(0x4a1)]:{_0x1302c9=await this[_0x41a2ab(0x48c)][_0x41a2ab(0x470)](_0x16633c,_0x6af12f);break;}default:{this[_0x41a2ab(0x39f)]['error'](_0x41a2ab(0x4c0),_0x41a2ab(0x3d1));break;}}return _0x1302c9;}async[_0x2f6cf0(0x3ea)](_0xaa64bf,_0x51d422,_0x74cab9){var _0x23f0f0=_0x2f6cf0,_0x3f38cf;this[_0x23f0f0(0x297)][_0x23f0f0(0x4b8)]({'unitId':_0xaa64bf,'type':_0x51d422,'subUnitId':_0x74cab9});let _0x3cca27=0x0;const _0x10bf57=await((_0x3f38cf=this[_0x23f0f0(0x2c3)])==null?void 0x0:_0x3f38cf[_0x23f0f0(0x499)](_0xaa64bf));return _0x10bf57&&(_0x10bf57[_0x23f0f0(0x3cd)]||_0x10bf57[_0x23f0f0(0x53d)]['length']!==0x0)&&(_0x3cca27=_0x10bf57['rev']),_0x3cca27===0x0&&this['_logService'][_0x23f0f0(0x359)]('[DataLoaderService]',_0x23f0f0(0x52b)),this[_0x23f0f0(0x1fa)](_0xaa64bf,_0x51d422,_0x3cca27);}},exports[_0x2f6cf0(0x2f5)]=tn([we(0x0,a[_0x2f6cf0(0x3ae)]),we(0x1,a['Inject'](p[_0x2f6cf0(0x34d)])),we(0x2,a['Optional'](K))],exports['DataLoaderService']);var nn=Object[_0x2f6cf0(0x51f)],rn=(_0x5997b4,_0x282560,_0x198476,_0x4159aa)=>{for(var _0xbc4ea6=_0x4159aa>0x1?void 0x0:_0x4159aa?nn(_0x282560,_0x198476):_0x282560,_0x1a0581=_0x5997b4['length']-0x1,_0x4d4a91;_0x1a0581>=0x0;_0x1a0581--)(_0x4d4a91=_0x5997b4[_0x1a0581])&&(_0xbc4ea6=_0x4d4a91(_0xbc4ea6)||_0xbc4ea6);return _0xbc4ea6;},Me=(_0x4e23a8,_0x1e3758)=>(_0x5a09d5,_0x13cd81)=>_0x1e3758(_0x5a09d5,_0x13cd81,_0x4e23a8);const sn=['image/png',_0x2f6cf0(0x2cd),_0x2f6cf0(0x4a5),'image/gif','image/bmp'],on=0x5*0x400*0x400,an=_0x2f6cf0(0x21c),cn='/universer-api/file/{fileID}/sign-url';exports[_0x2f6cf0(0x33b)]=class{constructor(_0x1740ec,_0x3e431a,_0x54648d){var _0x1f408a=_0x2f6cf0;A(this,_0x1f408a(0x3df),0x0),A(this,_0x1f408a(0x3bf),new H['Subject']()),A(this,_0x1f408a(0x3c7),this[_0x1f408a(0x3bf)]),A(this,'_imageSourceCache',new Map()),(this[_0x1f408a(0x2bc)]=_0x1740ec,this[_0x1f408a(0x543)]=_0x3e431a,this[_0x1f408a(0x3a8)]=_0x54648d);}['setWaitCount'](_0x191437){var _0x25d9fe=_0x2f6cf0;this[_0x25d9fe(0x3df)]=_0x191437,this[_0x25d9fe(0x3bf)][_0x25d9fe(0x4b8)](_0x191437);}[_0x2f6cf0(0x559)](_0x27c3bd,_0x5421dd){var _0x2e4821=_0x2f6cf0;if(_0x5421dd===z['ImageSourceType']['BASE64']){const _0x3cafec=new Image();return _0x3cafec[_0x2e4821(0x3b0)]=_0x27c3bd,_0x3cafec;}return this[_0x2e4821(0x338)][_0x2e4821(0x1f6)](_0x27c3bd);}['addImageSourceCache'](_0x51053f,_0x2b6aec,_0x21fb42){var _0x44e429=_0x2f6cf0;_0x2b6aec===z[_0x44e429(0x2e0)][_0x44e429(0x4e3)]||_0x21fb42==null||this['_imageSourceCache'][_0x44e429(0x48a)](_0x51053f,_0x21fb42);}async[_0x2f6cf0(0x3e1)](_0x2cca19){var _0x526247=_0x2f6cf0;try{const _0x333c6b=this[_0x526247(0x2e3)](this[_0x526247(0x358)](),''+_0x2cca19),_0x3bbf7b=(await this[_0x526247(0x2bc)]['get'](_0x333c6b))[_0x526247(0x271)];if(_0x3bbf7b[_0x526247(0x2c2)]&&_0x3bbf7b[_0x526247(0x2c2)][_0x526247(0x44e)]===dt['OK']){const _0x4a111a=new URL(_0x3bbf7b['url'],this[_0x526247(0x2db)]())['toString']();return Promise[_0x526247(0x3aa)](_0x4a111a);}return Promise['reject'](_0x3bbf7b[_0x526247(0x2c2)]);}catch(_0x309d71){return Promise[_0x526247(0x413)](_0x309d71);}}async[_0x2f6cf0(0x458)](_0x51b795){var _0x3c960f=_0x2f6cf0;let _0x26f332='';if(!sn['includes'](_0x51b795[_0x3c960f(0x477)]))return this[_0x3c960f(0x205)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x3c960f(0x409)]));if(_0x51b795[_0x3c960f(0x290)]>on)return this[_0x3c960f(0x205)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x3c960f(0x3da)]));try{const _0xa27ac4=new FormData();_0xa27ac4[_0x3c960f(0x369)](_0x3c960f(0x280),_0x51b795);const _0x45e3b6=this[_0x3c960f(0x3a8)][_0x3c960f(0x2fa)](),_0x392f7f=_0x45e3b6==null?void 0x0:_0x45e3b6[_0x3c960f(0x3de)]();if(!_0x392f7f)throw new Error('unitId\x20is\x20not\x20found');const _0x1c04c3=this[_0x3c960f(0x249)]()+'?size='+_0x51b795[_0x3c960f(0x290)][_0x3c960f(0x532)]()+_0x3c960f(0x484)+vt[_0x3c960f(0x43f)]+'&assign='+encodeURIComponent(_0x392f7f),_0x55d127={'body':_0xa27ac4},_0x4b04a1=(await this[_0x3c960f(0x2bc)]['post'](_0x1c04c3,_0x55d127))['body'];if(typeof _0x4b04a1[_0x3c960f(0x446)]!=_0x3c960f(0x501))return this[_0x3c960f(0x205)](),Promise[_0x3c960f(0x413)](new Error(z[_0x3c960f(0x450)][_0x3c960f(0x386)]));_0x26f332=_0x4b04a1['FileId'];}catch{return this[_0x3c960f(0x205)](),Promise[_0x3c960f(0x413)](new Error(z[_0x3c960f(0x450)][_0x3c960f(0x386)]));}return new Promise((_0x5ca633,_0x163cf8)=>{var _0x5e3818=_0x3c960f;const _0x18dfd1=new FileReader();_0x18dfd1[_0x5e3818(0x32b)](_0x51b795),_0x18dfd1[_0x5e3818(0x328)]=_0x4fd7a5=>{var _0x18f48b=_0x5e3818,_0x31c102;const _0x176352=(_0x31c102=_0x4fd7a5[_0x18f48b(0x2ce)])==null?void 0x0:_0x31c102[_0x18f48b(0x512)];if(_0x176352==null){this[_0x18f48b(0x205)](),_0x163cf8(new Error(z[_0x18f48b(0x450)][_0x18f48b(0x386)]));return;}const _0x3a25d0=a[_0x18f48b(0x4da)](0x6);_0x5ca633({'imageId':_0x3a25d0,'imageSourceType':z[_0x18f48b(0x2e0)]['UUID'],'source':_0x26f332,'base64Cache':_0x176352,'status':z[_0x18f48b(0x450)][_0x18f48b(0x47f)]}),this[_0x18f48b(0x205)]();};});}[_0x2f6cf0(0x249)](){var _0x380507=_0x2f6cf0,_0x16a146;const _0x510526=this['_configService'][_0x380507(0x52a)](Y);return(_0x16a146=_0x510526==null?void 0x0:_0x510526[_0x380507(0x55d)])!=null?_0x16a146:an;}[_0x2f6cf0(0x358)](){var _0x509f29=_0x2f6cf0,_0x1680eb;const _0x1836f9=this['_configService'][_0x509f29(0x52a)](Y);return(_0x1680eb=_0x1836f9==null?void 0x0:_0x1836f9['signUrlServerUrl'])!=null?_0x1680eb:cn;}['_getDownloadEndpointURL'](){var _0x4d4742=_0x2f6cf0,_0x1fbad8;const _0xdc4138=this[_0x4d4742(0x543)][_0x4d4742(0x52a)](Y);return(_0x1fbad8=_0xdc4138==null?void 0x0:_0xdc4138[_0x4d4742(0x4c2)])!=null?_0x1fbad8:location[_0x4d4742(0x2ef)];}[_0x2f6cf0(0x2e3)](_0x369666,_0x26b1ea){var _0x15bc1a=_0x2f6cf0;return _0x369666[_0x15bc1a(0x3e3)]('{fileID}',_0x26b1ea);}[_0x2f6cf0(0x205)](){var _0x22d1d1=_0x2f6cf0;this[_0x22d1d1(0x3df)]-=0x1,this[_0x22d1d1(0x3bf)][_0x22d1d1(0x4b8)](this[_0x22d1d1(0x3df)]);}},exports[_0x2f6cf0(0x33b)]=rn([Me(0x0,a[_0x2f6cf0(0x4ba)](q[_0x2f6cf0(0x2d4)])),Me(0x1,a[_0x2f6cf0(0x45e)]),Me(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x2f6cf0(0x33b)]);var hn=Object[_0x2f6cf0(0x51f)],_n=(_0x466a06,_0x1f7c1d,_0x37a36a,_0x5e6af1)=>{var _0x1d109b=_0x2f6cf0;for(var _0x54ca27=_0x5e6af1>0x1?void 0x0:_0x5e6af1?hn(_0x1f7c1d,_0x37a36a):_0x1f7c1d,_0x521306=_0x466a06[_0x1d109b(0x4ca)]-0x1,_0x476fe0;_0x521306>=0x0;_0x521306--)(_0x476fe0=_0x466a06[_0x521306])&&(_0x54ca27=_0x476fe0(_0x54ca27)||_0x54ca27);return _0x54ca27;},ot=(_0x5bacc4,_0x14c580)=>(_0x4d43d7,_0x5a2f47)=>_0x14c580(_0x4d43d7,_0x5a2f47,_0x5bacc4);const ln='/universer-api/authz';exports[_0x2f6cf0(0x22d)]=class{constructor(_0x59ec7b,_0x54d175){var _0x5bff5b=_0x2f6cf0;this['_configService']=_0x59ec7b,this[_0x5bff5b(0x4d5)]=_0x54d175;}[_0x2f6cf0(0x2ac)](){var _0x521595=_0x2f6cf0,_0x5ead8a;const _0x3adffe=this[_0x521595(0x543)][_0x521595(0x52a)](Y);return(_0x5ead8a=_0x3adffe==null?void 0x0:_0x3adffe[_0x521595(0x557)])!=null?_0x5ead8a:ln;}async[_0x2f6cf0(0x2a0)](_0x1107d8){var _0x2b8dfe=_0x2f6cf0;const _0x34a98c=this[_0x2b8dfe(0x2ac)]()+'/collaborator';return{'list':[{'title':_0x2b8dfe(0x54a),'mentions':(await this[_0x2b8dfe(0x4d5)][_0x2b8dfe(0x1f6)](_0x34a98c,{'params':{'objectID':_0x1107d8[_0x2b8dfe(0x4d7)],'unitID':_0x1107d8[_0x2b8dfe(0x4d7)]}}))['body'][_0x2b8dfe(0x431)][_0x2b8dfe(0x237)](_0x1c004b=>({'objectId':_0x1c004b['id'],'name':_0x1c004b[_0x2b8dfe(0x21a)][_0x2b8dfe(0x286)],'metadata':{'icon':_0x1c004b[_0x2b8dfe(0x21a)][_0x2b8dfe(0x504)]},'label':_0x1c004b[_0x2b8dfe(0x21a)][_0x2b8dfe(0x286)],'objectType':a[_0x2b8dfe(0x4cd)][_0x2b8dfe(0x28d)]})),'metadata':{},'type':a[_0x2b8dfe(0x4cd)][_0x2b8dfe(0x28d)]}]};}},exports[_0x2f6cf0(0x22d)]=_n([ot(0x0,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x45e)])),ot(0x1,a['Inject'](q['HTTPService']))],exports[_0x2f6cf0(0x22d)]);var un=Object['getOwnPropertyDescriptor'],dn=(_0x43c874,_0x5e4e0e,_0x575762,_0x3d1e52)=>{var _0x3075db=_0x2f6cf0;for(var _0x5840d2=_0x3d1e52>0x1?void 0x0:_0x3d1e52?un(_0x5e4e0e,_0x575762):_0x5e4e0e,_0x47a38c=_0x43c874[_0x3075db(0x4ca)]-0x1,_0x4609ef;_0x47a38c>=0x0;_0x47a38c--)(_0x4609ef=_0x43c874[_0x47a38c])&&(_0x5840d2=_0x4609ef(_0x5840d2)||_0x5840d2);return _0x5840d2;},le=(_0x537c04,_0x2c9f85)=>(_0x2ea55d,_0x2c5dfb)=>_0x2c9f85(_0x2ea55d,_0x2c5dfb,_0x537c04);let De=class extends a[_0x2f6cf0(0x44c)]{constructor(_0x498b29,_0x533d40,_0x166138,_0x443efb,_0x494d96){var _0x256bf5=_0x2f6cf0;super(),this[_0x256bf5(0x2d8)]=_0x498b29,this['_univerInstanceService']=_0x533d40,this[_0x256bf5(0x38e)]=_0x166138,this[_0x256bf5(0x36e)]=_0x443efb,this[_0x256bf5(0x22f)]=_0x494d96,this['_initUnitPermissionChange'](),this[_0x256bf5(0x2c6)]();}[_0x2f6cf0(0x2c6)](){var _0x5c42e6=_0x2f6cf0;const _0x456840=async _0x626d92=>{var _0x2fb2eb=_0x30fe;(await this[_0x2fb2eb(0x36e)][_0x2fb2eb(0x241)](_0x626d92))[_0x2fb2eb(0x329)][_0x2fb2eb(0x298)](V['filter'](_0x204cd8=>_0x204cd8[_0x2fb2eb(0x3f1)]===p[_0x2fb2eb(0x252)]['SHOULD_CLOSE_CONN']),V[_0x2fb2eb(0x4d6)](this[_0x2fb2eb(0x3d9)]))[_0x2fb2eb(0x2a7)](_0x2b3cf9=>{var _0x53b9d3=_0x2fb2eb;const _0x1d52eb=_0x2b3cf9,{reason:_0x4c0049}=_0x1d52eb['data'];this[_0x53b9d3(0x22f)][_0x53b9d3(0x33e)]({'id':Z[_0x53b9d3(0x308)],'data':_0x4c0049}),this[_0x53b9d3(0x38e)]['updatePermissionPoint'](new X[(_0x53b9d3(0x344))](_0x626d92)['id'],!0x1),this[_0x53b9d3(0x36e)][_0x53b9d3(0x284)](_0x626d92);});};H[_0x5c42e6(0x293)](this[_0x5c42e6(0x3a8)][_0x5c42e6(0x3a5)](a[_0x5c42e6(0x454)][_0x5c42e6(0x3b3)]),this[_0x5c42e6(0x3a8)][_0x5c42e6(0x3a5)](a['UniverInstanceType'][_0x5c42e6(0x4a1)]))[_0x5c42e6(0x298)](V[_0x5c42e6(0x237)](_0x27446b=>_0x27446b['getUnitId']()),V[_0x5c42e6(0x3ec)](_0x3e9b9e=>!a[_0x5c42e6(0x4f5)](_0x3e9b9e)),V[_0x5c42e6(0x4d6)](this[_0x5c42e6(0x3d9)]))['subscribe'](_0x4e7b39=>{_0x456840(_0x4e7b39);});}[_0x2f6cf0(0x467)](){var _0x4c4c59=_0x2f6cf0;const _0x57085c=async _0x373328=>{var _0x25cc20=_0x30fe;const _0x5784e5=await this[_0x25cc20(0x36e)]['requireSession'](_0x373328),_0x593dd9=this[_0x25cc20(0x2d8)][_0x25cc20(0x1f6)](X['SheetPermissionInitController']);_0x5784e5[_0x25cc20(0x329)][_0x25cc20(0x298)](V[_0x25cc20(0x3ec)](_0x54ca96=>_0x54ca96[_0x25cc20(0x3f1)]===p[_0x25cc20(0x252)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this['dispose$']))[_0x25cc20(0x2a7)](_0xc8f78b=>{var _0x3a510a=_0x25cc20;const _0x2386ff=_0xc8f78b,{objectId:_0x2180bf}=_0x2386ff['data'];_0x2180bf===_0x373328?_0x593dd9[_0x3a510a(0x306)](_0x373328):_0x593dd9[_0x3a510a(0x3ab)](_0x373328,_0x2180bf);});};H['merge'](this[_0x4c4c59(0x3a8)][_0x4c4c59(0x3a5)](a[_0x4c4c59(0x454)][_0x4c4c59(0x3b3)]))['pipe'](V['map'](_0x5d046d=>_0x5d046d['getUnitId']()),V[_0x4c4c59(0x3ec)](_0x2b65cc=>!a[_0x4c4c59(0x4f5)](_0x2b65cc)),V[_0x4c4c59(0x4d6)](this[_0x4c4c59(0x3d9)]))['subscribe'](_0xea8a8e=>{_0x57085c(_0xea8a8e);});}};De=dn([le(0x0,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),le(0x1,a[_0x2f6cf0(0x4cf)]),le(0x2,a[_0x2f6cf0(0x400)]),le(0x3,a[_0x2f6cf0(0x4ba)](exports['CollaborationSessionService'])),le(0x4,a[_0x2f6cf0(0x4ba)](ee))],De);var vn=Object[_0x2f6cf0(0x51f)],Sn=(_0x25c5bf,_0x24fa53,_0x406091,_0x386dc6)=>{for(var _0x45346e=_0x386dc6>0x1?void 0x0:_0x386dc6?vn(_0x24fa53,_0x406091):_0x24fa53,_0x4c0536=_0x25c5bf['length']-0x1,_0x34856d;_0x4c0536>=0x0;_0x4c0536--)(_0x34856d=_0x25c5bf[_0x4c0536])&&(_0x45346e=_0x34856d(_0x45346e)||_0x45346e);return _0x45346e;},at=(_0x50a2cd,_0x1f41c9)=>(_0x43b806,_0x4aee53)=>_0x1f41c9(_0x43b806,_0x4aee53,_0x50a2cd);exports[_0x2f6cf0(0x35a)]=class{constructor(_0xaa7345,_0x908790){var _0x181296=_0x2f6cf0;this[_0x181296(0x543)]=_0xaa7345,this['_httpService']=_0x908790;}async[_0x2f6cf0(0x489)](_0x555012,_0x18f025){var _0x59953d=_0x2f6cf0,_0x47b577;const {unitID:_0x426cb6,type:_0x215ce2,revision:_0x231e40=0x0}=_0x18f025,_0x268764=this[_0x59953d(0x3e4)]()+'/'+_0x215ce2+_0x59953d(0x266)+_0x426cb6+_0x59953d(0x2bd)+_0x231e40,_0x5d461f=(await this[_0x59953d(0x2bc)][_0x59953d(0x1f6)](_0x268764))['body'],_0xc2fb8a=(_0x47b577=_0x5d461f[_0x59953d(0x4e7)])==null?void 0x0:_0x47b577[_0x59953d(0x452)];if(_0xc2fb8a){const _0x467028=_0xc2fb8a==null?void 0x0:_0xc2fb8a[_0x59953d(0x2e8)],_0x3c93ca=p[_0x59953d(0x436)]['encode'](p[_0x59953d(0x24f)](_0x467028));_0xc2fb8a['originalMeta']=_0x3c93ca,Object[_0x59953d(0x2b9)](_0xc2fb8a[_0x59953d(0x3a4)])[_0x59953d(0x397)](([,_0x5a2552])=>{var _0x412c5a=_0x59953d;const _0x251e98=_0x5a2552[_0x412c5a(0x2e8)],_0x2b45c7=p[_0x412c5a(0x436)][_0x412c5a(0x24e)](p[_0x412c5a(0x24f)](_0x251e98));_0x5a2552[_0x412c5a(0x2e8)]=_0x2b45c7;});}return _0x5d461f;}async[_0x2f6cf0(0x428)](_0x41759e,_0xc267ed){var _0x3663c8=_0x2f6cf0;const {unitID:_0x18871c,type:_0x1534ee,blockID:_0x1b5e73}=_0xc267ed,_0x39490b=this[_0x3663c8(0x478)]()+'/'+_0x1534ee+_0x3663c8(0x266)+_0x18871c+_0x3663c8(0x20e)+_0x1b5e73;return(await this['_httpService'][_0x3663c8(0x1f6)](_0x39490b))[_0x3663c8(0x271)];}async[_0x2f6cf0(0x20a)](_0x35285a,_0x46763b){var _0x1a2630=_0x2f6cf0;const {unitID:_0x4edd99,type:_0x21871d,blockID:_0x299526}=_0x46763b,_0x14187f=this[_0x1a2630(0x478)]()+_0x1a2630(0x20e)+_0x21871d+_0x1a2630(0x266)+_0x4edd99+_0x1a2630(0x20e)+_0x299526;return(await this[_0x1a2630(0x2bc)]['get'](_0x14187f))[_0x1a2630(0x271)];}async['fetchMissingChangesets'](_0x5d6806,_0x37da42){var _0x290174=_0x2f6cf0;const {unitID:_0x4c9bde,type:_0x2483df,from:_0x497ba0,to:_0x344a50}=_0x37da42,_0x22e0d7=this[_0x290174(0x478)]()+'/'+_0x2483df+_0x290174(0x266)+_0x4c9bde+_0x290174(0x4b4)+_0x497ba0+_0x290174(0x305)+_0x344a50;return(await this[_0x290174(0x2bc)][_0x290174(0x1f6)](_0x22e0d7))[_0x290174(0x271)];}['getSnapshotAPIPath'](){var _0x26efdd=_0x2f6cf0,_0x219b16;return(_0x219b16=this['_configService'][_0x26efdd(0x52a)](Dt))!=null?_0x219b16:this[_0x26efdd(0x478)]();}[_0x2f6cf0(0x478)](){var _0x51576b=_0x2f6cf0,_0x8de75a;const _0x3b63af=this[_0x51576b(0x543)][_0x51576b(0x52a)](Y);return(_0x8de75a=_0x3b63af==null?void 0x0:_0x3b63af[_0x51576b(0x444)])!=null?_0x8de75a:Nt;}async['getResourcesRequest'](_0x5ea4dc,_0x37e9ec){var _0xf9fb73=_0x2f6cf0;const _0x379c1e=_0xf9fb73(0x2e4)+_0x37e9ec[_0xf9fb73(0x477)]+_0xf9fb73(0x266)+_0x37e9ec[_0xf9fb73(0x1f2)]+'/resources';return(await this[_0xf9fb73(0x2bc)][_0xf9fb73(0x1f6)](_0x379c1e,{'params':{'resourceId':JSON['stringify'](_0x37e9ec[_0xf9fb73(0x552)])}}))['body'];}[_0x2f6cf0(0x4c6)](){var _0x1391aa=_0x2f6cf0;throw new Error(_0x1391aa(0x24b));}[_0x2f6cf0(0x41d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2f6cf0(0x20f)](){var _0x5a07c7=_0x2f6cf0;throw new Error(_0x5a07c7(0x24b));}['saveChangeset'](){var _0x5664d9=_0x2f6cf0;throw new Error(_0x5664d9(0x24b));}[_0x2f6cf0(0x31f)](){var _0x3d60a3=_0x2f6cf0;throw new Error(_0x3d60a3(0x24b));}[_0x2f6cf0(0x485)](){var _0x2fece7=_0x2f6cf0;throw new Error(_0x2fece7(0x24b));}},exports[_0x2f6cf0(0x35a)]=Sn([at(0x0,a[_0x2f6cf0(0x45e)]),at(0x1,a[_0x2f6cf0(0x4ba)](q['HTTPService']))],exports[_0x2f6cf0(0x35a)]);var fn=Object[_0x2f6cf0(0x51f)],In=(_0x3f3b74,_0x3f0847,_0x235404,_0x42ca45)=>{var _0x2da9a9=_0x2f6cf0;for(var _0x2c412f=_0x42ca45>0x1?void 0x0:_0x42ca45?fn(_0x3f0847,_0x235404):_0x3f0847,_0x52cc6a=_0x3f3b74[_0x2da9a9(0x4ca)]-0x1,_0x385698;_0x52cc6a>=0x0;_0x52cc6a--)(_0x385698=_0x3f3b74[_0x52cc6a])&&(_0x2c412f=_0x385698(_0x2c412f)||_0x2c412f);return _0x2c412f;},ue=(_0x240cb8,_0x238f3a)=>(_0x515167,_0x164c86)=>_0x238f3a(_0x515167,_0x164c86,_0x240cb8);exports['CollaborativeUndoRedoService']=class extends a['LocalUndoRedoService']{constructor(_0x4be969,_0x4873cc,_0x34cf76,_0x5e0b95,_0x3d4beb){var _0x1e0caf=_0x2f6cf0;super(_0x4be969,_0x4873cc,_0x34cf76),this[_0x1e0caf(0x54f)]=_0x5e0b95,this['_logService']=_0x3d4beb;}[_0x2f6cf0(0x4fb)](_0x5923da,_0x16a9dd){var _0xc43c8f=_0x2f6cf0;const _0x3ba248=this[_0xc43c8f(0x2bf)](_0x5923da);if(_0x3ba248)try{const _0x31f05d=this['_transformStack'](_0x3ba248,_0x16a9dd);this[_0xc43c8f(0x27d)](_0x5923da,_0x31f05d);}catch(_0x33e855){this['_logService'][_0xc43c8f(0x2c2)](_0xc43c8f(0x218),_0x33e855),this[_0xc43c8f(0x2eb)](_0x5923da);}const _0x2216e8=this[_0xc43c8f(0x250)](_0x5923da);if(_0x2216e8)try{const _0x59b3e7=this[_0xc43c8f(0x26a)](_0x2216e8,_0x16a9dd);this[_0xc43c8f(0x3e5)](_0x5923da,_0x59b3e7);}catch(_0x140f47){this['_logService'][_0xc43c8f(0x2c2)](_0x140f47),this['_clearRedo'](_0x5923da);}}[_0x2f6cf0(0x2eb)](_0x417053){var _0x186d22=_0x2f6cf0;const _0x1aaa8f=this[_0x186d22(0x2bf)](_0x417053);_0x1aaa8f&&(_0x1aaa8f[_0x186d22(0x4ca)]=0x0,this[_0x186d22(0x2aa)]());}[_0x2f6cf0(0x270)](_0x54add7){var _0x165f84=_0x2f6cf0;const _0x3150a0=this['_getRedoStack'](_0x54add7);_0x3150a0&&(_0x3150a0[_0x165f84(0x4ca)]=0x0,this[_0x165f84(0x2aa)]());}[_0x2f6cf0(0x27d)](_0x325802,_0x5995a7){var _0x1367c4=_0x2f6cf0;this[_0x1367c4(0x31b)][_0x1367c4(0x48a)](_0x325802,_0x5995a7),this[_0x1367c4(0x2aa)]();}[_0x2f6cf0(0x3e5)](_0x511a01,_0x585f5e){var _0x2a890c=_0x2f6cf0;this[_0x2a890c(0x34b)][_0x2a890c(0x48a)](_0x511a01,_0x585f5e),this['_updateStatus']();}[_0x2f6cf0(0x26a)](_0x189b55,_0xb8bd70){var _0x1fe4a0=_0x2f6cf0;const _0x59241f=[];let _0x272c35=_0xb8bd70,_0x1196d9=_0xb8bd70;for(let _0x5cba4c=_0x189b55[_0x1fe4a0(0x4ca)]-0x1;_0x5cba4c>=0x0;_0x5cba4c--){const {unitID:_0x1c5339,undoMutations:_0x25f13b,redoMutations:_0x186ac5}=_0x189b55[_0x5cba4c],_0x42a5c8=this[_0x1fe4a0(0x54f)][_0x1fe4a0(0x49c)](_0x272c35,_0x25f13b),_0x2c4d4d=this[_0x1fe4a0(0x54f)][_0x1fe4a0(0x49c)](_0x1196d9,_0x186ac5);if(p['isTransformMutationsWithChangesetFailure'](_0x42a5c8)||p['isTransformMutationsWithChangesetFailure'](_0x2c4d4d)){this['_logService'][_0x1fe4a0(0x2c2)](_0x1fe4a0(0x218),'transformStack\x20failed!',_0x42a5c8,_0x2c4d4d);break;}_0x272c35=_0x42a5c8['c1Prime'],_0x1196d9=_0x2c4d4d[_0x1fe4a0(0x27a)],_0x59241f[_0x1fe4a0(0x547)]({'unitID':_0x1c5339,'undoMutations':_0x42a5c8[_0x1fe4a0(0x203)],'redoMutations':_0x2c4d4d[_0x1fe4a0(0x203)]});}return _0x59241f['reverse']();}},exports[_0x2f6cf0(0x4f6)]=In([ue(0x0,a[_0x2f6cf0(0x4cf)]),ue(0x1,a[_0x2f6cf0(0x48d)]),ue(0x2,a[_0x2f6cf0(0x529)]),ue(0x3,p[_0x2f6cf0(0x517)]),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x2f6cf0(0x231)],mn=Object[_0x2f6cf0(0x51f)],gn=(_0x4982b6,_0x4ee128,_0x226d9a)=>_0x4ee128 in _0x4982b6?pn(_0x4982b6,_0x4ee128,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x226d9a}):_0x4982b6[_0x4ee128]=_0x226d9a,En=(_0x471203,_0x23fe62,_0x53948b,_0x6ab9c9)=>{for(var _0xa937e3=_0x6ab9c9>0x1?void 0x0:_0x6ab9c9?mn(_0x23fe62,_0x53948b):_0x23fe62,_0x2afd28=_0x471203['length']-0x1,_0x326f84;_0x2afd28>=0x0;_0x2afd28--)(_0x326f84=_0x471203[_0x2afd28])&&(_0xa937e3=_0x326f84(_0xa937e3)||_0xa937e3);return _0xa937e3;},Le=(_0x408808,_0x381e95)=>(_0x4dbf75,_0x5b8eac)=>_0x381e95(_0x4dbf75,_0x5b8eac,_0x408808),Cn=(_0x29af62,_0x4df1d4,_0xf7310f)=>gn(_0x29af62,_0x4df1d4+'',_0xf7310f);const Tn=_0x2f6cf0(0x53c);exports[_0x2f6cf0(0x408)]=class extends a[_0x2f6cf0(0x2a6)]{constructor(_0xc631d0,_0x4ce7ae,_0x102d6e,_0x33f202){var _0x2bd945=_0x2f6cf0;super(),A(this,'_config'),(this[_0x2bd945(0x39f)]=_0x4ce7ae,this['_injector']=_0x102d6e,this['_configService']=_0x33f202);const {..._0x38a29f}=a['merge']({},Bt,_0xc631d0);if(!_0x38a29f['socketService'])throw new Error(_0x2bd945(0x22b));this[_0x2bd945(0x25e)]=_0x38a29f,this[_0x2bd945(0x543)][_0x2bd945(0x2ee)](Y,_0x38a29f);}['onStarting'](){var _0x4f9197=_0x2f6cf0;this[_0x4f9197(0x304)](),this[_0x4f9197(0x2f0)]();}[_0x2f6cf0(0x304)](){var _0x370650=_0x2f6cf0,_0x181b17,_0x3c6ca5;this[_0x370650(0x2d8)][_0x370650(0x52c)](a['IUndoRedoService'])&&this[_0x370650(0x39f)][_0x370650(0x2c2)]('[UniverCollaborationClientPlugin]',_0x370650(0x2f9));const _0x5c2367=a[_0x370650(0x39c)]([[a['IUndoRedoService'],{'useClass':exports[_0x370650(0x4f6)]}],[exports[_0x370650(0x365)]],[exports[_0x370650(0x2d2)]],[exports[_0x370650(0x448)]],[ye],[Ne],[He],[De],[ee],[exports['DataLoaderService']],[$e,{'useClass':this[_0x370650(0x25e)][_0x370650(0x3c4)]}],[p[_0x370650(0x406)],{'useClass':exports[_0x370650(0x35a)]}],[a[_0x370650(0x435)],{'useClass':exports[_0x370650(0x2b3)]}],[z[_0x370650(0x30a)],{'useClass':exports[_0x370650(0x33b)]}],[a[_0x370650(0x20c)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x370650(0x483)]],[xe]],(_0x181b17=this['_config'])==null?void 0x0:_0x181b17[_0x370650(0x278)]);if(!((_0x3c6ca5=this[_0x370650(0x25e)])!=null&&_0x3c6ca5[_0x370650(0x513)])){const _0xcdc20b=_0x5c2367[_0x370650(0x50b)](([_0x4f93e3])=>_0x4f93e3===de);_0xcdc20b!==-0x1&&_0x5c2367['splice'](_0xcdc20b,0x1);}a[_0x370650(0x4f3)](this[_0x370650(0x2d8)],_0x5c2367);}[_0x2f6cf0(0x2f0)](){var _0x12f839=_0x2f6cf0,_0x5b8b24,_0x44dfe5,_0x184add;this['_injector'][_0x12f839(0x1f6)](q[_0x12f839(0x2d4)])[_0x12f839(0x25b)]({'priority':0x14,'interceptor':q[_0x12f839(0x2a9)]({'maxParallel':0x6})}),(_0x5b8b24=this['_config'])!=null&&_0x5b8b24[_0x12f839(0x368)]||(_0x44dfe5=this[_0x12f839(0x2d8)][_0x12f839(0x1f6)](K,a[_0x12f839(0x340)][_0x12f839(0x391)]))==null||_0x44dfe5['disableLocalCache'](),(_0x184add=this[_0x12f839(0x25e)])!=null&&_0x184add[_0x12f839(0x46e)]&&a[_0x12f839(0x378)](this['_injector'],[[ye]]),a[_0x12f839(0x378)](this[_0x12f839(0x2d8)],[[Ne],[exports[_0x12f839(0x483)]],[De]]);}},Cn(exports[_0x2f6cf0(0x408)],_0x2f6cf0(0x294),Tn),exports[_0x2f6cf0(0x408)]=En([a[_0x2f6cf0(0x4f1)](p['UniverCollaborationPlugin'],q[_0x2f6cf0(0x2b7)]),Le(0x1,a[_0x2f6cf0(0x3ae)]),Le(0x2,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),Le(0x3,a[_0x2f6cf0(0x45e)])],exports[_0x2f6cf0(0x408)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports['CollaborationStatus']=Be,exports[_0x2f6cf0(0x41f)]=Z,exports[_0x2f6cf0(0x23c)]=ee,exports['CommentService']=He,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ht,exports[_0x2f6cf0(0x2c0)]=jt,exports[_0x2f6cf0(0x4b5)]=At,exports[_0x2f6cf0(0x269)]=_t,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x2f6cf0(0x3b4)]=$e,exports['ILocalCacheService']=K,exports['INetworkConditionService']=St,exports['ISingleActiveUnitService']=de,exports[_0x2f6cf0(0x30c)]=xt,exports[_0x2f6cf0(0x511)]=Lt,exports[_0x2f6cf0(0x2c9)]=Ht,exports[_0x2f6cf0(0x33a)]=ut,exports[_0x2f6cf0(0x514)]=re,exports[_0x2f6cf0(0x4d4)]=je,exports[_0x2f6cf0(0x53e)]=ft,exports[_0x2f6cf0(0x3c2)]=ei,exports[_0x2f6cf0(0x317)]=It;