@univerjs-pro/collaboration-client 0.12.4-experimental.20251211-e01e32a → 0.12.4-insiders.20251211-c28f914

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 (53) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +9 -9
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x54277f=_0x4c0c;(function(_0x11e9ad,_0x23bac8){var _0x2d752a=_0x4c0c,_0x9cb36e=_0x11e9ad();while(!![]){try{var _0xcfe145=parseInt(_0x2d752a(0x173))/0x1*(parseInt(_0x2d752a(0x400))/0x2)+-parseInt(_0x2d752a(0x22a))/0x3*(parseInt(_0x2d752a(0x1a3))/0x4)+-parseInt(_0x2d752a(0x23b))/0x5+-parseInt(_0x2d752a(0x315))/0x6+-parseInt(_0x2d752a(0x153))/0x7*(parseInt(_0x2d752a(0x37e))/0x8)+-parseInt(_0x2d752a(0x1ce))/0x9+parseInt(_0x2d752a(0x147))/0xa;if(_0xcfe145===_0x23bac8)break;else _0x9cb36e['push'](_0x9cb36e['shift']());}catch(_0x3adbdd){_0x9cb36e['push'](_0x9cb36e['shift']());}}}(_0xfa0e,0xe3f2a));var bt=Object[_0x54277f(0x137)],Rt=(_0xc298a3,_0x4c880c,_0x39df28)=>_0x4c880c in _0xc298a3?bt(_0xc298a3,_0x4c880c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39df28}):_0xc298a3[_0x4c880c]=_0x39df28,A=(_0x2bdcd4,_0x39f2c6,_0x5aa4e0)=>Rt(_0x2bdcd4,typeof _0x39f2c6!=_0x54277f(0x3fe)?_0x39f2c6+'':_0x39f2c6,_0x5aa4e0);Object[_0x54277f(0x137)](exports,Symbol[_0x54277f(0x16b)],{'value':_0x54277f(0x2e2)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt=_0x54277f(0x144),Ut=_0x54277f(0x2e7),At=0x7d0,_t=_0x54277f(0x1cc),Pt=_0x54277f(0x272),ht=_0x54277f(0x35d),Lt=0x7530,ke=_0x54277f(0x3ab),lt=0x4e20,Mt=0x4e20,ut=_0x54277f(0x13c),wt=0x3,xt=_0x54277f(0x310),kt=0x3e8,$t=_0x54277f(0x36f),Ht=_0x54277f(0x3b2),jt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Bt=_0x54277f(0x17a);var vt=(_0x33f8b1=>(_0x33f8b1[_0x33f8b1['UNDEFINED']=0x0]='UNDEFINED',_0x33f8b1[_0x33f8b1['OK']=0x1]='OK',_0x33f8b1[_0x33f8b1[_0x54277f(0x3f7)]=0x2]=_0x54277f(0x3f7),_0x33f8b1[_0x33f8b1[_0x54277f(0x24d)]=0x3]='PERMISSION_DENIED',_0x33f8b1[_0x33f8b1[_0x54277f(0x2e9)]=0x4]='NOT_FOUND',_0x33f8b1[_0x33f8b1[_0x54277f(0x3a2)]=0x5]=_0x54277f(0x3a2),_0x33f8b1[_0x33f8b1[_0x54277f(0x290)]=0x6]=_0x54277f(0x290),_0x33f8b1[_0x33f8b1['INVALID_ARGUMENT']=0x7]=_0x54277f(0x365),_0x33f8b1[_0x33f8b1[_0x54277f(0x3e4)]=0x8]='TOO_MANY_REQUESTS',_0x33f8b1[_0x33f8b1[_0x54277f(0x253)]=0x9]=_0x54277f(0x253),_0x33f8b1[_0x33f8b1['LOGIN_FAILED']=0xa]=_0x54277f(0x460),_0x33f8b1[_0x33f8b1[_0x54277f(0x3e6)]=0xb]=_0x54277f(0x3e6),_0x33f8b1[_0x33f8b1[_0x54277f(0x3a9)]=0xc]=_0x54277f(0x3a9),_0x33f8b1[_0x33f8b1[_0x54277f(0x2b8)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x33f8b1[_0x33f8b1[_0x54277f(0x433)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x33f8b1[_0x33f8b1[_0x54277f(0x1a4)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x33f8b1[_0x33f8b1['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x54277f(0x366),_0x33f8b1[_0x33f8b1[_0x54277f(0x36d)]=0x64]=_0x54277f(0x36d),_0x33f8b1[_0x33f8b1[_0x54277f(0x2ab)]=0x65]=_0x54277f(0x2ab),_0x33f8b1[_0x33f8b1[_0x54277f(0x273)]=0xc9]=_0x54277f(0x273),_0x33f8b1[_0x33f8b1[_0x54277f(0x167)]=0xca]=_0x54277f(0x167),_0x33f8b1[_0x33f8b1['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x54277f(0x1c0),_0x33f8b1[_0x33f8b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x54277f(0xec),_0x33f8b1[_0x33f8b1[_0x54277f(0x1de)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x33f8b1[_0x33f8b1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x54277f(0x294),_0x33f8b1[_0x33f8b1[_0x54277f(0x46f)]=0x1b59]=_0x54277f(0x46f),_0x33f8b1[_0x33f8b1[_0x54277f(0x128)]=0x1b5a]=_0x54277f(0x128),_0x33f8b1[_0x33f8b1[_0x54277f(0x1a2)]=0x1b5b]=_0x54277f(0x1a2),_0x33f8b1[_0x33f8b1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x54277f(0x12e),_0x33f8b1[_0x33f8b1[_0x54277f(0x409)]=0x1b5d]='APPLY_DUPLICATED',_0x33f8b1[_0x33f8b1[_0x54277f(0x152)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x33f8b1[_0x33f8b1[_0x54277f(0x38c)]=0x2329]=_0x54277f(0x38c),_0x33f8b1[_0x33f8b1[_0x54277f(0x1b0)]=0x232a]=_0x54277f(0x1b0),_0x33f8b1[_0x33f8b1[_0x54277f(0x1b4)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x33f8b1[_0x33f8b1[_0x54277f(0x3eb)]=0x232c]=_0x54277f(0x3eb),_0x33f8b1[_0x33f8b1['LICENSE_DISTRO_REJECTED']=0x232d]=_0x54277f(0x34a),_0x33f8b1[_0x33f8b1[_0x54277f(0x250)]=0x2711]=_0x54277f(0x250),_0x33f8b1[_0x33f8b1[_0x54277f(0x2a9)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x33f8b1[_0x33f8b1[_0x54277f(0x42b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x33f8b1[_0x33f8b1[_0x54277f(0x13e)]=0x2714]=_0x54277f(0x13e),_0x33f8b1[_0x33f8b1[_0x54277f(0x228)]=0x271a]=_0x54277f(0x228),_0x33f8b1[_0x33f8b1[_0x54277f(0x150)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x33f8b1[_0x33f8b1[_0x54277f(0x43a)]=0x271c]=_0x54277f(0x43a),_0x33f8b1[_0x33f8b1['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x33f8b1[_0x33f8b1[_0x54277f(0x2d2)]=0x271e]=_0x54277f(0x2d2),_0x33f8b1[_0x33f8b1[_0x54277f(0x33c)]=0x271f]=_0x54277f(0x33c),_0x33f8b1[_0x33f8b1[_0x54277f(0x2b6)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x33f8b1[_0x33f8b1[_0x54277f(0x1bf)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x33f8b1[_0x33f8b1[_0x54277f(0x336)]=0x2ee1]=_0x54277f(0x336),_0x33f8b1[_0x33f8b1['INVALID_INVITE_CODE']=0x2ee2]=_0x54277f(0x275),_0x33f8b1[_0x33f8b1[_0x54277f(0x203)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x33f8b1[_0x33f8b1['USER_NOT_INVITED_CODE']=0x2ee4]=_0x54277f(0x1d6),_0x33f8b1[_0x33f8b1[_0x54277f(0x176)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x33f8b1[_0x33f8b1[_0x54277f(0x280)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x33f8b1[_0x33f8b1['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x54277f(0x297),_0x33f8b1[_0x33f8b1[_0x54277f(0x42a)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x33f8b1[_0x33f8b1['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x33f8b1[_0x33f8b1[_0x54277f(0x17d)]=0x36b2]=_0x54277f(0x17d),_0x33f8b1[_0x33f8b1[_0x54277f(0x15d)]=0x36b3]=_0x54277f(0x15d),_0x33f8b1[_0x33f8b1[_0x54277f(0x285)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x33f8b1[_0x33f8b1[_0x54277f(0x3d8)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x33f8b1[_0x33f8b1[_0x54277f(0x1ea)]=0x36b6]=_0x54277f(0x1ea),_0x33f8b1[_0x33f8b1[_0x54277f(0x25e)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x33f8b1[_0x33f8b1['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x54277f(0x234),_0x33f8b1[_0x33f8b1['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x33f8b1[_0x33f8b1['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x54277f(0x235),_0x33f8b1[_0x33f8b1[_0x54277f(0x17e)]=0x3717]=_0x54277f(0x17e),_0x33f8b1[_0x33f8b1[_0x54277f(0x32a)]=0x37dd]=_0x54277f(0x32a),_0x33f8b1[_0x33f8b1[_0x54277f(0x362)]=0x3a99]=_0x54277f(0x362),_0x33f8b1[_0x33f8b1[_0x54277f(0x2f5)]=0x3a9a]=_0x54277f(0x2f5),_0x33f8b1[_0x33f8b1[_0x54277f(0x3cf)]=0x3a9b]=_0x54277f(0x3cf),_0x33f8b1[_0x33f8b1['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x33f8b1[_0x33f8b1[_0x54277f(0x33a)]=0x3a9d]=_0x54277f(0x33a),_0x33f8b1[_0x33f8b1['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x54277f(0x354),_0x33f8b1[_0x33f8b1[_0x54277f(0x151)]=0x3a9f]=_0x54277f(0x151),_0x33f8b1[_0x33f8b1['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x33f8b1[_0x33f8b1[_0x54277f(0x10e)]=-0x1]=_0x54277f(0x10e),_0x33f8b1))(vt||{}),X=(_0x496c5b=>(_0x496c5b[_0x496c5b[_0x54277f(0xf0)]=0x0]='UNIVER_UNKNOWN',_0x496c5b[_0x496c5b[_0x54277f(0x345)]=0x1]='UNIVER_DOC',_0x496c5b[_0x496c5b[_0x54277f(0x1c7)]=0x2]='UNIVER_SHEET',_0x496c5b[_0x496c5b['UNIVER_SLIDE']=0x3]=_0x54277f(0x123),_0x496c5b[_0x496c5b['UNIVER_PROJECT']=0x4]=_0x54277f(0x2d6),_0x496c5b[_0x496c5b[_0x54277f(0x10e)]=-0x1]='UNRECOGNIZED',_0x496c5b))(X||{}),W=(_0x26924f=>(_0x26924f[_0x26924f['UNKNOWN_CMD']=0x0]=_0x54277f(0x3b0),_0x26924f[_0x26924f[_0x54277f(0x471)]=0x1]=_0x54277f(0x471),_0x26924f[_0x26924f[_0x54277f(0x45e)]=0x2]=_0x54277f(0x45e),_0x26924f[_0x26924f[_0x54277f(0x129)]=0x3]=_0x54277f(0x129),_0x26924f[_0x26924f[_0x54277f(0x11f)]=0x4]=_0x54277f(0x11f),_0x26924f[_0x26924f[_0x54277f(0x2fd)]=0x5]='HEARTBEAT',_0x26924f[_0x26924f[_0x54277f(0x2b3)]=0x6]='RECV',_0x26924f[_0x26924f[_0x54277f(0x10e)]=-0x1]='UNRECOGNIZED',_0x26924f))(W||{}),re=(_0x1e73e6=>(_0x1e73e6[_0x1e73e6[_0x54277f(0x3d5)]=0x0]=_0x54277f(0x3d5),_0x1e73e6[_0x1e73e6['OK']=0x1]='OK',_0x1e73e6[_0x1e73e6[_0x54277f(0x3c5)]=0x2]='FAIL',_0x1e73e6[_0x1e73e6[_0x54277f(0x300)]=0x3e9]=_0x54277f(0x300),_0x1e73e6[_0x1e73e6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x54277f(0x34e),_0x1e73e6[_0x1e73e6[_0x54277f(0x435)]=0x3eb]=_0x54277f(0x435),_0x1e73e6[_0x1e73e6[_0x54277f(0x122)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x1e73e6[_0x1e73e6[_0x54277f(0x10e)]=-0x1]=_0x54277f(0x10e),_0x1e73e6))(re||{}),dt=(_0x2f5e06=>(_0x2f5e06[_0x2f5e06['Undefined']=0x0]=_0x54277f(0x2c6),_0x2f5e06[_0x2f5e06[_0x54277f(0x195)]=0x1]=_0x54277f(0x195),_0x2f5e06[_0x2f5e06[_0x54277f(0x2bc)]=0x2]=_0x54277f(0x2bc),_0x2f5e06[_0x2f5e06[_0x54277f(0x302)]=0x3]=_0x54277f(0x302),_0x2f5e06[_0x2f5e06['UnitSnapshot']=0x4]=_0x54277f(0x2ad),_0x2f5e06[_0x2f5e06[_0x54277f(0x159)]=0x5]=_0x54277f(0x159),_0x2f5e06[_0x2f5e06[_0x54277f(0x346)]=0x6]='ClipsheetFragments',_0x2f5e06[_0x2f5e06[_0x54277f(0x10e)]=-0x1]='UNRECOGNIZED',_0x2f5e06))(dt||{});const Ft='collaboration_new_changeset';function Vt(_0x192a9c){return JSON['stringify'](_0x192a9c)['length'];}var J=(_0x21ed17=>(_0x21ed17[_0x54277f(0x1fa)]='OTHER_CLIENT_EDITING',_0x21ed17[_0x54277f(0x24d)]=_0x54277f(0x24d),_0x21ed17[_0x54277f(0x279)]=_0x54277f(0x279),_0x21ed17[_0x54277f(0x2e8)]=_0x54277f(0x2e8),_0x21ed17[_0x54277f(0x461)]=_0x54277f(0x461),_0x21ed17[_0x54277f(0x386)]=_0x54277f(0x386),_0x21ed17[_0x54277f(0x465)]='SOCKET_FAILED',_0x21ed17['SUBMIT_CHANGESET_TIMEOUT']=_0x54277f(0x180),_0x21ed17))(J||{});class ee{constructor(){var _0xb4545d=_0x54277f;A(this,_0xb4545d(0x27a),new j[(_0xb4545d(0x1fe))]()),A(this,_0xb4545d(0x2aa),this['_event$'][_0xb4545d(0x40f)]());}[_0x54277f(0x2a8)](_0x3cbd9c){var _0x265825=_0x54277f;this['_event$'][_0x265825(0x2f7)](_0x3cbd9c);}}class $e{constructor(){var _0x93f6ad=_0x54277f;A(this,_0x93f6ad(0x25d),new j[(_0x93f6ad(0x1fe))]()),A(this,_0x93f6ad(0x166),this[_0x93f6ad(0x25d)][_0x93f6ad(0x40f)]());}[_0x54277f(0x216)](_0x332216){var _0x1470bb=_0x54277f;this[_0x1470bb(0x25d)][_0x1470bb(0x2f7)](_0x332216);}}var Wt=Object[_0x54277f(0x401)],Gt=(_0x4a4db8,_0x5a0394,_0x29c888,_0x59b45e)=>{var _0x179172=_0x54277f;for(var _0x413082=_0x59b45e>0x1?void 0x0:_0x59b45e?Wt(_0x5a0394,_0x29c888):_0x5a0394,_0x4b4ef5=_0x4a4db8[_0x179172(0x3a0)]-0x1,_0x390314;_0x4b4ef5>=0x0;_0x4b4ef5--)(_0x390314=_0x4a4db8[_0x4b4ef5])&&(_0x413082=_0x390314(_0x413082)||_0x413082);return _0x413082;},Ve=(_0x482e84,_0x4ecb86)=>(_0x4ca42c,_0x5394fd)=>_0x4ecb86(_0x4ca42c,_0x5394fd,_0x482e84);exports['MemberService']=class extends o['Disposable']{constructor(_0x5d4c33,_0x505e58){var _0x23dd10=_0x54277f;super(),A(this,_0x23dd10(0x3c9),new Map()),A(this,_0x23dd10(0x46a),new j[(_0x23dd10(0x1fe))]()),(this[_0x23dd10(0x327)]=_0x5d4c33,this[_0x23dd10(0x3e0)]=_0x505e58,this[_0x23dd10(0x317)](j[_0x23dd10(0x42f)](this[_0x23dd10(0x327)][_0x23dd10(0x2c0)](o['UniverInstanceType'][_0x23dd10(0x1c7)])[_0x23dd10(0x1e6)](V[_0x23dd10(0x1db)](_0x5c6da3=>_0x5c6da3[_0x23dd10(0x364)]())),this[_0x23dd10(0x327)][_0x23dd10(0x2c0)](o[_0x23dd10(0x30e)][_0x23dd10(0x345)])[_0x23dd10(0x1e6)](V['map'](_0x5b593e=>_0x5b593e[_0x23dd10(0x364)]())),this[_0x23dd10(0x327)]['getTypeOfUnitDisposed$'](o[_0x23dd10(0x30e)][_0x23dd10(0x123)])[_0x23dd10(0x1e6)](V[_0x23dd10(0x1db)](_0x56894c=>_0x56894c[_0x23dd10(0x364)]())))[_0x23dd10(0x217)](_0x51deb8=>this[_0x23dd10(0x208)](_0x51deb8))));}['waitForRoom$'](_0x184c7e){var _0x288419=_0x54277f;return this[_0x288419(0x3c9)][_0x288419(0x3a5)](_0x184c7e)?j['of'](this[_0x288419(0x3c9)][_0x288419(0x309)](_0x184c7e)):this[_0x288419(0x46a)]['pipe'](V[_0x288419(0x1db)](_0x35d385=>{var _0x4a2e92=_0x288419;if(_0x35d385===_0x184c7e)return this[_0x4a2e92(0x3c9)][_0x4a2e92(0x309)](_0x35d385);}));}[_0x54277f(0x40c)](_0x157429){var _0x5b1419=_0x54277f;this[_0x5b1419(0x3e0)][_0x5b1419(0x40c)](_0x157429);}[_0x54277f(0x31f)](){var _0x4d948e=_0x54277f;return this[_0x4d948e(0x3e0)][_0x4d948e(0x31f)]();}['updateMember'](_0x8d5cf4,_0x35ec6b){var _0x19f613=_0x54277f;let _0x4a623f=this[_0x19f613(0x3c9)][_0x19f613(0x309)](_0x8d5cf4);_0x4a623f||(_0x4a623f=new Yt(),this['_roomMembers'][_0x19f613(0x34b)](_0x8d5cf4,_0x4a623f),this[_0x19f613(0x46a)][_0x19f613(0x2f7)](_0x8d5cf4)),_0x4a623f['updateMember'](_0x35ec6b);}[_0x54277f(0x378)](_0x5030f1,_0xd589de){var _0x37950f=_0x54277f;const _0x5e1826=this[_0x37950f(0x3c9)][_0x37950f(0x309)](_0x5030f1);_0x5e1826&&_0x5e1826[_0x37950f(0x378)](_0xd589de);}[_0x54277f(0x443)](_0x3b3df2){var _0x498547=_0x54277f;return this['_roomMembers'][_0x498547(0x309)](_0x3b3df2);}[_0x54277f(0x230)](_0x4cdf90,_0x7facdf){var _0x364009=_0x54277f;const _0x5b4318=this['_roomMembers'][_0x364009(0x309)](_0x4cdf90);if(_0x5b4318)return _0x5b4318['getMember'](_0x7facdf);}[_0x54277f(0x208)](_0x1d19f4){var _0x249654=_0x54277f;const _0x494c94=this[_0x249654(0x3c9)][_0x249654(0x309)](_0x1d19f4);_0x494c94&&(_0x494c94['dispose'](),this[_0x249654(0x3c9)][_0x249654(0x2a0)](_0x1d19f4));}['dispose'](){var _0x240453=_0x54277f;this[_0x240453(0x3c9)][_0x240453(0x2ae)](_0x380aaf=>_0x380aaf[_0x240453(0x1d0)]()),this[_0x240453(0x3c9)][_0x240453(0x2eb)](),this[_0x240453(0x46a)]['complete']();}},exports[_0x54277f(0x2d1)]=Gt([Ve(0x0,o[_0x54277f(0x277)]),Ve(0x1,o['Inject'](o[_0x54277f(0x3ac)]))],exports[_0x54277f(0x2d1)]);class Yt extends o[_0x54277f(0x391)]{constructor(){var _0x4be2ea=_0x54277f;super(...arguments),A(this,'_members',new Map()),A(this,_0x4be2ea(0x348),new j[(_0x4be2ea(0xea))](this['_members'])),A(this,_0x4be2ea(0x332),this[_0x4be2ea(0x348)][_0x4be2ea(0x40f)]());}['dispose'](){var _0x5d3a10=_0x54277f;this[_0x5d3a10(0x204)][_0x5d3a10(0x2eb)]();}[_0x54277f(0x191)](_0x11f34f){var _0x4e680b=_0x54277f;this[_0x4e680b(0x204)][_0x4e680b(0x34b)](_0x11f34f[_0x4e680b(0x301)],_0x11f34f),this[_0x4e680b(0x22d)]();}['removeMember'](_0x16bf45){var _0x51c15d=_0x54277f;this['_members'][_0x51c15d(0x2a0)](_0x16bf45);}['getMember'](_0x409ed8){var _0x24e67e=_0x54277f;return this[_0x24e67e(0x204)]['get'](_0x409ed8);}[_0x54277f(0x13a)](){var _0x3d6433=_0x54277f;return Array[_0x3d6433(0x160)](this[_0x3d6433(0x204)][_0x3d6433(0x135)]());}[_0x54277f(0x22d)](){var _0x65cd83=_0x54277f;this[_0x65cd83(0x348)][_0x65cd83(0x2f7)](this[_0x65cd83(0x204)]);}}var Kt=Object['getOwnPropertyDescriptor'],qt=(_0x56655e,_0x1e20e7,_0x3eb17d,_0xdaea65)=>{var _0x282863=_0x54277f;for(var _0x12667d=_0xdaea65>0x1?void 0x0:_0xdaea65?Kt(_0x1e20e7,_0x3eb17d):_0x1e20e7,_0x167840=_0x56655e[_0x282863(0x3a0)]-0x1,_0x1e7553;_0x167840>=0x0;_0x167840--)(_0x1e7553=_0x56655e[_0x167840])&&(_0x12667d=_0x1e7553(_0x12667d)||_0x12667d);return _0x12667d;},ce=(_0x28653f,_0x41ef21)=>(_0x2dbd3b,_0xe42b51)=>_0x41ef21(_0x2dbd3b,_0xe42b51,_0x28653f),se=(_0x3b7517=>(_0x3b7517[_0x3b7517[_0x54277f(0x446)]=0x0]=_0x54277f(0x446),_0x3b7517[_0x3b7517[_0x54277f(0x3ef)]=0x1]=_0x54277f(0x3ef),_0x3b7517[_0x3b7517[_0x54277f(0x34d)]=0x2]=_0x54277f(0x34d),_0x3b7517[_0x3b7517[_0x54277f(0x10f)]=0x3]=_0x54277f(0x10f),_0x3b7517))(se||{});function _0x4c0c(_0x459c57,_0x48824b){_0x459c57=_0x459c57-0xe4;var _0xfa0ea8=_0xfa0e();var _0x4c0c14=_0xfa0ea8[_0x459c57];return _0x4c0c14;}const We={[re['FAIL']]:_0x54277f(0x2ba),[re[_0x54277f(0x300)]]:_0x54277f(0x1f2),[re[_0x54277f(0x34e)]]:'session.room-not-exists',[re[_0x54277f(0x435)]]:'session.room-permission-denied',[re[_0x54277f(0x122)]]:_0x54277f(0x202)};exports['CollaborationSession']=class extends o['RxDisposable']{constructor(_0x29fea1,_0x1c7625,_0x337adc,_0x1958ac,_0x53f3fe,_0x177391,_0x24bf17,_0x10772b){var _0x140def=_0x54277f;super(),A(this,'_sessionStatus$',new j['BehaviorSubject'](0x0)),A(this,_0x140def(0x339),this[_0x140def(0x389)]['asObservable']()),A(this,_0x140def(0x27a),new j['Subject']()),A(this,_0x140def(0x2aa),this[_0x140def(0x27a)]['asObservable']()),A(this,_0x140def(0x1ed)),A(this,_0x140def(0x3de)),A(this,_0x140def(0x321)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x140def(0x236),null),(this['_unitID']=_0x29fea1,this[_0x140def(0x20f)]=_0x337adc,this[_0x140def(0x20d)]=_0x1958ac,this['_memberService']=_0x53f3fe,this[_0x140def(0x44e)]=_0x177391,this[_0x140def(0x466)]=_0x24bf17,this[_0x140def(0x406)]=_0x10772b,this[_0x140def(0x35f)]=!!this[_0x140def(0x406)],_0x1c7625['pipe'](j[_0x140def(0x3a7)](this[_0x140def(0x2dd)]))[_0x140def(0x217)](_0x37d0e9=>{var _0x47ada5=_0x140def,_0x14cacd;typeof _0x37d0e9>'u'||(this[_0x47ada5(0x1ed)]=_0x37d0e9,_0x37d0e9?(this[_0x47ada5(0x1c5)](_0x37d0e9),this[_0x47ada5(0x3de)]=_0x37d0e9[_0x47ada5(0x2f8)][_0x47ada5(0x217)](_0x3dfb89=>{var _0x257305=_0x47ada5;_0x3dfb89[_0x257305(0x2a4)]===this['_unitID']&&this[_0x257305(0x1d8)](_0x3dfb89);})):(this[_0x47ada5(0x209)](),this[_0x47ada5(0x389)][_0x47ada5(0x2f7)](0x2),(_0x14cacd=this[_0x47ada5(0x3de)])==null||_0x14cacd[_0x47ada5(0x429)](),this['_socketMessageSubscription']=null));}));}get[_0x54277f(0x40a)](){var _0x151683=_0x54277f;return this[_0x151683(0x389)]['getValue']();}[_0x54277f(0x1d3)](){var _0x39d126=_0x54277f,_0x34c7f5,_0x1b224d;return(_0x1b224d=(_0x34c7f5=this['_socket'])==null?void 0x0:_0x34c7f5[_0x39d126(0x301)])!=null?_0x1b224d:null;}[_0x54277f(0x1d0)](){var _0x2706e2=_0x54277f;super['dispose'](),this[_0x2706e2(0x2dd)][_0x2706e2(0x2f7)](),this['dispose$'][_0x2706e2(0x3c7)]();}['close'](){var _0x10a1bd=_0x54277f,_0x1c54ba,_0x595f28;this[_0x10a1bd(0x209)](),(_0x1c54ba=this[_0x10a1bd(0x1ed)])==null||_0x1c54ba['send']({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x595f28=this['_socket'])==null||_0x595f28[_0x10a1bd(0x3f8)](),this[_0x10a1bd(0x27a)][_0x10a1bd(0x3c7)](),this[_0x10a1bd(0x389)][_0x10a1bd(0x3c7)](),this[_0x10a1bd(0x1d0)]();}[_0x54277f(0x1d8)](_0x5404da){var _0x40f638=_0x54277f;_0x5404da[_0x40f638(0x37d)]===W[_0x40f638(0x45e)]?this[_0x40f638(0x40b)](_0x5404da):_0x5404da[_0x40f638(0x37d)]===W[_0x40f638(0x2b3)]&&this['_onRecvEvent'](_0x5404da);}[_0x54277f(0x1c5)](_0x4ca7a7){var _0xaa3526=_0x54277f;this[_0xaa3526(0x389)]['next'](0x1),_0x4ca7a7[_0xaa3526(0x10a)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xaa3526(0x2ff)]}]}});}[_0x54277f(0x40b)](_0x208020){var _0x4d3dea=_0x54277f,_0x455257;if(_0x208020[_0x4d3dea(0x459)]in We){this[_0x4d3dea(0x466)][_0x4d3dea(0x2a8)]({'id':J[_0x4d3dea(0x461)],'data':We[_0x208020[_0x4d3dea(0x459)]]}),this['_sessionStatus$'][_0x4d3dea(0x2f7)](0x2);return;}this[_0x4d3dea(0x389)][_0x4d3dea(0x2f7)](0x3);const _0x52bee7=(_0x455257=_0x208020[_0x4d3dea(0x213)][_0x4d3dea(0x15f)][this[_0x4d3dea(0x2ff)]])==null?void 0x0:_0x455257[_0x4d3dea(0x37a)];_0x52bee7&&_0x52bee7[_0x4d3dea(0x2ae)](_0x1efb63=>this[_0x4d3dea(0x25a)][_0x4d3dea(0x191)](this[_0x4d3dea(0x2ff)],_0x1efb63));}['_onRecvEvent'](_0x2fdf6c){var _0x33cb5d=_0x54277f;try{const _0x5b988a=_0x2fdf6c['data'];switch(_0x5b988a[_0x33cb5d(0x2cf)]){case E[_0x33cb5d(0x107)][_0x33cb5d(0x155)]:this[_0x33cb5d(0x405)](_0x5b988a),this[_0x33cb5d(0x27a)][_0x33cb5d(0x2f7)](_0x5b988a);break;case E['CollaborationEvent'][_0x33cb5d(0x25f)]:this[_0x33cb5d(0x118)](_0x5b988a),this[_0x33cb5d(0x27a)][_0x33cb5d(0x2f7)](_0x5b988a);break;case E[_0x33cb5d(0x107)][_0x33cb5d(0x441)]:case E[_0x33cb5d(0x107)]['CHANGESET_SHOULD_RETRY']:this[_0x33cb5d(0x3cb)](),this[_0x33cb5d(0x40d)](),this['_event$']['next'](_0x5b988a);break;case E['CollaborationEvent'][_0x33cb5d(0xf3)]:this[_0x33cb5d(0x20f)][_0x33cb5d(0x437)](_0x33cb5d(0x1e0)+JSON[_0x33cb5d(0x2a7)](_0x5b988a)),this['_event$'][_0x33cb5d(0x2f7)](_0x5b988a);break;case E[_0x33cb5d(0x107)][_0x33cb5d(0x46c)]:this[_0x33cb5d(0x44e)][_0x33cb5d(0x216)](_0x5b988a[_0x33cb5d(0x213)]),this[_0x33cb5d(0x27a)][_0x33cb5d(0x2f7)](_0x5b988a);break;default:this['_event$'][_0x33cb5d(0x2f7)](_0x5b988a);}}catch(_0x20d546){this[_0x33cb5d(0x20f)][_0x33cb5d(0x437)](_0x20d546,_0x2fdf6c);}}[_0x54277f(0x405)](_0x50ed6f){var _0x52bf21=_0x54277f;this[_0x52bf21(0x25a)][_0x52bf21(0x191)](this[_0x52bf21(0x2ff)],_0x50ed6f['data']);}[_0x54277f(0x118)](_0xb4a5ae){var _0x4b8f41=_0x54277f;this[_0x4b8f41(0x25a)][_0x4b8f41(0x378)](this[_0x4b8f41(0x2ff)],_0xb4a5ae[_0x4b8f41(0x213)][_0x4b8f41(0x301)]);}async['send'](_0xd97c3,_0x2b008f){var _0x117dbe=_0x54277f;if(this[_0x117dbe(0x40a)]!==0x3||!this[_0x117dbe(0x1ed)])throw new Error(_0x117dbe(0x377));try{_0xd97c3[_0x117dbe(0x2cf)]===E['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x117dbe(0x2da)](),this[_0x117dbe(0x323)](_0xd97c3)),this[_0x117dbe(0x1ed)][_0x117dbe(0x10a)]({'cmd':W[_0x117dbe(0x11f)],'routeKey':_0x2b008f,'routeType':'','data':_0xd97c3});}catch(_0x20a7c3){this[_0x117dbe(0x20f)]['error'](_0x20a7c3);}}[_0x54277f(0x2da)](){var _0x598518=_0x54277f,_0x49feb5;this[_0x598518(0x321)]=setTimeout(()=>{var _0x8b19bd=_0x598518;this[_0x8b19bd(0x321)]=null,this[_0x8b19bd(0x466)][_0x8b19bd(0x2a8)]({'id':J[_0x8b19bd(0x180)]});},(_0x49feb5=this[_0x598518(0x20d)][_0x598518(0x319)](ke))!=null?_0x49feb5:lt);}[_0x54277f(0x40d)](){var _0x5f6ace=_0x54277f;this[_0x5f6ace(0x321)]&&(clearTimeout(this[_0x5f6ace(0x321)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x19ea32){var _0x4bbd74=_0x54277f;if(!this['_shouldReportTelemetry'])return;const {data:_0x4d77e6}=_0x19ea32,{unitID:_0x4b1e19,changeset:_0x1b104b}=_0x4d77e6,{mutations:_0x398f50,type:_0x7eae5f}=_0x1b104b;this[_0x4bbd74(0x236)]={'unitId':_0x4b1e19,'type':_0x7eae5f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x398f50)};}[_0x54277f(0x3cb)](){var _0x26df83=_0x54277f;if(this[_0x26df83(0x35f)]){if(!this[_0x26df83(0x236)]){this['_logService']['error'](_0x26df83(0x1ad),_0x26df83(0x352));return;}this['_telemetryInfo']['stopTime']=performance[_0x26df83(0x262)](),this[_0x26df83(0x236)][_0x26df83(0x207)]=this[_0x26df83(0x236)][_0x26df83(0x36a)]-this[_0x26df83(0x236)][_0x26df83(0x29d)],this[_0x26df83(0x406)][_0x26df83(0x3da)](Ft,this['_telemetryInfo']),this[_0x26df83(0x236)]=null;}}[_0x54277f(0x209)](){this['_telemetryInfo']=null;}},exports[_0x54277f(0x388)]=qt([ce(0x2,o[_0x54277f(0x15b)]),ce(0x3,o[_0x54277f(0x3b4)]),ce(0x4,o[_0x54277f(0x226)](exports[_0x54277f(0x2d1)])),ce(0x5,o[_0x54277f(0x226)]($e)),ce(0x6,o[_0x54277f(0x226)](ee)),ce(0x7,o[_0x54277f(0x229)](Nt[_0x54277f(0x314)]))],exports[_0x54277f(0x388)]);const q=o[_0x54277f(0x2c9)](_0x54277f(0x3c1));function zt(_0x456f4e){var _0x864ec3=_0x54277f;return _0x864ec3(0x112)+_0x456f4e;}var Xt=Object[_0x54277f(0x401)],Jt=(_0x380666,_0x1bac1e,_0x38aff7,_0x5dd6e5)=>{var _0x12ad05=_0x54277f;for(var _0x290d6c=_0x5dd6e5>0x1?void 0x0:_0x5dd6e5?Xt(_0x1bac1e,_0x38aff7):_0x1bac1e,_0x10119d=_0x380666[_0x12ad05(0x3a0)]-0x1,_0x51d44c;_0x10119d>=0x0;_0x10119d--)(_0x51d44c=_0x380666[_0x10119d])&&(_0x290d6c=_0x51d44c(_0x290d6c)||_0x290d6c);return _0x290d6c;},Ue=(_0x1bf915,_0x25d5f5)=>(_0x2826e0,_0x47dda8)=>_0x25d5f5(_0x2826e0,_0x47dda8,_0x1bf915);function Zt(_0x315eed){var _0x181211=_0x54277f;const {unitID:_0x341855,mutations:_0x2269e1}=_0x315eed;return{'unitId':_0x341855,'subUnitId':_0x2269e1[_0x181211(0x3a0)]>0x0?_0x2269e1[0x0][_0x181211(0x18e)]['subUnitId']:null};}exports['SheetTransformSelectionsService']=class{constructor(_0x1f8e8d,_0x56800b,_0x29268f){var _0x4c6d4d=_0x54277f;this[_0x4c6d4d(0x1da)]=_0x1f8e8d,this[_0x4c6d4d(0x30a)]=_0x56800b,this[_0x4c6d4d(0x2e3)]=_0x29268f;}['transformSelections'](_0x4b01dc){var _0x2d233c=_0x54277f,_0x20668e,_0x1b2aaf,_0xbca4de,_0x94906c;const _0x44cbb8=this[_0x2d233c(0x1da)][_0x2d233c(0x309)](Q[_0x2d233c(0x3c8)]),{unitId:_0x5c5cdd,subUnitId:_0x4e6733}=Zt(_0x4b01dc),_0x5c92e2=_0x44cbb8==null?void 0x0:_0x44cbb8[_0x2d233c(0x220)](_0x5c5cdd)[_0x2d233c(0x267)](),_0x2c035e=(_0x1b2aaf=(_0x20668e=this[_0x2d233c(0x2e3)][_0x2d233c(0x165)](_0x5c5cdd))==null?void 0x0:_0x20668e[_0x2d233c(0x1a0)]())==null?void 0x0:_0x1b2aaf[_0x2d233c(0x368)]();if(_0x5c92e2[_0x2d233c(0x3a0)]===0x0||!_0x5c5cdd||!_0x4e6733)return;const _0x43d4a9=[{'id':Q[_0x2d233c(0x1e9)]['id'],'params':{'unitId':_0x5c5cdd,'subUnitId':_0x2c035e,'selections':o[_0x2d233c(0x430)]['deepClone'](_0x5c92e2)}}],_0x3b5bab=this[_0x2d233c(0x30a)][_0x2d233c(0x287)](_0x4b01dc,_0x43d4a9);if(!E[_0x2d233c(0x376)](_0x3b5bab))throw _0x3b5bab[_0x2d233c(0x437)];const _0x24993b=(_0x94906c=(_0xbca4de=_0x3b5bab['m2Prime'][0x0])==null?void 0x0:_0xbca4de['params'])==null?void 0x0:_0x94906c[_0x2d233c(0x3a6)];if(Array[_0x2d233c(0x3d7)](_0x24993b)&&_0x24993b[_0x2d233c(0x3a0)]){if(_0x24993b[_0x2d233c(0x3a0)]===_0x43d4a9[0x0][_0x2d233c(0x18e)]['selections']['length']&&_0x24993b[_0x2d233c(0x444)]((_0x45d0d5,_0x15ab98)=>o[_0x2d233c(0x3fa)][_0x2d233c(0x126)](_0x45d0d5['range'],_0x43d4a9[0x0][_0x2d233c(0x18e)][_0x2d233c(0x3a6)][_0x15ab98][_0x2d233c(0x1f1)])))return;this[_0x2d233c(0x1da)][_0x2d233c(0x309)](o[_0x2d233c(0xf6)])[_0x2d233c(0x2a3)](Q[_0x2d233c(0x1e9)]['id'],{'unitId':_0x5c5cdd,'subUnitId':_0x2c035e,'selections':_0x24993b});}}},exports[_0x54277f(0x450)]=Jt([Ue(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),Ue(0x1,E['ITransformService']),Ue(0x2,o[_0x54277f(0x277)])],exports['SheetTransformSelectionsService']);const ve=o['createIdentifier'](_0x54277f(0x3f1));var He=(_0x2bfc9b=>(_0x2bfc9b[_0x2bfc9b[_0x54277f(0x2df)]=0x0]=_0x54277f(0x2df),_0x2bfc9b[_0x2bfc9b[_0x54277f(0x3bb)]=0x1]='OTHER_CLIENTS_EDITING',_0x2bfc9b))(He||{});const Y=_0x54277f(0x35a),Qt={};function ei(_0x47dce9){var _0x114e6b=_0x54277f,_0x27b201;return!!((_0x27b201=_0x47dce9[_0x114e6b(0x18e)])!=null&&_0x27b201[_0x114e6b(0x2ce)]);}const ti=new Set([Q['InsertSheetMutation']['id']]);function Ge(_0x525b96,_0x24473b,_0x5b31b9,_0x37521a,_0x3de1b6){var _0x356cc6=_0x54277f,_0x337ca4,_0x41f5ba,_0x417b20,_0x4dd14d;const _0x2a3050=[];for(const _0x4a133a of _0x525b96){if(ti[_0x356cc6(0x3a5)](_0x4a133a['id'])){if(_0x2a3050[_0x356cc6(0x3a0)]>0x0)break;_0x2a3050[_0x356cc6(0x394)](_0x4a133a);break;}if(ei(_0x4a133a)){if(_0x2a3050[_0x356cc6(0x3a0)]>0x0)break;_0x2a3050[_0x356cc6(0x394)](_0x4a133a);break;}_0x2a3050[_0x356cc6(0x394)](_0x4a133a);}const _0x3cb104=(_0x41f5ba=(_0x337ca4=_0x3de1b6[_0x356cc6(0x31f)]())==null?void 0x0:_0x337ca4[_0x356cc6(0x198)])!=null?_0x41f5ba:_0x356cc6(0x249),_0x4266c7=(_0x4dd14d=(_0x417b20=_0x3de1b6['getCurrentUser']())==null?void 0x0:_0x417b20[_0x356cc6(0x301)])!=null?_0x4dd14d:_0x356cc6(0x249);return{'changeset':{'unitID':_0x24473b,'type':E['mapDocumentTypeToUniverType'](_0x5b31b9[_0x356cc6(0x247)](_0x24473b)),'baseRev':_0x37521a[_0x356cc6(0x1c9)](_0x24473b),'revision':0x0,'userID':_0x3cb104,'memberID':_0x4266c7,'mutations':_0x2a3050},'pendingMutations':_0x525b96[_0x356cc6(0x1b7)](_0x2a3050['length'])};}function ii(_0x56a582,_0x28f302,_0x218d52,_0x95bc22,_0x56d2a0){var _0x35cd4f=_0x54277f,_0x5ac0dc,_0x76e0d6,_0x301dee,_0x496f3e;const _0x523801=[_0x56a582['reduce']((_0x239ff5,_0x50a889)=>{var _0x29fc34=_0x4c0c,_0x322b25;const {id:_0x37d1a4}=_0x239ff5,{id:_0x5791b4,type:_0x7951f}=_0x50a889,_0x16f203=(_0x322b25=_0x239ff5[_0x29fc34(0x18e)])!=null?_0x322b25:{'actions':null},_0x4e4832=_0x50a889[_0x29fc34(0x18e)];if(_0x37d1a4&&_0x37d1a4!==_0x5791b4)throw new Error(_0x29fc34(0x14e)+_0x37d1a4+_0x29fc34(0x1bd)+_0x5791b4+'.');return{..._0x239ff5,'id':_0x5791b4,'type':_0x7951f,'params':{'unitId':_0x4e4832[_0x29fc34(0x1b8)],'textRanges':_0x4e4832['textRanges'],'actions':o['JSONX'][_0x29fc34(0x34c)](_0x16f203[_0x29fc34(0x11c)],_0x4e4832['actions'])}};},{})],_0x2192b3=(_0x76e0d6=(_0x5ac0dc=_0x56d2a0[_0x35cd4f(0x31f)]())==null?void 0x0:_0x5ac0dc[_0x35cd4f(0x198)])!=null?_0x76e0d6:_0x35cd4f(0x249),_0x1db2ee=(_0x496f3e=(_0x301dee=_0x56d2a0['getCurrentUser']())==null?void 0x0:_0x301dee[_0x35cd4f(0x301)])!=null?_0x496f3e:_0x35cd4f(0x249);return{'changeset':{'unitID':_0x28f302,'type':E['mapDocumentTypeToUniverType'](_0x218d52[_0x35cd4f(0x247)](_0x28f302)),'baseRev':_0x95bc22[_0x35cd4f(0x1c9)](_0x28f302),'revision':0x0,'userID':_0x2192b3,'memberID':_0x1db2ee,'mutations':_0x523801},'pendingMutations':[]};}function St(_0x3b1cb1,_0x2537e3){var _0x34e6da=_0x54277f;const _0x2b8e2d=new j[(_0x34e6da(0x219))](0x1);return setTimeout(()=>_0x2b8e2d[_0x34e6da(0x2f7)](_0x2537e3),_0x3b1cb1),_0x2b8e2d[_0x34e6da(0x40f)]()[_0x34e6da(0x1e6)](j[_0x34e6da(0x15c)](0x1));}var ni=Object['getOwnPropertyDescriptor'],ae=(_0x29ecb0,_0x41cbcc,_0x39f03b,_0x22eae1)=>{for(var _0x33e304=_0x22eae1>0x1?void 0x0:_0x22eae1?ni(_0x41cbcc,_0x39f03b):_0x41cbcc,_0x483a22=_0x29ecb0['length']-0x1,_0x43ce52;_0x483a22>=0x0;_0x483a22--)(_0x43ce52=_0x29ecb0[_0x483a22])&&(_0x33e304=_0x43ce52(_0x33e304)||_0x33e304);return _0x33e304;},L=(_0x12b4e7,_0x3671fc)=>(_0x47a4ee,_0x3c381c)=>_0x3671fc(_0x47a4ee,_0x3c381c,_0x12b4e7),je=(_0x269b67=>(_0x269b67[_0x54277f(0x2f4)]=_0x54277f(0x28a),_0x269b67[_0x54277f(0x426)]=_0x54277f(0x21d),_0x269b67['PENDING']=_0x54277f(0xf5),_0x269b67[_0x54277f(0x201)]=_0x54277f(0x33f),_0x269b67[_0x54277f(0x41f)]='awaiting_with_pending',_0x269b67[_0x54277f(0x390)]='fetch_missing',_0x269b67[_0x54277f(0x279)]=_0x54277f(0x3ca),_0x269b67[_0x54277f(0x34d)]=_0x54277f(0x157),_0x269b67))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x1a4ed6,_0x16da1b,_0x3bc055,_0x225ca3,_0x31e19e,_0x3bbdc1,_0x45f0fa,_0x2aabe7,_0xa6a37a){var _0x21376a=_0x54277f;A(this,'_awaitingChangeset',null),A(this,_0x21376a(0x41e),[]),(this[_0x21376a(0x289)]=_0x1a4ed6,this[_0x21376a(0x24e)]=_0x16da1b,this[_0x21376a(0x22f)]=_0x31e19e,this[_0x21376a(0x41d)]=_0x3bbdc1,this[_0x21376a(0x109)]=_0x45f0fa,this['_revisionService']=_0x2aabe7,this[_0x21376a(0x36c)]=_0xa6a37a,this['_awaitingChangeset']=_0x3bc055,this['_pendingMutations']=_0x225ca3);}[_0x54277f(0x33e)](_0x5cf0cc){var _0xef81c5=_0x54277f;const _0x36e06c=this['_revisionService']['getCurrentRevOfUnit'](this[_0xef81c5(0x289)]);return _0x5cf0cc['revision']>_0x36e06c+0x1?(this[_0xef81c5(0x22f)][_0xef81c5(0x19c)]({'from':_0x36e06c,'to':_0x5cf0cc[_0xef81c5(0x242)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x37965a){var _0x3de2ef=_0x54277f;this[_0x3de2ef(0x109)][_0x3de2ef(0x179)](this[_0x3de2ef(0x289)],_0x37965a);}[_0x54277f(0x1d9)](_0x113e2a){var _0x4f3833=_0x54277f,_0xc9fb8f,_0x370754;(_0x370754=(_0xc9fb8f=this[_0x4f3833(0x22f)])[_0x4f3833(0x421)])==null||_0x370754[_0x4f3833(0x423)](_0xc9fb8f,_0x113e2a);}['_transformIMECache'](_0x12896c){var _0x3b6b7c=_0x54277f,_0x109c6a,_0x2d42fb;return(_0x2d42fb=(_0x109c6a=this[_0x3b6b7c(0x22f)])[_0x3b6b7c(0x1eb)])==null?void 0x0:_0x2d42fb[_0x3b6b7c(0x423)](_0x109c6a,_0x12896c);}[_0x54277f(0x2f6)](_0x2b351b){var _0x4e950d=_0x54277f,_0x1e73d3,_0x344120;return(_0x344120=(_0x1e73d3=this[_0x4e950d(0x22f)])[_0x4e950d(0x185)])==null?void 0x0:_0x344120['call'](_0x1e73d3,_0x2b351b);}[_0x54277f(0x3be)](_0x21869d){var _0x30ed56=_0x54277f,_0x30e08b,_0xb0e4e,_0x291ed5;return(_0x291ed5=(_0xb0e4e=(_0x30e08b=this[_0x30ed56(0x22f)])[_0x30ed56(0x3d1)])==null?void 0x0:_0xb0e4e['call'](_0x30e08b,_0x21869d))!=null?_0x291ed5:_0x21869d;}[_0x54277f(0x188)](_0x558048){var _0x4f973d=_0x54277f,_0xd09b91,_0x4dc3a0,_0x481882;return(_0x481882=(_0x4dc3a0=(_0xd09b91=this[_0x4f973d(0x22f)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4dc3a0['call'](_0xd09b91,_0x558048))!=null?_0x481882:_0x558048;}[_0x54277f(0x1d7)](_0x3f6a4a){var _0x1c7cd9=_0x54277f,_0x2b7aac,_0x2739e1;if(this[_0x1c7cd9(0x24e)]===X[_0x1c7cd9(0x345)]){const {unitID:_0xd1df94,mutations:_0x1fd480,memberID:_0xe782e9}=_0x3f6a4a,_0x59b3ba=_0x1fd480[_0x1c7cd9(0x3a0)]>0x0?_0x1fd480[0x0][_0x1c7cd9(0x18e)]['textRanges']:[];Array[_0x1c7cd9(0x3d7)](_0x59b3ba)&&_0x59b3ba[_0x1c7cd9(0x3a0)]>0x0&&((_0x2739e1=(_0x2b7aac=this[_0x1c7cd9(0x22f)])[_0x1c7cd9(0x1b1)])==null||_0x2739e1[_0x1c7cd9(0x423)](_0x2b7aac,{'unitID':_0xd1df94,'memberID':_0xe782e9,'textRanges':_0x59b3ba}));}}[_0x54277f(0x2b2)](){var _0x44dac8=_0x54277f,_0x593687;(_0x593687=this['_localCacheService'])==null||_0x593687[_0x44dac8(0x281)](this[_0x44dac8(0x289)],this[_0x44dac8(0x24e)],this[_0x44dac8(0x1e4)],this[_0x44dac8(0x41e)]);}[_0x54277f(0x370)](){var _0x18ca36=_0x54277f;return this[_0x18ca36(0x2ca)][_0x18ca36(0x1c9)](this[_0x18ca36(0x289)]);}['_incrementRevisionNumber'](){var _0x2792f6=_0x54277f;this[_0x2792f6(0x2ca)][_0x2792f6(0x1a5)](this[_0x2792f6(0x289)]);}[_0x54277f(0x380)](_0x93bbb3){var _0x3f0320=_0x54277f,_0x282ca4;let _0x3c6e19=this[_0x3f0320(0x3be)](_0x93bbb3);_0x3c6e19=this[_0x3f0320(0x188)](_0x3c6e19);const _0x27a07c=o[_0x3f0320(0x1ef)](_0x3c6e19[_0x3f0320(0x138)],this[_0x3f0320(0x41d)],{'fromCollab':!0x0});if(!_0x27a07c[_0x3f0320(0x357)])throw _0x27a07c[_0x3f0320(0x437)]instanceof Error?_0x27a07c[_0x3f0320(0x437)]:new Error((_0x282ca4=_0x27a07c[_0x3f0320(0x437)])!=null?_0x282ca4:_0x3f0320(0x21e));this[_0x3f0320(0x45b)](_0x3c6e19),this[_0x3f0320(0x2f6)](_0x3c6e19),this[_0x3f0320(0x3a3)](_0x93bbb3),this[_0x3f0320(0x1d9)](_0x3c6e19),this['_syncEditingCollabCursor'](_0x3c6e19),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends oe{constructor(_0x2feb1b,_0x510d03,_0x4a6e1f,_0x544e31,_0x4e88e1,_0x9db8b6,_0x3723cc,_0x2811b4,_0x293703,_0x4a9cc3){var _0x15cc6a=_0x54277f;super(_0x2feb1b,_0x510d03,null,[],_0x4a6e1f,_0x3723cc,_0x9db8b6,_0x544e31,_0x4a9cc3),A(this,_0x15cc6a(0x240),_0x15cc6a(0x21d)),(this[_0x15cc6a(0x1da)]=_0x4e88e1,this['_logService']=_0x2811b4,this[_0x15cc6a(0x30a)]=_0x293703,this[_0x15cc6a(0x3db)]=_0x4a9cc3);}[_0x54277f(0x2e6)](_0x39216f){var _0x545d3a=_0x54277f;const _0x545dd0=this[_0x545d3a(0x1da)]['createInstance'](exports[_0x545d3a(0x438)],this[_0x545d3a(0x289)],this[_0x545d3a(0x24e)],[_0x39216f],this[_0x545d3a(0x22f)]);return _0x545dd0['_schedule'](),_0x545dd0[_0x545d3a(0x2b2)](),_0x545dd0;}[_0x54277f(0x22c)](_0x19dd33){var _0x5116e8=_0x54277f;if(this[_0x5116e8(0x33e)](_0x19dd33))return this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x5116e8(0x289)],this[_0x5116e8(0x24e)],null,[],null,[_0x19dd33],this[_0x5116e8(0x22f)]);try{const _0x1bd350=this[_0x5116e8(0x30a)]['transformMutationsWithChangeset'](_0x19dd33,[E[_0x5116e8(0xf7)]]);if(E['isTransformMutationsWithChangesetSuccess'](_0x1bd350)){const {c1Prime:_0x882b26}=_0x1bd350;return this[_0x5116e8(0x380)](_0x882b26),this;}throw _0x1bd350['error'];}catch(_0x16fa3f){return this[_0x5116e8(0x20f)][_0x5116e8(0x437)](_0x16fa3f),this[_0x5116e8(0x2d7)](!0x1);}}[_0x54277f(0x2d7)](_0x5437e2){var _0x49953a=_0x54277f;return this[_0x49953a(0x1da)][_0x49953a(0x2bd)](exports[_0x49953a(0x224)],this[_0x49953a(0x289)],this[_0x49953a(0x24e)],null,[],this[_0x49953a(0x22f)],_0x5437e2);}[_0x54277f(0x103)](){var _0x513660=_0x54277f;throw new Error(_0x513660(0x145));}[_0x54277f(0x28e)](){var _0x44b7a1=_0x54277f;throw new Error(_0x44b7a1(0x2b7));}[_0x54277f(0x175)](){return this;}['toggleOffline'](){var _0x349555=_0x54277f;return this[_0x349555(0x1da)][_0x349555(0x2bd)](exports[_0x349555(0x2e4)],this[_0x349555(0x289)],this[_0x349555(0x24e)],null,[],this[_0x349555(0x22f)]);}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x26d)](){var _0x3922ab=_0x54277f;throw new Error(_0x3922ab(0x32b));}['fetchMiss'](){var _0x124f69=_0x54277f;const _0x285618=this['_revisionService'][_0x124f69(0x1c9)](this[_0x124f69(0x289)]);return this[_0x124f69(0x22f)]['onMissingChangesets']({'from':_0x285618,'to':0x0}),this[_0x124f69(0x1da)][_0x124f69(0x2bd)](exports[_0x124f69(0x407)],this['unitID'],this[_0x124f69(0x24e)],null,[],null,[],this['_handler']);}},exports[_0x54277f(0x291)]=ae([L(0x3,o[_0x54277f(0x226)](E['RevisionService'])),L(0x4,o['Inject'](o[_0x54277f(0x442)])),L(0x5,o['IUndoRedoService']),L(0x6,o[_0x54277f(0xf6)]),L(0x7,o[_0x54277f(0x15b)]),L(0x8,E['ITransformService']),L(0x9,o['Optional'](q))],exports[_0x54277f(0x291)]),exports[_0x54277f(0x438)]=class extends oe{constructor(_0xb413ba,_0x812278,_0x446c8b,_0x20e2ba,_0x6a57fd,_0x2fa180,_0x2bf4a4,_0xd77b8a,_0x324135,_0x14b8a6,_0x15f774,_0x4d2f9b,_0x3205f0,_0x10231b){var _0x37e6c5=_0x54277f;super(_0xb413ba,_0x812278,null,_0x446c8b,_0x20e2ba,_0x324135,_0x3205f0,_0x2fa180,_0x10231b),A(this,_0x37e6c5(0x240),_0x37e6c5(0xf5)),A(this,_0x37e6c5(0x30f),null),A(this,_0x37e6c5(0x14a),null),(this['_injector']=_0x6a57fd,this[_0x37e6c5(0x25a)]=_0x2bf4a4,this[_0x37e6c5(0x20f)]=_0xd77b8a,this[_0x37e6c5(0x20d)]=_0x14b8a6,this[_0x37e6c5(0x30a)]=_0x15f774,this[_0x37e6c5(0x327)]=_0x4d2f9b);}[_0x54277f(0x2e6)](_0x3d0d8a){var _0x57420f=_0x54277f;return this['_pendingMutations']['push'](_0x3d0d8a),this[_0x57420f(0x2b2)](),this;}[_0x54277f(0x22c)](_0x4da087){var _0x35392a=_0x54277f;if(this['_checkMissing'](_0x4da087))return this[_0x35392a(0x255)](),this['_injector'][_0x35392a(0x2bd)](exports[_0x35392a(0x407)],this[_0x35392a(0x289)],this[_0x35392a(0x24e)],null,this[_0x35392a(0x41e)],null,[_0x4da087],this['_handler']);try{const _0x24d11a=this['_transformService'][_0x35392a(0x287)](_0x4da087,this[_0x35392a(0x41e)]);if(E[_0x35392a(0x376)](_0x24d11a)){const {c1Prime:_0x4820d9,m2Prime:_0x48dbd5}=_0x24d11a;this[_0x35392a(0x380)](_0x4820d9);const _0x237108=this[_0x35392a(0x1da)][_0x35392a(0x2bd)](exports['PendingState'],this[_0x35392a(0x289)],this[_0x35392a(0x24e)],_0x48dbd5,this[_0x35392a(0x22f)]);this[_0x35392a(0x255)]();const _0x48e8e5=new Date()[_0x35392a(0x448)](),_0xcb7f36=this[_0x35392a(0x30f)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x48e8e5,0x0):this[_0x35392a(0x324)]();return _0x237108[_0x35392a(0x1a9)](_0xcb7f36),_0x237108;}throw _0x24d11a['error'];}catch(_0x21ca05){return this[_0x35392a(0x20f)][_0x35392a(0x437)](_0x21ca05),this[_0x35392a(0x2d7)](!0x1);}}[_0x54277f(0x103)](){var _0x22f516=_0x54277f;throw new Error(_0x22f516(0x3ec));}[_0x54277f(0x28e)](){var _0x39e69b=_0x54277f;throw new Error(_0x39e69b(0x335));}[_0x54277f(0x175)](){return this;}['toggleOffline'](){var _0x164096=_0x54277f;return this[_0x164096(0x255)](),this['_injector'][_0x164096(0x2bd)](exports[_0x164096(0x2e4)],this[_0x164096(0x289)],this['type'],null,this[_0x164096(0x41e)],this[_0x164096(0x22f)]);}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x1a9)](_0x3a4321){var _0x5ecaf9=_0x54277f;const _0x5cff9e=_0x3a4321!=null?_0x3a4321:this[_0x5ecaf9(0x324)]();this[_0x5ecaf9(0x30f)]=new Date()[_0x5ecaf9(0x448)]()+_0x5cff9e,this[_0x5ecaf9(0x14a)]=setTimeout(()=>{var _0x2770c1=_0x5ecaf9;this[_0x2770c1(0x255)]();let _0x13dbfb=null;switch(this[_0x2770c1(0x24e)]){case X[_0x2770c1(0x1c7)]:{_0x13dbfb=Ge(this[_0x2770c1(0x41e)],this[_0x2770c1(0x289)],this[_0x2770c1(0x327)],this[_0x2770c1(0x2ca)],this[_0x2770c1(0x25a)]);break;}case X[_0x2770c1(0x345)]:{this[_0x2770c1(0x41e)][_0x2770c1(0x444)](_0xb6eaf4=>_0xb6eaf4['id']===ct[_0x2770c1(0x251)]['id'])?_0x13dbfb=ii(this[_0x2770c1(0x41e)],this[_0x2770c1(0x289)],this[_0x2770c1(0x327)],this[_0x2770c1(0x2ca)],this[_0x2770c1(0x25a)]):_0x13dbfb=Ge(this[_0x2770c1(0x41e)],this[_0x2770c1(0x289)],this[_0x2770c1(0x327)],this[_0x2770c1(0x2ca)],this[_0x2770c1(0x25a)]);break;}default:throw new Error(_0x2770c1(0x141)+this['type']+_0x2770c1(0x192));}const {changeset:_0x1913e2,pendingMutations:_0x3b8d87}=_0x13dbfb;this['_handler'][_0x2770c1(0x214)](_0x1913e2);const _0xc4ffe3=_0x3b8d87[_0x2770c1(0x3a0)]?this[_0x2770c1(0x1da)]['createInstance'](exports[_0x2770c1(0x140)],this[_0x2770c1(0x289)],this[_0x2770c1(0x24e)],_0x1913e2,_0x3b8d87,this[_0x2770c1(0x22f)],void 0x0):this[_0x2770c1(0x1da)]['createInstance'](exports[_0x2770c1(0x259)],this[_0x2770c1(0x289)],this['type'],_0x1913e2,this['_handler']);_0xc4ffe3[_0x2770c1(0x2b2)](),this['_handler']['onStateChange'](this,_0xc4ffe3);},_0x5cff9e);}[_0x54277f(0x324)](){var _0x1abdde=_0x54277f,_0x3cfd1a;const _0x3318c0=this['_configService'][_0x1abdde(0x319)](Y);return(_0x3cfd1a=_0x3318c0==null?void 0x0:_0x3318c0[_0x1abdde(0x206)])!=null?_0x3cfd1a:At;}[_0x54277f(0x26d)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x54277f(0x255)](){var _0x5d2b7f=_0x54277f;this[_0x5d2b7f(0x14a)]!=null&&(clearTimeout(this[_0x5d2b7f(0x14a)]),this[_0x5d2b7f(0x14a)]=null);}[_0x54277f(0x2d7)](_0x4bf782){var _0x53f72c=_0x54277f;return this['_clearScheduledTask'](),this[_0x53f72c(0x1da)][_0x53f72c(0x2bd)](exports[_0x53f72c(0x224)],this[_0x53f72c(0x289)],this[_0x53f72c(0x24e)],null,this['_pendingMutations'],this[_0x53f72c(0x22f)],_0x4bf782);}},exports[_0x54277f(0x438)]=ae([L(0x4,o[_0x54277f(0x226)](o['Injector'])),L(0x5,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x6,o['Inject'](exports[_0x54277f(0x2d1)])),L(0x7,o[_0x54277f(0x15b)]),L(0x8,o[_0x54277f(0xf6)]),L(0x9,o[_0x54277f(0x3b4)]),L(0xa,E[_0x54277f(0x100)]),L(0xb,o[_0x54277f(0x277)]),L(0xc,o[_0x54277f(0x1a7)]),L(0xd,o[_0x54277f(0x229)](q))],exports['PendingState']),exports[_0x54277f(0x259)]=class extends oe{constructor(_0x1c7013,_0x40cc84,_0x3e9ec7,_0xd36768,_0x26e737,_0x3728eb,_0x24f80f,_0x38d841,_0x2fb695,_0x126b42,_0x42008b){var _0x498332=_0x54277f;super(_0x1c7013,_0x40cc84,_0x3e9ec7,[],_0xd36768,_0x24f80f,_0x126b42,_0x3728eb,_0x42008b),A(this,_0x498332(0x240),'awaiting'),A(this,_0x498332(0x252),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,_0x498332(0x2b5)),A(this,_0x498332(0x1d4)),(this[_0x498332(0x1da)]=_0x26e737,this[_0x498332(0x20f)]=_0x38d841,this[_0x498332(0x30a)]=_0x2fb695);}[_0x54277f(0x2e6)](_0xbfa808){var _0x1906f=_0x54277f;this[_0x1906f(0x255)]();const _0x44c05c=this[_0x1906f(0x1da)][_0x1906f(0x2bd)](exports[_0x1906f(0x140)],this[_0x1906f(0x289)],this[_0x1906f(0x24e)],this[_0x1906f(0x1e4)],[_0xbfa808],this[_0x1906f(0x22f)],this[_0x1906f(0x2b5)]);return _0x44c05c[_0x1906f(0x2b2)](),_0x44c05c;}[_0x54277f(0x22c)](_0x5eb42f){var _0x2f4cad=_0x54277f;if(this[_0x2f4cad(0x33e)](_0x5eb42f))return this[_0x2f4cad(0x255)](),this[_0x2f4cad(0x1da)]['createInstance'](exports[_0x2f4cad(0x407)],this[_0x2f4cad(0x289)],this[_0x2f4cad(0x24e)],this[_0x2f4cad(0x1e4)],[],null,[_0x5eb42f],this[_0x2f4cad(0x22f)]);try{const _0x326d3e=this['_transformService']['transformChangesets']([_0x5eb42f],[this[_0x2f4cad(0x1e4)]],!0x1);if(E['isTransformChangesetsSuccess'](_0x326d3e)){const {c1Prime:_0x4332a6,c2Prime:_0x27f6cb}=_0x326d3e;this[_0x2f4cad(0x380)](_0x4332a6[0x0]),_0x27f6cb[0x0][_0x2f4cad(0x29f)]=this['_getCurrentRevision'](),this[_0x2f4cad(0x255)]();const _0xa3226e=this['_injector'][_0x2f4cad(0x2bd)](exports[_0x2f4cad(0x259)],this[_0x2f4cad(0x289)],this[_0x2f4cad(0x24e)],_0x27f6cb[0x0],this[_0x2f4cad(0x22f)]);return _0xa3226e[_0x2f4cad(0x2b2)](),_0xa3226e;}return this[_0x2f4cad(0x2d7)](!0x1);}catch(_0x22c5d1){return this[_0x2f4cad(0x20f)][_0x2f4cad(0x437)](_0x22c5d1),this[_0x2f4cad(0x2d7)](!0x1);}}[_0x54277f(0x103)](_0x500dcf){var _0x2476c1=_0x54277f;this[_0x2476c1(0x255)]();const _0x44f323=this[_0x2476c1(0x2ca)][_0x2476c1(0x1c9)](this['unitID']);if(_0x500dcf[_0x2476c1(0x242)]<_0x44f323-0x1)return this;if(this[_0x2476c1(0x33e)](_0x500dcf))return this[_0x2476c1(0x1da)][_0x2476c1(0x2bd)](exports[_0x2476c1(0x407)],this[_0x2476c1(0x289)],this[_0x2476c1(0x24e)],null,[],this[_0x2476c1(0x1e4)],[],this[_0x2476c1(0x22f)]);this[_0x2476c1(0x341)]();const _0x384c71=this[_0x2476c1(0x1da)][_0x2476c1(0x2bd)](exports['SyncedState'],this['unitID'],this[_0x2476c1(0x24e)],this['_handler']);return _0x384c71[_0x2476c1(0x2b2)](),_0x384c71;}[_0x54277f(0x28e)](_0x4c45aa){var _0x3f6b9d=_0x54277f;return this[_0x3f6b9d(0x2d7)](!!(_0x4c45aa!=null&&_0x4c45aa[_0x3f6b9d(0x373)]));}[_0x54277f(0x175)](_0x29ff9e){var _0x25ee42=_0x54277f;return this[_0x25ee42(0x45d)]>ft?this['toggleOffline']():(this[_0x25ee42(0x2b5)]=St(this[_0x25ee42(0x252)],{'timeout':this[_0x25ee42(0x252)],'reqId':_0x29ff9e[_0x25ee42(0x33d)]}),this[_0x25ee42(0x1d4)]=this['_resendTimer'][_0x25ee42(0x217)](({reqId:_0x2a6fb4,timeout:_0x53ba26})=>{var _0x301845=_0x25ee42;this[_0x301845(0x1b3)](_0x2a6fb4,_0x53ba26);}),this);}[_0x54277f(0x358)](){var _0x4e66c9=_0x54277f;return this['_clearScheduledTask'](),this[_0x4e66c9(0x1da)][_0x4e66c9(0x2bd)](exports[_0x4e66c9(0x2e4)],this[_0x4e66c9(0x289)],this['type'],this['_awaitingChangeset'],[],this[_0x4e66c9(0x22f)]);}['toggleOnline'](){return this;}[_0x54277f(0x26d)](){var _0x4cc311=_0x54277f;this[_0x4cc311(0x22f)][_0x4cc311(0x214)](this[_0x4cc311(0x1e4)]);}[_0x54277f(0x2d7)](_0x5f8ddb){var _0x4c0163=_0x54277f;return this['_clearScheduledTask'](),this[_0x4c0163(0x1da)]['createInstance'](exports[_0x4c0163(0x224)],this[_0x4c0163(0x289)],this[_0x4c0163(0x24e)],this[_0x4c0163(0x1e4)],[],this[_0x4c0163(0x22f)],_0x5f8ddb);}['_resendWithTimeout'](_0x1090bf,_0x3b3dd6){var _0x146a0b=_0x54277f,_0x38de4a;_0x1090bf===((_0x38de4a=this[_0x146a0b(0x1e4)])==null?void 0x0:_0x38de4a[_0x146a0b(0x33d)])&&(this[_0x146a0b(0x26d)](),this[_0x146a0b(0x252)]=_0x3b3dd6===0x0?0x3e8:Math[_0x146a0b(0x139)](_0x3b3dd6*0x2,It),this[_0x146a0b(0x45d)]+=this[_0x146a0b(0x252)]);}[_0x54277f(0x255)](){var _0x305e0c=_0x54277f,_0x26f0f8;(_0x26f0f8=this[_0x305e0c(0x1d4)])==null||_0x26f0f8[_0x305e0c(0x429)](),this['_resendTimeout']=0x0,this[_0x305e0c(0x45d)]=0x0;}},exports[_0x54277f(0x259)]=ae([L(0x4,o['Inject'](o['Injector'])),L(0x5,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x6,o[_0x54277f(0xf6)]),L(0x7,o['ILogService']),L(0x8,E[_0x54277f(0x100)]),L(0x9,o[_0x54277f(0x1a7)]),L(0xa,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x259)]),exports[_0x54277f(0x140)]=class extends oe{constructor(_0x2100aa,_0x4cf503,_0x43fad9,_0x1b6e61,_0x49338f,_0x32cca6,_0x1d4d72,_0x100a27,_0x48ad56,_0xe5c2a8,_0x214277,_0x119f6a,_0x32be83){var _0x234a77=_0x54277f;super(_0x2100aa,_0x4cf503,_0x43fad9,_0x1b6e61,_0x49338f,_0x48ad56,_0x119f6a,_0x100a27,_0x32be83),A(this,_0x234a77(0x240),_0x234a77(0x24f)),A(this,_0x234a77(0x252),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,'_resendTimer'),A(this,_0x234a77(0x1d4)),(this[_0x234a77(0x1da)]=_0x1d4d72,this[_0x234a77(0x20f)]=_0xe5c2a8,this['_transformService']=_0x214277,this[_0x234a77(0x3db)]=_0x32be83,_0x32cca6&&(this['_resendTimer']=_0x32cca6,this[_0x234a77(0x1d4)]=this[_0x234a77(0x2b5)]['subscribe'](({reqId:_0x111c97,timeout:_0x13350f})=>{var _0x1f26be=_0x234a77;this[_0x1f26be(0x1b3)](_0x111c97,_0x13350f);})));}['appendMutation'](_0x145e2e){var _0x4ec5f2=_0x54277f;return this[_0x4ec5f2(0x41e)][_0x4ec5f2(0x394)](_0x145e2e),this;}[_0x54277f(0x22c)](_0x8a7b72){var _0x24a3e4=_0x54277f;if(this['_checkMissing'](_0x8a7b72))return this[_0x24a3e4(0x255)](),this[_0x24a3e4(0x1da)][_0x24a3e4(0x2bd)](exports[_0x24a3e4(0x407)],this['unitID'],this[_0x24a3e4(0x24e)],this[_0x24a3e4(0x1e4)],this['_pendingMutations'],null,[_0x8a7b72],this[_0x24a3e4(0x22f)]);try{const _0x240fff=this['_transformService'][_0x24a3e4(0x14d)]([_0x8a7b72],[this[_0x24a3e4(0x1e4)]],!0x1);if(E[_0x24a3e4(0x30d)](_0x240fff)){const {c1Prime:_0x50a413,c2Prime:_0x46973b}=_0x240fff,_0x13a692=this[_0x24a3e4(0x30a)][_0x24a3e4(0x287)](_0x50a413[0x0],this['_pendingMutations']);if(E[_0x24a3e4(0x376)](_0x13a692)){const {c1Prime:_0x4e05e0,m2Prime:_0x52d7b1}=_0x13a692;return this[_0x24a3e4(0x380)](_0x4e05e0),_0x46973b[0x0][_0x24a3e4(0x29f)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x24a3e4(0x1da)][_0x24a3e4(0x2bd)](exports[_0x24a3e4(0x140)],this['unitID'],this[_0x24a3e4(0x24e)],_0x46973b[0x0],_0x52d7b1,this[_0x24a3e4(0x22f)],void 0x0);}throw _0x13a692[_0x24a3e4(0x437)];}throw _0x240fff[_0x24a3e4(0x437)];}catch(_0x30ca4a){return this[_0x24a3e4(0x20f)][_0x24a3e4(0x437)](_0x30ca4a),this[_0x24a3e4(0x2d7)](!0x1);}}[_0x54277f(0x103)](_0x7201f7){var _0x3dacab=_0x54277f;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x7201f7))return this['_injector'][_0x3dacab(0x2bd)](exports[_0x3dacab(0x407)],this[_0x3dacab(0x289)],this['type'],null,this[_0x3dacab(0x41e)],this['_awaitingChangeset'],[],this[_0x3dacab(0x22f)]);this['_incrementRevisionNumber']();const _0x2386e3=this['_injector'][_0x3dacab(0x2bd)](exports[_0x3dacab(0x438)],this[_0x3dacab(0x289)],this[_0x3dacab(0x24e)],this[_0x3dacab(0x41e)],this[_0x3dacab(0x22f)]);return _0x2386e3['_schedule'](),_0x2386e3['_updateLocalCache'](),_0x2386e3;}[_0x54277f(0x28e)](_0x374f1d){return this['_onConflict'](!!(_0x374f1d!=null&&_0x374f1d['isPermissionRej']));}[_0x54277f(0x175)](_0x497895){var _0x21a702=_0x54277f;return this[_0x21a702(0x45d)]>ft?this[_0x21a702(0x358)]():(this[_0x21a702(0x2b5)]=St(this['_resendTimeout'],{'timeout':this[_0x21a702(0x252)],'reqId':_0x497895[_0x21a702(0x33d)]}),this[_0x21a702(0x1d4)]=this[_0x21a702(0x2b5)][_0x21a702(0x217)](({reqId:_0x3eedcb,timeout:_0x1ca552})=>{var _0x26db0f=_0x21a702;this[_0x26db0f(0x1b3)](_0x3eedcb,_0x1ca552);}),this);}[_0x54277f(0x358)](){var _0xac4cee=_0x54277f;return this['_clearScheduledTask'](),this[_0xac4cee(0x1da)][_0xac4cee(0x2bd)](exports[_0xac4cee(0x2e4)],this[_0xac4cee(0x289)],this[_0xac4cee(0x24e)],this[_0xac4cee(0x1e4)],this[_0xac4cee(0x41e)],this[_0xac4cee(0x22f)]);}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x26d)](){var _0x5ec6b1=_0x54277f;this['_handler']['onSendChangeset'](this[_0x5ec6b1(0x1e4)]);}[_0x54277f(0x2d7)](_0x1bc6e0){var _0x41dd80=_0x54277f;return this[_0x41dd80(0x255)](),this[_0x41dd80(0x1da)]['createInstance'](exports[_0x41dd80(0x224)],this['unitID'],this['type'],null,this[_0x41dd80(0x41e)],this[_0x41dd80(0x22f)],_0x1bc6e0);}['_resendWithTimeout'](_0x538c9f,_0x205a78){var _0x4db469=_0x54277f,_0x3e9934;_0x538c9f===((_0x3e9934=this[_0x4db469(0x1e4)])==null?void 0x0:_0x3e9934['reqId'])&&(this[_0x4db469(0x26d)](),this[_0x4db469(0x252)]=_0x205a78===0x0?0x3e8:Math[_0x4db469(0x139)](_0x205a78*0x2,It),this[_0x4db469(0x45d)]+=this[_0x4db469(0x252)]);}['_clearScheduledTask'](){var _0x136093=_0x54277f,_0x1af9ac;(_0x1af9ac=this[_0x136093(0x1d4)])==null||_0x1af9ac[_0x136093(0x429)](),this[_0x136093(0x252)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x54277f(0x140)]=ae([L(0x6,o['Inject'](o[_0x54277f(0x442)])),L(0x7,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x8,o['ICommandService']),L(0x9,o[_0x54277f(0x15b)]),L(0xa,E[_0x54277f(0x100)]),L(0xb,o[_0x54277f(0x1a7)]),L(0xc,o['Optional'](q))],exports[_0x54277f(0x140)]),exports['ConflictState']=class extends oe{constructor(_0x25a883,_0x14dfe5,_0x56b801,_0x366ad0,_0x1b1c90,_0x147e53=!0x1,_0x667fcb,_0x19c951,_0x35a5a7,_0x5c145d,_0x134e9c,_0x57afc3,_0x2c2943){var _0x302cdf=_0x54277f;super(_0x25a883,_0x14dfe5,_0x56b801,_0x366ad0,_0x1b1c90,_0x19c951,_0x35a5a7,_0x5c145d,_0x2c2943),A(this,_0x302cdf(0x240),_0x302cdf(0x3ca)),(this[_0x302cdf(0x1e2)]=_0x147e53,this['_permissionService']=_0x667fcb,this[_0x302cdf(0x168)]=_0x134e9c,this[_0x302cdf(0x466)]=_0x57afc3,this[_0x302cdf(0x3db)]=_0x2c2943,this[_0x302cdf(0x241)](),this[_0x302cdf(0x1d1)](),this[_0x302cdf(0x104)]());}[_0x54277f(0x2e6)](){return this;}[_0x54277f(0x22c)](){return this;}[_0x54277f(0x103)](){return this;}[_0x54277f(0x28e)](){return this;}['onRemoteRetry'](){return this;}[_0x54277f(0x358)](){return this;}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x26d)](){var _0x34fddd=_0x54277f;throw new Error(_0x34fddd(0x26e));}[_0x54277f(0x1d1)](){var _0x1c0eac=_0x54277f,_0x34dba8;(_0x34dba8=this[_0x1c0eac(0x36c)])==null||_0x34dba8[_0x1c0eac(0x281)](this[_0x1c0eac(0x289)],this['type'],null,[]);}['_showConflictNotification'](){var _0x374b90=_0x54277f;this[_0x374b90(0x1e2)]?this[_0x374b90(0x466)][_0x374b90(0x2a8)]({'id':J['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x374b90(0x2a8)]({'id':J[_0x374b90(0x279)]});}[_0x54277f(0x104)](){var _0x4fedcb=_0x54277f;this['_permissionService'][_0x4fedcb(0x469)](new Q['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},exports[_0x54277f(0x224)]=ae([L(0x6,o['Inject'](o[_0x54277f(0x46e)])),L(0x7,o[_0x54277f(0xf6)]),L(0x8,o[_0x54277f(0x1a7)]),L(0x9,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0xa,o[_0x54277f(0x226)](o['LocaleService'])),L(0xb,o[_0x54277f(0x226)](ee)),L(0xc,o['Optional'](q))],exports[_0x54277f(0x224)]),exports[_0x54277f(0x2e4)]=class extends oe{constructor(_0x82681,_0x447601,_0x10556d,_0xd2c002,_0x1e874f,_0x189c49,_0x2eaae6,_0x5ecc5f,_0x239828,_0x3846cb){var _0x122918=_0x54277f;super(_0x82681,_0x447601,_0x10556d,_0xd2c002,_0x1e874f,_0x5ecc5f,_0x239828,_0x2eaae6,_0x3846cb),A(this,'status',_0x122918(0x157)),this[_0x122918(0x1da)]=_0x189c49;}[_0x54277f(0x2e6)](_0x4617d5){var _0x5a909e=_0x54277f;return this['_pendingMutations'][_0x5a909e(0x394)](_0x4617d5),this[_0x5a909e(0x2b2)](),this;}[_0x54277f(0x22c)](_0xae30c0){var _0x55acc1=_0x54277f;throw new Error(_0x55acc1(0x36e));}[_0x54277f(0x103)](){var _0x58c2a3=_0x54277f;throw new Error(_0x58c2a3(0x326));}[_0x54277f(0x28e)](){var _0x33cce3=_0x54277f;throw new Error(_0x33cce3(0x3e5));}['onRemoteRetry'](){return this;}[_0x54277f(0x358)](){return this;}[_0x54277f(0x3e2)](){var _0x3fd515=_0x54277f;const {_injector:_0x14851a,_pendingMutations:_0x13b165,_awaitingChangeset:_0x5f1263,unitID:_0x1af9e3,_handler:_0x549ba7,type:_0xca1e2a}=this,_0x4cda4a=Et(_0x14851a,_0x1af9e3,_0xca1e2a,_0x5f1263,_0x13b165,_0x549ba7);return _0x4cda4a instanceof exports[_0x3fd515(0x438)]?_0x4cda4a[_0x3fd515(0x1a9)]():(_0x4cda4a instanceof exports[_0x3fd515(0x140)]||_0x4cda4a instanceof exports['AwaitingState'])&&_0x4cda4a[_0x3fd515(0x26d)](),_0x4cda4a;}[_0x54277f(0x26d)](){var _0x35c387=_0x54277f;throw new Error(_0x35c387(0x440));}},exports[_0x54277f(0x2e4)]=ae([L(0x5,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),L(0x6,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x7,o[_0x54277f(0xf6)]),L(0x8,o[_0x54277f(0x1a7)]),L(0x9,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x2e4)]),exports[_0x54277f(0x407)]=class extends oe{constructor(_0x46d2d0,_0x17394f,_0x3c9539,_0xed6d88,_0x3d82a8,_0x5d5816,_0x14edf3,_0x15af5c,_0x19a83c,_0x526437,_0x210315,_0x363ff0,_0x26efd0,_0x58fec2){var _0xc73109=_0x54277f;super(_0x46d2d0,_0x17394f,_0x3c9539,_0xed6d88,_0x14edf3,_0x210315,_0x363ff0,_0x19a83c,_0x58fec2),A(this,_0xc73109(0x240),'fetch_missing'),(this[_0xc73109(0x3ea)]=_0x3d82a8,this[_0xc73109(0xe4)]=_0x5d5816,this['_injector']=_0x15af5c,this[_0xc73109(0x20f)]=_0x526437,this[_0xc73109(0x30a)]=_0x26efd0,this[_0xc73109(0x3db)]=_0x58fec2);}['onMissedChangesetFetched'](_0x14ea5f){var _0x4b2638=_0x54277f;try{const _0x41c3ac=[..._0x14ea5f,...this['_queuedRemoteChangesets']],_0x4289f4=[this[_0x4b2638(0x1e4)]||this[_0x4b2638(0x3ea)]]['filter'](_0x5ef2c6=>!!_0x5ef2c6);let _0x16f22a,_0x342651;if(_0x4289f4[_0x4b2638(0x3a0)]){const _0x542371=this[_0x4b2638(0x30a)][_0x4b2638(0x14d)](_0x41c3ac,_0x4289f4,!0x1);if(!E['isTransformChangesetsSuccess'](_0x542371))throw _0x542371[_0x4b2638(0x437)];_0x16f22a=_0x542371[_0x4b2638(0x3bd)],_0x342651=_0x542371[_0x4b2638(0x293)];}else _0x16f22a=_0x41c3ac,_0x342651=[];let _0x2ba925=this[_0x4b2638(0x41e)];_0x16f22a[_0x4b2638(0x2ae)](_0x2fc6a3=>{var _0x366b23=_0x4b2638;let _0x49b7a7;if(_0x2ba925['length']){const _0x286e4a=this[_0x366b23(0x30a)][_0x366b23(0x287)](_0x2fc6a3,_0x2ba925);if(!E[_0x366b23(0x376)](_0x286e4a))throw _0x286e4a[_0x366b23(0x437)];_0x49b7a7=_0x286e4a[_0x366b23(0x3bd)],_0x2ba925=_0x286e4a['m2Prime'];}else _0x49b7a7=_0x2fc6a3;this[_0x366b23(0x380)](_0x49b7a7);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4b2638(0x341)](),this['_awaitingChangeset']&&_0x342651[_0x4b2638(0x3a0)]&&(_0x342651[0x0][_0x4b2638(0x29f)]=this[_0x4b2638(0x370)]());let _0xef0ab3;if(this[_0x4b2638(0x1e4)]&&_0x2ba925[_0x4b2638(0x3a0)]!==0x0)_0xef0ab3=this['_injector'][_0x4b2638(0x2bd)](exports[_0x4b2638(0x140)],this[_0x4b2638(0x289)],this[_0x4b2638(0x24e)],_0x342651[0x0],_0x2ba925,this[_0x4b2638(0x22f)],void 0x0);else{if(this[_0x4b2638(0x1e4)]&&_0x2ba925[_0x4b2638(0x3a0)]===0x0)_0x342651[0x0][_0x4b2638(0x29f)]=this[_0x4b2638(0x370)](),_0xef0ab3=this[_0x4b2638(0x1da)]['createInstance'](exports[_0x4b2638(0x259)],this[_0x4b2638(0x289)],this[_0x4b2638(0x24e)],_0x342651[0x0],this[_0x4b2638(0x22f)]);else{if(_0x2ba925['length']!==0x0){const _0x3f1b7a=this['_injector'][_0x4b2638(0x2bd)](exports['PendingState'],this[_0x4b2638(0x289)],this[_0x4b2638(0x24e)],_0x2ba925,this['_handler']);_0x3f1b7a[_0x4b2638(0x1a9)](),_0xef0ab3=_0x3f1b7a;}else _0xef0ab3=this[_0x4b2638(0x1da)][_0x4b2638(0x2bd)](exports[_0x4b2638(0x291)],this['unitID'],this[_0x4b2638(0x24e)],this[_0x4b2638(0x22f)]);}}return _0xef0ab3[_0x4b2638(0x2b2)](),_0xef0ab3;}catch(_0x40ee00){return this[_0x4b2638(0x20f)][_0x4b2638(0x437)]('[FetchMissState]',_0x4b2638(0x45a),_0x40ee00),this[_0x4b2638(0x1da)][_0x4b2638(0x2bd)](exports[_0x4b2638(0x224)],this[_0x4b2638(0x289)],this[_0x4b2638(0x24e)],this['_awaitingChangeset'],this[_0x4b2638(0x41e)],this[_0x4b2638(0x22f)],!0x1);}}[_0x54277f(0x26d)](){var _0x2c004e=_0x54277f;throw new Error(_0x2c004e(0x415));}[_0x54277f(0x2e6)](_0x252b6a){var _0x4a0cf4=_0x54277f;return this[_0x4a0cf4(0x41e)][_0x4a0cf4(0x394)](_0x252b6a),this;}['onRemoteChangeset'](_0x528d59){var _0x37bbe0=_0x54277f;return this[_0x37bbe0(0xe4)][_0x37bbe0(0x394)](_0x528d59),this;}[_0x54277f(0x103)](_0x1ad060){var _0x5360a7=_0x54277f;if(this[_0x5360a7(0x1e4)])return this['_acknowledgedAwaitingChangeset']=this[_0x5360a7(0x1e4)],this['_awaitingChangeset']=null,this;throw new Error(_0x5360a7(0x23a));}[_0x54277f(0x28e)](_0x2d0b9d){var _0x3c5614=_0x54277f;return this['_onConflict'](!!(_0x2d0b9d!=null&&_0x2d0b9d[_0x3c5614(0x373)]));}[_0x54277f(0x175)](){return this;}['toggleOffline'](){var _0x4ebe31=_0x54277f;return this[_0x4ebe31(0x1da)]['createInstance'](exports[_0x4ebe31(0x2e4)],this[_0x4ebe31(0x289)],this[_0x4ebe31(0x24e)],this[_0x4ebe31(0x1e4)],this[_0x4ebe31(0x41e)],this[_0x4ebe31(0x22f)]);}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x2d7)](_0x33c23c){var _0x504520=_0x54277f;return this['_injector'][_0x504520(0x2bd)](exports[_0x504520(0x224)],this[_0x504520(0x289)],this[_0x504520(0x24e)],this[_0x504520(0x1e4)],this[_0x504520(0x41e)],this[_0x504520(0x22f)],_0x33c23c);}},exports[_0x54277f(0x407)]=ae([L(0x7,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),L(0x8,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x9,o[_0x54277f(0x15b)]),L(0xa,o['ICommandService']),L(0xb,o[_0x54277f(0x1a7)]),L(0xc,E['ITransformService']),L(0xd,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x407)]);function Et(_0x3d9bbe,_0x44335a,_0x4119dd,_0x348041,_0x7b034c,_0x3fff8b){var _0x1cac9d=_0x54277f;return _0x348041&&_0x7b034c[_0x1cac9d(0x3a0)]?_0x3d9bbe[_0x1cac9d(0x2bd)](exports['AwaitingWithPendingState'],_0x44335a,_0x4119dd,_0x348041,_0x7b034c,_0x3fff8b,void 0x0):_0x348041?_0x3d9bbe[_0x1cac9d(0x2bd)](exports['AwaitingState'],_0x44335a,_0x4119dd,_0x348041,_0x3fff8b):_0x7b034c['length']?_0x3d9bbe[_0x1cac9d(0x2bd)](exports[_0x1cac9d(0x438)],_0x44335a,_0x4119dd,_0x7b034c,_0x3fff8b):_0x3d9bbe[_0x1cac9d(0x2bd)](exports[_0x1cac9d(0x291)],_0x44335a,_0x4119dd,_0x3fff8b);}var si=Object[_0x54277f(0x401)],Be=(_0x6cdedb,_0x4cd274,_0x4f92cf,_0x549bad)=>{var _0x463e1b=_0x54277f;for(var _0x5dfd46=_0x549bad>0x1?void 0x0:_0x549bad?si(_0x4cd274,_0x4f92cf):_0x4cd274,_0x5bf1a=_0x6cdedb[_0x463e1b(0x3a0)]-0x1,_0xd322fa;_0x5bf1a>=0x0;_0x5bf1a--)(_0xd322fa=_0x6cdedb[_0x5bf1a])&&(_0x5dfd46=_0xd322fa(_0x5dfd46)||_0x5dfd46);return _0x5dfd46;},$=(_0x585bba,_0x3cdda0)=>(_0x3bf2a6,_0x232c3b)=>_0x3cdda0(_0x3bf2a6,_0x232c3b,_0x585bba);exports[_0x54277f(0x16a)]=class extends o['RxDisposable']{constructor(_0x2c534a,_0x396395,_0x2d7238,_0x48225a,_0x1661ad,_0xa06639,_0x56b264,_0x55b7ad,_0x264eb6,_0x5d966d,_0x8d9300,_0xe00888,_0x474087,_0x4e8452){var _0x10f9aa=_0x54277f;super(),A(this,_0x10f9aa(0x21f),new j[(_0x10f9aa(0xea))](null)),A(this,_0x10f9aa(0x306),this[_0x10f9aa(0x21f)][_0x10f9aa(0x40f)]()),A(this,_0x10f9aa(0x244)),A(this,_0x10f9aa(0x3fd),!0x1),A(this,_0x10f9aa(0x27c),''),A(this,_0x10f9aa(0x125),0x0),A(this,'status$',this[_0x10f9aa(0x306)][_0x10f9aa(0x1e6)](j['map'](_0x4eac8e=>_0x4eac8e?_0x4eac8e[_0x10f9aa(0x240)]:je[_0x10f9aa(0x34d)]),j['shareReplay'](0x1))),A(this,_0x10f9aa(0x1ab),!0x1),A(this,_0x10f9aa(0x23f),[]),(this['unitID']=_0x2c534a,this[_0x10f9aa(0x221)]=_0x396395,this[_0x10f9aa(0x227)]=_0x2d7238,this['_injector']=_0x48225a,this[_0x10f9aa(0x1a6)]=_0x1661ad,this[_0x10f9aa(0x168)]=_0xa06639,this[_0x10f9aa(0x2ca)]=_0x56b264,this[_0x10f9aa(0x399)]=_0x55b7ad,this['_univerInstanceService']=_0x264eb6,this[_0x10f9aa(0x20f)]=_0x5d966d,this['_commandService']=_0x8d9300,this[_0x10f9aa(0x39c)]=_0xe00888,this[_0x10f9aa(0x2ea)]=_0x474087,this[_0x10f9aa(0x36c)]=_0x4e8452);}get[_0x54277f(0x436)](){var _0x698f52=_0x54277f;return this[_0x698f52(0x244)];}async['init'](){if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,o['toDisposable'](()=>{var _0x1eb86f=_0x4c0c;this[_0x1eb86f(0x3fd)]=!0x1,this[_0x1eb86f(0x1ac)]();});}[_0x54277f(0x43f)](_0x44b530){var _0x85cf58=_0x54277f;this[_0x85cf58(0x3a4)](_0x44b530);}[_0x54277f(0x17c)](_0x14ca38){var _0x374eb0=_0x54277f;this[_0x374eb0(0x244)]=_0x14ca38,this['_state$'][_0x374eb0(0x2f7)](_0x14ca38);}async[_0x54277f(0x404)](){var _0x19c517=_0x54277f,_0x4b097e;this[_0x19c517(0x17c)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x4b097e=this[_0x19c517(0x2ea)])==null||_0x4b097e[_0x19c517(0x1d5)](this[_0x19c517(0x289)]),this[_0x19c517(0x317)](this[_0x19c517(0x2ea)][_0x19c517(0x16c)](this[_0x19c517(0x289)])[_0x19c517(0x217)](_0x4de3c3=>{var _0x21489e=_0x19c517;this[_0x21489e(0x20f)][_0x21489e(0x2db)](_0x21489e(0x243),'editing\x20status\x20changed\x20to',_0x4de3c3),_0x4de3c3===He[_0x21489e(0x3bb)]?(this[_0x21489e(0x399)][_0x21489e(0x2a8)]({'id':J['OTHER_CLIENT_EDITING']}),this[_0x21489e(0x39c)][_0x21489e(0x469)](new Q['WorkbookEditablePermission'](this['unitID'])['id'],!0x1),this[_0x21489e(0x39c)][_0x21489e(0x35e)](!0x1)):(this['_permissionService'][_0x21489e(0x469)](new Q[(_0x21489e(0x3cd))](this[_0x21489e(0x289)])['id'],!0x0),this['_permissionService'][_0x21489e(0x35e)](!0x0));})));let _0x515423=!0x1;return this['disposeWithMe'](this[_0x19c517(0x221)][_0x19c517(0x339)][_0x19c517(0x217)](_0xba01b0=>{var _0x3dc56f=_0x19c517;_0xba01b0===se[_0x3dc56f(0x10f)]?this[_0x3dc56f(0x2dc)](_0x515423):_0xba01b0===se['OFFLINE']&&(_0x515423=!0x0,this[_0x3dc56f(0x3fb)]());})),this[_0x19c517(0x317)](this[_0x19c517(0x221)][_0x19c517(0x2aa)]['subscribe'](_0x564b8f=>{var _0x45fe2d=_0x19c517;try{switch(_0x564b8f['eventID']){case E[_0x45fe2d(0x107)][_0x45fe2d(0x355)]:{this[_0x45fe2d(0x142)](E[_0x45fe2d(0x113)](_0x564b8f['data']));break;}case E[_0x45fe2d(0x107)][_0x45fe2d(0x441)]:{this[_0x45fe2d(0x42e)](_0x564b8f[_0x45fe2d(0x213)]);break;}case E[_0x45fe2d(0x107)][_0x45fe2d(0x427)]:{this[_0x45fe2d(0x108)]();break;}case E[_0x45fe2d(0x107)][_0x45fe2d(0x347)]:{this[_0x45fe2d(0x46d)](_0x564b8f[_0x45fe2d(0x213)]);break;}case E['CollaborationEvent'][_0x45fe2d(0x182)]:{this[_0x45fe2d(0x3bf)](_0x564b8f[_0x45fe2d(0x213)][_0x45fe2d(0x35b)][_0x45fe2d(0x1db)](_0x1819ad=>E['parseProtocolChangeset'](_0x1819ad)));break;}case E[_0x45fe2d(0x107)]['PERMISSION_REJ']:{this[_0x45fe2d(0x108)]({'isPermissionRej':!0x0});break;}case E[_0x45fe2d(0x107)][_0x45fe2d(0x13d)]:break;}}catch(_0x591ac1){throw console[_0x45fe2d(0x437)]('Error\x20on\x20receiving\x20event',_0x591ac1),_0x591ac1;}})),this[_0x19c517(0x244)];}[_0x54277f(0x22b)](){var _0x32b4e4=_0x54277f;this[_0x32b4e4(0x1ab)]=!0x1;}[_0x54277f(0x2ec)](){var _0x46545d=_0x54277f;if(this[_0x46545d(0x1ab)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x46545d(0x1ab)]=!0x0;}[_0x54277f(0x3a4)](_0x2bac47){var _0x38ac25=_0x54277f;this[_0x38ac25(0x2ec)](),this[_0x38ac25(0x17c)](this[_0x38ac25(0x244)]['appendMutation'](_0x2bac47)),this[_0x38ac25(0x22b)]();}[_0x54277f(0x142)](_0x36913d){var _0x1e039a=_0x54277f;if(!(_0x36913d[_0x1e039a(0x242)]<=this[_0x1e039a(0x2ca)][_0x1e039a(0x1c9)](this['unitID']))){if(this['_collaborationPaused']){this[_0x1e039a(0x23f)]['push'](_0x36913d);return;}this['_applyRemoteChangeset'](_0x36913d);}}[_0x54277f(0x1ac)](){var _0x21a85d=_0x54277f;this[_0x21a85d(0x23f)][_0x21a85d(0x2ae)](_0x3d8b79=>this[_0x21a85d(0x2d3)](_0x3d8b79)),this[_0x21a85d(0x23f)]=[];}[_0x54277f(0x2d3)](_0x502f82){var _0x53bfdd=_0x54277f;const _0x1e4bcb=this[_0x53bfdd(0x1a6)]['interceptor']['fetchThroughInterceptors'](this[_0x53bfdd(0x1a6)][_0x53bfdd(0x331)][_0x53bfdd(0x1f6)]()['COMPRESS_MUTATION_APPLY'])(_0x502f82[_0x53bfdd(0x138)],null)||_0x502f82['mutations'],_0x348230={..._0x502f82,'mutations':_0x1e4bcb};this['_lockTransition'](),this[_0x53bfdd(0x17c)](this[_0x53bfdd(0x244)]['onRemoteChangeset'](_0x348230)),this[_0x53bfdd(0x22b)]();}['_onRemoteACK'](_0x3ad980){var _0xc366b7=_0x54277f;this[_0xc366b7(0x2ec)](),this['_updateState'](this['_state']['onRemoteAck'](_0x3ad980)),this[_0xc366b7(0x22b)]();}['_onRemoteRejected'](_0x59cb4d){var _0x10bf06=_0x54277f;this[_0x10bf06(0x2ec)](),this[_0x10bf06(0x17c)](this[_0x10bf06(0x244)][_0x10bf06(0x28e)](_0x59cb4d)),this[_0x10bf06(0x22b)]();}['_onRemoteRetry'](_0x566665){var _0xd2593b=_0x54277f;this[_0xd2593b(0x2ec)](),this[_0xd2593b(0x17c)](this[_0xd2593b(0x244)]['onRemoteRetry'](_0x566665)),this['_unlockTransition']();}[_0x54277f(0x3bf)](_0x521a73){var _0x4a86b1=_0x54277f;if(!(this[_0x4a86b1(0x244)]instanceof exports[_0x4a86b1(0x407)]))throw new TypeError(_0x4a86b1(0x1be));const _0x33148b=_0x521a73[_0x4a86b1(0x1db)](_0x2649a8=>{var _0x366f05=_0x4a86b1;const _0x5c34ba=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x366f05(0x1a6)][_0x366f05(0x331)][_0x366f05(0x1f6)]()[_0x366f05(0x372)])(_0x2649a8[_0x366f05(0x138)],null)||_0x2649a8['mutations'];return{..._0x2649a8,'mutations':_0x5c34ba};});this[_0x4a86b1(0x2ec)](),this[_0x4a86b1(0x17c)](this['_state'][_0x4a86b1(0x2b4)](_0x33148b)),this[_0x4a86b1(0x22b)]();}[_0x54277f(0x3fb)](){var _0x3351b3=_0x54277f;this[_0x3351b3(0x2ec)](),this[_0x3351b3(0x17c)](this['_state'][_0x3351b3(0x358)]()),this[_0x3351b3(0x22b)]();}['_toggleOnline'](_0x13b5e2=!0x1){var _0x152fc9=_0x54277f;this['_lockTransition'](),this['_updateState'](this[_0x152fc9(0x244)][_0x152fc9(0x3e2)]()),this[_0x152fc9(0x22b)]();const _0x583024=this[_0x152fc9(0x244)];_0x13b5e2&&_0x583024 instanceof exports[_0x152fc9(0x291)]&&(this[_0x152fc9(0x2ec)](),this['_updateState'](_0x583024[_0x152fc9(0x257)]()),this[_0x152fc9(0x22b)]());}async[_0x54277f(0x21c)](){return new Promise(_0x1a0c69=>{var _0x5cf914=_0x4c0c;this[_0x5cf914(0x221)][_0x5cf914(0x339)][_0x5cf914(0x1e6)](j[_0x5cf914(0x15c)](0x1))['subscribe'](async _0x1ba345=>{var _0x1871f1=_0x5cf914;_0x1a0c69(await this[_0x1871f1(0x23c)](_0x1ba345===se[_0x1871f1(0x10f)]));});});}[_0x54277f(0x102)](){const _0x4fe3ed=this['unitID'];return{'onStateChange':(_0x372d75,_0x41456c)=>{var _0x2a0147=_0x4c0c;if(_0x372d75!==this['_state'])throw new Error(_0x2a0147(0x3bc)+_0x372d75[_0x2a0147(0x240)]+_0x2a0147(0xfd)+_0x41456c[_0x2a0147(0x240)]+_0x2a0147(0x18f)+this['_state'][_0x2a0147(0x240)]);this['_updateState'](_0x41456c);},'onSendChangeset':_0x44ab17=>{var _0x9e9bad=_0x4c0c;_0x44ab17[_0x9e9bad(0x1c1)]||(_0x44ab17[_0x9e9bad(0x1c1)]=this[_0x9e9bad(0x27c)],_0x44ab17[_0x9e9bad(0x33d)]=++this['_changesetReqId']);const _0x161ef4={'eventID':E['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x44ab17[_0x9e9bad(0x289)],'unitType':this[_0x9e9bad(0x227)],'changeset':_0x44ab17,'memberID':this['session'][_0x9e9bad(0x1d3)]()}};this[_0x9e9bad(0x221)][_0x9e9bad(0x10a)](_0x161ef4,this[_0x9e9bad(0x289)]);},'onMissingChangesets':({from:_0x15c166,to:_0x468707})=>{var _0x24828a=_0x4c0c;this[_0x24828a(0x20f)]['debug']('[CollaborationEntity]',_0x24828a(0x158)+_0x15c166+_0x24828a(0x2e0)+_0x468707);const _0x1fe692={'eventID':E[_0x24828a(0x107)]['FETCH_MISSING'],'data':{'unitID':_0x4fe3ed,'unitType':this[_0x24828a(0x227)],'from':_0x15c166,'to':_0x468707}};this[_0x24828a(0x221)]['send'](_0x1fe692,this[_0x24828a(0x289)]);}};}async[_0x54277f(0x23c)](_0x16154f){var _0x12efe7=_0x54277f,_0x16fe07,_0x497c54,_0x5997d7;const _0x504f69=await((_0x16fe07=this[_0x12efe7(0x36c)])==null?void 0x0:_0x16fe07[_0x12efe7(0x1cb)](this[_0x12efe7(0x289)])),_0x558fe0=(_0x497c54=_0x504f69==null?void 0x0:_0x504f69['mutations'])!=null?_0x497c54:[],_0xe7a205=(_0x5997d7=_0x504f69==null?void 0x0:_0x504f69[_0x12efe7(0x110)])!=null?_0x5997d7:null,_0xbf3b9f=!!(_0xe7a205!=null&&_0xe7a205[_0x12efe7(0x1c1)])&&!!(_0xe7a205!=null&&_0xe7a205[_0x12efe7(0x33d)]);this[_0x12efe7(0x27c)]=_0xbf3b9f?_0xe7a205[_0x12efe7(0x1c1)]:E['uuidv4'](),this[_0x12efe7(0x125)]=_0xbf3b9f?_0xe7a205['reqId']:0x0;const _0x591568=this['unitID'];try{this['_replayCachedMutations'](_0xe7a205,_0x558fe0);}catch(_0x2e6854){this[_0x12efe7(0x20f)][_0x12efe7(0x437)](_0x2e6854);}const _0x3f376e=this[_0x12efe7(0x102)]();if(_0x16154f){const _0x2ff098=Et(this[_0x12efe7(0x1da)],_0x591568,this[_0x12efe7(0x227)],_0xe7a205,_0x558fe0,_0x3f376e);return _0x2ff098 instanceof exports[_0x12efe7(0x438)]?_0x2ff098[_0x12efe7(0x1a9)]():(_0x2ff098 instanceof exports[_0x12efe7(0x140)]||_0x2ff098 instanceof exports[_0x12efe7(0x259)])&&_0x2ff098[_0x12efe7(0x26d)](),_0x2ff098;}return this[_0x12efe7(0x1da)][_0x12efe7(0x2bd)](exports['OfflineState'],_0x591568,this[_0x12efe7(0x227)],_0xe7a205,_0x558fe0,_0x3f376e);}[_0x54277f(0x439)](_0x2b1c05,_0x360389){var _0x1fa85d=_0x54277f,_0xe10e05,_0x24c183;const _0x22f9d6=this['_compressMutationService'][_0x1fa85d(0x331)][_0x1fa85d(0x29a)](this[_0x1fa85d(0x1a6)][_0x1fa85d(0x331)]['getInterceptPoints']()[_0x1fa85d(0x372)]);(_0xe10e05=_0x22f9d6((_0x2b1c05==null?void 0x0:_0x2b1c05[_0x1fa85d(0x138)])||[],null))==null||_0xe10e05[_0x1fa85d(0x2ae)](_0x125f1f=>this[_0x1fa85d(0x41d)][_0x1fa85d(0x2a3)](_0x125f1f['id'],_0x125f1f[_0x1fa85d(0x18e)])),(_0x24c183=_0x22f9d6(_0x360389||[],null))==null||_0x24c183[_0x1fa85d(0x2ae)](_0x1eb3f7=>this[_0x1fa85d(0x41d)]['executeCommand'](_0x1eb3f7['id'],_0x1eb3f7[_0x1fa85d(0x18e)]));}},exports[_0x54277f(0x16a)]=Be([$(0x3,o[_0x54277f(0x226)](o['Injector'])),$(0x4,o[_0x54277f(0x226)](E[_0x54277f(0x340)])),$(0x5,o[_0x54277f(0x226)](o[_0x54277f(0x3d2)])),$(0x6,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x54277f(0x277)]),$(0x9,o[_0x54277f(0x15b)]),$(0xa,o[_0x54277f(0xf6)]),$(0xb,o['IPermissionService']),$(0xc,o[_0x54277f(0x229)](ve)),$(0xd,o[_0x54277f(0x229)](q))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x54277f(0x16a)]{constructor(_0x84e5eb,_0x42a646,_0x8c2e90,_0x4f59eb,_0x4a16c0,_0x25c70a,_0x448170,_0xa77d0e,_0xd571c0,_0x52bf26,_0x359b17,_0x2e7a11,_0x2172c9,_0x562dc9){var _0x160177=_0x54277f;super(_0x84e5eb,_0x8c2e90,_0x42a646,_0x4f59eb,_0x4a16c0,_0x25c70a,_0x448170,_0xa77d0e,_0xd571c0,_0x52bf26,_0x359b17,_0x2e7a11,_0x2172c9,_0x562dc9),A(this,_0x160177(0x375),null),(this[_0x160177(0x289)]=_0x84e5eb,this[_0x160177(0x24e)]=_0x42a646);}['addHandlerCallback'](_0x20d70a){this['_handlerCallback']=_0x20d70a;}[_0x54277f(0x1d0)](){var _0x373ebc=_0x54277f;this[_0x373ebc(0x375)]=null,super['dispose']();}[_0x54277f(0x102)](){var _0x259435=_0x54277f;const _0x523bff=super[_0x259435(0x102)]();return _0x523bff[_0x259435(0x1eb)]=_0x5389b4=>{var _0x1f8247=_0x259435,_0x23a18c,_0x3b707a;return(_0x3b707a=(_0x23a18c=this[_0x1f8247(0x375)])==null?void 0x0:_0x23a18c['onTransformIME'])==null?void 0x0:_0x3b707a['call'](_0x23a18c,_0x5389b4);},_0x523bff['onTransformState']=_0x410d6e=>{var _0xe4c84f=_0x259435,_0x23e59e,_0x335177;return(_0x335177=(_0x23e59e=this['_handlerCallback'])==null?void 0x0:_0x23e59e[_0xe4c84f(0x185)])==null?void 0x0:_0x335177[_0xe4c84f(0x423)](_0x23e59e,_0x410d6e);},_0x523bff[_0x259435(0x421)]=_0x30f1b7=>{var _0xce79b7=_0x259435,_0x1d65db,_0x35422f;return(_0x35422f=(_0x1d65db=this[_0xce79b7(0x375)])==null?void 0x0:_0x1d65db[_0xce79b7(0x421)])==null?void 0x0:_0x35422f[_0xce79b7(0x423)](_0x1d65db,_0x30f1b7);},_0x523bff[_0x259435(0x1b1)]=_0x1e4038=>{var _0x413d6c=_0x259435,_0x190edf,_0x27053d;return(_0x27053d=(_0x190edf=this[_0x413d6c(0x375)])==null?void 0x0:_0x190edf[_0x413d6c(0x1b1)])==null?void 0x0:_0x27053d[_0x413d6c(0x423)](_0x190edf,_0x1e4038);},_0x523bff[_0x259435(0x3d1)]=_0x13223b=>{var _0x5df0d6=_0x259435,_0x41be66,_0x5eda2a,_0x41c20a;if(!((_0x41be66=this['_handlerCallback'])!=null&&_0x41be66[_0x5df0d6(0x3d1)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x41c20a=(_0x5eda2a=this[_0x5df0d6(0x375)])==null?void 0x0:_0x5eda2a[_0x5df0d6(0x3d1)])==null?void 0x0:_0x41c20a[_0x5df0d6(0x423)](_0x5eda2a,_0x13223b);},_0x523bff[_0x259435(0x356)]=_0x3d4780=>{var _0x22b102=_0x259435,_0x494187,_0x38f02d,_0x351036;if(!((_0x494187=this[_0x22b102(0x375)])!=null&&_0x494187[_0x22b102(0x356)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x351036=(_0x38f02d=this[_0x22b102(0x375)])==null?void 0x0:_0x38f02d['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x351036[_0x22b102(0x423)](_0x38f02d,_0x3d4780);},_0x523bff;}async[_0x54277f(0x404)](){var _0x482ea7=_0x54277f;const _0x34ac01=await super[_0x482ea7(0x404)]();return this['disposeWithMe'](this[_0x482ea7(0x41d)][_0x482ea7(0x1a1)]((_0x427f8e,_0x4a3970)=>{var _0x47b466=_0x482ea7;if(_0x427f8e[_0x47b466(0x24e)]!==o[_0x47b466(0x16f)][_0x47b466(0x397)]||_0x4a3970!=null&&_0x4a3970[_0x47b466(0x38a)]||_0x4a3970!=null&&_0x4a3970[_0x47b466(0x45f)]||_0x427f8e['id']===ct[_0x47b466(0x251)]['id'])return;const _0x165624=_0x427f8e[_0x47b466(0x18e)];if((_0x165624==null?void 0x0:_0x165624[_0x47b466(0x1b8)])!==this[_0x47b466(0x289)])return;const _0x14215d=_0x427f8e,_0xaeb5b6=this['_compressMutationService'][_0x47b466(0x331)]['fetchThroughInterceptors'](this[_0x47b466(0x1a6)][_0x47b466(0x331)][_0x47b466(0x1f6)]()[_0x47b466(0x194)])([_0x14215d],this[_0x47b466(0x327)])||[_0x14215d];this['_onLocalMutation'](_0xaeb5b6[0x0]);})),_0x34ac01;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0x54277f(0x226)](o['Injector'])),$(0x4,o[_0x54277f(0x226)](E['CompressMutationService'])),$(0x5,o['Inject'](o[_0x54277f(0x3d2)])),$(0x6,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),$(0x7,o[_0x54277f(0x226)](ee)),$(0x8,o[_0x54277f(0x277)]),$(0x9,o['ILogService']),$(0xa,o[_0x54277f(0xf6)]),$(0xb,o[_0x54277f(0x46e)]),$(0xc,o[_0x54277f(0x229)](ve)),$(0xd,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x383)]),exports[_0x54277f(0x117)]=class extends exports['CollaborationEntity']{constructor(_0xa1f5f3,_0x399cf3,_0x280c2e,_0x2d1308,_0x29497c,_0x2a016b,_0x5d956a,_0xd19e9d,_0x1848dc,_0x3d5ad9,_0x1f731e,_0x48c288,_0x4db70a,_0x337267,_0x29770a){var _0x28f425=_0x54277f;super(_0xa1f5f3,_0x280c2e,_0x399cf3,_0x2d1308,_0x29497c,_0x2a016b,_0x5d956a,_0x1848dc,_0x3d5ad9,_0x1f731e,_0x48c288,_0x4db70a,_0x337267,_0x29770a),this[_0x28f425(0x289)]=_0xa1f5f3,this[_0x28f425(0x24e)]=_0x399cf3,this[_0x28f425(0x2c1)]=_0xd19e9d;}[_0x54277f(0x102)](){var _0x354803=_0x54277f;const _0x200860=super[_0x354803(0x102)]();return _0x200860[_0x354803(0x421)]=_0x35ca50=>this[_0x354803(0x2c1)][_0x354803(0x114)](_0x35ca50),_0x200860;}async[_0x54277f(0x404)](){var _0x205011=_0x54277f;const _0x249fa1=await super[_0x205011(0x404)]();return this[_0x205011(0x317)](this[_0x205011(0x41d)][_0x205011(0x1a1)]((_0x1d2d9e,_0x2849ef)=>{var _0x3399f1=_0x205011;if(_0x1d2d9e['type']!==o[_0x3399f1(0x16f)][_0x3399f1(0x397)]||_0x2849ef!=null&&_0x2849ef[_0x3399f1(0x38a)]||_0x2849ef!=null&&_0x2849ef[_0x3399f1(0x45f)])return;const _0x10a2f6=_0x1d2d9e[_0x3399f1(0x18e)];if((_0x10a2f6==null?void 0x0:_0x10a2f6[_0x3399f1(0x1b8)])!==this[_0x3399f1(0x289)])return;const _0x91921=_0x1d2d9e,_0x428e37=this[_0x3399f1(0x1a6)][_0x3399f1(0x331)]['fetchThroughInterceptors'](this[_0x3399f1(0x1a6)][_0x3399f1(0x331)][_0x3399f1(0x1f6)]()[_0x3399f1(0x194)])([_0x91921],this[_0x3399f1(0x327)])||[_0x91921];this['_onLocalMutation'](_0x428e37[0x0]);})),_0x249fa1;}},exports['SheetCollaborationEntity']=Be([$(0x3,o[_0x54277f(0x226)](o['Injector'])),$(0x4,o[_0x54277f(0x226)](E['CompressMutationService'])),$(0x5,o['Inject'](o[_0x54277f(0x3d2)])),$(0x6,o[_0x54277f(0x226)](E['RevisionService'])),$(0x7,o['Inject'](exports[_0x54277f(0x450)])),$(0x8,o[_0x54277f(0x226)](ee)),$(0x9,o[_0x54277f(0x277)]),$(0xa,o['ILogService']),$(0xb,o[_0x54277f(0xf6)]),$(0xc,o['IPermissionService']),$(0xd,o[_0x54277f(0x229)](ve)),$(0xe,o['Optional'](q))],exports[_0x54277f(0x117)]);const pt=o[_0x54277f(0x2c9)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x20ab0e){var _0x8cd9e4=_0x54277f,_0x25f9ec,_0x2e143d,_0x368c4a,_0x298269,_0x5cf6b3;const _0x1ec30d=_0x20ab0e[_0x8cd9e4(0x213)],_0x5e2ba5=JSON[_0x8cd9e4(0x288)](_0x1ec30d);switch(_0x5e2ba5['cmd']){case W[_0x8cd9e4(0x2fd)]:case W[_0x8cd9e4(0x471)]:{const _0x36528f=_0x5e2ba5[_0x8cd9e4(0x238)];return{..._0x5e2ba5,'data':_0x36528f,'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};}case W[_0x8cd9e4(0x45e)]:{const _0x15e10b=_0x5e2ba5[_0x8cd9e4(0x148)];return{..._0x5e2ba5,'data':_0x15e10b,'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};}case W['RECV']:{const _0x1fcf58=_0x5e2ba5[_0x8cd9e4(0x462)];switch(_0x1fcf58[_0x8cd9e4(0x2cf)]){case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x19d)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x25f9ec=_0x1fcf58[_0x8cd9e4(0x33b)])==null?void 0x0:_0x25f9ec['cs']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x441)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x2e143d=_0x1fcf58['csAckEvent'])==null?void 0x0:_0x2e143d['cs']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['NEW_CHANGESETS']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x368c4a=_0x1fcf58['newCsEvent'])==null?void 0x0:_0x368c4a['cs']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x427)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x298269=_0x1fcf58[_0x8cd9e4(0x131)])==null?void 0x0:_0x298269['cs']},'cmd':_0x5e2ba5['cmd']};case E[_0x8cd9e4(0x107)]['CHANGESET_SHOULD_RETRY']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x5cf6b3=_0x1fcf58[_0x8cd9e4(0x232)])==null?void 0x0:_0x5cf6b3['cs']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x32d)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['updateCursorEvent']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['USERS_ENTER']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x12d)]},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['USERS_LEAVE']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['leaveEvent']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x333)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x320)]},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x413)]:case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x1e1)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x3aa)]},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x11e)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x320)]},'cmd':_0x5e2ba5['cmd']};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0xf3)]:return{..._0x5e2ba5,'data':_0x1fcf58,'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['COMMENT_UPDATE']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x1a8)]},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['UPDATE_PERMISSION_OBJ']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['updatePermissionObjEvent']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x246)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['shouldCloseConn']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x13d)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['uniscriptRunEvent']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};default:return _0x5e2ba5;}}default:return _0x5e2ba5;}}function gt(_0x108e8e){var _0x239717=_0x54277f;switch(_0x108e8e[_0x239717(0x37d)]){case W[_0x239717(0x2fd)]:case W[_0x239717(0x471)]:return JSON[_0x239717(0x2a7)]({'cmd':_0x108e8e[_0x239717(0x37d)],'routeKey':_0x108e8e[_0x239717(0x2a4)]});case W[_0x239717(0x11f)]:{let _0x8b53c;switch(_0x108e8e[_0x239717(0x213)][_0x239717(0x2cf)]){case E[_0x239717(0x107)][_0x239717(0x32d)]:{_0x8b53c={'eventID':E['CollaborationEvent'][_0x239717(0x32d)],'updateCursorEvent':_0x108e8e[_0x239717(0x213)]['data']};break;}case E['CollaborationEvent'][_0x239717(0x25f)]:{_0x8b53c={'eventID':E['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x108e8e[_0x239717(0x213)]['data']};break;}case E[_0x239717(0x107)][_0x239717(0x155)]:{_0x8b53c={'eventID':E[_0x239717(0x107)][_0x239717(0x155)],'joinEvent':_0x108e8e[_0x239717(0x213)][_0x239717(0x213)]};break;}case E[_0x239717(0x107)][_0x239717(0x333)]:{_0x8b53c={'eventID':E[_0x239717(0x107)][_0x239717(0x333)],'liveShareNewHost':_0x108e8e[_0x239717(0x213)][_0x239717(0x213)]};break;}case E['CollaborationEvent'][_0x239717(0x1e1)]:{_0x8b53c={'eventID':E['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x108e8e['data'][_0x239717(0x213)]};break;}case E[_0x239717(0x107)]['LIVESHARE_TERMINATE']:{_0x8b53c={'eventID':E[_0x239717(0x107)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x108e8e[_0x239717(0x213)]['data']};break;}case E['CollaborationEvent'][_0x239717(0x18a)]:{_0x8b53c={'eventID':E[_0x239717(0x107)][_0x239717(0x18a)],'liveShareRequestHost':_0x108e8e[_0x239717(0x213)][_0x239717(0x213)]};break;}case E['CollaborationEvent'][_0x239717(0x413)]:{_0x8b53c={'eventID':E[_0x239717(0x107)][_0x239717(0x413)]};break;}default:_0x8b53c={'eventID':_0x108e8e[_0x239717(0x213)][_0x239717(0x2cf)]};}return JSON[_0x239717(0x2a7)]({'cmd':_0x108e8e['cmd'],'routeKey':_0x108e8e['routeKey'],'collaMsg':_0x8b53c});}case W['JOIN']:return JSON[_0x239717(0x2a7)]({'cmd':_0x108e8e[_0x239717(0x37d)],'routeKey':_0x108e8e[_0x239717(0x2a4)],'joinReq':_0x108e8e[_0x239717(0x213)]});case W[_0x239717(0x129)]:return JSON[_0x239717(0x2a7)]({'cmd':_0x108e8e[_0x239717(0x37d)],'routeKey':_0x108e8e['routeKey'],'leaveReq':_0x108e8e[_0x239717(0x213)]});default:throw new Error(_0x239717(0x2ef));}}var ri=Object[_0x54277f(0x401)],ai=(_0xde542b,_0x459bae,_0x31293c,_0x427718)=>{for(var _0x80f0d7=_0x427718>0x1?void 0x0:_0x427718?ri(_0x459bae,_0x31293c):_0x459bae,_0x199eb0=_0xde542b['length']-0x1,_0x5bec08;_0x199eb0>=0x0;_0x199eb0--)(_0x5bec08=_0xde542b[_0x199eb0])&&(_0x80f0d7=_0x5bec08(_0x80f0d7)||_0x80f0d7);return _0x80f0d7;},he=(_0x550b35,_0x540346)=>(_0x339295,_0x16e35b)=>_0x540346(_0x339295,_0x16e35b,_0x550b35);const Fe=o[_0x54277f(0x2c9)]('univer-pro.collaboration-client-socket-service');function oi(_0xef0886,_0x41182a,_0x435068){var _0x581018=_0x54277f;return _0xef0886+'/'+_0x41182a+_0x581018(0x2b0)+_0x435068+_0x581018(0x363);}exports[_0x54277f(0x3d4)]=class extends o[_0x54277f(0x391)]{constructor(_0x38fc96,_0xf27c1b,_0x707a05,_0xf256d0,_0x17e56a){var _0x3d5862=_0x54277f;super(),this['_injector']=_0x38fc96,this[_0x3d5862(0x353)]=_0xf27c1b,this[_0x3d5862(0x20d)]=_0x707a05,this[_0x3d5862(0x20f)]=_0xf256d0,this['_snapshotServerService']=_0x17e56a;}[_0x54277f(0x1b5)](_0x513957){var _0x53e171=_0x54277f;const _0x1cb189=this[_0x53e171(0x1da)][_0x53e171(0x309)](K['ISocketService']);if(!_0x1cb189)throw new Error(_0x53e171(0x210));const _0x1d58d9=_0x1cb189[_0x53e171(0x431)](_0x513957);if(!_0x1d58d9)throw new Error(_0x53e171(0x37c));const _0x3bc8b5=new o[(_0x53e171(0x308))](),_0x3b097f=new j[(_0x53e171(0x1fe))]();_0x3bc8b5[_0x53e171(0x2d5)](_0x1d58d9[_0x53e171(0x193)][_0x53e171(0x217)](_0x5b9507=>_0x3b097f['next'](_0x5b9507))),_0x3bc8b5[_0x53e171(0x2d5)](o['toDisposable'](()=>_0x3b097f[_0x53e171(0x3c7)]()));const _0x43324b=new j[(_0x53e171(0x1fe))]();_0x3bc8b5['add'](_0x1d58d9[_0x53e171(0x1fb)][_0x53e171(0x217)](_0x4ed722=>_0x43324b[_0x53e171(0x2f7)](_0x4ed722))),_0x3bc8b5[_0x53e171(0x2d5)](o[_0x53e171(0x164)](()=>_0x43324b[_0x53e171(0x3c7)]()));const _0x3c9905=new j[(_0x53e171(0x1fe))]();_0x3bc8b5[_0x53e171(0x2d5)](_0x1d58d9[_0x53e171(0x2f8)][_0x53e171(0x217)](_0x92755e=>{var _0x631e45=_0x53e171;const _0xaf5fe3=mt(_0x92755e);_0x3c9905[_0x631e45(0x2f7)](_0xaf5fe3);})),_0x3bc8b5[_0x53e171(0x2d5)](o['toDisposable'](()=>_0x3c9905['complete']()));let _0x2d91d0;const _0x40777a=()=>{var _0x2146e7=_0x53e171;_0x43324b[_0x2146e7(0x2f7)](new Event(_0x2146e7(0x133))),_0x3b097f[_0x2146e7(0x2f7)](new Event(_0x2146e7(0x133))),_0x2d91d0[_0x2146e7(0x3f8)]();};return _0x2d91d0={'memberID':'','close$':_0x3b097f[_0x53e171(0x40f)](),'error$':_0x43324b[_0x53e171(0x40f)](),'open$':_0x1d58d9[_0x53e171(0xe7)],'message$':_0x3c9905[_0x53e171(0x40f)](),'send':_0x3e5530=>{var _0xeaddbe=_0x53e171;if(_0x3e5530[_0xeaddbe(0x37d)]===W[_0xeaddbe(0x11f)]){if(_0x3e5530[_0xeaddbe(0x213)][_0xeaddbe(0x2cf)]===E[_0xeaddbe(0x107)][_0xeaddbe(0x215)]){this[_0xeaddbe(0x42d)](_0x2d91d0,_0x3e5530[_0xeaddbe(0x213)])[_0xeaddbe(0x29b)](_0xbba238=>{var _0x3ba0f5=_0xeaddbe;this[_0x3ba0f5(0x20f)][_0x3ba0f5(0x437)](_0xbba238),_0x40777a();});return;}if(_0x3e5530[_0xeaddbe(0x213)][_0xeaddbe(0x2cf)]===E[_0xeaddbe(0x107)][_0xeaddbe(0x121)]){const _0x2d74e3=_0x3e5530['data'];this['_fetchMissChangesets'](_0x2d74e3)['then'](_0x3622c9=>{var _0x276072=_0xeaddbe;_0x3c9905[_0x276072(0x2f7)]({'cmd':W[_0x276072(0x2b3)],'code':re['OK'],'routeKey':_0x2d74e3[_0x276072(0x213)][_0x276072(0x289)],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x276072(0x182)],'data':{'changesets':_0x3622c9}}});})['catch'](_0x551f68=>{var _0x5a3296=_0xeaddbe;this[_0x5a3296(0x20f)][_0x5a3296(0x437)](_0x551f68),_0x40777a();});return;}}_0x1d58d9['send'](gt(_0x3e5530));},'close':()=>{var _0x494185=_0x53e171;_0x1d58d9[_0x494185(0x3f8)](),_0x3bc8b5[_0x494185(0x1d0)]();}},_0x2d91d0;}async[_0x54277f(0x42d)](_0x46d59b,_0x471e0d){var _0x3d01a5=_0x54277f,_0x1ac6be;const {unitType:_0x5dd733,unitID:_0x1e97d1,changeset:_0x29ca88}=_0x471e0d[_0x3d01a5(0x213)],_0x349079={'unitID':_0x1e97d1,'memberID':_0x46d59b[_0x3d01a5(0x301)],'type':_0x5dd733,'changeset':E[_0x3d01a5(0x10d)](_0x29ca88)},_0x5e3deb=this[_0x3d01a5(0x20d)][_0x3d01a5(0x319)](Y),_0x28ea18=oi((_0x1ac6be=_0x5e3deb==null?void 0x0:_0x5e3deb['collabSubmitChangesetUrl'])!=null?_0x1ac6be:$t,_0x5dd733,_0x1e97d1);try{await this[_0x3d01a5(0x353)][_0x3d01a5(0x2a6)](_0x28ea18,{'body':_0x349079});}catch(_0x47e036){throw this[_0x3d01a5(0x20f)][_0x3d01a5(0x437)](_0x3d01a5(0x1ad),_0x3d01a5(0x40e)),_0x47e036;}}async[_0x54277f(0x422)](_0xa75e1){var _0x4d8c8f=_0x54277f;const {unitID:_0x108457,from:_0x3bf96e,to:_0x484fab,unitType:_0x239ced}=_0xa75e1['data'];return(await this[_0x4d8c8f(0x3ee)][_0x4d8c8f(0x392)]({'metadata':void 0x0},{'unitID':_0x108457,'type':_0x239ced,'from':_0x3bf96e,'to':_0x484fab}))[_0x4d8c8f(0x35b)][_0x4d8c8f(0x1db)](_0x4444ae=>((_0x4444ae['mutations']===null||_0x4444ae[_0x4d8c8f(0x138)]===void 0x0)&&(_0x4444ae[_0x4d8c8f(0x138)]=[]),_0x4444ae));}},exports[_0x54277f(0x3d4)]=ai([he(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),he(0x1,o[_0x54277f(0x226)](K[_0x54277f(0x12f)])),he(0x2,o[_0x54277f(0x3b4)]),he(0x3,o['ILogService']),he(0x4,E[_0x54277f(0x43b)])],exports[_0x54277f(0x3d4)]);var ci=Object[_0x54277f(0x401)],_i=(_0x1bfded,_0x2e0978,_0x9be6d,_0x408b0e)=>{var _0x8aa21b=_0x54277f;for(var _0x454a09=_0x408b0e>0x1?void 0x0:_0x408b0e?ci(_0x2e0978,_0x9be6d):_0x2e0978,_0x54ae4a=_0x1bfded[_0x8aa21b(0x3a0)]-0x1,_0x2d4ba4;_0x54ae4a>=0x0;_0x54ae4a--)(_0x2d4ba4=_0x1bfded[_0x54ae4a])&&(_0x454a09=_0x2d4ba4(_0x454a09)||_0x454a09);return _0x454a09;},_e=(_0x1b681b,_0x1e1519)=>(_0x5e2f52,_0x31e070)=>_0x1e1519(_0x5e2f52,_0x31e070,_0x1b681b);exports[_0x54277f(0x3b8)]=class extends o['Disposable']{constructor(_0x14ce94,_0x268a7b,_0xb7f8c,_0x3607ba,_0x1c2600,_0x427745){var _0x57ad05=_0x54277f;super(),A(this,_0x57ad05(0x2af),new j['BehaviorSubject'](void 0x0)),A(this,'socket$',this[_0x57ad05(0x2af)][_0x57ad05(0x40f)]()),A(this,'_candidateSocket',null),A(this,_0x57ad05(0x254),new Map()),A(this,_0x57ad05(0x1e7),new j['BehaviorSubject'](se['IDLE'])),A(this,_0x57ad05(0x3e9),this['_status$'][_0x57ad05(0x40f)]()),A(this,'_socketReady',!0x1),A(this,_0x57ad05(0x425)),A(this,_0x57ad05(0x264),0x0),A(this,_0x57ad05(0x258)),A(this,_0x57ad05(0x14f)),(this['_injector']=_0x14ce94,this['_logService']=_0x268a7b,this[_0x57ad05(0x20d)]=_0xb7f8c,this[_0x57ad05(0x270)]=_0x3607ba,this['_collaborationUIEventService']=_0x1c2600,this[_0x57ad05(0x418)]=_0x427745,this[_0x57ad05(0x12b)]());}get['_socket'](){var _0x102d91=_0x54277f;return this[_0x102d91(0x2af)][_0x102d91(0x2d9)]();}[_0x54277f(0x12b)](){var _0x5ce12e=_0x54277f;this[_0x5ce12e(0x418)]&&this[_0x5ce12e(0x317)](this[_0x5ce12e(0x418)]['online$'][_0x5ce12e(0x217)](_0x1ddd59=>{var _0x544262=_0x5ce12e;_0x1ddd59&&!this[_0x544262(0x1ed)]&&this[_0x544262(0x3f2)](),_0x1ddd59||this[_0x544262(0x395)]();}));}['dispose'](){var _0x2aa3b8=_0x54277f;super[_0x2aa3b8(0x1d0)](),this['_clearRetryConnectingTimer'](),this[_0x2aa3b8(0x32f)](),this[_0x2aa3b8(0x261)](),this['_sessions']['forEach'](_0x5886f4=>_0x5886f4[_0x2aa3b8(0x1d0)]()),this['_sessions'][_0x2aa3b8(0x2eb)](),this[_0x2aa3b8(0x1e7)]['complete']();}async[_0x54277f(0x367)](_0x5122c1){var _0x192fba=_0x54277f;if(this[_0x192fba(0x254)][_0x192fba(0x3a5)](_0x5122c1))return this['_sessions'][_0x192fba(0x309)](_0x5122c1);this[_0x192fba(0x3b3)]();const _0x13696e=this[_0x192fba(0x1da)][_0x192fba(0x2bd)](exports[_0x192fba(0x388)],_0x5122c1,this['_socket$'][_0x192fba(0x40f)]());return this[_0x192fba(0x254)]['set'](_0x5122c1,_0x13696e),_0x13696e;}[_0x54277f(0x278)](_0x56f2a8){var _0x5b10bc=_0x54277f,_0x4d1e78;const _0x43a5de=this['_sessions'][_0x5b10bc(0x309)](_0x56f2a8);_0x43a5de&&(this[_0x5b10bc(0x254)][_0x5b10bc(0x2a0)](_0x56f2a8),_0x43a5de[_0x5b10bc(0x3f8)]()),this[_0x5b10bc(0x254)][_0x5b10bc(0x44f)]||(_0x4d1e78=this[_0x5b10bc(0x1ed)])==null||_0x4d1e78[_0x5b10bc(0x3f8)]();}[_0x54277f(0x3f2)](){var _0x8967d9=_0x54277f;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x8967d9(0x451)]();}['_clearRetryConnectingTimer'](){var _0x1054f5=_0x54277f;this[_0x1054f5(0x425)]!=null&&(clearTimeout(this[_0x1054f5(0x425)]),this[_0x1054f5(0x425)]=null);}async[_0x54277f(0x30c)](){var _0xb0e14b=_0x54277f,_0x3907a4;const _0x5696a1=this[_0xb0e14b(0x20d)][_0xb0e14b(0x319)](Y),_0x1790de=(_0x3907a4=_0x5696a1==null?void 0x0:_0x5696a1[_0xb0e14b(0x299)])!=null?_0x3907a4:_t,_0x258667=await this['_socketService'][_0xb0e14b(0x431)](_0x1790de);return this[_0xb0e14b(0x2f3)]=_0x258667,_0x258667;}async[_0x54277f(0x3b3)](){var _0x2e4fb3=_0x54277f,_0x3985f3,_0x31e553;try{const _0x54480a=(_0x31e553=(_0x3985f3=this[_0x2e4fb3(0x1ed)])!=null?_0x3985f3:this[_0x2e4fb3(0x2f3)])!=null?_0x31e553:await this[_0x2e4fb3(0x30c)]();if(_0x54480a){const _0x4fb377=_0x54480a[_0x2e4fb3(0x10a)];_0x54480a[_0x2e4fb3(0x10a)]=_0x4c5049=>(this['_rescheduleHeartbeat'](),_0x4fb377[_0x2e4fb3(0x2fe)](_0x54480a,[_0x4c5049])),_0x54480a[_0x2e4fb3(0x2f8)][_0x2e4fb3(0x217)](_0x2d6e77=>this[_0x2e4fb3(0x43d)](_0x54480a,_0x2d6e77)),_0x54480a['error$'][_0x2e4fb3(0x1e6)](V['take'](0x1))[_0x2e4fb3(0x217)](_0x5651af=>this[_0x2e4fb3(0x20f)][_0x2e4fb3(0x437)](_0x2e4fb3(0xee),_0x5651af)),_0x54480a[_0x2e4fb3(0xe7)][_0x2e4fb3(0x1e6)](V[_0x2e4fb3(0x15c)](0x1))[_0x2e4fb3(0x217)](()=>{var _0x24752b=_0x2e4fb3;this[_0x24752b(0x3ce)](_0x54480a);}),_0x54480a[_0x2e4fb3(0x193)][_0x2e4fb3(0x1e6)](V[_0x2e4fb3(0x15c)](0x1))[_0x2e4fb3(0x217)](_0x44db43=>{var _0x46af36=_0x2e4fb3;this[_0x46af36(0x20f)][_0x46af36(0x2db)]('[CollaborationSessionService]',_0x46af36(0x136),_0x44db43),this[_0x46af36(0x402)]();});}}catch(_0xb361be){this[_0x2e4fb3(0x20f)][_0x2e4fb3(0x437)](_0xb361be),this['_onConnectionFailed']();}}[_0x54277f(0x3ce)](_0x5b3d7c){var _0xbbd0=_0x54277f;this['_logService']['debug'](_0xbbd0(0x349),_0xbbd0(0x27b)),_0x5b3d7c[_0xbbd0(0x10a)]({'cmd':W['HELLO']}),this[_0xbbd0(0x14c)]();}['_onOffline'](){var _0x351b5b=_0x54277f;this[_0x351b5b(0x417)]=!0x1,this[_0x351b5b(0x2f3)]=null,this[_0x351b5b(0x1e7)][_0x351b5b(0x2f7)](se['OFFLINE']),this[_0x351b5b(0x2af)][_0x351b5b(0x2f7)](null),this[_0x351b5b(0x32f)](),this[_0x351b5b(0x261)]();}['_onConnectionFailed'](){var _0xad00f9=_0x54277f,_0x4c55bb;this[_0xad00f9(0x395)](),this[_0xad00f9(0x264)]<((_0x4c55bb=this[_0xad00f9(0x20d)]['getConfig'](ut))!=null?_0x4c55bb:wt)?(this['_collaborationUIEventService'][_0xad00f9(0x2a8)]({'id':J[_0xad00f9(0x386)]}),this[_0xad00f9(0x451)]()):this[_0xad00f9(0x466)][_0xad00f9(0x2a8)]({'id':J[_0xad00f9(0x465)]});}[_0x54277f(0x451)](){var _0x1dde3a=_0x54277f,_0x76c239;const _0x9e5b1d=this[_0x1dde3a(0x264)],_0x3a44b0=this['_configService'][_0x1dde3a(0x319)](Y),_0x15a8bd=_0x9e5b1d===0x0?0x0:((_0x76c239=_0x3a44b0==null?void 0x0:_0x3a44b0[_0x1dde3a(0x27e)])!=null?_0x76c239:Mt)*0x2**_0x9e5b1d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x582fc1=_0x1dde3a;clearTimeout(this[_0x582fc1(0x425)]),this[_0x582fc1(0x425)]=null,this[_0x582fc1(0x3b3)]();},_0x15a8bd),this['_retryCount']+=0x1;}[_0x54277f(0x43d)](_0x10044d,_0x54554c){var _0x554c1a=_0x54277f;const {cmd:_0x571f24}=_0x54554c;_0x571f24===W[_0x554c1a(0x471)]&&!this[_0x554c1a(0x417)]&&(_0x10044d[_0x554c1a(0x301)]=_0x54554c[_0x554c1a(0x213)][_0x554c1a(0x301)],this[_0x554c1a(0x2af)]['next'](_0x10044d),this[_0x554c1a(0x1e7)][_0x554c1a(0x2f7)](se[_0x554c1a(0x10f)]),this['_socketReady']=!0x0,this[_0x554c1a(0x2f3)]=null),_0x571f24===W[_0x554c1a(0x2fd)]&&this[_0x554c1a(0x32f)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x3f84a7=_0x54277f,_0x51b773;this[_0x3f84a7(0x261)](),this[_0x3f84a7(0x258)]=setTimeout(()=>this[_0x3f84a7(0x222)](),(_0x51b773=this[_0x3f84a7(0x20d)][_0x3f84a7(0x319)](ht))!=null?_0x51b773:Lt);}[_0x54277f(0x222)](){var _0x36edbd=_0x54277f;this['_socket']['send']({'cmd':W[_0x36edbd(0x2fd)]}),this[_0x36edbd(0x295)]();}[_0x54277f(0x295)](){var _0x420c7c=_0x54277f,_0x16509a;this['_timeoutTimer']=setTimeout(()=>this[_0x420c7c(0x402)](),(_0x16509a=this[_0x420c7c(0x20d)][_0x420c7c(0x319)](ke))!=null?_0x16509a:lt);}[_0x54277f(0x261)](){var _0x1eb0a1=_0x54277f;this[_0x1eb0a1(0x258)]!=null&&(clearTimeout(this[_0x1eb0a1(0x258)]),this[_0x1eb0a1(0x258)]=null);}['_clearTimeoutTimer'](){var _0x1e876c=_0x54277f;this[_0x1e876c(0x14f)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports[_0x54277f(0x3b8)]=_i([_e(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),_e(0x1,o[_0x54277f(0x15b)]),_e(0x2,o[_0x54277f(0x3b4)]),_e(0x3,Fe),_e(0x4,o[_0x54277f(0x226)](ee)),_e(0x5,o[_0x54277f(0x229)](pt))],exports[_0x54277f(0x3b8)]);var hi=Object[_0x54277f(0x401)],li=(_0x2da178,_0x2c4042,_0x246f1d,_0x2d992c)=>{var _0x4a958f=_0x54277f;for(var _0x168560=_0x2d992c>0x1?void 0x0:_0x2d992c?hi(_0x2c4042,_0x246f1d):_0x2c4042,_0x447851=_0x2da178[_0x4a958f(0x3a0)]-0x1,_0x5bbe70;_0x447851>=0x0;_0x447851--)(_0x5bbe70=_0x2da178[_0x447851])&&(_0x168560=_0x5bbe70(_0x168560)||_0x168560);return _0x168560;},Se=(_0x22cd51,_0xc0a0fb)=>(_0x31ffec,_0xbced85)=>_0xc0a0fb(_0x31ffec,_0xbced85,_0x22cd51);exports[_0x54277f(0x371)]=class extends o[_0x54277f(0x233)]{constructor(_0x44b5a0,_0x453ca6,_0xc48e39,_0x1a76f9){var _0x41c4bc=_0x54277f,_0x31406f;super(),A(this,_0x41c4bc(0x1c2),new Map()),A(this,'_entityInit$',new j[(_0x41c4bc(0x1fe))]()),A(this,'entityInit$',this[_0x41c4bc(0x13b)][_0x41c4bc(0x40f)]()),(this[_0x41c4bc(0x1da)]=_0x44b5a0,this[_0x41c4bc(0x1c4)]=_0x453ca6,this[_0x41c4bc(0x20d)]=_0xc48e39,this['_univerInstanceService']=_0x1a76f9,((_0x31406f=this[_0x41c4bc(0x20d)][_0x41c4bc(0x319)](Y))==null?void 0x0:_0x31406f[_0x41c4bc(0x3c2)])!==!0x1&&this['_init']());}[_0x54277f(0x1d0)](){var _0x43f17b=_0x54277f;super['dispose'](),this[_0x43f17b(0x1c2)][_0x43f17b(0x2ae)](_0x21a14e=>_0x21a14e['dispose']()),this['_entities'][_0x43f17b(0x2eb)]();}[_0x54277f(0x304)](_0x4382b1){var _0x123eb0=_0x54277f,_0x5f1541;return(_0x5f1541=this['_entities'][_0x123eb0(0x309)](_0x4382b1))!=null?_0x5f1541:null;}[_0x54277f(0x46b)](_0x4e4c4c){var _0x4f2281=_0x54277f;const _0x51ae13=this[_0x4f2281(0x304)](_0x4e4c4c);return _0x51ae13?j['of'](_0x51ae13):this[_0x4f2281(0x13b)]['pipe'](V[_0x4f2281(0x41c)](_0x4c09eb=>_0x4c09eb[_0x4f2281(0x289)]===_0x4e4c4c));}['readyForCollab'](_0x27cda9){var _0x400bca=_0x54277f;return j[_0x400bca(0x2d0)](this[_0x400bca(0x46b)](_0x27cda9)[_0x400bca(0x1e6)](V[_0x400bca(0x1db)](()=>{})));}['_init'](){var _0x297013=_0x54277f;this['_univerInstanceService'][_0x297013(0x411)](o[_0x297013(0x30e)][_0x297013(0x1c7)])[_0x297013(0x1e6)](j[_0x297013(0x3a7)](this[_0x297013(0x2dd)]),V[_0x297013(0x360)](0x10))[_0x297013(0x217)](async _0x37aa9e=>{var _0x59fcd2=_0x297013;const _0x67c8ef=_0x37aa9e[_0x59fcd2(0x364)](),_0x2b35f0=await this[_0x59fcd2(0x445)](_0x67c8ef,X[_0x59fcd2(0x1c7)]);this[_0x59fcd2(0x1c2)][_0x59fcd2(0x34b)](_0x67c8ef,_0x2b35f0);}),this[_0x297013(0x327)][_0x297013(0x411)](o[_0x297013(0x30e)][_0x297013(0x345)])[_0x297013(0x1e6)](j[_0x297013(0x3a7)](this[_0x297013(0x2dd)]),V[_0x297013(0x360)](0x10))[_0x297013(0x1e6)](V[_0x297013(0x41c)](_0x4050d5=>!_0x4050d5[_0x297013(0x364)]()[_0x297013(0x3cc)]('__')))[_0x297013(0x217)](async _0x644ef8=>{var _0x531f0b=_0x297013;const _0x5cca07=_0x644ef8[_0x531f0b(0x364)](),_0x117505=await this['_startCollaboration'](_0x5cca07,X[_0x531f0b(0x345)]);this[_0x531f0b(0x1c2)][_0x531f0b(0x34b)](_0x5cca07,_0x117505);}),j[_0x297013(0x42f)](this[_0x297013(0x327)]['getTypeOfUnitDisposed$'](o[_0x297013(0x30e)][_0x297013(0x1c7)]),this[_0x297013(0x327)]['getTypeOfUnitDisposed$'](o[_0x297013(0x30e)]['UNIVER_DOC']))[_0x297013(0x1e6)](j[_0x297013(0x3a7)](this[_0x297013(0x2dd)]))[_0x297013(0x217)](_0x17bab2=>{var _0x2cafd8=_0x297013;const _0x90dc8c=_0x17bab2[_0x2cafd8(0x364)](),_0x403925=this[_0x2cafd8(0x1c2)][_0x2cafd8(0x309)](_0x90dc8c);_0x403925&&(_0x403925[_0x2cafd8(0x1d0)](),this[_0x2cafd8(0x1c2)][_0x2cafd8(0x2a0)](_0x90dc8c));});}async[_0x54277f(0x445)](_0xbd3c7b,_0x1ce8d0){var _0x4670f2=_0x54277f;const _0x47b45a=await this['_collabSessionService']['requireSession'](_0xbd3c7b),_0x352d2d=this[_0x4670f2(0x1da)][_0x4670f2(0x2bd)](this[_0x4670f2(0xf2)](_0x1ce8d0),_0xbd3c7b,_0x1ce8d0,_0x47b45a);return await _0x352d2d['init'](),this[_0x4670f2(0x13b)][_0x4670f2(0x2f7)](_0x352d2d),_0x352d2d;}[_0x54277f(0xf2)](_0x2b8428){var _0x36e22c=_0x54277f;switch(_0x2b8428){case X[_0x36e22c(0x345)]:return exports[_0x36e22c(0x383)];case X[_0x36e22c(0x1c7)]:return exports[_0x36e22c(0x117)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2b8428);}}},exports[_0x54277f(0x371)]=li([Se(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),Se(0x1,o['Inject'](exports[_0x54277f(0x3b8)])),Se(0x2,o[_0x54277f(0x3b4)]),Se(0x3,o[_0x54277f(0x277)])],exports[_0x54277f(0x371)]);var ui=Object['getOwnPropertyDescriptor'],vi=(_0x2f1ed5,_0x211ab2,_0x3228b3,_0x9e460f)=>{var _0x444506=_0x54277f;for(var _0x3c84f9=_0x9e460f>0x1?void 0x0:_0x9e460f?ui(_0x211ab2,_0x3228b3):_0x211ab2,_0x7ae8f9=_0x2f1ed5[_0x444506(0x3a0)]-0x1,_0x2d39de;_0x7ae8f9>=0x0;_0x7ae8f9--)(_0x2d39de=_0x2f1ed5[_0x7ae8f9])&&(_0x3c84f9=_0x2d39de(_0x3c84f9)||_0x3c84f9);return _0x3c84f9;},Ye=(_0x4cd606,_0x106f58)=>(_0x262336,_0x5a0282)=>_0x106f58(_0x262336,_0x5a0282,_0x4cd606);const di=_0x54277f(0x3a8),Si=_0x54277f(0xfc);let xe=class extends o[_0x54277f(0x391)]{constructor(_0x39210f,_0x15edca){var _0x3e1b5b=_0x54277f;super(),this['_univerInstanceService']=_0x39210f,this['_configService']=_0x15edca,this[_0x3e1b5b(0x404)]();}['_init'](){var _0x1b51da=_0x54277f;this[_0x1b51da(0x317)](this[_0x1b51da(0x327)]['focused$'][_0x1b51da(0x217)](()=>{var _0x41544a=_0x1b51da,_0x51f5f1;const _0x536fd5=this[_0x41544a(0x327)][_0x41544a(0x23d)]();let _0x122722=(_0x51f5f1=this['_configService'][_0x41544a(0x319)](di))!=null?_0x51f5f1:Si;_0x536fd5 instanceof o[_0x41544a(0x420)]&&(_0x122722=_0x536fd5['name']),document[_0x41544a(0x245)]=_0x122722;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x54277f(0x3b4)])],xe);var Ii=Object['getOwnPropertyDescriptor'],fi=(_0x3b0676,_0x3ee00f,_0x254317,_0x2e396c)=>{for(var _0x338f67=_0x2e396c>0x1?void 0x0:_0x2e396c?Ii(_0x3ee00f,_0x254317):_0x3ee00f,_0xe8c924=_0x3b0676['length']-0x1,_0x16c2d0;_0xe8c924>=0x0;_0xe8c924--)(_0x16c2d0=_0x3b0676[_0xe8c924])&&(_0x338f67=_0x16c2d0(_0x338f67)||_0x338f67);return _0x338f67;},Ae=(_0x424b10,_0x518505)=>(_0x202a53,_0x444a23)=>_0x518505(_0x202a53,_0x444a23,_0x424b10);let Ne=class{constructor(_0x14138a,_0x3d9f98,_0x26083a){var _0x2e7e4a=_0x54277f;this[_0x2e7e4a(0x20d)]=_0x14138a,this['_httpService']=_0x3d9f98,this[_0x2e7e4a(0x3ed)]=_0x26083a,this[_0x2e7e4a(0x19f)]();}[_0x54277f(0x19f)](){var _0x1d46ea=_0x54277f;this[_0x1d46ea(0x353)][_0x1d46ea(0x190)]({'priority':0x1,'interceptor':(_0x1879d0,_0x1a690d)=>_0x1a690d(_0x1879d0)[_0x1d46ea(0x1e6)](j['concatMap'](async _0x2e5e42=>{var _0x3bb447=_0x1d46ea;const _0x2078dc=_0x2e5e42;if(_0x2078dc['status']===0x191){if(typeof window>'u')throw new Error(_0x3bb447(0x256));if(window[_0x3bb447(0x26f)](this['localeService']['t'](_0x3bb447(0x239)))){const _0x13eeb9=window[_0x3bb447(0x231)](window[_0x3bb447(0x2cd)]['href']);window[_0x3bb447(0x2cd)][_0x3bb447(0xfe)]=this[_0x3bb447(0x3ba)]()+_0x3bb447(0x1cf)+_0x13eeb9;}}return _0x2078dc;}))});}[_0x54277f(0x3ba)](){var _0xc9104c=_0x54277f,_0x28e6ea;const _0x20144a=this[_0xc9104c(0x20d)][_0xc9104c(0x319)](Y);return(_0x28e6ea=_0x20144a==null?void 0x0:_0x20144a['loginUrlKey'])!=null?_0x28e6ea:Ht;}};Ne=fi([Ae(0x0,o[_0x54277f(0x3b4)]),Ae(0x1,o[_0x54277f(0x226)](K[_0x54277f(0x12f)])),Ae(0x2,o[_0x54277f(0x226)](o[_0x54277f(0x3d2)]))],Ne);var Ei=Object[_0x54277f(0x401)],pi=(_0x1360ae,_0x24d06b,_0x2e4d38,_0x16e658)=>{var _0x4d52d4=_0x54277f;for(var _0x21fa1f=_0x16e658>0x1?void 0x0:_0x16e658?Ei(_0x24d06b,_0x2e4d38):_0x24d06b,_0x105e2a=_0x1360ae[_0x4d52d4(0x3a0)]-0x1,_0x53e0c3;_0x105e2a>=0x0;_0x105e2a--)(_0x53e0c3=_0x1360ae[_0x105e2a])&&(_0x21fa1f=_0x53e0c3(_0x21fa1f)||_0x21fa1f);return _0x21fa1f;},Ke=(_0x5101ed,_0x29e280)=>(_0x1fb220,_0x57538b)=>_0x29e280(_0x1fb220,_0x57538b,_0x5101ed);const mi=_0x54277f(0x1ba);exports['AuthzIoHttpService']=class extends o[_0x54277f(0x391)]{constructor(_0x451adf,_0x4568d8){var _0x166925=_0x54277f;super(),this['_HTTPService']=_0x451adf,this[_0x166925(0x20d)]=_0x4568d8,this[_0x166925(0x412)]();}[_0x54277f(0x412)](){var _0x954f41=_0x54277f;const _0x5a79a6=this;this['disposeWithMe'](this[_0x954f41(0x120)][_0x954f41(0x190)]({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x322103){var _0x5d5639=_0x954f41,_0x1618c1;if(_0x322103[_0x5d5639(0x156)]==='POST'&&((_0x1618c1=_0x322103[_0x5d5639(0x146)])!=null&&_0x1618c1[_0x5d5639(0x29e)])){const {objectID:_0x1e21f0,objectType:_0x321272}=_0x322103['requestParams'][_0x5d5639(0x29e)]||{};if(!_0x1e21f0||_0x321272===void 0x0)return!0x1;const _0x5c2893=_0x5a79a6[_0x5d5639(0x3f0)]()+'/'+_0x321272+_0x5d5639(0x296)+_0x1e21f0+_0x5d5639(0x19e);if(_0x322103[_0x5d5639(0x2de)]===_0x5c2893)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x32bcf2){var _0x211ddb=_0x954f41,_0x396648;return(_0x396648=_0x32bcf2['requestParams'])==null?void 0x0:_0x396648[_0x211ddb(0x29e)];},'mergeParamsToRequest'(_0x47c32c,_0x15aab4){var _0xfe8e6=_0x954f41;const _0x461c7c=_0x5a79a6[_0xfe8e6(0x3f0)]()+_0xfe8e6(0x237),_0x348a8a=_0x47c32c['reduce']((_0xd79ca0,_0x35a873)=>{const {unitID:_0x400808,objectID:_0x42766c,objectType:_0x57f977,actions:_0x51066d}=_0x35a873;return _0xd79ca0[_0x400808]||(_0xd79ca0[_0x400808]={}),_0xd79ca0[_0x400808][_0x42766c]||(_0xd79ca0[_0x400808][_0x42766c]={'objectID':_0x42766c,'objectType':_0x57f977,'actions':[]}),_0xd79ca0[_0x400808][_0x42766c]['actions']['push'](..._0x51066d),_0xd79ca0;},{}),_0x30b318=[];for(const _0xad4b07 in _0x348a8a)for(const _0x32d6a4 in _0x348a8a[_0xad4b07]){const {actions:_0x873edc,objectType:_0x2db57e}=_0x348a8a[_0xad4b07][_0x32d6a4],_0xf32007=[...new Set(_0x873edc)];_0x30b318[_0xfe8e6(0x394)]({'unitID':_0xad4b07,'objectID':_0x32d6a4,'objectType':_0x2db57e,'actions':_0xf32007});}return new K[(_0xfe8e6(0x396))]('POST',_0x461c7c,{'headers':_0x15aab4['headers'],'withCredentials':_0x15aab4['withCredentials'],'responseType':_0x15aab4[_0xfe8e6(0x20a)],'body':{'requests':_0x30b318}});}},{'distributeResult'(_0x285d3e,_0x51bac5){var _0x15f388=_0x954f41;const {objectActions:_0x395546}=_0x285d3e;return _0x51bac5[_0x15f388(0x1db)](_0x441a59=>{var _0x1390d2=_0x15f388;const {unitID:_0x49f920,objectID:_0x42e327,actions:_0x55d6a8}=_0x441a59,_0x1b7f0b=_0x395546[_0x1390d2(0x20e)](_0x38afce=>_0x38afce[_0x1390d2(0x289)]===_0x49f920&&_0x38afce[_0x1390d2(0x18b)]===_0x42e327),_0x5ef99e=_0x55d6a8[_0x1390d2(0x1db)](_0x4049e2=>_0x1b7f0b==null?void 0x0:_0x1b7f0b[_0x1390d2(0x11c)][_0x1390d2(0x20e)](_0x2378c5=>_0x2378c5['action']===_0x4049e2))[_0x1390d2(0x41c)](_0x5d2c5e=>!!_0x5d2c5e);return{'config':_0x441a59,'result':{'actions':_0x5ef99e,'error':_0x285d3e[_0x1390d2(0x437)]}};});}})}));}['_getAPIPrefixPath'](){var _0xf9dbe4=_0x54277f,_0x24f742;const _0xa4b189=this[_0xf9dbe4(0x20d)][_0xf9dbe4(0x319)](Y);return(_0x24f742=_0xa4b189==null?void 0x0:_0xa4b189[_0xf9dbe4(0x27f)])!=null?_0x24f742:mi;}async['create'](_0x42c222){var _0x42b45c=_0x54277f;const _0x3c5801=this[_0x42b45c(0x3f0)]()+'/'+_0x42c222[_0x42b45c(0x183)]+'/object';return(await this[_0x42b45c(0x120)]['post'](_0x3c5801,{'body':_0x42c222}))[_0x42b45c(0x29e)][_0x42b45c(0x18b)]||'';}async[_0x54277f(0x25b)](_0x2ef79a){var _0x8e8885=_0x54277f;const _0x5d447b=this[_0x8e8885(0x3f0)]()+_0x8e8885(0x39f);return(await this[_0x8e8885(0x120)]['post'](_0x5d447b,{'body':_0x2ef79a}))[_0x8e8885(0x29e)][_0x8e8885(0x1f4)];}async['update'](_0x10ee2){var _0x29ed79=_0x54277f,_0x331e95,_0x511ad8;const _0x2dd6b9=this[_0x29ed79(0x3f0)]()+'/'+_0x10ee2[_0x29ed79(0x183)]+_0x29ed79(0x296)+_0x10ee2[_0x29ed79(0x18b)],_0xa6bbb5=await this[_0x29ed79(0x120)][_0x29ed79(0x38d)](_0x2dd6b9,{'body':_0x10ee2});if(((_0x511ad8=(_0x331e95=_0xa6bbb5==null?void 0x0:_0xa6bbb5[_0x29ed79(0x29e)])==null?void 0x0:_0x331e95[_0x29ed79(0x437)])==null?void 0x0:_0x511ad8['code'])!==0x1)throw new Error(_0x29ed79(0x3a1));}async[_0x54277f(0x2fa)](_0x4c8d35){var _0x342a3b=_0x54277f;const _0xa0c84d=this[_0x342a3b(0x3f0)]()+'/'+_0x4c8d35['objectType']+'/object/'+_0x4c8d35[_0x342a3b(0x18b)]+_0x342a3b(0x19e);return(await this[_0x342a3b(0x120)][_0x342a3b(0x2a6)](_0xa0c84d,{'body':_0x4c8d35}))[_0x342a3b(0x29e)]['actions'];}async['batchAllowed'](_0x29d024){var _0x3cd92e=_0x54277f;const _0x415cd4=this[_0x3cd92e(0x3f0)]()+_0x3cd92e(0x237);return(await this[_0x3cd92e(0x120)]['post'](_0x415cd4,{'body':{'requests':_0x29d024}}))[_0x3cd92e(0x29e)][_0x3cd92e(0x2fb)];}async[_0x54277f(0x381)](_0x5395d1){var _0x3e8402=_0x54277f;const _0x2b9c79=this['_getAPIPrefixPath']()+'/'+_0x5395d1['objectType']+'/role',_0x151ca9=await this[_0x3e8402(0x120)][_0x3e8402(0x2a6)](_0x2b9c79,{'body':_0x5395d1});return{'roles':_0x151ca9[_0x3e8402(0x29e)][_0x3e8402(0x2a5)],'actions':_0x151ca9[_0x3e8402(0x29e)][_0x3e8402(0x11c)]};}async[_0x54277f(0xff)](_0x9a21ec){var _0x9d53f8=_0x54277f;const _0x2d6fc8=this[_0x9d53f8(0x3f0)]()+_0x9d53f8(0x337);await this[_0x9d53f8(0x120)][_0x9d53f8(0x2a0)](_0x2d6fc8,{'params':{'collaboratorID':_0x9a21ec[_0x9d53f8(0x45c)],'objectID':_0x9a21ec[_0x9d53f8(0x18b)],'unitID':_0x9a21ec[_0x9d53f8(0x289)]}});}async[_0x54277f(0x3c3)](_0x24e30d){var _0x48d943=_0x54277f;const _0x3a6c89=this[_0x48d943(0x3f0)]()+_0x48d943(0x337);await this[_0x48d943(0x120)][_0x48d943(0x2bf)](_0x3a6c89,{'body':_0x24e30d});}async['createCollaborator'](_0xab4e91){var _0xc0292a=_0x54277f;const _0x56ea94=this[_0xc0292a(0x3f0)]()+_0xc0292a(0x337);await this['_HTTPService'][_0xc0292a(0x2a6)](_0x56ea94,{'body':_0xab4e91});}async[_0x54277f(0x116)](_0x59b6a9){var _0x38e445=_0x54277f;const _0x39ffac=this[_0x38e445(0x3f0)]()+_0x38e445(0x337);return(await this['_HTTPService']['get'](_0x39ffac,{'params':{'objectID':_0x59b6a9[_0x38e445(0x18b)],'unitID':_0x59b6a9[_0x38e445(0x289)]}}))[_0x38e445(0x29e)][_0x38e445(0x2ee)];}async[_0x54277f(0x42c)](_0x1a5fd1){var _0x34c9f4=_0x54277f;const _0x48ed09=this[_0x34c9f4(0x3f0)]()+_0x34c9f4(0x337);await this[_0x34c9f4(0x120)][_0x34c9f4(0x38d)](_0x48ed09,{'body':_0x1a5fd1});}},exports['AuthzIoHttpService']=pi([Ke(0x0,o['Inject'](K[_0x54277f(0x12f)])),Ke(0x1,o['Inject'](o[_0x54277f(0x3b4)]))],exports[_0x54277f(0x298)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x8ef64d){var _0x1b7606=_0x54277f;return _0x8ef64d&&_0x8ef64d['__esModule']&&Object[_0x1b7606(0x2c7)]['hasOwnProperty'][_0x1b7606(0x423)](_0x8ef64d,_0x1b7606(0x12c))?_0x8ef64d[_0x1b7606(0x12c)]:_0x8ef64d;}var Ie={'exports':{}};function gi(_0x2a7284){var _0x575661=_0x54277f;throw new Error(_0x575661(0x1cd)+_0x2a7284+_0x575661(0x416));}var fe={'exports':{}},Ti=fe[_0x54277f(0x292)],qe;function Z(){var _0x2f4211=_0x54277f;return qe||(qe=0x1,function(_0x145c06,_0x333c31){(function(_0xab6f42,_0x1d8f47){_0x145c06['exports']=_0x1d8f47();}(Ti,function(){var _0x494ac5=_0x494ac5||function(_0x27c1f8,_0x1cf48a){var _0x57dcf8=_0x4c0c,_0x4a4633;if(typeof window<'u'&&window['crypto']&&(_0x4a4633=window[_0x57dcf8(0x2f1)]),typeof self<'u'&&self['crypto']&&(_0x4a4633=self[_0x57dcf8(0x2f1)]),typeof globalThis<'u'&&globalThis[_0x57dcf8(0x2f1)]&&(_0x4a4633=globalThis[_0x57dcf8(0x2f1)]),!_0x4a4633&&typeof window<'u'&&window[_0x57dcf8(0x32e)]&&(_0x4a4633=window[_0x57dcf8(0x32e)]),!_0x4a4633&&typeof Pe<'u'&&Pe[_0x57dcf8(0x2f1)]&&(_0x4a4633=Pe['crypto']),!_0x4a4633&&typeof gi==_0x57dcf8(0x3d9))try{_0x4a4633=require('crypto');}catch{}var _0x46523f=function(){var _0x5ccc4d=_0x57dcf8;if(_0x4a4633){if(typeof _0x4a4633[_0x5ccc4d(0x286)]=='function')try{return _0x4a4633['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a4633[_0x5ccc4d(0x313)]=='function')try{return _0x4a4633[_0x5ccc4d(0x313)](0x4)[_0x5ccc4d(0x1dc)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2dc575=Object['create']||(function(){function _0x5a0eb6(){}return function(_0x154699){var _0x343b4d=_0x4c0c,_0x1d6452;return _0x5a0eb6['prototype']=_0x154699,_0x1d6452=new _0x5a0eb6(),_0x5a0eb6[_0x343b4d(0x2c7)]=null,_0x1d6452;};}()),_0x4ef1f1={},_0x26c481=_0x4ef1f1[_0x57dcf8(0x26a)]={},_0x4e28e7=_0x26c481['Base']=(function(){return{'extend':function(_0xc7203c){var _0x5dae03=_0x4c0c,_0x4ae05e=_0x2dc575(this);return _0xc7203c&&_0x4ae05e['mixIn'](_0xc7203c),(!_0x4ae05e['hasOwnProperty'](_0x5dae03(0x19f))||this[_0x5dae03(0x19f)]===_0x4ae05e[_0x5dae03(0x19f)])&&(_0x4ae05e['init']=function(){var _0x48e7f5=_0x5dae03;_0x4ae05e[_0x48e7f5(0x44c)][_0x48e7f5(0x19f)][_0x48e7f5(0x2fe)](this,arguments);}),_0x4ae05e['init'][_0x5dae03(0x2c7)]=_0x4ae05e,_0x4ae05e[_0x5dae03(0x44c)]=this,_0x4ae05e;},'create':function(){var _0x529562=_0x4c0c,_0x53748f=this[_0x529562(0x266)]();return _0x53748f[_0x529562(0x19f)][_0x529562(0x2fe)](_0x53748f,arguments),_0x53748f;},'init':function(){},'mixIn':function(_0x1a6701){var _0x5b90f7=_0x4c0c;for(var _0x32ba89 in _0x1a6701)_0x1a6701[_0x5b90f7(0x20b)](_0x32ba89)&&(this[_0x32ba89]=_0x1a6701[_0x32ba89]);_0x1a6701[_0x5b90f7(0x20b)]('toString')&&(this['toString']=_0x1a6701[_0x5b90f7(0xfb)]);},'clone':function(){var _0x1f241a=_0x4c0c;return this[_0x1f241a(0x19f)][_0x1f241a(0x2c7)][_0x1f241a(0x266)](this);}};}()),_0x4895b2=_0x26c481[_0x57dcf8(0x1fd)]=_0x4e28e7['extend']({'init':function(_0x29ccc,_0x1f5cc){var _0x174e3e=_0x57dcf8;_0x29ccc=this[_0x174e3e(0x271)]=_0x29ccc||[],_0x1f5cc!=_0x1cf48a?this[_0x174e3e(0x1e5)]=_0x1f5cc:this[_0x174e3e(0x1e5)]=_0x29ccc[_0x174e3e(0x3a0)]*0x4;},'toString':function(_0x850128){var _0x449a1f=_0x57dcf8;return(_0x850128||_0x28224e)[_0x449a1f(0x2a7)](this);},'concat':function(_0x340bba){var _0x1c0765=_0x57dcf8,_0x330696=this[_0x1c0765(0x271)],_0x5952b4=_0x340bba['words'],_0x34d204=this['sigBytes'],_0x24250b=_0x340bba['sigBytes'];if(this[_0x1c0765(0x2f9)](),_0x34d204%0x4)for(var _0x390b1c=0x0;_0x390b1c<_0x24250b;_0x390b1c++){var _0x431caf=_0x5952b4[_0x390b1c>>>0x2]>>>0x18-_0x390b1c%0x4*0x8&0xff;_0x330696[_0x34d204+_0x390b1c>>>0x2]|=_0x431caf<<0x18-(_0x34d204+_0x390b1c)%0x4*0x8;}else{for(var _0x3ec550=0x0;_0x3ec550<_0x24250b;_0x3ec550+=0x4)_0x330696[_0x34d204+_0x3ec550>>>0x2]=_0x5952b4[_0x3ec550>>>0x2];}return this[_0x1c0765(0x1e5)]+=_0x24250b,this;},'clamp':function(){var _0x5151c3=_0x57dcf8,_0x237836=this['words'],_0x35f513=this[_0x5151c3(0x1e5)];_0x237836[_0x35f513>>>0x2]&=0xffffffff<<0x20-_0x35f513%0x4*0x8,_0x237836[_0x5151c3(0x3a0)]=_0x27c1f8[_0x5151c3(0x3b6)](_0x35f513/0x4);},'clone':function(){var _0x503066=_0x57dcf8,_0x2fab63=_0x4e28e7['clone']['call'](this);return _0x2fab63[_0x503066(0x271)]=this[_0x503066(0x271)]['slice'](0x0),_0x2fab63;},'random':function(_0x845d5d){for(var _0x354973=[],_0x5e06d1=0x0;_0x5e06d1<_0x845d5d;_0x5e06d1+=0x4)_0x354973['push'](_0x46523f());return new _0x4895b2['init'](_0x354973,_0x845d5d);}}),_0x4c26ea=_0x4ef1f1[_0x57dcf8(0x2c4)]={},_0x28224e=_0x4c26ea[_0x57dcf8(0x2ac)]={'stringify':function(_0x1d983f){var _0x4ba465=_0x57dcf8;for(var _0x5a0580=_0x1d983f[_0x4ba465(0x271)],_0x277f52=_0x1d983f[_0x4ba465(0x1e5)],_0x2e126f=[],_0x5ecb35=0x0;_0x5ecb35<_0x277f52;_0x5ecb35++){var _0x386fe5=_0x5a0580[_0x5ecb35>>>0x2]>>>0x18-_0x5ecb35%0x4*0x8&0xff;_0x2e126f[_0x4ba465(0x394)]((_0x386fe5>>>0x4)[_0x4ba465(0xfb)](0x10)),_0x2e126f[_0x4ba465(0x394)]((_0x386fe5&0xf)[_0x4ba465(0xfb)](0x10));}return _0x2e126f['join']('');},'parse':function(_0x184e2f){var _0x3a6590=_0x57dcf8;for(var _0x32bc91=_0x184e2f[_0x3a6590(0x3a0)],_0x12d59e=[],_0x174e2b=0x0;_0x174e2b<_0x32bc91;_0x174e2b+=0x2)_0x12d59e[_0x174e2b>>>0x3]|=parseInt(_0x184e2f[_0x3a6590(0x26c)](_0x174e2b,0x2),0x10)<<0x18-_0x174e2b%0x8*0x4;return new _0x4895b2[(_0x3a6590(0x19f))](_0x12d59e,_0x32bc91/0x2);}},_0x8f5ef8=_0x4c26ea[_0x57dcf8(0x274)]={'stringify':function(_0x5f5b16){var _0x3fee80=_0x57dcf8;for(var _0x70bb1b=_0x5f5b16[_0x3fee80(0x271)],_0x4babac=_0x5f5b16['sigBytes'],_0x24e404=[],_0x18a9ee=0x0;_0x18a9ee<_0x4babac;_0x18a9ee++){var _0x166fd4=_0x70bb1b[_0x18a9ee>>>0x2]>>>0x18-_0x18a9ee%0x4*0x8&0xff;_0x24e404[_0x3fee80(0x394)](String[_0x3fee80(0x11d)](_0x166fd4));}return _0x24e404[_0x3fee80(0x24a)]('');},'parse':function(_0x159aa8){var _0x4a00b9=_0x57dcf8;for(var _0x236e51=_0x159aa8[_0x4a00b9(0x3a0)],_0x3850ff=[],_0x2c3432=0x0;_0x2c3432<_0x236e51;_0x2c3432++)_0x3850ff[_0x2c3432>>>0x2]|=(_0x159aa8[_0x4a00b9(0x162)](_0x2c3432)&0xff)<<0x18-_0x2c3432%0x4*0x8;return new _0x4895b2[(_0x4a00b9(0x19f))](_0x3850ff,_0x236e51);}},_0x2632f4=_0x4c26ea[_0x57dcf8(0x282)]={'stringify':function(_0x3a3f56){var _0x3b0363=_0x57dcf8;try{return decodeURIComponent(escape(_0x8f5ef8[_0x3b0363(0x2a7)](_0x3a3f56)));}catch{throw new Error(_0x3b0363(0x3f5));}},'parse':function(_0x4e8ec7){var _0x4673b8=_0x57dcf8;return _0x8f5ef8[_0x4673b8(0x288)](unescape(encodeURIComponent(_0x4e8ec7)));}},_0x5c5aa7=_0x26c481[_0x57dcf8(0x382)]=_0x4e28e7[_0x57dcf8(0x266)]({'reset':function(){var _0x41a259=_0x57dcf8;this[_0x41a259(0x338)]=new _0x4895b2[(_0x41a259(0x19f))](),this['_nDataBytes']=0x0;},'_append':function(_0x55526b){var _0x433ae8=_0x57dcf8;typeof _0x55526b==_0x433ae8(0x369)&&(_0x55526b=_0x2632f4['parse'](_0x55526b)),this[_0x433ae8(0x338)][_0x433ae8(0x1f3)](_0x55526b),this[_0x433ae8(0x127)]+=_0x55526b[_0x433ae8(0x1e5)];},'_process':function(_0x1ba66e){var _0x4af11f=_0x57dcf8,_0x1a16e6,_0x417972=this[_0x4af11f(0x338)],_0x4b26f9=_0x417972[_0x4af11f(0x271)],_0x488ec9=_0x417972['sigBytes'],_0x13d40c=this[_0x4af11f(0x3d0)],_0x756f82=_0x13d40c*0x4,_0x41d8c1=_0x488ec9/_0x756f82;_0x1ba66e?_0x41d8c1=_0x27c1f8[_0x4af11f(0x3b6)](_0x41d8c1):_0x41d8c1=_0x27c1f8['max']((_0x41d8c1|0x0)-this['_minBufferSize'],0x0);var _0x2a2d28=_0x41d8c1*_0x13d40c,_0x108ac7=_0x27c1f8[_0x4af11f(0x139)](_0x2a2d28*0x4,_0x488ec9);if(_0x2a2d28){for(var _0x2ad6ed=0x0;_0x2ad6ed<_0x2a2d28;_0x2ad6ed+=_0x13d40c)this[_0x4af11f(0x31a)](_0x4b26f9,_0x2ad6ed);_0x1a16e6=_0x4b26f9['splice'](0x0,_0x2a2d28),_0x417972[_0x4af11f(0x1e5)]-=_0x108ac7;}return new _0x4895b2[(_0x4af11f(0x19f))](_0x1a16e6,_0x108ac7);},'clone':function(){var _0x5c9cbe=_0x57dcf8,_0x23546b=_0x4e28e7[_0x5c9cbe(0x106)][_0x5c9cbe(0x423)](this);return _0x23546b[_0x5c9cbe(0x338)]=this[_0x5c9cbe(0x338)][_0x5c9cbe(0x106)](),_0x23546b;},'_minBufferSize':0x0});_0x26c481[_0x57dcf8(0x456)]=_0x5c5aa7['extend']({'cfg':_0x4e28e7['extend'](),'init':function(_0x119eb9){var _0x2b393c=_0x57dcf8;this['cfg']=this[_0x2b393c(0x3d6)][_0x2b393c(0x266)](_0x119eb9),this[_0x2b393c(0x403)]();},'reset':function(){var _0x1b5806=_0x57dcf8;_0x5c5aa7[_0x1b5806(0x403)][_0x1b5806(0x423)](this),this['_doReset']();},'update':function(_0x36411c){var _0x5e7820=_0x57dcf8;return this[_0x5e7820(0xe9)](_0x36411c),this[_0x5e7820(0x184)](),this;},'finalize':function(_0x391da9){var _0x5c2dcd=_0x57dcf8;_0x391da9&&this[_0x5c2dcd(0xe9)](_0x391da9);var _0x526d38=this[_0x5c2dcd(0x361)]();return _0x526d38;},'blockSize':0x10,'_createHelper':function(_0x363386){return function(_0x5088c6,_0x508795){var _0x3eeb17=_0x4c0c;return new _0x363386['init'](_0x508795)[_0x3eeb17(0x43c)](_0x5088c6);};},'_createHmacHelper':function(_0x52e7a1){return function(_0x38039e,_0x202c65){var _0x5d70c0=_0x4c0c;return new _0x214178[(_0x5d70c0(0x468))][(_0x5d70c0(0x19f))](_0x52e7a1,_0x202c65)[_0x5d70c0(0x43c)](_0x38039e);};}});var _0x214178=_0x4ef1f1[_0x57dcf8(0x470)]={};return _0x4ef1f1;}(Math);return _0x494ac5;}));}(fe)),fe[_0x2f4211(0x292)];}var Ee={'exports':{}},Ci=Ee['exports'],ze;function Tt(){var _0x50df1e=_0x54277f;return ze||(ze=0x1,function(_0x584303,_0x469f79){(function(_0x302040,_0x13ee52){var _0x19f4b8=_0x4c0c;_0x584303[_0x19f4b8(0x292)]=_0x13ee52(Z());}(Ci,function(_0x2a4c17){var _0x134a84=_0x4c0c;return(function(){var _0x49066a=_0x4c0c,_0x387126=_0x2a4c17,_0x13321d=_0x387126[_0x49066a(0x26a)],_0x4e24b8=_0x13321d[_0x49066a(0x1fd)],_0x41a184=_0x387126[_0x49066a(0x2c4)];_0x41a184['Base64']={'stringify':function(_0x2f0581){var _0x47a115=_0x49066a,_0x15de1d=_0x2f0581[_0x47a115(0x271)],_0x4148ee=_0x2f0581['sigBytes'],_0xf063f1=this['_map'];_0x2f0581[_0x47a115(0x2f9)]();for(var _0x2b0fe5=[],_0x1866c8=0x0;_0x1866c8<_0x4148ee;_0x1866c8+=0x3)for(var _0x3f95fa=_0x15de1d[_0x1866c8>>>0x2]>>>0x18-_0x1866c8%0x4*0x8&0xff,_0x287bd2=_0x15de1d[_0x1866c8+0x1>>>0x2]>>>0x18-(_0x1866c8+0x1)%0x4*0x8&0xff,_0x5f97d5=_0x15de1d[_0x1866c8+0x2>>>0x2]>>>0x18-(_0x1866c8+0x2)%0x4*0x8&0xff,_0x3aa925=_0x3f95fa<<0x10|_0x287bd2<<0x8|_0x5f97d5,_0x32c3c4=0x0;_0x32c3c4<0x4&&_0x1866c8+_0x32c3c4*0.75<_0x4148ee;_0x32c3c4++)_0x2b0fe5[_0x47a115(0x394)](_0xf063f1[_0x47a115(0x41b)](_0x3aa925>>>0x6*(0x3-_0x32c3c4)&0x3f));var _0x260a7b=_0xf063f1[_0x47a115(0x41b)](0x40);if(_0x260a7b){for(;_0x2b0fe5[_0x47a115(0x3a0)]%0x4;)_0x2b0fe5[_0x47a115(0x394)](_0x260a7b);}return _0x2b0fe5['join']('');},'parse':function(_0x5e47b9){var _0x548354=_0x49066a,_0x394608=_0x5e47b9['length'],_0x5a8bf8=this[_0x548354(0x452)],_0x544941=this[_0x548354(0x359)];if(!_0x544941){_0x544941=this['_reverseMap']=[];for(var _0xbab1d8=0x0;_0xbab1d8<_0x5a8bf8['length'];_0xbab1d8++)_0x544941[_0x5a8bf8['charCodeAt'](_0xbab1d8)]=_0xbab1d8;}var _0x3f58b0=_0x5a8bf8['charAt'](0x40);if(_0x3f58b0){var _0xad00ec=_0x5e47b9['indexOf'](_0x3f58b0);_0xad00ec!==-0x1&&(_0x394608=_0xad00ec);}return _0x5856af(_0x5e47b9,_0x394608,_0x544941);},'_map':_0x49066a(0x149)};function _0x5856af(_0x404704,_0x4d7eff,_0x4b5aa7){var _0x3d4c46=_0x49066a;for(var _0x436999=[],_0x5d4847=0x0,_0x32106d=0x0;_0x32106d<_0x4d7eff;_0x32106d++)if(_0x32106d%0x4){var _0x2930dc=_0x4b5aa7[_0x404704[_0x3d4c46(0x162)](_0x32106d-0x1)]<<_0x32106d%0x4*0x2,_0x23b362=_0x4b5aa7[_0x404704[_0x3d4c46(0x162)](_0x32106d)]>>>0x6-_0x32106d%0x4*0x2,_0xcca3a6=_0x2930dc|_0x23b362;_0x436999[_0x5d4847>>>0x2]|=_0xcca3a6<<0x18-_0x5d4847%0x4*0x8,_0x5d4847++;}return _0x4e24b8[_0x3d4c46(0x29c)](_0x436999,_0x5d4847);}}()),_0x2a4c17[_0x134a84(0x2c4)][_0x134a84(0x1c8)];}));}(Ee)),Ee[_0x50df1e(0x292)];}var pe={'exports':{}},Oi=pe[_0x54277f(0x292)],Xe;function bi(){var _0x2bf6f5=_0x54277f;return Xe||(Xe=0x1,function(_0x1f46cd,_0x3a2f87){(function(_0x506083,_0x27ae6e){_0x1f46cd['exports']=_0x27ae6e(Z());}(Oi,function(_0x46a2c3){var _0x5ae865=_0x4c0c;return function(_0x4c4716){var _0x4bd1ba=_0x4c0c,_0x4a9021=_0x46a2c3,_0x1b6eda=_0x4a9021[_0x4bd1ba(0x26a)],_0xc3df3c=_0x1b6eda[_0x4bd1ba(0x1fd)],_0x5311eb=_0x1b6eda[_0x4bd1ba(0x456)],_0x3bd4de=_0x4a9021[_0x4bd1ba(0x470)],_0x4d1e23=[];(function(){var _0x4f0c3d=_0x4bd1ba;for(var _0x25ab7f=0x0;_0x25ab7f<0x40;_0x25ab7f++)_0x4d1e23[_0x25ab7f]=_0x4c4716['abs'](_0x4c4716[_0x4f0c3d(0x1af)](_0x25ab7f+0x1))*0x100000000|0x0;}());var _0x173e52=_0x3bd4de[_0x4bd1ba(0x17f)]=_0x5311eb[_0x4bd1ba(0x266)]({'_doReset':function(){var _0x2e91a4=_0x4bd1ba;this[_0x2e91a4(0x11a)]=new _0xc3df3c[(_0x2e91a4(0x19f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa6f7a8,_0x5b970b){var _0x1d5b24=_0x4bd1ba;for(var _0x501a35=0x0;_0x501a35<0x10;_0x501a35++){var _0x29a619=_0x5b970b+_0x501a35,_0x4190bb=_0xa6f7a8[_0x29a619];_0xa6f7a8[_0x29a619]=(_0x4190bb<<0x8|_0x4190bb>>>0x18)&0xff00ff|(_0x4190bb<<0x18|_0x4190bb>>>0x8)&0xff00ff00;}var _0x15a153=this[_0x1d5b24(0x11a)][_0x1d5b24(0x271)],_0x1bdb86=_0xa6f7a8[_0x5b970b+0x0],_0x2abc8b=_0xa6f7a8[_0x5b970b+0x1],_0x1c8cdb=_0xa6f7a8[_0x5b970b+0x2],_0x5026ae=_0xa6f7a8[_0x5b970b+0x3],_0x9011c9=_0xa6f7a8[_0x5b970b+0x4],_0x525073=_0xa6f7a8[_0x5b970b+0x5],_0x28de63=_0xa6f7a8[_0x5b970b+0x6],_0x2698c6=_0xa6f7a8[_0x5b970b+0x7],_0x473115=_0xa6f7a8[_0x5b970b+0x8],_0x4da8bf=_0xa6f7a8[_0x5b970b+0x9],_0x17e494=_0xa6f7a8[_0x5b970b+0xa],_0x3045e0=_0xa6f7a8[_0x5b970b+0xb],_0x491290=_0xa6f7a8[_0x5b970b+0xc],_0x4ca8f9=_0xa6f7a8[_0x5b970b+0xd],_0x32bea0=_0xa6f7a8[_0x5b970b+0xe],_0x424cd1=_0xa6f7a8[_0x5b970b+0xf],_0x43ac1e=_0x15a153[0x0],_0x4c2d2b=_0x15a153[0x1],_0x3070d8=_0x15a153[0x2],_0x751675=_0x15a153[0x3];_0x43ac1e=_0x14fb6a(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x1bdb86,0x7,_0x4d1e23[0x0]),_0x751675=_0x14fb6a(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x2abc8b,0xc,_0x4d1e23[0x1]),_0x3070d8=_0x14fb6a(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x1c8cdb,0x11,_0x4d1e23[0x2]),_0x4c2d2b=_0x14fb6a(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x5026ae,0x16,_0x4d1e23[0x3]),_0x43ac1e=_0x14fb6a(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x9011c9,0x7,_0x4d1e23[0x4]),_0x751675=_0x14fb6a(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x525073,0xc,_0x4d1e23[0x5]),_0x3070d8=_0x14fb6a(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x28de63,0x11,_0x4d1e23[0x6]),_0x4c2d2b=_0x14fb6a(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x2698c6,0x16,_0x4d1e23[0x7]),_0x43ac1e=_0x14fb6a(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x473115,0x7,_0x4d1e23[0x8]),_0x751675=_0x14fb6a(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x4da8bf,0xc,_0x4d1e23[0x9]),_0x3070d8=_0x14fb6a(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x17e494,0x11,_0x4d1e23[0xa]),_0x4c2d2b=_0x14fb6a(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x3045e0,0x16,_0x4d1e23[0xb]),_0x43ac1e=_0x14fb6a(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x491290,0x7,_0x4d1e23[0xc]),_0x751675=_0x14fb6a(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x4ca8f9,0xc,_0x4d1e23[0xd]),_0x3070d8=_0x14fb6a(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x32bea0,0x11,_0x4d1e23[0xe]),_0x4c2d2b=_0x14fb6a(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x424cd1,0x16,_0x4d1e23[0xf]),_0x43ac1e=_0x32d7d4(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x2abc8b,0x5,_0x4d1e23[0x10]),_0x751675=_0x32d7d4(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x28de63,0x9,_0x4d1e23[0x11]),_0x3070d8=_0x32d7d4(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x3045e0,0xe,_0x4d1e23[0x12]),_0x4c2d2b=_0x32d7d4(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x1bdb86,0x14,_0x4d1e23[0x13]),_0x43ac1e=_0x32d7d4(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x525073,0x5,_0x4d1e23[0x14]),_0x751675=_0x32d7d4(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x17e494,0x9,_0x4d1e23[0x15]),_0x3070d8=_0x32d7d4(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x424cd1,0xe,_0x4d1e23[0x16]),_0x4c2d2b=_0x32d7d4(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x9011c9,0x14,_0x4d1e23[0x17]),_0x43ac1e=_0x32d7d4(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x4da8bf,0x5,_0x4d1e23[0x18]),_0x751675=_0x32d7d4(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x32bea0,0x9,_0x4d1e23[0x19]),_0x3070d8=_0x32d7d4(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x5026ae,0xe,_0x4d1e23[0x1a]),_0x4c2d2b=_0x32d7d4(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x473115,0x14,_0x4d1e23[0x1b]),_0x43ac1e=_0x32d7d4(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x4ca8f9,0x5,_0x4d1e23[0x1c]),_0x751675=_0x32d7d4(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x1c8cdb,0x9,_0x4d1e23[0x1d]),_0x3070d8=_0x32d7d4(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x2698c6,0xe,_0x4d1e23[0x1e]),_0x4c2d2b=_0x32d7d4(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x491290,0x14,_0x4d1e23[0x1f]),_0x43ac1e=_0x529bb9(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x525073,0x4,_0x4d1e23[0x20]),_0x751675=_0x529bb9(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x473115,0xb,_0x4d1e23[0x21]),_0x3070d8=_0x529bb9(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x3045e0,0x10,_0x4d1e23[0x22]),_0x4c2d2b=_0x529bb9(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x32bea0,0x17,_0x4d1e23[0x23]),_0x43ac1e=_0x529bb9(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x2abc8b,0x4,_0x4d1e23[0x24]),_0x751675=_0x529bb9(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x9011c9,0xb,_0x4d1e23[0x25]),_0x3070d8=_0x529bb9(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x2698c6,0x10,_0x4d1e23[0x26]),_0x4c2d2b=_0x529bb9(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x17e494,0x17,_0x4d1e23[0x27]),_0x43ac1e=_0x529bb9(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x4ca8f9,0x4,_0x4d1e23[0x28]),_0x751675=_0x529bb9(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x1bdb86,0xb,_0x4d1e23[0x29]),_0x3070d8=_0x529bb9(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x5026ae,0x10,_0x4d1e23[0x2a]),_0x4c2d2b=_0x529bb9(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x28de63,0x17,_0x4d1e23[0x2b]),_0x43ac1e=_0x529bb9(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x4da8bf,0x4,_0x4d1e23[0x2c]),_0x751675=_0x529bb9(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x491290,0xb,_0x4d1e23[0x2d]),_0x3070d8=_0x529bb9(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x424cd1,0x10,_0x4d1e23[0x2e]),_0x4c2d2b=_0x529bb9(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x1c8cdb,0x17,_0x4d1e23[0x2f]),_0x43ac1e=_0x6ad95c(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x1bdb86,0x6,_0x4d1e23[0x30]),_0x751675=_0x6ad95c(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x2698c6,0xa,_0x4d1e23[0x31]),_0x3070d8=_0x6ad95c(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x32bea0,0xf,_0x4d1e23[0x32]),_0x4c2d2b=_0x6ad95c(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x525073,0x15,_0x4d1e23[0x33]),_0x43ac1e=_0x6ad95c(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x491290,0x6,_0x4d1e23[0x34]),_0x751675=_0x6ad95c(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x5026ae,0xa,_0x4d1e23[0x35]),_0x3070d8=_0x6ad95c(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x17e494,0xf,_0x4d1e23[0x36]),_0x4c2d2b=_0x6ad95c(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x2abc8b,0x15,_0x4d1e23[0x37]),_0x43ac1e=_0x6ad95c(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x473115,0x6,_0x4d1e23[0x38]),_0x751675=_0x6ad95c(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x424cd1,0xa,_0x4d1e23[0x39]),_0x3070d8=_0x6ad95c(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x28de63,0xf,_0x4d1e23[0x3a]),_0x4c2d2b=_0x6ad95c(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x4ca8f9,0x15,_0x4d1e23[0x3b]),_0x43ac1e=_0x6ad95c(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x9011c9,0x6,_0x4d1e23[0x3c]),_0x751675=_0x6ad95c(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x3045e0,0xa,_0x4d1e23[0x3d]),_0x3070d8=_0x6ad95c(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x1c8cdb,0xf,_0x4d1e23[0x3e]),_0x4c2d2b=_0x6ad95c(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x4da8bf,0x15,_0x4d1e23[0x3f]),_0x15a153[0x0]=_0x15a153[0x0]+_0x43ac1e|0x0,_0x15a153[0x1]=_0x15a153[0x1]+_0x4c2d2b|0x0,_0x15a153[0x2]=_0x15a153[0x2]+_0x3070d8|0x0,_0x15a153[0x3]=_0x15a153[0x3]+_0x751675|0x0;},'_doFinalize':function(){var _0x20e06a=_0x4bd1ba,_0x381373=this[_0x20e06a(0x338)],_0x4b8540=_0x381373['words'],_0x42d3af=this[_0x20e06a(0x127)]*0x8,_0x270c81=_0x381373[_0x20e06a(0x1e5)]*0x8;_0x4b8540[_0x270c81>>>0x5]|=0x80<<0x18-_0x270c81%0x20;var _0x3ff699=_0x4c4716[_0x20e06a(0x455)](_0x42d3af/0x100000000),_0x200cf1=_0x42d3af;_0x4b8540[(_0x270c81+0x40>>>0x9<<0x4)+0xf]=(_0x3ff699<<0x8|_0x3ff699>>>0x18)&0xff00ff|(_0x3ff699<<0x18|_0x3ff699>>>0x8)&0xff00ff00,_0x4b8540[(_0x270c81+0x40>>>0x9<<0x4)+0xe]=(_0x200cf1<<0x8|_0x200cf1>>>0x18)&0xff00ff|(_0x200cf1<<0x18|_0x200cf1>>>0x8)&0xff00ff00,_0x381373['sigBytes']=(_0x4b8540[_0x20e06a(0x3a0)]+0x1)*0x4,this[_0x20e06a(0x184)]();for(var _0x19345a=this[_0x20e06a(0x11a)],_0x1b4ca0=_0x19345a[_0x20e06a(0x271)],_0x24bdc4=0x0;_0x24bdc4<0x4;_0x24bdc4++){var _0x299a40=_0x1b4ca0[_0x24bdc4];_0x1b4ca0[_0x24bdc4]=(_0x299a40<<0x8|_0x299a40>>>0x18)&0xff00ff|(_0x299a40<<0x18|_0x299a40>>>0x8)&0xff00ff00;}return _0x19345a;},'clone':function(){var _0x5364ab=_0x4bd1ba,_0x218718=_0x5311eb['clone']['call'](this);return _0x218718[_0x5364ab(0x11a)]=this['_hash'][_0x5364ab(0x106)](),_0x218718;}});function _0x14fb6a(_0x41a9a4,_0x2c1d2d,_0x282165,_0x1a246b,_0x5f154c,_0x20beb7,_0xea0d99){var _0x5eb061=_0x41a9a4+(_0x2c1d2d&_0x282165|~_0x2c1d2d&_0x1a246b)+_0x5f154c+_0xea0d99;return(_0x5eb061<<_0x20beb7|_0x5eb061>>>0x20-_0x20beb7)+_0x2c1d2d;}function _0x32d7d4(_0x13b280,_0x3ccbf5,_0x2f67c9,_0x196e5c,_0x411006,_0x233725,_0x131f3b){var _0x37a958=_0x13b280+(_0x3ccbf5&_0x196e5c|_0x2f67c9&~_0x196e5c)+_0x411006+_0x131f3b;return(_0x37a958<<_0x233725|_0x37a958>>>0x20-_0x233725)+_0x3ccbf5;}function _0x529bb9(_0x166a7a,_0x59275d,_0x6b36a0,_0x1a8cfc,_0x5a3c52,_0x4cf96a,_0x337f2d){var _0x3f3d91=_0x166a7a+(_0x59275d^_0x6b36a0^_0x1a8cfc)+_0x5a3c52+_0x337f2d;return(_0x3f3d91<<_0x4cf96a|_0x3f3d91>>>0x20-_0x4cf96a)+_0x59275d;}function _0x6ad95c(_0x53bc01,_0x2f75df,_0x52d126,_0x166dbc,_0x384853,_0x5a9421,_0x9e9547){var _0xb4016c=_0x53bc01+(_0x52d126^(_0x2f75df|~_0x166dbc))+_0x384853+_0x9e9547;return(_0xb4016c<<_0x5a9421|_0xb4016c>>>0x20-_0x5a9421)+_0x2f75df;}_0x4a9021[_0x4bd1ba(0x17f)]=_0x5311eb[_0x4bd1ba(0x38e)](_0x173e52),_0x4a9021[_0x4bd1ba(0x223)]=_0x5311eb[_0x4bd1ba(0x408)](_0x173e52);}(Math),_0x46a2c3[_0x5ae865(0x17f)];}));}(pe)),pe[_0x2bf6f5(0x292)];}var me={'exports':{}},ge={'exports':{}},Ri=ge['exports'],Je;function Ni(){return Je||(Je=0x1,function(_0xe5f702,_0x38aa15){(function(_0x3ae35d,_0x17097b){_0xe5f702['exports']=_0x17097b(Z());}(Ri,function(_0x14bbe1){var _0x43de06=_0x4c0c;return(function(){var _0x4b41b7=_0x4c0c,_0x57a83e=_0x14bbe1,_0x39cc3a=_0x57a83e[_0x4b41b7(0x26a)],_0xc51b3b=_0x39cc3a[_0x4b41b7(0x1fd)],_0xdc095e=_0x39cc3a[_0x4b41b7(0x456)],_0x796be1=_0x57a83e[_0x4b41b7(0x470)],_0x88178f=[],_0x5cb581=_0x796be1[_0x4b41b7(0x10c)]=_0xdc095e[_0x4b41b7(0x266)]({'_doReset':function(){var _0x34d77c=_0x4b41b7;this[_0x34d77c(0x11a)]=new _0xc51b3b[(_0x34d77c(0x19f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x13ac5d,_0xb0fb34){var _0x60a1c5=_0x4b41b7;for(var _0x1a7876=this[_0x60a1c5(0x11a)]['words'],_0x4867cd=_0x1a7876[0x0],_0x28ec51=_0x1a7876[0x1],_0x21e741=_0x1a7876[0x2],_0x362b4b=_0x1a7876[0x3],_0x5d6e12=_0x1a7876[0x4],_0x209c8e=0x0;_0x209c8e<0x50;_0x209c8e++){if(_0x209c8e<0x10)_0x88178f[_0x209c8e]=_0x13ac5d[_0xb0fb34+_0x209c8e]|0x0;else{var _0x27ef47=_0x88178f[_0x209c8e-0x3]^_0x88178f[_0x209c8e-0x8]^_0x88178f[_0x209c8e-0xe]^_0x88178f[_0x209c8e-0x10];_0x88178f[_0x209c8e]=_0x27ef47<<0x1|_0x27ef47>>>0x1f;}var _0x3b158c=(_0x4867cd<<0x5|_0x4867cd>>>0x1b)+_0x5d6e12+_0x88178f[_0x209c8e];_0x209c8e<0x14?_0x3b158c+=(_0x28ec51&_0x21e741|~_0x28ec51&_0x362b4b)+0x5a827999:_0x209c8e<0x28?_0x3b158c+=(_0x28ec51^_0x21e741^_0x362b4b)+0x6ed9eba1:_0x209c8e<0x3c?_0x3b158c+=(_0x28ec51&_0x21e741|_0x28ec51&_0x362b4b|_0x21e741&_0x362b4b)-0x70e44324:_0x3b158c+=(_0x28ec51^_0x21e741^_0x362b4b)-0x359d3e2a,_0x5d6e12=_0x362b4b,_0x362b4b=_0x21e741,_0x21e741=_0x28ec51<<0x1e|_0x28ec51>>>0x2,_0x28ec51=_0x4867cd,_0x4867cd=_0x3b158c;}_0x1a7876[0x0]=_0x1a7876[0x0]+_0x4867cd|0x0,_0x1a7876[0x1]=_0x1a7876[0x1]+_0x28ec51|0x0,_0x1a7876[0x2]=_0x1a7876[0x2]+_0x21e741|0x0,_0x1a7876[0x3]=_0x1a7876[0x3]+_0x362b4b|0x0,_0x1a7876[0x4]=_0x1a7876[0x4]+_0x5d6e12|0x0;},'_doFinalize':function(){var _0x2f394a=_0x4b41b7,_0x233506=this[_0x2f394a(0x338)],_0x1a6cfa=_0x233506[_0x2f394a(0x271)],_0x3c428b=this[_0x2f394a(0x127)]*0x8,_0x3f03c0=_0x233506[_0x2f394a(0x1e5)]*0x8;return _0x1a6cfa[_0x3f03c0>>>0x5]|=0x80<<0x18-_0x3f03c0%0x20,_0x1a6cfa[(_0x3f03c0+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3c428b/0x100000000),_0x1a6cfa[(_0x3f03c0+0x40>>>0x9<<0x4)+0xf]=_0x3c428b,_0x233506[_0x2f394a(0x1e5)]=_0x1a6cfa['length']*0x4,this[_0x2f394a(0x184)](),this[_0x2f394a(0x11a)];},'clone':function(){var _0x456873=_0x4b41b7,_0x388ee8=_0xdc095e[_0x456873(0x106)][_0x456873(0x423)](this);return _0x388ee8['_hash']=this[_0x456873(0x11a)][_0x456873(0x106)](),_0x388ee8;}});_0x57a83e[_0x4b41b7(0x10c)]=_0xdc095e[_0x4b41b7(0x38e)](_0x5cb581),_0x57a83e[_0x4b41b7(0x1b2)]=_0xdc095e[_0x4b41b7(0x408)](_0x5cb581);}()),_0x14bbe1[_0x43de06(0x10c)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Di=Te[_0x54277f(0x292)],Ze;function yi(){var _0x1079e0=_0x54277f;return Ze||(Ze=0x1,function(_0x32568c,_0x1113b1){(function(_0x5bb090,_0x53e54a){var _0x16604d=_0x4c0c;_0x32568c[_0x16604d(0x292)]=_0x53e54a(Z());}(Di,function(_0x24d73e){(function(){var _0x428ff7=_0x4c0c,_0x6e4c8=_0x24d73e,_0x5107a5=_0x6e4c8[_0x428ff7(0x26a)],_0x5a78c4=_0x5107a5[_0x428ff7(0x143)],_0x505db8=_0x6e4c8['enc'],_0x5642df=_0x505db8[_0x428ff7(0x282)],_0x5dd4ff=_0x6e4c8[_0x428ff7(0x470)];_0x5dd4ff['HMAC']=_0x5a78c4[_0x428ff7(0x266)]({'init':function(_0x11eb2d,_0x153b97){var _0x3f6bea=_0x428ff7;_0x11eb2d=this[_0x3f6bea(0x44a)]=new _0x11eb2d[(_0x3f6bea(0x19f))](),typeof _0x153b97==_0x3f6bea(0x369)&&(_0x153b97=_0x5642df[_0x3f6bea(0x288)](_0x153b97));var _0x374c5b=_0x11eb2d[_0x3f6bea(0x3d0)],_0x119d39=_0x374c5b*0x4;_0x153b97[_0x3f6bea(0x1e5)]>_0x119d39&&(_0x153b97=_0x11eb2d[_0x3f6bea(0x43c)](_0x153b97)),_0x153b97[_0x3f6bea(0x2f9)]();for(var _0x37c4a8=this[_0x3f6bea(0x21a)]=_0x153b97[_0x3f6bea(0x106)](),_0x23ed56=this[_0x3f6bea(0x467)]=_0x153b97[_0x3f6bea(0x106)](),_0x138c36=_0x37c4a8[_0x3f6bea(0x271)],_0xd7099a=_0x23ed56[_0x3f6bea(0x271)],_0x38bfec=0x0;_0x38bfec<_0x374c5b;_0x38bfec++)_0x138c36[_0x38bfec]^=0x5c5c5c5c,_0xd7099a[_0x38bfec]^=0x36363636;_0x37c4a8['sigBytes']=_0x23ed56[_0x3f6bea(0x1e5)]=_0x119d39,this[_0x3f6bea(0x403)]();},'reset':function(){var _0x1be3b1=_0x428ff7,_0x33ac28=this[_0x1be3b1(0x44a)];_0x33ac28[_0x1be3b1(0x403)](),_0x33ac28[_0x1be3b1(0x101)](this['_iKey']);},'update':function(_0x1464cc){var _0x36600e=_0x428ff7;return this[_0x36600e(0x44a)]['update'](_0x1464cc),this;},'finalize':function(_0x10bb2f){var _0x244c22=_0x428ff7,_0x303824=this[_0x244c22(0x44a)],_0x43861f=_0x303824['finalize'](_0x10bb2f);_0x303824['reset']();var _0x1b28d4=_0x303824[_0x244c22(0x43c)](this[_0x244c22(0x21a)][_0x244c22(0x106)]()['concat'](_0x43861f));return _0x1b28d4;}});}());}));}(Te)),Te[_0x1079e0(0x292)];}var Ui=me[_0x54277f(0x292)],Qe;function Ct(){var _0x2227e8=_0x54277f;return Qe||(Qe=0x1,function(_0x9201cc,_0x365513){(function(_0xa2de45,_0xc5aa58,_0x2b1c74){var _0x2f4a23=_0x4c0c;_0x9201cc[_0x2f4a23(0x292)]=_0xc5aa58(Z(),Ni(),yi());}(Ui,function(_0x2753ce){return(function(){var _0x410c2a=_0x4c0c,_0x3c1287=_0x2753ce,_0x2272af=_0x3c1287['lib'],_0x5d42f7=_0x2272af[_0x410c2a(0x143)],_0x1a363b=_0x2272af['WordArray'],_0x2cdb1b=_0x3c1287['algo'],_0xc420b7=_0x2cdb1b['MD5'],_0x49f8b5=_0x2cdb1b['EvpKDF']=_0x5d42f7[_0x410c2a(0x266)]({'cfg':_0x5d42f7[_0x410c2a(0x266)]({'keySize':0x80/0x20,'hasher':_0xc420b7,'iterations':0x1}),'init':function(_0x400477){var _0x3841aa=_0x410c2a;this[_0x3841aa(0x3d6)]=this[_0x3841aa(0x3d6)]['extend'](_0x400477);},'compute':function(_0x4842c5,_0x2ad209){var _0x25318c=_0x410c2a;for(var _0x2f934a,_0x14ebb1=this[_0x25318c(0x3d6)],_0x3bf2e7=_0x14ebb1['hasher'][_0x25318c(0x29c)](),_0x298976=_0x1a363b[_0x25318c(0x29c)](),_0x16dc8b=_0x298976[_0x25318c(0x271)],_0x12522f=_0x14ebb1['keySize'],_0x1ca1c7=_0x14ebb1['iterations'];_0x16dc8b['length']<_0x12522f;){_0x2f934a&&_0x3bf2e7[_0x25318c(0x101)](_0x2f934a),_0x2f934a=_0x3bf2e7[_0x25318c(0x101)](_0x4842c5)[_0x25318c(0x43c)](_0x2ad209),_0x3bf2e7[_0x25318c(0x403)]();for(var _0x5874d=0x1;_0x5874d<_0x1ca1c7;_0x5874d++)_0x2f934a=_0x3bf2e7[_0x25318c(0x43c)](_0x2f934a),_0x3bf2e7['reset']();_0x298976['concat'](_0x2f934a);}return _0x298976['sigBytes']=_0x12522f*0x4,_0x298976;}});_0x3c1287[_0x410c2a(0x464)]=function(_0x31cd7d,_0xdf387c,_0x15e92b){var _0x5d9115=_0x410c2a;return _0x49f8b5[_0x5d9115(0x29c)](_0x15e92b)[_0x5d9115(0x3f9)](_0x31cd7d,_0xdf387c);};}()),_0x2753ce['EvpKDF'];}));}(me)),me[_0x2227e8(0x292)];}var Ce={'exports':{}},Ai=Ce[_0x54277f(0x292)],et;function Ot(){var _0x57a92b=_0x54277f;return et||(et=0x1,function(_0x562d02,_0x5e5a35){(function(_0x2af9bf,_0x538663,_0x3960f3){_0x562d02['exports']=_0x538663(Z(),Ct());}(Ai,function(_0x3d2cc5){var _0x3bcd33=_0x4c0c;_0x3d2cc5[_0x3bcd33(0x26a)][_0x3bcd33(0x374)]||function(_0x2167a3){var _0x42cabf=_0x3bcd33,_0x340358=_0x3d2cc5,_0x322ab1=_0x340358[_0x42cabf(0x26a)],_0x4e0769=_0x322ab1['Base'],_0x7e2f58=_0x322ab1[_0x42cabf(0x1fd)],_0x3c401d=_0x322ab1[_0x42cabf(0x382)],_0x59209f=_0x340358[_0x42cabf(0x2c4)];_0x59209f[_0x42cabf(0x282)];var _0x7c5492=_0x59209f[_0x42cabf(0x1c8)],_0x58f11c=_0x340358['algo'],_0x586222=_0x58f11c['EvpKDF'],_0x1fca0c=_0x322ab1[_0x42cabf(0x374)]=_0x3c401d['extend']({'cfg':_0x4e0769[_0x42cabf(0x266)](),'createEncryptor':function(_0x5c7c86,_0x48e590){var _0x353564=_0x42cabf;return this[_0x353564(0x29c)](this[_0x353564(0x2c2)],_0x5c7c86,_0x48e590);},'createDecryptor':function(_0x485677,_0x2fa3d2){var _0x1de5be=_0x42cabf;return this[_0x1de5be(0x29c)](this[_0x1de5be(0x398)],_0x485677,_0x2fa3d2);},'init':function(_0x139ffd,_0x2453a0,_0xe96c04){var _0x83b4c5=_0x42cabf;this[_0x83b4c5(0x3d6)]=this[_0x83b4c5(0x3d6)][_0x83b4c5(0x266)](_0xe96c04),this[_0x83b4c5(0x3b9)]=_0x139ffd,this['_key']=_0x2453a0,this[_0x83b4c5(0x403)]();},'reset':function(){var _0x26052f=_0x42cabf;_0x3c401d['reset'][_0x26052f(0x423)](this),this[_0x26052f(0x34f)]();},'process':function(_0x436d82){var _0x73c306=_0x42cabf;return this['_append'](_0x436d82),this[_0x73c306(0x184)]();},'finalize':function(_0x25079f){var _0x3cd2b2=_0x42cabf;_0x25079f&&this[_0x3cd2b2(0xe9)](_0x25079f);var _0x2a5882=this[_0x3cd2b2(0x361)]();return _0x2a5882;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3deb21(_0x1b7cd6){var _0x4b11ed=_0x4c0c;return typeof _0x1b7cd6==_0x4b11ed(0x369)?_0x3812b2:_0x496018;}return function(_0x11945c){return{'encrypt':function(_0x319bd9,_0x1f1a5b,_0x2e2da7){var _0x5abe4d=_0x4c0c;return _0x3deb21(_0x1f1a5b)[_0x5abe4d(0x2bb)](_0x11945c,_0x319bd9,_0x1f1a5b,_0x2e2da7);},'decrypt':function(_0x53a988,_0x3d8655,_0x47941e){var _0x281e0a=_0x4c0c;return _0x3deb21(_0x3d8655)[_0x281e0a(0xeb)](_0x11945c,_0x53a988,_0x3d8655,_0x47941e);}};};}())});_0x322ab1[_0x42cabf(0x39a)]=_0x1fca0c[_0x42cabf(0x266)]({'_doFinalize':function(){var _0x570c24=_0x42cabf,_0x151a2b=this[_0x570c24(0x184)](!0x0);return _0x151a2b;},'blockSize':0x1});var _0x57ac3e=_0x340358[_0x42cabf(0x1d2)]={},_0x19ad5a=_0x322ab1[_0x42cabf(0x393)]=_0x4e0769['extend']({'createEncryptor':function(_0x17eded,_0x4ff5f6){var _0x2cd9f3=_0x42cabf;return this[_0x2cd9f3(0x189)][_0x2cd9f3(0x29c)](_0x17eded,_0x4ff5f6);},'createDecryptor':function(_0xb7e802,_0x54b6ec){var _0x548870=_0x42cabf;return this['Decryptor'][_0x548870(0x29c)](_0xb7e802,_0x54b6ec);},'init':function(_0x525d69,_0x4ccbfe){var _0x21d17c=_0x42cabf;this[_0x21d17c(0x2ed)]=_0x525d69,this[_0x21d17c(0x434)]=_0x4ccbfe;}}),_0x22e4fa=_0x57ac3e[_0x42cabf(0x3f6)]=(function(){var _0xe37a9a=_0x42cabf,_0x2a7540=_0x19ad5a[_0xe37a9a(0x266)]();_0x2a7540[_0xe37a9a(0x189)]=_0x2a7540[_0xe37a9a(0x266)]({'processBlock':function(_0x433953,_0x51f9ed){var _0x38b395=_0xe37a9a,_0x47ab0b=this[_0x38b395(0x2ed)],_0x5b3788=_0x47ab0b[_0x38b395(0x3d0)];_0x9c585f[_0x38b395(0x423)](this,_0x433953,_0x51f9ed,_0x5b3788),_0x47ab0b[_0x38b395(0x2b9)](_0x433953,_0x51f9ed),this[_0x38b395(0x43e)]=_0x433953['slice'](_0x51f9ed,_0x51f9ed+_0x5b3788);}}),_0x2a7540[_0xe37a9a(0x38f)]=_0x2a7540['extend']({'processBlock':function(_0x2bca82,_0x54dfa6){var _0xb72eba=_0xe37a9a,_0x2b9981=this[_0xb72eba(0x2ed)],_0x571b2d=_0x2b9981[_0xb72eba(0x3d0)],_0x1ac5e3=_0x2bca82[_0xb72eba(0x1b7)](_0x54dfa6,_0x54dfa6+_0x571b2d);_0x2b9981[_0xb72eba(0x119)](_0x2bca82,_0x54dfa6),_0x9c585f[_0xb72eba(0x423)](this,_0x2bca82,_0x54dfa6,_0x571b2d),this['_prevBlock']=_0x1ac5e3;}});function _0x9c585f(_0x518604,_0x57a004,_0x42db37){var _0x408f9e=_0xe37a9a,_0x47d3f4,_0x515149=this[_0x408f9e(0x434)];_0x515149?(_0x47d3f4=_0x515149,this['_iv']=_0x2167a3):_0x47d3f4=this[_0x408f9e(0x43e)];for(var _0x3ec4ee=0x0;_0x3ec4ee<_0x42db37;_0x3ec4ee++)_0x518604[_0x57a004+_0x3ec4ee]^=_0x47d3f4[_0x3ec4ee];}return _0x2a7540;}()),_0x26c7b9=_0x340358[_0x42cabf(0x303)]={},_0x15ce0d=_0x26c7b9['Pkcs7']={'pad':function(_0x20cfc4,_0x39cd52){var _0x7394c0=_0x42cabf;for(var _0x23ba84=_0x39cd52*0x4,_0x2cb3c5=_0x23ba84-_0x20cfc4[_0x7394c0(0x1e5)]%_0x23ba84,_0x22139c=_0x2cb3c5<<0x18|_0x2cb3c5<<0x10|_0x2cb3c5<<0x8|_0x2cb3c5,_0x375a3c=[],_0x5ef9dc=0x0;_0x5ef9dc<_0x2cb3c5;_0x5ef9dc+=0x4)_0x375a3c[_0x7394c0(0x394)](_0x22139c);var _0x46b973=_0x7e2f58[_0x7394c0(0x29c)](_0x375a3c,_0x2cb3c5);_0x20cfc4[_0x7394c0(0x1f3)](_0x46b973);},'unpad':function(_0x2bf38b){var _0x40d61f=_0x42cabf,_0x60a80e=_0x2bf38b[_0x40d61f(0x271)][_0x2bf38b[_0x40d61f(0x1e5)]-0x1>>>0x2]&0xff;_0x2bf38b['sigBytes']-=_0x60a80e;}};_0x322ab1[_0x42cabf(0x28c)]=_0x1fca0c['extend']({'cfg':_0x1fca0c['cfg'][_0x42cabf(0x266)]({'mode':_0x22e4fa,'padding':_0x15ce0d}),'reset':function(){var _0x574c01=_0x42cabf,_0x189e1d;_0x1fca0c[_0x574c01(0x403)][_0x574c01(0x423)](this);var _0x1e0a6b=this[_0x574c01(0x3d6)],_0x329621=_0x1e0a6b['iv'],_0x1c2c8a=_0x1e0a6b[_0x574c01(0x1d2)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x189e1d=_0x1c2c8a[_0x574c01(0x211)]:(_0x189e1d=_0x1c2c8a['createDecryptor'],this[_0x574c01(0x174)]=0x1),this[_0x574c01(0x1fc)]&&this[_0x574c01(0x1fc)][_0x574c01(0x458)]==_0x189e1d?this['_mode'][_0x574c01(0x19f)](this,_0x329621&&_0x329621[_0x574c01(0x271)]):(this['_mode']=_0x189e1d[_0x574c01(0x423)](_0x1c2c8a,this,_0x329621&&_0x329621[_0x574c01(0x271)]),this['_mode'][_0x574c01(0x458)]=_0x189e1d);},'_doProcessBlock':function(_0x38f99d,_0x5a4ca9){this['_mode']['processBlock'](_0x38f99d,_0x5a4ca9);},'_doFinalize':function(){var _0x2f22d7=_0x42cabf,_0x5a47ea,_0x1b0355=this[_0x2f22d7(0x3d6)][_0x2f22d7(0x171)];return this[_0x2f22d7(0x3b9)]==this[_0x2f22d7(0x2c2)]?(_0x1b0355[_0x2f22d7(0x303)](this[_0x2f22d7(0x338)],this['blockSize']),_0x5a47ea=this[_0x2f22d7(0x184)](!0x0)):(_0x5a47ea=this[_0x2f22d7(0x184)](!0x0),_0x1b0355[_0x2f22d7(0x260)](_0x5a47ea)),_0x5a47ea;},'blockSize':0x80/0x20});var _0x375eb0=_0x322ab1[_0x42cabf(0x1df)]=_0x4e0769[_0x42cabf(0x266)]({'init':function(_0x436707){var _0x32429d=_0x42cabf;this[_0x32429d(0xe8)](_0x436707);},'toString':function(_0x1736c2){var _0x38302d=_0x42cabf;return(_0x1736c2||this[_0x38302d(0x2be)])[_0x38302d(0x2a7)](this);}}),_0x22bb4b=_0x340358[_0x42cabf(0x3e1)]={},_0x10e599=_0x22bb4b[_0x42cabf(0x14b)]={'stringify':function(_0x496d67){var _0x1e2dfe=_0x42cabf,_0x16a170,_0x279243=_0x496d67['ciphertext'],_0x583b22=_0x496d67['salt'];return _0x583b22?_0x16a170=_0x7e2f58[_0x1e2dfe(0x29c)]([0x53616c74,0x65645f5f])[_0x1e2dfe(0x1f3)](_0x583b22)[_0x1e2dfe(0x1f3)](_0x279243):_0x16a170=_0x279243,_0x16a170[_0x1e2dfe(0xfb)](_0x7c5492);},'parse':function(_0x2ae5f7){var _0x40e603=_0x42cabf,_0x2e0fad,_0x5b325f=_0x7c5492[_0x40e603(0x288)](_0x2ae5f7),_0x417ac2=_0x5b325f['words'];return _0x417ac2[0x0]==0x53616c74&&_0x417ac2[0x1]==0x65645f5f&&(_0x2e0fad=_0x7e2f58[_0x40e603(0x29c)](_0x417ac2[_0x40e603(0x1b7)](0x2,0x4)),_0x417ac2['splice'](0x0,0x4),_0x5b325f[_0x40e603(0x1e5)]-=0x10),_0x375eb0['create']({'ciphertext':_0x5b325f,'salt':_0x2e0fad});}},_0x496018=_0x322ab1['SerializableCipher']=_0x4e0769[_0x42cabf(0x266)]({'cfg':_0x4e0769[_0x42cabf(0x266)]({'format':_0x10e599}),'encrypt':function(_0x5cbcdd,_0x596ceb,_0x35c864,_0x31fd4d){var _0x11acca=_0x42cabf;_0x31fd4d=this[_0x11acca(0x3d6)]['extend'](_0x31fd4d);var _0x44a673=_0x5cbcdd[_0x11acca(0x211)](_0x35c864,_0x31fd4d),_0x2b21b7=_0x44a673[_0x11acca(0x43c)](_0x596ceb),_0x2771b5=_0x44a673[_0x11acca(0x3d6)];return _0x375eb0[_0x11acca(0x29c)]({'ciphertext':_0x2b21b7,'key':_0x35c864,'iv':_0x2771b5['iv'],'algorithm':_0x5cbcdd,'mode':_0x2771b5[_0x11acca(0x1d2)],'padding':_0x2771b5[_0x11acca(0x171)],'blockSize':_0x5cbcdd[_0x11acca(0x3d0)],'formatter':_0x31fd4d[_0x11acca(0x3e1)]});},'decrypt':function(_0x4a2b48,_0x52e577,_0x1d3a45,_0x5c0aba){var _0x48af61=_0x42cabf;_0x5c0aba=this[_0x48af61(0x3d6)][_0x48af61(0x266)](_0x5c0aba),_0x52e577=this[_0x48af61(0x3e8)](_0x52e577,_0x5c0aba['format']);var _0x44295c=_0x4a2b48[_0x48af61(0x105)](_0x1d3a45,_0x5c0aba)[_0x48af61(0x43c)](_0x52e577[_0x48af61(0x44b)]);return _0x44295c;},'_parse':function(_0x17b8f0,_0x4af4a8){var _0x19e5c4=_0x42cabf;return typeof _0x17b8f0==_0x19e5c4(0x369)?_0x4af4a8[_0x19e5c4(0x288)](_0x17b8f0,this):_0x17b8f0;}}),_0x580e91=_0x340358[_0x42cabf(0x1c6)]={},_0x19d9b1=_0x580e91['OpenSSL']={'execute':function(_0x3be509,_0x42cd32,_0x1e4799,_0x3b0db7,_0x4fcc9e){var _0x4935dc=_0x42cabf;if(_0x3b0db7||(_0x3b0db7=_0x7e2f58[_0x4935dc(0x248)](0x40/0x8)),_0x4fcc9e)var _0x1a10d6=_0x586222[_0x4935dc(0x29c)]({'keySize':_0x42cd32+_0x1e4799,'hasher':_0x4fcc9e})['compute'](_0x3be509,_0x3b0db7);else var _0x1a10d6=_0x586222[_0x4935dc(0x29c)]({'keySize':_0x42cd32+_0x1e4799})[_0x4935dc(0x3f9)](_0x3be509,_0x3b0db7);var _0x39ebe5=_0x7e2f58[_0x4935dc(0x29c)](_0x1a10d6[_0x4935dc(0x271)][_0x4935dc(0x1b7)](_0x42cd32),_0x1e4799*0x4);return _0x1a10d6['sigBytes']=_0x42cd32*0x4,_0x375eb0[_0x4935dc(0x29c)]({'key':_0x1a10d6,'iv':_0x39ebe5,'salt':_0x3b0db7});}},_0x3812b2=_0x322ab1[_0x42cabf(0x457)]=_0x496018[_0x42cabf(0x266)]({'cfg':_0x496018['cfg']['extend']({'kdf':_0x19d9b1}),'encrypt':function(_0x8b7859,_0x179a1f,_0x19ea96,_0x557482){var _0x2483be=_0x42cabf;_0x557482=this['cfg'][_0x2483be(0x266)](_0x557482);var _0x31d748=_0x557482[_0x2483be(0x1c6)][_0x2483be(0x379)](_0x19ea96,_0x8b7859[_0x2483be(0x3dd)],_0x8b7859[_0x2483be(0x1f0)],_0x557482[_0x2483be(0x307)],_0x557482['hasher']);_0x557482['iv']=_0x31d748['iv'];var _0x13d176=_0x496018[_0x2483be(0x2bb)]['call'](this,_0x8b7859,_0x179a1f,_0x31d748[_0x2483be(0x3b1)],_0x557482);return _0x13d176[_0x2483be(0xe8)](_0x31d748),_0x13d176;},'decrypt':function(_0xd73bf8,_0x2d1945,_0x228ff2,_0x336bee){var _0x56ac8a=_0x42cabf;_0x336bee=this[_0x56ac8a(0x3d6)][_0x56ac8a(0x266)](_0x336bee),_0x2d1945=this['_parse'](_0x2d1945,_0x336bee[_0x56ac8a(0x3e1)]);var _0x174e54=_0x336bee[_0x56ac8a(0x1c6)]['execute'](_0x228ff2,_0xd73bf8['keySize'],_0xd73bf8[_0x56ac8a(0x1f0)],_0x2d1945[_0x56ac8a(0x307)],_0x336bee[_0x56ac8a(0x330)]);_0x336bee['iv']=_0x174e54['iv'];var _0x3a68a6=_0x496018[_0x56ac8a(0xeb)][_0x56ac8a(0x423)](this,_0xd73bf8,_0x2d1945,_0x174e54['key'],_0x336bee);return _0x3a68a6;}});}();}));}(Ce)),Ce[_0x57a92b(0x292)];}var Pi=Ie[_0x54277f(0x292)],tt;function Li(){var _0x403788=_0x54277f;return tt||(tt=0x1,function(_0x51fcdf,_0xf0c80b){(function(_0x44c5d1,_0x21e2a0,_0x5e0c5f){_0x51fcdf['exports']=_0x21e2a0(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x24ff09){var _0x346176=_0x4c0c;return(function(){var _0x479526=_0x4c0c,_0x2c7ce5=_0x24ff09,_0x1c0fbf=_0x2c7ce5[_0x479526(0x26a)],_0x318170=_0x1c0fbf[_0x479526(0x28c)],_0x14cce0=_0x2c7ce5[_0x479526(0x470)],_0x122e54=[],_0x48ccc7=[],_0x228880=[],_0xba4566=[],_0x283797=[],_0x1d24d2=[],_0x286355=[],_0x16ca72=[],_0x453801=[],_0xf3e63=[];(function(){for(var _0x111f74=[],_0x12cdf9=0x0;_0x12cdf9<0x100;_0x12cdf9++)_0x12cdf9<0x80?_0x111f74[_0x12cdf9]=_0x12cdf9<<0x1:_0x111f74[_0x12cdf9]=_0x12cdf9<<0x1^0x11b;for(var _0x2c2a9c=0x0,_0x4a50b2=0x0,_0x12cdf9=0x0;_0x12cdf9<0x100;_0x12cdf9++){var _0x5e1173=_0x4a50b2^_0x4a50b2<<0x1^_0x4a50b2<<0x2^_0x4a50b2<<0x3^_0x4a50b2<<0x4;_0x5e1173=_0x5e1173>>>0x8^_0x5e1173&0xff^0x63,_0x122e54[_0x2c2a9c]=_0x5e1173,_0x48ccc7[_0x5e1173]=_0x2c2a9c;var _0x41380a=_0x111f74[_0x2c2a9c],_0x5aa02c=_0x111f74[_0x41380a],_0x6fabbc=_0x111f74[_0x5aa02c],_0x279be7=_0x111f74[_0x5e1173]*0x101^_0x5e1173*0x1010100;_0x228880[_0x2c2a9c]=_0x279be7<<0x18|_0x279be7>>>0x8,_0xba4566[_0x2c2a9c]=_0x279be7<<0x10|_0x279be7>>>0x10,_0x283797[_0x2c2a9c]=_0x279be7<<0x8|_0x279be7>>>0x18,_0x1d24d2[_0x2c2a9c]=_0x279be7;var _0x279be7=_0x6fabbc*0x1010101^_0x5aa02c*0x10001^_0x41380a*0x101^_0x2c2a9c*0x1010100;_0x286355[_0x5e1173]=_0x279be7<<0x18|_0x279be7>>>0x8,_0x16ca72[_0x5e1173]=_0x279be7<<0x10|_0x279be7>>>0x10,_0x453801[_0x5e1173]=_0x279be7<<0x8|_0x279be7>>>0x18,_0xf3e63[_0x5e1173]=_0x279be7,_0x2c2a9c?(_0x2c2a9c=_0x41380a^_0x111f74[_0x111f74[_0x111f74[_0x6fabbc^_0x41380a]]],_0x4a50b2^=_0x111f74[_0x111f74[_0x4a50b2]]):_0x2c2a9c=_0x4a50b2=0x1;}}());var _0x4e9ee2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x142a13=_0x14cce0['AES']=_0x318170[_0x479526(0x266)]({'_doReset':function(){var _0xf1386=_0x479526,_0x1dfd2b;if(!(this['_nRounds']&&this[_0xf1386(0x3b5)]===this['_key'])){for(var _0x3a5bd1=this[_0xf1386(0x3b5)]=this[_0xf1386(0x18d)],_0x30b36f=_0x3a5bd1[_0xf1386(0x271)],_0x14f26c=_0x3a5bd1[_0xf1386(0x1e5)]/0x4,_0x44f9e1=this['_nRounds']=_0x14f26c+0x6,_0x2c9045=(_0x44f9e1+0x1)*0x4,_0x27f1fa=this[_0xf1386(0x2a2)]=[],_0x4af24f=0x0;_0x4af24f<_0x2c9045;_0x4af24f++)_0x4af24f<_0x14f26c?_0x27f1fa[_0x4af24f]=_0x30b36f[_0x4af24f]:(_0x1dfd2b=_0x27f1fa[_0x4af24f-0x1],_0x4af24f%_0x14f26c?_0x14f26c>0x6&&_0x4af24f%_0x14f26c==0x4&&(_0x1dfd2b=_0x122e54[_0x1dfd2b>>>0x18]<<0x18|_0x122e54[_0x1dfd2b>>>0x10&0xff]<<0x10|_0x122e54[_0x1dfd2b>>>0x8&0xff]<<0x8|_0x122e54[_0x1dfd2b&0xff]):(_0x1dfd2b=_0x1dfd2b<<0x8|_0x1dfd2b>>>0x18,_0x1dfd2b=_0x122e54[_0x1dfd2b>>>0x18]<<0x18|_0x122e54[_0x1dfd2b>>>0x10&0xff]<<0x10|_0x122e54[_0x1dfd2b>>>0x8&0xff]<<0x8|_0x122e54[_0x1dfd2b&0xff],_0x1dfd2b^=_0x4e9ee2[_0x4af24f/_0x14f26c|0x0]<<0x18),_0x27f1fa[_0x4af24f]=_0x27f1fa[_0x4af24f-_0x14f26c]^_0x1dfd2b);for(var _0x21db7a=this['_invKeySchedule']=[],_0x1fbf37=0x0;_0x1fbf37<_0x2c9045;_0x1fbf37++){var _0x4af24f=_0x2c9045-_0x1fbf37;if(_0x1fbf37%0x4)var _0x1dfd2b=_0x27f1fa[_0x4af24f];else var _0x1dfd2b=_0x27f1fa[_0x4af24f-0x4];_0x1fbf37<0x4||_0x4af24f<=0x4?_0x21db7a[_0x1fbf37]=_0x1dfd2b:_0x21db7a[_0x1fbf37]=_0x286355[_0x122e54[_0x1dfd2b>>>0x18]]^_0x16ca72[_0x122e54[_0x1dfd2b>>>0x10&0xff]]^_0x453801[_0x122e54[_0x1dfd2b>>>0x8&0xff]]^_0xf3e63[_0x122e54[_0x1dfd2b&0xff]];}}},'encryptBlock':function(_0x53b1ac,_0x2ddfb4){var _0x216574=_0x479526;this[_0x216574(0x3fc)](_0x53b1ac,_0x2ddfb4,this[_0x216574(0x2a2)],_0x228880,_0xba4566,_0x283797,_0x1d24d2,_0x122e54);},'decryptBlock':function(_0x147ff8,_0x5dc5e8){var _0x4bcfc7=_0x479526,_0x2e26ae=_0x147ff8[_0x5dc5e8+0x1];_0x147ff8[_0x5dc5e8+0x1]=_0x147ff8[_0x5dc5e8+0x3],_0x147ff8[_0x5dc5e8+0x3]=_0x2e26ae,this[_0x4bcfc7(0x3fc)](_0x147ff8,_0x5dc5e8,this[_0x4bcfc7(0x2e1)],_0x286355,_0x16ca72,_0x453801,_0xf3e63,_0x48ccc7);var _0x2e26ae=_0x147ff8[_0x5dc5e8+0x1];_0x147ff8[_0x5dc5e8+0x1]=_0x147ff8[_0x5dc5e8+0x3],_0x147ff8[_0x5dc5e8+0x3]=_0x2e26ae;},'_doCryptBlock':function(_0x5bb6e1,_0x593f1b,_0x2ad7a5,_0x561cec,_0x5eb7da,_0x57abc3,_0x7d8b32,_0x236f31){var _0x427e2a=_0x479526;for(var _0x9c1e17=this[_0x427e2a(0x196)],_0x557fa2=_0x5bb6e1[_0x593f1b]^_0x2ad7a5[0x0],_0x24403d=_0x5bb6e1[_0x593f1b+0x1]^_0x2ad7a5[0x1],_0x3a3387=_0x5bb6e1[_0x593f1b+0x2]^_0x2ad7a5[0x2],_0x3dcfd7=_0x5bb6e1[_0x593f1b+0x3]^_0x2ad7a5[0x3],_0x20c01f=0x4,_0x2e2ba8=0x1;_0x2e2ba8<_0x9c1e17;_0x2e2ba8++){var _0x35b1c2=_0x561cec[_0x557fa2>>>0x18]^_0x5eb7da[_0x24403d>>>0x10&0xff]^_0x57abc3[_0x3a3387>>>0x8&0xff]^_0x7d8b32[_0x3dcfd7&0xff]^_0x2ad7a5[_0x20c01f++],_0xa1a59a=_0x561cec[_0x24403d>>>0x18]^_0x5eb7da[_0x3a3387>>>0x10&0xff]^_0x57abc3[_0x3dcfd7>>>0x8&0xff]^_0x7d8b32[_0x557fa2&0xff]^_0x2ad7a5[_0x20c01f++],_0x4c3b1c=_0x561cec[_0x3a3387>>>0x18]^_0x5eb7da[_0x3dcfd7>>>0x10&0xff]^_0x57abc3[_0x557fa2>>>0x8&0xff]^_0x7d8b32[_0x24403d&0xff]^_0x2ad7a5[_0x20c01f++],_0x47bd59=_0x561cec[_0x3dcfd7>>>0x18]^_0x5eb7da[_0x557fa2>>>0x10&0xff]^_0x57abc3[_0x24403d>>>0x8&0xff]^_0x7d8b32[_0x3a3387&0xff]^_0x2ad7a5[_0x20c01f++];_0x557fa2=_0x35b1c2,_0x24403d=_0xa1a59a,_0x3a3387=_0x4c3b1c,_0x3dcfd7=_0x47bd59;}var _0x35b1c2=(_0x236f31[_0x557fa2>>>0x18]<<0x18|_0x236f31[_0x24403d>>>0x10&0xff]<<0x10|_0x236f31[_0x3a3387>>>0x8&0xff]<<0x8|_0x236f31[_0x3dcfd7&0xff])^_0x2ad7a5[_0x20c01f++],_0xa1a59a=(_0x236f31[_0x24403d>>>0x18]<<0x18|_0x236f31[_0x3a3387>>>0x10&0xff]<<0x10|_0x236f31[_0x3dcfd7>>>0x8&0xff]<<0x8|_0x236f31[_0x557fa2&0xff])^_0x2ad7a5[_0x20c01f++],_0x4c3b1c=(_0x236f31[_0x3a3387>>>0x18]<<0x18|_0x236f31[_0x3dcfd7>>>0x10&0xff]<<0x10|_0x236f31[_0x557fa2>>>0x8&0xff]<<0x8|_0x236f31[_0x24403d&0xff])^_0x2ad7a5[_0x20c01f++],_0x47bd59=(_0x236f31[_0x3dcfd7>>>0x18]<<0x18|_0x236f31[_0x557fa2>>>0x10&0xff]<<0x10|_0x236f31[_0x24403d>>>0x8&0xff]<<0x8|_0x236f31[_0x3a3387&0xff])^_0x2ad7a5[_0x20c01f++];_0x5bb6e1[_0x593f1b]=_0x35b1c2,_0x5bb6e1[_0x593f1b+0x1]=_0xa1a59a,_0x5bb6e1[_0x593f1b+0x2]=_0x4c3b1c,_0x5bb6e1[_0x593f1b+0x3]=_0x47bd59;},'keySize':0x100/0x20});_0x2c7ce5[_0x479526(0x3dc)]=_0x318170[_0x479526(0x38e)](_0x142a13);}()),_0x24ff09[_0x346176(0x3dc)];}));}(Ie)),Ie[_0x403788(0x292)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x54277f(0x292)],nt;function $i(){var _0x1f6117=_0x54277f;return nt||(nt=0x1,function(_0x4f3585,_0x26ecdc){(function(_0x1d6c77,_0x2de6cf){var _0x422ac9=_0x4c0c;_0x4f3585[_0x422ac9(0x292)]=_0x2de6cf(Z());}(ki,function(_0x1ebaf1){var _0x408ca8=_0x4c0c;return _0x1ebaf1['enc'][_0x408ca8(0x282)];}));}(Oe)),Oe[_0x1f6117(0x292)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x54277f(0x292)],st;function Fi(){var _0x4a15c7=_0x54277f;return st||(st=0x1,function(_0x2e04af,_0x2358b6){(function(_0xcedc10,_0x183f47){var _0x3371cf=_0x4c0c;_0x2e04af[_0x3371cf(0x292)]=_0x183f47(Z());}(Bi,function(_0x14d6ce){var _0x123b6d=_0x4c0c;return(function(){var _0x3a3c74=_0x4c0c;if(typeof ArrayBuffer==_0x3a3c74(0x3d9)){var _0x1e1fbc=_0x14d6ce,_0x5381d7=_0x1e1fbc['lib'],_0x3e9bb4=_0x5381d7[_0x3a3c74(0x1fd)],_0x58e087=_0x3e9bb4[_0x3a3c74(0x19f)],_0x39d9c6=_0x3e9bb4['init']=function(_0x392fd3){var _0x56f619=_0x3a3c74;if(_0x392fd3 instanceof ArrayBuffer&&(_0x392fd3=new Uint8Array(_0x392fd3)),(_0x392fd3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x392fd3 instanceof Uint8ClampedArray||_0x392fd3 instanceof Int16Array||_0x392fd3 instanceof Uint16Array||_0x392fd3 instanceof Int32Array||_0x392fd3 instanceof Uint32Array||_0x392fd3 instanceof Float32Array||_0x392fd3 instanceof Float64Array)&&(_0x392fd3=new Uint8Array(_0x392fd3[_0x56f619(0x181)],_0x392fd3[_0x56f619(0x36b)],_0x392fd3[_0x56f619(0xed)])),_0x392fd3 instanceof Uint8Array){for(var _0x83957=_0x392fd3[_0x56f619(0xed)],_0x4305ee=[],_0x3f8221=0x0;_0x3f8221<_0x83957;_0x3f8221++)_0x4305ee[_0x3f8221>>>0x2]|=_0x392fd3[_0x3f8221]<<0x18-_0x3f8221%0x4*0x8;_0x58e087[_0x56f619(0x423)](this,_0x4305ee,_0x83957);}else _0x58e087[_0x56f619(0x2fe)](this,arguments);};_0x39d9c6[_0x3a3c74(0x2c7)]=_0x3e9bb4;}}()),_0x14d6ce['lib'][_0x123b6d(0x1fd)];}));}(be)),be[_0x4a15c7(0x292)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re['exports'],rt;function Yi(){return rt||(rt=0x1,function(_0x5e4ee6,_0xd2524d){(function(_0x286aae,_0x28d5c1,_0x3cc5e0){var _0x5a192a=_0x4c0c;_0x5e4ee6[_0x5a192a(0x292)]=_0x28d5c1(Z(),Ot());}(Gi,function(_0x39dfef){var _0x2e1ee8=_0x4c0c;return _0x39dfef['pad'][_0x2e1ee8(0x212)]={'pad':function(){},'unpad':function(){}},_0x39dfef['pad'][_0x2e1ee8(0x212)];}));}(Re)),Re['exports'];}var Ki=Yi();const qi=de(Ki);function zi(_0x54ca87,_0xf9ca7e){var _0x683a7b=_0x54277f;const _0x45fc8f=_0xf9ca7e-_0x54ca87[_0x683a7b(0x3a0)]%_0xf9ca7e,_0x41dc3c=String[_0x683a7b(0x11d)](_0x45fc8f)[_0x683a7b(0x169)](_0x45fc8f);return _0x54ca87+_0x41dc3c;}function Xi(_0x129305,_0x55ab73){var _0x3c8172=_0x54277f;const _0x251e66=Wi[_0x3c8172(0x248)](0x10),_0x1581ff=zi(_0x129305,0x10),_0x2c310a=wi[_0x3c8172(0x2bb)](ji[_0x3c8172(0x288)](_0x1581ff),it[_0x3c8172(0x288)](_0x55ab73),{'iv':_0x251e66,'padding':qi});return _0x251e66[_0x3c8172(0x1f3)](_0x2c310a[_0x3c8172(0x44b)])[_0x3c8172(0xfb)](it);}function Ji(){var _0x134c1b=_0x54277f;const _0xec04f2=Dt[_0x134c1b(0x472)]()['__Key__'];if(_0xec04f2){const _0x46aed2={'time':Math[_0x134c1b(0x455)](Date['now']()/0x3e8),'domain':location[_0x134c1b(0x20c)]};return Xi(JSON[_0x134c1b(0x2a7)](_0x46aed2),_0xec04f2);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x560c90,_0x3ba78a,_0x52fb8f,_0x45cd82)=>{var _0x5d02c7=_0x54277f;for(var _0x40d625=_0x45cd82>0x1?void 0x0:_0x45cd82?Zi(_0x3ba78a,_0x52fb8f):_0x3ba78a,_0x4d8f26=_0x560c90[_0x5d02c7(0x3a0)]-0x1,_0x761aca;_0x4d8f26>=0x0;_0x4d8f26--)(_0x761aca=_0x560c90[_0x4d8f26])&&(_0x40d625=_0x761aca(_0x40d625)||_0x40d625);return _0x40d625;},en=(_0x14e368,_0x2d82a6)=>(_0x179e27,_0x481518)=>_0x2d82a6(_0x179e27,_0x481518,_0x14e368);let De=class{constructor(_0x1b04fe){var _0x40978b=_0x54277f;this[_0x40978b(0x353)]=_0x1b04fe,this[_0x40978b(0xf4)]();}[_0x54277f(0xf4)](){var _0x3e3a5a=_0x54277f;this[_0x3e3a5a(0x353)]['registerHTTPInterceptor']({'interceptor':(_0x565568,_0x32f6b0)=>{var _0x46dd8e=_0x3e3a5a;const _0x40498b=_0x565568[_0x46dd8e(0x21b)],_0x34e980=Ji();return _0x34e980&&_0x40498b[_0x46dd8e(0x34b)](_0x46dd8e(0x17b),_0x34e980),_0x32f6b0(_0x565568);}});}};De=Qi([en(0x0,o[_0x54277f(0x226)](K['HTTPService']))],De);var tn=Object[_0x54277f(0x401)],nn=(_0x5db21f,_0x50d5db,_0x3564dc,_0x2afc61)=>{var _0x4183f9=_0x54277f;for(var _0x232e1b=_0x2afc61>0x1?void 0x0:_0x2afc61?tn(_0x50d5db,_0x3564dc):_0x50d5db,_0x5cb96c=_0x5db21f[_0x4183f9(0x3a0)]-0x1,_0x30b2f8;_0x5cb96c>=0x0;_0x5cb96c--)(_0x30b2f8=_0x5db21f[_0x5cb96c])&&(_0x232e1b=_0x30b2f8(_0x232e1b)||_0x232e1b);return _0x232e1b;},Le=(_0xf2602b,_0x217512)=>(_0x3d73ee,_0x4d8788)=>_0x217512(_0x3d73ee,_0x4d8788,_0xf2602b);exports[_0x54277f(0x447)]=class extends o[_0x54277f(0x233)]{constructor(_0x3865da,_0x3ee387,_0x40a1ab){var _0x2cd542=_0x54277f;super(),A(this,'_unitInfo$',new j[(_0x2cd542(0xea))](null)),A(this,_0x2cd542(0x24b),this[_0x2cd542(0x1c3)]['asObservable']()),(this[_0x2cd542(0x20f)]=_0x3865da,this[_0x2cd542(0x2d4)]=_0x3ee387,this['_localCacheService']=_0x40a1ab);}async[_0x54277f(0x351)](_0x40199a,_0x393d78,_0x2840a5){var _0x457d14=_0x54277f;this[_0x457d14(0x1c3)]['next']({'unitId':_0x40199a,'type':_0x393d78});let _0x3eb9f1=null;switch(_0x393d78){case X[_0x457d14(0x1c7)]:{_0x3eb9f1=await this[_0x457d14(0x2d4)][_0x457d14(0x186)](_0x40199a,_0x2840a5);break;}case X[_0x457d14(0x345)]:{_0x3eb9f1=await this['_snapshotService'][_0x457d14(0x39e)](_0x40199a,_0x2840a5);break;}default:{this[_0x457d14(0x20f)]['error'](_0x457d14(0x454),_0x457d14(0x154));break;}}return _0x3eb9f1;}async[_0x54277f(0x428)](_0x5a429a,_0x305da3,_0x1808f1){var _0x9abba0=_0x54277f,_0x1dc0e0;this['_unitInfo$'][_0x9abba0(0x2f7)]({'unitId':_0x5a429a,'type':_0x305da3,'subUnitId':_0x1808f1});let _0x51cb56=0x0;const _0x32fd27=await((_0x1dc0e0=this[_0x9abba0(0x36c)])==null?void 0x0:_0x1dc0e0[_0x9abba0(0x1cb)](_0x5a429a));return _0x32fd27&&(_0x32fd27[_0x9abba0(0x110)]||_0x32fd27['mutations'][_0x9abba0(0x3a0)]!==0x0)&&(_0x51cb56=_0x32fd27[_0x9abba0(0x177)]),_0x51cb56===0x0&&this['_logService'][_0x9abba0(0x2db)](_0x9abba0(0x454),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x5a429a,_0x305da3,_0x51cb56);}},exports[_0x54277f(0x447)]=nn([Le(0x0,o[_0x54277f(0x15b)]),Le(0x1,o[_0x54277f(0x226)](E['SnapshotService'])),Le(0x2,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x447)]);var sn=Object[_0x54277f(0x401)],rn=(_0x4ce613,_0x5f47e4,_0xfd1e12,_0x951f62)=>{for(var _0x3b5fc7=_0x951f62>0x1?void 0x0:_0x951f62?sn(_0x5f47e4,_0xfd1e12):_0x5f47e4,_0x1786ee=_0x4ce613['length']-0x1,_0x198c7a;_0x1786ee>=0x0;_0x1786ee--)(_0x198c7a=_0x4ce613[_0x1786ee])&&(_0x3b5fc7=_0x198c7a(_0x3b5fc7)||_0x3b5fc7);return _0x3b5fc7;},Me=(_0x33a898,_0x2a0295)=>(_0x53cff4,_0x5cce70)=>_0x2a0295(_0x53cff4,_0x5cce70,_0x33a898);const an=[_0x54277f(0x15a),'image/jpeg','image/jpg','image/gif',_0x54277f(0x28d)],on=0x5*0x400*0x400,cn=_0x54277f(0x334),_n='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x4444c7,_0x75d8fc,_0x51a6e9){var _0x1b0da4=_0x54277f;A(this,'_waitCount',0x0),A(this,_0x1b0da4(0x172),new j[(_0x1b0da4(0x1fe))]()),A(this,_0x1b0da4(0x170),this[_0x1b0da4(0x172)]),A(this,_0x1b0da4(0x134),new Map()),(this['_httpService']=_0x4444c7,this[_0x1b0da4(0x20d)]=_0x75d8fc,this['_univerInstanceService']=_0x51a6e9);}[_0x54277f(0x205)](_0x5797be){var _0x1200fb=_0x54277f;this[_0x1200fb(0xf1)]=_0x5797be,this['_change$']['next'](_0x5797be);}[_0x54277f(0x111)](_0x59d87f,_0x21df90){var _0x4aa16e=_0x54277f;if(_0x21df90===z['ImageSourceType'][_0x4aa16e(0x27d)]){const _0x10a77c=new Image();return _0x10a77c[_0x4aa16e(0x283)]=_0x59d87f,_0x10a77c;}return this[_0x4aa16e(0x134)][_0x4aa16e(0x309)](_0x59d87f);}['addImageSourceCache'](_0x4a1d3d,_0xe34a17,_0x26965e){var _0x147eac=_0x54277f;_0xe34a17===z[_0x147eac(0x28f)]['BASE64']||_0x26965e==null||this[_0x147eac(0x134)][_0x147eac(0x34b)](_0x4a1d3d,_0x26965e);}async[_0x54277f(0x39b)](_0xd681ec){var _0x1e4899=_0x54277f;try{const _0x282075=this[_0x1e4899(0x385)](this[_0x1e4899(0x41a)](),''+_0xd681ec),_0x4a5a0f=(await this[_0x1e4899(0x353)][_0x1e4899(0x309)](_0x282075))[_0x1e4899(0x29e)];if(_0x4a5a0f[_0x1e4899(0x437)]&&_0x4a5a0f[_0x1e4899(0x437)]['code']===vt['OK']){const _0xe65aa6=new URL(_0x4a5a0f[_0x1e4899(0x2de)],this[_0x1e4899(0x2e5)]())[_0x1e4899(0xfb)]();return Promise[_0x1e4899(0xe6)](_0xe65aa6);}return Promise['reject'](_0x4a5a0f[_0x1e4899(0x437)]);}catch(_0x4ac161){return Promise['reject'](_0x4ac161);}}async[_0x54277f(0x1f5)](_0x5ce331){var _0x46281d=_0x54277f;let _0x1b58e5='';if(!an[_0x46281d(0xf9)](_0x5ce331[_0x46281d(0x24e)]))return this[_0x46281d(0x424)](),Promise[_0x46281d(0x419)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x5ce331[_0x46281d(0x44f)]>on)return this[_0x46281d(0x424)](),Promise['reject'](new Error(z[_0x46281d(0x197)]['ERROR_EXCEED_SIZE']));try{const _0x55f385=new FormData();_0x55f385[_0x46281d(0x263)](_0x46281d(0x187),_0x5ce331);const _0x5b44cb=this[_0x46281d(0x327)][_0x46281d(0x23d)](),_0xdff492=_0x5b44cb==null?void 0x0:_0x5b44cb[_0x46281d(0x364)]();if(!_0xdff492)throw new Error('unitId\x20is\x20not\x20found');const _0x18ed43=this[_0x46281d(0x3f4)]()+'?size='+_0x5ce331['size'][_0x46281d(0xfb)]()+_0x46281d(0x3ad)+dt['UnitEmbedded']+_0x46281d(0x19a)+encodeURIComponent(_0xdff492),_0xd8c726={'body':_0x55f385},_0x143d8a=(await this[_0x46281d(0x353)][_0x46281d(0x2a6)](_0x18ed43,_0xd8c726))[_0x46281d(0x29e)];if(typeof _0x143d8a[_0x46281d(0x35c)]!=_0x46281d(0x369))return this[_0x46281d(0x424)](),Promise[_0x46281d(0x419)](new Error(z[_0x46281d(0x197)][_0x46281d(0x2b1)]));_0x1b58e5=_0x143d8a[_0x46281d(0x35c)];}catch{return this['_decreaseWaiting'](),Promise[_0x46281d(0x419)](new Error(z[_0x46281d(0x197)][_0x46281d(0x2b1)]));}return new Promise((_0x2a6897,_0x4d7923)=>{var _0x4ed01a=_0x46281d;const _0x2fd28e=new FileReader();_0x2fd28e[_0x4ed01a(0x31d)](_0x5ce331),_0x2fd28e[_0x4ed01a(0x1b6)]=_0x4e4f18=>{var _0x1ce207=_0x4ed01a,_0x25a97d;const _0x3c2867=(_0x25a97d=_0x4e4f18[_0x1ce207(0x26b)])==null?void 0x0:_0x25a97d[_0x1ce207(0x357)];if(_0x3c2867==null){this[_0x1ce207(0x424)](),_0x4d7923(new Error(z[_0x1ce207(0x197)][_0x1ce207(0x2b1)]));return;}const _0x18988a=o['generateRandomId'](0x6);_0x2a6897({'imageId':_0x18988a,'imageSourceType':z['ImageSourceType'][_0x1ce207(0x3c4)],'source':_0x1b58e5,'base64Cache':_0x3c2867,'status':z[_0x1ce207(0x197)][_0x1ce207(0x24c)]}),this['_decreaseWaiting']();};});}[_0x54277f(0x3f4)](){var _0x19a5cc=_0x54277f,_0x32e4c5;const _0x1e5b3d=this[_0x19a5cc(0x20d)][_0x19a5cc(0x319)](Y);return(_0x32e4c5=_0x1e5b3d==null?void 0x0:_0x1e5b3d[_0x19a5cc(0x3c6)])!=null?_0x32e4c5:cn;}[_0x54277f(0x41a)](){var _0x2d4603=_0x54277f,_0xd4e63c;const _0xbf20bf=this[_0x2d4603(0x20d)][_0x2d4603(0x319)](Y);return(_0xd4e63c=_0xbf20bf==null?void 0x0:_0xbf20bf[_0x2d4603(0x2cb)])!=null?_0xd4e63c:_n;}[_0x54277f(0x2e5)](){var _0x53a6fc=_0x54277f,_0x15a525;const _0xaa81d4=this[_0x53a6fc(0x20d)][_0x53a6fc(0x319)](Y);return(_0x15a525=_0xaa81d4==null?void 0x0:_0xaa81d4[_0x53a6fc(0x163)])!=null?_0x15a525:location[_0x53a6fc(0x463)];}[_0x54277f(0x385)](_0x26c04b,_0x46b3f7){var _0x1a9291=_0x54277f;return _0x26c04b['replace'](_0x1a9291(0xfa),_0x46b3f7);}[_0x54277f(0x424)](){var _0x12356a=_0x54277f;this['_waitCount']-=0x1,this[_0x12356a(0x172)][_0x12356a(0x2f7)](this[_0x12356a(0xf1)]);}},exports[_0x54277f(0x343)]=rn([Me(0x0,o['Inject'](K[_0x54277f(0x12f)])),Me(0x1,o['IConfigService']),Me(0x2,o[_0x54277f(0x226)](o[_0x54277f(0x277)]))],exports[_0x54277f(0x343)]);var hn=Object['getOwnPropertyDescriptor'],ln=(_0x4ff03a,_0x4cfaa9,_0xf6b939,_0x7b4a72)=>{var _0x1c9a59=_0x54277f;for(var _0x1850d1=_0x7b4a72>0x1?void 0x0:_0x7b4a72?hn(_0x4cfaa9,_0xf6b939):_0x4cfaa9,_0x2b9888=_0x4ff03a[_0x1c9a59(0x3a0)]-0x1,_0x148738;_0x2b9888>=0x0;_0x2b9888--)(_0x148738=_0x4ff03a[_0x2b9888])&&(_0x1850d1=_0x148738(_0x1850d1)||_0x1850d1);return _0x1850d1;},at=(_0x31d692,_0x262478)=>(_0x48ff9d,_0x28ed8d)=>_0x262478(_0x48ff9d,_0x28ed8d,_0x31d692);const un=_0x54277f(0x1ba);exports['MentionIoHttpService']=class{constructor(_0x1e6a54,_0x47b8af){var _0x22a1ed=_0x54277f;this[_0x22a1ed(0x20d)]=_0x1e6a54,this['_HTTPService']=_0x47b8af;}[_0x54277f(0x3f0)](){var _0x518973=_0x54277f,_0x566f0b;const _0x30e0a8=this[_0x518973(0x20d)][_0x518973(0x319)](Y);return(_0x566f0b=_0x30e0a8==null?void 0x0:_0x30e0a8[_0x518973(0x27f)])!=null?_0x566f0b:un;}async[_0x54277f(0x25b)](_0x18e0b2){var _0xd9200d=_0x54277f;const _0x219a90=this[_0xd9200d(0x3f0)]()+_0xd9200d(0x337);return{'list':[{'title':_0xd9200d(0x3e3),'mentions':(await this['_HTTPService'][_0xd9200d(0x309)](_0x219a90,{'params':{'objectID':_0x18e0b2['unitId'],'unitID':_0x18e0b2[_0xd9200d(0x1b8)]}}))[_0xd9200d(0x29e)][_0xd9200d(0x2ee)][_0xd9200d(0x1db)](_0x1987cb=>({'objectId':_0x1987cb['id'],'name':_0x1987cb[_0xd9200d(0x3e7)][_0xd9200d(0x3b7)],'metadata':{'icon':_0x1987cb['subject'][_0xd9200d(0x1ec)]},'label':_0x1987cb[_0xd9200d(0x3e7)][_0xd9200d(0x3b7)],'objectType':o[_0xd9200d(0x218)][_0xd9200d(0x316)]})),'metadata':{},'type':o[_0xd9200d(0x218)][_0xd9200d(0x316)]}]};}},exports[_0x54277f(0x3ae)]=ln([at(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x3b4)])),at(0x1,o[_0x54277f(0x226)](K['HTTPService']))],exports[_0x54277f(0x3ae)]);function _0xfa0e(){var _0x8fb87c=['/-/object/list','length','Failed\x20to\x20update\x20permission\x20point','UNAUTHENTICATED','_transformUndoredo','_onLocalMutation','has','selections','takeUntil','DEFAULT_FILE_NAME','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','liveShareOperation','HEARTBEAT_TIMEOUT','UserManagerService','&source=','MentionIoHttpService','UniverCollaborationClientPlugin','UNKNOWN_CMD','key','/universer-api/oidc/authpage','_tryEnsureSocket','IConfigService','_keyPriorReset','ceil','name','CollaborationSessionService','_xformMode','_getLoginPath','OTHER_CLIENTS_EDITING','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','c1Prime','_transformRemoteChangesetByIMECache','_onFetchMissResult','ISingleActiveUnitService','collaboration-client.local-cache-service','enableCollaboration','updateCollaborator','UUID','FAIL','uploadFileServerUrl','complete','SheetsSelectionsService','_roomMembers','conflict','_stopTelemetryCollaborationNewChangeset','startsWith','WorkbookEditablePermission','_onConnectionOpen','REDEMPTION_CODE_FULLY_REDEEMED','blockSize','onTransformRemoteChangesetByIMECache','LocaleService','UnitStatus','CollaborationSocketService','UNKNOWN_CODE','cfg','isArray','ENTITLE_INVALID_COUPON_CODE','function','capture','localCacheService','AES','keySize','_socketMessageSubscription','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_userManagerService','format','toggleOnline','People','TOO_MANY_REQUESTS','[OfflineState]:\x20received\x20rejection.','MOBILE_VERIFY_CODE_MISMATCH','subject','_parse','status$','_acknowledgedAwaitingChangeset','LICENSE_EXPORT_SIZE_EXCEEDED','[PendingState]:\x20received\x20acknowledgement.','localeService','_snapshotServerService','JOINING','_getAPIPrefixPath','univer-pro.collaboration-client.single-active-unit-service','reconnect','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_getUploadFileURL','Malformed\x20UTF-8\x20data','CBC','INTERNAL_ERROR','close','compute','Rectangle','_toggleOffline','_doCryptBlock','_collaborationPaused','symbol','_collaborationSessionService','44SBovkB','getOwnPropertyDescriptor','_onConnectionFailed','reset','_init','_onUserJoin','_telemetryService','FetchingMissState','_createHmacHelper','APPLY_DUPLICATED','sessionStatus','_onJoinRoomEvent','setCurrentUser','_clearCollaborationTimeoutTimer','submit\x20changeset\x20error!','asObservable','IMentionIOService','getTypeOfUnitAdded$','_initMergeInterceptor','LIVESHARE_FETCH_OPERATIONS','findIndex','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_socketReady','_networkConditionService','reject','_getSignURL','charAt','filter','_commandService','_pendingMutations','AWAITING_WITH_PENDING','Workbook','onTransformSelections','_fetchMissChangesets','call','_decreaseWaiting','_retryConnectingTimer','SYNCED','CHANGESET_REJ','loadUnit','unsubscribe','EMAIL_HAS_BEEN_BOUND','YUUMI_RATE_OVER_LIMIT','putCollaborators','_submitChangeset','_onRemoteACK','merge','Tools','createSocket','CollaborationStatus','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_iv','JOIN_ROOM_PERMISSION_DENIED','state','error','PendingState','_replayCachedMutations','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ISnapshotServerService','finalize','_onMessage','_prevBlock','onLocalMutation','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_ACK','Injector','getRoom','every','_startCollaboration','IDLE','DataLoaderService','getTime','getResourcesRequest','_hasher','ciphertext','$super','encode','_commentService','size','SheetTransformSelectionsService','_tryReconnect','_map','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[DataLoaderService]','floor','Hasher','PasswordBasedCipher','__creator','code','failed\x20to\x20apply\x20missed\x20changesets!','_transformIMECache','collaboratorID','_maxTotalRetryTimeout','JOIN','onlyLocal','LOGIN_FAILED','JOIN_ROOM_FAILED','collaMsg','origin','EvpKDF','SOCKET_FAILED','_collaborationUIEventService','_iKey','HMAC','updatePermissionPoint','_roomCreated$','getCollabEntity$','COMMENT_UPDATE','_onRemoteRetry','IPermissionService','APPLY_REJECT','algo','HELLO','getGlobalObject','_queuedRemoteChangesets','_getAPIPrefix','resolve','open$','mixIn','_append','BehaviorSubject','decrypt','SNAPSHOT_INVALID_SNAPSHOT','byteLength','[CollaborationSessionService]:\x20socket\x20error','saveChangeset','UNIVER_UNKNOWN','_waitCount','_getCtorByUniverType','MSG_FOR_ERROR','_initRequestHeader','pending','ICommandService','EmptyMutationInfo','saveSheetBlock','includes','{fileID}','toString','Univer','\x0aAfter:\x20','href','deleteCollaborator','ITransformService','update','_createHandler','onRemoteAck','_disableEditing','createDecryptor','clone','CollaborationEvent','_onRemoteRejected','_undoRedoService','send','_initUnitPermissionChange','SHA1','parseChangesetToProtocol','UNRECOGNIZED','ONLINE','awaitingChangeset','getImageSourceCache','unit-cache-','parseProtocolChangeset','transformSelections','LOCAL_CACHE_INTERVAL_KEY','listCollaborators','SheetCollaborationEntity','_onUserLeave','decryptBlock','_hash','_initCloseConn','actions','fromCharCode','LIVESHARE_TERMINATE','INGEST','_HTTPService','FETCH_MISSING','GLOBAL_ROOMS_CNT_EXCEEDS','UNIVER_SLIDE','setConfig','_changesetReqId','equals','_nDataBytes','APPLY_NON_SEQUENTIAL_REVISION','LEAVE','getUnitOnRev','_listenToNetworkCondition','default','joinEvent','APPLY_PERMISSION_DENIED','HTTPService','&to=','csRejEvent','_clearRedo','connection\x20error','_imageSourceCache','values','socket\x20close','defineProperty','mutations','min','getAllMembers','_entityInit$','RETRY_CONNECTING_MAX_COUNT','UNISCRIPT_RUN','YUUMI_SUBSCRIPTION_NOT_FOUND','_initDependencies','AwaitingWithPendingState','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onRemoteChangeset','Base','/universer-api/snapshot','[SyncedState]:\x20received\x20acknowledgement.','requestParams','56192830EWJekw','joinRsp','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_sendingTimer','OpenSSL','_rescheduleHeartbeat','transformChangesets','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_timeoutTimer','YUUMI_ASYNCIO_CANCELLED','REDEMPTION_CODE_HAS_BEEN_CREATED','CONNECTOR_DATA_TOO_LARGE','14aWgenD','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','USERS_ENTER','method','offline','fetching\x20missing\x20changesets\x20from\x20','UserProfileImg','image/png','ILogService','take','ENTITLE_DUP_SUBSCRIPTION','ICollaborationSocketService','roomInfos','from','OPTIONAL','charCodeAt','downloadEndpointUrl','toDisposable','getUnit','commentUpdate$','USER_IS_ANONYMOUS','_localeService','repeat','CollaborationEntity','toStringTag','getUnitStatus$','isInternalEditorID','socketService','CommandType','change$','padding','_change$','22641sBHjlJ','_minBufferSize','onRemoteRetry','INVITE_CODE_ALREADY_BOUND','rev','copyFileMeta','transformUndoRedo','/universer-api/uniscript','x-univer-host','_updateState','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ENTITLE_INSUFFICIENT_QUOTA','MD5','SUBMIT_CHANGESET_TIMEOUT','buffer','PSEUDO_FETCH_MISSING_RESULT','objectType','_process','onTransformState','loadSheet','file','_transformRemoteChangesetByStateCache','Encryptor','LIVESHARE_REQUEST_HOST','objectID','originalMeta','_key','params','\x0aCurrent:\x20','registerHTTPInterceptor','updateMember','\x20in\x20_schedule.','close$','COMPRESS_MUTATION_SEND','HttpImport','_nRounds','ImageUploadStatusType','userID','UniverNetworkPlugin','&assign=','HEARTBEAT_INTERVAL_KEY','onMissingChangesets','PERMISSION_REJ','/allowed','init','getActiveSheet','onMutationExecutedForCollab','APPLY_REVISION_CONFILICT','4QJaBTc','AUTHORIZE_CODE_ILLEGAL','incrementRevOfUnit','_compressMutationService','IUndoRedoService','commentUpdateEvent','_schedule','DEFAULT_WS_SESSION_TICKET_URL','_transitionLocked','_exhaustRemoteChangesetQueue','[CollaborationSession]','_clearUndo','sin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onSyncEditingCollabCursor','HmacSHA1','_resendWithTimeout','LICENSE_IMPORT_SIZE_EXCEEDED','_doCreateSocket','onload','slice','unitId','getLatestCsReqIdBySid','/universer-api/authz','workbook','SheetPermissionInitController','\x20-\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','PY_RUNTIME_SCRIPT_ERROR','CHANGESET_REVISION_CONFILICT','sid','_entities','_unitInfo$','_collabSessionService','_joinRoom','kdf','UNIVER_SHEET','Base64','getCurrentRevOfUnit','pluginName','loadOfflineData','ws://127.0.0.1:8000/universer-api/comb/connect','Could\x20not\x20dynamically\x20require\x20\x22','6905124nybRDo','?url=','dispose','_clearLocalCache','mode','getMemberID','_sender','editingUnit','USER_NOT_INVITED_CODE','_syncEditingCollabCursor','_onCombEvent','_transformSelections','_injector','map','readInt32LE','enableOfflineEditing','SNAPSHOT_HAS_BEEN_REMOVED','CipherParams','save\x20fail\x20reason\x20is\x20','LIVESHARE_OPERATION','_isPermissionRej','registerDependencies','_awaitingChangeset','sigBytes','pipe','_status$','_config','SetSelectionsOperation','ENTITLE_COUPON_EXPIRED','onTransformIME','avatar','_socket','RevisionService','sequenceExecute','ivSize','range','session.room-full','concat','objects','saveImage','getInterceptPoints','getSnapshotAPIPath','Plugin','CollaborationUIEventId','OTHER_CLIENT_EDITING','error$','_mode','WordArray','Subject','_registerDependencies','onStarting','AWAITING','session.room-cnt-exceeds','INVITE_CODE_REQUIRED','_members','setWaitCount','sendChangesetTimeout','duration','_removeRoom','_throwTelemetryCollaborationNewChangeset','responseType','hasOwnProperty','hostname','_configService','find','_logService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','createEncryptor','NoPadding','data','onSendChangeset','SUBMIT_CHANGESET','onCommentUpdate','subscribe','MentionType','ReplaySubject','_oKey','headers','_createInitialState','synced','[CollaborationState]:\x20apply\x20error!','_state$','getWorkbookSelections','session','_sendHeartbeat','HmacMD5','ConflictState','_getRedoStack','Inject','_type','YUUMI_NO_CUBOID_FOR_QUESTION','Optional','1514484mpzWEt','_unlockTransition','onRemoteChangeset','_emitMembers','_updateStatus','_handler','getMember','encodeURIComponent','csShouldRetryEvent','RxDisposable','ENTITLE_USE_COUPON_NOT_1ST_TRADE','ENTITLE_REPORT_LIMIT_EXCEED','_telemetryInfo','/-/object/-/batch_allowed','infoRsp','auth.needGotoLoginAlert','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','2567825DWbrQF','_createInitialStateImpl','getFocusedUnit','getSheetBlock','_remoteChangesetQueue','status','_showConflictNotification','revision','[CollaborationEntity]','_state','title','SHOULD_CLOSE_CONN','getUnitType','random','unknown','join','unitInfo$','SUCCUSS','PERMISSION_DENIED','type','awaiting_with_pending','YUUMI_UNABLE_LOAD_URL','RichTextEditingMutation','_resendTimeout','COMPLETION_FINISHED','_sessions','_clearScheduledTask','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','fetchMiss','_sendHeartbeatTimer','AwaitingState','_memberService','list','ILocalCacheService','_commentUpdate$','ENTITLE_COUPON_USED_UP','USERS_LEAVE','unpad','_clearHeartbeatTimer','now','append','_retryCount','[CollaborationUndoRedoService]','extend','getCurrentSelections','deserializeToCombResponse','transformStack\x20failed!','lib','target','substr','resend','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','confirm','_socketService','words','/universer-api/user/session-ticket','USER_NOT_FOUND','Latin1','INVALID_INVITE_CODE','CollaborationUIEventService','IUniverInstanceService','closeSession','CONFLICT','_event$','socket\x20open.','_changesetSessionId','BASE64','retryConnectingInterval','authzUrl','WECHAT_HAS_BEEN_BOUND','updateOfflineData','Utf8','src','[UniverCollaborationClientPlugin]','PAYMENT_CHANNEL_NOT_SUPPORT','getRandomValues','transformMutationsWithChangeset','parse','unitID','not_collab','initWorkbookPermissionChange','BlockCipher','image/bmp','onRemoteRej','ImageSourceType','ALREADY_EXISTS','SyncedState','exports','c2Prime','ENSURE_SNAPSHOT_EXECUTION','_waitForHeartbeatResponse','/object/','MOBILE_HAS_BEEN_BOUND','AuthzIoHttpService','collabWebSocketUrl','fetchThroughInterceptors','catch','create','startTime','body','baseRev','delete','UniverCollaborationPlugin','_keySchedule','executeCommand','routeKey','roles','post','stringify','emitEvent','YUUMI_URL_COL_OUT_OF_RANGE','event$','ERROR_AGAIN','Hex','UnitSnapshot','forEach','_socket$','/unit/','ERROR_IMAGE','_updateLocalCache','RECV','onMissedChangesetFetched','_resendTimer','YUUMI_CONNECTOR_URL_NOT_FOUND','[SyncedState]:\x20received\x20rejection.','EMAIL_VERIFY_CODE_MISMATCH','encryptBlock','session.join-failed','encrypt','HttpExport','createInstance','formatter','patch','getTypeOfUnitDisposed$','_sheetTransformSelectionsService','_ENC_XFORM_MODE','_substituteRedoStack','enc','DependentOn','Undefined','prototype','updateSnapshot','createIdentifier','_revisionService','signUrlServerUrl','CollaborativeUndoRedoService','location','__splitChunk__','eventID','firstValueFrom','MemberService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_applyRemoteChangeset','_snapshotService','add','UNIVER_PROJECT','_onConflict','_transformStack','getValue','_scheduleCollaborationTimeoutTimer','debug','_toggleOnline','dispose$','url','NO_OTHER_CLIENTS_EDITING','\x20to\x20','_invKeySchedule','Module','_instanceService','OfflineState','_getDownloadEndpointURL','appendMutation','SNAPSHOT_URL_KEY','CLOSE_ROOM','NOT_FOUND','_singleActiveUnitService','clear','_lockTransition','_cipher','collaborators','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UNIVER_COLLABORATION_CLIENT_PLUGIN','crypto','ThresholdInterceptorFactory','_candidateSocket','NOT_COLLAB','REDEMPTION_CODE_INACTIVE','_transformStateCache','next','message$','clamp','allowed','objectActions','_getUndoStack','HEARTBEAT','apply','_unitID','JOIN_ROOM_FULL','memberID','UnitEmbedded','pad','getCollabEntity','RETRY_CONNECTING_MAX_COUNT_KEY','state$','salt','DisposableCollection','get','_transformService','/universer-api/snapshot/','_createSocket','isTransformChangesetsSuccess','UniverInstanceType','_scheduleCompleteTimestamp','LOCAL_CACHE_INTERVAL','_redoStacks','LocalUndoRedoService','randomBytes','ITelemetryService','10047888XrqYGE','PERSON','disposeWithMe','snapshot','getConfig','_doProcessBlock','reverse','getLocalCacheKey','readAsDataURL','mergeOverrideWithDependencies','getCurrentUser','liveShareNewHost','_collaborationTimeoutTimer','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_startTelemetryCollaborationNewChangeset','_getSendChangesetTimeout','SnapshotServerOverHTTPService','[OfflineState]:\x20received\x20acknowledgement.','_univerInstanceService','HEARTBEAT_TIMEOUT_KEY','/block/','ENTITLE_NEED_BILLING_ADDRESS','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','splice','UPDATE_CURSOR','msCrypto','_clearTimeoutTimer','hasher','interceptor','members$','LIVESHARE_NEW_HOST','/universer-api/stream/file/upload','[PendingState]:\x20received\x20rejection.','INVITE_CODE_HAS_BEEN_UES','/collaborator','_data','sessionStatus$','REDEMPTION_USER_NOT_ELIGIBLE','permissionRejEvent','YUUMI_AI_RUN_FAILED','reqId','_checkMissing','awaiting','CompressMutationService','_incrementRevisionNumber','textEncoder','CollaborationImageIoService','override','UNIVER_DOC','ClipsheetFragments','CHANGESET_SHOULD_RETRY','_members$','[CollaborationSessionService]','LICENSE_DISTRO_REJECTED','set','compose','OFFLINE','JOIN_ROOM_NOT_EXISTS','_doReset','refreshPermission','loadUnitOfRevision','telemetry\x20info\x20is\x20not\x20initialized','_httpService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','NEW_CHANGESETS','onTransformRemoteChangesetByStateCache','result','toggleOffline','_reverseMap','collaboration-client.config','changesets','FileId','HEARTBEAT_INTERVAL','setShowComponents','_shouldReportTelemetry','delay','_doFinalize','REDEMPTION_INVALID_CODE','/new_changes','getUnitId','INVALID_ARGUMENT','LOGIN_TOKEN_PROCESSING_FAILED','requireSession','getSheetId','string','stopTime','byteOffset','_localCacheService','CURRENT_STATUS_CANNOT_OPERATE','[OfflineState]:\x20received\x20changeset.','/universer-api/comb','_getCurrentRevision','CollaborationController','COMPRESS_MUTATION_APPLY','isPermissionRej','Cipher','_handlerCallback','isTransformMutationsWithChangesetSuccess','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','removeMember','execute','members','_substituteUndoStack','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','cmd','6893736KeaQOb','m2Prime','_executeRemoteChangeset','listRoles','BufferedBlockAlgorithm','DocCollaborationEntity','touchDependencies','_replaceFileID','SOCKET_FAILED_RETRY','b64DecodeUnicode','CollaborationSession','_sessionStatus$','fromCollab','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','LICENSE_MAX_UNITS_EXCEEDED','put','_createHelper','Decryptor','FETCH_MISS','Disposable','fetchMissingChangesets','BlockCipherMode','push','_onOffline','HTTPRequest','MUTATION','_DEC_XFORM_MODE','_eventService','StreamCipher','getImage','_permissionService','enableSingleActiveInstanceLock','loadDoc'];_0xfa0e=function(){return _0x8fb87c;};return _0xfa0e();}var vn=Object[_0x54277f(0x401)],dn=(_0x19a4af,_0x75218a,_0x2cc668,_0x2879b9)=>{var _0x28e74f=_0x54277f;for(var _0x1c2f2c=_0x2879b9>0x1?void 0x0:_0x2879b9?vn(_0x75218a,_0x2cc668):_0x75218a,_0x5e4183=_0x19a4af[_0x28e74f(0x3a0)]-0x1,_0x392ebe;_0x5e4183>=0x0;_0x5e4183--)(_0x392ebe=_0x19a4af[_0x5e4183])&&(_0x1c2f2c=_0x392ebe(_0x1c2f2c)||_0x1c2f2c);return _0x1c2f2c;},le=(_0x427b9c,_0x4c220a)=>(_0x2b7f04,_0x3467bf)=>_0x4c220a(_0x2b7f04,_0x3467bf,_0x427b9c);let ye=class extends o[_0x54277f(0x233)]{constructor(_0x3f6e09,_0x2924ee,_0x11ec47,_0x4fcf3b,_0x5b687a){var _0x356e88=_0x54277f;super(),this[_0x356e88(0x1da)]=_0x3f6e09,this[_0x356e88(0x327)]=_0x2924ee,this[_0x356e88(0x39c)]=_0x11ec47,this['_collaborationSessionService']=_0x4fcf3b,this['_collaborationUIEventService']=_0x5b687a,this['_initUnitPermissionChange'](),this[_0x356e88(0x11b)]();}[_0x54277f(0x11b)](){var _0x591069=_0x54277f;const _0x441e3d=async _0x402762=>{var _0x5985a6=_0x4c0c;(await this[_0x5985a6(0x3ff)][_0x5985a6(0x367)](_0x402762))['event$'][_0x5985a6(0x1e6)](V['filter'](_0x41e548=>_0x41e548[_0x5985a6(0x2cf)]===E[_0x5985a6(0x107)][_0x5985a6(0x246)]),V[_0x5985a6(0x3a7)](this[_0x5985a6(0x2dd)]))[_0x5985a6(0x217)](_0x34f95e=>{var _0x2d1b27=_0x5985a6;const _0x3d1756=_0x34f95e,{reason:_0x46375f}=_0x3d1756[_0x2d1b27(0x213)];this['_collaborationUIEventService']['emitEvent']({'id':J[_0x2d1b27(0x2e8)],'data':_0x46375f}),this['_permissionService'][_0x2d1b27(0x469)](new Q['WorkbookEditablePermission'](_0x402762)['id'],!0x1),this[_0x2d1b27(0x3ff)]['closeSession'](_0x402762);});};j[_0x591069(0x42f)](this['_univerInstanceService'][_0x591069(0x411)](o[_0x591069(0x30e)][_0x591069(0x1c7)]),this[_0x591069(0x327)][_0x591069(0x411)](o['UniverInstanceType'][_0x591069(0x345)]))[_0x591069(0x1e6)](V[_0x591069(0x1db)](_0x54df8f=>_0x54df8f['getUnitId']()),V['filter'](_0x3da1d2=>!o[_0x591069(0x16d)](_0x3da1d2)),V[_0x591069(0x3a7)](this[_0x591069(0x2dd)]))[_0x591069(0x217)](_0x565578=>{_0x441e3d(_0x565578);});}[_0x54277f(0x10b)](){var _0x4f1a50=_0x54277f;const _0x2e8739=async _0x202e51=>{var _0x1b3938=_0x4c0c;const _0x191d34=await this[_0x1b3938(0x3ff)][_0x1b3938(0x367)](_0x202e51),_0x63acea=this['_injector']['get'](Q[_0x1b3938(0x1bc)]);_0x191d34[_0x1b3938(0x2aa)]['pipe'](V['filter'](_0x2f4e75=>_0x2f4e75[_0x1b3938(0x2cf)]===E[_0x1b3938(0x107)]['UPDATE_PERMISSION_OBJ']),V[_0x1b3938(0x3a7)](this[_0x1b3938(0x2dd)]))[_0x1b3938(0x217)](_0x49229e=>{var _0x5f1988=_0x1b3938;const _0x485d30=_0x49229e,{objectId:_0x1132cb}=_0x485d30[_0x5f1988(0x213)];_0x1132cb===_0x202e51?_0x63acea[_0x5f1988(0x28b)](_0x202e51):_0x63acea[_0x5f1988(0x350)](_0x202e51,_0x1132cb);});};j[_0x4f1a50(0x42f)](this[_0x4f1a50(0x327)][_0x4f1a50(0x411)](o['UniverInstanceType'][_0x4f1a50(0x1c7)]))[_0x4f1a50(0x1e6)](V['map'](_0x41218e=>_0x41218e['getUnitId']()),V['filter'](_0x1eac9a=>!o[_0x4f1a50(0x16d)](_0x1eac9a)),V[_0x4f1a50(0x3a7)](this[_0x4f1a50(0x2dd)]))[_0x4f1a50(0x217)](_0x281b1a=>{_0x2e8739(_0x281b1a);});}};ye=dn([le(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),le(0x1,o[_0x54277f(0x277)]),le(0x2,o['IPermissionService']),le(0x3,o[_0x54277f(0x226)](exports[_0x54277f(0x3b8)])),le(0x4,o[_0x54277f(0x226)](ee))],ye);var Sn=Object[_0x54277f(0x401)],In=(_0x4114f1,_0x589fe9,_0x306635,_0xf307fd)=>{for(var _0x599dd7=_0xf307fd>0x1?void 0x0:_0xf307fd?Sn(_0x589fe9,_0x306635):_0x589fe9,_0x3bda81=_0x4114f1['length']-0x1,_0xc51dc5;_0x3bda81>=0x0;_0x3bda81--)(_0xc51dc5=_0x4114f1[_0x3bda81])&&(_0x599dd7=_0xc51dc5(_0x599dd7)||_0x599dd7);return _0x599dd7;},ot=(_0x234e11,_0x133436)=>(_0x469204,_0x533a47)=>_0x133436(_0x469204,_0x533a47,_0x234e11);exports[_0x54277f(0x325)]=class{constructor(_0x5dd9c2,_0x47d066){var _0x2757ee=_0x54277f;this[_0x2757ee(0x20d)]=_0x5dd9c2,this['_httpService']=_0x47d066;}async[_0x54277f(0x12a)](_0x5ad6bd,_0x3ae18c){var _0x4b642e=_0x54277f,_0x5323b2;const {unitID:_0x4f6668,type:_0x45e52d,revision:_0x1b69d1=0x0}=_0x3ae18c,_0x1b5c0a=this[_0x4b642e(0x1f7)]()+'/'+_0x45e52d+'/unit/'+_0x4f6668+'/rev/'+_0x1b69d1,_0x5c1d68=(await this[_0x4b642e(0x353)][_0x4b642e(0x309)](_0x1b5c0a))[_0x4b642e(0x29e)],_0x46cb6f=(_0x5323b2=_0x5c1d68[_0x4b642e(0x318)])==null?void 0x0:_0x5323b2[_0x4b642e(0x1bb)];if(_0x46cb6f){const _0x5437e7=_0x46cb6f==null?void 0x0:_0x46cb6f['originalMeta'],_0x282a15=E[_0x4b642e(0x342)][_0x4b642e(0x44d)](E[_0x4b642e(0x387)](_0x5437e7));_0x46cb6f[_0x4b642e(0x18c)]=_0x282a15,Object['entries'](_0x46cb6f['sheets'])['forEach'](([,_0x1a2454])=>{var _0x42e9a2=_0x4b642e;const _0x1c7714=_0x1a2454[_0x42e9a2(0x18c)],_0x43d97c=E[_0x42e9a2(0x342)][_0x42e9a2(0x44d)](E['b64DecodeUnicode'](_0x1c7714));_0x1a2454[_0x42e9a2(0x18c)]=_0x43d97c;});}return _0x5c1d68;}async[_0x54277f(0x23e)](_0x43b54b,_0x2e3803){var _0x3e998b=_0x54277f;const {unitID:_0x2a033b,type:_0x9c2925,blockID:_0x2d7a2b}=_0x2e3803,_0x24caee=this[_0x3e998b(0xe5)]()+'/'+_0x9c2925+_0x3e998b(0x2b0)+_0x2a033b+_0x3e998b(0x329)+_0x2d7a2b;return(await this[_0x3e998b(0x353)][_0x3e998b(0x309)](_0x24caee))[_0x3e998b(0x29e)];}async['getDeserializedSheetBlock'](_0x336d1c,_0x176ac1){var _0x4cc169=_0x54277f;const {unitID:_0x2bc100,type:_0x1a465b,blockID:_0x24528a}=_0x176ac1,_0x5f216c=this[_0x4cc169(0xe5)]()+_0x4cc169(0x329)+_0x1a465b+_0x4cc169(0x2b0)+_0x2bc100+_0x4cc169(0x329)+_0x24528a;return(await this[_0x4cc169(0x353)][_0x4cc169(0x309)](_0x5f216c))[_0x4cc169(0x29e)];}async['fetchMissingChangesets'](_0x493a3c,_0x514b07){var _0x26734c=_0x54277f;const {unitID:_0xb84240,type:_0x103a4b,from:_0x42caac,to:_0x24c1d2}=_0x514b07,_0x3a238d=this[_0x26734c(0xe5)]()+'/'+_0x103a4b+_0x26734c(0x2b0)+_0xb84240+'/fetchmissing?from='+_0x42caac+_0x26734c(0x130)+_0x24c1d2;return(await this['_httpService'][_0x26734c(0x309)](_0x3a238d))[_0x26734c(0x29e)];}[_0x54277f(0x1f7)](){var _0x1beaa6=_0x54277f,_0x508058;return(_0x508058=this[_0x1beaa6(0x20d)][_0x1beaa6(0x319)](Ut))!=null?_0x508058:this[_0x1beaa6(0xe5)]();}['_getAPIPrefix'](){var _0x5d0f14=_0x54277f,_0x3b85d7;const _0x392a67=this[_0x5d0f14(0x20d)][_0x5d0f14(0x319)](Y);return(_0x3b85d7=_0x392a67==null?void 0x0:_0x392a67['snapshotServerUrl'])!=null?_0x3b85d7:yt;}async[_0x54277f(0x449)](_0x5e17fa,_0x25397d){var _0x5cea4c=_0x54277f;const _0x5856b7=_0x5cea4c(0x30b)+_0x25397d[_0x5cea4c(0x24e)]+_0x5cea4c(0x2b0)+_0x25397d['unitID']+'/resources';return(await this[_0x5cea4c(0x353)]['get'](_0x5856b7,{'params':{'resourceId':JSON['stringify'](_0x25397d['resourceIDs'])}}))[_0x5cea4c(0x29e)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x54277f(0x2c8)](){var _0x59997d=_0x54277f;throw new Error(_0x59997d(0x453));}[_0x54277f(0xf8)](){var _0x39aab5=_0x54277f;throw new Error(_0x39aab5(0x453));}[_0x54277f(0xef)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x54277f(0x178)](){var _0x5e87a5=_0x54277f;throw new Error(_0x5e87a5(0x453));}[_0x54277f(0x1b9)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports['SnapshotServerOverHTTPService']=In([ot(0x0,o[_0x54277f(0x3b4)]),ot(0x1,o['Inject'](K[_0x54277f(0x12f)]))],exports[_0x54277f(0x325)]);var fn=Object['getOwnPropertyDescriptor'],En=(_0x29ad09,_0x28a653,_0x1a08e9,_0x43aab6)=>{var _0x214702=_0x54277f;for(var _0xb55b07=_0x43aab6>0x1?void 0x0:_0x43aab6?fn(_0x28a653,_0x1a08e9):_0x28a653,_0x1d2345=_0x29ad09[_0x214702(0x3a0)]-0x1,_0x2c42e0;_0x1d2345>=0x0;_0x1d2345--)(_0x2c42e0=_0x29ad09[_0x1d2345])&&(_0xb55b07=_0x2c42e0(_0xb55b07)||_0xb55b07);return _0xb55b07;},ue=(_0x3cdc6f,_0x2e859e)=>(_0x1c2c39,_0x173858)=>_0x2e859e(_0x1c2c39,_0x173858,_0x3cdc6f);exports[_0x54277f(0x2cc)]=class extends o[_0x54277f(0x312)]{constructor(_0x54637c,_0x63670e,_0x4c22ac,_0x1f53f2,_0xadbb17){var _0x2786de=_0x54277f;super(_0x54637c,_0x63670e,_0x4c22ac),this[_0x2786de(0x30a)]=_0x1f53f2,this['_logService']=_0xadbb17;}[_0x54277f(0x179)](_0xf893f8,_0x290b4){var _0x203fab=_0x54277f;const _0x152986=this[_0x203fab(0x2fc)](_0xf893f8);if(_0x152986)try{const _0x41bf7f=this[_0x203fab(0x2d8)](_0x152986,_0x290b4);this[_0x203fab(0x37b)](_0xf893f8,_0x41bf7f);}catch(_0xff4df5){this[_0x203fab(0x20f)][_0x203fab(0x437)](_0x203fab(0x265),_0xff4df5),this[_0x203fab(0x1ae)](_0xf893f8);}const _0x3ff955=this[_0x203fab(0x225)](_0xf893f8);if(_0x3ff955)try{const _0x236f9c=this[_0x203fab(0x2d8)](_0x3ff955,_0x290b4);this[_0x203fab(0x2c3)](_0xf893f8,_0x236f9c);}catch(_0x2b3de0){this['_logService'][_0x203fab(0x437)](_0x2b3de0),this[_0x203fab(0x132)](_0xf893f8);}}[_0x54277f(0x1ae)](_0x2974ef){var _0x40a249=_0x54277f;const _0x1e9980=this[_0x40a249(0x2fc)](_0x2974ef);_0x1e9980&&(_0x1e9980['length']=0x0,this[_0x40a249(0x22e)]());}[_0x54277f(0x132)](_0x48ebee){var _0x4569d5=_0x54277f;const _0x2072ad=this[_0x4569d5(0x225)](_0x48ebee);_0x2072ad&&(_0x2072ad[_0x4569d5(0x3a0)]=0x0,this['_updateStatus']());}[_0x54277f(0x37b)](_0x491af4,_0x190fdc){this['_undoStacks']['set'](_0x491af4,_0x190fdc),this['_updateStatus']();}['_substituteRedoStack'](_0x3e17a0,_0x1a5953){var _0x27a2fe=_0x54277f;this[_0x27a2fe(0x311)][_0x27a2fe(0x34b)](_0x3e17a0,_0x1a5953),this[_0x27a2fe(0x22e)]();}[_0x54277f(0x2d8)](_0x308f90,_0x3c9b11){var _0x20fabb=_0x54277f;const _0x556b80=[];let _0x3f545e=_0x3c9b11,_0x434189=_0x3c9b11;for(let _0x2524c4=_0x308f90[_0x20fabb(0x3a0)]-0x1;_0x2524c4>=0x0;_0x2524c4--){const {unitID:_0x473f49,undoMutations:_0x5f2213,redoMutations:_0x53d170}=_0x308f90[_0x2524c4],_0x1a7575=this['_transformService'][_0x20fabb(0x287)](_0x3f545e,_0x5f2213),_0x3bbfc3=this[_0x20fabb(0x30a)]['transformMutationsWithChangeset'](_0x434189,_0x53d170);if(E['isTransformMutationsWithChangesetFailure'](_0x1a7575)||E['isTransformMutationsWithChangesetFailure'](_0x3bbfc3)){this[_0x20fabb(0x20f)][_0x20fabb(0x437)](_0x20fabb(0x265),_0x20fabb(0x269),_0x1a7575,_0x3bbfc3);break;}_0x3f545e=_0x1a7575[_0x20fabb(0x3bd)],_0x434189=_0x3bbfc3['c1Prime'],_0x556b80[_0x20fabb(0x394)]({'unitID':_0x473f49,'undoMutations':_0x1a7575['m2Prime'],'redoMutations':_0x3bbfc3[_0x20fabb(0x37f)]});}return _0x556b80[_0x20fabb(0x31b)]();}},exports[_0x54277f(0x2cc)]=En([ue(0x0,o[_0x54277f(0x277)]),ue(0x1,o['ICommandService']),ue(0x2,o['IContextService']),ue(0x3,E['ITransformService']),ue(0x4,o[_0x54277f(0x15b)])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x54277f(0x137)],mn=Object[_0x54277f(0x401)],gn=(_0x42a667,_0x2c4449,_0x3aa214)=>_0x2c4449 in _0x42a667?pn(_0x42a667,_0x2c4449,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3aa214}):_0x42a667[_0x2c4449]=_0x3aa214,Tn=(_0x4d7c86,_0x2e3f77,_0x96cc65,_0x19fe3c)=>{var _0x158f60=_0x54277f;for(var _0x2e742c=_0x19fe3c>0x1?void 0x0:_0x19fe3c?mn(_0x2e3f77,_0x96cc65):_0x2e3f77,_0x12724c=_0x4d7c86[_0x158f60(0x3a0)]-0x1,_0x493997;_0x12724c>=0x0;_0x12724c--)(_0x493997=_0x4d7c86[_0x12724c])&&(_0x2e742c=_0x493997(_0x2e742c)||_0x2e742c);return _0x2e742c;},we=(_0x1e8e05,_0x5cacfe)=>(_0x4ecf10,_0x463da1)=>_0x5cacfe(_0x4ecf10,_0x463da1,_0x1e8e05),Cn=(_0x4c5d57,_0xd1a371,_0x3e7d8d)=>gn(_0x4c5d57,_0xd1a371+'',_0x3e7d8d);const On=_0x54277f(0x2f0);exports['UniverCollaborationClientPlugin']=class extends o[_0x54277f(0x1f8)]{constructor(_0x5da5b3,_0x3800d4,_0x18c3f9,_0x4d6547){var _0x36aec4=_0x54277f;super(),A(this,_0x36aec4(0x1e8)),(this[_0x36aec4(0x20f)]=_0x3800d4,this[_0x36aec4(0x1da)]=_0x18c3f9,this[_0x36aec4(0x20d)]=_0x4d6547);const {..._0x1aa804}=o[_0x36aec4(0x42f)]({},Qt,_0x5da5b3);if(!_0x1aa804[_0x36aec4(0x16e)])throw new Error(_0x36aec4(0x3df));this[_0x36aec4(0x1e8)]=_0x1aa804,this[_0x36aec4(0x20d)][_0x36aec4(0x124)](Y,_0x1aa804);}[_0x54277f(0x200)](){var _0x3ba284=_0x54277f;this[_0x3ba284(0x1ff)](),this[_0x3ba284(0x13f)]();}[_0x54277f(0x1ff)](){var _0x1c30a8=_0x54277f,_0x3a5bec,_0x5f34d6;this['_injector'][_0x1c30a8(0x3a5)](o[_0x1c30a8(0x1a7)])&&this[_0x1c30a8(0x20f)][_0x1c30a8(0x437)](_0x1c30a8(0x284),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1c9b64=o[_0x1c30a8(0x31e)]([[o['IUndoRedoService'],{'useClass':exports[_0x1c30a8(0x2cc)]}],[exports[_0x1c30a8(0x3b8)]],[exports['MemberService']],[exports[_0x1c30a8(0x450)]],[Ne],[De],[$e],[ye],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this['_config']['socketService']}],[E['ISnapshotServerService'],{'useClass':exports[_0x1c30a8(0x325)]}],[o['IAuthzIoService'],{'useClass':exports[_0x1c30a8(0x298)]}],[z['IImageIoService'],{'useClass':exports[_0x1c30a8(0x343)]}],[o[_0x1c30a8(0x410)],{'useClass':exports[_0x1c30a8(0x3ae)]}],[exports['CollaborationController']],[xe]],(_0x3a5bec=this[_0x1c30a8(0x1e8)])==null?void 0x0:_0x3a5bec[_0x1c30a8(0x344)]);if(!((_0x5f34d6=this[_0x1c30a8(0x1e8)])!=null&&_0x5f34d6[_0x1c30a8(0x39d)])){const _0x218e0c=_0x1c9b64[_0x1c30a8(0x414)](([_0x4d518f])=>_0x4d518f===ve);_0x218e0c!==-0x1&&_0x1c9b64[_0x1c30a8(0x32c)](_0x218e0c,0x1);}o[_0x1c30a8(0x1e3)](this['_injector'],_0x1c9b64);}[_0x54277f(0x13f)](){var _0x5ba20d=_0x54277f,_0x3dc29b,_0x48667f,_0x328501;this[_0x5ba20d(0x1da)]['get'](K[_0x5ba20d(0x12f)])[_0x5ba20d(0x190)]({'priority':0x14,'interceptor':K[_0x5ba20d(0x2f2)]({'maxParallel':0x6})}),(_0x3dc29b=this[_0x5ba20d(0x1e8)])!=null&&_0x3dc29b[_0x5ba20d(0x1dd)]||(_0x48667f=this['_injector'][_0x5ba20d(0x309)](q,o['Quantity'][_0x5ba20d(0x161)]))==null||_0x48667f['disableLocalCache'](),(_0x328501=this[_0x5ba20d(0x1e8)])!=null&&_0x328501['enableAuthServer']&&o[_0x5ba20d(0x384)](this[_0x5ba20d(0x1da)],[[Ne]]),o[_0x5ba20d(0x384)](this['_injector'],[[De],[exports[_0x5ba20d(0x371)]],[ye]]);}},Cn(exports[_0x54277f(0x3af)],_0x54277f(0x1ca),On),exports[_0x54277f(0x3af)]=Tn([o[_0x54277f(0x2c5)](E[_0x54277f(0x2a1)],K[_0x54277f(0x199)]),we(0x1,o[_0x54277f(0x15b)]),we(0x2,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),we(0x3,o[_0x54277f(0x3b4)])],exports[_0x54277f(0x3af)]),exports[_0x54277f(0x3f3)]=Y,exports[_0x54277f(0x432)]=je,exports[_0x54277f(0x1f9)]=J,exports[_0x54277f(0x276)]=ee,exports['CommentService']=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=_t,exports[_0x54277f(0x322)]=Bt,exports[_0x54277f(0x1aa)]=Pt,exports[_0x54277f(0x19b)]=ht,exports[_0x54277f(0x328)]=ke,exports[_0x54277f(0x15e)]=Fe,exports[_0x54277f(0x25c)]=q,exports['INetworkConditionService']=pt,exports[_0x54277f(0x3c0)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports[_0x54277f(0x115)]=xt,exports[_0x54277f(0x38b)]=jt,exports[_0x54277f(0x305)]=ut,exports['SessionStatus']=se,exports[_0x54277f(0x3d3)]=He,exports[_0x54277f(0x268)]=mt,exports[_0x54277f(0x31c)]=zt,exports['serializeCombRequest']=gt;
1
+ 'use strict';var _0x346389=_0x2174;(function(_0x1bc459,_0x332700){var _0x3e37f1=_0x2174,_0x4635e2=_0x1bc459();while(!![]){try{var _0x25a8c6=parseInt(_0x3e37f1(0x3f4))/0x1+-parseInt(_0x3e37f1(0x3a9))/0x2+parseInt(_0x3e37f1(0x3d8))/0x3*(parseInt(_0x3e37f1(0x1a9))/0x4)+-parseInt(_0x3e37f1(0x161))/0x5+parseInt(_0x3e37f1(0xff))/0x6+-parseInt(_0x3e37f1(0x218))/0x7*(-parseInt(_0x3e37f1(0xc2))/0x8)+-parseInt(_0x3e37f1(0xf9))/0x9;if(_0x25a8c6===_0x332700)break;else _0x4635e2['push'](_0x4635e2['shift']());}catch(_0x39fc22){_0x4635e2['push'](_0x4635e2['shift']());}}}(_0x3788,0x5d98d));var bt=Object[_0x346389(0x2a2)],Rt=(_0x4393b5,_0x320ccc,_0xd34cf)=>_0x320ccc in _0x4393b5?bt(_0x4393b5,_0x320ccc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd34cf}):_0x4393b5[_0x320ccc]=_0xd34cf,A=(_0x5a0742,_0x517601,_0x51e102)=>Rt(_0x5a0742,typeof _0x517601!=_0x346389(0x2a4)?_0x517601+'':_0x517601,_0x51e102);Object[_0x346389(0x2a2)](exports,Symbol['toStringTag'],{'value':_0x346389(0x232)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt=_0x346389(0x24f),Ut='SNAPSHOT_URL_KEY',At=0x7d0,_t='ws://127.0.0.1:8000/universer-api/comb/connect',Pt=_0x346389(0x369),ht=_0x346389(0x1c3),Lt=0x7530,ke=_0x346389(0x417),lt=0x4e20,Mt=0x4e20,ut=_0x346389(0x1e0),wt=0x3,xt=_0x346389(0x27b),kt=0x3e8,$t=_0x346389(0x255),Ht=_0x346389(0x114),jt=_0x346389(0x16b),Bt='/universer-api/uniscript';var vt=(_0x12aa15=>(_0x12aa15[_0x12aa15['UNDEFINED']=0x0]='UNDEFINED',_0x12aa15[_0x12aa15['OK']=0x1]='OK',_0x12aa15[_0x12aa15[_0x346389(0x204)]=0x2]='INTERNAL_ERROR',_0x12aa15[_0x12aa15['PERMISSION_DENIED']=0x3]=_0x346389(0x2bc),_0x12aa15[_0x12aa15[_0x346389(0xe2)]=0x4]='NOT_FOUND',_0x12aa15[_0x12aa15[_0x346389(0x1f6)]=0x5]='UNAUTHENTICATED',_0x12aa15[_0x12aa15['ALREADY_EXISTS']=0x6]=_0x346389(0x2a0),_0x12aa15[_0x12aa15[_0x346389(0x35d)]=0x7]=_0x346389(0x35d),_0x12aa15[_0x12aa15['TOO_MANY_REQUESTS']=0x8]=_0x346389(0x1c4),_0x12aa15[_0x12aa15[_0x346389(0x2e7)]=0x9]=_0x346389(0x2e7),_0x12aa15[_0x12aa15[_0x346389(0x398)]=0xa]=_0x346389(0x398),_0x12aa15[_0x12aa15['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x346389(0x3b6),_0x12aa15[_0x12aa15[_0x346389(0x1f1)]=0xc]=_0x346389(0x1f1),_0x12aa15[_0x12aa15[_0x346389(0x250)]=0xd]=_0x346389(0x250),_0x12aa15[_0x12aa15['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x346389(0x130),_0x12aa15[_0x12aa15[_0x346389(0x3b2)]=0xf]=_0x346389(0x3b2),_0x12aa15[_0x12aa15[_0x346389(0x1a7)]=0x10]=_0x346389(0x1a7),_0x12aa15[_0x12aa15[_0x346389(0x18a)]=0x64]=_0x346389(0x18a),_0x12aa15[_0x12aa15[_0x346389(0x349)]=0x65]=_0x346389(0x349),_0x12aa15[_0x12aa15[_0x346389(0xca)]=0xc9]=_0x346389(0xca),_0x12aa15[_0x12aa15[_0x346389(0x1f0)]=0xca]=_0x346389(0x1f0),_0x12aa15[_0x12aa15[_0x346389(0x156)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x12aa15[_0x12aa15[_0x346389(0x2f2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x12aa15[_0x12aa15[_0x346389(0x391)]=0x1772]=_0x346389(0x391),_0x12aa15[_0x12aa15[_0x346389(0x21b)]=0x1773]=_0x346389(0x21b),_0x12aa15[_0x12aa15['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x12aa15[_0x12aa15[_0x346389(0x29f)]=0x1b5a]=_0x346389(0x29f),_0x12aa15[_0x12aa15[_0x346389(0x36a)]=0x1b5b]=_0x346389(0x36a),_0x12aa15[_0x12aa15[_0x346389(0xd3)]=0x1b5c]=_0x346389(0xd3),_0x12aa15[_0x12aa15[_0x346389(0x390)]=0x1b5d]='APPLY_DUPLICATED',_0x12aa15[_0x12aa15['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x346389(0x284),_0x12aa15[_0x12aa15[_0x346389(0xc3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x12aa15[_0x12aa15[_0x346389(0x15c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x12aa15[_0x12aa15[_0x346389(0x24e)]=0x232b]=_0x346389(0x24e),_0x12aa15[_0x12aa15[_0x346389(0x3fd)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x12aa15[_0x12aa15[_0x346389(0x2de)]=0x232d]=_0x346389(0x2de),_0x12aa15[_0x12aa15['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x346389(0x2fa),_0x12aa15[_0x12aa15[_0x346389(0x418)]=0x2712]=_0x346389(0x418),_0x12aa15[_0x12aa15[_0x346389(0x365)]=0x2713]=_0x346389(0x365),_0x12aa15[_0x12aa15[_0x346389(0x10f)]=0x2714]=_0x346389(0x10f),_0x12aa15[_0x12aa15[_0x346389(0xcc)]=0x271a]=_0x346389(0xcc),_0x12aa15[_0x12aa15[_0x346389(0x11c)]=0x271b]=_0x346389(0x11c),_0x12aa15[_0x12aa15['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x346389(0x2e0),_0x12aa15[_0x12aa15['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x346389(0x23c),_0x12aa15[_0x12aa15[_0x346389(0x335)]=0x271e]=_0x346389(0x335),_0x12aa15[_0x12aa15[_0x346389(0x410)]=0x271f]=_0x346389(0x410),_0x12aa15[_0x12aa15[_0x346389(0xc0)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x12aa15[_0x12aa15['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x346389(0x259),_0x12aa15[_0x12aa15['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x346389(0xe4),_0x12aa15[_0x12aa15['INVALID_INVITE_CODE']=0x2ee2]=_0x346389(0x413),_0x12aa15[_0x12aa15[_0x346389(0x28b)]=0x2ee3]=_0x346389(0x28b),_0x12aa15[_0x12aa15[_0x346389(0x31b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x12aa15[_0x12aa15[_0x346389(0x2e5)]=0x2ee5]=_0x346389(0x2e5),_0x12aa15[_0x12aa15[_0x346389(0x154)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x12aa15[_0x12aa15[_0x346389(0xea)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x12aa15[_0x12aa15[_0x346389(0x1fe)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x12aa15[_0x12aa15[_0x346389(0x394)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x12aa15[_0x12aa15[_0x346389(0x423)]=0x36b2]=_0x346389(0x423),_0x12aa15[_0x12aa15['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x346389(0x32d),_0x12aa15[_0x12aa15[_0x346389(0x188)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x12aa15[_0x12aa15['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x346389(0x3ad),_0x12aa15[_0x12aa15[_0x346389(0x2d6)]=0x36b6]=_0x346389(0x2d6),_0x12aa15[_0x12aa15[_0x346389(0x111)]=0x36b7]=_0x346389(0x111),_0x12aa15[_0x12aa15[_0x346389(0x1f8)]=0x36b8]=_0x346389(0x1f8),_0x12aa15[_0x12aa15[_0x346389(0x116)]=0x3715]=_0x346389(0x116),_0x12aa15[_0x12aa15[_0x346389(0x11d)]=0x3716]=_0x346389(0x11d),_0x12aa15[_0x12aa15[_0x346389(0x374)]=0x3717]=_0x346389(0x374),_0x12aa15[_0x12aa15['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x346389(0x20b),_0x12aa15[_0x12aa15[_0x346389(0x2b1)]=0x3a99]=_0x346389(0x2b1),_0x12aa15[_0x12aa15['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x346389(0x208),_0x12aa15[_0x12aa15[_0x346389(0x3a6)]=0x3a9b]=_0x346389(0x3a6),_0x12aa15[_0x12aa15[_0x346389(0x333)]=0x3a9c]=_0x346389(0x333),_0x12aa15[_0x12aa15[_0x346389(0x185)]=0x3a9d]=_0x346389(0x185),_0x12aa15[_0x12aa15[_0x346389(0x285)]=0x3a9e]=_0x346389(0x285),_0x12aa15[_0x12aa15[_0x346389(0x378)]=0x3a9f]=_0x346389(0x378),_0x12aa15[_0x12aa15[_0x346389(0x1e1)]=0x3e81]=_0x346389(0x1e1),_0x12aa15[_0x12aa15[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x12aa15))(vt||{}),X=(_0x1526ad=>(_0x1526ad[_0x1526ad['UNIVER_UNKNOWN']=0x0]=_0x346389(0x18b),_0x1526ad[_0x1526ad[_0x346389(0xf3)]=0x1]='UNIVER_DOC',_0x1526ad[_0x1526ad['UNIVER_SHEET']=0x2]=_0x346389(0x30c),_0x1526ad[_0x1526ad['UNIVER_SLIDE']=0x3]=_0x346389(0x36b),_0x1526ad[_0x1526ad[_0x346389(0x351)]=0x4]='UNIVER_PROJECT',_0x1526ad[_0x1526ad[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x1526ad))(X||{}),W=(_0x49f179=>(_0x49f179[_0x49f179[_0x346389(0x182)]=0x0]=_0x346389(0x182),_0x49f179[_0x49f179[_0x346389(0x429)]=0x1]='HELLO',_0x49f179[_0x49f179[_0x346389(0x2d2)]=0x2]=_0x346389(0x2d2),_0x49f179[_0x49f179['LEAVE']=0x3]='LEAVE',_0x49f179[_0x49f179[_0x346389(0x209)]=0x4]='INGEST',_0x49f179[_0x49f179[_0x346389(0x16a)]=0x5]=_0x346389(0x16a),_0x49f179[_0x49f179[_0x346389(0x31e)]=0x6]=_0x346389(0x31e),_0x49f179[_0x49f179[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x49f179))(W||{}),re=(_0x34db12=>(_0x34db12[_0x34db12[_0x346389(0x32b)]=0x0]=_0x346389(0x32b),_0x34db12[_0x34db12['OK']=0x1]='OK',_0x34db12[_0x34db12[_0x346389(0x2f4)]=0x2]=_0x346389(0x2f4),_0x34db12[_0x34db12[_0x346389(0x3de)]=0x3e9]='JOIN_ROOM_FULL',_0x34db12[_0x34db12[_0x346389(0xef)]=0x3ea]=_0x346389(0xef),_0x34db12[_0x34db12[_0x346389(0x150)]=0x3eb]=_0x346389(0x150),_0x34db12[_0x34db12[_0x346389(0x173)]=0x3ec]=_0x346389(0x173),_0x34db12[_0x34db12[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x34db12))(re||{}),dt=(_0x4c1f29=>(_0x4c1f29[_0x4c1f29['Undefined']=0x0]=_0x346389(0x3f1),_0x4c1f29[_0x4c1f29[_0x346389(0x1d3)]=0x1]=_0x346389(0x1d3),_0x4c1f29[_0x4c1f29['HttpExport']=0x2]=_0x346389(0x323),_0x4c1f29[_0x4c1f29[_0x346389(0x43e)]=0x3]=_0x346389(0x43e),_0x4c1f29[_0x4c1f29[_0x346389(0x385)]=0x4]=_0x346389(0x385),_0x4c1f29[_0x4c1f29['UserProfileImg']=0x5]='UserProfileImg',_0x4c1f29[_0x4c1f29[_0x346389(0x1d5)]=0x6]=_0x346389(0x1d5),_0x4c1f29[_0x4c1f29[_0x346389(0x2eb)]=-0x1]=_0x346389(0x2eb),_0x4c1f29))(dt||{});const Ft=_0x346389(0x1c8);function Vt(_0x1121f9){var _0x2e792d=_0x346389;return JSON[_0x2e792d(0x3cf)](_0x1121f9)[_0x2e792d(0x260)];}var J=(_0x53b08d=>(_0x53b08d[_0x346389(0x3a8)]='OTHER_CLIENT_EDITING',_0x53b08d['PERMISSION_DENIED']=_0x346389(0x2bc),_0x53b08d[_0x346389(0x3e2)]=_0x346389(0x3e2),_0x53b08d[_0x346389(0x422)]=_0x346389(0x422),_0x53b08d[_0x346389(0x10d)]=_0x346389(0x10d),_0x53b08d[_0x346389(0x1dc)]=_0x346389(0x1dc),_0x53b08d['SOCKET_FAILED']='SOCKET_FAILED',_0x53b08d[_0x346389(0xd0)]=_0x346389(0xd0),_0x53b08d))(J||{});class ee{constructor(){var _0x267bf4=_0x346389;A(this,_0x267bf4(0x1e9),new j[(_0x267bf4(0x1b5))]()),A(this,'event$',this[_0x267bf4(0x1e9)]['asObservable']());}[_0x346389(0xc5)](_0x383bb2){var _0x327462=_0x346389;this['_event$'][_0x327462(0x408)](_0x383bb2);}}class $e{constructor(){var _0x3242af=_0x346389;A(this,'_commentUpdate$',new j[(_0x3242af(0x1b5))]()),A(this,_0x3242af(0x414),this['_commentUpdate$'][_0x3242af(0x33e)]());}[_0x346389(0x12c)](_0x338d05){var _0x3d0f07=_0x346389;this['_commentUpdate$'][_0x3d0f07(0x408)](_0x338d05);}}var Wt=Object[_0x346389(0x21c)],Gt=(_0x3ce2c3,_0x3179ab,_0x49737d,_0x2a3d11)=>{for(var _0x4c5b71=_0x2a3d11>0x1?void 0x0:_0x2a3d11?Wt(_0x3179ab,_0x49737d):_0x3179ab,_0x4abdb6=_0x3ce2c3['length']-0x1,_0x5f09ea;_0x4abdb6>=0x0;_0x4abdb6--)(_0x5f09ea=_0x3ce2c3[_0x4abdb6])&&(_0x4c5b71=_0x5f09ea(_0x4c5b71)||_0x4c5b71);return _0x4c5b71;},Ve=(_0x4732eb,_0x4601d5)=>(_0x138ec9,_0x363bf7)=>_0x4601d5(_0x138ec9,_0x363bf7,_0x4732eb);exports[_0x346389(0x129)]=class extends o['Disposable']{constructor(_0x4c5565,_0x216a57){var _0x3d0ddb=_0x346389;super(),A(this,_0x3d0ddb(0x1c0),new Map()),A(this,'_roomCreated$',new j[(_0x3d0ddb(0x1b5))]()),(this[_0x3d0ddb(0x334)]=_0x4c5565,this[_0x3d0ddb(0x264)]=_0x216a57,this[_0x3d0ddb(0x34e)](j[_0x3d0ddb(0x39d)](this['_univerInstanceService'][_0x3d0ddb(0x2ec)](o[_0x3d0ddb(0x187)][_0x3d0ddb(0x30c)])[_0x3d0ddb(0x442)](V[_0x3d0ddb(0x41e)](_0xeba175=>_0xeba175['getUnitId']())),this[_0x3d0ddb(0x334)][_0x3d0ddb(0x2ec)](o[_0x3d0ddb(0x187)][_0x3d0ddb(0xf3)])['pipe'](V['map'](_0x448e83=>_0x448e83[_0x3d0ddb(0x20c)]())),this[_0x3d0ddb(0x334)][_0x3d0ddb(0x2ec)](o[_0x3d0ddb(0x187)][_0x3d0ddb(0x36b)])[_0x3d0ddb(0x442)](V[_0x3d0ddb(0x41e)](_0x52ad35=>_0x52ad35['getUnitId']())))[_0x3d0ddb(0x1f7)](_0x3372ef=>this[_0x3d0ddb(0x1c7)](_0x3372ef))));}['waitForRoom$'](_0x2ad565){var _0x5b6bf8=_0x346389;return this['_roomMembers'][_0x5b6bf8(0x266)](_0x2ad565)?j['of'](this[_0x5b6bf8(0x1c0)][_0x5b6bf8(0x16e)](_0x2ad565)):this[_0x5b6bf8(0xd9)][_0x5b6bf8(0x442)](V[_0x5b6bf8(0x41e)](_0x48b48c=>{var _0x1b4e1b=_0x5b6bf8;if(_0x48b48c===_0x2ad565)return this[_0x1b4e1b(0x1c0)][_0x1b4e1b(0x16e)](_0x48b48c);}));}[_0x346389(0x17f)](_0x999a9){var _0x50c520=_0x346389;this[_0x50c520(0x264)][_0x50c520(0x17f)](_0x999a9);}[_0x346389(0x2b9)](){var _0x11698e=_0x346389;return this[_0x11698e(0x264)][_0x11698e(0x2b9)]();}['updateMember'](_0x499f89,_0x3171b3){var _0x13049d=_0x346389;let _0x23ce37=this['_roomMembers'][_0x13049d(0x16e)](_0x499f89);_0x23ce37||(_0x23ce37=new Yt(),this[_0x13049d(0x1c0)]['set'](_0x499f89,_0x23ce37),this[_0x13049d(0xd9)][_0x13049d(0x408)](_0x499f89)),_0x23ce37[_0x13049d(0x427)](_0x3171b3);}[_0x346389(0x361)](_0x5da041,_0x529823){var _0x369b0e=_0x346389;const _0x205202=this[_0x369b0e(0x1c0)][_0x369b0e(0x16e)](_0x5da041);_0x205202&&_0x205202['removeMember'](_0x529823);}[_0x346389(0x389)](_0x3e37b0){var _0x2fb099=_0x346389;return this['_roomMembers'][_0x2fb099(0x16e)](_0x3e37b0);}[_0x346389(0x225)](_0x27b458,_0x207097){var _0x471f1f=_0x346389;const _0x5a8a58=this[_0x471f1f(0x1c0)][_0x471f1f(0x16e)](_0x27b458);if(_0x5a8a58)return _0x5a8a58[_0x471f1f(0x225)](_0x207097);}[_0x346389(0x1c7)](_0x109863){var _0x4624ce=_0x346389;const _0x4b7c5b=this[_0x4624ce(0x1c0)][_0x4624ce(0x16e)](_0x109863);_0x4b7c5b&&(_0x4b7c5b[_0x4624ce(0x246)](),this[_0x4624ce(0x1c0)]['delete'](_0x109863));}[_0x346389(0x246)](){var _0x3d8173=_0x346389;this[_0x3d8173(0x1c0)][_0x3d8173(0x2b3)](_0x91c906=>_0x91c906['dispose']()),this[_0x3d8173(0x1c0)][_0x3d8173(0x201)](),this[_0x3d8173(0xd9)][_0x3d8173(0x339)]();}},exports['MemberService']=Gt([Ve(0x0,o[_0x346389(0x1c6)]),Ve(0x1,o[_0x346389(0x33c)](o[_0x346389(0x43f)]))],exports[_0x346389(0x129)]);class Yt extends o[_0x346389(0x18e)]{constructor(){var _0x1ddbf8=_0x346389;super(...arguments),A(this,_0x1ddbf8(0x400),new Map()),A(this,_0x1ddbf8(0x235),new j[(_0x1ddbf8(0xfb))](this['_members'])),A(this,_0x1ddbf8(0x331),this['_members$']['asObservable']());}[_0x346389(0x246)](){var _0x3754eb=_0x346389;this[_0x3754eb(0x400)][_0x3754eb(0x201)]();}[_0x346389(0x427)](_0x13cefc){var _0x378b8d=_0x346389;this['_members'][_0x378b8d(0xfc)](_0x13cefc[_0x378b8d(0x34c)],_0x13cefc),this['_emitMembers']();}[_0x346389(0x361)](_0x385ac5){var _0x5c27df=_0x346389;this[_0x5c27df(0x400)]['delete'](_0x385ac5);}[_0x346389(0x225)](_0x3b3442){var _0x1fdcdc=_0x346389;return this[_0x1fdcdc(0x400)][_0x1fdcdc(0x16e)](_0x3b3442);}['getAllMembers'](){var _0x4a0533=_0x346389;return Array[_0x4a0533(0x26e)](this['_members'][_0x4a0533(0x1b1)]());}[_0x346389(0x387)](){var _0x445032=_0x346389;this[_0x445032(0x235)][_0x445032(0x408)](this[_0x445032(0x400)]);}}var Kt=Object[_0x346389(0x21c)],qt=(_0x2dde55,_0x41249c,_0x512afe,_0x435f91)=>{var _0xc0a1a2=_0x346389;for(var _0x3fcb71=_0x435f91>0x1?void 0x0:_0x435f91?Kt(_0x41249c,_0x512afe):_0x41249c,_0x4b3bd8=_0x2dde55[_0xc0a1a2(0x260)]-0x1,_0x203120;_0x4b3bd8>=0x0;_0x4b3bd8--)(_0x203120=_0x2dde55[_0x4b3bd8])&&(_0x3fcb71=_0x203120(_0x3fcb71)||_0x3fcb71);return _0x3fcb71;},ce=(_0x7cda97,_0x3fcaf5)=>(_0x39ae84,_0x5a8531)=>_0x3fcaf5(_0x39ae84,_0x5a8531,_0x7cda97),se=(_0x255302=>(_0x255302[_0x255302[_0x346389(0x298)]=0x0]='IDLE',_0x255302[_0x255302['JOINING']=0x1]=_0x346389(0x355),_0x255302[_0x255302['OFFLINE']=0x2]=_0x346389(0x38b),_0x255302[_0x255302[_0x346389(0x143)]=0x3]=_0x346389(0x143),_0x255302))(se||{});const We={[re[_0x346389(0x2f4)]]:_0x346389(0x2c3),[re[_0x346389(0x3de)]]:'session.room-full',[re[_0x346389(0xef)]]:_0x346389(0xc1),[re[_0x346389(0x150)]]:_0x346389(0x174),[re[_0x346389(0x173)]]:_0x346389(0x1f5)};exports['CollaborationSession']=class extends o[_0x346389(0x29a)]{constructor(_0x5466c1,_0x22d925,_0x1e5340,_0x45cd1a,_0x72d8c5,_0x1e25af,_0x23d8a4,_0x16d2e4){var _0x171ca3=_0x346389;super(),A(this,_0x171ca3(0x3f6),new j['BehaviorSubject'](0x0)),A(this,_0x171ca3(0x137),this[_0x171ca3(0x3f6)][_0x171ca3(0x33e)]()),A(this,_0x171ca3(0x1e9),new j[(_0x171ca3(0x1b5))]()),A(this,'event$',this[_0x171ca3(0x1e9)][_0x171ca3(0x33e)]()),A(this,_0x171ca3(0x337)),A(this,_0x171ca3(0x2d4)),A(this,_0x171ca3(0x28a)),A(this,_0x171ca3(0x3f3),!0x1),A(this,_0x171ca3(0x164),null),(this[_0x171ca3(0x219)]=_0x5466c1,this[_0x171ca3(0x306)]=_0x1e5340,this[_0x171ca3(0x13b)]=_0x45cd1a,this[_0x171ca3(0x134)]=_0x72d8c5,this[_0x171ca3(0x265)]=_0x1e25af,this[_0x171ca3(0xcd)]=_0x23d8a4,this[_0x171ca3(0x37b)]=_0x16d2e4,this[_0x171ca3(0x3f3)]=!!this[_0x171ca3(0x37b)],_0x22d925[_0x171ca3(0x442)](j[_0x171ca3(0x3bf)](this[_0x171ca3(0x2bb)]))[_0x171ca3(0x1f7)](_0x46993a=>{var _0x3fedbe=_0x171ca3,_0x153be6;typeof _0x46993a>'u'||(this['_socket']=_0x46993a,_0x46993a?(this[_0x3fedbe(0x126)](_0x46993a),this[_0x3fedbe(0x2d4)]=_0x46993a[_0x3fedbe(0x34a)][_0x3fedbe(0x1f7)](_0x21e045=>{var _0x520414=_0x3fedbe;_0x21e045[_0x520414(0x2ea)]===this[_0x520414(0x219)]&&this[_0x520414(0x3c1)](_0x21e045);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3fedbe(0x3f6)]['next'](0x2),(_0x153be6=this[_0x3fedbe(0x2d4)])==null||_0x153be6[_0x3fedbe(0x3f5)](),this[_0x3fedbe(0x2d4)]=null));}));}get[_0x346389(0x397)](){var _0x7f6339=_0x346389;return this[_0x7f6339(0x3f6)][_0x7f6339(0x336)]();}[_0x346389(0x2d7)](){var _0x36ede7=_0x346389,_0x3829bd,_0xee8f11;return(_0xee8f11=(_0x3829bd=this[_0x36ede7(0x337)])==null?void 0x0:_0x3829bd[_0x36ede7(0x34c)])!=null?_0xee8f11:null;}[_0x346389(0x246)](){var _0x402c94=_0x346389;super['dispose'](),this[_0x402c94(0x2bb)]['next'](),this[_0x402c94(0x2bb)][_0x402c94(0x339)]();}[_0x346389(0x197)](){var _0x2a8100=_0x346389,_0x5416bd,_0x2f898c;this[_0x2a8100(0x181)](),(_0x5416bd=this[_0x2a8100(0x337)])==null||_0x5416bd[_0x2a8100(0x36d)]({'cmd':W[_0x2a8100(0x34b)],'data':{'roomID':this[_0x2a8100(0x219)]}}),(_0x2f898c=this[_0x2a8100(0x337)])==null||_0x2f898c[_0x2a8100(0x197)](),this[_0x2a8100(0x1e9)][_0x2a8100(0x339)](),this['_sessionStatus$'][_0x2a8100(0x339)](),this[_0x2a8100(0x246)]();}[_0x346389(0x3c1)](_0x4da30b){var _0x5eedcd=_0x346389;_0x4da30b[_0x5eedcd(0x289)]===W[_0x5eedcd(0x2d2)]?this[_0x5eedcd(0x1ce)](_0x4da30b):_0x4da30b[_0x5eedcd(0x289)]===W['RECV']&&this['_onRecvEvent'](_0x4da30b);}[_0x346389(0x126)](_0xe9a0c6){var _0x3e5c3b=_0x346389;this[_0x3e5c3b(0x3f6)][_0x3e5c3b(0x408)](0x1),_0xe9a0c6[_0x3e5c3b(0x36d)]({'cmd':W[_0x3e5c3b(0x2d2)],'routeKey':this[_0x3e5c3b(0x219)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3e5c3b(0x219)]}]}});}['_onJoinRoomEvent'](_0x16fa1a){var _0x1a8bf2=_0x346389,_0x4469bb;if(_0x16fa1a[_0x1a8bf2(0x3df)]in We){this[_0x1a8bf2(0xcd)][_0x1a8bf2(0xc5)]({'id':J[_0x1a8bf2(0x10d)],'data':We[_0x16fa1a[_0x1a8bf2(0x3df)]]}),this['_sessionStatus$'][_0x1a8bf2(0x408)](0x2);return;}this[_0x1a8bf2(0x3f6)]['next'](0x3);const _0x4a2820=(_0x4469bb=_0x16fa1a[_0x1a8bf2(0x2f9)]['roomInfos'][this[_0x1a8bf2(0x219)]])==null?void 0x0:_0x4469bb[_0x1a8bf2(0x332)];_0x4a2820&&_0x4a2820[_0x1a8bf2(0x2b3)](_0x1880a8=>this[_0x1a8bf2(0x134)][_0x1a8bf2(0x427)](this[_0x1a8bf2(0x219)],_0x1880a8));}[_0x346389(0x318)](_0x3a1b24){var _0x550b25=_0x346389;try{const _0x656135=_0x3a1b24[_0x550b25(0x2f9)];switch(_0x656135['eventID']){case E['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x656135),this[_0x550b25(0x1e9)]['next'](_0x656135);break;case E['CollaborationEvent'][_0x550b25(0x22e)]:this['_onUserLeave'](_0x656135),this[_0x550b25(0x1e9)][_0x550b25(0x408)](_0x656135);break;case E['CollaborationEvent']['CHANGESET_ACK']:case E[_0x550b25(0x3e4)][_0x550b25(0x3c0)]:this[_0x550b25(0x36f)](),this[_0x550b25(0x153)](),this[_0x550b25(0x1e9)][_0x550b25(0x408)](_0x656135);break;case E[_0x550b25(0x3e4)][_0x550b25(0xf8)]:this[_0x550b25(0x306)][_0x550b25(0x286)](_0x550b25(0x26f)+JSON[_0x550b25(0x3cf)](_0x656135)),this[_0x550b25(0x1e9)][_0x550b25(0x408)](_0x656135);break;case E[_0x550b25(0x3e4)][_0x550b25(0x30d)]:this['_commentService'][_0x550b25(0x12c)](_0x656135['data']),this[_0x550b25(0x1e9)][_0x550b25(0x408)](_0x656135);break;default:this['_event$'][_0x550b25(0x408)](_0x656135);}}catch(_0x180f10){this[_0x550b25(0x306)]['error'](_0x180f10,_0x3a1b24);}}[_0x346389(0x30f)](_0x27973f){var _0x3f16cb=_0x346389;this[_0x3f16cb(0x134)][_0x3f16cb(0x427)](this[_0x3f16cb(0x219)],_0x27973f[_0x3f16cb(0x2f9)]);}[_0x346389(0x35f)](_0x1e85ce){var _0x34e9ec=_0x346389;this[_0x34e9ec(0x134)][_0x34e9ec(0x361)](this[_0x34e9ec(0x219)],_0x1e85ce[_0x34e9ec(0x2f9)][_0x34e9ec(0x34c)]);}async['send'](_0x42d4ea,_0x3e1d42){var _0x3b499a=_0x346389;if(this[_0x3b499a(0x397)]!==0x3||!this[_0x3b499a(0x337)])throw new Error(_0x3b499a(0x30a));try{_0x42d4ea[_0x3b499a(0x107)]===E[_0x3b499a(0x3e4)][_0x3b499a(0x3ba)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x42d4ea)),this[_0x3b499a(0x337)]['send']({'cmd':W['INGEST'],'routeKey':_0x3e1d42,'routeType':'','data':_0x42d4ea});}catch(_0x1653b3){this['_logService']['error'](_0x1653b3);}}[_0x346389(0x1e4)](){var _0x202af0=_0x346389,_0x1ee7ff;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1ed196=_0x2174;this[_0x1ed196(0x28a)]=null,this[_0x1ed196(0xcd)][_0x1ed196(0xc5)]({'id':J[_0x1ed196(0xd0)]});},(_0x1ee7ff=this['_configService'][_0x202af0(0x31c)](ke))!=null?_0x1ee7ff:lt);}[_0x346389(0x153)](){var _0x447c0d=_0x346389;this[_0x447c0d(0x28a)]&&(clearTimeout(this[_0x447c0d(0x28a)]),this[_0x447c0d(0x28a)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x37be67){var _0x24c50c=_0x346389;if(!this['_shouldReportTelemetry'])return;const {data:_0x40cef7}=_0x37be67,{unitID:_0x45ab81,changeset:_0x228393}=_0x40cef7,{mutations:_0x56f242,type:_0x498773}=_0x228393;this[_0x24c50c(0x164)]={'unitId':_0x45ab81,'type':_0x498773,'startTime':performance[_0x24c50c(0xbd)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x56f242)};}[_0x346389(0x36f)](){var _0x40f63b=_0x346389;if(this[_0x40f63b(0x3f3)]){if(!this[_0x40f63b(0x164)]){this[_0x40f63b(0x306)][_0x40f63b(0x286)](_0x40f63b(0x2fb),_0x40f63b(0x420));return;}this[_0x40f63b(0x164)][_0x40f63b(0x392)]=performance[_0x40f63b(0xbd)](),this[_0x40f63b(0x164)]['duration']=this[_0x40f63b(0x164)][_0x40f63b(0x392)]-this[_0x40f63b(0x164)][_0x40f63b(0x12f)],this['_telemetryService'][_0x40f63b(0x2f0)](Ft,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x135d18=_0x346389;this[_0x135d18(0x164)]=null;}},exports[_0x346389(0x141)]=qt([ce(0x2,o[_0x346389(0x245)]),ce(0x3,o['IConfigService']),ce(0x4,o[_0x346389(0x33c)](exports['MemberService'])),ce(0x5,o['Inject']($e)),ce(0x6,o[_0x346389(0x33c)](ee)),ce(0x7,o['Optional'](Nt['ITelemetryService']))],exports[_0x346389(0x141)]);const q=o['createIdentifier'](_0x346389(0x2c5));function zt(_0x2544a6){var _0x55ba5f=_0x346389;return _0x55ba5f(0x176)+_0x2544a6;}function _0x3788(){var _0x2da70e=['downloadEndpointUrl','UNKNOWN_CODE','reject','ENTITLE_DUP_SUBSCRIPTION','pauseCollaboration','Optional','LIVESHARE_REQUEST_HOST','members$','members','REDEMPTION_CODE_NOT_STARTED','_univerInstanceService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getValue','_socket','roles','complete','DocCollaborationEntity','_cipher','Inject','image/png','asObservable','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','EmptyMutationInfo','_xformMode','_handlerCallback','WorkbookEditablePermission','error$','[DataLoaderService]','find','fetchMissingChangesets','ERROR_AGAIN','message$','LEAVE','memberID','confirm','disposeWithMe','COMPRESS_MUTATION_APPLY','subUnitId','UNIVER_PROJECT','hasOwnProperty','uuidv4','pluginName','JOINING','UNISCRIPT_RUN','getGlobalObject','_transformService','pad','not_collab','take','_iKey','INVALID_ARGUMENT','univer-pro.collaboration-client.network-condition.service','_onUserLeave','SessionStatus','removeMember','_checkMissing','/universer-api/authz','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','YUUMI_RATE_OVER_LIMIT','touchDependencies','_type','StreamCipher','/universer-api/user/session-ticket','APPLY_REVISION_CONFILICT','UNIVER_SLIDE','default','send','Latin1','_stopTelemetryCollaborationNewChangeset','_changesetSessionId','onTransformState','_collaborationPaused','size','ENTITLE_INSUFFICIENT_QUOTA','commentUpdateEvent','substr','_updateState','REDEMPTION_CODE_HAS_BEEN_CREATED','OfflineState','?url=','_telemetryService','Failed\x20to\x20update\x20permission\x20point','UnitStatus','DEFAULT_FILE_NAME','_decreaseWaiting','infoRsp','hasher','requestParams','resolve','?size=','UnitSnapshot','changesets','_emitMembers','AwaitingState','getRoom','putCollaborators','OFFLINE','createCollaborator','isPermissionRej','_clearRetryConnectingTimer','Injector','APPLY_DUPLICATED','SNAPSHOT_HAS_BEEN_REMOVED','stopTime','_getSendChangesetTimeout','ENTITLE_CAN_NOT_BUY_LOWER_OTP','/allowed','actions','sessionStatus','LOGIN_FAILED','onStateChange','_socketReady','_oKey','createSocket','merge','range','DataLoaderService','CollaborationStatus','_getCurrentRevision','_revisionService','_snapshotService','$super','getTime','REDEMPTION_CODE_FULLY_REDEEMED','OPTIONAL','OTHER_CLIENT_EDITING','9718upeSaq','_replayCachedMutations','/object','IConfigService','ENTITLE_INVALID_COUPON_CODE','onlyLocal','Workbook','_sheetTransformSelectionsService','ImageUploadStatusType','AUTHORIZE_CODE_ILLEGAL','createInstance','_socketService','_changesetReqId','MOBILE_VERIFY_CODE_MISMATCH','uploadFileServerUrl','decryptBlock','_onConnectionOpen','SUBMIT_CHANGESET','fetchThroughInterceptors','_transformSelections','_maxTotalRetryTimeout','POST','takeUntil','CHANGESET_SHOULD_RETRY','_onCombEvent','reconnect','toString','conflict','IMentionIOService','method','collaborators','_onRemoteACK','PERMISSION_REJ','delay','_onRemoteRetry','univer-pro.collaboration-client-socket-service','IContextService','onLocalMutation','stringify','textEncoder','PERSON','getWorkbookSelections','_doCryptBlock','/collaborator','_clearTimeoutTimer','saveSheetBlock','HTTPService','15DrEBkB','Base64','_tryReconnect','x-univer-host','LocaleService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','JOIN_ROOM_FULL','code','retryConnectingInterval','_append','CONFLICT','IImageIoService','CollaborationEvent','_updateStatus','function','_lockTransition','awaiting','Rectangle','CollaborationUIEventId','transformUndoRedo','setWaitCount','getCurrentRevOfUnit','entityInit$','_retryCount','[PendingState]:\x20received\x20acknowledgement.','Undefined','_transformStateCache','_shouldReportTelemetry','253305AEQAjW','unsubscribe','_sessionStatus$','_createInitialState','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','registerDependencies','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','encrypt','words','LICENSE_EXPORT_SIZE_EXCEEDED','clamp','_listenToNetworkCondition','_members','src','onTransformIME','selections','_initDependencies','_tryEnsureSocket','parseProtocolChangeset','localCacheService','next','then','SyncedState','closeSession','fetch_missing','compute','processBlock','FETCH_MISSING','YUUMI_AI_RUN_FAILED','state$','_keySchedule','INVALID_INVITE_CODE','commentUpdate$','_iv','fromCharCode','HEARTBEAT_TIMEOUT','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationSocketService','_substituteUndoStack','initWorkbookPermissionChange','&to=','DisposableCollection','map','LIVESHARE_NEW_HOST','telemetry\x20info\x20is\x20not\x20initialized','signUrlServerUrl','CLOSE_ROOM','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','type','_updateLocalCache','_entityInit$','updateMember','_onMessage','HELLO','addImageSourceCache','[SyncedState]:\x20received\x20acknowledgement.','_change$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','toDisposable','clone','_doFinalize','updateOfflineData','originalMeta','SnapshotService','SheetPermissionInitController','appendMutation','ivSize','image/bmp','CollaborationImageIoService','action','reduce','\x0aCurrent:\x20','BASE64','allowed','UnitEmbedded','UserManagerService','unitId','_waitForHeartbeatResponse','pipe','now','sheets','CipherParams','YUUMI_CONNECTOR_URL_NOT_FOUND','session.room-not-exists','10176wHAAuY','LICENSE_MAX_UNITS_EXCEEDED','createDecryptor','emitEvent','DEFAULT_COLLAB_WEB_SOCKET_URL','onRemoteRej','addHandlerCallback','NEW_CHANGESETS','USER_NOT_FOUND','reqId','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationUIEventService','MentionType','state','SUBMIT_CHANGESET_TIMEOUT','csRejEvent','_sendHeartbeatTimer','APPLY_PERMISSION_DENIED','objectType','__esModule','deserializeToCombResponse','INetworkConditionService','origin','_roomCreated$','_startCollaboration','MD5','revision','_minBufferSize','newCsEvent','LIVESHARE_OPERATION','sid','connection\x20error','NOT_FOUND','extend','INVITE_CODE_HAS_BEEN_UES','UniverCollaborationPlugin','charCodeAt','transformSelections','ERROR_IMAGE','transformChangesets','MOBILE_HAS_BEEN_BOUND','_undoStacks','buffer','parse','every','JOIN_ROOM_NOT_EXISTS','unitId\x20is\x20not\x20found','_applyRemoteChangeset','enableAuthServer','UNIVER_DOC','_transitionLocked','/unit/','MentionIoHttpService','onload','MSG_FOR_ERROR','9233226IQxXAV','baseRev','BehaviorSubject','set','formatter','_clearHeartbeatTimer','4407318fTLZlM','put','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_getRedoStack','onSyncEditingCollabCursor','_state','_unlockTransition','requireSession','eventID','__creator','AwaitingWithPendingState','CollaborationController','_getUndoStack','_sendingTimer','JOIN_ROOM_FAILED','SUCCUSS','YUUMI_SUBSCRIPTION_NOT_FOUND','_handler','ENTITLE_COUPON_USED_UP','_key','charAt','/universer-api/oidc/authpage','c2Prime','ENTITLE_CHAT_LIMIT_EXCEED','onRemoteRetry','subject','status','result','_process','YUUMI_ASYNCIO_CANCELLED','ENTITLE_REPORT_LIMIT_EXCEED','PasswordBasedCipher','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','editing\x20status\x20changed\x20to','_nDataBytes','setConfig','executeCommand','crypto','ICollaborationSocketService','_joinRoom','min','Cipher','MemberService','_transformRemoteChangesetByIMECache','params','onCommentUpdate','USERS_ENTER','_parse','startTime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','image/gif','image/jpeg','MergeInterceptorFactory','_memberService','ciphertext','generateRandomId','sessionStatus$','ceil','InsertSheetMutation','_createSocket','_configService','ReplaySubject','_commandService','SOCKET_FAILED','/resources','apply','CollaborationSession','/block/','ONLINE','body','isArray','Univer','file','Plugin','leaveEvent','_undoRedoService','onTransformSelections','interceptor','catch','getLatestCsReqIdBySid','awaitingChangeset','JOIN_ROOM_PERMISSION_DENIED','objectID','fromCollab','_clearCollaborationTimeoutTimer','WECHAT_HAS_BEEN_BOUND','_singleActiveUnitService','CHANGESET_REVISION_CONFILICT','blockSize','_unitInfo$','collaboration-client.config','call','toggleOnline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','reset','_transformUndoredo','disableLocalCache','sendChangesetTimeout','998060BQrqEs','ISnapshotServerService','permissionRejEvent','_telemetryInfo','__splitChunk__','CompressMutationService','SYNCED','_clearUndo','joinRsp','HEARTBEAT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/universer-api/stream/file/upload','NO_OTHER_CLIENTS_EDITING','get','_submitChangeset','_onFetchMissResult','string','getUnitType','GLOBAL_ROOMS_CNT_EXCEEDS','session.room-permission-denied','SHOULD_CLOSE_CONN','unit-cache-','_imageSourceCache','_awaitingChangeset','push','_getLoginPath','FileId','unknown','exports','__Key__','setCurrentUser','encode','_throwTelemetryCollaborationNewChangeset','UNKNOWN_CMD','getSheetBlock','IAuthzIoService','REDEMPTION_USER_NOT_ELIGIBLE','shareReplay','UniverInstanceType','PAYMENT_CHANNEL_NOT_SUPPORT','collaMsg','CURRENT_STATUS_CANNOT_OPERATE','UNIVER_UNKNOWN','c1Prime','enableCollaboration','Disposable','execute','_resendTimeout','_getCtorByUniverType','localeService','socket\x20open.','floor','socket\x20close','ISingleActiveUnitService','close','/universer-api/file/{fileID}/sign-url','event$','_retryConnectingTimer','_map','_schedule','loadSheet','UPDATE_CURSOR','collabWebSocketUrl','submit\x20changeset\x20error!','_sendHeartbeat','_executeRemoteChangeset','_resendWithTimeout','decrypt','_networkConditionService','_toggleOffline','LOGIN_TOKEN_PROCESSING_FAILED','SHA1','434576VyFejD','getSnapshotAPIPath','WordArray','ICommandService','sigBytes','_getUploadFileURL','saveImage','url','values','AuthzIoHttpService','image/jpg','UPDATE_PERMISSION_OBJ','Subject','saveSnapshot','delete','toggleOffline','Base','updateCollaborator','HmacMD5','CollaborativeUndoRedoService','HMAC','SetSelectionsOperation','onRemoteAck','_roomMembers','CHANGESET_ACK','LIVESHARE_FETCH_OPERATIONS','HEARTBEAT_INTERVAL','TOO_MANY_REQUESTS','ImageSourceType','IUniverInstanceService','_removeRoom','collaboration_new_changeset','onMutationExecutedForCollab','userID','enableOfflineEditing','_toggleOnline','socket$','_onJoinRoomEvent','_onOffline','_showConflictNotification','\x20-\x20','ConflictState','HttpImport','PendingState','ClipsheetFragments','onSendChangeset','transformMutationsWithChangeset','ITransformService','_status$','getDeserializedSheetBlock','withCredentials','SOCKET_FAILED_RETRY','setShowComponents','authzUrl','includes','RETRY_CONNECTING_MAX_COUNT','DATA_SOURCE_TOO_LARGE','collaboratorID','init','_scheduleCollaborationTimeoutTimer','_sessions','_socket$','_isPermissionRej','[SyncedState]:\x20received\x20rejection.','_event$','CollaborationEntity','_hasher','UNIVER_COLLABORATION_CLIENT_PLUGIN','MUTATION','csAckEvent','readInt32LE','USER_IS_ANONYMOUS','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','m2Prime','resourceIDs','concat','session.room-cnt-exceeds','UNAUTHENTICATED','subscribe','ENTITLE_USE_COUPON_NOT_1ST_TRADE','keySize','responseType','_onConflict','_acknowledgedAwaitingChangeset','fetching\x20missing\x20changesets\x20from\x20','EMAIL_HAS_BEEN_BOUND','UUID','_doProcessBlock','clear','OTHER_CLIENTS_EDITING','add','INTERNAL_ERROR','registerHTTPInterceptor','_init','CommandType','REDEMPTION_CODE_INACTIVE','INGEST','_keyPriorReset','ENTITLE_NEED_BILLING_ADDRESS','getUnitId','IUndoRedoService','_invKeySchedule','debug','/object/','deepClone','unitID','_prevBlock','AES','_compressMutationService','getImageSourceCache','_createHelper','455ZPDilY','_unitID','_DEC_XFORM_MODE','ENSURE_SNAPSHOT_EXECUTION','getOwnPropertyDescriptor','_createHandler','UniverNetworkPlugin','_createHmacHelper','msCrypto','loadUnit','editingUnit','[CollaborationUndoRedoService]','batchAllowed','getMember','socketService','_collaborationSessionService','_onConnectionFailed','isTransformMutationsWithChangesetSuccess','objectActions','_localeService','People','onRemoteChangeset','USERS_LEAVE','_hash','&assign=','enc','Module','getUnit','kdf','_members$','replace','loadUnitOfRevision','_getSignURL','href','resend','workbook','YUUMI_ALL_TABLES_IS_INVALID','ILocalCacheService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','HEARTBEAT_TIMEOUT_KEY','Pkcs7','avatar','_disableEditing','DependentOn','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','ILogService','dispose','update','Hasher','_localCacheService','_collabSessionService','_clearScheduledTask','_onRemoteChangeset','Encryptor','LICENSE_IMPORT_SIZE_EXCEEDED','/universer-api/snapshot','EMAIL_VERIFY_CODE_MISMATCH','awaiting_with_pending','_substituteRedoStack','_ENC_XFORM_MODE','_data','/universer-api/comb','fetchMiss','Hex','_injector','PY_RUNTIME_SCRIPT_ERROR','[UniverCollaborationClientPlugin]','refreshPermission','BufferedBlockAlgorithm','_onLocalMutation','SheetTransformSelectionsService','slice','length','IPermissionService','_scheduleCompleteTimestamp','mapDocumentTypeToUniverType','_userManagerService','_commentService','has','rev','Tools','salt','createEncryptor','_config','LIVESHARE_TERMINATE','onMissingChangesets','from','save\x20fail\x20reason\x20is\x20','_pendingMutations','_rescheduleHeartbeat','[PendingState]:\x20unhandled\x20univer\x20type:\x20','univer-pro.collaboration-client.single-active-unit-service','onTransformRemoteChangesetByIMECache','saveChangeset','b64DecodeUnicode','SheetsSelectionsService','startsWith','status$','post','LOCAL_CACHE_INTERVAL','session','transformStack\x20failed!','_state$','mode','/universer-api/snapshot/','SheetCollaborationEntity','open$','AWAITING_WITH_PENDING','CONNECTOR_DATA_TOO_LARGE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','error','PSEUDO_FETCH_MISSING_RESULT','OpenSSL','cmd','_collaborationTimeoutTimer','INVITE_CODE_REQUIRED','createIdentifier','_httpService','updateSnapshot','_queuedRemoteChangesets','updatePermissionPoint','_sender','LOCAL_CACHE_INTERVAL_KEY','isTransformMutationsWithChangesetFailure','getUnitStatus$','onTransformRemoteChangesetByStateCache','_entities','_exhaustRemoteChangesetQueue','IDLE','updatePermissionObjEvent','RxDisposable','lib','create','format','COMPRESS_MUTATION_SEND','APPLY_NON_SEQUENTIAL_REVISION','ALREADY_EXISTS','NoPadding','defineProperty','loadDoc','symbol','objects','[FetchMissState]','getFocusedUnit','_initUnitPermissionChange','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','mutations','CommentService','splice','_resendTimer','algo','_replaceFileID','/fetchmissing?from=','REDEMPTION_INVALID_CODE','equals','forEach','prototype','_getAPIPrefix','random','finalize','key','getCurrentUser','_getDownloadEndpointURL','dispose$','PERMISSION_DENIED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SerializableCipher','CollaborationSessionService','name','_clearLocalCache','_reverseMap','session.join-failed','FETCH_MISS','collaboration-client.local-cache-service','_fetchMissChangesets','unitInfo$','ERROR_EXCEED_SIZE','getCollabEntity','filter','ISocketService','patch','Utf8','_incrementRevisionNumber','_syncEditingCollabCursor','loadOfflineData','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','JOIN','collabSubmitChangesetUrl','_socketMessageSubscription','FetchingMissState','ENTITLE_COUPON_EXPIRED','getMemberID','failed\x20to\x20apply\x20missed\x20changesets!','_candidateSocket','\x20to\x20','/rev/','_createInitialStateImpl','_mode','LICENSE_DISTRO_REJECTED','isInternalEditorID','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_transformIMECache','list','_HTTPService','getTypeOfUnitAdded$','INVITE_CODE_ALREADY_BOUND','mixIn','COMPLETION_FINISHED','_redoStacks','liveShareNewHost','routeKey','UNRECOGNIZED','getTypeOfUnitDisposed$','onMissedChangesetFetched','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','hostname','capture','pending','SNAPSHOT_INVALID_SNAPSHOT','_onRemoteRejected','FAIL','CHANGESET_REJ','BlockCipher','_doReset','_initRequestHeader','data','YUUMI_UNABLE_LOAD_URL','[CollaborationSession]','repeat','randomBytes','_eventService','UniverCollaborationClientPlugin','RevisionService','sequenceExecute','encryptBlock','/-/object/-/batch_allowed','_instanceService','_timeoutTimer','_logService','_remoteChangesetQueue','listCollaborators','synced','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/role','UNIVER_SHEET','COMMENT_UPDATE','cfg','_onUserJoin','_transformStack','LocalUndoRedoService','_snapshotServerService','offline','padding','getRandomValues','_permissionService','_initMergeInterceptor','_onRecvEvent','byteOffset','EvpKDF','USER_NOT_INVITED_CODE','getConfig','byteLength','RECV','CollaborationUIEventService','compose','iterations','shouldCloseConn','HttpExport','_getAPIPrefixPath','isTransformChangesetsSuccess','_waitCount','join','getInterceptPoints','SnapshotServerOverHTTPService'];_0x3788=function(){return _0x2da70e;};return _0x3788();}var Xt=Object['getOwnPropertyDescriptor'],Jt=(_0x1f53e7,_0x46dddc,_0x41b0d3,_0x415de0)=>{var _0x1a4ee0=_0x346389;for(var _0x35dd0e=_0x415de0>0x1?void 0x0:_0x415de0?Xt(_0x46dddc,_0x41b0d3):_0x46dddc,_0x46d48d=_0x1f53e7[_0x1a4ee0(0x260)]-0x1,_0x539a2e;_0x46d48d>=0x0;_0x46d48d--)(_0x539a2e=_0x1f53e7[_0x46d48d])&&(_0x35dd0e=_0x539a2e(_0x35dd0e)||_0x35dd0e);return _0x35dd0e;},Ue=(_0x21629f,_0xacc17c)=>(_0x10a9c6,_0x32f6df)=>_0xacc17c(_0x10a9c6,_0x32f6df,_0x21629f);function Zt(_0x36cea0){var _0x5703ae=_0x346389;const {unitID:_0x39bf0b,mutations:_0x130588}=_0x36cea0;return{'unitId':_0x39bf0b,'subUnitId':_0x130588[_0x5703ae(0x260)]>0x0?_0x130588[0x0][_0x5703ae(0x12b)][_0x5703ae(0x350)]:null};}exports['SheetTransformSelectionsService']=class{constructor(_0x396968,_0x53375a,_0x3b85a4){var _0x13efab=_0x346389;this[_0x13efab(0x258)]=_0x396968,this[_0x13efab(0x358)]=_0x53375a,this[_0x13efab(0x304)]=_0x3b85a4;}[_0x346389(0xe7)](_0x23dcb7){var _0x48ce6e=_0x346389,_0x19a746,_0x1fb9f1,_0x31e749,_0x4250d8;const _0x39dd91=this[_0x48ce6e(0x258)][_0x48ce6e(0x16e)](Q[_0x48ce6e(0x277)]),{unitId:_0x4a075c,subUnitId:_0x3a2377}=Zt(_0x23dcb7),_0x368efb=_0x39dd91==null?void 0x0:_0x39dd91[_0x48ce6e(0x3d2)](_0x4a075c)['getCurrentSelections'](),_0x4fe3fa=(_0x1fb9f1=(_0x19a746=this[_0x48ce6e(0x304)][_0x48ce6e(0x233)](_0x4a075c))==null?void 0x0:_0x19a746['getActiveSheet']())==null?void 0x0:_0x1fb9f1['getSheetId']();if(_0x368efb[_0x48ce6e(0x260)]===0x0||!_0x4a075c||!_0x3a2377)return;const _0x326c0e=[{'id':Q['SetSelectionsOperation']['id'],'params':{'unitId':_0x4a075c,'subUnitId':_0x4fe3fa,'selections':o[_0x48ce6e(0x268)][_0x48ce6e(0x211)](_0x368efb)}}],_0x30649c=this['_transformService'][_0x48ce6e(0x1d7)](_0x23dcb7,_0x326c0e);if(!E[_0x48ce6e(0x229)](_0x30649c))throw _0x30649c[_0x48ce6e(0x286)];const _0x1b801c=(_0x4250d8=(_0x31e749=_0x30649c['m2Prime'][0x0])==null?void 0x0:_0x31e749['params'])==null?void 0x0:_0x4250d8[_0x48ce6e(0x403)];if(Array[_0x48ce6e(0x145)](_0x1b801c)&&_0x1b801c[_0x48ce6e(0x260)]){if(_0x1b801c['length']===_0x326c0e[0x0][_0x48ce6e(0x12b)]['selections'][_0x48ce6e(0x260)]&&_0x1b801c[_0x48ce6e(0xee)]((_0x403ded,_0x357881)=>o[_0x48ce6e(0x3e9)][_0x48ce6e(0x2b2)](_0x403ded[_0x48ce6e(0x39e)],_0x326c0e[0x0]['params'][_0x48ce6e(0x403)][_0x357881][_0x48ce6e(0x39e)])))return;this[_0x48ce6e(0x258)]['get'](o['ICommandService'])['executeCommand'](Q[_0x48ce6e(0x1be)]['id'],{'unitId':_0x4a075c,'subUnitId':_0x4fe3fa,'selections':_0x1b801c});}}},exports[_0x346389(0x25e)]=Jt([Ue(0x0,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),Ue(0x1,E['ITransformService']),Ue(0x2,o['IUniverInstanceService'])],exports[_0x346389(0x25e)]);const ve=o[_0x346389(0x28c)](_0x346389(0x273));var He=(_0x459acf=>(_0x459acf[_0x459acf[_0x346389(0x16d)]=0x0]=_0x346389(0x16d),_0x459acf[_0x459acf[_0x346389(0x202)]=0x1]=_0x346389(0x202),_0x459acf))(He||{});const Y=_0x346389(0x159),Qt={};function ei(_0x12cbd4){var _0x402511=_0x346389,_0x3b2b18;return!!((_0x3b2b18=_0x12cbd4[_0x402511(0x12b)])!=null&&_0x3b2b18[_0x402511(0x165)]);}const ti=new Set([Q[_0x346389(0x139)]['id']]);function Ge(_0x4a438d,_0x4bae01,_0x3b2a1c,_0x1a91d6,_0x3e5db3){var _0x40338e=_0x346389,_0x49540a,_0x2f4f6c,_0x450e28,_0xb6a727;const _0x387c91=[];for(const _0x527f23 of _0x4a438d){if(ti['has'](_0x527f23['id'])){if(_0x387c91[_0x40338e(0x260)]>0x0)break;_0x387c91[_0x40338e(0x179)](_0x527f23);break;}if(ei(_0x527f23)){if(_0x387c91[_0x40338e(0x260)]>0x0)break;_0x387c91[_0x40338e(0x179)](_0x527f23);break;}_0x387c91['push'](_0x527f23);}const _0x504e5c=(_0x2f4f6c=(_0x49540a=_0x3e5db3[_0x40338e(0x2b9)]())==null?void 0x0:_0x49540a['userID'])!=null?_0x2f4f6c:_0x40338e(0x17c),_0x5b717d=(_0xb6a727=(_0x450e28=_0x3e5db3[_0x40338e(0x2b9)]())==null?void 0x0:_0x450e28['memberID'])!=null?_0xb6a727:_0x40338e(0x17c);return{'changeset':{'unitID':_0x4bae01,'type':E[_0x40338e(0x263)](_0x3b2a1c[_0x40338e(0x172)](_0x4bae01)),'baseRev':_0x1a91d6['getCurrentRevOfUnit'](_0x4bae01),'revision':0x0,'userID':_0x504e5c,'memberID':_0x5b717d,'mutations':_0x387c91},'pendingMutations':_0x4a438d['slice'](_0x387c91[_0x40338e(0x260)])};}function ii(_0x3bc9a2,_0x310849,_0x51136e,_0x473c1c,_0x38068b){var _0x521677=_0x346389,_0x40b58c,_0x1bf81d,_0x14c82a,_0x5b940d;const _0x2a3009=[_0x3bc9a2[_0x521677(0x43a)]((_0x1aeefd,_0x3d2efc)=>{var _0x6c2919=_0x521677,_0x38d51b;const {id:_0x410962}=_0x1aeefd,{id:_0x2328b1,type:_0x3cf437}=_0x3d2efc,_0x2c8211=(_0x38d51b=_0x1aeefd[_0x6c2919(0x12b)])!=null?_0x38d51b:{'actions':null},_0x4b2b5e=_0x3d2efc[_0x6c2919(0x12b)];if(_0x410962&&_0x410962!==_0x2328b1)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x410962+_0x6c2919(0x1d1)+_0x2328b1+'.');return{..._0x1aeefd,'id':_0x2328b1,'type':_0x3cf437,'params':{'unitId':_0x4b2b5e[_0x6c2919(0x440)],'textRanges':_0x4b2b5e['textRanges'],'actions':o['JSONX'][_0x6c2919(0x320)](_0x2c8211[_0x6c2919(0x396)],_0x4b2b5e[_0x6c2919(0x396)])}};},{})],_0x1e8366=(_0x1bf81d=(_0x40b58c=_0x38068b[_0x521677(0x2b9)]())==null?void 0x0:_0x40b58c[_0x521677(0x1ca)])!=null?_0x1bf81d:_0x521677(0x17c),_0x99e724=(_0x5b940d=(_0x14c82a=_0x38068b[_0x521677(0x2b9)]())==null?void 0x0:_0x14c82a['memberID'])!=null?_0x5b940d:'unknown';return{'changeset':{'unitID':_0x310849,'type':E[_0x521677(0x263)](_0x51136e[_0x521677(0x172)](_0x310849)),'baseRev':_0x473c1c[_0x521677(0x3ed)](_0x310849),'revision':0x0,'userID':_0x1e8366,'memberID':_0x99e724,'mutations':_0x2a3009},'pendingMutations':[]};}function St(_0x4fdb04,_0xef78d4){var _0x1e62b0=_0x346389;const _0x2df952=new j[(_0x1e62b0(0x13c))](0x1);return setTimeout(()=>_0x2df952[_0x1e62b0(0x408)](_0xef78d4),_0x4fdb04),_0x2df952[_0x1e62b0(0x33e)]()['pipe'](j[_0x1e62b0(0x35b)](0x1));}var ni=Object[_0x346389(0x21c)],ae=(_0x2c6b41,_0x26c893,_0x2d5164,_0x53f138)=>{var _0x7a3486=_0x346389;for(var _0x3d639a=_0x53f138>0x1?void 0x0:_0x53f138?ni(_0x26c893,_0x2d5164):_0x26c893,_0x4796c5=_0x2c6b41[_0x7a3486(0x260)]-0x1,_0x3d1644;_0x4796c5>=0x0;_0x4796c5--)(_0x3d1644=_0x2c6b41[_0x4796c5])&&(_0x3d639a=_0x3d1644(_0x3d639a)||_0x3d639a);return _0x3d639a;},L=(_0x56d2e8,_0x507500)=>(_0x924aa4,_0x343e7f)=>_0x507500(_0x924aa4,_0x343e7f,_0x56d2e8),je=(_0x379b2e=>(_0x379b2e['NOT_COLLAB']=_0x346389(0x35a),_0x379b2e[_0x346389(0x167)]='synced',_0x379b2e['PENDING']=_0x346389(0x2f1),_0x379b2e['AWAITING']=_0x346389(0x3e8),_0x379b2e[_0x346389(0x283)]=_0x346389(0x251),_0x379b2e[_0x346389(0x2c4)]=_0x346389(0x40c),_0x379b2e[_0x346389(0x3e2)]='conflict',_0x379b2e[_0x346389(0x38b)]=_0x346389(0x313),_0x379b2e))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x54c03f,_0x544f38,_0x12d2f3,_0x3647d0,_0x4e9ccc,_0x410ce0,_0x17c40a,_0x2783e9,_0x3aef6f){var _0x5e8aa6=_0x346389;A(this,'_awaitingChangeset',null),A(this,_0x5e8aa6(0x270),[]),(this[_0x5e8aa6(0x212)]=_0x54c03f,this[_0x5e8aa6(0x424)]=_0x544f38,this['_handler']=_0x4e9ccc,this[_0x5e8aa6(0x13d)]=_0x410ce0,this[_0x5e8aa6(0x14a)]=_0x17c40a,this[_0x5e8aa6(0x3a2)]=_0x2783e9,this[_0x5e8aa6(0x249)]=_0x3aef6f,this[_0x5e8aa6(0x178)]=_0x12d2f3,this[_0x5e8aa6(0x270)]=_0x3647d0);}['_checkMissing'](_0x2e9897){var _0x34dcad=_0x346389;const _0xca236a=this[_0x34dcad(0x3a2)][_0x34dcad(0x3ed)](this[_0x34dcad(0x212)]);return _0x2e9897[_0x34dcad(0xdc)]>_0xca236a+0x1?(this['_handler']['onMissingChangesets']({'from':_0xca236a,'to':_0x2e9897[_0x34dcad(0xdc)]-0x1}),!0x0):!0x1;}[_0x346389(0x15e)](_0x22f52b){var _0x4e29ad=_0x346389;this[_0x4e29ad(0x14a)][_0x4e29ad(0x3eb)](this[_0x4e29ad(0x212)],_0x22f52b);}['_transformSelections'](_0x12c14a){var _0x34f5f6=_0x346389,_0x2f0820,_0x56bab3;(_0x56bab3=(_0x2f0820=this[_0x34f5f6(0x110)])[_0x34f5f6(0x14b)])==null||_0x56bab3[_0x34f5f6(0x15a)](_0x2f0820,_0x12c14a);}[_0x346389(0x2e1)](_0x199639){var _0x12d0e1=_0x346389,_0x284dd6,_0x3b32f2;return(_0x3b32f2=(_0x284dd6=this[_0x12d0e1(0x110)])['onTransformIME'])==null?void 0x0:_0x3b32f2[_0x12d0e1(0x15a)](_0x284dd6,_0x199639);}[_0x346389(0x3f2)](_0x42a19f){var _0xfa5463=_0x346389,_0x346989,_0x8dd47a;return(_0x8dd47a=(_0x346989=this[_0xfa5463(0x110)])[_0xfa5463(0x371)])==null?void 0x0:_0x8dd47a['call'](_0x346989,_0x42a19f);}[_0x346389(0x12a)](_0x44f197){var _0x2bfbea=_0x346389,_0x260322,_0x3f4b3d,_0x20c479;return(_0x20c479=(_0x3f4b3d=(_0x260322=this[_0x2bfbea(0x110)])[_0x2bfbea(0x274)])==null?void 0x0:_0x3f4b3d[_0x2bfbea(0x15a)](_0x260322,_0x44f197))!=null?_0x20c479:_0x44f197;}['_transformRemoteChangesetByStateCache'](_0x3fdbe9){var _0x351f65=_0x346389,_0x2e185a,_0x16a2bb,_0x95e200;return(_0x95e200=(_0x16a2bb=(_0x2e185a=this['_handler'])[_0x351f65(0x295)])==null?void 0x0:_0x16a2bb[_0x351f65(0x15a)](_0x2e185a,_0x3fdbe9))!=null?_0x95e200:_0x3fdbe9;}[_0x346389(0x2cf)](_0x2ea7b0){var _0x278f61=_0x346389,_0x145f29,_0x15bc89;if(this[_0x278f61(0x424)]===X[_0x278f61(0xf3)]){const {unitID:_0x12c290,mutations:_0x5af2d7,memberID:_0x427765}=_0x2ea7b0,_0x30a6cc=_0x5af2d7[_0x278f61(0x260)]>0x0?_0x5af2d7[0x0][_0x278f61(0x12b)]['textRanges']:[];Array[_0x278f61(0x145)](_0x30a6cc)&&_0x30a6cc[_0x278f61(0x260)]>0x0&&((_0x15bc89=(_0x145f29=this[_0x278f61(0x110)])[_0x278f61(0x103)])==null||_0x15bc89['call'](_0x145f29,{'unitID':_0x12c290,'memberID':_0x427765,'textRanges':_0x30a6cc}));}}[_0x346389(0x425)](){var _0x13dc14=_0x346389,_0x4a34f1;(_0x4a34f1=this['_localCacheService'])==null||_0x4a34f1[_0x13dc14(0x431)](this[_0x13dc14(0x212)],this['type'],this[_0x13dc14(0x178)],this[_0x13dc14(0x270)]);}['_getCurrentRevision'](){var _0x37a059=_0x346389;return this[_0x37a059(0x3a2)]['getCurrentRevOfUnit'](this['unitID']);}[_0x346389(0x2ce)](){var _0x5dd1fa=_0x346389;this[_0x5dd1fa(0x3a2)]['incrementRevOfUnit'](this[_0x5dd1fa(0x212)]);}[_0x346389(0x1a2)](_0x14d319){var _0x22f530=_0x346389,_0x1cf385;let _0x33d27e=this[_0x22f530(0x12a)](_0x14d319);_0x33d27e=this['_transformRemoteChangesetByStateCache'](_0x33d27e);const _0x3ee24d=o[_0x22f530(0x301)](_0x33d27e[_0x22f530(0x2aa)],this[_0x22f530(0x13d)],{'fromCollab':!0x0});if(!_0x3ee24d[_0x22f530(0x11a)])throw _0x3ee24d['error']instanceof Error?_0x3ee24d['error']:new Error((_0x1cf385=_0x3ee24d[_0x22f530(0x286)])!=null?_0x1cf385:'[CollaborationState]:\x20apply\x20error!');this[_0x22f530(0x2e1)](_0x33d27e),this[_0x22f530(0x3f2)](_0x33d27e),this[_0x22f530(0x15e)](_0x14d319),this[_0x22f530(0x3bc)](_0x33d27e),this[_0x22f530(0x2cf)](_0x33d27e),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends oe{constructor(_0x2dd078,_0x250c5f,_0xfb7c7d,_0x21c82f,_0x54695c,_0xddb6fa,_0x5cdb92,_0x2bde5a,_0x3d42b0,_0x6e769f){var _0x58caf4=_0x346389;super(_0x2dd078,_0x250c5f,null,[],_0xfb7c7d,_0x5cdb92,_0xddb6fa,_0x21c82f,_0x6e769f),A(this,'status',_0x58caf4(0x309)),(this['_injector']=_0x54695c,this['_logService']=_0x2bde5a,this[_0x58caf4(0x358)]=_0x3d42b0,this[_0x58caf4(0x407)]=_0x6e769f);}[_0x346389(0x435)](_0x2bdcf4){var _0x119cde=_0x346389;const _0x21b985=this['_injector'][_0x119cde(0x3b3)](exports[_0x119cde(0x1d4)],this[_0x119cde(0x212)],this['type'],[_0x2bdcf4],this['_handler']);return _0x21b985[_0x119cde(0x19c)](),_0x21b985[_0x119cde(0x425)](),_0x21b985;}['onRemoteChangeset'](_0x49a902){var _0x176fb7=_0x346389;if(this[_0x176fb7(0x362)](_0x49a902))return this[_0x176fb7(0x258)]['createInstance'](exports[_0x176fb7(0x2d5)],this[_0x176fb7(0x212)],this[_0x176fb7(0x424)],null,[],null,[_0x49a902],this[_0x176fb7(0x110)]);try{const _0x93e790=this[_0x176fb7(0x358)][_0x176fb7(0x1d7)](_0x49a902,[E[_0x176fb7(0x341)]]);if(E['isTransformMutationsWithChangesetSuccess'](_0x93e790)){const {c1Prime:_0x21729b}=_0x93e790;return this[_0x176fb7(0x1a2)](_0x21729b),this;}throw _0x93e790[_0x176fb7(0x286)];}catch(_0x1c0e3c){return this[_0x176fb7(0x306)]['error'](_0x1c0e3c),this[_0x176fb7(0x1fb)](!0x1);}}[_0x346389(0x1fb)](_0x56b821){var _0x410c70=_0x346389;return this[_0x410c70(0x258)][_0x410c70(0x3b3)](exports[_0x410c70(0x1d2)],this[_0x410c70(0x212)],this[_0x410c70(0x424)],null,[],this[_0x410c70(0x110)],_0x56b821);}[_0x346389(0x1bf)](){var _0x5e2488=_0x346389;throw new Error(_0x5e2488(0x42b));}[_0x346389(0xc7)](){var _0x29027a=_0x346389;throw new Error(_0x29027a(0x1e8));}[_0x346389(0x117)](){return this;}[_0x346389(0x1b8)](){var _0x488fc7=_0x346389;return this['_injector']['createInstance'](exports['OfflineState'],this['unitID'],this[_0x488fc7(0x424)],null,[],this['_handler']);}[_0x346389(0x15b)](){return this;}[_0x346389(0x23a)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x346389(0x256)](){var _0x2616b0=_0x346389;const _0x22d44e=this[_0x2616b0(0x3a2)][_0x2616b0(0x3ed)](this['unitID']);return this[_0x2616b0(0x110)][_0x2616b0(0x26d)]({'from':_0x22d44e,'to':0x0}),this[_0x2616b0(0x258)][_0x2616b0(0x3b3)](exports[_0x2616b0(0x2d5)],this[_0x2616b0(0x212)],this[_0x2616b0(0x424)],null,[],null,[],this[_0x2616b0(0x110)]);}},exports[_0x346389(0x40a)]=ae([L(0x3,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0x4,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),L(0x5,o[_0x346389(0x20d)]),L(0x6,o[_0x346389(0x1ac)]),L(0x7,o[_0x346389(0x245)]),L(0x8,E[_0x346389(0x1d8)]),L(0x9,o[_0x346389(0x32f)](q))],exports[_0x346389(0x40a)]),exports[_0x346389(0x1d4)]=class extends oe{constructor(_0x564736,_0x731e9a,_0x361f08,_0x1ec1a4,_0x5db45c,_0xd16730,_0x13acba,_0x31de03,_0x30e030,_0x4dcb43,_0x340a76,_0x3b4ca6,_0x37584f,_0x1956a7){var _0xaf8cc4=_0x346389;super(_0x564736,_0x731e9a,null,_0x361f08,_0x1ec1a4,_0x30e030,_0x37584f,_0xd16730,_0x1956a7),A(this,_0xaf8cc4(0x119),'pending'),A(this,_0xaf8cc4(0x262),null),A(this,'_sendingTimer',null),(this[_0xaf8cc4(0x258)]=_0x5db45c,this[_0xaf8cc4(0x134)]=_0x13acba,this[_0xaf8cc4(0x306)]=_0x31de03,this['_configService']=_0x4dcb43,this[_0xaf8cc4(0x358)]=_0x340a76,this[_0xaf8cc4(0x334)]=_0x3b4ca6);}['appendMutation'](_0x767fe2){var _0x3fb6f0=_0x346389;return this[_0x3fb6f0(0x270)][_0x3fb6f0(0x179)](_0x767fe2),this[_0x3fb6f0(0x425)](),this;}[_0x346389(0x22d)](_0x277fde){var _0x164bf3=_0x346389;if(this[_0x164bf3(0x362)](_0x277fde))return this['_clearScheduledTask'](),this['_injector'][_0x164bf3(0x3b3)](exports[_0x164bf3(0x2d5)],this[_0x164bf3(0x212)],this[_0x164bf3(0x424)],null,this['_pendingMutations'],null,[_0x277fde],this[_0x164bf3(0x110)]);try{const _0x3e4960=this[_0x164bf3(0x358)][_0x164bf3(0x1d7)](_0x277fde,this[_0x164bf3(0x270)]);if(E[_0x164bf3(0x229)](_0x3e4960)){const {c1Prime:_0x410443,m2Prime:_0x1f55bc}=_0x3e4960;this['_executeRemoteChangeset'](_0x410443);const _0x2ab652=this[_0x164bf3(0x258)][_0x164bf3(0x3b3)](exports[_0x164bf3(0x1d4)],this[_0x164bf3(0x212)],this[_0x164bf3(0x424)],_0x1f55bc,this[_0x164bf3(0x110)]);this[_0x164bf3(0x24b)]();const _0x1861af=new Date()['getTime'](),_0x3c4f46=this[_0x164bf3(0x262)]?Math['max'](this[_0x164bf3(0x262)]-_0x1861af,0x0):this[_0x164bf3(0x393)]();return _0x2ab652[_0x164bf3(0x19c)](_0x3c4f46),_0x2ab652;}throw _0x3e4960[_0x164bf3(0x286)];}catch(_0x41402e){return this[_0x164bf3(0x306)]['error'](_0x41402e),this[_0x164bf3(0x1fb)](!0x1);}}[_0x346389(0x1bf)](){var _0x5549ab=_0x346389;throw new Error(_0x5549ab(0x3f0));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x346389(0x117)](){return this;}['toggleOffline'](){var _0x2b3a96=_0x346389;return this[_0x2b3a96(0x24b)](),this[_0x2b3a96(0x258)]['createInstance'](exports[_0x2b3a96(0x379)],this[_0x2b3a96(0x212)],this[_0x2b3a96(0x424)],null,this[_0x2b3a96(0x270)],this[_0x2b3a96(0x110)]);}[_0x346389(0x15b)](){return this;}[_0x346389(0x19c)](_0x172ed1){var _0x2589d0=_0x346389;const _0x124d11=_0x172ed1!=null?_0x172ed1:this[_0x2589d0(0x393)]();this[_0x2589d0(0x262)]=new Date()[_0x2589d0(0x3a5)]()+_0x124d11,this['_sendingTimer']=setTimeout(()=>{var _0x59640f=_0x2589d0;this[_0x59640f(0x24b)]();let _0x3f9b24=null;switch(this[_0x59640f(0x424)]){case X['UNIVER_SHEET']:{_0x3f9b24=Ge(this['_pendingMutations'],this[_0x59640f(0x212)],this['_univerInstanceService'],this[_0x59640f(0x3a2)],this[_0x59640f(0x134)]);break;}case X[_0x59640f(0xf3)]:{this[_0x59640f(0x270)][_0x59640f(0xee)](_0x31e232=>_0x31e232['id']===ct['RichTextEditingMutation']['id'])?_0x3f9b24=ii(this[_0x59640f(0x270)],this['unitID'],this[_0x59640f(0x334)],this['_revisionService'],this[_0x59640f(0x134)]):_0x3f9b24=Ge(this[_0x59640f(0x270)],this[_0x59640f(0x212)],this[_0x59640f(0x334)],this[_0x59640f(0x3a2)],this[_0x59640f(0x134)]);break;}default:throw new Error(_0x59640f(0x272)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x40264f,pendingMutations:_0x4931f1}=_0x3f9b24;this[_0x59640f(0x110)][_0x59640f(0x1d6)](_0x40264f);const _0x45abe7=_0x4931f1[_0x59640f(0x260)]?this[_0x59640f(0x258)][_0x59640f(0x3b3)](exports[_0x59640f(0x109)],this[_0x59640f(0x212)],this[_0x59640f(0x424)],_0x40264f,_0x4931f1,this['_handler'],void 0x0):this['_injector']['createInstance'](exports[_0x59640f(0x388)],this['unitID'],this[_0x59640f(0x424)],_0x40264f,this[_0x59640f(0x110)]);_0x45abe7[_0x59640f(0x425)](),this[_0x59640f(0x110)][_0x59640f(0x399)](this,_0x45abe7);},_0x124d11);}[_0x346389(0x393)](){var _0x5aaf2b=_0x346389,_0x4a418f;const _0x30b797=this[_0x5aaf2b(0x13b)][_0x5aaf2b(0x31c)](Y);return(_0x4a418f=_0x30b797==null?void 0x0:_0x30b797[_0x5aaf2b(0x160)])!=null?_0x4a418f:At;}[_0x346389(0x23a)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x346389(0x24b)](){var _0x2f7626=_0x346389;this[_0x2f7626(0x10c)]!=null&&(clearTimeout(this[_0x2f7626(0x10c)]),this['_sendingTimer']=null);}['_onConflict'](_0x3bd7d1){var _0x4b06d1=_0x346389;return this[_0x4b06d1(0x24b)](),this[_0x4b06d1(0x258)][_0x4b06d1(0x3b3)](exports['ConflictState'],this[_0x4b06d1(0x212)],this['type'],null,this[_0x4b06d1(0x270)],this[_0x4b06d1(0x110)],_0x3bd7d1);}},exports['PendingState']=ae([L(0x4,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),L(0x5,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0x6,o[_0x346389(0x33c)](exports[_0x346389(0x129)])),L(0x7,o[_0x346389(0x245)]),L(0x8,o[_0x346389(0x1ac)]),L(0x9,o[_0x346389(0x3ac)]),L(0xa,E[_0x346389(0x1d8)]),L(0xb,o[_0x346389(0x1c6)]),L(0xc,o[_0x346389(0x20d)]),L(0xd,o[_0x346389(0x32f)](q))],exports[_0x346389(0x1d4)]),exports['AwaitingState']=class extends oe{constructor(_0xc4b8be,_0x571f8c,_0x476ac7,_0x222516,_0x4a1aeb,_0xafb7f4,_0x1758a5,_0x1291c4,_0x3eb6a3,_0x25e197,_0x599191){var _0x4ad8a7=_0x346389;super(_0xc4b8be,_0x571f8c,_0x476ac7,[],_0x222516,_0x1758a5,_0x25e197,_0xafb7f4,_0x599191),A(this,_0x4ad8a7(0x119),'awaiting'),A(this,_0x4ad8a7(0x190),0x0),A(this,_0x4ad8a7(0x3bd),0x0),A(this,_0x4ad8a7(0x2ad)),A(this,_0x4ad8a7(0x291)),(this[_0x4ad8a7(0x258)]=_0x4a1aeb,this[_0x4ad8a7(0x306)]=_0x1291c4,this[_0x4ad8a7(0x358)]=_0x3eb6a3);}[_0x346389(0x435)](_0x3b87a2){var _0x59104a=_0x346389;this['_clearScheduledTask']();const _0x25c500=this[_0x59104a(0x258)][_0x59104a(0x3b3)](exports[_0x59104a(0x109)],this[_0x59104a(0x212)],this[_0x59104a(0x424)],this[_0x59104a(0x178)],[_0x3b87a2],this[_0x59104a(0x110)],this[_0x59104a(0x2ad)]);return _0x25c500[_0x59104a(0x425)](),_0x25c500;}[_0x346389(0x22d)](_0x379f45){var _0x1e1029=_0x346389;if(this[_0x1e1029(0x362)](_0x379f45))return this[_0x1e1029(0x24b)](),this[_0x1e1029(0x258)]['createInstance'](exports[_0x1e1029(0x2d5)],this['unitID'],this[_0x1e1029(0x424)],this[_0x1e1029(0x178)],[],null,[_0x379f45],this[_0x1e1029(0x110)]);try{const _0x50e3c1=this[_0x1e1029(0x358)]['transformChangesets']([_0x379f45],[this[_0x1e1029(0x178)]],!0x1);if(E[_0x1e1029(0x325)](_0x50e3c1)){const {c1Prime:_0x32cf62,c2Prime:_0x25740f}=_0x50e3c1;this['_executeRemoteChangeset'](_0x32cf62[0x0]),_0x25740f[0x0][_0x1e1029(0xfa)]=this[_0x1e1029(0x3a1)](),this[_0x1e1029(0x24b)]();const _0x21a4d0=this[_0x1e1029(0x258)]['createInstance'](exports[_0x1e1029(0x388)],this[_0x1e1029(0x212)],this['type'],_0x25740f[0x0],this['_handler']);return _0x21a4d0[_0x1e1029(0x425)](),_0x21a4d0;}return this['_onConflict'](!0x1);}catch(_0x24875c){return this[_0x1e1029(0x306)][_0x1e1029(0x286)](_0x24875c),this[_0x1e1029(0x1fb)](!0x1);}}[_0x346389(0x1bf)](_0xc80aa5){var _0x80f063=_0x346389;this[_0x80f063(0x24b)]();const _0x27f87c=this[_0x80f063(0x3a2)][_0x80f063(0x3ed)](this[_0x80f063(0x212)]);if(_0xc80aa5[_0x80f063(0xdc)]<_0x27f87c-0x1)return this;if(this[_0x80f063(0x362)](_0xc80aa5))return this['_injector']['createInstance'](exports[_0x80f063(0x2d5)],this[_0x80f063(0x212)],this[_0x80f063(0x424)],null,[],this['_awaitingChangeset'],[],this[_0x80f063(0x110)]);this['_incrementRevisionNumber']();const _0x4c0f8b=this[_0x80f063(0x258)][_0x80f063(0x3b3)](exports['SyncedState'],this[_0x80f063(0x212)],this[_0x80f063(0x424)],this[_0x80f063(0x110)]);return _0x4c0f8b[_0x80f063(0x425)](),_0x4c0f8b;}['onRemoteRej'](_0x58618b){var _0x483517=_0x346389;return this['_onConflict'](!!(_0x58618b!=null&&_0x58618b[_0x483517(0x38d)]));}[_0x346389(0x117)](_0x1958e5){var _0x47ea3f=_0x346389;return this[_0x47ea3f(0x3bd)]>ft?this[_0x47ea3f(0x1b8)]():(this['_resendTimer']=St(this[_0x47ea3f(0x190)],{'timeout':this[_0x47ea3f(0x190)],'reqId':_0x1958e5[_0x47ea3f(0xcb)]}),this[_0x47ea3f(0x291)]=this[_0x47ea3f(0x2ad)]['subscribe'](({reqId:_0x1195b1,timeout:_0xa76cc8})=>{this['_resendWithTimeout'](_0x1195b1,_0xa76cc8);}),this);}['toggleOffline'](){var _0x3d3146=_0x346389;return this[_0x3d3146(0x24b)](),this[_0x3d3146(0x258)][_0x3d3146(0x3b3)](exports[_0x3d3146(0x379)],this[_0x3d3146(0x212)],this[_0x3d3146(0x424)],this[_0x3d3146(0x178)],[],this[_0x3d3146(0x110)]);}[_0x346389(0x15b)](){return this;}[_0x346389(0x23a)](){var _0x426e5=_0x346389;this['_handler'][_0x426e5(0x1d6)](this[_0x426e5(0x178)]);}[_0x346389(0x1fb)](_0x3f9b79){var _0x5386f2=_0x346389;return this[_0x5386f2(0x24b)](),this[_0x5386f2(0x258)][_0x5386f2(0x3b3)](exports[_0x5386f2(0x1d2)],this[_0x5386f2(0x212)],this[_0x5386f2(0x424)],this[_0x5386f2(0x178)],[],this[_0x5386f2(0x110)],_0x3f9b79);}[_0x346389(0x1a3)](_0x431fb5,_0x1ab788){var _0xbc6fd6=_0x346389,_0x2262b4;_0x431fb5===((_0x2262b4=this[_0xbc6fd6(0x178)])==null?void 0x0:_0x2262b4[_0xbc6fd6(0xcb)])&&(this[_0xbc6fd6(0x23a)](),this[_0xbc6fd6(0x190)]=_0x1ab788===0x0?0x3e8:Math[_0xbc6fd6(0x127)](_0x1ab788*0x2,It),this[_0xbc6fd6(0x3bd)]+=this[_0xbc6fd6(0x190)]);}[_0x346389(0x24b)](){var _0x4dda65=_0x346389,_0x11484a;(_0x11484a=this[_0x4dda65(0x291)])==null||_0x11484a[_0x4dda65(0x3f5)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x346389(0x388)]=ae([L(0x4,o[_0x346389(0x33c)](o['Injector'])),L(0x5,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0x6,o[_0x346389(0x1ac)]),L(0x7,o['ILogService']),L(0x8,E[_0x346389(0x1d8)]),L(0x9,o[_0x346389(0x20d)]),L(0xa,o[_0x346389(0x32f)](q))],exports[_0x346389(0x388)]),exports[_0x346389(0x109)]=class extends oe{constructor(_0x2bc0d9,_0x28513f,_0x19a665,_0x2d7cbf,_0x1ea013,_0x34e103,_0x32a3fe,_0x5ef97f,_0x20cba3,_0x216861,_0x3440f9,_0x5b5bb5,_0xae4e09){var _0x5118b0=_0x346389;super(_0x2bc0d9,_0x28513f,_0x19a665,_0x2d7cbf,_0x1ea013,_0x20cba3,_0x5b5bb5,_0x5ef97f,_0xae4e09),A(this,_0x5118b0(0x119),'awaiting_with_pending'),A(this,_0x5118b0(0x190),0x0),A(this,_0x5118b0(0x3bd),0x0),A(this,_0x5118b0(0x2ad)),A(this,'_sender'),(this[_0x5118b0(0x258)]=_0x32a3fe,this[_0x5118b0(0x306)]=_0x216861,this[_0x5118b0(0x358)]=_0x3440f9,this[_0x5118b0(0x407)]=_0xae4e09,_0x34e103&&(this[_0x5118b0(0x2ad)]=_0x34e103,this[_0x5118b0(0x291)]=this[_0x5118b0(0x2ad)][_0x5118b0(0x1f7)](({reqId:_0xbabfeb,timeout:_0x3d2459})=>{this['_resendWithTimeout'](_0xbabfeb,_0x3d2459);})));}[_0x346389(0x435)](_0x42fb81){return this['_pendingMutations']['push'](_0x42fb81),this;}['onRemoteChangeset'](_0x55a01f){var _0x17ee08=_0x346389;if(this[_0x17ee08(0x362)](_0x55a01f))return this[_0x17ee08(0x24b)](),this[_0x17ee08(0x258)]['createInstance'](exports[_0x17ee08(0x2d5)],this['unitID'],this[_0x17ee08(0x424)],this[_0x17ee08(0x178)],this['_pendingMutations'],null,[_0x55a01f],this[_0x17ee08(0x110)]);try{const _0x17c36e=this[_0x17ee08(0x358)]['transformChangesets']([_0x55a01f],[this[_0x17ee08(0x178)]],!0x1);if(E['isTransformChangesetsSuccess'](_0x17c36e)){const {c1Prime:_0x249308,c2Prime:_0x5d823f}=_0x17c36e,_0x4d518b=this['_transformService'][_0x17ee08(0x1d7)](_0x249308[0x0],this[_0x17ee08(0x270)]);if(E[_0x17ee08(0x229)](_0x4d518b)){const {c1Prime:_0x2cdca7,m2Prime:_0x44a49f}=_0x4d518b;return this['_executeRemoteChangeset'](_0x2cdca7),_0x5d823f[0x0][_0x17ee08(0xfa)]=this['_getCurrentRevision'](),this[_0x17ee08(0x24b)](),this[_0x17ee08(0x258)][_0x17ee08(0x3b3)](exports[_0x17ee08(0x109)],this['unitID'],this[_0x17ee08(0x424)],_0x5d823f[0x0],_0x44a49f,this['_handler'],void 0x0);}throw _0x4d518b[_0x17ee08(0x286)];}throw _0x17c36e[_0x17ee08(0x286)];}catch(_0x3e9c4a){return this[_0x17ee08(0x306)][_0x17ee08(0x286)](_0x3e9c4a),this['_onConflict'](!0x1);}}[_0x346389(0x1bf)](_0x173fd9){var _0x193f40=_0x346389;if(this[_0x193f40(0x24b)](),this['_checkMissing'](_0x173fd9))return this[_0x193f40(0x258)][_0x193f40(0x3b3)](exports['FetchingMissState'],this[_0x193f40(0x212)],this[_0x193f40(0x424)],null,this[_0x193f40(0x270)],this['_awaitingChangeset'],[],this[_0x193f40(0x110)]);this[_0x193f40(0x2ce)]();const _0x2e0a2a=this[_0x193f40(0x258)]['createInstance'](exports[_0x193f40(0x1d4)],this[_0x193f40(0x212)],this[_0x193f40(0x424)],this[_0x193f40(0x270)],this[_0x193f40(0x110)]);return _0x2e0a2a[_0x193f40(0x19c)](),_0x2e0a2a[_0x193f40(0x425)](),_0x2e0a2a;}[_0x346389(0xc7)](_0xee8c0a){var _0x4dfc79=_0x346389;return this[_0x4dfc79(0x1fb)](!!(_0xee8c0a!=null&&_0xee8c0a[_0x4dfc79(0x38d)]));}[_0x346389(0x117)](_0x3b0fff){var _0x2b3818=_0x346389;return this['_maxTotalRetryTimeout']>ft?this[_0x2b3818(0x1b8)]():(this[_0x2b3818(0x2ad)]=St(this['_resendTimeout'],{'timeout':this[_0x2b3818(0x190)],'reqId':_0x3b0fff[_0x2b3818(0xcb)]}),this[_0x2b3818(0x291)]=this[_0x2b3818(0x2ad)][_0x2b3818(0x1f7)](({reqId:_0x1b95c1,timeout:_0x7ec07b})=>{var _0x454855=_0x2b3818;this[_0x454855(0x1a3)](_0x1b95c1,_0x7ec07b);}),this);}[_0x346389(0x1b8)](){var _0x1152ef=_0x346389;return this['_clearScheduledTask'](),this['_injector'][_0x1152ef(0x3b3)](exports[_0x1152ef(0x379)],this['unitID'],this[_0x1152ef(0x424)],this[_0x1152ef(0x178)],this['_pendingMutations'],this[_0x1152ef(0x110)]);}['toggleOnline'](){return this;}[_0x346389(0x23a)](){var _0x1d3d29=_0x346389;this[_0x1d3d29(0x110)][_0x1d3d29(0x1d6)](this[_0x1d3d29(0x178)]);}[_0x346389(0x1fb)](_0x2d6a27){var _0x34fc0d=_0x346389;return this[_0x34fc0d(0x24b)](),this[_0x34fc0d(0x258)][_0x34fc0d(0x3b3)](exports[_0x34fc0d(0x1d2)],this['unitID'],this[_0x34fc0d(0x424)],null,this['_pendingMutations'],this[_0x34fc0d(0x110)],_0x2d6a27);}[_0x346389(0x1a3)](_0x19020b,_0x2fd357){var _0x4028ea=_0x346389,_0x2e0174;_0x19020b===((_0x2e0174=this[_0x4028ea(0x178)])==null?void 0x0:_0x2e0174['reqId'])&&(this[_0x4028ea(0x23a)](),this[_0x4028ea(0x190)]=_0x2fd357===0x0?0x3e8:Math['min'](_0x2fd357*0x2,It),this['_maxTotalRetryTimeout']+=this[_0x4028ea(0x190)]);}['_clearScheduledTask'](){var _0x276662=_0x346389,_0x5c6009;(_0x5c6009=this['_sender'])==null||_0x5c6009[_0x276662(0x3f5)](),this[_0x276662(0x190)]=0x0,this[_0x276662(0x3bd)]=0x0;}},exports[_0x346389(0x109)]=ae([L(0x6,o['Inject'](o['Injector'])),L(0x7,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0x8,o[_0x346389(0x1ac)]),L(0x9,o[_0x346389(0x245)]),L(0xa,E[_0x346389(0x1d8)]),L(0xb,o[_0x346389(0x20d)]),L(0xc,o[_0x346389(0x32f)](q))],exports['AwaitingWithPendingState']),exports[_0x346389(0x1d2)]=class extends oe{constructor(_0x1d74bf,_0x370658,_0x3e4086,_0x583ae7,_0x559184,_0xab9bfc=!0x1,_0x53814a,_0x413dfc,_0x200e79,_0x4e97a8,_0x531ff0,_0x4e88e3,_0x481e83){var _0x499dda=_0x346389;super(_0x1d74bf,_0x370658,_0x3e4086,_0x583ae7,_0x559184,_0x413dfc,_0x200e79,_0x4e97a8,_0x481e83),A(this,_0x499dda(0x119),_0x499dda(0x3c4)),(this[_0x499dda(0x1e7)]=_0xab9bfc,this['_permissionService']=_0x53814a,this[_0x499dda(0x22b)]=_0x531ff0,this['_collaborationUIEventService']=_0x4e88e3,this['localCacheService']=_0x481e83,this[_0x499dda(0x1d0)](),this[_0x499dda(0x2c1)](),this[_0x499dda(0x242)]());}[_0x346389(0x435)](){return this;}[_0x346389(0x22d)](){return this;}[_0x346389(0x1bf)](){return this;}[_0x346389(0xc7)](){return this;}[_0x346389(0x117)](){return this;}[_0x346389(0x1b8)](){return this;}[_0x346389(0x15b)](){return this;}[_0x346389(0x23a)](){var _0x123ce1=_0x346389;throw new Error(_0x123ce1(0x3f8));}[_0x346389(0x2c1)](){var _0x47a691=_0x346389,_0x4592b8;(_0x4592b8=this[_0x47a691(0x249)])==null||_0x4592b8[_0x47a691(0x431)](this[_0x47a691(0x212)],this['type'],null,[]);}[_0x346389(0x1d0)](){var _0x5153a4=_0x346389;this[_0x5153a4(0x1e7)]?this[_0x5153a4(0xcd)][_0x5153a4(0xc5)]({'id':J[_0x5153a4(0x2bc)]}):this[_0x5153a4(0xcd)][_0x5153a4(0xc5)]({'id':J['CONFLICT']});}[_0x346389(0x242)](){var _0x50dc72=_0x346389;this[_0x50dc72(0x316)]['updatePermissionPoint'](new Q[(_0x50dc72(0x344))](this[_0x50dc72(0x212)])['id'],!0x1);}},exports[_0x346389(0x1d2)]=ae([L(0x6,o[_0x346389(0x33c)](o[_0x346389(0x261)])),L(0x7,o[_0x346389(0x1ac)]),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x346389(0x33c)](E[_0x346389(0x300)])),L(0xa,o[_0x346389(0x33c)](o['LocaleService'])),L(0xb,o[_0x346389(0x33c)](ee)),L(0xc,o[_0x346389(0x32f)](q))],exports[_0x346389(0x1d2)]),exports['OfflineState']=class extends oe{constructor(_0x7ebb5a,_0x151695,_0x3d168b,_0x5ae5d4,_0x29c0ea,_0x39dbcb,_0x2f6e6f,_0x2e4cf4,_0x3be8cf,_0x56c16e){var _0x1eaacb=_0x346389;super(_0x7ebb5a,_0x151695,_0x3d168b,_0x5ae5d4,_0x29c0ea,_0x2e4cf4,_0x3be8cf,_0x2f6e6f,_0x56c16e),A(this,_0x1eaacb(0x119),_0x1eaacb(0x313)),this['_injector']=_0x39dbcb;}[_0x346389(0x435)](_0x40e0dd){var _0x440261=_0x346389;return this[_0x440261(0x270)][_0x440261(0x179)](_0x40e0dd),this[_0x440261(0x425)](),this;}['onRemoteChangeset'](_0x44b08d){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x346389(0x1bf)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x346389(0xc7)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x346389(0x117)](){return this;}[_0x346389(0x1b8)](){return this;}[_0x346389(0x15b)](){var _0x28d399=_0x346389;const {_injector:_0x62d562,_pendingMutations:_0xf819a,_awaitingChangeset:_0x29dd76,unitID:_0x449d7b,_handler:_0x23be2b,type:_0x51dc27}=this,_0x50799d=Et(_0x62d562,_0x449d7b,_0x51dc27,_0x29dd76,_0xf819a,_0x23be2b);return _0x50799d instanceof exports[_0x28d399(0x1d4)]?_0x50799d[_0x28d399(0x19c)]():(_0x50799d instanceof exports[_0x28d399(0x109)]||_0x50799d instanceof exports['AwaitingState'])&&_0x50799d['resend'](),_0x50799d;}[_0x346389(0x23a)](){var _0x39de6c=_0x346389;throw new Error(_0x39de6c(0x3fa));}},exports[_0x346389(0x379)]=ae([L(0x5,o['Inject'](o[_0x346389(0x38f)])),L(0x6,o[_0x346389(0x33c)](E['RevisionService'])),L(0x7,o[_0x346389(0x1ac)]),L(0x8,o[_0x346389(0x20d)]),L(0x9,o[_0x346389(0x32f)](q))],exports['OfflineState']),exports['FetchingMissState']=class extends oe{constructor(_0x3f439f,_0x41d7b,_0x9ac359,_0x1fbc5f,_0x19cd20,_0x2a83a7,_0x111df9,_0x3e5c21,_0x4d1d63,_0x1c06a6,_0x4cd249,_0x4cd5c0,_0x1f3506,_0x2458a4){var _0x24d27e=_0x346389;super(_0x3f439f,_0x41d7b,_0x9ac359,_0x1fbc5f,_0x111df9,_0x4cd249,_0x4cd5c0,_0x4d1d63,_0x2458a4),A(this,_0x24d27e(0x119),_0x24d27e(0x40c)),(this[_0x24d27e(0x1fc)]=_0x19cd20,this[_0x24d27e(0x28f)]=_0x2a83a7,this['_injector']=_0x3e5c21,this[_0x24d27e(0x306)]=_0x1c06a6,this[_0x24d27e(0x358)]=_0x1f3506,this[_0x24d27e(0x407)]=_0x2458a4);}[_0x346389(0x2ed)](_0x3a899b){var _0x1561fa=_0x346389;try{const _0x173427=[..._0x3a899b,...this[_0x1561fa(0x28f)]],_0x497441=[this[_0x1561fa(0x178)]||this[_0x1561fa(0x1fc)]][_0x1561fa(0x2ca)](_0x31bcfb=>!!_0x31bcfb);let _0x19461e,_0x1ecaf1;if(_0x497441[_0x1561fa(0x260)]){const _0x7b323f=this['_transformService'][_0x1561fa(0xe9)](_0x173427,_0x497441,!0x1);if(!E[_0x1561fa(0x325)](_0x7b323f))throw _0x7b323f[_0x1561fa(0x286)];_0x19461e=_0x7b323f['c1Prime'],_0x1ecaf1=_0x7b323f[_0x1561fa(0x115)];}else _0x19461e=_0x173427,_0x1ecaf1=[];let _0x5523b0=this['_pendingMutations'];_0x19461e[_0x1561fa(0x2b3)](_0x3d3d94=>{var _0x48a11d=_0x1561fa;let _0x603f3f;if(_0x5523b0[_0x48a11d(0x260)]){const _0xc2500d=this[_0x48a11d(0x358)]['transformMutationsWithChangeset'](_0x3d3d94,_0x5523b0);if(!E['isTransformMutationsWithChangesetSuccess'](_0xc2500d))throw _0xc2500d[_0x48a11d(0x286)];_0x603f3f=_0xc2500d[_0x48a11d(0x18c)],_0x5523b0=_0xc2500d[_0x48a11d(0x1f2)];}else _0x603f3f=_0x3d3d94;this[_0x48a11d(0x1a2)](_0x603f3f);}),this[_0x1561fa(0x1fc)]&&this[_0x1561fa(0x2ce)](),this[_0x1561fa(0x178)]&&_0x1ecaf1['length']&&(_0x1ecaf1[0x0][_0x1561fa(0xfa)]=this['_getCurrentRevision']());let _0x474e26;if(this[_0x1561fa(0x178)]&&_0x5523b0[_0x1561fa(0x260)]!==0x0)_0x474e26=this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports[_0x1561fa(0x109)],this['unitID'],this[_0x1561fa(0x424)],_0x1ecaf1[0x0],_0x5523b0,this[_0x1561fa(0x110)],void 0x0);else{if(this[_0x1561fa(0x178)]&&_0x5523b0[_0x1561fa(0x260)]===0x0)_0x1ecaf1[0x0][_0x1561fa(0xfa)]=this[_0x1561fa(0x3a1)](),_0x474e26=this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports[_0x1561fa(0x388)],this[_0x1561fa(0x212)],this[_0x1561fa(0x424)],_0x1ecaf1[0x0],this['_handler']);else{if(_0x5523b0[_0x1561fa(0x260)]!==0x0){const _0x47c95f=this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports[_0x1561fa(0x1d4)],this['unitID'],this[_0x1561fa(0x424)],_0x5523b0,this['_handler']);_0x47c95f[_0x1561fa(0x19c)](),_0x474e26=_0x47c95f;}else _0x474e26=this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports['SyncedState'],this[_0x1561fa(0x212)],this[_0x1561fa(0x424)],this[_0x1561fa(0x110)]);}}return _0x474e26[_0x1561fa(0x425)](),_0x474e26;}catch(_0x17664c){return this[_0x1561fa(0x306)][_0x1561fa(0x286)](_0x1561fa(0x2a6),_0x1561fa(0x2d8),_0x17664c),this[_0x1561fa(0x258)][_0x1561fa(0x3b3)](exports[_0x1561fa(0x1d2)],this[_0x1561fa(0x212)],this[_0x1561fa(0x424)],this[_0x1561fa(0x178)],this[_0x1561fa(0x270)],this[_0x1561fa(0x110)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x346389(0x435)](_0x41b876){var _0x278ffe=_0x346389;return this[_0x278ffe(0x270)][_0x278ffe(0x179)](_0x41b876),this;}[_0x346389(0x22d)](_0x4dc33a){var _0x477684=_0x346389;return this[_0x477684(0x28f)][_0x477684(0x179)](_0x4dc33a),this;}['onRemoteAck'](_0x1696ab){var _0x51bb8a=_0x346389;if(this[_0x51bb8a(0x178)])return this['_acknowledgedAwaitingChangeset']=this[_0x51bb8a(0x178)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x346389(0xc7)](_0x1ba044){var _0x287d07=_0x346389;return this['_onConflict'](!!(_0x1ba044!=null&&_0x1ba044[_0x287d07(0x38d)]));}[_0x346389(0x117)](){return this;}[_0x346389(0x1b8)](){var _0x4de7b2=_0x346389;return this[_0x4de7b2(0x258)][_0x4de7b2(0x3b3)](exports[_0x4de7b2(0x379)],this[_0x4de7b2(0x212)],this[_0x4de7b2(0x424)],this[_0x4de7b2(0x178)],this[_0x4de7b2(0x270)],this['_handler']);}['toggleOnline'](){return this;}[_0x346389(0x1fb)](_0xc18986){var _0x5e6ed3=_0x346389;return this[_0x5e6ed3(0x258)][_0x5e6ed3(0x3b3)](exports[_0x5e6ed3(0x1d2)],this[_0x5e6ed3(0x212)],this[_0x5e6ed3(0x424)],this['_awaitingChangeset'],this[_0x5e6ed3(0x270)],this[_0x5e6ed3(0x110)],_0xc18986);}},exports[_0x346389(0x2d5)]=ae([L(0x7,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),L(0x8,o['Inject'](E[_0x346389(0x300)])),L(0x9,o[_0x346389(0x245)]),L(0xa,o[_0x346389(0x1ac)]),L(0xb,o['IUndoRedoService']),L(0xc,E[_0x346389(0x1d8)]),L(0xd,o[_0x346389(0x32f)](q))],exports[_0x346389(0x2d5)]);function Et(_0x42b819,_0x342e52,_0xed5822,_0x2ca5f0,_0xce33c5,_0x29307d){var _0x57a059=_0x346389;return _0x2ca5f0&&_0xce33c5[_0x57a059(0x260)]?_0x42b819[_0x57a059(0x3b3)](exports[_0x57a059(0x109)],_0x342e52,_0xed5822,_0x2ca5f0,_0xce33c5,_0x29307d,void 0x0):_0x2ca5f0?_0x42b819[_0x57a059(0x3b3)](exports[_0x57a059(0x388)],_0x342e52,_0xed5822,_0x2ca5f0,_0x29307d):_0xce33c5['length']?_0x42b819[_0x57a059(0x3b3)](exports[_0x57a059(0x1d4)],_0x342e52,_0xed5822,_0xce33c5,_0x29307d):_0x42b819['createInstance'](exports['SyncedState'],_0x342e52,_0xed5822,_0x29307d);}var si=Object[_0x346389(0x21c)],Be=(_0x10b7a8,_0x4e13dd,_0x4afaef,_0x4edb21)=>{for(var _0x20a5ad=_0x4edb21>0x1?void 0x0:_0x4edb21?si(_0x4e13dd,_0x4afaef):_0x4e13dd,_0x290a50=_0x10b7a8['length']-0x1,_0x416e1c;_0x290a50>=0x0;_0x290a50--)(_0x416e1c=_0x10b7a8[_0x290a50])&&(_0x20a5ad=_0x416e1c(_0x20a5ad)||_0x20a5ad);return _0x20a5ad;},$=(_0x1128f2,_0x5582d9)=>(_0x22fd2c,_0x1b9f85)=>_0x5582d9(_0x22fd2c,_0x1b9f85,_0x1128f2);exports['CollaborationEntity']=class extends o[_0x346389(0x29a)]{constructor(_0xa44e28,_0x2abeb4,_0x5ec913,_0x4016d3,_0x20e7d6,_0x266aed,_0x510a9c,_0x53817d,_0x4af93e,_0x5bdab9,_0x2be191,_0x496785,_0x1cec0d,_0x1e9e67){var _0x256fbb=_0x346389;super(),A(this,_0x256fbb(0x27e),new j['BehaviorSubject'](null)),A(this,_0x256fbb(0x411),this[_0x256fbb(0x27e)]['asObservable']()),A(this,_0x256fbb(0x104)),A(this,'_collaborationPaused',!0x1),A(this,_0x256fbb(0x370),''),A(this,_0x256fbb(0x3b5),0x0),A(this,_0x256fbb(0x279),this['state$'][_0x256fbb(0x442)](j[_0x256fbb(0x41e)](_0xafb94=>_0xafb94?_0xafb94[_0x256fbb(0x119)]:je['OFFLINE']),j[_0x256fbb(0x186)](0x1))),A(this,_0x256fbb(0xf4),!0x1),A(this,_0x256fbb(0x307),[]),(this[_0x256fbb(0x212)]=_0xa44e28,this[_0x256fbb(0x27c)]=_0x2abeb4,this[_0x256fbb(0x367)]=_0x5ec913,this[_0x256fbb(0x258)]=_0x4016d3,this[_0x256fbb(0x215)]=_0x20e7d6,this[_0x256fbb(0x22b)]=_0x266aed,this['_revisionService']=_0x510a9c,this['_eventService']=_0x53817d,this[_0x256fbb(0x334)]=_0x4af93e,this['_logService']=_0x5bdab9,this[_0x256fbb(0x13d)]=_0x2be191,this[_0x256fbb(0x316)]=_0x496785,this['_singleActiveUnitService']=_0x1cec0d,this[_0x256fbb(0x249)]=_0x1e9e67);}get['state'](){var _0x1c7ac2=_0x346389;return this[_0x1c7ac2(0x104)];}async[_0x346389(0x1e3)](){var _0x1b3de6=_0x346389;if(this[_0x1b3de6(0xcf)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x1b3de6(0x206)]();}[_0x346389(0x32e)](){var _0xc736ab=_0x346389;return this[_0xc736ab(0x372)]=!0x0,o['toDisposable'](()=>{var _0x39a7ba=_0xc736ab;this['_collaborationPaused']=!0x1,this[_0x39a7ba(0x297)]();});}[_0x346389(0x3ce)](_0x1bc7b9){var _0x2677a3=_0x346389;this[_0x2677a3(0x25d)](_0x1bc7b9);}[_0x346389(0x377)](_0x21628a){var _0x4bb6c6=_0x346389;this[_0x4bb6c6(0x104)]=_0x21628a,this[_0x4bb6c6(0x27e)][_0x4bb6c6(0x408)](_0x21628a);}async[_0x346389(0x206)](){var _0x2c977a=_0x346389,_0x29059f;this['_updateState'](await this[_0x2c977a(0x3f7)]()),this[_0x2c977a(0x155)]&&((_0x29059f=this[_0x2c977a(0x155)])==null||_0x29059f[_0x2c977a(0x222)](this[_0x2c977a(0x212)]),this[_0x2c977a(0x34e)](this[_0x2c977a(0x155)][_0x2c977a(0x294)](this[_0x2c977a(0x212)])[_0x2c977a(0x1f7)](_0x55e9f2=>{var _0x3912de=_0x2c977a;this['_logService'][_0x3912de(0x20f)]('[CollaborationEntity]',_0x3912de(0x120),_0x55e9f2),_0x55e9f2===He['OTHER_CLIENTS_EDITING']?(this[_0x3912de(0x2fe)][_0x3912de(0xc5)]({'id':J[_0x3912de(0x3a8)]}),this['_permissionService'][_0x3912de(0x290)](new Q['WorkbookEditablePermission'](this[_0x3912de(0x212)])['id'],!0x1),this[_0x3912de(0x316)][_0x3912de(0x1dd)](!0x1)):(this['_permissionService'][_0x3912de(0x290)](new Q[(_0x3912de(0x344))](this[_0x3912de(0x212)])['id'],!0x0),this[_0x3912de(0x316)][_0x3912de(0x1dd)](!0x0));})));let _0x24e4f1=!0x1;return this[_0x2c977a(0x34e)](this['session'][_0x2c977a(0x137)][_0x2c977a(0x1f7)](_0x5af9bb=>{var _0x517d40=_0x2c977a;_0x5af9bb===se[_0x517d40(0x143)]?this[_0x517d40(0x1cc)](_0x24e4f1):_0x5af9bb===se[_0x517d40(0x38b)]&&(_0x24e4f1=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x2c977a(0x27c)]['event$']['subscribe'](_0x5ae267=>{var _0x40a320=_0x2c977a;try{switch(_0x5ae267['eventID']){case E[_0x40a320(0x3e4)][_0x40a320(0xc9)]:{this[_0x40a320(0x24c)](E[_0x40a320(0x406)](_0x5ae267[_0x40a320(0x2f9)]));break;}case E[_0x40a320(0x3e4)][_0x40a320(0x1c1)]:{this[_0x40a320(0x3c8)](_0x5ae267['data']);break;}case E[_0x40a320(0x3e4)]['CHANGESET_REJ']:{this[_0x40a320(0x2f3)]();break;}case E[_0x40a320(0x3e4)][_0x40a320(0x3c0)]:{this[_0x40a320(0x3cb)](_0x5ae267['data']);break;}case E[_0x40a320(0x3e4)][_0x40a320(0x287)]:{this[_0x40a320(0x170)](_0x5ae267[_0x40a320(0x2f9)][_0x40a320(0x386)]['map'](_0xb8e8cd=>E[_0x40a320(0x406)](_0xb8e8cd)));break;}case E[_0x40a320(0x3e4)][_0x40a320(0x3c9)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case E[_0x40a320(0x3e4)]['UNISCRIPT_RUN']:break;}}catch(_0x1c5b34){throw console[_0x40a320(0x286)]('Error\x20on\x20receiving\x20event',_0x1c5b34),_0x1c5b34;}})),this[_0x2c977a(0x104)];}[_0x346389(0x105)](){var _0x58c692=_0x346389;this[_0x58c692(0xf4)]=!0x1;}[_0x346389(0x3e7)](){var _0x3e823a=_0x346389;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x3e823a(0xf4)]=!0x0;}[_0x346389(0x25d)](_0x3d2a9a){var _0x5c3fc0=_0x346389;this['_lockTransition'](),this[_0x5c3fc0(0x377)](this[_0x5c3fc0(0x104)][_0x5c3fc0(0x435)](_0x3d2a9a)),this[_0x5c3fc0(0x105)]();}[_0x346389(0x24c)](_0x5ab41e){var _0x5ea394=_0x346389;if(!(_0x5ab41e[_0x5ea394(0xdc)]<=this[_0x5ea394(0x3a2)][_0x5ea394(0x3ed)](this['unitID']))){if(this[_0x5ea394(0x372)]){this['_remoteChangesetQueue']['push'](_0x5ab41e);return;}this[_0x5ea394(0xf1)](_0x5ab41e);}}['_exhaustRemoteChangesetQueue'](){var _0x66a40=_0x346389;this['_remoteChangesetQueue'][_0x66a40(0x2b3)](_0x7818ba=>this[_0x66a40(0xf1)](_0x7818ba)),this[_0x66a40(0x307)]=[];}[_0x346389(0xf1)](_0xf62eb8){var _0x7aba9b=_0x346389;const _0x2e87a9=this['_compressMutationService']['interceptor'][_0x7aba9b(0x3bb)](this[_0x7aba9b(0x215)][_0x7aba9b(0x14c)][_0x7aba9b(0x328)]()[_0x7aba9b(0x34f)])(_0xf62eb8[_0x7aba9b(0x2aa)],null)||_0xf62eb8[_0x7aba9b(0x2aa)],_0x450466={..._0xf62eb8,'mutations':_0x2e87a9};this[_0x7aba9b(0x3e7)](),this[_0x7aba9b(0x377)](this[_0x7aba9b(0x104)]['onRemoteChangeset'](_0x450466)),this['_unlockTransition']();}[_0x346389(0x3c8)](_0x9705fa){var _0xd090b4=_0x346389;this[_0xd090b4(0x3e7)](),this[_0xd090b4(0x377)](this[_0xd090b4(0x104)]['onRemoteAck'](_0x9705fa)),this['_unlockTransition']();}[_0x346389(0x2f3)](_0xb1d95b){var _0x23ba3e=_0x346389;this[_0x23ba3e(0x3e7)](),this['_updateState'](this[_0x23ba3e(0x104)][_0x23ba3e(0xc7)](_0xb1d95b)),this['_unlockTransition']();}[_0x346389(0x3cb)](_0x21dd3f){var _0x12b08d=_0x346389;this['_lockTransition'](),this[_0x12b08d(0x377)](this['_state'][_0x12b08d(0x117)](_0x21dd3f)),this[_0x12b08d(0x105)]();}[_0x346389(0x170)](_0x5826d2){var _0x3bc115=_0x346389;if(!(this['_state']instanceof exports[_0x3bc115(0x2d5)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x27480d=_0x5826d2[_0x3bc115(0x41e)](_0x4aad3b=>{var _0x15de95=_0x3bc115;const _0x2b1eef=this[_0x15de95(0x215)][_0x15de95(0x14c)]['fetchThroughInterceptors'](this[_0x15de95(0x215)][_0x15de95(0x14c)][_0x15de95(0x328)]()['COMPRESS_MUTATION_APPLY'])(_0x4aad3b[_0x15de95(0x2aa)],null)||_0x4aad3b[_0x15de95(0x2aa)];return{..._0x4aad3b,'mutations':_0x2b1eef};});this[_0x3bc115(0x3e7)](),this[_0x3bc115(0x377)](this['_state'][_0x3bc115(0x2ed)](_0x27480d)),this[_0x3bc115(0x105)]();}[_0x346389(0x1a6)](){var _0x4549b5=_0x346389;this['_lockTransition'](),this[_0x4549b5(0x377)](this[_0x4549b5(0x104)][_0x4549b5(0x1b8)]()),this[_0x4549b5(0x105)]();}[_0x346389(0x1cc)](_0x2b65f9=!0x1){var _0x569852=_0x346389;this[_0x569852(0x3e7)](),this[_0x569852(0x377)](this[_0x569852(0x104)]['toggleOnline']()),this[_0x569852(0x105)]();const _0x111144=this['_state'];_0x2b65f9&&_0x111144 instanceof exports[_0x569852(0x40a)]&&(this[_0x569852(0x3e7)](),this[_0x569852(0x377)](_0x111144[_0x569852(0x256)]()),this['_unlockTransition']());}async[_0x346389(0x3f7)](){return new Promise(_0x1e0841=>{var _0x5b9d7a=_0x2174;this[_0x5b9d7a(0x27c)][_0x5b9d7a(0x137)][_0x5b9d7a(0x442)](j['take'](0x1))['subscribe'](async _0x544c94=>{var _0x50057e=_0x5b9d7a;_0x1e0841(await this['_createInitialStateImpl'](_0x544c94===se[_0x50057e(0x143)]));});});}[_0x346389(0x21d)](){const _0x266408=this['unitID'];return{'onStateChange':(_0x4a4a54,_0x4b849f)=>{var _0x3f0f19=_0x2174;if(_0x4a4a54!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4a4a54[_0x3f0f19(0x119)]+'\x0aAfter:\x20'+_0x4b849f[_0x3f0f19(0x119)]+_0x3f0f19(0x43b)+this[_0x3f0f19(0x104)]['status']);this[_0x3f0f19(0x377)](_0x4b849f);},'onSendChangeset':_0x1b072a=>{var _0x237ff6=_0x2174;_0x1b072a[_0x237ff6(0xe0)]||(_0x1b072a[_0x237ff6(0xe0)]=this[_0x237ff6(0x370)],_0x1b072a['reqId']=++this[_0x237ff6(0x3b5)]);const _0xd5903b={'eventID':E[_0x237ff6(0x3e4)][_0x237ff6(0x3ba)],'data':{'unitID':_0x1b072a[_0x237ff6(0x212)],'unitType':this[_0x237ff6(0x367)],'changeset':_0x1b072a,'memberID':this[_0x237ff6(0x27c)][_0x237ff6(0x2d7)]()}};this['session']['send'](_0xd5903b,this[_0x237ff6(0x212)]);},'onMissingChangesets':({from:_0x11c2de,to:_0x501738})=>{var _0x3fd84f=_0x2174;this[_0x3fd84f(0x306)][_0x3fd84f(0x20f)]('[CollaborationEntity]',_0x3fd84f(0x1fd)+_0x11c2de+_0x3fd84f(0x2da)+_0x501738);const _0x507a00={'eventID':E[_0x3fd84f(0x3e4)][_0x3fd84f(0x40f)],'data':{'unitID':_0x266408,'unitType':this[_0x3fd84f(0x367)],'from':_0x11c2de,'to':_0x501738}};this[_0x3fd84f(0x27c)]['send'](_0x507a00,this[_0x3fd84f(0x212)]);}};}async[_0x346389(0x2dc)](_0x609b7d){var _0x3b2c90=_0x346389,_0x2acc82,_0x3b77ac,_0x11219f;const _0x5923b4=await((_0x2acc82=this[_0x3b2c90(0x249)])==null?void 0x0:_0x2acc82[_0x3b2c90(0x2d0)](this[_0x3b2c90(0x212)])),_0x3af05b=(_0x3b77ac=_0x5923b4==null?void 0x0:_0x5923b4[_0x3b2c90(0x2aa)])!=null?_0x3b77ac:[],_0x2082a6=(_0x11219f=_0x5923b4==null?void 0x0:_0x5923b4[_0x3b2c90(0x14f)])!=null?_0x11219f:null,_0x24aa0b=!!(_0x2082a6!=null&&_0x2082a6['sid'])&&!!(_0x2082a6!=null&&_0x2082a6[_0x3b2c90(0xcb)]);this[_0x3b2c90(0x370)]=_0x24aa0b?_0x2082a6[_0x3b2c90(0xe0)]:E[_0x3b2c90(0x353)](),this[_0x3b2c90(0x3b5)]=_0x24aa0b?_0x2082a6[_0x3b2c90(0xcb)]:0x0;const _0x3eaf5e=this[_0x3b2c90(0x212)];try{this[_0x3b2c90(0x3aa)](_0x2082a6,_0x3af05b);}catch(_0xfae291){this[_0x3b2c90(0x306)][_0x3b2c90(0x286)](_0xfae291);}const _0x2b08b2=this[_0x3b2c90(0x21d)]();if(_0x609b7d){const _0x3377f6=Et(this['_injector'],_0x3eaf5e,this['_type'],_0x2082a6,_0x3af05b,_0x2b08b2);return _0x3377f6 instanceof exports[_0x3b2c90(0x1d4)]?_0x3377f6[_0x3b2c90(0x19c)]():(_0x3377f6 instanceof exports['AwaitingWithPendingState']||_0x3377f6 instanceof exports[_0x3b2c90(0x388)])&&_0x3377f6['resend'](),_0x3377f6;}return this[_0x3b2c90(0x258)]['createInstance'](exports[_0x3b2c90(0x379)],_0x3eaf5e,this[_0x3b2c90(0x367)],_0x2082a6,_0x3af05b,_0x2b08b2);}[_0x346389(0x3aa)](_0x432cf7,_0x4a49b0){var _0x17f776=_0x346389,_0x303ca6,_0x58e8ea;const _0xb76bea=this[_0x17f776(0x215)][_0x17f776(0x14c)][_0x17f776(0x3bb)](this[_0x17f776(0x215)][_0x17f776(0x14c)][_0x17f776(0x328)]()[_0x17f776(0x34f)]);(_0x303ca6=_0xb76bea((_0x432cf7==null?void 0x0:_0x432cf7[_0x17f776(0x2aa)])||[],null))==null||_0x303ca6['forEach'](_0x11f843=>this[_0x17f776(0x13d)][_0x17f776(0x123)](_0x11f843['id'],_0x11f843[_0x17f776(0x12b)])),(_0x58e8ea=_0xb76bea(_0x4a49b0||[],null))==null||_0x58e8ea['forEach'](_0x1fe750=>this['_commandService']['executeCommand'](_0x1fe750['id'],_0x1fe750[_0x17f776(0x12b)]));}},exports[_0x346389(0x1ea)]=Be([$(0x3,o[_0x346389(0x33c)](o['Injector'])),$(0x4,o[_0x346389(0x33c)](E['CompressMutationService'])),$(0x5,o[_0x346389(0x33c)](o[_0x346389(0x3dc)])),$(0x6,o[_0x346389(0x33c)](E[_0x346389(0x300)])),$(0x7,o[_0x346389(0x33c)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o['ILogService']),$(0xa,o[_0x346389(0x1ac)]),$(0xb,o[_0x346389(0x261)]),$(0xc,o[_0x346389(0x32f)](ve)),$(0xd,o[_0x346389(0x32f)](q))],exports[_0x346389(0x1ea)]),exports[_0x346389(0x33a)]=class extends exports[_0x346389(0x1ea)]{constructor(_0x73b07f,_0x40bcfa,_0x5bb185,_0x4aac64,_0x3bf66c,_0x49f432,_0x32c22e,_0x1f2e12,_0x5e562b,_0x278770,_0x5618f2,_0x530b83,_0x5af76b,_0x37de54){var _0x25dce2=_0x346389;super(_0x73b07f,_0x5bb185,_0x40bcfa,_0x4aac64,_0x3bf66c,_0x49f432,_0x32c22e,_0x1f2e12,_0x5e562b,_0x278770,_0x5618f2,_0x530b83,_0x5af76b,_0x37de54),A(this,_0x25dce2(0x343),null),(this[_0x25dce2(0x212)]=_0x73b07f,this[_0x25dce2(0x424)]=_0x40bcfa);}[_0x346389(0xc8)](_0x188ae7){var _0x2af8c0=_0x346389;this[_0x2af8c0(0x343)]=_0x188ae7;}[_0x346389(0x246)](){var _0x4b075d=_0x346389;this[_0x4b075d(0x343)]=null,super[_0x4b075d(0x246)]();}[_0x346389(0x21d)](){var _0x1c8c67=_0x346389;const _0x7a7b42=super[_0x1c8c67(0x21d)]();return _0x7a7b42[_0x1c8c67(0x402)]=_0x8e6777=>{var _0x177c92=_0x1c8c67,_0x245eba,_0x2196da;return(_0x2196da=(_0x245eba=this[_0x177c92(0x343)])==null?void 0x0:_0x245eba['onTransformIME'])==null?void 0x0:_0x2196da[_0x177c92(0x15a)](_0x245eba,_0x8e6777);},_0x7a7b42[_0x1c8c67(0x371)]=_0x80df95=>{var _0x4c7eed=_0x1c8c67,_0x2e5f86,_0x196dda;return(_0x196dda=(_0x2e5f86=this['_handlerCallback'])==null?void 0x0:_0x2e5f86[_0x4c7eed(0x371)])==null?void 0x0:_0x196dda[_0x4c7eed(0x15a)](_0x2e5f86,_0x80df95);},_0x7a7b42[_0x1c8c67(0x14b)]=_0x1f7ddc=>{var _0x29f534=_0x1c8c67,_0x4b02a5,_0x22d3d0;return(_0x22d3d0=(_0x4b02a5=this['_handlerCallback'])==null?void 0x0:_0x4b02a5[_0x29f534(0x14b)])==null?void 0x0:_0x22d3d0[_0x29f534(0x15a)](_0x4b02a5,_0x1f7ddc);},_0x7a7b42['onSyncEditingCollabCursor']=_0x252081=>{var _0x1a5927=_0x1c8c67,_0x4266e2,_0x473eab;return(_0x473eab=(_0x4266e2=this[_0x1a5927(0x343)])==null?void 0x0:_0x4266e2['onSyncEditingCollabCursor'])==null?void 0x0:_0x473eab['call'](_0x4266e2,_0x252081);},_0x7a7b42[_0x1c8c67(0x274)]=_0x372f48=>{var _0x40f7d1=_0x1c8c67,_0x1c2d7d,_0x1b3197,_0x2246c0;if(!((_0x1c2d7d=this[_0x40f7d1(0x343)])!=null&&_0x1c2d7d['onTransformRemoteChangesetByIMECache']))throw new Error(_0x40f7d1(0x2d1));return(_0x2246c0=(_0x1b3197=this[_0x40f7d1(0x343)])==null?void 0x0:_0x1b3197[_0x40f7d1(0x274)])==null?void 0x0:_0x2246c0[_0x40f7d1(0x15a)](_0x1b3197,_0x372f48);},_0x7a7b42[_0x1c8c67(0x295)]=_0x391f6b=>{var _0x104cf7=_0x1c8c67,_0xb0e4dd,_0x376eb8,_0x5f0095;if(!((_0xb0e4dd=this[_0x104cf7(0x343)])!=null&&_0xb0e4dd['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5f0095=(_0x376eb8=this['_handlerCallback'])==null?void 0x0:_0x376eb8[_0x104cf7(0x295)])==null?void 0x0:_0x5f0095['call'](_0x376eb8,_0x391f6b);},_0x7a7b42;}async['_init'](){var _0x348fe8=_0x346389;const _0x3099c4=await super[_0x348fe8(0x206)]();return this[_0x348fe8(0x34e)](this[_0x348fe8(0x13d)][_0x348fe8(0x1c9)]((_0x607684,_0x30294d)=>{var _0x3bdae2=_0x348fe8;if(_0x607684[_0x3bdae2(0x424)]!==o[_0x3bdae2(0x207)][_0x3bdae2(0x1ed)]||_0x30294d!=null&&_0x30294d[_0x3bdae2(0x152)]||_0x30294d!=null&&_0x30294d['onlyLocal']||_0x607684['id']===ct['RichTextEditingMutation']['id'])return;const _0x281862=_0x607684[_0x3bdae2(0x12b)];if((_0x281862==null?void 0x0:_0x281862[_0x3bdae2(0x440)])!==this[_0x3bdae2(0x212)])return;const _0x3fcbbc=_0x607684,_0x4030a8=this[_0x3bdae2(0x215)][_0x3bdae2(0x14c)][_0x3bdae2(0x3bb)](this['_compressMutationService'][_0x3bdae2(0x14c)]['getInterceptPoints']()[_0x3bdae2(0x29e)])([_0x3fcbbc],this[_0x3bdae2(0x334)])||[_0x3fcbbc];this[_0x3bdae2(0x25d)](_0x4030a8[0x0]);})),_0x3099c4;}},exports[_0x346389(0x33a)]=Be([$(0x3,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),$(0x4,o[_0x346389(0x33c)](E[_0x346389(0x166)])),$(0x5,o[_0x346389(0x33c)](o[_0x346389(0x3dc)])),$(0x6,o['Inject'](E[_0x346389(0x300)])),$(0x7,o[_0x346389(0x33c)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o[_0x346389(0x245)]),$(0xa,o[_0x346389(0x1ac)]),$(0xb,o[_0x346389(0x261)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x346389(0x32f)](q))],exports[_0x346389(0x33a)]),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x239b0d,_0x769583,_0x59046e,_0x5cd748,_0x1b8562,_0x1c327b,_0x253673,_0x40c4a4,_0x549cdc,_0x2cf485,_0x10a03c,_0x4cc1fd,_0x35656a,_0x2014ad,_0x2f70c5){var _0x43a07b=_0x346389;super(_0x239b0d,_0x59046e,_0x769583,_0x5cd748,_0x1b8562,_0x1c327b,_0x253673,_0x549cdc,_0x2cf485,_0x10a03c,_0x4cc1fd,_0x35656a,_0x2014ad,_0x2f70c5),this[_0x43a07b(0x212)]=_0x239b0d,this['type']=_0x769583,this[_0x43a07b(0x3b0)]=_0x40c4a4;}[_0x346389(0x21d)](){var _0x72a566=_0x346389;const _0x2ff55c=super['_createHandler']();return _0x2ff55c[_0x72a566(0x14b)]=_0x40f601=>this[_0x72a566(0x3b0)]['transformSelections'](_0x40f601),_0x2ff55c;}async[_0x346389(0x206)](){var _0x349ad9=_0x346389;const _0x39adc0=await super[_0x349ad9(0x206)]();return this['disposeWithMe'](this[_0x349ad9(0x13d)]['onMutationExecutedForCollab']((_0x4b484c,_0x158375)=>{var _0x1a2fc7=_0x349ad9;if(_0x4b484c['type']!==o[_0x1a2fc7(0x207)][_0x1a2fc7(0x1ed)]||_0x158375!=null&&_0x158375['fromCollab']||_0x158375!=null&&_0x158375[_0x1a2fc7(0x3ae)])return;const _0x2b1e1f=_0x4b484c[_0x1a2fc7(0x12b)];if((_0x2b1e1f==null?void 0x0:_0x2b1e1f[_0x1a2fc7(0x440)])!==this['unitID'])return;const _0x5d0ae8=_0x4b484c,_0x566d5e=this[_0x1a2fc7(0x215)]['interceptor'][_0x1a2fc7(0x3bb)](this[_0x1a2fc7(0x215)][_0x1a2fc7(0x14c)]['getInterceptPoints']()[_0x1a2fc7(0x29e)])([_0x5d0ae8],this[_0x1a2fc7(0x334)])||[_0x5d0ae8];this[_0x1a2fc7(0x25d)](_0x566d5e[0x0]);})),_0x39adc0;}},exports[_0x346389(0x281)]=Be([$(0x3,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),$(0x4,o[_0x346389(0x33c)](E[_0x346389(0x166)])),$(0x5,o[_0x346389(0x33c)](o[_0x346389(0x3dc)])),$(0x6,o[_0x346389(0x33c)](E['RevisionService'])),$(0x7,o[_0x346389(0x33c)](exports['SheetTransformSelectionsService'])),$(0x8,o['Inject'](ee)),$(0x9,o[_0x346389(0x1c6)]),$(0xa,o['ILogService']),$(0xb,o[_0x346389(0x1ac)]),$(0xc,o[_0x346389(0x261)]),$(0xd,o[_0x346389(0x32f)](ve)),$(0xe,o['Optional'](q))],exports[_0x346389(0x281)]);const pt=o['createIdentifier'](_0x346389(0x35e));function mt(_0x35c962){var _0x29c085=_0x346389,_0x1c48d1,_0xd7d89f,_0x19febf,_0x4340a1,_0x3da6b6;const _0x369fa3=_0x35c962[_0x29c085(0x2f9)],_0x3599a=JSON[_0x29c085(0xed)](_0x369fa3);switch(_0x3599a[_0x29c085(0x289)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x3fe452=_0x3599a[_0x29c085(0x380)];return{..._0x3599a,'data':_0x3fe452,'cmd':_0x3599a[_0x29c085(0x289)]};}case W[_0x29c085(0x2d2)]:{const _0x53e323=_0x3599a[_0x29c085(0x169)];return{..._0x3599a,'data':_0x53e323,'cmd':_0x3599a[_0x29c085(0x289)]};}case W[_0x29c085(0x31e)]:{const _0x1f5c46=_0x3599a[_0x29c085(0x189)];switch(_0x1f5c46['eventID']){case E[_0x29c085(0x3e4)]['PERMISSION_REJ']:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0x1c48d1=_0x1f5c46[_0x29c085(0x163)])==null?void 0x0:_0x1c48d1['cs']},'cmd':_0x3599a['cmd']};case E[_0x29c085(0x3e4)][_0x29c085(0x1c1)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0xd7d89f=_0x1f5c46[_0x29c085(0x1ee)])==null?void 0x0:_0xd7d89f['cs']},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)]['NEW_CHANGESETS']:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0x19febf=_0x1f5c46[_0x29c085(0xde)])==null?void 0x0:_0x19febf['cs']},'cmd':_0x3599a[_0x29c085(0x289)]};case E['CollaborationEvent'][_0x29c085(0x2f5)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0x4340a1=_0x1f5c46[_0x29c085(0xd1)])==null?void 0x0:_0x4340a1['cs']},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x3c0)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':(_0x3da6b6=_0x1f5c46['csShouldRetryEvent'])==null?void 0x0:_0x3da6b6['cs']},'cmd':_0x3599a['cmd']};case E['CollaborationEvent'][_0x29c085(0x19e)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['updateCursorEvent']},'cmd':_0x3599a[_0x29c085(0x289)]};case E['CollaborationEvent']['USERS_ENTER']:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['joinEvent']},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x22e)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x149)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x41f)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['liveShareNewHost']},'cmd':_0x3599a['cmd']};case E['CollaborationEvent'][_0x29c085(0x1c2)]:case E[_0x29c085(0x3e4)][_0x29c085(0xdf)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['liveShareOperation']},'cmd':_0x3599a['cmd']};case E[_0x29c085(0x3e4)][_0x29c085(0x26c)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x2e9)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E['CollaborationEvent'][_0x29c085(0xf8)]:return{..._0x3599a,'data':_0x1f5c46,'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x30d)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x375)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)]['UPDATE_PERMISSION_OBJ']:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x299)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E['CollaborationEvent'][_0x29c085(0x175)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46[_0x29c085(0x322)]},'cmd':_0x3599a[_0x29c085(0x289)]};case E[_0x29c085(0x3e4)][_0x29c085(0x356)]:return{..._0x3599a,'data':{..._0x1f5c46,'data':_0x1f5c46['uniscriptRunEvent']},'cmd':_0x3599a[_0x29c085(0x289)]};default:return _0x3599a;}}default:return _0x3599a;}}function gt(_0x1f71db){var _0x21c6a6=_0x346389;switch(_0x1f71db[_0x21c6a6(0x289)]){case W[_0x21c6a6(0x16a)]:case W[_0x21c6a6(0x429)]:return JSON[_0x21c6a6(0x3cf)]({'cmd':_0x1f71db['cmd'],'routeKey':_0x1f71db[_0x21c6a6(0x2ea)]});case W['INGEST']:{let _0x3154cd;switch(_0x1f71db[_0x21c6a6(0x2f9)][_0x21c6a6(0x107)]){case E['CollaborationEvent'][_0x21c6a6(0x19e)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x19e)],'updateCursorEvent':_0x1f71db[_0x21c6a6(0x2f9)]['data']};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0x22e)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x22e)],'leaveEvent':_0x1f71db['data'][_0x21c6a6(0x2f9)]};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0x12d)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x12d)],'joinEvent':_0x1f71db[_0x21c6a6(0x2f9)][_0x21c6a6(0x2f9)]};break;}case E['CollaborationEvent'][_0x21c6a6(0x41f)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x41f)],'liveShareNewHost':_0x1f71db[_0x21c6a6(0x2f9)][_0x21c6a6(0x2f9)]};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0xdf)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0xdf)],'liveShareOperation':_0x1f71db['data'][_0x21c6a6(0x2f9)]};break;}case E['CollaborationEvent'][_0x21c6a6(0x26c)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1f71db[_0x21c6a6(0x2f9)][_0x21c6a6(0x2f9)]};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0x330)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)][_0x21c6a6(0x330)],'liveShareRequestHost':_0x1f71db[_0x21c6a6(0x2f9)]['data']};break;}case E[_0x21c6a6(0x3e4)][_0x21c6a6(0x1c2)]:{_0x3154cd={'eventID':E[_0x21c6a6(0x3e4)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3154cd={'eventID':_0x1f71db[_0x21c6a6(0x2f9)]['eventID']};}return JSON[_0x21c6a6(0x3cf)]({'cmd':_0x1f71db[_0x21c6a6(0x289)],'routeKey':_0x1f71db[_0x21c6a6(0x2ea)],'collaMsg':_0x3154cd});}case W[_0x21c6a6(0x2d2)]:return JSON[_0x21c6a6(0x3cf)]({'cmd':_0x1f71db[_0x21c6a6(0x289)],'routeKey':_0x1f71db['routeKey'],'joinReq':_0x1f71db['data']});case W[_0x21c6a6(0x34b)]:return JSON[_0x21c6a6(0x3cf)]({'cmd':_0x1f71db[_0x21c6a6(0x289)],'routeKey':_0x1f71db[_0x21c6a6(0x2ea)],'leaveReq':_0x1f71db[_0x21c6a6(0x2f9)]});default:throw new Error(_0x21c6a6(0x2bd));}}var ri=Object[_0x346389(0x21c)],ai=(_0xf3788d,_0x333c62,_0x7df0ab,_0x1fc3c3)=>{var _0x28890f=_0x346389;for(var _0x168878=_0x1fc3c3>0x1?void 0x0:_0x1fc3c3?ri(_0x333c62,_0x7df0ab):_0x333c62,_0x4c4f06=_0xf3788d[_0x28890f(0x260)]-0x1,_0x356295;_0x4c4f06>=0x0;_0x4c4f06--)(_0x356295=_0xf3788d[_0x4c4f06])&&(_0x168878=_0x356295(_0x168878)||_0x168878);return _0x168878;},he=(_0xe9d09a,_0x371366)=>(_0x171219,_0x1e1168)=>_0x371366(_0x171219,_0x1e1168,_0xe9d09a);const Fe=o[_0x346389(0x28c)](_0x346389(0x3cc));function oi(_0x23b111,_0x1e4539,_0x47a2ec){var _0x5c309a=_0x346389;return _0x23b111+'/'+_0x1e4539+_0x5c309a(0xf5)+_0x47a2ec+'/new_changes';}exports[_0x346389(0x419)]=class extends o[_0x346389(0x18e)]{constructor(_0x52243c,_0x34dea2,_0x15e644,_0xfdef82,_0x2d058c){var _0x564554=_0x346389;super(),this[_0x564554(0x258)]=_0x52243c,this[_0x564554(0x28d)]=_0x34dea2,this[_0x564554(0x13b)]=_0x15e644,this[_0x564554(0x306)]=_0xfdef82,this[_0x564554(0x312)]=_0x2d058c;}['_doCreateSocket'](_0x1bf60c){var _0x2c2686=_0x346389;const _0x3e8e56=this['_injector'][_0x2c2686(0x16e)](K[_0x2c2686(0x2cb)]);if(!_0x3e8e56)throw new Error(_0x2c2686(0x33f));const _0x138f64=_0x3e8e56['createSocket'](_0x1bf60c);if(!_0x138f64)throw new Error(_0x2c2686(0x42d));const _0x34a13b=new o[(_0x2c2686(0x41d))](),_0x304646=new j[(_0x2c2686(0x1b5))]();_0x34a13b['add'](_0x138f64['close$']['subscribe'](_0x1042ca=>_0x304646[_0x2c2686(0x408)](_0x1042ca))),_0x34a13b[_0x2c2686(0x203)](o['toDisposable'](()=>_0x304646[_0x2c2686(0x339)]()));const _0x35a2f2=new j[(_0x2c2686(0x1b5))]();_0x34a13b[_0x2c2686(0x203)](_0x138f64[_0x2c2686(0x345)][_0x2c2686(0x1f7)](_0x525a0e=>_0x35a2f2[_0x2c2686(0x408)](_0x525a0e))),_0x34a13b['add'](o[_0x2c2686(0x42e)](()=>_0x35a2f2[_0x2c2686(0x339)]()));const _0x157df2=new j[(_0x2c2686(0x1b5))]();_0x34a13b[_0x2c2686(0x203)](_0x138f64[_0x2c2686(0x34a)][_0x2c2686(0x1f7)](_0x2c6d9e=>{var _0x533f49=_0x2c2686;const _0x5be376=mt(_0x2c6d9e);_0x157df2[_0x533f49(0x408)](_0x5be376);})),_0x34a13b[_0x2c2686(0x203)](o[_0x2c2686(0x42e)](()=>_0x157df2[_0x2c2686(0x339)]()));let _0x45991b;const _0x436447=()=>{var _0x24c1e1=_0x2c2686;_0x35a2f2[_0x24c1e1(0x408)](new Event('connection\x20error')),_0x304646[_0x24c1e1(0x408)](new Event(_0x24c1e1(0xe1))),_0x45991b['close']();};return _0x45991b={'memberID':'','close$':_0x304646[_0x2c2686(0x33e)](),'error$':_0x35a2f2['asObservable'](),'open$':_0x138f64[_0x2c2686(0x282)],'message$':_0x157df2[_0x2c2686(0x33e)](),'send':_0x32f663=>{var _0x1dfaf2=_0x2c2686;if(_0x32f663[_0x1dfaf2(0x289)]===W[_0x1dfaf2(0x209)]){if(_0x32f663['data']['eventID']===E['CollaborationEvent'][_0x1dfaf2(0x3ba)]){this[_0x1dfaf2(0x16f)](_0x45991b,_0x32f663[_0x1dfaf2(0x2f9)])[_0x1dfaf2(0x14d)](_0x194b32=>{var _0x1e84e2=_0x1dfaf2;this[_0x1e84e2(0x306)][_0x1e84e2(0x286)](_0x194b32),_0x436447();});return;}if(_0x32f663['data'][_0x1dfaf2(0x107)]===E[_0x1dfaf2(0x3e4)][_0x1dfaf2(0x40f)]){const _0xa76c2d=_0x32f663['data'];this[_0x1dfaf2(0x2c6)](_0xa76c2d)[_0x1dfaf2(0x409)](_0x19a90d=>{var _0x55fd17=_0x1dfaf2;_0x157df2[_0x55fd17(0x408)]({'cmd':W[_0x55fd17(0x31e)],'code':re['OK'],'routeKey':_0xa76c2d[_0x55fd17(0x2f9)][_0x55fd17(0x212)],'routeType':'','data':{'eventID':E[_0x55fd17(0x3e4)][_0x55fd17(0x287)],'data':{'changesets':_0x19a90d}}});})[_0x1dfaf2(0x14d)](_0x7dfdd8=>{var _0x2ac605=_0x1dfaf2;this[_0x2ac605(0x306)][_0x2ac605(0x286)](_0x7dfdd8),_0x436447();});return;}}_0x138f64[_0x1dfaf2(0x36d)](gt(_0x32f663));},'close':()=>{var _0x467632=_0x2c2686;_0x138f64[_0x467632(0x197)](),_0x34a13b['dispose']();}},_0x45991b;}async['_submitChangeset'](_0x3f70e6,_0x12608d){var _0xb6ba2e=_0x346389,_0x4d1993;const {unitType:_0x12121d,unitID:_0x469b5d,changeset:_0x265fb0}=_0x12608d['data'],_0x346945={'unitID':_0x469b5d,'memberID':_0x3f70e6['memberID'],'type':_0x12121d,'changeset':E['parseChangesetToProtocol'](_0x265fb0)},_0x44fcc6=this[_0xb6ba2e(0x13b)][_0xb6ba2e(0x31c)](Y),_0x4db655=oi((_0x4d1993=_0x44fcc6==null?void 0x0:_0x44fcc6[_0xb6ba2e(0x2d3)])!=null?_0x4d1993:$t,_0x12121d,_0x469b5d);try{await this[_0xb6ba2e(0x28d)][_0xb6ba2e(0x27a)](_0x4db655,{'body':_0x346945});}catch(_0x3082f5){throw this[_0xb6ba2e(0x306)]['error'](_0xb6ba2e(0x2fb),_0xb6ba2e(0x1a0)),_0x3082f5;}}async['_fetchMissChangesets'](_0x434bbe){var _0x159dfe=_0x346389;const {unitID:_0x399ba8,from:_0x1355e2,to:_0x5458cc,unitType:_0x4c68c7}=_0x434bbe[_0x159dfe(0x2f9)];return(await this['_snapshotServerService'][_0x159dfe(0x348)]({'metadata':void 0x0},{'unitID':_0x399ba8,'type':_0x4c68c7,'from':_0x1355e2,'to':_0x5458cc}))['changesets'][_0x159dfe(0x41e)](_0x6d9a14=>((_0x6d9a14['mutations']===null||_0x6d9a14['mutations']===void 0x0)&&(_0x6d9a14['mutations']=[]),_0x6d9a14));}},exports[_0x346389(0x419)]=ai([he(0x0,o['Inject'](o['Injector'])),he(0x1,o[_0x346389(0x33c)](K['HTTPService'])),he(0x2,o[_0x346389(0x3ac)]),he(0x3,o['ILogService']),he(0x4,E[_0x346389(0x162)])],exports[_0x346389(0x419)]);var ci=Object[_0x346389(0x21c)],_i=(_0x1ebc84,_0x35f3d0,_0xb1ad44,_0x507fe6)=>{var _0x20a812=_0x346389;for(var _0x5f55e2=_0x507fe6>0x1?void 0x0:_0x507fe6?ci(_0x35f3d0,_0xb1ad44):_0x35f3d0,_0x1c68a7=_0x1ebc84[_0x20a812(0x260)]-0x1,_0x20766a;_0x1c68a7>=0x0;_0x1c68a7--)(_0x20766a=_0x1ebc84[_0x1c68a7])&&(_0x5f55e2=_0x20766a(_0x5f55e2)||_0x5f55e2);return _0x5f55e2;},_e=(_0x4ba113,_0x1e926d)=>(_0xa435a8,_0x437039)=>_0x1e926d(_0xa435a8,_0x437039,_0x4ba113);exports[_0x346389(0x2bf)]=class extends o['Disposable']{constructor(_0x2494db,_0x3addd3,_0x522f59,_0x35434b,_0x35dd5a,_0x276223){var _0x5a0186=_0x346389;super(),A(this,'_socket$',new j[(_0x5a0186(0xfb))](void 0x0)),A(this,_0x5a0186(0x1cd),this[_0x5a0186(0x1e6)][_0x5a0186(0x33e)]()),A(this,_0x5a0186(0x2d9),null),A(this,'_sessions',new Map()),A(this,'_status$',new j[(_0x5a0186(0xfb))](se[_0x5a0186(0x298)])),A(this,'status$',this[_0x5a0186(0x1d9)]['asObservable']()),A(this,_0x5a0186(0x39a),!0x1),A(this,_0x5a0186(0x19a)),A(this,_0x5a0186(0x3ef),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x5a0186(0x305)),(this['_injector']=_0x2494db,this[_0x5a0186(0x306)]=_0x3addd3,this[_0x5a0186(0x13b)]=_0x522f59,this['_socketService']=_0x35434b,this[_0x5a0186(0xcd)]=_0x35dd5a,this[_0x5a0186(0x1a5)]=_0x276223,this['_listenToNetworkCondition']());}get[_0x346389(0x337)](){var _0x172a7e=_0x346389;return this[_0x172a7e(0x1e6)]['getValue']();}[_0x346389(0x3ff)](){var _0x1c4a82=_0x346389;this[_0x1c4a82(0x1a5)]&&this[_0x1c4a82(0x34e)](this[_0x1c4a82(0x1a5)]['online$'][_0x1c4a82(0x1f7)](_0x4e2e82=>{var _0x48645a=_0x1c4a82;_0x4e2e82&&!this['_socket']&&this[_0x48645a(0x3c2)](),_0x4e2e82||this[_0x48645a(0x1cf)]();}));}[_0x346389(0x246)](){var _0x4c4732=_0x346389;super[_0x4c4732(0x246)](),this[_0x4c4732(0x38e)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x4c4732(0x1e5)]['forEach'](_0x307347=>_0x307347[_0x4c4732(0x246)]()),this['_sessions'][_0x4c4732(0x201)](),this[_0x4c4732(0x1d9)]['complete']();}async[_0x346389(0x106)](_0x52bd46){var _0x56defb=_0x346389;if(this[_0x56defb(0x1e5)][_0x56defb(0x266)](_0x52bd46))return this[_0x56defb(0x1e5)][_0x56defb(0x16e)](_0x52bd46);this[_0x56defb(0x405)]();const _0x5e4cf8=this[_0x56defb(0x258)]['createInstance'](exports[_0x56defb(0x141)],_0x52bd46,this[_0x56defb(0x1e6)]['asObservable']());return this['_sessions'][_0x56defb(0xfc)](_0x52bd46,_0x5e4cf8),_0x5e4cf8;}[_0x346389(0x40b)](_0x4a38d2){var _0x1e9f18=_0x346389,_0x4ddb46;const _0x44caa2=this[_0x1e9f18(0x1e5)]['get'](_0x4a38d2);_0x44caa2&&(this['_sessions']['delete'](_0x4a38d2),_0x44caa2[_0x1e9f18(0x197)]()),this['_sessions'][_0x1e9f18(0x373)]||(_0x4ddb46=this[_0x1e9f18(0x337)])==null||_0x4ddb46[_0x1e9f18(0x197)]();}[_0x346389(0x3c2)](){var _0x5f13b4=_0x346389;this[_0x5f13b4(0x3ef)]=0x0,this[_0x5f13b4(0x38e)](),this['_tryReconnect']();}[_0x346389(0x38e)](){var _0x7df9d5=_0x346389;this[_0x7df9d5(0x19a)]!=null&&(clearTimeout(this[_0x7df9d5(0x19a)]),this[_0x7df9d5(0x19a)]=null);}async['_createSocket'](){var _0x3a2cae=_0x346389,_0x5b1a79;const _0xa9ca1d=this['_configService']['getConfig'](Y),_0x99ef3=(_0x5b1a79=_0xa9ca1d==null?void 0x0:_0xa9ca1d[_0x3a2cae(0x19f)])!=null?_0x5b1a79:_t,_0x21d64f=await this[_0x3a2cae(0x3b4)][_0x3a2cae(0x39c)](_0x99ef3);return this[_0x3a2cae(0x2d9)]=_0x21d64f,_0x21d64f;}async[_0x346389(0x405)](){var _0x11f5bf=_0x346389,_0x156fc3,_0x1d2fc7;try{const _0x20558a=(_0x1d2fc7=(_0x156fc3=this[_0x11f5bf(0x337)])!=null?_0x156fc3:this[_0x11f5bf(0x2d9)])!=null?_0x1d2fc7:await this[_0x11f5bf(0x13a)]();if(_0x20558a){const _0x2931e0=_0x20558a[_0x11f5bf(0x36d)];_0x20558a[_0x11f5bf(0x36d)]=_0x3ddf01=>(this[_0x11f5bf(0x271)](),_0x2931e0[_0x11f5bf(0x140)](_0x20558a,[_0x3ddf01])),_0x20558a[_0x11f5bf(0x34a)]['subscribe'](_0x393d58=>this[_0x11f5bf(0x428)](_0x20558a,_0x393d58)),_0x20558a[_0x11f5bf(0x345)][_0x11f5bf(0x442)](V['take'](0x1))[_0x11f5bf(0x1f7)](_0x43c9f2=>this[_0x11f5bf(0x306)][_0x11f5bf(0x286)]('[CollaborationSessionService]:\x20socket\x20error',_0x43c9f2)),_0x20558a[_0x11f5bf(0x282)][_0x11f5bf(0x442)](V[_0x11f5bf(0x35b)](0x1))[_0x11f5bf(0x1f7)](()=>{this['_onConnectionOpen'](_0x20558a);}),_0x20558a['close$'][_0x11f5bf(0x442)](V[_0x11f5bf(0x35b)](0x1))[_0x11f5bf(0x1f7)](_0x3a474c=>{var _0x246101=_0x11f5bf;this[_0x246101(0x306)][_0x246101(0x20f)]('[CollaborationSessionService]',_0x246101(0x195),_0x3a474c),this[_0x246101(0x228)]();});}}catch(_0x57e08b){this[_0x11f5bf(0x306)][_0x11f5bf(0x286)](_0x57e08b),this['_onConnectionFailed']();}}[_0x346389(0x3b9)](_0x24e3fc){var _0x304807=_0x346389;this[_0x304807(0x306)][_0x304807(0x20f)]('[CollaborationSessionService]',_0x304807(0x193)),_0x24e3fc[_0x304807(0x36d)]({'cmd':W[_0x304807(0x429)]}),this[_0x304807(0x271)]();}['_onOffline'](){var _0x12a232=_0x346389;this[_0x12a232(0x39a)]=!0x1,this['_candidateSocket']=null,this[_0x12a232(0x1d9)][_0x12a232(0x408)](se[_0x12a232(0x38b)]),this[_0x12a232(0x1e6)]['next'](null),this[_0x12a232(0x3d5)](),this[_0x12a232(0xfe)]();}[_0x346389(0x228)](){var _0x26bce0=_0x346389,_0x5be8d6;this['_onOffline'](),this[_0x26bce0(0x3ef)]<((_0x5be8d6=this[_0x26bce0(0x13b)][_0x26bce0(0x31c)](ut))!=null?_0x5be8d6:wt)?(this[_0x26bce0(0xcd)][_0x26bce0(0xc5)]({'id':J[_0x26bce0(0x1dc)]}),this[_0x26bce0(0x3da)]()):this[_0x26bce0(0xcd)][_0x26bce0(0xc5)]({'id':J[_0x26bce0(0x13e)]});}[_0x346389(0x3da)](){var _0x4dbcb9=_0x346389,_0x44051f;const _0x202309=this[_0x4dbcb9(0x3ef)],_0x3c2a55=this['_configService'][_0x4dbcb9(0x31c)](Y),_0x4227ad=_0x202309===0x0?0x0:((_0x44051f=_0x3c2a55==null?void 0x0:_0x3c2a55[_0x4dbcb9(0x3e0)])!=null?_0x44051f:Mt)*0x2**_0x202309;this[_0x4dbcb9(0x19a)]=setTimeout(()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x4227ad),this[_0x4dbcb9(0x3ef)]+=0x1;}['_onMessage'](_0x7a79e6,_0x5e561f){var _0x3228a7=_0x346389;const {cmd:_0x49abdb}=_0x5e561f;_0x49abdb===W[_0x3228a7(0x429)]&&!this[_0x3228a7(0x39a)]&&(_0x7a79e6[_0x3228a7(0x34c)]=_0x5e561f[_0x3228a7(0x2f9)][_0x3228a7(0x34c)],this[_0x3228a7(0x1e6)][_0x3228a7(0x408)](_0x7a79e6),this[_0x3228a7(0x1d9)][_0x3228a7(0x408)](se[_0x3228a7(0x143)]),this['_socketReady']=!0x0,this[_0x3228a7(0x2d9)]=null),_0x49abdb===W[_0x3228a7(0x16a)]&&this[_0x3228a7(0x3d5)](),this['_rescheduleHeartbeat']();}[_0x346389(0x271)](){var _0x21a5fb=_0x346389,_0x572a75;this[_0x21a5fb(0xfe)](),this[_0x21a5fb(0xd2)]=setTimeout(()=>this[_0x21a5fb(0x1a1)](),(_0x572a75=this[_0x21a5fb(0x13b)][_0x21a5fb(0x31c)](ht))!=null?_0x572a75:Lt);}[_0x346389(0x1a1)](){var _0x5bd1fe=_0x346389;this['_socket'][_0x5bd1fe(0x36d)]({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x346389(0x441)](){var _0x646903=_0x346389,_0x556a3;this[_0x646903(0x305)]=setTimeout(()=>this[_0x646903(0x228)](),(_0x556a3=this[_0x646903(0x13b)][_0x646903(0x31c)](ke))!=null?_0x556a3:lt);}['_clearHeartbeatTimer'](){var _0x43c557=_0x346389;this[_0x43c557(0xd2)]!=null&&(clearTimeout(this[_0x43c557(0xd2)]),this[_0x43c557(0xd2)]=null);}[_0x346389(0x3d5)](){var _0x3a57ae=_0x346389;this[_0x3a57ae(0x305)]!=null&&(clearTimeout(this[_0x3a57ae(0x305)]),this[_0x3a57ae(0x305)]=null);}},exports[_0x346389(0x2bf)]=_i([_e(0x0,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),_e(0x1,o[_0x346389(0x245)]),_e(0x2,o[_0x346389(0x3ac)]),_e(0x3,Fe),_e(0x4,o[_0x346389(0x33c)](ee)),_e(0x5,o[_0x346389(0x32f)](pt))],exports[_0x346389(0x2bf)]);var hi=Object[_0x346389(0x21c)],li=(_0x4f3115,_0x4ef580,_0x33b6f9,_0x318b4f)=>{var _0x2c868f=_0x346389;for(var _0x43f7ed=_0x318b4f>0x1?void 0x0:_0x318b4f?hi(_0x4ef580,_0x33b6f9):_0x4ef580,_0x143d99=_0x4f3115[_0x2c868f(0x260)]-0x1,_0x9ea4ff;_0x143d99>=0x0;_0x143d99--)(_0x9ea4ff=_0x4f3115[_0x143d99])&&(_0x43f7ed=_0x9ea4ff(_0x43f7ed)||_0x43f7ed);return _0x43f7ed;},Se=(_0x4e856c,_0x1cfcb3)=>(_0x40416a,_0x1d0bdd)=>_0x1cfcb3(_0x40416a,_0x1d0bdd,_0x4e856c);exports['CollaborationController']=class extends o['RxDisposable']{constructor(_0x5ce176,_0x2d7795,_0x4da3a6,_0x3e1c2e){var _0x3e0054=_0x346389,_0x6a076a;super(),A(this,'_entities',new Map()),A(this,_0x3e0054(0x426),new j[(_0x3e0054(0x1b5))]()),A(this,_0x3e0054(0x3ee),this[_0x3e0054(0x426)][_0x3e0054(0x33e)]()),(this[_0x3e0054(0x258)]=_0x5ce176,this[_0x3e0054(0x24a)]=_0x2d7795,this[_0x3e0054(0x13b)]=_0x4da3a6,this[_0x3e0054(0x334)]=_0x3e1c2e,((_0x6a076a=this['_configService'][_0x3e0054(0x31c)](Y))==null?void 0x0:_0x6a076a[_0x3e0054(0x18d)])!==!0x1&&this[_0x3e0054(0x206)]());}[_0x346389(0x246)](){var _0x396204=_0x346389;super[_0x396204(0x246)](),this['_entities'][_0x396204(0x2b3)](_0x8e2c43=>_0x8e2c43['dispose']()),this[_0x396204(0x296)]['clear']();}['getCollabEntity'](_0x112b1f){var _0x2db551=_0x346389,_0x5616a1;return(_0x5616a1=this[_0x2db551(0x296)]['get'](_0x112b1f))!=null?_0x5616a1:null;}['getCollabEntity$'](_0x491222){var _0x37964b=_0x346389;const _0xe98a7=this[_0x37964b(0x2c9)](_0x491222);return _0xe98a7?j['of'](_0xe98a7):this[_0x37964b(0x426)][_0x37964b(0x442)](V[_0x37964b(0x2ca)](_0x28d412=>_0x28d412['unitID']===_0x491222));}['readyForCollab'](_0x3f2b42){var _0x4ffe8c=_0x346389;return j['firstValueFrom'](this['getCollabEntity$'](_0x3f2b42)[_0x4ffe8c(0x442)](V[_0x4ffe8c(0x41e)](()=>{})));}[_0x346389(0x206)](){var _0xae5c66=_0x346389;this[_0xae5c66(0x334)][_0xae5c66(0x2e4)](o['UniverInstanceType'][_0xae5c66(0x30c)])[_0xae5c66(0x442)](j[_0xae5c66(0x3bf)](this[_0xae5c66(0x2bb)]),V[_0xae5c66(0x3ca)](0x10))[_0xae5c66(0x1f7)](async _0x41cba2=>{var _0x3a9207=_0xae5c66;const _0x58bed8=_0x41cba2['getUnitId'](),_0x5ed64f=await this[_0x3a9207(0xda)](_0x58bed8,X[_0x3a9207(0x30c)]);this[_0x3a9207(0x296)][_0x3a9207(0xfc)](_0x58bed8,_0x5ed64f);}),this[_0xae5c66(0x334)][_0xae5c66(0x2e4)](o[_0xae5c66(0x187)][_0xae5c66(0xf3)])[_0xae5c66(0x442)](j[_0xae5c66(0x3bf)](this[_0xae5c66(0x2bb)]),V[_0xae5c66(0x3ca)](0x10))[_0xae5c66(0x442)](V['filter'](_0x108c6e=>!_0x108c6e[_0xae5c66(0x20c)]()[_0xae5c66(0x278)]('__')))[_0xae5c66(0x1f7)](async _0x5c80a5=>{var _0x2170f3=_0xae5c66;const _0x726815=_0x5c80a5[_0x2170f3(0x20c)](),_0x4cd649=await this[_0x2170f3(0xda)](_0x726815,X[_0x2170f3(0xf3)]);this[_0x2170f3(0x296)]['set'](_0x726815,_0x4cd649);}),j[_0xae5c66(0x39d)](this[_0xae5c66(0x334)][_0xae5c66(0x2ec)](o['UniverInstanceType'][_0xae5c66(0x30c)]),this[_0xae5c66(0x334)][_0xae5c66(0x2ec)](o['UniverInstanceType']['UNIVER_DOC']))['pipe'](j[_0xae5c66(0x3bf)](this['dispose$']))[_0xae5c66(0x1f7)](_0x22b2d4=>{var _0x37aec1=_0xae5c66;const _0x5aec9e=_0x22b2d4[_0x37aec1(0x20c)](),_0x19173f=this['_entities']['get'](_0x5aec9e);_0x19173f&&(_0x19173f[_0x37aec1(0x246)](),this[_0x37aec1(0x296)][_0x37aec1(0x1b7)](_0x5aec9e));});}async['_startCollaboration'](_0x134017,_0xac7e04){var _0x39e044=_0x346389;const _0x47e8b2=await this[_0x39e044(0x24a)][_0x39e044(0x106)](_0x134017),_0x2ccd19=this['_injector'][_0x39e044(0x3b3)](this[_0x39e044(0x191)](_0xac7e04),_0x134017,_0xac7e04,_0x47e8b2);return await _0x2ccd19[_0x39e044(0x1e3)](),this[_0x39e044(0x426)]['next'](_0x2ccd19),_0x2ccd19;}[_0x346389(0x191)](_0x548b29){var _0x4cb5ef=_0x346389;switch(_0x548b29){case X['UNIVER_DOC']:return exports[_0x4cb5ef(0x33a)];case X[_0x4cb5ef(0x30c)]:return exports[_0x4cb5ef(0x281)];default:throw new Error(_0x4cb5ef(0x2ee)+_0x548b29);}}},exports[_0x346389(0x10a)]=li([Se(0x0,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),Se(0x1,o[_0x346389(0x33c)](exports[_0x346389(0x2bf)])),Se(0x2,o[_0x346389(0x3ac)]),Se(0x3,o[_0x346389(0x1c6)])],exports[_0x346389(0x10a)]);var ui=Object[_0x346389(0x21c)],vi=(_0x5c7500,_0x526371,_0x4129ee,_0x4cc7db)=>{var _0x1c871d=_0x346389;for(var _0x2bac8f=_0x4cc7db>0x1?void 0x0:_0x4cc7db?ui(_0x526371,_0x4129ee):_0x526371,_0x1779c2=_0x5c7500[_0x1c871d(0x260)]-0x1,_0x5bab71;_0x1779c2>=0x0;_0x1779c2--)(_0x5bab71=_0x5c7500[_0x1779c2])&&(_0x2bac8f=_0x5bab71(_0x2bac8f)||_0x2bac8f);return _0x2bac8f;},Ye=(_0x56db22,_0x32af61)=>(_0x4977e5,_0x5ccad2)=>_0x32af61(_0x4977e5,_0x5ccad2,_0x56db22);const di=_0x346389(0x37e),Si=_0x346389(0x146);let xe=class extends o[_0x346389(0x18e)]{constructor(_0x520cea,_0x2cd5a2){var _0x41a294=_0x346389;super(),this[_0x41a294(0x334)]=_0x520cea,this['_configService']=_0x2cd5a2,this[_0x41a294(0x206)]();}[_0x346389(0x206)](){var _0x3d9350=_0x346389;this[_0x3d9350(0x34e)](this[_0x3d9350(0x334)]['focused$'][_0x3d9350(0x1f7)](()=>{var _0x50f8b5=_0x3d9350,_0x4c2e7b;const _0x1205fb=this['_univerInstanceService'][_0x50f8b5(0x2a7)]();let _0x2630ee=(_0x4c2e7b=this[_0x50f8b5(0x13b)][_0x50f8b5(0x31c)](di))!=null?_0x4c2e7b:Si;_0x1205fb instanceof o[_0x50f8b5(0x3af)]&&(_0x2630ee=_0x1205fb[_0x50f8b5(0x2c0)]),document['title']=_0x2630ee;}));}};xe=vi([Ye(0x0,o[_0x346389(0x1c6)]),Ye(0x1,o[_0x346389(0x3ac)])],xe);var Ii=Object[_0x346389(0x21c)],fi=(_0x4c2bc0,_0x1e801e,_0x51d7cc,_0x435f90)=>{var _0x15cc77=_0x346389;for(var _0x57c117=_0x435f90>0x1?void 0x0:_0x435f90?Ii(_0x1e801e,_0x51d7cc):_0x1e801e,_0x4a4348=_0x4c2bc0[_0x15cc77(0x260)]-0x1,_0x35e8ee;_0x4a4348>=0x0;_0x4a4348--)(_0x35e8ee=_0x4c2bc0[_0x4a4348])&&(_0x57c117=_0x35e8ee(_0x57c117)||_0x57c117);return _0x57c117;},Ae=(_0x4dfa05,_0x589ab3)=>(_0x1e43e9,_0x5d508f)=>_0x589ab3(_0x1e43e9,_0x5d508f,_0x4dfa05);let Ne=class{constructor(_0x487791,_0x1a3381,_0x4e8067){var _0xce589b=_0x346389;this['_configService']=_0x487791,this['_httpService']=_0x1a3381,this[_0xce589b(0x192)]=_0x4e8067,this[_0xce589b(0x1e3)]();}[_0x346389(0x1e3)](){var _0x4f55e5=_0x346389;this[_0x4f55e5(0x28d)][_0x4f55e5(0x205)]({'priority':0x1,'interceptor':(_0x1e2b18,_0x281a77)=>_0x281a77(_0x1e2b18)[_0x4f55e5(0x442)](j['concatMap'](async _0xd92be=>{var _0x4be202=_0x4f55e5;const _0x42b3a9=_0xd92be;if(_0x42b3a9[_0x4be202(0x119)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x4be202(0x34d)](this[_0x4be202(0x192)]['t']('auth.needGotoLoginAlert'))){const _0x443a17=window['encodeURIComponent'](window['location'][_0x4be202(0x239)]);window['location'][_0x4be202(0x239)]=this[_0x4be202(0x17a)]()+_0x4be202(0x37a)+_0x443a17;}}return _0x42b3a9;}))});}['_getLoginPath'](){var _0x1b24c0=_0x346389,_0x2811c9;const _0x845201=this[_0x1b24c0(0x13b)][_0x1b24c0(0x31c)](Y);return(_0x2811c9=_0x845201==null?void 0x0:_0x845201['loginUrlKey'])!=null?_0x2811c9:Ht;}};Ne=fi([Ae(0x0,o[_0x346389(0x3ac)]),Ae(0x1,o[_0x346389(0x33c)](K[_0x346389(0x3d7)])),Ae(0x2,o[_0x346389(0x33c)](o[_0x346389(0x3dc)]))],Ne);var Ei=Object[_0x346389(0x21c)],pi=(_0x270935,_0x39b3f5,_0x4b3e8e,_0x4a3015)=>{for(var _0x1d63e1=_0x4a3015>0x1?void 0x0:_0x4a3015?Ei(_0x39b3f5,_0x4b3e8e):_0x39b3f5,_0x3054db=_0x270935['length']-0x1,_0x41b4df;_0x3054db>=0x0;_0x3054db--)(_0x41b4df=_0x270935[_0x3054db])&&(_0x1d63e1=_0x41b4df(_0x1d63e1)||_0x1d63e1);return _0x1d63e1;},Ke=(_0x3b9f4d,_0x29393a)=>(_0x45ab2c,_0xbfcb0a)=>_0x29393a(_0x45ab2c,_0xbfcb0a,_0x3b9f4d);const mi=_0x346389(0x363);exports['AuthzIoHttpService']=class extends o[_0x346389(0x18e)]{constructor(_0x129dc6,_0x5d1697){var _0x3cd24c=_0x346389;super(),this[_0x3cd24c(0x2e3)]=_0x129dc6,this[_0x3cd24c(0x13b)]=_0x5d1697,this[_0x3cd24c(0x317)]();}[_0x346389(0x317)](){var _0x20a3fe=_0x346389;const _0xe3a8e8=this;this['disposeWithMe'](this[_0x20a3fe(0x2e3)][_0x20a3fe(0x205)]({'priority':0x3e7,'interceptor':K[_0x20a3fe(0x133)]({'isMatch'(_0x20ce4d){var _0x372798=_0x20a3fe,_0x48b4ed;if(_0x20ce4d[_0x372798(0x3c6)]===_0x372798(0x3be)&&((_0x48b4ed=_0x20ce4d[_0x372798(0x382)])!=null&&_0x48b4ed[_0x372798(0x144)])){const {objectID:_0x13736f,objectType:_0x2433b5}=_0x20ce4d[_0x372798(0x382)]['body']||{};if(!_0x13736f||_0x2433b5===void 0x0)return!0x1;const _0x30f841=_0xe3a8e8['_getAPIPrefixPath']()+'/'+_0x2433b5+_0x372798(0x210)+_0x13736f+_0x372798(0x395);if(_0x20ce4d[_0x372798(0x1b0)]===_0x30f841)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4c5dca){var _0x2d4aaf=_0x20a3fe,_0x3a3c60;return(_0x3a3c60=_0x4c5dca[_0x2d4aaf(0x382)])==null?void 0x0:_0x3a3c60[_0x2d4aaf(0x144)];},'mergeParamsToRequest'(_0x4a8d60,_0x1ff527){var _0x2e6442=_0x20a3fe;const _0x2f3ad9=_0xe3a8e8[_0x2e6442(0x324)]()+_0x2e6442(0x303),_0x5ab6eb=_0x4a8d60[_0x2e6442(0x43a)]((_0x13bfd3,_0x34c32b)=>{var _0x4884a7=_0x2e6442;const {unitID:_0x57a26c,objectID:_0x2dcb98,objectType:_0x54b06c,actions:_0x2b1765}=_0x34c32b;return _0x13bfd3[_0x57a26c]||(_0x13bfd3[_0x57a26c]={}),_0x13bfd3[_0x57a26c][_0x2dcb98]||(_0x13bfd3[_0x57a26c][_0x2dcb98]={'objectID':_0x2dcb98,'objectType':_0x54b06c,'actions':[]}),_0x13bfd3[_0x57a26c][_0x2dcb98][_0x4884a7(0x396)][_0x4884a7(0x179)](..._0x2b1765),_0x13bfd3;},{}),_0x36eef9=[];for(const _0x54f428 in _0x5ab6eb)for(const _0x11ff68 in _0x5ab6eb[_0x54f428]){const {actions:_0x2a1693,objectType:_0x51ca05}=_0x5ab6eb[_0x54f428][_0x11ff68],_0x5f9611=[...new Set(_0x2a1693)];_0x36eef9['push']({'unitID':_0x54f428,'objectID':_0x11ff68,'objectType':_0x51ca05,'actions':_0x5f9611});}return new K['HTTPRequest']('POST',_0x2f3ad9,{'headers':_0x1ff527['headers'],'withCredentials':_0x1ff527[_0x2e6442(0x1db)],'responseType':_0x1ff527[_0x2e6442(0x1fa)],'body':{'requests':_0x36eef9}});}},{'distributeResult'(_0x566d2c,_0x172841){var _0x2228ee=_0x20a3fe;const {objectActions:_0x4df6fe}=_0x566d2c;return _0x172841[_0x2228ee(0x41e)](_0x2e02ba=>{var _0x26858b=_0x2228ee;const {unitID:_0x3a292b,objectID:_0xec63f7,actions:_0x1dcb39}=_0x2e02ba,_0x1733e1=_0x4df6fe[_0x26858b(0x347)](_0x3bf354=>_0x3bf354[_0x26858b(0x212)]===_0x3a292b&&_0x3bf354['objectID']===_0xec63f7),_0x3ac889=_0x1dcb39[_0x26858b(0x41e)](_0x13d54c=>_0x1733e1==null?void 0x0:_0x1733e1[_0x26858b(0x396)][_0x26858b(0x347)](_0x32c3ac=>_0x32c3ac[_0x26858b(0x439)]===_0x13d54c))[_0x26858b(0x2ca)](_0x4e2f3b=>!!_0x4e2f3b);return{'config':_0x2e02ba,'result':{'actions':_0x3ac889,'error':_0x566d2c[_0x26858b(0x286)]}};});}})}));}[_0x346389(0x324)](){var _0x431874=_0x346389,_0x2f23d1;const _0x47a31e=this[_0x431874(0x13b)][_0x431874(0x31c)](Y);return(_0x2f23d1=_0x47a31e==null?void 0x0:_0x47a31e[_0x431874(0x1de)])!=null?_0x2f23d1:mi;}async[_0x346389(0x29c)](_0x454dc8){var _0x413980=_0x346389;const _0x1fa23e=this[_0x413980(0x324)]()+'/'+_0x454dc8[_0x413980(0xd4)]+_0x413980(0x3ab);return(await this['_HTTPService']['post'](_0x1fa23e,{'body':_0x454dc8}))['body'][_0x413980(0x151)]||'';}async[_0x346389(0x2e2)](_0x12ac9a){var _0x3e3eb7=_0x346389;const _0x38a2c8=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x3e3eb7(0x2e3)][_0x3e3eb7(0x27a)](_0x38a2c8,{'body':_0x12ac9a}))[_0x3e3eb7(0x144)][_0x3e3eb7(0x2a5)];}async[_0x346389(0x247)](_0x16b18d){var _0x3631e6=_0x346389,_0x2babba,_0x59ee93;const _0x3d17b9=this[_0x3631e6(0x324)]()+'/'+_0x16b18d[_0x3631e6(0xd4)]+_0x3631e6(0x210)+_0x16b18d[_0x3631e6(0x151)],_0x5e86a1=await this[_0x3631e6(0x2e3)][_0x3631e6(0x100)](_0x3d17b9,{'body':_0x16b18d});if(((_0x59ee93=(_0x2babba=_0x5e86a1==null?void 0x0:_0x5e86a1[_0x3631e6(0x144)])==null?void 0x0:_0x2babba[_0x3631e6(0x286)])==null?void 0x0:_0x59ee93['code'])!==0x1)throw new Error(_0x3631e6(0x37c));}async[_0x346389(0x43d)](_0x2dee1d){var _0x4d1b20=_0x346389;const _0x21b419=this[_0x4d1b20(0x324)]()+'/'+_0x2dee1d[_0x4d1b20(0xd4)]+'/object/'+_0x2dee1d['objectID']+_0x4d1b20(0x395);return(await this[_0x4d1b20(0x2e3)][_0x4d1b20(0x27a)](_0x21b419,{'body':_0x2dee1d}))[_0x4d1b20(0x144)]['actions'];}async[_0x346389(0x224)](_0x3e1187){var _0x4ef410=_0x346389;const _0x2a2122=this[_0x4ef410(0x324)]()+_0x4ef410(0x303);return(await this[_0x4ef410(0x2e3)][_0x4ef410(0x27a)](_0x2a2122,{'body':{'requests':_0x3e1187}}))[_0x4ef410(0x144)][_0x4ef410(0x22a)];}async['listRoles'](_0x4b4f0e){var _0x124e98=_0x346389;const _0x1ded5d=this[_0x124e98(0x324)]()+'/'+_0x4b4f0e[_0x124e98(0xd4)]+_0x124e98(0x30b),_0x48ea12=await this[_0x124e98(0x2e3)]['post'](_0x1ded5d,{'body':_0x4b4f0e});return{'roles':_0x48ea12['body'][_0x124e98(0x338)],'actions':_0x48ea12['body'][_0x124e98(0x396)]};}async['deleteCollaborator'](_0x116566){var _0xba0468=_0x346389;const _0x1e1c41=this[_0xba0468(0x324)]()+'/collaborator';await this[_0xba0468(0x2e3)]['delete'](_0x1e1c41,{'params':{'collaboratorID':_0x116566[_0xba0468(0x1e2)],'objectID':_0x116566[_0xba0468(0x151)],'unitID':_0x116566[_0xba0468(0x212)]}});}async[_0x346389(0x1ba)](_0x3a54b6){var _0x37d776=_0x346389;const _0x11a735=this[_0x37d776(0x324)]()+_0x37d776(0x3d4);await this['_HTTPService'][_0x37d776(0x2cc)](_0x11a735,{'body':_0x3a54b6});}async[_0x346389(0x38c)](_0x31cdc0){var _0x2fe37e=_0x346389;const _0x3ef6e0=this[_0x2fe37e(0x324)]()+_0x2fe37e(0x3d4);await this[_0x2fe37e(0x2e3)][_0x2fe37e(0x27a)](_0x3ef6e0,{'body':_0x31cdc0});}async[_0x346389(0x308)](_0x20c3f0){var _0x44831b=_0x346389;const _0x193d85=this[_0x44831b(0x324)]()+'/collaborator';return(await this[_0x44831b(0x2e3)][_0x44831b(0x16e)](_0x193d85,{'params':{'objectID':_0x20c3f0['objectID'],'unitID':_0x20c3f0['unitID']}}))[_0x44831b(0x144)][_0x44831b(0x3c7)];}async[_0x346389(0x38a)](_0x3b53be){var _0x499998=_0x346389;const _0x547d71=this[_0x499998(0x324)]()+_0x499998(0x3d4);await this['_HTTPService'][_0x499998(0x100)](_0x547d71,{'body':_0x3b53be});}},exports['AuthzIoHttpService']=pi([Ke(0x0,o['Inject'](K[_0x346389(0x3d7)])),Ke(0x1,o[_0x346389(0x33c)](o['IConfigService']))],exports[_0x346389(0x1b2)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x548c0a){var _0x22d33f=_0x346389;return _0x548c0a&&_0x548c0a[_0x22d33f(0xd5)]&&Object[_0x22d33f(0x2b4)][_0x22d33f(0x352)][_0x22d33f(0x15a)](_0x548c0a,_0x22d33f(0x36c))?_0x548c0a[_0x22d33f(0x36c)]:_0x548c0a;}function _0x2174(_0x41bdd3,_0x2a9c38){_0x41bdd3=_0x41bdd3-0xbd;var _0x37886b=_0x3788();var _0x217447=_0x37886b[_0x41bdd3];return _0x217447;}var Ie={'exports':{}};function gi(_0x5498cf){var _0x417ab6=_0x346389;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5498cf+_0x417ab6(0x244));}var fe={'exports':{}},Ti=fe[_0x346389(0x17d)],qe;function Z(){var _0x3027cb=_0x346389;return qe||(qe=0x1,function(_0x4ef3a5,_0x479a7e){(function(_0x11659a,_0x54e1af){var _0x13cc8e=_0x2174;_0x4ef3a5[_0x13cc8e(0x17d)]=_0x54e1af();}(Ti,function(){var _0xd51ea8=_0xd51ea8||function(_0x2bbc03,_0x3bad69){var _0x3bba86=_0x2174,_0x24106b;if(typeof window<'u'&&window[_0x3bba86(0x124)]&&(_0x24106b=window[_0x3bba86(0x124)]),typeof self<'u'&&self['crypto']&&(_0x24106b=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3bba86(0x124)]&&(_0x24106b=globalThis[_0x3bba86(0x124)]),!_0x24106b&&typeof window<'u'&&window[_0x3bba86(0x220)]&&(_0x24106b=window[_0x3bba86(0x220)]),!_0x24106b&&typeof Pe<'u'&&Pe[_0x3bba86(0x124)]&&(_0x24106b=Pe[_0x3bba86(0x124)]),!_0x24106b&&typeof gi==_0x3bba86(0x3e6))try{_0x24106b=require('crypto');}catch{}var _0x284ac8=function(){var _0x3baa9f=_0x3bba86;if(_0x24106b){if(typeof _0x24106b[_0x3baa9f(0x315)]==_0x3baa9f(0x3e6))try{return _0x24106b[_0x3baa9f(0x315)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x24106b[_0x3baa9f(0x2fd)]==_0x3baa9f(0x3e6))try{return _0x24106b[_0x3baa9f(0x2fd)](0x4)[_0x3baa9f(0x1ef)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x51cdeb=Object[_0x3bba86(0x29c)]||(function(){function _0x1b2ff4(){}return function(_0x2617a2){var _0x37068d=_0x2174,_0x160a24;return _0x1b2ff4[_0x37068d(0x2b4)]=_0x2617a2,_0x160a24=new _0x1b2ff4(),_0x1b2ff4[_0x37068d(0x2b4)]=null,_0x160a24;};}()),_0x391414={},_0x10f409=_0x391414['lib']={},_0x2f2d39=_0x10f409[_0x3bba86(0x1b9)]=(function(){return{'extend':function(_0x3317e9){var _0xaa4426=_0x2174,_0x6a8dad=_0x51cdeb(this);return _0x3317e9&&_0x6a8dad[_0xaa4426(0x2e6)](_0x3317e9),(!_0x6a8dad[_0xaa4426(0x352)](_0xaa4426(0x1e3))||this['init']===_0x6a8dad['init'])&&(_0x6a8dad[_0xaa4426(0x1e3)]=function(){var _0x1cfa5e=_0xaa4426;_0x6a8dad[_0x1cfa5e(0x3a4)]['init'][_0x1cfa5e(0x140)](this,arguments);}),_0x6a8dad[_0xaa4426(0x1e3)]['prototype']=_0x6a8dad,_0x6a8dad[_0xaa4426(0x3a4)]=this,_0x6a8dad;},'create':function(){var _0x2389c2=_0x2174,_0x5ac1df=this['extend']();return _0x5ac1df[_0x2389c2(0x1e3)][_0x2389c2(0x140)](_0x5ac1df,arguments),_0x5ac1df;},'init':function(){},'mixIn':function(_0x28f209){var _0x3be6ad=_0x2174;for(var _0x35ae99 in _0x28f209)_0x28f209[_0x3be6ad(0x352)](_0x35ae99)&&(this[_0x35ae99]=_0x28f209[_0x35ae99]);_0x28f209['hasOwnProperty'](_0x3be6ad(0x3c3))&&(this['toString']=_0x28f209['toString']);},'clone':function(){var _0x23e24c=_0x2174;return this[_0x23e24c(0x1e3)][_0x23e24c(0x2b4)]['extend'](this);}};}()),_0x1588c3=_0x10f409['WordArray']=_0x2f2d39[_0x3bba86(0xe3)]({'init':function(_0x5ab5e7,_0x25cba1){var _0x69e549=_0x3bba86;_0x5ab5e7=this[_0x69e549(0x3fc)]=_0x5ab5e7||[],_0x25cba1!=_0x3bad69?this['sigBytes']=_0x25cba1:this['sigBytes']=_0x5ab5e7[_0x69e549(0x260)]*0x4;},'toString':function(_0x175cc8){var _0x135062=_0x3bba86;return(_0x175cc8||_0x54380f)[_0x135062(0x3cf)](this);},'concat':function(_0x21f1ed){var _0x54db88=_0x3bba86,_0x4d2e65=this[_0x54db88(0x3fc)],_0x559563=_0x21f1ed[_0x54db88(0x3fc)],_0x18f7ee=this[_0x54db88(0x1ad)],_0x1f97af=_0x21f1ed[_0x54db88(0x1ad)];if(this[_0x54db88(0x3fe)](),_0x18f7ee%0x4)for(var _0x2cb61d=0x0;_0x2cb61d<_0x1f97af;_0x2cb61d++){var _0x5772a8=_0x559563[_0x2cb61d>>>0x2]>>>0x18-_0x2cb61d%0x4*0x8&0xff;_0x4d2e65[_0x18f7ee+_0x2cb61d>>>0x2]|=_0x5772a8<<0x18-(_0x18f7ee+_0x2cb61d)%0x4*0x8;}else{for(var _0x103ac7=0x0;_0x103ac7<_0x1f97af;_0x103ac7+=0x4)_0x4d2e65[_0x18f7ee+_0x103ac7>>>0x2]=_0x559563[_0x103ac7>>>0x2];}return this[_0x54db88(0x1ad)]+=_0x1f97af,this;},'clamp':function(){var _0x1db0a0=_0x3bba86,_0x444824=this['words'],_0x1e0e83=this[_0x1db0a0(0x1ad)];_0x444824[_0x1e0e83>>>0x2]&=0xffffffff<<0x20-_0x1e0e83%0x4*0x8,_0x444824[_0x1db0a0(0x260)]=_0x2bbc03['ceil'](_0x1e0e83/0x4);},'clone':function(){var _0x2178db=_0x3bba86,_0x51ed65=_0x2f2d39[_0x2178db(0x42f)][_0x2178db(0x15a)](this);return _0x51ed65[_0x2178db(0x3fc)]=this['words'][_0x2178db(0x25f)](0x0),_0x51ed65;},'random':function(_0x26d09f){var _0x5886be=_0x3bba86;for(var _0x51f6d0=[],_0x33acc1=0x0;_0x33acc1<_0x26d09f;_0x33acc1+=0x4)_0x51f6d0[_0x5886be(0x179)](_0x284ac8());return new _0x1588c3['init'](_0x51f6d0,_0x26d09f);}}),_0x542ce5=_0x391414[_0x3bba86(0x231)]={},_0x54380f=_0x542ce5[_0x3bba86(0x257)]={'stringify':function(_0x2cf559){var _0x12a1ac=_0x3bba86;for(var _0x241610=_0x2cf559['words'],_0xa4fff3=_0x2cf559[_0x12a1ac(0x1ad)],_0x44c26f=[],_0x1bb305=0x0;_0x1bb305<_0xa4fff3;_0x1bb305++){var _0x20c4db=_0x241610[_0x1bb305>>>0x2]>>>0x18-_0x1bb305%0x4*0x8&0xff;_0x44c26f[_0x12a1ac(0x179)]((_0x20c4db>>>0x4)[_0x12a1ac(0x3c3)](0x10)),_0x44c26f[_0x12a1ac(0x179)]((_0x20c4db&0xf)[_0x12a1ac(0x3c3)](0x10));}return _0x44c26f['join']('');},'parse':function(_0x327831){var _0x17afbd=_0x3bba86;for(var _0x54c8cd=_0x327831[_0x17afbd(0x260)],_0x2a587d=[],_0x22c624=0x0;_0x22c624<_0x54c8cd;_0x22c624+=0x2)_0x2a587d[_0x22c624>>>0x3]|=parseInt(_0x327831[_0x17afbd(0x376)](_0x22c624,0x2),0x10)<<0x18-_0x22c624%0x8*0x4;return new _0x1588c3[(_0x17afbd(0x1e3))](_0x2a587d,_0x54c8cd/0x2);}},_0xaebb27=_0x542ce5[_0x3bba86(0x36e)]={'stringify':function(_0x2f4a19){var _0x221394=_0x3bba86;for(var _0x464c75=_0x2f4a19[_0x221394(0x3fc)],_0x434d37=_0x2f4a19['sigBytes'],_0x3a9c6a=[],_0x339f18=0x0;_0x339f18<_0x434d37;_0x339f18++){var _0x4d84fc=_0x464c75[_0x339f18>>>0x2]>>>0x18-_0x339f18%0x4*0x8&0xff;_0x3a9c6a[_0x221394(0x179)](String[_0x221394(0x416)](_0x4d84fc));}return _0x3a9c6a[_0x221394(0x327)]('');},'parse':function(_0x520401){var _0x5e254d=_0x3bba86;for(var _0x14e9df=_0x520401[_0x5e254d(0x260)],_0x96a657=[],_0xef4f52=0x0;_0xef4f52<_0x14e9df;_0xef4f52++)_0x96a657[_0xef4f52>>>0x2]|=(_0x520401['charCodeAt'](_0xef4f52)&0xff)<<0x18-_0xef4f52%0x4*0x8;return new _0x1588c3[(_0x5e254d(0x1e3))](_0x96a657,_0x14e9df);}},_0x24ddcc=_0x542ce5[_0x3bba86(0x2cd)]={'stringify':function(_0x568eba){var _0x58fbae=_0x3bba86;try{return decodeURIComponent(escape(_0xaebb27[_0x58fbae(0x3cf)](_0x568eba)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2916c2){return _0xaebb27['parse'](unescape(encodeURIComponent(_0x2916c2)));}},_0x13d77e=_0x10f409[_0x3bba86(0x25c)]=_0x2f2d39[_0x3bba86(0xe3)]({'reset':function(){var _0x2b201b=_0x3bba86;this[_0x2b201b(0x254)]=new _0x1588c3['init'](),this[_0x2b201b(0x121)]=0x0;},'_append':function(_0x5ef1f1){var _0xec4da9=_0x3bba86;typeof _0x5ef1f1==_0xec4da9(0x171)&&(_0x5ef1f1=_0x24ddcc[_0xec4da9(0xed)](_0x5ef1f1)),this[_0xec4da9(0x254)][_0xec4da9(0x1f4)](_0x5ef1f1),this['_nDataBytes']+=_0x5ef1f1['sigBytes'];},'_process':function(_0x28570b){var _0x2af4dd=_0x3bba86,_0x2baaef,_0x1fb435=this[_0x2af4dd(0x254)],_0x238157=_0x1fb435[_0x2af4dd(0x3fc)],_0x352f34=_0x1fb435[_0x2af4dd(0x1ad)],_0x4d3225=this[_0x2af4dd(0x157)],_0x34ab72=_0x4d3225*0x4,_0x1e5e78=_0x352f34/_0x34ab72;_0x28570b?_0x1e5e78=_0x2bbc03[_0x2af4dd(0x138)](_0x1e5e78):_0x1e5e78=_0x2bbc03['max']((_0x1e5e78|0x0)-this[_0x2af4dd(0xdd)],0x0);var _0x45d407=_0x1e5e78*_0x4d3225,_0x157c46=_0x2bbc03[_0x2af4dd(0x127)](_0x45d407*0x4,_0x352f34);if(_0x45d407){for(var _0x1ed034=0x0;_0x1ed034<_0x45d407;_0x1ed034+=_0x4d3225)this[_0x2af4dd(0x200)](_0x238157,_0x1ed034);_0x2baaef=_0x238157[_0x2af4dd(0x2ac)](0x0,_0x45d407),_0x1fb435['sigBytes']-=_0x157c46;}return new _0x1588c3['init'](_0x2baaef,_0x157c46);},'clone':function(){var _0x11c5ca=_0x3bba86,_0x54e45d=_0x2f2d39[_0x11c5ca(0x42f)][_0x11c5ca(0x15a)](this);return _0x54e45d[_0x11c5ca(0x254)]=this['_data'][_0x11c5ca(0x42f)](),_0x54e45d;},'_minBufferSize':0x0});_0x10f409[_0x3bba86(0x248)]=_0x13d77e['extend']({'cfg':_0x2f2d39[_0x3bba86(0xe3)](),'init':function(_0x4a3914){var _0x4bcd44=_0x3bba86;this[_0x4bcd44(0x30e)]=this[_0x4bcd44(0x30e)][_0x4bcd44(0xe3)](_0x4a3914),this[_0x4bcd44(0x15d)]();},'reset':function(){var _0x1a41c0=_0x3bba86;_0x13d77e[_0x1a41c0(0x15d)][_0x1a41c0(0x15a)](this),this['_doReset']();},'update':function(_0x2138f9){var _0x100ce3=_0x3bba86;return this[_0x100ce3(0x3e1)](_0x2138f9),this['_process'](),this;},'finalize':function(_0x4527b6){var _0x1aeecf=_0x3bba86;_0x4527b6&&this[_0x1aeecf(0x3e1)](_0x4527b6);var _0x53b64=this[_0x1aeecf(0x430)]();return _0x53b64;},'blockSize':0x10,'_createHelper':function(_0x13708a){return function(_0xdc5deb,_0x1fa5e9){var _0x65eed6=_0x2174;return new _0x13708a[(_0x65eed6(0x1e3))](_0x1fa5e9)[_0x65eed6(0x2b7)](_0xdc5deb);};},'_createHmacHelper':function(_0x3bcd42){return function(_0x4999ec,_0x260041){var _0x27a8df=_0x2174;return new _0x3757d0[(_0x27a8df(0x1bd))]['init'](_0x3bcd42,_0x260041)[_0x27a8df(0x2b7)](_0x4999ec);};}});var _0x3757d0=_0x391414[_0x3bba86(0x2ae)]={};return _0x391414;}(Math);return _0xd51ea8;}));}(fe)),fe[_0x3027cb(0x17d)];}var Ee={'exports':{}},Ci=Ee['exports'],ze;function Tt(){var _0x59c785=_0x346389;return ze||(ze=0x1,function(_0x57b790,_0x5b97a9){(function(_0x29ac12,_0x2a2cb2){var _0x4d7916=_0x2174;_0x57b790[_0x4d7916(0x17d)]=_0x2a2cb2(Z());}(Ci,function(_0xdffa76){var _0x3e3dbf=_0x2174;return(function(){var _0x4489b5=_0x2174,_0xad3a11=_0xdffa76,_0x5e90e8=_0xad3a11[_0x4489b5(0x29b)],_0x4ca13b=_0x5e90e8['WordArray'],_0x1ac747=_0xad3a11['enc'];_0x1ac747[_0x4489b5(0x3d9)]={'stringify':function(_0x2bffe4){var _0x27d61b=_0x4489b5,_0x18e4fb=_0x2bffe4[_0x27d61b(0x3fc)],_0x79df85=_0x2bffe4['sigBytes'],_0x5d3b33=this[_0x27d61b(0x19b)];_0x2bffe4[_0x27d61b(0x3fe)]();for(var _0x28b78e=[],_0x56d1dd=0x0;_0x56d1dd<_0x79df85;_0x56d1dd+=0x3)for(var _0x376f20=_0x18e4fb[_0x56d1dd>>>0x2]>>>0x18-_0x56d1dd%0x4*0x8&0xff,_0x18760b=_0x18e4fb[_0x56d1dd+0x1>>>0x2]>>>0x18-(_0x56d1dd+0x1)%0x4*0x8&0xff,_0x414f1d=_0x18e4fb[_0x56d1dd+0x2>>>0x2]>>>0x18-(_0x56d1dd+0x2)%0x4*0x8&0xff,_0xbe594d=_0x376f20<<0x10|_0x18760b<<0x8|_0x414f1d,_0x504778=0x0;_0x504778<0x4&&_0x56d1dd+_0x504778*0.75<_0x79df85;_0x504778++)_0x28b78e[_0x27d61b(0x179)](_0x5d3b33['charAt'](_0xbe594d>>>0x6*(0x3-_0x504778)&0x3f));var _0x7ed9ef=_0x5d3b33[_0x27d61b(0x113)](0x40);if(_0x7ed9ef){for(;_0x28b78e[_0x27d61b(0x260)]%0x4;)_0x28b78e[_0x27d61b(0x179)](_0x7ed9ef);}return _0x28b78e[_0x27d61b(0x327)]('');},'parse':function(_0x103e45){var _0x4d819b=_0x4489b5,_0x51fabb=_0x103e45['length'],_0xf11a22=this['_map'],_0x4f393e=this[_0x4d819b(0x2c2)];if(!_0x4f393e){_0x4f393e=this[_0x4d819b(0x2c2)]=[];for(var _0x56dc1f=0x0;_0x56dc1f<_0xf11a22[_0x4d819b(0x260)];_0x56dc1f++)_0x4f393e[_0xf11a22[_0x4d819b(0xe6)](_0x56dc1f)]=_0x56dc1f;}var _0x49ab8d=_0xf11a22[_0x4d819b(0x113)](0x40);if(_0x49ab8d){var _0x37745c=_0x103e45['indexOf'](_0x49ab8d);_0x37745c!==-0x1&&(_0x51fabb=_0x37745c);}return _0x85ec69(_0x103e45,_0x51fabb,_0x4f393e);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x85ec69(_0x5f2b96,_0x57d4c0,_0x1dc840){var _0x18da07=_0x4489b5;for(var _0x333844=[],_0x34c9a1=0x0,_0x23d46c=0x0;_0x23d46c<_0x57d4c0;_0x23d46c++)if(_0x23d46c%0x4){var _0x4ab6a2=_0x1dc840[_0x5f2b96[_0x18da07(0xe6)](_0x23d46c-0x1)]<<_0x23d46c%0x4*0x2,_0x1b2ac6=_0x1dc840[_0x5f2b96[_0x18da07(0xe6)](_0x23d46c)]>>>0x6-_0x23d46c%0x4*0x2,_0x341d08=_0x4ab6a2|_0x1b2ac6;_0x333844[_0x34c9a1>>>0x2]|=_0x341d08<<0x18-_0x34c9a1%0x4*0x8,_0x34c9a1++;}return _0x4ca13b['create'](_0x333844,_0x34c9a1);}}()),_0xdffa76[_0x3e3dbf(0x231)][_0x3e3dbf(0x3d9)];}));}(Ee)),Ee[_0x59c785(0x17d)];}var pe={'exports':{}},Oi=pe[_0x346389(0x17d)],Xe;function bi(){var _0x479ba4=_0x346389;return Xe||(Xe=0x1,function(_0x19d1f5,_0x357723){(function(_0x1602a5,_0x332407){var _0x561363=_0x2174;_0x19d1f5[_0x561363(0x17d)]=_0x332407(Z());}(Oi,function(_0x2e69c7){return function(_0x309236){var _0x5d8e07=_0x2174,_0x43d445=_0x2e69c7,_0x280e7a=_0x43d445[_0x5d8e07(0x29b)],_0xbf2a53=_0x280e7a['WordArray'],_0x1ef87c=_0x280e7a[_0x5d8e07(0x248)],_0x21618f=_0x43d445[_0x5d8e07(0x2ae)],_0x584c95=[];(function(){for(var _0x33ecc4=0x0;_0x33ecc4<0x40;_0x33ecc4++)_0x584c95[_0x33ecc4]=_0x309236['abs'](_0x309236['sin'](_0x33ecc4+0x1))*0x100000000|0x0;}());var _0x1fad96=_0x21618f[_0x5d8e07(0xdb)]=_0x1ef87c[_0x5d8e07(0xe3)]({'_doReset':function(){var _0x13abcb=_0x5d8e07;this[_0x13abcb(0x22f)]=new _0xbf2a53['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5074f6,_0x75f660){var _0x32c3e4=_0x5d8e07;for(var _0xd582d7=0x0;_0xd582d7<0x10;_0xd582d7++){var _0x570d58=_0x75f660+_0xd582d7,_0x5a3a1c=_0x5074f6[_0x570d58];_0x5074f6[_0x570d58]=(_0x5a3a1c<<0x8|_0x5a3a1c>>>0x18)&0xff00ff|(_0x5a3a1c<<0x18|_0x5a3a1c>>>0x8)&0xff00ff00;}var _0x47dff0=this[_0x32c3e4(0x22f)]['words'],_0x9353b=_0x5074f6[_0x75f660+0x0],_0x1b3f03=_0x5074f6[_0x75f660+0x1],_0x4477cf=_0x5074f6[_0x75f660+0x2],_0x1dd4c5=_0x5074f6[_0x75f660+0x3],_0x3427e4=_0x5074f6[_0x75f660+0x4],_0x13ba8c=_0x5074f6[_0x75f660+0x5],_0x3981c0=_0x5074f6[_0x75f660+0x6],_0x1d035d=_0x5074f6[_0x75f660+0x7],_0x8ac3c7=_0x5074f6[_0x75f660+0x8],_0x546f93=_0x5074f6[_0x75f660+0x9],_0x50aacc=_0x5074f6[_0x75f660+0xa],_0x27dcba=_0x5074f6[_0x75f660+0xb],_0x47fda0=_0x5074f6[_0x75f660+0xc],_0x23a72b=_0x5074f6[_0x75f660+0xd],_0x2d7220=_0x5074f6[_0x75f660+0xe],_0x1d845d=_0x5074f6[_0x75f660+0xf],_0x5103d2=_0x47dff0[0x0],_0x25d2cb=_0x47dff0[0x1],_0x13850d=_0x47dff0[0x2],_0x45a2de=_0x47dff0[0x3];_0x5103d2=_0x5c8b86(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x9353b,0x7,_0x584c95[0x0]),_0x45a2de=_0x5c8b86(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x1b3f03,0xc,_0x584c95[0x1]),_0x13850d=_0x5c8b86(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x4477cf,0x11,_0x584c95[0x2]),_0x25d2cb=_0x5c8b86(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x1dd4c5,0x16,_0x584c95[0x3]),_0x5103d2=_0x5c8b86(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x3427e4,0x7,_0x584c95[0x4]),_0x45a2de=_0x5c8b86(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x13ba8c,0xc,_0x584c95[0x5]),_0x13850d=_0x5c8b86(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x3981c0,0x11,_0x584c95[0x6]),_0x25d2cb=_0x5c8b86(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x1d035d,0x16,_0x584c95[0x7]),_0x5103d2=_0x5c8b86(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x8ac3c7,0x7,_0x584c95[0x8]),_0x45a2de=_0x5c8b86(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x546f93,0xc,_0x584c95[0x9]),_0x13850d=_0x5c8b86(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x50aacc,0x11,_0x584c95[0xa]),_0x25d2cb=_0x5c8b86(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x27dcba,0x16,_0x584c95[0xb]),_0x5103d2=_0x5c8b86(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x47fda0,0x7,_0x584c95[0xc]),_0x45a2de=_0x5c8b86(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x23a72b,0xc,_0x584c95[0xd]),_0x13850d=_0x5c8b86(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x2d7220,0x11,_0x584c95[0xe]),_0x25d2cb=_0x5c8b86(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x1d845d,0x16,_0x584c95[0xf]),_0x5103d2=_0xd78d19(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x1b3f03,0x5,_0x584c95[0x10]),_0x45a2de=_0xd78d19(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x3981c0,0x9,_0x584c95[0x11]),_0x13850d=_0xd78d19(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x27dcba,0xe,_0x584c95[0x12]),_0x25d2cb=_0xd78d19(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x9353b,0x14,_0x584c95[0x13]),_0x5103d2=_0xd78d19(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x13ba8c,0x5,_0x584c95[0x14]),_0x45a2de=_0xd78d19(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x50aacc,0x9,_0x584c95[0x15]),_0x13850d=_0xd78d19(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1d845d,0xe,_0x584c95[0x16]),_0x25d2cb=_0xd78d19(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x3427e4,0x14,_0x584c95[0x17]),_0x5103d2=_0xd78d19(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x546f93,0x5,_0x584c95[0x18]),_0x45a2de=_0xd78d19(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x2d7220,0x9,_0x584c95[0x19]),_0x13850d=_0xd78d19(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1dd4c5,0xe,_0x584c95[0x1a]),_0x25d2cb=_0xd78d19(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x8ac3c7,0x14,_0x584c95[0x1b]),_0x5103d2=_0xd78d19(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x23a72b,0x5,_0x584c95[0x1c]),_0x45a2de=_0xd78d19(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x4477cf,0x9,_0x584c95[0x1d]),_0x13850d=_0xd78d19(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1d035d,0xe,_0x584c95[0x1e]),_0x25d2cb=_0xd78d19(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x47fda0,0x14,_0x584c95[0x1f]),_0x5103d2=_0x1fdbc8(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x13ba8c,0x4,_0x584c95[0x20]),_0x45a2de=_0x1fdbc8(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x8ac3c7,0xb,_0x584c95[0x21]),_0x13850d=_0x1fdbc8(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x27dcba,0x10,_0x584c95[0x22]),_0x25d2cb=_0x1fdbc8(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x2d7220,0x17,_0x584c95[0x23]),_0x5103d2=_0x1fdbc8(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x1b3f03,0x4,_0x584c95[0x24]),_0x45a2de=_0x1fdbc8(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x3427e4,0xb,_0x584c95[0x25]),_0x13850d=_0x1fdbc8(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1d035d,0x10,_0x584c95[0x26]),_0x25d2cb=_0x1fdbc8(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x50aacc,0x17,_0x584c95[0x27]),_0x5103d2=_0x1fdbc8(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x23a72b,0x4,_0x584c95[0x28]),_0x45a2de=_0x1fdbc8(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x9353b,0xb,_0x584c95[0x29]),_0x13850d=_0x1fdbc8(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1dd4c5,0x10,_0x584c95[0x2a]),_0x25d2cb=_0x1fdbc8(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x3981c0,0x17,_0x584c95[0x2b]),_0x5103d2=_0x1fdbc8(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x546f93,0x4,_0x584c95[0x2c]),_0x45a2de=_0x1fdbc8(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x47fda0,0xb,_0x584c95[0x2d]),_0x13850d=_0x1fdbc8(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x1d845d,0x10,_0x584c95[0x2e]),_0x25d2cb=_0x1fdbc8(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x4477cf,0x17,_0x584c95[0x2f]),_0x5103d2=_0x4f44c4(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x9353b,0x6,_0x584c95[0x30]),_0x45a2de=_0x4f44c4(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x1d035d,0xa,_0x584c95[0x31]),_0x13850d=_0x4f44c4(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x2d7220,0xf,_0x584c95[0x32]),_0x25d2cb=_0x4f44c4(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x13ba8c,0x15,_0x584c95[0x33]),_0x5103d2=_0x4f44c4(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x47fda0,0x6,_0x584c95[0x34]),_0x45a2de=_0x4f44c4(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x1dd4c5,0xa,_0x584c95[0x35]),_0x13850d=_0x4f44c4(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x50aacc,0xf,_0x584c95[0x36]),_0x25d2cb=_0x4f44c4(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x1b3f03,0x15,_0x584c95[0x37]),_0x5103d2=_0x4f44c4(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x8ac3c7,0x6,_0x584c95[0x38]),_0x45a2de=_0x4f44c4(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x1d845d,0xa,_0x584c95[0x39]),_0x13850d=_0x4f44c4(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x3981c0,0xf,_0x584c95[0x3a]),_0x25d2cb=_0x4f44c4(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x23a72b,0x15,_0x584c95[0x3b]),_0x5103d2=_0x4f44c4(_0x5103d2,_0x25d2cb,_0x13850d,_0x45a2de,_0x3427e4,0x6,_0x584c95[0x3c]),_0x45a2de=_0x4f44c4(_0x45a2de,_0x5103d2,_0x25d2cb,_0x13850d,_0x27dcba,0xa,_0x584c95[0x3d]),_0x13850d=_0x4f44c4(_0x13850d,_0x45a2de,_0x5103d2,_0x25d2cb,_0x4477cf,0xf,_0x584c95[0x3e]),_0x25d2cb=_0x4f44c4(_0x25d2cb,_0x13850d,_0x45a2de,_0x5103d2,_0x546f93,0x15,_0x584c95[0x3f]),_0x47dff0[0x0]=_0x47dff0[0x0]+_0x5103d2|0x0,_0x47dff0[0x1]=_0x47dff0[0x1]+_0x25d2cb|0x0,_0x47dff0[0x2]=_0x47dff0[0x2]+_0x13850d|0x0,_0x47dff0[0x3]=_0x47dff0[0x3]+_0x45a2de|0x0;},'_doFinalize':function(){var _0x5d774b=_0x5d8e07,_0x30e525=this['_data'],_0x530461=_0x30e525[_0x5d774b(0x3fc)],_0x4f036a=this[_0x5d774b(0x121)]*0x8,_0x398309=_0x30e525['sigBytes']*0x8;_0x530461[_0x398309>>>0x5]|=0x80<<0x18-_0x398309%0x20;var _0x991e74=_0x309236['floor'](_0x4f036a/0x100000000),_0x3198fb=_0x4f036a;_0x530461[(_0x398309+0x40>>>0x9<<0x4)+0xf]=(_0x991e74<<0x8|_0x991e74>>>0x18)&0xff00ff|(_0x991e74<<0x18|_0x991e74>>>0x8)&0xff00ff00,_0x530461[(_0x398309+0x40>>>0x9<<0x4)+0xe]=(_0x3198fb<<0x8|_0x3198fb>>>0x18)&0xff00ff|(_0x3198fb<<0x18|_0x3198fb>>>0x8)&0xff00ff00,_0x30e525['sigBytes']=(_0x530461[_0x5d774b(0x260)]+0x1)*0x4,this[_0x5d774b(0x11b)]();for(var _0x3a8e04=this['_hash'],_0x4bbd49=_0x3a8e04[_0x5d774b(0x3fc)],_0x50408b=0x0;_0x50408b<0x4;_0x50408b++){var _0x114158=_0x4bbd49[_0x50408b];_0x4bbd49[_0x50408b]=(_0x114158<<0x8|_0x114158>>>0x18)&0xff00ff|(_0x114158<<0x18|_0x114158>>>0x8)&0xff00ff00;}return _0x3a8e04;},'clone':function(){var _0x3eb7ed=_0x5d8e07,_0x47380b=_0x1ef87c[_0x3eb7ed(0x42f)][_0x3eb7ed(0x15a)](this);return _0x47380b[_0x3eb7ed(0x22f)]=this[_0x3eb7ed(0x22f)][_0x3eb7ed(0x42f)](),_0x47380b;}});function _0x5c8b86(_0x4ba243,_0x55364b,_0xb29821,_0x4248de,_0x5df002,_0x165d26,_0x492e55){var _0x5cc57f=_0x4ba243+(_0x55364b&_0xb29821|~_0x55364b&_0x4248de)+_0x5df002+_0x492e55;return(_0x5cc57f<<_0x165d26|_0x5cc57f>>>0x20-_0x165d26)+_0x55364b;}function _0xd78d19(_0x606aa1,_0x2173b8,_0x342fb7,_0x53acdc,_0x65665,_0x127a0d,_0x4da42f){var _0x546f13=_0x606aa1+(_0x2173b8&_0x53acdc|_0x342fb7&~_0x53acdc)+_0x65665+_0x4da42f;return(_0x546f13<<_0x127a0d|_0x546f13>>>0x20-_0x127a0d)+_0x2173b8;}function _0x1fdbc8(_0x3dd517,_0x69ebdb,_0x30b48d,_0x5bd8f1,_0x3ed9ac,_0x32212d,_0x36aecd){var _0x4ef2d6=_0x3dd517+(_0x69ebdb^_0x30b48d^_0x5bd8f1)+_0x3ed9ac+_0x36aecd;return(_0x4ef2d6<<_0x32212d|_0x4ef2d6>>>0x20-_0x32212d)+_0x69ebdb;}function _0x4f44c4(_0x3572b0,_0x5eed1c,_0x34e88c,_0x480975,_0x3adfb4,_0x5c7e3f,_0x329edb){var _0x20e607=_0x3572b0+(_0x34e88c^(_0x5eed1c|~_0x480975))+_0x3adfb4+_0x329edb;return(_0x20e607<<_0x5c7e3f|_0x20e607>>>0x20-_0x5c7e3f)+_0x5eed1c;}_0x43d445['MD5']=_0x1ef87c[_0x5d8e07(0x217)](_0x1fad96),_0x43d445[_0x5d8e07(0x1bb)]=_0x1ef87c['_createHmacHelper'](_0x1fad96);}(Math),_0x2e69c7['MD5'];}));}(pe)),pe[_0x479ba4(0x17d)];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x346389(0x17d)],Je;function Ni(){var _0x509dd9=_0x346389;return Je||(Je=0x1,function(_0x3e7600,_0x11a389){(function(_0x121504,_0x3040ee){var _0x3d01c7=_0x2174;_0x3e7600[_0x3d01c7(0x17d)]=_0x3040ee(Z());}(Ri,function(_0x203544){var _0x54f87f=_0x2174;return(function(){var _0x3f98ee=_0x2174,_0x1835a7=_0x203544,_0x4e3387=_0x1835a7['lib'],_0x4025f0=_0x4e3387[_0x3f98ee(0x1ab)],_0x5ca4e2=_0x4e3387[_0x3f98ee(0x248)],_0x381d75=_0x1835a7[_0x3f98ee(0x2ae)],_0x53c5ff=[],_0x42cb89=_0x381d75['SHA1']=_0x5ca4e2[_0x3f98ee(0xe3)]({'_doReset':function(){var _0x355fe7=_0x3f98ee;this[_0x355fe7(0x22f)]=new _0x4025f0[(_0x355fe7(0x1e3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x599ec9,_0x4ccc45){var _0x3440c7=_0x3f98ee;for(var _0xd80d82=this[_0x3440c7(0x22f)][_0x3440c7(0x3fc)],_0x3c0dd0=_0xd80d82[0x0],_0x5b7fa8=_0xd80d82[0x1],_0xd0613f=_0xd80d82[0x2],_0x44dbaa=_0xd80d82[0x3],_0x1276ce=_0xd80d82[0x4],_0x2896a6=0x0;_0x2896a6<0x50;_0x2896a6++){if(_0x2896a6<0x10)_0x53c5ff[_0x2896a6]=_0x599ec9[_0x4ccc45+_0x2896a6]|0x0;else{var _0x38ba5b=_0x53c5ff[_0x2896a6-0x3]^_0x53c5ff[_0x2896a6-0x8]^_0x53c5ff[_0x2896a6-0xe]^_0x53c5ff[_0x2896a6-0x10];_0x53c5ff[_0x2896a6]=_0x38ba5b<<0x1|_0x38ba5b>>>0x1f;}var _0x114554=(_0x3c0dd0<<0x5|_0x3c0dd0>>>0x1b)+_0x1276ce+_0x53c5ff[_0x2896a6];_0x2896a6<0x14?_0x114554+=(_0x5b7fa8&_0xd0613f|~_0x5b7fa8&_0x44dbaa)+0x5a827999:_0x2896a6<0x28?_0x114554+=(_0x5b7fa8^_0xd0613f^_0x44dbaa)+0x6ed9eba1:_0x2896a6<0x3c?_0x114554+=(_0x5b7fa8&_0xd0613f|_0x5b7fa8&_0x44dbaa|_0xd0613f&_0x44dbaa)-0x70e44324:_0x114554+=(_0x5b7fa8^_0xd0613f^_0x44dbaa)-0x359d3e2a,_0x1276ce=_0x44dbaa,_0x44dbaa=_0xd0613f,_0xd0613f=_0x5b7fa8<<0x1e|_0x5b7fa8>>>0x2,_0x5b7fa8=_0x3c0dd0,_0x3c0dd0=_0x114554;}_0xd80d82[0x0]=_0xd80d82[0x0]+_0x3c0dd0|0x0,_0xd80d82[0x1]=_0xd80d82[0x1]+_0x5b7fa8|0x0,_0xd80d82[0x2]=_0xd80d82[0x2]+_0xd0613f|0x0,_0xd80d82[0x3]=_0xd80d82[0x3]+_0x44dbaa|0x0,_0xd80d82[0x4]=_0xd80d82[0x4]+_0x1276ce|0x0;},'_doFinalize':function(){var _0x4414c8=_0x3f98ee,_0x47e8ec=this[_0x4414c8(0x254)],_0x3926d9=_0x47e8ec['words'],_0x56ab90=this[_0x4414c8(0x121)]*0x8,_0x5d7568=_0x47e8ec[_0x4414c8(0x1ad)]*0x8;return _0x3926d9[_0x5d7568>>>0x5]|=0x80<<0x18-_0x5d7568%0x20,_0x3926d9[(_0x5d7568+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x56ab90/0x100000000),_0x3926d9[(_0x5d7568+0x40>>>0x9<<0x4)+0xf]=_0x56ab90,_0x47e8ec[_0x4414c8(0x1ad)]=_0x3926d9[_0x4414c8(0x260)]*0x4,this[_0x4414c8(0x11b)](),this['_hash'];},'clone':function(){var _0x44fdd4=_0x3f98ee,_0x32407f=_0x5ca4e2['clone'][_0x44fdd4(0x15a)](this);return _0x32407f[_0x44fdd4(0x22f)]=this['_hash'][_0x44fdd4(0x42f)](),_0x32407f;}});_0x1835a7[_0x3f98ee(0x1a8)]=_0x5ca4e2[_0x3f98ee(0x217)](_0x42cb89),_0x1835a7['HmacSHA1']=_0x5ca4e2[_0x3f98ee(0x21f)](_0x42cb89);}()),_0x203544[_0x54f87f(0x1a8)];}));}(ge)),ge[_0x509dd9(0x17d)];}var Te={'exports':{}},Di=Te['exports'],Ze;function yi(){var _0x373575=_0x346389;return Ze||(Ze=0x1,function(_0x524653,_0x5a8e01){(function(_0x296dc0,_0xb1ec80){var _0x38d63f=_0x2174;_0x524653[_0x38d63f(0x17d)]=_0xb1ec80(Z());}(Di,function(_0x27751b){(function(){var _0x1b761b=_0x2174,_0x431adf=_0x27751b,_0x45a7f0=_0x431adf[_0x1b761b(0x29b)],_0x245037=_0x45a7f0[_0x1b761b(0x1b9)],_0x2a40b5=_0x431adf['enc'],_0x20b644=_0x2a40b5[_0x1b761b(0x2cd)],_0x10fec8=_0x431adf[_0x1b761b(0x2ae)];_0x10fec8['HMAC']=_0x245037[_0x1b761b(0xe3)]({'init':function(_0x44ce9c,_0x1e390d){var _0x4db6d0=_0x1b761b;_0x44ce9c=this[_0x4db6d0(0x1eb)]=new _0x44ce9c[(_0x4db6d0(0x1e3))](),typeof _0x1e390d==_0x4db6d0(0x171)&&(_0x1e390d=_0x20b644[_0x4db6d0(0xed)](_0x1e390d));var _0xd420d=_0x44ce9c[_0x4db6d0(0x157)],_0xa50f5a=_0xd420d*0x4;_0x1e390d[_0x4db6d0(0x1ad)]>_0xa50f5a&&(_0x1e390d=_0x44ce9c[_0x4db6d0(0x2b7)](_0x1e390d)),_0x1e390d[_0x4db6d0(0x3fe)]();for(var _0x55f2b5=this['_oKey']=_0x1e390d[_0x4db6d0(0x42f)](),_0x10470b=this[_0x4db6d0(0x35c)]=_0x1e390d[_0x4db6d0(0x42f)](),_0x593f83=_0x55f2b5['words'],_0x5b7da8=_0x10470b[_0x4db6d0(0x3fc)],_0x13ab8e=0x0;_0x13ab8e<_0xd420d;_0x13ab8e++)_0x593f83[_0x13ab8e]^=0x5c5c5c5c,_0x5b7da8[_0x13ab8e]^=0x36363636;_0x55f2b5[_0x4db6d0(0x1ad)]=_0x10470b['sigBytes']=_0xa50f5a,this['reset']();},'reset':function(){var _0x30eee0=_0x1b761b,_0x4e23db=this[_0x30eee0(0x1eb)];_0x4e23db[_0x30eee0(0x15d)](),_0x4e23db[_0x30eee0(0x247)](this[_0x30eee0(0x35c)]);},'update':function(_0x19ee3c){var _0x387db3=_0x1b761b;return this[_0x387db3(0x1eb)][_0x387db3(0x247)](_0x19ee3c),this;},'finalize':function(_0x264902){var _0x43e2e0=_0x1b761b,_0x3810c0=this['_hasher'],_0x2dee5c=_0x3810c0[_0x43e2e0(0x2b7)](_0x264902);_0x3810c0[_0x43e2e0(0x15d)]();var _0x7d88df=_0x3810c0[_0x43e2e0(0x2b7)](this[_0x43e2e0(0x39b)][_0x43e2e0(0x42f)]()['concat'](_0x2dee5c));return _0x7d88df;}});}());}));}(Te)),Te[_0x373575(0x17d)];}var Ui=me[_0x346389(0x17d)],Qe;function Ct(){var _0x1a1738=_0x346389;return Qe||(Qe=0x1,function(_0x536271,_0x1fbbfd){(function(_0x15ba0e,_0x24c994,_0x560385){var _0x4be8fb=_0x2174;_0x536271[_0x4be8fb(0x17d)]=_0x24c994(Z(),Ni(),yi());}(Ui,function(_0x2e76a9){var _0x2843dc=_0x2174;return(function(){var _0x54edea=_0x2174,_0x4b2297=_0x2e76a9,_0x4f8f52=_0x4b2297['lib'],_0xc456c=_0x4f8f52[_0x54edea(0x1b9)],_0x41df02=_0x4f8f52['WordArray'],_0x357e55=_0x4b2297[_0x54edea(0x2ae)],_0x62071a=_0x357e55[_0x54edea(0xdb)],_0x5101b4=_0x357e55[_0x54edea(0x31a)]=_0xc456c[_0x54edea(0xe3)]({'cfg':_0xc456c[_0x54edea(0xe3)]({'keySize':0x80/0x20,'hasher':_0x62071a,'iterations':0x1}),'init':function(_0x36b517){var _0x4ee86f=_0x54edea;this['cfg']=this[_0x4ee86f(0x30e)]['extend'](_0x36b517);},'compute':function(_0x32ca77,_0x30c557){var _0x19889f=_0x54edea;for(var _0x4f6f4a,_0x4ab8b5=this[_0x19889f(0x30e)],_0x4e2c1e=_0x4ab8b5['hasher'][_0x19889f(0x29c)](),_0x88ff1d=_0x41df02[_0x19889f(0x29c)](),_0xd1c4c2=_0x88ff1d[_0x19889f(0x3fc)],_0x126974=_0x4ab8b5[_0x19889f(0x1f9)],_0xa45d07=_0x4ab8b5[_0x19889f(0x321)];_0xd1c4c2[_0x19889f(0x260)]<_0x126974;){_0x4f6f4a&&_0x4e2c1e['update'](_0x4f6f4a),_0x4f6f4a=_0x4e2c1e['update'](_0x32ca77)[_0x19889f(0x2b7)](_0x30c557),_0x4e2c1e[_0x19889f(0x15d)]();for(var _0x2231c8=0x1;_0x2231c8<_0xa45d07;_0x2231c8++)_0x4f6f4a=_0x4e2c1e['finalize'](_0x4f6f4a),_0x4e2c1e[_0x19889f(0x15d)]();_0x88ff1d[_0x19889f(0x1f4)](_0x4f6f4a);}return _0x88ff1d['sigBytes']=_0x126974*0x4,_0x88ff1d;}});_0x4b2297[_0x54edea(0x31a)]=function(_0x4bd072,_0x217227,_0x49047d){var _0x28e60f=_0x54edea;return _0x5101b4[_0x28e60f(0x29c)](_0x49047d)[_0x28e60f(0x40d)](_0x4bd072,_0x217227);};}()),_0x2e76a9[_0x2843dc(0x31a)];}));}(me)),me[_0x1a1738(0x17d)];}var Ce={'exports':{}},Ai=Ce[_0x346389(0x17d)],et;function Ot(){var _0x5d0e60=_0x346389;return et||(et=0x1,function(_0x6e1cff,_0x3c0ae7){(function(_0x51d416,_0x505ee3,_0x5f4062){_0x6e1cff['exports']=_0x505ee3(Z(),Ct());}(Ai,function(_0x5aee4f){var _0x10255f=_0x2174;_0x5aee4f[_0x10255f(0x29b)][_0x10255f(0x128)]||function(_0x51ec14){var _0x5bb2a2=_0x10255f,_0x3ab141=_0x5aee4f,_0x3809bc=_0x3ab141[_0x5bb2a2(0x29b)],_0x4502fa=_0x3809bc[_0x5bb2a2(0x1b9)],_0x112741=_0x3809bc[_0x5bb2a2(0x1ab)],_0x22e0fb=_0x3809bc[_0x5bb2a2(0x25c)],_0x3a9ffa=_0x3ab141[_0x5bb2a2(0x231)];_0x3a9ffa['Utf8'];var _0x58f0f0=_0x3a9ffa[_0x5bb2a2(0x3d9)],_0xbe8896=_0x3ab141['algo'],_0x2cac87=_0xbe8896[_0x5bb2a2(0x31a)],_0x417537=_0x3809bc[_0x5bb2a2(0x128)]=_0x22e0fb[_0x5bb2a2(0xe3)]({'cfg':_0x4502fa[_0x5bb2a2(0xe3)](),'createEncryptor':function(_0x2859e7,_0x52f105){var _0x4572cf=_0x5bb2a2;return this['create'](this[_0x4572cf(0x253)],_0x2859e7,_0x52f105);},'createDecryptor':function(_0x2d16f2,_0x19ba55){var _0x5ddf86=_0x5bb2a2;return this[_0x5ddf86(0x29c)](this[_0x5ddf86(0x21a)],_0x2d16f2,_0x19ba55);},'init':function(_0x21e9fb,_0x39395e,_0x497d56){var _0xa58fda=_0x5bb2a2;this[_0xa58fda(0x30e)]=this[_0xa58fda(0x30e)][_0xa58fda(0xe3)](_0x497d56),this['_xformMode']=_0x21e9fb,this[_0xa58fda(0x112)]=_0x39395e,this['reset']();},'reset':function(){var _0x2908b6=_0x5bb2a2;_0x22e0fb[_0x2908b6(0x15d)]['call'](this),this[_0x2908b6(0x2f7)]();},'process':function(_0x2076a8){var _0x4669a1=_0x5bb2a2;return this[_0x4669a1(0x3e1)](_0x2076a8),this[_0x4669a1(0x11b)]();},'finalize':function(_0x27898a){var _0x4bd307=_0x5bb2a2;_0x27898a&&this[_0x4bd307(0x3e1)](_0x27898a);var _0x1ddd80=this[_0x4bd307(0x430)]();return _0x1ddd80;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x527a13(_0x1f55c7){var _0x44345d=_0x2174;return typeof _0x1f55c7==_0x44345d(0x171)?_0x50b2a6:_0xc39d9b;}return function(_0x4c12b5){return{'encrypt':function(_0x2c0c62,_0x1718c2,_0x5a8e52){var _0x46fbda=_0x2174;return _0x527a13(_0x1718c2)[_0x46fbda(0x3fb)](_0x4c12b5,_0x2c0c62,_0x1718c2,_0x5a8e52);},'decrypt':function(_0x21a3a8,_0x8f9a32,_0x2e1b48){var _0x7f01c=_0x2174;return _0x527a13(_0x8f9a32)[_0x7f01c(0x1a4)](_0x4c12b5,_0x21a3a8,_0x8f9a32,_0x2e1b48);}};};}())});_0x3809bc[_0x5bb2a2(0x368)]=_0x417537[_0x5bb2a2(0xe3)]({'_doFinalize':function(){var _0x6ad757=_0x5bb2a2,_0x265c16=this[_0x6ad757(0x11b)](!0x0);return _0x265c16;},'blockSize':0x1});var _0x4fa2cc=_0x3ab141['mode']={},_0x16d07d=_0x3809bc['BlockCipherMode']=_0x4502fa[_0x5bb2a2(0xe3)]({'createEncryptor':function(_0x52b04f,_0x28cc09){var _0x4688fe=_0x5bb2a2;return this[_0x4688fe(0x24d)]['create'](_0x52b04f,_0x28cc09);},'createDecryptor':function(_0x570ff9,_0x2b070f){return this['Decryptor']['create'](_0x570ff9,_0x2b070f);},'init':function(_0x1c35b7,_0xb6bea7){var _0x30b3d7=_0x5bb2a2;this[_0x30b3d7(0x33b)]=_0x1c35b7,this['_iv']=_0xb6bea7;}}),_0x783b7e=_0x4fa2cc['CBC']=(function(){var _0x40d0e2=_0x5bb2a2,_0x4247b4=_0x16d07d[_0x40d0e2(0xe3)]();_0x4247b4[_0x40d0e2(0x24d)]=_0x4247b4[_0x40d0e2(0xe3)]({'processBlock':function(_0x5b7fec,_0x46616b){var _0x218165=_0x40d0e2,_0x3cfc47=this[_0x218165(0x33b)],_0x2bc506=_0x3cfc47[_0x218165(0x157)];_0x1745af[_0x218165(0x15a)](this,_0x5b7fec,_0x46616b,_0x2bc506),_0x3cfc47[_0x218165(0x302)](_0x5b7fec,_0x46616b),this[_0x218165(0x213)]=_0x5b7fec[_0x218165(0x25f)](_0x46616b,_0x46616b+_0x2bc506);}}),_0x4247b4['Decryptor']=_0x4247b4[_0x40d0e2(0xe3)]({'processBlock':function(_0x54a31c,_0x57482b){var _0x409c59=_0x40d0e2,_0x398d17=this[_0x409c59(0x33b)],_0x636308=_0x398d17[_0x409c59(0x157)],_0x405229=_0x54a31c['slice'](_0x57482b,_0x57482b+_0x636308);_0x398d17[_0x409c59(0x3b8)](_0x54a31c,_0x57482b),_0x1745af[_0x409c59(0x15a)](this,_0x54a31c,_0x57482b,_0x636308),this['_prevBlock']=_0x405229;}});function _0x1745af(_0x196dbc,_0x355cf6,_0xb2cf52){var _0x6df43b=_0x40d0e2,_0x370b54,_0x917de3=this[_0x6df43b(0x415)];_0x917de3?(_0x370b54=_0x917de3,this[_0x6df43b(0x415)]=_0x51ec14):_0x370b54=this[_0x6df43b(0x213)];for(var _0x1fdd73=0x0;_0x1fdd73<_0xb2cf52;_0x1fdd73++)_0x196dbc[_0x355cf6+_0x1fdd73]^=_0x370b54[_0x1fdd73];}return _0x4247b4;}()),_0x3161fa=_0x3ab141[_0x5bb2a2(0x359)]={},_0x2e618e=_0x3161fa[_0x5bb2a2(0x240)]={'pad':function(_0x288b6,_0x1ef257){var _0x1f1ec4=_0x5bb2a2;for(var _0xdb7b2b=_0x1ef257*0x4,_0x4744a0=_0xdb7b2b-_0x288b6[_0x1f1ec4(0x1ad)]%_0xdb7b2b,_0x8b15ec=_0x4744a0<<0x18|_0x4744a0<<0x10|_0x4744a0<<0x8|_0x4744a0,_0x4e3315=[],_0x4f9b81=0x0;_0x4f9b81<_0x4744a0;_0x4f9b81+=0x4)_0x4e3315['push'](_0x8b15ec);var _0x35a4d7=_0x112741[_0x1f1ec4(0x29c)](_0x4e3315,_0x4744a0);_0x288b6['concat'](_0x35a4d7);},'unpad':function(_0x4b1ddf){var _0x4100eb=_0x5bb2a2,_0x2188e2=_0x4b1ddf[_0x4100eb(0x3fc)][_0x4b1ddf[_0x4100eb(0x1ad)]-0x1>>>0x2]&0xff;_0x4b1ddf['sigBytes']-=_0x2188e2;}};_0x3809bc[_0x5bb2a2(0x2f6)]=_0x417537[_0x5bb2a2(0xe3)]({'cfg':_0x417537['cfg'][_0x5bb2a2(0xe3)]({'mode':_0x783b7e,'padding':_0x2e618e}),'reset':function(){var _0x1acd6f=_0x5bb2a2,_0xbd9a3d;_0x417537[_0x1acd6f(0x15d)][_0x1acd6f(0x15a)](this);var _0x2af03c=this[_0x1acd6f(0x30e)],_0x3368e9=_0x2af03c['iv'],_0x438158=_0x2af03c[_0x1acd6f(0x27f)];this['_xformMode']==this[_0x1acd6f(0x253)]?_0xbd9a3d=_0x438158[_0x1acd6f(0x26a)]:(_0xbd9a3d=_0x438158['createDecryptor'],this[_0x1acd6f(0xdd)]=0x1),this['_mode']&&this['_mode'][_0x1acd6f(0x108)]==_0xbd9a3d?this['_mode'][_0x1acd6f(0x1e3)](this,_0x3368e9&&_0x3368e9['words']):(this[_0x1acd6f(0x2dd)]=_0xbd9a3d[_0x1acd6f(0x15a)](_0x438158,this,_0x3368e9&&_0x3368e9[_0x1acd6f(0x3fc)]),this[_0x1acd6f(0x2dd)]['__creator']=_0xbd9a3d);},'_doProcessBlock':function(_0x1c3b2e,_0x48d4e9){var _0x21d723=_0x5bb2a2;this[_0x21d723(0x2dd)][_0x21d723(0x40e)](_0x1c3b2e,_0x48d4e9);},'_doFinalize':function(){var _0x4be337=_0x5bb2a2,_0x2dbc6e,_0x46c35b=this[_0x4be337(0x30e)][_0x4be337(0x314)];return this[_0x4be337(0x342)]==this[_0x4be337(0x253)]?(_0x46c35b[_0x4be337(0x359)](this['_data'],this['blockSize']),_0x2dbc6e=this[_0x4be337(0x11b)](!0x0)):(_0x2dbc6e=this[_0x4be337(0x11b)](!0x0),_0x46c35b['unpad'](_0x2dbc6e)),_0x2dbc6e;},'blockSize':0x80/0x20});var _0x15d130=_0x3809bc[_0x5bb2a2(0xbf)]=_0x4502fa[_0x5bb2a2(0xe3)]({'init':function(_0x396459){var _0x43fb34=_0x5bb2a2;this[_0x43fb34(0x2e6)](_0x396459);},'toString':function(_0x42b151){var _0x23865a=_0x5bb2a2;return(_0x42b151||this[_0x23865a(0xfd)])['stringify'](this);}}),_0x3cb406=_0x3ab141['format']={},_0x25944f=_0x3cb406['OpenSSL']={'stringify':function(_0x3210a3){var _0x340f8b=_0x5bb2a2,_0x352e63,_0x328be6=_0x3210a3['ciphertext'],_0x2008c5=_0x3210a3[_0x340f8b(0x269)];return _0x2008c5?_0x352e63=_0x112741[_0x340f8b(0x29c)]([0x53616c74,0x65645f5f])[_0x340f8b(0x1f4)](_0x2008c5)['concat'](_0x328be6):_0x352e63=_0x328be6,_0x352e63[_0x340f8b(0x3c3)](_0x58f0f0);},'parse':function(_0x4ce740){var _0x4aa54c=_0x5bb2a2,_0x130503,_0x3036a6=_0x58f0f0[_0x4aa54c(0xed)](_0x4ce740),_0xb3ec2e=_0x3036a6['words'];return _0xb3ec2e[0x0]==0x53616c74&&_0xb3ec2e[0x1]==0x65645f5f&&(_0x130503=_0x112741['create'](_0xb3ec2e['slice'](0x2,0x4)),_0xb3ec2e[_0x4aa54c(0x2ac)](0x0,0x4),_0x3036a6['sigBytes']-=0x10),_0x15d130[_0x4aa54c(0x29c)]({'ciphertext':_0x3036a6,'salt':_0x130503});}},_0xc39d9b=_0x3809bc[_0x5bb2a2(0x2be)]=_0x4502fa[_0x5bb2a2(0xe3)]({'cfg':_0x4502fa[_0x5bb2a2(0xe3)]({'format':_0x25944f}),'encrypt':function(_0x28098b,_0x127e23,_0x6c8be1,_0x5a79b8){var _0x2a50ee=_0x5bb2a2;_0x5a79b8=this[_0x2a50ee(0x30e)][_0x2a50ee(0xe3)](_0x5a79b8);var _0x26ed3a=_0x28098b['createEncryptor'](_0x6c8be1,_0x5a79b8),_0x1501a0=_0x26ed3a[_0x2a50ee(0x2b7)](_0x127e23),_0x50e61=_0x26ed3a[_0x2a50ee(0x30e)];return _0x15d130[_0x2a50ee(0x29c)]({'ciphertext':_0x1501a0,'key':_0x6c8be1,'iv':_0x50e61['iv'],'algorithm':_0x28098b,'mode':_0x50e61['mode'],'padding':_0x50e61[_0x2a50ee(0x314)],'blockSize':_0x28098b['blockSize'],'formatter':_0x5a79b8[_0x2a50ee(0x29d)]});},'decrypt':function(_0x5de184,_0x147892,_0x1a12cf,_0x13309b){var _0x3a6b26=_0x5bb2a2;_0x13309b=this['cfg'][_0x3a6b26(0xe3)](_0x13309b),_0x147892=this[_0x3a6b26(0x12e)](_0x147892,_0x13309b['format']);var _0xb6fb16=_0x5de184[_0x3a6b26(0xc4)](_0x1a12cf,_0x13309b)[_0x3a6b26(0x2b7)](_0x147892['ciphertext']);return _0xb6fb16;},'_parse':function(_0x2a9c4f,_0x331d2d){var _0x4305ed=_0x5bb2a2;return typeof _0x2a9c4f==_0x4305ed(0x171)?_0x331d2d[_0x4305ed(0xed)](_0x2a9c4f,this):_0x2a9c4f;}}),_0xea6af4=_0x3ab141[_0x5bb2a2(0x234)]={},_0x4c2ee7=_0xea6af4[_0x5bb2a2(0x288)]={'execute':function(_0x5e64a9,_0x37ef94,_0x38ebca,_0x377016,_0x1d3bfb){var _0x2e8676=_0x5bb2a2;if(_0x377016||(_0x377016=_0x112741[_0x2e8676(0x2b6)](0x40/0x8)),_0x1d3bfb)var _0xbe3b12=_0x2cac87[_0x2e8676(0x29c)]({'keySize':_0x37ef94+_0x38ebca,'hasher':_0x1d3bfb})[_0x2e8676(0x40d)](_0x5e64a9,_0x377016);else var _0xbe3b12=_0x2cac87[_0x2e8676(0x29c)]({'keySize':_0x37ef94+_0x38ebca})['compute'](_0x5e64a9,_0x377016);var _0x10fd1c=_0x112741[_0x2e8676(0x29c)](_0xbe3b12[_0x2e8676(0x3fc)][_0x2e8676(0x25f)](_0x37ef94),_0x38ebca*0x4);return _0xbe3b12[_0x2e8676(0x1ad)]=_0x37ef94*0x4,_0x15d130[_0x2e8676(0x29c)]({'key':_0xbe3b12,'iv':_0x10fd1c,'salt':_0x377016});}},_0x50b2a6=_0x3809bc[_0x5bb2a2(0x11e)]=_0xc39d9b[_0x5bb2a2(0xe3)]({'cfg':_0xc39d9b[_0x5bb2a2(0x30e)][_0x5bb2a2(0xe3)]({'kdf':_0x4c2ee7}),'encrypt':function(_0x5a4b4d,_0x13971c,_0x15a3b7,_0x31d8c9){var _0x2cd3ed=_0x5bb2a2;_0x31d8c9=this[_0x2cd3ed(0x30e)][_0x2cd3ed(0xe3)](_0x31d8c9);var _0x202d7b=_0x31d8c9[_0x2cd3ed(0x234)]['execute'](_0x15a3b7,_0x5a4b4d[_0x2cd3ed(0x1f9)],_0x5a4b4d[_0x2cd3ed(0x436)],_0x31d8c9[_0x2cd3ed(0x269)],_0x31d8c9['hasher']);_0x31d8c9['iv']=_0x202d7b['iv'];var _0x326cc2=_0xc39d9b[_0x2cd3ed(0x3fb)]['call'](this,_0x5a4b4d,_0x13971c,_0x202d7b[_0x2cd3ed(0x2b8)],_0x31d8c9);return _0x326cc2['mixIn'](_0x202d7b),_0x326cc2;},'decrypt':function(_0x264003,_0x3b84d8,_0x4a8adc,_0x4f7f9d){var _0x244f92=_0x5bb2a2;_0x4f7f9d=this['cfg'][_0x244f92(0xe3)](_0x4f7f9d),_0x3b84d8=this['_parse'](_0x3b84d8,_0x4f7f9d[_0x244f92(0x29d)]);var _0x40c785=_0x4f7f9d[_0x244f92(0x234)][_0x244f92(0x18f)](_0x4a8adc,_0x264003[_0x244f92(0x1f9)],_0x264003[_0x244f92(0x436)],_0x3b84d8[_0x244f92(0x269)],_0x4f7f9d[_0x244f92(0x381)]);_0x4f7f9d['iv']=_0x40c785['iv'];var _0x56f177=_0xc39d9b[_0x244f92(0x1a4)][_0x244f92(0x15a)](this,_0x264003,_0x3b84d8,_0x40c785[_0x244f92(0x2b8)],_0x4f7f9d);return _0x56f177;}});}();}));}(Ce)),Ce[_0x5d0e60(0x17d)];}var Pi=Ie[_0x346389(0x17d)],tt;function Li(){var _0x1c24fd=_0x346389;return tt||(tt=0x1,function(_0x5b7da0,_0x1228f4){(function(_0x4d27d3,_0x323295,_0x23f19e){var _0x3cbe74=_0x2174;_0x5b7da0[_0x3cbe74(0x17d)]=_0x323295(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x4bc199){var _0x1682d8=_0x2174;return(function(){var _0x2944df=_0x2174,_0x4c25f3=_0x4bc199,_0x3f9880=_0x4c25f3[_0x2944df(0x29b)],_0x3fc155=_0x3f9880[_0x2944df(0x2f6)],_0x43c2b5=_0x4c25f3[_0x2944df(0x2ae)],_0xf0d0fe=[],_0x3d1413=[],_0x305659=[],_0x337d76=[],_0x1ecfbc=[],_0x14114d=[],_0x5ba850=[],_0x2ae89c=[],_0x3adfac=[],_0x4a7cf7=[];(function(){for(var _0x14387e=[],_0x57f2d6=0x0;_0x57f2d6<0x100;_0x57f2d6++)_0x57f2d6<0x80?_0x14387e[_0x57f2d6]=_0x57f2d6<<0x1:_0x14387e[_0x57f2d6]=_0x57f2d6<<0x1^0x11b;for(var _0x53cdf7=0x0,_0x54432f=0x0,_0x57f2d6=0x0;_0x57f2d6<0x100;_0x57f2d6++){var _0x452cc1=_0x54432f^_0x54432f<<0x1^_0x54432f<<0x2^_0x54432f<<0x3^_0x54432f<<0x4;_0x452cc1=_0x452cc1>>>0x8^_0x452cc1&0xff^0x63,_0xf0d0fe[_0x53cdf7]=_0x452cc1,_0x3d1413[_0x452cc1]=_0x53cdf7;var _0x5e2151=_0x14387e[_0x53cdf7],_0x55b2a4=_0x14387e[_0x5e2151],_0xb2b946=_0x14387e[_0x55b2a4],_0x355d27=_0x14387e[_0x452cc1]*0x101^_0x452cc1*0x1010100;_0x305659[_0x53cdf7]=_0x355d27<<0x18|_0x355d27>>>0x8,_0x337d76[_0x53cdf7]=_0x355d27<<0x10|_0x355d27>>>0x10,_0x1ecfbc[_0x53cdf7]=_0x355d27<<0x8|_0x355d27>>>0x18,_0x14114d[_0x53cdf7]=_0x355d27;var _0x355d27=_0xb2b946*0x1010101^_0x55b2a4*0x10001^_0x5e2151*0x101^_0x53cdf7*0x1010100;_0x5ba850[_0x452cc1]=_0x355d27<<0x18|_0x355d27>>>0x8,_0x2ae89c[_0x452cc1]=_0x355d27<<0x10|_0x355d27>>>0x10,_0x3adfac[_0x452cc1]=_0x355d27<<0x8|_0x355d27>>>0x18,_0x4a7cf7[_0x452cc1]=_0x355d27,_0x53cdf7?(_0x53cdf7=_0x5e2151^_0x14387e[_0x14387e[_0x14387e[_0xb2b946^_0x5e2151]]],_0x54432f^=_0x14387e[_0x14387e[_0x54432f]]):_0x53cdf7=_0x54432f=0x1;}}());var _0xcedbb0=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fe348=_0x43c2b5[_0x2944df(0x214)]=_0x3fc155[_0x2944df(0xe3)]({'_doReset':function(){var _0x45e809=_0x2944df,_0x2fd5ce;if(!(this['_nRounds']&&this[_0x45e809(0x20a)]===this[_0x45e809(0x112)])){for(var _0x1ce46d=this[_0x45e809(0x20a)]=this[_0x45e809(0x112)],_0x484b17=_0x1ce46d[_0x45e809(0x3fc)],_0x5be0c2=_0x1ce46d[_0x45e809(0x1ad)]/0x4,_0x19b392=this['_nRounds']=_0x5be0c2+0x6,_0x4f6c82=(_0x19b392+0x1)*0x4,_0x7e9262=this[_0x45e809(0x412)]=[],_0x167768=0x0;_0x167768<_0x4f6c82;_0x167768++)_0x167768<_0x5be0c2?_0x7e9262[_0x167768]=_0x484b17[_0x167768]:(_0x2fd5ce=_0x7e9262[_0x167768-0x1],_0x167768%_0x5be0c2?_0x5be0c2>0x6&&_0x167768%_0x5be0c2==0x4&&(_0x2fd5ce=_0xf0d0fe[_0x2fd5ce>>>0x18]<<0x18|_0xf0d0fe[_0x2fd5ce>>>0x10&0xff]<<0x10|_0xf0d0fe[_0x2fd5ce>>>0x8&0xff]<<0x8|_0xf0d0fe[_0x2fd5ce&0xff]):(_0x2fd5ce=_0x2fd5ce<<0x8|_0x2fd5ce>>>0x18,_0x2fd5ce=_0xf0d0fe[_0x2fd5ce>>>0x18]<<0x18|_0xf0d0fe[_0x2fd5ce>>>0x10&0xff]<<0x10|_0xf0d0fe[_0x2fd5ce>>>0x8&0xff]<<0x8|_0xf0d0fe[_0x2fd5ce&0xff],_0x2fd5ce^=_0xcedbb0[_0x167768/_0x5be0c2|0x0]<<0x18),_0x7e9262[_0x167768]=_0x7e9262[_0x167768-_0x5be0c2]^_0x2fd5ce);for(var _0x4ba763=this[_0x45e809(0x20e)]=[],_0x400b38=0x0;_0x400b38<_0x4f6c82;_0x400b38++){var _0x167768=_0x4f6c82-_0x400b38;if(_0x400b38%0x4)var _0x2fd5ce=_0x7e9262[_0x167768];else var _0x2fd5ce=_0x7e9262[_0x167768-0x4];_0x400b38<0x4||_0x167768<=0x4?_0x4ba763[_0x400b38]=_0x2fd5ce:_0x4ba763[_0x400b38]=_0x5ba850[_0xf0d0fe[_0x2fd5ce>>>0x18]]^_0x2ae89c[_0xf0d0fe[_0x2fd5ce>>>0x10&0xff]]^_0x3adfac[_0xf0d0fe[_0x2fd5ce>>>0x8&0xff]]^_0x4a7cf7[_0xf0d0fe[_0x2fd5ce&0xff]];}}},'encryptBlock':function(_0x2b7dce,_0x190600){var _0x544fa4=_0x2944df;this[_0x544fa4(0x3d3)](_0x2b7dce,_0x190600,this[_0x544fa4(0x412)],_0x305659,_0x337d76,_0x1ecfbc,_0x14114d,_0xf0d0fe);},'decryptBlock':function(_0x58e502,_0x2e16c8){var _0x4d5683=_0x2944df,_0x56fe1b=_0x58e502[_0x2e16c8+0x1];_0x58e502[_0x2e16c8+0x1]=_0x58e502[_0x2e16c8+0x3],_0x58e502[_0x2e16c8+0x3]=_0x56fe1b,this[_0x4d5683(0x3d3)](_0x58e502,_0x2e16c8,this[_0x4d5683(0x20e)],_0x5ba850,_0x2ae89c,_0x3adfac,_0x4a7cf7,_0x3d1413);var _0x56fe1b=_0x58e502[_0x2e16c8+0x1];_0x58e502[_0x2e16c8+0x1]=_0x58e502[_0x2e16c8+0x3],_0x58e502[_0x2e16c8+0x3]=_0x56fe1b;},'_doCryptBlock':function(_0x51dc99,_0x20b02d,_0x5e0863,_0x2e05a9,_0x50c83d,_0x71de1f,_0x7f5f9b,_0x4d64b2){for(var _0x2a1cfa=this['_nRounds'],_0x365a3d=_0x51dc99[_0x20b02d]^_0x5e0863[0x0],_0x4deb19=_0x51dc99[_0x20b02d+0x1]^_0x5e0863[0x1],_0x9d441d=_0x51dc99[_0x20b02d+0x2]^_0x5e0863[0x2],_0x22b2f9=_0x51dc99[_0x20b02d+0x3]^_0x5e0863[0x3],_0x577f3e=0x4,_0x272cb6=0x1;_0x272cb6<_0x2a1cfa;_0x272cb6++){var _0x30ff70=_0x2e05a9[_0x365a3d>>>0x18]^_0x50c83d[_0x4deb19>>>0x10&0xff]^_0x71de1f[_0x9d441d>>>0x8&0xff]^_0x7f5f9b[_0x22b2f9&0xff]^_0x5e0863[_0x577f3e++],_0x26af2f=_0x2e05a9[_0x4deb19>>>0x18]^_0x50c83d[_0x9d441d>>>0x10&0xff]^_0x71de1f[_0x22b2f9>>>0x8&0xff]^_0x7f5f9b[_0x365a3d&0xff]^_0x5e0863[_0x577f3e++],_0x2aade1=_0x2e05a9[_0x9d441d>>>0x18]^_0x50c83d[_0x22b2f9>>>0x10&0xff]^_0x71de1f[_0x365a3d>>>0x8&0xff]^_0x7f5f9b[_0x4deb19&0xff]^_0x5e0863[_0x577f3e++],_0x101b79=_0x2e05a9[_0x22b2f9>>>0x18]^_0x50c83d[_0x365a3d>>>0x10&0xff]^_0x71de1f[_0x4deb19>>>0x8&0xff]^_0x7f5f9b[_0x9d441d&0xff]^_0x5e0863[_0x577f3e++];_0x365a3d=_0x30ff70,_0x4deb19=_0x26af2f,_0x9d441d=_0x2aade1,_0x22b2f9=_0x101b79;}var _0x30ff70=(_0x4d64b2[_0x365a3d>>>0x18]<<0x18|_0x4d64b2[_0x4deb19>>>0x10&0xff]<<0x10|_0x4d64b2[_0x9d441d>>>0x8&0xff]<<0x8|_0x4d64b2[_0x22b2f9&0xff])^_0x5e0863[_0x577f3e++],_0x26af2f=(_0x4d64b2[_0x4deb19>>>0x18]<<0x18|_0x4d64b2[_0x9d441d>>>0x10&0xff]<<0x10|_0x4d64b2[_0x22b2f9>>>0x8&0xff]<<0x8|_0x4d64b2[_0x365a3d&0xff])^_0x5e0863[_0x577f3e++],_0x2aade1=(_0x4d64b2[_0x9d441d>>>0x18]<<0x18|_0x4d64b2[_0x22b2f9>>>0x10&0xff]<<0x10|_0x4d64b2[_0x365a3d>>>0x8&0xff]<<0x8|_0x4d64b2[_0x4deb19&0xff])^_0x5e0863[_0x577f3e++],_0x101b79=(_0x4d64b2[_0x22b2f9>>>0x18]<<0x18|_0x4d64b2[_0x365a3d>>>0x10&0xff]<<0x10|_0x4d64b2[_0x4deb19>>>0x8&0xff]<<0x8|_0x4d64b2[_0x9d441d&0xff])^_0x5e0863[_0x577f3e++];_0x51dc99[_0x20b02d]=_0x30ff70,_0x51dc99[_0x20b02d+0x1]=_0x26af2f,_0x51dc99[_0x20b02d+0x2]=_0x2aade1,_0x51dc99[_0x20b02d+0x3]=_0x101b79;},'keySize':0x100/0x20});_0x4c25f3[_0x2944df(0x214)]=_0x3fc155['_createHelper'](_0x2fe348);}()),_0x4bc199[_0x1682d8(0x214)];}));}(Ie)),Ie[_0x1c24fd(0x17d)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x346389(0x17d)],nt;function $i(){var _0x4cbb31=_0x346389;return nt||(nt=0x1,function(_0x433fd4,_0x5cc8bc){(function(_0x32c04b,_0x30d29b){var _0x41d42a=_0x2174;_0x433fd4[_0x41d42a(0x17d)]=_0x30d29b(Z());}(ki,function(_0x4c89eb){var _0x3e6f21=_0x2174;return _0x4c89eb[_0x3e6f21(0x231)][_0x3e6f21(0x2cd)];}));}(Oe)),Oe[_0x4cbb31(0x17d)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x346389(0x17d)],st;function Fi(){var _0x15f757=_0x346389;return st||(st=0x1,function(_0xad8638,_0x1d1548){(function(_0x4722e9,_0x478d28){var _0x42b44f=_0x2174;_0xad8638[_0x42b44f(0x17d)]=_0x478d28(Z());}(Bi,function(_0x1c1fa1){var _0x1a22fd=_0x2174;return(function(){var _0x15d788=_0x2174;if(typeof ArrayBuffer==_0x15d788(0x3e6)){var _0x39fc60=_0x1c1fa1,_0x83e85c=_0x39fc60[_0x15d788(0x29b)],_0x2c0254=_0x83e85c[_0x15d788(0x1ab)],_0x6b1166=_0x2c0254[_0x15d788(0x1e3)],_0x5b9ab9=_0x2c0254[_0x15d788(0x1e3)]=function(_0x56a7c4){var _0x1011e9=_0x15d788;if(_0x56a7c4 instanceof ArrayBuffer&&(_0x56a7c4=new Uint8Array(_0x56a7c4)),(_0x56a7c4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x56a7c4 instanceof Uint8ClampedArray||_0x56a7c4 instanceof Int16Array||_0x56a7c4 instanceof Uint16Array||_0x56a7c4 instanceof Int32Array||_0x56a7c4 instanceof Uint32Array||_0x56a7c4 instanceof Float32Array||_0x56a7c4 instanceof Float64Array)&&(_0x56a7c4=new Uint8Array(_0x56a7c4[_0x1011e9(0xec)],_0x56a7c4[_0x1011e9(0x319)],_0x56a7c4[_0x1011e9(0x31d)])),_0x56a7c4 instanceof Uint8Array){for(var _0x3635bb=_0x56a7c4[_0x1011e9(0x31d)],_0x2249c6=[],_0x154895=0x0;_0x154895<_0x3635bb;_0x154895++)_0x2249c6[_0x154895>>>0x2]|=_0x56a7c4[_0x154895]<<0x18-_0x154895%0x4*0x8;_0x6b1166[_0x1011e9(0x15a)](this,_0x2249c6,_0x3635bb);}else _0x6b1166['apply'](this,arguments);};_0x5b9ab9['prototype']=_0x2c0254;}}()),_0x1c1fa1['lib'][_0x1a22fd(0x1ab)];}));}(be)),be[_0x15f757(0x17d)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0x346389(0x17d)],rt;function Yi(){var _0x218aef=_0x346389;return rt||(rt=0x1,function(_0x225f3c,_0xe8253d){(function(_0x3fa70c,_0x1d1bde,_0x1fdf81){var _0x21eae4=_0x2174;_0x225f3c[_0x21eae4(0x17d)]=_0x1d1bde(Z(),Ot());}(Gi,function(_0x46e283){var _0x5e9957=_0x2174;return _0x46e283[_0x5e9957(0x359)][_0x5e9957(0x2a1)]={'pad':function(){},'unpad':function(){}},_0x46e283[_0x5e9957(0x359)][_0x5e9957(0x2a1)];}));}(Re)),Re[_0x218aef(0x17d)];}var Ki=Yi();const qi=de(Ki);function zi(_0x39f778,_0x3c60c6){var _0x315053=_0x346389;const _0xb2ffd5=_0x3c60c6-_0x39f778['length']%_0x3c60c6,_0x508024=String['fromCharCode'](_0xb2ffd5)[_0x315053(0x2fc)](_0xb2ffd5);return _0x39f778+_0x508024;}function Xi(_0x5c0716,_0x2996e5){var _0x4726bb=_0x346389;const _0x3ca3e4=Wi['random'](0x10),_0x21a811=zi(_0x5c0716,0x10),_0x342b8b=wi[_0x4726bb(0x3fb)](ji['parse'](_0x21a811),it[_0x4726bb(0xed)](_0x2996e5),{'iv':_0x3ca3e4,'padding':qi});return _0x3ca3e4[_0x4726bb(0x1f4)](_0x342b8b[_0x4726bb(0x135)])[_0x4726bb(0x3c3)](it);}function Ji(){var _0x5c68d4=_0x346389;const _0x340074=Dt[_0x5c68d4(0x357)]()[_0x5c68d4(0x17e)];if(_0x340074){const _0x4ceddd={'time':Math[_0x5c68d4(0x194)](Date[_0x5c68d4(0xbd)]()/0x3e8),'domain':location[_0x5c68d4(0x2ef)]};return Xi(JSON[_0x5c68d4(0x3cf)](_0x4ceddd),_0x340074);}}var Zi=Object[_0x346389(0x21c)],Qi=(_0x2a816b,_0x4c6df2,_0x20118f,_0x52b500)=>{for(var _0x5dc168=_0x52b500>0x1?void 0x0:_0x52b500?Zi(_0x4c6df2,_0x20118f):_0x4c6df2,_0xd7472b=_0x2a816b['length']-0x1,_0x216866;_0xd7472b>=0x0;_0xd7472b--)(_0x216866=_0x2a816b[_0xd7472b])&&(_0x5dc168=_0x216866(_0x5dc168)||_0x5dc168);return _0x5dc168;},en=(_0x523a4a,_0x110843)=>(_0xd4251b,_0x38b9fa)=>_0x110843(_0xd4251b,_0x38b9fa,_0x523a4a);let De=class{constructor(_0x48e82b){var _0x520356=_0x346389;this[_0x520356(0x28d)]=_0x48e82b,this['_initRequestHeader']();}[_0x346389(0x2f8)](){var _0x48c958=_0x346389;this[_0x48c958(0x28d)][_0x48c958(0x205)]({'interceptor':(_0x1a1ef3,_0xc3d931)=>{var _0xcbaffe=_0x48c958;const _0x5677b7=_0x1a1ef3['headers'],_0x5e07e7=Ji();return _0x5e07e7&&_0x5677b7['set'](_0xcbaffe(0x3db),_0x5e07e7),_0xc3d931(_0x1a1ef3);}});}};De=Qi([en(0x0,o[_0x346389(0x33c)](K[_0x346389(0x3d7)]))],De);var tn=Object['getOwnPropertyDescriptor'],nn=(_0x1bacbc,_0x4bc425,_0x54e4b6,_0x1c6cc9)=>{var _0x9e58ef=_0x346389;for(var _0x5be68b=_0x1c6cc9>0x1?void 0x0:_0x1c6cc9?tn(_0x4bc425,_0x54e4b6):_0x4bc425,_0x434eb6=_0x1bacbc[_0x9e58ef(0x260)]-0x1,_0x5aa167;_0x434eb6>=0x0;_0x434eb6--)(_0x5aa167=_0x1bacbc[_0x434eb6])&&(_0x5be68b=_0x5aa167(_0x5be68b)||_0x5be68b);return _0x5be68b;},Le=(_0x458cf9,_0x2d2170)=>(_0x4a309c,_0x38e66f)=>_0x2d2170(_0x4a309c,_0x38e66f,_0x458cf9);exports[_0x346389(0x39f)]=class extends o[_0x346389(0x29a)]{constructor(_0x1cf015,_0x3e8799,_0x134bde){var _0x522f92=_0x346389;super(),A(this,'_unitInfo$',new j['BehaviorSubject'](null)),A(this,_0x522f92(0x2c7),this[_0x522f92(0x158)][_0x522f92(0x33e)]()),(this[_0x522f92(0x306)]=_0x1cf015,this[_0x522f92(0x3a3)]=_0x3e8799,this[_0x522f92(0x249)]=_0x134bde);}async[_0x346389(0x237)](_0x1bbc1f,_0x26d96a,_0x5200bc){var _0x54c2c1=_0x346389;this[_0x54c2c1(0x158)][_0x54c2c1(0x408)]({'unitId':_0x1bbc1f,'type':_0x26d96a});let _0x262ce2=null;switch(_0x26d96a){case X[_0x54c2c1(0x30c)]:{_0x262ce2=await this[_0x54c2c1(0x3a3)][_0x54c2c1(0x19d)](_0x1bbc1f,_0x5200bc);break;}case X[_0x54c2c1(0xf3)]:{_0x262ce2=await this[_0x54c2c1(0x3a3)][_0x54c2c1(0x2a3)](_0x1bbc1f,_0x5200bc);break;}default:{this['_logService'][_0x54c2c1(0x286)](_0x54c2c1(0x346),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x262ce2;}async[_0x346389(0x221)](_0x49d54b,_0x5357da,_0x5b0a00){var _0x17e176=_0x346389,_0x417269;this[_0x17e176(0x158)][_0x17e176(0x408)]({'unitId':_0x49d54b,'type':_0x5357da,'subUnitId':_0x5b0a00});let _0x11d391=0x0;const _0x5a7416=await((_0x417269=this[_0x17e176(0x249)])==null?void 0x0:_0x417269[_0x17e176(0x2d0)](_0x49d54b));return _0x5a7416&&(_0x5a7416['awaitingChangeset']||_0x5a7416[_0x17e176(0x2aa)][_0x17e176(0x260)]!==0x0)&&(_0x11d391=_0x5a7416[_0x17e176(0x267)]),_0x11d391===0x0&&this['_logService'][_0x17e176(0x20f)](_0x17e176(0x346),_0x17e176(0x11f)),this[_0x17e176(0x237)](_0x49d54b,_0x5357da,_0x11d391);}},exports[_0x346389(0x39f)]=nn([Le(0x0,o[_0x346389(0x245)]),Le(0x1,o[_0x346389(0x33c)](E[_0x346389(0x433)])),Le(0x2,o[_0x346389(0x32f)](q))],exports[_0x346389(0x39f)]);var sn=Object[_0x346389(0x21c)],rn=(_0x4851af,_0x75ce82,_0x5b29ce,_0xb89bdc)=>{var _0x1313e6=_0x346389;for(var _0x2c5fcf=_0xb89bdc>0x1?void 0x0:_0xb89bdc?sn(_0x75ce82,_0x5b29ce):_0x75ce82,_0x5c3e13=_0x4851af[_0x1313e6(0x260)]-0x1,_0x2e1191;_0x5c3e13>=0x0;_0x5c3e13--)(_0x2e1191=_0x4851af[_0x5c3e13])&&(_0x2c5fcf=_0x2e1191(_0x2c5fcf)||_0x2c5fcf);return _0x2c5fcf;},Me=(_0x394131,_0xd24fd3)=>(_0x1d7184,_0x4508f7)=>_0xd24fd3(_0x1d7184,_0x4508f7,_0x394131);const an=[_0x346389(0x33d),_0x346389(0x132),_0x346389(0x1b3),_0x346389(0x131),_0x346389(0x437)],on=0x5*0x400*0x400,cn=_0x346389(0x16c),_n=_0x346389(0x198);exports[_0x346389(0x438)]=class{constructor(_0x1e3335,_0x57cf01,_0x43d48f){var _0x229d86=_0x346389;A(this,'_waitCount',0x0),A(this,'_change$',new j[(_0x229d86(0x1b5))]()),A(this,'change$',this[_0x229d86(0x42c)]),A(this,_0x229d86(0x177),new Map()),(this[_0x229d86(0x28d)]=_0x1e3335,this[_0x229d86(0x13b)]=_0x57cf01,this[_0x229d86(0x334)]=_0x43d48f);}[_0x346389(0x3ec)](_0x85c6fa){var _0x2bf213=_0x346389;this[_0x2bf213(0x326)]=_0x85c6fa,this[_0x2bf213(0x42c)][_0x2bf213(0x408)](_0x85c6fa);}[_0x346389(0x216)](_0x2c67be,_0x4ed35e){var _0x1fc2a2=_0x346389;if(_0x4ed35e===z[_0x1fc2a2(0x1c5)][_0x1fc2a2(0x43c)]){const _0x34acec=new Image();return _0x34acec[_0x1fc2a2(0x401)]=_0x2c67be,_0x34acec;}return this[_0x1fc2a2(0x177)][_0x1fc2a2(0x16e)](_0x2c67be);}[_0x346389(0x42a)](_0x454e89,_0x5c3505,_0xd5b32f){var _0x59f77f=_0x346389;_0x5c3505===z['ImageSourceType'][_0x59f77f(0x43c)]||_0xd5b32f==null||this[_0x59f77f(0x177)][_0x59f77f(0xfc)](_0x454e89,_0xd5b32f);}async['getImage'](_0xd1c05c){var _0x42eed2=_0x346389;try{const _0x2f547f=this['_replaceFileID'](this[_0x42eed2(0x238)](),''+_0xd1c05c),_0x5df63e=(await this[_0x42eed2(0x28d)][_0x42eed2(0x16e)](_0x2f547f))[_0x42eed2(0x144)];if(_0x5df63e['error']&&_0x5df63e[_0x42eed2(0x286)]['code']===vt['OK']){const _0xd3abda=new URL(_0x5df63e['url'],this[_0x42eed2(0x2ba)]())[_0x42eed2(0x3c3)]();return Promise[_0x42eed2(0x383)](_0xd3abda);}return Promise[_0x42eed2(0x32c)](_0x5df63e[_0x42eed2(0x286)]);}catch(_0x1f35b5){return Promise[_0x42eed2(0x32c)](_0x1f35b5);}}async[_0x346389(0x1af)](_0x9e1123){var _0x6dd32e=_0x346389;let _0x2efe5d='';if(!an[_0x6dd32e(0x1df)](_0x9e1123[_0x6dd32e(0x424)]))return this['_decreaseWaiting'](),Promise[_0x6dd32e(0x32c)](new Error(z[_0x6dd32e(0x3b1)]['ERROR_IMAGE_TYPE']));if(_0x9e1123['size']>on)return this[_0x6dd32e(0x37f)](),Promise[_0x6dd32e(0x32c)](new Error(z['ImageUploadStatusType'][_0x6dd32e(0x2c8)]));try{const _0x5760cd=new FormData();_0x5760cd['append'](_0x6dd32e(0x147),_0x9e1123);const _0x385147=this[_0x6dd32e(0x334)][_0x6dd32e(0x2a7)](),_0x20fa6b=_0x385147==null?void 0x0:_0x385147['getUnitId']();if(!_0x20fa6b)throw new Error(_0x6dd32e(0xf0));const _0x39b209=this[_0x6dd32e(0x1ae)]()+_0x6dd32e(0x384)+_0x9e1123[_0x6dd32e(0x373)][_0x6dd32e(0x3c3)]()+'&source='+dt['UnitEmbedded']+_0x6dd32e(0x230)+encodeURIComponent(_0x20fa6b),_0x1469f6={'body':_0x5760cd},_0x186265=(await this['_httpService'][_0x6dd32e(0x27a)](_0x39b209,_0x1469f6))['body'];if(typeof _0x186265[_0x6dd32e(0x17b)]!=_0x6dd32e(0x171))return this['_decreaseWaiting'](),Promise[_0x6dd32e(0x32c)](new Error(z[_0x6dd32e(0x3b1)]['ERROR_IMAGE']));_0x2efe5d=_0x186265['FileId'];}catch{return this[_0x6dd32e(0x37f)](),Promise[_0x6dd32e(0x32c)](new Error(z[_0x6dd32e(0x3b1)][_0x6dd32e(0xe8)]));}return new Promise((_0x2808b4,_0x1474fb)=>{var _0x321adc=_0x6dd32e;const _0x54f21f=new FileReader();_0x54f21f['readAsDataURL'](_0x9e1123),_0x54f21f[_0x321adc(0xf7)]=_0x5a0922=>{var _0x495071=_0x321adc,_0x13eb83;const _0x39a237=(_0x13eb83=_0x5a0922['target'])==null?void 0x0:_0x13eb83[_0x495071(0x11a)];if(_0x39a237==null){this['_decreaseWaiting'](),_0x1474fb(new Error(z[_0x495071(0x3b1)][_0x495071(0xe8)]));return;}const _0x1fd83d=o[_0x495071(0x136)](0x6);_0x2808b4({'imageId':_0x1fd83d,'imageSourceType':z[_0x495071(0x1c5)][_0x495071(0x1ff)],'source':_0x2efe5d,'base64Cache':_0x39a237,'status':z['ImageUploadStatusType'][_0x495071(0x10e)]}),this['_decreaseWaiting']();};});}[_0x346389(0x1ae)](){var _0x1b4cf6=_0x346389,_0x236713;const _0x28ddb7=this[_0x1b4cf6(0x13b)][_0x1b4cf6(0x31c)](Y);return(_0x236713=_0x28ddb7==null?void 0x0:_0x28ddb7[_0x1b4cf6(0x3b7)])!=null?_0x236713:cn;}[_0x346389(0x238)](){var _0x386d76=_0x346389,_0x299be1;const _0x16c236=this[_0x386d76(0x13b)][_0x386d76(0x31c)](Y);return(_0x299be1=_0x16c236==null?void 0x0:_0x16c236[_0x386d76(0x421)])!=null?_0x299be1:_n;}[_0x346389(0x2ba)](){var _0x2bbc41=_0x346389,_0x7cc39c;const _0x94177d=this['_configService'][_0x2bbc41(0x31c)](Y);return(_0x7cc39c=_0x94177d==null?void 0x0:_0x94177d[_0x2bbc41(0x32a)])!=null?_0x7cc39c:location[_0x2bbc41(0xd8)];}[_0x346389(0x2af)](_0x5dfc5c,_0x2f7593){var _0x40f371=_0x346389;return _0x5dfc5c[_0x40f371(0x236)]('{fileID}',_0x2f7593);}[_0x346389(0x37f)](){var _0x26baab=_0x346389;this['_waitCount']-=0x1,this[_0x26baab(0x42c)][_0x26baab(0x408)](this[_0x26baab(0x326)]);}},exports[_0x346389(0x438)]=rn([Me(0x0,o[_0x346389(0x33c)](K[_0x346389(0x3d7)])),Me(0x1,o[_0x346389(0x3ac)]),Me(0x2,o[_0x346389(0x33c)](o[_0x346389(0x1c6)]))],exports['CollaborationImageIoService']);var hn=Object[_0x346389(0x21c)],ln=(_0x10d1f2,_0x564257,_0x469c2f,_0x1a1b12)=>{var _0x345609=_0x346389;for(var _0x173b08=_0x1a1b12>0x1?void 0x0:_0x1a1b12?hn(_0x564257,_0x469c2f):_0x564257,_0x1c5f17=_0x10d1f2[_0x345609(0x260)]-0x1,_0x599057;_0x1c5f17>=0x0;_0x1c5f17--)(_0x599057=_0x10d1f2[_0x1c5f17])&&(_0x173b08=_0x599057(_0x173b08)||_0x173b08);return _0x173b08;},at=(_0x4c86cb,_0x3f14aa)=>(_0x36df52,_0x50fe50)=>_0x3f14aa(_0x36df52,_0x50fe50,_0x4c86cb);const un=_0x346389(0x363);exports[_0x346389(0xf6)]=class{constructor(_0x376133,_0x59277a){var _0x38c9bd=_0x346389;this['_configService']=_0x376133,this[_0x38c9bd(0x2e3)]=_0x59277a;}[_0x346389(0x324)](){var _0x21e988=_0x346389,_0xd3be64;const _0x4d4eb1=this[_0x21e988(0x13b)][_0x21e988(0x31c)](Y);return(_0xd3be64=_0x4d4eb1==null?void 0x0:_0x4d4eb1[_0x21e988(0x1de)])!=null?_0xd3be64:un;}async['list'](_0x23bd50){var _0x3bb091=_0x346389;const _0xc6ad28=this[_0x3bb091(0x324)]()+_0x3bb091(0x3d4);return{'list':[{'title':_0x3bb091(0x22c),'mentions':(await this['_HTTPService']['get'](_0xc6ad28,{'params':{'objectID':_0x23bd50[_0x3bb091(0x440)],'unitID':_0x23bd50[_0x3bb091(0x440)]}}))[_0x3bb091(0x144)][_0x3bb091(0x3c7)][_0x3bb091(0x41e)](_0x33f87f=>({'objectId':_0x33f87f['id'],'name':_0x33f87f[_0x3bb091(0x118)][_0x3bb091(0x2c0)],'metadata':{'icon':_0x33f87f['subject'][_0x3bb091(0x241)]},'label':_0x33f87f[_0x3bb091(0x118)][_0x3bb091(0x2c0)],'objectType':o[_0x3bb091(0xce)]['PERSON']})),'metadata':{},'type':o[_0x3bb091(0xce)][_0x3bb091(0x3d1)]}]};}},exports['MentionIoHttpService']=ln([at(0x0,o['Inject'](o[_0x346389(0x3ac)])),at(0x1,o[_0x346389(0x33c)](K[_0x346389(0x3d7)]))],exports[_0x346389(0xf6)]);var vn=Object[_0x346389(0x21c)],dn=(_0x2c401a,_0x32a90b,_0x552f0b,_0x2d2e04)=>{var _0x4dcefc=_0x346389;for(var _0x39b35d=_0x2d2e04>0x1?void 0x0:_0x2d2e04?vn(_0x32a90b,_0x552f0b):_0x32a90b,_0x2dfe06=_0x2c401a[_0x4dcefc(0x260)]-0x1,_0x32d840;_0x2dfe06>=0x0;_0x2dfe06--)(_0x32d840=_0x2c401a[_0x2dfe06])&&(_0x39b35d=_0x32d840(_0x39b35d)||_0x39b35d);return _0x39b35d;},le=(_0x42a55a,_0x182904)=>(_0x6c7712,_0x1e1783)=>_0x182904(_0x6c7712,_0x1e1783,_0x42a55a);let ye=class extends o[_0x346389(0x29a)]{constructor(_0x520ded,_0x29cde5,_0x140b06,_0x5069a9,_0x42fc96){var _0x38522c=_0x346389;super(),this[_0x38522c(0x258)]=_0x520ded,this[_0x38522c(0x334)]=_0x29cde5,this[_0x38522c(0x316)]=_0x140b06,this[_0x38522c(0x227)]=_0x5069a9,this['_collaborationUIEventService']=_0x42fc96,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x36c636=_0x346389;const _0x3eed46=async _0x2beb09=>{var _0x2be80f=_0x2174;(await this[_0x2be80f(0x227)][_0x2be80f(0x106)](_0x2beb09))[_0x2be80f(0x199)][_0x2be80f(0x442)](V['filter'](_0xcb3665=>_0xcb3665[_0x2be80f(0x107)]===E[_0x2be80f(0x3e4)][_0x2be80f(0x175)]),V[_0x2be80f(0x3bf)](this['dispose$']))[_0x2be80f(0x1f7)](_0x4e9d7b=>{var _0x28b176=_0x2be80f;const _0x2794e2=_0x4e9d7b,{reason:_0x1c341d}=_0x2794e2[_0x28b176(0x2f9)];this[_0x28b176(0xcd)][_0x28b176(0xc5)]({'id':J[_0x28b176(0x422)],'data':_0x1c341d}),this[_0x28b176(0x316)][_0x28b176(0x290)](new Q[(_0x28b176(0x344))](_0x2beb09)['id'],!0x1),this[_0x28b176(0x227)]['closeSession'](_0x2beb09);});};j[_0x36c636(0x39d)](this[_0x36c636(0x334)][_0x36c636(0x2e4)](o[_0x36c636(0x187)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x36c636(0x2e4)](o[_0x36c636(0x187)][_0x36c636(0xf3)]))[_0x36c636(0x442)](V['map'](_0x17d454=>_0x17d454['getUnitId']()),V[_0x36c636(0x2ca)](_0x1d15de=>!o['isInternalEditorID'](_0x1d15de)),V['takeUntil'](this[_0x36c636(0x2bb)]))['subscribe'](_0x1cf5e6=>{_0x3eed46(_0x1cf5e6);});}[_0x346389(0x2a8)](){var _0x2535f5=_0x346389;const _0x676f59=async _0x15c218=>{var _0x2c28d9=_0x2174;const _0x317ef6=await this[_0x2c28d9(0x227)][_0x2c28d9(0x106)](_0x15c218),_0x18d29b=this[_0x2c28d9(0x258)][_0x2c28d9(0x16e)](Q[_0x2c28d9(0x434)]);_0x317ef6[_0x2c28d9(0x199)][_0x2c28d9(0x442)](V[_0x2c28d9(0x2ca)](_0x10c1af=>_0x10c1af[_0x2c28d9(0x107)]===E[_0x2c28d9(0x3e4)][_0x2c28d9(0x1b4)]),V[_0x2c28d9(0x3bf)](this['dispose$']))[_0x2c28d9(0x1f7)](_0x168643=>{var _0x298e30=_0x2c28d9;const _0x1153ce=_0x168643,{objectId:_0x3c8ec6}=_0x1153ce[_0x298e30(0x2f9)];_0x3c8ec6===_0x15c218?_0x18d29b[_0x298e30(0x41b)](_0x15c218):_0x18d29b[_0x298e30(0x25b)](_0x15c218,_0x3c8ec6);});};j[_0x2535f5(0x39d)](this['_univerInstanceService'][_0x2535f5(0x2e4)](o[_0x2535f5(0x187)][_0x2535f5(0x30c)]))['pipe'](V[_0x2535f5(0x41e)](_0x22f6bb=>_0x22f6bb[_0x2535f5(0x20c)]()),V[_0x2535f5(0x2ca)](_0x445d3e=>!o[_0x2535f5(0x2df)](_0x445d3e)),V[_0x2535f5(0x3bf)](this[_0x2535f5(0x2bb)]))[_0x2535f5(0x1f7)](_0x1a987=>{_0x676f59(_0x1a987);});}};ye=dn([le(0x0,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),le(0x1,o['IUniverInstanceService']),le(0x2,o[_0x346389(0x261)]),le(0x3,o[_0x346389(0x33c)](exports['CollaborationSessionService'])),le(0x4,o['Inject'](ee))],ye);var Sn=Object[_0x346389(0x21c)],In=(_0x83977f,_0x451cff,_0x52ea14,_0x87d0ba)=>{var _0x480e1e=_0x346389;for(var _0x2652c7=_0x87d0ba>0x1?void 0x0:_0x87d0ba?Sn(_0x451cff,_0x52ea14):_0x451cff,_0xde6ef=_0x83977f[_0x480e1e(0x260)]-0x1,_0x409c41;_0xde6ef>=0x0;_0xde6ef--)(_0x409c41=_0x83977f[_0xde6ef])&&(_0x2652c7=_0x409c41(_0x2652c7)||_0x2652c7);return _0x2652c7;},ot=(_0x564093,_0x896ebb)=>(_0x58c6e4,_0x34fafa)=>_0x896ebb(_0x58c6e4,_0x34fafa,_0x564093);exports['SnapshotServerOverHTTPService']=class{constructor(_0xa54032,_0x2a06d0){var _0x323377=_0x346389;this[_0x323377(0x13b)]=_0xa54032,this['_httpService']=_0x2a06d0;}async['getUnitOnRev'](_0x1c7df3,_0x55f1f4){var _0x4cd90e=_0x346389,_0x43caca;const {unitID:_0xceb68e,type:_0x1c7efb,revision:_0x2fecca=0x0}=_0x55f1f4,_0x49f628=this[_0x4cd90e(0x1aa)]()+'/'+_0x1c7efb+_0x4cd90e(0xf5)+_0xceb68e+_0x4cd90e(0x2db)+_0x2fecca,_0x878054=(await this[_0x4cd90e(0x28d)][_0x4cd90e(0x16e)](_0x49f628))[_0x4cd90e(0x144)],_0x18494e=(_0x43caca=_0x878054['snapshot'])==null?void 0x0:_0x43caca[_0x4cd90e(0x23b)];if(_0x18494e){const _0x67defe=_0x18494e==null?void 0x0:_0x18494e[_0x4cd90e(0x432)],_0xc04c8e=E[_0x4cd90e(0x3d0)][_0x4cd90e(0x180)](E[_0x4cd90e(0x276)](_0x67defe));_0x18494e[_0x4cd90e(0x432)]=_0xc04c8e,Object['entries'](_0x18494e[_0x4cd90e(0xbe)])['forEach'](([,_0x289e27])=>{var _0x1520f0=_0x4cd90e;const _0x331054=_0x289e27[_0x1520f0(0x432)],_0x2c62c8=E[_0x1520f0(0x3d0)]['encode'](E[_0x1520f0(0x276)](_0x331054));_0x289e27['originalMeta']=_0x2c62c8;});}return _0x878054;}async[_0x346389(0x183)](_0x37d875,_0x3fede1){var _0x3c4647=_0x346389;const {unitID:_0x1d8c71,type:_0xa65bb,blockID:_0x421832}=_0x3fede1,_0x9d809b=this['_getAPIPrefix']()+'/'+_0xa65bb+_0x3c4647(0xf5)+_0x1d8c71+_0x3c4647(0x142)+_0x421832;return(await this[_0x3c4647(0x28d)][_0x3c4647(0x16e)](_0x9d809b))[_0x3c4647(0x144)];}async[_0x346389(0x1da)](_0x5acba8,_0x13e087){var _0x4f7263=_0x346389;const {unitID:_0x29bad4,type:_0x29ccaa,blockID:_0x11c182}=_0x13e087,_0x25a645=this['_getAPIPrefix']()+_0x4f7263(0x142)+_0x29ccaa+_0x4f7263(0xf5)+_0x29bad4+_0x4f7263(0x142)+_0x11c182;return(await this['_httpService'][_0x4f7263(0x16e)](_0x25a645))['body'];}async['fetchMissingChangesets'](_0x59aa00,_0x9ec016){var _0x1538bb=_0x346389;const {unitID:_0x513c0b,type:_0x40adcf,from:_0x72136,to:_0x542c59}=_0x9ec016,_0x2d50ac=this[_0x1538bb(0x2b5)]()+'/'+_0x40adcf+_0x1538bb(0xf5)+_0x513c0b+_0x1538bb(0x2b0)+_0x72136+_0x1538bb(0x41c)+_0x542c59;return(await this[_0x1538bb(0x28d)][_0x1538bb(0x16e)](_0x2d50ac))[_0x1538bb(0x144)];}[_0x346389(0x1aa)](){var _0x440c6d=_0x346389,_0x88485e;return(_0x88485e=this[_0x440c6d(0x13b)][_0x440c6d(0x31c)](Ut))!=null?_0x88485e:this['_getAPIPrefix']();}[_0x346389(0x2b5)](){var _0x496795=_0x346389,_0x1e4188;const _0x3c4ec3=this[_0x496795(0x13b)][_0x496795(0x31c)](Y);return(_0x1e4188=_0x3c4ec3==null?void 0x0:_0x3c4ec3['snapshotServerUrl'])!=null?_0x1e4188:yt;}async['getResourcesRequest'](_0x493f4a,_0x39748b){var _0x4e0b3f=_0x346389;const _0x14f623=_0x4e0b3f(0x280)+_0x39748b[_0x4e0b3f(0x424)]+_0x4e0b3f(0xf5)+_0x39748b[_0x4e0b3f(0x212)]+_0x4e0b3f(0x13f);return(await this[_0x4e0b3f(0x28d)][_0x4e0b3f(0x16e)](_0x14f623,{'params':{'resourceId':JSON['stringify'](_0x39748b[_0x4e0b3f(0x1f3)])}}))[_0x4e0b3f(0x144)];}[_0x346389(0x1b6)](){var _0x389b5a=_0x346389;throw new Error(_0x389b5a(0x2a9));}[_0x346389(0x28e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x346389(0x3d6)](){var _0x26b4e2=_0x346389;throw new Error(_0x26b4e2(0x2a9));}[_0x346389(0x275)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0xc11fad=_0x346389;throw new Error(_0xc11fad(0x2a9));}[_0x346389(0x14e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x346389(0x329)]=In([ot(0x0,o[_0x346389(0x3ac)]),ot(0x1,o[_0x346389(0x33c)](K['HTTPService']))],exports[_0x346389(0x329)]);var fn=Object[_0x346389(0x21c)],En=(_0x1f7a3b,_0x5a65f2,_0x597f58,_0x2a4e51)=>{var _0x35d68b=_0x346389;for(var _0x321621=_0x2a4e51>0x1?void 0x0:_0x2a4e51?fn(_0x5a65f2,_0x597f58):_0x5a65f2,_0x3625c8=_0x1f7a3b[_0x35d68b(0x260)]-0x1,_0x266f11;_0x3625c8>=0x0;_0x3625c8--)(_0x266f11=_0x1f7a3b[_0x3625c8])&&(_0x321621=_0x266f11(_0x321621)||_0x321621);return _0x321621;},ue=(_0x38a4fe,_0x584126)=>(_0x24cb13,_0xd6f8c9)=>_0x584126(_0x24cb13,_0xd6f8c9,_0x38a4fe);exports[_0x346389(0x1bc)]=class extends o[_0x346389(0x311)]{constructor(_0x144c91,_0x340a0a,_0x25eb3c,_0x5effa4,_0x5320fa){var _0x2bf3cd=_0x346389;super(_0x144c91,_0x340a0a,_0x25eb3c),this[_0x2bf3cd(0x358)]=_0x5effa4,this[_0x2bf3cd(0x306)]=_0x5320fa;}['transformUndoRedo'](_0x8703c4,_0x4fa2c3){var _0x4286e2=_0x346389;const _0x309ab1=this[_0x4286e2(0x10b)](_0x8703c4);if(_0x309ab1)try{const _0x40a6bd=this[_0x4286e2(0x310)](_0x309ab1,_0x4fa2c3);this[_0x4286e2(0x41a)](_0x8703c4,_0x40a6bd);}catch(_0x47cab3){this['_logService'][_0x4286e2(0x286)](_0x4286e2(0x223),_0x47cab3),this[_0x4286e2(0x168)](_0x8703c4);}const _0x27d648=this[_0x4286e2(0x102)](_0x8703c4);if(_0x27d648)try{const _0x730a9c=this[_0x4286e2(0x310)](_0x27d648,_0x4fa2c3);this['_substituteRedoStack'](_0x8703c4,_0x730a9c);}catch(_0x51fc3e){this[_0x4286e2(0x306)][_0x4286e2(0x286)](_0x51fc3e),this['_clearRedo'](_0x8703c4);}}['_clearUndo'](_0x134db4){var _0x58d4e4=_0x346389;const _0x453ecb=this[_0x58d4e4(0x10b)](_0x134db4);_0x453ecb&&(_0x453ecb[_0x58d4e4(0x260)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x4a3763){var _0x3d4f2e=_0x346389;const _0x3f4606=this[_0x3d4f2e(0x102)](_0x4a3763);_0x3f4606&&(_0x3f4606[_0x3d4f2e(0x260)]=0x0,this['_updateStatus']());}[_0x346389(0x41a)](_0x32c8e7,_0x4e058b){var _0x35351c=_0x346389;this[_0x35351c(0xeb)][_0x35351c(0xfc)](_0x32c8e7,_0x4e058b),this['_updateStatus']();}[_0x346389(0x252)](_0x308ef0,_0x2a33a9){var _0x541406=_0x346389;this[_0x541406(0x2e8)][_0x541406(0xfc)](_0x308ef0,_0x2a33a9),this[_0x541406(0x3e5)]();}[_0x346389(0x310)](_0x195298,_0x1ec5af){var _0x2e5156=_0x346389;const _0x323084=[];let _0x2ea7c1=_0x1ec5af,_0xa778ca=_0x1ec5af;for(let _0x23d77a=_0x195298[_0x2e5156(0x260)]-0x1;_0x23d77a>=0x0;_0x23d77a--){const {unitID:_0x3ec9da,undoMutations:_0x4f1a73,redoMutations:_0x2d50b8}=_0x195298[_0x23d77a],_0x53111b=this[_0x2e5156(0x358)][_0x2e5156(0x1d7)](_0x2ea7c1,_0x4f1a73),_0x59fea8=this[_0x2e5156(0x358)][_0x2e5156(0x1d7)](_0xa778ca,_0x2d50b8);if(E[_0x2e5156(0x293)](_0x53111b)||E[_0x2e5156(0x293)](_0x59fea8)){this[_0x2e5156(0x306)]['error'](_0x2e5156(0x223),_0x2e5156(0x27d),_0x53111b,_0x59fea8);break;}_0x2ea7c1=_0x53111b['c1Prime'],_0xa778ca=_0x59fea8[_0x2e5156(0x18c)],_0x323084[_0x2e5156(0x179)]({'unitID':_0x3ec9da,'undoMutations':_0x53111b[_0x2e5156(0x1f2)],'redoMutations':_0x59fea8[_0x2e5156(0x1f2)]});}return _0x323084['reverse']();}},exports[_0x346389(0x1bc)]=En([ue(0x0,o[_0x346389(0x1c6)]),ue(0x1,o['ICommandService']),ue(0x2,o[_0x346389(0x3cd)]),ue(0x3,E[_0x346389(0x1d8)]),ue(0x4,o[_0x346389(0x245)])],exports[_0x346389(0x1bc)]);var pn=Object[_0x346389(0x2a2)],mn=Object[_0x346389(0x21c)],gn=(_0x108f64,_0x159094,_0x1b24b6)=>_0x159094 in _0x108f64?pn(_0x108f64,_0x159094,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b24b6}):_0x108f64[_0x159094]=_0x1b24b6,Tn=(_0xd2b9f,_0x58c71d,_0x2f6cb9,_0x1a9cca)=>{for(var _0x536ca9=_0x1a9cca>0x1?void 0x0:_0x1a9cca?mn(_0x58c71d,_0x2f6cb9):_0x58c71d,_0xebfd56=_0xd2b9f['length']-0x1,_0x38867a;_0xebfd56>=0x0;_0xebfd56--)(_0x38867a=_0xd2b9f[_0xebfd56])&&(_0x536ca9=_0x38867a(_0x536ca9)||_0x536ca9);return _0x536ca9;},we=(_0x3a9b67,_0x33f2fc)=>(_0x42d0e1,_0x536e58)=>_0x33f2fc(_0x42d0e1,_0x536e58,_0x3a9b67),Cn=(_0xd12091,_0x332d7f,_0x59c640)=>gn(_0xd12091,_0x332d7f+'',_0x59c640);const On=_0x346389(0x1ec);exports['UniverCollaborationClientPlugin']=class extends o[_0x346389(0x148)]{constructor(_0x11942f,_0x4ff063,_0x2649f5,_0x24037a){var _0x38f7dd=_0x346389;super(),A(this,_0x38f7dd(0x26b)),(this[_0x38f7dd(0x306)]=_0x4ff063,this[_0x38f7dd(0x258)]=_0x2649f5,this['_configService']=_0x24037a);const {..._0x49949b}=o[_0x38f7dd(0x39d)]({},Qt,_0x11942f);if(!_0x49949b[_0x38f7dd(0x226)])throw new Error(_0x38f7dd(0x101));this[_0x38f7dd(0x26b)]=_0x49949b,this[_0x38f7dd(0x13b)][_0x38f7dd(0x122)](Y,_0x49949b);}['onStarting'](){var _0xc658cd=_0x346389;this['_registerDependencies'](),this[_0xc658cd(0x404)]();}['_registerDependencies'](){var _0x18df23=_0x346389,_0x5e3028,_0x42d3f8;this['_injector']['has'](o[_0x18df23(0x20d)])&&this['_logService'][_0x18df23(0x286)](_0x18df23(0x25a),_0x18df23(0x340));const _0xb177c=o['mergeOverrideWithDependencies']([[o['IUndoRedoService'],{'useClass':exports[_0x18df23(0x1bc)]}],[exports[_0x18df23(0x2bf)]],[exports[_0x18df23(0x129)]],[exports[_0x18df23(0x25e)]],[Ne],[De],[$e],[ye],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this['_config'][_0x18df23(0x226)]}],[E[_0x18df23(0x162)],{'useClass':exports[_0x18df23(0x329)]}],[o[_0x18df23(0x184)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x18df23(0x3e3)],{'useClass':exports[_0x18df23(0x438)]}],[o[_0x18df23(0x3c5)],{'useClass':exports[_0x18df23(0xf6)]}],[exports[_0x18df23(0x10a)]],[xe]],(_0x5e3028=this['_config'])==null?void 0x0:_0x5e3028['override']);if(!((_0x42d3f8=this[_0x18df23(0x26b)])!=null&&_0x42d3f8['enableSingleActiveInstanceLock'])){const _0xa9b172=_0xb177c['findIndex'](([_0x1b3b0f])=>_0x1b3b0f===ve);_0xa9b172!==-0x1&&_0xb177c[_0x18df23(0x2ac)](_0xa9b172,0x1);}o[_0x18df23(0x3f9)](this[_0x18df23(0x258)],_0xb177c);}[_0x346389(0x404)](){var _0x44952f=_0x346389,_0x19b51f,_0xa3cdd1,_0xd96c32;this[_0x44952f(0x258)]['get'](K['HTTPService'])[_0x44952f(0x205)]({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x19b51f=this['_config'])!=null&&_0x19b51f[_0x44952f(0x1cb)]||(_0xa3cdd1=this[_0x44952f(0x258)][_0x44952f(0x16e)](q,o['Quantity'][_0x44952f(0x3a7)]))==null||_0xa3cdd1[_0x44952f(0x15f)](),(_0xd96c32=this[_0x44952f(0x26b)])!=null&&_0xd96c32[_0x44952f(0xf2)]&&o[_0x44952f(0x366)](this[_0x44952f(0x258)],[[Ne]]),o['touchDependencies'](this[_0x44952f(0x258)],[[De],[exports[_0x44952f(0x10a)]],[ye]]);}},Cn(exports['UniverCollaborationClientPlugin'],_0x346389(0x354),On),exports[_0x346389(0x2ff)]=Tn([o[_0x346389(0x243)](E[_0x346389(0xe5)],K[_0x346389(0x21e)]),we(0x1,o[_0x346389(0x245)]),we(0x2,o[_0x346389(0x33c)](o[_0x346389(0x38f)])),we(0x3,o[_0x346389(0x3ac)])],exports[_0x346389(0x2ff)]),exports[_0x346389(0x364)]=Y,exports[_0x346389(0x3a0)]=je,exports[_0x346389(0x3ea)]=J,exports[_0x346389(0x31f)]=ee,exports[_0x346389(0x2ab)]=$e,exports[_0x346389(0xc6)]=_t,exports[_0x346389(0x3dd)]=Bt,exports['DEFAULT_WS_SESSION_TICKET_URL']=Pt,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports[_0x346389(0x23f)]=ke,exports[_0x346389(0x125)]=Fe,exports[_0x346389(0x23d)]=q,exports[_0x346389(0xd7)]=pt,exports[_0x346389(0x196)]=ve,exports[_0x346389(0x27b)]=kt,exports[_0x346389(0x292)]=xt,exports[_0x346389(0x23e)]=jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports[_0x346389(0x360)]=se,exports[_0x346389(0x37d)]=He,exports[_0x346389(0xd6)]=mt,exports['getLocalCacheKey']=zt,exports['serializeCombRequest']=gt;