@univerjs-pro/collaboration-client 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x387fe2=_0x2609;(function(_0x5af091,_0x422f54){var _0x3659c3=_0x2609,_0x21d4fb=_0x5af091();while(!![]){try{var _0x222cab=-parseInt(_0x3659c3(0x1d3))/0x1*(-parseInt(_0x3659c3(0x116))/0x2)+-parseInt(_0x3659c3(0x24b))/0x3+parseInt(_0x3659c3(0x165))/0x4+-parseInt(_0x3659c3(0x12e))/0x5+-parseInt(_0x3659c3(0x210))/0x6*(-parseInt(_0x3659c3(0x1cb))/0x7)+-parseInt(_0x3659c3(0x29d))/0x8+-parseInt(_0x3659c3(0x25a))/0x9;if(_0x222cab===_0x422f54)break;else _0x21d4fb['push'](_0x21d4fb['shift']());}catch(_0x49c7c9){_0x21d4fb['push'](_0x21d4fb['shift']());}}}(_0x1cd9,0xacb75));var bt=Object[_0x387fe2(0x109)],Ot=(_0x4a49cf,_0x30beca,_0x333117)=>_0x30beca in _0x4a49cf?bt(_0x4a49cf,_0x30beca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x333117}):_0x4a49cf[_0x30beca]=_0x333117,A=(_0x52d59a,_0x1ff389,_0x228afa)=>Ot(_0x52d59a,typeof _0x1ff389!=_0x387fe2(0x1cd)?_0x1ff389+'':_0x1ff389,_0x228afa);Object[_0x387fe2(0x109)](exports,Symbol[_0x387fe2(0x41e)],{'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=_0x387fe2(0x10c),Dt=_0x387fe2(0x147),Ut=0x7d0,ht=_0x387fe2(0x190),At=_0x387fe2(0x16c),_t='HEARTBEAT_INTERVAL',Pt=0x7530,ke='HEARTBEAT_TIMEOUT',lt=0x4e20,wt=0x4e20,ut=_0x387fe2(0x1ac),Mt=0x3,Lt=_0x387fe2(0x1fd),xt=0x3e8,kt='/universer-api/comb',$t=_0x387fe2(0x359),Ht=_0x387fe2(0x27d),jt=_0x387fe2(0x279);var dt=(_0x57709a=>(_0x57709a[_0x57709a['UNDEFINED']=0x0]=_0x387fe2(0x2c9),_0x57709a[_0x57709a['OK']=0x1]='OK',_0x57709a[_0x57709a[_0x387fe2(0x3a6)]=0x2]=_0x387fe2(0x3a6),_0x57709a[_0x57709a[_0x387fe2(0x324)]=0x3]=_0x387fe2(0x324),_0x57709a[_0x57709a[_0x387fe2(0x377)]=0x4]=_0x387fe2(0x377),_0x57709a[_0x57709a['UNAUTHENTICATED']=0x5]=_0x387fe2(0x3e7),_0x57709a[_0x57709a[_0x387fe2(0x16b)]=0x6]='ALREADY_EXISTS',_0x57709a[_0x57709a[_0x387fe2(0x303)]=0x7]=_0x387fe2(0x303),_0x57709a[_0x57709a['TOO_MANY_REQUESTS']=0x8]=_0x387fe2(0x1c7),_0x57709a[_0x57709a[_0x387fe2(0x3b0)]=0x9]='COMPLETION_FINISHED',_0x57709a[_0x57709a[_0x387fe2(0x178)]=0xa]=_0x387fe2(0x178),_0x57709a[_0x57709a['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x387fe2(0x28d),_0x57709a[_0x57709a[_0x387fe2(0x30d)]=0xc]=_0x387fe2(0x30d),_0x57709a[_0x57709a[_0x387fe2(0x2c6)]=0xd]=_0x387fe2(0x2c6),_0x57709a[_0x57709a[_0x387fe2(0x199)]=0xe]=_0x387fe2(0x199),_0x57709a[_0x57709a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x387fe2(0x2f3),_0x57709a[_0x57709a[_0x387fe2(0x2aa)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x57709a[_0x57709a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x387fe2(0x312),_0x57709a[_0x57709a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x387fe2(0x369),_0x57709a[_0x57709a[_0x387fe2(0x197)]=0x1b59]=_0x387fe2(0x197),_0x57709a[_0x57709a[_0x387fe2(0x1d6)]=0x1b5a]=_0x387fe2(0x1d6),_0x57709a[_0x57709a[_0x387fe2(0x321)]=0x1b5b]=_0x387fe2(0x321),_0x57709a[_0x57709a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x387fe2(0x3c4),_0x57709a[_0x57709a[_0x387fe2(0x183)]=0x1b5d]='APPLY_DUPLICATED',_0x57709a[_0x57709a[_0x387fe2(0x2fc)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x57709a[_0x57709a[_0x387fe2(0x385)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x57709a[_0x57709a[_0x387fe2(0xb0)]=0x232a]=_0x387fe2(0xb0),_0x57709a[_0x57709a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x387fe2(0x3a1),_0x57709a[_0x57709a[_0x387fe2(0x26d)]=0x232c]=_0x387fe2(0x26d),_0x57709a[_0x57709a[_0x387fe2(0x129)]=0x232d]=_0x387fe2(0x129),_0x57709a[_0x57709a[_0x387fe2(0x207)]=0x2711]=_0x387fe2(0x207),_0x57709a[_0x57709a[_0x387fe2(0xc5)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x57709a[_0x57709a['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x57709a[_0x57709a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x57709a[_0x57709a[_0x387fe2(0x2d1)]=0x271a]=_0x387fe2(0x2d1),_0x57709a[_0x57709a[_0x387fe2(0x24f)]=0x271b]=_0x387fe2(0x24f),_0x57709a[_0x57709a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x387fe2(0xcf),_0x57709a[_0x57709a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x387fe2(0x347),_0x57709a[_0x57709a[_0x387fe2(0x33b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x57709a[_0x57709a[_0x387fe2(0x3ec)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x57709a[_0x57709a[_0x387fe2(0xd9)]=0x2720]=_0x387fe2(0xd9),_0x57709a[_0x57709a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x387fe2(0x261),_0x57709a[_0x57709a[_0x387fe2(0x104)]=0x2ee1]=_0x387fe2(0x104),_0x57709a[_0x57709a[_0x387fe2(0x11a)]=0x2ee2]=_0x387fe2(0x11a),_0x57709a[_0x57709a[_0x387fe2(0x103)]=0x2ee3]=_0x387fe2(0x103),_0x57709a[_0x57709a[_0x387fe2(0x2f4)]=0x2ee4]=_0x387fe2(0x2f4),_0x57709a[_0x57709a[_0x387fe2(0x1a4)]=0x2ee5]=_0x387fe2(0x1a4),_0x57709a[_0x57709a[_0x387fe2(0x1f0)]=0x32c9]=_0x387fe2(0x1f0),_0x57709a[_0x57709a[_0x387fe2(0x266)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x57709a[_0x57709a[_0x387fe2(0x13b)]=0x32cb]=_0x387fe2(0x13b),_0x57709a[_0x57709a[_0x387fe2(0xb9)]=-0x1]='UNRECOGNIZED',_0x57709a))(dt||{}),J=(_0x49fc58=>(_0x49fc58[_0x49fc58[_0x387fe2(0x13c)]=0x0]='UNIVER_UNKNOWN',_0x49fc58[_0x49fc58[_0x387fe2(0x2a5)]=0x1]=_0x387fe2(0x2a5),_0x49fc58[_0x49fc58[_0x387fe2(0x107)]=0x2]='UNIVER_SHEET',_0x49fc58[_0x49fc58[_0x387fe2(0x2a3)]=0x3]='UNIVER_SLIDE',_0x49fc58[_0x49fc58[_0x387fe2(0x12b)]=0x4]=_0x387fe2(0x12b),_0x49fc58[_0x49fc58[_0x387fe2(0xb9)]=-0x1]=_0x387fe2(0xb9),_0x49fc58))(J||{}),W=(_0x228794=>(_0x228794[_0x228794[_0x387fe2(0x345)]=0x0]=_0x387fe2(0x345),_0x228794[_0x228794[_0x387fe2(0x244)]=0x1]=_0x387fe2(0x244),_0x228794[_0x228794[_0x387fe2(0x1f5)]=0x2]='JOIN',_0x228794[_0x228794[_0x387fe2(0x2e2)]=0x3]=_0x387fe2(0x2e2),_0x228794[_0x228794[_0x387fe2(0x403)]=0x4]=_0x387fe2(0x403),_0x228794[_0x228794[_0x387fe2(0x2d7)]=0x5]=_0x387fe2(0x2d7),_0x228794[_0x228794[_0x387fe2(0x281)]=0x6]='RECV',_0x228794[_0x228794[_0x387fe2(0xb9)]=-0x1]='UNRECOGNIZED',_0x228794))(W||{}),se=(_0x14b11f=>(_0x14b11f[_0x14b11f[_0x387fe2(0x17a)]=0x0]=_0x387fe2(0x17a),_0x14b11f[_0x14b11f['OK']=0x1]='OK',_0x14b11f[_0x14b11f[_0x387fe2(0x356)]=0x2]=_0x387fe2(0x356),_0x14b11f[_0x14b11f[_0x387fe2(0x3d1)]=0x3e9]=_0x387fe2(0x3d1),_0x14b11f[_0x14b11f[_0x387fe2(0x198)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x14b11f[_0x14b11f[_0x387fe2(0x406)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x14b11f[_0x14b11f[_0x387fe2(0x120)]=0x3ec]=_0x387fe2(0x120),_0x14b11f[_0x14b11f[_0x387fe2(0xb9)]=-0x1]=_0x387fe2(0xb9),_0x14b11f))(se||{}),vt=(_0x4d1504=>(_0x4d1504[_0x4d1504['Undefined']=0x0]=_0x387fe2(0x242),_0x4d1504[_0x4d1504[_0x387fe2(0x3d3)]=0x1]=_0x387fe2(0x3d3),_0x4d1504[_0x4d1504[_0x387fe2(0x17d)]=0x2]='HttpExport',_0x4d1504[_0x4d1504[_0x387fe2(0x3a8)]=0x3]=_0x387fe2(0x3a8),_0x4d1504[_0x4d1504['UnitSnapshot']=0x4]='UnitSnapshot',_0x4d1504[_0x4d1504['UserProfileImg']=0x5]=_0x387fe2(0x125),_0x4d1504[_0x4d1504[_0x387fe2(0xb9)]=-0x1]=_0x387fe2(0xb9),_0x4d1504))(vt||{});const Y='collaboration-client.config',Bt={};var Z=(_0x5530a1=>(_0x5530a1[_0x387fe2(0x1ad)]=_0x387fe2(0x1ad),_0x5530a1[_0x387fe2(0x324)]=_0x387fe2(0x324),_0x5530a1[_0x387fe2(0x3f9)]='CONFLICT',_0x5530a1[_0x387fe2(0xf5)]=_0x387fe2(0xf5),_0x5530a1[_0x387fe2(0x141)]='JOIN_ROOM_FAILED',_0x5530a1[_0x387fe2(0x363)]='SOCKET_FAILED_RETRY',_0x5530a1['SOCKET_FAILED']=_0x387fe2(0x325),_0x5530a1[_0x387fe2(0x294)]=_0x387fe2(0x294),_0x5530a1))(Z||{});class ee{constructor(){var _0xb81e76=_0x387fe2;A(this,_0xb81e76(0x173),new H[(_0xb81e76(0x2e1))]()),A(this,_0xb81e76(0xbb),this['_event$'][_0xb81e76(0x37f)]());}[_0x387fe2(0x3ea)](_0x287ac3){this['_event$']['next'](_0x287ac3);}}const St=a[_0x387fe2(0x333)](_0x387fe2(0x1d2));function ft(_0x576498){var _0x32cae2=_0x387fe2,_0x1682fc,_0x5e26a0,_0x473788,_0x439cce,_0x1604f1;const _0x4a1be7=_0x576498['data'],_0x3b4148=JSON[_0x32cae2(0x3aa)](_0x4a1be7);switch(_0x3b4148[_0x32cae2(0x159)]){case W[_0x32cae2(0x2d7)]:case W['HELLO']:{const _0x3775cf=_0x3b4148['infoRsp'];return{..._0x3b4148,'data':_0x3775cf,'cmd':_0x3b4148[_0x32cae2(0x159)]};}case W[_0x32cae2(0x1f5)]:{const _0x56b16c=_0x3b4148[_0x32cae2(0x1c6)];return{..._0x3b4148,'data':_0x56b16c,'cmd':_0x3b4148[_0x32cae2(0x159)]};}case W[_0x32cae2(0x281)]:{const _0x583d90=_0x3b4148[_0x32cae2(0x375)];switch(_0x583d90[_0x32cae2(0x2d5)]){case p[_0x32cae2(0x184)][_0x32cae2(0x337)]:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x1682fc=_0x583d90[_0x32cae2(0x408)])==null?void 0x0:_0x1682fc['cs']},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p['CollaborationEvent'][_0x32cae2(0x211)]:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x5e26a0=_0x583d90[_0x32cae2(0x346)])==null?void 0x0:_0x5e26a0['cs']},'cmd':_0x3b4148['cmd']};case p[_0x32cae2(0x184)][_0x32cae2(0x245)]:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x473788=_0x583d90[_0x32cae2(0xf7)])==null?void 0x0:_0x473788['cs']},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)]['CHANGESET_REJ']:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x439cce=_0x583d90['csRejEvent'])==null?void 0x0:_0x439cce['cs']},'cmd':_0x3b4148['cmd']};case p['CollaborationEvent'][_0x32cae2(0x1b8)]:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x1604f1=_0x583d90[_0x32cae2(0x388)])==null?void 0x0:_0x1604f1['cs']},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)]['UPDATE_CURSOR']:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x378)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)]['USERS_ENTER']:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x1e3)]},'cmd':_0x3b4148['cmd']};case p[_0x32cae2(0x184)][_0x32cae2(0xa9)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x132)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x380)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x2eb)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x249)]:case p[_0x32cae2(0x184)]['LIVESHARE_OPERATION']:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x1ae)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x19f)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90['liveShareNewHost']},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x163)]:return{..._0x3b4148,'data':_0x583d90,'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x1a8)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0xd7)]},'cmd':_0x3b4148['cmd']};case p[_0x32cae2(0x184)][_0x32cae2(0x2b2)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x2f7)]},'cmd':_0x3b4148['cmd']};case p[_0x32cae2(0x184)][_0x32cae2(0x13d)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x188)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x18c)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x137)]},'cmd':_0x3b4148['cmd']};default:return _0x3b4148;}}default:return _0x3b4148;}}function It(_0x1713f7){var _0x30517e=_0x387fe2;switch(_0x1713f7[_0x30517e(0x159)]){case W[_0x30517e(0x2d7)]:case W[_0x30517e(0x244)]:return JSON[_0x30517e(0xe1)]({'cmd':_0x1713f7[_0x30517e(0x159)],'routeKey':_0x1713f7[_0x30517e(0x33a)]});case W[_0x30517e(0x403)]:{let _0x46096f;switch(_0x1713f7[_0x30517e(0xa4)]['eventID']){case p[_0x30517e(0x184)][_0x30517e(0xc7)]:{_0x46096f={'eventID':p['CollaborationEvent'][_0x30517e(0xc7)],'updateCursorEvent':_0x1713f7[_0x30517e(0xa4)][_0x30517e(0xa4)]};break;}case p['CollaborationEvent'][_0x30517e(0xa9)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0xa9)],'leaveEvent':_0x1713f7[_0x30517e(0xa4)][_0x30517e(0xa4)]};break;}case p[_0x30517e(0x184)]['USERS_ENTER']:{_0x46096f={'eventID':p['CollaborationEvent'][_0x30517e(0x3c5)],'joinEvent':_0x1713f7[_0x30517e(0xa4)]['data']};break;}case p[_0x30517e(0x184)][_0x30517e(0x380)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0x380)],'liveShareNewHost':_0x1713f7['data']['data']};break;}case p[_0x30517e(0x184)][_0x30517e(0x1c5)]:{_0x46096f={'eventID':p[_0x30517e(0x184)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x1713f7[_0x30517e(0xa4)][_0x30517e(0xa4)]};break;}case p['CollaborationEvent'][_0x30517e(0x19f)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0x19f)],'liveShareTerminate':_0x1713f7[_0x30517e(0xa4)][_0x30517e(0xa4)]};break;}case p[_0x30517e(0x184)][_0x30517e(0x217)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0x217)],'liveShareRequestHost':_0x1713f7['data'][_0x30517e(0xa4)]};break;}case p['CollaborationEvent'][_0x30517e(0x249)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0x249)]};break;}default:_0x46096f={'eventID':_0x1713f7['data'][_0x30517e(0x2d5)]};}return JSON[_0x30517e(0xe1)]({'cmd':_0x1713f7[_0x30517e(0x159)],'routeKey':_0x1713f7[_0x30517e(0x33a)],'collaMsg':_0x46096f});}case W[_0x30517e(0x1f5)]:return JSON[_0x30517e(0xe1)]({'cmd':_0x1713f7[_0x30517e(0x159)],'routeKey':_0x1713f7[_0x30517e(0x33a)],'joinReq':_0x1713f7[_0x30517e(0xa4)]});case W['LEAVE']:return JSON[_0x30517e(0xe1)]({'cmd':_0x1713f7[_0x30517e(0x159)],'routeKey':_0x1713f7['routeKey'],'leaveReq':_0x1713f7[_0x30517e(0xa4)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ft=Object[_0x387fe2(0xff)],Vt=(_0x186ef3,_0x15bd87,_0x2f2010,_0x7649c)=>{var _0x504ef0=_0x387fe2;for(var _0x8b5f26=_0x7649c>0x1?void 0x0:_0x7649c?Ft(_0x15bd87,_0x2f2010):_0x15bd87,_0x39cc18=_0x186ef3[_0x504ef0(0x2b4)]-0x1,_0x22cb25;_0x39cc18>=0x0;_0x39cc18--)(_0x22cb25=_0x186ef3[_0x39cc18])&&(_0x8b5f26=_0x22cb25(_0x8b5f26)||_0x8b5f26);return _0x8b5f26;},_e=(_0x211486,_0x2da2d8)=>(_0x447c2d,_0x4e59b4)=>_0x2da2d8(_0x447c2d,_0x4e59b4,_0x211486);const $e=a['createIdentifier'](_0x387fe2(0x2c4));function Wt(_0x5e2783,_0x289d90,_0x4013c0){var _0xedecff=_0x387fe2;return _0x5e2783+'/'+_0x289d90+_0xedecff(0x150)+_0x4013c0+_0xedecff(0x182);}exports['CollaborationSocketService']=class extends a[_0x387fe2(0x1ee)]{constructor(_0x2402b3,_0x1e95cb,_0x56bb89,_0x5d600a,_0x5aadb7){var _0x3fc851=_0x387fe2;super(),this[_0x3fc851(0x285)]=_0x2402b3,this[_0x3fc851(0x3da)]=_0x1e95cb,this[_0x3fc851(0x3a0)]=_0x56bb89,this[_0x3fc851(0x1c3)]=_0x5d600a,this[_0x3fc851(0x34e)]=_0x5aadb7;}[_0x387fe2(0x130)](_0x10eaae){var _0x54738d=_0x387fe2;const _0x8f714e=this[_0x54738d(0x285)][_0x54738d(0x12a)](q['ISocketService']);if(!_0x8f714e)throw new Error(_0x54738d(0x35b));const _0x1a3068=_0x8f714e[_0x54738d(0x2cf)](_0x10eaae);if(!_0x1a3068)throw new Error(_0x54738d(0x29a));const _0x564f65=new a[(_0x54738d(0x331))](),_0x15a33d=new H['Subject']();_0x564f65[_0x54738d(0x2f0)](_0x1a3068[_0x54738d(0x1c8)][_0x54738d(0x3a3)](_0x3351c4=>_0x15a33d['next'](_0x3351c4))),_0x564f65['add'](a[_0x54738d(0x2df)](()=>_0x15a33d[_0x54738d(0x22b)]()));const _0x326c5f=new H[(_0x54738d(0x2e1))]();_0x564f65[_0x54738d(0x2f0)](_0x1a3068[_0x54738d(0xb6)]['subscribe'](_0x24d749=>_0x326c5f[_0x54738d(0x1dc)](_0x24d749))),_0x564f65[_0x54738d(0x2f0)](a[_0x54738d(0x2df)](()=>_0x326c5f['complete']()));const _0x4bb18a=new H[(_0x54738d(0x2e1))]();_0x564f65[_0x54738d(0x2f0)](_0x1a3068[_0x54738d(0x10d)][_0x54738d(0x3a3)](_0x91858f=>{var _0xcf597=_0x54738d;const _0x305389=ft(_0x91858f);_0x4bb18a[_0xcf597(0x1dc)](_0x305389);})),_0x564f65['add'](a[_0x54738d(0x2df)](()=>_0x4bb18a[_0x54738d(0x22b)]()));let _0x3fc17b;const _0x201f50=()=>{var _0x1023ff=_0x54738d;_0x326c5f[_0x1023ff(0x1dc)](new Event(_0x1023ff(0x24c))),_0x15a33d[_0x1023ff(0x1dc)](new Event(_0x1023ff(0x24c))),_0x3fc17b['close']();};return _0x3fc17b={'memberID':'','close$':_0x15a33d[_0x54738d(0x37f)](),'error$':_0x326c5f['asObservable'](),'open$':_0x1a3068['open$'],'message$':_0x4bb18a[_0x54738d(0x37f)](),'send':_0x3cc0f8=>{var _0xe94f44=_0x54738d;if(_0x3cc0f8['cmd']===W[_0xe94f44(0x403)]){if(_0x3cc0f8[_0xe94f44(0xa4)][_0xe94f44(0x2d5)]===p['CollaborationEvent'][_0xe94f44(0x140)]){this[_0xe94f44(0x241)](_0x3fc17b,_0x3cc0f8['data'])[_0xe94f44(0x224)](_0x336d3c=>{var _0x28f771=_0xe94f44;this['_logService'][_0x28f771(0x305)](_0x336d3c),_0x201f50();});return;}if(_0x3cc0f8[_0xe94f44(0xa4)][_0xe94f44(0x2d5)]===p[_0xe94f44(0x184)][_0xe94f44(0x1db)]){const _0x32bf62=_0x3cc0f8[_0xe94f44(0xa4)];this[_0xe94f44(0x203)](_0x32bf62)[_0xe94f44(0xcc)](_0x3f8dc4=>{var _0x329e04=_0xe94f44;_0x4bb18a[_0x329e04(0x1dc)]({'cmd':W[_0x329e04(0x281)],'code':se['OK'],'routeKey':_0x32bf62[_0x329e04(0xa4)][_0x329e04(0x287)],'routeType':'','data':{'eventID':p['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3f8dc4}}});})[_0xe94f44(0x224)](_0x295531=>{var _0xb23585=_0xe94f44;this[_0xb23585(0x1c3)][_0xb23585(0x305)](_0x295531),_0x201f50();});return;}}_0x1a3068[_0xe94f44(0x34b)](It(_0x3cc0f8));},'close':()=>{var _0x32045a=_0x54738d;_0x1a3068[_0x32045a(0x37c)](),_0x564f65[_0x32045a(0x32a)]();}},_0x3fc17b;}async[_0x387fe2(0x241)](_0x10dd8a,_0x2ae1e7){var _0x37a299=_0x387fe2,_0x9934ea;const {unitType:_0xfbbe3c,unitID:_0x5b6de9,changeset:_0x4f3a26}=_0x2ae1e7['data'],_0x1bcd65={'unitID':_0x5b6de9,'memberID':_0x10dd8a[_0x37a299(0x218)],'type':_0xfbbe3c,'changeset':p[_0x37a299(0x30a)](_0x4f3a26)},_0x18998d=this[_0x37a299(0x3a0)][_0x37a299(0x19c)](Y),_0x34fd7f=Wt((_0x9934ea=_0x18998d==null?void 0x0:_0x18998d[_0x37a299(0x2fd)])!=null?_0x9934ea:kt,_0xfbbe3c,_0x5b6de9);try{await this[_0x37a299(0x3da)][_0x37a299(0x1b6)](_0x34fd7f,{'body':_0x1bcd65});}catch(_0x41fdc5){throw this['_logService'][_0x37a299(0x305)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x41fdc5;}}async[_0x387fe2(0x203)](_0x63d9ac){var _0x51c50d=_0x387fe2;const {unitID:_0x3b732b,from:_0x8e23b0,to:_0x2e486f,unitType:_0x424a56}=_0x63d9ac[_0x51c50d(0xa4)];return(await this[_0x51c50d(0x34e)][_0x51c50d(0xd6)]({'metadata':void 0x0},{'unitID':_0x3b732b,'type':_0x424a56,'from':_0x8e23b0,'to':_0x2e486f}))['changesets'];}},exports[_0x387fe2(0x1ce)]=Vt([_e(0x0,a['Inject'](a[_0x387fe2(0x272)])),_e(0x1,a[_0x387fe2(0x25f)](q[_0x387fe2(0x10b)])),_e(0x2,a[_0x387fe2(0x3b6)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x387fe2(0x2e4)])],exports['CollaborationSocketService']);const Gt='collaboration_new_changeset';function Yt(_0x130dd6){var _0x555318=_0x387fe2;return JSON[_0x555318(0xe1)](_0x130dd6)[_0x555318(0x2b4)];}class He{constructor(){var _0x38ba16=_0x387fe2;A(this,_0x38ba16(0x27b),new H[(_0x38ba16(0x2e1))]()),A(this,_0x38ba16(0x3cc),this[_0x38ba16(0x27b)][_0x38ba16(0x37f)]());}[_0x387fe2(0x330)](_0x197cea){this['_commentUpdate$']['next'](_0x197cea);}}var qt=Object[_0x387fe2(0xff)],Kt=(_0x1ee783,_0x45c281,_0x5e0b22,_0x23998f)=>{var _0xf3c4e=_0x387fe2;for(var _0x478f9e=_0x23998f>0x1?void 0x0:_0x23998f?qt(_0x45c281,_0x5e0b22):_0x45c281,_0x296c62=_0x1ee783[_0xf3c4e(0x2b4)]-0x1,_0x72bcb8;_0x296c62>=0x0;_0x296c62--)(_0x72bcb8=_0x1ee783[_0x296c62])&&(_0x478f9e=_0x72bcb8(_0x478f9e)||_0x478f9e);return _0x478f9e;},Ve=(_0x2b9955,_0x5678a9)=>(_0x2a6a0a,_0x505cad)=>_0x5678a9(_0x2a6a0a,_0x505cad,_0x2b9955);exports[_0x387fe2(0xf6)]=class extends a[_0x387fe2(0x1ee)]{constructor(_0x14526f,_0x331b44){var _0x579763=_0x387fe2;super(),A(this,_0x579763(0x3e2),new Map()),A(this,'_roomCreated$',new H['Subject']()),(this[_0x579763(0x396)]=_0x14526f,this[_0x579763(0x3ca)]=_0x331b44,this[_0x579763(0xbc)](H['merge'](this[_0x579763(0x396)][_0x579763(0x3ef)](a[_0x579763(0xc9)][_0x579763(0x107)])[_0x579763(0x3cd)](V[_0x579763(0xf0)](_0x3b0738=>_0x3b0738[_0x579763(0x195)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x579763(0xc9)]['UNIVER_DOC'])[_0x579763(0x3cd)](V['map'](_0x3ce76b=>_0x3ce76b['getUnitId']())),this[_0x579763(0x396)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](V['map'](_0x34398a=>_0x34398a[_0x579763(0x195)]())))[_0x579763(0x3a3)](_0x31bb60=>this[_0x579763(0xdb)](_0x31bb60))));}['waitForRoom$'](_0x7e971e){var _0x374895=_0x387fe2;return this[_0x374895(0x3e2)][_0x374895(0x2b1)](_0x7e971e)?H['of'](this[_0x374895(0x3e2)][_0x374895(0x12a)](_0x7e971e)):this['_roomCreated$']['pipe'](V[_0x374895(0xf0)](_0x1d272f=>{var _0x23fa03=_0x374895;if(_0x1d272f===_0x7e971e)return this[_0x23fa03(0x3e2)]['get'](_0x1d272f);}));}[_0x387fe2(0x252)](_0x298b74){var _0x20b567=_0x387fe2;this[_0x20b567(0x3ca)][_0x20b567(0x252)](_0x298b74);}[_0x387fe2(0x15c)](){var _0x36f9ad=_0x387fe2;return this[_0x36f9ad(0x3ca)][_0x36f9ad(0x15c)]();}['updateMember'](_0x15e634,_0x213735){var _0x580516=_0x387fe2;let _0x853427=this['_roomMembers'][_0x580516(0x12a)](_0x15e634);_0x853427||(_0x853427=new zt(),this[_0x580516(0x3e2)][_0x580516(0x1b1)](_0x15e634,_0x853427),this['_roomCreated$'][_0x580516(0x1dc)](_0x15e634)),_0x853427[_0x580516(0x20f)](_0x213735);}[_0x387fe2(0x162)](_0x22454e,_0x55f157){var _0x4d2fe2=_0x387fe2;const _0x56f44d=this[_0x4d2fe2(0x3e2)][_0x4d2fe2(0x12a)](_0x22454e);_0x56f44d&&_0x56f44d['removeMember'](_0x55f157);}['getRoom'](_0x4f121a){var _0x54d953=_0x387fe2;return this[_0x54d953(0x3e2)]['get'](_0x4f121a);}[_0x387fe2(0x31b)](_0x54ea8f,_0x544145){var _0x273a07=_0x387fe2;const _0x7d0acb=this['_roomMembers'][_0x273a07(0x12a)](_0x54ea8f);if(_0x7d0acb)return _0x7d0acb[_0x273a07(0x31b)](_0x544145);}[_0x387fe2(0xdb)](_0x5ba186){var _0x2267b7=_0x387fe2;const _0x45efb8=this[_0x2267b7(0x3e2)][_0x2267b7(0x12a)](_0x5ba186);_0x45efb8&&(_0x45efb8[_0x2267b7(0x32a)](),this[_0x2267b7(0x3e2)]['delete'](_0x5ba186));}['dispose'](){var _0x5e1b11=_0x387fe2;this[_0x5e1b11(0x3e2)][_0x5e1b11(0x138)](_0x425799=>_0x425799[_0x5e1b11(0x32a)]()),this[_0x5e1b11(0x3e2)][_0x5e1b11(0x1e7)](),this[_0x5e1b11(0x27a)]['complete']();}},exports[_0x387fe2(0xf6)]=Kt([Ve(0x0,a[_0x387fe2(0x31c)]),Ve(0x1,a[_0x387fe2(0x25f)](a['UserManagerService']))],exports[_0x387fe2(0xf6)]);class zt extends a['Disposable']{constructor(){var _0x37c012=_0x387fe2;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new H[(_0x37c012(0x2bf))](this[_0x37c012(0x1d1)])),A(this,_0x37c012(0x180),this[_0x37c012(0x31f)][_0x37c012(0x37f)]());}[_0x387fe2(0x32a)](){var _0x4c73ec=_0x387fe2;this[_0x4c73ec(0x1d1)]['clear']();}['updateMember'](_0x3a4a15){var _0x5def18=_0x387fe2;this[_0x5def18(0x1d1)][_0x5def18(0x1b1)](_0x3a4a15[_0x5def18(0x218)],_0x3a4a15),this[_0x5def18(0x12d)]();}[_0x387fe2(0x162)](_0x1d9e90){var _0x398c81=_0x387fe2;this[_0x398c81(0x1d1)][_0x398c81(0x25c)](_0x1d9e90);}[_0x387fe2(0x31b)](_0x43cefa){var _0x41d7ef=_0x387fe2;return this[_0x41d7ef(0x1d1)]['get'](_0x43cefa);}[_0x387fe2(0x128)](){var _0x177632=_0x387fe2;return Array[_0x177632(0x10a)](this[_0x177632(0x1d1)][_0x177632(0x100)]());}[_0x387fe2(0x12d)](){var _0x1e0689=_0x387fe2;this[_0x1e0689(0x31f)]['next'](this[_0x1e0689(0x1d1)]);}}var Jt=Object[_0x387fe2(0xff)],Xt=(_0x100fb0,_0x582386,_0x5c5170,_0x2361e3)=>{var _0x3bc679=_0x387fe2;for(var _0x5ae394=_0x2361e3>0x1?void 0x0:_0x2361e3?Jt(_0x582386,_0x5c5170):_0x582386,_0x254c15=_0x100fb0[_0x3bc679(0x2b4)]-0x1,_0x17fef1;_0x254c15>=0x0;_0x254c15--)(_0x17fef1=_0x100fb0[_0x254c15])&&(_0x5ae394=_0x17fef1(_0x5ae394)||_0x5ae394);return _0x5ae394;},ce=(_0x49239b,_0x37dc6)=>(_0x27ca9a,_0x18158d)=>_0x37dc6(_0x27ca9a,_0x18158d,_0x49239b),re=(_0x26b536=>(_0x26b536[_0x26b536[_0x387fe2(0x273)]=0x0]=_0x387fe2(0x273),_0x26b536[_0x26b536[_0x387fe2(0x30c)]=0x1]=_0x387fe2(0x30c),_0x26b536[_0x26b536[_0x387fe2(0x193)]=0x2]=_0x387fe2(0x193),_0x26b536[_0x26b536['ONLINE']=0x3]=_0x387fe2(0x26f),_0x26b536))(re||{});const We={[se['FAIL']]:_0x387fe2(0xac),[se[_0x387fe2(0x3d1)]]:'session.room-full',[se[_0x387fe2(0x198)]]:_0x387fe2(0x2ca),[se['JOIN_ROOM_PERMISSION_DENIED']]:_0x387fe2(0xef),[se[_0x387fe2(0x120)]]:_0x387fe2(0xd2)};exports[_0x387fe2(0xfc)]=class extends a[_0x387fe2(0x41a)]{constructor(_0x3232bd,_0x36d453,_0x4ae02c,_0x5686f7,_0x22db0a,_0x395ee4,_0x82016f,_0x4e57cc){var _0x15f3db=_0x387fe2;super(),A(this,_0x15f3db(0x237),new H[(_0x15f3db(0x2bf))](0x0)),A(this,_0x15f3db(0xaf),this[_0x15f3db(0x237)][_0x15f3db(0x37f)]()),A(this,_0x15f3db(0x173),new H['Subject']()),A(this,'event$',this[_0x15f3db(0x173)][_0x15f3db(0x37f)]()),A(this,_0x15f3db(0xc0)),A(this,_0x15f3db(0x20b)),A(this,'_collaborationTimeoutTimer'),A(this,_0x15f3db(0x414),!0x1),A(this,_0x15f3db(0x168),null),(this[_0x15f3db(0x36e)]=_0x3232bd,this[_0x15f3db(0x1c3)]=_0x4ae02c,this[_0x15f3db(0x3a0)]=_0x5686f7,this[_0x15f3db(0x22a)]=_0x22db0a,this[_0x15f3db(0x38a)]=_0x395ee4,this[_0x15f3db(0x2e8)]=_0x82016f,this['_telemetryService']=_0x4e57cc,this['_shouldReportTelemetry']=!!this[_0x15f3db(0x1d8)],_0x36d453[_0x15f3db(0x3cd)](H[_0x15f3db(0x1bd)](this[_0x15f3db(0xc3)]))[_0x15f3db(0x3a3)](_0x59795a=>{var _0x1ab44d=_0x15f3db,_0x299846;typeof _0x59795a>'u'||(this[_0x1ab44d(0xc0)]=_0x59795a,_0x59795a?(this[_0x1ab44d(0x15f)](_0x59795a),this[_0x1ab44d(0x20b)]=_0x59795a[_0x1ab44d(0x10d)][_0x1ab44d(0x3a3)](_0x53143a=>{var _0x5e86f5=_0x1ab44d;_0x53143a[_0x5e86f5(0x33a)]===this['_unitID']&&this[_0x5e86f5(0x1fe)](_0x53143a);})):(this[_0x1ab44d(0x2b6)](),this[_0x1ab44d(0x237)][_0x1ab44d(0x1dc)](0x2),(_0x299846=this[_0x1ab44d(0x20b)])==null||_0x299846[_0x1ab44d(0x2a0)](),this[_0x1ab44d(0x20b)]=null));}));}get[_0x387fe2(0xf8)](){var _0x270f2f=_0x387fe2;return this[_0x270f2f(0x237)][_0x270f2f(0x283)]();}[_0x387fe2(0x2b0)](){var _0x2558ae=_0x387fe2,_0x231695,_0x1f7c4a;return(_0x1f7c4a=(_0x231695=this[_0x2558ae(0xc0)])==null?void 0x0:_0x231695[_0x2558ae(0x218)])!=null?_0x1f7c4a:null;}[_0x387fe2(0x32a)](){var _0x1488de=_0x387fe2;super[_0x1488de(0x32a)](),this[_0x1488de(0xc3)]['next'](),this[_0x1488de(0xc3)][_0x1488de(0x22b)]();}[_0x387fe2(0x37c)](){var _0x2a34ee=_0x387fe2,_0x292906,_0x143aa4;this[_0x2a34ee(0x2b6)](),(_0x292906=this[_0x2a34ee(0xc0)])==null||_0x292906['send']({'cmd':W[_0x2a34ee(0x2e2)],'data':{'roomID':this['_unitID']}}),(_0x143aa4=this['_socket'])==null||_0x143aa4[_0x2a34ee(0x37c)](),this['_event$'][_0x2a34ee(0x22b)](),this['_sessionStatus$']['complete'](),this[_0x2a34ee(0x32a)]();}[_0x387fe2(0x1fe)](_0x3d0ae7){var _0xdb6604=_0x387fe2;_0x3d0ae7['cmd']===W[_0xdb6604(0x1f5)]?this[_0xdb6604(0x2b3)](_0x3d0ae7):_0x3d0ae7[_0xdb6604(0x159)]===W[_0xdb6604(0x281)]&&this['_onRecvEvent'](_0x3d0ae7);}[_0x387fe2(0x15f)](_0x1ff7ef){var _0x26fd75=_0x387fe2;this['_sessionStatus$'][_0x26fd75(0x1dc)](0x1),_0x1ff7ef[_0x26fd75(0x34b)]({'cmd':W[_0x26fd75(0x1f5)],'routeKey':this[_0x26fd75(0x36e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x26fd75(0x36e)]}]}});}[_0x387fe2(0x2b3)](_0x52349e){var _0xa69417=_0x387fe2,_0x205c57;if(_0x52349e[_0xa69417(0xca)]in We){this[_0xa69417(0x2e8)]['emitEvent']({'id':Z[_0xa69417(0x141)],'data':We[_0x52349e[_0xa69417(0xca)]]}),this[_0xa69417(0x237)][_0xa69417(0x1dc)](0x2);return;}this[_0xa69417(0x237)]['next'](0x3);const _0x1f24ce=(_0x205c57=_0x52349e['data'][_0xa69417(0x13a)][this[_0xa69417(0x36e)]])==null?void 0x0:_0x205c57[_0xa69417(0x322)];_0x1f24ce&&_0x1f24ce[_0xa69417(0x138)](_0x515178=>this[_0xa69417(0x22a)][_0xa69417(0x20f)](this[_0xa69417(0x36e)],_0x515178));}[_0x387fe2(0x358)](_0x41e062){var _0x2f7fdb=_0x387fe2;try{const _0x3c228b=_0x41e062[_0x2f7fdb(0xa4)];switch(_0x3c228b['eventID']){case p[_0x2f7fdb(0x184)]['USERS_ENTER']:this[_0x2f7fdb(0x232)](_0x3c228b),this['_event$'][_0x2f7fdb(0x1dc)](_0x3c228b);break;case p[_0x2f7fdb(0x184)][_0x2f7fdb(0xa9)]:this[_0x2f7fdb(0x368)](_0x3c228b),this[_0x2f7fdb(0x173)]['next'](_0x3c228b);break;case p[_0x2f7fdb(0x184)]['CHANGESET_ACK']:case p[_0x2f7fdb(0x184)][_0x2f7fdb(0x1b8)]:this[_0x2f7fdb(0x1ff)](),this[_0x2f7fdb(0x41b)](),this[_0x2f7fdb(0x173)][_0x2f7fdb(0x1dc)](_0x3c228b);break;case p[_0x2f7fdb(0x184)][_0x2f7fdb(0x163)]:this[_0x2f7fdb(0x1c3)]['error'](_0x2f7fdb(0x3c2)+JSON[_0x2f7fdb(0xe1)](_0x3c228b)),this[_0x2f7fdb(0x173)][_0x2f7fdb(0x1dc)](_0x3c228b);break;case p['CollaborationEvent'][_0x2f7fdb(0x1a8)]:this[_0x2f7fdb(0x38a)][_0x2f7fdb(0x330)](_0x3c228b[_0x2f7fdb(0xa4)]),this[_0x2f7fdb(0x173)][_0x2f7fdb(0x1dc)](_0x3c228b);break;default:this[_0x2f7fdb(0x173)]['next'](_0x3c228b);}}catch(_0x451f53){this[_0x2f7fdb(0x1c3)][_0x2f7fdb(0x305)](_0x451f53,_0x41e062);}}[_0x387fe2(0x232)](_0x1e8f04){var _0x1ce777=_0x387fe2;this[_0x1ce777(0x22a)][_0x1ce777(0x20f)](this[_0x1ce777(0x36e)],_0x1e8f04['data']);}[_0x387fe2(0x368)](_0x34602b){var _0x133d53=_0x387fe2;this[_0x133d53(0x22a)]['removeMember'](this[_0x133d53(0x36e)],_0x34602b[_0x133d53(0xa4)][_0x133d53(0x218)]);}async[_0x387fe2(0x34b)](_0x52a274,_0xb9f069){var _0x15f0a4=_0x387fe2;if(this[_0x15f0a4(0xf8)]!==0x3||!this[_0x15f0a4(0xc0)])throw new Error(_0x15f0a4(0x2a9));try{_0x52a274[_0x15f0a4(0x2d5)]===p[_0x15f0a4(0x184)][_0x15f0a4(0x140)]&&(this[_0x15f0a4(0x126)](),this['_startTelemetryCollaborationNewChangeset'](_0x52a274)),this[_0x15f0a4(0xc0)][_0x15f0a4(0x34b)]({'cmd':W['INGEST'],'routeKey':_0xb9f069,'routeType':'','data':_0x52a274});}catch(_0x48b821){this[_0x15f0a4(0x1c3)][_0x15f0a4(0x305)](_0x48b821);}}[_0x387fe2(0x126)](){var _0x2e4485=_0x387fe2,_0x174952;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x28a279=_0x2609;this[_0x28a279(0xfe)]=null,this[_0x28a279(0x2e8)][_0x28a279(0x3ea)]({'id':Z[_0x28a279(0x294)]});},(_0x174952=this[_0x2e4485(0x3a0)][_0x2e4485(0x19c)](ke))!=null?_0x174952:lt);}[_0x387fe2(0x41b)](){var _0x247460=_0x387fe2;this[_0x247460(0xfe)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x387fe2(0x3d6)](_0x10d639){var _0x50ffc2=_0x387fe2;if(!this[_0x50ffc2(0x414)])return;const {data:_0x2bd118}=_0x10d639,{unitID:_0x4c88ff,changeset:_0x24482f}=_0x2bd118,{mutations:_0x52df38,type:_0x440984}=_0x24482f;this['_telemetryInfo']={'unitId':_0x4c88ff,'type':_0x440984,'startTime':performance[_0x50ffc2(0xc8)](),'stopTime':0x0,'duration':0x0,'size':Yt(_0x52df38)};}[_0x387fe2(0x1ff)](){var _0x34fae4=_0x387fe2;if(this['_shouldReportTelemetry']){if(!this[_0x34fae4(0x168)]){this['_logService'][_0x34fae4(0x305)]('[CollaborationSession]',_0x34fae4(0x2ae));return;}this[_0x34fae4(0x168)]['stopTime']=performance['now'](),this[_0x34fae4(0x168)][_0x34fae4(0x123)]=this[_0x34fae4(0x168)]['stopTime']-this[_0x34fae4(0x168)]['startTime'],this[_0x34fae4(0x1d8)]['capture'](Gt,this[_0x34fae4(0x168)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1e4b1c=_0x387fe2;this[_0x1e4b1c(0x168)]=null;}},exports[_0x387fe2(0xfc)]=Xt([ce(0x2,a[_0x387fe2(0x2d9)]),ce(0x3,a[_0x387fe2(0x3b6)]),ce(0x4,a[_0x387fe2(0x25f)](exports[_0x387fe2(0xf6)])),ce(0x5,a[_0x387fe2(0x25f)](He)),ce(0x6,a[_0x387fe2(0x25f)](ee)),ce(0x7,a[_0x387fe2(0x209)](Rt[_0x387fe2(0x376)]))],exports['CollaborationSession']);var Zt=Object[_0x387fe2(0xff)],Qt=(_0x435380,_0x4ab859,_0x5b8ce8,_0x648d6f)=>{var _0x2b0198=_0x387fe2;for(var _0x1ba348=_0x648d6f>0x1?void 0x0:_0x648d6f?Zt(_0x4ab859,_0x5b8ce8):_0x4ab859,_0x28ddf5=_0x435380[_0x2b0198(0x2b4)]-0x1,_0x5d9715;_0x28ddf5>=0x0;_0x28ddf5--)(_0x5d9715=_0x435380[_0x28ddf5])&&(_0x1ba348=_0x5d9715(_0x1ba348)||_0x1ba348);return _0x1ba348;},he=(_0x498d02,_0x92e4cc)=>(_0x11c68f,_0xbe8d68)=>_0x92e4cc(_0x11c68f,_0xbe8d68,_0x498d02);exports[_0x387fe2(0x3e6)]=class extends a[_0x387fe2(0x1ee)]{constructor(_0x58fc74,_0x556651,_0x3c1867,_0x390b5d,_0x12daf1,_0x3e9f10){var _0x3c58ca=_0x387fe2;super(),A(this,'_socket$',new H[(_0x3c58ca(0x2bf))](void 0x0)),A(this,_0x3c58ca(0x235),this[_0x3c58ca(0x18f)]['asObservable']()),A(this,_0x3c58ca(0x196),null),A(this,_0x3c58ca(0x3ad),new Map()),A(this,_0x3c58ca(0x1e0),new H[(_0x3c58ca(0x2bf))](re[_0x3c58ca(0x273)])),A(this,_0x3c58ca(0x14f),this[_0x3c58ca(0x1e0)][_0x3c58ca(0x37f)]()),A(this,'_socketReady',!0x1),A(this,_0x3c58ca(0x3ba)),A(this,'_retryCount',0x0),A(this,_0x3c58ca(0x33e)),A(this,'_timeoutTimer'),(this[_0x3c58ca(0x285)]=_0x58fc74,this[_0x3c58ca(0x1c3)]=_0x556651,this['_configService']=_0x3c1867,this[_0x3c58ca(0x17b)]=_0x390b5d,this[_0x3c58ca(0x2e8)]=_0x12daf1,this['_networkConditionService']=_0x3e9f10,this[_0x3c58ca(0xb4)]());}get[_0x387fe2(0xc0)](){var _0x18c648=_0x387fe2;return this[_0x18c648(0x18f)][_0x18c648(0x283)]();}['_listenToNetworkCondition'](){var _0x182f2c=_0x387fe2;this[_0x182f2c(0xf4)]&&this[_0x182f2c(0xbc)](this['_networkConditionService'][_0x182f2c(0x36d)]['subscribe'](_0x1239ea=>{var _0x488e13=_0x182f2c;_0x1239ea&&!this[_0x488e13(0xc0)]&&this[_0x488e13(0x2a2)](),_0x1239ea||this[_0x488e13(0x40f)]();}));}[_0x387fe2(0x32a)](){var _0x582fd3=_0x387fe2;super[_0x582fd3(0x32a)](),this['_clearRetryConnectingTimer'](),this[_0x582fd3(0x2e9)](),this[_0x582fd3(0x39b)](),this[_0x582fd3(0x3ad)][_0x582fd3(0x138)](_0x276c9c=>_0x276c9c[_0x582fd3(0x32a)]()),this[_0x582fd3(0x3ad)][_0x582fd3(0x1e7)](),this[_0x582fd3(0x1e0)][_0x582fd3(0x22b)]();}async[_0x387fe2(0x1fc)](_0x2344b3){var _0x4e28d5=_0x387fe2;if(this['_sessions'][_0x4e28d5(0x2b1)](_0x2344b3))return this[_0x4e28d5(0x3ad)]['get'](_0x2344b3);this[_0x4e28d5(0x18b)]();const _0x1a6a9a=this[_0x4e28d5(0x285)][_0x4e28d5(0xbf)](exports['CollaborationSession'],_0x2344b3,this['_socket$'][_0x4e28d5(0x37f)]());return this[_0x4e28d5(0x3ad)][_0x4e28d5(0x1b1)](_0x2344b3,_0x1a6a9a),_0x1a6a9a;}[_0x387fe2(0x2a4)](_0x4a2cf0){var _0x4da43a=_0x387fe2,_0x2d6cf2;const _0x26455a=this[_0x4da43a(0x3ad)][_0x4da43a(0x12a)](_0x4a2cf0);_0x26455a&&(this[_0x4da43a(0x3ad)][_0x4da43a(0x25c)](_0x4a2cf0),_0x26455a[_0x4da43a(0x37c)]()),this[_0x4da43a(0x3ad)][_0x4da43a(0x219)]||(_0x2d6cf2=this[_0x4da43a(0xc0)])==null||_0x2d6cf2[_0x4da43a(0x37c)]();}[_0x387fe2(0x2a2)](){var _0x5bd594=_0x387fe2;this['_retryCount']=0x0,this[_0x5bd594(0x397)](),this[_0x5bd594(0x300)]();}['_clearRetryConnectingTimer'](){var _0x4924f1=_0x387fe2;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x4924f1(0x3ba)]=null);}async[_0x387fe2(0x328)](){var _0x50782e=_0x387fe2,_0x5cf895;const _0x40f413=this[_0x50782e(0x3a0)][_0x50782e(0x19c)](Y),_0x43d2fa=(_0x5cf895=_0x40f413==null?void 0x0:_0x40f413['collabWebSocketUrl'])!=null?_0x5cf895:ht,_0x3ff51b=await this[_0x50782e(0x17b)]['createSocket'](_0x43d2fa);return this[_0x50782e(0x196)]=_0x3ff51b,_0x3ff51b;}async[_0x387fe2(0x18b)](){var _0x5d346f=_0x387fe2,_0xc66987,_0x29957a;try{const _0x4eab68=(_0x29957a=(_0xc66987=this['_socket'])!=null?_0xc66987:this[_0x5d346f(0x196)])!=null?_0x29957a:await this[_0x5d346f(0x328)]();if(_0x4eab68){const _0x3fc76c=_0x4eab68[_0x5d346f(0x34b)];_0x4eab68[_0x5d346f(0x34b)]=_0x15e45d=>(this[_0x5d346f(0x318)](),_0x3fc76c[_0x5d346f(0x1fb)](_0x4eab68,[_0x15e45d])),_0x4eab68[_0x5d346f(0x10d)][_0x5d346f(0x3a3)](_0x8f60bd=>this[_0x5d346f(0x1a7)](_0x4eab68,_0x8f60bd)),_0x4eab68[_0x5d346f(0xb6)]['pipe'](V['take'](0x1))[_0x5d346f(0x3a3)](_0x449dd6=>this[_0x5d346f(0x1c3)]['error'](_0x5d346f(0x1f1),_0x449dd6)),_0x4eab68[_0x5d346f(0x1eb)][_0x5d346f(0x3cd)](V[_0x5d346f(0x23d)](0x1))[_0x5d346f(0x3a3)](()=>{var _0x35886c=_0x5d346f;this[_0x35886c(0x373)](_0x4eab68);}),_0x4eab68[_0x5d346f(0x1c8)][_0x5d346f(0x3cd)](V['take'](0x1))[_0x5d346f(0x3a3)](_0x4b3c0e=>{var _0x2e2fcf=_0x5d346f;this['_logService'][_0x2e2fcf(0x278)](_0x2e2fcf(0x401),_0x2e2fcf(0x105),_0x4b3c0e),this[_0x2e2fcf(0x2e5)]();});}}catch(_0x304b70){this[_0x5d346f(0x1c3)][_0x5d346f(0x305)](_0x304b70),this['_onConnectionFailed']();}}[_0x387fe2(0x373)](_0x4149c8){var _0xf3e1b9=_0x387fe2;this[_0xf3e1b9(0x1c3)][_0xf3e1b9(0x278)](_0xf3e1b9(0x401),_0xf3e1b9(0x24d)),_0x4149c8[_0xf3e1b9(0x34b)]({'cmd':W[_0xf3e1b9(0x244)]}),this['_rescheduleHeartbeat']();}[_0x387fe2(0x40f)](){var _0x5533d0=_0x387fe2;this[_0x5533d0(0x3a2)]=!0x1,this[_0x5533d0(0x196)]=null,this[_0x5533d0(0x1e0)][_0x5533d0(0x1dc)](re[_0x5533d0(0x193)]),this[_0x5533d0(0x18f)]['next'](null),this[_0x5533d0(0x2e9)](),this[_0x5533d0(0x39b)]();}[_0x387fe2(0x2e5)](){var _0x2047b5=_0x387fe2,_0x50aa9b;this['_onOffline'](),this[_0x2047b5(0x11b)]<((_0x50aa9b=this['_configService'][_0x2047b5(0x19c)](ut))!=null?_0x50aa9b:Mt)?(this[_0x2047b5(0x2e8)]['emitEvent']({'id':Z[_0x2047b5(0x363)]}),this[_0x2047b5(0x300)]()):this['_collaborationUIEventService'][_0x2047b5(0x3ea)]({'id':Z[_0x2047b5(0x325)]});}[_0x387fe2(0x300)](){var _0x46a9a0=_0x387fe2,_0x2e0915;const _0x231716=this[_0x46a9a0(0x11b)],_0x322cfe=this['_configService'][_0x46a9a0(0x19c)](Y),_0x5763f1=_0x231716===0x0?0x0:((_0x2e0915=_0x322cfe==null?void 0x0:_0x322cfe[_0x46a9a0(0x2f6)])!=null?_0x2e0915:wt)*0x2**_0x231716;this[_0x46a9a0(0x3ba)]=setTimeout(()=>{var _0x4f4c47=_0x46a9a0;clearTimeout(this[_0x4f4c47(0x3ba)]),this[_0x4f4c47(0x3ba)]=null,this['_tryEnsureSocket']();},_0x5763f1),this[_0x46a9a0(0x11b)]+=0x1;}['_onMessage'](_0x26fdd0,_0x23de9a){var _0x327f6=_0x387fe2;const {cmd:_0x37dc66}=_0x23de9a;_0x37dc66===W[_0x327f6(0x244)]&&!this[_0x327f6(0x3a2)]&&(_0x26fdd0[_0x327f6(0x218)]=_0x23de9a[_0x327f6(0xa4)]['memberID'],this['_socket$']['next'](_0x26fdd0),this['_status$'][_0x327f6(0x1dc)](re['ONLINE']),this['_socketReady']=!0x0,this[_0x327f6(0x196)]=null),_0x37dc66===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x327f6(0x318)]();}[_0x387fe2(0x318)](){var _0x32145c=_0x387fe2,_0x117b9f;this[_0x32145c(0x39b)](),this[_0x32145c(0x33e)]=setTimeout(()=>this[_0x32145c(0x409)](),(_0x117b9f=this[_0x32145c(0x3a0)][_0x32145c(0x19c)](_t))!=null?_0x117b9f:Pt);}['_sendHeartbeat'](){var _0x157722=_0x387fe2;this[_0x157722(0xc0)][_0x157722(0x34b)]({'cmd':W[_0x157722(0x2d7)]}),this[_0x157722(0x295)]();}[_0x387fe2(0x295)](){var _0x1768a2=_0x387fe2,_0x38fe52;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x38fe52=this[_0x1768a2(0x3a0)][_0x1768a2(0x19c)](ke))!=null?_0x38fe52:lt);}[_0x387fe2(0x39b)](){var _0x57f655=_0x387fe2;this[_0x57f655(0x33e)]!=null&&(clearTimeout(this[_0x57f655(0x33e)]),this[_0x57f655(0x33e)]=null);}[_0x387fe2(0x2e9)](){var _0x529300=_0x387fe2;this[_0x529300(0xe5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x529300(0xe5)]=null);}},exports[_0x387fe2(0x3e6)]=Qt([he(0x0,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),he(0x1,a['ILogService']),he(0x2,a[_0x387fe2(0x3b6)]),he(0x3,$e),he(0x4,a[_0x387fe2(0x25f)](ee)),he(0x5,a[_0x387fe2(0x209)](St))],exports[_0x387fe2(0x3e6)]);const K=a[_0x387fe2(0x333)]('collaboration-client.local-cache-service');function ei(_0x266257){var _0x4e3461=_0x387fe2;return _0x4e3461(0x1b3)+_0x266257;}var ti=Object[_0x387fe2(0xff)],ii=(_0x34bd0f,_0x4bafd0,_0x1344b7,_0x50686a)=>{var _0x3adcba=_0x387fe2;for(var _0x510f2b=_0x50686a>0x1?void 0x0:_0x50686a?ti(_0x4bafd0,_0x1344b7):_0x4bafd0,_0x597f71=_0x34bd0f[_0x3adcba(0x2b4)]-0x1,_0x11bdff;_0x597f71>=0x0;_0x597f71--)(_0x11bdff=_0x34bd0f[_0x597f71])&&(_0x510f2b=_0x11bdff(_0x510f2b)||_0x510f2b);return _0x510f2b;},Ue=(_0x36a15e,_0x4e419d)=>(_0x36cdd3,_0x554f37)=>_0x4e419d(_0x36cdd3,_0x554f37,_0x36a15e);function ni(_0x604dee){var _0x114150=_0x387fe2;const {unitID:_0x250c76,mutations:_0x34aeaa}=_0x604dee;return{'unitId':_0x250c76,'subUnitId':_0x34aeaa[0x0]['params'][_0x114150(0x268)]};}exports[_0x387fe2(0x354)]=class{constructor(_0x5eb2bf,_0x148bc0,_0x1c9b9e){var _0x3580ac=_0x387fe2;this[_0x3580ac(0x285)]=_0x5eb2bf,this[_0x3580ac(0x270)]=_0x148bc0,this['_instanceService']=_0x1c9b9e;}[_0x387fe2(0x304)](_0xfe3089){var _0x5c5f1b=_0x387fe2,_0x412e1c,_0x34b0d8,_0x156971,_0x302b9d;const _0x19a9bd=this['_injector'][_0x5c5f1b(0x12a)](X[_0x5c5f1b(0x26a)]),{unitId:_0x1efc29,subUnitId:_0x453589}=ni(_0xfe3089),_0x2781f2=_0x19a9bd==null?void 0x0:_0x19a9bd['getWorkbookSelections'](_0x1efc29)[_0x5c5f1b(0x14b)](),_0x2ee9ba=(_0x34b0d8=(_0x412e1c=this[_0x5c5f1b(0x1f4)][_0x5c5f1b(0x343)](_0x1efc29))==null?void 0x0:_0x412e1c[_0x5c5f1b(0x3b8)]())==null?void 0x0:_0x34b0d8[_0x5c5f1b(0x169)]();if(_0x2781f2[_0x5c5f1b(0x2b4)]===0x0||!_0x1efc29||!_0x453589)return;const _0x213272=[{'id':X[_0x5c5f1b(0x2d8)]['id'],'params':{'unitId':_0x1efc29,'subUnitId':_0x2ee9ba,'selections':a[_0x5c5f1b(0xcd)][_0x5c5f1b(0x238)](_0x2781f2)}}],_0x24a46b=this['_transformService'][_0x5c5f1b(0x127)](_0xfe3089,_0x213272);if(!p['isTransformMutationsWithChangesetSuccess'](_0x24a46b))throw _0x24a46b[_0x5c5f1b(0x305)];const _0x14835f=(_0x302b9d=(_0x156971=_0x24a46b[_0x5c5f1b(0x2e0)][0x0])==null?void 0x0:_0x156971[_0x5c5f1b(0x3bf)])==null?void 0x0:_0x302b9d['selections'];if(Array['isArray'](_0x14835f)&&_0x14835f['length']){if(_0x14835f['length']===_0x213272[0x0][_0x5c5f1b(0x3bf)][_0x5c5f1b(0x301)]['length']&&_0x14835f[_0x5c5f1b(0x102)]((_0x58a0d3,_0x74e9b5)=>a[_0x5c5f1b(0x3c3)][_0x5c5f1b(0xf2)](_0x58a0d3[_0x5c5f1b(0x277)],_0x213272[0x0]['params'][_0x5c5f1b(0x301)][_0x74e9b5]['range'])))return;this[_0x5c5f1b(0x285)][_0x5c5f1b(0x12a)](a[_0x5c5f1b(0x228)])[_0x5c5f1b(0x154)](X['SetSelectionsOperation']['id'],{'unitId':_0x1efc29,'subUnitId':_0x2ee9ba,'selections':_0x14835f});}}},exports[_0x387fe2(0x354)]=ii([Ue(0x0,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),Ue(0x1,p[_0x387fe2(0x25b)]),Ue(0x2,a['IUniverInstanceService'])],exports[_0x387fe2(0x354)]);const de=a[_0x387fe2(0x333)](_0x387fe2(0x27e));var je=(_0xc2e966=>(_0xc2e966[_0xc2e966[_0x387fe2(0x14e)]=0x0]=_0x387fe2(0x14e),_0xc2e966[_0xc2e966[_0x387fe2(0x40e)]=0x1]=_0x387fe2(0x40e),_0xc2e966))(je||{});const ri=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x1b60b1,_0x524b4b,_0x1be1a1,_0x14254e,_0x427556){var _0x4971e7=_0x387fe2,_0x45f4b6,_0x2bf4e5,_0x401556,_0x249f55;const _0x15c16f=[];for(const _0x12439c of _0x1b60b1)if(ri[_0x4971e7(0x2b1)](_0x12439c['id'])){if(_0x15c16f[_0x4971e7(0x2b4)]>0x0)break;_0x15c16f[_0x4971e7(0x2a6)](_0x12439c);break;}else _0x15c16f[_0x4971e7(0x2a6)](_0x12439c);const _0x4ef5de=(_0x2bf4e5=(_0x45f4b6=_0x427556['getCurrentUser']())==null?void 0x0:_0x45f4b6[_0x4971e7(0xec)])!=null?_0x2bf4e5:_0x4971e7(0x14a),_0x14f9b0=(_0x249f55=(_0x401556=_0x427556['getCurrentUser']())==null?void 0x0:_0x401556[_0x4971e7(0x218)])!=null?_0x249f55:_0x4971e7(0x14a);return{'changeset':{'unitID':_0x524b4b,'type':p['mapDocumentTypeToUniverType'](_0x1be1a1[_0x4971e7(0x2db)](_0x524b4b)),'baseRev':_0x14254e['getCurrentRevOfUnit'](_0x524b4b),'revision':0x0,'userID':_0x4ef5de,'memberID':_0x14f9b0,'mutations':_0x15c16f},'pendingMutations':_0x1b60b1[_0x4971e7(0xa5)](_0x15c16f[_0x4971e7(0x2b4)])};}function si(_0x5f2864,_0x5722b6,_0x46d8a8,_0x4d8d14,_0x30e53a){var _0x3b4ba5=_0x387fe2,_0xeecb15,_0x277c14,_0x36e231,_0x5cde65;const _0x1ecb08=[_0x5f2864[_0x3b4ba5(0x220)]((_0x3a0561,_0xff56f2)=>{var _0x448809=_0x3b4ba5,_0x8691fd;const {id:_0xa9be92}=_0x3a0561,{id:_0x2799f5,type:_0x19375e}=_0xff56f2,_0x20fee8=(_0x8691fd=_0x3a0561[_0x448809(0x3bf)])!=null?_0x8691fd:{'actions':null},_0x145c19=_0xff56f2[_0x448809(0x3bf)];if(_0xa9be92&&_0xa9be92!==_0x2799f5)throw new Error(_0x448809(0x11d)+_0xa9be92+_0x448809(0x306)+_0x2799f5+'.');return{..._0x3a0561,'id':_0x2799f5,'type':_0x19375e,'params':{'unitId':_0x145c19[_0x448809(0xe7)],'textRanges':_0x145c19[_0x448809(0x40d)],'actions':a[_0x448809(0x214)]['compose'](_0x20fee8[_0x448809(0x32f)],_0x145c19[_0x448809(0x32f)])}};},{})],_0x372189=(_0x277c14=(_0xeecb15=_0x30e53a[_0x3b4ba5(0x15c)]())==null?void 0x0:_0xeecb15[_0x3b4ba5(0xec)])!=null?_0x277c14:_0x3b4ba5(0x14a),_0x21256d=(_0x5cde65=(_0x36e231=_0x30e53a[_0x3b4ba5(0x15c)]())==null?void 0x0:_0x36e231['memberID'])!=null?_0x5cde65:'unknown';return{'changeset':{'unitID':_0x5722b6,'type':p[_0x3b4ba5(0x3e3)](_0x46d8a8[_0x3b4ba5(0x2db)](_0x5722b6)),'baseRev':_0x4d8d14['getCurrentRevOfUnit'](_0x5722b6),'revision':0x0,'userID':_0x372189,'memberID':_0x21256d,'mutations':_0x1ecb08},'pendingMutations':[]};}function pt(_0xa0921e,_0x46cff6){var _0x174667=_0x387fe2;const _0x14e1b0=new H[(_0x174667(0x309))](0x1);return setTimeout(()=>_0x14e1b0[_0x174667(0x1dc)](_0x46cff6),_0xa0921e),_0x14e1b0[_0x174667(0x37f)]()['pipe'](H[_0x174667(0x23d)](0x1));}const oi={'id':X[_0x387fe2(0x1e9)]['id'],'type':a[_0x387fe2(0x15b)][_0x387fe2(0x101)],'params':{}};var ai=Object['getOwnPropertyDescriptor'],oe=(_0x49a4d5,_0x44991e,_0x39bdc3,_0x2c9ef4)=>{var _0x36134a=_0x387fe2;for(var _0x3f778c=_0x2c9ef4>0x1?void 0x0:_0x2c9ef4?ai(_0x44991e,_0x39bdc3):_0x44991e,_0x3d78b7=_0x49a4d5[_0x36134a(0x2b4)]-0x1,_0x30581c;_0x3d78b7>=0x0;_0x3d78b7--)(_0x30581c=_0x49a4d5[_0x3d78b7])&&(_0x3f778c=_0x30581c(_0x3f778c)||_0x3f778c);return _0x3f778c;},w=(_0x31b84a,_0x44e64c)=>(_0x58f404,_0x805fe)=>_0x44e64c(_0x58f404,_0x805fe,_0x31b84a),Be=(_0xcd13fc=>(_0xcd13fc[_0x387fe2(0x29f)]=_0x387fe2(0x1b5),_0xcd13fc[_0x387fe2(0x1f2)]=_0x387fe2(0x41c),_0xcd13fc[_0x387fe2(0x3ff)]=_0x387fe2(0xcb),_0xcd13fc[_0x387fe2(0x2ef)]='awaiting',_0xcd13fc[_0x387fe2(0x26c)]=_0x387fe2(0x3c1),_0xcd13fc[_0x387fe2(0x234)]=_0x387fe2(0x352),_0xcd13fc[_0x387fe2(0x3f9)]=_0x387fe2(0x204),_0xcd13fc[_0x387fe2(0x193)]=_0x387fe2(0x302),_0xcd13fc))(Be||{});const mt=0xea60;class ae{constructor(_0x438305,_0x8d4788,_0x1f645f,_0x1a96ea,_0x18ee4c,_0x4d7865,_0x3bafb0,_0x165090,_0x4e751a){var _0x2d9e16=_0x387fe2;A(this,'_awaitingChangeset',null),A(this,_0x2d9e16(0x2ec),[]),(this[_0x2d9e16(0x287)]=_0x438305,this[_0x2d9e16(0x2ed)]=_0x8d4788,this[_0x2d9e16(0x2fe)]=_0x18ee4c,this[_0x2d9e16(0x17c)]=_0x4d7865,this[_0x2d9e16(0x2a7)]=_0x3bafb0,this[_0x2d9e16(0x405)]=_0x165090,this[_0x2d9e16(0x413)]=_0x4e751a,this[_0x2d9e16(0x393)]=_0x1f645f,this['_pendingMutations']=_0x1a96ea);}[_0x387fe2(0x364)](_0x298427){var _0x43f81f=_0x387fe2;const _0x239020=this[_0x43f81f(0x405)][_0x43f81f(0x422)](this[_0x43f81f(0x287)]);return _0x298427[_0x43f81f(0x185)]>_0x239020+0x1?(this[_0x43f81f(0x2fe)]['onMissingChangesets']({'from':_0x239020,'to':_0x298427[_0x43f81f(0x185)]-0x1}),!0x0):!0x1;}[_0x387fe2(0x3bb)](_0x45c4a9){var _0x26c708=_0x387fe2;this['_undoRedoService'][_0x26c708(0x3d5)](this['unitID'],_0x45c4a9);}['_transformSelections'](_0x34afa6){var _0x245661=_0x387fe2,_0xd65ca4,_0x5c5e9f;(_0x5c5e9f=(_0xd65ca4=this[_0x245661(0x2fe)])[_0x245661(0x31e)])==null||_0x5c5e9f[_0x245661(0x239)](_0xd65ca4,_0x34afa6);}['_transformIMECache'](_0xf09ba2){var _0x451960=_0x387fe2,_0x144dcd,_0x11c911;return(_0x11c911=(_0x144dcd=this[_0x451960(0x2fe)])[_0x451960(0x2c8)])==null?void 0x0:_0x11c911[_0x451960(0x239)](_0x144dcd,_0xf09ba2);}[_0x387fe2(0x12c)](_0x1079e6){var _0x11c9ef=_0x387fe2,_0x14283c,_0x52b8ca;return(_0x52b8ca=(_0x14283c=this['_handler'])[_0x11c9ef(0x32d)])==null?void 0x0:_0x52b8ca['call'](_0x14283c,_0x1079e6);}[_0x387fe2(0x177)](_0x358eda){var _0x326f73=_0x387fe2,_0x5694ef,_0x46f491,_0x3c9d21;return(_0x3c9d21=(_0x46f491=(_0x5694ef=this[_0x326f73(0x2fe)])[_0x326f73(0x25d)])==null?void 0x0:_0x46f491[_0x326f73(0x239)](_0x5694ef,_0x358eda))!=null?_0x3c9d21:_0x358eda;}['_transformRemoteChangesetByStateCache'](_0x291120){var _0x6704b=_0x387fe2,_0x210b7d,_0x505164,_0x426417;return(_0x426417=(_0x505164=(_0x210b7d=this[_0x6704b(0x2fe)])[_0x6704b(0x2ff)])==null?void 0x0:_0x505164[_0x6704b(0x239)](_0x210b7d,_0x291120))!=null?_0x426417:_0x291120;}[_0x387fe2(0x416)](_0x1ebdff){var _0x1ab7e9=_0x387fe2,_0x21fae0,_0x51ab15;if(this[_0x1ab7e9(0x2ed)]===J[_0x1ab7e9(0x2a5)]){const {unitID:_0x5cf63f,mutations:_0xe158f5,memberID:_0x1a360c}=_0x1ebdff,_0x26fc56=_0xe158f5[0x0][_0x1ab7e9(0x3bf)][_0x1ab7e9(0x40d)];Array[_0x1ab7e9(0x38b)](_0x26fc56)&&_0x26fc56[_0x1ab7e9(0x2b4)]>0x0&&((_0x51ab15=(_0x21fae0=this[_0x1ab7e9(0x2fe)])[_0x1ab7e9(0x3b5)])==null||_0x51ab15[_0x1ab7e9(0x239)](_0x21fae0,{'unitID':_0x5cf63f,'memberID':_0x1a360c,'textRanges':_0x26fc56}));}}[_0x387fe2(0x400)](){var _0x56daa4=_0x387fe2,_0x1c543b;(_0x1c543b=this[_0x56daa4(0x413)])==null||_0x1c543b[_0x56daa4(0x192)](this[_0x56daa4(0x287)],this[_0x56daa4(0x2ed)],this[_0x56daa4(0x393)],this['_pendingMutations']);}[_0x387fe2(0x1a3)](){var _0x5daa4f=_0x387fe2;return this[_0x5daa4f(0x405)][_0x5daa4f(0x422)](this[_0x5daa4f(0x287)]);}['_incrementRevisionNumber'](){var _0x2c9fcc=_0x387fe2;this[_0x2c9fcc(0x405)][_0x2c9fcc(0x3b1)](this['unitID']);}['_executeRemoteChangeset'](_0xf1b874){var _0x44bc3f=_0x387fe2,_0x200c4e;let _0xb0e18d=this[_0x44bc3f(0x177)](_0xf1b874);_0xb0e18d=this[_0x44bc3f(0x334)](_0xb0e18d);const _0x8e344b=a['sequenceExecute'](_0xb0e18d['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x8e344b[_0x44bc3f(0x31a)])throw _0x8e344b[_0x44bc3f(0x305)]instanceof Error?_0x8e344b['error']:new Error((_0x200c4e=_0x8e344b[_0x44bc3f(0x305)])!=null?_0x200c4e:'[CollaborationState]:\x20apply\x20error!');this[_0x44bc3f(0x40c)](_0xb0e18d),this[_0x44bc3f(0x12c)](_0xb0e18d),this[_0x44bc3f(0x3bb)](_0xf1b874),this['_transformSelections'](_0xb0e18d),this[_0x44bc3f(0x416)](_0xb0e18d),this[_0x44bc3f(0x1a2)]();}}exports[_0x387fe2(0x311)]=class extends ae{constructor(_0x16284f,_0x44a690,_0xa8dca1,_0x215469,_0x2a12d8,_0x2247e6,_0x2fdf6b,_0x2cdd0c,_0x4dd17d,_0x573f95){var _0x4d0d23=_0x387fe2;super(_0x16284f,_0x44a690,null,[],_0xa8dca1,_0x2fdf6b,_0x2247e6,_0x215469,_0x573f95),A(this,_0x4d0d23(0xe3),_0x4d0d23(0x41c)),(this[_0x4d0d23(0x285)]=_0x2a12d8,this[_0x4d0d23(0x1c3)]=_0x2cdd0c,this['_transformService']=_0x4dd17d,this[_0x4d0d23(0x340)]=_0x573f95);}[_0x387fe2(0x2b9)](_0x50800a){var _0x10c89a=_0x387fe2;const _0x29624a=this[_0x10c89a(0x285)]['createInstance'](exports[_0x10c89a(0x1b9)],this[_0x10c89a(0x287)],this['type'],[_0x50800a],this[_0x10c89a(0x2fe)]);return _0x29624a[_0x10c89a(0x3e5)](),_0x29624a[_0x10c89a(0x400)](),_0x29624a;}['onRemoteChangeset'](_0x47a0ea){var _0x295fdf=_0x387fe2;if(this[_0x295fdf(0x364)](_0x47a0ea))return this[_0x295fdf(0x285)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x295fdf(0x2ed)],null,[],null,[_0x47a0ea],this[_0x295fdf(0x2fe)]);try{const _0x48ff6f=this[_0x295fdf(0x270)][_0x295fdf(0x127)](_0x47a0ea,[oi]);if(p[_0x295fdf(0x38f)](_0x48ff6f)){const {c1Prime:_0x3b1ec9}=_0x48ff6f;return this[_0x295fdf(0x243)](_0x3b1ec9),this;}throw _0x48ff6f[_0x295fdf(0x305)];}catch(_0x2df6d9){return this[_0x295fdf(0x1c3)][_0x295fdf(0x305)](_0x2df6d9),this[_0x295fdf(0x269)](!0x1);}}['_onConflict'](_0x4a47ea){var _0x27d7ee=_0x387fe2;return this[_0x27d7ee(0x285)][_0x27d7ee(0xbf)](exports['ConflictState'],this[_0x27d7ee(0x287)],this[_0x27d7ee(0x2ed)],null,[],this['_handler'],_0x4a47ea);}[_0x387fe2(0xb5)](){var _0x2706d3=_0x387fe2;throw new Error(_0x2706d3(0x3f1));}[_0x387fe2(0x28e)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x387fe2(0x411)](){return this;}[_0x387fe2(0x19a)](){var _0x90cb88=_0x387fe2;return this[_0x90cb88(0x285)]['createInstance'](exports[_0x90cb88(0x260)],this[_0x90cb88(0x287)],this[_0x90cb88(0x2ed)],null,[],this[_0x90cb88(0x2fe)]);}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x41f)](){var _0x63225=_0x387fe2;throw new Error(_0x63225(0x336));}[_0x387fe2(0x35d)](){var _0x115801=_0x387fe2;const _0x42955d=this[_0x115801(0x405)][_0x115801(0x422)](this[_0x115801(0x287)]);return this[_0x115801(0x2fe)][_0x115801(0x1f7)]({'from':_0x42955d,'to':0x0}),this[_0x115801(0x285)]['createInstance'](exports[_0x115801(0xdd)],this[_0x115801(0x287)],this['type'],null,[],null,[],this[_0x115801(0x2fe)]);}},exports[_0x387fe2(0x311)]=oe([w(0x3,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),w(0x4,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x5,a[_0x387fe2(0x106)]),w(0x6,a[_0x387fe2(0x228)]),w(0x7,a[_0x387fe2(0x2d9)]),w(0x8,p[_0x387fe2(0x25b)]),w(0x9,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x311)]),exports[_0x387fe2(0x1b9)]=class extends ae{constructor(_0x4cba66,_0x1fa509,_0x215282,_0x7bf2c8,_0x566483,_0x54a412,_0x4425d0,_0x6889dd,_0x3e4383,_0x46e0da,_0x1b7950,_0x120379,_0x453714,_0x1bb2d7){var _0xecd1df=_0x387fe2;super(_0x4cba66,_0x1fa509,null,_0x215282,_0x7bf2c8,_0x3e4383,_0x453714,_0x54a412,_0x1bb2d7),A(this,_0xecd1df(0xe3),_0xecd1df(0xcb)),A(this,_0xecd1df(0x23e),null),A(this,_0xecd1df(0x1fa),null),(this['_injector']=_0x566483,this[_0xecd1df(0x22a)]=_0x4425d0,this[_0xecd1df(0x1c3)]=_0x6889dd,this['_configService']=_0x46e0da,this[_0xecd1df(0x270)]=_0x1b7950,this[_0xecd1df(0x396)]=_0x120379);}[_0x387fe2(0x2b9)](_0x3418ae){var _0x4ca846=_0x387fe2;return this[_0x4ca846(0x2ec)][_0x4ca846(0x2a6)](_0x3418ae),this[_0x4ca846(0x400)](),this;}[_0x387fe2(0x146)](_0x122e28){var _0x21a837=_0x387fe2;if(this[_0x21a837(0x364)](_0x122e28))return this['_clearScheduledTask'](),this[_0x21a837(0x285)][_0x21a837(0xbf)](exports[_0x21a837(0xdd)],this[_0x21a837(0x287)],this[_0x21a837(0x2ed)],null,this[_0x21a837(0x2ec)],null,[_0x122e28],this[_0x21a837(0x2fe)]);try{const _0x1318e3=this[_0x21a837(0x270)][_0x21a837(0x127)](_0x122e28,this[_0x21a837(0x2ec)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x1318e3)){const {c1Prime:_0x354c39,m2Prime:_0x17559c}=_0x1318e3;this[_0x21a837(0x243)](_0x354c39);const _0x4790bc=this[_0x21a837(0x285)]['createInstance'](exports['PendingState'],this[_0x21a837(0x287)],this[_0x21a837(0x2ed)],_0x17559c,this['_handler']);this['_clearScheduledTask']();const _0x586445=new Date()[_0x21a837(0xd3)](),_0x4b0573=this[_0x21a837(0x23e)]?Math[_0x21a837(0x276)](this[_0x21a837(0x23e)]-_0x586445,0x0):this['_getSendChangesetTimeout']();return _0x4790bc['_schedule'](_0x4b0573),_0x4790bc;}throw _0x1318e3['error'];}catch(_0x137656){return this[_0x21a837(0x1c3)][_0x21a837(0x305)](_0x137656),this[_0x21a837(0x269)](!0x1);}}[_0x387fe2(0xb5)](){var _0x5b65e8=_0x387fe2;throw new Error(_0x5b65e8(0x365));}[_0x387fe2(0x28e)](){var _0x43a90d=_0x387fe2;throw new Error(_0x43a90d(0x2e6));}[_0x387fe2(0x411)](){return this;}[_0x387fe2(0x19a)](){var _0x33fb6a=_0x387fe2;return this[_0x33fb6a(0x1ed)](),this[_0x33fb6a(0x285)][_0x33fb6a(0xbf)](exports[_0x33fb6a(0x260)],this[_0x33fb6a(0x287)],this[_0x33fb6a(0x2ed)],null,this[_0x33fb6a(0x2ec)],this[_0x33fb6a(0x2fe)]);}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x3e5)](_0x3fd919){var _0x19a792=_0x387fe2;const _0x488715=_0x3fd919!=null?_0x3fd919:this['_getSendChangesetTimeout']();this[_0x19a792(0x23e)]=new Date()['getTime']()+_0x488715,this['_sendingTimer']=setTimeout(()=>{var _0x102194=_0x19a792;this[_0x102194(0x1ed)]();let _0x2b3a04=null;switch(this[_0x102194(0x2ed)]){case J[_0x102194(0x107)]:{_0x2b3a04=Ge(this[_0x102194(0x2ec)],this[_0x102194(0x287)],this[_0x102194(0x396)],this[_0x102194(0x405)],this[_0x102194(0x22a)]);break;}case J[_0x102194(0x2a5)]:{this[_0x102194(0x2ec)][_0x102194(0x102)](_0x5e228d=>_0x5e228d['id']===ct[_0x102194(0x3ed)]['id'])?_0x2b3a04=si(this[_0x102194(0x2ec)],this[_0x102194(0x287)],this['_univerInstanceService'],this[_0x102194(0x405)],this[_0x102194(0x22a)]):_0x2b3a04=Ge(this[_0x102194(0x2ec)],this[_0x102194(0x287)],this[_0x102194(0x396)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x102194(0x179)+this[_0x102194(0x2ed)]+'\x20in\x20_schedule.');}const {changeset:_0x4257e1,pendingMutations:_0x996c12}=_0x2b3a04;this[_0x102194(0x2fe)][_0x102194(0x370)](_0x4257e1);const _0x23e0c2=_0x996c12[_0x102194(0x2b4)]?this[_0x102194(0x285)][_0x102194(0xbf)](exports[_0x102194(0x201)],this[_0x102194(0x287)],this[_0x102194(0x2ed)],_0x4257e1,_0x996c12,this[_0x102194(0x2fe)],void 0x0):this['_injector'][_0x102194(0xbf)](exports[_0x102194(0xe2)],this[_0x102194(0x287)],this[_0x102194(0x2ed)],_0x4257e1,this[_0x102194(0x2fe)]);_0x23e0c2[_0x102194(0x400)](),this[_0x102194(0x2fe)][_0x102194(0x175)](this,_0x23e0c2);},_0x488715);}[_0x387fe2(0x171)](){var _0x2d3478=_0x387fe2,_0x2ae64c;const _0x373f2e=this['_configService'][_0x2d3478(0x19c)](Y);return(_0x2ae64c=_0x373f2e==null?void 0x0:_0x373f2e[_0x2d3478(0x21d)])!=null?_0x2ae64c:Ut;}[_0x387fe2(0x41f)](){var _0x4c6ea4=_0x387fe2;throw new Error(_0x4c6ea4(0x151));}['_clearScheduledTask'](){var _0x56faac=_0x387fe2;this[_0x56faac(0x1fa)]!=null&&(clearTimeout(this[_0x56faac(0x1fa)]),this[_0x56faac(0x1fa)]=null);}['_onConflict'](_0x1ec7b3){var _0x2614cf=_0x387fe2;return this['_clearScheduledTask'](),this[_0x2614cf(0x285)][_0x2614cf(0xbf)](exports[_0x2614cf(0x3af)],this[_0x2614cf(0x287)],this[_0x2614cf(0x2ed)],null,this[_0x2614cf(0x2ec)],this[_0x2614cf(0x2fe)],_0x1ec7b3);}},exports[_0x387fe2(0x1b9)]=oe([w(0x4,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x5,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),w(0x6,a[_0x387fe2(0x25f)](exports[_0x387fe2(0xf6)])),w(0x7,a[_0x387fe2(0x2d9)]),w(0x8,a[_0x387fe2(0x228)]),w(0x9,a[_0x387fe2(0x3b6)]),w(0xa,p[_0x387fe2(0x25b)]),w(0xb,a[_0x387fe2(0x31c)]),w(0xc,a[_0x387fe2(0x106)]),w(0xd,a[_0x387fe2(0x209)](K))],exports['PendingState']),exports[_0x387fe2(0xe2)]=class extends ae{constructor(_0x1d25fa,_0xcd3c90,_0x2f82c0,_0x5b9aeb,_0xb4e4fb,_0x3a50b9,_0x260662,_0x5ceaa1,_0x536b75,_0xa36ed9,_0x166b7e){var _0x190a88=_0x387fe2;super(_0x1d25fa,_0xcd3c90,_0x2f82c0,[],_0x5b9aeb,_0x260662,_0xa36ed9,_0x3a50b9,_0x166b7e),A(this,_0x190a88(0xe3),_0x190a88(0x3bd)),A(this,_0x190a88(0x113),0x0),A(this,'_resendTimer'),A(this,_0x190a88(0x2dd)),(this['_injector']=_0xb4e4fb,this[_0x190a88(0x1c3)]=_0x5ceaa1,this[_0x190a88(0x270)]=_0x536b75);}[_0x387fe2(0x2b9)](_0x55f77b){var _0x7017fb=_0x387fe2;this[_0x7017fb(0x1ed)]();const _0x12e5b4=this[_0x7017fb(0x285)][_0x7017fb(0xbf)](exports[_0x7017fb(0x201)],this[_0x7017fb(0x287)],this[_0x7017fb(0x2ed)],this[_0x7017fb(0x393)],[_0x55f77b],this[_0x7017fb(0x2fe)],this[_0x7017fb(0x350)]);return _0x12e5b4[_0x7017fb(0x400)](),_0x12e5b4;}[_0x387fe2(0x146)](_0x3c354d){var _0xdc9862=_0x387fe2;if(this[_0xdc9862(0x364)](_0x3c354d))return this[_0xdc9862(0x1ed)](),this[_0xdc9862(0x285)][_0xdc9862(0xbf)](exports[_0xdc9862(0xdd)],this[_0xdc9862(0x287)],this['type'],this[_0xdc9862(0x393)],[],null,[_0x3c354d],this[_0xdc9862(0x2fe)]);try{const _0x3b7b7d=this[_0xdc9862(0x270)][_0xdc9862(0xaa)]([_0x3c354d],[this[_0xdc9862(0x393)]],!0x1);if(p[_0xdc9862(0x3fa)](_0x3b7b7d)){const {c1Prime:_0x5ec48c,c2Prime:_0x38583b}=_0x3b7b7d;this[_0xdc9862(0x243)](_0x5ec48c[0x0]),_0x38583b[0x0][_0xdc9862(0x1c4)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x262afb=this[_0xdc9862(0x285)][_0xdc9862(0xbf)](exports[_0xdc9862(0xe2)],this['unitID'],this[_0xdc9862(0x2ed)],_0x38583b[0x0],this[_0xdc9862(0x2fe)]);return _0x262afb['_updateLocalCache'](),_0x262afb;}return this[_0xdc9862(0x269)](!0x1);}catch(_0x1cc0a5){return this[_0xdc9862(0x1c3)][_0xdc9862(0x305)](_0x1cc0a5),this[_0xdc9862(0x269)](!0x1);}}['onRemoteAck'](_0x49ff5a){var _0x56a45d=_0x387fe2;this['_clearScheduledTask']();const _0x38120a=this[_0x56a45d(0x405)][_0x56a45d(0x422)](this[_0x56a45d(0x287)]);if(_0x49ff5a[_0x56a45d(0x185)]<_0x38120a-0x1)return this;if(this[_0x56a45d(0x364)](_0x49ff5a))return this[_0x56a45d(0x285)]['createInstance'](exports['FetchingMissState'],this[_0x56a45d(0x287)],this[_0x56a45d(0x2ed)],null,[],this[_0x56a45d(0x393)],[],this[_0x56a45d(0x2fe)]);this[_0x56a45d(0x1a2)]();const _0x200dea=this[_0x56a45d(0x285)][_0x56a45d(0xbf)](exports[_0x56a45d(0x311)],this[_0x56a45d(0x287)],this[_0x56a45d(0x2ed)],this['_handler']);return _0x200dea['_updateLocalCache'](),_0x200dea;}[_0x387fe2(0x28e)](_0x100e1c){return this['_onConflict'](!!(_0x100e1c!=null&&_0x100e1c['isPermissionRej']));}[_0x387fe2(0x411)](_0x34d1fb){var _0x5690ac=_0x387fe2;return this[_0x5690ac(0x113)]>mt?this['toggleOffline']():(this[_0x5690ac(0x350)]=pt(this[_0x5690ac(0x113)],{'timeout':this['_resendTimeout'],'reqId':_0x34d1fb[_0x5690ac(0x1be)]}),this[_0x5690ac(0x2dd)]=this[_0x5690ac(0x350)]['subscribe'](({reqId:_0x53ba93,timeout:_0x555330})=>{var _0x3381c8=_0x5690ac;this[_0x3381c8(0x284)](_0x53ba93,_0x555330);}),this);}['toggleOffline'](){var _0x13e226=_0x387fe2;return this['_clearScheduledTask'](),this['_injector'][_0x13e226(0xbf)](exports[_0x13e226(0x260)],this['unitID'],this[_0x13e226(0x2ed)],this[_0x13e226(0x393)],[],this[_0x13e226(0x2fe)]);}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x41f)](){var _0x48c282=_0x387fe2;this['_handler'][_0x48c282(0x370)](this['_awaitingChangeset']);}[_0x387fe2(0x269)](_0x36e7a4){var _0x985d55=_0x387fe2;return this[_0x985d55(0x1ed)](),this[_0x985d55(0x285)]['createInstance'](exports[_0x985d55(0x3af)],this[_0x985d55(0x287)],this[_0x985d55(0x2ed)],this[_0x985d55(0x393)],[],this[_0x985d55(0x2fe)],_0x36e7a4);}['_resendWithTimeout'](_0x5731d9,_0xeb7133){var _0x4edc08=_0x387fe2,_0x2170ee;_0x5731d9===((_0x2170ee=this[_0x4edc08(0x393)])==null?void 0x0:_0x2170ee[_0x4edc08(0x1be)])&&(this[_0x4edc08(0x41f)](),this[_0x4edc08(0x113)]=_0xeb7133===0x0?0x3e8:_0xeb7133*0x2);}[_0x387fe2(0x1ed)](){var _0x5796ab=_0x387fe2,_0xb648c4;(_0xb648c4=this[_0x5796ab(0x2dd)])==null||_0xb648c4[_0x5796ab(0x2a0)](),this[_0x5796ab(0x113)]=0x0;}},exports[_0x387fe2(0xe2)]=oe([w(0x4,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x5,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),w(0x6,a[_0x387fe2(0x228)]),w(0x7,a['ILogService']),w(0x8,p[_0x387fe2(0x25b)]),w(0x9,a[_0x387fe2(0x106)]),w(0xa,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0xe2)]),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x100f3a,_0x52696f,_0x5019b2,_0x3a39aa,_0x541625,_0x1e1e55,_0x114cf7,_0x50c2c2,_0xec3417,_0x4a6e1e,_0x1b9bcc,_0xce6fe2,_0xb6f2c8){var _0x3e61ad=_0x387fe2;super(_0x100f3a,_0x52696f,_0x5019b2,_0x3a39aa,_0x541625,_0xec3417,_0xce6fe2,_0x50c2c2,_0xb6f2c8),A(this,_0x3e61ad(0xe3),_0x3e61ad(0x3c1)),A(this,_0x3e61ad(0x113),0x0),A(this,_0x3e61ad(0x350)),A(this,_0x3e61ad(0x2dd)),(this[_0x3e61ad(0x285)]=_0x114cf7,this[_0x3e61ad(0x1c3)]=_0x4a6e1e,this[_0x3e61ad(0x270)]=_0x1b9bcc,this[_0x3e61ad(0x340)]=_0xb6f2c8,_0x1e1e55&&(this['_resendTimer']=_0x1e1e55,this['_sender']=this[_0x3e61ad(0x350)][_0x3e61ad(0x3a3)](({reqId:_0x551d0f,timeout:_0x2f449b})=>{this['_resendWithTimeout'](_0x551d0f,_0x2f449b);})));}[_0x387fe2(0x2b9)](_0x1d39ee){var _0x5af159=_0x387fe2;return this[_0x5af159(0x2ec)]['push'](_0x1d39ee),this;}[_0x387fe2(0x146)](_0x5ae859){var _0x22645e=_0x387fe2;if(this['_checkMissing'](_0x5ae859))return this[_0x22645e(0x1ed)](),this[_0x22645e(0x285)]['createInstance'](exports[_0x22645e(0xdd)],this[_0x22645e(0x287)],this[_0x22645e(0x2ed)],this[_0x22645e(0x393)],this[_0x22645e(0x2ec)],null,[_0x5ae859],this['_handler']);try{const _0xa755ca=this['_transformService'][_0x22645e(0xaa)]([_0x5ae859],[this['_awaitingChangeset']],!0x1);if(p[_0x22645e(0x3fa)](_0xa755ca)){const {c1Prime:_0x382588,c2Prime:_0x10e9d0}=_0xa755ca,_0x47de67=this[_0x22645e(0x270)][_0x22645e(0x127)](_0x382588[0x0],this['_pendingMutations']);if(p[_0x22645e(0x38f)](_0x47de67)){const {c1Prime:_0x390bb0,m2Prime:_0x562e26}=_0x47de67;return this['_executeRemoteChangeset'](_0x390bb0),_0x10e9d0[0x0][_0x22645e(0x1c4)]=this[_0x22645e(0x1a3)](),this[_0x22645e(0x1ed)](),this[_0x22645e(0x285)][_0x22645e(0xbf)](exports[_0x22645e(0x201)],this[_0x22645e(0x287)],this['type'],_0x10e9d0[0x0],_0x562e26,this[_0x22645e(0x2fe)],void 0x0);}throw _0x47de67[_0x22645e(0x305)];}throw _0xa755ca[_0x22645e(0x305)];}catch(_0x5e1d90){return this[_0x22645e(0x1c3)][_0x22645e(0x305)](_0x5e1d90),this[_0x22645e(0x269)](!0x1);}}['onRemoteAck'](_0x32e417){var _0x36ece5=_0x387fe2;if(this[_0x36ece5(0x1ed)](),this[_0x36ece5(0x364)](_0x32e417))return this[_0x36ece5(0x285)][_0x36ece5(0xbf)](exports['FetchingMissState'],this[_0x36ece5(0x287)],this[_0x36ece5(0x2ed)],null,this[_0x36ece5(0x2ec)],this[_0x36ece5(0x393)],[],this[_0x36ece5(0x2fe)]);this[_0x36ece5(0x1a2)]();const _0x546b4a=this[_0x36ece5(0x285)][_0x36ece5(0xbf)](exports[_0x36ece5(0x1b9)],this[_0x36ece5(0x287)],this[_0x36ece5(0x2ed)],this[_0x36ece5(0x2ec)],this[_0x36ece5(0x2fe)]);return _0x546b4a['_schedule'](),_0x546b4a[_0x36ece5(0x400)](),_0x546b4a;}[_0x387fe2(0x28e)](_0x52543e){var _0x42bc82=_0x387fe2;return this[_0x42bc82(0x269)](!!(_0x52543e!=null&&_0x52543e[_0x42bc82(0x21c)]));}[_0x387fe2(0x411)](_0x415faf){var _0x1d6458=_0x387fe2;return this[_0x1d6458(0x113)]>mt?this[_0x1d6458(0x19a)]():(this[_0x1d6458(0x350)]=pt(this[_0x1d6458(0x113)],{'timeout':this[_0x1d6458(0x113)],'reqId':_0x415faf[_0x1d6458(0x1be)]}),this['_sender']=this['_resendTimer'][_0x1d6458(0x3a3)](({reqId:_0x479ee9,timeout:_0x58a219})=>{this['_resendWithTimeout'](_0x479ee9,_0x58a219);}),this);}[_0x387fe2(0x19a)](){var _0x2c1f2d=_0x387fe2;return this[_0x2c1f2d(0x1ed)](),this[_0x2c1f2d(0x285)][_0x2c1f2d(0xbf)](exports[_0x2c1f2d(0x260)],this[_0x2c1f2d(0x287)],this[_0x2c1f2d(0x2ed)],this['_awaitingChangeset'],this[_0x2c1f2d(0x2ec)],this[_0x2c1f2d(0x2fe)]);}[_0x387fe2(0x226)](){return this;}['resend'](){var _0x14b7b8=_0x387fe2;this['_handler'][_0x14b7b8(0x370)](this['_awaitingChangeset']);}[_0x387fe2(0x269)](_0x2d04da){var _0x4d8e4e=_0x387fe2;return this['_clearScheduledTask'](),this[_0x4d8e4e(0x285)][_0x4d8e4e(0xbf)](exports[_0x4d8e4e(0x3af)],this[_0x4d8e4e(0x287)],this[_0x4d8e4e(0x2ed)],null,this['_pendingMutations'],this[_0x4d8e4e(0x2fe)],_0x2d04da);}['_resendWithTimeout'](_0x315cf0,_0x4b54ec){var _0x20cf55=_0x387fe2,_0x3c1a17;_0x315cf0===((_0x3c1a17=this[_0x20cf55(0x393)])==null?void 0x0:_0x3c1a17[_0x20cf55(0x1be)])&&(this['resend'](),this[_0x20cf55(0x113)]=_0x4b54ec===0x0?0x3e8:_0x4b54ec*0x2);}[_0x387fe2(0x1ed)](){var _0x173118=_0x387fe2,_0x33e5cf;(_0x33e5cf=this[_0x173118(0x2dd)])==null||_0x33e5cf[_0x173118(0x2a0)](),this[_0x173118(0x113)]=0x0;}},exports[_0x387fe2(0x201)]=oe([w(0x6,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x7,a[_0x387fe2(0x25f)](p['RevisionService'])),w(0x8,a['ICommandService']),w(0x9,a['ILogService']),w(0xa,p[_0x387fe2(0x25b)]),w(0xb,a[_0x387fe2(0x106)]),w(0xc,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x201)]),exports[_0x387fe2(0x3af)]=class extends ae{constructor(_0x3c831f,_0x4eba84,_0x1369bb,_0x1e5214,_0x42019f,_0xcee057=!0x1,_0x106cea,_0x3a386f,_0x16fa3b,_0x231bc6,_0x2ad8b8,_0x128c5c,_0x45140a){var _0x2914bb=_0x387fe2;super(_0x3c831f,_0x4eba84,_0x1369bb,_0x1e5214,_0x42019f,_0x3a386f,_0x16fa3b,_0x231bc6,_0x45140a),A(this,'status',_0x2914bb(0x204)),(this[_0x2914bb(0x37b)]=_0xcee057,this[_0x2914bb(0x3dc)]=_0x106cea,this[_0x2914bb(0x36f)]=_0x2ad8b8,this[_0x2914bb(0x2e8)]=_0x128c5c,this['localCacheService']=_0x45140a,this[_0x2914bb(0x191)](),this['_clearLocalCache'](),this[_0x2914bb(0x362)]());}[_0x387fe2(0x2b9)](){return this;}[_0x387fe2(0x146)](){return this;}[_0x387fe2(0xb5)](){return this;}[_0x387fe2(0x28e)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x41f)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x387fe2(0x3e0)](){var _0xdfff91=_0x387fe2,_0x34b2cc;(_0x34b2cc=this[_0xdfff91(0x413)])==null||_0x34b2cc[_0xdfff91(0x192)](this[_0xdfff91(0x287)],this[_0xdfff91(0x2ed)],null,[]);}[_0x387fe2(0x191)](){var _0x46f2b3=_0x387fe2;this['_isPermissionRej']?this[_0x46f2b3(0x2e8)][_0x46f2b3(0x3ea)]({'id':Z[_0x46f2b3(0x324)]}):this['_collaborationUIEventService'][_0x46f2b3(0x3ea)]({'id':Z[_0x46f2b3(0x3f9)]});}[_0x387fe2(0x362)](){var _0xc5a531=_0x387fe2;this[_0xc5a531(0x3dc)][_0xc5a531(0x21a)](new X[(_0xc5a531(0x2f1))](this[_0xc5a531(0x287)])['id'],!0x1);}},exports['ConflictState']=oe([w(0x6,a[_0x387fe2(0x25f)](a['IPermissionService'])),w(0x7,a[_0x387fe2(0x228)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](p[_0x387fe2(0x3e4)])),w(0xa,a[_0x387fe2(0x25f)](a[_0x387fe2(0x349)])),w(0xb,a[_0x387fe2(0x25f)](ee)),w(0xc,a[_0x387fe2(0x209)](K))],exports['ConflictState']),exports[_0x387fe2(0x260)]=class extends ae{constructor(_0x56d29a,_0x915eca,_0x4e71b0,_0xceac70,_0x18c908,_0x2a8f61,_0x549b26,_0x11b501,_0xcae630,_0x1f45c3){var _0x1c87e7=_0x387fe2;super(_0x56d29a,_0x915eca,_0x4e71b0,_0xceac70,_0x18c908,_0x11b501,_0xcae630,_0x549b26,_0x1f45c3),A(this,_0x1c87e7(0xe3),_0x1c87e7(0x302)),this[_0x1c87e7(0x285)]=_0x2a8f61;}[_0x387fe2(0x2b9)](_0x303991){var _0x5b3a88=_0x387fe2;return this[_0x5b3a88(0x2ec)][_0x5b3a88(0x2a6)](_0x303991),this[_0x5b3a88(0x400)](),this;}['onRemoteChangeset'](_0x985ddc){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x387fe2(0xb5)](){var _0x59b03b=_0x387fe2;throw new Error(_0x59b03b(0x3a9));}[_0x387fe2(0x28e)](){var _0x20c20f=_0x387fe2;throw new Error(_0x20c20f(0x3fd));}[_0x387fe2(0x411)](){return this;}[_0x387fe2(0x19a)](){return this;}['toggleOnline'](){var _0x5d69d1=_0x387fe2;const {_injector:_0x28fd8c,_pendingMutations:_0x1c7423,_awaitingChangeset:_0x13828f,unitID:_0x34d05c,_handler:_0x210727,type:_0x3797cd}=this,_0x2f42cc=gt(_0x28fd8c,_0x34d05c,_0x3797cd,_0x13828f,_0x1c7423,_0x210727);return _0x2f42cc instanceof exports[_0x5d69d1(0x1b9)]?_0x2f42cc['_schedule']():(_0x2f42cc instanceof exports['AwaitingWithPendingState']||_0x2f42cc instanceof exports[_0x5d69d1(0xe2)])&&_0x2f42cc[_0x5d69d1(0x41f)](),_0x2f42cc;}[_0x387fe2(0x41f)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x387fe2(0x260)]=oe([w(0x5,a['Inject'](a[_0x387fe2(0x272)])),w(0x6,a['Inject'](p[_0x387fe2(0x3e4)])),w(0x7,a[_0x387fe2(0x228)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x260)]),exports[_0x387fe2(0xdd)]=class extends ae{constructor(_0x227df9,_0x4bf41c,_0x1f7061,_0x52b9a4,_0x4f7f8,_0x381aa5,_0x56186e,_0x193869,_0x4e02af,_0x4f1396,_0x496be5,_0x57a353,_0x708483,_0xe35b40){var _0x57798a=_0x387fe2;super(_0x227df9,_0x4bf41c,_0x1f7061,_0x52b9a4,_0x56186e,_0x496be5,_0x57a353,_0x4e02af,_0xe35b40),A(this,'status',_0x57798a(0x352)),(this[_0x57798a(0x16f)]=_0x4f7f8,this[_0x57798a(0x1f8)]=_0x381aa5,this[_0x57798a(0x285)]=_0x193869,this[_0x57798a(0x1c3)]=_0x4f1396,this[_0x57798a(0x270)]=_0x708483,this[_0x57798a(0x340)]=_0xe35b40);}[_0x387fe2(0x2fb)](_0x2a204e){var _0x596d72=_0x387fe2;try{const _0x1126c7=[..._0x2a204e,...this[_0x596d72(0x1f8)]],_0x3814e2=[this[_0x596d72(0x393)]||this[_0x596d72(0x16f)]]['filter'](_0x151dcd=>!!_0x151dcd);let _0x5ee024,_0x1c6a00;if(_0x3814e2['length']){const _0x244dc6=this['_transformService']['transformChangesets'](_0x1126c7,_0x3814e2,!0x1);if(!p['isTransformChangesetsSuccess'](_0x244dc6))throw _0x244dc6['error'];_0x5ee024=_0x244dc6[_0x596d72(0x37e)],_0x1c6a00=_0x244dc6[_0x596d72(0x17f)];}else _0x5ee024=_0x1126c7,_0x1c6a00=[];let _0x33a03c=this['_pendingMutations'];_0x5ee024[_0x596d72(0x138)](_0x5658df=>{var _0x16f05d=_0x596d72;let _0x4edad0;if(_0x33a03c['length']){const _0x3993a1=this[_0x16f05d(0x270)][_0x16f05d(0x127)](_0x5658df,_0x33a03c);if(!p['isTransformMutationsWithChangesetSuccess'](_0x3993a1))throw _0x3993a1[_0x16f05d(0x305)];_0x4edad0=_0x3993a1[_0x16f05d(0x37e)],_0x33a03c=_0x3993a1[_0x16f05d(0x2e0)];}else _0x4edad0=_0x5658df;this['_executeRemoteChangeset'](_0x4edad0);}),this['_acknowledgedAwaitingChangeset']&&this[_0x596d72(0x1a2)](),this[_0x596d72(0x393)]&&_0x1c6a00[_0x596d72(0x2b4)]&&(_0x1c6a00[0x0][_0x596d72(0x1c4)]=this['_getCurrentRevision']());let _0x2d9cfa;if(this[_0x596d72(0x393)]&&_0x33a03c[_0x596d72(0x2b4)]!==0x0)_0x2d9cfa=this[_0x596d72(0x285)]['createInstance'](exports[_0x596d72(0x201)],this['unitID'],this[_0x596d72(0x2ed)],_0x1c6a00[0x0],_0x33a03c,this['_handler'],void 0x0);else{if(this[_0x596d72(0x393)]&&_0x33a03c[_0x596d72(0x2b4)]===0x0)_0x1c6a00[0x0][_0x596d72(0x1c4)]=this[_0x596d72(0x1a3)](),_0x2d9cfa=this[_0x596d72(0x285)][_0x596d72(0xbf)](exports[_0x596d72(0xe2)],this[_0x596d72(0x287)],this[_0x596d72(0x2ed)],_0x1c6a00[0x0],this[_0x596d72(0x2fe)]);else{if(_0x33a03c[_0x596d72(0x2b4)]!==0x0){const _0x1fab42=this['_injector']['createInstance'](exports[_0x596d72(0x1b9)],this[_0x596d72(0x287)],this['type'],_0x33a03c,this[_0x596d72(0x2fe)]);_0x1fab42['_schedule'](),_0x2d9cfa=_0x1fab42;}else _0x2d9cfa=this[_0x596d72(0x285)][_0x596d72(0xbf)](exports['SyncedState'],this['unitID'],this['type'],this[_0x596d72(0x2fe)]);}}return _0x2d9cfa[_0x596d72(0x400)](),_0x2d9cfa;}catch(_0x2c1799){return this[_0x596d72(0x1c3)][_0x596d72(0x305)](_0x596d72(0x149),_0x596d72(0x402),_0x2c1799),this[_0x596d72(0x285)][_0x596d72(0xbf)](exports[_0x596d72(0x3af)],this['unitID'],this[_0x596d72(0x2ed)],this[_0x596d72(0x393)],this['_pendingMutations'],this[_0x596d72(0x2fe)],!0x1);}}[_0x387fe2(0x41f)](){var _0x349793=_0x387fe2;throw new Error(_0x349793(0x257));}['appendMutation'](_0x516111){var _0x3e0895=_0x387fe2;return this['_pendingMutations'][_0x3e0895(0x2a6)](_0x516111),this;}['onRemoteChangeset'](_0x2e0ed7){var _0x15bd6b=_0x387fe2;return this[_0x15bd6b(0x1f8)][_0x15bd6b(0x2a6)](_0x2e0ed7),this;}['onRemoteAck'](_0x447ddb){var _0xebf3ca=_0x387fe2;if(this[_0xebf3ca(0x393)])return this[_0xebf3ca(0x16f)]=this[_0xebf3ca(0x393)],this[_0xebf3ca(0x393)]=null,this;throw new Error(_0xebf3ca(0x263));}[_0x387fe2(0x28e)](_0x112569){var _0x501e81=_0x387fe2;return this[_0x501e81(0x269)](!!(_0x112569!=null&&_0x112569[_0x501e81(0x21c)]));}[_0x387fe2(0x411)](){return this;}['toggleOffline'](){var _0x5da7fc=_0x387fe2;return this[_0x5da7fc(0x285)][_0x5da7fc(0xbf)](exports['OfflineState'],this[_0x5da7fc(0x287)],this[_0x5da7fc(0x2ed)],this[_0x5da7fc(0x393)],this[_0x5da7fc(0x2ec)],this[_0x5da7fc(0x2fe)]);}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x269)](_0x8d1a3b){var _0x15307a=_0x387fe2;return this[_0x15307a(0x285)][_0x15307a(0xbf)](exports[_0x15307a(0x3af)],this[_0x15307a(0x287)],this[_0x15307a(0x2ed)],this[_0x15307a(0x393)],this[_0x15307a(0x2ec)],this[_0x15307a(0x2fe)],_0x8d1a3b);}},exports['FetchingMissState']=oe([w(0x7,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x8,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),w(0x9,a[_0x387fe2(0x2d9)]),w(0xa,a[_0x387fe2(0x228)]),w(0xb,a[_0x387fe2(0x106)]),w(0xc,p[_0x387fe2(0x25b)]),w(0xd,a['Optional'](K))],exports[_0x387fe2(0xdd)]);function gt(_0x345225,_0x502df1,_0x1ed007,_0x332cf4,_0x2abdcc,_0x1b6193){var _0x1f4e7c=_0x387fe2;return _0x332cf4&&_0x2abdcc[_0x1f4e7c(0x2b4)]?_0x345225[_0x1f4e7c(0xbf)](exports['AwaitingWithPendingState'],_0x502df1,_0x1ed007,_0x332cf4,_0x2abdcc,_0x1b6193,void 0x0):_0x332cf4?_0x345225[_0x1f4e7c(0xbf)](exports[_0x1f4e7c(0xe2)],_0x502df1,_0x1ed007,_0x332cf4,_0x1b6193):_0x2abdcc[_0x1f4e7c(0x2b4)]?_0x345225['createInstance'](exports[_0x1f4e7c(0x1b9)],_0x502df1,_0x1ed007,_0x2abdcc,_0x1b6193):_0x345225[_0x1f4e7c(0xbf)](exports[_0x1f4e7c(0x311)],_0x502df1,_0x1ed007,_0x1b6193);}var ci=Object[_0x387fe2(0xff)],Fe=(_0xab7ff7,_0x16d61d,_0x13b5fb,_0x12ac77)=>{for(var _0x41ed02=_0x12ac77>0x1?void 0x0:_0x12ac77?ci(_0x16d61d,_0x13b5fb):_0x16d61d,_0x5c7b21=_0xab7ff7['length']-0x1,_0x1ca987;_0x5c7b21>=0x0;_0x5c7b21--)(_0x1ca987=_0xab7ff7[_0x5c7b21])&&(_0x41ed02=_0x1ca987(_0x41ed02)||_0x41ed02);return _0x41ed02;},j=(_0x1138ad,_0x1ba115)=>(_0x15f3fa,_0x1958eb)=>_0x1ba115(_0x15f3fa,_0x1958eb,_0x1138ad);exports[_0x387fe2(0x3c6)]=class extends a[_0x387fe2(0x41a)]{constructor(_0x56bfc5,_0x2e1f89,_0x1957b7,_0xd85c7d,_0x5bc501,_0x1c37ac,_0x11d068,_0x3d5024,_0x1f0399,_0x53863f,_0x2ccfc6,_0x583a92,_0x2220ff){var _0x55c47f=_0x387fe2;super(),A(this,_0x55c47f(0x3db),new H[(_0x55c47f(0x2bf))](null)),A(this,_0x55c47f(0x157),this[_0x55c47f(0x3db)][_0x55c47f(0x37f)]()),A(this,_0x55c47f(0xa6)),A(this,_0x55c47f(0x1da),!0x1),A(this,_0x55c47f(0x1a0),''),A(this,_0x55c47f(0x32c),0x0),A(this,_0x55c47f(0x14f),this[_0x55c47f(0x157)][_0x55c47f(0x3cd)](H[_0x55c47f(0xf0)](_0x29fe4f=>_0x29fe4f?_0x29fe4f[_0x55c47f(0xe3)]:Be[_0x55c47f(0x193)]),H[_0x55c47f(0x2d6)](0x1))),A(this,_0x55c47f(0x307),!0x1),A(this,_0x55c47f(0x117),[]),(this['unitID']=_0x56bfc5,this['session']=_0x2e1f89,this[_0x55c47f(0x1d7)]=_0x1957b7,this['_injector']=_0xd85c7d,this[_0x55c47f(0xce)]=_0x5bc501,this['_localeService']=_0x1c37ac,this['_revisionService']=_0x11d068,this[_0x55c47f(0x415)]=_0x3d5024,this[_0x55c47f(0x1c3)]=_0x1f0399,this[_0x55c47f(0x17c)]=_0x53863f,this[_0x55c47f(0x3dc)]=_0x2ccfc6,this[_0x55c47f(0xbd)]=_0x583a92,this[_0x55c47f(0x413)]=_0x2220ff);}get[_0x387fe2(0x417)](){var _0x5858a1=_0x387fe2;return this[_0x5858a1(0xa6)];}async[_0x387fe2(0x22e)](){var _0x4fb7df=_0x387fe2;if(this['state'])throw new Error(_0x4fb7df(0x3ce));await this[_0x4fb7df(0x30b)]();}[_0x387fe2(0x37a)](){var _0x378351=_0x387fe2;return this['_collaborationPaused']=!0x0,a[_0x378351(0x2df)](()=>{var _0x312079=_0x378351;this[_0x312079(0x1da)]=!0x1,this[_0x312079(0xe0)]();});}[_0x387fe2(0x3f8)](_0x147b15){var _0x220906=_0x387fe2;this[_0x220906(0x233)](_0x147b15);}[_0x387fe2(0xe4)](_0x50446a){var _0x27807d=_0x387fe2;this[_0x27807d(0xa6)]=_0x50446a,this['_state$'][_0x27807d(0x1dc)](_0x50446a);}async['_init'](){var _0xc76698=_0x387fe2,_0x1615e5;this[_0xc76698(0xe4)](await this[_0xc76698(0x288)]()),this['_singleActiveUnitService']&&((_0x1615e5=this[_0xc76698(0xbd)])==null||_0x1615e5[_0xc76698(0x2c7)](this[_0xc76698(0x287)]),this[_0xc76698(0xbc)](this[_0xc76698(0xbd)]['getUnitStatus$'](this[_0xc76698(0x287)])[_0xc76698(0x3a3)](_0x529e9e=>{var _0x2e3036=_0xc76698;this[_0x2e3036(0x1c3)]['debug'](_0x2e3036(0x2a1),'editing\x20status\x20changed\x20to',_0x529e9e),_0x529e9e===je['OTHER_CLIENTS_EDITING']?(this[_0x2e3036(0x415)][_0x2e3036(0x3ea)]({'id':Z[_0x2e3036(0x1ad)]}),this[_0x2e3036(0x3dc)][_0x2e3036(0x21a)](new X[(_0x2e3036(0x2f1))](this[_0x2e3036(0x287)])['id'],!0x1),this[_0x2e3036(0x3dc)][_0x2e3036(0x344)](!0x1)):(this[_0x2e3036(0x3dc)][_0x2e3036(0x21a)](new X[(_0x2e3036(0x2f1))](this[_0x2e3036(0x287)])['id'],!0x0),this[_0x2e3036(0x3dc)][_0x2e3036(0x344)](!0x0));})));let _0x215569=!0x1;return this['disposeWithMe'](this[_0xc76698(0xf9)][_0xc76698(0xaf)][_0xc76698(0x3a3)](_0x35be35=>{var _0x146770=_0xc76698;_0x35be35===re['ONLINE']?this[_0x146770(0xb2)](_0x215569):_0x35be35===re[_0x146770(0x193)]&&(_0x215569=!0x0,this[_0x146770(0x381)]());})),this[_0xc76698(0xbc)](this[_0xc76698(0xf9)]['event$'][_0xc76698(0x3a3)](_0x1b616c=>{var _0x3106d5=_0xc76698;try{switch(_0x1b616c['eventID']){case p[_0x3106d5(0x184)][_0x3106d5(0x245)]:{this[_0x3106d5(0x3b7)](p[_0x3106d5(0x1bb)](_0x1b616c[_0x3106d5(0xa4)]));break;}case p[_0x3106d5(0x184)][_0x3106d5(0x211)]:{this[_0x3106d5(0x118)](_0x1b616c[_0x3106d5(0xa4)]);break;}case p['CollaborationEvent'][_0x3106d5(0x410)]:{this[_0x3106d5(0x27c)]();break;}case p[_0x3106d5(0x184)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x1b616c[_0x3106d5(0xa4)]);break;}case p[_0x3106d5(0x184)][_0x3106d5(0x213)]:{this[_0x3106d5(0x379)](_0x1b616c[_0x3106d5(0xa4)][_0x3106d5(0x181)][_0x3106d5(0xf0)](_0xbe6aa8=>p[_0x3106d5(0x1bb)](_0xbe6aa8)));break;}case p['CollaborationEvent'][_0x3106d5(0x337)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x3106d5(0x184)]['UNISCRIPT_RUN']:break;}}catch(_0x557072){throw console['error'](_0x3106d5(0x15a),_0x557072),_0x557072;}})),this['_state'];}[_0x387fe2(0x374)](){var _0x3837ad=_0x387fe2;this[_0x3837ad(0x307)]=!0x1;}[_0x387fe2(0x35e)](){var _0x43a39e=_0x387fe2;if(this['_transitionLocked'])throw new Error(_0x43a39e(0x136));this[_0x43a39e(0x307)]=!0x0;}[_0x387fe2(0x233)](_0x233726){var _0x1ef211=_0x387fe2;this[_0x1ef211(0x35e)](),this['_updateState'](this[_0x1ef211(0xa6)]['appendMutation'](_0x233726)),this[_0x1ef211(0x374)]();}['_onRemoteChangeset'](_0x3e6d92){var _0xb4d677=_0x387fe2;if(!(_0x3e6d92[_0xb4d677(0x185)]<=this[_0xb4d677(0x405)][_0xb4d677(0x422)](this['unitID']))){if(this[_0xb4d677(0x1da)]){this['_remoteChangesetQueue'][_0xb4d677(0x2a6)](_0x3e6d92);return;}this[_0xb4d677(0x41d)](_0x3e6d92);}}['_exhaustRemoteChangesetQueue'](){var _0x59a1ea=_0x387fe2;this[_0x59a1ea(0x117)][_0x59a1ea(0x138)](_0x1a641d=>this[_0x59a1ea(0x41d)](_0x1a641d)),this[_0x59a1ea(0x117)]=[];}[_0x387fe2(0x41d)](_0x2257d6){var _0x1d5c5b=_0x387fe2;const _0x388d4e=this['_compressMutationService']['interceptor'][_0x1d5c5b(0x412)](this[_0x1d5c5b(0xce)]['interceptor']['getInterceptPoints']()[_0x1d5c5b(0x227)])(_0x2257d6['mutations'],null)||_0x2257d6['mutations'],_0x4e044f={..._0x2257d6,'mutations':_0x388d4e};this[_0x1d5c5b(0x35e)](),this[_0x1d5c5b(0xe4)](this[_0x1d5c5b(0xa6)]['onRemoteChangeset'](_0x4e044f)),this[_0x1d5c5b(0x374)]();}['_onRemoteACK'](_0x4b19ea){var _0x496b5f=_0x387fe2;this[_0x496b5f(0x35e)](),this[_0x496b5f(0xe4)](this['_state']['onRemoteAck'](_0x4b19ea)),this[_0x496b5f(0x374)]();}[_0x387fe2(0x27c)](_0x547315){var _0x36c188=_0x387fe2;this[_0x36c188(0x35e)](),this[_0x36c188(0xe4)](this[_0x36c188(0xa6)][_0x36c188(0x28e)](_0x547315)),this[_0x36c188(0x374)]();}[_0x387fe2(0x15d)](_0x548f81){var _0xb379e0=_0x387fe2;this[_0xb379e0(0x35e)](),this[_0xb379e0(0xe4)](this[_0xb379e0(0xa6)][_0xb379e0(0x411)](_0x548f81)),this[_0xb379e0(0x374)]();}[_0x387fe2(0x379)](_0x1383c3){var _0x3d2d37=_0x387fe2;if(!(this[_0x3d2d37(0xa6)]instanceof exports[_0x3d2d37(0xdd)]))throw new TypeError(_0x3d2d37(0x121));const _0x5a4eb6=_0x1383c3[_0x3d2d37(0xf0)](_0x592ec4=>{var _0x4500f2=_0x3d2d37;const _0x2ad55f=this[_0x4500f2(0xce)][_0x4500f2(0x274)][_0x4500f2(0x412)](this[_0x4500f2(0xce)][_0x4500f2(0x274)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x592ec4[_0x4500f2(0x172)],null)||_0x592ec4[_0x4500f2(0x172)];return{..._0x592ec4,'mutations':_0x2ad55f};});this['_lockTransition'](),this[_0x3d2d37(0xe4)](this[_0x3d2d37(0xa6)][_0x3d2d37(0x2fb)](_0x5a4eb6)),this[_0x3d2d37(0x374)]();}['_toggleOffline'](){var _0x310058=_0x387fe2;this[_0x310058(0x35e)](),this['_updateState'](this['_state'][_0x310058(0x19a)]()),this[_0x310058(0x374)]();}[_0x387fe2(0xb2)](_0x6723ec=!0x1){var _0x1fd8d7=_0x387fe2;this[_0x1fd8d7(0x35e)](),this['_updateState'](this[_0x1fd8d7(0xa6)][_0x1fd8d7(0x226)]()),this['_unlockTransition']();const _0x407943=this['_state'];_0x6723ec&&_0x407943 instanceof exports['SyncedState']&&(this[_0x1fd8d7(0x35e)](),this[_0x1fd8d7(0xe4)](_0x407943[_0x1fd8d7(0x35d)]()),this[_0x1fd8d7(0x374)]());}async[_0x387fe2(0x288)](){return new Promise(_0x396c79=>{var _0x3ea263=_0x2609;this[_0x3ea263(0xf9)][_0x3ea263(0xaf)][_0x3ea263(0x3cd)](H[_0x3ea263(0x23d)](0x1))[_0x3ea263(0x3a3)](async _0x451f73=>{var _0x189a28=_0x3ea263;_0x396c79(await this['_createInitialStateImpl'](_0x451f73===re[_0x189a28(0x26f)]));});});}[_0x387fe2(0x292)](){const _0x55d1f7=this['unitID'];return{'onStateChange':(_0x5edf81,_0x66ea4e)=>{var _0x5a02c2=_0x2609;if(_0x5edf81!==this[_0x5a02c2(0xa6)])throw new Error(_0x5a02c2(0x3bc)+_0x5edf81[_0x5a02c2(0xe3)]+_0x5a02c2(0x18e)+_0x66ea4e[_0x5a02c2(0xe3)]+_0x5a02c2(0x21b)+this[_0x5a02c2(0xa6)]['status']);this['_updateState'](_0x66ea4e);},'onSendChangeset':_0x2d0c50=>{var _0x595d82=_0x2609;_0x2d0c50[_0x595d82(0x386)]||(_0x2d0c50[_0x595d82(0x386)]=this[_0x595d82(0x1a0)],_0x2d0c50['reqId']=++this[_0x595d82(0x32c)]);const _0x486457={'eventID':p[_0x595d82(0x184)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x2d0c50[_0x595d82(0x287)],'unitType':this['_type'],'changeset':_0x2d0c50,'memberID':this[_0x595d82(0xf9)][_0x595d82(0x2b0)]()}};this[_0x595d82(0xf9)]['send'](_0x486457,this[_0x595d82(0x287)]);},'onMissingChangesets':({from:_0x5ad28a,to:_0x5ee73e})=>{var _0x4c1365=_0x2609;this[_0x4c1365(0x1c3)][_0x4c1365(0x278)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x5ad28a+_0x4c1365(0x161)+_0x5ee73e);const _0x5658cf={'eventID':p[_0x4c1365(0x184)][_0x4c1365(0x1db)],'data':{'unitID':_0x55d1f7,'unitType':this[_0x4c1365(0x1d7)],'from':_0x5ad28a,'to':_0x5ee73e}};this['session'][_0x4c1365(0x34b)](_0x5658cf,this[_0x4c1365(0x287)]);}};}async[_0x387fe2(0x164)](_0x71a4d3){var _0x5b801c=_0x387fe2,_0x66f389,_0x977c4f,_0x29dcf4;const _0xf2083=await((_0x66f389=this['_localCacheService'])==null?void 0x0:_0x66f389[_0x5b801c(0x3e9)](this[_0x5b801c(0x287)])),_0x3d8803=(_0x977c4f=_0xf2083==null?void 0x0:_0xf2083[_0x5b801c(0x172)])!=null?_0x977c4f:[],_0x101d42=(_0x29dcf4=_0xf2083==null?void 0x0:_0xf2083[_0x5b801c(0x160)])!=null?_0x29dcf4:null,_0x48617a=!!(_0x101d42!=null&&_0x101d42[_0x5b801c(0x386)])&&!!(_0x101d42!=null&&_0x101d42[_0x5b801c(0x1be)]);this[_0x5b801c(0x1a0)]=_0x48617a?_0x101d42[_0x5b801c(0x386)]:p['uuidv4'](),this[_0x5b801c(0x32c)]=_0x48617a?_0x101d42[_0x5b801c(0x1be)]:0x0;const _0x1cd463=this[_0x5b801c(0x287)];try{this[_0x5b801c(0x1d5)](_0x101d42,_0x3d8803);}catch(_0x2719cb){this['_logService'][_0x5b801c(0x305)](_0x2719cb);}const _0x316c0b=this['_createHandler']();if(_0x71a4d3){const _0x15b4a5=gt(this['_injector'],_0x1cd463,this[_0x5b801c(0x1d7)],_0x101d42,_0x3d8803,_0x316c0b);return _0x15b4a5 instanceof exports[_0x5b801c(0x1b9)]?_0x15b4a5[_0x5b801c(0x3e5)]():(_0x15b4a5 instanceof exports['AwaitingWithPendingState']||_0x15b4a5 instanceof exports[_0x5b801c(0xe2)])&&_0x15b4a5[_0x5b801c(0x41f)](),_0x15b4a5;}return this['_injector'][_0x5b801c(0xbf)](exports['OfflineState'],_0x1cd463,this['_type'],_0x101d42,_0x3d8803,_0x316c0b);}[_0x387fe2(0x1d5)](_0x278670,_0x6f55f6){var _0x3e7939=_0x387fe2,_0x2f6ed4,_0x872bf5;const _0x57afda=this[_0x3e7939(0xce)][_0x3e7939(0x274)][_0x3e7939(0x412)](this[_0x3e7939(0xce)]['interceptor'][_0x3e7939(0x3f0)]()['COMPRESS_MUTATION_APPLY']);(_0x2f6ed4=_0x57afda((_0x278670==null?void 0x0:_0x278670['mutations'])||[],null))==null||_0x2f6ed4[_0x3e7939(0x138)](_0x2bb8d7=>this[_0x3e7939(0x17c)][_0x3e7939(0x154)](_0x2bb8d7['id'],_0x2bb8d7[_0x3e7939(0x3bf)])),(_0x872bf5=_0x57afda(_0x6f55f6||[],null))==null||_0x872bf5[_0x3e7939(0x138)](_0x282850=>this[_0x3e7939(0x17c)][_0x3e7939(0x154)](_0x282850['id'],_0x282850[_0x3e7939(0x3bf)]));}},exports['CollaborationEntity']=Fe([j(0x3,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),j(0x4,a[_0x387fe2(0x25f)](p[_0x387fe2(0x265)])),j(0x5,a[_0x387fe2(0x25f)](a[_0x387fe2(0x349)])),j(0x6,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),j(0x7,a[_0x387fe2(0x25f)](ee)),j(0x8,a[_0x387fe2(0x2d9)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0x387fe2(0x209)](de)),j(0xc,a['Optional'](K))],exports[_0x387fe2(0x3c6)]),exports[_0x387fe2(0x1a6)]=class extends exports[_0x387fe2(0x3c6)]{constructor(_0x159b5a,_0x3893a0,_0x4091d,_0x56d60d,_0x229b59,_0x2de426,_0x480a63,_0x40560b,_0x4f98f0,_0x10cf11,_0x2a3185,_0x9febd5,_0x138663){var _0xdbfb69=_0x387fe2;super(_0x159b5a,_0x4091d,_0x3893a0,_0x56d60d,_0x229b59,_0x2de426,_0x480a63,_0x40560b,_0x4f98f0,_0x10cf11,_0x2a3185,_0x9febd5,_0x138663),A(this,_0xdbfb69(0x3d0),null),(this[_0xdbfb69(0x287)]=_0x159b5a,this[_0xdbfb69(0x2ed)]=_0x3893a0);}['addHandlerCallback'](_0x19e98e){this['_handlerCallback']=_0x19e98e;}[_0x387fe2(0x32a)](){var _0x253bc5=_0x387fe2;this[_0x253bc5(0x3d0)]=null,super[_0x253bc5(0x32a)]();}[_0x387fe2(0x292)](){var _0x562691=_0x387fe2;const _0x9d5c4e=super['_createHandler']();return _0x9d5c4e['onTransformIME']=_0x5de223=>{var _0x5dbecf=_0x2609,_0x57ee57,_0x327bba;return(_0x327bba=(_0x57ee57=this[_0x5dbecf(0x3d0)])==null?void 0x0:_0x57ee57['onTransformIME'])==null?void 0x0:_0x327bba[_0x5dbecf(0x239)](_0x57ee57,_0x5de223);},_0x9d5c4e['onTransformState']=_0x39d53c=>{var _0x1de72b=_0x2609,_0x221e16,_0x5d69e8;return(_0x5d69e8=(_0x221e16=this[_0x1de72b(0x3d0)])==null?void 0x0:_0x221e16[_0x1de72b(0x32d)])==null?void 0x0:_0x5d69e8[_0x1de72b(0x239)](_0x221e16,_0x39d53c);},_0x9d5c4e[_0x562691(0x31e)]=_0x5f5dc2=>{var _0x5377b1=_0x562691,_0x4d0ef4,_0x543533;return(_0x543533=(_0x4d0ef4=this[_0x5377b1(0x3d0)])==null?void 0x0:_0x4d0ef4[_0x5377b1(0x31e)])==null?void 0x0:_0x543533[_0x5377b1(0x239)](_0x4d0ef4,_0x5f5dc2);},_0x9d5c4e[_0x562691(0x3b5)]=_0x5582a9=>{var _0x2ff114=_0x562691,_0x40c556,_0x2b042e;return(_0x2b042e=(_0x40c556=this[_0x2ff114(0x3d0)])==null?void 0x0:_0x40c556[_0x2ff114(0x3b5)])==null?void 0x0:_0x2b042e[_0x2ff114(0x239)](_0x40c556,_0x5582a9);},_0x9d5c4e[_0x562691(0x25d)]=_0x498abc=>{var _0xe5fced=_0x562691,_0x4fb5a0,_0x50c1db,_0x47f77a;if(!((_0x4fb5a0=this[_0xe5fced(0x3d0)])!=null&&_0x4fb5a0[_0xe5fced(0x25d)]))throw new Error(_0xe5fced(0x143));return(_0x47f77a=(_0x50c1db=this[_0xe5fced(0x3d0)])==null?void 0x0:_0x50c1db[_0xe5fced(0x25d)])==null?void 0x0:_0x47f77a[_0xe5fced(0x239)](_0x50c1db,_0x498abc);},_0x9d5c4e['onTransformRemoteChangesetByStateCache']=_0x3bf945=>{var _0x5c5665=_0x562691,_0x14890c,_0x19341b,_0x3506a0;if(!((_0x14890c=this[_0x5c5665(0x3d0)])!=null&&_0x14890c[_0x5c5665(0x2ff)]))throw new Error(_0x5c5665(0x315));return(_0x3506a0=(_0x19341b=this[_0x5c5665(0x3d0)])==null?void 0x0:_0x19341b[_0x5c5665(0x2ff)])==null?void 0x0:_0x3506a0[_0x5c5665(0x239)](_0x19341b,_0x3bf945);},_0x9d5c4e;}async['_init'](){var _0x5f47ac=_0x387fe2;const _0x2a4dd1=await super['_init']();return this[_0x5f47ac(0xbc)](this[_0x5f47ac(0x17c)][_0x5f47ac(0x2de)]((_0x12d47c,_0x437e2f)=>{var _0x432635=_0x5f47ac;if(_0x12d47c[_0x432635(0x2ed)]!==a[_0x432635(0x15b)]['MUTATION']||_0x437e2f!=null&&_0x437e2f[_0x432635(0x35a)]||_0x437e2f!=null&&_0x437e2f[_0x432635(0x2ce)]||_0x12d47c['id']===ct[_0x432635(0x3ed)]['id'])return;const _0xd4ed6f=_0x12d47c[_0x432635(0x3bf)];if((_0xd4ed6f==null?void 0x0:_0xd4ed6f['unitId'])!==this[_0x432635(0x287)])return;const _0x36a1d8=_0x12d47c,_0x1447a9=this[_0x432635(0xce)]['interceptor'][_0x432635(0x412)](this['_compressMutationService'][_0x432635(0x274)][_0x432635(0x3f0)]()[_0x432635(0x112)])([_0x36a1d8],null)||[_0x36a1d8];this['_onLocalMutation'](_0x1447a9[0x0]);})),_0x2a4dd1;}},exports['DocCollaborationEntity']=Fe([j(0x3,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),j(0x4,a[_0x387fe2(0x25f)](p['CompressMutationService'])),j(0x5,a[_0x387fe2(0x25f)](a[_0x387fe2(0x349)])),j(0x6,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),j(0x7,a[_0x387fe2(0x25f)](ee)),j(0x8,a[_0x387fe2(0x2d9)]),j(0x9,a['ICommandService']),j(0xa,a[_0x387fe2(0xdf)]),j(0xb,a[_0x387fe2(0x209)](de)),j(0xc,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x1a6)]),exports['SheetCollaborationEntity']=class extends exports[_0x387fe2(0x3c6)]{constructor(_0x5956e5,_0x3698cd,_0x48feff,_0x1a1a03,_0x687a23,_0x4f78ba,_0x110818,_0xad2223,_0x36647c,_0x5e5d28,_0x44c73f,_0x36638d,_0x3f3468,_0x4a0c94){var _0xe775b8=_0x387fe2;super(_0x5956e5,_0x48feff,_0x3698cd,_0x1a1a03,_0x687a23,_0x4f78ba,_0x110818,_0x36647c,_0x5e5d28,_0x44c73f,_0x36638d,_0x3f3468,_0x4a0c94),this[_0xe775b8(0x287)]=_0x5956e5,this['type']=_0x3698cd,this[_0xe775b8(0x1d4)]=_0xad2223;}[_0x387fe2(0x292)](){var _0x539458=_0x387fe2;const _0x32db21=super[_0x539458(0x292)]();return _0x32db21[_0x539458(0x31e)]=_0x151b1e=>this[_0x539458(0x1d4)][_0x539458(0x304)](_0x151b1e),_0x32db21;}async[_0x387fe2(0x30b)](){var _0x4dc488=_0x387fe2;const _0x13f04a=await super[_0x4dc488(0x30b)]();return this[_0x4dc488(0xbc)](this[_0x4dc488(0x17c)][_0x4dc488(0x2de)]((_0x194faf,_0x2c6860)=>{var _0x737e73=_0x4dc488;if(_0x194faf[_0x737e73(0x2ed)]!==a[_0x737e73(0x15b)]['MUTATION']||_0x2c6860!=null&&_0x2c6860[_0x737e73(0x35a)]||_0x2c6860!=null&&_0x2c6860['onlyLocal'])return;const _0x1d2820=_0x194faf[_0x737e73(0x3bf)];if((_0x1d2820==null?void 0x0:_0x1d2820['unitId'])!==this[_0x737e73(0x287)])return;const _0x2d93a5=_0x194faf,_0x7eff47=this[_0x737e73(0xce)][_0x737e73(0x274)][_0x737e73(0x412)](this['_compressMutationService'][_0x737e73(0x274)][_0x737e73(0x3f0)]()[_0x737e73(0x112)])([_0x2d93a5],null)||[_0x2d93a5];this[_0x737e73(0x233)](_0x7eff47[0x0]);})),_0x13f04a;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),j(0x4,a[_0x387fe2(0x25f)](p[_0x387fe2(0x265)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a['Inject'](p[_0x387fe2(0x3e4)])),j(0x7,a[_0x387fe2(0x25f)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x387fe2(0x25f)](ee)),j(0x9,a[_0x387fe2(0x2d9)]),j(0xa,a[_0x387fe2(0x228)]),j(0xb,a['IPermissionService']),j(0xc,a[_0x387fe2(0x209)](de)),j(0xd,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x314)]);var hi=Object[_0x387fe2(0xff)],_i=(_0x186fc6,_0x4f4974,_0x7c5f85,_0x282eed)=>{var _0x3c3e3f=_0x387fe2;for(var _0x40fe17=_0x282eed>0x1?void 0x0:_0x282eed?hi(_0x4f4974,_0x7c5f85):_0x4f4974,_0x27dd68=_0x186fc6[_0x3c3e3f(0x2b4)]-0x1,_0xfd73d0;_0x27dd68>=0x0;_0x27dd68--)(_0xfd73d0=_0x186fc6[_0x27dd68])&&(_0x40fe17=_0xfd73d0(_0x40fe17)||_0x40fe17);return _0x40fe17;},Se=(_0x3361c5,_0xc9712e)=>(_0x32f066,_0x555b86)=>_0xc9712e(_0x32f066,_0x555b86,_0x3361c5);exports['CollaborationController']=class extends a[_0x387fe2(0x41a)]{constructor(_0x10d828,_0x1e3974,_0x22fda8,_0x5f0825){var _0x4fc5f7=_0x387fe2,_0x3b0d70;super(),A(this,_0x4fc5f7(0x39a),new Map()),A(this,'_entityInit$',new H['Subject']()),A(this,_0x4fc5f7(0x2af),this[_0x4fc5f7(0x3b2)]['asObservable']()),(this[_0x4fc5f7(0x285)]=_0x10d828,this['_collabSessionService']=_0x1e3974,this['_configService']=_0x22fda8,this[_0x4fc5f7(0x396)]=_0x5f0825,((_0x3b0d70=this[_0x4fc5f7(0x3a0)][_0x4fc5f7(0x19c)](Y))==null?void 0x0:_0x3b0d70[_0x4fc5f7(0x419)])!==!0x1&&this[_0x4fc5f7(0x30b)]());}['dispose'](){var _0x5d39e8=_0x387fe2;super[_0x5d39e8(0x32a)](),this[_0x5d39e8(0x39a)][_0x5d39e8(0x138)](_0x3c8a41=>_0x3c8a41[_0x5d39e8(0x32a)]()),this[_0x5d39e8(0x39a)][_0x5d39e8(0x1e7)]();}[_0x387fe2(0x392)](_0x550ba8){var _0x370eb5=_0x387fe2,_0x3dbd7e;return(_0x3dbd7e=this[_0x370eb5(0x39a)][_0x370eb5(0x12a)](_0x550ba8))!=null?_0x3dbd7e:null;}['getCollabEntity$'](_0x51f156){var _0x11594a=_0x387fe2;const _0x5eb4a9=this[_0x11594a(0x392)](_0x51f156);return _0x5eb4a9?H['of'](_0x5eb4a9):this[_0x11594a(0x3b2)]['pipe'](V[_0x11594a(0x30f)](_0x11fea3=>_0x11fea3[_0x11594a(0x287)]===_0x51f156));}[_0x387fe2(0x10f)](_0x37dd40){var _0x4dc608=_0x387fe2;return H[_0x4dc608(0x1df)](this['getCollabEntity$'](_0x37dd40)[_0x4dc608(0x3cd)](V[_0x4dc608(0xf0)](()=>{})));}['_init'](){var _0x6c03dc=_0x387fe2;this[_0x6c03dc(0x396)][_0x6c03dc(0x186)](a[_0x6c03dc(0xc9)][_0x6c03dc(0x107)])['pipe'](H['takeUntil'](this[_0x6c03dc(0xc3)]),V[_0x6c03dc(0x35c)](0x10))[_0x6c03dc(0x3a3)](async _0x128239=>{var _0x50509d=_0x6c03dc;const _0x1e6ded=_0x128239[_0x50509d(0x195)](),_0x51b79a=await this[_0x50509d(0x1e6)](_0x1e6ded,J[_0x50509d(0x107)]);this[_0x50509d(0x39a)][_0x50509d(0x1b1)](_0x1e6ded,_0x51b79a);}),this[_0x6c03dc(0x396)][_0x6c03dc(0x186)](a[_0x6c03dc(0xc9)][_0x6c03dc(0x2a5)])[_0x6c03dc(0x3cd)](H['takeUntil'](this[_0x6c03dc(0xc3)]),V[_0x6c03dc(0x35c)](0x10))[_0x6c03dc(0x3cd)](V[_0x6c03dc(0x30f)](_0x3d15a8=>!_0x3d15a8[_0x6c03dc(0x195)]()['startsWith']('__')))[_0x6c03dc(0x3a3)](async _0x38fd68=>{var _0x37465a=_0x6c03dc;const _0x4914a0=_0x38fd68[_0x37465a(0x195)](),_0x992993=await this[_0x37465a(0x1e6)](_0x4914a0,J[_0x37465a(0x2a5)]);this['_entities']['set'](_0x4914a0,_0x992993);}),H[_0x6c03dc(0x155)](this['_univerInstanceService'][_0x6c03dc(0x3ef)](a['UniverInstanceType'][_0x6c03dc(0x107)]),this['_univerInstanceService'][_0x6c03dc(0x3ef)](a[_0x6c03dc(0xc9)][_0x6c03dc(0x2a5)]))[_0x6c03dc(0x3cd)](H[_0x6c03dc(0x1bd)](this['dispose$']))[_0x6c03dc(0x3a3)](_0x5e26b3=>{var _0x1dca0c=_0x6c03dc;const _0x38cac3=_0x5e26b3[_0x1dca0c(0x195)](),_0x20d24d=this['_entities']['get'](_0x38cac3);_0x20d24d&&(_0x20d24d[_0x1dca0c(0x32a)](),this[_0x1dca0c(0x39a)]['delete'](_0x38cac3));});}async[_0x387fe2(0x1e6)](_0x1b1a89,_0x3d00b7){var _0x4a8fc7=_0x387fe2;const _0x30eb3d=await this[_0x4a8fc7(0x36c)]['requireSession'](_0x1b1a89),_0x5c0af0=this['_injector']['createInstance'](this[_0x4a8fc7(0xb8)](_0x3d00b7),_0x1b1a89,_0x3d00b7,_0x30eb3d);return await _0x5c0af0[_0x4a8fc7(0x22e)](),this[_0x4a8fc7(0x3b2)][_0x4a8fc7(0x1dc)](_0x5c0af0),_0x5c0af0;}['_getCtorByUniverType'](_0x596f52){var _0x37567e=_0x387fe2;switch(_0x596f52){case J['UNIVER_DOC']:return exports[_0x37567e(0x1a6)];case J[_0x37567e(0x107)]:return exports[_0x37567e(0x314)];default:throw new Error(_0x37567e(0x310)+_0x596f52);}}},exports['CollaborationController']=_i([Se(0x0,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),Se(0x1,a[_0x387fe2(0x25f)](exports[_0x387fe2(0x3e6)])),Se(0x2,a[_0x387fe2(0x3b6)]),Se(0x3,a[_0x387fe2(0x31c)])],exports[_0x387fe2(0x2c3)]);var li=Object[_0x387fe2(0xff)],ui=(_0x4d0aec,_0x4846ba,_0xff88af,_0x2ff6d8)=>{var _0x77a6aa=_0x387fe2;for(var _0x563cd3=_0x2ff6d8>0x1?void 0x0:_0x2ff6d8?li(_0x4846ba,_0xff88af):_0x4846ba,_0x46f4d3=_0x4d0aec[_0x77a6aa(0x2b4)]-0x1,_0x48e84f;_0x46f4d3>=0x0;_0x46f4d3--)(_0x48e84f=_0x4d0aec[_0x46f4d3])&&(_0x563cd3=_0x48e84f(_0x563cd3)||_0x563cd3);return _0x563cd3;},Ye=(_0x811ed3,_0xb7ad4b)=>(_0x173d88,_0x1fc46a)=>_0xb7ad4b(_0x173d88,_0x1fc46a,_0x811ed3);const di=_0x387fe2(0xee),vi=_0x387fe2(0x1c1);let xe=class extends a['Disposable']{constructor(_0xbd3bb4,_0x5cfb6a){var _0x3c31a0=_0x387fe2;super(),this[_0x3c31a0(0x396)]=_0xbd3bb4,this[_0x3c31a0(0x3a0)]=_0x5cfb6a,this[_0x3c31a0(0x30b)]();}[_0x387fe2(0x30b)](){var _0x4d1605=_0x387fe2;this['disposeWithMe'](this[_0x4d1605(0x396)][_0x4d1605(0x1b4)][_0x4d1605(0x3a3)](()=>{var _0x4de055=_0x4d1605,_0x494771;const _0x7acb82=this[_0x4de055(0x396)][_0x4de055(0x34a)]();let _0x4dd68f=(_0x494771=this[_0x4de055(0x3a0)][_0x4de055(0x19c)](di))!=null?_0x494771:vi;_0x7acb82 instanceof a[_0x4de055(0x11c)]&&(_0x4dd68f=_0x7acb82[_0x4de055(0x16a)]),document[_0x4de055(0x19b)]=_0x4dd68f;}));}};xe=ui([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x387fe2(0x3b6)])],xe);var Si=Object[_0x387fe2(0xff)],fi=(_0x46ad9d,_0x5eb48e,_0x23e55e,_0x53e0e4)=>{var _0x545d9e=_0x387fe2;for(var _0x3afe6b=_0x53e0e4>0x1?void 0x0:_0x53e0e4?Si(_0x5eb48e,_0x23e55e):_0x5eb48e,_0x474dd9=_0x46ad9d[_0x545d9e(0x2b4)]-0x1,_0x378454;_0x474dd9>=0x0;_0x474dd9--)(_0x378454=_0x46ad9d[_0x474dd9])&&(_0x3afe6b=_0x378454(_0x3afe6b)||_0x3afe6b);return _0x3afe6b;},Ae=(_0x175573,_0x4f313b)=>(_0x188dce,_0x97da37)=>_0x4f313b(_0x188dce,_0x97da37,_0x175573);let ye=class{constructor(_0x34b74b,_0x44913c,_0x1fb14a){var _0x4c1dd3=_0x387fe2;this[_0x4c1dd3(0x3a0)]=_0x34b74b,this[_0x4c1dd3(0x3da)]=_0x44913c,this[_0x4c1dd3(0x3f3)]=_0x1fb14a,this[_0x4c1dd3(0x22e)]();}['init'](){var _0x5c2b34=_0x387fe2;this[_0x5c2b34(0x3da)][_0x5c2b34(0xde)]({'priority':0x1,'interceptor':(_0x20cd9a,_0x4637bc)=>_0x4637bc(_0x20cd9a)[_0x5c2b34(0x3cd)](H[_0x5c2b34(0x3fc)](async _0x5e8db1=>{var _0x167960=_0x5c2b34;const _0x86291a=_0x5e8db1;if(_0x86291a[_0x167960(0xe3)]===0x191){if(typeof window>'u')throw new Error(_0x167960(0x2b8));if(window[_0x167960(0x425)](this[_0x167960(0x3f3)]['t'](_0x167960(0x3ab)))){const _0x489947=window[_0x167960(0x2ab)](window[_0x167960(0xb7)][_0x167960(0x2cc)]);window[_0x167960(0xb7)][_0x167960(0x2cc)]=this[_0x167960(0x280)]()+_0x167960(0x2d4)+_0x489947;}}return _0x86291a;}))});}[_0x387fe2(0x280)](){var _0x41ce27=_0x387fe2,_0x26a091;const _0x3e9a8a=this[_0x41ce27(0x3a0)][_0x41ce27(0x19c)](Y);return(_0x26a091=_0x3e9a8a==null?void 0x0:_0x3e9a8a[_0x41ce27(0x3e8)])!=null?_0x26a091:$t;}};ye=fi([Ae(0x0,a[_0x387fe2(0x3b6)]),Ae(0x1,a[_0x387fe2(0x25f)](q['HTTPService'])),Ae(0x2,a[_0x387fe2(0x25f)](a[_0x387fe2(0x349)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x5edeff,_0x4efd72,_0x10cb42,_0x1f4619)=>{var _0x1adcfe=_0x387fe2;for(var _0x486120=_0x1f4619>0x1?void 0x0:_0x1f4619?Ii(_0x4efd72,_0x10cb42):_0x4efd72,_0x552159=_0x5edeff[_0x1adcfe(0x2b4)]-0x1,_0x158ed8;_0x552159>=0x0;_0x552159--)(_0x158ed8=_0x5edeff[_0x552159])&&(_0x486120=_0x158ed8(_0x486120)||_0x486120);return _0x486120;},qe=(_0xd7f159,_0x5266fd)=>(_0xf045e8,_0x2298c6)=>_0x5266fd(_0xf045e8,_0x2298c6,_0xd7f159);const mi=_0x387fe2(0x3e1);exports['AuthzIoHttpService']=class extends a[_0x387fe2(0x1ee)]{constructor(_0x1818d0,_0x567723){var _0x45942d=_0x387fe2;super(),this[_0x45942d(0x28c)]=_0x1818d0,this[_0x45942d(0x3a0)]=_0x567723,this[_0x45942d(0x24e)]();}[_0x387fe2(0x24e)](){var _0x1d9e8a=_0x387fe2;const _0x424afd=this;this[_0x1d9e8a(0xbc)](this[_0x1d9e8a(0x28c)][_0x1d9e8a(0xde)]({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x3a9644){var _0x26f811=_0x1d9e8a,_0x5a4166;if(_0x3a9644['method']==='POST'&&((_0x5a4166=_0x3a9644['requestParams'])!=null&&_0x5a4166[_0x26f811(0x1c9)])){const {objectID:_0x563b42,objectType:_0x29f500}=_0x3a9644[_0x26f811(0x1e1)][_0x26f811(0x1c9)]||{};if(!_0x563b42||_0x29f500===void 0x0)return!0x1;const _0x4d6aab=_0x424afd[_0x26f811(0x2cd)]()+'/'+_0x29f500+_0x26f811(0x145)+_0x563b42+_0x26f811(0xd5);if(_0x3a9644['url']===_0x4d6aab)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x292757){var _0x598416=_0x1d9e8a,_0x4ebea7;return(_0x4ebea7=_0x292757[_0x598416(0x1e1)])==null?void 0x0:_0x4ebea7[_0x598416(0x1c9)];},'mergeParamsToRequest'(_0x58da38,_0x2b5e69){var _0x57f7a1=_0x1d9e8a;const _0x4503d7=_0x424afd[_0x57f7a1(0x2cd)]()+_0x57f7a1(0x3a7),_0x3eedf9=_0x58da38['reduce']((_0x5d646f,_0x33219f)=>{var _0x1672c3=_0x57f7a1;const {unitID:_0x2e7491,objectID:_0x5893ae,objectType:_0xafabc2,actions:_0x2afdbd}=_0x33219f;return _0x5d646f[_0x2e7491]||(_0x5d646f[_0x2e7491]={}),_0x5d646f[_0x2e7491][_0x5893ae]||(_0x5d646f[_0x2e7491][_0x5893ae]={'objectID':_0x5893ae,'objectType':_0xafabc2,'actions':[]}),_0x5d646f[_0x2e7491][_0x5893ae][_0x1672c3(0x32f)][_0x1672c3(0x2a6)](..._0x2afdbd),_0x5d646f;},{}),_0x506eba=[];for(const _0x3f1d67 in _0x3eedf9)for(const _0x5397ef in _0x3eedf9[_0x3f1d67]){const {actions:_0x1b9e7a,objectType:_0x10ef1a}=_0x3eedf9[_0x3f1d67][_0x5397ef],_0xb7c97b=[...new Set(_0x1b9e7a)];_0x506eba[_0x57f7a1(0x2a6)]({'unitID':_0x3f1d67,'objectID':_0x5397ef,'objectType':_0x10ef1a,'actions':_0xb7c97b});}return new q[(_0x57f7a1(0xc4))]('POST',_0x4503d7,{'headers':_0x2b5e69[_0x57f7a1(0x394)],'withCredentials':_0x2b5e69[_0x57f7a1(0x339)],'responseType':_0x2b5e69['responseType'],'body':{'requests':_0x506eba}});}},{'distributeResult'(_0x2f6a40,_0x1b0526){var _0x5dea86=_0x1d9e8a;const {objectActions:_0xad75f9}=_0x2f6a40;return _0x1b0526[_0x5dea86(0xf0)](_0x5c1829=>{var _0x16929b=_0x5dea86;const {unitID:_0x559fe5,objectID:_0x2f9ecb,actions:_0x346296}=_0x5c1829,_0x29fe34=_0xad75f9['find'](_0x55ba62=>_0x55ba62[_0x16929b(0x287)]===_0x559fe5&&_0x55ba62[_0x16929b(0x174)]===_0x2f9ecb),_0x1f2c55=_0x346296['map'](_0x3a16de=>_0x29fe34==null?void 0x0:_0x29fe34[_0x16929b(0x32f)][_0x16929b(0x2c2)](_0x293907=>_0x293907[_0x16929b(0x2da)]===_0x3a16de))[_0x16929b(0x30f)](_0x50a896=>!!_0x50a896);return{'config':_0x5c1829,'result':{'actions':_0x1f2c55,'error':_0x2f6a40[_0x16929b(0x305)]}};});}})}));}[_0x387fe2(0x2cd)](){var _0x5a58b0=_0x387fe2,_0x3f8de7;const _0x2f15b7=this[_0x5a58b0(0x3a0)][_0x5a58b0(0x19c)](Y);return(_0x3f8de7=_0x2f15b7==null?void 0x0:_0x2f15b7[_0x5a58b0(0xfa)])!=null?_0x3f8de7:mi;}async['create'](_0x25cd68){var _0x3e730d=_0x387fe2;const _0x5c9689=this[_0x3e730d(0x2cd)]()+'/'+_0x25cd68[_0x3e730d(0x253)]+_0x3e730d(0x1d9);return(await this[_0x3e730d(0x28c)][_0x3e730d(0x1b6)](_0x5c9689,{'body':_0x25cd68}))[_0x3e730d(0x1c9)][_0x3e730d(0x174)]||'';}async['list'](_0x49f5d8){var _0x4950ad=_0x387fe2;const _0x3f1fca=this[_0x4950ad(0x2cd)]()+_0x4950ad(0x216);return(await this[_0x4950ad(0x28c)][_0x4950ad(0x1b6)](_0x3f1fca,{'body':_0x49f5d8}))[_0x4950ad(0x1c9)]['objects'];}async['update'](_0x19a1fb){var _0x552c42=_0x387fe2,_0x271db3,_0x5786f9;const _0x749eb=this[_0x552c42(0x2cd)]()+'/'+_0x19a1fb[_0x552c42(0x253)]+_0x552c42(0x145)+_0x19a1fb[_0x552c42(0x174)],_0x563da0=await this[_0x552c42(0x28c)][_0x552c42(0x2fa)](_0x749eb,{'body':_0x19a1fb});if(((_0x5786f9=(_0x271db3=_0x563da0==null?void 0x0:_0x563da0[_0x552c42(0x1c9)])==null?void 0x0:_0x271db3[_0x552c42(0x305)])==null?void 0x0:_0x5786f9['code'])!==0x1)throw new Error(_0x552c42(0x264));}async[_0x387fe2(0x3f6)](_0x14dff7){var _0x92267c=_0x387fe2;const _0x4dc779=this[_0x92267c(0x2cd)]()+'/'+_0x14dff7[_0x92267c(0x253)]+'/object/'+_0x14dff7['objectID']+'/allowed';return(await this[_0x92267c(0x28c)]['post'](_0x4dc779,{'body':_0x14dff7}))[_0x92267c(0x1c9)][_0x92267c(0x32f)];}async['batchAllowed'](_0x48da51){var _0x2cede2=_0x387fe2;const _0x43cca9=this['_getAPIPrefixPath']()+_0x2cede2(0x3a7);return(await this[_0x2cede2(0x28c)]['post'](_0x43cca9,{'body':{'requests':_0x48da51}}))[_0x2cede2(0x1c9)][_0x2cede2(0x37d)];}async[_0x387fe2(0x327)](_0x32a39b){var _0x373f9a=_0x387fe2;const _0x2b8895=this[_0x373f9a(0x2cd)]()+'/'+_0x32a39b['objectType']+_0x373f9a(0x23c),_0x2ab06a=await this[_0x373f9a(0x28c)][_0x373f9a(0x1b6)](_0x2b8895,{'body':_0x32a39b});return{'roles':_0x2ab06a['body'][_0x373f9a(0xfd)],'actions':_0x2ab06a['body'][_0x373f9a(0x32f)]};}async[_0x387fe2(0x21e)](_0x193f4b){var _0x13e07c=_0x387fe2;const _0x4e9706=this[_0x13e07c(0x2cd)]()+'/collaborator';await this[_0x13e07c(0x28c)][_0x13e07c(0x25c)](_0x4e9706,{'params':{'collaboratorID':_0x193f4b[_0x13e07c(0xa8)],'objectID':_0x193f4b[_0x13e07c(0x174)],'unitID':_0x193f4b['unitID']}});}async[_0x387fe2(0x3eb)](_0x41a0e7){var _0x5312c4=_0x387fe2;const _0x199ab4=this[_0x5312c4(0x2cd)]()+'/collaborator';await this[_0x5312c4(0x28c)][_0x5312c4(0x2e7)](_0x199ab4,{'body':_0x41a0e7});}async[_0x387fe2(0x225)](_0x43dea7){var _0x1ed4c4=_0x387fe2;const _0x3bff5e=this[_0x1ed4c4(0x2cd)]()+_0x1ed4c4(0x1ec);await this[_0x1ed4c4(0x28c)][_0x1ed4c4(0x1b6)](_0x3bff5e,{'body':_0x43dea7});}async[_0x387fe2(0x3c7)](_0x409a11){var _0x23ebdb=_0x387fe2;const _0x556633=this[_0x23ebdb(0x2cd)]()+_0x23ebdb(0x1ec);return(await this[_0x23ebdb(0x28c)][_0x23ebdb(0x12a)](_0x556633,{'params':{'objectID':_0x409a11[_0x23ebdb(0x174)],'unitID':_0x409a11[_0x23ebdb(0x287)]}}))[_0x23ebdb(0x1c9)][_0x23ebdb(0xae)];}async[_0x387fe2(0x3f4)](_0xf8c59f){var _0x30a8f5=_0x387fe2;const _0x1b65fb=this[_0x30a8f5(0x2cd)]()+_0x30a8f5(0x1ec);await this[_0x30a8f5(0x28c)]['put'](_0x1b65fb,{'body':_0xf8c59f});}},exports[_0x387fe2(0x115)]=pi([qe(0x0,a['Inject'](q[_0x387fe2(0x10b)])),qe(0x1,a['Inject'](a[_0x387fe2(0x3b6)]))],exports[_0x387fe2(0x115)]);function _0x2609(_0x41276,_0x399f51){var _0x1cd98c=_0x1cd9();return _0x2609=function(_0x2609c9,_0x3fd8b8){_0x2609c9=_0x2609c9-0xa4;var _0x2f83e2=_0x1cd98c[_0x2609c9];return _0x2f83e2;},_0x2609(_0x41276,_0x399f51);}var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x47c95c){var _0x4cdd08=_0x387fe2;return _0x47c95c&&_0x47c95c['__esModule']&&Object[_0x4cdd08(0x332)][_0x4cdd08(0x296)]['call'](_0x47c95c,_0x4cdd08(0xfb))?_0x47c95c[_0x4cdd08(0xfb)]:_0x47c95c;}var fe={'exports':{}};function gi(_0x560a69){var _0x26e1a2=_0x387fe2;throw new Error(_0x26e1a2(0x231)+_0x560a69+'\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 _0x5905dd=_0x387fe2;return Ke||(Ke=0x1,function(_0x27bc83,_0x3f6e37){(function(_0x3fc7d2,_0x284ad5){var _0x25b330=_0x2609;_0x27bc83[_0x25b330(0x387)]=_0x284ad5();}(Ei,function(){var _0x505b39=_0x505b39||function(_0x12bb5c,_0x4cc048){var _0x364c2c=_0x2609,_0x6641b2;if(typeof window<'u'&&window['crypto']&&(_0x6641b2=window[_0x364c2c(0x271)]),typeof self<'u'&&self['crypto']&&(_0x6641b2=self['crypto']),typeof globalThis<'u'&&globalThis[_0x364c2c(0x271)]&&(_0x6641b2=globalThis[_0x364c2c(0x271)]),!_0x6641b2&&typeof window<'u'&&window[_0x364c2c(0x20d)]&&(_0x6641b2=window['msCrypto']),!_0x6641b2&&typeof Pe<'u'&&Pe[_0x364c2c(0x271)]&&(_0x6641b2=Pe[_0x364c2c(0x271)]),!_0x6641b2&&typeof gi==_0x364c2c(0x329))try{_0x6641b2=require('crypto');}catch{}var _0x158d6f=function(){var _0x39e8a=_0x364c2c;if(_0x6641b2){if(typeof _0x6641b2[_0x39e8a(0x384)]=='function')try{return _0x6641b2[_0x39e8a(0x384)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x6641b2['randomBytes']==_0x39e8a(0x329))try{return _0x6641b2[_0x39e8a(0x119)](0x4)[_0x39e8a(0x282)]();}catch{}}throw new Error(_0x39e8a(0x33c));},_0x21f3b9=Object['create']||(function(){function _0x5cfff3(){}return function(_0x231d03){var _0x520c3f=_0x2609,_0x537da5;return _0x5cfff3[_0x520c3f(0x332)]=_0x231d03,_0x537da5=new _0x5cfff3(),_0x5cfff3[_0x520c3f(0x332)]=null,_0x537da5;};}()),_0x1b3224={},_0x364b6f=_0x1b3224[_0x364c2c(0x248)]={},_0x354dcd=_0x364b6f[_0x364c2c(0x167)]=(function(){return{'extend':function(_0x125c03){var _0xf7b86c=_0x2609,_0x529187=_0x21f3b9(this);return _0x125c03&&_0x529187[_0xf7b86c(0x28a)](_0x125c03),(!_0x529187['hasOwnProperty']('init')||this[_0xf7b86c(0x22e)]===_0x529187[_0xf7b86c(0x22e)])&&(_0x529187[_0xf7b86c(0x22e)]=function(){var _0x13f915=_0xf7b86c;_0x529187[_0x13f915(0xea)][_0x13f915(0x22e)][_0x13f915(0x1fb)](this,arguments);}),_0x529187[_0xf7b86c(0x22e)]['prototype']=_0x529187,_0x529187['$super']=this,_0x529187;},'create':function(){var _0x5524fe=_0x2609,_0x11c963=this[_0x5524fe(0x28b)]();return _0x11c963['init'][_0x5524fe(0x1fb)](_0x11c963,arguments),_0x11c963;},'init':function(){},'mixIn':function(_0x42dab7){var _0x4547f1=_0x2609;for(var _0x3def01 in _0x42dab7)_0x42dab7[_0x4547f1(0x296)](_0x3def01)&&(this[_0x3def01]=_0x42dab7[_0x3def01]);_0x42dab7[_0x4547f1(0x296)]('toString')&&(this[_0x4547f1(0x20e)]=_0x42dab7['toString']);},'clone':function(){var _0x3ad9b5=_0x2609;return this[_0x3ad9b5(0x22e)][_0x3ad9b5(0x332)][_0x3ad9b5(0x28b)](this);}};}()),_0x52a684=_0x364b6f['WordArray']=_0x354dcd[_0x364c2c(0x28b)]({'init':function(_0x22349a,_0x40665f){var _0x290c20=_0x364c2c;_0x22349a=this['words']=_0x22349a||[],_0x40665f!=_0x4cc048?this['sigBytes']=_0x40665f:this['sigBytes']=_0x22349a[_0x290c20(0x2b4)]*0x4;},'toString':function(_0x4f83a5){var _0x47dde0=_0x364c2c;return(_0x4f83a5||_0x3fb389)[_0x47dde0(0xe1)](this);},'concat':function(_0x2d6d03){var _0x137bdf=_0x364c2c,_0x5ec4e6=this['words'],_0x5ef43b=_0x2d6d03[_0x137bdf(0x1bf)],_0x2d2ff2=this[_0x137bdf(0x421)],_0x7b061a=_0x2d6d03[_0x137bdf(0x421)];if(this[_0x137bdf(0x29e)](),_0x2d2ff2%0x4)for(var _0x2085d0=0x0;_0x2085d0<_0x7b061a;_0x2085d0++){var _0x329935=_0x5ef43b[_0x2085d0>>>0x2]>>>0x18-_0x2085d0%0x4*0x8&0xff;_0x5ec4e6[_0x2d2ff2+_0x2085d0>>>0x2]|=_0x329935<<0x18-(_0x2d2ff2+_0x2085d0)%0x4*0x8;}else{for(var _0x13cf27=0x0;_0x13cf27<_0x7b061a;_0x13cf27+=0x4)_0x5ec4e6[_0x2d2ff2+_0x13cf27>>>0x2]=_0x5ef43b[_0x13cf27>>>0x2];}return this['sigBytes']+=_0x7b061a,this;},'clamp':function(){var _0x2c4954=_0x364c2c,_0x3ced0b=this[_0x2c4954(0x1bf)],_0x3c1cd1=this[_0x2c4954(0x421)];_0x3ced0b[_0x3c1cd1>>>0x2]&=0xffffffff<<0x20-_0x3c1cd1%0x4*0x8,_0x3ced0b[_0x2c4954(0x2b4)]=_0x12bb5c[_0x2c4954(0x290)](_0x3c1cd1/0x4);},'clone':function(){var _0x14d338=_0x364c2c,_0x2688f2=_0x354dcd[_0x14d338(0x29b)][_0x14d338(0x239)](this);return _0x2688f2[_0x14d338(0x1bf)]=this[_0x14d338(0x1bf)][_0x14d338(0xa5)](0x0),_0x2688f2;},'random':function(_0x5a8b30){var _0x15beeb=_0x364c2c;for(var _0x2ab376=[],_0x197606=0x0;_0x197606<_0x5a8b30;_0x197606+=0x4)_0x2ab376[_0x15beeb(0x2a6)](_0x158d6f());return new _0x52a684[(_0x15beeb(0x22e))](_0x2ab376,_0x5a8b30);}}),_0x36c1d0=_0x1b3224['enc']={},_0x3fb389=_0x36c1d0[_0x364c2c(0x426)]={'stringify':function(_0xab9fec){var _0x322c8e=_0x364c2c;for(var _0x1c79ad=_0xab9fec[_0x322c8e(0x1bf)],_0x5230e5=_0xab9fec[_0x322c8e(0x421)],_0xc3f4a6=[],_0x53de67=0x0;_0x53de67<_0x5230e5;_0x53de67++){var _0x4b3c59=_0x1c79ad[_0x53de67>>>0x2]>>>0x18-_0x53de67%0x4*0x8&0xff;_0xc3f4a6['push']((_0x4b3c59>>>0x4)[_0x322c8e(0x20e)](0x10)),_0xc3f4a6[_0x322c8e(0x2a6)]((_0x4b3c59&0xf)[_0x322c8e(0x20e)](0x10));}return _0xc3f4a6[_0x322c8e(0x16e)]('');},'parse':function(_0x38f3cb){var _0x66ce7e=_0x364c2c;for(var _0x1660ee=_0x38f3cb[_0x66ce7e(0x2b4)],_0x37f123=[],_0x6c529d=0x0;_0x6c529d<_0x1660ee;_0x6c529d+=0x2)_0x37f123[_0x6c529d>>>0x3]|=parseInt(_0x38f3cb[_0x66ce7e(0x367)](_0x6c529d,0x2),0x10)<<0x18-_0x6c529d%0x8*0x4;return new _0x52a684['init'](_0x37f123,_0x1660ee/0x2);}},_0x55dbb4=_0x36c1d0['Latin1']={'stringify':function(_0x5379a8){var _0x3220a4=_0x364c2c;for(var _0x679240=_0x5379a8[_0x3220a4(0x1bf)],_0x37b183=_0x5379a8[_0x3220a4(0x421)],_0x2c15a0=[],_0x11f55c=0x0;_0x11f55c<_0x37b183;_0x11f55c++){var _0x3b3790=_0x679240[_0x11f55c>>>0x2]>>>0x18-_0x11f55c%0x4*0x8&0xff;_0x2c15a0['push'](String[_0x3220a4(0x134)](_0x3b3790));}return _0x2c15a0[_0x3220a4(0x16e)]('');},'parse':function(_0x25f9c8){var _0x3b7699=_0x364c2c;for(var _0xc7af8f=_0x25f9c8[_0x3b7699(0x2b4)],_0x365e8f=[],_0x24e160=0x0;_0x24e160<_0xc7af8f;_0x24e160++)_0x365e8f[_0x24e160>>>0x2]|=(_0x25f9c8[_0x3b7699(0x2c5)](_0x24e160)&0xff)<<0x18-_0x24e160%0x4*0x8;return new _0x52a684['init'](_0x365e8f,_0xc7af8f);}},_0x40c600=_0x36c1d0[_0x364c2c(0x26b)]={'stringify':function(_0x45b1e8){var _0x142a4a=_0x364c2c;try{return decodeURIComponent(escape(_0x55dbb4['stringify'](_0x45b1e8)));}catch{throw new Error(_0x142a4a(0xd1));}},'parse':function(_0x5a1a9b){var _0x29b4fa=_0x364c2c;return _0x55dbb4[_0x29b4fa(0x3aa)](unescape(encodeURIComponent(_0x5a1a9b)));}},_0x2a9c74=_0x364b6f['BufferedBlockAlgorithm']=_0x354dcd['extend']({'reset':function(){var _0x45be84=_0x364c2c;this[_0x45be84(0x108)]=new _0x52a684[(_0x45be84(0x22e))](),this['_nDataBytes']=0x0;},'_append':function(_0x59aedb){var _0x2864cb=_0x364c2c;typeof _0x59aedb==_0x2864cb(0x424)&&(_0x59aedb=_0x40c600[_0x2864cb(0x3aa)](_0x59aedb)),this[_0x2864cb(0x108)]['concat'](_0x59aedb),this[_0x2864cb(0x135)]+=_0x59aedb[_0x2864cb(0x421)];},'_process':function(_0x302efb){var _0x561fe5=_0x364c2c,_0x4f2a95,_0x5a8705=this[_0x561fe5(0x108)],_0x307d02=_0x5a8705[_0x561fe5(0x1bf)],_0x1597f4=_0x5a8705[_0x561fe5(0x421)],_0x284eb0=this[_0x561fe5(0x395)],_0x29d97e=_0x284eb0*0x4,_0x4ffaf9=_0x1597f4/_0x29d97e;_0x302efb?_0x4ffaf9=_0x12bb5c['ceil'](_0x4ffaf9):_0x4ffaf9=_0x12bb5c[_0x561fe5(0x276)]((_0x4ffaf9|0x0)-this[_0x561fe5(0x122)],0x0);var _0x5393cd=_0x4ffaf9*_0x284eb0,_0x20ae15=_0x12bb5c[_0x561fe5(0x1b2)](_0x5393cd*0x4,_0x1597f4);if(_0x5393cd){for(var _0x525f06=0x0;_0x525f06<_0x5393cd;_0x525f06+=_0x284eb0)this[_0x561fe5(0x3d9)](_0x307d02,_0x525f06);_0x4f2a95=_0x307d02[_0x561fe5(0x176)](0x0,_0x5393cd),_0x5a8705['sigBytes']-=_0x20ae15;}return new _0x52a684[(_0x561fe5(0x22e))](_0x4f2a95,_0x20ae15);},'clone':function(){var _0x2cc439=_0x364c2c,_0x953af9=_0x354dcd['clone'][_0x2cc439(0x239)](this);return _0x953af9[_0x2cc439(0x108)]=this[_0x2cc439(0x108)][_0x2cc439(0x29b)](),_0x953af9;},'_minBufferSize':0x0});_0x364b6f[_0x364c2c(0x187)]=_0x2a9c74[_0x364c2c(0x28b)]({'cfg':_0x354dcd[_0x364c2c(0x28b)](),'init':function(_0x42d83b){this['cfg']=this['cfg']['extend'](_0x42d83b),this['reset']();},'reset':function(){var _0x38af2a=_0x364c2c;_0x2a9c74[_0x38af2a(0x142)]['call'](this),this[_0x38af2a(0x348)]();},'update':function(_0x54c3f1){var _0x5951c8=_0x364c2c;return this[_0x5951c8(0x262)](_0x54c3f1),this[_0x5951c8(0x28f)](),this;},'finalize':function(_0x4234df){var _0x1d01b1=_0x364c2c;_0x4234df&&this['_append'](_0x4234df);var _0x2f5efe=this[_0x1d01b1(0x320)]();return _0x2f5efe;},'blockSize':0x10,'_createHelper':function(_0x4ab092){return function(_0x48e020,_0xb5b686){return new _0x4ab092['init'](_0xb5b686)['finalize'](_0x48e020);};},'_createHmacHelper':function(_0x1e6401){return function(_0x4a07a9,_0x3e2f61){var _0x82822=_0x2609;return new _0x477368[(_0x82822(0x35f))][(_0x82822(0x22e))](_0x1e6401,_0x3e2f61)[_0x82822(0x267)](_0x4a07a9);};}});var _0x477368=_0x1b3224[_0x364c2c(0x2cb)]={};return _0x1b3224;}(Math);return _0x505b39;}));}(Ie)),Ie[_0x5905dd(0x387)];}var pe={'exports':{}},Ci=pe['exports'],ze;function Et(){return ze||(ze=0x1,function(_0x1f1c20,_0x5c3890){(function(_0xf19eed,_0x4b4d13){_0x1f1c20['exports']=_0x4b4d13(Q());}(Ci,function(_0x3f173d){var _0x31360b=_0x2609;return(function(){var _0x44a133=_0x2609,_0x51a7b=_0x3f173d,_0x4b4968=_0x51a7b[_0x44a133(0x248)],_0x405b67=_0x4b4968[_0x44a133(0x3ac)],_0x200931=_0x51a7b[_0x44a133(0x11f)];_0x200931[_0x44a133(0x3d7)]={'stringify':function(_0x3ab06f){var _0x1b9d0d=_0x44a133,_0x51752a=_0x3ab06f['words'],_0x2b2e26=_0x3ab06f[_0x1b9d0d(0x421)],_0x5bd8de=this[_0x1b9d0d(0x286)];_0x3ab06f[_0x1b9d0d(0x29e)]();for(var _0x4dc915=[],_0x924f78=0x0;_0x924f78<_0x2b2e26;_0x924f78+=0x3)for(var _0x38367c=_0x51752a[_0x924f78>>>0x2]>>>0x18-_0x924f78%0x4*0x8&0xff,_0x52769f=_0x51752a[_0x924f78+0x1>>>0x2]>>>0x18-(_0x924f78+0x1)%0x4*0x8&0xff,_0x2559e0=_0x51752a[_0x924f78+0x2>>>0x2]>>>0x18-(_0x924f78+0x2)%0x4*0x8&0xff,_0x3dd4e9=_0x38367c<<0x10|_0x52769f<<0x8|_0x2559e0,_0x36abea=0x0;_0x36abea<0x4&&_0x924f78+_0x36abea*0.75<_0x2b2e26;_0x36abea++)_0x4dc915[_0x1b9d0d(0x2a6)](_0x5bd8de['charAt'](_0x3dd4e9>>>0x6*(0x3-_0x36abea)&0x3f));var _0x2962dc=_0x5bd8de[_0x1b9d0d(0x2be)](0x40);if(_0x2962dc){for(;_0x4dc915['length']%0x4;)_0x4dc915['push'](_0x2962dc);}return _0x4dc915['join']('');},'parse':function(_0x2c7747){var _0x27e338=_0x44a133,_0x3d25d5=_0x2c7747['length'],_0x550a4e=this[_0x27e338(0x286)],_0x5765e8=this[_0x27e338(0x139)];if(!_0x5765e8){_0x5765e8=this['_reverseMap']=[];for(var _0x23c0a5=0x0;_0x23c0a5<_0x550a4e['length'];_0x23c0a5++)_0x5765e8[_0x550a4e[_0x27e338(0x2c5)](_0x23c0a5)]=_0x23c0a5;}var _0x1535be=_0x550a4e['charAt'](0x40);if(_0x1535be){var _0x33a3bb=_0x2c7747[_0x27e338(0xeb)](_0x1535be);_0x33a3bb!==-0x1&&(_0x3d25d5=_0x33a3bb);}return _0x2226de(_0x2c7747,_0x3d25d5,_0x5765e8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2226de(_0x2ea52f,_0x4e6216,_0x395b6a){var _0x9ebce4=_0x44a133;for(var _0x3f1b1f=[],_0x466eeb=0x0,_0x15f39d=0x0;_0x15f39d<_0x4e6216;_0x15f39d++)if(_0x15f39d%0x4){var _0x1050f7=_0x395b6a[_0x2ea52f['charCodeAt'](_0x15f39d-0x1)]<<_0x15f39d%0x4*0x2,_0x5a7794=_0x395b6a[_0x2ea52f[_0x9ebce4(0x2c5)](_0x15f39d)]>>>0x6-_0x15f39d%0x4*0x2,_0x2f5427=_0x1050f7|_0x5a7794;_0x3f1b1f[_0x466eeb>>>0x2]|=_0x2f5427<<0x18-_0x466eeb%0x4*0x8,_0x466eeb++;}return _0x405b67[_0x9ebce4(0x189)](_0x3f1b1f,_0x466eeb);}}()),_0x3f173d[_0x31360b(0x11f)]['Base64'];}));}(pe)),pe['exports'];}var me={'exports':{}},Ti=me[_0x387fe2(0x387)],Je;function bi(){var _0x2bc92a=_0x387fe2;return Je||(Je=0x1,function(_0x51b2ab,_0x2819ee){(function(_0x9bce71,_0x4c0335){var _0x468fbd=_0x2609;_0x51b2ab[_0x468fbd(0x387)]=_0x4c0335(Q());}(Ti,function(_0x280acd){return function(_0x348a55){var _0x1833d0=_0x2609,_0xd9adf=_0x280acd,_0x555f6f=_0xd9adf[_0x1833d0(0x248)],_0x30c569=_0x555f6f['WordArray'],_0x4493c2=_0x555f6f['Hasher'],_0x3c534e=_0xd9adf[_0x1833d0(0x2cb)],_0x156ff5=[];(function(){var _0xd02bcf=_0x1833d0;for(var _0x486196=0x0;_0x486196<0x40;_0x486196++)_0x156ff5[_0x486196]=_0x348a55[_0xd02bcf(0x3a4)](_0x348a55[_0xd02bcf(0x10e)](_0x486196+0x1))*0x100000000|0x0;}());var _0x3296e1=_0x3c534e[_0x1833d0(0x194)]=_0x4493c2[_0x1833d0(0x28b)]({'_doReset':function(){var _0x5a3704=_0x1833d0;this[_0x5a3704(0x206)]=new _0x30c569[(_0x5a3704(0x22e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x337664,_0x2a28d3){var _0x560904=_0x1833d0;for(var _0x52d4e9=0x0;_0x52d4e9<0x10;_0x52d4e9++){var _0x34966a=_0x2a28d3+_0x52d4e9,_0x345343=_0x337664[_0x34966a];_0x337664[_0x34966a]=(_0x345343<<0x8|_0x345343>>>0x18)&0xff00ff|(_0x345343<<0x18|_0x345343>>>0x8)&0xff00ff00;}var _0x4ec88e=this[_0x560904(0x206)][_0x560904(0x1bf)],_0x237ce2=_0x337664[_0x2a28d3+0x0],_0x50f74d=_0x337664[_0x2a28d3+0x1],_0x27c133=_0x337664[_0x2a28d3+0x2],_0x4f95fb=_0x337664[_0x2a28d3+0x3],_0x4bee42=_0x337664[_0x2a28d3+0x4],_0x3a7ea2=_0x337664[_0x2a28d3+0x5],_0x3958a9=_0x337664[_0x2a28d3+0x6],_0x4d68bc=_0x337664[_0x2a28d3+0x7],_0x248010=_0x337664[_0x2a28d3+0x8],_0x430bf5=_0x337664[_0x2a28d3+0x9],_0x1d4c5c=_0x337664[_0x2a28d3+0xa],_0x2eb5e0=_0x337664[_0x2a28d3+0xb],_0x4c00f5=_0x337664[_0x2a28d3+0xc],_0x74ba35=_0x337664[_0x2a28d3+0xd],_0x557cdc=_0x337664[_0x2a28d3+0xe],_0x14c8be=_0x337664[_0x2a28d3+0xf],_0x59bcaf=_0x4ec88e[0x0],_0x32b818=_0x4ec88e[0x1],_0x253382=_0x4ec88e[0x2],_0x1fce9f=_0x4ec88e[0x3];_0x59bcaf=_0x337f07(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x237ce2,0x7,_0x156ff5[0x0]),_0x1fce9f=_0x337f07(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x50f74d,0xc,_0x156ff5[0x1]),_0x253382=_0x337f07(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x27c133,0x11,_0x156ff5[0x2]),_0x32b818=_0x337f07(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x4f95fb,0x16,_0x156ff5[0x3]),_0x59bcaf=_0x337f07(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x4bee42,0x7,_0x156ff5[0x4]),_0x1fce9f=_0x337f07(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x3a7ea2,0xc,_0x156ff5[0x5]),_0x253382=_0x337f07(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x3958a9,0x11,_0x156ff5[0x6]),_0x32b818=_0x337f07(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x4d68bc,0x16,_0x156ff5[0x7]),_0x59bcaf=_0x337f07(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x248010,0x7,_0x156ff5[0x8]),_0x1fce9f=_0x337f07(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x430bf5,0xc,_0x156ff5[0x9]),_0x253382=_0x337f07(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x1d4c5c,0x11,_0x156ff5[0xa]),_0x32b818=_0x337f07(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x2eb5e0,0x16,_0x156ff5[0xb]),_0x59bcaf=_0x337f07(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x4c00f5,0x7,_0x156ff5[0xc]),_0x1fce9f=_0x337f07(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x74ba35,0xc,_0x156ff5[0xd]),_0x253382=_0x337f07(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x557cdc,0x11,_0x156ff5[0xe]),_0x32b818=_0x337f07(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x14c8be,0x16,_0x156ff5[0xf]),_0x59bcaf=_0xa90052(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x50f74d,0x5,_0x156ff5[0x10]),_0x1fce9f=_0xa90052(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x3958a9,0x9,_0x156ff5[0x11]),_0x253382=_0xa90052(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x2eb5e0,0xe,_0x156ff5[0x12]),_0x32b818=_0xa90052(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x237ce2,0x14,_0x156ff5[0x13]),_0x59bcaf=_0xa90052(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x3a7ea2,0x5,_0x156ff5[0x14]),_0x1fce9f=_0xa90052(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x1d4c5c,0x9,_0x156ff5[0x15]),_0x253382=_0xa90052(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x14c8be,0xe,_0x156ff5[0x16]),_0x32b818=_0xa90052(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x4bee42,0x14,_0x156ff5[0x17]),_0x59bcaf=_0xa90052(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x430bf5,0x5,_0x156ff5[0x18]),_0x1fce9f=_0xa90052(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x557cdc,0x9,_0x156ff5[0x19]),_0x253382=_0xa90052(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x4f95fb,0xe,_0x156ff5[0x1a]),_0x32b818=_0xa90052(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x248010,0x14,_0x156ff5[0x1b]),_0x59bcaf=_0xa90052(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x74ba35,0x5,_0x156ff5[0x1c]),_0x1fce9f=_0xa90052(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x27c133,0x9,_0x156ff5[0x1d]),_0x253382=_0xa90052(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x4d68bc,0xe,_0x156ff5[0x1e]),_0x32b818=_0xa90052(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x4c00f5,0x14,_0x156ff5[0x1f]),_0x59bcaf=_0x517d08(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x3a7ea2,0x4,_0x156ff5[0x20]),_0x1fce9f=_0x517d08(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x248010,0xb,_0x156ff5[0x21]),_0x253382=_0x517d08(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x2eb5e0,0x10,_0x156ff5[0x22]),_0x32b818=_0x517d08(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x557cdc,0x17,_0x156ff5[0x23]),_0x59bcaf=_0x517d08(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x50f74d,0x4,_0x156ff5[0x24]),_0x1fce9f=_0x517d08(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x4bee42,0xb,_0x156ff5[0x25]),_0x253382=_0x517d08(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x4d68bc,0x10,_0x156ff5[0x26]),_0x32b818=_0x517d08(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x1d4c5c,0x17,_0x156ff5[0x27]),_0x59bcaf=_0x517d08(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x74ba35,0x4,_0x156ff5[0x28]),_0x1fce9f=_0x517d08(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x237ce2,0xb,_0x156ff5[0x29]),_0x253382=_0x517d08(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x4f95fb,0x10,_0x156ff5[0x2a]),_0x32b818=_0x517d08(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x3958a9,0x17,_0x156ff5[0x2b]),_0x59bcaf=_0x517d08(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x430bf5,0x4,_0x156ff5[0x2c]),_0x1fce9f=_0x517d08(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x4c00f5,0xb,_0x156ff5[0x2d]),_0x253382=_0x517d08(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x14c8be,0x10,_0x156ff5[0x2e]),_0x32b818=_0x517d08(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x27c133,0x17,_0x156ff5[0x2f]),_0x59bcaf=_0x2868ac(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x237ce2,0x6,_0x156ff5[0x30]),_0x1fce9f=_0x2868ac(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x4d68bc,0xa,_0x156ff5[0x31]),_0x253382=_0x2868ac(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x557cdc,0xf,_0x156ff5[0x32]),_0x32b818=_0x2868ac(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x3a7ea2,0x15,_0x156ff5[0x33]),_0x59bcaf=_0x2868ac(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x4c00f5,0x6,_0x156ff5[0x34]),_0x1fce9f=_0x2868ac(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x4f95fb,0xa,_0x156ff5[0x35]),_0x253382=_0x2868ac(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x1d4c5c,0xf,_0x156ff5[0x36]),_0x32b818=_0x2868ac(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x50f74d,0x15,_0x156ff5[0x37]),_0x59bcaf=_0x2868ac(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x248010,0x6,_0x156ff5[0x38]),_0x1fce9f=_0x2868ac(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x14c8be,0xa,_0x156ff5[0x39]),_0x253382=_0x2868ac(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x3958a9,0xf,_0x156ff5[0x3a]),_0x32b818=_0x2868ac(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x74ba35,0x15,_0x156ff5[0x3b]),_0x59bcaf=_0x2868ac(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x4bee42,0x6,_0x156ff5[0x3c]),_0x1fce9f=_0x2868ac(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x2eb5e0,0xa,_0x156ff5[0x3d]),_0x253382=_0x2868ac(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x27c133,0xf,_0x156ff5[0x3e]),_0x32b818=_0x2868ac(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x430bf5,0x15,_0x156ff5[0x3f]),_0x4ec88e[0x0]=_0x4ec88e[0x0]+_0x59bcaf|0x0,_0x4ec88e[0x1]=_0x4ec88e[0x1]+_0x32b818|0x0,_0x4ec88e[0x2]=_0x4ec88e[0x2]+_0x253382|0x0,_0x4ec88e[0x3]=_0x4ec88e[0x3]+_0x1fce9f|0x0;},'_doFinalize':function(){var _0x4ed071=_0x1833d0,_0xef761=this[_0x4ed071(0x108)],_0x39fe63=_0xef761[_0x4ed071(0x1bf)],_0x4703d9=this[_0x4ed071(0x135)]*0x8,_0x1748b8=_0xef761[_0x4ed071(0x421)]*0x8;_0x39fe63[_0x1748b8>>>0x5]|=0x80<<0x18-_0x1748b8%0x20;var _0xd5d3ee=_0x348a55['floor'](_0x4703d9/0x100000000),_0x4c70d7=_0x4703d9;_0x39fe63[(_0x1748b8+0x40>>>0x9<<0x4)+0xf]=(_0xd5d3ee<<0x8|_0xd5d3ee>>>0x18)&0xff00ff|(_0xd5d3ee<<0x18|_0xd5d3ee>>>0x8)&0xff00ff00,_0x39fe63[(_0x1748b8+0x40>>>0x9<<0x4)+0xe]=(_0x4c70d7<<0x8|_0x4c70d7>>>0x18)&0xff00ff|(_0x4c70d7<<0x18|_0x4c70d7>>>0x8)&0xff00ff00,_0xef761[_0x4ed071(0x421)]=(_0x39fe63['length']+0x1)*0x4,this['_process']();for(var _0x6e383=this[_0x4ed071(0x206)],_0x6f8df8=_0x6e383['words'],_0x47a856=0x0;_0x47a856<0x4;_0x47a856++){var _0x3989e1=_0x6f8df8[_0x47a856];_0x6f8df8[_0x47a856]=(_0x3989e1<<0x8|_0x3989e1>>>0x18)&0xff00ff|(_0x3989e1<<0x18|_0x3989e1>>>0x8)&0xff00ff00;}return _0x6e383;},'clone':function(){var _0x4f6e71=_0x1833d0,_0x3d3b21=_0x4493c2[_0x4f6e71(0x29b)][_0x4f6e71(0x239)](this);return _0x3d3b21[_0x4f6e71(0x206)]=this[_0x4f6e71(0x206)][_0x4f6e71(0x29b)](),_0x3d3b21;}});function _0x337f07(_0x2d5146,_0xd5d2b6,_0x297346,_0x12e2c7,_0x207d99,_0xaf1f5e,_0x9aab6){var _0x37ae47=_0x2d5146+(_0xd5d2b6&_0x297346|~_0xd5d2b6&_0x12e2c7)+_0x207d99+_0x9aab6;return(_0x37ae47<<_0xaf1f5e|_0x37ae47>>>0x20-_0xaf1f5e)+_0xd5d2b6;}function _0xa90052(_0x1f2c6f,_0x4f773a,_0x3a0a5d,_0x1c3fc3,_0x8290b5,_0x299293,_0x8e5359){var _0x5325f7=_0x1f2c6f+(_0x4f773a&_0x1c3fc3|_0x3a0a5d&~_0x1c3fc3)+_0x8290b5+_0x8e5359;return(_0x5325f7<<_0x299293|_0x5325f7>>>0x20-_0x299293)+_0x4f773a;}function _0x517d08(_0x3efa26,_0x1a7f60,_0x14088b,_0x1bcacd,_0x24d3e9,_0x2da67c,_0x258c3d){var _0x24dbf6=_0x3efa26+(_0x1a7f60^_0x14088b^_0x1bcacd)+_0x24d3e9+_0x258c3d;return(_0x24dbf6<<_0x2da67c|_0x24dbf6>>>0x20-_0x2da67c)+_0x1a7f60;}function _0x2868ac(_0x453f9b,_0x216b86,_0x20cce8,_0x1b7579,_0x462a20,_0x9a2aaa,_0x115b8f){var _0xebf95b=_0x453f9b+(_0x20cce8^(_0x216b86|~_0x1b7579))+_0x462a20+_0x115b8f;return(_0xebf95b<<_0x9a2aaa|_0xebf95b>>>0x20-_0x9a2aaa)+_0x216b86;}_0xd9adf[_0x1833d0(0x194)]=_0x4493c2[_0x1833d0(0x133)](_0x3296e1),_0xd9adf['HmacMD5']=_0x4493c2[_0x1833d0(0x33d)](_0x3296e1);}(Math),_0x280acd['MD5'];}));}(me)),me[_0x2bc92a(0x387)];}function _0x1cd9(){var _0x31f0aa=['abs','ThresholdInterceptorFactory','INTERNAL_ERROR','/-/object/-/batch_allowed','UnitEmbedded','[OfflineState]:\x20received\x20acknowledgement.','parse','auth.needGotoLoginAlert','WordArray','_sessions','saveSnapshot','ConflictState','COMPLETION_FINISHED','incrementRevOfUnit','_entityInit$','uploadFileServerUrl','[CollaborationUndoRedoService]','onSyncEditingCollabCursor','IConfigService','_onRemoteChangeset','getActiveSheet','loadDoc','_retryConnectingTimer','_transformUndoredo','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','awaiting','byteOffset','params','[DataLoaderService]','awaiting_with_pending','save\x20fail\x20reason\x20is\x20','Rectangle','APPLY_PERMISSION_DENIED','USERS_ENTER','CollaborationEntity','listCollaborators','HEARTBEAT_INTERVAL_KEY','_doCryptBlock','_userManagerService','IAuthzIoService','commentUpdate$','pipe','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','override','_handlerCallback','JOIN_ROOM_FULL','__creator','HttpImport','avatar','transformUndoRedo','_startTelemetryCollaborationNewChangeset','Base64','_DEC_XFORM_MODE','_doProcessBlock','_httpService','_state$','_permissionService','_getDownloadEndpointURL','CollaborationUIEventService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearLocalCache','/universer-api/authz','_roomMembers','mapDocumentTypeToUniverType','RevisionService','_schedule','CollaborationSessionService','UNAUTHENTICATED','loginUrlKey','loadOfflineData','emitEvent','updateCollaborator','YUUMI_AI_RUN_FAILED','RichTextEditingMutation','resourceIDs','getTypeOfUnitDisposed$','getInterceptPoints','[SyncedState]:\x20received\x20acknowledgement.','concat','localeService','putCollaborators','x-univer-host','allowed','registerDependencies','onLocalMutation','CONFLICT','isTransformChangesetsSuccess','target','concatMap','[OfflineState]:\x20received\x20rejection.','_getAPIPrefix','PENDING','_updateLocalCache','[CollaborationSessionService]','failed\x20to\x20apply\x20missed\x20changesets!','INGEST','_nRounds','_revisionService','JOIN_ROOM_PERMISSION_DENIED','enableSingleActiveInstanceLock','permissionRejEvent','_sendHeartbeat','CommentService','serializeCombRequest','_transformIMECache','textRanges','OTHER_CLIENTS_EDITING','_onOffline','CHANGESET_REJ','onRemoteRetry','fetchThroughInterceptors','_localCacheService','_shouldReportTelemetry','_eventService','_syncEditingCollabCursor','state','People','enableCollaboration','RxDisposable','_clearCollaborationTimeoutTimer','synced','_applyRemoteChangeset','toStringTag','resend','INetworkConditionService','sigBytes','getCurrentRevOfUnit','execute','string','confirm','Hex','data','slice','_state','image/bmp','collaboratorID','USERS_LEAVE','transformChangesets','repeat','session.join-failed','_initDependencies','collaborators','sessionStatus$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSnapshotAPIPath','_toggleOnline','/fetchmissing?from=','_listenToNetworkCondition','onRemoteAck','error$','location','_getCtorByUniverType','UNRECOGNIZED','__Key__','event$','disposeWithMe','_singleActiveUnitService','IImageIoService','createInstance','_socket','append','_replaceFileID','dispose$','HTTPRequest','YUUMI_URL_COL_OUT_OF_RANGE','snapshotServerUrl','UPDATE_CURSOR','now','UniverInstanceType','code','pending','then','Tools','_compressMutationService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_mode','Malformed\x20UTF-8\x20data','session.room-cnt-exceeds','getTime','isTransformMutationsWithChangesetFailure','/allowed','fetchMissingChangesets','commentUpdateEvent','UNIVER_COLLABORATION_CLIENT_PLUGIN','YUUMI_CONNECTOR_URL_NOT_FOUND','saveImage','_removeRoom','ERROR_EXCEED_SIZE','FetchingMissState','registerHTTPInterceptor','IPermissionService','_exhaustRemoteChangesetQueue','stringify','AwaitingState','status','_updateState','_timeoutTimer','[UniverCollaborationClientPlugin]','unitId','addImageSourceCache','_cipher','$super','indexOf','userID','disableLocalCache','DEFAULT_FILE_NAME','session.room-permission-denied','map','CollaborationUIEventId','equals','ISingleActiveUnitService','_networkConditionService','CLOSE_ROOM','MemberService','newCsEvent','sessionStatus','session','authzUrl','default','CollaborationSession','roles','_collaborationTimeoutTimer','getOwnPropertyDescriptor','values','MUTATION','every','INVITE_CODE_REQUIRED','INVITE_CODE_HAS_BEEN_UES','socket\x20close','IUndoRedoService','UNIVER_SHEET','_data','defineProperty','from','HTTPService','/universer-api/snapshot','message$','sin','readyForCollab','unitId\x20is\x20not\x20found','DataLoaderService','COMPRESS_MUTATION_SEND','_resendTimeout','loadSheet','AuthzIoHttpService','2lhqPWN','_remoteChangesetQueue','_onRemoteACK','randomBytes','INVALID_INVITE_CODE','_retryCount','Workbook','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_invKeySchedule','enc','GLOBAL_ROOMS_CNT_EXCEEDS','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_minBufferSize','duration','random','UserProfileImg','_scheduleCollaborationTimeoutTimer','transformMutationsWithChangeset','getAllMembers','LICENSE_DISTRO_REJECTED','get','UNIVER_PROJECT','_transformStateCache','_emitMembers','2946755kdCinJ','getLatestCsReqIdBySid','_doCreateSocket','hasher','leaveEvent','_createHelper','fromCharCode','_nDataBytes','[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.','uniscriptRunEvent','forEach','_reverseMap','roomInfos','EMAIL_HAS_BEEN_BOUND','UNIVER_UNKNOWN','SHOULD_CLOSE_CONN','resolve','_parse','SUBMIT_CHANGESET','JOIN_ROOM_FAILED','reset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','b64DecodeUnicode','/object/','onRemoteChangeset','SNAPSHOT_URL_KEY','_key','[FetchMissState]','unknown','getCurrentSelections','createEncryptor','CollaborationImageIoService','NO_OTHER_CLIENTS_EDITING','status$','/unit/','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ciphertext','getGlobalObject','executeCommand','merge','_hasher','state$','updateSnapshot','cmd','Error\x20on\x20receiving\x20event','CommandType','getCurrentUser','_onRemoteRetry','_keySchedule','_joinRoom','awaitingChangeset','\x20to\x20','removeMember','MSG_FOR_ERROR','_createInitialStateImpl','1685492dRFHkx','Quantity','Base','_telemetryInfo','getSheetId','name','ALREADY_EXISTS','/universer-api/user/session-ticket','UniverCollaborationClientPlugin','join','_acknowledgedAwaitingChangeset','_config','_getSendChangesetTimeout','mutations','_event$','objectID','onStateChange','splice','_transformRemoteChangesetByIMECache','LOGIN_FAILED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','UNKNOWN_CODE','_socketService','_commandService','HttpExport','ERROR_IMAGE_TYPE','c2Prime','members$','changesets','/new_changes','APPLY_DUPLICATED','CollaborationEvent','revision','getTypeOfUnitAdded$','Hasher','shouldCloseConn','create','readAsDataURL','_tryEnsureSocket','UNISCRIPT_RUN','change$','\x0aAfter:\x20','_socket$','ws://127.0.0.1:8000/universer-api/comb/connect','_showConflictNotification','updateOfflineData','OFFLINE','MD5','getUnitId','_candidateSocket','APPLY_REJECT','JOIN_ROOM_NOT_EXISTS','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toggleOffline','title','getConfig','_collaborationSessionService','/resources','LIVESHARE_TERMINATE','_changesetSessionId','format','_incrementRevisionNumber','_getCurrentRevision','INVITE_CODE_ALREADY_BOUND','PasswordBasedCipher','DocCollaborationEntity','_onMessage','COMMENT_UPDATE','_waitCount','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','HEARTBEAT_TIMEOUT_KEY','RETRY_CONNECTING_MAX_COUNT','OTHER_CLIENT_EDITING','liveShareOperation','/universer-api/file/{fileID}/sign-url','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','set','min','unit-cache-','focused$','not_collab','post','salt','CHANGESET_SHOULD_RETRY','PendingState','_redoStacks','parseProtocolChangeset','ILocalCacheService','takeUntil','reqId','words','encode','Univer','/rev/','_logService','baseRev','LIVESHARE_OPERATION','joinRsp','TOO_MANY_REQUESTS','close$','body','NoPadding','5222dwBTcE','setConfig','symbol','CollaborationSocketService','loadUnitOfRevision','compute','_members','univer-pro.collaboration-client.network-condition.service','1015886ypozcU','_sheetTransformSelectionsService','_replayCachedMutations','APPLY_NON_SEQUENTIAL_REVISION','_type','_telemetryService','/object','_collaborationPaused','FETCH_MISSING','next','PERSON','_xformMode','firstValueFrom','_status$','requestParams','rev','joinEvent','_prevBlock','BlockCipher','_startCollaboration','clear','_undoStacks','EmptyMutation','_getSignURL','open$','/collaborator','_clearScheduledTask','Disposable','getResourcesRequest','WECHAT_HAS_BEEN_BOUND','[CollaborationSessionService]:\x20socket\x20error','SYNCED','_keyPriorReset','_instanceService','JOIN','workbook','onMissingChangesets','_queuedRemoteChangesets','setWaitCount','_sendingTimer','apply','requireSession','LOCAL_CACHE_INTERVAL','_onCombEvent','_stopTelemetryCollaborationNewChangeset','SHA1','AwaitingWithPendingState','originalMeta','_fetchMissChangesets','conflict','SnapshotServerOverHTTPService','_hash','YUUMI_UNABLE_LOAD_URL','reject','Optional','getSheetBlock','_socketMessageSubscription','refreshPermission','msCrypto','toString','updateMember','10908sMfTbs','CHANGESET_ACK','EvpKDF','PSEUDO_FETCH_MISSING_RESULT','JSONX','unitInfo$','/-/object/list','LIVESHARE_REQUEST_HOST','memberID','size','updatePermissionPoint','\x0aCurrent:\x20','isPermissionRej','sendChangesetTimeout','deleteCollaborator','Decryptor','reduce','DEFAULT_COLLAB_WEB_SOCKET_URL','BASE64','_change$','catch','createCollaborator','toggleOnline','COMPRESS_MUTATION_APPLY','ICommandService','processBlock','_memberService','complete','&to=','byteLength','init','MentionIoHttpService','keySize','Could\x20not\x20dynamically\x20require\x20\x22','_onUserJoin','_onLocalMutation','FETCH_MISS','socket$','LocalUndoRedoService','_sessionStatus$','deepClone','call','mergeOverrideWithDependencies','getImage','/role','take','_scheduleCompleteTimestamp','src','{fileID}','_submitChangeset','Undefined','_executeRemoteChangeset','HELLO','NEW_CHANGESETS','enableOfflineEditing','ivSize','lib','LIVESHARE_FETCH_OPERATIONS','_initUnitPermissionChange','1334172YEVfOZ','connection\x20error','socket\x20open.','_initMergeInterceptor','YUUMI_ASYNCIO_CANCELLED','_getUploadFileURL','pad','setCurrentUser','objectType','RETRY_CONNECTING_MAX_COUNT_KEY','initWorkbookPermissionChange','onload','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','ImageUploadStatusType','_clearRedo','5805036wDqNLa','ITransformService','delete','onTransformRemoteChangesetByIMECache','OpenSSL','Inject','OfflineState','PY_RUNTIME_SCRIPT_ERROR','_append','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Failed\x20to\x20update\x20permission\x20point','CompressMutationService','MOBILE_HAS_BEEN_BOUND','finalize','subUnitId','_onConflict','SheetsSelectionsService','Utf8','AWAITING_WITH_PENDING','LICENSE_EXPORT_SIZE_EXCEEDED','UniverNetworkPlugin','ONLINE','_transformService','crypto','Injector','IDLE','interceptor','LOCAL_CACHE_INTERVAL_KEY','max','range','debug','/universer-api/uniscript','_roomCreated$','_commentUpdate$','_onRemoteRejected','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','univer-pro.collaboration-client.single-active-unit-service','AES','_getLoginPath','RECV','readInt32LE','getValue','_resendWithTimeout','_injector','_map','unitID','_createInitialState','sheets','mixIn','extend','_HTTPService','MOBILE_VERIFY_CODE_MISMATCH','onRemoteRej','_process','ceil','Encryptor','_createHandler','FileId','SUBMIT_CHANGESET_TIMEOUT','_waitForHeartbeatResponse','hasOwnProperty','_getUndoStack','CBC','kdf','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','clone','MentionType','3255704CMHFNB','clamp','NOT_COLLAB','unsubscribe','[CollaborationEntity]','reconnect','UNIVER_SLIDE','closeSession','UNIVER_DOC','push','_undoRedoService','_unitInfo$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SNAPSHOT_INVALID_SNAPSHOT','encodeURIComponent','key','_iKey','telemetry\x20info\x20is\x20not\x20initialized','entityInit$','getMemberID','has','UPDATE_PERMISSION_OBJ','_onJoinRoomEvent','length','decryptBlock','_throwTelemetryCollaborationNewChangeset','_updateStatus','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','appendMutation','loadUnit','_snapshotService','SnapshotService','ImageSourceType','charAt','BehaviorSubject','createDecryptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','find','CollaborationController','univer-pro.collaboration-client-socket-service','charCodeAt','EMAIL_VERIFY_CODE_MISMATCH','editingUnit','onTransformIME','UNDEFINED','session.room-not-exists','algo','href','_getAPIPrefixPath','onlyLocal','createSocket','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','YUUMI_NO_CUBOID_FOR_QUESTION','socketService','saveSheetBlock','?url=','eventID','shareReplay','HEARTBEAT','SetSelectionsOperation','ILogService','action','getUnitType','ERROR_IMAGE','_sender','onCommandExecuted','toDisposable','m2Prime','Subject','LEAVE','_ENC_XFORM_MODE','ISnapshotServerService','_onConnectionFailed','[PendingState]:\x20received\x20rejection.','patch','_collaborationUIEventService','_clearTimeoutTimer','textEncoder','liveShareNewHost','_pendingMutations','type','isInternalEditorID','AWAITING','add','WorkbookEditablePermission','update','CHANGESET_REVISION_CONFILICT','USER_NOT_INVITED_CODE','floor','retryConnectingInterval','updatePermissionObjEvent','DEFAULT_WS_SESSION_TICKET_URL','SheetPermissionInitController','put','onMissedChangesetFetched','CONNECTOR_DATA_TOO_LARGE','collabSubmitChangesetUrl','_handler','onTransformRemoteChangesetByStateCache','_tryReconnect','selections','offline','INVALID_ARGUMENT','transformSelections','error','\x20-\x20','_transitionLocked','SerializableCipher','ReplaySubject','parseChangesetToProtocol','_init','JOINING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','filter','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SyncedState','SNAPSHOT_HAS_BEEN_REMOVED','_clearUndo','SheetCollaborationEntity','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','image/jpg','_oKey','_rescheduleHeartbeat','_registerDependencies','result','getMember','IUniverInstanceService','_iv','onTransformSelections','_members$','_doFinalize','APPLY_REVISION_CONFILICT','members','IContextService','PERMISSION_DENIED','SOCKET_FAILED','signUrlServerUrl','listRoles','_createSocket','function','dispose','/block/','_changesetReqId','onTransformState','decrypt','actions','onCommentUpdate','DisposableCollection','prototype','createIdentifier','_transformRemoteChangesetByStateCache','subject','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_REJ','_decreaseWaiting','withCredentials','routeKey','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_createHmacHelper','_sendHeartbeatTimer','origin','localCacheService','_substituteUndoStack','encrypt','getUnit','setShowComponents','UNKNOWN_CMD','csAckEvent','YUUMI_ALL_TABLES_IS_INVALID','_doReset','LocaleService','getFocusedUnit','send','BlockCipherMode','cfg','_snapshotServerService','UniverCollaborationPlugin','_resendTimer','&assign=','fetch_missing','image/png','SheetTransformSelectionsService','buffer','FAIL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRecvEvent','/universer-api/oidc/authpage','fromCollab','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','delay','fetchMiss','_lockTransition','HMAC','HmacSHA1','CollaborativeUndoRedoService','_disableEditing','SOCKET_FAILED_RETRY','_checkMissing','[PendingState]:\x20received\x20acknowledgement.','deserializeToCombResponse','substr','_onUserLeave','ENSURE_SNAPSHOT_EXECUTION','generateRandomId','UnitStatus','_collabSessionService','online$','_unitID','_localeService','onSendChangeset','CollaborationStatus','UUID','_onConnectionOpen','_unlockTransition','collaMsg','ITelemetryService','NOT_FOUND','updateCursorEvent','_onFetchMissResult','pauseCollaboration','_isPermissionRej','close','objectActions','c1Prime','asObservable','LIVESHARE_NEW_HOST','_toggleOffline','StreamCipher','_substituteRedoStack','getRandomValues','LICENSE_MAX_UNITS_EXCEEDED','sid','exports','csShouldRetryEvent','unpad','_commentService','isArray','mode','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','image/jpeg','isTransformMutationsWithChangesetSuccess','entries','touchDependencies','getCollabEntity','_awaitingChangeset','headers','blockSize','_univerInstanceService','_clearRetryConnectingTimer','BufferedBlockAlgorithm','padding','_entities','_clearHeartbeatTimer','?size=','DependentOn','_initRequestHeader','_transformStack','_configService','LICENSE_IMPORT_SIZE_EXCEEDED','_socketReady','subscribe'];_0x1cd9=function(){return _0x31f0aa;};return _0x1cd9();}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x387fe2(0x387)],Xe;function Ri(){return Xe||(Xe=0x1,function(_0x125054,_0x573864){(function(_0x243c4d,_0x41a5b7){_0x125054['exports']=_0x41a5b7(Q());}(Oi,function(_0x2f1a80){var _0x4b9e16=_0x2609;return(function(){var _0x4de391=_0x2609,_0x2dec31=_0x2f1a80,_0xdc07d0=_0x2dec31['lib'],_0x47e463=_0xdc07d0[_0x4de391(0x3ac)],_0x284fd8=_0xdc07d0[_0x4de391(0x187)],_0x382fe0=_0x2dec31[_0x4de391(0x2cb)],_0x564e79=[],_0x2ad4a5=_0x382fe0[_0x4de391(0x200)]=_0x284fd8[_0x4de391(0x28b)]({'_doReset':function(){var _0x3ed065=_0x4de391;this['_hash']=new _0x47e463[(_0x3ed065(0x22e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x36bc09,_0x2ec2f7){var _0x32f8a4=_0x4de391;for(var _0x2e1d23=this[_0x32f8a4(0x206)][_0x32f8a4(0x1bf)],_0x4dcfaa=_0x2e1d23[0x0],_0x57a059=_0x2e1d23[0x1],_0x28638a=_0x2e1d23[0x2],_0x55d934=_0x2e1d23[0x3],_0x4dc94b=_0x2e1d23[0x4],_0x2de1c0=0x0;_0x2de1c0<0x50;_0x2de1c0++){if(_0x2de1c0<0x10)_0x564e79[_0x2de1c0]=_0x36bc09[_0x2ec2f7+_0x2de1c0]|0x0;else{var _0x10ec30=_0x564e79[_0x2de1c0-0x3]^_0x564e79[_0x2de1c0-0x8]^_0x564e79[_0x2de1c0-0xe]^_0x564e79[_0x2de1c0-0x10];_0x564e79[_0x2de1c0]=_0x10ec30<<0x1|_0x10ec30>>>0x1f;}var _0x47cd02=(_0x4dcfaa<<0x5|_0x4dcfaa>>>0x1b)+_0x4dc94b+_0x564e79[_0x2de1c0];_0x2de1c0<0x14?_0x47cd02+=(_0x57a059&_0x28638a|~_0x57a059&_0x55d934)+0x5a827999:_0x2de1c0<0x28?_0x47cd02+=(_0x57a059^_0x28638a^_0x55d934)+0x6ed9eba1:_0x2de1c0<0x3c?_0x47cd02+=(_0x57a059&_0x28638a|_0x57a059&_0x55d934|_0x28638a&_0x55d934)-0x70e44324:_0x47cd02+=(_0x57a059^_0x28638a^_0x55d934)-0x359d3e2a,_0x4dc94b=_0x55d934,_0x55d934=_0x28638a,_0x28638a=_0x57a059<<0x1e|_0x57a059>>>0x2,_0x57a059=_0x4dcfaa,_0x4dcfaa=_0x47cd02;}_0x2e1d23[0x0]=_0x2e1d23[0x0]+_0x4dcfaa|0x0,_0x2e1d23[0x1]=_0x2e1d23[0x1]+_0x57a059|0x0,_0x2e1d23[0x2]=_0x2e1d23[0x2]+_0x28638a|0x0,_0x2e1d23[0x3]=_0x2e1d23[0x3]+_0x55d934|0x0,_0x2e1d23[0x4]=_0x2e1d23[0x4]+_0x4dc94b|0x0;},'_doFinalize':function(){var _0x37b0e5=_0x4de391,_0xba5f8a=this[_0x37b0e5(0x108)],_0x3214cf=_0xba5f8a[_0x37b0e5(0x1bf)],_0x44a662=this[_0x37b0e5(0x135)]*0x8,_0x395e56=_0xba5f8a[_0x37b0e5(0x421)]*0x8;return _0x3214cf[_0x395e56>>>0x5]|=0x80<<0x18-_0x395e56%0x20,_0x3214cf[(_0x395e56+0x40>>>0x9<<0x4)+0xe]=Math[_0x37b0e5(0x2f5)](_0x44a662/0x100000000),_0x3214cf[(_0x395e56+0x40>>>0x9<<0x4)+0xf]=_0x44a662,_0xba5f8a[_0x37b0e5(0x421)]=_0x3214cf[_0x37b0e5(0x2b4)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x4363f9=_0x4de391,_0x4365dd=_0x284fd8[_0x4363f9(0x29b)]['call'](this);return _0x4365dd[_0x4363f9(0x206)]=this[_0x4363f9(0x206)][_0x4363f9(0x29b)](),_0x4365dd;}});_0x2dec31[_0x4de391(0x200)]=_0x284fd8['_createHelper'](_0x2ad4a5),_0x2dec31[_0x4de391(0x360)]=_0x284fd8[_0x4de391(0x33d)](_0x2ad4a5);}()),_0x2f1a80[_0x4b9e16(0x200)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},yi=Ce[_0x387fe2(0x387)],Ze;function Ni(){var _0x55b95b=_0x387fe2;return Ze||(Ze=0x1,function(_0x5af7eb,_0x5dec4b){(function(_0x1c5103,_0x53c179){var _0xdcb167=_0x2609;_0x5af7eb[_0xdcb167(0x387)]=_0x53c179(Q());}(yi,function(_0x30dda0){(function(){var _0x40b186=_0x2609,_0x16a2dd=_0x30dda0,_0x56b8ed=_0x16a2dd['lib'],_0x2c99a0=_0x56b8ed['Base'],_0x35825f=_0x16a2dd[_0x40b186(0x11f)],_0x194200=_0x35825f[_0x40b186(0x26b)],_0x52a7be=_0x16a2dd[_0x40b186(0x2cb)];_0x52a7be[_0x40b186(0x35f)]=_0x2c99a0[_0x40b186(0x28b)]({'init':function(_0x260860,_0x243ef6){var _0x123412=_0x40b186;_0x260860=this[_0x123412(0x156)]=new _0x260860['init'](),typeof _0x243ef6==_0x123412(0x424)&&(_0x243ef6=_0x194200[_0x123412(0x3aa)](_0x243ef6));var _0xc639a7=_0x260860[_0x123412(0x395)],_0x557ff4=_0xc639a7*0x4;_0x243ef6['sigBytes']>_0x557ff4&&(_0x243ef6=_0x260860[_0x123412(0x267)](_0x243ef6)),_0x243ef6[_0x123412(0x29e)]();for(var _0x3535a0=this[_0x123412(0x317)]=_0x243ef6[_0x123412(0x29b)](),_0x386988=this[_0x123412(0x2ad)]=_0x243ef6[_0x123412(0x29b)](),_0x2528c9=_0x3535a0['words'],_0x4f72f1=_0x386988[_0x123412(0x1bf)],_0xdbe1b5=0x0;_0xdbe1b5<_0xc639a7;_0xdbe1b5++)_0x2528c9[_0xdbe1b5]^=0x5c5c5c5c,_0x4f72f1[_0xdbe1b5]^=0x36363636;_0x3535a0[_0x123412(0x421)]=_0x386988[_0x123412(0x421)]=_0x557ff4,this[_0x123412(0x142)]();},'reset':function(){var _0x1d772e=_0x40b186,_0x1617dc=this[_0x1d772e(0x156)];_0x1617dc[_0x1d772e(0x142)](),_0x1617dc[_0x1d772e(0x2f2)](this['_iKey']);},'update':function(_0x475741){var _0x18273d=_0x40b186;return this[_0x18273d(0x156)][_0x18273d(0x2f2)](_0x475741),this;},'finalize':function(_0x2e5004){var _0x2d00f9=_0x40b186,_0x159f14=this['_hasher'],_0xcf7b72=_0x159f14[_0x2d00f9(0x267)](_0x2e5004);_0x159f14[_0x2d00f9(0x142)]();var _0x5e7e43=_0x159f14['finalize'](this[_0x2d00f9(0x317)][_0x2d00f9(0x29b)]()[_0x2d00f9(0x3f2)](_0xcf7b72));return _0x5e7e43;}});}());}));}(Ce)),Ce[_0x55b95b(0x387)];}var Di=ge[_0x387fe2(0x387)],Qe;function Ct(){var _0xada2d9=_0x387fe2;return Qe||(Qe=0x1,function(_0x1e8b2d,_0x497b8a){(function(_0x58eedb,_0x1bd74d,_0xae9e7f){_0x1e8b2d['exports']=_0x1bd74d(Q(),Ri(),Ni());}(Di,function(_0x5c107d){var _0x53cc87=_0x2609;return(function(){var _0x41ac5d=_0x2609,_0x245188=_0x5c107d,_0x59feb3=_0x245188[_0x41ac5d(0x248)],_0x4cd11c=_0x59feb3[_0x41ac5d(0x167)],_0x3093e0=_0x59feb3[_0x41ac5d(0x3ac)],_0x1ecb01=_0x245188['algo'],_0x440024=_0x1ecb01[_0x41ac5d(0x194)],_0x4b8f73=_0x1ecb01[_0x41ac5d(0x212)]=_0x4cd11c[_0x41ac5d(0x28b)]({'cfg':_0x4cd11c[_0x41ac5d(0x28b)]({'keySize':0x80/0x20,'hasher':_0x440024,'iterations':0x1}),'init':function(_0x3513d5){var _0x2619a1=_0x41ac5d;this['cfg']=this[_0x2619a1(0x34d)][_0x2619a1(0x28b)](_0x3513d5);},'compute':function(_0x4c7bd6,_0x26f1a2){var _0xa5875a=_0x41ac5d;for(var _0x162e0d,_0x4d2221=this[_0xa5875a(0x34d)],_0x561cac=_0x4d2221[_0xa5875a(0x131)][_0xa5875a(0x189)](),_0x25e3a5=_0x3093e0[_0xa5875a(0x189)](),_0x1a23ef=_0x25e3a5['words'],_0x7ea538=_0x4d2221[_0xa5875a(0x230)],_0x4982f6=_0x4d2221['iterations'];_0x1a23ef[_0xa5875a(0x2b4)]<_0x7ea538;){_0x162e0d&&_0x561cac[_0xa5875a(0x2f2)](_0x162e0d),_0x162e0d=_0x561cac[_0xa5875a(0x2f2)](_0x4c7bd6)[_0xa5875a(0x267)](_0x26f1a2),_0x561cac[_0xa5875a(0x142)]();for(var _0x44766e=0x1;_0x44766e<_0x4982f6;_0x44766e++)_0x162e0d=_0x561cac['finalize'](_0x162e0d),_0x561cac['reset']();_0x25e3a5[_0xa5875a(0x3f2)](_0x162e0d);}return _0x25e3a5[_0xa5875a(0x421)]=_0x7ea538*0x4,_0x25e3a5;}});_0x245188[_0x41ac5d(0x212)]=function(_0x1b2cc1,_0x252d4e,_0xd58f82){var _0x39b354=_0x41ac5d;return _0x4b8f73[_0x39b354(0x189)](_0xd58f82)['compute'](_0x1b2cc1,_0x252d4e);};}()),_0x5c107d[_0x53cc87(0x212)];}));}(ge)),ge[_0xada2d9(0x387)];}var Te={'exports':{}},Ui=Te[_0x387fe2(0x387)],et;function Tt(){var _0x456af8=_0x387fe2;return et||(et=0x1,function(_0x595f1c,_0x200af4){(function(_0x38f081,_0x5e6fcc,_0x275580){var _0xf71cf1=_0x2609;_0x595f1c[_0xf71cf1(0x387)]=_0x5e6fcc(Q(),Ct());}(Ui,function(_0x9e511b){var _0x164c5e=_0x2609;_0x9e511b[_0x164c5e(0x248)]['Cipher']||function(_0x5942c5){var _0xf5e419=_0x164c5e,_0x1981fb=_0x9e511b,_0x16823e=_0x1981fb[_0xf5e419(0x248)],_0x231593=_0x16823e[_0xf5e419(0x167)],_0x26577d=_0x16823e['WordArray'],_0x501399=_0x16823e[_0xf5e419(0x398)],_0x5455a8=_0x1981fb['enc'];_0x5455a8[_0xf5e419(0x26b)];var _0x908985=_0x5455a8[_0xf5e419(0x3d7)],_0x4d72b6=_0x1981fb[_0xf5e419(0x2cb)],_0xcaa97b=_0x4d72b6[_0xf5e419(0x212)],_0x51c7ad=_0x16823e['Cipher']=_0x501399[_0xf5e419(0x28b)]({'cfg':_0x231593['extend'](),'createEncryptor':function(_0x190fcd,_0x1f80d2){var _0x584fa7=_0xf5e419;return this[_0x584fa7(0x189)](this[_0x584fa7(0x2e3)],_0x190fcd,_0x1f80d2);},'createDecryptor':function(_0xbdb689,_0x5a9f65){var _0x59b755=_0xf5e419;return this['create'](this[_0x59b755(0x3d8)],_0xbdb689,_0x5a9f65);},'init':function(_0x33660a,_0xf2ae73,_0x55040a){var _0x5eb26a=_0xf5e419;this[_0x5eb26a(0x34d)]=this['cfg'][_0x5eb26a(0x28b)](_0x55040a),this['_xformMode']=_0x33660a,this['_key']=_0xf2ae73,this['reset']();},'reset':function(){var _0xd7a520=_0xf5e419;_0x501399[_0xd7a520(0x142)][_0xd7a520(0x239)](this),this[_0xd7a520(0x348)]();},'process':function(_0x3bc785){var _0xac6361=_0xf5e419;return this[_0xac6361(0x262)](_0x3bc785),this[_0xac6361(0x28f)]();},'finalize':function(_0xfcb0d9){var _0x504850=_0xf5e419;_0xfcb0d9&&this[_0x504850(0x262)](_0xfcb0d9);var _0x3e2788=this['_doFinalize']();return _0x3e2788;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xd27bd3(_0x1a3f0d){var _0xabae6d=_0x2609;return typeof _0x1a3f0d==_0xabae6d(0x424)?_0x28f239:_0x1e993d;}return function(_0x4a3f07){return{'encrypt':function(_0x47217e,_0x3ae1cf,_0x42915d){var _0x1de05b=_0x2609;return _0xd27bd3(_0x3ae1cf)[_0x1de05b(0x342)](_0x4a3f07,_0x47217e,_0x3ae1cf,_0x42915d);},'decrypt':function(_0x275cf2,_0x4ec6b8,_0x1d0744){var _0x2b5901=_0x2609;return _0xd27bd3(_0x4ec6b8)[_0x2b5901(0x32e)](_0x4a3f07,_0x275cf2,_0x4ec6b8,_0x1d0744);}};};}())});_0x16823e[_0xf5e419(0x382)]=_0x51c7ad['extend']({'_doFinalize':function(){var _0x50627e=_0xf5e419,_0x45200c=this[_0x50627e(0x28f)](!0x0);return _0x45200c;},'blockSize':0x1});var _0x2ed8aa=_0x1981fb['mode']={},_0x3636c2=_0x16823e[_0xf5e419(0x34c)]=_0x231593['extend']({'createEncryptor':function(_0x510649,_0x4c6925){var _0x24a692=_0xf5e419;return this[_0x24a692(0x291)][_0x24a692(0x189)](_0x510649,_0x4c6925);},'createDecryptor':function(_0x2cf06d,_0x2fe24f){var _0x228f26=_0xf5e419;return this[_0x228f26(0x21f)][_0x228f26(0x189)](_0x2cf06d,_0x2fe24f);},'init':function(_0xa9c70b,_0x3cf71b){var _0x21635=_0xf5e419;this[_0x21635(0xe9)]=_0xa9c70b,this['_iv']=_0x3cf71b;}}),_0x59fa9d=_0x2ed8aa[_0xf5e419(0x298)]=(function(){var _0x47ee45=_0xf5e419,_0x32404d=_0x3636c2[_0x47ee45(0x28b)]();_0x32404d[_0x47ee45(0x291)]=_0x32404d[_0x47ee45(0x28b)]({'processBlock':function(_0xc352ff,_0x1f2c4e){var _0x30ae76=_0x47ee45,_0x3acfcd=this[_0x30ae76(0xe9)],_0x1d64d5=_0x3acfcd['blockSize'];_0xb675d8[_0x30ae76(0x239)](this,_0xc352ff,_0x1f2c4e,_0x1d64d5),_0x3acfcd['encryptBlock'](_0xc352ff,_0x1f2c4e),this[_0x30ae76(0x1e4)]=_0xc352ff[_0x30ae76(0xa5)](_0x1f2c4e,_0x1f2c4e+_0x1d64d5);}}),_0x32404d['Decryptor']=_0x32404d[_0x47ee45(0x28b)]({'processBlock':function(_0x35e964,_0xdd445e){var _0x2461ac=_0x47ee45,_0x5457c6=this[_0x2461ac(0xe9)],_0x19e4c2=_0x5457c6[_0x2461ac(0x395)],_0x59b69a=_0x35e964['slice'](_0xdd445e,_0xdd445e+_0x19e4c2);_0x5457c6[_0x2461ac(0x2b5)](_0x35e964,_0xdd445e),_0xb675d8[_0x2461ac(0x239)](this,_0x35e964,_0xdd445e,_0x19e4c2),this[_0x2461ac(0x1e4)]=_0x59b69a;}});function _0xb675d8(_0x483136,_0x1fcb72,_0x178012){var _0x132d39=_0x47ee45,_0x3daadf,_0x3719d4=this['_iv'];_0x3719d4?(_0x3daadf=_0x3719d4,this[_0x132d39(0x31d)]=_0x5942c5):_0x3daadf=this[_0x132d39(0x1e4)];for(var _0xb34a6f=0x0;_0xb34a6f<_0x178012;_0xb34a6f++)_0x483136[_0x1fcb72+_0xb34a6f]^=_0x3daadf[_0xb34a6f];}return _0x32404d;}()),_0x31e68b=_0x1981fb[_0xf5e419(0x251)]={},_0x3420db=_0x31e68b['Pkcs7']={'pad':function(_0x1bdcda,_0x2e47fb){var _0x47d367=_0xf5e419;for(var _0x51c1e1=_0x2e47fb*0x4,_0x341ece=_0x51c1e1-_0x1bdcda['sigBytes']%_0x51c1e1,_0x2b1843=_0x341ece<<0x18|_0x341ece<<0x10|_0x341ece<<0x8|_0x341ece,_0x8dbbe0=[],_0x32136a=0x0;_0x32136a<_0x341ece;_0x32136a+=0x4)_0x8dbbe0[_0x47d367(0x2a6)](_0x2b1843);var _0x35876a=_0x26577d[_0x47d367(0x189)](_0x8dbbe0,_0x341ece);_0x1bdcda[_0x47d367(0x3f2)](_0x35876a);},'unpad':function(_0x42a8bd){var _0x49ce43=_0xf5e419,_0x5e8f3f=_0x42a8bd['words'][_0x42a8bd[_0x49ce43(0x421)]-0x1>>>0x2]&0xff;_0x42a8bd[_0x49ce43(0x421)]-=_0x5e8f3f;}};_0x16823e[_0xf5e419(0x1e5)]=_0x51c7ad[_0xf5e419(0x28b)]({'cfg':_0x51c7ad[_0xf5e419(0x34d)][_0xf5e419(0x28b)]({'mode':_0x59fa9d,'padding':_0x3420db}),'reset':function(){var _0x5ec7de=_0xf5e419,_0x2c9d2e;_0x51c7ad[_0x5ec7de(0x142)][_0x5ec7de(0x239)](this);var _0xff0352=this[_0x5ec7de(0x34d)],_0x7f15e1=_0xff0352['iv'],_0x451275=_0xff0352['mode'];this[_0x5ec7de(0x1de)]==this[_0x5ec7de(0x2e3)]?_0x2c9d2e=_0x451275[_0x5ec7de(0x14c)]:(_0x2c9d2e=_0x451275['createDecryptor'],this[_0x5ec7de(0x122)]=0x1),this[_0x5ec7de(0xd0)]&&this[_0x5ec7de(0xd0)][_0x5ec7de(0x3d2)]==_0x2c9d2e?this['_mode'][_0x5ec7de(0x22e)](this,_0x7f15e1&&_0x7f15e1[_0x5ec7de(0x1bf)]):(this['_mode']=_0x2c9d2e['call'](_0x451275,this,_0x7f15e1&&_0x7f15e1[_0x5ec7de(0x1bf)]),this[_0x5ec7de(0xd0)][_0x5ec7de(0x3d2)]=_0x2c9d2e);},'_doProcessBlock':function(_0x4f64ce,_0x255c0b){var _0x1d0331=_0xf5e419;this[_0x1d0331(0xd0)][_0x1d0331(0x229)](_0x4f64ce,_0x255c0b);},'_doFinalize':function(){var _0x4bb8bf=_0xf5e419,_0x15888e,_0x665c7f=this[_0x4bb8bf(0x34d)]['padding'];return this[_0x4bb8bf(0x1de)]==this[_0x4bb8bf(0x2e3)]?(_0x665c7f[_0x4bb8bf(0x251)](this['_data'],this[_0x4bb8bf(0x395)]),_0x15888e=this['_process'](!0x0)):(_0x15888e=this['_process'](!0x0),_0x665c7f[_0x4bb8bf(0x389)](_0x15888e)),_0x15888e;},'blockSize':0x80/0x20});var _0x3529df=_0x16823e['CipherParams']=_0x231593[_0xf5e419(0x28b)]({'init':function(_0x1fa804){this['mixIn'](_0x1fa804);},'toString':function(_0xb30a2){return(_0xb30a2||this['formatter'])['stringify'](this);}}),_0x2013e5=_0x1981fb[_0xf5e419(0x1a1)]={},_0x30f0fd=_0x2013e5[_0xf5e419(0x25e)]={'stringify':function(_0x166371){var _0xb15e3=_0xf5e419,_0x2afe7a,_0x50b12e=_0x166371[_0xb15e3(0x152)],_0x95026f=_0x166371[_0xb15e3(0x1b7)];return _0x95026f?_0x2afe7a=_0x26577d[_0xb15e3(0x189)]([0x53616c74,0x65645f5f])[_0xb15e3(0x3f2)](_0x95026f)[_0xb15e3(0x3f2)](_0x50b12e):_0x2afe7a=_0x50b12e,_0x2afe7a['toString'](_0x908985);},'parse':function(_0x36963a){var _0x444aff=_0xf5e419,_0x265c5d,_0x212e13=_0x908985[_0x444aff(0x3aa)](_0x36963a),_0x182bc1=_0x212e13[_0x444aff(0x1bf)];return _0x182bc1[0x0]==0x53616c74&&_0x182bc1[0x1]==0x65645f5f&&(_0x265c5d=_0x26577d[_0x444aff(0x189)](_0x182bc1['slice'](0x2,0x4)),_0x182bc1['splice'](0x0,0x4),_0x212e13[_0x444aff(0x421)]-=0x10),_0x3529df['create']({'ciphertext':_0x212e13,'salt':_0x265c5d});}},_0x1e993d=_0x16823e[_0xf5e419(0x308)]=_0x231593[_0xf5e419(0x28b)]({'cfg':_0x231593[_0xf5e419(0x28b)]({'format':_0x30f0fd}),'encrypt':function(_0x1f2673,_0x4541f2,_0x5092db,_0x5dad05){var _0x474e40=_0xf5e419;_0x5dad05=this[_0x474e40(0x34d)]['extend'](_0x5dad05);var _0x4f2b4b=_0x1f2673[_0x474e40(0x14c)](_0x5092db,_0x5dad05),_0x37d0cc=_0x4f2b4b[_0x474e40(0x267)](_0x4541f2),_0x993464=_0x4f2b4b[_0x474e40(0x34d)];return _0x3529df[_0x474e40(0x189)]({'ciphertext':_0x37d0cc,'key':_0x5092db,'iv':_0x993464['iv'],'algorithm':_0x1f2673,'mode':_0x993464[_0x474e40(0x38c)],'padding':_0x993464[_0x474e40(0x399)],'blockSize':_0x1f2673[_0x474e40(0x395)],'formatter':_0x5dad05[_0x474e40(0x1a1)]});},'decrypt':function(_0x3c64a5,_0x42f65b,_0xa20bab,_0xa64e0e){var _0x3883fd=_0xf5e419;_0xa64e0e=this[_0x3883fd(0x34d)][_0x3883fd(0x28b)](_0xa64e0e),_0x42f65b=this[_0x3883fd(0x13f)](_0x42f65b,_0xa64e0e[_0x3883fd(0x1a1)]);var _0x53f71d=_0x3c64a5[_0x3883fd(0x2c0)](_0xa20bab,_0xa64e0e)[_0x3883fd(0x267)](_0x42f65b[_0x3883fd(0x152)]);return _0x53f71d;},'_parse':function(_0x189f93,_0x27a323){var _0x2d4604=_0xf5e419;return typeof _0x189f93==_0x2d4604(0x424)?_0x27a323[_0x2d4604(0x3aa)](_0x189f93,this):_0x189f93;}}),_0x3cb2ae=_0x1981fb[_0xf5e419(0x299)]={},_0x4f84d8=_0x3cb2ae[_0xf5e419(0x25e)]={'execute':function(_0x446c8a,_0x300136,_0x102206,_0x3ea0de,_0x35ebf8){var _0x4b0690=_0xf5e419;if(_0x3ea0de||(_0x3ea0de=_0x26577d[_0x4b0690(0x124)](0x40/0x8)),_0x35ebf8)var _0x42a84c=_0xcaa97b[_0x4b0690(0x189)]({'keySize':_0x300136+_0x102206,'hasher':_0x35ebf8})['compute'](_0x446c8a,_0x3ea0de);else var _0x42a84c=_0xcaa97b[_0x4b0690(0x189)]({'keySize':_0x300136+_0x102206})[_0x4b0690(0x1d0)](_0x446c8a,_0x3ea0de);var _0x2cac84=_0x26577d['create'](_0x42a84c[_0x4b0690(0x1bf)][_0x4b0690(0xa5)](_0x300136),_0x102206*0x4);return _0x42a84c['sigBytes']=_0x300136*0x4,_0x3529df[_0x4b0690(0x189)]({'key':_0x42a84c,'iv':_0x2cac84,'salt':_0x3ea0de});}},_0x28f239=_0x16823e[_0xf5e419(0x1a5)]=_0x1e993d['extend']({'cfg':_0x1e993d[_0xf5e419(0x34d)]['extend']({'kdf':_0x4f84d8}),'encrypt':function(_0x412509,_0x69a6c3,_0x4d1e5b,_0x36419a){var _0x460662=_0xf5e419;_0x36419a=this[_0x460662(0x34d)]['extend'](_0x36419a);var _0x57f379=_0x36419a[_0x460662(0x299)][_0x460662(0x423)](_0x4d1e5b,_0x412509[_0x460662(0x230)],_0x412509[_0x460662(0x247)],_0x36419a[_0x460662(0x1b7)],_0x36419a[_0x460662(0x131)]);_0x36419a['iv']=_0x57f379['iv'];var _0x136dfd=_0x1e993d['encrypt'][_0x460662(0x239)](this,_0x412509,_0x69a6c3,_0x57f379[_0x460662(0x2ac)],_0x36419a);return _0x136dfd['mixIn'](_0x57f379),_0x136dfd;},'decrypt':function(_0x483069,_0x352fb8,_0x505691,_0x470945){var _0x42b74f=_0xf5e419;_0x470945=this['cfg'][_0x42b74f(0x28b)](_0x470945),_0x352fb8=this[_0x42b74f(0x13f)](_0x352fb8,_0x470945['format']);var _0x59b9bb=_0x470945[_0x42b74f(0x299)][_0x42b74f(0x423)](_0x505691,_0x483069['keySize'],_0x483069[_0x42b74f(0x247)],_0x352fb8['salt'],_0x470945[_0x42b74f(0x131)]);_0x470945['iv']=_0x59b9bb['iv'];var _0x2bd7e3=_0x1e993d[_0x42b74f(0x32e)][_0x42b74f(0x239)](this,_0x483069,_0x352fb8,_0x59b9bb[_0x42b74f(0x2ac)],_0x470945);return _0x2bd7e3;}});}();}));}(Te)),Te[_0x456af8(0x387)];}var Ai=fe[_0x387fe2(0x387)],tt;function Pi(){var _0x1e775f=_0x387fe2;return tt||(tt=0x1,function(_0x55e36e,_0x212363){(function(_0x365e6e,_0x39f37a,_0x3ed6c8){var _0x243fdd=_0x2609;_0x55e36e[_0x243fdd(0x387)]=_0x39f37a(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x3eef2a){var _0x49f9eb=_0x2609;return(function(){var _0x5bd268=_0x2609,_0x3e9427=_0x3eef2a,_0xc22d09=_0x3e9427['lib'],_0x338388=_0xc22d09[_0x5bd268(0x1e5)],_0x2fbccb=_0x3e9427['algo'],_0x2e1bb5=[],_0x55f78e=[],_0x2c6555=[],_0x4b69fd=[],_0x59ccfd=[],_0x51e304=[],_0x259d19=[],_0x26c881=[],_0x28694f=[],_0x17a553=[];(function(){for(var _0x563225=[],_0xd68fa8=0x0;_0xd68fa8<0x100;_0xd68fa8++)_0xd68fa8<0x80?_0x563225[_0xd68fa8]=_0xd68fa8<<0x1:_0x563225[_0xd68fa8]=_0xd68fa8<<0x1^0x11b;for(var _0x236ef4=0x0,_0x4aea0f=0x0,_0xd68fa8=0x0;_0xd68fa8<0x100;_0xd68fa8++){var _0x3e960f=_0x4aea0f^_0x4aea0f<<0x1^_0x4aea0f<<0x2^_0x4aea0f<<0x3^_0x4aea0f<<0x4;_0x3e960f=_0x3e960f>>>0x8^_0x3e960f&0xff^0x63,_0x2e1bb5[_0x236ef4]=_0x3e960f,_0x55f78e[_0x3e960f]=_0x236ef4;var _0x84fbbf=_0x563225[_0x236ef4],_0x2bff4d=_0x563225[_0x84fbbf],_0x3f62b5=_0x563225[_0x2bff4d],_0x25010f=_0x563225[_0x3e960f]*0x101^_0x3e960f*0x1010100;_0x2c6555[_0x236ef4]=_0x25010f<<0x18|_0x25010f>>>0x8,_0x4b69fd[_0x236ef4]=_0x25010f<<0x10|_0x25010f>>>0x10,_0x59ccfd[_0x236ef4]=_0x25010f<<0x8|_0x25010f>>>0x18,_0x51e304[_0x236ef4]=_0x25010f;var _0x25010f=_0x3f62b5*0x1010101^_0x2bff4d*0x10001^_0x84fbbf*0x101^_0x236ef4*0x1010100;_0x259d19[_0x3e960f]=_0x25010f<<0x18|_0x25010f>>>0x8,_0x26c881[_0x3e960f]=_0x25010f<<0x10|_0x25010f>>>0x10,_0x28694f[_0x3e960f]=_0x25010f<<0x8|_0x25010f>>>0x18,_0x17a553[_0x3e960f]=_0x25010f,_0x236ef4?(_0x236ef4=_0x84fbbf^_0x563225[_0x563225[_0x563225[_0x3f62b5^_0x84fbbf]]],_0x4aea0f^=_0x563225[_0x563225[_0x4aea0f]]):_0x236ef4=_0x4aea0f=0x1;}}());var _0x471662=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x326cea=_0x2fbccb[_0x5bd268(0x27f)]=_0x338388[_0x5bd268(0x28b)]({'_doReset':function(){var _0x113f40=_0x5bd268,_0x36464f;if(!(this[_0x113f40(0x404)]&&this[_0x113f40(0x1f3)]===this[_0x113f40(0x148)])){for(var _0x420677=this[_0x113f40(0x1f3)]=this['_key'],_0x3c465c=_0x420677[_0x113f40(0x1bf)],_0x221822=_0x420677[_0x113f40(0x421)]/0x4,_0x151e07=this[_0x113f40(0x404)]=_0x221822+0x6,_0x19915d=(_0x151e07+0x1)*0x4,_0x29d925=this[_0x113f40(0x15e)]=[],_0x2eb0f8=0x0;_0x2eb0f8<_0x19915d;_0x2eb0f8++)_0x2eb0f8<_0x221822?_0x29d925[_0x2eb0f8]=_0x3c465c[_0x2eb0f8]:(_0x36464f=_0x29d925[_0x2eb0f8-0x1],_0x2eb0f8%_0x221822?_0x221822>0x6&&_0x2eb0f8%_0x221822==0x4&&(_0x36464f=_0x2e1bb5[_0x36464f>>>0x18]<<0x18|_0x2e1bb5[_0x36464f>>>0x10&0xff]<<0x10|_0x2e1bb5[_0x36464f>>>0x8&0xff]<<0x8|_0x2e1bb5[_0x36464f&0xff]):(_0x36464f=_0x36464f<<0x8|_0x36464f>>>0x18,_0x36464f=_0x2e1bb5[_0x36464f>>>0x18]<<0x18|_0x2e1bb5[_0x36464f>>>0x10&0xff]<<0x10|_0x2e1bb5[_0x36464f>>>0x8&0xff]<<0x8|_0x2e1bb5[_0x36464f&0xff],_0x36464f^=_0x471662[_0x2eb0f8/_0x221822|0x0]<<0x18),_0x29d925[_0x2eb0f8]=_0x29d925[_0x2eb0f8-_0x221822]^_0x36464f);for(var _0x15041c=this[_0x113f40(0x11e)]=[],_0xc5a09=0x0;_0xc5a09<_0x19915d;_0xc5a09++){var _0x2eb0f8=_0x19915d-_0xc5a09;if(_0xc5a09%0x4)var _0x36464f=_0x29d925[_0x2eb0f8];else var _0x36464f=_0x29d925[_0x2eb0f8-0x4];_0xc5a09<0x4||_0x2eb0f8<=0x4?_0x15041c[_0xc5a09]=_0x36464f:_0x15041c[_0xc5a09]=_0x259d19[_0x2e1bb5[_0x36464f>>>0x18]]^_0x26c881[_0x2e1bb5[_0x36464f>>>0x10&0xff]]^_0x28694f[_0x2e1bb5[_0x36464f>>>0x8&0xff]]^_0x17a553[_0x2e1bb5[_0x36464f&0xff]];}}},'encryptBlock':function(_0x230c4d,_0x29303c){var _0xf72f4f=_0x5bd268;this[_0xf72f4f(0x3c9)](_0x230c4d,_0x29303c,this[_0xf72f4f(0x15e)],_0x2c6555,_0x4b69fd,_0x59ccfd,_0x51e304,_0x2e1bb5);},'decryptBlock':function(_0x189689,_0x5370fe){var _0x2493e9=_0x5bd268,_0x3cd636=_0x189689[_0x5370fe+0x1];_0x189689[_0x5370fe+0x1]=_0x189689[_0x5370fe+0x3],_0x189689[_0x5370fe+0x3]=_0x3cd636,this[_0x2493e9(0x3c9)](_0x189689,_0x5370fe,this['_invKeySchedule'],_0x259d19,_0x26c881,_0x28694f,_0x17a553,_0x55f78e);var _0x3cd636=_0x189689[_0x5370fe+0x1];_0x189689[_0x5370fe+0x1]=_0x189689[_0x5370fe+0x3],_0x189689[_0x5370fe+0x3]=_0x3cd636;},'_doCryptBlock':function(_0x490035,_0x2a8bee,_0x5063e5,_0x14ff45,_0x39ddc3,_0x28a0cf,_0x3dce93,_0x432fda){var _0x4c9cb9=_0x5bd268;for(var _0x340cc3=this[_0x4c9cb9(0x404)],_0x58faf7=_0x490035[_0x2a8bee]^_0x5063e5[0x0],_0x423542=_0x490035[_0x2a8bee+0x1]^_0x5063e5[0x1],_0xcac61e=_0x490035[_0x2a8bee+0x2]^_0x5063e5[0x2],_0x5eef48=_0x490035[_0x2a8bee+0x3]^_0x5063e5[0x3],_0x16d105=0x4,_0x4c0d0c=0x1;_0x4c0d0c<_0x340cc3;_0x4c0d0c++){var _0x2d8fb8=_0x14ff45[_0x58faf7>>>0x18]^_0x39ddc3[_0x423542>>>0x10&0xff]^_0x28a0cf[_0xcac61e>>>0x8&0xff]^_0x3dce93[_0x5eef48&0xff]^_0x5063e5[_0x16d105++],_0x39e8ce=_0x14ff45[_0x423542>>>0x18]^_0x39ddc3[_0xcac61e>>>0x10&0xff]^_0x28a0cf[_0x5eef48>>>0x8&0xff]^_0x3dce93[_0x58faf7&0xff]^_0x5063e5[_0x16d105++],_0x215ad5=_0x14ff45[_0xcac61e>>>0x18]^_0x39ddc3[_0x5eef48>>>0x10&0xff]^_0x28a0cf[_0x58faf7>>>0x8&0xff]^_0x3dce93[_0x423542&0xff]^_0x5063e5[_0x16d105++],_0x3bdfbd=_0x14ff45[_0x5eef48>>>0x18]^_0x39ddc3[_0x58faf7>>>0x10&0xff]^_0x28a0cf[_0x423542>>>0x8&0xff]^_0x3dce93[_0xcac61e&0xff]^_0x5063e5[_0x16d105++];_0x58faf7=_0x2d8fb8,_0x423542=_0x39e8ce,_0xcac61e=_0x215ad5,_0x5eef48=_0x3bdfbd;}var _0x2d8fb8=(_0x432fda[_0x58faf7>>>0x18]<<0x18|_0x432fda[_0x423542>>>0x10&0xff]<<0x10|_0x432fda[_0xcac61e>>>0x8&0xff]<<0x8|_0x432fda[_0x5eef48&0xff])^_0x5063e5[_0x16d105++],_0x39e8ce=(_0x432fda[_0x423542>>>0x18]<<0x18|_0x432fda[_0xcac61e>>>0x10&0xff]<<0x10|_0x432fda[_0x5eef48>>>0x8&0xff]<<0x8|_0x432fda[_0x58faf7&0xff])^_0x5063e5[_0x16d105++],_0x215ad5=(_0x432fda[_0xcac61e>>>0x18]<<0x18|_0x432fda[_0x5eef48>>>0x10&0xff]<<0x10|_0x432fda[_0x58faf7>>>0x8&0xff]<<0x8|_0x432fda[_0x423542&0xff])^_0x5063e5[_0x16d105++],_0x3bdfbd=(_0x432fda[_0x5eef48>>>0x18]<<0x18|_0x432fda[_0x58faf7>>>0x10&0xff]<<0x10|_0x432fda[_0x423542>>>0x8&0xff]<<0x8|_0x432fda[_0xcac61e&0xff])^_0x5063e5[_0x16d105++];_0x490035[_0x2a8bee]=_0x2d8fb8,_0x490035[_0x2a8bee+0x1]=_0x39e8ce,_0x490035[_0x2a8bee+0x2]=_0x215ad5,_0x490035[_0x2a8bee+0x3]=_0x3bdfbd;},'keySize':0x100/0x20});_0x3e9427[_0x5bd268(0x27f)]=_0x338388[_0x5bd268(0x133)](_0x326cea);}()),_0x3eef2a[_0x49f9eb(0x27f)];}));}(fe)),fe[_0x1e775f(0x387)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x387fe2(0x387)],nt;function ki(){return nt||(nt=0x1,function(_0x4d41ac,_0x258393){(function(_0x52095b,_0x49f286){var _0x53e866=_0x2609;_0x4d41ac[_0x53e866(0x387)]=_0x49f286(Q());}(xi,function(_0x4ef3f4){var _0x47a71b=_0x2609;return _0x4ef3f4[_0x47a71b(0x11f)][_0x47a71b(0x26b)];}));}(be)),be['exports'];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x387fe2(0x387)],rt;function Bi(){return rt||(rt=0x1,function(_0x173824,_0x2c5321){(function(_0x4e5235,_0x23ebd7){var _0x1a40a2=_0x2609;_0x173824[_0x1a40a2(0x387)]=_0x23ebd7(Q());}(ji,function(_0x1de62f){var _0x202295=_0x2609;return(function(){var _0x3a6f4c=_0x2609;if(typeof ArrayBuffer=='function'){var _0x1ebb4f=_0x1de62f,_0xc21c3e=_0x1ebb4f[_0x3a6f4c(0x248)],_0x2a5034=_0xc21c3e[_0x3a6f4c(0x3ac)],_0x46ee67=_0x2a5034['init'],_0xdf9c18=_0x2a5034[_0x3a6f4c(0x22e)]=function(_0xf2a32e){var _0x80f8b4=_0x3a6f4c;if(_0xf2a32e instanceof ArrayBuffer&&(_0xf2a32e=new Uint8Array(_0xf2a32e)),(_0xf2a32e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf2a32e instanceof Uint8ClampedArray||_0xf2a32e instanceof Int16Array||_0xf2a32e instanceof Uint16Array||_0xf2a32e instanceof Int32Array||_0xf2a32e instanceof Uint32Array||_0xf2a32e instanceof Float32Array||_0xf2a32e instanceof Float64Array)&&(_0xf2a32e=new Uint8Array(_0xf2a32e[_0x80f8b4(0x355)],_0xf2a32e[_0x80f8b4(0x3be)],_0xf2a32e[_0x80f8b4(0x22d)])),_0xf2a32e instanceof Uint8Array){for(var _0x32d1bf=_0xf2a32e[_0x80f8b4(0x22d)],_0x1b03de=[],_0x48ba04=0x0;_0x48ba04<_0x32d1bf;_0x48ba04++)_0x1b03de[_0x48ba04>>>0x2]|=_0xf2a32e[_0x48ba04]<<0x18-_0x48ba04%0x4*0x8;_0x46ee67[_0x80f8b4(0x239)](this,_0x1b03de,_0x32d1bf);}else _0x46ee67['apply'](this,arguments);};_0xdf9c18['prototype']=_0x2a5034;}}()),_0x1de62f['lib'][_0x202295(0x3ac)];}));}(Oe)),Oe['exports'];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x387fe2(0x387)],st;function Gi(){var _0x1714dc=_0x387fe2;return st||(st=0x1,function(_0xb0bdec,_0x547077){(function(_0x3d7448,_0x121e2b,_0x1aac9b){var _0x51f723=_0x2609;_0xb0bdec[_0x51f723(0x387)]=_0x121e2b(Q(),Tt());}(Wi,function(_0x40fac8){var _0x4fd6be=_0x2609;return _0x40fac8[_0x4fd6be(0x251)][_0x4fd6be(0x1ca)]={'pad':function(){},'unpad':function(){}},_0x40fac8[_0x4fd6be(0x251)][_0x4fd6be(0x1ca)];}));}(Re)),Re[_0x1714dc(0x387)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0xfa606c,_0x4a548e){var _0x6d65bc=_0x387fe2;const _0x29a124=_0x4a548e-_0xfa606c['length']%_0x4a548e,_0xf4db1b=String[_0x6d65bc(0x134)](_0x29a124)[_0x6d65bc(0xab)](_0x29a124);return _0xfa606c+_0xf4db1b;}function zi(_0x5dec61,_0x485749){var _0x20fb91=_0x387fe2;const _0x260c6f=Vi[_0x20fb91(0x124)](0x10),_0x391cf1=Ki(_0x5dec61,0x10),_0x4f28a9=Mi[_0x20fb91(0x342)](Hi[_0x20fb91(0x3aa)](_0x391cf1),it[_0x20fb91(0x3aa)](_0x485749),{'iv':_0x260c6f,'padding':qi});return _0x260c6f[_0x20fb91(0x3f2)](_0x4f28a9[_0x20fb91(0x152)])[_0x20fb91(0x20e)](it);}function Ji(){var _0x1f5c91=_0x387fe2;const _0x56fe63=yt[_0x1f5c91(0x153)]()[_0x1f5c91(0xba)];if(_0x56fe63){const _0x4c537c={'time':Math[_0x1f5c91(0x2f5)](Date[_0x1f5c91(0xc8)]()/0x3e8),'domain':location['hostname']};return zi(JSON[_0x1f5c91(0xe1)](_0x4c537c),_0x56fe63);}}var Xi=Object[_0x387fe2(0xff)],Zi=(_0x1c812d,_0x2ec007,_0x5091ee,_0x1749bc)=>{var _0x163522=_0x387fe2;for(var _0x134746=_0x1749bc>0x1?void 0x0:_0x1749bc?Xi(_0x2ec007,_0x5091ee):_0x2ec007,_0x376b12=_0x1c812d[_0x163522(0x2b4)]-0x1,_0x4c80cd;_0x376b12>=0x0;_0x376b12--)(_0x4c80cd=_0x1c812d[_0x376b12])&&(_0x134746=_0x4c80cd(_0x134746)||_0x134746);return _0x134746;},Qi=(_0x3aa0d1,_0x466039)=>(_0x1fd852,_0x1ef959)=>_0x466039(_0x1fd852,_0x1ef959,_0x3aa0d1);let Ne=class{constructor(_0x4dbe61){var _0x36ace2=_0x387fe2;this[_0x36ace2(0x3da)]=_0x4dbe61,this[_0x36ace2(0x39e)]();}[_0x387fe2(0x39e)](){var _0x558083=_0x387fe2;this[_0x558083(0x3da)][_0x558083(0xde)]({'interceptor':(_0x5bbcaf,_0x15e9c2)=>{var _0xf9779c=_0x558083;const _0xd55834=_0x5bbcaf[_0xf9779c(0x394)],_0x4523ee=Ji();return _0x4523ee&&_0xd55834[_0xf9779c(0x1b1)](_0xf9779c(0x3f5),_0x4523ee),_0x15e9c2(_0x5bbcaf);}});}};Ne=Zi([Qi(0x0,a['Inject'](q[_0x387fe2(0x10b)]))],Ne);var en=Object[_0x387fe2(0xff)],tn=(_0x5d688c,_0x4b04ae,_0x3be99d,_0xdfa24d)=>{var _0x4ff314=_0x387fe2;for(var _0x12203a=_0xdfa24d>0x1?void 0x0:_0xdfa24d?en(_0x4b04ae,_0x3be99d):_0x4b04ae,_0xa994eb=_0x5d688c[_0x4ff314(0x2b4)]-0x1,_0x3b863c;_0xa994eb>=0x0;_0xa994eb--)(_0x3b863c=_0x5d688c[_0xa994eb])&&(_0x12203a=_0x3b863c(_0x12203a)||_0x12203a);return _0x12203a;},we=(_0x24892a,_0x5324c6)=>(_0x51080d,_0x53717d)=>_0x5324c6(_0x51080d,_0x53717d,_0x24892a);exports[_0x387fe2(0x111)]=class extends a[_0x387fe2(0x41a)]{constructor(_0x1083a0,_0x2b83d6,_0x39ffd1){var _0x1ee373=_0x387fe2;super(),A(this,_0x1ee373(0x2a8),new H[(_0x1ee373(0x2bf))](null)),A(this,_0x1ee373(0x215),this['_unitInfo$'][_0x1ee373(0x37f)]()),(this['_logService']=_0x1083a0,this[_0x1ee373(0x2bb)]=_0x2b83d6,this['_localCacheService']=_0x39ffd1);}async[_0x387fe2(0x1cf)](_0x2084a6,_0x27cdb8,_0x2dde19){var _0x1489e2=_0x387fe2;this[_0x1489e2(0x2a8)][_0x1489e2(0x1dc)]({'unitId':_0x2084a6,'type':_0x27cdb8});let _0x1abed8=null;switch(_0x27cdb8){case J[_0x1489e2(0x107)]:{_0x1abed8=await this[_0x1489e2(0x2bb)][_0x1489e2(0x114)](_0x2084a6,_0x2dde19);break;}case J[_0x1489e2(0x2a5)]:{_0x1abed8=await this[_0x1489e2(0x2bb)][_0x1489e2(0x3b9)](_0x2084a6,_0x2dde19);break;}default:{this[_0x1489e2(0x1c3)]['error']('[DataLoaderService]',_0x1489e2(0x1b0));break;}}return _0x1abed8;}async[_0x387fe2(0x2ba)](_0x6fb98e,_0x200019,_0x8b2ff0){var _0x2a2056=_0x387fe2,_0x490c0b;this[_0x2a2056(0x2a8)][_0x2a2056(0x1dc)]({'unitId':_0x6fb98e,'type':_0x200019,'subUnitId':_0x8b2ff0});let _0x2f1852=0x0;const _0x23fd1d=await((_0x490c0b=this[_0x2a2056(0x413)])==null?void 0x0:_0x490c0b['loadOfflineData'](_0x6fb98e));return _0x23fd1d&&(_0x23fd1d[_0x2a2056(0x160)]||_0x23fd1d[_0x2a2056(0x172)]['length']!==0x0)&&(_0x2f1852=_0x23fd1d[_0x2a2056(0x1e2)]),_0x2f1852===0x0&&this['_logService']['debug'](_0x2a2056(0x3c0),_0x2a2056(0x2c1)),this[_0x2a2056(0x1cf)](_0x6fb98e,_0x200019,_0x2f1852);}},exports['DataLoaderService']=tn([we(0x0,a['ILogService']),we(0x1,a[_0x387fe2(0x25f)](p[_0x387fe2(0x2bc)])),we(0x2,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x111)]);var nn=Object[_0x387fe2(0xff)],rn=(_0x1d5222,_0x5bd57d,_0x2461b4,_0x46fece)=>{for(var _0x48c119=_0x46fece>0x1?void 0x0:_0x46fece?nn(_0x5bd57d,_0x2461b4):_0x5bd57d,_0x113dc2=_0x1d5222['length']-0x1,_0x29d7fe;_0x113dc2>=0x0;_0x113dc2--)(_0x29d7fe=_0x1d5222[_0x113dc2])&&(_0x48c119=_0x29d7fe(_0x48c119)||_0x48c119);return _0x48c119;},Me=(_0x13ff50,_0x28a1ed)=>(_0x24b0b1,_0x4229aa)=>_0x28a1ed(_0x24b0b1,_0x4229aa,_0x13ff50);const sn=[_0x387fe2(0x353),_0x387fe2(0x38e),_0x387fe2(0x316),'image/gif',_0x387fe2(0xa7)],on=0x5*0x400*0x400,an='/universer-api/stream/file/upload',cn=_0x387fe2(0x1af);exports['CollaborationImageIoService']=class{constructor(_0x12e836,_0x4b1e7f,_0x1db670){var _0x9f4d48=_0x387fe2;A(this,_0x9f4d48(0x1a9),0x0),A(this,_0x9f4d48(0x223),new H[(_0x9f4d48(0x2e1))]()),A(this,_0x9f4d48(0x18d),this[_0x9f4d48(0x223)]),A(this,'_imageSourceCache',new Map()),(this[_0x9f4d48(0x3da)]=_0x12e836,this[_0x9f4d48(0x3a0)]=_0x4b1e7f,this['_univerInstanceService']=_0x1db670);}[_0x387fe2(0x1f9)](_0x3a5f23){var _0x429048=_0x387fe2;this['_waitCount']=_0x3a5f23,this[_0x429048(0x223)]['next'](_0x3a5f23);}['getImageSourceCache'](_0x21dbc7,_0x34e71c){var _0x2ad389=_0x387fe2;if(_0x34e71c===z[_0x2ad389(0x2bd)][_0x2ad389(0x222)]){const _0x1ba501=new Image();return _0x1ba501[_0x2ad389(0x23f)]=_0x21dbc7,_0x1ba501;}return this['_imageSourceCache'][_0x2ad389(0x12a)](_0x21dbc7);}[_0x387fe2(0xe8)](_0x4ecf40,_0x4378b9,_0x37be4a){var _0x582183=_0x387fe2;_0x4378b9===z[_0x582183(0x2bd)][_0x582183(0x222)]||_0x37be4a==null||this['_imageSourceCache'][_0x582183(0x1b1)](_0x4ecf40,_0x37be4a);}async[_0x387fe2(0x23b)](_0x4b76b4){var _0x49210e=_0x387fe2;try{const _0x6521a6=this[_0x49210e(0xc2)](this['_getSignURL'](),''+_0x4b76b4),_0x551226=(await this[_0x49210e(0x3da)][_0x49210e(0x12a)](_0x6521a6))['body'];if(_0x551226[_0x49210e(0x305)]&&_0x551226['error'][_0x49210e(0xca)]===dt['OK']){const _0x162950=new URL(_0x551226['url'],this[_0x49210e(0x3dd)]())[_0x49210e(0x20e)]();return Promise[_0x49210e(0x13e)](_0x162950);}return Promise[_0x49210e(0x208)](_0x551226[_0x49210e(0x305)]);}catch(_0x3e3e83){return Promise[_0x49210e(0x208)](_0x3e3e83);}}async[_0x387fe2(0xda)](_0xc18dcc){var _0x2349d4=_0x387fe2;let _0xdc18ec='';if(!sn['includes'](_0xc18dcc[_0x2349d4(0x2ed)]))return this['_decreaseWaiting'](),Promise[_0x2349d4(0x208)](new Error(z['ImageUploadStatusType'][_0x2349d4(0x17e)]));if(_0xc18dcc['size']>on)return this['_decreaseWaiting'](),Promise[_0x2349d4(0x208)](new Error(z[_0x2349d4(0x258)][_0x2349d4(0xdc)]));try{const _0x2b30f3=new FormData();_0x2b30f3[_0x2349d4(0xc1)]('file',_0xc18dcc);const _0x39a05f=this['_univerInstanceService']['getFocusedUnit'](),_0x2e07c0=_0x39a05f==null?void 0x0:_0x39a05f[_0x2349d4(0x195)]();if(!_0x2e07c0)throw new Error(_0x2349d4(0x110));const _0x40d8a4=this['_getUploadFileURL']()+_0x2349d4(0x39c)+_0xc18dcc[_0x2349d4(0x219)][_0x2349d4(0x20e)]()+'&source='+vt[_0x2349d4(0x3a8)]+_0x2349d4(0x351)+encodeURIComponent(_0x2e07c0),_0xc783e1={'body':_0x2b30f3},_0x1ef060=(await this[_0x2349d4(0x3da)][_0x2349d4(0x1b6)](_0x40d8a4,_0xc783e1))[_0x2349d4(0x1c9)];if(typeof _0x1ef060[_0x2349d4(0x293)]!=_0x2349d4(0x424))return this[_0x2349d4(0x338)](),Promise[_0x2349d4(0x208)](new Error(z['ImageUploadStatusType'][_0x2349d4(0x2dc)]));_0xdc18ec=_0x1ef060['FileId'];}catch{return this[_0x2349d4(0x338)](),Promise[_0x2349d4(0x208)](new Error(z['ImageUploadStatusType'][_0x2349d4(0x2dc)]));}return new Promise((_0x688b16,_0x3afeb9)=>{var _0x49e5f6=_0x2349d4;const _0x16efe5=new FileReader();_0x16efe5[_0x49e5f6(0x18a)](_0xc18dcc),_0x16efe5[_0x49e5f6(0x256)]=_0x4c9cdf=>{var _0x1a96bc=_0x49e5f6,_0x4950d9;const _0x26a9d2=(_0x4950d9=_0x4c9cdf[_0x1a96bc(0x3fb)])==null?void 0x0:_0x4950d9['result'];if(_0x26a9d2==null){this[_0x1a96bc(0x338)](),_0x3afeb9(new Error(z['ImageUploadStatusType'][_0x1a96bc(0x2dc)]));return;}const _0x1c7be4=a[_0x1a96bc(0x36a)](0x6);_0x688b16({'imageId':_0x1c7be4,'imageSourceType':z[_0x1a96bc(0x2bd)][_0x1a96bc(0x372)],'source':_0xdc18ec,'base64Cache':_0x26a9d2,'status':z[_0x1a96bc(0x258)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x387fe2(0x250)](){var _0x321b6d=_0x387fe2,_0x22fb70;const _0xf97fb5=this[_0x321b6d(0x3a0)]['getConfig'](Y);return(_0x22fb70=_0xf97fb5==null?void 0x0:_0xf97fb5[_0x321b6d(0x3b3)])!=null?_0x22fb70:an;}[_0x387fe2(0x1ea)](){var _0x8020a6=_0x387fe2,_0x257676;const _0xd56baf=this['_configService'][_0x8020a6(0x19c)](Y);return(_0x257676=_0xd56baf==null?void 0x0:_0xd56baf[_0x8020a6(0x326)])!=null?_0x257676:cn;}['_getDownloadEndpointURL'](){var _0x3a1621=_0x387fe2,_0x11d6c2;const _0x4e01e4=this['_configService'][_0x3a1621(0x19c)](Y);return(_0x11d6c2=_0x4e01e4==null?void 0x0:_0x4e01e4['downloadEndpointUrl'])!=null?_0x11d6c2:location[_0x3a1621(0x33f)];}['_replaceFileID'](_0xbcdc4a,_0x46b5a9){var _0xf8aa77=_0x387fe2;return _0xbcdc4a['replace'](_0xf8aa77(0x240),_0x46b5a9);}['_decreaseWaiting'](){var _0xcd2b83=_0x387fe2;this[_0xcd2b83(0x1a9)]-=0x1,this['_change$'][_0xcd2b83(0x1dc)](this[_0xcd2b83(0x1a9)]);}},exports['CollaborationImageIoService']=rn([Me(0x0,a[_0x387fe2(0x25f)](q[_0x387fe2(0x10b)])),Me(0x1,a['IConfigService']),Me(0x2,a[_0x387fe2(0x25f)](a['IUniverInstanceService']))],exports[_0x387fe2(0x14d)]);var hn=Object[_0x387fe2(0xff)],_n=(_0x1b63cc,_0x305d65,_0x12b3eb,_0x89ada3)=>{var _0x1cb3ed=_0x387fe2;for(var _0x2b6609=_0x89ada3>0x1?void 0x0:_0x89ada3?hn(_0x305d65,_0x12b3eb):_0x305d65,_0x5a1d1a=_0x1b63cc[_0x1cb3ed(0x2b4)]-0x1,_0x32bbac;_0x5a1d1a>=0x0;_0x5a1d1a--)(_0x32bbac=_0x1b63cc[_0x5a1d1a])&&(_0x2b6609=_0x32bbac(_0x2b6609)||_0x2b6609);return _0x2b6609;},ot=(_0x2f4794,_0x16fdff)=>(_0x2c9d9b,_0x47cb97)=>_0x16fdff(_0x2c9d9b,_0x47cb97,_0x2f4794);const ln=_0x387fe2(0x3e1);exports[_0x387fe2(0x22f)]=class{constructor(_0x24381b,_0x548a08){var _0x511ebd=_0x387fe2;this[_0x511ebd(0x3a0)]=_0x24381b,this[_0x511ebd(0x28c)]=_0x548a08;}[_0x387fe2(0x2cd)](){var _0x35bf90=_0x387fe2,_0x5be658;const _0x57ff93=this['_configService'][_0x35bf90(0x19c)](Y);return(_0x5be658=_0x57ff93==null?void 0x0:_0x57ff93[_0x35bf90(0xfa)])!=null?_0x5be658:ln;}async['list'](_0x3f8bca){var _0x562024=_0x387fe2;const _0x29865a=this[_0x562024(0x2cd)]()+_0x562024(0x1ec);return{'list':[{'title':_0x562024(0x418),'mentions':(await this[_0x562024(0x28c)][_0x562024(0x12a)](_0x29865a,{'params':{'objectID':_0x3f8bca[_0x562024(0xe7)],'unitID':_0x3f8bca[_0x562024(0xe7)]}}))['body'][_0x562024(0xae)][_0x562024(0xf0)](_0x340fdb=>({'objectId':_0x340fdb['id'],'name':_0x340fdb[_0x562024(0x335)][_0x562024(0x16a)],'metadata':{'icon':_0x340fdb[_0x562024(0x335)][_0x562024(0x3d4)]},'label':_0x340fdb[_0x562024(0x335)][_0x562024(0x16a)],'objectType':a[_0x562024(0x29c)][_0x562024(0x1dd)]})),'metadata':{},'type':a[_0x562024(0x29c)]['PERSON']}]};}},exports[_0x387fe2(0x22f)]=_n([ot(0x0,a[_0x387fe2(0x25f)](a['IConfigService'])),ot(0x1,a[_0x387fe2(0x25f)](q[_0x387fe2(0x10b)]))],exports[_0x387fe2(0x22f)]);var un=Object[_0x387fe2(0xff)],dn=(_0x2e2b6a,_0x1d3317,_0x1c4846,_0x4c5beb)=>{var _0x583e43=_0x387fe2;for(var _0x5d55c4=_0x4c5beb>0x1?void 0x0:_0x4c5beb?un(_0x1d3317,_0x1c4846):_0x1d3317,_0x2896ca=_0x2e2b6a[_0x583e43(0x2b4)]-0x1,_0x20082d;_0x2896ca>=0x0;_0x2896ca--)(_0x20082d=_0x2e2b6a[_0x2896ca])&&(_0x5d55c4=_0x20082d(_0x5d55c4)||_0x5d55c4);return _0x5d55c4;},le=(_0x2f0790,_0x1072c5)=>(_0x4f5ce8,_0x28fd92)=>_0x1072c5(_0x4f5ce8,_0x28fd92,_0x2f0790);let De=class extends a[_0x387fe2(0x41a)]{constructor(_0x58e40f,_0x120d5b,_0x3ea4f7,_0x44f4c2,_0x1e7b46){var _0x3c741f=_0x387fe2;super(),this['_injector']=_0x58e40f,this['_univerInstanceService']=_0x120d5b,this[_0x3c741f(0x3dc)]=_0x3ea4f7,this[_0x3c741f(0x19d)]=_0x44f4c2,this[_0x3c741f(0x2e8)]=_0x1e7b46,this[_0x3c741f(0x24a)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x3e2803=_0x387fe2;const _0x51b834=async _0xa621b7=>{var _0x203ff3=_0x2609;(await this[_0x203ff3(0x19d)]['requireSession'](_0xa621b7))[_0x203ff3(0xbb)]['pipe'](V[_0x203ff3(0x30f)](_0x54ae14=>_0x54ae14[_0x203ff3(0x2d5)]===p[_0x203ff3(0x184)][_0x203ff3(0x13d)]),V[_0x203ff3(0x1bd)](this[_0x203ff3(0xc3)]))[_0x203ff3(0x3a3)](_0x22e552=>{var _0x499352=_0x203ff3;const _0x4b76ed=_0x22e552,{reason:_0x33da0e}=_0x4b76ed[_0x499352(0xa4)];this[_0x499352(0x2e8)][_0x499352(0x3ea)]({'id':Z[_0x499352(0xf5)],'data':_0x33da0e}),this[_0x499352(0x3dc)][_0x499352(0x21a)](new X[(_0x499352(0x2f1))](_0xa621b7)['id'],!0x1),this[_0x499352(0x19d)][_0x499352(0x2a4)](_0xa621b7);});};H[_0x3e2803(0x155)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3e2803(0xc9)][_0x3e2803(0x107)]),this[_0x3e2803(0x396)][_0x3e2803(0x186)](a[_0x3e2803(0xc9)][_0x3e2803(0x2a5)]))[_0x3e2803(0x3cd)](V[_0x3e2803(0xf0)](_0x33901d=>_0x33901d[_0x3e2803(0x195)]()),V[_0x3e2803(0x30f)](_0x895b57=>!a[_0x3e2803(0x2ee)](_0x895b57)),V['takeUntil'](this['dispose$']))['subscribe'](_0x420eda=>{_0x51b834(_0x420eda);});}[_0x387fe2(0x24a)](){var _0x384533=_0x387fe2;const _0x25f90e=async _0x9f47da=>{var _0xf8a2de=_0x2609;const _0x3f4d53=await this[_0xf8a2de(0x19d)][_0xf8a2de(0x1fc)](_0x9f47da),_0x4501a2=this[_0xf8a2de(0x285)][_0xf8a2de(0x12a)](X[_0xf8a2de(0x2f9)]);_0x3f4d53[_0xf8a2de(0xbb)][_0xf8a2de(0x3cd)](V[_0xf8a2de(0x30f)](_0x5440e4=>_0x5440e4['eventID']===p['CollaborationEvent'][_0xf8a2de(0x2b2)]),V[_0xf8a2de(0x1bd)](this[_0xf8a2de(0xc3)]))['subscribe'](_0x2217c5=>{var _0x4b551e=_0xf8a2de;const _0xa1a5ef=_0x2217c5,{objectId:_0x2810e1}=_0xa1a5ef['data'];_0x2810e1===_0x9f47da?_0x4501a2[_0x4b551e(0x255)](_0x9f47da):_0x4501a2[_0x4b551e(0x20c)](_0x9f47da,_0x2810e1);});};H[_0x384533(0x155)](this[_0x384533(0x396)][_0x384533(0x186)](a['UniverInstanceType'][_0x384533(0x107)]))[_0x384533(0x3cd)](V['map'](_0x1ad807=>_0x1ad807[_0x384533(0x195)]()),V[_0x384533(0x30f)](_0x5e98df=>!a['isInternalEditorID'](_0x5e98df)),V[_0x384533(0x1bd)](this[_0x384533(0xc3)]))['subscribe'](_0x224155=>{_0x25f90e(_0x224155);});}};De=dn([le(0x0,a[_0x387fe2(0x25f)](a['Injector'])),le(0x1,a['IUniverInstanceService']),le(0x2,a['IPermissionService']),le(0x3,a[_0x387fe2(0x25f)](exports[_0x387fe2(0x3e6)])),le(0x4,a[_0x387fe2(0x25f)](ee))],De);var vn=Object['getOwnPropertyDescriptor'],Sn=(_0x9f3302,_0x30b6bc,_0x549bd3,_0x1f0a0f)=>{for(var _0x2aefa7=_0x1f0a0f>0x1?void 0x0:_0x1f0a0f?vn(_0x30b6bc,_0x549bd3):_0x30b6bc,_0x38c16a=_0x9f3302['length']-0x1,_0x84b226;_0x38c16a>=0x0;_0x38c16a--)(_0x84b226=_0x9f3302[_0x38c16a])&&(_0x2aefa7=_0x84b226(_0x2aefa7)||_0x2aefa7);return _0x2aefa7;},at=(_0x3b4482,_0x5f028d)=>(_0x5a8d98,_0x4840bf)=>_0x5f028d(_0x5a8d98,_0x4840bf,_0x3b4482);exports[_0x387fe2(0x205)]=class{constructor(_0x17254d,_0x567b6c){var _0x20d72a=_0x387fe2;this['_configService']=_0x17254d,this[_0x20d72a(0x3da)]=_0x567b6c;}async['getUnitOnRev'](_0x1a3976,_0x465026){var _0x4793ae=_0x387fe2,_0x55ca32;const {unitID:_0x571827,type:_0x25463e,revision:_0x4261e6=0x0}=_0x465026,_0x1cabb6=this[_0x4793ae(0xb1)]()+'/'+_0x25463e+_0x4793ae(0x150)+_0x571827+_0x4793ae(0x1c2)+_0x4261e6,_0x35046d=(await this[_0x4793ae(0x3da)]['get'](_0x1cabb6))['body'],_0x2c7773=(_0x55ca32=_0x35046d['snapshot'])==null?void 0x0:_0x55ca32[_0x4793ae(0x1f6)];if(_0x2c7773){const _0x54c0c0=_0x2c7773==null?void 0x0:_0x2c7773[_0x4793ae(0x202)],_0x57c6e8=p['textEncoder']['encode'](p['b64DecodeUnicode'](_0x54c0c0));_0x2c7773[_0x4793ae(0x202)]=_0x57c6e8,Object[_0x4793ae(0x390)](_0x2c7773[_0x4793ae(0x289)])['forEach'](([,_0x374366])=>{var _0x1b42b4=_0x4793ae;const _0x5e205f=_0x374366[_0x1b42b4(0x202)],_0x36223d=p[_0x1b42b4(0x2ea)][_0x1b42b4(0x1c0)](p[_0x1b42b4(0x144)](_0x5e205f));_0x374366['originalMeta']=_0x36223d;});}return _0x35046d;}async[_0x387fe2(0x20a)](_0x5ab2bc,_0x992400){var _0xcba25e=_0x387fe2;const {unitID:_0x275735,type:_0x501e79,blockID:_0x598592}=_0x992400,_0x239a97=this[_0xcba25e(0x3fe)]()+'/'+_0x501e79+_0xcba25e(0x150)+_0x275735+_0xcba25e(0x32b)+_0x598592;return(await this[_0xcba25e(0x3da)][_0xcba25e(0x12a)](_0x239a97))[_0xcba25e(0x1c9)];}async['getDeserializedSheetBlock'](_0x421405,_0x2e676d){var _0x3ff398=_0x387fe2;const {unitID:_0x242d6f,type:_0x2cf450,blockID:_0x24948a}=_0x2e676d,_0x2e9750=this['_getAPIPrefix']()+'/block/'+_0x2cf450+_0x3ff398(0x150)+_0x242d6f+'/block/'+_0x24948a;return(await this['_httpService'][_0x3ff398(0x12a)](_0x2e9750))[_0x3ff398(0x1c9)];}async[_0x387fe2(0xd6)](_0x4b07ad,_0x2763f8){var _0x4b9824=_0x387fe2;const {unitID:_0x14db52,type:_0x49aea5,from:_0xcfcbd,to:_0x5a0b00}=_0x2763f8,_0x2325c3=this[_0x4b9824(0x3fe)]()+'/'+_0x49aea5+_0x4b9824(0x150)+_0x14db52+_0x4b9824(0xb3)+_0xcfcbd+_0x4b9824(0x22c)+_0x5a0b00;return(await this[_0x4b9824(0x3da)][_0x4b9824(0x12a)](_0x2325c3))[_0x4b9824(0x1c9)];}[_0x387fe2(0xb1)](){var _0x47825e=_0x387fe2,_0x16f2bc;return(_0x16f2bc=this[_0x47825e(0x3a0)]['getConfig'](Dt))!=null?_0x16f2bc:this[_0x47825e(0x3fe)]();}[_0x387fe2(0x3fe)](){var _0x432554=_0x387fe2,_0x46d243;const _0x4d6434=this[_0x432554(0x3a0)][_0x432554(0x19c)](Y);return(_0x46d243=_0x4d6434==null?void 0x0:_0x4d6434[_0x432554(0xc6)])!=null?_0x46d243:Nt;}async[_0x387fe2(0x1ef)](_0x460f1f,_0x5f1e63){var _0x2ff378=_0x387fe2;const _0x49cf1c='/universer-api/snapshot/'+_0x5f1e63[_0x2ff378(0x2ed)]+_0x2ff378(0x150)+_0x5f1e63['unitID']+_0x2ff378(0x19e);return(await this[_0x2ff378(0x3da)][_0x2ff378(0x12a)](_0x49cf1c,{'params':{'resourceId':JSON[_0x2ff378(0xe1)](_0x5f1e63[_0x2ff378(0x3ee)])}}))[_0x2ff378(0x1c9)];}[_0x387fe2(0x3ae)](){var _0xf3b4cf=_0x387fe2;throw new Error(_0xf3b4cf(0x3df));}[_0x387fe2(0x158)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x387fe2(0x2d3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x2ac81f=_0x387fe2;throw new Error(_0x2ac81f(0x3df));}['copyFileMeta'](){var _0x3f47ad=_0x387fe2;throw new Error(_0x3f47ad(0x3df));}[_0x387fe2(0x12f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x387fe2(0x205)]=Sn([at(0x0,a[_0x387fe2(0x3b6)]),at(0x1,a[_0x387fe2(0x25f)](q[_0x387fe2(0x10b)]))],exports[_0x387fe2(0x205)]);var fn=Object[_0x387fe2(0xff)],In=(_0x18fc71,_0x5a0c6d,_0x3bfcc8,_0x31faa1)=>{var _0x17eedd=_0x387fe2;for(var _0x23d549=_0x31faa1>0x1?void 0x0:_0x31faa1?fn(_0x5a0c6d,_0x3bfcc8):_0x5a0c6d,_0x4c87f9=_0x18fc71[_0x17eedd(0x2b4)]-0x1,_0x2bf0ef;_0x4c87f9>=0x0;_0x4c87f9--)(_0x2bf0ef=_0x18fc71[_0x4c87f9])&&(_0x23d549=_0x2bf0ef(_0x23d549)||_0x23d549);return _0x23d549;},ue=(_0x3392d5,_0x546802)=>(_0x553fad,_0x57a48d)=>_0x546802(_0x553fad,_0x57a48d,_0x3392d5);exports[_0x387fe2(0x361)]=class extends a[_0x387fe2(0x236)]{constructor(_0x1f007c,_0x67cd75,_0x46e887,_0x228285,_0x45c313){var _0x5d9d15=_0x387fe2;super(_0x1f007c,_0x67cd75,_0x46e887),this['_transformService']=_0x228285,this[_0x5d9d15(0x1c3)]=_0x45c313;}[_0x387fe2(0x3d5)](_0x2e5cf3,_0x45ee48){var _0x34ddeb=_0x387fe2;const _0x346731=this['_getUndoStack'](_0x2e5cf3);if(_0x346731)try{const _0x33d16a=this['_transformStack'](_0x346731,_0x45ee48);this['_substituteUndoStack'](_0x2e5cf3,_0x33d16a);}catch(_0x17c8de){this['_logService'][_0x34ddeb(0x305)](_0x34ddeb(0x3b4),_0x17c8de),this[_0x34ddeb(0x313)](_0x2e5cf3);}const _0x18315d=this['_getRedoStack'](_0x2e5cf3);if(_0x18315d)try{const _0x1f33ca=this['_transformStack'](_0x18315d,_0x45ee48);this[_0x34ddeb(0x383)](_0x2e5cf3,_0x1f33ca);}catch(_0x42572d){this[_0x34ddeb(0x1c3)]['error'](_0x42572d),this['_clearRedo'](_0x2e5cf3);}}[_0x387fe2(0x313)](_0x5d67f8){var _0x180bcd=_0x387fe2;const _0x9c479=this[_0x180bcd(0x297)](_0x5d67f8);_0x9c479&&(_0x9c479['length']=0x0,this[_0x180bcd(0x2b7)]());}[_0x387fe2(0x259)](_0x21c640){var _0x2cdb6e=_0x387fe2;const _0x417d7d=this['_getRedoStack'](_0x21c640);_0x417d7d&&(_0x417d7d[_0x2cdb6e(0x2b4)]=0x0,this[_0x2cdb6e(0x2b7)]());}[_0x387fe2(0x341)](_0x2f7428,_0x561cb0){var _0xeaaef7=_0x387fe2;this[_0xeaaef7(0x1e8)][_0xeaaef7(0x1b1)](_0x2f7428,_0x561cb0),this[_0xeaaef7(0x2b7)]();}['_substituteRedoStack'](_0x355d7a,_0x149a59){var _0x51c0ce=_0x387fe2;this[_0x51c0ce(0x1ba)]['set'](_0x355d7a,_0x149a59),this['_updateStatus']();}[_0x387fe2(0x39f)](_0x4d6ccd,_0x290bc5){var _0x3986b6=_0x387fe2;const _0x3c8508=[];let _0x3b5ba8=_0x290bc5,_0x347633=_0x290bc5;for(let _0x3b254f=_0x4d6ccd[_0x3986b6(0x2b4)]-0x1;_0x3b254f>=0x0;_0x3b254f--){const {unitID:_0x5df6c0,undoMutations:_0x3a3692,redoMutations:_0x32a29e}=_0x4d6ccd[_0x3b254f],_0x6d84db=this[_0x3986b6(0x270)][_0x3986b6(0x127)](_0x3b5ba8,_0x3a3692),_0x2d97b8=this['_transformService'][_0x3986b6(0x127)](_0x347633,_0x32a29e);if(p[_0x3986b6(0xd4)](_0x6d84db)||p[_0x3986b6(0xd4)](_0x2d97b8)){this[_0x3986b6(0x1c3)][_0x3986b6(0x305)](_0x3986b6(0x3b4),'transformStack\x20failed!',_0x6d84db,_0x2d97b8);break;}_0x3b5ba8=_0x6d84db[_0x3986b6(0x37e)],_0x347633=_0x2d97b8[_0x3986b6(0x37e)],_0x3c8508[_0x3986b6(0x2a6)]({'unitID':_0x5df6c0,'undoMutations':_0x6d84db['m2Prime'],'redoMutations':_0x2d97b8['m2Prime']});}return _0x3c8508['reverse']();}},exports[_0x387fe2(0x361)]=In([ue(0x0,a['IUniverInstanceService']),ue(0x1,a['ICommandService']),ue(0x2,a[_0x387fe2(0x323)]),ue(0x3,p[_0x387fe2(0x25b)]),ue(0x4,a[_0x387fe2(0x2d9)])],exports[_0x387fe2(0x361)]);var pn=Object['defineProperty'],mn=Object[_0x387fe2(0xff)],gn=(_0xd22f98,_0x14c9d4,_0x2ee269)=>_0x14c9d4 in _0xd22f98?pn(_0xd22f98,_0x14c9d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ee269}):_0xd22f98[_0x14c9d4]=_0x2ee269,En=(_0xc6dfe5,_0x555ae4,_0x44ecc3,_0x54e37a)=>{var _0x148603=_0x387fe2;for(var _0x333bc9=_0x54e37a>0x1?void 0x0:_0x54e37a?mn(_0x555ae4,_0x44ecc3):_0x555ae4,_0x4f4abc=_0xc6dfe5[_0x148603(0x2b4)]-0x1,_0x13f718;_0x4f4abc>=0x0;_0x4f4abc--)(_0x13f718=_0xc6dfe5[_0x4f4abc])&&(_0x333bc9=_0x13f718(_0x333bc9)||_0x333bc9);return _0x333bc9;},Le=(_0x236345,_0x23242b)=>(_0x5df531,_0xa34ebd)=>_0x23242b(_0x5df531,_0xa34ebd,_0x236345),Cn=(_0x2f4c12,_0x36ca8c,_0x53cf71)=>gn(_0x2f4c12,_0x36ca8c+'',_0x53cf71);const Tn=_0x387fe2(0xd8);exports[_0x387fe2(0x16d)]=class extends a['Plugin']{constructor(_0x3bbbcf,_0x246ba1,_0x4434ba,_0x55579b){var _0x1bdf2d=_0x387fe2;super(),A(this,'_config'),(this['_logService']=_0x246ba1,this[_0x1bdf2d(0x285)]=_0x4434ba,this[_0x1bdf2d(0x3a0)]=_0x55579b);const {..._0x110af3}=a[_0x1bdf2d(0x155)]({},Bt,_0x3bbbcf);if(!_0x110af3['socketService'])throw new Error(_0x1bdf2d(0x2d0));this[_0x1bdf2d(0x170)]=_0x110af3,this[_0x1bdf2d(0x3a0)][_0x1bdf2d(0x1cc)](Y,_0x110af3);}['onStarting'](){var _0x5ee504=_0x387fe2;this[_0x5ee504(0x319)](),this['_initDependencies']();}['_registerDependencies'](){var _0x4b4d58=_0x387fe2,_0x38a4f2,_0x597f99;this['_injector']['has'](a[_0x4b4d58(0x106)])&&this[_0x4b4d58(0x1c3)][_0x4b4d58(0x305)](_0x4b4d58(0xe6),_0x4b4d58(0x357));const _0x2b13a8=a[_0x4b4d58(0x23a)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x4b4d58(0x3e6)]],[exports[_0x4b4d58(0xf6)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[He],[De],[ee],[exports[_0x4b4d58(0x111)]],[$e,{'useClass':this[_0x4b4d58(0x170)][_0x4b4d58(0x2d2)]}],[p['ISnapshotServerService'],{'useClass':exports[_0x4b4d58(0x205)]}],[a[_0x4b4d58(0x3cb)],{'useClass':exports[_0x4b4d58(0x115)]}],[z[_0x4b4d58(0xbe)],{'useClass':exports[_0x4b4d58(0x14d)]}],[a['IMentionIOService'],{'useClass':exports[_0x4b4d58(0x22f)]}],[exports[_0x4b4d58(0x2c3)]],[xe]],(_0x38a4f2=this[_0x4b4d58(0x170)])==null?void 0x0:_0x38a4f2[_0x4b4d58(0x3cf)]);if(!((_0x597f99=this[_0x4b4d58(0x170)])!=null&&_0x597f99[_0x4b4d58(0x407)])){const _0x59b8dd=_0x2b13a8['findIndex'](([_0x2390c0])=>_0x2390c0===de);_0x59b8dd!==-0x1&&_0x2b13a8[_0x4b4d58(0x176)](_0x59b8dd,0x1);}a[_0x4b4d58(0x3f7)](this['_injector'],_0x2b13a8);}[_0x387fe2(0xad)](){var _0x8ab096=_0x387fe2,_0x5a63fa,_0x3c4245,_0x2c936f;this[_0x8ab096(0x285)][_0x8ab096(0x12a)](q[_0x8ab096(0x10b)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x8ab096(0x3a5)]({'maxParallel':0x6})}),(_0x5a63fa=this[_0x8ab096(0x170)])!=null&&_0x5a63fa[_0x8ab096(0x246)]||(_0x3c4245=this[_0x8ab096(0x285)][_0x8ab096(0x12a)](K,a[_0x8ab096(0x166)]['OPTIONAL']))==null||_0x3c4245[_0x8ab096(0xed)](),(_0x2c936f=this['_config'])!=null&&_0x2c936f['enableAuthServer']&&a[_0x8ab096(0x391)](this['_injector'],[[ye]]),a[_0x8ab096(0x391)](this[_0x8ab096(0x285)],[[Ne],[exports['CollaborationController']],[De]]);}},Cn(exports['UniverCollaborationClientPlugin'],'pluginName',Tn),exports[_0x387fe2(0x16d)]=En([a[_0x387fe2(0x39d)](p[_0x387fe2(0x34f)],q[_0x387fe2(0x26e)]),Le(0x1,a[_0x387fe2(0x2d9)]),Le(0x2,a[_0x387fe2(0x25f)](a['Injector'])),Le(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x387fe2(0x1aa)]=Y,exports[_0x387fe2(0x371)]=Be,exports[_0x387fe2(0xf1)]=Z,exports[_0x387fe2(0x3de)]=ee,exports[_0x387fe2(0x40a)]=He,exports[_0x387fe2(0x221)]=ht,exports[_0x387fe2(0x30e)]=jt,exports[_0x387fe2(0x2f8)]=At,exports[_0x387fe2(0x3c8)]=_t,exports[_0x387fe2(0x1ab)]=ke,exports['ICollaborationSocketService']=$e,exports[_0x387fe2(0x1bc)]=K,exports[_0x387fe2(0x420)]=St,exports[_0x387fe2(0xf3)]=de,exports[_0x387fe2(0x1fd)]=xt,exports[_0x387fe2(0x275)]=Lt,exports[_0x387fe2(0x38d)]=Ht,exports[_0x387fe2(0x254)]=ut,exports['SessionStatus']=re,exports[_0x387fe2(0x36b)]=je,exports[_0x387fe2(0x366)]=ft,exports['getLocalCacheKey']=ei,exports[_0x387fe2(0x40b)]=It;
1
+ 'use strict';function _0x2ab3(){var _0xf5d673=['closeSession','finalize','roomInfos','shareReplay','_process','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onRemoteACK','online$','/universer-api/file/{fileID}/sign-url','LocalUndoRedoService','getCollabEntity$','SNAPSHOT_HAS_BEEN_REMOVED','_waitCount','RxDisposable','HEARTBEAT_TIMEOUT_KEY','LIVESHARE_NEW_HOST','_substituteRedoStack','HEARTBEAT_INTERVAL_KEY','enableCollaboration','\x0aAfter:\x20','INVITE_CODE_REQUIRED','ICommandService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_state','USERS_LEAVE','/role','get','IPermissionService','CollaborationUIEventId','[CollaborationSessionService]','forEach','randomBytes','_initMergeInterceptor','_revisionService','getTypeOfUnitDisposed$','_memberService','WECHAT_HAS_BEEN_BOUND','unpad','commentUpdate$','min','univer-pro.collaboration-client.single-active-unit-service','LOCAL_CACHE_INTERVAL_KEY','LIVESHARE_FETCH_OPERATIONS','objectID','OTHER_CLIENT_EDITING','awaiting_with_pending','buffer','_tryEnsureSocket','_logService','has','_socket$','_transformSelections','getUnitOnRev','getUnitType','SOCKET_FAILED_RETRY','changesets','_collaborationTimeoutTimer','format','YUUMI_RATE_OVER_LIMIT','error$','HEARTBEAT_INTERVAL','_submitChangeset','apply','getWorkbookSelections','_onConflict','c1Prime','getRoom','add','UNIVER_SLIDE','__Key__','range','x-univer-host','mapDocumentTypeToUniverType','_getLoginPath','hostname','Inject','FETCH_MISS','collaMsg','Injector','snapshotServerUrl','_sender','href','_getDownloadEndpointURL','_singleActiveUnitService','_fetchMissChangesets','FetchingMissState','getUnit','joinRsp','newCsEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_clearRetryConnectingTimer','Encryptor','_getAPIPrefixPath','complete','state','encrypt','_commandService','onMissingChangesets','_compressMutationService','createInstance','BlockCipher','_minBufferSize','RichTextEditingMutation','name','/universer-api/stream/file/upload','UniverInstanceType','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_retryCount','_executeRemoteChangeset','932043KOBcXy','CollaborationSocketService','padding','_joinRoom','CommentService','_state$','2173173JbxyzP','_initRequestHeader','localCacheService','pipe','INVITE_CODE_HAS_BEEN_UES','_doCryptBlock','listCollaborators','_queuedRemoteChangesets','getLatestCsReqIdBySid','_permissionService','firstValueFrom','createCollaborator','getAllMembers','AWAITING_WITH_PENDING','mixIn','_unlockTransition','APPLY_REJECT','HmacMD5','UPDATE_CURSOR','_doFinalize','ws://127.0.0.1:8000/universer-api/comb/connect','readInt32LE','_keySchedule','Tools','351695HbiHxz','_tryReconnect','/fetchmissing?from=','_socketService','getConfig','routeKey','YUUMI_NO_CUBOID_FOR_QUESTION','_sessions','saveSnapshot','CollaborationEntity','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','allowed','byteLength','_snapshotServerService','infoRsp','headers','registerHTTPInterceptor','editing\x20status\x20changed\x20to','_handlerCallback','unitId','saveChangeset','LIVESHARE_REQUEST_HOST','UnitSnapshot','fetchMissingChangesets','sheets','message$','connection\x20error','objectType','session','_getSendChangesetTimeout','CollaborativeUndoRedoService','MemberService','execute','CompressMutationService','cfg','auth.needGotoLoginAlert','ONLINE','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','APPLY_DUPLICATED','isTransformChangesetsSuccess','18AtpJUF','_getCtorByUniverType','requestParams','conflict','getUnitId','disposeWithMe','session.room-permission-denied','reverse','UNIVER_PROJECT','ISingleActiveUnitService','IContextService','ConflictState','kdf','MergeInterceptorFactory','_collaborationPaused','CollaborationEvent','updatePermissionPoint','/universer-api/user/session-ticket','save\x20fail\x20reason\x20is\x20','_onRemoteRejected','_onConnectionFailed','entries','IDLE','toggleOnline','CHANGESET_REVISION_CONFILICT','getRandomValues','_throwTelemetryCollaborationNewChangeset','location','_oKey','disableLocalCache','JOIN_ROOM_FULL','collabSubmitChangesetUrl','FETCH_MISSING','_onUserLeave','_onConnectionOpen','appendMutation','SOCKET_FAILED','signUrlServerUrl','Quantity','SyncedState','isTransformMutationsWithChangesetFailure','resend','enableAuthServer','LocaleService','createIdentifier','ISocketService','_hasher','parseChangesetToProtocol','formatter','_onOffline','session.room-not-exists','downloadEndpointUrl','_onUserJoin','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_acknowledgedAwaitingChangeset','_imageSourceCache','CollaborationSessionService','pending','_sheetTransformSelectionsService','SessionStatus','enableOfflineEditing','APPLY_NON_SEQUENTIAL_REVISION','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getInterceptPoints','_ENC_XFORM_MODE','isTransformMutationsWithChangesetSuccess','AES','_telemetryInfo','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Pkcs7','INVALID_ARGUMENT','NEW_CHANGESETS','_sendHeartbeat','_onFetchMissResult','SYNCED','YUUMI_SUBSCRIPTION_NOT_FOUND','getResourcesRequest','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createDecryptor','_transformIMECache','focused$','snapshot','error','sessionStatus$','Subject','uploadFileServerUrl','/block/','mutations','setShowComponents','_collaborationSessionService','LICENSE_MAX_UNITS_EXCEEDED','univer-pro.collaboration-client.network-condition.service','Rectangle','image/jpeg','getCollabEntity','JOIN_ROOM_NOT_EXISTS','take','image/bmp','create','_members$','ENSURE_SNAPSHOT_EXECUTION','SUCCUSS','/-/object/-/batch_allowed','filter','transformSelections','_getSignURL','defineProperty','_xformMode','getFocusedUnit','BASE64','ICollaborationSocketService','_univerInstanceService','IUndoRedoService','_emitMembers','getSnapshotAPIPath','&to=','PENDING','onTransformState','updateMember','onRemoteRetry','removeMember','mergeOverrideWithDependencies','mode','enableSingleActiveInstanceLock','deepClone','_transformUndoredo','_toggleOnline','HEARTBEAT_TIMEOUT','dispose','patch','Latin1','_initCloseConn','HmacSHA1','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','[CollaborationSession]','[OfflineState]:\x20received\x20changeset.','update','_pendingMutations','fetch_missing','unitId\x20is\x20not\x20found','confirm','_transformRemoteChangesetByIMECache','salt','getMember','SheetPermissionInitController','JOINING','algo','_transformStack','LOGIN_FAILED','PERSON','addHandlerCallback','setWaitCount','initWorkbookPermissionChange','sigBytes','INTERNAL_ERROR','_reverseMap','_cipher','/collaborator','_key','USER_NOT_INVITED_CODE','MOBILE_VERIFY_CODE_MISMATCH','UNIVER_DOC','_iKey','close$','80084fqMkVa','YUUMI_URL_COL_OUT_OF_RANGE','toDisposable','[SyncedState]:\x20received\x20acknowledgement.','stringify','TOO_MANY_REQUESTS','unsubscribe','pad','onRemoteAck','_socket','COMPRESS_MUTATION_SEND','generateRandomId','selections','FileId','RevisionService','_toggleOffline','duration','MD5','_unitID','_syncEditingCollabCursor','getGlobalObject','/-/object/list','UniverCollaborationClientPlugin','subUnitId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','__esModule','keySize','YUUMI_AI_RUN_FAILED','SetSelectionsOperation','Hasher','_replaceFileID','_checkMissing','MUTATION','_keyPriorReset','emitEvent','fetching\x20missing\x20changesets\x20from\x20','startsWith','/universer-api/comb','CollaborationStatus','data','authzUrl','_collaborationUIEventService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','IImageIoService','PendingState','_instanceService','length','unitID','getSheetId','every','_nRounds','RETRY_CONNECTING_MAX_COUNT','649306GgJmTe','_clearRedo','COMPLETION_FINISHED','UserManagerService','slice','INetworkConditionService','Undefined','enc','_stopTelemetryCollaborationNewChangeset','_doCreateSocket','_configService','CollaborationController','ERROR_EXCEED_SIZE','_getRedoStack','string','onRemoteRej','init','ERROR_IMAGE','replace','UNKNOWN_CODE','APPLY_REVISION_CONFILICT','_event$','m2Prime','[PendingState]:\x20unhandled\x20univer\x20type:\x20','OFFLINE','/allowed','socketService','[OfflineState]:\x20received\x20rejection.','c2Prime','UPDATE_PERMISSION_OBJ','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','loadOfflineData','subject','loadUnitOfRevision','delay','UNIVER_SHEET','withCredentials','find','_awaitingChangeset','_clearCollaborationTimeoutTimer','LIVESHARE_TERMINATE','cmd','Could\x20not\x20dynamically\x20require\x20\x22','Base64','_HTTPService','_clearHeartbeatTimer','ILogService','LICENSE_DISTRO_REJECTED','isPermissionRej','LIVESHARE_OPERATION','_getUndoStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','lib','setCurrentUser','INVALID_INVITE_CODE','clear','function','Optional','getImageSourceCache','floor','HttpExport','_change$','listRoles','clone','/universer-api/oidc/authpage','liveShareOperation','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createHandler','resolve','_lockTransition','ceil','synced','unknown','onRemoteChangeset','push','YUUMI_ASYNCIO_CANCELLED','parse','awaitingChangeset','_socketMessageSubscription','_onMessage','originalMeta','stopTime','memberID','takeUntil','fetchThroughInterceptors','concat','Base','[CollaborationSessionService]:\x20socket\x20error','not_collab','_sendHeartbeatTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','$super','_onLocalMutation','RECV','UNIVER_UNKNOWN','UNIVER_COLLABORATION_CLIENT_PLUGIN','UNRECOGNIZED','_httpService','_candidateSocket','merge','sin','telemetry\x20info\x20is\x20not\x20initialized','_scheduleCollaborationTimeoutTimer','unitInfo$','onStateChange','OfflineState','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getTypeOfUnitAdded$','_createInitialState','Disposable','MentionIoHttpService','ImageSourceType','fromCollab','UnitEmbedded','textEncoder','copyFileMeta','_mode','_iv','HttpImport','body','/universer-api/snapshot','parseProtocolChangeset','onMissedChangesetFetched','CHANGESET_SHOULD_RETRY','_handler','NOT_FOUND','/universer-api/snapshot/','_initUnitPermissionChange','__creator','SheetCollaborationEntity','saveSheetBlock','/universer-api/uniscript','YUUMI_TABLE_NOT_FOUND_IN_UNIT','DocCollaborationEntity','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','put','method','getOwnPropertyDescriptor','IUniverInstanceService','image/jpg','createSocket','revision','_redoStacks','fetchMiss','_doReset','NoPadding','MentionType','HELLO','UNDEFINED','136HQotvA','transformChangesets','/resources','_remoteChangesetQueue','People','PERMISSION_DENIED','action','CLOSE_ROOM','onCommandExecuted','rev','_updateStatus','createEncryptor','csAckEvent','_collabSessionService','_networkConditionService','commentUpdateEvent','toggleOffline','loadDoc','MSG_FOR_ERROR','awaiting','event$','origin','univer-pro.collaboration-client-socket-service','DEFAULT_FILE_NAME','requireSession','_exhaustRemoteChangesetQueue','Failed\x20to\x20update\x20permission\x20point','DataLoaderService','close','post','from','addImageSourceCache','NOT_COLLAB','_getAPIPrefix','APPLY_PERMISSION_DENIED','_localCacheService','batchAllowed','onTransformRemoteChangesetByIMECache','[CollaborationState]:\x20apply\x20error!','getSheetBlock','_applyRemoteChangeset','_nDataBytes','baseRev','PSEUDO_FETCH_MISSING_RESULT','_registerDependencies','_retryConnectingTimer','catch','interceptor','CONNECTOR_DATA_TOO_LARGE','isInternalEditorID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CipherParams','_onRemoteRetry','onSyncEditingCollabCursor','session.join-failed','INVITE_CODE_ALREADY_BOUND','UNKNOWN_CMD','failed\x20to\x20apply\x20missed\x20changesets!','exports','_status$','_waitForHeartbeatResponse','retryConnectingInterval','type','actions','UniverCollaborationPlugin','random','send','encryptBlock','_transitionLocked','Cipher','localeService','reset','next','_append','JOIN','indexOf','UNAUTHENTICATED','SNAPSHOT_INVALID_SNAPSHOT','_changesetSessionId','WordArray','onLocalMutation','COMMENT_UPDATE','_scheduleCompleteTimestamp','toString','transformMutationsWithChangeset','[UniverCollaborationClientPlugin]','now','_initDependencies','join','_type','_onRemoteChangeset','{fileID}','MOBILE_HAS_BEEN_BOUND','LICENSE_IMPORT_SIZE_EXCEEDED','WorkbookEditablePermission','_startCollaboration','extend','ReplaySubject','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UnitStatus','LICENSE_EXPORT_SIZE_EXCEEDED','POST','_entityInit$','avatar','JSONX','_timeoutTimer','set','HTTPService','updateCursorEvent','FAIL','objects','capture','_substituteUndoStack','AwaitingWithPendingState','status','debug','GLOBAL_ROOMS_CNT_EXCEEDS','PasswordBasedCipher','SheetTransformSelectionsService','_onJoinRoomEvent','_createInitialStateImpl','[OfflineState]:\x20received\x20acknowledgement.','getCurrentUser','_changesetReqId','call','_localeService','hasher','PY_RUNTIME_SCRIPT_ERROR','_resendTimeout','_transformService','onTransformSelections','_telemetryService','COMPRESS_MUTATION_APPLY','RETRY_CONNECTING_MAX_COUNT_KEY','eventID','UNISCRIPT_RUN','reduce','file','onSendChangeset','_roomMembers','change$','leaveEvent','msCrypto','Module','code','asObservable','socket$','BehaviorSubject','collaboratorID','socket\x20open.','509968TCgkgP','unit-cache-','Decryptor','map','loadUnit','collaborators','_injector','onlyLocal','_sendingTimer','result','objectActions','_createHmacHelper','SUBMIT_CHANGESET','reqId','textRanges','touchDependencies','_clearTimeoutTimer','ISnapshotServerService','_onRecvEvent','_roomCreated$','&source=','joinEvent','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SHOULD_CLOSE_CONN','collabWebSocketUrl','_rescheduleHeartbeat','decrypt','INGEST','compute','src','[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.','Error\x20on\x20receiving\x20event','SNAPSHOT_URL_KEY','params','SheetsSelectionsService','_data','iterations','offline','state$','OpenSSL','reject','encode','toStringTag','refreshPermission','_unitInfo$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','executeCommand','processBlock','CollaborationUIEventService','512307smeYwz','_createSocket','list','[CollaborationUndoRedoService]','transformUndoRedo','CONFLICT','IConfigService','members$','_doProcessBlock','YUUMI_CONNECTOR_URL_NOT_FOUND','_init','_snapshotService','csRejEvent','USERS_ENTER','ITransformService','[CollaborationEntity]','includes','isArray','_prevBlock','getLocalCacheKey','OPTIONAL','_updateState','/universer-api/authz','_clearLocalCache','_getUploadFileURL','CommandType','SnapshotServerOverHTTPService','reconnect','size','CHANGESET_ACK','hasOwnProperty','prototype','_hash','EMAIL_HAS_BEEN_BOUND','_shouldReportTelemetry','resourceIDs','_decreaseWaiting','_userManagerService','/object/','ImageUploadStatusType','delete','sid','_commentUpdate$','_updateLocalCache','_schedule','subscribe','_transformStateCache','onTransformRemoteChangesetByStateCache','charAt','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SerializableCipher','b64DecodeUnicode','startTime','_commentService','_resendTimer','_parse','HTTPRequest','AwaitingState','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','sendChangesetTimeout','ThresholdInterceptorFactory','LEAVE','permissionRejEvent','_socketReady','_sessionStatus$','splice','updateSnapshot','[DataLoaderService]','loginUrlKey','_transformRemoteChangesetByStateCache','ivSize','_onCombEvent','CollaborationSession','SHA1','_createHelper','EmptyMutation','_clearScheduledTask','ILocalCacheService','crypto','_removeRoom','encodeURIComponent','[PendingState]:\x20received\x20acknowledgement.','userID','getDeserializedSheetBlock','_resendWithTimeout','SUBMIT_CHANGESET_TIMEOUT','[PendingState]:\x20received\x20rejection.','saveImage','CollaborationImageIoService','fromCharCode','collaboration_new_changeset','compose','JOIN_ROOM_PERMISSION_DENIED','onTransformIME','_incrementRevisionNumber','default','_getCurrentRevision','UniverNetworkPlugin','_map','onCommentUpdate','EMAIL_VERIFY_CODE_MISMATCH','?url=','_showConflictNotification','?size=','\x20to\x20','getCurrentRevOfUnit','[FetchMissState]','dispose$','_members','EvpKDF','loadSheet','words','waitForRoom$','getValue','max','readyForCollab','_startTelemetryCollaborationNewChangeset','blockSize','YUUMI_ALL_TABLES_IS_INVALID','BufferedBlockAlgorithm','CHANGESET_REJ','url','_eventService','open$','_listenToNetworkCondition','key','_clearUndo','status$','Utf8','/unit/','_entities','sessionStatus','AWAITING','charCodeAt','HEARTBEAT','sequenceExecute','_disableEditing','_config','NO_OTHER_CLIENTS_EDITING','YUUMI_UNABLE_LOAD_URL','JOIN_ROOM_FAILED','AuthzIoHttpService','override','StreamCipher','image/gif','getMemberID','updateOfflineData','title','session.room-full','UserProfileImg'];_0x2ab3=function(){return _0xf5d673;};return _0x2ab3();}var _0x2b2344=_0x2def;(function(_0x1edc57,_0x87220d){var _0xfcb15=_0x2def,_0x24a633=_0x1edc57();while(!![]){try{var _0x2f0749=parseInt(_0xfcb15(0xea))/0x1+parseInt(_0xfcb15(0x215))/0x2+parseInt(_0xfcb15(0x34f))/0x3+-parseInt(_0xfcb15(0xb6))/0x4+-parseInt(_0xfcb15(0x367))/0x5*(-parseInt(_0xfcb15(0x38f))/0x6)+parseInt(_0xfcb15(0x349))/0x7+-parseInt(_0xfcb15(0x17f))/0x8*(parseInt(_0xfcb15(0x246))/0x9);if(_0x2f0749===_0x87220d)break;else _0x24a633['push'](_0x24a633['shift']());}catch(_0x1159c4){_0x24a633['push'](_0x24a633['shift']());}}}(_0x2ab3,0xf082f));var bt=Object[_0x2b2344(0x3f9)],Ot=(_0x3c9d49,_0xe31406,_0x35f161)=>_0xe31406 in _0x3c9d49?bt(_0x3c9d49,_0xe31406,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35f161}):_0x3c9d49[_0xe31406]=_0x35f161,A=(_0x3a7330,_0x4a0ee4,_0x1dfb04)=>Ot(_0x3a7330,typeof _0x4a0ee4!='symbol'?_0x4a0ee4+'':_0x4a0ee4,_0x1dfb04);Object[_0x2b2344(0x3f9)](exports,Symbol[_0x2b2344(0x23f)],{'value':_0x2b2344(0x20e)});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=_0x2b2344(0x162),Dt=_0x2b2344(0x235),Ut=0x7d0,ht=_0x2b2344(0x363),At=_0x2b2344(0x3a0),_t=_0x2b2344(0x318),Pt=0x7530,ke=_0x2b2344(0x40e),lt=0x4e20,wt=0x4e20,ut=_0x2b2344(0xe9),Mt=0x3,Lt='LOCAL_CACHE_INTERVAL',xt=0x3e8,kt=_0x2b2344(0xdb),$t=_0x2b2344(0x12a),Ht=_0x2b2344(0xce),jt=_0x2b2344(0x16d);var dt=(_0x38e8d8=>(_0x38e8d8[_0x38e8d8[_0x2b2344(0x17e)]=0x0]=_0x2b2344(0x17e),_0x38e8d8[_0x38e8d8['OK']=0x1]='OK',_0x38e8d8[_0x38e8d8['INTERNAL_ERROR']=0x2]=_0x2b2344(0xac),_0x38e8d8[_0x38e8d8[_0x2b2344(0x184)]=0x3]='PERMISSION_DENIED',_0x38e8d8[_0x38e8d8[_0x2b2344(0x167)]=0x4]=_0x2b2344(0x167),_0x38e8d8[_0x38e8d8[_0x2b2344(0x1cb)]=0x5]=_0x2b2344(0x1cb),_0x38e8d8[_0x38e8d8['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x38e8d8[_0x38e8d8[_0x2b2344(0x3d5)]=0x7]=_0x2b2344(0x3d5),_0x38e8d8[_0x38e8d8[_0x2b2344(0xbb)]=0x8]=_0x2b2344(0xbb),_0x38e8d8[_0x38e8d8[_0x2b2344(0xec)]=0x9]=_0x2b2344(0xec),_0x38e8d8[_0x38e8d8[_0x2b2344(0x423)]=0xa]=_0x2b2344(0x423),_0x38e8d8[_0x38e8d8['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x2b2344(0xb2),_0x38e8d8[_0x38e8d8[_0x2b2344(0x3dc)]=0xc]=_0x2b2344(0x3dc),_0x38e8d8[_0x38e8d8[_0x2b2344(0x2aa)]=0xd]=_0x2b2344(0x2aa),_0x38e8d8[_0x38e8d8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x38e8d8[_0x38e8d8[_0x2b2344(0x3a7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x38e8d8[_0x38e8d8[_0x2b2344(0x1cc)]=0x1771]=_0x2b2344(0x1cc),_0x38e8d8[_0x38e8d8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2b2344(0x2e7),_0x38e8d8[_0x38e8d8[_0x2b2344(0x3f3)]=0x1773]=_0x2b2344(0x3f3),_0x38e8d8[_0x38e8d8[_0x2b2344(0x35f)]=0x1b59]=_0x2b2344(0x35f),_0x38e8d8[_0x38e8d8[_0x2b2344(0x3cc)]=0x1b5a]=_0x2b2344(0x3cc),_0x38e8d8[_0x38e8d8[_0x2b2344(0xfe)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x38e8d8[_0x38e8d8[_0x2b2344(0x1a1)]=0x1b5c]=_0x2b2344(0x1a1),_0x38e8d8[_0x38e8d8['APPLY_DUPLICATED']=0x1b5d]=_0x2b2344(0x38d),_0x38e8d8[_0x38e8d8[_0x2b2344(0x1af)]=0x1f41]=_0x2b2344(0x1af),_0x38e8d8[_0x38e8d8[_0x2b2344(0x3e9)]=0x2329]=_0x2b2344(0x3e9),_0x38e8d8[_0x38e8d8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2b2344(0x1b1),_0x38e8d8[_0x38e8d8['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2b2344(0x1dc),_0x38e8d8[_0x38e8d8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2b2344(0x1e3),_0x38e8d8[_0x38e8d8[_0x2b2344(0x119)]=0x232d]=_0x2b2344(0x119),_0x38e8d8[_0x38e8d8[_0x2b2344(0x2d1)]=0x2711]=_0x2b2344(0x2d1),_0x38e8d8[_0x38e8d8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2b2344(0xb7),_0x38e8d8[_0x38e8d8[_0x2b2344(0x316)]=0x2713]=_0x2b2344(0x316),_0x38e8d8[_0x38e8d8[_0x2b2344(0x3da)]=0x2714]=_0x2b2344(0x3da),_0x38e8d8[_0x38e8d8[_0x2b2344(0x36d)]=0x271a]=_0x2b2344(0x36d),_0x38e8d8[_0x38e8d8['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2b2344(0x135),_0x38e8d8[_0x38e8d8[_0x2b2344(0x16e)]=0x271c]=_0x2b2344(0x16e),_0x38e8d8[_0x38e8d8[_0x2b2344(0x2bc)]=0x271d]=_0x2b2344(0x2bc),_0x38e8d8[_0x38e8d8[_0x2b2344(0x3c4)]=0x271e]=_0x2b2344(0x3c4),_0x38e8d8[_0x38e8d8[_0x2b2344(0xd1)]=0x271f]=_0x2b2344(0xd1),_0x38e8d8[_0x38e8d8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2b2344(0x24f),_0x38e8d8[_0x38e8d8[_0x2b2344(0x1fe)]=0x2af9]=_0x2b2344(0x1fe),_0x38e8d8[_0x38e8d8[_0x2b2344(0x353)]=0x2ee1]=_0x2b2344(0x353),_0x38e8d8[_0x38e8d8[_0x2b2344(0x120)]=0x2ee2]=_0x2b2344(0x120),_0x38e8d8[_0x38e8d8[_0x2b2344(0x2f0)]=0x2ee3]=_0x2b2344(0x2f0),_0x38e8d8[_0x38e8d8[_0x2b2344(0xb1)]=0x2ee4]=_0x2b2344(0xb1),_0x38e8d8[_0x38e8d8[_0x2b2344(0x1b6)]=0x2ee5]=_0x2b2344(0x1b6),_0x38e8d8[_0x38e8d8[_0x2b2344(0x300)]=0x32c9]=_0x2b2344(0x300),_0x38e8d8[_0x38e8d8['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2b2344(0x1db),_0x38e8d8[_0x38e8d8[_0x2b2344(0x267)]=0x32cb]=_0x2b2344(0x267),_0x38e8d8[_0x38e8d8[_0x2b2344(0x14a)]=-0x1]=_0x2b2344(0x14a),_0x38e8d8))(dt||{}),J=(_0x7db8ab=>(_0x7db8ab[_0x7db8ab['UNIVER_UNKNOWN']=0x0]=_0x2b2344(0x148),_0x7db8ab[_0x7db8ab['UNIVER_DOC']=0x1]=_0x2b2344(0xb3),_0x7db8ab[_0x7db8ab[_0x2b2344(0x10d)]=0x2]=_0x2b2344(0x10d),_0x7db8ab[_0x7db8ab[_0x2b2344(0x320)]=0x3]='UNIVER_SLIDE',_0x7db8ab[_0x7db8ab[_0x2b2344(0x397)]=0x4]=_0x2b2344(0x397),_0x7db8ab[_0x7db8ab['UNRECOGNIZED']=-0x1]=_0x2b2344(0x14a),_0x7db8ab))(J||{}),W=(_0x1ccbc1=>(_0x1ccbc1[_0x1ccbc1[_0x2b2344(0x1b7)]=0x0]=_0x2b2344(0x1b7),_0x1ccbc1[_0x1ccbc1[_0x2b2344(0x17d)]=0x1]=_0x2b2344(0x17d),_0x1ccbc1[_0x1ccbc1[_0x2b2344(0x1c9)]=0x2]='JOIN',_0x1ccbc1[_0x1ccbc1[_0x2b2344(0x283)]=0x3]=_0x2b2344(0x283),_0x1ccbc1[_0x1ccbc1[_0x2b2344(0x230)]=0x4]=_0x2b2344(0x230),_0x1ccbc1[_0x1ccbc1[_0x2b2344(0x2cc)]=0x5]=_0x2b2344(0x2cc),_0x1ccbc1[_0x1ccbc1[_0x2b2344(0x147)]=0x6]=_0x2b2344(0x147),_0x1ccbc1[_0x1ccbc1[_0x2b2344(0x14a)]=-0x1]=_0x2b2344(0x14a),_0x1ccbc1))(W||{}),se=(_0x49ba51=>(_0x49ba51[_0x49ba51[_0x2b2344(0xfd)]=0x0]='UNKNOWN_CODE',_0x49ba51[_0x49ba51['OK']=0x1]='OK',_0x49ba51[_0x49ba51[_0x2b2344(0x1ec)]=0x2]='FAIL',_0x49ba51[_0x49ba51[_0x2b2344(0x3ad)]=0x3e9]='JOIN_ROOM_FULL',_0x49ba51[_0x49ba51['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2b2344(0x3ee),_0x49ba51[_0x49ba51['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2b2344(0x2a2),_0x49ba51[_0x49ba51[_0x2b2344(0x1f3)]=0x3ec]=_0x2b2344(0x1f3),_0x49ba51[_0x49ba51['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x49ba51))(se||{}),vt=(_0x2dbc67=>(_0x2dbc67[_0x2dbc67[_0x2b2344(0xf0)]=0x0]='Undefined',_0x2dbc67[_0x2dbc67[_0x2b2344(0x160)]=0x1]='HttpImport',_0x2dbc67[_0x2dbc67['HttpExport']=0x2]=_0x2b2344(0x126),_0x2dbc67[_0x2dbc67['UnitEmbedded']=0x3]='UnitEmbedded',_0x2dbc67[_0x2dbc67[_0x2b2344(0x37d)]=0x4]=_0x2b2344(0x37d),_0x2dbc67[_0x2dbc67[_0x2b2344(0x2db)]=0x5]=_0x2b2344(0x2db),_0x2dbc67[_0x2dbc67[_0x2b2344(0x14a)]=-0x1]=_0x2b2344(0x14a),_0x2dbc67))(vt||{});const Y='collaboration-client.config',Bt={};var Z=(_0x521c1d=>(_0x521c1d[_0x2b2344(0x308)]='OTHER_CLIENT_EDITING',_0x521c1d[_0x2b2344(0x184)]=_0x2b2344(0x184),_0x521c1d['CONFLICT']=_0x2b2344(0x24b),_0x521c1d[_0x2b2344(0x186)]='CLOSE_ROOM',_0x521c1d[_0x2b2344(0x2d2)]=_0x2b2344(0x2d2),_0x521c1d[_0x2b2344(0x312)]=_0x2b2344(0x312),_0x521c1d[_0x2b2344(0x3b3)]=_0x2b2344(0x3b3),_0x521c1d[_0x2b2344(0x29b)]='SUBMIT_CHANGESET_TIMEOUT',_0x521c1d))(Z||{});class ee{constructor(){var _0x2cd11c=_0x2b2344;A(this,_0x2cd11c(0xff),new H[(_0x2cd11c(0x3e3))]()),A(this,_0x2cd11c(0x193),this[_0x2cd11c(0xff)][_0x2cd11c(0x210)]());}[_0x2b2344(0xd8)](_0x1b41f6){var _0x54aa3c=_0x2b2344;this[_0x54aa3c(0xff)][_0x54aa3c(0x1c7)](_0x1b41f6);}}const St=a[_0x2b2344(0x3bb)](_0x2b2344(0x3ea));function ft(_0x412b00){var _0x1186bb=_0x2b2344,_0x165f5c,_0x27f027,_0x5222fd,_0x167fcc,_0x48adf0;const _0x463822=_0x412b00['data'],_0x44e658=JSON[_0x1186bb(0x136)](_0x463822);switch(_0x44e658[_0x1186bb(0x113)]){case W[_0x1186bb(0x2cc)]:case W[_0x1186bb(0x17d)]:{const _0x54c7e2=_0x44e658[_0x1186bb(0x375)];return{..._0x44e658,'data':_0x54c7e2,'cmd':_0x44e658[_0x1186bb(0x113)]};}case W['JOIN']:{const _0xe10dea=_0x44e658[_0x1186bb(0x333)];return{..._0x44e658,'data':_0xe10dea,'cmd':_0x44e658['cmd']};}case W[_0x1186bb(0x147)]:{const _0x47743a=_0x44e658[_0x1186bb(0x329)];switch(_0x47743a[_0x1186bb(0x205)]){case p[_0x1186bb(0x39e)]['PERMISSION_REJ']:return{..._0x44e658,'data':{..._0x47743a,'data':(_0x165f5c=_0x47743a[_0x1186bb(0x284)])==null?void 0x0:_0x165f5c['cs']},'cmd':_0x44e658[_0x1186bb(0x113)]};case p['CollaborationEvent']['CHANGESET_ACK']:return{..._0x44e658,'data':{..._0x47743a,'data':(_0x27f027=_0x47743a[_0x1186bb(0x18b)])==null?void 0x0:_0x27f027['cs']},'cmd':_0x44e658['cmd']};case p[_0x1186bb(0x39e)][_0x1186bb(0x3d6)]:return{..._0x44e658,'data':{..._0x47743a,'data':(_0x5222fd=_0x47743a[_0x1186bb(0x334)])==null?void 0x0:_0x5222fd['cs']},'cmd':_0x44e658[_0x1186bb(0x113)]};case p[_0x1186bb(0x39e)][_0x1186bb(0x2be)]:return{..._0x44e658,'data':{..._0x47743a,'data':(_0x167fcc=_0x47743a[_0x1186bb(0x252)])==null?void 0x0:_0x167fcc['cs']},'cmd':_0x44e658[_0x1186bb(0x113)]};case p[_0x1186bb(0x39e)][_0x1186bb(0x165)]:return{..._0x44e658,'data':{..._0x47743a,'data':(_0x48adf0=_0x47743a['csShouldRetryEvent'])==null?void 0x0:_0x48adf0['cs']},'cmd':_0x44e658[_0x1186bb(0x113)]};case p[_0x1186bb(0x39e)]['UPDATE_CURSOR']:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a[_0x1186bb(0x1eb)]},'cmd':_0x44e658['cmd']};case p[_0x1186bb(0x39e)][_0x1186bb(0x253)]:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a[_0x1186bb(0x22a)]},'cmd':_0x44e658[_0x1186bb(0x113)]};case p[_0x1186bb(0x39e)][_0x1186bb(0x2f4)]:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a[_0x1186bb(0x20c)]},'cmd':_0x44e658[_0x1186bb(0x113)]};case p['CollaborationEvent'][_0x1186bb(0x2eb)]:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a['liveShareNewHost']},'cmd':_0x44e658[_0x1186bb(0x113)]};case p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case p['CollaborationEvent'][_0x1186bb(0x11b)]:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a[_0x1186bb(0x12b)]},'cmd':_0x44e658['cmd']};case p['CollaborationEvent'][_0x1186bb(0x112)]:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a['liveShareNewHost']},'cmd':_0x44e658['cmd']};case p['CollaborationEvent'][_0x1186bb(0x191)]:return{..._0x44e658,'data':_0x47743a,'cmd':_0x44e658['cmd']};case p['CollaborationEvent'][_0x1186bb(0x1d0)]:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a[_0x1186bb(0x18e)]},'cmd':_0x44e658['cmd']};case p[_0x1186bb(0x39e)]['UPDATE_PERMISSION_OBJ']:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a['updatePermissionObjEvent']},'cmd':_0x44e658['cmd']};case p[_0x1186bb(0x39e)]['SHOULD_CLOSE_CONN']:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a['shouldCloseConn']},'cmd':_0x44e658[_0x1186bb(0x113)]};case p[_0x1186bb(0x39e)][_0x1186bb(0x206)]:return{..._0x44e658,'data':{..._0x47743a,'data':_0x47743a['uniscriptRunEvent']},'cmd':_0x44e658[_0x1186bb(0x113)]};default:return _0x44e658;}}default:return _0x44e658;}}function It(_0x178b27){var _0x20fecb=_0x2b2344;switch(_0x178b27[_0x20fecb(0x113)]){case W[_0x20fecb(0x2cc)]:case W[_0x20fecb(0x17d)]:return JSON['stringify']({'cmd':_0x178b27[_0x20fecb(0x113)],'routeKey':_0x178b27[_0x20fecb(0x36c)]});case W[_0x20fecb(0x230)]:{let _0x2541cd;switch(_0x178b27['data'][_0x20fecb(0x205)]){case p['CollaborationEvent']['UPDATE_CURSOR']:{_0x2541cd={'eventID':p[_0x20fecb(0x39e)][_0x20fecb(0x361)],'updateCursorEvent':_0x178b27['data'][_0x20fecb(0xdd)]};break;}case p[_0x20fecb(0x39e)][_0x20fecb(0x2f4)]:{_0x2541cd={'eventID':p[_0x20fecb(0x39e)][_0x20fecb(0x2f4)],'leaveEvent':_0x178b27[_0x20fecb(0xdd)][_0x20fecb(0xdd)]};break;}case p[_0x20fecb(0x39e)][_0x20fecb(0x253)]:{_0x2541cd={'eventID':p[_0x20fecb(0x39e)][_0x20fecb(0x253)],'joinEvent':_0x178b27[_0x20fecb(0xdd)][_0x20fecb(0xdd)]};break;}case p[_0x20fecb(0x39e)][_0x20fecb(0x2eb)]:{_0x2541cd={'eventID':p['CollaborationEvent'][_0x20fecb(0x2eb)],'liveShareNewHost':_0x178b27[_0x20fecb(0xdd)][_0x20fecb(0xdd)]};break;}case p['CollaborationEvent'][_0x20fecb(0x11b)]:{_0x2541cd={'eventID':p[_0x20fecb(0x39e)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x178b27[_0x20fecb(0xdd)][_0x20fecb(0xdd)]};break;}case p[_0x20fecb(0x39e)][_0x20fecb(0x112)]:{_0x2541cd={'eventID':p['CollaborationEvent'][_0x20fecb(0x112)],'liveShareTerminate':_0x178b27['data'][_0x20fecb(0xdd)]};break;}case p[_0x20fecb(0x39e)][_0x20fecb(0x37c)]:{_0x2541cd={'eventID':p['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x178b27[_0x20fecb(0xdd)]['data']};break;}case p['CollaborationEvent'][_0x20fecb(0x306)]:{_0x2541cd={'eventID':p[_0x20fecb(0x39e)][_0x20fecb(0x306)]};break;}default:_0x2541cd={'eventID':_0x178b27[_0x20fecb(0xdd)]['eventID']};}return JSON[_0x20fecb(0xba)]({'cmd':_0x178b27[_0x20fecb(0x113)],'routeKey':_0x178b27[_0x20fecb(0x36c)],'collaMsg':_0x2541cd});}case W[_0x20fecb(0x1c9)]:return JSON[_0x20fecb(0xba)]({'cmd':_0x178b27[_0x20fecb(0x113)],'routeKey':_0x178b27['routeKey'],'joinReq':_0x178b27[_0x20fecb(0xdd)]});case W[_0x20fecb(0x283)]:return JSON[_0x20fecb(0xba)]({'cmd':_0x178b27['cmd'],'routeKey':_0x178b27[_0x20fecb(0x36c)],'leaveReq':_0x178b27['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ft=Object[_0x2b2344(0x173)],Vt=(_0x394d2b,_0x5d4cca,_0x4e587c,_0x240d7d)=>{for(var _0x28572b=_0x240d7d>0x1?void 0x0:_0x240d7d?Ft(_0x5d4cca,_0x4e587c):_0x5d4cca,_0x50a130=_0x394d2b['length']-0x1,_0x247cef;_0x50a130>=0x0;_0x50a130--)(_0x247cef=_0x394d2b[_0x50a130])&&(_0x28572b=_0x247cef(_0x28572b)||_0x28572b);return _0x28572b;},_e=(_0x45af89,_0x20ddf5)=>(_0x3a14f9,_0x1fad98)=>_0x20ddf5(_0x3a14f9,_0x1fad98,_0x45af89);const $e=a[_0x2b2344(0x3bb)](_0x2b2344(0x195));function Wt(_0x4a968a,_0x4521aa,_0x1ad999){var _0x3be40a=_0x2b2344;return _0x4a968a+'/'+_0x4521aa+_0x3be40a(0x2c7)+_0x1ad999+'/new_changes';}exports[_0x2b2344(0x34a)]=class extends a[_0x2b2344(0x157)]{constructor(_0x1e86b2,_0x1f0606,_0x29fbc3,_0x1890ea,_0x239a7e){var _0x501cdd=_0x2b2344;super(),this[_0x501cdd(0x21b)]=_0x1e86b2,this['_httpService']=_0x1f0606,this[_0x501cdd(0xf4)]=_0x29fbc3,this[_0x501cdd(0x30c)]=_0x1890ea,this[_0x501cdd(0x374)]=_0x239a7e;}[_0x2b2344(0xf3)](_0x5e7ab5){var _0x1b1e47=_0x2b2344;const _0x1fe2c9=this[_0x1b1e47(0x21b)][_0x1b1e47(0x2f6)](q[_0x1b1e47(0x3bc)]);if(!_0x1fe2c9)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4160e0=_0x1fe2c9[_0x1b1e47(0x176)](_0x5e7ab5);if(!_0x4160e0)throw new Error(_0x1b1e47(0x280));const _0x1628bf=new a['DisposableCollection'](),_0x494e2e=new H[(_0x1b1e47(0x3e3))]();_0x1628bf['add'](_0x4160e0[_0x1b1e47(0xb5)][_0x1b1e47(0x273)](_0x422e2d=>_0x494e2e[_0x1b1e47(0x1c7)](_0x422e2d))),_0x1628bf[_0x1b1e47(0x31f)](a[_0x1b1e47(0xb8)](()=>_0x494e2e[_0x1b1e47(0x339)]()));const _0x231973=new H['Subject']();_0x1628bf[_0x1b1e47(0x31f)](_0x4160e0[_0x1b1e47(0x317)][_0x1b1e47(0x273)](_0x56c6e6=>_0x231973['next'](_0x56c6e6))),_0x1628bf[_0x1b1e47(0x31f)](a['toDisposable'](()=>_0x231973[_0x1b1e47(0x339)]()));const _0x5cdba2=new H[(_0x1b1e47(0x3e3))]();_0x1628bf[_0x1b1e47(0x31f)](_0x4160e0[_0x1b1e47(0x380)][_0x1b1e47(0x273)](_0x5bcbef=>{var _0x3107f6=_0x1b1e47;const _0x3d6545=ft(_0x5bcbef);_0x5cdba2[_0x3107f6(0x1c7)](_0x3d6545);})),_0x1628bf[_0x1b1e47(0x31f)](a[_0x1b1e47(0xb8)](()=>_0x5cdba2[_0x1b1e47(0x339)]()));let _0x347619;const _0x20c764=()=>{var _0x2abc72=_0x1b1e47;_0x231973[_0x2abc72(0x1c7)](new Event(_0x2abc72(0x381))),_0x494e2e['next'](new Event('connection\x20error')),_0x347619[_0x2abc72(0x19b)]();};return _0x347619={'memberID':'','close$':_0x494e2e['asObservable'](),'error$':_0x231973[_0x1b1e47(0x210)](),'open$':_0x4160e0[_0x1b1e47(0x2c1)],'message$':_0x5cdba2[_0x1b1e47(0x210)](),'send':_0x10a17a=>{var _0x48b127=_0x1b1e47;if(_0x10a17a[_0x48b127(0x113)]===W[_0x48b127(0x230)]){if(_0x10a17a[_0x48b127(0xdd)][_0x48b127(0x205)]===p[_0x48b127(0x39e)][_0x48b127(0x221)]){this[_0x48b127(0x319)](_0x347619,_0x10a17a['data'])[_0x48b127(0x1ad)](_0xac314a=>{var _0x9263c1=_0x48b127;this[_0x9263c1(0x30c)]['error'](_0xac314a),_0x20c764();});return;}if(_0x10a17a['data'][_0x48b127(0x205)]===p[_0x48b127(0x39e)][_0x48b127(0x3af)]){const _0x39e40d=_0x10a17a[_0x48b127(0xdd)];this[_0x48b127(0x330)](_0x39e40d)['then'](_0x2a263e=>{var _0x23c30b=_0x48b127;_0x5cdba2[_0x23c30b(0x1c7)]({'cmd':W[_0x23c30b(0x147)],'code':se['OK'],'routeKey':_0x39e40d['data'][_0x23c30b(0xe5)],'routeType':'','data':{'eventID':p[_0x23c30b(0x39e)][_0x23c30b(0x1aa)],'data':{'changesets':_0x2a263e}}});})['catch'](_0x4ec28f=>{this['_logService']['error'](_0x4ec28f),_0x20c764();});return;}}_0x4160e0['send'](It(_0x10a17a));},'close':()=>{var _0x508d31=_0x1b1e47;_0x4160e0[_0x508d31(0x19b)](),_0x1628bf[_0x508d31(0x40f)]();}},_0x347619;}async['_submitChangeset'](_0x12775f,_0x362fd2){var _0x45b0aa=_0x2b2344,_0x221018;const {unitType:_0x4f4173,unitID:_0x166f91,changeset:_0x13d31c}=_0x362fd2[_0x45b0aa(0xdd)],_0x38d2e0={'unitID':_0x166f91,'memberID':_0x12775f[_0x45b0aa(0x13c)],'type':_0x4f4173,'changeset':p[_0x45b0aa(0x3be)](_0x13d31c)},_0xeedcbc=this[_0x45b0aa(0xf4)][_0x45b0aa(0x36b)](Y),_0x495693=Wt((_0x221018=_0xeedcbc==null?void 0x0:_0xeedcbc[_0x45b0aa(0x3ae)])!=null?_0x221018:kt,_0x4f4173,_0x166f91);try{await this['_httpService'][_0x45b0aa(0x19c)](_0x495693,{'body':_0x38d2e0});}catch(_0x12c197){throw this[_0x45b0aa(0x30c)]['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x12c197;}}async['_fetchMissChangesets'](_0x392c50){var _0x1192aa=_0x2b2344;const {unitID:_0x1eb411,from:_0x32f5a7,to:_0x47ebd6,unitType:_0x1802e2}=_0x392c50[_0x1192aa(0xdd)];return(await this[_0x1192aa(0x374)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1eb411,'type':_0x1802e2,'from':_0x32f5a7,'to':_0x47ebd6}))[_0x1192aa(0x313)];}},exports[_0x2b2344(0x34a)]=Vt([_e(0x0,a[_0x2b2344(0x327)](a['Injector'])),_e(0x1,a[_0x2b2344(0x327)](q[_0x2b2344(0x1ea)])),_e(0x2,a[_0x2b2344(0x24c)]),_e(0x3,a[_0x2b2344(0x118)]),_e(0x4,p[_0x2b2344(0x226)])],exports[_0x2b2344(0x34a)]);const Gt=_0x2b2344(0x2a0);function Yt(_0x3c2973){var _0xec394=_0x2b2344;return JSON[_0xec394(0xba)](_0x3c2973)[_0xec394(0xe4)];}class He{constructor(){var _0x3b65c7=_0x2b2344;A(this,_0x3b65c7(0x270),new H[(_0x3b65c7(0x3e3))]()),A(this,_0x3b65c7(0x302),this[_0x3b65c7(0x270)][_0x3b65c7(0x210)]());}['onCommentUpdate'](_0x14e087){var _0xea2012=_0x2b2344;this[_0xea2012(0x270)]['next'](_0x14e087);}}var qt=Object['getOwnPropertyDescriptor'],Kt=(_0x433c8d,_0x582c2e,_0x3867bc,_0x561935)=>{for(var _0x8adcc3=_0x561935>0x1?void 0x0:_0x561935?qt(_0x582c2e,_0x3867bc):_0x582c2e,_0x1e73a9=_0x433c8d['length']-0x1,_0x326ac6;_0x1e73a9>=0x0;_0x1e73a9--)(_0x326ac6=_0x433c8d[_0x1e73a9])&&(_0x8adcc3=_0x326ac6(_0x8adcc3)||_0x8adcc3);return _0x8adcc3;},Ve=(_0x5d154f,_0x49cbb1)=>(_0x2405e9,_0x89dbdd)=>_0x49cbb1(_0x2405e9,_0x89dbdd,_0x5d154f);exports[_0x2b2344(0x386)]=class extends a['Disposable']{constructor(_0x355e2e,_0x5c7f11){var _0x47c02b=_0x2b2344;super(),A(this,_0x47c02b(0x20a),new Map()),A(this,'_roomCreated$',new H[(_0x47c02b(0x3e3))]()),(this[_0x47c02b(0x3fe)]=_0x355e2e,this[_0x47c02b(0x26b)]=_0x5c7f11,this[_0x47c02b(0x394)](H[_0x47c02b(0x14d)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x47c02b(0x345)]['UNIVER_SHEET'])[_0x47c02b(0x352)](V[_0x47c02b(0x218)](_0x56bf42=>_0x56bf42[_0x47c02b(0x393)]())),this[_0x47c02b(0x3fe)][_0x47c02b(0x2fe)](a[_0x47c02b(0x345)][_0x47c02b(0xb3)])['pipe'](V[_0x47c02b(0x218)](_0x51461a=>_0x51461a[_0x47c02b(0x393)]())),this[_0x47c02b(0x3fe)][_0x47c02b(0x2fe)](a['UniverInstanceType'][_0x47c02b(0x320)])[_0x47c02b(0x352)](V[_0x47c02b(0x218)](_0x22443d=>_0x22443d[_0x47c02b(0x393)]())))['subscribe'](_0xe5c2c0=>this[_0x47c02b(0x295)](_0xe5c2c0))));}[_0x2b2344(0x2b6)](_0x413fd3){var _0xf722fa=_0x2b2344;return this['_roomMembers'][_0xf722fa(0x30d)](_0x413fd3)?H['of'](this[_0xf722fa(0x20a)][_0xf722fa(0x2f6)](_0x413fd3)):this[_0xf722fa(0x228)][_0xf722fa(0x352)](V[_0xf722fa(0x218)](_0xea6bf9=>{var _0x189f78=_0xf722fa;if(_0xea6bf9===_0x413fd3)return this['_roomMembers'][_0x189f78(0x2f6)](_0xea6bf9);}));}[_0x2b2344(0x11f)](_0x477f87){var _0x3eea2a=_0x2b2344;this['_userManagerService'][_0x3eea2a(0x11f)](_0x477f87);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}[_0x2b2344(0x405)](_0x96f0db,_0x2c0832){var _0x1d05a0=_0x2b2344;let _0x53a2d7=this[_0x1d05a0(0x20a)][_0x1d05a0(0x2f6)](_0x96f0db);_0x53a2d7||(_0x53a2d7=new zt(),this['_roomMembers'][_0x1d05a0(0x1e9)](_0x96f0db,_0x53a2d7),this[_0x1d05a0(0x228)][_0x1d05a0(0x1c7)](_0x96f0db)),_0x53a2d7[_0x1d05a0(0x405)](_0x2c0832);}[_0x2b2344(0x407)](_0x5ac02a,_0x513904){var _0x549027=_0x2b2344;const _0x18812d=this['_roomMembers']['get'](_0x5ac02a);_0x18812d&&_0x18812d[_0x549027(0x407)](_0x513904);}[_0x2b2344(0x31e)](_0x418265){var _0x455ab9=_0x2b2344;return this['_roomMembers'][_0x455ab9(0x2f6)](_0x418265);}[_0x2b2344(0x41e)](_0x56f322,_0x34dd1e){var _0x3e176c=_0x2b2344;const _0x2de1de=this['_roomMembers'][_0x3e176c(0x2f6)](_0x56f322);if(_0x2de1de)return _0x2de1de[_0x3e176c(0x41e)](_0x34dd1e);}[_0x2b2344(0x295)](_0x6116c0){var _0x5460ed=_0x2b2344;const _0x336cdd=this['_roomMembers'][_0x5460ed(0x2f6)](_0x6116c0);_0x336cdd&&(_0x336cdd['dispose'](),this['_roomMembers'][_0x5460ed(0x26e)](_0x6116c0));}[_0x2b2344(0x40f)](){var _0x39415=_0x2b2344;this[_0x39415(0x20a)][_0x39415(0x2fa)](_0x54dbb4=>_0x54dbb4[_0x39415(0x40f)]()),this[_0x39415(0x20a)]['clear'](),this[_0x39415(0x228)][_0x39415(0x339)]();}},exports[_0x2b2344(0x386)]=Kt([Ve(0x0,a['IUniverInstanceService']),Ve(0x1,a['Inject'](a[_0x2b2344(0xed)]))],exports[_0x2b2344(0x386)]);class zt extends a[_0x2b2344(0x157)]{constructor(){var _0x36d87d=_0x2b2344;super(...arguments),A(this,_0x36d87d(0x2b2),new Map()),A(this,_0x36d87d(0x3f2),new H[(_0x36d87d(0x212))](this[_0x36d87d(0x2b2)])),A(this,_0x36d87d(0x24d),this[_0x36d87d(0x3f2)]['asObservable']());}[_0x2b2344(0x40f)](){var _0x237f6e=_0x2b2344;this[_0x237f6e(0x2b2)][_0x237f6e(0x121)]();}['updateMember'](_0x574c3a){var _0xe7e027=_0x2b2344;this[_0xe7e027(0x2b2)][_0xe7e027(0x1e9)](_0x574c3a['memberID'],_0x574c3a),this[_0xe7e027(0x400)]();}[_0x2b2344(0x407)](_0x41f72e){var _0x346965=_0x2b2344;this[_0x346965(0x2b2)]['delete'](_0x41f72e);}['getMember'](_0x5a1736){var _0x464873=_0x2b2344;return this[_0x464873(0x2b2)][_0x464873(0x2f6)](_0x5a1736);}[_0x2b2344(0x35b)](){var _0x32284b=_0x2b2344;return Array[_0x32284b(0x19d)](this[_0x32284b(0x2b2)]['values']());}[_0x2b2344(0x400)](){var _0x460252=_0x2b2344;this[_0x460252(0x3f2)][_0x460252(0x1c7)](this[_0x460252(0x2b2)]);}}var Jt=Object[_0x2b2344(0x173)],Xt=(_0x3cbb02,_0x435d8e,_0x35b71a,_0x41e3af)=>{var _0x58939d=_0x2b2344;for(var _0x6809e2=_0x41e3af>0x1?void 0x0:_0x41e3af?Jt(_0x435d8e,_0x35b71a):_0x435d8e,_0x226d35=_0x3cbb02[_0x58939d(0xe4)]-0x1,_0x9b6f65;_0x226d35>=0x0;_0x226d35--)(_0x9b6f65=_0x3cbb02[_0x226d35])&&(_0x6809e2=_0x9b6f65(_0x6809e2)||_0x6809e2);return _0x6809e2;},ce=(_0x13adb0,_0x11bda5)=>(_0x4b32d5,_0x2445a2)=>_0x11bda5(_0x4b32d5,_0x2445a2,_0x13adb0),re=(_0x20894d=>(_0x20894d[_0x20894d[_0x2b2344(0x3a5)]=0x0]=_0x2b2344(0x3a5),_0x20894d[_0x20894d[_0x2b2344(0x420)]=0x1]=_0x2b2344(0x420),_0x20894d[_0x20894d['OFFLINE']=0x2]=_0x2b2344(0x102),_0x20894d[_0x20894d[_0x2b2344(0x38b)]=0x3]=_0x2b2344(0x38b),_0x20894d))(re||{});const We={[se['FAIL']]:_0x2b2344(0x1b5),[se[_0x2b2344(0x3ad)]]:_0x2b2344(0x2da),[se[_0x2b2344(0x3ee)]]:_0x2b2344(0x3c1),[se[_0x2b2344(0x2a2)]]:_0x2b2344(0x395),[se[_0x2b2344(0x1f3)]]:'session.room-cnt-exceeds'};function _0x2def(_0x160965,_0x4e1dc2){var _0x2ab3e3=_0x2ab3();return _0x2def=function(_0x2def9c,_0x371f85){_0x2def9c=_0x2def9c-0xab;var _0x4cb92=_0x2ab3e3[_0x2def9c];return _0x4cb92;},_0x2def(_0x160965,_0x4e1dc2);}exports[_0x2b2344(0x28e)]=class extends a['RxDisposable']{constructor(_0x9cc878,_0x45b559,_0x2a80d9,_0x3eb32b,_0x36682f,_0x2db074,_0x1bdd32,_0x11a02a){var _0x1d5d7b=_0x2b2344;super(),A(this,'_sessionStatus$',new H['BehaviorSubject'](0x0)),A(this,_0x1d5d7b(0x3e2),this[_0x1d5d7b(0x286)]['asObservable']()),A(this,_0x1d5d7b(0xff),new H[(_0x1d5d7b(0x3e3))]()),A(this,'event$',this['_event$']['asObservable']()),A(this,_0x1d5d7b(0xbf)),A(this,_0x1d5d7b(0x138)),A(this,_0x1d5d7b(0x314)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x1d5d7b(0x3d2),null),(this['_unitID']=_0x9cc878,this[_0x1d5d7b(0x30c)]=_0x2a80d9,this[_0x1d5d7b(0xf4)]=_0x3eb32b,this[_0x1d5d7b(0x2ff)]=_0x36682f,this[_0x1d5d7b(0x27b)]=_0x2db074,this[_0x1d5d7b(0xdf)]=_0x1bdd32,this['_telemetryService']=_0x11a02a,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x45b559['pipe'](H['takeUntil'](this[_0x1d5d7b(0x2b1)]))[_0x1d5d7b(0x273)](_0x2b2594=>{var _0x182b82=_0x1d5d7b,_0xecd45d;typeof _0x2b2594>'u'||(this[_0x182b82(0xbf)]=_0x2b2594,_0x2b2594?(this[_0x182b82(0x34c)](_0x2b2594),this[_0x182b82(0x138)]=_0x2b2594[_0x182b82(0x380)]['subscribe'](_0x722bd3=>{var _0x3f9174=_0x182b82;_0x722bd3['routeKey']===this[_0x3f9174(0xc8)]&&this[_0x3f9174(0x28d)](_0x722bd3);})):(this[_0x182b82(0x3a9)](),this[_0x182b82(0x286)]['next'](0x2),(_0xecd45d=this[_0x182b82(0x138)])==null||_0xecd45d[_0x182b82(0xbc)](),this['_socketMessageSubscription']=null));}));}get[_0x2b2344(0x2c9)](){var _0xe5fb02=_0x2b2344;return this[_0xe5fb02(0x286)][_0xe5fb02(0x2b7)]();}[_0x2b2344(0x2d7)](){var _0x4b3332=_0x2b2344,_0x8a7cdf,_0xf74eb;return(_0xf74eb=(_0x8a7cdf=this[_0x4b3332(0xbf)])==null?void 0x0:_0x8a7cdf[_0x4b3332(0x13c)])!=null?_0xf74eb:null;}['dispose'](){var _0x539b99=_0x2b2344;super[_0x539b99(0x40f)](),this['dispose$'][_0x539b99(0x1c7)](),this['dispose$'][_0x539b99(0x339)]();}['close'](){var _0x2054f4=_0x2b2344,_0x622e22,_0x3d2745;this[_0x2054f4(0x3a9)](),(_0x622e22=this['_socket'])==null||_0x622e22[_0x2054f4(0x1c1)]({'cmd':W[_0x2054f4(0x283)],'data':{'roomID':this['_unitID']}}),(_0x3d2745=this[_0x2054f4(0xbf)])==null||_0x3d2745[_0x2054f4(0x19b)](),this[_0x2054f4(0xff)][_0x2054f4(0x339)](),this[_0x2054f4(0x286)][_0x2054f4(0x339)](),this['dispose']();}[_0x2b2344(0x28d)](_0x3cb40f){var _0xf380db=_0x2b2344;_0x3cb40f[_0xf380db(0x113)]===W[_0xf380db(0x1c9)]?this[_0xf380db(0x1f6)](_0x3cb40f):_0x3cb40f['cmd']===W['RECV']&&this[_0xf380db(0x227)](_0x3cb40f);}[_0x2b2344(0x34c)](_0x5688fa){var _0xfd353d=_0x2b2344;this[_0xfd353d(0x286)][_0xfd353d(0x1c7)](0x1),_0x5688fa['send']({'cmd':W[_0xfd353d(0x1c9)],'routeKey':this[_0xfd353d(0xc8)],'routeType':'','data':{'rooms':[{'roomID':this[_0xfd353d(0xc8)]}]}});}[_0x2b2344(0x1f6)](_0x20c009){var _0x426628=_0x2b2344,_0x24936d;if(_0x20c009[_0x426628(0x20f)]in We){this[_0x426628(0xdf)][_0x426628(0xd8)]({'id':Z[_0x426628(0x2d2)],'data':We[_0x20c009[_0x426628(0x20f)]]}),this[_0x426628(0x286)][_0x426628(0x1c7)](0x2);return;}this['_sessionStatus$'][_0x426628(0x1c7)](0x3);const _0x4684fb=(_0x24936d=_0x20c009[_0x426628(0xdd)][_0x426628(0x2de)][this[_0x426628(0xc8)]])==null?void 0x0:_0x24936d['members'];_0x4684fb&&_0x4684fb[_0x426628(0x2fa)](_0x276e40=>this[_0x426628(0x2ff)][_0x426628(0x405)](this[_0x426628(0xc8)],_0x276e40));}[_0x2b2344(0x227)](_0x4113e6){var _0x3c043a=_0x2b2344;try{const _0x1e329a=_0x4113e6['data'];switch(_0x1e329a[_0x3c043a(0x205)]){case p[_0x3c043a(0x39e)][_0x3c043a(0x253)]:this[_0x3c043a(0x3c3)](_0x1e329a),this[_0x3c043a(0xff)]['next'](_0x1e329a);break;case p[_0x3c043a(0x39e)][_0x3c043a(0x2f4)]:this[_0x3c043a(0x3b0)](_0x1e329a),this['_event$'][_0x3c043a(0x1c7)](_0x1e329a);break;case p[_0x3c043a(0x39e)][_0x3c043a(0x263)]:case p[_0x3c043a(0x39e)][_0x3c043a(0x165)]:this[_0x3c043a(0xf2)](),this[_0x3c043a(0x111)](),this[_0x3c043a(0xff)][_0x3c043a(0x1c7)](_0x1e329a);break;case p[_0x3c043a(0x39e)][_0x3c043a(0x191)]:this[_0x3c043a(0x30c)][_0x3c043a(0x3e1)](_0x3c043a(0x3a1)+JSON['stringify'](_0x1e329a)),this[_0x3c043a(0xff)][_0x3c043a(0x1c7)](_0x1e329a);break;case p[_0x3c043a(0x39e)][_0x3c043a(0x1d0)]:this[_0x3c043a(0x27b)][_0x3c043a(0x2a9)](_0x1e329a[_0x3c043a(0xdd)]),this[_0x3c043a(0xff)][_0x3c043a(0x1c7)](_0x1e329a);break;default:this['_event$'][_0x3c043a(0x1c7)](_0x1e329a);}}catch(_0x3aa9f6){this[_0x3c043a(0x30c)][_0x3c043a(0x3e1)](_0x3aa9f6,_0x4113e6);}}['_onUserJoin'](_0xdf9aed){var _0x34ac1c=_0x2b2344;this['_memberService'][_0x34ac1c(0x405)](this[_0x34ac1c(0xc8)],_0xdf9aed[_0x34ac1c(0xdd)]);}[_0x2b2344(0x3b0)](_0x557273){var _0x2a3872=_0x2b2344;this['_memberService'][_0x2a3872(0x407)](this[_0x2a3872(0xc8)],_0x557273[_0x2a3872(0xdd)]['memberID']);}async[_0x2b2344(0x1c1)](_0x17f98a,_0xd3253f){var _0x412630=_0x2b2344;if(this[_0x412630(0x2c9)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x17f98a[_0x412630(0x205)]===p['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x412630(0x150)](),this[_0x412630(0x2ba)](_0x17f98a)),this[_0x412630(0xbf)][_0x412630(0x1c1)]({'cmd':W[_0x412630(0x230)],'routeKey':_0xd3253f,'routeType':'','data':_0x17f98a});}catch(_0x52a9e7){this[_0x412630(0x30c)][_0x412630(0x3e1)](_0x52a9e7);}}[_0x2b2344(0x150)](){var _0x4480e3=_0x2b2344,_0x37e8d2;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x75438=_0x2def;this[_0x75438(0x314)]=null,this[_0x75438(0xdf)][_0x75438(0xd8)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x37e8d2=this['_configService'][_0x4480e3(0x36b)](ke))!=null?_0x37e8d2:lt);}[_0x2b2344(0x111)](){var _0x2b58cc=_0x2b2344;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2b58cc(0x314)]),this[_0x2b58cc(0x314)]=null);}[_0x2b2344(0x2ba)](_0x5b5aab){var _0x1bf015=_0x2b2344;if(!this['_shouldReportTelemetry'])return;const {data:_0x452c66}=_0x5b5aab,{unitID:_0x4c62d0,changeset:_0x58d370}=_0x452c66,{mutations:_0x4727cf,type:_0x3f16be}=_0x58d370;this['_telemetryInfo']={'unitId':_0x4c62d0,'type':_0x3f16be,'startTime':performance[_0x1bf015(0x1d5)](),'stopTime':0x0,'duration':0x0,'size':Yt(_0x4727cf)};}[_0x2b2344(0xf2)](){var _0x39d3f0=_0x2b2344;if(this[_0x39d3f0(0x268)]){if(!this['_telemetryInfo']){this[_0x39d3f0(0x30c)]['error'](_0x39d3f0(0x415),_0x39d3f0(0x14f));return;}this[_0x39d3f0(0x3d2)][_0x39d3f0(0x13b)]=performance['now'](),this[_0x39d3f0(0x3d2)][_0x39d3f0(0xc6)]=this[_0x39d3f0(0x3d2)]['stopTime']-this[_0x39d3f0(0x3d2)][_0x39d3f0(0x27a)],this[_0x39d3f0(0x202)][_0x39d3f0(0x1ee)](Gt,this[_0x39d3f0(0x3d2)]),this[_0x39d3f0(0x3d2)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x2b2344(0x28e)]=Xt([ce(0x2,a['ILogService']),ce(0x3,a[_0x2b2344(0x24c)]),ce(0x4,a[_0x2b2344(0x327)](exports[_0x2b2344(0x386)])),ce(0x5,a[_0x2b2344(0x327)](He)),ce(0x6,a[_0x2b2344(0x327)](ee)),ce(0x7,a[_0x2b2344(0x123)](Rt['ITelemetryService']))],exports[_0x2b2344(0x28e)]);var Zt=Object[_0x2b2344(0x173)],Qt=(_0x93d632,_0x39b16a,_0x4d6ccc,_0x587ebb)=>{var _0x121653=_0x2b2344;for(var _0x466906=_0x587ebb>0x1?void 0x0:_0x587ebb?Zt(_0x39b16a,_0x4d6ccc):_0x39b16a,_0x28d594=_0x93d632[_0x121653(0xe4)]-0x1,_0x2eac49;_0x28d594>=0x0;_0x28d594--)(_0x2eac49=_0x93d632[_0x28d594])&&(_0x466906=_0x2eac49(_0x466906)||_0x466906);return _0x466906;},he=(_0x4b1591,_0x40470)=>(_0x4b3007,_0x4c418f)=>_0x40470(_0x4b3007,_0x4c418f,_0x4b1591);exports[_0x2b2344(0x3c7)]=class extends a['Disposable']{constructor(_0x580113,_0x2d9ff0,_0x443385,_0x12f9c3,_0x10c1ac,_0x236f88){var _0x58b1a3=_0x2b2344;super(),A(this,_0x58b1a3(0x30e),new H['BehaviorSubject'](void 0x0)),A(this,_0x58b1a3(0x211),this[_0x58b1a3(0x30e)][_0x58b1a3(0x210)]()),A(this,_0x58b1a3(0x14c),null),A(this,_0x58b1a3(0x36e),new Map()),A(this,'_status$',new H[(_0x58b1a3(0x212))](re[_0x58b1a3(0x3a5)])),A(this,'status$',this[_0x58b1a3(0x1ba)][_0x58b1a3(0x210)]()),A(this,_0x58b1a3(0x285),!0x1),A(this,_0x58b1a3(0x1ac)),A(this,_0x58b1a3(0x347),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x58b1a3(0x1e8)),(this[_0x58b1a3(0x21b)]=_0x580113,this['_logService']=_0x2d9ff0,this[_0x58b1a3(0xf4)]=_0x443385,this[_0x58b1a3(0x36a)]=_0x12f9c3,this[_0x58b1a3(0xdf)]=_0x10c1ac,this['_networkConditionService']=_0x236f88,this[_0x58b1a3(0x2c2)]());}get[_0x2b2344(0xbf)](){var _0x232403=_0x2b2344;return this['_socket$'][_0x232403(0x2b7)]();}[_0x2b2344(0x2c2)](){var _0x34444d=_0x2b2344;this[_0x34444d(0x18d)]&&this[_0x34444d(0x394)](this[_0x34444d(0x18d)][_0x34444d(0x2e3)][_0x34444d(0x273)](_0x52a283=>{var _0x248317=_0x34444d;_0x52a283&&!this[_0x248317(0xbf)]&&this[_0x248317(0x261)](),_0x52a283||this[_0x248317(0x3c0)]();}));}['dispose'](){var _0x40ffd0=_0x2b2344;super['dispose'](),this[_0x40ffd0(0x336)](),this['_clearTimeoutTimer'](),this[_0x40ffd0(0x117)](),this['_sessions'][_0x40ffd0(0x2fa)](_0x1d049f=>_0x1d049f[_0x40ffd0(0x40f)]()),this[_0x40ffd0(0x36e)][_0x40ffd0(0x121)](),this[_0x40ffd0(0x1ba)]['complete']();}async[_0x2b2344(0x197)](_0x1678a5){var _0x3a1074=_0x2b2344;if(this[_0x3a1074(0x36e)][_0x3a1074(0x30d)](_0x1678a5))return this[_0x3a1074(0x36e)][_0x3a1074(0x2f6)](_0x1678a5);this[_0x3a1074(0x30b)]();const _0x5ed85e=this[_0x3a1074(0x21b)][_0x3a1074(0x33f)](exports[_0x3a1074(0x28e)],_0x1678a5,this[_0x3a1074(0x30e)][_0x3a1074(0x210)]());return this[_0x3a1074(0x36e)][_0x3a1074(0x1e9)](_0x1678a5,_0x5ed85e),_0x5ed85e;}[_0x2b2344(0x2dc)](_0x223439){var _0xf9b736=_0x2b2344,_0x59810c;const _0x3de567=this[_0xf9b736(0x36e)][_0xf9b736(0x2f6)](_0x223439);_0x3de567&&(this[_0xf9b736(0x36e)][_0xf9b736(0x26e)](_0x223439),_0x3de567[_0xf9b736(0x19b)]()),this[_0xf9b736(0x36e)][_0xf9b736(0x262)]||(_0x59810c=this['_socket'])==null||_0x59810c[_0xf9b736(0x19b)]();}[_0x2b2344(0x261)](){var _0x41fb4a=_0x2b2344;this['_retryCount']=0x0,this[_0x41fb4a(0x336)](),this[_0x41fb4a(0x368)]();}[_0x2b2344(0x336)](){var _0x496887=_0x2b2344;this[_0x496887(0x1ac)]!=null&&(clearTimeout(this[_0x496887(0x1ac)]),this[_0x496887(0x1ac)]=null);}async[_0x2b2344(0x247)](){var _0x49eebe=_0x2b2344,_0x405828;const _0x283012=this['_configService'][_0x49eebe(0x36b)](Y),_0x8da295=(_0x405828=_0x283012==null?void 0x0:_0x283012[_0x49eebe(0x22d)])!=null?_0x405828:ht,_0x1df5d3=await this[_0x49eebe(0x36a)]['createSocket'](_0x8da295);return this['_candidateSocket']=_0x1df5d3,_0x1df5d3;}async[_0x2b2344(0x30b)](){var _0xe35b51=_0x2b2344,_0x7d993b,_0x41db25;try{const _0x114542=(_0x41db25=(_0x7d993b=this[_0xe35b51(0xbf)])!=null?_0x7d993b:this[_0xe35b51(0x14c)])!=null?_0x41db25:await this['_createSocket']();if(_0x114542){const _0x59ba40=_0x114542[_0xe35b51(0x1c1)];_0x114542['send']=_0x9e8a98=>(this[_0xe35b51(0x22e)](),_0x59ba40['apply'](_0x114542,[_0x9e8a98])),_0x114542[_0xe35b51(0x380)][_0xe35b51(0x273)](_0x5dd994=>this['_onMessage'](_0x114542,_0x5dd994)),_0x114542[_0xe35b51(0x317)][_0xe35b51(0x352)](V['take'](0x1))[_0xe35b51(0x273)](_0xa733dd=>this[_0xe35b51(0x30c)]['error'](_0xe35b51(0x141),_0xa733dd)),_0x114542['open$'][_0xe35b51(0x352)](V['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x114542);}),_0x114542[_0xe35b51(0xb5)][_0xe35b51(0x352)](V['take'](0x1))[_0xe35b51(0x273)](_0x34a46f=>{var _0x135991=_0xe35b51;this[_0x135991(0x30c)][_0x135991(0x1f2)](_0x135991(0x2f9),'socket\x20close',_0x34a46f),this['_onConnectionFailed']();});}}catch(_0x1bf9e4){this[_0xe35b51(0x30c)][_0xe35b51(0x3e1)](_0x1bf9e4),this[_0xe35b51(0x3a3)]();}}[_0x2b2344(0x3b1)](_0x51ead9){var _0x6c9ede=_0x2b2344;this[_0x6c9ede(0x30c)][_0x6c9ede(0x1f2)]('[CollaborationSessionService]',_0x6c9ede(0x214)),_0x51ead9[_0x6c9ede(0x1c1)]({'cmd':W['HELLO']}),this[_0x6c9ede(0x22e)]();}['_onOffline'](){var _0x4ab2b3=_0x2b2344;this[_0x4ab2b3(0x285)]=!0x1,this[_0x4ab2b3(0x14c)]=null,this[_0x4ab2b3(0x1ba)]['next'](re[_0x4ab2b3(0x102)]),this[_0x4ab2b3(0x30e)][_0x4ab2b3(0x1c7)](null),this['_clearTimeoutTimer'](),this[_0x4ab2b3(0x117)]();}[_0x2b2344(0x3a3)](){var _0x58bcd2=_0x2b2344,_0x3e378f;this[_0x58bcd2(0x3c0)](),this['_retryCount']<((_0x3e378f=this[_0x58bcd2(0xf4)][_0x58bcd2(0x36b)](ut))!=null?_0x3e378f:Mt)?(this[_0x58bcd2(0xdf)][_0x58bcd2(0xd8)]({'id':Z[_0x58bcd2(0x312)]}),this['_tryReconnect']()):this[_0x58bcd2(0xdf)][_0x58bcd2(0xd8)]({'id':Z[_0x58bcd2(0x3b3)]});}[_0x2b2344(0x368)](){var _0x72ccbe=_0x2b2344,_0x2bcc9b;const _0xdc89c0=this[_0x72ccbe(0x347)],_0x2ce564=this[_0x72ccbe(0xf4)][_0x72ccbe(0x36b)](Y),_0x372f6f=_0xdc89c0===0x0?0x0:((_0x2bcc9b=_0x2ce564==null?void 0x0:_0x2ce564[_0x72ccbe(0x1bc)])!=null?_0x2bcc9b:wt)*0x2**_0xdc89c0;this[_0x72ccbe(0x1ac)]=setTimeout(()=>{var _0x1bdf91=_0x72ccbe;clearTimeout(this['_retryConnectingTimer']),this[_0x1bdf91(0x1ac)]=null,this[_0x1bdf91(0x30b)]();},_0x372f6f),this[_0x72ccbe(0x347)]+=0x1;}[_0x2b2344(0x139)](_0x558315,_0x7b4470){var _0x16abdb=_0x2b2344;const {cmd:_0x125024}=_0x7b4470;_0x125024===W[_0x16abdb(0x17d)]&&!this[_0x16abdb(0x285)]&&(_0x558315[_0x16abdb(0x13c)]=_0x7b4470['data']['memberID'],this[_0x16abdb(0x30e)][_0x16abdb(0x1c7)](_0x558315),this['_status$'][_0x16abdb(0x1c7)](re[_0x16abdb(0x38b)]),this['_socketReady']=!0x0,this[_0x16abdb(0x14c)]=null),_0x125024===W[_0x16abdb(0x2cc)]&&this[_0x16abdb(0x225)](),this[_0x16abdb(0x22e)]();}[_0x2b2344(0x22e)](){var _0x2c5ec4=_0x2b2344,_0x2b4b1a;this['_clearHeartbeatTimer'](),this[_0x2c5ec4(0x143)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x2b4b1a=this[_0x2c5ec4(0xf4)][_0x2c5ec4(0x36b)](_t))!=null?_0x2b4b1a:Pt);}[_0x2b2344(0x3d7)](){var _0x2392ae=_0x2b2344;this[_0x2392ae(0xbf)][_0x2392ae(0x1c1)]({'cmd':W['HEARTBEAT']}),this[_0x2392ae(0x1bb)]();}['_waitForHeartbeatResponse'](){var _0x17caa3=_0x2b2344,_0x3dc60c;this[_0x17caa3(0x1e8)]=setTimeout(()=>this[_0x17caa3(0x3a3)](),(_0x3dc60c=this[_0x17caa3(0xf4)][_0x17caa3(0x36b)](ke))!=null?_0x3dc60c:lt);}[_0x2b2344(0x117)](){var _0x5bfc26=_0x2b2344;this[_0x5bfc26(0x143)]!=null&&(clearTimeout(this[_0x5bfc26(0x143)]),this['_sendHeartbeatTimer']=null);}[_0x2b2344(0x225)](){var _0x223021=_0x2b2344;this[_0x223021(0x1e8)]!=null&&(clearTimeout(this[_0x223021(0x1e8)]),this[_0x223021(0x1e8)]=null);}},exports[_0x2b2344(0x3c7)]=Qt([he(0x0,a[_0x2b2344(0x327)](a[_0x2b2344(0x32a)])),he(0x1,a['ILogService']),he(0x2,a['IConfigService']),he(0x3,$e),he(0x4,a[_0x2b2344(0x327)](ee)),he(0x5,a[_0x2b2344(0x123)](St))],exports[_0x2b2344(0x3c7)]);const K=a[_0x2b2344(0x3bb)]('collaboration-client.local-cache-service');function ei(_0x4b33c9){var _0x46157b=_0x2b2344;return _0x46157b(0x216)+_0x4b33c9;}var ti=Object[_0x2b2344(0x173)],ii=(_0x4e4611,_0x549e5c,_0x24a00b,_0x28736b)=>{var _0x383a7d=_0x2b2344;for(var _0x267331=_0x28736b>0x1?void 0x0:_0x28736b?ti(_0x549e5c,_0x24a00b):_0x549e5c,_0x10e5d9=_0x4e4611[_0x383a7d(0xe4)]-0x1,_0x2b9b7f;_0x10e5d9>=0x0;_0x10e5d9--)(_0x2b9b7f=_0x4e4611[_0x10e5d9])&&(_0x267331=_0x2b9b7f(_0x267331)||_0x267331);return _0x267331;},Ue=(_0x92c6f0,_0x2f0358)=>(_0x509f4d,_0x3f3397)=>_0x2f0358(_0x509f4d,_0x3f3397,_0x92c6f0);function ni(_0x354b14){var _0x2a445b=_0x2b2344;const {unitID:_0xd0c35b,mutations:_0x40b443}=_0x354b14;return{'unitId':_0xd0c35b,'subUnitId':_0x40b443[0x0]['params'][_0x2a445b(0xcd)]};}exports[_0x2b2344(0x1f5)]=class{constructor(_0x4f7a84,_0x4c36c9,_0x28d3fd){var _0x308a80=_0x2b2344;this[_0x308a80(0x21b)]=_0x4f7a84,this['_transformService']=_0x4c36c9,this['_instanceService']=_0x28d3fd;}[_0x2b2344(0x3f7)](_0x1f26a3){var _0x14112c=_0x2b2344,_0x41c954,_0x5babc1,_0x1d3ce2,_0x4d4b8d;const _0x37b0c9=this[_0x14112c(0x21b)]['get'](X[_0x14112c(0x237)]),{unitId:_0x7e3c00,subUnitId:_0x25473b}=ni(_0x1f26a3),_0x277f55=_0x37b0c9==null?void 0x0:_0x37b0c9[_0x14112c(0x31b)](_0x7e3c00)['getCurrentSelections'](),_0x913808=(_0x5babc1=(_0x41c954=this[_0x14112c(0xe3)][_0x14112c(0x332)](_0x7e3c00))==null?void 0x0:_0x41c954['getActiveSheet']())==null?void 0x0:_0x5babc1[_0x14112c(0xe6)]();if(_0x277f55['length']===0x0||!_0x7e3c00||!_0x25473b)return;const _0x3e8390=[{'id':X[_0x14112c(0xd2)]['id'],'params':{'unitId':_0x7e3c00,'subUnitId':_0x913808,'selections':a[_0x14112c(0x366)][_0x14112c(0x40b)](_0x277f55)}}],_0x2ee707=this[_0x14112c(0x200)][_0x14112c(0x1d3)](_0x1f26a3,_0x3e8390);if(!p[_0x14112c(0x3d0)](_0x2ee707))throw _0x2ee707[_0x14112c(0x3e1)];const _0x95ddc0=(_0x4d4b8d=(_0x1d3ce2=_0x2ee707[_0x14112c(0x100)][0x0])==null?void 0x0:_0x1d3ce2[_0x14112c(0x236)])==null?void 0x0:_0x4d4b8d[_0x14112c(0xc2)];if(Array[_0x14112c(0x257)](_0x95ddc0)&&_0x95ddc0[_0x14112c(0xe4)]){if(_0x95ddc0[_0x14112c(0xe4)]===_0x3e8390[0x0]['params'][_0x14112c(0xc2)][_0x14112c(0xe4)]&&_0x95ddc0['every']((_0x24d7f7,_0x1d2bc1)=>a[_0x14112c(0x3eb)]['equals'](_0x24d7f7['range'],_0x3e8390[0x0][_0x14112c(0x236)][_0x14112c(0xc2)][_0x1d2bc1][_0x14112c(0x322)])))return;this[_0x14112c(0x21b)]['get'](a['ICommandService'])[_0x14112c(0x243)](X[_0x14112c(0xd2)]['id'],{'unitId':_0x7e3c00,'subUnitId':_0x913808,'selections':_0x95ddc0});}}},exports[_0x2b2344(0x1f5)]=ii([Ue(0x0,a[_0x2b2344(0x327)](a[_0x2b2344(0x32a)])),Ue(0x1,p[_0x2b2344(0x254)]),Ue(0x2,a[_0x2b2344(0x174)])],exports[_0x2b2344(0x1f5)]);const de=a[_0x2b2344(0x3bb)](_0x2b2344(0x304));var je=(_0x519f6c=>(_0x519f6c[_0x519f6c[_0x2b2344(0x2d0)]=0x0]=_0x2b2344(0x2d0),_0x519f6c[_0x519f6c['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x519f6c))(je||{});const ri=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x5c4717,_0x56bbb8,_0xc91ce9,_0x161631,_0x13217d){var _0x481cca=_0x2b2344,_0xe21691,_0x1f9939,_0x5a8b08,_0xce0114;const _0x24b61e=[];for(const _0x59fd5a of _0x5c4717)if(ri[_0x481cca(0x30d)](_0x59fd5a['id'])){if(_0x24b61e['length']>0x0)break;_0x24b61e[_0x481cca(0x134)](_0x59fd5a);break;}else _0x24b61e['push'](_0x59fd5a);const _0x119c2b=(_0x1f9939=(_0xe21691=_0x13217d[_0x481cca(0x1f9)]())==null?void 0x0:_0xe21691[_0x481cca(0x298)])!=null?_0x1f9939:'unknown',_0xf5c2ba=(_0xce0114=(_0x5a8b08=_0x13217d[_0x481cca(0x1f9)]())==null?void 0x0:_0x5a8b08[_0x481cca(0x13c)])!=null?_0xce0114:_0x481cca(0x132);return{'changeset':{'unitID':_0x56bbb8,'type':p[_0x481cca(0x324)](_0xc91ce9[_0x481cca(0x311)](_0x56bbb8)),'baseRev':_0x161631[_0x481cca(0x2af)](_0x56bbb8),'revision':0x0,'userID':_0x119c2b,'memberID':_0xf5c2ba,'mutations':_0x24b61e},'pendingMutations':_0x5c4717[_0x481cca(0xee)](_0x24b61e[_0x481cca(0xe4)])};}function si(_0x4e50b1,_0x311061,_0x1ac6b2,_0x3a5be1,_0x3869fe){var _0xfca9b=_0x2b2344,_0x2d5e4e,_0x9d4ce,_0x3331b7,_0x15e3bd;const _0x59959b=[_0x4e50b1[_0xfca9b(0x207)]((_0x3b59cc,_0x2f8d29)=>{var _0x441f1f=_0xfca9b,_0x229e74;const {id:_0x473e46}=_0x3b59cc,{id:_0x52ae64,type:_0x3179cc}=_0x2f8d29,_0x51667a=(_0x229e74=_0x3b59cc[_0x441f1f(0x236)])!=null?_0x229e74:{'actions':null},_0x37af3f=_0x2f8d29['params'];if(_0x473e46&&_0x473e46!==_0x52ae64)throw new Error(_0x441f1f(0x242)+_0x473e46+'\x20-\x20'+_0x52ae64+'.');return{..._0x3b59cc,'id':_0x52ae64,'type':_0x3179cc,'params':{'unitId':_0x37af3f[_0x441f1f(0x37a)],'textRanges':_0x37af3f[_0x441f1f(0x223)],'actions':a[_0x441f1f(0x1e7)][_0x441f1f(0x2a1)](_0x51667a[_0x441f1f(0x1be)],_0x37af3f[_0x441f1f(0x1be)])}};},{})],_0x4d6d46=(_0x9d4ce=(_0x2d5e4e=_0x3869fe[_0xfca9b(0x1f9)]())==null?void 0x0:_0x2d5e4e['userID'])!=null?_0x9d4ce:_0xfca9b(0x132),_0x14c6bc=(_0x15e3bd=(_0x3331b7=_0x3869fe[_0xfca9b(0x1f9)]())==null?void 0x0:_0x3331b7[_0xfca9b(0x13c)])!=null?_0x15e3bd:_0xfca9b(0x132);return{'changeset':{'unitID':_0x311061,'type':p[_0xfca9b(0x324)](_0x1ac6b2[_0xfca9b(0x311)](_0x311061)),'baseRev':_0x3a5be1[_0xfca9b(0x2af)](_0x311061),'revision':0x0,'userID':_0x4d6d46,'memberID':_0x14c6bc,'mutations':_0x59959b},'pendingMutations':[]};}function pt(_0x570551,_0x33cd5c){var _0x4110dc=_0x2b2344;const _0x4ccd5c=new H[(_0x4110dc(0x1e0))](0x1);return setTimeout(()=>_0x4ccd5c[_0x4110dc(0x1c7)](_0x33cd5c),_0x570551),_0x4ccd5c[_0x4110dc(0x210)]()['pipe'](H['take'](0x1));}const oi={'id':X[_0x2b2344(0x291)]['id'],'type':a[_0x2b2344(0x25f)][_0x2b2344(0xd6)],'params':{}};var ai=Object[_0x2b2344(0x173)],oe=(_0x1a793e,_0x4f21fa,_0x5b2562,_0x43a0c0)=>{var _0x5da5a4=_0x2b2344;for(var _0x42e7cd=_0x43a0c0>0x1?void 0x0:_0x43a0c0?ai(_0x4f21fa,_0x5b2562):_0x4f21fa,_0x5ddcdb=_0x1a793e[_0x5da5a4(0xe4)]-0x1,_0x22a69e;_0x5ddcdb>=0x0;_0x5ddcdb--)(_0x22a69e=_0x1a793e[_0x5ddcdb])&&(_0x42e7cd=_0x22a69e(_0x42e7cd)||_0x42e7cd);return _0x42e7cd;},w=(_0x4d134a,_0x2be712)=>(_0x5192e2,_0x55b159)=>_0x2be712(_0x5192e2,_0x55b159,_0x4d134a),Be=(_0x1739d5=>(_0x1739d5[_0x2b2344(0x19f)]=_0x2b2344(0x142),_0x1739d5[_0x2b2344(0x3d9)]=_0x2b2344(0x131),_0x1739d5[_0x2b2344(0x403)]=_0x2b2344(0x3c8),_0x1739d5[_0x2b2344(0x2ca)]=_0x2b2344(0x192),_0x1739d5[_0x2b2344(0x35c)]=_0x2b2344(0x309),_0x1739d5[_0x2b2344(0x328)]=_0x2b2344(0x419),_0x1739d5[_0x2b2344(0x24b)]='conflict',_0x1739d5['OFFLINE']='offline',_0x1739d5))(Be||{});const mt=0xea60;class ae{constructor(_0x5203d0,_0x29e006,_0xb7cee6,_0x576e61,_0x1adac0,_0x6d06ef,_0x2e2c44,_0x38c253,_0x5c1e93){var _0x15bcb4=_0x2b2344;A(this,_0x15bcb4(0x110),null),A(this,_0x15bcb4(0x418),[]),(this[_0x15bcb4(0xe5)]=_0x5203d0,this[_0x15bcb4(0x1bd)]=_0x29e006,this[_0x15bcb4(0x166)]=_0x1adac0,this['_commandService']=_0x6d06ef,this['_undoRedoService']=_0x2e2c44,this[_0x15bcb4(0x2fd)]=_0x38c253,this[_0x15bcb4(0x1a2)]=_0x5c1e93,this[_0x15bcb4(0x110)]=_0xb7cee6,this[_0x15bcb4(0x418)]=_0x576e61);}[_0x2b2344(0xd5)](_0x101947){var _0x1fd7d3=_0x2b2344;const _0x288db9=this[_0x1fd7d3(0x2fd)]['getCurrentRevOfUnit'](this[_0x1fd7d3(0xe5)]);return _0x101947[_0x1fd7d3(0x177)]>_0x288db9+0x1?(this[_0x1fd7d3(0x166)][_0x1fd7d3(0x33d)]({'from':_0x288db9,'to':_0x101947[_0x1fd7d3(0x177)]-0x1}),!0x0):!0x1;}[_0x2b2344(0x40c)](_0x1c99e5){var _0x4fad20=_0x2b2344;this['_undoRedoService'][_0x4fad20(0x24a)](this[_0x4fad20(0xe5)],_0x1c99e5);}[_0x2b2344(0x30f)](_0x480179){var _0x3a8044=_0x2b2344,_0x21b74c,_0x430472;(_0x430472=(_0x21b74c=this['_handler'])['onTransformSelections'])==null||_0x430472[_0x3a8044(0x1fb)](_0x21b74c,_0x480179);}[_0x2b2344(0x3de)](_0x39f892){var _0x170fc2=_0x2b2344,_0x2c2f1e,_0xb54143;return(_0xb54143=(_0x2c2f1e=this['_handler'])[_0x170fc2(0x2a3)])==null?void 0x0:_0xb54143[_0x170fc2(0x1fb)](_0x2c2f1e,_0x39f892);}[_0x2b2344(0x274)](_0x2b47d6){var _0xad589f=_0x2b2344,_0x5d9639,_0x15b819;return(_0x15b819=(_0x5d9639=this[_0xad589f(0x166)])['onTransformState'])==null?void 0x0:_0x15b819[_0xad589f(0x1fb)](_0x5d9639,_0x2b47d6);}[_0x2b2344(0x41c)](_0x1bf887){var _0x2d9002=_0x2b2344,_0x14748c,_0x472216,_0x4e419e;return(_0x4e419e=(_0x472216=(_0x14748c=this['_handler'])[_0x2d9002(0x1a4)])==null?void 0x0:_0x472216[_0x2d9002(0x1fb)](_0x14748c,_0x1bf887))!=null?_0x4e419e:_0x1bf887;}[_0x2b2344(0x28b)](_0x595265){var _0x25047b=_0x2b2344,_0x49435f,_0x3ee57f,_0x318ac9;return(_0x318ac9=(_0x3ee57f=(_0x49435f=this[_0x25047b(0x166)])[_0x25047b(0x275)])==null?void 0x0:_0x3ee57f[_0x25047b(0x1fb)](_0x49435f,_0x595265))!=null?_0x318ac9:_0x595265;}['_syncEditingCollabCursor'](_0x3905f7){var _0x4f696c=_0x2b2344,_0x631374,_0x7e128e;if(this[_0x4f696c(0x1bd)]===J[_0x4f696c(0xb3)]){const {unitID:_0x19730c,mutations:_0x3699e6,memberID:_0x579f5d}=_0x3905f7,_0x5bdc98=_0x3699e6[0x0]['params'][_0x4f696c(0x223)];Array[_0x4f696c(0x257)](_0x5bdc98)&&_0x5bdc98[_0x4f696c(0xe4)]>0x0&&((_0x7e128e=(_0x631374=this[_0x4f696c(0x166)])[_0x4f696c(0x1b4)])==null||_0x7e128e[_0x4f696c(0x1fb)](_0x631374,{'unitID':_0x19730c,'memberID':_0x579f5d,'textRanges':_0x5bdc98}));}}[_0x2b2344(0x271)](){var _0x2ecf3f=_0x2b2344,_0xd2f226;(_0xd2f226=this['_localCacheService'])==null||_0xd2f226[_0x2ecf3f(0x2d8)](this[_0x2ecf3f(0xe5)],this[_0x2ecf3f(0x1bd)],this[_0x2ecf3f(0x110)],this[_0x2ecf3f(0x418)]);}['_getCurrentRevision'](){var _0x4bfc00=_0x2b2344;return this[_0x4bfc00(0x2fd)]['getCurrentRevOfUnit'](this[_0x4bfc00(0xe5)]);}[_0x2b2344(0x2a4)](){this['_revisionService']['incrementRevOfUnit'](this['unitID']);}[_0x2b2344(0x348)](_0x13bb2c){var _0x4e07c4=_0x2b2344,_0x23c546;let _0x43c731=this['_transformRemoteChangesetByIMECache'](_0x13bb2c);_0x43c731=this[_0x4e07c4(0x28b)](_0x43c731);const _0x248db6=a[_0x4e07c4(0x2cd)](_0x43c731[_0x4e07c4(0x3e6)],this[_0x4e07c4(0x33c)],{'fromCollab':!0x0});if(!_0x248db6[_0x4e07c4(0x21e)])throw _0x248db6[_0x4e07c4(0x3e1)]instanceof Error?_0x248db6[_0x4e07c4(0x3e1)]:new Error((_0x23c546=_0x248db6['error'])!=null?_0x23c546:_0x4e07c4(0x1a5));this[_0x4e07c4(0x3de)](_0x43c731),this['_transformStateCache'](_0x43c731),this[_0x4e07c4(0x40c)](_0x13bb2c),this['_transformSelections'](_0x43c731),this[_0x4e07c4(0xc9)](_0x43c731),this[_0x4e07c4(0x2a4)]();}}exports[_0x2b2344(0x3b6)]=class extends ae{constructor(_0x473c37,_0x42e45a,_0xaff6f6,_0x38bac8,_0x2c8056,_0x406b9c,_0x10a5f0,_0x565d84,_0x3886b5,_0x1d826b){var _0x4833c0=_0x2b2344;super(_0x473c37,_0x42e45a,null,[],_0xaff6f6,_0x10a5f0,_0x406b9c,_0x38bac8,_0x1d826b),A(this,_0x4833c0(0x1f1),'synced'),(this['_injector']=_0x2c8056,this[_0x4833c0(0x30c)]=_0x565d84,this[_0x4833c0(0x200)]=_0x3886b5,this[_0x4833c0(0x351)]=_0x1d826b);}[_0x2b2344(0x3b2)](_0x2b3acc){var _0x3eaebc=_0x2b2344;const _0x1acdc4=this[_0x3eaebc(0x21b)][_0x3eaebc(0x33f)](exports[_0x3eaebc(0xe2)],this[_0x3eaebc(0xe5)],this['type'],[_0x2b3acc],this['_handler']);return _0x1acdc4[_0x3eaebc(0x272)](),_0x1acdc4['_updateLocalCache'](),_0x1acdc4;}[_0x2b2344(0x133)](_0x13c344){var _0x2967db=_0x2b2344;if(this[_0x2967db(0xd5)](_0x13c344))return this[_0x2967db(0x21b)]['createInstance'](exports[_0x2967db(0x331)],this[_0x2967db(0xe5)],this['type'],null,[],null,[_0x13c344],this[_0x2967db(0x166)]);try{const _0x184f95=this[_0x2967db(0x200)][_0x2967db(0x1d3)](_0x13c344,[oi]);if(p[_0x2967db(0x3d0)](_0x184f95)){const {c1Prime:_0x17ae69}=_0x184f95;return this[_0x2967db(0x348)](_0x17ae69),this;}throw _0x184f95[_0x2967db(0x3e1)];}catch(_0x4a10af){return this[_0x2967db(0x30c)][_0x2967db(0x3e1)](_0x4a10af),this[_0x2967db(0x31c)](!0x1);}}[_0x2b2344(0x31c)](_0x559e11){var _0x36095b=_0x2b2344;return this[_0x36095b(0x21b)][_0x36095b(0x33f)](exports[_0x36095b(0x39a)],this[_0x36095b(0xe5)],this[_0x36095b(0x1bd)],null,[],this[_0x36095b(0x166)],_0x559e11);}[_0x2b2344(0xbe)](){var _0x4aacd0=_0x2b2344;throw new Error(_0x4aacd0(0xb9));}[_0x2b2344(0xf9)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2b2344(0x406)](){return this;}[_0x2b2344(0x18f)](){var _0x412d75=_0x2b2344;return this['_injector'][_0x412d75(0x33f)](exports[_0x412d75(0x153)],this[_0x412d75(0xe5)],this['type'],null,[],this['_handler']);}[_0x2b2344(0x3a6)](){return this;}[_0x2b2344(0x3b8)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2b2344(0x179)](){var _0x381b76=_0x2b2344;const _0xe54f18=this[_0x381b76(0x2fd)][_0x381b76(0x2af)](this['unitID']);return this[_0x381b76(0x166)]['onMissingChangesets']({'from':_0xe54f18,'to':0x0}),this[_0x381b76(0x21b)][_0x381b76(0x33f)](exports[_0x381b76(0x331)],this[_0x381b76(0xe5)],this[_0x381b76(0x1bd)],null,[],null,[],this[_0x381b76(0x166)]);}},exports['SyncedState']=oe([w(0x3,a[_0x2b2344(0x327)](p[_0x2b2344(0xc4)])),w(0x4,a[_0x2b2344(0x327)](a['Injector'])),w(0x5,a[_0x2b2344(0x3ff)]),w(0x6,a[_0x2b2344(0x2f1)]),w(0x7,a[_0x2b2344(0x118)]),w(0x8,p[_0x2b2344(0x254)]),w(0x9,a[_0x2b2344(0x123)](K))],exports[_0x2b2344(0x3b6)]),exports[_0x2b2344(0xe2)]=class extends ae{constructor(_0x393fc2,_0x5ad3d1,_0x43a331,_0x3d9031,_0x4f99b3,_0x54d8a1,_0x536f59,_0x214e56,_0xbd60bc,_0x2f59e2,_0x3c59ec,_0x5cd451,_0x49998a,_0x38f2be){var _0x185384=_0x2b2344;super(_0x393fc2,_0x5ad3d1,null,_0x43a331,_0x3d9031,_0xbd60bc,_0x49998a,_0x54d8a1,_0x38f2be),A(this,_0x185384(0x1f1),_0x185384(0x3c8)),A(this,_0x185384(0x1d1),null),A(this,_0x185384(0x21d),null),(this[_0x185384(0x21b)]=_0x4f99b3,this[_0x185384(0x2ff)]=_0x536f59,this[_0x185384(0x30c)]=_0x214e56,this[_0x185384(0xf4)]=_0x2f59e2,this[_0x185384(0x200)]=_0x3c59ec,this[_0x185384(0x3fe)]=_0x5cd451);}[_0x2b2344(0x3b2)](_0x1ba620){var _0x40dc65=_0x2b2344;return this[_0x40dc65(0x418)][_0x40dc65(0x134)](_0x1ba620),this[_0x40dc65(0x271)](),this;}[_0x2b2344(0x133)](_0x4def99){var _0x2f5424=_0x2b2344;if(this['_checkMissing'](_0x4def99))return this[_0x2f5424(0x292)](),this['_injector']['createInstance'](exports[_0x2f5424(0x331)],this[_0x2f5424(0xe5)],this[_0x2f5424(0x1bd)],null,this[_0x2f5424(0x418)],null,[_0x4def99],this[_0x2f5424(0x166)]);try{const _0x3d07bd=this[_0x2f5424(0x200)]['transformMutationsWithChangeset'](_0x4def99,this[_0x2f5424(0x418)]);if(p[_0x2f5424(0x3d0)](_0x3d07bd)){const {c1Prime:_0x2939a3,m2Prime:_0x52aecb}=_0x3d07bd;this[_0x2f5424(0x348)](_0x2939a3);const _0x251ab2=this[_0x2f5424(0x21b)][_0x2f5424(0x33f)](exports[_0x2f5424(0xe2)],this[_0x2f5424(0xe5)],this[_0x2f5424(0x1bd)],_0x52aecb,this[_0x2f5424(0x166)]);this[_0x2f5424(0x292)]();const _0x4e6b81=new Date()['getTime'](),_0x37c0a3=this[_0x2f5424(0x1d1)]?Math[_0x2f5424(0x2b8)](this['_scheduleCompleteTimestamp']-_0x4e6b81,0x0):this[_0x2f5424(0x384)]();return _0x251ab2[_0x2f5424(0x272)](_0x37c0a3),_0x251ab2;}throw _0x3d07bd[_0x2f5424(0x3e1)];}catch(_0x53ea81){return this[_0x2f5424(0x30c)][_0x2f5424(0x3e1)](_0x53ea81),this['_onConflict'](!0x1);}}[_0x2b2344(0xbe)](){var _0x1d8c3a=_0x2b2344;throw new Error(_0x1d8c3a(0x297));}[_0x2b2344(0xf9)](){var _0x406876=_0x2b2344;throw new Error(_0x406876(0x29c));}[_0x2b2344(0x406)](){return this;}[_0x2b2344(0x18f)](){var _0x392caf=_0x2b2344;return this[_0x392caf(0x292)](),this[_0x392caf(0x21b)][_0x392caf(0x33f)](exports[_0x392caf(0x153)],this[_0x392caf(0xe5)],this[_0x392caf(0x1bd)],null,this[_0x392caf(0x418)],this[_0x392caf(0x166)]);}[_0x2b2344(0x3a6)](){return this;}[_0x2b2344(0x272)](_0x254e9a){var _0x2604e8=_0x2b2344;const _0x561896=_0x254e9a!=null?_0x254e9a:this[_0x2604e8(0x384)]();this[_0x2604e8(0x1d1)]=new Date()['getTime']()+_0x561896,this[_0x2604e8(0x21d)]=setTimeout(()=>{var _0x454d98=_0x2604e8;this[_0x454d98(0x292)]();let _0x683b8f=null;switch(this[_0x454d98(0x1bd)]){case J[_0x454d98(0x10d)]:{_0x683b8f=Ge(this[_0x454d98(0x418)],this[_0x454d98(0xe5)],this['_univerInstanceService'],this[_0x454d98(0x2fd)],this[_0x454d98(0x2ff)]);break;}case J[_0x454d98(0xb3)]:{this[_0x454d98(0x418)][_0x454d98(0xe7)](_0x4e6028=>_0x4e6028['id']===ct[_0x454d98(0x342)]['id'])?_0x683b8f=si(this[_0x454d98(0x418)],this[_0x454d98(0xe5)],this[_0x454d98(0x3fe)],this['_revisionService'],this[_0x454d98(0x2ff)]):_0x683b8f=Ge(this[_0x454d98(0x418)],this[_0x454d98(0xe5)],this[_0x454d98(0x3fe)],this['_revisionService'],this[_0x454d98(0x2ff)]);break;}default:throw new Error(_0x454d98(0x101)+this[_0x454d98(0x1bd)]+'\x20in\x20_schedule.');}const {changeset:_0x45c95f,pendingMutations:_0x581775}=_0x683b8f;this[_0x454d98(0x166)][_0x454d98(0x209)](_0x45c95f);const _0x512c19=_0x581775[_0x454d98(0xe4)]?this[_0x454d98(0x21b)][_0x454d98(0x33f)](exports[_0x454d98(0x1f0)],this[_0x454d98(0xe5)],this[_0x454d98(0x1bd)],_0x45c95f,_0x581775,this[_0x454d98(0x166)],void 0x0):this[_0x454d98(0x21b)][_0x454d98(0x33f)](exports[_0x454d98(0x27f)],this['unitID'],this[_0x454d98(0x1bd)],_0x45c95f,this[_0x454d98(0x166)]);_0x512c19[_0x454d98(0x271)](),this[_0x454d98(0x166)][_0x454d98(0x152)](this,_0x512c19);},_0x561896);}['_getSendChangesetTimeout'](){var _0x23a550=_0x2b2344,_0x28cee7;const _0x123060=this['_configService']['getConfig'](Y);return(_0x28cee7=_0x123060==null?void 0x0:_0x123060[_0x23a550(0x281)])!=null?_0x28cee7:Ut;}[_0x2b2344(0x3b8)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2b2344(0x292)](){var _0x310c5c=_0x2b2344;this[_0x310c5c(0x21d)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x310c5c(0x21d)]=null);}[_0x2b2344(0x31c)](_0x3168a3){var _0x455a69=_0x2b2344;return this[_0x455a69(0x292)](),this[_0x455a69(0x21b)][_0x455a69(0x33f)](exports[_0x455a69(0x39a)],this[_0x455a69(0xe5)],this[_0x455a69(0x1bd)],null,this[_0x455a69(0x418)],this['_handler'],_0x3168a3);}},exports['PendingState']=oe([w(0x4,a[_0x2b2344(0x327)](a['Injector'])),w(0x5,a['Inject'](p[_0x2b2344(0xc4)])),w(0x6,a[_0x2b2344(0x327)](exports['MemberService'])),w(0x7,a['ILogService']),w(0x8,a['ICommandService']),w(0x9,a[_0x2b2344(0x24c)]),w(0xa,p[_0x2b2344(0x254)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x2b2344(0x3ff)]),w(0xd,a['Optional'](K))],exports[_0x2b2344(0xe2)]),exports[_0x2b2344(0x27f)]=class extends ae{constructor(_0x4358d8,_0x491b46,_0xd9ebe7,_0x2d3a88,_0x417430,_0x1ce733,_0x18694f,_0x1bc7e5,_0x5e9d34,_0x117a0a,_0x52b657){var _0x3ba8a4=_0x2b2344;super(_0x4358d8,_0x491b46,_0xd9ebe7,[],_0x2d3a88,_0x18694f,_0x117a0a,_0x1ce733,_0x52b657),A(this,_0x3ba8a4(0x1f1),'awaiting'),A(this,_0x3ba8a4(0x1ff),0x0),A(this,_0x3ba8a4(0x27c)),A(this,_0x3ba8a4(0x32c)),(this[_0x3ba8a4(0x21b)]=_0x417430,this['_logService']=_0x1bc7e5,this['_transformService']=_0x5e9d34);}['appendMutation'](_0x199bf6){var _0x50a3ff=_0x2b2344;this[_0x50a3ff(0x292)]();const _0x186db8=this[_0x50a3ff(0x21b)][_0x50a3ff(0x33f)](exports[_0x50a3ff(0x1f0)],this[_0x50a3ff(0xe5)],this[_0x50a3ff(0x1bd)],this[_0x50a3ff(0x110)],[_0x199bf6],this[_0x50a3ff(0x166)],this[_0x50a3ff(0x27c)]);return _0x186db8['_updateLocalCache'](),_0x186db8;}[_0x2b2344(0x133)](_0x1444b5){var _0x470284=_0x2b2344;if(this[_0x470284(0xd5)](_0x1444b5))return this[_0x470284(0x292)](),this['_injector'][_0x470284(0x33f)](exports['FetchingMissState'],this[_0x470284(0xe5)],this[_0x470284(0x1bd)],this[_0x470284(0x110)],[],null,[_0x1444b5],this[_0x470284(0x166)]);try{const _0xc41785=this[_0x470284(0x200)][_0x470284(0x180)]([_0x1444b5],[this[_0x470284(0x110)]],!0x1);if(p['isTransformChangesetsSuccess'](_0xc41785)){const {c1Prime:_0x39fae4,c2Prime:_0x5ef93f}=_0xc41785;this[_0x470284(0x348)](_0x39fae4[0x0]),_0x5ef93f[0x0]['baseRev']=this[_0x470284(0x2a6)](),this[_0x470284(0x292)]();const _0x4e568f=this['_injector'][_0x470284(0x33f)](exports[_0x470284(0x27f)],this[_0x470284(0xe5)],this[_0x470284(0x1bd)],_0x5ef93f[0x0],this[_0x470284(0x166)]);return _0x4e568f[_0x470284(0x271)](),_0x4e568f;}return this['_onConflict'](!0x1);}catch(_0x235e3a){return this[_0x470284(0x30c)]['error'](_0x235e3a),this['_onConflict'](!0x1);}}[_0x2b2344(0xbe)](_0x525b00){var _0x56376d=_0x2b2344;this[_0x56376d(0x292)]();const _0x22f4dd=this['_revisionService'][_0x56376d(0x2af)](this[_0x56376d(0xe5)]);if(_0x525b00['revision']<_0x22f4dd-0x1)return this;if(this[_0x56376d(0xd5)](_0x525b00))return this[_0x56376d(0x21b)][_0x56376d(0x33f)](exports[_0x56376d(0x331)],this[_0x56376d(0xe5)],this[_0x56376d(0x1bd)],null,[],this['_awaitingChangeset'],[],this[_0x56376d(0x166)]);this[_0x56376d(0x2a4)]();const _0xe2fa72=this[_0x56376d(0x21b)]['createInstance'](exports[_0x56376d(0x3b6)],this[_0x56376d(0xe5)],this[_0x56376d(0x1bd)],this[_0x56376d(0x166)]);return _0xe2fa72[_0x56376d(0x271)](),_0xe2fa72;}[_0x2b2344(0xf9)](_0x8c9e57){var _0x190562=_0x2b2344;return this[_0x190562(0x31c)](!!(_0x8c9e57!=null&&_0x8c9e57['isPermissionRej']));}[_0x2b2344(0x406)](_0x397115){var _0x22b888=_0x2b2344;return this[_0x22b888(0x1ff)]>mt?this[_0x22b888(0x18f)]():(this[_0x22b888(0x27c)]=pt(this[_0x22b888(0x1ff)],{'timeout':this[_0x22b888(0x1ff)],'reqId':_0x397115[_0x22b888(0x222)]}),this['_sender']=this[_0x22b888(0x27c)]['subscribe'](({reqId:_0x3507a2,timeout:_0x244881})=>{var _0x71278=_0x22b888;this[_0x71278(0x29a)](_0x3507a2,_0x244881);}),this);}[_0x2b2344(0x18f)](){var _0x54af64=_0x2b2344;return this['_clearScheduledTask'](),this[_0x54af64(0x21b)][_0x54af64(0x33f)](exports[_0x54af64(0x153)],this[_0x54af64(0xe5)],this[_0x54af64(0x1bd)],this['_awaitingChangeset'],[],this['_handler']);}[_0x2b2344(0x3a6)](){return this;}[_0x2b2344(0x3b8)](){var _0x4ec9fb=_0x2b2344;this['_handler'][_0x4ec9fb(0x209)](this[_0x4ec9fb(0x110)]);}[_0x2b2344(0x31c)](_0x2ec2b1){var _0x3c032f=_0x2b2344;return this[_0x3c032f(0x292)](),this[_0x3c032f(0x21b)][_0x3c032f(0x33f)](exports[_0x3c032f(0x39a)],this[_0x3c032f(0xe5)],this[_0x3c032f(0x1bd)],this['_awaitingChangeset'],[],this[_0x3c032f(0x166)],_0x2ec2b1);}[_0x2b2344(0x29a)](_0x32e3c1,_0x4802bb){var _0xbfd2ee=_0x2b2344,_0x4c6902;_0x32e3c1===((_0x4c6902=this[_0xbfd2ee(0x110)])==null?void 0x0:_0x4c6902['reqId'])&&(this[_0xbfd2ee(0x3b8)](),this[_0xbfd2ee(0x1ff)]=_0x4802bb===0x0?0x3e8:_0x4802bb*0x2);}[_0x2b2344(0x292)](){var _0x1560ec=_0x2b2344,_0xd9d1bf;(_0xd9d1bf=this['_sender'])==null||_0xd9d1bf['unsubscribe'](),this[_0x1560ec(0x1ff)]=0x0;}},exports[_0x2b2344(0x27f)]=oe([w(0x4,a[_0x2b2344(0x327)](a['Injector'])),w(0x5,a[_0x2b2344(0x327)](p[_0x2b2344(0xc4)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,p['ITransformService']),w(0x9,a[_0x2b2344(0x3ff)]),w(0xa,a[_0x2b2344(0x123)](K))],exports[_0x2b2344(0x27f)]),exports[_0x2b2344(0x1f0)]=class extends ae{constructor(_0x557639,_0x2eef4d,_0x31b519,_0x4abc14,_0x3a8920,_0x505b09,_0x20aec1,_0x22eca2,_0x5aad64,_0x311466,_0x3b788d,_0x763c1f,_0x24a1ab){var _0x406ed2=_0x2b2344;super(_0x557639,_0x2eef4d,_0x31b519,_0x4abc14,_0x3a8920,_0x5aad64,_0x763c1f,_0x22eca2,_0x24a1ab),A(this,_0x406ed2(0x1f1),_0x406ed2(0x309)),A(this,_0x406ed2(0x1ff),0x0),A(this,_0x406ed2(0x27c)),A(this,_0x406ed2(0x32c)),(this['_injector']=_0x20aec1,this['_logService']=_0x311466,this[_0x406ed2(0x200)]=_0x3b788d,this[_0x406ed2(0x351)]=_0x24a1ab,_0x505b09&&(this['_resendTimer']=_0x505b09,this[_0x406ed2(0x32c)]=this[_0x406ed2(0x27c)]['subscribe'](({reqId:_0x379d8e,timeout:_0x51633d})=>{var _0x3fbaee=_0x406ed2;this[_0x3fbaee(0x29a)](_0x379d8e,_0x51633d);})));}[_0x2b2344(0x3b2)](_0x71b1f6){var _0x4ef879=_0x2b2344;return this[_0x4ef879(0x418)]['push'](_0x71b1f6),this;}[_0x2b2344(0x133)](_0xfcbfdc){var _0x99ebe3=_0x2b2344;if(this[_0x99ebe3(0xd5)](_0xfcbfdc))return this['_clearScheduledTask'](),this[_0x99ebe3(0x21b)]['createInstance'](exports[_0x99ebe3(0x331)],this[_0x99ebe3(0xe5)],this['type'],this[_0x99ebe3(0x110)],this[_0x99ebe3(0x418)],null,[_0xfcbfdc],this[_0x99ebe3(0x166)]);try{const _0xbed4b5=this[_0x99ebe3(0x200)]['transformChangesets']([_0xfcbfdc],[this[_0x99ebe3(0x110)]],!0x1);if(p['isTransformChangesetsSuccess'](_0xbed4b5)){const {c1Prime:_0x11a3f5,c2Prime:_0xd64fe4}=_0xbed4b5,_0x110e00=this[_0x99ebe3(0x200)][_0x99ebe3(0x1d3)](_0x11a3f5[0x0],this[_0x99ebe3(0x418)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x110e00)){const {c1Prime:_0x3b05f6,m2Prime:_0x51284c}=_0x110e00;return this[_0x99ebe3(0x348)](_0x3b05f6),_0xd64fe4[0x0][_0x99ebe3(0x1a9)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x99ebe3(0x21b)][_0x99ebe3(0x33f)](exports[_0x99ebe3(0x1f0)],this['unitID'],this[_0x99ebe3(0x1bd)],_0xd64fe4[0x0],_0x51284c,this['_handler'],void 0x0);}throw _0x110e00[_0x99ebe3(0x3e1)];}throw _0xbed4b5[_0x99ebe3(0x3e1)];}catch(_0x3c06fb){return this[_0x99ebe3(0x30c)][_0x99ebe3(0x3e1)](_0x3c06fb),this[_0x99ebe3(0x31c)](!0x1);}}[_0x2b2344(0xbe)](_0x316c1c){var _0x1614b2=_0x2b2344;if(this[_0x1614b2(0x292)](),this[_0x1614b2(0xd5)](_0x316c1c))return this[_0x1614b2(0x21b)][_0x1614b2(0x33f)](exports['FetchingMissState'],this[_0x1614b2(0xe5)],this[_0x1614b2(0x1bd)],null,this[_0x1614b2(0x418)],this[_0x1614b2(0x110)],[],this[_0x1614b2(0x166)]);this[_0x1614b2(0x2a4)]();const _0x2f100a=this[_0x1614b2(0x21b)][_0x1614b2(0x33f)](exports[_0x1614b2(0xe2)],this[_0x1614b2(0xe5)],this[_0x1614b2(0x1bd)],this[_0x1614b2(0x418)],this['_handler']);return _0x2f100a[_0x1614b2(0x272)](),_0x2f100a[_0x1614b2(0x271)](),_0x2f100a;}[_0x2b2344(0xf9)](_0x1f1e0b){var _0x1ded01=_0x2b2344;return this[_0x1ded01(0x31c)](!!(_0x1f1e0b!=null&&_0x1f1e0b[_0x1ded01(0x11a)]));}[_0x2b2344(0x406)](_0xf97218){var _0x255e2a=_0x2b2344;return this[_0x255e2a(0x1ff)]>mt?this['toggleOffline']():(this['_resendTimer']=pt(this[_0x255e2a(0x1ff)],{'timeout':this[_0x255e2a(0x1ff)],'reqId':_0xf97218[_0x255e2a(0x222)]}),this[_0x255e2a(0x32c)]=this['_resendTimer']['subscribe'](({reqId:_0x4b40c9,timeout:_0x5ced7e})=>{var _0x157010=_0x255e2a;this[_0x157010(0x29a)](_0x4b40c9,_0x5ced7e);}),this);}[_0x2b2344(0x18f)](){var _0x73bd8a=_0x2b2344;return this[_0x73bd8a(0x292)](),this['_injector'][_0x73bd8a(0x33f)](exports['OfflineState'],this[_0x73bd8a(0xe5)],this[_0x73bd8a(0x1bd)],this['_awaitingChangeset'],this[_0x73bd8a(0x418)],this[_0x73bd8a(0x166)]);}['toggleOnline'](){return this;}[_0x2b2344(0x3b8)](){var _0x26b695=_0x2b2344;this[_0x26b695(0x166)]['onSendChangeset'](this[_0x26b695(0x110)]);}[_0x2b2344(0x31c)](_0x1e4c09){var _0x2ca7b4=_0x2b2344;return this[_0x2ca7b4(0x292)](),this[_0x2ca7b4(0x21b)][_0x2ca7b4(0x33f)](exports['ConflictState'],this['unitID'],this[_0x2ca7b4(0x1bd)],null,this[_0x2ca7b4(0x418)],this['_handler'],_0x1e4c09);}[_0x2b2344(0x29a)](_0x38f21b,_0x59faa6){var _0x188871=_0x2b2344,_0x39ccd5;_0x38f21b===((_0x39ccd5=this[_0x188871(0x110)])==null?void 0x0:_0x39ccd5[_0x188871(0x222)])&&(this[_0x188871(0x3b8)](),this[_0x188871(0x1ff)]=_0x59faa6===0x0?0x3e8:_0x59faa6*0x2);}[_0x2b2344(0x292)](){var _0x1dbfb1=_0x2b2344,_0x3a9070;(_0x3a9070=this[_0x1dbfb1(0x32c)])==null||_0x3a9070[_0x1dbfb1(0xbc)](),this[_0x1dbfb1(0x1ff)]=0x0;}},exports['AwaitingWithPendingState']=oe([w(0x6,a['Inject'](a[_0x2b2344(0x32a)])),w(0x7,a[_0x2b2344(0x327)](p[_0x2b2344(0xc4)])),w(0x8,a[_0x2b2344(0x2f1)]),w(0x9,a[_0x2b2344(0x118)]),w(0xa,p['ITransformService']),w(0xb,a[_0x2b2344(0x3ff)]),w(0xc,a[_0x2b2344(0x123)](K))],exports['AwaitingWithPendingState']),exports[_0x2b2344(0x39a)]=class extends ae{constructor(_0x2fe5b1,_0x34b852,_0xf34711,_0x4ce72b,_0xa49e6a,_0x37b325=!0x1,_0x9275cd,_0x44b08b,_0x2ba3e5,_0x4aaab4,_0x240ac0,_0x5bd49b,_0x205f74){var _0x2dc143=_0x2b2344;super(_0x2fe5b1,_0x34b852,_0xf34711,_0x4ce72b,_0xa49e6a,_0x44b08b,_0x2ba3e5,_0x4aaab4,_0x205f74),A(this,_0x2dc143(0x1f1),_0x2dc143(0x392)),(this['_isPermissionRej']=_0x37b325,this['_permissionService']=_0x9275cd,this[_0x2dc143(0x1fc)]=_0x240ac0,this[_0x2dc143(0xdf)]=_0x5bd49b,this['localCacheService']=_0x205f74,this[_0x2dc143(0x2ac)](),this[_0x2dc143(0x25d)](),this[_0x2dc143(0x2ce)]());}[_0x2b2344(0x3b2)](){return this;}[_0x2b2344(0x133)](){return this;}[_0x2b2344(0xbe)](){return this;}[_0x2b2344(0xf9)](){return this;}[_0x2b2344(0x406)](){return this;}[_0x2b2344(0x18f)](){return this;}[_0x2b2344(0x3a6)](){return this;}['resend'](){var _0x527838=_0x2b2344;throw new Error(_0x527838(0x277));}['_clearLocalCache'](){var _0x39fc18=_0x2b2344,_0x29f425;(_0x29f425=this['_localCacheService'])==null||_0x29f425[_0x39fc18(0x2d8)](this[_0x39fc18(0xe5)],this[_0x39fc18(0x1bd)],null,[]);}['_showConflictNotification'](){var _0x6a6784=_0x2b2344;this['_isPermissionRej']?this[_0x6a6784(0xdf)][_0x6a6784(0xd8)]({'id':Z[_0x6a6784(0x184)]}):this[_0x6a6784(0xdf)]['emitEvent']({'id':Z[_0x6a6784(0x24b)]});}[_0x2b2344(0x2ce)](){var _0x33e50d=_0x2b2344;this[_0x33e50d(0x358)]['updatePermissionPoint'](new X[(_0x33e50d(0x1dd))](this[_0x33e50d(0xe5)])['id'],!0x1);}},exports['ConflictState']=oe([w(0x6,a[_0x2b2344(0x327)](a['IPermissionService'])),w(0x7,a[_0x2b2344(0x2f1)]),w(0x8,a[_0x2b2344(0x3ff)]),w(0x9,a[_0x2b2344(0x327)](p[_0x2b2344(0xc4)])),w(0xa,a[_0x2b2344(0x327)](a[_0x2b2344(0x3ba)])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x2b2344(0x123)](K))],exports[_0x2b2344(0x39a)]),exports[_0x2b2344(0x153)]=class extends ae{constructor(_0x138d81,_0x547c7e,_0x271401,_0x1920d0,_0x8d2056,_0x420d7c,_0x553a57,_0x7751c1,_0x3b9a3b,_0x539f9f){var _0x1feef6=_0x2b2344;super(_0x138d81,_0x547c7e,_0x271401,_0x1920d0,_0x8d2056,_0x7751c1,_0x3b9a3b,_0x553a57,_0x539f9f),A(this,_0x1feef6(0x1f1),_0x1feef6(0x23a)),this[_0x1feef6(0x21b)]=_0x420d7c;}[_0x2b2344(0x3b2)](_0x5ace78){var _0x87a814=_0x2b2344;return this[_0x87a814(0x418)]['push'](_0x5ace78),this['_updateLocalCache'](),this;}[_0x2b2344(0x133)](_0x2083b5){var _0x20535d=_0x2b2344;throw new Error(_0x20535d(0x416));}['onRemoteAck'](){var _0x51864e=_0x2b2344;throw new Error(_0x51864e(0x1f8));}['onRemoteRej'](){var _0x30e6c7=_0x2b2344;throw new Error(_0x30e6c7(0x105));}[_0x2b2344(0x406)](){return this;}[_0x2b2344(0x18f)](){return this;}[_0x2b2344(0x3a6)](){var _0x59d1b6=_0x2b2344;const {_injector:_0x17125b,_pendingMutations:_0x2b6f95,_awaitingChangeset:_0x2e2806,unitID:_0x4d1d10,_handler:_0x5ae353,type:_0x58470d}=this,_0x4e702d=gt(_0x17125b,_0x4d1d10,_0x58470d,_0x2e2806,_0x2b6f95,_0x5ae353);return _0x4e702d instanceof exports[_0x59d1b6(0xe2)]?_0x4e702d['_schedule']():(_0x4e702d instanceof exports['AwaitingWithPendingState']||_0x4e702d instanceof exports[_0x59d1b6(0x27f)])&&_0x4e702d['resend'](),_0x4e702d;}[_0x2b2344(0x3b8)](){var _0xfc4c5f=_0x2b2344;throw new Error(_0xfc4c5f(0x371));}},exports[_0x2b2344(0x153)]=oe([w(0x5,a[_0x2b2344(0x327)](a[_0x2b2344(0x32a)])),w(0x6,a['Inject'](p['RevisionService'])),w(0x7,a[_0x2b2344(0x2f1)]),w(0x8,a[_0x2b2344(0x3ff)]),w(0x9,a[_0x2b2344(0x123)](K))],exports['OfflineState']),exports[_0x2b2344(0x331)]=class extends ae{constructor(_0x1815aa,_0xe39f0d,_0x46da7f,_0x3c6604,_0x3c6ede,_0x735a0b,_0x3aa23f,_0x21e957,_0x2a9f52,_0x43956b,_0x249de9,_0x35e4bc,_0xecbc10,_0x54b5dc){var _0x24e46e=_0x2b2344;super(_0x1815aa,_0xe39f0d,_0x46da7f,_0x3c6604,_0x3aa23f,_0x249de9,_0x35e4bc,_0x2a9f52,_0x54b5dc),A(this,_0x24e46e(0x1f1),'fetch_missing'),(this[_0x24e46e(0x3c5)]=_0x3c6ede,this['_queuedRemoteChangesets']=_0x735a0b,this['_injector']=_0x21e957,this['_logService']=_0x43956b,this[_0x24e46e(0x200)]=_0xecbc10,this[_0x24e46e(0x351)]=_0x54b5dc);}[_0x2b2344(0x164)](_0x298771){var _0x50edef=_0x2b2344;try{const _0x504768=[..._0x298771,...this[_0x50edef(0x356)]],_0x2c3d64=[this[_0x50edef(0x110)]||this[_0x50edef(0x3c5)]][_0x50edef(0x3f6)](_0x2030d3=>!!_0x2030d3);let _0x1b116d,_0x500391;if(_0x2c3d64[_0x50edef(0xe4)]){const _0x42d92d=this[_0x50edef(0x200)]['transformChangesets'](_0x504768,_0x2c3d64,!0x1);if(!p[_0x50edef(0x38e)](_0x42d92d))throw _0x42d92d[_0x50edef(0x3e1)];_0x1b116d=_0x42d92d[_0x50edef(0x31d)],_0x500391=_0x42d92d[_0x50edef(0x106)];}else _0x1b116d=_0x504768,_0x500391=[];let _0x4f9a8c=this[_0x50edef(0x418)];_0x1b116d['forEach'](_0x5a8998=>{var _0x37246e=_0x50edef;let _0xa7de46;if(_0x4f9a8c[_0x37246e(0xe4)]){const _0xc58556=this[_0x37246e(0x200)]['transformMutationsWithChangeset'](_0x5a8998,_0x4f9a8c);if(!p[_0x37246e(0x3d0)](_0xc58556))throw _0xc58556['error'];_0xa7de46=_0xc58556[_0x37246e(0x31d)],_0x4f9a8c=_0xc58556[_0x37246e(0x100)];}else _0xa7de46=_0x5a8998;this['_executeRemoteChangeset'](_0xa7de46);}),this[_0x50edef(0x3c5)]&&this['_incrementRevisionNumber'](),this[_0x50edef(0x110)]&&_0x500391[_0x50edef(0xe4)]&&(_0x500391[0x0][_0x50edef(0x1a9)]=this[_0x50edef(0x2a6)]());let _0x5c121b;if(this[_0x50edef(0x110)]&&_0x4f9a8c[_0x50edef(0xe4)]!==0x0)_0x5c121b=this[_0x50edef(0x21b)][_0x50edef(0x33f)](exports[_0x50edef(0x1f0)],this['unitID'],this['type'],_0x500391[0x0],_0x4f9a8c,this['_handler'],void 0x0);else{if(this[_0x50edef(0x110)]&&_0x4f9a8c[_0x50edef(0xe4)]===0x0)_0x500391[0x0]['baseRev']=this[_0x50edef(0x2a6)](),_0x5c121b=this[_0x50edef(0x21b)]['createInstance'](exports[_0x50edef(0x27f)],this[_0x50edef(0xe5)],this[_0x50edef(0x1bd)],_0x500391[0x0],this[_0x50edef(0x166)]);else{if(_0x4f9a8c['length']!==0x0){const _0x486086=this[_0x50edef(0x21b)]['createInstance'](exports[_0x50edef(0xe2)],this[_0x50edef(0xe5)],this['type'],_0x4f9a8c,this[_0x50edef(0x166)]);_0x486086[_0x50edef(0x272)](),_0x5c121b=_0x486086;}else _0x5c121b=this[_0x50edef(0x21b)][_0x50edef(0x33f)](exports[_0x50edef(0x3b6)],this[_0x50edef(0xe5)],this[_0x50edef(0x1bd)],this[_0x50edef(0x166)]);}}return _0x5c121b[_0x50edef(0x271)](),_0x5c121b;}catch(_0x100cce){return this[_0x50edef(0x30c)][_0x50edef(0x3e1)](_0x50edef(0x2b0),_0x50edef(0x1b8),_0x100cce),this[_0x50edef(0x21b)][_0x50edef(0x33f)](exports['ConflictState'],this[_0x50edef(0xe5)],this[_0x50edef(0x1bd)],this[_0x50edef(0x110)],this[_0x50edef(0x418)],this[_0x50edef(0x166)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x10bb3b){var _0x5bba8b=_0x2b2344;return this[_0x5bba8b(0x418)][_0x5bba8b(0x134)](_0x10bb3b),this;}['onRemoteChangeset'](_0xe2733d){var _0x42ef25=_0x2b2344;return this[_0x42ef25(0x356)][_0x42ef25(0x134)](_0xe2733d),this;}[_0x2b2344(0xbe)](_0x2dcf01){var _0x706474=_0x2b2344;if(this[_0x706474(0x110)])return this[_0x706474(0x3c5)]=this[_0x706474(0x110)],this[_0x706474(0x110)]=null,this;throw new Error(_0x706474(0x170));}['onRemoteRej'](_0x32b1f6){var _0x515ddd=_0x2b2344;return this[_0x515ddd(0x31c)](!!(_0x32b1f6!=null&&_0x32b1f6[_0x515ddd(0x11a)]));}[_0x2b2344(0x406)](){return this;}['toggleOffline'](){var _0x13827d=_0x2b2344;return this[_0x13827d(0x21b)]['createInstance'](exports[_0x13827d(0x153)],this[_0x13827d(0xe5)],this[_0x13827d(0x1bd)],this['_awaitingChangeset'],this[_0x13827d(0x418)],this['_handler']);}[_0x2b2344(0x3a6)](){return this;}['_onConflict'](_0x52bff1){var _0x2150fd=_0x2b2344;return this[_0x2150fd(0x21b)]['createInstance'](exports[_0x2150fd(0x39a)],this[_0x2150fd(0xe5)],this['type'],this['_awaitingChangeset'],this[_0x2150fd(0x418)],this['_handler'],_0x52bff1);}},exports[_0x2b2344(0x331)]=oe([w(0x7,a[_0x2b2344(0x327)](a[_0x2b2344(0x32a)])),w(0x8,a[_0x2b2344(0x327)](p[_0x2b2344(0xc4)])),w(0x9,a[_0x2b2344(0x118)]),w(0xa,a[_0x2b2344(0x2f1)]),w(0xb,a[_0x2b2344(0x3ff)]),w(0xc,p[_0x2b2344(0x254)]),w(0xd,a['Optional'](K))],exports[_0x2b2344(0x331)]);function gt(_0x7d14fa,_0x458ec1,_0x2c8d07,_0x21761d,_0x3c8360,_0x352101){var _0xd554f3=_0x2b2344;return _0x21761d&&_0x3c8360['length']?_0x7d14fa[_0xd554f3(0x33f)](exports['AwaitingWithPendingState'],_0x458ec1,_0x2c8d07,_0x21761d,_0x3c8360,_0x352101,void 0x0):_0x21761d?_0x7d14fa[_0xd554f3(0x33f)](exports[_0xd554f3(0x27f)],_0x458ec1,_0x2c8d07,_0x21761d,_0x352101):_0x3c8360[_0xd554f3(0xe4)]?_0x7d14fa['createInstance'](exports[_0xd554f3(0xe2)],_0x458ec1,_0x2c8d07,_0x3c8360,_0x352101):_0x7d14fa[_0xd554f3(0x33f)](exports[_0xd554f3(0x3b6)],_0x458ec1,_0x2c8d07,_0x352101);}var ci=Object[_0x2b2344(0x173)],Fe=(_0x439ec2,_0x37869d,_0x2c99ac,_0x1303a8)=>{var _0x2c8034=_0x2b2344;for(var _0x3e3a01=_0x1303a8>0x1?void 0x0:_0x1303a8?ci(_0x37869d,_0x2c99ac):_0x37869d,_0x23d503=_0x439ec2[_0x2c8034(0xe4)]-0x1,_0x27f614;_0x23d503>=0x0;_0x23d503--)(_0x27f614=_0x439ec2[_0x23d503])&&(_0x3e3a01=_0x27f614(_0x3e3a01)||_0x3e3a01);return _0x3e3a01;},j=(_0x571fc5,_0x3923ff)=>(_0x9ec789,_0x2a9df3)=>_0x3923ff(_0x9ec789,_0x2a9df3,_0x571fc5);exports[_0x2b2344(0x370)]=class extends a[_0x2b2344(0x2e9)]{constructor(_0x574039,_0x1e6585,_0x39cbb9,_0x56c825,_0x5bd089,_0xa60f4f,_0xf04b79,_0x5d9f49,_0x8485f2,_0x38c99c,_0x2dd0f8,_0x18f131,_0x10d062){var _0x5d96ca=_0x2b2344;super(),A(this,_0x5d96ca(0x34e),new H[(_0x5d96ca(0x212))](null)),A(this,_0x5d96ca(0x23b),this[_0x5d96ca(0x34e)][_0x5d96ca(0x210)]()),A(this,_0x5d96ca(0x2f3)),A(this,_0x5d96ca(0x39d),!0x1),A(this,_0x5d96ca(0x1cd),''),A(this,_0x5d96ca(0x1fa),0x0),A(this,_0x5d96ca(0x2c5),this[_0x5d96ca(0x23b)][_0x5d96ca(0x352)](H[_0x5d96ca(0x218)](_0x20fa10=>_0x20fa10?_0x20fa10[_0x5d96ca(0x1f1)]:Be['OFFLINE']),H[_0x5d96ca(0x2df)](0x1))),A(this,_0x5d96ca(0x1c3),!0x1),A(this,_0x5d96ca(0x182),[]),(this[_0x5d96ca(0xe5)]=_0x574039,this[_0x5d96ca(0x383)]=_0x1e6585,this[_0x5d96ca(0x1d8)]=_0x39cbb9,this['_injector']=_0x56c825,this[_0x5d96ca(0x33e)]=_0x5bd089,this[_0x5d96ca(0x1fc)]=_0xa60f4f,this['_revisionService']=_0xf04b79,this[_0x5d96ca(0x2c0)]=_0x5d9f49,this[_0x5d96ca(0x30c)]=_0x8485f2,this[_0x5d96ca(0x33c)]=_0x38c99c,this[_0x5d96ca(0x358)]=_0x2dd0f8,this[_0x5d96ca(0x32f)]=_0x18f131,this[_0x5d96ca(0x1a2)]=_0x10d062);}get['state'](){return this['_state'];}async[_0x2b2344(0xfa)](){var _0x4771d5=_0x2b2344;if(this[_0x4771d5(0x33a)])throw new Error(_0x4771d5(0x11d));await this[_0x4771d5(0x250)]();}['pauseCollaboration'](){var _0x2efe4e=_0x2b2344;return this['_collaborationPaused']=!0x0,a[_0x2efe4e(0xb8)](()=>{var _0x5b8451=_0x2efe4e;this[_0x5b8451(0x39d)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2b2344(0x1cf)](_0x596b34){var _0x5b339f=_0x2b2344;this[_0x5b339f(0x146)](_0x596b34);}['_updateState'](_0x3ae29e){var _0x1df719=_0x2b2344;this[_0x1df719(0x2f3)]=_0x3ae29e,this[_0x1df719(0x34e)]['next'](_0x3ae29e);}async[_0x2b2344(0x250)](){var _0x310dcd=_0x2b2344,_0x4b96d5;this['_updateState'](await this[_0x310dcd(0x156)]()),this[_0x310dcd(0x32f)]&&((_0x4b96d5=this[_0x310dcd(0x32f)])==null||_0x4b96d5['editingUnit'](this[_0x310dcd(0xe5)]),this[_0x310dcd(0x394)](this[_0x310dcd(0x32f)]['getUnitStatus$'](this[_0x310dcd(0xe5)])[_0x310dcd(0x273)](_0x5b9eb4=>{var _0x16c8d9=_0x310dcd;this[_0x16c8d9(0x30c)][_0x16c8d9(0x1f2)](_0x16c8d9(0x255),_0x16c8d9(0x378),_0x5b9eb4),_0x5b9eb4===je['OTHER_CLIENTS_EDITING']?(this[_0x16c8d9(0x2c0)][_0x16c8d9(0xd8)]({'id':Z[_0x16c8d9(0x308)]}),this[_0x16c8d9(0x358)][_0x16c8d9(0x39f)](new X[(_0x16c8d9(0x1dd))](this[_0x16c8d9(0xe5)])['id'],!0x1),this[_0x16c8d9(0x358)][_0x16c8d9(0x3e7)](!0x1)):(this['_permissionService'][_0x16c8d9(0x39f)](new X['WorkbookEditablePermission'](this[_0x16c8d9(0xe5)])['id'],!0x0),this[_0x16c8d9(0x358)][_0x16c8d9(0x3e7)](!0x0));})));let _0x581976=!0x1;return this[_0x310dcd(0x394)](this[_0x310dcd(0x383)]['sessionStatus$'][_0x310dcd(0x273)](_0x527c23=>{var _0x138227=_0x310dcd;_0x527c23===re[_0x138227(0x38b)]?this[_0x138227(0x40d)](_0x581976):_0x527c23===re[_0x138227(0x102)]&&(_0x581976=!0x0,this[_0x138227(0xc5)]());})),this[_0x310dcd(0x394)](this[_0x310dcd(0x383)][_0x310dcd(0x193)][_0x310dcd(0x273)](_0x3f2adc=>{var _0x2fead7=_0x310dcd;try{switch(_0x3f2adc[_0x2fead7(0x205)]){case p['CollaborationEvent']['NEW_CHANGESETS']:{this['_onRemoteChangeset'](p['parseProtocolChangeset'](_0x3f2adc[_0x2fead7(0xdd)]));break;}case p[_0x2fead7(0x39e)][_0x2fead7(0x263)]:{this[_0x2fead7(0x2e2)](_0x3f2adc[_0x2fead7(0xdd)]);break;}case p['CollaborationEvent']['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case p['CollaborationEvent'][_0x2fead7(0x165)]:{this[_0x2fead7(0x1b3)](_0x3f2adc[_0x2fead7(0xdd)]);break;}case p[_0x2fead7(0x39e)][_0x2fead7(0x1aa)]:{this[_0x2fead7(0x3d8)](_0x3f2adc[_0x2fead7(0xdd)][_0x2fead7(0x313)][_0x2fead7(0x218)](_0x240cdc=>p[_0x2fead7(0x163)](_0x240cdc)));break;}case p[_0x2fead7(0x39e)]['PERMISSION_REJ']:{this[_0x2fead7(0x3a2)]({'isPermissionRej':!0x0});break;}case p[_0x2fead7(0x39e)][_0x2fead7(0x206)]:break;}}catch(_0x1bcdf1){throw console[_0x2fead7(0x3e1)](_0x2fead7(0x234),_0x1bcdf1),_0x1bcdf1;}})),this['_state'];}[_0x2b2344(0x35e)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0xb3054b=_0x2b2344;if(this['_transitionLocked'])throw new Error(_0xb3054b(0x233));this[_0xb3054b(0x1c3)]=!0x0;}['_onLocalMutation'](_0x2daeac){var _0x501a29=_0x2b2344;this[_0x501a29(0x12f)](),this[_0x501a29(0x25b)](this[_0x501a29(0x2f3)][_0x501a29(0x3b2)](_0x2daeac)),this[_0x501a29(0x35e)]();}[_0x2b2344(0x1d9)](_0x2f4b58){var _0xb6c6e9=_0x2b2344;if(!(_0x2f4b58[_0xb6c6e9(0x177)]<=this[_0xb6c6e9(0x2fd)][_0xb6c6e9(0x2af)](this[_0xb6c6e9(0xe5)]))){if(this[_0xb6c6e9(0x39d)]){this[_0xb6c6e9(0x182)][_0xb6c6e9(0x134)](_0x2f4b58);return;}this[_0xb6c6e9(0x1a7)](_0x2f4b58);}}[_0x2b2344(0x198)](){var _0x44e46e=_0x2b2344;this[_0x44e46e(0x182)][_0x44e46e(0x2fa)](_0x134c20=>this['_applyRemoteChangeset'](_0x134c20)),this[_0x44e46e(0x182)]=[];}[_0x2b2344(0x1a7)](_0x8e2c77){var _0x3c7d80=_0x2b2344;const _0xe12529=this['_compressMutationService'][_0x3c7d80(0x1ae)]['fetchThroughInterceptors'](this[_0x3c7d80(0x33e)][_0x3c7d80(0x1ae)][_0x3c7d80(0x3ce)]()[_0x3c7d80(0x203)])(_0x8e2c77[_0x3c7d80(0x3e6)],null)||_0x8e2c77[_0x3c7d80(0x3e6)],_0x13d6d9={..._0x8e2c77,'mutations':_0xe12529};this[_0x3c7d80(0x12f)](),this[_0x3c7d80(0x25b)](this[_0x3c7d80(0x2f3)]['onRemoteChangeset'](_0x13d6d9)),this[_0x3c7d80(0x35e)]();}[_0x2b2344(0x2e2)](_0x416581){var _0x9d4646=_0x2b2344;this[_0x9d4646(0x12f)](),this[_0x9d4646(0x25b)](this[_0x9d4646(0x2f3)]['onRemoteAck'](_0x416581)),this['_unlockTransition']();}['_onRemoteRejected'](_0x3a27c0){var _0x438d05=_0x2b2344;this[_0x438d05(0x12f)](),this[_0x438d05(0x25b)](this[_0x438d05(0x2f3)][_0x438d05(0xf9)](_0x3a27c0)),this['_unlockTransition']();}['_onRemoteRetry'](_0x13c30b){var _0x4f1013=_0x2b2344;this[_0x4f1013(0x12f)](),this['_updateState'](this[_0x4f1013(0x2f3)][_0x4f1013(0x406)](_0x13c30b)),this['_unlockTransition']();}[_0x2b2344(0x3d8)](_0x2f9fee){var _0x3da62a=_0x2b2344;if(!(this['_state']instanceof exports[_0x3da62a(0x331)]))throw new TypeError(_0x3da62a(0x144));const _0x141c4f=_0x2f9fee[_0x3da62a(0x218)](_0x2df878=>{var _0x123089=_0x3da62a;const _0x32ec13=this[_0x123089(0x33e)][_0x123089(0x1ae)][_0x123089(0x13e)](this[_0x123089(0x33e)]['interceptor'][_0x123089(0x3ce)]()['COMPRESS_MUTATION_APPLY'])(_0x2df878[_0x123089(0x3e6)],null)||_0x2df878[_0x123089(0x3e6)];return{..._0x2df878,'mutations':_0x32ec13};});this[_0x3da62a(0x12f)](),this[_0x3da62a(0x25b)](this[_0x3da62a(0x2f3)][_0x3da62a(0x164)](_0x141c4f)),this[_0x3da62a(0x35e)]();}[_0x2b2344(0xc5)](){var _0xcc2ec2=_0x2b2344;this[_0xcc2ec2(0x12f)](),this[_0xcc2ec2(0x25b)](this['_state'][_0xcc2ec2(0x18f)]()),this['_unlockTransition']();}[_0x2b2344(0x40d)](_0xb329c0=!0x1){var _0x58a59e=_0x2b2344;this[_0x58a59e(0x12f)](),this[_0x58a59e(0x25b)](this['_state'][_0x58a59e(0x3a6)]()),this[_0x58a59e(0x35e)]();const _0x5b1ba6=this[_0x58a59e(0x2f3)];_0xb329c0&&_0x5b1ba6 instanceof exports['SyncedState']&&(this['_lockTransition'](),this['_updateState'](_0x5b1ba6[_0x58a59e(0x179)]()),this[_0x58a59e(0x35e)]());}async[_0x2b2344(0x156)](){return new Promise(_0x190b55=>{var _0x571527=_0x2def;this[_0x571527(0x383)]['sessionStatus$']['pipe'](H[_0x571527(0x3ef)](0x1))['subscribe'](async _0x1d8c72=>{var _0x478f90=_0x571527;_0x190b55(await this[_0x478f90(0x1f7)](_0x1d8c72===re['ONLINE']));});});}[_0x2b2344(0x12d)](){var _0xb22107=_0x2b2344;const _0x2076f3=this[_0xb22107(0xe5)];return{'onStateChange':(_0x5716a2,_0x48c534)=>{var _0x38443a=_0xb22107;if(_0x5716a2!==this[_0x38443a(0x2f3)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5716a2[_0x38443a(0x1f1)]+_0x38443a(0x2ef)+_0x48c534[_0x38443a(0x1f1)]+'\x0aCurrent:\x20'+this[_0x38443a(0x2f3)][_0x38443a(0x1f1)]);this['_updateState'](_0x48c534);},'onSendChangeset':_0x549d2b=>{var _0x58064b=_0xb22107;_0x549d2b['sid']||(_0x549d2b[_0x58064b(0x26f)]=this[_0x58064b(0x1cd)],_0x549d2b[_0x58064b(0x222)]=++this[_0x58064b(0x1fa)]);const _0x24e998={'eventID':p[_0x58064b(0x39e)][_0x58064b(0x221)],'data':{'unitID':_0x549d2b[_0x58064b(0xe5)],'unitType':this[_0x58064b(0x1d8)],'changeset':_0x549d2b,'memberID':this[_0x58064b(0x383)][_0x58064b(0x2d7)]()}};this[_0x58064b(0x383)][_0x58064b(0x1c1)](_0x24e998,this[_0x58064b(0xe5)]);},'onMissingChangesets':({from:_0x279cb9,to:_0x5dd577})=>{var _0x49f13e=_0xb22107;this[_0x49f13e(0x30c)]['debug'](_0x49f13e(0x255),_0x49f13e(0xd9)+_0x279cb9+_0x49f13e(0x2ae)+_0x5dd577);const _0x190139={'eventID':p[_0x49f13e(0x39e)][_0x49f13e(0x3af)],'data':{'unitID':_0x2076f3,'unitType':this[_0x49f13e(0x1d8)],'from':_0x279cb9,'to':_0x5dd577}};this['session'][_0x49f13e(0x1c1)](_0x190139,this[_0x49f13e(0xe5)]);}};}async[_0x2b2344(0x1f7)](_0xbbd8fa){var _0x42dcae=_0x2b2344,_0x899c62,_0x36b096,_0x41b215;const _0x458b85=await((_0x899c62=this[_0x42dcae(0x1a2)])==null?void 0x0:_0x899c62[_0x42dcae(0x109)](this[_0x42dcae(0xe5)])),_0x579727=(_0x36b096=_0x458b85==null?void 0x0:_0x458b85[_0x42dcae(0x3e6)])!=null?_0x36b096:[],_0x16ac7d=(_0x41b215=_0x458b85==null?void 0x0:_0x458b85[_0x42dcae(0x137)])!=null?_0x41b215:null,_0x9953b2=!!(_0x16ac7d!=null&&_0x16ac7d[_0x42dcae(0x26f)])&&!!(_0x16ac7d!=null&&_0x16ac7d[_0x42dcae(0x222)]);this[_0x42dcae(0x1cd)]=_0x9953b2?_0x16ac7d[_0x42dcae(0x26f)]:p['uuidv4'](),this[_0x42dcae(0x1fa)]=_0x9953b2?_0x16ac7d['reqId']:0x0;const _0x1be99e=this[_0x42dcae(0xe5)];try{this['_replayCachedMutations'](_0x16ac7d,_0x579727);}catch(_0x50a4cf){this[_0x42dcae(0x30c)]['error'](_0x50a4cf);}const _0x3c1262=this[_0x42dcae(0x12d)]();if(_0xbbd8fa){const _0x3edd75=gt(this[_0x42dcae(0x21b)],_0x1be99e,this['_type'],_0x16ac7d,_0x579727,_0x3c1262);return _0x3edd75 instanceof exports[_0x42dcae(0xe2)]?_0x3edd75['_schedule']():(_0x3edd75 instanceof exports[_0x42dcae(0x1f0)]||_0x3edd75 instanceof exports[_0x42dcae(0x27f)])&&_0x3edd75[_0x42dcae(0x3b8)](),_0x3edd75;}return this['_injector'][_0x42dcae(0x33f)](exports[_0x42dcae(0x153)],_0x1be99e,this[_0x42dcae(0x1d8)],_0x16ac7d,_0x579727,_0x3c1262);}['_replayCachedMutations'](_0x6fc056,_0x2547e5){var _0x5eb298=_0x2b2344,_0x3eec6f,_0x3489f2;const _0x4e359b=this[_0x5eb298(0x33e)]['interceptor'][_0x5eb298(0x13e)](this[_0x5eb298(0x33e)][_0x5eb298(0x1ae)][_0x5eb298(0x3ce)]()[_0x5eb298(0x203)]);(_0x3eec6f=_0x4e359b((_0x6fc056==null?void 0x0:_0x6fc056[_0x5eb298(0x3e6)])||[],null))==null||_0x3eec6f[_0x5eb298(0x2fa)](_0x2565ba=>this[_0x5eb298(0x33c)]['executeCommand'](_0x2565ba['id'],_0x2565ba['params'])),(_0x3489f2=_0x4e359b(_0x2547e5||[],null))==null||_0x3489f2[_0x5eb298(0x2fa)](_0x1b31ba=>this[_0x5eb298(0x33c)][_0x5eb298(0x243)](_0x1b31ba['id'],_0x1b31ba[_0x5eb298(0x236)]));}},exports['CollaborationEntity']=Fe([j(0x3,a[_0x2b2344(0x327)](a[_0x2b2344(0x32a)])),j(0x4,a[_0x2b2344(0x327)](p[_0x2b2344(0x388)])),j(0x5,a['Inject'](a[_0x2b2344(0x3ba)])),j(0x6,a[_0x2b2344(0x327)](p[_0x2b2344(0xc4)])),j(0x7,a[_0x2b2344(0x327)](ee)),j(0x8,a[_0x2b2344(0x118)]),j(0x9,a[_0x2b2344(0x2f1)]),j(0xa,a[_0x2b2344(0x2f7)]),j(0xb,a[_0x2b2344(0x123)](de)),j(0xc,a[_0x2b2344(0x123)](K))],exports[_0x2b2344(0x370)]),exports[_0x2b2344(0x16f)]=class extends exports[_0x2b2344(0x370)]{constructor(_0x310e3d,_0x356b9f,_0x3c80f2,_0x3bb2d0,_0x8293ed,_0x508a5a,_0xd473b4,_0x5e2b42,_0x1457c9,_0x36f8b5,_0x1b1a39,_0x2776c0,_0x39439c){var _0x46c38f=_0x2b2344;super(_0x310e3d,_0x3c80f2,_0x356b9f,_0x3bb2d0,_0x8293ed,_0x508a5a,_0xd473b4,_0x5e2b42,_0x1457c9,_0x36f8b5,_0x1b1a39,_0x2776c0,_0x39439c),A(this,_0x46c38f(0x379),null),(this[_0x46c38f(0xe5)]=_0x310e3d,this[_0x46c38f(0x1bd)]=_0x356b9f);}[_0x2b2344(0x425)](_0x4b126e){var _0x208ba7=_0x2b2344;this[_0x208ba7(0x379)]=_0x4b126e;}['dispose'](){var _0x38fe09=_0x2b2344;this['_handlerCallback']=null,super[_0x38fe09(0x40f)]();}[_0x2b2344(0x12d)](){var _0x39ac8c=_0x2b2344;const _0x3fad60=super['_createHandler']();return _0x3fad60[_0x39ac8c(0x2a3)]=_0x352535=>{var _0x1d23c0=_0x39ac8c,_0x512e80,_0x208e5a;return(_0x208e5a=(_0x512e80=this['_handlerCallback'])==null?void 0x0:_0x512e80[_0x1d23c0(0x2a3)])==null?void 0x0:_0x208e5a[_0x1d23c0(0x1fb)](_0x512e80,_0x352535);},_0x3fad60[_0x39ac8c(0x404)]=_0x9e773f=>{var _0x7a33e9=_0x39ac8c,_0x443106,_0x431e6c;return(_0x431e6c=(_0x443106=this[_0x7a33e9(0x379)])==null?void 0x0:_0x443106['onTransformState'])==null?void 0x0:_0x431e6c['call'](_0x443106,_0x9e773f);},_0x3fad60[_0x39ac8c(0x201)]=_0x2f3a97=>{var _0x4d5f7c=_0x39ac8c,_0x3cec5b,_0x4ddab8;return(_0x4ddab8=(_0x3cec5b=this[_0x4d5f7c(0x379)])==null?void 0x0:_0x3cec5b[_0x4d5f7c(0x201)])==null?void 0x0:_0x4ddab8[_0x4d5f7c(0x1fb)](_0x3cec5b,_0x2f3a97);},_0x3fad60['onSyncEditingCollabCursor']=_0x636f6b=>{var _0x534334=_0x39ac8c,_0x5b2c25,_0x4c2d93;return(_0x4c2d93=(_0x5b2c25=this['_handlerCallback'])==null?void 0x0:_0x5b2c25[_0x534334(0x1b4)])==null?void 0x0:_0x4c2d93[_0x534334(0x1fb)](_0x5b2c25,_0x636f6b);},_0x3fad60[_0x39ac8c(0x1a4)]=_0x576aba=>{var _0x3e39aa=_0x39ac8c,_0x5932d6,_0x12d4c5,_0x1e8918;if(!((_0x5932d6=this[_0x3e39aa(0x379)])!=null&&_0x5932d6[_0x3e39aa(0x1a4)]))throw new Error(_0x3e39aa(0x3cd));return(_0x1e8918=(_0x12d4c5=this[_0x3e39aa(0x379)])==null?void 0x0:_0x12d4c5[_0x3e39aa(0x1a4)])==null?void 0x0:_0x1e8918['call'](_0x12d4c5,_0x576aba);},_0x3fad60[_0x39ac8c(0x275)]=_0x52a15b=>{var _0x1e6f93=_0x39ac8c,_0xfb7909,_0x2048db,_0x1a9f91;if(!((_0xfb7909=this[_0x1e6f93(0x379)])!=null&&_0xfb7909[_0x1e6f93(0x275)]))throw new Error(_0x1e6f93(0x108));return(_0x1a9f91=(_0x2048db=this[_0x1e6f93(0x379)])==null?void 0x0:_0x2048db[_0x1e6f93(0x275)])==null?void 0x0:_0x1a9f91[_0x1e6f93(0x1fb)](_0x2048db,_0x52a15b);},_0x3fad60;}async[_0x2b2344(0x250)](){var _0xa45ed1=_0x2b2344;const _0x12dbee=await super['_init']();return this[_0xa45ed1(0x394)](this[_0xa45ed1(0x33c)][_0xa45ed1(0x187)]((_0x5e33da,_0x1691af)=>{var _0xaf7b57=_0xa45ed1;if(_0x5e33da[_0xaf7b57(0x1bd)]!==a[_0xaf7b57(0x25f)][_0xaf7b57(0xd6)]||_0x1691af!=null&&_0x1691af[_0xaf7b57(0x15a)]||_0x1691af!=null&&_0x1691af[_0xaf7b57(0x21c)]||_0x5e33da['id']===ct[_0xaf7b57(0x342)]['id'])return;const _0x5299e0=_0x5e33da[_0xaf7b57(0x236)];if((_0x5299e0==null?void 0x0:_0x5299e0['unitId'])!==this[_0xaf7b57(0xe5)])return;const _0x250d0f=_0x5e33da,_0x270019=this[_0xaf7b57(0x33e)][_0xaf7b57(0x1ae)][_0xaf7b57(0x13e)](this[_0xaf7b57(0x33e)][_0xaf7b57(0x1ae)]['getInterceptPoints']()[_0xaf7b57(0xc0)])([_0x250d0f],null)||[_0x250d0f];this[_0xaf7b57(0x146)](_0x270019[0x0]);})),_0x12dbee;}},exports[_0x2b2344(0x16f)]=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0x2b2344(0x327)](p[_0x2b2344(0x388)])),j(0x5,a[_0x2b2344(0x327)](a[_0x2b2344(0x3ba)])),j(0x6,a[_0x2b2344(0x327)](p[_0x2b2344(0xc4)])),j(0x7,a[_0x2b2344(0x327)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x2b2344(0x2f1)]),j(0xa,a[_0x2b2344(0x2f7)]),j(0xb,a[_0x2b2344(0x123)](de)),j(0xc,a[_0x2b2344(0x123)](K))],exports['DocCollaborationEntity']),exports[_0x2b2344(0x16b)]=class extends exports[_0x2b2344(0x370)]{constructor(_0x128cda,_0x1f0d64,_0x27c439,_0x34fa3e,_0x3bf619,_0x451479,_0x40504a,_0x46af31,_0x17a957,_0x232b99,_0x8f2370,_0x2e2ef5,_0x14b82f,_0x1389e9){var _0x45e691=_0x2b2344;super(_0x128cda,_0x27c439,_0x1f0d64,_0x34fa3e,_0x3bf619,_0x451479,_0x40504a,_0x17a957,_0x232b99,_0x8f2370,_0x2e2ef5,_0x14b82f,_0x1389e9),this[_0x45e691(0xe5)]=_0x128cda,this[_0x45e691(0x1bd)]=_0x1f0d64,this[_0x45e691(0x3c9)]=_0x46af31;}['_createHandler'](){var _0x7d2358=_0x2b2344;const _0x18e3f8=super[_0x7d2358(0x12d)]();return _0x18e3f8[_0x7d2358(0x201)]=_0x23128f=>this[_0x7d2358(0x3c9)][_0x7d2358(0x3f7)](_0x23128f),_0x18e3f8;}async[_0x2b2344(0x250)](){var _0x406f46=_0x2b2344;const _0x494e6f=await super[_0x406f46(0x250)]();return this['disposeWithMe'](this[_0x406f46(0x33c)][_0x406f46(0x187)]((_0x9e9735,_0x2f9225)=>{var _0x178027=_0x406f46;if(_0x9e9735[_0x178027(0x1bd)]!==a[_0x178027(0x25f)]['MUTATION']||_0x2f9225!=null&&_0x2f9225[_0x178027(0x15a)]||_0x2f9225!=null&&_0x2f9225['onlyLocal'])return;const _0x307290=_0x9e9735[_0x178027(0x236)];if((_0x307290==null?void 0x0:_0x307290[_0x178027(0x37a)])!==this[_0x178027(0xe5)])return;const _0xffac7e=_0x9e9735,_0x5ce306=this[_0x178027(0x33e)][_0x178027(0x1ae)][_0x178027(0x13e)](this[_0x178027(0x33e)]['interceptor'][_0x178027(0x3ce)]()['COMPRESS_MUTATION_SEND'])([_0xffac7e],null)||[_0xffac7e];this['_onLocalMutation'](_0x5ce306[0x0]);})),_0x494e6f;}},exports[_0x2b2344(0x16b)]=Fe([j(0x3,a[_0x2b2344(0x327)](a[_0x2b2344(0x32a)])),j(0x4,a[_0x2b2344(0x327)](p[_0x2b2344(0x388)])),j(0x5,a[_0x2b2344(0x327)](a[_0x2b2344(0x3ba)])),j(0x6,a[_0x2b2344(0x327)](p[_0x2b2344(0xc4)])),j(0x7,a['Inject'](exports[_0x2b2344(0x1f5)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x2b2344(0x118)]),j(0xa,a['ICommandService']),j(0xb,a[_0x2b2344(0x2f7)]),j(0xc,a[_0x2b2344(0x123)](de)),j(0xd,a['Optional'](K))],exports[_0x2b2344(0x16b)]);var hi=Object[_0x2b2344(0x173)],_i=(_0x5e7324,_0x15fd82,_0x4ee84b,_0x3beb56)=>{var _0x334754=_0x2b2344;for(var _0x5b511a=_0x3beb56>0x1?void 0x0:_0x3beb56?hi(_0x15fd82,_0x4ee84b):_0x15fd82,_0x2192f0=_0x5e7324[_0x334754(0xe4)]-0x1,_0x9cf03d;_0x2192f0>=0x0;_0x2192f0--)(_0x9cf03d=_0x5e7324[_0x2192f0])&&(_0x5b511a=_0x9cf03d(_0x5b511a)||_0x5b511a);return _0x5b511a;},Se=(_0x57c44e,_0x2308b8)=>(_0x32735e,_0x2f4101)=>_0x2308b8(_0x32735e,_0x2f4101,_0x57c44e);exports[_0x2b2344(0xf5)]=class extends a[_0x2b2344(0x2e9)]{constructor(_0x22a2ea,_0x313143,_0x4e9c89,_0xc4cb1a){var _0xeb650c=_0x2b2344,_0x42ce79;super(),A(this,'_entities',new Map()),A(this,_0xeb650c(0x1e5),new H[(_0xeb650c(0x3e3))]()),A(this,'entityInit$',this[_0xeb650c(0x1e5)][_0xeb650c(0x210)]()),(this['_injector']=_0x22a2ea,this[_0xeb650c(0x18c)]=_0x313143,this['_configService']=_0x4e9c89,this[_0xeb650c(0x3fe)]=_0xc4cb1a,((_0x42ce79=this[_0xeb650c(0xf4)][_0xeb650c(0x36b)](Y))==null?void 0x0:_0x42ce79[_0xeb650c(0x2ee)])!==!0x1&&this[_0xeb650c(0x250)]());}[_0x2b2344(0x40f)](){var _0x1e1044=_0x2b2344;super['dispose'](),this[_0x1e1044(0x2c8)][_0x1e1044(0x2fa)](_0x19892a=>_0x19892a[_0x1e1044(0x40f)]()),this[_0x1e1044(0x2c8)][_0x1e1044(0x121)]();}['getCollabEntity'](_0x4dc308){var _0x1ea1df=_0x2b2344,_0x1760f4;return(_0x1760f4=this[_0x1ea1df(0x2c8)]['get'](_0x4dc308))!=null?_0x1760f4:null;}[_0x2b2344(0x2e6)](_0x2e0d2e){var _0x17b104=_0x2b2344;const _0x41025e=this[_0x17b104(0x3ed)](_0x2e0d2e);return _0x41025e?H['of'](_0x41025e):this[_0x17b104(0x1e5)][_0x17b104(0x352)](V[_0x17b104(0x3f6)](_0x3355d3=>_0x3355d3[_0x17b104(0xe5)]===_0x2e0d2e));}[_0x2b2344(0x2b9)](_0x358caf){var _0x3f6a0b=_0x2b2344;return H[_0x3f6a0b(0x359)](this['getCollabEntity$'](_0x358caf)['pipe'](V[_0x3f6a0b(0x218)](()=>{})));}[_0x2b2344(0x250)](){var _0x3a8499=_0x2b2344;this[_0x3a8499(0x3fe)][_0x3a8499(0x155)](a['UniverInstanceType'][_0x3a8499(0x10d)])[_0x3a8499(0x352)](H['takeUntil'](this[_0x3a8499(0x2b1)]),V[_0x3a8499(0x10c)](0x10))[_0x3a8499(0x273)](async _0x39b00c=>{var _0xc866b5=_0x3a8499;const _0x797309=_0x39b00c['getUnitId'](),_0x51b790=await this[_0xc866b5(0x1de)](_0x797309,J[_0xc866b5(0x10d)]);this[_0xc866b5(0x2c8)][_0xc866b5(0x1e9)](_0x797309,_0x51b790);}),this[_0x3a8499(0x3fe)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x3a8499(0xb3)])[_0x3a8499(0x352)](H[_0x3a8499(0x13d)](this[_0x3a8499(0x2b1)]),V[_0x3a8499(0x10c)](0x10))['pipe'](V[_0x3a8499(0x3f6)](_0x3244bc=>!_0x3244bc[_0x3a8499(0x393)]()[_0x3a8499(0xda)]('__')))[_0x3a8499(0x273)](async _0x27f7a5=>{var _0x45008c=_0x3a8499;const _0x2f5f4e=_0x27f7a5['getUnitId'](),_0x59bf53=await this['_startCollaboration'](_0x2f5f4e,J[_0x45008c(0xb3)]);this[_0x45008c(0x2c8)][_0x45008c(0x1e9)](_0x2f5f4e,_0x59bf53);}),H[_0x3a8499(0x14d)](this[_0x3a8499(0x3fe)][_0x3a8499(0x2fe)](a[_0x3a8499(0x345)]['UNIVER_SHEET']),this[_0x3a8499(0x3fe)][_0x3a8499(0x2fe)](a[_0x3a8499(0x345)]['UNIVER_DOC']))['pipe'](H[_0x3a8499(0x13d)](this[_0x3a8499(0x2b1)]))[_0x3a8499(0x273)](_0x13c736=>{var _0x28908a=_0x3a8499;const _0x20fa35=_0x13c736[_0x28908a(0x393)](),_0x27fd1d=this['_entities']['get'](_0x20fa35);_0x27fd1d&&(_0x27fd1d['dispose'](),this['_entities'][_0x28908a(0x26e)](_0x20fa35));});}async[_0x2b2344(0x1de)](_0x126bb6,_0xe21da7){var _0x214c6a=_0x2b2344;const _0x1da9af=await this[_0x214c6a(0x18c)][_0x214c6a(0x197)](_0x126bb6),_0x45ed7e=this[_0x214c6a(0x21b)]['createInstance'](this[_0x214c6a(0x390)](_0xe21da7),_0x126bb6,_0xe21da7,_0x1da9af);return await _0x45ed7e[_0x214c6a(0xfa)](),this['_entityInit$']['next'](_0x45ed7e),_0x45ed7e;}[_0x2b2344(0x390)](_0x12f339){var _0x28706b=_0x2b2344;switch(_0x12f339){case J[_0x28706b(0xb3)]:return exports[_0x28706b(0x16f)];case J[_0x28706b(0x10d)]:return exports[_0x28706b(0x16b)];default:throw new Error(_0x28706b(0x346)+_0x12f339);}}},exports[_0x2b2344(0xf5)]=_i([Se(0x0,a[_0x2b2344(0x327)](a['Injector'])),Se(0x1,a[_0x2b2344(0x327)](exports[_0x2b2344(0x3c7)])),Se(0x2,a['IConfigService']),Se(0x3,a['IUniverInstanceService'])],exports[_0x2b2344(0xf5)]);var li=Object[_0x2b2344(0x173)],ui=(_0x2144a9,_0x1eb0d5,_0x46ef43,_0x24e6f6)=>{var _0x1ce549=_0x2b2344;for(var _0x14e5c1=_0x24e6f6>0x1?void 0x0:_0x24e6f6?li(_0x1eb0d5,_0x46ef43):_0x1eb0d5,_0xadb81b=_0x2144a9[_0x1ce549(0xe4)]-0x1,_0x2b2461;_0xadb81b>=0x0;_0xadb81b--)(_0x2b2461=_0x2144a9[_0xadb81b])&&(_0x14e5c1=_0x2b2461(_0x14e5c1)||_0x14e5c1);return _0x14e5c1;},Ye=(_0x155b74,_0x322d0f)=>(_0x59d7f3,_0x22fc57)=>_0x322d0f(_0x59d7f3,_0x22fc57,_0x155b74);const di=_0x2b2344(0x196),vi='Univer';let xe=class extends a['Disposable']{constructor(_0x22394f,_0xda75fa){var _0x3b0bbd=_0x2b2344;super(),this[_0x3b0bbd(0x3fe)]=_0x22394f,this['_configService']=_0xda75fa,this['_init']();}[_0x2b2344(0x250)](){var _0x4eaa5e=_0x2b2344;this[_0x4eaa5e(0x394)](this[_0x4eaa5e(0x3fe)][_0x4eaa5e(0x3df)][_0x4eaa5e(0x273)](()=>{var _0x372195=_0x4eaa5e,_0x43e080;const _0x370143=this[_0x372195(0x3fe)][_0x372195(0x3fb)]();let _0x377e71=(_0x43e080=this[_0x372195(0xf4)][_0x372195(0x36b)](di))!=null?_0x43e080:vi;_0x370143 instanceof a['Workbook']&&(_0x377e71=_0x370143[_0x372195(0x343)]),document[_0x372195(0x2d9)]=_0x377e71;}));}};xe=ui([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x2b2344(0x24c)])],xe);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x50a61c,_0x3c77c1,_0x1bb7d3,_0x11f765)=>{var _0x11d7f1=_0x2b2344;for(var _0x3f3355=_0x11f765>0x1?void 0x0:_0x11f765?Si(_0x3c77c1,_0x1bb7d3):_0x3c77c1,_0x32642f=_0x50a61c[_0x11d7f1(0xe4)]-0x1,_0x3dc98b;_0x32642f>=0x0;_0x32642f--)(_0x3dc98b=_0x50a61c[_0x32642f])&&(_0x3f3355=_0x3dc98b(_0x3f3355)||_0x3f3355);return _0x3f3355;},Ae=(_0x3aab3d,_0x3e6dc7)=>(_0x238bcf,_0x597815)=>_0x3e6dc7(_0x238bcf,_0x597815,_0x3aab3d);let ye=class{constructor(_0x53093f,_0x59927a,_0x231c7d){var _0x2c1843=_0x2b2344;this[_0x2c1843(0xf4)]=_0x53093f,this[_0x2c1843(0x14b)]=_0x59927a,this[_0x2c1843(0x1c5)]=_0x231c7d,this[_0x2c1843(0xfa)]();}[_0x2b2344(0xfa)](){var _0x18ba6f=_0x2b2344;this['_httpService'][_0x18ba6f(0x377)]({'priority':0x1,'interceptor':(_0x5937dd,_0x5f0c0e)=>_0x5f0c0e(_0x5937dd)[_0x18ba6f(0x352)](H['concatMap'](async _0x31d3e4=>{var _0x14292c=_0x18ba6f;const _0x4ae44f=_0x31d3e4;if(_0x4ae44f[_0x14292c(0x1f1)]===0x191){if(typeof window>'u')throw new Error(_0x14292c(0x2f2));if(window[_0x14292c(0x41b)](this[_0x14292c(0x1c5)]['t'](_0x14292c(0x38a)))){const _0x36f098=window[_0x14292c(0x296)](window[_0x14292c(0x3aa)][_0x14292c(0x32d)]);window['location'][_0x14292c(0x32d)]=this[_0x14292c(0x325)]()+_0x14292c(0x2ab)+_0x36f098;}}return _0x4ae44f;}))});}[_0x2b2344(0x325)](){var _0x3f6e1c=_0x2b2344,_0x1f4f6b;const _0x13e5ee=this[_0x3f6e1c(0xf4)]['getConfig'](Y);return(_0x1f4f6b=_0x13e5ee==null?void 0x0:_0x13e5ee[_0x3f6e1c(0x28a)])!=null?_0x1f4f6b:$t;}};ye=fi([Ae(0x0,a[_0x2b2344(0x24c)]),Ae(0x1,a[_0x2b2344(0x327)](q[_0x2b2344(0x1ea)])),Ae(0x2,a[_0x2b2344(0x327)](a[_0x2b2344(0x3ba)]))],ye);var Ii=Object[_0x2b2344(0x173)],pi=(_0x32e0d4,_0x12342f,_0x9f594,_0x28c03a)=>{for(var _0x4ce301=_0x28c03a>0x1?void 0x0:_0x28c03a?Ii(_0x12342f,_0x9f594):_0x12342f,_0xcac29c=_0x32e0d4['length']-0x1,_0x4a6ce8;_0xcac29c>=0x0;_0xcac29c--)(_0x4a6ce8=_0x32e0d4[_0xcac29c])&&(_0x4ce301=_0x4a6ce8(_0x4ce301)||_0x4ce301);return _0x4ce301;},qe=(_0x2555fc,_0x2acd31)=>(_0x11ecdd,_0x5e6512)=>_0x2acd31(_0x11ecdd,_0x5e6512,_0x2555fc);const mi=_0x2b2344(0x25c);exports['AuthzIoHttpService']=class extends a[_0x2b2344(0x157)]{constructor(_0x460a4f,_0x4114cb){var _0xb037b8=_0x2b2344;super(),this[_0xb037b8(0x116)]=_0x460a4f,this[_0xb037b8(0xf4)]=_0x4114cb,this[_0xb037b8(0x2fc)]();}[_0x2b2344(0x2fc)](){var _0x5e6ce1=_0x2b2344;const _0x2e2b5a=this;this[_0x5e6ce1(0x394)](this[_0x5e6ce1(0x116)][_0x5e6ce1(0x377)]({'priority':0x3e7,'interceptor':q[_0x5e6ce1(0x39c)]({'isMatch'(_0x1f600b){var _0x32097c=_0x5e6ce1,_0x3683f2;if(_0x1f600b[_0x32097c(0x172)]===_0x32097c(0x1e4)&&((_0x3683f2=_0x1f600b[_0x32097c(0x391)])!=null&&_0x3683f2['body'])){const {objectID:_0x84ce98,objectType:_0x534881}=_0x1f600b[_0x32097c(0x391)][_0x32097c(0x161)]||{};if(!_0x84ce98||_0x534881===void 0x0)return!0x1;const _0x226355=_0x2e2b5a[_0x32097c(0x338)]()+'/'+_0x534881+_0x32097c(0x26c)+_0x84ce98+_0x32097c(0x103);if(_0x1f600b[_0x32097c(0x2bf)]===_0x226355)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3be969){var _0x3df825=_0x5e6ce1,_0x52d6f2;return(_0x52d6f2=_0x3be969[_0x3df825(0x391)])==null?void 0x0:_0x52d6f2[_0x3df825(0x161)];},'mergeParamsToRequest'(_0x2d82ec,_0x585fd9){var _0xe55582=_0x5e6ce1;const _0x22ae1b=_0x2e2b5a[_0xe55582(0x338)]()+'/-/object/-/batch_allowed',_0x4e8da1=_0x2d82ec[_0xe55582(0x207)]((_0x6c4d91,_0x36c4f0)=>{var _0x51a23e=_0xe55582;const {unitID:_0x2bbfac,objectID:_0x338c33,objectType:_0x55faed,actions:_0x31fdd4}=_0x36c4f0;return _0x6c4d91[_0x2bbfac]||(_0x6c4d91[_0x2bbfac]={}),_0x6c4d91[_0x2bbfac][_0x338c33]||(_0x6c4d91[_0x2bbfac][_0x338c33]={'objectID':_0x338c33,'objectType':_0x55faed,'actions':[]}),_0x6c4d91[_0x2bbfac][_0x338c33][_0x51a23e(0x1be)]['push'](..._0x31fdd4),_0x6c4d91;},{}),_0x4c2827=[];for(const _0x17d442 in _0x4e8da1)for(const _0x5ab90c in _0x4e8da1[_0x17d442]){const {actions:_0x594a9c,objectType:_0x530b81}=_0x4e8da1[_0x17d442][_0x5ab90c],_0x20449c=[...new Set(_0x594a9c)];_0x4c2827[_0xe55582(0x134)]({'unitID':_0x17d442,'objectID':_0x5ab90c,'objectType':_0x530b81,'actions':_0x20449c});}return new q[(_0xe55582(0x27e))](_0xe55582(0x1e4),_0x22ae1b,{'headers':_0x585fd9[_0xe55582(0x376)],'withCredentials':_0x585fd9[_0xe55582(0x10e)],'responseType':_0x585fd9['responseType'],'body':{'requests':_0x4c2827}});}},{'distributeResult'(_0x3f4734,_0x5dc461){var _0x385bd1=_0x5e6ce1;const {objectActions:_0x11411a}=_0x3f4734;return _0x5dc461[_0x385bd1(0x218)](_0x474718=>{var _0x19f466=_0x385bd1;const {unitID:_0x4def0b,objectID:_0x48dccc,actions:_0x39f8bc}=_0x474718,_0x13365d=_0x11411a[_0x19f466(0x10f)](_0x1f3473=>_0x1f3473[_0x19f466(0xe5)]===_0x4def0b&&_0x1f3473[_0x19f466(0x307)]===_0x48dccc),_0x42d76b=_0x39f8bc[_0x19f466(0x218)](_0x4678cc=>_0x13365d==null?void 0x0:_0x13365d[_0x19f466(0x1be)][_0x19f466(0x10f)](_0x2e3a91=>_0x2e3a91[_0x19f466(0x185)]===_0x4678cc))[_0x19f466(0x3f6)](_0x2175ec=>!!_0x2175ec);return{'config':_0x474718,'result':{'actions':_0x42d76b,'error':_0x3f4734['error']}};});}})}));}[_0x2b2344(0x338)](){var _0x486279=_0x2b2344,_0x1ab5c4;const _0x49ec87=this['_configService']['getConfig'](Y);return(_0x1ab5c4=_0x49ec87==null?void 0x0:_0x49ec87[_0x486279(0xde)])!=null?_0x1ab5c4:mi;}async[_0x2b2344(0x3f1)](_0x53f149){var _0x4fbe1a=_0x2b2344;const _0x38d239=this['_getAPIPrefixPath']()+'/'+_0x53f149[_0x4fbe1a(0x382)]+'/object';return(await this[_0x4fbe1a(0x116)]['post'](_0x38d239,{'body':_0x53f149}))[_0x4fbe1a(0x161)][_0x4fbe1a(0x307)]||'';}async['list'](_0x19a2a9){var _0x758389=_0x2b2344;const _0x151067=this['_getAPIPrefixPath']()+_0x758389(0xcb);return(await this[_0x758389(0x116)]['post'](_0x151067,{'body':_0x19a2a9}))[_0x758389(0x161)][_0x758389(0x1ed)];}async[_0x2b2344(0x417)](_0x40cd2f){var _0x3e83d6=_0x2b2344,_0x126213,_0x5bd5a3;const _0x23b54e=this[_0x3e83d6(0x338)]()+'/'+_0x40cd2f[_0x3e83d6(0x382)]+_0x3e83d6(0x26c)+_0x40cd2f['objectID'],_0x4b27ff=await this['_HTTPService'][_0x3e83d6(0x171)](_0x23b54e,{'body':_0x40cd2f});if(((_0x5bd5a3=(_0x126213=_0x4b27ff==null?void 0x0:_0x4b27ff[_0x3e83d6(0x161)])==null?void 0x0:_0x126213['error'])==null?void 0x0:_0x5bd5a3['code'])!==0x1)throw new Error(_0x3e83d6(0x199));}async[_0x2b2344(0x372)](_0x140447){var _0x234d61=_0x2b2344;const _0x1452db=this['_getAPIPrefixPath']()+'/'+_0x140447[_0x234d61(0x382)]+_0x234d61(0x26c)+_0x140447[_0x234d61(0x307)]+'/allowed';return(await this[_0x234d61(0x116)]['post'](_0x1452db,{'body':_0x140447}))['body'][_0x234d61(0x1be)];}async[_0x2b2344(0x1a3)](_0x372a33){var _0xcc0e97=_0x2b2344;const _0x17c7a1=this['_getAPIPrefixPath']()+_0xcc0e97(0x3f5);return(await this['_HTTPService'][_0xcc0e97(0x19c)](_0x17c7a1,{'body':{'requests':_0x372a33}}))[_0xcc0e97(0x161)][_0xcc0e97(0x21f)];}async[_0x2b2344(0x128)](_0x6b7caa){var _0x25f7fd=_0x2b2344;const _0x3c2a3c=this['_getAPIPrefixPath']()+'/'+_0x6b7caa[_0x25f7fd(0x382)]+_0x25f7fd(0x2f5),_0x5598d0=await this[_0x25f7fd(0x116)][_0x25f7fd(0x19c)](_0x3c2a3c,{'body':_0x6b7caa});return{'roles':_0x5598d0[_0x25f7fd(0x161)]['roles'],'actions':_0x5598d0[_0x25f7fd(0x161)][_0x25f7fd(0x1be)]};}async['deleteCollaborator'](_0x153577){var _0x26b794=_0x2b2344;const _0x3601af=this[_0x26b794(0x338)]()+_0x26b794(0xaf);await this[_0x26b794(0x116)][_0x26b794(0x26e)](_0x3601af,{'params':{'collaboratorID':_0x153577[_0x26b794(0x213)],'objectID':_0x153577['objectID'],'unitID':_0x153577[_0x26b794(0xe5)]}});}async['updateCollaborator'](_0x41308f){var _0x31a60c=_0x2b2344;const _0x1930d3=this[_0x31a60c(0x338)]()+_0x31a60c(0xaf);await this['_HTTPService'][_0x31a60c(0x410)](_0x1930d3,{'body':_0x41308f});}async[_0x2b2344(0x35a)](_0x253a03){const _0x33c415=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['post'](_0x33c415,{'body':_0x253a03});}async[_0x2b2344(0x355)](_0x55a0c9){var _0x4998b7=_0x2b2344;const _0x576b3e=this['_getAPIPrefixPath']()+_0x4998b7(0xaf);return(await this[_0x4998b7(0x116)][_0x4998b7(0x2f6)](_0x576b3e,{'params':{'objectID':_0x55a0c9[_0x4998b7(0x307)],'unitID':_0x55a0c9['unitID']}}))[_0x4998b7(0x161)][_0x4998b7(0x21a)];}async['putCollaborators'](_0x5d934e){var _0x334799=_0x2b2344;const _0x129f48=this[_0x334799(0x338)]()+_0x334799(0xaf);await this[_0x334799(0x116)]['put'](_0x129f48,{'body':_0x5d934e});}},exports[_0x2b2344(0x2d3)]=pi([qe(0x0,a['Inject'](q[_0x2b2344(0x1ea)])),qe(0x1,a['Inject'](a[_0x2b2344(0x24c)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x2fb040){var _0x10c51f=_0x2b2344;return _0x2fb040&&_0x2fb040[_0x10c51f(0xcf)]&&Object[_0x10c51f(0x265)][_0x10c51f(0x264)][_0x10c51f(0x1fb)](_0x2fb040,'default')?_0x2fb040[_0x10c51f(0x2a5)]:_0x2fb040;}var fe={'exports':{}};function gi(_0x1eebd6){var _0x4ebcad=_0x2b2344;throw new Error(_0x4ebcad(0x114)+_0x1eebd6+_0x4ebcad(0x1e1));}var Ie={'exports':{}},Ei=Ie['exports'],Ke;function Q(){var _0x819457=_0x2b2344;return Ke||(Ke=0x1,function(_0xdbf3da,_0x508866){(function(_0x3d6119,_0x2a267e){var _0x25cddc=_0x2def;_0xdbf3da[_0x25cddc(0x1b9)]=_0x2a267e();}(Ei,function(){var _0x1ee081=_0x1ee081||function(_0x17c2c3,_0x2c258a){var _0x36979b=_0x2def,_0x438b35;if(typeof window<'u'&&window['crypto']&&(_0x438b35=window['crypto']),typeof self<'u'&&self[_0x36979b(0x294)]&&(_0x438b35=self[_0x36979b(0x294)]),typeof globalThis<'u'&&globalThis[_0x36979b(0x294)]&&(_0x438b35=globalThis[_0x36979b(0x294)]),!_0x438b35&&typeof window<'u'&&window[_0x36979b(0x20d)]&&(_0x438b35=window['msCrypto']),!_0x438b35&&typeof Pe<'u'&&Pe['crypto']&&(_0x438b35=Pe[_0x36979b(0x294)]),!_0x438b35&&typeof gi=='function')try{_0x438b35=require('crypto');}catch{}var _0xb49167=function(){var _0x4d5f20=_0x36979b;if(_0x438b35){if(typeof _0x438b35[_0x4d5f20(0x3a8)]=='function')try{return _0x438b35[_0x4d5f20(0x3a8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x438b35[_0x4d5f20(0x2fb)]==_0x4d5f20(0x122))try{return _0x438b35[_0x4d5f20(0x2fb)](0x4)[_0x4d5f20(0x364)]();}catch{}}throw new Error(_0x4d5f20(0x2e1));},_0x1fef8d=Object[_0x36979b(0x3f1)]||(function(){function _0x1f9640(){}return function(_0x55fbcc){var _0x471cbd=_0x2def,_0x5bb21b;return _0x1f9640['prototype']=_0x55fbcc,_0x5bb21b=new _0x1f9640(),_0x1f9640[_0x471cbd(0x265)]=null,_0x5bb21b;};}()),_0x3953fe={},_0x1f11b3=_0x3953fe[_0x36979b(0x11e)]={},_0x349894=_0x1f11b3[_0x36979b(0x140)]=(function(){return{'extend':function(_0x3048dc){var _0xa858a7=_0x2def,_0x1f7c2d=_0x1fef8d(this);return _0x3048dc&&_0x1f7c2d[_0xa858a7(0x35d)](_0x3048dc),(!_0x1f7c2d[_0xa858a7(0x264)]('init')||this['init']===_0x1f7c2d[_0xa858a7(0xfa)])&&(_0x1f7c2d[_0xa858a7(0xfa)]=function(){var _0x388d6c=_0xa858a7;_0x1f7c2d[_0x388d6c(0x145)][_0x388d6c(0xfa)]['apply'](this,arguments);}),_0x1f7c2d[_0xa858a7(0xfa)]['prototype']=_0x1f7c2d,_0x1f7c2d[_0xa858a7(0x145)]=this,_0x1f7c2d;},'create':function(){var _0x5a38bc=_0x2def,_0x8b88c7=this[_0x5a38bc(0x1df)]();return _0x8b88c7['init']['apply'](_0x8b88c7,arguments),_0x8b88c7;},'init':function(){},'mixIn':function(_0xba1c7a){var _0x57e165=_0x2def;for(var _0x178832 in _0xba1c7a)_0xba1c7a[_0x57e165(0x264)](_0x178832)&&(this[_0x178832]=_0xba1c7a[_0x178832]);_0xba1c7a[_0x57e165(0x264)]('toString')&&(this[_0x57e165(0x1d2)]=_0xba1c7a[_0x57e165(0x1d2)]);},'clone':function(){var _0x47aaa8=_0x2def;return this[_0x47aaa8(0xfa)][_0x47aaa8(0x265)][_0x47aaa8(0x1df)](this);}};}()),_0x18a87c=_0x1f11b3['WordArray']=_0x349894[_0x36979b(0x1df)]({'init':function(_0x19bd52,_0xa2acda){var _0x37564b=_0x36979b;_0x19bd52=this['words']=_0x19bd52||[],_0xa2acda!=_0x2c258a?this[_0x37564b(0xab)]=_0xa2acda:this[_0x37564b(0xab)]=_0x19bd52[_0x37564b(0xe4)]*0x4;},'toString':function(_0x137b3d){var _0x23c9f0=_0x36979b;return(_0x137b3d||_0x282272)[_0x23c9f0(0xba)](this);},'concat':function(_0x1e40c6){var _0x16c657=_0x36979b,_0x4b77b8=this[_0x16c657(0x2b5)],_0x1bf26f=_0x1e40c6['words'],_0x23d111=this[_0x16c657(0xab)],_0x5ba667=_0x1e40c6[_0x16c657(0xab)];if(this['clamp'](),_0x23d111%0x4)for(var _0x1b17e0=0x0;_0x1b17e0<_0x5ba667;_0x1b17e0++){var _0x21515b=_0x1bf26f[_0x1b17e0>>>0x2]>>>0x18-_0x1b17e0%0x4*0x8&0xff;_0x4b77b8[_0x23d111+_0x1b17e0>>>0x2]|=_0x21515b<<0x18-(_0x23d111+_0x1b17e0)%0x4*0x8;}else{for(var _0x271065=0x0;_0x271065<_0x5ba667;_0x271065+=0x4)_0x4b77b8[_0x23d111+_0x271065>>>0x2]=_0x1bf26f[_0x271065>>>0x2];}return this[_0x16c657(0xab)]+=_0x5ba667,this;},'clamp':function(){var _0x1acacb=_0x36979b,_0x570a37=this['words'],_0x3cb5e5=this[_0x1acacb(0xab)];_0x570a37[_0x3cb5e5>>>0x2]&=0xffffffff<<0x20-_0x3cb5e5%0x4*0x8,_0x570a37[_0x1acacb(0xe4)]=_0x17c2c3[_0x1acacb(0x130)](_0x3cb5e5/0x4);},'clone':function(){var _0x295d2a=_0x36979b,_0x1cd160=_0x349894['clone'][_0x295d2a(0x1fb)](this);return _0x1cd160[_0x295d2a(0x2b5)]=this[_0x295d2a(0x2b5)][_0x295d2a(0xee)](0x0),_0x1cd160;},'random':function(_0x26d857){var _0x291e64=_0x36979b;for(var _0x4bb75f=[],_0x50104a=0x0;_0x50104a<_0x26d857;_0x50104a+=0x4)_0x4bb75f['push'](_0xb49167());return new _0x18a87c[(_0x291e64(0xfa))](_0x4bb75f,_0x26d857);}}),_0x126cc6=_0x3953fe[_0x36979b(0xf1)]={},_0x282272=_0x126cc6['Hex']={'stringify':function(_0x49a668){var _0x5d7d3b=_0x36979b;for(var _0x43f6c9=_0x49a668[_0x5d7d3b(0x2b5)],_0x26200b=_0x49a668[_0x5d7d3b(0xab)],_0x17a440=[],_0x1ac3da=0x0;_0x1ac3da<_0x26200b;_0x1ac3da++){var _0x374994=_0x43f6c9[_0x1ac3da>>>0x2]>>>0x18-_0x1ac3da%0x4*0x8&0xff;_0x17a440[_0x5d7d3b(0x134)]((_0x374994>>>0x4)[_0x5d7d3b(0x1d2)](0x10)),_0x17a440[_0x5d7d3b(0x134)]((_0x374994&0xf)[_0x5d7d3b(0x1d2)](0x10));}return _0x17a440[_0x5d7d3b(0x1d7)]('');},'parse':function(_0x2457e1){var _0x1e1ce3=_0x36979b;for(var _0x4afea7=_0x2457e1[_0x1e1ce3(0xe4)],_0x1960ad=[],_0x21fba1=0x0;_0x21fba1<_0x4afea7;_0x21fba1+=0x2)_0x1960ad[_0x21fba1>>>0x3]|=parseInt(_0x2457e1['substr'](_0x21fba1,0x2),0x10)<<0x18-_0x21fba1%0x8*0x4;return new _0x18a87c[(_0x1e1ce3(0xfa))](_0x1960ad,_0x4afea7/0x2);}},_0x49494c=_0x126cc6[_0x36979b(0x411)]={'stringify':function(_0x408f4c){var _0x52b7c8=_0x36979b;for(var _0x124e5f=_0x408f4c[_0x52b7c8(0x2b5)],_0x2908e6=_0x408f4c[_0x52b7c8(0xab)],_0x51a77a=[],_0x34cb94=0x0;_0x34cb94<_0x2908e6;_0x34cb94++){var _0x2af507=_0x124e5f[_0x34cb94>>>0x2]>>>0x18-_0x34cb94%0x4*0x8&0xff;_0x51a77a[_0x52b7c8(0x134)](String[_0x52b7c8(0x29f)](_0x2af507));}return _0x51a77a[_0x52b7c8(0x1d7)]('');},'parse':function(_0x28d64e){var _0x4d9397=_0x36979b;for(var _0x57b343=_0x28d64e[_0x4d9397(0xe4)],_0x3d6e25=[],_0x33bdc9=0x0;_0x33bdc9<_0x57b343;_0x33bdc9++)_0x3d6e25[_0x33bdc9>>>0x2]|=(_0x28d64e[_0x4d9397(0x2cb)](_0x33bdc9)&0xff)<<0x18-_0x33bdc9%0x4*0x8;return new _0x18a87c[(_0x4d9397(0xfa))](_0x3d6e25,_0x57b343);}},_0x548cde=_0x126cc6[_0x36979b(0x2c6)]={'stringify':function(_0x422e3c){var _0x5d2ac5=_0x36979b;try{return decodeURIComponent(escape(_0x49494c[_0x5d2ac5(0xba)](_0x422e3c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2ac815){var _0x3a2d11=_0x36979b;return _0x49494c[_0x3a2d11(0x136)](unescape(encodeURIComponent(_0x2ac815)));}},_0x1a09bc=_0x1f11b3[_0x36979b(0x2bd)]=_0x349894[_0x36979b(0x1df)]({'reset':function(){var _0x1b9ea8=_0x36979b;this[_0x1b9ea8(0x238)]=new _0x18a87c[(_0x1b9ea8(0xfa))](),this[_0x1b9ea8(0x1a8)]=0x0;},'_append':function(_0x44c366){var _0x22dfa6=_0x36979b;typeof _0x44c366==_0x22dfa6(0xf8)&&(_0x44c366=_0x548cde[_0x22dfa6(0x136)](_0x44c366)),this[_0x22dfa6(0x238)][_0x22dfa6(0x13f)](_0x44c366),this[_0x22dfa6(0x1a8)]+=_0x44c366[_0x22dfa6(0xab)];},'_process':function(_0x213fb6){var _0x337921=_0x36979b,_0x374947,_0x1607ff=this['_data'],_0x9adc04=_0x1607ff[_0x337921(0x2b5)],_0x491d80=_0x1607ff[_0x337921(0xab)],_0x6efd83=this['blockSize'],_0x37f9d8=_0x6efd83*0x4,_0x1e50b8=_0x491d80/_0x37f9d8;_0x213fb6?_0x1e50b8=_0x17c2c3[_0x337921(0x130)](_0x1e50b8):_0x1e50b8=_0x17c2c3['max']((_0x1e50b8|0x0)-this[_0x337921(0x341)],0x0);var _0x543543=_0x1e50b8*_0x6efd83,_0x29b120=_0x17c2c3[_0x337921(0x303)](_0x543543*0x4,_0x491d80);if(_0x543543){for(var _0x13b06f=0x0;_0x13b06f<_0x543543;_0x13b06f+=_0x6efd83)this[_0x337921(0x24e)](_0x9adc04,_0x13b06f);_0x374947=_0x9adc04[_0x337921(0x287)](0x0,_0x543543),_0x1607ff['sigBytes']-=_0x29b120;}return new _0x18a87c['init'](_0x374947,_0x29b120);},'clone':function(){var _0x57f1b4=_0x36979b,_0x34642e=_0x349894['clone'][_0x57f1b4(0x1fb)](this);return _0x34642e[_0x57f1b4(0x238)]=this[_0x57f1b4(0x238)]['clone'](),_0x34642e;},'_minBufferSize':0x0});_0x1f11b3[_0x36979b(0xd3)]=_0x1a09bc[_0x36979b(0x1df)]({'cfg':_0x349894['extend'](),'init':function(_0x798aea){var _0x1db718=_0x36979b;this[_0x1db718(0x389)]=this[_0x1db718(0x389)][_0x1db718(0x1df)](_0x798aea),this[_0x1db718(0x1c6)]();},'reset':function(){var _0x4f7621=_0x36979b;_0x1a09bc[_0x4f7621(0x1c6)]['call'](this),this[_0x4f7621(0x17a)]();},'update':function(_0x5438e5){var _0x32405b=_0x36979b;return this[_0x32405b(0x1c8)](_0x5438e5),this[_0x32405b(0x2e0)](),this;},'finalize':function(_0x1f7647){var _0x67af2c=_0x36979b;_0x1f7647&&this[_0x67af2c(0x1c8)](_0x1f7647);var _0x317e4c=this[_0x67af2c(0x362)]();return _0x317e4c;},'blockSize':0x10,'_createHelper':function(_0x1dfa24){return function(_0x1ba145,_0x4300e2){var _0x439ba0=_0x2def;return new _0x1dfa24[(_0x439ba0(0xfa))](_0x4300e2)['finalize'](_0x1ba145);};},'_createHmacHelper':function(_0x39097a){return function(_0x2fd99f,_0x37cb06){var _0x2a8283=_0x2def;return new _0x514e9b['HMAC'][(_0x2a8283(0xfa))](_0x39097a,_0x37cb06)['finalize'](_0x2fd99f);};}});var _0x514e9b=_0x3953fe[_0x36979b(0x421)]={};return _0x3953fe;}(Math);return _0x1ee081;}));}(Ie)),Ie[_0x819457(0x1b9)];}var pe={'exports':{}},Ci=pe[_0x2b2344(0x1b9)],ze;function Et(){var _0x2907ef=_0x2b2344;return ze||(ze=0x1,function(_0x1c03ca,_0x1254f5){(function(_0x51c693,_0x403458){var _0x30403b=_0x2def;_0x1c03ca[_0x30403b(0x1b9)]=_0x403458(Q());}(Ci,function(_0xcae507){var _0x432933=_0x2def;return(function(){var _0x76aa84=_0x2def,_0x217813=_0xcae507,_0x4d7db8=_0x217813[_0x76aa84(0x11e)],_0x30f2cd=_0x4d7db8[_0x76aa84(0x1ce)],_0x367143=_0x217813[_0x76aa84(0xf1)];_0x367143[_0x76aa84(0x115)]={'stringify':function(_0x57c9f7){var _0x45c6d2=_0x76aa84,_0xdcea30=_0x57c9f7[_0x45c6d2(0x2b5)],_0x194794=_0x57c9f7[_0x45c6d2(0xab)],_0xb70eb=this[_0x45c6d2(0x2a8)];_0x57c9f7['clamp']();for(var _0x178c38=[],_0x21e5c9=0x0;_0x21e5c9<_0x194794;_0x21e5c9+=0x3)for(var _0x468278=_0xdcea30[_0x21e5c9>>>0x2]>>>0x18-_0x21e5c9%0x4*0x8&0xff,_0x47062b=_0xdcea30[_0x21e5c9+0x1>>>0x2]>>>0x18-(_0x21e5c9+0x1)%0x4*0x8&0xff,_0x186b5b=_0xdcea30[_0x21e5c9+0x2>>>0x2]>>>0x18-(_0x21e5c9+0x2)%0x4*0x8&0xff,_0x2c81cb=_0x468278<<0x10|_0x47062b<<0x8|_0x186b5b,_0x136938=0x0;_0x136938<0x4&&_0x21e5c9+_0x136938*0.75<_0x194794;_0x136938++)_0x178c38[_0x45c6d2(0x134)](_0xb70eb[_0x45c6d2(0x276)](_0x2c81cb>>>0x6*(0x3-_0x136938)&0x3f));var _0x3c9389=_0xb70eb[_0x45c6d2(0x276)](0x40);if(_0x3c9389){for(;_0x178c38[_0x45c6d2(0xe4)]%0x4;)_0x178c38['push'](_0x3c9389);}return _0x178c38['join']('');},'parse':function(_0x56ac5d){var _0x4da6ba=_0x76aa84,_0x5d265e=_0x56ac5d[_0x4da6ba(0xe4)],_0x2dff3e=this[_0x4da6ba(0x2a8)],_0x7e7e67=this[_0x4da6ba(0xad)];if(!_0x7e7e67){_0x7e7e67=this[_0x4da6ba(0xad)]=[];for(var _0x16e746=0x0;_0x16e746<_0x2dff3e[_0x4da6ba(0xe4)];_0x16e746++)_0x7e7e67[_0x2dff3e[_0x4da6ba(0x2cb)](_0x16e746)]=_0x16e746;}var _0x2030c6=_0x2dff3e[_0x4da6ba(0x276)](0x40);if(_0x2030c6){var _0x1c0461=_0x56ac5d[_0x4da6ba(0x1ca)](_0x2030c6);_0x1c0461!==-0x1&&(_0x5d265e=_0x1c0461);}return _0x65b725(_0x56ac5d,_0x5d265e,_0x7e7e67);},'_map':_0x76aa84(0x335)};function _0x65b725(_0x49ac9c,_0x500e2e,_0xf88583){var _0x46f1c7=_0x76aa84;for(var _0x38f033=[],_0x5d8c6b=0x0,_0x28d246=0x0;_0x28d246<_0x500e2e;_0x28d246++)if(_0x28d246%0x4){var _0x58921f=_0xf88583[_0x49ac9c[_0x46f1c7(0x2cb)](_0x28d246-0x1)]<<_0x28d246%0x4*0x2,_0x184fc0=_0xf88583[_0x49ac9c[_0x46f1c7(0x2cb)](_0x28d246)]>>>0x6-_0x28d246%0x4*0x2,_0x5d54f2=_0x58921f|_0x184fc0;_0x38f033[_0x5d8c6b>>>0x2]|=_0x5d54f2<<0x18-_0x5d8c6b%0x4*0x8,_0x5d8c6b++;}return _0x30f2cd[_0x46f1c7(0x3f1)](_0x38f033,_0x5d8c6b);}}()),_0xcae507[_0x432933(0xf1)][_0x432933(0x115)];}));}(pe)),pe[_0x2907ef(0x1b9)];}var me={'exports':{}},Ti=me[_0x2b2344(0x1b9)],Je;function bi(){return Je||(Je=0x1,function(_0x1d2b79,_0x18b72d){(function(_0x41681a,_0x188c40){var _0x3bfc59=_0x2def;_0x1d2b79[_0x3bfc59(0x1b9)]=_0x188c40(Q());}(Ti,function(_0x4b4239){var _0xee8254=_0x2def;return function(_0x5e76f3){var _0x3d65a5=_0x2def,_0x22170a=_0x4b4239,_0x5e7543=_0x22170a[_0x3d65a5(0x11e)],_0x173880=_0x5e7543['WordArray'],_0x4297ab=_0x5e7543['Hasher'],_0x22897c=_0x22170a[_0x3d65a5(0x421)],_0x258706=[];(function(){var _0x552c29=_0x3d65a5;for(var _0x52d784=0x0;_0x52d784<0x40;_0x52d784++)_0x258706[_0x52d784]=_0x5e76f3['abs'](_0x5e76f3[_0x552c29(0x14e)](_0x52d784+0x1))*0x100000000|0x0;}());var _0x463942=_0x22897c[_0x3d65a5(0xc7)]=_0x4297ab['extend']({'_doReset':function(){var _0xeeb0a=_0x3d65a5;this[_0xeeb0a(0x266)]=new _0x173880[(_0xeeb0a(0xfa))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4a714b,_0x568177){var _0xb64ba4=_0x3d65a5;for(var _0x13c7dd=0x0;_0x13c7dd<0x10;_0x13c7dd++){var _0x657cb9=_0x568177+_0x13c7dd,_0xe52383=_0x4a714b[_0x657cb9];_0x4a714b[_0x657cb9]=(_0xe52383<<0x8|_0xe52383>>>0x18)&0xff00ff|(_0xe52383<<0x18|_0xe52383>>>0x8)&0xff00ff00;}var _0x2f5c07=this[_0xb64ba4(0x266)][_0xb64ba4(0x2b5)],_0x464c0b=_0x4a714b[_0x568177+0x0],_0x538457=_0x4a714b[_0x568177+0x1],_0x4e8d8c=_0x4a714b[_0x568177+0x2],_0x4e9446=_0x4a714b[_0x568177+0x3],_0x45dad6=_0x4a714b[_0x568177+0x4],_0x13ca22=_0x4a714b[_0x568177+0x5],_0x5e7844=_0x4a714b[_0x568177+0x6],_0x106ce7=_0x4a714b[_0x568177+0x7],_0x350e37=_0x4a714b[_0x568177+0x8],_0x108715=_0x4a714b[_0x568177+0x9],_0x311613=_0x4a714b[_0x568177+0xa],_0x338a31=_0x4a714b[_0x568177+0xb],_0x41e2ca=_0x4a714b[_0x568177+0xc],_0x2c2a77=_0x4a714b[_0x568177+0xd],_0x19826c=_0x4a714b[_0x568177+0xe],_0x21ea1f=_0x4a714b[_0x568177+0xf],_0x379626=_0x2f5c07[0x0],_0x42267a=_0x2f5c07[0x1],_0x512dab=_0x2f5c07[0x2],_0x165af3=_0x2f5c07[0x3];_0x379626=_0x115beb(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x464c0b,0x7,_0x258706[0x0]),_0x165af3=_0x115beb(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x538457,0xc,_0x258706[0x1]),_0x512dab=_0x115beb(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x4e8d8c,0x11,_0x258706[0x2]),_0x42267a=_0x115beb(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x4e9446,0x16,_0x258706[0x3]),_0x379626=_0x115beb(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x45dad6,0x7,_0x258706[0x4]),_0x165af3=_0x115beb(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x13ca22,0xc,_0x258706[0x5]),_0x512dab=_0x115beb(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x5e7844,0x11,_0x258706[0x6]),_0x42267a=_0x115beb(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x106ce7,0x16,_0x258706[0x7]),_0x379626=_0x115beb(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x350e37,0x7,_0x258706[0x8]),_0x165af3=_0x115beb(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x108715,0xc,_0x258706[0x9]),_0x512dab=_0x115beb(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x311613,0x11,_0x258706[0xa]),_0x42267a=_0x115beb(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x338a31,0x16,_0x258706[0xb]),_0x379626=_0x115beb(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x41e2ca,0x7,_0x258706[0xc]),_0x165af3=_0x115beb(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x2c2a77,0xc,_0x258706[0xd]),_0x512dab=_0x115beb(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x19826c,0x11,_0x258706[0xe]),_0x42267a=_0x115beb(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x21ea1f,0x16,_0x258706[0xf]),_0x379626=_0x34abed(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x538457,0x5,_0x258706[0x10]),_0x165af3=_0x34abed(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x5e7844,0x9,_0x258706[0x11]),_0x512dab=_0x34abed(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x338a31,0xe,_0x258706[0x12]),_0x42267a=_0x34abed(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x464c0b,0x14,_0x258706[0x13]),_0x379626=_0x34abed(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x13ca22,0x5,_0x258706[0x14]),_0x165af3=_0x34abed(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x311613,0x9,_0x258706[0x15]),_0x512dab=_0x34abed(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x21ea1f,0xe,_0x258706[0x16]),_0x42267a=_0x34abed(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x45dad6,0x14,_0x258706[0x17]),_0x379626=_0x34abed(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x108715,0x5,_0x258706[0x18]),_0x165af3=_0x34abed(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x19826c,0x9,_0x258706[0x19]),_0x512dab=_0x34abed(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x4e9446,0xe,_0x258706[0x1a]),_0x42267a=_0x34abed(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x350e37,0x14,_0x258706[0x1b]),_0x379626=_0x34abed(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x2c2a77,0x5,_0x258706[0x1c]),_0x165af3=_0x34abed(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x4e8d8c,0x9,_0x258706[0x1d]),_0x512dab=_0x34abed(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x106ce7,0xe,_0x258706[0x1e]),_0x42267a=_0x34abed(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x41e2ca,0x14,_0x258706[0x1f]),_0x379626=_0x5f54ec(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x13ca22,0x4,_0x258706[0x20]),_0x165af3=_0x5f54ec(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x350e37,0xb,_0x258706[0x21]),_0x512dab=_0x5f54ec(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x338a31,0x10,_0x258706[0x22]),_0x42267a=_0x5f54ec(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x19826c,0x17,_0x258706[0x23]),_0x379626=_0x5f54ec(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x538457,0x4,_0x258706[0x24]),_0x165af3=_0x5f54ec(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x45dad6,0xb,_0x258706[0x25]),_0x512dab=_0x5f54ec(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x106ce7,0x10,_0x258706[0x26]),_0x42267a=_0x5f54ec(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x311613,0x17,_0x258706[0x27]),_0x379626=_0x5f54ec(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x2c2a77,0x4,_0x258706[0x28]),_0x165af3=_0x5f54ec(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x464c0b,0xb,_0x258706[0x29]),_0x512dab=_0x5f54ec(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x4e9446,0x10,_0x258706[0x2a]),_0x42267a=_0x5f54ec(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x5e7844,0x17,_0x258706[0x2b]),_0x379626=_0x5f54ec(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x108715,0x4,_0x258706[0x2c]),_0x165af3=_0x5f54ec(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x41e2ca,0xb,_0x258706[0x2d]),_0x512dab=_0x5f54ec(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x21ea1f,0x10,_0x258706[0x2e]),_0x42267a=_0x5f54ec(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x4e8d8c,0x17,_0x258706[0x2f]),_0x379626=_0x480544(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x464c0b,0x6,_0x258706[0x30]),_0x165af3=_0x480544(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x106ce7,0xa,_0x258706[0x31]),_0x512dab=_0x480544(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x19826c,0xf,_0x258706[0x32]),_0x42267a=_0x480544(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x13ca22,0x15,_0x258706[0x33]),_0x379626=_0x480544(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x41e2ca,0x6,_0x258706[0x34]),_0x165af3=_0x480544(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x4e9446,0xa,_0x258706[0x35]),_0x512dab=_0x480544(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x311613,0xf,_0x258706[0x36]),_0x42267a=_0x480544(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x538457,0x15,_0x258706[0x37]),_0x379626=_0x480544(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x350e37,0x6,_0x258706[0x38]),_0x165af3=_0x480544(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x21ea1f,0xa,_0x258706[0x39]),_0x512dab=_0x480544(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x5e7844,0xf,_0x258706[0x3a]),_0x42267a=_0x480544(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x2c2a77,0x15,_0x258706[0x3b]),_0x379626=_0x480544(_0x379626,_0x42267a,_0x512dab,_0x165af3,_0x45dad6,0x6,_0x258706[0x3c]),_0x165af3=_0x480544(_0x165af3,_0x379626,_0x42267a,_0x512dab,_0x338a31,0xa,_0x258706[0x3d]),_0x512dab=_0x480544(_0x512dab,_0x165af3,_0x379626,_0x42267a,_0x4e8d8c,0xf,_0x258706[0x3e]),_0x42267a=_0x480544(_0x42267a,_0x512dab,_0x165af3,_0x379626,_0x108715,0x15,_0x258706[0x3f]),_0x2f5c07[0x0]=_0x2f5c07[0x0]+_0x379626|0x0,_0x2f5c07[0x1]=_0x2f5c07[0x1]+_0x42267a|0x0,_0x2f5c07[0x2]=_0x2f5c07[0x2]+_0x512dab|0x0,_0x2f5c07[0x3]=_0x2f5c07[0x3]+_0x165af3|0x0;},'_doFinalize':function(){var _0x175935=_0x3d65a5,_0x584304=this[_0x175935(0x238)],_0x35569b=_0x584304[_0x175935(0x2b5)],_0x18fe25=this[_0x175935(0x1a8)]*0x8,_0x415601=_0x584304['sigBytes']*0x8;_0x35569b[_0x415601>>>0x5]|=0x80<<0x18-_0x415601%0x20;var _0x12a60f=_0x5e76f3[_0x175935(0x125)](_0x18fe25/0x100000000),_0x1c00a9=_0x18fe25;_0x35569b[(_0x415601+0x40>>>0x9<<0x4)+0xf]=(_0x12a60f<<0x8|_0x12a60f>>>0x18)&0xff00ff|(_0x12a60f<<0x18|_0x12a60f>>>0x8)&0xff00ff00,_0x35569b[(_0x415601+0x40>>>0x9<<0x4)+0xe]=(_0x1c00a9<<0x8|_0x1c00a9>>>0x18)&0xff00ff|(_0x1c00a9<<0x18|_0x1c00a9>>>0x8)&0xff00ff00,_0x584304[_0x175935(0xab)]=(_0x35569b['length']+0x1)*0x4,this[_0x175935(0x2e0)]();for(var _0x4c4c11=this['_hash'],_0x2136fb=_0x4c4c11['words'],_0x1853d5=0x0;_0x1853d5<0x4;_0x1853d5++){var _0x410db2=_0x2136fb[_0x1853d5];_0x2136fb[_0x1853d5]=(_0x410db2<<0x8|_0x410db2>>>0x18)&0xff00ff|(_0x410db2<<0x18|_0x410db2>>>0x8)&0xff00ff00;}return _0x4c4c11;},'clone':function(){var _0xa8d13b=_0x3d65a5,_0x86b4e8=_0x4297ab['clone'][_0xa8d13b(0x1fb)](this);return _0x86b4e8[_0xa8d13b(0x266)]=this[_0xa8d13b(0x266)][_0xa8d13b(0x129)](),_0x86b4e8;}});function _0x115beb(_0x535a14,_0x5e29f6,_0x3b5198,_0x22b6ce,_0x3de86f,_0x3cb8fe,_0x33bf7d){var _0x455a9a=_0x535a14+(_0x5e29f6&_0x3b5198|~_0x5e29f6&_0x22b6ce)+_0x3de86f+_0x33bf7d;return(_0x455a9a<<_0x3cb8fe|_0x455a9a>>>0x20-_0x3cb8fe)+_0x5e29f6;}function _0x34abed(_0x333ee1,_0x5e1ec7,_0x15ccb5,_0xec64ff,_0x3dfb92,_0x240fb0,_0xaeadd2){var _0x1aa73b=_0x333ee1+(_0x5e1ec7&_0xec64ff|_0x15ccb5&~_0xec64ff)+_0x3dfb92+_0xaeadd2;return(_0x1aa73b<<_0x240fb0|_0x1aa73b>>>0x20-_0x240fb0)+_0x5e1ec7;}function _0x5f54ec(_0x44761e,_0x47b808,_0x3b5216,_0x549207,_0x3aa26d,_0x23de9e,_0x7ad96e){var _0x3a9c0d=_0x44761e+(_0x47b808^_0x3b5216^_0x549207)+_0x3aa26d+_0x7ad96e;return(_0x3a9c0d<<_0x23de9e|_0x3a9c0d>>>0x20-_0x23de9e)+_0x47b808;}function _0x480544(_0xe0d728,_0x464c32,_0x43661b,_0x3e8323,_0x311423,_0x56640b,_0x4cb392){var _0x185c74=_0xe0d728+(_0x43661b^(_0x464c32|~_0x3e8323))+_0x311423+_0x4cb392;return(_0x185c74<<_0x56640b|_0x185c74>>>0x20-_0x56640b)+_0x464c32;}_0x22170a[_0x3d65a5(0xc7)]=_0x4297ab['_createHelper'](_0x463942),_0x22170a[_0x3d65a5(0x360)]=_0x4297ab[_0x3d65a5(0x220)](_0x463942);}(Math),_0x4b4239[_0xee8254(0xc7)];}));}(me)),me['exports'];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x2b2344(0x1b9)],Xe;function Ri(){var _0x43fe54=_0x2b2344;return Xe||(Xe=0x1,function(_0x5daa5c,_0x4a5733){(function(_0x338719,_0x3b0445){var _0x3280ec=_0x2def;_0x5daa5c[_0x3280ec(0x1b9)]=_0x3b0445(Q());}(Oi,function(_0x56d715){var _0x933683=_0x2def;return(function(){var _0x457504=_0x2def,_0x45e522=_0x56d715,_0x468e26=_0x45e522[_0x457504(0x11e)],_0x48e0a6=_0x468e26[_0x457504(0x1ce)],_0x7d16d1=_0x468e26['Hasher'],_0x42ac6d=_0x45e522[_0x457504(0x421)],_0x18f386=[],_0x203647=_0x42ac6d[_0x457504(0x28f)]=_0x7d16d1['extend']({'_doReset':function(){var _0x213513=_0x457504;this[_0x213513(0x266)]=new _0x48e0a6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3fe6d8,_0x1eefca){var _0x4a4560=_0x457504;for(var _0x2f266a=this[_0x4a4560(0x266)][_0x4a4560(0x2b5)],_0x306930=_0x2f266a[0x0],_0x4dfd71=_0x2f266a[0x1],_0x529797=_0x2f266a[0x2],_0x7bface=_0x2f266a[0x3],_0x36dc3b=_0x2f266a[0x4],_0x3cdd1f=0x0;_0x3cdd1f<0x50;_0x3cdd1f++){if(_0x3cdd1f<0x10)_0x18f386[_0x3cdd1f]=_0x3fe6d8[_0x1eefca+_0x3cdd1f]|0x0;else{var _0x1b227c=_0x18f386[_0x3cdd1f-0x3]^_0x18f386[_0x3cdd1f-0x8]^_0x18f386[_0x3cdd1f-0xe]^_0x18f386[_0x3cdd1f-0x10];_0x18f386[_0x3cdd1f]=_0x1b227c<<0x1|_0x1b227c>>>0x1f;}var _0x52eaa1=(_0x306930<<0x5|_0x306930>>>0x1b)+_0x36dc3b+_0x18f386[_0x3cdd1f];_0x3cdd1f<0x14?_0x52eaa1+=(_0x4dfd71&_0x529797|~_0x4dfd71&_0x7bface)+0x5a827999:_0x3cdd1f<0x28?_0x52eaa1+=(_0x4dfd71^_0x529797^_0x7bface)+0x6ed9eba1:_0x3cdd1f<0x3c?_0x52eaa1+=(_0x4dfd71&_0x529797|_0x4dfd71&_0x7bface|_0x529797&_0x7bface)-0x70e44324:_0x52eaa1+=(_0x4dfd71^_0x529797^_0x7bface)-0x359d3e2a,_0x36dc3b=_0x7bface,_0x7bface=_0x529797,_0x529797=_0x4dfd71<<0x1e|_0x4dfd71>>>0x2,_0x4dfd71=_0x306930,_0x306930=_0x52eaa1;}_0x2f266a[0x0]=_0x2f266a[0x0]+_0x306930|0x0,_0x2f266a[0x1]=_0x2f266a[0x1]+_0x4dfd71|0x0,_0x2f266a[0x2]=_0x2f266a[0x2]+_0x529797|0x0,_0x2f266a[0x3]=_0x2f266a[0x3]+_0x7bface|0x0,_0x2f266a[0x4]=_0x2f266a[0x4]+_0x36dc3b|0x0;},'_doFinalize':function(){var _0x58f58d=_0x457504,_0x252517=this[_0x58f58d(0x238)],_0xf43165=_0x252517[_0x58f58d(0x2b5)],_0x1d7a15=this[_0x58f58d(0x1a8)]*0x8,_0x86015a=_0x252517[_0x58f58d(0xab)]*0x8;return _0xf43165[_0x86015a>>>0x5]|=0x80<<0x18-_0x86015a%0x20,_0xf43165[(_0x86015a+0x40>>>0x9<<0x4)+0xe]=Math[_0x58f58d(0x125)](_0x1d7a15/0x100000000),_0xf43165[(_0x86015a+0x40>>>0x9<<0x4)+0xf]=_0x1d7a15,_0x252517[_0x58f58d(0xab)]=_0xf43165['length']*0x4,this['_process'](),this[_0x58f58d(0x266)];},'clone':function(){var _0x4ed61a=_0x457504,_0x3f28b9=_0x7d16d1[_0x4ed61a(0x129)][_0x4ed61a(0x1fb)](this);return _0x3f28b9[_0x4ed61a(0x266)]=this[_0x4ed61a(0x266)]['clone'](),_0x3f28b9;}});_0x45e522['SHA1']=_0x7d16d1[_0x457504(0x290)](_0x203647),_0x45e522[_0x457504(0x413)]=_0x7d16d1['_createHmacHelper'](_0x203647);}()),_0x56d715[_0x933683(0x28f)];}));}(Ee)),Ee[_0x43fe54(0x1b9)];}var Ce={'exports':{}},yi=Ce[_0x2b2344(0x1b9)],Ze;function Ni(){var _0x3a08ac=_0x2b2344;return Ze||(Ze=0x1,function(_0x2f1f68,_0x57fc0c){(function(_0x58d652,_0x3e35a5){var _0x95f117=_0x2def;_0x2f1f68[_0x95f117(0x1b9)]=_0x3e35a5(Q());}(yi,function(_0x146ce5){(function(){var _0x1ea314=_0x2def,_0x4d7ee8=_0x146ce5,_0x380833=_0x4d7ee8[_0x1ea314(0x11e)],_0x2edcbd=_0x380833[_0x1ea314(0x140)],_0x31c35b=_0x4d7ee8[_0x1ea314(0xf1)],_0x1c4e92=_0x31c35b[_0x1ea314(0x2c6)],_0x12b00a=_0x4d7ee8['algo'];_0x12b00a['HMAC']=_0x2edcbd[_0x1ea314(0x1df)]({'init':function(_0x56e213,_0x26a09b){var _0x5e2f84=_0x1ea314;_0x56e213=this[_0x5e2f84(0x3bd)]=new _0x56e213[(_0x5e2f84(0xfa))](),typeof _0x26a09b==_0x5e2f84(0xf8)&&(_0x26a09b=_0x1c4e92['parse'](_0x26a09b));var _0x2d6026=_0x56e213[_0x5e2f84(0x2bb)],_0x2570ee=_0x2d6026*0x4;_0x26a09b[_0x5e2f84(0xab)]>_0x2570ee&&(_0x26a09b=_0x56e213[_0x5e2f84(0x2dd)](_0x26a09b)),_0x26a09b['clamp']();for(var _0x3b22d2=this[_0x5e2f84(0x3ab)]=_0x26a09b[_0x5e2f84(0x129)](),_0xd7bd7=this[_0x5e2f84(0xb4)]=_0x26a09b[_0x5e2f84(0x129)](),_0x3fed99=_0x3b22d2[_0x5e2f84(0x2b5)],_0x2edc10=_0xd7bd7[_0x5e2f84(0x2b5)],_0x4523a5=0x0;_0x4523a5<_0x2d6026;_0x4523a5++)_0x3fed99[_0x4523a5]^=0x5c5c5c5c,_0x2edc10[_0x4523a5]^=0x36363636;_0x3b22d2[_0x5e2f84(0xab)]=_0xd7bd7[_0x5e2f84(0xab)]=_0x2570ee,this[_0x5e2f84(0x1c6)]();},'reset':function(){var _0x5c0d2a=_0x1ea314,_0x49ba9d=this['_hasher'];_0x49ba9d[_0x5c0d2a(0x1c6)](),_0x49ba9d[_0x5c0d2a(0x417)](this[_0x5c0d2a(0xb4)]);},'update':function(_0x4ec0b7){var _0x4fdf1a=_0x1ea314;return this['_hasher'][_0x4fdf1a(0x417)](_0x4ec0b7),this;},'finalize':function(_0x11244f){var _0x951108=_0x1ea314,_0x184e45=this[_0x951108(0x3bd)],_0x410998=_0x184e45[_0x951108(0x2dd)](_0x11244f);_0x184e45[_0x951108(0x1c6)]();var _0x59bc06=_0x184e45[_0x951108(0x2dd)](this[_0x951108(0x3ab)][_0x951108(0x129)]()[_0x951108(0x13f)](_0x410998));return _0x59bc06;}});}());}));}(Ce)),Ce[_0x3a08ac(0x1b9)];}var Di=ge[_0x2b2344(0x1b9)],Qe;function Ct(){var _0x4bbc77=_0x2b2344;return Qe||(Qe=0x1,function(_0x2cd47d,_0x43bd3c){(function(_0x4e7655,_0x382da1,_0x500f09){var _0x144eef=_0x2def;_0x2cd47d[_0x144eef(0x1b9)]=_0x382da1(Q(),Ri(),Ni());}(Di,function(_0x30de7c){var _0x190039=_0x2def;return(function(){var _0x171ab0=_0x2def,_0x3f45dd=_0x30de7c,_0x17f71e=_0x3f45dd[_0x171ab0(0x11e)],_0x6697b2=_0x17f71e['Base'],_0x18d590=_0x17f71e[_0x171ab0(0x1ce)],_0x14fec6=_0x3f45dd['algo'],_0x2ed8db=_0x14fec6['MD5'],_0x2772eb=_0x14fec6[_0x171ab0(0x2b3)]=_0x6697b2[_0x171ab0(0x1df)]({'cfg':_0x6697b2['extend']({'keySize':0x80/0x20,'hasher':_0x2ed8db,'iterations':0x1}),'init':function(_0x570bf1){var _0x5f2798=_0x171ab0;this[_0x5f2798(0x389)]=this['cfg']['extend'](_0x570bf1);},'compute':function(_0x2d3d71,_0x4089a4){var _0x469468=_0x171ab0;for(var _0x4b727d,_0x5d6954=this[_0x469468(0x389)],_0xcf90ad=_0x5d6954[_0x469468(0x1fd)][_0x469468(0x3f1)](),_0x1e22b5=_0x18d590[_0x469468(0x3f1)](),_0xe10a02=_0x1e22b5[_0x469468(0x2b5)],_0x45a7f3=_0x5d6954['keySize'],_0x5dae33=_0x5d6954[_0x469468(0x239)];_0xe10a02[_0x469468(0xe4)]<_0x45a7f3;){_0x4b727d&&_0xcf90ad['update'](_0x4b727d),_0x4b727d=_0xcf90ad[_0x469468(0x417)](_0x2d3d71)[_0x469468(0x2dd)](_0x4089a4),_0xcf90ad[_0x469468(0x1c6)]();for(var _0x20b227=0x1;_0x20b227<_0x5dae33;_0x20b227++)_0x4b727d=_0xcf90ad[_0x469468(0x2dd)](_0x4b727d),_0xcf90ad[_0x469468(0x1c6)]();_0x1e22b5[_0x469468(0x13f)](_0x4b727d);}return _0x1e22b5['sigBytes']=_0x45a7f3*0x4,_0x1e22b5;}});_0x3f45dd['EvpKDF']=function(_0x44437b,_0x309b5a,_0x8555de){var _0x32a9d6=_0x171ab0;return _0x2772eb[_0x32a9d6(0x3f1)](_0x8555de)[_0x32a9d6(0x231)](_0x44437b,_0x309b5a);};}()),_0x30de7c[_0x190039(0x2b3)];}));}(ge)),ge[_0x4bbc77(0x1b9)];}var Te={'exports':{}},Ui=Te[_0x2b2344(0x1b9)],et;function Tt(){var _0x3cfec9=_0x2b2344;return et||(et=0x1,function(_0x1164d6,_0x349b92){(function(_0x135d37,_0x126570,_0x575767){_0x1164d6['exports']=_0x126570(Q(),Ct());}(Ui,function(_0x4e8f9f){var _0x4f77f5=_0x2def;_0x4e8f9f['lib'][_0x4f77f5(0x1c4)]||function(_0x1851d1){var _0x612bd7=_0x4f77f5,_0x1af7dc=_0x4e8f9f,_0x615739=_0x1af7dc[_0x612bd7(0x11e)],_0x4a53e6=_0x615739[_0x612bd7(0x140)],_0x41ba4b=_0x615739[_0x612bd7(0x1ce)],_0x3fa4cf=_0x615739[_0x612bd7(0x2bd)],_0x305653=_0x1af7dc['enc'];_0x305653[_0x612bd7(0x2c6)];var _0x20f05a=_0x305653[_0x612bd7(0x115)],_0x190f50=_0x1af7dc[_0x612bd7(0x421)],_0x42adee=_0x190f50[_0x612bd7(0x2b3)],_0x58f32c=_0x615739[_0x612bd7(0x1c4)]=_0x3fa4cf['extend']({'cfg':_0x4a53e6[_0x612bd7(0x1df)](),'createEncryptor':function(_0x1c3fb3,_0x27d721){var _0x262b82=_0x612bd7;return this[_0x262b82(0x3f1)](this['_ENC_XFORM_MODE'],_0x1c3fb3,_0x27d721);},'createDecryptor':function(_0x437def,_0x5a09b3){var _0x19acda=_0x612bd7;return this[_0x19acda(0x3f1)](this['_DEC_XFORM_MODE'],_0x437def,_0x5a09b3);},'init':function(_0x2a641f,_0x3b55c8,_0xc49a4){var _0x24d3f5=_0x612bd7;this['cfg']=this[_0x24d3f5(0x389)]['extend'](_0xc49a4),this[_0x24d3f5(0x3fa)]=_0x2a641f,this[_0x24d3f5(0xb0)]=_0x3b55c8,this[_0x24d3f5(0x1c6)]();},'reset':function(){var _0x1f1b4a=_0x612bd7;_0x3fa4cf[_0x1f1b4a(0x1c6)][_0x1f1b4a(0x1fb)](this),this[_0x1f1b4a(0x17a)]();},'process':function(_0x2cdd2b){var _0x29f80b=_0x612bd7;return this[_0x29f80b(0x1c8)](_0x2cdd2b),this[_0x29f80b(0x2e0)]();},'finalize':function(_0x3f57c8){var _0x1b3cd4=_0x612bd7;_0x3f57c8&&this['_append'](_0x3f57c8);var _0x448c21=this[_0x1b3cd4(0x362)]();return _0x448c21;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2bb275(_0x19e3e9){var _0x1084f5=_0x2def;return typeof _0x19e3e9==_0x1084f5(0xf8)?_0x38e20b:_0x23d23c;}return function(_0x285d4e){return{'encrypt':function(_0x49029b,_0xf42a77,_0x566694){return _0x2bb275(_0xf42a77)['encrypt'](_0x285d4e,_0x49029b,_0xf42a77,_0x566694);},'decrypt':function(_0x41f234,_0x109cef,_0x24cd2b){return _0x2bb275(_0x109cef)['decrypt'](_0x285d4e,_0x41f234,_0x109cef,_0x24cd2b);}};};}())});_0x615739[_0x612bd7(0x2d5)]=_0x58f32c[_0x612bd7(0x1df)]({'_doFinalize':function(){var _0x746060=_0x612bd7,_0x36f351=this[_0x746060(0x2e0)](!0x0);return _0x36f351;},'blockSize':0x1});var _0x46de4a=_0x1af7dc[_0x612bd7(0x409)]={},_0x3def29=_0x615739['BlockCipherMode']=_0x4a53e6[_0x612bd7(0x1df)]({'createEncryptor':function(_0x2c8d1c,_0x5039ae){var _0x3f7ed7=_0x612bd7;return this[_0x3f7ed7(0x337)]['create'](_0x2c8d1c,_0x5039ae);},'createDecryptor':function(_0x5ab1f3,_0x281fec){var _0x412fde=_0x612bd7;return this[_0x412fde(0x217)]['create'](_0x5ab1f3,_0x281fec);},'init':function(_0x5a3aac,_0x19e31c){var _0x4a7ff5=_0x612bd7;this['_cipher']=_0x5a3aac,this[_0x4a7ff5(0x15f)]=_0x19e31c;}}),_0x4cf311=_0x46de4a['CBC']=(function(){var _0xda010=_0x612bd7,_0x257825=_0x3def29[_0xda010(0x1df)]();_0x257825[_0xda010(0x337)]=_0x257825[_0xda010(0x1df)]({'processBlock':function(_0x2dfca5,_0x513a4f){var _0x350f6c=_0xda010,_0x425a14=this[_0x350f6c(0xae)],_0x26f3a1=_0x425a14['blockSize'];_0x1b8ded['call'](this,_0x2dfca5,_0x513a4f,_0x26f3a1),_0x425a14[_0x350f6c(0x1c2)](_0x2dfca5,_0x513a4f),this[_0x350f6c(0x258)]=_0x2dfca5[_0x350f6c(0xee)](_0x513a4f,_0x513a4f+_0x26f3a1);}}),_0x257825[_0xda010(0x217)]=_0x257825[_0xda010(0x1df)]({'processBlock':function(_0x21b3fb,_0x310365){var _0x9e9ffc=_0xda010,_0x5d9641=this[_0x9e9ffc(0xae)],_0x281f12=_0x5d9641[_0x9e9ffc(0x2bb)],_0x2bf613=_0x21b3fb[_0x9e9ffc(0xee)](_0x310365,_0x310365+_0x281f12);_0x5d9641['decryptBlock'](_0x21b3fb,_0x310365),_0x1b8ded['call'](this,_0x21b3fb,_0x310365,_0x281f12),this[_0x9e9ffc(0x258)]=_0x2bf613;}});function _0x1b8ded(_0x266ddb,_0x10bc03,_0x39129b){var _0x2144cb=_0xda010,_0x2f810e,_0x23375b=this['_iv'];_0x23375b?(_0x2f810e=_0x23375b,this['_iv']=_0x1851d1):_0x2f810e=this[_0x2144cb(0x258)];for(var _0x1338ae=0x0;_0x1338ae<_0x39129b;_0x1338ae++)_0x266ddb[_0x10bc03+_0x1338ae]^=_0x2f810e[_0x1338ae];}return _0x257825;}()),_0x2da140=_0x1af7dc[_0x612bd7(0xbd)]={},_0x3d5655=_0x2da140[_0x612bd7(0x3d4)]={'pad':function(_0x645065,_0x9f7d){var _0x159b9f=_0x612bd7;for(var _0x3f2427=_0x9f7d*0x4,_0x1527e4=_0x3f2427-_0x645065[_0x159b9f(0xab)]%_0x3f2427,_0x385c18=_0x1527e4<<0x18|_0x1527e4<<0x10|_0x1527e4<<0x8|_0x1527e4,_0x3afc5a=[],_0xd447ca=0x0;_0xd447ca<_0x1527e4;_0xd447ca+=0x4)_0x3afc5a[_0x159b9f(0x134)](_0x385c18);var _0x2e7022=_0x41ba4b[_0x159b9f(0x3f1)](_0x3afc5a,_0x1527e4);_0x645065[_0x159b9f(0x13f)](_0x2e7022);},'unpad':function(_0x286597){var _0x5bfa82=_0x612bd7,_0x265d5f=_0x286597[_0x5bfa82(0x2b5)][_0x286597[_0x5bfa82(0xab)]-0x1>>>0x2]&0xff;_0x286597['sigBytes']-=_0x265d5f;}};_0x615739[_0x612bd7(0x340)]=_0x58f32c[_0x612bd7(0x1df)]({'cfg':_0x58f32c[_0x612bd7(0x389)][_0x612bd7(0x1df)]({'mode':_0x4cf311,'padding':_0x3d5655}),'reset':function(){var _0x459a49=_0x612bd7,_0x3d4e70;_0x58f32c[_0x459a49(0x1c6)]['call'](this);var _0x4d62d9=this[_0x459a49(0x389)],_0xe82005=_0x4d62d9['iv'],_0x12a9b8=_0x4d62d9[_0x459a49(0x409)];this[_0x459a49(0x3fa)]==this['_ENC_XFORM_MODE']?_0x3d4e70=_0x12a9b8[_0x459a49(0x18a)]:(_0x3d4e70=_0x12a9b8[_0x459a49(0x3dd)],this[_0x459a49(0x341)]=0x1),this['_mode']&&this[_0x459a49(0x15e)]['__creator']==_0x3d4e70?this[_0x459a49(0x15e)][_0x459a49(0xfa)](this,_0xe82005&&_0xe82005['words']):(this['_mode']=_0x3d4e70[_0x459a49(0x1fb)](_0x12a9b8,this,_0xe82005&&_0xe82005[_0x459a49(0x2b5)]),this[_0x459a49(0x15e)][_0x459a49(0x16a)]=_0x3d4e70);},'_doProcessBlock':function(_0x522a91,_0x310cbc){var _0x5eb944=_0x612bd7;this[_0x5eb944(0x15e)][_0x5eb944(0x244)](_0x522a91,_0x310cbc);},'_doFinalize':function(){var _0x35f97e=_0x612bd7,_0x4c22db,_0xa740f0=this[_0x35f97e(0x389)]['padding'];return this[_0x35f97e(0x3fa)]==this[_0x35f97e(0x3cf)]?(_0xa740f0[_0x35f97e(0xbd)](this[_0x35f97e(0x238)],this[_0x35f97e(0x2bb)]),_0x4c22db=this['_process'](!0x0)):(_0x4c22db=this[_0x35f97e(0x2e0)](!0x0),_0xa740f0[_0x35f97e(0x301)](_0x4c22db)),_0x4c22db;},'blockSize':0x80/0x20});var _0x570319=_0x615739[_0x612bd7(0x1b2)]=_0x4a53e6['extend']({'init':function(_0x58e6e9){var _0x5c49fe=_0x612bd7;this[_0x5c49fe(0x35d)](_0x58e6e9);},'toString':function(_0x49d8ed){var _0x9b8b97=_0x612bd7;return(_0x49d8ed||this[_0x9b8b97(0x3bf)])[_0x9b8b97(0xba)](this);}}),_0x27a666=_0x1af7dc[_0x612bd7(0x315)]={},_0x39c3ae=_0x27a666['OpenSSL']={'stringify':function(_0x2abaff){var _0x3ccadc=_0x612bd7,_0x3e9427,_0x10cbdc=_0x2abaff['ciphertext'],_0x63a021=_0x2abaff[_0x3ccadc(0x41d)];return _0x63a021?_0x3e9427=_0x41ba4b[_0x3ccadc(0x3f1)]([0x53616c74,0x65645f5f])[_0x3ccadc(0x13f)](_0x63a021)[_0x3ccadc(0x13f)](_0x10cbdc):_0x3e9427=_0x10cbdc,_0x3e9427[_0x3ccadc(0x1d2)](_0x20f05a);},'parse':function(_0x11afd8){var _0x4a21ab=_0x612bd7,_0x380c78,_0x4b4a9d=_0x20f05a[_0x4a21ab(0x136)](_0x11afd8),_0xb9cdc9=_0x4b4a9d['words'];return _0xb9cdc9[0x0]==0x53616c74&&_0xb9cdc9[0x1]==0x65645f5f&&(_0x380c78=_0x41ba4b[_0x4a21ab(0x3f1)](_0xb9cdc9[_0x4a21ab(0xee)](0x2,0x4)),_0xb9cdc9[_0x4a21ab(0x287)](0x0,0x4),_0x4b4a9d[_0x4a21ab(0xab)]-=0x10),_0x570319[_0x4a21ab(0x3f1)]({'ciphertext':_0x4b4a9d,'salt':_0x380c78});}},_0x23d23c=_0x615739[_0x612bd7(0x278)]=_0x4a53e6['extend']({'cfg':_0x4a53e6[_0x612bd7(0x1df)]({'format':_0x39c3ae}),'encrypt':function(_0x4ae98d,_0x100054,_0x3d5113,_0x110b31){var _0xcb2f48=_0x612bd7;_0x110b31=this[_0xcb2f48(0x389)][_0xcb2f48(0x1df)](_0x110b31);var _0xd0b8b4=_0x4ae98d[_0xcb2f48(0x18a)](_0x3d5113,_0x110b31),_0x4b28ca=_0xd0b8b4['finalize'](_0x100054),_0x35346a=_0xd0b8b4[_0xcb2f48(0x389)];return _0x570319[_0xcb2f48(0x3f1)]({'ciphertext':_0x4b28ca,'key':_0x3d5113,'iv':_0x35346a['iv'],'algorithm':_0x4ae98d,'mode':_0x35346a['mode'],'padding':_0x35346a[_0xcb2f48(0x34b)],'blockSize':_0x4ae98d['blockSize'],'formatter':_0x110b31[_0xcb2f48(0x315)]});},'decrypt':function(_0x53ef87,_0x2aed53,_0x205a50,_0x4b0d1e){var _0x3e3348=_0x612bd7;_0x4b0d1e=this[_0x3e3348(0x389)][_0x3e3348(0x1df)](_0x4b0d1e),_0x2aed53=this[_0x3e3348(0x27d)](_0x2aed53,_0x4b0d1e['format']);var _0x3d0ce7=_0x53ef87[_0x3e3348(0x3dd)](_0x205a50,_0x4b0d1e)[_0x3e3348(0x2dd)](_0x2aed53['ciphertext']);return _0x3d0ce7;},'_parse':function(_0x3a80a4,_0x49d651){var _0x55a266=_0x612bd7;return typeof _0x3a80a4==_0x55a266(0xf8)?_0x49d651['parse'](_0x3a80a4,this):_0x3a80a4;}}),_0x3280d2=_0x1af7dc[_0x612bd7(0x39b)]={},_0x4ffecf=_0x3280d2[_0x612bd7(0x23c)]={'execute':function(_0x2d1dd1,_0x4c4b1b,_0x3edc1e,_0x5fcdec,_0x3e5f56){var _0x473ac5=_0x612bd7;if(_0x5fcdec||(_0x5fcdec=_0x41ba4b[_0x473ac5(0x1c0)](0x40/0x8)),_0x3e5f56)var _0x113bca=_0x42adee['create']({'keySize':_0x4c4b1b+_0x3edc1e,'hasher':_0x3e5f56})['compute'](_0x2d1dd1,_0x5fcdec);else var _0x113bca=_0x42adee[_0x473ac5(0x3f1)]({'keySize':_0x4c4b1b+_0x3edc1e})['compute'](_0x2d1dd1,_0x5fcdec);var _0x4582f7=_0x41ba4b['create'](_0x113bca[_0x473ac5(0x2b5)][_0x473ac5(0xee)](_0x4c4b1b),_0x3edc1e*0x4);return _0x113bca['sigBytes']=_0x4c4b1b*0x4,_0x570319['create']({'key':_0x113bca,'iv':_0x4582f7,'salt':_0x5fcdec});}},_0x38e20b=_0x615739[_0x612bd7(0x1f4)]=_0x23d23c[_0x612bd7(0x1df)]({'cfg':_0x23d23c[_0x612bd7(0x389)][_0x612bd7(0x1df)]({'kdf':_0x4ffecf}),'encrypt':function(_0x5cbe4e,_0x10c4f2,_0x4f56e4,_0x5228f4){var _0x5df7e5=_0x612bd7;_0x5228f4=this['cfg'][_0x5df7e5(0x1df)](_0x5228f4);var _0x280185=_0x5228f4[_0x5df7e5(0x39b)][_0x5df7e5(0x387)](_0x4f56e4,_0x5cbe4e[_0x5df7e5(0xd0)],_0x5cbe4e[_0x5df7e5(0x28c)],_0x5228f4['salt'],_0x5228f4[_0x5df7e5(0x1fd)]);_0x5228f4['iv']=_0x280185['iv'];var _0x412c78=_0x23d23c[_0x5df7e5(0x33b)][_0x5df7e5(0x1fb)](this,_0x5cbe4e,_0x10c4f2,_0x280185[_0x5df7e5(0x2c3)],_0x5228f4);return _0x412c78[_0x5df7e5(0x35d)](_0x280185),_0x412c78;},'decrypt':function(_0x4a5018,_0x4f27ac,_0x11a7d0,_0x228e48){var _0x3bf928=_0x612bd7;_0x228e48=this['cfg'][_0x3bf928(0x1df)](_0x228e48),_0x4f27ac=this['_parse'](_0x4f27ac,_0x228e48[_0x3bf928(0x315)]);var _0x15d378=_0x228e48['kdf'][_0x3bf928(0x387)](_0x11a7d0,_0x4a5018[_0x3bf928(0xd0)],_0x4a5018[_0x3bf928(0x28c)],_0x4f27ac[_0x3bf928(0x41d)],_0x228e48[_0x3bf928(0x1fd)]);_0x228e48['iv']=_0x15d378['iv'];var _0x4c1413=_0x23d23c[_0x3bf928(0x22f)][_0x3bf928(0x1fb)](this,_0x4a5018,_0x4f27ac,_0x15d378[_0x3bf928(0x2c3)],_0x228e48);return _0x4c1413;}});}();}));}(Te)),Te[_0x3cfec9(0x1b9)];}var Ai=fe[_0x2b2344(0x1b9)],tt;function Pi(){return tt||(tt=0x1,function(_0x14cbeb,_0x7ca4e0){(function(_0x96bab8,_0x555241,_0x4c0716){var _0x5035e7=_0x2def;_0x14cbeb[_0x5035e7(0x1b9)]=_0x555241(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x299251){var _0x449752=_0x2def;return(function(){var _0x527d9a=_0x2def,_0x5300fd=_0x299251,_0x46819e=_0x5300fd[_0x527d9a(0x11e)],_0x16f853=_0x46819e[_0x527d9a(0x340)],_0x50d70f=_0x5300fd['algo'],_0x2089ae=[],_0x3514ab=[],_0x3d50c6=[],_0x5d484d=[],_0x10f03d=[],_0x4cf15a=[],_0x197bd7=[],_0x44fd67=[],_0x953f51=[],_0x129b4c=[];(function(){for(var _0x435a06=[],_0x2f59b0=0x0;_0x2f59b0<0x100;_0x2f59b0++)_0x2f59b0<0x80?_0x435a06[_0x2f59b0]=_0x2f59b0<<0x1:_0x435a06[_0x2f59b0]=_0x2f59b0<<0x1^0x11b;for(var _0x1986ea=0x0,_0x30d41e=0x0,_0x2f59b0=0x0;_0x2f59b0<0x100;_0x2f59b0++){var _0x2379f5=_0x30d41e^_0x30d41e<<0x1^_0x30d41e<<0x2^_0x30d41e<<0x3^_0x30d41e<<0x4;_0x2379f5=_0x2379f5>>>0x8^_0x2379f5&0xff^0x63,_0x2089ae[_0x1986ea]=_0x2379f5,_0x3514ab[_0x2379f5]=_0x1986ea;var _0x28047b=_0x435a06[_0x1986ea],_0x4e9e4b=_0x435a06[_0x28047b],_0x303842=_0x435a06[_0x4e9e4b],_0x5b9922=_0x435a06[_0x2379f5]*0x101^_0x2379f5*0x1010100;_0x3d50c6[_0x1986ea]=_0x5b9922<<0x18|_0x5b9922>>>0x8,_0x5d484d[_0x1986ea]=_0x5b9922<<0x10|_0x5b9922>>>0x10,_0x10f03d[_0x1986ea]=_0x5b9922<<0x8|_0x5b9922>>>0x18,_0x4cf15a[_0x1986ea]=_0x5b9922;var _0x5b9922=_0x303842*0x1010101^_0x4e9e4b*0x10001^_0x28047b*0x101^_0x1986ea*0x1010100;_0x197bd7[_0x2379f5]=_0x5b9922<<0x18|_0x5b9922>>>0x8,_0x44fd67[_0x2379f5]=_0x5b9922<<0x10|_0x5b9922>>>0x10,_0x953f51[_0x2379f5]=_0x5b9922<<0x8|_0x5b9922>>>0x18,_0x129b4c[_0x2379f5]=_0x5b9922,_0x1986ea?(_0x1986ea=_0x28047b^_0x435a06[_0x435a06[_0x435a06[_0x303842^_0x28047b]]],_0x30d41e^=_0x435a06[_0x435a06[_0x30d41e]]):_0x1986ea=_0x30d41e=0x1;}}());var _0x23056c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5abf1d=_0x50d70f['AES']=_0x16f853['extend']({'_doReset':function(){var _0x14b83d=_0x527d9a,_0x481350;if(!(this[_0x14b83d(0xe8)]&&this[_0x14b83d(0xd7)]===this['_key'])){for(var _0x2ee584=this[_0x14b83d(0xd7)]=this['_key'],_0x268b99=_0x2ee584[_0x14b83d(0x2b5)],_0x32c668=_0x2ee584[_0x14b83d(0xab)]/0x4,_0x482e7a=this[_0x14b83d(0xe8)]=_0x32c668+0x6,_0x129a3a=(_0x482e7a+0x1)*0x4,_0x3e05d8=this[_0x14b83d(0x365)]=[],_0x4e7941=0x0;_0x4e7941<_0x129a3a;_0x4e7941++)_0x4e7941<_0x32c668?_0x3e05d8[_0x4e7941]=_0x268b99[_0x4e7941]:(_0x481350=_0x3e05d8[_0x4e7941-0x1],_0x4e7941%_0x32c668?_0x32c668>0x6&&_0x4e7941%_0x32c668==0x4&&(_0x481350=_0x2089ae[_0x481350>>>0x18]<<0x18|_0x2089ae[_0x481350>>>0x10&0xff]<<0x10|_0x2089ae[_0x481350>>>0x8&0xff]<<0x8|_0x2089ae[_0x481350&0xff]):(_0x481350=_0x481350<<0x8|_0x481350>>>0x18,_0x481350=_0x2089ae[_0x481350>>>0x18]<<0x18|_0x2089ae[_0x481350>>>0x10&0xff]<<0x10|_0x2089ae[_0x481350>>>0x8&0xff]<<0x8|_0x2089ae[_0x481350&0xff],_0x481350^=_0x23056c[_0x4e7941/_0x32c668|0x0]<<0x18),_0x3e05d8[_0x4e7941]=_0x3e05d8[_0x4e7941-_0x32c668]^_0x481350);for(var _0x4456cf=this['_invKeySchedule']=[],_0x12a34a=0x0;_0x12a34a<_0x129a3a;_0x12a34a++){var _0x4e7941=_0x129a3a-_0x12a34a;if(_0x12a34a%0x4)var _0x481350=_0x3e05d8[_0x4e7941];else var _0x481350=_0x3e05d8[_0x4e7941-0x4];_0x12a34a<0x4||_0x4e7941<=0x4?_0x4456cf[_0x12a34a]=_0x481350:_0x4456cf[_0x12a34a]=_0x197bd7[_0x2089ae[_0x481350>>>0x18]]^_0x44fd67[_0x2089ae[_0x481350>>>0x10&0xff]]^_0x953f51[_0x2089ae[_0x481350>>>0x8&0xff]]^_0x129b4c[_0x2089ae[_0x481350&0xff]];}}},'encryptBlock':function(_0x3b4126,_0x56031a){var _0x203c24=_0x527d9a;this[_0x203c24(0x354)](_0x3b4126,_0x56031a,this[_0x203c24(0x365)],_0x3d50c6,_0x5d484d,_0x10f03d,_0x4cf15a,_0x2089ae);},'decryptBlock':function(_0x21aa0f,_0x1371f3){var _0x3155df=_0x527d9a,_0x553725=_0x21aa0f[_0x1371f3+0x1];_0x21aa0f[_0x1371f3+0x1]=_0x21aa0f[_0x1371f3+0x3],_0x21aa0f[_0x1371f3+0x3]=_0x553725,this[_0x3155df(0x354)](_0x21aa0f,_0x1371f3,this['_invKeySchedule'],_0x197bd7,_0x44fd67,_0x953f51,_0x129b4c,_0x3514ab);var _0x553725=_0x21aa0f[_0x1371f3+0x1];_0x21aa0f[_0x1371f3+0x1]=_0x21aa0f[_0x1371f3+0x3],_0x21aa0f[_0x1371f3+0x3]=_0x553725;},'_doCryptBlock':function(_0x2a62a4,_0x309f5b,_0xe59d17,_0x1e98ed,_0x427956,_0x18e7b9,_0x11f106,_0xf75262){var _0x250006=_0x527d9a;for(var _0xd55b6e=this[_0x250006(0xe8)],_0x58716f=_0x2a62a4[_0x309f5b]^_0xe59d17[0x0],_0x503017=_0x2a62a4[_0x309f5b+0x1]^_0xe59d17[0x1],_0xf67389=_0x2a62a4[_0x309f5b+0x2]^_0xe59d17[0x2],_0x52696a=_0x2a62a4[_0x309f5b+0x3]^_0xe59d17[0x3],_0x28e051=0x4,_0x4c4705=0x1;_0x4c4705<_0xd55b6e;_0x4c4705++){var _0x5b4a40=_0x1e98ed[_0x58716f>>>0x18]^_0x427956[_0x503017>>>0x10&0xff]^_0x18e7b9[_0xf67389>>>0x8&0xff]^_0x11f106[_0x52696a&0xff]^_0xe59d17[_0x28e051++],_0x3dd756=_0x1e98ed[_0x503017>>>0x18]^_0x427956[_0xf67389>>>0x10&0xff]^_0x18e7b9[_0x52696a>>>0x8&0xff]^_0x11f106[_0x58716f&0xff]^_0xe59d17[_0x28e051++],_0x5152bf=_0x1e98ed[_0xf67389>>>0x18]^_0x427956[_0x52696a>>>0x10&0xff]^_0x18e7b9[_0x58716f>>>0x8&0xff]^_0x11f106[_0x503017&0xff]^_0xe59d17[_0x28e051++],_0x3204f3=_0x1e98ed[_0x52696a>>>0x18]^_0x427956[_0x58716f>>>0x10&0xff]^_0x18e7b9[_0x503017>>>0x8&0xff]^_0x11f106[_0xf67389&0xff]^_0xe59d17[_0x28e051++];_0x58716f=_0x5b4a40,_0x503017=_0x3dd756,_0xf67389=_0x5152bf,_0x52696a=_0x3204f3;}var _0x5b4a40=(_0xf75262[_0x58716f>>>0x18]<<0x18|_0xf75262[_0x503017>>>0x10&0xff]<<0x10|_0xf75262[_0xf67389>>>0x8&0xff]<<0x8|_0xf75262[_0x52696a&0xff])^_0xe59d17[_0x28e051++],_0x3dd756=(_0xf75262[_0x503017>>>0x18]<<0x18|_0xf75262[_0xf67389>>>0x10&0xff]<<0x10|_0xf75262[_0x52696a>>>0x8&0xff]<<0x8|_0xf75262[_0x58716f&0xff])^_0xe59d17[_0x28e051++],_0x5152bf=(_0xf75262[_0xf67389>>>0x18]<<0x18|_0xf75262[_0x52696a>>>0x10&0xff]<<0x10|_0xf75262[_0x58716f>>>0x8&0xff]<<0x8|_0xf75262[_0x503017&0xff])^_0xe59d17[_0x28e051++],_0x3204f3=(_0xf75262[_0x52696a>>>0x18]<<0x18|_0xf75262[_0x58716f>>>0x10&0xff]<<0x10|_0xf75262[_0x503017>>>0x8&0xff]<<0x8|_0xf75262[_0xf67389&0xff])^_0xe59d17[_0x28e051++];_0x2a62a4[_0x309f5b]=_0x5b4a40,_0x2a62a4[_0x309f5b+0x1]=_0x3dd756,_0x2a62a4[_0x309f5b+0x2]=_0x5152bf,_0x2a62a4[_0x309f5b+0x3]=_0x3204f3;},'keySize':0x100/0x20});_0x5300fd[_0x527d9a(0x3d1)]=_0x16f853[_0x527d9a(0x290)](_0x5abf1d);}()),_0x299251[_0x449752(0x3d1)];}));}(fe)),fe['exports'];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be['exports'],nt;function ki(){return nt||(nt=0x1,function(_0x3454e7,_0x240164){(function(_0x164055,_0x340e74){_0x3454e7['exports']=_0x340e74(Q());}(xi,function(_0x226e3c){var _0x10e44d=_0x2def;return _0x226e3c[_0x10e44d(0xf1)]['Utf8'];}));}(be)),be['exports'];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe['exports'],rt;function Bi(){var _0x5af3f9=_0x2b2344;return rt||(rt=0x1,function(_0x321a75,_0x568422){(function(_0x248c21,_0x8dffcd){var _0x3f3fef=_0x2def;_0x321a75[_0x3f3fef(0x1b9)]=_0x8dffcd(Q());}(ji,function(_0x212d32){var _0x16a3ea=_0x2def;return(function(){var _0x3335fb=_0x2def;if(typeof ArrayBuffer==_0x3335fb(0x122)){var _0x162941=_0x212d32,_0x416335=_0x162941[_0x3335fb(0x11e)],_0x2befb0=_0x416335[_0x3335fb(0x1ce)],_0x4e0165=_0x2befb0['init'],_0x2ab540=_0x2befb0[_0x3335fb(0xfa)]=function(_0xb4fcc5){var _0x94b4a6=_0x3335fb;if(_0xb4fcc5 instanceof ArrayBuffer&&(_0xb4fcc5=new Uint8Array(_0xb4fcc5)),(_0xb4fcc5 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xb4fcc5 instanceof Uint8ClampedArray||_0xb4fcc5 instanceof Int16Array||_0xb4fcc5 instanceof Uint16Array||_0xb4fcc5 instanceof Int32Array||_0xb4fcc5 instanceof Uint32Array||_0xb4fcc5 instanceof Float32Array||_0xb4fcc5 instanceof Float64Array)&&(_0xb4fcc5=new Uint8Array(_0xb4fcc5[_0x94b4a6(0x30a)],_0xb4fcc5['byteOffset'],_0xb4fcc5[_0x94b4a6(0x373)])),_0xb4fcc5 instanceof Uint8Array){for(var _0x5bc550=_0xb4fcc5['byteLength'],_0x4e89b3=[],_0x23fcb2=0x0;_0x23fcb2<_0x5bc550;_0x23fcb2++)_0x4e89b3[_0x23fcb2>>>0x2]|=_0xb4fcc5[_0x23fcb2]<<0x18-_0x23fcb2%0x4*0x8;_0x4e0165[_0x94b4a6(0x1fb)](this,_0x4e89b3,_0x5bc550);}else _0x4e0165[_0x94b4a6(0x31a)](this,arguments);};_0x2ab540[_0x3335fb(0x265)]=_0x2befb0;}}()),_0x212d32[_0x16a3ea(0x11e)]['WordArray'];}));}(Oe)),Oe[_0x5af3f9(0x1b9)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x2b2344(0x1b9)],st;function Gi(){var _0x50a90a=_0x2b2344;return st||(st=0x1,function(_0x36c1de,_0x1209c8){(function(_0x151df9,_0x1eebd9,_0x48ecc2){var _0x4ed611=_0x2def;_0x36c1de[_0x4ed611(0x1b9)]=_0x1eebd9(Q(),Tt());}(Wi,function(_0xff82bb){var _0xba9943=_0x2def;return _0xff82bb[_0xba9943(0xbd)][_0xba9943(0x17b)]={'pad':function(){},'unpad':function(){}},_0xff82bb['pad'][_0xba9943(0x17b)];}));}(Re)),Re[_0x50a90a(0x1b9)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x3daec9,_0x6a66fe){var _0x32dfda=_0x2b2344;const _0x188e9f=_0x6a66fe-_0x3daec9['length']%_0x6a66fe,_0x19d49e=String[_0x32dfda(0x29f)](_0x188e9f)['repeat'](_0x188e9f);return _0x3daec9+_0x19d49e;}function zi(_0x220dc0,_0x3c567f){var _0x489692=_0x2b2344;const _0x40caec=Vi[_0x489692(0x1c0)](0x10),_0x5ee36f=Ki(_0x220dc0,0x10),_0xcd49b8=Mi[_0x489692(0x33b)](Hi['parse'](_0x5ee36f),it['parse'](_0x3c567f),{'iv':_0x40caec,'padding':qi});return _0x40caec[_0x489692(0x13f)](_0xcd49b8['ciphertext'])[_0x489692(0x1d2)](it);}function Ji(){var _0x466c53=_0x2b2344;const _0x38169c=yt[_0x466c53(0xca)]()[_0x466c53(0x321)];if(_0x38169c){const _0xb97207={'time':Math[_0x466c53(0x125)](Date[_0x466c53(0x1d5)]()/0x3e8),'domain':location[_0x466c53(0x326)]};return zi(JSON[_0x466c53(0xba)](_0xb97207),_0x38169c);}}var Xi=Object[_0x2b2344(0x173)],Zi=(_0x24288c,_0x44ed8e,_0x4118f5,_0x445cf6)=>{for(var _0x1bab54=_0x445cf6>0x1?void 0x0:_0x445cf6?Xi(_0x44ed8e,_0x4118f5):_0x44ed8e,_0x538f19=_0x24288c['length']-0x1,_0x2c09c9;_0x538f19>=0x0;_0x538f19--)(_0x2c09c9=_0x24288c[_0x538f19])&&(_0x1bab54=_0x2c09c9(_0x1bab54)||_0x1bab54);return _0x1bab54;},Qi=(_0x18e5f3,_0x4dba31)=>(_0x53bbf5,_0x5d0e80)=>_0x4dba31(_0x53bbf5,_0x5d0e80,_0x18e5f3);let Ne=class{constructor(_0x52da62){var _0x46a10b=_0x2b2344;this[_0x46a10b(0x14b)]=_0x52da62,this[_0x46a10b(0x350)]();}[_0x2b2344(0x350)](){var _0x1ff030=_0x2b2344;this['_httpService'][_0x1ff030(0x377)]({'interceptor':(_0x4758ce,_0x2f8681)=>{var _0x280fcd=_0x1ff030;const _0x51edee=_0x4758ce[_0x280fcd(0x376)],_0x5c916f=Ji();return _0x5c916f&&_0x51edee[_0x280fcd(0x1e9)](_0x280fcd(0x323),_0x5c916f),_0x2f8681(_0x4758ce);}});}};Ne=Zi([Qi(0x0,a['Inject'](q['HTTPService']))],Ne);var en=Object[_0x2b2344(0x173)],tn=(_0x645675,_0x1cd484,_0x51a9fc,_0x51bf34)=>{var _0x14907a=_0x2b2344;for(var _0x5ec854=_0x51bf34>0x1?void 0x0:_0x51bf34?en(_0x1cd484,_0x51a9fc):_0x1cd484,_0x149abe=_0x645675[_0x14907a(0xe4)]-0x1,_0x2e411e;_0x149abe>=0x0;_0x149abe--)(_0x2e411e=_0x645675[_0x149abe])&&(_0x5ec854=_0x2e411e(_0x5ec854)||_0x5ec854);return _0x5ec854;},we=(_0x1a500,_0x5b9859)=>(_0x543f25,_0x4e941b)=>_0x5b9859(_0x543f25,_0x4e941b,_0x1a500);exports[_0x2b2344(0x19a)]=class extends a[_0x2b2344(0x2e9)]{constructor(_0x1d117d,_0x1fc5fb,_0x4ac185){var _0x16caab=_0x2b2344;super(),A(this,'_unitInfo$',new H[(_0x16caab(0x212))](null)),A(this,_0x16caab(0x151),this[_0x16caab(0x241)][_0x16caab(0x210)]()),(this[_0x16caab(0x30c)]=_0x1d117d,this['_snapshotService']=_0x1fc5fb,this[_0x16caab(0x1a2)]=_0x4ac185);}async[_0x2b2344(0x10b)](_0xeea135,_0x291b9d,_0x69a4d3){var _0x17e2e4=_0x2b2344;this[_0x17e2e4(0x241)]['next']({'unitId':_0xeea135,'type':_0x291b9d});let _0x44dfad=null;switch(_0x291b9d){case J[_0x17e2e4(0x10d)]:{_0x44dfad=await this[_0x17e2e4(0x251)][_0x17e2e4(0x2b4)](_0xeea135,_0x69a4d3);break;}case J[_0x17e2e4(0xb3)]:{_0x44dfad=await this[_0x17e2e4(0x251)][_0x17e2e4(0x190)](_0xeea135,_0x69a4d3);break;}default:{this['_logService'][_0x17e2e4(0x3e1)](_0x17e2e4(0x289),_0x17e2e4(0x12c));break;}}return _0x44dfad;}async[_0x2b2344(0x219)](_0xadc280,_0x3b29ed,_0x1bd340){var _0x241423=_0x2b2344,_0x10c984;this[_0x241423(0x241)][_0x241423(0x1c7)]({'unitId':_0xadc280,'type':_0x3b29ed,'subUnitId':_0x1bd340});let _0x8022f8=0x0;const _0x175287=await((_0x10c984=this['_localCacheService'])==null?void 0x0:_0x10c984[_0x241423(0x109)](_0xadc280));return _0x175287&&(_0x175287[_0x241423(0x137)]||_0x175287[_0x241423(0x3e6)][_0x241423(0xe4)]!==0x0)&&(_0x8022f8=_0x175287[_0x241423(0x188)]),_0x8022f8===0x0&&this['_logService'][_0x241423(0x1f2)](_0x241423(0x289),_0x241423(0x154)),this['loadUnitOfRevision'](_0xadc280,_0x3b29ed,_0x8022f8);}},exports[_0x2b2344(0x19a)]=tn([we(0x0,a[_0x2b2344(0x118)]),we(0x1,a[_0x2b2344(0x327)](p['SnapshotService'])),we(0x2,a[_0x2b2344(0x123)](K))],exports[_0x2b2344(0x19a)]);var nn=Object[_0x2b2344(0x173)],rn=(_0x49bf2c,_0xdb4a84,_0x497816,_0x3c2a8a)=>{var _0x342c2f=_0x2b2344;for(var _0x38f918=_0x3c2a8a>0x1?void 0x0:_0x3c2a8a?nn(_0xdb4a84,_0x497816):_0xdb4a84,_0x22d399=_0x49bf2c[_0x342c2f(0xe4)]-0x1,_0x1643f9;_0x22d399>=0x0;_0x22d399--)(_0x1643f9=_0x49bf2c[_0x22d399])&&(_0x38f918=_0x1643f9(_0x38f918)||_0x38f918);return _0x38f918;},Me=(_0x52978b,_0x5a1694)=>(_0x2267af,_0x344e80)=>_0x5a1694(_0x2267af,_0x344e80,_0x52978b);const sn=['image/png',_0x2b2344(0x3ec),_0x2b2344(0x175),_0x2b2344(0x2d6),_0x2b2344(0x3f0)],on=0x5*0x400*0x400,an=_0x2b2344(0x344),cn=_0x2b2344(0x2e4);exports[_0x2b2344(0x29e)]=class{constructor(_0x3b2013,_0x5c37f,_0x2f4988){var _0x46b2b0=_0x2b2344;A(this,'_waitCount',0x0),A(this,_0x46b2b0(0x127),new H[(_0x46b2b0(0x3e3))]()),A(this,_0x46b2b0(0x20b),this[_0x46b2b0(0x127)]),A(this,_0x46b2b0(0x3c6),new Map()),(this['_httpService']=_0x3b2013,this[_0x46b2b0(0xf4)]=_0x5c37f,this[_0x46b2b0(0x3fe)]=_0x2f4988);}[_0x2b2344(0x426)](_0x444ce0){var _0x6378a8=_0x2b2344;this[_0x6378a8(0x2e8)]=_0x444ce0,this[_0x6378a8(0x127)]['next'](_0x444ce0);}[_0x2b2344(0x124)](_0x1a3628,_0x2dbf20){var _0x5731f2=_0x2b2344;if(_0x2dbf20===z[_0x5731f2(0x159)][_0x5731f2(0x3fc)]){const _0x3888bb=new Image();return _0x3888bb[_0x5731f2(0x232)]=_0x1a3628,_0x3888bb;}return this[_0x5731f2(0x3c6)][_0x5731f2(0x2f6)](_0x1a3628);}[_0x2b2344(0x19e)](_0x48e82d,_0x66e95a,_0x192bfc){var _0x1bc7a7=_0x2b2344;_0x66e95a===z[_0x1bc7a7(0x159)][_0x1bc7a7(0x3fc)]||_0x192bfc==null||this[_0x1bc7a7(0x3c6)][_0x1bc7a7(0x1e9)](_0x48e82d,_0x192bfc);}async['getImage'](_0x1ffffb){var _0x37a225=_0x2b2344;try{const _0x41c3d8=this[_0x37a225(0xd4)](this[_0x37a225(0x3f8)](),''+_0x1ffffb),_0x84c5a9=(await this[_0x37a225(0x14b)][_0x37a225(0x2f6)](_0x41c3d8))[_0x37a225(0x161)];if(_0x84c5a9[_0x37a225(0x3e1)]&&_0x84c5a9[_0x37a225(0x3e1)][_0x37a225(0x20f)]===dt['OK']){const _0x6e0342=new URL(_0x84c5a9['url'],this[_0x37a225(0x32e)]())[_0x37a225(0x1d2)]();return Promise[_0x37a225(0x12e)](_0x6e0342);}return Promise[_0x37a225(0x23d)](_0x84c5a9[_0x37a225(0x3e1)]);}catch(_0xeb59fd){return Promise[_0x37a225(0x23d)](_0xeb59fd);}}async[_0x2b2344(0x29d)](_0x5cc031){var _0x5bd4b7=_0x2b2344;let _0x589563='';if(!sn[_0x5bd4b7(0x256)](_0x5cc031[_0x5bd4b7(0x1bd)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x5bd4b7(0x26d)]['ERROR_IMAGE_TYPE']));if(_0x5cc031[_0x5bd4b7(0x262)]>on)return this[_0x5bd4b7(0x26a)](),Promise[_0x5bd4b7(0x23d)](new Error(z[_0x5bd4b7(0x26d)][_0x5bd4b7(0xf6)]));try{const _0x1f18df=new FormData();_0x1f18df['append'](_0x5bd4b7(0x208),_0x5cc031);const _0x39a2f3=this['_univerInstanceService'][_0x5bd4b7(0x3fb)](),_0x215b15=_0x39a2f3==null?void 0x0:_0x39a2f3[_0x5bd4b7(0x393)]();if(!_0x215b15)throw new Error(_0x5bd4b7(0x41a));const _0x2bfe32=this[_0x5bd4b7(0x25e)]()+_0x5bd4b7(0x2ad)+_0x5cc031[_0x5bd4b7(0x262)][_0x5bd4b7(0x1d2)]()+_0x5bd4b7(0x229)+vt[_0x5bd4b7(0x15b)]+'&assign='+encodeURIComponent(_0x215b15),_0x4b8753={'body':_0x1f18df},_0x26a7e1=(await this[_0x5bd4b7(0x14b)][_0x5bd4b7(0x19c)](_0x2bfe32,_0x4b8753))[_0x5bd4b7(0x161)];if(typeof _0x26a7e1[_0x5bd4b7(0xc3)]!='string')return this[_0x5bd4b7(0x26a)](),Promise['reject'](new Error(z['ImageUploadStatusType']['ERROR_IMAGE']));_0x589563=_0x26a7e1[_0x5bd4b7(0xc3)];}catch{return this['_decreaseWaiting'](),Promise[_0x5bd4b7(0x23d)](new Error(z[_0x5bd4b7(0x26d)]['ERROR_IMAGE']));}return new Promise((_0x3c0e40,_0x2c3993)=>{const _0xd59082=new FileReader();_0xd59082['readAsDataURL'](_0x5cc031),_0xd59082['onload']=_0x255010=>{var _0x5825ce=_0x2def,_0x1d93de;const _0x37d283=(_0x1d93de=_0x255010['target'])==null?void 0x0:_0x1d93de['result'];if(_0x37d283==null){this[_0x5825ce(0x26a)](),_0x2c3993(new Error(z[_0x5825ce(0x26d)][_0x5825ce(0xfb)]));return;}const _0x6c58fd=a[_0x5825ce(0xc1)](0x6);_0x3c0e40({'imageId':_0x6c58fd,'imageSourceType':z[_0x5825ce(0x159)]['UUID'],'source':_0x589563,'base64Cache':_0x37d283,'status':z[_0x5825ce(0x26d)][_0x5825ce(0x3f4)]}),this[_0x5825ce(0x26a)]();};});}[_0x2b2344(0x25e)](){var _0xe80d4e=_0x2b2344,_0x112583;const _0x14ed90=this['_configService'][_0xe80d4e(0x36b)](Y);return(_0x112583=_0x14ed90==null?void 0x0:_0x14ed90[_0xe80d4e(0x3e4)])!=null?_0x112583:an;}[_0x2b2344(0x3f8)](){var _0x27d92f=_0x2b2344,_0x4f1bb9;const _0x13dba4=this[_0x27d92f(0xf4)][_0x27d92f(0x36b)](Y);return(_0x4f1bb9=_0x13dba4==null?void 0x0:_0x13dba4[_0x27d92f(0x3b4)])!=null?_0x4f1bb9:cn;}[_0x2b2344(0x32e)](){var _0x4b0813=_0x2b2344,_0x447dc5;const _0x10c00b=this[_0x4b0813(0xf4)][_0x4b0813(0x36b)](Y);return(_0x447dc5=_0x10c00b==null?void 0x0:_0x10c00b[_0x4b0813(0x3c2)])!=null?_0x447dc5:location[_0x4b0813(0x194)];}[_0x2b2344(0xd4)](_0x1a24cb,_0x4ad926){var _0x2d6cd4=_0x2b2344;return _0x1a24cb[_0x2d6cd4(0xfc)](_0x2d6cd4(0x1da),_0x4ad926);}[_0x2b2344(0x26a)](){var _0x3bf3ef=_0x2b2344;this[_0x3bf3ef(0x2e8)]-=0x1,this[_0x3bf3ef(0x127)][_0x3bf3ef(0x1c7)](this['_waitCount']);}},exports[_0x2b2344(0x29e)]=rn([Me(0x0,a[_0x2b2344(0x327)](q['HTTPService'])),Me(0x1,a['IConfigService']),Me(0x2,a[_0x2b2344(0x327)](a[_0x2b2344(0x174)]))],exports[_0x2b2344(0x29e)]);var hn=Object[_0x2b2344(0x173)],_n=(_0x25fe82,_0x35c216,_0x58efcb,_0x1c2415)=>{for(var _0x2daecf=_0x1c2415>0x1?void 0x0:_0x1c2415?hn(_0x35c216,_0x58efcb):_0x35c216,_0xb3909f=_0x25fe82['length']-0x1,_0x37d38e;_0xb3909f>=0x0;_0xb3909f--)(_0x37d38e=_0x25fe82[_0xb3909f])&&(_0x2daecf=_0x37d38e(_0x2daecf)||_0x2daecf);return _0x2daecf;},ot=(_0x13f6ca,_0x417dc4)=>(_0x5cf107,_0x130db8)=>_0x417dc4(_0x5cf107,_0x130db8,_0x13f6ca);const ln='/universer-api/authz';exports[_0x2b2344(0x158)]=class{constructor(_0xe6fe92,_0x1d2782){var _0x2572b8=_0x2b2344;this[_0x2572b8(0xf4)]=_0xe6fe92,this['_HTTPService']=_0x1d2782;}[_0x2b2344(0x338)](){var _0x3ed4fe=_0x2b2344,_0x500a61;const _0x20777e=this[_0x3ed4fe(0xf4)]['getConfig'](Y);return(_0x500a61=_0x20777e==null?void 0x0:_0x20777e[_0x3ed4fe(0xde)])!=null?_0x500a61:ln;}async[_0x2b2344(0x248)](_0x17255c){var _0x48a3fd=_0x2b2344;const _0x1c6b4d=this[_0x48a3fd(0x338)]()+_0x48a3fd(0xaf);return{'list':[{'title':_0x48a3fd(0x183),'mentions':(await this[_0x48a3fd(0x116)]['get'](_0x1c6b4d,{'params':{'objectID':_0x17255c['unitId'],'unitID':_0x17255c[_0x48a3fd(0x37a)]}}))[_0x48a3fd(0x161)][_0x48a3fd(0x21a)][_0x48a3fd(0x218)](_0x375664=>({'objectId':_0x375664['id'],'name':_0x375664['subject'][_0x48a3fd(0x343)],'metadata':{'icon':_0x375664[_0x48a3fd(0x10a)][_0x48a3fd(0x1e6)]},'label':_0x375664['subject'][_0x48a3fd(0x343)],'objectType':a[_0x48a3fd(0x17c)][_0x48a3fd(0x424)]})),'metadata':{},'type':a[_0x48a3fd(0x17c)][_0x48a3fd(0x424)]}]};}},exports[_0x2b2344(0x158)]=_n([ot(0x0,a['Inject'](a['IConfigService'])),ot(0x1,a[_0x2b2344(0x327)](q[_0x2b2344(0x1ea)]))],exports[_0x2b2344(0x158)]);var un=Object[_0x2b2344(0x173)],dn=(_0x517639,_0x4daa11,_0x3b215d,_0x4b5491)=>{var _0xca81fc=_0x2b2344;for(var _0x23220f=_0x4b5491>0x1?void 0x0:_0x4b5491?un(_0x4daa11,_0x3b215d):_0x4daa11,_0x5d8a58=_0x517639[_0xca81fc(0xe4)]-0x1,_0x53af85;_0x5d8a58>=0x0;_0x5d8a58--)(_0x53af85=_0x517639[_0x5d8a58])&&(_0x23220f=_0x53af85(_0x23220f)||_0x23220f);return _0x23220f;},le=(_0x385cab,_0x8a62a1)=>(_0x551cbd,_0xef87bd)=>_0x8a62a1(_0x551cbd,_0xef87bd,_0x385cab);let De=class extends a[_0x2b2344(0x2e9)]{constructor(_0x35ada,_0x251b2c,_0x27259e,_0x10f028,_0x5bc15a){var _0x3bd877=_0x2b2344;super(),this[_0x3bd877(0x21b)]=_0x35ada,this[_0x3bd877(0x3fe)]=_0x251b2c,this[_0x3bd877(0x358)]=_0x27259e,this[_0x3bd877(0x3e8)]=_0x10f028,this[_0x3bd877(0xdf)]=_0x5bc15a,this[_0x3bd877(0x169)](),this[_0x3bd877(0x412)]();}[_0x2b2344(0x412)](){var _0x4608b3=_0x2b2344;const _0x594d6c=async _0x9f567a=>{var _0x2dd968=_0x2def;(await this[_0x2dd968(0x3e8)][_0x2dd968(0x197)](_0x9f567a))['event$']['pipe'](V['filter'](_0x5d3c67=>_0x5d3c67[_0x2dd968(0x205)]===p['CollaborationEvent'][_0x2dd968(0x22c)]),V[_0x2dd968(0x13d)](this[_0x2dd968(0x2b1)]))[_0x2dd968(0x273)](_0x3ee738=>{var _0x5081e3=_0x2dd968;const _0xac1757=_0x3ee738,{reason:_0x587ab2}=_0xac1757['data'];this[_0x5081e3(0xdf)][_0x5081e3(0xd8)]({'id':Z[_0x5081e3(0x186)],'data':_0x587ab2}),this[_0x5081e3(0x358)][_0x5081e3(0x39f)](new X[(_0x5081e3(0x1dd))](_0x9f567a)['id'],!0x1),this[_0x5081e3(0x3e8)][_0x5081e3(0x2dc)](_0x9f567a);});};H[_0x4608b3(0x14d)](this[_0x4608b3(0x3fe)][_0x4608b3(0x155)](a[_0x4608b3(0x345)][_0x4608b3(0x10d)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4608b3(0x345)][_0x4608b3(0xb3)]))[_0x4608b3(0x352)](V[_0x4608b3(0x218)](_0x4e9e45=>_0x4e9e45[_0x4608b3(0x393)]()),V[_0x4608b3(0x3f6)](_0x37d64e=>!a[_0x4608b3(0x1b0)](_0x37d64e)),V[_0x4608b3(0x13d)](this[_0x4608b3(0x2b1)]))['subscribe'](_0x2ef5d1=>{_0x594d6c(_0x2ef5d1);});}[_0x2b2344(0x169)](){var _0x1b6c3f=_0x2b2344;const _0x1f5d39=async _0x23fec3=>{var _0x58c3da=_0x2def;const _0xfb1b4=await this[_0x58c3da(0x3e8)]['requireSession'](_0x23fec3),_0x58e7f7=this[_0x58c3da(0x21b)][_0x58c3da(0x2f6)](X[_0x58c3da(0x41f)]);_0xfb1b4['event$'][_0x58c3da(0x352)](V[_0x58c3da(0x3f6)](_0x284158=>_0x284158['eventID']===p[_0x58c3da(0x39e)][_0x58c3da(0x107)]),V['takeUntil'](this['dispose$']))[_0x58c3da(0x273)](_0x381e59=>{var _0x7040f3=_0x58c3da;const _0x5da8a4=_0x381e59,{objectId:_0x44aaca}=_0x5da8a4[_0x7040f3(0xdd)];_0x44aaca===_0x23fec3?_0x58e7f7[_0x7040f3(0x427)](_0x23fec3):_0x58e7f7[_0x7040f3(0x240)](_0x23fec3,_0x44aaca);});};H[_0x1b6c3f(0x14d)](this[_0x1b6c3f(0x3fe)][_0x1b6c3f(0x155)](a['UniverInstanceType'][_0x1b6c3f(0x10d)]))[_0x1b6c3f(0x352)](V['map'](_0x1c4fc9=>_0x1c4fc9[_0x1b6c3f(0x393)]()),V[_0x1b6c3f(0x3f6)](_0x156f67=>!a['isInternalEditorID'](_0x156f67)),V[_0x1b6c3f(0x13d)](this[_0x1b6c3f(0x2b1)]))[_0x1b6c3f(0x273)](_0x5a49e5=>{_0x1f5d39(_0x5a49e5);});}};De=dn([le(0x0,a[_0x2b2344(0x327)](a[_0x2b2344(0x32a)])),le(0x1,a[_0x2b2344(0x174)]),le(0x2,a['IPermissionService']),le(0x3,a[_0x2b2344(0x327)](exports[_0x2b2344(0x3c7)])),le(0x4,a[_0x2b2344(0x327)](ee))],De);var vn=Object[_0x2b2344(0x173)],Sn=(_0x23122c,_0x6a65ff,_0x1ed747,_0x343fa4)=>{var _0x538285=_0x2b2344;for(var _0x21fd0a=_0x343fa4>0x1?void 0x0:_0x343fa4?vn(_0x6a65ff,_0x1ed747):_0x6a65ff,_0x28e4dd=_0x23122c[_0x538285(0xe4)]-0x1,_0xe7208c;_0x28e4dd>=0x0;_0x28e4dd--)(_0xe7208c=_0x23122c[_0x28e4dd])&&(_0x21fd0a=_0xe7208c(_0x21fd0a)||_0x21fd0a);return _0x21fd0a;},at=(_0x2d178a,_0x2b97b0)=>(_0xe3304b,_0x1adca1)=>_0x2b97b0(_0xe3304b,_0x1adca1,_0x2d178a);exports['SnapshotServerOverHTTPService']=class{constructor(_0xcb9bea,_0x1ed476){var _0x34c038=_0x2b2344;this[_0x34c038(0xf4)]=_0xcb9bea,this[_0x34c038(0x14b)]=_0x1ed476;}async[_0x2b2344(0x310)](_0x299eda,_0x425e28){var _0x37e0ac=_0x2b2344,_0x558fa7;const {unitID:_0xb56d24,type:_0x3373ee,revision:_0x3611c0=0x0}=_0x425e28,_0x1a948e=this[_0x37e0ac(0x401)]()+'/'+_0x3373ee+'/unit/'+_0xb56d24+'/rev/'+_0x3611c0,_0x5f3a8f=(await this['_httpService'][_0x37e0ac(0x2f6)](_0x1a948e))[_0x37e0ac(0x161)],_0x122ac3=(_0x558fa7=_0x5f3a8f[_0x37e0ac(0x3e0)])==null?void 0x0:_0x558fa7['workbook'];if(_0x122ac3){const _0x2c116b=_0x122ac3==null?void 0x0:_0x122ac3['originalMeta'],_0x240d3f=p[_0x37e0ac(0x15c)]['encode'](p[_0x37e0ac(0x279)](_0x2c116b));_0x122ac3[_0x37e0ac(0x13a)]=_0x240d3f,Object[_0x37e0ac(0x3a4)](_0x122ac3[_0x37e0ac(0x37f)])[_0x37e0ac(0x2fa)](([,_0x257510])=>{var _0x32fb6e=_0x37e0ac;const _0x7370d=_0x257510[_0x32fb6e(0x13a)],_0x1469d5=p[_0x32fb6e(0x15c)][_0x32fb6e(0x23e)](p[_0x32fb6e(0x279)](_0x7370d));_0x257510[_0x32fb6e(0x13a)]=_0x1469d5;});}return _0x5f3a8f;}async[_0x2b2344(0x1a6)](_0x2082db,_0x2af1e0){var _0x35e418=_0x2b2344;const {unitID:_0xc27a7,type:_0xe67f39,blockID:_0xad1499}=_0x2af1e0,_0x3f6783=this['_getAPIPrefix']()+'/'+_0xe67f39+'/unit/'+_0xc27a7+_0x35e418(0x3e5)+_0xad1499;return(await this[_0x35e418(0x14b)]['get'](_0x3f6783))[_0x35e418(0x161)];}async[_0x2b2344(0x299)](_0x161f68,_0x2d7e9a){var _0x289354=_0x2b2344;const {unitID:_0x5cf08c,type:_0x2d7a68,blockID:_0x160adc}=_0x2d7e9a,_0x467d39=this[_0x289354(0x1a0)]()+_0x289354(0x3e5)+_0x2d7a68+_0x289354(0x2c7)+_0x5cf08c+_0x289354(0x3e5)+_0x160adc;return(await this[_0x289354(0x14b)][_0x289354(0x2f6)](_0x467d39))['body'];}async[_0x2b2344(0x37e)](_0x4080a8,_0x1e9b37){var _0x224bec=_0x2b2344;const {unitID:_0x1fe8a4,type:_0x36da57,from:_0x250faa,to:_0x915f8b}=_0x1e9b37,_0x32e08d=this[_0x224bec(0x1a0)]()+'/'+_0x36da57+_0x224bec(0x2c7)+_0x1fe8a4+_0x224bec(0x369)+_0x250faa+_0x224bec(0x402)+_0x915f8b;return(await this[_0x224bec(0x14b)]['get'](_0x32e08d))[_0x224bec(0x161)];}[_0x2b2344(0x401)](){var _0x4b4639=_0x2b2344,_0x4c48a3;return(_0x4c48a3=this[_0x4b4639(0xf4)][_0x4b4639(0x36b)](Dt))!=null?_0x4c48a3:this[_0x4b4639(0x1a0)]();}['_getAPIPrefix'](){var _0x12a8a1=_0x2b2344,_0x235eca;const _0x7e7871=this[_0x12a8a1(0xf4)][_0x12a8a1(0x36b)](Y);return(_0x235eca=_0x7e7871==null?void 0x0:_0x7e7871[_0x12a8a1(0x32b)])!=null?_0x235eca:Nt;}async[_0x2b2344(0x3db)](_0x12e1fd,_0x205149){var _0x1dc309=_0x2b2344;const _0x363fb3=_0x1dc309(0x168)+_0x205149[_0x1dc309(0x1bd)]+'/unit/'+_0x205149[_0x1dc309(0xe5)]+_0x1dc309(0x181);return(await this[_0x1dc309(0x14b)][_0x1dc309(0x2f6)](_0x363fb3,{'params':{'resourceId':JSON[_0x1dc309(0xba)](_0x205149[_0x1dc309(0x269)])}}))['body'];}[_0x2b2344(0x36f)](){var _0x42b9a7=_0x2b2344;throw new Error(_0x42b9a7(0x22b));}[_0x2b2344(0x288)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2b2344(0x16c)](){var _0x13a54f=_0x2b2344;throw new Error(_0x13a54f(0x22b));}[_0x2b2344(0x37b)](){var _0x32a4e3=_0x2b2344;throw new Error(_0x32a4e3(0x22b));}[_0x2b2344(0x15d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2b2344(0x357)](){var _0x17fdfd=_0x2b2344;throw new Error(_0x17fdfd(0x22b));}},exports[_0x2b2344(0x260)]=Sn([at(0x0,a[_0x2b2344(0x24c)]),at(0x1,a[_0x2b2344(0x327)](q[_0x2b2344(0x1ea)]))],exports['SnapshotServerOverHTTPService']);var fn=Object[_0x2b2344(0x173)],In=(_0x31ad4a,_0x530099,_0x488e72,_0x10fa3e)=>{var _0x52897b=_0x2b2344;for(var _0x336b1f=_0x10fa3e>0x1?void 0x0:_0x10fa3e?fn(_0x530099,_0x488e72):_0x530099,_0xc77515=_0x31ad4a[_0x52897b(0xe4)]-0x1,_0x265aa6;_0xc77515>=0x0;_0xc77515--)(_0x265aa6=_0x31ad4a[_0xc77515])&&(_0x336b1f=_0x265aa6(_0x336b1f)||_0x336b1f);return _0x336b1f;},ue=(_0x574a0a,_0x330a0a)=>(_0x576aae,_0x4db54c)=>_0x330a0a(_0x576aae,_0x4db54c,_0x574a0a);exports[_0x2b2344(0x385)]=class extends a[_0x2b2344(0x2e5)]{constructor(_0x2d9301,_0x30f0bc,_0x2f3ed5,_0x136f1b,_0xf93197){var _0x16abfb=_0x2b2344;super(_0x2d9301,_0x30f0bc,_0x2f3ed5),this[_0x16abfb(0x200)]=_0x136f1b,this['_logService']=_0xf93197;}[_0x2b2344(0x24a)](_0x51c329,_0x132285){var _0x5addee=_0x2b2344;const _0x538bb0=this[_0x5addee(0x11c)](_0x51c329);if(_0x538bb0)try{const _0x42f5ec=this['_transformStack'](_0x538bb0,_0x132285);this[_0x5addee(0x1ef)](_0x51c329,_0x42f5ec);}catch(_0x5172a4){this['_logService'][_0x5addee(0x3e1)](_0x5addee(0x249),_0x5172a4),this[_0x5addee(0x2c4)](_0x51c329);}const _0x576b75=this[_0x5addee(0xf7)](_0x51c329);if(_0x576b75)try{const _0x23f792=this['_transformStack'](_0x576b75,_0x132285);this[_0x5addee(0x2ec)](_0x51c329,_0x23f792);}catch(_0x3fcf5f){this['_logService']['error'](_0x3fcf5f),this[_0x5addee(0xeb)](_0x51c329);}}[_0x2b2344(0x2c4)](_0x5c0a9a){var _0x4990c0=_0x2b2344;const _0x402570=this[_0x4990c0(0x11c)](_0x5c0a9a);_0x402570&&(_0x402570[_0x4990c0(0xe4)]=0x0,this[_0x4990c0(0x189)]());}[_0x2b2344(0xeb)](_0x5a3351){var _0x2ea102=_0x2b2344;const _0x9fa81b=this[_0x2ea102(0xf7)](_0x5a3351);_0x9fa81b&&(_0x9fa81b[_0x2ea102(0xe4)]=0x0,this[_0x2ea102(0x189)]());}[_0x2b2344(0x1ef)](_0x319fae,_0x1d3594){this['_undoStacks']['set'](_0x319fae,_0x1d3594),this['_updateStatus']();}[_0x2b2344(0x2ec)](_0x5a07f9,_0x3e4a33){var _0x1599de=_0x2b2344;this[_0x1599de(0x178)][_0x1599de(0x1e9)](_0x5a07f9,_0x3e4a33),this[_0x1599de(0x189)]();}[_0x2b2344(0x422)](_0x3e0649,_0x5b1033){var _0x20a1c3=_0x2b2344;const _0x2006b4=[];let _0x3eca4e=_0x5b1033,_0xc60bfd=_0x5b1033;for(let _0x41506a=_0x3e0649[_0x20a1c3(0xe4)]-0x1;_0x41506a>=0x0;_0x41506a--){const {unitID:_0x13478a,undoMutations:_0xca3ae3,redoMutations:_0x17ea0d}=_0x3e0649[_0x41506a],_0x36e3a0=this[_0x20a1c3(0x200)][_0x20a1c3(0x1d3)](_0x3eca4e,_0xca3ae3),_0x4901dd=this[_0x20a1c3(0x200)][_0x20a1c3(0x1d3)](_0xc60bfd,_0x17ea0d);if(p[_0x20a1c3(0x3b7)](_0x36e3a0)||p[_0x20a1c3(0x3b7)](_0x4901dd)){this[_0x20a1c3(0x30c)]['error']('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x36e3a0,_0x4901dd);break;}_0x3eca4e=_0x36e3a0[_0x20a1c3(0x31d)],_0xc60bfd=_0x4901dd[_0x20a1c3(0x31d)],_0x2006b4[_0x20a1c3(0x134)]({'unitID':_0x13478a,'undoMutations':_0x36e3a0['m2Prime'],'redoMutations':_0x4901dd['m2Prime']});}return _0x2006b4[_0x20a1c3(0x396)]();}},exports[_0x2b2344(0x385)]=In([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x2b2344(0x2f1)]),ue(0x2,a[_0x2b2344(0x399)]),ue(0x3,p[_0x2b2344(0x254)]),ue(0x4,a[_0x2b2344(0x118)])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x2b2344(0x3f9)],mn=Object[_0x2b2344(0x173)],gn=(_0x273f53,_0x213b08,_0x1444e9)=>_0x213b08 in _0x273f53?pn(_0x273f53,_0x213b08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1444e9}):_0x273f53[_0x213b08]=_0x1444e9,En=(_0x126471,_0xe2bddd,_0x750d06,_0x1fbdea)=>{var _0x5c88dd=_0x2b2344;for(var _0x273a30=_0x1fbdea>0x1?void 0x0:_0x1fbdea?mn(_0xe2bddd,_0x750d06):_0xe2bddd,_0x34bf98=_0x126471[_0x5c88dd(0xe4)]-0x1,_0x51ab2e;_0x34bf98>=0x0;_0x34bf98--)(_0x51ab2e=_0x126471[_0x34bf98])&&(_0x273a30=_0x51ab2e(_0x273a30)||_0x273a30);return _0x273a30;},Le=(_0x5849a4,_0x58b962)=>(_0x4a6b82,_0x90f795)=>_0x58b962(_0x4a6b82,_0x90f795,_0x5849a4),Cn=(_0x5f04df,_0xea2088,_0x57353c)=>gn(_0x5f04df,_0xea2088+'',_0x57353c);const Tn=_0x2b2344(0x149);exports[_0x2b2344(0xcc)]=class extends a['Plugin']{constructor(_0x131f7b,_0x3b4dd3,_0x1cd842,_0x3ef385){var _0x2ef464=_0x2b2344;super(),A(this,_0x2ef464(0x2cf)),(this[_0x2ef464(0x30c)]=_0x3b4dd3,this[_0x2ef464(0x21b)]=_0x1cd842,this['_configService']=_0x3ef385);const {..._0x5d9e0d}=a['merge']({},Bt,_0x131f7b);if(!_0x5d9e0d['socketService'])throw new Error(_0x2ef464(0x38c));this[_0x2ef464(0x2cf)]=_0x5d9e0d,this['_configService']['setConfig'](Y,_0x5d9e0d);}['onStarting'](){var _0x62e60e=_0x2b2344;this[_0x62e60e(0x1ab)](),this[_0x62e60e(0x1d6)]();}[_0x2b2344(0x1ab)](){var _0x19937c=_0x2b2344,_0x203314,_0x373ca0;this[_0x19937c(0x21b)][_0x19937c(0x30d)](a['IUndoRedoService'])&&this['_logService'][_0x19937c(0x3e1)](_0x19937c(0x1d4),_0x19937c(0x3d3));const _0x2856d6=a[_0x19937c(0x408)]([[a[_0x19937c(0x3ff)],{'useClass':exports[_0x19937c(0x385)]}],[exports['CollaborationSessionService']],[exports[_0x19937c(0x386)]],[exports[_0x19937c(0x1f5)]],[ye],[Ne],[He],[De],[ee],[exports[_0x19937c(0x19a)]],[$e,{'useClass':this['_config'][_0x19937c(0x104)]}],[p[_0x19937c(0x226)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a['IAuthzIoService'],{'useClass':exports[_0x19937c(0x2d3)]}],[z[_0x19937c(0xe1)],{'useClass':exports[_0x19937c(0x29e)]}],[a['IMentionIOService'],{'useClass':exports[_0x19937c(0x158)]}],[exports[_0x19937c(0xf5)]],[xe]],(_0x203314=this[_0x19937c(0x2cf)])==null?void 0x0:_0x203314[_0x19937c(0x2d4)]);if(!((_0x373ca0=this['_config'])!=null&&_0x373ca0[_0x19937c(0x40a)])){const _0x4119f5=_0x2856d6['findIndex'](([_0x1d6c6f])=>_0x1d6c6f===de);_0x4119f5!==-0x1&&_0x2856d6['splice'](_0x4119f5,0x1);}a['registerDependencies'](this['_injector'],_0x2856d6);}[_0x2b2344(0x1d6)](){var _0x1ad1db=_0x2b2344,_0x305354,_0x7a3bc0,_0x1f212d;this[_0x1ad1db(0x21b)][_0x1ad1db(0x2f6)](q['HTTPService'])[_0x1ad1db(0x377)]({'priority':0x14,'interceptor':q[_0x1ad1db(0x282)]({'maxParallel':0x6})}),(_0x305354=this[_0x1ad1db(0x2cf)])!=null&&_0x305354[_0x1ad1db(0x3cb)]||(_0x7a3bc0=this[_0x1ad1db(0x21b)][_0x1ad1db(0x2f6)](K,a[_0x1ad1db(0x3b5)][_0x1ad1db(0x25a)]))==null||_0x7a3bc0[_0x1ad1db(0x3ac)](),(_0x1f212d=this[_0x1ad1db(0x2cf)])!=null&&_0x1f212d[_0x1ad1db(0x3b9)]&&a[_0x1ad1db(0x224)](this[_0x1ad1db(0x21b)],[[ye]]),a[_0x1ad1db(0x224)](this[_0x1ad1db(0x21b)],[[Ne],[exports['CollaborationController']],[De]]);}},Cn(exports[_0x2b2344(0xcc)],'pluginName',Tn),exports['UniverCollaborationClientPlugin']=En([a['DependentOn'](p[_0x2b2344(0x1bf)],q[_0x2b2344(0x2a7)]),Le(0x1,a['ILogService']),Le(0x2,a[_0x2b2344(0x327)](a[_0x2b2344(0x32a)])),Le(0x3,a[_0x2b2344(0x24c)])],exports[_0x2b2344(0xcc)]),exports[_0x2b2344(0xe0)]=Y,exports[_0x2b2344(0xdc)]=Be,exports[_0x2b2344(0x2f8)]=Z,exports[_0x2b2344(0x245)]=ee,exports[_0x2b2344(0x34d)]=He,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ht,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=jt,exports['DEFAULT_WS_SESSION_TICKET_URL']=At,exports[_0x2b2344(0x2ed)]=_t,exports[_0x2b2344(0x2ea)]=ke,exports[_0x2b2344(0x3fd)]=$e,exports[_0x2b2344(0x293)]=K,exports[_0x2b2344(0xef)]=St,exports[_0x2b2344(0x398)]=de,exports['LOCAL_CACHE_INTERVAL']=xt,exports[_0x2b2344(0x305)]=Lt,exports[_0x2b2344(0x414)]=Ht,exports[_0x2b2344(0x204)]=ut,exports[_0x2b2344(0x3ca)]=re,exports[_0x2b2344(0x1e2)]=je,exports['deserializeToCombResponse']=ft,exports[_0x2b2344(0x259)]=ei,exports['serializeCombRequest']=It;