@univerjs-pro/collaboration-client 0.10.8-nightly.202509200616 → 0.10.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +11 -11
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x54341f=_0x2020;(function(_0x470e09,_0x3dcbcf){var _0x1d3966=_0x2020,_0x21e1d4=_0x470e09();while(!![]){try{var _0x2eb134=parseInt(_0x1d3966(0x2a9))/0x1*(-parseInt(_0x1d3966(0x3a7))/0x2)+parseInt(_0x1d3966(0x16e))/0x3*(parseInt(_0x1d3966(0x120))/0x4)+-parseInt(_0x1d3966(0x12f))/0x5*(-parseInt(_0x1d3966(0x36b))/0x6)+parseInt(_0x1d3966(0x170))/0x7+parseInt(_0x1d3966(0x305))/0x8+parseInt(_0x1d3966(0x414))/0x9*(-parseInt(_0x1d3966(0x36a))/0xa)+-parseInt(_0x1d3966(0x25f))/0xb;if(_0x2eb134===_0x3dcbcf)break;else _0x21e1d4['push'](_0x21e1d4['shift']());}catch(_0x3cd352){_0x21e1d4['push'](_0x21e1d4['shift']());}}}(_0x52d4,0xb62ac));var bt=Object[_0x54341f(0x1a9)],Ot=(_0x433c3e,_0x4ff27c,_0x463b53)=>_0x4ff27c in _0x433c3e?bt(_0x433c3e,_0x4ff27c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x463b53}):_0x433c3e[_0x4ff27c]=_0x463b53,A=(_0x2fa3c8,_0x1c1ec0,_0x53774e)=>Ot(_0x2fa3c8,typeof _0x1c1ec0!=_0x54341f(0x418)?_0x1c1ec0+'':_0x1c1ec0,_0x53774e);Object[_0x54341f(0x1a9)](exports,Symbol['toStringTag'],{'value':_0x54341f(0x3eb)});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt='/universer-api/snapshot',Dt=_0x54341f(0xcd),Ut=0x7d0,ht=_0x54341f(0x2f7),At=_0x54341f(0x3af),_t=_0x54341f(0x311),Pt=0x7530,ke=_0x54341f(0x28b),lt=0x4e20,wt=0x4e20,ut=_0x54341f(0x24c),Mt=0x3,Lt=_0x54341f(0xf0),xt=0x3e8,kt=_0x54341f(0x374),$t=_0x54341f(0x2a1),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt='/universer-api/uniscript';var dt=(_0x3f13b7=>(_0x3f13b7[_0x3f13b7[_0x54341f(0x1c9)]=0x0]=_0x54341f(0x1c9),_0x3f13b7[_0x3f13b7['OK']=0x1]='OK',_0x3f13b7[_0x3f13b7['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3f13b7[_0x3f13b7[_0x54341f(0xf8)]=0x3]=_0x54341f(0xf8),_0x3f13b7[_0x3f13b7[_0x54341f(0x330)]=0x4]=_0x54341f(0x330),_0x3f13b7[_0x3f13b7[_0x54341f(0x31c)]=0x5]=_0x54341f(0x31c),_0x3f13b7[_0x3f13b7['ALREADY_EXISTS']=0x6]=_0x54341f(0x381),_0x3f13b7[_0x3f13b7[_0x54341f(0x1dd)]=0x7]='INVALID_ARGUMENT',_0x3f13b7[_0x3f13b7[_0x54341f(0x3ab)]=0x8]=_0x54341f(0x3ab),_0x3f13b7[_0x3f13b7[_0x54341f(0x154)]=0x9]='COMPLETION_FINISHED',_0x3f13b7[_0x3f13b7[_0x54341f(0x1e0)]=0xa]='LOGIN_FAILED',_0x3f13b7[_0x3f13b7[_0x54341f(0x252)]=0xb]=_0x54341f(0x252),_0x3f13b7[_0x3f13b7[_0x54341f(0x181)]=0xc]=_0x54341f(0x181),_0x3f13b7[_0x3f13b7[_0x54341f(0x40d)]=0xd]=_0x54341f(0x40d),_0x3f13b7[_0x3f13b7[_0x54341f(0x2cc)]=0xe]=_0x54341f(0x2cc),_0x3f13b7[_0x3f13b7[_0x54341f(0x287)]=0x1389]=_0x54341f(0x287),_0x3f13b7[_0x3f13b7[_0x54341f(0xf4)]=0x1771]=_0x54341f(0xf4),_0x3f13b7[_0x3f13b7[_0x54341f(0x13d)]=0x1772]=_0x54341f(0x13d),_0x3f13b7[_0x3f13b7[_0x54341f(0x18f)]=0x1773]=_0x54341f(0x18f),_0x3f13b7[_0x3f13b7[_0x54341f(0x24f)]=0x1b59]=_0x54341f(0x24f),_0x3f13b7[_0x3f13b7[_0x54341f(0x1ab)]=0x1b5a]=_0x54341f(0x1ab),_0x3f13b7[_0x3f13b7[_0x54341f(0x209)]=0x1b5b]=_0x54341f(0x209),_0x3f13b7[_0x3f13b7[_0x54341f(0x274)]=0x1b5c]=_0x54341f(0x274),_0x3f13b7[_0x3f13b7[_0x54341f(0xea)]=0x1b5d]=_0x54341f(0xea),_0x3f13b7[_0x3f13b7[_0x54341f(0x126)]=0x1f41]=_0x54341f(0x126),_0x3f13b7[_0x3f13b7[_0x54341f(0x157)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3f13b7[_0x3f13b7[_0x54341f(0xc3)]=0x232a]=_0x54341f(0xc3),_0x3f13b7[_0x3f13b7[_0x54341f(0x346)]=0x232b]=_0x54341f(0x346),_0x3f13b7[_0x3f13b7[_0x54341f(0x165)]=0x232c]=_0x54341f(0x165),_0x3f13b7[_0x3f13b7['LICENSE_DISTRO_REJECTED']=0x232d]=_0x54341f(0x3de),_0x3f13b7[_0x3f13b7[_0x54341f(0x404)]=0x2711]=_0x54341f(0x404),_0x3f13b7[_0x3f13b7[_0x54341f(0xee)]=0x2712]=_0x54341f(0xee),_0x3f13b7[_0x3f13b7[_0x54341f(0x37b)]=0x2713]=_0x54341f(0x37b),_0x3f13b7[_0x3f13b7[_0x54341f(0x178)]=0x2714]=_0x54341f(0x178),_0x3f13b7[_0x3f13b7[_0x54341f(0xe4)]=0x271a]=_0x54341f(0xe4),_0x3f13b7[_0x3f13b7['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x54341f(0x289),_0x3f13b7[_0x3f13b7[_0x54341f(0x2ea)]=0x271c]=_0x54341f(0x2ea),_0x3f13b7[_0x3f13b7[_0x54341f(0x3db)]=0x271d]=_0x54341f(0x3db),_0x3f13b7[_0x3f13b7[_0x54341f(0x17f)]=0x271e]=_0x54341f(0x17f),_0x3f13b7[_0x3f13b7[_0x54341f(0x153)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3f13b7[_0x3f13b7['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3f13b7[_0x3f13b7['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x54341f(0x232),_0x3f13b7[_0x3f13b7['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x54341f(0x2e0),_0x3f13b7[_0x3f13b7['INVALID_INVITE_CODE']=0x2ee2]=_0x54341f(0x1a3),_0x3f13b7[_0x3f13b7[_0x54341f(0x1e1)]=0x2ee3]=_0x54341f(0x1e1),_0x3f13b7[_0x3f13b7[_0x54341f(0xcb)]=0x2ee4]=_0x54341f(0xcb),_0x3f13b7[_0x3f13b7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x54341f(0x255),_0x3f13b7[_0x3f13b7[_0x54341f(0x1eb)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3f13b7[_0x3f13b7[_0x54341f(0x2b7)]=0x32ca]=_0x54341f(0x2b7),_0x3f13b7[_0x3f13b7['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x54341f(0x35e),_0x3f13b7[_0x3f13b7[_0x54341f(0x2bf)]=-0x1]=_0x54341f(0x2bf),_0x3f13b7))(dt||{}),J=(_0x104f86=>(_0x104f86[_0x104f86[_0x54341f(0x32b)]=0x0]=_0x54341f(0x32b),_0x104f86[_0x104f86['UNIVER_DOC']=0x1]=_0x54341f(0x254),_0x104f86[_0x104f86['UNIVER_SHEET']=0x2]=_0x54341f(0x3ae),_0x104f86[_0x104f86[_0x54341f(0x26f)]=0x3]='UNIVER_SLIDE',_0x104f86[_0x104f86[_0x54341f(0xe6)]=0x4]=_0x54341f(0xe6),_0x104f86[_0x104f86[_0x54341f(0x2bf)]=-0x1]=_0x54341f(0x2bf),_0x104f86))(J||{}),W=(_0x4d2dff=>(_0x4d2dff[_0x4d2dff[_0x54341f(0x339)]=0x0]=_0x54341f(0x339),_0x4d2dff[_0x4d2dff['HELLO']=0x1]='HELLO',_0x4d2dff[_0x4d2dff['JOIN']=0x2]=_0x54341f(0x276),_0x4d2dff[_0x4d2dff['LEAVE']=0x3]=_0x54341f(0x33c),_0x4d2dff[_0x4d2dff['INGEST']=0x4]=_0x54341f(0x160),_0x4d2dff[_0x4d2dff[_0x54341f(0x3c2)]=0x5]=_0x54341f(0x3c2),_0x4d2dff[_0x4d2dff[_0x54341f(0x27b)]=0x6]=_0x54341f(0x27b),_0x4d2dff[_0x4d2dff[_0x54341f(0x2bf)]=-0x1]='UNRECOGNIZED',_0x4d2dff))(W||{}),se=(_0xc0528=>(_0xc0528[_0xc0528['UNKNOWN_CODE']=0x0]=_0x54341f(0x35a),_0xc0528[_0xc0528['OK']=0x1]='OK',_0xc0528[_0xc0528[_0x54341f(0xc4)]=0x2]=_0x54341f(0xc4),_0xc0528[_0xc0528[_0x54341f(0x37f)]=0x3e9]=_0x54341f(0x37f),_0xc0528[_0xc0528[_0x54341f(0x26e)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0xc0528[_0xc0528[_0x54341f(0x2c1)]=0x3eb]=_0x54341f(0x2c1),_0xc0528[_0xc0528[_0x54341f(0x21f)]=0x3ec]=_0x54341f(0x21f),_0xc0528[_0xc0528[_0x54341f(0x2bf)]=-0x1]=_0x54341f(0x2bf),_0xc0528))(se||{}),vt=(_0x5118b9=>(_0x5118b9[_0x5118b9[_0x54341f(0x2ad)]=0x0]='Undefined',_0x5118b9[_0x5118b9[_0x54341f(0x2dd)]=0x1]=_0x54341f(0x2dd),_0x5118b9[_0x5118b9['HttpExport']=0x2]='HttpExport',_0x5118b9[_0x5118b9['UnitEmbedded']=0x3]='UnitEmbedded',_0x5118b9[_0x5118b9[_0x54341f(0x359)]=0x4]='UnitSnapshot',_0x5118b9[_0x5118b9['UserProfileImg']=0x5]=_0x54341f(0x40b),_0x5118b9[_0x5118b9['UNRECOGNIZED']=-0x1]=_0x54341f(0x2bf),_0x5118b9))(vt||{});const Bt=_0x54341f(0x1c3);function Ft(_0x2ec3be){var _0x3197dc=_0x54341f;return JSON[_0x3197dc(0x3ef)](_0x2ec3be)[_0x3197dc(0x1e8)];}var Z=(_0x40628d=>(_0x40628d[_0x54341f(0x22a)]='OTHER_CLIENT_EDITING',_0x40628d['PERMISSION_DENIED']=_0x54341f(0xf8),_0x40628d[_0x54341f(0x281)]='CONFLICT',_0x40628d['CLOSE_ROOM']=_0x54341f(0x1e6),_0x40628d[_0x54341f(0x245)]=_0x54341f(0x245),_0x40628d[_0x54341f(0x112)]=_0x54341f(0x112),_0x40628d['SOCKET_FAILED']='SOCKET_FAILED',_0x40628d['SUBMIT_CHANGESET_TIMEOUT']=_0x54341f(0x1f6),_0x40628d))(Z||{});class ee{constructor(){var _0xe60ffb=_0x54341f;A(this,_0xe60ffb(0xe7),new H[(_0xe60ffb(0x1f5))]()),A(this,'event$',this['_event$'][_0xe60ffb(0x131)]());}[_0x54341f(0x393)](_0x4cd118){var _0x2032b2=_0x54341f;this[_0x2032b2(0xe7)][_0x2032b2(0x23b)](_0x4cd118);}}class $e{constructor(){var _0x2233ff=_0x54341f;A(this,'_commentUpdate$',new H[(_0x2233ff(0x1f5))]()),A(this,_0x2233ff(0x24d),this[_0x2233ff(0x364)][_0x2233ff(0x131)]());}[_0x54341f(0x20f)](_0x1db879){var _0x37d666=_0x54341f;this['_commentUpdate$'][_0x37d666(0x23b)](_0x1db879);}}var Vt=Object[_0x54341f(0x2d4)],Wt=(_0x40d0bd,_0x557f8a,_0x21425c,_0x5266f3)=>{var _0x51e5cb=_0x54341f;for(var _0x19e2cd=_0x5266f3>0x1?void 0x0:_0x5266f3?Vt(_0x557f8a,_0x21425c):_0x557f8a,_0x2d6b00=_0x40d0bd[_0x51e5cb(0x1e8)]-0x1,_0x4d8dda;_0x2d6b00>=0x0;_0x2d6b00--)(_0x4d8dda=_0x40d0bd[_0x2d6b00])&&(_0x19e2cd=_0x4d8dda(_0x19e2cd)||_0x19e2cd);return _0x19e2cd;},Ve=(_0x4ab83d,_0x2deeae)=>(_0xaaea65,_0x58337d)=>_0x2deeae(_0xaaea65,_0x58337d,_0x4ab83d);exports['MemberService']=class extends a[_0x54341f(0x382)]{constructor(_0x253a73,_0x36a006){var _0x2d235d=_0x54341f;super(),A(this,'_roomMembers',new Map()),A(this,_0x2d235d(0x123),new H['Subject']()),(this[_0x2d235d(0x246)]=_0x253a73,this[_0x2d235d(0x2d6)]=_0x36a006,this[_0x2d235d(0x38f)](H['merge'](this[_0x2d235d(0x246)]['getTypeOfUnitDisposed$'](a[_0x2d235d(0x410)][_0x2d235d(0x3ae)])[_0x2d235d(0x26d)](V[_0x2d235d(0x30f)](_0x386aeb=>_0x386aeb[_0x2d235d(0x1c4)]())),this[_0x2d235d(0x246)]['getTypeOfUnitDisposed$'](a[_0x2d235d(0x410)]['UNIVER_DOC'])['pipe'](V['map'](_0x29be00=>_0x29be00[_0x2d235d(0x1c4)]())),this[_0x2d235d(0x246)][_0x2d235d(0x30b)](a[_0x2d235d(0x410)][_0x2d235d(0x26f)])[_0x2d235d(0x26d)](V[_0x2d235d(0x30f)](_0x300952=>_0x300952[_0x2d235d(0x1c4)]())))[_0x2d235d(0x3b5)](_0x3052a2=>this[_0x2d235d(0x140)](_0x3052a2))));}[_0x54341f(0x14f)](_0x4785de){var _0x159bb3=_0x54341f;return this[_0x159bb3(0x110)][_0x159bb3(0x357)](_0x4785de)?H['of'](this['_roomMembers'][_0x159bb3(0x345)](_0x4785de)):this[_0x159bb3(0x123)][_0x159bb3(0x26d)](V[_0x159bb3(0x30f)](_0x33aee5=>{var _0x20cddb=_0x159bb3;if(_0x33aee5===_0x4785de)return this[_0x20cddb(0x110)][_0x20cddb(0x345)](_0x33aee5);}));}[_0x54341f(0x221)](_0x341a1b){this['_userManagerService']['setCurrentUser'](_0x341a1b);}[_0x54341f(0x117)](){var _0x36264f=_0x54341f;return this[_0x36264f(0x2d6)][_0x36264f(0x117)]();}[_0x54341f(0x150)](_0x158baa,_0x565bd3){var _0x3bca76=_0x54341f;let _0x198a98=this['_roomMembers']['get'](_0x158baa);_0x198a98||(_0x198a98=new Gt(),this[_0x3bca76(0x110)][_0x3bca76(0x2f5)](_0x158baa,_0x198a98),this[_0x3bca76(0x123)][_0x3bca76(0x23b)](_0x158baa)),_0x198a98[_0x3bca76(0x150)](_0x565bd3);}['removeMember'](_0x3b8286,_0x21270e){var _0x4f066f=_0x54341f;const _0x45b8ac=this['_roomMembers'][_0x4f066f(0x345)](_0x3b8286);_0x45b8ac&&_0x45b8ac['removeMember'](_0x21270e);}['getRoom'](_0x2915e3){var _0x17fc4b=_0x54341f;return this[_0x17fc4b(0x110)]['get'](_0x2915e3);}[_0x54341f(0x3f5)](_0x475405,_0x5f32f2){var _0x36357f=_0x54341f;const _0x1e7086=this[_0x36357f(0x110)][_0x36357f(0x345)](_0x475405);if(_0x1e7086)return _0x1e7086[_0x36357f(0x3f5)](_0x5f32f2);}[_0x54341f(0x140)](_0x39d5db){var _0x4a60d8=_0x54341f;const _0x5914e3=this['_roomMembers'][_0x4a60d8(0x345)](_0x39d5db);_0x5914e3&&(_0x5914e3['dispose'](),this[_0x4a60d8(0x110)][_0x4a60d8(0x1f1)](_0x39d5db));}[_0x54341f(0xbc)](){var _0x3a51f2=_0x54341f;this[_0x3a51f2(0x110)][_0x3a51f2(0x30a)](_0x47a968=>_0x47a968[_0x3a51f2(0xbc)]()),this[_0x3a51f2(0x110)][_0x3a51f2(0x309)](),this['_roomCreated$']['complete']();}},exports[_0x54341f(0xe5)]=Wt([Ve(0x0,a['IUniverInstanceService']),Ve(0x1,a[_0x54341f(0x3f8)](a[_0x54341f(0x2b5)]))],exports[_0x54341f(0xe5)]);class Gt extends a[_0x54341f(0x382)]{constructor(){var _0x43996e=_0x54341f;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new H[(_0x43996e(0x190))](this[_0x43996e(0x113)])),A(this,_0x43996e(0x40f),this[_0x43996e(0x34e)][_0x43996e(0x131)]());}[_0x54341f(0xbc)](){var _0x302d04=_0x54341f;this[_0x302d04(0x113)][_0x302d04(0x309)]();}['updateMember'](_0x535746){var _0x3b0ce6=_0x54341f;this['_members'][_0x3b0ce6(0x2f5)](_0x535746[_0x3b0ce6(0x420)],_0x535746),this[_0x3b0ce6(0x2aa)]();}['removeMember'](_0x2c5382){var _0x472b9a=_0x54341f;this[_0x472b9a(0x113)][_0x472b9a(0x1f1)](_0x2c5382);}[_0x54341f(0x3f5)](_0xdfc0ee){var _0x12bf8d=_0x54341f;return this[_0x12bf8d(0x113)][_0x12bf8d(0x345)](_0xdfc0ee);}[_0x54341f(0x356)](){var _0x304470=_0x54341f;return Array[_0x304470(0x13b)](this['_members'][_0x304470(0x1bf)]());}[_0x54341f(0x2aa)](){var _0x2b57e1=_0x54341f;this[_0x2b57e1(0x34e)][_0x2b57e1(0x23b)](this[_0x2b57e1(0x113)]);}}var Yt=Object[_0x54341f(0x2d4)],qt=(_0x1bc28f,_0x480dfc,_0x2827a4,_0x4e1f96)=>{var _0x10166a=_0x54341f;for(var _0x550a64=_0x4e1f96>0x1?void 0x0:_0x4e1f96?Yt(_0x480dfc,_0x2827a4):_0x480dfc,_0x8d92f0=_0x1bc28f[_0x10166a(0x1e8)]-0x1,_0x41df87;_0x8d92f0>=0x0;_0x8d92f0--)(_0x41df87=_0x1bc28f[_0x8d92f0])&&(_0x550a64=_0x41df87(_0x550a64)||_0x550a64);return _0x550a64;},ce=(_0x44ffc8,_0x2a581f)=>(_0x52affd,_0xf0919)=>_0x2a581f(_0x52affd,_0xf0919,_0x44ffc8),re=(_0x6acf99=>(_0x6acf99[_0x6acf99[_0x54341f(0x352)]=0x0]=_0x54341f(0x352),_0x6acf99[_0x6acf99[_0x54341f(0xd8)]=0x1]=_0x54341f(0xd8),_0x6acf99[_0x6acf99[_0x54341f(0x313)]=0x2]='OFFLINE',_0x6acf99[_0x6acf99[_0x54341f(0x137)]=0x3]=_0x54341f(0x137),_0x6acf99))(re||{});const We={[se['FAIL']]:_0x54341f(0x3a8),[se[_0x54341f(0x37f)]]:_0x54341f(0x331),[se[_0x54341f(0x26e)]]:'session.room-not-exists',[se[_0x54341f(0x2c1)]]:_0x54341f(0x180),[se[_0x54341f(0x21f)]]:_0x54341f(0x2c0)};exports[_0x54341f(0xd9)]=class extends a[_0x54341f(0x26a)]{constructor(_0x24a4d1,_0x265de4,_0x3dd82b,_0x52e076,_0x466b64,_0x162663,_0x57b25b,_0x5481b4){var _0x63610e=_0x54341f;super(),A(this,'_sessionStatus$',new H[(_0x63610e(0x190))](0x0)),A(this,_0x63610e(0x1a1),this[_0x63610e(0x3ed)]['asObservable']()),A(this,_0x63610e(0xe7),new H[(_0x63610e(0x1f5))]()),A(this,_0x63610e(0x256),this[_0x63610e(0xe7)][_0x63610e(0x131)]()),A(this,_0x63610e(0xd2)),A(this,'_socketMessageSubscription'),A(this,'_collaborationTimeoutTimer'),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x63610e(0x38e),null),(this['_unitID']=_0x24a4d1,this[_0x63610e(0x1dc)]=_0x3dd82b,this[_0x63610e(0x285)]=_0x52e076,this[_0x63610e(0x399)]=_0x466b64,this[_0x63610e(0x1ec)]=_0x162663,this['_collaborationUIEventService']=_0x57b25b,this[_0x63610e(0x2a4)]=_0x5481b4,this[_0x63610e(0x16c)]=!!this[_0x63610e(0x2a4)],_0x265de4[_0x63610e(0x26d)](H[_0x63610e(0x183)](this[_0x63610e(0x201)]))[_0x63610e(0x3b5)](_0x29aaa9=>{var _0x3c1d13=_0x63610e,_0xff9947;typeof _0x29aaa9>'u'||(this['_socket']=_0x29aaa9,_0x29aaa9?(this[_0x3c1d13(0x41f)](_0x29aaa9),this[_0x3c1d13(0x365)]=_0x29aaa9[_0x3c1d13(0x32f)][_0x3c1d13(0x3b5)](_0xf5a35=>{var _0x4fbebf=_0x3c1d13;_0xf5a35[_0x4fbebf(0x3f3)]===this[_0x4fbebf(0x222)]&&this[_0x4fbebf(0xbf)](_0xf5a35);})):(this[_0x3c1d13(0x11e)](),this[_0x3c1d13(0x3ed)][_0x3c1d13(0x23b)](0x2),(_0xff9947=this[_0x3c1d13(0x365)])==null||_0xff9947[_0x3c1d13(0x134)](),this['_socketMessageSubscription']=null));}));}get[_0x54341f(0x231)](){var _0x4da104=_0x54341f;return this[_0x4da104(0x3ed)][_0x4da104(0xb1)]();}[_0x54341f(0x1b0)](){var _0x12f940=_0x54341f,_0x1291d7,_0xec8197;return(_0xec8197=(_0x1291d7=this[_0x12f940(0xd2)])==null?void 0x0:_0x1291d7['memberID'])!=null?_0xec8197:null;}[_0x54341f(0xbc)](){var _0x52680b=_0x54341f;super[_0x52680b(0xbc)](),this[_0x52680b(0x201)][_0x52680b(0x23b)](),this[_0x52680b(0x201)][_0x52680b(0xf2)]();}['close'](){var _0x703dbf=_0x54341f,_0x4d6300,_0x3df97e;this[_0x703dbf(0x11e)](),(_0x4d6300=this[_0x703dbf(0xd2)])==null||_0x4d6300[_0x703dbf(0x102)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3df97e=this[_0x703dbf(0xd2)])==null||_0x3df97e[_0x703dbf(0xdf)](),this['_event$'][_0x703dbf(0xf2)](),this[_0x703dbf(0x3ed)][_0x703dbf(0xf2)](),this[_0x703dbf(0xbc)]();}[_0x54341f(0xbf)](_0x4e21cb){var _0x2b9fde=_0x54341f;_0x4e21cb[_0x2b9fde(0x2a2)]===W[_0x2b9fde(0x276)]?this[_0x2b9fde(0x3ba)](_0x4e21cb):_0x4e21cb[_0x2b9fde(0x2a2)]===W[_0x2b9fde(0x27b)]&&this['_onRecvEvent'](_0x4e21cb);}[_0x54341f(0x41f)](_0x4258cf){var _0x16ef08=_0x54341f;this[_0x16ef08(0x3ed)][_0x16ef08(0x23b)](0x1),_0x4258cf[_0x16ef08(0x102)]({'cmd':W[_0x16ef08(0x276)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x16ef08(0x222)]}]}});}[_0x54341f(0x3ba)](_0x1da6b6){var _0x3b2ea6=_0x54341f,_0x421b71;if(_0x1da6b6['code']in We){this[_0x3b2ea6(0xd0)]['emitEvent']({'id':Z['JOIN_ROOM_FAILED'],'data':We[_0x1da6b6['code']]}),this[_0x3b2ea6(0x3ed)]['next'](0x2);return;}this['_sessionStatus$'][_0x3b2ea6(0x23b)](0x3);const _0x417526=(_0x421b71=_0x1da6b6[_0x3b2ea6(0x11c)][_0x3b2ea6(0x3d3)][this[_0x3b2ea6(0x222)]])==null?void 0x0:_0x421b71[_0x3b2ea6(0x3a6)];_0x417526&&_0x417526[_0x3b2ea6(0x30a)](_0x30d493=>this[_0x3b2ea6(0x399)][_0x3b2ea6(0x150)](this[_0x3b2ea6(0x222)],_0x30d493));}[_0x54341f(0x3ec)](_0x1b9234){var _0x3eb823=_0x54341f;try{const _0x41bba9=_0x1b9234[_0x3eb823(0x11c)];switch(_0x41bba9[_0x3eb823(0x143)]){case p[_0x3eb823(0x315)][_0x3eb823(0x2fe)]:this[_0x3eb823(0xa9)](_0x41bba9),this[_0x3eb823(0xe7)][_0x3eb823(0x23b)](_0x41bba9);break;case p[_0x3eb823(0x315)][_0x3eb823(0x34f)]:this[_0x3eb823(0x29c)](_0x41bba9),this[_0x3eb823(0xe7)][_0x3eb823(0x23b)](_0x41bba9);break;case p[_0x3eb823(0x315)][_0x3eb823(0x332)]:case p['CollaborationEvent'][_0x3eb823(0x1d6)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x3eb823(0x23b)](_0x41bba9);break;case p[_0x3eb823(0x315)]['MSG_FOR_ERROR']:this[_0x3eb823(0x1dc)][_0x3eb823(0x146)](_0x3eb823(0x212)+JSON[_0x3eb823(0x3ef)](_0x41bba9)),this[_0x3eb823(0xe7)][_0x3eb823(0x23b)](_0x41bba9);break;case p[_0x3eb823(0x315)][_0x3eb823(0x186)]:this[_0x3eb823(0x1ec)][_0x3eb823(0x20f)](_0x41bba9['data']),this[_0x3eb823(0xe7)][_0x3eb823(0x23b)](_0x41bba9);break;default:this['_event$'][_0x3eb823(0x23b)](_0x41bba9);}}catch(_0x40aba3){this['_logService'][_0x3eb823(0x146)](_0x40aba3,_0x1b9234);}}['_onUserJoin'](_0x11ae08){var _0x53c2b4=_0x54341f;this[_0x53c2b4(0x399)][_0x53c2b4(0x150)](this['_unitID'],_0x11ae08[_0x53c2b4(0x11c)]);}[_0x54341f(0x29c)](_0x1a0437){var _0x486d1a=_0x54341f;this[_0x486d1a(0x399)][_0x486d1a(0xf7)](this['_unitID'],_0x1a0437[_0x486d1a(0x11c)]['memberID']);}async['send'](_0x48eb55,_0x424d5d){var _0xc3e932=_0x54341f;if(this['sessionStatus']!==0x3||!this[_0xc3e932(0xd2)])throw new Error(_0xc3e932(0x107));try{_0x48eb55[_0xc3e932(0x143)]===p['CollaborationEvent'][_0xc3e932(0x176)]&&(this[_0xc3e932(0x2f3)](),this[_0xc3e932(0x14d)](_0x48eb55)),this[_0xc3e932(0xd2)]['send']({'cmd':W[_0xc3e932(0x160)],'routeKey':_0x424d5d,'routeType':'','data':_0x48eb55});}catch(_0x4e71be){this[_0xc3e932(0x1dc)][_0xc3e932(0x146)](_0x4e71be);}}[_0x54341f(0x2f3)](){var _0x3e84b4=_0x54341f,_0x5e2fa7;this[_0x3e84b4(0x402)]=setTimeout(()=>{var _0x5dc2e1=_0x3e84b4;this[_0x5dc2e1(0x402)]=null,this[_0x5dc2e1(0xd0)][_0x5dc2e1(0x393)]({'id':Z[_0x5dc2e1(0x1f6)]});},(_0x5e2fa7=this[_0x3e84b4(0x285)][_0x3e84b4(0x347)](ke))!=null?_0x5e2fa7:lt);}[_0x54341f(0x268)](){var _0x4195ca=_0x54341f;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4195ca(0x402)]),this[_0x4195ca(0x402)]=null);}[_0x54341f(0x14d)](_0x4cc0c8){var _0x232312=_0x54341f;if(!this[_0x232312(0x16c)])return;const {data:_0x11875a}=_0x4cc0c8,{unitID:_0x18051a,changeset:_0x3b9862}=_0x11875a,{mutations:_0x370ccd,type:_0x2169af}=_0x3b9862;this[_0x232312(0x38e)]={'unitId':_0x18051a,'type':_0x2169af,'startTime':performance[_0x232312(0x206)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x370ccd)};}[_0x54341f(0x25b)](){var _0x2c811e=_0x54341f;if(this['_shouldReportTelemetry']){if(!this[_0x2c811e(0x38e)]){this[_0x2c811e(0x1dc)]['error'](_0x2c811e(0x2d9),_0x2c811e(0x3c8));return;}this[_0x2c811e(0x38e)][_0x2c811e(0x3ff)]=performance[_0x2c811e(0x206)](),this[_0x2c811e(0x38e)]['duration']=this[_0x2c811e(0x38e)][_0x2c811e(0x3ff)]-this[_0x2c811e(0x38e)][_0x2c811e(0x191)],this['_telemetryService'][_0x2c811e(0x213)](Bt,this[_0x2c811e(0x38e)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x10099a=_0x54341f;this[_0x10099a(0x38e)]=null;}},exports[_0x54341f(0xd9)]=qt([ce(0x2,a['ILogService']),ce(0x3,a['IConfigService']),ce(0x4,a['Inject'](exports[_0x54341f(0xe5)])),ce(0x5,a[_0x54341f(0x3f8)]($e)),ce(0x6,a[_0x54341f(0x3f8)](ee)),ce(0x7,a[_0x54341f(0x368)](Rt[_0x54341f(0x13a)]))],exports['CollaborationSession']);const K=a[_0x54341f(0x19d)](_0x54341f(0xdb));function Kt(_0x293963){var _0x16826e=_0x54341f;return _0x16826e(0x3f9)+_0x293963;}var zt=Object[_0x54341f(0x2d4)],Jt=(_0x3f70f0,_0x37c143,_0x2e61ea,_0x5ebcfd)=>{for(var _0x413253=_0x5ebcfd>0x1?void 0x0:_0x5ebcfd?zt(_0x37c143,_0x2e61ea):_0x37c143,_0x3efc94=_0x3f70f0['length']-0x1,_0x60fabb;_0x3efc94>=0x0;_0x3efc94--)(_0x60fabb=_0x3f70f0[_0x3efc94])&&(_0x413253=_0x60fabb(_0x413253)||_0x413253);return _0x413253;},Ue=(_0x2600a2,_0x4bc926)=>(_0x650977,_0xa9b4f3)=>_0x4bc926(_0x650977,_0xa9b4f3,_0x2600a2);function Xt(_0x48bf31){var _0x238264=_0x54341f;const {unitID:_0x5b5c05,mutations:_0x51e1fe}=_0x48bf31;return{'unitId':_0x5b5c05,'subUnitId':_0x51e1fe[0x0][_0x238264(0x2e8)][_0x238264(0x3c5)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x1765fa,_0x571354,_0x2206d0){var _0xd5c80b=_0x54341f;this[_0xd5c80b(0x3a1)]=_0x1765fa,this[_0xd5c80b(0x348)]=_0x571354,this[_0xd5c80b(0x33e)]=_0x2206d0;}[_0x54341f(0x394)](_0x14d462){var _0x3028b9=_0x54341f,_0x27f81c,_0x425441,_0x4833ec,_0x18de2a;const _0x265fe2=this[_0x3028b9(0x3a1)][_0x3028b9(0x345)](X['SheetsSelectionsService']),{unitId:_0xf2471e,subUnitId:_0x5a0fe8}=Xt(_0x14d462),_0x48d574=_0x265fe2==null?void 0x0:_0x265fe2[_0x3028b9(0x17a)](_0xf2471e)[_0x3028b9(0x3e1)](),_0xccb652=(_0x425441=(_0x27f81c=this['_instanceService'][_0x3028b9(0x169)](_0xf2471e))==null?void 0x0:_0x27f81c[_0x3028b9(0x2fd)]())==null?void 0x0:_0x425441[_0x3028b9(0x321)]();if(_0x48d574[_0x3028b9(0x1e8)]===0x0||!_0xf2471e||!_0x5a0fe8)return;const _0x2213af=[{'id':X[_0x3028b9(0x155)]['id'],'params':{'unitId':_0xf2471e,'subUnitId':_0xccb652,'selections':a[_0x3028b9(0x388)][_0x3028b9(0x371)](_0x48d574)}}],_0x5c34e2=this[_0x3028b9(0x348)][_0x3028b9(0x2f2)](_0x14d462,_0x2213af);if(!p[_0x3028b9(0x2a3)](_0x5c34e2))throw _0x5c34e2[_0x3028b9(0x146)];const _0x1a27b2=(_0x18de2a=(_0x4833ec=_0x5c34e2[_0x3028b9(0x1f4)][0x0])==null?void 0x0:_0x4833ec[_0x3028b9(0x2e8)])==null?void 0x0:_0x18de2a[_0x3028b9(0x390)];if(Array[_0x3028b9(0x1fc)](_0x1a27b2)&&_0x1a27b2['length']){if(_0x1a27b2[_0x3028b9(0x1e8)]===_0x2213af[0x0][_0x3028b9(0x2e8)][_0x3028b9(0x390)]['length']&&_0x1a27b2[_0x3028b9(0x341)]((_0x231600,_0x4af27c)=>a[_0x3028b9(0x13f)][_0x3028b9(0xb4)](_0x231600['range'],_0x2213af[0x0][_0x3028b9(0x2e8)][_0x3028b9(0x390)][_0x4af27c][_0x3028b9(0xff)])))return;this[_0x3028b9(0x3a1)]['get'](a[_0x3028b9(0x37c)])[_0x3028b9(0x384)](X[_0x3028b9(0x155)]['id'],{'unitId':_0xf2471e,'subUnitId':_0xccb652,'selections':_0x1a27b2});}}},exports['SheetTransformSelectionsService']=Jt([Ue(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),Ue(0x1,p[_0x54341f(0x23c)]),Ue(0x2,a[_0x54341f(0x29b)])],exports[_0x54341f(0x25a)]);const de=a[_0x54341f(0x19d)]('univer-pro.collaboration-client.single-active-unit-service');var He=(_0x6c6d84=>(_0x6c6d84[_0x6c6d84[_0x54341f(0x279)]=0x0]=_0x54341f(0x279),_0x6c6d84[_0x6c6d84[_0x54341f(0x355)]=0x1]='OTHER_CLIENTS_EDITING',_0x6c6d84))(He||{});const Y='collaboration-client.config',Zt={},Qt=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x1bcb54,_0x5498a8,_0x3bf857,_0x186f96,_0x2648cf){var _0x856d23=_0x54341f,_0x1b105f,_0x5048d3,_0x5a5c95,_0x274813;const _0x27605e=[];for(const _0x2d4b7f of _0x1bcb54)if(Qt[_0x856d23(0x357)](_0x2d4b7f['id'])){if(_0x27605e[_0x856d23(0x1e8)]>0x0)break;_0x27605e['push'](_0x2d4b7f);break;}else _0x27605e[_0x856d23(0x16f)](_0x2d4b7f);const _0x3b562b=(_0x5048d3=(_0x1b105f=_0x2648cf[_0x856d23(0x117)]())==null?void 0x0:_0x1b105f[_0x856d23(0x162)])!=null?_0x5048d3:'unknown',_0x21a3ad=(_0x274813=(_0x5a5c95=_0x2648cf[_0x856d23(0x117)]())==null?void 0x0:_0x5a5c95[_0x856d23(0x420)])!=null?_0x274813:_0x856d23(0x2d3);return{'changeset':{'unitID':_0x5498a8,'type':p[_0x856d23(0x372)](_0x3bf857[_0x856d23(0x18a)](_0x5498a8)),'baseRev':_0x186f96[_0x856d23(0x387)](_0x5498a8),'revision':0x0,'userID':_0x3b562b,'memberID':_0x21a3ad,'mutations':_0x27605e},'pendingMutations':_0x1bcb54[_0x856d23(0x1c6)](_0x27605e['length'])};}function ei(_0x531143,_0x2f19b6,_0x318837,_0x391e00,_0x50e9e1){var _0x3ef706=_0x54341f,_0x1d84c1,_0x3c97b1,_0x187868,_0x4e05cf;const _0x306dab=[_0x531143[_0x3ef706(0x3d8)]((_0x2f04ec,_0xe025b5)=>{var _0x307877=_0x3ef706,_0x3936d3;const {id:_0x3b000f}=_0x2f04ec,{id:_0x3f38c0,type:_0xe92b80}=_0xe025b5,_0xb1ef9e=(_0x3936d3=_0x2f04ec['params'])!=null?_0x3936d3:{'actions':null},_0xdd133f=_0xe025b5[_0x307877(0x2e8)];if(_0x3b000f&&_0x3b000f!==_0x3f38c0)throw new Error(_0x307877(0x3ee)+_0x3b000f+'\x20-\x20'+_0x3f38c0+'.');return{..._0x2f04ec,'id':_0x3f38c0,'type':_0xe92b80,'params':{'unitId':_0xdd133f[_0x307877(0x40c)],'textRanges':_0xdd133f[_0x307877(0x39e)],'actions':a[_0x307877(0x20c)][_0x307877(0x288)](_0xb1ef9e[_0x307877(0x316)],_0xdd133f['actions'])}};},{})],_0x128161=(_0x3c97b1=(_0x1d84c1=_0x50e9e1['getCurrentUser']())==null?void 0x0:_0x1d84c1[_0x3ef706(0x162)])!=null?_0x3c97b1:_0x3ef706(0x2d3),_0x4fa1f4=(_0x4e05cf=(_0x187868=_0x50e9e1[_0x3ef706(0x117)]())==null?void 0x0:_0x187868[_0x3ef706(0x420)])!=null?_0x4e05cf:_0x3ef706(0x2d3);return{'changeset':{'unitID':_0x2f19b6,'type':p['mapDocumentTypeToUniverType'](_0x318837[_0x3ef706(0x18a)](_0x2f19b6)),'baseRev':_0x391e00[_0x3ef706(0x387)](_0x2f19b6),'revision':0x0,'userID':_0x128161,'memberID':_0x4fa1f4,'mutations':_0x306dab},'pendingMutations':[]};}function St(_0x214dde,_0x7370c3){var _0x25df24=_0x54341f;const _0x41db69=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x41db69[_0x25df24(0x23b)](_0x7370c3),_0x214dde),_0x41db69[_0x25df24(0x131)]()[_0x25df24(0x26d)](H[_0x25df24(0x106)](0x1));}const ti={'id':X[_0x54341f(0x278)]['id'],'type':a[_0x54341f(0x1d2)][_0x54341f(0x2e6)],'params':{}};var ii=Object['getOwnPropertyDescriptor'],oe=(_0x1fc4f9,_0x5c09dc,_0x5ce8d5,_0x3fcaa4)=>{var _0x3d27d9=_0x54341f;for(var _0xc2917e=_0x3fcaa4>0x1?void 0x0:_0x3fcaa4?ii(_0x5c09dc,_0x5ce8d5):_0x5c09dc,_0x4f6a43=_0x1fc4f9[_0x3d27d9(0x1e8)]-0x1,_0x3840bf;_0x4f6a43>=0x0;_0x4f6a43--)(_0x3840bf=_0x1fc4f9[_0x4f6a43])&&(_0xc2917e=_0x3840bf(_0xc2917e)||_0xc2917e);return _0xc2917e;},w=(_0x4e382a,_0x31d0ad)=>(_0x39701c,_0x546103)=>_0x31d0ad(_0x39701c,_0x546103,_0x4e382a),je=(_0x1d17af=>(_0x1d17af['NOT_COLLAB']=_0x54341f(0x362),_0x1d17af[_0x54341f(0x417)]=_0x54341f(0x130),_0x1d17af[_0x54341f(0xbd)]='pending',_0x1d17af[_0x54341f(0x1b1)]='awaiting',_0x1d17af[_0x54341f(0x139)]=_0x54341f(0x2a5),_0x1d17af['FETCH_MISS']='fetch_missing',_0x1d17af[_0x54341f(0x281)]=_0x54341f(0x198),_0x1d17af[_0x54341f(0x313)]='offline',_0x1d17af))(je||{});const ft=0xea60;class ae{constructor(_0x55aa5a,_0x324e32,_0x1845c3,_0x554428,_0x9bbdd9,_0x245983,_0x1e1a08,_0x303cab,_0x342f2d){var _0x24dd9d=_0x54341f;A(this,_0x24dd9d(0x304),null),A(this,_0x24dd9d(0x38b),[]),(this[_0x24dd9d(0x1bb)]=_0x55aa5a,this[_0x24dd9d(0x37a)]=_0x324e32,this[_0x24dd9d(0x301)]=_0x9bbdd9,this[_0x24dd9d(0xe0)]=_0x245983,this[_0x24dd9d(0x23a)]=_0x1e1a08,this[_0x24dd9d(0xb7)]=_0x303cab,this['_localCacheService']=_0x342f2d,this[_0x24dd9d(0x304)]=_0x1845c3,this[_0x24dd9d(0x38b)]=_0x554428);}[_0x54341f(0x210)](_0x1366b1){var _0x23492d=_0x54341f;const _0x38ae8b=this['_revisionService'][_0x23492d(0x387)](this[_0x23492d(0x1bb)]);return _0x1366b1[_0x23492d(0x3e4)]>_0x38ae8b+0x1?(this[_0x23492d(0x301)][_0x23492d(0x2ec)]({'from':_0x38ae8b,'to':_0x1366b1[_0x23492d(0x3e4)]-0x1}),!0x0):!0x1;}[_0x54341f(0x31d)](_0x1756ee){var _0x14ff5b=_0x54341f;this[_0x14ff5b(0x23a)][_0x14ff5b(0xc1)](this[_0x14ff5b(0x1bb)],_0x1756ee);}['_transformSelections'](_0x19678c){var _0x34aea6=_0x54341f,_0x2e3022,_0x318e31;(_0x318e31=(_0x2e3022=this[_0x34aea6(0x301)])[_0x34aea6(0x39c)])==null||_0x318e31[_0x34aea6(0x2c9)](_0x2e3022,_0x19678c);}[_0x54341f(0x203)](_0x1ec62a){var _0x4f276b=_0x54341f,_0x40c29e,_0x119067;return(_0x119067=(_0x40c29e=this['_handler'])['onTransformIME'])==null?void 0x0:_0x119067[_0x4f276b(0x2c9)](_0x40c29e,_0x1ec62a);}[_0x54341f(0x295)](_0x58eeb7){var _0xc84e9=_0x54341f,_0x148011,_0xb9a93;return(_0xb9a93=(_0x148011=this[_0xc84e9(0x301)])[_0xc84e9(0x421)])==null?void 0x0:_0xb9a93[_0xc84e9(0x2c9)](_0x148011,_0x58eeb7);}[_0x54341f(0x318)](_0x24efcf){var _0x1a3410=_0x54341f,_0x1b75ea,_0x385dca,_0x585b99;return(_0x585b99=(_0x385dca=(_0x1b75ea=this[_0x1a3410(0x301)])[_0x1a3410(0x1c8)])==null?void 0x0:_0x385dca['call'](_0x1b75ea,_0x24efcf))!=null?_0x585b99:_0x24efcf;}[_0x54341f(0xc6)](_0x29e6ac){var _0x5359d5=_0x54341f,_0x828b36,_0x1a38b4,_0x2f2c7a;return(_0x2f2c7a=(_0x1a38b4=(_0x828b36=this['_handler'])[_0x5359d5(0x263)])==null?void 0x0:_0x1a38b4['call'](_0x828b36,_0x29e6ac))!=null?_0x2f2c7a:_0x29e6ac;}[_0x54341f(0x161)](_0x1baa4d){var _0x11e651=_0x54341f,_0x463cf2,_0x5f286e;if(this[_0x11e651(0x37a)]===J[_0x11e651(0x254)]){const {unitID:_0x26ff60,mutations:_0x12f82e,memberID:_0x2b8240}=_0x1baa4d,_0x33ed94=_0x12f82e[0x0][_0x11e651(0x2e8)][_0x11e651(0x39e)];Array[_0x11e651(0x1fc)](_0x33ed94)&&_0x33ed94[_0x11e651(0x1e8)]>0x0&&((_0x5f286e=(_0x463cf2=this[_0x11e651(0x301)])[_0x11e651(0x12d)])==null||_0x5f286e[_0x11e651(0x2c9)](_0x463cf2,{'unitID':_0x26ff60,'memberID':_0x2b8240,'textRanges':_0x33ed94}));}}[_0x54341f(0xba)](){var _0x5fbd97=_0x54341f,_0x5d46ac;(_0x5d46ac=this[_0x5fbd97(0x41a)])==null||_0x5d46ac[_0x5fbd97(0x147)](this[_0x5fbd97(0x1bb)],this[_0x5fbd97(0x37a)],this[_0x5fbd97(0x304)],this[_0x5fbd97(0x38b)]);}[_0x54341f(0x249)](){var _0x4c753e=_0x54341f;return this[_0x4c753e(0xb7)][_0x4c753e(0x387)](this[_0x4c753e(0x1bb)]);}['_incrementRevisionNumber'](){var _0x17b31e=_0x54341f;this[_0x17b31e(0xb7)][_0x17b31e(0x1f9)](this[_0x17b31e(0x1bb)]);}[_0x54341f(0x314)](_0x53f5f7){var _0x4d8b57=_0x54341f,_0xe472a5;let _0x4a67f4=this[_0x4d8b57(0x318)](_0x53f5f7);_0x4a67f4=this['_transformRemoteChangesetByStateCache'](_0x4a67f4);const _0xe165ec=a['sequenceExecute'](_0x4a67f4[_0x4d8b57(0xfe)],this['_commandService'],{'fromCollab':!0x0});if(!_0xe165ec[_0x4d8b57(0x1cc)])throw _0xe165ec[_0x4d8b57(0x146)]instanceof Error?_0xe165ec[_0x4d8b57(0x146)]:new Error((_0xe472a5=_0xe165ec[_0x4d8b57(0x146)])!=null?_0xe472a5:_0x4d8b57(0x135));this['_transformIMECache'](_0x4a67f4),this[_0x4d8b57(0x295)](_0x4a67f4),this[_0x4d8b57(0x31d)](_0x53f5f7),this[_0x4d8b57(0x3c7)](_0x4a67f4),this['_syncEditingCollabCursor'](_0x4a67f4),this['_incrementRevisionNumber']();}}exports[_0x54341f(0x20d)]=class extends ae{constructor(_0x9b9e4f,_0x35bc15,_0x38c48f,_0x58cb0f,_0x19ac6e,_0x6921e4,_0x5caa08,_0x372fc6,_0x3ff607,_0x469970){var _0x4d600c=_0x54341f;super(_0x9b9e4f,_0x35bc15,null,[],_0x38c48f,_0x5caa08,_0x6921e4,_0x58cb0f,_0x469970),A(this,_0x4d600c(0x2fc),_0x4d600c(0x130)),(this[_0x4d600c(0x3a1)]=_0x19ac6e,this['_logService']=_0x372fc6,this['_transformService']=_0x3ff607,this[_0x4d600c(0x151)]=_0x469970);}[_0x54341f(0x234)](_0x5b7c65){var _0x1ec7ff=_0x54341f;const _0x114521=this[_0x1ec7ff(0x3a1)][_0x1ec7ff(0x228)](exports[_0x1ec7ff(0x376)],this[_0x1ec7ff(0x1bb)],this['type'],[_0x5b7c65],this[_0x1ec7ff(0x301)]);return _0x114521['_schedule'](),_0x114521[_0x1ec7ff(0xba)](),_0x114521;}[_0x54341f(0x149)](_0x3c8bf3){var _0x507bcd=_0x54341f;if(this[_0x507bcd(0x210)](_0x3c8bf3))return this[_0x507bcd(0x3a1)]['createInstance'](exports[_0x507bcd(0x422)],this['unitID'],this[_0x507bcd(0x37a)],null,[],null,[_0x3c8bf3],this['_handler']);try{const _0x3898b0=this[_0x507bcd(0x348)]['transformMutationsWithChangeset'](_0x3c8bf3,[ti]);if(p[_0x507bcd(0x2a3)](_0x3898b0)){const {c1Prime:_0xb5ee64}=_0x3898b0;return this['_executeRemoteChangeset'](_0xb5ee64),this;}throw _0x3898b0[_0x507bcd(0x146)];}catch(_0xa0b870){return this[_0x507bcd(0x1dc)]['error'](_0xa0b870),this['_onConflict'](!0x1);}}[_0x54341f(0x2e9)](_0x3e14a5){var _0x22f769=_0x54341f;return this[_0x22f769(0x3a1)][_0x22f769(0x228)](exports[_0x22f769(0xdd)],this[_0x22f769(0x1bb)],this[_0x22f769(0x37a)],null,[],this[_0x22f769(0x301)],_0x3e14a5);}[_0x54341f(0x39d)](){var _0x3eb67a=_0x54341f;throw new Error(_0x3eb67a(0xe2));}['onRemoteRej'](){var _0x1c5d52=_0x54341f;throw new Error(_0x1c5d52(0x20b));}[_0x54341f(0x262)](){return this;}[_0x54341f(0x225)](){var _0x4ab102=_0x54341f;return this[_0x4ab102(0x3a1)]['createInstance'](exports[_0x4ab102(0x11a)],this[_0x4ab102(0x1bb)],this[_0x4ab102(0x37a)],null,[],this['_handler']);}[_0x54341f(0x378)](){return this;}[_0x54341f(0x207)](){var _0x3bf1b7=_0x54341f;throw new Error(_0x3bf1b7(0x22e));}['fetchMiss'](){var _0x1a7b6f=_0x54341f;const _0x546b90=this[_0x1a7b6f(0xb7)]['getCurrentRevOfUnit'](this[_0x1a7b6f(0x1bb)]);return this['_handler'][_0x1a7b6f(0x2ec)]({'from':_0x546b90,'to':0x0}),this[_0x1a7b6f(0x3a1)]['createInstance'](exports[_0x1a7b6f(0x422)],this[_0x1a7b6f(0x1bb)],this[_0x1a7b6f(0x37a)],null,[],null,[],this[_0x1a7b6f(0x301)]);}},exports[_0x54341f(0x20d)]=oe([w(0x3,a[_0x54341f(0x3f8)](p['RevisionService'])),w(0x4,a['Inject'](a[_0x54341f(0x3aa)])),w(0x5,a[_0x54341f(0x2ca)]),w(0x6,a[_0x54341f(0x37c)]),w(0x7,a[_0x54341f(0x21a)]),w(0x8,p['ITransformService']),w(0x9,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x20d)]),exports[_0x54341f(0x376)]=class extends ae{constructor(_0x531915,_0x1f14f9,_0x2124a6,_0x1598cb,_0x823867,_0x1e603f,_0x251c83,_0x3ce38d,_0x286997,_0x4ea634,_0x5a607e,_0x21b653,_0x2d07f8,_0x1d4f48){var _0x5b9715=_0x54341f;super(_0x531915,_0x1f14f9,null,_0x2124a6,_0x1598cb,_0x286997,_0x2d07f8,_0x1e603f,_0x1d4f48),A(this,'status',_0x5b9715(0x15e)),A(this,_0x5b9715(0x389),null),A(this,_0x5b9715(0x380),null),(this['_injector']=_0x823867,this[_0x5b9715(0x399)]=_0x251c83,this[_0x5b9715(0x1dc)]=_0x3ce38d,this[_0x5b9715(0x285)]=_0x4ea634,this[_0x5b9715(0x348)]=_0x5a607e,this[_0x5b9715(0x246)]=_0x21b653);}[_0x54341f(0x234)](_0x56c129){var _0x4c4082=_0x54341f;return this['_pendingMutations']['push'](_0x56c129),this[_0x4c4082(0xba)](),this;}[_0x54341f(0x149)](_0x482501){var _0x6b8b2=_0x54341f;if(this[_0x6b8b2(0x210)](_0x482501))return this[_0x6b8b2(0x189)](),this['_injector'][_0x6b8b2(0x228)](exports[_0x6b8b2(0x422)],this[_0x6b8b2(0x1bb)],this[_0x6b8b2(0x37a)],null,this['_pendingMutations'],null,[_0x482501],this[_0x6b8b2(0x301)]);try{const _0x860977=this[_0x6b8b2(0x348)][_0x6b8b2(0x2f2)](_0x482501,this['_pendingMutations']);if(p[_0x6b8b2(0x2a3)](_0x860977)){const {c1Prime:_0x221a7c,m2Prime:_0x387930}=_0x860977;this[_0x6b8b2(0x314)](_0x221a7c);const _0x93c313=this[_0x6b8b2(0x3a1)][_0x6b8b2(0x228)](exports['PendingState'],this[_0x6b8b2(0x1bb)],this[_0x6b8b2(0x37a)],_0x387930,this[_0x6b8b2(0x301)]);this[_0x6b8b2(0x189)]();const _0x4e459f=new Date()[_0x6b8b2(0x2bd)](),_0x5ebdd9=this[_0x6b8b2(0x389)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x4e459f,0x0):this[_0x6b8b2(0xda)]();return _0x93c313[_0x6b8b2(0xec)](_0x5ebdd9),_0x93c313;}throw _0x860977[_0x6b8b2(0x146)];}catch(_0x4bb1d4){return this['_logService'][_0x6b8b2(0x146)](_0x4bb1d4),this[_0x6b8b2(0x2e9)](!0x1);}}[_0x54341f(0x39d)](){var _0x244bf4=_0x54341f;throw new Error(_0x244bf4(0x36e));}[_0x54341f(0x408)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x54341f(0x262)](){return this;}[_0x54341f(0x225)](){var _0x127704=_0x54341f;return this[_0x127704(0x189)](),this[_0x127704(0x3a1)]['createInstance'](exports[_0x127704(0x11a)],this['unitID'],this[_0x127704(0x37a)],null,this['_pendingMutations'],this[_0x127704(0x301)]);}[_0x54341f(0x378)](){return this;}[_0x54341f(0xec)](_0x5a43ae){var _0x57484d=_0x54341f;const _0x5f9ccb=_0x5a43ae!=null?_0x5a43ae:this[_0x57484d(0xda)]();this[_0x57484d(0x389)]=new Date()[_0x57484d(0x2bd)]()+_0x5f9ccb,this[_0x57484d(0x380)]=setTimeout(()=>{var _0x280a39=_0x57484d;this[_0x280a39(0x189)]();let _0x4a0bd0=null;switch(this['type']){case J[_0x280a39(0x3ae)]:{_0x4a0bd0=Ge(this['_pendingMutations'],this[_0x280a39(0x1bb)],this[_0x280a39(0x246)],this[_0x280a39(0xb7)],this[_0x280a39(0x399)]);break;}case J[_0x280a39(0x254)]:{this[_0x280a39(0x38b)][_0x280a39(0x341)](_0x200e61=>_0x200e61['id']===ct['RichTextEditingMutation']['id'])?_0x4a0bd0=ei(this[_0x280a39(0x38b)],this[_0x280a39(0x1bb)],this[_0x280a39(0x246)],this['_revisionService'],this[_0x280a39(0x399)]):_0x4a0bd0=Ge(this[_0x280a39(0x38b)],this[_0x280a39(0x1bb)],this[_0x280a39(0x246)],this[_0x280a39(0xb7)],this[_0x280a39(0x399)]);break;}default:throw new Error(_0x280a39(0x1f8)+this[_0x280a39(0x37a)]+_0x280a39(0x2f8));}const {changeset:_0x3cf3a1,pendingMutations:_0x2cb4cc}=_0x4a0bd0;this[_0x280a39(0x301)][_0x280a39(0xab)](_0x3cf3a1);const _0x51770e=_0x2cb4cc[_0x280a39(0x1e8)]?this['_injector']['createInstance'](exports[_0x280a39(0x177)],this[_0x280a39(0x1bb)],this[_0x280a39(0x37a)],_0x3cf3a1,_0x2cb4cc,this[_0x280a39(0x301)],void 0x0):this[_0x280a39(0x3a1)]['createInstance'](exports[_0x280a39(0x319)],this[_0x280a39(0x1bb)],this[_0x280a39(0x37a)],_0x3cf3a1,this[_0x280a39(0x301)]);_0x51770e[_0x280a39(0xba)](),this['_handler'][_0x280a39(0xce)](this,_0x51770e);},_0x5f9ccb);}[_0x54341f(0xda)](){var _0x223280=_0x54341f,_0x66346b;const _0x4ae2d1=this[_0x223280(0x285)]['getConfig'](Y);return(_0x66346b=_0x4ae2d1==null?void 0x0:_0x4ae2d1['sendChangesetTimeout'])!=null?_0x66346b:Ut;}[_0x54341f(0x207)](){var _0x2771ec=_0x54341f;throw new Error(_0x2771ec(0x323));}[_0x54341f(0x189)](){var _0x3544c2=_0x54341f;this[_0x3544c2(0x380)]!=null&&(clearTimeout(this[_0x3544c2(0x380)]),this[_0x3544c2(0x380)]=null);}[_0x54341f(0x2e9)](_0x2e5df5){var _0x367039=_0x54341f;return this['_clearScheduledTask'](),this[_0x367039(0x3a1)][_0x367039(0x228)](exports[_0x367039(0xdd)],this[_0x367039(0x1bb)],this[_0x367039(0x37a)],null,this['_pendingMutations'],this[_0x367039(0x301)],_0x2e5df5);}},exports['PendingState']=oe([w(0x4,a['Inject'](a[_0x54341f(0x3aa)])),w(0x5,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),w(0x6,a[_0x54341f(0x3f8)](exports['MemberService'])),w(0x7,a[_0x54341f(0x21a)]),w(0x8,a[_0x54341f(0x37c)]),w(0x9,a[_0x54341f(0x370)]),w(0xa,p[_0x54341f(0x23c)]),w(0xb,a[_0x54341f(0x29b)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x376)]),exports[_0x54341f(0x319)]=class extends ae{constructor(_0x180342,_0x4794dc,_0xc0e6bd,_0x45d35a,_0x238d30,_0x5b6416,_0x1857a9,_0x4a2fe7,_0x305800,_0x24e612,_0x2c7e99){var _0x1c7a13=_0x54341f;super(_0x180342,_0x4794dc,_0xc0e6bd,[],_0x45d35a,_0x1857a9,_0x24e612,_0x5b6416,_0x2c7e99),A(this,'status',_0x1c7a13(0x34a)),A(this,_0x1c7a13(0xd5),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x1c7a13(0x3a1)]=_0x238d30,this['_logService']=_0x4a2fe7,this[_0x1c7a13(0x348)]=_0x305800);}[_0x54341f(0x234)](_0x81db1b){var _0x1c2df5=_0x54341f;this[_0x1c2df5(0x189)]();const _0x312477=this[_0x1c2df5(0x3a1)][_0x1c2df5(0x228)](exports[_0x1c2df5(0x177)],this[_0x1c2df5(0x1bb)],this['type'],this[_0x1c2df5(0x304)],[_0x81db1b],this['_handler'],this[_0x1c2df5(0x171)]);return _0x312477[_0x1c2df5(0xba)](),_0x312477;}[_0x54341f(0x149)](_0x167c34){var _0x45af61=_0x54341f;if(this[_0x45af61(0x210)](_0x167c34))return this[_0x45af61(0x189)](),this[_0x45af61(0x3a1)][_0x45af61(0x228)](exports[_0x45af61(0x422)],this[_0x45af61(0x1bb)],this[_0x45af61(0x37a)],this[_0x45af61(0x304)],[],null,[_0x167c34],this[_0x45af61(0x301)]);try{const _0x404b44=this[_0x45af61(0x348)]['transformChangesets']([_0x167c34],[this[_0x45af61(0x304)]],!0x1);if(p[_0x45af61(0x1db)](_0x404b44)){const {c1Prime:_0xfb3294,c2Prime:_0xfd1771}=_0x404b44;this[_0x45af61(0x314)](_0xfb3294[0x0]),_0xfd1771[0x0][_0x45af61(0x1c1)]=this['_getCurrentRevision'](),this[_0x45af61(0x189)]();const _0x50ba41=this[_0x45af61(0x3a1)]['createInstance'](exports[_0x45af61(0x319)],this[_0x45af61(0x1bb)],this[_0x45af61(0x37a)],_0xfd1771[0x0],this['_handler']);return _0x50ba41[_0x45af61(0xba)](),_0x50ba41;}return this['_onConflict'](!0x1);}catch(_0x3376db){return this[_0x45af61(0x1dc)][_0x45af61(0x146)](_0x3376db),this['_onConflict'](!0x1);}}[_0x54341f(0x39d)](_0x2cd336){var _0x5a6b64=_0x54341f;this[_0x5a6b64(0x189)]();const _0x587509=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5a6b64(0x1bb)]);if(_0x2cd336['revision']<_0x587509-0x1)return this;if(this[_0x5a6b64(0x210)](_0x2cd336))return this[_0x5a6b64(0x3a1)][_0x5a6b64(0x228)](exports[_0x5a6b64(0x422)],this['unitID'],this['type'],null,[],this[_0x5a6b64(0x304)],[],this[_0x5a6b64(0x301)]);this[_0x5a6b64(0xc0)]();const _0x357a8c=this[_0x5a6b64(0x3a1)][_0x5a6b64(0x228)](exports['SyncedState'],this[_0x5a6b64(0x1bb)],this[_0x5a6b64(0x37a)],this[_0x5a6b64(0x301)]);return _0x357a8c['_updateLocalCache'](),_0x357a8c;}[_0x54341f(0x408)](_0xcc74ff){return this['_onConflict'](!!(_0xcc74ff!=null&&_0xcc74ff['isPermissionRej']));}[_0x54341f(0x262)](_0x15ea3e){var _0x5c5a76=_0x54341f;return this['_resendTimeout']>ft?this['toggleOffline']():(this[_0x5c5a76(0x171)]=St(this[_0x5c5a76(0xd5)],{'timeout':this[_0x5c5a76(0xd5)],'reqId':_0x15ea3e[_0x5c5a76(0x3dd)]}),this[_0x5c5a76(0x220)]=this[_0x5c5a76(0x171)][_0x5c5a76(0x3b5)](({reqId:_0x24224a,timeout:_0x47f84f})=>{var _0x5a7acc=_0x5c5a76;this[_0x5a7acc(0x1d9)](_0x24224a,_0x47f84f);}),this);}[_0x54341f(0x225)](){var _0x28d889=_0x54341f;return this['_clearScheduledTask'](),this['_injector'][_0x28d889(0x228)](exports[_0x28d889(0x11a)],this['unitID'],this['type'],this[_0x28d889(0x304)],[],this[_0x28d889(0x301)]);}[_0x54341f(0x378)](){return this;}['resend'](){var _0x1777cc=_0x54341f;this[_0x1777cc(0x301)][_0x1777cc(0xab)](this[_0x1777cc(0x304)]);}[_0x54341f(0x2e9)](_0x52c4f9){var _0x4bbd54=_0x54341f;return this['_clearScheduledTask'](),this[_0x4bbd54(0x3a1)][_0x4bbd54(0x228)](exports['ConflictState'],this[_0x4bbd54(0x1bb)],this['type'],this[_0x4bbd54(0x304)],[],this['_handler'],_0x52c4f9);}[_0x54341f(0x1d9)](_0x2bf949,_0x49d1e8){var _0x2453e1=_0x54341f,_0x3a8a3e;_0x2bf949===((_0x3a8a3e=this[_0x2453e1(0x304)])==null?void 0x0:_0x3a8a3e[_0x2453e1(0x3dd)])&&(this[_0x2453e1(0x207)](),this['_resendTimeout']=_0x49d1e8===0x0?0x3e8:_0x49d1e8*0x2);}[_0x54341f(0x189)](){var _0x257eea=_0x54341f,_0x3b07eb;(_0x3b07eb=this[_0x257eea(0x220)])==null||_0x3b07eb[_0x257eea(0x134)](),this[_0x257eea(0xd5)]=0x0;}},exports[_0x54341f(0x319)]=oe([w(0x4,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),w(0x5,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),w(0x6,a[_0x54341f(0x37c)]),w(0x7,a[_0x54341f(0x21a)]),w(0x8,p[_0x54341f(0x23c)]),w(0x9,a[_0x54341f(0x2ca)]),w(0xa,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x319)]),exports[_0x54341f(0x177)]=class extends ae{constructor(_0x50dba1,_0x5ceae4,_0x3449bc,_0x1ffd51,_0x1cb253,_0x53cb3e,_0x3b08fc,_0x3000e,_0x5c8503,_0x2c9ed6,_0x13ff80,_0x183297,_0x534026){var _0x3746b5=_0x54341f;super(_0x50dba1,_0x5ceae4,_0x3449bc,_0x1ffd51,_0x1cb253,_0x5c8503,_0x183297,_0x3000e,_0x534026),A(this,_0x3746b5(0x2fc),_0x3746b5(0x2a5)),A(this,'_resendTimeout',0x0),A(this,_0x3746b5(0x171)),A(this,_0x3746b5(0x220)),(this[_0x3746b5(0x3a1)]=_0x3b08fc,this[_0x3746b5(0x1dc)]=_0x2c9ed6,this[_0x3746b5(0x348)]=_0x13ff80,this['localCacheService']=_0x534026,_0x53cb3e&&(this[_0x3746b5(0x171)]=_0x53cb3e,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x5824ab,timeout:_0x10f91d})=>{var _0x2d6c96=_0x3746b5;this[_0x2d6c96(0x1d9)](_0x5824ab,_0x10f91d);})));}['appendMutation'](_0x1cb8e0){var _0x2c35fc=_0x54341f;return this[_0x2c35fc(0x38b)][_0x2c35fc(0x16f)](_0x1cb8e0),this;}[_0x54341f(0x149)](_0x4a393d){var _0x2fdfee=_0x54341f;if(this['_checkMissing'](_0x4a393d))return this[_0x2fdfee(0x189)](),this[_0x2fdfee(0x3a1)][_0x2fdfee(0x228)](exports[_0x2fdfee(0x422)],this[_0x2fdfee(0x1bb)],this[_0x2fdfee(0x37a)],this[_0x2fdfee(0x304)],this[_0x2fdfee(0x38b)],null,[_0x4a393d],this[_0x2fdfee(0x301)]);try{const _0x1f760d=this[_0x2fdfee(0x348)][_0x2fdfee(0x29d)]([_0x4a393d],[this[_0x2fdfee(0x304)]],!0x1);if(p[_0x2fdfee(0x1db)](_0x1f760d)){const {c1Prime:_0x2463a4,c2Prime:_0x10d49b}=_0x1f760d,_0x485f20=this['_transformService'][_0x2fdfee(0x2f2)](_0x2463a4[0x0],this[_0x2fdfee(0x38b)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x485f20)){const {c1Prime:_0x2932f0,m2Prime:_0x4646c4}=_0x485f20;return this['_executeRemoteChangeset'](_0x2932f0),_0x10d49b[0x0][_0x2fdfee(0x1c1)]=this[_0x2fdfee(0x249)](),this['_clearScheduledTask'](),this[_0x2fdfee(0x3a1)][_0x2fdfee(0x228)](exports[_0x2fdfee(0x177)],this['unitID'],this[_0x2fdfee(0x37a)],_0x10d49b[0x0],_0x4646c4,this[_0x2fdfee(0x301)],void 0x0);}throw _0x485f20['error'];}throw _0x1f760d[_0x2fdfee(0x146)];}catch(_0x463690){return this[_0x2fdfee(0x1dc)][_0x2fdfee(0x146)](_0x463690),this[_0x2fdfee(0x2e9)](!0x1);}}[_0x54341f(0x39d)](_0x3c1b4d){var _0x57b296=_0x54341f;if(this[_0x57b296(0x189)](),this['_checkMissing'](_0x3c1b4d))return this[_0x57b296(0x3a1)][_0x57b296(0x228)](exports[_0x57b296(0x422)],this['unitID'],this[_0x57b296(0x37a)],null,this[_0x57b296(0x38b)],this[_0x57b296(0x304)],[],this['_handler']);this[_0x57b296(0xc0)]();const _0x22303a=this[_0x57b296(0x3a1)][_0x57b296(0x228)](exports[_0x57b296(0x376)],this[_0x57b296(0x1bb)],this['type'],this[_0x57b296(0x38b)],this[_0x57b296(0x301)]);return _0x22303a[_0x57b296(0xec)](),_0x22303a[_0x57b296(0xba)](),_0x22303a;}[_0x54341f(0x408)](_0x22d2ad){var _0x37f7dc=_0x54341f;return this[_0x37f7dc(0x2e9)](!!(_0x22d2ad!=null&&_0x22d2ad['isPermissionRej']));}[_0x54341f(0x262)](_0x37067f){var _0x1ea6b6=_0x54341f;return this[_0x1ea6b6(0xd5)]>ft?this[_0x1ea6b6(0x225)]():(this['_resendTimer']=St(this['_resendTimeout'],{'timeout':this[_0x1ea6b6(0xd5)],'reqId':_0x37067f['reqId']}),this[_0x1ea6b6(0x220)]=this[_0x1ea6b6(0x171)][_0x1ea6b6(0x3b5)](({reqId:_0x11fd66,timeout:_0x6965d2})=>{this['_resendWithTimeout'](_0x11fd66,_0x6965d2);}),this);}[_0x54341f(0x225)](){var _0x1d6572=_0x54341f;return this[_0x1d6572(0x189)](),this[_0x1d6572(0x3a1)]['createInstance'](exports[_0x1d6572(0x11a)],this[_0x1d6572(0x1bb)],this[_0x1d6572(0x37a)],this[_0x1d6572(0x304)],this['_pendingMutations'],this['_handler']);}[_0x54341f(0x378)](){return this;}[_0x54341f(0x207)](){var _0x1de355=_0x54341f;this[_0x1de355(0x301)][_0x1de355(0xab)](this[_0x1de355(0x304)]);}[_0x54341f(0x2e9)](_0xa221d6){var _0x4d1c99=_0x54341f;return this[_0x4d1c99(0x189)](),this['_injector'][_0x4d1c99(0x228)](exports['ConflictState'],this['unitID'],this[_0x4d1c99(0x37a)],null,this[_0x4d1c99(0x38b)],this['_handler'],_0xa221d6);}['_resendWithTimeout'](_0x1d6f10,_0x4c921c){var _0x5cf3e1=_0x54341f,_0x59fc68;_0x1d6f10===((_0x59fc68=this[_0x5cf3e1(0x304)])==null?void 0x0:_0x59fc68[_0x5cf3e1(0x3dd)])&&(this['resend'](),this[_0x5cf3e1(0xd5)]=_0x4c921c===0x0?0x3e8:_0x4c921c*0x2);}[_0x54341f(0x189)](){var _0x454559=_0x54341f,_0x448dc1;(_0x448dc1=this[_0x454559(0x220)])==null||_0x448dc1[_0x454559(0x134)](),this[_0x454559(0xd5)]=0x0;}},exports[_0x54341f(0x177)]=oe([w(0x6,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),w(0x7,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),w(0x8,a['ICommandService']),w(0x9,a['ILogService']),w(0xa,p['ITransformService']),w(0xb,a['IUndoRedoService']),w(0xc,a['Optional'](K))],exports[_0x54341f(0x177)]),exports[_0x54341f(0xdd)]=class extends ae{constructor(_0xf3b75e,_0x4a08e2,_0x4eb2a3,_0x5f0a89,_0x32ddad,_0x32b92a=!0x1,_0x428f28,_0xa6ae8,_0x356552,_0x1c8f96,_0x3e582a,_0x3901f9,_0x2850a9){var _0x551fca=_0x54341f;super(_0xf3b75e,_0x4a08e2,_0x4eb2a3,_0x5f0a89,_0x32ddad,_0xa6ae8,_0x356552,_0x1c8f96,_0x2850a9),A(this,_0x551fca(0x2fc),_0x551fca(0x198)),(this[_0x551fca(0x2c6)]=_0x32b92a,this[_0x551fca(0xf6)]=_0x428f28,this['_localeService']=_0x3e582a,this['_collaborationUIEventService']=_0x3901f9,this[_0x551fca(0x151)]=_0x2850a9,this[_0x551fca(0x27f)](),this['_clearLocalCache'](),this[_0x551fca(0x3b7)]());}[_0x54341f(0x234)](){return this;}[_0x54341f(0x149)](){return this;}[_0x54341f(0x39d)](){return this;}[_0x54341f(0x408)](){return this;}[_0x54341f(0x262)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x54341f(0x207)](){var _0x537bf8=_0x54341f;throw new Error(_0x537bf8(0x2a6));}[_0x54341f(0x184)](){var _0x16f4b9=_0x54341f,_0x466f50;(_0x466f50=this[_0x16f4b9(0x41a)])==null||_0x466f50['updateOfflineData'](this[_0x16f4b9(0x1bb)],this[_0x16f4b9(0x37a)],null,[]);}[_0x54341f(0x27f)](){var _0x4c7b58=_0x54341f;this[_0x4c7b58(0x2c6)]?this[_0x4c7b58(0xd0)][_0x4c7b58(0x393)]({'id':Z[_0x4c7b58(0xf8)]}):this['_collaborationUIEventService']['emitEvent']({'id':Z['CONFLICT']});}[_0x54341f(0x3b7)](){var _0x2301d2=_0x54341f;this[_0x2301d2(0xf6)][_0x2301d2(0x133)](new X[(_0x2301d2(0x218))](this[_0x2301d2(0x1bb)])['id'],!0x1);}},exports[_0x54341f(0xdd)]=oe([w(0x6,a[_0x54341f(0x3f8)](a[_0x54341f(0x1fe)])),w(0x7,a['ICommandService']),w(0x8,a[_0x54341f(0x2ca)]),w(0x9,a['Inject'](p[_0x54341f(0x22f)])),w(0xa,a[_0x54341f(0x3f8)](a[_0x54341f(0x30c)])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x54341f(0x368)](K))],exports['ConflictState']),exports[_0x54341f(0x11a)]=class extends ae{constructor(_0x263a8d,_0x1f6c6e,_0x39a92c,_0x1eb1dc,_0x53370d,_0x4e8326,_0x336504,_0x17607a,_0x2b57ef,_0xe1d577){var _0x3a8c77=_0x54341f;super(_0x263a8d,_0x1f6c6e,_0x39a92c,_0x1eb1dc,_0x53370d,_0x17607a,_0x2b57ef,_0x336504,_0xe1d577),A(this,_0x3a8c77(0x2fc),_0x3a8c77(0x375)),this[_0x3a8c77(0x3a1)]=_0x4e8326;}['appendMutation'](_0x1a5d6b){var _0x4ac723=_0x54341f;return this[_0x4ac723(0x38b)][_0x4ac723(0x16f)](_0x1a5d6b),this[_0x4ac723(0xba)](),this;}[_0x54341f(0x149)](_0x5315db){var _0x575e59=_0x54341f;throw new Error(_0x575e59(0x18e));}[_0x54341f(0x39d)](){var _0x574d1b=_0x54341f;throw new Error(_0x574d1b(0xb5));}[_0x54341f(0x408)](){var _0x555ce9=_0x54341f;throw new Error(_0x555ce9(0x26c));}['onRemoteRetry'](){return this;}[_0x54341f(0x225)](){return this;}['toggleOnline'](){var _0x15e80a=_0x54341f;const {_injector:_0x33b16e,_pendingMutations:_0xf8eef3,_awaitingChangeset:_0xe196f6,unitID:_0x4a2c81,_handler:_0x3f4cd7,type:_0x1181f8}=this,_0x203a9d=It(_0x33b16e,_0x4a2c81,_0x1181f8,_0xe196f6,_0xf8eef3,_0x3f4cd7);return _0x203a9d instanceof exports[_0x15e80a(0x376)]?_0x203a9d[_0x15e80a(0xec)]():(_0x203a9d instanceof exports['AwaitingWithPendingState']||_0x203a9d instanceof exports[_0x15e80a(0x319)])&&_0x203a9d[_0x15e80a(0x207)](),_0x203a9d;}[_0x54341f(0x207)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports['OfflineState']=oe([w(0x5,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),w(0x6,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),w(0x7,a[_0x54341f(0x37c)]),w(0x8,a[_0x54341f(0x2ca)]),w(0x9,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x11a)]),exports[_0x54341f(0x422)]=class extends ae{constructor(_0x4db76b,_0x2f3b77,_0x479490,_0x46d155,_0x19bf37,_0x3ffe92,_0x5065c7,_0x3e4157,_0x4c4513,_0x29a535,_0x549712,_0x520603,_0x37fdb8,_0x2eb10b){var _0x263249=_0x54341f;super(_0x4db76b,_0x2f3b77,_0x479490,_0x46d155,_0x5065c7,_0x549712,_0x520603,_0x4c4513,_0x2eb10b),A(this,_0x263249(0x2fc),_0x263249(0x373)),(this[_0x263249(0x1fd)]=_0x19bf37,this['_queuedRemoteChangesets']=_0x3ffe92,this[_0x263249(0x3a1)]=_0x3e4157,this[_0x263249(0x1dc)]=_0x29a535,this['_transformService']=_0x37fdb8,this['localCacheService']=_0x2eb10b);}[_0x54341f(0x145)](_0x222f3b){var _0x1c2907=_0x54341f;try{const _0x2ea5e8=[..._0x222f3b,...this[_0x1c2907(0x377)]],_0x23c924=[this['_awaitingChangeset']||this[_0x1c2907(0x1fd)]]['filter'](_0x51dfc2=>!!_0x51dfc2);let _0xe33874,_0x281f9f;if(_0x23c924[_0x1c2907(0x1e8)]){const _0x351fc5=this['_transformService'][_0x1c2907(0x29d)](_0x2ea5e8,_0x23c924,!0x1);if(!p[_0x1c2907(0x1db)](_0x351fc5))throw _0x351fc5[_0x1c2907(0x146)];_0xe33874=_0x351fc5['c1Prime'],_0x281f9f=_0x351fc5[_0x1c2907(0x294)];}else _0xe33874=_0x2ea5e8,_0x281f9f=[];let _0x1e40f5=this[_0x1c2907(0x38b)];_0xe33874[_0x1c2907(0x30a)](_0xaa7a3e=>{var _0x4708f8=_0x1c2907;let _0x44cc94;if(_0x1e40f5['length']){const _0x95b34d=this[_0x4708f8(0x348)][_0x4708f8(0x2f2)](_0xaa7a3e,_0x1e40f5);if(!p[_0x4708f8(0x2a3)](_0x95b34d))throw _0x95b34d[_0x4708f8(0x146)];_0x44cc94=_0x95b34d[_0x4708f8(0x3f6)],_0x1e40f5=_0x95b34d[_0x4708f8(0x1f4)];}else _0x44cc94=_0xaa7a3e;this[_0x4708f8(0x314)](_0x44cc94);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1c2907(0xc0)](),this[_0x1c2907(0x304)]&&_0x281f9f[_0x1c2907(0x1e8)]&&(_0x281f9f[0x0]['baseRev']=this[_0x1c2907(0x249)]());let _0x241834;if(this[_0x1c2907(0x304)]&&_0x1e40f5[_0x1c2907(0x1e8)]!==0x0)_0x241834=this['_injector'][_0x1c2907(0x228)](exports[_0x1c2907(0x177)],this[_0x1c2907(0x1bb)],this['type'],_0x281f9f[0x0],_0x1e40f5,this[_0x1c2907(0x301)],void 0x0);else{if(this[_0x1c2907(0x304)]&&_0x1e40f5[_0x1c2907(0x1e8)]===0x0)_0x281f9f[0x0][_0x1c2907(0x1c1)]=this[_0x1c2907(0x249)](),_0x241834=this['_injector'][_0x1c2907(0x228)](exports[_0x1c2907(0x319)],this[_0x1c2907(0x1bb)],this[_0x1c2907(0x37a)],_0x281f9f[0x0],this[_0x1c2907(0x301)]);else{if(_0x1e40f5['length']!==0x0){const _0x5e08f6=this[_0x1c2907(0x3a1)][_0x1c2907(0x228)](exports[_0x1c2907(0x376)],this[_0x1c2907(0x1bb)],this['type'],_0x1e40f5,this[_0x1c2907(0x301)]);_0x5e08f6['_schedule'](),_0x241834=_0x5e08f6;}else _0x241834=this[_0x1c2907(0x3a1)]['createInstance'](exports[_0x1c2907(0x20d)],this[_0x1c2907(0x1bb)],this[_0x1c2907(0x37a)],this[_0x1c2907(0x301)]);}}return _0x241834[_0x1c2907(0xba)](),_0x241834;}catch(_0x90891c){return this['_logService'][_0x1c2907(0x146)](_0x1c2907(0x3f0),_0x1c2907(0x168),_0x90891c),this[_0x1c2907(0x3a1)][_0x1c2907(0x228)](exports[_0x1c2907(0xdd)],this[_0x1c2907(0x1bb)],this['type'],this[_0x1c2907(0x304)],this['_pendingMutations'],this[_0x1c2907(0x301)],!0x1);}}[_0x54341f(0x207)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x54341f(0x234)](_0x5a2130){var _0x475858=_0x54341f;return this['_pendingMutations'][_0x475858(0x16f)](_0x5a2130),this;}['onRemoteChangeset'](_0x4c2846){var _0x3cd76d=_0x54341f;return this[_0x3cd76d(0x377)][_0x3cd76d(0x16f)](_0x4c2846),this;}[_0x54341f(0x39d)](_0x1c9831){var _0x54e360=_0x54341f;if(this[_0x54e360(0x304)])return this[_0x54e360(0x1fd)]=this[_0x54e360(0x304)],this[_0x54e360(0x304)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x54341f(0x408)](_0x5a9565){var _0x25236a=_0x54341f;return this['_onConflict'](!!(_0x5a9565!=null&&_0x5a9565[_0x25236a(0xd1)]));}[_0x54341f(0x262)](){return this;}['toggleOffline'](){var _0x806ed6=_0x54341f;return this['_injector'][_0x806ed6(0x228)](exports[_0x806ed6(0x11a)],this[_0x806ed6(0x1bb)],this[_0x806ed6(0x37a)],this[_0x806ed6(0x304)],this[_0x806ed6(0x38b)],this['_handler']);}[_0x54341f(0x378)](){return this;}[_0x54341f(0x2e9)](_0x3dee42){var _0x525076=_0x54341f;return this[_0x525076(0x3a1)][_0x525076(0x228)](exports['ConflictState'],this[_0x525076(0x1bb)],this[_0x525076(0x37a)],this[_0x525076(0x304)],this[_0x525076(0x38b)],this['_handler'],_0x3dee42);}},exports[_0x54341f(0x422)]=oe([w(0x7,a['Inject'](a[_0x54341f(0x3aa)])),w(0x8,a['Inject'](p[_0x54341f(0x22f)])),w(0x9,a[_0x54341f(0x21a)]),w(0xa,a['ICommandService']),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x54341f(0x23c)]),w(0xd,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x422)]);function It(_0x4f4fa6,_0x28d0f8,_0x1030ac,_0x16f180,_0x34af05,_0x536d44){var _0x27d0fa=_0x54341f;return _0x16f180&&_0x34af05[_0x27d0fa(0x1e8)]?_0x4f4fa6[_0x27d0fa(0x228)](exports['AwaitingWithPendingState'],_0x28d0f8,_0x1030ac,_0x16f180,_0x34af05,_0x536d44,void 0x0):_0x16f180?_0x4f4fa6[_0x27d0fa(0x228)](exports[_0x27d0fa(0x319)],_0x28d0f8,_0x1030ac,_0x16f180,_0x536d44):_0x34af05[_0x27d0fa(0x1e8)]?_0x4f4fa6[_0x27d0fa(0x228)](exports['PendingState'],_0x28d0f8,_0x1030ac,_0x34af05,_0x536d44):_0x4f4fa6['createInstance'](exports[_0x27d0fa(0x20d)],_0x28d0f8,_0x1030ac,_0x536d44);}var ni=Object['getOwnPropertyDescriptor'],Be=(_0x20b27e,_0x43e636,_0x35876b,_0x1a5c9b)=>{for(var _0x3599bd=_0x1a5c9b>0x1?void 0x0:_0x1a5c9b?ni(_0x43e636,_0x35876b):_0x43e636,_0x14efe4=_0x20b27e['length']-0x1,_0x54819c;_0x14efe4>=0x0;_0x14efe4--)(_0x54819c=_0x20b27e[_0x14efe4])&&(_0x3599bd=_0x54819c(_0x3599bd)||_0x3599bd);return _0x3599bd;},j=(_0x400293,_0x35fec8)=>(_0x2dcd4d,_0x20071b)=>_0x35fec8(_0x2dcd4d,_0x20071b,_0x400293);exports[_0x54341f(0xb3)]=class extends a[_0x54341f(0x26a)]{constructor(_0x275f39,_0x498d3a,_0x3731de,_0x8d1139,_0x30c5cd,_0x59c841,_0x3adb44,_0x12bdaa,_0x1e2b0d,_0x4120d6,_0x2fdbb7,_0x28f094,_0x1b4633){var _0x266752=_0x54341f;super(),A(this,_0x266752(0x152),new H['BehaviorSubject'](null)),A(this,'state$',this[_0x266752(0x152)][_0x266752(0x131)]()),A(this,_0x266752(0x2b6)),A(this,'_collaborationPaused',!0x1),A(this,_0x266752(0x1ba),''),A(this,'_changesetReqId',0x0),A(this,_0x266752(0x32a),this[_0x266752(0x329)][_0x266752(0x26d)](H[_0x266752(0x30f)](_0xae2118=>_0xae2118?_0xae2118['status']:je[_0x266752(0x313)]),H[_0x266752(0x11b)](0x1))),A(this,_0x266752(0x1fa),!0x1),A(this,_0x266752(0x122),[]),(this[_0x266752(0x1bb)]=_0x275f39,this[_0x266752(0x1a0)]=_0x498d3a,this[_0x266752(0x392)]=_0x3731de,this[_0x266752(0x3a1)]=_0x8d1139,this[_0x266752(0x3d5)]=_0x30c5cd,this['_localeService']=_0x59c841,this[_0x266752(0xb7)]=_0x3adb44,this[_0x266752(0x2ff)]=_0x12bdaa,this[_0x266752(0x1dc)]=_0x1e2b0d,this['_commandService']=_0x4120d6,this[_0x266752(0xf6)]=_0x2fdbb7,this['_singleActiveUnitService']=_0x28f094,this[_0x266752(0x41a)]=_0x1b4633);}get['state'](){return this['_state'];}async[_0x54341f(0x3b4)](){var _0x335bfe=_0x54341f;if(this[_0x335bfe(0x38c)])throw new Error(_0x335bfe(0x118));await this['_init']();}[_0x54341f(0x385)](){var _0x5e04e5=_0x54341f;return this['_collaborationPaused']=!0x0,a[_0x5e04e5(0x1ff)](()=>{var _0x4b72e6=_0x5e04e5;this[_0x4b72e6(0xd4)]=!0x1,this[_0x4b72e6(0x1df)]();});}[_0x54341f(0x1ea)](_0x5263ca){var _0x4cd0de=_0x54341f;this[_0x4cd0de(0x11d)](_0x5263ca);}[_0x54341f(0xca)](_0x69640f){var _0x4c07c2=_0x54341f;this[_0x4c07c2(0x2b6)]=_0x69640f,this[_0x4c07c2(0x152)][_0x4c07c2(0x23b)](_0x69640f);}async['_init'](){var _0xa2e2f7=_0x54341f,_0x857cbb;this[_0xa2e2f7(0xca)](await this[_0xa2e2f7(0x38a)]()),this[_0xa2e2f7(0x2f6)]&&((_0x857cbb=this[_0xa2e2f7(0x2f6)])==null||_0x857cbb[_0xa2e2f7(0x23f)](this['unitID']),this[_0xa2e2f7(0x38f)](this[_0xa2e2f7(0x2f6)][_0xa2e2f7(0x187)](this[_0xa2e2f7(0x1bb)])[_0xa2e2f7(0x3b5)](_0x9ca2f3=>{var _0x3a805b=_0xa2e2f7;this[_0x3a805b(0x1dc)][_0x3a805b(0x3c1)](_0x3a805b(0x2f9),_0x3a805b(0x129),_0x9ca2f3),_0x9ca2f3===He[_0x3a805b(0x355)]?(this[_0x3a805b(0x2ff)]['emitEvent']({'id':Z[_0x3a805b(0x22a)]}),this[_0x3a805b(0xf6)][_0x3a805b(0x133)](new X['WorkbookEditablePermission'](this[_0x3a805b(0x1bb)])['id'],!0x1),this[_0x3a805b(0xf6)]['setShowComponents'](!0x1)):(this[_0x3a805b(0xf6)][_0x3a805b(0x133)](new X['WorkbookEditablePermission'](this[_0x3a805b(0x1bb)])['id'],!0x0),this[_0x3a805b(0xf6)]['setShowComponents'](!0x0));})));let _0x2fe3a1=!0x1;return this[_0xa2e2f7(0x38f)](this['session'][_0xa2e2f7(0x1a1)][_0xa2e2f7(0x3b5)](_0x186976=>{var _0x4a1c57=_0xa2e2f7;_0x186976===re['ONLINE']?this[_0x4a1c57(0x24e)](_0x2fe3a1):_0x186976===re['OFFLINE']&&(_0x2fe3a1=!0x0,this[_0x4a1c57(0x2f4)]());})),this[_0xa2e2f7(0x38f)](this[_0xa2e2f7(0x1a0)]['event$'][_0xa2e2f7(0x3b5)](_0x4983cf=>{var _0x3d8f9a=_0xa2e2f7;try{switch(_0x4983cf[_0x3d8f9a(0x143)]){case p[_0x3d8f9a(0x315)]['NEW_CHANGESETS']:{this[_0x3d8f9a(0xc2)](p['parseProtocolChangeset'](_0x4983cf[_0x3d8f9a(0x11c)]));break;}case p[_0x3d8f9a(0x315)][_0x3d8f9a(0x332)]:{this[_0x3d8f9a(0x2e3)](_0x4983cf[_0x3d8f9a(0x11c)]);break;}case p[_0x3d8f9a(0x315)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case p['CollaborationEvent'][_0x3d8f9a(0x1d6)]:{this[_0x3d8f9a(0x188)](_0x4983cf['data']);break;}case p[_0x3d8f9a(0x315)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x3d8f9a(0x3be)](_0x4983cf[_0x3d8f9a(0x11c)][_0x3d8f9a(0x3e2)][_0x3d8f9a(0x30f)](_0x2b1144=>p[_0x3d8f9a(0x299)](_0x2b1144)));break;}case p[_0x3d8f9a(0x315)][_0x3d8f9a(0x391)]:{this[_0x3d8f9a(0xcc)]({'isPermissionRej':!0x0});break;}case p['CollaborationEvent'][_0x3d8f9a(0x2a0)]:break;}}catch(_0x2ee805){throw console[_0x3d8f9a(0x146)]('Error\x20on\x20receiving\x20event',_0x2ee805),_0x2ee805;}})),this[_0xa2e2f7(0x2b6)];}[_0x54341f(0x349)](){var _0x3de4f1=_0x54341f;this[_0x3de4f1(0x1fa)]=!0x1;}['_lockTransition'](){var _0x44c3c4=_0x54341f;if(this[_0x44c3c4(0x1fa)])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[_0x44c3c4(0x1fa)]=!0x0;}[_0x54341f(0x11d)](_0x436cd2){var _0x50a091=_0x54341f;this['_lockTransition'](),this[_0x50a091(0xca)](this['_state'][_0x50a091(0x234)](_0x436cd2)),this[_0x50a091(0x349)]();}['_onRemoteChangeset'](_0x2542f0){var _0x434772=_0x54341f;if(!(_0x2542f0['revision']<=this[_0x434772(0xb7)][_0x434772(0x387)](this['unitID']))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x434772(0x16f)](_0x2542f0);return;}this['_applyRemoteChangeset'](_0x2542f0);}}[_0x54341f(0x1df)](){var _0x3ac0b2=_0x54341f;this[_0x3ac0b2(0x122)][_0x3ac0b2(0x30a)](_0xc248a0=>this[_0x3ac0b2(0x19c)](_0xc248a0)),this[_0x3ac0b2(0x122)]=[];}['_applyRemoteChangeset'](_0x40e4d9){var _0x2fbffb=_0x54341f;const _0x39d85b=this[_0x2fbffb(0x3d5)]['interceptor'][_0x2fbffb(0x31b)](this[_0x2fbffb(0x3d5)][_0x2fbffb(0x3bb)][_0x2fbffb(0x1d0)]()[_0x2fbffb(0x239)])(_0x40e4d9[_0x2fbffb(0xfe)],null)||_0x40e4d9[_0x2fbffb(0xfe)],_0x2fa7a4={..._0x40e4d9,'mutations':_0x39d85b};this['_lockTransition'](),this[_0x2fbffb(0xca)](this[_0x2fbffb(0x2b6)]['onRemoteChangeset'](_0x2fa7a4)),this['_unlockTransition']();}['_onRemoteACK'](_0x28f398){var _0x19f379=_0x54341f;this[_0x19f379(0x20e)](),this[_0x19f379(0xca)](this[_0x19f379(0x2b6)][_0x19f379(0x39d)](_0x28f398)),this[_0x19f379(0x349)]();}[_0x54341f(0xcc)](_0xbc19b9){var _0x3668e7=_0x54341f;this['_lockTransition'](),this[_0x3668e7(0xca)](this['_state']['onRemoteRej'](_0xbc19b9)),this['_unlockTransition']();}[_0x54341f(0x188)](_0x1ec54e){var _0x480be8=_0x54341f;this[_0x480be8(0x20e)](),this[_0x480be8(0xca)](this[_0x480be8(0x2b6)][_0x480be8(0x262)](_0x1ec54e)),this[_0x480be8(0x349)]();}[_0x54341f(0x3be)](_0x271546){var _0xa778d0=_0x54341f;if(!(this[_0xa778d0(0x2b6)]instanceof exports[_0xa778d0(0x422)]))throw new TypeError(_0xa778d0(0x35f));const _0x30d0aa=_0x271546[_0xa778d0(0x30f)](_0x279589=>{var _0x2974f2=_0xa778d0;const _0x26fec4=this[_0x2974f2(0x3d5)][_0x2974f2(0x3bb)][_0x2974f2(0x31b)](this[_0x2974f2(0x3d5)][_0x2974f2(0x3bb)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x279589[_0x2974f2(0xfe)],null)||_0x279589[_0x2974f2(0xfe)];return{..._0x279589,'mutations':_0x26fec4};});this['_lockTransition'](),this['_updateState'](this[_0xa778d0(0x2b6)][_0xa778d0(0x145)](_0x30d0aa)),this[_0xa778d0(0x349)]();}[_0x54341f(0x2f4)](){var _0x29fd5f=_0x54341f;this[_0x29fd5f(0x20e)](),this[_0x29fd5f(0xca)](this['_state'][_0x29fd5f(0x225)]()),this[_0x29fd5f(0x349)]();}[_0x54341f(0x24e)](_0x4e09f8=!0x1){var _0x4ca09b=_0x54341f;this[_0x4ca09b(0x20e)](),this[_0x4ca09b(0xca)](this[_0x4ca09b(0x2b6)][_0x4ca09b(0x378)]()),this[_0x4ca09b(0x349)]();const _0x15deba=this['_state'];_0x4e09f8&&_0x15deba instanceof exports[_0x4ca09b(0x20d)]&&(this[_0x4ca09b(0x20e)](),this[_0x4ca09b(0xca)](_0x15deba['fetchMiss']()),this[_0x4ca09b(0x349)]());}async[_0x54341f(0x38a)](){return new Promise(_0x332c44=>{var _0x21257a=_0x2020;this[_0x21257a(0x1a0)][_0x21257a(0x1a1)][_0x21257a(0x26d)](H['take'](0x1))[_0x21257a(0x3b5)](async _0x1ca3c8=>{var _0x542eb3=_0x21257a;_0x332c44(await this[_0x542eb3(0x1d4)](_0x1ca3c8===re[_0x542eb3(0x137)]));});});}[_0x54341f(0xd6)](){var _0x41326c=_0x54341f;const _0x5eedc7=this[_0x41326c(0x1bb)];return{'onStateChange':(_0x180823,_0xcd67b)=>{var _0x2f3b3b=_0x41326c;if(_0x180823!==this[_0x2f3b3b(0x2b6)])throw new Error(_0x2f3b3b(0x2ae)+_0x180823[_0x2f3b3b(0x2fc)]+_0x2f3b3b(0x214)+_0xcd67b[_0x2f3b3b(0x2fc)]+_0x2f3b3b(0x31a)+this['_state'][_0x2f3b3b(0x2fc)]);this[_0x2f3b3b(0xca)](_0xcd67b);},'onSendChangeset':_0x3c0ed7=>{var _0x2a3fef=_0x41326c;_0x3c0ed7[_0x2a3fef(0x3e8)]||(_0x3c0ed7[_0x2a3fef(0x3e8)]=this['_changesetSessionId'],_0x3c0ed7[_0x2a3fef(0x3dd)]=++this[_0x2a3fef(0x38d)]);const _0x5e8680={'eventID':p[_0x2a3fef(0x315)][_0x2a3fef(0x176)],'data':{'unitID':_0x3c0ed7[_0x2a3fef(0x1bb)],'unitType':this[_0x2a3fef(0x392)],'changeset':_0x3c0ed7,'memberID':this[_0x2a3fef(0x1a0)][_0x2a3fef(0x1b0)]()}};this[_0x2a3fef(0x1a0)][_0x2a3fef(0x102)](_0x5e8680,this['unitID']);},'onMissingChangesets':({from:_0x4682ab,to:_0x534452})=>{var _0x391276=_0x41326c;this[_0x391276(0x1dc)][_0x391276(0x3c1)](_0x391276(0x2f9),_0x391276(0x312)+_0x4682ab+_0x391276(0x244)+_0x534452);const _0x5473b7={'eventID':p[_0x391276(0x315)][_0x391276(0x17b)],'data':{'unitID':_0x5eedc7,'unitType':this[_0x391276(0x392)],'from':_0x4682ab,'to':_0x534452}};this['session'][_0x391276(0x102)](_0x5473b7,this['unitID']);}};}async[_0x54341f(0x1d4)](_0x99b394){var _0x56108d=_0x54341f,_0xbc9d1e,_0x3b2f63,_0x400f20;const _0x545f42=await((_0xbc9d1e=this[_0x56108d(0x41a)])==null?void 0x0:_0xbc9d1e[_0x56108d(0x3b1)](this[_0x56108d(0x1bb)])),_0x5983c3=(_0x3b2f63=_0x545f42==null?void 0x0:_0x545f42[_0x56108d(0xfe)])!=null?_0x3b2f63:[],_0x432364=(_0x400f20=_0x545f42==null?void 0x0:_0x545f42[_0x56108d(0x197)])!=null?_0x400f20:null,_0x293111=!!(_0x432364!=null&&_0x432364[_0x56108d(0x3e8)])&&!!(_0x432364!=null&&_0x432364[_0x56108d(0x3dd)]);this[_0x56108d(0x1ba)]=_0x293111?_0x432364[_0x56108d(0x3e8)]:p[_0x56108d(0x204)](),this[_0x56108d(0x38d)]=_0x293111?_0x432364[_0x56108d(0x3dd)]:0x0;const _0x5ec899=this[_0x56108d(0x1bb)];try{this[_0x56108d(0x2b1)](_0x432364,_0x5983c3);}catch(_0x1cbf97){this[_0x56108d(0x1dc)][_0x56108d(0x146)](_0x1cbf97);}const _0x443b8c=this[_0x56108d(0xd6)]();if(_0x99b394){const _0x676167=It(this[_0x56108d(0x3a1)],_0x5ec899,this[_0x56108d(0x392)],_0x432364,_0x5983c3,_0x443b8c);return _0x676167 instanceof exports[_0x56108d(0x376)]?_0x676167['_schedule']():(_0x676167 instanceof exports[_0x56108d(0x177)]||_0x676167 instanceof exports[_0x56108d(0x319)])&&_0x676167[_0x56108d(0x207)](),_0x676167;}return this[_0x56108d(0x3a1)]['createInstance'](exports[_0x56108d(0x11a)],_0x5ec899,this[_0x56108d(0x392)],_0x432364,_0x5983c3,_0x443b8c);}[_0x54341f(0x2b1)](_0x166e07,_0x26d891){var _0x47c711=_0x54341f,_0xa475b4,_0x3bc7db;const _0x364474=this[_0x47c711(0x3d5)][_0x47c711(0x3bb)][_0x47c711(0x31b)](this['_compressMutationService'][_0x47c711(0x3bb)][_0x47c711(0x1d0)]()['COMPRESS_MUTATION_APPLY']);(_0xa475b4=_0x364474((_0x166e07==null?void 0x0:_0x166e07[_0x47c711(0xfe)])||[],null))==null||_0xa475b4[_0x47c711(0x30a)](_0x3f5b05=>this[_0x47c711(0xe0)][_0x47c711(0x384)](_0x3f5b05['id'],_0x3f5b05['params'])),(_0x3bc7db=_0x364474(_0x26d891||[],null))==null||_0x3bc7db[_0x47c711(0x30a)](_0x1549dd=>this[_0x47c711(0xe0)][_0x47c711(0x384)](_0x1549dd['id'],_0x1549dd[_0x47c711(0x2e8)]));}},exports[_0x54341f(0xb3)]=Be([j(0x3,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),j(0x4,a['Inject'](p[_0x54341f(0x3a2)])),j(0x5,a['Inject'](a[_0x54341f(0x30c)])),j(0x6,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),j(0x7,a[_0x54341f(0x3f8)](ee)),j(0x8,a[_0x54341f(0x21a)]),j(0x9,a[_0x54341f(0x37c)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x54341f(0x368)](de)),j(0xc,a['Optional'](K))],exports['CollaborationEntity']),exports[_0x54341f(0x195)]=class extends exports[_0x54341f(0xb3)]{constructor(_0x3b57f3,_0x3e572b,_0x32034d,_0x3a86d5,_0x26cf1b,_0x1524c0,_0x1c8959,_0x42163c,_0x1db93a,_0x40a677,_0x539e1e,_0x29441e,_0x40154f){var _0xb5de73=_0x54341f;super(_0x3b57f3,_0x32034d,_0x3e572b,_0x3a86d5,_0x26cf1b,_0x1524c0,_0x1c8959,_0x42163c,_0x1db93a,_0x40a677,_0x539e1e,_0x29441e,_0x40154f),A(this,_0xb5de73(0x1b5),null),(this['unitID']=_0x3b57f3,this[_0xb5de73(0x37a)]=_0x3e572b);}[_0x54341f(0x300)](_0x468620){var _0x57bade=_0x54341f;this[_0x57bade(0x1b5)]=_0x468620;}[_0x54341f(0xbc)](){var _0x3d9f3b=_0x54341f;this[_0x3d9f3b(0x1b5)]=null,super['dispose']();}[_0x54341f(0xd6)](){var _0x556590=_0x54341f;const _0x540959=super[_0x556590(0xd6)]();return _0x540959[_0x556590(0x297)]=_0x4f0cdc=>{var _0x1548e2=_0x556590,_0x2e6470,_0x3be1d0;return(_0x3be1d0=(_0x2e6470=this['_handlerCallback'])==null?void 0x0:_0x2e6470[_0x1548e2(0x297)])==null?void 0x0:_0x3be1d0['call'](_0x2e6470,_0x4f0cdc);},_0x540959[_0x556590(0x421)]=_0x378442=>{var _0x379862=_0x556590,_0x4b8927,_0xbdbaed;return(_0xbdbaed=(_0x4b8927=this[_0x379862(0x1b5)])==null?void 0x0:_0x4b8927['onTransformState'])==null?void 0x0:_0xbdbaed[_0x379862(0x2c9)](_0x4b8927,_0x378442);},_0x540959['onTransformSelections']=_0x5ef5ce=>{var _0x5d08c5=_0x556590,_0x14284a,_0x1738f1;return(_0x1738f1=(_0x14284a=this['_handlerCallback'])==null?void 0x0:_0x14284a[_0x5d08c5(0x39c)])==null?void 0x0:_0x1738f1[_0x5d08c5(0x2c9)](_0x14284a,_0x5ef5ce);},_0x540959[_0x556590(0x12d)]=_0x14df9d=>{var _0x91d7c8=_0x556590,_0x5177d6,_0x5233d8;return(_0x5233d8=(_0x5177d6=this[_0x91d7c8(0x1b5)])==null?void 0x0:_0x5177d6[_0x91d7c8(0x12d)])==null?void 0x0:_0x5233d8[_0x91d7c8(0x2c9)](_0x5177d6,_0x14df9d);},_0x540959[_0x556590(0x1c8)]=_0x464786=>{var _0x48c3b6=_0x556590,_0x5e19ac,_0x24c113,_0x1db098;if(!((_0x5e19ac=this[_0x48c3b6(0x1b5)])!=null&&_0x5e19ac[_0x48c3b6(0x1c8)]))throw new Error(_0x48c3b6(0x3d2));return(_0x1db098=(_0x24c113=this[_0x48c3b6(0x1b5)])==null?void 0x0:_0x24c113['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1db098[_0x48c3b6(0x2c9)](_0x24c113,_0x464786);},_0x540959['onTransformRemoteChangesetByStateCache']=_0x1d379a=>{var _0x3ea742=_0x556590,_0x396c8f,_0x5d3571,_0x43aa24;if(!((_0x396c8f=this[_0x3ea742(0x1b5)])!=null&&_0x396c8f[_0x3ea742(0x263)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x43aa24=(_0x5d3571=this[_0x3ea742(0x1b5)])==null?void 0x0:_0x5d3571['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x43aa24[_0x3ea742(0x2c9)](_0x5d3571,_0x1d379a);},_0x540959;}async[_0x54341f(0x2b0)](){var _0x2d9d31=_0x54341f;const _0x111cb1=await super[_0x2d9d31(0x2b0)]();return this['disposeWithMe'](this[_0x2d9d31(0xe0)][_0x2d9d31(0x2ee)]((_0x295094,_0x29e78c)=>{var _0x3bd51d=_0x2d9d31;if(_0x295094[_0x3bd51d(0x37a)]!==a['CommandType'][_0x3bd51d(0x2e6)]||_0x29e78c!=null&&_0x29e78c[_0x3bd51d(0x175)]||_0x29e78c!=null&&_0x29e78c[_0x3bd51d(0x17d)]||_0x295094['id']===ct['RichTextEditingMutation']['id'])return;const _0x5a939a=_0x295094[_0x3bd51d(0x2e8)];if((_0x5a939a==null?void 0x0:_0x5a939a[_0x3bd51d(0x40c)])!==this[_0x3bd51d(0x1bb)])return;const _0x50ba45=_0x295094,_0xadc55f=this[_0x3bd51d(0x3d5)]['interceptor']['fetchThroughInterceptors'](this[_0x3bd51d(0x3d5)][_0x3bd51d(0x3bb)]['getInterceptPoints']()[_0x3bd51d(0x1a7)])([_0x50ba45],null)||[_0x50ba45];this[_0x3bd51d(0x11d)](_0xadc55f[0x0]);})),_0x111cb1;}},exports[_0x54341f(0x195)]=Be([j(0x3,a[_0x54341f(0x3f8)](a['Injector'])),j(0x4,a[_0x54341f(0x3f8)](p[_0x54341f(0x3a2)])),j(0x5,a[_0x54341f(0x3f8)](a[_0x54341f(0x30c)])),j(0x6,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),j(0x7,a[_0x54341f(0x3f8)](ee)),j(0x8,a[_0x54341f(0x21a)]),j(0x9,a['ICommandService']),j(0xa,a[_0x54341f(0x1fe)]),j(0xb,a[_0x54341f(0x368)](de)),j(0xc,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x195)]),exports[_0x54341f(0x290)]=class extends exports['CollaborationEntity']{constructor(_0x1441cd,_0x190795,_0x564238,_0x55010c,_0x5e07a5,_0x3f83c1,_0x3f4ac6,_0x20ee22,_0x2eea84,_0x7a6ce0,_0x3792bc,_0x32feb4,_0x1bfc21,_0x2ed60a){var _0x57aec1=_0x54341f;super(_0x1441cd,_0x564238,_0x190795,_0x55010c,_0x5e07a5,_0x3f83c1,_0x3f4ac6,_0x2eea84,_0x7a6ce0,_0x3792bc,_0x32feb4,_0x1bfc21,_0x2ed60a),this['unitID']=_0x1441cd,this['type']=_0x190795,this[_0x57aec1(0x3c4)]=_0x20ee22;}[_0x54341f(0xd6)](){var _0x2f0b07=_0x54341f;const _0x442950=super[_0x2f0b07(0xd6)]();return _0x442950['onTransformSelections']=_0x33ba8b=>this[_0x2f0b07(0x3c4)][_0x2f0b07(0x394)](_0x33ba8b),_0x442950;}async['_init'](){var _0x3bd266=_0x54341f;const _0x411677=await super[_0x3bd266(0x2b0)]();return this[_0x3bd266(0x38f)](this['_commandService'][_0x3bd266(0x2ee)]((_0x3edaad,_0x35d8c6)=>{var _0x15124d=_0x3bd266;if(_0x3edaad[_0x15124d(0x37a)]!==a[_0x15124d(0x1d2)][_0x15124d(0x2e6)]||_0x35d8c6!=null&&_0x35d8c6[_0x15124d(0x175)]||_0x35d8c6!=null&&_0x35d8c6[_0x15124d(0x17d)])return;const _0x2e8d0c=_0x3edaad[_0x15124d(0x2e8)];if((_0x2e8d0c==null?void 0x0:_0x2e8d0c[_0x15124d(0x40c)])!==this[_0x15124d(0x1bb)])return;const _0x23e786=_0x3edaad,_0x172448=this[_0x15124d(0x3d5)][_0x15124d(0x3bb)][_0x15124d(0x31b)](this[_0x15124d(0x3d5)]['interceptor']['getInterceptPoints']()[_0x15124d(0x1a7)])([_0x23e786],null)||[_0x23e786];this['_onLocalMutation'](_0x172448[0x0]);})),_0x411677;}},exports[_0x54341f(0x290)]=Be([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0x54341f(0x3f8)](p['CompressMutationService'])),j(0x5,a['Inject'](a[_0x54341f(0x30c)])),j(0x6,a[_0x54341f(0x3f8)](p['RevisionService'])),j(0x7,a[_0x54341f(0x3f8)](exports[_0x54341f(0x25a)])),j(0x8,a[_0x54341f(0x3f8)](ee)),j(0x9,a[_0x54341f(0x21a)]),j(0xa,a['ICommandService']),j(0xb,a[_0x54341f(0x1fe)]),j(0xc,a['Optional'](de)),j(0xd,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x290)]);const pt=a[_0x54341f(0x19d)](_0x54341f(0x12b));function mt(_0x4b8b38){var _0xc835be=_0x54341f,_0x188f4e,_0x10a18e,_0x42fee5,_0x38b9e8,_0x402b4d;const _0x49673f=_0x4b8b38[_0xc835be(0x11c)],_0x1087b8=JSON[_0xc835be(0x383)](_0x49673f);switch(_0x1087b8['cmd']){case W[_0xc835be(0x3c2)]:case W['HELLO']:{const _0xbf2bdc=_0x1087b8[_0xc835be(0x1d5)];return{..._0x1087b8,'data':_0xbf2bdc,'cmd':_0x1087b8['cmd']};}case W[_0xc835be(0x276)]:{const _0x529181=_0x1087b8[_0xc835be(0x261)];return{..._0x1087b8,'data':_0x529181,'cmd':_0x1087b8[_0xc835be(0x2a2)]};}case W['RECV']:{const _0x4cbe52=_0x1087b8[_0xc835be(0xbe)];switch(_0x4cbe52[_0xc835be(0x143)]){case p[_0xc835be(0x315)][_0xc835be(0x391)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x188f4e=_0x4cbe52[_0xc835be(0x1cb)])==null?void 0x0:_0x188f4e['cs']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x332)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x10a18e=_0x4cbe52[_0xc835be(0x1d8)])==null?void 0x0:_0x10a18e['cs']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x1f7)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x42fee5=_0x4cbe52[_0xc835be(0x121)])==null?void 0x0:_0x42fee5['cs']},'cmd':_0x1087b8['cmd']};case p[_0xc835be(0x315)][_0xc835be(0xfd)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x38b9e8=_0x4cbe52['csRejEvent'])==null?void 0x0:_0x38b9e8['cs']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x1d6)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x402b4d=_0x4cbe52[_0xc835be(0x1f0)])==null?void 0x0:_0x402b4d['cs']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)]['UPDATE_CURSOR']:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x409)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x2fe)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x2b3)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x34f)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52['leaveEvent']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x257)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p['CollaborationEvent'][_0xc835be(0x293)]:case p[_0xc835be(0x315)][_0xc835be(0x1fb)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52['liveShareOperation']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x200)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x257)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x1087b8,'data':_0x4cbe52,'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)]['COMMENT_UPDATE']:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x1ce)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x308)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52['updatePermissionObjEvent']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)]['SHOULD_CLOSE_CONN']:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x233)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x2a0)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52['uniscriptRunEvent']},'cmd':_0x1087b8['cmd']};default:return _0x1087b8;}}default:return _0x1087b8;}}function gt(_0x2464fb){var _0xa85622=_0x54341f;switch(_0x2464fb['cmd']){case W[_0xa85622(0x3c2)]:case W[_0xa85622(0x2fb)]:return JSON['stringify']({'cmd':_0x2464fb[_0xa85622(0x2a2)],'routeKey':_0x2464fb[_0xa85622(0x3f3)]});case W[_0xa85622(0x160)]:{let _0x3294f0;switch(_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x143)]){case p[_0xa85622(0x315)][_0xa85622(0x1af)]:{_0x3294f0={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p[_0xa85622(0x315)]['USERS_LEAVE']:{_0x3294f0={'eventID':p['CollaborationEvent'][_0xa85622(0x34f)],'leaveEvent':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p[_0xa85622(0x315)][_0xa85622(0x2fe)]:{_0x3294f0={'eventID':p[_0xa85622(0x315)][_0xa85622(0x2fe)],'joinEvent':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p[_0xa85622(0x315)][_0xa85622(0x26b)]:{_0x3294f0={'eventID':p[_0xa85622(0x315)][_0xa85622(0x26b)],'liveShareNewHost':_0x2464fb['data']['data']};break;}case p['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x3294f0={'eventID':p['CollaborationEvent'][_0xa85622(0x1fb)],'liveShareOperation':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p['CollaborationEvent'][_0xa85622(0x200)]:{_0x3294f0={'eventID':p[_0xa85622(0x315)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2464fb[_0xa85622(0x11c)]['data']};break;}case p[_0xa85622(0x315)]['LIVESHARE_REQUEST_HOST']:{_0x3294f0={'eventID':p['CollaborationEvent'][_0xa85622(0x342)],'liveShareRequestHost':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p[_0xa85622(0x315)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3294f0={'eventID':p[_0xa85622(0x315)][_0xa85622(0x293)]};break;}default:_0x3294f0={'eventID':_0x2464fb['data'][_0xa85622(0x143)]};}return JSON[_0xa85622(0x3ef)]({'cmd':_0x2464fb[_0xa85622(0x2a2)],'routeKey':_0x2464fb[_0xa85622(0x3f3)],'collaMsg':_0x3294f0});}case W[_0xa85622(0x276)]:return JSON[_0xa85622(0x3ef)]({'cmd':_0x2464fb[_0xa85622(0x2a2)],'routeKey':_0x2464fb[_0xa85622(0x3f3)],'joinReq':_0x2464fb['data']});case W['LEAVE']:return JSON[_0xa85622(0x3ef)]({'cmd':_0x2464fb[_0xa85622(0x2a2)],'routeKey':_0x2464fb['routeKey'],'leaveReq':_0x2464fb[_0xa85622(0x11c)]});default:throw new Error(_0xa85622(0x32c));}}var ri=Object[_0x54341f(0x2d4)],si=(_0x10ad15,_0x2ea8ed,_0x33de4c,_0x17bebb)=>{var _0x13b5c3=_0x54341f;for(var _0x39be28=_0x17bebb>0x1?void 0x0:_0x17bebb?ri(_0x2ea8ed,_0x33de4c):_0x2ea8ed,_0x2aec41=_0x10ad15[_0x13b5c3(0x1e8)]-0x1,_0x256065;_0x2aec41>=0x0;_0x2aec41--)(_0x256065=_0x10ad15[_0x2aec41])&&(_0x39be28=_0x256065(_0x39be28)||_0x39be28);return _0x39be28;},_e=(_0x318908,_0x448597)=>(_0x1fe485,_0x8b5082)=>_0x448597(_0x1fe485,_0x8b5082,_0x318908);const Fe=a[_0x54341f(0x19d)](_0x54341f(0x33d));function oi(_0x585be5,_0x2efd6d,_0x4da7c6){var _0x482804=_0x54341f;return _0x585be5+'/'+_0x2efd6d+_0x482804(0x360)+_0x4da7c6+_0x482804(0xe9);}exports[_0x54341f(0x21b)]=class extends a[_0x54341f(0x382)]{constructor(_0x3d0979,_0x4e491e,_0xcab606,_0xaa2083,_0x4ea145){var _0xddebc2=_0x54341f;super(),this[_0xddebc2(0x3a1)]=_0x3d0979,this['_httpService']=_0x4e491e,this[_0xddebc2(0x285)]=_0xcab606,this[_0xddebc2(0x1dc)]=_0xaa2083,this[_0xddebc2(0x18c)]=_0x4ea145;}[_0x54341f(0x3b9)](_0x37d32c){var _0x226ebe=_0x54341f;const _0xb98dd2=this['_injector'][_0x226ebe(0x345)](q[_0x226ebe(0x403)]);if(!_0xb98dd2)throw new Error(_0x226ebe(0x3d9));const _0x2bee93=_0xb98dd2[_0x226ebe(0x1bd)](_0x37d32c);if(!_0x2bee93)throw new Error(_0x226ebe(0x20a));const _0x546646=new a[(_0x226ebe(0x39a))](),_0x34e1c7=new H[(_0x226ebe(0x1f5))]();_0x546646[_0x226ebe(0x29e)](_0x2bee93[_0x226ebe(0x33a)][_0x226ebe(0x3b5)](_0x1cd639=>_0x34e1c7[_0x226ebe(0x23b)](_0x1cd639))),_0x546646[_0x226ebe(0x29e)](a[_0x226ebe(0x1ff)](()=>_0x34e1c7[_0x226ebe(0xf2)]()));const _0x4d344d=new H['Subject']();_0x546646[_0x226ebe(0x29e)](_0x2bee93[_0x226ebe(0x172)][_0x226ebe(0x3b5)](_0x3fad66=>_0x4d344d[_0x226ebe(0x23b)](_0x3fad66))),_0x546646[_0x226ebe(0x29e)](a[_0x226ebe(0x1ff)](()=>_0x4d344d['complete']()));const _0xc5805a=new H['Subject']();_0x546646[_0x226ebe(0x29e)](_0x2bee93[_0x226ebe(0x32f)]['subscribe'](_0x2ec691=>{var _0x264f63=_0x226ebe;const _0x785e1b=mt(_0x2ec691);_0xc5805a[_0x264f63(0x23b)](_0x785e1b);})),_0x546646[_0x226ebe(0x29e)](a['toDisposable'](()=>_0xc5805a['complete']()));let _0x45319b;const _0x3a95c8=()=>{var _0x484ca2=_0x226ebe;_0x4d344d[_0x484ca2(0x23b)](new Event(_0x484ca2(0x3a5))),_0x34e1c7['next'](new Event('connection\x20error')),_0x45319b[_0x484ca2(0xdf)]();};return _0x45319b={'memberID':'','close$':_0x34e1c7[_0x226ebe(0x131)](),'error$':_0x4d344d['asObservable'](),'open$':_0x2bee93['open$'],'message$':_0xc5805a[_0x226ebe(0x131)](),'send':_0x1abf59=>{var _0x3ed88d=_0x226ebe;if(_0x1abf59[_0x3ed88d(0x2a2)]===W[_0x3ed88d(0x160)]){if(_0x1abf59[_0x3ed88d(0x11c)]['eventID']===p[_0x3ed88d(0x315)][_0x3ed88d(0x176)]){this[_0x3ed88d(0x328)](_0x45319b,_0x1abf59[_0x3ed88d(0x11c)])[_0x3ed88d(0x33b)](_0x394002=>{var _0x2ef80d=_0x3ed88d;this[_0x2ef80d(0x1dc)][_0x2ef80d(0x146)](_0x394002),_0x3a95c8();});return;}if(_0x1abf59['data'][_0x3ed88d(0x143)]===p[_0x3ed88d(0x315)]['FETCH_MISSING']){const _0x1bff0a=_0x1abf59['data'];this[_0x3ed88d(0x41d)](_0x1bff0a)[_0x3ed88d(0x407)](_0x323d2a=>{var _0x46d772=_0x3ed88d;_0xc5805a[_0x46d772(0x23b)]({'cmd':W[_0x46d772(0x27b)],'code':se['OK'],'routeKey':_0x1bff0a[_0x46d772(0x11c)][_0x46d772(0x1bb)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x46d772(0x227)],'data':{'changesets':_0x323d2a}}});})[_0x3ed88d(0x33b)](_0x467c3e=>{var _0x4a9648=_0x3ed88d;this[_0x4a9648(0x1dc)][_0x4a9648(0x146)](_0x467c3e),_0x3a95c8();});return;}}_0x2bee93['send'](gt(_0x1abf59));},'close':()=>{var _0x6cc8f8=_0x226ebe;_0x2bee93[_0x6cc8f8(0xdf)](),_0x546646[_0x6cc8f8(0xbc)]();}},_0x45319b;}async['_submitChangeset'](_0x11a3fb,_0x5c7711){var _0x454f2f=_0x54341f,_0x47ad3f;const {unitType:_0x457c07,unitID:_0x4da5dc,changeset:_0x4e4299}=_0x5c7711[_0x454f2f(0x11c)],_0x361709={'unitID':_0x4da5dc,'memberID':_0x11a3fb[_0x454f2f(0x420)],'type':_0x457c07,'changeset':p[_0x454f2f(0x115)](_0x4e4299)},_0x5aa0a8=this[_0x454f2f(0x285)]['getConfig'](Y),_0x595859=oi((_0x47ad3f=_0x5aa0a8==null?void 0x0:_0x5aa0a8[_0x454f2f(0x230)])!=null?_0x47ad3f:kt,_0x457c07,_0x4da5dc);try{await this['_httpService'][_0x454f2f(0x350)](_0x595859,{'body':_0x361709});}catch(_0x1d680c){throw this[_0x454f2f(0x1dc)]['error'](_0x454f2f(0x2d9),_0x454f2f(0x3d4)),_0x1d680c;}}async['_fetchMissChangesets'](_0x708cad){var _0x2f23a8=_0x54341f;const {unitID:_0x3ae372,from:_0x1cabe6,to:_0x22363c,unitType:_0x51d362}=_0x708cad[_0x2f23a8(0x11c)];return(await this[_0x2f23a8(0x18c)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3ae372,'type':_0x51d362,'from':_0x1cabe6,'to':_0x22363c}))[_0x2f23a8(0x3e2)];}},exports[_0x54341f(0x21b)]=si([_e(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),_e(0x1,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)])),_e(0x2,a[_0x54341f(0x370)]),_e(0x3,a[_0x54341f(0x21a)]),_e(0x4,p[_0x54341f(0x13c)])],exports[_0x54341f(0x21b)]);var ai=Object[_0x54341f(0x2d4)],ci=(_0x5f2e33,_0x14f9b6,_0x58dd27,_0x1d37e5)=>{var _0x4a0460=_0x54341f;for(var _0xa074cc=_0x1d37e5>0x1?void 0x0:_0x1d37e5?ai(_0x14f9b6,_0x58dd27):_0x14f9b6,_0x4b01cf=_0x5f2e33[_0x4a0460(0x1e8)]-0x1,_0x21129b;_0x4b01cf>=0x0;_0x4b01cf--)(_0x21129b=_0x5f2e33[_0x4b01cf])&&(_0xa074cc=_0x21129b(_0xa074cc)||_0xa074cc);return _0xa074cc;},he=(_0x16e15a,_0x136226)=>(_0x1dd2d6,_0x5aaf0f)=>_0x136226(_0x1dd2d6,_0x5aaf0f,_0x16e15a);exports[_0x54341f(0xcf)]=class extends a[_0x54341f(0x382)]{constructor(_0x3fc4f5,_0x8d816f,_0x2c5c42,_0x1ad2cd,_0x3dd3d2,_0x1df8ba){var _0x262e01=_0x54341f;super(),A(this,_0x262e01(0x291),new H[(_0x262e01(0x190))](void 0x0)),A(this,_0x262e01(0x358),this[_0x262e01(0x291)][_0x262e01(0x131)]()),A(this,_0x262e01(0x248),null),A(this,_0x262e01(0x2a8),new Map()),A(this,_0x262e01(0x35c),new H[(_0x262e01(0x190))](re[_0x262e01(0x352)])),A(this,_0x262e01(0x32a),this['_status$'][_0x262e01(0x131)]()),A(this,_0x262e01(0x1a2),!0x1),A(this,'_retryConnectingTimer'),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x262e01(0x270)),(this[_0x262e01(0x3a1)]=_0x3fc4f5,this[_0x262e01(0x1dc)]=_0x8d816f,this[_0x262e01(0x285)]=_0x2c5c42,this[_0x262e01(0x35b)]=_0x1ad2cd,this[_0x262e01(0xd0)]=_0x3dd3d2,this[_0x262e01(0x28d)]=_0x1df8ba,this[_0x262e01(0x104)]());}get['_socket'](){var _0x1e3bc6=_0x54341f;return this[_0x1e3bc6(0x291)]['getValue']();}[_0x54341f(0x104)](){var _0x31ddf5=_0x54341f;this['_networkConditionService']&&this[_0x31ddf5(0x38f)](this[_0x31ddf5(0x28d)][_0x31ddf5(0x3da)][_0x31ddf5(0x3b5)](_0x4bafe7=>{var _0x388d11=_0x31ddf5;_0x4bafe7&&!this[_0x388d11(0xd2)]&&this['reconnect'](),_0x4bafe7||this[_0x388d11(0x2e4)]();}));}[_0x54341f(0xbc)](){var _0x1ca3cd=_0x54341f;super[_0x1ca3cd(0xbc)](),this[_0x1ca3cd(0x196)](),this['_clearTimeoutTimer'](),this[_0x1ca3cd(0x2d7)](),this[_0x1ca3cd(0x2a8)][_0x1ca3cd(0x30a)](_0xc855ec=>_0xc855ec[_0x1ca3cd(0xbc)]()),this[_0x1ca3cd(0x2a8)][_0x1ca3cd(0x309)](),this['_status$']['complete']();}async[_0x54341f(0x2ab)](_0x4b5e03){var _0x3a5976=_0x54341f;if(this[_0x3a5976(0x2a8)][_0x3a5976(0x357)](_0x4b5e03))return this[_0x3a5976(0x2a8)][_0x3a5976(0x345)](_0x4b5e03);this[_0x3a5976(0x136)]();const _0x203908=this[_0x3a5976(0x3a1)][_0x3a5976(0x228)](exports[_0x3a5976(0xd9)],_0x4b5e03,this[_0x3a5976(0x291)][_0x3a5976(0x131)]());return this[_0x3a5976(0x2a8)][_0x3a5976(0x2f5)](_0x4b5e03,_0x203908),_0x203908;}[_0x54341f(0x11f)](_0x224fc6){var _0x508a26=_0x54341f,_0x3ee10f;const _0x526e8e=this[_0x508a26(0x2a8)]['get'](_0x224fc6);_0x526e8e&&(this['_sessions'][_0x508a26(0x1f1)](_0x224fc6),_0x526e8e[_0x508a26(0xdf)]()),this['_sessions']['size']||(_0x3ee10f=this['_socket'])==null||_0x3ee10f['close']();}['reconnect'](){var _0x11c4ef=_0x54341f;this['_retryCount']=0x0,this[_0x11c4ef(0x196)](),this[_0x11c4ef(0x216)]();}[_0x54341f(0x196)](){var _0x41834e=_0x54341f;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x41834e(0x273)]),this[_0x41834e(0x273)]=null);}async[_0x54341f(0x2be)](){var _0x4cc5be=_0x54341f,_0x2d9371;const _0xc291c9=this['_configService']['getConfig'](Y),_0x34f10b=(_0x2d9371=_0xc291c9==null?void 0x0:_0xc291c9['collabWebSocketUrl'])!=null?_0x2d9371:ht,_0x374cb4=await this[_0x4cc5be(0x35b)]['createSocket'](_0x34f10b);return this[_0x4cc5be(0x248)]=_0x374cb4,_0x374cb4;}async[_0x54341f(0x136)](){var _0x4c4ec6=_0x54341f,_0x4bbb10,_0x492d12;try{const _0x3652be=(_0x492d12=(_0x4bbb10=this['_socket'])!=null?_0x4bbb10:this['_candidateSocket'])!=null?_0x492d12:await this['_createSocket']();if(_0x3652be){const _0x5c5e0e=_0x3652be[_0x4c4ec6(0x102)];_0x3652be['send']=_0x3576f6=>(this[_0x4c4ec6(0xfa)](),_0x5c5e0e[_0x4c4ec6(0x1ca)](_0x3652be,[_0x3576f6])),_0x3652be['message$']['subscribe'](_0x3e8519=>this[_0x4c4ec6(0x1c7)](_0x3652be,_0x3e8519)),_0x3652be['error$']['pipe'](V[_0x4c4ec6(0x106)](0x1))[_0x4c4ec6(0x3b5)](_0x4aeda4=>this['_logService'][_0x4c4ec6(0x146)](_0x4c4ec6(0x3fb),_0x4aeda4)),_0x3652be[_0x4c4ec6(0x1d7)][_0x4c4ec6(0x26d)](V[_0x4c4ec6(0x106)](0x1))[_0x4c4ec6(0x3b5)](()=>{var _0x1af30b=_0x4c4ec6;this[_0x1af30b(0x2c4)](_0x3652be);}),_0x3652be[_0x4c4ec6(0x33a)][_0x4c4ec6(0x26d)](V[_0x4c4ec6(0x106)](0x1))[_0x4c4ec6(0x3b5)](_0x5dfaa1=>{var _0x3045e5=_0x4c4ec6;this[_0x3045e5(0x1dc)]['debug']('[CollaborationSessionService]',_0x3045e5(0x361),_0x5dfaa1),this['_onConnectionFailed']();});}}catch(_0x24d6b0){this['_logService'][_0x4c4ec6(0x146)](_0x24d6b0),this['_onConnectionFailed']();}}[_0x54341f(0x2c4)](_0x2c9843){var _0x9d28bf=_0x54341f;this['_logService']['debug']('[CollaborationSessionService]',_0x9d28bf(0x36d)),_0x2c9843['send']({'cmd':W['HELLO']}),this[_0x9d28bf(0xfa)]();}[_0x54341f(0x2e4)](){var _0x1500fb=_0x54341f;this['_socketReady']=!0x1,this[_0x1500fb(0x248)]=null,this[_0x1500fb(0x35c)][_0x1500fb(0x23b)](re['OFFLINE']),this[_0x1500fb(0x291)]['next'](null),this[_0x1500fb(0xc8)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x551a70=_0x54341f,_0x6ed762;this[_0x551a70(0x2e4)](),this['_retryCount']<((_0x6ed762=this[_0x551a70(0x285)][_0x551a70(0x347)](ut))!=null?_0x6ed762:Mt)?(this[_0x551a70(0xd0)][_0x551a70(0x393)]({'id':Z[_0x551a70(0x112)]}),this[_0x551a70(0x216)]()):this['_collaborationUIEventService'][_0x551a70(0x393)]({'id':Z[_0x551a70(0x2ed)]});}[_0x54341f(0x216)](){var _0x421b52=_0x54341f,_0x389258;const _0x406ec4=this[_0x421b52(0x292)],_0x29aeba=this[_0x421b52(0x285)][_0x421b52(0x347)](Y),_0x37bb41=_0x406ec4===0x0?0x0:((_0x389258=_0x29aeba==null?void 0x0:_0x29aeba[_0x421b52(0x3bf)])!=null?_0x389258:wt)*0x2**_0x406ec4;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5acbd1=_0x421b52;clearTimeout(this[_0x5acbd1(0x273)]),this['_retryConnectingTimer']=null,this[_0x5acbd1(0x136)]();},_0x37bb41),this[_0x421b52(0x292)]+=0x1;}['_onMessage'](_0x1a8c7b,_0x2e2d6a){var _0x322dbf=_0x54341f;const {cmd:_0x386c7e}=_0x2e2d6a;_0x386c7e===W['HELLO']&&!this[_0x322dbf(0x1a2)]&&(_0x1a8c7b['memberID']=_0x2e2d6a[_0x322dbf(0x11c)][_0x322dbf(0x420)],this['_socket$'][_0x322dbf(0x23b)](_0x1a8c7b),this[_0x322dbf(0x35c)][_0x322dbf(0x23b)](re[_0x322dbf(0x137)]),this[_0x322dbf(0x1a2)]=!0x0,this[_0x322dbf(0x248)]=null),_0x386c7e===W[_0x322dbf(0x3c2)]&&this[_0x322dbf(0xc8)](),this[_0x322dbf(0xfa)]();}[_0x54341f(0xfa)](){var _0x14481b=_0x54341f,_0x4f367a;this[_0x14481b(0x2d7)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4f367a=this[_0x14481b(0x285)][_0x14481b(0x347)](_t))!=null?_0x4f367a:Pt);}[_0x54341f(0x1cf)](){var _0x5d4dde=_0x54341f;this['_socket']['send']({'cmd':W[_0x5d4dde(0x3c2)]}),this[_0x5d4dde(0x366)]();}[_0x54341f(0x366)](){var _0x498535=_0x54341f,_0x5d5e99;this[_0x498535(0x270)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5d5e99=this[_0x498535(0x285)]['getConfig'](ke))!=null?_0x5d5e99:lt);}[_0x54341f(0x2d7)](){var _0x590a55=_0x54341f;this[_0x590a55(0x10d)]!=null&&(clearTimeout(this[_0x590a55(0x10d)]),this[_0x590a55(0x10d)]=null);}[_0x54341f(0xc8)](){var _0x1d20d4=_0x54341f;this[_0x1d20d4(0x270)]!=null&&(clearTimeout(this[_0x1d20d4(0x270)]),this[_0x1d20d4(0x270)]=null);}},exports[_0x54341f(0xcf)]=ci([he(0x0,a[_0x54341f(0x3f8)](a['Injector'])),he(0x1,a[_0x54341f(0x21a)]),he(0x2,a['IConfigService']),he(0x3,Fe),he(0x4,a[_0x54341f(0x3f8)](ee)),he(0x5,a[_0x54341f(0x368)](pt))],exports[_0x54341f(0xcf)]);var hi=Object['getOwnPropertyDescriptor'],_i=(_0x5c2635,_0x407887,_0x498aa7,_0x14ca37)=>{var _0x4a5678=_0x54341f;for(var _0x379b71=_0x14ca37>0x1?void 0x0:_0x14ca37?hi(_0x407887,_0x498aa7):_0x407887,_0xda4b99=_0x5c2635[_0x4a5678(0x1e8)]-0x1,_0x1684e0;_0xda4b99>=0x0;_0xda4b99--)(_0x1684e0=_0x5c2635[_0xda4b99])&&(_0x379b71=_0x1684e0(_0x379b71)||_0x379b71);return _0x379b71;},Se=(_0x464129,_0x2b8ddf)=>(_0x15d8b2,_0x2335df)=>_0x2b8ddf(_0x15d8b2,_0x2335df,_0x464129);exports[_0x54341f(0x101)]=class extends a[_0x54341f(0x26a)]{constructor(_0x5a7e2f,_0x1de5ab,_0x5d2dd2,_0x20cd3b){var _0x307e5b=_0x54341f,_0x3a8dd5;super(),A(this,'_entities',new Map()),A(this,_0x307e5b(0x272),new H[(_0x307e5b(0x1f5))]()),A(this,_0x307e5b(0x1ac),this['_entityInit$'][_0x307e5b(0x131)]()),(this[_0x307e5b(0x3a1)]=_0x5a7e2f,this[_0x307e5b(0x1b8)]=_0x1de5ab,this[_0x307e5b(0x285)]=_0x5d2dd2,this[_0x307e5b(0x246)]=_0x20cd3b,((_0x3a8dd5=this['_configService'][_0x307e5b(0x347)](Y))==null?void 0x0:_0x3a8dd5['enableCollaboration'])!==!0x1&&this['_init']());}['dispose'](){var _0x24f831=_0x54341f;super['dispose'](),this['_entities'][_0x24f831(0x30a)](_0x3ed226=>_0x3ed226['dispose']()),this[_0x24f831(0x2b2)][_0x24f831(0x309)]();}[_0x54341f(0xae)](_0x2b9f1c){var _0x1f406e=_0x54341f,_0x3eccd0;return(_0x3eccd0=this[_0x1f406e(0x2b2)][_0x1f406e(0x345)](_0x2b9f1c))!=null?_0x3eccd0:null;}[_0x54341f(0x1aa)](_0x28d1ca){var _0x43d013=_0x54341f;const _0x229263=this[_0x43d013(0xae)](_0x28d1ca);return _0x229263?H['of'](_0x229263):this['_entityInit$'][_0x43d013(0x26d)](V[_0x43d013(0x219)](_0x77d06d=>_0x77d06d['unitID']===_0x28d1ca));}['readyForCollab'](_0xf81368){var _0x53054c=_0x54341f;return H[_0x53054c(0x1f2)](this['getCollabEntity$'](_0xf81368)['pipe'](V[_0x53054c(0x30f)](()=>{})));}['_init'](){var _0x3d2a5f=_0x54341f;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3d2a5f(0x410)][_0x3d2a5f(0x3ae)])[_0x3d2a5f(0x26d)](H[_0x3d2a5f(0x183)](this['dispose$']),V[_0x3d2a5f(0x159)](0x10))[_0x3d2a5f(0x3b5)](async _0x33e669=>{var _0x585823=_0x3d2a5f;const _0x4302cb=_0x33e669[_0x585823(0x1c4)](),_0x26553d=await this['_startCollaboration'](_0x4302cb,J[_0x585823(0x3ae)]);this[_0x585823(0x2b2)][_0x585823(0x2f5)](_0x4302cb,_0x26553d);}),this[_0x3d2a5f(0x246)][_0x3d2a5f(0xd3)](a[_0x3d2a5f(0x410)][_0x3d2a5f(0x254)])[_0x3d2a5f(0x26d)](H['takeUntil'](this[_0x3d2a5f(0x201)]),V[_0x3d2a5f(0x159)](0x10))[_0x3d2a5f(0x26d)](V[_0x3d2a5f(0x219)](_0x405a3c=>!_0x405a3c[_0x3d2a5f(0x1c4)]()[_0x3d2a5f(0x1c2)]('__')))['subscribe'](async _0x44813f=>{var _0x26bd75=_0x3d2a5f;const _0x51dbea=_0x44813f[_0x26bd75(0x1c4)](),_0x5bb09b=await this[_0x26bd75(0x223)](_0x51dbea,J[_0x26bd75(0x254)]);this['_entities'][_0x26bd75(0x2f5)](_0x51dbea,_0x5bb09b);}),H[_0x3d2a5f(0x303)](this[_0x3d2a5f(0x246)][_0x3d2a5f(0x30b)](a[_0x3d2a5f(0x410)][_0x3d2a5f(0x3ae)]),this[_0x3d2a5f(0x246)][_0x3d2a5f(0x30b)](a['UniverInstanceType'][_0x3d2a5f(0x254)]))[_0x3d2a5f(0x26d)](H['takeUntil'](this[_0x3d2a5f(0x201)]))[_0x3d2a5f(0x3b5)](_0x1cb352=>{var _0x2b450c=_0x3d2a5f;const _0x416dcf=_0x1cb352[_0x2b450c(0x1c4)](),_0x1d4f67=this[_0x2b450c(0x2b2)][_0x2b450c(0x345)](_0x416dcf);_0x1d4f67&&(_0x1d4f67[_0x2b450c(0xbc)](),this[_0x2b450c(0x2b2)][_0x2b450c(0x1f1)](_0x416dcf));});}async[_0x54341f(0x223)](_0x1414e5,_0x1594c2){var _0x456cd4=_0x54341f;const _0x48df58=await this[_0x456cd4(0x1b8)][_0x456cd4(0x2ab)](_0x1414e5),_0x426232=this[_0x456cd4(0x3a1)][_0x456cd4(0x228)](this[_0x456cd4(0x125)](_0x1594c2),_0x1414e5,_0x1594c2,_0x48df58);return await _0x426232[_0x456cd4(0x3b4)](),this['_entityInit$'][_0x456cd4(0x23b)](_0x426232),_0x426232;}[_0x54341f(0x125)](_0x5947fd){var _0x1697b0=_0x54341f;switch(_0x5947fd){case J[_0x1697b0(0x254)]:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports[_0x1697b0(0x290)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5947fd);}}},exports[_0x54341f(0x101)]=_i([Se(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),Se(0x1,a[_0x54341f(0x3f8)](exports[_0x54341f(0xcf)])),Se(0x2,a[_0x54341f(0x370)]),Se(0x3,a['IUniverInstanceService'])],exports[_0x54341f(0x101)]);var li=Object[_0x54341f(0x2d4)],ui=(_0x4ede86,_0x5020c0,_0x1266c4,_0x154419)=>{for(var _0x222987=_0x154419>0x1?void 0x0:_0x154419?li(_0x5020c0,_0x1266c4):_0x5020c0,_0x583c47=_0x4ede86['length']-0x1,_0x3ea28c;_0x583c47>=0x0;_0x583c47--)(_0x3ea28c=_0x4ede86[_0x583c47])&&(_0x222987=_0x3ea28c(_0x222987)||_0x222987);return _0x222987;},Ye=(_0x2963e7,_0x59631c)=>(_0x52dbcf,_0x45004e)=>_0x59631c(_0x52dbcf,_0x45004e,_0x2963e7);const di='DEFAULT_FILE_NAME',vi='Univer';let xe=class extends a[_0x54341f(0x382)]{constructor(_0x58f1e2,_0x21216d){var _0x23af15=_0x54341f;super(),this[_0x23af15(0x246)]=_0x58f1e2,this[_0x23af15(0x285)]=_0x21216d,this[_0x23af15(0x2b0)]();}[_0x54341f(0x2b0)](){var _0x2298b9=_0x54341f;this['disposeWithMe'](this[_0x2298b9(0x246)][_0x2298b9(0xb9)]['subscribe'](()=>{var _0x1c9096=_0x2298b9,_0x12b0df;const _0x1c77ae=this[_0x1c9096(0x246)][_0x1c9096(0x194)]();let _0x19138c=(_0x12b0df=this[_0x1c9096(0x285)][_0x1c9096(0x347)](di))!=null?_0x12b0df:vi;_0x1c77ae instanceof a['Workbook']&&(_0x19138c=_0x1c77ae[_0x1c9096(0x10c)]),document[_0x1c9096(0x28f)]=_0x19138c;}));}};xe=ui([Ye(0x0,a[_0x54341f(0x29b)]),Ye(0x1,a['IConfigService'])],xe);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x5da4c6,_0x457db3,_0x3e2c76,_0x5317a1)=>{var _0x21d815=_0x54341f;for(var _0x239ebb=_0x5317a1>0x1?void 0x0:_0x5317a1?Si(_0x457db3,_0x3e2c76):_0x457db3,_0x4d45ce=_0x5da4c6[_0x21d815(0x1e8)]-0x1,_0x35d3de;_0x4d45ce>=0x0;_0x4d45ce--)(_0x35d3de=_0x5da4c6[_0x4d45ce])&&(_0x239ebb=_0x35d3de(_0x239ebb)||_0x239ebb);return _0x239ebb;},Ae=(_0x5a99c3,_0x451525)=>(_0x1a14cf,_0x1fbc15)=>_0x451525(_0x1a14cf,_0x1fbc15,_0x5a99c3);let ye=class{constructor(_0xa7888,_0x332e19,_0x1fe21c){var _0x254320=_0x54341f;this[_0x254320(0x285)]=_0xa7888,this[_0x254320(0x132)]=_0x332e19,this[_0x254320(0x22d)]=_0x1fe21c,this[_0x254320(0x3b4)]();}[_0x54341f(0x3b4)](){var _0x4d1224=_0x54341f;this['_httpService'][_0x4d1224(0x237)]({'priority':0x1,'interceptor':(_0x45512f,_0x59e8f8)=>_0x59e8f8(_0x45512f)[_0x4d1224(0x26d)](H[_0x4d1224(0x401)](async _0x23118b=>{var _0x593e23=_0x4d1224;const _0x36f37f=_0x23118b;if(_0x36f37f[_0x593e23(0x2fc)]===0x191){if(typeof window>'u')throw new Error(_0x593e23(0x351));if(window['confirm'](this[_0x593e23(0x22d)]['t']('auth.needGotoLoginAlert'))){const _0x375cb0=window['encodeURIComponent'](window[_0x593e23(0x15c)]['href']);window[_0x593e23(0x15c)][_0x593e23(0x3df)]=this[_0x593e23(0x22b)]()+_0x593e23(0x2c7)+_0x375cb0;}}return _0x36f37f;}))});}[_0x54341f(0x22b)](){var _0x3ba159=_0x54341f,_0x113cf7;const _0x3e9839=this[_0x3ba159(0x285)][_0x3ba159(0x347)](Y);return(_0x113cf7=_0x3e9839==null?void 0x0:_0x3e9839[_0x3ba159(0xa6)])!=null?_0x113cf7:$t;}};ye=fi([Ae(0x0,a['IConfigService']),Ae(0x1,a['Inject'](q[_0x54341f(0x307)])),Ae(0x2,a[_0x54341f(0x3f8)](a[_0x54341f(0x30c)]))],ye);var Ii=Object[_0x54341f(0x2d4)],pi=(_0x3cebcb,_0x3a0b7d,_0x36a82d,_0x115b12)=>{var _0x269173=_0x54341f;for(var _0x443b00=_0x115b12>0x1?void 0x0:_0x115b12?Ii(_0x3a0b7d,_0x36a82d):_0x3a0b7d,_0x1d0b08=_0x3cebcb[_0x269173(0x1e8)]-0x1,_0x5d80a0;_0x1d0b08>=0x0;_0x1d0b08--)(_0x5d80a0=_0x3cebcb[_0x1d0b08])&&(_0x443b00=_0x5d80a0(_0x443b00)||_0x443b00);return _0x443b00;},qe=(_0x2cae8a,_0x5679ff)=>(_0x6fb24b,_0x337f91)=>_0x5679ff(_0x6fb24b,_0x337f91,_0x2cae8a);const mi=_0x54341f(0x34d);exports[_0x54341f(0x32e)]=class extends a[_0x54341f(0x382)]{constructor(_0x515fb3,_0x41c754){var _0x19e239=_0x54341f;super(),this[_0x19e239(0x2ac)]=_0x515fb3,this['_configService']=_0x41c754,this['_initMergeInterceptor']();}[_0x54341f(0xb6)](){var _0xe2a07a=_0x54341f;const _0x222027=this;this['disposeWithMe'](this[_0xe2a07a(0x2ac)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0xe2a07a(0x156)]({'isMatch'(_0x55030f){var _0x3036d9=_0xe2a07a,_0x3c76f0;if(_0x55030f[_0x3036d9(0x411)]===_0x3036d9(0x396)&&((_0x3c76f0=_0x55030f[_0x3036d9(0x192)])!=null&&_0x3c76f0[_0x3036d9(0x2ba)])){const {objectID:_0x1c2df9,objectType:_0x510a77}=_0x55030f[_0x3036d9(0x192)]['body']||{};if(!_0x1c2df9||_0x510a77===void 0x0)return!0x1;const _0x5a0d4d=_0x222027[_0x3036d9(0x3ad)]()+'/'+_0x510a77+'/object/'+_0x1c2df9+_0x3036d9(0x3ca);if(_0x55030f[_0x3036d9(0x3c9)]===_0x5a0d4d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x544ef4){var _0x170d26=_0xe2a07a,_0x266e3e;return(_0x266e3e=_0x544ef4[_0x170d26(0x192)])==null?void 0x0:_0x266e3e[_0x170d26(0x2ba)];},'mergeParamsToRequest'(_0x11187b,_0x492c6d){var _0x8bd672=_0xe2a07a;const _0x4af40c=_0x222027['_getAPIPrefixPath']()+_0x8bd672(0x2d0),_0x4f73eb=_0x11187b['reduce']((_0x49bc42,_0x1f0852)=>{var _0x5378c5=_0x8bd672;const {unitID:_0x368510,objectID:_0x26d9ee,objectType:_0x44c9d8,actions:_0x5f32a1}=_0x1f0852;return _0x49bc42[_0x368510]||(_0x49bc42[_0x368510]={}),_0x49bc42[_0x368510][_0x26d9ee]||(_0x49bc42[_0x368510][_0x26d9ee]={'objectID':_0x26d9ee,'objectType':_0x44c9d8,'actions':[]}),_0x49bc42[_0x368510][_0x26d9ee][_0x5378c5(0x316)]['push'](..._0x5f32a1),_0x49bc42;},{}),_0x338dff=[];for(const _0x4b7efd in _0x4f73eb)for(const _0x5476ad in _0x4f73eb[_0x4b7efd]){const {actions:_0x374773,objectType:_0x469b0f}=_0x4f73eb[_0x4b7efd][_0x5476ad],_0x307af8=[...new Set(_0x374773)];_0x338dff[_0x8bd672(0x16f)]({'unitID':_0x4b7efd,'objectID':_0x5476ad,'objectType':_0x469b0f,'actions':_0x307af8});}return new q['HTTPRequest'](_0x8bd672(0x396),_0x4af40c,{'headers':_0x492c6d['headers'],'withCredentials':_0x492c6d['withCredentials'],'responseType':_0x492c6d[_0x8bd672(0x3a0)],'body':{'requests':_0x338dff}});}},{'distributeResult'(_0x157a58,_0x40a00f){var _0x38fede=_0xe2a07a;const {objectActions:_0x251672}=_0x157a58;return _0x40a00f[_0x38fede(0x30f)](_0x15ade2=>{var _0x3183ea=_0x38fede;const {unitID:_0x46795b,objectID:_0x3f2f53,actions:_0x243ce9}=_0x15ade2,_0x4df23d=_0x251672['find'](_0x3d79b4=>_0x3d79b4['unitID']===_0x46795b&&_0x3d79b4[_0x3183ea(0x259)]===_0x3f2f53),_0x386c6c=_0x243ce9[_0x3183ea(0x30f)](_0x2a8ce6=>_0x4df23d==null?void 0x0:_0x4df23d[_0x3183ea(0x316)][_0x3183ea(0x10f)](_0x138ad4=>_0x138ad4[_0x3183ea(0x379)]===_0x2a8ce6))['filter'](_0x583c14=>!!_0x583c14);return{'config':_0x15ade2,'result':{'actions':_0x386c6c,'error':_0x157a58[_0x3183ea(0x146)]}};});}})}));}['_getAPIPrefixPath'](){var _0x543d84=_0x54341f,_0x46da22;const _0x358872=this[_0x543d84(0x285)][_0x543d84(0x347)](Y);return(_0x46da22=_0x358872==null?void 0x0:_0x358872[_0x543d84(0x2d1)])!=null?_0x46da22:mi;}async[_0x54341f(0x14c)](_0x11336f){var _0x2a22b5=_0x54341f;const _0x5770e0=this[_0x2a22b5(0x3ad)]()+'/'+_0x11336f[_0x2a22b5(0x224)]+_0x2a22b5(0xf3);return(await this['_HTTPService']['post'](_0x5770e0,{'body':_0x11336f}))['body'][_0x2a22b5(0x259)]||'';}async['list'](_0x2cca96){var _0x4e72f4=_0x54341f;const _0x517174=this[_0x4e72f4(0x3ad)]()+_0x4e72f4(0x1e3);return(await this[_0x4e72f4(0x2ac)][_0x4e72f4(0x350)](_0x517174,{'body':_0x2cca96}))[_0x4e72f4(0x2ba)][_0x4e72f4(0x3c3)];}async[_0x54341f(0x3fc)](_0x1c9656){var _0x24e0b7=_0x54341f,_0x3e9d75,_0x550205;const _0xae489f=this[_0x24e0b7(0x3ad)]()+'/'+_0x1c9656[_0x24e0b7(0x224)]+_0x24e0b7(0x1de)+_0x1c9656[_0x24e0b7(0x259)],_0x57dec5=await this[_0x24e0b7(0x2ac)]['put'](_0xae489f,{'body':_0x1c9656});if(((_0x550205=(_0x3e9d75=_0x57dec5==null?void 0x0:_0x57dec5[_0x24e0b7(0x2ba)])==null?void 0x0:_0x3e9d75['error'])==null?void 0x0:_0x550205['code'])!==0x1)throw new Error(_0x24e0b7(0x3cb));}async[_0x54341f(0x27d)](_0x104ed4){var _0x15ce43=_0x54341f;const _0x3e9a86=this[_0x15ce43(0x3ad)]()+'/'+_0x104ed4[_0x15ce43(0x224)]+'/object/'+_0x104ed4[_0x15ce43(0x259)]+_0x15ce43(0x3ca);return(await this[_0x15ce43(0x2ac)][_0x15ce43(0x350)](_0x3e9a86,{'body':_0x104ed4}))['body'][_0x15ce43(0x316)];}async['batchAllowed'](_0x5130c4){var _0x37fd38=_0x54341f;const _0x2bd918=this[_0x37fd38(0x3ad)]()+_0x37fd38(0x2d0);return(await this[_0x37fd38(0x2ac)]['post'](_0x2bd918,{'body':{'requests':_0x5130c4}}))['body'][_0x37fd38(0x2b4)];}async['listRoles'](_0x360cea){var _0x1d5dcf=_0x54341f;const _0x556304=this[_0x1d5dcf(0x3ad)]()+'/'+_0x360cea['objectType']+'/role',_0xac8e6b=await this[_0x1d5dcf(0x2ac)][_0x1d5dcf(0x350)](_0x556304,{'body':_0x360cea});return{'roles':_0xac8e6b[_0x1d5dcf(0x2ba)][_0x1d5dcf(0x280)],'actions':_0xac8e6b[_0x1d5dcf(0x2ba)][_0x1d5dcf(0x316)]};}async[_0x54341f(0x1e4)](_0x1a5d62){var _0x1e6c70=_0x54341f;const _0x3de42a=this['_getAPIPrefixPath']()+_0x1e6c70(0x265);await this['_HTTPService'][_0x1e6c70(0x1f1)](_0x3de42a,{'params':{'collaboratorID':_0x1a5d62[_0x1e6c70(0x398)],'objectID':_0x1a5d62['objectID'],'unitID':_0x1a5d62[_0x1e6c70(0x1bb)]}});}async[_0x54341f(0xd7)](_0x231d08){var _0x28b691=_0x54341f;const _0x2df3b9=this[_0x28b691(0x3ad)]()+_0x28b691(0x265);await this[_0x28b691(0x2ac)][_0x28b691(0x29a)](_0x2df3b9,{'body':_0x231d08});}async['createCollaborator'](_0xd1de7e){var _0x3e2d0b=_0x54341f;const _0xfbbd2d=this['_getAPIPrefixPath']()+_0x3e2d0b(0x265);await this[_0x3e2d0b(0x2ac)][_0x3e2d0b(0x350)](_0xfbbd2d,{'body':_0xd1de7e});}async[_0x54341f(0x39f)](_0x103264){var _0x237ed7=_0x54341f;const _0x11fd0c=this[_0x237ed7(0x3ad)]()+'/collaborator';return(await this[_0x237ed7(0x2ac)][_0x237ed7(0x345)](_0x11fd0c,{'params':{'objectID':_0x103264[_0x237ed7(0x259)],'unitID':_0x103264[_0x237ed7(0x1bb)]}}))[_0x237ed7(0x2ba)]['collaborators'];}async[_0x54341f(0x3e7)](_0xfdc113){var _0x2aed0b=_0x54341f;const _0x2ec6b0=this[_0x2aed0b(0x3ad)]()+_0x2aed0b(0x265);await this[_0x2aed0b(0x2ac)][_0x2aed0b(0x41b)](_0x2ec6b0,{'body':_0xfdc113});}},exports[_0x54341f(0x32e)]=pi([qe(0x0,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)])),qe(0x1,a[_0x54341f(0x3f8)](a[_0x54341f(0x370)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x5beb5a){var _0x3834c1=_0x54341f;return _0x5beb5a&&_0x5beb5a['__esModule']&&Object[_0x3834c1(0x28a)][_0x3834c1(0x1cd)]['call'](_0x5beb5a,_0x3834c1(0x1ad))?_0x5beb5a[_0x3834c1(0x1ad)]:_0x5beb5a;}var fe={'exports':{}};function gi(_0x57b069){var _0x3c9ad0=_0x54341f;throw new Error(_0x3c9ad0(0x2e1)+_0x57b069+_0x3c9ad0(0x338));}var Ie={'exports':{}},Ei=Ie[_0x54341f(0x2d2)],Ke;function Q(){var _0x4b66b7=_0x54341f;return Ke||(Ke=0x1,function(_0x1e261f,_0x3bee78){(function(_0x3aa731,_0x107f68){var _0x2e867c=_0x2020;_0x1e261f[_0x2e867c(0x2d2)]=_0x107f68();}(Ei,function(){var _0x493c6a=_0x493c6a||function(_0x36e6af,_0x115a7a){var _0x3191d9=_0x2020,_0x319c82;if(typeof window<'u'&&window['crypto']&&(_0x319c82=window[_0x3191d9(0x14a)]),typeof self<'u'&&self[_0x3191d9(0x14a)]&&(_0x319c82=self[_0x3191d9(0x14a)]),typeof globalThis<'u'&&globalThis[_0x3191d9(0x14a)]&&(_0x319c82=globalThis[_0x3191d9(0x14a)]),!_0x319c82&&typeof window<'u'&&window[_0x3191d9(0x247)]&&(_0x319c82=window[_0x3191d9(0x247)]),!_0x319c82&&typeof Pe<'u'&&Pe[_0x3191d9(0x14a)]&&(_0x319c82=Pe['crypto']),!_0x319c82&&typeof gi=='function')try{_0x319c82=require('crypto');}catch{}var _0x24654e=function(){var _0x383a48=_0x3191d9;if(_0x319c82){if(typeof _0x319c82[_0x383a48(0x3d7)]==_0x383a48(0x111))try{return _0x319c82[_0x383a48(0x3d7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x319c82[_0x383a48(0x3e3)]=='function')try{return _0x319c82[_0x383a48(0x3e3)](0x4)[_0x383a48(0x3cf)]();}catch{}}throw new Error(_0x383a48(0xed));},_0xb10703=Object[_0x3191d9(0x14c)]||(function(){function _0x28446e(){}return function(_0x224ad4){var _0x301d8=_0x2020,_0x979347;return _0x28446e[_0x301d8(0x28a)]=_0x224ad4,_0x979347=new _0x28446e(),_0x28446e[_0x301d8(0x28a)]=null,_0x979347;};}()),_0xa73612={},_0x3301b8=_0xa73612[_0x3191d9(0x13e)]={},_0x3d1974=_0x3301b8[_0x3191d9(0x286)]=(function(){return{'extend':function(_0x27a922){var _0x167144=_0x2020,_0x4233b7=_0xb10703(this);return _0x27a922&&_0x4233b7[_0x167144(0x284)](_0x27a922),(!_0x4233b7['hasOwnProperty'](_0x167144(0x3b4))||this[_0x167144(0x3b4)]===_0x4233b7[_0x167144(0x3b4)])&&(_0x4233b7[_0x167144(0x3b4)]=function(){var _0x51cc64=_0x167144;_0x4233b7['$super'][_0x51cc64(0x3b4)][_0x51cc64(0x1ca)](this,arguments);}),_0x4233b7[_0x167144(0x3b4)]['prototype']=_0x4233b7,_0x4233b7[_0x167144(0x27e)]=this,_0x4233b7;},'create':function(){var _0x633765=_0x2020,_0x26708f=this['extend']();return _0x26708f[_0x633765(0x3b4)]['apply'](_0x26708f,arguments),_0x26708f;},'init':function(){},'mixIn':function(_0x19ec8f){var _0x37b12c=_0x2020;for(var _0x845f3b in _0x19ec8f)_0x19ec8f['hasOwnProperty'](_0x845f3b)&&(this[_0x845f3b]=_0x19ec8f[_0x845f3b]);_0x19ec8f['hasOwnProperty'](_0x37b12c(0x202))&&(this[_0x37b12c(0x202)]=_0x19ec8f[_0x37b12c(0x202)]);},'clone':function(){var _0x4a0ecb=_0x2020;return this[_0x4a0ecb(0x3b4)][_0x4a0ecb(0x28a)][_0x4a0ecb(0x419)](this);}};}()),_0x732114=_0x3301b8[_0x3191d9(0xde)]=_0x3d1974[_0x3191d9(0x419)]({'init':function(_0x40d8f7,_0x1b746a){var _0x3c86d5=_0x3191d9;_0x40d8f7=this[_0x3c86d5(0x236)]=_0x40d8f7||[],_0x1b746a!=_0x115a7a?this[_0x3c86d5(0x2af)]=_0x1b746a:this[_0x3c86d5(0x2af)]=_0x40d8f7['length']*0x4;},'toString':function(_0x53b2cf){var _0x36d0a6=_0x3191d9;return(_0x53b2cf||_0x2f9902)[_0x36d0a6(0x3ef)](this);},'concat':function(_0xabe5f7){var _0x4c4317=_0x3191d9,_0x4ffadc=this[_0x4c4317(0x236)],_0x4bbd3d=_0xabe5f7[_0x4c4317(0x236)],_0x1a79c4=this[_0x4c4317(0x2af)],_0x1a6d64=_0xabe5f7['sigBytes'];if(this[_0x4c4317(0x34c)](),_0x1a79c4%0x4)for(var _0x3af4c3=0x0;_0x3af4c3<_0x1a6d64;_0x3af4c3++){var _0x189966=_0x4bbd3d[_0x3af4c3>>>0x2]>>>0x18-_0x3af4c3%0x4*0x8&0xff;_0x4ffadc[_0x1a79c4+_0x3af4c3>>>0x2]|=_0x189966<<0x18-(_0x1a79c4+_0x3af4c3)%0x4*0x8;}else{for(var _0x5cae92=0x0;_0x5cae92<_0x1a6d64;_0x5cae92+=0x4)_0x4ffadc[_0x1a79c4+_0x5cae92>>>0x2]=_0x4bbd3d[_0x5cae92>>>0x2];}return this[_0x4c4317(0x2af)]+=_0x1a6d64,this;},'clamp':function(){var _0x3a31ff=_0x3191d9,_0x3263f7=this['words'],_0x2db59f=this[_0x3a31ff(0x2af)];_0x3263f7[_0x2db59f>>>0x2]&=0xffffffff<<0x20-_0x2db59f%0x4*0x8,_0x3263f7['length']=_0x36e6af[_0x3a31ff(0x412)](_0x2db59f/0x4);},'clone':function(){var _0x310a38=_0x3191d9,_0x3f05a3=_0x3d1974[_0x310a38(0x15a)]['call'](this);return _0x3f05a3['words']=this[_0x310a38(0x236)][_0x310a38(0x1c6)](0x0),_0x3f05a3;},'random':function(_0x55f81f){var _0x560dfa=_0x3191d9;for(var _0x503704=[],_0x3d15d3=0x0;_0x3d15d3<_0x55f81f;_0x3d15d3+=0x4)_0x503704[_0x560dfa(0x16f)](_0x24654e());return new _0x732114['init'](_0x503704,_0x55f81f);}}),_0x4aedbc=_0xa73612[_0x3191d9(0x226)]={},_0x2f9902=_0x4aedbc[_0x3191d9(0x164)]={'stringify':function(_0x1e5c93){var _0x57ea71=_0x3191d9;for(var _0x5f1bb3=_0x1e5c93[_0x57ea71(0x236)],_0x8d9c3f=_0x1e5c93[_0x57ea71(0x2af)],_0x42512f=[],_0x2a197a=0x0;_0x2a197a<_0x8d9c3f;_0x2a197a++){var _0x4b95cb=_0x5f1bb3[_0x2a197a>>>0x2]>>>0x18-_0x2a197a%0x4*0x8&0xff;_0x42512f['push']((_0x4b95cb>>>0x4)['toString'](0x10)),_0x42512f[_0x57ea71(0x16f)]((_0x4b95cb&0xf)[_0x57ea71(0x202)](0x10));}return _0x42512f[_0x57ea71(0x1bc)]('');},'parse':function(_0x36439d){var _0xeb652=_0x3191d9;for(var _0x4d1c5f=_0x36439d[_0xeb652(0x1e8)],_0x2e5517=[],_0x24e284=0x0;_0x24e284<_0x4d1c5f;_0x24e284+=0x2)_0x2e5517[_0x24e284>>>0x3]|=parseInt(_0x36439d[_0xeb652(0x31e)](_0x24e284,0x2),0x10)<<0x18-_0x24e284%0x8*0x4;return new _0x732114[(_0xeb652(0x3b4))](_0x2e5517,_0x4d1c5f/0x2);}},_0xc7886f=_0x4aedbc[_0x3191d9(0x25d)]={'stringify':function(_0x48f840){var _0xf51860=_0x3191d9;for(var _0x358220=_0x48f840[_0xf51860(0x236)],_0x3d7ce8=_0x48f840['sigBytes'],_0x1131a9=[],_0x423b8e=0x0;_0x423b8e<_0x3d7ce8;_0x423b8e++){var _0x27c512=_0x358220[_0x423b8e>>>0x2]>>>0x18-_0x423b8e%0x4*0x8&0xff;_0x1131a9[_0xf51860(0x16f)](String['fromCharCode'](_0x27c512));}return _0x1131a9[_0xf51860(0x1bc)]('');},'parse':function(_0xc7de21){var _0x52c690=_0x3191d9;for(var _0x30e11b=_0xc7de21[_0x52c690(0x1e8)],_0x529474=[],_0x2fb351=0x0;_0x2fb351<_0x30e11b;_0x2fb351++)_0x529474[_0x2fb351>>>0x2]|=(_0xc7de21[_0x52c690(0x1ee)](_0x2fb351)&0xff)<<0x18-_0x2fb351%0x4*0x8;return new _0x732114[(_0x52c690(0x3b4))](_0x529474,_0x30e11b);}},_0x5dbad5=_0x4aedbc['Utf8']={'stringify':function(_0x3498b4){var _0x556e7c=_0x3191d9;try{return decodeURIComponent(escape(_0xc7886f[_0x556e7c(0x3ef)](_0x3498b4)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x49308d){var _0x11223c=_0x3191d9;return _0xc7886f[_0x11223c(0x383)](unescape(encodeURIComponent(_0x49308d)));}},_0x4c8e00=_0x3301b8[_0x3191d9(0x41c)]=_0x3d1974[_0x3191d9(0x419)]({'reset':function(){var _0x14e109=_0x3191d9;this[_0x14e109(0xb2)]=new _0x732114[(_0x14e109(0x3b4))](),this[_0x14e109(0x2df)]=0x0;},'_append':function(_0x235328){var _0x585f8b=_0x3191d9;typeof _0x235328==_0x585f8b(0xfb)&&(_0x235328=_0x5dbad5[_0x585f8b(0x383)](_0x235328)),this['_data'][_0x585f8b(0x2e2)](_0x235328),this[_0x585f8b(0x2df)]+=_0x235328[_0x585f8b(0x2af)];},'_process':function(_0x464d7b){var _0x51c91a=_0x3191d9,_0x5102a9,_0x14f291=this[_0x51c91a(0xb2)],_0x389160=_0x14f291[_0x51c91a(0x236)],_0x50a728=_0x14f291[_0x51c91a(0x2af)],_0x553e8a=this[_0x51c91a(0x271)],_0x7cefc7=_0x553e8a*0x4,_0xde8e02=_0x50a728/_0x7cefc7;_0x464d7b?_0xde8e02=_0x36e6af['ceil'](_0xde8e02):_0xde8e02=_0x36e6af[_0x51c91a(0x283)]((_0xde8e02|0x0)-this[_0x51c91a(0x275)],0x0);var _0x3063b0=_0xde8e02*_0x553e8a,_0x5ba68c=_0x36e6af[_0x51c91a(0x148)](_0x3063b0*0x4,_0x50a728);if(_0x3063b0){for(var _0xef37b=0x0;_0xef37b<_0x3063b0;_0xef37b+=_0x553e8a)this[_0x51c91a(0x2cd)](_0x389160,_0xef37b);_0x5102a9=_0x389160[_0x51c91a(0x2cb)](0x0,_0x3063b0),_0x14f291[_0x51c91a(0x2af)]-=_0x5ba68c;}return new _0x732114[(_0x51c91a(0x3b4))](_0x5102a9,_0x5ba68c);},'clone':function(){var _0x33114a=_0x3191d9,_0x5b8abf=_0x3d1974[_0x33114a(0x15a)]['call'](this);return _0x5b8abf[_0x33114a(0xb2)]=this[_0x33114a(0xb2)][_0x33114a(0x15a)](),_0x5b8abf;},'_minBufferSize':0x0});_0x3301b8['Hasher']=_0x4c8e00['extend']({'cfg':_0x3d1974[_0x3191d9(0x419)](),'init':function(_0xf28a9e){var _0x422bea=_0x3191d9;this[_0x422bea(0x251)]=this['cfg'][_0x422bea(0x419)](_0xf28a9e),this['reset']();},'reset':function(){var _0x5c5033=_0x3191d9;_0x4c8e00[_0x5c5033(0x37e)][_0x5c5033(0x2c9)](this),this[_0x5c5033(0x12c)]();},'update':function(_0x2a97b8){var _0x10fb5c=_0x3191d9;return this[_0x10fb5c(0x10b)](_0x2a97b8),this[_0x10fb5c(0x18b)](),this;},'finalize':function(_0x348ae8){var _0x91dd95=_0x3191d9;_0x348ae8&&this[_0x91dd95(0x10b)](_0x348ae8);var _0x8584d2=this['_doFinalize']();return _0x8584d2;},'blockSize':0x10,'_createHelper':function(_0x218556){return function(_0x441746,_0x1a50a9){var _0x4a19c9=_0x2020;return new _0x218556[(_0x4a19c9(0x3b4))](_0x1a50a9)[_0x4a19c9(0x30e)](_0x441746);};},'_createHmacHelper':function(_0x34f61f){return function(_0x23b054,_0x5a37dc){var _0x22e4e1=_0x2020;return new _0x21583b[(_0x22e4e1(0x229))][(_0x22e4e1(0x3b4))](_0x34f61f,_0x5a37dc)['finalize'](_0x23b054);};}});var _0x21583b=_0xa73612[_0x3191d9(0x2c3)]={};return _0xa73612;}(Math);return _0x493c6a;}));}(Ie)),Ie[_0x4b66b7(0x2d2)];}var pe={'exports':{}},Ci=pe['exports'],ze;function Et(){var _0x43ac96=_0x54341f;return ze||(ze=0x1,function(_0x54bd06,_0x81c97c){(function(_0x3787d1,_0x4ce8bd){_0x54bd06['exports']=_0x4ce8bd(Q());}(Ci,function(_0x510775){var _0x5eb57f=_0x2020;return(function(){var _0x4e99b6=_0x2020,_0x19035b=_0x510775,_0x49b1c5=_0x19035b[_0x4e99b6(0x13e)],_0x19c805=_0x49b1c5['WordArray'],_0x1650b6=_0x19035b[_0x4e99b6(0x226)];_0x1650b6[_0x4e99b6(0x320)]={'stringify':function(_0x345d70){var _0x4f6ddc=_0x4e99b6,_0x2545f7=_0x345d70[_0x4f6ddc(0x236)],_0x2ea523=_0x345d70[_0x4f6ddc(0x2af)],_0x3e7ce3=this['_map'];_0x345d70[_0x4f6ddc(0x34c)]();for(var _0x1f0dc3=[],_0x4572e=0x0;_0x4572e<_0x2ea523;_0x4572e+=0x3)for(var _0x2b941b=_0x2545f7[_0x4572e>>>0x2]>>>0x18-_0x4572e%0x4*0x8&0xff,_0x2c8271=_0x2545f7[_0x4572e+0x1>>>0x2]>>>0x18-(_0x4572e+0x1)%0x4*0x8&0xff,_0x409c2c=_0x2545f7[_0x4572e+0x2>>>0x2]>>>0x18-(_0x4572e+0x2)%0x4*0x8&0xff,_0x312e26=_0x2b941b<<0x10|_0x2c8271<<0x8|_0x409c2c,_0x2e6ab7=0x0;_0x2e6ab7<0x4&&_0x4572e+_0x2e6ab7*0.75<_0x2ea523;_0x2e6ab7++)_0x1f0dc3[_0x4f6ddc(0x16f)](_0x3e7ce3[_0x4f6ddc(0x324)](_0x312e26>>>0x6*(0x3-_0x2e6ab7)&0x3f));var _0x576f3e=_0x3e7ce3['charAt'](0x40);if(_0x576f3e){for(;_0x1f0dc3['length']%0x4;)_0x1f0dc3['push'](_0x576f3e);}return _0x1f0dc3[_0x4f6ddc(0x1bc)]('');},'parse':function(_0x30b7c4){var _0x5e9101=_0x4e99b6,_0x238a5d=_0x30b7c4[_0x5e9101(0x1e8)],_0x2d8883=this['_map'],_0x362ff8=this['_reverseMap'];if(!_0x362ff8){_0x362ff8=this[_0x5e9101(0xac)]=[];for(var _0x467372=0x0;_0x467372<_0x2d8883[_0x5e9101(0x1e8)];_0x467372++)_0x362ff8[_0x2d8883[_0x5e9101(0x1ee)](_0x467372)]=_0x467372;}var _0x351106=_0x2d8883['charAt'](0x40);if(_0x351106){var _0x586a6b=_0x30b7c4['indexOf'](_0x351106);_0x586a6b!==-0x1&&(_0x238a5d=_0x586a6b);}return _0x349c8e(_0x30b7c4,_0x238a5d,_0x362ff8);},'_map':_0x4e99b6(0x343)};function _0x349c8e(_0x52e073,_0x3eb9ff,_0x200e25){var _0x3799e7=_0x4e99b6;for(var _0x6c4bc4=[],_0x107fba=0x0,_0x2bdbd0=0x0;_0x2bdbd0<_0x3eb9ff;_0x2bdbd0++)if(_0x2bdbd0%0x4){var _0x38534f=_0x200e25[_0x52e073[_0x3799e7(0x1ee)](_0x2bdbd0-0x1)]<<_0x2bdbd0%0x4*0x2,_0x34f068=_0x200e25[_0x52e073['charCodeAt'](_0x2bdbd0)]>>>0x6-_0x2bdbd0%0x4*0x2,_0x16db86=_0x38534f|_0x34f068;_0x6c4bc4[_0x107fba>>>0x2]|=_0x16db86<<0x18-_0x107fba%0x4*0x8,_0x107fba++;}return _0x19c805[_0x3799e7(0x14c)](_0x6c4bc4,_0x107fba);}}()),_0x510775[_0x5eb57f(0x226)]['Base64'];}));}(pe)),pe[_0x43ac96(0x2d2)];}var me={'exports':{}},Ti=me[_0x54341f(0x2d2)],Je;function bi(){var _0x33a2d2=_0x54341f;return Je||(Je=0x1,function(_0x57e9d6,_0x59e4aa){(function(_0x3f9b23,_0x251065){_0x57e9d6['exports']=_0x251065(Q());}(Ti,function(_0x44943c){return function(_0x364b07){var _0x304bff=_0x2020,_0x2d9151=_0x44943c,_0xb12baa=_0x2d9151[_0x304bff(0x13e)],_0x5007fa=_0xb12baa[_0x304bff(0xde)],_0x447a6b=_0xb12baa[_0x304bff(0xbb)],_0x45a2c9=_0x2d9151[_0x304bff(0x2c3)],_0x5f468c=[];(function(){var _0x539cd6=_0x304bff;for(var _0x315677=0x0;_0x315677<0x40;_0x315677++)_0x5f468c[_0x315677]=_0x364b07[_0x539cd6(0x3a9)](_0x364b07[_0x539cd6(0xf9)](_0x315677+0x1))*0x100000000|0x0;}());var _0xccdbbc=_0x45a2c9[_0x304bff(0x19f)]=_0x447a6b[_0x304bff(0x419)]({'_doReset':function(){var _0x5724e5=_0x304bff;this['_hash']=new _0x5007fa[(_0x5724e5(0x3b4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2e0957,_0x40db5c){for(var _0x5a6d91=0x0;_0x5a6d91<0x10;_0x5a6d91++){var _0x2b6845=_0x40db5c+_0x5a6d91,_0x516d13=_0x2e0957[_0x2b6845];_0x2e0957[_0x2b6845]=(_0x516d13<<0x8|_0x516d13>>>0x18)&0xff00ff|(_0x516d13<<0x18|_0x516d13>>>0x8)&0xff00ff00;}var _0x3c1b24=this['_hash']['words'],_0x1eec6a=_0x2e0957[_0x40db5c+0x0],_0x445242=_0x2e0957[_0x40db5c+0x1],_0x406577=_0x2e0957[_0x40db5c+0x2],_0x330cc7=_0x2e0957[_0x40db5c+0x3],_0x5d7565=_0x2e0957[_0x40db5c+0x4],_0x372fb2=_0x2e0957[_0x40db5c+0x5],_0x1fa754=_0x2e0957[_0x40db5c+0x6],_0x12b387=_0x2e0957[_0x40db5c+0x7],_0x39fec9=_0x2e0957[_0x40db5c+0x8],_0x39b7ae=_0x2e0957[_0x40db5c+0x9],_0x59225f=_0x2e0957[_0x40db5c+0xa],_0x2c5bf5=_0x2e0957[_0x40db5c+0xb],_0x54056d=_0x2e0957[_0x40db5c+0xc],_0x454f1b=_0x2e0957[_0x40db5c+0xd],_0x1ff928=_0x2e0957[_0x40db5c+0xe],_0x16a77d=_0x2e0957[_0x40db5c+0xf],_0x1b4b2a=_0x3c1b24[0x0],_0x5ab0c2=_0x3c1b24[0x1],_0x263b99=_0x3c1b24[0x2],_0x24d9ec=_0x3c1b24[0x3];_0x1b4b2a=_0x2d0afc(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1eec6a,0x7,_0x5f468c[0x0]),_0x24d9ec=_0x2d0afc(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x445242,0xc,_0x5f468c[0x1]),_0x263b99=_0x2d0afc(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x406577,0x11,_0x5f468c[0x2]),_0x5ab0c2=_0x2d0afc(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x330cc7,0x16,_0x5f468c[0x3]),_0x1b4b2a=_0x2d0afc(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x5d7565,0x7,_0x5f468c[0x4]),_0x24d9ec=_0x2d0afc(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x372fb2,0xc,_0x5f468c[0x5]),_0x263b99=_0x2d0afc(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x1fa754,0x11,_0x5f468c[0x6]),_0x5ab0c2=_0x2d0afc(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x12b387,0x16,_0x5f468c[0x7]),_0x1b4b2a=_0x2d0afc(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x39fec9,0x7,_0x5f468c[0x8]),_0x24d9ec=_0x2d0afc(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x39b7ae,0xc,_0x5f468c[0x9]),_0x263b99=_0x2d0afc(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x59225f,0x11,_0x5f468c[0xa]),_0x5ab0c2=_0x2d0afc(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x2c5bf5,0x16,_0x5f468c[0xb]),_0x1b4b2a=_0x2d0afc(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x54056d,0x7,_0x5f468c[0xc]),_0x24d9ec=_0x2d0afc(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x454f1b,0xc,_0x5f468c[0xd]),_0x263b99=_0x2d0afc(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x1ff928,0x11,_0x5f468c[0xe]),_0x5ab0c2=_0x2d0afc(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x16a77d,0x16,_0x5f468c[0xf]),_0x1b4b2a=_0x48cf15(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x445242,0x5,_0x5f468c[0x10]),_0x24d9ec=_0x48cf15(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x1fa754,0x9,_0x5f468c[0x11]),_0x263b99=_0x48cf15(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x2c5bf5,0xe,_0x5f468c[0x12]),_0x5ab0c2=_0x48cf15(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x1eec6a,0x14,_0x5f468c[0x13]),_0x1b4b2a=_0x48cf15(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x372fb2,0x5,_0x5f468c[0x14]),_0x24d9ec=_0x48cf15(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x59225f,0x9,_0x5f468c[0x15]),_0x263b99=_0x48cf15(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x16a77d,0xe,_0x5f468c[0x16]),_0x5ab0c2=_0x48cf15(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5d7565,0x14,_0x5f468c[0x17]),_0x1b4b2a=_0x48cf15(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x39b7ae,0x5,_0x5f468c[0x18]),_0x24d9ec=_0x48cf15(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x1ff928,0x9,_0x5f468c[0x19]),_0x263b99=_0x48cf15(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x330cc7,0xe,_0x5f468c[0x1a]),_0x5ab0c2=_0x48cf15(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x39fec9,0x14,_0x5f468c[0x1b]),_0x1b4b2a=_0x48cf15(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x454f1b,0x5,_0x5f468c[0x1c]),_0x24d9ec=_0x48cf15(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x406577,0x9,_0x5f468c[0x1d]),_0x263b99=_0x48cf15(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x12b387,0xe,_0x5f468c[0x1e]),_0x5ab0c2=_0x48cf15(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x54056d,0x14,_0x5f468c[0x1f]),_0x1b4b2a=_0x5eddf3(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x372fb2,0x4,_0x5f468c[0x20]),_0x24d9ec=_0x5eddf3(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x39fec9,0xb,_0x5f468c[0x21]),_0x263b99=_0x5eddf3(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x2c5bf5,0x10,_0x5f468c[0x22]),_0x5ab0c2=_0x5eddf3(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x1ff928,0x17,_0x5f468c[0x23]),_0x1b4b2a=_0x5eddf3(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x445242,0x4,_0x5f468c[0x24]),_0x24d9ec=_0x5eddf3(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x5d7565,0xb,_0x5f468c[0x25]),_0x263b99=_0x5eddf3(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x12b387,0x10,_0x5f468c[0x26]),_0x5ab0c2=_0x5eddf3(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x59225f,0x17,_0x5f468c[0x27]),_0x1b4b2a=_0x5eddf3(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x454f1b,0x4,_0x5f468c[0x28]),_0x24d9ec=_0x5eddf3(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x1eec6a,0xb,_0x5f468c[0x29]),_0x263b99=_0x5eddf3(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x330cc7,0x10,_0x5f468c[0x2a]),_0x5ab0c2=_0x5eddf3(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x1fa754,0x17,_0x5f468c[0x2b]),_0x1b4b2a=_0x5eddf3(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x39b7ae,0x4,_0x5f468c[0x2c]),_0x24d9ec=_0x5eddf3(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x54056d,0xb,_0x5f468c[0x2d]),_0x263b99=_0x5eddf3(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x16a77d,0x10,_0x5f468c[0x2e]),_0x5ab0c2=_0x5eddf3(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x406577,0x17,_0x5f468c[0x2f]),_0x1b4b2a=_0xc233bb(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1eec6a,0x6,_0x5f468c[0x30]),_0x24d9ec=_0xc233bb(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x12b387,0xa,_0x5f468c[0x31]),_0x263b99=_0xc233bb(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x1ff928,0xf,_0x5f468c[0x32]),_0x5ab0c2=_0xc233bb(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x372fb2,0x15,_0x5f468c[0x33]),_0x1b4b2a=_0xc233bb(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x54056d,0x6,_0x5f468c[0x34]),_0x24d9ec=_0xc233bb(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x330cc7,0xa,_0x5f468c[0x35]),_0x263b99=_0xc233bb(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x59225f,0xf,_0x5f468c[0x36]),_0x5ab0c2=_0xc233bb(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x445242,0x15,_0x5f468c[0x37]),_0x1b4b2a=_0xc233bb(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x39fec9,0x6,_0x5f468c[0x38]),_0x24d9ec=_0xc233bb(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x16a77d,0xa,_0x5f468c[0x39]),_0x263b99=_0xc233bb(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x1fa754,0xf,_0x5f468c[0x3a]),_0x5ab0c2=_0xc233bb(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x454f1b,0x15,_0x5f468c[0x3b]),_0x1b4b2a=_0xc233bb(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x5d7565,0x6,_0x5f468c[0x3c]),_0x24d9ec=_0xc233bb(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x2c5bf5,0xa,_0x5f468c[0x3d]),_0x263b99=_0xc233bb(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x406577,0xf,_0x5f468c[0x3e]),_0x5ab0c2=_0xc233bb(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x39b7ae,0x15,_0x5f468c[0x3f]),_0x3c1b24[0x0]=_0x3c1b24[0x0]+_0x1b4b2a|0x0,_0x3c1b24[0x1]=_0x3c1b24[0x1]+_0x5ab0c2|0x0,_0x3c1b24[0x2]=_0x3c1b24[0x2]+_0x263b99|0x0,_0x3c1b24[0x3]=_0x3c1b24[0x3]+_0x24d9ec|0x0;},'_doFinalize':function(){var _0x46833e=_0x304bff,_0x5ad204=this[_0x46833e(0xb2)],_0xcff2e1=_0x5ad204[_0x46833e(0x236)],_0x137759=this[_0x46833e(0x2df)]*0x8,_0x216dbb=_0x5ad204[_0x46833e(0x2af)]*0x8;_0xcff2e1[_0x216dbb>>>0x5]|=0x80<<0x18-_0x216dbb%0x20;var _0x4890fb=_0x364b07[_0x46833e(0x208)](_0x137759/0x100000000),_0x262311=_0x137759;_0xcff2e1[(_0x216dbb+0x40>>>0x9<<0x4)+0xf]=(_0x4890fb<<0x8|_0x4890fb>>>0x18)&0xff00ff|(_0x4890fb<<0x18|_0x4890fb>>>0x8)&0xff00ff00,_0xcff2e1[(_0x216dbb+0x40>>>0x9<<0x4)+0xe]=(_0x262311<<0x8|_0x262311>>>0x18)&0xff00ff|(_0x262311<<0x18|_0x262311>>>0x8)&0xff00ff00,_0x5ad204[_0x46833e(0x2af)]=(_0xcff2e1['length']+0x1)*0x4,this['_process']();for(var _0x48a82e=this[_0x46833e(0x103)],_0xc061cc=_0x48a82e['words'],_0x5f3f61=0x0;_0x5f3f61<0x4;_0x5f3f61++){var _0x58a2d2=_0xc061cc[_0x5f3f61];_0xc061cc[_0x5f3f61]=(_0x58a2d2<<0x8|_0x58a2d2>>>0x18)&0xff00ff|(_0x58a2d2<<0x18|_0x58a2d2>>>0x8)&0xff00ff00;}return _0x48a82e;},'clone':function(){var _0x32f779=_0x304bff,_0x274dfd=_0x447a6b[_0x32f779(0x15a)][_0x32f779(0x2c9)](this);return _0x274dfd[_0x32f779(0x103)]=this['_hash']['clone'](),_0x274dfd;}});function _0x2d0afc(_0x32c91d,_0x586bb9,_0x4f122b,_0xd1f00b,_0x1f1093,_0x206d1a,_0x19c2cf){var _0x3c6597=_0x32c91d+(_0x586bb9&_0x4f122b|~_0x586bb9&_0xd1f00b)+_0x1f1093+_0x19c2cf;return(_0x3c6597<<_0x206d1a|_0x3c6597>>>0x20-_0x206d1a)+_0x586bb9;}function _0x48cf15(_0xbac564,_0x40f00a,_0xd0668a,_0x5a39ac,_0x52470b,_0x435dbe,_0x51d972){var _0x524708=_0xbac564+(_0x40f00a&_0x5a39ac|_0xd0668a&~_0x5a39ac)+_0x52470b+_0x51d972;return(_0x524708<<_0x435dbe|_0x524708>>>0x20-_0x435dbe)+_0x40f00a;}function _0x5eddf3(_0x6bb071,_0x2430d4,_0x223960,_0x5676e1,_0x1d4abe,_0xaede52,_0x2a96e3){var _0x188d8b=_0x6bb071+(_0x2430d4^_0x223960^_0x5676e1)+_0x1d4abe+_0x2a96e3;return(_0x188d8b<<_0xaede52|_0x188d8b>>>0x20-_0xaede52)+_0x2430d4;}function _0xc233bb(_0x2e5b02,_0xdf1cee,_0x2ce2e2,_0x258741,_0x17dba4,_0x34ab62,_0x2988ce){var _0x135071=_0x2e5b02+(_0x2ce2e2^(_0xdf1cee|~_0x258741))+_0x17dba4+_0x2988ce;return(_0x135071<<_0x34ab62|_0x135071>>>0x20-_0x34ab62)+_0xdf1cee;}_0x2d9151[_0x304bff(0x19f)]=_0x447a6b[_0x304bff(0x114)](_0xccdbbc),_0x2d9151[_0x304bff(0x29f)]=_0x447a6b['_createHmacHelper'](_0xccdbbc);}(Math),_0x44943c['MD5'];}));}(me)),me[_0x33a2d2(0x2d2)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x54341f(0x2d2)],Xe;function Ri(){return Xe||(Xe=0x1,function(_0x4a5757,_0x11fa20){(function(_0x56834e,_0x2eaa18){var _0x17914b=_0x2020;_0x4a5757[_0x17914b(0x2d2)]=_0x2eaa18(Q());}(Oi,function(_0xc2a685){var _0x5412e6=_0x2020;return(function(){var _0x3a665b=_0x2020,_0x15fb76=_0xc2a685,_0x27ae8b=_0x15fb76['lib'],_0x27b313=_0x27ae8b['WordArray'],_0x514780=_0x27ae8b['Hasher'],_0x378b89=_0x15fb76[_0x3a665b(0x2c3)],_0x41e4b9=[],_0x4916b6=_0x378b89[_0x3a665b(0x27a)]=_0x514780[_0x3a665b(0x419)]({'_doReset':function(){var _0x228e96=_0x3a665b;this[_0x228e96(0x103)]=new _0x27b313[(_0x228e96(0x3b4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5acbdb,_0x5ad2b3){var _0x3c4001=_0x3a665b;for(var _0x5b73d1=this[_0x3c4001(0x103)][_0x3c4001(0x236)],_0x15dec5=_0x5b73d1[0x0],_0x5b5500=_0x5b73d1[0x1],_0x24aec0=_0x5b73d1[0x2],_0x75fa8f=_0x5b73d1[0x3],_0x2c206b=_0x5b73d1[0x4],_0x13098a=0x0;_0x13098a<0x50;_0x13098a++){if(_0x13098a<0x10)_0x41e4b9[_0x13098a]=_0x5acbdb[_0x5ad2b3+_0x13098a]|0x0;else{var _0x1d18ea=_0x41e4b9[_0x13098a-0x3]^_0x41e4b9[_0x13098a-0x8]^_0x41e4b9[_0x13098a-0xe]^_0x41e4b9[_0x13098a-0x10];_0x41e4b9[_0x13098a]=_0x1d18ea<<0x1|_0x1d18ea>>>0x1f;}var _0x1b09eb=(_0x15dec5<<0x5|_0x15dec5>>>0x1b)+_0x2c206b+_0x41e4b9[_0x13098a];_0x13098a<0x14?_0x1b09eb+=(_0x5b5500&_0x24aec0|~_0x5b5500&_0x75fa8f)+0x5a827999:_0x13098a<0x28?_0x1b09eb+=(_0x5b5500^_0x24aec0^_0x75fa8f)+0x6ed9eba1:_0x13098a<0x3c?_0x1b09eb+=(_0x5b5500&_0x24aec0|_0x5b5500&_0x75fa8f|_0x24aec0&_0x75fa8f)-0x70e44324:_0x1b09eb+=(_0x5b5500^_0x24aec0^_0x75fa8f)-0x359d3e2a,_0x2c206b=_0x75fa8f,_0x75fa8f=_0x24aec0,_0x24aec0=_0x5b5500<<0x1e|_0x5b5500>>>0x2,_0x5b5500=_0x15dec5,_0x15dec5=_0x1b09eb;}_0x5b73d1[0x0]=_0x5b73d1[0x0]+_0x15dec5|0x0,_0x5b73d1[0x1]=_0x5b73d1[0x1]+_0x5b5500|0x0,_0x5b73d1[0x2]=_0x5b73d1[0x2]+_0x24aec0|0x0,_0x5b73d1[0x3]=_0x5b73d1[0x3]+_0x75fa8f|0x0,_0x5b73d1[0x4]=_0x5b73d1[0x4]+_0x2c206b|0x0;},'_doFinalize':function(){var _0x551105=_0x3a665b,_0x5156cb=this[_0x551105(0xb2)],_0x21ec27=_0x5156cb[_0x551105(0x236)],_0x4ff782=this[_0x551105(0x2df)]*0x8,_0x390213=_0x5156cb[_0x551105(0x2af)]*0x8;return _0x21ec27[_0x390213>>>0x5]|=0x80<<0x18-_0x390213%0x20,_0x21ec27[(_0x390213+0x40>>>0x9<<0x4)+0xe]=Math[_0x551105(0x208)](_0x4ff782/0x100000000),_0x21ec27[(_0x390213+0x40>>>0x9<<0x4)+0xf]=_0x4ff782,_0x5156cb['sigBytes']=_0x21ec27[_0x551105(0x1e8)]*0x4,this[_0x551105(0x18b)](),this[_0x551105(0x103)];},'clone':function(){var _0x3290bf=_0x3a665b,_0x307f0c=_0x514780[_0x3290bf(0x15a)]['call'](this);return _0x307f0c[_0x3290bf(0x103)]=this[_0x3290bf(0x103)][_0x3290bf(0x15a)](),_0x307f0c;}});_0x15fb76[_0x3a665b(0x27a)]=_0x514780[_0x3a665b(0x114)](_0x4916b6),_0x15fb76[_0x3a665b(0x2e5)]=_0x514780[_0x3a665b(0x109)](_0x4916b6);}()),_0xc2a685[_0x5412e6(0x27a)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},yi=Ce[_0x54341f(0x2d2)],Ze;function Ni(){var _0x3e655f=_0x54341f;return Ze||(Ze=0x1,function(_0x2ab1f8,_0x2c5b19){(function(_0x46d32a,_0x5a96ae){_0x2ab1f8['exports']=_0x5a96ae(Q());}(yi,function(_0x1e7ff8){(function(){var _0x1df3b6=_0x2020,_0x4c04cb=_0x1e7ff8,_0x20a814=_0x4c04cb[_0x1df3b6(0x13e)],_0x30682c=_0x20a814[_0x1df3b6(0x286)],_0x28c763=_0x4c04cb[_0x1df3b6(0x226)],_0x45cd91=_0x28c763[_0x1df3b6(0x1e5)],_0x244f83=_0x4c04cb[_0x1df3b6(0x2c3)];_0x244f83['HMAC']=_0x30682c[_0x1df3b6(0x419)]({'init':function(_0xe233a9,_0x298f0e){var _0x2c0cd8=_0x1df3b6;_0xe233a9=this[_0x2c0cd8(0x17e)]=new _0xe233a9[(_0x2c0cd8(0x3b4))](),typeof _0x298f0e=='string'&&(_0x298f0e=_0x45cd91[_0x2c0cd8(0x383)](_0x298f0e));var _0xa3af69=_0xe233a9[_0x2c0cd8(0x271)],_0x7ef145=_0xa3af69*0x4;_0x298f0e[_0x2c0cd8(0x2af)]>_0x7ef145&&(_0x298f0e=_0xe233a9[_0x2c0cd8(0x30e)](_0x298f0e)),_0x298f0e[_0x2c0cd8(0x34c)]();for(var _0x323ec3=this[_0x2c0cd8(0x3fd)]=_0x298f0e[_0x2c0cd8(0x15a)](),_0x5c0954=this[_0x2c0cd8(0x144)]=_0x298f0e[_0x2c0cd8(0x15a)](),_0x5885d9=_0x323ec3[_0x2c0cd8(0x236)],_0x5a50df=_0x5c0954[_0x2c0cd8(0x236)],_0x18afec=0x0;_0x18afec<_0xa3af69;_0x18afec++)_0x5885d9[_0x18afec]^=0x5c5c5c5c,_0x5a50df[_0x18afec]^=0x36363636;_0x323ec3['sigBytes']=_0x5c0954[_0x2c0cd8(0x2af)]=_0x7ef145,this[_0x2c0cd8(0x37e)]();},'reset':function(){var _0x17a2fc=_0x1df3b6,_0x5964a3=this[_0x17a2fc(0x17e)];_0x5964a3[_0x17a2fc(0x37e)](),_0x5964a3[_0x17a2fc(0x3fc)](this[_0x17a2fc(0x144)]);},'update':function(_0x54c91c){var _0x1bb58f=_0x1df3b6;return this[_0x1bb58f(0x17e)][_0x1bb58f(0x3fc)](_0x54c91c),this;},'finalize':function(_0x21a8b5){var _0x1b11fb=_0x1df3b6,_0x1fa9f4=this[_0x1b11fb(0x17e)],_0x2f3e41=_0x1fa9f4[_0x1b11fb(0x30e)](_0x21a8b5);_0x1fa9f4[_0x1b11fb(0x37e)]();var _0x410d12=_0x1fa9f4[_0x1b11fb(0x30e)](this['_oKey'][_0x1b11fb(0x15a)]()[_0x1b11fb(0x2e2)](_0x2f3e41));return _0x410d12;}});}());}));}(Ce)),Ce[_0x3e655f(0x2d2)];}var Di=ge[_0x54341f(0x2d2)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x5eb086,_0x3f29b1){(function(_0x450624,_0x47c410,_0x1be9fe){var _0xd9665a=_0x2020;_0x5eb086[_0xd9665a(0x2d2)]=_0x47c410(Q(),Ri(),Ni());}(Di,function(_0x23a865){return(function(){var _0xf6eef4=_0x2020,_0x1ed353=_0x23a865,_0x4b9470=_0x1ed353[_0xf6eef4(0x13e)],_0x1afa4d=_0x4b9470['Base'],_0x5380e6=_0x4b9470[_0xf6eef4(0xde)],_0x10110d=_0x1ed353[_0xf6eef4(0x2c3)],_0x1652ae=_0x10110d['MD5'],_0x40a1f5=_0x10110d[_0xf6eef4(0x336)]=_0x1afa4d[_0xf6eef4(0x419)]({'cfg':_0x1afa4d[_0xf6eef4(0x419)]({'keySize':0x80/0x20,'hasher':_0x1652ae,'iterations':0x1}),'init':function(_0x3d7aed){var _0x487682=_0xf6eef4;this[_0x487682(0x251)]=this[_0x487682(0x251)][_0x487682(0x419)](_0x3d7aed);},'compute':function(_0x1b86aa,_0x56a1f){var _0x2463a7=_0xf6eef4;for(var _0x48b2b2,_0x316f00=this[_0x2463a7(0x251)],_0x3e3415=_0x316f00[_0x2463a7(0xc5)][_0x2463a7(0x14c)](),_0x802f75=_0x5380e6['create'](),_0x47f819=_0x802f75[_0x2463a7(0x236)],_0x564e89=_0x316f00['keySize'],_0x27f054=_0x316f00['iterations'];_0x47f819['length']<_0x564e89;){_0x48b2b2&&_0x3e3415[_0x2463a7(0x3fc)](_0x48b2b2),_0x48b2b2=_0x3e3415[_0x2463a7(0x3fc)](_0x1b86aa)[_0x2463a7(0x30e)](_0x56a1f),_0x3e3415[_0x2463a7(0x37e)]();for(var _0x46cbfa=0x1;_0x46cbfa<_0x27f054;_0x46cbfa++)_0x48b2b2=_0x3e3415[_0x2463a7(0x30e)](_0x48b2b2),_0x3e3415['reset']();_0x802f75[_0x2463a7(0x2e2)](_0x48b2b2);}return _0x802f75[_0x2463a7(0x2af)]=_0x564e89*0x4,_0x802f75;}});_0x1ed353[_0xf6eef4(0x336)]=function(_0x1113a5,_0x58bc1b,_0x5370d9){var _0xa8b354=_0xf6eef4;return _0x40a1f5[_0xa8b354(0x14c)](_0x5370d9)[_0xa8b354(0xb0)](_0x1113a5,_0x58bc1b);};}()),_0x23a865['EvpKDF'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te[_0x54341f(0x2d2)],et;function Tt(){return et||(et=0x1,function(_0x82a11e,_0x3a49d7){(function(_0x303865,_0x35a69c,_0x4e3054){var _0x149ffe=_0x2020;_0x82a11e[_0x149ffe(0x2d2)]=_0x35a69c(Q(),Ct());}(Ui,function(_0x30c25b){var _0x1442d4=_0x2020;_0x30c25b[_0x1442d4(0x13e)][_0x1442d4(0x31f)]||function(_0x43d33c){var _0x172045=_0x1442d4,_0x498561=_0x30c25b,_0x34e516=_0x498561['lib'],_0x27563a=_0x34e516[_0x172045(0x286)],_0xd1537e=_0x34e516[_0x172045(0xde)],_0xdd4a48=_0x34e516[_0x172045(0x41c)],_0x515540=_0x498561[_0x172045(0x226)];_0x515540[_0x172045(0x1e5)];var _0x1a2d09=_0x515540['Base64'],_0x446e14=_0x498561[_0x172045(0x2c3)],_0x4cd796=_0x446e14['EvpKDF'],_0x401996=_0x34e516[_0x172045(0x31f)]=_0xdd4a48[_0x172045(0x419)]({'cfg':_0x27563a['extend'](),'createEncryptor':function(_0xdee7e5,_0xedac58){var _0x1f353f=_0x172045;return this['create'](this[_0x1f353f(0xc7)],_0xdee7e5,_0xedac58);},'createDecryptor':function(_0x49cf66,_0x1da60a){var _0x5677af=_0x172045;return this[_0x5677af(0x14c)](this[_0x5677af(0xf1)],_0x49cf66,_0x1da60a);},'init':function(_0x57545e,_0x3a8fe9,_0x37dbb0){var _0x2a93cb=_0x172045;this[_0x2a93cb(0x251)]=this[_0x2a93cb(0x251)][_0x2a93cb(0x419)](_0x37dbb0),this[_0x2a93cb(0x3b3)]=_0x57545e,this[_0x2a93cb(0xe8)]=_0x3a8fe9,this['reset']();},'reset':function(){var _0x2d99bc=_0x172045;_0xdd4a48[_0x2d99bc(0x37e)][_0x2d99bc(0x2c9)](this),this[_0x2d99bc(0x12c)]();},'process':function(_0x1bf847){var _0x4a51a5=_0x172045;return this[_0x4a51a5(0x10b)](_0x1bf847),this[_0x4a51a5(0x18b)]();},'finalize':function(_0x607a4e){var _0x240c2b=_0x172045;_0x607a4e&&this[_0x240c2b(0x10b)](_0x607a4e);var _0x16b8d7=this['_doFinalize']();return _0x16b8d7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4e0c48(_0x1a375f){var _0x4cdb3f=_0x2020;return typeof _0x1a375f==_0x4cdb3f(0xfb)?_0x46fb92:_0x2480af;}return function(_0x545437){return{'encrypt':function(_0x30fc55,_0x49851c,_0x152d16){var _0x1d9c23=_0x2020;return _0x4e0c48(_0x49851c)[_0x1d9c23(0x322)](_0x545437,_0x30fc55,_0x49851c,_0x152d16);},'decrypt':function(_0x581908,_0x231760,_0x456369){var _0x30e097=_0x2020;return _0x4e0c48(_0x231760)[_0x30e097(0x24a)](_0x545437,_0x581908,_0x231760,_0x456369);}};};}())});_0x34e516[_0x172045(0x3e5)]=_0x401996[_0x172045(0x419)]({'_doFinalize':function(){var _0x42cd69=_0x172045,_0x18d61b=this[_0x42cd69(0x18b)](!0x0);return _0x18d61b;},'blockSize':0x1});var _0x17b4bf=_0x498561[_0x172045(0x2fa)]={},_0x7d5051=_0x34e516[_0x172045(0x3b6)]=_0x27563a['extend']({'createEncryptor':function(_0xdfd9eb,_0x2b1c1b){var _0x3809d0=_0x172045;return this[_0x3809d0(0x32d)][_0x3809d0(0x14c)](_0xdfd9eb,_0x2b1c1b);},'createDecryptor':function(_0x4898b5,_0x4a0428){return this['Decryptor']['create'](_0x4898b5,_0x4a0428);},'init':function(_0x314038,_0x32ec86){var _0x51d9e4=_0x172045;this['_cipher']=_0x314038,this[_0x51d9e4(0x326)]=_0x32ec86;}}),_0xafce88=_0x17b4bf[_0x172045(0x16b)]=(function(){var _0x3d780=_0x172045,_0x330935=_0x7d5051[_0x3d780(0x419)]();_0x330935[_0x3d780(0x32d)]=_0x330935['extend']({'processBlock':function(_0x4ef454,_0x54e4d5){var _0x5f38e6=_0x3d780,_0x441281=this[_0x5f38e6(0x1d1)],_0x4929f1=_0x441281[_0x5f38e6(0x271)];_0x3b631f[_0x5f38e6(0x2c9)](this,_0x4ef454,_0x54e4d5,_0x4929f1),_0x441281['encryptBlock'](_0x4ef454,_0x54e4d5),this['_prevBlock']=_0x4ef454[_0x5f38e6(0x1c6)](_0x54e4d5,_0x54e4d5+_0x4929f1);}}),_0x330935[_0x3d780(0xa5)]=_0x330935[_0x3d780(0x419)]({'processBlock':function(_0x42cff3,_0x49777a){var _0x3d69c2=_0x3d780,_0x41f561=this[_0x3d69c2(0x1d1)],_0x3cbe4b=_0x41f561[_0x3d69c2(0x271)],_0x3327c8=_0x42cff3[_0x3d69c2(0x1c6)](_0x49777a,_0x49777a+_0x3cbe4b);_0x41f561[_0x3d69c2(0x15b)](_0x42cff3,_0x49777a),_0x3b631f[_0x3d69c2(0x2c9)](this,_0x42cff3,_0x49777a,_0x3cbe4b),this[_0x3d69c2(0x3ce)]=_0x3327c8;}});function _0x3b631f(_0x341c49,_0x280fb3,_0x5e60cc){var _0x121057=_0x3d780,_0x390242,_0x4aab7d=this[_0x121057(0x326)];_0x4aab7d?(_0x390242=_0x4aab7d,this[_0x121057(0x326)]=_0x43d33c):_0x390242=this[_0x121057(0x3ce)];for(var _0x2e611b=0x0;_0x2e611b<_0x5e60cc;_0x2e611b++)_0x341c49[_0x280fb3+_0x2e611b]^=_0x390242[_0x2e611b];}return _0x330935;}()),_0x5c4b8b=_0x498561[_0x172045(0x317)]={},_0x4de201=_0x5c4b8b[_0x172045(0x306)]={'pad':function(_0x496a89,_0x3c6d8e){var _0xb0b646=_0x172045;for(var _0x3d62d2=_0x3c6d8e*0x4,_0x4a68f7=_0x3d62d2-_0x496a89[_0xb0b646(0x2af)]%_0x3d62d2,_0x8e821a=_0x4a68f7<<0x18|_0x4a68f7<<0x10|_0x4a68f7<<0x8|_0x4a68f7,_0x306f4a=[],_0x1e8b2a=0x0;_0x1e8b2a<_0x4a68f7;_0x1e8b2a+=0x4)_0x306f4a[_0xb0b646(0x16f)](_0x8e821a);var _0x4beace=_0xd1537e[_0xb0b646(0x14c)](_0x306f4a,_0x4a68f7);_0x496a89['concat'](_0x4beace);},'unpad':function(_0xc64c0c){var _0x3fa580=_0x172045,_0x1f1a4e=_0xc64c0c[_0x3fa580(0x236)][_0xc64c0c[_0x3fa580(0x2af)]-0x1>>>0x2]&0xff;_0xc64c0c[_0x3fa580(0x2af)]-=_0x1f1a4e;}};_0x34e516[_0x172045(0x2e7)]=_0x401996[_0x172045(0x419)]({'cfg':_0x401996[_0x172045(0x251)]['extend']({'mode':_0xafce88,'padding':_0x4de201}),'reset':function(){var _0x3339c9=_0x172045,_0x53826d;_0x401996[_0x3339c9(0x37e)][_0x3339c9(0x2c9)](this);var _0x40a2b5=this[_0x3339c9(0x251)],_0x235504=_0x40a2b5['iv'],_0x28b5d6=_0x40a2b5[_0x3339c9(0x2fa)];this[_0x3339c9(0x3b3)]==this['_ENC_XFORM_MODE']?_0x53826d=_0x28b5d6['createEncryptor']:(_0x53826d=_0x28b5d6['createDecryptor'],this['_minBufferSize']=0x1),this[_0x3339c9(0x2bb)]&&this[_0x3339c9(0x2bb)][_0x3339c9(0x108)]==_0x53826d?this['_mode'][_0x3339c9(0x3b4)](this,_0x235504&&_0x235504['words']):(this[_0x3339c9(0x2bb)]=_0x53826d[_0x3339c9(0x2c9)](_0x28b5d6,this,_0x235504&&_0x235504[_0x3339c9(0x236)]),this[_0x3339c9(0x2bb)]['__creator']=_0x53826d);},'_doProcessBlock':function(_0x5e0be6,_0x2a205b){var _0x48e799=_0x172045;this[_0x48e799(0x2bb)]['processBlock'](_0x5e0be6,_0x2a205b);},'_doFinalize':function(){var _0x3fb63e=_0x172045,_0xd7e7cd,_0x20515c=this[_0x3fb63e(0x251)][_0x3fb63e(0x1d3)];return this[_0x3fb63e(0x3b3)]==this['_ENC_XFORM_MODE']?(_0x20515c['pad'](this[_0x3fb63e(0xb2)],this[_0x3fb63e(0x271)]),_0xd7e7cd=this[_0x3fb63e(0x18b)](!0x0)):(_0xd7e7cd=this[_0x3fb63e(0x18b)](!0x0),_0x20515c[_0x3fb63e(0x23e)](_0xd7e7cd)),_0xd7e7cd;},'blockSize':0x80/0x20});var _0x191274=_0x34e516[_0x172045(0x243)]=_0x27563a[_0x172045(0x419)]({'init':function(_0x38fb23){var _0xd54175=_0x172045;this[_0xd54175(0x284)](_0x38fb23);},'toString':function(_0x17228c){var _0xff2276=_0x172045;return(_0x17228c||this[_0xff2276(0x3dc)])[_0xff2276(0x3ef)](this);}}),_0x3da0d0=_0x498561[_0x172045(0x1a6)]={},_0xe81623=_0x3da0d0[_0x172045(0x2d5)]={'stringify':function(_0xac0a66){var _0x393fdc=_0x172045,_0x375535,_0x1368f2=_0xac0a66[_0x393fdc(0x2c5)],_0x1a9c4e=_0xac0a66[_0x393fdc(0x3e6)];return _0x1a9c4e?_0x375535=_0xd1537e[_0x393fdc(0x14c)]([0x53616c74,0x65645f5f])[_0x393fdc(0x2e2)](_0x1a9c4e)[_0x393fdc(0x2e2)](_0x1368f2):_0x375535=_0x1368f2,_0x375535[_0x393fdc(0x202)](_0x1a2d09);},'parse':function(_0x15d4a8){var _0x3064ce=_0x172045,_0x10d098,_0x5af3cb=_0x1a2d09[_0x3064ce(0x383)](_0x15d4a8),_0xa01e08=_0x5af3cb[_0x3064ce(0x236)];return _0xa01e08[0x0]==0x53616c74&&_0xa01e08[0x1]==0x65645f5f&&(_0x10d098=_0xd1537e[_0x3064ce(0x14c)](_0xa01e08[_0x3064ce(0x1c6)](0x2,0x4)),_0xa01e08['splice'](0x0,0x4),_0x5af3cb[_0x3064ce(0x2af)]-=0x10),_0x191274[_0x3064ce(0x14c)]({'ciphertext':_0x5af3cb,'salt':_0x10d098});}},_0x2480af=_0x34e516[_0x172045(0x1c0)]=_0x27563a['extend']({'cfg':_0x27563a[_0x172045(0x419)]({'format':_0xe81623}),'encrypt':function(_0x19d53b,_0x2dbf09,_0xcd93e8,_0x39e989){var _0x4c5448=_0x172045;_0x39e989=this['cfg'][_0x4c5448(0x419)](_0x39e989);var _0x4b9846=_0x19d53b[_0x4c5448(0x2f1)](_0xcd93e8,_0x39e989),_0x9eebd8=_0x4b9846[_0x4c5448(0x30e)](_0x2dbf09),_0x2c4811=_0x4b9846['cfg'];return _0x191274[_0x4c5448(0x14c)]({'ciphertext':_0x9eebd8,'key':_0xcd93e8,'iv':_0x2c4811['iv'],'algorithm':_0x19d53b,'mode':_0x2c4811['mode'],'padding':_0x2c4811['padding'],'blockSize':_0x19d53b[_0x4c5448(0x271)],'formatter':_0x39e989['format']});},'decrypt':function(_0x4b07e0,_0x3ba273,_0xcab90e,_0xd17145){var _0x4194d9=_0x172045;_0xd17145=this[_0x4194d9(0x251)][_0x4194d9(0x419)](_0xd17145),_0x3ba273=this['_parse'](_0x3ba273,_0xd17145[_0x4194d9(0x1a6)]);var _0x5bc3c5=_0x4b07e0[_0x4194d9(0xb8)](_0xcab90e,_0xd17145)[_0x4194d9(0x30e)](_0x3ba273[_0x4194d9(0x2c5)]);return _0x5bc3c5;},'_parse':function(_0x16bce4,_0x22983f){var _0x587acc=_0x172045;return typeof _0x16bce4==_0x587acc(0xfb)?_0x22983f['parse'](_0x16bce4,this):_0x16bce4;}}),_0x2f0c6f=_0x498561[_0x172045(0x3cd)]={},_0x139c73=_0x2f0c6f[_0x172045(0x2d5)]={'execute':function(_0x3ead17,_0xbfc1df,_0x479b12,_0x5c76bf,_0x41021b){var _0x499e6c=_0x172045;if(_0x5c76bf||(_0x5c76bf=_0xd1537e['random'](0x40/0x8)),_0x41021b)var _0x54927f=_0x4cd796[_0x499e6c(0x14c)]({'keySize':_0xbfc1df+_0x479b12,'hasher':_0x41021b})['compute'](_0x3ead17,_0x5c76bf);else var _0x54927f=_0x4cd796['create']({'keySize':_0xbfc1df+_0x479b12})[_0x499e6c(0xb0)](_0x3ead17,_0x5c76bf);var _0x449f38=_0xd1537e[_0x499e6c(0x14c)](_0x54927f[_0x499e6c(0x236)][_0x499e6c(0x1c6)](_0xbfc1df),_0x479b12*0x4);return _0x54927f['sigBytes']=_0xbfc1df*0x4,_0x191274[_0x499e6c(0x14c)]({'key':_0x54927f,'iv':_0x449f38,'salt':_0x5c76bf});}},_0x46fb92=_0x34e516[_0x172045(0x2ce)]=_0x2480af[_0x172045(0x419)]({'cfg':_0x2480af['cfg'][_0x172045(0x419)]({'kdf':_0x139c73}),'encrypt':function(_0x5bce43,_0x17340a,_0x3480d7,_0x55415b){var _0x53967d=_0x172045;_0x55415b=this['cfg']['extend'](_0x55415b);var _0x3af656=_0x55415b[_0x53967d(0x3cd)][_0x53967d(0x34b)](_0x3480d7,_0x5bce43['keySize'],_0x5bce43[_0x53967d(0x19b)],_0x55415b['salt'],_0x55415b[_0x53967d(0xc5)]);_0x55415b['iv']=_0x3af656['iv'];var _0x41d19c=_0x2480af[_0x53967d(0x322)][_0x53967d(0x2c9)](this,_0x5bce43,_0x17340a,_0x3af656[_0x53967d(0x416)],_0x55415b);return _0x41d19c[_0x53967d(0x284)](_0x3af656),_0x41d19c;},'decrypt':function(_0x3ecc9f,_0xfa075c,_0x3e7632,_0x55a7e3){var _0x4a90ad=_0x172045;_0x55a7e3=this[_0x4a90ad(0x251)][_0x4a90ad(0x419)](_0x55a7e3),_0xfa075c=this[_0x4a90ad(0x238)](_0xfa075c,_0x55a7e3[_0x4a90ad(0x1a6)]);var _0x37707d=_0x55a7e3[_0x4a90ad(0x3cd)]['execute'](_0x3e7632,_0x3ecc9f[_0x4a90ad(0x166)],_0x3ecc9f['ivSize'],_0xfa075c['salt'],_0x55a7e3[_0x4a90ad(0xc5)]);_0x55a7e3['iv']=_0x37707d['iv'];var _0x1f5ed5=_0x2480af[_0x4a90ad(0x24a)][_0x4a90ad(0x2c9)](this,_0x3ecc9f,_0xfa075c,_0x37707d[_0x4a90ad(0x416)],_0x55a7e3);return _0x1f5ed5;}});}();}));}(Te)),Te['exports'];}var Ai=fe[_0x54341f(0x2d2)],tt;function Pi(){var _0x201e84=_0x54341f;return tt||(tt=0x1,function(_0x1e08d6,_0x30df33){(function(_0x86f835,_0x33583a,_0x33ee0b){var _0x4ec495=_0x2020;_0x1e08d6[_0x4ec495(0x2d2)]=_0x33583a(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x5cc8f3){var _0x1ea21a=_0x2020;return(function(){var _0x1ebb93=_0x2020,_0x23473c=_0x5cc8f3,_0x2f3062=_0x23473c[_0x1ebb93(0x13e)],_0x49d6a4=_0x2f3062[_0x1ebb93(0x2e7)],_0x406bc9=_0x23473c[_0x1ebb93(0x2c3)],_0x681ef5=[],_0x18a3b8=[],_0x57309c=[],_0xb842b4=[],_0x31f91b=[],_0x4c33e7=[],_0x1bc163=[],_0x463754=[],_0x1124d9=[],_0x266e1e=[];(function(){for(var _0x246200=[],_0x4e7ac1=0x0;_0x4e7ac1<0x100;_0x4e7ac1++)_0x4e7ac1<0x80?_0x246200[_0x4e7ac1]=_0x4e7ac1<<0x1:_0x246200[_0x4e7ac1]=_0x4e7ac1<<0x1^0x11b;for(var _0x43f99c=0x0,_0x68b2be=0x0,_0x4e7ac1=0x0;_0x4e7ac1<0x100;_0x4e7ac1++){var _0x25b0c8=_0x68b2be^_0x68b2be<<0x1^_0x68b2be<<0x2^_0x68b2be<<0x3^_0x68b2be<<0x4;_0x25b0c8=_0x25b0c8>>>0x8^_0x25b0c8&0xff^0x63,_0x681ef5[_0x43f99c]=_0x25b0c8,_0x18a3b8[_0x25b0c8]=_0x43f99c;var _0x55a251=_0x246200[_0x43f99c],_0x1b6bb3=_0x246200[_0x55a251],_0x322ad3=_0x246200[_0x1b6bb3],_0x44b3d8=_0x246200[_0x25b0c8]*0x101^_0x25b0c8*0x1010100;_0x57309c[_0x43f99c]=_0x44b3d8<<0x18|_0x44b3d8>>>0x8,_0xb842b4[_0x43f99c]=_0x44b3d8<<0x10|_0x44b3d8>>>0x10,_0x31f91b[_0x43f99c]=_0x44b3d8<<0x8|_0x44b3d8>>>0x18,_0x4c33e7[_0x43f99c]=_0x44b3d8;var _0x44b3d8=_0x322ad3*0x1010101^_0x1b6bb3*0x10001^_0x55a251*0x101^_0x43f99c*0x1010100;_0x1bc163[_0x25b0c8]=_0x44b3d8<<0x18|_0x44b3d8>>>0x8,_0x463754[_0x25b0c8]=_0x44b3d8<<0x10|_0x44b3d8>>>0x10,_0x1124d9[_0x25b0c8]=_0x44b3d8<<0x8|_0x44b3d8>>>0x18,_0x266e1e[_0x25b0c8]=_0x44b3d8,_0x43f99c?(_0x43f99c=_0x55a251^_0x246200[_0x246200[_0x246200[_0x322ad3^_0x55a251]]],_0x68b2be^=_0x246200[_0x246200[_0x68b2be]]):_0x43f99c=_0x68b2be=0x1;}}());var _0xdd4adf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x20a2c6=_0x406bc9[_0x1ebb93(0x21e)]=_0x49d6a4[_0x1ebb93(0x419)]({'_doReset':function(){var _0x2b2372=_0x1ebb93,_0x399de7;if(!(this['_nRounds']&&this[_0x2b2372(0x142)]===this['_key'])){for(var _0x23f0b4=this[_0x2b2372(0x142)]=this[_0x2b2372(0xe8)],_0x11f6ea=_0x23f0b4[_0x2b2372(0x236)],_0xa814f3=_0x23f0b4['sigBytes']/0x4,_0x5c982f=this['_nRounds']=_0xa814f3+0x6,_0x475815=(_0x5c982f+0x1)*0x4,_0x3a224d=this[_0x2b2372(0x182)]=[],_0x38bcfc=0x0;_0x38bcfc<_0x475815;_0x38bcfc++)_0x38bcfc<_0xa814f3?_0x3a224d[_0x38bcfc]=_0x11f6ea[_0x38bcfc]:(_0x399de7=_0x3a224d[_0x38bcfc-0x1],_0x38bcfc%_0xa814f3?_0xa814f3>0x6&&_0x38bcfc%_0xa814f3==0x4&&(_0x399de7=_0x681ef5[_0x399de7>>>0x18]<<0x18|_0x681ef5[_0x399de7>>>0x10&0xff]<<0x10|_0x681ef5[_0x399de7>>>0x8&0xff]<<0x8|_0x681ef5[_0x399de7&0xff]):(_0x399de7=_0x399de7<<0x8|_0x399de7>>>0x18,_0x399de7=_0x681ef5[_0x399de7>>>0x18]<<0x18|_0x681ef5[_0x399de7>>>0x10&0xff]<<0x10|_0x681ef5[_0x399de7>>>0x8&0xff]<<0x8|_0x681ef5[_0x399de7&0xff],_0x399de7^=_0xdd4adf[_0x38bcfc/_0xa814f3|0x0]<<0x18),_0x3a224d[_0x38bcfc]=_0x3a224d[_0x38bcfc-_0xa814f3]^_0x399de7);for(var _0x4a8964=this[_0x2b2372(0x337)]=[],_0x401b43=0x0;_0x401b43<_0x475815;_0x401b43++){var _0x38bcfc=_0x475815-_0x401b43;if(_0x401b43%0x4)var _0x399de7=_0x3a224d[_0x38bcfc];else var _0x399de7=_0x3a224d[_0x38bcfc-0x4];_0x401b43<0x4||_0x38bcfc<=0x4?_0x4a8964[_0x401b43]=_0x399de7:_0x4a8964[_0x401b43]=_0x1bc163[_0x681ef5[_0x399de7>>>0x18]]^_0x463754[_0x681ef5[_0x399de7>>>0x10&0xff]]^_0x1124d9[_0x681ef5[_0x399de7>>>0x8&0xff]]^_0x266e1e[_0x681ef5[_0x399de7&0xff]];}}},'encryptBlock':function(_0x5b1f0f,_0xef31a6){var _0x17fbbc=_0x1ebb93;this[_0x17fbbc(0x3cc)](_0x5b1f0f,_0xef31a6,this[_0x17fbbc(0x182)],_0x57309c,_0xb842b4,_0x31f91b,_0x4c33e7,_0x681ef5);},'decryptBlock':function(_0x545f17,_0x2aa007){var _0x5d59ff=_0x1ebb93,_0x2a19e4=_0x545f17[_0x2aa007+0x1];_0x545f17[_0x2aa007+0x1]=_0x545f17[_0x2aa007+0x3],_0x545f17[_0x2aa007+0x3]=_0x2a19e4,this[_0x5d59ff(0x3cc)](_0x545f17,_0x2aa007,this[_0x5d59ff(0x337)],_0x1bc163,_0x463754,_0x1124d9,_0x266e1e,_0x18a3b8);var _0x2a19e4=_0x545f17[_0x2aa007+0x1];_0x545f17[_0x2aa007+0x1]=_0x545f17[_0x2aa007+0x3],_0x545f17[_0x2aa007+0x3]=_0x2a19e4;},'_doCryptBlock':function(_0x4f3b03,_0x5bb75e,_0x2429bc,_0x2b86ce,_0x414f79,_0x554a81,_0x29f545,_0x4dbd61){var _0x57797c=_0x1ebb93;for(var _0x12de05=this[_0x57797c(0x2de)],_0x21e204=_0x4f3b03[_0x5bb75e]^_0x2429bc[0x0],_0x292ecb=_0x4f3b03[_0x5bb75e+0x1]^_0x2429bc[0x1],_0x43d81f=_0x4f3b03[_0x5bb75e+0x2]^_0x2429bc[0x2],_0x3e98af=_0x4f3b03[_0x5bb75e+0x3]^_0x2429bc[0x3],_0x51a08c=0x4,_0x2415e4=0x1;_0x2415e4<_0x12de05;_0x2415e4++){var _0x272e95=_0x2b86ce[_0x21e204>>>0x18]^_0x414f79[_0x292ecb>>>0x10&0xff]^_0x554a81[_0x43d81f>>>0x8&0xff]^_0x29f545[_0x3e98af&0xff]^_0x2429bc[_0x51a08c++],_0x1a7d4e=_0x2b86ce[_0x292ecb>>>0x18]^_0x414f79[_0x43d81f>>>0x10&0xff]^_0x554a81[_0x3e98af>>>0x8&0xff]^_0x29f545[_0x21e204&0xff]^_0x2429bc[_0x51a08c++],_0x56e756=_0x2b86ce[_0x43d81f>>>0x18]^_0x414f79[_0x3e98af>>>0x10&0xff]^_0x554a81[_0x21e204>>>0x8&0xff]^_0x29f545[_0x292ecb&0xff]^_0x2429bc[_0x51a08c++],_0x34e03b=_0x2b86ce[_0x3e98af>>>0x18]^_0x414f79[_0x21e204>>>0x10&0xff]^_0x554a81[_0x292ecb>>>0x8&0xff]^_0x29f545[_0x43d81f&0xff]^_0x2429bc[_0x51a08c++];_0x21e204=_0x272e95,_0x292ecb=_0x1a7d4e,_0x43d81f=_0x56e756,_0x3e98af=_0x34e03b;}var _0x272e95=(_0x4dbd61[_0x21e204>>>0x18]<<0x18|_0x4dbd61[_0x292ecb>>>0x10&0xff]<<0x10|_0x4dbd61[_0x43d81f>>>0x8&0xff]<<0x8|_0x4dbd61[_0x3e98af&0xff])^_0x2429bc[_0x51a08c++],_0x1a7d4e=(_0x4dbd61[_0x292ecb>>>0x18]<<0x18|_0x4dbd61[_0x43d81f>>>0x10&0xff]<<0x10|_0x4dbd61[_0x3e98af>>>0x8&0xff]<<0x8|_0x4dbd61[_0x21e204&0xff])^_0x2429bc[_0x51a08c++],_0x56e756=(_0x4dbd61[_0x43d81f>>>0x18]<<0x18|_0x4dbd61[_0x3e98af>>>0x10&0xff]<<0x10|_0x4dbd61[_0x21e204>>>0x8&0xff]<<0x8|_0x4dbd61[_0x292ecb&0xff])^_0x2429bc[_0x51a08c++],_0x34e03b=(_0x4dbd61[_0x3e98af>>>0x18]<<0x18|_0x4dbd61[_0x21e204>>>0x10&0xff]<<0x10|_0x4dbd61[_0x292ecb>>>0x8&0xff]<<0x8|_0x4dbd61[_0x43d81f&0xff])^_0x2429bc[_0x51a08c++];_0x4f3b03[_0x5bb75e]=_0x272e95,_0x4f3b03[_0x5bb75e+0x1]=_0x1a7d4e,_0x4f3b03[_0x5bb75e+0x2]=_0x56e756,_0x4f3b03[_0x5bb75e+0x3]=_0x34e03b;},'keySize':0x100/0x20});_0x23473c[_0x1ebb93(0x21e)]=_0x49d6a4['_createHelper'](_0x20a2c6);}()),_0x5cc8f3[_0x1ea21a(0x21e)];}));}(fe)),fe[_0x201e84(0x2d2)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x54341f(0x2d2)],nt;function ki(){var _0x8b3c24=_0x54341f;return nt||(nt=0x1,function(_0x21de1,_0x251327){(function(_0x52b477,_0x57086c){_0x21de1['exports']=_0x57086c(Q());}(xi,function(_0x299304){var _0x2d020f=_0x2020;return _0x299304['enc'][_0x2d020f(0x1e5)];}));}(be)),be[_0x8b3c24(0x2d2)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x54341f(0x2d2)],rt;function Bi(){var _0x377c9b=_0x54341f;return rt||(rt=0x1,function(_0x44a593,_0x1fafcd){(function(_0x44a0d2,_0x4694d5){_0x44a593['exports']=_0x4694d5(Q());}(ji,function(_0x2085a1){var _0x11d464=_0x2020;return(function(){var _0x366b99=_0x2020;if(typeof ArrayBuffer==_0x366b99(0x111)){var _0x53fc0a=_0x2085a1,_0x36ca89=_0x53fc0a[_0x366b99(0x13e)],_0xa8273=_0x36ca89[_0x366b99(0xde)],_0x1f6438=_0xa8273[_0x366b99(0x3b4)],_0x5aeadd=_0xa8273[_0x366b99(0x3b4)]=function(_0x47a672){var _0x35a838=_0x366b99;if(_0x47a672 instanceof ArrayBuffer&&(_0x47a672=new Uint8Array(_0x47a672)),(_0x47a672 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x47a672 instanceof Uint8ClampedArray||_0x47a672 instanceof Int16Array||_0x47a672 instanceof Uint16Array||_0x47a672 instanceof Int32Array||_0x47a672 instanceof Uint32Array||_0x47a672 instanceof Float32Array||_0x47a672 instanceof Float64Array)&&(_0x47a672=new Uint8Array(_0x47a672[_0x35a838(0x199)],_0x47a672['byteOffset'],_0x47a672[_0x35a838(0x397)])),_0x47a672 instanceof Uint8Array){for(var _0x1be51f=_0x47a672['byteLength'],_0x41f9bb=[],_0xfa76f0=0x0;_0xfa76f0<_0x1be51f;_0xfa76f0++)_0x41f9bb[_0xfa76f0>>>0x2]|=_0x47a672[_0xfa76f0]<<0x18-_0xfa76f0%0x4*0x8;_0x1f6438[_0x35a838(0x2c9)](this,_0x41f9bb,_0x1be51f);}else _0x1f6438[_0x35a838(0x1ca)](this,arguments);};_0x5aeadd[_0x366b99(0x28a)]=_0xa8273;}}()),_0x2085a1[_0x11d464(0x13e)][_0x11d464(0xde)];}));}(Oe)),Oe[_0x377c9b(0x2d2)];}var Fi=Bi();function _0x2020(_0x226495,_0x16786b){var _0x52d476=_0x52d4();return _0x2020=function(_0x2020e7,_0x3ddbe3){_0x2020e7=_0x2020e7-0xa5;var _0x34d3c7=_0x52d476[_0x2020e7];return _0x34d3c7;},_0x2020(_0x226495,_0x16786b);}const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x54341f(0x2d2)],st;function Gi(){var _0xacb8f5=_0x54341f;return st||(st=0x1,function(_0x4c7897,_0x111fed){(function(_0x446a19,_0x5efdb6,_0x419eb8){var _0x2b5c26=_0x2020;_0x4c7897[_0x2b5c26(0x2d2)]=_0x5efdb6(Q(),Tt());}(Wi,function(_0x2d2309){var _0x5b175e=_0x2020;return _0x2d2309[_0x5b175e(0x317)][_0x5b175e(0xaf)]={'pad':function(){},'unpad':function(){}},_0x2d2309['pad']['NoPadding'];}));}(Re)),Re[_0xacb8f5(0x2d2)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x5e1c89,_0x3a6ec0){var _0x1c9825=_0x54341f;const _0x57a7de=_0x3a6ec0-_0x5e1c89[_0x1c9825(0x1e8)]%_0x3a6ec0,_0x3c8e8f=String[_0x1c9825(0x1b9)](_0x57a7de)['repeat'](_0x57a7de);return _0x5e1c89+_0x3c8e8f;}function zi(_0x1752eb,_0x3c96cf){var _0xc86340=_0x54341f;const _0x5d1ea1=Vi[_0xc86340(0x28e)](0x10),_0x58ab63=Ki(_0x1752eb,0x10),_0x57a8cc=Mi['encrypt'](Hi[_0xc86340(0x383)](_0x58ab63),it[_0xc86340(0x383)](_0x3c96cf),{'iv':_0x5d1ea1,'padding':qi});return _0x5d1ea1[_0xc86340(0x2e2)](_0x57a8cc['ciphertext'])[_0xc86340(0x202)](it);}function Ji(){var _0x211399=_0x54341f;const _0x2422f0=yt[_0x211399(0x2cf)]()['__Key__'];if(_0x2422f0){const _0x15154e={'time':Math[_0x211399(0x208)](Date[_0x211399(0x206)]()/0x3e8),'domain':location[_0x211399(0x240)]};return zi(JSON[_0x211399(0x3ef)](_0x15154e),_0x2422f0);}}var Xi=Object[_0x54341f(0x2d4)],Zi=(_0x1897b0,_0x18e751,_0x43fc23,_0x4fc800)=>{var _0x102822=_0x54341f;for(var _0x520e97=_0x4fc800>0x1?void 0x0:_0x4fc800?Xi(_0x18e751,_0x43fc23):_0x18e751,_0x15bc55=_0x1897b0[_0x102822(0x1e8)]-0x1,_0x23a400;_0x15bc55>=0x0;_0x15bc55--)(_0x23a400=_0x1897b0[_0x15bc55])&&(_0x520e97=_0x23a400(_0x520e97)||_0x520e97);return _0x520e97;},Qi=(_0x5926d0,_0x25b544)=>(_0x501983,_0x41de36)=>_0x25b544(_0x501983,_0x41de36,_0x5926d0);let Ne=class{constructor(_0x14fcb0){var _0x4aeaf4=_0x54341f;this['_httpService']=_0x14fcb0,this[_0x4aeaf4(0x40a)]();}[_0x54341f(0x40a)](){var _0x4e7050=_0x54341f;this['_httpService'][_0x4e7050(0x237)]({'interceptor':(_0x48a034,_0x4c01de)=>{var _0x320467=_0x4e7050;const _0x5cc9cf=_0x48a034[_0x320467(0x138)],_0x1cef0c=Ji();return _0x1cef0c&&_0x5cc9cf[_0x320467(0x2f5)]('x-univer-host',_0x1cef0c),_0x4c01de(_0x48a034);}});}};Ne=Zi([Qi(0x0,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)]))],Ne);var en=Object['getOwnPropertyDescriptor'],tn=(_0x446fb1,_0xb5cfcb,_0x3af09a,_0x3f3390)=>{var _0x46c37b=_0x54341f;for(var _0x3f27a1=_0x3f3390>0x1?void 0x0:_0x3f3390?en(_0xb5cfcb,_0x3af09a):_0xb5cfcb,_0x1ea247=_0x446fb1[_0x46c37b(0x1e8)]-0x1,_0x3cec54;_0x1ea247>=0x0;_0x1ea247--)(_0x3cec54=_0x446fb1[_0x1ea247])&&(_0x3f27a1=_0x3cec54(_0x3f27a1)||_0x3f27a1);return _0x3f27a1;},we=(_0x4a6fa1,_0x6d0866)=>(_0x4ef2b7,_0x231be2)=>_0x6d0866(_0x4ef2b7,_0x231be2,_0x4a6fa1);exports[_0x54341f(0x333)]=class extends a[_0x54341f(0x26a)]{constructor(_0x330fdc,_0x50768b,_0x5b333f){var _0x6d4dcc=_0x54341f;super(),A(this,_0x6d4dcc(0x1e2),new H['BehaviorSubject'](null)),A(this,_0x6d4dcc(0x41e),this['_unitInfo$'][_0x6d4dcc(0x131)]()),(this[_0x6d4dcc(0x1dc)]=_0x330fdc,this[_0x6d4dcc(0x179)]=_0x50768b,this[_0x6d4dcc(0x41a)]=_0x5b333f);}async[_0x54341f(0x405)](_0x4cf5b4,_0x1371c0,_0x13694e){var _0x1b2ce3=_0x54341f;this[_0x1b2ce3(0x1e2)][_0x1b2ce3(0x23b)]({'unitId':_0x4cf5b4,'type':_0x1371c0});let _0x529806=null;switch(_0x1371c0){case J[_0x1b2ce3(0x3ae)]:{_0x529806=await this[_0x1b2ce3(0x179)][_0x1b2ce3(0x1b3)](_0x4cf5b4,_0x13694e);break;}case J[_0x1b2ce3(0x254)]:{_0x529806=await this[_0x1b2ce3(0x179)]['loadDoc'](_0x4cf5b4,_0x13694e);break;}default:{this[_0x1b2ce3(0x1dc)][_0x1b2ce3(0x146)](_0x1b2ce3(0x363),_0x1b2ce3(0x167));break;}}return _0x529806;}async[_0x54341f(0x28c)](_0x594fe0,_0x1e1a93,_0x3ef7cf){var _0x459710=_0x54341f,_0x450ef8;this[_0x459710(0x1e2)][_0x459710(0x23b)]({'unitId':_0x594fe0,'type':_0x1e1a93,'subUnitId':_0x3ef7cf});let _0x3920a9=0x0;const _0x586081=await((_0x450ef8=this[_0x459710(0x41a)])==null?void 0x0:_0x450ef8[_0x459710(0x3b1)](_0x594fe0));return _0x586081&&(_0x586081['awaitingChangeset']||_0x586081[_0x459710(0xfe)]['length']!==0x0)&&(_0x3920a9=_0x586081['rev']),_0x3920a9===0x0&&this[_0x459710(0x1dc)][_0x459710(0x3c1)](_0x459710(0x363),_0x459710(0x33f)),this[_0x459710(0x405)](_0x594fe0,_0x1e1a93,_0x3920a9);}},exports[_0x54341f(0x333)]=tn([we(0x0,a[_0x54341f(0x21a)]),we(0x1,a['Inject'](p[_0x54341f(0x1b2)])),we(0x2,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x333)]);var nn=Object[_0x54341f(0x2d4)],rn=(_0x606cd5,_0x56da80,_0xdbfeaa,_0x5deca3)=>{var _0x14b8b4=_0x54341f;for(var _0x2e3e28=_0x5deca3>0x1?void 0x0:_0x5deca3?nn(_0x56da80,_0xdbfeaa):_0x56da80,_0x281899=_0x606cd5[_0x14b8b4(0x1e8)]-0x1,_0x1eb1b6;_0x281899>=0x0;_0x281899--)(_0x1eb1b6=_0x606cd5[_0x281899])&&(_0x2e3e28=_0x1eb1b6(_0x2e3e28)||_0x2e3e28);return _0x2e3e28;},Me=(_0x3cbfd3,_0x5e2697)=>(_0x293c29,_0xcbb87e)=>_0x5e2697(_0x293c29,_0xcbb87e,_0x3cbfd3);const sn=[_0x54341f(0x2db),_0x54341f(0x2c2),_0x54341f(0x1a4),_0x54341f(0x3d1),_0x54341f(0x10e)],on=0x5*0x400*0x400,an=_0x54341f(0x277),cn=_0x54341f(0x27c);function _0x52d4(){var _0xe0b54a=['params','_onConflict','YUUMI_TABLE_NOT_FOUND_IN_UNIT','IMentionIOService','onMissingChangesets','SOCKET_FAILED','onCommandExecuted','_change$','PERSON','createEncryptor','transformMutationsWithChangeset','_scheduleCollaborationTimeoutTimer','_toggleOffline','set','_singleActiveUnitService','ws://127.0.0.1:8000/universer-api/comb/connect','\x20in\x20_schedule.','[CollaborationEntity]','mode','HELLO','status','getActiveSheet','USERS_ENTER','_eventService','addHandlerCallback','_handler','getSheetBlock','merge','_awaitingChangeset','8991408YTeSnT','Pkcs7','HTTPService','UPDATE_PERMISSION_OBJ','clear','forEach','getTypeOfUnitDisposed$','LocaleService','_getUploadFileURL','finalize','map','ILocalCacheService','HEARTBEAT_INTERVAL','fetching\x20missing\x20changesets\x20from\x20','OFFLINE','_executeRemoteChangeset','CollaborationEvent','actions','pad','_transformRemoteChangesetByIMECache','AwaitingState','\x0aCurrent:\x20','fetchThroughInterceptors','UNAUTHENTICATED','_transformUndoredo','substr','Cipher','Base64','getSheetId','encrypt','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','charAt','People','_iv','encode','_submitChangeset','state$','status$','UNIVER_UNKNOWN','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Encryptor','AuthzIoHttpService','message$','NOT_FOUND','session.room-full','CHANGESET_ACK','DataLoaderService','saveChangeset','_registerDependencies','EvpKDF','_invKeySchedule','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNKNOWN_CMD','close$','catch','LEAVE','univer-pro.collaboration-client-socket-service','_instanceService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SUCCUSS','every','LIVESHARE_REQUEST_HOST','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','override','get','LICENSE_IMPORT_SIZE_EXCEEDED','getConfig','_transformService','_unlockTransition','awaiting','execute','clamp','/universer-api/authz','_members$','USERS_LEAVE','post','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','IDLE','_clearRedo','_clearUndo','OTHER_CLIENTS_EDITING','getAllMembers','has','socket$','UnitSnapshot','UNKNOWN_CODE','_socketService','_status$','LocalUndoRedoService','EMAIL_HAS_BEEN_BOUND','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/unit/','socket\x20close','not_collab','[DataLoaderService]','_commentUpdate$','_socketMessageSubscription','_waitForHeartbeatResponse','/resources','Optional','textEncoder','10rIAtDc','54LBViyA','saveSheetBlock','socket\x20open.','[PendingState]:\x20received\x20acknowledgement.','refreshPermission','IConfigService','deepClone','mapDocumentTypeToUniverType','fetch_missing','/universer-api/comb','offline','PendingState','_queuedRemoteChangesets','toggleOnline','action','type','YUUMI_RATE_OVER_LIMIT','ICommandService','_replaceFileID','reset','JOIN_ROOM_FULL','_sendingTimer','ALREADY_EXISTS','Disposable','parse','executeCommand','pauseCollaboration','getSnapshotAPIPath','getCurrentRevOfUnit','Tools','_scheduleCompleteTimestamp','_createInitialState','_pendingMutations','state','_changesetReqId','_telemetryInfo','disposeWithMe','selections','PERMISSION_REJ','_type','emitEvent','transformSelections','ERROR_EXCEED_SIZE','POST','byteLength','collaboratorID','_memberService','DisposableCollection','isInternalEditorID','onTransformSelections','onRemoteAck','textRanges','listCollaborators','responseType','_injector','CompressMutationService','/fetchmissing?from=','UUID','connection\x20error','members','2zxFaJO','session.join-failed','abs','Injector','TOO_MANY_REQUESTS','b64DecodeUnicode','_getAPIPrefixPath','UNIVER_SHEET','/universer-api/user/session-ticket','transformStack\x20failed!','loadOfflineData','saveImage','_xformMode','init','subscribe','BlockCipherMode','_disableEditing','addImageSourceCache','_doCreateSocket','_onJoinRoomEvent','interceptor','[UniverCollaborationClientPlugin]','target','_onFetchMissResult','retryConnectingInterval','&assign=','debug','HEARTBEAT','objects','_sheetTransformSelectionsService','subUnitId','isTransformMutationsWithChangesetFailure','_transformSelections','telemetry\x20info\x20is\x20not\x20initialized','url','/allowed','Failed\x20to\x20update\x20permission\x20point','_doCryptBlock','kdf','_prevBlock','readInt32LE','UNIVER_COLLABORATION_CLIENT_PLUGIN','image/gif','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','roomInfos','submit\x20changeset\x20error!','_compressMutationService','replace','getRandomValues','reduce','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','online$','YUUMI_ALL_TABLES_IS_INVALID','formatter','reqId','LICENSE_DISTRO_REJECTED','href','MentionType','getCurrentSelections','changesets','randomBytes','revision','StreamCipher','salt','putCollaborators','sid','onload','getImageSourceCache','Module','_onRecvEvent','_sessionStatus$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','stringify','[FetchMissState]','_substituteUndoStack','/block/','routeKey','_getSignURL','getMember','c1Prime','setWaitCount','Inject','unit-cache-','_waitCount','[CollaborationSessionService]:\x20socket\x20error','update','_oKey','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','stopTime','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','concatMap','_collaborationTimeoutTimer','ISocketService','YUUMI_UNABLE_LOAD_URL','loadUnitOfRevision','_undoStacks','then','onRemoteRej','updateCursorEvent','_initRequestHeader','UserProfileImg','unitId','EMAIL_VERIFY_CODE_MISMATCH','enableOfflineEditing','members$','UniverInstanceType','method','ceil','_initCloseConn','9527121LKsboh','UniverCollaborationClientPlugin','key','SYNCED','symbol','extend','_localCacheService','put','BufferedBlockAlgorithm','_fetchMissChangesets','unitInfo$','_joinRoom','memberID','onTransformState','FetchingMissState','Decryptor','loginUrlKey','UnitEmbedded','copyFileMeta','_onUserJoin','getImage','onSendChangeset','_reverseMap','_config','getCollabEntity','NoPadding','compute','getValue','_data','CollaborationEntity','equals','[OfflineState]:\x20received\x20acknowledgement.','_initMergeInterceptor','_revisionService','createDecryptor','focused$','_updateLocalCache','Hasher','dispose','PENDING','collaMsg','_onCombEvent','_incrementRevisionNumber','transformUndoRedo','_onRemoteChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','FAIL','hasher','_transformRemoteChangesetByStateCache','_ENC_XFORM_MODE','_clearTimeoutTimer','_substituteRedoStack','_updateState','USER_NOT_INVITED_CODE','_onRemoteRejected','SNAPSHOT_URL_KEY','onStateChange','CollaborationSessionService','_collaborationUIEventService','isPermissionRej','_socket','getTypeOfUnitAdded$','_collaborationPaused','_resendTimeout','_createHandler','updateCollaborator','JOINING','CollaborationSession','_getSendChangesetTimeout','collaboration-client.local-cache-service','CollaborationStatus','ConflictState','WordArray','close','_commandService','onStarting','[SyncedState]:\x20received\x20acknowledgement.','getLocalCacheKey','YUUMI_NO_CUBOID_FOR_QUESTION','MemberService','UNIVER_PROJECT','_event$','_key','/new_changes','APPLY_DUPLICATED','snapshot','_schedule','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','YUUMI_URL_COL_OUT_OF_RANGE','DEFAULT_COLLAB_WEB_SOCKET_URL','LOCAL_CACHE_INTERVAL','_DEC_XFORM_MODE','complete','/object','SNAPSHOT_INVALID_SNAPSHOT','&to=','_permissionService','removeMember','PERMISSION_DENIED','sin','_rescheduleHeartbeat','string','CommentService','CHANGESET_REJ','mutations','range','enableSingleActiveInstanceLock','CollaborationController','send','_hash','_listenToNetworkCondition','FileId','take','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','__creator','_createHmacHelper','SHOULD_CLOSE_CONN','_append','name','_sendHeartbeatTimer','image/bmp','find','_roomMembers','function','SOCKET_FAILED_RETRY','_members','_createHelper','parseChangesetToProtocol','HEARTBEAT_INTERVAL_KEY','getCurrentUser','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','generateRandomId','OfflineState','shareReplay','data','_onLocalMutation','_throwTelemetryCollaborationNewChangeset','closeSession','44764ymsrtZ','newCsEvent','_remoteChangesetQueue','_roomCreated$','disableLocalCache','_getCtorByUniverType','CONNECTOR_DATA_TOO_LARGE','_updateStatus','sheets','editing\x20status\x20changed\x20to','uploadFileServerUrl','univer-pro.collaboration-client.network-condition.service','_doReset','onSyncEditingCollabCursor','UniverNetworkPlugin','365115OExrOK','synced','asObservable','_httpService','updatePermissionPoint','unsubscribe','[CollaborationState]:\x20apply\x20error!','_tryEnsureSocket','ONLINE','headers','AWAITING_WITH_PENDING','ITelemetryService','from','ISnapshotServerService','SNAPSHOT_HAS_BEEN_REMOVED','lib','Rectangle','_removeRoom','serializeCombRequest','_keyPriorReset','eventID','_iKey','onMissedChangesetFetched','error','updateOfflineData','min','onRemoteChangeset','crypto','_getRedoStack','create','_startTelemetryCollaborationNewChangeset','append','waitForRoom$','updateMember','localCacheService','_state$','YUUMI_AI_RUN_FAILED','COMPLETION_FINISHED','SetSelectionsOperation','MergeInterceptorFactory','LICENSE_MAX_UNITS_EXCEEDED','SnapshotServerOverHTTPService','delay','clone','decryptBlock','location','src','pending','_getAPIPrefix','INGEST','_syncEditingCollabCursor','userID','ISingleActiveUnitService','Hex','LICENSE_EXPORT_SIZE_EXCEEDED','keySize','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','failed\x20to\x20apply\x20missed\x20changesets!','getUnit','ImageUploadStatusType','CBC','_shouldReportTelemetry','BASE64','207ALPEIA','push','7628789ffoeaf','_resendTimer','error$','SessionStatus','CollaborationUIEventService','fromCollab','SUBMIT_CHANGESET','AwaitingWithPendingState','YUUMI_SUBSCRIPTION_NOT_FOUND','_snapshotService','getWorkbookSelections','FETCH_MISSING','DependentOn','onlyLocal','_hasher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','session.room-permission-denied','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_keySchedule','takeUntil','_clearLocalCache','_decreaseWaiting','COMMENT_UPDATE','getUnitStatus$','_onRemoteRetry','_clearScheduledTask','getUnitType','_process','_snapshotServerService','resourceIDs','[OfflineState]:\x20received\x20changeset.','ENSURE_SNAPSHOT_EXECUTION','BehaviorSubject','startTime','requestParams','_getUndoStack','getFocusedUnit','DocCollaborationEntity','_clearRetryConnectingTimer','awaitingChangeset','conflict','buffer','_imageSourceCache','ivSize','_applyRemoteChangeset','createIdentifier','IImageIoService','MD5','session','sessionStatus$','_socketReady','INVALID_INVITE_CODE','image/jpg','file','format','COMPRESS_MUTATION_SEND','getUnitOnRev','defineProperty','getCollabEntity$','APPLY_NON_SEQUENTIAL_REVISION','entityInit$','default','_initDependencies','UPDATE_CURSOR','getMemberID','AWAITING','SnapshotService','loadSheet','touchDependencies','_handlerCallback','CollaborationImageIoService','Plugin','_collabSessionService','fromCharCode','_changesetSessionId','unitID','join','createSocket','size','values','SerializableCipher','baseRev','startsWith','collaboration_new_changeset','getUnitId','workbook','slice','_onMessage','onTransformRemoteChangesetByIMECache','UNDEFINED','apply','permissionRejEvent','result','hasOwnProperty','commentUpdateEvent','_sendHeartbeat','getInterceptPoints','_cipher','CommandType','padding','_createInitialStateImpl','infoRsp','CHANGESET_SHOULD_RETRY','open$','csAckEvent','_resendWithTimeout','ICollaborationSocketService','isTransformChangesetsSuccess','_logService','INVALID_ARGUMENT','/object/','_exhaustRemoteChangesetQueue','LOGIN_FAILED','INVITE_CODE_REQUIRED','_unitInfo$','/-/object/list','deleteCollaborator','Utf8','CLOSE_ROOM','&source=','length','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onLocalMutation','WECHAT_HAS_BEEN_BOUND','_commentService','socketService','charCodeAt','MentionIoHttpService','csShouldRetryEvent','delete','firstValueFrom','DEFAULT_WS_SESSION_TICKET_URL','m2Prime','Subject','SUBMIT_CHANGESET_TIMEOUT','NEW_CHANGESETS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','incrementRevOfUnit','_transitionLocked','LIVESHARE_OPERATION','isArray','_acknowledgedAwaitingChangeset','IPermissionService','toDisposable','LIVESHARE_TERMINATE','dispose$','toString','_transformIMECache','uuidv4','_transformStack','now','resend','floor','APPLY_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[SyncedState]:\x20received\x20rejection.','JSONX','SyncedState','_lockTransition','onCommentUpdate','_checkMissing','/universer-api/snapshot/','save\x20fail\x20reason\x20is\x20','capture','\x0aAfter:\x20','UnitStatus','_tryReconnect','mergeOverrideWithDependencies','WorkbookEditablePermission','filter','ILogService','CollaborationSocketService','ERROR_IMAGE','?size=','AES','GLOBAL_ROOMS_CNT_EXCEEDS','_sender','setCurrentUser','_unitID','_startCollaboration','objectType','toggleOffline','enc','PSEUDO_FETCH_MISSING_RESULT','createInstance','HMAC','OTHER_CLIENT_EDITING','_getLoginPath','CollaborationUIEventId','localeService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RevisionService','collabSubmitChangesetUrl','sessionStatus','PY_RUNTIME_SCRIPT_ERROR','shouldCloseConn','appendMutation','_collaborationSessionService','words','registerHTTPInterceptor','_parse','COMPRESS_MUTATION_APPLY','_undoRedoService','next','ITransformService','list','unpad','editingUnit','hostname','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','reject','CipherParams','\x20to\x20','JOIN_ROOM_FAILED','_univerInstanceService','msCrypto','_candidateSocket','_getCurrentRevision','decrypt','[CollaborationUndoRedoService]','RETRY_CONNECTING_MAX_COUNT','commentUpdate$','_toggleOnline','APPLY_REJECT','ImageSourceType','cfg','MOBILE_VERIFY_CODE_MISMATCH','IAuthzIoService','UNIVER_DOC','INVITE_CODE_ALREADY_BOUND','event$','liveShareNewHost','{fileID}','objectID','SheetTransformSelectionsService','_stopTelemetryCollaborationNewChangeset','_getDownloadEndpointURL','Latin1','originalMeta','18935411dnAgXX','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','joinRsp','onRemoteRetry','onTransformRemoteChangesetByStateCache','readAsDataURL','/collaborator','updateSnapshot','CollaborativeUndoRedoService','_clearCollaborationTimeoutTimer','pluginName','RxDisposable','LIVESHARE_NEW_HOST','[OfflineState]:\x20received\x20rejection.','pipe','JOIN_ROOM_NOT_EXISTS','UNIVER_SLIDE','_timeoutTimer','blockSize','_entityInit$','_retryConnectingTimer','APPLY_PERMISSION_DENIED','_minBufferSize','JOIN','/universer-api/stream/file/upload','EmptyMutation','NO_OTHER_CLIENTS_EDITING','SHA1','RECV','/universer-api/file/{fileID}/sign-url','allowed','$super','_showConflictNotification','roles','CONFLICT','resolve','max','mixIn','_configService','Base','CHANGESET_REVISION_CONFILICT','compose','YUUMI_ASYNCIO_CANCELLED','prototype','HEARTBEAT_TIMEOUT','loadUnit','_networkConditionService','random','title','SheetCollaborationEntity','_socket$','_retryCount','LIVESHARE_FETCH_OPERATIONS','c2Prime','_transformStateCache','_initUnitPermissionChange','onTransformIME','HEARTBEAT_TIMEOUT_KEY','parseProtocolChangeset','patch','IUniverInstanceService','_onUserLeave','transformChangesets','add','HmacMD5','UNISCRIPT_RUN','/universer-api/oidc/authpage','cmd','isTransformMutationsWithChangesetSuccess','_telemetryService','awaiting_with_pending','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','entries','_sessions','117013sAuyFM','_emitMembers','requireSession','_HTTPService','Undefined','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sigBytes','_init','_replayCachedMutations','_entities','joinEvent','objectActions','UserManagerService','_state','MOBILE_HAS_BEEN_BOUND','subject','downloadEndpointUrl','body','_mode','origin','getTime','_createSocket','UNRECOGNIZED','session.room-cnt-exceeds','JOIN_ROOM_PERMISSION_DENIED','image/jpeg','algo','_onConnectionOpen','ciphertext','_isPermissionRej','?url=','setConfig','call','IUndoRedoService','splice','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_doProcessBlock','PasswordBasedCipher','getGlobalObject','/-/object/-/batch_allowed','authzUrl','exports','unknown','getOwnPropertyDescriptor','OpenSSL','_userManagerService','_clearHeartbeatTimer','IContextService','[CollaborationSession]','fetchMissingChangesets','image/png','saveSnapshot','HttpImport','_nRounds','_nDataBytes','INVITE_CODE_HAS_BEEN_UES','Could\x20not\x20dynamically\x20require\x20\x22','concat','_onRemoteACK','_onOffline','HmacSHA1','MUTATION','BlockCipher'];_0x52d4=function(){return _0xe0b54a;};return _0x52d4();}exports['CollaborationImageIoService']=class{constructor(_0x27daec,_0x3d6ad0,_0x2464f4){var _0x232238=_0x54341f;A(this,_0x232238(0x3fa),0x0),A(this,_0x232238(0x2ef),new H[(_0x232238(0x1f5))]()),A(this,'change$',this['_change$']),A(this,_0x232238(0x19a),new Map()),(this[_0x232238(0x132)]=_0x27daec,this[_0x232238(0x285)]=_0x3d6ad0,this['_univerInstanceService']=_0x2464f4);}[_0x54341f(0x3f7)](_0xda5341){var _0x2e1db4=_0x54341f;this[_0x2e1db4(0x3fa)]=_0xda5341,this[_0x2e1db4(0x2ef)]['next'](_0xda5341);}[_0x54341f(0x3ea)](_0x277b48,_0x52be22){var _0x4cea40=_0x54341f;if(_0x52be22===z[_0x4cea40(0x250)]['BASE64']){const _0x4c62c4=new Image();return _0x4c62c4[_0x4cea40(0x15d)]=_0x277b48,_0x4c62c4;}return this[_0x4cea40(0x19a)]['get'](_0x277b48);}[_0x54341f(0x3b8)](_0x40b38b,_0x561440,_0x566cbc){var _0x364dba=_0x54341f;_0x561440===z[_0x364dba(0x250)][_0x364dba(0x16d)]||_0x566cbc==null||this[_0x364dba(0x19a)][_0x364dba(0x2f5)](_0x40b38b,_0x566cbc);}async[_0x54341f(0xaa)](_0x1d313e){var _0x19aed8=_0x54341f;try{const _0x32e811=this[_0x19aed8(0x37d)](this[_0x19aed8(0x3f4)](),''+_0x1d313e),_0x576f94=(await this[_0x19aed8(0x132)]['get'](_0x32e811))['body'];if(_0x576f94[_0x19aed8(0x146)]&&_0x576f94[_0x19aed8(0x146)]['code']===dt['OK']){const _0x238fd1=new URL(_0x576f94[_0x19aed8(0x3c9)],this[_0x19aed8(0x25c)]())[_0x19aed8(0x202)]();return Promise[_0x19aed8(0x282)](_0x238fd1);}return Promise[_0x19aed8(0x242)](_0x576f94[_0x19aed8(0x146)]);}catch(_0x7443f7){return Promise[_0x19aed8(0x242)](_0x7443f7);}}async[_0x54341f(0x3b2)](_0x571d80){var _0x508bb7=_0x54341f;let _0x30c422='';if(!sn['includes'](_0x571d80[_0x508bb7(0x37a)]))return this[_0x508bb7(0x185)](),Promise[_0x508bb7(0x242)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x571d80[_0x508bb7(0x1be)]>on)return this[_0x508bb7(0x185)](),Promise['reject'](new Error(z[_0x508bb7(0x16a)][_0x508bb7(0x395)]));try{const _0x37739d=new FormData();_0x37739d[_0x508bb7(0x14e)](_0x508bb7(0x1a5),_0x571d80);const _0x2b1351=this[_0x508bb7(0x246)][_0x508bb7(0x194)](),_0xb88df5=_0x2b1351==null?void 0x0:_0x2b1351[_0x508bb7(0x1c4)]();if(!_0xb88df5)throw new Error('unitId\x20is\x20not\x20found');const _0x23d138=this['_getUploadFileURL']()+_0x508bb7(0x21d)+_0x571d80['size'][_0x508bb7(0x202)]()+_0x508bb7(0x1e7)+vt[_0x508bb7(0xa7)]+_0x508bb7(0x3c0)+encodeURIComponent(_0xb88df5),_0x4d1a76={'body':_0x37739d},_0x95a6b2=(await this[_0x508bb7(0x132)][_0x508bb7(0x350)](_0x23d138,_0x4d1a76))[_0x508bb7(0x2ba)];if(typeof _0x95a6b2[_0x508bb7(0x105)]!=_0x508bb7(0xfb))return this[_0x508bb7(0x185)](),Promise[_0x508bb7(0x242)](new Error(z[_0x508bb7(0x16a)][_0x508bb7(0x21c)]));_0x30c422=_0x95a6b2['FileId'];}catch{return this[_0x508bb7(0x185)](),Promise[_0x508bb7(0x242)](new Error(z[_0x508bb7(0x16a)][_0x508bb7(0x21c)]));}return new Promise((_0x53931a,_0x585de8)=>{var _0x3a9c0c=_0x508bb7;const _0x23fe41=new FileReader();_0x23fe41[_0x3a9c0c(0x264)](_0x571d80),_0x23fe41[_0x3a9c0c(0x3e9)]=_0x25ced9=>{var _0xf0e165=_0x3a9c0c,_0x2a0575;const _0x41658d=(_0x2a0575=_0x25ced9[_0xf0e165(0x3bd)])==null?void 0x0:_0x2a0575[_0xf0e165(0x1cc)];if(_0x41658d==null){this[_0xf0e165(0x185)](),_0x585de8(new Error(z[_0xf0e165(0x16a)]['ERROR_IMAGE']));return;}const _0x4716c9=a[_0xf0e165(0x119)](0x6);_0x53931a({'imageId':_0x4716c9,'imageSourceType':z[_0xf0e165(0x250)][_0xf0e165(0x3a4)],'source':_0x30c422,'base64Cache':_0x41658d,'status':z[_0xf0e165(0x16a)][_0xf0e165(0x340)]}),this[_0xf0e165(0x185)]();};});}[_0x54341f(0x30d)](){var _0x4db252=_0x54341f,_0x3de6ed;const _0xdaa22d=this['_configService'][_0x4db252(0x347)](Y);return(_0x3de6ed=_0xdaa22d==null?void 0x0:_0xdaa22d[_0x4db252(0x12a)])!=null?_0x3de6ed:an;}[_0x54341f(0x3f4)](){var _0x54e112=_0x54341f,_0x43e619;const _0xa6641f=this[_0x54e112(0x285)][_0x54e112(0x347)](Y);return(_0x43e619=_0xa6641f==null?void 0x0:_0xa6641f['signUrlServerUrl'])!=null?_0x43e619:cn;}[_0x54341f(0x25c)](){var _0x3c3c71=_0x54341f,_0xa1f5f8;const _0x39c3af=this[_0x3c3c71(0x285)]['getConfig'](Y);return(_0xa1f5f8=_0x39c3af==null?void 0x0:_0x39c3af[_0x3c3c71(0x2b9)])!=null?_0xa1f5f8:location[_0x3c3c71(0x2bc)];}[_0x54341f(0x37d)](_0x299568,_0x424f69){var _0x2b7fbb=_0x54341f;return _0x299568[_0x2b7fbb(0x3d6)](_0x2b7fbb(0x258),_0x424f69);}[_0x54341f(0x185)](){var _0x447ed7=_0x54341f;this[_0x447ed7(0x3fa)]-=0x1,this['_change$']['next'](this[_0x447ed7(0x3fa)]);}},exports[_0x54341f(0x1b6)]=rn([Me(0x0,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)])),Me(0x1,a[_0x54341f(0x370)]),Me(0x2,a[_0x54341f(0x3f8)](a['IUniverInstanceService']))],exports[_0x54341f(0x1b6)]);var hn=Object[_0x54341f(0x2d4)],_n=(_0x32bc71,_0x57310d,_0x15978f,_0x3f0d63)=>{var _0x4f9d30=_0x54341f;for(var _0x58256c=_0x3f0d63>0x1?void 0x0:_0x3f0d63?hn(_0x57310d,_0x15978f):_0x57310d,_0x3caeda=_0x32bc71[_0x4f9d30(0x1e8)]-0x1,_0x5bb6c4;_0x3caeda>=0x0;_0x3caeda--)(_0x5bb6c4=_0x32bc71[_0x3caeda])&&(_0x58256c=_0x5bb6c4(_0x58256c)||_0x58256c);return _0x58256c;},ot=(_0x550443,_0x35f591)=>(_0x215f79,_0x4580f3)=>_0x35f591(_0x215f79,_0x4580f3,_0x550443);const ln='/universer-api/authz';exports[_0x54341f(0x1ef)]=class{constructor(_0xacb3a9,_0x165bcb){var _0xe5016b=_0x54341f;this['_configService']=_0xacb3a9,this[_0xe5016b(0x2ac)]=_0x165bcb;}[_0x54341f(0x3ad)](){var _0x24c05c=_0x54341f,_0x3ef684;const _0x31c08a=this[_0x24c05c(0x285)][_0x24c05c(0x347)](Y);return(_0x3ef684=_0x31c08a==null?void 0x0:_0x31c08a['authzUrl'])!=null?_0x3ef684:ln;}async[_0x54341f(0x23d)](_0x2fb7a1){var _0x4fc684=_0x54341f;const _0x57d170=this[_0x4fc684(0x3ad)]()+'/collaborator';return{'list':[{'title':_0x4fc684(0x325),'mentions':(await this[_0x4fc684(0x2ac)][_0x4fc684(0x345)](_0x57d170,{'params':{'objectID':_0x2fb7a1[_0x4fc684(0x40c)],'unitID':_0x2fb7a1['unitId']}}))[_0x4fc684(0x2ba)]['collaborators']['map'](_0x385bdc=>({'objectId':_0x385bdc['id'],'name':_0x385bdc[_0x4fc684(0x2b8)][_0x4fc684(0x10c)],'metadata':{'icon':_0x385bdc[_0x4fc684(0x2b8)]['avatar']},'label':_0x385bdc[_0x4fc684(0x2b8)][_0x4fc684(0x10c)],'objectType':a['MentionType'][_0x4fc684(0x2f0)]})),'metadata':{},'type':a[_0x4fc684(0x3e0)][_0x4fc684(0x2f0)]}]};}},exports['MentionIoHttpService']=_n([ot(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x370)])),ot(0x1,a['Inject'](q[_0x54341f(0x307)]))],exports[_0x54341f(0x1ef)]);var un=Object[_0x54341f(0x2d4)],dn=(_0x31f5da,_0x199898,_0x2cb39d,_0x589c0e)=>{for(var _0x1db24d=_0x589c0e>0x1?void 0x0:_0x589c0e?un(_0x199898,_0x2cb39d):_0x199898,_0x1be9f8=_0x31f5da['length']-0x1,_0x10d769;_0x1be9f8>=0x0;_0x1be9f8--)(_0x10d769=_0x31f5da[_0x1be9f8])&&(_0x1db24d=_0x10d769(_0x1db24d)||_0x1db24d);return _0x1db24d;},le=(_0xb75a7d,_0x45f3cc)=>(_0x3e9335,_0x57d1bf)=>_0x45f3cc(_0x3e9335,_0x57d1bf,_0xb75a7d);let De=class extends a[_0x54341f(0x26a)]{constructor(_0x111c96,_0x2f70cd,_0xab1610,_0x3a3ad6,_0x42c150){var _0x140d83=_0x54341f;super(),this[_0x140d83(0x3a1)]=_0x111c96,this[_0x140d83(0x246)]=_0x2f70cd,this['_permissionService']=_0xab1610,this[_0x140d83(0x235)]=_0x3a3ad6,this[_0x140d83(0xd0)]=_0x42c150,this[_0x140d83(0x296)](),this[_0x140d83(0x413)]();}[_0x54341f(0x413)](){var _0x322862=_0x54341f;const _0x4fc6d5=async _0x17c300=>{var _0x138f3f=_0x2020;(await this[_0x138f3f(0x235)][_0x138f3f(0x2ab)](_0x17c300))[_0x138f3f(0x256)][_0x138f3f(0x26d)](V[_0x138f3f(0x219)](_0x32f8cc=>_0x32f8cc['eventID']===p['CollaborationEvent'][_0x138f3f(0x10a)]),V[_0x138f3f(0x183)](this[_0x138f3f(0x201)]))[_0x138f3f(0x3b5)](_0x42a168=>{var _0x140bd8=_0x138f3f;const _0x533712=_0x42a168,{reason:_0x2c3c96}=_0x533712['data'];this['_collaborationUIEventService'][_0x140bd8(0x393)]({'id':Z[_0x140bd8(0x1e6)],'data':_0x2c3c96}),this[_0x140bd8(0xf6)]['updatePermissionPoint'](new X[(_0x140bd8(0x218))](_0x17c300)['id'],!0x1),this[_0x140bd8(0x235)][_0x140bd8(0x11f)](_0x17c300);});};H[_0x322862(0x303)](this[_0x322862(0x246)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x322862(0x3ae)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x322862(0x410)]['UNIVER_DOC']))[_0x322862(0x26d)](V[_0x322862(0x30f)](_0x1ade6e=>_0x1ade6e[_0x322862(0x1c4)]()),V[_0x322862(0x219)](_0x4d29b9=>!a['isInternalEditorID'](_0x4d29b9)),V['takeUntil'](this['dispose$']))[_0x322862(0x3b5)](_0x2baaa8=>{_0x4fc6d5(_0x2baaa8);});}['_initUnitPermissionChange'](){var _0x513ebf=_0x54341f;const _0x5d96d5=async _0x2ccafc=>{var _0x1b2b60=_0x2020;const _0x4a26bc=await this['_collaborationSessionService'][_0x1b2b60(0x2ab)](_0x2ccafc),_0x499f75=this['_injector']['get'](X['SheetPermissionInitController']);_0x4a26bc[_0x1b2b60(0x256)][_0x1b2b60(0x26d)](V[_0x1b2b60(0x219)](_0x57f4ee=>_0x57f4ee[_0x1b2b60(0x143)]===p[_0x1b2b60(0x315)][_0x1b2b60(0x308)]),V[_0x1b2b60(0x183)](this[_0x1b2b60(0x201)]))[_0x1b2b60(0x3b5)](_0x4b0b6b=>{var _0x579a0d=_0x1b2b60;const _0x2e29a5=_0x4b0b6b,{objectId:_0xc77a32}=_0x2e29a5[_0x579a0d(0x11c)];_0xc77a32===_0x2ccafc?_0x499f75['initWorkbookPermissionChange'](_0x2ccafc):_0x499f75[_0x579a0d(0x36f)](_0x2ccafc,_0xc77a32);});};H[_0x513ebf(0x303)](this[_0x513ebf(0x246)][_0x513ebf(0xd3)](a[_0x513ebf(0x410)][_0x513ebf(0x3ae)]))['pipe'](V[_0x513ebf(0x30f)](_0x16f04e=>_0x16f04e[_0x513ebf(0x1c4)]()),V[_0x513ebf(0x219)](_0x3fc85d=>!a[_0x513ebf(0x39b)](_0x3fc85d)),V['takeUntil'](this[_0x513ebf(0x201)]))[_0x513ebf(0x3b5)](_0x2a79c0=>{_0x5d96d5(_0x2a79c0);});}};De=dn([le(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x54341f(0x1fe)]),le(0x3,a['Inject'](exports[_0x54341f(0xcf)])),le(0x4,a[_0x54341f(0x3f8)](ee))],De);var vn=Object[_0x54341f(0x2d4)],Sn=(_0x3ce7a0,_0x334682,_0x4382aa,_0x995fd9)=>{var _0x42f444=_0x54341f;for(var _0x2bae36=_0x995fd9>0x1?void 0x0:_0x995fd9?vn(_0x334682,_0x4382aa):_0x334682,_0x387450=_0x3ce7a0[_0x42f444(0x1e8)]-0x1,_0x188768;_0x387450>=0x0;_0x387450--)(_0x188768=_0x3ce7a0[_0x387450])&&(_0x2bae36=_0x188768(_0x2bae36)||_0x2bae36);return _0x2bae36;},at=(_0x520f79,_0x1fdb0d)=>(_0x349046,_0x2b1143)=>_0x1fdb0d(_0x349046,_0x2b1143,_0x520f79);exports[_0x54341f(0x158)]=class{constructor(_0x27313f,_0x5d7164){var _0x128e47=_0x54341f;this[_0x128e47(0x285)]=_0x27313f,this[_0x128e47(0x132)]=_0x5d7164;}async[_0x54341f(0x1a8)](_0x381b26,_0x4cb0e5){var _0x36fb57=_0x54341f,_0x7ad9ce;const {unitID:_0x2dcf3b,type:_0x49fa80,revision:_0x576764=0x0}=_0x4cb0e5,_0x2415b7=this['getSnapshotAPIPath']()+'/'+_0x49fa80+_0x36fb57(0x360)+_0x2dcf3b+'/rev/'+_0x576764,_0x3e2c59=(await this[_0x36fb57(0x132)][_0x36fb57(0x345)](_0x2415b7))[_0x36fb57(0x2ba)],_0x2ccd24=(_0x7ad9ce=_0x3e2c59[_0x36fb57(0xeb)])==null?void 0x0:_0x7ad9ce[_0x36fb57(0x1c5)];if(_0x2ccd24){const _0x244429=_0x2ccd24==null?void 0x0:_0x2ccd24[_0x36fb57(0x25e)],_0x49d3cb=p[_0x36fb57(0x369)][_0x36fb57(0x327)](p[_0x36fb57(0x3ac)](_0x244429));_0x2ccd24[_0x36fb57(0x25e)]=_0x49d3cb,Object[_0x36fb57(0x2a7)](_0x2ccd24[_0x36fb57(0x128)])[_0x36fb57(0x30a)](([,_0x264fcf])=>{var _0x29a665=_0x36fb57;const _0x2ce8f8=_0x264fcf[_0x29a665(0x25e)],_0x3c80a7=p[_0x29a665(0x369)][_0x29a665(0x327)](p[_0x29a665(0x3ac)](_0x2ce8f8));_0x264fcf[_0x29a665(0x25e)]=_0x3c80a7;});}return _0x3e2c59;}async[_0x54341f(0x302)](_0xd89004,_0x4314a1){var _0x1a9f2d=_0x54341f;const {unitID:_0x1f979c,type:_0x346231,blockID:_0x3c9479}=_0x4314a1,_0x16417a=this[_0x1a9f2d(0x15f)]()+'/'+_0x346231+_0x1a9f2d(0x360)+_0x1f979c+_0x1a9f2d(0x3f2)+_0x3c9479;return(await this[_0x1a9f2d(0x132)][_0x1a9f2d(0x345)](_0x16417a))[_0x1a9f2d(0x2ba)];}async['getDeserializedSheetBlock'](_0x5e3fa2,_0x47736b){var _0x2479b4=_0x54341f;const {unitID:_0x596e9f,type:_0x2f1c2b,blockID:_0x1e3cc9}=_0x47736b,_0x608a4a=this[_0x2479b4(0x15f)]()+_0x2479b4(0x3f2)+_0x2f1c2b+'/unit/'+_0x596e9f+_0x2479b4(0x3f2)+_0x1e3cc9;return(await this[_0x2479b4(0x132)]['get'](_0x608a4a))['body'];}async[_0x54341f(0x2da)](_0x1d7959,_0x131482){var _0x318b88=_0x54341f;const {unitID:_0x3a06cd,type:_0x2a8754,from:_0xf200ec,to:_0x55ca9a}=_0x131482,_0x228c32=this[_0x318b88(0x15f)]()+'/'+_0x2a8754+_0x318b88(0x360)+_0x3a06cd+_0x318b88(0x3a3)+_0xf200ec+_0x318b88(0xf5)+_0x55ca9a;return(await this['_httpService']['get'](_0x228c32))[_0x318b88(0x2ba)];}[_0x54341f(0x386)](){var _0x37753b=_0x54341f,_0x23e603;return(_0x23e603=this['_configService'][_0x37753b(0x347)](Dt))!=null?_0x23e603:this['_getAPIPrefix']();}[_0x54341f(0x15f)](){var _0x55e8b0;const _0xc8b008=this['_configService']['getConfig'](Y);return(_0x55e8b0=_0xc8b008==null?void 0x0:_0xc8b008['snapshotServerUrl'])!=null?_0x55e8b0:Nt;}async['getResourcesRequest'](_0xab9430,_0x23d0c1){var _0x33003b=_0x54341f;const _0x50945f=_0x33003b(0x211)+_0x23d0c1[_0x33003b(0x37a)]+'/unit/'+_0x23d0c1[_0x33003b(0x1bb)]+_0x33003b(0x367);return(await this[_0x33003b(0x132)][_0x33003b(0x345)](_0x50945f,{'params':{'resourceId':JSON[_0x33003b(0x3ef)](_0x23d0c1[_0x33003b(0x18d)])}}))['body'];}[_0x54341f(0x2dc)](){var _0x341a8c=_0x54341f;throw new Error(_0x341a8c(0x3fe));}[_0x54341f(0x266)](){var _0x3380e0=_0x54341f;throw new Error(_0x3380e0(0x3fe));}[_0x54341f(0x36c)](){var _0x212483=_0x54341f;throw new Error(_0x212483(0x3fe));}[_0x54341f(0x334)](){var _0x4c5e5d=_0x54341f;throw new Error(_0x4c5e5d(0x3fe));}[_0x54341f(0xa8)](){var _0x315f90=_0x54341f;throw new Error(_0x315f90(0x3fe));}['getLatestCsReqIdBySid'](){var _0x38e938=_0x54341f;throw new Error(_0x38e938(0x3fe));}},exports['SnapshotServerOverHTTPService']=Sn([at(0x0,a[_0x54341f(0x370)]),at(0x1,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)]))],exports[_0x54341f(0x158)]);var fn=Object[_0x54341f(0x2d4)],In=(_0x457363,_0xaf581c,_0x3e3733,_0x21cfa1)=>{var _0x3c5cfa=_0x54341f;for(var _0xe64c8a=_0x21cfa1>0x1?void 0x0:_0x21cfa1?fn(_0xaf581c,_0x3e3733):_0xaf581c,_0x1b727a=_0x457363[_0x3c5cfa(0x1e8)]-0x1,_0x52c3d6;_0x1b727a>=0x0;_0x1b727a--)(_0x52c3d6=_0x457363[_0x1b727a])&&(_0xe64c8a=_0x52c3d6(_0xe64c8a)||_0xe64c8a);return _0xe64c8a;},ue=(_0x4fc89b,_0x16cfb4)=>(_0x4fc18e,_0x5edf7d)=>_0x16cfb4(_0x4fc18e,_0x5edf7d,_0x4fc89b);exports[_0x54341f(0x267)]=class extends a[_0x54341f(0x35d)]{constructor(_0x3ef0c0,_0x84fe6c,_0x1f58f3,_0x2016b6,_0x59fe00){var _0x3ed81f=_0x54341f;super(_0x3ef0c0,_0x84fe6c,_0x1f58f3),this[_0x3ed81f(0x348)]=_0x2016b6,this['_logService']=_0x59fe00;}[_0x54341f(0xc1)](_0x5e116a,_0x18d01a){var _0x490d64=_0x54341f;const _0x381f41=this[_0x490d64(0x193)](_0x5e116a);if(_0x381f41)try{const _0x37929f=this[_0x490d64(0x205)](_0x381f41,_0x18d01a);this[_0x490d64(0x3f1)](_0x5e116a,_0x37929f);}catch(_0x2cf1a3){this['_logService'][_0x490d64(0x146)](_0x490d64(0x24b),_0x2cf1a3),this[_0x490d64(0x354)](_0x5e116a);}const _0x523212=this[_0x490d64(0x14b)](_0x5e116a);if(_0x523212)try{const _0x3199c2=this[_0x490d64(0x205)](_0x523212,_0x18d01a);this['_substituteRedoStack'](_0x5e116a,_0x3199c2);}catch(_0xdca126){this['_logService'][_0x490d64(0x146)](_0xdca126),this[_0x490d64(0x353)](_0x5e116a);}}['_clearUndo'](_0x35f423){var _0x39e426=_0x54341f;const _0x4c5e24=this[_0x39e426(0x193)](_0x35f423);_0x4c5e24&&(_0x4c5e24[_0x39e426(0x1e8)]=0x0,this['_updateStatus']());}[_0x54341f(0x353)](_0x2c45d1){var _0x2efb3e=_0x54341f;const _0x391c6e=this[_0x2efb3e(0x14b)](_0x2c45d1);_0x391c6e&&(_0x391c6e[_0x2efb3e(0x1e8)]=0x0,this[_0x2efb3e(0x127)]());}[_0x54341f(0x3f1)](_0x17edc6,_0x2bfedd){var _0x26919d=_0x54341f;this[_0x26919d(0x406)][_0x26919d(0x2f5)](_0x17edc6,_0x2bfedd),this[_0x26919d(0x127)]();}[_0x54341f(0xc9)](_0xc57855,_0x5daf19){this['_redoStacks']['set'](_0xc57855,_0x5daf19),this['_updateStatus']();}['_transformStack'](_0x55796b,_0x54b3ac){var _0x48fbb2=_0x54341f;const _0x345386=[];let _0x11271f=_0x54b3ac,_0x426563=_0x54b3ac;for(let _0x294b1d=_0x55796b[_0x48fbb2(0x1e8)]-0x1;_0x294b1d>=0x0;_0x294b1d--){const {unitID:_0x474bb2,undoMutations:_0x1e837a,redoMutations:_0xfd5b4e}=_0x55796b[_0x294b1d],_0x4b3ab3=this[_0x48fbb2(0x348)][_0x48fbb2(0x2f2)](_0x11271f,_0x1e837a),_0x20a3b5=this['_transformService'][_0x48fbb2(0x2f2)](_0x426563,_0xfd5b4e);if(p[_0x48fbb2(0x3c6)](_0x4b3ab3)||p['isTransformMutationsWithChangesetFailure'](_0x20a3b5)){this[_0x48fbb2(0x1dc)]['error'](_0x48fbb2(0x24b),_0x48fbb2(0x3b0),_0x4b3ab3,_0x20a3b5);break;}_0x11271f=_0x4b3ab3[_0x48fbb2(0x3f6)],_0x426563=_0x20a3b5[_0x48fbb2(0x3f6)],_0x345386[_0x48fbb2(0x16f)]({'unitID':_0x474bb2,'undoMutations':_0x4b3ab3['m2Prime'],'redoMutations':_0x20a3b5[_0x48fbb2(0x1f4)]});}return _0x345386['reverse']();}},exports[_0x54341f(0x267)]=In([ue(0x0,a[_0x54341f(0x29b)]),ue(0x1,a[_0x54341f(0x37c)]),ue(0x2,a[_0x54341f(0x2d8)]),ue(0x3,p['ITransformService']),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x54341f(0x1a9)],mn=Object[_0x54341f(0x2d4)],gn=(_0xceeeee,_0x88d08c,_0x3a9421)=>_0x88d08c in _0xceeeee?pn(_0xceeeee,_0x88d08c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a9421}):_0xceeeee[_0x88d08c]=_0x3a9421,En=(_0x122ac5,_0xa484f9,_0x26fb05,_0x4c7399)=>{var _0x22ca00=_0x54341f;for(var _0x2fd4dc=_0x4c7399>0x1?void 0x0:_0x4c7399?mn(_0xa484f9,_0x26fb05):_0xa484f9,_0x3ba3b3=_0x122ac5[_0x22ca00(0x1e8)]-0x1,_0x4c5b6e;_0x3ba3b3>=0x0;_0x3ba3b3--)(_0x4c5b6e=_0x122ac5[_0x3ba3b3])&&(_0x2fd4dc=_0x4c5b6e(_0x2fd4dc)||_0x2fd4dc);return _0x2fd4dc;},Le=(_0x461ebf,_0x5075f2)=>(_0xe78175,_0x392c77)=>_0x5075f2(_0xe78175,_0x392c77,_0x461ebf),Cn=(_0x4db87b,_0x4077fd,_0x202616)=>gn(_0x4db87b,_0x4077fd+'',_0x202616);const Tn=_0x54341f(0x3d0);exports[_0x54341f(0x415)]=class extends a[_0x54341f(0x1b7)]{constructor(_0x19c7d5,_0x4aa8da,_0x332598,_0x1ebab5){var _0x42f611=_0x54341f;super(),A(this,_0x42f611(0xad)),(this[_0x42f611(0x1dc)]=_0x4aa8da,this['_injector']=_0x332598,this['_configService']=_0x1ebab5);const {..._0x17da01}=a['merge']({},Zt,_0x19c7d5);if(!_0x17da01[_0x42f611(0x1ed)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x42f611(0xad)]=_0x17da01,this['_configService'][_0x42f611(0x2c8)](Y,_0x17da01);}[_0x54341f(0xe1)](){var _0x396e71=_0x54341f;this[_0x396e71(0x335)](),this[_0x396e71(0x1ae)]();}[_0x54341f(0x335)](){var _0x1ea66e=_0x54341f,_0x5b942b,_0x2247e0;this['_injector'][_0x1ea66e(0x357)](a['IUndoRedoService'])&&this[_0x1ea66e(0x1dc)][_0x1ea66e(0x146)](_0x1ea66e(0x3bc),_0x1ea66e(0x241));const _0x567b27=a[_0x1ea66e(0x217)]([[a['IUndoRedoService'],{'useClass':exports[_0x1ea66e(0x267)]}],[exports[_0x1ea66e(0xcf)]],[exports[_0x1ea66e(0xe5)]],[exports[_0x1ea66e(0x25a)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x1ea66e(0x333)]],[Fe,{'useClass':this[_0x1ea66e(0xad)]['socketService']}],[p['ISnapshotServerService'],{'useClass':exports[_0x1ea66e(0x158)]}],[a[_0x1ea66e(0x253)],{'useClass':exports[_0x1ea66e(0x32e)]}],[z[_0x1ea66e(0x19e)],{'useClass':exports[_0x1ea66e(0x1b6)]}],[a[_0x1ea66e(0x2eb)],{'useClass':exports[_0x1ea66e(0x1ef)]}],[exports[_0x1ea66e(0x101)]],[xe]],(_0x5b942b=this[_0x1ea66e(0xad)])==null?void 0x0:_0x5b942b[_0x1ea66e(0x344)]);if(!((_0x2247e0=this[_0x1ea66e(0xad)])!=null&&_0x2247e0[_0x1ea66e(0x100)])){const _0x42d6ee=_0x567b27['findIndex'](([_0x143d1d])=>_0x143d1d===de);_0x42d6ee!==-0x1&&_0x567b27[_0x1ea66e(0x2cb)](_0x42d6ee,0x1);}a['registerDependencies'](this['_injector'],_0x567b27);}[_0x54341f(0x1ae)](){var _0x5cf5f1=_0x54341f,_0x3657d8,_0x38a908,_0x11666b;this[_0x5cf5f1(0x3a1)]['get'](q[_0x5cf5f1(0x307)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3657d8=this[_0x5cf5f1(0xad)])!=null&&_0x3657d8[_0x5cf5f1(0x40e)]||(_0x38a908=this[_0x5cf5f1(0x3a1)]['get'](K,a['Quantity']['OPTIONAL']))==null||_0x38a908[_0x5cf5f1(0x124)](),(_0x11666b=this[_0x5cf5f1(0xad)])!=null&&_0x11666b['enableAuthServer']&&a['touchDependencies'](this[_0x5cf5f1(0x3a1)],[[ye]]),a[_0x5cf5f1(0x1b4)](this['_injector'],[[Ne],[exports[_0x5cf5f1(0x101)]],[De]]);}},Cn(exports[_0x54341f(0x415)],_0x54341f(0x269),Tn),exports['UniverCollaborationClientPlugin']=En([a[_0x54341f(0x17c)](p['UniverCollaborationPlugin'],q[_0x54341f(0x12e)]),Le(0x1,a[_0x54341f(0x21a)]),Le(0x2,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),Le(0x3,a['IConfigService'])],exports[_0x54341f(0x415)]),exports[_0x54341f(0x400)]=Y,exports[_0x54341f(0xdc)]=je,exports[_0x54341f(0x22c)]=Z,exports[_0x54341f(0x174)]=ee,exports[_0x54341f(0xfc)]=$e,exports[_0x54341f(0xef)]=ht,exports[_0x54341f(0x1e9)]=jt,exports[_0x54341f(0x1f3)]=At,exports[_0x54341f(0x116)]=_t,exports[_0x54341f(0x298)]=ke,exports[_0x54341f(0x1da)]=Fe,exports[_0x54341f(0x310)]=K,exports['INetworkConditionService']=pt,exports[_0x54341f(0x163)]=de,exports['LOCAL_CACHE_INTERVAL']=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=Lt,exports[_0x54341f(0x260)]=Ht,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports[_0x54341f(0x173)]=re,exports[_0x54341f(0x215)]=He,exports['deserializeToCombResponse']=mt,exports[_0x54341f(0xe3)]=Kt,exports[_0x54341f(0x141)]=gt;
1
+ 'use strict';var _0x38e6f9=_0x3427;(function(_0x1675e2,_0x37a695){var _0x14e28e=_0x3427,_0x3fc050=_0x1675e2();while(!![]){try{var _0x4f06be=-parseInt(_0x14e28e(0x4c8))/0x1+-parseInt(_0x14e28e(0x23c))/0x2+parseInt(_0x14e28e(0x31c))/0x3*(parseInt(_0x14e28e(0x39b))/0x4)+parseInt(_0x14e28e(0x218))/0x5+-parseInt(_0x14e28e(0x29d))/0x6+-parseInt(_0x14e28e(0x2cb))/0x7+-parseInt(_0x14e28e(0x3d7))/0x8*(-parseInt(_0x14e28e(0x358))/0x9);if(_0x4f06be===_0x37a695)break;else _0x3fc050['push'](_0x3fc050['shift']());}catch(_0x5f2423){_0x3fc050['push'](_0x3fc050['shift']());}}}(_0x8cd4,0xd9dd2));var bt=Object[_0x38e6f9(0x254)],Ot=(_0x16c093,_0x1ac2ca,_0x41c29e)=>_0x1ac2ca in _0x16c093?bt(_0x16c093,_0x1ac2ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41c29e}):_0x16c093[_0x1ac2ca]=_0x41c29e,A=(_0x115aa0,_0x2b0fea,_0x40e245)=>Ot(_0x115aa0,typeof _0x2b0fea!=_0x38e6f9(0x35d)?_0x2b0fea+'':_0x2b0fea,_0x40e245);Object['defineProperty'](exports,Symbol[_0x38e6f9(0x44c)],{'value':'Module'});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x38e6f9(0x4a2),Dt=_0x38e6f9(0x426),Ut=0x7d0,ht='ws://127.0.0.1:8000/universer-api/comb/connect',At=_0x38e6f9(0x32d),_t=_0x38e6f9(0x4a9),Pt=0x7530,ke=_0x38e6f9(0x2eb),lt=0x4e20,wt=0x4e20,ut=_0x38e6f9(0x39f),Mt=0x3,Lt='LOCAL_CACHE_INTERVAL',xt=0x3e8,kt='/universer-api/comb',$t=_0x38e6f9(0x394),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt=_0x38e6f9(0x22f);var dt=(_0x55e79c=>(_0x55e79c[_0x55e79c[_0x38e6f9(0x3fc)]=0x0]=_0x38e6f9(0x3fc),_0x55e79c[_0x55e79c['OK']=0x1]='OK',_0x55e79c[_0x55e79c[_0x38e6f9(0x1e8)]=0x2]=_0x38e6f9(0x1e8),_0x55e79c[_0x55e79c['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x55e79c[_0x55e79c['NOT_FOUND']=0x4]=_0x38e6f9(0x28c),_0x55e79c[_0x55e79c[_0x38e6f9(0x4cb)]=0x5]=_0x38e6f9(0x4cb),_0x55e79c[_0x55e79c[_0x38e6f9(0x2a0)]=0x6]=_0x38e6f9(0x2a0),_0x55e79c[_0x55e79c['INVALID_ARGUMENT']=0x7]=_0x38e6f9(0x26e),_0x55e79c[_0x55e79c['TOO_MANY_REQUESTS']=0x8]=_0x38e6f9(0x3d3),_0x55e79c[_0x55e79c[_0x38e6f9(0x4bc)]=0x9]=_0x38e6f9(0x4bc),_0x55e79c[_0x55e79c[_0x38e6f9(0x471)]=0xa]='LOGIN_FAILED',_0x55e79c[_0x55e79c[_0x38e6f9(0x2bc)]=0xb]=_0x38e6f9(0x2bc),_0x55e79c[_0x55e79c[_0x38e6f9(0x37b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x55e79c[_0x55e79c[_0x38e6f9(0x28a)]=0xd]=_0x38e6f9(0x28a),_0x55e79c[_0x55e79c[_0x38e6f9(0x2b1)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x55e79c[_0x55e79c[_0x38e6f9(0x342)]=0x1389]=_0x38e6f9(0x342),_0x55e79c[_0x55e79c[_0x38e6f9(0x29b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x55e79c[_0x55e79c[_0x38e6f9(0x4c9)]=0x1772]=_0x38e6f9(0x4c9),_0x55e79c[_0x55e79c[_0x38e6f9(0x389)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x55e79c[_0x55e79c[_0x38e6f9(0x47f)]=0x1b59]=_0x38e6f9(0x47f),_0x55e79c[_0x55e79c[_0x38e6f9(0x240)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x55e79c[_0x55e79c[_0x38e6f9(0x2be)]=0x1b5b]=_0x38e6f9(0x2be),_0x55e79c[_0x55e79c[_0x38e6f9(0x2af)]=0x1b5c]=_0x38e6f9(0x2af),_0x55e79c[_0x55e79c[_0x38e6f9(0x1fb)]=0x1b5d]='APPLY_DUPLICATED',_0x55e79c[_0x55e79c[_0x38e6f9(0x22a)]=0x1f41]=_0x38e6f9(0x22a),_0x55e79c[_0x55e79c[_0x38e6f9(0x50a)]=0x2329]=_0x38e6f9(0x50a),_0x55e79c[_0x55e79c[_0x38e6f9(0x540)]=0x232a]=_0x38e6f9(0x540),_0x55e79c[_0x55e79c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x38e6f9(0x4f5),_0x55e79c[_0x55e79c[_0x38e6f9(0x3e9)]=0x232c]=_0x38e6f9(0x3e9),_0x55e79c[_0x55e79c[_0x38e6f9(0x282)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x55e79c[_0x55e79c[_0x38e6f9(0x3de)]=0x2711]=_0x38e6f9(0x3de),_0x55e79c[_0x55e79c[_0x38e6f9(0x526)]=0x2712]=_0x38e6f9(0x526),_0x55e79c[_0x55e79c[_0x38e6f9(0x50b)]=0x2713]=_0x38e6f9(0x50b),_0x55e79c[_0x55e79c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x38e6f9(0x34e),_0x55e79c[_0x55e79c[_0x38e6f9(0x43a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x55e79c[_0x55e79c[_0x38e6f9(0x516)]=0x271b]=_0x38e6f9(0x516),_0x55e79c[_0x55e79c[_0x38e6f9(0x3d1)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x55e79c[_0x55e79c[_0x38e6f9(0x42f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x55e79c[_0x55e79c[_0x38e6f9(0x403)]=0x271e]=_0x38e6f9(0x403),_0x55e79c[_0x55e79c[_0x38e6f9(0x381)]=0x271f]=_0x38e6f9(0x381),_0x55e79c[_0x55e79c[_0x38e6f9(0x4ee)]=0x2720]=_0x38e6f9(0x4ee),_0x55e79c[_0x55e79c[_0x38e6f9(0x468)]=0x2af9]=_0x38e6f9(0x468),_0x55e79c[_0x55e79c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x38e6f9(0x50e),_0x55e79c[_0x55e79c[_0x38e6f9(0x3e5)]=0x2ee2]=_0x38e6f9(0x3e5),_0x55e79c[_0x55e79c[_0x38e6f9(0x27d)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x55e79c[_0x55e79c[_0x38e6f9(0x529)]=0x2ee4]=_0x38e6f9(0x529),_0x55e79c[_0x55e79c[_0x38e6f9(0x27b)]=0x2ee5]=_0x38e6f9(0x27b),_0x55e79c[_0x55e79c[_0x38e6f9(0x442)]=0x32c9]=_0x38e6f9(0x442),_0x55e79c[_0x55e79c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x38e6f9(0x2f6),_0x55e79c[_0x55e79c[_0x38e6f9(0x2a8)]=0x32cb]=_0x38e6f9(0x2a8),_0x55e79c[_0x55e79c[_0x38e6f9(0x1f7)]=-0x1]='UNRECOGNIZED',_0x55e79c))(dt||{}),J=(_0x4904bb=>(_0x4904bb[_0x4904bb['UNIVER_UNKNOWN']=0x0]=_0x38e6f9(0x284),_0x4904bb[_0x4904bb['UNIVER_DOC']=0x1]=_0x38e6f9(0x247),_0x4904bb[_0x4904bb[_0x38e6f9(0x406)]=0x2]=_0x38e6f9(0x406),_0x4904bb[_0x4904bb[_0x38e6f9(0x4d0)]=0x3]='UNIVER_SLIDE',_0x4904bb[_0x4904bb['UNIVER_PROJECT']=0x4]=_0x38e6f9(0x303),_0x4904bb[_0x4904bb['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4904bb))(J||{}),W=(_0x269f00=>(_0x269f00[_0x269f00[_0x38e6f9(0x233)]=0x0]=_0x38e6f9(0x233),_0x269f00[_0x269f00[_0x38e6f9(0x510)]=0x1]=_0x38e6f9(0x510),_0x269f00[_0x269f00['JOIN']=0x2]=_0x38e6f9(0x326),_0x269f00[_0x269f00['LEAVE']=0x3]=_0x38e6f9(0x42b),_0x269f00[_0x269f00['INGEST']=0x4]=_0x38e6f9(0x1f2),_0x269f00[_0x269f00['HEARTBEAT']=0x5]='HEARTBEAT',_0x269f00[_0x269f00[_0x38e6f9(0x205)]=0x6]=_0x38e6f9(0x205),_0x269f00[_0x269f00[_0x38e6f9(0x1f7)]=-0x1]=_0x38e6f9(0x1f7),_0x269f00))(W||{}),se=(_0x48b07c=>(_0x48b07c[_0x48b07c[_0x38e6f9(0x34b)]=0x0]=_0x38e6f9(0x34b),_0x48b07c[_0x48b07c['OK']=0x1]='OK',_0x48b07c[_0x48b07c[_0x38e6f9(0x367)]=0x2]=_0x38e6f9(0x367),_0x48b07c[_0x48b07c['JOIN_ROOM_FULL']=0x3e9]=_0x38e6f9(0x3e0),_0x48b07c[_0x48b07c[_0x38e6f9(0x49a)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x48b07c[_0x48b07c[_0x38e6f9(0x52d)]=0x3eb]=_0x38e6f9(0x52d),_0x48b07c[_0x48b07c[_0x38e6f9(0x4ba)]=0x3ec]=_0x38e6f9(0x4ba),_0x48b07c[_0x48b07c[_0x38e6f9(0x1f7)]=-0x1]=_0x38e6f9(0x1f7),_0x48b07c))(se||{}),vt=(_0x2b5965=>(_0x2b5965[_0x2b5965[_0x38e6f9(0x1e3)]=0x0]='Undefined',_0x2b5965[_0x2b5965[_0x38e6f9(0x2cf)]=0x1]=_0x38e6f9(0x2cf),_0x2b5965[_0x2b5965['HttpExport']=0x2]=_0x38e6f9(0x31b),_0x2b5965[_0x2b5965[_0x38e6f9(0x341)]=0x3]=_0x38e6f9(0x341),_0x2b5965[_0x2b5965[_0x38e6f9(0x3c2)]=0x4]='UnitSnapshot',_0x2b5965[_0x2b5965[_0x38e6f9(0x52c)]=0x5]=_0x38e6f9(0x52c),_0x2b5965[_0x2b5965['UNRECOGNIZED']=-0x1]=_0x38e6f9(0x1f7),_0x2b5965))(vt||{});const Bt='collaboration_new_changeset';function Ft(_0x1e93bc){var _0x4fde5f=_0x38e6f9;return JSON['stringify'](_0x1e93bc)[_0x4fde5f(0x4aa)];}var Z=(_0x16bebb=>(_0x16bebb[_0x38e6f9(0x2fd)]=_0x38e6f9(0x2fd),_0x16bebb[_0x38e6f9(0x37c)]='PERMISSION_DENIED',_0x16bebb[_0x38e6f9(0x265)]=_0x38e6f9(0x265),_0x16bebb[_0x38e6f9(0x488)]=_0x38e6f9(0x488),_0x16bebb[_0x38e6f9(0x37e)]=_0x38e6f9(0x37e),_0x16bebb[_0x38e6f9(0x49b)]=_0x38e6f9(0x49b),_0x16bebb[_0x38e6f9(0x432)]=_0x38e6f9(0x432),_0x16bebb['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x16bebb))(Z||{});class ee{constructor(){var _0x10d09d=_0x38e6f9;A(this,_0x10d09d(0x288),new H['Subject']()),A(this,_0x10d09d(0x20e),this['_event$'][_0x10d09d(0x522)]());}[_0x38e6f9(0x3f2)](_0x2ad8d7){this['_event$']['next'](_0x2ad8d7);}}class $e{constructor(){var _0x53e56f=_0x38e6f9;A(this,_0x53e56f(0x4e0),new H[(_0x53e56f(0x45c))]()),A(this,_0x53e56f(0x3ad),this[_0x53e56f(0x4e0)][_0x53e56f(0x522)]());}['onCommentUpdate'](_0x1a20d7){var _0x10dc85=_0x38e6f9;this[_0x10dc85(0x4e0)]['next'](_0x1a20d7);}}var Vt=Object[_0x38e6f9(0x513)],Wt=(_0x55cf64,_0x139bed,_0x182fc2,_0x27653f)=>{for(var _0x15ae71=_0x27653f>0x1?void 0x0:_0x27653f?Vt(_0x139bed,_0x182fc2):_0x139bed,_0x32247c=_0x55cf64['length']-0x1,_0x23f816;_0x32247c>=0x0;_0x32247c--)(_0x23f816=_0x55cf64[_0x32247c])&&(_0x15ae71=_0x23f816(_0x15ae71)||_0x15ae71);return _0x15ae71;},Ve=(_0x14b54e,_0x512f1b)=>(_0xf81c74,_0x3bd44e)=>_0x512f1b(_0xf81c74,_0x3bd44e,_0x14b54e);exports[_0x38e6f9(0x458)]=class extends a['Disposable']{constructor(_0xd7aa18,_0x554e9a){var _0x3e94f1=_0x38e6f9;super(),A(this,'_roomMembers',new Map()),A(this,'_roomCreated$',new H[(_0x3e94f1(0x45c))]()),(this['_univerInstanceService']=_0xd7aa18,this['_userManagerService']=_0x554e9a,this['disposeWithMe'](H[_0x3e94f1(0x42c)](this[_0x3e94f1(0x231)][_0x3e94f1(0x505)](a[_0x3e94f1(0x34a)][_0x3e94f1(0x406)])['pipe'](V[_0x3e94f1(0x24d)](_0x1d49d6=>_0x1d49d6[_0x3e94f1(0x42d)]())),this['_univerInstanceService'][_0x3e94f1(0x505)](a[_0x3e94f1(0x34a)][_0x3e94f1(0x247)])[_0x3e94f1(0x2c4)](V[_0x3e94f1(0x24d)](_0x29a358=>_0x29a358['getUnitId']())),this[_0x3e94f1(0x231)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](V[_0x3e94f1(0x24d)](_0x4a00e7=>_0x4a00e7[_0x3e94f1(0x42d)]())))['subscribe'](_0x2e6be8=>this[_0x3e94f1(0x1ef)](_0x2e6be8))));}[_0x38e6f9(0x41b)](_0x5c9cf9){var _0x59da86=_0x38e6f9;return this['_roomMembers'][_0x59da86(0x306)](_0x5c9cf9)?H['of'](this['_roomMembers']['get'](_0x5c9cf9)):this['_roomCreated$'][_0x59da86(0x2c4)](V[_0x59da86(0x24d)](_0x394e92=>{var _0x1c8caa=_0x59da86;if(_0x394e92===_0x5c9cf9)return this[_0x1c8caa(0x552)][_0x1c8caa(0x2b5)](_0x394e92);}));}[_0x38e6f9(0x262)](_0x493687){var _0x33ab10=_0x38e6f9;this[_0x33ab10(0x3a3)][_0x33ab10(0x262)](_0x493687);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}[_0x38e6f9(0x40e)](_0xd2f25b,_0x2e1268){var _0x32bf49=_0x38e6f9;let _0x238adf=this[_0x32bf49(0x552)][_0x32bf49(0x2b5)](_0xd2f25b);_0x238adf||(_0x238adf=new Gt(),this[_0x32bf49(0x552)][_0x32bf49(0x2ef)](_0xd2f25b,_0x238adf),this[_0x32bf49(0x357)][_0x32bf49(0x203)](_0xd2f25b)),_0x238adf['updateMember'](_0x2e1268);}['removeMember'](_0x576419,_0x2baaa9){var _0x1e7c35=_0x38e6f9;const _0x2f7adb=this['_roomMembers'][_0x1e7c35(0x2b5)](_0x576419);_0x2f7adb&&_0x2f7adb['removeMember'](_0x2baaa9);}['getRoom'](_0x4a0e91){var _0x18bea1=_0x38e6f9;return this[_0x18bea1(0x552)][_0x18bea1(0x2b5)](_0x4a0e91);}['getMember'](_0x120ad9,_0x597eba){var _0x379a0c=_0x38e6f9;const _0x31fad7=this[_0x379a0c(0x552)][_0x379a0c(0x2b5)](_0x120ad9);if(_0x31fad7)return _0x31fad7['getMember'](_0x597eba);}[_0x38e6f9(0x1ef)](_0xf09293){var _0x290fa8=_0x38e6f9;const _0x349139=this['_roomMembers'][_0x290fa8(0x2b5)](_0xf09293);_0x349139&&(_0x349139['dispose'](),this['_roomMembers'][_0x290fa8(0x542)](_0xf09293));}[_0x38e6f9(0x320)](){var _0x145a4e=_0x38e6f9;this['_roomMembers'][_0x145a4e(0x2db)](_0xafa414=>_0xafa414[_0x145a4e(0x320)]()),this['_roomMembers'][_0x145a4e(0x1e7)](),this[_0x145a4e(0x357)][_0x145a4e(0x211)]();}},exports[_0x38e6f9(0x458)]=Wt([Ve(0x0,a[_0x38e6f9(0x46c)]),Ve(0x1,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x396)]))],exports['MemberService']);class Gt extends a[_0x38e6f9(0x2e7)]{constructor(){var _0x5e6d37=_0x38e6f9;super(...arguments),A(this,_0x5e6d37(0x412),new Map()),A(this,_0x5e6d37(0x448),new H[(_0x5e6d37(0x51e))](this[_0x5e6d37(0x412)])),A(this,_0x5e6d37(0x427),this['_members$'][_0x5e6d37(0x522)]());}[_0x38e6f9(0x320)](){var _0x341d12=_0x38e6f9;this[_0x341d12(0x412)]['clear']();}[_0x38e6f9(0x40e)](_0x58d9a6){var _0x25e99a=_0x38e6f9;this['_members'][_0x25e99a(0x2ef)](_0x58d9a6[_0x25e99a(0x200)],_0x58d9a6),this[_0x25e99a(0x441)]();}[_0x38e6f9(0x2a9)](_0x32305b){this['_members']['delete'](_0x32305b);}['getMember'](_0x3556b2){var _0x2f6c85=_0x38e6f9;return this[_0x2f6c85(0x412)]['get'](_0x3556b2);}[_0x38e6f9(0x23f)](){var _0x43a18a=_0x38e6f9;return Array[_0x43a18a(0x538)](this[_0x43a18a(0x412)][_0x43a18a(0x2a2)]());}[_0x38e6f9(0x441)](){var _0x1a6523=_0x38e6f9;this[_0x1a6523(0x448)]['next'](this[_0x1a6523(0x412)]);}}var Yt=Object[_0x38e6f9(0x513)],qt=(_0x2e5d1a,_0xf73f9c,_0x390e6a,_0x556346)=>{var _0x55a084=_0x38e6f9;for(var _0x1e7b75=_0x556346>0x1?void 0x0:_0x556346?Yt(_0xf73f9c,_0x390e6a):_0xf73f9c,_0x510391=_0x2e5d1a[_0x55a084(0x4aa)]-0x1,_0x1746a6;_0x510391>=0x0;_0x510391--)(_0x1746a6=_0x2e5d1a[_0x510391])&&(_0x1e7b75=_0x1746a6(_0x1e7b75)||_0x1e7b75);return _0x1e7b75;},ce=(_0x202076,_0x2dc3a5)=>(_0x5129a3,_0x333906)=>_0x2dc3a5(_0x5129a3,_0x333906,_0x202076),re=(_0x14eee1=>(_0x14eee1[_0x14eee1[_0x38e6f9(0x487)]=0x0]='IDLE',_0x14eee1[_0x14eee1['JOINING']=0x1]=_0x38e6f9(0x23d),_0x14eee1[_0x14eee1[_0x38e6f9(0x433)]=0x2]=_0x38e6f9(0x433),_0x14eee1[_0x14eee1[_0x38e6f9(0x3fd)]=0x3]=_0x38e6f9(0x3fd),_0x14eee1))(re||{});const We={[se[_0x38e6f9(0x367)]]:_0x38e6f9(0x384),[se[_0x38e6f9(0x3e0)]]:_0x38e6f9(0x30c),[se[_0x38e6f9(0x49a)]]:_0x38e6f9(0x4a6),[se[_0x38e6f9(0x52d)]]:_0x38e6f9(0x4bd),[se['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x38e6f9(0x1ee)};exports[_0x38e6f9(0x264)]=class extends a['RxDisposable']{constructor(_0x2d2f6e,_0x48da18,_0x2df71a,_0x2805d4,_0x21bdea,_0x23c50d,_0xf11b97,_0xf6c62c){var _0x3b7d07=_0x38e6f9;super(),A(this,_0x3b7d07(0x39c),new H['BehaviorSubject'](0x0)),A(this,_0x3b7d07(0x548),this['_sessionStatus$'][_0x3b7d07(0x522)]()),A(this,'_event$',new H[(_0x3b7d07(0x45c))]()),A(this,_0x3b7d07(0x20e),this[_0x3b7d07(0x288)][_0x3b7d07(0x522)]()),A(this,_0x3b7d07(0x422)),A(this,'_socketMessageSubscription'),A(this,'_collaborationTimeoutTimer'),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x3b7d07(0x474),null),(this[_0x3b7d07(0x2e2)]=_0x2d2f6e,this['_logService']=_0x2df71a,this[_0x3b7d07(0x431)]=_0x2805d4,this['_memberService']=_0x21bdea,this[_0x3b7d07(0x3d5)]=_0x23c50d,this[_0x3b7d07(0x310)]=_0xf11b97,this[_0x3b7d07(0x32a)]=_0xf6c62c,this[_0x3b7d07(0x52f)]=!!this[_0x3b7d07(0x32a)],_0x48da18[_0x3b7d07(0x2c4)](H[_0x3b7d07(0x4b2)](this['dispose$']))['subscribe'](_0x54f7d2=>{var _0x3ebe06=_0x3b7d07,_0x3c5575;typeof _0x54f7d2>'u'||(this[_0x3ebe06(0x422)]=_0x54f7d2,_0x54f7d2?(this[_0x3ebe06(0x4b8)](_0x54f7d2),this[_0x3ebe06(0x50c)]=_0x54f7d2[_0x3ebe06(0x356)][_0x3ebe06(0x508)](_0x11ab46=>{var _0x21c98b=_0x3ebe06;_0x11ab46[_0x21c98b(0x3b5)]===this[_0x21c98b(0x2e2)]&&this[_0x21c98b(0x3a7)](_0x11ab46);})):(this[_0x3ebe06(0x334)](),this[_0x3ebe06(0x39c)][_0x3ebe06(0x203)](0x2),(_0x3c5575=this[_0x3ebe06(0x50c)])==null||_0x3c5575[_0x3ebe06(0x3f6)](),this[_0x3ebe06(0x50c)]=null));}));}get[_0x38e6f9(0x223)](){var _0x16b28d=_0x38e6f9;return this[_0x16b28d(0x39c)][_0x16b28d(0x335)]();}[_0x38e6f9(0x33a)](){var _0xe714b0=_0x38e6f9,_0xa7611d,_0x25ad53;return(_0x25ad53=(_0xa7611d=this[_0xe714b0(0x422)])==null?void 0x0:_0xa7611d[_0xe714b0(0x200)])!=null?_0x25ad53:null;}[_0x38e6f9(0x320)](){var _0x5b1491=_0x38e6f9;super[_0x5b1491(0x320)](),this[_0x5b1491(0x208)][_0x5b1491(0x203)](),this['dispose$'][_0x5b1491(0x211)]();}['close'](){var _0x53811b=_0x38e6f9,_0x55a961,_0x34e5c4;this[_0x53811b(0x334)](),(_0x55a961=this[_0x53811b(0x422)])==null||_0x55a961[_0x53811b(0x2d8)]({'cmd':W[_0x53811b(0x42b)],'data':{'roomID':this[_0x53811b(0x2e2)]}}),(_0x34e5c4=this[_0x53811b(0x422)])==null||_0x34e5c4[_0x53811b(0x400)](),this[_0x53811b(0x288)][_0x53811b(0x211)](),this['_sessionStatus$'][_0x53811b(0x211)](),this[_0x53811b(0x320)]();}[_0x38e6f9(0x3a7)](_0x5a19bd){var _0x3458af=_0x38e6f9;_0x5a19bd[_0x3458af(0x1f8)]===W[_0x3458af(0x326)]?this['_onJoinRoomEvent'](_0x5a19bd):_0x5a19bd[_0x3458af(0x1f8)]===W[_0x3458af(0x205)]&&this[_0x3458af(0x2c7)](_0x5a19bd);}[_0x38e6f9(0x4b8)](_0x15add3){var _0x1edbe2=_0x38e6f9;this[_0x1edbe2(0x39c)]['next'](0x1),_0x15add3[_0x1edbe2(0x2d8)]({'cmd':W[_0x1edbe2(0x326)],'routeKey':this[_0x1edbe2(0x2e2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1edbe2(0x2e2)]}]}});}[_0x38e6f9(0x321)](_0x1402d1){var _0x41120a=_0x38e6f9,_0x2fcf78;if(_0x1402d1[_0x41120a(0x444)]in We){this['_collaborationUIEventService'][_0x41120a(0x3f2)]({'id':Z[_0x41120a(0x37e)],'data':We[_0x1402d1[_0x41120a(0x444)]]}),this[_0x41120a(0x39c)][_0x41120a(0x203)](0x2);return;}this[_0x41120a(0x39c)][_0x41120a(0x203)](0x3);const _0x4a6837=(_0x2fcf78=_0x1402d1[_0x41120a(0x3b8)][_0x41120a(0x2b3)][this['_unitID']])==null?void 0x0:_0x2fcf78[_0x41120a(0x449)];_0x4a6837&&_0x4a6837[_0x41120a(0x2db)](_0x1a2330=>this['_memberService'][_0x41120a(0x40e)](this['_unitID'],_0x1a2330));}[_0x38e6f9(0x2c7)](_0x5e1414){var _0x5ae8d2=_0x38e6f9;try{const _0x43ea80=_0x5e1414['data'];switch(_0x43ea80[_0x5ae8d2(0x227)]){case p[_0x5ae8d2(0x498)][_0x5ae8d2(0x517)]:this['_onUserJoin'](_0x43ea80),this['_event$']['next'](_0x43ea80);break;case p[_0x5ae8d2(0x498)][_0x5ae8d2(0x3f3)]:this[_0x5ae8d2(0x464)](_0x43ea80),this[_0x5ae8d2(0x288)][_0x5ae8d2(0x203)](_0x43ea80);break;case p[_0x5ae8d2(0x498)]['CHANGESET_ACK']:case p['CollaborationEvent'][_0x5ae8d2(0x3da)]:this[_0x5ae8d2(0x530)](),this[_0x5ae8d2(0x3f0)](),this[_0x5ae8d2(0x288)][_0x5ae8d2(0x203)](_0x43ea80);break;case p['CollaborationEvent'][_0x5ae8d2(0x20c)]:this[_0x5ae8d2(0x3ab)]['error'](_0x5ae8d2(0x2d4)+JSON['stringify'](_0x43ea80)),this[_0x5ae8d2(0x288)][_0x5ae8d2(0x203)](_0x43ea80);break;case p[_0x5ae8d2(0x498)][_0x5ae8d2(0x1de)]:this[_0x5ae8d2(0x3d5)][_0x5ae8d2(0x2d3)](_0x43ea80['data']),this[_0x5ae8d2(0x288)][_0x5ae8d2(0x203)](_0x43ea80);break;default:this[_0x5ae8d2(0x288)]['next'](_0x43ea80);}}catch(_0x12475d){this['_logService'][_0x5ae8d2(0x447)](_0x12475d,_0x5e1414);}}[_0x38e6f9(0x26f)](_0x271385){var _0xe136eb=_0x38e6f9;this['_memberService'][_0xe136eb(0x40e)](this[_0xe136eb(0x2e2)],_0x271385[_0xe136eb(0x3b8)]);}['_onUserLeave'](_0x1e2b5d){var _0x28ed3b=_0x38e6f9;this[_0x28ed3b(0x3c1)][_0x28ed3b(0x2a9)](this[_0x28ed3b(0x2e2)],_0x1e2b5d['data'][_0x28ed3b(0x200)]);}async['send'](_0x4ecb2f,_0x3d0123){var _0x4a0e0a=_0x38e6f9;if(this['sessionStatus']!==0x3||!this[_0x4a0e0a(0x422)])throw new Error(_0x4a0e0a(0x219));try{_0x4ecb2f['eventID']===p[_0x4a0e0a(0x498)][_0x4a0e0a(0x26a)]&&(this[_0x4a0e0a(0x49e)](),this['_startTelemetryCollaborationNewChangeset'](_0x4ecb2f)),this['_socket'][_0x4a0e0a(0x2d8)]({'cmd':W[_0x4a0e0a(0x1f2)],'routeKey':_0x3d0123,'routeType':'','data':_0x4ecb2f});}catch(_0x55bd8a){this['_logService'][_0x4a0e0a(0x447)](_0x55bd8a);}}[_0x38e6f9(0x49e)](){var _0x47d2e3=_0x38e6f9,_0x4bccda;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x56ab1d=_0x3427;this[_0x56ab1d(0x27a)]=null,this[_0x56ab1d(0x310)]['emitEvent']({'id':Z[_0x56ab1d(0x1f1)]});},(_0x4bccda=this[_0x47d2e3(0x431)]['getConfig'](ke))!=null?_0x4bccda:lt);}['_clearCollaborationTimeoutTimer'](){var _0x4199e5=_0x38e6f9;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4199e5(0x27a)]=null);}['_startTelemetryCollaborationNewChangeset'](_0xf4f20b){var _0x3ecdef=_0x38e6f9;if(!this[_0x3ecdef(0x52f)])return;const {data:_0x4a8e7c}=_0xf4f20b,{unitID:_0x446018,changeset:_0x1272b3}=_0x4a8e7c,{mutations:_0x3de1ce,type:_0x5a4933}=_0x1272b3;this['_telemetryInfo']={'unitId':_0x446018,'type':_0x5a4933,'startTime':performance[_0x3ecdef(0x289)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x3de1ce)};}[_0x38e6f9(0x530)](){var _0x819a72=_0x38e6f9;if(this[_0x819a72(0x52f)]){if(!this[_0x819a72(0x474)]){this['_logService'][_0x819a72(0x447)]('[CollaborationSession]',_0x819a72(0x460));return;}this[_0x819a72(0x474)][_0x819a72(0x4c0)]=performance[_0x819a72(0x289)](),this[_0x819a72(0x474)]['duration']=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x819a72(0x2f0)],this[_0x819a72(0x32a)]['capture'](Bt,this[_0x819a72(0x474)]),this[_0x819a72(0x474)]=null;}}[_0x38e6f9(0x334)](){this['_telemetryInfo']=null;}},exports[_0x38e6f9(0x264)]=qt([ce(0x2,a['ILogService']),ce(0x3,a[_0x38e6f9(0x338)]),ce(0x4,a[_0x38e6f9(0x28d)](exports['MemberService'])),ce(0x5,a[_0x38e6f9(0x28d)]($e)),ce(0x6,a[_0x38e6f9(0x28d)](ee)),ce(0x7,a[_0x38e6f9(0x4bb)](Rt[_0x38e6f9(0x438)]))],exports[_0x38e6f9(0x264)]);const K=a['createIdentifier'](_0x38e6f9(0x30a));function Kt(_0x3afac7){var _0x9688c6=_0x38e6f9;return _0x9688c6(0x34c)+_0x3afac7;}var zt=Object['getOwnPropertyDescriptor'],Jt=(_0x5d2457,_0x48cbc3,_0x1bd1fc,_0x5eded5)=>{var _0x1abae0=_0x38e6f9;for(var _0x558d71=_0x5eded5>0x1?void 0x0:_0x5eded5?zt(_0x48cbc3,_0x1bd1fc):_0x48cbc3,_0x4610d2=_0x5d2457[_0x1abae0(0x4aa)]-0x1,_0x7cef4d;_0x4610d2>=0x0;_0x4610d2--)(_0x7cef4d=_0x5d2457[_0x4610d2])&&(_0x558d71=_0x7cef4d(_0x558d71)||_0x558d71);return _0x558d71;},Ue=(_0x4eccd1,_0x38876b)=>(_0x218b7e,_0x351651)=>_0x38876b(_0x218b7e,_0x351651,_0x4eccd1);function Xt(_0x51a28f){var _0x33612a=_0x38e6f9;const {unitID:_0x55f28d,mutations:_0x432682}=_0x51a28f;return{'unitId':_0x55f28d,'subUnitId':_0x432682[0x0]['params'][_0x33612a(0x525)]};}exports[_0x38e6f9(0x2a1)]=class{constructor(_0x48dcd8,_0x4ca16d,_0x395238){var _0x56643d=_0x38e6f9;this[_0x56643d(0x434)]=_0x48dcd8,this[_0x56643d(0x241)]=_0x4ca16d,this[_0x56643d(0x541)]=_0x395238;}[_0x38e6f9(0x404)](_0x11204e){var _0x219633=_0x38e6f9,_0x4c397c,_0x276890,_0x319ddc,_0x2c66bf;const _0x1ffd63=this['_injector'][_0x219633(0x2b5)](X[_0x219633(0x2d2)]),{unitId:_0x112575,subUnitId:_0x4389d8}=Xt(_0x11204e),_0xba0cba=_0x1ffd63==null?void 0x0:_0x1ffd63['getWorkbookSelections'](_0x112575)['getCurrentSelections'](),_0x583c39=(_0x276890=(_0x4c397c=this['_instanceService']['getUnit'](_0x112575))==null?void 0x0:_0x4c397c[_0x219633(0x478)]())==null?void 0x0:_0x276890[_0x219633(0x33e)]();if(_0xba0cba[_0x219633(0x4aa)]===0x0||!_0x112575||!_0x4389d8)return;const _0xe50f57=[{'id':X[_0x219633(0x204)]['id'],'params':{'unitId':_0x112575,'subUnitId':_0x583c39,'selections':a['Tools'][_0x219633(0x523)](_0xba0cba)}}],_0x2b622c=this[_0x219633(0x241)][_0x219633(0x22e)](_0x11204e,_0xe50f57);if(!p[_0x219633(0x2de)](_0x2b622c))throw _0x2b622c[_0x219633(0x447)];const _0x2723ef=(_0x2c66bf=(_0x319ddc=_0x2b622c[_0x219633(0x520)][0x0])==null?void 0x0:_0x319ddc[_0x219633(0x473)])==null?void 0x0:_0x2c66bf['selections'];if(Array[_0x219633(0x2d6)](_0x2723ef)&&_0x2723ef[_0x219633(0x4aa)]){if(_0x2723ef[_0x219633(0x4aa)]===_0xe50f57[0x0][_0x219633(0x473)][_0x219633(0x226)][_0x219633(0x4aa)]&&_0x2723ef[_0x219633(0x27e)]((_0x4effac,_0x71140)=>a[_0x219633(0x4dd)]['equals'](_0x4effac[_0x219633(0x497)],_0xe50f57[0x0][_0x219633(0x473)][_0x219633(0x226)][_0x71140]['range'])))return;this[_0x219633(0x434)]['get'](a[_0x219633(0x2e6)])[_0x219633(0x2e1)](X['SetSelectionsOperation']['id'],{'unitId':_0x112575,'subUnitId':_0x583c39,'selections':_0x2723ef});}}},exports[_0x38e6f9(0x2a1)]=Jt([Ue(0x0,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x21d)])),Ue(0x1,p[_0x38e6f9(0x428)]),Ue(0x2,a[_0x38e6f9(0x46c)])],exports[_0x38e6f9(0x2a1)]);const de=a[_0x38e6f9(0x491)](_0x38e6f9(0x1f9));var He=(_0x123907=>(_0x123907[_0x123907[_0x38e6f9(0x519)]=0x0]=_0x38e6f9(0x519),_0x123907[_0x123907[_0x38e6f9(0x2ab)]=0x1]=_0x38e6f9(0x2ab),_0x123907))(He||{});const Y=_0x38e6f9(0x25b),Zt={},Qt=new Set([X[_0x38e6f9(0x2c2)]['id']]);function Ge(_0x198c67,_0x40b1dc,_0x1fbd85,_0x2dbfcd,_0x1388fa){var _0x4d55c7=_0x38e6f9,_0xb903ad,_0x34381e,_0x39d328,_0x3d8819;const _0x2681fa=[];for(const _0x2cec64 of _0x198c67)if(Qt[_0x4d55c7(0x306)](_0x2cec64['id'])){if(_0x2681fa[_0x4d55c7(0x4aa)]>0x0)break;_0x2681fa[_0x4d55c7(0x2ae)](_0x2cec64);break;}else _0x2681fa[_0x4d55c7(0x2ae)](_0x2cec64);const _0xb507cb=(_0x34381e=(_0xb903ad=_0x1388fa[_0x4d55c7(0x38c)]())==null?void 0x0:_0xb903ad[_0x4d55c7(0x2c6)])!=null?_0x34381e:_0x4d55c7(0x4e6),_0x4ff0c8=(_0x3d8819=(_0x39d328=_0x1388fa[_0x4d55c7(0x38c)]())==null?void 0x0:_0x39d328[_0x4d55c7(0x200)])!=null?_0x3d8819:_0x4d55c7(0x4e6);return{'changeset':{'unitID':_0x40b1dc,'type':p['mapDocumentTypeToUniverType'](_0x1fbd85[_0x4d55c7(0x23e)](_0x40b1dc)),'baseRev':_0x2dbfcd[_0x4d55c7(0x493)](_0x40b1dc),'revision':0x0,'userID':_0xb507cb,'memberID':_0x4ff0c8,'mutations':_0x2681fa},'pendingMutations':_0x198c67[_0x4d55c7(0x2fa)](_0x2681fa[_0x4d55c7(0x4aa)])};}function ei(_0x4895ce,_0x542148,_0x4fb407,_0x3890c2,_0x55350b){var _0x1344cc=_0x38e6f9,_0x18eac6,_0x49918c,_0x38dd88,_0x215c4e;const _0x53ce70=[_0x4895ce[_0x1344cc(0x2a5)]((_0x3b11a4,_0x5cf639)=>{var _0x573001=_0x1344cc,_0x194b74;const {id:_0x1225f3}=_0x3b11a4,{id:_0x10cfa3,type:_0x2758fa}=_0x5cf639,_0x18e533=(_0x194b74=_0x3b11a4[_0x573001(0x473)])!=null?_0x194b74:{'actions':null},_0x4e1198=_0x5cf639['params'];if(_0x1225f3&&_0x1225f3!==_0x10cfa3)throw new Error(_0x573001(0x2c5)+_0x1225f3+_0x573001(0x212)+_0x10cfa3+'.');return{..._0x3b11a4,'id':_0x10cfa3,'type':_0x2758fa,'params':{'unitId':_0x4e1198[_0x573001(0x3e3)],'textRanges':_0x4e1198['textRanges'],'actions':a[_0x573001(0x4e5)][_0x573001(0x36d)](_0x18e533[_0x573001(0x3c6)],_0x4e1198['actions'])}};},{})],_0x52fe93=(_0x49918c=(_0x18eac6=_0x55350b[_0x1344cc(0x38c)]())==null?void 0x0:_0x18eac6[_0x1344cc(0x2c6)])!=null?_0x49918c:_0x1344cc(0x4e6),_0x352a1c=(_0x215c4e=(_0x38dd88=_0x55350b['getCurrentUser']())==null?void 0x0:_0x38dd88[_0x1344cc(0x200)])!=null?_0x215c4e:_0x1344cc(0x4e6);return{'changeset':{'unitID':_0x542148,'type':p[_0x1344cc(0x24e)](_0x4fb407[_0x1344cc(0x23e)](_0x542148)),'baseRev':_0x3890c2[_0x1344cc(0x493)](_0x542148),'revision':0x0,'userID':_0x52fe93,'memberID':_0x352a1c,'mutations':_0x53ce70},'pendingMutations':[]};}function St(_0x1361f7,_0x4b85f4){var _0x30a710=_0x38e6f9;const _0x334266=new H[(_0x30a710(0x33b))](0x1);return setTimeout(()=>_0x334266['next'](_0x4b85f4),_0x1361f7),_0x334266['asObservable']()['pipe'](H[_0x30a710(0x277)](0x1));}const ti={'id':X[_0x38e6f9(0x2b4)]['id'],'type':a[_0x38e6f9(0x253)][_0x38e6f9(0x316)],'params':{}};var ii=Object['getOwnPropertyDescriptor'],oe=(_0x4c09f9,_0x492f1f,_0x2d34f6,_0x31bbd7)=>{var _0x5a56f9=_0x38e6f9;for(var _0x45fe1f=_0x31bbd7>0x1?void 0x0:_0x31bbd7?ii(_0x492f1f,_0x2d34f6):_0x492f1f,_0x1f84ae=_0x4c09f9[_0x5a56f9(0x4aa)]-0x1,_0x7dc88e;_0x1f84ae>=0x0;_0x1f84ae--)(_0x7dc88e=_0x4c09f9[_0x1f84ae])&&(_0x45fe1f=_0x7dc88e(_0x45fe1f)||_0x45fe1f);return _0x45fe1f;},w=(_0x391b24,_0x4a2acb)=>(_0x2c2b01,_0x5cc2a1)=>_0x4a2acb(_0x2c2b01,_0x5cc2a1,_0x391b24),je=(_0x3ea048=>(_0x3ea048['NOT_COLLAB']='not_collab',_0x3ea048['SYNCED']=_0x38e6f9(0x4ac),_0x3ea048[_0x38e6f9(0x238)]=_0x38e6f9(0x3ce),_0x3ea048[_0x38e6f9(0x3df)]=_0x38e6f9(0x2bd),_0x3ea048[_0x38e6f9(0x452)]=_0x38e6f9(0x260),_0x3ea048[_0x38e6f9(0x395)]='fetch_missing',_0x3ea048[_0x38e6f9(0x265)]=_0x38e6f9(0x4d8),_0x3ea048[_0x38e6f9(0x433)]=_0x38e6f9(0x490),_0x3ea048))(je||{});const ft=0xea60;class ae{constructor(_0xd70590,_0x119f9d,_0x3f6f88,_0x2aaaf1,_0x454175,_0x179eac,_0xacf034,_0x27067d,_0x466e4b){var _0x2fdf8e=_0x38e6f9;A(this,_0x2fdf8e(0x2c8),null),A(this,'_pendingMutations',[]),(this[_0x2fdf8e(0x308)]=_0xd70590,this[_0x2fdf8e(0x4c3)]=_0x119f9d,this['_handler']=_0x454175,this[_0x2fdf8e(0x43b)]=_0x179eac,this[_0x2fdf8e(0x4dc)]=_0xacf034,this['_revisionService']=_0x27067d,this[_0x2fdf8e(0x1fd)]=_0x466e4b,this['_awaitingChangeset']=_0x3f6f88,this['_pendingMutations']=_0x2aaaf1);}[_0x38e6f9(0x382)](_0x13f009){var _0x5aa0a0=_0x38e6f9;const _0x2a5747=this[_0x5aa0a0(0x47c)][_0x5aa0a0(0x493)](this[_0x5aa0a0(0x308)]);return _0x13f009[_0x5aa0a0(0x3fe)]>_0x2a5747+0x1?(this['_handler']['onMissingChangesets']({'from':_0x2a5747,'to':_0x13f009[_0x5aa0a0(0x3fe)]-0x1}),!0x0):!0x1;}[_0x38e6f9(0x349)](_0xb7e46f){var _0x41d982=_0x38e6f9;this[_0x41d982(0x4dc)][_0x41d982(0x302)](this[_0x41d982(0x308)],_0xb7e46f);}[_0x38e6f9(0x46f)](_0x165472){var _0x2bac67=_0x38e6f9,_0x3a2d04,_0x360b6e;(_0x360b6e=(_0x3a2d04=this[_0x2bac67(0x2d7)])['onTransformSelections'])==null||_0x360b6e[_0x2bac67(0x31e)](_0x3a2d04,_0x165472);}[_0x38e6f9(0x386)](_0x1cdec9){var _0x158dcc=_0x38e6f9,_0x163fa0,_0x24d026;return(_0x24d026=(_0x163fa0=this[_0x158dcc(0x2d7)])[_0x158dcc(0x324)])==null?void 0x0:_0x24d026[_0x158dcc(0x31e)](_0x163fa0,_0x1cdec9);}[_0x38e6f9(0x53e)](_0x1cb4d4){var _0x14ddc3=_0x38e6f9,_0x1f7ea9,_0x3d8ff4;return(_0x3d8ff4=(_0x1f7ea9=this['_handler'])[_0x14ddc3(0x499)])==null?void 0x0:_0x3d8ff4[_0x14ddc3(0x31e)](_0x1f7ea9,_0x1cb4d4);}[_0x38e6f9(0x38e)](_0x49906f){var _0x54f67f=_0x38e6f9,_0xbc5b9b,_0x3ea163,_0x267a94;return(_0x267a94=(_0x3ea163=(_0xbc5b9b=this[_0x54f67f(0x2d7)])[_0x54f67f(0x4de)])==null?void 0x0:_0x3ea163['call'](_0xbc5b9b,_0x49906f))!=null?_0x267a94:_0x49906f;}[_0x38e6f9(0x280)](_0x54019f){var _0x1739f8=_0x38e6f9,_0x49ca79,_0x445f52,_0x2a4370;return(_0x2a4370=(_0x445f52=(_0x49ca79=this[_0x1739f8(0x2d7)])[_0x1739f8(0x44b)])==null?void 0x0:_0x445f52[_0x1739f8(0x31e)](_0x49ca79,_0x54019f))!=null?_0x2a4370:_0x54019f;}[_0x38e6f9(0x489)](_0x2e0020){var _0x242e43=_0x38e6f9,_0x3ba2b9,_0x47b9e4;if(this[_0x242e43(0x4c3)]===J[_0x242e43(0x247)]){const {unitID:_0x9ee74c,mutations:_0x183cce,memberID:_0x315525}=_0x2e0020,_0x38e428=_0x183cce[0x0][_0x242e43(0x473)][_0x242e43(0x3a2)];Array[_0x242e43(0x2d6)](_0x38e428)&&_0x38e428[_0x242e43(0x4aa)]>0x0&&((_0x47b9e4=(_0x3ba2b9=this[_0x242e43(0x2d7)])[_0x242e43(0x3af)])==null||_0x47b9e4['call'](_0x3ba2b9,{'unitID':_0x9ee74c,'memberID':_0x315525,'textRanges':_0x38e428}));}}[_0x38e6f9(0x2cc)](){var _0x3df7e2=_0x38e6f9,_0x447a84;(_0x447a84=this[_0x3df7e2(0x1fd)])==null||_0x447a84[_0x3df7e2(0x347)](this[_0x3df7e2(0x308)],this['type'],this[_0x3df7e2(0x2c8)],this[_0x3df7e2(0x494)]);}[_0x38e6f9(0x48c)](){var _0x22c947=_0x38e6f9;return this[_0x22c947(0x47c)][_0x22c947(0x493)](this['unitID']);}['_incrementRevisionNumber'](){var _0x297ab4=_0x38e6f9;this[_0x297ab4(0x47c)]['incrementRevOfUnit'](this['unitID']);}[_0x38e6f9(0x355)](_0x593bfb){var _0x2381f8=_0x38e6f9,_0x450e81;let _0x475211=this[_0x2381f8(0x38e)](_0x593bfb);_0x475211=this[_0x2381f8(0x280)](_0x475211);const _0x339ddc=a['sequenceExecute'](_0x475211[_0x2381f8(0x2c1)],this[_0x2381f8(0x43b)],{'fromCollab':!0x0});if(!_0x339ddc['result'])throw _0x339ddc[_0x2381f8(0x447)]instanceof Error?_0x339ddc['error']:new Error((_0x450e81=_0x339ddc['error'])!=null?_0x450e81:_0x2381f8(0x1e9));this['_transformIMECache'](_0x475211),this[_0x2381f8(0x53e)](_0x475211),this[_0x2381f8(0x349)](_0x593bfb),this[_0x2381f8(0x46f)](_0x475211),this['_syncEditingCollabCursor'](_0x475211),this['_incrementRevisionNumber']();}}exports[_0x38e6f9(0x3aa)]=class extends ae{constructor(_0x26f473,_0x355331,_0x2c4ac2,_0x215d99,_0xebb5a3,_0x6b083d,_0x46c60d,_0x5f538d,_0x4367cd,_0x4a7690){var _0x557d8b=_0x38e6f9;super(_0x26f473,_0x355331,null,[],_0x2c4ac2,_0x46c60d,_0x6b083d,_0x215d99,_0x4a7690),A(this,_0x557d8b(0x236),_0x557d8b(0x4ac)),(this['_injector']=_0xebb5a3,this[_0x557d8b(0x3ab)]=_0x5f538d,this['_transformService']=_0x4367cd,this['localCacheService']=_0x4a7690);}[_0x38e6f9(0x4d4)](_0x119f6c){var _0x39d9c2=_0x38e6f9;const _0x18b20f=this[_0x39d9c2(0x434)]['createInstance'](exports[_0x39d9c2(0x34d)],this[_0x39d9c2(0x308)],this[_0x39d9c2(0x4c3)],[_0x119f6c],this[_0x39d9c2(0x2d7)]);return _0x18b20f[_0x39d9c2(0x4e8)](),_0x18b20f[_0x39d9c2(0x2cc)](),_0x18b20f;}[_0x38e6f9(0x53b)](_0x2acc4d){var _0x1abd11=_0x38e6f9;if(this[_0x1abd11(0x382)](_0x2acc4d))return this[_0x1abd11(0x434)][_0x1abd11(0x4b3)](exports['FetchingMissState'],this[_0x1abd11(0x308)],this[_0x1abd11(0x4c3)],null,[],null,[_0x2acc4d],this[_0x1abd11(0x2d7)]);try{const _0x55ab02=this[_0x1abd11(0x241)][_0x1abd11(0x22e)](_0x2acc4d,[ti]);if(p['isTransformMutationsWithChangesetSuccess'](_0x55ab02)){const {c1Prime:_0x59ba50}=_0x55ab02;return this[_0x1abd11(0x355)](_0x59ba50),this;}throw _0x55ab02[_0x1abd11(0x447)];}catch(_0x21f9d5){return this[_0x1abd11(0x3ab)]['error'](_0x21f9d5),this[_0x1abd11(0x446)](!0x1);}}[_0x38e6f9(0x446)](_0x4d1703){var _0x166865=_0x38e6f9;return this['_injector'][_0x166865(0x4b3)](exports['ConflictState'],this[_0x166865(0x308)],this[_0x166865(0x4c3)],null,[],this[_0x166865(0x2d7)],_0x4d1703);}[_0x38e6f9(0x463)](){var _0x12b467=_0x38e6f9;throw new Error(_0x12b467(0x259));}['onRemoteRej'](){var _0x1af45b=_0x38e6f9;throw new Error(_0x1af45b(0x267));}[_0x38e6f9(0x276)](){return this;}['toggleOffline'](){var _0x1f7ba9=_0x38e6f9;return this[_0x1f7ba9(0x434)][_0x1f7ba9(0x4b3)](exports[_0x1f7ba9(0x252)],this[_0x1f7ba9(0x308)],this['type'],null,[],this[_0x1f7ba9(0x2d7)]);}[_0x38e6f9(0x4e7)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x38e6f9(0x330)](){var _0x5e6b93=_0x38e6f9;const _0x1b9355=this[_0x5e6b93(0x47c)][_0x5e6b93(0x493)](this[_0x5e6b93(0x308)]);return this[_0x5e6b93(0x2d7)][_0x5e6b93(0x423)]({'from':_0x1b9355,'to':0x0}),this[_0x5e6b93(0x434)][_0x5e6b93(0x4b3)](exports[_0x5e6b93(0x504)],this[_0x5e6b93(0x308)],this['type'],null,[],null,[],this[_0x5e6b93(0x2d7)]);}},exports['SyncedState']=oe([w(0x3,a[_0x38e6f9(0x28d)](p['RevisionService'])),w(0x4,a['Inject'](a[_0x38e6f9(0x21d)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x38e6f9(0x2e6)]),w(0x7,a[_0x38e6f9(0x2ac)]),w(0x8,p['ITransformService']),w(0x9,a[_0x38e6f9(0x4bb)](K))],exports[_0x38e6f9(0x3aa)]),exports['PendingState']=class extends ae{constructor(_0x160efb,_0x20b8f7,_0x57ec97,_0xd5190f,_0x3c1a44,_0x13aa8a,_0x3d70e6,_0x2ad4de,_0x2d7688,_0x1ec2c4,_0x5a3e66,_0x3ed45f,_0x2bebc0,_0x1ac508){var _0x24fadf=_0x38e6f9;super(_0x160efb,_0x20b8f7,null,_0x57ec97,_0xd5190f,_0x2d7688,_0x2bebc0,_0x13aa8a,_0x1ac508),A(this,_0x24fadf(0x236),_0x24fadf(0x3ce)),A(this,_0x24fadf(0x329),null),A(this,_0x24fadf(0x243),null),(this['_injector']=_0x3c1a44,this[_0x24fadf(0x3c1)]=_0x3d70e6,this[_0x24fadf(0x3ab)]=_0x2ad4de,this[_0x24fadf(0x431)]=_0x1ec2c4,this['_transformService']=_0x5a3e66,this[_0x24fadf(0x231)]=_0x3ed45f);}['appendMutation'](_0x2c5b40){var _0x4800f9=_0x38e6f9;return this['_pendingMutations']['push'](_0x2c5b40),this[_0x4800f9(0x2cc)](),this;}['onRemoteChangeset'](_0x268e63){var _0x38866d=_0x38e6f9;if(this[_0x38866d(0x382)](_0x268e63))return this[_0x38866d(0x411)](),this[_0x38866d(0x434)]['createInstance'](exports[_0x38866d(0x504)],this[_0x38866d(0x308)],this[_0x38866d(0x4c3)],null,this['_pendingMutations'],null,[_0x268e63],this[_0x38866d(0x2d7)]);try{const _0x15a4a0=this[_0x38866d(0x241)][_0x38866d(0x22e)](_0x268e63,this[_0x38866d(0x494)]);if(p[_0x38866d(0x2de)](_0x15a4a0)){const {c1Prime:_0x3e4a9f,m2Prime:_0x238baf}=_0x15a4a0;this[_0x38866d(0x355)](_0x3e4a9f);const _0x3f23d8=this['_injector'][_0x38866d(0x4b3)](exports['PendingState'],this[_0x38866d(0x308)],this[_0x38866d(0x4c3)],_0x238baf,this['_handler']);this[_0x38866d(0x411)]();const _0x393137=new Date()[_0x38866d(0x481)](),_0x4cbc54=this[_0x38866d(0x329)]?Math[_0x38866d(0x25c)](this[_0x38866d(0x329)]-_0x393137,0x0):this['_getSendChangesetTimeout']();return _0x3f23d8[_0x38866d(0x4e8)](_0x4cbc54),_0x3f23d8;}throw _0x15a4a0[_0x38866d(0x447)];}catch(_0xf9f41c){return this[_0x38866d(0x3ab)]['error'](_0xf9f41c),this[_0x38866d(0x446)](!0x1);}}[_0x38e6f9(0x463)](){var _0x22661c=_0x38e6f9;throw new Error(_0x22661c(0x40a));}[_0x38e6f9(0x21c)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x38e6f9(0x276)](){return this;}[_0x38e6f9(0x3a9)](){var _0x24e88c=_0x38e6f9;return this[_0x24e88c(0x411)](),this['_injector'][_0x24e88c(0x4b3)](exports['OfflineState'],this[_0x24e88c(0x308)],this[_0x24e88c(0x4c3)],null,this[_0x24e88c(0x494)],this[_0x24e88c(0x2d7)]);}[_0x38e6f9(0x4e7)](){return this;}[_0x38e6f9(0x4e8)](_0x177b72){var _0x447115=_0x38e6f9;const _0x83a0b5=_0x177b72!=null?_0x177b72:this[_0x447115(0x31f)]();this[_0x447115(0x329)]=new Date()[_0x447115(0x481)]()+_0x83a0b5,this['_sendingTimer']=setTimeout(()=>{var _0x12a47b=_0x447115;this['_clearScheduledTask']();let _0x469326=null;switch(this['type']){case J[_0x12a47b(0x406)]:{_0x469326=Ge(this['_pendingMutations'],this[_0x12a47b(0x308)],this['_univerInstanceService'],this[_0x12a47b(0x47c)],this[_0x12a47b(0x3c1)]);break;}case J['UNIVER_DOC']:{this[_0x12a47b(0x494)][_0x12a47b(0x27e)](_0x3e92f6=>_0x3e92f6['id']===ct[_0x12a47b(0x509)]['id'])?_0x469326=ei(this[_0x12a47b(0x494)],this['unitID'],this[_0x12a47b(0x231)],this[_0x12a47b(0x47c)],this[_0x12a47b(0x3c1)]):_0x469326=Ge(this[_0x12a47b(0x494)],this[_0x12a47b(0x308)],this['_univerInstanceService'],this[_0x12a47b(0x47c)],this[_0x12a47b(0x3c1)]);break;}default:throw new Error(_0x12a47b(0x470)+this['type']+_0x12a47b(0x255));}const {changeset:_0x21b0ae,pendingMutations:_0x5d827b}=_0x469326;this[_0x12a47b(0x2d7)][_0x12a47b(0x22b)](_0x21b0ae);const _0x6b9edc=_0x5d827b[_0x12a47b(0x4aa)]?this[_0x12a47b(0x434)][_0x12a47b(0x4b3)](exports[_0x12a47b(0x4c4)],this[_0x12a47b(0x308)],this['type'],_0x21b0ae,_0x5d827b,this[_0x12a47b(0x2d7)],void 0x0):this[_0x12a47b(0x434)][_0x12a47b(0x4b3)](exports[_0x12a47b(0x235)],this['unitID'],this[_0x12a47b(0x4c3)],_0x21b0ae,this[_0x12a47b(0x2d7)]);_0x6b9edc[_0x12a47b(0x2cc)](),this[_0x12a47b(0x2d7)][_0x12a47b(0x53f)](this,_0x6b9edc);},_0x83a0b5);}[_0x38e6f9(0x31f)](){var _0x2e0541=_0x38e6f9,_0x3a9c96;const _0x1db4f9=this['_configService'][_0x2e0541(0x48e)](Y);return(_0x3a9c96=_0x1db4f9==null?void 0x0:_0x1db4f9[_0x2e0541(0x2ec)])!=null?_0x3a9c96:Ut;}['resend'](){var _0x3c686e=_0x38e6f9;throw new Error(_0x3c686e(0x387));}[_0x38e6f9(0x411)](){var _0x1e0e9c=_0x38e6f9;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1e0e9c(0x243)]),this[_0x1e0e9c(0x243)]=null);}['_onConflict'](_0x49567a){var _0x20726c=_0x38e6f9;return this[_0x20726c(0x411)](),this[_0x20726c(0x434)]['createInstance'](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x20726c(0x494)],this[_0x20726c(0x2d7)],_0x49567a);}},exports[_0x38e6f9(0x34d)]=oe([w(0x4,a[_0x38e6f9(0x28d)](a['Injector'])),w(0x5,a['Inject'](p[_0x38e6f9(0x38b)])),w(0x6,a['Inject'](exports['MemberService'])),w(0x7,a['ILogService']),w(0x8,a[_0x38e6f9(0x2e6)]),w(0x9,a['IConfigService']),w(0xa,p[_0x38e6f9(0x428)]),w(0xb,a[_0x38e6f9(0x46c)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x38e6f9(0x4bb)](K))],exports[_0x38e6f9(0x34d)]),exports[_0x38e6f9(0x235)]=class extends ae{constructor(_0x321aca,_0x49ac78,_0xe48849,_0x59a30e,_0x495200,_0x31dce3,_0x2fd994,_0x1c89b7,_0xe4701e,_0x91bd0e,_0x22f6c6){var _0x59543c=_0x38e6f9;super(_0x321aca,_0x49ac78,_0xe48849,[],_0x59a30e,_0x2fd994,_0x91bd0e,_0x31dce3,_0x22f6c6),A(this,_0x59543c(0x236),_0x59543c(0x2bd)),A(this,_0x59543c(0x35b),0x0),A(this,'_resendTimer'),A(this,_0x59543c(0x2da)),(this[_0x59543c(0x434)]=_0x495200,this['_logService']=_0x1c89b7,this[_0x59543c(0x241)]=_0xe4701e);}[_0x38e6f9(0x4d4)](_0x4ac28a){var _0x1c09dd=_0x38e6f9;this[_0x1c09dd(0x411)]();const _0x7ac1c3=this['_injector']['createInstance'](exports['AwaitingWithPendingState'],this[_0x1c09dd(0x308)],this[_0x1c09dd(0x4c3)],this[_0x1c09dd(0x2c8)],[_0x4ac28a],this[_0x1c09dd(0x2d7)],this[_0x1c09dd(0x51d)]);return _0x7ac1c3['_updateLocalCache'](),_0x7ac1c3;}['onRemoteChangeset'](_0x387fd2){var _0x47dc30=_0x38e6f9;if(this[_0x47dc30(0x382)](_0x387fd2))return this['_clearScheduledTask'](),this[_0x47dc30(0x434)][_0x47dc30(0x4b3)](exports[_0x47dc30(0x504)],this[_0x47dc30(0x308)],this['type'],this[_0x47dc30(0x2c8)],[],null,[_0x387fd2],this['_handler']);try{const _0x57768b=this[_0x47dc30(0x241)][_0x47dc30(0x533)]([_0x387fd2],[this[_0x47dc30(0x2c8)]],!0x1);if(p[_0x47dc30(0x4f3)](_0x57768b)){const {c1Prime:_0x4f45de,c2Prime:_0x42a71c}=_0x57768b;this[_0x47dc30(0x355)](_0x4f45de[0x0]),_0x42a71c[0x0][_0x47dc30(0x3f5)]=this['_getCurrentRevision'](),this[_0x47dc30(0x411)]();const _0x59cf39=this[_0x47dc30(0x434)]['createInstance'](exports[_0x47dc30(0x235)],this[_0x47dc30(0x308)],this[_0x47dc30(0x4c3)],_0x42a71c[0x0],this[_0x47dc30(0x2d7)]);return _0x59cf39[_0x47dc30(0x2cc)](),_0x59cf39;}return this[_0x47dc30(0x446)](!0x1);}catch(_0x1bf2ec){return this[_0x47dc30(0x3ab)][_0x47dc30(0x447)](_0x1bf2ec),this[_0x47dc30(0x446)](!0x1);}}['onRemoteAck'](_0x2186aa){var _0x243e8b=_0x38e6f9;this[_0x243e8b(0x411)]();const _0x34ce3a=this[_0x243e8b(0x47c)]['getCurrentRevOfUnit'](this[_0x243e8b(0x308)]);if(_0x2186aa[_0x243e8b(0x3fe)]<_0x34ce3a-0x1)return this;if(this[_0x243e8b(0x382)](_0x2186aa))return this[_0x243e8b(0x434)][_0x243e8b(0x4b3)](exports[_0x243e8b(0x504)],this[_0x243e8b(0x308)],this[_0x243e8b(0x4c3)],null,[],this[_0x243e8b(0x2c8)],[],this[_0x243e8b(0x2d7)]);this['_incrementRevisionNumber']();const _0x36194b=this['_injector'][_0x243e8b(0x4b3)](exports[_0x243e8b(0x3aa)],this[_0x243e8b(0x308)],this[_0x243e8b(0x4c3)],this[_0x243e8b(0x2d7)]);return _0x36194b['_updateLocalCache'](),_0x36194b;}['onRemoteRej'](_0x5cc067){var _0x301aef=_0x38e6f9;return this[_0x301aef(0x446)](!!(_0x5cc067!=null&&_0x5cc067[_0x301aef(0x26b)]));}[_0x38e6f9(0x276)](_0xe302b6){var _0x20b9da=_0x38e6f9;return this[_0x20b9da(0x35b)]>ft?this[_0x20b9da(0x3a9)]():(this['_resendTimer']=St(this[_0x20b9da(0x35b)],{'timeout':this[_0x20b9da(0x35b)],'reqId':_0xe302b6[_0x20b9da(0x344)]}),this[_0x20b9da(0x2da)]=this[_0x20b9da(0x51d)][_0x20b9da(0x508)](({reqId:_0x44102b,timeout:_0x53e339})=>{this['_resendWithTimeout'](_0x44102b,_0x53e339);}),this);}[_0x38e6f9(0x3a9)](){var _0x47f20a=_0x38e6f9;return this[_0x47f20a(0x411)](),this['_injector'][_0x47f20a(0x4b3)](exports[_0x47f20a(0x252)],this[_0x47f20a(0x308)],this[_0x47f20a(0x4c3)],this['_awaitingChangeset'],[],this[_0x47f20a(0x2d7)]);}[_0x38e6f9(0x4e7)](){return this;}['resend'](){var _0x3c9c15=_0x38e6f9;this[_0x3c9c15(0x2d7)][_0x3c9c15(0x22b)](this[_0x3c9c15(0x2c8)]);}[_0x38e6f9(0x446)](_0x3cb222){var _0x331c79=_0x38e6f9;return this[_0x331c79(0x411)](),this[_0x331c79(0x434)][_0x331c79(0x4b3)](exports[_0x331c79(0x3e2)],this['unitID'],this[_0x331c79(0x4c3)],this[_0x331c79(0x2c8)],[],this[_0x331c79(0x2d7)],_0x3cb222);}[_0x38e6f9(0x299)](_0x1ed86e,_0x503852){var _0x4eb79c=_0x38e6f9,_0x4c2b07;_0x1ed86e===((_0x4c2b07=this[_0x4eb79c(0x2c8)])==null?void 0x0:_0x4c2b07[_0x4eb79c(0x344)])&&(this[_0x4eb79c(0x399)](),this[_0x4eb79c(0x35b)]=_0x503852===0x0?0x3e8:_0x503852*0x2);}[_0x38e6f9(0x411)](){var _0x5ced39=_0x38e6f9,_0x29fe00;(_0x29fe00=this['_sender'])==null||_0x29fe00[_0x5ced39(0x3f6)](),this['_resendTimeout']=0x0;}},exports[_0x38e6f9(0x235)]=oe([w(0x4,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x21d)])),w(0x5,a[_0x38e6f9(0x28d)](p[_0x38e6f9(0x38b)])),w(0x6,a[_0x38e6f9(0x2e6)]),w(0x7,a[_0x38e6f9(0x2ac)]),w(0x8,p[_0x38e6f9(0x428)]),w(0x9,a[_0x38e6f9(0x2a7)]),w(0xa,a['Optional'](K))],exports['AwaitingState']),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x3c5f99,_0x483d45,_0x5b8d2f,_0x4330ba,_0x33b362,_0x22bc6b,_0x2515f2,_0x209db4,_0x1bf6f9,_0x2a2cc0,_0x1500e9,_0xd10f4e,_0x2d5862){var _0x23b621=_0x38e6f9;super(_0x3c5f99,_0x483d45,_0x5b8d2f,_0x4330ba,_0x33b362,_0x1bf6f9,_0xd10f4e,_0x209db4,_0x2d5862),A(this,'status',_0x23b621(0x260)),A(this,_0x23b621(0x35b),0x0),A(this,_0x23b621(0x51d)),A(this,_0x23b621(0x2da)),(this[_0x23b621(0x434)]=_0x2515f2,this[_0x23b621(0x3ab)]=_0x2a2cc0,this[_0x23b621(0x241)]=_0x1500e9,this['localCacheService']=_0x2d5862,_0x22bc6b&&(this['_resendTimer']=_0x22bc6b,this[_0x23b621(0x2da)]=this[_0x23b621(0x51d)][_0x23b621(0x508)](({reqId:_0x43d3b2,timeout:_0xe33e16})=>{var _0x4c8ce1=_0x23b621;this[_0x4c8ce1(0x299)](_0x43d3b2,_0xe33e16);})));}[_0x38e6f9(0x4d4)](_0xa37de3){var _0x13f33=_0x38e6f9;return this[_0x13f33(0x494)][_0x13f33(0x2ae)](_0xa37de3),this;}[_0x38e6f9(0x53b)](_0x304612){var _0x5cc10b=_0x38e6f9;if(this[_0x5cc10b(0x382)](_0x304612))return this[_0x5cc10b(0x411)](),this[_0x5cc10b(0x434)]['createInstance'](exports[_0x5cc10b(0x504)],this['unitID'],this['type'],this[_0x5cc10b(0x2c8)],this[_0x5cc10b(0x494)],null,[_0x304612],this[_0x5cc10b(0x2d7)]);try{const _0x405b3c=this[_0x5cc10b(0x241)][_0x5cc10b(0x533)]([_0x304612],[this[_0x5cc10b(0x2c8)]],!0x1);if(p[_0x5cc10b(0x4f3)](_0x405b3c)){const {c1Prime:_0x16c632,c2Prime:_0x1200b2}=_0x405b3c,_0x3e3d62=this['_transformService']['transformMutationsWithChangeset'](_0x16c632[0x0],this[_0x5cc10b(0x494)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x3e3d62)){const {c1Prime:_0x34a7d3,m2Prime:_0x5e86a1}=_0x3e3d62;return this[_0x5cc10b(0x355)](_0x34a7d3),_0x1200b2[0x0][_0x5cc10b(0x3f5)]=this[_0x5cc10b(0x48c)](),this[_0x5cc10b(0x411)](),this['_injector'][_0x5cc10b(0x4b3)](exports[_0x5cc10b(0x4c4)],this[_0x5cc10b(0x308)],this[_0x5cc10b(0x4c3)],_0x1200b2[0x0],_0x5e86a1,this['_handler'],void 0x0);}throw _0x3e3d62[_0x5cc10b(0x447)];}throw _0x405b3c['error'];}catch(_0x3d2034){return this[_0x5cc10b(0x3ab)]['error'](_0x3d2034),this[_0x5cc10b(0x446)](!0x1);}}[_0x38e6f9(0x463)](_0x220afd){var _0x347e1f=_0x38e6f9;if(this[_0x347e1f(0x411)](),this[_0x347e1f(0x382)](_0x220afd))return this[_0x347e1f(0x434)][_0x347e1f(0x4b3)](exports[_0x347e1f(0x504)],this['unitID'],this[_0x347e1f(0x4c3)],null,this[_0x347e1f(0x494)],this[_0x347e1f(0x2c8)],[],this['_handler']);this[_0x347e1f(0x3f8)]();const _0x51dfee=this[_0x347e1f(0x434)]['createInstance'](exports['PendingState'],this[_0x347e1f(0x308)],this['type'],this['_pendingMutations'],this['_handler']);return _0x51dfee[_0x347e1f(0x4e8)](),_0x51dfee[_0x347e1f(0x2cc)](),_0x51dfee;}[_0x38e6f9(0x21c)](_0xbbdfed){var _0x10c749=_0x38e6f9;return this[_0x10c749(0x446)](!!(_0xbbdfed!=null&&_0xbbdfed[_0x10c749(0x26b)]));}[_0x38e6f9(0x276)](_0x776e1){var _0x510081=_0x38e6f9;return this[_0x510081(0x35b)]>ft?this[_0x510081(0x3a9)]():(this[_0x510081(0x51d)]=St(this[_0x510081(0x35b)],{'timeout':this[_0x510081(0x35b)],'reqId':_0x776e1['reqId']}),this[_0x510081(0x2da)]=this['_resendTimer']['subscribe'](({reqId:_0x3c0c6a,timeout:_0x5571f3})=>{this['_resendWithTimeout'](_0x3c0c6a,_0x5571f3);}),this);}[_0x38e6f9(0x3a9)](){var _0x5038e4=_0x38e6f9;return this[_0x5038e4(0x411)](),this[_0x5038e4(0x434)]['createInstance'](exports[_0x5038e4(0x252)],this[_0x5038e4(0x308)],this['type'],this[_0x5038e4(0x2c8)],this[_0x5038e4(0x494)],this[_0x5038e4(0x2d7)]);}[_0x38e6f9(0x4e7)](){return this;}['resend'](){var _0x4b62de=_0x38e6f9;this['_handler'][_0x4b62de(0x22b)](this['_awaitingChangeset']);}[_0x38e6f9(0x446)](_0x547b3e){var _0x397e6d=_0x38e6f9;return this[_0x397e6d(0x411)](),this[_0x397e6d(0x434)][_0x397e6d(0x4b3)](exports['ConflictState'],this['unitID'],this[_0x397e6d(0x4c3)],null,this['_pendingMutations'],this['_handler'],_0x547b3e);}[_0x38e6f9(0x299)](_0x5a2489,_0x309ab7){var _0x3630b5=_0x38e6f9,_0xc03899;_0x5a2489===((_0xc03899=this['_awaitingChangeset'])==null?void 0x0:_0xc03899['reqId'])&&(this[_0x3630b5(0x399)](),this[_0x3630b5(0x35b)]=_0x309ab7===0x0?0x3e8:_0x309ab7*0x2);}[_0x38e6f9(0x411)](){var _0x1d7de9=_0x38e6f9,_0x49bcea;(_0x49bcea=this['_sender'])==null||_0x49bcea[_0x1d7de9(0x3f6)](),this[_0x1d7de9(0x35b)]=0x0;}},exports[_0x38e6f9(0x4c4)]=oe([w(0x6,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x21d)])),w(0x7,a[_0x38e6f9(0x28d)](p[_0x38e6f9(0x38b)])),w(0x8,a[_0x38e6f9(0x2e6)]),w(0x9,a[_0x38e6f9(0x2ac)]),w(0xa,p[_0x38e6f9(0x428)]),w(0xb,a[_0x38e6f9(0x2a7)]),w(0xc,a[_0x38e6f9(0x4bb)](K))],exports[_0x38e6f9(0x4c4)]),exports[_0x38e6f9(0x3e2)]=class extends ae{constructor(_0x5d5a75,_0x282977,_0x11fdc8,_0x378a40,_0x54e38c,_0x45c442=!0x1,_0x1fbe35,_0x4f852c,_0x1fd9a9,_0x1ff786,_0x44746d,_0x11dcf4,_0x4bcc90){var _0x1190ae=_0x38e6f9;super(_0x5d5a75,_0x282977,_0x11fdc8,_0x378a40,_0x54e38c,_0x4f852c,_0x1fd9a9,_0x1ff786,_0x4bcc90),A(this,_0x1190ae(0x236),_0x1190ae(0x4d8)),(this[_0x1190ae(0x35f)]=_0x45c442,this[_0x1190ae(0x3eb)]=_0x1fbe35,this[_0x1190ae(0x3cd)]=_0x44746d,this['_collaborationUIEventService']=_0x11dcf4,this[_0x1190ae(0x271)]=_0x4bcc90,this[_0x1190ae(0x3dd)](),this[_0x1190ae(0x451)](),this[_0x1190ae(0x379)]());}[_0x38e6f9(0x4d4)](){return this;}[_0x38e6f9(0x53b)](){return this;}[_0x38e6f9(0x463)](){return this;}['onRemoteRej'](){return this;}[_0x38e6f9(0x276)](){return this;}[_0x38e6f9(0x3a9)](){return this;}[_0x38e6f9(0x4e7)](){return this;}[_0x38e6f9(0x399)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x38e6f9(0x451)](){var _0xe0c147=_0x38e6f9,_0x4606d5;(_0x4606d5=this[_0xe0c147(0x1fd)])==null||_0x4606d5[_0xe0c147(0x347)](this[_0xe0c147(0x308)],this['type'],null,[]);}[_0x38e6f9(0x3dd)](){var _0x5ba450=_0x38e6f9;this[_0x5ba450(0x35f)]?this['_collaborationUIEventService'][_0x5ba450(0x3f2)]({'id':Z[_0x5ba450(0x37c)]}):this[_0x5ba450(0x310)][_0x5ba450(0x3f2)]({'id':Z[_0x5ba450(0x265)]});}['_disableEditing'](){var _0x7bfd62=_0x38e6f9;this[_0x7bfd62(0x3eb)][_0x7bfd62(0x230)](new X[(_0x7bfd62(0x2c0))](this['unitID'])['id'],!0x1);}},exports[_0x38e6f9(0x3e2)]=oe([w(0x6,a['Inject'](a[_0x38e6f9(0x1e1)])),w(0x7,a[_0x38e6f9(0x2e6)]),w(0x8,a[_0x38e6f9(0x2a7)]),w(0x9,a[_0x38e6f9(0x28d)](p['RevisionService'])),w(0xa,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x51c)])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x38e6f9(0x4bb)](K))],exports[_0x38e6f9(0x3e2)]),exports[_0x38e6f9(0x252)]=class extends ae{constructor(_0x5af68f,_0x338a99,_0x3b7d27,_0x423465,_0x98a747,_0x492d12,_0xf3a2e3,_0x7f3d29,_0x4dc0d3,_0x3f5b50){var _0x396d86=_0x38e6f9;super(_0x5af68f,_0x338a99,_0x3b7d27,_0x423465,_0x98a747,_0x7f3d29,_0x4dc0d3,_0xf3a2e3,_0x3f5b50),A(this,_0x396d86(0x236),'offline'),this[_0x396d86(0x434)]=_0x492d12;}[_0x38e6f9(0x4d4)](_0x58fbdf){var _0x3e7a90=_0x38e6f9;return this['_pendingMutations'][_0x3e7a90(0x2ae)](_0x58fbdf),this[_0x3e7a90(0x2cc)](),this;}[_0x38e6f9(0x53b)](_0x201c5f){var _0x2ef2cc=_0x38e6f9;throw new Error(_0x2ef2cc(0x466));}[_0x38e6f9(0x463)](){var _0x52c6f5=_0x38e6f9;throw new Error(_0x52c6f5(0x38a));}['onRemoteRej'](){var _0x1c255a=_0x38e6f9;throw new Error(_0x1c255a(0x2df));}[_0x38e6f9(0x276)](){return this;}[_0x38e6f9(0x3a9)](){return this;}[_0x38e6f9(0x4e7)](){var _0x38acf4=_0x38e6f9;const {_injector:_0x416b8c,_pendingMutations:_0x6f0b4e,_awaitingChangeset:_0x4a9523,unitID:_0xa97db7,_handler:_0x36ad05,type:_0x3b8b49}=this,_0x4f91dc=It(_0x416b8c,_0xa97db7,_0x3b8b49,_0x4a9523,_0x6f0b4e,_0x36ad05);return _0x4f91dc instanceof exports[_0x38acf4(0x34d)]?_0x4f91dc['_schedule']():(_0x4f91dc instanceof exports[_0x38acf4(0x4c4)]||_0x4f91dc instanceof exports[_0x38acf4(0x235)])&&_0x4f91dc[_0x38acf4(0x399)](),_0x4f91dc;}[_0x38e6f9(0x399)](){var _0x4ea1bb=_0x38e6f9;throw new Error(_0x4ea1bb(0x363));}},exports[_0x38e6f9(0x252)]=oe([w(0x5,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x21d)])),w(0x6,a['Inject'](p[_0x38e6f9(0x38b)])),w(0x7,a[_0x38e6f9(0x2e6)]),w(0x8,a[_0x38e6f9(0x2a7)]),w(0x9,a[_0x38e6f9(0x4bb)](K))],exports[_0x38e6f9(0x252)]),exports[_0x38e6f9(0x504)]=class extends ae{constructor(_0x2ea730,_0xbbfaaf,_0x53c847,_0x3878e7,_0x260c28,_0x4aa5f4,_0x48b930,_0x48b12a,_0x383563,_0x2a344a,_0x27712d,_0x540ce0,_0x3bc9f9,_0x55fa51){var _0x1366b2=_0x38e6f9;super(_0x2ea730,_0xbbfaaf,_0x53c847,_0x3878e7,_0x48b930,_0x27712d,_0x540ce0,_0x383563,_0x55fa51),A(this,_0x1366b2(0x236),_0x1366b2(0x39e)),(this['_acknowledgedAwaitingChangeset']=_0x260c28,this[_0x1366b2(0x340)]=_0x4aa5f4,this[_0x1366b2(0x434)]=_0x48b12a,this['_logService']=_0x2a344a,this[_0x1366b2(0x241)]=_0x3bc9f9,this[_0x1366b2(0x271)]=_0x55fa51);}[_0x38e6f9(0x318)](_0x2caeb6){var _0xd54f43=_0x38e6f9;try{const _0x20c165=[..._0x2caeb6,...this['_queuedRemoteChangesets']],_0x1b1a5f=[this[_0xd54f43(0x2c8)]||this[_0xd54f43(0x4ec)]][_0xd54f43(0x307)](_0x185c09=>!!_0x185c09);let _0x28f817,_0x3074a4;if(_0x1b1a5f[_0xd54f43(0x4aa)]){const _0x53b48b=this[_0xd54f43(0x241)][_0xd54f43(0x533)](_0x20c165,_0x1b1a5f,!0x1);if(!p['isTransformChangesetsSuccess'](_0x53b48b))throw _0x53b48b[_0xd54f43(0x447)];_0x28f817=_0x53b48b['c1Prime'],_0x3074a4=_0x53b48b[_0xd54f43(0x4f0)];}else _0x28f817=_0x20c165,_0x3074a4=[];let _0x13b90d=this[_0xd54f43(0x494)];_0x28f817[_0xd54f43(0x2db)](_0x573580=>{var _0x338e63=_0xd54f43;let _0x2521c3;if(_0x13b90d[_0x338e63(0x4aa)]){const _0x22788a=this[_0x338e63(0x241)][_0x338e63(0x22e)](_0x573580,_0x13b90d);if(!p['isTransformMutationsWithChangesetSuccess'](_0x22788a))throw _0x22788a[_0x338e63(0x447)];_0x2521c3=_0x22788a[_0x338e63(0x4f2)],_0x13b90d=_0x22788a[_0x338e63(0x520)];}else _0x2521c3=_0x573580;this['_executeRemoteChangeset'](_0x2521c3);}),this['_acknowledgedAwaitingChangeset']&&this[_0xd54f43(0x3f8)](),this[_0xd54f43(0x2c8)]&&_0x3074a4[_0xd54f43(0x4aa)]&&(_0x3074a4[0x0][_0xd54f43(0x3f5)]=this['_getCurrentRevision']());let _0x1c1a8f;if(this[_0xd54f43(0x2c8)]&&_0x13b90d['length']!==0x0)_0x1c1a8f=this[_0xd54f43(0x434)][_0xd54f43(0x4b3)](exports[_0xd54f43(0x4c4)],this['unitID'],this[_0xd54f43(0x4c3)],_0x3074a4[0x0],_0x13b90d,this[_0xd54f43(0x2d7)],void 0x0);else{if(this['_awaitingChangeset']&&_0x13b90d[_0xd54f43(0x4aa)]===0x0)_0x3074a4[0x0][_0xd54f43(0x3f5)]=this[_0xd54f43(0x48c)](),_0x1c1a8f=this['_injector'][_0xd54f43(0x4b3)](exports[_0xd54f43(0x235)],this[_0xd54f43(0x308)],this['type'],_0x3074a4[0x0],this[_0xd54f43(0x2d7)]);else{if(_0x13b90d[_0xd54f43(0x4aa)]!==0x0){const _0x5ae25d=this[_0xd54f43(0x434)]['createInstance'](exports['PendingState'],this[_0xd54f43(0x308)],this[_0xd54f43(0x4c3)],_0x13b90d,this[_0xd54f43(0x2d7)]);_0x5ae25d[_0xd54f43(0x4e8)](),_0x1c1a8f=_0x5ae25d;}else _0x1c1a8f=this[_0xd54f43(0x434)]['createInstance'](exports['SyncedState'],this[_0xd54f43(0x308)],this['type'],this[_0xd54f43(0x2d7)]);}}return _0x1c1a8f[_0xd54f43(0x2cc)](),_0x1c1a8f;}catch(_0x142b06){return this[_0xd54f43(0x3ab)][_0xd54f43(0x447)](_0xd54f43(0x477),_0xd54f43(0x3b3),_0x142b06),this['_injector'][_0xd54f43(0x4b3)](exports['ConflictState'],this[_0xd54f43(0x308)],this[_0xd54f43(0x4c3)],this[_0xd54f43(0x2c8)],this['_pendingMutations'],this[_0xd54f43(0x2d7)],!0x1);}}[_0x38e6f9(0x399)](){var _0x1fb9f0=_0x38e6f9;throw new Error(_0x1fb9f0(0x365));}[_0x38e6f9(0x4d4)](_0xe1983f){var _0x351cec=_0x38e6f9;return this[_0x351cec(0x494)]['push'](_0xe1983f),this;}['onRemoteChangeset'](_0x465e05){var _0x525342=_0x38e6f9;return this[_0x525342(0x340)]['push'](_0x465e05),this;}[_0x38e6f9(0x463)](_0x406c62){var _0x4a6986=_0x38e6f9;if(this[_0x4a6986(0x2c8)])return this[_0x4a6986(0x4ec)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x4a6986(0x378));}[_0x38e6f9(0x21c)](_0x333460){var _0x896fe3=_0x38e6f9;return this[_0x896fe3(0x446)](!!(_0x333460!=null&&_0x333460[_0x896fe3(0x26b)]));}[_0x38e6f9(0x276)](){return this;}['toggleOffline'](){var _0x5b5786=_0x38e6f9;return this[_0x5b5786(0x434)][_0x5b5786(0x4b3)](exports['OfflineState'],this[_0x5b5786(0x308)],this[_0x5b5786(0x4c3)],this[_0x5b5786(0x2c8)],this[_0x5b5786(0x494)],this[_0x5b5786(0x2d7)]);}[_0x38e6f9(0x4e7)](){return this;}['_onConflict'](_0x18f592){var _0xd2a577=_0x38e6f9;return this[_0xd2a577(0x434)][_0xd2a577(0x4b3)](exports[_0xd2a577(0x3e2)],this[_0xd2a577(0x308)],this[_0xd2a577(0x4c3)],this[_0xd2a577(0x2c8)],this[_0xd2a577(0x494)],this[_0xd2a577(0x2d7)],_0x18f592);}},exports['FetchingMissState']=oe([w(0x7,a[_0x38e6f9(0x28d)](a['Injector'])),w(0x8,a['Inject'](p[_0x38e6f9(0x38b)])),w(0x9,a[_0x38e6f9(0x2ac)]),w(0xa,a[_0x38e6f9(0x2e6)]),w(0xb,a[_0x38e6f9(0x2a7)]),w(0xc,p[_0x38e6f9(0x428)]),w(0xd,a[_0x38e6f9(0x4bb)](K))],exports['FetchingMissState']);function It(_0x1731b8,_0x5798fc,_0x92aa64,_0x464186,_0x492134,_0x4b5940){var _0x17dcc9=_0x38e6f9;return _0x464186&&_0x492134[_0x17dcc9(0x4aa)]?_0x1731b8['createInstance'](exports[_0x17dcc9(0x4c4)],_0x5798fc,_0x92aa64,_0x464186,_0x492134,_0x4b5940,void 0x0):_0x464186?_0x1731b8['createInstance'](exports['AwaitingState'],_0x5798fc,_0x92aa64,_0x464186,_0x4b5940):_0x492134[_0x17dcc9(0x4aa)]?_0x1731b8[_0x17dcc9(0x4b3)](exports[_0x17dcc9(0x34d)],_0x5798fc,_0x92aa64,_0x492134,_0x4b5940):_0x1731b8[_0x17dcc9(0x4b3)](exports[_0x17dcc9(0x3aa)],_0x5798fc,_0x92aa64,_0x4b5940);}var ni=Object[_0x38e6f9(0x513)],Be=(_0x316d01,_0x173e91,_0x36f4a7,_0x94347b)=>{for(var _0x175fff=_0x94347b>0x1?void 0x0:_0x94347b?ni(_0x173e91,_0x36f4a7):_0x173e91,_0x1845e3=_0x316d01['length']-0x1,_0x5a332c;_0x1845e3>=0x0;_0x1845e3--)(_0x5a332c=_0x316d01[_0x1845e3])&&(_0x175fff=_0x5a332c(_0x175fff)||_0x175fff);return _0x175fff;},j=(_0xd64cc0,_0x12590f)=>(_0x3f108f,_0x589c82)=>_0x12590f(_0x3f108f,_0x589c82,_0xd64cc0);exports[_0x38e6f9(0x2e0)]=class extends a[_0x38e6f9(0x45f)]{constructor(_0x42857c,_0x296bb2,_0x90a7b6,_0x550197,_0x452b98,_0x41c092,_0x256806,_0x503a78,_0x4985e1,_0x28d82c,_0x5eb432,_0x37f478,_0x475e31){var _0x150c33=_0x38e6f9;super(),A(this,'_state$',new H['BehaviorSubject'](null)),A(this,_0x150c33(0x20f),this[_0x150c33(0x47a)]['asObservable']()),A(this,_0x150c33(0x421)),A(this,'_collaborationPaused',!0x1),A(this,_0x150c33(0x217),''),A(this,_0x150c33(0x369),0x0),A(this,'status$',this[_0x150c33(0x20f)][_0x150c33(0x2c4)](H[_0x150c33(0x24d)](_0x449a4c=>_0x449a4c?_0x449a4c[_0x150c33(0x236)]:je[_0x150c33(0x433)]),H[_0x150c33(0x26d)](0x1))),A(this,_0x150c33(0x22d),!0x1),A(this,_0x150c33(0x345),[]),(this[_0x150c33(0x308)]=_0x42857c,this['session']=_0x296bb2,this[_0x150c33(0x1f3)]=_0x90a7b6,this[_0x150c33(0x434)]=_0x550197,this['_compressMutationService']=_0x452b98,this[_0x150c33(0x3cd)]=_0x41c092,this[_0x150c33(0x47c)]=_0x256806,this[_0x150c33(0x30e)]=_0x503a78,this[_0x150c33(0x3ab)]=_0x4985e1,this[_0x150c33(0x43b)]=_0x28d82c,this[_0x150c33(0x3eb)]=_0x5eb432,this[_0x150c33(0x4ca)]=_0x37f478,this['_localCacheService']=_0x475e31);}get['state'](){var _0x465372=_0x38e6f9;return this[_0x465372(0x421)];}async[_0x38e6f9(0x376)](){var _0x59b053=_0x38e6f9;if(this[_0x59b053(0x27c)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){var _0x487123=_0x38e6f9;return this[_0x487123(0x388)]=!0x0,a[_0x487123(0x234)](()=>{var _0x324219=_0x487123;this[_0x324219(0x388)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x38e6f9(0x554)](_0x112ff7){this['_onLocalMutation'](_0x112ff7);}[_0x38e6f9(0x3bb)](_0x2e59c6){var _0x5089d5=_0x38e6f9;this[_0x5089d5(0x421)]=_0x2e59c6,this[_0x5089d5(0x47a)]['next'](_0x2e59c6);}async[_0x38e6f9(0x273)](){var _0x2b323d=_0x38e6f9,_0x40a788;this[_0x2b323d(0x3bb)](await this['_createInitialState']()),this[_0x2b323d(0x4ca)]&&((_0x40a788=this[_0x2b323d(0x4ca)])==null||_0x40a788[_0x2b323d(0x54d)](this[_0x2b323d(0x308)]),this['disposeWithMe'](this[_0x2b323d(0x4ca)]['getUnitStatus$'](this[_0x2b323d(0x308)])['subscribe'](_0x6f6036=>{var _0x23e90e=_0x2b323d;this[_0x23e90e(0x3ab)]['debug']('[CollaborationEntity]',_0x23e90e(0x30d),_0x6f6036),_0x6f6036===He[_0x23e90e(0x2ab)]?(this['_eventService']['emitEvent']({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x23e90e(0x3eb)][_0x23e90e(0x230)](new X[(_0x23e90e(0x2c0))](this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x23e90e(0x3eb)][_0x23e90e(0x230)](new X[(_0x23e90e(0x2c0))](this[_0x23e90e(0x308)])['id'],!0x0),this[_0x23e90e(0x3eb)]['setShowComponents'](!0x0));})));let _0x4334fc=!0x1;return this[_0x2b323d(0x4b4)](this[_0x2b323d(0x4fa)]['sessionStatus$'][_0x2b323d(0x508)](_0x513415=>{var _0x2ec247=_0x2b323d;_0x513415===re[_0x2ec247(0x3fd)]?this[_0x2ec247(0x220)](_0x4334fc):_0x513415===re['OFFLINE']&&(_0x4334fc=!0x0,this[_0x2ec247(0x360)]());})),this['disposeWithMe'](this['session'][_0x2b323d(0x20e)][_0x2b323d(0x508)](_0x437504=>{var _0x3e7e6e=_0x2b323d;try{switch(_0x437504[_0x3e7e6e(0x227)]){case p[_0x3e7e6e(0x498)][_0x3e7e6e(0x469)]:{this[_0x3e7e6e(0x3d6)](p[_0x3e7e6e(0x261)](_0x437504[_0x3e7e6e(0x3b8)]));break;}case p[_0x3e7e6e(0x498)]['CHANGESET_ACK']:{this[_0x3e7e6e(0x54f)](_0x437504['data']);break;}case p[_0x3e7e6e(0x498)][_0x3e7e6e(0x401)]:{this['_onRemoteRejected']();break;}case p[_0x3e7e6e(0x498)][_0x3e7e6e(0x3da)]:{this['_onRemoteRetry'](_0x437504[_0x3e7e6e(0x3b8)]);break;}case p[_0x3e7e6e(0x498)][_0x3e7e6e(0x305)]:{this[_0x3e7e6e(0x222)](_0x437504[_0x3e7e6e(0x3b8)][_0x3e7e6e(0x354)][_0x3e7e6e(0x24d)](_0x38c446=>p[_0x3e7e6e(0x261)](_0x38c446)));break;}case p[_0x3e7e6e(0x498)][_0x3e7e6e(0x39d)]:{this[_0x3e7e6e(0x413)]({'isPermissionRej':!0x0});break;}case p['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x5db16c){throw console[_0x3e7e6e(0x447)](_0x3e7e6e(0x3d9),_0x5db16c),_0x5db16c;}})),this[_0x2b323d(0x421)];}[_0x38e6f9(0x29f)](){var _0x3d3131=_0x38e6f9;this[_0x3d3131(0x22d)]=!0x1;}[_0x38e6f9(0x46d)](){var _0x391acc=_0x38e6f9;if(this[_0x391acc(0x22d)])throw new Error(_0x391acc(0x3d2));this[_0x391acc(0x22d)]=!0x0;}[_0x38e6f9(0x35a)](_0x550218){var _0x3e991e=_0x38e6f9;this[_0x3e991e(0x46d)](),this[_0x3e991e(0x3bb)](this[_0x3e991e(0x421)][_0x3e991e(0x4d4)](_0x550218)),this[_0x3e991e(0x29f)]();}[_0x38e6f9(0x3d6)](_0x42bdc5){var _0x4b674a=_0x38e6f9;if(!(_0x42bdc5[_0x4b674a(0x3fe)]<=this[_0x4b674a(0x47c)][_0x4b674a(0x493)](this[_0x4b674a(0x308)]))){if(this[_0x4b674a(0x388)]){this[_0x4b674a(0x345)]['push'](_0x42bdc5);return;}this[_0x4b674a(0x24f)](_0x42bdc5);}}[_0x38e6f9(0x48f)](){var _0x2e20f5=_0x38e6f9;this[_0x2e20f5(0x345)][_0x2e20f5(0x2db)](_0x2506b7=>this[_0x2e20f5(0x24f)](_0x2506b7)),this[_0x2e20f5(0x345)]=[];}['_applyRemoteChangeset'](_0x8beb62){var _0x17ecb9=_0x38e6f9;const _0x497dc6=this[_0x17ecb9(0x20a)][_0x17ecb9(0x4c2)][_0x17ecb9(0x25e)](this[_0x17ecb9(0x20a)]['interceptor']['getInterceptPoints']()[_0x17ecb9(0x3e1)])(_0x8beb62['mutations'],null)||_0x8beb62[_0x17ecb9(0x2c1)],_0x5c931e={..._0x8beb62,'mutations':_0x497dc6};this['_lockTransition'](),this[_0x17ecb9(0x3bb)](this[_0x17ecb9(0x421)][_0x17ecb9(0x53b)](_0x5c931e)),this[_0x17ecb9(0x29f)]();}[_0x38e6f9(0x54f)](_0x4ad437){var _0x5ce6e5=_0x38e6f9;this['_lockTransition'](),this[_0x5ce6e5(0x3bb)](this[_0x5ce6e5(0x421)]['onRemoteAck'](_0x4ad437)),this['_unlockTransition']();}[_0x38e6f9(0x413)](_0x1aedfd){var _0x2fb184=_0x38e6f9;this[_0x2fb184(0x46d)](),this[_0x2fb184(0x3bb)](this[_0x2fb184(0x421)][_0x2fb184(0x21c)](_0x1aedfd)),this[_0x2fb184(0x29f)]();}[_0x38e6f9(0x2d1)](_0x4eb019){var _0x24c9e4=_0x38e6f9;this['_lockTransition'](),this['_updateState'](this[_0x24c9e4(0x421)][_0x24c9e4(0x276)](_0x4eb019)),this[_0x24c9e4(0x29f)]();}[_0x38e6f9(0x222)](_0x218863){var _0x419ce2=_0x38e6f9;if(!(this[_0x419ce2(0x421)]instanceof exports['FetchingMissState']))throw new TypeError(_0x419ce2(0x4bf));const _0x1d6eda=_0x218863['map'](_0x284ea2=>{var _0x5c0ded=_0x419ce2;const _0x34221f=this[_0x5c0ded(0x20a)][_0x5c0ded(0x4c2)][_0x5c0ded(0x25e)](this[_0x5c0ded(0x20a)][_0x5c0ded(0x4c2)][_0x5c0ded(0x29a)]()[_0x5c0ded(0x3e1)])(_0x284ea2[_0x5c0ded(0x2c1)],null)||_0x284ea2[_0x5c0ded(0x2c1)];return{..._0x284ea2,'mutations':_0x34221f};});this[_0x419ce2(0x46d)](),this[_0x419ce2(0x3bb)](this[_0x419ce2(0x421)]['onMissedChangesetFetched'](_0x1d6eda)),this['_unlockTransition']();}[_0x38e6f9(0x360)](){var _0x6c3229=_0x38e6f9;this[_0x6c3229(0x46d)](),this[_0x6c3229(0x3bb)](this[_0x6c3229(0x421)][_0x6c3229(0x3a9)]()),this[_0x6c3229(0x29f)]();}[_0x38e6f9(0x220)](_0x2f02fe=!0x1){var _0x536ac1=_0x38e6f9;this[_0x536ac1(0x46d)](),this[_0x536ac1(0x3bb)](this['_state'][_0x536ac1(0x4e7)]()),this['_unlockTransition']();const _0x2f72d5=this[_0x536ac1(0x421)];_0x2f02fe&&_0x2f72d5 instanceof exports[_0x536ac1(0x3aa)]&&(this[_0x536ac1(0x46d)](),this['_updateState'](_0x2f72d5['fetchMiss']()),this[_0x536ac1(0x29f)]());}async[_0x38e6f9(0x374)](){return new Promise(_0x37d380=>{var _0x170407=_0x3427;this[_0x170407(0x4fa)][_0x170407(0x548)]['pipe'](H[_0x170407(0x277)](0x1))[_0x170407(0x508)](async _0x581513=>{var _0x269812=_0x170407;_0x37d380(await this[_0x269812(0x3a1)](_0x581513===re[_0x269812(0x3fd)]));});});}['_createHandler'](){var _0xc7822b=_0x38e6f9;const _0x5d5a4b=this[_0xc7822b(0x308)];return{'onStateChange':(_0x4dd28c,_0x4cf5c7)=>{var _0x4daa68=_0xc7822b;if(_0x4dd28c!==this[_0x4daa68(0x421)])throw new Error(_0x4daa68(0x2bb)+_0x4dd28c[_0x4daa68(0x236)]+_0x4daa68(0x535)+_0x4cf5c7['status']+_0x4daa68(0x32c)+this['_state']['status']);this[_0x4daa68(0x3bb)](_0x4cf5c7);},'onSendChangeset':_0x5d0363=>{var _0x2233a2=_0xc7822b;_0x5d0363[_0x2233a2(0x51a)]||(_0x5d0363[_0x2233a2(0x51a)]=this['_changesetSessionId'],_0x5d0363[_0x2233a2(0x344)]=++this[_0x2233a2(0x369)]);const _0x3597fa={'eventID':p[_0x2233a2(0x498)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x5d0363[_0x2233a2(0x308)],'unitType':this[_0x2233a2(0x1f3)],'changeset':_0x5d0363,'memberID':this[_0x2233a2(0x4fa)][_0x2233a2(0x33a)]()}};this[_0x2233a2(0x4fa)][_0x2233a2(0x2d8)](_0x3597fa,this[_0x2233a2(0x308)]);},'onMissingChangesets':({from:_0x46f738,to:_0x459ca0})=>{var _0x55d7f4=_0xc7822b;this['_logService'][_0x55d7f4(0x3b6)](_0x55d7f4(0x36c),_0x55d7f4(0x429)+_0x46f738+'\x20to\x20'+_0x459ca0);const _0xe6289b={'eventID':p[_0x55d7f4(0x498)][_0x55d7f4(0x300)],'data':{'unitID':_0x5d5a4b,'unitType':this['_type'],'from':_0x46f738,'to':_0x459ca0}};this[_0x55d7f4(0x4fa)][_0x55d7f4(0x2d8)](_0xe6289b,this[_0x55d7f4(0x308)]);}};}async[_0x38e6f9(0x3a1)](_0x284ec6){var _0x79e32c=_0x38e6f9,_0x116a46,_0x472d63,_0x1ed929;const _0x11d638=await((_0x116a46=this[_0x79e32c(0x1fd)])==null?void 0x0:_0x116a46[_0x79e32c(0x467)](this[_0x79e32c(0x308)])),_0x52700a=(_0x472d63=_0x11d638==null?void 0x0:_0x11d638[_0x79e32c(0x2c1)])!=null?_0x472d63:[],_0x30420a=(_0x1ed929=_0x11d638==null?void 0x0:_0x11d638[_0x79e32c(0x27f)])!=null?_0x1ed929:null,_0x23c747=!!(_0x30420a!=null&&_0x30420a['sid'])&&!!(_0x30420a!=null&&_0x30420a[_0x79e32c(0x344)]);this['_changesetSessionId']=_0x23c747?_0x30420a[_0x79e32c(0x51a)]:p[_0x79e32c(0x28b)](),this[_0x79e32c(0x369)]=_0x23c747?_0x30420a['reqId']:0x0;const _0x3332ed=this['unitID'];try{this[_0x79e32c(0x48d)](_0x30420a,_0x52700a);}catch(_0x1e8398){this[_0x79e32c(0x3ab)][_0x79e32c(0x447)](_0x1e8398);}const _0x465a90=this[_0x79e32c(0x40b)]();if(_0x284ec6){const _0x53079f=It(this[_0x79e32c(0x434)],_0x3332ed,this[_0x79e32c(0x1f3)],_0x30420a,_0x52700a,_0x465a90);return _0x53079f instanceof exports['PendingState']?_0x53079f[_0x79e32c(0x4e8)]():(_0x53079f instanceof exports[_0x79e32c(0x4c4)]||_0x53079f instanceof exports[_0x79e32c(0x235)])&&_0x53079f[_0x79e32c(0x399)](),_0x53079f;}return this[_0x79e32c(0x434)][_0x79e32c(0x4b3)](exports[_0x79e32c(0x252)],_0x3332ed,this['_type'],_0x30420a,_0x52700a,_0x465a90);}[_0x38e6f9(0x48d)](_0x2d8db8,_0x13abdb){var _0x31fa7d=_0x38e6f9,_0x1218d5,_0x482ea3;const _0x87aacf=this[_0x31fa7d(0x20a)][_0x31fa7d(0x4c2)][_0x31fa7d(0x25e)](this[_0x31fa7d(0x20a)][_0x31fa7d(0x4c2)][_0x31fa7d(0x29a)]()[_0x31fa7d(0x3e1)]);(_0x1218d5=_0x87aacf((_0x2d8db8==null?void 0x0:_0x2d8db8[_0x31fa7d(0x2c1)])||[],null))==null||_0x1218d5['forEach'](_0x27ac1f=>this[_0x31fa7d(0x43b)][_0x31fa7d(0x2e1)](_0x27ac1f['id'],_0x27ac1f[_0x31fa7d(0x473)])),(_0x482ea3=_0x87aacf(_0x13abdb||[],null))==null||_0x482ea3[_0x31fa7d(0x2db)](_0xde1b24=>this[_0x31fa7d(0x43b)][_0x31fa7d(0x2e1)](_0xde1b24['id'],_0xde1b24[_0x31fa7d(0x473)]));}},exports[_0x38e6f9(0x2e0)]=Be([j(0x3,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x21d)])),j(0x4,a[_0x38e6f9(0x28d)](p['CompressMutationService'])),j(0x5,a['Inject'](a[_0x38e6f9(0x51c)])),j(0x6,a[_0x38e6f9(0x28d)](p[_0x38e6f9(0x38b)])),j(0x7,a[_0x38e6f9(0x28d)](ee)),j(0x8,a[_0x38e6f9(0x2ac)]),j(0x9,a[_0x38e6f9(0x2e6)]),j(0xa,a['IPermissionService']),j(0xb,a['Optional'](de)),j(0xc,a['Optional'](K))],exports[_0x38e6f9(0x2e0)]),exports[_0x38e6f9(0x372)]=class extends exports['CollaborationEntity']{constructor(_0x419d80,_0x45fb0a,_0x43d8d1,_0x1911d1,_0x10cf3c,_0x3697f9,_0x3039b6,_0x5eaacd,_0x2a4196,_0x2212da,_0x4310fe,_0x597a83,_0x44d146){var _0x378240=_0x38e6f9;super(_0x419d80,_0x43d8d1,_0x45fb0a,_0x1911d1,_0x10cf3c,_0x3697f9,_0x3039b6,_0x5eaacd,_0x2a4196,_0x2212da,_0x4310fe,_0x597a83,_0x44d146),A(this,'_handlerCallback',null),(this[_0x378240(0x308)]=_0x419d80,this[_0x378240(0x4c3)]=_0x45fb0a);}['addHandlerCallback'](_0x1aeb58){this['_handlerCallback']=_0x1aeb58;}[_0x38e6f9(0x320)](){this['_handlerCallback']=null,super['dispose']();}[_0x38e6f9(0x40b)](){var _0x45a9ed=_0x38e6f9;const _0x5846bd=super[_0x45a9ed(0x40b)]();return _0x5846bd[_0x45a9ed(0x324)]=_0x52f447=>{var _0x1f5a21=_0x45a9ed,_0xf32643,_0x479f0e;return(_0x479f0e=(_0xf32643=this[_0x1f5a21(0x3c5)])==null?void 0x0:_0xf32643[_0x1f5a21(0x324)])==null?void 0x0:_0x479f0e['call'](_0xf32643,_0x52f447);},_0x5846bd[_0x45a9ed(0x499)]=_0x144a29=>{var _0x5292eb=_0x45a9ed,_0x1810ee,_0x42b0b7;return(_0x42b0b7=(_0x1810ee=this[_0x5292eb(0x3c5)])==null?void 0x0:_0x1810ee['onTransformState'])==null?void 0x0:_0x42b0b7[_0x5292eb(0x31e)](_0x1810ee,_0x144a29);},_0x5846bd[_0x45a9ed(0x3cc)]=_0x34e0a1=>{var _0x30788a=_0x45a9ed,_0x290168,_0x1e1d5c;return(_0x1e1d5c=(_0x290168=this[_0x30788a(0x3c5)])==null?void 0x0:_0x290168[_0x30788a(0x3cc)])==null?void 0x0:_0x1e1d5c['call'](_0x290168,_0x34e0a1);},_0x5846bd[_0x45a9ed(0x3af)]=_0x5867b3=>{var _0x584cca=_0x45a9ed,_0x330771,_0x52c719;return(_0x52c719=(_0x330771=this[_0x584cca(0x3c5)])==null?void 0x0:_0x330771['onSyncEditingCollabCursor'])==null?void 0x0:_0x52c719[_0x584cca(0x31e)](_0x330771,_0x5867b3);},_0x5846bd['onTransformRemoteChangesetByIMECache']=_0x1ae382=>{var _0x3a9ffa=_0x45a9ed,_0x309719,_0x31e83c,_0x325af7;if(!((_0x309719=this[_0x3a9ffa(0x3c5)])!=null&&_0x309719[_0x3a9ffa(0x4de)]))throw new Error(_0x3a9ffa(0x1e4));return(_0x325af7=(_0x31e83c=this['_handlerCallback'])==null?void 0x0:_0x31e83c[_0x3a9ffa(0x4de)])==null?void 0x0:_0x325af7['call'](_0x31e83c,_0x1ae382);},_0x5846bd[_0x45a9ed(0x44b)]=_0x50dbf5=>{var _0x530d30=_0x45a9ed,_0x13dd70,_0x4b985e,_0x5a9b9f;if(!((_0x13dd70=this[_0x530d30(0x3c5)])!=null&&_0x13dd70[_0x530d30(0x44b)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5a9b9f=(_0x4b985e=this[_0x530d30(0x3c5)])==null?void 0x0:_0x4b985e[_0x530d30(0x44b)])==null?void 0x0:_0x5a9b9f[_0x530d30(0x31e)](_0x4b985e,_0x50dbf5);},_0x5846bd;}async[_0x38e6f9(0x273)](){var _0x4e958b=_0x38e6f9;const _0x9548d4=await super[_0x4e958b(0x273)]();return this[_0x4e958b(0x4b4)](this[_0x4e958b(0x43b)][_0x4e958b(0x2ed)]((_0x4064db,_0x2dcb9a)=>{var _0x39b47c=_0x4e958b;if(_0x4064db[_0x39b47c(0x4c3)]!==a['CommandType'][_0x39b47c(0x316)]||_0x2dcb9a!=null&&_0x2dcb9a['fromCollab']||_0x2dcb9a!=null&&_0x2dcb9a[_0x39b47c(0x41c)]||_0x4064db['id']===ct[_0x39b47c(0x509)]['id'])return;const _0x1821eb=_0x4064db[_0x39b47c(0x473)];if((_0x1821eb==null?void 0x0:_0x1821eb[_0x39b47c(0x3e3)])!==this[_0x39b47c(0x308)])return;const _0x1123b0=_0x4064db,_0x534fe5=this['_compressMutationService'][_0x39b47c(0x4c2)][_0x39b47c(0x25e)](this[_0x39b47c(0x20a)][_0x39b47c(0x4c2)][_0x39b47c(0x29a)]()[_0x39b47c(0x50d)])([_0x1123b0],null)||[_0x1123b0];this['_onLocalMutation'](_0x534fe5[0x0]);})),_0x9548d4;}},exports[_0x38e6f9(0x372)]=Be([j(0x3,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x21d)])),j(0x4,a[_0x38e6f9(0x28d)](p['CompressMutationService'])),j(0x5,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x51c)])),j(0x6,a['Inject'](p[_0x38e6f9(0x38b)])),j(0x7,a[_0x38e6f9(0x28d)](ee)),j(0x8,a[_0x38e6f9(0x2ac)]),j(0x9,a[_0x38e6f9(0x2e6)]),j(0xa,a[_0x38e6f9(0x1e1)]),j(0xb,a[_0x38e6f9(0x4bb)](de)),j(0xc,a[_0x38e6f9(0x4bb)](K))],exports[_0x38e6f9(0x372)]),exports[_0x38e6f9(0x2b0)]=class extends exports[_0x38e6f9(0x2e0)]{constructor(_0xb53561,_0x36fa0b,_0xd94ff6,_0x222fff,_0x355630,_0x3fe9b5,_0x13a375,_0x562b18,_0x555c86,_0x1213f0,_0x1b8c1f,_0x49a69e,_0x46f4d3,_0x56d0eb){var _0x46cb8a=_0x38e6f9;super(_0xb53561,_0xd94ff6,_0x36fa0b,_0x222fff,_0x355630,_0x3fe9b5,_0x13a375,_0x555c86,_0x1213f0,_0x1b8c1f,_0x49a69e,_0x46f4d3,_0x56d0eb),this[_0x46cb8a(0x308)]=_0xb53561,this[_0x46cb8a(0x4c3)]=_0x36fa0b,this['_sheetTransformSelectionsService']=_0x562b18;}[_0x38e6f9(0x40b)](){var _0xc72c4=_0x38e6f9;const _0xd3b474=super[_0xc72c4(0x40b)]();return _0xd3b474[_0xc72c4(0x3cc)]=_0x8e738c=>this[_0xc72c4(0x1f5)]['transformSelections'](_0x8e738c),_0xd3b474;}async[_0x38e6f9(0x273)](){var _0x487c39=_0x38e6f9;const _0x2cea91=await super[_0x487c39(0x273)]();return this[_0x487c39(0x4b4)](this['_commandService'][_0x487c39(0x2ed)]((_0x14af07,_0x555f39)=>{var _0x332f1e=_0x487c39;if(_0x14af07[_0x332f1e(0x4c3)]!==a[_0x332f1e(0x253)][_0x332f1e(0x316)]||_0x555f39!=null&&_0x555f39['fromCollab']||_0x555f39!=null&&_0x555f39[_0x332f1e(0x41c)])return;const _0x299e79=_0x14af07['params'];if((_0x299e79==null?void 0x0:_0x299e79['unitId'])!==this[_0x332f1e(0x308)])return;const _0x161f3c=_0x14af07,_0x3c730a=this[_0x332f1e(0x20a)][_0x332f1e(0x4c2)][_0x332f1e(0x25e)](this[_0x332f1e(0x20a)][_0x332f1e(0x4c2)][_0x332f1e(0x29a)]()[_0x332f1e(0x50d)])([_0x161f3c],null)||[_0x161f3c];this['_onLocalMutation'](_0x3c730a[0x0]);})),_0x2cea91;}},exports[_0x38e6f9(0x2b0)]=Be([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0x38e6f9(0x28d)](p[_0x38e6f9(0x3f1)])),j(0x5,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x51c)])),j(0x6,a[_0x38e6f9(0x28d)](p[_0x38e6f9(0x38b)])),j(0x7,a[_0x38e6f9(0x28d)](exports[_0x38e6f9(0x2a1)])),j(0x8,a[_0x38e6f9(0x28d)](ee)),j(0x9,a[_0x38e6f9(0x2ac)]),j(0xa,a['ICommandService']),j(0xb,a[_0x38e6f9(0x1e1)]),j(0xc,a['Optional'](de)),j(0xd,a[_0x38e6f9(0x4bb)](K))],exports[_0x38e6f9(0x2b0)]);const pt=a['createIdentifier'](_0x38e6f9(0x486));function mt(_0x1a00df){var _0xd7e923=_0x38e6f9,_0x3ef0af,_0x128950,_0x1ab737,_0x5def34,_0x3afb32;const _0x3c21fb=_0x1a00df[_0xd7e923(0x3b8)],_0x1a704e=JSON[_0xd7e923(0x46b)](_0x3c21fb);switch(_0x1a704e[_0xd7e923(0x1f8)]){case W[_0xd7e923(0x51f)]:case W[_0xd7e923(0x510)]:{const _0x3a4088=_0x1a704e[_0xd7e923(0x1df)];return{..._0x1a704e,'data':_0x3a4088,'cmd':_0x1a704e['cmd']};}case W['JOIN']:{const _0x361d1d=_0x1a704e[_0xd7e923(0x34f)];return{..._0x1a704e,'data':_0x361d1d,'cmd':_0x1a704e['cmd']};}case W[_0xd7e923(0x205)]:{const _0x2a47ee=_0x1a704e[_0xd7e923(0x3e7)];switch(_0x2a47ee[_0xd7e923(0x227)]){case p[_0xd7e923(0x498)][_0xd7e923(0x39d)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':(_0x3ef0af=_0x2a47ee['permissionRejEvent'])==null?void 0x0:_0x3ef0af['cs']},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x269)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':(_0x128950=_0x2a47ee[_0xd7e923(0x450)])==null?void 0x0:_0x128950['cs']},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x469)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':(_0x1ab737=_0x2a47ee[_0xd7e923(0x4fd)])==null?void 0x0:_0x1ab737['cs']},'cmd':_0x1a704e['cmd']};case p[_0xd7e923(0x498)][_0xd7e923(0x401)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':(_0x5def34=_0x2a47ee['csRejEvent'])==null?void 0x0:_0x5def34['cs']},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x3da)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':(_0x3afb32=_0x2a47ee['csShouldRetryEvent'])==null?void 0x0:_0x3afb32['cs']},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x4be)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee[_0xd7e923(0x216)]},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x517)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee[_0xd7e923(0x398)]},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x3f3)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee[_0xd7e923(0x4ab)]},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x2b7)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee[_0xd7e923(0x528)]},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x3d4)]:case p[_0xd7e923(0x498)][_0xd7e923(0x20b)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee[_0xd7e923(0x4b0)]},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x537)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee['liveShareNewHost']},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p[_0xd7e923(0x498)][_0xd7e923(0x20c)]:return{..._0x1a704e,'data':_0x2a47ee,'cmd':_0x1a704e['cmd']};case p['CollaborationEvent'][_0xd7e923(0x1de)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee[_0xd7e923(0x390)]},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p['CollaborationEvent'][_0xd7e923(0x44a)]:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee[_0xd7e923(0x419)]},'cmd':_0x1a704e['cmd']};case p[_0xd7e923(0x498)]['SHOULD_CLOSE_CONN']:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee['shouldCloseConn']},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};case p['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x1a704e,'data':{..._0x2a47ee,'data':_0x2a47ee[_0xd7e923(0x3f7)]},'cmd':_0x1a704e[_0xd7e923(0x1f8)]};default:return _0x1a704e;}}default:return _0x1a704e;}}function gt(_0x56b6c7){var _0x4f7b3f=_0x38e6f9;switch(_0x56b6c7[_0x4f7b3f(0x1f8)]){case W['HEARTBEAT']:case W[_0x4f7b3f(0x510)]:return JSON[_0x4f7b3f(0x2b8)]({'cmd':_0x56b6c7['cmd'],'routeKey':_0x56b6c7[_0x4f7b3f(0x3b5)]});case W[_0x4f7b3f(0x1f2)]:{let _0x2446f0;switch(_0x56b6c7[_0x4f7b3f(0x3b8)][_0x4f7b3f(0x227)]){case p[_0x4f7b3f(0x498)][_0x4f7b3f(0x4be)]:{_0x2446f0={'eventID':p[_0x4f7b3f(0x498)][_0x4f7b3f(0x4be)],'updateCursorEvent':_0x56b6c7['data'][_0x4f7b3f(0x3b8)]};break;}case p[_0x4f7b3f(0x498)][_0x4f7b3f(0x3f3)]:{_0x2446f0={'eventID':p[_0x4f7b3f(0x498)][_0x4f7b3f(0x3f3)],'leaveEvent':_0x56b6c7[_0x4f7b3f(0x3b8)]['data']};break;}case p[_0x4f7b3f(0x498)][_0x4f7b3f(0x517)]:{_0x2446f0={'eventID':p[_0x4f7b3f(0x498)][_0x4f7b3f(0x517)],'joinEvent':_0x56b6c7['data'][_0x4f7b3f(0x3b8)]};break;}case p[_0x4f7b3f(0x498)][_0x4f7b3f(0x2b7)]:{_0x2446f0={'eventID':p[_0x4f7b3f(0x498)][_0x4f7b3f(0x2b7)],'liveShareNewHost':_0x56b6c7['data'][_0x4f7b3f(0x3b8)]};break;}case p[_0x4f7b3f(0x498)][_0x4f7b3f(0x20b)]:{_0x2446f0={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x56b6c7[_0x4f7b3f(0x3b8)][_0x4f7b3f(0x3b8)]};break;}case p['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x2446f0={'eventID':p[_0x4f7b3f(0x498)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x56b6c7[_0x4f7b3f(0x3b8)]['data']};break;}case p[_0x4f7b3f(0x498)]['LIVESHARE_REQUEST_HOST']:{_0x2446f0={'eventID':p[_0x4f7b3f(0x498)][_0x4f7b3f(0x2b6)],'liveShareRequestHost':_0x56b6c7[_0x4f7b3f(0x3b8)][_0x4f7b3f(0x3b8)]};break;}case p[_0x4f7b3f(0x498)]['LIVESHARE_FETCH_OPERATIONS']:{_0x2446f0={'eventID':p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2446f0={'eventID':_0x56b6c7['data'][_0x4f7b3f(0x227)]};}return JSON[_0x4f7b3f(0x2b8)]({'cmd':_0x56b6c7['cmd'],'routeKey':_0x56b6c7[_0x4f7b3f(0x3b5)],'collaMsg':_0x2446f0});}case W[_0x4f7b3f(0x326)]:return JSON['stringify']({'cmd':_0x56b6c7['cmd'],'routeKey':_0x56b6c7[_0x4f7b3f(0x3b5)],'joinReq':_0x56b6c7[_0x4f7b3f(0x3b8)]});case W[_0x4f7b3f(0x42b)]:return JSON[_0x4f7b3f(0x2b8)]({'cmd':_0x56b6c7['cmd'],'routeKey':_0x56b6c7[_0x4f7b3f(0x3b5)],'leaveReq':_0x56b6c7[_0x4f7b3f(0x3b8)]});default:throw new Error(_0x4f7b3f(0x351));}}var ri=Object[_0x38e6f9(0x513)],si=(_0x64f2cc,_0x3254c4,_0x3bdd83,_0x1518e8)=>{var _0x22e95e=_0x38e6f9;for(var _0x28c634=_0x1518e8>0x1?void 0x0:_0x1518e8?ri(_0x3254c4,_0x3bdd83):_0x3254c4,_0xd17454=_0x64f2cc[_0x22e95e(0x4aa)]-0x1,_0x197017;_0xd17454>=0x0;_0xd17454--)(_0x197017=_0x64f2cc[_0xd17454])&&(_0x28c634=_0x197017(_0x28c634)||_0x28c634);return _0x28c634;},_e=(_0xfadc23,_0xb75d8e)=>(_0x330967,_0x186234)=>_0xb75d8e(_0x330967,_0x186234,_0xfadc23);const Fe=a[_0x38e6f9(0x491)](_0x38e6f9(0x54a));function oi(_0x58dca0,_0x6fc81c,_0x495d04){var _0x71fe91=_0x38e6f9;return _0x58dca0+'/'+_0x6fc81c+'/unit/'+_0x495d04+_0x71fe91(0x36f);}exports['CollaborationSocketService']=class extends a[_0x38e6f9(0x2e7)]{constructor(_0x100115,_0x187736,_0x2111bb,_0x1abd24,_0x3241e9){var _0x3d356e=_0x38e6f9;super(),this['_injector']=_0x100115,this['_httpService']=_0x187736,this[_0x3d356e(0x431)]=_0x2111bb,this[_0x3d356e(0x3ab)]=_0x1abd24,this[_0x3d356e(0x4a8)]=_0x3241e9;}[_0x38e6f9(0x4cc)](_0x52c270){var _0x1074a0=_0x38e6f9;const _0x28c304=this[_0x1074a0(0x434)][_0x1074a0(0x2b5)](q['ISocketService']);if(!_0x28c304)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x30ba5d=_0x28c304['createSocket'](_0x52c270);if(!_0x30ba5d)throw new Error(_0x1074a0(0x364));const _0xb2248e=new a['DisposableCollection'](),_0x3c8c03=new H[(_0x1074a0(0x45c))]();_0xb2248e[_0x1074a0(0x325)](_0x30ba5d[_0x1074a0(0x53c)][_0x1074a0(0x508)](_0x38ae6d=>_0x3c8c03[_0x1074a0(0x203)](_0x38ae6d))),_0xb2248e[_0x1074a0(0x325)](a[_0x1074a0(0x234)](()=>_0x3c8c03['complete']()));const _0x57e1cf=new H[(_0x1074a0(0x45c))]();_0xb2248e[_0x1074a0(0x325)](_0x30ba5d[_0x1074a0(0x2ea)][_0x1074a0(0x508)](_0x23b1ff=>_0x57e1cf['next'](_0x23b1ff))),_0xb2248e[_0x1074a0(0x325)](a[_0x1074a0(0x234)](()=>_0x57e1cf[_0x1074a0(0x211)]()));const _0x399c7f=new H[(_0x1074a0(0x45c))]();_0xb2248e['add'](_0x30ba5d[_0x1074a0(0x356)]['subscribe'](_0x217990=>{const _0x3473b0=mt(_0x217990);_0x399c7f['next'](_0x3473b0);})),_0xb2248e[_0x1074a0(0x325)](a[_0x1074a0(0x234)](()=>_0x399c7f[_0x1074a0(0x211)]()));let _0x43d378;const _0x2c6842=()=>{var _0x40b324=_0x1074a0;_0x57e1cf[_0x40b324(0x203)](new Event(_0x40b324(0x4d3))),_0x3c8c03[_0x40b324(0x203)](new Event(_0x40b324(0x4d3))),_0x43d378[_0x40b324(0x400)]();};return _0x43d378={'memberID':'','close$':_0x3c8c03[_0x1074a0(0x522)](),'error$':_0x57e1cf[_0x1074a0(0x522)](),'open$':_0x30ba5d[_0x1074a0(0x2ba)],'message$':_0x399c7f['asObservable'](),'send':_0x420be1=>{var _0x2f5ca9=_0x1074a0;if(_0x420be1[_0x2f5ca9(0x1f8)]===W[_0x2f5ca9(0x1f2)]){if(_0x420be1[_0x2f5ca9(0x3b8)][_0x2f5ca9(0x227)]===p[_0x2f5ca9(0x498)][_0x2f5ca9(0x26a)]){this[_0x2f5ca9(0x373)](_0x43d378,_0x420be1['data'])[_0x2f5ca9(0x1ed)](_0x528820=>{this['_logService']['error'](_0x528820),_0x2c6842();});return;}if(_0x420be1[_0x2f5ca9(0x3b8)][_0x2f5ca9(0x227)]===p[_0x2f5ca9(0x498)]['FETCH_MISSING']){const _0x287faf=_0x420be1[_0x2f5ca9(0x3b8)];this['_fetchMissChangesets'](_0x287faf)['then'](_0xc60e40=>{var _0x45f0dc=_0x2f5ca9;_0x399c7f[_0x45f0dc(0x203)]({'cmd':W[_0x45f0dc(0x205)],'code':se['OK'],'routeKey':_0x287faf[_0x45f0dc(0x3b8)]['unitID'],'routeType':'','data':{'eventID':p[_0x45f0dc(0x498)][_0x45f0dc(0x305)],'data':{'changesets':_0xc60e40}}});})['catch'](_0x24ab90=>{var _0x55c4cb=_0x2f5ca9;this[_0x55c4cb(0x3ab)]['error'](_0x24ab90),_0x2c6842();});return;}}_0x30ba5d[_0x2f5ca9(0x2d8)](gt(_0x420be1));},'close':()=>{var _0x551b5a=_0x1074a0;_0x30ba5d[_0x551b5a(0x400)](),_0xb2248e[_0x551b5a(0x320)]();}},_0x43d378;}async[_0x38e6f9(0x373)](_0x19b25a,_0x1853e2){var _0x1f009a=_0x38e6f9,_0x409430;const {unitType:_0x3e6bfd,unitID:_0x3b0403,changeset:_0x3592bc}=_0x1853e2[_0x1f009a(0x3b8)],_0x227770={'unitID':_0x3b0403,'memberID':_0x19b25a[_0x1f009a(0x200)],'type':_0x3e6bfd,'changeset':p['parseChangesetToProtocol'](_0x3592bc)},_0x46ec69=this[_0x1f009a(0x431)][_0x1f009a(0x48e)](Y),_0x13be89=oi((_0x409430=_0x46ec69==null?void 0x0:_0x46ec69[_0x1f009a(0x41e)])!=null?_0x409430:kt,_0x3e6bfd,_0x3b0403);try{await this[_0x1f009a(0x38d)]['post'](_0x13be89,{'body':_0x227770});}catch(_0xfa9ac4){throw this[_0x1f009a(0x3ab)]['error'](_0x1f009a(0x1fc),_0x1f009a(0x3c4)),_0xfa9ac4;}}async['_fetchMissChangesets'](_0x46aff5){var _0x580f4b=_0x38e6f9;const {unitID:_0x1f8c2c,from:_0x1081cf,to:_0x28f0cd,unitType:_0x255f68}=_0x46aff5['data'];return(await this['_snapshotServerService'][_0x580f4b(0x36a)]({'metadata':void 0x0},{'unitID':_0x1f8c2c,'type':_0x255f68,'from':_0x1081cf,'to':_0x28f0cd}))['changesets'];}},exports[_0x38e6f9(0x2f3)]=si([_e(0x0,a['Inject'](a[_0x38e6f9(0x21d)])),_e(0x1,a[_0x38e6f9(0x28d)](q['HTTPService'])),_e(0x2,a[_0x38e6f9(0x338)]),_e(0x3,a[_0x38e6f9(0x2ac)]),_e(0x4,p['ISnapshotServerService'])],exports['CollaborationSocketService']);var ai=Object[_0x38e6f9(0x513)],ci=(_0x4fcd9d,_0x18c3e6,_0x499320,_0x71a061)=>{var _0x23d7ab=_0x38e6f9;for(var _0x2b3093=_0x71a061>0x1?void 0x0:_0x71a061?ai(_0x18c3e6,_0x499320):_0x18c3e6,_0x24deb6=_0x4fcd9d[_0x23d7ab(0x4aa)]-0x1,_0x3761e0;_0x24deb6>=0x0;_0x24deb6--)(_0x3761e0=_0x4fcd9d[_0x24deb6])&&(_0x2b3093=_0x3761e0(_0x2b3093)||_0x2b3093);return _0x2b3093;},he=(_0x64bbfd,_0x57abc2)=>(_0x3df7ea,_0x55ca4a)=>_0x57abc2(_0x3df7ea,_0x55ca4a,_0x64bbfd);exports[_0x38e6f9(0x23b)]=class extends a[_0x38e6f9(0x2e7)]{constructor(_0x22dfb7,_0x1fc2d7,_0x4decac,_0x4305c3,_0x5a9db9,_0x3ba424){var _0x3b2a4f=_0x38e6f9;super(),A(this,_0x3b2a4f(0x37a),new H[(_0x3b2a4f(0x51e))](void 0x0)),A(this,_0x3b2a4f(0x3f4),this[_0x3b2a4f(0x37a)]['asObservable']()),A(this,_0x3b2a4f(0x407),null),A(this,_0x3b2a4f(0x4af),new Map()),A(this,_0x3b2a4f(0x315),new H[(_0x3b2a4f(0x51e))](re[_0x3b2a4f(0x487)])),A(this,_0x3b2a4f(0x210),this[_0x3b2a4f(0x315)][_0x3b2a4f(0x522)]()),A(this,_0x3b2a4f(0x4f1),!0x1),A(this,_0x3b2a4f(0x209)),A(this,_0x3b2a4f(0x33d),0x0),A(this,_0x3b2a4f(0x397)),A(this,_0x3b2a4f(0x31a)),(this['_injector']=_0x22dfb7,this[_0x3b2a4f(0x3ab)]=_0x1fc2d7,this[_0x3b2a4f(0x431)]=_0x4decac,this[_0x3b2a4f(0x2b2)]=_0x4305c3,this[_0x3b2a4f(0x310)]=_0x5a9db9,this[_0x3b2a4f(0x496)]=_0x3ba424,this[_0x3b2a4f(0x4e2)]());}get['_socket'](){var _0x47b177=_0x38e6f9;return this[_0x47b177(0x37a)][_0x47b177(0x335)]();}[_0x38e6f9(0x4e2)](){var _0x2889df=_0x38e6f9;this[_0x2889df(0x496)]&&this[_0x2889df(0x4b4)](this[_0x2889df(0x496)][_0x2889df(0x4fe)]['subscribe'](_0x1d60a0=>{var _0x3287e3=_0x2889df;_0x1d60a0&&!this[_0x3287e3(0x422)]&&this['reconnect'](),_0x1d60a0||this[_0x3287e3(0x296)]();}));}[_0x38e6f9(0x320)](){var _0x3fe403=_0x38e6f9;super[_0x3fe403(0x320)](),this[_0x3fe403(0x328)](),this[_0x3fe403(0x1e6)](),this[_0x3fe403(0x52a)](),this[_0x3fe403(0x4af)][_0x3fe403(0x2db)](_0x4d2df8=>_0x4d2df8[_0x3fe403(0x320)]()),this[_0x3fe403(0x4af)][_0x3fe403(0x1e7)](),this['_status$'][_0x3fe403(0x211)]();}async['requireSession'](_0x7b839a){var _0x478677=_0x38e6f9;if(this[_0x478677(0x4af)][_0x478677(0x306)](_0x7b839a))return this[_0x478677(0x4af)][_0x478677(0x2b5)](_0x7b839a);this['_tryEnsureSocket']();const _0x4cc786=this['_injector']['createInstance'](exports[_0x478677(0x264)],_0x7b839a,this[_0x478677(0x37a)]['asObservable']());return this[_0x478677(0x4af)]['set'](_0x7b839a,_0x4cc786),_0x4cc786;}['closeSession'](_0x50228d){var _0x5a8e34=_0x38e6f9,_0x3d116e;const _0x551818=this['_sessions'][_0x5a8e34(0x2b5)](_0x50228d);_0x551818&&(this[_0x5a8e34(0x4af)][_0x5a8e34(0x542)](_0x50228d),_0x551818[_0x5a8e34(0x400)]()),this[_0x5a8e34(0x4af)][_0x5a8e34(0x30f)]||(_0x3d116e=this[_0x5a8e34(0x422)])==null||_0x3d116e[_0x5a8e34(0x400)]();}[_0x38e6f9(0x492)](){var _0x45a87d=_0x38e6f9;this['_retryCount']=0x0,this[_0x45a87d(0x328)](),this[_0x45a87d(0x295)]();}[_0x38e6f9(0x328)](){var _0x519b57=_0x38e6f9;this[_0x519b57(0x209)]!=null&&(clearTimeout(this[_0x519b57(0x209)]),this[_0x519b57(0x209)]=null);}async[_0x38e6f9(0x482)](){var _0x3ccaff=_0x38e6f9,_0x3e5f71;const _0x5c3dc8=this['_configService'][_0x3ccaff(0x48e)](Y),_0x454c77=(_0x3e5f71=_0x5c3dc8==null?void 0x0:_0x5c3dc8['collabWebSocketUrl'])!=null?_0x3e5f71:ht,_0x5c5301=await this[_0x3ccaff(0x2b2)][_0x3ccaff(0x430)](_0x454c77);return this[_0x3ccaff(0x407)]=_0x5c5301,_0x5c5301;}async['_tryEnsureSocket'](){var _0x3106a3=_0x38e6f9,_0x49af45,_0x332bbd;try{const _0x540c2d=(_0x332bbd=(_0x49af45=this[_0x3106a3(0x422)])!=null?_0x49af45:this[_0x3106a3(0x407)])!=null?_0x332bbd:await this['_createSocket']();if(_0x540c2d){const _0x31a37c=_0x540c2d[_0x3106a3(0x2d8)];_0x540c2d[_0x3106a3(0x2d8)]=_0x54b6be=>(this['_rescheduleHeartbeat'](),_0x31a37c['apply'](_0x540c2d,[_0x54b6be])),_0x540c2d[_0x3106a3(0x356)]['subscribe'](_0x24c896=>this[_0x3106a3(0x1f0)](_0x540c2d,_0x24c896)),_0x540c2d[_0x3106a3(0x2ea)][_0x3106a3(0x2c4)](V[_0x3106a3(0x277)](0x1))['subscribe'](_0x1b3879=>this[_0x3106a3(0x3ab)][_0x3106a3(0x447)](_0x3106a3(0x480),_0x1b3879)),_0x540c2d['open$']['pipe'](V[_0x3106a3(0x277)](0x1))[_0x3106a3(0x508)](()=>{var _0x9a933f=_0x3106a3;this[_0x9a933f(0x501)](_0x540c2d);}),_0x540c2d[_0x3106a3(0x53c)][_0x3106a3(0x2c4)](V[_0x3106a3(0x277)](0x1))[_0x3106a3(0x508)](_0x16672b=>{var _0x5fbc1a=_0x3106a3;this[_0x5fbc1a(0x3ab)]['debug'](_0x5fbc1a(0x239),_0x5fbc1a(0x4e3),_0x16672b),this['_onConnectionFailed']();});}}catch(_0x38324b){this['_logService'][_0x3106a3(0x447)](_0x38324b),this[_0x3106a3(0x336)]();}}[_0x38e6f9(0x501)](_0xa83e5b){var _0x56b444=_0x38e6f9;this[_0x56b444(0x3ab)][_0x56b444(0x3b6)](_0x56b444(0x239),_0x56b444(0x3d8)),_0xa83e5b[_0x56b444(0x2d8)]({'cmd':W[_0x56b444(0x510)]}),this[_0x56b444(0x371)]();}[_0x38e6f9(0x296)](){var _0x5f5169=_0x38e6f9;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x5f5169(0x315)][_0x5f5169(0x203)](re['OFFLINE']),this[_0x5f5169(0x37a)]['next'](null),this['_clearTimeoutTimer'](),this[_0x5f5169(0x52a)]();}[_0x38e6f9(0x336)](){var _0x1f6e13=_0x38e6f9,_0x6d114f;this[_0x1f6e13(0x296)](),this[_0x1f6e13(0x33d)]<((_0x6d114f=this['_configService']['getConfig'](ut))!=null?_0x6d114f:Mt)?(this['_collaborationUIEventService'][_0x1f6e13(0x3f2)]({'id':Z[_0x1f6e13(0x49b)]}),this['_tryReconnect']()):this[_0x1f6e13(0x310)][_0x1f6e13(0x3f2)]({'id':Z[_0x1f6e13(0x432)]});}[_0x38e6f9(0x295)](){var _0x2d2a75=_0x38e6f9,_0x2881e7;const _0x4b2f53=this[_0x2d2a75(0x33d)],_0xcd04d8=this[_0x2d2a75(0x431)]['getConfig'](Y),_0x1f020a=_0x4b2f53===0x0?0x0:((_0x2881e7=_0xcd04d8==null?void 0x0:_0xcd04d8[_0x2d2a75(0x2fe)])!=null?_0x2881e7:wt)*0x2**_0x4b2f53;this[_0x2d2a75(0x209)]=setTimeout(()=>{var _0x48348d=_0x2d2a75;clearTimeout(this[_0x48348d(0x209)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x1f020a),this[_0x2d2a75(0x33d)]+=0x1;}[_0x38e6f9(0x1f0)](_0x398b8e,_0x49cca0){var _0x2b06e3=_0x38e6f9;const {cmd:_0x22501e}=_0x49cca0;_0x22501e===W['HELLO']&&!this[_0x2b06e3(0x4f1)]&&(_0x398b8e[_0x2b06e3(0x200)]=_0x49cca0[_0x2b06e3(0x3b8)]['memberID'],this[_0x2b06e3(0x37a)][_0x2b06e3(0x203)](_0x398b8e),this['_status$'][_0x2b06e3(0x203)](re['ONLINE']),this[_0x2b06e3(0x4f1)]=!0x0,this[_0x2b06e3(0x407)]=null),_0x22501e===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x2b06e3(0x371)]();}[_0x38e6f9(0x371)](){var _0x19c390=_0x38e6f9,_0x4c748a;this[_0x19c390(0x52a)](),this[_0x19c390(0x397)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x4c748a=this[_0x19c390(0x431)][_0x19c390(0x48e)](_t))!=null?_0x4c748a:Pt);}[_0x38e6f9(0x32b)](){var _0x2328a6=_0x38e6f9;this[_0x2328a6(0x422)][_0x2328a6(0x2d8)]({'cmd':W[_0x2328a6(0x51f)]}),this[_0x2328a6(0x21f)]();}[_0x38e6f9(0x21f)](){var _0x2f9571=_0x38e6f9,_0x36c772;this[_0x2f9571(0x31a)]=setTimeout(()=>this[_0x2f9571(0x336)](),(_0x36c772=this[_0x2f9571(0x431)][_0x2f9571(0x48e)](ke))!=null?_0x36c772:lt);}[_0x38e6f9(0x52a)](){var _0x3f236b=_0x38e6f9;this[_0x3f236b(0x397)]!=null&&(clearTimeout(this[_0x3f236b(0x397)]),this[_0x3f236b(0x397)]=null);}['_clearTimeoutTimer'](){var _0x58a844=_0x38e6f9;this[_0x58a844(0x31a)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x58a844(0x31a)]=null);}},exports[_0x38e6f9(0x23b)]=ci([he(0x0,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x21d)])),he(0x1,a[_0x38e6f9(0x2ac)]),he(0x2,a[_0x38e6f9(0x338)]),he(0x3,Fe),he(0x4,a[_0x38e6f9(0x28d)](ee)),he(0x5,a[_0x38e6f9(0x4bb)](pt))],exports[_0x38e6f9(0x23b)]);var hi=Object[_0x38e6f9(0x513)],_i=(_0x278a5f,_0x36e374,_0x179ef9,_0x2e9985)=>{for(var _0x5eb619=_0x2e9985>0x1?void 0x0:_0x2e9985?hi(_0x36e374,_0x179ef9):_0x36e374,_0x41beee=_0x278a5f['length']-0x1,_0x58f4f9;_0x41beee>=0x0;_0x41beee--)(_0x58f4f9=_0x278a5f[_0x41beee])&&(_0x5eb619=_0x58f4f9(_0x5eb619)||_0x5eb619);return _0x5eb619;},Se=(_0x2cbe9e,_0x19ae5b)=>(_0x173c63,_0x5763b5)=>_0x19ae5b(_0x173c63,_0x5763b5,_0x2cbe9e);exports[_0x38e6f9(0x457)]=class extends a['RxDisposable']{constructor(_0x4c7b49,_0x96278,_0x50578a,_0x331b36){var _0x3c094e=_0x38e6f9,_0x27e3bf;super(),A(this,_0x3c094e(0x4a1),new Map()),A(this,'_entityInit$',new H[(_0x3c094e(0x45c))]()),A(this,_0x3c094e(0x41f),this['_entityInit$'][_0x3c094e(0x522)]()),(this[_0x3c094e(0x434)]=_0x4c7b49,this[_0x3c094e(0x1e5)]=_0x96278,this[_0x3c094e(0x431)]=_0x50578a,this[_0x3c094e(0x231)]=_0x331b36,((_0x27e3bf=this[_0x3c094e(0x431)][_0x3c094e(0x48e)](Y))==null?void 0x0:_0x27e3bf[_0x3c094e(0x2f2)])!==!0x1&&this['_init']());}['dispose'](){var _0x4d5cd3=_0x38e6f9;super['dispose'](),this[_0x4d5cd3(0x4a1)][_0x4d5cd3(0x2db)](_0x4de9b=>_0x4de9b[_0x4d5cd3(0x320)]()),this[_0x4d5cd3(0x4a1)]['clear']();}[_0x38e6f9(0x4b1)](_0x537d58){var _0x3dc0e6=_0x38e6f9,_0x43c9ad;return(_0x43c9ad=this[_0x3dc0e6(0x4a1)][_0x3dc0e6(0x2b5)](_0x537d58))!=null?_0x43c9ad:null;}[_0x38e6f9(0x23a)](_0x145d69){var _0x214bab=_0x38e6f9;const _0x234628=this[_0x214bab(0x4b1)](_0x145d69);return _0x234628?H['of'](_0x234628):this[_0x214bab(0x2e5)][_0x214bab(0x2c4)](V[_0x214bab(0x307)](_0x1fb4bd=>_0x1fb4bd[_0x214bab(0x308)]===_0x145d69));}['readyForCollab'](_0x5644ca){var _0x248e67=_0x38e6f9;return H[_0x248e67(0x2d9)](this['getCollabEntity$'](_0x5644ca)[_0x248e67(0x2c4)](V[_0x248e67(0x24d)](()=>{})));}[_0x38e6f9(0x273)](){var _0x2200ab=_0x38e6f9;this[_0x2200ab(0x231)][_0x2200ab(0x301)](a[_0x2200ab(0x34a)][_0x2200ab(0x406)])[_0x2200ab(0x2c4)](H[_0x2200ab(0x4b2)](this[_0x2200ab(0x208)]),V[_0x2200ab(0x4ea)](0x10))['subscribe'](async _0x6d02c8=>{var _0x6bec5f=_0x2200ab;const _0x5df075=_0x6d02c8[_0x6bec5f(0x42d)](),_0x5a836a=await this[_0x6bec5f(0x4ed)](_0x5df075,J[_0x6bec5f(0x406)]);this[_0x6bec5f(0x4a1)]['set'](_0x5df075,_0x5a836a);}),this[_0x2200ab(0x231)][_0x2200ab(0x301)](a['UniverInstanceType'][_0x2200ab(0x247)])[_0x2200ab(0x2c4)](H[_0x2200ab(0x4b2)](this['dispose$']),V[_0x2200ab(0x4ea)](0x10))[_0x2200ab(0x2c4)](V[_0x2200ab(0x307)](_0x20d598=>!_0x20d598[_0x2200ab(0x42d)]()[_0x2200ab(0x2a6)]('__')))[_0x2200ab(0x508)](async _0x34ce26=>{var _0x1db1c9=_0x2200ab;const _0x3c781f=_0x34ce26[_0x1db1c9(0x42d)](),_0x57a219=await this[_0x1db1c9(0x4ed)](_0x3c781f,J[_0x1db1c9(0x247)]);this[_0x1db1c9(0x4a1)][_0x1db1c9(0x2ef)](_0x3c781f,_0x57a219);}),H[_0x2200ab(0x42c)](this[_0x2200ab(0x231)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x2200ab(0x406)]),this[_0x2200ab(0x231)]['getTypeOfUnitDisposed$'](a[_0x2200ab(0x34a)]['UNIVER_DOC']))['pipe'](H[_0x2200ab(0x4b2)](this[_0x2200ab(0x208)]))[_0x2200ab(0x508)](_0x2377ef=>{var _0x47fda4=_0x2200ab;const _0x547600=_0x2377ef[_0x47fda4(0x42d)](),_0x4b49b1=this['_entities'][_0x47fda4(0x2b5)](_0x547600);_0x4b49b1&&(_0x4b49b1[_0x47fda4(0x320)](),this[_0x47fda4(0x4a1)][_0x47fda4(0x542)](_0x547600));});}async[_0x38e6f9(0x4ed)](_0x523fa5,_0xafbe3e){var _0x12c97a=_0x38e6f9;const _0x44fa5c=await this[_0x12c97a(0x1e5)][_0x12c97a(0x2cd)](_0x523fa5),_0x1bfc59=this[_0x12c97a(0x434)][_0x12c97a(0x4b3)](this[_0x12c97a(0x290)](_0xafbe3e),_0x523fa5,_0xafbe3e,_0x44fa5c);return await _0x1bfc59[_0x12c97a(0x376)](),this[_0x12c97a(0x2e5)][_0x12c97a(0x203)](_0x1bfc59),_0x1bfc59;}[_0x38e6f9(0x290)](_0x373ed7){var _0x4641af=_0x38e6f9;switch(_0x373ed7){case J[_0x4641af(0x247)]:return exports[_0x4641af(0x372)];case J[_0x4641af(0x406)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x4641af(0x476)+_0x373ed7);}}},exports['CollaborationController']=_i([Se(0x0,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x21d)])),Se(0x1,a[_0x38e6f9(0x28d)](exports['CollaborationSessionService'])),Se(0x2,a[_0x38e6f9(0x338)]),Se(0x3,a[_0x38e6f9(0x46c)])],exports['CollaborationController']);var li=Object[_0x38e6f9(0x513)],ui=(_0x411df8,_0x1d0a05,_0x1786f8,_0x2e49cc)=>{var _0x4f568d=_0x38e6f9;for(var _0x16d58d=_0x2e49cc>0x1?void 0x0:_0x2e49cc?li(_0x1d0a05,_0x1786f8):_0x1d0a05,_0x46195e=_0x411df8[_0x4f568d(0x4aa)]-0x1,_0x3a3091;_0x46195e>=0x0;_0x46195e--)(_0x3a3091=_0x411df8[_0x46195e])&&(_0x16d58d=_0x3a3091(_0x16d58d)||_0x16d58d);return _0x16d58d;},Ye=(_0x8f0ec6,_0x2208cb)=>(_0x2747ff,_0x3ce606)=>_0x2208cb(_0x2747ff,_0x3ce606,_0x8f0ec6);const di=_0x38e6f9(0x3cf),vi=_0x38e6f9(0x415);let xe=class extends a[_0x38e6f9(0x2e7)]{constructor(_0x554f27,_0x201a4e){var _0x5b51e6=_0x38e6f9;super(),this['_univerInstanceService']=_0x554f27,this[_0x5b51e6(0x431)]=_0x201a4e,this[_0x5b51e6(0x273)]();}[_0x38e6f9(0x273)](){var _0x1fb4e1=_0x38e6f9;this[_0x1fb4e1(0x4b4)](this[_0x1fb4e1(0x231)]['focused$'][_0x1fb4e1(0x508)](()=>{var _0x42a825=_0x1fb4e1,_0x1cbe22;const _0x16bd71=this[_0x42a825(0x231)]['getFocusedUnit']();let _0x185768=(_0x1cbe22=this[_0x42a825(0x431)][_0x42a825(0x48e)](di))!=null?_0x1cbe22:vi;_0x16bd71 instanceof a[_0x42a825(0x20d)]&&(_0x185768=_0x16bd71['name']),document[_0x42a825(0x455)]=_0x185768;}));}};xe=ui([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x38e6f9(0x338)])],xe);var Si=Object[_0x38e6f9(0x513)],fi=(_0x2c50e0,_0x17987e,_0x25911e,_0x2ea06c)=>{var _0xa29f63=_0x38e6f9;for(var _0x57a6df=_0x2ea06c>0x1?void 0x0:_0x2ea06c?Si(_0x17987e,_0x25911e):_0x17987e,_0x52b1dd=_0x2c50e0[_0xa29f63(0x4aa)]-0x1,_0x43d0cf;_0x52b1dd>=0x0;_0x52b1dd--)(_0x43d0cf=_0x2c50e0[_0x52b1dd])&&(_0x57a6df=_0x43d0cf(_0x57a6df)||_0x57a6df);return _0x57a6df;},Ae=(_0x1f354e,_0x53d68e)=>(_0x34fcd6,_0x4e2895)=>_0x53d68e(_0x34fcd6,_0x4e2895,_0x1f354e);let ye=class{constructor(_0x5242fe,_0x255d6a,_0x3d28c8){var _0x3773a4=_0x38e6f9;this[_0x3773a4(0x431)]=_0x5242fe,this['_httpService']=_0x255d6a,this[_0x3773a4(0x317)]=_0x3d28c8,this['init']();}[_0x38e6f9(0x376)](){var _0x13a408=_0x38e6f9;this['_httpService'][_0x13a408(0x37d)]({'priority':0x1,'interceptor':(_0x42a305,_0x489baa)=>_0x489baa(_0x42a305)['pipe'](H['concatMap'](async _0x4a4e6d=>{var _0x51dfbe=_0x13a408;const _0x5f4b0b=_0x4a4e6d;if(_0x5f4b0b['status']===0x191){if(typeof window>'u')throw new Error(_0x51dfbe(0x47b));if(window['confirm'](this['localeService']['t'](_0x51dfbe(0x41a)))){const _0x33c1e0=window[_0x51dfbe(0x3e8)](window[_0x51dfbe(0x2ce)]['href']);window[_0x51dfbe(0x2ce)][_0x51dfbe(0x518)]=this['_getLoginPath']()+_0x51dfbe(0x546)+_0x33c1e0;}}return _0x5f4b0b;}))});}[_0x38e6f9(0x454)](){var _0x328fd4;const _0x136185=this['_configService']['getConfig'](Y);return(_0x328fd4=_0x136185==null?void 0x0:_0x136185['loginUrlKey'])!=null?_0x328fd4:$t;}};ye=fi([Ae(0x0,a[_0x38e6f9(0x338)]),Ae(0x1,a[_0x38e6f9(0x28d)](q[_0x38e6f9(0x534)])),Ae(0x2,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x51c)]))],ye);var Ii=Object[_0x38e6f9(0x513)],pi=(_0x3808bd,_0x18eb73,_0x521229,_0x4ae939)=>{for(var _0xeff48f=_0x4ae939>0x1?void 0x0:_0x4ae939?Ii(_0x18eb73,_0x521229):_0x18eb73,_0x5628f7=_0x3808bd['length']-0x1,_0x88f321;_0x5628f7>=0x0;_0x5628f7--)(_0x88f321=_0x3808bd[_0x5628f7])&&(_0xeff48f=_0x88f321(_0xeff48f)||_0xeff48f);return _0xeff48f;},qe=(_0x49e2a6,_0x3c54ed)=>(_0x56a781,_0x28dbea)=>_0x3c54ed(_0x56a781,_0x28dbea,_0x49e2a6);const mi=_0x38e6f9(0x53a);exports['AuthzIoHttpService']=class extends a[_0x38e6f9(0x2e7)]{constructor(_0x3b352b,_0x730515){var _0xf86063=_0x38e6f9;super(),this[_0xf86063(0x3a8)]=_0x3b352b,this[_0xf86063(0x431)]=_0x730515,this['_initMergeInterceptor']();}[_0x38e6f9(0x500)](){var _0x2607b9=_0x38e6f9;const _0x3beb75=this;this['disposeWithMe'](this['_HTTPService'][_0x2607b9(0x37d)]({'priority':0x3e7,'interceptor':q[_0x2607b9(0x4f9)]({'isMatch'(_0x23788c){var _0x2718d0=_0x2607b9,_0x5de5d7;if(_0x23788c['method']==='POST'&&((_0x5de5d7=_0x23788c['requestParams'])!=null&&_0x5de5d7[_0x2718d0(0x436)])){const {objectID:_0x54f96f,objectType:_0x54c3cb}=_0x23788c[_0x2718d0(0x551)]['body']||{};if(!_0x54f96f||_0x54c3cb===void 0x0)return!0x1;const _0x29af42=_0x3beb75[_0x2718d0(0x40f)]()+'/'+_0x54c3cb+_0x2718d0(0x556)+_0x54f96f+'/allowed';if(_0x23788c['url']===_0x29af42)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe8f86){var _0x1744f4=_0x2607b9,_0x16482f;return(_0x16482f=_0xe8f86['requestParams'])==null?void 0x0:_0x16482f[_0x1744f4(0x436)];},'mergeParamsToRequest'(_0x46e77c,_0x2bda93){var _0x305233=_0x2607b9;const _0x2d375c=_0x3beb75[_0x305233(0x40f)]()+_0x305233(0x544),_0xe30997=_0x46e77c[_0x305233(0x2a5)]((_0x4a5998,_0x234306)=>{var _0x4494fd=_0x305233;const {unitID:_0x41481d,objectID:_0x4b9924,objectType:_0x35640e,actions:_0x17f80a}=_0x234306;return _0x4a5998[_0x41481d]||(_0x4a5998[_0x41481d]={}),_0x4a5998[_0x41481d][_0x4b9924]||(_0x4a5998[_0x41481d][_0x4b9924]={'objectID':_0x4b9924,'objectType':_0x35640e,'actions':[]}),_0x4a5998[_0x41481d][_0x4b9924][_0x4494fd(0x3c6)]['push'](..._0x17f80a),_0x4a5998;},{}),_0x1dee71=[];for(const _0x3d795e in _0xe30997)for(const _0x2f38b0 in _0xe30997[_0x3d795e]){const {actions:_0x145fca,objectType:_0x1e17a7}=_0xe30997[_0x3d795e][_0x2f38b0],_0xbfae38=[...new Set(_0x145fca)];_0x1dee71[_0x305233(0x2ae)]({'unitID':_0x3d795e,'objectID':_0x2f38b0,'objectType':_0x1e17a7,'actions':_0xbfae38});}return new q[(_0x305233(0x25f))](_0x305233(0x1ec),_0x2d375c,{'headers':_0x2bda93['headers'],'withCredentials':_0x2bda93[_0x305233(0x266)],'responseType':_0x2bda93[_0x305233(0x465)],'body':{'requests':_0x1dee71}});}},{'distributeResult'(_0x499fa5,_0x5ac78a){var _0x49d0d0=_0x2607b9;const {objectActions:_0x56d44c}=_0x499fa5;return _0x5ac78a[_0x49d0d0(0x24d)](_0x2e5e36=>{var _0x399179=_0x49d0d0;const {unitID:_0x5a3ed2,objectID:_0x4ecb19,actions:_0x7aef56}=_0x2e5e36,_0x1ac7ec=_0x56d44c[_0x399179(0x2bf)](_0x1007c4=>_0x1007c4[_0x399179(0x308)]===_0x5a3ed2&&_0x1007c4['objectID']===_0x4ecb19),_0x1a6ee4=_0x7aef56[_0x399179(0x24d)](_0x41ffa8=>_0x1ac7ec==null?void 0x0:_0x1ac7ec[_0x399179(0x3c6)]['find'](_0x858d2c=>_0x858d2c[_0x399179(0x4d7)]===_0x41ffa8))[_0x399179(0x307)](_0x3ae5b8=>!!_0x3ae5b8);return{'config':_0x2e5e36,'result':{'actions':_0x1a6ee4,'error':_0x499fa5[_0x399179(0x447)]}};});}})}));}[_0x38e6f9(0x40f)](){var _0x11ede1=_0x38e6f9,_0x2982fe;const _0x577295=this[_0x11ede1(0x431)][_0x11ede1(0x48e)](Y);return(_0x2982fe=_0x577295==null?void 0x0:_0x577295[_0x11ede1(0x258)])!=null?_0x2982fe:mi;}async[_0x38e6f9(0x380)](_0x1ddbc5){var _0x40959a=_0x38e6f9;const _0x2a1d20=this['_getAPIPrefixPath']()+'/'+_0x1ddbc5[_0x40959a(0x547)]+_0x40959a(0x3b9);return(await this['_HTTPService'][_0x40959a(0x53d)](_0x2a1d20,{'body':_0x1ddbc5}))[_0x40959a(0x436)][_0x40959a(0x2b9)]||'';}async[_0x38e6f9(0x1ea)](_0x549047){var _0x583b6a=_0x38e6f9;const _0x38d74a=this['_getAPIPrefixPath']()+_0x583b6a(0x550);return(await this[_0x583b6a(0x3a8)][_0x583b6a(0x53d)](_0x38d74a,{'body':_0x549047}))[_0x583b6a(0x436)][_0x583b6a(0x392)];}async[_0x38e6f9(0x4d9)](_0x3dc383){var _0x542ec7=_0x38e6f9,_0x4b74e4,_0x1dce46;const _0x57f21a=this[_0x542ec7(0x40f)]()+'/'+_0x3dc383['objectType']+_0x542ec7(0x556)+_0x3dc383[_0x542ec7(0x2b9)],_0x390fec=await this[_0x542ec7(0x3a8)][_0x542ec7(0x331)](_0x57f21a,{'body':_0x3dc383});if(((_0x1dce46=(_0x4b74e4=_0x390fec==null?void 0x0:_0x390fec[_0x542ec7(0x436)])==null?void 0x0:_0x4b74e4[_0x542ec7(0x447)])==null?void 0x0:_0x1dce46[_0x542ec7(0x444)])!==0x1)throw new Error(_0x542ec7(0x51b));}async['allowed'](_0x326295){var _0x5797e2=_0x38e6f9;const _0x2cb10c=this['_getAPIPrefixPath']()+'/'+_0x326295[_0x5797e2(0x547)]+'/object/'+_0x326295[_0x5797e2(0x2b9)]+_0x5797e2(0x1e2);return(await this[_0x5797e2(0x3a8)][_0x5797e2(0x53d)](_0x2cb10c,{'body':_0x326295}))[_0x5797e2(0x436)]['actions'];}async['batchAllowed'](_0x5de178){var _0x5a17d9=_0x38e6f9;const _0x1b1d52=this['_getAPIPrefixPath']()+_0x5a17d9(0x544);return(await this[_0x5a17d9(0x3a8)][_0x5a17d9(0x53d)](_0x1b1d52,{'body':{'requests':_0x5de178}}))[_0x5a17d9(0x436)][_0x5a17d9(0x3dc)];}async[_0x38e6f9(0x418)](_0x2a57c5){var _0x21c443=_0x38e6f9;const _0x2b33f1=this[_0x21c443(0x40f)]()+'/'+_0x2a57c5[_0x21c443(0x547)]+_0x21c443(0x313),_0x152d9c=await this['_HTTPService'][_0x21c443(0x53d)](_0x2b33f1,{'body':_0x2a57c5});return{'roles':_0x152d9c[_0x21c443(0x436)][_0x21c443(0x417)],'actions':_0x152d9c[_0x21c443(0x436)][_0x21c443(0x3c6)]};}async[_0x38e6f9(0x366)](_0x38d94d){var _0x3ccbaa=_0x38e6f9;const _0x51db31=this[_0x3ccbaa(0x40f)]()+_0x3ccbaa(0x4c1);await this[_0x3ccbaa(0x3a8)]['delete'](_0x51db31,{'params':{'collaboratorID':_0x38d94d[_0x3ccbaa(0x47e)],'objectID':_0x38d94d[_0x3ccbaa(0x2b9)],'unitID':_0x38d94d[_0x3ccbaa(0x308)]}});}async['updateCollaborator'](_0x1bed35){var _0x4a5ae4=_0x38e6f9;const _0x5dee3d=this['_getAPIPrefixPath']()+_0x4a5ae4(0x4c1);await this[_0x4a5ae4(0x3a8)][_0x4a5ae4(0x539)](_0x5dee3d,{'body':_0x1bed35});}async[_0x38e6f9(0x2d5)](_0x4a1248){var _0x3dfc25=_0x38e6f9;const _0x3cb8a3=this[_0x3dfc25(0x40f)]()+'/collaborator';await this[_0x3dfc25(0x3a8)][_0x3dfc25(0x53d)](_0x3cb8a3,{'body':_0x4a1248});}async[_0x38e6f9(0x416)](_0x5e14a3){var _0x1d670f=_0x38e6f9;const _0x53416e=this[_0x1d670f(0x40f)]()+_0x1d670f(0x4c1);return(await this[_0x1d670f(0x3a8)][_0x1d670f(0x2b5)](_0x53416e,{'params':{'objectID':_0x5e14a3['objectID'],'unitID':_0x5e14a3[_0x1d670f(0x308)]}}))['body'][_0x1d670f(0x4d5)];}async[_0x38e6f9(0x2dc)](_0xfd7a77){var _0x39515e=_0x38e6f9;const _0x4839e8=this[_0x39515e(0x40f)]()+'/collaborator';await this[_0x39515e(0x3a8)][_0x39515e(0x331)](_0x4839e8,{'body':_0xfd7a77});}},exports[_0x38e6f9(0x297)]=pi([qe(0x0,a[_0x38e6f9(0x28d)](q[_0x38e6f9(0x534)])),qe(0x1,a[_0x38e6f9(0x28d)](a['IConfigService']))],exports[_0x38e6f9(0x297)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x1ce562){var _0x26aff2=_0x38e6f9;return _0x1ce562&&_0x1ce562[_0x26aff2(0x2fb)]&&Object[_0x26aff2(0x337)][_0x26aff2(0x25d)][_0x26aff2(0x31e)](_0x1ce562,_0x26aff2(0x248))?_0x1ce562[_0x26aff2(0x248)]:_0x1ce562;}var fe={'exports':{}};function gi(_0xbbaad5){var _0x56ffc0=_0x38e6f9;throw new Error(_0x56ffc0(0x462)+_0xbbaad5+_0x56ffc0(0x287));}var Ie={'exports':{}},Ei=Ie['exports'],Ke;function Q(){var _0x524e8a=_0x38e6f9;return Ke||(Ke=0x1,function(_0x5bf4a1,_0x389192){(function(_0x14e75a,_0xb9699f){var _0x22bc0a=_0x3427;_0x5bf4a1[_0x22bc0a(0x405)]=_0xb9699f();}(Ei,function(){var _0x2e7f4f=_0x2e7f4f||function(_0x483346,_0x94af48){var _0x41af8d=_0x3427,_0x2762ab;if(typeof window<'u'&&window[_0x41af8d(0x36b)]&&(_0x2762ab=window[_0x41af8d(0x36b)]),typeof self<'u'&&self[_0x41af8d(0x36b)]&&(_0x2762ab=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2762ab=globalThis[_0x41af8d(0x36b)]),!_0x2762ab&&typeof window<'u'&&window['msCrypto']&&(_0x2762ab=window['msCrypto']),!_0x2762ab&&typeof Pe<'u'&&Pe[_0x41af8d(0x36b)]&&(_0x2762ab=Pe[_0x41af8d(0x36b)]),!_0x2762ab&&typeof gi==_0x41af8d(0x536))try{_0x2762ab=require('crypto');}catch{}var _0x517dc8=function(){var _0x31dd50=_0x41af8d;if(_0x2762ab){if(typeof _0x2762ab[_0x31dd50(0x4df)]==_0x31dd50(0x536))try{return _0x2762ab[_0x31dd50(0x4df)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2762ab[_0x31dd50(0x275)]==_0x31dd50(0x536))try{return _0x2762ab[_0x31dd50(0x275)](0x4)[_0x31dd50(0x352)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x171c63=Object[_0x41af8d(0x380)]||(function(){function _0x55fa5(){}return function(_0x16875b){var _0x2819e9=_0x3427,_0x526b3d;return _0x55fa5[_0x2819e9(0x337)]=_0x16875b,_0x526b3d=new _0x55fa5(),_0x55fa5[_0x2819e9(0x337)]=null,_0x526b3d;};}()),_0x371b4f={},_0x5bf49c=_0x371b4f[_0x41af8d(0x2ff)]={},_0x9a839b=_0x5bf49c[_0x41af8d(0x206)]=(function(){return{'extend':function(_0x16fddd){var _0x20e04c=_0x3427,_0x403074=_0x171c63(this);return _0x16fddd&&_0x403074[_0x20e04c(0x29c)](_0x16fddd),(!_0x403074[_0x20e04c(0x25d)](_0x20e04c(0x376))||this[_0x20e04c(0x376)]===_0x403074[_0x20e04c(0x376)])&&(_0x403074[_0x20e04c(0x376)]=function(){var _0x2914b4=_0x20e04c;_0x403074[_0x2914b4(0x479)][_0x2914b4(0x376)][_0x2914b4(0x4a4)](this,arguments);}),_0x403074[_0x20e04c(0x376)][_0x20e04c(0x337)]=_0x403074,_0x403074['$super']=this,_0x403074;},'create':function(){var _0x47e4ba=_0x3427,_0x21e2a1=this[_0x47e4ba(0x4b5)]();return _0x21e2a1['init'][_0x47e4ba(0x4a4)](_0x21e2a1,arguments),_0x21e2a1;},'init':function(){},'mixIn':function(_0x3d3c0c){var _0xbda293=_0x3427;for(var _0x3c2c5b in _0x3d3c0c)_0x3d3c0c['hasOwnProperty'](_0x3c2c5b)&&(this[_0x3c2c5b]=_0x3d3c0c[_0x3c2c5b]);_0x3d3c0c['hasOwnProperty'](_0xbda293(0x31d))&&(this[_0xbda293(0x31d)]=_0x3d3c0c[_0xbda293(0x31d)]);},'clone':function(){var _0xae93d=_0x3427;return this[_0xae93d(0x376)][_0xae93d(0x337)][_0xae93d(0x4b5)](this);}};}()),_0xd55f5a=_0x5bf49c[_0x41af8d(0x2aa)]=_0x9a839b['extend']({'init':function(_0x3700a4,_0x3802ec){var _0x33e43b=_0x41af8d;_0x3700a4=this[_0x33e43b(0x2e3)]=_0x3700a4||[],_0x3802ec!=_0x94af48?this[_0x33e43b(0x3fa)]=_0x3802ec:this[_0x33e43b(0x3fa)]=_0x3700a4[_0x33e43b(0x4aa)]*0x4;},'toString':function(_0x5e99fe){var _0x2612c7=_0x41af8d;return(_0x5e99fe||_0xfab790)[_0x2612c7(0x2b8)](this);},'concat':function(_0xc936a0){var _0x491046=_0x41af8d,_0x9f2471=this[_0x491046(0x2e3)],_0x2d64ee=_0xc936a0[_0x491046(0x2e3)],_0x280c32=this['sigBytes'],_0x522398=_0xc936a0[_0x491046(0x3fa)];if(this[_0x491046(0x445)](),_0x280c32%0x4)for(var _0x5aac30=0x0;_0x5aac30<_0x522398;_0x5aac30++){var _0x407889=_0x2d64ee[_0x5aac30>>>0x2]>>>0x18-_0x5aac30%0x4*0x8&0xff;_0x9f2471[_0x280c32+_0x5aac30>>>0x2]|=_0x407889<<0x18-(_0x280c32+_0x5aac30)%0x4*0x8;}else{for(var _0x23276b=0x0;_0x23276b<_0x522398;_0x23276b+=0x4)_0x9f2471[_0x280c32+_0x23276b>>>0x2]=_0x2d64ee[_0x23276b>>>0x2];}return this['sigBytes']+=_0x522398,this;},'clamp':function(){var _0x40638a=_0x41af8d,_0x3708ad=this['words'],_0xab8b06=this[_0x40638a(0x3fa)];_0x3708ad[_0xab8b06>>>0x2]&=0xffffffff<<0x20-_0xab8b06%0x4*0x8,_0x3708ad[_0x40638a(0x4aa)]=_0x483346[_0x40638a(0x54e)](_0xab8b06/0x4);},'clone':function(){var _0x4c2241=_0x41af8d,_0x69a8e5=_0x9a839b['clone'][_0x4c2241(0x31e)](this);return _0x69a8e5[_0x4c2241(0x2e3)]=this[_0x4c2241(0x2e3)][_0x4c2241(0x2fa)](0x0),_0x69a8e5;},'random':function(_0x485da5){var _0x21f310=_0x41af8d;for(var _0x2176bc=[],_0x4d17f8=0x0;_0x4d17f8<_0x485da5;_0x4d17f8+=0x4)_0x2176bc[_0x21f310(0x2ae)](_0x517dc8());return new _0xd55f5a[(_0x21f310(0x376))](_0x2176bc,_0x485da5);}}),_0x2b50b8=_0x371b4f[_0x41af8d(0x506)]={},_0xfab790=_0x2b50b8[_0x41af8d(0x45e)]={'stringify':function(_0x5df94a){var _0x2f91aa=_0x41af8d;for(var _0x1d3654=_0x5df94a['words'],_0x4be714=_0x5df94a[_0x2f91aa(0x3fa)],_0x39b501=[],_0x5c2287=0x0;_0x5c2287<_0x4be714;_0x5c2287++){var _0x36da77=_0x1d3654[_0x5c2287>>>0x2]>>>0x18-_0x5c2287%0x4*0x8&0xff;_0x39b501['push']((_0x36da77>>>0x4)[_0x2f91aa(0x31d)](0x10)),_0x39b501['push']((_0x36da77&0xf)['toString'](0x10));}return _0x39b501[_0x2f91aa(0x3d0)]('');},'parse':function(_0x64c837){var _0x118fea=_0x41af8d;for(var _0x452188=_0x64c837[_0x118fea(0x4aa)],_0x59c7f5=[],_0x1af6a8=0x0;_0x1af6a8<_0x452188;_0x1af6a8+=0x2)_0x59c7f5[_0x1af6a8>>>0x3]|=parseInt(_0x64c837['substr'](_0x1af6a8,0x2),0x10)<<0x18-_0x1af6a8%0x8*0x4;return new _0xd55f5a['init'](_0x59c7f5,_0x452188/0x2);}},_0xf12f4b=_0x2b50b8[_0x41af8d(0x44e)]={'stringify':function(_0x1380be){var _0x15e1de=_0x41af8d;for(var _0xe2d55f=_0x1380be[_0x15e1de(0x2e3)],_0x16bc49=_0x1380be[_0x15e1de(0x3fa)],_0x32f139=[],_0x562141=0x0;_0x562141<_0x16bc49;_0x562141++){var _0x67cd05=_0xe2d55f[_0x562141>>>0x2]>>>0x18-_0x562141%0x4*0x8&0xff;_0x32f139[_0x15e1de(0x2ae)](String['fromCharCode'](_0x67cd05));}return _0x32f139[_0x15e1de(0x3d0)]('');},'parse':function(_0x16756c){var _0x20b48d=_0x41af8d;for(var _0x3e44d8=_0x16756c[_0x20b48d(0x4aa)],_0x4819fe=[],_0x4f7d16=0x0;_0x4f7d16<_0x3e44d8;_0x4f7d16++)_0x4819fe[_0x4f7d16>>>0x2]|=(_0x16756c['charCodeAt'](_0x4f7d16)&0xff)<<0x18-_0x4f7d16%0x4*0x8;return new _0xd55f5a[(_0x20b48d(0x376))](_0x4819fe,_0x3e44d8);}},_0x12ba66=_0x2b50b8['Utf8']={'stringify':function(_0x9a0649){var _0x1859c1=_0x41af8d;try{return decodeURIComponent(escape(_0xf12f4b[_0x1859c1(0x2b8)](_0x9a0649)));}catch{throw new Error(_0x1859c1(0x319));}},'parse':function(_0x5c9555){var _0x30749d=_0x41af8d;return _0xf12f4b[_0x30749d(0x46b)](unescape(encodeURIComponent(_0x5c9555)));}},_0xdebe8e=_0x5bf49c[_0x41af8d(0x24c)]=_0x9a839b[_0x41af8d(0x4b5)]({'reset':function(){var _0x2069dc=_0x41af8d;this[_0x2069dc(0x50f)]=new _0xd55f5a[(_0x2069dc(0x376))](),this[_0x2069dc(0x270)]=0x0;},'_append':function(_0x598e6d){var _0x4853dc=_0x41af8d;typeof _0x598e6d=='string'&&(_0x598e6d=_0x12ba66[_0x4853dc(0x46b)](_0x598e6d)),this['_data'][_0x4853dc(0x215)](_0x598e6d),this['_nDataBytes']+=_0x598e6d[_0x4853dc(0x3fa)];},'_process':function(_0x166d43){var _0x39da6f=_0x41af8d,_0x3fc596,_0x498314=this[_0x39da6f(0x50f)],_0xc61d73=_0x498314[_0x39da6f(0x2e3)],_0x14005f=_0x498314['sigBytes'],_0x3086bf=this['blockSize'],_0x4d0ee6=_0x3086bf*0x4,_0x118be9=_0x14005f/_0x4d0ee6;_0x166d43?_0x118be9=_0x483346[_0x39da6f(0x54e)](_0x118be9):_0x118be9=_0x483346[_0x39da6f(0x25c)]((_0x118be9|0x0)-this['_minBufferSize'],0x0);var _0x2227ee=_0x118be9*_0x3086bf,_0x460f96=_0x483346['min'](_0x2227ee*0x4,_0x14005f);if(_0x2227ee){for(var _0x3cfd74=0x0;_0x3cfd74<_0x2227ee;_0x3cfd74+=_0x3086bf)this[_0x39da6f(0x3fb)](_0xc61d73,_0x3cfd74);_0x3fc596=_0xc61d73['splice'](0x0,_0x2227ee),_0x498314[_0x39da6f(0x3fa)]-=_0x460f96;}return new _0xd55f5a['init'](_0x3fc596,_0x460f96);},'clone':function(){var _0x957eee=_0x41af8d,_0x24b735=_0x9a839b[_0x957eee(0x353)][_0x957eee(0x31e)](this);return _0x24b735[_0x957eee(0x50f)]=this['_data'][_0x957eee(0x353)](),_0x24b735;},'_minBufferSize':0x0});_0x5bf49c[_0x41af8d(0x25a)]=_0xdebe8e[_0x41af8d(0x4b5)]({'cfg':_0x9a839b['extend'](),'init':function(_0x17e881){var _0x170b53=_0x41af8d;this['cfg']=this[_0x170b53(0x1f4)][_0x170b53(0x4b5)](_0x17e881),this[_0x170b53(0x304)]();},'reset':function(){var _0x3589a4=_0x41af8d;_0xdebe8e[_0x3589a4(0x304)]['call'](this),this[_0x3589a4(0x524)]();},'update':function(_0x1cf021){var _0x442ea1=_0x41af8d;return this[_0x442ea1(0x3db)](_0x1cf021),this['_process'](),this;},'finalize':function(_0x806537){var _0x4e0cc0=_0x41af8d;_0x806537&&this[_0x4e0cc0(0x3db)](_0x806537);var _0x2ca56e=this[_0x4e0cc0(0x279)]();return _0x2ca56e;},'blockSize':0x10,'_createHelper':function(_0x1d53f0){return function(_0x203f67,_0x1ce2b7){return new _0x1d53f0['init'](_0x1ce2b7)['finalize'](_0x203f67);};},'_createHmacHelper':function(_0x2b46d5){return function(_0x1eae16,_0x4c68da){var _0x3d5ec9=_0x3427;return new _0x5e0aed[(_0x3d5ec9(0x3e4))]['init'](_0x2b46d5,_0x4c68da)['finalize'](_0x1eae16);};}});var _0x5e0aed=_0x371b4f[_0x41af8d(0x274)]={};return _0x371b4f;}(Math);return _0x2e7f4f;}));}(Ie)),Ie[_0x524e8a(0x405)];}var pe={'exports':{}},Ci=pe[_0x38e6f9(0x405)],ze;function Et(){return ze||(ze=0x1,function(_0x1aece5,_0x4402cd){(function(_0x5352cc,_0x2d1fb5){var _0x62e57f=_0x3427;_0x1aece5[_0x62e57f(0x405)]=_0x2d1fb5(Q());}(Ci,function(_0x10f64e){var _0x413c5e=_0x3427;return(function(){var _0x52660b=_0x3427,_0x52456d=_0x10f64e,_0x5703ab=_0x52456d[_0x52660b(0x2ff)],_0x13fe85=_0x5703ab[_0x52660b(0x2aa)],_0x55896a=_0x52456d[_0x52660b(0x506)];_0x55896a['Base64']={'stringify':function(_0x580e07){var _0x2ec7e7=_0x52660b,_0x153693=_0x580e07[_0x2ec7e7(0x2e3)],_0xe74b2a=_0x580e07[_0x2ec7e7(0x3fa)],_0x1b0009=this[_0x2ec7e7(0x26c)];_0x580e07[_0x2ec7e7(0x445)]();for(var _0x56ec13=[],_0xedfaea=0x0;_0xedfaea<_0xe74b2a;_0xedfaea+=0x3)for(var _0x55672d=_0x153693[_0xedfaea>>>0x2]>>>0x18-_0xedfaea%0x4*0x8&0xff,_0x4ad4dd=_0x153693[_0xedfaea+0x1>>>0x2]>>>0x18-(_0xedfaea+0x1)%0x4*0x8&0xff,_0x3c66a2=_0x153693[_0xedfaea+0x2>>>0x2]>>>0x18-(_0xedfaea+0x2)%0x4*0x8&0xff,_0x5dad1e=_0x55672d<<0x10|_0x4ad4dd<<0x8|_0x3c66a2,_0x4ff9be=0x0;_0x4ff9be<0x4&&_0xedfaea+_0x4ff9be*0.75<_0xe74b2a;_0x4ff9be++)_0x56ec13['push'](_0x1b0009[_0x2ec7e7(0x4c6)](_0x5dad1e>>>0x6*(0x3-_0x4ff9be)&0x3f));var _0x26f0e9=_0x1b0009[_0x2ec7e7(0x4c6)](0x40);if(_0x26f0e9){for(;_0x56ec13[_0x2ec7e7(0x4aa)]%0x4;)_0x56ec13[_0x2ec7e7(0x2ae)](_0x26f0e9);}return _0x56ec13[_0x2ec7e7(0x3d0)]('');},'parse':function(_0x408ec2){var _0x5063bf=_0x52660b,_0x421b9d=_0x408ec2[_0x5063bf(0x4aa)],_0x3b82cf=this[_0x5063bf(0x26c)],_0x4f099d=this[_0x5063bf(0x4db)];if(!_0x4f099d){_0x4f099d=this[_0x5063bf(0x4db)]=[];for(var _0x2ea59a=0x0;_0x2ea59a<_0x3b82cf[_0x5063bf(0x4aa)];_0x2ea59a++)_0x4f099d[_0x3b82cf[_0x5063bf(0x54c)](_0x2ea59a)]=_0x2ea59a;}var _0x577b93=_0x3b82cf[_0x5063bf(0x4c6)](0x40);if(_0x577b93){var _0x54995e=_0x408ec2[_0x5063bf(0x3ae)](_0x577b93);_0x54995e!==-0x1&&(_0x421b9d=_0x54995e);}return _0x2ccbd6(_0x408ec2,_0x421b9d,_0x4f099d);},'_map':_0x52660b(0x35c)};function _0x2ccbd6(_0xcec318,_0xc966fc,_0x220279){var _0x2202ef=_0x52660b;for(var _0x33557e=[],_0x2bd62b=0x0,_0x46068a=0x0;_0x46068a<_0xc966fc;_0x46068a++)if(_0x46068a%0x4){var _0x591c68=_0x220279[_0xcec318[_0x2202ef(0x54c)](_0x46068a-0x1)]<<_0x46068a%0x4*0x2,_0x3f2485=_0x220279[_0xcec318[_0x2202ef(0x54c)](_0x46068a)]>>>0x6-_0x46068a%0x4*0x2,_0x20b7fb=_0x591c68|_0x3f2485;_0x33557e[_0x2bd62b>>>0x2]|=_0x20b7fb<<0x18-_0x2bd62b%0x4*0x8,_0x2bd62b++;}return _0x13fe85['create'](_0x33557e,_0x2bd62b);}}()),_0x10f64e[_0x413c5e(0x506)][_0x413c5e(0x4d6)];}));}(pe)),pe['exports'];}function _0x8cd4(){var _0x49b74e=['loadOfflineData','PY_RUNTIME_SCRIPT_ERROR','NEW_CHANGESETS','_decreaseWaiting','parse','IUniverInstanceService','_lockTransition','UUID','_transformSelections','[PendingState]:\x20unhandled\x20univer\x20type:\x20','LOGIN_FAILED','_cipher','params','_telemetryInfo','_undoStacks','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[FetchMissState]','getActiveSheet','$super','_state$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_revisionService','FileId','collaboratorID','APPLY_REJECT','[CollaborationSessionService]:\x20socket\x20error','getTime','_createSocket','socketService','unitInfo$','ivSize','univer-pro.collaboration-client.network-condition.service','IDLE','CLOSE_ROOM','_syncEditingCollabCursor','setWaitCount','PasswordBasedCipher','_getCurrentRevision','_replayCachedMutations','getConfig','_exhaustRemoteChangesetQueue','offline','createIdentifier','reconnect','getCurrentRevOfUnit','_pendingMutations','salt','_networkConditionService','range','CollaborationEvent','onTransformState','JOIN_ROOM_NOT_EXISTS','SOCKET_FAILED_RETRY','disableLocalCache','loadDoc','_scheduleCollaborationTimeoutTimer','_substituteRedoStack','getSheetBlock','_entities','/universer-api/snapshot','saveChangeset','apply','{fileID}','session.room-not-exists','HEARTBEAT_TIMEOUT_KEY','_snapshotServerService','HEARTBEAT_INTERVAL','length','leaveEvent','synced','[CollaborationUndoRedoService]','b64DecodeUnicode','_sessions','liveShareOperation','getCollabEntity','takeUntil','createInstance','disposeWithMe','extend','_imageSourceCache','SerializableCipher','_joinRoom','isInternalEditorID','GLOBAL_ROOMS_CNT_EXCEEDS','Optional','COMPLETION_FINISHED','session.room-permission-denied','UPDATE_CURSOR','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','stopTime','/collaborator','interceptor','type','AwaitingWithPendingState','HmacSHA1','charAt','processBlock','54837IrPmMM','SNAPSHOT_HAS_BEEN_REMOVED','_singleActiveUnitService','UNAUTHENTICATED','_doCreateSocket','_getUploadFileURL','IImageIoService','reject','UNIVER_SLIDE','getLatestCsReqIdBySid','subject','connection\x20error','appendMutation','collaborators','Base64','action','conflict','update','ILocalCacheService','_reverseMap','_undoRedoService','Rectangle','onTransformRemoteChangesetByIMECache','getRandomValues','_commentUpdate$','refreshPermission','_listenToNetworkCondition','socket\x20close','_keySchedule','JSONX','unknown','toggleOnline','_schedule','_updateStatus','delay','buffer','_acknowledgedAwaitingChangeset','_startCollaboration','YUUMI_CONNECTOR_URL_NOT_FOUND','isTransformMutationsWithChangesetFailure','c2Prime','_socketReady','c1Prime','isTransformChangesetsSuccess','_parse','LICENSE_IMPORT_SIZE_EXCEEDED','_hasher','SessionStatus','_waitCount','MergeInterceptorFactory','session','image/bmp','ImageSourceType','newCsEvent','online$','_getDownloadEndpointURL','_initMergeInterceptor','_onConnectionOpen','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getResourcesRequest','FetchingMissState','getTypeOfUnitDisposed$','enc','IAuthzIoService','subscribe','RichTextEditingMutation','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_RATE_OVER_LIMIT','_socketMessageSubscription','COMPRESS_MUTATION_SEND','INVITE_CODE_HAS_BEEN_UES','_data','HELLO','key','_doCryptBlock','getOwnPropertyDescriptor','UniverCollaborationClientPlugin','uploadFileServerUrl','YUUMI_ASYNCIO_CANCELLED','USERS_ENTER','href','NO_OTHER_CLIENTS_EDITING','sid','Failed\x20to\x20update\x20permission\x20point','LocaleService','_resendTimer','BehaviorSubject','HEARTBEAT','m2Prime','image/jpg','asObservable','deepClone','_doReset','subUnitId','YUUMI_URL_COL_OUT_OF_RANGE','IMentionIOService','liveShareNewHost','USER_NOT_INVITED_CODE','_clearHeartbeatTimer','_snapshotService','UserProfileImg','JOIN_ROOM_PERMISSION_DENIED','x-univer-host','_shouldReportTelemetry','_stopTelemetryCollaborationNewChangeset','src','StreamCipher','transformChangesets','HTTPService','\x0aAfter:\x20','function','LIVESHARE_TERMINATE','from','patch','/universer-api/authz','onRemoteChangeset','close$','post','_transformStateCache','onStateChange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_instanceService','delete','ImageUploadStatusType','/-/object/-/batch_allowed','override','?url=','objectType','sessionStatus$','saveSnapshot','univer-pro.collaboration-client-socket-service','pad','charCodeAt','editingUnit','ceil','_onRemoteACK','/-/object/list','requestParams','_roomMembers','/unit/','onLocalMutation','blockSize','/object/','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_clearRedo','COMMENT_UPDATE','infoRsp','touchDependencies','IPermissionService','/allowed','Undefined','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_collabSessionService','_clearTimeoutTimer','clear','INTERNAL_ERROR','[CollaborationState]:\x20apply\x20error!','list','byteOffset','POST','catch','session.room-cnt-exceeds','_removeRoom','_onMessage','SUBMIT_CHANGESET_TIMEOUT','INGEST','_type','cfg','_sheetTransformSelectionsService','INetworkConditionService','UNRECOGNIZED','cmd','univer-pro.collaboration-client.single-active-unit-service','SUCCUSS','APPLY_DUPLICATED','[CollaborationSession]','_localCacheService','workbook','HmacMD5','memberID','_registerDependencies','abs','next','SetSelectionsOperation','RECV','Base','_xformMode','dispose$','_retryConnectingTimer','_compressMutationService','LIVESHARE_OPERATION','MSG_FOR_ERROR','Workbook','event$','state$','status$','complete','\x20-\x20','byteLength','_initUnitPermissionChange','concat','updateCursorEvent','_changesetSessionId','2475300iCUopE','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ERROR_EXCEED_SIZE','_iv','onRemoteRej','Injector','url','_waitForHeartbeatResponse','_toggleOnline','Quantity','_onFetchMissResult','sessionStatus','BlockCipherMode','_hash','selections','eventID','_replaceFileID','CipherParams','CONNECTOR_DATA_TOO_LARGE','onSendChangeset','snapshot','_transitionLocked','transformMutationsWithChangeset','/universer-api/uniscript','updatePermissionPoint','_univerInstanceService','_redoStacks','UNKNOWN_CMD','toDisposable','AwaitingState','status','image/png','PENDING','[CollaborationSessionService]','getCollabEntity$','CollaborationSessionService','1184174Uiaodr','JOINING','getUnitType','getAllMembers','APPLY_NON_SEQUENTIAL_REVISION','_transformService','copyFileMeta','_sendingTimer','format','CollaborativeUndoRedoService','getImage','UNIVER_DOC','default','/universer-api/file/{fileID}/sign-url','resolve','enableOfflineEditing','BufferedBlockAlgorithm','map','mapDocumentTypeToUniverType','_applyRemoteChangeset','PERSON','Encryptor','OfflineState','CommandType','defineProperty','\x20in\x20_schedule.','Utf8','_initCloseConn','authzUrl','[SyncedState]:\x20received\x20acknowledgement.','Hasher','collaboration-client.config','max','hasOwnProperty','fetchThroughInterceptors','HTTPRequest','awaiting_with_pending','parseProtocolChangeset','setCurrentUser','SnapshotService','CollaborationSession','CONFLICT','withCredentials','[SyncedState]:\x20received\x20rejection.','_createHmacHelper','CHANGESET_ACK','SUBMIT_CHANGESET','isPermissionRej','_map','shareReplay','INVALID_ARGUMENT','_onUserJoin','_nDataBytes','localCacheService','UNIVER_COLLABORATION_CLIENT_PLUGIN','_init','algo','randomBytes','onRemoteRetry','take','saveSheetBlock','_doFinalize','_collaborationTimeoutTimer','INVITE_CODE_ALREADY_BOUND','state','INVITE_CODE_REQUIRED','every','awaitingChangeset','_transformRemoteChangesetByStateCache','encode','LICENSE_DISTRO_REJECTED','MentionIoHttpService','UNIVER_UNKNOWN','getSnapshotAPIPath','sin','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_event$','now','EMAIL_VERIFY_CODE_MISMATCH','uuidv4','NOT_FOUND','Inject','_ENC_XFORM_MODE','hasher','_getCtorByUniverType','LocalUndoRedoService','decrypt','RETRY_CONNECTING_MAX_COUNT_KEY','_iKey','_tryReconnect','_onOffline','AuthzIoHttpService','AES','_resendWithTimeout','getInterceptPoints','SNAPSHOT_INVALID_SNAPSHOT','mixIn','4474944WIOUSq','unitId\x20is\x20not\x20found','_unlockTransition','ALREADY_EXISTS','SheetTransformSelectionsService','values','_getUndoStack','MD5','reduce','startsWith','IUndoRedoService','EMAIL_HAS_BEEN_BOUND','removeMember','WordArray','OTHER_CLIENTS_EDITING','ILogService','mergeOverrideWithDependencies','push','APPLY_PERMISSION_DENIED','SheetCollaborationEntity','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_socketService','roomInfos','EmptyMutation','get','LIVESHARE_REQUEST_HOST','LIVESHARE_NEW_HOST','stringify','objectID','open$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','MOBILE_VERIFY_CODE_MISMATCH','awaiting','APPLY_REVISION_CONFILICT','find','WorkbookEditablePermission','mutations','InsertSheetMutation','readAsDataURL','pipe','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','userID','_onRecvEvent','_awaitingChangeset','__Key__','&source=','6328525hhwqnp','_updateLocalCache','requireSession','location','HttpImport','/rev/','_onRemoteRetry','SheetsSelectionsService','onCommentUpdate','save\x20fail\x20reason\x20is\x20','createCollaborator','isArray','_handler','send','firstValueFrom','_sender','forEach','putCollaborators','BlockCipher','isTransformMutationsWithChangesetSuccess','[OfflineState]:\x20received\x20rejection.','CollaborationEntity','executeCommand','_unitID','words','OpenSSL','_entityInit$','ICommandService','Disposable','CommentService','DependentOn','error$','HEARTBEAT_TIMEOUT','sendChangesetTimeout','onCommandExecuted','string','set','startTime','ThresholdInterceptorFactory','enableCollaboration','CollaborationSocketService','mode','LOCAL_CACHE_INTERVAL','MOBILE_HAS_BEEN_BOUND','BASE64','_nRounds','IContextService','slice','__esModule','/fetchmissing?from=','OTHER_CLIENT_EDITING','retryConnectingInterval','lib','FETCH_MISSING','getTypeOfUnitAdded$','transformUndoRedo','UNIVER_PROJECT','reset','PSEUDO_FETCH_MISSING_RESULT','has','filter','unitID','EvpKDF','collaboration-client.local-cache-service','_mode','session.room-full','editing\x20status\x20changed\x20to','_eventService','size','_collaborationUIEventService','ISingleActiveUnitService','hostname','/role','padding','_status$','MUTATION','localeService','onMissedChangesetFetched','Malformed\x20UTF-8\x20data','_timeoutTimer','HttpExport','4091463MNTEzQ','toString','call','_getSendChangesetTimeout','dispose','_onJoinRoomEvent','finalize','image/jpeg','onTransformIME','add','JOIN','setConfig','_clearRetryConnectingTimer','_scheduleCompleteTimestamp','_telemetryService','_sendHeartbeat','\x0aCurrent:\x20','/universer-api/user/session-ticket','_oKey','target','fetchMiss','put','_getRedoStack','_invKeySchedule','_throwTelemetryCollaborationNewChangeset','getValue','_onConnectionFailed','prototype','IConfigService','DEFAULT_COLLAB_WEB_SOCKET_URL','getMemberID','ReplaySubject','_collaborationSessionService','_retryCount','getSheetId','loadUnitOfRevision','_queuedRemoteChangesets','UnitEmbedded','CHANGESET_REVISION_CONFILICT','ICollaborationSocketService','reqId','_remoteChangesetQueue','onload','updateOfflineData','kdf','_transformUndoredo','UniverInstanceType','UNKNOWN_CODE','unit-cache-','PendingState','YUUMI_SUBSCRIPTION_NOT_FOUND','joinRsp','textEncoder','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','readInt32LE','clone','changesets','_executeRemoteChangeset','message$','_roomCreated$','11972808IuAVvl','&assign=','_onLocalMutation','_resendTimeout','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','symbol','UniverCollaborationPlugin','_isPermissionRej','_toggleOffline','ciphertext','CollaborationUIEventId','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','deleteCollaborator','FAIL','SheetPermissionInitController','_changesetReqId','fetchMissingChangesets','crypto','[CollaborationEntity]','compose','initWorkbookPermissionChange','/new_changes','SnapshotServerOverHTTPService','_rescheduleHeartbeat','DocCollaborationEntity','_submitChangeset','_createInitialState','result','init','/block/','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_disableEditing','_socket$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PERMISSION_DENIED','registerHTTPInterceptor','JOIN_ROOM_FAILED','registerDependencies','create','YUUMI_AI_RUN_FAILED','_checkMissing','UniverNetworkPlugin','session.join-failed','resourceIDs','_transformIMECache','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationPaused','ENSURE_SNAPSHOT_EXECUTION','[OfflineState]:\x20received\x20acknowledgement.','RevisionService','getCurrentUser','_httpService','_transformRemoteChangesetByIMECache','_key','commentUpdateEvent','random','objects','UnitStatus','/universer-api/oidc/authpage','FETCH_MISS','UserManagerService','_sendHeartbeatTimer','joinEvent','resend','CollaborationImageIoService','4pxeMpg','_sessionStatus$','PERMISSION_REJ','fetch_missing','RETRY_CONNECTING_MAX_COUNT','NoPadding','_createInitialStateImpl','textRanges','_userManagerService','_DEC_XFORM_MODE','unpad','__creator','_onCombEvent','_HTTPService','toggleOffline','SyncedState','_logService','CBC','commentUpdate$','indexOf','onSyncEditingCollabCursor','_getAPIPrefix','_initRequestHeader','getGlobalObject','failed\x20to\x20apply\x20missed\x20changesets!','&to=','routeKey','debug','_process','data','/object','_initDependencies','_updateState','updateSnapshot','_createHelper','enableAuthServer','DataLoaderService','SHOULD_CLOSE_CONN','_memberService','UnitSnapshot','_getSignURL','submit\x20changeset\x20error!','_handlerCallback','actions','CollaborationStatus','_minBufferSize','_unitInfo$','saveImage','transformStack\x20failed!','onTransformSelections','_localeService','pending','DEFAULT_FILE_NAME','join','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[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.','TOO_MANY_REQUESTS','LIVESHARE_FETCH_OPERATIONS','_commentService','_onRemoteChangeset','8UgNZoP','socket\x20open.','Error\x20on\x20receiving\x20event','CHANGESET_SHOULD_RETRY','_append','objectActions','_showConflictNotification','YUUMI_UNABLE_LOAD_URL','AWAITING','JOIN_ROOM_FULL','COMPRESS_MUTATION_APPLY','ConflictState','unitId','HMAC','INVALID_INVITE_CODE','floor','collaMsg','encodeURIComponent','LICENSE_EXPORT_SIZE_EXCEEDED','sheets','_permissionService','encrypt','generateRandomId','pluginName','Decryptor','_clearCollaborationTimeoutTimer','CompressMutationService','emitEvent','USERS_LEAVE','socket$','baseRev','unsubscribe','uniscriptRunEvent','_incrementRevisionNumber','_change$','sigBytes','_doProcessBlock','UNDEFINED','ONLINE','revision','compute','close','CHANGESET_REJ','onStarting','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','transformSelections','exports','UNIVER_SHEET','_candidateSocket','getDeserializedSheetBlock','createDecryptor','[PendingState]:\x20received\x20acknowledgement.','_createHandler','execute','originalMeta','updateMember','_getAPIPrefixPath','ERROR_IMAGE','_clearScheduledTask','_members','_onRemoteRejected','headers','Univer','listCollaborators','roles','listRoles','updatePermissionObjEvent','auth.needGotoLoginAlert','waitForRoom$','onlyLocal','_prevBlock','collabSubmitChangesetUrl','entityInit$','[DataLoaderService]','_state','_socket','onMissingChangesets','createEncryptor','keySize','SNAPSHOT_URL_KEY','members$','ITransformService','fetching\x20missing\x20changesets\x20from\x20','entries','LEAVE','merge','getUnitId','avatar','YUUMI_ALL_TABLES_IS_INVALID','createSocket','_configService','SOCKET_FAILED','OFFLINE','_injector','_substituteUndoStack','body','_config','ITelemetryService','decryptBlock','YUUMI_NO_CUBOID_FOR_QUESTION','_commandService','rev','SHA1','deserializeToCombResponse','splice','Pkcs7','_emitMembers','WECHAT_HAS_BEEN_BOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','code','clamp','_onConflict','error','_members$','members','UPDATE_PERMISSION_OBJ','onTransformRemoteChangesetByStateCache','toStringTag','/universer-api/stream/file/upload','Latin1','serializeCombRequest','csAckEvent','_clearLocalCache','AWAITING_WITH_PENDING','_keyPriorReset','_getLoginPath','title','_transformStack','CollaborationController','MemberService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','snapshotServerUrl','getImageSourceCache','Subject','People','Hex','RxDisposable','telemetry\x20info\x20is\x20not\x20initialized','/resources','Could\x20not\x20dynamically\x20require\x20\x22','onRemoteAck','_onUserLeave','responseType','[OfflineState]:\x20received\x20changeset.'];_0x8cd4=function(){return _0x49b74e;};return _0x8cd4();}var me={'exports':{}},Ti=me[_0x38e6f9(0x405)],Je;function bi(){var _0x2cd0d5=_0x38e6f9;return Je||(Je=0x1,function(_0x1017a5,_0x4c64ae){(function(_0x2011d4,_0x573017){_0x1017a5['exports']=_0x573017(Q());}(Ti,function(_0x43035b){var _0x4e55bd=_0x3427;return function(_0x59cd35){var _0xad4012=_0x3427,_0x5f2cd6=_0x43035b,_0x1a4c44=_0x5f2cd6[_0xad4012(0x2ff)],_0x823a5f=_0x1a4c44[_0xad4012(0x2aa)],_0x518c90=_0x1a4c44[_0xad4012(0x25a)],_0x22f2d9=_0x5f2cd6['algo'],_0x16f1b0=[];(function(){var _0x1bc936=_0xad4012;for(var _0x559f2c=0x0;_0x559f2c<0x40;_0x559f2c++)_0x16f1b0[_0x559f2c]=_0x59cd35[_0x1bc936(0x202)](_0x59cd35[_0x1bc936(0x286)](_0x559f2c+0x1))*0x100000000|0x0;}());var _0x49a13d=_0x22f2d9['MD5']=_0x518c90['extend']({'_doReset':function(){var _0x337791=_0xad4012;this[_0x337791(0x225)]=new _0x823a5f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x172583,_0x662c8a){var _0x2d57dd=_0xad4012;for(var _0x10a8bc=0x0;_0x10a8bc<0x10;_0x10a8bc++){var _0x405113=_0x662c8a+_0x10a8bc,_0x1dea8d=_0x172583[_0x405113];_0x172583[_0x405113]=(_0x1dea8d<<0x8|_0x1dea8d>>>0x18)&0xff00ff|(_0x1dea8d<<0x18|_0x1dea8d>>>0x8)&0xff00ff00;}var _0x4911e0=this['_hash'][_0x2d57dd(0x2e3)],_0x1e7994=_0x172583[_0x662c8a+0x0],_0x4b511d=_0x172583[_0x662c8a+0x1],_0x14cdb6=_0x172583[_0x662c8a+0x2],_0xf8d66d=_0x172583[_0x662c8a+0x3],_0x3cf26b=_0x172583[_0x662c8a+0x4],_0x5674ff=_0x172583[_0x662c8a+0x5],_0xda9131=_0x172583[_0x662c8a+0x6],_0x53cda1=_0x172583[_0x662c8a+0x7],_0x4cd1a4=_0x172583[_0x662c8a+0x8],_0x1f96eb=_0x172583[_0x662c8a+0x9],_0x1df521=_0x172583[_0x662c8a+0xa],_0x520faa=_0x172583[_0x662c8a+0xb],_0x2c52ad=_0x172583[_0x662c8a+0xc],_0x5ddcb=_0x172583[_0x662c8a+0xd],_0x3846b7=_0x172583[_0x662c8a+0xe],_0x552068=_0x172583[_0x662c8a+0xf],_0x287be5=_0x4911e0[0x0],_0xc7c6f6=_0x4911e0[0x1],_0x246257=_0x4911e0[0x2],_0x5e0daf=_0x4911e0[0x3];_0x287be5=_0x4332d0(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x1e7994,0x7,_0x16f1b0[0x0]),_0x5e0daf=_0x4332d0(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x4b511d,0xc,_0x16f1b0[0x1]),_0x246257=_0x4332d0(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x14cdb6,0x11,_0x16f1b0[0x2]),_0xc7c6f6=_0x4332d0(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0xf8d66d,0x16,_0x16f1b0[0x3]),_0x287be5=_0x4332d0(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x3cf26b,0x7,_0x16f1b0[0x4]),_0x5e0daf=_0x4332d0(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x5674ff,0xc,_0x16f1b0[0x5]),_0x246257=_0x4332d0(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0xda9131,0x11,_0x16f1b0[0x6]),_0xc7c6f6=_0x4332d0(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x53cda1,0x16,_0x16f1b0[0x7]),_0x287be5=_0x4332d0(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x4cd1a4,0x7,_0x16f1b0[0x8]),_0x5e0daf=_0x4332d0(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x1f96eb,0xc,_0x16f1b0[0x9]),_0x246257=_0x4332d0(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x1df521,0x11,_0x16f1b0[0xa]),_0xc7c6f6=_0x4332d0(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x520faa,0x16,_0x16f1b0[0xb]),_0x287be5=_0x4332d0(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x2c52ad,0x7,_0x16f1b0[0xc]),_0x5e0daf=_0x4332d0(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x5ddcb,0xc,_0x16f1b0[0xd]),_0x246257=_0x4332d0(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x3846b7,0x11,_0x16f1b0[0xe]),_0xc7c6f6=_0x4332d0(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x552068,0x16,_0x16f1b0[0xf]),_0x287be5=_0x49f6fd(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x4b511d,0x5,_0x16f1b0[0x10]),_0x5e0daf=_0x49f6fd(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0xda9131,0x9,_0x16f1b0[0x11]),_0x246257=_0x49f6fd(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x520faa,0xe,_0x16f1b0[0x12]),_0xc7c6f6=_0x49f6fd(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x1e7994,0x14,_0x16f1b0[0x13]),_0x287be5=_0x49f6fd(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x5674ff,0x5,_0x16f1b0[0x14]),_0x5e0daf=_0x49f6fd(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x1df521,0x9,_0x16f1b0[0x15]),_0x246257=_0x49f6fd(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x552068,0xe,_0x16f1b0[0x16]),_0xc7c6f6=_0x49f6fd(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x3cf26b,0x14,_0x16f1b0[0x17]),_0x287be5=_0x49f6fd(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x1f96eb,0x5,_0x16f1b0[0x18]),_0x5e0daf=_0x49f6fd(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x3846b7,0x9,_0x16f1b0[0x19]),_0x246257=_0x49f6fd(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0xf8d66d,0xe,_0x16f1b0[0x1a]),_0xc7c6f6=_0x49f6fd(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x4cd1a4,0x14,_0x16f1b0[0x1b]),_0x287be5=_0x49f6fd(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x5ddcb,0x5,_0x16f1b0[0x1c]),_0x5e0daf=_0x49f6fd(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x14cdb6,0x9,_0x16f1b0[0x1d]),_0x246257=_0x49f6fd(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x53cda1,0xe,_0x16f1b0[0x1e]),_0xc7c6f6=_0x49f6fd(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x2c52ad,0x14,_0x16f1b0[0x1f]),_0x287be5=_0x3407ea(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x5674ff,0x4,_0x16f1b0[0x20]),_0x5e0daf=_0x3407ea(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x4cd1a4,0xb,_0x16f1b0[0x21]),_0x246257=_0x3407ea(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x520faa,0x10,_0x16f1b0[0x22]),_0xc7c6f6=_0x3407ea(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x3846b7,0x17,_0x16f1b0[0x23]),_0x287be5=_0x3407ea(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x4b511d,0x4,_0x16f1b0[0x24]),_0x5e0daf=_0x3407ea(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x3cf26b,0xb,_0x16f1b0[0x25]),_0x246257=_0x3407ea(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x53cda1,0x10,_0x16f1b0[0x26]),_0xc7c6f6=_0x3407ea(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x1df521,0x17,_0x16f1b0[0x27]),_0x287be5=_0x3407ea(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x5ddcb,0x4,_0x16f1b0[0x28]),_0x5e0daf=_0x3407ea(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x1e7994,0xb,_0x16f1b0[0x29]),_0x246257=_0x3407ea(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0xf8d66d,0x10,_0x16f1b0[0x2a]),_0xc7c6f6=_0x3407ea(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0xda9131,0x17,_0x16f1b0[0x2b]),_0x287be5=_0x3407ea(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x1f96eb,0x4,_0x16f1b0[0x2c]),_0x5e0daf=_0x3407ea(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x2c52ad,0xb,_0x16f1b0[0x2d]),_0x246257=_0x3407ea(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x552068,0x10,_0x16f1b0[0x2e]),_0xc7c6f6=_0x3407ea(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x14cdb6,0x17,_0x16f1b0[0x2f]),_0x287be5=_0x1892d0(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x1e7994,0x6,_0x16f1b0[0x30]),_0x5e0daf=_0x1892d0(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x53cda1,0xa,_0x16f1b0[0x31]),_0x246257=_0x1892d0(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x3846b7,0xf,_0x16f1b0[0x32]),_0xc7c6f6=_0x1892d0(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x5674ff,0x15,_0x16f1b0[0x33]),_0x287be5=_0x1892d0(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x2c52ad,0x6,_0x16f1b0[0x34]),_0x5e0daf=_0x1892d0(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0xf8d66d,0xa,_0x16f1b0[0x35]),_0x246257=_0x1892d0(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x1df521,0xf,_0x16f1b0[0x36]),_0xc7c6f6=_0x1892d0(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x4b511d,0x15,_0x16f1b0[0x37]),_0x287be5=_0x1892d0(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x4cd1a4,0x6,_0x16f1b0[0x38]),_0x5e0daf=_0x1892d0(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x552068,0xa,_0x16f1b0[0x39]),_0x246257=_0x1892d0(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0xda9131,0xf,_0x16f1b0[0x3a]),_0xc7c6f6=_0x1892d0(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x5ddcb,0x15,_0x16f1b0[0x3b]),_0x287be5=_0x1892d0(_0x287be5,_0xc7c6f6,_0x246257,_0x5e0daf,_0x3cf26b,0x6,_0x16f1b0[0x3c]),_0x5e0daf=_0x1892d0(_0x5e0daf,_0x287be5,_0xc7c6f6,_0x246257,_0x520faa,0xa,_0x16f1b0[0x3d]),_0x246257=_0x1892d0(_0x246257,_0x5e0daf,_0x287be5,_0xc7c6f6,_0x14cdb6,0xf,_0x16f1b0[0x3e]),_0xc7c6f6=_0x1892d0(_0xc7c6f6,_0x246257,_0x5e0daf,_0x287be5,_0x1f96eb,0x15,_0x16f1b0[0x3f]),_0x4911e0[0x0]=_0x4911e0[0x0]+_0x287be5|0x0,_0x4911e0[0x1]=_0x4911e0[0x1]+_0xc7c6f6|0x0,_0x4911e0[0x2]=_0x4911e0[0x2]+_0x246257|0x0,_0x4911e0[0x3]=_0x4911e0[0x3]+_0x5e0daf|0x0;},'_doFinalize':function(){var _0x3a8ecb=_0xad4012,_0x3470a5=this[_0x3a8ecb(0x50f)],_0x54419b=_0x3470a5[_0x3a8ecb(0x2e3)],_0x5e56aa=this['_nDataBytes']*0x8,_0x112121=_0x3470a5['sigBytes']*0x8;_0x54419b[_0x112121>>>0x5]|=0x80<<0x18-_0x112121%0x20;var _0x2f5795=_0x59cd35[_0x3a8ecb(0x3e6)](_0x5e56aa/0x100000000),_0xacf253=_0x5e56aa;_0x54419b[(_0x112121+0x40>>>0x9<<0x4)+0xf]=(_0x2f5795<<0x8|_0x2f5795>>>0x18)&0xff00ff|(_0x2f5795<<0x18|_0x2f5795>>>0x8)&0xff00ff00,_0x54419b[(_0x112121+0x40>>>0x9<<0x4)+0xe]=(_0xacf253<<0x8|_0xacf253>>>0x18)&0xff00ff|(_0xacf253<<0x18|_0xacf253>>>0x8)&0xff00ff00,_0x3470a5[_0x3a8ecb(0x3fa)]=(_0x54419b[_0x3a8ecb(0x4aa)]+0x1)*0x4,this['_process']();for(var _0x2f7901=this[_0x3a8ecb(0x225)],_0x4d1e18=_0x2f7901['words'],_0x1c8b0c=0x0;_0x1c8b0c<0x4;_0x1c8b0c++){var _0x307c96=_0x4d1e18[_0x1c8b0c];_0x4d1e18[_0x1c8b0c]=(_0x307c96<<0x8|_0x307c96>>>0x18)&0xff00ff|(_0x307c96<<0x18|_0x307c96>>>0x8)&0xff00ff00;}return _0x2f7901;},'clone':function(){var _0x3eb4f1=_0xad4012,_0x33dd95=_0x518c90[_0x3eb4f1(0x353)][_0x3eb4f1(0x31e)](this);return _0x33dd95[_0x3eb4f1(0x225)]=this['_hash'][_0x3eb4f1(0x353)](),_0x33dd95;}});function _0x4332d0(_0x4497ad,_0x35d6b9,_0x1bc690,_0x4c51fe,_0x21b43e,_0x579e64,_0x35c556){var _0x1cef57=_0x4497ad+(_0x35d6b9&_0x1bc690|~_0x35d6b9&_0x4c51fe)+_0x21b43e+_0x35c556;return(_0x1cef57<<_0x579e64|_0x1cef57>>>0x20-_0x579e64)+_0x35d6b9;}function _0x49f6fd(_0x460aab,_0x153d25,_0x5e992f,_0x4bb011,_0x224033,_0x107f8f,_0x4c4836){var _0x1cedd9=_0x460aab+(_0x153d25&_0x4bb011|_0x5e992f&~_0x4bb011)+_0x224033+_0x4c4836;return(_0x1cedd9<<_0x107f8f|_0x1cedd9>>>0x20-_0x107f8f)+_0x153d25;}function _0x3407ea(_0x32cfce,_0xb8f5df,_0x1cc041,_0x426b59,_0x272585,_0x469993,_0x4a6447){var _0x115dbc=_0x32cfce+(_0xb8f5df^_0x1cc041^_0x426b59)+_0x272585+_0x4a6447;return(_0x115dbc<<_0x469993|_0x115dbc>>>0x20-_0x469993)+_0xb8f5df;}function _0x1892d0(_0x765aca,_0x1ee9bb,_0x12b782,_0x92ca37,_0x5cc86a,_0x38a39f,_0xbda7de){var _0x412a88=_0x765aca+(_0x12b782^(_0x1ee9bb|~_0x92ca37))+_0x5cc86a+_0xbda7de;return(_0x412a88<<_0x38a39f|_0x412a88>>>0x20-_0x38a39f)+_0x1ee9bb;}_0x5f2cd6[_0xad4012(0x2a4)]=_0x518c90[_0xad4012(0x3bd)](_0x49a13d),_0x5f2cd6[_0xad4012(0x1ff)]=_0x518c90[_0xad4012(0x268)](_0x49a13d);}(Math),_0x43035b[_0x4e55bd(0x2a4)];}));}(me)),me[_0x2cd0d5(0x405)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x38e6f9(0x405)],Xe;function Ri(){return Xe||(Xe=0x1,function(_0x5a5cdb,_0x44c2bb){(function(_0x1c722e,_0x3eb57f){var _0x5e6942=_0x3427;_0x5a5cdb[_0x5e6942(0x405)]=_0x3eb57f(Q());}(Oi,function(_0x93e1fb){var _0x452a29=_0x3427;return(function(){var _0x5b50f3=_0x3427,_0x393aa8=_0x93e1fb,_0x4fe1df=_0x393aa8['lib'],_0x2c4db0=_0x4fe1df[_0x5b50f3(0x2aa)],_0x1c7c09=_0x4fe1df[_0x5b50f3(0x25a)],_0x1f0dee=_0x393aa8[_0x5b50f3(0x274)],_0x2cd025=[],_0x458f8b=_0x1f0dee[_0x5b50f3(0x43d)]=_0x1c7c09[_0x5b50f3(0x4b5)]({'_doReset':function(){var _0x445803=_0x5b50f3;this[_0x445803(0x225)]=new _0x2c4db0[(_0x445803(0x376))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4da3f0,_0x22630b){var _0x10f917=_0x5b50f3;for(var _0x8022d0=this['_hash'][_0x10f917(0x2e3)],_0x59267d=_0x8022d0[0x0],_0x27daf8=_0x8022d0[0x1],_0x4a6e9a=_0x8022d0[0x2],_0x13b626=_0x8022d0[0x3],_0x35c8e9=_0x8022d0[0x4],_0x3a94c3=0x0;_0x3a94c3<0x50;_0x3a94c3++){if(_0x3a94c3<0x10)_0x2cd025[_0x3a94c3]=_0x4da3f0[_0x22630b+_0x3a94c3]|0x0;else{var _0x46f8de=_0x2cd025[_0x3a94c3-0x3]^_0x2cd025[_0x3a94c3-0x8]^_0x2cd025[_0x3a94c3-0xe]^_0x2cd025[_0x3a94c3-0x10];_0x2cd025[_0x3a94c3]=_0x46f8de<<0x1|_0x46f8de>>>0x1f;}var _0x198dcd=(_0x59267d<<0x5|_0x59267d>>>0x1b)+_0x35c8e9+_0x2cd025[_0x3a94c3];_0x3a94c3<0x14?_0x198dcd+=(_0x27daf8&_0x4a6e9a|~_0x27daf8&_0x13b626)+0x5a827999:_0x3a94c3<0x28?_0x198dcd+=(_0x27daf8^_0x4a6e9a^_0x13b626)+0x6ed9eba1:_0x3a94c3<0x3c?_0x198dcd+=(_0x27daf8&_0x4a6e9a|_0x27daf8&_0x13b626|_0x4a6e9a&_0x13b626)-0x70e44324:_0x198dcd+=(_0x27daf8^_0x4a6e9a^_0x13b626)-0x359d3e2a,_0x35c8e9=_0x13b626,_0x13b626=_0x4a6e9a,_0x4a6e9a=_0x27daf8<<0x1e|_0x27daf8>>>0x2,_0x27daf8=_0x59267d,_0x59267d=_0x198dcd;}_0x8022d0[0x0]=_0x8022d0[0x0]+_0x59267d|0x0,_0x8022d0[0x1]=_0x8022d0[0x1]+_0x27daf8|0x0,_0x8022d0[0x2]=_0x8022d0[0x2]+_0x4a6e9a|0x0,_0x8022d0[0x3]=_0x8022d0[0x3]+_0x13b626|0x0,_0x8022d0[0x4]=_0x8022d0[0x4]+_0x35c8e9|0x0;},'_doFinalize':function(){var _0x1e9652=_0x5b50f3,_0x1262c8=this[_0x1e9652(0x50f)],_0x1c1ce1=_0x1262c8[_0x1e9652(0x2e3)],_0x38c3b3=this[_0x1e9652(0x270)]*0x8,_0x1c203c=_0x1262c8[_0x1e9652(0x3fa)]*0x8;return _0x1c1ce1[_0x1c203c>>>0x5]|=0x80<<0x18-_0x1c203c%0x20,_0x1c1ce1[(_0x1c203c+0x40>>>0x9<<0x4)+0xe]=Math[_0x1e9652(0x3e6)](_0x38c3b3/0x100000000),_0x1c1ce1[(_0x1c203c+0x40>>>0x9<<0x4)+0xf]=_0x38c3b3,_0x1262c8[_0x1e9652(0x3fa)]=_0x1c1ce1[_0x1e9652(0x4aa)]*0x4,this[_0x1e9652(0x3b7)](),this[_0x1e9652(0x225)];},'clone':function(){var _0xf355c6=_0x5b50f3,_0x437e35=_0x1c7c09[_0xf355c6(0x353)][_0xf355c6(0x31e)](this);return _0x437e35[_0xf355c6(0x225)]=this['_hash'][_0xf355c6(0x353)](),_0x437e35;}});_0x393aa8[_0x5b50f3(0x43d)]=_0x1c7c09[_0x5b50f3(0x3bd)](_0x458f8b),_0x393aa8[_0x5b50f3(0x4c5)]=_0x1c7c09['_createHmacHelper'](_0x458f8b);}()),_0x93e1fb[_0x452a29(0x43d)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},yi=Ce[_0x38e6f9(0x405)],Ze;function Ni(){var _0x2222c4=_0x38e6f9;return Ze||(Ze=0x1,function(_0x22ad07,_0x3d09bf){(function(_0x171b3d,_0x57fc64){var _0x532d79=_0x3427;_0x22ad07[_0x532d79(0x405)]=_0x57fc64(Q());}(yi,function(_0x5a10dc){(function(){var _0x182b91=_0x3427,_0x40da04=_0x5a10dc,_0x2618a8=_0x40da04[_0x182b91(0x2ff)],_0x26f5bb=_0x2618a8[_0x182b91(0x206)],_0x34b255=_0x40da04['enc'],_0x126937=_0x34b255[_0x182b91(0x256)],_0x5ed39f=_0x40da04['algo'];_0x5ed39f[_0x182b91(0x3e4)]=_0x26f5bb[_0x182b91(0x4b5)]({'init':function(_0x4811b6,_0x1352a4){var _0x4601ce=_0x182b91;_0x4811b6=this['_hasher']=new _0x4811b6[(_0x4601ce(0x376))](),typeof _0x1352a4=='string'&&(_0x1352a4=_0x126937[_0x4601ce(0x46b)](_0x1352a4));var _0x39ae8c=_0x4811b6[_0x4601ce(0x555)],_0xe056d9=_0x39ae8c*0x4;_0x1352a4['sigBytes']>_0xe056d9&&(_0x1352a4=_0x4811b6[_0x4601ce(0x322)](_0x1352a4)),_0x1352a4[_0x4601ce(0x445)]();for(var _0x452cdf=this[_0x4601ce(0x32e)]=_0x1352a4[_0x4601ce(0x353)](),_0x467953=this[_0x4601ce(0x294)]=_0x1352a4['clone'](),_0x3863dc=_0x452cdf[_0x4601ce(0x2e3)],_0xb47250=_0x467953[_0x4601ce(0x2e3)],_0x437db0=0x0;_0x437db0<_0x39ae8c;_0x437db0++)_0x3863dc[_0x437db0]^=0x5c5c5c5c,_0xb47250[_0x437db0]^=0x36363636;_0x452cdf[_0x4601ce(0x3fa)]=_0x467953[_0x4601ce(0x3fa)]=_0xe056d9,this[_0x4601ce(0x304)]();},'reset':function(){var _0x4ad36a=_0x182b91,_0x4fdc34=this[_0x4ad36a(0x4f6)];_0x4fdc34['reset'](),_0x4fdc34[_0x4ad36a(0x4d9)](this[_0x4ad36a(0x294)]);},'update':function(_0x17a145){var _0x24cfc1=_0x182b91;return this[_0x24cfc1(0x4f6)]['update'](_0x17a145),this;},'finalize':function(_0x117736){var _0x3146f5=_0x182b91,_0x2dd8fd=this['_hasher'],_0x2b0095=_0x2dd8fd['finalize'](_0x117736);_0x2dd8fd[_0x3146f5(0x304)]();var _0x1efcb9=_0x2dd8fd[_0x3146f5(0x322)](this[_0x3146f5(0x32e)][_0x3146f5(0x353)]()[_0x3146f5(0x215)](_0x2b0095));return _0x1efcb9;}});}());}));}(Ce)),Ce[_0x2222c4(0x405)];}var Di=ge[_0x38e6f9(0x405)],Qe;function Ct(){var _0x18d7a8=_0x38e6f9;return Qe||(Qe=0x1,function(_0x28e364,_0x2cc1f8){(function(_0x1f7fba,_0x940245,_0xfe32d8){_0x28e364['exports']=_0x940245(Q(),Ri(),Ni());}(Di,function(_0x21fdb5){return(function(){var _0x146934=_0x3427,_0xac5f2e=_0x21fdb5,_0x131505=_0xac5f2e[_0x146934(0x2ff)],_0x3c603b=_0x131505[_0x146934(0x206)],_0x3ee352=_0x131505[_0x146934(0x2aa)],_0x5c9857=_0xac5f2e['algo'],_0x489e2a=_0x5c9857[_0x146934(0x2a4)],_0x81042=_0x5c9857[_0x146934(0x309)]=_0x3c603b['extend']({'cfg':_0x3c603b[_0x146934(0x4b5)]({'keySize':0x80/0x20,'hasher':_0x489e2a,'iterations':0x1}),'init':function(_0x1be7b7){var _0x5c6fa8=_0x146934;this[_0x5c6fa8(0x1f4)]=this['cfg'][_0x5c6fa8(0x4b5)](_0x1be7b7);},'compute':function(_0x119b26,_0x21dbb9){var _0x2a3c1d=_0x146934;for(var _0x5f48b2,_0x187fa8=this[_0x2a3c1d(0x1f4)],_0x1ac585=_0x187fa8[_0x2a3c1d(0x28f)]['create'](),_0x498a94=_0x3ee352[_0x2a3c1d(0x380)](),_0x26f8fe=_0x498a94['words'],_0x272b6b=_0x187fa8['keySize'],_0x1f3db9=_0x187fa8['iterations'];_0x26f8fe['length']<_0x272b6b;){_0x5f48b2&&_0x1ac585['update'](_0x5f48b2),_0x5f48b2=_0x1ac585[_0x2a3c1d(0x4d9)](_0x119b26)[_0x2a3c1d(0x322)](_0x21dbb9),_0x1ac585[_0x2a3c1d(0x304)]();for(var _0x40ef90=0x1;_0x40ef90<_0x1f3db9;_0x40ef90++)_0x5f48b2=_0x1ac585[_0x2a3c1d(0x322)](_0x5f48b2),_0x1ac585[_0x2a3c1d(0x304)]();_0x498a94['concat'](_0x5f48b2);}return _0x498a94[_0x2a3c1d(0x3fa)]=_0x272b6b*0x4,_0x498a94;}});_0xac5f2e[_0x146934(0x309)]=function(_0x104710,_0x40918e,_0x36f181){var _0x5bc933=_0x146934;return _0x81042[_0x5bc933(0x380)](_0x36f181)[_0x5bc933(0x3ff)](_0x104710,_0x40918e);};}()),_0x21fdb5['EvpKDF'];}));}(ge)),ge[_0x18d7a8(0x405)];}function _0x3427(_0x4d8841,_0x38df00){var _0x8cd407=_0x8cd4();return _0x3427=function(_0x342755,_0x5a8bf3){_0x342755=_0x342755-0x1dd;var _0x3a861b=_0x8cd407[_0x342755];return _0x3a861b;},_0x3427(_0x4d8841,_0x38df00);}var Te={'exports':{}},Ui=Te[_0x38e6f9(0x405)],et;function Tt(){var _0x2fcd45=_0x38e6f9;return et||(et=0x1,function(_0x1c7a00,_0x2764a4){(function(_0x3bcb71,_0x55999a,_0x56bfcb){var _0x1eeaef=_0x3427;_0x1c7a00[_0x1eeaef(0x405)]=_0x55999a(Q(),Ct());}(Ui,function(_0x23cefb){var _0x5cf189=_0x3427;_0x23cefb[_0x5cf189(0x2ff)]['Cipher']||function(_0x261948){var _0x4d6df2=_0x5cf189,_0x4171a7=_0x23cefb,_0x3ed01c=_0x4171a7[_0x4d6df2(0x2ff)],_0x2dbdfb=_0x3ed01c[_0x4d6df2(0x206)],_0x2d7be7=_0x3ed01c[_0x4d6df2(0x2aa)],_0x2ce242=_0x3ed01c[_0x4d6df2(0x24c)],_0x9d72b4=_0x4171a7[_0x4d6df2(0x506)];_0x9d72b4[_0x4d6df2(0x256)];var _0xcbf061=_0x9d72b4['Base64'],_0xd00b7a=_0x4171a7[_0x4d6df2(0x274)],_0x13f59b=_0xd00b7a['EvpKDF'],_0x56d8f6=_0x3ed01c['Cipher']=_0x2ce242[_0x4d6df2(0x4b5)]({'cfg':_0x2dbdfb[_0x4d6df2(0x4b5)](),'createEncryptor':function(_0x2c0767,_0x115be8){var _0x5df71e=_0x4d6df2;return this[_0x5df71e(0x380)](this[_0x5df71e(0x28e)],_0x2c0767,_0x115be8);},'createDecryptor':function(_0x521c56,_0x56cb9a){var _0x6fef0f=_0x4d6df2;return this[_0x6fef0f(0x380)](this[_0x6fef0f(0x3a4)],_0x521c56,_0x56cb9a);},'init':function(_0x5eeefd,_0x18dfe4,_0x18a1db){var _0x3d0614=_0x4d6df2;this[_0x3d0614(0x1f4)]=this[_0x3d0614(0x1f4)]['extend'](_0x18a1db),this['_xformMode']=_0x5eeefd,this[_0x3d0614(0x38f)]=_0x18dfe4,this[_0x3d0614(0x304)]();},'reset':function(){var _0x394fd1=_0x4d6df2;_0x2ce242['reset'][_0x394fd1(0x31e)](this),this[_0x394fd1(0x524)]();},'process':function(_0x5be9b2){var _0x51436c=_0x4d6df2;return this[_0x51436c(0x3db)](_0x5be9b2),this[_0x51436c(0x3b7)]();},'finalize':function(_0x4dba0c){var _0xa46f74=_0x4d6df2;_0x4dba0c&&this['_append'](_0x4dba0c);var _0x51fed2=this[_0xa46f74(0x279)]();return _0x51fed2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1182e3(_0x17e20d){var _0x38a766=_0x3427;return typeof _0x17e20d==_0x38a766(0x2ee)?_0x5738e5:_0x113aa8;}return function(_0x5637b7){return{'encrypt':function(_0x310857,_0x586a9d,_0xaf7d2c){return _0x1182e3(_0x586a9d)['encrypt'](_0x5637b7,_0x310857,_0x586a9d,_0xaf7d2c);},'decrypt':function(_0x25e335,_0x37b43b,_0x3044a9){var _0x33709a=_0x3427;return _0x1182e3(_0x37b43b)[_0x33709a(0x292)](_0x5637b7,_0x25e335,_0x37b43b,_0x3044a9);}};};}())});_0x3ed01c[_0x4d6df2(0x532)]=_0x56d8f6[_0x4d6df2(0x4b5)]({'_doFinalize':function(){var _0x2746d8=_0x4d6df2,_0x4db61b=this[_0x2746d8(0x3b7)](!0x0);return _0x4db61b;},'blockSize':0x1});var _0x4ff291=_0x4171a7[_0x4d6df2(0x2f4)]={},_0x488c8f=_0x3ed01c[_0x4d6df2(0x224)]=_0x2dbdfb[_0x4d6df2(0x4b5)]({'createEncryptor':function(_0x2a17d9,_0x52dff0){var _0x219a6d=_0x4d6df2;return this[_0x219a6d(0x251)]['create'](_0x2a17d9,_0x52dff0);},'createDecryptor':function(_0x5717d4,_0x4d97de){var _0x12b5a4=_0x4d6df2;return this[_0x12b5a4(0x3ef)]['create'](_0x5717d4,_0x4d97de);},'init':function(_0x4dc70e,_0x268f17){var _0x3cf2d0=_0x4d6df2;this['_cipher']=_0x4dc70e,this[_0x3cf2d0(0x21b)]=_0x268f17;}}),_0x47707d=_0x4ff291[_0x4d6df2(0x3ac)]=(function(){var _0x4acf0d=_0x4d6df2,_0x139b39=_0x488c8f['extend']();_0x139b39[_0x4acf0d(0x251)]=_0x139b39[_0x4acf0d(0x4b5)]({'processBlock':function(_0x3d991f,_0x571a65){var _0x3ac922=_0x4acf0d,_0xc947ec=this[_0x3ac922(0x472)],_0x50fde4=_0xc947ec[_0x3ac922(0x555)];_0x530bca[_0x3ac922(0x31e)](this,_0x3d991f,_0x571a65,_0x50fde4),_0xc947ec['encryptBlock'](_0x3d991f,_0x571a65),this['_prevBlock']=_0x3d991f[_0x3ac922(0x2fa)](_0x571a65,_0x571a65+_0x50fde4);}}),_0x139b39[_0x4acf0d(0x3ef)]=_0x139b39[_0x4acf0d(0x4b5)]({'processBlock':function(_0x3df492,_0x3559d7){var _0x377df3=_0x4acf0d,_0x3198f6=this[_0x377df3(0x472)],_0x17ce83=_0x3198f6[_0x377df3(0x555)],_0x172e55=_0x3df492['slice'](_0x3559d7,_0x3559d7+_0x17ce83);_0x3198f6[_0x377df3(0x439)](_0x3df492,_0x3559d7),_0x530bca[_0x377df3(0x31e)](this,_0x3df492,_0x3559d7,_0x17ce83),this[_0x377df3(0x41d)]=_0x172e55;}});function _0x530bca(_0x23a1cf,_0x44e1c8,_0x16ac38){var _0x5d7833=_0x4acf0d,_0x83d38b,_0x3788e6=this[_0x5d7833(0x21b)];_0x3788e6?(_0x83d38b=_0x3788e6,this[_0x5d7833(0x21b)]=_0x261948):_0x83d38b=this[_0x5d7833(0x41d)];for(var _0x2bb120=0x0;_0x2bb120<_0x16ac38;_0x2bb120++)_0x23a1cf[_0x44e1c8+_0x2bb120]^=_0x83d38b[_0x2bb120];}return _0x139b39;}()),_0x3c089e=_0x4171a7[_0x4d6df2(0x54b)]={},_0x5d0b8e=_0x3c089e[_0x4d6df2(0x440)]={'pad':function(_0x48c7d5,_0x37fe93){var _0x236f93=_0x4d6df2;for(var _0x5f173b=_0x37fe93*0x4,_0x2c4b9d=_0x5f173b-_0x48c7d5[_0x236f93(0x3fa)]%_0x5f173b,_0x513e06=_0x2c4b9d<<0x18|_0x2c4b9d<<0x10|_0x2c4b9d<<0x8|_0x2c4b9d,_0x3e7750=[],_0x15047a=0x0;_0x15047a<_0x2c4b9d;_0x15047a+=0x4)_0x3e7750['push'](_0x513e06);var _0x3fc734=_0x2d7be7[_0x236f93(0x380)](_0x3e7750,_0x2c4b9d);_0x48c7d5['concat'](_0x3fc734);},'unpad':function(_0x16c40e){var _0xc608ce=_0x4d6df2,_0x8c4b33=_0x16c40e[_0xc608ce(0x2e3)][_0x16c40e[_0xc608ce(0x3fa)]-0x1>>>0x2]&0xff;_0x16c40e[_0xc608ce(0x3fa)]-=_0x8c4b33;}};_0x3ed01c[_0x4d6df2(0x2dd)]=_0x56d8f6[_0x4d6df2(0x4b5)]({'cfg':_0x56d8f6[_0x4d6df2(0x1f4)][_0x4d6df2(0x4b5)]({'mode':_0x47707d,'padding':_0x5d0b8e}),'reset':function(){var _0x12b1a2=_0x4d6df2,_0x5729c3;_0x56d8f6['reset']['call'](this);var _0x133eec=this[_0x12b1a2(0x1f4)],_0x8bdc9b=_0x133eec['iv'],_0xee9e01=_0x133eec[_0x12b1a2(0x2f4)];this[_0x12b1a2(0x207)]==this[_0x12b1a2(0x28e)]?_0x5729c3=_0xee9e01['createEncryptor']:(_0x5729c3=_0xee9e01[_0x12b1a2(0x409)],this[_0x12b1a2(0x3c8)]=0x1),this[_0x12b1a2(0x30b)]&&this[_0x12b1a2(0x30b)][_0x12b1a2(0x3a6)]==_0x5729c3?this[_0x12b1a2(0x30b)][_0x12b1a2(0x376)](this,_0x8bdc9b&&_0x8bdc9b[_0x12b1a2(0x2e3)]):(this[_0x12b1a2(0x30b)]=_0x5729c3['call'](_0xee9e01,this,_0x8bdc9b&&_0x8bdc9b[_0x12b1a2(0x2e3)]),this['_mode'][_0x12b1a2(0x3a6)]=_0x5729c3);},'_doProcessBlock':function(_0xcccad0,_0xe4b6b3){var _0x58a0e8=_0x4d6df2;this[_0x58a0e8(0x30b)][_0x58a0e8(0x4c7)](_0xcccad0,_0xe4b6b3);},'_doFinalize':function(){var _0x7e4da0=_0x4d6df2,_0x28569b,_0x58dbea=this[_0x7e4da0(0x1f4)]['padding'];return this[_0x7e4da0(0x207)]==this[_0x7e4da0(0x28e)]?(_0x58dbea[_0x7e4da0(0x54b)](this[_0x7e4da0(0x50f)],this[_0x7e4da0(0x555)]),_0x28569b=this['_process'](!0x0)):(_0x28569b=this['_process'](!0x0),_0x58dbea[_0x7e4da0(0x3a5)](_0x28569b)),_0x28569b;},'blockSize':0x80/0x20});var _0x55c3da=_0x3ed01c[_0x4d6df2(0x229)]=_0x2dbdfb['extend']({'init':function(_0x479ade){var _0x2432a4=_0x4d6df2;this[_0x2432a4(0x29c)](_0x479ade);},'toString':function(_0x19a946){return(_0x19a946||this['formatter'])['stringify'](this);}}),_0x12297e=_0x4171a7['format']={},_0xd76031=_0x12297e[_0x4d6df2(0x2e4)]={'stringify':function(_0x4963b7){var _0x22a947=_0x4d6df2,_0xe234d9,_0x19d660=_0x4963b7[_0x22a947(0x361)],_0x57188e=_0x4963b7[_0x22a947(0x495)];return _0x57188e?_0xe234d9=_0x2d7be7[_0x22a947(0x380)]([0x53616c74,0x65645f5f])[_0x22a947(0x215)](_0x57188e)[_0x22a947(0x215)](_0x19d660):_0xe234d9=_0x19d660,_0xe234d9['toString'](_0xcbf061);},'parse':function(_0x5db708){var _0x51ec30=_0x4d6df2,_0x3d3ff5,_0x2f8dcb=_0xcbf061[_0x51ec30(0x46b)](_0x5db708),_0x192271=_0x2f8dcb[_0x51ec30(0x2e3)];return _0x192271[0x0]==0x53616c74&&_0x192271[0x1]==0x65645f5f&&(_0x3d3ff5=_0x2d7be7[_0x51ec30(0x380)](_0x192271[_0x51ec30(0x2fa)](0x2,0x4)),_0x192271[_0x51ec30(0x43f)](0x0,0x4),_0x2f8dcb[_0x51ec30(0x3fa)]-=0x10),_0x55c3da['create']({'ciphertext':_0x2f8dcb,'salt':_0x3d3ff5});}},_0x113aa8=_0x3ed01c[_0x4d6df2(0x4b7)]=_0x2dbdfb['extend']({'cfg':_0x2dbdfb[_0x4d6df2(0x4b5)]({'format':_0xd76031}),'encrypt':function(_0x1f4586,_0x341aeb,_0x5bae39,_0x574d36){var _0x121909=_0x4d6df2;_0x574d36=this[_0x121909(0x1f4)][_0x121909(0x4b5)](_0x574d36);var _0x5c47bc=_0x1f4586[_0x121909(0x424)](_0x5bae39,_0x574d36),_0x40ef84=_0x5c47bc[_0x121909(0x322)](_0x341aeb),_0x2320d3=_0x5c47bc[_0x121909(0x1f4)];return _0x55c3da['create']({'ciphertext':_0x40ef84,'key':_0x5bae39,'iv':_0x2320d3['iv'],'algorithm':_0x1f4586,'mode':_0x2320d3[_0x121909(0x2f4)],'padding':_0x2320d3[_0x121909(0x314)],'blockSize':_0x1f4586[_0x121909(0x555)],'formatter':_0x574d36[_0x121909(0x244)]});},'decrypt':function(_0x398569,_0x32fcf3,_0x2d0e4d,_0x36f50c){var _0x3b1aeb=_0x4d6df2;_0x36f50c=this['cfg'][_0x3b1aeb(0x4b5)](_0x36f50c),_0x32fcf3=this[_0x3b1aeb(0x4f4)](_0x32fcf3,_0x36f50c['format']);var _0x235115=_0x398569[_0x3b1aeb(0x409)](_0x2d0e4d,_0x36f50c)[_0x3b1aeb(0x322)](_0x32fcf3[_0x3b1aeb(0x361)]);return _0x235115;},'_parse':function(_0x35ae20,_0x1c8aff){var _0x166582=_0x4d6df2;return typeof _0x35ae20==_0x166582(0x2ee)?_0x1c8aff[_0x166582(0x46b)](_0x35ae20,this):_0x35ae20;}}),_0x3171dd=_0x4171a7[_0x4d6df2(0x348)]={},_0x1c64a6=_0x3171dd['OpenSSL']={'execute':function(_0x466db6,_0x2701f0,_0x250f72,_0x119cb9,_0x4d74e8){var _0x341f91=_0x4d6df2;if(_0x119cb9||(_0x119cb9=_0x2d7be7[_0x341f91(0x391)](0x40/0x8)),_0x4d74e8)var _0x5ab94a=_0x13f59b[_0x341f91(0x380)]({'keySize':_0x2701f0+_0x250f72,'hasher':_0x4d74e8})[_0x341f91(0x3ff)](_0x466db6,_0x119cb9);else var _0x5ab94a=_0x13f59b[_0x341f91(0x380)]({'keySize':_0x2701f0+_0x250f72})[_0x341f91(0x3ff)](_0x466db6,_0x119cb9);var _0x2914bc=_0x2d7be7[_0x341f91(0x380)](_0x5ab94a['words']['slice'](_0x2701f0),_0x250f72*0x4);return _0x5ab94a['sigBytes']=_0x2701f0*0x4,_0x55c3da[_0x341f91(0x380)]({'key':_0x5ab94a,'iv':_0x2914bc,'salt':_0x119cb9});}},_0x5738e5=_0x3ed01c[_0x4d6df2(0x48b)]=_0x113aa8['extend']({'cfg':_0x113aa8[_0x4d6df2(0x1f4)][_0x4d6df2(0x4b5)]({'kdf':_0x1c64a6}),'encrypt':function(_0x240ba2,_0x1a7dd8,_0x1dbc42,_0x8661f9){var _0x4b31eb=_0x4d6df2;_0x8661f9=this['cfg'][_0x4b31eb(0x4b5)](_0x8661f9);var _0x3fd7ee=_0x8661f9[_0x4b31eb(0x348)][_0x4b31eb(0x40c)](_0x1dbc42,_0x240ba2[_0x4b31eb(0x425)],_0x240ba2['ivSize'],_0x8661f9[_0x4b31eb(0x495)],_0x8661f9['hasher']);_0x8661f9['iv']=_0x3fd7ee['iv'];var _0x717898=_0x113aa8[_0x4b31eb(0x3ec)][_0x4b31eb(0x31e)](this,_0x240ba2,_0x1a7dd8,_0x3fd7ee[_0x4b31eb(0x511)],_0x8661f9);return _0x717898[_0x4b31eb(0x29c)](_0x3fd7ee),_0x717898;},'decrypt':function(_0x1eb698,_0x2a622b,_0xa60e5f,_0x239323){var _0x48c42e=_0x4d6df2;_0x239323=this[_0x48c42e(0x1f4)][_0x48c42e(0x4b5)](_0x239323),_0x2a622b=this['_parse'](_0x2a622b,_0x239323[_0x48c42e(0x244)]);var _0xe745de=_0x239323[_0x48c42e(0x348)][_0x48c42e(0x40c)](_0xa60e5f,_0x1eb698[_0x48c42e(0x425)],_0x1eb698[_0x48c42e(0x485)],_0x2a622b[_0x48c42e(0x495)],_0x239323[_0x48c42e(0x28f)]);_0x239323['iv']=_0xe745de['iv'];var _0x59a8fb=_0x113aa8['decrypt'][_0x48c42e(0x31e)](this,_0x1eb698,_0x2a622b,_0xe745de[_0x48c42e(0x511)],_0x239323);return _0x59a8fb;}});}();}));}(Te)),Te[_0x2fcd45(0x405)];}var Ai=fe[_0x38e6f9(0x405)],tt;function Pi(){var _0x43b0c8=_0x38e6f9;return tt||(tt=0x1,function(_0x17adcd,_0x9b84f1){(function(_0x4c7c27,_0xefe111,_0x2ff9b7){var _0x403e99=_0x3427;_0x17adcd[_0x403e99(0x405)]=_0xefe111(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x5ecfe2){var _0x40db6a=_0x3427;return(function(){var _0x53c795=_0x3427,_0x445339=_0x5ecfe2,_0x33caa5=_0x445339[_0x53c795(0x2ff)],_0xdb8190=_0x33caa5[_0x53c795(0x2dd)],_0x146f08=_0x445339['algo'],_0xa2934b=[],_0xaebfb5=[],_0x91825b=[],_0x11aeb7=[],_0x1cccaf=[],_0x342791=[],_0x2e207c=[],_0x3d6363=[],_0x416c23=[],_0x450255=[];(function(){for(var _0x16e5ca=[],_0x4e42df=0x0;_0x4e42df<0x100;_0x4e42df++)_0x4e42df<0x80?_0x16e5ca[_0x4e42df]=_0x4e42df<<0x1:_0x16e5ca[_0x4e42df]=_0x4e42df<<0x1^0x11b;for(var _0x5d54cf=0x0,_0xf472fe=0x0,_0x4e42df=0x0;_0x4e42df<0x100;_0x4e42df++){var _0x4daf83=_0xf472fe^_0xf472fe<<0x1^_0xf472fe<<0x2^_0xf472fe<<0x3^_0xf472fe<<0x4;_0x4daf83=_0x4daf83>>>0x8^_0x4daf83&0xff^0x63,_0xa2934b[_0x5d54cf]=_0x4daf83,_0xaebfb5[_0x4daf83]=_0x5d54cf;var _0x74d598=_0x16e5ca[_0x5d54cf],_0x1f21ca=_0x16e5ca[_0x74d598],_0x3e51b0=_0x16e5ca[_0x1f21ca],_0x1b5998=_0x16e5ca[_0x4daf83]*0x101^_0x4daf83*0x1010100;_0x91825b[_0x5d54cf]=_0x1b5998<<0x18|_0x1b5998>>>0x8,_0x11aeb7[_0x5d54cf]=_0x1b5998<<0x10|_0x1b5998>>>0x10,_0x1cccaf[_0x5d54cf]=_0x1b5998<<0x8|_0x1b5998>>>0x18,_0x342791[_0x5d54cf]=_0x1b5998;var _0x1b5998=_0x3e51b0*0x1010101^_0x1f21ca*0x10001^_0x74d598*0x101^_0x5d54cf*0x1010100;_0x2e207c[_0x4daf83]=_0x1b5998<<0x18|_0x1b5998>>>0x8,_0x3d6363[_0x4daf83]=_0x1b5998<<0x10|_0x1b5998>>>0x10,_0x416c23[_0x4daf83]=_0x1b5998<<0x8|_0x1b5998>>>0x18,_0x450255[_0x4daf83]=_0x1b5998,_0x5d54cf?(_0x5d54cf=_0x74d598^_0x16e5ca[_0x16e5ca[_0x16e5ca[_0x3e51b0^_0x74d598]]],_0xf472fe^=_0x16e5ca[_0x16e5ca[_0xf472fe]]):_0x5d54cf=_0xf472fe=0x1;}}());var _0x482641=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x17d4bf=_0x146f08[_0x53c795(0x298)]=_0xdb8190[_0x53c795(0x4b5)]({'_doReset':function(){var _0xeadf14=_0x53c795,_0x24369d;if(!(this[_0xeadf14(0x2f8)]&&this[_0xeadf14(0x453)]===this['_key'])){for(var _0x307852=this['_keyPriorReset']=this[_0xeadf14(0x38f)],_0x17cfd2=_0x307852['words'],_0x45dc90=_0x307852[_0xeadf14(0x3fa)]/0x4,_0x310f7c=this['_nRounds']=_0x45dc90+0x6,_0xbbb5b5=(_0x310f7c+0x1)*0x4,_0x558fae=this[_0xeadf14(0x4e4)]=[],_0x1d96c2=0x0;_0x1d96c2<_0xbbb5b5;_0x1d96c2++)_0x1d96c2<_0x45dc90?_0x558fae[_0x1d96c2]=_0x17cfd2[_0x1d96c2]:(_0x24369d=_0x558fae[_0x1d96c2-0x1],_0x1d96c2%_0x45dc90?_0x45dc90>0x6&&_0x1d96c2%_0x45dc90==0x4&&(_0x24369d=_0xa2934b[_0x24369d>>>0x18]<<0x18|_0xa2934b[_0x24369d>>>0x10&0xff]<<0x10|_0xa2934b[_0x24369d>>>0x8&0xff]<<0x8|_0xa2934b[_0x24369d&0xff]):(_0x24369d=_0x24369d<<0x8|_0x24369d>>>0x18,_0x24369d=_0xa2934b[_0x24369d>>>0x18]<<0x18|_0xa2934b[_0x24369d>>>0x10&0xff]<<0x10|_0xa2934b[_0x24369d>>>0x8&0xff]<<0x8|_0xa2934b[_0x24369d&0xff],_0x24369d^=_0x482641[_0x1d96c2/_0x45dc90|0x0]<<0x18),_0x558fae[_0x1d96c2]=_0x558fae[_0x1d96c2-_0x45dc90]^_0x24369d);for(var _0xd3f6b8=this[_0xeadf14(0x333)]=[],_0x51e7fd=0x0;_0x51e7fd<_0xbbb5b5;_0x51e7fd++){var _0x1d96c2=_0xbbb5b5-_0x51e7fd;if(_0x51e7fd%0x4)var _0x24369d=_0x558fae[_0x1d96c2];else var _0x24369d=_0x558fae[_0x1d96c2-0x4];_0x51e7fd<0x4||_0x1d96c2<=0x4?_0xd3f6b8[_0x51e7fd]=_0x24369d:_0xd3f6b8[_0x51e7fd]=_0x2e207c[_0xa2934b[_0x24369d>>>0x18]]^_0x3d6363[_0xa2934b[_0x24369d>>>0x10&0xff]]^_0x416c23[_0xa2934b[_0x24369d>>>0x8&0xff]]^_0x450255[_0xa2934b[_0x24369d&0xff]];}}},'encryptBlock':function(_0x176e4f,_0xe88d3a){var _0x256d2d=_0x53c795;this[_0x256d2d(0x512)](_0x176e4f,_0xe88d3a,this[_0x256d2d(0x4e4)],_0x91825b,_0x11aeb7,_0x1cccaf,_0x342791,_0xa2934b);},'decryptBlock':function(_0x442320,_0x2d2598){var _0x6455aa=_0x53c795,_0x4b33b4=_0x442320[_0x2d2598+0x1];_0x442320[_0x2d2598+0x1]=_0x442320[_0x2d2598+0x3],_0x442320[_0x2d2598+0x3]=_0x4b33b4,this[_0x6455aa(0x512)](_0x442320,_0x2d2598,this['_invKeySchedule'],_0x2e207c,_0x3d6363,_0x416c23,_0x450255,_0xaebfb5);var _0x4b33b4=_0x442320[_0x2d2598+0x1];_0x442320[_0x2d2598+0x1]=_0x442320[_0x2d2598+0x3],_0x442320[_0x2d2598+0x3]=_0x4b33b4;},'_doCryptBlock':function(_0x2e906d,_0xc34a0b,_0x2f879e,_0x3a7c9a,_0x3fee87,_0xc51a19,_0x51ad55,_0x38661f){var _0x3b7436=_0x53c795;for(var _0xf2a821=this[_0x3b7436(0x2f8)],_0x4c5da5=_0x2e906d[_0xc34a0b]^_0x2f879e[0x0],_0x2ca39f=_0x2e906d[_0xc34a0b+0x1]^_0x2f879e[0x1],_0xc47301=_0x2e906d[_0xc34a0b+0x2]^_0x2f879e[0x2],_0x2321bb=_0x2e906d[_0xc34a0b+0x3]^_0x2f879e[0x3],_0x558578=0x4,_0x21cb7c=0x1;_0x21cb7c<_0xf2a821;_0x21cb7c++){var _0x3b071a=_0x3a7c9a[_0x4c5da5>>>0x18]^_0x3fee87[_0x2ca39f>>>0x10&0xff]^_0xc51a19[_0xc47301>>>0x8&0xff]^_0x51ad55[_0x2321bb&0xff]^_0x2f879e[_0x558578++],_0x58f2b3=_0x3a7c9a[_0x2ca39f>>>0x18]^_0x3fee87[_0xc47301>>>0x10&0xff]^_0xc51a19[_0x2321bb>>>0x8&0xff]^_0x51ad55[_0x4c5da5&0xff]^_0x2f879e[_0x558578++],_0x1242f5=_0x3a7c9a[_0xc47301>>>0x18]^_0x3fee87[_0x2321bb>>>0x10&0xff]^_0xc51a19[_0x4c5da5>>>0x8&0xff]^_0x51ad55[_0x2ca39f&0xff]^_0x2f879e[_0x558578++],_0x6ac63b=_0x3a7c9a[_0x2321bb>>>0x18]^_0x3fee87[_0x4c5da5>>>0x10&0xff]^_0xc51a19[_0x2ca39f>>>0x8&0xff]^_0x51ad55[_0xc47301&0xff]^_0x2f879e[_0x558578++];_0x4c5da5=_0x3b071a,_0x2ca39f=_0x58f2b3,_0xc47301=_0x1242f5,_0x2321bb=_0x6ac63b;}var _0x3b071a=(_0x38661f[_0x4c5da5>>>0x18]<<0x18|_0x38661f[_0x2ca39f>>>0x10&0xff]<<0x10|_0x38661f[_0xc47301>>>0x8&0xff]<<0x8|_0x38661f[_0x2321bb&0xff])^_0x2f879e[_0x558578++],_0x58f2b3=(_0x38661f[_0x2ca39f>>>0x18]<<0x18|_0x38661f[_0xc47301>>>0x10&0xff]<<0x10|_0x38661f[_0x2321bb>>>0x8&0xff]<<0x8|_0x38661f[_0x4c5da5&0xff])^_0x2f879e[_0x558578++],_0x1242f5=(_0x38661f[_0xc47301>>>0x18]<<0x18|_0x38661f[_0x2321bb>>>0x10&0xff]<<0x10|_0x38661f[_0x4c5da5>>>0x8&0xff]<<0x8|_0x38661f[_0x2ca39f&0xff])^_0x2f879e[_0x558578++],_0x6ac63b=(_0x38661f[_0x2321bb>>>0x18]<<0x18|_0x38661f[_0x4c5da5>>>0x10&0xff]<<0x10|_0x38661f[_0x2ca39f>>>0x8&0xff]<<0x8|_0x38661f[_0xc47301&0xff])^_0x2f879e[_0x558578++];_0x2e906d[_0xc34a0b]=_0x3b071a,_0x2e906d[_0xc34a0b+0x1]=_0x58f2b3,_0x2e906d[_0xc34a0b+0x2]=_0x1242f5,_0x2e906d[_0xc34a0b+0x3]=_0x6ac63b;},'keySize':0x100/0x20});_0x445339['AES']=_0xdb8190[_0x53c795(0x3bd)](_0x17d4bf);}()),_0x5ecfe2[_0x40db6a(0x298)];}));}(fe)),fe[_0x43b0c8(0x405)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x38e6f9(0x405)],nt;function ki(){return nt||(nt=0x1,function(_0x4bc6e7,_0x452f93){(function(_0x5b25d0,_0x553696){var _0x419ebc=_0x3427;_0x4bc6e7[_0x419ebc(0x405)]=_0x553696(Q());}(xi,function(_0x506033){var _0xb62a78=_0x3427;return _0x506033[_0xb62a78(0x506)][_0xb62a78(0x256)];}));}(be)),be['exports'];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x38e6f9(0x405)],rt;function Bi(){var _0x3c2b5d=_0x38e6f9;return rt||(rt=0x1,function(_0x5593f0,_0x493b0c){(function(_0x33f898,_0x108a63){var _0x254be1=_0x3427;_0x5593f0[_0x254be1(0x405)]=_0x108a63(Q());}(ji,function(_0x2e0af8){var _0x40cdbe=_0x3427;return(function(){var _0x36e765=_0x3427;if(typeof ArrayBuffer=='function'){var _0x268ae6=_0x2e0af8,_0x333fb6=_0x268ae6[_0x36e765(0x2ff)],_0x7fbccf=_0x333fb6[_0x36e765(0x2aa)],_0x446d6d=_0x7fbccf[_0x36e765(0x376)],_0x433cb6=_0x7fbccf[_0x36e765(0x376)]=function(_0xb2ff2e){var _0x2f6489=_0x36e765;if(_0xb2ff2e instanceof ArrayBuffer&&(_0xb2ff2e=new Uint8Array(_0xb2ff2e)),(_0xb2ff2e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xb2ff2e instanceof Uint8ClampedArray||_0xb2ff2e instanceof Int16Array||_0xb2ff2e instanceof Uint16Array||_0xb2ff2e instanceof Int32Array||_0xb2ff2e instanceof Uint32Array||_0xb2ff2e instanceof Float32Array||_0xb2ff2e instanceof Float64Array)&&(_0xb2ff2e=new Uint8Array(_0xb2ff2e[_0x2f6489(0x4eb)],_0xb2ff2e[_0x2f6489(0x1eb)],_0xb2ff2e[_0x2f6489(0x213)])),_0xb2ff2e instanceof Uint8Array){for(var _0x28481d=_0xb2ff2e[_0x2f6489(0x213)],_0x417bad=[],_0x476f32=0x0;_0x476f32<_0x28481d;_0x476f32++)_0x417bad[_0x476f32>>>0x2]|=_0xb2ff2e[_0x476f32]<<0x18-_0x476f32%0x4*0x8;_0x446d6d[_0x2f6489(0x31e)](this,_0x417bad,_0x28481d);}else _0x446d6d[_0x2f6489(0x4a4)](this,arguments);};_0x433cb6['prototype']=_0x7fbccf;}}()),_0x2e0af8[_0x40cdbe(0x2ff)]['WordArray'];}));}(Oe)),Oe[_0x3c2b5d(0x405)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x38e6f9(0x405)],st;function Gi(){return st||(st=0x1,function(_0x2a12c3,_0x119cef){(function(_0xc10be6,_0x3389ad,_0x2a6aab){var _0x483101=_0x3427;_0x2a12c3[_0x483101(0x405)]=_0x3389ad(Q(),Tt());}(Wi,function(_0x48d322){var _0x18d6b4=_0x3427;return _0x48d322[_0x18d6b4(0x54b)][_0x18d6b4(0x3a0)]={'pad':function(){},'unpad':function(){}},_0x48d322['pad']['NoPadding'];}));}(Re)),Re['exports'];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x22940b,_0x4ea5b3){var _0x5b5f31=_0x38e6f9;const _0x4004e8=_0x4ea5b3-_0x22940b[_0x5b5f31(0x4aa)]%_0x4ea5b3,_0x1f11ce=String['fromCharCode'](_0x4004e8)['repeat'](_0x4004e8);return _0x22940b+_0x1f11ce;}function zi(_0x383ac6,_0x45a201){var _0x20108a=_0x38e6f9;const _0x285714=Vi[_0x20108a(0x391)](0x10),_0x55d257=Ki(_0x383ac6,0x10),_0xb9a48a=Mi[_0x20108a(0x3ec)](Hi['parse'](_0x55d257),it['parse'](_0x45a201),{'iv':_0x285714,'padding':qi});return _0x285714[_0x20108a(0x215)](_0xb9a48a[_0x20108a(0x361)])['toString'](it);}function Ji(){var _0x233da4=_0x38e6f9;const _0x3be21a=yt[_0x233da4(0x3b2)]()[_0x233da4(0x2c9)];if(_0x3be21a){const _0x55c7f0={'time':Math[_0x233da4(0x3e6)](Date[_0x233da4(0x289)]()/0x3e8),'domain':location[_0x233da4(0x312)]};return zi(JSON[_0x233da4(0x2b8)](_0x55c7f0),_0x3be21a);}}var Xi=Object['getOwnPropertyDescriptor'],Zi=(_0x51ce85,_0x3cff5e,_0x3004dd,_0x453be2)=>{for(var _0x318846=_0x453be2>0x1?void 0x0:_0x453be2?Xi(_0x3cff5e,_0x3004dd):_0x3cff5e,_0xbfd63e=_0x51ce85['length']-0x1,_0x294897;_0xbfd63e>=0x0;_0xbfd63e--)(_0x294897=_0x51ce85[_0xbfd63e])&&(_0x318846=_0x294897(_0x318846)||_0x318846);return _0x318846;},Qi=(_0xadc482,_0x566810)=>(_0x4bf5e7,_0x4224e0)=>_0x566810(_0x4bf5e7,_0x4224e0,_0xadc482);let Ne=class{constructor(_0x5ad7a6){var _0x80267e=_0x38e6f9;this[_0x80267e(0x38d)]=_0x5ad7a6,this[_0x80267e(0x3b1)]();}[_0x38e6f9(0x3b1)](){var _0x2b1478=_0x38e6f9;this['_httpService'][_0x2b1478(0x37d)]({'interceptor':(_0x4d5f77,_0x30ca0c)=>{var _0x7f441b=_0x2b1478;const _0x4f8409=_0x4d5f77[_0x7f441b(0x414)],_0x3c7d03=Ji();return _0x3c7d03&&_0x4f8409[_0x7f441b(0x2ef)](_0x7f441b(0x52e),_0x3c7d03),_0x30ca0c(_0x4d5f77);}});}};Ne=Zi([Qi(0x0,a[_0x38e6f9(0x28d)](q[_0x38e6f9(0x534)]))],Ne);var en=Object['getOwnPropertyDescriptor'],tn=(_0x6c10f9,_0x62663a,_0x1ab9b2,_0x3b6f8b)=>{var _0x3efe01=_0x38e6f9;for(var _0x9a37c1=_0x3b6f8b>0x1?void 0x0:_0x3b6f8b?en(_0x62663a,_0x1ab9b2):_0x62663a,_0x5afb19=_0x6c10f9[_0x3efe01(0x4aa)]-0x1,_0x471dd;_0x5afb19>=0x0;_0x5afb19--)(_0x471dd=_0x6c10f9[_0x5afb19])&&(_0x9a37c1=_0x471dd(_0x9a37c1)||_0x9a37c1);return _0x9a37c1;},we=(_0x5f3265,_0xa5123)=>(_0xa6f6a1,_0x5597a9)=>_0xa5123(_0xa6f6a1,_0x5597a9,_0x5f3265);exports[_0x38e6f9(0x3bf)]=class extends a[_0x38e6f9(0x45f)]{constructor(_0x2b64dd,_0x3880e2,_0x1379aa){var _0x45a81f=_0x38e6f9;super(),A(this,_0x45a81f(0x3c9),new H[(_0x45a81f(0x51e))](null)),A(this,_0x45a81f(0x484),this[_0x45a81f(0x3c9)]['asObservable']()),(this[_0x45a81f(0x3ab)]=_0x2b64dd,this[_0x45a81f(0x52b)]=_0x3880e2,this[_0x45a81f(0x1fd)]=_0x1379aa);}async[_0x38e6f9(0x33f)](_0x70ecb5,_0x463158,_0x389d65){var _0x333491=_0x38e6f9;this[_0x333491(0x3c9)]['next']({'unitId':_0x70ecb5,'type':_0x463158});let _0x2df1b9=null;switch(_0x463158){case J[_0x333491(0x406)]:{_0x2df1b9=await this['_snapshotService']['loadSheet'](_0x70ecb5,_0x389d65);break;}case J[_0x333491(0x247)]:{_0x2df1b9=await this['_snapshotService'][_0x333491(0x49d)](_0x70ecb5,_0x389d65);break;}default:{this[_0x333491(0x3ab)]['error'](_0x333491(0x420),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2df1b9;}async['loadUnit'](_0x396ba5,_0x14855b,_0x58b3b3){var _0x470673=_0x38e6f9,_0x5a3a99;this['_unitInfo$'][_0x470673(0x203)]({'unitId':_0x396ba5,'type':_0x14855b,'subUnitId':_0x58b3b3});let _0x459211=0x0;const _0x49393b=await((_0x5a3a99=this[_0x470673(0x1fd)])==null?void 0x0:_0x5a3a99['loadOfflineData'](_0x396ba5));return _0x49393b&&(_0x49393b[_0x470673(0x27f)]||_0x49393b[_0x470673(0x2c1)][_0x470673(0x4aa)]!==0x0)&&(_0x459211=_0x49393b[_0x470673(0x43c)]),_0x459211===0x0&&this[_0x470673(0x3ab)][_0x470673(0x3b6)](_0x470673(0x420),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x470673(0x33f)](_0x396ba5,_0x14855b,_0x459211);}},exports[_0x38e6f9(0x3bf)]=tn([we(0x0,a[_0x38e6f9(0x2ac)]),we(0x1,a['Inject'](p[_0x38e6f9(0x263)])),we(0x2,a[_0x38e6f9(0x4bb)](K))],exports[_0x38e6f9(0x3bf)]);var nn=Object[_0x38e6f9(0x513)],rn=(_0x490c28,_0x22e331,_0x177deb,_0x1b8dd8)=>{var _0x4a051c=_0x38e6f9;for(var _0x323067=_0x1b8dd8>0x1?void 0x0:_0x1b8dd8?nn(_0x22e331,_0x177deb):_0x22e331,_0xdd8f88=_0x490c28[_0x4a051c(0x4aa)]-0x1,_0x2f8a27;_0xdd8f88>=0x0;_0xdd8f88--)(_0x2f8a27=_0x490c28[_0xdd8f88])&&(_0x323067=_0x2f8a27(_0x323067)||_0x323067);return _0x323067;},Me=(_0x3614c6,_0x3d1bda)=>(_0x3dc4a8,_0x212041)=>_0x3d1bda(_0x3dc4a8,_0x212041,_0x3614c6);const sn=[_0x38e6f9(0x237),_0x38e6f9(0x323),_0x38e6f9(0x521),'image/gif',_0x38e6f9(0x4fb)],on=0x5*0x400*0x400,an=_0x38e6f9(0x44d),cn=_0x38e6f9(0x249);exports[_0x38e6f9(0x39a)]=class{constructor(_0x275f99,_0x151305,_0x1a8073){var _0x4b6365=_0x38e6f9;A(this,_0x4b6365(0x4f8),0x0),A(this,_0x4b6365(0x3f9),new H[(_0x4b6365(0x45c))]()),A(this,'change$',this[_0x4b6365(0x3f9)]),A(this,_0x4b6365(0x4b6),new Map()),(this[_0x4b6365(0x38d)]=_0x275f99,this[_0x4b6365(0x431)]=_0x151305,this[_0x4b6365(0x231)]=_0x1a8073);}[_0x38e6f9(0x48a)](_0x1781fd){var _0x209d2c=_0x38e6f9;this['_waitCount']=_0x1781fd,this[_0x209d2c(0x3f9)]['next'](_0x1781fd);}[_0x38e6f9(0x45b)](_0x523cad,_0x41d480){var _0x59afd2=_0x38e6f9;if(_0x41d480===z[_0x59afd2(0x4fc)][_0x59afd2(0x2f7)]){const _0x331af9=new Image();return _0x331af9[_0x59afd2(0x531)]=_0x523cad,_0x331af9;}return this[_0x59afd2(0x4b6)]['get'](_0x523cad);}['addImageSourceCache'](_0x37b70a,_0x4afd1a,_0x1bae06){var _0x57a103=_0x38e6f9;_0x4afd1a===z[_0x57a103(0x4fc)][_0x57a103(0x2f7)]||_0x1bae06==null||this['_imageSourceCache'][_0x57a103(0x2ef)](_0x37b70a,_0x1bae06);}async[_0x38e6f9(0x246)](_0x179dbf){var _0x20d4b1=_0x38e6f9;try{const _0x36d103=this['_replaceFileID'](this[_0x20d4b1(0x3c3)](),''+_0x179dbf),_0x1b3d6c=(await this[_0x20d4b1(0x38d)][_0x20d4b1(0x2b5)](_0x36d103))[_0x20d4b1(0x436)];if(_0x1b3d6c[_0x20d4b1(0x447)]&&_0x1b3d6c[_0x20d4b1(0x447)][_0x20d4b1(0x444)]===dt['OK']){const _0x1f9814=new URL(_0x1b3d6c[_0x20d4b1(0x21e)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x20d4b1(0x24a)](_0x1f9814);}return Promise[_0x20d4b1(0x4cf)](_0x1b3d6c['error']);}catch(_0x25d423){return Promise[_0x20d4b1(0x4cf)](_0x25d423);}}async[_0x38e6f9(0x3ca)](_0x55c8fb){var _0x8c8597=_0x38e6f9;let _0x3fff32='';if(!sn['includes'](_0x55c8fb[_0x8c8597(0x4c3)]))return this[_0x8c8597(0x46a)](),Promise[_0x8c8597(0x4cf)](new Error(z[_0x8c8597(0x543)]['ERROR_IMAGE_TYPE']));if(_0x55c8fb[_0x8c8597(0x30f)]>on)return this[_0x8c8597(0x46a)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x8c8597(0x21a)]));try{const _0x283a19=new FormData();_0x283a19['append']('file',_0x55c8fb);const _0x23ac0b=this[_0x8c8597(0x231)]['getFocusedUnit'](),_0x524cd8=_0x23ac0b==null?void 0x0:_0x23ac0b[_0x8c8597(0x42d)]();if(!_0x524cd8)throw new Error(_0x8c8597(0x29e));const _0xa743f6=this[_0x8c8597(0x4cd)]()+'?size='+_0x55c8fb[_0x8c8597(0x30f)][_0x8c8597(0x31d)]()+_0x8c8597(0x2ca)+vt[_0x8c8597(0x341)]+_0x8c8597(0x359)+encodeURIComponent(_0x524cd8),_0x1460b6={'body':_0x283a19},_0x349c5e=(await this[_0x8c8597(0x38d)]['post'](_0xa743f6,_0x1460b6))[_0x8c8597(0x436)];if(typeof _0x349c5e[_0x8c8597(0x47d)]!=_0x8c8597(0x2ee))return this['_decreaseWaiting'](),Promise[_0x8c8597(0x4cf)](new Error(z[_0x8c8597(0x543)]['ERROR_IMAGE']));_0x3fff32=_0x349c5e[_0x8c8597(0x47d)];}catch{return this[_0x8c8597(0x46a)](),Promise['reject'](new Error(z[_0x8c8597(0x543)][_0x8c8597(0x410)]));}return new Promise((_0x374306,_0x178416)=>{var _0x5a9250=_0x8c8597;const _0x2fecb4=new FileReader();_0x2fecb4[_0x5a9250(0x2c3)](_0x55c8fb),_0x2fecb4[_0x5a9250(0x346)]=_0x21d017=>{var _0x5995bb=_0x5a9250,_0x4fed66;const _0x5ab096=(_0x4fed66=_0x21d017[_0x5995bb(0x32f)])==null?void 0x0:_0x4fed66[_0x5995bb(0x375)];if(_0x5ab096==null){this['_decreaseWaiting'](),_0x178416(new Error(z['ImageUploadStatusType'][_0x5995bb(0x410)]));return;}const _0x2cc79a=a[_0x5995bb(0x3ed)](0x6);_0x374306({'imageId':_0x2cc79a,'imageSourceType':z[_0x5995bb(0x4fc)][_0x5995bb(0x46e)],'source':_0x3fff32,'base64Cache':_0x5ab096,'status':z[_0x5995bb(0x543)][_0x5995bb(0x1fa)]}),this[_0x5995bb(0x46a)]();};});}['_getUploadFileURL'](){var _0x31b875=_0x38e6f9,_0x27f9af;const _0x1b6172=this[_0x31b875(0x431)]['getConfig'](Y);return(_0x27f9af=_0x1b6172==null?void 0x0:_0x1b6172[_0x31b875(0x515)])!=null?_0x27f9af:an;}['_getSignURL'](){var _0x1f8e48=_0x38e6f9,_0x25159e;const _0x458bff=this[_0x1f8e48(0x431)]['getConfig'](Y);return(_0x25159e=_0x458bff==null?void 0x0:_0x458bff['signUrlServerUrl'])!=null?_0x25159e:cn;}[_0x38e6f9(0x4ff)](){var _0x3adb32=_0x38e6f9,_0x31c7ec;const _0x2ba11b=this[_0x3adb32(0x431)][_0x3adb32(0x48e)](Y);return(_0x31c7ec=_0x2ba11b==null?void 0x0:_0x2ba11b['downloadEndpointUrl'])!=null?_0x31c7ec:location['origin'];}[_0x38e6f9(0x228)](_0x1a2334,_0x38e4e8){var _0x4ef6f5=_0x38e6f9;return _0x1a2334['replace'](_0x4ef6f5(0x4a5),_0x38e4e8);}['_decreaseWaiting'](){var _0x12eeae=_0x38e6f9;this[_0x12eeae(0x4f8)]-=0x1,this[_0x12eeae(0x3f9)][_0x12eeae(0x203)](this[_0x12eeae(0x4f8)]);}},exports['CollaborationImageIoService']=rn([Me(0x0,a[_0x38e6f9(0x28d)](q[_0x38e6f9(0x534)])),Me(0x1,a[_0x38e6f9(0x338)]),Me(0x2,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x46c)]))],exports[_0x38e6f9(0x39a)]);var hn=Object[_0x38e6f9(0x513)],_n=(_0xe2580,_0x6fee6,_0x388c24,_0x4ff4dd)=>{var _0x35bfbf=_0x38e6f9;for(var _0x5158e2=_0x4ff4dd>0x1?void 0x0:_0x4ff4dd?hn(_0x6fee6,_0x388c24):_0x6fee6,_0x25087d=_0xe2580[_0x35bfbf(0x4aa)]-0x1,_0x29266d;_0x25087d>=0x0;_0x25087d--)(_0x29266d=_0xe2580[_0x25087d])&&(_0x5158e2=_0x29266d(_0x5158e2)||_0x5158e2);return _0x5158e2;},ot=(_0x4d40fc,_0x7b32e6)=>(_0x58a7be,_0x7afce4)=>_0x7b32e6(_0x58a7be,_0x7afce4,_0x4d40fc);const ln=_0x38e6f9(0x53a);exports[_0x38e6f9(0x283)]=class{constructor(_0x1ffc71,_0x312102){var _0x5f0ed4=_0x38e6f9;this[_0x5f0ed4(0x431)]=_0x1ffc71,this[_0x5f0ed4(0x3a8)]=_0x312102;}[_0x38e6f9(0x40f)](){var _0x58ff66=_0x38e6f9,_0x42fe4a;const _0x2161e6=this[_0x58ff66(0x431)][_0x58ff66(0x48e)](Y);return(_0x42fe4a=_0x2161e6==null?void 0x0:_0x2161e6[_0x58ff66(0x258)])!=null?_0x42fe4a:ln;}async[_0x38e6f9(0x1ea)](_0x25b832){var _0x157c60=_0x38e6f9;const _0x49b6b5=this[_0x157c60(0x40f)]()+_0x157c60(0x4c1);return{'list':[{'title':_0x157c60(0x45d),'mentions':(await this['_HTTPService'][_0x157c60(0x2b5)](_0x49b6b5,{'params':{'objectID':_0x25b832[_0x157c60(0x3e3)],'unitID':_0x25b832['unitId']}}))[_0x157c60(0x436)][_0x157c60(0x4d5)][_0x157c60(0x24d)](_0x86db36=>({'objectId':_0x86db36['id'],'name':_0x86db36[_0x157c60(0x4d2)]['name'],'metadata':{'icon':_0x86db36[_0x157c60(0x4d2)][_0x157c60(0x42e)]},'label':_0x86db36[_0x157c60(0x4d2)]['name'],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a['MentionType'][_0x157c60(0x250)]}]};}},exports['MentionIoHttpService']=_n([ot(0x0,a['Inject'](a['IConfigService'])),ot(0x1,a[_0x38e6f9(0x28d)](q[_0x38e6f9(0x534)]))],exports[_0x38e6f9(0x283)]);var un=Object[_0x38e6f9(0x513)],dn=(_0x386947,_0x29e134,_0x3adf7d,_0x4f7dc3)=>{var _0x542b93=_0x38e6f9;for(var _0xe8d15c=_0x4f7dc3>0x1?void 0x0:_0x4f7dc3?un(_0x29e134,_0x3adf7d):_0x29e134,_0x317e6d=_0x386947[_0x542b93(0x4aa)]-0x1,_0x65b3c8;_0x317e6d>=0x0;_0x317e6d--)(_0x65b3c8=_0x386947[_0x317e6d])&&(_0xe8d15c=_0x65b3c8(_0xe8d15c)||_0xe8d15c);return _0xe8d15c;},le=(_0x29ae7c,_0x49ecc6)=>(_0x512cec,_0x5e71d7)=>_0x49ecc6(_0x512cec,_0x5e71d7,_0x29ae7c);let De=class extends a[_0x38e6f9(0x45f)]{constructor(_0x2cc64f,_0x542984,_0x21c7b5,_0x49c8d8,_0x1d941a){var _0x554833=_0x38e6f9;super(),this['_injector']=_0x2cc64f,this['_univerInstanceService']=_0x542984,this[_0x554833(0x3eb)]=_0x21c7b5,this[_0x554833(0x33c)]=_0x49c8d8,this[_0x554833(0x310)]=_0x1d941a,this['_initUnitPermissionChange'](),this[_0x554833(0x257)]();}[_0x38e6f9(0x257)](){var _0x1e214e=_0x38e6f9;const _0xf810eb=async _0x41938e=>{var _0x50651f=_0x3427;(await this[_0x50651f(0x33c)][_0x50651f(0x2cd)](_0x41938e))[_0x50651f(0x20e)][_0x50651f(0x2c4)](V[_0x50651f(0x307)](_0x276ff3=>_0x276ff3['eventID']===p[_0x50651f(0x498)][_0x50651f(0x3c0)]),V[_0x50651f(0x4b2)](this[_0x50651f(0x208)]))[_0x50651f(0x508)](_0x315368=>{var _0x2b67d1=_0x50651f;const _0x4c1c06=_0x315368,{reason:_0x81873e}=_0x4c1c06['data'];this['_collaborationUIEventService'][_0x2b67d1(0x3f2)]({'id':Z['CLOSE_ROOM'],'data':_0x81873e}),this[_0x2b67d1(0x3eb)][_0x2b67d1(0x230)](new X[(_0x2b67d1(0x2c0))](_0x41938e)['id'],!0x1),this[_0x2b67d1(0x33c)]['closeSession'](_0x41938e);});};H[_0x1e214e(0x42c)](this[_0x1e214e(0x231)][_0x1e214e(0x301)](a['UniverInstanceType'][_0x1e214e(0x406)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1e214e(0x34a)][_0x1e214e(0x247)]))['pipe'](V[_0x1e214e(0x24d)](_0x10b40a=>_0x10b40a[_0x1e214e(0x42d)]()),V[_0x1e214e(0x307)](_0x2a0c5c=>!a['isInternalEditorID'](_0x2a0c5c)),V[_0x1e214e(0x4b2)](this[_0x1e214e(0x208)]))[_0x1e214e(0x508)](_0x506ea2=>{_0xf810eb(_0x506ea2);});}[_0x38e6f9(0x214)](){var _0x1ccb22=_0x38e6f9;const _0x4a9abb=async _0x473910=>{var _0x423fa9=_0x3427;const _0x23dec1=await this['_collaborationSessionService'][_0x423fa9(0x2cd)](_0x473910),_0xf2b2b7=this[_0x423fa9(0x434)][_0x423fa9(0x2b5)](X[_0x423fa9(0x368)]);_0x23dec1[_0x423fa9(0x20e)][_0x423fa9(0x2c4)](V[_0x423fa9(0x307)](_0x4fbc90=>_0x4fbc90['eventID']===p['CollaborationEvent'][_0x423fa9(0x44a)]),V['takeUntil'](this[_0x423fa9(0x208)]))['subscribe'](_0x18c9e4=>{var _0x1b406c=_0x423fa9;const _0x10aa47=_0x18c9e4,{objectId:_0x183cb3}=_0x10aa47[_0x1b406c(0x3b8)];_0x183cb3===_0x473910?_0xf2b2b7[_0x1b406c(0x36e)](_0x473910):_0xf2b2b7[_0x1b406c(0x4e1)](_0x473910,_0x183cb3);});};H[_0x1ccb22(0x42c)](this[_0x1ccb22(0x231)]['getTypeOfUnitAdded$'](a[_0x1ccb22(0x34a)][_0x1ccb22(0x406)]))[_0x1ccb22(0x2c4)](V[_0x1ccb22(0x24d)](_0x303ca3=>_0x303ca3['getUnitId']()),V['filter'](_0x4c000a=>!a[_0x1ccb22(0x4b9)](_0x4c000a)),V[_0x1ccb22(0x4b2)](this[_0x1ccb22(0x208)]))[_0x1ccb22(0x508)](_0x40a7a7=>{_0x4a9abb(_0x40a7a7);});}};De=dn([le(0x0,a[_0x38e6f9(0x28d)](a[_0x38e6f9(0x21d)])),le(0x1,a[_0x38e6f9(0x46c)]),le(0x2,a[_0x38e6f9(0x1e1)]),le(0x3,a[_0x38e6f9(0x28d)](exports['CollaborationSessionService'])),le(0x4,a[_0x38e6f9(0x28d)](ee))],De);var vn=Object[_0x38e6f9(0x513)],Sn=(_0xed6799,_0x6f5374,_0x45ea00,_0x619a90)=>{var _0x526e47=_0x38e6f9;for(var _0x4e2c16=_0x619a90>0x1?void 0x0:_0x619a90?vn(_0x6f5374,_0x45ea00):_0x6f5374,_0x4af118=_0xed6799[_0x526e47(0x4aa)]-0x1,_0x34d887;_0x4af118>=0x0;_0x4af118--)(_0x34d887=_0xed6799[_0x4af118])&&(_0x4e2c16=_0x34d887(_0x4e2c16)||_0x4e2c16);return _0x4e2c16;},at=(_0x11f591,_0x52856c)=>(_0x533698,_0x143265)=>_0x52856c(_0x533698,_0x143265,_0x11f591);exports[_0x38e6f9(0x370)]=class{constructor(_0x2190de,_0x31f027){var _0x4924a0=_0x38e6f9;this[_0x4924a0(0x431)]=_0x2190de,this[_0x4924a0(0x38d)]=_0x31f027;}async['getUnitOnRev'](_0x464c7d,_0x14deb5){var _0x33d950=_0x38e6f9,_0x25b095;const {unitID:_0xec59bc,type:_0x24d671,revision:_0x82b4a4=0x0}=_0x14deb5,_0x42ca84=this[_0x33d950(0x285)]()+'/'+_0x24d671+_0x33d950(0x553)+_0xec59bc+_0x33d950(0x2d0)+_0x82b4a4,_0x10e450=(await this[_0x33d950(0x38d)][_0x33d950(0x2b5)](_0x42ca84))[_0x33d950(0x436)],_0x2095d5=(_0x25b095=_0x10e450[_0x33d950(0x22c)])==null?void 0x0:_0x25b095[_0x33d950(0x1fe)];if(_0x2095d5){const _0x1a2f09=_0x2095d5==null?void 0x0:_0x2095d5[_0x33d950(0x40d)],_0xbd1779=p[_0x33d950(0x350)]['encode'](p[_0x33d950(0x4ae)](_0x1a2f09));_0x2095d5[_0x33d950(0x40d)]=_0xbd1779,Object[_0x33d950(0x42a)](_0x2095d5[_0x33d950(0x3ea)])[_0x33d950(0x2db)](([,_0x116805])=>{var _0x3a96d0=_0x33d950;const _0xe54a8a=_0x116805[_0x3a96d0(0x40d)],_0x5241c1=p['textEncoder'][_0x3a96d0(0x281)](p[_0x3a96d0(0x4ae)](_0xe54a8a));_0x116805[_0x3a96d0(0x40d)]=_0x5241c1;});}return _0x10e450;}async[_0x38e6f9(0x4a0)](_0x4c9942,_0x55db35){var _0x452d5a=_0x38e6f9;const {unitID:_0xc2db46,type:_0x22b3ec,blockID:_0x2bbc66}=_0x55db35,_0x13ff03=this[_0x452d5a(0x3b0)]()+'/'+_0x22b3ec+_0x452d5a(0x553)+_0xc2db46+'/block/'+_0x2bbc66;return(await this[_0x452d5a(0x38d)][_0x452d5a(0x2b5)](_0x13ff03))[_0x452d5a(0x436)];}async[_0x38e6f9(0x408)](_0x4b11f3,_0x27d2a4){var _0x2d5c8c=_0x38e6f9;const {unitID:_0x120ee5,type:_0x5a9d35,blockID:_0x1eb486}=_0x27d2a4,_0x2baa75=this[_0x2d5c8c(0x3b0)]()+'/block/'+_0x5a9d35+_0x2d5c8c(0x553)+_0x120ee5+_0x2d5c8c(0x377)+_0x1eb486;return(await this['_httpService'][_0x2d5c8c(0x2b5)](_0x2baa75))[_0x2d5c8c(0x436)];}async[_0x38e6f9(0x36a)](_0x5e0bec,_0x58a0d6){var _0x477a75=_0x38e6f9;const {unitID:_0x365127,type:_0x299d6c,from:_0x45da08,to:_0x5b20d0}=_0x58a0d6,_0x5d678b=this[_0x477a75(0x3b0)]()+'/'+_0x299d6c+_0x477a75(0x553)+_0x365127+_0x477a75(0x2fc)+_0x45da08+_0x477a75(0x3b4)+_0x5b20d0;return(await this[_0x477a75(0x38d)]['get'](_0x5d678b))[_0x477a75(0x436)];}[_0x38e6f9(0x285)](){var _0x22c735=_0x38e6f9,_0x3bc4bf;return(_0x3bc4bf=this[_0x22c735(0x431)][_0x22c735(0x48e)](Dt))!=null?_0x3bc4bf:this['_getAPIPrefix']();}[_0x38e6f9(0x3b0)](){var _0x330a73=_0x38e6f9,_0x258131;const _0x2e7d70=this['_configService'][_0x330a73(0x48e)](Y);return(_0x258131=_0x2e7d70==null?void 0x0:_0x2e7d70[_0x330a73(0x45a)])!=null?_0x258131:Nt;}async[_0x38e6f9(0x503)](_0x19781a,_0x22e879){var _0x42b10c=_0x38e6f9;const _0x52a278='/universer-api/snapshot/'+_0x22e879[_0x42b10c(0x4c3)]+_0x42b10c(0x553)+_0x22e879['unitID']+_0x42b10c(0x461);return(await this[_0x42b10c(0x38d)][_0x42b10c(0x2b5)](_0x52a278,{'params':{'resourceId':JSON[_0x42b10c(0x2b8)](_0x22e879[_0x42b10c(0x385)])}}))['body'];}[_0x38e6f9(0x549)](){var _0x50d94e=_0x38e6f9;throw new Error(_0x50d94e(0x443));}[_0x38e6f9(0x3bc)](){var _0x284e29=_0x38e6f9;throw new Error(_0x284e29(0x443));}[_0x38e6f9(0x278)](){var _0x438ae8=_0x38e6f9;throw new Error(_0x438ae8(0x443));}[_0x38e6f9(0x4a3)](){var _0x1bfe77=_0x38e6f9;throw new Error(_0x1bfe77(0x443));}[_0x38e6f9(0x242)](){var _0x1e966b=_0x38e6f9;throw new Error(_0x1e966b(0x443));}[_0x38e6f9(0x4d1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x38e6f9(0x370)]=Sn([at(0x0,a[_0x38e6f9(0x338)]),at(0x1,a[_0x38e6f9(0x28d)](q['HTTPService']))],exports[_0x38e6f9(0x370)]);var fn=Object[_0x38e6f9(0x513)],In=(_0x291086,_0x33b6e6,_0x3fc3f4,_0x1dc527)=>{var _0x186c83=_0x38e6f9;for(var _0x19c23e=_0x1dc527>0x1?void 0x0:_0x1dc527?fn(_0x33b6e6,_0x3fc3f4):_0x33b6e6,_0x29c189=_0x291086[_0x186c83(0x4aa)]-0x1,_0x56886a;_0x29c189>=0x0;_0x29c189--)(_0x56886a=_0x291086[_0x29c189])&&(_0x19c23e=_0x56886a(_0x19c23e)||_0x19c23e);return _0x19c23e;},ue=(_0x724519,_0x4411b7)=>(_0xfc6002,_0x14d4ba)=>_0x4411b7(_0xfc6002,_0x14d4ba,_0x724519);exports[_0x38e6f9(0x245)]=class extends a[_0x38e6f9(0x291)]{constructor(_0xabd736,_0x4da295,_0x109b3e,_0x1c3976,_0x1f2c40){var _0x2630a3=_0x38e6f9;super(_0xabd736,_0x4da295,_0x109b3e),this[_0x2630a3(0x241)]=_0x1c3976,this[_0x2630a3(0x3ab)]=_0x1f2c40;}['transformUndoRedo'](_0x24ed6f,_0x1eea1c){var _0x46994e=_0x38e6f9;const _0x4946e9=this[_0x46994e(0x2a3)](_0x24ed6f);if(_0x4946e9)try{const _0xd8891d=this[_0x46994e(0x456)](_0x4946e9,_0x1eea1c);this[_0x46994e(0x435)](_0x24ed6f,_0xd8891d);}catch(_0x1e2680){this['_logService']['error'](_0x46994e(0x4ad),_0x1e2680),this['_clearUndo'](_0x24ed6f);}const _0x23b237=this[_0x46994e(0x332)](_0x24ed6f);if(_0x23b237)try{const _0x2e1410=this[_0x46994e(0x456)](_0x23b237,_0x1eea1c);this[_0x46994e(0x49f)](_0x24ed6f,_0x2e1410);}catch(_0x354f2d){this[_0x46994e(0x3ab)][_0x46994e(0x447)](_0x354f2d),this[_0x46994e(0x1dd)](_0x24ed6f);}}['_clearUndo'](_0x51f8aa){var _0x5da41b=_0x38e6f9;const _0x33bf8e=this['_getUndoStack'](_0x51f8aa);_0x33bf8e&&(_0x33bf8e[_0x5da41b(0x4aa)]=0x0,this[_0x5da41b(0x4e9)]());}[_0x38e6f9(0x1dd)](_0x1119cd){var _0x2de7f1=_0x38e6f9;const _0x1346d=this[_0x2de7f1(0x332)](_0x1119cd);_0x1346d&&(_0x1346d[_0x2de7f1(0x4aa)]=0x0,this['_updateStatus']());}[_0x38e6f9(0x435)](_0x173bbb,_0x45af01){var _0x3cf421=_0x38e6f9;this[_0x3cf421(0x475)][_0x3cf421(0x2ef)](_0x173bbb,_0x45af01),this[_0x3cf421(0x4e9)]();}[_0x38e6f9(0x49f)](_0x218481,_0xe662a){var _0x1eba3e=_0x38e6f9;this[_0x1eba3e(0x232)][_0x1eba3e(0x2ef)](_0x218481,_0xe662a),this[_0x1eba3e(0x4e9)]();}['_transformStack'](_0x2bdb4a,_0x95b41){var _0x23cdf1=_0x38e6f9;const _0x2915ee=[];let _0x488dcc=_0x95b41,_0x311806=_0x95b41;for(let _0x7f4174=_0x2bdb4a[_0x23cdf1(0x4aa)]-0x1;_0x7f4174>=0x0;_0x7f4174--){const {unitID:_0x2a23d3,undoMutations:_0x448055,redoMutations:_0x35fa4a}=_0x2bdb4a[_0x7f4174],_0x395668=this['_transformService'][_0x23cdf1(0x22e)](_0x488dcc,_0x448055),_0x486b97=this[_0x23cdf1(0x241)][_0x23cdf1(0x22e)](_0x311806,_0x35fa4a);if(p[_0x23cdf1(0x4ef)](_0x395668)||p['isTransformMutationsWithChangesetFailure'](_0x486b97)){this[_0x23cdf1(0x3ab)]['error'](_0x23cdf1(0x4ad),_0x23cdf1(0x3cb),_0x395668,_0x486b97);break;}_0x488dcc=_0x395668['c1Prime'],_0x311806=_0x486b97[_0x23cdf1(0x4f2)],_0x2915ee[_0x23cdf1(0x2ae)]({'unitID':_0x2a23d3,'undoMutations':_0x395668[_0x23cdf1(0x520)],'redoMutations':_0x486b97[_0x23cdf1(0x520)]});}return _0x2915ee['reverse']();}},exports['CollaborativeUndoRedoService']=In([ue(0x0,a[_0x38e6f9(0x46c)]),ue(0x1,a[_0x38e6f9(0x2e6)]),ue(0x2,a[_0x38e6f9(0x2f9)]),ue(0x3,p[_0x38e6f9(0x428)]),ue(0x4,a[_0x38e6f9(0x2ac)])],exports[_0x38e6f9(0x245)]);var pn=Object[_0x38e6f9(0x254)],mn=Object[_0x38e6f9(0x513)],gn=(_0x48828a,_0x3c96be,_0x55a24f)=>_0x3c96be in _0x48828a?pn(_0x48828a,_0x3c96be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55a24f}):_0x48828a[_0x3c96be]=_0x55a24f,En=(_0x5b6fc9,_0x54a394,_0x219a92,_0x28cd7f)=>{var _0x25cce8=_0x38e6f9;for(var _0x20ae2e=_0x28cd7f>0x1?void 0x0:_0x28cd7f?mn(_0x54a394,_0x219a92):_0x54a394,_0x5023b7=_0x5b6fc9[_0x25cce8(0x4aa)]-0x1,_0x295755;_0x5023b7>=0x0;_0x5023b7--)(_0x295755=_0x5b6fc9[_0x5023b7])&&(_0x20ae2e=_0x295755(_0x20ae2e)||_0x20ae2e);return _0x20ae2e;},Le=(_0x3e9fed,_0x22a1cb)=>(_0x530bfa,_0xfcecac)=>_0x22a1cb(_0x530bfa,_0xfcecac,_0x3e9fed),Cn=(_0x5cd827,_0x2af6ad,_0x1c4c21)=>gn(_0x5cd827,_0x2af6ad+'',_0x1c4c21);const Tn=_0x38e6f9(0x272);exports[_0x38e6f9(0x514)]=class extends a['Plugin']{constructor(_0x354882,_0x268b3f,_0x335560,_0x53e285){var _0x20187c=_0x38e6f9;super(),A(this,_0x20187c(0x437)),(this[_0x20187c(0x3ab)]=_0x268b3f,this[_0x20187c(0x434)]=_0x335560,this[_0x20187c(0x431)]=_0x53e285);const {..._0x3688d2}=a[_0x20187c(0x42c)]({},Zt,_0x354882);if(!_0x3688d2['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x20187c(0x437)]=_0x3688d2,this[_0x20187c(0x431)][_0x20187c(0x327)](Y,_0x3688d2);}[_0x38e6f9(0x402)](){var _0x513963=_0x38e6f9;this[_0x513963(0x201)](),this[_0x513963(0x3ba)]();}['_registerDependencies'](){var _0x40fcf5=_0x38e6f9,_0x23911e,_0x3db31c;this[_0x40fcf5(0x434)][_0x40fcf5(0x306)](a[_0x40fcf5(0x2a7)])&&this[_0x40fcf5(0x3ab)][_0x40fcf5(0x447)]('[UniverCollaborationClientPlugin]',_0x40fcf5(0x502));const _0x35e3cf=a[_0x40fcf5(0x2ad)]([[a['IUndoRedoService'],{'useClass':exports[_0x40fcf5(0x245)]}],[exports['CollaborationSessionService']],[exports[_0x40fcf5(0x458)]],[exports[_0x40fcf5(0x2a1)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x40fcf5(0x3bf)]],[Fe,{'useClass':this[_0x40fcf5(0x437)][_0x40fcf5(0x483)]}],[p['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x40fcf5(0x507)],{'useClass':exports[_0x40fcf5(0x297)]}],[z[_0x40fcf5(0x4ce)],{'useClass':exports[_0x40fcf5(0x39a)]}],[a[_0x40fcf5(0x527)],{'useClass':exports[_0x40fcf5(0x283)]}],[exports[_0x40fcf5(0x457)]],[xe]],(_0x23911e=this['_config'])==null?void 0x0:_0x23911e[_0x40fcf5(0x545)]);if(!((_0x3db31c=this['_config'])!=null&&_0x3db31c['enableSingleActiveInstanceLock'])){const _0x256d35=_0x35e3cf['findIndex'](([_0x4e6b3c])=>_0x4e6b3c===de);_0x256d35!==-0x1&&_0x35e3cf[_0x40fcf5(0x43f)](_0x256d35,0x1);}a[_0x40fcf5(0x37f)](this[_0x40fcf5(0x434)],_0x35e3cf);}[_0x38e6f9(0x3ba)](){var _0x2b9098=_0x38e6f9,_0x256a05,_0x461b79,_0x5a21f0;this[_0x2b9098(0x434)]['get'](q['HTTPService'])[_0x2b9098(0x37d)]({'priority':0x14,'interceptor':q[_0x2b9098(0x2f1)]({'maxParallel':0x6})}),(_0x256a05=this[_0x2b9098(0x437)])!=null&&_0x256a05[_0x2b9098(0x24b)]||(_0x461b79=this[_0x2b9098(0x434)]['get'](K,a[_0x2b9098(0x221)]['OPTIONAL']))==null||_0x461b79[_0x2b9098(0x49c)](),(_0x5a21f0=this[_0x2b9098(0x437)])!=null&&_0x5a21f0[_0x2b9098(0x3be)]&&a[_0x2b9098(0x1e0)](this['_injector'],[[ye]]),a['touchDependencies'](this[_0x2b9098(0x434)],[[Ne],[exports[_0x2b9098(0x457)]],[De]]);}},Cn(exports[_0x38e6f9(0x514)],_0x38e6f9(0x3ee),Tn),exports['UniverCollaborationClientPlugin']=En([a[_0x38e6f9(0x2e9)](p[_0x38e6f9(0x35e)],q[_0x38e6f9(0x383)]),Le(0x1,a[_0x38e6f9(0x2ac)]),Le(0x2,a['Inject'](a[_0x38e6f9(0x21d)])),Le(0x3,a['IConfigService'])],exports[_0x38e6f9(0x514)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x38e6f9(0x3c7)]=je,exports[_0x38e6f9(0x362)]=Z,exports['CollaborationUIEventService']=ee,exports[_0x38e6f9(0x2e8)]=$e,exports[_0x38e6f9(0x339)]=ht,exports[_0x38e6f9(0x557)]=jt,exports['DEFAULT_WS_SESSION_TICKET_URL']=At,exports['HEARTBEAT_INTERVAL_KEY']=_t,exports[_0x38e6f9(0x4a7)]=ke,exports[_0x38e6f9(0x343)]=Fe,exports[_0x38e6f9(0x4da)]=K,exports[_0x38e6f9(0x1f6)]=pt,exports[_0x38e6f9(0x311)]=de,exports[_0x38e6f9(0x2f5)]=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=Lt,exports[_0x38e6f9(0x459)]=Ht,exports[_0x38e6f9(0x293)]=ut,exports[_0x38e6f9(0x4f7)]=re,exports[_0x38e6f9(0x393)]=He,exports[_0x38e6f9(0x43e)]=mt,exports['getLocalCacheKey']=Kt,exports[_0x38e6f9(0x44f)]=gt;