@univerjs/preset-docs-collaboration 0.12.4-experimental.20251210-29c379a → 0.12.4-experimental.20251211-e01e32a

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.
package/lib/umd/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x4f3d(_0xdc846d,_0xf65fbb){_0xdc846d=_0xdc846d-0xab;var _0x16cf0e=_0x16cf();var _0x4f3da6=_0x16cf0e[_0xdc846d];return _0x4f3da6;}(function(_0x461268,_0x37a60d){var _0x5a8553=_0x4f3d,_0xb36fe=_0x461268();while(!![]){try{var _0x4598e1=parseInt(_0x5a8553(0x3ca))/0x1*(-parseInt(_0x5a8553(0x411))/0x2)+-parseInt(_0x5a8553(0x267))/0x3*(parseInt(_0x5a8553(0xf1))/0x4)+-parseInt(_0x5a8553(0x2d4))/0x5*(-parseInt(_0x5a8553(0x238))/0x6)+parseInt(_0x5a8553(0xf2))/0x7*(-parseInt(_0x5a8553(0x28d))/0x8)+-parseInt(_0x5a8553(0x16a))/0x9*(-parseInt(_0x5a8553(0x21d))/0xa)+-parseInt(_0x5a8553(0x168))/0xb+parseInt(_0x5a8553(0x10b))/0xc;if(_0x4598e1===_0x37a60d)break;else _0xb36fe['push'](_0xb36fe['shift']());}catch(_0x1dcd32){_0xb36fe['push'](_0xb36fe['shift']());}}}(_0x16cf,0x9f005),function(_0x5f0dbe,_0x3533be){var _0x395584=_0x4f3d;typeof exports==_0x395584(0x286)&&typeof module<'u'?_0x3533be(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x395584(0x311)&&define[_0x395584(0x21a)]?define([_0x395584(0x257),'@univerjs-pro/collaboration',_0x395584(0x1e3),'@univerjs/docs',_0x395584(0xf7),_0x395584(0xd1),_0x395584(0x420),_0x395584(0x2dc),'@univerjs/network',_0x395584(0x41b),'@univerjs-pro/license'],_0x3533be):(_0x5f0dbe=typeof globalThis<'u'?globalThis:_0x5f0dbe||self,_0x3533be(_0x5f0dbe[_0x395584(0x112)]={},_0x5f0dbe[_0x395584(0x154)],_0x5f0dbe['UniverCore'],_0x5f0dbe[_0x395584(0x2b7)],_0x5f0dbe[_0x395584(0x3ba)],_0x5f0dbe['rxjs'],_0x5f0dbe['UniverTelemetry'],_0x5f0dbe[_0x395584(0xd1)][_0x395584(0x1ea)],_0x5f0dbe[_0x395584(0x3c7)],_0x5f0dbe[_0x395584(0x20f)],_0x5f0dbe[_0x395584(0x376)]));}(this,function(_0x4bf482,_0x4811d6,_0x449ba5,_0x187ef9,_0x38c84a,_0x550b9f,_0x52cd9a,_0x4a20aa,_0xcd2fb4,_0x40ace2,_0x514d4e){'use strict';var _0x12ab33=_0x4f3d;var _0x49dd47=Object[_0x12ab33(0x25d)],_0x5a8d09=(_0x575202,_0x4ebcad,_0x35b6f1)=>_0x4ebcad in _0x575202?_0x49dd47(_0x575202,_0x4ebcad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35b6f1}):_0x575202[_0x4ebcad]=_0x35b6f1,_0x389841=(_0x2abaf5,_0x435d77,_0x26ba69)=>_0x5a8d09(_0x2abaf5,typeof _0x435d77!='symbol'?_0x435d77+'':_0x435d77,_0x26ba69);const _0x20340e=_0x12ab33(0x1d6),_0x574fde=_0x12ab33(0x136),_0x19a15b=_0x12ab33(0x26d),_0x71609='/universer-api/user/session-ticket',_0x5f4e3a=_0x12ab33(0x2b0),_0x5e9f32='HEARTBEAT_TIMEOUT',_0x8019cb=_0x12ab33(0x316),_0x395175=_0x12ab33(0x336),_0x32249d=_0x12ab33(0x367),_0x4def6e=_0x12ab33(0x258),_0x4a651b=_0x12ab33(0x2e5),_0xa6350f=_0x12ab33(0x37a);var _0x4c2ac7=(_0x5c72e2=>(_0x5c72e2[_0x5c72e2[_0x12ab33(0x1df)]=0x0]='UNDEFINED',_0x5c72e2[_0x5c72e2['OK']=0x1]='OK',_0x5c72e2[_0x5c72e2[_0x12ab33(0x41d)]=0x2]=_0x12ab33(0x41d),_0x5c72e2[_0x5c72e2[_0x12ab33(0x1c9)]=0x3]=_0x12ab33(0x1c9),_0x5c72e2[_0x5c72e2['NOT_FOUND']=0x4]=_0x12ab33(0x3ed),_0x5c72e2[_0x5c72e2[_0x12ab33(0x405)]=0x5]=_0x12ab33(0x405),_0x5c72e2[_0x5c72e2[_0x12ab33(0x426)]=0x6]=_0x12ab33(0x426),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2a6)]=0x7]='INVALID_ARGUMENT',_0x5c72e2[_0x5c72e2[_0x12ab33(0x26e)]=0x8]=_0x12ab33(0x26e),_0x5c72e2[_0x5c72e2['COMPLETION_FINISHED']=0x9]=_0x12ab33(0x3b3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x309)]=0xa]=_0x12ab33(0x309),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2da)]=0xb]=_0x12ab33(0x2da),_0x5c72e2[_0x5c72e2['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x12ab33(0x2ba),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3d8)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5c72e2[_0x5c72e2[_0x12ab33(0x373)]=0xe]=_0x12ab33(0x373),_0x5c72e2[_0x5c72e2[_0x12ab33(0x247)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x5c72e2[_0x5c72e2[_0x12ab33(0x1a3)]=0x10]=_0x12ab33(0x1a3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3ff)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5c72e2[_0x5c72e2[_0x12ab33(0x428)]=0x65]=_0x12ab33(0x428),_0x5c72e2[_0x5c72e2['USER_NOT_FOUND']=0xc9]=_0x12ab33(0x355),_0x5c72e2[_0x5c72e2['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x5c72e2[_0x5c72e2[_0x12ab33(0xfd)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c72e2[_0x5c72e2[_0x12ab33(0x233)]=0x1771]=_0x12ab33(0x233),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3b1)]=0x1772]=_0x12ab33(0x3b1),_0x5c72e2[_0x5c72e2[_0x12ab33(0x235)]=0x1773]=_0x12ab33(0x235),_0x5c72e2[_0x5c72e2[_0x12ab33(0x382)]=0x1b59]='APPLY_REJECT',_0x5c72e2[_0x5c72e2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x12ab33(0x3ee),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3e4)]=0x1b5b]=_0x12ab33(0x3e4),_0x5c72e2[_0x5c72e2[_0x12ab33(0x244)]=0x1b5c]=_0x12ab33(0x244),_0x5c72e2[_0x5c72e2[_0x12ab33(0x181)]=0x1b5d]=_0x12ab33(0x181),_0x5c72e2[_0x5c72e2[_0x12ab33(0x25a)]=0x1f41]=_0x12ab33(0x25a),_0x5c72e2[_0x5c72e2[_0x12ab33(0x176)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5c72e2[_0x5c72e2[_0x12ab33(0xee)]=0x232a]=_0x12ab33(0xee),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3f3)]=0x232b]=_0x12ab33(0x3f3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x312)]=0x232c]=_0x12ab33(0x312),_0x5c72e2[_0x5c72e2[_0x12ab33(0x386)]=0x232d]=_0x12ab33(0x386),_0x5c72e2[_0x5c72e2[_0x12ab33(0x107)]=0x2711]=_0x12ab33(0x107),_0x5c72e2[_0x5c72e2[_0x12ab33(0x251)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5c72e2[_0x5c72e2[_0x12ab33(0x2cb)]=0x2713]=_0x12ab33(0x2cb),_0x5c72e2[_0x5c72e2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5c72e2[_0x5c72e2[_0x12ab33(0x40f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5c72e2[_0x5c72e2[_0x12ab33(0x2b6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5c72e2[_0x5c72e2[_0x12ab33(0xb3)]=0x271c]=_0x12ab33(0xb3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x414)]=0x271d]=_0x12ab33(0x414),_0x5c72e2[_0x5c72e2[_0x12ab33(0x13a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5c72e2[_0x5c72e2[_0x12ab33(0x1a6)]=0x271f]=_0x12ab33(0x1a6),_0x5c72e2[_0x5c72e2[_0x12ab33(0x20e)]=0x2720]=_0x12ab33(0x20e),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5c72e2[_0x5c72e2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x12ab33(0x33c),_0x5c72e2[_0x5c72e2[_0x12ab33(0x318)]=0x2ee2]=_0x12ab33(0x318),_0x5c72e2[_0x5c72e2[_0x12ab33(0x158)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5c72e2[_0x5c72e2[_0x12ab33(0x3e9)]=0x2ee4]=_0x12ab33(0x3e9),_0x5c72e2[_0x5c72e2[_0x12ab33(0x407)]=0x2ee5]=_0x12ab33(0x407),_0x5c72e2[_0x5c72e2[_0x12ab33(0x194)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5c72e2[_0x5c72e2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x12ab33(0x141),_0x5c72e2[_0x5c72e2[_0x12ab33(0x230)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5c72e2[_0x5c72e2[_0x12ab33(0x42c)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5c72e2[_0x5c72e2[_0x12ab33(0x22d)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x5c72e2[_0x5c72e2[_0x12ab33(0x173)]=0x36b3]=_0x12ab33(0x173),_0x5c72e2[_0x5c72e2[_0x12ab33(0x38f)]=0x36b4]=_0x12ab33(0x38f),_0x5c72e2[_0x5c72e2[_0x12ab33(0x195)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5c72e2[_0x5c72e2['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5c72e2[_0x5c72e2[_0x12ab33(0xde)]=0x36b7]=_0x12ab33(0xde),_0x5c72e2[_0x5c72e2['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x5c72e2[_0x5c72e2['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x12ab33(0xff),_0x5c72e2[_0x5c72e2[_0x12ab33(0x186)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5c72e2[_0x5c72e2[_0x12ab33(0x2a3)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5c72e2[_0x5c72e2[_0x12ab33(0x1f1)]=0x37dd]=_0x12ab33(0x1f1),_0x5c72e2[_0x5c72e2[_0x12ab33(0x262)]=0x3a99]=_0x12ab33(0x262),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2fc)]=0x3a9a]=_0x12ab33(0x2fc),_0x5c72e2[_0x5c72e2[_0x12ab33(0x42d)]=0x3a9b]=_0x12ab33(0x42d),_0x5c72e2[_0x5c72e2[_0x12ab33(0x208)]=0x3a9c]=_0x12ab33(0x208),_0x5c72e2[_0x5c72e2['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x12ab33(0xb5),_0x5c72e2[_0x5c72e2[_0x12ab33(0xeb)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5c72e2[_0x5c72e2['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x12ab33(0x1e6),_0x5c72e2[_0x5c72e2[_0x12ab33(0x239)]=0x3e81]=_0x12ab33(0x239),_0x5c72e2[_0x5c72e2['UNRECOGNIZED']=-0x1]=_0x12ab33(0xc5),_0x5c72e2))(_0x4c2ac7||{}),_0x5bae36=(_0x4b8c69=>(_0x4b8c69[_0x4b8c69[_0x12ab33(0x1a4)]=0x0]='UNIVER_UNKNOWN',_0x4b8c69[_0x4b8c69[_0x12ab33(0xef)]=0x1]=_0x12ab33(0xef),_0x4b8c69[_0x4b8c69[_0x12ab33(0x343)]=0x2]=_0x12ab33(0x343),_0x4b8c69[_0x4b8c69[_0x12ab33(0x360)]=0x3]=_0x12ab33(0x360),_0x4b8c69[_0x4b8c69[_0x12ab33(0xd0)]=0x4]=_0x12ab33(0xd0),_0x4b8c69[_0x4b8c69[_0x12ab33(0xc5)]=-0x1]=_0x12ab33(0xc5),_0x4b8c69))(_0x5bae36||{}),_0x366ec0=(_0x4943fd=>(_0x4943fd[_0x4943fd[_0x12ab33(0x2ee)]=0x0]='UNKNOWN_CMD',_0x4943fd[_0x4943fd[_0x12ab33(0xad)]=0x1]=_0x12ab33(0xad),_0x4943fd[_0x4943fd[_0x12ab33(0x431)]=0x2]=_0x12ab33(0x431),_0x4943fd[_0x4943fd[_0x12ab33(0x103)]=0x3]=_0x12ab33(0x103),_0x4943fd[_0x4943fd[_0x12ab33(0x25c)]=0x4]=_0x12ab33(0x25c),_0x4943fd[_0x4943fd[_0x12ab33(0x34c)]=0x5]='HEARTBEAT',_0x4943fd[_0x4943fd[_0x12ab33(0x29a)]=0x6]=_0x12ab33(0x29a),_0x4943fd[_0x4943fd[_0x12ab33(0xc5)]=-0x1]='UNRECOGNIZED',_0x4943fd))(_0x366ec0||{}),_0x369dd2=(_0x3e0870=>(_0x3e0870[_0x3e0870[_0x12ab33(0x1b5)]=0x0]=_0x12ab33(0x1b5),_0x3e0870[_0x3e0870['OK']=0x1]='OK',_0x3e0870[_0x3e0870[_0x12ab33(0x423)]=0x2]='FAIL',_0x3e0870[_0x3e0870[_0x12ab33(0x42a)]=0x3e9]='JOIN_ROOM_FULL',_0x3e0870[_0x3e0870['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3e0870[_0x3e0870[_0x12ab33(0x335)]=0x3eb]=_0x12ab33(0x335),_0x3e0870[_0x3e0870[_0x12ab33(0x38e)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3e0870[_0x3e0870['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3e0870))(_0x369dd2||{}),_0x4818ca=(_0x489c49=>(_0x489c49[_0x489c49[_0x12ab33(0x39f)]=0x0]=_0x12ab33(0x39f),_0x489c49[_0x489c49[_0x12ab33(0x339)]=0x1]=_0x12ab33(0x339),_0x489c49[_0x489c49['HttpExport']=0x2]=_0x12ab33(0x254),_0x489c49[_0x489c49[_0x12ab33(0x402)]=0x3]=_0x12ab33(0x402),_0x489c49[_0x489c49[_0x12ab33(0x174)]=0x4]=_0x12ab33(0x174),_0x489c49[_0x489c49[_0x12ab33(0x113)]=0x5]=_0x12ab33(0x113),_0x489c49[_0x489c49[_0x12ab33(0x38d)]=0x6]=_0x12ab33(0x38d),_0x489c49[_0x489c49[_0x12ab33(0xc5)]=-0x1]=_0x12ab33(0xc5),_0x489c49))(_0x4818ca||{});const _0x160b1b=_0x12ab33(0x41e);function _0x4d86b8(_0x225cf6){var _0x2fd6e8=_0x12ab33;return JSON[_0x2fd6e8(0x3b6)](_0x225cf6)[_0x2fd6e8(0xe6)];}var _0x49a56d=(_0x4f629d=>(_0x4f629d['OTHER_CLIENT_EDITING']=_0x12ab33(0x217),_0x4f629d['PERMISSION_DENIED']='PERMISSION_DENIED',_0x4f629d[_0x12ab33(0x33f)]=_0x12ab33(0x33f),_0x4f629d['CLOSE_ROOM']=_0x12ab33(0x375),_0x4f629d[_0x12ab33(0x1ce)]='JOIN_ROOM_FAILED',_0x4f629d['SOCKET_FAILED_RETRY']=_0x12ab33(0x33e),_0x4f629d[_0x12ab33(0x3a0)]=_0x12ab33(0x3a0),_0x4f629d[_0x12ab33(0x358)]=_0x12ab33(0x358),_0x4f629d))(_0x49a56d||{});class _0x382c6e{constructor(){var _0x23cdda=_0x12ab33;_0x389841(this,_0x23cdda(0xfa),new _0x550b9f[(_0x23cdda(0x10a))]()),_0x389841(this,_0x23cdda(0x403),this[_0x23cdda(0xfa)][_0x23cdda(0xda)]());}[_0x12ab33(0x3c1)](_0x2a0d4f){var _0x5308b1=_0x12ab33;this[_0x5308b1(0xfa)][_0x5308b1(0xaf)](_0x2a0d4f);}}class _0x5d6148{constructor(){var _0x488464=_0x12ab33;_0x389841(this,_0x488464(0x40c),new _0x550b9f[(_0x488464(0x10a))]()),_0x389841(this,_0x488464(0x271),this[_0x488464(0x40c)][_0x488464(0xda)]());}[_0x12ab33(0xb8)](_0x4086be){var _0x4f08ce=_0x12ab33;this[_0x4f08ce(0x40c)][_0x4f08ce(0xaf)](_0x4086be);}}var _0x96864e=Object[_0x12ab33(0x39e)],_0x51a82a=(_0xf06de1,_0x459ba5,_0x31edcc,_0x2338b1)=>{var _0x4c4db0=_0x12ab33;for(var _0x3bc423=_0x2338b1>0x1?void 0x0:_0x2338b1?_0x96864e(_0x459ba5,_0x31edcc):_0x459ba5,_0x26897c=_0xf06de1[_0x4c4db0(0xe6)]-0x1,_0x4cf256;_0x26897c>=0x0;_0x26897c--)(_0x4cf256=_0xf06de1[_0x26897c])&&(_0x3bc423=_0x4cf256(_0x3bc423)||_0x3bc423);return _0x3bc423;},_0x3d4c8e=(_0x7a2636,_0x1c5470)=>(_0x4783c1,_0x5490f1)=>_0x1c5470(_0x4783c1,_0x5490f1,_0x7a2636);_0x4bf482[_0x12ab33(0x1a0)]=class extends _0x449ba5[_0x12ab33(0x106)]{constructor(_0x419bb4,_0x2f2094){var _0x242640=_0x12ab33;super(),_0x389841(this,_0x242640(0x3fd),new Map()),_0x389841(this,_0x242640(0x21b),new _0x550b9f[(_0x242640(0x10a))]()),(this[_0x242640(0x436)]=_0x419bb4,this['_userManagerService']=_0x2f2094,this[_0x242640(0x21e)](_0x550b9f[_0x242640(0x421)](this[_0x242640(0x436)][_0x242640(0x167)](_0x449ba5[_0x242640(0x3c2)][_0x242640(0x343)])[_0x242640(0x188)](_0x4a20aa['map'](_0x3f9570=>_0x3f9570[_0x242640(0x26f)]())),this[_0x242640(0x436)][_0x242640(0x167)](_0x449ba5[_0x242640(0x3c2)]['UNIVER_DOC'])[_0x242640(0x188)](_0x4a20aa[_0x242640(0xc9)](_0x57b0f7=>_0x57b0f7[_0x242640(0x26f)]())),this[_0x242640(0x436)][_0x242640(0x167)](_0x449ba5['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](_0x4a20aa[_0x242640(0xc9)](_0x4519b4=>_0x4519b4['getUnitId']())))[_0x242640(0x368)](_0x24a14f=>this[_0x242640(0x291)](_0x24a14f))));}[_0x12ab33(0x410)](_0x4c8d56){var _0x3f8649=_0x12ab33;return this['_roomMembers'][_0x3f8649(0xd9)](_0x4c8d56)?_0x550b9f['of'](this[_0x3f8649(0x3fd)]['get'](_0x4c8d56)):this['_roomCreated$'][_0x3f8649(0x188)](_0x4a20aa[_0x3f8649(0xc9)](_0x2f3234=>{var _0xf3abb7=_0x3f8649;if(_0x2f3234===_0x4c8d56)return this['_roomMembers'][_0xf3abb7(0x1fa)](_0x2f3234);}));}[_0x12ab33(0x24f)](_0x23f2f2){var _0x5b93dc=_0x12ab33;this['_userManagerService'][_0x5b93dc(0x24f)](_0x23f2f2);}[_0x12ab33(0xe8)](){var _0x31f439=_0x12ab33;return this[_0x31f439(0x17f)][_0x31f439(0xe8)]();}['updateMember'](_0xeb3ecd,_0x2b6a64){var _0x1712ff=_0x12ab33;let _0x5cc212=this[_0x1712ff(0x3fd)]['get'](_0xeb3ecd);_0x5cc212||(_0x5cc212=new _0x216119(),this[_0x1712ff(0x3fd)][_0x1712ff(0x25b)](_0xeb3ecd,_0x5cc212),this[_0x1712ff(0x21b)][_0x1712ff(0xaf)](_0xeb3ecd)),_0x5cc212[_0x1712ff(0xe3)](_0x2b6a64);}[_0x12ab33(0x1a8)](_0x2d94b7,_0x7c0516){var _0x5b8c22=_0x12ab33;const _0x10a149=this[_0x5b8c22(0x3fd)][_0x5b8c22(0x1fa)](_0x2d94b7);_0x10a149&&_0x10a149[_0x5b8c22(0x1a8)](_0x7c0516);}[_0x12ab33(0x3e7)](_0x3093c9){var _0x25bf8a=_0x12ab33;return this['_roomMembers'][_0x25bf8a(0x1fa)](_0x3093c9);}[_0x12ab33(0x11f)](_0x3d4f1e,_0x27e2b3){var _0x3d7b87=_0x12ab33;const _0x4e7dda=this[_0x3d7b87(0x3fd)]['get'](_0x3d4f1e);if(_0x4e7dda)return _0x4e7dda[_0x3d7b87(0x11f)](_0x27e2b3);}[_0x12ab33(0x291)](_0x54d283){var _0xff7fb=_0x12ab33;const _0x3e3d95=this[_0xff7fb(0x3fd)][_0xff7fb(0x1fa)](_0x54d283);_0x3e3d95&&(_0x3e3d95[_0xff7fb(0x35e)](),this['_roomMembers']['delete'](_0x54d283));}[_0x12ab33(0x35e)](){var _0x5289c7=_0x12ab33;this['_roomMembers'][_0x5289c7(0x17b)](_0x15ce2f=>_0x15ce2f[_0x5289c7(0x35e)]()),this[_0x5289c7(0x3fd)][_0x5289c7(0x204)](),this[_0x5289c7(0x21b)][_0x5289c7(0x240)]();}},_0x4bf482[_0x12ab33(0x1a0)]=_0x51a82a([_0x3d4c8e(0x0,_0x449ba5[_0x12ab33(0x38b)]),_0x3d4c8e(0x1,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x160)]))],_0x4bf482[_0x12ab33(0x1a0)]);class _0x216119 extends _0x449ba5[_0x12ab33(0x106)]{constructor(){var _0x120852=_0x12ab33;super(...arguments),_0x389841(this,'_members',new Map()),_0x389841(this,_0x120852(0x3ef),new _0x550b9f[(_0x120852(0x1f8))](this[_0x120852(0x2d9)])),_0x389841(this,_0x120852(0x1ff),this['_members$'][_0x120852(0xda)]());}[_0x12ab33(0x35e)](){var _0x1ae306=_0x12ab33;this[_0x1ae306(0x2d9)][_0x1ae306(0x204)]();}[_0x12ab33(0xe3)](_0x2ca016){var _0x112d9a=_0x12ab33;this['_members'][_0x112d9a(0x25b)](_0x2ca016[_0x112d9a(0x110)],_0x2ca016),this[_0x112d9a(0x1e1)]();}[_0x12ab33(0x1a8)](_0x27d1fc){this['_members']['delete'](_0x27d1fc);}[_0x12ab33(0x11f)](_0x58af7f){var _0x31ddeb=_0x12ab33;return this[_0x31ddeb(0x2d9)][_0x31ddeb(0x1fa)](_0x58af7f);}[_0x12ab33(0x118)](){var _0x58dbd8=_0x12ab33;return Array[_0x58dbd8(0x1d1)](this[_0x58dbd8(0x2d9)][_0x58dbd8(0x297)]());}[_0x12ab33(0x1e1)](){var _0x3f60cc=_0x12ab33;this[_0x3f60cc(0x3ef)]['next'](this[_0x3f60cc(0x2d9)]);}}var _0x1557af=Object[_0x12ab33(0x39e)],_0xe5644b=(_0x4ef3aa,_0x351977,_0x2c02ee,_0x2e6991)=>{for(var _0x12a476=_0x2e6991>0x1?void 0x0:_0x2e6991?_0x1557af(_0x351977,_0x2c02ee):_0x351977,_0x3eb1fe=_0x4ef3aa['length']-0x1,_0x368935;_0x3eb1fe>=0x0;_0x3eb1fe--)(_0x368935=_0x4ef3aa[_0x3eb1fe])&&(_0x12a476=_0x368935(_0x12a476)||_0x12a476);return _0x12a476;},_0x134ec6=(_0x3a32e8,_0x214be4)=>(_0x379446,_0x369d32)=>_0x214be4(_0x379446,_0x369d32,_0x3a32e8),_0x439d16=(_0x45971d=>(_0x45971d[_0x45971d['IDLE']=0x0]='IDLE',_0x45971d[_0x45971d[_0x12ab33(0x2db)]=0x1]=_0x12ab33(0x2db),_0x45971d[_0x45971d[_0x12ab33(0x3d1)]=0x2]=_0x12ab33(0x3d1),_0x45971d[_0x45971d[_0x12ab33(0x20d)]=0x3]=_0x12ab33(0x20d),_0x45971d))(_0x439d16||{});const _0x1c50f1={[_0x369dd2[_0x12ab33(0x423)]]:'session.join-failed',[_0x369dd2[_0x12ab33(0x42a)]]:_0x12ab33(0x27d),[_0x369dd2['JOIN_ROOM_NOT_EXISTS']]:_0x12ab33(0x191),[_0x369dd2[_0x12ab33(0x335)]]:'session.room-permission-denied',[_0x369dd2[_0x12ab33(0x38e)]]:_0x12ab33(0x2af)};_0x4bf482[_0x12ab33(0x3b7)]=class extends _0x449ba5['RxDisposable']{constructor(_0x109eb4,_0x328a29,_0x4db857,_0x338089,_0x440b30,_0x599265,_0x22a32c,_0x4839f3){var _0x5e8b2f=_0x12ab33;super(),_0x389841(this,_0x5e8b2f(0x396),new _0x550b9f['BehaviorSubject'](0x0)),_0x389841(this,'sessionStatus$',this['_sessionStatus$']['asObservable']()),_0x389841(this,'_event$',new _0x550b9f[(_0x5e8b2f(0x10a))]()),_0x389841(this,_0x5e8b2f(0x403),this['_event$'][_0x5e8b2f(0xda)]()),_0x389841(this,_0x5e8b2f(0x220)),_0x389841(this,'_socketMessageSubscription'),_0x389841(this,'_collaborationTimeoutTimer'),_0x389841(this,'_shouldReportTelemetry',!0x1),_0x389841(this,_0x5e8b2f(0x3c3),null),(this[_0x5e8b2f(0x12a)]=_0x109eb4,this[_0x5e8b2f(0x400)]=_0x4db857,this[_0x5e8b2f(0x3af)]=_0x338089,this[_0x5e8b2f(0x30c)]=_0x440b30,this[_0x5e8b2f(0x412)]=_0x599265,this[_0x5e8b2f(0x18e)]=_0x22a32c,this['_telemetryService']=_0x4839f3,this['_shouldReportTelemetry']=!!this[_0x5e8b2f(0x2ff)],_0x328a29['pipe'](_0x550b9f[_0x5e8b2f(0x34b)](this[_0x5e8b2f(0x338)]))[_0x5e8b2f(0x368)](_0x4e7ed1=>{var _0x3b1fb8=_0x5e8b2f,_0x5b6fd0;typeof _0x4e7ed1>'u'||(this[_0x3b1fb8(0x220)]=_0x4e7ed1,_0x4e7ed1?(this[_0x3b1fb8(0x1f6)](_0x4e7ed1),this[_0x3b1fb8(0x273)]=_0x4e7ed1[_0x3b1fb8(0x38c)]['subscribe'](_0x8aeed8=>{var _0x3c1981=_0x3b1fb8;_0x8aeed8[_0x3c1981(0x17c)]===this[_0x3c1981(0x12a)]&&this[_0x3c1981(0x3fb)](_0x8aeed8);})):(this[_0x3b1fb8(0x3d4)](),this[_0x3b1fb8(0x396)][_0x3b1fb8(0xaf)](0x2),(_0x5b6fd0=this[_0x3b1fb8(0x273)])==null||_0x5b6fd0['unsubscribe'](),this[_0x3b1fb8(0x273)]=null));}));}get[_0x12ab33(0x2de)](){var _0x5c3dbb=_0x12ab33;return this['_sessionStatus$'][_0x5c3dbb(0xe1)]();}[_0x12ab33(0x26a)](){var _0x18d553=_0x12ab33,_0x45d7c7,_0x18d06e;return(_0x18d06e=(_0x45d7c7=this[_0x18d553(0x220)])==null?void 0x0:_0x45d7c7['memberID'])!=null?_0x18d06e:null;}[_0x12ab33(0x35e)](){var _0x2790fb=_0x12ab33;super['dispose'](),this['dispose$']['next'](),this['dispose$'][_0x2790fb(0x240)]();}[_0x12ab33(0x1e5)](){var _0x2e090c=_0x12ab33,_0x4509c3,_0x1bd661;this[_0x2e090c(0x3d4)](),(_0x4509c3=this[_0x2e090c(0x220)])==null||_0x4509c3[_0x2e090c(0x199)]({'cmd':_0x366ec0['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x1bd661=this['_socket'])==null||_0x1bd661[_0x2e090c(0x1e5)](),this[_0x2e090c(0xfa)]['complete'](),this['_sessionStatus$'][_0x2e090c(0x240)](),this[_0x2e090c(0x35e)]();}[_0x12ab33(0x3fb)](_0x50ca9d){var _0x40c833=_0x12ab33;_0x50ca9d['cmd']===_0x366ec0[_0x40c833(0x431)]?this[_0x40c833(0xfc)](_0x50ca9d):_0x50ca9d[_0x40c833(0x435)]===_0x366ec0['RECV']&&this[_0x40c833(0x1d7)](_0x50ca9d);}['_joinRoom'](_0x226ae6){var _0x156965=_0x12ab33;this['_sessionStatus$']['next'](0x1),_0x226ae6[_0x156965(0x199)]({'cmd':_0x366ec0[_0x156965(0x431)],'routeKey':this[_0x156965(0x12a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x156965(0x12a)]}]}});}[_0x12ab33(0xfc)](_0x233804){var _0x1b925b=_0x12ab33,_0x12fd52;if(_0x233804[_0x1b925b(0x218)]in _0x1c50f1){this['_collaborationUIEventService'][_0x1b925b(0x3c1)]({'id':_0x49a56d[_0x1b925b(0x1ce)],'data':_0x1c50f1[_0x233804[_0x1b925b(0x218)]]}),this[_0x1b925b(0x396)][_0x1b925b(0xaf)](0x2);return;}this['_sessionStatus$'][_0x1b925b(0xaf)](0x3);const _0x194824=(_0x12fd52=_0x233804[_0x1b925b(0x166)][_0x1b925b(0xdf)][this['_unitID']])==null?void 0x0:_0x12fd52['members'];_0x194824&&_0x194824[_0x1b925b(0x17b)](_0x47be9e=>this[_0x1b925b(0x30c)][_0x1b925b(0xe3)](this[_0x1b925b(0x12a)],_0x47be9e));}[_0x12ab33(0x1d7)](_0xa3bf89){var _0x5c6d9c=_0x12ab33;try{const _0x318e01=_0xa3bf89['data'];switch(_0x318e01[_0x5c6d9c(0x28c)]){case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x13d)]:this[_0x5c6d9c(0x27f)](_0x318e01),this[_0x5c6d9c(0xfa)]['next'](_0x318e01);break;case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x42f)]:this[_0x5c6d9c(0x2fd)](_0x318e01),this[_0x5c6d9c(0xfa)][_0x5c6d9c(0xaf)](_0x318e01);break;case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x2f4)]:case _0x4811d6['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5c6d9c(0x441)](),this['_event$'][_0x5c6d9c(0xaf)](_0x318e01);break;case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x3f2)]:this[_0x5c6d9c(0x400)][_0x5c6d9c(0x2f2)](_0x5c6d9c(0x131)+JSON[_0x5c6d9c(0x3b6)](_0x318e01)),this['_event$'][_0x5c6d9c(0xaf)](_0x318e01);break;case _0x4811d6['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x5c6d9c(0xb8)](_0x318e01[_0x5c6d9c(0x166)]),this['_event$']['next'](_0x318e01);break;default:this[_0x5c6d9c(0xfa)]['next'](_0x318e01);}}catch(_0x2b6415){this[_0x5c6d9c(0x400)][_0x5c6d9c(0x2f2)](_0x2b6415,_0xa3bf89);}}[_0x12ab33(0x27f)](_0xd59ee5){var _0x160faa=_0x12ab33;this['_memberService']['updateMember'](this[_0x160faa(0x12a)],_0xd59ee5['data']);}['_onUserLeave'](_0x14ff29){var _0x5b859f=_0x12ab33;this[_0x5b859f(0x30c)]['removeMember'](this[_0x5b859f(0x12a)],_0x14ff29[_0x5b859f(0x166)][_0x5b859f(0x110)]);}async[_0x12ab33(0x199)](_0x396469,_0x29cc36){var _0x51e13c=_0x12ab33;if(this[_0x51e13c(0x2de)]!==0x3||!this[_0x51e13c(0x220)])throw new Error(_0x51e13c(0x260));try{_0x396469[_0x51e13c(0x28c)]===_0x4811d6['CollaborationEvent'][_0x51e13c(0x308)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x51e13c(0xb6)](_0x396469)),this[_0x51e13c(0x220)][_0x51e13c(0x199)]({'cmd':_0x366ec0['INGEST'],'routeKey':_0x29cc36,'routeType':'','data':_0x396469});}catch(_0x530b8d){this[_0x51e13c(0x400)][_0x51e13c(0x2f2)](_0x530b8d);}}[_0x12ab33(0x127)](){var _0x3fc8bb=_0x12ab33,_0x51ba7f;this[_0x3fc8bb(0x3ad)]=setTimeout(()=>{var _0x5ee918=_0x3fc8bb;this[_0x5ee918(0x3ad)]=null,this['_collaborationUIEventService'][_0x5ee918(0x3c1)]({'id':_0x49a56d[_0x5ee918(0x358)]});},(_0x51ba7f=this['_configService'][_0x3fc8bb(0x18d)](_0x5e9f32))!=null?_0x51ba7f:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x490a8f=_0x12ab33;this[_0x490a8f(0x3ad)]&&(clearTimeout(this[_0x490a8f(0x3ad)]),this[_0x490a8f(0x3ad)]=null);}[_0x12ab33(0xb6)](_0x1747e9){var _0x300fc5=_0x12ab33;if(!this[_0x300fc5(0x133)])return;const {data:_0x14fec4}=_0x1747e9,{unitID:_0x18361b,changeset:_0x4dd123}=_0x14fec4,{mutations:_0x24022f,type:_0xf1d9a0}=_0x4dd123;this[_0x300fc5(0x3c3)]={'unitId':_0x18361b,'type':_0xf1d9a0,'startTime':performance[_0x300fc5(0x265)](),'stopTime':0x0,'duration':0x0,'size':_0x4d86b8(_0x24022f)};}[_0x12ab33(0x31d)](){var _0x454b6e=_0x12ab33;if(this[_0x454b6e(0x133)]){if(!this[_0x454b6e(0x3c3)]){this[_0x454b6e(0x400)][_0x454b6e(0x2f2)](_0x454b6e(0x15e),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x454b6e(0x3c3)][_0x454b6e(0x12f)]=performance[_0x454b6e(0x265)](),this[_0x454b6e(0x3c3)][_0x454b6e(0x139)]=this[_0x454b6e(0x3c3)]['stopTime']-this[_0x454b6e(0x3c3)][_0x454b6e(0xac)],this['_telemetryService']['capture'](_0x160b1b,this[_0x454b6e(0x3c3)]),this[_0x454b6e(0x3c3)]=null;}}[_0x12ab33(0x3d4)](){var _0x555c38=_0x12ab33;this[_0x555c38(0x3c3)]=null;}},_0x4bf482[_0x12ab33(0x3b7)]=_0xe5644b([_0x134ec6(0x2,_0x449ba5[_0x12ab33(0x37b)]),_0x134ec6(0x3,_0x449ba5[_0x12ab33(0x388)]),_0x134ec6(0x4,_0x449ba5['Inject'](_0x4bf482[_0x12ab33(0x1a0)])),_0x134ec6(0x5,_0x449ba5[_0x12ab33(0x116)](_0x5d6148)),_0x134ec6(0x6,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0x134ec6(0x7,_0x449ba5['Optional'](_0x52cd9a[_0x12ab33(0x21c)]))],_0x4bf482[_0x12ab33(0x3b7)]);const _0x6af55a=_0x449ba5[_0x12ab33(0x37d)](_0x12ab33(0x427));function _0x5bc769(_0x527575){var _0x265ea5=_0x12ab33;return _0x265ea5(0x31e)+_0x527575;}var _0x2fdd05=Object['getOwnPropertyDescriptor'],_0x2b99d3=(_0x2686d2,_0x338a41,_0x357ca,_0x3fcfcc)=>{var _0x5f3a0d=_0x12ab33;for(var _0x470b40=_0x3fcfcc>0x1?void 0x0:_0x3fcfcc?_0x2fdd05(_0x338a41,_0x357ca):_0x338a41,_0x27c96e=_0x2686d2[_0x5f3a0d(0xe6)]-0x1,_0x2efe82;_0x27c96e>=0x0;_0x27c96e--)(_0x2efe82=_0x2686d2[_0x27c96e])&&(_0x470b40=_0x2efe82(_0x470b40)||_0x470b40);return _0x470b40;},_0x151df3=(_0x2316ad,_0x4c6697)=>(_0xa2d88c,_0x25d664)=>_0x4c6697(_0xa2d88c,_0x25d664,_0x2316ad);function _0x4a1418(_0x401cde){var _0x1d8161=_0x12ab33;const {unitID:_0x1b7759,mutations:_0xa16e30}=_0x401cde;return{'unitId':_0x1b7759,'subUnitId':_0xa16e30[_0x1d8161(0xe6)]>0x0?_0xa16e30[0x0][_0x1d8161(0x27c)][_0x1d8161(0xab)]:null};}_0x4bf482[_0x12ab33(0x280)]=class{constructor(_0x39d9ad,_0x29f8d9,_0x2a7376){this['_injector']=_0x39d9ad,this['_transformService']=_0x29f8d9,this['_instanceService']=_0x2a7376;}[_0x12ab33(0x2f7)](_0x27eee2){var _0x5bf04d=_0x12ab33,_0x9c10fd,_0x3d2f14,_0x4c54dc,_0x24fa3c;const _0x210098=this[_0x5bf04d(0x401)][_0x5bf04d(0x1fa)](_0x38c84a[_0x5bf04d(0x3b4)]),{unitId:_0x5068b3,subUnitId:_0x558ef0}=_0x4a1418(_0x27eee2),_0x53bba8=_0x210098==null?void 0x0:_0x210098[_0x5bf04d(0x11c)](_0x5068b3)[_0x5bf04d(0x321)](),_0x390006=(_0x3d2f14=(_0x9c10fd=this['_instanceService'][_0x5bf04d(0xf6)](_0x5068b3))==null?void 0x0:_0x9c10fd[_0x5bf04d(0x1a2)]())==null?void 0x0:_0x3d2f14[_0x5bf04d(0x212)]();if(_0x53bba8[_0x5bf04d(0xe6)]===0x0||!_0x5068b3||!_0x558ef0)return;const _0x47147e=[{'id':_0x38c84a[_0x5bf04d(0x1b4)]['id'],'params':{'unitId':_0x5068b3,'subUnitId':_0x390006,'selections':_0x449ba5[_0x5bf04d(0x1c0)][_0x5bf04d(0x380)](_0x53bba8)}}],_0x34efcf=this[_0x5bf04d(0x180)][_0x5bf04d(0x1b1)](_0x27eee2,_0x47147e);if(!_0x4811d6[_0x5bf04d(0x330)](_0x34efcf))throw _0x34efcf['error'];const _0x38c8ff=(_0x24fa3c=(_0x4c54dc=_0x34efcf[_0x5bf04d(0x304)][0x0])==null?void 0x0:_0x4c54dc[_0x5bf04d(0x27c)])==null?void 0x0:_0x24fa3c[_0x5bf04d(0x35d)];if(Array[_0x5bf04d(0x328)](_0x38c8ff)&&_0x38c8ff[_0x5bf04d(0xe6)]){if(_0x38c8ff[_0x5bf04d(0xe6)]===_0x47147e[0x0][_0x5bf04d(0x27c)][_0x5bf04d(0x35d)][_0x5bf04d(0xe6)]&&_0x38c8ff[_0x5bf04d(0x2ef)]((_0x48a7b6,_0x48efda)=>_0x449ba5[_0x5bf04d(0x1cb)]['equals'](_0x48a7b6[_0x5bf04d(0x2c9)],_0x47147e[0x0]['params'][_0x5bf04d(0x35d)][_0x48efda][_0x5bf04d(0x2c9)])))return;this[_0x5bf04d(0x401)][_0x5bf04d(0x1fa)](_0x449ba5[_0x5bf04d(0x20a)])[_0x5bf04d(0x29d)](_0x38c84a['SetSelectionsOperation']['id'],{'unitId':_0x5068b3,'subUnitId':_0x390006,'selections':_0x38c8ff});}}},_0x4bf482[_0x12ab33(0x280)]=_0x2b99d3([_0x151df3(0x0,_0x449ba5[_0x12ab33(0x116)](_0x449ba5['Injector'])),_0x151df3(0x1,_0x4811d6[_0x12ab33(0x3d0)]),_0x151df3(0x2,_0x449ba5['IUniverInstanceService'])],_0x4bf482[_0x12ab33(0x280)]);const _0x6f1b14=_0x449ba5['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x5f5425=(_0x3bbbeb=>(_0x3bbbeb[_0x3bbbeb[_0x12ab33(0x2e4)]=0x0]=_0x12ab33(0x2e4),_0x3bbbeb[_0x3bbbeb['OTHER_CLIENTS_EDITING']=0x1]=_0x12ab33(0x1d4),_0x3bbbeb))(_0x5f5425||{});const _0x433534=_0x12ab33(0x197),_0x17c09c={};function _0x9855a5(_0x4abcf9){var _0x3d4a4c=_0x12ab33,_0x5d1598;return!!((_0x5d1598=_0x4abcf9['params'])!=null&&_0x5d1598[_0x3d4a4c(0x2e7)]);}const _0x320516=new Set([_0x38c84a[_0x12ab33(0x37f)]['id']]);function _0x1b0e19(_0x4d41a9,_0x77ace,_0x19f36a,_0x12e4c9,_0x26f0ba){var _0x2b520f=_0x12ab33,_0x778e06,_0x36e6ee,_0x414f32,_0x5b5200;const _0x214209=[];for(const _0x197b2c of _0x4d41a9){if(_0x320516[_0x2b520f(0xd9)](_0x197b2c['id'])){if(_0x214209[_0x2b520f(0xe6)]>0x0)break;_0x214209['push'](_0x197b2c);break;}if(_0x9855a5(_0x197b2c)){if(_0x214209['length']>0x0)break;_0x214209[_0x2b520f(0x125)](_0x197b2c);break;}_0x214209[_0x2b520f(0x125)](_0x197b2c);}const _0x4a4b5a=(_0x36e6ee=(_0x778e06=_0x26f0ba[_0x2b520f(0xe8)]())==null?void 0x0:_0x778e06[_0x2b520f(0x30d)])!=null?_0x36e6ee:_0x2b520f(0x2c8),_0x435e99=(_0x5b5200=(_0x414f32=_0x26f0ba[_0x2b520f(0xe8)]())==null?void 0x0:_0x414f32[_0x2b520f(0x110)])!=null?_0x5b5200:'unknown';return{'changeset':{'unitID':_0x77ace,'type':_0x4811d6[_0x2b520f(0x27b)](_0x19f36a[_0x2b520f(0x2fe)](_0x77ace)),'baseRev':_0x12e4c9[_0x2b520f(0x3c6)](_0x77ace),'revision':0x0,'userID':_0x4a4b5a,'memberID':_0x435e99,'mutations':_0x214209},'pendingMutations':_0x4d41a9[_0x2b520f(0x23e)](_0x214209['length'])};}function _0x3238ce(_0x4d8228,_0x592bed,_0x1a07ad,_0x58ecb8,_0x23fc8c){var _0x3b23ed=_0x12ab33,_0x3c0972,_0x3e6c43,_0x4da3dd,_0x575e47;const _0x256168=[_0x4d8228[_0x3b23ed(0x3f7)]((_0x42b53e,_0x1903d2)=>{var _0x2b4863=_0x3b23ed,_0x1a62f3;const {id:_0xb00958}=_0x42b53e,{id:_0x1fee13,type:_0x3dd42a}=_0x1903d2,_0x2dca53=(_0x1a62f3=_0x42b53e[_0x2b4863(0x27c)])!=null?_0x1a62f3:{'actions':null},_0x178503=_0x1903d2[_0x2b4863(0x27c)];if(_0xb00958&&_0xb00958!==_0x1fee13)throw new Error(_0x2b4863(0x374)+_0xb00958+'\x20-\x20'+_0x1fee13+'.');return{..._0x42b53e,'id':_0x1fee13,'type':_0x3dd42a,'params':{'unitId':_0x178503[_0x2b4863(0x109)],'textRanges':_0x178503[_0x2b4863(0x306)],'actions':_0x449ba5[_0x2b4863(0xb1)][_0x2b4863(0x22e)](_0x2dca53[_0x2b4863(0x1fe)],_0x178503[_0x2b4863(0x1fe)])}};},{})],_0x2afe69=(_0x3e6c43=(_0x3c0972=_0x23fc8c['getCurrentUser']())==null?void 0x0:_0x3c0972[_0x3b23ed(0x30d)])!=null?_0x3e6c43:_0x3b23ed(0x2c8),_0x603d65=(_0x575e47=(_0x4da3dd=_0x23fc8c['getCurrentUser']())==null?void 0x0:_0x4da3dd[_0x3b23ed(0x110)])!=null?_0x575e47:'unknown';return{'changeset':{'unitID':_0x592bed,'type':_0x4811d6[_0x3b23ed(0x27b)](_0x1a07ad[_0x3b23ed(0x2fe)](_0x592bed)),'baseRev':_0x58ecb8[_0x3b23ed(0x3c6)](_0x592bed),'revision':0x0,'userID':_0x2afe69,'memberID':_0x603d65,'mutations':_0x256168},'pendingMutations':[]};}function _0x25c9b1(_0x4519ea,_0x1d1e09){var _0x16aa4a=_0x12ab33;const _0x2bbc37=new _0x550b9f[(_0x16aa4a(0x3a3))](0x1);return setTimeout(()=>_0x2bbc37[_0x16aa4a(0xaf)](_0x1d1e09),_0x4519ea),_0x2bbc37[_0x16aa4a(0xda)]()[_0x16aa4a(0x188)](_0x550b9f['take'](0x1));}var _0xc27c5=Object[_0x12ab33(0x39e)],_0x59db31=(_0x3d2d21,_0xdda4bb,_0x19b5c9,_0x59633c)=>{var _0x54ac8e=_0x12ab33;for(var _0x1613e0=_0x59633c>0x1?void 0x0:_0x59633c?_0xc27c5(_0xdda4bb,_0x19b5c9):_0xdda4bb,_0x52b6ea=_0x3d2d21[_0x54ac8e(0xe6)]-0x1,_0x26c13d;_0x52b6ea>=0x0;_0x52b6ea--)(_0x26c13d=_0x3d2d21[_0x52b6ea])&&(_0x1613e0=_0x26c13d(_0x1613e0)||_0x1613e0);return _0x1613e0;},_0x3760d5=(_0x5d811e,_0x1966be)=>(_0x12cf39,_0x5e95f4)=>_0x1966be(_0x12cf39,_0x5e95f4,_0x5d811e),_0x1bd308=(_0x3ccfbb=>(_0x3ccfbb[_0x12ab33(0xb7)]=_0x12ab33(0x3da),_0x3ccfbb[_0x12ab33(0x15f)]=_0x12ab33(0x3d5),_0x3ccfbb[_0x12ab33(0x2f9)]=_0x12ab33(0xe9),_0x3ccfbb[_0x12ab33(0xc1)]='awaiting',_0x3ccfbb['AWAITING_WITH_PENDING']=_0x12ab33(0x1b3),_0x3ccfbb['FETCH_MISS']=_0x12ab33(0x196),_0x3ccfbb[_0x12ab33(0x33f)]=_0x12ab33(0x2c0),_0x3ccfbb['OFFLINE']=_0x12ab33(0x269),_0x3ccfbb))(_0x1bd308||{});const _0x39d44f=0x4e20,_0x235019=0x2bf20;class _0x415b3a{constructor(_0x2bddad,_0x590829,_0x17a022,_0x522427,_0x3b0c2b,_0x722756,_0x2c6473,_0x23b942,_0x4bcad0){var _0x5cc041=_0x12ab33;_0x389841(this,_0x5cc041(0x3e8),null),_0x389841(this,_0x5cc041(0x215),[]),(this[_0x5cc041(0x183)]=_0x2bddad,this[_0x5cc041(0x424)]=_0x590829,this[_0x5cc041(0x241)]=_0x3b0c2b,this['_commandService']=_0x722756,this[_0x5cc041(0x203)]=_0x2c6473,this[_0x5cc041(0xf0)]=_0x23b942,this[_0x5cc041(0x3d2)]=_0x4bcad0,this[_0x5cc041(0x3e8)]=_0x17a022,this[_0x5cc041(0x215)]=_0x522427);}[_0x12ab33(0x3e5)](_0x14ff93){var _0x43325a=_0x12ab33;const _0x351cb4=this['_revisionService']['getCurrentRevOfUnit'](this[_0x43325a(0x183)]);return _0x14ff93['revision']>_0x351cb4+0x1?(this[_0x43325a(0x241)][_0x43325a(0x40a)]({'from':_0x351cb4,'to':_0x14ff93[_0x43325a(0x352)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xc3d303){var _0x8131bf=_0x12ab33;this[_0x8131bf(0x203)][_0x8131bf(0x138)](this[_0x8131bf(0x183)],_0xc3d303);}[_0x12ab33(0x1e8)](_0x333553){var _0xcc696a=_0x12ab33,_0x14ac2f,_0xea580a;(_0xea580a=(_0x14ac2f=this[_0xcc696a(0x241)])['onTransformSelections'])==null||_0xea580a[_0xcc696a(0x1a5)](_0x14ac2f,_0x333553);}['_transformIMECache'](_0x44ce9e){var _0x5d9d96=_0x12ab33,_0x409e0d,_0x1f0365;return(_0x1f0365=(_0x409e0d=this[_0x5d9d96(0x241)])[_0x5d9d96(0x307)])==null?void 0x0:_0x1f0365[_0x5d9d96(0x1a5)](_0x409e0d,_0x44ce9e);}[_0x12ab33(0x3c4)](_0xfc9ccc){var _0x138e9c=_0x12ab33,_0x3c506e,_0x585d2d;return(_0x585d2d=(_0x3c506e=this[_0x138e9c(0x241)])[_0x138e9c(0x353)])==null?void 0x0:_0x585d2d[_0x138e9c(0x1a5)](_0x3c506e,_0xfc9ccc);}['_transformRemoteChangesetByIMECache'](_0x493734){var _0x31537a=_0x12ab33,_0x581b74,_0x5b7605,_0x1f3d98;return(_0x1f3d98=(_0x5b7605=(_0x581b74=this[_0x31537a(0x241)])[_0x31537a(0xf4)])==null?void 0x0:_0x5b7605[_0x31537a(0x1a5)](_0x581b74,_0x493734))!=null?_0x1f3d98:_0x493734;}['_transformRemoteChangesetByStateCache'](_0x59ca90){var _0x1b22ea=_0x12ab33,_0x2b02b4,_0x2d649c,_0x5ae979;return(_0x5ae979=(_0x2d649c=(_0x2b02b4=this[_0x1b22ea(0x241)])[_0x1b22ea(0x18f)])==null?void 0x0:_0x2d649c[_0x1b22ea(0x1a5)](_0x2b02b4,_0x59ca90))!=null?_0x5ae979:_0x59ca90;}[_0x12ab33(0xd2)](_0x2a2eee){var _0x5b16d3=_0x12ab33,_0x37426b,_0x25e4de;if(this[_0x5b16d3(0x424)]===_0x5bae36[_0x5b16d3(0xef)]){const {unitID:_0x350b57,mutations:_0x1c536b,memberID:_0x5009e5}=_0x2a2eee,_0x2cc07b=_0x1c536b[_0x5b16d3(0xe6)]>0x0?_0x1c536b[0x0][_0x5b16d3(0x27c)][_0x5b16d3(0x306)]:[];Array['isArray'](_0x2cc07b)&&_0x2cc07b['length']>0x0&&((_0x25e4de=(_0x37426b=this['_handler'])[_0x5b16d3(0x11e)])==null||_0x25e4de[_0x5b16d3(0x1a5)](_0x37426b,{'unitID':_0x350b57,'memberID':_0x5009e5,'textRanges':_0x2cc07b}));}}[_0x12ab33(0xdc)](){var _0x36bf1e=_0x12ab33,_0x4add22;(_0x4add22=this['_localCacheService'])==null||_0x4add22['updateOfflineData'](this[_0x36bf1e(0x183)],this[_0x36bf1e(0x424)],this[_0x36bf1e(0x3e8)],this[_0x36bf1e(0x215)]);}[_0x12ab33(0x408)](){var _0x1fff34=_0x12ab33;return this[_0x1fff34(0xf0)]['getCurrentRevOfUnit'](this[_0x1fff34(0x183)]);}[_0x12ab33(0x101)](){var _0x587f90=_0x12ab33;this[_0x587f90(0xf0)]['incrementRevOfUnit'](this[_0x587f90(0x183)]);}[_0x12ab33(0xb2)](_0x4a6f39){var _0x38b607=_0x12ab33,_0x78101c;let _0x25bd83=this[_0x38b607(0x348)](_0x4a6f39);_0x25bd83=this['_transformRemoteChangesetByStateCache'](_0x25bd83);const _0x32102e=_0x449ba5['sequenceExecute'](_0x25bd83['mutations'],this[_0x38b607(0x1e2)],{'fromCollab':!0x0});if(!_0x32102e[_0x38b607(0x415)])throw _0x32102e[_0x38b607(0x2f2)]instanceof Error?_0x32102e['error']:new Error((_0x78101c=_0x32102e[_0x38b607(0x2f2)])!=null?_0x78101c:_0x38b607(0x2fb));this[_0x38b607(0x10d)](_0x25bd83),this['_transformStateCache'](_0x25bd83),this[_0x38b607(0x2ae)](_0x4a6f39),this['_transformSelections'](_0x25bd83),this[_0x38b607(0xd2)](_0x25bd83),this['_incrementRevisionNumber']();}}_0x4bf482[_0x12ab33(0x390)]=class extends _0x415b3a{constructor(_0x36783f,_0x1acea4,_0x4d83b5,_0x1114b4,_0x5209db,_0x4e617e,_0x8034b2,_0xc0b019,_0x2de116,_0x42f33b){var _0x183f4c=_0x12ab33;super(_0x36783f,_0x1acea4,null,[],_0x4d83b5,_0x8034b2,_0x4e617e,_0x1114b4,_0x42f33b),_0x389841(this,_0x183f4c(0x242),'synced'),(this[_0x183f4c(0x401)]=_0x5209db,this['_logService']=_0xc0b019,this[_0x183f4c(0x180)]=_0x2de116,this[_0x183f4c(0x346)]=_0x42f33b);}[_0x12ab33(0x1fd)](_0x580d29){var _0x2e436e=_0x12ab33;const _0x139baa=this[_0x2e436e(0x401)]['createInstance'](_0x4bf482[_0x2e436e(0x397)],this[_0x2e436e(0x183)],this['type'],[_0x580d29],this['_handler']);return _0x139baa[_0x2e436e(0x18b)](),_0x139baa[_0x2e436e(0xdc)](),_0x139baa;}[_0x12ab33(0x179)](_0x52c2fc){var _0x5e3622=_0x12ab33;if(this['_checkMissing'](_0x52c2fc))return this[_0x5e3622(0x401)][_0x5e3622(0x34e)](_0x4bf482['FetchingMissState'],this[_0x5e3622(0x183)],this[_0x5e3622(0x424)],null,[],null,[_0x52c2fc],this['_handler']);try{const _0x1c7057=this[_0x5e3622(0x180)][_0x5e3622(0x1b1)](_0x52c2fc,[_0x4811d6[_0x5e3622(0x1f3)]]);if(_0x4811d6['isTransformMutationsWithChangesetSuccess'](_0x1c7057)){const {c1Prime:_0x5a3310}=_0x1c7057;return this[_0x5e3622(0xb2)](_0x5a3310),this;}throw _0x1c7057[_0x5e3622(0x2f2)];}catch(_0x180383){return this[_0x5e3622(0x400)][_0x5e3622(0x2f2)](_0x180383),this[_0x5e3622(0x219)](!0x1);}}[_0x12ab33(0x219)](_0x11789d){var _0x2fd609=_0x12ab33;return this[_0x2fd609(0x401)][_0x2fd609(0x34e)](_0x4bf482[_0x2fd609(0x200)],this[_0x2fd609(0x183)],this[_0x2fd609(0x424)],null,[],this[_0x2fd609(0x241)],_0x11789d);}[_0x12ab33(0x274)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x12ab33(0x120)](){var _0xe38687=_0x12ab33;throw new Error(_0xe38687(0x326));}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){var _0x5c5a3a=_0x12ab33;return this[_0x5c5a3a(0x401)][_0x5c5a3a(0x34e)](_0x4bf482[_0x5c5a3a(0x2d6)],this[_0x5c5a3a(0x183)],this[_0x5c5a3a(0x424)],null,[],this[_0x5c5a3a(0x241)]);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0xcb)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x186eb5=_0x12ab33;const _0x4f0901=this[_0x186eb5(0xf0)][_0x186eb5(0x3c6)](this[_0x186eb5(0x183)]);return this[_0x186eb5(0x241)][_0x186eb5(0x40a)]({'from':_0x4f0901,'to':0x0}),this[_0x186eb5(0x401)][_0x186eb5(0x34e)](_0x4bf482[_0x186eb5(0x433)],this[_0x186eb5(0x183)],this[_0x186eb5(0x424)],null,[],null,[],this[_0x186eb5(0x241)]);}},_0x4bf482[_0x12ab33(0x390)]=_0x59db31([_0x3760d5(0x3,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x4,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x5,_0x449ba5['IUndoRedoService']),_0x3760d5(0x6,_0x449ba5['ICommandService']),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0x8,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0x9,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482[_0x12ab33(0x390)]),_0x4bf482[_0x12ab33(0x397)]=class extends _0x415b3a{constructor(_0x57a3ac,_0x3057b3,_0x1fc248,_0xb4aadf,_0x38a55a,_0x24b332,_0x2015f4,_0x1f8aed,_0x19aa81,_0x6837b4,_0x21321e,_0x4b2573,_0x25c9d4,_0x7e5ea4){var _0xde64f2=_0x12ab33;super(_0x57a3ac,_0x3057b3,null,_0x1fc248,_0xb4aadf,_0x19aa81,_0x25c9d4,_0x24b332,_0x7e5ea4),_0x389841(this,_0xde64f2(0x242),_0xde64f2(0xe9)),_0x389841(this,_0xde64f2(0xc6),null),_0x389841(this,_0xde64f2(0x3a8),null),(this[_0xde64f2(0x401)]=_0x38a55a,this['_memberService']=_0x2015f4,this['_logService']=_0x1f8aed,this[_0xde64f2(0x3af)]=_0x6837b4,this[_0xde64f2(0x180)]=_0x21321e,this[_0xde64f2(0x436)]=_0x4b2573);}['appendMutation'](_0x1c9ade){var _0xb018c8=_0x12ab33;return this[_0xb018c8(0x215)][_0xb018c8(0x125)](_0x1c9ade),this[_0xb018c8(0xdc)](),this;}[_0x12ab33(0x179)](_0x17c55f){var _0xf4f815=_0x12ab33;if(this[_0xf4f815(0x3e5)](_0x17c55f))return this[_0xf4f815(0x363)](),this[_0xf4f815(0x401)][_0xf4f815(0x34e)](_0x4bf482['FetchingMissState'],this[_0xf4f815(0x183)],this[_0xf4f815(0x424)],null,this[_0xf4f815(0x215)],null,[_0x17c55f],this['_handler']);try{const _0x7a19b2=this[_0xf4f815(0x180)]['transformMutationsWithChangeset'](_0x17c55f,this[_0xf4f815(0x215)]);if(_0x4811d6[_0xf4f815(0x330)](_0x7a19b2)){const {c1Prime:_0x336f2b,m2Prime:_0xa213ef}=_0x7a19b2;this['_executeRemoteChangeset'](_0x336f2b);const _0x1003a3=this[_0xf4f815(0x401)]['createInstance'](_0x4bf482[_0xf4f815(0x397)],this[_0xf4f815(0x183)],this['type'],_0xa213ef,this['_handler']);this[_0xf4f815(0x363)]();const _0x4aa318=new Date()[_0xf4f815(0x1a1)](),_0x253d7d=this[_0xf4f815(0xc6)]?Math['max'](this[_0xf4f815(0xc6)]-_0x4aa318,0x0):this[_0xf4f815(0x171)]();return _0x1003a3[_0xf4f815(0x18b)](_0x253d7d),_0x1003a3;}throw _0x7a19b2[_0xf4f815(0x2f2)];}catch(_0x53b9ec){return this[_0xf4f815(0x400)][_0xf4f815(0x2f2)](_0x53b9ec),this[_0xf4f815(0x219)](!0x1);}}[_0x12ab33(0x274)](){var _0x550ec7=_0x12ab33;throw new Error(_0x550ec7(0x1be));}[_0x12ab33(0x120)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){var _0x344726=_0x12ab33;return this[_0x344726(0x363)](),this[_0x344726(0x401)][_0x344726(0x34e)](_0x4bf482['OfflineState'],this[_0x344726(0x183)],this[_0x344726(0x424)],null,this['_pendingMutations'],this[_0x344726(0x241)]);}['toggleOnline'](){return this;}[_0x12ab33(0x18b)](_0x816c8f){var _0x5928eb=_0x12ab33;const _0x4f7a13=_0x816c8f!=null?_0x816c8f:this['_getSendChangesetTimeout']();this[_0x5928eb(0xc6)]=new Date()[_0x5928eb(0x1a1)]()+_0x4f7a13,this[_0x5928eb(0x3a8)]=setTimeout(()=>{var _0xb1eea9=_0x5928eb;this[_0xb1eea9(0x363)]();let _0x1d5f0b=null;switch(this[_0xb1eea9(0x424)]){case _0x5bae36[_0xb1eea9(0x343)]:{_0x1d5f0b=_0x1b0e19(this['_pendingMutations'],this[_0xb1eea9(0x183)],this[_0xb1eea9(0x436)],this[_0xb1eea9(0xf0)],this[_0xb1eea9(0x30c)]);break;}case _0x5bae36[_0xb1eea9(0xef)]:{this[_0xb1eea9(0x215)][_0xb1eea9(0x2ef)](_0x460d4b=>_0x460d4b['id']===_0x187ef9[_0xb1eea9(0x31a)]['id'])?_0x1d5f0b=_0x3238ce(this[_0xb1eea9(0x215)],this[_0xb1eea9(0x183)],this[_0xb1eea9(0x436)],this[_0xb1eea9(0xf0)],this['_memberService']):_0x1d5f0b=_0x1b0e19(this[_0xb1eea9(0x215)],this[_0xb1eea9(0x183)],this[_0xb1eea9(0x436)],this[_0xb1eea9(0xf0)],this[_0xb1eea9(0x30c)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0xb1eea9(0x2bd));}const {changeset:_0x161ac6,pendingMutations:_0x262933}=_0x1d5f0b;this[_0xb1eea9(0x241)][_0xb1eea9(0x124)](_0x161ac6);const _0x50b6e9=_0x262933[_0xb1eea9(0xe6)]?this[_0xb1eea9(0x401)][_0xb1eea9(0x34e)](_0x4bf482['AwaitingWithPendingState'],this[_0xb1eea9(0x183)],this['type'],_0x161ac6,_0x262933,this[_0xb1eea9(0x241)],void 0x0):this[_0xb1eea9(0x401)][_0xb1eea9(0x34e)](_0x4bf482[_0xb1eea9(0x137)],this[_0xb1eea9(0x183)],this['type'],_0x161ac6,this[_0xb1eea9(0x241)]);_0x50b6e9['_updateLocalCache'](),this[_0xb1eea9(0x241)][_0xb1eea9(0xc3)](this,_0x50b6e9);},_0x4f7a13);}[_0x12ab33(0x171)](){var _0x20e212=_0x12ab33,_0x28cb22;const _0x4e7a1a=this[_0x20e212(0x3af)][_0x20e212(0x18d)](_0x433534);return(_0x28cb22=_0x4e7a1a==null?void 0x0:_0x4e7a1a[_0x20e212(0x144)])!=null?_0x28cb22:0x7d0;}[_0x12ab33(0xcb)](){var _0x2ed5bb=_0x12ab33;throw new Error(_0x2ed5bb(0x299));}[_0x12ab33(0x363)](){var _0x309bf3=_0x12ab33;this[_0x309bf3(0x3a8)]!=null&&(clearTimeout(this[_0x309bf3(0x3a8)]),this[_0x309bf3(0x3a8)]=null);}['_onConflict'](_0x33df7a){var _0x2b907b=_0x12ab33;return this[_0x2b907b(0x363)](),this[_0x2b907b(0x401)][_0x2b907b(0x34e)](_0x4bf482['ConflictState'],this[_0x2b907b(0x183)],this[_0x2b907b(0x424)],null,this[_0x2b907b(0x215)],this[_0x2b907b(0x241)],_0x33df7a);}},_0x4bf482['PendingState']=_0x59db31([_0x3760d5(0x4,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x5,_0x449ba5[_0x12ab33(0x116)](_0x4811d6['RevisionService'])),_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4bf482[_0x12ab33(0x1a0)])),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x388)]),_0x3760d5(0xa,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0xb,_0x449ba5[_0x12ab33(0x38b)]),_0x3760d5(0xc,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0xd,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482['PendingState']),_0x4bf482[_0x12ab33(0x137)]=class extends _0x415b3a{constructor(_0x31a282,_0x356ff3,_0x3b668c,_0x592742,_0x1c451d,_0x4bf78c,_0x5c9beb,_0xbb8cad,_0x1a2628,_0x2e1b36,_0x369772){var _0x7507f4=_0x12ab33;super(_0x31a282,_0x356ff3,_0x3b668c,[],_0x592742,_0x5c9beb,_0x2e1b36,_0x4bf78c,_0x369772),_0x389841(this,_0x7507f4(0x242),_0x7507f4(0x43f)),_0x389841(this,_0x7507f4(0x3dd),0x0),_0x389841(this,_0x7507f4(0x417),0x0),_0x389841(this,'_resendTimer'),_0x389841(this,'_sender'),(this[_0x7507f4(0x401)]=_0x1c451d,this[_0x7507f4(0x400)]=_0xbb8cad,this[_0x7507f4(0x180)]=_0x1a2628);}['appendMutation'](_0x3be626){var _0x80cfe=_0x12ab33;this['_clearScheduledTask']();const _0x4b679c=this[_0x80cfe(0x401)][_0x80cfe(0x34e)](_0x4bf482[_0x80cfe(0x370)],this['unitID'],this[_0x80cfe(0x424)],this[_0x80cfe(0x3e8)],[_0x3be626],this[_0x80cfe(0x241)],this[_0x80cfe(0x1bc)]);return _0x4b679c[_0x80cfe(0xdc)](),_0x4b679c;}[_0x12ab33(0x179)](_0x3e646c){var _0x8c72ab=_0x12ab33;if(this[_0x8c72ab(0x3e5)](_0x3e646c))return this['_clearScheduledTask'](),this[_0x8c72ab(0x401)]['createInstance'](_0x4bf482['FetchingMissState'],this[_0x8c72ab(0x183)],this[_0x8c72ab(0x424)],this[_0x8c72ab(0x3e8)],[],null,[_0x3e646c],this[_0x8c72ab(0x241)]);try{const _0x30a275=this[_0x8c72ab(0x180)]['transformChangesets']([_0x3e646c],[this['_awaitingChangeset']],!0x1);if(_0x4811d6[_0x8c72ab(0x24d)](_0x30a275)){const {c1Prime:_0x1b1c64,c2Prime:_0x53e776}=_0x30a275;this[_0x8c72ab(0xb2)](_0x1b1c64[0x0]),_0x53e776[0x0][_0x8c72ab(0x149)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x110784=this[_0x8c72ab(0x401)][_0x8c72ab(0x34e)](_0x4bf482[_0x8c72ab(0x137)],this[_0x8c72ab(0x183)],this['type'],_0x53e776[0x0],this[_0x8c72ab(0x241)]);return _0x110784[_0x8c72ab(0xdc)](),_0x110784;}return this[_0x8c72ab(0x219)](!0x1);}catch(_0x4ef20d){return this['_logService'][_0x8c72ab(0x2f2)](_0x4ef20d),this[_0x8c72ab(0x219)](!0x1);}}[_0x12ab33(0x274)](_0x3c0259){var _0x1d45b1=_0x12ab33;this[_0x1d45b1(0x363)]();const _0x3fe974=this[_0x1d45b1(0xf0)][_0x1d45b1(0x3c6)](this[_0x1d45b1(0x183)]);if(_0x3c0259[_0x1d45b1(0x352)]<_0x3fe974-0x1)return this;if(this[_0x1d45b1(0x3e5)](_0x3c0259))return this[_0x1d45b1(0x401)][_0x1d45b1(0x34e)](_0x4bf482['FetchingMissState'],this['unitID'],this[_0x1d45b1(0x424)],null,[],this[_0x1d45b1(0x3e8)],[],this[_0x1d45b1(0x241)]);this[_0x1d45b1(0x101)]();const _0x2ce8d9=this[_0x1d45b1(0x401)][_0x1d45b1(0x34e)](_0x4bf482[_0x1d45b1(0x390)],this[_0x1d45b1(0x183)],this['type'],this['_handler']);return _0x2ce8d9[_0x1d45b1(0xdc)](),_0x2ce8d9;}[_0x12ab33(0x120)](_0x4208a0){var _0xecd2bc=_0x12ab33;return this[_0xecd2bc(0x219)](!!(_0x4208a0!=null&&_0x4208a0[_0xecd2bc(0x223)]));}[_0x12ab33(0x155)](_0x2cbb09){var _0x5ef0d3=_0x12ab33;return this[_0x5ef0d3(0x417)]>_0x235019?this['toggleOffline']():(this['_resendTimer']=_0x25c9b1(this[_0x5ef0d3(0x3dd)],{'timeout':this[_0x5ef0d3(0x3dd)],'reqId':_0x2cbb09[_0x5ef0d3(0x387)]}),this['_sender']=this['_resendTimer'][_0x5ef0d3(0x368)](({reqId:_0xa9cb00,timeout:_0x166177})=>{var _0x35d6ed=_0x5ef0d3;this[_0x35d6ed(0x261)](_0xa9cb00,_0x166177);}),this);}[_0x12ab33(0x33b)](){var _0x39134a=_0x12ab33;return this['_clearScheduledTask'](),this['_injector'][_0x39134a(0x34e)](_0x4bf482['OfflineState'],this[_0x39134a(0x183)],this['type'],this[_0x39134a(0x3e8)],[],this['_handler']);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0xcb)](){var _0x1d2005=_0x12ab33;this[_0x1d2005(0x241)]['onSendChangeset'](this[_0x1d2005(0x3e8)]);}[_0x12ab33(0x219)](_0x341826){var _0x1fdfeb=_0x12ab33;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x4bf482[_0x1fdfeb(0x200)],this['unitID'],this[_0x1fdfeb(0x424)],this['_awaitingChangeset'],[],this[_0x1fdfeb(0x241)],_0x341826);}['_resendWithTimeout'](_0x30979e,_0x391aa4){var _0x3b1b08=_0x12ab33,_0x521ab0;_0x30979e===((_0x521ab0=this[_0x3b1b08(0x3e8)])==null?void 0x0:_0x521ab0[_0x3b1b08(0x387)])&&(this[_0x3b1b08(0xcb)](),this[_0x3b1b08(0x3dd)]=_0x391aa4===0x0?0x3e8:Math[_0x3b1b08(0x169)](_0x391aa4*0x2,_0x39d44f),this[_0x3b1b08(0x417)]+=this[_0x3b1b08(0x3dd)]);}['_clearScheduledTask'](){var _0x57062c=_0x12ab33,_0x5c7108;(_0x5c7108=this[_0x57062c(0x296)])==null||_0x5c7108[_0x57062c(0x1bb)](),this['_resendTimeout']=0x0,this[_0x57062c(0x417)]=0x0;}},_0x4bf482[_0x12ab33(0x137)]=_0x59db31([_0x3760d5(0x4,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x5,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x6,_0x449ba5['ICommandService']),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0x8,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0xa,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482['AwaitingState']),_0x4bf482[_0x12ab33(0x370)]=class extends _0x415b3a{constructor(_0x207de2,_0xc84686,_0xe2d914,_0x4f1b64,_0x54ea22,_0x3fda2f,_0x3f3d69,_0x42a37a,_0x566a9d,_0x21804e,_0x179984,_0x47c95b,_0x718aa6){var _0x9412aa=_0x12ab33;super(_0x207de2,_0xc84686,_0xe2d914,_0x4f1b64,_0x54ea22,_0x566a9d,_0x47c95b,_0x42a37a,_0x718aa6),_0x389841(this,_0x9412aa(0x242),_0x9412aa(0x1b3)),_0x389841(this,_0x9412aa(0x3dd),0x0),_0x389841(this,'_maxTotalRetryTimeout',0x0),_0x389841(this,_0x9412aa(0x1bc)),_0x389841(this,'_sender'),(this[_0x9412aa(0x401)]=_0x3f3d69,this[_0x9412aa(0x400)]=_0x21804e,this[_0x9412aa(0x180)]=_0x179984,this[_0x9412aa(0x346)]=_0x718aa6,_0x3fda2f&&(this[_0x9412aa(0x1bc)]=_0x3fda2f,this[_0x9412aa(0x296)]=this[_0x9412aa(0x1bc)][_0x9412aa(0x368)](({reqId:_0xb242f0,timeout:_0x30f68a})=>{var _0x3003ef=_0x9412aa;this[_0x3003ef(0x261)](_0xb242f0,_0x30f68a);})));}['appendMutation'](_0x1bf89e){var _0x22fecf=_0x12ab33;return this[_0x22fecf(0x215)][_0x22fecf(0x125)](_0x1bf89e),this;}[_0x12ab33(0x179)](_0x8eb968){var _0x4aef9d=_0x12ab33;if(this[_0x4aef9d(0x3e5)](_0x8eb968))return this['_clearScheduledTask'](),this[_0x4aef9d(0x401)]['createInstance'](_0x4bf482[_0x4aef9d(0x433)],this[_0x4aef9d(0x183)],this[_0x4aef9d(0x424)],this[_0x4aef9d(0x3e8)],this[_0x4aef9d(0x215)],null,[_0x8eb968],this[_0x4aef9d(0x241)]);try{const _0x264ec7=this['_transformService'][_0x4aef9d(0x2b9)]([_0x8eb968],[this[_0x4aef9d(0x3e8)]],!0x1);if(_0x4811d6[_0x4aef9d(0x24d)](_0x264ec7)){const {c1Prime:_0xd400cc,c2Prime:_0x1e8905}=_0x264ec7,_0x350481=this[_0x4aef9d(0x180)][_0x4aef9d(0x1b1)](_0xd400cc[0x0],this[_0x4aef9d(0x215)]);if(_0x4811d6[_0x4aef9d(0x330)](_0x350481)){const {c1Prime:_0x39173a,m2Prime:_0x7c1926}=_0x350481;return this[_0x4aef9d(0xb2)](_0x39173a),_0x1e8905[0x0][_0x4aef9d(0x149)]=this[_0x4aef9d(0x408)](),this[_0x4aef9d(0x363)](),this[_0x4aef9d(0x401)]['createInstance'](_0x4bf482[_0x4aef9d(0x370)],this[_0x4aef9d(0x183)],this[_0x4aef9d(0x424)],_0x1e8905[0x0],_0x7c1926,this[_0x4aef9d(0x241)],void 0x0);}throw _0x350481[_0x4aef9d(0x2f2)];}throw _0x264ec7[_0x4aef9d(0x2f2)];}catch(_0x34219a){return this['_logService'][_0x4aef9d(0x2f2)](_0x34219a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x255403){var _0x15776e=_0x12ab33;if(this['_clearScheduledTask'](),this[_0x15776e(0x3e5)](_0x255403))return this[_0x15776e(0x401)][_0x15776e(0x34e)](_0x4bf482[_0x15776e(0x433)],this[_0x15776e(0x183)],this['type'],null,this[_0x15776e(0x215)],this[_0x15776e(0x3e8)],[],this[_0x15776e(0x241)]);this[_0x15776e(0x101)]();const _0xd103ec=this[_0x15776e(0x401)][_0x15776e(0x34e)](_0x4bf482[_0x15776e(0x397)],this[_0x15776e(0x183)],this[_0x15776e(0x424)],this[_0x15776e(0x215)],this[_0x15776e(0x241)]);return _0xd103ec[_0x15776e(0x18b)](),_0xd103ec['_updateLocalCache'](),_0xd103ec;}['onRemoteRej'](_0x600d7e){var _0xcf3330=_0x12ab33;return this['_onConflict'](!!(_0x600d7e!=null&&_0x600d7e[_0xcf3330(0x223)]));}[_0x12ab33(0x155)](_0x8ecff8){var _0x47e03c=_0x12ab33;return this[_0x47e03c(0x417)]>_0x235019?this[_0x47e03c(0x33b)]():(this[_0x47e03c(0x1bc)]=_0x25c9b1(this[_0x47e03c(0x3dd)],{'timeout':this['_resendTimeout'],'reqId':_0x8ecff8[_0x47e03c(0x387)]}),this[_0x47e03c(0x296)]=this[_0x47e03c(0x1bc)][_0x47e03c(0x368)](({reqId:_0x42ec36,timeout:_0x1c4a4f})=>{var _0x4d2217=_0x47e03c;this[_0x4d2217(0x261)](_0x42ec36,_0x1c4a4f);}),this);}[_0x12ab33(0x33b)](){var _0x55d278=_0x12ab33;return this[_0x55d278(0x363)](),this[_0x55d278(0x401)]['createInstance'](_0x4bf482[_0x55d278(0x2d6)],this[_0x55d278(0x183)],this['type'],this[_0x55d278(0x3e8)],this[_0x55d278(0x215)],this[_0x55d278(0x241)]);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0xcb)](){var _0x48a409=_0x12ab33;this[_0x48a409(0x241)][_0x48a409(0x124)](this[_0x48a409(0x3e8)]);}[_0x12ab33(0x219)](_0x4d6fd2){var _0x1293e4=_0x12ab33;return this['_clearScheduledTask'](),this[_0x1293e4(0x401)][_0x1293e4(0x34e)](_0x4bf482[_0x1293e4(0x200)],this[_0x1293e4(0x183)],this[_0x1293e4(0x424)],null,this['_pendingMutations'],this[_0x1293e4(0x241)],_0x4d6fd2);}[_0x12ab33(0x261)](_0x4051ea,_0x5bdd35){var _0x5dcaa3=_0x12ab33,_0x3f6f35;_0x4051ea===((_0x3f6f35=this[_0x5dcaa3(0x3e8)])==null?void 0x0:_0x3f6f35[_0x5dcaa3(0x387)])&&(this[_0x5dcaa3(0xcb)](),this[_0x5dcaa3(0x3dd)]=_0x5bdd35===0x0?0x3e8:Math[_0x5dcaa3(0x169)](_0x5bdd35*0x2,_0x39d44f),this['_maxTotalRetryTimeout']+=this['_resendTimeout']);}[_0x12ab33(0x363)](){var _0x13d428=_0x12ab33,_0x4f040e;(_0x4f040e=this['_sender'])==null||_0x4f040e[_0x13d428(0x1bb)](),this[_0x13d428(0x3dd)]=0x0,this[_0x13d428(0x417)]=0x0;}},_0x4bf482[_0x12ab33(0x370)]=_0x59db31([_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x449ba5['Injector'])),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0xa,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0xb,_0x449ba5['IUndoRedoService']),_0x3760d5(0xc,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482[_0x12ab33(0x370)]),_0x4bf482[_0x12ab33(0x200)]=class extends _0x415b3a{constructor(_0x5ed375,_0x58f2f5,_0x16f7db,_0x56a432,_0x40b1fb,_0x394c31=!0x1,_0x13fa15,_0x3dfcac,_0x49732b,_0xa52806,_0x406abe,_0x1edcf6,_0x43cf2e){var _0x3b2404=_0x12ab33;super(_0x5ed375,_0x58f2f5,_0x16f7db,_0x56a432,_0x40b1fb,_0x3dfcac,_0x49732b,_0xa52806,_0x43cf2e),_0x389841(this,_0x3b2404(0x242),'conflict'),(this[_0x3b2404(0x192)]=_0x394c31,this[_0x3b2404(0x17a)]=_0x13fa15,this[_0x3b2404(0x18a)]=_0x406abe,this[_0x3b2404(0x18e)]=_0x1edcf6,this[_0x3b2404(0x346)]=_0x43cf2e,this[_0x3b2404(0x12c)](),this[_0x3b2404(0xcd)](),this[_0x3b2404(0x359)]());}[_0x12ab33(0x1fd)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){return this;}['toggleOnline'](){return this;}[_0x12ab33(0xcb)](){var _0x475398=_0x12ab33;throw new Error(_0x475398(0x289));}[_0x12ab33(0xcd)](){var _0x2a8daa=_0x12ab33,_0x331bf5;(_0x331bf5=this[_0x2a8daa(0x3d2)])==null||_0x331bf5[_0x2a8daa(0x1ba)](this['unitID'],this[_0x2a8daa(0x424)],null,[]);}['_showConflictNotification'](){var _0x464662=_0x12ab33;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x464662(0x3c1)]({'id':_0x49a56d[_0x464662(0x1c9)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x49a56d[_0x464662(0x33f)]});}['_disableEditing'](){var _0x4de488=_0x12ab33;this[_0x4de488(0x17a)]['updatePermissionPoint'](new _0x38c84a['WorkbookEditablePermission'](this[_0x4de488(0x183)])['id'],!0x1);}},_0x4bf482['ConflictState']=_0x59db31([_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x449ba5['IPermissionService'])),_0x3760d5(0x7,_0x449ba5['ICommandService']),_0x3760d5(0x8,_0x449ba5['IUndoRedoService']),_0x3760d5(0x9,_0x449ba5['Inject'](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0xa,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0x3760d5(0xb,_0x449ba5['Inject'](_0x382c6e)),_0x3760d5(0xc,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x200)]),_0x4bf482[_0x12ab33(0x2d6)]=class extends _0x415b3a{constructor(_0x3b2b15,_0x28317c,_0x2d23af,_0x213d0f,_0x57cb38,_0x123d33,_0x538863,_0x4e89e2,_0x398c91,_0x1d7c93){var _0x224ffb=_0x12ab33;super(_0x3b2b15,_0x28317c,_0x2d23af,_0x213d0f,_0x57cb38,_0x4e89e2,_0x398c91,_0x538863,_0x1d7c93),_0x389841(this,'status',_0x224ffb(0x269)),this[_0x224ffb(0x401)]=_0x123d33;}['appendMutation'](_0x2ccfca){var _0x218f4b=_0x12ab33;return this[_0x218f4b(0x215)][_0x218f4b(0x125)](_0x2ccfca),this[_0x218f4b(0xdc)](),this;}[_0x12ab33(0x179)](_0x450224){var _0x442557=_0x12ab33;throw new Error(_0x442557(0x1eb));}[_0x12ab33(0x274)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x12ab33(0x120)](){var _0x2958e7=_0x12ab33;throw new Error(_0x2958e7(0x302));}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){return this;}[_0x12ab33(0x303)](){var _0x10d88e=_0x12ab33;const {_injector:_0x5a6e90,_pendingMutations:_0x461c18,_awaitingChangeset:_0x14553f,unitID:_0x4fffbb,_handler:_0x42ec33,type:_0x2aa8e5}=this,_0x170cbe=_0xdd3008(_0x5a6e90,_0x4fffbb,_0x2aa8e5,_0x14553f,_0x461c18,_0x42ec33);return _0x170cbe instanceof _0x4bf482[_0x10d88e(0x397)]?_0x170cbe[_0x10d88e(0x18b)]():(_0x170cbe instanceof _0x4bf482['AwaitingWithPendingState']||_0x170cbe instanceof _0x4bf482['AwaitingState'])&&_0x170cbe[_0x10d88e(0xcb)](),_0x170cbe;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x4bf482['OfflineState']=_0x59db31([_0x3760d5(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x2d6)]),_0x4bf482[_0x12ab33(0x433)]=class extends _0x415b3a{constructor(_0x48b135,_0x1f2995,_0x41f459,_0x17946e,_0x32f872,_0x9b4599,_0x4e8f19,_0x3fb013,_0x4019a2,_0xffead2,_0xbade23,_0x484f2f,_0x10bba3,_0x2d61a2){var _0xa63c54=_0x12ab33;super(_0x48b135,_0x1f2995,_0x41f459,_0x17946e,_0x4e8f19,_0xbade23,_0x484f2f,_0x4019a2,_0x2d61a2),_0x389841(this,_0xa63c54(0x242),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x32f872,this['_queuedRemoteChangesets']=_0x9b4599,this[_0xa63c54(0x401)]=_0x3fb013,this[_0xa63c54(0x400)]=_0xffead2,this[_0xa63c54(0x180)]=_0x10bba3,this[_0xa63c54(0x346)]=_0x2d61a2);}[_0x12ab33(0x41c)](_0x399b1b){var _0x2ca1f7=_0x12ab33;try{const _0x375973=[..._0x399b1b,...this['_queuedRemoteChangesets']],_0x2ca78f=[this[_0x2ca1f7(0x3e8)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x332573=>!!_0x332573);let _0x4ae494,_0x407564;if(_0x2ca78f['length']){const _0x142a76=this[_0x2ca1f7(0x180)][_0x2ca1f7(0x2b9)](_0x375973,_0x2ca78f,!0x1);if(!_0x4811d6[_0x2ca1f7(0x24d)](_0x142a76))throw _0x142a76[_0x2ca1f7(0x2f2)];_0x4ae494=_0x142a76['c1Prime'],_0x407564=_0x142a76['c2Prime'];}else _0x4ae494=_0x375973,_0x407564=[];let _0x21c7dc=this['_pendingMutations'];_0x4ae494[_0x2ca1f7(0x17b)](_0x3249e3=>{var _0x1db30b=_0x2ca1f7;let _0x2c37fb;if(_0x21c7dc['length']){const _0x21509a=this[_0x1db30b(0x180)][_0x1db30b(0x1b1)](_0x3249e3,_0x21c7dc);if(!_0x4811d6[_0x1db30b(0x330)](_0x21509a))throw _0x21509a['error'];_0x2c37fb=_0x21509a['c1Prime'],_0x21c7dc=_0x21509a[_0x1db30b(0x304)];}else _0x2c37fb=_0x3249e3;this['_executeRemoteChangeset'](_0x2c37fb);}),this[_0x2ca1f7(0xd3)]&&this[_0x2ca1f7(0x101)](),this[_0x2ca1f7(0x3e8)]&&_0x407564['length']&&(_0x407564[0x0][_0x2ca1f7(0x149)]=this['_getCurrentRevision']());let _0x5c975b;if(this[_0x2ca1f7(0x3e8)]&&_0x21c7dc[_0x2ca1f7(0xe6)]!==0x0)_0x5c975b=this[_0x2ca1f7(0x401)][_0x2ca1f7(0x34e)](_0x4bf482[_0x2ca1f7(0x370)],this['unitID'],this['type'],_0x407564[0x0],_0x21c7dc,this[_0x2ca1f7(0x241)],void 0x0);else{if(this['_awaitingChangeset']&&_0x21c7dc['length']===0x0)_0x407564[0x0][_0x2ca1f7(0x149)]=this['_getCurrentRevision'](),_0x5c975b=this[_0x2ca1f7(0x401)][_0x2ca1f7(0x34e)](_0x4bf482['AwaitingState'],this[_0x2ca1f7(0x183)],this[_0x2ca1f7(0x424)],_0x407564[0x0],this[_0x2ca1f7(0x241)]);else{if(_0x21c7dc['length']!==0x0){const _0xc056f=this['_injector'][_0x2ca1f7(0x34e)](_0x4bf482[_0x2ca1f7(0x397)],this[_0x2ca1f7(0x183)],this[_0x2ca1f7(0x424)],_0x21c7dc,this[_0x2ca1f7(0x241)]);_0xc056f[_0x2ca1f7(0x18b)](),_0x5c975b=_0xc056f;}else _0x5c975b=this[_0x2ca1f7(0x401)]['createInstance'](_0x4bf482[_0x2ca1f7(0x390)],this['unitID'],this[_0x2ca1f7(0x424)],this[_0x2ca1f7(0x241)]);}}return _0x5c975b[_0x2ca1f7(0xdc)](),_0x5c975b;}catch(_0x3b96ba){return this[_0x2ca1f7(0x400)][_0x2ca1f7(0x2f2)](_0x2ca1f7(0x1c1),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3b96ba),this[_0x2ca1f7(0x401)][_0x2ca1f7(0x34e)](_0x4bf482[_0x2ca1f7(0x200)],this['unitID'],this[_0x2ca1f7(0x424)],this[_0x2ca1f7(0x3e8)],this[_0x2ca1f7(0x215)],this['_handler'],!0x1);}}[_0x12ab33(0xcb)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x3c634b){var _0x154b2a=_0x12ab33;return this[_0x154b2a(0x215)]['push'](_0x3c634b),this;}['onRemoteChangeset'](_0x160217){var _0x260b77=_0x12ab33;return this[_0x260b77(0x3e1)]['push'](_0x160217),this;}['onRemoteAck'](_0x12bf10){var _0x5e674e=_0x12ab33;if(this[_0x5e674e(0x3e8)])return this[_0x5e674e(0xd3)]=this[_0x5e674e(0x3e8)],this[_0x5e674e(0x3e8)]=null,this;throw new Error(_0x5e674e(0x24b));}[_0x12ab33(0x120)](_0x12f7b9){var _0x49e6c9=_0x12ab33;return this[_0x49e6c9(0x219)](!!(_0x12f7b9!=null&&_0x12f7b9[_0x49e6c9(0x223)]));}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){var _0x9f98c7=_0x12ab33;return this[_0x9f98c7(0x401)]['createInstance'](_0x4bf482['OfflineState'],this['unitID'],this['type'],this[_0x9f98c7(0x3e8)],this['_pendingMutations'],this[_0x9f98c7(0x241)]);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0x219)](_0x15f837){var _0x4b25a9=_0x12ab33;return this[_0x4b25a9(0x401)][_0x4b25a9(0x34e)](_0x4bf482[_0x4b25a9(0x200)],this['unitID'],this['type'],this[_0x4b25a9(0x3e8)],this[_0x4b25a9(0x215)],this[_0x4b25a9(0x241)],_0x15f837);}},_0x4bf482[_0x12ab33(0x433)]=_0x59db31([_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x116)](_0x4811d6['RevisionService'])),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0xa,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0xb,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0xc,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x433)]);function _0xdd3008(_0x367a02,_0x1229d5,_0x2c6b4c,_0x162b52,_0x1dfa47,_0x3d3ee7){var _0x33573c=_0x12ab33;return _0x162b52&&_0x1dfa47[_0x33573c(0xe6)]?_0x367a02[_0x33573c(0x34e)](_0x4bf482[_0x33573c(0x370)],_0x1229d5,_0x2c6b4c,_0x162b52,_0x1dfa47,_0x3d3ee7,void 0x0):_0x162b52?_0x367a02['createInstance'](_0x4bf482[_0x33573c(0x137)],_0x1229d5,_0x2c6b4c,_0x162b52,_0x3d3ee7):_0x1dfa47['length']?_0x367a02[_0x33573c(0x34e)](_0x4bf482[_0x33573c(0x397)],_0x1229d5,_0x2c6b4c,_0x1dfa47,_0x3d3ee7):_0x367a02[_0x33573c(0x34e)](_0x4bf482['SyncedState'],_0x1229d5,_0x2c6b4c,_0x3d3ee7);}var _0x13b3b6=Object[_0x12ab33(0x39e)],_0x29d5b5=(_0x5fbc8a,_0x105be2,_0x9a7485,_0xf30681)=>{var _0x550286=_0x12ab33;for(var _0x17947a=_0xf30681>0x1?void 0x0:_0xf30681?_0x13b3b6(_0x105be2,_0x9a7485):_0x105be2,_0x55f7af=_0x5fbc8a[_0x550286(0xe6)]-0x1,_0x22e793;_0x55f7af>=0x0;_0x55f7af--)(_0x22e793=_0x5fbc8a[_0x55f7af])&&(_0x17947a=_0x22e793(_0x17947a)||_0x17947a);return _0x17947a;},_0xa345b7=(_0x204b71,_0x4a9b67)=>(_0x389993,_0x406bc8)=>_0x4a9b67(_0x389993,_0x406bc8,_0x204b71);_0x4bf482[_0x12ab33(0xb0)]=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x24f149,_0xa04dd0,_0x6d8933,_0x48e16a,_0x3e893d,_0x5a23c9,_0x43d6e9,_0x132add,_0x453028,_0x36f590,_0x48013b,_0x135da4,_0x490216,_0x312ea3){var _0x26d654=_0x12ab33;super(),_0x389841(this,'_state$',new _0x550b9f[(_0x26d654(0x1f8))](null)),_0x389841(this,_0x26d654(0x2dd),this['_state$']['asObservable']()),_0x389841(this,_0x26d654(0x1f4)),_0x389841(this,_0x26d654(0x3dc),!0x1),_0x389841(this,_0x26d654(0x2aa),''),_0x389841(this,_0x26d654(0x398),0x0),_0x389841(this,'status$',this[_0x26d654(0x2dd)][_0x26d654(0x188)](_0x550b9f['map'](_0x12998d=>_0x12998d?_0x12998d[_0x26d654(0x242)]:_0x1bd308[_0x26d654(0x3d1)]),_0x550b9f[_0x26d654(0x225)](0x1))),_0x389841(this,'_transitionLocked',!0x1),_0x389841(this,_0x26d654(0x3ac),[]),(this[_0x26d654(0x183)]=_0x24f149,this[_0x26d654(0x1cd)]=_0xa04dd0,this[_0x26d654(0x19d)]=_0x6d8933,this[_0x26d654(0x401)]=_0x48e16a,this[_0x26d654(0x11a)]=_0x3e893d,this[_0x26d654(0x18a)]=_0x5a23c9,this['_revisionService']=_0x43d6e9,this['_eventService']=_0x132add,this['_univerInstanceService']=_0x453028,this[_0x26d654(0x400)]=_0x36f590,this[_0x26d654(0x1e2)]=_0x48013b,this[_0x26d654(0x17a)]=_0x135da4,this[_0x26d654(0x22b)]=_0x490216,this['_localCacheService']=_0x312ea3);}get[_0x12ab33(0x14f)](){var _0x2b15c9=_0x12ab33;return this[_0x2b15c9(0x1f4)];}async[_0x12ab33(0x33d)](){if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){var _0x4b90a9=_0x12ab33;return this[_0x4b90a9(0x3dc)]=!0x0,_0x449ba5[_0x4b90a9(0x36c)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x12ab33(0x3cb)](_0x16a242){var _0x3fe094=_0x12ab33;this[_0x3fe094(0x3df)](_0x16a242);}['_updateState'](_0x141446){var _0x50bd40=_0x12ab33;this[_0x50bd40(0x1f4)]=_0x141446,this['_state$'][_0x50bd40(0xaf)](_0x141446);}async[_0x12ab33(0x256)](){var _0x1df7ee=_0x12ab33,_0x1b9794;this[_0x1df7ee(0x341)](await this[_0x1df7ee(0x2d8)]()),this[_0x1df7ee(0x22b)]&&((_0x1b9794=this[_0x1df7ee(0x22b)])==null||_0x1b9794['editingUnit'](this[_0x1df7ee(0x183)]),this['disposeWithMe'](this[_0x1df7ee(0x22b)][_0x1df7ee(0x3b5)](this[_0x1df7ee(0x183)])['subscribe'](_0x465f44=>{var _0x523af0=_0x1df7ee;this[_0x523af0(0x400)]['debug'](_0x523af0(0x2c5),_0x523af0(0x3cd),_0x465f44),_0x465f44===_0x5f5425[_0x523af0(0x1d4)]?(this['_eventService'][_0x523af0(0x3c1)]({'id':_0x49a56d[_0x523af0(0x217)]}),this[_0x523af0(0x17a)][_0x523af0(0x2b2)](new _0x38c84a[(_0x523af0(0x3c9))](this[_0x523af0(0x183)])['id'],!0x1),this[_0x523af0(0x17a)][_0x523af0(0x2c3)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x38c84a[(_0x523af0(0x3c9))](this[_0x523af0(0x183)])['id'],!0x0),this[_0x523af0(0x17a)][_0x523af0(0x2c3)](!0x0));})));let _0x1d1a71=!0x1;return this[_0x1df7ee(0x21e)](this[_0x1df7ee(0x1cd)]['sessionStatus$']['subscribe'](_0x38ce82=>{var _0x500726=_0x1df7ee;_0x38ce82===_0x439d16[_0x500726(0x20d)]?this['_toggleOnline'](_0x1d1a71):_0x38ce82===_0x439d16[_0x500726(0x3d1)]&&(_0x1d1a71=!0x0,this[_0x500726(0x35f)]());})),this['disposeWithMe'](this[_0x1df7ee(0x1cd)]['event$']['subscribe'](_0x6f7cbe=>{var _0x4d64cd=_0x1df7ee;try{switch(_0x6f7cbe[_0x4d64cd(0x28c)]){case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x2c1)]:{this[_0x4d64cd(0x1e0)](_0x4811d6[_0x4d64cd(0x41f)](_0x6f7cbe[_0x4d64cd(0x166)]));break;}case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x2f4)]:{this['_onRemoteACK'](_0x6f7cbe[_0x4d64cd(0x166)]);break;}case _0x4811d6['CollaborationEvent'][_0x4d64cd(0x383)]:{this[_0x4d64cd(0xae)]();break;}case _0x4811d6['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x4d64cd(0x222)](_0x6f7cbe[_0x4d64cd(0x166)]);break;}case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x404)]:{this[_0x4d64cd(0x350)](_0x6f7cbe['data'][_0x4d64cd(0xd5)]['map'](_0x501e81=>_0x4811d6[_0x4d64cd(0x41f)](_0x501e81)));break;}case _0x4811d6['CollaborationEvent'][_0x4d64cd(0x151)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x207)]:break;}}catch(_0x3b6c63){throw console[_0x4d64cd(0x2f2)](_0x4d64cd(0x126),_0x3b6c63),_0x3b6c63;}})),this['_state'];}[_0x12ab33(0x317)](){var _0x2b8a7b=_0x12ab33;this[_0x2b8a7b(0x209)]=!0x1;}[_0x12ab33(0x3d7)](){var _0x44ff09=_0x12ab33;if(this[_0x44ff09(0x209)])throw new Error(_0x44ff09(0x228));this[_0x44ff09(0x209)]=!0x0;}[_0x12ab33(0x3df)](_0x18d08b){var _0x4e4adf=_0x12ab33;this[_0x4e4adf(0x3d7)](),this[_0x4e4adf(0x341)](this[_0x4e4adf(0x1f4)][_0x4e4adf(0x1fd)](_0x18d08b)),this[_0x4e4adf(0x317)]();}[_0x12ab33(0x1e0)](_0x126ea3){var _0xffad2c=_0x12ab33;if(!(_0x126ea3['revision']<=this[_0xffad2c(0xf0)][_0xffad2c(0x3c6)](this[_0xffad2c(0x183)]))){if(this[_0xffad2c(0x3dc)]){this[_0xffad2c(0x3ac)][_0xffad2c(0x125)](_0x126ea3);return;}this[_0xffad2c(0x2ec)](_0x126ea3);}}[_0x12ab33(0x1ae)](){var _0x2d5eba=_0x12ab33;this[_0x2d5eba(0x3ac)]['forEach'](_0x3fefcd=>this['_applyRemoteChangeset'](_0x3fefcd)),this[_0x2d5eba(0x3ac)]=[];}[_0x12ab33(0x2ec)](_0x15c08d){var _0x1c2538=_0x12ab33;const _0x5d7a2a=this[_0x1c2538(0x11a)][_0x1c2538(0x42b)][_0x1c2538(0x2e0)](this['_compressMutationService']['interceptor'][_0x1c2538(0x121)]()[_0x1c2538(0x24c)])(_0x15c08d[_0x1c2538(0x34d)],null)||_0x15c08d[_0x1c2538(0x34d)],_0x233387={..._0x15c08d,'mutations':_0x5d7a2a};this[_0x1c2538(0x3d7)](),this[_0x1c2538(0x341)](this[_0x1c2538(0x1f4)][_0x1c2538(0x179)](_0x233387)),this['_unlockTransition']();}['_onRemoteACK'](_0x2afb1f){var _0x43f9e3=_0x12ab33;this[_0x43f9e3(0x3d7)](),this['_updateState'](this['_state'][_0x43f9e3(0x274)](_0x2afb1f)),this[_0x43f9e3(0x317)]();}['_onRemoteRejected'](_0x48d634){var _0xac0e08=_0x12ab33;this[_0xac0e08(0x3d7)](),this[_0xac0e08(0x341)](this[_0xac0e08(0x1f4)][_0xac0e08(0x120)](_0x48d634)),this['_unlockTransition']();}[_0x12ab33(0x222)](_0x40af35){var _0x1b99c3=_0x12ab33;this['_lockTransition'](),this['_updateState'](this[_0x1b99c3(0x1f4)][_0x1b99c3(0x155)](_0x40af35)),this['_unlockTransition']();}[_0x12ab33(0x350)](_0x591c0f){var _0x3cf80d=_0x12ab33;if(!(this[_0x3cf80d(0x1f4)]instanceof _0x4bf482['FetchingMissState']))throw new TypeError(_0x3cf80d(0xf3));const _0x4b06f2=_0x591c0f[_0x3cf80d(0xc9)](_0x3268cf=>{var _0x5ae55f=_0x3cf80d;const _0x21b980=this[_0x5ae55f(0x11a)]['interceptor']['fetchThroughInterceptors'](this[_0x5ae55f(0x11a)]['interceptor'][_0x5ae55f(0x121)]()[_0x5ae55f(0x24c)])(_0x3268cf[_0x5ae55f(0x34d)],null)||_0x3268cf[_0x5ae55f(0x34d)];return{..._0x3268cf,'mutations':_0x21b980};});this[_0x3cf80d(0x3d7)](),this[_0x3cf80d(0x341)](this[_0x3cf80d(0x1f4)]['onMissedChangesetFetched'](_0x4b06f2)),this['_unlockTransition']();}[_0x12ab33(0x35f)](){var _0x422179=_0x12ab33;this[_0x422179(0x3d7)](),this['_updateState'](this[_0x422179(0x1f4)]['toggleOffline']()),this[_0x422179(0x317)]();}['_toggleOnline'](_0x3bbe9d=!0x1){var _0x2e6f56=_0x12ab33;this[_0x2e6f56(0x3d7)](),this[_0x2e6f56(0x341)](this[_0x2e6f56(0x1f4)][_0x2e6f56(0x303)]()),this[_0x2e6f56(0x317)]();const _0x3b70bb=this[_0x2e6f56(0x1f4)];_0x3bbe9d&&_0x3b70bb instanceof _0x4bf482[_0x2e6f56(0x390)]&&(this[_0x2e6f56(0x3d7)](),this['_updateState'](_0x3b70bb[_0x2e6f56(0x2bf)]()),this[_0x2e6f56(0x317)]());}async[_0x12ab33(0x2d8)](){return new Promise(_0x1d8ee9=>{var _0x53a02b=_0x4f3d;this[_0x53a02b(0x1cd)][_0x53a02b(0x2d3)][_0x53a02b(0x188)](_0x550b9f['take'](0x1))[_0x53a02b(0x368)](async _0x3b2c29=>{var _0x12c494=_0x53a02b;_0x1d8ee9(await this['_createInitialStateImpl'](_0x3b2c29===_0x439d16[_0x12c494(0x20d)]));});});}[_0x12ab33(0x12d)](){var _0x2b8ac8=_0x12ab33;const _0xa3e161=this[_0x2b8ac8(0x183)];return{'onStateChange':(_0x1f700d,_0x46b0ac)=>{var _0x3f3e60=_0x2b8ac8;if(_0x1f700d!==this[_0x3f3e60(0x1f4)])throw new Error(_0x3f3e60(0x1d0)+_0x1f700d[_0x3f3e60(0x242)]+_0x3f3e60(0x266)+_0x46b0ac['status']+_0x3f3e60(0x371)+this[_0x3f3e60(0x1f4)][_0x3f3e60(0x242)]);this[_0x3f3e60(0x341)](_0x46b0ac);},'onSendChangeset':_0x41ef7d=>{var _0xaf1148=_0x2b8ac8;_0x41ef7d[_0xaf1148(0x3a6)]||(_0x41ef7d[_0xaf1148(0x3a6)]=this[_0xaf1148(0x2aa)],_0x41ef7d[_0xaf1148(0x387)]=++this['_changesetReqId']);const _0x4f1c67={'eventID':_0x4811d6[_0xaf1148(0x381)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x41ef7d[_0xaf1148(0x183)],'unitType':this[_0xaf1148(0x19d)],'changeset':_0x41ef7d,'memberID':this['session']['getMemberID']()}};this['session'][_0xaf1148(0x199)](_0x4f1c67,this[_0xaf1148(0x183)]);},'onMissingChangesets':({from:_0x59eb52,to:_0x310766})=>{var _0x3cec23=_0x2b8ac8;this[_0x3cec23(0x400)][_0x3cec23(0x2ea)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x59eb52+'\x20to\x20'+_0x310766);const _0x549f8e={'eventID':_0x4811d6[_0x3cec23(0x381)][_0x3cec23(0x14b)],'data':{'unitID':_0xa3e161,'unitType':this[_0x3cec23(0x19d)],'from':_0x59eb52,'to':_0x310766}};this[_0x3cec23(0x1cd)][_0x3cec23(0x199)](_0x549f8e,this[_0x3cec23(0x183)]);}};}async['_createInitialStateImpl'](_0x547fd0){var _0x31f0db=_0x12ab33,_0x226961,_0x25839f,_0x67a988;const _0x3070f0=await((_0x226961=this[_0x31f0db(0x3d2)])==null?void 0x0:_0x226961[_0x31f0db(0x1c5)](this[_0x31f0db(0x183)])),_0x14dfef=(_0x25839f=_0x3070f0==null?void 0x0:_0x3070f0[_0x31f0db(0x34d)])!=null?_0x25839f:[],_0x41ec7c=(_0x67a988=_0x3070f0==null?void 0x0:_0x3070f0['awaitingChangeset'])!=null?_0x67a988:null,_0x28f4c7=!!(_0x41ec7c!=null&&_0x41ec7c[_0x31f0db(0x3a6)])&&!!(_0x41ec7c!=null&&_0x41ec7c[_0x31f0db(0x387)]);this[_0x31f0db(0x2aa)]=_0x28f4c7?_0x41ec7c[_0x31f0db(0x3a6)]:_0x4811d6['uuidv4'](),this[_0x31f0db(0x398)]=_0x28f4c7?_0x41ec7c['reqId']:0x0;const _0x19b6e8=this[_0x31f0db(0x183)];try{this[_0x31f0db(0x287)](_0x41ec7c,_0x14dfef);}catch(_0x50ea3e){this['_logService'][_0x31f0db(0x2f2)](_0x50ea3e);}const _0x534e76=this[_0x31f0db(0x12d)]();if(_0x547fd0){const _0x58997f=_0xdd3008(this[_0x31f0db(0x401)],_0x19b6e8,this[_0x31f0db(0x19d)],_0x41ec7c,_0x14dfef,_0x534e76);return _0x58997f instanceof _0x4bf482[_0x31f0db(0x397)]?_0x58997f[_0x31f0db(0x18b)]():(_0x58997f instanceof _0x4bf482[_0x31f0db(0x370)]||_0x58997f instanceof _0x4bf482[_0x31f0db(0x137)])&&_0x58997f[_0x31f0db(0xcb)](),_0x58997f;}return this[_0x31f0db(0x401)][_0x31f0db(0x34e)](_0x4bf482['OfflineState'],_0x19b6e8,this[_0x31f0db(0x19d)],_0x41ec7c,_0x14dfef,_0x534e76);}[_0x12ab33(0x287)](_0x2d44e9,_0x30d09e){var _0x41ee6d=_0x12ab33,_0x3003c3,_0x340bbb;const _0x2fc591=this[_0x41ee6d(0x11a)][_0x41ee6d(0x42b)][_0x41ee6d(0x2e0)](this[_0x41ee6d(0x11a)]['interceptor'][_0x41ee6d(0x121)]()[_0x41ee6d(0x24c)]);(_0x3003c3=_0x2fc591((_0x2d44e9==null?void 0x0:_0x2d44e9[_0x41ee6d(0x34d)])||[],null))==null||_0x3003c3['forEach'](_0x177978=>this[_0x41ee6d(0x1e2)]['executeCommand'](_0x177978['id'],_0x177978[_0x41ee6d(0x27c)])),(_0x340bbb=_0x2fc591(_0x30d09e||[],null))==null||_0x340bbb['forEach'](_0xb7fc96=>this['_commandService'][_0x41ee6d(0x29d)](_0xb7fc96['id'],_0xb7fc96['params']));}},_0x4bf482[_0x12ab33(0xb0)]=_0x29d5b5([_0xa345b7(0x3,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0xa345b7(0x4,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x2c6)])),_0xa345b7(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0xa345b7(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0xa345b7(0x7,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0xa345b7(0x8,_0x449ba5['IUniverInstanceService']),_0xa345b7(0x9,_0x449ba5[_0x12ab33(0x37b)]),_0xa345b7(0xa,_0x449ba5[_0x12ab33(0x20a)]),_0xa345b7(0xb,_0x449ba5['IPermissionService']),_0xa345b7(0xc,_0x449ba5['Optional'](_0x6f1b14)),_0xa345b7(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0xb0)]),_0x4bf482[_0x12ab33(0x226)]=class extends _0x4bf482['CollaborationEntity']{constructor(_0x5e84ca,_0x22056c,_0x92fa92,_0x3b32a0,_0x5701eb,_0x24e7ec,_0x34a00b,_0x5204eb,_0x4320ce,_0x350b86,_0xf2769e,_0x7fe1eb,_0x4f53c5,_0x2437d4){var _0x4647e8=_0x12ab33;super(_0x5e84ca,_0x92fa92,_0x22056c,_0x3b32a0,_0x5701eb,_0x24e7ec,_0x34a00b,_0x5204eb,_0x4320ce,_0x350b86,_0xf2769e,_0x7fe1eb,_0x4f53c5,_0x2437d4),_0x389841(this,'_handlerCallback',null),(this[_0x4647e8(0x183)]=_0x5e84ca,this[_0x4647e8(0x424)]=_0x22056c);}[_0x12ab33(0x1b2)](_0x6dabb4){var _0x4185e3=_0x12ab33;this[_0x4185e3(0x105)]=_0x6dabb4;}[_0x12ab33(0x35e)](){var _0x1a82e1=_0x12ab33;this[_0x1a82e1(0x105)]=null,super['dispose']();}['_createHandler'](){var _0x3ff5dc=_0x12ab33;const _0x5d6b3c=super[_0x3ff5dc(0x12d)]();return _0x5d6b3c[_0x3ff5dc(0x307)]=_0x28d022=>{var _0x34ad46=_0x3ff5dc,_0x846c02,_0x1b43f4;return(_0x1b43f4=(_0x846c02=this['_handlerCallback'])==null?void 0x0:_0x846c02[_0x34ad46(0x307)])==null?void 0x0:_0x1b43f4[_0x34ad46(0x1a5)](_0x846c02,_0x28d022);},_0x5d6b3c[_0x3ff5dc(0x353)]=_0x15c9ab=>{var _0xd0fcfe=_0x3ff5dc,_0x4c803d,_0x369c05;return(_0x369c05=(_0x4c803d=this[_0xd0fcfe(0x105)])==null?void 0x0:_0x4c803d[_0xd0fcfe(0x353)])==null?void 0x0:_0x369c05[_0xd0fcfe(0x1a5)](_0x4c803d,_0x15c9ab);},_0x5d6b3c[_0x3ff5dc(0x3e3)]=_0x5d5861=>{var _0x2ac481=_0x3ff5dc,_0x488fce,_0x54e48c;return(_0x54e48c=(_0x488fce=this[_0x2ac481(0x105)])==null?void 0x0:_0x488fce['onTransformSelections'])==null?void 0x0:_0x54e48c['call'](_0x488fce,_0x5d5861);},_0x5d6b3c[_0x3ff5dc(0x11e)]=_0x5a59ba=>{var _0x1535c0=_0x3ff5dc,_0x55a0c3,_0x5170b6;return(_0x5170b6=(_0x55a0c3=this['_handlerCallback'])==null?void 0x0:_0x55a0c3[_0x1535c0(0x11e)])==null?void 0x0:_0x5170b6['call'](_0x55a0c3,_0x5a59ba);},_0x5d6b3c[_0x3ff5dc(0xf4)]=_0x15aefd=>{var _0x56ee64=_0x3ff5dc,_0x1968da,_0x3414c5,_0x5e0c7;if(!((_0x1968da=this['_handlerCallback'])!=null&&_0x1968da[_0x56ee64(0xf4)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5e0c7=(_0x3414c5=this[_0x56ee64(0x105)])==null?void 0x0:_0x3414c5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5e0c7['call'](_0x3414c5,_0x15aefd);},_0x5d6b3c[_0x3ff5dc(0x18f)]=_0x747f7a=>{var _0x9e1360=_0x3ff5dc,_0x143084,_0x39704e,_0x117664;if(!((_0x143084=this['_handlerCallback'])!=null&&_0x143084[_0x9e1360(0x18f)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x117664=(_0x39704e=this[_0x9e1360(0x105)])==null?void 0x0:_0x39704e[_0x9e1360(0x18f)])==null?void 0x0:_0x117664[_0x9e1360(0x1a5)](_0x39704e,_0x747f7a);},_0x5d6b3c;}async[_0x12ab33(0x256)](){var _0x53a8f7=_0x12ab33;const _0x27bb5e=await super[_0x53a8f7(0x256)]();return this['disposeWithMe'](this[_0x53a8f7(0x1e2)]['onMutationExecutedForCollab']((_0x277aa6,_0x5f1b53)=>{var _0x48fda2=_0x53a8f7;if(_0x277aa6[_0x48fda2(0x424)]!==_0x449ba5[_0x48fda2(0x2b5)]['MUTATION']||_0x5f1b53!=null&&_0x5f1b53[_0x48fda2(0x33a)]||_0x5f1b53!=null&&_0x5f1b53[_0x48fda2(0x1d9)]||_0x277aa6['id']===_0x187ef9[_0x48fda2(0x31a)]['id'])return;const _0x411f1b=_0x277aa6[_0x48fda2(0x27c)];if((_0x411f1b==null?void 0x0:_0x411f1b[_0x48fda2(0x109)])!==this[_0x48fda2(0x183)])return;const _0x37cfc1=_0x277aa6,_0x21bfd2=this['_compressMutationService'][_0x48fda2(0x42b)][_0x48fda2(0x2e0)](this['_compressMutationService'][_0x48fda2(0x42b)][_0x48fda2(0x121)]()[_0x48fda2(0x1ef)])([_0x37cfc1],this['_univerInstanceService'])||[_0x37cfc1];this[_0x48fda2(0x3df)](_0x21bfd2[0x0]);})),_0x27bb5e;}},_0x4bf482['DocCollaborationEntity']=_0x29d5b5([_0xa345b7(0x3,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0xa345b7(0x4,_0x449ba5['Inject'](_0x4811d6['CompressMutationService'])),_0xa345b7(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0xa345b7(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6['RevisionService'])),_0xa345b7(0x7,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0xa345b7(0x8,_0x449ba5[_0x12ab33(0x38b)]),_0xa345b7(0x9,_0x449ba5['ILogService']),_0xa345b7(0xa,_0x449ba5[_0x12ab33(0x20a)]),_0xa345b7(0xb,_0x449ba5[_0x12ab33(0x340)]),_0xa345b7(0xc,_0x449ba5[_0x12ab33(0xce)](_0x6f1b14)),_0xa345b7(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x226)]),_0x4bf482['SheetCollaborationEntity']=class extends _0x4bf482[_0x12ab33(0xb0)]{constructor(_0x4f12e8,_0x4daba6,_0x2dc185,_0x120c02,_0x37304b,_0x23c1b7,_0x51cbd3,_0x75ad4f,_0x5a63c3,_0x33d960,_0x2dc05f,_0x4b0349,_0x4db8be,_0x15e2f0,_0x552612){var _0x27f118=_0x12ab33;super(_0x4f12e8,_0x2dc185,_0x4daba6,_0x120c02,_0x37304b,_0x23c1b7,_0x51cbd3,_0x5a63c3,_0x33d960,_0x2dc05f,_0x4b0349,_0x4db8be,_0x15e2f0,_0x552612),this[_0x27f118(0x183)]=_0x4f12e8,this[_0x27f118(0x424)]=_0x4daba6,this[_0x27f118(0xe4)]=_0x75ad4f;}[_0x12ab33(0x12d)](){var _0x4b9f52=_0x12ab33;const _0x19be43=super[_0x4b9f52(0x12d)]();return _0x19be43['onTransformSelections']=_0x3c7ca2=>this[_0x4b9f52(0xe4)]['transformSelections'](_0x3c7ca2),_0x19be43;}async[_0x12ab33(0x256)](){var _0x5e1495=_0x12ab33;const _0x305b29=await super[_0x5e1495(0x256)]();return this['disposeWithMe'](this[_0x5e1495(0x1e2)][_0x5e1495(0x177)]((_0x11437a,_0x4b3afc)=>{var _0x3de3bf=_0x5e1495;if(_0x11437a[_0x3de3bf(0x424)]!==_0x449ba5[_0x3de3bf(0x2b5)][_0x3de3bf(0x3d3)]||_0x4b3afc!=null&&_0x4b3afc['fromCollab']||_0x4b3afc!=null&&_0x4b3afc[_0x3de3bf(0x1d9)])return;const _0x22c345=_0x11437a[_0x3de3bf(0x27c)];if((_0x22c345==null?void 0x0:_0x22c345[_0x3de3bf(0x109)])!==this['unitID'])return;const _0x5c2733=_0x11437a,_0x118558=this[_0x3de3bf(0x11a)][_0x3de3bf(0x42b)][_0x3de3bf(0x2e0)](this[_0x3de3bf(0x11a)][_0x3de3bf(0x42b)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5c2733],this[_0x3de3bf(0x436)])||[_0x5c2733];this['_onLocalMutation'](_0x118558[0x0]);})),_0x305b29;}},_0x4bf482[_0x12ab33(0x2ed)]=_0x29d5b5([_0xa345b7(0x3,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0xa345b7(0x4,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x2c6)])),_0xa345b7(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0xa345b7(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0xa345b7(0x7,_0x449ba5[_0x12ab33(0x116)](_0x4bf482[_0x12ab33(0x280)])),_0xa345b7(0x8,_0x449ba5['Inject'](_0x382c6e)),_0xa345b7(0x9,_0x449ba5[_0x12ab33(0x38b)]),_0xa345b7(0xa,_0x449ba5[_0x12ab33(0x37b)]),_0xa345b7(0xb,_0x449ba5[_0x12ab33(0x20a)]),_0xa345b7(0xc,_0x449ba5[_0x12ab33(0x340)]),_0xa345b7(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6f1b14)),_0xa345b7(0xe,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482[_0x12ab33(0x2ed)]);const _0x22ffa0=_0x449ba5[_0x12ab33(0x37d)](_0x12ab33(0x19a));function _0x4820e4(_0xf9d71){var _0x3358c5=_0x12ab33,_0x1996f8,_0x32cb16,_0x4e1b2c,_0x413c0a,_0x5d68f7;const _0x56496c=_0xf9d71[_0x3358c5(0x166)],_0x2fde37=JSON['parse'](_0x56496c);switch(_0x2fde37[_0x3358c5(0x435)]){case _0x366ec0['HEARTBEAT']:case _0x366ec0[_0x3358c5(0xad)]:{const _0x1fa13e=_0x2fde37[_0x3358c5(0x34f)];return{..._0x2fde37,'data':_0x1fa13e,'cmd':_0x2fde37[_0x3358c5(0x435)]};}case _0x366ec0[_0x3358c5(0x431)]:{const _0x5c6aad=_0x2fde37[_0x3358c5(0x2bb)];return{..._0x2fde37,'data':_0x5c6aad,'cmd':_0x2fde37['cmd']};}case _0x366ec0[_0x3358c5(0x29a)]:{const _0x34f054=_0x2fde37[_0x3358c5(0x14e)];switch(_0x34f054[_0x3358c5(0x28c)]){case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x151)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x1996f8=_0x34f054['permissionRejEvent'])==null?void 0x0:_0x1996f8['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)]['CHANGESET_ACK']:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x32cb16=_0x34f054[_0x3358c5(0x10e)])==null?void 0x0:_0x32cb16['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x2c1)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x4e1b2c=_0x34f054[_0x3358c5(0x364)])==null?void 0x0:_0x4e1b2c['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x383)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x413c0a=_0x34f054[_0x3358c5(0x26c)])==null?void 0x0:_0x413c0a['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x119)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x5d68f7=_0x34f054[_0x3358c5(0x23d)])==null?void 0x0:_0x5d68f7['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x249)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x40e)]},'cmd':_0x2fde37['cmd']};case _0x4811d6['CollaborationEvent'][_0x3358c5(0x13d)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x3a9)]},'cmd':_0x2fde37['cmd']};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x42f)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x27a)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x329)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x132)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4811d6['CollaborationEvent'][_0x3358c5(0x1ad)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054['liveShareOperation']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x2f8)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x132)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x3f2)]:return{..._0x2fde37,'data':_0x34f054,'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x3b9)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x1ca)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x31c)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x211)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0xfb)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0xba)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x207)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x325)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};default:return _0x2fde37;}}default:return _0x2fde37;}}function _0x111693(_0x29d84c){var _0x298d9d=_0x12ab33;switch(_0x29d84c[_0x298d9d(0x435)]){case _0x366ec0[_0x298d9d(0x34c)]:case _0x366ec0[_0x298d9d(0xad)]:return JSON[_0x298d9d(0x3b6)]({'cmd':_0x29d84c[_0x298d9d(0x435)],'routeKey':_0x29d84c[_0x298d9d(0x17c)]});case _0x366ec0[_0x298d9d(0x25c)]:{let _0x16a2c5;switch(_0x29d84c[_0x298d9d(0x166)][_0x298d9d(0x28c)]){case _0x4811d6['CollaborationEvent'][_0x298d9d(0x249)]:{_0x16a2c5={'eventID':_0x4811d6['CollaborationEvent'][_0x298d9d(0x249)],'updateCursorEvent':_0x29d84c[_0x298d9d(0x166)][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x42f)]:{_0x16a2c5={'eventID':_0x4811d6['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x29d84c[_0x298d9d(0x166)]['data']};break;}case _0x4811d6['CollaborationEvent'][_0x298d9d(0x13d)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x13d)],'joinEvent':_0x29d84c['data'][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x329)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x29d84c[_0x298d9d(0x166)]['data']};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x1ad)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x1ad)],'liveShareOperation':_0x29d84c['data'][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x2f8)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x2f8)],'liveShareTerminate':_0x29d84c[_0x298d9d(0x166)]['data']};break;}case _0x4811d6[_0x298d9d(0x381)]['LIVESHARE_REQUEST_HOST']:{_0x16a2c5={'eventID':_0x4811d6['CollaborationEvent'][_0x298d9d(0x409)],'liveShareRequestHost':_0x29d84c[_0x298d9d(0x166)][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x2d2)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x16a2c5={'eventID':_0x29d84c[_0x298d9d(0x166)]['eventID']};}return JSON[_0x298d9d(0x3b6)]({'cmd':_0x29d84c['cmd'],'routeKey':_0x29d84c[_0x298d9d(0x17c)],'collaMsg':_0x16a2c5});}case _0x366ec0['JOIN']:return JSON['stringify']({'cmd':_0x29d84c[_0x298d9d(0x435)],'routeKey':_0x29d84c[_0x298d9d(0x17c)],'joinReq':_0x29d84c[_0x298d9d(0x166)]});case _0x366ec0[_0x298d9d(0x103)]:return JSON[_0x298d9d(0x3b6)]({'cmd':_0x29d84c[_0x298d9d(0x435)],'routeKey':_0x29d84c['routeKey'],'leaveReq':_0x29d84c[_0x298d9d(0x166)]});default:throw new Error(_0x298d9d(0x3cc));}}var _0x112f9d=Object[_0x12ab33(0x39e)],_0x40d664=(_0x26244d,_0x2499ef,_0x116cc6,_0x56c25f)=>{var _0x4773f1=_0x12ab33;for(var _0x298901=_0x56c25f>0x1?void 0x0:_0x56c25f?_0x112f9d(_0x2499ef,_0x116cc6):_0x2499ef,_0x410590=_0x26244d[_0x4773f1(0xe6)]-0x1,_0x483d2a;_0x410590>=0x0;_0x410590--)(_0x483d2a=_0x26244d[_0x410590])&&(_0x298901=_0x483d2a(_0x298901)||_0x298901);return _0x298901;},_0x4eb2a0=(_0x3dd0be,_0x24451c)=>(_0x131537,_0xae12c0)=>_0x24451c(_0x131537,_0xae12c0,_0x3dd0be);const _0x559ff3=_0x449ba5['createIdentifier']('univer-pro.collaboration-client-socket-service');function _0x2ef7a9(_0x49cde9,_0x351d94,_0x4acc03){var _0x5410d7=_0x12ab33;return _0x49cde9+'/'+_0x351d94+_0x5410d7(0x1a9)+_0x4acc03+'/new_changes';}_0x4bf482[_0x12ab33(0x295)]=class extends _0x449ba5['Disposable']{constructor(_0x28cab4,_0x108b92,_0xa4b36a,_0x4ea1fc,_0x30e64d){var _0x291d67=_0x12ab33;super(),this[_0x291d67(0x401)]=_0x28cab4,this[_0x291d67(0xe5)]=_0x108b92,this['_configService']=_0xa4b36a,this[_0x291d67(0x400)]=_0x4ea1fc,this[_0x291d67(0x2f1)]=_0x30e64d;}[_0x12ab33(0x37e)](_0x3f963d){var _0xc17fcd=_0x12ab33;const _0x331de1=this[_0xc17fcd(0x401)][_0xc17fcd(0x1fa)](_0xcd2fb4['ISocketService']);if(!_0x331de1)throw new Error(_0xc17fcd(0x129));const _0x449eed=_0x331de1['createSocket'](_0x3f963d);if(!_0x449eed)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2ee634=new _0x449ba5[(_0xc17fcd(0x1c3))](),_0x2fe59f=new _0x550b9f['Subject']();_0x2ee634[_0xc17fcd(0x394)](_0x449eed[_0xc17fcd(0x2a4)]['subscribe'](_0x85bda1=>_0x2fe59f[_0xc17fcd(0xaf)](_0x85bda1))),_0x2ee634[_0xc17fcd(0x394)](_0x449ba5[_0xc17fcd(0x36c)](()=>_0x2fe59f[_0xc17fcd(0x240)]()));const _0x13e14d=new _0x550b9f['Subject']();_0x2ee634[_0xc17fcd(0x394)](_0x449eed[_0xc17fcd(0x2a2)][_0xc17fcd(0x368)](_0x13167a=>_0x13e14d[_0xc17fcd(0xaf)](_0x13167a))),_0x2ee634[_0xc17fcd(0x394)](_0x449ba5[_0xc17fcd(0x36c)](()=>_0x13e14d[_0xc17fcd(0x240)]()));const _0x56d8de=new _0x550b9f[(_0xc17fcd(0x10a))]();_0x2ee634[_0xc17fcd(0x394)](_0x449eed['message$'][_0xc17fcd(0x368)](_0x56f106=>{var _0x1996ff=_0xc17fcd;const _0x2c4801=_0x4820e4(_0x56f106);_0x56d8de[_0x1996ff(0xaf)](_0x2c4801);})),_0x2ee634[_0xc17fcd(0x394)](_0x449ba5[_0xc17fcd(0x36c)](()=>_0x56d8de[_0xc17fcd(0x240)]()));let _0x104afa;const _0x414d0e=()=>{var _0x2b7a9c=_0xc17fcd;_0x13e14d['next'](new Event('connection\x20error')),_0x2fe59f[_0x2b7a9c(0xaf)](new Event(_0x2b7a9c(0x2f6))),_0x104afa[_0x2b7a9c(0x1e5)]();};return _0x104afa={'memberID':'','close$':_0x2fe59f[_0xc17fcd(0xda)](),'error$':_0x13e14d[_0xc17fcd(0xda)](),'open$':_0x449eed['open$'],'message$':_0x56d8de[_0xc17fcd(0xda)](),'send':_0x5b6e2b=>{var _0x4adfa4=_0xc17fcd;if(_0x5b6e2b[_0x4adfa4(0x435)]===_0x366ec0[_0x4adfa4(0x25c)]){if(_0x5b6e2b['data']['eventID']===_0x4811d6[_0x4adfa4(0x381)][_0x4adfa4(0x308)]){this[_0x4adfa4(0x378)](_0x104afa,_0x5b6e2b['data'])[_0x4adfa4(0x150)](_0x393afa=>{var _0x1d9a5d=_0x4adfa4;this['_logService'][_0x1d9a5d(0x2f2)](_0x393afa),_0x414d0e();});return;}if(_0x5b6e2b['data'][_0x4adfa4(0x28c)]===_0x4811d6[_0x4adfa4(0x381)][_0x4adfa4(0x14b)]){const _0x4b22a0=_0x5b6e2b['data'];this['_fetchMissChangesets'](_0x4b22a0)[_0x4adfa4(0x315)](_0x3eb872=>{var _0x20bca4=_0x4adfa4;_0x56d8de[_0x20bca4(0xaf)]({'cmd':_0x366ec0[_0x20bca4(0x29a)],'code':_0x369dd2['OK'],'routeKey':_0x4b22a0[_0x20bca4(0x166)][_0x20bca4(0x183)],'routeType':'','data':{'eventID':_0x4811d6[_0x20bca4(0x381)][_0x20bca4(0x404)],'data':{'changesets':_0x3eb872}}});})[_0x4adfa4(0x150)](_0x1e525b=>{var _0xec71ea=_0x4adfa4;this[_0xec71ea(0x400)]['error'](_0x1e525b),_0x414d0e();});return;}}_0x449eed[_0x4adfa4(0x199)](_0x111693(_0x5b6e2b));},'close':()=>{var _0xa89970=_0xc17fcd;_0x449eed[_0xa89970(0x1e5)](),_0x2ee634[_0xa89970(0x35e)]();}},_0x104afa;}async[_0x12ab33(0x378)](_0x4adb77,_0x39cb6c){var _0x1a2cd0=_0x12ab33,_0x19c649;const {unitType:_0x57e99b,unitID:_0x4e5dd9,changeset:_0x364bc6}=_0x39cb6c[_0x1a2cd0(0x166)],_0xc8e39={'unitID':_0x4e5dd9,'memberID':_0x4adb77[_0x1a2cd0(0x110)],'type':_0x57e99b,'changeset':_0x4811d6[_0x1a2cd0(0x1b0)](_0x364bc6)},_0x1ed202=this[_0x1a2cd0(0x3af)][_0x1a2cd0(0x18d)](_0x433534),_0x474a71=_0x2ef7a9((_0x19c649=_0x1ed202==null?void 0x0:_0x1ed202['collabSubmitChangesetUrl'])!=null?_0x19c649:_0x32249d,_0x57e99b,_0x4e5dd9);try{await this[_0x1a2cd0(0xe5)][_0x1a2cd0(0x3a4)](_0x474a71,{'body':_0xc8e39});}catch(_0x463617){throw this[_0x1a2cd0(0x400)]['error'](_0x1a2cd0(0x15e),_0x1a2cd0(0x2ac)),_0x463617;}}async['_fetchMissChangesets'](_0x96fe13){var _0x87c66f=_0x12ab33;const {unitID:_0x8e786d,from:_0x391d70,to:_0x4fb942,unitType:_0x2d104d}=_0x96fe13[_0x87c66f(0x166)];return(await this['_snapshotServerService'][_0x87c66f(0x134)]({'metadata':void 0x0},{'unitID':_0x8e786d,'type':_0x2d104d,'from':_0x391d70,'to':_0x4fb942}))['changesets'][_0x87c66f(0xc9)](_0x201bc8=>((_0x201bc8[_0x87c66f(0x34d)]===null||_0x201bc8[_0x87c66f(0x34d)]===void 0x0)&&(_0x201bc8[_0x87c66f(0x34d)]=[]),_0x201bc8));}},_0x4bf482[_0x12ab33(0x295)]=_0x40d664([_0x4eb2a0(0x0,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x4eb2a0(0x1,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4[_0x12ab33(0xfe)])),_0x4eb2a0(0x2,_0x449ba5[_0x12ab33(0x388)]),_0x4eb2a0(0x3,_0x449ba5[_0x12ab33(0x37b)]),_0x4eb2a0(0x4,_0x4811d6['ISnapshotServerService'])],_0x4bf482['CollaborationSocketService']);var _0xb8927b=Object[_0x12ab33(0x39e)],_0x525724=(_0x23485d,_0x58f273,_0x33624f,_0x318f39)=>{var _0x2e268a=_0x12ab33;for(var _0x340c87=_0x318f39>0x1?void 0x0:_0x318f39?_0xb8927b(_0x58f273,_0x33624f):_0x58f273,_0xa8c089=_0x23485d[_0x2e268a(0xe6)]-0x1,_0x2fb4b9;_0xa8c089>=0x0;_0xa8c089--)(_0x2fb4b9=_0x23485d[_0xa8c089])&&(_0x340c87=_0x2fb4b9(_0x340c87)||_0x340c87);return _0x340c87;},_0x210fbb=(_0x590e64,_0x2f3f27)=>(_0x3b65ce,_0x1bed11)=>_0x2f3f27(_0x3b65ce,_0x1bed11,_0x590e64);_0x4bf482['CollaborationSessionService']=class extends _0x449ba5[_0x12ab33(0x106)]{constructor(_0x5d6e00,_0x1ebb0a,_0x568a27,_0x3567ed,_0x4ab2d6,_0x5ac664){var _0x8d23a0=_0x12ab33;super(),_0x389841(this,'_socket$',new _0x550b9f[(_0x8d23a0(0x1f8))](void 0x0)),_0x389841(this,_0x8d23a0(0xb4),this[_0x8d23a0(0x36a)][_0x8d23a0(0xda)]()),_0x389841(this,_0x8d23a0(0x3bf),null),_0x389841(this,_0x8d23a0(0x1bd),new Map()),_0x389841(this,_0x8d23a0(0x1cf),new _0x550b9f[(_0x8d23a0(0x1f8))](_0x439d16[_0x8d23a0(0x24e)])),_0x389841(this,'status$',this['_status$']['asObservable']()),_0x389841(this,'_socketReady',!0x1),_0x389841(this,'_retryConnectingTimer'),_0x389841(this,_0x8d23a0(0xbd),0x0),_0x389841(this,'_sendHeartbeatTimer'),_0x389841(this,_0x8d23a0(0x437)),(this[_0x8d23a0(0x401)]=_0x5d6e00,this[_0x8d23a0(0x400)]=_0x1ebb0a,this[_0x8d23a0(0x3af)]=_0x568a27,this[_0x8d23a0(0x12b)]=_0x3567ed,this['_collaborationUIEventService']=_0x4ab2d6,this[_0x8d23a0(0x416)]=_0x5ac664,this['_listenToNetworkCondition']());}get['_socket'](){var _0x11e016=_0x12ab33;return this['_socket$'][_0x11e016(0xe1)]();}[_0x12ab33(0x202)](){var _0x35b1fd=_0x12ab33;this[_0x35b1fd(0x416)]&&this[_0x35b1fd(0x21e)](this[_0x35b1fd(0x416)][_0x35b1fd(0x15a)][_0x35b1fd(0x368)](_0x59a161=>{var _0x1e955b=_0x35b1fd;_0x59a161&&!this[_0x1e955b(0x220)]&&this['reconnect'](),_0x59a161||this['_onOffline']();}));}['dispose'](){var _0x1be6a7=_0x12ab33;super['dispose'](),this[_0x1be6a7(0x361)](),this[_0x1be6a7(0xbc)](),this[_0x1be6a7(0x3e6)](),this[_0x1be6a7(0x1bd)][_0x1be6a7(0x17b)](_0x217f6e=>_0x217f6e['dispose']()),this[_0x1be6a7(0x1bd)][_0x1be6a7(0x204)](),this[_0x1be6a7(0x1cf)][_0x1be6a7(0x240)]();}async[_0x12ab33(0x29f)](_0x4998b5){var _0x8d6631=_0x12ab33;if(this[_0x8d6631(0x1bd)][_0x8d6631(0xd9)](_0x4998b5))return this['_sessions']['get'](_0x4998b5);this[_0x8d6631(0x234)]();const _0x1da031=this[_0x8d6631(0x401)]['createInstance'](_0x4bf482[_0x8d6631(0x3b7)],_0x4998b5,this['_socket$'][_0x8d6631(0xda)]());return this['_sessions'][_0x8d6631(0x25b)](_0x4998b5,_0x1da031),_0x1da031;}[_0x12ab33(0x17e)](_0xacbf08){var _0x2bdde5=_0x12ab33,_0x570323;const _0x2a7131=this[_0x2bdde5(0x1bd)]['get'](_0xacbf08);_0x2a7131&&(this[_0x2bdde5(0x1bd)]['delete'](_0xacbf08),_0x2a7131[_0x2bdde5(0x1e5)]()),this['_sessions'][_0x2bdde5(0x283)]||(_0x570323=this[_0x2bdde5(0x220)])==null||_0x570323[_0x2bdde5(0x1e5)]();}[_0x12ab33(0x146)](){var _0x2ac09a=_0x12ab33;this[_0x2ac09a(0xbd)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x5cb3a4=_0x12ab33;this[_0x5cb3a4(0x40d)]!=null&&(clearTimeout(this[_0x5cb3a4(0x40d)]),this[_0x5cb3a4(0x40d)]=null);}async[_0x12ab33(0x263)](){var _0x543f14=_0x12ab33,_0x54783c;const _0x49e09e=this[_0x543f14(0x3af)][_0x543f14(0x18d)](_0x433534),_0x2f7d2f=(_0x54783c=_0x49e09e==null?void 0x0:_0x49e09e[_0x543f14(0x153)])!=null?_0x54783c:_0x19a15b,_0x5ec253=await this[_0x543f14(0x12b)][_0x543f14(0x268)](_0x2f7d2f);return this[_0x543f14(0x3bf)]=_0x5ec253,_0x5ec253;}async[_0x12ab33(0x234)](){var _0x1ad965=_0x12ab33,_0x207d30,_0x35c92d;try{const _0x37c3a2=(_0x35c92d=(_0x207d30=this[_0x1ad965(0x220)])!=null?_0x207d30:this['_candidateSocket'])!=null?_0x35c92d:await this[_0x1ad965(0x263)]();if(_0x37c3a2){const _0x26c08e=_0x37c3a2[_0x1ad965(0x199)];_0x37c3a2[_0x1ad965(0x199)]=_0x30d763=>(this[_0x1ad965(0xd8)](),_0x26c08e[_0x1ad965(0x2fa)](_0x37c3a2,[_0x30d763])),_0x37c3a2[_0x1ad965(0x38c)][_0x1ad965(0x368)](_0x222862=>this[_0x1ad965(0x193)](_0x37c3a2,_0x222862)),_0x37c3a2[_0x1ad965(0x2a2)][_0x1ad965(0x188)](_0x4a20aa[_0x1ad965(0x3c0)](0x1))[_0x1ad965(0x368)](_0x18d0a1=>this[_0x1ad965(0x400)][_0x1ad965(0x2f2)]('[CollaborationSessionService]:\x20socket\x20error',_0x18d0a1)),_0x37c3a2[_0x1ad965(0x432)][_0x1ad965(0x188)](_0x4a20aa['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x37c3a2);}),_0x37c3a2[_0x1ad965(0x2a4)][_0x1ad965(0x188)](_0x4a20aa[_0x1ad965(0x3c0)](0x1))[_0x1ad965(0x368)](_0x429048=>{var _0x519cbd=_0x1ad965;this[_0x519cbd(0x400)][_0x519cbd(0x2ea)](_0x519cbd(0xc2),_0x519cbd(0x313),_0x429048),this[_0x519cbd(0x16c)]();});}}catch(_0x338a67){this[_0x1ad965(0x400)]['error'](_0x338a67),this['_onConnectionFailed']();}}[_0x12ab33(0x189)](_0x25dc81){var _0x3e079e=_0x12ab33;this[_0x3e079e(0x400)][_0x3e079e(0x2ea)]('[CollaborationSessionService]',_0x3e079e(0x345)),_0x25dc81[_0x3e079e(0x199)]({'cmd':_0x366ec0[_0x3e079e(0xad)]}),this[_0x3e079e(0xd8)]();}[_0x12ab33(0x161)](){var _0x1c77bf=_0x12ab33;this[_0x1c77bf(0x347)]=!0x1,this[_0x1c77bf(0x3bf)]=null,this['_status$'][_0x1c77bf(0xaf)](_0x439d16[_0x1c77bf(0x3d1)]),this['_socket$'][_0x1c77bf(0xaf)](null),this[_0x1c77bf(0xbc)](),this[_0x1c77bf(0x3e6)]();}['_onConnectionFailed'](){var _0x564003=_0x12ab33,_0x1d0c8a;this['_onOffline'](),this[_0x564003(0xbd)]<((_0x1d0c8a=this[_0x564003(0x3af)]['getConfig'](_0x8019cb))!=null?_0x1d0c8a:0x3)?(this[_0x564003(0x18e)]['emitEvent']({'id':_0x49a56d[_0x564003(0x33e)]}),this[_0x564003(0x42e)]()):this['_collaborationUIEventService'][_0x564003(0x3c1)]({'id':_0x49a56d[_0x564003(0x3a0)]});}['_tryReconnect'](){var _0x22bf2a=_0x12ab33,_0x50fe5d;const _0x3ac05c=this[_0x22bf2a(0xbd)],_0x1055b4=this[_0x22bf2a(0x3af)][_0x22bf2a(0x18d)](_0x433534),_0xf8a509=_0x3ac05c===0x0?0x0:((_0x50fe5d=_0x1055b4==null?void 0x0:_0x1055b4[_0x22bf2a(0x3a1)])!=null?_0x50fe5d:0x4e20)*0x2**_0x3ac05c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x17b583=_0x22bf2a;clearTimeout(this[_0x17b583(0x40d)]),this[_0x17b583(0x40d)]=null,this['_tryEnsureSocket']();},_0xf8a509),this['_retryCount']+=0x1;}['_onMessage'](_0x386bb8,_0x34c4f8){var _0x4b3d98=_0x12ab33;const {cmd:_0x35c65d}=_0x34c4f8;_0x35c65d===_0x366ec0[_0x4b3d98(0xad)]&&!this['_socketReady']&&(_0x386bb8[_0x4b3d98(0x110)]=_0x34c4f8[_0x4b3d98(0x166)][_0x4b3d98(0x110)],this['_socket$'][_0x4b3d98(0xaf)](_0x386bb8),this[_0x4b3d98(0x1cf)][_0x4b3d98(0xaf)](_0x439d16[_0x4b3d98(0x20d)]),this[_0x4b3d98(0x347)]=!0x0,this[_0x4b3d98(0x3bf)]=null),_0x35c65d===_0x366ec0['HEARTBEAT']&&this[_0x4b3d98(0xbc)](),this[_0x4b3d98(0xd8)]();}['_rescheduleHeartbeat'](){var _0x80afe=_0x12ab33,_0x4eae54;this[_0x80afe(0x3e6)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4eae54=this[_0x80afe(0x3af)][_0x80afe(0x18d)](_0x5f4e3a))!=null?_0x4eae54:0x7530);}[_0x12ab33(0x323)](){var _0x285b37=_0x12ab33;this['_socket']['send']({'cmd':_0x366ec0[_0x285b37(0x34c)]}),this[_0x285b37(0x11d)]();}[_0x12ab33(0x11d)](){var _0x572ae3=_0x12ab33,_0x12bbed;this[_0x572ae3(0x437)]=setTimeout(()=>this[_0x572ae3(0x16c)](),(_0x12bbed=this['_configService'][_0x572ae3(0x18d)](_0x5e9f32))!=null?_0x12bbed:0x4e20);}[_0x12ab33(0x3e6)](){var _0x34e06e=_0x12ab33;this[_0x34e06e(0x366)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x34e06e(0x366)]=null);}[_0x12ab33(0xbc)](){var _0x5a15e2=_0x12ab33;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5a15e2(0x437)]),this[_0x5a15e2(0x437)]=null);}},_0x4bf482[_0x12ab33(0x1b8)]=_0x525724([_0x210fbb(0x0,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x210fbb(0x1,_0x449ba5[_0x12ab33(0x37b)]),_0x210fbb(0x2,_0x449ba5[_0x12ab33(0x388)]),_0x210fbb(0x3,_0x559ff3),_0x210fbb(0x4,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0x210fbb(0x5,_0x449ba5[_0x12ab33(0xce)](_0x22ffa0))],_0x4bf482[_0x12ab33(0x1b8)]);var _0x1be8d0=Object['getOwnPropertyDescriptor'],_0x15fd40=(_0x130c15,_0x28984e,_0x4f9d0d,_0x8df31b)=>{var _0x152b0d=_0x12ab33;for(var _0x4e791d=_0x8df31b>0x1?void 0x0:_0x8df31b?_0x1be8d0(_0x28984e,_0x4f9d0d):_0x28984e,_0x290e14=_0x130c15[_0x152b0d(0xe6)]-0x1,_0x103019;_0x290e14>=0x0;_0x290e14--)(_0x103019=_0x130c15[_0x290e14])&&(_0x4e791d=_0x103019(_0x4e791d)||_0x4e791d);return _0x4e791d;},_0x3679b0=(_0x2143da,_0x46c054)=>(_0x415f1d,_0x48cce7)=>_0x46c054(_0x415f1d,_0x48cce7,_0x2143da);_0x4bf482['CollaborationController']=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x49de48,_0x2dfee8,_0x25c8d3,_0x585f5e){var _0x3a6903=_0x12ab33,_0x24d05c;super(),_0x389841(this,_0x3a6903(0x3ec),new Map()),_0x389841(this,_0x3a6903(0x3de),new _0x550b9f[(_0x3a6903(0x10a))]()),_0x389841(this,'entityInit$',this[_0x3a6903(0x3de)][_0x3a6903(0xda)]()),(this['_injector']=_0x49de48,this[_0x3a6903(0x140)]=_0x2dfee8,this['_configService']=_0x25c8d3,this['_univerInstanceService']=_0x585f5e,((_0x24d05c=this['_configService'][_0x3a6903(0x18d)](_0x433534))==null?void 0x0:_0x24d05c[_0x3a6903(0x2ad)])!==!0x1&&this[_0x3a6903(0x256)]());}[_0x12ab33(0x35e)](){var _0x3c1b1b=_0x12ab33;super[_0x3c1b1b(0x35e)](),this[_0x3c1b1b(0x3ec)]['forEach'](_0x411d1b=>_0x411d1b[_0x3c1b1b(0x35e)]()),this[_0x3c1b1b(0x3ec)]['clear']();}[_0x12ab33(0x159)](_0xc611f){var _0x39bb7f=_0x12ab33,_0x3cbb5a;return(_0x3cbb5a=this['_entities'][_0x39bb7f(0x1fa)](_0xc611f))!=null?_0x3cbb5a:null;}[_0x12ab33(0x354)](_0x29e22d){var _0x24c687=_0x12ab33;const _0xc25ec7=this[_0x24c687(0x159)](_0x29e22d);return _0xc25ec7?_0x550b9f['of'](_0xc25ec7):this[_0x24c687(0x3de)][_0x24c687(0x188)](_0x4a20aa['filter'](_0x470001=>_0x470001[_0x24c687(0x183)]===_0x29e22d));}['readyForCollab'](_0x131d77){var _0xac6eaa=_0x12ab33;return _0x550b9f[_0xac6eaa(0x206)](this['getCollabEntity$'](_0x131d77)[_0xac6eaa(0x188)](_0x4a20aa['map'](()=>{})));}[_0x12ab33(0x256)](){var _0x2f0140=_0x12ab33;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x449ba5['UniverInstanceType'][_0x2f0140(0x343)])[_0x2f0140(0x188)](_0x550b9f['takeUntil'](this[_0x2f0140(0x338)]),_0x4a20aa[_0x2f0140(0x15d)](0x10))[_0x2f0140(0x368)](async _0x17939a=>{var _0x3a0a54=_0x2f0140;const _0x29c148=_0x17939a[_0x3a0a54(0x26f)](),_0xdd1ac5=await this[_0x3a0a54(0x3ce)](_0x29c148,_0x5bae36['UNIVER_SHEET']);this['_entities'][_0x3a0a54(0x25b)](_0x29c148,_0xdd1ac5);}),this[_0x2f0140(0x436)][_0x2f0140(0x43e)](_0x449ba5[_0x2f0140(0x3c2)][_0x2f0140(0xef)])['pipe'](_0x550b9f['takeUntil'](this['dispose$']),_0x4a20aa[_0x2f0140(0x15d)](0x10))[_0x2f0140(0x188)](_0x4a20aa[_0x2f0140(0x16b)](_0x239149=>!_0x239149[_0x2f0140(0x26f)]()[_0x2f0140(0x331)]('__')))['subscribe'](async _0x36a08d=>{var _0x2fb5f2=_0x2f0140;const _0x115261=_0x36a08d[_0x2fb5f2(0x26f)](),_0x3c29e0=await this['_startCollaboration'](_0x115261,_0x5bae36[_0x2fb5f2(0xef)]);this['_entities'][_0x2fb5f2(0x25b)](_0x115261,_0x3c29e0);}),_0x550b9f['merge'](this[_0x2f0140(0x436)][_0x2f0140(0x167)](_0x449ba5['UniverInstanceType']['UNIVER_SHEET']),this[_0x2f0140(0x436)][_0x2f0140(0x167)](_0x449ba5[_0x2f0140(0x3c2)][_0x2f0140(0xef)]))[_0x2f0140(0x188)](_0x550b9f['takeUntil'](this[_0x2f0140(0x338)]))['subscribe'](_0x760e02=>{var _0xc7287b=_0x2f0140;const _0x342a7d=_0x760e02[_0xc7287b(0x26f)](),_0x45d14d=this['_entities'][_0xc7287b(0x1fa)](_0x342a7d);_0x45d14d&&(_0x45d14d[_0xc7287b(0x35e)](),this[_0xc7287b(0x3ec)][_0xc7287b(0x3ea)](_0x342a7d));});}async['_startCollaboration'](_0x22b2c8,_0x4e5de2){var _0x14fbd1=_0x12ab33;const _0x952937=await this['_collabSessionService'][_0x14fbd1(0x29f)](_0x22b2c8),_0x49ddd9=this[_0x14fbd1(0x401)][_0x14fbd1(0x34e)](this[_0x14fbd1(0x1de)](_0x4e5de2),_0x22b2c8,_0x4e5de2,_0x952937);return await _0x49ddd9[_0x14fbd1(0x33d)](),this[_0x14fbd1(0x3de)][_0x14fbd1(0xaf)](_0x49ddd9),_0x49ddd9;}[_0x12ab33(0x1de)](_0x3c8479){var _0x49c282=_0x12ab33;switch(_0x3c8479){case _0x5bae36[_0x49c282(0xef)]:return _0x4bf482[_0x49c282(0x226)];case _0x5bae36[_0x49c282(0x343)]:return _0x4bf482[_0x49c282(0x2ed)];default:throw new Error(_0x49c282(0x276)+_0x3c8479);}}},_0x4bf482[_0x12ab33(0x164)]=_0x15fd40([_0x3679b0(0x0,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x3679b0(0x1,_0x449ba5[_0x12ab33(0x116)](_0x4bf482['CollaborationSessionService'])),_0x3679b0(0x2,_0x449ba5[_0x12ab33(0x388)]),_0x3679b0(0x3,_0x449ba5['IUniverInstanceService'])],_0x4bf482['CollaborationController']);var _0x53c580=Object[_0x12ab33(0x39e)],_0x29a13b=(_0x32f8ad,_0x5cbf72,_0x120cc0,_0x50496e)=>{var _0x3f548e=_0x12ab33;for(var _0x5bdcc3=_0x50496e>0x1?void 0x0:_0x50496e?_0x53c580(_0x5cbf72,_0x120cc0):_0x5cbf72,_0xb6590e=_0x32f8ad[_0x3f548e(0xe6)]-0x1,_0x208590;_0xb6590e>=0x0;_0xb6590e--)(_0x208590=_0x32f8ad[_0xb6590e])&&(_0x5bdcc3=_0x208590(_0x5bdcc3)||_0x5bdcc3);return _0x5bdcc3;},_0x3c7f85=(_0x493644,_0x58ab6e)=>(_0x11ee13,_0x37f30b)=>_0x58ab6e(_0x11ee13,_0x37f30b,_0x493644);const _0x5d6435=_0x12ab33(0x23b),_0x2b409c=_0x12ab33(0x30f);let _0x3f6d3c=class extends _0x449ba5[_0x12ab33(0x106)]{constructor(_0x436de5,_0xb08dc9){var _0x56ca37=_0x12ab33;super(),this[_0x56ca37(0x436)]=_0x436de5,this[_0x56ca37(0x3af)]=_0xb08dc9,this[_0x56ca37(0x256)]();}[_0x12ab33(0x256)](){var _0x455fae=_0x12ab33;this[_0x455fae(0x21e)](this[_0x455fae(0x436)][_0x455fae(0x1c4)][_0x455fae(0x368)](()=>{var _0x34bc96=_0x455fae,_0x215e52;const _0x20d54c=this['_univerInstanceService'][_0x34bc96(0x19c)]();let _0x4451a4=(_0x215e52=this[_0x34bc96(0x3af)][_0x34bc96(0x18d)](_0x5d6435))!=null?_0x215e52:_0x2b409c;_0x20d54c instanceof _0x449ba5[_0x34bc96(0x31f)]&&(_0x4451a4=_0x20d54c[_0x34bc96(0x3bb)]),document[_0x34bc96(0x253)]=_0x4451a4;}));}};_0x3f6d3c=_0x29a13b([_0x3c7f85(0x0,_0x449ba5['IUniverInstanceService']),_0x3c7f85(0x1,_0x449ba5[_0x12ab33(0x388)])],_0x3f6d3c);var _0x121571=Object['getOwnPropertyDescriptor'],_0xe3acd4=(_0x195304,_0x4985b0,_0x7b8ff3,_0x13137)=>{var _0x5469cb=_0x12ab33;for(var _0x48c8b7=_0x13137>0x1?void 0x0:_0x13137?_0x121571(_0x4985b0,_0x7b8ff3):_0x4985b0,_0x4efe3b=_0x195304[_0x5469cb(0xe6)]-0x1,_0x252042;_0x4efe3b>=0x0;_0x4efe3b--)(_0x252042=_0x195304[_0x4efe3b])&&(_0x48c8b7=_0x252042(_0x48c8b7)||_0x48c8b7);return _0x48c8b7;},_0xf0b054=(_0x27b984,_0x5c74e2)=>(_0x216243,_0x393564)=>_0x5c74e2(_0x216243,_0x393564,_0x27b984);let _0x559bbf=class{constructor(_0x15a8bd,_0x2756de,_0x2732ae){var _0x457cfb=_0x12ab33;this['_configService']=_0x15a8bd,this[_0x457cfb(0xe5)]=_0x2756de,this[_0x457cfb(0x1ed)]=_0x2732ae,this[_0x457cfb(0x33d)]();}[_0x12ab33(0x33d)](){var _0x39773c=_0x12ab33;this['_httpService'][_0x39773c(0x2ce)]({'priority':0x1,'interceptor':(_0x5b82de,_0x2304e3)=>_0x2304e3(_0x5b82de)[_0x39773c(0x188)](_0x550b9f['concatMap'](async _0x41558d=>{var _0x54d466=_0x39773c;const _0x5c640e=_0x41558d;if(_0x5c640e[_0x54d466(0x242)]===0x191){if(typeof window>'u')throw new Error(_0x54d466(0x21f));if(window[_0x54d466(0x3a5)](this[_0x54d466(0x1ed)]['t'](_0x54d466(0x3a2)))){const _0x506f5f=window[_0x54d466(0x236)](window[_0x54d466(0x1cc)][_0x54d466(0x439)]);window[_0x54d466(0x1cc)][_0x54d466(0x439)]=this['_getLoginPath']()+_0x54d466(0x111)+_0x506f5f;}}return _0x5c640e;}))});}['_getLoginPath'](){var _0x766b34=_0x12ab33,_0x1578c3;const _0x228741=this[_0x766b34(0x3af)][_0x766b34(0x18d)](_0x433534);return(_0x1578c3=_0x228741==null?void 0x0:_0x228741['loginUrlKey'])!=null?_0x1578c3:_0x4def6e;}};_0x559bbf=_0xe3acd4([_0xf0b054(0x0,_0x449ba5[_0x12ab33(0x388)]),_0xf0b054(0x1,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4['HTTPService'])),_0xf0b054(0x2,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)]))],_0x559bbf);var _0x4462bf=Object[_0x12ab33(0x39e)],_0x3640bf=(_0x4d5386,_0x3f7243,_0x295242,_0x48d8e9)=>{var _0x3a3b37=_0x12ab33;for(var _0x20627b=_0x48d8e9>0x1?void 0x0:_0x48d8e9?_0x4462bf(_0x3f7243,_0x295242):_0x3f7243,_0x29fde8=_0x4d5386[_0x3a3b37(0xe6)]-0x1,_0x172aa9;_0x29fde8>=0x0;_0x29fde8--)(_0x172aa9=_0x4d5386[_0x29fde8])&&(_0x20627b=_0x172aa9(_0x20627b)||_0x20627b);return _0x20627b;},_0x3d1c56=(_0x1656bc,_0x48db58)=>(_0x4b4cf7,_0x5b2f2b)=>_0x48db58(_0x4b4cf7,_0x5b2f2b,_0x1656bc);const _0x25da85='/universer-api/authz';_0x4bf482[_0x12ab33(0x395)]=class extends _0x449ba5['Disposable']{constructor(_0x55a5fb,_0x2f3acf){var _0x150d95=_0x12ab33;super(),this[_0x150d95(0x1b7)]=_0x55a5fb,this[_0x150d95(0x3af)]=_0x2f3acf,this[_0x150d95(0x399)]();}[_0x12ab33(0x399)](){var _0x21d8ed=_0x12ab33;const _0xf3070=this;this[_0x21d8ed(0x21e)](this[_0x21d8ed(0x1b7)][_0x21d8ed(0x2ce)]({'priority':0x3e7,'interceptor':_0xcd2fb4['MergeInterceptorFactory']({'isMatch'(_0x27d28c){var _0x2d2eeb=_0x21d8ed,_0x3a5450;if(_0x27d28c[_0x2d2eeb(0x1e9)]===_0x2d2eeb(0x377)&&((_0x3a5450=_0x27d28c[_0x2d2eeb(0x2c7)])!=null&&_0x3a5450[_0x2d2eeb(0x3f5)])){const {objectID:_0x5a0e32,objectType:_0x144633}=_0x27d28c[_0x2d2eeb(0x2c7)][_0x2d2eeb(0x3f5)]||{};if(!_0x5a0e32||_0x144633===void 0x0)return!0x1;const _0xa64179=_0xf3070[_0x2d2eeb(0x288)]()+'/'+_0x144633+_0x2d2eeb(0x2a8)+_0x5a0e32+_0x2d2eeb(0x28b);if(_0x27d28c['url']===_0xa64179)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3624e5){var _0x4ec7fd=_0x21d8ed,_0x48f35b;return(_0x48f35b=_0x3624e5[_0x4ec7fd(0x2c7)])==null?void 0x0:_0x48f35b[_0x4ec7fd(0x3f5)];},'mergeParamsToRequest'(_0x1dd0fa,_0x44bd2c){var _0x115844=_0x21d8ed;const _0x47cf0e=_0xf3070[_0x115844(0x288)]()+_0x115844(0x290),_0x233939=_0x1dd0fa['reduce']((_0x44fc88,_0x24adbe)=>{const {unitID:_0x5412a4,objectID:_0x349ec7,objectType:_0x353e15,actions:_0x130fd0}=_0x24adbe;return _0x44fc88[_0x5412a4]||(_0x44fc88[_0x5412a4]={}),_0x44fc88[_0x5412a4][_0x349ec7]||(_0x44fc88[_0x5412a4][_0x349ec7]={'objectID':_0x349ec7,'objectType':_0x353e15,'actions':[]}),_0x44fc88[_0x5412a4][_0x349ec7]['actions']['push'](..._0x130fd0),_0x44fc88;},{}),_0x2c484a=[];for(const _0x2d620c in _0x233939)for(const _0x168cdc in _0x233939[_0x2d620c]){const {actions:_0xd8b59,objectType:_0x31b0b0}=_0x233939[_0x2d620c][_0x168cdc],_0x3f1e24=[...new Set(_0xd8b59)];_0x2c484a['push']({'unitID':_0x2d620c,'objectID':_0x168cdc,'objectType':_0x31b0b0,'actions':_0x3f1e24});}return new _0xcd2fb4[(_0x115844(0x2c4))]('POST',_0x47cf0e,{'headers':_0x44bd2c[_0x115844(0x275)],'withCredentials':_0x44bd2c['withCredentials'],'responseType':_0x44bd2c['responseType'],'body':{'requests':_0x2c484a}});}},{'distributeResult'(_0x27876e,_0x167526){const {objectActions:_0xb33983}=_0x27876e;return _0x167526['map'](_0x16f5da=>{var _0xecf153=_0x4f3d;const {unitID:_0x4a3f73,objectID:_0x1324a3,actions:_0x14a655}=_0x16f5da,_0x55cd45=_0xb33983['find'](_0x748423=>_0x748423[_0xecf153(0x183)]===_0x4a3f73&&_0x748423[_0xecf153(0xca)]===_0x1324a3),_0x55df3b=_0x14a655[_0xecf153(0xc9)](_0x132984=>_0x55cd45==null?void 0x0:_0x55cd45[_0xecf153(0x1fe)][_0xecf153(0x22a)](_0x433880=>_0x433880['action']===_0x132984))[_0xecf153(0x16b)](_0xdfcffc=>!!_0xdfcffc);return{'config':_0x16f5da,'result':{'actions':_0x55df3b,'error':_0x27876e['error']}};});}})}));}[_0x12ab33(0x288)](){var _0x1aae2a=_0x12ab33,_0x300f3e;const _0x1b2c3d=this[_0x1aae2a(0x3af)][_0x1aae2a(0x18d)](_0x433534);return(_0x300f3e=_0x1b2c3d==null?void 0x0:_0x1b2c3d[_0x1aae2a(0x213)])!=null?_0x300f3e:_0x25da85;}async[_0x12ab33(0x142)](_0x17335f){var _0x3cfda3=_0x12ab33;const _0x3c1174=this['_getAPIPrefixPath']()+'/'+_0x17335f[_0x3cfda3(0x322)]+_0x3cfda3(0x13c);return(await this[_0x3cfda3(0x1b7)][_0x3cfda3(0x3a4)](_0x3c1174,{'body':_0x17335f}))[_0x3cfda3(0x3f5)][_0x3cfda3(0xca)]||'';}async['list'](_0x13a033){var _0x462df5=_0x12ab33;const _0x4fa421=this[_0x462df5(0x288)]()+_0x462df5(0x2f5);return(await this[_0x462df5(0x1b7)][_0x462df5(0x3a4)](_0x4fa421,{'body':_0x13a033}))['body']['objects'];}async[_0x12ab33(0x11b)](_0x302ed8){var _0x5a790b=_0x12ab33,_0x32edc5,_0x3f2021;const _0x40e263=this[_0x5a790b(0x288)]()+'/'+_0x302ed8[_0x5a790b(0x322)]+'/object/'+_0x302ed8[_0x5a790b(0xca)],_0x3f49d4=await this[_0x5a790b(0x1b7)][_0x5a790b(0x3be)](_0x40e263,{'body':_0x302ed8});if(((_0x3f2021=(_0x32edc5=_0x3f49d4==null?void 0x0:_0x3f49d4[_0x5a790b(0x3f5)])==null?void 0x0:_0x32edc5[_0x5a790b(0x2f2)])==null?void 0x0:_0x3f2021['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x12ab33(0xe7)](_0x3d54a5){var _0xfa66e0=_0x12ab33;const _0x30adde=this[_0xfa66e0(0x288)]()+'/'+_0x3d54a5['objectType']+'/object/'+_0x3d54a5[_0xfa66e0(0xca)]+_0xfa66e0(0x28b);return(await this[_0xfa66e0(0x1b7)][_0xfa66e0(0x3a4)](_0x30adde,{'body':_0x3d54a5}))['body'][_0xfa66e0(0x1fe)];}async[_0x12ab33(0x250)](_0x3b0f53){var _0x420bb5=_0x12ab33;const _0x47be65=this['_getAPIPrefixPath']()+_0x420bb5(0x290);return(await this[_0x420bb5(0x1b7)][_0x420bb5(0x3a4)](_0x47be65,{'body':{'requests':_0x3b0f53}}))['body'][_0x420bb5(0x1c8)];}async[_0x12ab33(0x10c)](_0x24dcaf){var _0x6a2af1=_0x12ab33;const _0x2410b7=this['_getAPIPrefixPath']()+'/'+_0x24dcaf[_0x6a2af1(0x322)]+_0x6a2af1(0x248),_0x1c7d8e=await this[_0x6a2af1(0x1b7)][_0x6a2af1(0x3a4)](_0x2410b7,{'body':_0x24dcaf});return{'roles':_0x1c7d8e[_0x6a2af1(0x3f5)][_0x6a2af1(0x272)],'actions':_0x1c7d8e[_0x6a2af1(0x3f5)]['actions']};}async[_0x12ab33(0x185)](_0x13ef89){var _0x274e66=_0x12ab33;const _0xcfacb2=this[_0x274e66(0x288)]()+_0x274e66(0xe0);await this[_0x274e66(0x1b7)][_0x274e66(0x3ea)](_0xcfacb2,{'params':{'collaboratorID':_0x13ef89['collaboratorID'],'objectID':_0x13ef89[_0x274e66(0xca)],'unitID':_0x13ef89[_0x274e66(0x183)]}});}async['updateCollaborator'](_0x5ab365){var _0x44b825=_0x12ab33;const _0x27bcd5=this[_0x44b825(0x288)]()+_0x44b825(0xe0);await this['_HTTPService'][_0x44b825(0x3ab)](_0x27bcd5,{'body':_0x5ab365});}async[_0x12ab33(0x128)](_0x164830){var _0x2c7ce9=_0x12ab33;const _0x2d1483=this['_getAPIPrefixPath']()+_0x2c7ce9(0xe0);await this[_0x2c7ce9(0x1b7)][_0x2c7ce9(0x3a4)](_0x2d1483,{'body':_0x164830});}async[_0x12ab33(0x1aa)](_0x57c16b){var _0x570b39=_0x12ab33;const _0x3f291c=this[_0x570b39(0x288)]()+'/collaborator';return(await this[_0x570b39(0x1b7)][_0x570b39(0x1fa)](_0x3f291c,{'params':{'objectID':_0x57c16b[_0x570b39(0xca)],'unitID':_0x57c16b[_0x570b39(0x183)]}}))[_0x570b39(0x3f5)]['collaborators'];}async['putCollaborators'](_0x34bbf6){var _0x4c37be=_0x12ab33;const _0x21f375=this[_0x4c37be(0x288)]()+'/collaborator';await this[_0x4c37be(0x1b7)][_0x4c37be(0x3be)](_0x21f375,{'body':_0x34bbf6});}},_0x4bf482['AuthzIoHttpService']=_0x3640bf([_0x3d1c56(0x0,_0x449ba5['Inject'](_0xcd2fb4['HTTPService'])),_0x3d1c56(0x1,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x388)]))],_0x4bf482[_0x12ab33(0x395)]);var _0x5ec76b=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1f767d(_0x12e567){var _0x50de23=_0x12ab33;return _0x12e567&&_0x12e567['__esModule']&&Object[_0x50de23(0x293)][_0x50de23(0x3fc)]['call'](_0x12e567,'default')?_0x12e567['default']:_0x12e567;}var _0x5c5b2b={'exports':{}};function _0x150697(_0x4ae699){var _0x4d10e4=_0x12ab33;throw new Error(_0x4d10e4(0x36b)+_0x4ae699+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0xc3b4d6={'exports':{}},_0x4e1a23=_0xc3b4d6[_0x12ab33(0x257)],_0xf9e6c5;function _0x2b16a(){var _0x55d11a=_0x12ab33;return _0xf9e6c5||(_0xf9e6c5=0x1,function(_0x4a3232,_0x5df2ef){(function(_0x4650b5,_0x156fec){var _0x31e494=_0x4f3d;_0x4a3232[_0x31e494(0x257)]=_0x156fec();}(_0x4e1a23,function(){var _0x5c1ef3=_0x5c1ef3||function(_0xdc8cfd,_0x5db7b3){var _0x2bcc37=_0x4f3d,_0x523f62;if(typeof window<'u'&&window['crypto']&&(_0x523f62=window[_0x2bcc37(0x438)]),typeof self<'u'&&self[_0x2bcc37(0x438)]&&(_0x523f62=self[_0x2bcc37(0x438)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x523f62=globalThis[_0x2bcc37(0x438)]),!_0x523f62&&typeof window<'u'&&window[_0x2bcc37(0x41a)]&&(_0x523f62=window[_0x2bcc37(0x41a)]),!_0x523f62&&typeof _0x5ec76b<'u'&&_0x5ec76b[_0x2bcc37(0x438)]&&(_0x523f62=_0x5ec76b[_0x2bcc37(0x438)]),!_0x523f62&&typeof _0x150697==_0x2bcc37(0x311))try{_0x523f62=require('crypto');}catch{}var _0xb39a3a=function(){var _0x23be90=_0x2bcc37;if(_0x523f62){if(typeof _0x523f62[_0x23be90(0x32f)]==_0x23be90(0x311))try{return _0x523f62['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x523f62[_0x23be90(0x39d)]==_0x23be90(0x311))try{return _0x523f62[_0x23be90(0x39d)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x23be90(0x10f));},_0x2492f3=Object[_0x2bcc37(0x142)]||(function(){function _0x31bee9(){}return function(_0x542e1d){var _0x3a135e=_0x4f3d,_0x380bc0;return _0x31bee9['prototype']=_0x542e1d,_0x380bc0=new _0x31bee9(),_0x31bee9[_0x3a135e(0x293)]=null,_0x380bc0;};}()),_0xabdfa={},_0xc15a1c=_0xabdfa[_0x2bcc37(0x15b)]={},_0x163efc=_0xc15a1c['Base']=(function(){return{'extend':function(_0x2ca3fa){var _0x1c192e=_0x4f3d,_0x3133db=_0x2492f3(this);return _0x2ca3fa&&_0x3133db[_0x1c192e(0x36e)](_0x2ca3fa),(!_0x3133db[_0x1c192e(0x3fc)]('init')||this[_0x1c192e(0x33d)]===_0x3133db[_0x1c192e(0x33d)])&&(_0x3133db[_0x1c192e(0x33d)]=function(){var _0x2dceea=_0x1c192e;_0x3133db['$super'][_0x2dceea(0x33d)][_0x2dceea(0x2fa)](this,arguments);}),_0x3133db[_0x1c192e(0x33d)][_0x1c192e(0x293)]=_0x3133db,_0x3133db[_0x1c192e(0xbe)]=this,_0x3133db;},'create':function(){var _0xfccecc=_0x4f3d,_0x35736c=this[_0xfccecc(0x2b4)]();return _0x35736c[_0xfccecc(0x33d)]['apply'](_0x35736c,arguments),_0x35736c;},'init':function(){},'mixIn':function(_0x243abc){var _0x21387b=_0x4f3d;for(var _0x193e8e in _0x243abc)_0x243abc[_0x21387b(0x3fc)](_0x193e8e)&&(this[_0x193e8e]=_0x243abc[_0x193e8e]);_0x243abc[_0x21387b(0x3fc)]('toString')&&(this[_0x21387b(0x1f5)]=_0x243abc[_0x21387b(0x1f5)]);},'clone':function(){var _0x5e0d2e=_0x4f3d;return this[_0x5e0d2e(0x33d)][_0x5e0d2e(0x293)][_0x5e0d2e(0x2b4)](this);}};}()),_0xf1b283=_0xc15a1c[_0x2bcc37(0xdb)]=_0x163efc['extend']({'init':function(_0x12cc53,_0x3d7bd2){var _0x2c2433=_0x2bcc37;_0x12cc53=this[_0x2c2433(0xb9)]=_0x12cc53||[],_0x3d7bd2!=_0x5db7b3?this[_0x2c2433(0x2e2)]=_0x3d7bd2:this[_0x2c2433(0x2e2)]=_0x12cc53[_0x2c2433(0xe6)]*0x4;},'toString':function(_0x4619d4){var _0x5abd7b=_0x2bcc37;return(_0x4619d4||_0x1eb55d)[_0x5abd7b(0x3b6)](this);},'concat':function(_0xeec17b){var _0x2363dd=_0x2bcc37,_0xce9a96=this[_0x2363dd(0xb9)],_0x476c9a=_0xeec17b['words'],_0x22b44a=this['sigBytes'],_0x5b870f=_0xeec17b[_0x2363dd(0x2e2)];if(this[_0x2363dd(0x1d3)](),_0x22b44a%0x4)for(var _0x266692=0x0;_0x266692<_0x5b870f;_0x266692++){var _0x3d0816=_0x476c9a[_0x266692>>>0x2]>>>0x18-_0x266692%0x4*0x8&0xff;_0xce9a96[_0x22b44a+_0x266692>>>0x2]|=_0x3d0816<<0x18-(_0x22b44a+_0x266692)%0x4*0x8;}else{for(var _0x554435=0x0;_0x554435<_0x5b870f;_0x554435+=0x4)_0xce9a96[_0x22b44a+_0x554435>>>0x2]=_0x476c9a[_0x554435>>>0x2];}return this['sigBytes']+=_0x5b870f,this;},'clamp':function(){var _0x7c00e0=_0x2bcc37,_0x564530=this[_0x7c00e0(0xb9)],_0x235a96=this[_0x7c00e0(0x2e2)];_0x564530[_0x235a96>>>0x2]&=0xffffffff<<0x20-_0x235a96%0x4*0x8,_0x564530[_0x7c00e0(0xe6)]=_0xdc8cfd[_0x7c00e0(0x2d1)](_0x235a96/0x4);},'clone':function(){var _0xdb63c=_0x2bcc37,_0x2dd62e=_0x163efc['clone'][_0xdb63c(0x1a5)](this);return _0x2dd62e[_0xdb63c(0xb9)]=this[_0xdb63c(0xb9)][_0xdb63c(0x23e)](0x0),_0x2dd62e;},'random':function(_0x2c334a){var _0x40d4f4=_0x2bcc37;for(var _0x2cd703=[],_0x4c5900=0x0;_0x4c5900<_0x2c334a;_0x4c5900+=0x4)_0x2cd703[_0x40d4f4(0x125)](_0xb39a3a());return new _0xf1b283[(_0x40d4f4(0x33d))](_0x2cd703,_0x2c334a);}}),_0x119f9c=_0xabdfa[_0x2bcc37(0x3bc)]={},_0x1eb55d=_0x119f9c[_0x2bcc37(0x148)]={'stringify':function(_0x2ad912){var _0x1e2f56=_0x2bcc37;for(var _0x44e4ea=_0x2ad912[_0x1e2f56(0xb9)],_0x48f378=_0x2ad912[_0x1e2f56(0x2e2)],_0x5556c5=[],_0x3dac97=0x0;_0x3dac97<_0x48f378;_0x3dac97++){var _0x1ee922=_0x44e4ea[_0x3dac97>>>0x2]>>>0x18-_0x3dac97%0x4*0x8&0xff;_0x5556c5[_0x1e2f56(0x125)]((_0x1ee922>>>0x4)[_0x1e2f56(0x1f5)](0x10)),_0x5556c5['push']((_0x1ee922&0xf)[_0x1e2f56(0x1f5)](0x10));}return _0x5556c5[_0x1e2f56(0x429)]('');},'parse':function(_0x205258){var _0x1d940f=_0x2bcc37;for(var _0xd05d02=_0x205258[_0x1d940f(0xe6)],_0x117c46=[],_0x49f429=0x0;_0x49f429<_0xd05d02;_0x49f429+=0x2)_0x117c46[_0x49f429>>>0x3]|=parseInt(_0x205258['substr'](_0x49f429,0x2),0x10)<<0x18-_0x49f429%0x8*0x4;return new _0xf1b283[(_0x1d940f(0x33d))](_0x117c46,_0xd05d02/0x2);}},_0x34e93b=_0x119f9c['Latin1']={'stringify':function(_0x4f9a2e){var _0x3b977c=_0x2bcc37;for(var _0x39cc9d=_0x4f9a2e['words'],_0x3d8474=_0x4f9a2e[_0x3b977c(0x2e2)],_0x2c1dd4=[],_0x9f6752=0x0;_0x9f6752<_0x3d8474;_0x9f6752++){var _0x49854f=_0x39cc9d[_0x9f6752>>>0x2]>>>0x18-_0x9f6752%0x4*0x8&0xff;_0x2c1dd4[_0x3b977c(0x125)](String[_0x3b977c(0x379)](_0x49854f));}return _0x2c1dd4[_0x3b977c(0x429)]('');},'parse':function(_0x318f7d){var _0x35044f=_0x2bcc37;for(var _0x5b443b=_0x318f7d['length'],_0x4001b7=[],_0x48d006=0x0;_0x48d006<_0x5b443b;_0x48d006++)_0x4001b7[_0x48d006>>>0x2]|=(_0x318f7d[_0x35044f(0xf8)](_0x48d006)&0xff)<<0x18-_0x48d006%0x4*0x8;return new _0xf1b283[(_0x35044f(0x33d))](_0x4001b7,_0x5b443b);}},_0x25135d=_0x119f9c[_0x2bcc37(0x292)]={'stringify':function(_0x16c327){var _0x4a5b93=_0x2bcc37;try{return decodeURIComponent(escape(_0x34e93b[_0x4a5b93(0x3b6)](_0x16c327)));}catch{throw new Error(_0x4a5b93(0x32b));}},'parse':function(_0x442e31){var _0x5b893a=_0x2bcc37;return _0x34e93b[_0x5b893a(0x190)](unescape(encodeURIComponent(_0x442e31)));}},_0x16f6f3=_0xc15a1c['BufferedBlockAlgorithm']=_0x163efc[_0x2bcc37(0x2b4)]({'reset':function(){var _0x3fdcf4=_0x2bcc37;this[_0x3fdcf4(0x3cf)]=new _0xf1b283[(_0x3fdcf4(0x33d))](),this[_0x3fdcf4(0x3b0)]=0x0;},'_append':function(_0x4ab520){var _0x1109c8=_0x2bcc37;typeof _0x4ab520==_0x1109c8(0x2eb)&&(_0x4ab520=_0x25135d['parse'](_0x4ab520)),this[_0x1109c8(0x3cf)][_0x1109c8(0x214)](_0x4ab520),this[_0x1109c8(0x3b0)]+=_0x4ab520['sigBytes'];},'_process':function(_0x4f26ea){var _0x3df3ff=_0x2bcc37,_0x16d1e7,_0x10c478=this[_0x3df3ff(0x3cf)],_0x158af8=_0x10c478[_0x3df3ff(0xb9)],_0x259254=_0x10c478[_0x3df3ff(0x2e2)],_0x135f40=this[_0x3df3ff(0x389)],_0x34fe7a=_0x135f40*0x4,_0x11e4d1=_0x259254/_0x34fe7a;_0x4f26ea?_0x11e4d1=_0xdc8cfd['ceil'](_0x11e4d1):_0x11e4d1=_0xdc8cfd[_0x3df3ff(0x156)]((_0x11e4d1|0x0)-this['_minBufferSize'],0x0);var _0x5e7785=_0x11e4d1*_0x135f40,_0x1aaf47=_0xdc8cfd['min'](_0x5e7785*0x4,_0x259254);if(_0x5e7785){for(var _0x58cf7d=0x0;_0x58cf7d<_0x5e7785;_0x58cf7d+=_0x135f40)this[_0x3df3ff(0x281)](_0x158af8,_0x58cf7d);_0x16d1e7=_0x158af8[_0x3df3ff(0x3f1)](0x0,_0x5e7785),_0x10c478[_0x3df3ff(0x2e2)]-=_0x1aaf47;}return new _0xf1b283['init'](_0x16d1e7,_0x1aaf47);},'clone':function(){var _0xa6e1ff=_0x2bcc37,_0x5ec02a=_0x163efc[_0xa6e1ff(0x3b8)]['call'](this);return _0x5ec02a[_0xa6e1ff(0x3cf)]=this[_0xa6e1ff(0x3cf)][_0xa6e1ff(0x3b8)](),_0x5ec02a;},'_minBufferSize':0x0});_0xc15a1c[_0x2bcc37(0x13b)]=_0x16f6f3[_0x2bcc37(0x2b4)]({'cfg':_0x163efc[_0x2bcc37(0x2b4)](),'init':function(_0x425c4f){var _0x4f32b0=_0x2bcc37;this['cfg']=this[_0x4f32b0(0x1d5)]['extend'](_0x425c4f),this[_0x4f32b0(0x391)]();},'reset':function(){var _0x4f5495=_0x2bcc37;_0x16f6f3[_0x4f5495(0x391)][_0x4f5495(0x1a5)](this),this[_0x4f5495(0x1ac)]();},'update':function(_0x546f17){var _0x36f7f1=_0x2bcc37;return this[_0x36f7f1(0x2d5)](_0x546f17),this[_0x36f7f1(0x229)](),this;},'finalize':function(_0x3a7bd0){var _0x363d17=_0x2bcc37;_0x3a7bd0&&this[_0x363d17(0x2d5)](_0x3a7bd0);var _0x2428c4=this[_0x363d17(0x419)]();return _0x2428c4;},'blockSize':0x10,'_createHelper':function(_0x360caa){return function(_0x2d97f5,_0x36eaf3){var _0x3b7263=_0x4f3d;return new _0x360caa[(_0x3b7263(0x33d))](_0x36eaf3)[_0x3b7263(0x39b)](_0x2d97f5);};},'_createHmacHelper':function(_0x423485){return function(_0x2b099b,_0x4ed545){var _0x2c9c83=_0x4f3d;return new _0x217c0f[(_0x2c9c83(0xc8))][(_0x2c9c83(0x33d))](_0x423485,_0x4ed545)['finalize'](_0x2b099b);};}});var _0x217c0f=_0xabdfa['algo']={};return _0xabdfa;}(Math);return _0x5c1ef3;}));}(_0xc3b4d6)),_0xc3b4d6[_0x55d11a(0x257)];}var _0x3f4223={'exports':{}},_0x383386=_0x3f4223[_0x12ab33(0x257)],_0x593cb1;function _0x1b0b49(){var _0x54603d=_0x12ab33;return _0x593cb1||(_0x593cb1=0x1,function(_0x311c25,_0x2c8f7a){(function(_0x4421c8,_0x4f683c){var _0x353095=_0x4f3d;_0x311c25[_0x353095(0x257)]=_0x4f683c(_0x2b16a());}(_0x383386,function(_0x1f59ff){var _0x2a217d=_0x4f3d;return(function(){var _0x42d4b6=_0x4f3d,_0x4b29cb=_0x1f59ff,_0x2a94be=_0x4b29cb['lib'],_0x56d0a5=_0x2a94be['WordArray'],_0x3806d0=_0x4b29cb[_0x42d4b6(0x3bc)];_0x3806d0[_0x42d4b6(0x43a)]={'stringify':function(_0x30b875){var _0x376ae9=_0x42d4b6,_0x383324=_0x30b875[_0x376ae9(0xb9)],_0x184745=_0x30b875[_0x376ae9(0x2e2)],_0x578d57=this['_map'];_0x30b875['clamp']();for(var _0x2a5018=[],_0x42803b=0x0;_0x42803b<_0x184745;_0x42803b+=0x3)for(var _0x202731=_0x383324[_0x42803b>>>0x2]>>>0x18-_0x42803b%0x4*0x8&0xff,_0x5ec29d=_0x383324[_0x42803b+0x1>>>0x2]>>>0x18-(_0x42803b+0x1)%0x4*0x8&0xff,_0x2bcd7b=_0x383324[_0x42803b+0x2>>>0x2]>>>0x18-(_0x42803b+0x2)%0x4*0x8&0xff,_0x1b921c=_0x202731<<0x10|_0x5ec29d<<0x8|_0x2bcd7b,_0x28f6aa=0x0;_0x28f6aa<0x4&&_0x42803b+_0x28f6aa*0.75<_0x184745;_0x28f6aa++)_0x2a5018['push'](_0x578d57[_0x376ae9(0x2a7)](_0x1b921c>>>0x6*(0x3-_0x28f6aa)&0x3f));var _0x213fe1=_0x578d57[_0x376ae9(0x2a7)](0x40);if(_0x213fe1){for(;_0x2a5018[_0x376ae9(0xe6)]%0x4;)_0x2a5018[_0x376ae9(0x125)](_0x213fe1);}return _0x2a5018[_0x376ae9(0x429)]('');},'parse':function(_0x2aeeaf){var _0x5aa4b0=_0x42d4b6,_0x3842ef=_0x2aeeaf[_0x5aa4b0(0xe6)],_0x1f1f87=this[_0x5aa4b0(0x145)],_0x32fd99=this['_reverseMap'];if(!_0x32fd99){_0x32fd99=this[_0x5aa4b0(0x365)]=[];for(var _0x326600=0x0;_0x326600<_0x1f1f87[_0x5aa4b0(0xe6)];_0x326600++)_0x32fd99[_0x1f1f87[_0x5aa4b0(0xf8)](_0x326600)]=_0x326600;}var _0x9591ef=_0x1f1f87['charAt'](0x40);if(_0x9591ef){var _0x3e0d39=_0x2aeeaf[_0x5aa4b0(0x31b)](_0x9591ef);_0x3e0d39!==-0x1&&(_0x3842ef=_0x3e0d39);}return _0x46aa60(_0x2aeeaf,_0x3842ef,_0x32fd99);},'_map':_0x42d4b6(0x1ab)};function _0x46aa60(_0x2b4bed,_0x214392,_0x4fd388){var _0x5f1fa5=_0x42d4b6;for(var _0x49f658=[],_0x2608eb=0x0,_0xf470f3=0x0;_0xf470f3<_0x214392;_0xf470f3++)if(_0xf470f3%0x4){var _0x33d856=_0x4fd388[_0x2b4bed[_0x5f1fa5(0xf8)](_0xf470f3-0x1)]<<_0xf470f3%0x4*0x2,_0x2f87eb=_0x4fd388[_0x2b4bed[_0x5f1fa5(0xf8)](_0xf470f3)]>>>0x6-_0xf470f3%0x4*0x2,_0xf56982=_0x33d856|_0x2f87eb;_0x49f658[_0x2608eb>>>0x2]|=_0xf56982<<0x18-_0x2608eb%0x4*0x8,_0x2608eb++;}return _0x56d0a5['create'](_0x49f658,_0x2608eb);}}()),_0x1f59ff[_0x2a217d(0x3bc)][_0x2a217d(0x43a)];}));}(_0x3f4223)),_0x3f4223[_0x54603d(0x257)];}var _0x2648b9={'exports':{}},_0x5855cc=_0x2648b9['exports'],_0x5a3d53;function _0x51af11(){var _0x5eadb7=_0x12ab33;return _0x5a3d53||(_0x5a3d53=0x1,function(_0x46bf8d,_0x8d1355){(function(_0x1d17a0,_0x538cf3){var _0x474cb7=_0x4f3d;_0x46bf8d[_0x474cb7(0x257)]=_0x538cf3(_0x2b16a());}(_0x5855cc,function(_0x4a6454){var _0x293dc1=_0x4f3d;return function(_0xd8cc4c){var _0x3be6db=_0x4f3d,_0x3df712=_0x4a6454,_0x3e15a5=_0x3df712[_0x3be6db(0x15b)],_0x2468cf=_0x3e15a5[_0x3be6db(0xdb)],_0x14f1dd=_0x3e15a5['Hasher'],_0x2731d2=_0x3df712['algo'],_0x40eadb=[];(function(){var _0x431287=_0x3be6db;for(var _0x51235f=0x0;_0x51235f<0x40;_0x51235f++)_0x40eadb[_0x51235f]=_0xd8cc4c[_0x431287(0xc0)](_0xd8cc4c[_0x431287(0x2f0)](_0x51235f+0x1))*0x100000000|0x0;}());var _0x322083=_0x2731d2[_0x3be6db(0x310)]=_0x14f1dd[_0x3be6db(0x2b4)]({'_doReset':function(){var _0x117cf1=_0x3be6db;this['_hash']=new _0x2468cf[(_0x117cf1(0x33d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x8c2100,_0x4520b8){var _0x47ee3c=_0x3be6db;for(var _0x6f426b=0x0;_0x6f426b<0x10;_0x6f426b++){var _0x4ed6bd=_0x4520b8+_0x6f426b,_0x3e6535=_0x8c2100[_0x4ed6bd];_0x8c2100[_0x4ed6bd]=(_0x3e6535<<0x8|_0x3e6535>>>0x18)&0xff00ff|(_0x3e6535<<0x18|_0x3e6535>>>0x8)&0xff00ff00;}var _0x41cf35=this[_0x47ee3c(0x2bc)][_0x47ee3c(0xb9)],_0x5df320=_0x8c2100[_0x4520b8+0x0],_0x1c3166=_0x8c2100[_0x4520b8+0x1],_0x133daa=_0x8c2100[_0x4520b8+0x2],_0x441f3f=_0x8c2100[_0x4520b8+0x3],_0x301b76=_0x8c2100[_0x4520b8+0x4],_0x30ef12=_0x8c2100[_0x4520b8+0x5],_0x52cecf=_0x8c2100[_0x4520b8+0x6],_0x4577fb=_0x8c2100[_0x4520b8+0x7],_0x3cd16d=_0x8c2100[_0x4520b8+0x8],_0x3f845b=_0x8c2100[_0x4520b8+0x9],_0xfe24d=_0x8c2100[_0x4520b8+0xa],_0x434417=_0x8c2100[_0x4520b8+0xb],_0x12ed6c=_0x8c2100[_0x4520b8+0xc],_0x23e103=_0x8c2100[_0x4520b8+0xd],_0x445f9d=_0x8c2100[_0x4520b8+0xe],_0x5985b0=_0x8c2100[_0x4520b8+0xf],_0x1010e4=_0x41cf35[0x0],_0x5e5698=_0x41cf35[0x1],_0x1748e3=_0x41cf35[0x2],_0x456597=_0x41cf35[0x3];_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x5df320,0x7,_0x40eadb[0x0]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x1c3166,0xc,_0x40eadb[0x1]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x133daa,0x11,_0x40eadb[0x2]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x441f3f,0x16,_0x40eadb[0x3]),_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x301b76,0x7,_0x40eadb[0x4]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x30ef12,0xc,_0x40eadb[0x5]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x52cecf,0x11,_0x40eadb[0x6]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x4577fb,0x16,_0x40eadb[0x7]),_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3cd16d,0x7,_0x40eadb[0x8]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x3f845b,0xc,_0x40eadb[0x9]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0xfe24d,0x11,_0x40eadb[0xa]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x434417,0x16,_0x40eadb[0xb]),_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x12ed6c,0x7,_0x40eadb[0xc]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x23e103,0xc,_0x40eadb[0xd]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x445f9d,0x11,_0x40eadb[0xe]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x5985b0,0x16,_0x40eadb[0xf]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x1c3166,0x5,_0x40eadb[0x10]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x52cecf,0x9,_0x40eadb[0x11]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x434417,0xe,_0x40eadb[0x12]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x5df320,0x14,_0x40eadb[0x13]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x30ef12,0x5,_0x40eadb[0x14]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0xfe24d,0x9,_0x40eadb[0x15]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x5985b0,0xe,_0x40eadb[0x16]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x301b76,0x14,_0x40eadb[0x17]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3f845b,0x5,_0x40eadb[0x18]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x445f9d,0x9,_0x40eadb[0x19]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x441f3f,0xe,_0x40eadb[0x1a]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x3cd16d,0x14,_0x40eadb[0x1b]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x23e103,0x5,_0x40eadb[0x1c]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x133daa,0x9,_0x40eadb[0x1d]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x4577fb,0xe,_0x40eadb[0x1e]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x12ed6c,0x14,_0x40eadb[0x1f]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x30ef12,0x4,_0x40eadb[0x20]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x3cd16d,0xb,_0x40eadb[0x21]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x434417,0x10,_0x40eadb[0x22]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x445f9d,0x17,_0x40eadb[0x23]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x1c3166,0x4,_0x40eadb[0x24]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x301b76,0xb,_0x40eadb[0x25]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x4577fb,0x10,_0x40eadb[0x26]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0xfe24d,0x17,_0x40eadb[0x27]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x23e103,0x4,_0x40eadb[0x28]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x5df320,0xb,_0x40eadb[0x29]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x441f3f,0x10,_0x40eadb[0x2a]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x52cecf,0x17,_0x40eadb[0x2b]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3f845b,0x4,_0x40eadb[0x2c]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x12ed6c,0xb,_0x40eadb[0x2d]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x5985b0,0x10,_0x40eadb[0x2e]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x133daa,0x17,_0x40eadb[0x2f]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x5df320,0x6,_0x40eadb[0x30]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x4577fb,0xa,_0x40eadb[0x31]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x445f9d,0xf,_0x40eadb[0x32]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x30ef12,0x15,_0x40eadb[0x33]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x12ed6c,0x6,_0x40eadb[0x34]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x441f3f,0xa,_0x40eadb[0x35]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0xfe24d,0xf,_0x40eadb[0x36]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x1c3166,0x15,_0x40eadb[0x37]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3cd16d,0x6,_0x40eadb[0x38]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x5985b0,0xa,_0x40eadb[0x39]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x52cecf,0xf,_0x40eadb[0x3a]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x23e103,0x15,_0x40eadb[0x3b]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x301b76,0x6,_0x40eadb[0x3c]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x434417,0xa,_0x40eadb[0x3d]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x133daa,0xf,_0x40eadb[0x3e]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x3f845b,0x15,_0x40eadb[0x3f]),_0x41cf35[0x0]=_0x41cf35[0x0]+_0x1010e4|0x0,_0x41cf35[0x1]=_0x41cf35[0x1]+_0x5e5698|0x0,_0x41cf35[0x2]=_0x41cf35[0x2]+_0x1748e3|0x0,_0x41cf35[0x3]=_0x41cf35[0x3]+_0x456597|0x0;},'_doFinalize':function(){var _0xd4a1c=_0x3be6db,_0x5a0e93=this['_data'],_0x397ba6=_0x5a0e93[_0xd4a1c(0xb9)],_0x28f799=this['_nDataBytes']*0x8,_0x44c7ea=_0x5a0e93[_0xd4a1c(0x2e2)]*0x8;_0x397ba6[_0x44c7ea>>>0x5]|=0x80<<0x18-_0x44c7ea%0x20;var _0x406f0e=_0xd8cc4c['floor'](_0x28f799/0x100000000),_0x4df04f=_0x28f799;_0x397ba6[(_0x44c7ea+0x40>>>0x9<<0x4)+0xf]=(_0x406f0e<<0x8|_0x406f0e>>>0x18)&0xff00ff|(_0x406f0e<<0x18|_0x406f0e>>>0x8)&0xff00ff00,_0x397ba6[(_0x44c7ea+0x40>>>0x9<<0x4)+0xe]=(_0x4df04f<<0x8|_0x4df04f>>>0x18)&0xff00ff|(_0x4df04f<<0x18|_0x4df04f>>>0x8)&0xff00ff00,_0x5a0e93[_0xd4a1c(0x2e2)]=(_0x397ba6[_0xd4a1c(0xe6)]+0x1)*0x4,this[_0xd4a1c(0x229)]();for(var _0x56c9d3=this[_0xd4a1c(0x2bc)],_0x4b625c=_0x56c9d3[_0xd4a1c(0xb9)],_0x3e7380=0x0;_0x3e7380<0x4;_0x3e7380++){var _0x4e7033=_0x4b625c[_0x3e7380];_0x4b625c[_0x3e7380]=(_0x4e7033<<0x8|_0x4e7033>>>0x18)&0xff00ff|(_0x4e7033<<0x18|_0x4e7033>>>0x8)&0xff00ff00;}return _0x56c9d3;},'clone':function(){var _0x575b98=_0x3be6db,_0x39393c=_0x14f1dd['clone'][_0x575b98(0x1a5)](this);return _0x39393c[_0x575b98(0x2bc)]=this['_hash'][_0x575b98(0x3b8)](),_0x39393c;}});function _0x39d8ec(_0x210916,_0x46fe48,_0x172b50,_0x1bc650,_0x462a73,_0x22b8f8,_0x59dc78){var _0x2d9401=_0x210916+(_0x46fe48&_0x172b50|~_0x46fe48&_0x1bc650)+_0x462a73+_0x59dc78;return(_0x2d9401<<_0x22b8f8|_0x2d9401>>>0x20-_0x22b8f8)+_0x46fe48;}function _0x25e151(_0x217d96,_0x507fb4,_0xa6141d,_0x3a5a38,_0x58f7df,_0x530a78,_0x4b6b86){var _0x65d511=_0x217d96+(_0x507fb4&_0x3a5a38|_0xa6141d&~_0x3a5a38)+_0x58f7df+_0x4b6b86;return(_0x65d511<<_0x530a78|_0x65d511>>>0x20-_0x530a78)+_0x507fb4;}function _0x1b79a2(_0x4f7504,_0x4559b5,_0x41e18a,_0x145b6d,_0x5a3e69,_0x508db6,_0x1403c9){var _0x57fe73=_0x4f7504+(_0x4559b5^_0x41e18a^_0x145b6d)+_0x5a3e69+_0x1403c9;return(_0x57fe73<<_0x508db6|_0x57fe73>>>0x20-_0x508db6)+_0x4559b5;}function _0x3df19e(_0x51d660,_0x5f5218,_0x1e9dc4,_0x17b80e,_0x2f7c84,_0xca2628,_0x5c59dc){var _0x3faf06=_0x51d660+(_0x1e9dc4^(_0x5f5218|~_0x17b80e))+_0x2f7c84+_0x5c59dc;return(_0x3faf06<<_0xca2628|_0x3faf06>>>0x20-_0xca2628)+_0x5f5218;}_0x3df712[_0x3be6db(0x310)]=_0x14f1dd[_0x3be6db(0x413)](_0x322083),_0x3df712['HmacMD5']=_0x14f1dd['_createHmacHelper'](_0x322083);}(Math),_0x4a6454[_0x293dc1(0x310)];}));}(_0x2648b9)),_0x2648b9[_0x5eadb7(0x257)];}var _0x589e5d={'exports':{}},_0x288fb8={'exports':{}},_0x4c9e8c=_0x288fb8[_0x12ab33(0x257)],_0x1218f6;function _0x174afe(){return _0x1218f6||(_0x1218f6=0x1,function(_0x3a9448,_0x384d2b){(function(_0x4b06ea,_0x570b7b){var _0x42c3e0=_0x4f3d;_0x3a9448[_0x42c3e0(0x257)]=_0x570b7b(_0x2b16a());}(_0x4c9e8c,function(_0x45bc12){var _0x39d015=_0x4f3d;return(function(){var _0x3faa97=_0x4f3d,_0x35deb5=_0x45bc12,_0x322729=_0x35deb5[_0x3faa97(0x15b)],_0x34922d=_0x322729[_0x3faa97(0xdb)],_0x4857af=_0x322729[_0x3faa97(0x13b)],_0x54dc0a=_0x35deb5['algo'],_0x208d09=[],_0x3c6b13=_0x54dc0a[_0x3faa97(0x19f)]=_0x4857af['extend']({'_doReset':function(){this['_hash']=new _0x34922d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1cb461,_0x372f6b){var _0x39e2db=_0x3faa97;for(var _0x197889=this[_0x39e2db(0x2bc)]['words'],_0xc5d5bc=_0x197889[0x0],_0x51a1c6=_0x197889[0x1],_0x714abe=_0x197889[0x2],_0x35a7ce=_0x197889[0x3],_0x484d6c=_0x197889[0x4],_0x32c3e4=0x0;_0x32c3e4<0x50;_0x32c3e4++){if(_0x32c3e4<0x10)_0x208d09[_0x32c3e4]=_0x1cb461[_0x372f6b+_0x32c3e4]|0x0;else{var _0x299882=_0x208d09[_0x32c3e4-0x3]^_0x208d09[_0x32c3e4-0x8]^_0x208d09[_0x32c3e4-0xe]^_0x208d09[_0x32c3e4-0x10];_0x208d09[_0x32c3e4]=_0x299882<<0x1|_0x299882>>>0x1f;}var _0x452fea=(_0xc5d5bc<<0x5|_0xc5d5bc>>>0x1b)+_0x484d6c+_0x208d09[_0x32c3e4];_0x32c3e4<0x14?_0x452fea+=(_0x51a1c6&_0x714abe|~_0x51a1c6&_0x35a7ce)+0x5a827999:_0x32c3e4<0x28?_0x452fea+=(_0x51a1c6^_0x714abe^_0x35a7ce)+0x6ed9eba1:_0x32c3e4<0x3c?_0x452fea+=(_0x51a1c6&_0x714abe|_0x51a1c6&_0x35a7ce|_0x714abe&_0x35a7ce)-0x70e44324:_0x452fea+=(_0x51a1c6^_0x714abe^_0x35a7ce)-0x359d3e2a,_0x484d6c=_0x35a7ce,_0x35a7ce=_0x714abe,_0x714abe=_0x51a1c6<<0x1e|_0x51a1c6>>>0x2,_0x51a1c6=_0xc5d5bc,_0xc5d5bc=_0x452fea;}_0x197889[0x0]=_0x197889[0x0]+_0xc5d5bc|0x0,_0x197889[0x1]=_0x197889[0x1]+_0x51a1c6|0x0,_0x197889[0x2]=_0x197889[0x2]+_0x714abe|0x0,_0x197889[0x3]=_0x197889[0x3]+_0x35a7ce|0x0,_0x197889[0x4]=_0x197889[0x4]+_0x484d6c|0x0;},'_doFinalize':function(){var _0x36068a=_0x3faa97,_0x475c81=this['_data'],_0xe8559b=_0x475c81[_0x36068a(0xb9)],_0xe1deff=this[_0x36068a(0x3b0)]*0x8,_0x3a121c=_0x475c81[_0x36068a(0x2e2)]*0x8;return _0xe8559b[_0x3a121c>>>0x5]|=0x80<<0x18-_0x3a121c%0x20,_0xe8559b[(_0x3a121c+0x40>>>0x9<<0x4)+0xe]=Math[_0x36068a(0x1af)](_0xe1deff/0x100000000),_0xe8559b[(_0x3a121c+0x40>>>0x9<<0x4)+0xf]=_0xe1deff,_0x475c81[_0x36068a(0x2e2)]=_0xe8559b['length']*0x4,this['_process'](),this[_0x36068a(0x2bc)];},'clone':function(){var _0x2358b0=_0x3faa97,_0x40ed15=_0x4857af[_0x2358b0(0x3b8)]['call'](this);return _0x40ed15['_hash']=this[_0x2358b0(0x2bc)]['clone'](),_0x40ed15;}});_0x35deb5[_0x3faa97(0x19f)]=_0x4857af[_0x3faa97(0x413)](_0x3c6b13),_0x35deb5[_0x3faa97(0x3bd)]=_0x4857af[_0x3faa97(0x28f)](_0x3c6b13);}()),_0x45bc12[_0x39d015(0x19f)];}));}(_0x288fb8)),_0x288fb8['exports'];}var _0x353671={'exports':{}},_0x317ba8=_0x353671[_0x12ab33(0x257)],_0x32e398;function _0x50989f(){return _0x32e398||(_0x32e398=0x1,function(_0x13d174,_0x4a78f8){(function(_0x2b30e7,_0x3c15cd){_0x13d174['exports']=_0x3c15cd(_0x2b16a());}(_0x317ba8,function(_0x221b3b){(function(){var _0x29ccfb=_0x4f3d,_0x5913d8=_0x221b3b,_0x335a37=_0x5913d8['lib'],_0x28c819=_0x335a37[_0x29ccfb(0x2e3)],_0x2a560b=_0x5913d8[_0x29ccfb(0x3bc)],_0x4e6b1a=_0x2a560b[_0x29ccfb(0x292)],_0x842e43=_0x5913d8[_0x29ccfb(0x1ec)];_0x842e43[_0x29ccfb(0xc8)]=_0x28c819[_0x29ccfb(0x2b4)]({'init':function(_0x26a91c,_0x15a752){var _0x40f110=_0x29ccfb;_0x26a91c=this[_0x40f110(0x187)]=new _0x26a91c[(_0x40f110(0x33d))](),typeof _0x15a752=='string'&&(_0x15a752=_0x4e6b1a['parse'](_0x15a752));var _0x12ff25=_0x26a91c[_0x40f110(0x389)],_0x35e416=_0x12ff25*0x4;_0x15a752[_0x40f110(0x2e2)]>_0x35e416&&(_0x15a752=_0x26a91c[_0x40f110(0x39b)](_0x15a752)),_0x15a752[_0x40f110(0x1d3)]();for(var _0x1e0989=this[_0x40f110(0x2a5)]=_0x15a752[_0x40f110(0x3b8)](),_0xcc98e6=this[_0x40f110(0x327)]=_0x15a752[_0x40f110(0x3b8)](),_0x5a3c22=_0x1e0989[_0x40f110(0xb9)],_0x2e412b=_0xcc98e6[_0x40f110(0xb9)],_0x590af2=0x0;_0x590af2<_0x12ff25;_0x590af2++)_0x5a3c22[_0x590af2]^=0x5c5c5c5c,_0x2e412b[_0x590af2]^=0x36363636;_0x1e0989[_0x40f110(0x2e2)]=_0xcc98e6[_0x40f110(0x2e2)]=_0x35e416,this[_0x40f110(0x391)]();},'reset':function(){var _0x439788=_0x29ccfb,_0x57c909=this[_0x439788(0x187)];_0x57c909['reset'](),_0x57c909[_0x439788(0x11b)](this['_iKey']);},'update':function(_0x212f59){var _0x178ec0=_0x29ccfb;return this[_0x178ec0(0x187)][_0x178ec0(0x11b)](_0x212f59),this;},'finalize':function(_0x1b524c){var _0x240b77=_0x29ccfb,_0x3c8ac8=this[_0x240b77(0x187)],_0xc64a9d=_0x3c8ac8[_0x240b77(0x39b)](_0x1b524c);_0x3c8ac8[_0x240b77(0x391)]();var _0x1d2782=_0x3c8ac8[_0x240b77(0x39b)](this[_0x240b77(0x2a5)][_0x240b77(0x3b8)]()[_0x240b77(0x214)](_0xc64a9d));return _0x1d2782;}});}());}));}(_0x353671)),_0x353671['exports'];}var _0x1bed4c=_0x589e5d[_0x12ab33(0x257)],_0x304c35;function _0x47a2cb(){var _0x5778a5=_0x12ab33;return _0x304c35||(_0x304c35=0x1,function(_0x5471d8,_0x29b921){(function(_0xddee5b,_0x55b534,_0xf37573){var _0x5e3d51=_0x4f3d;_0x5471d8[_0x5e3d51(0x257)]=_0x55b534(_0x2b16a(),_0x174afe(),_0x50989f());}(_0x1bed4c,function(_0xd29e48){return(function(){var _0x16de9b=_0x4f3d,_0x33c830=_0xd29e48,_0x4794fb=_0x33c830[_0x16de9b(0x15b)],_0x180d3e=_0x4794fb[_0x16de9b(0x2e3)],_0x1425d7=_0x4794fb[_0x16de9b(0xdb)],_0x4d17fc=_0x33c830[_0x16de9b(0x1ec)],_0xd563c7=_0x4d17fc[_0x16de9b(0x310)],_0x33ebda=_0x4d17fc[_0x16de9b(0x3aa)]=_0x180d3e[_0x16de9b(0x2b4)]({'cfg':_0x180d3e[_0x16de9b(0x2b4)]({'keySize':0x80/0x20,'hasher':_0xd563c7,'iterations':0x1}),'init':function(_0x1dfc1f){var _0x1658e2=_0x16de9b;this[_0x1658e2(0x1d5)]=this[_0x1658e2(0x1d5)][_0x1658e2(0x2b4)](_0x1dfc1f);},'compute':function(_0x2cc72b,_0x523372){var _0x4dd5e0=_0x16de9b;for(var _0x2170ad,_0xa1bb63=this[_0x4dd5e0(0x1d5)],_0x141ca5=_0xa1bb63[_0x4dd5e0(0x224)][_0x4dd5e0(0x142)](),_0x400130=_0x1425d7['create'](),_0x3e9224=_0x400130[_0x4dd5e0(0xb9)],_0x428783=_0xa1bb63[_0x4dd5e0(0x1b6)],_0x419c5a=_0xa1bb63['iterations'];_0x3e9224['length']<_0x428783;){_0x2170ad&&_0x141ca5[_0x4dd5e0(0x11b)](_0x2170ad),_0x2170ad=_0x141ca5[_0x4dd5e0(0x11b)](_0x2cc72b)[_0x4dd5e0(0x39b)](_0x523372),_0x141ca5[_0x4dd5e0(0x391)]();for(var _0x12e527=0x1;_0x12e527<_0x419c5a;_0x12e527++)_0x2170ad=_0x141ca5[_0x4dd5e0(0x39b)](_0x2170ad),_0x141ca5[_0x4dd5e0(0x391)]();_0x400130['concat'](_0x2170ad);}return _0x400130[_0x4dd5e0(0x2e2)]=_0x428783*0x4,_0x400130;}});_0x33c830[_0x16de9b(0x3aa)]=function(_0x3bc93e,_0x211c6e,_0x2c4dbd){var _0x5ac37e=_0x16de9b;return _0x33ebda['create'](_0x2c4dbd)[_0x5ac37e(0x22f)](_0x3bc93e,_0x211c6e);};}()),_0xd29e48['EvpKDF'];}));}(_0x589e5d)),_0x589e5d[_0x5778a5(0x257)];}var _0x419bcd={'exports':{}},_0x404563=_0x419bcd[_0x12ab33(0x257)],_0x44d8e9;function _0x40ad97(){var _0x3874ed=_0x12ab33;return _0x44d8e9||(_0x44d8e9=0x1,function(_0xe85896,_0x49cd0b){(function(_0x22600e,_0x8cafcc,_0x147059){_0xe85896['exports']=_0x8cafcc(_0x2b16a(),_0x47a2cb());}(_0x404563,function(_0x4446c2){var _0x251154=_0x4f3d;_0x4446c2[_0x251154(0x15b)][_0x251154(0x1ee)]||function(_0x3c4782){var _0x4541d4=_0x251154,_0xa358e9=_0x4446c2,_0x2314bd=_0xa358e9[_0x4541d4(0x15b)],_0x2d0b7f=_0x2314bd[_0x4541d4(0x2e3)],_0x38afaf=_0x2314bd['WordArray'],_0x3cc0ec=_0x2314bd[_0x4541d4(0x2e9)],_0x2c8ba8=_0xa358e9['enc'];_0x2c8ba8['Utf8'];var _0x2a677d=_0x2c8ba8['Base64'],_0x1c05c0=_0xa358e9[_0x4541d4(0x1ec)],_0x15b62b=_0x1c05c0[_0x4541d4(0x3aa)],_0x1a094b=_0x2314bd[_0x4541d4(0x1ee)]=_0x3cc0ec[_0x4541d4(0x2b4)]({'cfg':_0x2d0b7f['extend'](),'createEncryptor':function(_0x55a0d9,_0x585df4){var _0x181d4e=_0x4541d4;return this[_0x181d4e(0x142)](this[_0x181d4e(0x1fb)],_0x55a0d9,_0x585df4);},'createDecryptor':function(_0x263c4b,_0x4b555c){var _0x3420b3=_0x4541d4;return this[_0x3420b3(0x142)](this[_0x3420b3(0xd4)],_0x263c4b,_0x4b555c);},'init':function(_0x1bd3ba,_0x53dd0c,_0xe5f681){var _0x23a7d9=_0x4541d4;this['cfg']=this['cfg'][_0x23a7d9(0x2b4)](_0xe5f681),this['_xformMode']=_0x1bd3ba,this[_0x23a7d9(0x26b)]=_0x53dd0c,this['reset']();},'reset':function(){var _0x970c25=_0x4541d4;_0x3cc0ec['reset'][_0x970c25(0x1a5)](this),this[_0x970c25(0x1ac)]();},'process':function(_0x76076){var _0x109744=_0x4541d4;return this[_0x109744(0x2d5)](_0x76076),this[_0x109744(0x229)]();},'finalize':function(_0x51592e){_0x51592e&&this['_append'](_0x51592e);var _0x1c6052=this['_doFinalize']();return _0x1c6052;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4def6b(_0x3e13b2){var _0x261ed3=_0x4f3d;return typeof _0x3e13b2==_0x261ed3(0x2eb)?_0x2117de:_0x48e404;}return function(_0x261645){return{'encrypt':function(_0x5c9f7b,_0x48abd4,_0x29cbbf){var _0x191462=_0x4f3d;return _0x4def6b(_0x48abd4)[_0x191462(0x1c2)](_0x261645,_0x5c9f7b,_0x48abd4,_0x29cbbf);},'decrypt':function(_0x2d3700,_0x557e17,_0x17bbcf){var _0x1a1791=_0x4f3d;return _0x4def6b(_0x557e17)[_0x1a1791(0x1db)](_0x261645,_0x2d3700,_0x557e17,_0x17bbcf);}};};}())});_0x2314bd[_0x4541d4(0x270)]=_0x1a094b[_0x4541d4(0x2b4)]({'_doFinalize':function(){var _0x1df121=_0x4541d4,_0x1cbcfd=this[_0x1df121(0x229)](!0x0);return _0x1cbcfd;},'blockSize':0x1});var _0x126d39=_0xa358e9[_0x4541d4(0x277)]={},_0x1ec89f=_0x2314bd['BlockCipherMode']=_0x2d0b7f['extend']({'createEncryptor':function(_0x384fba,_0x23ba27){var _0x59fb09=_0x4541d4;return this['Encryptor'][_0x59fb09(0x142)](_0x384fba,_0x23ba27);},'createDecryptor':function(_0xa55701,_0x511362){var _0xace91e=_0x4541d4;return this[_0xace91e(0x246)][_0xace91e(0x142)](_0xa55701,_0x511362);},'init':function(_0x3f5222,_0x18a3dd){var _0x223e58=_0x4541d4;this['_cipher']=_0x3f5222,this[_0x223e58(0x102)]=_0x18a3dd;}}),_0x1333e4=_0x126d39[_0x4541d4(0x13e)]=(function(){var _0x3ff8e6=_0x4541d4,_0x4a0114=_0x1ec89f[_0x3ff8e6(0x2b4)]();_0x4a0114[_0x3ff8e6(0x14a)]=_0x4a0114[_0x3ff8e6(0x2b4)]({'processBlock':function(_0x20a89b,_0x3402fe){var _0x40ff80=_0x3ff8e6,_0x47a417=this[_0x40ff80(0x3f8)],_0x4acc78=_0x47a417[_0x40ff80(0x389)];_0x564a38[_0x40ff80(0x1a5)](this,_0x20a89b,_0x3402fe,_0x4acc78),_0x47a417[_0x40ff80(0x22c)](_0x20a89b,_0x3402fe),this[_0x40ff80(0x351)]=_0x20a89b[_0x40ff80(0x23e)](_0x3402fe,_0x3402fe+_0x4acc78);}}),_0x4a0114[_0x3ff8e6(0x246)]=_0x4a0114['extend']({'processBlock':function(_0x431bd9,_0x49f89d){var _0x5e2499=_0x3ff8e6,_0x56de56=this[_0x5e2499(0x3f8)],_0x9ac3a=_0x56de56[_0x5e2499(0x389)],_0x4476d4=_0x431bd9[_0x5e2499(0x23e)](_0x49f89d,_0x49f89d+_0x9ac3a);_0x56de56['decryptBlock'](_0x431bd9,_0x49f89d),_0x564a38[_0x5e2499(0x1a5)](this,_0x431bd9,_0x49f89d,_0x9ac3a),this[_0x5e2499(0x351)]=_0x4476d4;}});function _0x564a38(_0x5c2bb3,_0x46e445,_0x282bd8){var _0x2c8d02=_0x3ff8e6,_0x2386fb,_0x3e74a8=this[_0x2c8d02(0x102)];_0x3e74a8?(_0x2386fb=_0x3e74a8,this[_0x2c8d02(0x102)]=_0x3c4782):_0x2386fb=this['_prevBlock'];for(var _0x21231d=0x0;_0x21231d<_0x282bd8;_0x21231d++)_0x5c2bb3[_0x46e445+_0x21231d]^=_0x2386fb[_0x21231d];}return _0x4a0114;}()),_0x33f18d=_0xa358e9[_0x4541d4(0x264)]={},_0x210869=_0x33f18d['Pkcs7']={'pad':function(_0x49a050,_0x1198b3){var _0xeae679=_0x4541d4;for(var _0x54723f=_0x1198b3*0x4,_0x18a43f=_0x54723f-_0x49a050['sigBytes']%_0x54723f,_0x58b00b=_0x18a43f<<0x18|_0x18a43f<<0x10|_0x18a43f<<0x8|_0x18a43f,_0x5bf5a1=[],_0x3bc028=0x0;_0x3bc028<_0x18a43f;_0x3bc028+=0x4)_0x5bf5a1[_0xeae679(0x125)](_0x58b00b);var _0x18f8f9=_0x38afaf['create'](_0x5bf5a1,_0x18a43f);_0x49a050['concat'](_0x18f8f9);},'unpad':function(_0x2aac77){var _0x3944e6=_0x4541d4,_0x221d3c=_0x2aac77[_0x3944e6(0xb9)][_0x2aac77[_0x3944e6(0x2e2)]-0x1>>>0x2]&0xff;_0x2aac77[_0x3944e6(0x2e2)]-=_0x221d3c;}};_0x2314bd[_0x4541d4(0x216)]=_0x1a094b[_0x4541d4(0x2b4)]({'cfg':_0x1a094b['cfg'][_0x4541d4(0x2b4)]({'mode':_0x1333e4,'padding':_0x210869}),'reset':function(){var _0x3817bc=_0x4541d4,_0x352621;_0x1a094b[_0x3817bc(0x391)][_0x3817bc(0x1a5)](this);var _0x5886f2=this['cfg'],_0x123457=_0x5886f2['iv'],_0x57d792=_0x5886f2[_0x3817bc(0x277)];this[_0x3817bc(0xbb)]==this['_ENC_XFORM_MODE']?_0x352621=_0x57d792[_0x3817bc(0x14d)]:(_0x352621=_0x57d792[_0x3817bc(0x32d)],this['_minBufferSize']=0x1),this[_0x3817bc(0x294)]&&this[_0x3817bc(0x294)]['__creator']==_0x352621?this[_0x3817bc(0x294)]['init'](this,_0x123457&&_0x123457['words']):(this[_0x3817bc(0x294)]=_0x352621[_0x3817bc(0x1a5)](_0x57d792,this,_0x123457&&_0x123457['words']),this[_0x3817bc(0x294)][_0x3817bc(0x13f)]=_0x352621);},'_doProcessBlock':function(_0x209f30,_0x3f685e){var _0x13dcd9=_0x4541d4;this[_0x13dcd9(0x294)]['processBlock'](_0x209f30,_0x3f685e);},'_doFinalize':function(){var _0x468676=_0x4541d4,_0x2ebdfb,_0x49301c=this[_0x468676(0x1d5)][_0x468676(0x1bf)];return this[_0x468676(0xbb)]==this[_0x468676(0x1fb)]?(_0x49301c['pad'](this['_data'],this[_0x468676(0x389)]),_0x2ebdfb=this[_0x468676(0x229)](!0x0)):(_0x2ebdfb=this[_0x468676(0x229)](!0x0),_0x49301c[_0x468676(0x163)](_0x2ebdfb)),_0x2ebdfb;},'blockSize':0x80/0x20});var _0x507b0d=_0x2314bd[_0x4541d4(0x30a)]=_0x2d0b7f[_0x4541d4(0x2b4)]({'init':function(_0x143869){var _0x2194f3=_0x4541d4;this[_0x2194f3(0x36e)](_0x143869);},'toString':function(_0x35a7b1){var _0xc899dc=_0x4541d4;return(_0x35a7b1||this[_0xc899dc(0x1e4)])[_0xc899dc(0x3b6)](this);}}),_0xff514e=_0xa358e9[_0x4541d4(0x17d)]={},_0x28dcf1=_0xff514e[_0x4541d4(0xd7)]={'stringify':function(_0x63e9e9){var _0x37f6d1=_0x4541d4,_0x88ea4f,_0x40d2b4=_0x63e9e9[_0x37f6d1(0x18c)],_0x5b00d8=_0x63e9e9[_0x37f6d1(0x152)];return _0x5b00d8?_0x88ea4f=_0x38afaf['create']([0x53616c74,0x65645f5f])[_0x37f6d1(0x214)](_0x5b00d8)['concat'](_0x40d2b4):_0x88ea4f=_0x40d2b4,_0x88ea4f[_0x37f6d1(0x1f5)](_0x2a677d);},'parse':function(_0x1e89f6){var _0x41f2c4=_0x4541d4,_0x539dcd,_0xc47479=_0x2a677d['parse'](_0x1e89f6),_0x49564d=_0xc47479['words'];return _0x49564d[0x0]==0x53616c74&&_0x49564d[0x1]==0x65645f5f&&(_0x539dcd=_0x38afaf[_0x41f2c4(0x142)](_0x49564d[_0x41f2c4(0x23e)](0x2,0x4)),_0x49564d[_0x41f2c4(0x3f1)](0x0,0x4),_0xc47479[_0x41f2c4(0x2e2)]-=0x10),_0x507b0d[_0x41f2c4(0x142)]({'ciphertext':_0xc47479,'salt':_0x539dcd});}},_0x48e404=_0x2314bd['SerializableCipher']=_0x2d0b7f[_0x4541d4(0x2b4)]({'cfg':_0x2d0b7f[_0x4541d4(0x2b4)]({'format':_0x28dcf1}),'encrypt':function(_0x42f924,_0x5726f8,_0x2e06f3,_0x5b1074){var _0x2e43cf=_0x4541d4;_0x5b1074=this[_0x2e43cf(0x1d5)][_0x2e43cf(0x2b4)](_0x5b1074);var _0x296112=_0x42f924[_0x2e43cf(0x14d)](_0x2e06f3,_0x5b1074),_0x2e4009=_0x296112[_0x2e43cf(0x39b)](_0x5726f8),_0x5a8e2d=_0x296112[_0x2e43cf(0x1d5)];return _0x507b0d[_0x2e43cf(0x142)]({'ciphertext':_0x2e4009,'key':_0x2e06f3,'iv':_0x5a8e2d['iv'],'algorithm':_0x42f924,'mode':_0x5a8e2d[_0x2e43cf(0x277)],'padding':_0x5a8e2d[_0x2e43cf(0x1bf)],'blockSize':_0x42f924[_0x2e43cf(0x389)],'formatter':_0x5b1074[_0x2e43cf(0x17d)]});},'decrypt':function(_0x20ff89,_0xf265f6,_0x8788d9,_0x16d84f){var _0x1e4f6b=_0x4541d4;_0x16d84f=this[_0x1e4f6b(0x1d5)][_0x1e4f6b(0x2b4)](_0x16d84f),_0xf265f6=this[_0x1e4f6b(0x2f3)](_0xf265f6,_0x16d84f['format']);var _0x21cfd7=_0x20ff89[_0x1e4f6b(0x32d)](_0x8788d9,_0x16d84f)[_0x1e4f6b(0x39b)](_0xf265f6[_0x1e4f6b(0x18c)]);return _0x21cfd7;},'_parse':function(_0x539714,_0x1780ac){var _0x47bc13=_0x4541d4;return typeof _0x539714==_0x47bc13(0x2eb)?_0x1780ac['parse'](_0x539714,this):_0x539714;}}),_0x55d1b2=_0xa358e9[_0x4541d4(0x32c)]={},_0x15a538=_0x55d1b2[_0x4541d4(0xd7)]={'execute':function(_0x54c923,_0x2e5007,_0x58ac83,_0x5f5854,_0x2304cd){var _0x17e5fe=_0x4541d4;if(_0x5f5854||(_0x5f5854=_0x38afaf[_0x17e5fe(0x130)](0x40/0x8)),_0x2304cd)var _0x1db9fd=_0x15b62b[_0x17e5fe(0x142)]({'keySize':_0x2e5007+_0x58ac83,'hasher':_0x2304cd})[_0x17e5fe(0x22f)](_0x54c923,_0x5f5854);else var _0x1db9fd=_0x15b62b[_0x17e5fe(0x142)]({'keySize':_0x2e5007+_0x58ac83})[_0x17e5fe(0x22f)](_0x54c923,_0x5f5854);var _0x2ab7fc=_0x38afaf['create'](_0x1db9fd[_0x17e5fe(0xb9)][_0x17e5fe(0x23e)](_0x2e5007),_0x58ac83*0x4);return _0x1db9fd[_0x17e5fe(0x2e2)]=_0x2e5007*0x4,_0x507b0d[_0x17e5fe(0x142)]({'key':_0x1db9fd,'iv':_0x2ab7fc,'salt':_0x5f5854});}},_0x2117de=_0x2314bd['PasswordBasedCipher']=_0x48e404[_0x4541d4(0x2b4)]({'cfg':_0x48e404['cfg']['extend']({'kdf':_0x15a538}),'encrypt':function(_0x35da8d,_0x17b551,_0xf68a89,_0x6e57f5){var _0xb7510b=_0x4541d4;_0x6e57f5=this[_0xb7510b(0x1d5)][_0xb7510b(0x2b4)](_0x6e57f5);var _0x1385ef=_0x6e57f5[_0xb7510b(0x32c)][_0xb7510b(0x2e1)](_0xf68a89,_0x35da8d[_0xb7510b(0x1b6)],_0x35da8d[_0xb7510b(0x1da)],_0x6e57f5[_0xb7510b(0x152)],_0x6e57f5['hasher']);_0x6e57f5['iv']=_0x1385ef['iv'];var _0x16b715=_0x48e404[_0xb7510b(0x1c2)][_0xb7510b(0x1a5)](this,_0x35da8d,_0x17b551,_0x1385ef[_0xb7510b(0x27e)],_0x6e57f5);return _0x16b715[_0xb7510b(0x36e)](_0x1385ef),_0x16b715;},'decrypt':function(_0x5672a9,_0x37938a,_0x2ecc46,_0x54ed58){var _0xc21a24=_0x4541d4;_0x54ed58=this[_0xc21a24(0x1d5)][_0xc21a24(0x2b4)](_0x54ed58),_0x37938a=this[_0xc21a24(0x2f3)](_0x37938a,_0x54ed58['format']);var _0x227ce1=_0x54ed58['kdf']['execute'](_0x2ecc46,_0x5672a9['keySize'],_0x5672a9['ivSize'],_0x37938a[_0xc21a24(0x152)],_0x54ed58[_0xc21a24(0x224)]);_0x54ed58['iv']=_0x227ce1['iv'];var _0x5f2bc0=_0x48e404['decrypt'][_0xc21a24(0x1a5)](this,_0x5672a9,_0x37938a,_0x227ce1[_0xc21a24(0x27e)],_0x54ed58);return _0x5f2bc0;}});}();}));}(_0x419bcd)),_0x419bcd[_0x3874ed(0x257)];}var _0x55f1cd=_0x5c5b2b[_0x12ab33(0x257)],_0x296f8d;function _0x23dd96(){return _0x296f8d||(_0x296f8d=0x1,function(_0x2e7aef,_0x2c1795){(function(_0x24fd50,_0x1747f2,_0x1cae4a){var _0x5efa61=_0x4f3d;_0x2e7aef[_0x5efa61(0x257)]=_0x1747f2(_0x2b16a(),_0x1b0b49(),_0x51af11(),_0x47a2cb(),_0x40ad97());}(_0x55f1cd,function(_0x565e9a){var _0x5425eb=_0x4f3d;return(function(){var _0x12b90b=_0x4f3d,_0x2a7e19=_0x565e9a,_0x77d319=_0x2a7e19[_0x12b90b(0x15b)],_0x2c8eca=_0x77d319[_0x12b90b(0x216)],_0x414bc5=_0x2a7e19[_0x12b90b(0x1ec)],_0x9db37c=[],_0x3add15=[],_0x1ea5e4=[],_0x34dffb=[],_0x55d908=[],_0x27e7b6=[],_0x24cb9f=[],_0x3ca3a5=[],_0x2eac54=[],_0x83169=[];(function(){for(var _0x406a4c=[],_0x1fa4aa=0x0;_0x1fa4aa<0x100;_0x1fa4aa++)_0x1fa4aa<0x80?_0x406a4c[_0x1fa4aa]=_0x1fa4aa<<0x1:_0x406a4c[_0x1fa4aa]=_0x1fa4aa<<0x1^0x11b;for(var _0x480001=0x0,_0x4728a5=0x0,_0x1fa4aa=0x0;_0x1fa4aa<0x100;_0x1fa4aa++){var _0x2511ed=_0x4728a5^_0x4728a5<<0x1^_0x4728a5<<0x2^_0x4728a5<<0x3^_0x4728a5<<0x4;_0x2511ed=_0x2511ed>>>0x8^_0x2511ed&0xff^0x63,_0x9db37c[_0x480001]=_0x2511ed,_0x3add15[_0x2511ed]=_0x480001;var _0x328ed5=_0x406a4c[_0x480001],_0x48856e=_0x406a4c[_0x328ed5],_0x25e1b5=_0x406a4c[_0x48856e],_0x1b451e=_0x406a4c[_0x2511ed]*0x101^_0x2511ed*0x1010100;_0x1ea5e4[_0x480001]=_0x1b451e<<0x18|_0x1b451e>>>0x8,_0x34dffb[_0x480001]=_0x1b451e<<0x10|_0x1b451e>>>0x10,_0x55d908[_0x480001]=_0x1b451e<<0x8|_0x1b451e>>>0x18,_0x27e7b6[_0x480001]=_0x1b451e;var _0x1b451e=_0x25e1b5*0x1010101^_0x48856e*0x10001^_0x328ed5*0x101^_0x480001*0x1010100;_0x24cb9f[_0x2511ed]=_0x1b451e<<0x18|_0x1b451e>>>0x8,_0x3ca3a5[_0x2511ed]=_0x1b451e<<0x10|_0x1b451e>>>0x10,_0x2eac54[_0x2511ed]=_0x1b451e<<0x8|_0x1b451e>>>0x18,_0x83169[_0x2511ed]=_0x1b451e,_0x480001?(_0x480001=_0x328ed5^_0x406a4c[_0x406a4c[_0x406a4c[_0x25e1b5^_0x328ed5]]],_0x4728a5^=_0x406a4c[_0x406a4c[_0x4728a5]]):_0x480001=_0x4728a5=0x1;}}());var _0x252100=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fac8d=_0x414bc5[_0x12b90b(0x14c)]=_0x2c8eca[_0x12b90b(0x2b4)]({'_doReset':function(){var _0x5cf4ba=_0x12b90b,_0xe8c79c;if(!(this[_0x5cf4ba(0x434)]&&this[_0x5cf4ba(0x178)]===this[_0x5cf4ba(0x26b)])){for(var _0x33a630=this['_keyPriorReset']=this[_0x5cf4ba(0x26b)],_0x58caad=_0x33a630[_0x5cf4ba(0xb9)],_0x30750b=_0x33a630[_0x5cf4ba(0x2e2)]/0x4,_0x42a843=this['_nRounds']=_0x30750b+0x6,_0x30eeac=(_0x42a843+0x1)*0x4,_0x38fe65=this['_keySchedule']=[],_0x4c2cfd=0x0;_0x4c2cfd<_0x30eeac;_0x4c2cfd++)_0x4c2cfd<_0x30750b?_0x38fe65[_0x4c2cfd]=_0x58caad[_0x4c2cfd]:(_0xe8c79c=_0x38fe65[_0x4c2cfd-0x1],_0x4c2cfd%_0x30750b?_0x30750b>0x6&&_0x4c2cfd%_0x30750b==0x4&&(_0xe8c79c=_0x9db37c[_0xe8c79c>>>0x18]<<0x18|_0x9db37c[_0xe8c79c>>>0x10&0xff]<<0x10|_0x9db37c[_0xe8c79c>>>0x8&0xff]<<0x8|_0x9db37c[_0xe8c79c&0xff]):(_0xe8c79c=_0xe8c79c<<0x8|_0xe8c79c>>>0x18,_0xe8c79c=_0x9db37c[_0xe8c79c>>>0x18]<<0x18|_0x9db37c[_0xe8c79c>>>0x10&0xff]<<0x10|_0x9db37c[_0xe8c79c>>>0x8&0xff]<<0x8|_0x9db37c[_0xe8c79c&0xff],_0xe8c79c^=_0x252100[_0x4c2cfd/_0x30750b|0x0]<<0x18),_0x38fe65[_0x4c2cfd]=_0x38fe65[_0x4c2cfd-_0x30750b]^_0xe8c79c);for(var _0x27cf80=this[_0x5cf4ba(0xc4)]=[],_0x21f400=0x0;_0x21f400<_0x30eeac;_0x21f400++){var _0x4c2cfd=_0x30eeac-_0x21f400;if(_0x21f400%0x4)var _0xe8c79c=_0x38fe65[_0x4c2cfd];else var _0xe8c79c=_0x38fe65[_0x4c2cfd-0x4];_0x21f400<0x4||_0x4c2cfd<=0x4?_0x27cf80[_0x21f400]=_0xe8c79c:_0x27cf80[_0x21f400]=_0x24cb9f[_0x9db37c[_0xe8c79c>>>0x18]]^_0x3ca3a5[_0x9db37c[_0xe8c79c>>>0x10&0xff]]^_0x2eac54[_0x9db37c[_0xe8c79c>>>0x8&0xff]]^_0x83169[_0x9db37c[_0xe8c79c&0xff]];}}},'encryptBlock':function(_0x124499,_0x2c12ad){var _0x6e5cd0=_0x12b90b;this[_0x6e5cd0(0x23c)](_0x124499,_0x2c12ad,this[_0x6e5cd0(0x3b2)],_0x1ea5e4,_0x34dffb,_0x55d908,_0x27e7b6,_0x9db37c);},'decryptBlock':function(_0x384ad3,_0x4ef811){var _0x21b672=_0x12b90b,_0x1e9569=_0x384ad3[_0x4ef811+0x1];_0x384ad3[_0x4ef811+0x1]=_0x384ad3[_0x4ef811+0x3],_0x384ad3[_0x4ef811+0x3]=_0x1e9569,this[_0x21b672(0x23c)](_0x384ad3,_0x4ef811,this[_0x21b672(0xc4)],_0x24cb9f,_0x3ca3a5,_0x2eac54,_0x83169,_0x3add15);var _0x1e9569=_0x384ad3[_0x4ef811+0x1];_0x384ad3[_0x4ef811+0x1]=_0x384ad3[_0x4ef811+0x3],_0x384ad3[_0x4ef811+0x3]=_0x1e9569;},'_doCryptBlock':function(_0x3c07ae,_0xd8df26,_0xf71c3f,_0x1be839,_0x367d47,_0x29d8fd,_0x9601be,_0x3cb19d){var _0x2be041=_0x12b90b;for(var _0x1dfcfb=this[_0x2be041(0x434)],_0xc0bc56=_0x3c07ae[_0xd8df26]^_0xf71c3f[0x0],_0x3cdc49=_0x3c07ae[_0xd8df26+0x1]^_0xf71c3f[0x1],_0x25a613=_0x3c07ae[_0xd8df26+0x2]^_0xf71c3f[0x2],_0x182b20=_0x3c07ae[_0xd8df26+0x3]^_0xf71c3f[0x3],_0x28cb63=0x4,_0x165e7a=0x1;_0x165e7a<_0x1dfcfb;_0x165e7a++){var _0x469a01=_0x1be839[_0xc0bc56>>>0x18]^_0x367d47[_0x3cdc49>>>0x10&0xff]^_0x29d8fd[_0x25a613>>>0x8&0xff]^_0x9601be[_0x182b20&0xff]^_0xf71c3f[_0x28cb63++],_0x21a64d=_0x1be839[_0x3cdc49>>>0x18]^_0x367d47[_0x25a613>>>0x10&0xff]^_0x29d8fd[_0x182b20>>>0x8&0xff]^_0x9601be[_0xc0bc56&0xff]^_0xf71c3f[_0x28cb63++],_0x3f57d4=_0x1be839[_0x25a613>>>0x18]^_0x367d47[_0x182b20>>>0x10&0xff]^_0x29d8fd[_0xc0bc56>>>0x8&0xff]^_0x9601be[_0x3cdc49&0xff]^_0xf71c3f[_0x28cb63++],_0x469e8c=_0x1be839[_0x182b20>>>0x18]^_0x367d47[_0xc0bc56>>>0x10&0xff]^_0x29d8fd[_0x3cdc49>>>0x8&0xff]^_0x9601be[_0x25a613&0xff]^_0xf71c3f[_0x28cb63++];_0xc0bc56=_0x469a01,_0x3cdc49=_0x21a64d,_0x25a613=_0x3f57d4,_0x182b20=_0x469e8c;}var _0x469a01=(_0x3cb19d[_0xc0bc56>>>0x18]<<0x18|_0x3cb19d[_0x3cdc49>>>0x10&0xff]<<0x10|_0x3cb19d[_0x25a613>>>0x8&0xff]<<0x8|_0x3cb19d[_0x182b20&0xff])^_0xf71c3f[_0x28cb63++],_0x21a64d=(_0x3cb19d[_0x3cdc49>>>0x18]<<0x18|_0x3cb19d[_0x25a613>>>0x10&0xff]<<0x10|_0x3cb19d[_0x182b20>>>0x8&0xff]<<0x8|_0x3cb19d[_0xc0bc56&0xff])^_0xf71c3f[_0x28cb63++],_0x3f57d4=(_0x3cb19d[_0x25a613>>>0x18]<<0x18|_0x3cb19d[_0x182b20>>>0x10&0xff]<<0x10|_0x3cb19d[_0xc0bc56>>>0x8&0xff]<<0x8|_0x3cb19d[_0x3cdc49&0xff])^_0xf71c3f[_0x28cb63++],_0x469e8c=(_0x3cb19d[_0x182b20>>>0x18]<<0x18|_0x3cb19d[_0xc0bc56>>>0x10&0xff]<<0x10|_0x3cb19d[_0x3cdc49>>>0x8&0xff]<<0x8|_0x3cb19d[_0x25a613&0xff])^_0xf71c3f[_0x28cb63++];_0x3c07ae[_0xd8df26]=_0x469a01,_0x3c07ae[_0xd8df26+0x1]=_0x21a64d,_0x3c07ae[_0xd8df26+0x2]=_0x3f57d4,_0x3c07ae[_0xd8df26+0x3]=_0x469e8c;},'keySize':0x100/0x20});_0x2a7e19[_0x12b90b(0x14c)]=_0x2c8eca[_0x12b90b(0x413)](_0x2fac8d);}()),_0x565e9a[_0x5425eb(0x14c)];}));}(_0x5c5b2b)),_0x5c5b2b['exports'];}var _0x2a4277=_0x23dd96();const _0x55ca40=_0x1f767d(_0x2a4277);var _0x517231=_0x1b0b49();const _0x1e044c=_0x1f767d(_0x517231);var _0x214bfa={'exports':{}},_0x2083be=_0x214bfa[_0x12ab33(0x257)],_0x1d5147;function _0x2978a9(){var _0x11ee5d=_0x12ab33;return _0x1d5147||(_0x1d5147=0x1,function(_0x275531,_0x28f317){(function(_0x8a7e1a,_0x574121){_0x275531['exports']=_0x574121(_0x2b16a());}(_0x2083be,function(_0x25528a){var _0xf795e=_0x4f3d;return _0x25528a[_0xf795e(0x3bc)][_0xf795e(0x292)];}));}(_0x214bfa)),_0x214bfa[_0x11ee5d(0x257)];}var _0x319594=_0x2978a9();const _0x1c24ad=_0x1f767d(_0x319594);var _0x46c3c3={'exports':{}},_0x4e81c0=_0x46c3c3[_0x12ab33(0x257)],_0x31f4dc;function _0x384d3d(){var _0xb492ab=_0x12ab33;return _0x31f4dc||(_0x31f4dc=0x1,function(_0x1e3d86,_0x5cae84){(function(_0x29c6b5,_0x4f6c89){var _0x7a9243=_0x4f3d;_0x1e3d86[_0x7a9243(0x257)]=_0x4f6c89(_0x2b16a());}(_0x4e81c0,function(_0x2490be){var _0x34c642=_0x4f3d;return(function(){var _0x21aee0=_0x4f3d;if(typeof ArrayBuffer==_0x21aee0(0x311)){var _0x9ee2aa=_0x2490be,_0x4a2b5c=_0x9ee2aa[_0x21aee0(0x15b)],_0xe22dc=_0x4a2b5c[_0x21aee0(0xdb)],_0xbc48de=_0xe22dc[_0x21aee0(0x33d)],_0x23427a=_0xe22dc[_0x21aee0(0x33d)]=function(_0x1a253c){var _0x113d75=_0x21aee0;if(_0x1a253c instanceof ArrayBuffer&&(_0x1a253c=new Uint8Array(_0x1a253c)),(_0x1a253c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1a253c instanceof Uint8ClampedArray||_0x1a253c instanceof Int16Array||_0x1a253c instanceof Uint16Array||_0x1a253c instanceof Int32Array||_0x1a253c instanceof Uint32Array||_0x1a253c instanceof Float32Array||_0x1a253c instanceof Float64Array)&&(_0x1a253c=new Uint8Array(_0x1a253c[_0x113d75(0x3e2)],_0x1a253c[_0x113d75(0x40b)],_0x1a253c[_0x113d75(0x406)])),_0x1a253c instanceof Uint8Array){for(var _0x43c718=_0x1a253c[_0x113d75(0x406)],_0x16cc83=[],_0x26f730=0x0;_0x26f730<_0x43c718;_0x26f730++)_0x16cc83[_0x26f730>>>0x2]|=_0x1a253c[_0x26f730]<<0x18-_0x26f730%0x4*0x8;_0xbc48de[_0x113d75(0x1a5)](this,_0x16cc83,_0x43c718);}else _0xbc48de['apply'](this,arguments);};_0x23427a['prototype']=_0xe22dc;}}()),_0x2490be[_0x34c642(0x15b)][_0x34c642(0xdb)];}));}(_0x46c3c3)),_0x46c3c3[_0xb492ab(0x257)];}var _0x4c39c6=_0x384d3d();const _0x16e160=_0x1f767d(_0x4c39c6);var _0x4489be={'exports':{}},_0x255f81=_0x4489be[_0x12ab33(0x257)],_0x3c52a5;function _0x381343(){var _0x2cee72=_0x12ab33;return _0x3c52a5||(_0x3c52a5=0x1,function(_0x4ed468,_0x2678e6){(function(_0x52eb0c,_0x17067b,_0x4bc917){var _0x24153d=_0x4f3d;_0x4ed468[_0x24153d(0x257)]=_0x17067b(_0x2b16a(),_0x40ad97());}(_0x255f81,function(_0x3ea9ad){var _0x35e2eb=_0x4f3d;return _0x3ea9ad['pad'][_0x35e2eb(0x32e)]={'pad':function(){},'unpad':function(){}},_0x3ea9ad[_0x35e2eb(0x264)]['NoPadding'];}));}(_0x4489be)),_0x4489be[_0x2cee72(0x257)];}var _0x1fd1cd=_0x381343();const _0x5de6f0=_0x1f767d(_0x1fd1cd);function _0xe10022(_0xb083a5,_0x20d259){var _0x4822fa=_0x12ab33;const _0xc1023b=_0x20d259-_0xb083a5[_0x4822fa(0xe6)]%_0x20d259,_0x20da6c=String[_0x4822fa(0x379)](_0xc1023b)[_0x4822fa(0x143)](_0xc1023b);return _0xb083a5+_0x20da6c;}function _0x5454a4(_0x49f674,_0x41be84){var _0x56200e=_0x12ab33;const _0x269f34=_0x16e160[_0x56200e(0x130)](0x10),_0x33a3c1=_0xe10022(_0x49f674,0x10),_0x3d38f3=_0x55ca40[_0x56200e(0x1c2)](_0x1c24ad['parse'](_0x33a3c1),_0x1e044c[_0x56200e(0x190)](_0x41be84),{'iv':_0x269f34,'padding':_0x5de6f0});return _0x269f34[_0x56200e(0x214)](_0x3d38f3['ciphertext'])[_0x56200e(0x1f5)](_0x1e044c);}function _0x9da52a(){var _0xc6ab1e=_0x12ab33;const _0x442665=_0x514d4e[_0xc6ab1e(0x182)]()[_0xc6ab1e(0x162)];if(_0x442665){const _0x31d899={'time':Math[_0xc6ab1e(0x1af)](Date[_0xc6ab1e(0x265)]()/0x3e8),'domain':location['hostname']};return _0x5454a4(JSON[_0xc6ab1e(0x3b6)](_0x31d899),_0x442665);}}var _0x1512fa=Object[_0x12ab33(0x39e)],_0x4f2a20=(_0x165c36,_0x4b183f,_0x2d5322,_0x22956e)=>{var _0x365b69=_0x12ab33;for(var _0x3064d1=_0x22956e>0x1?void 0x0:_0x22956e?_0x1512fa(_0x4b183f,_0x2d5322):_0x4b183f,_0x1c4863=_0x165c36[_0x365b69(0xe6)]-0x1,_0xbbf632;_0x1c4863>=0x0;_0x1c4863--)(_0xbbf632=_0x165c36[_0x1c4863])&&(_0x3064d1=_0xbbf632(_0x3064d1)||_0x3064d1);return _0x3064d1;},_0x1aa745=(_0xa24644,_0x566ccb)=>(_0x252bd6,_0x4b9ac4)=>_0x566ccb(_0x252bd6,_0x4b9ac4,_0xa24644);let _0x4ebec9=class{constructor(_0x50f80c){var _0x46f8cb=_0x12ab33;this['_httpService']=_0x50f80c,this[_0x46f8cb(0x157)]();}['_initRequestHeader'](){var _0x471a45=_0x12ab33;this[_0x471a45(0xe5)][_0x471a45(0x2ce)]({'interceptor':(_0x28f7b0,_0x253e2d)=>{var _0x15f267=_0x471a45;const _0x2a4cfa=_0x28f7b0['headers'],_0x1c3740=_0x9da52a();return _0x1c3740&&_0x2a4cfa[_0x15f267(0x25b)]('x-univer-host',_0x1c3740),_0x253e2d(_0x28f7b0);}});}};_0x4ebec9=_0x4f2a20([_0x1aa745(0x0,_0x449ba5['Inject'](_0xcd2fb4[_0x12ab33(0xfe)]))],_0x4ebec9);var _0x465e3d=Object['getOwnPropertyDescriptor'],_0x44013e=(_0x7fa64e,_0x2350e9,_0x3b5f6f,_0x355489)=>{var _0x2dcf41=_0x12ab33;for(var _0x4139c0=_0x355489>0x1?void 0x0:_0x355489?_0x465e3d(_0x2350e9,_0x3b5f6f):_0x2350e9,_0x28044b=_0x7fa64e[_0x2dcf41(0xe6)]-0x1,_0x2014a5;_0x28044b>=0x0;_0x28044b--)(_0x2014a5=_0x7fa64e[_0x28044b])&&(_0x4139c0=_0x2014a5(_0x4139c0)||_0x4139c0);return _0x4139c0;},_0x48d482=(_0x4cfe86,_0x41319a)=>(_0x54bdce,_0x2d8658)=>_0x41319a(_0x54bdce,_0x2d8658,_0x4cfe86);_0x4bf482[_0x12ab33(0x35b)]=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x2bdd92,_0x424730,_0x516901){var _0x3205d6=_0x12ab33;super(),_0x389841(this,_0x3205d6(0x34a),new _0x550b9f['BehaviorSubject'](null)),_0x389841(this,_0x3205d6(0x2e8),this['_unitInfo$']['asObservable']()),(this[_0x3205d6(0x400)]=_0x2bdd92,this[_0x3205d6(0x25e)]=_0x424730,this['_localCacheService']=_0x516901);}async[_0x12ab33(0x122)](_0x4ce0fe,_0x28737a,_0x3eb626){var _0x5b367e=_0x12ab33;this[_0x5b367e(0x34a)][_0x5b367e(0xaf)]({'unitId':_0x4ce0fe,'type':_0x28737a});let _0x4161c4=null;switch(_0x28737a){case _0x5bae36['UNIVER_SHEET']:{_0x4161c4=await this[_0x5b367e(0x25e)][_0x5b367e(0x3f9)](_0x4ce0fe,_0x3eb626);break;}case _0x5bae36[_0x5b367e(0xef)]:{_0x4161c4=await this[_0x5b367e(0x25e)][_0x5b367e(0xd6)](_0x4ce0fe,_0x3eb626);break;}default:{this['_logService'][_0x5b367e(0x2f2)](_0x5b367e(0x279),_0x5b367e(0x392));break;}}return _0x4161c4;}async[_0x12ab33(0x282)](_0x240d94,_0x2b9ad7,_0x5545fb){var _0x5364fe=_0x12ab33,_0x5ba6a5;this[_0x5364fe(0x34a)][_0x5364fe(0xaf)]({'unitId':_0x240d94,'type':_0x2b9ad7,'subUnitId':_0x5545fb});let _0x4e559c=0x0;const _0x416df8=await((_0x5ba6a5=this['_localCacheService'])==null?void 0x0:_0x5ba6a5[_0x5364fe(0x1c5)](_0x240d94));return _0x416df8&&(_0x416df8[_0x5364fe(0x320)]||_0x416df8[_0x5364fe(0x34d)][_0x5364fe(0xe6)]!==0x0)&&(_0x4e559c=_0x416df8['rev']),_0x4e559c===0x0&&this[_0x5364fe(0x400)][_0x5364fe(0x2ea)](_0x5364fe(0x279),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5364fe(0x122)](_0x240d94,_0x2b9ad7,_0x4e559c);}},_0x4bf482[_0x12ab33(0x35b)]=_0x44013e([_0x48d482(0x0,_0x449ba5[_0x12ab33(0x37b)]),_0x48d482(0x1,_0x449ba5['Inject'](_0x4811d6['SnapshotService'])),_0x48d482(0x2,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482['DataLoaderService']);var _0x59f7ef=Object['getOwnPropertyDescriptor'],_0x512f7a=(_0x2b30ae,_0x11192c,_0xbbbaad,_0x54b47b)=>{var _0x1e30d0=_0x12ab33;for(var _0x3a884e=_0x54b47b>0x1?void 0x0:_0x54b47b?_0x59f7ef(_0x11192c,_0xbbbaad):_0x11192c,_0x19899b=_0x2b30ae[_0x1e30d0(0xe6)]-0x1,_0x19244b;_0x19899b>=0x0;_0x19899b--)(_0x19244b=_0x2b30ae[_0x19899b])&&(_0x3a884e=_0x19244b(_0x3a884e)||_0x3a884e);return _0x3a884e;},_0xf9632b=(_0x33bb74,_0x12fe12)=>(_0x3625e2,_0x442cc9)=>_0x12fe12(_0x3625e2,_0x442cc9,_0x33bb74);const _0x5f5bb5=[_0x12ab33(0x1f2),_0x12ab33(0x29c),_0x12ab33(0x393),_0x12ab33(0x43b),_0x12ab33(0x422)],_0x5a6118=0x5*0x400*0x400,_0x33a84c=_0x12ab33(0x1f9),_0x52ebab=_0x12ab33(0x3d6);_0x4bf482[_0x12ab33(0x418)]=class{constructor(_0x5cf5ad,_0x5c683e,_0x24d72d){var _0x410132=_0x12ab33;_0x389841(this,_0x410132(0x372),0x0),_0x389841(this,_0x410132(0x12e),new _0x550b9f[(_0x410132(0x10a))]()),_0x389841(this,_0x410132(0x3c8),this['_change$']),_0x389841(this,_0x410132(0x357),new Map()),(this['_httpService']=_0x5cf5ad,this[_0x410132(0x3af)]=_0x5c683e,this[_0x410132(0x436)]=_0x24d72d);}[_0x12ab33(0xec)](_0x428d77){var _0x5f4b2f=_0x12ab33;this[_0x5f4b2f(0x372)]=_0x428d77,this[_0x5f4b2f(0x12e)]['next'](_0x428d77);}[_0x12ab33(0x245)](_0x53a22b,_0x544d48){var _0x5de487=_0x12ab33;if(_0x544d48===_0x40ace2['ImageSourceType'][_0x5de487(0x349)]){const _0x594f05=new Image();return _0x594f05['src']=_0x53a22b,_0x594f05;}return this['_imageSourceCache'][_0x5de487(0x1fa)](_0x53a22b);}[_0x12ab33(0x205)](_0x34e552,_0x4125a2,_0x45d6aa){var _0x2c94fb=_0x12ab33;_0x4125a2===_0x40ace2[_0x2c94fb(0xbf)][_0x2c94fb(0x349)]||_0x45d6aa==null||this[_0x2c94fb(0x357)][_0x2c94fb(0x25b)](_0x34e552,_0x45d6aa);}async[_0x12ab33(0x28e)](_0x3451eb){var _0x415ffd=_0x12ab33;try{const _0x22f19d=this['_replaceFileID'](this[_0x415ffd(0x344)](),''+_0x3451eb),_0x5de65b=(await this[_0x415ffd(0xe5)][_0x415ffd(0x1fa)](_0x22f19d))['body'];if(_0x5de65b['error']&&_0x5de65b[_0x415ffd(0x2f2)][_0x415ffd(0x218)]===_0x4c2ac7['OK']){const _0x2c85a9=new URL(_0x5de65b['url'],this[_0x415ffd(0x20c)]())[_0x415ffd(0x1f5)]();return Promise[_0x415ffd(0x3f4)](_0x2c85a9);}return Promise[_0x415ffd(0x300)](_0x5de65b[_0x415ffd(0x2f2)]);}catch(_0x192749){return Promise[_0x415ffd(0x300)](_0x192749);}}async[_0x12ab33(0x2df)](_0xc22b25){var _0x5a4d4c=_0x12ab33;let _0x126919='';if(!_0x5f5bb5['includes'](_0xc22b25[_0x5a4d4c(0x424)]))return this[_0x5a4d4c(0x252)](),Promise[_0x5a4d4c(0x300)](new Error(_0x40ace2['ImageUploadStatusType'][_0x5a4d4c(0x147)]));if(_0xc22b25[_0x5a4d4c(0x283)]>_0x5a6118)return this['_decreaseWaiting'](),Promise[_0x5a4d4c(0x300)](new Error(_0x40ace2[_0x5a4d4c(0x305)][_0x5a4d4c(0x3a7)]));try{const _0xb4acd7=new FormData();_0xb4acd7[_0x5a4d4c(0x362)](_0x5a4d4c(0x2b8),_0xc22b25);const _0x295dc2=this['_univerInstanceService'][_0x5a4d4c(0x19c)](),_0x5efb5c=_0x295dc2==null?void 0x0:_0x295dc2['getUnitId']();if(!_0x5efb5c)throw new Error(_0x5a4d4c(0x104));const _0x13c136=this[_0x5a4d4c(0x115)]()+_0x5a4d4c(0x1dd)+_0xc22b25[_0x5a4d4c(0x283)][_0x5a4d4c(0x1f5)]()+_0x5a4d4c(0x324)+_0x4818ca['UnitEmbedded']+_0x5a4d4c(0x3fe)+encodeURIComponent(_0x5efb5c),_0x4cb491={'body':_0xb4acd7},_0x1d2208=(await this[_0x5a4d4c(0xe5)][_0x5a4d4c(0x3a4)](_0x13c136,_0x4cb491))['body'];if(typeof _0x1d2208[_0x5a4d4c(0x3f6)]!=_0x5a4d4c(0x2eb))return this[_0x5a4d4c(0x252)](),Promise['reject'](new Error(_0x40ace2[_0x5a4d4c(0x305)][_0x5a4d4c(0x170)]));_0x126919=_0x1d2208['FileId'];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x40ace2[_0x5a4d4c(0x305)][_0x5a4d4c(0x170)]));}return new Promise((_0x13cf17,_0x1a71bd)=>{var _0x55bde9=_0x5a4d4c;const _0x206c74=new FileReader();_0x206c74[_0x55bde9(0x25f)](_0xc22b25),_0x206c74['onload']=_0xd238e5=>{var _0x407d38=_0x55bde9,_0x5b51c1;const _0x56a31=(_0x5b51c1=_0xd238e5[_0x407d38(0x3eb)])==null?void 0x0:_0x5b51c1[_0x407d38(0x415)];if(_0x56a31==null){this[_0x407d38(0x252)](),_0x1a71bd(new Error(_0x40ace2['ImageUploadStatusType'][_0x407d38(0x170)]));return;}const _0x9f3188=_0x449ba5[_0x407d38(0x2b3)](0x6);_0x13cf17({'imageId':_0x9f3188,'imageSourceType':_0x40ace2[_0x407d38(0xbf)][_0x407d38(0x201)],'source':_0x126919,'base64Cache':_0x56a31,'status':_0x40ace2[_0x407d38(0x305)][_0x407d38(0x232)]}),this[_0x407d38(0x252)]();};});}[_0x12ab33(0x115)](){var _0x5e272e=_0x12ab33,_0x522a76;const _0x1fbbea=this['_configService']['getConfig'](_0x433534);return(_0x522a76=_0x1fbbea==null?void 0x0:_0x1fbbea[_0x5e272e(0x38a)])!=null?_0x522a76:_0x33a84c;}['_getSignURL'](){var _0x149521=_0x12ab33,_0x76a2b3;const _0x5576ce=this['_configService'][_0x149521(0x18d)](_0x433534);return(_0x76a2b3=_0x5576ce==null?void 0x0:_0x5576ce['signUrlServerUrl'])!=null?_0x76a2b3:_0x52ebab;}['_getDownloadEndpointURL'](){var _0x2d22fb=_0x12ab33,_0x429c7d;const _0x49bdb1=this[_0x2d22fb(0x3af)][_0x2d22fb(0x18d)](_0x433534);return(_0x429c7d=_0x49bdb1==null?void 0x0:_0x49bdb1[_0x2d22fb(0x1d8)])!=null?_0x429c7d:location[_0x2d22fb(0x259)];}[_0x12ab33(0x2cc)](_0x40a3f7,_0x3737da){var _0x26c75e=_0x12ab33;return _0x40a3f7[_0x26c75e(0x227)](_0x26c75e(0x255),_0x3737da);}[_0x12ab33(0x252)](){var _0x32e363=_0x12ab33;this['_waitCount']-=0x1,this[_0x32e363(0x12e)]['next'](this[_0x32e363(0x372)]);}},_0x4bf482[_0x12ab33(0x418)]=_0x512f7a([_0xf9632b(0x0,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4['HTTPService'])),_0xf9632b(0x1,_0x449ba5[_0x12ab33(0x388)]),_0xf9632b(0x2,_0x449ba5['Inject'](_0x449ba5['IUniverInstanceService']))],_0x4bf482[_0x12ab33(0x418)]);var _0x1b0f63=Object[_0x12ab33(0x39e)],_0x32facc=(_0x46be19,_0x47df1d,_0x17568e,_0x4f1a9b)=>{for(var _0x46c20f=_0x4f1a9b>0x1?void 0x0:_0x4f1a9b?_0x1b0f63(_0x47df1d,_0x17568e):_0x47df1d,_0x50f89a=_0x46be19['length']-0x1,_0xe76be0;_0x50f89a>=0x0;_0x50f89a--)(_0xe76be0=_0x46be19[_0x50f89a])&&(_0x46c20f=_0xe76be0(_0x46c20f)||_0x46c20f);return _0x46c20f;},_0x3eed6d=(_0x279eb0,_0x435cff)=>(_0x4c1ad1,_0x22395a)=>_0x435cff(_0x4c1ad1,_0x22395a,_0x279eb0);const _0x26ea43='/universer-api/authz';_0x4bf482[_0x12ab33(0x1c6)]=class{constructor(_0x314123,_0x55ee93){var _0x3e471a=_0x12ab33;this['_configService']=_0x314123,this[_0x3e471a(0x1b7)]=_0x55ee93;}[_0x12ab33(0x288)](){var _0x2eb369;const _0x39a25f=this['_configService']['getConfig'](_0x433534);return(_0x2eb369=_0x39a25f==null?void 0x0:_0x39a25f['authzUrl'])!=null?_0x2eb369:_0x26ea43;}async[_0x12ab33(0xe2)](_0xe28c83){var _0x245ad6=_0x12ab33;const _0x224354=this[_0x245ad6(0x288)]()+_0x245ad6(0xe0);return{'list':[{'title':_0x245ad6(0x39a),'mentions':(await this[_0x245ad6(0x1b7)][_0x245ad6(0x1fa)](_0x224354,{'params':{'objectID':_0xe28c83[_0x245ad6(0x109)],'unitID':_0xe28c83[_0x245ad6(0x109)]}}))[_0x245ad6(0x3f5)][_0x245ad6(0x3db)]['map'](_0x2fb0d1=>({'objectId':_0x2fb0d1['id'],'name':_0x2fb0d1['subject']['name'],'metadata':{'icon':_0x2fb0d1[_0x245ad6(0x135)][_0x245ad6(0x123)]},'label':_0x2fb0d1[_0x245ad6(0x135)]['name'],'objectType':_0x449ba5[_0x245ad6(0x108)]['PERSON']})),'metadata':{},'type':_0x449ba5[_0x245ad6(0x108)][_0x245ad6(0xc7)]}]};}},_0x4bf482[_0x12ab33(0x1c6)]=_0x32facc([_0x3eed6d(0x0,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x388)])),_0x3eed6d(0x1,_0x449ba5['Inject'](_0xcd2fb4[_0x12ab33(0xfe)]))],_0x4bf482['MentionIoHttpService']);var _0x24e870=Object[_0x12ab33(0x39e)],_0x2fac99=(_0x55ac0b,_0x314c98,_0x38a619,_0xe343a3)=>{var _0x50fa40=_0x12ab33;for(var _0x45ef71=_0xe343a3>0x1?void 0x0:_0xe343a3?_0x24e870(_0x314c98,_0x38a619):_0x314c98,_0x381cf=_0x55ac0b[_0x50fa40(0xe6)]-0x1,_0x318a8c;_0x381cf>=0x0;_0x381cf--)(_0x318a8c=_0x55ac0b[_0x381cf])&&(_0x45ef71=_0x318a8c(_0x45ef71)||_0x45ef71);return _0x45ef71;},_0x576cbb=(_0x4d1853,_0x5ec475)=>(_0x3d0302,_0x1eea1d)=>_0x5ec475(_0x3d0302,_0x1eea1d,_0x4d1853);let _0x1fa16c=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x30ef67,_0x36d572,_0x4dab55,_0xf009b5,_0x511f1d){var _0x3cfdd3=_0x12ab33;super(),this[_0x3cfdd3(0x401)]=_0x30ef67,this[_0x3cfdd3(0x436)]=_0x36d572,this[_0x3cfdd3(0x17a)]=_0x4dab55,this[_0x3cfdd3(0x39c)]=_0xf009b5,this[_0x3cfdd3(0x18e)]=_0x511f1d,this[_0x3cfdd3(0x1f0)](),this[_0x3cfdd3(0x2d0)]();}[_0x12ab33(0x2d0)](){var _0x2dfa03=_0x12ab33;const _0x16e3ad=async _0x5293c6=>{var _0x59b656=_0x4f3d;(await this[_0x59b656(0x39c)][_0x59b656(0x29f)](_0x5293c6))[_0x59b656(0x403)]['pipe'](_0x4a20aa['filter'](_0xc657c=>_0xc657c[_0x59b656(0x28c)]===_0x4811d6[_0x59b656(0x381)][_0x59b656(0xfb)]),_0x4a20aa[_0x59b656(0x34b)](this[_0x59b656(0x338)]))['subscribe'](_0x371ae5=>{var _0x124349=_0x59b656;const _0x286ccf=_0x371ae5,{reason:_0x3ac6c9}=_0x286ccf[_0x124349(0x166)];this[_0x124349(0x18e)][_0x124349(0x3c1)]({'id':_0x49a56d[_0x124349(0x375)],'data':_0x3ac6c9}),this[_0x124349(0x17a)]['updatePermissionPoint'](new _0x38c84a[(_0x124349(0x3c9))](_0x5293c6)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5293c6);});};_0x550b9f[_0x2dfa03(0x421)](this[_0x2dfa03(0x436)][_0x2dfa03(0x43e)](_0x449ba5[_0x2dfa03(0x3c2)][_0x2dfa03(0x343)]),this[_0x2dfa03(0x436)][_0x2dfa03(0x43e)](_0x449ba5[_0x2dfa03(0x3c2)]['UNIVER_DOC']))[_0x2dfa03(0x188)](_0x4a20aa[_0x2dfa03(0xc9)](_0x141361=>_0x141361[_0x2dfa03(0x26f)]()),_0x4a20aa[_0x2dfa03(0x16b)](_0x47f62b=>!_0x449ba5[_0x2dfa03(0xed)](_0x47f62b)),_0x4a20aa[_0x2dfa03(0x34b)](this['dispose$']))[_0x2dfa03(0x368)](_0x26087a=>{_0x16e3ad(_0x26087a);});}[_0x12ab33(0x1f0)](){var _0x37dbd7=_0x12ab33;const _0x4466c3=async _0x516e81=>{var _0x408ae9=_0x4f3d;const _0x2cffb6=await this[_0x408ae9(0x39c)][_0x408ae9(0x29f)](_0x516e81),_0x1d230d=this[_0x408ae9(0x401)][_0x408ae9(0x1fa)](_0x38c84a['SheetPermissionInitController']);_0x2cffb6[_0x408ae9(0x403)]['pipe'](_0x4a20aa[_0x408ae9(0x16b)](_0xad7162=>_0xad7162[_0x408ae9(0x28c)]===_0x4811d6['CollaborationEvent'][_0x408ae9(0x31c)]),_0x4a20aa[_0x408ae9(0x34b)](this['dispose$']))['subscribe'](_0x22ce9d=>{var _0xb6d1e7=_0x408ae9;const _0x16cc3d=_0x22ce9d,{objectId:_0x1cea98}=_0x16cc3d[_0xb6d1e7(0x166)];_0x1cea98===_0x516e81?_0x1d230d[_0xb6d1e7(0x2e6)](_0x516e81):_0x1d230d['refreshPermission'](_0x516e81,_0x1cea98);});};_0x550b9f[_0x37dbd7(0x421)](this[_0x37dbd7(0x436)]['getTypeOfUnitAdded$'](_0x449ba5[_0x37dbd7(0x3c2)][_0x37dbd7(0x343)]))[_0x37dbd7(0x188)](_0x4a20aa['map'](_0x249b03=>_0x249b03['getUnitId']()),_0x4a20aa[_0x37dbd7(0x16b)](_0x383f43=>!_0x449ba5[_0x37dbd7(0xed)](_0x383f43)),_0x4a20aa[_0x37dbd7(0x34b)](this[_0x37dbd7(0x338)]))[_0x37dbd7(0x368)](_0x588f44=>{_0x4466c3(_0x588f44);});}};_0x1fa16c=_0x2fac99([_0x576cbb(0x0,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x576cbb(0x1,_0x449ba5['IUniverInstanceService']),_0x576cbb(0x2,_0x449ba5[_0x12ab33(0x340)]),_0x576cbb(0x3,_0x449ba5[_0x12ab33(0x116)](_0x4bf482[_0x12ab33(0x1b8)])),_0x576cbb(0x4,_0x449ba5[_0x12ab33(0x116)](_0x382c6e))],_0x1fa16c);var _0x5778d2=Object['getOwnPropertyDescriptor'],_0x471df1=(_0x3285e1,_0xd6f492,_0x463ec3,_0x5a06b2)=>{var _0x215eba=_0x12ab33;for(var _0x35484d=_0x5a06b2>0x1?void 0x0:_0x5a06b2?_0x5778d2(_0xd6f492,_0x463ec3):_0xd6f492,_0x1a8199=_0x3285e1[_0x215eba(0xe6)]-0x1,_0x448010;_0x1a8199>=0x0;_0x1a8199--)(_0x448010=_0x3285e1[_0x1a8199])&&(_0x35484d=_0x448010(_0x35484d)||_0x35484d);return _0x35484d;},_0xe0dae1=(_0x14e96c,_0x5a38d2)=>(_0x4d63d3,_0x25e2ed)=>_0x5a38d2(_0x4d63d3,_0x25e2ed,_0x14e96c);_0x4bf482['SnapshotServerOverHTTPService']=class{constructor(_0xfb6115,_0x32a864){var _0x2ca7c4=_0x12ab33;this[_0x2ca7c4(0x3af)]=_0xfb6115,this[_0x2ca7c4(0xe5)]=_0x32a864;}async['getUnitOnRev'](_0x1a351c,_0xb08560){var _0xca1456=_0x12ab33,_0x7f8f8c;const {unitID:_0x3ae698,type:_0x320c69,revision:_0x2feb72=0x0}=_0xb08560,_0x51f4df=this[_0xca1456(0x278)]()+'/'+_0x320c69+_0xca1456(0x1a9)+_0x3ae698+_0xca1456(0x117)+_0x2feb72,_0x52869f=(await this[_0xca1456(0xe5)][_0xca1456(0x1fa)](_0x51f4df))[_0xca1456(0x3f5)],_0xe48d7b=(_0x7f8f8c=_0x52869f[_0xca1456(0x3fa)])==null?void 0x0:_0x7f8f8c[_0xca1456(0xcf)];if(_0xe48d7b){const _0xcdfd52=_0xe48d7b==null?void 0x0:_0xe48d7b[_0xca1456(0x2be)],_0x48b589=_0x4811d6[_0xca1456(0x3f0)][_0xca1456(0x35c)](_0x4811d6[_0xca1456(0x301)](_0xcdfd52));_0xe48d7b[_0xca1456(0x2be)]=_0x48b589,Object['entries'](_0xe48d7b['sheets'])[_0xca1456(0x17b)](([,_0x78e059])=>{var _0x19fb86=_0xca1456;const _0x49526f=_0x78e059[_0x19fb86(0x2be)],_0xd9fa92=_0x4811d6[_0x19fb86(0x3f0)][_0x19fb86(0x35c)](_0x4811d6['b64DecodeUnicode'](_0x49526f));_0x78e059[_0x19fb86(0x2be)]=_0xd9fa92;});}return _0x52869f;}async[_0x12ab33(0x1d2)](_0x156ca2,_0x14ff1a){var _0x58e126=_0x12ab33;const {unitID:_0x118a72,type:_0x483b3e,blockID:_0x6259ef}=_0x14ff1a,_0x577bc8=this[_0x58e126(0xdd)]()+'/'+_0x483b3e+_0x58e126(0x1a9)+_0x118a72+_0x58e126(0x2cd)+_0x6259ef;return(await this['_httpService'][_0x58e126(0x1fa)](_0x577bc8))[_0x58e126(0x3f5)];}async[_0x12ab33(0x243)](_0x42f7c1,_0x2a9e32){var _0x61c95c=_0x12ab33;const {unitID:_0x16e497,type:_0x689c9d,blockID:_0x277ecb}=_0x2a9e32,_0x4c57d4=this[_0x61c95c(0xdd)]()+'/block/'+_0x689c9d+_0x61c95c(0x1a9)+_0x16e497+'/block/'+_0x277ecb;return(await this[_0x61c95c(0xe5)][_0x61c95c(0x1fa)](_0x4c57d4))[_0x61c95c(0x3f5)];}async['fetchMissingChangesets'](_0x1334a0,_0x3965c1){var _0xded6fe=_0x12ab33;const {unitID:_0x5246b6,type:_0x2d12f4,from:_0x204a85,to:_0x49bcc1}=_0x3965c1,_0x48e92d=this['_getAPIPrefix']()+'/'+_0x2d12f4+_0xded6fe(0x1a9)+_0x5246b6+_0xded6fe(0x35a)+_0x204a85+'&to='+_0x49bcc1;return(await this[_0xded6fe(0xe5)]['get'](_0x48e92d))['body'];}[_0x12ab33(0x278)](){var _0x4e291d=_0x12ab33,_0x2efc15;return(_0x2efc15=this[_0x4e291d(0x3af)][_0x4e291d(0x18d)](_0x574fde))!=null?_0x2efc15:this[_0x4e291d(0xdd)]();}[_0x12ab33(0xdd)](){var _0x48b900=_0x12ab33,_0x15a224;const _0x4e7db9=this['_configService']['getConfig'](_0x433534);return(_0x15a224=_0x4e7db9==null?void 0x0:_0x4e7db9[_0x48b900(0x319)])!=null?_0x15a224:_0x20340e;}async[_0x12ab33(0x2ca)](_0x241aed,_0x28ef90){var _0x3aa77f=_0x12ab33;const _0x3e8d7c=_0x3aa77f(0xf5)+_0x28ef90[_0x3aa77f(0x424)]+'/unit/'+_0x28ef90['unitID']+'/resources';return(await this[_0x3aa77f(0xe5)][_0x3aa77f(0x1fa)](_0x3e8d7c,{'params':{'resourceId':JSON[_0x3aa77f(0x3b6)](_0x28ef90[_0x3aa77f(0x3c5)])}}))[_0x3aa77f(0x3f5)];}['saveSnapshot'](){var _0x4bc03f=_0x12ab33;throw new Error(_0x4bc03f(0x231));}['updateSnapshot'](){var _0x52b6bd=_0x12ab33;throw new Error(_0x52b6bd(0x231));}[_0x12ab33(0x16f)](){var _0x25f127=_0x12ab33;throw new Error(_0x25f127(0x231));}['saveChangeset'](){var _0x3d4ddf=_0x12ab33;throw new Error(_0x3d4ddf(0x231));}[_0x12ab33(0x43d)](){var _0x5b2582=_0x12ab33;throw new Error(_0x5b2582(0x231));}[_0x12ab33(0xea)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x4bf482[_0x12ab33(0x2ab)]=_0x471df1([_0xe0dae1(0x0,_0x449ba5[_0x12ab33(0x388)]),_0xe0dae1(0x1,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4['HTTPService']))],_0x4bf482[_0x12ab33(0x2ab)]);var _0x369736=Object[_0x12ab33(0x39e)],_0x5ef29d=(_0x14754c,_0x1ced30,_0x21ddbd,_0x44f267)=>{var _0x30310d=_0x12ab33;for(var _0x4bd761=_0x44f267>0x1?void 0x0:_0x44f267?_0x369736(_0x1ced30,_0x21ddbd):_0x1ced30,_0x39ffef=_0x14754c[_0x30310d(0xe6)]-0x1,_0x26ba1f;_0x39ffef>=0x0;_0x39ffef--)(_0x26ba1f=_0x14754c[_0x39ffef])&&(_0x4bd761=_0x26ba1f(_0x4bd761)||_0x4bd761);return _0x4bd761;},_0x366127=(_0xefe11f,_0x51b20e)=>(_0x3b2385,_0x5b9b6b)=>_0x51b20e(_0x3b2385,_0x5b9b6b,_0xefe11f);_0x4bf482[_0x12ab33(0x16e)]=class extends _0x449ba5[_0x12ab33(0x385)]{constructor(_0x51d771,_0x80c7a1,_0x3a001f,_0x1c124f,_0x51c687){var _0x38b7dd=_0x12ab33;super(_0x51d771,_0x80c7a1,_0x3a001f),this['_transformService']=_0x1c124f,this[_0x38b7dd(0x400)]=_0x51c687;}[_0x12ab33(0x138)](_0x5c6923,_0x527b57){var _0x5b386a=_0x12ab33;const _0x492e06=this[_0x5b386a(0x2a1)](_0x5c6923);if(_0x492e06)try{const _0x38ab32=this['_transformStack'](_0x492e06,_0x527b57);this[_0x5b386a(0x3ae)](_0x5c6923,_0x38ab32);}catch(_0x49e422){this[_0x5b386a(0x400)][_0x5b386a(0x2f2)]('[CollaborationUndoRedoService]',_0x49e422),this[_0x5b386a(0x165)](_0x5c6923);}const _0x580b58=this[_0x5b386a(0x37c)](_0x5c6923);if(_0x580b58)try{const _0x248017=this[_0x5b386a(0x285)](_0x580b58,_0x527b57);this[_0x5b386a(0x334)](_0x5c6923,_0x248017);}catch(_0x3545da){this[_0x5b386a(0x400)]['error'](_0x3545da),this[_0x5b386a(0x172)](_0x5c6923);}}[_0x12ab33(0x165)](_0x2aae33){var _0x3c196c=_0x12ab33;const _0xc670e3=this[_0x3c196c(0x2a1)](_0x2aae33);_0xc670e3&&(_0xc670e3['length']=0x0,this['_updateStatus']());}[_0x12ab33(0x172)](_0x23dd34){var _0x1566d3=_0x12ab33;const _0x196ae8=this['_getRedoStack'](_0x23dd34);_0x196ae8&&(_0x196ae8[_0x1566d3(0xe6)]=0x0,this['_updateStatus']());}[_0x12ab33(0x3ae)](_0x19a94d,_0x525b71){var _0x1d5394=_0x12ab33;this[_0x1d5394(0x333)][_0x1d5394(0x25b)](_0x19a94d,_0x525b71),this[_0x1d5394(0x384)]();}[_0x12ab33(0x334)](_0x2e1a82,_0x2ac386){var _0xa5c059=_0x12ab33;this[_0xa5c059(0x3d9)][_0xa5c059(0x25b)](_0x2e1a82,_0x2ac386),this[_0xa5c059(0x384)]();}[_0x12ab33(0x285)](_0x450e2b,_0xea5d2c){var _0x36ff6e=_0x12ab33;const _0x2c7c08=[];let _0x5c63ad=_0xea5d2c,_0x203326=_0xea5d2c;for(let _0xd44976=_0x450e2b[_0x36ff6e(0xe6)]-0x1;_0xd44976>=0x0;_0xd44976--){const {unitID:_0x2816ce,undoMutations:_0x30f8fa,redoMutations:_0x349df1}=_0x450e2b[_0xd44976],_0x34e9d4=this[_0x36ff6e(0x180)]['transformMutationsWithChangeset'](_0x5c63ad,_0x30f8fa),_0x17e6f6=this['_transformService']['transformMutationsWithChangeset'](_0x203326,_0x349df1);if(_0x4811d6['isTransformMutationsWithChangesetFailure'](_0x34e9d4)||_0x4811d6[_0x36ff6e(0x1c7)](_0x17e6f6)){this[_0x36ff6e(0x400)][_0x36ff6e(0x2f2)]('[CollaborationUndoRedoService]',_0x36ff6e(0x430),_0x34e9d4,_0x17e6f6);break;}_0x5c63ad=_0x34e9d4[_0x36ff6e(0x184)],_0x203326=_0x17e6f6[_0x36ff6e(0x184)],_0x2c7c08[_0x36ff6e(0x125)]({'unitID':_0x2816ce,'undoMutations':_0x34e9d4[_0x36ff6e(0x304)],'redoMutations':_0x17e6f6[_0x36ff6e(0x304)]});}return _0x2c7c08[_0x36ff6e(0x237)]();}},_0x4bf482['CollaborativeUndoRedoService']=_0x5ef29d([_0x366127(0x0,_0x449ba5['IUniverInstanceService']),_0x366127(0x1,_0x449ba5['ICommandService']),_0x366127(0x2,_0x449ba5['IContextService']),_0x366127(0x3,_0x4811d6[_0x12ab33(0x3d0)]),_0x366127(0x4,_0x449ba5[_0x12ab33(0x37b)])],_0x4bf482[_0x12ab33(0x16e)]);var _0x3f2f9d=Object[_0x12ab33(0x25d)],_0xb67842=Object['getOwnPropertyDescriptor'],_0x11dcb0=(_0x529937,_0x2b45a4,_0x1bf29a)=>_0x2b45a4 in _0x529937?_0x3f2f9d(_0x529937,_0x2b45a4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bf29a}):_0x529937[_0x2b45a4]=_0x1bf29a,_0xfca091=(_0x286b1d,_0x5def32,_0x379512,_0x34bcd8)=>{for(var _0x51f009=_0x34bcd8>0x1?void 0x0:_0x34bcd8?_0xb67842(_0x5def32,_0x379512):_0x5def32,_0x609367=_0x286b1d['length']-0x1,_0x23d540;_0x609367>=0x0;_0x609367--)(_0x23d540=_0x286b1d[_0x609367])&&(_0x51f009=_0x23d540(_0x51f009)||_0x51f009);return _0x51f009;},_0x381425=(_0x1a2401,_0x7f1279)=>(_0x2c6d7e,_0x2996b2)=>_0x7f1279(_0x2c6d7e,_0x2996b2,_0x1a2401),_0x45441b=(_0xff8fce,_0x53dc2a,_0x4205d5)=>_0x11dcb0(_0xff8fce,_0x53dc2a+'',_0x4205d5);const _0x7ec1cb='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4bf482[_0x12ab33(0x43c)]=class extends _0x449ba5[_0x12ab33(0x175)]{constructor(_0x567aea,_0x11f1fa,_0x65634e,_0x3d7279){var _0x114f46=_0x12ab33;super(),_0x389841(this,_0x114f46(0xf9)),(this[_0x114f46(0x400)]=_0x11f1fa,this[_0x114f46(0x401)]=_0x65634e,this[_0x114f46(0x3af)]=_0x3d7279);const {..._0x5ed89f}=_0x449ba5['merge']({},_0x17c09c,_0x567aea);if(!_0x5ed89f[_0x114f46(0x1f7)])throw new Error(_0x114f46(0x20b));this['_config']=_0x5ed89f,this[_0x114f46(0x3af)][_0x114f46(0x24a)](_0x433534,_0x5ed89f);}['onStarting'](){var _0x4b0ec7=_0x12ab33;this[_0x4b0ec7(0x2d7)](),this[_0x4b0ec7(0x2cf)]();}[_0x12ab33(0x2d7)](){var _0x24c4f5=_0x12ab33,_0x17b92a,_0x1b91a6;this[_0x24c4f5(0x401)][_0x24c4f5(0xd9)](_0x449ba5[_0x24c4f5(0x36d)])&&this[_0x24c4f5(0x400)][_0x24c4f5(0x2f2)](_0x24c4f5(0x369),_0x24c4f5(0x210));const _0x3cb2e2=_0x449ba5[_0x24c4f5(0x23f)]([[_0x449ba5[_0x24c4f5(0x36d)],{'useClass':_0x4bf482[_0x24c4f5(0x16e)]}],[_0x4bf482[_0x24c4f5(0x1b8)]],[_0x4bf482['MemberService']],[_0x4bf482[_0x24c4f5(0x280)]],[_0x559bbf],[_0x4ebec9],[_0x5d6148],[_0x1fa16c],[_0x382c6e],[_0x4bf482['DataLoaderService']],[_0x559ff3,{'useClass':this[_0x24c4f5(0xf9)][_0x24c4f5(0x1f7)]}],[_0x4811d6[_0x24c4f5(0x36f)],{'useClass':_0x4bf482['SnapshotServerOverHTTPService']}],[_0x449ba5[_0x24c4f5(0x16d)],{'useClass':_0x4bf482[_0x24c4f5(0x395)]}],[_0x40ace2[_0x24c4f5(0x2b1)],{'useClass':_0x4bf482['CollaborationImageIoService']}],[_0x449ba5[_0x24c4f5(0x440)],{'useClass':_0x4bf482[_0x24c4f5(0x1c6)]}],[_0x4bf482[_0x24c4f5(0x164)]],[_0x3f6d3c]],(_0x17b92a=this[_0x24c4f5(0xf9)])==null?void 0x0:_0x17b92a[_0x24c4f5(0x221)]);if(!((_0x1b91a6=this[_0x24c4f5(0xf9)])!=null&&_0x1b91a6[_0x24c4f5(0x356)])){const _0x2f2d66=_0x3cb2e2[_0x24c4f5(0x342)](([_0x31e495])=>_0x31e495===_0x6f1b14);_0x2f2d66!==-0x1&&_0x3cb2e2[_0x24c4f5(0x3f1)](_0x2f2d66,0x1);}_0x449ba5[_0x24c4f5(0x425)](this['_injector'],_0x3cb2e2);}[_0x12ab33(0x2cf)](){var _0x498b08=_0x12ab33,_0xdb4e11,_0x22be32,_0x26a761;this[_0x498b08(0x401)][_0x498b08(0x1fa)](_0xcd2fb4[_0x498b08(0xfe)])[_0x498b08(0x2ce)]({'priority':0x14,'interceptor':_0xcd2fb4[_0x498b08(0x23a)]({'maxParallel':0x6})}),(_0xdb4e11=this[_0x498b08(0xf9)])!=null&&_0xdb4e11['enableOfflineEditing']||(_0x22be32=this[_0x498b08(0x401)][_0x498b08(0x1fa)](_0x6af55a,_0x449ba5['Quantity'][_0x498b08(0x3e0)]))==null||_0x22be32[_0x498b08(0x19e)](),(_0x26a761=this['_config'])!=null&&_0x26a761[_0x498b08(0x1dc)]&&_0x449ba5[_0x498b08(0x30e)](this[_0x498b08(0x401)],[[_0x559bbf]]),_0x449ba5[_0x498b08(0x30e)](this[_0x498b08(0x401)],[[_0x4ebec9],[_0x4bf482[_0x498b08(0x164)]],[_0x1fa16c]]);}},_0x45441b(_0x4bf482['UniverCollaborationClientPlugin'],_0x12ab33(0x198),_0x7ec1cb),_0x4bf482['UniverCollaborationClientPlugin']=_0xfca091([_0x449ba5[_0x12ab33(0x2a9)](_0x4811d6[_0x12ab33(0x29b)],_0xcd2fb4[_0x12ab33(0x1e7)]),_0x381425(0x1,_0x449ba5[_0x12ab33(0x37b)]),_0x381425(0x2,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x381425(0x3,_0x449ba5[_0x12ab33(0x388)])],_0x4bf482['UniverCollaborationClientPlugin']),_0x4bf482[_0x12ab33(0x19b)]=_0x433534,_0x4bf482['CollaborationStatus']=_0x1bd308,_0x4bf482[_0x12ab33(0x15c)]=_0x49a56d,_0x4bf482['CollaborationUIEventService']=_0x382c6e,_0x4bf482[_0x12ab33(0x100)]=_0x5d6148,_0x4bf482['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x19a15b,_0x4bf482['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0xa6350f,_0x4bf482[_0x12ab33(0x2c2)]=_0x71609,_0x4bf482[_0x12ab33(0x1a7)]=_0x5f4e3a,_0x4bf482['HEARTBEAT_TIMEOUT_KEY']=_0x5e9f32,_0x4bf482[_0x12ab33(0x332)]=_0x559ff3,_0x4bf482['ILocalCacheService']=_0x6af55a,_0x4bf482[_0x12ab33(0xcc)]=_0x22ffa0,_0x4bf482[_0x12ab33(0x29e)]=_0x6f1b14,_0x4bf482['LOCAL_CACHE_INTERVAL']=0x3e8,_0x4bf482[_0x12ab33(0x314)]=_0x395175,_0x4bf482[_0x12ab33(0x28a)]=_0x4a651b,_0x4bf482[_0x12ab33(0x114)]=_0x8019cb,_0x4bf482[_0x12ab33(0x1b9)]=_0x439d16,_0x4bf482[_0x12ab33(0x32a)]=_0x5f5425,_0x4bf482['deserializeToCombResponse']=_0x4820e4,_0x4bf482[_0x12ab33(0x284)]=_0x5bc769,_0x4bf482['serializeCombRequest']=_0x111693,Object['defineProperty'](_0x4bf482,Symbol['toStringTag'],{'value':'Module'});}));function _0x16cf(){var _0x27e3d0=['_imageSourceCache','SUBMIT_CHANGESET_TIMEOUT','_disableEditing','/fetchmissing?from=','DataLoaderService','encode','selections','dispose','_toggleOffline','UNIVER_SLIDE','_clearRetryConnectingTimer','append','_clearScheduledTask','newCsEvent','_reverseMap','_sendHeartbeatTimer','/universer-api/comb','subscribe','[UniverCollaborationClientPlugin]','_socket$','Could\x20not\x20dynamically\x20require\x20\x22','toDisposable','IUndoRedoService','mixIn','ISnapshotServerService','AwaitingWithPendingState','\x0aCurrent:\x20','_waitCount','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','CLOSE_ROOM','UniverProLicense','POST','_submitChangeset','fromCharCode','/universer-api/uniscript','ILogService','_getRedoStack','createIdentifier','_doCreateSocket','InsertSheetMutation','deepClone','CollaborationEvent','APPLY_REJECT','CHANGESET_REJ','_updateStatus','LocalUndoRedoService','LICENSE_DISTRO_REJECTED','reqId','IConfigService','blockSize','uploadFileServerUrl','IUniverInstanceService','message$','ClipsheetFragments','GLOBAL_ROOMS_CNT_EXCEEDS','PAYMENT_CHANNEL_NOT_SUPPORT','SyncedState','reset','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','image/jpg','add','AuthzIoHttpService','_sessionStatus$','PendingState','_changesetReqId','_initMergeInterceptor','People','finalize','_collaborationSessionService','randomBytes','getOwnPropertyDescriptor','Undefined','SOCKET_FAILED','retryConnectingInterval','auth.needGotoLoginAlert','ReplaySubject','post','confirm','sid','ERROR_EXCEED_SIZE','_sendingTimer','joinEvent','EvpKDF','patch','_remoteChangesetQueue','_collaborationTimeoutTimer','_substituteUndoStack','_configService','_nDataBytes','SNAPSHOT_HAS_BEEN_REMOVED','_keySchedule','COMPLETION_FINISHED','SheetsSelectionsService','getUnitStatus$','stringify','CollaborationSession','clone','COMMENT_UPDATE','UniverSheets','name','enc','HmacSHA1','put','_candidateSocket','take','emitEvent','UniverInstanceType','_telemetryInfo','_transformStateCache','resourceIDs','getCurrentRevOfUnit','UniverNetwork','change$','WorkbookEditablePermission','19hMyBCy','onLocalMutation','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','editing\x20status\x20changed\x20to','_startCollaboration','_data','ITransformService','OFFLINE','_localCacheService','MUTATION','_throwTelemetryCollaborationNewChangeset','synced','/universer-api/file/{fileID}/sign-url','_lockTransition','EMAIL_VERIFY_CODE_MISMATCH','_redoStacks','not_collab','collaborators','_collaborationPaused','_resendTimeout','_entityInit$','_onLocalMutation','OPTIONAL','_queuedRemoteChangesets','buffer','onTransformSelections','APPLY_REVISION_CONFILICT','_checkMissing','_clearHeartbeatTimer','getRoom','_awaitingChangeset','USER_NOT_INVITED_CODE','delete','target','_entities','NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','_members$','textEncoder','splice','MSG_FOR_ERROR','LICENSE_IMPORT_SIZE_EXCEEDED','resolve','body','FileId','reduce','_cipher','loadSheet','snapshot','_onCombEvent','hasOwnProperty','_roomMembers','&assign=','CURRENT_STATUS_CANNOT_OPERATE','_logService','_injector','UnitEmbedded','event$','PSEUDO_FETCH_MISSING_RESULT','UNAUTHENTICATED','byteLength','INVITE_CODE_ALREADY_BOUND','_getCurrentRevision','LIVESHARE_REQUEST_HOST','onMissingChangesets','byteOffset','_commentUpdate$','_retryConnectingTimer','updateCursorEvent','YUUMI_NO_CUBOID_FOR_QUESTION','waitForRoom$','2314UohiNB','_commentService','_createHelper','YUUMI_ALL_TABLES_IS_INVALID','result','_networkConditionService','_maxTotalRetryTimeout','CollaborationImageIoService','_doFinalize','msCrypto','@univerjs/drawing','onMissedChangesetFetched','INTERNAL_ERROR','collaboration_new_changeset','parseProtocolChangeset','@univerjs/telemetry','merge','image/bmp','FAIL','type','registerDependencies','ALREADY_EXISTS','collaboration-client.local-cache-service','ERROR_AGAIN','join','JOIN_ROOM_FULL','interceptor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','REDEMPTION_CODE_FULLY_REDEEMED','_tryReconnect','USERS_LEAVE','transformStack\x20failed!','JOIN','open$','FetchingMissState','_nRounds','cmd','_univerInstanceService','_timeoutTimer','crypto','href','Base64','image/gif','UniverCollaborationClientPlugin','copyFileMeta','getTypeOfUnitAdded$','awaiting','IMentionIOService','_clearCollaborationTimeoutTimer','subUnitId','startTime','HELLO','_onRemoteRejected','next','CollaborationEntity','JSONX','_executeRemoteChangeset','YUUMI_TABLE_NOT_FOUND_IN_UNIT','socket$','REDEMPTION_USER_NOT_ELIGIBLE','_startTelemetryCollaborationNewChangeset','NOT_COLLAB','onCommentUpdate','words','shouldCloseConn','_xformMode','_clearTimeoutTimer','_retryCount','$super','ImageSourceType','abs','AWAITING','[CollaborationSessionService]','onStateChange','_invKeySchedule','UNRECOGNIZED','_scheduleCompleteTimestamp','PERSON','HMAC','map','objectID','resend','INetworkConditionService','_clearLocalCache','Optional','workbook','UNIVER_PROJECT','rxjs','_syncEditingCollabCursor','_acknowledgedAwaitingChangeset','_DEC_XFORM_MODE','changesets','loadDoc','OpenSSL','_rescheduleHeartbeat','has','asObservable','WordArray','_updateLocalCache','_getAPIPrefix','ENTITLE_COUPON_USED_UP','roomInfos','/collaborator','getValue','list','updateMember','_sheetTransformSelectionsService','_httpService','length','allowed','getCurrentUser','pending','getLatestCsReqIdBySid','REDEMPTION_USER_REDEEM_TIMES_EXCEED','setWaitCount','isInternalEditorID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_DOC','_revisionService','17588THRfOc','235459IdXPGZ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onTransformRemoteChangesetByIMECache','/universer-api/snapshot/','getUnit','@univerjs/sheets','charCodeAt','_config','_event$','SHOULD_CLOSE_CONN','_onJoinRoomEvent','CHANGESET_REVISION_CONFILICT','HTTPService','ENTITLE_CHAT_LIMIT_EXCEED','CommentService','_incrementRevisionNumber','_iv','LEAVE','unitId\x20is\x20not\x20found','_handlerCallback','Disposable','YUUMI_UNABLE_LOAD_URL','MentionType','unitId','Subject','10939848wvyinx','listRoles','_transformIMECache','csAckEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','memberID','?url=','UniverProCollaborationClient','UserProfileImg','RETRY_CONNECTING_MAX_COUNT_KEY','_getUploadFileURL','Inject','/rev/','getAllMembers','CHANGESET_SHOULD_RETRY','_compressMutationService','update','getWorkbookSelections','_waitForHeartbeatResponse','onSyncEditingCollabCursor','getMember','onRemoteRej','getInterceptPoints','loadUnitOfRevision','avatar','onSendChangeset','push','Error\x20on\x20receiving\x20event','_scheduleCollaborationTimeoutTimer','createCollaborator','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_unitID','_socketService','_showConflictNotification','_createHandler','_change$','stopTime','random','save\x20fail\x20reason\x20is\x20','liveShareNewHost','_shouldReportTelemetry','fetchMissingChangesets','subject','SNAPSHOT_URL_KEY','AwaitingState','transformUndoRedo','duration','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Hasher','/object','USERS_ENTER','CBC','__creator','_collabSessionService','MOBILE_HAS_BEEN_BOUND','create','repeat','sendChangesetTimeout','_map','reconnect','ERROR_IMAGE_TYPE','Hex','baseRev','Encryptor','FETCH_MISSING','AES','createEncryptor','collaMsg','state','catch','PERMISSION_REJ','salt','collabWebSocketUrl','UniverProCollaboration','onRemoteRetry','max','_initRequestHeader','INVITE_CODE_REQUIRED','getCollabEntity','online$','lib','CollaborationUIEventId','delay','[CollaborationSession]','SYNCED','UserManagerService','_onOffline','__Key__','unpad','CollaborationController','_clearUndo','data','getTypeOfUnitDisposed$','5222789hQezPT','min','36thZojY','filter','_onConnectionFailed','IAuthzIoService','CollaborativeUndoRedoService','saveSheetBlock','ERROR_IMAGE','_getSendChangesetTimeout','_clearRedo','ENTITLE_DUP_SUBSCRIPTION','UnitSnapshot','Plugin','LICENSE_MAX_UNITS_EXCEEDED','onMutationExecutedForCollab','_keyPriorReset','onRemoteChangeset','_permissionService','forEach','routeKey','format','closeSession','_userManagerService','_transformService','APPLY_DUPLICATED','getGlobalObject','unitID','c1Prime','deleteCollaborator','ENTITLE_REPORT_LIMIT_EXCEED','_hasher','pipe','_onConnectionOpen','_localeService','_schedule','ciphertext','getConfig','_collaborationUIEventService','onTransformRemoteChangesetByStateCache','parse','session.room-not-exists','_isPermissionRej','_onMessage','WECHAT_HAS_BEEN_BOUND','ENTITLE_INVALID_COUPON_CODE','fetch_missing','collaboration-client.config','pluginName','send','univer-pro.collaboration-client.network-condition.service','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getFocusedUnit','_type','disableLocalCache','SHA1','MemberService','getTime','getActiveSheet','LOGIN_TOKEN_PROCESSING_FAILED','UNIVER_UNKNOWN','call','YUUMI_AI_RUN_FAILED','HEARTBEAT_INTERVAL_KEY','removeMember','/unit/','listCollaborators','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_doReset','LIVESHARE_OPERATION','_exhaustRemoteChangesetQueue','floor','parseChangesetToProtocol','transformMutationsWithChangeset','addHandlerCallback','awaiting_with_pending','SetSelectionsOperation','UNKNOWN_CODE','keySize','_HTTPService','CollaborationSessionService','SessionStatus','updateOfflineData','unsubscribe','_resendTimer','_sessions','[PendingState]:\x20received\x20acknowledgement.','padding','Tools','[FetchMissState]','encrypt','DisposableCollection','focused$','loadOfflineData','MentionIoHttpService','isTransformMutationsWithChangesetFailure','objectActions','PERMISSION_DENIED','commentUpdateEvent','Rectangle','location','session','JOIN_ROOM_FAILED','_status$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','from','getSheetBlock','clamp','OTHER_CLIENTS_EDITING','cfg','/universer-api/snapshot','_onRecvEvent','downloadEndpointUrl','onlyLocal','ivSize','decrypt','enableAuthServer','?size=','_getCtorByUniverType','UNDEFINED','_onRemoteChangeset','_emitMembers','_commandService','@univerjs/core','formatter','close','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverNetworkPlugin','_transformSelections','method','operators','[OfflineState]:\x20received\x20changeset.','algo','localeService','Cipher','COMPRESS_MUTATION_SEND','_initUnitPermissionChange','ENTITLE_NEED_BILLING_ADDRESS','image/png','EmptyMutationInfo','_state','toString','_joinRoom','socketService','BehaviorSubject','/universer-api/stream/file/upload','get','_ENC_XFORM_MODE','RxDisposable','appendMutation','actions','members$','ConflictState','UUID','_listenToNetworkCondition','_undoRedoService','clear','addImageSourceCache','firstValueFrom','UNISCRIPT_RUN','REDEMPTION_CODE_NOT_STARTED','_transitionLocked','ICommandService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_getDownloadEndpointURL','ONLINE','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverDrawing','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','updatePermissionObjEvent','getSheetId','authzUrl','concat','_pendingMutations','BlockCipher','OTHER_CLIENT_EDITING','code','_onConflict','amd','_roomCreated$','ITelemetryService','2960140bTtuag','disposeWithMe','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_socket','override','_onRemoteRetry','isPermissionRej','hasher','shareReplay','DocCollaborationEntity','replace','[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.','_process','find','_singleActiveUnitService','encryptBlock','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','compose','compute','EMAIL_HAS_BEEN_BOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SUCCUSS','SNAPSHOT_INVALID_SNAPSHOT','_tryEnsureSocket','ENSURE_SNAPSHOT_EXECUTION','encodeURIComponent','reverse','2139258SUyIQB','DATA_SOURCE_TOO_LARGE','ThresholdInterceptorFactory','DEFAULT_FILE_NAME','_doCryptBlock','csShouldRetryEvent','slice','mergeOverrideWithDependencies','complete','_handler','status','getDeserializedSheetBlock','APPLY_PERMISSION_DENIED','getImageSourceCache','Decryptor','AUTHORIZE_CODE_ILLEGAL','/role','UPDATE_CURSOR','setConfig','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPRESS_MUTATION_APPLY','isTransformChangesetsSuccess','IDLE','setCurrentUser','batchAllowed','YUUMI_URL_COL_OUT_OF_RANGE','_decreaseWaiting','title','HttpExport','{fileID}','_init','exports','/universer-api/oidc/authpage','origin','CONNECTOR_DATA_TOO_LARGE','set','INGEST','defineProperty','_snapshotService','readAsDataURL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_resendWithTimeout','REDEMPTION_INVALID_CODE','_createSocket','pad','now','\x0aAfter:\x20','261LAPclJ','createSocket','offline','getMemberID','_key','csRejEvent','ws://127.0.0.1:8000/universer-api/comb/connect','TOO_MANY_REQUESTS','getUnitId','StreamCipher','commentUpdate$','roles','_socketMessageSubscription','onRemoteAck','headers','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','mode','getSnapshotAPIPath','[DataLoaderService]','leaveEvent','mapDocumentTypeToUniverType','params','session.room-full','key','_onUserJoin','SheetTransformSelectionsService','_doProcessBlock','loadUnit','size','getLocalCacheKey','_transformStack','object','_replayCachedMutations','_getAPIPrefixPath','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','/allowed','eventID','304bmHxzv','getImage','_createHmacHelper','/-/object/-/batch_allowed','_removeRoom','Utf8','prototype','_mode','CollaborationSocketService','_sender','values','Injector','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','RECV','UniverCollaborationPlugin','image/jpeg','executeCommand','ISingleActiveUnitService','requireSession','PY_RUNTIME_SCRIPT_ERROR','_getUndoStack','error$','ENTITLE_INSUFFICIENT_QUOTA','close$','_oKey','INVALID_ARGUMENT','charAt','/object/','DependentOn','_changesetSessionId','SnapshotServerOverHTTPService','submit\x20changeset\x20error!','enableCollaboration','_transformUndoredo','session.room-cnt-exceeds','HEARTBEAT_INTERVAL','IImageIoService','updatePermissionPoint','generateRandomId','extend','CommandType','YUUMI_ASYNCIO_CANCELLED','UniverDocs','file','transformChangesets','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','joinRsp','_hash','\x20in\x20_schedule.','originalMeta','fetchMiss','conflict','NEW_CHANGESETS','DEFAULT_WS_SESSION_TICKET_URL','setShowComponents','HTTPRequest','[CollaborationEntity]','CompressMutationService','requestParams','unknown','range','getResourcesRequest','YUUMI_RATE_OVER_LIMIT','_replaceFileID','/block/','registerHTTPInterceptor','_initDependencies','_initCloseConn','ceil','LIVESHARE_FETCH_OPERATIONS','sessionStatus$','10NBFqiZ','_append','OfflineState','_registerDependencies','_createInitialState','_members','MOBILE_VERIFY_CODE_MISMATCH','JOINING','rxjs/operators','state$','sessionStatus','saveImage','fetchThroughInterceptors','execute','sigBytes','Base','NO_OTHER_CLIENTS_EDITING','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','initWorkbookPermissionChange','__splitChunk__','unitInfo$','BufferedBlockAlgorithm','debug','string','_applyRemoteChangeset','SheetCollaborationEntity','UNKNOWN_CMD','every','sin','_snapshotServerService','error','_parse','CHANGESET_ACK','/-/object/list','connection\x20error','transformSelections','LIVESHARE_TERMINATE','PENDING','apply','[CollaborationState]:\x20apply\x20error!','REDEMPTION_CODE_INACTIVE','_onUserLeave','getUnitType','_telemetryService','reject','b64DecodeUnicode','[OfflineState]:\x20received\x20rejection.','toggleOnline','m2Prime','ImageUploadStatusType','textRanges','onTransformIME','SUBMIT_CHANGESET','LOGIN_FAILED','CipherParams','LocaleService','_memberService','userID','touchDependencies','Univer','MD5','function','LICENSE_EXPORT_SIZE_EXCEEDED','socket\x20close','LOCAL_CACHE_INTERVAL_KEY','then','RETRY_CONNECTING_MAX_COUNT','_unlockTransition','INVALID_INVITE_CODE','snapshotServerUrl','RichTextEditingMutation','indexOf','UPDATE_PERMISSION_OBJ','_stopTelemetryCollaborationNewChangeset','unit-cache-','Workbook','awaitingChangeset','getCurrentSelections','objectType','_sendHeartbeat','&source=','uniscriptRunEvent','[SyncedState]:\x20received\x20rejection.','_iKey','isArray','LIVESHARE_NEW_HOST','UnitStatus','Malformed\x20UTF-8\x20data','kdf','createDecryptor','NoPadding','getRandomValues','isTransformMutationsWithChangesetSuccess','startsWith','ICollaborationSocketService','_undoStacks','_substituteRedoStack','JOIN_ROOM_PERMISSION_DENIED','LOCAL_CACHE_INTERVAL','RevisionService','dispose$','HttpImport','fromCollab','toggleOffline','INVITE_CODE_HAS_BEEN_UES','init','SOCKET_FAILED_RETRY','CONFLICT','IPermissionService','_updateState','findIndex','UNIVER_SHEET','_getSignURL','socket\x20open.','localCacheService','_socketReady','_transformRemoteChangesetByIMECache','BASE64','_unitInfo$','takeUntil','HEARTBEAT','mutations','createInstance','infoRsp','_onFetchMissResult','_prevBlock','revision','onTransformState','getCollabEntity$','USER_NOT_FOUND','enableSingleActiveInstanceLock'];_0x16cf=function(){return _0x27e3d0;};return _0x16cf();}
2
+ function _0x49c3(){var _0x403216=['[CollaborationSessionService]:\x20socket\x20error','_redoStacks','c1Prime','LocaleService','LICENSE_DISTRO_REJECTED','SUBMIT_CHANGESET_TIMEOUT','fromCollab','next','hasOwnProperty','CollaborationStatus','_emitMembers','__esModule','_waitCount','sin','YUUMI_ASYNCIO_CANCELLED','?url=','liveShareOperation','_onJoinRoomEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_keySchedule','[CollaborationSession]','Univer','_getLoginPath','SetSelectionsOperation','_transformRemoteChangesetByStateCache','_submitChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_unitInfo$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','parseProtocolChangeset','loadUnitOfRevision','RxDisposable','originalMeta','getCurrentRevOfUnit','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_commentService','NOT_FOUND','charCodeAt','PY_RUNTIME_SCRIPT_ERROR','AwaitingState','every','IUniverInstanceService','routeKey','joinEvent','setConfig','SNAPSHOT_URL_KEY','onSendChangeset','amd','_waitForHeartbeatResponse','HTTPRequest','toStringTag','requireSession','_removeRoom','_state','_collabSessionService','hasher','updateMember','SNAPSHOT_INVALID_SNAPSHOT','override','executeCommand','_sheetTransformSelectionsService','onLocalMutation','OfflineState','LIVESHARE_TERMINATE','SessionStatus','IAuthzIoService','_event$','_applyRemoteChangeset','_collaborationSessionService','registerDependencies','EvpKDF','HEARTBEAT_INTERVAL','_getUploadFileURL','_transformStack','roles','getTypeOfUnitAdded$','method','ENTITLE_DUP_SUBSCRIPTION','MUTATION','disableLocalCache','key','_onConflict','YUUMI_ALL_TABLES_IS_INVALID','fetchMissingChangesets','_scheduleCompleteTimestamp','\x0aAfter:\x20','/new_changes','[CollaborationSessionService]','getWorkbookSelections','_unlockTransition','4202723bzGhvr','downloadEndpointUrl','_initRequestHeader','onRemoteChangeset','EMAIL_HAS_BEEN_BOUND','patch','UniverCollaborationPlugin','_getSendChangesetTimeout','_commentUpdate$','encrypt','sid','getLatestCsReqIdBySid','subscribe','_invKeySchedule','updateOfflineData','delay','UnitSnapshot','_socketMessageSubscription','_resendTimeout','getImageSourceCache','length','APPLY_PERMISSION_DENIED','_ENC_XFORM_MODE','file','ONLINE','_tryEnsureSocket','clamp','image/jpg','BehaviorSubject','_iKey','resend','_doReset','NO_OTHER_CLIENTS_EDITING','YUUMI_UNABLE_LOAD_URL','decrypt','loadUnit','m2Prime','UnitStatus','_startTelemetryCollaborationNewChangeset','_iv','_decreaseWaiting','?size=','compute','AwaitingWithPendingState','UNIVER_UNKNOWN','push','_pendingMutations','image/png','/-/object/-/batch_allowed','HTTPService','_revisionService','set','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unpad','_fetchMissChangesets','REDEMPTION_CODE_INACTIVE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','min','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','RETRY_CONNECTING_MAX_COUNT_KEY','_exhaustRemoteChangesetQueue','ERROR_EXCEED_SIZE','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_REJECT','/-/object/list','MOBILE_VERIFY_CODE_MISMATCH','_queuedRemoteChangesets','from','getImage','_onRemoteChangeset','ENTITLE_INSUFFICIENT_QUOTA','_lockTransition','People','_nDataBytes','origin','UniverNetwork','Cipher','rxjs/operators','AES','/universer-api/file/{fileID}/sign-url','symbol','getMember','splice','pending','format','auth.needGotoLoginAlert','_rescheduleHeartbeat','RETRY_CONNECTING_MAX_COUNT','error$','session.join-failed','_roomMembers','_doFinalize','event$','DEFAULT_COLLAB_WEB_SOCKET_URL','CHANGESET_REVISION_CONFILICT','_resendWithTimeout','transformChangesets','readyForCollab','salt','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','cmd','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createSocket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','focused$','Decryptor','_permissionService','WECHAT_HAS_BEEN_BOUND','MSG_FOR_ERROR','_process','getSnapshotAPIPath','_acknowledgedAwaitingChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','socket\x20close','CLOSE_ROOM','src','ReplaySubject','WordArray','takeUntil','/unit/','setShowComponents','Undefined','add','put','_status$','LEAVE','AuthzIoHttpService','_updateState','send','floor','getUnitType','ICommandService','ivSize','CBC','session','_scheduleCollaborationTimeoutTimer','loginUrlKey','liveShareNewHost','prototype','snapshot','addImageSourceCache','@univerjs-pro/collaboration','delete','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','default','duration','submit\x20changeset\x20error!','[SyncedState]:\x20received\x20acknowledgement.','_transitionLocked','CHANGESET_SHOULD_RETRY','_entityInit$','JOIN_ROOM_PERMISSION_DENIED','/universer-api/snapshot','dispose$','FetchingMissState','find','_univerInstanceService','reqId','call','BufferedBlockAlgorithm','_singleActiveUnitService','toDisposable','ConflictState','_clearHeartbeatTimer','/rev/','transformSelections','pad','_DEC_XFORM_MODE','deleteCollaborator','Base','USERS_LEAVE','ISocketService','asObservable','Quantity','COMPRESS_MUTATION_APPLY','mode','SOCKET_FAILED','registerHTTPInterceptor','DocCollaborationEntity','339162oDNKqt','init','Encryptor','_remoteChangesetQueue','createInstance','GLOBAL_ROOMS_CNT_EXCEEDS','collabSubmitChangesetUrl','DependentOn','addHandlerCallback','_isPermissionRej','concatMap','merge','USERS_ENTER','now','ENTITLE_USE_COUPON_NOT_1ST_TRADE','BlockCipherMode','Optional','sessionStatus','SerializableCipher','_clearRetryConnectingTimer','_retryCount','HEARTBEAT_TIMEOUT','_checkMissing','_onOffline','_unitID','_initDependencies','saveChangeset','editing\x20status\x20changed\x20to','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_imageSourceCache','avatar','HELLO','emitEvent','state$','PendingState','UniverNetworkPlugin','loadDoc','JOIN_ROOM_FAILED','_userManagerService','isTransformMutationsWithChangesetFailure','_onLocalMutation','@univerjs/telemetry','_state$','HmacMD5','stopTime','CollaborationSession','_parse','Base64','_replayCachedMutations','PasswordBasedCipher','UniverProCollaborationClient','_telemetryInfo','actions','_substituteUndoStack','_replaceFileID','__splitChunk__','reconnect','encode','name','collaborators','onMissedChangesetFetched','_transformService','[OfflineState]:\x20received\x20acknowledgement.','WorkbookEditablePermission','reverse','allowed','_syncEditingCollabCursor','_createHmacHelper','CollaborationSocketService','_map','CompressMutationService','__creator','onMissingChangesets','_toggleOffline','getUnitId','open$','crypto','processBlock','INVITE_CODE_ALREADY_BOUND','SheetTransformSelectionsService','_logService','interceptor','lib','UNIVER_SHEET','_collaborationTimeoutTimer','_registerDependencies','_retryConnectingTimer','exports','TOO_MANY_REQUESTS','textRanges','getInterceptPoints','join','324ZPAIKe','UniverProLicense','_shouldReportTelemetry','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_onFetchMissResult','byteLength','unitInfo$','eventID','RevisionService','close$','IPermissionService','putCollaborators','session.room-not-exists','iterations','rxjs','resolve','append','waitForRoom$','commentUpdate$','transformStack\x20failed!','DEFAULT_FILE_NAME','_createHandler','UNISCRIPT_RUN','shouldCloseConn','enableCollaboration','image/gif','_change$','withCredentials','YUUMI_URL_COL_OUT_OF_RANGE','unitId','EMAIL_VERIFY_CODE_MISMATCH','/universer-api/authz','onSyncEditingCollabCursor','FETCH_MISS','title','CHANGESET_ACK','_handlerCallback','awaiting_with_pending','getValue','ciphertext','SyncedState','DEFAULT_WS_SESSION_TICKET_URL','_changesetSessionId','map','_entities','changesets','LOCAL_CACHE_INTERVAL','parse','updatePermissionObjEvent','REDEMPTION_USER_REDEEM_TIMES_EXCEED','commentUpdateEvent','mergeOverrideWithDependencies','_doCreateSocket','_undoRedoService','_joinRoom','_timeoutTimer','JOIN','_createHelper','blockSize','UniverDocs','onTransformState','20471508qSUVZO','_snapshotServerService','data','sessionStatus$','unknown','getCurrentSelections','JOIN_ROOM_FULL','objectID','decryptBlock','baseRev','_members$','_nRounds','_snapshotService','unitId\x20is\x20not\x20found','CollaborationEvent','retryConnectingInterval','words','_collaborationPaused','_minBufferSize','_socket','onMutationExecutedForCollab','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNKNOWN_CMD','href','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','60584LdmVfl','/collaborator','[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.','newCsEvent','abs','uniscriptRunEvent','PERSON','encryptBlock','UNAUTHENTICATED','/fetchmissing?from=','snapshotServerUrl','_memberService','_HTTPService','body','close','_localCacheService','filter','enableOfflineEditing','222TrfIsO','listRoles','_handler','&to=','collaboration-client.config','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onRecvEvent','createDecryptor','getOwnPropertyDescriptor','@univerjs-pro/license','getConfig','_undoStacks','algo','onRemoteRetry','\x20-\x20','ENTITLE_NEED_BILLING_ADDRESS','reset','SnapshotServerOverHTTPService','CollaborationSessionService','_xformMode','_clearScheduledTask','_executeRemoteChangeset','NEW_CHANGESETS','apply','_doProcessBlock','deserializeToCombResponse','univer-pro.collaboration-client.single-active-unit-service','_data','Malformed\x20UTF-8\x20data','ERROR_AGAIN','onRemoteAck','LIVESHARE_REQUEST_HOST','params','ERROR_IMAGE','HEARTBEAT_INTERVAL_KEY','_initCloseConn','complete','responseType','LIVESHARE_NEW_HOST','ENTITLE_CAN_NOT_BUY_LOWER_OTP','formatter','LICENSE_EXPORT_SIZE_EXCEEDED','IUndoRedoService','_awaitingChangeset','then','take','Inject','UNIVER_DOC','setWaitCount','INVALID_ARGUMENT','appendMutation','_clearLocalCache','ILocalCacheService','readInt32LE','/universer-api/user/session-ticket','DataLoaderService','_roomCreated$','FAIL','indexOf','_sendingTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UniverTelemetry','session.room-full','UNRECOGNIZED','REDEMPTION_INVALID_CODE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getSignURL','leaveEvent','localCacheService','CollaborativeUndoRedoService','YUUMI_RATE_OVER_LIMIT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LocalUndoRedoService','HttpExport','getRandomValues','HMAC','getSheetId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_reverseMap','awaiting','getDeserializedSheetBlock','function','REDEMPTION_CODE_HAS_BEEN_CREATED','SHA1','reject','COMMENT_UPDATE','onTransformRemoteChangesetByStateCache','listCollaborators','NOT_COLLAB','getCurrentUser','_listenToNetworkCondition','PAYMENT_CHANNEL_NOT_SUPPORT','_configService','synced','equals','_localeService','@univerjs/sheets','ImageSourceType','byteOffset','OpenSSL','_disableEditing','cfg','createIdentifier','getFocusedUnit','PSEUDO_FETCH_MISSING_RESULT','_sessions','AUTHORIZE_CODE_ILLEGAL','_init','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','SheetCollaborationEntity','UserManagerService','_doCryptBlock','MOBILE_HAS_BEEN_BOUND','connection\x20error','[PendingState]:\x20received\x20acknowledgement.','UserProfileImg','objects','_collaborationUIEventService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','editingUnit','Failed\x20to\x20update\x20permission\x20point','_clearRedo','_onRemoteACK','Injector','_transformUndoredo','_httpService','replace','getUnit','_eventService','isTransformChangesetsSuccess','disposeWithMe','_schedule','slice','_compressMutationService','batchAllowed','CollaborationImageIoService','onTransformRemoteChangesetByIMECache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','pauseCollaboration','YUUMI_NO_CUBOID_FOR_QUESTION','_tryReconnect','socket$','_changesetReqId','workbook','update','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UNKNOWN_CODE','SOCKET_FAILED_RETRY','list','_getDownloadEndpointURL','FETCH_MISSING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_injector','object','LOGIN_TOKEN_PROCESSING_FAILED','_createSocket','collaMsg','OTHER_CLIENT_EDITING','APPLY_NON_SEQUENTIAL_REVISION','catch','UniverCollaborationClientPlugin','onStarting','ENTITLE_COUPON_EXPIRED','stringify','not_collab','@univerjs/drawing','USER_IS_ANONYMOUS','_toggleOnline','enc','uploadFileServerUrl','MentionIoHttpService','size','__Key__','SUCCUSS','isTransformMutationsWithChangesetSuccess','mutations','defineProperty','_cipher','IConfigService','sigBytes','[UniverCollaborationClientPlugin]','[DataLoaderService]','_key','onRemoteRej','result','_hasher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','entityInit$','status$','INVITE_CODE_HAS_BEEN_UES','members$','toString','UUID','_onConnectionFailed','ENTITLE_INVALID_COUPON_CODE','_socket$','_createInitialState','/universer-api/uniscript','capture','Pkcs7','1728584ddqPFE','[CollaborationEntity]','_onRemoteRetry','members','range','mapDocumentTypeToUniverType','padding','Could\x20not\x20dynamically\x20require\x20\x22','CONNECTOR_DATA_TOO_LARGE','CONFLICT','debug','msCrypto','_startCollaboration','ALREADY_EXISTS','firstValueFrom','CommandType','type','saveImage','signUrlServerUrl','SHOULD_CLOSE_CONN','getGlobalObject','BASE64','forEach','clear','_getCurrentRevision','JOINING','session.room-permission-denied','JOIN_ROOM_NOT_EXISTS','_socketService','randomBytes','failed\x20to\x20apply\x20missed\x20changesets!','_candidateSocket','[CollaborationState]:\x20apply\x20error!','_getAPIPrefixPath','mixIn','createCollaborator','[OfflineState]:\x20received\x20rejection.','location','_onConnectionOpen','RECV','/allowed','_getCtorByUniverType','_networkConditionService','_onRemoteRejected','UniverSheets','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','REDEMPTION_CODE_FULLY_REDEEMED','OPTIONAL','/resources','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','Tools','ILogService','objectActions','SUBMIT_CHANGESET','_getUndoStack','memberID','Plugin','max','INGEST','_throwTelemetryCollaborationNewChangeset','has','[SyncedState]:\x20received\x20rejection.','_sendHeartbeatTimer','/block/','_clearUndo','_getAPIPrefix','SYNCED','SheetPermissionInitController','post','startsWith','IDLE','/object/','_resendTimer','localeService','rev','USER_NOT_INVITED_CODE','_incrementRevisionNumber','isInternalEditorID','/object','UNIVER_PROJECT','_sessionStatus$','_clearTimeoutTimer','onlyLocal','$super','ISnapshotServerService','UniverInstanceType','setCurrentUser','UNDEFINED','compose','ENTITLE_CHAT_LIMIT_EXCEED','touchDependencies','status','conflict','toggleOffline','get','pluginName','fetchMiss','LIVESHARE_FETCH_OPERATIONS','subUnitId','HEARTBEAT_TIMEOUT_KEY','onload','APPLY_REVISION_CONFILICT','Subject','_onCombEvent','headers','subject','univer-pro.collaboration-client.network-condition.service','_onMessage','PERMISSION_DENIED','unitID','dispose','_transformRemoteChangesetByIMECache','LICENSE_MAX_UNITS_EXCEEDED','fromCharCode','collaboration_new_changeset','x-univer-host','CURRENT_STATUS_CANNOT_OPERATE','state','CipherParams','NoPadding','_getRedoStack','Hasher','InsertSheetMutation','1279226ZpPGzm','[CollaborationUndoRedoService]','AWAITING_WITH_PENDING','_initMergeInterceptor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_SLIDE','updatePermissionPoint','_updateStatus','_transformStateCache','unsubscribe','_onUserJoin','CollaborationController','_maxTotalRetryTimeout','transformUndoRedo','createEncryptor','onTransformIME','univer-pro.collaboration-client-socket-service','HmacSHA1','_transformSelections','Utf8','revision','selections','ENSURE_SNAPSHOT_EXECUTION','_showConflictNotification','_socketReady','concat','message$','COMPRESS_MUTATION_SEND','toggleOnline','fetch_missing','clone','_telemetryService','random','INTERNAL_ERROR','APPLY_DUPLICATED','includes','collabWebSocketUrl','fetchThroughInterceptors','_substituteRedoStack','offline','Disposable','_updateLocalCache','_instanceService','transformMutationsWithChangeset','sendChangesetTimeout','fetching\x20missing\x20changesets\x20from\x20','LOGIN_FAILED','objectType','save\x20fail\x20reason\x20is\x20','finalize','ThresholdInterceptorFactory','BlockCipher','_commandService','ceil','charAt','action','SheetsSelectionsService','YUUMI_AI_RUN_FAILED','image/bmp','loadOfflineData','POST','IMentionIOService','getMemberID','requestParams','_members','CHANGESET_REJ','UnitEmbedded','DATA_SOURCE_TOO_LARGE','keySize','_hash','authzUrl','REDEMPTION_USER_NOT_ELIGIBLE','CollaborationEntity','@univerjs/network','code','closeSession','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','pipe','uuidv4','getUnitStatus$','_type','INVITE_CODE_REQUIRED','getCollabEntity$','ImageUploadStatusType','loadSheet','ENTITLE_COUPON_USED_UP','getCollabEntity','_mode','/role','url','RichTextEditingMutation','session.room-cnt-exceeds','kdf','serializeCombRequest','LOCAL_CACHE_INTERVAL_KEY','_stopTelemetryCollaborationNewChangeset','MemberService','isPermissionRej','socketService','extend','string','getTypeOfUnitDisposed$','_append','INVALID_INVITE_CODE','\x0aCurrent:\x20','_prevBlock','OFFLINE','37385SJgvnK','FileId','_initUnitPermissionChange','LIVESHARE_OPERATION','infoRsp','onCommentUpdate','substr','HEARTBEAT','removeMember','StreamCipher','isArray','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','unit-cache-','error','_onUserLeave','onStateChange','SnapshotService','_config','create','ClipsheetFragments','change$','_keyPriorReset','_transformIMECache','USER_NOT_FOUND','CollaborationUIEventId','joinRsp','REDEMPTION_CODE_NOT_STARTED','enableSingleActiveInstanceLock','_sendHeartbeat','onTransformSelections','PERMISSION_REJ','_createInitialStateImpl','textEncoder','_sender','execute','reduce','YUUMI_CONNECTOR_URL_NOT_FOUND','JSONX','ITransformService','updateCollaborator','csShouldRetryEvent'];_0x49c3=function(){return _0x403216;};return _0x49c3();}function _0x515f(_0x315031,_0x43045c){_0x315031=_0x315031-0xb6;var _0x49c37b=_0x49c3();var _0x515f9e=_0x49c37b[_0x315031];return _0x515f9e;}(function(_0x3cf604,_0xbdd840){var _0x13076d=_0x515f,_0x550c14=_0x3cf604();while(!![]){try{var _0x3a9d3e=-parseInt(_0x13076d(0x235))/0x1+-parseInt(_0x13076d(0x3d6))/0x2+-parseInt(_0x13076d(0xf1))/0x3*(parseInt(_0x13076d(0xdf))/0x4)+parseInt(_0x13076d(0x2a0))/0x5*(parseInt(_0x13076d(0x432))/0x6)+parseInt(_0x13076d(0x323))/0x7+parseInt(_0x13076d(0x1ba))/0x8+parseInt(_0x13076d(0xc5))/0x9;if(_0x3a9d3e===_0xbdd840)break;else _0x550c14['push'](_0x550c14['shift']());}catch(_0x1ecf8a){_0x550c14['push'](_0x550c14['shift']());}}}(_0x49c3,0xe1e25),function(_0x15adb4,_0x13f4dc){var _0x2c2593=_0x515f;typeof exports==_0x2c2593(0x18b)&&typeof module<'u'?_0x13f4dc(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x2c2593(0x2f8)]?define([_0x2c2593(0x42d),_0x2c2593(0x3b0),'@univerjs/core','@univerjs/docs',_0x2c2593(0x152),_0x2c2593(0x440),_0x2c2593(0x3ff),_0x2c2593(0x370),_0x2c2593(0x27e),_0x2c2593(0x197),_0x2c2593(0xfa)],_0x13f4dc):(_0x15adb4=typeof globalThis<'u'?globalThis:_0x15adb4||self,_0x13f4dc(_0x15adb4[_0x2c2593(0x408)]={},_0x15adb4['UniverProCollaboration'],_0x15adb4['UniverCore'],_0x15adb4[_0x2c2593(0xc3)],_0x15adb4[_0x2c2593(0x1e6)],_0x15adb4[_0x2c2593(0x440)],_0x15adb4[_0x2c2593(0x12e)],_0x15adb4['rxjs']['operators'],_0x15adb4[_0x2c2593(0x36e)],_0x15adb4['UniverDrawing'],_0x15adb4[_0x2c2593(0x433)]));}(this,function(_0x4113be,_0x19b128,_0x414ab0,_0x33516d,_0x19c319,_0x5691e8,_0x4c96b5,_0x1f22ee,_0x3bd1c1,_0x3f9464,_0x4ae2a6){'use strict';var _0x4a9ac9=_0x515f;var _0x1ccdb5=Object[_0x4a9ac9(0x1a2)],_0x4b06f6=(_0x35e6e3,_0xe84587,_0x12a346)=>_0xe84587 in _0x35e6e3?_0x1ccdb5(_0x35e6e3,_0xe84587,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12a346}):_0x35e6e3[_0xe84587]=_0x12a346,_0x213c49=(_0xa90663,_0x180c0e,_0x3a8375)=>_0x4b06f6(_0xa90663,typeof _0x180c0e!=_0x4a9ac9(0x373)?_0x180c0e+'':_0x180c0e,_0x3a8375);const _0x49d908=_0x4a9ac9(0x3bb),_0x41378d=_0x4a9ac9(0x2f6),_0x340e26='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3a5dca=_0x4a9ac9(0x127),_0x18d90d=_0x4a9ac9(0x310),_0x2beeb0=_0x4a9ac9(0x3eb),_0x314a57=_0x4a9ac9(0x37a),_0x38c987=_0x4a9ac9(0xb6),_0x213ef9='/universer-api/comb',_0x22dd04='/universer-api/oidc/authpage',_0x19b088=_0x4a9ac9(0x38a),_0x17cb6d=_0x4a9ac9(0x1b7);var _0xcd798d=(_0x3a0c72=>(_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x211)]=0x0]=_0x4a9ac9(0x211),_0x3a0c72[_0x3a0c72['OK']=0x1]='OK',_0x3a0c72[_0x3a0c72['INTERNAL_ERROR']=0x2]=_0x4a9ac9(0x256),_0x3a0c72[_0x3a0c72['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2ed)]=0x4]=_0x4a9ac9(0x2ed),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0xe7)]=0x5]=_0x4a9ac9(0xe7),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1c7)]=0x6]=_0x4a9ac9(0x1c7),_0x3a0c72[_0x3a0c72['INVALID_ARGUMENT']=0x7]=_0x4a9ac9(0x122),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x42e)]=0x8]=_0x4a9ac9(0x42e),_0x3a0c72[_0x3a0c72['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x263)]=0xa]=_0x4a9ac9(0x263),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x364)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x357)]=0xc]=_0x4a9ac9(0x357),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x450)]=0xd]=_0x4a9ac9(0x450),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x239)]=0xe]=_0x4a9ac9(0x239),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x15c)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x18c)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x22e)]=0x64]=_0x4a9ac9(0x22e),_0x3a0c72[_0x3a0c72['ERROR_AGAIN']=0x65]=_0x4a9ac9(0x10e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2b7)]=0xc9]='USER_NOT_FOUND',_0x3a0c72[_0x3a0c72['USER_IS_ANONYMOUS']=0xca]=_0x4a9ac9(0x198),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x381)]=0x1389]=_0x4a9ac9(0x381),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x302)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3a0c72[_0x3a0c72['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3a0c72[_0x3a0c72['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a9ac9(0x24b),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x362)]=0x1b59]=_0x4a9ac9(0x362),_0x3a0c72[_0x3a0c72['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4a9ac9(0x190),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x21f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x338)]=0x1b5c]=_0x4a9ac9(0x338),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x257)]=0x1b5d]='APPLY_DUPLICATED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1c2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x22a)]=0x2329]=_0x4a9ac9(0x22a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2e3)]=0x232a]=_0x4a9ac9(0x2e3),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x393)]=0x232b]=_0x4a9ac9(0x393),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x11a)]=0x232c]=_0x4a9ac9(0x11a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2cd)]=0x232d]=_0x4a9ac9(0x2cd),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x344)]=0x2711]=_0x4a9ac9(0x344),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x44e)]=0x2712]=_0x4a9ac9(0x44e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x137)]=0x2713]=_0x4a9ac9(0x137),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x361)]=0x2714]=_0x4a9ac9(0x361),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x17d)]=0x271a]=_0x4a9ac9(0x17d),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2d7)]=0x271b]=_0x4a9ac9(0x2d7),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x189)]=0x271c]=_0x4a9ac9(0x189),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x31b)]=0x271d]=_0x4a9ac9(0x31b),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x13e)]=0x271e]=_0x4a9ac9(0x13e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x26e)]=0x271f]=_0x4a9ac9(0x26e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2c4)]=0x2720]=_0x4a9ac9(0x2c4),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2ef)]=0x2af9]=_0x4a9ac9(0x2ef),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1af)]=0x2ee1]=_0x4a9ac9(0x1af),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x29c)]=0x2ee2]='INVALID_INVITE_CODE',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x286)]=0x2ee3]=_0x4a9ac9(0x286),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3a0c72[_0x3a0c72['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4a9ac9(0x424),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x38e)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x162)]=0x32ca]=_0x4a9ac9(0x162),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x327)]=0x32cb]=_0x4a9ac9(0x327),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x118)]=0x36b1]=_0x4a9ac9(0x118),_0x3a0c72[_0x3a0c72['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4a9ac9(0x15e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x316)]=0x36b3]=_0x4a9ac9(0x316),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x14d)]=0x36b4]=_0x4a9ac9(0x14d),_0x3a0c72[_0x3a0c72['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x4a9ac9(0x1b4),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x194)]=0x36b6]=_0x4a9ac9(0x194),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x28a)]=0x36b7]=_0x4a9ac9(0x28a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x3e4)]=0x36b8]=_0x4a9ac9(0x3e4),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x213)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3a0c72[_0x3a0c72['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x3a0c72[_0x3a0c72['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4a9ac9(0x369),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x100)]=0x37dd]=_0x4a9ac9(0x100),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x131)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x35a)]=0x3a9a]=_0x4a9ac9(0x35a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1e8)]=0x3a9b]=_0x4a9ac9(0x1e8),_0x3a0c72[_0x3a0c72['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x4a9ac9(0x2ba),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x27c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3a0c72[_0x3a0c72['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4a9ac9(0xb9),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x144)]=0x3a9f]=_0x4a9ac9(0x144),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x278)]=0x3e81]=_0x4a9ac9(0x278),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0x3a0c72))(_0xcd798d||{}),_0x5599c4=(_0x3e57c7=>(_0x3e57c7[_0x3e57c7['UNIVER_UNKNOWN']=0x0]=_0x4a9ac9(0x34f),_0x3e57c7[_0x3e57c7['UNIVER_DOC']=0x1]=_0x4a9ac9(0x120),_0x3e57c7[_0x3e57c7['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x3e57c7[_0x3e57c7[_0x4a9ac9(0x23a)]=0x3]=_0x4a9ac9(0x23a),_0x3e57c7[_0x3e57c7[_0x4a9ac9(0x209)]=0x4]='UNIVER_PROJECT',_0x3e57c7[_0x3e57c7[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0x3e57c7))(_0x5599c4||{}),_0x4b3637=(_0x39a69e=>(_0x39a69e[_0x39a69e[_0x4a9ac9(0xdb)]=0x0]=_0x4a9ac9(0xdb),_0x39a69e[_0x39a69e[_0x4a9ac9(0x3f5)]=0x1]=_0x4a9ac9(0x3f5),_0x39a69e[_0x39a69e[_0x4a9ac9(0xc0)]=0x2]=_0x4a9ac9(0xc0),_0x39a69e[_0x39a69e[_0x4a9ac9(0x3a0)]=0x3]=_0x4a9ac9(0x3a0),_0x39a69e[_0x39a69e[_0x4a9ac9(0x1f4)]=0x4]=_0x4a9ac9(0x1f4),_0x39a69e[_0x39a69e[_0x4a9ac9(0x2a7)]=0x5]=_0x4a9ac9(0x2a7),_0x39a69e[_0x39a69e[_0x4a9ac9(0x1e1)]=0x6]=_0x4a9ac9(0x1e1),_0x39a69e[_0x39a69e[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0x39a69e))(_0x4b3637||{}),_0x2e116a=(_0x4315b3=>(_0x4315b3[_0x4315b3[_0x4a9ac9(0x184)]=0x0]=_0x4a9ac9(0x184),_0x4315b3[_0x4315b3['OK']=0x1]='OK',_0x4315b3[_0x4315b3[_0x4a9ac9(0x12a)]=0x2]=_0x4a9ac9(0x12a),_0x4315b3[_0x4315b3['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x4315b3[_0x4315b3['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4315b3[_0x4315b3[_0x4a9ac9(0x3ba)]=0x3eb]=_0x4a9ac9(0x3ba),_0x4315b3[_0x4315b3['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4a9ac9(0x3db),_0x4315b3[_0x4315b3['UNRECOGNIZED']=-0x1]=_0x4a9ac9(0x130),_0x4315b3))(_0x2e116a||{}),_0xbed5ec=(_0xe3d453=>(_0xe3d453[_0xe3d453[_0x4a9ac9(0x39c)]=0x0]='Undefined',_0xe3d453[_0xe3d453['HttpImport']=0x1]='HttpImport',_0xe3d453[_0xe3d453[_0x4a9ac9(0x13a)]=0x2]='HttpExport',_0xe3d453[_0xe3d453[_0x4a9ac9(0x277)]=0x3]=_0x4a9ac9(0x277),_0xe3d453[_0xe3d453[_0x4a9ac9(0x333)]=0x4]='UnitSnapshot',_0xe3d453[_0xe3d453[_0x4a9ac9(0x165)]=0x5]=_0x4a9ac9(0x165),_0xe3d453[_0xe3d453[_0x4a9ac9(0x2b3)]=0x6]=_0x4a9ac9(0x2b3),_0xe3d453[_0xe3d453[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0xe3d453))(_0xbed5ec||{});const _0x4f1b95=_0x4a9ac9(0x22c);function _0x38f3d6(_0x327a5d){var _0x113a21=_0x4a9ac9;return JSON[_0x113a21(0x195)](_0x327a5d)[_0x113a21(0x337)];}var _0x51d7a4=(_0x1c4a2f=>(_0x1c4a2f[_0x4a9ac9(0x18f)]=_0x4a9ac9(0x18f),_0x1c4a2f[_0x4a9ac9(0x226)]=_0x4a9ac9(0x226),_0x1c4a2f[_0x4a9ac9(0x1c3)]='CONFLICT',_0x1c4a2f['CLOSE_ROOM']='CLOSE_ROOM',_0x1c4a2f[_0x4a9ac9(0x3fb)]=_0x4a9ac9(0x3fb),_0x1c4a2f['SOCKET_FAILED_RETRY']=_0x4a9ac9(0x185),_0x1c4a2f[_0x4a9ac9(0x3d3)]=_0x4a9ac9(0x3d3),_0x1c4a2f['SUBMIT_CHANGESET_TIMEOUT']=_0x4a9ac9(0x2ce),_0x1c4a2f))(_0x51d7a4||{});class _0x26aa78{constructor(){var _0x1e48d4=_0x4a9ac9;_0x213c49(this,_0x1e48d4(0x30b),new _0x5691e8[(_0x1e48d4(0x220))]()),_0x213c49(this,_0x1e48d4(0x37f),this['_event$'][_0x1e48d4(0x3cf)]());}[_0x4a9ac9(0x3f6)](_0x21dacf){var _0x25f9c6=_0x4a9ac9;this['_event$'][_0x25f9c6(0x2d0)](_0x21dacf);}}class _0x3e56a6{constructor(){var _0x2c4c8b=_0x4a9ac9;_0x213c49(this,_0x2c4c8b(0x32b),new _0x5691e8[(_0x2c4c8b(0x220))]()),_0x213c49(this,_0x2c4c8b(0x444),this[_0x2c4c8b(0x32b)][_0x2c4c8b(0x3cf)]());}[_0x4a9ac9(0x2a5)](_0x523efd){var _0x41904c=_0x4a9ac9;this[_0x41904c(0x32b)][_0x41904c(0x2d0)](_0x523efd);}}var _0x6bc8c3=Object['getOwnPropertyDescriptor'],_0x381211=(_0x501606,_0x15dc1c,_0x49354b,_0x3eb0f8)=>{var _0x289ff2=_0x4a9ac9;for(var _0x230f8f=_0x3eb0f8>0x1?void 0x0:_0x3eb0f8?_0x6bc8c3(_0x15dc1c,_0x49354b):_0x15dc1c,_0x1955be=_0x501606[_0x289ff2(0x337)]-0x1,_0x40aa2d;_0x1955be>=0x0;_0x1955be--)(_0x40aa2d=_0x501606[_0x1955be])&&(_0x230f8f=_0x40aa2d(_0x230f8f)||_0x230f8f);return _0x230f8f;},_0x54a946=(_0x4b0c45,_0x113e84)=>(_0x3c0837,_0x27cba6)=>_0x113e84(_0x3c0837,_0x27cba6,_0x4b0c45);_0x4113be[_0x4a9ac9(0x295)]=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x593bf6,_0x2d46c8){var _0x330b0b=_0x4a9ac9;super(),_0x213c49(this,_0x330b0b(0x37d),new Map()),_0x213c49(this,_0x330b0b(0x129),new _0x5691e8[(_0x330b0b(0x220))]()),(this['_univerInstanceService']=_0x593bf6,this['_userManagerService']=_0x2d46c8,this[_0x330b0b(0x174)](_0x5691e8[_0x330b0b(0x3e1)](this[_0x330b0b(0x3bf)][_0x330b0b(0x29a)](_0x414ab0[_0x330b0b(0x20f)][_0x330b0b(0x429)])[_0x330b0b(0x282)](_0x1f22ee[_0x330b0b(0x45d)](_0x18c160=>_0x18c160[_0x330b0b(0x420)]())),this[_0x330b0b(0x3bf)]['getTypeOfUnitDisposed$'](_0x414ab0[_0x330b0b(0x20f)][_0x330b0b(0x120)])['pipe'](_0x1f22ee[_0x330b0b(0x45d)](_0x448b52=>_0x448b52[_0x330b0b(0x420)]())),this[_0x330b0b(0x3bf)][_0x330b0b(0x29a)](_0x414ab0[_0x330b0b(0x20f)][_0x330b0b(0x23a)])[_0x330b0b(0x282)](_0x1f22ee[_0x330b0b(0x45d)](_0x534d19=>_0x534d19[_0x330b0b(0x420)]())))[_0x330b0b(0x32f)](_0x2149e3=>this[_0x330b0b(0x2fd)](_0x2149e3))));}[_0x4a9ac9(0x443)](_0x363871){var _0x777d06=_0x4a9ac9;return this[_0x777d06(0x37d)]['has'](_0x363871)?_0x5691e8['of'](this[_0x777d06(0x37d)][_0x777d06(0x218)](_0x363871)):this[_0x777d06(0x129)][_0x777d06(0x282)](_0x1f22ee[_0x777d06(0x45d)](_0x45900a=>{var _0x5d8f27=_0x777d06;if(_0x45900a===_0x363871)return this[_0x5d8f27(0x37d)][_0x5d8f27(0x218)](_0x45900a);}));}[_0x4a9ac9(0x210)](_0x5b82df){var _0x1a90d5=_0x4a9ac9;this[_0x1a90d5(0x3fc)][_0x1a90d5(0x210)](_0x5b82df);}[_0x4a9ac9(0x14b)](){var _0x4204b2=_0x4a9ac9;return this['_userManagerService'][_0x4204b2(0x14b)]();}[_0x4a9ac9(0x301)](_0x69850d,_0x6d9d1b){var _0x8523de=_0x4a9ac9;let _0x2de8e0=this[_0x8523de(0x37d)][_0x8523de(0x218)](_0x69850d);_0x2de8e0||(_0x2de8e0=new _0x384627(),this[_0x8523de(0x37d)]['set'](_0x69850d,_0x2de8e0),this[_0x8523de(0x129)]['next'](_0x69850d)),_0x2de8e0['updateMember'](_0x6d9d1b);}[_0x4a9ac9(0x2a8)](_0x2aa534,_0x1df35a){var _0x4cb3e5=_0x4a9ac9;const _0x11d71d=this['_roomMembers'][_0x4cb3e5(0x218)](_0x2aa534);_0x11d71d&&_0x11d71d[_0x4cb3e5(0x2a8)](_0x1df35a);}['getRoom'](_0x68cd1a){var _0x37c41a=_0x4a9ac9;return this[_0x37c41a(0x37d)][_0x37c41a(0x218)](_0x68cd1a);}[_0x4a9ac9(0x374)](_0x2c8383,_0x1ccbdd){var _0x19af2c=_0x4a9ac9;const _0x3f6ad3=this[_0x19af2c(0x37d)][_0x19af2c(0x218)](_0x2c8383);if(_0x3f6ad3)return _0x3f6ad3[_0x19af2c(0x374)](_0x1ccbdd);}['_removeRoom'](_0x1e0b7b){var _0x3cf277=_0x4a9ac9;const _0x322ad1=this['_roomMembers'][_0x3cf277(0x218)](_0x1e0b7b);_0x322ad1&&(_0x322ad1['dispose'](),this[_0x3cf277(0x37d)][_0x3cf277(0x3b1)](_0x1e0b7b));}[_0x4a9ac9(0x228)](){var _0x3f7e43=_0x4a9ac9;this['_roomMembers'][_0x3f7e43(0x1d0)](_0x145f92=>_0x145f92[_0x3f7e43(0x228)]()),this[_0x3f7e43(0x37d)][_0x3f7e43(0x1d1)](),this[_0x3f7e43(0x129)][_0x3f7e43(0x115)]();}},_0x4113be[_0x4a9ac9(0x295)]=_0x381211([_0x54a946(0x0,_0x414ab0['IUniverInstanceService']),_0x54a946(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x160)]))],_0x4113be[_0x4a9ac9(0x295)]);class _0x384627 extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(){var _0x151a3c=_0x4a9ac9;super(...arguments),_0x213c49(this,_0x151a3c(0x275),new Map()),_0x213c49(this,'_members$',new _0x5691e8[(_0x151a3c(0x33f))](this[_0x151a3c(0x275)])),_0x213c49(this,_0x151a3c(0x1b0),this[_0x151a3c(0xcf)][_0x151a3c(0x3cf)]());}[_0x4a9ac9(0x228)](){var _0x25c473=_0x4a9ac9;this[_0x25c473(0x275)][_0x25c473(0x1d1)]();}[_0x4a9ac9(0x301)](_0x99956d){var _0x33976c=_0x4a9ac9;this[_0x33976c(0x275)][_0x33976c(0x356)](_0x99956d['memberID'],_0x99956d),this[_0x33976c(0x2d3)]();}['removeMember'](_0x43a6c5){var _0x142f22=_0x4a9ac9;this['_members'][_0x142f22(0x3b1)](_0x43a6c5);}['getMember'](_0x1ac0b1){var _0x24f2a5=_0x4a9ac9;return this[_0x24f2a5(0x275)]['get'](_0x1ac0b1);}['getAllMembers'](){var _0x596be4=_0x4a9ac9;return Array[_0x596be4(0x366)](this[_0x596be4(0x275)]['values']());}[_0x4a9ac9(0x2d3)](){var _0x2415a0=_0x4a9ac9;this[_0x2415a0(0xcf)][_0x2415a0(0x2d0)](this[_0x2415a0(0x275)]);}}var _0x379cb3=Object['getOwnPropertyDescriptor'],_0x2d5bed=(_0x1f3a73,_0x341bf8,_0x5b15c6,_0x11c7c6)=>{var _0x3f8e07=_0x4a9ac9;for(var _0x22be63=_0x11c7c6>0x1?void 0x0:_0x11c7c6?_0x379cb3(_0x341bf8,_0x5b15c6):_0x341bf8,_0x42fdc9=_0x1f3a73[_0x3f8e07(0x337)]-0x1,_0x377cae;_0x42fdc9>=0x0;_0x42fdc9--)(_0x377cae=_0x1f3a73[_0x42fdc9])&&(_0x22be63=_0x377cae(_0x22be63)||_0x22be63);return _0x22be63;},_0x40f2d4=(_0x5699cd,_0x5c2d15)=>(_0xe62484,_0x178cbd)=>_0x5c2d15(_0xe62484,_0x178cbd,_0x5699cd),_0x38c5e4=(_0x4faa7e=>(_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x200)]=0x0]=_0x4a9ac9(0x200),_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x1d3)]=0x1]=_0x4a9ac9(0x1d3),_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x29f)]=0x2]=_0x4a9ac9(0x29f),_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x33b)]=0x3]=_0x4a9ac9(0x33b),_0x4faa7e))(_0x38c5e4||{});const _0x4e79dc={[_0x2e116a[_0x4a9ac9(0x12a)]]:_0x4a9ac9(0x37c),[_0x2e116a[_0x4a9ac9(0xcb)]]:_0x4a9ac9(0x12f),[_0x2e116a[_0x4a9ac9(0x1d5)]]:_0x4a9ac9(0x43e),[_0x2e116a[_0x4a9ac9(0x3ba)]]:_0x4a9ac9(0x1d4),[_0x2e116a[_0x4a9ac9(0x3db)]]:_0x4a9ac9(0x290)};_0x4113be[_0x4a9ac9(0x403)]=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x25bdde,_0x2c30e5,_0x3b5fc2,_0xcad245,_0x2c40ab,_0x5626b4,_0x19b482,_0x801958){var _0x2376c6=_0x4a9ac9;super(),_0x213c49(this,_0x2376c6(0x20a),new _0x5691e8[(_0x2376c6(0x33f))](0x0)),_0x213c49(this,_0x2376c6(0xc8),this['_sessionStatus$'][_0x2376c6(0x3cf)]()),_0x213c49(this,_0x2376c6(0x30b),new _0x5691e8['Subject']()),_0x213c49(this,_0x2376c6(0x37f),this[_0x2376c6(0x30b)][_0x2376c6(0x3cf)]()),_0x213c49(this,_0x2376c6(0xd8)),_0x213c49(this,_0x2376c6(0x334)),_0x213c49(this,'_collaborationTimeoutTimer'),_0x213c49(this,'_shouldReportTelemetry',!0x1),_0x213c49(this,'_telemetryInfo',null),(this['_unitID']=_0x25bdde,this[_0x2376c6(0x426)]=_0x3b5fc2,this[_0x2376c6(0x14e)]=_0xcad245,this[_0x2376c6(0xea)]=_0x2c40ab,this[_0x2376c6(0x2ec)]=_0x5626b4,this[_0x2376c6(0x167)]=_0x19b482,this[_0x2376c6(0x254)]=_0x801958,this['_shouldReportTelemetry']=!!this[_0x2376c6(0x254)],_0x2c30e5[_0x2376c6(0x282)](_0x5691e8['takeUntil'](this['dispose$']))[_0x2376c6(0x32f)](_0x284555=>{var _0x595603=_0x2376c6,_0x235184;typeof _0x284555>'u'||(this[_0x595603(0xd8)]=_0x284555,_0x284555?(this[_0x595603(0xbe)](_0x284555),this[_0x595603(0x334)]=_0x284555[_0x595603(0x24f)][_0x595603(0x32f)](_0x43de06=>{var _0x4396da=_0x595603;_0x43de06[_0x4396da(0x2f3)]===this[_0x4396da(0x3ee)]&&this[_0x4396da(0x221)](_0x43de06);})):(this[_0x595603(0x1f5)](),this['_sessionStatus$'][_0x595603(0x2d0)](0x2),(_0x235184=this[_0x595603(0x334)])==null||_0x235184[_0x595603(0x23e)](),this[_0x595603(0x334)]=null));}));}get[_0x4a9ac9(0x3e7)](){var _0x45dde3=_0x4a9ac9;return this[_0x45dde3(0x20a)][_0x45dde3(0x458)]();}[_0x4a9ac9(0x273)](){var _0x36a82a=_0x4a9ac9,_0x1282ef,_0x66f8bf;return(_0x66f8bf=(_0x1282ef=this[_0x36a82a(0xd8)])==null?void 0x0:_0x1282ef['memberID'])!=null?_0x66f8bf:null;}[_0x4a9ac9(0x228)](){var _0x30d1d1=_0x4a9ac9;super[_0x30d1d1(0x228)](),this[_0x30d1d1(0x3bc)]['next'](),this[_0x30d1d1(0x3bc)]['complete']();}['close'](){var _0x452f6a=_0x4a9ac9,_0x1e8a1f,_0x4a268d;this[_0x452f6a(0x1f5)](),(_0x1e8a1f=this[_0x452f6a(0xd8)])==null||_0x1e8a1f['send']({'cmd':_0x4b3637[_0x452f6a(0x3a0)],'data':{'roomID':this[_0x452f6a(0x3ee)]}}),(_0x4a268d=this[_0x452f6a(0xd8)])==null||_0x4a268d['close'](),this['_event$'][_0x452f6a(0x115)](),this[_0x452f6a(0x20a)][_0x452f6a(0x115)](),this[_0x452f6a(0x228)]();}['_onCombEvent'](_0x1d6802){var _0xbbae74=_0x4a9ac9;_0x1d6802['cmd']===_0x4b3637['JOIN']?this[_0xbbae74(0x2da)](_0x1d6802):_0x1d6802['cmd']===_0x4b3637[_0xbbae74(0x1e1)]&&this[_0xbbae74(0xf7)](_0x1d6802);}[_0x4a9ac9(0xbe)](_0x2e441e){var _0x55e022=_0x4a9ac9;this[_0x55e022(0x20a)][_0x55e022(0x2d0)](0x1),_0x2e441e[_0x55e022(0x3a3)]({'cmd':_0x4b3637['JOIN'],'routeKey':this[_0x55e022(0x3ee)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4a9ac9(0x2da)](_0x63747f){var _0x4532b8=_0x4a9ac9,_0x15360d;if(_0x63747f[_0x4532b8(0x27f)]in _0x4e79dc){this['_collaborationUIEventService'][_0x4532b8(0x3f6)]({'id':_0x51d7a4[_0x4532b8(0x3fb)],'data':_0x4e79dc[_0x63747f[_0x4532b8(0x27f)]]}),this['_sessionStatus$'][_0x4532b8(0x2d0)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x3e39c9=(_0x15360d=_0x63747f['data']['roomInfos'][this[_0x4532b8(0x3ee)]])==null?void 0x0:_0x15360d[_0x4532b8(0x1bd)];_0x3e39c9&&_0x3e39c9['forEach'](_0x9fc452=>this['_memberService'][_0x4532b8(0x301)](this[_0x4532b8(0x3ee)],_0x9fc452));}[_0x4a9ac9(0xf7)](_0x1f7b5d){var _0x286bb2=_0x4a9ac9;try{const _0x561ee6=_0x1f7b5d[_0x286bb2(0xc7)];switch(_0x561ee6[_0x286bb2(0x439)]){case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x3e2)]:this[_0x286bb2(0x23f)](_0x561ee6),this[_0x286bb2(0x30b)][_0x286bb2(0x2d0)](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x3cd)]:this['_onUserLeave'](_0x561ee6),this[_0x286bb2(0x30b)]['next'](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x455)]:case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x3b8)]:this[_0x286bb2(0x294)](),this['_clearCollaborationTimeoutTimer'](),this[_0x286bb2(0x30b)]['next'](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x38f)]:this[_0x286bb2(0x426)][_0x286bb2(0x2ad)](_0x286bb2(0x265)+JSON['stringify'](_0x561ee6)),this[_0x286bb2(0x30b)][_0x286bb2(0x2d0)](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x147)]:this['_commentService'][_0x286bb2(0x2a5)](_0x561ee6['data']),this['_event$'][_0x286bb2(0x2d0)](_0x561ee6);break;default:this['_event$'][_0x286bb2(0x2d0)](_0x561ee6);}}catch(_0xfbbb6c){this[_0x286bb2(0x426)][_0x286bb2(0x2ad)](_0xfbbb6c,_0x1f7b5d);}}['_onUserJoin'](_0x472cef){var _0x4adee5=_0x4a9ac9;this[_0x4adee5(0xea)][_0x4adee5(0x301)](this[_0x4adee5(0x3ee)],_0x472cef[_0x4adee5(0xc7)]);}[_0x4a9ac9(0x2ae)](_0x363d26){var _0x581696=_0x4a9ac9;this['_memberService'][_0x581696(0x2a8)](this[_0x581696(0x3ee)],_0x363d26[_0x581696(0xc7)][_0x581696(0x1f1)]);}async[_0x4a9ac9(0x3a3)](_0x342535,_0x3eeaf8){var _0x132787=_0x4a9ac9;if(this[_0x132787(0x3e7)]!==0x3||!this[_0x132787(0xd8)])throw new Error(_0x132787(0xde));try{_0x342535[_0x132787(0x439)]===_0x19b128[_0x132787(0xd3)]['SUBMIT_CHANGESET']&&(this[_0x132787(0x3aa)](),this[_0x132787(0x349)](_0x342535)),this[_0x132787(0xd8)][_0x132787(0x3a3)]({'cmd':_0x4b3637[_0x132787(0x1f4)],'routeKey':_0x3eeaf8,'routeType':'','data':_0x342535});}catch(_0x3e3a0f){this[_0x132787(0x426)][_0x132787(0x2ad)](_0x3e3a0f);}}['_scheduleCollaborationTimeoutTimer'](){var _0x129ad2=_0x4a9ac9,_0xb34cd1;this[_0x129ad2(0x42a)]=setTimeout(()=>{var _0x1ec63f=_0x129ad2;this[_0x1ec63f(0x42a)]=null,this[_0x1ec63f(0x167)][_0x1ec63f(0x3f6)]({'id':_0x51d7a4['SUBMIT_CHANGESET_TIMEOUT']});},(_0xb34cd1=this[_0x129ad2(0x14e)][_0x129ad2(0xfb)](_0x2beeb0))!=null?_0xb34cd1:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x3cc786=_0x4a9ac9;this[_0x3cc786(0x42a)]&&(clearTimeout(this[_0x3cc786(0x42a)]),this[_0x3cc786(0x42a)]=null);}[_0x4a9ac9(0x349)](_0x14e481){var _0x1ef9aa=_0x4a9ac9;if(!this['_shouldReportTelemetry'])return;const {data:_0x5adba2}=_0x14e481,{unitID:_0x56c4b1,changeset:_0xbad2b8}=_0x5adba2,{mutations:_0x457c54,type:_0x15c910}=_0xbad2b8;this[_0x1ef9aa(0x409)]={'unitId':_0x56c4b1,'type':_0x15c910,'startTime':performance[_0x1ef9aa(0x3e3)](),'stopTime':0x0,'duration':0x0,'size':_0x38f3d6(_0x457c54)};}[_0x4a9ac9(0x294)](){var _0x70dc61=_0x4a9ac9;if(this[_0x70dc61(0x434)]){if(!this[_0x70dc61(0x409)]){this['_logService'][_0x70dc61(0x2ad)](_0x70dc61(0x2dd),_0x70dc61(0xdd));return;}this[_0x70dc61(0x409)]['stopTime']=performance[_0x70dc61(0x3e3)](),this[_0x70dc61(0x409)][_0x70dc61(0x3b4)]=this[_0x70dc61(0x409)][_0x70dc61(0x402)]-this[_0x70dc61(0x409)]['startTime'],this[_0x70dc61(0x254)][_0x70dc61(0x1b8)](_0x4f1b95,this[_0x70dc61(0x409)]),this['_telemetryInfo']=null;}}[_0x4a9ac9(0x1f5)](){this['_telemetryInfo']=null;}},_0x4113be['CollaborationSession']=_0x2d5bed([_0x40f2d4(0x2,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x40f2d4(0x3,_0x414ab0['IConfigService']),_0x40f2d4(0x4,_0x414ab0['Inject'](_0x4113be['MemberService'])),_0x40f2d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x3e56a6)),_0x40f2d4(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x40f2d4(0x7,_0x414ab0[_0x4a9ac9(0x3e6)](_0x4c96b5['ITelemetryService']))],_0x4113be[_0x4a9ac9(0x403)]);const _0x364389=_0x414ab0[_0x4a9ac9(0x158)]('collaboration-client.local-cache-service');function _0x35a8e8(_0x2c6cb4){var _0x2c5cce=_0x4a9ac9;return _0x2c5cce(0x2ac)+_0x2c6cb4;}var _0x2710f1=Object[_0x4a9ac9(0xf9)],_0x40738a=(_0x172a03,_0x31fcca,_0x322799,_0x2efe7d)=>{var _0x4433ac=_0x4a9ac9;for(var _0x58542a=_0x2efe7d>0x1?void 0x0:_0x2efe7d?_0x2710f1(_0x31fcca,_0x322799):_0x31fcca,_0x413c98=_0x172a03[_0x4433ac(0x337)]-0x1,_0xd9c0f9;_0x413c98>=0x0;_0x413c98--)(_0xd9c0f9=_0x172a03[_0x413c98])&&(_0x58542a=_0xd9c0f9(_0x58542a)||_0x58542a);return _0x58542a;},_0x802a3d=(_0x54acea,_0xeaba2d)=>(_0x3e9670,_0x304320)=>_0xeaba2d(_0x3e9670,_0x304320,_0x54acea);function _0x5a2bba(_0x13aa34){var _0x4856cf=_0x4a9ac9;const {unitID:_0xff3e6d,mutations:_0x23e1dd}=_0x13aa34;return{'unitId':_0xff3e6d,'subUnitId':_0x23e1dd[_0x4856cf(0x337)]>0x0?_0x23e1dd[0x0]['params'][_0x4856cf(0x21c)]:null};}_0x4113be[_0x4a9ac9(0x425)]=class{constructor(_0x383610,_0x2cef6b,_0x3395a5){var _0x1428e1=_0x4a9ac9;this[_0x1428e1(0x18a)]=_0x383610,this[_0x1428e1(0x413)]=_0x2cef6b,this['_instanceService']=_0x3395a5;}[_0x4a9ac9(0x3c8)](_0x25cdd9){var _0x15c089=_0x4a9ac9,_0x4f5c17,_0x43c3c4,_0x46daf8,_0x5b5ca9;const _0x4a9fe6=this[_0x15c089(0x18a)][_0x15c089(0x218)](_0x19c319[_0x15c089(0x26d)]),{unitId:_0xd72b42,subUnitId:_0x5dfd49}=_0x5a2bba(_0x25cdd9),_0x206f0d=_0x4a9fe6==null?void 0x0:_0x4a9fe6[_0x15c089(0x321)](_0xd72b42)[_0x15c089(0xca)](),_0x1b7e18=(_0x43c3c4=(_0x4f5c17=this[_0x15c089(0x25f)][_0x15c089(0x171)](_0xd72b42))==null?void 0x0:_0x4f5c17['getActiveSheet']())==null?void 0x0:_0x43c3c4[_0x15c089(0x13d)]();if(_0x206f0d[_0x15c089(0x337)]===0x0||!_0xd72b42||!_0x5dfd49)return;const _0x4c80d8=[{'id':_0x19c319[_0x15c089(0x2e0)]['id'],'params':{'unitId':_0xd72b42,'subUnitId':_0x1b7e18,'selections':_0x414ab0[_0x15c089(0x1ec)]['deepClone'](_0x206f0d)}}],_0x4d99b3=this[_0x15c089(0x413)][_0x15c089(0x260)](_0x25cdd9,_0x4c80d8);if(!_0x19b128['isTransformMutationsWithChangesetSuccess'](_0x4d99b3))throw _0x4d99b3[_0x15c089(0x2ad)];const _0x184d87=(_0x5b5ca9=(_0x46daf8=_0x4d99b3[_0x15c089(0x347)][0x0])==null?void 0x0:_0x46daf8[_0x15c089(0x111)])==null?void 0x0:_0x5b5ca9[_0x15c089(0x24a)];if(Array['isArray'](_0x184d87)&&_0x184d87[_0x15c089(0x337)]){if(_0x184d87[_0x15c089(0x337)]===_0x4c80d8[0x0][_0x15c089(0x111)]['selections']['length']&&_0x184d87[_0x15c089(0x2f1)]((_0x22db0e,_0x1e3fe1)=>_0x414ab0['Rectangle'][_0x15c089(0x150)](_0x22db0e['range'],_0x4c80d8[0x0][_0x15c089(0x111)][_0x15c089(0x24a)][_0x1e3fe1][_0x15c089(0x1be)])))return;this[_0x15c089(0x18a)][_0x15c089(0x218)](_0x414ab0[_0x15c089(0x3a6)])['executeCommand'](_0x19c319['SetSelectionsOperation']['id'],{'unitId':_0xd72b42,'subUnitId':_0x1b7e18,'selections':_0x184d87});}}},_0x4113be[_0x4a9ac9(0x425)]=_0x40738a([_0x802a3d(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x802a3d(0x1,_0x19b128['ITransformService']),_0x802a3d(0x2,_0x414ab0[_0x4a9ac9(0x2f2)])],_0x4113be[_0x4a9ac9(0x425)]);const _0x5db1cd=_0x414ab0['createIdentifier'](_0x4a9ac9(0x10b));var _0x39c98c=(_0x3c329e=>(_0x3c329e[_0x3c329e[_0x4a9ac9(0x343)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3c329e[_0x3c329e['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x3c329e))(_0x39c98c||{});const _0xfa3b98=_0x4a9ac9(0xf5),_0x13dd70={};function _0x579114(_0x57c733){var _0x186e2b=_0x4a9ac9,_0x2b86fa;return!!((_0x2b86fa=_0x57c733[_0x186e2b(0x111)])!=null&&_0x2b86fa[_0x186e2b(0x40d)]);}const _0x2ed16f=new Set([_0x19c319[_0x4a9ac9(0x234)]['id']]);function _0x35ea1c(_0x5170a2,_0x40c38d,_0x41e240,_0x158d9a,_0x400339){var _0x5a0629=_0x4a9ac9,_0x13afeb,_0x204e01,_0x114785,_0x225baf;const _0x15990c=[];for(const _0x133d61 of _0x5170a2){if(_0x2ed16f[_0x5a0629(0x1f6)](_0x133d61['id'])){if(_0x15990c[_0x5a0629(0x337)]>0x0)break;_0x15990c[_0x5a0629(0x350)](_0x133d61);break;}if(_0x579114(_0x133d61)){if(_0x15990c[_0x5a0629(0x337)]>0x0)break;_0x15990c[_0x5a0629(0x350)](_0x133d61);break;}_0x15990c[_0x5a0629(0x350)](_0x133d61);}const _0x33a6c9=(_0x204e01=(_0x13afeb=_0x400339[_0x5a0629(0x14b)]())==null?void 0x0:_0x13afeb['userID'])!=null?_0x204e01:_0x5a0629(0xc9),_0x637c7d=(_0x225baf=(_0x114785=_0x400339[_0x5a0629(0x14b)]())==null?void 0x0:_0x114785[_0x5a0629(0x1f1)])!=null?_0x225baf:_0x5a0629(0xc9);return{'changeset':{'unitID':_0x40c38d,'type':_0x19b128[_0x5a0629(0x1bf)](_0x41e240[_0x5a0629(0x3a5)](_0x40c38d)),'baseRev':_0x158d9a[_0x5a0629(0x2ea)](_0x40c38d),'revision':0x0,'userID':_0x33a6c9,'memberID':_0x637c7d,'mutations':_0x15990c},'pendingMutations':_0x5170a2['slice'](_0x15990c['length'])};}function _0x1fd6f4(_0x150093,_0x44f73c,_0x294988,_0x13fec2,_0x99e3a7){var _0x468cfe=_0x4a9ac9,_0x54f54f,_0x2615d4,_0x3bcf95,_0x2f0728;const _0x54270c=[_0x150093['reduce']((_0x241f51,_0xbf6f51)=>{var _0x145d1a=_0x515f,_0x4c163c;const {id:_0xf48f58}=_0x241f51,{id:_0x1c58a6,type:_0x2a07f5}=_0xbf6f51,_0x580c53=(_0x4c163c=_0x241f51['params'])!=null?_0x4c163c:{'actions':null},_0x5e1510=_0xbf6f51[_0x145d1a(0x111)];if(_0xf48f58&&_0xf48f58!==_0x1c58a6)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xf48f58+_0x145d1a(0xff)+_0x1c58a6+'.');return{..._0x241f51,'id':_0x1c58a6,'type':_0x2a07f5,'params':{'unitId':_0x5e1510['unitId'],'textRanges':_0x5e1510[_0x145d1a(0x42f)],'actions':_0x414ab0[_0x145d1a(0x2c5)][_0x145d1a(0x212)](_0x580c53[_0x145d1a(0x40a)],_0x5e1510[_0x145d1a(0x40a)])}};},{})],_0x38b6ef=(_0x2615d4=(_0x54f54f=_0x99e3a7[_0x468cfe(0x14b)]())==null?void 0x0:_0x54f54f['userID'])!=null?_0x2615d4:_0x468cfe(0xc9),_0x4f6909=(_0x2f0728=(_0x3bcf95=_0x99e3a7[_0x468cfe(0x14b)]())==null?void 0x0:_0x3bcf95[_0x468cfe(0x1f1)])!=null?_0x2f0728:_0x468cfe(0xc9);return{'changeset':{'unitID':_0x44f73c,'type':_0x19b128['mapDocumentTypeToUniverType'](_0x294988[_0x468cfe(0x3a5)](_0x44f73c)),'baseRev':_0x13fec2['getCurrentRevOfUnit'](_0x44f73c),'revision':0x0,'userID':_0x38b6ef,'memberID':_0x4f6909,'mutations':_0x54270c},'pendingMutations':[]};}function _0x5efdb(_0x40d464,_0x23840a){var _0x24c21f=_0x4a9ac9;const _0x365ac1=new _0x5691e8[(_0x24c21f(0x397))](0x1);return setTimeout(()=>_0x365ac1[_0x24c21f(0x2d0)](_0x23840a),_0x40d464),_0x365ac1[_0x24c21f(0x3cf)]()[_0x24c21f(0x282)](_0x5691e8[_0x24c21f(0x11e)](0x1));}var _0x1f6f4d=Object[_0x4a9ac9(0xf9)],_0x17135f=(_0x23a8ef,_0x4a45a9,_0x2d0f86,_0x172477)=>{var _0x30a484=_0x4a9ac9;for(var _0x4bd087=_0x172477>0x1?void 0x0:_0x172477?_0x1f6f4d(_0x4a45a9,_0x2d0f86):_0x4a45a9,_0x351612=_0x23a8ef[_0x30a484(0x337)]-0x1,_0x1ceb34;_0x351612>=0x0;_0x351612--)(_0x1ceb34=_0x23a8ef[_0x351612])&&(_0x4bd087=_0x1ceb34(_0x4bd087)||_0x4bd087);return _0x4bd087;},_0x1af1cc=(_0x1b3f38,_0x300290)=>(_0x4e7980,_0x103cf0)=>_0x300290(_0x4e7980,_0x103cf0,_0x1b3f38),_0x70296d=(_0x32884b=>(_0x32884b[_0x4a9ac9(0x14a)]=_0x4a9ac9(0x196),_0x32884b[_0x4a9ac9(0x1fc)]=_0x4a9ac9(0x14f),_0x32884b['PENDING']=_0x4a9ac9(0x376),_0x32884b['AWAITING']=_0x4a9ac9(0x141),_0x32884b[_0x4a9ac9(0x237)]='awaiting_with_pending',_0x32884b[_0x4a9ac9(0x453)]=_0x4a9ac9(0x252),_0x32884b[_0x4a9ac9(0x1c3)]=_0x4a9ac9(0x216),_0x32884b['OFFLINE']=_0x4a9ac9(0x25c),_0x32884b))(_0x70296d||{});const _0x1f4f9b=0x4e20,_0x29f7bc=0x2bf20;class _0x24b4fb{constructor(_0x3a3309,_0x2c8eee,_0x3cb408,_0x3cabd9,_0x1b672d,_0x4017f5,_0x12239d,_0x32b0d6,_0x31c322){var _0x4f03a1=_0x4a9ac9;_0x213c49(this,_0x4f03a1(0x11c),null),_0x213c49(this,_0x4f03a1(0x351),[]),(this[_0x4f03a1(0x227)]=_0x3a3309,this['type']=_0x2c8eee,this[_0x4f03a1(0xf3)]=_0x1b672d,this[_0x4f03a1(0x269)]=_0x4017f5,this[_0x4f03a1(0xbd)]=_0x12239d,this[_0x4f03a1(0x355)]=_0x32b0d6,this[_0x4f03a1(0xee)]=_0x31c322,this['_awaitingChangeset']=_0x3cb408,this[_0x4f03a1(0x351)]=_0x3cabd9);}['_checkMissing'](_0x2b328d){var _0x3f44fe=_0x4a9ac9;const _0x4fbb8c=this['_revisionService'][_0x3f44fe(0x2ea)](this[_0x3f44fe(0x227)]);return _0x2b328d[_0x3f44fe(0x249)]>_0x4fbb8c+0x1?(this[_0x3f44fe(0xf3)]['onMissingChangesets']({'from':_0x4fbb8c,'to':_0x2b328d[_0x3f44fe(0x249)]-0x1}),!0x0):!0x1;}[_0x4a9ac9(0x16e)](_0x2ace62){var _0x336504=_0x4a9ac9;this[_0x336504(0xbd)][_0x336504(0x242)](this[_0x336504(0x227)],_0x2ace62);}['_transformSelections'](_0x507066){var _0x8df79a=_0x4a9ac9,_0x140294,_0x29a6b3;(_0x29a6b3=(_0x140294=this[_0x8df79a(0xf3)])[_0x8df79a(0x2bd)])==null||_0x29a6b3[_0x8df79a(0x3c1)](_0x140294,_0x507066);}[_0x4a9ac9(0x2b6)](_0x430fc6){var _0x5eb4f3=_0x4a9ac9,_0x369c8f,_0xd71460;return(_0xd71460=(_0x369c8f=this[_0x5eb4f3(0xf3)])['onTransformIME'])==null?void 0x0:_0xd71460[_0x5eb4f3(0x3c1)](_0x369c8f,_0x430fc6);}['_transformStateCache'](_0x167b4e){var _0x35aecb=_0x4a9ac9,_0x110e7a,_0x5dbfff;return(_0x5dbfff=(_0x110e7a=this[_0x35aecb(0xf3)])[_0x35aecb(0xc4)])==null?void 0x0:_0x5dbfff[_0x35aecb(0x3c1)](_0x110e7a,_0x167b4e);}[_0x4a9ac9(0x229)](_0x3fde45){var _0x366e2b=_0x4a9ac9,_0x11036b,_0x51ba21,_0x54bec8;return(_0x54bec8=(_0x51ba21=(_0x11036b=this[_0x366e2b(0xf3)])[_0x366e2b(0x17a)])==null?void 0x0:_0x51ba21['call'](_0x11036b,_0x3fde45))!=null?_0x54bec8:_0x3fde45;}[_0x4a9ac9(0x2e1)](_0x4a89d9){var _0x277e4d=_0x4a9ac9,_0x3d9ef9,_0x1cd4da,_0x2a8560;return(_0x2a8560=(_0x1cd4da=(_0x3d9ef9=this[_0x277e4d(0xf3)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1cd4da[_0x277e4d(0x3c1)](_0x3d9ef9,_0x4a89d9))!=null?_0x2a8560:_0x4a89d9;}['_syncEditingCollabCursor'](_0x5039ba){var _0x25021e=_0x4a9ac9,_0x42b00c,_0x59ceac;if(this[_0x25021e(0x1ca)]===_0x5599c4[_0x25021e(0x120)]){const {unitID:_0x24afe5,mutations:_0xba6952,memberID:_0x499a56}=_0x5039ba,_0x4c7620=_0xba6952['length']>0x0?_0xba6952[0x0][_0x25021e(0x111)]['textRanges']:[];Array[_0x25021e(0x2aa)](_0x4c7620)&&_0x4c7620[_0x25021e(0x337)]>0x0&&((_0x59ceac=(_0x42b00c=this[_0x25021e(0xf3)])['onSyncEditingCollabCursor'])==null||_0x59ceac[_0x25021e(0x3c1)](_0x42b00c,{'unitID':_0x24afe5,'memberID':_0x499a56,'textRanges':_0x4c7620}));}}[_0x4a9ac9(0x25e)](){var _0x534c38=_0x4a9ac9,_0x55f6e3;(_0x55f6e3=this[_0x534c38(0xee)])==null||_0x55f6e3[_0x534c38(0x331)](this[_0x534c38(0x227)],this['type'],this['_awaitingChangeset'],this[_0x534c38(0x351)]);}[_0x4a9ac9(0x1d2)](){var _0x4d803b=_0x4a9ac9;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x4d803b(0x227)]);}[_0x4a9ac9(0x206)](){var _0x517b3e=_0x4a9ac9;this[_0x517b3e(0x355)]['incrementRevOfUnit'](this['unitID']);}[_0x4a9ac9(0x106)](_0x1761d5){var _0x20422c=_0x4a9ac9,_0xce6078;let _0x4e63bd=this['_transformRemoteChangesetByIMECache'](_0x1761d5);_0x4e63bd=this[_0x20422c(0x2e1)](_0x4e63bd);const _0x2e18d9=_0x414ab0['sequenceExecute'](_0x4e63bd[_0x20422c(0x1a1)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2e18d9[_0x20422c(0x1aa)])throw _0x2e18d9[_0x20422c(0x2ad)]instanceof Error?_0x2e18d9['error']:new Error((_0xce6078=_0x2e18d9[_0x20422c(0x2ad)])!=null?_0xce6078:_0x20422c(0x1da));this[_0x20422c(0x2b6)](_0x4e63bd),this[_0x20422c(0x23d)](_0x4e63bd),this['_transformUndoredo'](_0x1761d5),this[_0x20422c(0x247)](_0x4e63bd),this[_0x20422c(0x418)](_0x4e63bd),this[_0x20422c(0x206)]();}}_0x4113be['SyncedState']=class extends _0x24b4fb{constructor(_0x160512,_0x3f9793,_0x3bdd60,_0x323f76,_0x328a5f,_0x567334,_0x2997cb,_0x529973,_0x4f0da9,_0x1d096a){var _0x4dba52=_0x4a9ac9;super(_0x160512,_0x3f9793,null,[],_0x3bdd60,_0x2997cb,_0x567334,_0x323f76,_0x1d096a),_0x213c49(this,_0x4dba52(0x215),'synced'),(this[_0x4dba52(0x18a)]=_0x328a5f,this[_0x4dba52(0x426)]=_0x529973,this[_0x4dba52(0x413)]=_0x4f0da9,this[_0x4dba52(0x135)]=_0x1d096a);}[_0x4a9ac9(0x123)](_0x3d4f88){var _0x3a85f4=_0x4a9ac9;const _0x3dc37b=this[_0x3a85f4(0x18a)][_0x3a85f4(0x3da)](_0x4113be[_0x3a85f4(0x3f8)],this[_0x3a85f4(0x227)],this[_0x3a85f4(0x1ca)],[_0x3d4f88],this[_0x3a85f4(0xf3)]);return _0x3dc37b['_schedule'](),_0x3dc37b[_0x3a85f4(0x25e)](),_0x3dc37b;}[_0x4a9ac9(0x326)](_0x4c496c){var _0x5d28d9=_0x4a9ac9;if(this[_0x5d28d9(0x3ec)](_0x4c496c))return this[_0x5d28d9(0x18a)]['createInstance'](_0x4113be[_0x5d28d9(0x3bd)],this['unitID'],this[_0x5d28d9(0x1ca)],null,[],null,[_0x4c496c],this[_0x5d28d9(0xf3)]);try{const _0x3631b8=this['_transformService'][_0x5d28d9(0x260)](_0x4c496c,[_0x19b128['EmptyMutationInfo']]);if(_0x19b128[_0x5d28d9(0x1a0)](_0x3631b8)){const {c1Prime:_0xeb8392}=_0x3631b8;return this[_0x5d28d9(0x106)](_0xeb8392),this;}throw _0x3631b8['error'];}catch(_0x3ad5da){return this['_logService'][_0x5d28d9(0x2ad)](_0x3ad5da),this[_0x5d28d9(0x31a)](!0x1);}}[_0x4a9ac9(0x31a)](_0x226c55){var _0x3235fe=_0x4a9ac9;return this[_0x3235fe(0x18a)][_0x3235fe(0x3da)](_0x4113be['ConflictState'],this[_0x3235fe(0x227)],this[_0x3235fe(0x1ca)],null,[],this['_handler'],_0x226c55);}[_0x4a9ac9(0x10f)](){var _0x36af1d=_0x4a9ac9;throw new Error(_0x36af1d(0x3b6));}[_0x4a9ac9(0x1a9)](){var _0x2f05e5=_0x4a9ac9;throw new Error(_0x2f05e5(0x1f7));}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){var _0x301d7a=_0x4a9ac9;return this['_injector'][_0x301d7a(0x3da)](_0x4113be[_0x301d7a(0x307)],this[_0x301d7a(0x227)],this[_0x301d7a(0x1ca)],null,[],this[_0x301d7a(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}[_0x4a9ac9(0x341)](){var _0x35af37=_0x4a9ac9;throw new Error(_0x35af37(0x1e7));}[_0x4a9ac9(0x21a)](){var _0x35b612=_0x4a9ac9;const _0x30e947=this[_0x35b612(0x355)][_0x35b612(0x2ea)](this[_0x35b612(0x227)]);return this[_0x35b612(0xf3)][_0x35b612(0x41e)]({'from':_0x30e947,'to':0x0}),this[_0x35b612(0x18a)][_0x35b612(0x3da)](_0x4113be[_0x35b612(0x3bd)],this[_0x35b612(0x227)],this[_0x35b612(0x1ca)],null,[],null,[],this[_0x35b612(0xf3)]);}},_0x4113be[_0x4a9ac9(0x45a)]=_0x17135f([_0x1af1cc(0x3,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af1cc(0x5,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x1af1cc(0x8,_0x19b128['ITransformService']),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x45a)]),_0x4113be['PendingState']=class extends _0x24b4fb{constructor(_0x13414c,_0x242d0e,_0x6b4d10,_0x363e8d,_0x20549c,_0x929767,_0x404c49,_0x5861ca,_0x42c3ac,_0x1dbcd4,_0x42cce4,_0x58e91c,_0x184a47,_0x2a4336){var _0x1c808b=_0x4a9ac9;super(_0x13414c,_0x242d0e,null,_0x6b4d10,_0x363e8d,_0x42c3ac,_0x184a47,_0x929767,_0x2a4336),_0x213c49(this,_0x1c808b(0x215),_0x1c808b(0x376)),_0x213c49(this,'_scheduleCompleteTimestamp',null),_0x213c49(this,'_sendingTimer',null),(this['_injector']=_0x20549c,this[_0x1c808b(0xea)]=_0x404c49,this['_logService']=_0x5861ca,this[_0x1c808b(0x14e)]=_0x1dbcd4,this[_0x1c808b(0x413)]=_0x42cce4,this[_0x1c808b(0x3bf)]=_0x58e91c);}['appendMutation'](_0x2662f4){var _0x74a658=_0x4a9ac9;return this[_0x74a658(0x351)]['push'](_0x2662f4),this[_0x74a658(0x25e)](),this;}['onRemoteChangeset'](_0x4757d2){var _0x1218ed=_0x4a9ac9;if(this[_0x1218ed(0x3ec)](_0x4757d2))return this[_0x1218ed(0x105)](),this[_0x1218ed(0x18a)][_0x1218ed(0x3da)](_0x4113be[_0x1218ed(0x3bd)],this['unitID'],this['type'],null,this[_0x1218ed(0x351)],null,[_0x4757d2],this[_0x1218ed(0xf3)]);try{const _0x387f50=this[_0x1218ed(0x413)][_0x1218ed(0x260)](_0x4757d2,this[_0x1218ed(0x351)]);if(_0x19b128[_0x1218ed(0x1a0)](_0x387f50)){const {c1Prime:_0x4fdb80,m2Prime:_0x33207d}=_0x387f50;this['_executeRemoteChangeset'](_0x4fdb80);const _0x5ea8ee=this['_injector']['createInstance'](_0x4113be[_0x1218ed(0x3f8)],this[_0x1218ed(0x227)],this[_0x1218ed(0x1ca)],_0x33207d,this['_handler']);this[_0x1218ed(0x105)]();const _0x552149=new Date()['getTime'](),_0x4af9a7=this[_0x1218ed(0x31d)]?Math[_0x1218ed(0x1f3)](this[_0x1218ed(0x31d)]-_0x552149,0x0):this['_getSendChangesetTimeout']();return _0x5ea8ee[_0x1218ed(0x175)](_0x4af9a7),_0x5ea8ee;}throw _0x387f50[_0x1218ed(0x2ad)];}catch(_0xb03726){return this[_0x1218ed(0x426)][_0x1218ed(0x2ad)](_0xb03726),this[_0x1218ed(0x31a)](!0x1);}}[_0x4a9ac9(0x10f)](){var _0x1bcdb3=_0x4a9ac9;throw new Error(_0x1bcdb3(0x164));}[_0x4a9ac9(0x1a9)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){var _0x3ab47c=_0x4a9ac9;return this['_clearScheduledTask'](),this[_0x3ab47c(0x18a)]['createInstance'](_0x4113be['OfflineState'],this[_0x3ab47c(0x227)],this[_0x3ab47c(0x1ca)],null,this[_0x3ab47c(0x351)],this[_0x3ab47c(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}[_0x4a9ac9(0x175)](_0x16e0f0){var _0x4228ea=_0x4a9ac9;const _0x5af507=_0x16e0f0!=null?_0x16e0f0:this[_0x4228ea(0x32a)]();this[_0x4228ea(0x31d)]=new Date()['getTime']()+_0x5af507,this[_0x4228ea(0x12c)]=setTimeout(()=>{var _0x1df6fb=_0x4228ea;this[_0x1df6fb(0x105)]();let _0x188b5d=null;switch(this[_0x1df6fb(0x1ca)]){case _0x5599c4[_0x1df6fb(0x429)]:{_0x188b5d=_0x35ea1c(this[_0x1df6fb(0x351)],this[_0x1df6fb(0x227)],this[_0x1df6fb(0x3bf)],this[_0x1df6fb(0x355)],this[_0x1df6fb(0xea)]);break;}case _0x5599c4[_0x1df6fb(0x120)]:{this[_0x1df6fb(0x351)][_0x1df6fb(0x2f1)](_0x2f18a7=>_0x2f18a7['id']===_0x33516d[_0x1df6fb(0x28f)]['id'])?_0x188b5d=_0x1fd6f4(this[_0x1df6fb(0x351)],this[_0x1df6fb(0x227)],this[_0x1df6fb(0x3bf)],this['_revisionService'],this['_memberService']):_0x188b5d=_0x35ea1c(this['_pendingMutations'],this[_0x1df6fb(0x227)],this['_univerInstanceService'],this[_0x1df6fb(0x355)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1df6fb(0x1ca)]+'\x20in\x20_schedule.');}const {changeset:_0x1c094d,pendingMutations:_0x7056ef}=_0x188b5d;this[_0x1df6fb(0xf3)][_0x1df6fb(0x2f7)](_0x1c094d);const _0x38c949=_0x7056ef[_0x1df6fb(0x337)]?this[_0x1df6fb(0x18a)][_0x1df6fb(0x3da)](_0x4113be[_0x1df6fb(0x34e)],this[_0x1df6fb(0x227)],this[_0x1df6fb(0x1ca)],_0x1c094d,_0x7056ef,this['_handler'],void 0x0):this[_0x1df6fb(0x18a)]['createInstance'](_0x4113be[_0x1df6fb(0x2f0)],this['unitID'],this[_0x1df6fb(0x1ca)],_0x1c094d,this[_0x1df6fb(0xf3)]);_0x38c949[_0x1df6fb(0x25e)](),this[_0x1df6fb(0xf3)][_0x1df6fb(0x2af)](this,_0x38c949);},_0x5af507);}[_0x4a9ac9(0x32a)](){var _0x4b3e27=_0x4a9ac9,_0x3221fe;const _0x30059f=this['_configService'][_0x4b3e27(0xfb)](_0xfa3b98);return(_0x3221fe=_0x30059f==null?void 0x0:_0x30059f[_0x4b3e27(0x261)])!=null?_0x3221fe:0x7d0;}[_0x4a9ac9(0x341)](){var _0x2e0b50=_0x4a9ac9;throw new Error(_0x2e0b50(0x435));}['_clearScheduledTask'](){var _0x4fc870=_0x4a9ac9;this['_sendingTimer']!=null&&(clearTimeout(this[_0x4fc870(0x12c)]),this[_0x4fc870(0x12c)]=null);}[_0x4a9ac9(0x31a)](_0x8cff7d){var _0x40e0ba=_0x4a9ac9;return this['_clearScheduledTask'](),this[_0x40e0ba(0x18a)][_0x40e0ba(0x3da)](_0x4113be[_0x40e0ba(0x3c5)],this[_0x40e0ba(0x227)],this[_0x40e0ba(0x1ca)],null,this['_pendingMutations'],this[_0x40e0ba(0xf3)],_0x8cff7d);}},_0x4113be[_0x4a9ac9(0x3f8)]=_0x17135f([_0x1af1cc(0x4,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af1cc(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x4113be[_0x4a9ac9(0x295)])),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x9,_0x414ab0['IConfigService']),_0x1af1cc(0xa,_0x19b128[_0x4a9ac9(0x2c6)]),_0x1af1cc(0xb,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x1af1cc(0xc,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x3f8)]),_0x4113be['AwaitingState']=class extends _0x24b4fb{constructor(_0x13f41b,_0x49fc0b,_0x43aa0f,_0x3f5390,_0x5b0a1f,_0x23db7e,_0x3f0758,_0x5bd8f0,_0x112ffb,_0x4f2844,_0x474a67){var _0x38fb23=_0x4a9ac9;super(_0x13f41b,_0x49fc0b,_0x43aa0f,[],_0x3f5390,_0x3f0758,_0x4f2844,_0x23db7e,_0x474a67),_0x213c49(this,_0x38fb23(0x215),_0x38fb23(0x141)),_0x213c49(this,_0x38fb23(0x335),0x0),_0x213c49(this,_0x38fb23(0x241),0x0),_0x213c49(this,_0x38fb23(0x202)),_0x213c49(this,'_sender'),(this[_0x38fb23(0x18a)]=_0x5b0a1f,this[_0x38fb23(0x426)]=_0x5bd8f0,this['_transformService']=_0x112ffb);}[_0x4a9ac9(0x123)](_0x39e19b){var _0xa268e0=_0x4a9ac9;this[_0xa268e0(0x105)]();const _0x148155=this['_injector'][_0xa268e0(0x3da)](_0x4113be[_0xa268e0(0x34e)],this['unitID'],this['type'],this[_0xa268e0(0x11c)],[_0x39e19b],this[_0xa268e0(0xf3)],this[_0xa268e0(0x202)]);return _0x148155[_0xa268e0(0x25e)](),_0x148155;}[_0x4a9ac9(0x326)](_0x4bd1f9){var _0x271574=_0x4a9ac9;if(this[_0x271574(0x3ec)](_0x4bd1f9))return this[_0x271574(0x105)](),this[_0x271574(0x18a)]['createInstance'](_0x4113be[_0x271574(0x3bd)],this['unitID'],this[_0x271574(0x1ca)],this['_awaitingChangeset'],[],null,[_0x4bd1f9],this[_0x271574(0xf3)]);try{const _0x250a32=this[_0x271574(0x413)][_0x271574(0x383)]([_0x4bd1f9],[this[_0x271574(0x11c)]],!0x1);if(_0x19b128[_0x271574(0x173)](_0x250a32)){const {c1Prime:_0x203ce4,c2Prime:_0x2d6921}=_0x250a32;this[_0x271574(0x106)](_0x203ce4[0x0]),_0x2d6921[0x0][_0x271574(0xce)]=this['_getCurrentRevision'](),this[_0x271574(0x105)]();const _0x1802bf=this[_0x271574(0x18a)][_0x271574(0x3da)](_0x4113be[_0x271574(0x2f0)],this[_0x271574(0x227)],this['type'],_0x2d6921[0x0],this[_0x271574(0xf3)]);return _0x1802bf['_updateLocalCache'](),_0x1802bf;}return this[_0x271574(0x31a)](!0x1);}catch(_0x3c2ea4){return this[_0x271574(0x426)][_0x271574(0x2ad)](_0x3c2ea4),this[_0x271574(0x31a)](!0x1);}}[_0x4a9ac9(0x10f)](_0xf0480c){var _0x4595d2=_0x4a9ac9;this['_clearScheduledTask']();const _0x57388e=this[_0x4595d2(0x355)][_0x4595d2(0x2ea)](this[_0x4595d2(0x227)]);if(_0xf0480c[_0x4595d2(0x249)]<_0x57388e-0x1)return this;if(this[_0x4595d2(0x3ec)](_0xf0480c))return this[_0x4595d2(0x18a)][_0x4595d2(0x3da)](_0x4113be['FetchingMissState'],this['unitID'],this[_0x4595d2(0x1ca)],null,[],this[_0x4595d2(0x11c)],[],this[_0x4595d2(0xf3)]);this[_0x4595d2(0x206)]();const _0x2081c8=this[_0x4595d2(0x18a)][_0x4595d2(0x3da)](_0x4113be['SyncedState'],this[_0x4595d2(0x227)],this['type'],this[_0x4595d2(0xf3)]);return _0x2081c8[_0x4595d2(0x25e)](),_0x2081c8;}[_0x4a9ac9(0x1a9)](_0x3113b3){var _0x2989ad=_0x4a9ac9;return this[_0x2989ad(0x31a)](!!(_0x3113b3!=null&&_0x3113b3[_0x2989ad(0x296)]));}['onRemoteRetry'](_0x2109a5){var _0x26f1be=_0x4a9ac9;return this[_0x26f1be(0x241)]>_0x29f7bc?this[_0x26f1be(0x217)]():(this[_0x26f1be(0x202)]=_0x5efdb(this[_0x26f1be(0x335)],{'timeout':this['_resendTimeout'],'reqId':_0x2109a5[_0x26f1be(0x3c0)]}),this[_0x26f1be(0x2c1)]=this[_0x26f1be(0x202)][_0x26f1be(0x32f)](({reqId:_0x2f1a7c,timeout:_0x360703})=>{this['_resendWithTimeout'](_0x2f1a7c,_0x360703);}),this);}[_0x4a9ac9(0x217)](){var _0x14558b=_0x4a9ac9;return this[_0x14558b(0x105)](),this[_0x14558b(0x18a)][_0x14558b(0x3da)](_0x4113be[_0x14558b(0x307)],this['unitID'],this[_0x14558b(0x1ca)],this['_awaitingChangeset'],[],this[_0x14558b(0xf3)]);}['toggleOnline'](){return this;}['resend'](){var _0x2d1e79=_0x4a9ac9;this[_0x2d1e79(0xf3)][_0x2d1e79(0x2f7)](this['_awaitingChangeset']);}['_onConflict'](_0x58667b){var _0x18f097=_0x4a9ac9;return this[_0x18f097(0x105)](),this[_0x18f097(0x18a)][_0x18f097(0x3da)](_0x4113be['ConflictState'],this[_0x18f097(0x227)],this[_0x18f097(0x1ca)],this[_0x18f097(0x11c)],[],this['_handler'],_0x58667b);}[_0x4a9ac9(0x382)](_0x25f0f7,_0x16e368){var _0x480af4=_0x4a9ac9,_0x436c54;_0x25f0f7===((_0x436c54=this[_0x480af4(0x11c)])==null?void 0x0:_0x436c54[_0x480af4(0x3c0)])&&(this['resend'](),this[_0x480af4(0x335)]=_0x16e368===0x0?0x3e8:Math[_0x480af4(0x35c)](_0x16e368*0x2,_0x1f4f9b),this[_0x480af4(0x241)]+=this[_0x480af4(0x335)]);}['_clearScheduledTask'](){var _0x4ef883=_0x4a9ac9,_0x1f8546;(_0x1f8546=this[_0x4ef883(0x2c1)])==null||_0x1f8546[_0x4ef883(0x23e)](),this[_0x4ef883(0x335)]=0x0,this[_0x4ef883(0x241)]=0x0;}},_0x4113be[_0x4a9ac9(0x2f0)]=_0x17135f([_0x1af1cc(0x4,_0x414ab0['Inject'](_0x414ab0['Injector'])),_0x1af1cc(0x5,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x1af1cc(0x8,_0x19b128['ITransformService']),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0xa,_0x414ab0['Optional'](_0x364389))],_0x4113be['AwaitingState']),_0x4113be['AwaitingWithPendingState']=class extends _0x24b4fb{constructor(_0x413660,_0x5b6945,_0x381424,_0x50082b,_0xc4de1a,_0x4e7d25,_0x54f121,_0x20ccba,_0x290aed,_0x20d205,_0x372a70,_0x45af16,_0x1751f3){var _0x1c6c89=_0x4a9ac9;super(_0x413660,_0x5b6945,_0x381424,_0x50082b,_0xc4de1a,_0x290aed,_0x45af16,_0x20ccba,_0x1751f3),_0x213c49(this,_0x1c6c89(0x215),_0x1c6c89(0x457)),_0x213c49(this,_0x1c6c89(0x335),0x0),_0x213c49(this,_0x1c6c89(0x241),0x0),_0x213c49(this,_0x1c6c89(0x202)),_0x213c49(this,_0x1c6c89(0x2c1)),(this['_injector']=_0x54f121,this[_0x1c6c89(0x426)]=_0x20d205,this[_0x1c6c89(0x413)]=_0x372a70,this[_0x1c6c89(0x135)]=_0x1751f3,_0x4e7d25&&(this[_0x1c6c89(0x202)]=_0x4e7d25,this['_sender']=this[_0x1c6c89(0x202)][_0x1c6c89(0x32f)](({reqId:_0x53b713,timeout:_0x3bd975})=>{var _0x327f47=_0x1c6c89;this[_0x327f47(0x382)](_0x53b713,_0x3bd975);})));}['appendMutation'](_0x3b0a1a){var _0x5e1971=_0x4a9ac9;return this[_0x5e1971(0x351)]['push'](_0x3b0a1a),this;}[_0x4a9ac9(0x326)](_0x48588e){var _0x1efe61=_0x4a9ac9;if(this[_0x1efe61(0x3ec)](_0x48588e))return this['_clearScheduledTask'](),this[_0x1efe61(0x18a)][_0x1efe61(0x3da)](_0x4113be[_0x1efe61(0x3bd)],this[_0x1efe61(0x227)],this[_0x1efe61(0x1ca)],this[_0x1efe61(0x11c)],this[_0x1efe61(0x351)],null,[_0x48588e],this[_0x1efe61(0xf3)]);try{const _0x321e46=this['_transformService'][_0x1efe61(0x383)]([_0x48588e],[this['_awaitingChangeset']],!0x1);if(_0x19b128[_0x1efe61(0x173)](_0x321e46)){const {c1Prime:_0x347981,c2Prime:_0x32236d}=_0x321e46,_0x49c0a4=this[_0x1efe61(0x413)][_0x1efe61(0x260)](_0x347981[0x0],this[_0x1efe61(0x351)]);if(_0x19b128[_0x1efe61(0x1a0)](_0x49c0a4)){const {c1Prime:_0x53545b,m2Prime:_0x4a81ba}=_0x49c0a4;return this[_0x1efe61(0x106)](_0x53545b),_0x32236d[0x0][_0x1efe61(0xce)]=this[_0x1efe61(0x1d2)](),this[_0x1efe61(0x105)](),this['_injector'][_0x1efe61(0x3da)](_0x4113be[_0x1efe61(0x34e)],this[_0x1efe61(0x227)],this[_0x1efe61(0x1ca)],_0x32236d[0x0],_0x4a81ba,this[_0x1efe61(0xf3)],void 0x0);}throw _0x49c0a4['error'];}throw _0x321e46['error'];}catch(_0x547646){return this[_0x1efe61(0x426)][_0x1efe61(0x2ad)](_0x547646),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1aa109){var _0x3a8e6c=_0x4a9ac9;if(this['_clearScheduledTask'](),this[_0x3a8e6c(0x3ec)](_0x1aa109))return this['_injector'][_0x3a8e6c(0x3da)](_0x4113be[_0x3a8e6c(0x3bd)],this[_0x3a8e6c(0x227)],this['type'],null,this['_pendingMutations'],this[_0x3a8e6c(0x11c)],[],this[_0x3a8e6c(0xf3)]);this[_0x3a8e6c(0x206)]();const _0x3fd1f5=this[_0x3a8e6c(0x18a)][_0x3a8e6c(0x3da)](_0x4113be['PendingState'],this[_0x3a8e6c(0x227)],this[_0x3a8e6c(0x1ca)],this['_pendingMutations'],this[_0x3a8e6c(0xf3)]);return _0x3fd1f5[_0x3a8e6c(0x175)](),_0x3fd1f5[_0x3a8e6c(0x25e)](),_0x3fd1f5;}[_0x4a9ac9(0x1a9)](_0x5c0f7d){var _0x9a43f6=_0x4a9ac9;return this['_onConflict'](!!(_0x5c0f7d!=null&&_0x5c0f7d[_0x9a43f6(0x296)]));}[_0x4a9ac9(0xfe)](_0x16feac){var _0x106539=_0x4a9ac9;return this[_0x106539(0x241)]>_0x29f7bc?this[_0x106539(0x217)]():(this[_0x106539(0x202)]=_0x5efdb(this[_0x106539(0x335)],{'timeout':this['_resendTimeout'],'reqId':_0x16feac[_0x106539(0x3c0)]}),this[_0x106539(0x2c1)]=this[_0x106539(0x202)][_0x106539(0x32f)](({reqId:_0x366962,timeout:_0x4e89dd})=>{var _0x201a59=_0x106539;this[_0x201a59(0x382)](_0x366962,_0x4e89dd);}),this);}['toggleOffline'](){var _0x1a5531=_0x4a9ac9;return this[_0x1a5531(0x105)](),this[_0x1a5531(0x18a)][_0x1a5531(0x3da)](_0x4113be[_0x1a5531(0x307)],this[_0x1a5531(0x227)],this[_0x1a5531(0x1ca)],this['_awaitingChangeset'],this[_0x1a5531(0x351)],this[_0x1a5531(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}['resend'](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x29c398){var _0x391809=_0x4a9ac9;return this[_0x391809(0x105)](),this['_injector'][_0x391809(0x3da)](_0x4113be[_0x391809(0x3c5)],this['unitID'],this[_0x391809(0x1ca)],null,this[_0x391809(0x351)],this[_0x391809(0xf3)],_0x29c398);}['_resendWithTimeout'](_0x51324b,_0x21b94c){var _0x20d059=_0x4a9ac9,_0x243383;_0x51324b===((_0x243383=this[_0x20d059(0x11c)])==null?void 0x0:_0x243383['reqId'])&&(this[_0x20d059(0x341)](),this[_0x20d059(0x335)]=_0x21b94c===0x0?0x3e8:Math['min'](_0x21b94c*0x2,_0x1f4f9b),this[_0x20d059(0x241)]+=this[_0x20d059(0x335)]);}[_0x4a9ac9(0x105)](){var _0x33cf20=_0x4a9ac9,_0x208be4;(_0x208be4=this[_0x33cf20(0x2c1)])==null||_0x208be4['unsubscribe'](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x4113be['AwaitingWithPendingState']=_0x17135f([_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0['Injector'])),_0x1af1cc(0x7,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x9,_0x414ab0['ILogService']),_0x1af1cc(0xa,_0x19b128['ITransformService']),_0x1af1cc(0xb,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0xc,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x34e)]),_0x4113be[_0x4a9ac9(0x3c5)]=class extends _0x24b4fb{constructor(_0x81fa71,_0x209358,_0x22b478,_0x197e73,_0x6fddc2,_0x5478fa=!0x1,_0xcc6ae2,_0x763a7e,_0x1918b5,_0x2913f1,_0x2683b2,_0x2cff02,_0x11745c){var _0x51c83c=_0x4a9ac9;super(_0x81fa71,_0x209358,_0x22b478,_0x197e73,_0x6fddc2,_0x763a7e,_0x1918b5,_0x2913f1,_0x11745c),_0x213c49(this,_0x51c83c(0x215),_0x51c83c(0x216)),(this[_0x51c83c(0x3df)]=_0x5478fa,this[_0x51c83c(0x38d)]=_0xcc6ae2,this[_0x51c83c(0x151)]=_0x2683b2,this[_0x51c83c(0x167)]=_0x2cff02,this[_0x51c83c(0x135)]=_0x11745c,this[_0x51c83c(0x24c)](),this[_0x51c83c(0x124)](),this[_0x51c83c(0x156)]());}[_0x4a9ac9(0x123)](){return this;}['onRemoteChangeset'](){return this;}[_0x4a9ac9(0x10f)](){return this;}[_0x4a9ac9(0x1a9)](){return this;}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){return this;}['toggleOnline'](){return this;}[_0x4a9ac9(0x341)](){var _0x1fe0e6=_0x4a9ac9;throw new Error(_0x1fe0e6(0x281));}[_0x4a9ac9(0x124)](){var _0x1dac1b=_0x4a9ac9,_0x336d34;(_0x336d34=this[_0x1dac1b(0xee)])==null||_0x336d34['updateOfflineData'](this[_0x1dac1b(0x227)],this['type'],null,[]);}['_showConflictNotification'](){var _0x2658b6=_0x4a9ac9;this['_isPermissionRej']?this[_0x2658b6(0x167)][_0x2658b6(0x3f6)]({'id':_0x51d7a4[_0x2658b6(0x226)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x51d7a4[_0x2658b6(0x1c3)]});}[_0x4a9ac9(0x156)](){var _0x16210a=_0x4a9ac9;this[_0x16210a(0x38d)][_0x16210a(0x23b)](new _0x19c319['WorkbookEditablePermission'](this[_0x16210a(0x227)])['id'],!0x1);}},_0x4113be[_0x4a9ac9(0x3c5)]=_0x17135f([_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x43c)])),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0xa,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x1af1cc(0xb,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x1af1cc(0xc,_0x414ab0['Optional'](_0x364389))],_0x4113be['ConflictState']),_0x4113be['OfflineState']=class extends _0x24b4fb{constructor(_0x28398c,_0xfaba12,_0xa7eecb,_0x1bd6a0,_0x536b1a,_0x52d90a,_0x3ccf01,_0x7985e1,_0x5c4a2f,_0x4ac768){var _0x5e2227=_0x4a9ac9;super(_0x28398c,_0xfaba12,_0xa7eecb,_0x1bd6a0,_0x536b1a,_0x7985e1,_0x5c4a2f,_0x3ccf01,_0x4ac768),_0x213c49(this,'status',_0x5e2227(0x25c)),this[_0x5e2227(0x18a)]=_0x52d90a;}[_0x4a9ac9(0x123)](_0x5299da){var _0x4e1de9=_0x4a9ac9;return this[_0x4e1de9(0x351)][_0x4e1de9(0x350)](_0x5299da),this['_updateLocalCache'](),this;}[_0x4a9ac9(0x326)](_0x58c2a5){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x2eecd8=_0x4a9ac9;throw new Error(_0x2eecd8(0x414));}[_0x4a9ac9(0x1a9)](){var _0x406483=_0x4a9ac9;throw new Error(_0x406483(0x1de));}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){return this;}[_0x4a9ac9(0x251)](){var _0x3261c1=_0x4a9ac9;const {_injector:_0x4f850e,_pendingMutations:_0x5003ab,_awaitingChangeset:_0x411784,unitID:_0x179960,_handler:_0x438f64,type:_0x2ca498}=this,_0x384eaa=_0x1ccfb1(_0x4f850e,_0x179960,_0x2ca498,_0x411784,_0x5003ab,_0x438f64);return _0x384eaa instanceof _0x4113be[_0x3261c1(0x3f8)]?_0x384eaa[_0x3261c1(0x175)]():(_0x384eaa instanceof _0x4113be['AwaitingWithPendingState']||_0x384eaa instanceof _0x4113be[_0x3261c1(0x2f0)])&&_0x384eaa[_0x3261c1(0x341)](),_0x384eaa;}[_0x4a9ac9(0x341)](){var _0x12a7c1=_0x4a9ac9;throw new Error(_0x12a7c1(0x168));}},_0x4113be[_0x4a9ac9(0x307)]=_0x17135f([_0x1af1cc(0x5,_0x414ab0['Inject'](_0x414ab0['Injector'])),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be['OfflineState']),_0x4113be[_0x4a9ac9(0x3bd)]=class extends _0x24b4fb{constructor(_0x5a179f,_0x12c568,_0x2fb372,_0x5bf081,_0x2cefbb,_0xe94c91,_0x2d485e,_0x2e6f32,_0x55310,_0x1b508d,_0xfd323b,_0x28881b,_0xe06046,_0x4c21be){var _0x198ed2=_0x4a9ac9;super(_0x5a179f,_0x12c568,_0x2fb372,_0x5bf081,_0x2d485e,_0xfd323b,_0x28881b,_0x55310,_0x4c21be),_0x213c49(this,'status',_0x198ed2(0x252)),(this[_0x198ed2(0x392)]=_0x2cefbb,this[_0x198ed2(0x365)]=_0xe94c91,this['_injector']=_0x2e6f32,this[_0x198ed2(0x426)]=_0x1b508d,this[_0x198ed2(0x413)]=_0xe06046,this['localCacheService']=_0x4c21be);}['onMissedChangesetFetched'](_0x4b9b17){var _0x206ce5=_0x4a9ac9;try{const _0x300741=[..._0x4b9b17,...this[_0x206ce5(0x365)]],_0x45614e=[this['_awaitingChangeset']||this[_0x206ce5(0x392)]][_0x206ce5(0xef)](_0x5dacf2=>!!_0x5dacf2);let _0x2f2d2c,_0x24b9ac;if(_0x45614e['length']){const _0x226779=this[_0x206ce5(0x413)]['transformChangesets'](_0x300741,_0x45614e,!0x1);if(!_0x19b128[_0x206ce5(0x173)](_0x226779))throw _0x226779[_0x206ce5(0x2ad)];_0x2f2d2c=_0x226779[_0x206ce5(0x2cb)],_0x24b9ac=_0x226779['c2Prime'];}else _0x2f2d2c=_0x300741,_0x24b9ac=[];let _0xacabe0=this['_pendingMutations'];_0x2f2d2c[_0x206ce5(0x1d0)](_0x56d218=>{var _0x4cfb2b=_0x206ce5;let _0x1b814f;if(_0xacabe0[_0x4cfb2b(0x337)]){const _0x1267e7=this['_transformService'][_0x4cfb2b(0x260)](_0x56d218,_0xacabe0);if(!_0x19b128['isTransformMutationsWithChangesetSuccess'](_0x1267e7))throw _0x1267e7[_0x4cfb2b(0x2ad)];_0x1b814f=_0x1267e7[_0x4cfb2b(0x2cb)],_0xacabe0=_0x1267e7[_0x4cfb2b(0x347)];}else _0x1b814f=_0x56d218;this[_0x4cfb2b(0x106)](_0x1b814f);}),this['_acknowledgedAwaitingChangeset']&&this[_0x206ce5(0x206)](),this[_0x206ce5(0x11c)]&&_0x24b9ac[_0x206ce5(0x337)]&&(_0x24b9ac[0x0][_0x206ce5(0xce)]=this['_getCurrentRevision']());let _0x53c088;if(this['_awaitingChangeset']&&_0xacabe0[_0x206ce5(0x337)]!==0x0)_0x53c088=this['_injector'][_0x206ce5(0x3da)](_0x4113be['AwaitingWithPendingState'],this['unitID'],this[_0x206ce5(0x1ca)],_0x24b9ac[0x0],_0xacabe0,this[_0x206ce5(0xf3)],void 0x0);else{if(this[_0x206ce5(0x11c)]&&_0xacabe0['length']===0x0)_0x24b9ac[0x0]['baseRev']=this[_0x206ce5(0x1d2)](),_0x53c088=this['_injector']['createInstance'](_0x4113be[_0x206ce5(0x2f0)],this['unitID'],this['type'],_0x24b9ac[0x0],this[_0x206ce5(0xf3)]);else{if(_0xacabe0[_0x206ce5(0x337)]!==0x0){const _0x22454b=this[_0x206ce5(0x18a)][_0x206ce5(0x3da)](_0x4113be['PendingState'],this['unitID'],this[_0x206ce5(0x1ca)],_0xacabe0,this[_0x206ce5(0xf3)]);_0x22454b[_0x206ce5(0x175)](),_0x53c088=_0x22454b;}else _0x53c088=this['_injector'][_0x206ce5(0x3da)](_0x4113be['SyncedState'],this['unitID'],this[_0x206ce5(0x1ca)],this['_handler']);}}return _0x53c088[_0x206ce5(0x25e)](),_0x53c088;}catch(_0x17fa6b){return this['_logService'][_0x206ce5(0x2ad)]('[FetchMissState]',_0x206ce5(0x1d8),_0x17fa6b),this[_0x206ce5(0x18a)][_0x206ce5(0x3da)](_0x4113be[_0x206ce5(0x3c5)],this[_0x206ce5(0x227)],this[_0x206ce5(0x1ca)],this[_0x206ce5(0x11c)],this['_pendingMutations'],this[_0x206ce5(0xf3)],!0x1);}}[_0x4a9ac9(0x341)](){var _0x167a56=_0x4a9ac9;throw new Error(_0x167a56(0x2ab));}[_0x4a9ac9(0x123)](_0x257f8d){var _0x1967a5=_0x4a9ac9;return this[_0x1967a5(0x351)]['push'](_0x257f8d),this;}[_0x4a9ac9(0x326)](_0x153d69){return this['_queuedRemoteChangesets']['push'](_0x153d69),this;}[_0x4a9ac9(0x10f)](_0x17451d){var _0x10af21=_0x4a9ac9;if(this['_awaitingChangeset'])return this[_0x10af21(0x392)]=this[_0x10af21(0x11c)],this[_0x10af21(0x11c)]=null,this;throw new Error(_0x10af21(0x3f2));}[_0x4a9ac9(0x1a9)](_0x140ec9){var _0x4d3b64=_0x4a9ac9;return this[_0x4d3b64(0x31a)](!!(_0x140ec9!=null&&_0x140ec9[_0x4d3b64(0x296)]));}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){var _0x4d91df=_0x4a9ac9;return this[_0x4d91df(0x18a)]['createInstance'](_0x4113be[_0x4d91df(0x307)],this[_0x4d91df(0x227)],this[_0x4d91df(0x1ca)],this[_0x4d91df(0x11c)],this[_0x4d91df(0x351)],this[_0x4d91df(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}['_onConflict'](_0x320ceb){var _0x12accc=_0x4a9ac9;return this[_0x12accc(0x18a)][_0x12accc(0x3da)](_0x4113be[_0x12accc(0x3c5)],this[_0x12accc(0x227)],this[_0x12accc(0x1ca)],this[_0x12accc(0x11c)],this['_pendingMutations'],this['_handler'],_0x320ceb);}},_0x4113be[_0x4a9ac9(0x3bd)]=_0x17135f([_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x9,_0x414ab0['ILogService']),_0x1af1cc(0xa,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0xb,_0x414ab0['IUndoRedoService']),_0x1af1cc(0xc,_0x19b128['ITransformService']),_0x1af1cc(0xd,_0x414ab0['Optional'](_0x364389))],_0x4113be[_0x4a9ac9(0x3bd)]);function _0x1ccfb1(_0x2baa72,_0x57e8d5,_0x9a179b,_0x7e7508,_0x45bb7e,_0x4d9f25){var _0x5daf54=_0x4a9ac9;return _0x7e7508&&_0x45bb7e[_0x5daf54(0x337)]?_0x2baa72[_0x5daf54(0x3da)](_0x4113be[_0x5daf54(0x34e)],_0x57e8d5,_0x9a179b,_0x7e7508,_0x45bb7e,_0x4d9f25,void 0x0):_0x7e7508?_0x2baa72[_0x5daf54(0x3da)](_0x4113be[_0x5daf54(0x2f0)],_0x57e8d5,_0x9a179b,_0x7e7508,_0x4d9f25):_0x45bb7e[_0x5daf54(0x337)]?_0x2baa72['createInstance'](_0x4113be['PendingState'],_0x57e8d5,_0x9a179b,_0x45bb7e,_0x4d9f25):_0x2baa72[_0x5daf54(0x3da)](_0x4113be[_0x5daf54(0x45a)],_0x57e8d5,_0x9a179b,_0x4d9f25);}var _0x380431=Object[_0x4a9ac9(0xf9)],_0x3086fd=(_0x1ac048,_0x19e884,_0x3e51c3,_0x15b8f1)=>{var _0xbf1ad5=_0x4a9ac9;for(var _0x308265=_0x15b8f1>0x1?void 0x0:_0x15b8f1?_0x380431(_0x19e884,_0x3e51c3):_0x19e884,_0x2c9e26=_0x1ac048[_0xbf1ad5(0x337)]-0x1,_0xf2b271;_0x2c9e26>=0x0;_0x2c9e26--)(_0xf2b271=_0x1ac048[_0x2c9e26])&&(_0x308265=_0xf2b271(_0x308265)||_0x308265);return _0x308265;},_0x4e29d4=(_0x358f86,_0x3010ea)=>(_0xad47b6,_0x143302)=>_0x3010ea(_0xad47b6,_0x143302,_0x358f86);_0x4113be[_0x4a9ac9(0x27d)]=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x33f0b9,_0x66edf,_0x14d9f6,_0x43bb6e,_0x3fe3c9,_0x10cb61,_0x1d212f,_0x4f8c04,_0x40c1a8,_0x32559c,_0x221b45,_0x2be801,_0x41227b,_0x2da495){var _0x3bbd71=_0x4a9ac9;super(),_0x213c49(this,'_state$',new _0x5691e8['BehaviorSubject'](null)),_0x213c49(this,'state$',this[_0x3bbd71(0x400)][_0x3bbd71(0x3cf)]()),_0x213c49(this,_0x3bbd71(0x2fe)),_0x213c49(this,_0x3bbd71(0xd6),!0x1),_0x213c49(this,_0x3bbd71(0x45c),''),_0x213c49(this,_0x3bbd71(0x180),0x0),_0x213c49(this,_0x3bbd71(0x1ae),this[_0x3bbd71(0x3f7)][_0x3bbd71(0x282)](_0x5691e8[_0x3bbd71(0x45d)](_0x495b99=>_0x495b99?_0x495b99[_0x3bbd71(0x215)]:_0x70296d[_0x3bbd71(0x29f)]),_0x5691e8['shareReplay'](0x1))),_0x213c49(this,_0x3bbd71(0x3b7),!0x1),_0x213c49(this,_0x3bbd71(0x3d9),[]),(this['unitID']=_0x33f0b9,this[_0x3bbd71(0x3a9)]=_0x66edf,this[_0x3bbd71(0x285)]=_0x14d9f6,this['_injector']=_0x43bb6e,this[_0x3bbd71(0x177)]=_0x3fe3c9,this['_localeService']=_0x10cb61,this['_revisionService']=_0x1d212f,this[_0x3bbd71(0x172)]=_0x4f8c04,this[_0x3bbd71(0x3bf)]=_0x40c1a8,this[_0x3bbd71(0x426)]=_0x32559c,this['_commandService']=_0x221b45,this[_0x3bbd71(0x38d)]=_0x2be801,this[_0x3bbd71(0x3c3)]=_0x41227b,this[_0x3bbd71(0xee)]=_0x2da495);}get[_0x4a9ac9(0x22f)](){var _0x37f4ea=_0x4a9ac9;return this[_0x37f4ea(0x2fe)];}async[_0x4a9ac9(0x3d7)](){var _0x481dc5=_0x4a9ac9;if(this[_0x481dc5(0x22f)])throw new Error(_0x481dc5(0x132));await this['_init']();}[_0x4a9ac9(0x17c)](){var _0x172306=_0x4a9ac9;return this[_0x172306(0xd6)]=!0x0,_0x414ab0[_0x172306(0x3c4)](()=>{var _0x478f49=_0x172306;this[_0x478f49(0xd6)]=!0x1,this[_0x478f49(0x35f)]();});}[_0x4a9ac9(0x306)](_0x300a62){var _0x408778=_0x4a9ac9;this[_0x408778(0x3fe)](_0x300a62);}[_0x4a9ac9(0x3a2)](_0x1ffee3){var _0x4e3a19=_0x4a9ac9;this['_state']=_0x1ffee3,this[_0x4e3a19(0x400)][_0x4e3a19(0x2d0)](_0x1ffee3);}async[_0x4a9ac9(0x15d)](){var _0x3c694a=_0x4a9ac9,_0x316b7d;this[_0x3c694a(0x3a2)](await this[_0x3c694a(0x1b6)]()),this[_0x3c694a(0x3c3)]&&((_0x316b7d=this[_0x3c694a(0x3c3)])==null||_0x316b7d[_0x3c694a(0x169)](this[_0x3c694a(0x227)]),this[_0x3c694a(0x174)](this['_singleActiveUnitService'][_0x3c694a(0x284)](this[_0x3c694a(0x227)])[_0x3c694a(0x32f)](_0x148200=>{var _0x4b8ca7=_0x3c694a;this['_logService']['debug'](_0x4b8ca7(0x1bb),_0x4b8ca7(0x3f1),_0x148200),_0x148200===_0x39c98c['OTHER_CLIENTS_EDITING']?(this[_0x4b8ca7(0x172)]['emitEvent']({'id':_0x51d7a4[_0x4b8ca7(0x18f)]}),this['_permissionService']['updatePermissionPoint'](new _0x19c319['WorkbookEditablePermission'](this[_0x4b8ca7(0x227)])['id'],!0x1),this[_0x4b8ca7(0x38d)][_0x4b8ca7(0x39b)](!0x1)):(this[_0x4b8ca7(0x38d)][_0x4b8ca7(0x23b)](new _0x19c319[(_0x4b8ca7(0x415))](this[_0x4b8ca7(0x227)])['id'],!0x0),this[_0x4b8ca7(0x38d)][_0x4b8ca7(0x39b)](!0x0));})));let _0x3cddee=!0x1;return this[_0x3c694a(0x174)](this[_0x3c694a(0x3a9)][_0x3c694a(0xc8)][_0x3c694a(0x32f)](_0x4c9ac8=>{var _0x45a282=_0x3c694a;_0x4c9ac8===_0x38c5e4['ONLINE']?this[_0x45a282(0x199)](_0x3cddee):_0x4c9ac8===_0x38c5e4[_0x45a282(0x29f)]&&(_0x3cddee=!0x0,this[_0x45a282(0x41f)]());})),this[_0x3c694a(0x174)](this[_0x3c694a(0x3a9)][_0x3c694a(0x37f)][_0x3c694a(0x32f)](_0xe69888=>{var _0x59aba3=_0x3c694a;try{switch(_0xe69888['eventID']){case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x107)]:{this[_0x59aba3(0x368)](_0x19b128[_0x59aba3(0x2e6)](_0xe69888[_0x59aba3(0xc7)]));break;}case _0x19b128[_0x59aba3(0xd3)]['CHANGESET_ACK']:{this[_0x59aba3(0x16c)](_0xe69888[_0x59aba3(0xc7)]);break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x276)]:{this['_onRemoteRejected']();break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x3b8)]:{this[_0x59aba3(0x1bc)](_0xe69888[_0x59aba3(0xc7)]);break;}case _0x19b128['CollaborationEvent'][_0x59aba3(0x15a)]:{this['_onFetchMissResult'](_0xe69888['data'][_0x59aba3(0x45f)][_0x59aba3(0x45d)](_0x188703=>_0x19b128[_0x59aba3(0x2e6)](_0x188703)));break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x2be)]:{this[_0x59aba3(0x1e5)]({'isPermissionRej':!0x0});break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x448)]:break;}}catch(_0x1d0cb0){throw console['error']('Error\x20on\x20receiving\x20event',_0x1d0cb0),_0x1d0cb0;}})),this[_0x3c694a(0x2fe)];}[_0x4a9ac9(0x322)](){var _0x4fb288=_0x4a9ac9;this[_0x4fb288(0x3b7)]=!0x1;}['_lockTransition'](){var _0x342376=_0x4a9ac9;if(this[_0x342376(0x3b7)])throw new Error(_0x342376(0xe1));this[_0x342376(0x3b7)]=!0x0;}[_0x4a9ac9(0x3fe)](_0xd7b8f5){var _0x224c53=_0x4a9ac9;this[_0x224c53(0x36a)](),this['_updateState'](this[_0x224c53(0x2fe)][_0x224c53(0x123)](_0xd7b8f5)),this[_0x224c53(0x322)]();}['_onRemoteChangeset'](_0xe89c08){var _0x35d185=_0x4a9ac9;if(!(_0xe89c08[_0x35d185(0x249)]<=this[_0x35d185(0x355)][_0x35d185(0x2ea)](this['unitID']))){if(this[_0x35d185(0xd6)]){this[_0x35d185(0x3d9)][_0x35d185(0x350)](_0xe89c08);return;}this['_applyRemoteChangeset'](_0xe89c08);}}[_0x4a9ac9(0x35f)](){var _0xc94068=_0x4a9ac9;this[_0xc94068(0x3d9)][_0xc94068(0x1d0)](_0x8d3aa4=>this[_0xc94068(0x30c)](_0x8d3aa4)),this[_0xc94068(0x3d9)]=[];}[_0x4a9ac9(0x30c)](_0x3b94b8){var _0x134fc3=_0x4a9ac9;const _0x49d237=this[_0x134fc3(0x177)][_0x134fc3(0x427)][_0x134fc3(0x25a)](this['_compressMutationService'][_0x134fc3(0x427)][_0x134fc3(0x430)]()[_0x134fc3(0x3d1)])(_0x3b94b8[_0x134fc3(0x1a1)],null)||_0x3b94b8[_0x134fc3(0x1a1)],_0x58ab15={..._0x3b94b8,'mutations':_0x49d237};this[_0x134fc3(0x36a)](),this[_0x134fc3(0x3a2)](this[_0x134fc3(0x2fe)][_0x134fc3(0x326)](_0x58ab15)),this[_0x134fc3(0x322)]();}['_onRemoteACK'](_0x5aa514){var _0x5437e6=_0x4a9ac9;this[_0x5437e6(0x36a)](),this['_updateState'](this[_0x5437e6(0x2fe)][_0x5437e6(0x10f)](_0x5aa514)),this[_0x5437e6(0x322)]();}[_0x4a9ac9(0x1e5)](_0x47bb52){var _0x1b2338=_0x4a9ac9;this[_0x1b2338(0x36a)](),this[_0x1b2338(0x3a2)](this[_0x1b2338(0x2fe)][_0x1b2338(0x1a9)](_0x47bb52)),this[_0x1b2338(0x322)]();}['_onRemoteRetry'](_0x2a273b){var _0x56143c=_0x4a9ac9;this[_0x56143c(0x36a)](),this[_0x56143c(0x3a2)](this[_0x56143c(0x2fe)][_0x56143c(0xfe)](_0x2a273b)),this[_0x56143c(0x322)]();}[_0x4a9ac9(0x436)](_0x358f92){var _0x3a01b8=_0x4a9ac9;if(!(this[_0x3a01b8(0x2fe)]instanceof _0x4113be[_0x3a01b8(0x3bd)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3ebfe6=_0x358f92[_0x3a01b8(0x45d)](_0x345a17=>{var _0x5fb9eb=_0x3a01b8;const _0x5be895=this['_compressMutationService'][_0x5fb9eb(0x427)][_0x5fb9eb(0x25a)](this[_0x5fb9eb(0x177)][_0x5fb9eb(0x427)][_0x5fb9eb(0x430)]()['COMPRESS_MUTATION_APPLY'])(_0x345a17['mutations'],null)||_0x345a17[_0x5fb9eb(0x1a1)];return{..._0x345a17,'mutations':_0x5be895};});this[_0x3a01b8(0x36a)](),this[_0x3a01b8(0x3a2)](this[_0x3a01b8(0x2fe)][_0x3a01b8(0x412)](_0x3ebfe6)),this[_0x3a01b8(0x322)]();}['_toggleOffline'](){var _0x47aa8f=_0x4a9ac9;this['_lockTransition'](),this[_0x47aa8f(0x3a2)](this[_0x47aa8f(0x2fe)][_0x47aa8f(0x217)]()),this['_unlockTransition']();}[_0x4a9ac9(0x199)](_0x2b2a15=!0x1){var _0x67f5e6=_0x4a9ac9;this['_lockTransition'](),this[_0x67f5e6(0x3a2)](this[_0x67f5e6(0x2fe)][_0x67f5e6(0x251)]()),this[_0x67f5e6(0x322)]();const _0xdbeb0d=this[_0x67f5e6(0x2fe)];_0x2b2a15&&_0xdbeb0d instanceof _0x4113be[_0x67f5e6(0x45a)]&&(this[_0x67f5e6(0x36a)](),this[_0x67f5e6(0x3a2)](_0xdbeb0d[_0x67f5e6(0x21a)]()),this[_0x67f5e6(0x322)]());}async['_createInitialState'](){return new Promise(_0x116972=>{var _0x4b41ad=_0x515f;this[_0x4b41ad(0x3a9)][_0x4b41ad(0xc8)][_0x4b41ad(0x282)](_0x5691e8[_0x4b41ad(0x11e)](0x1))['subscribe'](async _0x366d16=>{var _0x275293=_0x4b41ad;_0x116972(await this[_0x275293(0x2bf)](_0x366d16===_0x38c5e4[_0x275293(0x33b)]));});});}[_0x4a9ac9(0x447)](){var _0x9a00b1=_0x4a9ac9;const _0x9200c9=this[_0x9a00b1(0x227)];return{'onStateChange':(_0x3985fb,_0x28fc0f)=>{var _0x59a43c=_0x9a00b1;if(_0x3985fb!==this[_0x59a43c(0x2fe)])throw new Error(_0x59a43c(0x1ac)+_0x3985fb[_0x59a43c(0x215)]+_0x59a43c(0x31e)+_0x28fc0f[_0x59a43c(0x215)]+_0x59a43c(0x29d)+this[_0x59a43c(0x2fe)]['status']);this[_0x59a43c(0x3a2)](_0x28fc0f);},'onSendChangeset':_0x53d0a8=>{var _0x43acb6=_0x9a00b1;_0x53d0a8[_0x43acb6(0x32d)]||(_0x53d0a8['sid']=this[_0x43acb6(0x45c)],_0x53d0a8['reqId']=++this[_0x43acb6(0x180)]);const _0x244a2b={'eventID':_0x19b128['CollaborationEvent'][_0x43acb6(0x1ef)],'data':{'unitID':_0x53d0a8[_0x43acb6(0x227)],'unitType':this[_0x43acb6(0x285)],'changeset':_0x53d0a8,'memberID':this[_0x43acb6(0x3a9)]['getMemberID']()}};this[_0x43acb6(0x3a9)]['send'](_0x244a2b,this[_0x43acb6(0x227)]);},'onMissingChangesets':({from:_0x1bc51e,to:_0x1e4e9b})=>{var _0x5c586f=_0x9a00b1;this[_0x5c586f(0x426)][_0x5c586f(0x1c4)](_0x5c586f(0x1bb),_0x5c586f(0x262)+_0x1bc51e+'\x20to\x20'+_0x1e4e9b);const _0x106ad5={'eventID':_0x19b128[_0x5c586f(0xd3)][_0x5c586f(0x188)],'data':{'unitID':_0x9200c9,'unitType':this[_0x5c586f(0x285)],'from':_0x1bc51e,'to':_0x1e4e9b}};this['session']['send'](_0x106ad5,this[_0x5c586f(0x227)]);}};}async[_0x4a9ac9(0x2bf)](_0x4aad30){var _0x2e025e=_0x4a9ac9,_0x385293,_0x453b26,_0x10fea9;const _0x4a0f0f=await((_0x385293=this[_0x2e025e(0xee)])==null?void 0x0:_0x385293[_0x2e025e(0x270)](this[_0x2e025e(0x227)])),_0x3322a9=(_0x453b26=_0x4a0f0f==null?void 0x0:_0x4a0f0f[_0x2e025e(0x1a1)])!=null?_0x453b26:[],_0x1cb32e=(_0x10fea9=_0x4a0f0f==null?void 0x0:_0x4a0f0f['awaitingChangeset'])!=null?_0x10fea9:null,_0x10d090=!!(_0x1cb32e!=null&&_0x1cb32e['sid'])&&!!(_0x1cb32e!=null&&_0x1cb32e[_0x2e025e(0x3c0)]);this['_changesetSessionId']=_0x10d090?_0x1cb32e['sid']:_0x19b128[_0x2e025e(0x283)](),this['_changesetReqId']=_0x10d090?_0x1cb32e[_0x2e025e(0x3c0)]:0x0;const _0x54454c=this['unitID'];try{this[_0x2e025e(0x406)](_0x1cb32e,_0x3322a9);}catch(_0x240409){this[_0x2e025e(0x426)]['error'](_0x240409);}const _0x98a11b=this['_createHandler']();if(_0x4aad30){const _0x4c4ceb=_0x1ccfb1(this[_0x2e025e(0x18a)],_0x54454c,this[_0x2e025e(0x285)],_0x1cb32e,_0x3322a9,_0x98a11b);return _0x4c4ceb instanceof _0x4113be[_0x2e025e(0x3f8)]?_0x4c4ceb[_0x2e025e(0x175)]():(_0x4c4ceb instanceof _0x4113be['AwaitingWithPendingState']||_0x4c4ceb instanceof _0x4113be[_0x2e025e(0x2f0)])&&_0x4c4ceb[_0x2e025e(0x341)](),_0x4c4ceb;}return this['_injector']['createInstance'](_0x4113be[_0x2e025e(0x307)],_0x54454c,this['_type'],_0x1cb32e,_0x3322a9,_0x98a11b);}[_0x4a9ac9(0x406)](_0x144031,_0x469dd6){var _0x1d3146=_0x4a9ac9,_0x316d74,_0x5a3634;const _0x54afc1=this[_0x1d3146(0x177)][_0x1d3146(0x427)][_0x1d3146(0x25a)](this['_compressMutationService'][_0x1d3146(0x427)]['getInterceptPoints']()[_0x1d3146(0x3d1)]);(_0x316d74=_0x54afc1((_0x144031==null?void 0x0:_0x144031[_0x1d3146(0x1a1)])||[],null))==null||_0x316d74[_0x1d3146(0x1d0)](_0x25f20f=>this[_0x1d3146(0x269)][_0x1d3146(0x304)](_0x25f20f['id'],_0x25f20f[_0x1d3146(0x111)])),(_0x5a3634=_0x54afc1(_0x469dd6||[],null))==null||_0x5a3634['forEach'](_0x4e5cf3=>this[_0x1d3146(0x269)]['executeCommand'](_0x4e5cf3['id'],_0x4e5cf3[_0x1d3146(0x111)]));}},_0x4113be[_0x4a9ac9(0x27d)]=_0x3086fd([_0x4e29d4(0x3,_0x414ab0['Inject'](_0x414ab0['Injector'])),_0x4e29d4(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x41c)])),_0x4e29d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x4e29d4(0x6,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x43a)])),_0x4e29d4(0x7,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x4e29d4(0x8,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x4e29d4(0x9,_0x414ab0['ILogService']),_0x4e29d4(0xa,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x4e29d4(0xb,_0x414ab0['IPermissionService']),_0x4e29d4(0xc,_0x414ab0[_0x4a9ac9(0x3e6)](_0x5db1cd)),_0x4e29d4(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x27d)]),_0x4113be[_0x4a9ac9(0x3d5)]=class extends _0x4113be['CollaborationEntity']{constructor(_0x153f65,_0x355aa9,_0x5b9a5b,_0x54ca63,_0x5d1cfe,_0x1f72b3,_0x8fec30,_0x43b3b0,_0x4100e2,_0x37ca3e,_0x27e221,_0x5cf753,_0x499d4c,_0x2c910d){var _0xb5898d=_0x4a9ac9;super(_0x153f65,_0x5b9a5b,_0x355aa9,_0x54ca63,_0x5d1cfe,_0x1f72b3,_0x8fec30,_0x43b3b0,_0x4100e2,_0x37ca3e,_0x27e221,_0x5cf753,_0x499d4c,_0x2c910d),_0x213c49(this,_0xb5898d(0x456),null),(this[_0xb5898d(0x227)]=_0x153f65,this[_0xb5898d(0x1ca)]=_0x355aa9);}[_0x4a9ac9(0x3de)](_0x1a9d43){this['_handlerCallback']=_0x1a9d43;}[_0x4a9ac9(0x228)](){var _0x5f1d37=_0x4a9ac9;this['_handlerCallback']=null,super[_0x5f1d37(0x228)]();}['_createHandler'](){var _0x1a15d2=_0x4a9ac9;const _0x1c6073=super[_0x1a15d2(0x447)]();return _0x1c6073[_0x1a15d2(0x244)]=_0x59c302=>{var _0x330af1=_0x1a15d2,_0x4c2337,_0x31d26e;return(_0x31d26e=(_0x4c2337=this[_0x330af1(0x456)])==null?void 0x0:_0x4c2337[_0x330af1(0x244)])==null?void 0x0:_0x31d26e[_0x330af1(0x3c1)](_0x4c2337,_0x59c302);},_0x1c6073['onTransformState']=_0x52275c=>{var _0x4d2ca2=_0x1a15d2,_0x123918,_0x3db668;return(_0x3db668=(_0x123918=this[_0x4d2ca2(0x456)])==null?void 0x0:_0x123918[_0x4d2ca2(0xc4)])==null?void 0x0:_0x3db668[_0x4d2ca2(0x3c1)](_0x123918,_0x52275c);},_0x1c6073['onTransformSelections']=_0x4f0a13=>{var _0x104b20=_0x1a15d2,_0x4fa708,_0x41ced6;return(_0x41ced6=(_0x4fa708=this[_0x104b20(0x456)])==null?void 0x0:_0x4fa708[_0x104b20(0x2bd)])==null?void 0x0:_0x41ced6[_0x104b20(0x3c1)](_0x4fa708,_0x4f0a13);},_0x1c6073[_0x1a15d2(0x452)]=_0x3a855c=>{var _0xe76612=_0x1a15d2,_0x95677b,_0x2f3c1c;return(_0x2f3c1c=(_0x95677b=this['_handlerCallback'])==null?void 0x0:_0x95677b['onSyncEditingCollabCursor'])==null?void 0x0:_0x2f3c1c[_0xe76612(0x3c1)](_0x95677b,_0x3a855c);},_0x1c6073[_0x1a15d2(0x17a)]=_0x1828c4=>{var _0x33c031=_0x1a15d2,_0x1f8ac9,_0x2a9fef,_0x3e56f5;if(!((_0x1f8ac9=this['_handlerCallback'])!=null&&_0x1f8ac9[_0x33c031(0x17a)]))throw new Error(_0x33c031(0x35b));return(_0x3e56f5=(_0x2a9fef=this[_0x33c031(0x456)])==null?void 0x0:_0x2a9fef['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3e56f5['call'](_0x2a9fef,_0x1828c4);},_0x1c6073[_0x1a15d2(0x148)]=_0x1c1b48=>{var _0x530aa8=_0x1a15d2,_0x357d47,_0x5b7270,_0x2fd3a9;if(!((_0x357d47=this['_handlerCallback'])!=null&&_0x357d47[_0x530aa8(0x148)]))throw new Error(_0x530aa8(0x1eb));return(_0x2fd3a9=(_0x5b7270=this['_handlerCallback'])==null?void 0x0:_0x5b7270['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2fd3a9[_0x530aa8(0x3c1)](_0x5b7270,_0x1c1b48);},_0x1c6073;}async[_0x4a9ac9(0x15d)](){var _0x3839ad=_0x4a9ac9;const _0x5db2e5=await super[_0x3839ad(0x15d)]();return this[_0x3839ad(0x174)](this[_0x3839ad(0x269)][_0x3839ad(0xd9)]((_0x2051de,_0x1c3d89)=>{var _0x2ce128=_0x3839ad;if(_0x2051de['type']!==_0x414ab0[_0x2ce128(0x1c9)][_0x2ce128(0x317)]||_0x1c3d89!=null&&_0x1c3d89[_0x2ce128(0x2cf)]||_0x1c3d89!=null&&_0x1c3d89['onlyLocal']||_0x2051de['id']===_0x33516d[_0x2ce128(0x28f)]['id'])return;const _0x352e50=_0x2051de[_0x2ce128(0x111)];if((_0x352e50==null?void 0x0:_0x352e50[_0x2ce128(0x44f)])!==this['unitID'])return;const _0x32e320=_0x2051de,_0x388eee=this[_0x2ce128(0x177)][_0x2ce128(0x427)][_0x2ce128(0x25a)](this[_0x2ce128(0x177)][_0x2ce128(0x427)][_0x2ce128(0x430)]()['COMPRESS_MUTATION_SEND'])([_0x32e320],this['_univerInstanceService'])||[_0x32e320];this['_onLocalMutation'](_0x388eee[0x0]);})),_0x5db2e5;}},_0x4113be['DocCollaborationEntity']=_0x3086fd([_0x4e29d4(0x3,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x4e29d4(0x4,_0x414ab0['Inject'](_0x19b128['CompressMutationService'])),_0x4e29d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x4e29d4(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x4e29d4(0x7,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x4e29d4(0x8,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x4e29d4(0x9,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x4e29d4(0xa,_0x414ab0['ICommandService']),_0x4e29d4(0xb,_0x414ab0[_0x4a9ac9(0x43c)]),_0x4e29d4(0xc,_0x414ab0[_0x4a9ac9(0x3e6)](_0x5db1cd)),_0x4e29d4(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x3d5)]),_0x4113be[_0x4a9ac9(0x15f)]=class extends _0x4113be[_0x4a9ac9(0x27d)]{constructor(_0x38f191,_0x431abd,_0x5a420d,_0x289cf6,_0x55aeb5,_0x731879,_0x562a8f,_0xb2e282,_0x550ea0,_0x424477,_0x491dad,_0x548018,_0x25f2e5,_0x5ec695,_0x531ead){var _0x112d63=_0x4a9ac9;super(_0x38f191,_0x5a420d,_0x431abd,_0x289cf6,_0x55aeb5,_0x731879,_0x562a8f,_0x550ea0,_0x424477,_0x491dad,_0x548018,_0x25f2e5,_0x5ec695,_0x531ead),this[_0x112d63(0x227)]=_0x38f191,this[_0x112d63(0x1ca)]=_0x431abd,this['_sheetTransformSelectionsService']=_0xb2e282;}[_0x4a9ac9(0x447)](){var _0x53ca2a=_0x4a9ac9;const _0x59f9bd=super[_0x53ca2a(0x447)]();return _0x59f9bd[_0x53ca2a(0x2bd)]=_0x3bc6fa=>this[_0x53ca2a(0x305)][_0x53ca2a(0x3c8)](_0x3bc6fa),_0x59f9bd;}async['_init'](){var _0x1fa15a=_0x4a9ac9;const _0x2b7181=await super['_init']();return this[_0x1fa15a(0x174)](this[_0x1fa15a(0x269)]['onMutationExecutedForCollab']((_0xb51ef4,_0x442972)=>{var _0xe737e2=_0x1fa15a;if(_0xb51ef4[_0xe737e2(0x1ca)]!==_0x414ab0[_0xe737e2(0x1c9)][_0xe737e2(0x317)]||_0x442972!=null&&_0x442972['fromCollab']||_0x442972!=null&&_0x442972[_0xe737e2(0x20c)])return;const _0x21c261=_0xb51ef4[_0xe737e2(0x111)];if((_0x21c261==null?void 0x0:_0x21c261[_0xe737e2(0x44f)])!==this['unitID'])return;const _0x375a08=_0xb51ef4,_0x195228=this['_compressMutationService'][_0xe737e2(0x427)][_0xe737e2(0x25a)](this[_0xe737e2(0x177)][_0xe737e2(0x427)]['getInterceptPoints']()[_0xe737e2(0x250)])([_0x375a08],this[_0xe737e2(0x3bf)])||[_0x375a08];this[_0xe737e2(0x3fe)](_0x195228[0x0]);})),_0x2b7181;}},_0x4113be[_0x4a9ac9(0x15f)]=_0x3086fd([_0x4e29d4(0x3,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x4e29d4(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x41c)])),_0x4e29d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x4e29d4(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x4e29d4(0x7,_0x414ab0['Inject'](_0x4113be[_0x4a9ac9(0x425)])),_0x4e29d4(0x8,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x4e29d4(0x9,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x4e29d4(0xa,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x4e29d4(0xb,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x4e29d4(0xc,_0x414ab0[_0x4a9ac9(0x43c)]),_0x4e29d4(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x5db1cd)),_0x4e29d4(0xe,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x15f)]);const _0xc74a4=_0x414ab0[_0x4a9ac9(0x158)](_0x4a9ac9(0x224));function _0x5efbeb(_0x57df17){var _0x4a75ee=_0x4a9ac9,_0x3900d6,_0x189bdf,_0x119018,_0x38fea0,_0x1f4fab;const _0x3047c0=_0x57df17[_0x4a75ee(0xc7)],_0x2a26bd=JSON[_0x4a75ee(0xb7)](_0x3047c0);switch(_0x2a26bd['cmd']){case _0x4b3637[_0x4a75ee(0x2a7)]:case _0x4b3637['HELLO']:{const _0x4ad1ea=_0x2a26bd[_0x4a75ee(0x2a4)];return{..._0x2a26bd,'data':_0x4ad1ea,'cmd':_0x2a26bd[_0x4a75ee(0x387)]};}case _0x4b3637['JOIN']:{const _0x4259eb=_0x2a26bd[_0x4a75ee(0x2b9)];return{..._0x2a26bd,'data':_0x4259eb,'cmd':_0x2a26bd[_0x4a75ee(0x387)]};}case _0x4b3637[_0x4a75ee(0x1e1)]:{const _0x2d240d=_0x2a26bd[_0x4a75ee(0x18e)];switch(_0x2d240d[_0x4a75ee(0x439)]){case _0x19b128['CollaborationEvent']['PERMISSION_REJ']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x3900d6=_0x2d240d['permissionRejEvent'])==null?void 0x0:_0x3900d6['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x455)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x189bdf=_0x2d240d['csAckEvent'])==null?void 0x0:_0x189bdf['cs']},'cmd':_0x2a26bd['cmd']};case _0x19b128['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x119018=_0x2d240d[_0x4a75ee(0xe2)])==null?void 0x0:_0x119018['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x276)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x38fea0=_0x2d240d['csRejEvent'])==null?void 0x0:_0x38fea0['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x1f4fab=_0x2d240d[_0x4a75ee(0x2c8)])==null?void 0x0:_0x1f4fab['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)]['UPDATE_CURSOR']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d['updateCursorEvent']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x3e2)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x2f4)]},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x3cd)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x134)]},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)]['LIVESHARE_NEW_HOST']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x3ac)]},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x21b)]:case _0x19b128['CollaborationEvent'][_0x4a75ee(0x2a3)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x2d9)]},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x308)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d['liveShareNewHost']},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x38f)]:return{..._0x2a26bd,'data':_0x2d240d,'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x147)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0xba)]},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)]['UPDATE_PERMISSION_OBJ']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0xb8)]},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x1cd)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x449)]},'cmd':_0x2a26bd['cmd']};case _0x19b128['CollaborationEvent'][_0x4a75ee(0x448)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0xe4)]},'cmd':_0x2a26bd['cmd']};default:return _0x2a26bd;}}default:return _0x2a26bd;}}function _0x320526(_0x36ebfc){var _0x18d121=_0x4a9ac9;switch(_0x36ebfc[_0x18d121(0x387)]){case _0x4b3637[_0x18d121(0x2a7)]:case _0x4b3637['HELLO']:return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc[_0x18d121(0x387)],'routeKey':_0x36ebfc[_0x18d121(0x2f3)]});case _0x4b3637[_0x18d121(0x1f4)]:{let _0x47f9f0;switch(_0x36ebfc['data'][_0x18d121(0x439)]){case _0x19b128[_0x18d121(0xd3)]['UPDATE_CURSOR']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)]['UPDATE_CURSOR'],'updateCursorEvent':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128['CollaborationEvent']['USERS_LEAVE']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x3cd)],'leaveEvent':_0x36ebfc['data']['data']};break;}case _0x19b128['CollaborationEvent'][_0x18d121(0x3e2)]:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x3e2)],'joinEvent':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128[_0x18d121(0xd3)][_0x18d121(0x117)]:{_0x47f9f0={'eventID':_0x19b128['CollaborationEvent'][_0x18d121(0x117)],'liveShareNewHost':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128[_0x18d121(0xd3)]['LIVESHARE_OPERATION']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x2a3)],'liveShareOperation':_0x36ebfc['data']['data']};break;}case _0x19b128['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x308)],'liveShareTerminate':_0x36ebfc[_0x18d121(0xc7)][_0x18d121(0xc7)]};break;}case _0x19b128[_0x18d121(0xd3)][_0x18d121(0x110)]:{_0x47f9f0={'eventID':_0x19b128['CollaborationEvent'][_0x18d121(0x110)],'liveShareRequestHost':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128[_0x18d121(0xd3)][_0x18d121(0x21b)]:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x21b)]};break;}default:_0x47f9f0={'eventID':_0x36ebfc[_0x18d121(0xc7)][_0x18d121(0x439)]};}return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc['cmd'],'routeKey':_0x36ebfc['routeKey'],'collaMsg':_0x47f9f0});}case _0x4b3637['JOIN']:return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc[_0x18d121(0x387)],'routeKey':_0x36ebfc[_0x18d121(0x2f3)],'joinReq':_0x36ebfc[_0x18d121(0xc7)]});case _0x4b3637[_0x18d121(0x3a0)]:return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc['cmd'],'routeKey':_0x36ebfc[_0x18d121(0x2f3)],'leaveReq':_0x36ebfc[_0x18d121(0xc7)]});default:throw new Error(_0x18d121(0x2eb));}}var _0x4bdb8a=Object[_0x4a9ac9(0xf9)],_0x69bf7=(_0x1fd6e2,_0x10ca7e,_0xe641eb,_0x21896b)=>{for(var _0x16d9c0=_0x21896b>0x1?void 0x0:_0x21896b?_0x4bdb8a(_0x10ca7e,_0xe641eb):_0x10ca7e,_0x30fd65=_0x1fd6e2['length']-0x1,_0xa50bba;_0x30fd65>=0x0;_0x30fd65--)(_0xa50bba=_0x1fd6e2[_0x30fd65])&&(_0x16d9c0=_0xa50bba(_0x16d9c0)||_0x16d9c0);return _0x16d9c0;},_0x45d37c=(_0x4eb236,_0x61c714)=>(_0x42e7de,_0x312f21)=>_0x61c714(_0x42e7de,_0x312f21,_0x4eb236);const _0x1c92c3=_0x414ab0[_0x4a9ac9(0x158)](_0x4a9ac9(0x245));function _0x44a122(_0x238a4f,_0x229655,_0x3ab2b7){var _0xc19d32=_0x4a9ac9;return _0x238a4f+'/'+_0x229655+_0xc19d32(0x39a)+_0x3ab2b7+_0xc19d32(0x31f);}_0x4113be[_0x4a9ac9(0x41a)]=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x2799e7,_0x2dcd2f,_0x2ca1cc,_0x591f28,_0x177a12){var _0x5e658a=_0x4a9ac9;super(),this[_0x5e658a(0x18a)]=_0x2799e7,this[_0x5e658a(0x16f)]=_0x2dcd2f,this[_0x5e658a(0x14e)]=_0x2ca1cc,this['_logService']=_0x591f28,this[_0x5e658a(0xc6)]=_0x177a12;}[_0x4a9ac9(0xbc)](_0x12127d){var _0x200836=_0x4a9ac9;const _0x17b093=this[_0x200836(0x18a)]['get'](_0x3bd1c1[_0x200836(0x3ce)]);if(!_0x17b093)throw new Error(_0x200836(0x17b));const _0x4f1b02=_0x17b093[_0x200836(0x389)](_0x12127d);if(!_0x4f1b02)throw new Error(_0x200836(0x2e5));const _0x1e1b17=new _0x414ab0['DisposableCollection'](),_0x24240f=new _0x5691e8['Subject']();_0x1e1b17[_0x200836(0x39d)](_0x4f1b02[_0x200836(0x43b)][_0x200836(0x32f)](_0x5da6f6=>_0x24240f[_0x200836(0x2d0)](_0x5da6f6))),_0x1e1b17[_0x200836(0x39d)](_0x414ab0[_0x200836(0x3c4)](()=>_0x24240f[_0x200836(0x115)]()));const _0x3b83f9=new _0x5691e8[(_0x200836(0x220))]();_0x1e1b17[_0x200836(0x39d)](_0x4f1b02['error$']['subscribe'](_0x79dbbe=>_0x3b83f9[_0x200836(0x2d0)](_0x79dbbe))),_0x1e1b17[_0x200836(0x39d)](_0x414ab0[_0x200836(0x3c4)](()=>_0x3b83f9[_0x200836(0x115)]()));const _0x3e86f0=new _0x5691e8['Subject']();_0x1e1b17[_0x200836(0x39d)](_0x4f1b02[_0x200836(0x24f)][_0x200836(0x32f)](_0x817d2a=>{var _0x4b1af2=_0x200836;const _0x2adb27=_0x5efbeb(_0x817d2a);_0x3e86f0[_0x4b1af2(0x2d0)](_0x2adb27);})),_0x1e1b17[_0x200836(0x39d)](_0x414ab0['toDisposable'](()=>_0x3e86f0[_0x200836(0x115)]()));let _0x275bc2;const _0x8f8b5b=()=>{var _0xbe9e7=_0x200836;_0x3b83f9['next'](new Event('connection\x20error')),_0x24240f[_0xbe9e7(0x2d0)](new Event(_0xbe9e7(0x163))),_0x275bc2[_0xbe9e7(0xed)]();};return _0x275bc2={'memberID':'','close$':_0x24240f[_0x200836(0x3cf)](),'error$':_0x3b83f9['asObservable'](),'open$':_0x4f1b02[_0x200836(0x421)],'message$':_0x3e86f0[_0x200836(0x3cf)](),'send':_0x3710ec=>{var _0x54eeae=_0x200836;if(_0x3710ec[_0x54eeae(0x387)]===_0x4b3637[_0x54eeae(0x1f4)]){if(_0x3710ec[_0x54eeae(0xc7)]['eventID']===_0x19b128[_0x54eeae(0xd3)]['SUBMIT_CHANGESET']){this[_0x54eeae(0x2e2)](_0x275bc2,_0x3710ec[_0x54eeae(0xc7)])[_0x54eeae(0x191)](_0x45bace=>{var _0x5108df=_0x54eeae;this[_0x5108df(0x426)][_0x5108df(0x2ad)](_0x45bace),_0x8f8b5b();});return;}if(_0x3710ec[_0x54eeae(0xc7)][_0x54eeae(0x439)]===_0x19b128[_0x54eeae(0xd3)][_0x54eeae(0x188)]){const _0x48c03e=_0x3710ec[_0x54eeae(0xc7)];this['_fetchMissChangesets'](_0x48c03e)[_0x54eeae(0x11d)](_0x2708b8=>{var _0x56874e=_0x54eeae;_0x3e86f0[_0x56874e(0x2d0)]({'cmd':_0x4b3637[_0x56874e(0x1e1)],'code':_0x2e116a['OK'],'routeKey':_0x48c03e[_0x56874e(0xc7)]['unitID'],'routeType':'','data':{'eventID':_0x19b128[_0x56874e(0xd3)][_0x56874e(0x15a)],'data':{'changesets':_0x2708b8}}});})[_0x54eeae(0x191)](_0x2fe264=>{var _0x197bcd=_0x54eeae;this[_0x197bcd(0x426)][_0x197bcd(0x2ad)](_0x2fe264),_0x8f8b5b();});return;}}_0x4f1b02[_0x54eeae(0x3a3)](_0x320526(_0x3710ec));},'close':()=>{var _0x2a89e3=_0x200836;_0x4f1b02[_0x2a89e3(0xed)](),_0x1e1b17[_0x2a89e3(0x228)]();}},_0x275bc2;}async[_0x4a9ac9(0x2e2)](_0x3e4264,_0x9e1f96){var _0x377630=_0x4a9ac9,_0x4d0cc7;const {unitType:_0xc47d65,unitID:_0xf7ce5d,changeset:_0x17512d}=_0x9e1f96['data'],_0x25bcb9={'unitID':_0xf7ce5d,'memberID':_0x3e4264[_0x377630(0x1f1)],'type':_0xc47d65,'changeset':_0x19b128['parseChangesetToProtocol'](_0x17512d)},_0x5f577f=this[_0x377630(0x14e)][_0x377630(0xfb)](_0xfa3b98),_0x3ab7b3=_0x44a122((_0x4d0cc7=_0x5f577f==null?void 0x0:_0x5f577f[_0x377630(0x3dc)])!=null?_0x4d0cc7:_0x213ef9,_0xc47d65,_0xf7ce5d);try{await this[_0x377630(0x16f)][_0x377630(0x1fe)](_0x3ab7b3,{'body':_0x25bcb9});}catch(_0x40377b){throw this[_0x377630(0x426)][_0x377630(0x2ad)](_0x377630(0x2dd),_0x377630(0x3b5)),_0x40377b;}}async[_0x4a9ac9(0x359)](_0x338dba){var _0x4a5fd3=_0x4a9ac9;const {unitID:_0x41b68b,from:_0x26bf78,to:_0x242d13,unitType:_0x4faf10}=_0x338dba[_0x4a5fd3(0xc7)];return(await this[_0x4a5fd3(0xc6)][_0x4a5fd3(0x31c)]({'metadata':void 0x0},{'unitID':_0x41b68b,'type':_0x4faf10,'from':_0x26bf78,'to':_0x242d13}))[_0x4a5fd3(0x45f)][_0x4a5fd3(0x45d)](_0x169d19=>((_0x169d19[_0x4a5fd3(0x1a1)]===null||_0x169d19[_0x4a5fd3(0x1a1)]===void 0x0)&&(_0x169d19[_0x4a5fd3(0x1a1)]=[]),_0x169d19));}},_0x4113be['CollaborationSocketService']=_0x69bf7([_0x45d37c(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x45d37c(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1['HTTPService'])),_0x45d37c(0x2,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x45d37c(0x3,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x45d37c(0x4,_0x19b128[_0x4a9ac9(0x20e)])],_0x4113be['CollaborationSocketService']);var _0x4b0f3a=Object[_0x4a9ac9(0xf9)],_0xe9919d=(_0x1f3f44,_0x8d7f45,_0x4c0380,_0x397859)=>{var _0x4a1566=_0x4a9ac9;for(var _0x430cc3=_0x397859>0x1?void 0x0:_0x397859?_0x4b0f3a(_0x8d7f45,_0x4c0380):_0x8d7f45,_0x53c53b=_0x1f3f44[_0x4a1566(0x337)]-0x1,_0x2cbcd6;_0x53c53b>=0x0;_0x53c53b--)(_0x2cbcd6=_0x1f3f44[_0x53c53b])&&(_0x430cc3=_0x2cbcd6(_0x430cc3)||_0x430cc3);return _0x430cc3;},_0x56d56d=(_0xce5532,_0x5c868f)=>(_0x2367b8,_0x2ad8b8)=>_0x5c868f(_0x2367b8,_0x2ad8b8,_0xce5532);_0x4113be[_0x4a9ac9(0x103)]=class extends _0x414ab0['Disposable']{constructor(_0x1faf4e,_0x2e2446,_0x31da43,_0x395a06,_0x44e3c9,_0x4df1ff){var _0x2f2bb3=_0x4a9ac9;super(),_0x213c49(this,'_socket$',new _0x5691e8[(_0x2f2bb3(0x33f))](void 0x0)),_0x213c49(this,_0x2f2bb3(0x17f),this[_0x2f2bb3(0x1b5)][_0x2f2bb3(0x3cf)]()),_0x213c49(this,'_candidateSocket',null),_0x213c49(this,'_sessions',new Map()),_0x213c49(this,_0x2f2bb3(0x39f),new _0x5691e8[(_0x2f2bb3(0x33f))](_0x38c5e4[_0x2f2bb3(0x200)])),_0x213c49(this,_0x2f2bb3(0x1ae),this[_0x2f2bb3(0x39f)][_0x2f2bb3(0x3cf)]()),_0x213c49(this,_0x2f2bb3(0x24d),!0x1),_0x213c49(this,_0x2f2bb3(0x42c)),_0x213c49(this,_0x2f2bb3(0x3ea),0x0),_0x213c49(this,_0x2f2bb3(0x1f8)),_0x213c49(this,_0x2f2bb3(0xbf)),(this[_0x2f2bb3(0x18a)]=_0x1faf4e,this[_0x2f2bb3(0x426)]=_0x2e2446,this['_configService']=_0x31da43,this[_0x2f2bb3(0x1d6)]=_0x395a06,this['_collaborationUIEventService']=_0x44e3c9,this[_0x2f2bb3(0x1e4)]=_0x4df1ff,this[_0x2f2bb3(0x14c)]());}get[_0x4a9ac9(0xd8)](){var _0x50a13f=_0x4a9ac9;return this[_0x50a13f(0x1b5)][_0x50a13f(0x458)]();}['_listenToNetworkCondition'](){var _0x460c7a=_0x4a9ac9;this[_0x460c7a(0x1e4)]&&this[_0x460c7a(0x174)](this[_0x460c7a(0x1e4)]['online$'][_0x460c7a(0x32f)](_0x70467c=>{var _0x39ea63=_0x460c7a;_0x70467c&&!this[_0x39ea63(0xd8)]&&this['reconnect'](),_0x70467c||this[_0x39ea63(0x3ed)]();}));}[_0x4a9ac9(0x228)](){var _0x4731cd=_0x4a9ac9;super['dispose'](),this[_0x4731cd(0x3e9)](),this[_0x4731cd(0x20b)](),this[_0x4731cd(0x3c6)](),this[_0x4731cd(0x15b)]['forEach'](_0x3ad8c1=>_0x3ad8c1[_0x4731cd(0x228)]()),this[_0x4731cd(0x15b)]['clear'](),this[_0x4731cd(0x39f)][_0x4731cd(0x115)]();}async[_0x4a9ac9(0x2fc)](_0x2c0090){var _0x583bb2=_0x4a9ac9;if(this['_sessions'][_0x583bb2(0x1f6)](_0x2c0090))return this[_0x583bb2(0x15b)][_0x583bb2(0x218)](_0x2c0090);this[_0x583bb2(0x33c)]();const _0x2dfd91=this[_0x583bb2(0x18a)][_0x583bb2(0x3da)](_0x4113be['CollaborationSession'],_0x2c0090,this['_socket$'][_0x583bb2(0x3cf)]());return this['_sessions'][_0x583bb2(0x356)](_0x2c0090,_0x2dfd91),_0x2dfd91;}[_0x4a9ac9(0x280)](_0x5dabb1){var _0x503840=_0x4a9ac9,_0x46d5d9;const _0x1f059e=this[_0x503840(0x15b)][_0x503840(0x218)](_0x5dabb1);_0x1f059e&&(this[_0x503840(0x15b)]['delete'](_0x5dabb1),_0x1f059e['close']()),this[_0x503840(0x15b)]['size']||(_0x46d5d9=this[_0x503840(0xd8)])==null||_0x46d5d9[_0x503840(0xed)]();}[_0x4a9ac9(0x40e)](){var _0x3074bd=_0x4a9ac9;this['_retryCount']=0x0,this[_0x3074bd(0x3e9)](),this[_0x3074bd(0x17e)]();}[_0x4a9ac9(0x3e9)](){var _0x466b0c=_0x4a9ac9;this[_0x466b0c(0x42c)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x7e02fe=_0x4a9ac9,_0x22eb44;const _0x188be8=this['_configService'][_0x7e02fe(0xfb)](_0xfa3b98),_0x2a79c2=(_0x22eb44=_0x188be8==null?void 0x0:_0x188be8[_0x7e02fe(0x259)])!=null?_0x22eb44:_0x340e26,_0x242e2f=await this[_0x7e02fe(0x1d6)][_0x7e02fe(0x389)](_0x2a79c2);return this[_0x7e02fe(0x1d9)]=_0x242e2f,_0x242e2f;}async[_0x4a9ac9(0x33c)](){var _0x395f27=_0x4a9ac9,_0x583952,_0x4e4183;try{const _0x205bcf=(_0x4e4183=(_0x583952=this['_socket'])!=null?_0x583952:this[_0x395f27(0x1d9)])!=null?_0x4e4183:await this[_0x395f27(0x18d)]();if(_0x205bcf){const _0x11d267=_0x205bcf[_0x395f27(0x3a3)];_0x205bcf['send']=_0x2c6ca3=>(this[_0x395f27(0x379)](),_0x11d267[_0x395f27(0x108)](_0x205bcf,[_0x2c6ca3])),_0x205bcf[_0x395f27(0x24f)]['subscribe'](_0x34a5d6=>this[_0x395f27(0x225)](_0x205bcf,_0x34a5d6)),_0x205bcf[_0x395f27(0x37b)][_0x395f27(0x282)](_0x1f22ee[_0x395f27(0x11e)](0x1))[_0x395f27(0x32f)](_0x406226=>this[_0x395f27(0x426)][_0x395f27(0x2ad)](_0x395f27(0x2c9),_0x406226)),_0x205bcf[_0x395f27(0x421)][_0x395f27(0x282)](_0x1f22ee['take'](0x1))[_0x395f27(0x32f)](()=>{this['_onConnectionOpen'](_0x205bcf);}),_0x205bcf['close$'][_0x395f27(0x282)](_0x1f22ee[_0x395f27(0x11e)](0x1))['subscribe'](_0x13e39c=>{var _0x161d34=_0x395f27;this[_0x161d34(0x426)][_0x161d34(0x1c4)](_0x161d34(0x320),_0x161d34(0x394),_0x13e39c),this['_onConnectionFailed']();});}}catch(_0x443017){this[_0x395f27(0x426)]['error'](_0x443017),this['_onConnectionFailed']();}}[_0x4a9ac9(0x1e0)](_0x313ffe){var _0x5ab9b9=_0x4a9ac9;this['_logService'][_0x5ab9b9(0x1c4)]('[CollaborationSessionService]','socket\x20open.'),_0x313ffe[_0x5ab9b9(0x3a3)]({'cmd':_0x4b3637[_0x5ab9b9(0x3f5)]}),this[_0x5ab9b9(0x379)]();}['_onOffline'](){var _0x2c5146=_0x4a9ac9;this[_0x2c5146(0x24d)]=!0x1,this[_0x2c5146(0x1d9)]=null,this[_0x2c5146(0x39f)][_0x2c5146(0x2d0)](_0x38c5e4['OFFLINE']),this['_socket$'][_0x2c5146(0x2d0)](null),this['_clearTimeoutTimer'](),this[_0x2c5146(0x3c6)]();}[_0x4a9ac9(0x1b3)](){var _0x1cd81f=_0x4a9ac9,_0x483fd2;this['_onOffline'](),this[_0x1cd81f(0x3ea)]<((_0x483fd2=this[_0x1cd81f(0x14e)][_0x1cd81f(0xfb)](_0x314a57))!=null?_0x483fd2:0x3)?(this[_0x1cd81f(0x167)]['emitEvent']({'id':_0x51d7a4[_0x1cd81f(0x185)]}),this[_0x1cd81f(0x17e)]()):this['_collaborationUIEventService'][_0x1cd81f(0x3f6)]({'id':_0x51d7a4[_0x1cd81f(0x3d3)]});}[_0x4a9ac9(0x17e)](){var _0x31ef2d=_0x4a9ac9,_0x4a90c6;const _0x458c9d=this[_0x31ef2d(0x3ea)],_0x20332f=this[_0x31ef2d(0x14e)][_0x31ef2d(0xfb)](_0xfa3b98),_0x1a9d19=_0x458c9d===0x0?0x0:((_0x4a90c6=_0x20332f==null?void 0x0:_0x20332f[_0x31ef2d(0xd4)])!=null?_0x4a90c6:0x4e20)*0x2**_0x458c9d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x294fb7=_0x31ef2d;clearTimeout(this[_0x294fb7(0x42c)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x1a9d19),this['_retryCount']+=0x1;}['_onMessage'](_0x31ff4b,_0x11cd69){var _0x1ab180=_0x4a9ac9;const {cmd:_0x34c8ca}=_0x11cd69;_0x34c8ca===_0x4b3637[_0x1ab180(0x3f5)]&&!this[_0x1ab180(0x24d)]&&(_0x31ff4b[_0x1ab180(0x1f1)]=_0x11cd69[_0x1ab180(0xc7)][_0x1ab180(0x1f1)],this[_0x1ab180(0x1b5)][_0x1ab180(0x2d0)](_0x31ff4b),this['_status$'][_0x1ab180(0x2d0)](_0x38c5e4[_0x1ab180(0x33b)]),this[_0x1ab180(0x24d)]=!0x0,this[_0x1ab180(0x1d9)]=null),_0x34c8ca===_0x4b3637[_0x1ab180(0x2a7)]&&this['_clearTimeoutTimer'](),this[_0x1ab180(0x379)]();}['_rescheduleHeartbeat'](){var _0x243444=_0x4a9ac9,_0x1affcd;this['_clearHeartbeatTimer'](),this[_0x243444(0x1f8)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1affcd=this[_0x243444(0x14e)][_0x243444(0xfb)](_0x18d90d))!=null?_0x1affcd:0x7530);}[_0x4a9ac9(0x2bc)](){var _0x10e901=_0x4a9ac9;this[_0x10e901(0xd8)]['send']({'cmd':_0x4b3637[_0x10e901(0x2a7)]}),this[_0x10e901(0x2f9)]();}['_waitForHeartbeatResponse'](){var _0x42f855=_0x4a9ac9,_0x253bcc;this[_0x42f855(0xbf)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x253bcc=this['_configService']['getConfig'](_0x2beeb0))!=null?_0x253bcc:0x4e20);}[_0x4a9ac9(0x3c6)](){var _0x436e93=_0x4a9ac9;this[_0x436e93(0x1f8)]!=null&&(clearTimeout(this[_0x436e93(0x1f8)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x291ab2=_0x4a9ac9;this[_0x291ab2(0xbf)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x291ab2(0xbf)]=null);}},_0x4113be[_0x4a9ac9(0x103)]=_0xe9919d([_0x56d56d(0x0,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x56d56d(0x1,_0x414ab0['ILogService']),_0x56d56d(0x2,_0x414ab0['IConfigService']),_0x56d56d(0x3,_0x1c92c3),_0x56d56d(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x56d56d(0x5,_0x414ab0[_0x4a9ac9(0x3e6)](_0xc74a4))],_0x4113be[_0x4a9ac9(0x103)]);var _0x2323ab=Object[_0x4a9ac9(0xf9)],_0x49dc86=(_0x25903c,_0x147f83,_0x1491d9,_0x186bf1)=>{for(var _0x4038be=_0x186bf1>0x1?void 0x0:_0x186bf1?_0x2323ab(_0x147f83,_0x1491d9):_0x147f83,_0x778728=_0x25903c['length']-0x1,_0x539616;_0x778728>=0x0;_0x778728--)(_0x539616=_0x25903c[_0x778728])&&(_0x4038be=_0x539616(_0x4038be)||_0x4038be);return _0x4038be;},_0x1af6fc=(_0xa375a0,_0x5373dc)=>(_0x528011,_0x498adb)=>_0x5373dc(_0x528011,_0x498adb,_0xa375a0);_0x4113be[_0x4a9ac9(0x240)]=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x5a89b5,_0x492f9,_0x1517fd,_0x4f11d4){var _0x39db4f=_0x4a9ac9,_0x2978bb;super(),_0x213c49(this,'_entities',new Map()),_0x213c49(this,'_entityInit$',new _0x5691e8[(_0x39db4f(0x220))]()),_0x213c49(this,_0x39db4f(0x1ad),this[_0x39db4f(0x3b9)][_0x39db4f(0x3cf)]()),(this[_0x39db4f(0x18a)]=_0x5a89b5,this[_0x39db4f(0x2ff)]=_0x492f9,this[_0x39db4f(0x14e)]=_0x1517fd,this['_univerInstanceService']=_0x4f11d4,((_0x2978bb=this[_0x39db4f(0x14e)][_0x39db4f(0xfb)](_0xfa3b98))==null?void 0x0:_0x2978bb[_0x39db4f(0x44a)])!==!0x1&&this[_0x39db4f(0x15d)]());}[_0x4a9ac9(0x228)](){var _0x414772=_0x4a9ac9;super['dispose'](),this[_0x414772(0x45e)][_0x414772(0x1d0)](_0x50f329=>_0x50f329[_0x414772(0x228)]()),this[_0x414772(0x45e)][_0x414772(0x1d1)]();}[_0x4a9ac9(0x28b)](_0x414fdb){var _0x2f22ab=_0x4a9ac9,_0x2a1d8c;return(_0x2a1d8c=this[_0x2f22ab(0x45e)][_0x2f22ab(0x218)](_0x414fdb))!=null?_0x2a1d8c:null;}['getCollabEntity$'](_0x2f3770){var _0xad02f1=_0x4a9ac9;const _0x20f756=this[_0xad02f1(0x28b)](_0x2f3770);return _0x20f756?_0x5691e8['of'](_0x20f756):this[_0xad02f1(0x3b9)][_0xad02f1(0x282)](_0x1f22ee['filter'](_0x324941=>_0x324941[_0xad02f1(0x227)]===_0x2f3770));}[_0x4a9ac9(0x384)](_0x43df4b){var _0x54e466=_0x4a9ac9;return _0x5691e8[_0x54e466(0x1c8)](this[_0x54e466(0x287)](_0x43df4b)['pipe'](_0x1f22ee[_0x54e466(0x45d)](()=>{})));}[_0x4a9ac9(0x15d)](){var _0x4c123b=_0x4a9ac9;this[_0x4c123b(0x3bf)][_0x4c123b(0x314)](_0x414ab0[_0x4c123b(0x20f)][_0x4c123b(0x429)])['pipe'](_0x5691e8['takeUntil'](this[_0x4c123b(0x3bc)]),_0x1f22ee[_0x4c123b(0x332)](0x10))[_0x4c123b(0x32f)](async _0x2b1679=>{var _0x2df93d=_0x4c123b;const _0x2580b8=_0x2b1679[_0x2df93d(0x420)](),_0xe67b4d=await this[_0x2df93d(0x1c6)](_0x2580b8,_0x5599c4['UNIVER_SHEET']);this[_0x2df93d(0x45e)][_0x2df93d(0x356)](_0x2580b8,_0xe67b4d);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x414ab0['UniverInstanceType'][_0x4c123b(0x120)])[_0x4c123b(0x282)](_0x5691e8[_0x4c123b(0x399)](this['dispose$']),_0x1f22ee[_0x4c123b(0x332)](0x10))['pipe'](_0x1f22ee[_0x4c123b(0xef)](_0x3e6703=>!_0x3e6703[_0x4c123b(0x420)]()[_0x4c123b(0x1ff)]('__')))['subscribe'](async _0x5dfcc2=>{var _0x37ebe3=_0x4c123b;const _0x3dbb0e=_0x5dfcc2[_0x37ebe3(0x420)](),_0xa5c01c=await this[_0x37ebe3(0x1c6)](_0x3dbb0e,_0x5599c4[_0x37ebe3(0x120)]);this[_0x37ebe3(0x45e)]['set'](_0x3dbb0e,_0xa5c01c);}),_0x5691e8[_0x4c123b(0x3e1)](this[_0x4c123b(0x3bf)]['getTypeOfUnitDisposed$'](_0x414ab0[_0x4c123b(0x20f)][_0x4c123b(0x429)]),this[_0x4c123b(0x3bf)][_0x4c123b(0x29a)](_0x414ab0['UniverInstanceType']['UNIVER_DOC']))[_0x4c123b(0x282)](_0x5691e8['takeUntil'](this[_0x4c123b(0x3bc)]))[_0x4c123b(0x32f)](_0x1c34ca=>{var _0x58418d=_0x4c123b;const _0x1675a6=_0x1c34ca[_0x58418d(0x420)](),_0x2c1af5=this[_0x58418d(0x45e)][_0x58418d(0x218)](_0x1675a6);_0x2c1af5&&(_0x2c1af5[_0x58418d(0x228)](),this[_0x58418d(0x45e)]['delete'](_0x1675a6));});}async['_startCollaboration'](_0x230de4,_0x111e72){var _0x390796=_0x4a9ac9;const _0x3909bc=await this[_0x390796(0x2ff)][_0x390796(0x2fc)](_0x230de4),_0x308fde=this[_0x390796(0x18a)][_0x390796(0x3da)](this[_0x390796(0x1e3)](_0x111e72),_0x230de4,_0x111e72,_0x3909bc);return await _0x308fde['init'](),this[_0x390796(0x3b9)][_0x390796(0x2d0)](_0x308fde),_0x308fde;}[_0x4a9ac9(0x1e3)](_0x43af85){var _0x45695d=_0x4a9ac9;switch(_0x43af85){case _0x5599c4[_0x45695d(0x120)]:return _0x4113be[_0x45695d(0x3d5)];case _0x5599c4[_0x45695d(0x429)]:return _0x4113be['SheetCollaborationEntity'];default:throw new Error(_0x45695d(0x386)+_0x43af85);}}},_0x4113be[_0x4a9ac9(0x240)]=_0x49dc86([_0x1af6fc(0x0,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af6fc(0x1,_0x414ab0['Inject'](_0x4113be[_0x4a9ac9(0x103)])),_0x1af6fc(0x2,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x1af6fc(0x3,_0x414ab0[_0x4a9ac9(0x2f2)])],_0x4113be[_0x4a9ac9(0x240)]);var _0x8608fd=Object[_0x4a9ac9(0xf9)],_0x5e5267=(_0x36056f,_0x585277,_0x56d346,_0x56de94)=>{var _0x56106f=_0x4a9ac9;for(var _0x17ec9e=_0x56de94>0x1?void 0x0:_0x56de94?_0x8608fd(_0x585277,_0x56d346):_0x585277,_0x10c50c=_0x36056f[_0x56106f(0x337)]-0x1,_0x4497ba;_0x10c50c>=0x0;_0x10c50c--)(_0x4497ba=_0x36056f[_0x10c50c])&&(_0x17ec9e=_0x4497ba(_0x17ec9e)||_0x17ec9e);return _0x17ec9e;},_0x43f37d=(_0x4c997c,_0x13b51d)=>(_0xcecd27,_0x3d9e7f)=>_0x13b51d(_0xcecd27,_0x3d9e7f,_0x4c997c);const _0x39264b=_0x4a9ac9(0x446),_0x3c9b50=_0x4a9ac9(0x2de);let _0x3df3a0=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x4b1485,_0x22d866){var _0x233e59=_0x4a9ac9;super(),this[_0x233e59(0x3bf)]=_0x4b1485,this[_0x233e59(0x14e)]=_0x22d866,this[_0x233e59(0x15d)]();}[_0x4a9ac9(0x15d)](){var _0xeb6136=_0x4a9ac9;this[_0xeb6136(0x174)](this[_0xeb6136(0x3bf)][_0xeb6136(0x38b)][_0xeb6136(0x32f)](()=>{var _0x59e069=_0xeb6136,_0x23837d;const _0x2e5574=this['_univerInstanceService'][_0x59e069(0x159)]();let _0x557d0e=(_0x23837d=this['_configService'][_0x59e069(0xfb)](_0x39264b))!=null?_0x23837d:_0x3c9b50;_0x2e5574 instanceof _0x414ab0['Workbook']&&(_0x557d0e=_0x2e5574['name']),document[_0x59e069(0x454)]=_0x557d0e;}));}};_0x3df3a0=_0x5e5267([_0x43f37d(0x0,_0x414ab0['IUniverInstanceService']),_0x43f37d(0x1,_0x414ab0[_0x4a9ac9(0x1a4)])],_0x3df3a0);var _0x2c806a=Object['getOwnPropertyDescriptor'],_0x497c12=(_0x47a6b5,_0x581ef8,_0x5adc40,_0x11e537)=>{var _0x27d018=_0x4a9ac9;for(var _0x599d1d=_0x11e537>0x1?void 0x0:_0x11e537?_0x2c806a(_0x581ef8,_0x5adc40):_0x581ef8,_0x24f4a4=_0x47a6b5[_0x27d018(0x337)]-0x1,_0x20a21c;_0x24f4a4>=0x0;_0x24f4a4--)(_0x20a21c=_0x47a6b5[_0x24f4a4])&&(_0x599d1d=_0x20a21c(_0x599d1d)||_0x599d1d);return _0x599d1d;},_0x494533=(_0x382f83,_0x594949)=>(_0x280bcf,_0x484b82)=>_0x594949(_0x280bcf,_0x484b82,_0x382f83);let _0x34dd56=class{constructor(_0x4119c1,_0x11bbf6,_0x38f370){var _0x13644a=_0x4a9ac9;this['_configService']=_0x4119c1,this[_0x13644a(0x16f)]=_0x11bbf6,this['localeService']=_0x38f370,this[_0x13644a(0x3d7)]();}[_0x4a9ac9(0x3d7)](){var _0x4b9698=_0x4a9ac9;this[_0x4b9698(0x16f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5dee71,_0x434e36)=>_0x434e36(_0x5dee71)[_0x4b9698(0x282)](_0x5691e8[_0x4b9698(0x3e0)](async _0x208699=>{var _0x4fe336=_0x4b9698;const _0x44a8a5=_0x208699;if(_0x44a8a5['status']===0x191){if(typeof window>'u')throw new Error(_0x4fe336(0x35d));if(window['confirm'](this[_0x4fe336(0x203)]['t'](_0x4fe336(0x378)))){const _0x1cbaa5=window['encodeURIComponent'](window['location'][_0x4fe336(0xdc)]);window[_0x4fe336(0x1df)][_0x4fe336(0xdc)]=this[_0x4fe336(0x2df)]()+_0x4fe336(0x2d8)+_0x1cbaa5;}}return _0x44a8a5;}))});}[_0x4a9ac9(0x2df)](){var _0xb4a56d=_0x4a9ac9,_0x4e03c0;const _0x4f97f5=this[_0xb4a56d(0x14e)][_0xb4a56d(0xfb)](_0xfa3b98);return(_0x4e03c0=_0x4f97f5==null?void 0x0:_0x4f97f5[_0xb4a56d(0x3ab)])!=null?_0x4e03c0:_0x22dd04;}};_0x34dd56=_0x497c12([_0x494533(0x0,_0x414ab0['IConfigService']),_0x494533(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1[_0x4a9ac9(0x354)])),_0x494533(0x2,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)]))],_0x34dd56);var _0x47abf9=Object['getOwnPropertyDescriptor'],_0x1a83b9=(_0x32caa6,_0x160f17,_0x242497,_0xd1f69b)=>{var _0x5db4d3=_0x4a9ac9;for(var _0x19805b=_0xd1f69b>0x1?void 0x0:_0xd1f69b?_0x47abf9(_0x160f17,_0x242497):_0x160f17,_0x158cd7=_0x32caa6[_0x5db4d3(0x337)]-0x1,_0xec0b0d;_0x158cd7>=0x0;_0x158cd7--)(_0xec0b0d=_0x32caa6[_0x158cd7])&&(_0x19805b=_0xec0b0d(_0x19805b)||_0x19805b);return _0x19805b;},_0x5729a2=(_0x238d15,_0x17e3ca)=>(_0x3edd64,_0x511a47)=>_0x17e3ca(_0x3edd64,_0x511a47,_0x238d15);const _0x1ccda8='/universer-api/authz';_0x4113be[_0x4a9ac9(0x3a1)]=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x4e85e3,_0x5604fe){var _0x365006=_0x4a9ac9;super(),this[_0x365006(0xeb)]=_0x4e85e3,this[_0x365006(0x14e)]=_0x5604fe,this['_initMergeInterceptor']();}[_0x4a9ac9(0x238)](){var _0x53976f=_0x4a9ac9;const _0x2029e4=this;this['disposeWithMe'](this[_0x53976f(0xeb)][_0x53976f(0x3d4)]({'priority':0x3e7,'interceptor':_0x3bd1c1['MergeInterceptorFactory']({'isMatch'(_0x4c90fb){var _0x238c82=_0x53976f,_0x1da594;if(_0x4c90fb[_0x238c82(0x315)]==='POST'&&((_0x1da594=_0x4c90fb[_0x238c82(0x274)])!=null&&_0x1da594['body'])){const {objectID:_0x43f849,objectType:_0x1471fd}=_0x4c90fb[_0x238c82(0x274)][_0x238c82(0xec)]||{};if(!_0x43f849||_0x1471fd===void 0x0)return!0x1;const _0x220b1b=_0x2029e4[_0x238c82(0x1db)]()+'/'+_0x1471fd+'/object/'+_0x43f849+_0x238c82(0x1e2);if(_0x4c90fb[_0x238c82(0x28e)]===_0x220b1b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f6f70){var _0xcdf56f;return(_0xcdf56f=_0x2f6f70['requestParams'])==null?void 0x0:_0xcdf56f['body'];},'mergeParamsToRequest'(_0x360d2b,_0x4f5ce8){var _0x2e11a9=_0x53976f;const _0x26b080=_0x2029e4[_0x2e11a9(0x1db)]()+'/-/object/-/batch_allowed',_0x240028=_0x360d2b[_0x2e11a9(0x2c3)]((_0x40de00,_0x52968c)=>{var _0x322ddf=_0x2e11a9;const {unitID:_0x5ecc56,objectID:_0x45d780,objectType:_0x53ee5a,actions:_0x30ca77}=_0x52968c;return _0x40de00[_0x5ecc56]||(_0x40de00[_0x5ecc56]={}),_0x40de00[_0x5ecc56][_0x45d780]||(_0x40de00[_0x5ecc56][_0x45d780]={'objectID':_0x45d780,'objectType':_0x53ee5a,'actions':[]}),_0x40de00[_0x5ecc56][_0x45d780][_0x322ddf(0x40a)][_0x322ddf(0x350)](..._0x30ca77),_0x40de00;},{}),_0x4362fb=[];for(const _0x2f9825 in _0x240028)for(const _0x5938cc in _0x240028[_0x2f9825]){const {actions:_0x5e4f39,objectType:_0x50692b}=_0x240028[_0x2f9825][_0x5938cc],_0x312162=[...new Set(_0x5e4f39)];_0x4362fb[_0x2e11a9(0x350)]({'unitID':_0x2f9825,'objectID':_0x5938cc,'objectType':_0x50692b,'actions':_0x312162});}return new _0x3bd1c1[(_0x2e11a9(0x2fa))](_0x2e11a9(0x271),_0x26b080,{'headers':_0x4f5ce8[_0x2e11a9(0x222)],'withCredentials':_0x4f5ce8[_0x2e11a9(0x44d)],'responseType':_0x4f5ce8[_0x2e11a9(0x116)],'body':{'requests':_0x4362fb}});}},{'distributeResult'(_0x435a4e,_0x1b9618){var _0x3c1039=_0x53976f;const {objectActions:_0x14e30a}=_0x435a4e;return _0x1b9618[_0x3c1039(0x45d)](_0x5a72a5=>{var _0x31bcf8=_0x3c1039;const {unitID:_0xef99e5,objectID:_0xb0da48,actions:_0x32482}=_0x5a72a5,_0x3a59c5=_0x14e30a[_0x31bcf8(0x3be)](_0x44223f=>_0x44223f[_0x31bcf8(0x227)]===_0xef99e5&&_0x44223f[_0x31bcf8(0xcc)]===_0xb0da48),_0x1fbf19=_0x32482['map'](_0x4c110f=>_0x3a59c5==null?void 0x0:_0x3a59c5[_0x31bcf8(0x40a)][_0x31bcf8(0x3be)](_0x311ccc=>_0x311ccc[_0x31bcf8(0x26c)]===_0x4c110f))[_0x31bcf8(0xef)](_0x464785=>!!_0x464785);return{'config':_0x5a72a5,'result':{'actions':_0x1fbf19,'error':_0x435a4e[_0x31bcf8(0x2ad)]}};});}})}));}[_0x4a9ac9(0x1db)](){var _0x2d30ae=_0x4a9ac9,_0x5910f5;const _0x350fc6=this['_configService'][_0x2d30ae(0xfb)](_0xfa3b98);return(_0x5910f5=_0x350fc6==null?void 0x0:_0x350fc6[_0x2d30ae(0x27b)])!=null?_0x5910f5:_0x1ccda8;}async[_0x4a9ac9(0x2b2)](_0x1a79cd){var _0x2d1e0f=_0x4a9ac9;const _0x302b21=this[_0x2d1e0f(0x1db)]()+'/'+_0x1a79cd[_0x2d1e0f(0x264)]+_0x2d1e0f(0x208);return(await this[_0x2d1e0f(0xeb)][_0x2d1e0f(0x1fe)](_0x302b21,{'body':_0x1a79cd}))[_0x2d1e0f(0xec)]['objectID']||'';}async[_0x4a9ac9(0x186)](_0x3660b2){var _0x5877a1=_0x4a9ac9;const _0x4116b9=this[_0x5877a1(0x1db)]()+_0x5877a1(0x363);return(await this[_0x5877a1(0xeb)]['post'](_0x4116b9,{'body':_0x3660b2}))[_0x5877a1(0xec)][_0x5877a1(0x166)];}async[_0x4a9ac9(0x182)](_0x54b557){var _0x47f352=_0x4a9ac9,_0x1cb6d9,_0x452a61;const _0x230c77=this[_0x47f352(0x1db)]()+'/'+_0x54b557[_0x47f352(0x264)]+_0x47f352(0x201)+_0x54b557[_0x47f352(0xcc)],_0x3c3e7c=await this['_HTTPService'][_0x47f352(0x39e)](_0x230c77,{'body':_0x54b557});if(((_0x452a61=(_0x1cb6d9=_0x3c3e7c==null?void 0x0:_0x3c3e7c[_0x47f352(0xec)])==null?void 0x0:_0x1cb6d9[_0x47f352(0x2ad)])==null?void 0x0:_0x452a61['code'])!==0x1)throw new Error(_0x47f352(0x16a));}async[_0x4a9ac9(0x417)](_0x1ab0bb){var _0x54b930=_0x4a9ac9;const _0x556d7d=this[_0x54b930(0x1db)]()+'/'+_0x1ab0bb[_0x54b930(0x264)]+_0x54b930(0x201)+_0x1ab0bb['objectID']+_0x54b930(0x1e2);return(await this[_0x54b930(0xeb)][_0x54b930(0x1fe)](_0x556d7d,{'body':_0x1ab0bb}))[_0x54b930(0xec)]['actions'];}async[_0x4a9ac9(0x178)](_0x15f12a){var _0xaa6bdc=_0x4a9ac9;const _0xe051be=this[_0xaa6bdc(0x1db)]()+_0xaa6bdc(0x353);return(await this[_0xaa6bdc(0xeb)][_0xaa6bdc(0x1fe)](_0xe051be,{'body':{'requests':_0x15f12a}}))['body'][_0xaa6bdc(0x1ee)];}async[_0x4a9ac9(0xf2)](_0x571b4b){var _0x2ab6da=_0x4a9ac9;const _0x573938=this['_getAPIPrefixPath']()+'/'+_0x571b4b[_0x2ab6da(0x264)]+_0x2ab6da(0x28d),_0x57df8a=await this[_0x2ab6da(0xeb)]['post'](_0x573938,{'body':_0x571b4b});return{'roles':_0x57df8a[_0x2ab6da(0xec)][_0x2ab6da(0x313)],'actions':_0x57df8a['body'][_0x2ab6da(0x40a)]};}async[_0x4a9ac9(0x3cb)](_0x52da8c){var _0x465924=_0x4a9ac9;const _0xa83793=this[_0x465924(0x1db)]()+_0x465924(0xe0);await this['_HTTPService'][_0x465924(0x3b1)](_0xa83793,{'params':{'collaboratorID':_0x52da8c['collaboratorID'],'objectID':_0x52da8c[_0x465924(0xcc)],'unitID':_0x52da8c[_0x465924(0x227)]}});}async[_0x4a9ac9(0x2c7)](_0x51f6b8){var _0x15ae2d=_0x4a9ac9;const _0x43593d=this['_getAPIPrefixPath']()+_0x15ae2d(0xe0);await this['_HTTPService'][_0x15ae2d(0x328)](_0x43593d,{'body':_0x51f6b8});}async[_0x4a9ac9(0x1dd)](_0x444b34){var _0x261f61=_0x4a9ac9;const _0x480e47=this[_0x261f61(0x1db)]()+_0x261f61(0xe0);await this[_0x261f61(0xeb)][_0x261f61(0x1fe)](_0x480e47,{'body':_0x444b34});}async[_0x4a9ac9(0x149)](_0x5cdf9c){var _0x392a0d=_0x4a9ac9;const _0x5ba545=this[_0x392a0d(0x1db)]()+_0x392a0d(0xe0);return(await this[_0x392a0d(0xeb)][_0x392a0d(0x218)](_0x5ba545,{'params':{'objectID':_0x5cdf9c[_0x392a0d(0xcc)],'unitID':_0x5cdf9c[_0x392a0d(0x227)]}}))[_0x392a0d(0xec)][_0x392a0d(0x411)];}async[_0x4a9ac9(0x43d)](_0x585f4d){var _0x41fb09=_0x4a9ac9;const _0x2c1e71=this[_0x41fb09(0x1db)]()+_0x41fb09(0xe0);await this[_0x41fb09(0xeb)][_0x41fb09(0x39e)](_0x2c1e71,{'body':_0x585f4d});}},_0x4113be[_0x4a9ac9(0x3a1)]=_0x1a83b9([_0x5729a2(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1['HTTPService'])),_0x5729a2(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x1a4)]))],_0x4113be['AuthzIoHttpService']);var _0x3b8175=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x164355(_0x2795f8){var _0x2a3f87=_0x4a9ac9;return _0x2795f8&&_0x2795f8[_0x2a3f87(0x2d4)]&&Object[_0x2a3f87(0x3ad)]['hasOwnProperty'][_0x2a3f87(0x3c1)](_0x2795f8,_0x2a3f87(0x3b3))?_0x2795f8[_0x2a3f87(0x3b3)]:_0x2795f8;}var _0x227988={'exports':{}};function _0x34b389(_0x26f21b){var _0x4dd0cf=_0x4a9ac9;throw new Error(_0x4dd0cf(0x1c1)+_0x26f21b+_0x4dd0cf(0x3b2));}var _0x3b501c={'exports':{}},_0xa3c777=_0x3b501c[_0x4a9ac9(0x42d)],_0x15eda4;function _0x576c57(){return _0x15eda4||(_0x15eda4=0x1,function(_0x311df7,_0x1f00d4){(function(_0x27e873,_0xc4d890){var _0x978c66=_0x515f;_0x311df7[_0x978c66(0x42d)]=_0xc4d890();}(_0xa3c777,function(){var _0x2d1a3b=_0x2d1a3b||function(_0x1c9203,_0xe1dff3){var _0x4e7af5=_0x515f,_0x1606dc;if(typeof window<'u'&&window[_0x4e7af5(0x422)]&&(_0x1606dc=window[_0x4e7af5(0x422)]),typeof self<'u'&&self[_0x4e7af5(0x422)]&&(_0x1606dc=self[_0x4e7af5(0x422)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1606dc=globalThis[_0x4e7af5(0x422)]),!_0x1606dc&&typeof window<'u'&&window[_0x4e7af5(0x1c5)]&&(_0x1606dc=window[_0x4e7af5(0x1c5)]),!_0x1606dc&&typeof _0x3b8175<'u'&&_0x3b8175['crypto']&&(_0x1606dc=_0x3b8175[_0x4e7af5(0x422)]),!_0x1606dc&&typeof _0x34b389=='function')try{_0x1606dc=require('crypto');}catch{}var _0x4718b9=function(){var _0x1c16ca=_0x4e7af5;if(_0x1606dc){if(typeof _0x1606dc[_0x1c16ca(0x13b)]==_0x1c16ca(0x143))try{return _0x1606dc[_0x1c16ca(0x13b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1606dc[_0x1c16ca(0x1d7)]=='function')try{return _0x1606dc[_0x1c16ca(0x1d7)](0x4)[_0x1c16ca(0x126)]();}catch{}}throw new Error(_0x1c16ca(0x13f));},_0x4c7cf9=Object[_0x4e7af5(0x2b2)]||(function(){function _0x3db480(){}return function(_0x4bed51){var _0x8764ba=_0x515f,_0x1622f7;return _0x3db480[_0x8764ba(0x3ad)]=_0x4bed51,_0x1622f7=new _0x3db480(),_0x3db480['prototype']=null,_0x1622f7;};}()),_0x319338={},_0xa6c77=_0x319338['lib']={},_0x2fe6df=_0xa6c77[_0x4e7af5(0x3cc)]=(function(){return{'extend':function(_0x2bf738){var _0x513ffd=_0x515f,_0x2a2ee1=_0x4c7cf9(this);return _0x2bf738&&_0x2a2ee1[_0x513ffd(0x1dc)](_0x2bf738),(!_0x2a2ee1[_0x513ffd(0x2d1)](_0x513ffd(0x3d7))||this[_0x513ffd(0x3d7)]===_0x2a2ee1[_0x513ffd(0x3d7)])&&(_0x2a2ee1['init']=function(){var _0x1d5b70=_0x513ffd;_0x2a2ee1[_0x1d5b70(0x20d)][_0x1d5b70(0x3d7)][_0x1d5b70(0x108)](this,arguments);}),_0x2a2ee1[_0x513ffd(0x3d7)][_0x513ffd(0x3ad)]=_0x2a2ee1,_0x2a2ee1['$super']=this,_0x2a2ee1;},'create':function(){var _0x299f09=_0x515f,_0x6482ec=this[_0x299f09(0x298)]();return _0x6482ec[_0x299f09(0x3d7)]['apply'](_0x6482ec,arguments),_0x6482ec;},'init':function(){},'mixIn':function(_0x32e018){var _0x437744=_0x515f;for(var _0x141ef1 in _0x32e018)_0x32e018[_0x437744(0x2d1)](_0x141ef1)&&(this[_0x141ef1]=_0x32e018[_0x141ef1]);_0x32e018['hasOwnProperty'](_0x437744(0x1b1))&&(this['toString']=_0x32e018[_0x437744(0x1b1)]);},'clone':function(){var _0x3cc071=_0x515f;return this['init'][_0x3cc071(0x3ad)][_0x3cc071(0x298)](this);}};}()),_0x3f5348=_0xa6c77[_0x4e7af5(0x398)]=_0x2fe6df[_0x4e7af5(0x298)]({'init':function(_0x1db92b,_0x5a17b5){var _0x5a2566=_0x4e7af5;_0x1db92b=this[_0x5a2566(0xd5)]=_0x1db92b||[],_0x5a17b5!=_0xe1dff3?this[_0x5a2566(0x1a5)]=_0x5a17b5:this[_0x5a2566(0x1a5)]=_0x1db92b[_0x5a2566(0x337)]*0x4;},'toString':function(_0x22c958){var _0x31bed1=_0x4e7af5;return(_0x22c958||_0x1ff77d)[_0x31bed1(0x195)](this);},'concat':function(_0x520007){var _0x3bebfb=_0x4e7af5,_0x4cfb42=this[_0x3bebfb(0xd5)],_0x5297e9=_0x520007['words'],_0x1bc9c5=this[_0x3bebfb(0x1a5)],_0x283940=_0x520007[_0x3bebfb(0x1a5)];if(this[_0x3bebfb(0x33d)](),_0x1bc9c5%0x4)for(var _0x2df350=0x0;_0x2df350<_0x283940;_0x2df350++){var _0xcb0091=_0x5297e9[_0x2df350>>>0x2]>>>0x18-_0x2df350%0x4*0x8&0xff;_0x4cfb42[_0x1bc9c5+_0x2df350>>>0x2]|=_0xcb0091<<0x18-(_0x1bc9c5+_0x2df350)%0x4*0x8;}else{for(var _0x10d438=0x0;_0x10d438<_0x283940;_0x10d438+=0x4)_0x4cfb42[_0x1bc9c5+_0x10d438>>>0x2]=_0x5297e9[_0x10d438>>>0x2];}return this[_0x3bebfb(0x1a5)]+=_0x283940,this;},'clamp':function(){var _0xa8b624=_0x4e7af5,_0x2fb712=this[_0xa8b624(0xd5)],_0x3dc16f=this[_0xa8b624(0x1a5)];_0x2fb712[_0x3dc16f>>>0x2]&=0xffffffff<<0x20-_0x3dc16f%0x4*0x8,_0x2fb712['length']=_0x1c9203['ceil'](_0x3dc16f/0x4);},'clone':function(){var _0x4cc158=_0x4e7af5,_0x7f2a3a=_0x2fe6df[_0x4cc158(0x253)][_0x4cc158(0x3c1)](this);return _0x7f2a3a[_0x4cc158(0xd5)]=this[_0x4cc158(0xd5)]['slice'](0x0),_0x7f2a3a;},'random':function(_0x59e3a9){var _0x304fcd=_0x4e7af5;for(var _0x185fe3=[],_0xc3fe1e=0x0;_0xc3fe1e<_0x59e3a9;_0xc3fe1e+=0x4)_0x185fe3['push'](_0x4718b9());return new _0x3f5348[(_0x304fcd(0x3d7))](_0x185fe3,_0x59e3a9);}}),_0x3980e0=_0x319338['enc']={},_0x1ff77d=_0x3980e0['Hex']={'stringify':function(_0xdc8ebb){var _0x262107=_0x4e7af5;for(var _0x3ccf11=_0xdc8ebb[_0x262107(0xd5)],_0x2dbc8b=_0xdc8ebb['sigBytes'],_0x5ebc14=[],_0x5e8bbd=0x0;_0x5e8bbd<_0x2dbc8b;_0x5e8bbd++){var _0x55f40e=_0x3ccf11[_0x5e8bbd>>>0x2]>>>0x18-_0x5e8bbd%0x4*0x8&0xff;_0x5ebc14['push']((_0x55f40e>>>0x4)['toString'](0x10)),_0x5ebc14[_0x262107(0x350)]((_0x55f40e&0xf)[_0x262107(0x1b1)](0x10));}return _0x5ebc14['join']('');},'parse':function(_0x46428b){var _0x2366c6=_0x4e7af5;for(var _0x433d76=_0x46428b[_0x2366c6(0x337)],_0x2836be=[],_0x19ec2c=0x0;_0x19ec2c<_0x433d76;_0x19ec2c+=0x2)_0x2836be[_0x19ec2c>>>0x3]|=parseInt(_0x46428b[_0x2366c6(0x2a6)](_0x19ec2c,0x2),0x10)<<0x18-_0x19ec2c%0x8*0x4;return new _0x3f5348['init'](_0x2836be,_0x433d76/0x2);}},_0x3e417f=_0x3980e0['Latin1']={'stringify':function(_0x3b05c4){var _0x17b29d=_0x4e7af5;for(var _0x1656b5=_0x3b05c4[_0x17b29d(0xd5)],_0x3c7838=_0x3b05c4['sigBytes'],_0x2d0eee=[],_0x4ded98=0x0;_0x4ded98<_0x3c7838;_0x4ded98++){var _0x38753e=_0x1656b5[_0x4ded98>>>0x2]>>>0x18-_0x4ded98%0x4*0x8&0xff;_0x2d0eee[_0x17b29d(0x350)](String[_0x17b29d(0x22b)](_0x38753e));}return _0x2d0eee[_0x17b29d(0x431)]('');},'parse':function(_0x49c428){var _0x1c6c7e=_0x4e7af5;for(var _0x56d7e7=_0x49c428[_0x1c6c7e(0x337)],_0x1beb44=[],_0x99ca01=0x0;_0x99ca01<_0x56d7e7;_0x99ca01++)_0x1beb44[_0x99ca01>>>0x2]|=(_0x49c428[_0x1c6c7e(0x2ee)](_0x99ca01)&0xff)<<0x18-_0x99ca01%0x4*0x8;return new _0x3f5348[(_0x1c6c7e(0x3d7))](_0x1beb44,_0x56d7e7);}},_0x52f9ea=_0x3980e0[_0x4e7af5(0x248)]={'stringify':function(_0x309ad4){var _0x274e64=_0x4e7af5;try{return decodeURIComponent(escape(_0x3e417f[_0x274e64(0x195)](_0x309ad4)));}catch{throw new Error(_0x274e64(0x10d));}},'parse':function(_0x154c43){var _0x2f9970=_0x4e7af5;return _0x3e417f[_0x2f9970(0xb7)](unescape(encodeURIComponent(_0x154c43)));}},_0x4a0a47=_0xa6c77[_0x4e7af5(0x3c2)]=_0x2fe6df['extend']({'reset':function(){var _0x50ae28=_0x4e7af5;this[_0x50ae28(0x10c)]=new _0x3f5348[(_0x50ae28(0x3d7))](),this['_nDataBytes']=0x0;},'_append':function(_0x323351){var _0x3776b1=_0x4e7af5;typeof _0x323351=='string'&&(_0x323351=_0x52f9ea[_0x3776b1(0xb7)](_0x323351)),this[_0x3776b1(0x10c)]['concat'](_0x323351),this['_nDataBytes']+=_0x323351[_0x3776b1(0x1a5)];},'_process':function(_0x2e6163){var _0x2f9168=_0x4e7af5,_0x1cc630,_0x21dfe1=this['_data'],_0x3f8d7d=_0x21dfe1[_0x2f9168(0xd5)],_0xe8bdef=_0x21dfe1[_0x2f9168(0x1a5)],_0x29b598=this[_0x2f9168(0xc2)],_0x2497d1=_0x29b598*0x4,_0x109b9c=_0xe8bdef/_0x2497d1;_0x2e6163?_0x109b9c=_0x1c9203[_0x2f9168(0x26a)](_0x109b9c):_0x109b9c=_0x1c9203['max']((_0x109b9c|0x0)-this[_0x2f9168(0xd7)],0x0);var _0x836b21=_0x109b9c*_0x29b598,_0x425cc9=_0x1c9203[_0x2f9168(0x35c)](_0x836b21*0x4,_0xe8bdef);if(_0x836b21){for(var _0x4a3de2=0x0;_0x4a3de2<_0x836b21;_0x4a3de2+=_0x29b598)this[_0x2f9168(0x109)](_0x3f8d7d,_0x4a3de2);_0x1cc630=_0x3f8d7d[_0x2f9168(0x375)](0x0,_0x836b21),_0x21dfe1[_0x2f9168(0x1a5)]-=_0x425cc9;}return new _0x3f5348[(_0x2f9168(0x3d7))](_0x1cc630,_0x425cc9);},'clone':function(){var _0x584754=_0x4e7af5,_0x42ca3f=_0x2fe6df['clone'][_0x584754(0x3c1)](this);return _0x42ca3f[_0x584754(0x10c)]=this[_0x584754(0x10c)][_0x584754(0x253)](),_0x42ca3f;},'_minBufferSize':0x0});_0xa6c77[_0x4e7af5(0x233)]=_0x4a0a47['extend']({'cfg':_0x2fe6df[_0x4e7af5(0x298)](),'init':function(_0x220c1a){var _0x131f66=_0x4e7af5;this['cfg']=this[_0x131f66(0x157)][_0x131f66(0x298)](_0x220c1a),this[_0x131f66(0x101)]();},'reset':function(){var _0xb20f01=_0x4e7af5;_0x4a0a47['reset'][_0xb20f01(0x3c1)](this),this[_0xb20f01(0x342)]();},'update':function(_0x137523){var _0x401c17=_0x4e7af5;return this[_0x401c17(0x29b)](_0x137523),this[_0x401c17(0x390)](),this;},'finalize':function(_0x1a9f82){var _0x587af8=_0x4e7af5;_0x1a9f82&&this[_0x587af8(0x29b)](_0x1a9f82);var _0x1abc03=this[_0x587af8(0x37e)]();return _0x1abc03;},'blockSize':0x10,'_createHelper':function(_0x134994){return function(_0x30be06,_0x27665){var _0x25009a=_0x515f;return new _0x134994[(_0x25009a(0x3d7))](_0x27665)[_0x25009a(0x266)](_0x30be06);};},'_createHmacHelper':function(_0x44a6a4){return function(_0x5d5f36,_0x4b159f){var _0x1fc912=_0x515f;return new _0x34c1cb[(_0x1fc912(0x13c))][(_0x1fc912(0x3d7))](_0x44a6a4,_0x4b159f)[_0x1fc912(0x266)](_0x5d5f36);};}});var _0x34c1cb=_0x319338[_0x4e7af5(0xfd)]={};return _0x319338;}(Math);return _0x2d1a3b;}));}(_0x3b501c)),_0x3b501c['exports'];}var _0x49ec4d={'exports':{}},_0x1d0889=_0x49ec4d['exports'],_0x3fdbfe;function _0x3a836a(){return _0x3fdbfe||(_0x3fdbfe=0x1,function(_0x14c58b,_0x34231f){(function(_0x1d4999,_0xaaf1b2){_0x14c58b['exports']=_0xaaf1b2(_0x576c57());}(_0x1d0889,function(_0x578da8){var _0x14d21e=_0x515f;return(function(){var _0x25eac0=_0x515f,_0xbda2c9=_0x578da8,_0x218ab8=_0xbda2c9[_0x25eac0(0x428)],_0x358595=_0x218ab8['WordArray'],_0x16f3d2=_0xbda2c9[_0x25eac0(0x19a)];_0x16f3d2[_0x25eac0(0x405)]={'stringify':function(_0x4c9bf9){var _0x4b4286=_0x25eac0,_0x496d09=_0x4c9bf9[_0x4b4286(0xd5)],_0x497af6=_0x4c9bf9[_0x4b4286(0x1a5)],_0x319935=this[_0x4b4286(0x41b)];_0x4c9bf9[_0x4b4286(0x33d)]();for(var _0x2485d5=[],_0x2365f4=0x0;_0x2365f4<_0x497af6;_0x2365f4+=0x3)for(var _0xf7a027=_0x496d09[_0x2365f4>>>0x2]>>>0x18-_0x2365f4%0x4*0x8&0xff,_0x3e3c3f=_0x496d09[_0x2365f4+0x1>>>0x2]>>>0x18-(_0x2365f4+0x1)%0x4*0x8&0xff,_0xf35634=_0x496d09[_0x2365f4+0x2>>>0x2]>>>0x18-(_0x2365f4+0x2)%0x4*0x8&0xff,_0x4870cc=_0xf7a027<<0x10|_0x3e3c3f<<0x8|_0xf35634,_0x1dbc56=0x0;_0x1dbc56<0x4&&_0x2365f4+_0x1dbc56*0.75<_0x497af6;_0x1dbc56++)_0x2485d5[_0x4b4286(0x350)](_0x319935[_0x4b4286(0x26b)](_0x4870cc>>>0x6*(0x3-_0x1dbc56)&0x3f));var _0x2bab18=_0x319935[_0x4b4286(0x26b)](0x40);if(_0x2bab18){for(;_0x2485d5[_0x4b4286(0x337)]%0x4;)_0x2485d5[_0x4b4286(0x350)](_0x2bab18);}return _0x2485d5[_0x4b4286(0x431)]('');},'parse':function(_0x4896c5){var _0xfa725b=_0x25eac0,_0x3ac740=_0x4896c5[_0xfa725b(0x337)],_0xe94f85=this[_0xfa725b(0x41b)],_0xf619d6=this[_0xfa725b(0x140)];if(!_0xf619d6){_0xf619d6=this[_0xfa725b(0x140)]=[];for(var _0x2016b4=0x0;_0x2016b4<_0xe94f85[_0xfa725b(0x337)];_0x2016b4++)_0xf619d6[_0xe94f85[_0xfa725b(0x2ee)](_0x2016b4)]=_0x2016b4;}var _0xc0ee8f=_0xe94f85['charAt'](0x40);if(_0xc0ee8f){var _0x402af9=_0x4896c5[_0xfa725b(0x12b)](_0xc0ee8f);_0x402af9!==-0x1&&(_0x3ac740=_0x402af9);}return _0x55b3e0(_0x4896c5,_0x3ac740,_0xf619d6);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x55b3e0(_0x1d2078,_0x989dd,_0x38894c){var _0x96eef1=_0x25eac0;for(var _0x38300e=[],_0x3310d9=0x0,_0xd55d53=0x0;_0xd55d53<_0x989dd;_0xd55d53++)if(_0xd55d53%0x4){var _0x2b4dff=_0x38894c[_0x1d2078['charCodeAt'](_0xd55d53-0x1)]<<_0xd55d53%0x4*0x2,_0x10769f=_0x38894c[_0x1d2078[_0x96eef1(0x2ee)](_0xd55d53)]>>>0x6-_0xd55d53%0x4*0x2,_0x477b2f=_0x2b4dff|_0x10769f;_0x38300e[_0x3310d9>>>0x2]|=_0x477b2f<<0x18-_0x3310d9%0x4*0x8,_0x3310d9++;}return _0x358595['create'](_0x38300e,_0x3310d9);}}()),_0x578da8[_0x14d21e(0x19a)][_0x14d21e(0x405)];}));}(_0x49ec4d)),_0x49ec4d['exports'];}var _0x1e5191={'exports':{}},_0x4c455a=_0x1e5191[_0x4a9ac9(0x42d)],_0x14d8c0;function _0x3a0f7b(){var _0x427ce4=_0x4a9ac9;return _0x14d8c0||(_0x14d8c0=0x1,function(_0x173619,_0x1c8596){(function(_0x306e40,_0x485e46){var _0x3eb332=_0x515f;_0x173619[_0x3eb332(0x42d)]=_0x485e46(_0x576c57());}(_0x4c455a,function(_0x47fca2){return function(_0x37f40b){var _0x56cfc5=_0x515f,_0x1eca9a=_0x47fca2,_0x1ee1ea=_0x1eca9a['lib'],_0x16d1ab=_0x1ee1ea[_0x56cfc5(0x398)],_0x3db592=_0x1ee1ea[_0x56cfc5(0x233)],_0x5c042a=_0x1eca9a[_0x56cfc5(0xfd)],_0x37321a=[];(function(){var _0x1d4b4c=_0x56cfc5;for(var _0x123dc4=0x0;_0x123dc4<0x40;_0x123dc4++)_0x37321a[_0x123dc4]=_0x37f40b[_0x1d4b4c(0xe3)](_0x37f40b[_0x1d4b4c(0x2d6)](_0x123dc4+0x1))*0x100000000|0x0;}());var _0x486a51=_0x5c042a['MD5']=_0x3db592['extend']({'_doReset':function(){var _0x4d3da8=_0x56cfc5;this[_0x4d3da8(0x27a)]=new _0x16d1ab['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f5029,_0x56bdaf){var _0x1a86e6=_0x56cfc5;for(var _0x56200f=0x0;_0x56200f<0x10;_0x56200f++){var _0x45ddd7=_0x56bdaf+_0x56200f,_0xbfee07=_0x2f5029[_0x45ddd7];_0x2f5029[_0x45ddd7]=(_0xbfee07<<0x8|_0xbfee07>>>0x18)&0xff00ff|(_0xbfee07<<0x18|_0xbfee07>>>0x8)&0xff00ff00;}var _0x52d345=this[_0x1a86e6(0x27a)][_0x1a86e6(0xd5)],_0x433de0=_0x2f5029[_0x56bdaf+0x0],_0x45691c=_0x2f5029[_0x56bdaf+0x1],_0x7387f0=_0x2f5029[_0x56bdaf+0x2],_0x18aea6=_0x2f5029[_0x56bdaf+0x3],_0x175265=_0x2f5029[_0x56bdaf+0x4],_0x244c48=_0x2f5029[_0x56bdaf+0x5],_0x1ddbcd=_0x2f5029[_0x56bdaf+0x6],_0x1e0f53=_0x2f5029[_0x56bdaf+0x7],_0x2809ea=_0x2f5029[_0x56bdaf+0x8],_0x1309bb=_0x2f5029[_0x56bdaf+0x9],_0x5382a7=_0x2f5029[_0x56bdaf+0xa],_0x28f8ee=_0x2f5029[_0x56bdaf+0xb],_0x27e04c=_0x2f5029[_0x56bdaf+0xc],_0x6ce202=_0x2f5029[_0x56bdaf+0xd],_0x5600b4=_0x2f5029[_0x56bdaf+0xe],_0x207e74=_0x2f5029[_0x56bdaf+0xf],_0x4a3133=_0x52d345[0x0],_0x20b4c6=_0x52d345[0x1],_0x4f837b=_0x52d345[0x2],_0x21e62d=_0x52d345[0x3];_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x433de0,0x7,_0x37321a[0x0]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x45691c,0xc,_0x37321a[0x1]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x7387f0,0x11,_0x37321a[0x2]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x18aea6,0x16,_0x37321a[0x3]),_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x175265,0x7,_0x37321a[0x4]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x244c48,0xc,_0x37321a[0x5]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1ddbcd,0x11,_0x37321a[0x6]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x1e0f53,0x16,_0x37321a[0x7]),_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x2809ea,0x7,_0x37321a[0x8]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x1309bb,0xc,_0x37321a[0x9]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5382a7,0x11,_0x37321a[0xa]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x28f8ee,0x16,_0x37321a[0xb]),_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x27e04c,0x7,_0x37321a[0xc]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x6ce202,0xc,_0x37321a[0xd]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5600b4,0x11,_0x37321a[0xe]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x207e74,0x16,_0x37321a[0xf]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x45691c,0x5,_0x37321a[0x10]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x1ddbcd,0x9,_0x37321a[0x11]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x28f8ee,0xe,_0x37321a[0x12]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x433de0,0x14,_0x37321a[0x13]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x244c48,0x5,_0x37321a[0x14]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x5382a7,0x9,_0x37321a[0x15]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x207e74,0xe,_0x37321a[0x16]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x175265,0x14,_0x37321a[0x17]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x1309bb,0x5,_0x37321a[0x18]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x5600b4,0x9,_0x37321a[0x19]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x18aea6,0xe,_0x37321a[0x1a]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x2809ea,0x14,_0x37321a[0x1b]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x6ce202,0x5,_0x37321a[0x1c]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x7387f0,0x9,_0x37321a[0x1d]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1e0f53,0xe,_0x37321a[0x1e]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x27e04c,0x14,_0x37321a[0x1f]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x244c48,0x4,_0x37321a[0x20]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x2809ea,0xb,_0x37321a[0x21]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x28f8ee,0x10,_0x37321a[0x22]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x5600b4,0x17,_0x37321a[0x23]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x45691c,0x4,_0x37321a[0x24]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x175265,0xb,_0x37321a[0x25]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1e0f53,0x10,_0x37321a[0x26]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x5382a7,0x17,_0x37321a[0x27]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x6ce202,0x4,_0x37321a[0x28]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x433de0,0xb,_0x37321a[0x29]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x18aea6,0x10,_0x37321a[0x2a]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x1ddbcd,0x17,_0x37321a[0x2b]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x1309bb,0x4,_0x37321a[0x2c]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x27e04c,0xb,_0x37321a[0x2d]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x207e74,0x10,_0x37321a[0x2e]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x7387f0,0x17,_0x37321a[0x2f]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x433de0,0x6,_0x37321a[0x30]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x1e0f53,0xa,_0x37321a[0x31]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5600b4,0xf,_0x37321a[0x32]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x244c48,0x15,_0x37321a[0x33]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x27e04c,0x6,_0x37321a[0x34]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x18aea6,0xa,_0x37321a[0x35]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5382a7,0xf,_0x37321a[0x36]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x45691c,0x15,_0x37321a[0x37]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x2809ea,0x6,_0x37321a[0x38]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x207e74,0xa,_0x37321a[0x39]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1ddbcd,0xf,_0x37321a[0x3a]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x6ce202,0x15,_0x37321a[0x3b]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x175265,0x6,_0x37321a[0x3c]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x28f8ee,0xa,_0x37321a[0x3d]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x7387f0,0xf,_0x37321a[0x3e]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x1309bb,0x15,_0x37321a[0x3f]),_0x52d345[0x0]=_0x52d345[0x0]+_0x4a3133|0x0,_0x52d345[0x1]=_0x52d345[0x1]+_0x20b4c6|0x0,_0x52d345[0x2]=_0x52d345[0x2]+_0x4f837b|0x0,_0x52d345[0x3]=_0x52d345[0x3]+_0x21e62d|0x0;},'_doFinalize':function(){var _0x211b4c=_0x56cfc5,_0x16c07b=this['_data'],_0x493222=_0x16c07b[_0x211b4c(0xd5)],_0xe1e53=this[_0x211b4c(0x36c)]*0x8,_0x63f9cc=_0x16c07b['sigBytes']*0x8;_0x493222[_0x63f9cc>>>0x5]|=0x80<<0x18-_0x63f9cc%0x20;var _0x48e4ce=_0x37f40b[_0x211b4c(0x3a4)](_0xe1e53/0x100000000),_0x294271=_0xe1e53;_0x493222[(_0x63f9cc+0x40>>>0x9<<0x4)+0xf]=(_0x48e4ce<<0x8|_0x48e4ce>>>0x18)&0xff00ff|(_0x48e4ce<<0x18|_0x48e4ce>>>0x8)&0xff00ff00,_0x493222[(_0x63f9cc+0x40>>>0x9<<0x4)+0xe]=(_0x294271<<0x8|_0x294271>>>0x18)&0xff00ff|(_0x294271<<0x18|_0x294271>>>0x8)&0xff00ff00,_0x16c07b[_0x211b4c(0x1a5)]=(_0x493222[_0x211b4c(0x337)]+0x1)*0x4,this[_0x211b4c(0x390)]();for(var _0x225bd7=this[_0x211b4c(0x27a)],_0x1a557=_0x225bd7['words'],_0xa1e5d7=0x0;_0xa1e5d7<0x4;_0xa1e5d7++){var _0x4dd271=_0x1a557[_0xa1e5d7];_0x1a557[_0xa1e5d7]=(_0x4dd271<<0x8|_0x4dd271>>>0x18)&0xff00ff|(_0x4dd271<<0x18|_0x4dd271>>>0x8)&0xff00ff00;}return _0x225bd7;},'clone':function(){var _0x4ca5b9=_0x56cfc5,_0x3027a6=_0x3db592[_0x4ca5b9(0x253)][_0x4ca5b9(0x3c1)](this);return _0x3027a6[_0x4ca5b9(0x27a)]=this['_hash'][_0x4ca5b9(0x253)](),_0x3027a6;}});function _0x3e5bc9(_0x81119a,_0x5a582b,_0x166a93,_0x62010,_0x2f1a98,_0x50e925,_0x355745){var _0x88b1ab=_0x81119a+(_0x5a582b&_0x166a93|~_0x5a582b&_0x62010)+_0x2f1a98+_0x355745;return(_0x88b1ab<<_0x50e925|_0x88b1ab>>>0x20-_0x50e925)+_0x5a582b;}function _0x17e8f4(_0xbd03a0,_0x401cc8,_0x445b35,_0x1438cf,_0x184a1d,_0x28e3b3,_0x164246){var _0x36e471=_0xbd03a0+(_0x401cc8&_0x1438cf|_0x445b35&~_0x1438cf)+_0x184a1d+_0x164246;return(_0x36e471<<_0x28e3b3|_0x36e471>>>0x20-_0x28e3b3)+_0x401cc8;}function _0x139fc8(_0x42282f,_0x592866,_0x438d96,_0x337052,_0x49b3dc,_0x20da0e,_0x22c05c){var _0x2c3a9d=_0x42282f+(_0x592866^_0x438d96^_0x337052)+_0x49b3dc+_0x22c05c;return(_0x2c3a9d<<_0x20da0e|_0x2c3a9d>>>0x20-_0x20da0e)+_0x592866;}function _0xa1034c(_0x24649f,_0x526491,_0xb6b907,_0x3f7776,_0x5d6a94,_0x5586f9,_0x120ae0){var _0x1e5096=_0x24649f+(_0xb6b907^(_0x526491|~_0x3f7776))+_0x5d6a94+_0x120ae0;return(_0x1e5096<<_0x5586f9|_0x1e5096>>>0x20-_0x5586f9)+_0x526491;}_0x1eca9a['MD5']=_0x3db592[_0x56cfc5(0xc1)](_0x486a51),_0x1eca9a[_0x56cfc5(0x401)]=_0x3db592[_0x56cfc5(0x419)](_0x486a51);}(Math),_0x47fca2['MD5'];}));}(_0x1e5191)),_0x1e5191[_0x427ce4(0x42d)];}var _0x383907={'exports':{}},_0x2038ab={'exports':{}},_0x10b00c=_0x2038ab[_0x4a9ac9(0x42d)],_0xac229b;function _0x284e27(){var _0x5cc5f4=_0x4a9ac9;return _0xac229b||(_0xac229b=0x1,function(_0xb087d,_0x232a1a){(function(_0x2ffdcb,_0x55e2b7){var _0x5b7790=_0x515f;_0xb087d[_0x5b7790(0x42d)]=_0x55e2b7(_0x576c57());}(_0x10b00c,function(_0x10b7d0){var _0x2de935=_0x515f;return(function(){var _0x2e9208=_0x515f,_0x1814fc=_0x10b7d0,_0x1856ac=_0x1814fc['lib'],_0x10e443=_0x1856ac[_0x2e9208(0x398)],_0x29ca02=_0x1856ac[_0x2e9208(0x233)],_0x4c431d=_0x1814fc[_0x2e9208(0xfd)],_0x47adab=[],_0x1a5dbf=_0x4c431d[_0x2e9208(0x145)]=_0x29ca02[_0x2e9208(0x298)]({'_doReset':function(){var _0x285931=_0x2e9208;this[_0x285931(0x27a)]=new _0x10e443[(_0x285931(0x3d7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27b59f,_0x12eb4b){var _0x20af6e=_0x2e9208;for(var _0x415e65=this['_hash'][_0x20af6e(0xd5)],_0x3a7a5e=_0x415e65[0x0],_0x519e4e=_0x415e65[0x1],_0x409dac=_0x415e65[0x2],_0x4fdc59=_0x415e65[0x3],_0x4a8f12=_0x415e65[0x4],_0x3b2292=0x0;_0x3b2292<0x50;_0x3b2292++){if(_0x3b2292<0x10)_0x47adab[_0x3b2292]=_0x27b59f[_0x12eb4b+_0x3b2292]|0x0;else{var _0x22eb4=_0x47adab[_0x3b2292-0x3]^_0x47adab[_0x3b2292-0x8]^_0x47adab[_0x3b2292-0xe]^_0x47adab[_0x3b2292-0x10];_0x47adab[_0x3b2292]=_0x22eb4<<0x1|_0x22eb4>>>0x1f;}var _0x21575c=(_0x3a7a5e<<0x5|_0x3a7a5e>>>0x1b)+_0x4a8f12+_0x47adab[_0x3b2292];_0x3b2292<0x14?_0x21575c+=(_0x519e4e&_0x409dac|~_0x519e4e&_0x4fdc59)+0x5a827999:_0x3b2292<0x28?_0x21575c+=(_0x519e4e^_0x409dac^_0x4fdc59)+0x6ed9eba1:_0x3b2292<0x3c?_0x21575c+=(_0x519e4e&_0x409dac|_0x519e4e&_0x4fdc59|_0x409dac&_0x4fdc59)-0x70e44324:_0x21575c+=(_0x519e4e^_0x409dac^_0x4fdc59)-0x359d3e2a,_0x4a8f12=_0x4fdc59,_0x4fdc59=_0x409dac,_0x409dac=_0x519e4e<<0x1e|_0x519e4e>>>0x2,_0x519e4e=_0x3a7a5e,_0x3a7a5e=_0x21575c;}_0x415e65[0x0]=_0x415e65[0x0]+_0x3a7a5e|0x0,_0x415e65[0x1]=_0x415e65[0x1]+_0x519e4e|0x0,_0x415e65[0x2]=_0x415e65[0x2]+_0x409dac|0x0,_0x415e65[0x3]=_0x415e65[0x3]+_0x4fdc59|0x0,_0x415e65[0x4]=_0x415e65[0x4]+_0x4a8f12|0x0;},'_doFinalize':function(){var _0x58791f=_0x2e9208,_0x3aa728=this[_0x58791f(0x10c)],_0x41eb2c=_0x3aa728['words'],_0x2fbf49=this[_0x58791f(0x36c)]*0x8,_0x4bb912=_0x3aa728[_0x58791f(0x1a5)]*0x8;return _0x41eb2c[_0x4bb912>>>0x5]|=0x80<<0x18-_0x4bb912%0x20,_0x41eb2c[(_0x4bb912+0x40>>>0x9<<0x4)+0xe]=Math[_0x58791f(0x3a4)](_0x2fbf49/0x100000000),_0x41eb2c[(_0x4bb912+0x40>>>0x9<<0x4)+0xf]=_0x2fbf49,_0x3aa728[_0x58791f(0x1a5)]=_0x41eb2c[_0x58791f(0x337)]*0x4,this[_0x58791f(0x390)](),this[_0x58791f(0x27a)];},'clone':function(){var _0x1d00ad=_0x2e9208,_0x55896e=_0x29ca02[_0x1d00ad(0x253)][_0x1d00ad(0x3c1)](this);return _0x55896e[_0x1d00ad(0x27a)]=this[_0x1d00ad(0x27a)][_0x1d00ad(0x253)](),_0x55896e;}});_0x1814fc['SHA1']=_0x29ca02[_0x2e9208(0xc1)](_0x1a5dbf),_0x1814fc[_0x2e9208(0x246)]=_0x29ca02['_createHmacHelper'](_0x1a5dbf);}()),_0x10b7d0[_0x2de935(0x145)];}));}(_0x2038ab)),_0x2038ab[_0x5cc5f4(0x42d)];}var _0x474439={'exports':{}},_0x4d1777=_0x474439['exports'],_0x4b11f4;function _0x4c4ca8(){var _0x119f82=_0x4a9ac9;return _0x4b11f4||(_0x4b11f4=0x1,function(_0x37c315,_0x10fede){(function(_0x58ad54,_0x1bccf0){var _0x3d05eb=_0x515f;_0x37c315[_0x3d05eb(0x42d)]=_0x1bccf0(_0x576c57());}(_0x4d1777,function(_0x50458a){(function(){var _0x21c78e=_0x515f,_0x425828=_0x50458a,_0x6df2e9=_0x425828[_0x21c78e(0x428)],_0x37dc67=_0x6df2e9[_0x21c78e(0x3cc)],_0x3b0c58=_0x425828['enc'],_0x2543d7=_0x3b0c58[_0x21c78e(0x248)],_0x5ecb6f=_0x425828[_0x21c78e(0xfd)];_0x5ecb6f[_0x21c78e(0x13c)]=_0x37dc67[_0x21c78e(0x298)]({'init':function(_0x5d852d,_0x49ae5d){var _0x4b24a3=_0x21c78e;_0x5d852d=this[_0x4b24a3(0x1ab)]=new _0x5d852d[(_0x4b24a3(0x3d7))](),typeof _0x49ae5d==_0x4b24a3(0x299)&&(_0x49ae5d=_0x2543d7[_0x4b24a3(0xb7)](_0x49ae5d));var _0x66db74=_0x5d852d[_0x4b24a3(0xc2)],_0x35fe8e=_0x66db74*0x4;_0x49ae5d[_0x4b24a3(0x1a5)]>_0x35fe8e&&(_0x49ae5d=_0x5d852d[_0x4b24a3(0x266)](_0x49ae5d)),_0x49ae5d[_0x4b24a3(0x33d)]();for(var _0xa224d6=this['_oKey']=_0x49ae5d['clone'](),_0x301400=this[_0x4b24a3(0x340)]=_0x49ae5d['clone'](),_0x45fd94=_0xa224d6[_0x4b24a3(0xd5)],_0x5ea1a5=_0x301400[_0x4b24a3(0xd5)],_0x415057=0x0;_0x415057<_0x66db74;_0x415057++)_0x45fd94[_0x415057]^=0x5c5c5c5c,_0x5ea1a5[_0x415057]^=0x36363636;_0xa224d6['sigBytes']=_0x301400[_0x4b24a3(0x1a5)]=_0x35fe8e,this[_0x4b24a3(0x101)]();},'reset':function(){var _0x1b2fb4=_0x21c78e,_0x24bf82=this[_0x1b2fb4(0x1ab)];_0x24bf82[_0x1b2fb4(0x101)](),_0x24bf82['update'](this[_0x1b2fb4(0x340)]);},'update':function(_0x1cb2a8){var _0x46c3dd=_0x21c78e;return this[_0x46c3dd(0x1ab)]['update'](_0x1cb2a8),this;},'finalize':function(_0x5deb77){var _0x38936e=_0x21c78e,_0xc29160=this[_0x38936e(0x1ab)],_0x34eef7=_0xc29160[_0x38936e(0x266)](_0x5deb77);_0xc29160[_0x38936e(0x101)]();var _0x5004cc=_0xc29160[_0x38936e(0x266)](this['_oKey'][_0x38936e(0x253)]()[_0x38936e(0x24e)](_0x34eef7));return _0x5004cc;}});}());}));}(_0x474439)),_0x474439[_0x119f82(0x42d)];}var _0xf5dc48=_0x383907[_0x4a9ac9(0x42d)],_0x227cea;function _0x1c2ae5(){var _0x114382=_0x4a9ac9;return _0x227cea||(_0x227cea=0x1,function(_0x4b5799,_0x7e7968){(function(_0x40f4ea,_0x571e29,_0x1d57cc){_0x4b5799['exports']=_0x571e29(_0x576c57(),_0x284e27(),_0x4c4ca8());}(_0xf5dc48,function(_0xca77c4){return(function(){var _0x590e10=_0x515f,_0x4ac5d0=_0xca77c4,_0x7ece34=_0x4ac5d0[_0x590e10(0x428)],_0x44e77d=_0x7ece34['Base'],_0xa94e10=_0x7ece34[_0x590e10(0x398)],_0x5b11ce=_0x4ac5d0['algo'],_0x831cbf=_0x5b11ce['MD5'],_0x843d47=_0x5b11ce[_0x590e10(0x30f)]=_0x44e77d[_0x590e10(0x298)]({'cfg':_0x44e77d[_0x590e10(0x298)]({'keySize':0x80/0x20,'hasher':_0x831cbf,'iterations':0x1}),'init':function(_0x364081){var _0x3445f7=_0x590e10;this[_0x3445f7(0x157)]=this[_0x3445f7(0x157)][_0x3445f7(0x298)](_0x364081);},'compute':function(_0x2c818d,_0x272192){var _0x1122d2=_0x590e10;for(var _0x14bcc2,_0x38d43b=this['cfg'],_0x3d8280=_0x38d43b['hasher'][_0x1122d2(0x2b2)](),_0x18c271=_0xa94e10[_0x1122d2(0x2b2)](),_0x45fc37=_0x18c271['words'],_0x2cb5bd=_0x38d43b[_0x1122d2(0x279)],_0x23525d=_0x38d43b[_0x1122d2(0x43f)];_0x45fc37[_0x1122d2(0x337)]<_0x2cb5bd;){_0x14bcc2&&_0x3d8280[_0x1122d2(0x182)](_0x14bcc2),_0x14bcc2=_0x3d8280['update'](_0x2c818d)[_0x1122d2(0x266)](_0x272192),_0x3d8280[_0x1122d2(0x101)]();for(var _0x59de5f=0x1;_0x59de5f<_0x23525d;_0x59de5f++)_0x14bcc2=_0x3d8280[_0x1122d2(0x266)](_0x14bcc2),_0x3d8280['reset']();_0x18c271['concat'](_0x14bcc2);}return _0x18c271['sigBytes']=_0x2cb5bd*0x4,_0x18c271;}});_0x4ac5d0[_0x590e10(0x30f)]=function(_0x21cdb0,_0x58aad2,_0x1ebbc3){var _0x59a9dd=_0x590e10;return _0x843d47[_0x59a9dd(0x2b2)](_0x1ebbc3)[_0x59a9dd(0x34d)](_0x21cdb0,_0x58aad2);};}()),_0xca77c4['EvpKDF'];}));}(_0x383907)),_0x383907[_0x114382(0x42d)];}var _0x407824={'exports':{}},_0x33805b=_0x407824[_0x4a9ac9(0x42d)],_0x1981a5;function _0x2e7639(){var _0x1819cf=_0x4a9ac9;return _0x1981a5||(_0x1981a5=0x1,function(_0x201471,_0x4f74dc){(function(_0x3e05e7,_0xe02101,_0x1c2950){var _0x26c41c=_0x515f;_0x201471[_0x26c41c(0x42d)]=_0xe02101(_0x576c57(),_0x1c2ae5());}(_0x33805b,function(_0xd4f0d6){var _0x3795e1=_0x515f;_0xd4f0d6['lib'][_0x3795e1(0x36f)]||function(_0xad4fc3){var _0x3f4063=_0x3795e1,_0x390542=_0xd4f0d6,_0x5d3a75=_0x390542[_0x3f4063(0x428)],_0x26da69=_0x5d3a75['Base'],_0x53a5ac=_0x5d3a75['WordArray'],_0x4d4d1e=_0x5d3a75['BufferedBlockAlgorithm'],_0x43dc3c=_0x390542[_0x3f4063(0x19a)];_0x43dc3c[_0x3f4063(0x248)];var _0x4b56b7=_0x43dc3c[_0x3f4063(0x405)],_0x45a89b=_0x390542[_0x3f4063(0xfd)],_0x12f44c=_0x45a89b['EvpKDF'],_0x24463a=_0x5d3a75[_0x3f4063(0x36f)]=_0x4d4d1e[_0x3f4063(0x298)]({'cfg':_0x26da69[_0x3f4063(0x298)](),'createEncryptor':function(_0x1bb132,_0x2aa083){var _0x1d5252=_0x3f4063;return this[_0x1d5252(0x2b2)](this[_0x1d5252(0x339)],_0x1bb132,_0x2aa083);},'createDecryptor':function(_0x51478a,_0x6c15d){var _0x56d549=_0x3f4063;return this['create'](this[_0x56d549(0x3ca)],_0x51478a,_0x6c15d);},'init':function(_0x29d976,_0x14c384,_0x1dd747){var _0x1f567b=_0x3f4063;this[_0x1f567b(0x157)]=this[_0x1f567b(0x157)]['extend'](_0x1dd747),this[_0x1f567b(0x104)]=_0x29d976,this[_0x1f567b(0x1a8)]=_0x14c384,this[_0x1f567b(0x101)]();},'reset':function(){var _0x440e37=_0x3f4063;_0x4d4d1e[_0x440e37(0x101)][_0x440e37(0x3c1)](this),this[_0x440e37(0x342)]();},'process':function(_0x5dd85f){var _0x2c6088=_0x3f4063;return this[_0x2c6088(0x29b)](_0x5dd85f),this[_0x2c6088(0x390)]();},'finalize':function(_0x2e8b5b){var _0xe8d782=_0x3f4063;_0x2e8b5b&&this['_append'](_0x2e8b5b);var _0x4467cf=this[_0xe8d782(0x37e)]();return _0x4467cf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x296151(_0xa539ca){var _0x3ea7b7=_0x515f;return typeof _0xa539ca==_0x3ea7b7(0x299)?_0x5a2bd0:_0x422514;}return function(_0x1a16f1){return{'encrypt':function(_0x3770e3,_0x11b9b8,_0x3d45b6){return _0x296151(_0x11b9b8)['encrypt'](_0x1a16f1,_0x3770e3,_0x11b9b8,_0x3d45b6);},'decrypt':function(_0x535f74,_0x2dd979,_0x47b3be){var _0x53c009=_0x515f;return _0x296151(_0x2dd979)[_0x53c009(0x345)](_0x1a16f1,_0x535f74,_0x2dd979,_0x47b3be);}};};}())});_0x5d3a75[_0x3f4063(0x2a9)]=_0x24463a[_0x3f4063(0x298)]({'_doFinalize':function(){var _0x54c401=_0x3f4063,_0x169245=this[_0x54c401(0x390)](!0x0);return _0x169245;},'blockSize':0x1});var _0x2ce270=_0x390542[_0x3f4063(0x3d2)]={},_0x191774=_0x5d3a75[_0x3f4063(0x3e5)]=_0x26da69['extend']({'createEncryptor':function(_0x5949dc,_0x679de1){var _0x3e9b54=_0x3f4063;return this[_0x3e9b54(0x3d8)][_0x3e9b54(0x2b2)](_0x5949dc,_0x679de1);},'createDecryptor':function(_0x3a13c9,_0x4f9efa){var _0x1328be=_0x3f4063;return this[_0x1328be(0x38c)][_0x1328be(0x2b2)](_0x3a13c9,_0x4f9efa);},'init':function(_0x1ba175,_0xb0e8b7){var _0x2c5e49=_0x3f4063;this[_0x2c5e49(0x1a3)]=_0x1ba175,this[_0x2c5e49(0x34a)]=_0xb0e8b7;}}),_0x167d98=_0x2ce270[_0x3f4063(0x3a8)]=(function(){var _0x44a2ad=_0x3f4063,_0x4396fd=_0x191774[_0x44a2ad(0x298)]();_0x4396fd[_0x44a2ad(0x3d8)]=_0x4396fd['extend']({'processBlock':function(_0xf2c42a,_0xef90bf){var _0x45adb7=_0x44a2ad,_0x1faea8=this['_cipher'],_0x3d7573=_0x1faea8[_0x45adb7(0xc2)];_0x41912e[_0x45adb7(0x3c1)](this,_0xf2c42a,_0xef90bf,_0x3d7573),_0x1faea8[_0x45adb7(0xe6)](_0xf2c42a,_0xef90bf),this[_0x45adb7(0x29e)]=_0xf2c42a[_0x45adb7(0x176)](_0xef90bf,_0xef90bf+_0x3d7573);}}),_0x4396fd[_0x44a2ad(0x38c)]=_0x4396fd[_0x44a2ad(0x298)]({'processBlock':function(_0x455287,_0x3cb16){var _0x409215=_0x44a2ad,_0x27c02a=this[_0x409215(0x1a3)],_0x1485e7=_0x27c02a[_0x409215(0xc2)],_0x3645df=_0x455287[_0x409215(0x176)](_0x3cb16,_0x3cb16+_0x1485e7);_0x27c02a[_0x409215(0xcd)](_0x455287,_0x3cb16),_0x41912e[_0x409215(0x3c1)](this,_0x455287,_0x3cb16,_0x1485e7),this[_0x409215(0x29e)]=_0x3645df;}});function _0x41912e(_0x12a1b0,_0x16a9d9,_0x2f19d3){var _0x207d2f=_0x44a2ad,_0x1478c7,_0x1461d5=this[_0x207d2f(0x34a)];_0x1461d5?(_0x1478c7=_0x1461d5,this['_iv']=_0xad4fc3):_0x1478c7=this[_0x207d2f(0x29e)];for(var _0x5e0729=0x0;_0x5e0729<_0x2f19d3;_0x5e0729++)_0x12a1b0[_0x16a9d9+_0x5e0729]^=_0x1478c7[_0x5e0729];}return _0x4396fd;}()),_0x18d8ec=_0x390542[_0x3f4063(0x3c9)]={},_0x5d0039=_0x18d8ec[_0x3f4063(0x1b9)]={'pad':function(_0x5d9871,_0x280d07){var _0x37ab65=_0x3f4063;for(var _0x47e257=_0x280d07*0x4,_0x4c4930=_0x47e257-_0x5d9871[_0x37ab65(0x1a5)]%_0x47e257,_0x458ab7=_0x4c4930<<0x18|_0x4c4930<<0x10|_0x4c4930<<0x8|_0x4c4930,_0x347a21=[],_0x3ed46f=0x0;_0x3ed46f<_0x4c4930;_0x3ed46f+=0x4)_0x347a21['push'](_0x458ab7);var _0x11281d=_0x53a5ac['create'](_0x347a21,_0x4c4930);_0x5d9871[_0x37ab65(0x24e)](_0x11281d);},'unpad':function(_0x35b67e){var _0x20d25e=_0x3f4063,_0x33d1a2=_0x35b67e[_0x20d25e(0xd5)][_0x35b67e[_0x20d25e(0x1a5)]-0x1>>>0x2]&0xff;_0x35b67e['sigBytes']-=_0x33d1a2;}};_0x5d3a75[_0x3f4063(0x268)]=_0x24463a[_0x3f4063(0x298)]({'cfg':_0x24463a[_0x3f4063(0x157)][_0x3f4063(0x298)]({'mode':_0x167d98,'padding':_0x5d0039}),'reset':function(){var _0x5ec4f1=_0x3f4063,_0x3b0007;_0x24463a['reset'][_0x5ec4f1(0x3c1)](this);var _0x3ca8d1=this[_0x5ec4f1(0x157)],_0x2a44f6=_0x3ca8d1['iv'],_0x2313ff=_0x3ca8d1[_0x5ec4f1(0x3d2)];this[_0x5ec4f1(0x104)]==this[_0x5ec4f1(0x339)]?_0x3b0007=_0x2313ff[_0x5ec4f1(0x243)]:(_0x3b0007=_0x2313ff[_0x5ec4f1(0xf8)],this[_0x5ec4f1(0xd7)]=0x1),this['_mode']&&this[_0x5ec4f1(0x28c)][_0x5ec4f1(0x41d)]==_0x3b0007?this['_mode'][_0x5ec4f1(0x3d7)](this,_0x2a44f6&&_0x2a44f6[_0x5ec4f1(0xd5)]):(this[_0x5ec4f1(0x28c)]=_0x3b0007[_0x5ec4f1(0x3c1)](_0x2313ff,this,_0x2a44f6&&_0x2a44f6[_0x5ec4f1(0xd5)]),this['_mode']['__creator']=_0x3b0007);},'_doProcessBlock':function(_0x250c72,_0x508c21){var _0x41f20b=_0x3f4063;this[_0x41f20b(0x28c)][_0x41f20b(0x423)](_0x250c72,_0x508c21);},'_doFinalize':function(){var _0x41142a=_0x3f4063,_0x432f4a,_0x48007e=this[_0x41142a(0x157)]['padding'];return this[_0x41142a(0x104)]==this[_0x41142a(0x339)]?(_0x48007e[_0x41142a(0x3c9)](this[_0x41142a(0x10c)],this[_0x41142a(0xc2)]),_0x432f4a=this[_0x41142a(0x390)](!0x0)):(_0x432f4a=this[_0x41142a(0x390)](!0x0),_0x48007e[_0x41142a(0x358)](_0x432f4a)),_0x432f4a;},'blockSize':0x80/0x20});var _0x10d3c=_0x5d3a75[_0x3f4063(0x230)]=_0x26da69[_0x3f4063(0x298)]({'init':function(_0x346642){var _0x29afa4=_0x3f4063;this[_0x29afa4(0x1dc)](_0x346642);},'toString':function(_0x3d505f){var _0x1fb9ae=_0x3f4063;return(_0x3d505f||this[_0x1fb9ae(0x119)])[_0x1fb9ae(0x195)](this);}}),_0x276dfc=_0x390542['format']={},_0xed76ac=_0x276dfc[_0x3f4063(0x155)]={'stringify':function(_0x53403e){var _0x3cd9be=_0x3f4063,_0xc83ff1,_0x51582f=_0x53403e[_0x3cd9be(0x459)],_0x5379cc=_0x53403e[_0x3cd9be(0x385)];return _0x5379cc?_0xc83ff1=_0x53a5ac[_0x3cd9be(0x2b2)]([0x53616c74,0x65645f5f])['concat'](_0x5379cc)[_0x3cd9be(0x24e)](_0x51582f):_0xc83ff1=_0x51582f,_0xc83ff1[_0x3cd9be(0x1b1)](_0x4b56b7);},'parse':function(_0x229be3){var _0x2b02a1=_0x3f4063,_0x409288,_0x44d431=_0x4b56b7[_0x2b02a1(0xb7)](_0x229be3),_0x1d43ad=_0x44d431['words'];return _0x1d43ad[0x0]==0x53616c74&&_0x1d43ad[0x1]==0x65645f5f&&(_0x409288=_0x53a5ac[_0x2b02a1(0x2b2)](_0x1d43ad[_0x2b02a1(0x176)](0x2,0x4)),_0x1d43ad[_0x2b02a1(0x375)](0x0,0x4),_0x44d431['sigBytes']-=0x10),_0x10d3c[_0x2b02a1(0x2b2)]({'ciphertext':_0x44d431,'salt':_0x409288});}},_0x422514=_0x5d3a75[_0x3f4063(0x3e8)]=_0x26da69[_0x3f4063(0x298)]({'cfg':_0x26da69[_0x3f4063(0x298)]({'format':_0xed76ac}),'encrypt':function(_0x2f41a6,_0x5df91f,_0x27bd1c,_0x572777){var _0x28c4de=_0x3f4063;_0x572777=this[_0x28c4de(0x157)][_0x28c4de(0x298)](_0x572777);var _0x23c30b=_0x2f41a6['createEncryptor'](_0x27bd1c,_0x572777),_0xa5d0b8=_0x23c30b[_0x28c4de(0x266)](_0x5df91f),_0x38f24f=_0x23c30b[_0x28c4de(0x157)];return _0x10d3c['create']({'ciphertext':_0xa5d0b8,'key':_0x27bd1c,'iv':_0x38f24f['iv'],'algorithm':_0x2f41a6,'mode':_0x38f24f[_0x28c4de(0x3d2)],'padding':_0x38f24f[_0x28c4de(0x1c0)],'blockSize':_0x2f41a6[_0x28c4de(0xc2)],'formatter':_0x572777[_0x28c4de(0x377)]});},'decrypt':function(_0x18f667,_0x1f8d46,_0x5f4615,_0x2fbc52){var _0x4ac68b=_0x3f4063;_0x2fbc52=this['cfg'][_0x4ac68b(0x298)](_0x2fbc52),_0x1f8d46=this['_parse'](_0x1f8d46,_0x2fbc52['format']);var _0x4e613e=_0x18f667[_0x4ac68b(0xf8)](_0x5f4615,_0x2fbc52)[_0x4ac68b(0x266)](_0x1f8d46['ciphertext']);return _0x4e613e;},'_parse':function(_0x12cd97,_0x3b40df){var _0x3dd54f=_0x3f4063;return typeof _0x12cd97==_0x3dd54f(0x299)?_0x3b40df[_0x3dd54f(0xb7)](_0x12cd97,this):_0x12cd97;}}),_0x50bcca=_0x390542[_0x3f4063(0x291)]={},_0x42a305=_0x50bcca[_0x3f4063(0x155)]={'execute':function(_0x3d2695,_0x1d571d,_0x3c548c,_0x4bcfa2,_0x491a92){var _0x3a956b=_0x3f4063;if(_0x4bcfa2||(_0x4bcfa2=_0x53a5ac[_0x3a956b(0x255)](0x40/0x8)),_0x491a92)var _0x52b745=_0x12f44c[_0x3a956b(0x2b2)]({'keySize':_0x1d571d+_0x3c548c,'hasher':_0x491a92})[_0x3a956b(0x34d)](_0x3d2695,_0x4bcfa2);else var _0x52b745=_0x12f44c[_0x3a956b(0x2b2)]({'keySize':_0x1d571d+_0x3c548c})['compute'](_0x3d2695,_0x4bcfa2);var _0x49253d=_0x53a5ac[_0x3a956b(0x2b2)](_0x52b745['words'][_0x3a956b(0x176)](_0x1d571d),_0x3c548c*0x4);return _0x52b745[_0x3a956b(0x1a5)]=_0x1d571d*0x4,_0x10d3c['create']({'key':_0x52b745,'iv':_0x49253d,'salt':_0x4bcfa2});}},_0x5a2bd0=_0x5d3a75[_0x3f4063(0x407)]=_0x422514['extend']({'cfg':_0x422514[_0x3f4063(0x157)]['extend']({'kdf':_0x42a305}),'encrypt':function(_0x3db482,_0x509f23,_0x4e5512,_0x5580ae){var _0x1d8a96=_0x3f4063;_0x5580ae=this[_0x1d8a96(0x157)]['extend'](_0x5580ae);var _0x129b6e=_0x5580ae['kdf'][_0x1d8a96(0x2c2)](_0x4e5512,_0x3db482[_0x1d8a96(0x279)],_0x3db482[_0x1d8a96(0x3a7)],_0x5580ae[_0x1d8a96(0x385)],_0x5580ae[_0x1d8a96(0x300)]);_0x5580ae['iv']=_0x129b6e['iv'];var _0x56eb1a=_0x422514[_0x1d8a96(0x32c)][_0x1d8a96(0x3c1)](this,_0x3db482,_0x509f23,_0x129b6e[_0x1d8a96(0x319)],_0x5580ae);return _0x56eb1a[_0x1d8a96(0x1dc)](_0x129b6e),_0x56eb1a;},'decrypt':function(_0x312aa2,_0x4001c8,_0x359d62,_0x2c2930){var _0xabdb90=_0x3f4063;_0x2c2930=this[_0xabdb90(0x157)][_0xabdb90(0x298)](_0x2c2930),_0x4001c8=this[_0xabdb90(0x404)](_0x4001c8,_0x2c2930[_0xabdb90(0x377)]);var _0x1ab816=_0x2c2930[_0xabdb90(0x291)]['execute'](_0x359d62,_0x312aa2[_0xabdb90(0x279)],_0x312aa2[_0xabdb90(0x3a7)],_0x4001c8[_0xabdb90(0x385)],_0x2c2930['hasher']);_0x2c2930['iv']=_0x1ab816['iv'];var _0xc9ed72=_0x422514[_0xabdb90(0x345)]['call'](this,_0x312aa2,_0x4001c8,_0x1ab816[_0xabdb90(0x319)],_0x2c2930);return _0xc9ed72;}});}();}));}(_0x407824)),_0x407824[_0x1819cf(0x42d)];}var _0x3b4b4a=_0x227988[_0x4a9ac9(0x42d)],_0x24745e;function _0x53b78d(){var _0x34a0b5=_0x4a9ac9;return _0x24745e||(_0x24745e=0x1,function(_0x53ce01,_0x4207b2){(function(_0xeda989,_0x3d6c09,_0x58695a){var _0xce04ba=_0x515f;_0x53ce01[_0xce04ba(0x42d)]=_0x3d6c09(_0x576c57(),_0x3a836a(),_0x3a0f7b(),_0x1c2ae5(),_0x2e7639());}(_0x3b4b4a,function(_0x4a8e3b){var _0x4acb76=_0x515f;return(function(){var _0xb0f9a1=_0x515f,_0x55cc00=_0x4a8e3b,_0x1460f8=_0x55cc00['lib'],_0xee5830=_0x1460f8[_0xb0f9a1(0x268)],_0x4fa229=_0x55cc00['algo'],_0x4c0a0c=[],_0x51c8d5=[],_0x562a0c=[],_0x49d982=[],_0x30f00a=[],_0x5e2349=[],_0x2b6213=[],_0x3f804e=[],_0x2b328e=[],_0x6d6d6e=[];(function(){for(var _0x379463=[],_0x61f325=0x0;_0x61f325<0x100;_0x61f325++)_0x61f325<0x80?_0x379463[_0x61f325]=_0x61f325<<0x1:_0x379463[_0x61f325]=_0x61f325<<0x1^0x11b;for(var _0x53123f=0x0,_0xa4a679=0x0,_0x61f325=0x0;_0x61f325<0x100;_0x61f325++){var _0xfaa861=_0xa4a679^_0xa4a679<<0x1^_0xa4a679<<0x2^_0xa4a679<<0x3^_0xa4a679<<0x4;_0xfaa861=_0xfaa861>>>0x8^_0xfaa861&0xff^0x63,_0x4c0a0c[_0x53123f]=_0xfaa861,_0x51c8d5[_0xfaa861]=_0x53123f;var _0x553125=_0x379463[_0x53123f],_0x431616=_0x379463[_0x553125],_0x2b30b0=_0x379463[_0x431616],_0x31daaa=_0x379463[_0xfaa861]*0x101^_0xfaa861*0x1010100;_0x562a0c[_0x53123f]=_0x31daaa<<0x18|_0x31daaa>>>0x8,_0x49d982[_0x53123f]=_0x31daaa<<0x10|_0x31daaa>>>0x10,_0x30f00a[_0x53123f]=_0x31daaa<<0x8|_0x31daaa>>>0x18,_0x5e2349[_0x53123f]=_0x31daaa;var _0x31daaa=_0x2b30b0*0x1010101^_0x431616*0x10001^_0x553125*0x101^_0x53123f*0x1010100;_0x2b6213[_0xfaa861]=_0x31daaa<<0x18|_0x31daaa>>>0x8,_0x3f804e[_0xfaa861]=_0x31daaa<<0x10|_0x31daaa>>>0x10,_0x2b328e[_0xfaa861]=_0x31daaa<<0x8|_0x31daaa>>>0x18,_0x6d6d6e[_0xfaa861]=_0x31daaa,_0x53123f?(_0x53123f=_0x553125^_0x379463[_0x379463[_0x379463[_0x2b30b0^_0x553125]]],_0xa4a679^=_0x379463[_0x379463[_0xa4a679]]):_0x53123f=_0xa4a679=0x1;}}());var _0x3a3740=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xbd07a9=_0x4fa229[_0xb0f9a1(0x371)]=_0xee5830[_0xb0f9a1(0x298)]({'_doReset':function(){var _0x59dd57=_0xb0f9a1,_0x3fedae;if(!(this[_0x59dd57(0xd0)]&&this[_0x59dd57(0x2b5)]===this[_0x59dd57(0x1a8)])){for(var _0x1a254a=this[_0x59dd57(0x2b5)]=this[_0x59dd57(0x1a8)],_0x22b40a=_0x1a254a[_0x59dd57(0xd5)],_0x11ddaa=_0x1a254a[_0x59dd57(0x1a5)]/0x4,_0x2fe5c4=this[_0x59dd57(0xd0)]=_0x11ddaa+0x6,_0x3c63cc=(_0x2fe5c4+0x1)*0x4,_0x10767b=this[_0x59dd57(0x2dc)]=[],_0x46e58b=0x0;_0x46e58b<_0x3c63cc;_0x46e58b++)_0x46e58b<_0x11ddaa?_0x10767b[_0x46e58b]=_0x22b40a[_0x46e58b]:(_0x3fedae=_0x10767b[_0x46e58b-0x1],_0x46e58b%_0x11ddaa?_0x11ddaa>0x6&&_0x46e58b%_0x11ddaa==0x4&&(_0x3fedae=_0x4c0a0c[_0x3fedae>>>0x18]<<0x18|_0x4c0a0c[_0x3fedae>>>0x10&0xff]<<0x10|_0x4c0a0c[_0x3fedae>>>0x8&0xff]<<0x8|_0x4c0a0c[_0x3fedae&0xff]):(_0x3fedae=_0x3fedae<<0x8|_0x3fedae>>>0x18,_0x3fedae=_0x4c0a0c[_0x3fedae>>>0x18]<<0x18|_0x4c0a0c[_0x3fedae>>>0x10&0xff]<<0x10|_0x4c0a0c[_0x3fedae>>>0x8&0xff]<<0x8|_0x4c0a0c[_0x3fedae&0xff],_0x3fedae^=_0x3a3740[_0x46e58b/_0x11ddaa|0x0]<<0x18),_0x10767b[_0x46e58b]=_0x10767b[_0x46e58b-_0x11ddaa]^_0x3fedae);for(var _0x747856=this[_0x59dd57(0x330)]=[],_0x29dc37=0x0;_0x29dc37<_0x3c63cc;_0x29dc37++){var _0x46e58b=_0x3c63cc-_0x29dc37;if(_0x29dc37%0x4)var _0x3fedae=_0x10767b[_0x46e58b];else var _0x3fedae=_0x10767b[_0x46e58b-0x4];_0x29dc37<0x4||_0x46e58b<=0x4?_0x747856[_0x29dc37]=_0x3fedae:_0x747856[_0x29dc37]=_0x2b6213[_0x4c0a0c[_0x3fedae>>>0x18]]^_0x3f804e[_0x4c0a0c[_0x3fedae>>>0x10&0xff]]^_0x2b328e[_0x4c0a0c[_0x3fedae>>>0x8&0xff]]^_0x6d6d6e[_0x4c0a0c[_0x3fedae&0xff]];}}},'encryptBlock':function(_0x3ac6ba,_0x2fe087){var _0x40a528=_0xb0f9a1;this[_0x40a528(0x161)](_0x3ac6ba,_0x2fe087,this[_0x40a528(0x2dc)],_0x562a0c,_0x49d982,_0x30f00a,_0x5e2349,_0x4c0a0c);},'decryptBlock':function(_0x16f6a7,_0x2cca92){var _0x17b47f=_0xb0f9a1,_0x51e159=_0x16f6a7[_0x2cca92+0x1];_0x16f6a7[_0x2cca92+0x1]=_0x16f6a7[_0x2cca92+0x3],_0x16f6a7[_0x2cca92+0x3]=_0x51e159,this[_0x17b47f(0x161)](_0x16f6a7,_0x2cca92,this[_0x17b47f(0x330)],_0x2b6213,_0x3f804e,_0x2b328e,_0x6d6d6e,_0x51c8d5);var _0x51e159=_0x16f6a7[_0x2cca92+0x1];_0x16f6a7[_0x2cca92+0x1]=_0x16f6a7[_0x2cca92+0x3],_0x16f6a7[_0x2cca92+0x3]=_0x51e159;},'_doCryptBlock':function(_0x5e8ce8,_0x52afc2,_0x4cbc04,_0x9637bc,_0x3b737a,_0x3d1a7b,_0x8a093a,_0x3c5588){for(var _0x237acc=this['_nRounds'],_0x1d4c69=_0x5e8ce8[_0x52afc2]^_0x4cbc04[0x0],_0x56e018=_0x5e8ce8[_0x52afc2+0x1]^_0x4cbc04[0x1],_0x446003=_0x5e8ce8[_0x52afc2+0x2]^_0x4cbc04[0x2],_0x38a6b3=_0x5e8ce8[_0x52afc2+0x3]^_0x4cbc04[0x3],_0x376871=0x4,_0x5d8ccc=0x1;_0x5d8ccc<_0x237acc;_0x5d8ccc++){var _0x3f4b93=_0x9637bc[_0x1d4c69>>>0x18]^_0x3b737a[_0x56e018>>>0x10&0xff]^_0x3d1a7b[_0x446003>>>0x8&0xff]^_0x8a093a[_0x38a6b3&0xff]^_0x4cbc04[_0x376871++],_0x3a863a=_0x9637bc[_0x56e018>>>0x18]^_0x3b737a[_0x446003>>>0x10&0xff]^_0x3d1a7b[_0x38a6b3>>>0x8&0xff]^_0x8a093a[_0x1d4c69&0xff]^_0x4cbc04[_0x376871++],_0x50030c=_0x9637bc[_0x446003>>>0x18]^_0x3b737a[_0x38a6b3>>>0x10&0xff]^_0x3d1a7b[_0x1d4c69>>>0x8&0xff]^_0x8a093a[_0x56e018&0xff]^_0x4cbc04[_0x376871++],_0x1a5eab=_0x9637bc[_0x38a6b3>>>0x18]^_0x3b737a[_0x1d4c69>>>0x10&0xff]^_0x3d1a7b[_0x56e018>>>0x8&0xff]^_0x8a093a[_0x446003&0xff]^_0x4cbc04[_0x376871++];_0x1d4c69=_0x3f4b93,_0x56e018=_0x3a863a,_0x446003=_0x50030c,_0x38a6b3=_0x1a5eab;}var _0x3f4b93=(_0x3c5588[_0x1d4c69>>>0x18]<<0x18|_0x3c5588[_0x56e018>>>0x10&0xff]<<0x10|_0x3c5588[_0x446003>>>0x8&0xff]<<0x8|_0x3c5588[_0x38a6b3&0xff])^_0x4cbc04[_0x376871++],_0x3a863a=(_0x3c5588[_0x56e018>>>0x18]<<0x18|_0x3c5588[_0x446003>>>0x10&0xff]<<0x10|_0x3c5588[_0x38a6b3>>>0x8&0xff]<<0x8|_0x3c5588[_0x1d4c69&0xff])^_0x4cbc04[_0x376871++],_0x50030c=(_0x3c5588[_0x446003>>>0x18]<<0x18|_0x3c5588[_0x38a6b3>>>0x10&0xff]<<0x10|_0x3c5588[_0x1d4c69>>>0x8&0xff]<<0x8|_0x3c5588[_0x56e018&0xff])^_0x4cbc04[_0x376871++],_0x1a5eab=(_0x3c5588[_0x38a6b3>>>0x18]<<0x18|_0x3c5588[_0x1d4c69>>>0x10&0xff]<<0x10|_0x3c5588[_0x56e018>>>0x8&0xff]<<0x8|_0x3c5588[_0x446003&0xff])^_0x4cbc04[_0x376871++];_0x5e8ce8[_0x52afc2]=_0x3f4b93,_0x5e8ce8[_0x52afc2+0x1]=_0x3a863a,_0x5e8ce8[_0x52afc2+0x2]=_0x50030c,_0x5e8ce8[_0x52afc2+0x3]=_0x1a5eab;},'keySize':0x100/0x20});_0x55cc00['AES']=_0xee5830[_0xb0f9a1(0xc1)](_0xbd07a9);}()),_0x4a8e3b[_0x4acb76(0x371)];}));}(_0x227988)),_0x227988[_0x34a0b5(0x42d)];}var _0x472caf=_0x53b78d();const _0x2b5247=_0x164355(_0x472caf);var _0xfcabc9=_0x3a836a();const _0x524601=_0x164355(_0xfcabc9);var _0x29788f={'exports':{}},_0x201d61=_0x29788f[_0x4a9ac9(0x42d)],_0x2b4276;function _0x4acd7a(){var _0x211a0e=_0x4a9ac9;return _0x2b4276||(_0x2b4276=0x1,function(_0x4e1ec7,_0x2b8f91){(function(_0x3ae892,_0x251400){var _0x48ea08=_0x515f;_0x4e1ec7[_0x48ea08(0x42d)]=_0x251400(_0x576c57());}(_0x201d61,function(_0x330467){return _0x330467['enc']['Utf8'];}));}(_0x29788f)),_0x29788f[_0x211a0e(0x42d)];}var _0x1d84ec=_0x4acd7a();const _0x30df85=_0x164355(_0x1d84ec);var _0x513618={'exports':{}},_0x2ba85a=_0x513618[_0x4a9ac9(0x42d)],_0x40fc7c;function _0x1974c6(){var _0x2bbf50=_0x4a9ac9;return _0x40fc7c||(_0x40fc7c=0x1,function(_0x40f230,_0xfe44a3){(function(_0x537512,_0x554b02){var _0x35419b=_0x515f;_0x40f230[_0x35419b(0x42d)]=_0x554b02(_0x576c57());}(_0x2ba85a,function(_0x196c2f){var _0x1ce2e8=_0x515f;return(function(){var _0x1ed723=_0x515f;if(typeof ArrayBuffer==_0x1ed723(0x143)){var _0x1ccd28=_0x196c2f,_0x1d2af7=_0x1ccd28[_0x1ed723(0x428)],_0x310b28=_0x1d2af7['WordArray'],_0x122e28=_0x310b28[_0x1ed723(0x3d7)],_0x2fdb61=_0x310b28[_0x1ed723(0x3d7)]=function(_0x30b34e){var _0x23985c=_0x1ed723;if(_0x30b34e instanceof ArrayBuffer&&(_0x30b34e=new Uint8Array(_0x30b34e)),(_0x30b34e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x30b34e instanceof Uint8ClampedArray||_0x30b34e instanceof Int16Array||_0x30b34e instanceof Uint16Array||_0x30b34e instanceof Int32Array||_0x30b34e instanceof Uint32Array||_0x30b34e instanceof Float32Array||_0x30b34e instanceof Float64Array)&&(_0x30b34e=new Uint8Array(_0x30b34e['buffer'],_0x30b34e[_0x23985c(0x154)],_0x30b34e[_0x23985c(0x437)])),_0x30b34e instanceof Uint8Array){for(var _0x3d783c=_0x30b34e[_0x23985c(0x437)],_0x573121=[],_0x453bf8=0x0;_0x453bf8<_0x3d783c;_0x453bf8++)_0x573121[_0x453bf8>>>0x2]|=_0x30b34e[_0x453bf8]<<0x18-_0x453bf8%0x4*0x8;_0x122e28[_0x23985c(0x3c1)](this,_0x573121,_0x3d783c);}else _0x122e28[_0x23985c(0x108)](this,arguments);};_0x2fdb61[_0x1ed723(0x3ad)]=_0x310b28;}}()),_0x196c2f[_0x1ce2e8(0x428)][_0x1ce2e8(0x398)];}));}(_0x513618)),_0x513618[_0x2bbf50(0x42d)];}var _0x157f4c=_0x1974c6();const _0x145f7a=_0x164355(_0x157f4c);var _0x52d416={'exports':{}},_0xe84bf4=_0x52d416[_0x4a9ac9(0x42d)],_0x4b13b6;function _0x589bf3(){var _0x13ce2a=_0x4a9ac9;return _0x4b13b6||(_0x4b13b6=0x1,function(_0x168c3e,_0x5b7f76){(function(_0x17cfb7,_0x53bf9c,_0x1d029f){var _0x22651a=_0x515f;_0x168c3e[_0x22651a(0x42d)]=_0x53bf9c(_0x576c57(),_0x2e7639());}(_0xe84bf4,function(_0x12753f){var _0x2418fa=_0x515f;return _0x12753f['pad'][_0x2418fa(0x231)]={'pad':function(){},'unpad':function(){}},_0x12753f[_0x2418fa(0x3c9)]['NoPadding'];}));}(_0x52d416)),_0x52d416[_0x13ce2a(0x42d)];}var _0x47a926=_0x589bf3();const _0x495650=_0x164355(_0x47a926);function _0x2a2b7b(_0x3d5a3c,_0x34f0e5){var _0x1f6edd=_0x4a9ac9;const _0x2a77d9=_0x34f0e5-_0x3d5a3c[_0x1f6edd(0x337)]%_0x34f0e5,_0xe5f949=String[_0x1f6edd(0x22b)](_0x2a77d9)['repeat'](_0x2a77d9);return _0x3d5a3c+_0xe5f949;}function _0x1c615f(_0x265287,_0xe13727){var _0x593aa6=_0x4a9ac9;const _0x191be4=_0x145f7a[_0x593aa6(0x255)](0x10),_0x5cfe3b=_0x2a2b7b(_0x265287,0x10),_0x2495bb=_0x2b5247['encrypt'](_0x30df85['parse'](_0x5cfe3b),_0x524601['parse'](_0xe13727),{'iv':_0x191be4,'padding':_0x495650});return _0x191be4['concat'](_0x2495bb[_0x593aa6(0x459)])[_0x593aa6(0x1b1)](_0x524601);}function _0x5f1112(){var _0x4a85c7=_0x4a9ac9;const _0x59598d=_0x4ae2a6[_0x4a85c7(0x1ce)]()[_0x4a85c7(0x19e)];if(_0x59598d){const _0x2fee29={'time':Math[_0x4a85c7(0x3a4)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x1c615f(JSON[_0x4a85c7(0x195)](_0x2fee29),_0x59598d);}}var _0x1e0e92=Object['getOwnPropertyDescriptor'],_0xece349=(_0x30e8c6,_0x19ede,_0x1e5dc9,_0x3dd9de)=>{var _0x5b7785=_0x4a9ac9;for(var _0x2c8db3=_0x3dd9de>0x1?void 0x0:_0x3dd9de?_0x1e0e92(_0x19ede,_0x1e5dc9):_0x19ede,_0x1881d9=_0x30e8c6[_0x5b7785(0x337)]-0x1,_0x5b9479;_0x1881d9>=0x0;_0x1881d9--)(_0x5b9479=_0x30e8c6[_0x1881d9])&&(_0x2c8db3=_0x5b9479(_0x2c8db3)||_0x2c8db3);return _0x2c8db3;},_0x37aef5=(_0x29ae90,_0x52de04)=>(_0x20c25c,_0x3ef106)=>_0x52de04(_0x20c25c,_0x3ef106,_0x29ae90);let _0x29cb3a=class{constructor(_0x3b76ce){var _0x410b92=_0x4a9ac9;this['_httpService']=_0x3b76ce,this[_0x410b92(0x325)]();}[_0x4a9ac9(0x325)](){var _0x2a7d67=_0x4a9ac9;this[_0x2a7d67(0x16f)][_0x2a7d67(0x3d4)]({'interceptor':(_0x170027,_0x416942)=>{var _0x15cfb2=_0x2a7d67;const _0x466553=_0x170027[_0x15cfb2(0x222)],_0x5a684c=_0x5f1112();return _0x5a684c&&_0x466553[_0x15cfb2(0x356)](_0x15cfb2(0x22d),_0x5a684c),_0x416942(_0x170027);}});}};_0x29cb3a=_0xece349([_0x37aef5(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1['HTTPService']))],_0x29cb3a);var _0x5e0736=Object['getOwnPropertyDescriptor'],_0x2b691d=(_0x40ac74,_0x19a62b,_0x166850,_0xfe7c9d)=>{var _0x183820=_0x4a9ac9;for(var _0x4a0532=_0xfe7c9d>0x1?void 0x0:_0xfe7c9d?_0x5e0736(_0x19a62b,_0x166850):_0x19a62b,_0x1e946b=_0x40ac74[_0x183820(0x337)]-0x1,_0x3016a9;_0x1e946b>=0x0;_0x1e946b--)(_0x3016a9=_0x40ac74[_0x1e946b])&&(_0x4a0532=_0x3016a9(_0x4a0532)||_0x4a0532);return _0x4a0532;},_0x3b8089=(_0x1b07a0,_0x34e45e)=>(_0x530c9e,_0x274c0b)=>_0x34e45e(_0x530c9e,_0x274c0b,_0x1b07a0);_0x4113be['DataLoaderService']=class extends _0x414ab0['RxDisposable']{constructor(_0x3dfae5,_0x518bce,_0x1b17bc){var _0x229889=_0x4a9ac9;super(),_0x213c49(this,_0x229889(0x2e4),new _0x5691e8['BehaviorSubject'](null)),_0x213c49(this,_0x229889(0x438),this['_unitInfo$'][_0x229889(0x3cf)]()),(this['_logService']=_0x3dfae5,this[_0x229889(0xd1)]=_0x518bce,this[_0x229889(0xee)]=_0x1b17bc);}async[_0x4a9ac9(0x2e7)](_0x340035,_0x959ccb,_0x2f57e9){var _0x55c084=_0x4a9ac9;this[_0x55c084(0x2e4)][_0x55c084(0x2d0)]({'unitId':_0x340035,'type':_0x959ccb});let _0x4bdbea=null;switch(_0x959ccb){case _0x5599c4[_0x55c084(0x429)]:{_0x4bdbea=await this[_0x55c084(0xd1)][_0x55c084(0x289)](_0x340035,_0x2f57e9);break;}case _0x5599c4[_0x55c084(0x120)]:{_0x4bdbea=await this['_snapshotService'][_0x55c084(0x3fa)](_0x340035,_0x2f57e9);break;}default:{this[_0x55c084(0x426)][_0x55c084(0x2ad)](_0x55c084(0x1a7),_0x55c084(0x388));break;}}return _0x4bdbea;}async[_0x4a9ac9(0x346)](_0x262deb,_0x2aa33b,_0x40dfaa){var _0x29faa2=_0x4a9ac9,_0x4d14f7;this[_0x29faa2(0x2e4)]['next']({'unitId':_0x262deb,'type':_0x2aa33b,'subUnitId':_0x40dfaa});let _0x4efd9c=0x0;const _0x59ec0b=await((_0x4d14f7=this[_0x29faa2(0xee)])==null?void 0x0:_0x4d14f7[_0x29faa2(0x270)](_0x262deb));return _0x59ec0b&&(_0x59ec0b['awaitingChangeset']||_0x59ec0b[_0x29faa2(0x1a1)][_0x29faa2(0x337)]!==0x0)&&(_0x4efd9c=_0x59ec0b[_0x29faa2(0x204)]),_0x4efd9c===0x0&&this[_0x29faa2(0x426)]['debug'](_0x29faa2(0x1a7),_0x29faa2(0x138)),this[_0x29faa2(0x2e7)](_0x262deb,_0x2aa33b,_0x4efd9c);}},_0x4113be[_0x4a9ac9(0x128)]=_0x2b691d([_0x3b8089(0x0,_0x414ab0['ILogService']),_0x3b8089(0x1,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x2b0)])),_0x3b8089(0x2,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be['DataLoaderService']);var _0x137d67=Object[_0x4a9ac9(0xf9)],_0x3b3f72=(_0x29b503,_0xed1a2d,_0x3131b8,_0x4e7ec1)=>{var _0xebac0=_0x4a9ac9;for(var _0x57dd53=_0x4e7ec1>0x1?void 0x0:_0x4e7ec1?_0x137d67(_0xed1a2d,_0x3131b8):_0xed1a2d,_0x44369f=_0x29b503[_0xebac0(0x337)]-0x1,_0x1e5fba;_0x44369f>=0x0;_0x44369f--)(_0x1e5fba=_0x29b503[_0x44369f])&&(_0x57dd53=_0x1e5fba(_0x57dd53)||_0x57dd53);return _0x57dd53;},_0x13f26e=(_0x120533,_0x1c8065)=>(_0x5da9b0,_0x5518c9)=>_0x1c8065(_0x5da9b0,_0x5518c9,_0x120533);const _0x1ae77f=[_0x4a9ac9(0x352),'image/jpeg',_0x4a9ac9(0x33e),_0x4a9ac9(0x44b),_0x4a9ac9(0x26f)],_0x338689=0x5*0x400*0x400,_0x4cd13d='/universer-api/stream/file/upload',_0x339a94=_0x4a9ac9(0x372);_0x4113be[_0x4a9ac9(0x179)]=class{constructor(_0x5c89c3,_0x45ac7b,_0x1a6cbe){var _0x4a725c=_0x4a9ac9;_0x213c49(this,'_waitCount',0x0),_0x213c49(this,'_change$',new _0x5691e8[(_0x4a725c(0x220))]()),_0x213c49(this,_0x4a725c(0x2b4),this[_0x4a725c(0x44c)]),_0x213c49(this,'_imageSourceCache',new Map()),(this[_0x4a725c(0x16f)]=_0x5c89c3,this[_0x4a725c(0x14e)]=_0x45ac7b,this[_0x4a725c(0x3bf)]=_0x1a6cbe);}[_0x4a9ac9(0x121)](_0x456375){var _0x17957a=_0x4a9ac9;this[_0x17957a(0x2d5)]=_0x456375,this['_change$']['next'](_0x456375);}[_0x4a9ac9(0x336)](_0x4ad942,_0x10d7d9){var _0xe4f8d0=_0x4a9ac9;if(_0x10d7d9===_0x3f9464[_0xe4f8d0(0x153)][_0xe4f8d0(0x1cf)]){const _0x123cf2=new Image();return _0x123cf2[_0xe4f8d0(0x396)]=_0x4ad942,_0x123cf2;}return this['_imageSourceCache'][_0xe4f8d0(0x218)](_0x4ad942);}[_0x4a9ac9(0x3af)](_0x82449b,_0x2b5e9e,_0x15d47e){var _0x5dccca=_0x4a9ac9;_0x2b5e9e===_0x3f9464[_0x5dccca(0x153)][_0x5dccca(0x1cf)]||_0x15d47e==null||this[_0x5dccca(0x3f3)]['set'](_0x82449b,_0x15d47e);}async[_0x4a9ac9(0x367)](_0x20476a){var _0x1e7db=_0x4a9ac9;try{const _0x2e5cbe=this[_0x1e7db(0x40c)](this[_0x1e7db(0x133)](),''+_0x20476a),_0x5570d9=(await this[_0x1e7db(0x16f)][_0x1e7db(0x218)](_0x2e5cbe))[_0x1e7db(0xec)];if(_0x5570d9[_0x1e7db(0x2ad)]&&_0x5570d9['error']['code']===_0xcd798d['OK']){const _0xc94abb=new URL(_0x5570d9[_0x1e7db(0x28e)],this[_0x1e7db(0x187)]())[_0x1e7db(0x1b1)]();return Promise[_0x1e7db(0x441)](_0xc94abb);}return Promise[_0x1e7db(0x146)](_0x5570d9[_0x1e7db(0x2ad)]);}catch(_0xa4c267){return Promise[_0x1e7db(0x146)](_0xa4c267);}}async[_0x4a9ac9(0x1cb)](_0x20dc22){var _0x27f99b=_0x4a9ac9;let _0x5026a9='';if(!_0x1ae77f[_0x27f99b(0x258)](_0x20dc22[_0x27f99b(0x1ca)]))return this[_0x27f99b(0x34b)](),Promise[_0x27f99b(0x146)](new Error(_0x3f9464[_0x27f99b(0x288)]['ERROR_IMAGE_TYPE']));if(_0x20dc22['size']>_0x338689)return this[_0x27f99b(0x34b)](),Promise['reject'](new Error(_0x3f9464[_0x27f99b(0x288)][_0x27f99b(0x360)]));try{const _0x24db27=new FormData();_0x24db27[_0x27f99b(0x442)](_0x27f99b(0x33a),_0x20dc22);const _0x5e47ca=this['_univerInstanceService'][_0x27f99b(0x159)](),_0x5268b9=_0x5e47ca==null?void 0x0:_0x5e47ca[_0x27f99b(0x420)]();if(!_0x5268b9)throw new Error(_0x27f99b(0xd2));const _0xf99e49=this['_getUploadFileURL']()+_0x27f99b(0x34c)+_0x20dc22[_0x27f99b(0x19d)]['toString']()+'&source='+_0xbed5ec['UnitEmbedded']+'&assign='+encodeURIComponent(_0x5268b9),_0xabd736={'body':_0x24db27},_0xb3ddae=(await this[_0x27f99b(0x16f)][_0x27f99b(0x1fe)](_0xf99e49,_0xabd736))['body'];if(typeof _0xb3ddae[_0x27f99b(0x2a1)]!=_0x27f99b(0x299))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3f9464['ImageUploadStatusType'][_0x27f99b(0x112)]));_0x5026a9=_0xb3ddae[_0x27f99b(0x2a1)];}catch{return this[_0x27f99b(0x34b)](),Promise['reject'](new Error(_0x3f9464['ImageUploadStatusType'][_0x27f99b(0x112)]));}return new Promise((_0x1f908c,_0x24180b)=>{var _0x180424=_0x27f99b;const _0x1c8b63=new FileReader();_0x1c8b63['readAsDataURL'](_0x20dc22),_0x1c8b63[_0x180424(0x21e)]=_0x558fcc=>{var _0x5c4ba3=_0x180424,_0x242963;const _0x263f09=(_0x242963=_0x558fcc['target'])==null?void 0x0:_0x242963['result'];if(_0x263f09==null){this[_0x5c4ba3(0x34b)](),_0x24180b(new Error(_0x3f9464[_0x5c4ba3(0x288)]['ERROR_IMAGE']));return;}const _0x3c08b1=_0x414ab0['generateRandomId'](0x6);_0x1f908c({'imageId':_0x3c08b1,'imageSourceType':_0x3f9464[_0x5c4ba3(0x153)][_0x5c4ba3(0x1b2)],'source':_0x5026a9,'base64Cache':_0x263f09,'status':_0x3f9464['ImageUploadStatusType'][_0x5c4ba3(0x19f)]}),this[_0x5c4ba3(0x34b)]();};});}[_0x4a9ac9(0x311)](){var _0x1e7a8d=_0x4a9ac9,_0x14af70;const _0x38dd33=this['_configService'][_0x1e7a8d(0xfb)](_0xfa3b98);return(_0x14af70=_0x38dd33==null?void 0x0:_0x38dd33[_0x1e7a8d(0x19b)])!=null?_0x14af70:_0x4cd13d;}[_0x4a9ac9(0x133)](){var _0x102f0e=_0x4a9ac9,_0x1a0aa4;const _0x576951=this['_configService']['getConfig'](_0xfa3b98);return(_0x1a0aa4=_0x576951==null?void 0x0:_0x576951[_0x102f0e(0x1cc)])!=null?_0x1a0aa4:_0x339a94;}['_getDownloadEndpointURL'](){var _0x3b4d71=_0x4a9ac9,_0x2e8a62;const _0x560317=this[_0x3b4d71(0x14e)]['getConfig'](_0xfa3b98);return(_0x2e8a62=_0x560317==null?void 0x0:_0x560317[_0x3b4d71(0x324)])!=null?_0x2e8a62:location[_0x3b4d71(0x36d)];}[_0x4a9ac9(0x40c)](_0x445afc,_0x4c44d7){var _0x6db6aa=_0x4a9ac9;return _0x445afc[_0x6db6aa(0x170)]('{fileID}',_0x4c44d7);}['_decreaseWaiting'](){var _0x3b161c=_0x4a9ac9;this[_0x3b161c(0x2d5)]-=0x1,this[_0x3b161c(0x44c)][_0x3b161c(0x2d0)](this['_waitCount']);}},_0x4113be[_0x4a9ac9(0x179)]=_0x3b3f72([_0x13f26e(0x0,_0x414ab0['Inject'](_0x3bd1c1[_0x4a9ac9(0x354)])),_0x13f26e(0x1,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x13f26e(0x2,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2f2)]))],_0x4113be['CollaborationImageIoService']);var _0x9cd1ea=Object['getOwnPropertyDescriptor'],_0x34e72f=(_0x21f83c,_0xf2c6b2,_0x3a54e7,_0x3cb429)=>{var _0x1b17da=_0x4a9ac9;for(var _0x5196c6=_0x3cb429>0x1?void 0x0:_0x3cb429?_0x9cd1ea(_0xf2c6b2,_0x3a54e7):_0xf2c6b2,_0x370f97=_0x21f83c[_0x1b17da(0x337)]-0x1,_0x51c977;_0x370f97>=0x0;_0x370f97--)(_0x51c977=_0x21f83c[_0x370f97])&&(_0x5196c6=_0x51c977(_0x5196c6)||_0x5196c6);return _0x5196c6;},_0x2b2fed=(_0x5b115e,_0x5dc348)=>(_0x17c227,_0x1a7942)=>_0x5dc348(_0x17c227,_0x1a7942,_0x5b115e);const _0x357087=_0x4a9ac9(0x451);_0x4113be[_0x4a9ac9(0x19c)]=class{constructor(_0x594ade,_0x3d3f28){var _0x2ac566=_0x4a9ac9;this[_0x2ac566(0x14e)]=_0x594ade,this[_0x2ac566(0xeb)]=_0x3d3f28;}[_0x4a9ac9(0x1db)](){var _0x1a95bb=_0x4a9ac9,_0x18d786;const _0x1c7661=this[_0x1a95bb(0x14e)]['getConfig'](_0xfa3b98);return(_0x18d786=_0x1c7661==null?void 0x0:_0x1c7661[_0x1a95bb(0x27b)])!=null?_0x18d786:_0x357087;}async[_0x4a9ac9(0x186)](_0x191ba3){var _0xfb039a=_0x4a9ac9;const _0x53dde2=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0xfb039a(0x36b),'mentions':(await this['_HTTPService'][_0xfb039a(0x218)](_0x53dde2,{'params':{'objectID':_0x191ba3['unitId'],'unitID':_0x191ba3[_0xfb039a(0x44f)]}}))[_0xfb039a(0xec)][_0xfb039a(0x411)][_0xfb039a(0x45d)](_0x461379=>({'objectId':_0x461379['id'],'name':_0x461379[_0xfb039a(0x223)][_0xfb039a(0x410)],'metadata':{'icon':_0x461379['subject'][_0xfb039a(0x3f4)]},'label':_0x461379[_0xfb039a(0x223)][_0xfb039a(0x410)],'objectType':_0x414ab0['MentionType']['PERSON']})),'metadata':{},'type':_0x414ab0['MentionType'][_0xfb039a(0xe5)]}]};}},_0x4113be[_0x4a9ac9(0x19c)]=_0x34e72f([_0x2b2fed(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x1a4)])),_0x2b2fed(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1[_0x4a9ac9(0x354)]))],_0x4113be[_0x4a9ac9(0x19c)]);var _0x552d8b=Object[_0x4a9ac9(0xf9)],_0x4ec73e=(_0x4e8703,_0x10cbd0,_0xae2e23,_0x2b5d29)=>{var _0x442a33=_0x4a9ac9;for(var _0x8b0596=_0x2b5d29>0x1?void 0x0:_0x2b5d29?_0x552d8b(_0x10cbd0,_0xae2e23):_0x10cbd0,_0x3dddc2=_0x4e8703[_0x442a33(0x337)]-0x1,_0x76c91e;_0x3dddc2>=0x0;_0x3dddc2--)(_0x76c91e=_0x4e8703[_0x3dddc2])&&(_0x8b0596=_0x76c91e(_0x8b0596)||_0x8b0596);return _0x8b0596;},_0x460c7f=(_0x2e364e,_0x519693)=>(_0x11d7c8,_0x247343)=>_0x519693(_0x11d7c8,_0x247343,_0x2e364e);let _0x34aaee=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x4f880a,_0x3554ff,_0x35236f,_0x98c34c,_0x38a278){var _0x2ace43=_0x4a9ac9;super(),this['_injector']=_0x4f880a,this[_0x2ace43(0x3bf)]=_0x3554ff,this[_0x2ace43(0x38d)]=_0x35236f,this[_0x2ace43(0x30d)]=_0x98c34c,this[_0x2ace43(0x167)]=_0x38a278,this[_0x2ace43(0x2a2)](),this[_0x2ace43(0x114)]();}[_0x4a9ac9(0x114)](){var _0x408ae5=_0x4a9ac9;const _0x5079f6=async _0x55588d=>{var _0x4667aa=_0x515f;(await this[_0x4667aa(0x30d)][_0x4667aa(0x2fc)](_0x55588d))['event$'][_0x4667aa(0x282)](_0x1f22ee[_0x4667aa(0xef)](_0x12802c=>_0x12802c['eventID']===_0x19b128['CollaborationEvent'][_0x4667aa(0x1cd)]),_0x1f22ee[_0x4667aa(0x399)](this['dispose$']))['subscribe'](_0x25e9da=>{var _0x3ab976=_0x4667aa;const _0x5e5b78=_0x25e9da,{reason:_0x28f98e}=_0x5e5b78['data'];this[_0x3ab976(0x167)][_0x3ab976(0x3f6)]({'id':_0x51d7a4[_0x3ab976(0x395)],'data':_0x28f98e}),this[_0x3ab976(0x38d)][_0x3ab976(0x23b)](new _0x19c319[(_0x3ab976(0x415))](_0x55588d)['id'],!0x1),this[_0x3ab976(0x30d)][_0x3ab976(0x280)](_0x55588d);});};_0x5691e8[_0x408ae5(0x3e1)](this[_0x408ae5(0x3bf)][_0x408ae5(0x314)](_0x414ab0[_0x408ae5(0x20f)][_0x408ae5(0x429)]),this[_0x408ae5(0x3bf)]['getTypeOfUnitAdded$'](_0x414ab0[_0x408ae5(0x20f)][_0x408ae5(0x120)]))[_0x408ae5(0x282)](_0x1f22ee[_0x408ae5(0x45d)](_0x381132=>_0x381132['getUnitId']()),_0x1f22ee['filter'](_0x3ebc1a=>!_0x414ab0[_0x408ae5(0x207)](_0x3ebc1a)),_0x1f22ee['takeUntil'](this[_0x408ae5(0x3bc)]))[_0x408ae5(0x32f)](_0x40067b=>{_0x5079f6(_0x40067b);});}['_initUnitPermissionChange'](){var _0x4a9261=_0x4a9ac9;const _0x598ec4=async _0x586dbf=>{var _0x4a0121=_0x515f;const _0x4a7f84=await this['_collaborationSessionService'][_0x4a0121(0x2fc)](_0x586dbf),_0x1c7b4b=this['_injector'][_0x4a0121(0x218)](_0x19c319[_0x4a0121(0x1fd)]);_0x4a7f84[_0x4a0121(0x37f)][_0x4a0121(0x282)](_0x1f22ee[_0x4a0121(0xef)](_0x4fd922=>_0x4fd922[_0x4a0121(0x439)]===_0x19b128[_0x4a0121(0xd3)]['UPDATE_PERMISSION_OBJ']),_0x1f22ee[_0x4a0121(0x399)](this[_0x4a0121(0x3bc)]))['subscribe'](_0x5707ea=>{var _0x2c15bb=_0x4a0121;const _0x14e402=_0x5707ea,{objectId:_0xf8257a}=_0x14e402[_0x2c15bb(0xc7)];_0xf8257a===_0x586dbf?_0x1c7b4b['initWorkbookPermissionChange'](_0x586dbf):_0x1c7b4b['refreshPermission'](_0x586dbf,_0xf8257a);});};_0x5691e8['merge'](this[_0x4a9261(0x3bf)][_0x4a9261(0x314)](_0x414ab0['UniverInstanceType']['UNIVER_SHEET']))[_0x4a9261(0x282)](_0x1f22ee[_0x4a9261(0x45d)](_0x58fc85=>_0x58fc85[_0x4a9261(0x420)]()),_0x1f22ee[_0x4a9261(0xef)](_0x8cf009=>!_0x414ab0[_0x4a9261(0x207)](_0x8cf009)),_0x1f22ee[_0x4a9261(0x399)](this[_0x4a9261(0x3bc)]))[_0x4a9261(0x32f)](_0x324811=>{_0x598ec4(_0x324811);});}};_0x34aaee=_0x4ec73e([_0x460c7f(0x0,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x460c7f(0x1,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x460c7f(0x2,_0x414ab0['IPermissionService']),_0x460c7f(0x3,_0x414ab0[_0x4a9ac9(0x11f)](_0x4113be[_0x4a9ac9(0x103)])),_0x460c7f(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78))],_0x34aaee);var _0x3f2c41=Object[_0x4a9ac9(0xf9)],_0x1b625a=(_0x52b432,_0x33f75a,_0x1d0b14,_0x3eef25)=>{var _0x397af6=_0x4a9ac9;for(var _0x56b2c9=_0x3eef25>0x1?void 0x0:_0x3eef25?_0x3f2c41(_0x33f75a,_0x1d0b14):_0x33f75a,_0x18dfba=_0x52b432[_0x397af6(0x337)]-0x1,_0x1c41c9;_0x18dfba>=0x0;_0x18dfba--)(_0x1c41c9=_0x52b432[_0x18dfba])&&(_0x56b2c9=_0x1c41c9(_0x56b2c9)||_0x56b2c9);return _0x56b2c9;},_0x1a19e6=(_0x2cc949,_0x146eba)=>(_0x371fac,_0x16f1e3)=>_0x146eba(_0x371fac,_0x16f1e3,_0x2cc949);_0x4113be[_0x4a9ac9(0x102)]=class{constructor(_0x21a7e8,_0x4ba5e0){var _0x1c598b=_0x4a9ac9;this[_0x1c598b(0x14e)]=_0x21a7e8,this[_0x1c598b(0x16f)]=_0x4ba5e0;}async['getUnitOnRev'](_0x28e5be,_0x40674d){var _0x1e740f=_0x4a9ac9,_0x30519f;const {unitID:_0x577363,type:_0x647d17,revision:_0x3799cd=0x0}=_0x40674d,_0x1e2a22=this['getSnapshotAPIPath']()+'/'+_0x647d17+_0x1e740f(0x39a)+_0x577363+_0x1e740f(0x3c7)+_0x3799cd,_0x59df4f=(await this['_httpService'][_0x1e740f(0x218)](_0x1e2a22))[_0x1e740f(0xec)],_0x4e3552=(_0x30519f=_0x59df4f[_0x1e740f(0x3ae)])==null?void 0x0:_0x30519f[_0x1e740f(0x181)];if(_0x4e3552){const _0x21b826=_0x4e3552==null?void 0x0:_0x4e3552['originalMeta'],_0x423f50=_0x19b128[_0x1e740f(0x2c0)][_0x1e740f(0x40f)](_0x19b128['b64DecodeUnicode'](_0x21b826));_0x4e3552[_0x1e740f(0x2e9)]=_0x423f50,Object['entries'](_0x4e3552['sheets'])['forEach'](([,_0x216753])=>{var _0xcdfba0=_0x1e740f;const _0x24825a=_0x216753[_0xcdfba0(0x2e9)],_0x55bcc4=_0x19b128[_0xcdfba0(0x2c0)][_0xcdfba0(0x40f)](_0x19b128['b64DecodeUnicode'](_0x24825a));_0x216753[_0xcdfba0(0x2e9)]=_0x55bcc4;});}return _0x59df4f;}async['getSheetBlock'](_0x490ca5,_0x430dab){var _0x27a2e2=_0x4a9ac9;const {unitID:_0x37790b,type:_0x23154a,blockID:_0x5023bb}=_0x430dab,_0x2342fa=this[_0x27a2e2(0x1fb)]()+'/'+_0x23154a+_0x27a2e2(0x39a)+_0x37790b+'/block/'+_0x5023bb;return(await this[_0x27a2e2(0x16f)]['get'](_0x2342fa))['body'];}async[_0x4a9ac9(0x142)](_0x522e89,_0x5c871c){var _0x57da77=_0x4a9ac9;const {unitID:_0x5746ea,type:_0x5efedc,blockID:_0x52cbfa}=_0x5c871c,_0x7fc9b=this[_0x57da77(0x1fb)]()+_0x57da77(0x1f9)+_0x5efedc+_0x57da77(0x39a)+_0x5746ea+_0x57da77(0x1f9)+_0x52cbfa;return(await this['_httpService'][_0x57da77(0x218)](_0x7fc9b))['body'];}async[_0x4a9ac9(0x31c)](_0x4083e7,_0x833aa){var _0x1f2232=_0x4a9ac9;const {unitID:_0x7d498e,type:_0x2c2928,from:_0x34b357,to:_0x217a21}=_0x833aa,_0x737ab1=this[_0x1f2232(0x1fb)]()+'/'+_0x2c2928+_0x1f2232(0x39a)+_0x7d498e+_0x1f2232(0xe8)+_0x34b357+_0x1f2232(0xf4)+_0x217a21;return(await this[_0x1f2232(0x16f)]['get'](_0x737ab1))[_0x1f2232(0xec)];}[_0x4a9ac9(0x391)](){var _0x2c73fd=_0x4a9ac9,_0x107a9e;return(_0x107a9e=this[_0x2c73fd(0x14e)][_0x2c73fd(0xfb)](_0x41378d))!=null?_0x107a9e:this[_0x2c73fd(0x1fb)]();}[_0x4a9ac9(0x1fb)](){var _0x5372d4=_0x4a9ac9,_0x5e663b;const _0x3ab1e7=this[_0x5372d4(0x14e)]['getConfig'](_0xfa3b98);return(_0x5e663b=_0x3ab1e7==null?void 0x0:_0x3ab1e7[_0x5372d4(0xe9)])!=null?_0x5e663b:_0x49d908;}async['getResourcesRequest'](_0x23ee2d,_0x234b05){var _0x35aa83=_0x4a9ac9;const _0x4b30d7='/universer-api/snapshot/'+_0x234b05[_0x35aa83(0x1ca)]+_0x35aa83(0x39a)+_0x234b05[_0x35aa83(0x227)]+_0x35aa83(0x1ea);return(await this['_httpService'][_0x35aa83(0x218)](_0x4b30d7,{'params':{'resourceId':JSON[_0x35aa83(0x195)](_0x234b05['resourceIDs'])}}))[_0x35aa83(0xec)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x3038d1=_0x4a9ac9;throw new Error(_0x3038d1(0xda));}['saveSheetBlock'](){var _0x32fb91=_0x4a9ac9;throw new Error(_0x32fb91(0xda));}[_0x4a9ac9(0x3f0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x5037b2=_0x4a9ac9;throw new Error(_0x5037b2(0xda));}[_0x4a9ac9(0x32e)](){var _0x2bc52e=_0x4a9ac9;throw new Error(_0x2bc52e(0xda));}},_0x4113be[_0x4a9ac9(0x102)]=_0x1b625a([_0x1a19e6(0x0,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x1a19e6(0x1,_0x414ab0['Inject'](_0x3bd1c1[_0x4a9ac9(0x354)]))],_0x4113be[_0x4a9ac9(0x102)]);var _0x58acf6=Object[_0x4a9ac9(0xf9)],_0x362f1f=(_0x347b19,_0x544f66,_0x17268d,_0x1e8ce1)=>{var _0x4eb1cd=_0x4a9ac9;for(var _0x34e50f=_0x1e8ce1>0x1?void 0x0:_0x1e8ce1?_0x58acf6(_0x544f66,_0x17268d):_0x544f66,_0x5ecf5b=_0x347b19[_0x4eb1cd(0x337)]-0x1,_0x37159f;_0x5ecf5b>=0x0;_0x5ecf5b--)(_0x37159f=_0x347b19[_0x5ecf5b])&&(_0x34e50f=_0x37159f(_0x34e50f)||_0x34e50f);return _0x34e50f;},_0x49ed12=(_0x4664ef,_0x8a5df5)=>(_0x4d25f7,_0x410cd0)=>_0x8a5df5(_0x4d25f7,_0x410cd0,_0x4664ef);_0x4113be['CollaborativeUndoRedoService']=class extends _0x414ab0[_0x4a9ac9(0x139)]{constructor(_0x32e966,_0x442e89,_0x3c0f7a,_0x33d5d2,_0x566594){super(_0x32e966,_0x442e89,_0x3c0f7a),this['_transformService']=_0x33d5d2,this['_logService']=_0x566594;}[_0x4a9ac9(0x242)](_0x35287a,_0x42a191){var _0x2d47e3=_0x4a9ac9;const _0x222d12=this[_0x2d47e3(0x1f0)](_0x35287a);if(_0x222d12)try{const _0x25653c=this[_0x2d47e3(0x312)](_0x222d12,_0x42a191);this['_substituteUndoStack'](_0x35287a,_0x25653c);}catch(_0x7df686){this[_0x2d47e3(0x426)]['error'](_0x2d47e3(0x236),_0x7df686),this[_0x2d47e3(0x1fa)](_0x35287a);}const _0x570ae4=this[_0x2d47e3(0x232)](_0x35287a);if(_0x570ae4)try{const _0x51660f=this[_0x2d47e3(0x312)](_0x570ae4,_0x42a191);this[_0x2d47e3(0x25b)](_0x35287a,_0x51660f);}catch(_0x5eb7cd){this[_0x2d47e3(0x426)][_0x2d47e3(0x2ad)](_0x5eb7cd),this[_0x2d47e3(0x16b)](_0x35287a);}}[_0x4a9ac9(0x1fa)](_0x400e9d){var _0x150a53=_0x4a9ac9;const _0x6e1c60=this[_0x150a53(0x1f0)](_0x400e9d);_0x6e1c60&&(_0x6e1c60[_0x150a53(0x337)]=0x0,this['_updateStatus']());}[_0x4a9ac9(0x16b)](_0x2475a2){var _0x5a01f6=_0x4a9ac9;const _0xf9611e=this['_getRedoStack'](_0x2475a2);_0xf9611e&&(_0xf9611e[_0x5a01f6(0x337)]=0x0,this[_0x5a01f6(0x23c)]());}[_0x4a9ac9(0x40b)](_0x2bf73f,_0x4deb30){var _0x12abad=_0x4a9ac9;this[_0x12abad(0xfc)]['set'](_0x2bf73f,_0x4deb30),this[_0x12abad(0x23c)]();}['_substituteRedoStack'](_0x55f211,_0x13e890){var _0x41f169=_0x4a9ac9;this[_0x41f169(0x2ca)][_0x41f169(0x356)](_0x55f211,_0x13e890),this[_0x41f169(0x23c)]();}[_0x4a9ac9(0x312)](_0x1bd40b,_0xc1cce2){var _0x5172bb=_0x4a9ac9;const _0x46b955=[];let _0x2c57c9=_0xc1cce2,_0x55c89e=_0xc1cce2;for(let _0x23ece3=_0x1bd40b['length']-0x1;_0x23ece3>=0x0;_0x23ece3--){const {unitID:_0x1df3ad,undoMutations:_0x261ca3,redoMutations:_0xe255ec}=_0x1bd40b[_0x23ece3],_0x2eeb1f=this[_0x5172bb(0x413)][_0x5172bb(0x260)](_0x2c57c9,_0x261ca3),_0x297303=this[_0x5172bb(0x413)]['transformMutationsWithChangeset'](_0x55c89e,_0xe255ec);if(_0x19b128[_0x5172bb(0x3fd)](_0x2eeb1f)||_0x19b128[_0x5172bb(0x3fd)](_0x297303)){this[_0x5172bb(0x426)][_0x5172bb(0x2ad)]('[CollaborationUndoRedoService]',_0x5172bb(0x445),_0x2eeb1f,_0x297303);break;}_0x2c57c9=_0x2eeb1f['c1Prime'],_0x55c89e=_0x297303[_0x5172bb(0x2cb)],_0x46b955['push']({'unitID':_0x1df3ad,'undoMutations':_0x2eeb1f[_0x5172bb(0x347)],'redoMutations':_0x297303[_0x5172bb(0x347)]});}return _0x46b955[_0x5172bb(0x416)]();}},_0x4113be[_0x4a9ac9(0x136)]=_0x362f1f([_0x49ed12(0x0,_0x414ab0['IUniverInstanceService']),_0x49ed12(0x1,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x49ed12(0x2,_0x414ab0['IContextService']),_0x49ed12(0x3,_0x19b128[_0x4a9ac9(0x2c6)]),_0x49ed12(0x4,_0x414ab0['ILogService'])],_0x4113be['CollaborativeUndoRedoService']);var _0x54c2d1=Object[_0x4a9ac9(0x1a2)],_0x134334=Object[_0x4a9ac9(0xf9)],_0x1e5321=(_0x30a975,_0x23c277,_0x400957)=>_0x23c277 in _0x30a975?_0x54c2d1(_0x30a975,_0x23c277,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x400957}):_0x30a975[_0x23c277]=_0x400957,_0x5c932a=(_0x20ab88,_0x4e8995,_0x2b4214,_0x441103)=>{var _0x399f0c=_0x4a9ac9;for(var _0x582900=_0x441103>0x1?void 0x0:_0x441103?_0x134334(_0x4e8995,_0x2b4214):_0x4e8995,_0x366c84=_0x20ab88[_0x399f0c(0x337)]-0x1,_0x25aa26;_0x366c84>=0x0;_0x366c84--)(_0x25aa26=_0x20ab88[_0x366c84])&&(_0x582900=_0x25aa26(_0x582900)||_0x582900);return _0x582900;},_0x1cfdd4=(_0x2c03e6,_0x4fe0e8)=>(_0x8ae7e7,_0x2349d1)=>_0x4fe0e8(_0x8ae7e7,_0x2349d1,_0x2c03e6),_0x269e3d=(_0x20bc4a,_0x5dc5ec,_0x1b1cae)=>_0x1e5321(_0x20bc4a,_0x5dc5ec+'',_0x1b1cae);const _0x2c7f14=_0x4a9ac9(0xf6);_0x4113be[_0x4a9ac9(0x192)]=class extends _0x414ab0[_0x4a9ac9(0x1f2)]{constructor(_0x30d3f3,_0x27a8fb,_0x1e5a04,_0x1b5fac){var _0x214e26=_0x4a9ac9;super(),_0x213c49(this,_0x214e26(0x2b1)),(this[_0x214e26(0x426)]=_0x27a8fb,this[_0x214e26(0x18a)]=_0x1e5a04,this[_0x214e26(0x14e)]=_0x1b5fac);const {..._0x245132}=_0x414ab0['merge']({},_0x13dd70,_0x30d3f3);if(!_0x245132[_0x214e26(0x297)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x245132,this[_0x214e26(0x14e)][_0x214e26(0x2f5)](_0xfa3b98,_0x245132);}[_0x4a9ac9(0x193)](){var _0x573ec3=_0x4a9ac9;this[_0x573ec3(0x42b)](),this[_0x573ec3(0x3ef)]();}[_0x4a9ac9(0x42b)](){var _0x149206=_0x4a9ac9,_0x4f93c5,_0x4f54ab;this[_0x149206(0x18a)][_0x149206(0x1f6)](_0x414ab0['IUndoRedoService'])&&this['_logService'][_0x149206(0x2ad)](_0x149206(0x1a6),_0x149206(0x12d));const _0x2290a7=_0x414ab0[_0x149206(0xbb)]([[_0x414ab0[_0x149206(0x11b)],{'useClass':_0x4113be[_0x149206(0x136)]}],[_0x4113be['CollaborationSessionService']],[_0x4113be[_0x149206(0x295)]],[_0x4113be[_0x149206(0x425)]],[_0x34dd56],[_0x29cb3a],[_0x3e56a6],[_0x34aaee],[_0x26aa78],[_0x4113be[_0x149206(0x128)]],[_0x1c92c3,{'useClass':this['_config'][_0x149206(0x297)]}],[_0x19b128[_0x149206(0x20e)],{'useClass':_0x4113be['SnapshotServerOverHTTPService']}],[_0x414ab0[_0x149206(0x30a)],{'useClass':_0x4113be[_0x149206(0x3a1)]}],[_0x3f9464['IImageIoService'],{'useClass':_0x4113be[_0x149206(0x179)]}],[_0x414ab0[_0x149206(0x272)],{'useClass':_0x4113be[_0x149206(0x19c)]}],[_0x4113be['CollaborationController']],[_0x3df3a0]],(_0x4f93c5=this['_config'])==null?void 0x0:_0x4f93c5[_0x149206(0x303)]);if(!((_0x4f54ab=this[_0x149206(0x2b1)])!=null&&_0x4f54ab[_0x149206(0x2bb)])){const _0x2a81a4=_0x2290a7['findIndex'](([_0x3dabec])=>_0x3dabec===_0x5db1cd);_0x2a81a4!==-0x1&&_0x2290a7[_0x149206(0x375)](_0x2a81a4,0x1);}_0x414ab0[_0x149206(0x30e)](this[_0x149206(0x18a)],_0x2290a7);}[_0x4a9ac9(0x3ef)](){var _0x446b9a=_0x4a9ac9,_0x22c943,_0x5f12fa,_0x478336;this[_0x446b9a(0x18a)][_0x446b9a(0x218)](_0x3bd1c1[_0x446b9a(0x354)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3bd1c1[_0x446b9a(0x267)]({'maxParallel':0x6})}),(_0x22c943=this[_0x446b9a(0x2b1)])!=null&&_0x22c943[_0x446b9a(0xf0)]||(_0x5f12fa=this[_0x446b9a(0x18a)][_0x446b9a(0x218)](_0x364389,_0x414ab0[_0x446b9a(0x3d0)][_0x446b9a(0x1e9)]))==null||_0x5f12fa[_0x446b9a(0x318)](),(_0x478336=this['_config'])!=null&&_0x478336['enableAuthServer']&&_0x414ab0[_0x446b9a(0x214)](this[_0x446b9a(0x18a)],[[_0x34dd56]]),_0x414ab0[_0x446b9a(0x214)](this[_0x446b9a(0x18a)],[[_0x29cb3a],[_0x4113be['CollaborationController']],[_0x34aaee]]);}},_0x269e3d(_0x4113be[_0x4a9ac9(0x192)],_0x4a9ac9(0x219),_0x2c7f14),_0x4113be[_0x4a9ac9(0x192)]=_0x5c932a([_0x414ab0[_0x4a9ac9(0x3dd)](_0x19b128[_0x4a9ac9(0x329)],_0x3bd1c1[_0x4a9ac9(0x3f9)]),_0x1cfdd4(0x1,_0x414ab0['ILogService']),_0x1cfdd4(0x2,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1cfdd4(0x3,_0x414ab0['IConfigService'])],_0x4113be[_0x4a9ac9(0x192)]),_0x4113be[_0x4a9ac9(0x2db)]=_0xfa3b98,_0x4113be[_0x4a9ac9(0x2d2)]=_0x70296d,_0x4113be[_0x4a9ac9(0x2b8)]=_0x51d7a4,_0x4113be['CollaborationUIEventService']=_0x26aa78,_0x4113be['CommentService']=_0x3e56a6,_0x4113be[_0x4a9ac9(0x380)]=_0x340e26,_0x4113be[_0x4a9ac9(0x183)]=_0x17cb6d,_0x4113be[_0x4a9ac9(0x45b)]=_0x3a5dca,_0x4113be[_0x4a9ac9(0x113)]=_0x18d90d,_0x4113be[_0x4a9ac9(0x21d)]=_0x2beeb0,_0x4113be['ICollaborationSocketService']=_0x1c92c3,_0x4113be[_0x4a9ac9(0x125)]=_0x364389,_0x4113be['INetworkConditionService']=_0xc74a4,_0x4113be['ISingleActiveUnitService']=_0x5db1cd,_0x4113be[_0x4a9ac9(0xb6)]=0x3e8,_0x4113be[_0x4a9ac9(0x293)]=_0x38c987,_0x4113be['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x19b088,_0x4113be[_0x4a9ac9(0x35e)]=_0x314a57,_0x4113be[_0x4a9ac9(0x309)]=_0x38c5e4,_0x4113be[_0x4a9ac9(0x348)]=_0x39c98c,_0x4113be[_0x4a9ac9(0x10a)]=_0x5efbeb,_0x4113be['getLocalCacheKey']=_0x35a8e8,_0x4113be[_0x4a9ac9(0x292)]=_0x320526,Object[_0x4a9ac9(0x1a2)](_0x4113be,Symbol[_0x4a9ac9(0x2fb)],{'value':'Module'});}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x30e2(){const _0x21c1e1=['pipe','waitForRoom$','loadUnit','@univerjs-pro/collaboration','SnapshotService','loadUnitOfRevision','Inject','getUnitId','2073PFkbAv','CollaborationStatus','UniverProCollaborationClientFacade','getCollaboration','136070uCSkNb','members$','10LrOdPf','@univerjs/core','object','Module','length','CollaborationController','loadSheetAsync','switchMap','loadServerUnitOfRevision','values','1488025SKItYY','DataLoaderService','Injector','loadActiveSheetAsync','_collaborationController','toDisposable','status','UniverProCollaborationClient','_snapshotService','3836zYRmrl','1561308BxVsTU','from','loadSheet','getUniverSheet','readyForCollab','FBase','_univerInstanceService','FCollaboration','state','104234yjYtGI','MemberService','14yHmbFY','getOwnPropertyDescriptor','extend','getCollabEntity','UniverCore','loadActiveSheet','IUniverInstanceService','rxjs','_handler','exports','defineProperty','FEnum','5602491SlsZOr','subscribeCollaborators','@univerjs-pro/collaboration-client','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','496072phezpD','_injector'];_0x30e2=function(){return _0x21c1e1;};return _0x30e2();}function _0x30cf(_0x1294df,_0x6dd310){_0x1294df=_0x1294df-0xf2;const _0x30e2a6=_0x30e2();let _0x30cf48=_0x30e2a6[_0x1294df];return _0x30cf48;}(function(_0x222e60,_0x41593b){const _0x5f02af=_0x30cf,_0x17985b=_0x222e60();while(!![]){try{const _0x43965d=-parseInt(_0x5f02af(0xf7))/0x1*(-parseInt(_0x5f02af(0x11a))/0x2)+parseInt(_0x5f02af(0x114))/0x3*(parseInt(_0x5f02af(0x12d))/0x4)+-parseInt(_0x5f02af(0x124))/0x5+parseInt(_0x5f02af(0x12e))/0x6+-parseInt(_0x5f02af(0xf9))/0x7*(parseInt(_0x5f02af(0x10a))/0x8)+-parseInt(_0x5f02af(0x105))/0x9+-parseInt(_0x5f02af(0x118))/0xa;if(_0x43965d===_0x41593b)break;else _0x17985b['push'](_0x17985b['shift']());}catch(_0x55533e){_0x17985b['push'](_0x17985b['shift']());}}}(_0x30e2,0x5e518),function(_0x4d95a8,_0x443383){const _0x44e0f3=_0x30cf;typeof exports==_0x44e0f3(0x11c)&&typeof module<'u'?_0x443383(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define['amd']?define([_0x44e0f3(0x102),_0x44e0f3(0x107),'@univerjs/core/facade',_0x44e0f3(0x10f),_0x44e0f3(0x11b),'rxjs'],_0x443383):(_0x4d95a8=typeof globalThis<'u'?globalThis:_0x4d95a8||self,_0x443383(_0x4d95a8[_0x44e0f3(0x116)]={},_0x4d95a8[_0x44e0f3(0x12b)],_0x4d95a8['UniverCoreFacade'],_0x4d95a8['UniverProCollaboration'],_0x4d95a8[_0x44e0f3(0xfd)],_0x4d95a8[_0x44e0f3(0x100)]));}(this,function(_0x2d2eba,_0x5759bc,_0x17a848,_0x1577a2,_0x4929b0,_0x5a651f){'use strict';const _0x1e29c6=_0x30cf;class _0x453df2 extends _0x17a848[_0x1e29c6(0x104)]{get[_0x1e29c6(0x115)](){const _0x1c6bf5=_0x1e29c6;return _0x5759bc[_0x1c6bf5(0x115)];}}_0x17a848[_0x1e29c6(0x104)][_0x1e29c6(0xfb)](_0x453df2);var _0x5d1ffa=Object[_0x1e29c6(0xfa)],_0x1e8965=(_0x31c368,_0x1a8eab,_0x2896f0,_0x2c4668)=>{const _0xdf2124=_0x1e29c6;for(var _0x385a37=_0x2c4668>0x1?void 0x0:_0x2c4668?_0x5d1ffa(_0x1a8eab,_0x2896f0):_0x1a8eab,_0x5d9a00=_0x31c368[_0xdf2124(0x11e)]-0x1,_0xba0d29;_0x5d9a00>=0x0;_0x5d9a00--)(_0xba0d29=_0x31c368[_0x5d9a00])&&(_0x385a37=_0xba0d29(_0x385a37)||_0x385a37);return _0x385a37;},_0x480d7f=(_0x4e4e30,_0x102800)=>(_0x8bbbb3,_0x520c9c)=>_0x102800(_0x8bbbb3,_0x520c9c,_0x4e4e30);_0x2d2eba[_0x1e29c6(0xf5)]=class extends _0x17a848[_0x1e29c6(0xf3)]{constructor(_0x39bb96,_0x3ddafb,_0x2fdd0b,_0x5bad28,_0x2cae2c){const _0x5346da=_0x1e29c6;super(),this[_0x5346da(0x101)]=_0x39bb96,this[_0x5346da(0x10b)]=_0x3ddafb,this[_0x5346da(0xf4)]=_0x2fdd0b,this[_0x5346da(0x12c)]=_0x5bad28,this['_collaborationController']=_0x2cae2c;}async[_0x1e29c6(0xfe)](){const _0x1fa99e=_0x1e29c6;return this[_0x1fa99e(0x127)]();}async[_0x1e29c6(0x127)](){const _0x41c746=_0x1e29c6;throw new Error(_0x41c746(0x109));}async[_0x1e29c6(0x130)](_0x4c18c4){const _0x3b60b5=_0x1e29c6;return this[_0x3b60b5(0x120)](_0x4c18c4);}async['loadSheetAsync'](_0x18fd57,_0x2f5504){const _0x19e24c=_0x1e29c6;return await this[_0x19e24c(0x12c)]['loadSheet'](_0x18fd57,0x0,_0x2f5504)?(await this[_0x19e24c(0x128)][_0x19e24c(0xf2)](_0x18fd57),this[_0x19e24c(0x101)][_0x19e24c(0x131)](_0x18fd57)):null;}[_0x1e29c6(0x106)](_0x21037a,_0x3a4986){const _0x67afb2=_0x1e29c6,_0x4b6fb2=this[_0x67afb2(0x10b)][_0x67afb2(0x108)](_0x5759bc[_0x67afb2(0xf8)])[_0x67afb2(0x10d)](_0x21037a)[_0x67afb2(0x10c)](_0x5a651f[_0x67afb2(0x121)](_0x834788=>_0x834788[_0x67afb2(0x119)]))['subscribe'](_0x56458c=>_0x3a4986(Array[_0x67afb2(0x12f)](_0x56458c[_0x67afb2(0x123)]())));return _0x4929b0[_0x67afb2(0x129)](_0x4b6fb2);}['getCollaborationStatus'](){const _0x418db3=_0x1e29c6,_0x1c83ad=this[_0x418db3(0xf4)]['getFocusedUnit']();if(!_0x1c83ad)return _0x5759bc['CollaborationStatus']['NOT_COLLAB'];const _0x35cb34=this[_0x418db3(0x128)][_0x418db3(0xfc)](_0x1c83ad[_0x418db3(0x113)]());return _0x35cb34?_0x35cb34[_0x418db3(0xf6)][_0x418db3(0x12a)]:_0x5759bc[_0x418db3(0x115)]['NOT_COLLAB'];}},_0x2d2eba[_0x1e29c6(0xf5)]=_0x1e8965([_0x480d7f(0x1,_0x4929b0[_0x1e29c6(0x112)](_0x4929b0[_0x1e29c6(0x126)])),_0x480d7f(0x2,_0x4929b0[_0x1e29c6(0xff)]),_0x480d7f(0x3,_0x4929b0[_0x1e29c6(0x112)](_0x1577a2[_0x1e29c6(0x110)])),_0x480d7f(0x4,_0x4929b0[_0x1e29c6(0x112)](_0x5759bc[_0x1e29c6(0x11f)]))],_0x2d2eba[_0x1e29c6(0xf5)]);class _0x44d5aa extends _0x17a848['FUniver']{[_0x1e29c6(0x117)](){const _0x246f51=_0x1e29c6;return this[_0x246f51(0x10b)]['createInstance'](_0x2d2eba[_0x246f51(0xf5)],{'getUniverSheet':_0x219518=>this[_0x246f51(0x131)](_0x219518)});}['loadServerUnit'](_0x1ab017,_0x139819,_0x1ac678){const _0x152368=_0x1e29c6;return this[_0x152368(0x10b)][_0x152368(0x108)](_0x5759bc[_0x152368(0x125)])[_0x152368(0x10e)](_0x1ab017,_0x139819,_0x1ac678);}[_0x1e29c6(0x122)](_0x1c3db4,_0x23868f,_0x57b24b){const _0x2fff31=_0x1e29c6;return this[_0x2fff31(0x10b)]['get'](_0x5759bc[_0x2fff31(0x125)])[_0x2fff31(0x111)](_0x1c3db4,_0x23868f,_0x57b24b);}}_0x17a848['FUniver'][_0x1e29c6(0xfb)](_0x44d5aa),Object[_0x1e29c6(0x103)](_0x2d2eba,Symbol['toStringTag'],{'value':_0x1e29c6(0x11d)});}));
5
+ (function(_0x302158,_0x48d71f){const _0x10c33b=_0x1038,_0x2e6a48=_0x302158();while(!![]){try{const _0x4f03e6=parseInt(_0x10c33b(0x1ee))/0x1*(-parseInt(_0x10c33b(0x1eb))/0x2)+-parseInt(_0x10c33b(0x205))/0x3*(parseInt(_0x10c33b(0x20d))/0x4)+-parseInt(_0x10c33b(0x222))/0x5+parseInt(_0x10c33b(0x209))/0x6*(parseInt(_0x10c33b(0x207))/0x7)+parseInt(_0x10c33b(0x22c))/0x8+parseInt(_0x10c33b(0x20b))/0x9*(-parseInt(_0x10c33b(0x1f6))/0xa)+parseInt(_0x10c33b(0x226))/0xb;if(_0x4f03e6===_0x48d71f)break;else _0x2e6a48['push'](_0x2e6a48['shift']());}catch(_0xb276d1){_0x2e6a48['push'](_0x2e6a48['shift']());}}}(_0x2176,0xa6286),function(_0x32e263,_0x1bc0f2){const _0x3d9ec6=_0x1038;typeof exports==_0x3d9ec6(0x216)&&typeof module<'u'?_0x1bc0f2(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x3d9ec6(0x214)&&define[_0x3d9ec6(0x228)]?define(['exports',_0x3d9ec6(0x21d),'@univerjs/core/facade',_0x3d9ec6(0x219),'@univerjs/core',_0x3d9ec6(0x1f5)],_0x1bc0f2):(_0x32e263=typeof globalThis<'u'?globalThis:_0x32e263||self,_0x1bc0f2(_0x32e263['UniverProCollaborationClientFacade']={},_0x32e263[_0x3d9ec6(0x1f7)],_0x32e263['UniverCoreFacade'],_0x32e263['UniverProCollaboration'],_0x32e263[_0x3d9ec6(0x1f4)],_0x32e263[_0x3d9ec6(0x1f5)]));}(this,function(_0x411b95,_0x4a70bf,_0x5d6cb1,_0x3d9c4d,_0x155af0,_0x2fbd16){'use strict';const _0x433ff2=_0x1038;class _0xa299fa extends _0x5d6cb1[_0x433ff2(0x1fc)]{get['CollaborationStatus'](){const _0x5dd72c=_0x433ff2;return _0x4a70bf[_0x5dd72c(0x1fe)];}}_0x5d6cb1[_0x433ff2(0x1fc)][_0x433ff2(0x21a)](_0xa299fa);var _0x2bf28f=Object[_0x433ff2(0x1ea)],_0x1fcabb=(_0x2dac40,_0xf16a48,_0x2225b8,_0x2c9d70)=>{const _0x3d5570=_0x433ff2;for(var _0x409e5b=_0x2c9d70>0x1?void 0x0:_0x2c9d70?_0x2bf28f(_0xf16a48,_0x2225b8):_0xf16a48,_0xe13cda=_0x2dac40[_0x3d5570(0x21e)]-0x1,_0x4a97d0;_0xe13cda>=0x0;_0xe13cda--)(_0x4a97d0=_0x2dac40[_0xe13cda])&&(_0x409e5b=_0x4a97d0(_0x409e5b)||_0x409e5b);return _0x409e5b;},_0xe6d8ca=(_0x5d46aa,_0x14fb6f)=>(_0x58b10a,_0xefdd7e)=>_0x14fb6f(_0x58b10a,_0xefdd7e,_0x5d46aa);_0x411b95['FCollaboration']=class extends _0x5d6cb1[_0x433ff2(0x1fa)]{constructor(_0x52fbd0,_0x1630a2,_0x5cca96,_0x4b42b2,_0x3b1d08){const _0xe0371a=_0x433ff2;super(),this[_0xe0371a(0x203)]=_0x52fbd0,this['_injector']=_0x1630a2,this[_0xe0371a(0x22d)]=_0x5cca96,this[_0xe0371a(0x204)]=_0x4b42b2,this['_collaborationController']=_0x3b1d08;}async[_0x433ff2(0x227)](){const _0x1c4e05=_0x433ff2;return this[_0x1c4e05(0x1f3)]();}async[_0x433ff2(0x1f3)](){const _0x290fd4=_0x433ff2;throw new Error(_0x290fd4(0x21c));}async[_0x433ff2(0x224)](_0xb7cf1a){return this['loadSheetAsync'](_0xb7cf1a);}async[_0x433ff2(0x1fd)](_0x35af9b,_0x31d9cc){const _0x44c85c=_0x433ff2;return await this['_snapshotService'][_0x44c85c(0x224)](_0x35af9b,0x0,_0x31d9cc)?(await this['_collaborationController'][_0x44c85c(0x1ed)](_0x35af9b),this[_0x44c85c(0x203)][_0x44c85c(0x1f1)](_0x35af9b)):null;}['subscribeCollaborators'](_0x534d5d,_0x3ff9af){const _0x56a891=_0x433ff2,_0x24c7a2=this['_injector'][_0x56a891(0x20f)](_0x4a70bf[_0x56a891(0x215)])[_0x56a891(0x22a)](_0x534d5d)['pipe'](_0x2fbd16[_0x56a891(0x1f9)](_0x363ec5=>_0x363ec5[_0x56a891(0x22e)]))[_0x56a891(0x218)](_0x4f4855=>_0x3ff9af(Array[_0x56a891(0x1fb)](_0x4f4855[_0x56a891(0x210)]())));return _0x155af0[_0x56a891(0x1f0)](_0x24c7a2);}[_0x433ff2(0x1f8)](){const _0x3749ba=_0x433ff2,_0x380afd=this['_univerInstanceService'][_0x3749ba(0x1ef)]();if(!_0x380afd)return _0x4a70bf[_0x3749ba(0x1fe)][_0x3749ba(0x20a)];const _0x2d9d5e=this[_0x3749ba(0x201)][_0x3749ba(0x202)](_0x380afd[_0x3749ba(0x21f)]());return _0x2d9d5e?_0x2d9d5e[_0x3749ba(0x1f2)][_0x3749ba(0x212)]:_0x4a70bf[_0x3749ba(0x1fe)][_0x3749ba(0x20a)];}},_0x411b95[_0x433ff2(0x21b)]=_0x1fcabb([_0xe6d8ca(0x1,_0x155af0['Inject'](_0x155af0[_0x433ff2(0x211)])),_0xe6d8ca(0x2,_0x155af0[_0x433ff2(0x200)]),_0xe6d8ca(0x3,_0x155af0[_0x433ff2(0x221)](_0x3d9c4d[_0x433ff2(0x223)])),_0xe6d8ca(0x4,_0x155af0['Inject'](_0x4a70bf[_0x433ff2(0x208)]))],_0x411b95[_0x433ff2(0x21b)]);class _0x14dbd8 extends _0x5d6cb1[_0x433ff2(0x229)]{[_0x433ff2(0x225)](){const _0x55e8a0=_0x433ff2;return this['_injector'][_0x55e8a0(0x220)](_0x411b95[_0x55e8a0(0x21b)],{'getUniverSheet':_0x3ec7b3=>this['getUniverSheet'](_0x3ec7b3)});}[_0x433ff2(0x20c)](_0x56a903,_0xe9bcf2,_0xbf5d0b){const _0x2b81bc=_0x433ff2;return this['_injector'][_0x2b81bc(0x20f)](_0x4a70bf['DataLoaderService'])[_0x2b81bc(0x206)](_0x56a903,_0xe9bcf2,_0xbf5d0b);}[_0x433ff2(0x217)](_0x3ef471,_0x275120,_0x2c53c7){const _0x4c5f70=_0x433ff2;return this[_0x4c5f70(0x1ec)]['get'](_0x4a70bf[_0x4c5f70(0x213)])[_0x4c5f70(0x20e)](_0x3ef471,_0x275120,_0x2c53c7);}}_0x5d6cb1[_0x433ff2(0x229)][_0x433ff2(0x21a)](_0x14dbd8),Object['defineProperty'](_0x411b95,Symbol[_0x433ff2(0x22b)],{'value':_0x433ff2(0x1ff)});}));function _0x1038(_0x3b8148,_0x432be1){_0x3b8148=_0x3b8148-0x1ea;const _0x2176d8=_0x2176();let _0x10382d=_0x2176d8[_0x3b8148];return _0x10382d;}function _0x2176(){const _0x17a4bb=['waitForRoom$','toStringTag','7597920ImlQPi','_univerInstanceService','members$','getOwnPropertyDescriptor','852UGFjNl','_injector','readyForCollab','1361xgFbKv','getFocusedUnit','toDisposable','getUniverSheet','state','loadActiveSheetAsync','UniverCore','rxjs','2110060bxYovq','UniverProCollaborationClient','getCollaborationStatus','switchMap','FBase','from','FEnum','loadSheetAsync','CollaborationStatus','Module','IUniverInstanceService','_collaborationController','getCollabEntity','_handler','_snapshotService','6vqKfBc','loadUnit','687617qzZEeo','CollaborationController','18RvxqMw','NOT_COLLAB','27OFAfQd','loadServerUnit','931852SxczxC','loadUnitOfRevision','get','values','Injector','status','DataLoaderService','function','MemberService','object','loadServerUnitOfRevision','subscribe','@univerjs-pro/collaboration','extend','FCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','length','getUnitId','createInstance','Inject','3147665PgbILP','SnapshotService','loadSheet','getCollaboration','19188532aOHRqZ','loadActiveSheet','amd','FUniver'];_0x2176=function(){return _0x17a4bb;};return _0x2176();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x34b8(_0x1a0d7f,_0x1d6ca9){_0x1a0d7f=_0x1a0d7f-0x86;const _0x356f4f=_0x356f();let _0x34b88d=_0x356f4f[_0x1a0d7f];return _0x34b88d;}function _0x356f(){const _0x40841e=['registerBeforeClose','302620SflCmv','executionId','subUnitId','collab-text-range-','unit','_cachedData','_createSocketURL','CollaborationEvent','getRenderById','setUndoRedoMutationParamsCache','idSuffix','IBeforeCloseService','univer-flex\x20univer-items-center','_showGuardMessage','@univerjs/docs-ui','origin','LOGIN_FAILED','runId','actions','getRelativeToViewportCoord','getSheetBySheetId','LICENSE_DISTRO_REJECTED','push','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RxDisposable','BehaviorSubject','redoState','_handleJoinEvent','stringify','getCoordByCell','_handleEvent','m2Prime','UnitStatus','_transformPreviousActiveRange','runRefRangeMutations','_initCommandInterceptor','_beforeCloseService','disposeUnit','_docTransformStateCacheService','transformMutation','setTimeout','/universer-api/license/formula/limit/start','InsertRowCommandId','_setFormulaLimitStatus','sheetID','_startCalculationLimit','UniverEngineRender','APPLY_REVISION_CONFILICT','INTERNAL_ERROR','APPLY_REJECT','useCallback','_scheduleSaving','on-line-icon','_initEntityListener','OffLineIcon','toRgbString','popstate','_lastPointer','drawWith','catch','UNIVER_SHEET','getUnitId','http://www.w3.org/2000/svg','IImageIoService','_maxFormulaLimit','UniverCore','div','DocSelectionManagerService','_textBubble','getCollabCursors$','NOT_COLLAB','addHandlerCallback','CanceledError','transformIMECache','_docSkeleton','_online','Failed','INVITE_CODE_REQUIRED','_lastResponseTimestamp','YUUMI_ASYNCIO_CANCELLED','_unitStatus','runOnServer','debounce','range','UNAUTHENTICATED','collabStatus.notCollab','APPLY_PERMISSION_DENIED','round','_range','jsx','sessionStatus$','ENTITLE_CHAT_LIMIT_EXCEED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverDesign','focused$','current','INotificationService','_configService','merge','_hover','labelPosition','BuiltInUIPart','EMAIL_VERIFY_CODE_MISMATCH','evenodd','_hasFormulaInDirtyRanges','deepClone','updateOfflineData','data','search','ThemeService','PAYMENT_CHANNEL_NOT_SUPPORT','requireSession','IURLService','UNDEFINED','_httpService','url(#off-line-icon_clip0_910_343)','cursorInfo','tag','saveImage','sessionTicket','generateRandomId','green.600','_applyCommand','UniverProCollaboration','INVALID_INVITE_CODE','jsxs','_localeService','_toggleOffline','red.300','addClipboardHook','dirtyRanges','setItem','758omMOQL','mask','flatMap','lineno','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','getMemberID','Workbook','permission.content','HEADER_MENU','2868116kOssaQ','_updateLocalCursor','_collabSessionService','black','_registerDependencies','_name','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','formula.calculation.started','Disposable','stage','restore','YUUMI_NO_CUBOID_FOR_QUESTION','SUCCESS','REDEMPTION_CODE_NOT_STARTED','2984930UHIHGD','SetFormulaCalculationStartMutation','whenReady','RemoteUniscriptService','eventID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','limitInfo','ENTITLE_INVALID_COUPON_CODE','_collaborationSessionService','OnLineIcon','addEventListener','assignAColorForMemberID','_anchor','override','handleIRemoveCol','getViewport','length','_getSheetObject','purple.300','IRenderManagerService','APPLY_DUPLICATED','UPDATE_CURSOR','_instanceService','has','distinctUntilChanged','url(#on-line-icon_clip0_910_349)','handleMoveRange','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverNetwork','_saveTaskMap','IUniverInstanceService','_docClipboardService','MOBILE_VERIFY_CODE_MISMATCH','_transformService','_initUserListener','_initCommandExecutedListener','activeSheet$','M0\x200H16V16H0z','split','_initUnhandledRejectionListener','hovered','displayName','map','NOT_FOUND','_transformUndoRedoStack','DeleteRangeMoveUpCommandId','INVITE_CODE_HAS_BEEN_UES','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RegularPolygon','Tools','_removeCollabCursors','Optional','WebSocketService','ACTIVE_UNIT_EVENT_CHANNEL','_entityInit$','getItem','enableFrontendLog','_notificationService','CollaborationStatus','NodePositionConvertToCursor','DocSkeletonManagerService','exhaustSavingTask','HTTPService','debug','unhandledrejection','ColorKit','includes','_assignedColors','isEditing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','setConfig','REDEMPTION_USER_NOT_ELIGIBLE','onLocalMutation','@univerjs/rpc','LOCAL_CACHE_INTERVAL','_updateCollabCursors','react','startRow','CollaborationSessionService','_anchorDot','NodePositionConvertToRectRange','#FFF','475698CFatoo','InsertRangeMoveRightCommandId','UniverSheetsUi','docStateChange$','_themeService','createInstance','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_heartbeatTimer','debounceTime','_uploadLog','entityInit$','LICENSE_EXPORT_SIZE_EXCEEDED','url(#$1','Injector','CollaborationUIEventId','permission.title','CHANGESET_REVISION_CONFILICT','RefRangeService','FormulaExecutedStateType','Error','1988464qWsUbH','SetFormulaCalculationNotificationMutation','clearInterval','asObservable','_ensureSubject','_entities','_currentUsage','_getScale','add','bind','Unknown\x20user','colorChannel1','params','ENTITLE_NEED_BILLING_ADDRESS','_initWindowErrorListener','then','fillStyle','LICENSE_IMPORT_SIZE_EXCEEDED','dispose$','replaceState','getActiveSheet','filename','RichTextEditingMutation','ILocalCacheService','currentTheme$','collaboration-client-ui.config','size','Plugin','isActive','_checkAndWaitForCalculationPermission','SetWorksheetActivateCommand','code','ENTITLE_COUPON_USED_UP','_send','@univerjs/ui','onPointerMove$','ISocketService','_drawAnchor','ENTITLE_USE_COUPON_NOT_1ST_TRADE','NO_OTHER_CLIENTS_EDITING','isFormulaString','transformMutationsWithChangeset','subunit','uni.network.url-service','_pollingInterval','string','CommandType','use','CONFLICT','_shapes','children','resize','column','executeCommand','useDependency','storage','ITransformService','MemberService','ONLINE','_context','handleIRemoveRow','isArray','width','source','Module','getCellMatrix','fillRule','text','addObjects','getStateCache','mapTo','_docTransformIMECacheService','UniverEngineFormula','find','_scene','EffectRefRangId','EMAIL_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','blue.400','UniverUi','ticket','_id','_updateURLWithCurrentState','MOBILE_HAS_BEEN_BOUND','registerComponent','collabStatus.offline','_clearPolling','transform','getParam','_localStorageService','top','REDEMPTION_CODE_HAS_BEEN_CREATED','toStringTag','_eventUnsubscribe','react/jsx-runtime','_session','Rect','subscribeEvent','SetDocZoomRatioOperation','_logService','m1Prime','pushState','onMouseMove','useObservable','_memberID','transformByState','_getFormulaLimitStatus','replace','off-line-icon_clip0_910_343','wsSessionTicketUrl','getColorFromTheme','doc.mutation.rich-text-editing','USER_IS_ANONYMOUS','REDEMPTION_INVALID_CODE','CURRENT_STATUS_CANNOT_OPERATE','xlink:href','ICommandService','SOCKET_FAILED_RETRY','setShapeProps','_draw','OFFLINE','clipPath','fillText','engine','_monkeyPatchLogService','_sheetSkeletonManagerService','disableLocalCache','DesktopCollaborationStatusDisplayController','ILocalStorageService','yellow.400','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','FormulaExecuteStageType','START_CALCULATION','href','getActiveRange','getUniverSheetInstance','setParam','YUUMI_SUBSCRIPTION_NOT_FOUND','AWAITING','_scheduleClearOtherTimer','JOIN_ROOM_FAILED','ILogService','_toggleOnline','univerjs-icon\x20univerjs-icon-','reason','1257195rGPplt','currentColor','ENTITLE_INSUFFICIENT_QUOTA','_color','InsertRangeMoveDownCommandId','_collabCursorController','with','BrowserCollaborationSocketService','type','stack','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sheetId','disposeWithMe','_roomMembers$','IMessageService','getformulaLimitStatusUrl','SheetsSelectionsService','UniverCollaborationClientPlugin','[Unhandled\x20Rejection]:\x20','contains','session.connection-failed','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','RevisionService','takeUntil','getUnhiddenWorksheets','FETCH_MISS','YUUMI_URL_COL_OUT_OF_RANGE','_renderManagerService','filter','_status$','28PKYraG','[CollaborationDataLoaderController]','[Window\x20Error]:\x20','FromArray','LOGIN_TOKEN_PROCESSING_FAILED','YUUMI_RATE_OVER_LIMIT','result','Inject','rxjs','collaboration.closeRoom','_dataLoaderService','@univerjs/engine-formula','values','_clearOtherTimers','getCurrentSelections','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','parseInt','fromEvent','saveTaskMap','ENTITLE_DUP_SUBSCRIPTION','on-line-icon_clip0_910_349','unshift','_initResize','fill','@univerjs-pro/collaboration','getMember','hide','SNAPSHOT_INVALID_SNAPSHOT','LocaleService','APPLY_NON_SEQUENTIAL_REVISION','PENDING','_docTransformSelectionsService','YUUMI_UNABLE_LOAD_URL','TOO_MANY_REQUESTS','exports','IConfigService','transformSelections','symbol','get','onPointerEnter$','TEXT_RANGE_LAYER_INDEX','createIdentifier','newValue','SetSelectionsOperation','RemoveColCommandId','@univerjs/engine-render','toDisposable','_refRangeService','translate(.97)','urlChange$','58BrhYvL','/universer-api/license/formula/limit/done','collabCursorState$','white','COLORS','TEXT','isFormulaId','RECT','DATA_SOURCE_TOO_LARGE','_saveCache','onPointerLeave$','COMPLETION_FINISHED','formula.calculation.unable','undoState','INVITE_CODE_ALREADY_BOUND','_cursorShapes','_localCacheService','_univerInstanceService','SHEET_VIEWPORT_KEY','_disabled','_checkCalculationAvailable','backgroundColor','SUBMIT_CHANGESET_TIMEOUT','/universer-api/frontend/logs','SetTextSelectionsOperation','USERS_LEAVE','CollaborationSocketService','_taskIds','UniverInstanceType','DocCollaborationEntity','getTypeOfUnitDisposed$','post','DOC_RANGE_TYPE','assign','handleInsertRangeMoveRight','_docStateChangeManagerService','getValue','CollaborationDataLoaderController','ENTITLE_COUPON_EXPIRED','getConfig','set','from','ENTITLE_REPORT_LIMIT_EXCEED','random','function','SessionStatus','INVALID_ARGUMENT','DocIMEInputManagerService','complete','_updateSubUnitFromURLParams','loadOfflineData','_imageIoService','memberID','save','lineTo','_messageService','roomMembers','getAncestorScale','_setupBeforeClosingHandler','_handleLeaveEvent','endColumn','subscribe','toString','onCommandExecuted','_unitOnClients','arc','entries','_doCreateSocket','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_colorAssignService','YUUMI_ALL_TABLES_IS_INVALID','startFormulaLimitUrl','_initDependencies','setAlpha','Warning','getOwnPropertyDescriptor','session.collaboration-timeout','getTypeOfUnitAdded$','_collabCursorState$','_render','parse','_startDocCollabCursor','svg','SYNCED','touchDependencies','unitID','_memberService','_transformHistoryAndStateStack','addObject','_selfUnitIDs','removeParam','_collaborationController','dispose','@univerjs-pro/collaboration-client','ENTITLE_CAN_NOT_BUY_LOWER_OTP','ranges','OTHER_CLIENTS_EDITING','_onRefRangeChange','socket$','UNRECOGNIZED','row','_docSkeletonManagerService','location','name','Tooltip','1em','handleInsertRow','_commandService','_onCursorUpdate','_syncEditingCollabCursorService','getSheetId','onStarting','getCurrentUnitForType','clsx','send','?taskId=','replaceDocRanges','error','_revisionService','_getAnchorBounding','getVpScrollXYInfoByPosToVp','MoveRangeCommandId','_config','387GFNnOv','endRow','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ERROR_AGAIN','_init','event$','forwardRef','makeDirty','bottom','max','collabStatus.conflict','_startSheetCollabCursor','attrs','SheetCollabCursorShape','_handleHover','UniverDrawing','color','_uiPartsService','getCurrent','_removeClearOtherTimer','trim','unitId','roomMembers$','selection','startColumn','UniverDocsUi','@univerjs/design','\x20at\x20','UNIVER_DOC','MessageType','YUUMI_AI_RUN_FAILED','rgba(255,\x20255,\x20255,\x200.01)','ALREADY_EXISTS','WebBrowserSingleActiveUnitService','clearTimeout','_injector','_urlService','_setupSubUnitSync','_backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','switchMap','SNAPSHOT_HAS_BEEN_REMOVED','_hideTimer','UniverRpc','Success','/run/','DocStateChangeManagerService','show','_initStatusListener','isTransformMutationsWithChangesetSuccess','_getSaveTimeout','defIds','getUndoRedoMutationParamsCache','skeleton','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getColor','UniverCollaborationClientUIPlugin','forEach','_drawRectRange','defs','shift','Rectangle','beforeCommandExecuted','MUTATION','next','_colorIndex','closePath','Vector2','@univerjs/sheets-ui','createElement','_initStatusComponent','history','status$','body','React','path','unload','CollaborationController','collab-rect-range-','_cursorInfo$','pipe','REDEMPTION_CODE_FULLY_REDEEMED','USER_NOT_INVITED_CODE','collabStatus.synced','CONNECTOR_DATA_TOO_LARGE','isTransformMutationFailure','now','enableLocalCache','USER_NOT_FOUND','[LogService\x20Error]:\x20','CollaborationUIEventService','_docSyncEditingCollabCursorService','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','_handleHeartbeatEvent','_getMergeRange','colno','getLocalCacheKey','handleDeleteRangeMoveUp','transformRemoteChangeset','DeleteRangeMoveLeftCommandId','searchParams','collabStatus.syncing','_onCursorDelete','jiqing.500','currentSkeleton$','getFocusedUnit','_scheduleHeartbeat','none','getDocRanges','defineProperty','init','UniverProCollaborationClientUi','_hovered','_cursors','_labelPosition','CLOSE_ROOM','handleDeleteRangeMoveLeft','_refreshCollabCursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DataLoaderService','_initEvent','PERMISSION_DENIED','removeEventListener','getOffsetConfig','moveTo','off-line-icon','textRanges','registerRefRange','measureText','delete','...','mutations','substring','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','cursorInfo$','Shape','registerRenderModule','UniverIcon','_drawTextRange','_releaseCalculationLimit','min','startsWith','createSocket'];_0x356f=function(){return _0x40841e;};return _0x356f();}(function(_0x232148,_0x450492){const _0x4a56b0=_0x34b8,_0x1db6fb=_0x232148();while(!![]){try{const _0x1fa649=-parseInt(_0x4a56b0(0x23a))/0x1*(parseInt(_0x4a56b0(0xaa))/0x2)+-parseInt(_0x4a56b0(0x348))/0x3+parseInt(_0x4a56b0(0x243))/0x4+-parseInt(_0x4a56b0(0x251))/0x5+-parseInt(_0x4a56b0(0x2a3))/0x6*(parseInt(_0x4a56b0(0x367))/0x7)+-parseInt(_0x4a56b0(0x2b7))/0x8+-parseInt(_0x4a56b0(0x125))/0x9*(-parseInt(_0x4a56b0(0x1b6))/0xa);if(_0x1fa649===_0x450492)break;else _0x1db6fb['push'](_0x1db6fb['shift']());}catch(_0x57bc17){_0x1db6fb['push'](_0x1db6fb['shift']());}}}(_0x356f,0x6536c),function(_0x14441c,_0x14a50d){const _0x32037a=_0x34b8;typeof exports=='object'&&typeof module<'u'?_0x14a50d(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x32037a(0xd6)&&define['amd']?define([_0x32037a(0x9a),_0x32037a(0x315),_0x32037a(0x107),'@univerjs/core',_0x32037a(0x2d9),_0x32037a(0x36f),_0x32037a(0x13f),_0x32037a(0x29d),_0x32037a(0x29a),'@univerjs/sheets',_0x32037a(0xa5),'@univerjs/network',_0x32037a(0x1c4),'@univerjs/drawing',_0x32037a(0x90),'@univerjs/docs',_0x32037a(0x372),'rxjs/operators',_0x32037a(0x169)],_0x14a50d):(_0x14441c=typeof globalThis<'u'?globalThis:_0x14441c||self,_0x14a50d(_0x14441c[_0x32037a(0x195)]={},_0x14441c[_0x32037a(0x16f)],_0x14441c['UniverProCollaborationClient'],_0x14441c[_0x32037a(0x1f7)],_0x14441c[_0x32037a(0x306)],_0x14441c[_0x32037a(0x36f)],_0x14441c[_0x32037a(0x213)],_0x14441c[_0x32037a(0x16f)],_0x14441c[_0x32037a(0x150)],_0x14441c['UniverSheets'],_0x14441c[_0x32037a(0x1e4)],_0x14441c[_0x32037a(0x26d)],_0x14441c[_0x32037a(0x13e)],_0x14441c[_0x32037a(0x134)],_0x14441c[_0x32037a(0x231)],_0x14441c['UniverDocs'],_0x14441c[_0x32037a(0x2ff)],_0x14441c[_0x32037a(0x36f)]['operators'],_0x14441c[_0x32037a(0x2a5)]));}(this,function(_0x49b1c5,_0x43d0fe,_0x497c74,_0x4b176f,_0x48763f,_0x2d9524,_0x47ae90,_0x1b9293,_0x4e4364,_0x4ba8ca,_0x517da6,_0x542501,_0x5f0c77,_0x150443,_0x2cf75e,_0xb532ca,_0x1707bd,_0x11f65e,_0x17a370){'use strict';const _0x568c59=_0x34b8;var _0x2f51a2=Object['defineProperty'],_0x2b2d24=(_0x420982,_0x2d6f56,_0x1bb42e)=>_0x2d6f56 in _0x420982?_0x2f51a2(_0x420982,_0x2d6f56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bb42e}):_0x420982[_0x2d6f56]=_0x1bb42e,_0xe730d4=(_0x975106,_0x564a72,_0x20c8f1)=>_0x2b2d24(_0x975106,typeof _0x564a72!=_0x568c59(0x9d)?_0x564a72+'':_0x564a72,_0x20c8f1);function _0x3a20cf({ref:_0x471aec,..._0x219de2}){const _0x1961f3=_0x568c59,{icon:_0x10d2d2,id:_0x3c80bc,className:_0x4d16c2,extend:_0x42bc47,..._0xf63751}=_0x219de2,_0x58844b=(_0x1961f3(0x346)+_0x3c80bc+'\x20'+(_0x4d16c2||''))[_0x1961f3(0x139)](),_0x664cb2=_0x1b9293['useRef']('_'+_0xa6bce8());return _0x36803a(_0x10d2d2,''+_0x3c80bc,{'defIds':_0x10d2d2[_0x1961f3(0x158)],'idSuffix':_0x664cb2[_0x1961f3(0x215)]},{'ref':_0x471aec,'className':_0x58844b,..._0xf63751},_0x42bc47);}function _0x36803a(_0x1a50e9,_0x4e71de,_0x182dd5,_0x27d9fd,_0xde2fce){const _0x2642f5=_0x568c59;return _0x1b9293[_0x2642f5(0x16a)](_0x1a50e9[_0x2642f5(0x22b)],{'key':_0x4e71de,..._0x3a294c(_0x1a50e9,_0x182dd5,_0xde2fce),..._0x27d9fd},(_0x5a6783(_0x1a50e9,_0x182dd5)[_0x2642f5(0x2e9)]||[])[_0x2642f5(0x27b)]((_0x1faa6b,_0x351ba2)=>_0x36803a(_0x1faa6b,_0x4e71de+'-'+_0x1a50e9['tag']+'-'+_0x351ba2,_0x182dd5,void 0x0,_0xde2fce)));}function _0x3a294c(_0x18fd4f,_0x305a37,_0x1d8322){const _0x4c2ad5=_0x568c59,_0x1a7a67={..._0x18fd4f[_0x4c2ad5(0x131)]};_0x1d8322!=null&&_0x1d8322[_0x4c2ad5(0x2c2)]&&_0x1a7a67[_0x4c2ad5(0x8f)]===_0x4c2ad5(0x2c2)&&(_0x1a7a67[_0x4c2ad5(0x8f)]=_0x1d8322['colorChannel1']),_0x18fd4f['tag']===_0x4c2ad5(0x23b)&&_0x1a7a67['id']&&(_0x1a7a67['id']=_0x1a7a67['id']+_0x305a37['idSuffix']),Object[_0x4c2ad5(0xec)](_0x1a7a67)[_0x4c2ad5(0x15e)](([_0x12281c,_0x1b15a8])=>{const _0xc2fbd8=_0x4c2ad5;_0x12281c===_0xc2fbd8(0x23b)&&typeof _0x1b15a8=='string'&&(_0x1a7a67[_0x12281c]=_0x1b15a8[_0xc2fbd8(0x322)](/url\(#(.*)\)/,_0xc2fbd8(0x2af)+_0x305a37[_0xc2fbd8(0x1c0)]+')'));});const {defIds:_0x4356c2}=_0x305a37;return!_0x4356c2||_0x4356c2[_0x4c2ad5(0x261)]===0x0||(_0x18fd4f[_0x4c2ad5(0x22b)]===_0x4c2ad5(0x2e6)&&_0x1a7a67['xlink:href']&&(_0x1a7a67[_0x4c2ad5(0x32a)]=_0x1a7a67[_0x4c2ad5(0x32a)]+_0x305a37['idSuffix']),Object['entries'](_0x1a7a67)[_0x4c2ad5(0x15e)](([_0x11e19f,_0x5c2ecb])=>{const _0x21b651=_0x4c2ad5;typeof _0x5c2ecb==_0x21b651(0x2e4)&&(_0x1a7a67[_0x11e19f]=_0x5c2ecb[_0x21b651(0x322)](/url\(#(.*)\)/,'url(#$1'+_0x305a37[_0x21b651(0x1c0)]+')'));})),_0x1a7a67;}function _0x5a6783(_0x25f58e,_0x13501d){const _0x2318f0=_0x568c59;var _0x44ad18;const {defIds:_0x28262e}=_0x13501d;return!_0x28262e||_0x28262e[_0x2318f0(0x261)]===0x0?_0x25f58e:_0x25f58e['tag']===_0x2318f0(0x160)&&((_0x44ad18=_0x25f58e[_0x2318f0(0x2e9)])!=null&&_0x44ad18[_0x2318f0(0x261)])?{..._0x25f58e,'children':_0x25f58e[_0x2318f0(0x2e9)][_0x2318f0(0x27b)](_0x28342f=>typeof _0x28342f[_0x2318f0(0x131)]['id']==_0x2318f0(0x2e4)&&_0x28262e&&_0x28262e['includes'](_0x28342f[_0x2318f0(0x131)]['id'])?{..._0x28342f,'attrs':{..._0x28342f[_0x2318f0(0x131)],'id':_0x28342f[_0x2318f0(0x131)]['id']+_0x13501d[_0x2318f0(0x1c0)]}}:_0x28342f)}:_0x25f58e;}function _0xa6bce8(){const _0x47f5ff=_0x568c59;return Math[_0x47f5ff(0xd5)]()['toString'](0x24)[_0x47f5ff(0x1aa)](0x2,0x8);}_0x3a20cf['displayName']=_0x568c59(0x1af);const _0x2e9596={'tag':_0x568c59(0xfc),'attrs':{'xmlns':_0x568c59(0x1f4),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x568c59(0x229)},'children':[{'tag':'path','attrs':{'stroke':_0x568c59(0x349),'d':_0x568c59(0x23e),'strokeLinecap':'round','strokeLinejoin':_0x568c59(0x20d),'strokeWidth':1.2}}]},{'tag':_0x568c59(0x160),'attrs':{},'children':[{'tag':_0x568c59(0x330),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x568c59(0x170),'attrs':{'fill':_0x568c59(0xad),'d':_0x568c59(0x276)}}]}]}],'defIds':[_0x568c59(0x323)]},_0x4fe69e=_0x1b9293[_0x568c59(0x12b)](function(_0x4a2d92,_0x20f4a3){const _0x2753fc=_0x568c59;return _0x1b9293[_0x2753fc(0x16a)](_0x3a20cf,Object[_0x2753fc(0xcb)]({},_0x4a2d92,{'id':_0x2753fc(0x1a3),'ref':_0x20f4a3,'icon':_0x2e9596}));});_0x4fe69e[_0x568c59(0x27a)]=_0x568c59(0x1ec);const _0x40e88d={'tag':_0x568c59(0xfc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x568c59(0x191),'viewBox':'0\x200\x2017\x2016','width':_0x568c59(0x113),'height':_0x568c59(0x113)},'children':[{'tag':'g','attrs':{'clipPath':_0x568c59(0x26a)},'children':[{'tag':_0x568c59(0x170),'attrs':{'stroke':_0x568c59(0x349),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x568c59(0x20d),'strokeLinejoin':_0x568c59(0x20d),'strokeWidth':1.2}}]},{'tag':_0x568c59(0x160),'attrs':{},'children':[{'tag':_0x568c59(0x330),'attrs':{'id':_0x568c59(0x8c)},'children':[{'tag':'path','attrs':{'fill':_0x568c59(0xad),'d':'M0\x200H16V16H0z','transform':_0x568c59(0xa8)}}]}]}],'defIds':[_0x568c59(0x8c)]},_0x4c1607=_0x1b9293[_0x568c59(0x12b)](function(_0x597fd8,_0x3714af){const _0x23759e=_0x568c59;return _0x1b9293[_0x23759e(0x16a)](_0x3a20cf,Object[_0x23759e(0xcb)]({},_0x597fd8,{'id':_0x23759e(0x1ea),'ref':_0x3714af,'icon':_0x40e88d}));});_0x4c1607[_0x568c59(0x27a)]=_0x568c59(0x25a);function _0x3bc71b(_0x65bc62){const _0x53b8af=_0x568c59;switch(_0x65bc62){case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x32f)]:return _0x53b8af(0x30c);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x2e7)]:return _0x53b8af(0x12f);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x362)]:return'collabStatus.fetchMiss';case _0x497c74['CollaborationStatus'][_0x53b8af(0x1fc)]:return _0x53b8af(0x20b);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x341)]:case _0x497c74[_0x53b8af(0x28b)]['AWAITING_WITH_PENDING']:return _0x53b8af(0x18b);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0xfd)]:case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x96)]:return _0x53b8af(0x178);}}function _0x1db768(_0x48f5cc){const _0x332ccc=_0x568c59,{status$:_0x4929f1}=_0x48f5cc,_0x11f8da=_0x48763f[_0x332ccc(0x31e)](_0x4929f1,_0x497c74[_0x332ccc(0x28b)]['NOT_COLLAB']),_0x15853a=_0x48763f['useDependency'](_0x4b176f['LocaleService']),_0x2ea38f=_0x48763f[_0x332ccc(0x2ed)](_0x497c74[_0x332ccc(0x29f)]),_0x371a67=_0x11f8da!==_0x497c74[_0x332ccc(0x28b)]['OFFLINE'],_0x2fb180=_0x15853a['t'](_0x3bc71b(_0x11f8da)),_0x35750b=_0x371a67?_0x43d0fe[_0x332ccc(0x20f)](_0x4c1607,{}):_0x43d0fe[_0x332ccc(0x20f)](_0x4fe69e,{}),_0x59862c=_0x1b9293[_0x332ccc(0x1e8)](()=>{_0x371a67||_0x2ea38f['reconnect']();},[_0x371a67,_0x2ea38f]);function _0x5fb97(){const _0x89a94e=_0x332ccc;return _0x43d0fe[_0x89a94e(0x233)](_0x89a94e(0x1f8),{'className':_0x89a94e(0x1c2),'onClick':_0x59862c,'children':[_0x43d0fe[_0x89a94e(0x20f)](_0x89a94e(0x1f8),{'className':_0x47ae90[_0x89a94e(0x11b)](_0x89a94e(0x26c),{'univer-text-green-500':_0x371a67,'univer-text-red-500':!_0x371a67}),'children':_0x35750b}),_0x43d0fe['jsx'](_0x89a94e(0x1f8),{'className':_0x89a94e(0x1cd),'children':_0x2fb180})]});}return _0x371a67?_0x5fb97():_0x43d0fe['jsx'](_0x47ae90[_0x332ccc(0x112)],{'title':_0x15853a['t']('collab-client.tooltip.reconnect'),'children':_0x5fb97()});}var _0x11eec4=Object[_0x568c59(0xf5)],_0x1d0e0d=(_0x35669b,_0x243c75,_0x45806e,_0x1eb313)=>{const _0x2d5f84=_0x568c59;for(var _0x72c77a=_0x1eb313>0x1?void 0x0:_0x1eb313?_0x11eec4(_0x243c75,_0x45806e):_0x243c75,_0x137442=_0x35669b[_0x2d5f84(0x261)]-0x1,_0x2beff6;_0x137442>=0x0;_0x137442--)(_0x2beff6=_0x35669b[_0x137442])&&(_0x72c77a=_0x2beff6(_0x72c77a)||_0x72c77a);return _0x72c77a;},_0x2ae13f=(_0x1e1ced,_0x5dec5c)=>(_0x5582a2,_0x19ee3e)=>_0x5dec5c(_0x5582a2,_0x19ee3e,_0x1e1ced);_0x49b1c5[_0x568c59(0x336)]=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x254a0c,_0x12b351,_0x45c852,_0x22dbaa){const _0x191560=_0x568c59;super(),_0xe730d4(this,_0x191560(0x366),new _0x2d9524[(_0x191560(0x1cf))](_0x497c74[_0x191560(0x28b)][_0x191560(0x1fc)])),(this['_univerInstanceService']=_0x254a0c,this['_injector']=_0x12b351,this[_0x191560(0x105)]=_0x45c852,this[_0x191560(0x136)]=_0x22dbaa,this[_0x191560(0x16b)](),this[_0x191560(0x155)]());}['_initStatusListener'](){const _0x593d99=_0x568c59;this['disposeWithMe'](this[_0x593d99(0xbb)][_0x593d99(0x214)][_0x593d99(0x175)](_0x2d9524['switchMap'](()=>{const _0x2bd9ac=_0x593d99,_0x5e1756=this['_univerInstanceService'][_0x2bd9ac(0x18f)]();return _0x5e1756?this['_collaborationController']['getCollabEntity$'](_0x5e1756['getUnitId']()):_0x2d9524['of'](null);}),_0x2d9524[_0x593d99(0x14d)](_0xab08a=>_0xab08a?_0xab08a[_0x593d99(0x16d)]:_0x2d9524['of'](_0x497c74[_0x593d99(0x28b)][_0x593d99(0x1fc)])))[_0x593d99(0xe7)](_0xaf82=>{const _0x4d953b=_0x593d99;this[_0x4d953b(0x366)][_0x4d953b(0x165)](_0xaf82);}));}[_0x568c59(0x16b)](){const _0x4e4301=_0x568c59;this[_0x4e4301(0x354)](this[_0x4e4301(0x136)][_0x4e4301(0x30b)](_0x48763f[_0x4e4301(0x21b)][_0x4e4301(0x242)],()=>_0x48763f['connectInjector'](_0x274aa2({'status$':this[_0x4e4301(0x366)][_0x4e4301(0x2ba)]()}),this[_0x4e4301(0x148)])));}},_0x49b1c5[_0x568c59(0x336)]=_0x1d0e0d([_0x2ae13f(0x0,_0x4b176f['IUniverInstanceService']),_0x2ae13f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x2ae13f(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x172)])),_0x2ae13f(0x3,_0x48763f['IUIPartsService'])],_0x49b1c5[_0x568c59(0x336)]);function _0x274aa2(_0x2b84c2){const {status$:_0x13a947}=_0x2b84c2;return function(){return _0x43d0fe['jsx'](_0x1db768,{'status$':_0x13a947});};}const _0x69f589=_0x4b176f[_0x568c59(0xa1)](_0x568c59(0x2e2));var _0x3b8b70=Object[_0x568c59(0xf5)],_0xc2a3f8=(_0x2cb8e5,_0x16dc43,_0x3472ea,_0x514b04)=>{const _0x33255c=_0x568c59;for(var _0x4ecb39=_0x514b04>0x1?void 0x0:_0x514b04?_0x3b8b70(_0x16dc43,_0x3472ea):_0x16dc43,_0x1ecf42=_0x2cb8e5[_0x33255c(0x261)]-0x1,_0x268be3;_0x1ecf42>=0x0;_0x1ecf42--)(_0x268be3=_0x2cb8e5[_0x1ecf42])&&(_0x4ecb39=_0x268be3(_0x4ecb39)||_0x4ecb39);return _0x4ecb39;},_0x5755bf=(_0x200246,_0x5bb552)=>(_0x5baaab,_0xdf5fd3)=>_0x5bb552(_0x5baaab,_0xdf5fd3,_0x200246);_0x49b1c5[_0x568c59(0xcf)]=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x3cd4cb,_0x655d0b,_0x1653a2,_0x5c63cd,_0xd3ab34){const _0x39cd02=_0x568c59;super(),this[_0x39cd02(0x149)]=_0x3cd4cb,this[_0x39cd02(0x31a)]=_0x655d0b,this[_0x39cd02(0x115)]=_0x1653a2,this[_0x39cd02(0x371)]=_0x5c63cd,_0xd3ab34?_0xd3ab34==null||_0xd3ab34[_0x39cd02(0x253)]()[_0x39cd02(0x2c6)](()=>this['_init']()):(this[_0x39cd02(0x31a)][_0x39cd02(0x290)](_0x39cd02(0x368),_0x39cd02(0x2a9)),this['_init']());}async[_0x568c59(0x129)](){const _0xee14e5=_0x568c59,_0x4b5e56=this[_0xee14e5(0x149)][_0xee14e5(0x30f)](_0xee14e5(0x1ba)),_0xa28c0f=this[_0xee14e5(0x149)][_0xee14e5(0x30f)]('type'),_0x5b0bcf=this[_0xee14e5(0x149)][_0xee14e5(0x30f)](_0xee14e5(0x2e1));if(!_0x4b5e56||!_0xa28c0f){this[_0xee14e5(0x31a)][_0xee14e5(0x290)](_0xee14e5(0x368),_0xee14e5(0x87));return;}const _0x1a54d2=await this[_0xee14e5(0x371)]['loadUnit'](_0x4b5e56,Number(_0xa28c0f),_0x5b0bcf);_0x1a54d2&&_0x1a54d2 instanceof _0x4b176f[_0xee14e5(0x240)]&&this[_0xee14e5(0x14a)](_0x1a54d2);}async[_0x568c59(0x14a)](_0x1756b8){const _0x543145=_0x568c59;await this[_0x543145(0xdb)](_0x1756b8),_0x1756b8[_0x543145(0x275)][_0x543145(0x175)](_0x2d9524[_0x543145(0x360)](this['dispose$']))['subscribe'](_0x2b81cf=>{const _0x1b4af9=_0x543145;_0x2b81cf&&this[_0x1b4af9(0x309)](_0x2b81cf);}),this[_0x543145(0x149)][_0x543145(0xa9)][_0x543145(0x175)](_0x2d9524[_0x543145(0x360)](this[_0x543145(0x2c9)]))[_0x543145(0xe7)](()=>this[_0x543145(0xdb)](_0x1756b8));}[_0x568c59(0x309)](_0x4ec03b,_0x4b808d=!0x1){const _0x13e6ca=_0x568c59,_0xb4e1bd=this[_0x13e6ca(0x149)][_0x13e6ca(0x30f)](_0x13e6ca(0x2e1));_0x4ec03b[_0x13e6ca(0x118)]()!==_0xb4e1bd&&this[_0x13e6ca(0x149)][_0x13e6ca(0x33f)](_0x13e6ca(0x2e1),_0x4ec03b[_0x13e6ca(0x118)](),_0x4b808d);}async[_0x568c59(0xdb)](_0x440290){const _0x3c06f0=_0x568c59;var _0x4b2411;const _0x739feb=this[_0x3c06f0(0x149)]['getParam'](_0x3c06f0(0x2e1));if(!_0x739feb||!_0x440290[_0x3c06f0(0x1ca)](_0x739feb)){const _0x257e53=_0x440290[_0x3c06f0(0x361)]()[0x0],_0x198690=_0x440290[_0x3c06f0(0x1ca)](_0x257e53);if(!_0x198690)return;this[_0x3c06f0(0x309)](_0x198690,!0x0),await this['_commandService']['executeCommand'](_0x4ba8ca['SetWorksheetActivateCommand']['id'],{'unitId':_0x440290['getUnitId'](),'subUnitId':_0x257e53});return;}((_0x4b2411=_0x440290['getActiveSheet']())==null?void 0x0:_0x4b2411[_0x3c06f0(0x118)]())!==_0x739feb&&await this[_0x3c06f0(0x115)][_0x3c06f0(0x2ec)](_0x4ba8ca[_0x3c06f0(0x2d5)]['id'],{'unitId':_0x440290['getUnitId'](),'subUnitId':_0x739feb});}},_0x49b1c5[_0x568c59(0xcf)]=_0xc2a3f8([_0x5755bf(0x0,_0x69f589),_0x5755bf(0x1,_0x4b176f[_0x568c59(0x344)]),_0x5755bf(0x2,_0x4b176f['ICommandService']),_0x5755bf(0x3,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x19d)])),_0x5755bf(0x4,_0x4b176f[_0x568c59(0x284)](_0x4e4364['IRemoteInstanceService']))],_0x49b1c5['CollaborationDataLoaderController']);var _0x4efba8=Object[_0x568c59(0xf5)],_0x486b2d=(_0x34f4c7,_0x295ebb,_0x3ce311,_0x363be3)=>{for(var _0x1b7262=_0x363be3>0x1?void 0x0:_0x363be3?_0x4efba8(_0x295ebb,_0x3ce311):_0x295ebb,_0x3187c6=_0x34f4c7['length']-0x1,_0x5c3419;_0x3187c6>=0x0;_0x3187c6--)(_0x5c3419=_0x34f4c7[_0x3187c6])&&(_0x1b7262=_0x5c3419(_0x1b7262)||_0x1b7262);return _0x1b7262;},_0x2c1b3d=(_0x407df6,_0x2d7df0)=>(_0xb02b09,_0xf08b8)=>_0x2d7df0(_0xb02b09,_0xf08b8,_0x407df6);let _0x30a20f=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x833609,_0x34a3a2){const _0x16da91=_0x568c59;super(),this[_0x16da91(0x270)]=_0x833609,this['_imageIoService']=_0x34a3a2,this[_0x16da91(0x129)]();}['_init'](){const _0x3b2bdf=_0x568c59,_0x19885d=this;this[_0x3b2bdf(0x354)](this[_0x3b2bdf(0x270)][_0x3b2bdf(0x237)]({'onBeforePasteImage':async _0x405f26=>{const _0x47e14e=_0x3b2bdf,_0x3e55d3=await _0x19885d[_0x47e14e(0xdd)][_0x47e14e(0x22c)](_0x405f26);return _0x3e55d3?{'source':_0x3e55d3[_0x47e14e(0x2f6)],'imageSourceType':_0x3e55d3['imageSourceType']}:null;}}));}};_0x30a20f=_0x486b2d([_0x2c1b3d(0x0,_0x5f0c77['IDocClipboardService']),_0x2c1b3d(0x1,_0x150443[_0x568c59(0x1f5)])],_0x30a20f);const _0x4294fe=[_0x568c59(0x263),_0x568c59(0x18d),_0x568c59(0x22f),_0x568c59(0x236),_0x568c59(0x305),_0x568c59(0x338)];class _0x4009eb extends _0x4b176f[_0x568c59(0x24b)]{constructor(){const _0x3285f0=_0x568c59;super(...arguments),_0xe730d4(this,_0x3285f0(0x294),new Map()),_0xe730d4(this,_0x3285f0(0x166),0x0);}[_0x568c59(0x25c)](_0x119a2b){const _0x4f4842=_0x568c59;if(this[_0x4f4842(0x294)][_0x4f4842(0x268)](_0x119a2b))return this[_0x4f4842(0x294)][_0x4f4842(0x9e)](_0x119a2b);const _0x53e362=_0x4294fe[this[_0x4f4842(0x166)]];return this[_0x4f4842(0x166)]=(this['_colorIndex']+0x1)%_0x4294fe[_0x4f4842(0x261)],this[_0x4f4842(0x294)][_0x4f4842(0xd2)](_0x119a2b,_0x53e362),_0x53e362;}}function _0x548dc2(_0x2e805b){const _0x4d84a6=_0x568c59;let _0x180144='';for(const _0x4051e9 of _0x2e805b){const {startOffset:_0x2af84b,endOffset:_0x752fc2,isActive:_0x218f74,rangeType:_0x2173e4,segmentId:_0x6858f0,segmentPage:_0x40c20a}=_0x4051e9;_0x180144[_0x4d84a6(0x261)]&&(_0x180144+=','),_0x180144+=_0x2af84b+':'+_0x752fc2+':'+(_0x218f74?'1':'0')+':'+_0x2173e4+':'+_0x6858f0+':'+_0x40c20a;}return _0x180144;}function _0xd0e126(_0x36a289){const _0x510971=_0x568c59,_0x29c685=_0x36a289['split'](','),_0x4cc1f6=[];for(const _0x5752de of _0x29c685){const [_0x782ba7,_0x4e3b98,_0x38090d,_0x3df3e9,_0x2f0076,_0x29a219]=_0x5752de[_0x510971(0x277)](':');_0x4cc1f6['push']({'startOffset':Number(_0x782ba7),'endOffset':Number(_0x4e3b98),'collapsed':_0x782ba7===_0x4e3b98,'isActive':_0x38090d==='1','rangeType':_0x3df3e9===_0x4b176f['DOC_RANGE_TYPE'][_0x510971(0xaf)]?_0x4b176f[_0x510971(0xca)]['TEXT']:_0x4b176f[_0x510971(0xca)][_0x510971(0xb1)],'segmentId':typeof _0x2f0076==_0x510971(0x2e4)?String(_0x2f0076):'','segmentPage':Number(_0x29a219!=null?_0x29a219:-0x1)});}return _0x4cc1f6['some'](_0x1160d4=>_0x1160d4['isActive'])||(_0x4cc1f6[0x0][_0x510971(0x2d3)]=!0x0),_0x4cc1f6;}class _0x510ecb extends _0x4b176f['RxDisposable']{constructor(){const _0x39ef27=_0x568c59;super(...arguments),_0xe730d4(this,_0x39ef27(0xf8),new _0x2d9524[(_0x39ef27(0x1cf))](null)),_0xe730d4(this,_0x39ef27(0xac),this[_0x39ef27(0xf8)][_0x39ef27(0x2ba)]());}['syncEditingCollabCursor'](_0x2f0bbd){const _0x389036=_0x568c59,{unitID:_0x3bc56b,memberID:_0x39283b,textRanges:_0x558d01}=_0x2f0bbd,_0x42425b=_0x548dc2(_0x558d01);if(_0x42425b==='')return;const _0x3ecfe9={'unitID':_0x3bc56b,'memberID':_0x39283b,'selection':_0x42425b};this['_collabCursorState$'][_0x389036(0x165)](_0x3ecfe9);}}var _0x24a4c3=Object[_0x568c59(0xf5)],_0x504e87=(_0x2be9e0,_0x4d3d3a,_0x5937f5,_0x535584)=>{const _0x2dd1cd=_0x568c59;for(var _0x3f5ea9=_0x535584>0x1?void 0x0:_0x535584?_0x24a4c3(_0x4d3d3a,_0x5937f5):_0x4d3d3a,_0x1253aa=_0x2be9e0[_0x2dd1cd(0x261)]-0x1,_0x238989;_0x1253aa>=0x0;_0x1253aa--)(_0x238989=_0x2be9e0[_0x1253aa])&&(_0x3f5ea9=_0x238989(_0x3f5ea9)||_0x3f5ea9);return _0x3f5ea9;},_0x160ff1=(_0x2ff61c,_0x36a548)=>(_0x4f9946,_0x2160af)=>_0x36a548(_0x4f9946,_0x2160af,_0x2ff61c);const _0x4705a8=0x12c,_0x873073=0x64;let _0x2c2994=class extends _0x4b176f['RxDisposable']{constructor(_0x7c0598,_0x34aeff,_0x5f5781,_0x4f67ae,_0xe937c5,_0x42423c,_0x4b8977,_0x4b4f41,_0x1b1d1f){const _0x1b8cc6=_0x568c59;super(),_0xe730d4(this,'_online',!0x1),_0xe730d4(this,'_init',!0x1),_0xe730d4(this,'_cursorInfo$',new _0x2d9524[(_0x1b8cc6(0x1cf))](new Map())),_0xe730d4(this,'cursorInfo$',this[_0x1b8cc6(0x174)][_0x1b8cc6(0x2ba)]()),_0xe730d4(this,_0x1b8cc6(0x355),new _0x2d9524[(_0x1b8cc6(0x1cf))]([])),_0xe730d4(this,'roomMembers$',this[_0x1b8cc6(0x355)][_0x1b8cc6(0x175)](_0x2d9524[_0x1b8cc6(0x2ab)](_0x4705a8))),_0xe730d4(this,_0x1b8cc6(0x244),_0x4b176f[_0x1b8cc6(0x208)](_0x4b956e=>{const _0x41a29d=_0x1b8cc6,_0x135edc={'eventID':_0x2cf75e[_0x41a29d(0x1bd)][_0x41a29d(0x266)],'data':{'unitID':this[_0x41a29d(0xff)],'memberID':this[_0x41a29d(0x316)][_0x41a29d(0x23f)](),'selection':_0x548dc2(_0x4b956e)}};this['_session'][_0x41a29d(0x11c)](_0x135edc,this[_0x41a29d(0xff)]);},_0x873073)),(this[_0x1b8cc6(0xff)]=_0x7c0598,this[_0x1b8cc6(0x316)]=_0x34aeff,this[_0x1b8cc6(0x148)]=_0x5f5781,this[_0x1b8cc6(0xef)]=_0x4f67ae,this[_0x1b8cc6(0x100)]=_0xe937c5,this[_0x1b8cc6(0x117)]=_0x42423c,this['_transformService']=_0x4b8977,this[_0x1b8cc6(0xbb)]=_0x4b4f41,this[_0x1b8cc6(0x115)]=_0x1b1d1f);}get[_0x568c59(0x22a)](){const _0x40150d=_0x568c59;return this[_0x40150d(0x174)]['getValue']();}get[_0x568c59(0xe2)](){const _0x8f7e9f=_0x568c59;return this[_0x8f7e9f(0x355)]['getValue']();}[_0x568c59(0x106)](){const _0x577fe5=_0x568c59;super[_0x577fe5(0x106)](),this[_0x577fe5(0x174)]['next'](new Map()),this[_0x577fe5(0x174)][_0x577fe5(0xda)](),this['_roomMembers$'][_0x577fe5(0x165)]([]),this[_0x577fe5(0x355)][_0x577fe5(0xda)]();}['init'](){const _0x375469=_0x568c59;this[_0x375469(0x129)]||(this['_init']=!0x0,this['_session'][_0x375469(0x210)][_0x375469(0x175)](_0x2d9524[_0x375469(0x360)](this[_0x375469(0x2c9)]))[_0x375469(0xe7)](_0x242376=>{const _0x406b03=_0x375469;_0x242376===_0x497c74[_0x406b03(0xd7)][_0x406b03(0x2f1)]?this[_0x406b03(0x345)]():this[_0x406b03(0x235)]();}),this[_0x375469(0x316)][_0x375469(0x12a)]['pipe'](_0x2d9524[_0x375469(0x360)](this['dispose$']))[_0x375469(0xe7)](_0x1dcad6=>{const _0x2732a0=_0x375469,_0x8062f9=_0x1dcad6[_0x2732a0(0x255)];_0x8062f9===_0x2cf75e[_0x2732a0(0x1bd)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1dcad6),_0x8062f9===_0x2cf75e[_0x2732a0(0x1bd)][_0x2732a0(0xc3)]&&this[_0x2732a0(0x18c)](_0x1dcad6);}),this[_0x375469(0x354)](this['_commandService'][_0x375469(0xe9)](_0x136de1=>{const _0x37f9af=_0x375469,_0x179989=_0x136de1['params'];_0x179989!=null&&this[_0x37f9af(0x201)]&&_0x136de1['id']===_0xb532ca[_0x37f9af(0xc2)]['id']&&_0x179989[_0x37f9af(0x13a)]===this[_0x37f9af(0xff)]&&_0x179989[_0x37f9af(0x295)]===!0x1&&_0x179989[_0x37f9af(0x109)][_0x37f9af(0x261)]>0x0&&this['_updateLocalCursor'](_0x179989[_0x37f9af(0x109)]);})),this[_0x375469(0x117)][_0x375469(0xac)]['pipe'](_0x2d9524[_0x375469(0x360)](this[_0x375469(0x2c9)]))[_0x375469(0xe7)](_0xbcf20f=>{const _0x2d24cf=_0x375469;if((_0xbcf20f==null?void 0x0:_0xbcf20f[_0x2d24cf(0xff)])!==this[_0x2d24cf(0xff)])return;const _0x20877a={'eventID':_0x2cf75e[_0x2d24cf(0x1bd)][_0x2d24cf(0x266)],'data':_0xbcf20f};this[_0x2d24cf(0x116)](_0x20877a);}),this[_0x375469(0x354)](this[_0x375469(0x115)][_0x375469(0xe9)](_0x3affc5=>{const _0xfd2d7=_0x375469;if(_0x3affc5[_0xfd2d7(0x2c3)]==null)return;const _0x34a1fd=_0x3affc5['params'];if(_0x3affc5['id']!==_0xb532ca[_0xfd2d7(0x2cd)]['id']||_0x34a1fd[_0xfd2d7(0x13a)]!==this[_0xfd2d7(0xff)])return;const _0x15e6d9={'id':_0xfd2d7(0x326),'params':_0x34a1fd},_0x429a15=this[_0xfd2d7(0x22a)];for(const [_0x57d100,_0x714044]of _0x429a15){const _0x11c648={'id':_0xfd2d7(0x326),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x714044['ranges']}},_0x54c7d2=this[_0xfd2d7(0x272)][_0xfd2d7(0x1dd)](_0x15e6d9,_0x11c648,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x54c7d2))throw _0x54c7d2[_0xfd2d7(0x11f)];_0x429a15[_0xfd2d7(0xd2)](_0x57d100,{..._0x714044,'ranges':_0x54c7d2[_0xfd2d7(0x1d5)][_0xfd2d7(0x2c3)][_0xfd2d7(0x1a4)]});}queueMicrotask(()=>{const _0x3f3961=_0xfd2d7;this[_0x3f3961(0x174)]['next'](_0x429a15);});})));}['_onCursorUpdate'](_0x1a135a){const _0x1937f0=_0x568c59;var _0x1d1b59,_0x13e5e3;const {memberID:_0x36befa,selection:_0x200e41}=_0x1a135a[_0x1937f0(0x221)],_0x35b8ae=_0xd0e126(_0x200e41),_0x5997d4=(_0x13e5e3=(_0x1d1b59=this[_0x1937f0(0x100)][_0x1937f0(0x91)](this['unitID'],_0x36befa))==null?void 0x0:_0x1d1b59['name'])!=null?_0x13e5e3:_0x1937f0(0x2c1),_0x2c8516={'color':this[_0x1937f0(0xef)][_0x1937f0(0x25c)](_0x36befa),'name':_0x5997d4,'ranges':_0x35b8ae},_0x1ccb55=this[_0x1937f0(0x22a)];_0x1ccb55[_0x1937f0(0xd2)](_0x36befa,_0x2c8516),this[_0x1937f0(0x174)][_0x1937f0(0x165)](_0x1ccb55);}[_0x568c59(0x18c)](_0x634634){const _0x581fe1=_0x568c59,{memberID:_0x4c8c42}=_0x634634[_0x581fe1(0x221)],_0x169378=this[_0x581fe1(0x22a)];_0x169378[_0x581fe1(0x1a7)](_0x4c8c42),this[_0x581fe1(0x174)][_0x581fe1(0x165)](_0x169378);}['_toggleOnline'](){const _0x1a756b=_0x568c59;var _0x34066a;if(this['_online']=!0x0,((_0x34066a=this[_0x1a756b(0xbb)][_0x1a756b(0x18f)]())==null?void 0x0:_0x34066a[_0x1a756b(0x1f3)]())!==this[_0x1a756b(0xff)])return;const _0x225dcd=this[_0x1a756b(0x148)][_0x1a756b(0x9e)](_0xb532ca[_0x1a756b(0x1f9)])[_0x1a756b(0x192)]();Array[_0x1a756b(0x2f4)](_0x225dcd)&&_0x225dcd[_0x1a756b(0x261)]>0x0&&this[_0x1a756b(0x244)](_0x225dcd);}[_0x568c59(0x235)](){const _0x218795=_0x568c59;this[_0x218795(0x201)]=!0x1;}};_0x2c2994=_0x504e87([_0x160ff1(0x2,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0x160ff1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4009eb)),_0x160ff1(0x4,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x2f0)])),_0x160ff1(0x5,_0x4b176f[_0x568c59(0x36e)](_0x510ecb)),_0x160ff1(0x6,_0x2cf75e[_0x568c59(0x2ef)]),_0x160ff1(0x7,_0x4b176f[_0x568c59(0x26f)]),_0x160ff1(0x8,_0x4b176f['ICommandService'])],_0x2c2994);var _0x5a2ffe=Object[_0x568c59(0xf5)],_0x20e6db=(_0x2b2e0f,_0x225502,_0x2d20a6,_0x51c0db)=>{const _0x204a9b=_0x568c59;for(var _0x5e5922=_0x51c0db>0x1?void 0x0:_0x51c0db?_0x5a2ffe(_0x225502,_0x2d20a6):_0x225502,_0x388af7=_0x2b2e0f[_0x204a9b(0x261)]-0x1,_0x463224;_0x388af7>=0x0;_0x388af7--)(_0x463224=_0x2b2e0f[_0x388af7])&&(_0x5e5922=_0x463224(_0x5e5922)||_0x5e5922);return _0x5e5922;},_0x35bee9=(_0x36b935,_0x568c18)=>(_0x379089,_0x2195cd)=>_0x568c18(_0x379089,_0x2195cd,_0x36b935);const _0x2fd63a=0x12c,_0xdbf390=0x64,_0x152b33=()=>{let _0x423bd5=[],_0x5bec71=!0x1;return _0x8747a3=>{const _0xb476b5=_0x34b8;_0x423bd5[_0xb476b5(0x1cc)](_0x8747a3),_0x5bec71||(_0x5bec71=!0x0,setTimeout(()=>{const _0x4601e8=_0xb476b5;_0x423bd5[_0x4601e8(0x15e)](_0x36f22f=>_0x36f22f()),_0x423bd5=[],_0x5bec71=!0x1;}));};};let _0x8f0c30=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x48d25c,_0x530191,_0x103a00,_0x406c7d,_0x5e1cb5,_0x1acda7,_0x26a4eb,_0x490a27){const _0x4674fb=_0x568c59;super(),_0xe730d4(this,_0x4674fb(0x201),!0x1),_0xe730d4(this,_0x4674fb(0x129),!0x1),_0xe730d4(this,'_cursorInfo$',new _0x2d9524[(_0x4674fb(0x1cf))](new Map())),_0xe730d4(this,_0x4674fb(0x1ac),this[_0x4674fb(0x174)][_0x4674fb(0x2ba)]()),_0xe730d4(this,_0x4674fb(0x355),new _0x2d9524['BehaviorSubject']([])),_0xe730d4(this,_0x4674fb(0x13b),this[_0x4674fb(0x355)][_0x4674fb(0x175)](_0x2d9524[_0x4674fb(0x2ab)](_0x2fd63a))),_0xe730d4(this,_0x4674fb(0x244),_0x4b176f[_0x4674fb(0x208)]((_0x5e6aab,_0x4216e1)=>{const _0x407cef=_0x4674fb,_0x1a7230={'eventID':_0x2cf75e['CollaborationEvent'][_0x407cef(0x266)],'data':{'unitID':this[_0x407cef(0xff)],'memberID':this[_0x407cef(0x316)][_0x407cef(0x23f)](),'selection':_0x1707bd['serializeRangeWithSheet'](_0x5e6aab,_0x4216e1[_0x407cef(0x209)])}};this['_session'][_0x407cef(0x11c)](_0x1a7230,this[_0x407cef(0xff)]);},_0xdbf390)),(this[_0x4674fb(0xff)]=_0x48d25c,this[_0x4674fb(0x316)]=_0x530191,this[_0x4674fb(0x148)]=_0x103a00,this[_0x4674fb(0xef)]=_0x406c7d,this[_0x4674fb(0x100)]=_0x5e1cb5,this[_0x4674fb(0xbb)]=_0x1acda7,this[_0x4674fb(0x115)]=_0x26a4eb,this[_0x4674fb(0xa7)]=_0x490a27);}get[_0x568c59(0x22a)](){const _0x432a4=_0x568c59;return this[_0x432a4(0x174)]['getValue']();}get[_0x568c59(0xe2)](){const _0x5f1fa5=_0x568c59;return this['_roomMembers$'][_0x5f1fa5(0xce)]();}[_0x568c59(0x106)](){const _0x5339d0=_0x568c59;super[_0x5339d0(0x106)](),this[_0x5339d0(0x174)]['next'](new Map()),this[_0x5339d0(0x174)]['complete'](),this[_0x5339d0(0x355)][_0x5339d0(0x165)]([]),this[_0x5339d0(0x355)][_0x5339d0(0xda)]();}[_0x568c59(0x194)](){const _0x5626de=_0x568c59;this[_0x5626de(0x129)]||(this['_init']=!0x0,this['_session'][_0x5626de(0x210)][_0x5626de(0x175)](_0x2d9524[_0x5626de(0x360)](this[_0x5626de(0x2c9)]))[_0x5626de(0xe7)](_0x4eaafd=>{const _0x270453=_0x5626de;_0x4eaafd===_0x497c74[_0x270453(0xd7)][_0x270453(0x2f1)]?this[_0x270453(0x345)]():this[_0x270453(0x235)]();}),this[_0x5626de(0x316)][_0x5626de(0x12a)][_0x5626de(0x175)](_0x2d9524[_0x5626de(0x360)](this[_0x5626de(0x2c9)]))[_0x5626de(0xe7)](_0x100783=>{const _0x30b5a5=_0x5626de,_0x3cf27c=_0x100783[_0x30b5a5(0x255)];_0x3cf27c===_0x2cf75e['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x30b5a5(0x116)](_0x100783),_0x3cf27c===_0x2cf75e[_0x30b5a5(0x1bd)][_0x30b5a5(0xc3)]&&this[_0x30b5a5(0x18c)](_0x100783);}),this[_0x5626de(0x10b)](),this[_0x5626de(0x354)](this[_0x5626de(0x115)][_0x5626de(0xe9)](_0x46b7e4=>{const _0x3b5169=_0x5626de;if(this['_online']&&_0x46b7e4['id']===_0x4ba8ca[_0x3b5169(0xa3)]['id']&&_0x46b7e4[_0x3b5169(0x2c3)]['unitId']===this[_0x3b5169(0xff)]){const _0x482267=_0x46b7e4['params'];this[_0x3b5169(0x244)](_0x482267[_0x3b5169(0x1b8)],_0x482267['selections'][0x0]);}})));}[_0x568c59(0x116)](_0x208182){const _0x43a178=_0x568c59;var _0x439a9d,_0x43671a;const {memberID:_0x369b1e,selection:_0x286652}=_0x208182['data'],{sheetName:_0x36d6b3,range:_0x964ea6}=_0x1707bd['deserializeRangeWithSheet'](_0x286652),_0x2cd365={'name':(_0x43671a=(_0x439a9d=this['_memberService'][_0x43a178(0x91)](this[_0x43a178(0xff)],_0x369b1e))==null?void 0x0:_0x439a9d[_0x43a178(0x111)])!=null?_0x43671a:_0x43a178(0x2c1),'range':this[_0x43a178(0x184)](_0x36d6b3,_0x964ea6),'sheetID':_0x36d6b3,'color':this[_0x43a178(0xef)][_0x43a178(0x25c)](_0x369b1e),'selection':_0x286652},_0x9da315=this[_0x43a178(0x22a)];_0x9da315[_0x43a178(0xd2)](_0x369b1e,_0x2cd365),this[_0x43a178(0x174)][_0x43a178(0x165)](_0x9da315);}[_0x568c59(0x18c)](_0xaf3487){const _0x2020f7=_0x568c59,{memberID:_0x522980}=_0xaf3487[_0x2020f7(0x221)],_0x1cc1b0=this[_0x2020f7(0x22a)];_0x1cc1b0['delete'](_0x522980),this[_0x2020f7(0x174)][_0x2020f7(0x165)](_0x1cc1b0);}['_getMergeRange'](_0x1286a7,_0x3d905e){const _0x44fd78=_0x568c59;var _0x3a49bf,_0xc338e6;const _0x1e1b50=(_0xc338e6=(_0x3a49bf=this[_0x44fd78(0xbb)][_0x44fd78(0x33e)](this[_0x44fd78(0xff)]))==null?void 0x0:_0x3a49bf[_0x44fd78(0x1ca)](_0x1286a7))==null?void 0x0:_0xc338e6['getMergeData']();return(_0x1e1b50==null?void 0x0:_0x1e1b50[_0x44fd78(0x300)](_0x22df91=>_0x4b176f[_0x44fd78(0x162)][_0x44fd78(0x35b)](_0x22df91,_0x3d905e)))||_0x3d905e;}[_0x568c59(0x10b)](){const _0x382e78=_0x568c59,_0x3b75df=new _0x4b176f['DisposableCollection'](),_0x27f2c3=_0x152b33(),_0x4d100e=()=>{const _0x2a341e=_0x34b8;_0x3b75df[_0x2a341e(0x106)]();const _0x7099a0=(_0x5c8027,_0x5d0c5a,_0x262008,_0x721060)=>{const _0x5ae608=_0x2a341e;let _0x529a1e=[];switch(_0x5c8027['id']){case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x189)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x19a)](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x27e)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x187)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)]['InsertColCommandId']:{_0x529a1e=_0x4ba8ca['handleInsertCol'](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0x34c)]:{_0x529a1e=_0x4ba8ca['handleInsertRangeMoveDown'](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x2a4)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0xcc)](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x1e0)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x114)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0x123)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x26b)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0xa4)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x25f)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)]['RemoveRowCommandId']:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x2f3)](_0x5c8027,_0x721060);break;}}const _0x580455=_0x4ba8ca[_0x5ae608(0x1d8)](_0x529a1e,_0x721060),_0x1a32b9=this[_0x5ae608(0x22a)][_0x5ae608(0x9e)](_0x5d0c5a);if(_0x1a32b9&&_0x580455){const _0x5d57c5={..._0x1a32b9,'range':_0x580455};this[_0x5ae608(0x22a)][_0x5ae608(0xd2)](_0x5d0c5a,_0x5d57c5),_0x27f2c3(()=>{const _0x5520cf=_0x5ae608,_0x346a15=this[_0x5520cf(0xa7)][_0x5520cf(0x1a5)](_0x580455,_0x2d31db=>(_0x346a15[_0x5520cf(0x106)](),_0x7099a0(_0x2d31db,_0x5d0c5a,_0x262008,_0x580455)));_0x3b75df[_0x5520cf(0x2bf)](_0x346a15);});}return{'redos':[],'undos':[]};};this[_0x2a341e(0x22a)][_0x2a341e(0x15e)]((_0x3602ca,_0x30a3de)=>{const _0x49b6f1=_0x2a341e,{range:_0x4c57ce,sheetID:_0x33243a}=_0x3602ca,_0x54a744=this[_0x49b6f1(0xa7)][_0x49b6f1(0x1a5)](_0x4c57ce,_0x33de9c=>(_0x54a744[_0x49b6f1(0x106)](),_0x7099a0(_0x33de9c,_0x30a3de,_0x33243a,_0x4c57ce)));_0x3b75df[_0x49b6f1(0x2bf)](_0x54a744);});};this[_0x382e78(0x354)](_0x4b176f[_0x382e78(0xa6)](this['_cursorInfo$']['subscribe'](()=>{_0x4d100e();})));}[_0x568c59(0x345)](){const _0xa642d4=_0x568c59;var _0x59f55e,_0x49eec7;if(this[_0xa642d4(0x201)]=!0x0,((_0x59f55e=this[_0xa642d4(0xbb)][_0xa642d4(0x18f)]())==null?void 0x0:_0x59f55e[_0xa642d4(0x1f3)]())!==this[_0xa642d4(0xff)])return;const _0x1a6d1b=(_0x49eec7=this[_0xa642d4(0x148)]['get'](_0x4ba8ca[_0xa642d4(0x358)])[_0xa642d4(0x86)]())==null?void 0x0:_0x49eec7[0x0],_0x29ed25=this[_0xa642d4(0xbb)][_0xa642d4(0x11a)](_0x4b176f[_0xa642d4(0xc6)][_0xa642d4(0x1f2)])[_0xa642d4(0x2cb)]();_0x1a6d1b&&_0x29ed25&&this[_0xa642d4(0x244)](_0x29ed25[_0xa642d4(0x118)](),_0x1a6d1b);}[_0x568c59(0x235)](){const _0x50dc50=_0x568c59;this[_0x50dc50(0x201)]=!0x1;}};_0x8f0c30=_0x20e6db([_0x35bee9(0x2,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x35bee9(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4009eb)),_0x35bee9(0x4,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x2f0)])),_0x35bee9(0x5,_0x4b176f['IUniverInstanceService']),_0x35bee9(0x6,_0x4b176f[_0x568c59(0x32b)]),_0x35bee9(0x7,_0x4b176f[_0x568c59(0x36e)](_0x4ba8ca[_0x568c59(0x2b4)]))],_0x8f0c30);var _0x37d882=Object['getOwnPropertyDescriptor'],_0x5c5d4a=(_0x492623,_0x1dff59,_0x5dc127,_0x4f837f)=>{const _0x3f8c51=_0x568c59;for(var _0x3fd4d1=_0x4f837f>0x1?void 0x0:_0x4f837f?_0x37d882(_0x1dff59,_0x5dc127):_0x1dff59,_0x1c1114=_0x492623[_0x3f8c51(0x261)]-0x1,_0x49c918;_0x1c1114>=0x0;_0x1c1114--)(_0x49c918=_0x492623[_0x1c1114])&&(_0x3fd4d1=_0x49c918(_0x3fd4d1)||_0x3fd4d1);return _0x3fd4d1;},_0x3f5b2f=(_0x44fc5d,_0x593bc3)=>(_0x2a7c06,_0x266415)=>_0x593bc3(_0x2a7c06,_0x266415,_0x44fc5d);let _0x53db82=class extends _0x4b176f['RxDisposable']{constructor(_0x18a9a4,_0x2240e6,_0x348426){const _0x3cf699=_0x568c59;super(),_0xe730d4(this,_0x3cf699(0x2bc),new Map()),_0xe730d4(this,_0x3cf699(0x287),new _0x2d9524['Subject']()),(this['_univerInstanceService']=_0x18a9a4,this['_injector']=_0x2240e6,this[_0x3cf699(0x245)]=_0x348426,this[_0x3cf699(0x129)]());}['dispose'](){const _0x238994=_0x568c59;super[_0x238994(0x106)](),this[_0x238994(0x287)][_0x238994(0xda)](),this[_0x238994(0x2bc)][_0x238994(0x15e)](_0x5b0205=>_0x5b0205[_0x238994(0x106)]());}['getCollabCursors$'](_0xf234f){const _0x54cd19=_0x568c59;return this[_0x54cd19(0x2bc)][_0x54cd19(0x268)](_0xf234f)?this[_0x54cd19(0x2bc)][_0x54cd19(0x9e)](_0xf234f)['cursorInfo$']:this[_0x54cd19(0x287)][_0x54cd19(0x175)](_0x2d9524[_0x54cd19(0x365)](_0x5bc7bd=>_0x5bc7bd[_0x54cd19(0xff)]===_0xf234f),_0x2d9524['switchMap'](_0x4d1a08=>_0x4d1a08[_0x54cd19(0x1ac)]));}[_0x568c59(0x129)](){const _0x4ec8be=_0x568c59;this['_univerInstanceService'][_0x4ec8be(0xf7)](_0x4b176f[_0x4ec8be(0xc6)]['UNIVER_SHEET'])[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0xe7)](async _0x434f8b=>{const _0x216f79=_0x4ec8be,_0x4b7d6d=_0x434f8b[_0x216f79(0x1f3)](),_0x24e280=await this['_startSheetCollabCursor'](_0x4b7d6d);this['_entityInit$'][_0x216f79(0x165)](_0x24e280),this['_entities'][_0x216f79(0xd2)](_0x4b7d6d,_0x24e280);}),this['_univerInstanceService'][_0x4ec8be(0xf7)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x141)])[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x365)](_0x4ee439=>!_0x4ee439[_0x4ec8be(0x1f3)]()[_0x4ec8be(0x1b3)]('__')))[_0x4ec8be(0xe7)](async _0xa4b31b=>{const _0x4c1a76=_0x4ec8be,_0x2b489a=_0xa4b31b[_0x4c1a76(0x1f3)](),_0xe020ee=await this[_0x4c1a76(0xfb)](_0x2b489a);this[_0x4c1a76(0x287)][_0x4c1a76(0x165)](_0xe020ee),this[_0x4c1a76(0x2bc)][_0x4c1a76(0xd2)](_0x2b489a,_0xe020ee);}),_0x2d9524['merge'](this[_0x4ec8be(0xbb)][_0x4ec8be(0xc8)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x141)]),this[_0x4ec8be(0xbb)][_0x4ec8be(0xc8)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x1f2)]))['pipe'](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0xe7)](_0xca7592=>{const _0x11535e=_0x4ec8be,_0x2ea9ed=_0xca7592[_0x11535e(0x1f3)](),_0x1101e8=this[_0x11535e(0x2bc)][_0x11535e(0x9e)](_0x2ea9ed);_0x1101e8&&(_0x1101e8['dispose'](),this[_0x11535e(0x2bc)]['delete'](_0x2ea9ed));});}async[_0x568c59(0x130)](_0x32392b){const _0x396471=_0x568c59,_0x47dcf7=await this[_0x396471(0x245)][_0x396471(0x225)](_0x32392b),_0x53cb74=this[_0x396471(0x148)][_0x396471(0x2a8)](_0x8f0c30,_0x32392b,_0x47dcf7);return _0x53cb74['init'](),_0x53cb74;}async[_0x568c59(0xfb)](_0x7cad46){const _0x383843=_0x568c59,_0x5b0175=await this[_0x383843(0x245)][_0x383843(0x225)](_0x7cad46),_0x5976a7=this[_0x383843(0x148)]['createInstance'](_0x2c2994,_0x7cad46,_0x5b0175);return _0x5976a7['init'](),_0x5976a7;}};_0x53db82=_0x5c5d4a([_0x3f5b2f(0x0,_0x4b176f[_0x568c59(0x26f)]),_0x3f5b2f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['Injector'])),_0x3f5b2f(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x29f)]))],_0x53db82);const _0x21a6a9=0x14,_0x367f7e=0xc8,_0x167a5c=0x4,_0x3cdce1=0x5;function _0x42254b(_0x313b12,_0x5af7f4){const _0x2d4bda=_0x568c59;let {radius:_0x335b2c,width:_0x33d915,height:_0x83cbee}=_0x5af7f4;_0x335b2c=_0x335b2c!=null?_0x335b2c:0x0,_0x33d915=_0x33d915!=null?_0x33d915:0x1e,_0x83cbee=_0x83cbee!=null?_0x83cbee:0x1e;let _0x447c61=0x0,_0x2f75a2=0x0,_0x26f420=0x0;_0x447c61=_0x2f75a2=_0x26f420=Math[_0x2d4bda(0x1b2)](_0x335b2c,_0x33d915/0x2,_0x83cbee/0x2),_0x313b12['beginPath'](),_0x313b12[_0x2d4bda(0x1a2)](_0x447c61,0x0),_0x313b12[_0x2d4bda(0xe0)](_0x33d915-_0x2f75a2,0x0),_0x313b12[_0x2d4bda(0xeb)](_0x33d915-_0x2f75a2,_0x2f75a2,_0x2f75a2,Math['PI']*0x3/0x2,0x0,!0x1),_0x313b12[_0x2d4bda(0xe0)](_0x33d915,_0x83cbee-_0x26f420),_0x313b12[_0x2d4bda(0xeb)](_0x33d915-_0x26f420,_0x83cbee-_0x26f420,_0x26f420,0x0,Math['PI']/0x2,!0x1),_0x313b12[_0x2d4bda(0xe0)](0x0,_0x83cbee),_0x313b12[_0x2d4bda(0xe0)](0x0,_0x447c61),_0x313b12[_0x2d4bda(0xeb)](_0x447c61,_0x447c61,_0x447c61,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x313b12[_0x2d4bda(0x167)](),_0x5af7f4[_0x2d4bda(0x8f)]&&(_0x313b12[_0x2d4bda(0xdf)](),_0x313b12[_0x2d4bda(0x2c7)]=_0x5af7f4['fill'],_0x5af7f4[_0x2d4bda(0x2f9)]===_0x2d4bda(0x21d)?_0x313b12['fill'](_0x2d4bda(0x21d)):_0x313b12[_0x2d4bda(0x8f)](),_0x313b12[_0x2d4bda(0x24d)]());}class _0x1a0ab3 extends _0x517da6[_0x568c59(0x1ad)]{constructor(_0x4db68e,_0xf5216f){const _0x25b852=_0x568c59;super(_0x4db68e,_0xf5216f),_0xe730d4(this,_0x25b852(0x135)),_0xe730d4(this,_0x25b852(0x2fa)),(this[_0x25b852(0x135)]=_0xf5216f==null?void 0x0:_0xf5216f[_0x25b852(0x135)],this[_0x25b852(0x2fa)]=_0xf5216f==null?void 0x0:_0xf5216f['text']);}static['drawWith'](_0x5a2ebc,_0x257ff9){const _0x3e0e03=_0x568c59,{text:_0x3a99a0,color:_0x3d2785}=_0x257ff9;_0x5a2ebc[_0x3e0e03(0xdf)](),_0x5a2ebc['font']=_0x3e0e03(0x14c);const _0x2b5657=_0x5a2ebc[_0x3e0e03(0x1a6)](_0x3a99a0)['width'],_0x5ce001=Math[_0x3e0e03(0x1b2)](_0x2b5657+0x2*_0x167a5c,_0x367f7e);_0x42254b(_0x5a2ebc,{'height':_0x21a6a9,'radius':0x4,'width':_0x5ce001,'fill':_0x3d2785}),_0x5a2ebc[_0x3e0e03(0x2c7)]=_0x3e0e03(0x2a2);const _0x386ebf=_0x167a5c,_0x2d99bf=_0x21a6a9-_0x3cdce1,_0xd16930=_0x367f7e-0x2*_0x167a5c;if(_0x2b5657>_0xd16930){let _0xf87f0c='',_0x13cf9d=0x0;for(const _0x11b1ec of _0x3a99a0){const _0x5c3799=_0x5a2ebc[_0x3e0e03(0x1a6)](_0x11b1ec)[_0x3e0e03(0x2f5)];if(_0x13cf9d+_0x5c3799<=_0xd16930-_0x5a2ebc[_0x3e0e03(0x1a6)](_0x3e0e03(0x1a8))[_0x3e0e03(0x2f5)])_0xf87f0c+=_0x11b1ec,_0x13cf9d+=_0x5c3799;else{_0xf87f0c+=_0x3e0e03(0x1a8);break;}}_0x5a2ebc['fillText'](_0xf87f0c,_0x386ebf,_0x2d99bf);}else _0x5a2ebc[_0x3e0e03(0x331)](_0x3a99a0,_0x386ebf,_0x2d99bf);_0x5a2ebc[_0x3e0e03(0x24d)]();}[_0x568c59(0x32e)](_0x3bd794){const _0x188af3=_0x568c59;_0x1a0ab3[_0x188af3(0x1f0)](_0x3bd794,this);}}const _0x4e9940='collab-text-anchor-',_0x2c0825=_0x568c59(0x1b9),_0x11e65f=_0x568c59(0x173),_0x43bf1e=0x6,_0x3c9181=1.5,_0x803823=0x4,_0x5c6dee=1.5,_0x2032f6=_0x568c59(0x144);class _0x4a4828{constructor(_0x1e08df,_0x2a6a03,_0x264c18,_0x5a0b87){const _0x1ee61d=_0x568c59;_0xe730d4(this,_0x1ee61d(0x2e8),[]),_0xe730d4(this,'_anchor',null),_0xe730d4(this,_0x1ee61d(0x1fa),null),_0xe730d4(this,'_anchorDot',null),_0xe730d4(this,_0x1ee61d(0x14f),null),_0xe730d4(this,_0x1ee61d(0x314),null),(this['_cursor']=_0x1e08df,this[_0x1ee61d(0x301)]=_0x2a6a03,this[_0x1ee61d(0x200)]=_0x264c18,this['_document']=_0x5a0b87,this[_0x1ee61d(0xf9)]());}set[_0x568c59(0x219)](_0x32bac7){const _0xc05020=_0x568c59;_0x32bac7?(this[_0xc05020(0x2a0)]&&this['_anchorDot'][_0xc05020(0x92)](),this[_0xc05020(0x1fa)]&&this[_0xc05020(0x1fa)][_0xc05020(0x154)]()):(this['_anchorDot']&&this[_0xc05020(0x2a0)]['show'](),this['_textBubble']&&this[_0xc05020(0x1fa)]['hide']());}[_0x568c59(0x106)](){const _0x1e3af2=_0x568c59;for(const _0x48976c of this['_shapes'])_0x48976c[_0x1e3af2(0x106)]();this[_0x1e3af2(0x1fa)]&&this[_0x1e3af2(0x1fa)][_0x1e3af2(0x106)](),this[_0x1e3af2(0x2a0)]&&this[_0x1e3af2(0x2a0)][_0x1e3af2(0x106)](),this[_0x1e3af2(0x25d)]&&this[_0x1e3af2(0x25d)]['dispose'](),this['_eventUnsubscribe']&&this[_0x1e3af2(0x314)]();}[_0x568c59(0xf9)](){const _0x5ca834=_0x568c59;var _0x467ca4;const {_docSkeleton:_0x1789ef,_document:_0x3e8419}=this,{color:_0x24f206,name:_0x3d8bfe,ranges:_0x479082}=this['_cursor'],_0x1132cf=_0x3e8419[_0x5ca834(0x1a1)](),{docsLeft:_0x13d9ba,docsTop:_0x27f99a}=_0x1132cf,_0x4d6ff6=new _0x5f0c77[(_0x5ca834(0x28c))](_0x1132cf,_0x1789ef);for(const {startOffset:_0x14201c,endOffset:_0x3f1aac,rangeType:_0xb9db8f,segmentId:_0x1d20b0,segmentPage:_0x2b3ea0,collapsed:_0x4b1738,isActive:_0x2629aa}of _0x479082){const _0xbb9b19=_0x1789ef['findNodePositionByCharIndex'](_0x14201c,!0x0,_0x1d20b0,_0x2b3ea0);let _0x2eb71d=_0x1789ef['findNodePositionByCharIndex'](_0x3f1aac,!0x0,_0x1d20b0,_0x2b3ea0);if(_0x2eb71d==null&&(_0x2eb71d=_0x1789ef['findNodePositionByCharIndex'](_0x3f1aac-0x1,!0x1,_0x1d20b0,_0x2b3ea0)),_0x2629aa){const {contentBoxPointGroup:_0x357b46}=_0x4d6ff6[_0x5ca834(0x35d)](_0x2eb71d,_0x2eb71d);if(_0x357b46[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x2dc)](_0x24f206,_0x357b46,_0x13d9ba,_0x27f99a,_0x3d8bfe),this[_0x5ca834(0x314)]=this['_handleHover']();}if(_0xbb9b19&&_0x2eb71d){if(_0xb9db8f===_0x4b176f[_0x5ca834(0xca)][_0x5ca834(0xb1)]){const _0x4c24a2=new _0x5f0c77[(_0x5ca834(0x2a1))](_0x1132cf,_0x1789ef),{pointGroup:_0x5948be}=(_0x467ca4=_0x4c24a2[_0x5ca834(0x35d)](_0xbb9b19,_0x2eb71d))!=null?_0x467ca4:{};if(_0x5948be==null||_0x5948be[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x15f)](_0x24f206,_0x5948be,_0x13d9ba,_0x27f99a);}else{if(!_0x4b1738){const {borderBoxPointGroup:_0x48d85d}=_0x4d6ff6[_0x5ca834(0x35d)](_0xbb9b19,_0x2eb71d);if(_0x48d85d[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x1b0)](_0x24f206,_0x48d85d,_0x13d9ba,_0x27f99a);}}}}}[_0x568c59(0x2dc)](_0x5ba58c,_0x184b93,_0x532d82,_0x4c2b65,_0x418499){const _0xa5e435=_0x568c59,_0x168ab8=this[_0xa5e435(0x121)](_0x184b93),{left:_0x2e4ab5,top:_0x59334a,height:_0x2cedc6}=_0x168ab8,_0x4bee49=this[_0xa5e435(0x2be)](),_0x1defe2=_0x5c6dee/_0x4bee49,_0x58d0f7=new _0x517da6[(_0xa5e435(0x317))](_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65,'height':_0x2cedc6,'width':_0x3c9181,'fill':_0x5ba58c||_0x517da6['getColor'](_0x4b176f[_0xa5e435(0xae)][_0xa5e435(0x246)],0x0),'strokeWidth':_0x1defe2,'stroke':_0x2032f6,'evented':!0x0});this[_0xa5e435(0x25d)]=_0x58d0f7,this[_0xa5e435(0x301)][_0xa5e435(0x102)](_0x58d0f7,_0x5f0c77['TEXT_RANGE_LAYER_INDEX']);const _0x4d18a8=new _0x517da6[(_0xa5e435(0x317))](_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65-_0x803823/0x2,'height':_0x803823,'width':_0x803823,'fill':_0x5ba58c||_0x517da6['getColor'](_0x4b176f[_0xa5e435(0xae)][_0xa5e435(0x246)],0x0),'strokeWidth':0x0,'stroke':_0x5ba58c||_0x517da6[_0xa5e435(0x15c)](_0x4b176f['COLORS'][_0xa5e435(0x246)],0x0),'evented':!0x1});this[_0xa5e435(0x2a0)]=_0x4d18a8,this[_0xa5e435(0x301)][_0xa5e435(0x102)](_0x4d18a8,_0x5f0c77[_0xa5e435(0xa0)]);const _0x533f8a=new _0x1a0ab3(_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65-_0x21a6a9,'text':_0x418499,'color':_0x5ba58c});this['_textBubble']=_0x533f8a,this[_0xa5e435(0x301)]['addObject'](_0x533f8a,_0x5f0c77[_0xa5e435(0xa0)]),this[_0xa5e435(0x219)]=!0x1;}[_0x568c59(0x133)](){const _0x468009=_0x568c59,_0x571e41=this[_0x468009(0x25d)][_0x468009(0x9f)][_0x468009(0x318)](()=>{const _0x38f37d=_0x468009;this[_0x38f37d(0x219)]=!0x0;}),_0xf4c749=this[_0x468009(0x25d)][_0x468009(0xb4)]['subscribeEvent'](()=>{const _0x10b5b3=_0x468009;this['_hideTimer']&&clearTimeout(this[_0x10b5b3(0x14f)]),this[_0x10b5b3(0x14f)]=setTimeout(()=>{const _0x4bab3b=_0x10b5b3;this[_0x4bab3b(0x219)]=!0x1;},0x7d0);});return()=>{_0x571e41['unsubscribe'](),_0xf4c749['unsubscribe']();};}[_0x568c59(0x1b0)](_0x5cdd72,_0x3f6c32,_0x46e403,_0x4797cc){const _0x3c7abf=_0x568c59,_0x135f59=new _0x4b176f['ColorKit'](_0x5cdd72)[_0x3c7abf(0xf3)](0.2)[_0x3c7abf(0x1ed)](),_0x422cf1=new _0x517da6[(_0x3c7abf(0x281))](_0x2c0825+_0x4b176f[_0x3c7abf(0x22e)](_0x43bf1e),{'pointsGroup':_0x3f6c32,'fill':_0x135f59||_0x517da6[_0x3c7abf(0x15c)](_0x4b176f[_0x3c7abf(0xae)][_0x3c7abf(0x246)],0.2),'left':_0x46e403,'top':_0x4797cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c7abf(0x2e8)][_0x3c7abf(0x1cc)](_0x422cf1),this[_0x3c7abf(0x301)]['addObject'](_0x422cf1,_0x5f0c77[_0x3c7abf(0xa0)]);}[_0x568c59(0x15f)](_0x59f840,_0x26384e,_0x435584,_0x44b69d){const _0x3d057c=_0x568c59,_0x3fe02c=new _0x4b176f[(_0x3d057c(0x292))](_0x59f840)[_0x3d057c(0xf3)](0.2)[_0x3d057c(0x1ed)](),_0xddf071=new _0x517da6[(_0x3d057c(0x281))](_0x11e65f+_0x4b176f['generateRandomId'](_0x43bf1e),{'pointsGroup':_0x26384e,'fill':_0x3fe02c||_0x517da6['getColor'](_0x4b176f[_0x3d057c(0xae)]['black'],0.2),'left':_0x435584,'top':_0x44b69d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3d057c(0x1cc)](_0xddf071),this[_0x3d057c(0x301)][_0x3d057c(0x102)](_0xddf071,_0x5f0c77[_0x3d057c(0xa0)]);}[_0x568c59(0x121)](_0x41a536){const _0x3376e1=_0x41a536[0x0],_0x3ca364=_0x3376e1[0x0],_0x4b8cc1=_0x3376e1[0x2],{x:_0xadd302,y:_0x237372}=_0x3ca364,{x:_0x487d0f,y:_0xe00c11}=_0x4b8cc1;return{'left':_0xadd302,'top':_0x237372,'width':_0x487d0f-_0xadd302,'height':_0xe00c11-_0x237372};}[_0x568c59(0x2be)](){const _0x4da505=_0x568c59,{scaleX:_0x40f3ca,scaleY:_0x4dee50}=this['_scene'][_0x4da505(0xe3)]();return Math[_0x4da505(0x12e)](_0x40f3ca,_0x4dee50);}}var _0x19d6a8=Object[_0x568c59(0xf5)],_0x5ac40a=(_0x2a9660,_0x1932b0,_0x2e58a5,_0x5a2bff)=>{for(var _0x336ecb=_0x5a2bff>0x1?void 0x0:_0x5a2bff?_0x19d6a8(_0x1932b0,_0x2e58a5):_0x1932b0,_0x466643=_0x2a9660['length']-0x1,_0x313009;_0x466643>=0x0;_0x466643--)(_0x313009=_0x2a9660[_0x466643])&&(_0x336ecb=_0x313009(_0x336ecb)||_0x336ecb);return _0x336ecb;},_0x4b8ca1=(_0x2c63ef,_0x3044a0)=>(_0x30b68f,_0x296753)=>_0x3044a0(_0x30b68f,_0x296753,_0x2c63ef);let _0x578f3e=class extends _0x4b176f['RxDisposable']{constructor(_0x5476cc,_0x3b0f9b,_0x3a70b7,_0x416471,_0x20dda3){const _0x1fbe36=_0x568c59;super(),_0xe730d4(this,_0x1fbe36(0xb9),[]),_0xe730d4(this,_0x1fbe36(0x197),[]),(this[_0x1fbe36(0x2f2)]=_0x5476cc,this[_0x1fbe36(0x10f)]=_0x3b0f9b,this['_collabCursorController']=_0x3a70b7,this[_0x1fbe36(0x115)]=_0x416471,this['_themeService']=_0x20dda3,this[_0x1fbe36(0x129)]());}[_0x568c59(0x129)](){const _0x51c32a=_0x568c59,_0x2d39bd=this[_0x51c32a(0x2f2)][_0x51c32a(0x13a)],_0x3a7cb3=this[_0x51c32a(0x10f)];this[_0x51c32a(0x354)](_0x2d9524['combineLatest']([this[_0x51c32a(0x34d)][_0x51c32a(0x1fb)](_0x2d39bd),this[_0x51c32a(0x2a7)][_0x51c32a(0x2cf)]])[_0x51c32a(0x175)](_0x11f65e[_0x51c32a(0x27b)](([_0x50d772,_0x32d235])=>({'skeleton':_0x3a7cb3['getSkeleton'](),'cursors':[..._0x50d772[_0x51c32a(0x373)]()][_0x51c32a(0x23c)](_0x41472b=>({..._0x41472b,'color':this['_themeService'][_0x51c32a(0x325)](_0x41472b[_0x51c32a(0x135)])}))})))[_0x51c32a(0xe7)](_0x466482=>{const _0x415a07=_0x51c32a;if(this['_removeCollabCursors'](),_0x466482){const {skeleton:_0x381120,cursors:_0x52116c}=_0x466482;this[_0x415a07(0x29c)](_0x381120,_0x52116c);}})),this['_initResize'](),this[_0x51c32a(0x274)]();}['_updateCollabCursors'](_0x209378,_0x39aaf7){const _0x5a7f33=_0x568c59,{scene:_0x1cd50d,mainComponent:_0x4be5c}=this[_0x5a7f33(0x2f2)],_0x31ad0b=_0x39aaf7[_0x5a7f33(0x27b)](_0x2f8b0c=>new _0x4a4828(_0x2f8b0c,_0x1cd50d,_0x209378,_0x4be5c));this[_0x5a7f33(0xb9)]=_0x31ad0b,this[_0x5a7f33(0x197)]=_0x39aaf7;}[_0x568c59(0x19b)](){const _0x22b28a=_0x568c59;this[_0x22b28a(0x283)]();const {scene:_0x10bb61,mainComponent:_0x4afb7c}=this[_0x22b28a(0x2f2)],_0x486951=this[_0x22b28a(0x10f)]['getSkeleton'](),_0x301b36=this[_0x22b28a(0x197)][_0x22b28a(0x27b)](_0x1fa623=>new _0x4a4828(_0x1fa623,_0x10bb61,_0x486951,_0x4afb7c));this[_0x22b28a(0xb9)]=_0x301b36;}[_0x568c59(0x283)](){const _0x5c3dd2=_0x568c59;this['_cursorShapes']['forEach'](_0xfb101c=>_0xfb101c['dispose']()),this[_0x5c3dd2(0xb9)]=[];}['_initCommandExecutedListener'](){const _0x41983d=_0x568c59,_0x5b6564=[_0x5f0c77[_0x41983d(0x319)]['id']];this[_0x41983d(0x354)](this[_0x41983d(0x115)][_0x41983d(0xe9)](_0x47ac55=>{const _0x3bccaa=_0x41983d;_0x5b6564[_0x3bccaa(0x293)](_0x47ac55['id'])&&_0x47ac55[_0x3bccaa(0x2c3)]['unitId']===this[_0x3bccaa(0x2f2)][_0x3bccaa(0x13a)]&&this[_0x3bccaa(0x19b)]();}));}[_0x568c59(0x8e)](){const _0x32616c=_0x568c59;this[_0x32616c(0x354)](_0x4b176f['fromEventSubject'](this['_context'][_0x32616c(0x332)]['onTransformChange$'])[_0x32616c(0x175)](_0x11f65e['filter'](_0x35afb6=>_0x35afb6[_0x32616c(0x350)]===_0x517da6[_0x32616c(0x352)][_0x32616c(0x2ea)]),_0x11f65e['throttleTime'](0x10))[_0x32616c(0xe7)](()=>{const _0x53b12a=_0x32616c;this[_0x53b12a(0x19b)]();}));}};_0x578f3e=_0x5ac40a([_0x4b8ca1(0x1,_0x4b176f['Inject'](_0xb532ca[_0x568c59(0x28d)])),_0x4b8ca1(0x2,_0x4b176f[_0x568c59(0x36e)](_0x53db82)),_0x4b8ca1(0x3,_0x4b176f[_0x568c59(0x32b)]),_0x4b8ca1(0x4,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x223)]))],_0x578f3e);const _0x82d777=0x1,_0xa9e60e=1.5;class _0x2b40de extends _0x517da6[_0x568c59(0x1ad)]{constructor(_0x52d6b7,_0x161416){const _0x5981cf=_0x568c59;super(_0x52d6b7,_0x161416),_0xe730d4(this,'_color'),_0xe730d4(this,_0x5981cf(0x196),!0x1),_0xe730d4(this,_0x5981cf(0x20e)),_0xe730d4(this,_0x5981cf(0x248),''),_0xe730d4(this,_0x5981cf(0x198),_0x5981cf(0x311)),_0xe730d4(this,_0x5981cf(0x14b)),(_0x161416&&this['setShapeProps'](_0x161416),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x5981cf(0x32d)]({'hovered':!0x0})),this[_0x5981cf(0xb4)][_0x5981cf(0x318)](()=>this[_0x5981cf(0x32d)]({'hovered':!0x1})));}[_0x568c59(0x32d)](_0x31ca64){const _0x54efb0=_0x568c59;var _0x13cca5,_0x35327e,_0x5f2e36,_0x5ac359,_0x35e001,_0x5a1c02;this[_0x54efb0(0x34b)]=(_0x13cca5=_0x31ca64['color'])!=null?_0x13cca5:this['_color'],this['_hovered']=(_0x35327e=_0x31ca64[_0x54efb0(0x279)])!=null?_0x35327e:this[_0x54efb0(0x196)],this['_range']=(_0x5f2e36=_0x31ca64[_0x54efb0(0x209)])!=null?_0x5f2e36:this[_0x54efb0(0x20e)],this['_name']=(_0x5ac359=_0x31ca64[_0x54efb0(0x111)])!=null?_0x5ac359:this[_0x54efb0(0x248)],this[_0x54efb0(0x198)]=(_0x35e001=_0x31ca64[_0x54efb0(0x21a)])!=null?_0x35e001:this[_0x54efb0(0x198)],this[_0x54efb0(0x14b)]=(_0x5a1c02=_0x31ca64[_0x54efb0(0xbf)])!=null?_0x5a1c02:this[_0x54efb0(0x14b)],this[_0x54efb0(0x320)]({'width':_0x31ca64['width'],'height':_0x31ca64['height']});}[_0x568c59(0x31d)](_0x2b14e5){const _0x54ff90=_0x568c59,{row:_0x45bb9e,column:_0x212095}=_0x2b14e5;if(_0x45bb9e>=this[_0x54ff90(0x20e)]['startRow']&&_0x45bb9e<=this['_range'][_0x54ff90(0x126)]&&_0x212095>=this[_0x54ff90(0x20e)][_0x54ff90(0x13d)]&&_0x212095<=this[_0x54ff90(0x20e)][_0x54ff90(0xe6)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x54ff90(0x32d)]({'hovered':!0x1});}['triggerDblclick'](_0x2b1ed4){return!0x1;}[_0x568c59(0x32e)](_0x293359){const _0x5c36bc=_0x568c59;_0x517da6[_0x5c36bc(0x317)][_0x5c36bc(0x1f0)](_0x293359,{'width':this[_0x5c36bc(0x2f5)],'height':this['height'],'strokeWidth':_0xa9e60e,'stroke':this[_0x5c36bc(0x34b)],'evented':!0x1,'fill':this[_0x5c36bc(0x14b)]}),this['_hovered']&&(_0x293359[_0x5c36bc(0xdf)](),_0x293359[_0x5c36bc(0x30e)](0x1,0x0,0x0,0x1,this[_0x5c36bc(0x2f5)],this['_labelPosition']===_0x5c36bc(0x12d)?0x0:-_0x21a6a9),_0x1a0ab3[_0x5c36bc(0x1f0)](_0x293359,{'text':this[_0x5c36bc(0x248)],'color':this['_color']}),_0x293359[_0x5c36bc(0x24d)]());}}var _0x42b3d=Object['getOwnPropertyDescriptor'],_0x29b0df=(_0x4b012b,_0x444fbf,_0x41b040,_0x5584f3)=>{const _0x1832f0=_0x568c59;for(var _0x100be8=_0x5584f3>0x1?void 0x0:_0x5584f3?_0x42b3d(_0x444fbf,_0x41b040):_0x444fbf,_0x387936=_0x4b012b[_0x1832f0(0x261)]-0x1,_0x4c588a;_0x387936>=0x0;_0x387936--)(_0x4c588a=_0x4b012b[_0x387936])&&(_0x100be8=_0x4c588a(_0x100be8)||_0x100be8);return _0x100be8;},_0x7e96e1=(_0x5380,_0x1cc556)=>(_0x589fa8,_0x2a3ead)=>_0x1cc556(_0x589fa8,_0x2a3ead,_0x5380);const _0x45cea3=0x1389;let _0x4f696d=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x25ef35,_0x1a01f1,_0xf1ee7d,_0x37b76f){const _0x4bdd=_0x568c59;super(),_0xe730d4(this,_0x4bdd(0x197),new Set()),_0xe730d4(this,_0x4bdd(0x1ef),null),(this['_context']=_0x25ef35,this[_0x4bdd(0x334)]=_0x1a01f1,this['_collabCursorController']=_0xf1ee7d,this[_0x4bdd(0x2a7)]=_0x37b76f,this['_init']());}[_0x568c59(0x129)](){const _0x2c5d66=_0x568c59;this[_0x2c5d66(0x334)][_0x2c5d66(0x18e)][_0x2c5d66(0x175)](_0x11f65e[_0x2c5d66(0x360)](this[_0x2c5d66(0x2c9)]),_0x11f65e[_0x2c5d66(0x14d)](_0x2f1350=>{const _0x399ca5=_0x2c5d66;if(_0x2f1350){const _0x154c07=_0x2f1350[_0x399ca5(0x353)];return _0x2d9524['combineLatest'](this[_0x399ca5(0x34d)][_0x399ca5(0x1fb)](this[_0x399ca5(0x2f2)][_0x399ca5(0x13a)]),this['_themeService'][_0x399ca5(0x2cf)])['pipe'](_0x11f65e[_0x399ca5(0x27b)](([_0x5402a3,_0x2ebe09])=>{const _0x56130b=_0x399ca5,_0x536e18=new Map();return _0x5402a3[_0x56130b(0x15e)]((_0xc571b5,_0x5bd700)=>{const _0x4ed3f2=_0x56130b;if(_0xc571b5[_0x4ed3f2(0x1e2)]===_0x154c07){const _0x422873={..._0xc571b5};_0x422873[_0x4ed3f2(0x135)]=this['_themeService'][_0x4ed3f2(0x325)](_0xc571b5[_0x4ed3f2(0x135)]),_0x536e18[_0x4ed3f2(0xd2)](_0x5bd700,_0x422873);}}),{'skeleton':_0x2f1350,'cursors':_0x536e18};}));}return _0x2d9524['of']({'skeleton':null,'cursors':new Map()});}))[_0x2c5d66(0xe7)](({skeleton:_0x1e9cd1,cursors:_0x1c23da})=>{const _0x52a66c=_0x2c5d66;this['_removeCollabCursors'](),_0x1e9cd1&&this[_0x52a66c(0x29c)](_0x1e9cd1,_0x1c23da);}),this['_sheetSkeletonManagerService'][_0x2c5d66(0x18e)][_0x2c5d66(0xe7)](_0x1a42b7=>{const _0x5418cc=_0x2c5d66;if(_0x1a42b7==null)return;const {skeleton:_0x31488a}=_0x1a42b7,{scene:_0x2404d7}=this[_0x5418cc(0x2f2)];_0x2404d7[_0x5418cc(0x2da)][_0x5418cc(0x318)](_0x4b176f[_0x5418cc(0x208)](_0x3d3831=>{const _0xae0b8c=_0x5418cc;var _0x5634bf,_0x4ee74a;const {offsetX:_0x1c0faa,offsetY:_0x249a82}=_0x3d3831,{x:_0x1f77ee,y:_0x130572}=_0x2404d7[_0xae0b8c(0x1c9)](_0x517da6[_0xae0b8c(0x168)][_0xae0b8c(0x36a)]([_0x1c0faa,_0x249a82])),{scaleX:_0x4a468a,scaleY:_0x2078ba}=_0x2404d7[_0xae0b8c(0xe3)](),_0x21608b=_0x2404d7[_0xae0b8c(0x260)](_0x517da6[_0xae0b8c(0xbc)]['VIEW_MAIN']),_0x49a04a=_0x2404d7[_0xae0b8c(0x122)](_0x517da6[_0xae0b8c(0x168)]['FromArray']([_0x1f77ee,_0x130572]),_0x21608b),_0x57d07d=_0x31488a['getCellPositionByOffset'](_0x1c0faa,_0x249a82,_0x4a468a,_0x2078ba,_0x49a04a);((_0x5634bf=this[_0xae0b8c(0x1ef)])==null?void 0x0:_0x5634bf[_0xae0b8c(0x2eb)])===_0x57d07d['column']&&((_0x4ee74a=this[_0xae0b8c(0x1ef)])==null?void 0x0:_0x4ee74a[_0xae0b8c(0x10e)])===_0x57d07d[_0xae0b8c(0x10e)]||this[_0xae0b8c(0x197)][_0xae0b8c(0x15e)](_0x2030b9=>{const _0xf8203a=_0xae0b8c;_0x2030b9[_0xf8203a(0x31d)](_0x57d07d);});},0x64));});}[_0x568c59(0x29c)](_0x499ba9,_0x4b801f){const _0x57db35=_0x568c59;var _0x22bf98;const _0x1e2178=(_0x22bf98=this[_0x57db35(0x334)][_0x57db35(0x137)]())==null?void 0x0:_0x22bf98[_0x57db35(0x15a)];if(!_0x1e2178)return;const _0x3f8353=this[_0x57db35(0x262)]();if(!_0x3f8353)return;this[_0x57db35(0x197)][_0x57db35(0x15e)](_0x2df5f9=>{const _0x370964=_0x57db35;_0x2df5f9[_0x370964(0x12c)]();});const {scene:_0x5d3493}=_0x3f8353,_0x27b3c9=_0x5b2156(Array[_0x57db35(0xd3)](_0x4b801f[_0x57db35(0x373)]()))[_0x57db35(0x27b)](_0x598536=>{const _0x4cd2e9=_0x57db35,{color:_0xb2545a,range:_0x238343,name:_0x4c5fce,selection:_0x4fd12b,sheetID:_0x57b6ba}=_0x598536,{startColumn:_0x5bd3fa,startRow:_0x2aa605,endColumn:_0xa84623,endRow:_0x59ee31}=_0x238343,_0x440a6f=_0x17a370[_0x4cd2e9(0x1d3)](_0x2aa605,_0x5bd3fa,_0x5d3493,_0x1e2178),_0x2ddaec=_0x17a370['getCoordByCell'](_0x59ee31,_0xa84623,_0x5d3493,_0x1e2178),{columnHeaderHeightAndMarginTop:_0x35f92d}=_0x1e2178,{startX:_0xccbf,startY:_0x5d66c1}=_0x440a6f,{endX:_0x258596,endY:_0x358ea4}=_0x2ddaec,_0x624a90=_0x258596-_0xccbf,_0xbab199=_0x358ea4-_0x5d66c1,_0x548b20={'labelPosition':_0x5d66c1-_0x35f92d>=_0x21a6a9?_0x4cd2e9(0x311):_0x4cd2e9(0x12d),'sheetID':_0x57b6ba,'range':_0x238343,'color':_0xb2545a,'name':_0x4c5fce,'selection':_0x4fd12b,'left':_0xccbf,'top':_0x5d66c1,'width':_0x624a90,'height':_0xbab199,'evented':!0x1,'zIndex':_0x45cea3};return new _0x2b40de(_0x4c5fce,_0x548b20);});_0x5d3493[_0x57db35(0x2fb)](_0x27b3c9,_0x82d777),this[_0x57db35(0x197)]=new Set(_0x27b3c9);}['_removeCollabCursors'](){const _0x11ddeb=_0x568c59;var _0x1415f8;(_0x1415f8=this[_0x11ddeb(0x197)])==null||_0x1415f8[_0x11ddeb(0x15e)](_0x23e15e=>_0x23e15e[_0x11ddeb(0x106)]());}[_0x568c59(0x262)](){const _0x2478e8=_0x568c59;return _0x17a370['getSheetObject'](this[_0x2478e8(0x2f2)][_0x2478e8(0x1ba)],this[_0x2478e8(0x2f2)]);}};_0x4f696d=_0x29b0df([_0x7e96e1(0x1,_0x4b176f['Inject'](_0x17a370['SheetSkeletonManagerService'])),_0x7e96e1(0x2,_0x4b176f[_0x568c59(0x36e)](_0x53db82)),_0x7e96e1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x223)]))],_0x4f696d);function _0x5b2156(_0x1aa52b){const _0x5e00d3=_0x568c59,_0x2a7369=new Map();return _0x1aa52b[_0x5e00d3(0x15e)](_0x48db34=>{const _0x115d1a=_0x5e00d3;if(_0x2a7369[_0x115d1a(0x268)](_0x48db34[_0x115d1a(0x13c)])){const _0x52c387=_0x2a7369[_0x115d1a(0x9e)](_0x48db34[_0x115d1a(0x13c)]);_0x52c387[_0x115d1a(0x111)]+=',\x20'+_0x48db34['name'];}else _0x2a7369[_0x115d1a(0xd2)](_0x48db34['selection'],_0x48db34);}),Array[_0x5e00d3(0xd3)](_0x2a7369['values']());}var _0x31250e=Object[_0x568c59(0xf5)],_0x344602=(_0x2b8466,_0x2ec0bf,_0x553ab9,_0xa1b141)=>{const _0x2ed923=_0x568c59;for(var _0x549240=_0xa1b141>0x1?void 0x0:_0xa1b141?_0x31250e(_0x2ec0bf,_0x553ab9):_0x2ec0bf,_0x239d95=_0x2b8466[_0x2ed923(0x261)]-0x1,_0x2b029c;_0x239d95>=0x0;_0x239d95--)(_0x2b029c=_0x2b8466[_0x239d95])&&(_0x549240=_0x2b029c(_0x549240)||_0x549240);return _0x549240;},_0x409624=(_0x3e8468,_0x4234e2)=>(_0x3f2447,_0x27775a)=>_0x4234e2(_0x3f2447,_0x27775a,_0x3e8468);let _0x32db3d=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x22cd61,_0x21666a,_0xa20e8d,_0x31cea6,_0x434412,_0x1e8fcc){const _0xf0fd2f=_0x568c59;super(),this[_0xf0fd2f(0x1da)]=_0x22cd61,this[_0xf0fd2f(0xba)]=_0x21666a,this['_collaborationUIEventService']=_0xa20e8d,this[_0xf0fd2f(0xe1)]=_0x31cea6,this[_0xf0fd2f(0x28a)]=_0x434412,this[_0xf0fd2f(0x234)]=_0x1e8fcc,this[_0xf0fd2f(0xe4)](),this[_0xf0fd2f(0x19e)]();}[_0x568c59(0xe4)](){const _0x3eaf77=_0x568c59;this[_0x3eaf77(0x354)](this[_0x3eaf77(0x1da)][_0x3eaf77(0x1b5)](()=>{const _0x2db9c3=_0x3eaf77;if(this[_0x2db9c3(0xba)][_0x2db9c3(0x8a)]['size'])return this[_0x2db9c3(0x234)]['t']('collaboration.offline-data-not-saved');}));}[_0x568c59(0x19e)](){const _0x3c1535=_0x568c59;this['disposeWithMe'](this['_collaborationUIEventService'][_0x3c1535(0x12a)]['subscribe'](_0xbd4b2f=>{const _0x33c956=_0x3c1535;_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)]['OTHER_CLIENT_EDITING']&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t']('collaboration.single-unit.warning')}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x199)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0x370))}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x19f)]&&this['_notificationService']['show']({'title':this[_0x33c956(0x234)]['t'](_0x33c956(0x2b2)),'content':this['_localeService']['t'](_0x33c956(0x241)),'type':_0x33c956(0x11f),'duration':0x0}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this['_localeService']['t'](_0x33c956(0x370))+'('+_0xbd4b2f[_0x33c956(0x221)]+')'}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId'][_0x33c956(0x343)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t'](_0xbd4b2f[_0x33c956(0x221)]||'')}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x32c)]&&this['_messageService']['show']({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t']('session.will-retry')}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0x35c))}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId'][_0x33c956(0xc0)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0xf6))});}));}};_0x32db3d=_0x344602([_0x409624(0x0,_0x48763f[_0x568c59(0x1c1)]),_0x409624(0x1,_0x497c74[_0x568c59(0x2ce)]),_0x409624(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x17f)])),_0x409624(0x3,_0x48763f[_0x568c59(0x356)]),_0x409624(0x4,_0x48763f[_0x568c59(0x216)]),_0x409624(0x5,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x94)]))],_0x32db3d);var _0x57136a=Object[_0x568c59(0xf5)],_0x41029f=(_0x49d23d,_0x4e7f94,_0x1abebd,_0x4303a0)=>{for(var _0x16fe17=_0x4303a0>0x1?void 0x0:_0x4303a0?_0x57136a(_0x4e7f94,_0x1abebd):_0x4e7f94,_0xb0b8d7=_0x49d23d['length']-0x1,_0x2d7b7f;_0xb0b8d7>=0x0;_0xb0b8d7--)(_0x2d7b7f=_0x49d23d[_0xb0b8d7])&&(_0x16fe17=_0x2d7b7f(_0x16fe17)||_0x16fe17);return _0x16fe17;},_0x513fe8=(_0x162bde,_0x549b2e)=>(_0xd1d2e1,_0x455563)=>_0x549b2e(_0xd1d2e1,_0x455563,_0x162bde);let _0x16e051=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x5757d9,_0x63253c,_0x1d4793,_0x42a57f){const _0x4e42f0=_0x568c59;super(),_0xe730d4(this,_0x4e42f0(0x31f)),(this['_injector']=_0x5757d9,this[_0x4e42f0(0x228)]=_0x63253c,this[_0x4e42f0(0x31a)]=_0x1d4793,this['_collaborationSessionService']=_0x42a57f,this[_0x4e42f0(0x129)]());}[_0x568c59(0x129)](){const _0x17b95e=_0x568c59;this[_0x17b95e(0x2c5)](),this[_0x17b95e(0x278)](),this[_0x17b95e(0x333)](),this[_0x17b95e(0x273)]();}[_0x568c59(0x273)](){const _0x2d75c9=_0x568c59;this[_0x2d75c9(0x354)](this[_0x2d75c9(0x259)][_0x2d75c9(0x10c)][_0x2d75c9(0xe7)](_0xa7a78f=>{const _0x30beea=_0x2d75c9;this['_memberID']=_0xa7a78f==null?void 0x0:_0xa7a78f[_0x30beea(0xde)];}));}[_0x568c59(0x2c5)](){const _0x406e2e=_0x568c59,_0x540890=_0x70db5b=>{const _0x28574b=_0x34b8;var _0x57c3b7;this['_uploadLog']('error',_0x28574b(0x369)+_0x70db5b['message']+_0x28574b(0x140)+_0x70db5b[_0x28574b(0x2cc)]+':'+_0x70db5b[_0x28574b(0x23d)]+':'+_0x70db5b[_0x28574b(0x185)]+'\x0a'+(((_0x57c3b7=_0x70db5b[_0x28574b(0x11f)])==null?void 0x0:_0x57c3b7[_0x28574b(0x351)])||''));};window[_0x406e2e(0x25b)](_0x406e2e(0x11f),_0x540890),this['disposeWithMe'](()=>{const _0x4708f8=_0x406e2e;window[_0x4708f8(0x1a0)]('error',_0x540890);});}[_0x568c59(0x278)](){const _0x563390=_0x568c59,_0x278260=_0x5c9fab=>{const _0x4330d0=_0x34b8;this[_0x4330d0(0x2ac)]('error',_0x4330d0(0x35a)+_0x5c9fab[_0x4330d0(0x347)]);};window[_0x563390(0x25b)](_0x563390(0x291),_0x278260),this[_0x563390(0x354)](()=>{const _0x4b69bb=_0x563390;window[_0x4b69bb(0x1a0)](_0x4b69bb(0x291),_0x278260);});}[_0x568c59(0x333)](){const _0x26806f=_0x568c59,_0x3f43cd=this[_0x26806f(0x31a)][_0x26806f(0x11f)][_0x26806f(0x2c0)](this[_0x26806f(0x31a)]);this['_logService'][_0x26806f(0x11f)]=(..._0x586f07)=>{const _0x1c06d2=_0x26806f,_0x45c03d=_0x586f07[_0x1c06d2(0x27b)](_0x12af6c=>_0x12af6c instanceof Error?_0x12af6c['message']+'\x0a'+_0x12af6c[_0x1c06d2(0x351)]:String(_0x12af6c))['join']('\x20');this[_0x1c06d2(0x2ac)](_0x1c06d2(0x11f),_0x1c06d2(0x17e)+_0x45c03d),_0x3f43cd(..._0x586f07);},this[_0x26806f(0x354)](()=>{const _0x14962a=_0x26806f;this[_0x14962a(0x31a)][_0x14962a(0x11f)]=_0x3f43cd;});}[_0x568c59(0x2ac)](_0x38c61d,_0x4db42f){const _0x439699=_0x568c59;try{const _0x241aff={'userId':this['_memberID'],'logLabel':_0x38c61d,'content':_0x4db42f};this['_httpService']['post'](_0x439699(0xc1),{'body':_0x241aff})[_0x439699(0x1f1)](()=>{});}catch{}}};_0x16e051=_0x41029f([_0x513fe8(0x0,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x513fe8(0x1,_0x4b176f['Inject'](_0x542501[_0x568c59(0x28f)])),_0x513fe8(0x2,_0x4b176f[_0x568c59(0x344)]),_0x513fe8(0x3,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x29f)]))],_0x16e051);const _0x28fa25=_0x568c59(0x2d0),_0x1119c0={};var _0x3d83c2=Object[_0x568c59(0xf5)],_0x1e3963=(_0x30fba6,_0x7149da,_0x4f0b04,_0x492c50)=>{const _0x1cdf6b=_0x568c59;for(var _0x3c6a97=_0x492c50>0x1?void 0x0:_0x492c50?_0x3d83c2(_0x7149da,_0x4f0b04):_0x7149da,_0xf35b72=_0x30fba6[_0x1cdf6b(0x261)]-0x1,_0x595782;_0xf35b72>=0x0;_0xf35b72--)(_0x595782=_0x30fba6[_0xf35b72])&&(_0x3c6a97=_0x595782(_0x3c6a97)||_0x3c6a97);return _0x3c6a97;},_0x511c5a=(_0x33af04,_0xf41059)=>(_0x1b51a0,_0x53b2c6)=>_0xf41059(_0x1b51a0,_0x53b2c6,_0x33af04);let _0x32787b=class{constructor(_0x2341f9,_0x23c0f0){const _0x35bedd=_0x568c59;this[_0x35bedd(0x272)]=_0x2341f9,this[_0x35bedd(0x364)]=_0x23c0f0;}[_0x568c59(0x1ff)](_0x3017cf){const _0x2bfd06=_0x568c59;this['_transformUndoRedoStack'](_0x3017cf),this[_0x2bfd06(0x1d7)](_0x3017cf);}[_0x568c59(0x188)](_0xb1c492){const _0x2e6fb6=_0x568c59,{unitID:_0x4b62d2}=_0xb1c492,_0x442bd5=this['_renderManagerService']['getRenderById'](_0x4b62d2)[_0x2e6fb6(0x34e)](_0x5f0c77[_0x2e6fb6(0xd9)]),{redoCache:_0x454603}=_0x442bd5[_0x2e6fb6(0x159)]();if(_0x454603[_0x2e6fb6(0x261)]===0x0)return _0xb1c492;let _0x1b569f=_0x4b176f[_0x2e6fb6(0x282)]['deepClone'](_0xb1c492[_0x2e6fb6(0x1a9)][0x0]);for(let _0x27b5af=0x0;_0x27b5af<_0x454603[_0x2e6fb6(0x261)];_0x27b5af++){const _0x16ba51={'id':_0x2e6fb6(0x326),'params':{..._0x454603[_0x27b5af]}},_0x131de3=this[_0x2e6fb6(0x272)][_0x2e6fb6(0x1dd)](_0x1b569f,_0x16ba51,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x131de3))throw _0x131de3[_0x2e6fb6(0x11f)];_0x1b569f=_0x131de3[_0x2e6fb6(0x31b)];}return{..._0x4b176f['Tools'][_0x2e6fb6(0x21f)](_0xb1c492),'mutations':[_0x1b569f]};}[_0x568c59(0x27d)](_0x2cdba7){const _0x178ec9=_0x568c59,{unitID:_0x266e74}=_0x2cdba7,_0x1e45e2=this[_0x178ec9(0x364)][_0x178ec9(0x1be)](_0x266e74)['with'](_0x5f0c77[_0x178ec9(0xd9)]),{undoCache:_0x11ea97,redoCache:_0x19c30c}=_0x1e45e2[_0x178ec9(0x159)]();if(_0x11ea97[_0x178ec9(0x261)]===0x0||_0x19c30c[_0x178ec9(0x261)]===0x0)return;const _0xfbc98a=[],_0x6d2bfa=[];let _0x3bc736=_0x4b176f[_0x178ec9(0x282)][_0x178ec9(0x21f)](_0x2cdba7[_0x178ec9(0x1a9)][0x0]),_0x1533de=_0x4b176f['Tools'][_0x178ec9(0x21f)](_0x2cdba7[_0x178ec9(0x1a9)][0x0]);for(let _0x4db40c=_0x11ea97[_0x178ec9(0x261)]-0x1;_0x4db40c>=0x0;_0x4db40c--){const _0x4b14c2={'id':'doc.mutation.rich-text-editing','params':{..._0x11ea97[_0x4db40c]}},_0x158adf={'id':'doc.mutation.rich-text-editing','params':{..._0x19c30c[_0x4db40c]}},_0x33d2d9=this[_0x178ec9(0x272)][_0x178ec9(0x1dd)](_0x3bc736,_0x4b14c2,!0x1),_0x39b929=this[_0x178ec9(0x272)]['transformMutation'](_0x1533de,_0x158adf,!0x1);if(_0x2cf75e[_0x178ec9(0x17a)](_0x33d2d9))throw _0x33d2d9['error'];if(_0x2cf75e[_0x178ec9(0x17a)](_0x39b929))throw _0x39b929[_0x178ec9(0x11f)];_0xfbc98a[_0x178ec9(0x8d)](_0x33d2d9[_0x178ec9(0x1d5)][_0x178ec9(0x2c3)]),_0x6d2bfa[_0x178ec9(0x8d)](_0x39b929[_0x178ec9(0x1d5)][_0x178ec9(0x2c3)]),_0x3bc736=_0x33d2d9[_0x178ec9(0x31b)],_0x1533de=_0x39b929[_0x178ec9(0x31b)];}_0x1e45e2[_0x178ec9(0x1bf)]({'undoCache':_0xfbc98a,'redoCache':_0x6d2bfa});}[_0x568c59(0x1d7)](_0x3f574f){const _0x457708=_0x568c59,{unitID:_0x38a70f}=_0x3f574f,_0x553191=this[_0x457708(0x364)][_0x457708(0x1be)](_0x38a70f)[_0x457708(0x34e)](_0x5f0c77['DocIMEInputManagerService']),_0x67b920=_0x553191[_0x457708(0x33d)]();if(_0x67b920==null)return;const _0x3e2b4e=[{'id':_0x457708(0x326),'params':{'unitId':_0x3f574f[_0x457708(0xff)],'actions':null,'textRanges':[_0x67b920]}}],_0x496892=this['_transformService'][_0x457708(0x2e0)](_0x3f574f,_0x3e2b4e);if(!_0x2cf75e[_0x457708(0x156)](_0x496892))throw _0x496892['error'];const _0x14b24c=_0x496892[_0x457708(0x1d5)][0x0][_0x457708(0x2c3)][_0x457708(0x1a4)];Array[_0x457708(0x2f4)](_0x14b24c)&&_0x14b24c['length']&&_0x553191['setActiveRange'](_0x14b24c[0x0]);}};_0x32787b=_0x1e3963([_0x511c5a(0x0,_0x2cf75e[_0x568c59(0x2ef)]),_0x511c5a(0x1,_0x517da6[_0x568c59(0x264)])],_0x32787b);var _0x66e15e=Object['getOwnPropertyDescriptor'],_0x35aef2=(_0x598ebd,_0x478a88,_0x4018be,_0x47b746)=>{const _0x24e29f=_0x568c59;for(var _0x3ca2ea=_0x47b746>0x1?void 0x0:_0x47b746?_0x66e15e(_0x478a88,_0x4018be):_0x478a88,_0x1b1b87=_0x598ebd[_0x24e29f(0x261)]-0x1,_0x9f8f6;_0x1b1b87>=0x0;_0x1b1b87--)(_0x9f8f6=_0x598ebd[_0x1b1b87])&&(_0x3ca2ea=_0x9f8f6(_0x3ca2ea)||_0x3ca2ea);return _0x3ca2ea;},_0x10cdb3=(_0x43377d,_0x1884f9)=>(_0x39984b,_0x2b78b9)=>_0x1884f9(_0x39984b,_0x2b78b9,_0x43377d);let _0x45c595=class{constructor(_0x4ec0b9,_0x584c05,_0x59977d){const _0x317657=_0x568c59;this[_0x317657(0x148)]=_0x4ec0b9,this['_transformService']=_0x584c05,this[_0x317657(0xcd)]=_0x59977d;}['transformStateCache'](_0x286d9f){const _0x4ab5a6=_0x568c59;this[_0x4ab5a6(0x101)](_0x286d9f);}[_0x568c59(0x188)](_0x35f8ad){const _0x549678=_0x568c59,{unitID:_0x22bcd3}=_0x35f8ad,{collaboration:_0xa5fa12}=this[_0x549678(0xcd)][_0x549678(0x2fc)](_0x22bcd3);if(_0xa5fa12[_0x549678(0x261)]===0x0)return _0x35f8ad;let _0x2684d5=_0x4b176f['Tools']['deepClone'](_0x35f8ad[_0x549678(0x1a9)][0x0]);for(let _0x4ffbc9=0x0;_0x4ffbc9<_0xa5fa12['length'];_0x4ffbc9++){const _0x335298={'id':_0x549678(0x326),'params':{'unitId':_0xa5fa12[_0x4ffbc9][_0x549678(0x13a)],..._0xa5fa12[_0x4ffbc9][_0x549678(0x1d0)]}},_0xabd955=this[_0x549678(0x272)]['transformMutation'](_0x2684d5,_0x335298,!0x1);if(_0x2cf75e[_0x549678(0x17a)](_0xabd955))throw _0xabd955[_0x549678(0x11f)];_0x2684d5=_0xabd955['m1Prime'];}return{..._0x4b176f['Tools'][_0x549678(0x21f)](_0x35f8ad),'mutations':[_0x2684d5]};}[_0x568c59(0x101)](_0x458411){const _0x271961=_0x568c59,{unitID:_0x5bda90}=_0x458411,{history:_0x4aceed,collaboration:_0x2e4c29}=this[_0x271961(0xcd)]['getStateCache'](_0x5bda90);if(_0x4aceed[_0x271961(0x261)]===0x0&&_0x2e4c29[_0x271961(0x261)]===0x0)return;const _0x88d731=[],_0x22677e=[];let _0x4a5f4b=_0x4b176f[_0x271961(0x282)][_0x271961(0x21f)](_0x458411['mutations'][0x0]),_0x10c596=_0x4b176f[_0x271961(0x282)][_0x271961(0x21f)](_0x458411['mutations'][0x0]);for(let _0x1b3e2c=_0x4aceed[_0x271961(0x261)]-0x1;_0x1b3e2c>=0x0;_0x1b3e2c--){const _0x381f8f={'id':_0x271961(0x326),'params':{'unitId':_0x4aceed[_0x1b3e2c][_0x271961(0x13a)],..._0x4aceed[_0x1b3e2c][_0x271961(0xb7)]}},_0x4aa288={'id':_0x271961(0x326),'params':{'unitId':_0x4aceed[_0x1b3e2c][_0x271961(0x13a)],..._0x4aceed[_0x1b3e2c]['redoState']}},_0xbea3c=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x4a5f4b,_0x381f8f,!0x1),_0x2b0619=this['_transformService'][_0x271961(0x1dd)](_0x10c596,_0x4aa288,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0xbea3c))throw _0xbea3c[_0x271961(0x11f)];if(_0x2cf75e[_0x271961(0x17a)](_0x2b0619))throw _0x2b0619['error'];_0x88d731[_0x271961(0x8d)]({..._0x4aceed[_0x1b3e2c],'undoState':_0xbea3c[_0x271961(0x1d5)]['params'],'redoState':_0x2b0619[_0x271961(0x1d5)]['params']}),_0x4a5f4b=_0xbea3c[_0x271961(0x31b)],_0x10c596=_0x2b0619['m1Prime'];}_0x4a5f4b=_0x4b176f[_0x271961(0x282)]['deepClone'](_0x458411[_0x271961(0x1a9)][0x0]),_0x10c596=_0x4b176f[_0x271961(0x282)]['deepClone'](_0x458411[_0x271961(0x1a9)][0x0]);for(let _0x3ab5dc=_0x2e4c29[_0x271961(0x261)]-0x1;_0x3ab5dc>=0x0;_0x3ab5dc--){const _0x1fc2aa={'id':_0x271961(0x326),'params':{'unitId':_0x2e4c29[_0x3ab5dc][_0x271961(0x13a)],..._0x2e4c29[_0x3ab5dc][_0x271961(0xb7)]}},_0x29871e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e4c29[_0x3ab5dc][_0x271961(0x13a)],..._0x2e4c29[_0x3ab5dc][_0x271961(0x1d0)]}},_0x2fdb44=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x4a5f4b,_0x1fc2aa,!0x1),_0x45708c=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x10c596,_0x29871e,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x2fdb44))throw _0x2fdb44[_0x271961(0x11f)];if(_0x2cf75e[_0x271961(0x17a)](_0x45708c))throw _0x45708c[_0x271961(0x11f)];_0x22677e[_0x271961(0x8d)]({..._0x2e4c29[_0x3ab5dc],'undoState':_0x2fdb44[_0x271961(0x1d5)][_0x271961(0x2c3)],'redoState':_0x45708c[_0x271961(0x1d5)][_0x271961(0x2c3)]}),_0x4a5f4b=_0x2fdb44[_0x271961(0x31b)],_0x10c596=_0x45708c['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x5bda90,{'history':_0x88d731,'collaboration':_0x22677e});}};_0x45c595=_0x35aef2([_0x10cdb3(0x0,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0x10cdb3(0x1,_0x2cf75e[_0x568c59(0x2ef)]),_0x10cdb3(0x2,_0x4b176f[_0x568c59(0x36e)](_0x5f0c77[_0x568c59(0x153)]))],_0x45c595);var _0x2b703f=Object['getOwnPropertyDescriptor'],_0x6c757f=(_0x1c93dc,_0x36b644,_0x363dbd,_0x1c9a8f)=>{const _0x54939a=_0x568c59;for(var _0x16c090=_0x1c9a8f>0x1?void 0x0:_0x1c9a8f?_0x2b703f(_0x36b644,_0x363dbd):_0x36b644,_0x55df3f=_0x1c93dc[_0x54939a(0x261)]-0x1,_0x52b270;_0x55df3f>=0x0;_0x55df3f--)(_0x52b270=_0x1c93dc[_0x55df3f])&&(_0x16c090=_0x52b270(_0x16c090)||_0x16c090);return _0x16c090;},_0x1b4705=(_0x48116a,_0x4f631d)=>(_0x63a405,_0x59465c)=>_0x4f631d(_0x63a405,_0x59465c,_0x48116a);let _0x4ac300=class{constructor(_0x2a8f94,_0x28eaf8){const _0x42fc30=_0x568c59;this[_0x42fc30(0x148)]=_0x2a8f94,this[_0x42fc30(0x272)]=_0x28eaf8;}[_0x568c59(0x9c)](_0x5a22c0){const _0x2d4789=_0x568c59;var _0x4fb676;const _0x1db3d0=this[_0x2d4789(0x148)]['get'](_0xb532ca[_0x2d4789(0x1f9)]),_0x4ac941=(_0x4fb676=_0x1db3d0[_0x2d4789(0x192)]())!=null?_0x4fb676:[];if(_0x4ac941[_0x2d4789(0x261)]===0x0)return;const _0x421190=_0x5a22c0['unitID'],_0x456a7d=[{'id':_0x2d4789(0x326),'params':{'unitId':_0x421190,'actions':null,'textRanges':_0x4ac941}}],_0x259606=this[_0x2d4789(0x272)][_0x2d4789(0x2e0)](_0x5a22c0,_0x456a7d);if(!_0x2cf75e[_0x2d4789(0x156)](_0x259606))throw _0x259606['error'];const _0x52b96b=_0x259606[_0x2d4789(0x1d5)][0x0][_0x2d4789(0x2c3)]['textRanges'];Array[_0x2d4789(0x2f4)](_0x52b96b)&&_0x52b96b[_0x2d4789(0x261)]&&_0x1db3d0[_0x2d4789(0x11e)](_0x52b96b,{'unitId':_0x421190,'subUnitId':_0x421190},!0x1);}};_0x4ac300=_0x6c757f([_0x1b4705(0x0,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x1b4705(0x1,_0x2cf75e[_0x568c59(0x2ef)])],_0x4ac300);var _0x3d75dd=Object[_0x568c59(0xf5)],_0x1c45a1=(_0x42f74f,_0xacd1f2,_0x1ee466,_0x4196bc)=>{const _0x6c8c23=_0x568c59;for(var _0x3b2246=_0x4196bc>0x1?void 0x0:_0x4196bc?_0x3d75dd(_0xacd1f2,_0x1ee466):_0xacd1f2,_0x3404b8=_0x42f74f[_0x6c8c23(0x261)]-0x1,_0x587d36;_0x3404b8>=0x0;_0x3404b8--)(_0x587d36=_0x42f74f[_0x3404b8])&&(_0x3b2246=_0x587d36(_0x3b2246)||_0x3b2246);return _0x3b2246;},_0x3c478a=(_0x3511e7,_0x4a21f0)=>(_0x57e6e8,_0x20db5a)=>_0x4a21f0(_0x57e6e8,_0x20db5a,_0x3511e7);let _0x1c4ddb=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x2d6d81,_0x290c85,_0xb5ffe1,_0x48d629,_0x380bee,_0x1824fe,_0x3e0be3,_0x42d866){const _0x428985=_0x568c59;super(),_0xe730d4(this,_0x428985(0x366),new _0x2d9524['BehaviorSubject'](_0x497c74['CollaborationStatus'][_0x428985(0x1fc)])),(this['_docStateChangeManagerService']=_0x2d6d81,this[_0x428985(0x105)]=_0x290c85,this[_0x428985(0x2fe)]=_0xb5ffe1,this['_docTransformStateCacheService']=_0x48d629,this[_0x428985(0x97)]=_0x380bee,this['_docSyncEditingCollabCursorService']=_0x1824fe,this['_messageService']=_0x3e0be3,this[_0x428985(0x234)]=_0x42d866,this[_0x428985(0x1eb)]());}[_0x568c59(0x1eb)](){const _0x196c77=_0x568c59;this[_0x196c77(0x354)](this[_0x196c77(0x105)][_0x196c77(0x2ad)][_0x196c77(0xe7)](_0x267e6f=>{const _0x4732ad=_0x196c77,_0x102230=this[_0x4732ad(0xcd)][_0x4732ad(0x2a6)][_0x4732ad(0xe7)](_0x5749fc=>{const _0x17d1cc=_0x4732ad;if(_0x5749fc==null)return;const {unitId:_0x99d716,redoState:_0x1b2c87,commandId:_0x46a427}=_0x5749fc;if(_0x99d716!==_0x267e6f['unitID'])return;const _0x231f10={'id':_0x46a427,'type':_0x4b176f[_0x17d1cc(0x2e5)][_0x17d1cc(0x164)],'params':{'unitId':_0x99d716,'actions':_0x1b2c87[_0x17d1cc(0x1c8)],'textRanges':null}};_0x267e6f[_0x17d1cc(0x299)](_0x231f10);});if(_0x267e6f[_0x4732ad(0x354)](_0x102230),_0x267e6f instanceof _0x497c74[_0x4732ad(0xc7)]){const _0x587dc6={'onTransformIME':_0x1236e2=>this['_docTransformIMECacheService'][_0x4732ad(0x1ff)](_0x1236e2),'onTransformState':_0x200e11=>this[_0x4732ad(0x1dc)]['transformStateCache'](_0x200e11),'onTransformSelections':_0x2ec78d=>this['_docTransformSelectionsService'][_0x4732ad(0x9c)](_0x2ec78d),'onSyncEditingCollabCursor':_0x164309=>this[_0x4732ad(0x180)]['syncEditingCollabCursor'](_0x164309),'onTransformRemoteChangesetByIMECache':_0x4b88c2=>this[_0x4732ad(0x2fe)][_0x4732ad(0x188)](_0x4b88c2),'onTransformRemoteChangesetByStateCache':_0x534fc6=>this[_0x4732ad(0x1dc)]['transformRemoteChangeset'](_0x534fc6)};_0x267e6f[_0x4732ad(0x1fd)](_0x587dc6);}}));}};_0x1c4ddb=_0x1c45a1([_0x3c478a(0x0,_0x4b176f[_0x568c59(0x36e)](_0x5f0c77[_0x568c59(0x153)])),_0x3c478a(0x1,_0x4b176f['Inject'](_0x497c74[_0x568c59(0x172)])),_0x3c478a(0x2,_0x4b176f[_0x568c59(0x36e)](_0x32787b)),_0x3c478a(0x3,_0x4b176f[_0x568c59(0x36e)](_0x45c595)),_0x3c478a(0x4,_0x4b176f[_0x568c59(0x36e)](_0x4ac300)),_0x3c478a(0x5,_0x4b176f[_0x568c59(0x36e)](_0x510ecb)),_0x3c478a(0x6,_0x48763f[_0x568c59(0x356)]),_0x3c478a(0x7,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['LocaleService']))],_0x1c4ddb);var _0x5502e6=(_0xa98f1=>(_0xa98f1[_0xa98f1['UNDEFINED']=0x0]=_0x568c59(0x227),_0xa98f1[_0xa98f1['OK']=0x1]='OK',_0xa98f1[_0xa98f1[_0x568c59(0x1e6)]=0x2]=_0x568c59(0x1e6),_0xa98f1[_0xa98f1[_0x568c59(0x19f)]=0x3]=_0x568c59(0x19f),_0xa98f1[_0xa98f1['NOT_FOUND']=0x4]=_0x568c59(0x27c),_0xa98f1[_0xa98f1[_0x568c59(0x20a)]=0x5]=_0x568c59(0x20a),_0xa98f1[_0xa98f1[_0x568c59(0x145)]=0x6]=_0x568c59(0x145),_0xa98f1[_0xa98f1[_0x568c59(0xd8)]=0x7]=_0x568c59(0xd8),_0xa98f1[_0xa98f1[_0x568c59(0x99)]=0x8]=_0x568c59(0x99),_0xa98f1[_0xa98f1[_0x568c59(0xb5)]=0x9]=_0x568c59(0xb5),_0xa98f1[_0xa98f1[_0x568c59(0x1c6)]=0xa]='LOGIN_FAILED',_0xa98f1[_0xa98f1[_0x568c59(0x271)]=0xb]=_0x568c59(0x271),_0xa98f1[_0xa98f1[_0x568c59(0x256)]=0xc]=_0x568c59(0x256),_0xa98f1[_0xa98f1[_0x568c59(0x21c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xa98f1[_0xa98f1[_0x568c59(0x339)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xa98f1[_0xa98f1['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xa98f1[_0xa98f1[_0x568c59(0x36b)]=0x10]=_0x568c59(0x36b),_0xa98f1[_0xa98f1[_0x568c59(0x329)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xa98f1[_0xa98f1['ERROR_AGAIN']=0x65]=_0x568c59(0x128),_0xa98f1[_0xa98f1[_0x568c59(0x17d)]=0xc9]=_0x568c59(0x17d),_0xa98f1[_0xa98f1[_0x568c59(0x327)]=0xca]=_0x568c59(0x327),_0xa98f1[_0xa98f1[_0x568c59(0x2b3)]=0x1389]=_0x568c59(0x2b3),_0xa98f1[_0xa98f1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x568c59(0x93),_0xa98f1[_0xa98f1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x568c59(0x14e),_0xa98f1[_0xa98f1[_0x568c59(0x35e)]=0x1773]=_0x568c59(0x35e),_0xa98f1[_0xa98f1[_0x568c59(0x1e7)]=0x1b59]=_0x568c59(0x1e7),_0xa98f1[_0xa98f1[_0x568c59(0x95)]=0x1b5a]=_0x568c59(0x95),_0xa98f1[_0xa98f1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x568c59(0x1e5),_0xa98f1[_0xa98f1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x568c59(0x20c),_0xa98f1[_0xa98f1[_0x568c59(0x265)]=0x1b5d]='APPLY_DUPLICATED',_0xa98f1[_0xa98f1[_0x568c59(0x179)]=0x1f41]=_0x568c59(0x179),_0xa98f1[_0xa98f1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xa98f1[_0xa98f1[_0x568c59(0x1ab)]=0x232a]=_0x568c59(0x1ab),_0xa98f1[_0xa98f1[_0x568c59(0x2c8)]=0x232b]=_0x568c59(0x2c8),_0xa98f1[_0xa98f1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x568c59(0x2ae),_0xa98f1[_0xa98f1['LICENSE_DISTRO_REJECTED']=0x232d]=_0x568c59(0x1cb),_0xa98f1[_0xa98f1[_0x568c59(0x98)]=0x2711]=_0x568c59(0x98),_0xa98f1[_0xa98f1[_0x568c59(0x363)]=0x2712]=_0x568c59(0x363),_0xa98f1[_0xa98f1[_0x568c59(0x36c)]=0x2713]=_0x568c59(0x36c),_0xa98f1[_0xa98f1[_0x568c59(0x340)]=0x2714]=_0x568c59(0x340),_0xa98f1[_0xa98f1[_0x568c59(0x24e)]=0x271a]=_0x568c59(0x24e),_0xa98f1[_0xa98f1[_0x568c59(0x205)]=0x271b]=_0x568c59(0x205),_0xa98f1[_0xa98f1[_0x568c59(0x296)]=0x271c]=_0x568c59(0x296),_0xa98f1[_0xa98f1[_0x568c59(0xf0)]=0x271d]=_0x568c59(0xf0),_0xa98f1[_0xa98f1[_0x568c59(0x19c)]=0x271e]=_0x568c59(0x19c),_0xa98f1[_0xa98f1[_0x568c59(0x143)]=0x271f]=_0x568c59(0x143),_0xa98f1[_0xa98f1[_0x568c59(0x181)]=0x2720]=_0x568c59(0x181),_0xa98f1[_0xa98f1[_0x568c59(0x182)]=0x2af9]=_0x568c59(0x182),_0xa98f1[_0xa98f1[_0x568c59(0x27f)]=0x2ee1]=_0x568c59(0x27f),_0xa98f1[_0xa98f1[_0x568c59(0x232)]=0x2ee2]=_0x568c59(0x232),_0xa98f1[_0xa98f1[_0x568c59(0x203)]=0x2ee3]=_0x568c59(0x203),_0xa98f1[_0xa98f1[_0x568c59(0x177)]=0x2ee4]=_0x568c59(0x177),_0xa98f1[_0xa98f1[_0x568c59(0xb8)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xa98f1[_0xa98f1['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xa98f1[_0xa98f1[_0x568c59(0x30a)]=0x32ca]=_0x568c59(0x30a),_0xa98f1[_0xa98f1[_0x568c59(0x303)]=0x32cb]=_0x568c59(0x303),_0xa98f1[_0xa98f1[_0x568c59(0x108)]=0x36b1]=_0x568c59(0x108),_0xa98f1[_0xa98f1[_0x568c59(0x127)]=0x36b2]=_0x568c59(0x127),_0xa98f1[_0xa98f1[_0x568c59(0x8b)]=0x36b3]=_0x568c59(0x8b),_0xa98f1[_0xa98f1[_0x568c59(0x224)]=0x36b4]=_0x568c59(0x224),_0xa98f1[_0xa98f1[_0x568c59(0x258)]=0x36b5]=_0x568c59(0x258),_0xa98f1[_0xa98f1[_0x568c59(0xd0)]=0x36b6]=_0x568c59(0xd0),_0xa98f1[_0xa98f1[_0x568c59(0x2d7)]=0x36b7]=_0x568c59(0x2d7),_0xa98f1[_0xa98f1[_0x568c59(0x2dd)]=0x36b8]=_0x568c59(0x2dd),_0xa98f1[_0xa98f1[_0x568c59(0x211)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xa98f1[_0xa98f1[_0x568c59(0xd4)]=0x3716]=_0x568c59(0xd4),_0xa98f1[_0xa98f1[_0x568c59(0x34a)]=0x3717]=_0x568c59(0x34a),_0xa98f1[_0xa98f1[_0x568c59(0x2c4)]=0x37dd]=_0x568c59(0x2c4),_0xa98f1[_0xa98f1['REDEMPTION_INVALID_CODE']=0x3a99]=_0x568c59(0x328),_0xa98f1[_0xa98f1['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xa98f1[_0xa98f1[_0x568c59(0x176)]=0x3a9b]=_0x568c59(0x176),_0xa98f1[_0xa98f1['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x568c59(0x250),_0xa98f1[_0xa98f1[_0x568c59(0x298)]=0x3a9d]=_0x568c59(0x298),_0xa98f1[_0xa98f1[_0x568c59(0xee)]=0x3a9e]=_0x568c59(0xee),_0xa98f1[_0xa98f1[_0x568c59(0x312)]=0x3a9f]=_0x568c59(0x312),_0xa98f1[_0xa98f1[_0x568c59(0xb2)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0xa98f1[_0xa98f1[_0x568c59(0x10d)]=-0x1]='UNRECOGNIZED',_0xa98f1))(_0x5502e6||{});function _0x360e8a(_0x5c498b){const _0x54759b=_0x568c59;var _0x554a31,_0x90bf84;const _0x348a44=(_0x554a31=_0x5c498b['stageInfo'])==null?void 0x0:_0x554a31[_0x54759b(0x24c)],_0x19eaae=((_0x90bf84=_0x5c498b['stageInfo'])==null?void 0x0:_0x90bf84['totalFormulasToCalculate'])||0x0;return _0x348a44===_0x1707bd[_0x54759b(0x33a)][_0x54759b(0x33b)]&&_0x19eaae>0x0;}function _0x83ba07(_0x5a1ce6){const _0x1a981e=_0x568c59;return _0x5a1ce6['functionsExecutedState']===_0x1707bd[_0x1a981e(0x2b5)][_0x1a981e(0x24f)];}var _0x3d1652=Object[_0x568c59(0xf5)],_0x56a47e=(_0x2a64bd,_0xf5909d,_0x3a117f,_0x1b5032)=>{const _0x4b718f=_0x568c59;for(var _0x5e976d=_0x1b5032>0x1?void 0x0:_0x1b5032?_0x3d1652(_0xf5909d,_0x3a117f):_0xf5909d,_0x5e9fae=_0x2a64bd[_0x4b718f(0x261)]-0x1,_0xf36b6a;_0x5e9fae>=0x0;_0x5e9fae--)(_0xf36b6a=_0x2a64bd[_0x5e9fae])&&(_0x5e976d=_0xf36b6a(_0x5e976d)||_0x5e976d);return _0x5e976d;},_0x5ba6c1=(_0x26f5f1,_0x578971)=>(_0x349eb8,_0x56b356)=>_0x578971(_0x349eb8,_0x56b356,_0x26f5f1);const _0x1e85dc='/universer-api/license/formula/limit/status',_0x151764=_0x568c59(0x1df),_0x5d06f3=_0x568c59(0xab);let _0x535a7f=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x34690b,_0x3cfbbb,_0x55eb63,_0x337c6f,_0x23f8c6,_0x835de1,_0x4228f8){const _0x42ee4e=_0x568c59;super(),_0xe730d4(this,_0x42ee4e(0x2e3),null),_0xe730d4(this,_0x42ee4e(0x1f6),0x0),_0xe730d4(this,_0x42ee4e(0x2bd),0x0),_0xe730d4(this,_0x42ee4e(0xc5),[]),_0xe730d4(this,_0x42ee4e(0x204),0x0),(this[_0x42ee4e(0xe1)]=_0x34690b,this[_0x42ee4e(0x115)]=_0x3cfbbb,this['_configService']=_0x55eb63,this['_httpService']=_0x337c6f,this['_univerInstanceService']=_0x23f8c6,this[_0x42ee4e(0x31a)]=_0x835de1,this['_localeService']=_0x4228f8,this[_0x42ee4e(0x1d9)]());}[_0x568c59(0x1d9)](){const _0x28089f=_0x568c59;this[_0x28089f(0x354)](this[_0x28089f(0x115)][_0x28089f(0x163)]((_0x3ac3f0,_0x3fdd15)=>{const _0x52ccd7=_0x28089f;var _0x88b470;if(_0x3ac3f0['id']!==_0x1707bd[_0x52ccd7(0x252)]['id'])return;const _0x3392f6=_0x3ac3f0[_0x52ccd7(0x2c3)];if(!this[_0x52ccd7(0x21e)]((_0x88b470=_0x3392f6[_0x52ccd7(0x238)])!=null?_0x88b470:[]))return;if(!this[_0x52ccd7(0xbe)]())throw this[_0x52ccd7(0x2d4)](_0x3ac3f0,_0x3fdd15),this[_0x52ccd7(0x1c3)](),new _0x4b176f[(_0x52ccd7(0x1fe))]();})),this[_0x28089f(0x354)](this['_commandService'][_0x28089f(0xe9)]((_0x433bfe,_0x4e518e)=>{const _0x340e32=_0x28089f;if(_0x433bfe['id']!==_0x1707bd[_0x340e32(0x2b8)]['id'])return;const _0x1e7207=_0x433bfe[_0x340e32(0x2c3)];if(_0x360e8a(_0x1e7207)){const _0x3d27da=_0x4b176f[_0x340e32(0x22e)]();this['_taskIds'][_0x340e32(0x1cc)](_0x3d27da),this[_0x340e32(0x1e3)](_0x3d27da);}else{if(_0x83ba07(_0x1e7207)&&this[_0x340e32(0xc5)]['length']>0x0){const _0x22a9ff=this['_taskIds'][_0x340e32(0x161)]();this[_0x340e32(0x1b1)](_0x22a9ff);}}}));}[_0x568c59(0x106)](){const _0x80c332=_0x568c59;super[_0x80c332(0x106)](),this['_clearPolling'](),this[_0x80c332(0xc5)]=[],this[_0x80c332(0x2bd)]=0x0,this[_0x80c332(0x1f6)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x475b3d,_0xb4e1c5){const _0xec9b6a=_0x568c59;for(let _0x1f601d=0x0;_0x1f601d<0x1e;_0x1f601d++)try{if(await this[_0xec9b6a(0x321)](),this['_checkCalculationAvailable']()){this[_0xec9b6a(0x230)](_0x475b3d,_0xb4e1c5),this[_0xec9b6a(0xe1)][_0xec9b6a(0x154)]({'content':this[_0xec9b6a(0x234)]['t'](_0xec9b6a(0x24a)),'type':_0x47ae90[_0xec9b6a(0x142)][_0xec9b6a(0x151)]});return;}await new Promise(_0x28076e=>{const _0x1e0a60=_0xec9b6a;this[_0x1e0a60(0x2e3)]=window[_0x1e0a60(0x1de)](_0x28076e,0x3e8);});}catch(_0x54f856){this[_0xec9b6a(0x31a)][_0xec9b6a(0x11f)](_0x54f856);}this['_messageService'][_0xec9b6a(0x154)]({'content':this[_0xec9b6a(0x234)]['t'](_0xec9b6a(0xb6)),'type':_0x47ae90['MessageType'][_0xec9b6a(0x2b6)]});}[_0x568c59(0x230)](_0x1aed52,_0x4a5846){const _0x529e24=_0x568c59;try{this[_0x529e24(0x115)][_0x529e24(0x2ec)](_0x1aed52['id'],_0x1aed52['params'],_0x4a5846);}catch(_0x18be1a){this[_0x529e24(0x31a)][_0x529e24(0x11f)](_0x18be1a);}}[_0x568c59(0x1e1)](_0x5a89b4,_0x38c5c0){const _0x537ee9=_0x568c59;_0x38c5c0<this[_0x537ee9(0x204)]||(this[_0x537ee9(0x204)]=_0x38c5c0,this[_0x537ee9(0x1f6)]=Number[_0x537ee9(0x88)](_0x5a89b4['maxFormulaLimit']),this[_0x537ee9(0x2bd)]=Number[_0x537ee9(0x88)](_0x5a89b4['currentUsage']));}async[_0x568c59(0x1e3)](_0x5d17db){const _0x57bca9=_0x568c59;var _0xb70801,_0x4a431e;const _0x326cbb=Date[_0x57bca9(0x17b)]();try{const _0x58b1bf=((_0xb70801=this[_0x57bca9(0x217)][_0x57bca9(0xd1)](_0x497c74[_0x57bca9(0x212)]))==null?void 0x0:_0xb70801[_0x57bca9(0xf1)])||_0x151764,_0x462d98=(await this['_httpService'][_0x57bca9(0xc9)](_0x58b1bf,{'body':JSON['stringify']({'taskId':_0x5d17db})}))[_0x57bca9(0x16e)];if(((_0x4a431e=_0x462d98[_0x57bca9(0x11f)])==null?void 0x0:_0x4a431e['code'])!==_0x5502e6['OK'])return;this['_setFormulaLimitStatus'](_0x462d98[_0x57bca9(0x257)],_0x326cbb);}catch(_0x5ba2c1){this[_0x57bca9(0x31a)]['error'](_0x5ba2c1);}}async[_0x568c59(0x321)](_0x2c5a8a){const _0x564b2c=_0x568c59;var _0x58af99,_0x3ed634;const _0x571543=Date[_0x564b2c(0x17b)]();try{const _0x2fc9c9=((_0x58af99=this[_0x564b2c(0x217)][_0x564b2c(0xd1)](_0x497c74[_0x564b2c(0x212)]))==null?void 0x0:_0x58af99[_0x564b2c(0x357)])||_0x1e85dc,_0x2020cc=_0x2c5a8a?_0x2fc9c9+_0x564b2c(0x11d)+encodeURIComponent(_0x2c5a8a):_0x2fc9c9,_0x1077a4=(await this['_httpService'][_0x564b2c(0x9e)](_0x2020cc))[_0x564b2c(0x16e)];if(((_0x3ed634=_0x1077a4['error'])==null?void 0x0:_0x3ed634['code'])!==_0x5502e6['OK'])return;this['_setFormulaLimitStatus'](_0x1077a4[_0x564b2c(0x257)],_0x571543);}catch(_0x3251ac){this[_0x564b2c(0x31a)]['error'](_0x3251ac);}}async[_0x568c59(0x1b1)](_0xfaa52c){const _0x6d4567=_0x568c59;var _0x4ba6df,_0x5c189c;const _0x10e1c1=Date[_0x6d4567(0x17b)]();try{const _0xfe9b95=((_0x4ba6df=this[_0x6d4567(0x217)][_0x6d4567(0xd1)](_0x497c74[_0x6d4567(0x212)]))==null?void 0x0:_0x4ba6df['releaseFormulaLimitUrl'])||_0x5d06f3,_0x58ac33=(await this[_0x6d4567(0x228)][_0x6d4567(0xc9)](_0xfe9b95,{'body':JSON['stringify']({'taskId':_0xfaa52c})}))[_0x6d4567(0x16e)];if(((_0x5c189c=_0x58ac33[_0x6d4567(0x11f)])==null?void 0x0:_0x5c189c[_0x6d4567(0x2d6)])!==_0x5502e6['OK'])return;this[_0x6d4567(0x1e1)](_0x58ac33[_0x6d4567(0x257)],_0x10e1c1);}catch(_0x2f23aa){this[_0x6d4567(0x31a)]['error'](_0x2f23aa);}}[_0x568c59(0xbe)](){return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x568c59(0x30d)](){const _0x559fd5=_0x568c59;this[_0x559fd5(0x2e3)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x568c59(0x1c3)](){const _0x31824d=_0x568c59;this[_0x31824d(0xe1)][_0x31824d(0x154)]({'content':this[_0x31824d(0x234)]['t']('formula.calculation.waiting'),'type':_0x47ae90['MessageType']['Loading']});}[_0x568c59(0x21e)](_0x29b4b7){const _0x510daf=_0x568c59;for(const _0x40777a of _0x29b4b7){const {unitId:_0x269859,sheetId:_0x5227a8,range:_0x4808d9}=_0x40777a,_0x10bdce=this[_0x510daf(0xbb)]['getUnit'](_0x269859);if(!_0x10bdce)continue;const _0x43f986=_0x10bdce['getSheetBySheetId'](_0x5227a8);if(!_0x43f986)continue;const _0x153a86=_0x43f986[_0x510daf(0x2f8)]();for(let _0x1a077c=_0x4808d9[_0x510daf(0x29e)];_0x1a077c<=_0x4808d9['endRow'];_0x1a077c++)for(let _0x6a372b=_0x4808d9[_0x510daf(0x13d)];_0x6a372b<=_0x4808d9[_0x510daf(0xe6)];_0x6a372b++){const _0x14719b=_0x153a86[_0x510daf(0xce)](_0x1a077c,_0x6a372b);if(_0x14719b&&(_0x4b176f[_0x510daf(0x2df)](_0x14719b['f'])||_0x4b176f[_0x510daf(0xb0)](_0x14719b['si'])))return!0x0;}}return!0x1;}};_0x535a7f=_0x56a47e([_0x5ba6c1(0x0,_0x4b176f[_0x568c59(0x36e)](_0x48763f[_0x568c59(0x356)])),_0x5ba6c1(0x1,_0x4b176f[_0x568c59(0x32b)]),_0x5ba6c1(0x2,_0x4b176f['IConfigService']),_0x5ba6c1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0x5ba6c1(0x4,_0x4b176f['IUniverInstanceService']),_0x5ba6c1(0x5,_0x4b176f['ILogService']),_0x5ba6c1(0x6,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['LocaleService']))],_0x535a7f);var _0x5237a6=Object[_0x568c59(0xf5)],_0x2c1815=(_0x48cf4c,_0x47d574,_0x32e2c0,_0x1a67c1)=>{for(var _0x9d1836=_0x1a67c1>0x1?void 0x0:_0x1a67c1?_0x5237a6(_0x47d574,_0x32e2c0):_0x47d574,_0x315271=_0x48cf4c['length']-0x1,_0x2d7c95;_0x315271>=0x0;_0x315271--)(_0x2d7c95=_0x48cf4c[_0x315271])&&(_0x9d1836=_0x2d7c95(_0x9d1836)||_0x9d1836);return _0x9d1836;},_0x5b86ae=(_0x1ab50f,_0xb53619)=>(_0x5206f9,_0x11af16)=>_0xb53619(_0x5206f9,_0x11af16,_0x1ab50f);let _0x3d07bb=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x464f41,_0x5ae807,_0x56a0ac){const _0x14c145=_0x568c59;super(),_0xe730d4(this,'_cachedData',new Map()),_0xe730d4(this,_0x14c145(0x26e),new Map()),_0xe730d4(this,'_disabled',!0x1),(this['_configService']=_0x464f41,this[_0x14c145(0x310)]=_0x5ae807,this[_0x14c145(0x120)]=_0x56a0ac);}[_0x568c59(0x335)](){const _0x1417f2=_0x568c59;this[_0x1417f2(0xbd)]=!0x0;}[_0x568c59(0x17c)](){const _0x41c9b6=_0x568c59;this[_0x41c9b6(0xbd)]=!0x1;}get[_0x568c59(0x8a)](){const _0xc8885c=_0x568c59;return this[_0xc8885c(0x26e)];}['dispose'](){const _0x302faa=_0x568c59;this[_0x302faa(0x28e)]()[_0x302faa(0x2c6)](()=>super[_0x302faa(0x106)]());}async[_0x568c59(0xdc)](_0x57e58e){const _0x4fcf1e=_0x568c59;return this['_disabled']?null:this[_0x4fcf1e(0x310)][_0x4fcf1e(0x288)](_0x497c74[_0x4fcf1e(0x186)](_0x57e58e));}async['saveOfflineData'](_0x12214b,_0x5ddef2){const _0x3b9c95=_0x568c59;return!!this['_localStorageService'][_0x3b9c95(0x239)](_0x12214b,_0x5ddef2);}[_0x568c59(0x220)](_0x53fdc1,_0x19d0b3,_0x50bfa6,_0x22440a){const _0x563d05=_0x568c59,_0x50a355=this[_0x563d05(0x120)]['getCurrentRevOfUnit'](_0x53fdc1);this[_0x563d05(0x1bb)]['set'](_0x53fdc1,{'unitID':_0x53fdc1,'type':_0x19d0b3,'awaitingChangeset':_0x50bfa6,'mutations':_0x22440a,'rev':_0x50a355}),this[_0x563d05(0x26e)][_0x563d05(0x268)](_0x53fdc1)||this[_0x563d05(0x1e9)](_0x53fdc1);}[_0x568c59(0x1e9)](_0x7bd6cd){const _0x4f64c7=_0x568c59,_0x1300a6=this[_0x4f64c7(0x157)]();_0x1300a6===0x0?this[_0x4f64c7(0xb3)](_0x7bd6cd):this[_0x4f64c7(0x26e)]['set'](_0x7bd6cd,setTimeout(()=>this[_0x4f64c7(0xb3)](_0x7bd6cd),_0x1300a6));}[_0x568c59(0x157)](){const _0x3d2c40=_0x568c59;var _0x528384;return(_0x528384=this[_0x3d2c40(0x217)][_0x3d2c40(0xd1)](_0x497c74['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x528384:_0x497c74[_0x3d2c40(0x29b)];}[_0x568c59(0xb3)](_0x421d05){const _0xb08e44=_0x568c59,_0x2da690=this[_0xb08e44(0x26e)][_0xb08e44(0x9e)](_0x421d05);return _0x2da690!==void 0x0&&window[_0xb08e44(0x147)](_0x2da690),this['_localStorageService'][_0xb08e44(0x239)](_0x497c74[_0xb08e44(0x186)](_0x421d05),this['_cachedData']['get'](_0x421d05))['then'](()=>this[_0xb08e44(0x26e)][_0xb08e44(0x1a7)](_0x421d05));}async['exhaustSavingTask'](){const _0x2756f4=_0x568c59,_0x232dd2=[];this[_0x2756f4(0x26e)]['forEach']((_0x2366f8,_0x457397)=>{const _0x3d0253=_0x2756f4;window[_0x3d0253(0x147)](_0x2366f8),_0x232dd2[_0x3d0253(0x1cc)](this[_0x3d0253(0xb3)](_0x457397)[_0x3d0253(0x2c6)](()=>{const _0x2783ca=_0x3d0253;this[_0x2783ca(0x26e)][_0x2783ca(0x1a7)](_0x457397);}));}),await Promise['all'](_0x232dd2);}};_0x3d07bb=_0x2c1815([_0x5b86ae(0x0,_0x4b176f[_0x568c59(0x9b)]),_0x5b86ae(0x1,_0x4b176f[_0x568c59(0x337)]),_0x5b86ae(0x2,_0x4b176f[_0x568c59(0x36e)](_0x2cf75e[_0x568c59(0x35f)]))],_0x3d07bb);class _0x2347bf extends _0x4b176f['RxDisposable']{constructor(){const _0x1fd6da=_0x568c59;super(),_0xe730d4(this,_0x1fd6da(0xa9)),this[_0x1fd6da(0xa9)]=_0x2d9524[_0x1fd6da(0x89)](window,_0x1fd6da(0x1ee))[_0x1fd6da(0x175)](_0x2d9524['takeUntil'](this['dispose$']),_0x2d9524['shareReplay'](0x1),_0x2d9524[_0x1fd6da(0x2fd)](void 0x0));}[_0x568c59(0x33f)](_0x53a9b4,_0x229341,_0x47635d=!0x1){const _0x330b73=_0x568c59,_0x2ad483=new URL(window[_0x330b73(0x110)][_0x330b73(0x33c)]);_0x2ad483['searchParams']['set'](_0x53a9b4,_0x229341),_0x47635d?window['history'][_0x330b73(0x2ca)]('','',_0x2ad483[_0x330b73(0xe8)]()):window['history'][_0x330b73(0x31c)]('','',_0x2ad483[_0x330b73(0xe8)]());}[_0x568c59(0x104)](_0x369f1d,_0x3091c8=!0x1){const _0x333f04=_0x568c59,_0x12200b=new URL(window['location'][_0x333f04(0x33c)]);_0x12200b[_0x333f04(0x18a)][_0x333f04(0x1a7)](_0x369f1d),_0x3091c8?window[_0x333f04(0x16c)][_0x333f04(0x2ca)]('','',_0x12200b[_0x333f04(0xe8)]()):window[_0x333f04(0x16c)][_0x333f04(0x31c)]('','',_0x12200b[_0x333f04(0xe8)]());}[_0x568c59(0x30f)](_0x9ef46c){const _0x2d4c18=_0x568c59;var _0x22e0fa;return(_0x22e0fa=new URL(window[_0x2d4c18(0x110)]['href'])['searchParams'][_0x2d4c18(0x9e)](_0x9ef46c))!=null?_0x22e0fa:void 0x0;}}var _0x287c9e=Object[_0x568c59(0x193)],_0x203838=Object[_0x568c59(0xf5)],_0x9e97f7=(_0x572ee5,_0x455b09,_0x2cf558)=>_0x455b09 in _0x572ee5?_0x287c9e(_0x572ee5,_0x455b09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cf558}):_0x572ee5[_0x455b09]=_0x2cf558,_0x431c8d=(_0x36283f,_0x59713c,_0x26f96e,_0x101f9d)=>{const _0x20aa8a=_0x568c59;for(var _0x41a9d8=_0x101f9d>0x1?void 0x0:_0x101f9d?_0x203838(_0x59713c,_0x26f96e):_0x59713c,_0xdd7bb8=_0x36283f[_0x20aa8a(0x261)]-0x1,_0x4cfb74;_0xdd7bb8>=0x0;_0xdd7bb8--)(_0x4cfb74=_0x36283f[_0xdd7bb8])&&(_0x41a9d8=_0x4cfb74(_0x41a9d8)||_0x41a9d8);return _0x41a9d8;},_0x2b34fb=(_0xddeafa,_0x5e6f3d)=>(_0x2547ab,_0xc6153c)=>_0x5e6f3d(_0x2547ab,_0xc6153c,_0xddeafa),_0x2a513a=(_0x3c12bf,_0x1f56a9,_0x2ee4c0)=>_0x9e97f7(_0x3c12bf,_0x1f56a9+'',_0x2ee4c0);const _0x293f41=_0x568c59(0x249);_0x49b1c5[_0x568c59(0x15d)]=class extends _0x4b176f[_0x568c59(0x2d2)]{constructor(_0x2da001=_0x1119c0,_0x2d6daf,_0x22d942,_0x49875a){const _0x8d7552=_0x568c59;super(),this['_config']=_0x2da001,this[_0x8d7552(0x364)]=_0x2d6daf,this[_0x8d7552(0x148)]=_0x22d942,this[_0x8d7552(0x217)]=_0x49875a;const {..._0x4d87c4}=_0x4b176f[_0x8d7552(0x218)]({},_0x1119c0,this[_0x8d7552(0x124)]);this['_configService'][_0x8d7552(0x297)](_0x28fa25,_0x4d87c4);}[_0x568c59(0x119)](){const _0x2121f4=_0x568c59;this['_registerDependencies'](),this[_0x2121f4(0xf2)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x568c59(0x247)](){const _0xcfd021=_0x568c59;var _0xe4cead;const _0xcc771b=[[_0x4009eb],[_0x535a7f],[_0x4ac300],[_0x32787b],[_0x45c595],[_0x510ecb],[_0x69f589,{'useClass':_0x2347bf}],[_0x542501[_0xcfd021(0x2db)],{'useClass':_0x542501[_0xcfd021(0x285)]}],[_0x497c74['ILocalCacheService'],{'useClass':_0x3d07bb}],[_0x49b1c5[_0xcfd021(0x336)]],[_0x1c4ddb],[_0x32db3d],[_0x53db82],[_0x30a20f],[_0x49b1c5['CollaborationDataLoaderController']]];this[_0xcfd021(0x124)][_0xcfd021(0x289)]&&_0xcc771b[_0xcfd021(0x1cc)]([_0x16e051]),_0x4b176f['registerDependencies'](this[_0xcfd021(0x148)],_0x4b176f['mergeOverrideWithDependencies'](_0xcc771b,(_0xe4cead=this['_config'])==null?void 0x0:_0xe4cead[_0xcfd021(0x25e)]));}['_registerRenderDependencies'](){const _0x3fa480=_0x568c59;this[_0x3fa480(0x354)](this[_0x3fa480(0x364)][_0x3fa480(0x1ae)](_0x4b176f[_0x3fa480(0xc6)][_0x3fa480(0x141)],[_0x578f3e])),this[_0x3fa480(0x354)](this[_0x3fa480(0x364)][_0x3fa480(0x1ae)](_0x4b176f[_0x3fa480(0xc6)]['UNIVER_SHEET'],[_0x4f696d]));}[_0x568c59(0xf2)](){const _0x36d382=_0x568c59;_0x4b176f[_0x36d382(0xfe)](this['_injector'],[[_0x53db82],[_0x49b1c5[_0x36d382(0x336)]],[_0x1c4ddb],[_0x32db3d],[_0x49b1c5['CollaborationDataLoaderController']],[_0x535a7f]]),this[_0x36d382(0x124)][_0x36d382(0x289)]&&_0x4b176f[_0x36d382(0xfe)](this[_0x36d382(0x148)],[[_0x16e051]]);}},_0x2a513a(_0x49b1c5['UniverCollaborationClientUIPlugin'],'pluginName',_0x293f41),_0x49b1c5[_0x568c59(0x15d)]=_0x431c8d([_0x4b176f['DependentOn'](_0x497c74[_0x568c59(0x359)]),_0x2b34fb(0x1,_0x517da6[_0x568c59(0x264)]),_0x2b34fb(0x2,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x2b34fb(0x3,_0x4b176f[_0x568c59(0x9b)])],_0x49b1c5[_0x568c59(0x15d)]);var _0x555dd1=Object[_0x568c59(0xf5)],_0xef853b=(_0x2c8a5b,_0x559c0f,_0xa845f0,_0x4075f4)=>{const _0xdbe6ea=_0x568c59;for(var _0x263754=_0x4075f4>0x1?void 0x0:_0x4075f4?_0x555dd1(_0x559c0f,_0xa845f0):_0x559c0f,_0x240378=_0x2c8a5b[_0xdbe6ea(0x261)]-0x1,_0x110103;_0x240378>=0x0;_0x240378--)(_0x110103=_0x2c8a5b[_0x240378])&&(_0x263754=_0x110103(_0x263754)||_0x263754);return _0x263754;},_0xc8fcd7=(_0x3614fb,_0x5702d4)=>(_0x4c722c,_0x31a9d6)=>_0x5702d4(_0x4c722c,_0x31a9d6,_0x3614fb);_0x49b1c5[_0x568c59(0x34f)]=class extends _0x497c74[_0x568c59(0xc4)]{constructor(_0x13ff5a,_0x22a86c,_0x3e8ba9,_0x299d72,_0x2b7b7f){super(_0x13ff5a,_0x22a86c,_0x3e8ba9,_0x299d72,_0x2b7b7f);}async[_0x568c59(0x1b4)](_0x175c10){const _0x18468c=_0x568c59,_0x36b2ee=await this['_getSessionTicket'](),_0xc00b64=this[_0x18468c(0x1bc)](_0x175c10,_0x36b2ee);return this[_0x18468c(0xed)](_0xc00b64);}['_createSocketURL'](_0x10083a,_0x450a4d){const _0x5a3d8c=_0x568c59,_0x73309b=typeof window>'u'?new URL(_0x10083a):new URL(_0x10083a,window[_0x5a3d8c(0x110)][_0x5a3d8c(0x1c5)]);_0x73309b[_0x5a3d8c(0x18a)][_0x5a3d8c(0xd2)](_0x5a3d8c(0x22d),_0x450a4d);const _0x5b7390=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a3d8c(0x110)][_0x5a3d8c(0x222)]);return _0x5b7390[_0x5a3d8c(0x9e)](_0x5a3d8c(0x1c7))&&_0x73309b[_0x5a3d8c(0x18a)][_0x5a3d8c(0xd2)]('runId',_0x5b7390[_0x5a3d8c(0x9e)](_0x5a3d8c(0x1c7))),_0x73309b[_0x5a3d8c(0xe8)]();}async['_getSessionTicket'](){const _0x1da992=_0x568c59;var _0x6f3901,_0x16d18e,_0x3c6894;const _0x634648=this[_0x1da992(0x217)][_0x1da992(0xd1)](_0x497c74['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x134be2=(_0x6f3901=_0x634648==null?void 0x0:_0x634648[_0x1da992(0x324)])!=null?_0x6f3901:_0x497c74[_0x1da992(0x304)];return(_0x3c6894=(_0x16d18e=(await this['_httpService']['get'](_0x134be2,{'headers':{'Content-Type':'application/json'}}))[_0x1da992(0x16e)])==null?void 0x0:_0x16d18e[_0x1da992(0x307)])!=null?_0x3c6894:'';}},_0x49b1c5[_0x568c59(0x34f)]=_0xef853b([_0xc8fcd7(0x0,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0xc8fcd7(0x1,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0xc8fcd7(0x2,_0x4b176f[_0x568c59(0x9b)]),_0xc8fcd7(0x3,_0x4b176f[_0x568c59(0x344)]),_0xc8fcd7(0x4,_0x2cf75e['ISnapshotServerService'])],_0x49b1c5['BrowserCollaborationSocketService']);var _0xb7dbe1=Object[_0x568c59(0xf5)],_0x2da5f7=(_0x33b30a,_0x378757,_0x51a64f,_0x257469)=>{const _0x58ac9e=_0x568c59;for(var _0x5bbbda=_0x257469>0x1?void 0x0:_0x257469?_0xb7dbe1(_0x378757,_0x51a64f):_0x378757,_0x1007d2=_0x33b30a[_0x58ac9e(0x261)]-0x1,_0x4a286a;_0x1007d2>=0x0;_0x1007d2--)(_0x4a286a=_0x33b30a[_0x1007d2])&&(_0x5bbbda=_0x4a286a(_0x5bbbda)||_0x5bbbda);return _0x5bbbda;},_0xfa9f7f=(_0x44d0a4,_0x3fd110)=>(_0x31643c,_0x310df3)=>_0x3fd110(_0x31643c,_0x310df3,_0x44d0a4);_0x49b1c5[_0x568c59(0x254)]=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x3fa835,_0x3ac559,_0xeab8c9){const _0x55b502=_0x568c59;super(),this[_0x55b502(0x267)]=_0x3fa835,this[_0x55b502(0x228)]=_0x3ac559,this[_0x55b502(0x217)]=_0xeab8c9;}async[_0x568c59(0x207)](_0x35bfdd,_0xd4cbb3,_0x10423b,..._0x592ae4){const _0x4a9e4c=_0x568c59;var _0x5bc41e,_0xca6253,_0x48cd13,_0x28f631;const _0x1b7f18=this[_0x4a9e4c(0x267)][_0x4a9e4c(0x18f)]();if(!_0x1b7f18)throw new Error(_0x4a9e4c(0x280));const _0x2ed315=((_0x5bc41e=this[_0x4a9e4c(0x217)][_0x4a9e4c(0xd1)](_0x497c74[_0x4a9e4c(0x15b)]))!=null?_0x5bc41e:_0x497c74['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x35bfdd+_0x4a9e4c(0x152)+_0xd4cbb3,_0x577994=new URL(window[_0x4a9e4c(0x110)][_0x4a9e4c(0x33c)]),_0x2fdaab={'scriptId':_0x35bfdd,'runId':(_0xca6253=_0x577994['searchParams'][_0x4a9e4c(0x9e)](_0x4a9e4c(0x1c7)))!=null?_0xca6253:'','function':_0xd4cbb3,'unitId':_0x1b7f18[_0x4a9e4c(0x1f3)](),'argsOfFunction':JSON[_0x4a9e4c(0x1d2)](_0x592ae4),'invokeId':(_0x48cd13=_0x10423b['invokeId'])!=null?_0x48cd13:'','executionId':(_0x28f631=_0x10423b[_0x4a9e4c(0x1b7)])!=null?_0x28f631:''};try{const _0x128dee=await this[_0x4a9e4c(0x228)][_0x4a9e4c(0xc9)](_0x2ed315,{'body':_0x2fdaab});return _0x128dee[_0x4a9e4c(0x16e)][_0x4a9e4c(0x11f)]&&_0x128dee['body'][_0x4a9e4c(0x11f)][_0x4a9e4c(0x2d6)]!==_0x5502e6['OK']?_0x4a9e4c(0x202):_0x128dee[_0x4a9e4c(0x16e)][_0x4a9e4c(0x36d)];}catch{return'Failed';}}},_0x49b1c5['RemoteUniscriptService']=_0x2da5f7([_0xfa9f7f(0x0,_0x4b176f[_0x568c59(0x26f)]),_0xfa9f7f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0xfa9f7f(0x2,_0x4b176f[_0x568c59(0x9b)])],_0x49b1c5[_0x568c59(0x254)]);const _0x5ef8d7=0x7530,_0x317e80=_0x568c59(0x286);class _0xbda6a0 extends _0x4b176f['Disposable']{constructor(){const _0x9c2660=_0x568c59;super(),_0xe730d4(this,_0x9c2660(0x308),_0x4b176f[_0x9c2660(0x22e)]()),_0xe730d4(this,'_selfUnitIDs',new Set()),_0xe730d4(this,'_unitOnClients',new Map()),_0xe730d4(this,'_heartbeatTimer',null),_0xe730d4(this,_0x9c2660(0x374),new Map()),_0xe730d4(this,'_unitStatus',new Map()),this[_0x9c2660(0x129)]();}[_0x568c59(0x106)](){const _0x3ce6eb=_0x568c59;super[_0x3ce6eb(0x106)](),this[_0x3ce6eb(0x374)][_0x3ce6eb(0x15e)]((_0x2a479b,_0x4f33ad)=>this[_0x3ce6eb(0x138)](_0x4f33ad)),this[_0x3ce6eb(0x2aa)]&&window['clearInterval'](this[_0x3ce6eb(0x2aa)]);}['getUnitStatus$'](_0x5e6e4e){const _0x28a2e2=_0x568c59;return this[_0x28a2e2(0x2bb)](_0x5e6e4e)['pipe'](_0x2d9524[_0x28a2e2(0x269)]());}['editingUnit'](_0x22b0a6){const _0xaa886e=_0x568c59;this[_0xaa886e(0x103)][_0xaa886e(0x2d1)]===0x0&&this[_0xaa886e(0x190)](),this[_0xaa886e(0x103)][_0xaa886e(0x2bf)](_0x22b0a6),this[_0xaa886e(0x2d8)]({'type':0x0,'memberID':this[_0xaa886e(0x308)],'unitIDs':[_0x22b0a6],'isForwarded':!0x1});}[_0x568c59(0x1db)](_0x4c7dd8){const _0x569ad2=_0x568c59;this['_selfUnitIDs'][_0x569ad2(0x1a7)](_0x4c7dd8),this[_0x569ad2(0x103)][_0x569ad2(0x2d1)]===0x0&&this[_0x569ad2(0x2aa)]&&window[_0x569ad2(0x2b9)](this['_heartbeatTimer']);}[_0x568c59(0x129)](){const _0x2ace39=_0x568c59;this[_0x2ace39(0x354)](_0x4b176f['toDisposable'](_0x2d9524[_0x2ace39(0x89)](window,_0x2ace39(0x2ee))[_0x2ace39(0xe7)](_0x949f2e=>{const _0x4bdb8d=_0x2ace39;if(_0x949f2e['key']!==_0x317e80||!_0x949f2e[_0x4bdb8d(0xa2)])return;const _0xb6803d=JSON[_0x4bdb8d(0xfa)](_0x949f2e[_0x4bdb8d(0xa2)]);this[_0x4bdb8d(0x1d4)](_0xb6803d);}))),window['addEventListener'](_0x2ace39(0x171),()=>this[_0x2ace39(0x2d8)]({'type':0x1,'memberID':this[_0x2ace39(0x308)],'unitIDs':Array[_0x2ace39(0xd3)](this[_0x2ace39(0x103)])}));}[_0x568c59(0x1d4)](_0x3e7398){const _0x3ed957=_0x568c59;switch(_0x3e7398['type']){case 0x0:this[_0x3ed957(0x1d1)](_0x3e7398);break;case 0x1:this[_0x3ed957(0xe5)](_0x3e7398);break;case 0x2:this[_0x3ed957(0x183)](_0x3e7398);break;}}[_0x568c59(0x1d1)](_0x48f530){const _0x1a6663=_0x568c59,{unitIDs:_0x58a802,memberID:_0x549e88,isForwarded:_0x33653b}=_0x48f530;_0x58a802[_0x1a6663(0x15e)](_0x251ea=>{const _0x53623b=_0x1a6663;if(!_0x33653b&&this[_0x53623b(0xea)][_0x53623b(0x268)](_0x251ea)&&this[_0x53623b(0x2bb)](_0x251ea)[_0x53623b(0x165)](_0x497c74['UnitStatus'][_0x53623b(0x10a)]),!this[_0x53623b(0xea)][_0x53623b(0x268)](_0x251ea)||!this[_0x53623b(0xea)]['get'](_0x251ea)[_0x53623b(0x268)](_0x549e88)){const _0x53728b=this[_0x53623b(0xea)][_0x53623b(0x9e)](_0x251ea)||new Set();_0x53728b[_0x53623b(0x2bf)](_0x549e88),this['_unitOnClients'][_0x53623b(0xd2)](_0x251ea,_0x53728b),this[_0x53623b(0x342)](_0x549e88);}}),_0x33653b||this['_send']({'type':0x0,'memberID':this[_0x1a6663(0x308)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x568c59(0x342)](_0x47e6d1){const _0xe3b74=_0x568c59;this[_0xe3b74(0x138)](_0x47e6d1);const _0x52a920=window[_0xe3b74(0x1de)](()=>{const _0x564f48=_0xe3b74;this[_0x564f48(0xea)]['forEach'](_0x437c5e=>{const _0x32fd4d=_0x564f48;_0x437c5e[_0x32fd4d(0x1a7)](_0x47e6d1);});},_0x5ef8d7*0x2);this[_0xe3b74(0x374)]['set'](_0x47e6d1,_0x52a920);}['_removeClearOtherTimer'](_0x568c43){const _0xd1194e=_0x568c59;if(this[_0xd1194e(0x374)][_0xd1194e(0x268)](_0x568c43)){const _0x13b5e4=this[_0xd1194e(0x374)]['get'](_0x568c43);_0x13b5e4&&window[_0xd1194e(0x147)](_0x13b5e4),this['_clearOtherTimers'][_0xd1194e(0xd2)](_0x568c43,null);}}['_handleLeaveEvent'](_0xa18a36){const _0xcae122=_0x568c59,{memberID:_0x4d2afa,unitIDs:_0x689ae4}=_0xa18a36;_0x689ae4[_0xcae122(0x15e)](_0x33f472=>{const _0x2bfcfe=_0xcae122;var _0x3618bc;const _0x907d6f=this['_unitOnClients'][_0x2bfcfe(0x9e)](_0x33f472);_0x907d6f&&(_0x907d6f[_0x2bfcfe(0x1a7)](_0x4d2afa),(_0x3618bc=this[_0x2bfcfe(0x2bb)](_0x33f472))==null||_0x3618bc['next'](_0x907d6f[_0x2bfcfe(0x2d1)]===0x0?_0x497c74[_0x2bfcfe(0x1d6)][_0x2bfcfe(0x2de)]:_0x497c74[_0x2bfcfe(0x1d6)][_0x2bfcfe(0x10a)]));}),this['_removeClearOtherTimer'](_0x4d2afa);}[_0x568c59(0x183)](_0x78b5ed){const _0x53c4ca=_0x568c59;this['_scheduleClearOtherTimer'](_0x78b5ed[_0x53c4ca(0xde)]);}['_send'](_0x2f9499){const _0x2f4b4c=_0x568c59;localStorage[_0x2f4b4c(0x239)](_0x317e80,JSON[_0x2f4b4c(0x1d2)](_0x2f9499));}[_0x568c59(0x190)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x33539d=_0x34b8;this['_send']({'type':0x2,'memberID':this[_0x33539d(0x308)]});},_0x5ef8d7);}[_0x568c59(0x2bb)](_0x37fd18){const _0xd4875b=_0x568c59;return this['_unitStatus']['has'](_0x37fd18)||this[_0xd4875b(0x206)]['set'](_0x37fd18,new _0x2d9524[(_0xd4875b(0x1cf))](_0x497c74[_0xd4875b(0x1d6)][_0xd4875b(0x2de)])),this[_0xd4875b(0x206)]['get'](_0x37fd18);}}_0x49b1c5[_0x568c59(0x226)]=_0x69f589,_0x49b1c5[_0x568c59(0x132)]=_0x2b40de,_0x49b1c5[_0x568c59(0x146)]=_0xbda6a0,_0x49b1c5['WebURLService']=_0x2347bf,Object[_0x568c59(0x193)](_0x49b1c5,Symbol[_0x568c59(0x313)],{'value':_0x568c59(0x2f7)});}));
8
+ function _0x42c3(){const _0x3a0e29=['CONNECTOR_DATA_TOO_LARGE','svg','CURRENT_STATUS_CANNOT_OPERATE','beforeCommandExecuted','Injector','NOT_COLLAB','takeUntil','blue.400','_onRefRangeChange','_lastResponseTimestamp','UnitStatus','_removeCollabCursors','[CollaborationDataLoaderController]','UniverInstanceType','filter','collaboration.closeRoom','url(#$1','IRemoteInstanceService','collabStatus.offline','createIdentifier','Warning','ILocalStorageService','_toggleOffline','save','startsWith','executionId','_range','on-line-icon_clip0_910_349','_unitStatus','get','BehaviorSubject','_initStatusListener','onPointerEnter$','_currentUsage','_ensureSubject','20FAmBmk','result','closePath','Rect','onPointerMove$','isTransformMutationsWithChangesetSuccess','deepClone','isFormulaString','_hideTimer','_maxFormulaLimit','NodePositionConvertToCursor','params','4bpxakG','ranges','LICENSE_IMPORT_SIZE_EXCEEDED','_docSkeletonManagerService','_docSyncEditingCollabCursorService','session.collaboration-timeout','getCoordByCell','complete','getRelativeToViewportCoord','setTimeout','ICommandService','_uiPartsService','deserializeRangeWithSheet','getMemberID','[LogService\x20Error]:\x20','_handleHover','_registerDependencies','defineProperty','forwardRef','20QxvavE','setParam','getUndoRedoMutationParamsCache','_refRangeService','transformIMECache','onStarting','getUnitId','toString','MessageType','_init','distinctUntilChanged','getCurrentSelections','ALREADY_EXISTS','error','PY_RUNTIME_SCRIPT_ERROR','evenodd','_revisionService','UniverDocsUi','SNAPSHOT_INVALID_SNAPSHOT','ILocalCacheService','font','SheetsSelectionsService','@univerjs/engine-render','subscribe','updateOfflineData','DataLoaderService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','delete','setItem','RemoveRowCommandId','_hovered','_send','handleInsertCol','_collaborationController','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getDocRanges','_unitOnClients','13ggOBkk','subunit','getMember','assignAColorForMemberID','LocaleService','_transformHistoryAndStateStack','collabStatus.conflict','saveTaskMap','loadOfflineData','_docTransformIMECacheService','_name','_syncEditingCollabCursorService','_saveTaskMap','APPLY_PERMISSION_DENIED','Subject','_pollingInterval','dirtyRanges','Tools','CONFLICT','EffectRefRangId','UNDEFINED','formula.calculation.unable','UniverDrawing','_httpService','NO_OTHER_CLIENTS_EDITING','reconnect','generateRandomId','_online','split','_hasFormulaInDirtyRanges','function','touchDependencies','_messageService','_drawAnchor','COLORS','registerRefRange','_onCursorDelete','has','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addObjects','_initUserListener','_initWindowErrorListener','socket$','width','ticket','SetFormulaCalculationNotificationMutation','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','clipPath','drawWith','getViewport','registerDependencies','m1Prime','skeleton','80628WjFkMp','url(#off-line-icon_clip0_910_343)','_releaseCalculationLimit','IImageIoService','@univerjs/network','createInstance','transformSelections','useRef','debounce','_handleEvent','unitId','DesktopCollaborationStatusDisplayController','enableFrontendLog','MoveRangeCommandId','debug','div','CollaborationSessionService','setConfig','red.300','toStringTag','_imageIoService','NodePositionConvertToRectRange','rxjs/operators','@univerjs/design','collab-text-range-','/universer-api/license/formula/limit/status','collaboration.single-unit.warning','_refreshCollabCursors','_setFormulaLimitStatus','_setupSubUnitSync','getCurrentUnitForType','@univerjs/docs-ui','from','_shapes','OTHER_CLIENTS_EDITING','32231JpwpuO','undoState','RefRangeService','_updateCollabCursors','_registerRenderDependencies','black','off-line-icon_clip0_910_343','FormulaExecuteStageType','code','@univerjs-pro/collaboration-client','mutations','random','react','path','getColorFromTheme','Inject','6DpqCOx','DocCollaborationEntity','IRenderManagerService','round','...','OFFLINE','onTransformChange$','event$','size','_memberService','permission.title','UniverProCollaborationClientUi','wsSessionTicketUrl','YUUMI_AI_RUN_FAILED','top','arc','UNIVER_DOC','children','unitID','REDEMPTION_CODE_FULLY_REDEEMED','_roomMembers$','_disabled','_initUnhandledRejectionListener','includes','formula.calculation.waiting','APPLY_NON_SEQUENTIAL_REVISION','now','clsx','transformMutationsWithChangeset','UniverCollaborationClientUIPlugin','mapTo','UniverEngineRender','_hover','APPLY_REVISION_CONFILICT','_checkAndWaitForCalculationPermission','serializeRangeWithSheet','?taskId=','_sheetSkeletonManagerService','MOBILE_VERIFY_CODE_MISMATCH','currentSkeleton$','executeCommand','memberID','isArray','CLOSE_ROOM','getAncestorScale','entries','LICENSE_MAX_UNITS_EXCEEDED','whenReady','WebBrowserSingleActiveUnitService','AUTHORIZE_CODE_ILLEGAL','createSocket','CollaborationStatus','collabCursorState$','_startSheetCollabCursor','setStateCache','location','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','source','currentColor','unhandledrejection','http://www.w3.org/2000/svg','/universer-api/frontend/logs','_id','DOC_RANGE_TYPE','REDEMPTION_INVALID_CODE','RevisionService','getRenderById','getSheetObject','_draw','rxjs','colno','_cursorShapes','RemoteUniscriptService','off-line-icon','message','_getAnchorBounding','DocIMEInputManagerService','_backgroundColor','makeDirty','_updateURLWithCurrentState','SetDocZoomRatioOperation','TOO_MANY_REQUESTS','replaceDocRanges','UniverDesign','getItem','pushState','_setupBeforeClosingHandler','EMAIL_HAS_BEEN_BOUND','stage','COMPLETION_FINISHED','0\x200\x2017\x2016','setAlpha','_eventUnsubscribe','ThemeService','isActive','BrowserCollaborationSocketService','ENTITLE_NEED_BILLING_ADDRESS','CHANGESET_REVISION_CONFILICT','collab-rect-range-','idSuffix','1912440Yabwcb','_localeService','collabStatus.syncing','ENTITLE_CAN_NOT_BUY_LOWER_OTP','transformRemoteChangeset','_renderManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','React','0\x200\x2016\x2016','REDEMPTION_CODE_NOT_STARTED','AWAITING','override','rgba(255,\x20255,\x20255,\x200.01)','useObservable','_color','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','maxFormulaLimit','HEADER_MENU','getParam','LOCAL_CACHE_INTERVAL','cursorInfo','Shape','_docClipboardService','FormulaExecutedStateType','fillText','name','current','startColumn','WebURLService','jsx','getActiveSheet','Optional','ENTITLE_COUPON_USED_UP','getTypeOfUnitAdded$','_initEntityListener','UniverDocs','Vector2','1em','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','CollaborationEvent','reason','storage','DEFAULT_WS_SESSION_TICKET_URL','filename','show','uni.network.url-service','MUTATION','xlink:href','findNodePositionByCharIndex','push','_cursor','WECHAT_HAS_BEEN_BOUND','_removeClearOtherTimer','unshift','ENTITLE_REPORT_LIMIT_EXCEED','registerRenderModule','syncEditingCollabCursor','tag','INVALID_ARGUMENT','_session','OnLineIcon','_collaborationUIEventService','OffLineIcon','_labelPosition','FromArray','getSkeleton','requireSession','parseInt','lineTo','YUUMI_UNABLE_LOAD_URL','then','selection','_createSocketURL','APPLY_REJECT','CollaborationUIEventService','useDependency','fromEvent','jiqing.500','Disposable','_render','_toggleOnline','_config','_cursorInfo$','releaseFormulaLimitUrl','UniverNetwork','721007sCbDjr','onMouseMove','ENTITLE_CHAT_LIMIT_EXCEED','UniverProCollaboration','some','getConfig','editingUnit','dispose','1104323JLXTTE','setShapeProps','replace','handleMoveRange','_localStorageService','_entityInit$','_handleLeaveEvent','min','IUIPartsService','endColumn','CollaborationController','_univerInstanceService','substring','_instanceService','UniverProCollaborationClient','onCommandExecuted','DeleteRangeMoveUpCommandId','LOGIN_TOKEN_PROCESSING_FAILED','asObservable','_clearOtherTimers','BuiltInUIPart','enableLocalCache','SheetCollabCursorShape','beginPath','collabStatus.fetchMiss','fill','ENTITLE_COUPON_EXPIRED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getFocusedUnit','ENTITLE_USE_COUPON_NOT_1ST_TRADE','subscribeEvent','_getFormulaLimitStatus','_initCommandInterceptor','handleIRemoveRow','collaboration.offline-data-not-saved','_docStateChangeManagerService','fromEventSubject','status$','SetWorksheetActivateCommand','ONLINE','getformulaLimitStatusUrl','_collabCursorState$','handleIRemoveCol','stageInfo','collabStatus.notCollab','_lastPointer','connectInjector','handleInsertRow','application/json','colorChannel1','measureText','_docTransformSelectionsService','createElement','stringify','_notificationService','type','exhaustSavingTask','SessionStatus','ILogService','hide','_context','lineno','parse','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_anchor','getUnit','column','_updateLocalCursor','textRanges','_collabSessionService','endRow','USER_IS_ANONYMOUS','VIEW_MAIN','_updateSubUnitFromURLParams','next','saveImage','dispose$','START_CALCULATION','white','disposeUnit','operators','SetSelectionsOperation','actions','IConfigService','fillRule','UPDATE_CURSOR','REDEMPTION_USER_REDEEM_TIMES_EXCEED','InsertColCommandId','transformMutation','YUUMI_NO_CUBOID_FOR_QUESTION','DocSelectionManagerService','ENTITLE_INSUFFICIENT_QUOTA','RichTextEditingMutation','PERMISSION_DENIED','REDEMPTION_USER_NOT_ELIGIBLE','NOT_FOUND','runId','LOCAL_CACHE_INTERVAL_KEY','INVITE_CODE_ALREADY_BOUND','MemberService','MOBILE_HAS_BEEN_BOUND','onLocalMutation','history','limitInfo','getUnitStatus$','_applyCommand','_assignedColors','TEXT_RANGE_LAYER_INDEX','map','936NopxBC','SOCKET_FAILED','_scheduleClearOtherTimer','none','3120XaRKSK','defIds','selections','find','data','SetTextSelectionsOperation','_showGuardMessage','getCellMatrix','_configService','ERROR_AGAIN','startRow','removeEventListener','1201095YBxlUN','_scheduleSaving','DisposableCollection','_initResize','body','_collaborationSessionService','RECT','getOwnPropertyDescriptor','UNAUTHENTICATED','currentTheme$','combineLatest','getCurrent','transform','functionsExecutedState','YUUMI_RATE_OVER_LIMIT','_saveCache','INTERNAL_ERROR','unit','_colorIndex','getCellPositionByOffset','Workbook','newValue','_drawRectRange','href','startFormulaLimitUrl','IMessageService','ITransformService','getCollabCursors$','moveTo','_initDependencies','attrs','_cachedData','LOGIN_FAILED','addEventListener','_initEvent','with','getColor','CollaborationDataLoaderController','@univerjs/drawing','YUUMI_URL_COL_OUT_OF_RANGE','_onCursorUpdate','jsxs','_injector','symbol','toRgbString','string','_checkCalculationAvailable','engine','_dataLoaderService','getCurrentRevOfUnit','[Window\x20Error]:\x20','IURLService','isFormulaId','onPointerLeave$','flatMap','searchParams','@univerjs/ui','object','length','HTTPService','roomMembers$','INVITE_CODE_HAS_BEEN_UES','@univerjs/sheets-ui','_transformUndoRedoStack','sheetId','_colorAssignService','all','setUndoRedoMutationParamsCache','contains','USER_NOT_FOUND','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverUi','_beforeCloseService','transformStateCache','UniverRpc','resize','disableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformStateCacheService','ENTITLE_DUP_SUBSCRIPTION','_heartbeatTimer','addClipboardHook','RegularPolygon','assign','restore','removeParam','isTransformMutationFailure','_getMergeRange','transformByState','TEXT','SYNCED','_doCreateSocket','post','_entities','_uploadLog','forEach','_collabCursorController','totalFormulasToCalculate','stack','YUUMI_ALL_TABLES_IS_INVALID','exports','YUUMI_ASYNCIO_CANCELLED','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','CollaborationUIEventId','range','_themeService','sessionStatus$','saveOfflineData','_transformService','shift','_startDocCollabCursor','_logService','merge','disposeWithMe','replaceState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_monkeyPatchLogService','_drawTextRange','handleInsertRangeMoveDown','IUniverInstanceService','getOffsetConfig','collab-text-anchor-','ENSURE_SNAPSHOT_EXECUTION','_taskIds','@univerjs/core','handleDeleteRangeMoveUp','currentUsage','Error','_getSessionTicket','entityInit$','bottom','cursorInfo$','values','subUnitId','_anchorDot','ENTITLE_INVALID_COUPON_CODE','catch','color','redoState','urlChange$','INVITE_CODE_REQUIRED','UNIVER_SHEET','_clearPolling','useCallback','RxDisposable','UniverEngineFormula','/universer-api/license/formula/limit/start','CanceledError','UniverCore','add','DependentOn','USERS_LEAVE','text','getLocalCacheKey','unsubscribe','key','_transformPreviousActiveRange','collabStatus.synced','APPLY_DUPLICATED','height','invokeId','origin','throttleTime','mergeOverrideWithDependencies','_urlService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','init','_handleHeartbeatEvent','_startCalculationLimit','_localCacheService','translate(.97)','@univerjs/engine-formula','WebSocketService','doc.mutation.rich-text-editing','DATA_SOURCE_TOO_LARGE','Failed','getUnhiddenWorksheets','getSheetBySheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_EXPORT_SIZE_EXCEEDED','\x20at\x20','loadUnit','set','clearInterval','_status$','Success','_getSaveTimeout','DocSkeletonManagerService','collab-client.tooltip.reconnect','_selfUnitIDs','DocStateChangeManagerService','send','_getSheetObject','/universer-api/license/formula/limit/done','collaboration-client-ui.config','SNAPSHOT_HAS_BEEN_REMOVED','SetFormulaCalculationStartMutation','m2Prime','pipe','YUUMI_CONNECTOR_URL_NOT_FOUND','labelPosition','M0\x200H16V16H0z','getSheetId','_scene','LICENSE_DISTRO_REJECTED','debounceTime','row','pluginName','UniverSheets','isEditing','getRangePointData','_textBubble','ColorKit','getUniverSheetInstance','_cursors','Loading','getStateCache','switchMap','_scheduleHeartbeat','clearTimeout','displayName','EMAIL_VERIFY_CODE_MISMATCH','green.600','use','getValue'];_0x42c3=function(){return _0x3a0e29;};return _0x42c3();}function _0x3fad(_0x51e7db,_0x448028){_0x51e7db=_0x51e7db-0xbd;const _0x42c325=_0x42c3();let _0x3fadc9=_0x42c325[_0x51e7db];return _0x3fadc9;}(function(_0x5384d3,_0x15efaf){const _0x34be41=_0x3fad,_0x4d707d=_0x5384d3();while(!![]){try{const _0x4145e4=-parseInt(_0x34be41(0xcc))/0x1*(-parseInt(_0x34be41(0x323))/0x2)+parseInt(_0x34be41(0x39e))/0x3*(parseInt(_0x34be41(0x32f))/0x4)+parseInt(_0x34be41(0x21d))/0x5+-parseInt(_0x34be41(0xdc))/0x6*(parseInt(_0x34be41(0x198))/0x7)+parseInt(_0x34be41(0x211))/0x8*(parseInt(_0x34be41(0x20d))/0x9)+-parseInt(_0x34be41(0x342))/0xa*(parseInt(_0x34be41(0x1a0))/0xb)+-parseInt(_0x34be41(0x141))/0xc*(parseInt(_0x34be41(0x368))/0xd);if(_0x4145e4===_0x15efaf)break;else _0x4d707d['push'](_0x4d707d['shift']());}catch(_0x4131ab){_0x4d707d['push'](_0x4d707d['shift']());}}}(_0x42c3,0x28b98),function(_0x573077,_0x383f41){const _0x5de9d3=_0x3fad;typeof exports==_0x5de9d3(0x256)&&typeof module<'u'?_0x383f41(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x5de9d3(0x386)&&define['amd']?define([_0x5de9d3(0x281),'react/jsx-runtime',_0x5de9d3(0xd5),_0x5de9d3(0x299),_0x5de9d3(0x255),'rxjs',_0x5de9d3(0xc0),_0x5de9d3(0xd8),'@univerjs/rpc','@univerjs/sheets',_0x5de9d3(0x358),_0x5de9d3(0x3a2),_0x5de9d3(0xc8),_0x5de9d3(0x243),'@univerjs-pro/collaboration','@univerjs/docs',_0x5de9d3(0x2c9),_0x5de9d3(0xbf),_0x5de9d3(0x25b)],_0x383f41):(_0x573077=typeof globalThis<'u'?globalThis:_0x573077||self,_0x383f41(_0x573077[_0x5de9d3(0xe7)]={},_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x1ae)],_0x573077[_0x5de9d3(0x2b1)],_0x573077[_0x5de9d3(0x264)],_0x573077[_0x5de9d3(0x122)],_0x573077[_0x5de9d3(0x130)],_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x267)],_0x573077[_0x5de9d3(0x2ef)],_0x573077[_0x5de9d3(0xfb)],_0x573077[_0x5de9d3(0x197)],_0x573077[_0x5de9d3(0x353)],_0x573077[_0x5de9d3(0x37e)],_0x573077[_0x5de9d3(0x19b)],_0x573077[_0x5de9d3(0x165)],_0x573077[_0x5de9d3(0x2ae)],_0x573077['rxjs'][_0x5de9d3(0x1f0)],_0x573077['UniverSheetsUi']));}(this,function(_0x1e8a5b,_0x3b5db8,_0x5e7c26,_0x3a09c4,_0x592aaf,_0x41fba3,_0x2a2db6,_0x5c82c4,_0x22bf51,_0x6f871,_0x271b4b,_0x20de86,_0x9d9b14,_0x5b74e1,_0x5e9418,_0x4995f4,_0x3202a1,_0x360399,_0x577dad){'use strict';const _0x29bde7=_0x3fad;var _0xddd7bc=Object[_0x29bde7(0x340)],_0x4fef61=(_0x244bd4,_0x318e5b,_0x20be18)=>_0x318e5b in _0x244bd4?_0xddd7bc(_0x244bd4,_0x318e5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20be18}):_0x244bd4[_0x318e5b]=_0x20be18,_0x9f87fa=(_0x713eda,_0x5dd261,_0x5ce16d)=>_0x4fef61(_0x713eda,typeof _0x5dd261!=_0x29bde7(0x248)?_0x5dd261+'':_0x5dd261,_0x5ce16d);function _0xd2a620({ref:_0x12c1b3,..._0x517030}){const _0xe651fb=_0x29bde7,{icon:_0x54ff81,id:_0x5e86cc,className:_0xb1c0f7,extend:_0x23cad8,..._0x1cfae7}=_0x517030,_0x5e24fc=('univerjs-icon\x20univerjs-icon-'+_0x5e86cc+'\x20'+(_0xb1c0f7||''))['trim'](),_0xd71011=_0x5c82c4[_0xe651fb(0x3a5)]('_'+_0x45d478());return _0x18f2df(_0x54ff81,''+_0x5e86cc,{'defIds':_0x54ff81[_0xe651fb(0x212)],'idSuffix':_0xd71011[_0xe651fb(0x15c)]},{'ref':_0x12c1b3,'className':_0x5e24fc,..._0x1cfae7},_0x23cad8);}function _0x18f2df(_0x1411f6,_0x256ff3,_0x3d8548,_0x3bbabf,_0x5dc9f2){const _0x368a23=_0x29bde7;return _0x5c82c4['createElement'](_0x1411f6['tag'],{'key':_0x256ff3,..._0x4299c0(_0x1411f6,_0x3d8548,_0x5dc9f2),..._0x3bbabf},(_0x5bd913(_0x1411f6,_0x3d8548)['children']||[])[_0x368a23(0x20c)]((_0x88b2e9,_0x1eeaae)=>_0x18f2df(_0x88b2e9,_0x256ff3+'-'+_0x1411f6[_0x368a23(0x17c)]+'-'+_0x1eeaae,_0x3d8548,void 0x0,_0x5dc9f2)));}function _0x4299c0(_0x1867ae,_0x5a6774,_0x5b7533){const _0x285641=_0x29bde7,_0x70abd8={..._0x1867ae[_0x285641(0x23b)]};_0x5b7533!=null&&_0x5b7533[_0x285641(0x1d1)]&&_0x70abd8[_0x285641(0x1b9)]===_0x285641(0x1d1)&&(_0x70abd8[_0x285641(0x1b9)]=_0x5b7533['colorChannel1']),_0x1867ae['tag']==='mask'&&_0x70abd8['id']&&(_0x70abd8['id']=_0x70abd8['id']+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x223cbb,_0x4a1cdf])=>{const _0xb1ecd2=_0x285641;_0x223cbb==='mask'&&typeof _0x4a1cdf==_0xb1ecd2(0x24a)&&(_0x70abd8[_0x223cbb]=_0x4a1cdf[_0xb1ecd2(0x1a2)](/url\(#(.*)\)/,_0xb1ecd2(0x310)+_0x5a6774[_0xb1ecd2(0x140)]+')'));});const {defIds:_0x88c3c7}=_0x5a6774;return!_0x88c3c7||_0x88c3c7[_0x285641(0x257)]===0x0||(_0x1867ae['tag']===_0x285641(0x2fe)&&_0x70abd8[_0x285641(0x172)]&&(_0x70abd8['xlink:href']=_0x70abd8[_0x285641(0x172)]+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x2293e5,_0x403190])=>{const _0x15e6e8=_0x285641;typeof _0x403190==_0x15e6e8(0x24a)&&(_0x70abd8[_0x2293e5]=_0x403190[_0x15e6e8(0x1a2)](/url\(#(.*)\)/,_0x15e6e8(0x310)+_0x5a6774['idSuffix']+')'));})),_0x70abd8;}function _0x5bd913(_0x2bd4a6,_0x46c937){const _0x11eee5=_0x29bde7;var _0x415b4f;const {defIds:_0x40e702}=_0x46c937;return!_0x40e702||_0x40e702[_0x11eee5(0x257)]===0x0?_0x2bd4a6:_0x2bd4a6['tag']==='defs'&&((_0x415b4f=_0x2bd4a6['children'])!=null&&_0x415b4f[_0x11eee5(0x257)])?{..._0x2bd4a6,'children':_0x2bd4a6[_0x11eee5(0xed)][_0x11eee5(0x20c)](_0x4bdc98=>typeof _0x4bdc98[_0x11eee5(0x23b)]['id']==_0x11eee5(0x24a)&&_0x40e702&&_0x40e702[_0x11eee5(0xf3)](_0x4bdc98['attrs']['id'])?{..._0x4bdc98,'attrs':{..._0x4bdc98[_0x11eee5(0x23b)],'id':_0x4bdc98[_0x11eee5(0x23b)]['id']+_0x46c937[_0x11eee5(0x140)]}}:_0x4bdc98)}:_0x2bd4a6;}function _0x45d478(){const _0x204c51=_0x29bde7;return Math[_0x204c51(0xd7)]()['toString'](0x24)[_0x204c51(0x1ac)](0x2,0x8);}_0xd2a620[_0x29bde7(0x2fb)]='UniverIcon';const _0x2368a1={'tag':_0x29bde7(0x301),'attrs':{'xmlns':_0x29bde7(0x119),'fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x149),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':_0x29bde7(0x39f)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x29bde7(0xdf),'strokeLinejoin':_0x29bde7(0xdf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0xd2)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'fill':'white','d':_0x29bde7(0x2e8)}}]}]}],'defIds':[_0x29bde7(0xd2)]},_0x3d03f0=_0x5c82c4['forwardRef'](function(_0x52cb2b,_0x387246){const _0x4f9536=_0x29bde7;return _0x5c82c4[_0x4f9536(0x1d4)](_0xd2a620,Object[_0x4f9536(0x270)]({},_0x52cb2b,{'id':_0x4f9536(0x126),'ref':_0x387246,'icon':_0x2368a1}));});_0x3d03f0['displayName']=_0x29bde7(0x181);const _0x5338e0={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x137),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'d':_0x29bde7(0x283),'strokeLinecap':_0x29bde7(0xdf),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0x31b)},'children':[{'tag':'path','attrs':{'fill':_0x29bde7(0x1ee),'d':_0x29bde7(0x2e8),'transform':_0x29bde7(0x2c8)}}]}]}],'defIds':[_0x29bde7(0x31b)]},_0x5d6bcd=_0x5c82c4[_0x29bde7(0x341)](function(_0x40cbfc,_0x43ba27){const _0x514212=_0x29bde7;return _0x5c82c4[_0x514212(0x1d4)](_0xd2a620,Object['assign']({},_0x40cbfc,{'id':'on-line-icon','ref':_0x43ba27,'icon':_0x5338e0}));});_0x5d6bcd[_0x29bde7(0x2fb)]=_0x29bde7(0x17f);function _0x51b422(_0x358998){const _0x33ec7b=_0x29bde7;switch(_0x358998){case _0x5e7c26[_0x33ec7b(0x10f)]['OFFLINE']:return _0x33ec7b(0x312);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x37a)]:return _0x33ec7b(0x36e);case _0x5e7c26[_0x33ec7b(0x10f)]['FETCH_MISS']:return _0x33ec7b(0x1b8);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x305)]:return _0x33ec7b(0x1cc);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x14b)]:case _0x5e7c26[_0x33ec7b(0x10f)]['AWAITING_WITH_PENDING']:return _0x33ec7b(0x143);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x277)]:case _0x5e7c26['CollaborationStatus']['PENDING']:return _0x33ec7b(0x2ba);}}function _0x586a64(_0x1274d0){const _0x372534=_0x29bde7,{status$:_0x238fed}=_0x1274d0,_0x5809f9=_0x592aaf[_0x372534(0x14e)](_0x238fed,_0x5e7c26[_0x372534(0x10f)][_0x372534(0x305)]),_0x213133=_0x592aaf[_0x372534(0x18e)](_0x3a09c4[_0x372534(0x36c)]),_0x5e12ff=_0x592aaf['useDependency'](_0x5e7c26[_0x372534(0x3ae)]),_0x2a58a8=_0x5809f9!==_0x5e7c26['CollaborationStatus'][_0x372534(0xe1)],_0x3e5e3b=_0x213133['t'](_0x51b422(_0x5809f9)),_0x110329=_0x2a58a8?_0x3b5db8[_0x372534(0x15f)](_0x5d6bcd,{}):_0x3b5db8[_0x372534(0x15f)](_0x3d03f0,{}),_0x3ff55d=_0x5c82c4[_0x372534(0x2ac)](()=>{const _0x593ea9=_0x372534;_0x2a58a8||_0x5e12ff[_0x593ea9(0x381)]();},[_0x2a58a8,_0x5e12ff]);function _0x7facce(){const _0x4fb858=_0x372534;return _0x3b5db8[_0x4fb858(0x246)]('div',{'className':_0x4fb858(0x168),'onClick':_0x3ff55d,'children':[_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':_0x2a2db6[_0x4fb858(0xf7)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2a58a8,'univer-text-red-500':!_0x2a58a8}),'children':_0x110329}),_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3e5e3b})]});}return _0x2a58a8?_0x7facce():_0x3b5db8[_0x372534(0x15f)](_0x2a2db6['Tooltip'],{'title':_0x213133['t'](_0x372534(0x2db)),'children':_0x7facce()});}var _0xf3d9cc=Object['getOwnPropertyDescriptor'],_0x2212a1=(_0x15cf22,_0x1e3076,_0x3bb8be,_0x5f1cca)=>{for(var _0x458e8d=_0x5f1cca>0x1?void 0x0:_0x5f1cca?_0xf3d9cc(_0x1e3076,_0x3bb8be):_0x1e3076,_0x5bac29=_0x15cf22['length']-0x1,_0x440c44;_0x5bac29>=0x0;_0x5bac29--)(_0x440c44=_0x15cf22[_0x5bac29])&&(_0x458e8d=_0x440c44(_0x458e8d)||_0x458e8d);return _0x458e8d;},_0x125c7b=(_0x50bb02,_0x9ab62)=>(_0x2b79ea,_0x53a27d)=>_0x9ab62(_0x2b79ea,_0x53a27d,_0x50bb02);_0x1e8a5b[_0x29bde7(0x3a9)]=class extends _0x3a09c4['Disposable']{constructor(_0x1828a0,_0x1654f8,_0xf9548b,_0x5bbf48){const _0x563957=_0x29bde7;super(),_0x9f87fa(this,_0x563957(0x2d7),new _0x41fba3[(_0x563957(0x31e))](_0x5e7c26[_0x563957(0x10f)][_0x563957(0x305)])),(this['_univerInstanceService']=_0x1828a0,this[_0x563957(0x247)]=_0x1654f8,this[_0x563957(0x364)]=_0xf9548b,this[_0x563957(0x33a)]=_0x5bbf48,this['_initStatusComponent'](),this[_0x563957(0x31f)]());}['_initStatusListener'](){const _0x5415e5=_0x29bde7;this[_0x5415e5(0x28e)](this['_univerInstanceService']['focused$'][_0x5415e5(0x2e5)](_0x41fba3[_0x5415e5(0x2f8)](()=>{const _0x3238dc=_0x5415e5,_0x4ec5f4=this[_0x3238dc(0x1ab)][_0x3238dc(0x1bc)]();return _0x4ec5f4?this['_collaborationController']['getCollabEntity$'](_0x4ec5f4[_0x3238dc(0x348)]()):_0x41fba3['of'](null);}),_0x41fba3['switchMap'](_0x453dc0=>_0x453dc0?_0x453dc0[_0x5415e5(0x1c5)]:_0x41fba3['of'](_0x5e7c26[_0x5415e5(0x10f)]['NOT_COLLAB'])))['subscribe'](_0xed8cd4=>{const _0x40e6fe=_0x5415e5;this['_status$'][_0x40e6fe(0x1ea)](_0xed8cd4);}));}['_initStatusComponent'](){const _0x1797a5=_0x29bde7;this['disposeWithMe'](this[_0x1797a5(0x33a)]['registerComponent'](_0x592aaf[_0x1797a5(0x1b4)][_0x1797a5(0x153)],()=>_0x592aaf[_0x1797a5(0x1ce)](_0x4e323b({'status$':this['_status$']['asObservable']()}),this[_0x1797a5(0x247)])));}},_0x1e8a5b[_0x29bde7(0x3a9)]=_0x2212a1([_0x125c7b(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x125c7b(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x125c7b(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x1aa)])),_0x125c7b(0x3,_0x592aaf[_0x29bde7(0x1a8)])],_0x1e8a5b[_0x29bde7(0x3a9)]);function _0x4e323b(_0x484373){const {status$:_0x230ea8}=_0x484373;return function(){return _0x3b5db8['jsx'](_0x586a64,{'status$':_0x230ea8});};}const _0x5c7e96=_0x3a09c4[_0x29bde7(0x313)](_0x29bde7(0x170));var _0x50b63b=Object[_0x29bde7(0x224)],_0x293bd3=(_0x76e25b,_0x2544ac,_0x3eb896,_0x5262f7)=>{const _0x4f9bbc=_0x29bde7;for(var _0xb7184d=_0x5262f7>0x1?void 0x0:_0x5262f7?_0x50b63b(_0x2544ac,_0x3eb896):_0x2544ac,_0xda8740=_0x76e25b[_0x4f9bbc(0x257)]-0x1,_0x3e0700;_0xda8740>=0x0;_0xda8740--)(_0x3e0700=_0x76e25b[_0xda8740])&&(_0xb7184d=_0x3e0700(_0xb7184d)||_0xb7184d);return _0xb7184d;},_0x55071e=(_0x5a4a0e,_0x1f3ab5)=>(_0x425401,_0x5253be)=>_0x1f3ab5(_0x425401,_0x5253be,_0x5a4a0e);_0x1e8a5b[_0x29bde7(0x242)]=class extends _0x3a09c4['RxDisposable']{constructor(_0x534445,_0x100654,_0x448937,_0x33f605,_0xf894ab){const _0x55140a=_0x29bde7;super(),this[_0x55140a(0x2c1)]=_0x534445,this['_logService']=_0x100654,this['_commandService']=_0x448937,this[_0x55140a(0x24d)]=_0x33f605,_0xf894ab?_0xf894ab==null||_0xf894ab[_0x55140a(0x10b)]()[_0x55140a(0x189)](()=>this[_0x55140a(0x34b)]()):(this[_0x55140a(0x28c)][_0x55140a(0x3ac)](_0x55140a(0x30c),_0x55140a(0x35c)),this[_0x55140a(0x34b)]());}async[_0x29bde7(0x34b)](){const _0x2b24ca=_0x29bde7,_0x5334ab=this[_0x2b24ca(0x2c1)][_0x2b24ca(0x154)](_0x2b24ca(0x22e)),_0x4ce4aa=this[_0x2b24ca(0x2c1)]['getParam'](_0x2b24ca(0x1d7)),_0xe101cc=this['_urlService'][_0x2b24ca(0x154)](_0x2b24ca(0x369));if(!_0x5334ab||!_0x4ce4aa){this[_0x2b24ca(0x28c)][_0x2b24ca(0x3ac)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4025e4=await this[_0x2b24ca(0x24d)][_0x2b24ca(0x2d4)](_0x5334ab,Number(_0x4ce4aa),_0xe101cc);_0x4025e4&&_0x4025e4 instanceof _0x3a09c4[_0x2b24ca(0x231)]&&this['_setupSubUnitSync'](_0x4025e4);}async[_0x29bde7(0xc6)](_0x2ddd3d){const _0x5d7d0e=_0x29bde7;await this[_0x5d7d0e(0x1e9)](_0x2ddd3d),_0x2ddd3d['activeSheet$'][_0x5d7d0e(0x2e5)](_0x41fba3[_0x5d7d0e(0x306)](this['dispose$']))[_0x5d7d0e(0x359)](_0x183143=>{const _0x2dfb3e=_0x5d7d0e;_0x183143&&this[_0x2dfb3e(0x12c)](_0x183143);}),this['_urlService'][_0x5d7d0e(0x2a8)]['pipe'](_0x41fba3[_0x5d7d0e(0x306)](this[_0x5d7d0e(0x1ec)]))[_0x5d7d0e(0x359)](()=>this[_0x5d7d0e(0x1e9)](_0x2ddd3d));}[_0x29bde7(0x12c)](_0x40e31c,_0xab951b=!0x1){const _0x4c0474=_0x29bde7,_0x3f94c6=this[_0x4c0474(0x2c1)][_0x4c0474(0x154)](_0x4c0474(0x369));_0x40e31c['getSheetId']()!==_0x3f94c6&&this[_0x4c0474(0x2c1)][_0x4c0474(0x343)](_0x4c0474(0x369),_0x40e31c['getSheetId'](),_0xab951b);}async['_updateSubUnitFromURLParams'](_0x117af2){const _0xd5fe35=_0x29bde7;var _0x2a2d2c;const _0x4b7957=this[_0xd5fe35(0x2c1)][_0xd5fe35(0x154)](_0xd5fe35(0x369));if(!_0x4b7957||!_0x117af2[_0xd5fe35(0x2cf)](_0x4b7957)){const _0x246a50=_0x117af2[_0xd5fe35(0x2ce)]()[0x0],_0x5b0af4=_0x117af2['getSheetBySheetId'](_0x246a50);if(!_0x5b0af4)return;this['_updateURLWithCurrentState'](_0x5b0af4,!0x0),await this[_0xd5fe35(0x114)]['executeCommand'](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x246a50});return;}((_0x2a2d2c=_0x117af2[_0xd5fe35(0x160)]())==null?void 0x0:_0x2a2d2c[_0xd5fe35(0x2e9)]())!==_0x4b7957&&await this[_0xd5fe35(0x114)][_0xd5fe35(0x104)](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x4b7957});}},_0x1e8a5b[_0x29bde7(0x242)]=_0x293bd3([_0x55071e(0x0,_0x5c7e96),_0x55071e(0x1,_0x3a09c4[_0x29bde7(0x1da)]),_0x55071e(0x2,_0x3a09c4[_0x29bde7(0x339)]),_0x55071e(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x35b)])),_0x55071e(0x4,_0x3a09c4[_0x29bde7(0x161)](_0x22bf51[_0x29bde7(0x311)]))],_0x1e8a5b[_0x29bde7(0x242)]);var _0x59dd67=Object['getOwnPropertyDescriptor'],_0x1f6ee5=(_0x3641a5,_0x5a750d,_0x52953a,_0x216761)=>{for(var _0xc6c788=_0x216761>0x1?void 0x0:_0x216761?_0x59dd67(_0x5a750d,_0x52953a):_0x5a750d,_0xdf652d=_0x3641a5['length']-0x1,_0x4df46e;_0xdf652d>=0x0;_0xdf652d--)(_0x4df46e=_0x3641a5[_0xdf652d])&&(_0xc6c788=_0x4df46e(_0xc6c788)||_0xc6c788);return _0xc6c788;},_0x412726=(_0x2e07d1,_0x14e67f)=>(_0x414345,_0x17c263)=>_0x14e67f(_0x414345,_0x17c263,_0x2e07d1);let _0x43ac4d=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x687e24,_0x2b0bb2){const _0x1f4338=_0x29bde7;super(),this[_0x1f4338(0x158)]=_0x687e24,this[_0x1f4338(0xbd)]=_0x2b0bb2,this[_0x1f4338(0x34b)]();}[_0x29bde7(0x34b)](){const _0x3186bc=_0x29bde7,_0x5d9da8=this;this['disposeWithMe'](this['_docClipboardService'][_0x3186bc(0x26e)]({'onBeforePasteImage':async _0xaca630=>{const _0x75e8e9=_0x3186bc,_0x5d56f8=await _0x5d9da8[_0x75e8e9(0xbd)][_0x75e8e9(0x1eb)](_0xaca630);return _0x5d56f8?{'source':_0x5d56f8[_0x75e8e9(0x116)],'imageSourceType':_0x5d56f8['imageSourceType']}:null;}}));}};_0x43ac4d=_0x1f6ee5([_0x412726(0x0,_0x9d9b14['IDocClipboardService']),_0x412726(0x1,_0x5b74e1[_0x29bde7(0x3a1)])],_0x43ac4d);const _0xccb0ec=['purple.300',_0x29bde7(0x190),_0x29bde7(0x2fd),_0x29bde7(0x3b0),_0x29bde7(0x307),'yellow.400'];class _0x1acd06 extends _0x3a09c4['Disposable']{constructor(){const _0x5c58ff=_0x29bde7;super(...arguments),_0x9f87fa(this,_0x5c58ff(0x20a),new Map()),_0x9f87fa(this,_0x5c58ff(0x22f),0x0);}['assignAColorForMemberID'](_0x16c02b){const _0x312eb5=_0x29bde7;if(this[_0x312eb5(0x20a)]['has'](_0x16c02b))return this['_assignedColors'][_0x312eb5(0x31d)](_0x16c02b);const _0x573efa=_0xccb0ec[this[_0x312eb5(0x22f)]];return this[_0x312eb5(0x22f)]=(this[_0x312eb5(0x22f)]+0x1)%_0xccb0ec[_0x312eb5(0x257)],this['_assignedColors'][_0x312eb5(0x2d5)](_0x16c02b,_0x573efa),_0x573efa;}}function _0x440e57(_0x3b9d77){const _0x191ce6=_0x29bde7;let _0x339c96='';for(const _0x4018c6 of _0x3b9d77){const {startOffset:_0x492c5b,endOffset:_0x1ab40f,isActive:_0x331634,rangeType:_0x4cd3f9,segmentId:_0x3c2dfb,segmentPage:_0x134841}=_0x4018c6;_0x339c96[_0x191ce6(0x257)]&&(_0x339c96+=','),_0x339c96+=_0x492c5b+':'+_0x1ab40f+':'+(_0x331634?'1':'0')+':'+_0x4cd3f9+':'+_0x3c2dfb+':'+_0x134841;}return _0x339c96;}function _0x1f91e0(_0x47344c){const _0x3c8fde=_0x29bde7,_0x27004f=_0x47344c[_0x3c8fde(0x384)](','),_0x4cb024=[];for(const _0x1449d7 of _0x27004f){const [_0x22d4a6,_0x18bb39,_0x2d7f4a,_0x4f2012,_0x3d0541,_0x334d61]=_0x1449d7[_0x3c8fde(0x384)](':');_0x4cb024[_0x3c8fde(0x174)]({'startOffset':Number(_0x22d4a6),'endOffset':Number(_0x18bb39),'collapsed':_0x22d4a6===_0x18bb39,'isActive':_0x2d7f4a==='1','rangeType':_0x4f2012===_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x276)]?_0x3a09c4[_0x3c8fde(0x11c)]['TEXT']:_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x223)],'segmentId':typeof _0x3d0541==_0x3c8fde(0x24a)?String(_0x3d0541):'','segmentPage':Number(_0x334d61!=null?_0x334d61:-0x1)});}return _0x4cb024[_0x3c8fde(0x19c)](_0x52618c=>_0x52618c[_0x3c8fde(0x13b)])||(_0x4cb024[0x0]['isActive']=!0x0),_0x4cb024;}class _0x3d295c extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0x3da188=_0x29bde7;super(...arguments),_0x9f87fa(this,'_collabCursorState$',new _0x41fba3['BehaviorSubject'](null)),_0x9f87fa(this,_0x3da188(0x110),this[_0x3da188(0x1c9)]['asObservable']());}['syncEditingCollabCursor'](_0x4f0b0d){const _0xf34b9f=_0x29bde7,{unitID:_0x1f9429,memberID:_0x219b14,textRanges:_0x124610}=_0x4f0b0d,_0x84b018=_0x440e57(_0x124610);if(_0x84b018==='')return;const _0x4d1585={'unitID':_0x1f9429,'memberID':_0x219b14,'selection':_0x84b018};this[_0xf34b9f(0x1c9)]['next'](_0x4d1585);}}var _0x264d27=Object['getOwnPropertyDescriptor'],_0x512f44=(_0x3eb956,_0x42abc8,_0x5431ec,_0x3c6565)=>{const _0x35b302=_0x29bde7;for(var _0x32e78c=_0x3c6565>0x1?void 0x0:_0x3c6565?_0x264d27(_0x42abc8,_0x5431ec):_0x42abc8,_0x61e866=_0x3eb956[_0x35b302(0x257)]-0x1,_0x40a2bd;_0x61e866>=0x0;_0x61e866--)(_0x40a2bd=_0x3eb956[_0x61e866])&&(_0x32e78c=_0x40a2bd(_0x32e78c)||_0x32e78c);return _0x32e78c;},_0x3ed4c3=(_0x5ac82d,_0x108264)=>(_0xbb4dcc,_0x5c3baa)=>_0x108264(_0xbb4dcc,_0x5c3baa,_0x5ac82d);const _0x37e166=0x12c,_0x5f06e4=0x64;let _0x977053=class extends _0x3a09c4['RxDisposable']{constructor(_0x1762de,_0x502ffe,_0x3a9ca6,_0x2f1b08,_0x5dba4b,_0x2708c0,_0x102f29,_0x38e35a,_0x25ad68){const _0x4db517=_0x29bde7;super(),_0x9f87fa(this,'_online',!0x1),_0x9f87fa(this,_0x4db517(0x34b),!0x1),_0x9f87fa(this,_0x4db517(0x195),new _0x41fba3[(_0x4db517(0x31e))](new Map())),_0x9f87fa(this,_0x4db517(0x2a0),this[_0x4db517(0x195)][_0x4db517(0x1b2)]()),_0x9f87fa(this,'_roomMembers$',new _0x41fba3[(_0x4db517(0x31e))]([])),_0x9f87fa(this,_0x4db517(0x259),this[_0x4db517(0xf0)][_0x4db517(0x2e5)](_0x41fba3[_0x4db517(0x2ec)](_0x37e166))),_0x9f87fa(this,_0x4db517(0x1e3),_0x3a09c4[_0x4db517(0x3a6)](_0x107227=>{const _0xe8057b=_0x4db517,_0x15975a={'eventID':_0x5e9418[_0xe8057b(0x16a)][_0xe8057b(0x1f5)],'data':{'unitID':this[_0xe8057b(0xee)],'memberID':this[_0xe8057b(0x17e)][_0xe8057b(0x33c)](),'selection':_0x440e57(_0x107227)}};this[_0xe8057b(0x17e)][_0xe8057b(0x2de)](_0x15975a,this[_0xe8057b(0xee)]);},_0x5f06e4)),(this[_0x4db517(0xee)]=_0x1762de,this[_0x4db517(0x17e)]=_0x502ffe,this[_0x4db517(0x247)]=_0x3a9ca6,this[_0x4db517(0x25e)]=_0x2f1b08,this[_0x4db517(0xe5)]=_0x5dba4b,this['_syncEditingCollabCursorService']=_0x2708c0,this[_0x4db517(0x289)]=_0x102f29,this[_0x4db517(0x1ab)]=_0x38e35a,this[_0x4db517(0x114)]=_0x25ad68);}get['cursorInfo'](){const _0x25d88c=_0x29bde7;return this[_0x25d88c(0x195)][_0x25d88c(0x2ff)]();}get['roomMembers'](){const _0x1ad6f6=_0x29bde7;return this[_0x1ad6f6(0xf0)][_0x1ad6f6(0x2ff)]();}[_0x29bde7(0x19f)](){const _0x1a61ae=_0x29bde7;super[_0x1a61ae(0x19f)](),this[_0x1a61ae(0x195)][_0x1a61ae(0x1ea)](new Map()),this[_0x1a61ae(0x195)][_0x1a61ae(0x336)](),this[_0x1a61ae(0xf0)][_0x1a61ae(0x1ea)]([]),this[_0x1a61ae(0xf0)][_0x1a61ae(0x336)]();}['init'](){const _0x5c4887=_0x29bde7;this['_init']||(this[_0x5c4887(0x34b)]=!0x0,this[_0x5c4887(0x17e)][_0x5c4887(0x287)]['pipe'](_0x41fba3[_0x5c4887(0x306)](this[_0x5c4887(0x1ec)]))[_0x5c4887(0x359)](_0x301b06=>{const _0x5b2bd2=_0x5c4887;_0x301b06===_0x5e7c26['SessionStatus'][_0x5b2bd2(0x1c7)]?this[_0x5b2bd2(0x193)]():this[_0x5b2bd2(0x316)]();}),this[_0x5c4887(0x17e)][_0x5c4887(0xe3)][_0x5c4887(0x2e5)](_0x41fba3[_0x5c4887(0x306)](this['dispose$']))[_0x5c4887(0x359)](_0x57ab44=>{const _0x17b5ab=_0x5c4887,_0x371346=_0x57ab44['eventID'];_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x1f5)]&&this['_onCursorUpdate'](_0x57ab44),_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x2b4)]&&this[_0x17b5ab(0x38c)](_0x57ab44);}),this['disposeWithMe'](this[_0x5c4887(0x114)][_0x5c4887(0x1af)](_0x107d24=>{const _0x3fd03e=_0x5c4887,_0x5746d6=_0x107d24[_0x3fd03e(0x32e)];_0x5746d6!=null&&this[_0x3fd03e(0x383)]&&_0x107d24['id']===_0x4995f4[_0x3fd03e(0x216)]['id']&&_0x5746d6['unitId']===this[_0x3fd03e(0xee)]&&_0x5746d6[_0x3fd03e(0x2f0)]===!0x1&&_0x5746d6[_0x3fd03e(0x330)][_0x3fd03e(0x257)]>0x0&&this[_0x3fd03e(0x1e3)](_0x5746d6[_0x3fd03e(0x330)]);})),this[_0x5c4887(0x373)]['collabCursorState$'][_0x5c4887(0x2e5)](_0x41fba3['takeUntil'](this['dispose$']))[_0x5c4887(0x359)](_0x263ce9=>{const _0x4acfaa=_0x5c4887;if((_0x263ce9==null?void 0x0:_0x263ce9[_0x4acfaa(0xee)])!==this['unitID'])return;const _0x313061={'eventID':_0x5e9418[_0x4acfaa(0x16a)]['UPDATE_CURSOR'],'data':_0x263ce9};this[_0x4acfaa(0x245)](_0x313061);}),this['disposeWithMe'](this['_commandService'][_0x5c4887(0x1af)](_0x1d9f60=>{const _0x379040=_0x5c4887;if(_0x1d9f60['params']==null)return;const _0x9b4c3b=_0x1d9f60[_0x379040(0x32e)];if(_0x1d9f60['id']!==_0x4995f4[_0x379040(0x1fc)]['id']||_0x9b4c3b[_0x379040(0x3a8)]!==this['unitID'])return;const _0x2ba056={'id':'doc.mutation.rich-text-editing','params':_0x9b4c3b},_0x18db26=this['cursorInfo'];for(const [_0x107b4d,_0x12ef70]of _0x18db26){const _0x2be9af={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x379040(0xee)],'actions':null,'textRanges':_0x12ef70[_0x379040(0x330)]}},_0x339855=this[_0x379040(0x289)][_0x379040(0x1f8)](_0x2ba056,_0x2be9af,!0x1);if(_0x5e9418[_0x379040(0x273)](_0x339855))throw _0x339855[_0x379040(0x34f)];_0x18db26[_0x379040(0x2d5)](_0x107b4d,{..._0x12ef70,'ranges':_0x339855['m2Prime'][_0x379040(0x32e)][_0x379040(0x1e4)]});}queueMicrotask(()=>{const _0x20eb5b=_0x379040;this[_0x20eb5b(0x195)][_0x20eb5b(0x1ea)](_0x18db26);});})));}[_0x29bde7(0x245)](_0x5d50fd){const _0x5a4899=_0x29bde7;var _0x40d3fc,_0x34ea49;const {memberID:_0xad60b5,selection:_0x40d80b}=_0x5d50fd[_0x5a4899(0x215)],_0x3f9f7e=_0x1f91e0(_0x40d80b),_0x1f8190=(_0x34ea49=(_0x40d3fc=this[_0x5a4899(0xe5)][_0x5a4899(0x36a)](this[_0x5a4899(0xee)],_0xad60b5))==null?void 0x0:_0x40d3fc[_0x5a4899(0x15b)])!=null?_0x34ea49:'Unknown\x20user',_0x598d06={'color':this['_colorAssignService'][_0x5a4899(0x36b)](_0xad60b5),'name':_0x1f8190,'ranges':_0x3f9f7e},_0x5a326b=this['cursorInfo'];_0x5a326b[_0x5a4899(0x2d5)](_0xad60b5,_0x598d06),this[_0x5a4899(0x195)]['next'](_0x5a326b);}[_0x29bde7(0x38c)](_0x13402f){const _0xbe1a67=_0x29bde7,{memberID:_0xf26e6a}=_0x13402f[_0xbe1a67(0x215)],_0x581ba1=this[_0xbe1a67(0x156)];_0x581ba1['delete'](_0xf26e6a),this['_cursorInfo$']['next'](_0x581ba1);}[_0x29bde7(0x193)](){const _0x46b535=_0x29bde7;var _0x51eef7;if(this[_0x46b535(0x383)]=!0x0,((_0x51eef7=this[_0x46b535(0x1ab)][_0x46b535(0x1bc)]())==null?void 0x0:_0x51eef7[_0x46b535(0x348)]())!==this['unitID'])return;const _0x5c357a=this[_0x46b535(0x247)][_0x46b535(0x31d)](_0x4995f4[_0x46b535(0x1fa)])[_0x46b535(0x366)]();Array[_0x46b535(0x106)](_0x5c357a)&&_0x5c357a['length']>0x0&&this[_0x46b535(0x1e3)](_0x5c357a);}[_0x29bde7(0x316)](){const _0x1b62ee=_0x29bde7;this[_0x1b62ee(0x383)]=!0x1;}};_0x977053=_0x512f44([_0x3ed4c3(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x3ed4c3(0x3,_0x3a09c4['Inject'](_0x1acd06)),_0x3ed4c3(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x203)])),_0x3ed4c3(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x3ed4c3(0x6,_0x5e9418[_0x29bde7(0x237)]),_0x3ed4c3(0x7,_0x3a09c4[_0x29bde7(0x294)]),_0x3ed4c3(0x8,_0x3a09c4['ICommandService'])],_0x977053);var _0x528743=Object[_0x29bde7(0x224)],_0x20c1aa=(_0x2bd934,_0x5068e0,_0x30fed3,_0x1bcdb1)=>{for(var _0x4ff0cb=_0x1bcdb1>0x1?void 0x0:_0x1bcdb1?_0x528743(_0x5068e0,_0x30fed3):_0x5068e0,_0x4bb9b2=_0x2bd934['length']-0x1,_0x301922;_0x4bb9b2>=0x0;_0x4bb9b2--)(_0x301922=_0x2bd934[_0x4bb9b2])&&(_0x4ff0cb=_0x301922(_0x4ff0cb)||_0x4ff0cb);return _0x4ff0cb;},_0x565401=(_0x3feeb5,_0x124d92)=>(_0x2d7e58,_0x5d9aad)=>_0x124d92(_0x2d7e58,_0x5d9aad,_0x3feeb5);const _0xde364e=0x12c,_0x4deb90=0x64,_0x92e6b9=()=>{let _0x160b00=[],_0x2c3dbb=!0x1;return _0x1d3847=>{_0x160b00['push'](_0x1d3847),_0x2c3dbb||(_0x2c3dbb=!0x0,setTimeout(()=>{_0x160b00['forEach'](_0x962fba=>_0x962fba()),_0x160b00=[],_0x2c3dbb=!0x1;}));};};let _0xd3e96a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x598747,_0x55b114,_0x501e3f,_0x34f2b2,_0x594a9f,_0x2bc6c0,_0x2f924e,_0x238a58){const _0x32c75f=_0x29bde7;super(),_0x9f87fa(this,_0x32c75f(0x383),!0x1),_0x9f87fa(this,_0x32c75f(0x34b),!0x1),_0x9f87fa(this,_0x32c75f(0x195),new _0x41fba3[(_0x32c75f(0x31e))](new Map())),_0x9f87fa(this,_0x32c75f(0x2a0),this[_0x32c75f(0x195)][_0x32c75f(0x1b2)]()),_0x9f87fa(this,_0x32c75f(0xf0),new _0x41fba3['BehaviorSubject']([])),_0x9f87fa(this,_0x32c75f(0x259),this[_0x32c75f(0xf0)][_0x32c75f(0x2e5)](_0x41fba3['debounceTime'](_0xde364e))),_0x9f87fa(this,_0x32c75f(0x1e3),_0x3a09c4[_0x32c75f(0x3a6)]((_0x499441,_0xbc2603)=>{const _0x3fdd03=_0x32c75f,_0x127e66={'eventID':_0x5e9418['CollaborationEvent'][_0x3fdd03(0x1f5)],'data':{'unitID':this[_0x3fdd03(0xee)],'memberID':this[_0x3fdd03(0x17e)][_0x3fdd03(0x33c)](),'selection':_0x3202a1[_0x3fdd03(0xff)](_0x499441,_0xbc2603[_0x3fdd03(0x285)])}};this[_0x3fdd03(0x17e)]['send'](_0x127e66,this[_0x3fdd03(0xee)]);},_0x4deb90)),(this['unitID']=_0x598747,this[_0x32c75f(0x17e)]=_0x55b114,this[_0x32c75f(0x247)]=_0x501e3f,this['_colorAssignService']=_0x34f2b2,this[_0x32c75f(0xe5)]=_0x594a9f,this['_univerInstanceService']=_0x2bc6c0,this['_commandService']=_0x2f924e,this[_0x32c75f(0x345)]=_0x238a58);}get[_0x29bde7(0x156)](){const _0x545423=_0x29bde7;return this[_0x545423(0x195)][_0x545423(0x2ff)]();}get['roomMembers'](){const _0x1012b1=_0x29bde7;return this[_0x1012b1(0xf0)][_0x1012b1(0x2ff)]();}['dispose'](){const _0x22a559=_0x29bde7;super[_0x22a559(0x19f)](),this[_0x22a559(0x195)][_0x22a559(0x1ea)](new Map()),this[_0x22a559(0x195)][_0x22a559(0x336)](),this[_0x22a559(0xf0)][_0x22a559(0x1ea)]([]),this[_0x22a559(0xf0)][_0x22a559(0x336)]();}[_0x29bde7(0x2c4)](){const _0x443468=_0x29bde7;this[_0x443468(0x34b)]||(this[_0x443468(0x34b)]=!0x0,this['_session'][_0x443468(0x287)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this['dispose$']))[_0x443468(0x359)](_0x5c1287=>{const _0x36ff6c=_0x443468;_0x5c1287===_0x5e7c26[_0x36ff6c(0x1d9)]['ONLINE']?this['_toggleOnline']():this[_0x36ff6c(0x316)]();}),this[_0x443468(0x17e)][_0x443468(0xe3)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this[_0x443468(0x1ec)]))[_0x443468(0x359)](_0x289b71=>{const _0x3605a2=_0x443468,_0x31c61e=_0x289b71['eventID'];_0x31c61e===_0x5e9418[_0x3605a2(0x16a)][_0x3605a2(0x1f5)]&&this['_onCursorUpdate'](_0x289b71),_0x31c61e===_0x5e9418['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x289b71);}),this[_0x443468(0x308)](),this[_0x443468(0x28e)](this[_0x443468(0x114)][_0x443468(0x1af)](_0x26c5f7=>{const _0x26f6ac=_0x443468;if(this[_0x26f6ac(0x383)]&&_0x26c5f7['id']===_0x6f871[_0x26f6ac(0x1f1)]['id']&&_0x26c5f7[_0x26f6ac(0x32e)][_0x26f6ac(0x3a8)]===this[_0x26f6ac(0xee)]){const _0x503de8=_0x26c5f7['params'];this[_0x26f6ac(0x1e3)](_0x503de8[_0x26f6ac(0x2a2)],_0x503de8[_0x26f6ac(0x213)][0x0]);}})));}['_onCursorUpdate'](_0x2fbd71){const _0x24b77d=_0x29bde7;var _0x1f9d23,_0x269e46;const {memberID:_0x2959bf,selection:_0x3b8b4a}=_0x2fbd71['data'],{sheetName:_0x40439b,range:_0x38922d}=_0x3202a1[_0x24b77d(0x33b)](_0x3b8b4a),_0x5ca0a0={'name':(_0x269e46=(_0x1f9d23=this[_0x24b77d(0xe5)][_0x24b77d(0x36a)](this[_0x24b77d(0xee)],_0x2959bf))==null?void 0x0:_0x1f9d23[_0x24b77d(0x15b)])!=null?_0x269e46:'Unknown\x20user','range':this['_getMergeRange'](_0x40439b,_0x38922d),'sheetID':_0x40439b,'color':this[_0x24b77d(0x25e)]['assignAColorForMemberID'](_0x2959bf),'selection':_0x3b8b4a},_0x34c8ac=this['cursorInfo'];_0x34c8ac['set'](_0x2959bf,_0x5ca0a0),this['_cursorInfo$']['next'](_0x34c8ac);}['_onCursorDelete'](_0x26ebbd){const _0x551703=_0x29bde7,{memberID:_0x55bbbf}=_0x26ebbd[_0x551703(0x215)],_0x254160=this['cursorInfo'];_0x254160[_0x551703(0x35e)](_0x55bbbf),this[_0x551703(0x195)][_0x551703(0x1ea)](_0x254160);}[_0x29bde7(0x274)](_0x5a0f06,_0x3ed744){const _0x3d1199=_0x29bde7;var _0x2e76df,_0x103ffa;const _0x307cd7=(_0x103ffa=(_0x2e76df=this[_0x3d1199(0x1ab)][_0x3d1199(0x2f4)](this[_0x3d1199(0xee)]))==null?void 0x0:_0x2e76df[_0x3d1199(0x2cf)](_0x5a0f06))==null?void 0x0:_0x103ffa['getMergeData']();return(_0x307cd7==null?void 0x0:_0x307cd7[_0x3d1199(0x214)](_0x29e1c2=>_0x3a09c4['Rectangle'][_0x3d1199(0x261)](_0x29e1c2,_0x3ed744)))||_0x3ed744;}[_0x29bde7(0x308)](){const _0x5827ab=_0x29bde7,_0x4091eb=new _0x3a09c4[(_0x5827ab(0x21f))](),_0x1002be=_0x92e6b9(),_0x448ef0=()=>{const _0x4820ee=_0x5827ab;_0x4091eb[_0x4820ee(0x19f)]();const _0x539a40=(_0x4e0087,_0x5d3997,_0x12e556,_0x60dd61)=>{const _0x487617=_0x4820ee;let _0x57ec46=[];switch(_0x4e0087['id']){case _0x6f871[_0x487617(0x37b)][_0x487617(0x151)]:{_0x57ec46=_0x6f871['handleDeleteRangeMoveLeft'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1b0)]:{_0x57ec46=_0x6f871[_0x487617(0x29a)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1f7)]:{_0x57ec46=_0x6f871[_0x487617(0x363)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveDownCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x293)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveRightCommandId']:{_0x57ec46=_0x6f871['handleInsertRangeMoveRight'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRowCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1cf)](_0x4e0087,_0x60dd61);break;}case _0x6f871['EffectRefRangId'][_0x487617(0x3ab)]:{_0x57ec46=_0x6f871[_0x487617(0x1a3)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['RemoveColCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1ca)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x360)]:{_0x57ec46=_0x6f871[_0x487617(0x1c1)](_0x4e0087,_0x60dd61);break;}}const _0x325812=_0x6f871['runRefRangeMutations'](_0x57ec46,_0x60dd61),_0x3e4a17=this[_0x487617(0x156)][_0x487617(0x31d)](_0x5d3997);if(_0x3e4a17&&_0x325812){const _0x1eb09c={..._0x3e4a17,'range':_0x325812};this['cursorInfo']['set'](_0x5d3997,_0x1eb09c),_0x1002be(()=>{const _0xef7f7=_0x487617,_0x599a3f=this['_refRangeService'][_0xef7f7(0x38b)](_0x325812,_0x48982b=>(_0x599a3f[_0xef7f7(0x19f)](),_0x539a40(_0x48982b,_0x5d3997,_0x12e556,_0x325812)));_0x4091eb['add'](_0x599a3f);});}return{'redos':[],'undos':[]};};this[_0x4820ee(0x156)][_0x4820ee(0x27c)]((_0x2d30ae,_0xcf814d)=>{const _0x5ae9f0=_0x4820ee,{range:_0x1eba62,sheetID:_0x5b3bb3}=_0x2d30ae,_0x2f70ab=this[_0x5ae9f0(0x345)][_0x5ae9f0(0x38b)](_0x1eba62,_0x4d85a3=>(_0x2f70ab[_0x5ae9f0(0x19f)](),_0x539a40(_0x4d85a3,_0xcf814d,_0x5b3bb3,_0x1eba62)));_0x4091eb[_0x5ae9f0(0x2b2)](_0x2f70ab);});};this[_0x5827ab(0x28e)](_0x3a09c4['toDisposable'](this[_0x5827ab(0x195)][_0x5827ab(0x359)](()=>{_0x448ef0();})));}[_0x29bde7(0x193)](){const _0x278587=_0x29bde7;var _0x6771c8,_0x53c53d;if(this[_0x278587(0x383)]=!0x0,((_0x6771c8=this[_0x278587(0x1ab)]['getFocusedUnit']())==null?void 0x0:_0x6771c8[_0x278587(0x348)]())!==this[_0x278587(0xee)])return;const _0x5e5221=(_0x53c53d=this['_injector']['get'](_0x6f871[_0x278587(0x357)])[_0x278587(0x34d)]())==null?void 0x0:_0x53c53d[0x0],_0x3f3f33=this[_0x278587(0x1ab)][_0x278587(0xc7)](_0x3a09c4[_0x278587(0x30d)][_0x278587(0x2aa)])[_0x278587(0x160)]();_0x5e5221&&_0x3f3f33&&this[_0x278587(0x1e3)](_0x3f3f33['getSheetId'](),_0x5e5221);}['_toggleOffline'](){const _0x556bd1=_0x29bde7;this[_0x556bd1(0x383)]=!0x1;}};_0xd3e96a=_0x20c1aa([_0x565401(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x565401(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x1acd06)),_0x565401(0x4,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x203)])),_0x565401(0x5,_0x3a09c4['IUniverInstanceService']),_0x565401(0x6,_0x3a09c4[_0x29bde7(0x339)]),_0x565401(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x6f871[_0x29bde7(0xce)]))],_0xd3e96a);var _0x4e2170=Object[_0x29bde7(0x224)],_0x218f59=(_0x5f5943,_0x2238b0,_0x34fc00,_0x56a336)=>{const _0xa1ef26=_0x29bde7;for(var _0x1b79ff=_0x56a336>0x1?void 0x0:_0x56a336?_0x4e2170(_0x2238b0,_0x34fc00):_0x2238b0,_0x1c7458=_0x5f5943[_0xa1ef26(0x257)]-0x1,_0x4d74bd;_0x1c7458>=0x0;_0x1c7458--)(_0x4d74bd=_0x5f5943[_0x1c7458])&&(_0x1b79ff=_0x4d74bd(_0x1b79ff)||_0x1b79ff);return _0x1b79ff;},_0x52c822=(_0x3457ea,_0x22bdbc)=>(_0x19b6dc,_0x2d732a)=>_0x22bdbc(_0x19b6dc,_0x2d732a,_0x3457ea);let _0x2763d1=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x2c80fb,_0x38b36d,_0x368003){const _0x2b4869=_0x29bde7;super(),_0x9f87fa(this,_0x2b4869(0x27a),new Map()),_0x9f87fa(this,_0x2b4869(0x1a5),new _0x41fba3[(_0x2b4869(0x376))]()),(this[_0x2b4869(0x1ab)]=_0x2c80fb,this[_0x2b4869(0x247)]=_0x38b36d,this[_0x2b4869(0x1e5)]=_0x368003,this[_0x2b4869(0x34b)]());}[_0x29bde7(0x19f)](){const _0x317844=_0x29bde7;super[_0x317844(0x19f)](),this['_entityInit$'][_0x317844(0x336)](),this['_entities'][_0x317844(0x27c)](_0x5a9b41=>_0x5a9b41[_0x317844(0x19f)]());}[_0x29bde7(0x238)](_0x14ec27){const _0x3e9153=_0x29bde7;return this['_entities']['has'](_0x14ec27)?this[_0x3e9153(0x27a)][_0x3e9153(0x31d)](_0x14ec27)[_0x3e9153(0x2a0)]:this[_0x3e9153(0x1a5)][_0x3e9153(0x2e5)](_0x41fba3[_0x3e9153(0x30e)](_0x50e413=>_0x50e413[_0x3e9153(0xee)]===_0x14ec27),_0x41fba3[_0x3e9153(0x2f8)](_0x18c779=>_0x18c779[_0x3e9153(0x2a0)]));}['_init'](){const _0x3ec692=_0x29bde7;this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0x2aa)])[_0x3ec692(0x2e5)](_0x41fba3['takeUntil'](this[_0x3ec692(0x1ec)]))['subscribe'](async _0x18906c=>{const _0x43ad84=_0x3ec692,_0x4d8c6a=_0x18906c[_0x43ad84(0x348)](),_0x101ec4=await this['_startSheetCollabCursor'](_0x4d8c6a);this['_entityInit$'][_0x43ad84(0x1ea)](_0x101ec4),this[_0x43ad84(0x27a)]['set'](_0x4d8c6a,_0x101ec4);}),this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)])[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x30e)](_0x1941c3=>!_0x1941c3[_0x3ec692(0x348)]()[_0x3ec692(0x318)]('__')))[_0x3ec692(0x359)](async _0x522cb3=>{const _0x15189f=_0x3ec692,_0x806c88=_0x522cb3[_0x15189f(0x348)](),_0x1ad223=await this[_0x15189f(0x28b)](_0x806c88);this['_entityInit$'][_0x15189f(0x1ea)](_0x1ad223),this[_0x15189f(0x27a)][_0x15189f(0x2d5)](_0x806c88,_0x1ad223);}),_0x41fba3[_0x3ec692(0x28d)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4['UniverInstanceType'][_0x3ec692(0x2aa)]))['pipe'](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x359)](_0x3289bc=>{const _0x41ebfa=_0x3ec692,_0x1c41f7=_0x3289bc[_0x41ebfa(0x348)](),_0x1a9cd4=this[_0x41ebfa(0x27a)][_0x41ebfa(0x31d)](_0x1c41f7);_0x1a9cd4&&(_0x1a9cd4[_0x41ebfa(0x19f)](),this[_0x41ebfa(0x27a)][_0x41ebfa(0x35e)](_0x1c41f7));});}async[_0x29bde7(0x111)](_0x1dd71f){const _0xeea0ea=_0x29bde7,_0x5efc46=await this[_0xeea0ea(0x1e5)][_0xeea0ea(0x185)](_0x1dd71f),_0x1d06ce=this['_injector'][_0xeea0ea(0x3a3)](_0xd3e96a,_0x1dd71f,_0x5efc46);return _0x1d06ce[_0xeea0ea(0x2c4)](),_0x1d06ce;}async[_0x29bde7(0x28b)](_0x10d354){const _0x502a1c=_0x29bde7,_0x522e3b=await this[_0x502a1c(0x1e5)][_0x502a1c(0x185)](_0x10d354),_0x3a82ab=this[_0x502a1c(0x247)][_0x502a1c(0x3a3)](_0x977053,_0x10d354,_0x522e3b);return _0x3a82ab['init'](),_0x3a82ab;}};_0x2763d1=_0x218f59([_0x52c822(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x52c822(0x1,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x52c822(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x3ae)]))],_0x2763d1);const _0x3ad07c=0x14,_0x4afbb1=0xc8,_0x221ad0=0x4,_0x5ef308=0x5;function _0x314ac8(_0x136a0f,_0x144f2b){const _0x39dbc2=_0x29bde7;let {radius:_0x47e621,width:_0x4609c4,height:_0x15cd9c}=_0x144f2b;_0x47e621=_0x47e621!=null?_0x47e621:0x0,_0x4609c4=_0x4609c4!=null?_0x4609c4:0x1e,_0x15cd9c=_0x15cd9c!=null?_0x15cd9c:0x1e;let _0x4039f2=0x0,_0x26d23c=0x0,_0x14382e=0x0;_0x4039f2=_0x26d23c=_0x14382e=Math[_0x39dbc2(0x1a7)](_0x47e621,_0x4609c4/0x2,_0x15cd9c/0x2),_0x136a0f[_0x39dbc2(0x1b7)](),_0x136a0f[_0x39dbc2(0x239)](_0x4039f2,0x0),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4-_0x26d23c,0x0),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x26d23c,_0x26d23c,_0x26d23c,Math['PI']*0x3/0x2,0x0,!0x1),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4,_0x15cd9c-_0x14382e),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x14382e,_0x15cd9c-_0x14382e,_0x14382e,0x0,Math['PI']/0x2,!0x1),_0x136a0f['lineTo'](0x0,_0x15cd9c),_0x136a0f['lineTo'](0x0,_0x4039f2),_0x136a0f[_0x39dbc2(0xeb)](_0x4039f2,_0x4039f2,_0x4039f2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x136a0f[_0x39dbc2(0x325)](),_0x144f2b[_0x39dbc2(0x1b9)]&&(_0x136a0f[_0x39dbc2(0x317)](),_0x136a0f['fillStyle']=_0x144f2b[_0x39dbc2(0x1b9)],_0x144f2b[_0x39dbc2(0x1f4)]===_0x39dbc2(0x351)?_0x136a0f[_0x39dbc2(0x1b9)](_0x39dbc2(0x351)):_0x136a0f[_0x39dbc2(0x1b9)](),_0x136a0f[_0x39dbc2(0x271)]());}class _0xb13f21 extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x43ed6c,_0xea6e14){const _0xddeab2=_0x29bde7;super(_0x43ed6c,_0xea6e14),_0x9f87fa(this,_0xddeab2(0x2a6)),_0x9f87fa(this,_0xddeab2(0x2b5)),(this[_0xddeab2(0x2a6)]=_0xea6e14==null?void 0x0:_0xea6e14['color'],this[_0xddeab2(0x2b5)]=_0xea6e14==null?void 0x0:_0xea6e14[_0xddeab2(0x2b5)]);}static[_0x29bde7(0x399)](_0x55a5f0,_0x5a2b77){const _0x115991=_0x29bde7,{text:_0x4735b,color:_0x51d243}=_0x5a2b77;_0x55a5f0[_0x115991(0x317)](),_0x55a5f0[_0x115991(0x356)]=_0x115991(0x397);const _0x4e0753=_0x55a5f0[_0x115991(0x1d2)](_0x4735b)[_0x115991(0x393)],_0x125730=Math[_0x115991(0x1a7)](_0x4e0753+0x2*_0x221ad0,_0x4afbb1);_0x314ac8(_0x55a5f0,{'height':_0x3ad07c,'radius':0x4,'width':_0x125730,'fill':_0x51d243}),_0x55a5f0['fillStyle']='#FFF';const _0x32b9a1=_0x221ad0,_0x2e37c7=_0x3ad07c-_0x5ef308,_0xfc4fc5=_0x4afbb1-0x2*_0x221ad0;if(_0x4e0753>_0xfc4fc5){let _0x195510='',_0x58803e=0x0;for(const _0xaf6479 of _0x4735b){const _0x5404cf=_0x55a5f0[_0x115991(0x1d2)](_0xaf6479)['width'];if(_0x58803e+_0x5404cf<=_0xfc4fc5-_0x55a5f0['measureText'](_0x115991(0xe0))[_0x115991(0x393)])_0x195510+=_0xaf6479,_0x58803e+=_0x5404cf;else{_0x195510+='...';break;}}_0x55a5f0['fillText'](_0x195510,_0x32b9a1,_0x2e37c7);}else _0x55a5f0[_0x115991(0x15a)](_0x4735b,_0x32b9a1,_0x2e37c7);_0x55a5f0['restore']();}[_0x29bde7(0x121)](_0x2e2c96){const _0xdc63b7=_0x29bde7;_0xb13f21[_0xdc63b7(0x399)](_0x2e2c96,this);}}const _0x576984=_0x29bde7(0x296),_0x1d1b28=_0x29bde7(0xc1),_0x10b1db=_0x29bde7(0x13f),_0x4b09c8=0x6,_0x4564fc=1.5,_0x59a3b3=0x4,_0x3debe4=1.5,_0xfd59bb=_0x29bde7(0x14d);class _0x544971{constructor(_0x5c210e,_0x1be163,_0x472a3e,_0x3006cd){const _0x3df967=_0x29bde7;_0x9f87fa(this,'_shapes',[]),_0x9f87fa(this,_0x3df967(0x1e0),null),_0x9f87fa(this,'_textBubble',null),_0x9f87fa(this,_0x3df967(0x2a3),null),_0x9f87fa(this,_0x3df967(0x32b),null),_0x9f87fa(this,_0x3df967(0x139),null),(this['_cursor']=_0x5c210e,this['_scene']=_0x1be163,this['_docSkeleton']=_0x472a3e,this['_document']=_0x3006cd,this[_0x3df967(0x192)]());}set[_0x29bde7(0xfc)](_0x19af79){const _0x2da6b9=_0x29bde7;_0x19af79?(this['_anchorDot']&&this['_anchorDot'][_0x2da6b9(0x1db)](),this[_0x2da6b9(0x2f2)]&&this[_0x2da6b9(0x2f2)][_0x2da6b9(0x16f)]()):(this['_anchorDot']&&this[_0x2da6b9(0x2a3)][_0x2da6b9(0x16f)](),this[_0x2da6b9(0x2f2)]&&this['_textBubble']['hide']());}[_0x29bde7(0x19f)](){const _0x46ce7a=_0x29bde7;for(const _0x26d093 of this[_0x46ce7a(0xca)])_0x26d093[_0x46ce7a(0x19f)]();this[_0x46ce7a(0x2f2)]&&this[_0x46ce7a(0x2f2)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x2a3)]&&this[_0x46ce7a(0x2a3)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x1e0)]&&this[_0x46ce7a(0x1e0)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x139)]&&this[_0x46ce7a(0x139)]();}['_render'](){const _0x1fdfe9=_0x29bde7;var _0x2afc87;const {_docSkeleton:_0xc41b26,_document:_0x3ae2e3}=this,{color:_0x414d6e,name:_0x478b36,ranges:_0x511a91}=this[_0x1fdfe9(0x175)],_0x16a598=_0x3ae2e3[_0x1fdfe9(0x295)](),{docsLeft:_0x251af4,docsTop:_0x2692bd}=_0x16a598,_0x46a766=new _0x9d9b14[(_0x1fdfe9(0x32d))](_0x16a598,_0xc41b26);for(const {startOffset:_0x28f588,endOffset:_0x517be2,rangeType:_0x5ce289,segmentId:_0x44024d,segmentPage:_0x37d0f6,collapsed:_0x1789c2,isActive:_0x20dcd0}of _0x511a91){const _0x3240be=_0xc41b26['findNodePositionByCharIndex'](_0x28f588,!0x0,_0x44024d,_0x37d0f6);let _0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2,!0x0,_0x44024d,_0x37d0f6);if(_0x102b79==null&&(_0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2-0x1,!0x1,_0x44024d,_0x37d0f6)),_0x20dcd0){const {contentBoxPointGroup:_0x5f4b4b}=_0x46a766[_0x1fdfe9(0x2f1)](_0x102b79,_0x102b79);if(_0x5f4b4b[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x389)](_0x414d6e,_0x5f4b4b,_0x251af4,_0x2692bd,_0x478b36),this['_eventUnsubscribe']=this[_0x1fdfe9(0x33e)]();}if(_0x3240be&&_0x102b79){if(_0x5ce289===_0x3a09c4[_0x1fdfe9(0x11c)][_0x1fdfe9(0x223)]){const _0x2cec86=new _0x9d9b14[(_0x1fdfe9(0xbe))](_0x16a598,_0xc41b26),{pointGroup:_0x47a5f6}=(_0x2afc87=_0x2cec86['getRangePointData'](_0x3240be,_0x102b79))!=null?_0x2afc87:{};if(_0x47a5f6==null||_0x47a5f6[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x233)](_0x414d6e,_0x47a5f6,_0x251af4,_0x2692bd);}else{if(!_0x1789c2){const {borderBoxPointGroup:_0x1a6290}=_0x46a766[_0x1fdfe9(0x2f1)](_0x3240be,_0x102b79);if(_0x1a6290[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x292)](_0x414d6e,_0x1a6290,_0x251af4,_0x2692bd);}}}}}[_0x29bde7(0x389)](_0x232110,_0x3557cc,_0xc439cb,_0x19f45e,_0x5cd9df){const _0x5d295b=_0x29bde7,_0x4f08b1=this[_0x5d295b(0x128)](_0x3557cc),{left:_0x357a0f,top:_0x254e85,height:_0x3ea74f}=_0x4f08b1,_0x256591=this['_getScale'](),_0x37392d=_0x3debe4/_0x256591,_0x5d0e17=new _0x271b4b[(_0x5d295b(0x326))](_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e,'height':_0x3ea74f,'width':_0x4564fc,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':_0x37392d,'stroke':_0xfd59bb,'evented':!0x0});this['_anchor']=_0x5d0e17,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x5d0e17,_0x9d9b14[_0x5d295b(0x20b)]);const _0x1271e5=new _0x271b4b['Rect'](_0x576984+_0x3a09c4['generateRandomId'](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x59a3b3/0x2,'height':_0x59a3b3,'width':_0x59a3b3,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':0x0,'stroke':_0x232110||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x5d295b(0xd1)],0x0),'evented':!0x1});this[_0x5d295b(0x2a3)]=_0x1271e5,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x1271e5,_0x9d9b14[_0x5d295b(0x20b)]);const _0xd876ef=new _0xb13f21(_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x3ad07c,'text':_0x5cd9df,'color':_0x232110});this[_0x5d295b(0x2f2)]=_0xd876ef,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0xd876ef,_0x9d9b14[_0x5d295b(0x20b)]),this[_0x5d295b(0xfc)]=!0x1;}['_handleHover'](){const _0x507d67=_0x29bde7,_0x1efc7d=this[_0x507d67(0x1e0)][_0x507d67(0x320)]['subscribeEvent'](()=>{const _0x269f55=_0x507d67;this[_0x269f55(0xfc)]=!0x0;}),_0x5f25f2=this[_0x507d67(0x1e0)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x228edb=_0x507d67;this[_0x228edb(0x32b)]&&clearTimeout(this[_0x228edb(0x32b)]),this[_0x228edb(0x32b)]=setTimeout(()=>{const _0x4ddab5=_0x228edb;this[_0x4ddab5(0xfc)]=!0x1;},0x7d0);});return()=>{const _0x2da018=_0x507d67;_0x1efc7d[_0x2da018(0x2b7)](),_0x5f25f2[_0x2da018(0x2b7)]();};}[_0x29bde7(0x292)](_0xcbeaf9,_0x24409b,_0x1a0689,_0x2a0946){const _0x51d7cf=_0x29bde7,_0x12f80f=new _0x3a09c4[(_0x51d7cf(0x2f3))](_0xcbeaf9)[_0x51d7cf(0x138)](0.2)['toRgbString'](),_0x305ab6=new _0x271b4b[(_0x51d7cf(0x26f))](_0x1d1b28+_0x3a09c4[_0x51d7cf(0x382)](_0x4b09c8),{'pointsGroup':_0x24409b,'fill':_0x12f80f||_0x271b4b[_0x51d7cf(0x241)](_0x3a09c4[_0x51d7cf(0x38a)][_0x51d7cf(0xd1)],0.2),'left':_0x1a0689,'top':_0x2a0946,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x305ab6),this[_0x51d7cf(0x2ea)][_0x51d7cf(0x396)](_0x305ab6,_0x9d9b14[_0x51d7cf(0x20b)]);}[_0x29bde7(0x233)](_0x1cf7c8,_0x41acac,_0x4e40e7,_0x2f30a1){const _0x4a848b=_0x29bde7,_0x3b9fcb=new _0x3a09c4['ColorKit'](_0x1cf7c8)['setAlpha'](0.2)[_0x4a848b(0x249)](),_0x471b14=new _0x271b4b[(_0x4a848b(0x26f))](_0x10b1db+_0x3a09c4[_0x4a848b(0x382)](_0x4b09c8),{'pointsGroup':_0x41acac,'fill':_0x3b9fcb||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x4a848b(0xd1)],0.2),'left':_0x4e40e7,'top':_0x2f30a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a848b(0xca)][_0x4a848b(0x174)](_0x471b14),this[_0x4a848b(0x2ea)][_0x4a848b(0x396)](_0x471b14,_0x9d9b14[_0x4a848b(0x20b)]);}['_getAnchorBounding'](_0x5b7ec){const _0x1559c3=_0x5b7ec[0x0],_0x562452=_0x1559c3[0x0],_0xabfa07=_0x1559c3[0x2],{x:_0x4bd49e,y:_0x481d14}=_0x562452,{x:_0x41756d,y:_0x27fe0a}=_0xabfa07;return{'left':_0x4bd49e,'top':_0x481d14,'width':_0x41756d-_0x4bd49e,'height':_0x27fe0a-_0x481d14};}['_getScale'](){const _0x37b4b0=_0x29bde7,{scaleX:_0x3a70f3,scaleY:_0x55992f}=this[_0x37b4b0(0x2ea)]['getAncestorScale']();return Math['max'](_0x3a70f3,_0x55992f);}}var _0x2e0a2e=Object[_0x29bde7(0x224)],_0xf368bb=(_0x4cbfcb,_0x3f9482,_0x2dadcf,_0x4a076c)=>{for(var _0x51c50e=_0x4a076c>0x1?void 0x0:_0x4a076c?_0x2e0a2e(_0x3f9482,_0x2dadcf):_0x3f9482,_0x44a4d0=_0x4cbfcb['length']-0x1,_0xab0f3b;_0x44a4d0>=0x0;_0x44a4d0--)(_0xab0f3b=_0x4cbfcb[_0x44a4d0])&&(_0x51c50e=_0xab0f3b(_0x51c50e)||_0x51c50e);return _0x51c50e;},_0x9203be=(_0x2c5e4b,_0x5811dc)=>(_0x21152a,_0x24d69e)=>_0x5811dc(_0x21152a,_0x24d69e,_0x2c5e4b);let _0x4ec09a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x34636e,_0x32d985,_0x300d63,_0x2cd2f4,_0x5a4aad){const _0x12f6ce=_0x29bde7;super(),_0x9f87fa(this,_0x12f6ce(0x124),[]),_0x9f87fa(this,_0x12f6ce(0x2f5),[]),(this[_0x12f6ce(0x1dc)]=_0x34636e,this['_docSkeletonManagerService']=_0x32d985,this[_0x12f6ce(0x27d)]=_0x300d63,this[_0x12f6ce(0x114)]=_0x2cd2f4,this[_0x12f6ce(0x286)]=_0x5a4aad,this[_0x12f6ce(0x34b)]());}['_init'](){const _0x1c0317=_0x29bde7,_0x584cf9=this[_0x1c0317(0x1dc)][_0x1c0317(0x3a8)],_0x816b14=this[_0x1c0317(0x332)];this[_0x1c0317(0x28e)](_0x41fba3[_0x1c0317(0x227)]([this[_0x1c0317(0x27d)][_0x1c0317(0x238)](_0x584cf9),this['_themeService'][_0x1c0317(0x226)]])[_0x1c0317(0x2e5)](_0x360399[_0x1c0317(0x20c)](([_0xa4c5ef,_0x1da424])=>({'skeleton':_0x816b14['getSkeleton'](),'cursors':[..._0xa4c5ef['values']()][_0x1c0317(0x253)](_0x78f409=>({..._0x78f409,'color':this['_themeService'][_0x1c0317(0xda)](_0x78f409[_0x1c0317(0x2a6)])}))})))[_0x1c0317(0x359)](_0x4c91d2=>{const _0x11ea0c=_0x1c0317;if(this[_0x11ea0c(0x30b)](),_0x4c91d2){const {skeleton:_0x586069,cursors:_0x52e314}=_0x4c91d2;this[_0x11ea0c(0xcf)](_0x586069,_0x52e314);}})),this[_0x1c0317(0x220)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x231b48,_0x4a75a4){const _0x1e160f=_0x29bde7,{scene:_0x1dba02,mainComponent:_0x51135b}=this['_context'],_0x41da39=_0x4a75a4[_0x1e160f(0x20c)](_0x173184=>new _0x544971(_0x173184,_0x1dba02,_0x231b48,_0x51135b));this['_cursorShapes']=_0x41da39,this[_0x1e160f(0x2f5)]=_0x4a75a4;}['_refreshCollabCursors'](){const _0x1a321b=_0x29bde7;this[_0x1a321b(0x30b)]();const {scene:_0x3c2f6d,mainComponent:_0x4fc845}=this[_0x1a321b(0x1dc)],_0x1d116e=this['_docSkeletonManagerService'][_0x1a321b(0x184)](),_0x461525=this[_0x1a321b(0x2f5)]['map'](_0x636d24=>new _0x544971(_0x636d24,_0x3c2f6d,_0x1d116e,_0x4fc845));this[_0x1a321b(0x124)]=_0x461525;}['_removeCollabCursors'](){const _0x22bc5f=_0x29bde7;this[_0x22bc5f(0x124)]['forEach'](_0x5b7b69=>_0x5b7b69[_0x22bc5f(0x19f)]()),this[_0x22bc5f(0x124)]=[];}['_initCommandExecutedListener'](){const _0x322076=_0x29bde7,_0x2b8933=[_0x9d9b14[_0x322076(0x12d)]['id']];this[_0x322076(0x28e)](this[_0x322076(0x114)][_0x322076(0x1af)](_0x271a3c=>{const _0x4f710d=_0x322076;_0x2b8933[_0x4f710d(0xf3)](_0x271a3c['id'])&&_0x271a3c[_0x4f710d(0x32e)][_0x4f710d(0x3a8)]===this[_0x4f710d(0x1dc)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x29bde7(0x220)](){const _0x2f66a7=_0x29bde7;this['disposeWithMe'](_0x3a09c4[_0x2f66a7(0x1c4)](this['_context'][_0x2f66a7(0x24c)][_0x2f66a7(0xe2)])[_0x2f66a7(0x2e5)](_0x360399[_0x2f66a7(0x30e)](_0x36dd83=>_0x36dd83[_0x2f66a7(0x1d7)]===_0x271b4b[_0x2f66a7(0x1bb)][_0x2f66a7(0x268)]),_0x360399[_0x2f66a7(0x2bf)](0x10))[_0x2f66a7(0x359)](()=>{const _0x4d6f49=_0x2f66a7;this[_0x4d6f49(0xc4)]();}));}};_0x4ec09a=_0xf368bb([_0x9203be(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x4995f4[_0x29bde7(0x2da)])),_0x9203be(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x9203be(0x3,_0x3a09c4['ICommandService']),_0x9203be(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x4ec09a);const _0x5b7afe=0x1,_0x407b6e=1.5;class _0x526d2d extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x8c7dcf,_0x110cc5){const _0x2f85da=_0x29bde7;super(_0x8c7dcf,_0x110cc5),_0x9f87fa(this,_0x2f85da(0x14f)),_0x9f87fa(this,'_hovered',!0x1),_0x9f87fa(this,_0x2f85da(0x31a)),_0x9f87fa(this,_0x2f85da(0x372),''),_0x9f87fa(this,_0x2f85da(0x182),_0x2f85da(0xea)),_0x9f87fa(this,_0x2f85da(0x12a)),(_0x110cc5&&this[_0x2f85da(0x1a1)](_0x110cc5),this['onPointerEnter$'][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x0})),this[_0x2f85da(0x252)][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x1})));}[_0x29bde7(0x1a1)](_0x1be9bc){const _0x27232e=_0x29bde7;var _0x17aa54,_0x27dfe3,_0x4112a1,_0x338c46,_0x97b0fc,_0x251153;this[_0x27232e(0x14f)]=(_0x17aa54=_0x1be9bc[_0x27232e(0x2a6)])!=null?_0x17aa54:this[_0x27232e(0x14f)],this[_0x27232e(0x361)]=(_0x27dfe3=_0x1be9bc['hovered'])!=null?_0x27dfe3:this[_0x27232e(0x361)],this[_0x27232e(0x31a)]=(_0x4112a1=_0x1be9bc[_0x27232e(0x285)])!=null?_0x4112a1:this['_range'],this[_0x27232e(0x372)]=(_0x338c46=_0x1be9bc['name'])!=null?_0x338c46:this[_0x27232e(0x372)],this['_labelPosition']=(_0x97b0fc=_0x1be9bc[_0x27232e(0x2e7)])!=null?_0x97b0fc:this[_0x27232e(0x182)],this['_backgroundColor']=(_0x251153=_0x1be9bc['backgroundColor'])!=null?_0x251153:this[_0x27232e(0x12a)],this[_0x27232e(0x275)]({'width':_0x1be9bc[_0x27232e(0x393)],'height':_0x1be9bc['height']});}[_0x29bde7(0x199)](_0x30a776){const _0x3fa98b=_0x29bde7,{row:_0x1143c6,column:_0xaae917}=_0x30a776;if(_0x1143c6>=this[_0x3fa98b(0x31a)]['startRow']&&_0x1143c6<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1e6)]&&_0xaae917>=this[_0x3fa98b(0x31a)][_0x3fa98b(0x15d)]&&_0xaae917<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1a9)]){this[_0x3fa98b(0x1a1)]({'hovered':!0x0});return;}this[_0x3fa98b(0x1a1)]({'hovered':!0x1});}['triggerDblclick'](_0x90ab2){return!0x1;}[_0x29bde7(0x121)](_0x4dc10d){const _0x5e5c3a=_0x29bde7;_0x271b4b[_0x5e5c3a(0x326)]['drawWith'](_0x4dc10d,{'width':this['width'],'height':this[_0x5e5c3a(0x2bc)],'strokeWidth':_0x407b6e,'stroke':this[_0x5e5c3a(0x14f)],'evented':!0x1,'fill':this[_0x5e5c3a(0x12a)]}),this[_0x5e5c3a(0x361)]&&(_0x4dc10d['save'](),_0x4dc10d[_0x5e5c3a(0x229)](0x1,0x0,0x0,0x1,this[_0x5e5c3a(0x393)],this['_labelPosition']===_0x5e5c3a(0x29f)?0x0:-_0x3ad07c),_0xb13f21[_0x5e5c3a(0x399)](_0x4dc10d,{'text':this[_0x5e5c3a(0x372)],'color':this['_color']}),_0x4dc10d[_0x5e5c3a(0x271)]());}}var _0x16a55b=Object[_0x29bde7(0x224)],_0x1c0456=(_0x17dfd5,_0x3b593b,_0x2c916f,_0x4ef92d)=>{for(var _0x17bd27=_0x4ef92d>0x1?void 0x0:_0x4ef92d?_0x16a55b(_0x3b593b,_0x2c916f):_0x3b593b,_0x5508ef=_0x17dfd5['length']-0x1,_0x470be4;_0x5508ef>=0x0;_0x5508ef--)(_0x470be4=_0x17dfd5[_0x5508ef])&&(_0x17bd27=_0x470be4(_0x17bd27)||_0x17bd27);return _0x17bd27;},_0x423606=(_0x59ab5a,_0x15455b)=>(_0x3e2590,_0x24b57e)=>_0x15455b(_0x3e2590,_0x24b57e,_0x59ab5a);const _0x20bda2=0x1389;let _0x27259b=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x265b11,_0x4c59e3,_0x5f28bb,_0x1896b9){const _0x5db528=_0x29bde7;super(),_0x9f87fa(this,'_cursors',new Set()),_0x9f87fa(this,_0x5db528(0x1cd),null),(this['_context']=_0x265b11,this[_0x5db528(0x101)]=_0x4c59e3,this['_collabCursorController']=_0x5f28bb,this['_themeService']=_0x1896b9,this[_0x5db528(0x34b)]());}[_0x29bde7(0x34b)](){const _0x296cb6=_0x29bde7;this[_0x296cb6(0x101)][_0x296cb6(0x103)][_0x296cb6(0x2e5)](_0x360399['takeUntil'](this['dispose$']),_0x360399[_0x296cb6(0x2f8)](_0x394cef=>{const _0x28daea=_0x296cb6;if(_0x394cef){const _0x540861=_0x394cef[_0x28daea(0x25d)];return _0x41fba3[_0x28daea(0x227)](this[_0x28daea(0x27d)][_0x28daea(0x238)](this[_0x28daea(0x1dc)][_0x28daea(0x3a8)]),this['_themeService'][_0x28daea(0x226)])[_0x28daea(0x2e5)](_0x360399[_0x28daea(0x20c)](([_0x391d4a,_0x556693])=>{const _0x3243b1=new Map();return _0x391d4a['forEach']((_0x4f3ce3,_0x23313e)=>{const _0x48fec0=_0x3fad;if(_0x4f3ce3['sheetID']===_0x540861){const _0x3c1275={..._0x4f3ce3};_0x3c1275[_0x48fec0(0x2a6)]=this['_themeService']['getColorFromTheme'](_0x4f3ce3[_0x48fec0(0x2a6)]),_0x3243b1[_0x48fec0(0x2d5)](_0x23313e,_0x3c1275);}}),{'skeleton':_0x394cef,'cursors':_0x3243b1};}));}return _0x41fba3['of']({'skeleton':null,'cursors':new Map()});}))[_0x296cb6(0x359)](({skeleton:_0x26566c,cursors:_0x43db7a})=>{const _0x4e99b0=_0x296cb6;this[_0x4e99b0(0x30b)](),_0x26566c&&this['_updateCollabCursors'](_0x26566c,_0x43db7a);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x5b1065=>{const _0x2ec879=_0x296cb6;if(_0x5b1065==null)return;const {skeleton:_0x461401}=_0x5b1065,{scene:_0x361528}=this[_0x2ec879(0x1dc)];_0x361528[_0x2ec879(0x327)]['subscribeEvent'](_0x3a09c4[_0x2ec879(0x3a6)](_0x2d783e=>{const _0x227887=_0x2ec879;var _0xa9cea9,_0x290d73;const {offsetX:_0x5b6c5a,offsetY:_0x31c953}=_0x2d783e,{x:_0x4fb5f2,y:_0x35f800}=_0x361528[_0x227887(0x337)](_0x271b4b[_0x227887(0x166)]['FromArray']([_0x5b6c5a,_0x31c953])),{scaleX:_0x424bd0,scaleY:_0x490992}=_0x361528[_0x227887(0x108)](),_0x2ee426=_0x361528[_0x227887(0x39a)](_0x271b4b['SHEET_VIEWPORT_KEY'][_0x227887(0x1e8)]),_0x5119cb=_0x361528['getVpScrollXYInfoByPosToVp'](_0x271b4b[_0x227887(0x166)][_0x227887(0x183)]([_0x4fb5f2,_0x35f800]),_0x2ee426),_0x421b25=_0x461401[_0x227887(0x230)](_0x5b6c5a,_0x31c953,_0x424bd0,_0x490992,_0x5119cb);((_0xa9cea9=this[_0x227887(0x1cd)])==null?void 0x0:_0xa9cea9[_0x227887(0x1e2)])===_0x421b25[_0x227887(0x1e2)]&&((_0x290d73=this['_lastPointer'])==null?void 0x0:_0x290d73[_0x227887(0x2ed)])===_0x421b25[_0x227887(0x2ed)]||this[_0x227887(0x2f5)][_0x227887(0x27c)](_0x1e6df1=>{_0x1e6df1['onMouseMove'](_0x421b25);});},0x64));});}[_0x29bde7(0xcf)](_0x52c013,_0x539cec){const _0x29d0e3=_0x29bde7;var _0x4295c4;const _0x5aa635=(_0x4295c4=this[_0x29d0e3(0x101)][_0x29d0e3(0x228)]())==null?void 0x0:_0x4295c4[_0x29d0e3(0x39d)];if(!_0x5aa635)return;const _0x512e8f=this[_0x29d0e3(0x2df)]();if(!_0x512e8f)return;this['_cursors'][_0x29d0e3(0x27c)](_0x1d48ae=>{const _0x3a3e24=_0x29d0e3;_0x1d48ae[_0x3a3e24(0x12b)]();});const {scene:_0x4fe874}=_0x512e8f,_0x1ce790=_0x149313(Array['from'](_0x539cec[_0x29d0e3(0x2a1)]()))[_0x29d0e3(0x20c)](_0x260674=>{const _0x4f126c=_0x29d0e3,{color:_0x3c36f4,range:_0x41cd54,name:_0x116191,selection:_0x26d2e8,sheetID:_0x410c76}=_0x260674,{startColumn:_0x79dc81,startRow:_0x2cc771,endColumn:_0x3bd07a,endRow:_0x633d6a}=_0x41cd54,_0x5da82a=_0x577dad['getCoordByCell'](_0x2cc771,_0x79dc81,_0x4fe874,_0x5aa635),_0x2cefcb=_0x577dad[_0x4f126c(0x335)](_0x633d6a,_0x3bd07a,_0x4fe874,_0x5aa635),{columnHeaderHeightAndMarginTop:_0x1ab6c6}=_0x5aa635,{startX:_0x957c82,startY:_0x4a43b6}=_0x5da82a,{endX:_0x2ee712,endY:_0x4e28a4}=_0x2cefcb,_0x1f7642=_0x2ee712-_0x957c82,_0x23698d=_0x4e28a4-_0x4a43b6,_0x3d770b={'labelPosition':_0x4a43b6-_0x1ab6c6>=_0x3ad07c?_0x4f126c(0xea):_0x4f126c(0x29f),'sheetID':_0x410c76,'range':_0x41cd54,'color':_0x3c36f4,'name':_0x116191,'selection':_0x26d2e8,'left':_0x957c82,'top':_0x4a43b6,'width':_0x1f7642,'height':_0x23698d,'evented':!0x1,'zIndex':_0x20bda2};return new _0x526d2d(_0x116191,_0x3d770b);});_0x4fe874[_0x29d0e3(0x38f)](_0x1ce790,_0x5b7afe),this[_0x29d0e3(0x2f5)]=new Set(_0x1ce790);}[_0x29bde7(0x30b)](){const _0x25825d=_0x29bde7;var _0x47796d;(_0x47796d=this['_cursors'])==null||_0x47796d[_0x25825d(0x27c)](_0x4c3464=>_0x4c3464[_0x25825d(0x19f)]());}['_getSheetObject'](){const _0x3513ab=_0x29bde7;return _0x577dad[_0x3513ab(0x120)](this[_0x3513ab(0x1dc)][_0x3513ab(0x22e)],this['_context']);}};_0x27259b=_0x1c0456([_0x423606(0x1,_0x3a09c4['Inject'](_0x577dad['SheetSkeletonManagerService'])),_0x423606(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x423606(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x27259b);function _0x149313(_0x468862){const _0x47f526=_0x29bde7,_0x2cae6b=new Map();return _0x468862['forEach'](_0x5e0be0=>{const _0x316ab6=_0x3fad;if(_0x2cae6b['has'](_0x5e0be0[_0x316ab6(0x18a)])){const _0x21d45d=_0x2cae6b[_0x316ab6(0x31d)](_0x5e0be0[_0x316ab6(0x18a)]);_0x21d45d[_0x316ab6(0x15b)]+=',\x20'+_0x5e0be0['name'];}else _0x2cae6b[_0x316ab6(0x2d5)](_0x5e0be0['selection'],_0x5e0be0);}),Array[_0x47f526(0xc9)](_0x2cae6b[_0x47f526(0x2a1)]());}var _0x5148f1=Object[_0x29bde7(0x224)],_0xac81cc=(_0x38838a,_0x1dbaa4,_0x17d60a,_0x4e196b)=>{for(var _0x2476e2=_0x4e196b>0x1?void 0x0:_0x4e196b?_0x5148f1(_0x1dbaa4,_0x17d60a):_0x1dbaa4,_0x4d6155=_0x38838a['length']-0x1,_0x1a8819;_0x4d6155>=0x0;_0x4d6155--)(_0x1a8819=_0x38838a[_0x4d6155])&&(_0x2476e2=_0x1a8819(_0x2476e2)||_0x2476e2);return _0x2476e2;},_0x46b179=(_0x2a1f91,_0xc1fae1)=>(_0x4c3511,_0xe4b076)=>_0xc1fae1(_0x4c3511,_0xe4b076,_0x2a1f91);let _0x2ee8d7=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4decdb,_0x165174,_0x3268f4,_0x53fda2,_0x566582,_0x179dec){const _0x3773ac=_0x29bde7;super(),this[_0x3773ac(0x265)]=_0x4decdb,this[_0x3773ac(0x2c7)]=_0x165174,this[_0x3773ac(0x180)]=_0x3268f4,this[_0x3773ac(0x388)]=_0x53fda2,this[_0x3773ac(0x1d6)]=_0x566582,this[_0x3773ac(0x142)]=_0x179dec,this['_setupBeforeClosingHandler'](),this[_0x3773ac(0x23f)]();}[_0x29bde7(0x133)](){const _0xecd386=_0x29bde7;this['disposeWithMe'](this[_0xecd386(0x265)]['registerBeforeClose'](()=>{const _0x212f30=_0xecd386;if(this[_0x212f30(0x2c7)][_0x212f30(0x36f)][_0x212f30(0xe4)])return this[_0x212f30(0x142)]['t'](_0x212f30(0x1c2));}));}['_initEvent'](){const _0x230e6d=_0x29bde7;this[_0x230e6d(0x28e)](this[_0x230e6d(0x180)][_0x230e6d(0xe3)][_0x230e6d(0x359)](_0x1a3f55=>{const _0x20a5c6=_0x230e6d;_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['OTHER_CLIENT_EDITING']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xc3))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x107)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x30f))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['PERMISSION_DENIED']&&this[_0x20a5c6(0x1d6)][_0x20a5c6(0x16f)]({'title':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xe6)),'content':this[_0x20a5c6(0x142)]['t']('permission.content'),'type':_0x20a5c6(0x34f),'duration':0x0}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x37a)]&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this['_localeService']['t'](_0x20a5c6(0x30f))+'('+_0x1a3f55[_0x20a5c6(0x215)]+')'}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x1a3f55['data']||'')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SOCKET_FAILED_RETRY']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Warning'],'content':this[_0x20a5c6(0x142)]['t']('session.will-retry')}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId'][_0x20a5c6(0x20e)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this[_0x20a5c6(0x142)]['t']('session.connection-failed')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x29c)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x334))});}));}};_0x2ee8d7=_0xac81cc([_0x46b179(0x0,_0x592aaf['IBeforeCloseService']),_0x46b179(0x1,_0x5e7c26[_0x29bde7(0x355)]),_0x46b179(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x18d)])),_0x46b179(0x3,_0x592aaf[_0x29bde7(0x236)]),_0x46b179(0x4,_0x592aaf['INotificationService']),_0x46b179(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x2ee8d7);var _0x19fc27=Object['getOwnPropertyDescriptor'],_0x21ee04=(_0x4df1a1,_0x31b6a8,_0x464c23,_0x3d4d72)=>{for(var _0x4117c7=_0x3d4d72>0x1?void 0x0:_0x3d4d72?_0x19fc27(_0x31b6a8,_0x464c23):_0x31b6a8,_0x189eca=_0x4df1a1['length']-0x1,_0x323889;_0x189eca>=0x0;_0x189eca--)(_0x323889=_0x4df1a1[_0x189eca])&&(_0x4117c7=_0x323889(_0x4117c7)||_0x4117c7);return _0x4117c7;},_0x3f2815=(_0x10580b,_0x588e8c)=>(_0x3f81ea,_0x15eedc)=>_0x588e8c(_0x3f81ea,_0x15eedc,_0x10580b);let _0x32a527=class extends _0x3a09c4['Disposable']{constructor(_0x46a485,_0x3416b6,_0x336e1d,_0x121a3b){const _0x4ccb85=_0x29bde7;super(),_0x9f87fa(this,'_memberID'),(this['_injector']=_0x46a485,this['_httpService']=_0x3416b6,this[_0x4ccb85(0x28c)]=_0x336e1d,this[_0x4ccb85(0x222)]=_0x121a3b,this[_0x4ccb85(0x34b)]());}[_0x29bde7(0x34b)](){const _0x34cdb1=_0x29bde7;this[_0x34cdb1(0x391)](),this[_0x34cdb1(0xf2)](),this['_monkeyPatchLogService'](),this[_0x34cdb1(0x390)]();}[_0x29bde7(0x390)](){const _0x40be7c=_0x29bde7;this[_0x40be7c(0x28e)](this['_collaborationSessionService'][_0x40be7c(0x392)][_0x40be7c(0x359)](_0x29cf5b=>{const _0x300d7f=_0x40be7c;this['_memberID']=_0x29cf5b==null?void 0x0:_0x29cf5b[_0x300d7f(0x105)];}));}['_initWindowErrorListener'](){const _0x269f6d=_0x29bde7,_0x2dfd29=_0x52308f=>{const _0xc12670=_0x3fad;var _0x4b30c7;this['_uploadLog'](_0xc12670(0x34f),_0xc12670(0x24f)+_0x52308f[_0xc12670(0x127)]+_0xc12670(0x2d3)+_0x52308f[_0xc12670(0x16e)]+':'+_0x52308f[_0xc12670(0x1dd)]+':'+_0x52308f[_0xc12670(0x123)]+'\x0a'+(((_0x4b30c7=_0x52308f[_0xc12670(0x34f)])==null?void 0x0:_0x4b30c7[_0xc12670(0x27f)])||''));};window[_0x269f6d(0x23e)]('error',_0x2dfd29),this['disposeWithMe'](()=>{const _0x5a6530=_0x269f6d;window[_0x5a6530(0x21c)]('error',_0x2dfd29);});}[_0x29bde7(0xf2)](){const _0x421304=_0x29bde7,_0x5037d3=_0x4de7a7=>{const _0x248ede=_0x3fad;this[_0x248ede(0x27b)](_0x248ede(0x34f),'[Unhandled\x20Rejection]:\x20'+_0x4de7a7[_0x248ede(0x16b)]);};window[_0x421304(0x23e)](_0x421304(0x118),_0x5037d3),this[_0x421304(0x28e)](()=>{const _0x5d3cd5=_0x421304;window[_0x5d3cd5(0x21c)](_0x5d3cd5(0x118),_0x5037d3);});}[_0x29bde7(0x291)](){const _0x452b58=_0x29bde7,_0x306448=this[_0x452b58(0x28c)]['error']['bind'](this[_0x452b58(0x28c)]);this['_logService']['error']=(..._0x5659a6)=>{const _0x558c69=_0x452b58,_0x2e2201=_0x5659a6[_0x558c69(0x20c)](_0x4d67d1=>_0x4d67d1 instanceof Error?_0x4d67d1[_0x558c69(0x127)]+'\x0a'+_0x4d67d1['stack']:String(_0x4d67d1))['join']('\x20');this[_0x558c69(0x27b)](_0x558c69(0x34f),_0x558c69(0x33d)+_0x2e2201),_0x306448(..._0x5659a6);},this[_0x452b58(0x28e)](()=>{this['_logService']['error']=_0x306448;});}['_uploadLog'](_0x2ba37b,_0x3ea335){const _0x15b994=_0x29bde7;try{const _0x3a9d68={'userId':this['_memberID'],'logLabel':_0x2ba37b,'content':_0x3ea335};this['_httpService'][_0x15b994(0x279)](_0x15b994(0x11a),{'body':_0x3a9d68})[_0x15b994(0x2a5)](()=>{});}catch{}}};_0x32a527=_0x21ee04([_0x3f2815(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x3f2815(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x3f2815(0x2,_0x3a09c4[_0x29bde7(0x1da)]),_0x3f2815(0x3,_0x3a09c4['Inject'](_0x5e7c26['CollaborationSessionService']))],_0x32a527);const _0x2d74b1=_0x29bde7(0x2e1),_0x2c5eff={};var _0x3cba64=Object[_0x29bde7(0x224)],_0x51b25a=(_0x4a6cd2,_0x490862,_0x3c0353,_0x496da8)=>{const _0x484a22=_0x29bde7;for(var _0x9aee0e=_0x496da8>0x1?void 0x0:_0x496da8?_0x3cba64(_0x490862,_0x3c0353):_0x490862,_0xa5ba32=_0x4a6cd2[_0x484a22(0x257)]-0x1,_0x590c3c;_0xa5ba32>=0x0;_0xa5ba32--)(_0x590c3c=_0x4a6cd2[_0xa5ba32])&&(_0x9aee0e=_0x590c3c(_0x9aee0e)||_0x9aee0e);return _0x9aee0e;},_0x18d7b0=(_0x4d44a1,_0x446d6f)=>(_0x5eb091,_0x440b52)=>_0x446d6f(_0x5eb091,_0x440b52,_0x4d44a1);let _0x5e0130=class{constructor(_0x46ac11,_0x49180f){const _0x147723=_0x29bde7;this[_0x147723(0x289)]=_0x46ac11,this[_0x147723(0x146)]=_0x49180f;}[_0x29bde7(0x346)](_0x31be42){const _0x1fd5f4=_0x29bde7;this[_0x1fd5f4(0x25c)](_0x31be42),this[_0x1fd5f4(0x2b9)](_0x31be42);}[_0x29bde7(0x145)](_0x363631){const _0x29cf6e=_0x29bde7,{unitID:_0x527aae}=_0x363631,_0x355805=this[_0x29cf6e(0x146)][_0x29cf6e(0x11f)](_0x527aae)[_0x29cf6e(0x240)](_0x9d9b14[_0x29cf6e(0x129)]),{redoCache:_0x4a4ca1}=_0x355805[_0x29cf6e(0x344)]();if(_0x4a4ca1['length']===0x0)return _0x363631;let _0x539830=_0x3a09c4[_0x29cf6e(0x379)]['deepClone'](_0x363631[_0x29cf6e(0xd6)][0x0]);for(let _0xf484e=0x0;_0xf484e<_0x4a4ca1[_0x29cf6e(0x257)];_0xf484e++){const _0x393f9d={'id':_0x29cf6e(0x2cb),'params':{..._0x4a4ca1[_0xf484e]}},_0x116539=this[_0x29cf6e(0x289)][_0x29cf6e(0x1f8)](_0x539830,_0x393f9d,!0x1);if(_0x5e9418[_0x29cf6e(0x273)](_0x116539))throw _0x116539['error'];_0x539830=_0x116539[_0x29cf6e(0x39c)];}return{..._0x3a09c4[_0x29cf6e(0x379)][_0x29cf6e(0x329)](_0x363631),'mutations':[_0x539830]};}[_0x29bde7(0x25c)](_0x1ad039){const _0x3fb531=_0x29bde7,{unitID:_0x8bc2f8}=_0x1ad039,_0x3a4260=this[_0x3fb531(0x146)][_0x3fb531(0x11f)](_0x8bc2f8)['with'](_0x9d9b14['DocIMEInputManagerService']),{undoCache:_0x4b405c,redoCache:_0x4e4199}=_0x3a4260[_0x3fb531(0x344)]();if(_0x4b405c['length']===0x0||_0x4e4199[_0x3fb531(0x257)]===0x0)return;const _0xc9069f=[],_0x34bc50=[];let _0x102345=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039['mutations'][0x0]),_0x16e30d=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039[_0x3fb531(0xd6)][0x0]);for(let _0x56d1cb=_0x4b405c[_0x3fb531(0x257)]-0x1;_0x56d1cb>=0x0;_0x56d1cb--){const _0x45d03e={'id':_0x3fb531(0x2cb),'params':{..._0x4b405c[_0x56d1cb]}},_0x4b4bf9={'id':_0x3fb531(0x2cb),'params':{..._0x4e4199[_0x56d1cb]}},_0x304759=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x102345,_0x45d03e,!0x1),_0x2ab12b=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x16e30d,_0x4b4bf9,!0x1);if(_0x5e9418[_0x3fb531(0x273)](_0x304759))throw _0x304759[_0x3fb531(0x34f)];if(_0x5e9418[_0x3fb531(0x273)](_0x2ab12b))throw _0x2ab12b['error'];_0xc9069f[_0x3fb531(0x178)](_0x304759[_0x3fb531(0x2e4)]['params']),_0x34bc50[_0x3fb531(0x178)](_0x2ab12b['m2Prime'][_0x3fb531(0x32e)]),_0x102345=_0x304759[_0x3fb531(0x39c)],_0x16e30d=_0x2ab12b[_0x3fb531(0x39c)];}_0x3a4260[_0x3fb531(0x260)]({'undoCache':_0xc9069f,'redoCache':_0x34bc50});}[_0x29bde7(0x2b9)](_0x361b1a){const _0x4e253a=_0x29bde7,{unitID:_0x3fa9eb}=_0x361b1a,_0x4ad21b=this[_0x4e253a(0x146)]['getRenderById'](_0x3fa9eb)[_0x4e253a(0x240)](_0x9d9b14['DocIMEInputManagerService']),_0x57afc8=_0x4ad21b['getActiveRange']();if(_0x57afc8==null)return;const _0x19201b=[{'id':_0x4e253a(0x2cb),'params':{'unitId':_0x361b1a[_0x4e253a(0xee)],'actions':null,'textRanges':[_0x57afc8]}}],_0x596121=this['_transformService'][_0x4e253a(0xf8)](_0x361b1a,_0x19201b);if(!_0x5e9418['isTransformMutationsWithChangesetSuccess'](_0x596121))throw _0x596121[_0x4e253a(0x34f)];const _0x51de96=_0x596121[_0x4e253a(0x2e4)][0x0][_0x4e253a(0x32e)][_0x4e253a(0x1e4)];Array[_0x4e253a(0x106)](_0x51de96)&&_0x51de96[_0x4e253a(0x257)]&&_0x4ad21b['setActiveRange'](_0x51de96[0x0]);}};_0x5e0130=_0x51b25a([_0x18d7b0(0x0,_0x5e9418['ITransformService']),_0x18d7b0(0x1,_0x271b4b[_0x29bde7(0xde)])],_0x5e0130);var _0x30175c=Object[_0x29bde7(0x224)],_0xe6434d=(_0x471187,_0x2c77be,_0x5f1d88,_0x5642e3)=>{const _0x4ca838=_0x29bde7;for(var _0x20d0c4=_0x5642e3>0x1?void 0x0:_0x5642e3?_0x30175c(_0x2c77be,_0x5f1d88):_0x2c77be,_0x2c1fa4=_0x471187[_0x4ca838(0x257)]-0x1,_0x446dc4;_0x2c1fa4>=0x0;_0x2c1fa4--)(_0x446dc4=_0x471187[_0x2c1fa4])&&(_0x20d0c4=_0x446dc4(_0x20d0c4)||_0x20d0c4);return _0x20d0c4;},_0x21662e=(_0x445231,_0x404cc8)=>(_0x19d142,_0x2841f1)=>_0x404cc8(_0x19d142,_0x2841f1,_0x445231);let _0xc132fe=class{constructor(_0x4d1833,_0xb8780,_0x1a7f94){const _0x3fd455=_0x29bde7;this[_0x3fd455(0x247)]=_0x4d1833,this[_0x3fd455(0x289)]=_0xb8780,this['_docStateChangeManagerService']=_0x1a7f94;}[_0x29bde7(0x266)](_0x951add){this['_transformHistoryAndStateStack'](_0x951add);}[_0x29bde7(0x145)](_0x1fe947){const _0x1463be=_0x29bde7,{unitID:_0x452286}=_0x1fe947,{collaboration:_0x1e5729}=this['_docStateChangeManagerService'][_0x1463be(0x2f7)](_0x452286);if(_0x1e5729[_0x1463be(0x257)]===0x0)return _0x1fe947;let _0x4d3727=_0x3a09c4[_0x1463be(0x379)]['deepClone'](_0x1fe947[_0x1463be(0xd6)][0x0]);for(let _0x15588b=0x0;_0x15588b<_0x1e5729[_0x1463be(0x257)];_0x15588b++){const _0x53120f={'id':_0x1463be(0x2cb),'params':{'unitId':_0x1e5729[_0x15588b][_0x1463be(0x3a8)],..._0x1e5729[_0x15588b]['redoState']}},_0x1a9230=this[_0x1463be(0x289)][_0x1463be(0x1f8)](_0x4d3727,_0x53120f,!0x1);if(_0x5e9418[_0x1463be(0x273)](_0x1a9230))throw _0x1a9230[_0x1463be(0x34f)];_0x4d3727=_0x1a9230['m1Prime'];}return{..._0x3a09c4[_0x1463be(0x379)][_0x1463be(0x329)](_0x1fe947),'mutations':[_0x4d3727]};}[_0x29bde7(0x36d)](_0x36608a){const _0xdb503b=_0x29bde7,{unitID:_0x1bbe6f}=_0x36608a,{history:_0x181d1e,collaboration:_0x1fe449}=this[_0xdb503b(0x1c3)]['getStateCache'](_0x1bbe6f);if(_0x181d1e[_0xdb503b(0x257)]===0x0&&_0x1fe449[_0xdb503b(0x257)]===0x0)return;const _0x5df06a=[],_0x48bec6=[];let _0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]);for(let _0x1a6a85=_0x181d1e[_0xdb503b(0x257)]-0x1;_0x1a6a85>=0x0;_0x1a6a85--){const _0x312f8e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x181d1e[_0x1a6a85][_0xdb503b(0x3a8)],..._0x181d1e[_0x1a6a85][_0xdb503b(0xcd)]}},_0x1a4215={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x181d1e[_0x1a6a85]['unitId'],..._0x181d1e[_0x1a6a85][_0xdb503b(0x2a7)]}},_0x212c06=this['_transformService']['transformMutation'](_0x2a1738,_0x312f8e,!0x1),_0x121780=this['_transformService'][_0xdb503b(0x1f8)](_0x46eacb,_0x1a4215,!0x1);if(_0x5e9418['isTransformMutationFailure'](_0x212c06))throw _0x212c06[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0x121780))throw _0x121780[_0xdb503b(0x34f)];_0x5df06a['unshift']({..._0x181d1e[_0x1a6a85],'undoState':_0x212c06[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0x121780['m2Prime'][_0xdb503b(0x32e)]}),_0x2a1738=_0x212c06[_0xdb503b(0x39c)],_0x46eacb=_0x121780[_0xdb503b(0x39c)];}_0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a['mutations'][0x0]);for(let _0x3eecd4=_0x1fe449[_0xdb503b(0x257)]-0x1;_0x3eecd4>=0x0;_0x3eecd4--){const _0x1abe45={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0xcd)]}},_0x5fecfe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0x2a7)]}},_0x473a58=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x2a1738,_0x1abe45,!0x1),_0xf5921a=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x46eacb,_0x5fecfe,!0x1);if(_0x5e9418[_0xdb503b(0x273)](_0x473a58))throw _0x473a58[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0xf5921a))throw _0xf5921a[_0xdb503b(0x34f)];_0x48bec6[_0xdb503b(0x178)]({..._0x1fe449[_0x3eecd4],'undoState':_0x473a58[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0xf5921a[_0xdb503b(0x2e4)]['params']}),_0x2a1738=_0x473a58['m1Prime'],_0x46eacb=_0xf5921a[_0xdb503b(0x39c)];}this[_0xdb503b(0x1c3)][_0xdb503b(0x112)](_0x1bbe6f,{'history':_0x5df06a,'collaboration':_0x48bec6});}};_0xc132fe=_0xe6434d([_0x21662e(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x21662e(0x1,_0x5e9418[_0x29bde7(0x237)]),_0x21662e(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14['DocStateChangeManagerService']))],_0xc132fe);var _0x4e3357=Object['getOwnPropertyDescriptor'],_0x488474=(_0xdaf1e1,_0x1c8191,_0x4f8528,_0x440258)=>{const _0xea4b78=_0x29bde7;for(var _0x5aeca5=_0x440258>0x1?void 0x0:_0x440258?_0x4e3357(_0x1c8191,_0x4f8528):_0x1c8191,_0x1a17d1=_0xdaf1e1[_0xea4b78(0x257)]-0x1,_0x546ccf;_0x1a17d1>=0x0;_0x1a17d1--)(_0x546ccf=_0xdaf1e1[_0x1a17d1])&&(_0x5aeca5=_0x546ccf(_0x5aeca5)||_0x5aeca5);return _0x5aeca5;},_0x375f2d=(_0x34f72a,_0x1c8754)=>(_0x43b805,_0x27c4ee)=>_0x1c8754(_0x43b805,_0x27c4ee,_0x34f72a);let _0x3628e2=class{constructor(_0x206071,_0x80ed11){const _0x202272=_0x29bde7;this[_0x202272(0x247)]=_0x206071,this[_0x202272(0x289)]=_0x80ed11;}['transformSelections'](_0x4f2465){const _0x92e285=_0x29bde7;var _0x2daa7c;const _0xce762d=this[_0x92e285(0x247)]['get'](_0x4995f4[_0x92e285(0x1fa)]),_0x530f86=(_0x2daa7c=_0xce762d['getDocRanges']())!=null?_0x2daa7c:[];if(_0x530f86[_0x92e285(0x257)]===0x0)return;const _0x20c844=_0x4f2465['unitID'],_0x340d69=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x20c844,'actions':null,'textRanges':_0x530f86}}],_0x5c9d93=this['_transformService'][_0x92e285(0xf8)](_0x4f2465,_0x340d69);if(!_0x5e9418[_0x92e285(0x328)](_0x5c9d93))throw _0x5c9d93['error'];const _0x3e528e=_0x5c9d93[_0x92e285(0x2e4)][0x0]['params'][_0x92e285(0x1e4)];Array['isArray'](_0x3e528e)&&_0x3e528e['length']&&_0xce762d[_0x92e285(0x12f)](_0x3e528e,{'unitId':_0x20c844,'subUnitId':_0x20c844},!0x1);}};_0x3628e2=_0x488474([_0x375f2d(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x375f2d(0x1,_0x5e9418[_0x29bde7(0x237)])],_0x3628e2);var _0x405e8b=Object[_0x29bde7(0x224)],_0x77179d=(_0xf3d97,_0x22e5c6,_0x5bb703,_0x38cc92)=>{const _0x1bf41f=_0x29bde7;for(var _0x208496=_0x38cc92>0x1?void 0x0:_0x38cc92?_0x405e8b(_0x22e5c6,_0x5bb703):_0x22e5c6,_0x47f74f=_0xf3d97[_0x1bf41f(0x257)]-0x1,_0x1d59f6;_0x47f74f>=0x0;_0x47f74f--)(_0x1d59f6=_0xf3d97[_0x47f74f])&&(_0x208496=_0x1d59f6(_0x208496)||_0x208496);return _0x208496;},_0x4f961f=(_0x3c3af0,_0x1eec20)=>(_0x15cd8e,_0x3c6593)=>_0x1eec20(_0x15cd8e,_0x3c6593,_0x3c3af0);let _0x30a1d6=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x5928fd,_0x45ed03,_0x4fcb60,_0x90e601,_0xf1aa05,_0x1ac937,_0x53f9db,_0x104782){const _0x5470a5=_0x29bde7;super(),_0x9f87fa(this,_0x5470a5(0x2d7),new _0x41fba3[(_0x5470a5(0x31e))](_0x5e7c26[_0x5470a5(0x10f)][_0x5470a5(0x305)])),(this[_0x5470a5(0x1c3)]=_0x5928fd,this[_0x5470a5(0x364)]=_0x45ed03,this[_0x5470a5(0x371)]=_0x4fcb60,this['_docTransformStateCacheService']=_0x90e601,this['_docTransformSelectionsService']=_0xf1aa05,this[_0x5470a5(0x333)]=_0x1ac937,this[_0x5470a5(0x388)]=_0x53f9db,this[_0x5470a5(0x142)]=_0x104782,this[_0x5470a5(0x164)]());}[_0x29bde7(0x164)](){const _0x57b943=_0x29bde7;this[_0x57b943(0x28e)](this['_collaborationController'][_0x57b943(0x29e)][_0x57b943(0x359)](_0x259004=>{const _0x6a0de=_0x57b943,_0x324414=this['_docStateChangeManagerService']['docStateChange$'][_0x6a0de(0x359)](_0x976e3c=>{const _0x28eb6b=_0x6a0de;if(_0x976e3c==null)return;const {unitId:_0xb11880,redoState:_0x36001e,commandId:_0x37232c}=_0x976e3c;if(_0xb11880!==_0x259004[_0x28eb6b(0xee)])return;const _0x4af2ba={'id':_0x37232c,'type':_0x3a09c4['CommandType'][_0x28eb6b(0x171)],'params':{'unitId':_0xb11880,'actions':_0x36001e[_0x28eb6b(0x1f2)],'textRanges':null}};_0x259004[_0x28eb6b(0x205)](_0x4af2ba);});if(_0x259004[_0x6a0de(0x28e)](_0x324414),_0x259004 instanceof _0x5e7c26[_0x6a0de(0xdd)]){const _0xc989bf={'onTransformIME':_0x3f3e83=>this[_0x6a0de(0x371)]['transformIMECache'](_0x3f3e83),'onTransformState':_0x441681=>this[_0x6a0de(0x26b)][_0x6a0de(0x266)](_0x441681),'onTransformSelections':_0x4aca1c=>this[_0x6a0de(0x1d3)][_0x6a0de(0x3a4)](_0x4aca1c),'onSyncEditingCollabCursor':_0x447912=>this[_0x6a0de(0x333)][_0x6a0de(0x17b)](_0x447912),'onTransformRemoteChangesetByIMECache':_0x22098b=>this['_docTransformIMECacheService'][_0x6a0de(0x145)](_0x22098b),'onTransformRemoteChangesetByStateCache':_0x44e168=>this['_docTransformStateCacheService'][_0x6a0de(0x145)](_0x44e168)};_0x259004['addHandlerCallback'](_0xc989bf);}}));}};_0x30a1d6=_0x77179d([_0x4f961f(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14[_0x29bde7(0x2dd)])),_0x4f961f(0x1,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x1aa)])),_0x4f961f(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e0130)),_0x4f961f(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0xc132fe)),_0x4f961f(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3628e2)),_0x4f961f(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x4f961f(0x6,_0x592aaf[_0x29bde7(0x236)]),_0x4f961f(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4['LocaleService']))],_0x30a1d6);var _0x2b04bc=(_0x2abc76=>(_0x2abc76[_0x2abc76[_0x29bde7(0x37c)]=0x0]=_0x29bde7(0x37c),_0x2abc76[_0x2abc76['OK']=0x1]='OK',_0x2abc76[_0x2abc76[_0x29bde7(0x22d)]=0x2]='INTERNAL_ERROR',_0x2abc76[_0x2abc76[_0x29bde7(0x1fd)]=0x3]='PERMISSION_DENIED',_0x2abc76[_0x2abc76[_0x29bde7(0x1ff)]=0x4]=_0x29bde7(0x1ff),_0x2abc76[_0x2abc76[_0x29bde7(0x225)]=0x5]=_0x29bde7(0x225),_0x2abc76[_0x2abc76[_0x29bde7(0x34e)]=0x6]=_0x29bde7(0x34e),_0x2abc76[_0x2abc76[_0x29bde7(0x17d)]=0x7]=_0x29bde7(0x17d),_0x2abc76[_0x2abc76[_0x29bde7(0x12e)]=0x8]='TOO_MANY_REQUESTS',_0x2abc76[_0x2abc76['COMPLETION_FINISHED']=0x9]=_0x29bde7(0x136),_0x2abc76[_0x2abc76[_0x29bde7(0x23d)]=0xa]=_0x29bde7(0x23d),_0x2abc76[_0x2abc76[_0x29bde7(0x102)]=0xb]=_0x29bde7(0x102),_0x2abc76[_0x2abc76['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x29bde7(0x365),_0x2abc76[_0x2abc76[_0x29bde7(0x2fc)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2abc76[_0x2abc76[_0x29bde7(0x38e)]=0xe]=_0x29bde7(0x38e),_0x2abc76[_0x2abc76[_0x29bde7(0x10d)]=0xf]=_0x29bde7(0x10d),_0x2abc76[_0x2abc76[_0x29bde7(0x1b1)]=0x10]=_0x29bde7(0x1b1),_0x2abc76[_0x2abc76[_0x29bde7(0x302)]=0x64]=_0x29bde7(0x302),_0x2abc76[_0x2abc76['ERROR_AGAIN']=0x65]=_0x29bde7(0x21a),_0x2abc76[_0x2abc76[_0x29bde7(0x262)]=0xc9]=_0x29bde7(0x262),_0x2abc76[_0x2abc76[_0x29bde7(0x1e7)]=0xca]=_0x29bde7(0x1e7),_0x2abc76[_0x2abc76[_0x29bde7(0x13e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2abc76[_0x2abc76[_0x29bde7(0x354)]=0x1771]=_0x29bde7(0x354),_0x2abc76[_0x2abc76[_0x29bde7(0x2e2)]=0x1772]=_0x29bde7(0x2e2),_0x2abc76[_0x2abc76[_0x29bde7(0x297)]=0x1773]=_0x29bde7(0x297),_0x2abc76[_0x2abc76['APPLY_REJECT']=0x1b59]=_0x29bde7(0x18c),_0x2abc76[_0x2abc76[_0x29bde7(0xf5)]=0x1b5a]=_0x29bde7(0xf5),_0x2abc76[_0x2abc76['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x29bde7(0xfd),_0x2abc76[_0x2abc76[_0x29bde7(0x375)]=0x1b5c]=_0x29bde7(0x375),_0x2abc76[_0x2abc76[_0x29bde7(0x2bb)]=0x1b5d]=_0x29bde7(0x2bb),_0x2abc76[_0x2abc76[_0x29bde7(0x300)]=0x1f41]=_0x29bde7(0x300),_0x2abc76[_0x2abc76[_0x29bde7(0x10a)]=0x2329]=_0x29bde7(0x10a),_0x2abc76[_0x2abc76[_0x29bde7(0x115)]=0x232a]=_0x29bde7(0x115),_0x2abc76[_0x2abc76[_0x29bde7(0x331)]=0x232b]=_0x29bde7(0x331),_0x2abc76[_0x2abc76[_0x29bde7(0x2d2)]=0x232c]=_0x29bde7(0x2d2),_0x2abc76[_0x2abc76[_0x29bde7(0x2eb)]=0x232d]=_0x29bde7(0x2eb),_0x2abc76[_0x2abc76[_0x29bde7(0x188)]=0x2711]=_0x29bde7(0x188),_0x2abc76[_0x2abc76['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x29bde7(0x244),_0x2abc76[_0x2abc76[_0x29bde7(0x22b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2abc76[_0x2abc76['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x29bde7(0x2d0),_0x2abc76[_0x2abc76[_0x29bde7(0x1f9)]=0x271a]=_0x29bde7(0x1f9),_0x2abc76[_0x2abc76[_0x29bde7(0x282)]=0x271b]=_0x29bde7(0x282),_0x2abc76[_0x2abc76[_0x29bde7(0x290)]=0x271c]=_0x29bde7(0x290),_0x2abc76[_0x2abc76[_0x29bde7(0x280)]=0x271d]=_0x29bde7(0x280),_0x2abc76[_0x2abc76[_0x29bde7(0x2c2)]=0x271e]=_0x29bde7(0x2c2),_0x2abc76[_0x2abc76[_0x29bde7(0xe9)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2abc76[_0x2abc76[_0x29bde7(0x2e6)]=0x2720]=_0x29bde7(0x2e6),_0x2abc76[_0x2abc76[_0x29bde7(0x350)]=0x2af9]=_0x29bde7(0x350),_0x2abc76[_0x2abc76['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x29bde7(0x25a),_0x2abc76[_0x2abc76[_0x29bde7(0x169)]=0x2ee2]=_0x29bde7(0x169),_0x2abc76[_0x2abc76[_0x29bde7(0x2a9)]=0x2ee3]=_0x29bde7(0x2a9),_0x2abc76[_0x2abc76['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x2abc76[_0x2abc76['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x29bde7(0x202),_0x2abc76[_0x2abc76[_0x29bde7(0x176)]=0x32c9]=_0x29bde7(0x176),_0x2abc76[_0x2abc76[_0x29bde7(0x204)]=0x32ca]=_0x29bde7(0x204),_0x2abc76[_0x2abc76[_0x29bde7(0x134)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2abc76[_0x2abc76[_0x29bde7(0x144)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2abc76[_0x2abc76[_0x29bde7(0x263)]=0x36b2]=_0x29bde7(0x263),_0x2abc76[_0x2abc76[_0x29bde7(0x26c)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2abc76[_0x2abc76[_0x29bde7(0x150)]=0x36b4]=_0x29bde7(0x150),_0x2abc76[_0x2abc76[_0x29bde7(0x2a4)]=0x36b5]=_0x29bde7(0x2a4),_0x2abc76[_0x2abc76[_0x29bde7(0x1ba)]=0x36b6]=_0x29bde7(0x1ba),_0x2abc76[_0x2abc76[_0x29bde7(0x162)]=0x36b7]=_0x29bde7(0x162),_0x2abc76[_0x2abc76[_0x29bde7(0x1bd)]=0x36b8]=_0x29bde7(0x1bd),_0x2abc76[_0x2abc76[_0x29bde7(0x19a)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x179)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fb)]=0x3717]=_0x29bde7(0x1fb),_0x2abc76[_0x2abc76[_0x29bde7(0x13d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2abc76[_0x2abc76[_0x29bde7(0x11d)]=0x3a99]=_0x29bde7(0x11d),_0x2abc76[_0x2abc76['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x2abc76[_0x2abc76[_0x29bde7(0xef)]=0x3a9b]=_0x29bde7(0xef),_0x2abc76[_0x2abc76[_0x29bde7(0x14a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fe)]=0x3a9d]=_0x29bde7(0x1fe),_0x2abc76[_0x2abc76[_0x29bde7(0x1f6)]=0x3a9e]=_0x29bde7(0x1f6),_0x2abc76[_0x2abc76[_0x29bde7(0x147)]=0x3a9f]=_0x29bde7(0x147),_0x2abc76[_0x2abc76[_0x29bde7(0x2cc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2abc76[_0x2abc76[_0x29bde7(0x35d)]=-0x1]=_0x29bde7(0x35d),_0x2abc76))(_0x2b04bc||{});function _0x541d21(_0x1033dd){const _0xcc7aca=_0x29bde7;var _0x20c779,_0x3a0d01;const _0xa49bd=(_0x20c779=_0x1033dd[_0xcc7aca(0x1cb)])==null?void 0x0:_0x20c779[_0xcc7aca(0x135)],_0x473bff=((_0x3a0d01=_0x1033dd['stageInfo'])==null?void 0x0:_0x3a0d01[_0xcc7aca(0x27e)])||0x0;return _0xa49bd===_0x3202a1[_0xcc7aca(0xd3)][_0xcc7aca(0x1ed)]&&_0x473bff>0x0;}function _0x3dbd8b(_0x127b5c){const _0x377898=_0x29bde7;return _0x127b5c[_0x377898(0x22a)]===_0x3202a1[_0x377898(0x159)]['SUCCESS'];}var _0x46379b=Object['getOwnPropertyDescriptor'],_0x1dfd3c=(_0x327ece,_0x5405c2,_0x59ecf8,_0x49de0d)=>{const _0x1f8d10=_0x29bde7;for(var _0x267fd0=_0x49de0d>0x1?void 0x0:_0x49de0d?_0x46379b(_0x5405c2,_0x59ecf8):_0x5405c2,_0x142276=_0x327ece[_0x1f8d10(0x257)]-0x1,_0x2e66bf;_0x142276>=0x0;_0x142276--)(_0x2e66bf=_0x327ece[_0x142276])&&(_0x267fd0=_0x2e66bf(_0x267fd0)||_0x267fd0);return _0x267fd0;},_0x55e2d6=(_0x49744f,_0x4a733a)=>(_0x1d7186,_0x3ab44b)=>_0x4a733a(_0x1d7186,_0x3ab44b,_0x49744f);const _0x417e1d=_0x29bde7(0xc2),_0x4e7f71=_0x29bde7(0x2af),_0x47b146=_0x29bde7(0x2e0);let _0x353926=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x32adfd,_0x47335e,_0x3c097a,_0x8a3673,_0x520ca4,_0x188019,_0x1d8d74){const _0x5a2d7c=_0x29bde7;super(),_0x9f87fa(this,_0x5a2d7c(0x377),null),_0x9f87fa(this,'_maxFormulaLimit',0x0),_0x9f87fa(this,_0x5a2d7c(0x321),0x0),_0x9f87fa(this,_0x5a2d7c(0x298),[]),_0x9f87fa(this,_0x5a2d7c(0x309),0x0),(this[_0x5a2d7c(0x388)]=_0x32adfd,this[_0x5a2d7c(0x114)]=_0x47335e,this[_0x5a2d7c(0x219)]=_0x3c097a,this[_0x5a2d7c(0x37f)]=_0x8a3673,this[_0x5a2d7c(0x1ab)]=_0x520ca4,this[_0x5a2d7c(0x28c)]=_0x188019,this['_localeService']=_0x1d8d74,this[_0x5a2d7c(0x1c0)]());}[_0x29bde7(0x1c0)](){const _0x7fcf32=_0x29bde7;this[_0x7fcf32(0x28e)](this[_0x7fcf32(0x114)][_0x7fcf32(0x303)]((_0x5ea7de,_0x15236e)=>{const _0x3bee13=_0x7fcf32;var _0x36e788;if(_0x5ea7de['id']!==_0x3202a1[_0x3bee13(0x2e3)]['id'])return;const _0x43cc5e=_0x5ea7de[_0x3bee13(0x32e)];if(!this[_0x3bee13(0x385)]((_0x36e788=_0x43cc5e[_0x3bee13(0x378)])!=null?_0x36e788:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x3bee13(0xfe)](_0x5ea7de,_0x15236e),this[_0x3bee13(0x217)](),new _0x3a09c4[(_0x3bee13(0x2b0))]();})),this[_0x7fcf32(0x28e)](this['_commandService']['onCommandExecuted']((_0x57d299,_0x44268b)=>{const _0x218ad3=_0x7fcf32;if(_0x57d299['id']!==_0x3202a1[_0x218ad3(0x395)]['id'])return;const _0x4b1205=_0x57d299[_0x218ad3(0x32e)];if(_0x541d21(_0x4b1205)){const _0x204129=_0x3a09c4[_0x218ad3(0x382)]();this[_0x218ad3(0x298)][_0x218ad3(0x174)](_0x204129),this[_0x218ad3(0x2c6)](_0x204129);}else{if(_0x3dbd8b(_0x4b1205)&&this['_taskIds'][_0x218ad3(0x257)]>0x0){const _0xadfb32=this['_taskIds'][_0x218ad3(0x28a)]();this[_0x218ad3(0x3a0)](_0xadfb32);}}}));}['dispose'](){const _0x298b96=_0x29bde7;super[_0x298b96(0x19f)](),this[_0x298b96(0x2ab)](),this['_taskIds']=[],this[_0x298b96(0x321)]=0x0,this[_0x298b96(0x32c)]=0x0,this[_0x298b96(0x309)]=0x0;}async[_0x29bde7(0xfe)](_0x1ef5cf,_0x57834a){const _0x48cf07=_0x29bde7;for(let _0xd69dac=0x0;_0xd69dac<0x1e;_0xd69dac++)try{if(await this[_0x48cf07(0x1bf)](),this[_0x48cf07(0x24b)]()){this[_0x48cf07(0x209)](_0x1ef5cf,_0x57834a),this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x2d8)]});return;}await new Promise(_0x2b02fc=>{const _0x1e39ae=_0x48cf07;this['_pollingInterval']=window[_0x1e39ae(0x338)](_0x2b02fc,0x3e8);});}catch(_0x2fd45e){this[_0x48cf07(0x28c)]['error'](_0x2fd45e);}this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t'](_0x48cf07(0x37d)),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x29c)]});}[_0x29bde7(0x209)](_0x382c07,_0x2293e9){const _0x5cbc0c=_0x29bde7;try{this['_commandService'][_0x5cbc0c(0x104)](_0x382c07['id'],_0x382c07[_0x5cbc0c(0x32e)],_0x2293e9);}catch(_0x43c8db){this[_0x5cbc0c(0x28c)]['error'](_0x43c8db);}}[_0x29bde7(0xc5)](_0x1d380e,_0x13f2e4){const _0x4f46c8=_0x29bde7;_0x13f2e4<this[_0x4f46c8(0x309)]||(this[_0x4f46c8(0x309)]=_0x13f2e4,this['_maxFormulaLimit']=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x152)]),this[_0x4f46c8(0x321)]=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x29b)]));}async[_0x29bde7(0x2c6)](_0x122bde){const _0x36f003=_0x29bde7;var _0x3c9801,_0x75dd4e;const _0x83ecaf=Date[_0x36f003(0xf6)]();try{const _0x564a38=((_0x3c9801=this[_0x36f003(0x219)][_0x36f003(0x19d)](_0x5e7c26[_0x36f003(0x2c3)]))==null?void 0x0:_0x3c9801[_0x36f003(0x235)])||_0x4e7f71,_0x1dd61d=(await this[_0x36f003(0x37f)][_0x36f003(0x279)](_0x564a38,{'body':JSON[_0x36f003(0x1d5)]({'taskId':_0x122bde})}))[_0x36f003(0x221)];if(((_0x75dd4e=_0x1dd61d[_0x36f003(0x34f)])==null?void 0x0:_0x75dd4e['code'])!==_0x2b04bc['OK'])return;this[_0x36f003(0xc5)](_0x1dd61d[_0x36f003(0x207)],_0x83ecaf);}catch(_0x5cf12f){this['_logService'][_0x36f003(0x34f)](_0x5cf12f);}}async[_0x29bde7(0x1bf)](_0x4fd1ea){const _0x4577b6=_0x29bde7;var _0x27d13c,_0x59a78;const _0x3dbd22=Date[_0x4577b6(0xf6)]();try{const _0x22c263=((_0x27d13c=this[_0x4577b6(0x219)]['getConfig'](_0x5e7c26[_0x4577b6(0x2c3)]))==null?void 0x0:_0x27d13c[_0x4577b6(0x1c8)])||_0x417e1d,_0x113b01=_0x4fd1ea?_0x22c263+_0x4577b6(0x100)+encodeURIComponent(_0x4fd1ea):_0x22c263,_0x34b497=(await this[_0x4577b6(0x37f)][_0x4577b6(0x31d)](_0x113b01))[_0x4577b6(0x221)];if(((_0x59a78=_0x34b497['error'])==null?void 0x0:_0x59a78['code'])!==_0x2b04bc['OK'])return;this[_0x4577b6(0xc5)](_0x34b497[_0x4577b6(0x207)],_0x3dbd22);}catch(_0x5723fb){this[_0x4577b6(0x28c)][_0x4577b6(0x34f)](_0x5723fb);}}async[_0x29bde7(0x3a0)](_0x4928ed){const _0xb0c2e1=_0x29bde7;var _0x1651cc,_0x1ce4a9;const _0x2409c6=Date[_0xb0c2e1(0xf6)]();try{const _0x4f3d9d=((_0x1651cc=this[_0xb0c2e1(0x219)][_0xb0c2e1(0x19d)](_0x5e7c26['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x1651cc[_0xb0c2e1(0x196)])||_0x47b146,_0x349498=(await this['_httpService'][_0xb0c2e1(0x279)](_0x4f3d9d,{'body':JSON[_0xb0c2e1(0x1d5)]({'taskId':_0x4928ed})}))[_0xb0c2e1(0x221)];if(((_0x1ce4a9=_0x349498['error'])==null?void 0x0:_0x1ce4a9[_0xb0c2e1(0xd4)])!==_0x2b04bc['OK'])return;this['_setFormulaLimitStatus'](_0x349498['limitInfo'],_0x2409c6);}catch(_0xd2377e){this[_0xb0c2e1(0x28c)][_0xb0c2e1(0x34f)](_0xd2377e);}}[_0x29bde7(0x24b)](){const _0x4c3c87=_0x29bde7;return this[_0x4c3c87(0x32c)]===0x0?!0x0:this[_0x4c3c87(0x32c)]-this[_0x4c3c87(0x321)]>0x0;}[_0x29bde7(0x2ab)](){const _0x4b7a52=_0x29bde7;this[_0x4b7a52(0x377)]&&(clearTimeout(this[_0x4b7a52(0x377)]),this[_0x4b7a52(0x377)]=null);}[_0x29bde7(0x217)](){const _0x4025c3=_0x29bde7;this[_0x4025c3(0x388)][_0x4025c3(0x16f)]({'content':this[_0x4025c3(0x142)]['t'](_0x4025c3(0xf4)),'type':_0x2a2db6['MessageType'][_0x4025c3(0x2f6)]});}['_hasFormulaInDirtyRanges'](_0x28f628){const _0x1af6a6=_0x29bde7;for(const _0x29ac28 of _0x28f628){const {unitId:_0x5af3a7,sheetId:_0x122c18,range:_0x970384}=_0x29ac28,_0x5572ac=this[_0x1af6a6(0x1ab)][_0x1af6a6(0x1e1)](_0x5af3a7);if(!_0x5572ac)continue;const _0x1388dc=_0x5572ac[_0x1af6a6(0x2cf)](_0x122c18);if(!_0x1388dc)continue;const _0x4d3588=_0x1388dc[_0x1af6a6(0x218)]();for(let _0x5afd4d=_0x970384[_0x1af6a6(0x21b)];_0x5afd4d<=_0x970384[_0x1af6a6(0x1e6)];_0x5afd4d++)for(let _0x735523=_0x970384[_0x1af6a6(0x15d)];_0x735523<=_0x970384[_0x1af6a6(0x1a9)];_0x735523++){const _0x5b8960=_0x4d3588[_0x1af6a6(0x2ff)](_0x5afd4d,_0x735523);if(_0x5b8960&&(_0x3a09c4[_0x1af6a6(0x32a)](_0x5b8960['f'])||_0x3a09c4[_0x1af6a6(0x251)](_0x5b8960['si'])))return!0x0;}}return!0x1;}};_0x353926=_0x1dfd3c([_0x55e2d6(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x592aaf[_0x29bde7(0x236)])),_0x55e2d6(0x1,_0x3a09c4[_0x29bde7(0x339)]),_0x55e2d6(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x55e2d6(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86['HTTPService'])),_0x55e2d6(0x4,_0x3a09c4[_0x29bde7(0x294)]),_0x55e2d6(0x5,_0x3a09c4[_0x29bde7(0x1da)]),_0x55e2d6(0x6,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x353926);var _0x5e6e28=Object[_0x29bde7(0x224)],_0x36d557=(_0x4c2ccf,_0x8e5ba5,_0x4478e1,_0xb68c4c)=>{const _0x363a85=_0x29bde7;for(var _0x5ebd13=_0xb68c4c>0x1?void 0x0:_0xb68c4c?_0x5e6e28(_0x8e5ba5,_0x4478e1):_0x8e5ba5,_0x4c05b9=_0x4c2ccf[_0x363a85(0x257)]-0x1,_0x39c86e;_0x4c05b9>=0x0;_0x4c05b9--)(_0x39c86e=_0x4c2ccf[_0x4c05b9])&&(_0x5ebd13=_0x39c86e(_0x5ebd13)||_0x5ebd13);return _0x5ebd13;},_0x287ce9=(_0x43e1f9,_0x30459e)=>(_0x2bd312,_0x154b5b)=>_0x30459e(_0x2bd312,_0x154b5b,_0x43e1f9);let _0x10ebcc=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4a1415,_0x3aae6c,_0x5e160d){const _0x20a91d=_0x29bde7;super(),_0x9f87fa(this,_0x20a91d(0x23c),new Map()),_0x9f87fa(this,_0x20a91d(0x374),new Map()),_0x9f87fa(this,_0x20a91d(0xf1),!0x1),(this[_0x20a91d(0x219)]=_0x4a1415,this[_0x20a91d(0x1a4)]=_0x3aae6c,this[_0x20a91d(0x352)]=_0x5e160d);}[_0x29bde7(0x269)](){const _0x278245=_0x29bde7;this[_0x278245(0xf1)]=!0x0;}[_0x29bde7(0x1b5)](){const _0xd56cd2=_0x29bde7;this[_0xd56cd2(0xf1)]=!0x1;}get[_0x29bde7(0x36f)](){const _0x7f8b47=_0x29bde7;return this[_0x7f8b47(0x374)];}['dispose'](){const _0xf9898a=_0x29bde7;this['exhaustSavingTask']()[_0xf9898a(0x189)](()=>super[_0xf9898a(0x19f)]());}async[_0x29bde7(0x370)](_0x46af0b){const _0x4c6fa5=_0x29bde7;return this[_0x4c6fa5(0xf1)]?null:this[_0x4c6fa5(0x1a4)][_0x4c6fa5(0x131)](_0x5e7c26[_0x4c6fa5(0x2b6)](_0x46af0b));}async[_0x29bde7(0x288)](_0x5b9eb,_0x3d1c4a){const _0x5c6875=_0x29bde7;return!!this['_localStorageService'][_0x5c6875(0x35f)](_0x5b9eb,_0x3d1c4a);}[_0x29bde7(0x35a)](_0x5de9ba,_0x73c898,_0x3fbb4c,_0xcb84c2){const _0x83fe4f=_0x29bde7,_0x22a8d1=this['_revisionService'][_0x83fe4f(0x24e)](_0x5de9ba);this[_0x83fe4f(0x23c)]['set'](_0x5de9ba,{'unitID':_0x5de9ba,'type':_0x73c898,'awaitingChangeset':_0x3fbb4c,'mutations':_0xcb84c2,'rev':_0x22a8d1}),this['_saveTaskMap']['has'](_0x5de9ba)||this[_0x83fe4f(0x21e)](_0x5de9ba);}[_0x29bde7(0x21e)](_0x18df72){const _0x2c74ae=_0x29bde7,_0x296285=this['_getSaveTimeout']();_0x296285===0x0?this[_0x2c74ae(0x22c)](_0x18df72):this[_0x2c74ae(0x374)][_0x2c74ae(0x2d5)](_0x18df72,setTimeout(()=>this['_saveCache'](_0x18df72),_0x296285));}[_0x29bde7(0x2d9)](){const _0x453438=_0x29bde7;var _0x21168b;return(_0x21168b=this[_0x453438(0x219)][_0x453438(0x19d)](_0x5e7c26[_0x453438(0x201)]))!=null?_0x21168b:_0x5e7c26[_0x453438(0x155)];}[_0x29bde7(0x22c)](_0x45ab3f){const _0x1d77fe=_0x29bde7,_0x54070d=this[_0x1d77fe(0x374)]['get'](_0x45ab3f);return _0x54070d!==void 0x0&&window[_0x1d77fe(0x2fa)](_0x54070d),this[_0x1d77fe(0x1a4)][_0x1d77fe(0x35f)](_0x5e7c26[_0x1d77fe(0x2b6)](_0x45ab3f),this[_0x1d77fe(0x23c)]['get'](_0x45ab3f))[_0x1d77fe(0x189)](()=>this[_0x1d77fe(0x374)][_0x1d77fe(0x35e)](_0x45ab3f));}async[_0x29bde7(0x1d8)](){const _0x40ebc0=_0x29bde7,_0x3f4958=[];this[_0x40ebc0(0x374)][_0x40ebc0(0x27c)]((_0x150a76,_0x38638c)=>{const _0x52e278=_0x40ebc0;window[_0x52e278(0x2fa)](_0x150a76),_0x3f4958[_0x52e278(0x174)](this[_0x52e278(0x22c)](_0x38638c)[_0x52e278(0x189)](()=>{const _0x371c28=_0x52e278;this[_0x371c28(0x374)][_0x371c28(0x35e)](_0x38638c);}));}),await Promise[_0x40ebc0(0x25f)](_0x3f4958);}};_0x10ebcc=_0x36d557([_0x287ce9(0x0,_0x3a09c4[_0x29bde7(0x1f3)]),_0x287ce9(0x1,_0x3a09c4[_0x29bde7(0x315)]),_0x287ce9(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e9418[_0x29bde7(0x11e)]))],_0x10ebcc);class _0x18c0ae extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0xfa6ab9=_0x29bde7;super(),_0x9f87fa(this,_0xfa6ab9(0x2a8)),this['urlChange$']=_0x41fba3[_0xfa6ab9(0x18f)](window,'popstate')[_0xfa6ab9(0x2e5)](_0x41fba3[_0xfa6ab9(0x306)](this['dispose$']),_0x41fba3['shareReplay'](0x1),_0x41fba3[_0xfa6ab9(0xfa)](void 0x0));}[_0x29bde7(0x343)](_0x293c15,_0x58ebd6,_0x187a54=!0x1){const _0x5a188f=_0x29bde7,_0x5f1f2a=new URL(window[_0x5a188f(0x113)]['href']);_0x5f1f2a['searchParams'][_0x5a188f(0x2d5)](_0x293c15,_0x58ebd6),_0x187a54?window['history'][_0x5a188f(0x28f)]('','',_0x5f1f2a['toString']()):window[_0x5a188f(0x206)][_0x5a188f(0x132)]('','',_0x5f1f2a[_0x5a188f(0x349)]());}[_0x29bde7(0x272)](_0x3e3b87,_0x487dfb=!0x1){const _0x3b690f=_0x29bde7,_0xddaaf7=new URL(window[_0x3b690f(0x113)][_0x3b690f(0x234)]);_0xddaaf7['searchParams'][_0x3b690f(0x35e)](_0x3e3b87),_0x487dfb?window[_0x3b690f(0x206)]['replaceState']('','',_0xddaaf7[_0x3b690f(0x349)]()):window[_0x3b690f(0x206)][_0x3b690f(0x132)]('','',_0xddaaf7[_0x3b690f(0x349)]());}[_0x29bde7(0x154)](_0x4a7ea5){const _0x4dcdc6=_0x29bde7;var _0x4e3022;return(_0x4e3022=new URL(window['location'][_0x4dcdc6(0x234)])['searchParams'][_0x4dcdc6(0x31d)](_0x4a7ea5))!=null?_0x4e3022:void 0x0;}}var _0x40d0a6=Object[_0x29bde7(0x340)],_0x4cf4cb=Object['getOwnPropertyDescriptor'],_0x4e65bd=(_0x3bed3f,_0x417391,_0x17c5b2)=>_0x417391 in _0x3bed3f?_0x40d0a6(_0x3bed3f,_0x417391,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17c5b2}):_0x3bed3f[_0x417391]=_0x17c5b2,_0x362661=(_0x3d7015,_0x1a0a69,_0x4b50b4,_0x3ab994)=>{for(var _0xbe30bb=_0x3ab994>0x1?void 0x0:_0x3ab994?_0x4cf4cb(_0x1a0a69,_0x4b50b4):_0x1a0a69,_0x21aa17=_0x3d7015['length']-0x1,_0x5d7aa9;_0x21aa17>=0x0;_0x21aa17--)(_0x5d7aa9=_0x3d7015[_0x21aa17])&&(_0xbe30bb=_0x5d7aa9(_0xbe30bb)||_0xbe30bb);return _0xbe30bb;},_0x6ce988=(_0x859eb4,_0x59af9e)=>(_0x25350f,_0x2a4772)=>_0x59af9e(_0x25350f,_0x2a4772,_0x859eb4),_0xa9b818=(_0x5b9cb2,_0x1bc10d,_0x4e5f5e)=>_0x4e65bd(_0x5b9cb2,_0x1bc10d+'',_0x4e5f5e);const _0x4a74e3=_0x29bde7(0x1df);_0x1e8a5b[_0x29bde7(0xf9)]=class extends _0x3a09c4['Plugin']{constructor(_0x133867=_0x2c5eff,_0x2c50f6,_0x17fd8a,_0x18cbc8){const _0x395517=_0x29bde7;super(),this[_0x395517(0x194)]=_0x133867,this[_0x395517(0x146)]=_0x2c50f6,this[_0x395517(0x247)]=_0x17fd8a,this[_0x395517(0x219)]=_0x18cbc8;const {..._0x262aba}=_0x3a09c4['merge']({},_0x2c5eff,this[_0x395517(0x194)]);this['_configService'][_0x395517(0x3af)](_0x2d74b1,_0x262aba);}[_0x29bde7(0x347)](){const _0x3249a5=_0x29bde7;this[_0x3249a5(0x33f)](),this[_0x3249a5(0x23a)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4f50d8=_0x29bde7;var _0x1a73fb;const _0x28e67a=[[_0x1acd06],[_0x353926],[_0x3628e2],[_0x5e0130],[_0xc132fe],[_0x3d295c],[_0x5c7e96,{'useClass':_0x18c0ae}],[_0x20de86['ISocketService'],{'useClass':_0x20de86[_0x4f50d8(0x2ca)]}],[_0x5e7c26[_0x4f50d8(0x355)],{'useClass':_0x10ebcc}],[_0x1e8a5b[_0x4f50d8(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x2763d1],[_0x43ac4d],[_0x1e8a5b[_0x4f50d8(0x242)]]];this['_config'][_0x4f50d8(0x3aa)]&&_0x28e67a[_0x4f50d8(0x174)]([_0x32a527]),_0x3a09c4[_0x4f50d8(0x39b)](this[_0x4f50d8(0x247)],_0x3a09c4[_0x4f50d8(0x2c0)](_0x28e67a,(_0x1a73fb=this[_0x4f50d8(0x194)])==null?void 0x0:_0x1a73fb[_0x4f50d8(0x14c)]));}[_0x29bde7(0xd0)](){const _0x43c60c=_0x29bde7;this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)]['registerRenderModule'](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0xec)],[_0x4ec09a])),this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)][_0x43c60c(0x17a)](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0x2aa)],[_0x27259b]));}[_0x29bde7(0x23a)](){const _0x13fc16=_0x29bde7;_0x3a09c4['touchDependencies'](this['_injector'],[[_0x2763d1],[_0x1e8a5b[_0x13fc16(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x1e8a5b['CollaborationDataLoaderController']],[_0x353926]]),this[_0x13fc16(0x194)][_0x13fc16(0x3aa)]&&_0x3a09c4[_0x13fc16(0x387)](this[_0x13fc16(0x247)],[[_0x32a527]]);}},_0xa9b818(_0x1e8a5b[_0x29bde7(0xf9)],_0x29bde7(0x2ee),_0x4a74e3),_0x1e8a5b[_0x29bde7(0xf9)]=_0x362661([_0x3a09c4[_0x29bde7(0x2b3)](_0x5e7c26['UniverCollaborationClientPlugin']),_0x6ce988(0x1,_0x271b4b[_0x29bde7(0xde)]),_0x6ce988(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x6ce988(0x3,_0x3a09c4['IConfigService'])],_0x1e8a5b[_0x29bde7(0xf9)]);var _0x58f851=Object['getOwnPropertyDescriptor'],_0x515c24=(_0x1393e3,_0x1eedb2,_0x42718c,_0x2ecd75)=>{for(var _0x374c44=_0x2ecd75>0x1?void 0x0:_0x2ecd75?_0x58f851(_0x1eedb2,_0x42718c):_0x1eedb2,_0x2f1f24=_0x1393e3['length']-0x1,_0x36db24;_0x2f1f24>=0x0;_0x2f1f24--)(_0x36db24=_0x1393e3[_0x2f1f24])&&(_0x374c44=_0x36db24(_0x374c44)||_0x374c44);return _0x374c44;},_0x349abe=(_0x4f04bd,_0x2eca08)=>(_0x3e37fb,_0x534a3e)=>_0x2eca08(_0x3e37fb,_0x534a3e,_0x4f04bd);_0x1e8a5b[_0x29bde7(0x13c)]=class extends _0x5e7c26['CollaborationSocketService']{constructor(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007){super(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007);}async[_0x29bde7(0x10e)](_0x2722fb){const _0x170255=_0x29bde7,_0x3fbae5=await this['_getSessionTicket'](),_0x3d751a=this['_createSocketURL'](_0x2722fb,_0x3fbae5);return this[_0x170255(0x278)](_0x3d751a);}[_0x29bde7(0x18b)](_0x2acf11,_0x3d2f68){const _0x8b325b=_0x29bde7,_0xff6a03=typeof window>'u'?new URL(_0x2acf11):new URL(_0x2acf11,window['location'][_0x8b325b(0x2be)]);_0xff6a03[_0x8b325b(0x254)]['set']('sessionTicket',_0x3d2f68);const _0x38ac96=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x38ac96[_0x8b325b(0x31d)](_0x8b325b(0x200))&&_0xff6a03[_0x8b325b(0x254)][_0x8b325b(0x2d5)](_0x8b325b(0x200),_0x38ac96['get'](_0x8b325b(0x200))),_0xff6a03[_0x8b325b(0x349)]();}async[_0x29bde7(0x29d)](){const _0x5b2f3b=_0x29bde7;var _0x46c27c,_0x571d12,_0x1b47e9;const _0x3b8afd=this['_configService']['getConfig'](_0x5e7c26[_0x5b2f3b(0x2c3)]),_0x28d8d4=(_0x46c27c=_0x3b8afd==null?void 0x0:_0x3b8afd[_0x5b2f3b(0xe8)])!=null?_0x46c27c:_0x5e7c26[_0x5b2f3b(0x16d)];return(_0x1b47e9=(_0x571d12=(await this[_0x5b2f3b(0x37f)][_0x5b2f3b(0x31d)](_0x28d8d4,{'headers':{'Content-Type':_0x5b2f3b(0x1d0)}}))['body'])==null?void 0x0:_0x571d12[_0x5b2f3b(0x394)])!=null?_0x1b47e9:'';}},_0x1e8a5b['BrowserCollaborationSocketService']=_0x515c24([_0x349abe(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x349abe(0x1,_0x3a09c4['Inject'](_0x20de86['HTTPService'])),_0x349abe(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x349abe(0x3,_0x3a09c4['ILogService']),_0x349abe(0x4,_0x5e9418['ISnapshotServerService'])],_0x1e8a5b[_0x29bde7(0x13c)]);var _0x3f6a8a=Object[_0x29bde7(0x224)],_0x798b80=(_0x3107e3,_0x11ede5,_0x60ba4e,_0x2f701d)=>{const _0x1d2085=_0x29bde7;for(var _0x6a827c=_0x2f701d>0x1?void 0x0:_0x2f701d?_0x3f6a8a(_0x11ede5,_0x60ba4e):_0x11ede5,_0x1cce90=_0x3107e3[_0x1d2085(0x257)]-0x1,_0x2bc55e;_0x1cce90>=0x0;_0x1cce90--)(_0x2bc55e=_0x3107e3[_0x1cce90])&&(_0x6a827c=_0x2bc55e(_0x6a827c)||_0x6a827c);return _0x6a827c;},_0x1b5bce=(_0x1d814a,_0x243f25)=>(_0x1cf4ad,_0x4c3959)=>_0x243f25(_0x1cf4ad,_0x4c3959,_0x1d814a);_0x1e8a5b[_0x29bde7(0x125)]=class extends _0x3a09c4['Disposable']{constructor(_0xed5a70,_0x2ee3b3,_0x46b998){const _0x454fe5=_0x29bde7;super(),this[_0x454fe5(0x1ad)]=_0xed5a70,this[_0x454fe5(0x37f)]=_0x2ee3b3,this[_0x454fe5(0x219)]=_0x46b998;}async['runOnServer'](_0xa81255,_0x4001ef,_0x4db5fd,..._0x2637ee){const _0x3d3569=_0x29bde7;var _0x58e2f3,_0x1c8760,_0x16fed7,_0x2b5764;const _0x20b803=this['_instanceService'][_0x3d3569(0x1bc)]();if(!_0x20b803)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1dba06=((_0x58e2f3=this[_0x3d3569(0x219)][_0x3d3569(0x19d)](_0x5e7c26['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x58e2f3:_0x5e7c26[_0x3d3569(0x2d1)])+'/'+_0xa81255+'/run/'+_0x4001ef,_0x24a444=new URL(window[_0x3d3569(0x113)][_0x3d3569(0x234)]),_0x3f4bdb={'scriptId':_0xa81255,'runId':(_0x1c8760=_0x24a444[_0x3d3569(0x254)][_0x3d3569(0x31d)](_0x3d3569(0x200)))!=null?_0x1c8760:'','function':_0x4001ef,'unitId':_0x20b803[_0x3d3569(0x348)](),'argsOfFunction':JSON['stringify'](_0x2637ee),'invokeId':(_0x16fed7=_0x4db5fd[_0x3d3569(0x2bd)])!=null?_0x16fed7:'','executionId':(_0x2b5764=_0x4db5fd[_0x3d3569(0x319)])!=null?_0x2b5764:''};try{const _0x2d40a4=await this[_0x3d3569(0x37f)][_0x3d3569(0x279)](_0x1dba06,{'body':_0x3f4bdb});return _0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]&&_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]['code']!==_0x2b04bc['OK']?_0x3d3569(0x2cd):_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x324)];}catch{return _0x3d3569(0x2cd);}}},_0x1e8a5b[_0x29bde7(0x125)]=_0x798b80([_0x1b5bce(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x1b5bce(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x1b5bce(0x2,_0x3a09c4[_0x29bde7(0x1f3)])],_0x1e8a5b[_0x29bde7(0x125)]);const _0x568b98=0x7530,_0x476747=_0x29bde7(0x26a);class _0x5a1ef8 extends _0x3a09c4[_0x29bde7(0x191)]{constructor(){const _0x152e36=_0x29bde7;super(),_0x9f87fa(this,_0x152e36(0x11b),_0x3a09c4[_0x152e36(0x382)]()),_0x9f87fa(this,_0x152e36(0x2dc),new Set()),_0x9f87fa(this,_0x152e36(0x367),new Map()),_0x9f87fa(this,_0x152e36(0x26d),null),_0x9f87fa(this,_0x152e36(0x1b3),new Map()),_0x9f87fa(this,_0x152e36(0x31c),new Map()),this['_init']();}[_0x29bde7(0x19f)](){const _0x17e505=_0x29bde7;super[_0x17e505(0x19f)](),this[_0x17e505(0x1b3)]['forEach']((_0x227c02,_0x3bc3cf)=>this[_0x17e505(0x177)](_0x3bc3cf)),this[_0x17e505(0x26d)]&&window[_0x17e505(0x2d6)](this[_0x17e505(0x26d)]);}[_0x29bde7(0x208)](_0xac6b7d){const _0x3b18d1=_0x29bde7;return this['_ensureSubject'](_0xac6b7d)[_0x3b18d1(0x2e5)](_0x41fba3[_0x3b18d1(0x34c)]());}[_0x29bde7(0x19e)](_0x6f973b){const _0x2dfc7b=_0x29bde7;this[_0x2dfc7b(0x2dc)][_0x2dfc7b(0xe4)]===0x0&&this[_0x2dfc7b(0x2f9)](),this[_0x2dfc7b(0x2dc)]['add'](_0x6f973b),this[_0x2dfc7b(0x362)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x6f973b],'isForwarded':!0x1});}[_0x29bde7(0x1ef)](_0x1a490e){const _0x29f810=_0x29bde7;this[_0x29f810(0x2dc)]['delete'](_0x1a490e),this['_selfUnitIDs'][_0x29f810(0xe4)]===0x0&&this[_0x29f810(0x26d)]&&window['clearInterval'](this[_0x29f810(0x26d)]);}[_0x29bde7(0x34b)](){const _0x34e0ec=_0x29bde7;this[_0x34e0ec(0x28e)](_0x3a09c4['toDisposable'](_0x41fba3['fromEvent'](window,_0x34e0ec(0x16c))[_0x34e0ec(0x359)](_0xe351ff=>{const _0x59214a=_0x34e0ec;if(_0xe351ff[_0x59214a(0x2b8)]!==_0x476747||!_0xe351ff['newValue'])return;const _0x51a041=JSON[_0x59214a(0x1de)](_0xe351ff[_0x59214a(0x232)]);this['_handleEvent'](_0x51a041);}))),window[_0x34e0ec(0x23e)]('unload',()=>this[_0x34e0ec(0x362)]({'type':0x1,'memberID':this[_0x34e0ec(0x11b)],'unitIDs':Array[_0x34e0ec(0xc9)](this[_0x34e0ec(0x2dc)])}));}[_0x29bde7(0x3a7)](_0x5763cc){const _0x32827b=_0x29bde7;switch(_0x5763cc[_0x32827b(0x1d7)]){case 0x0:this['_handleJoinEvent'](_0x5763cc);break;case 0x1:this[_0x32827b(0x1a6)](_0x5763cc);break;case 0x2:this[_0x32827b(0x2c5)](_0x5763cc);break;}}['_handleJoinEvent'](_0x1153e6){const _0x4ee3a5=_0x29bde7,{unitIDs:_0x1f5bbf,memberID:_0x200a64,isForwarded:_0x7e41bc}=_0x1153e6;_0x1f5bbf[_0x4ee3a5(0x27c)](_0x38f07d=>{const _0x2073b3=_0x4ee3a5;if(!_0x7e41bc&&this['_unitOnClients']['has'](_0x38f07d)&&this[_0x2073b3(0x322)](_0x38f07d)['next'](_0x5e7c26[_0x2073b3(0x30a)]['OTHER_CLIENTS_EDITING']),!this[_0x2073b3(0x367)][_0x2073b3(0x38d)](_0x38f07d)||!this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)['has'](_0x200a64)){const _0x4e72d6=this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)||new Set();_0x4e72d6[_0x2073b3(0x2b2)](_0x200a64),this[_0x2073b3(0x367)][_0x2073b3(0x2d5)](_0x38f07d,_0x4e72d6),this[_0x2073b3(0x20f)](_0x200a64);}}),_0x7e41bc||this['_send']({'type':0x0,'memberID':this[_0x4ee3a5(0x11b)],'unitIDs':[...this[_0x4ee3a5(0x2dc)]],'isForwarded':!0x0});}[_0x29bde7(0x20f)](_0x23646e){const _0x1c9721=_0x29bde7;this['_removeClearOtherTimer'](_0x23646e);const _0x1580a8=window[_0x1c9721(0x338)](()=>{const _0xa94e3c=_0x1c9721;this[_0xa94e3c(0x367)][_0xa94e3c(0x27c)](_0x58a876=>{const _0x54fea0=_0xa94e3c;_0x58a876[_0x54fea0(0x35e)](_0x23646e);});},_0x568b98*0x2);this[_0x1c9721(0x1b3)][_0x1c9721(0x2d5)](_0x23646e,_0x1580a8);}['_removeClearOtherTimer'](_0x29595){const _0x2f4fd1=_0x29bde7;if(this['_clearOtherTimers'][_0x2f4fd1(0x38d)](_0x29595)){const _0xfa1747=this[_0x2f4fd1(0x1b3)]['get'](_0x29595);_0xfa1747&&window[_0x2f4fd1(0x2fa)](_0xfa1747),this[_0x2f4fd1(0x1b3)][_0x2f4fd1(0x2d5)](_0x29595,null);}}[_0x29bde7(0x1a6)](_0x3ec245){const _0x634342=_0x29bde7,{memberID:_0x52529e,unitIDs:_0x5212aa}=_0x3ec245;_0x5212aa[_0x634342(0x27c)](_0x10ccbd=>{const _0x46faf0=_0x634342;var _0x49540a;const _0x83a62e=this[_0x46faf0(0x367)][_0x46faf0(0x31d)](_0x10ccbd);_0x83a62e&&(_0x83a62e[_0x46faf0(0x35e)](_0x52529e),(_0x49540a=this[_0x46faf0(0x322)](_0x10ccbd))==null||_0x49540a[_0x46faf0(0x1ea)](_0x83a62e[_0x46faf0(0xe4)]===0x0?_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0x380)]:_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0xcb)]));}),this[_0x634342(0x177)](_0x52529e);}[_0x29bde7(0x2c5)](_0xf91ef0){const _0x271436=_0x29bde7;this[_0x271436(0x20f)](_0xf91ef0[_0x271436(0x105)]);}['_send'](_0x577e97){localStorage['setItem'](_0x476747,JSON['stringify'](_0x577e97));}[_0x29bde7(0x2f9)](){const _0x3f8e08=_0x29bde7;this[_0x3f8e08(0x26d)]=window['setInterval'](()=>{const _0xdbfa94=_0x3f8e08;this['_send']({'type':0x2,'memberID':this[_0xdbfa94(0x11b)]});},_0x568b98);}[_0x29bde7(0x322)](_0x5aa104){const _0x4ea97c=_0x29bde7;return this[_0x4ea97c(0x31c)][_0x4ea97c(0x38d)](_0x5aa104)||this[_0x4ea97c(0x31c)][_0x4ea97c(0x2d5)](_0x5aa104,new _0x41fba3[(_0x4ea97c(0x31e))](_0x5e7c26['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x4ea97c(0x31c)][_0x4ea97c(0x31d)](_0x5aa104);}}_0x1e8a5b[_0x29bde7(0x250)]=_0x5c7e96,_0x1e8a5b[_0x29bde7(0x1b6)]=_0x526d2d,_0x1e8a5b[_0x29bde7(0x10c)]=_0x5a1ef8,_0x1e8a5b[_0x29bde7(0x15e)]=_0x18c0ae,Object['defineProperty'](_0x1e8a5b,Symbol[_0x29bde7(0x3b1)],{'value':'Module'});}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x5f05(){var _0x464426=['amd','248moaBDE','2268002CeuLBm','_injector','108ZjySlA','44682YtAPID','10fckGge','1222315WzAKsE','75453wxdFCX','@univerjs/core/facade','function','44001wKiPJd','1490121oBTddo','UniverCoreFacade','306992kWxbLk','12ZyKABQ','get','RemoteUniscriptService'];_0x5f05=function(){return _0x464426;};return _0x5f05();}function _0xe562(_0x26a52e,_0x34bbfb){_0x26a52e=_0x26a52e-0x146;var _0x5f054a=_0x5f05();var _0xe56226=_0x5f054a[_0x26a52e];return _0xe56226;}(function(_0xabb761,_0xbd4352){var _0x5b44b1=_0xe562,_0x26b027=_0xabb761();while(!![]){try{var _0x3b28e=-parseInt(_0x5b44b1(0x149))/0x1+parseInt(_0x5b44b1(0x152))/0x2+-parseInt(_0x5b44b1(0x14f))/0x3*(-parseInt(_0x5b44b1(0x148))/0x4)+parseInt(_0x5b44b1(0x14b))/0x5*(parseInt(_0x5b44b1(0x153))/0x6)+parseInt(_0x5b44b1(0x14c))/0x7*(-parseInt(_0x5b44b1(0x157))/0x8)+-parseInt(_0x5b44b1(0x150))/0x9*(parseInt(_0x5b44b1(0x14a))/0xa)+-parseInt(_0x5b44b1(0x146))/0xb;if(_0x3b28e===_0xbd4352)break;else _0x26b027['push'](_0x26b027['shift']());}catch(_0x807b56){_0x26b027['push'](_0x26b027['shift']());}}}(_0x5f05,0x46469),function(_0x1d0570,_0x49eb5a){var _0x125210=_0xe562;typeof exports=='object'&&typeof module<'u'?_0x49eb5a(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x125210(0x14e)&&define[_0x125210(0x156)]?define(['@univerjs-pro/collaboration-client-ui',_0x125210(0x14d)],_0x49eb5a):(_0x1d0570=typeof globalThis<'u'?globalThis:_0x1d0570||self,_0x49eb5a(_0x1d0570['UniverProCollaborationClientUi'],_0x1d0570[_0x125210(0x151)]));}(this,function(_0x358990,_0x879381){'use strict';class _0x7b4768 extends _0x879381['FUniver']{['runOnServer'](_0x1e883f,_0x3ba51b,..._0x27519b){var _0xe68683=_0xe562;return this[_0xe68683(0x147)][_0xe68683(0x154)](_0x358990[_0xe68683(0x155)])['runOnServer'](_0x1e883f,_0x3ba51b,{},..._0x27519b);}}_0x879381['FUniver']['extend'](_0x7b4768);}));
11
+ function _0x4c4f(_0x4daf18,_0x24d125){_0x4daf18=_0x4daf18-0x1a6;var _0x1688a6=_0x1688();var _0x4c4f85=_0x1688a6[_0x4daf18];return _0x4c4f85;}(function(_0x43f6cf,_0x421573){var _0x3f35be=_0x4c4f,_0x3b1543=_0x43f6cf();while(!![]){try{var _0x1e57d5=-parseInt(_0x3f35be(0x1b0))/0x1+parseInt(_0x3f35be(0x1ad))/0x2+parseInt(_0x3f35be(0x1a7))/0x3*(parseInt(_0x3f35be(0x1ae))/0x4)+parseInt(_0x3f35be(0x1ba))/0x5+parseInt(_0x3f35be(0x1a8))/0x6*(parseInt(_0x3f35be(0x1ab))/0x7)+parseInt(_0x3f35be(0x1b4))/0x8*(-parseInt(_0x3f35be(0x1ac))/0x9)+-parseInt(_0x3f35be(0x1b9))/0xa*(parseInt(_0x3f35be(0x1b2))/0xb);if(_0x1e57d5===_0x421573)break;else _0x3b1543['push'](_0x3b1543['shift']());}catch(_0x5dae08){_0x3b1543['push'](_0x3b1543['shift']());}}}(_0x1688,0x9f889),function(_0x2c2eda,_0x22aa4b){var _0x30b530=_0x4c4f;typeof exports=='object'&&typeof module<'u'?_0x22aa4b(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x30b530(0x1b7)]?define([_0x30b530(0x1b6),_0x30b530(0x1b1)],_0x22aa4b):(_0x2c2eda=typeof globalThis<'u'?globalThis:_0x2c2eda||self,_0x22aa4b(_0x2c2eda[_0x30b530(0x1b5)],_0x2c2eda[_0x30b530(0x1af)]));}(this,function(_0x2474d0,_0x264755){'use strict';var _0x36fc63=_0x4c4f;class _0x34bdce extends _0x264755[_0x36fc63(0x1aa)]{[_0x36fc63(0x1a6)](_0x5421f7,_0x92fa55,..._0x11041a){var _0x4c9632=_0x36fc63;return this[_0x4c9632(0x1b8)][_0x4c9632(0x1b3)](_0x2474d0[_0x4c9632(0x1a9)])['runOnServer'](_0x5421f7,_0x92fa55,{},..._0x11041a);}}_0x264755['FUniver']['extend'](_0x34bdce);}));function _0x1688(){var _0x2552ac=['1204022GdxFio','@univerjs/core/facade','1081289BvcsUi','get','232YmrcpU','UniverProCollaborationClientUi','@univerjs-pro/collaboration-client-ui','amd','_injector','70jyqQAh','4316985eJaQCy','runOnServer','15FvwJBm','138WLvNXz','RemoteUniscriptService','FUniver','209062ZCsFQK','261018XzRPbY','1758424UlETNX','765676repusk','UniverCoreFacade'];_0x1688=function(){return _0x2552ac;};return _0x1688();}
12
12
 
13
13
  // index
14
14
  (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));