@univerjs/preset-docs-collaboration 0.15.4 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x5de5(_0x9bc913,_0x460ace){_0x9bc913=_0x9bc913-0x1e2;var _0x270609=_0x2706();var _0x5de515=_0x270609[_0x9bc913];return _0x5de515;}(function(_0x30e466,_0xb3d3cd){var _0x390169=_0x5de5,_0x44eb35=_0x30e466();while(!![]){try{var _0x4a422e=parseInt(_0x390169(0x532))/0x1+-parseInt(_0x390169(0x4cb))/0x2*(parseInt(_0x390169(0x3d3))/0x3)+parseInt(_0x390169(0x292))/0x4+-parseInt(_0x390169(0x37e))/0x5*(parseInt(_0x390169(0x35a))/0x6)+-parseInt(_0x390169(0x540))/0x7+parseInt(_0x390169(0x2d9))/0x8*(-parseInt(_0x390169(0x28f))/0x9)+-parseInt(_0x390169(0x4a1))/0xa*(-parseInt(_0x390169(0x55c))/0xb);if(_0x4a422e===_0xb3d3cd)break;else _0x44eb35['push'](_0x44eb35['shift']());}catch(_0xa6b1cf){_0x44eb35['push'](_0x44eb35['shift']());}}}(_0x2706,0x96723),function(_0x4af40b,_0x4b0ae2){var _0x3cc42e=_0x5de5;typeof exports=='object'&&typeof module<'u'?_0x4b0ae2(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-pro/license'),require('@univerjs/drawing')):typeof define=='function'&&define[_0x3cc42e(0x53c)]?define(['exports',_0x3cc42e(0x386),_0x3cc42e(0x4cc),_0x3cc42e(0x4a2),'@univerjs/sheets',_0x3cc42e(0x458),'@univerjs/telemetry',_0x3cc42e(0x252),_0x3cc42e(0x552),'@univerjs-pro/license',_0x3cc42e(0x3e8)],_0x4b0ae2):(_0x4af40b=typeof globalThis<'u'?globalThis:_0x4af40b||self,_0x4b0ae2(_0x4af40b[_0x3cc42e(0x4ca)]={},_0x4af40b[_0x3cc42e(0x3d1)],_0x4af40b[_0x3cc42e(0x347)],_0x4af40b[_0x3cc42e(0x43e)],_0x4af40b[_0x3cc42e(0x579)],_0x4af40b['rxjs'],_0x4af40b[_0x3cc42e(0x21b)],_0x4af40b[_0x3cc42e(0x458)][_0x3cc42e(0x267)],_0x4af40b[_0x3cc42e(0x2fa)],_0x4af40b[_0x3cc42e(0x417)],_0x4af40b[_0x3cc42e(0x438)]));}(this,function(_0x8c8aef,_0x42a3bb,_0x363ba1,_0x4cce5a,_0x2b8f25,_0x20179e,_0x5c283b,_0xdf7425,_0x29ce40,_0x2dfe69,_0x5c9676){'use strict';var _0x171ee8=_0x5de5;var _0x5f3f7e=Object[_0x171ee8(0x233)],_0x4baf24=(_0x900774,_0x17ea05,_0x16fd8c)=>_0x17ea05 in _0x900774?_0x5f3f7e(_0x900774,_0x17ea05,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16fd8c}):_0x900774[_0x17ea05]=_0x16fd8c,_0x4d38ee=(_0x480989,_0x4216d6,_0x3f239a)=>_0x4baf24(_0x480989,typeof _0x4216d6!=_0x171ee8(0x41b)?_0x4216d6+'':_0x4216d6,_0x3f239a);const _0x3c19da=_0x171ee8(0x1e4),_0x3158d7=_0x171ee8(0x2cc),_0x5f2be9=_0x171ee8(0x4da),_0x2c60a6='/universer-api/user/session-ticket',_0x393504=_0x171ee8(0x3a1),_0x2393ea=_0x171ee8(0x468),_0x986301='RETRY_CONNECTING_MAX_COUNT',_0x158e13=_0x171ee8(0x497),_0x5ccf8e=_0x171ee8(0x35c),_0x3ecdad=_0x171ee8(0x4ae),_0x55d765='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x9d8416=_0x171ee8(0x576);var _0x3c366b=(_0x35e302=>(_0x35e302[_0x35e302['UNDEFINED']=0x0]=_0x171ee8(0x4c0),_0x35e302[_0x35e302['OK']=0x1]='OK',_0x35e302[_0x35e302['INTERNAL_ERROR']=0x2]=_0x171ee8(0x340),_0x35e302[_0x35e302[_0x171ee8(0x542)]=0x3]='PERMISSION_DENIED',_0x35e302[_0x35e302[_0x171ee8(0x42a)]=0x4]=_0x171ee8(0x42a),_0x35e302[_0x35e302[_0x171ee8(0x4f7)]=0x5]=_0x171ee8(0x4f7),_0x35e302[_0x35e302[_0x171ee8(0x314)]=0x6]='ALREADY_EXISTS',_0x35e302[_0x35e302[_0x171ee8(0x223)]=0x7]=_0x171ee8(0x223),_0x35e302[_0x35e302[_0x171ee8(0x299)]=0x8]=_0x171ee8(0x299),_0x35e302[_0x35e302[_0x171ee8(0x280)]=0x9]='COMPLETION_FINISHED',_0x35e302[_0x35e302[_0x171ee8(0x52d)]=0xa]=_0x171ee8(0x52d),_0x35e302[_0x35e302[_0x171ee8(0x220)]=0xb]=_0x171ee8(0x220),_0x35e302[_0x35e302[_0x171ee8(0x513)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x35e302[_0x35e302['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x171ee8(0x3d0),_0x35e302[_0x35e302['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x35e302[_0x35e302[_0x171ee8(0x49b)]=0xf]=_0x171ee8(0x49b),_0x35e302[_0x35e302['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x35e302[_0x35e302[_0x171ee8(0x313)]=0x64]=_0x171ee8(0x313),_0x35e302[_0x35e302[_0x171ee8(0x384)]=0x65]=_0x171ee8(0x384),_0x35e302[_0x35e302[_0x171ee8(0x49c)]=0xc9]=_0x171ee8(0x49c),_0x35e302[_0x35e302[_0x171ee8(0x38d)]=0xca]=_0x171ee8(0x38d),_0x35e302[_0x35e302[_0x171ee8(0x2c2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x35e302[_0x35e302[_0x171ee8(0x304)]=0x1771]=_0x171ee8(0x304),_0x35e302[_0x35e302[_0x171ee8(0x318)]=0x1772]=_0x171ee8(0x318),_0x35e302[_0x35e302[_0x171ee8(0x4e5)]=0x1773]=_0x171ee8(0x4e5),_0x35e302[_0x35e302[_0x171ee8(0x226)]=0x1b59]=_0x171ee8(0x226),_0x35e302[_0x35e302[_0x171ee8(0x3a9)]=0x1b5a]=_0x171ee8(0x3a9),_0x35e302[_0x35e302[_0x171ee8(0x4c2)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x35e302[_0x35e302[_0x171ee8(0x34b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x35e302[_0x35e302['APPLY_DUPLICATED']=0x1b5d]=_0x171ee8(0x337),_0x35e302[_0x35e302[_0x171ee8(0x29a)]=0x1f41]=_0x171ee8(0x29a),_0x35e302[_0x35e302[_0x171ee8(0x501)]=0x2329]=_0x171ee8(0x501),_0x35e302[_0x35e302['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x171ee8(0x592),_0x35e302[_0x35e302['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x171ee8(0x1f6),_0x35e302[_0x35e302['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x171ee8(0x3f7),_0x35e302[_0x35e302[_0x171ee8(0x422)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x35e302[_0x35e302[_0x171ee8(0x3a0)]=0x2711]=_0x171ee8(0x3a0),_0x35e302[_0x35e302[_0x171ee8(0x577)]=0x2712]=_0x171ee8(0x577),_0x35e302[_0x35e302[_0x171ee8(0x396)]=0x2713]=_0x171ee8(0x396),_0x35e302[_0x35e302['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x171ee8(0x40c),_0x35e302[_0x35e302[_0x171ee8(0x1ff)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x35e302[_0x35e302['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x171ee8(0x536),_0x35e302[_0x35e302[_0x171ee8(0x51c)]=0x271c]=_0x171ee8(0x51c),_0x35e302[_0x35e302['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x171ee8(0x208),_0x35e302[_0x35e302[_0x171ee8(0x24a)]=0x271e]=_0x171ee8(0x24a),_0x35e302[_0x35e302[_0x171ee8(0x57b)]=0x271f]=_0x171ee8(0x57b),_0x35e302[_0x35e302[_0x171ee8(0x507)]=0x2720]=_0x171ee8(0x507),_0x35e302[_0x35e302['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x171ee8(0x303),_0x35e302[_0x35e302['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x35e302[_0x35e302[_0x171ee8(0x2f6)]=0x2ee2]=_0x171ee8(0x2f6),_0x35e302[_0x35e302[_0x171ee8(0x559)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x35e302[_0x35e302[_0x171ee8(0x202)]=0x2ee4]=_0x171ee8(0x202),_0x35e302[_0x35e302[_0x171ee8(0x2f4)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x35e302[_0x35e302[_0x171ee8(0x34c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x35e302[_0x35e302[_0x171ee8(0x596)]=0x32ca]=_0x171ee8(0x596),_0x35e302[_0x35e302[_0x171ee8(0x341)]=0x32cb]=_0x171ee8(0x341),_0x35e302[_0x35e302['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x171ee8(0x228),_0x35e302[_0x35e302[_0x171ee8(0x23f)]=0x36b2]=_0x171ee8(0x23f),_0x35e302[_0x35e302[_0x171ee8(0x281)]=0x36b3]=_0x171ee8(0x281),_0x35e302[_0x35e302[_0x171ee8(0x581)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x35e302[_0x35e302[_0x171ee8(0x3bc)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x35e302[_0x35e302[_0x171ee8(0x484)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x35e302[_0x35e302[_0x171ee8(0x469)]=0x36b7]=_0x171ee8(0x469),_0x35e302[_0x35e302['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x171ee8(0x36a),_0x35e302[_0x35e302[_0x171ee8(0x50a)]=0x3715]=_0x171ee8(0x50a),_0x35e302[_0x35e302[_0x171ee8(0x54d)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x35e302[_0x35e302[_0x171ee8(0x38a)]=0x3717]=_0x171ee8(0x38a),_0x35e302[_0x35e302[_0x171ee8(0x588)]=0x37dd]=_0x171ee8(0x588),_0x35e302[_0x35e302['REDEMPTION_INVALID_CODE']=0x3a99]=_0x171ee8(0x22b),_0x35e302[_0x35e302[_0x171ee8(0x22c)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x35e302[_0x35e302[_0x171ee8(0x41c)]=0x3a9b]=_0x171ee8(0x41c),_0x35e302[_0x35e302[_0x171ee8(0x3f2)]=0x3a9c]=_0x171ee8(0x3f2),_0x35e302[_0x35e302[_0x171ee8(0x320)]=0x3a9d]=_0x171ee8(0x320),_0x35e302[_0x35e302['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x171ee8(0x435),_0x35e302[_0x35e302[_0x171ee8(0x266)]=0x3a9f]=_0x171ee8(0x266),_0x35e302[_0x35e302[_0x171ee8(0x2e5)]=0x3e81]=_0x171ee8(0x2e5),_0x35e302[_0x35e302[_0x171ee8(0x58b)]=-0x1]='UNRECOGNIZED',_0x35e302))(_0x3c366b||{}),_0x57859c=(_0x16d339=>(_0x16d339[_0x16d339[_0x171ee8(0x4df)]=0x0]=_0x171ee8(0x4df),_0x16d339[_0x16d339[_0x171ee8(0x57a)]=0x1]='UNIVER_DOC',_0x16d339[_0x16d339[_0x171ee8(0x3e1)]=0x2]=_0x171ee8(0x3e1),_0x16d339[_0x16d339['UNIVER_SLIDE']=0x3]=_0x171ee8(0x45a),_0x16d339[_0x16d339[_0x171ee8(0x3f5)]=0x4]=_0x171ee8(0x3f5),_0x16d339[_0x16d339[_0x171ee8(0x58b)]=-0x1]=_0x171ee8(0x58b),_0x16d339))(_0x57859c||{}),_0x1bfa56=(_0x3baa5a=>(_0x3baa5a[_0x3baa5a[_0x171ee8(0x24c)]=0x0]=_0x171ee8(0x24c),_0x3baa5a[_0x3baa5a[_0x171ee8(0x3d6)]=0x1]='HELLO',_0x3baa5a[_0x3baa5a[_0x171ee8(0x312)]=0x2]=_0x171ee8(0x312),_0x3baa5a[_0x3baa5a[_0x171ee8(0x284)]=0x3]=_0x171ee8(0x284),_0x3baa5a[_0x3baa5a[_0x171ee8(0x285)]=0x4]=_0x171ee8(0x285),_0x3baa5a[_0x3baa5a[_0x171ee8(0x354)]=0x5]=_0x171ee8(0x354),_0x3baa5a[_0x3baa5a[_0x171ee8(0x2a9)]=0x6]=_0x171ee8(0x2a9),_0x3baa5a[_0x3baa5a[_0x171ee8(0x58b)]=-0x1]=_0x171ee8(0x58b),_0x3baa5a))(_0x1bfa56||{}),_0x330981=(_0x22ee6b=>(_0x22ee6b[_0x22ee6b[_0x171ee8(0x3fa)]=0x0]='UNKNOWN_CODE',_0x22ee6b[_0x22ee6b['OK']=0x1]='OK',_0x22ee6b[_0x22ee6b['FAIL']=0x2]=_0x171ee8(0x451),_0x22ee6b[_0x22ee6b[_0x171ee8(0x31d)]=0x3e9]=_0x171ee8(0x31d),_0x22ee6b[_0x22ee6b['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x22ee6b[_0x22ee6b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x171ee8(0x541),_0x22ee6b[_0x22ee6b[_0x171ee8(0x255)]=0x3ec]=_0x171ee8(0x255),_0x22ee6b[_0x22ee6b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x22ee6b))(_0x330981||{}),_0x722b30=(_0x3e62fd=>(_0x3e62fd[_0x3e62fd[_0x171ee8(0x3f3)]=0x0]=_0x171ee8(0x3f3),_0x3e62fd[_0x3e62fd['HttpImport']=0x1]=_0x171ee8(0x421),_0x3e62fd[_0x3e62fd[_0x171ee8(0x2f5)]=0x2]=_0x171ee8(0x2f5),_0x3e62fd[_0x3e62fd[_0x171ee8(0x529)]=0x3]=_0x171ee8(0x529),_0x3e62fd[_0x3e62fd['UnitSnapshot']=0x4]=_0x171ee8(0x23a),_0x3e62fd[_0x3e62fd[_0x171ee8(0x48c)]=0x5]=_0x171ee8(0x48c),_0x3e62fd[_0x3e62fd[_0x171ee8(0x227)]=0x6]='ClipsheetFragments',_0x3e62fd[_0x3e62fd['UNRECOGNIZED']=-0x1]=_0x171ee8(0x58b),_0x3e62fd))(_0x722b30||{});const _0xde9144=_0x171ee8(0x30e);function _0x5b5a8c(_0x358a40){var _0x1449f9=_0x171ee8;return JSON['stringify'](_0x358a40)[_0x1449f9(0x56b)];}var _0x14e9f2=(_0x2e9970=>(_0x2e9970[_0x171ee8(0x431)]=_0x171ee8(0x431),_0x2e9970[_0x171ee8(0x542)]=_0x171ee8(0x542),_0x2e9970[_0x171ee8(0x2bd)]='CONFLICT',_0x2e9970[_0x171ee8(0x2e3)]=_0x171ee8(0x2e3),_0x2e9970[_0x171ee8(0x416)]=_0x171ee8(0x416),_0x2e9970['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x2e9970[_0x171ee8(0x3e9)]=_0x171ee8(0x3e9),_0x2e9970[_0x171ee8(0x2b3)]='SUBMIT_CHANGESET_TIMEOUT',_0x2e9970))(_0x14e9f2||{});class _0x280f51{constructor(){var _0x537b1e=_0x171ee8;_0x4d38ee(this,_0x537b1e(0x450),new _0x20179e[(_0x537b1e(0x4d3))]()),_0x4d38ee(this,'event$',this['_event$'][_0x537b1e(0x39c)]());}[_0x171ee8(0x3ff)](_0x172b41){var _0x44924e=_0x171ee8;this[_0x44924e(0x450)][_0x44924e(0x321)](_0x172b41);}}class _0x248fdf{constructor(){var _0x5e7887=_0x171ee8;_0x4d38ee(this,'_commentUpdate$',new _0x20179e[(_0x5e7887(0x4d3))]()),_0x4d38ee(this,_0x5e7887(0x4ce),this[_0x5e7887(0x437)][_0x5e7887(0x39c)]());}[_0x171ee8(0x41e)](_0x42acab){var _0x165bf7=_0x171ee8;this[_0x165bf7(0x437)][_0x165bf7(0x321)](_0x42acab);}}var _0x431bb5=Object[_0x171ee8(0x4a4)],_0x33f432=(_0x14d280,_0x2f3e2a,_0x279869,_0x2526a5)=>{var _0x31af86=_0x171ee8;for(var _0x594366=_0x2526a5>0x1?void 0x0:_0x2526a5?_0x431bb5(_0x2f3e2a,_0x279869):_0x2f3e2a,_0x37d0df=_0x14d280[_0x31af86(0x56b)]-0x1,_0x544a5e;_0x37d0df>=0x0;_0x37d0df--)(_0x544a5e=_0x14d280[_0x37d0df])&&(_0x594366=_0x544a5e(_0x594366)||_0x594366);return _0x594366;},_0x14d3c0=(_0x382cf9,_0x47d800)=>(_0x5b0f47,_0x25bed6)=>_0x47d800(_0x5b0f47,_0x25bed6,_0x382cf9);_0x8c8aef[_0x171ee8(0x392)]=class extends _0x363ba1[_0x171ee8(0x460)]{constructor(_0x440bf1,_0x1e0d44){var _0x521df0=_0x171ee8;super(),_0x4d38ee(this,'_roomMembers',new Map()),_0x4d38ee(this,_0x521df0(0x32c),new _0x20179e[(_0x521df0(0x4d3))]()),(this['_univerInstanceService']=_0x440bf1,this[_0x521df0(0x505)]=_0x1e0d44,this[_0x521df0(0x3f6)](_0x20179e[_0x521df0(0x560)](this[_0x521df0(0x556)][_0x521df0(0x44a)](_0x363ba1[_0x521df0(0x2a1)]['UNIVER_SHEET'])['pipe'](_0xdf7425['map'](_0x22cee9=>_0x22cee9[_0x521df0(0x2ac)]())),this[_0x521df0(0x556)][_0x521df0(0x44a)](_0x363ba1['UniverInstanceType'][_0x521df0(0x57a)])[_0x521df0(0x4cf)](_0xdf7425[_0x521df0(0x4c1)](_0x1526e4=>_0x1526e4[_0x521df0(0x2ac)]())),this[_0x521df0(0x556)][_0x521df0(0x44a)](_0x363ba1[_0x521df0(0x2a1)][_0x521df0(0x45a)])[_0x521df0(0x4cf)](_0xdf7425[_0x521df0(0x4c1)](_0x26f5c7=>_0x26f5c7[_0x521df0(0x2ac)]())))['subscribe'](_0x39d660=>this[_0x521df0(0x32f)](_0x39d660))));}[_0x171ee8(0x2bc)](_0x190303){var _0x55d7ae=_0x171ee8;return this[_0x55d7ae(0x555)][_0x55d7ae(0x215)](_0x190303)?_0x20179e['of'](this[_0x55d7ae(0x555)][_0x55d7ae(0x374)](_0x190303)):this[_0x55d7ae(0x32c)][_0x55d7ae(0x4cf)](_0xdf7425[_0x55d7ae(0x4c1)](_0x546cb0=>{var _0x22f425=_0x55d7ae;if(_0x546cb0===_0x190303)return this[_0x22f425(0x555)][_0x22f425(0x374)](_0x546cb0);}));}[_0x171ee8(0x4eb)](_0x3ae024){this['_userManagerService']['setCurrentUser'](_0x3ae024);}[_0x171ee8(0x3ad)](){var _0x537c52=_0x171ee8;return this['_userManagerService'][_0x537c52(0x3ad)]();}[_0x171ee8(0x1f3)](_0x24e767,_0x3691af){var _0x10488c=_0x171ee8;let _0x522816=this[_0x10488c(0x555)][_0x10488c(0x374)](_0x24e767);_0x522816||(_0x522816=new _0xb6fd4e(),this[_0x10488c(0x555)][_0x10488c(0x3db)](_0x24e767,_0x522816),this[_0x10488c(0x32c)][_0x10488c(0x321)](_0x24e767)),_0x522816[_0x10488c(0x1f3)](_0x3691af);}[_0x171ee8(0x371)](_0x1e3042,_0x4a176a){var _0x15f4dd=_0x171ee8;const _0x2f41fa=this[_0x15f4dd(0x555)][_0x15f4dd(0x374)](_0x1e3042);_0x2f41fa&&_0x2f41fa[_0x15f4dd(0x371)](_0x4a176a);}[_0x171ee8(0x209)](_0x507109){var _0x288b5f=_0x171ee8;return this[_0x288b5f(0x555)][_0x288b5f(0x374)](_0x507109);}['getMember'](_0x3365aa,_0x55a0f4){var _0x2605a5=_0x171ee8;const _0x44b38c=this[_0x2605a5(0x555)][_0x2605a5(0x374)](_0x3365aa);if(_0x44b38c)return _0x44b38c[_0x2605a5(0x32e)](_0x55a0f4);}['_removeRoom'](_0x541663){var _0x3c1937=_0x171ee8;const _0x3fa39d=this['_roomMembers'][_0x3c1937(0x374)](_0x541663);_0x3fa39d&&(_0x3fa39d[_0x3c1937(0x24d)](),this[_0x3c1937(0x555)][_0x3c1937(0x2c4)](_0x541663));}[_0x171ee8(0x24d)](){var _0x4d9a0a=_0x171ee8;this['_roomMembers'][_0x4d9a0a(0x3ef)](_0x252566=>_0x252566['dispose']()),this[_0x4d9a0a(0x555)][_0x4d9a0a(0x55a)](),this[_0x4d9a0a(0x32c)][_0x4d9a0a(0x2b1)]();}},_0x8c8aef[_0x171ee8(0x392)]=_0x33f432([_0x14d3c0(0x0,_0x363ba1[_0x171ee8(0x34a)]),_0x14d3c0(0x1,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x433)]))],_0x8c8aef[_0x171ee8(0x392)]);class _0xb6fd4e extends _0x363ba1[_0x171ee8(0x460)]{constructor(){var _0x2901c2=_0x171ee8;super(...arguments),_0x4d38ee(this,_0x2901c2(0x3fd),new Map()),_0x4d38ee(this,_0x2901c2(0x376),new _0x20179e[(_0x2901c2(0x551))](this[_0x2901c2(0x3fd)])),_0x4d38ee(this,_0x2901c2(0x3a3),this[_0x2901c2(0x376)][_0x2901c2(0x39c)]());}[_0x171ee8(0x24d)](){var _0x142f28=_0x171ee8;this[_0x142f28(0x3fd)][_0x142f28(0x55a)]();}[_0x171ee8(0x1f3)](_0x53b377){var _0x1e2f79=_0x171ee8;this[_0x1e2f79(0x3fd)]['set'](_0x53b377[_0x1e2f79(0x249)],_0x53b377),this['_emitMembers']();}['removeMember'](_0xb4d068){var _0x285718=_0x171ee8;this[_0x285718(0x3fd)][_0x285718(0x2c4)](_0xb4d068);}[_0x171ee8(0x32e)](_0x3fc4f2){var _0x280dcc=_0x171ee8;return this['_members'][_0x280dcc(0x374)](_0x3fc4f2);}[_0x171ee8(0x333)](){var _0x29af75=_0x171ee8;return Array[_0x29af75(0x35b)](this[_0x29af75(0x3fd)][_0x29af75(0x488)]());}[_0x171ee8(0x272)](){var _0x1852b5=_0x171ee8;this[_0x1852b5(0x376)][_0x1852b5(0x321)](this['_members']);}}var _0x2d1a84=Object['getOwnPropertyDescriptor'],_0x40a73d=(_0x4965da,_0x4f4144,_0x3e332f,_0x42e830)=>{var _0x2dd5ea=_0x171ee8;for(var _0x50efff=_0x42e830>0x1?void 0x0:_0x42e830?_0x2d1a84(_0x4f4144,_0x3e332f):_0x4f4144,_0x40707d=_0x4965da[_0x2dd5ea(0x56b)]-0x1,_0x1bc2b0;_0x40707d>=0x0;_0x40707d--)(_0x1bc2b0=_0x4965da[_0x40707d])&&(_0x50efff=_0x1bc2b0(_0x50efff)||_0x50efff);return _0x50efff;},_0x4b6a2b=(_0x57aa71,_0x50d73a)=>(_0x4b3f06,_0x379691)=>_0x50d73a(_0x4b3f06,_0x379691,_0x57aa71),_0x513956=(_0x39b37f=>(_0x39b37f[_0x39b37f[_0x171ee8(0x44d)]=0x0]='IDLE',_0x39b37f[_0x39b37f[_0x171ee8(0x56e)]=0x1]=_0x171ee8(0x56e),_0x39b37f[_0x39b37f['OFFLINE']=0x2]='OFFLINE',_0x39b37f[_0x39b37f[_0x171ee8(0x452)]=0x3]=_0x171ee8(0x452),_0x39b37f))(_0x513956||{});const _0x3b5013={[_0x330981[_0x171ee8(0x451)]]:_0x171ee8(0x3c2),[_0x330981[_0x171ee8(0x31d)]]:_0x171ee8(0x54e),[_0x330981[_0x171ee8(0x4f4)]]:_0x171ee8(0x3a4),[_0x330981[_0x171ee8(0x541)]]:_0x171ee8(0x383),[_0x330981[_0x171ee8(0x255)]]:_0x171ee8(0x350)};_0x8c8aef[_0x171ee8(0x514)]=class extends _0x363ba1[_0x171ee8(0x448)]{constructor(_0x2af155,_0x4fa884,_0x4d93c3,_0x349eef,_0x2b2656,_0xaf9364,_0x2f7194,_0x5869cb){var _0xe8d506=_0x171ee8;super(),_0x4d38ee(this,_0xe8d506(0x1f8),new _0x20179e[(_0xe8d506(0x551))](0x0)),_0x4d38ee(this,'sessionStatus$',this[_0xe8d506(0x1f8)][_0xe8d506(0x39c)]()),_0x4d38ee(this,_0xe8d506(0x450),new _0x20179e[(_0xe8d506(0x4d3))]()),_0x4d38ee(this,_0xe8d506(0x305),this[_0xe8d506(0x450)][_0xe8d506(0x39c)]()),_0x4d38ee(this,'_socket'),_0x4d38ee(this,_0xe8d506(0x2ff)),_0x4d38ee(this,_0xe8d506(0x1e6)),_0x4d38ee(this,_0xe8d506(0x3b3),!0x1),_0x4d38ee(this,_0xe8d506(0x268),null),(this[_0xe8d506(0x595)]=_0x2af155,this[_0xe8d506(0x4b9)]=_0x4d93c3,this[_0xe8d506(0x49f)]=_0x349eef,this['_memberService']=_0x2b2656,this[_0xe8d506(0x375)]=_0xaf9364,this['_collaborationUIEventService']=_0x2f7194,this[_0xe8d506(0x2a3)]=_0x5869cb,this[_0xe8d506(0x3b3)]=!!this[_0xe8d506(0x2a3)],_0x4fa884['pipe'](_0x20179e[_0xe8d506(0x251)](this[_0xe8d506(0x3c4)]))[_0xe8d506(0x278)](_0x2684db=>{var _0x2c2ab4=_0xe8d506,_0x359a14;typeof _0x2684db>'u'||(this['_socket']=_0x2684db,_0x2684db?(this[_0x2c2ab4(0x487)](_0x2684db),this[_0x2c2ab4(0x2ff)]=_0x2684db[_0x2c2ab4(0x3d7)][_0x2c2ab4(0x278)](_0xb66fb5=>{var _0x741c5e=_0x2c2ab4;_0xb66fb5[_0x741c5e(0x502)]===this[_0x741c5e(0x595)]&&this[_0x741c5e(0x51e)](_0xb66fb5);})):(this[_0x2c2ab4(0x200)](),this[_0x2c2ab4(0x1f8)]['next'](0x2),(_0x359a14=this[_0x2c2ab4(0x2ff)])==null||_0x359a14[_0x2c2ab4(0x239)](),this[_0x2c2ab4(0x2ff)]=null));}));}get['sessionStatus'](){var _0x4795d7=_0x171ee8;return this[_0x4795d7(0x1f8)]['getValue']();}[_0x171ee8(0x409)](){var _0x5b2ab4=_0x171ee8,_0x1971de,_0x3ab47e;return(_0x3ab47e=(_0x1971de=this[_0x5b2ab4(0x2c1)])==null?void 0x0:_0x1971de[_0x5b2ab4(0x249)])!=null?_0x3ab47e:null;}[_0x171ee8(0x24d)](){var _0x17d830=_0x171ee8;super[_0x17d830(0x24d)](),this[_0x17d830(0x3c4)][_0x17d830(0x321)](),this[_0x17d830(0x3c4)]['complete']();}[_0x171ee8(0x565)](){var _0x755d3e=_0x171ee8,_0xcd4c50,_0x3fbe87;this[_0x755d3e(0x200)](),(_0xcd4c50=this[_0x755d3e(0x2c1)])==null||_0xcd4c50['send']({'cmd':_0x1bfa56[_0x755d3e(0x284)],'data':{'roomID':this[_0x755d3e(0x595)]}}),(_0x3fbe87=this[_0x755d3e(0x2c1)])==null||_0x3fbe87[_0x755d3e(0x565)](),this[_0x755d3e(0x450)][_0x755d3e(0x2b1)](),this[_0x755d3e(0x1f8)][_0x755d3e(0x2b1)](),this[_0x755d3e(0x24d)]();}[_0x171ee8(0x51e)](_0x1689a2){var _0x21e15e=_0x171ee8;_0x1689a2[_0x21e15e(0x204)]===_0x1bfa56[_0x21e15e(0x312)]?this[_0x21e15e(0x3f8)](_0x1689a2):_0x1689a2['cmd']===_0x1bfa56[_0x21e15e(0x2a9)]&&this['_onRecvEvent'](_0x1689a2);}[_0x171ee8(0x487)](_0x3b4d0e){var _0x204237=_0x171ee8;this[_0x204237(0x1f8)][_0x204237(0x321)](0x1),_0x3b4d0e[_0x204237(0x245)]({'cmd':_0x1bfa56['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x171ee8(0x3f8)](_0x58a553){var _0x307de6=_0x171ee8,_0x51b316;if(_0x58a553['code']in _0x3b5013){this[_0x307de6(0x557)]['emitEvent']({'id':_0x14e9f2[_0x307de6(0x416)],'data':_0x3b5013[_0x58a553[_0x307de6(0x3f9)]]}),this[_0x307de6(0x1f8)][_0x307de6(0x321)](0x2);return;}this[_0x307de6(0x1f8)][_0x307de6(0x321)](0x3);const _0xcfa5de=(_0x51b316=_0x58a553['data'][_0x307de6(0x562)][this[_0x307de6(0x595)]])==null?void 0x0:_0x51b316[_0x307de6(0x436)];_0xcfa5de&&_0xcfa5de[_0x307de6(0x3ef)](_0x3df3ff=>this[_0x307de6(0x1f7)][_0x307de6(0x1f3)](this[_0x307de6(0x595)],_0x3df3ff));}[_0x171ee8(0x2d0)](_0x40a2b9){var _0x2c924=_0x171ee8;try{const _0x213d79=_0x40a2b9['data'];switch(_0x213d79[_0x2c924(0x498)]){case _0x42a3bb['CollaborationEvent'][_0x2c924(0x242)]:this[_0x2c924(0x29f)](_0x213d79),this[_0x2c924(0x450)][_0x2c924(0x321)](_0x213d79);break;case _0x42a3bb[_0x2c924(0x335)][_0x2c924(0x4ad)]:this[_0x2c924(0x510)](_0x213d79),this['_event$'][_0x2c924(0x321)](_0x213d79);break;case _0x42a3bb[_0x2c924(0x335)][_0x2c924(0x2f7)]:case _0x42a3bb['CollaborationEvent'][_0x2c924(0x20e)]:this[_0x2c924(0x4ea)](),this[_0x2c924(0x4cd)](),this[_0x2c924(0x450)][_0x2c924(0x321)](_0x213d79);break;case _0x42a3bb[_0x2c924(0x335)][_0x2c924(0x4f2)]:this['_logService'][_0x2c924(0x49a)](_0x2c924(0x210)+JSON[_0x2c924(0x234)](_0x213d79)),this[_0x2c924(0x450)][_0x2c924(0x321)](_0x213d79);break;case _0x42a3bb[_0x2c924(0x335)][_0x2c924(0x2f1)]:this[_0x2c924(0x375)][_0x2c924(0x41e)](_0x213d79[_0x2c924(0x3fe)]),this[_0x2c924(0x450)][_0x2c924(0x321)](_0x213d79);break;default:this[_0x2c924(0x450)][_0x2c924(0x321)](_0x213d79);}}catch(_0x34293e){this['_logService'][_0x2c924(0x49a)](_0x34293e,_0x40a2b9);}}['_onUserJoin'](_0x127933){var _0x29e61f=_0x171ee8;this[_0x29e61f(0x1f7)][_0x29e61f(0x1f3)](this[_0x29e61f(0x595)],_0x127933[_0x29e61f(0x3fe)]);}[_0x171ee8(0x510)](_0x5b39dd){var _0x366166=_0x171ee8;this[_0x366166(0x1f7)][_0x366166(0x371)](this['_unitID'],_0x5b39dd[_0x366166(0x3fe)]['memberID']);}async[_0x171ee8(0x245)](_0x20582c,_0x15a560){var _0x43b2a2=_0x171ee8;if(this[_0x43b2a2(0x4dd)]!==0x3||!this[_0x43b2a2(0x2c1)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x20582c[_0x43b2a2(0x498)]===_0x42a3bb['CollaborationEvent'][_0x43b2a2(0x25c)]&&(this[_0x43b2a2(0x444)](),this[_0x43b2a2(0x578)](_0x20582c)),this[_0x43b2a2(0x2c1)]['send']({'cmd':_0x1bfa56[_0x43b2a2(0x285)],'routeKey':_0x15a560,'routeType':'','data':_0x20582c});}catch(_0x346639){this[_0x43b2a2(0x4b9)][_0x43b2a2(0x49a)](_0x346639);}}[_0x171ee8(0x444)](){var _0x2bb027=_0x171ee8,_0x86c59d;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x220d78=_0x5de5;this[_0x220d78(0x1e6)]=null,this[_0x220d78(0x557)][_0x220d78(0x3ff)]({'id':_0x14e9f2[_0x220d78(0x2b3)]});},(_0x86c59d=this[_0x2bb027(0x49f)][_0x2bb027(0x217)](_0x2393ea))!=null?_0x86c59d:0x4e20);}[_0x171ee8(0x4cd)](){var _0x367b6e=_0x171ee8;this[_0x367b6e(0x1e6)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x171ee8(0x578)](_0x54615e){var _0x3e8b41=_0x171ee8;if(!this[_0x3e8b41(0x3b3)])return;const {data:_0x126397}=_0x54615e,{unitID:_0x11dc74,changeset:_0x3b9357}=_0x126397,{mutations:_0x13bbd8,type:_0x55af40}=_0x3b9357;this[_0x3e8b41(0x268)]={'unitId':_0x11dc74,'type':_0x55af40,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x5b5a8c(_0x13bbd8)};}[_0x171ee8(0x4ea)](){var _0x46c114=_0x171ee8;if(this[_0x46c114(0x3b3)]){if(!this['_telemetryInfo']){this['_logService'][_0x46c114(0x49a)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x46c114(0x268)][_0x46c114(0x353)]=performance[_0x46c114(0x1ed)](),this[_0x46c114(0x268)][_0x46c114(0x240)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo']['startTime'],this[_0x46c114(0x2a3)][_0x46c114(0x574)](_0xde9144,this[_0x46c114(0x268)]),this[_0x46c114(0x268)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4bd859=_0x171ee8;this[_0x4bd859(0x268)]=null;}},_0x8c8aef['CollaborationSession']=_0x40a73d([_0x4b6a2b(0x2,_0x363ba1[_0x171ee8(0x295)]),_0x4b6a2b(0x3,_0x363ba1[_0x171ee8(0x429)]),_0x4b6a2b(0x4,_0x363ba1['Inject'](_0x8c8aef['MemberService'])),_0x4b6a2b(0x5,_0x363ba1[_0x171ee8(0x235)](_0x248fdf)),_0x4b6a2b(0x6,_0x363ba1['Inject'](_0x280f51)),_0x4b6a2b(0x7,_0x363ba1['Optional'](_0x5c283b[_0x171ee8(0x39a)]))],_0x8c8aef[_0x171ee8(0x514)]);const _0x2161a0=_0x363ba1['createIdentifier'](_0x171ee8(0x465));function _0x2b3633(_0x393668){var _0x1da0b1=_0x171ee8;return _0x1da0b1(0x45c)+_0x393668;}var _0x1f6323=Object[_0x171ee8(0x4a4)],_0xac32dd=(_0x3da539,_0x36ccba,_0x1e4be6,_0x4b2355)=>{var _0x57acee=_0x171ee8;for(var _0x38c756=_0x4b2355>0x1?void 0x0:_0x4b2355?_0x1f6323(_0x36ccba,_0x1e4be6):_0x36ccba,_0x40dab2=_0x3da539[_0x57acee(0x56b)]-0x1,_0x482ed6;_0x40dab2>=0x0;_0x40dab2--)(_0x482ed6=_0x3da539[_0x40dab2])&&(_0x38c756=_0x482ed6(_0x38c756)||_0x38c756);return _0x38c756;},_0x3e9616=(_0x21d46e,_0x4e9841)=>(_0x13c15b,_0x4f91f8)=>_0x4e9841(_0x13c15b,_0x4f91f8,_0x21d46e);function _0x10e932(_0x902bb9){var _0x25eb37=_0x171ee8;const {unitID:_0x4dbc0b,mutations:_0x5962aa}=_0x902bb9;return{'unitId':_0x4dbc0b,'subUnitId':_0x5962aa[_0x25eb37(0x56b)]>0x0?_0x5962aa[0x0]['params'][_0x25eb37(0x300)]:null};}_0x8c8aef['SheetTransformSelectionsService']=class{constructor(_0x2c5cdc,_0xdf0811,_0x1b5485){var _0x1ea67e=_0x171ee8;this[_0x1ea67e(0x2cd)]=_0x2c5cdc,this[_0x1ea67e(0x42d)]=_0xdf0811,this[_0x1ea67e(0x23e)]=_0x1b5485;}[_0x171ee8(0x50b)](_0x3751d8){var _0x1061cd=_0x171ee8,_0x49de4d,_0x141805,_0x2fd718,_0x424523;const _0x32ace7=this[_0x1061cd(0x2cd)]['get'](_0x2b8f25[_0x1061cd(0x35e)]),{unitId:_0x5dd63d,subUnitId:_0x52f219}=_0x10e932(_0x3751d8),_0x2713eb=_0x32ace7==null?void 0x0:_0x32ace7[_0x1061cd(0x33c)](_0x5dd63d)[_0x1061cd(0x3a5)](),_0x6948e3=(_0x141805=(_0x49de4d=this['_instanceService'][_0x1061cd(0x478)](_0x5dd63d))==null?void 0x0:_0x49de4d[_0x1061cd(0x294)]())==null?void 0x0:_0x141805[_0x1061cd(0x2a4)]();if(_0x2713eb['length']===0x0||!_0x5dd63d||!_0x52f219)return;const _0x3b7779=[{'id':_0x2b8f25[_0x1061cd(0x279)]['id'],'params':{'unitId':_0x5dd63d,'subUnitId':_0x6948e3,'selections':_0x363ba1['Tools'][_0x1061cd(0x3c6)](_0x2713eb)}}],_0x427bbe=this['_transformService']['transformMutationsWithChangeset'](_0x3751d8,_0x3b7779);if(!_0x42a3bb[_0x1061cd(0x466)](_0x427bbe))throw _0x427bbe[_0x1061cd(0x49a)];const _0xc229b4=(_0x424523=(_0x2fd718=_0x427bbe[_0x1061cd(0x3dc)][0x0])==null?void 0x0:_0x2fd718['params'])==null?void 0x0:_0x424523[_0x1061cd(0x2c3)];if(Array[_0x1061cd(0x481)](_0xc229b4)&&_0xc229b4[_0x1061cd(0x56b)]){if(_0xc229b4[_0x1061cd(0x56b)]===_0x3b7779[0x0][_0x1061cd(0x50d)][_0x1061cd(0x2c3)][_0x1061cd(0x56b)]&&_0xc229b4[_0x1061cd(0x218)]((_0x3a343b,_0x3c4c8e)=>_0x363ba1[_0x1061cd(0x309)][_0x1061cd(0x381)](_0x3a343b[_0x1061cd(0x365)],_0x3b7779[0x0][_0x1061cd(0x50d)][_0x1061cd(0x2c3)][_0x3c4c8e][_0x1061cd(0x365)])))return;this[_0x1061cd(0x2cd)][_0x1061cd(0x374)](_0x363ba1['ICommandService'])['executeCommand'](_0x2b8f25[_0x1061cd(0x279)]['id'],{'unitId':_0x5dd63d,'subUnitId':_0x6948e3,'selections':_0xc229b4});}}},_0x8c8aef[_0x171ee8(0x22f)]=_0xac32dd([_0x3e9616(0x0,_0x363ba1[_0x171ee8(0x235)](_0x363ba1['Injector'])),_0x3e9616(0x1,_0x42a3bb['ITransformService']),_0x3e9616(0x2,_0x363ba1[_0x171ee8(0x34a)])],_0x8c8aef['SheetTransformSelectionsService']);const _0x479ef7=_0x363ba1['createIdentifier'](_0x171ee8(0x504));var _0x51824b=(_0x58672d=>(_0x58672d[_0x58672d[_0x171ee8(0x325)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x58672d[_0x58672d['OTHER_CLIENTS_EDITING']=0x1]=_0x171ee8(0x391),_0x58672d))(_0x51824b||{});const _0x55ab41=_0x171ee8(0x315),_0x1ec464={};function _0x7b2f1c(_0x5d2542){var _0xd139da=_0x171ee8,_0x4d0f8f;return!!((_0x4d0f8f=_0x5d2542[_0xd139da(0x50d)])!=null&&_0x4d0f8f[_0xd139da(0x41d)]);}const _0xbb1650=new Set([_0x2b8f25['InsertSheetMutation']['id']]);function _0x6e7db7(_0x4068b6,_0x3e7aa1,_0x3260b1,_0x5a768d,_0x240e4e){var _0x5a2828=_0x171ee8,_0x467e2d,_0x4b5e60,_0x567ae3,_0x1c72e3;const _0xebf8ce=[];for(const _0x20589c of _0x4068b6){if(_0xbb1650[_0x5a2828(0x215)](_0x20589c['id'])){if(_0xebf8ce[_0x5a2828(0x56b)]>0x0)break;_0xebf8ce[_0x5a2828(0x3de)](_0x20589c);break;}if(_0x7b2f1c(_0x20589c)){if(_0xebf8ce[_0x5a2828(0x56b)]>0x0)break;_0xebf8ce[_0x5a2828(0x3de)](_0x20589c);break;}_0xebf8ce[_0x5a2828(0x3de)](_0x20589c);}const _0x51a98a=(_0x4b5e60=(_0x467e2d=_0x240e4e[_0x5a2828(0x3ad)]())==null?void 0x0:_0x467e2d['userID'])!=null?_0x4b5e60:_0x5a2828(0x26a),_0x4e0f86=(_0x1c72e3=(_0x567ae3=_0x240e4e['getCurrentUser']())==null?void 0x0:_0x567ae3['memberID'])!=null?_0x1c72e3:_0x5a2828(0x26a);return{'changeset':{'unitID':_0x3e7aa1,'type':_0x42a3bb['mapDocumentTypeToUniverType'](_0x3260b1['getUnitType'](_0x3e7aa1)),'baseRev':_0x5a768d['getCurrentRevOfUnit'](_0x3e7aa1),'revision':0x0,'userID':_0x51a98a,'memberID':_0x4e0f86,'mutations':_0xebf8ce},'pendingMutations':_0x4068b6[_0x5a2828(0x39e)](_0xebf8ce[_0x5a2828(0x56b)])};}function _0x369cdb(_0x2aed57,_0x501358,_0x15d677,_0x43793c,_0x28ea26){var _0x4a1b8c=_0x171ee8,_0x569bc7,_0x5f40a8,_0x13d3bb,_0x3c9586;const _0x2489ff=[_0x2aed57[_0x4a1b8c(0x256)]((_0x14de91,_0x52ebf8)=>{var _0x4ad326=_0x4a1b8c,_0x1ff5ba;const {id:_0x5a0340}=_0x14de91,{id:_0x3f3fc6,type:_0x22523a}=_0x52ebf8,_0x425051=(_0x1ff5ba=_0x14de91[_0x4ad326(0x50d)])!=null?_0x1ff5ba:{'actions':null},_0x2f2e7e=_0x52ebf8[_0x4ad326(0x50d)];if(_0x5a0340&&_0x5a0340!==_0x3f3fc6)throw new Error(_0x4ad326(0x4bb)+_0x5a0340+_0x4ad326(0x55d)+_0x3f3fc6+'.');return{..._0x14de91,'id':_0x3f3fc6,'type':_0x22523a,'params':{'unitId':_0x2f2e7e[_0x4ad326(0x1ea)],'textRanges':_0x2f2e7e[_0x4ad326(0x3ec)],'actions':_0x363ba1[_0x4ad326(0x343)]['compose'](_0x425051[_0x4ad326(0x415)],_0x2f2e7e['actions'])}};},{})],_0xd96fba=(_0x5f40a8=(_0x569bc7=_0x28ea26[_0x4a1b8c(0x3ad)]())==null?void 0x0:_0x569bc7['userID'])!=null?_0x5f40a8:_0x4a1b8c(0x26a),_0x45efef=(_0x3c9586=(_0x13d3bb=_0x28ea26[_0x4a1b8c(0x3ad)]())==null?void 0x0:_0x13d3bb[_0x4a1b8c(0x249)])!=null?_0x3c9586:_0x4a1b8c(0x26a);return{'changeset':{'unitID':_0x501358,'type':_0x42a3bb['mapDocumentTypeToUniverType'](_0x15d677[_0x4a1b8c(0x232)](_0x501358)),'baseRev':_0x43793c['getCurrentRevOfUnit'](_0x501358),'revision':0x0,'userID':_0xd96fba,'memberID':_0x45efef,'mutations':_0x2489ff},'pendingMutations':[]};}function _0x226bf9(_0x5c87da,_0x2887f8){var _0x2b11b5=_0x171ee8;const _0x3c28e0=new _0x20179e[(_0x2b11b5(0x492))](0x1);return setTimeout(()=>_0x3c28e0[_0x2b11b5(0x321)](_0x2887f8),_0x5c87da),_0x3c28e0['asObservable']()[_0x2b11b5(0x4cf)](_0x20179e['take'](0x1));}var _0x1eee6b=Object['getOwnPropertyDescriptor'],_0x7b40ff=(_0x3d14e1,_0x4cb4ca,_0x37269c,_0x1a2a2b)=>{var _0x3733d2=_0x171ee8;for(var _0x4da14f=_0x1a2a2b>0x1?void 0x0:_0x1a2a2b?_0x1eee6b(_0x4cb4ca,_0x37269c):_0x4cb4ca,_0x54b126=_0x3d14e1[_0x3733d2(0x56b)]-0x1,_0x148a8f;_0x54b126>=0x0;_0x54b126--)(_0x148a8f=_0x3d14e1[_0x54b126])&&(_0x4da14f=_0x148a8f(_0x4da14f)||_0x4da14f);return _0x4da14f;},_0x2b731d=(_0x3bbaa2,_0x405ded)=>(_0xeb1e13,_0x12a348)=>_0x405ded(_0xeb1e13,_0x12a348,_0x3bbaa2),_0x48a677=(_0x4a7ec0=>(_0x4a7ec0['NOT_COLLAB']='not_collab',_0x4a7ec0[_0x171ee8(0x4b6)]=_0x171ee8(0x477),_0x4a7ec0[_0x171ee8(0x377)]=_0x171ee8(0x21a),_0x4a7ec0[_0x171ee8(0x30b)]=_0x171ee8(0x4ac),_0x4a7ec0[_0x171ee8(0x3da)]=_0x171ee8(0x4c8),_0x4a7ec0[_0x171ee8(0x356)]='fetch_missing',_0x4a7ec0['CONFLICT']=_0x171ee8(0x3e7),_0x4a7ec0[_0x171ee8(0x205)]=_0x171ee8(0x1e5),_0x4a7ec0))(_0x48a677||{});const _0x2a3a95=0x4e20,_0x16492b=0x2bf20;class _0x109f1b{constructor(_0x43caa7,_0x2186b4,_0x3fec3f,_0x2e4f4d,_0x2de618,_0x22f29e,_0x494595,_0x1a8d23,_0x4abbcf){var _0xfbff42=_0x171ee8;_0x4d38ee(this,_0xfbff42(0x45d),null),_0x4d38ee(this,_0xfbff42(0x248),[]),(this['unitID']=_0x43caa7,this[_0xfbff42(0x2ab)]=_0x2186b4,this[_0xfbff42(0x398)]=_0x2de618,this[_0xfbff42(0x308)]=_0x22f29e,this[_0xfbff42(0x52e)]=_0x494595,this[_0xfbff42(0x213)]=_0x1a8d23,this['_localCacheService']=_0x4abbcf,this[_0xfbff42(0x45d)]=_0x3fec3f,this[_0xfbff42(0x248)]=_0x2e4f4d);}[_0x171ee8(0x35f)](_0xb4a651){var _0x1ec324=_0x171ee8;const _0x27bd34=this[_0x1ec324(0x213)][_0x1ec324(0x3c3)](this[_0x1ec324(0x270)]);return _0xb4a651['revision']>_0x27bd34+0x1?(this[_0x1ec324(0x398)][_0x1ec324(0x2e8)]({'from':_0x27bd34,'to':_0xb4a651['revision']-0x1}),!0x0):!0x1;}[_0x171ee8(0x587)](_0x85f0a5){var _0x45a043=_0x171ee8;this[_0x45a043(0x52e)]['transformUndoRedo'](this[_0x45a043(0x270)],_0x85f0a5);}[_0x171ee8(0x2d4)](_0x36b1bd){var _0x29ec98=_0x171ee8,_0x25ed3c,_0x5d1bc2;(_0x5d1bc2=(_0x25ed3c=this[_0x29ec98(0x398)])[_0x29ec98(0x43d)])==null||_0x5d1bc2[_0x29ec98(0x411)](_0x25ed3c,_0x36b1bd);}['_transformIMECache'](_0x164b24){var _0x38b6ee=_0x171ee8,_0x308d5b,_0x308c92;return(_0x308c92=(_0x308d5b=this[_0x38b6ee(0x398)])[_0x38b6ee(0x274)])==null?void 0x0:_0x308c92[_0x38b6ee(0x411)](_0x308d5b,_0x164b24);}[_0x171ee8(0x4a9)](_0x1f6d4c){var _0x27328f=_0x171ee8,_0xa1473e,_0x249ca1;return(_0x249ca1=(_0xa1473e=this[_0x27328f(0x398)])[_0x27328f(0x4c5)])==null?void 0x0:_0x249ca1['call'](_0xa1473e,_0x1f6d4c);}[_0x171ee8(0x4d2)](_0xcfbda){var _0x56bd9d=_0x171ee8,_0x139365,_0xde2279,_0x541d9b;return(_0x541d9b=(_0xde2279=(_0x139365=this[_0x56bd9d(0x398)])[_0x56bd9d(0x40f)])==null?void 0x0:_0xde2279[_0x56bd9d(0x411)](_0x139365,_0xcfbda))!=null?_0x541d9b:_0xcfbda;}[_0x171ee8(0x3c0)](_0x2e4fd1){var _0x5de2b5=_0x171ee8,_0x5f0d32,_0x456620,_0x3f3056;return(_0x3f3056=(_0x456620=(_0x5f0d32=this['_handler'])[_0x5de2b5(0x310)])==null?void 0x0:_0x456620[_0x5de2b5(0x411)](_0x5f0d32,_0x2e4fd1))!=null?_0x3f3056:_0x2e4fd1;}[_0x171ee8(0x385)](_0x2fe281){var _0x1aa003=_0x171ee8,_0x5851ec,_0x3fd5a9;if(this['type']===_0x57859c[_0x1aa003(0x57a)]){const {unitID:_0x2342b4,mutations:_0x150d59,memberID:_0x394c04}=_0x2fe281,_0x2ac593=_0x150d59[_0x1aa003(0x56b)]>0x0?_0x150d59[0x0][_0x1aa003(0x50d)][_0x1aa003(0x3ec)]:[];Array[_0x1aa003(0x481)](_0x2ac593)&&_0x2ac593['length']>0x0&&((_0x3fd5a9=(_0x5851ec=this[_0x1aa003(0x398)])[_0x1aa003(0x1fc)])==null||_0x3fd5a9[_0x1aa003(0x411)](_0x5851ec,{'unitID':_0x2342b4,'memberID':_0x394c04,'textRanges':_0x2ac593}));}}['_updateLocalCache'](){var _0x502578=_0x171ee8,_0x50f99e;(_0x50f99e=this['_localCacheService'])==null||_0x50f99e[_0x502578(0x286)](this[_0x502578(0x270)],this[_0x502578(0x2ab)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x171ee8(0x3c7)](){var _0xcbc1fe=_0x171ee8;return this[_0xcbc1fe(0x213)][_0xcbc1fe(0x3c3)](this['unitID']);}[_0x171ee8(0x50e)](){var _0x2474df=_0x171ee8;this[_0x2474df(0x213)][_0x2474df(0x291)](this[_0x2474df(0x270)]);}[_0x171ee8(0x33b)](_0x4480a0){var _0x2a823e=_0x171ee8,_0x184878;let _0x3cc318=this[_0x2a823e(0x4d2)](_0x4480a0);_0x3cc318=this['_transformRemoteChangesetByStateCache'](_0x3cc318);const _0x16c302=_0x363ba1[_0x2a823e(0x441)](_0x3cc318[_0x2a823e(0x2d2)],this[_0x2a823e(0x308)],{'fromCollab':!0x0});if(!_0x16c302[_0x2a823e(0x57d)])throw _0x16c302[_0x2a823e(0x49a)]instanceof Error?_0x16c302[_0x2a823e(0x49a)]:new Error((_0x184878=_0x16c302[_0x2a823e(0x49a)])!=null?_0x184878:_0x2a823e(0x388));this[_0x2a823e(0x2ef)](_0x3cc318),this[_0x2a823e(0x4a9)](_0x3cc318),this['_transformUndoredo'](_0x4480a0),this[_0x2a823e(0x2d4)](_0x3cc318),this[_0x2a823e(0x385)](_0x3cc318),this[_0x2a823e(0x50e)]();}}_0x8c8aef[_0x171ee8(0x494)]=class extends _0x109f1b{constructor(_0x253ef8,_0x31a980,_0x3b9bd3,_0x4b5b2b,_0x178b34,_0x2c5471,_0x44d511,_0xa6601b,_0x296ba0,_0x503eb6){var _0x43fd34=_0x171ee8;super(_0x253ef8,_0x31a980,null,[],_0x3b9bd3,_0x44d511,_0x2c5471,_0x4b5b2b,_0x503eb6),_0x4d38ee(this,_0x43fd34(0x49e),_0x43fd34(0x477)),(this[_0x43fd34(0x2cd)]=_0x178b34,this[_0x43fd34(0x4b9)]=_0xa6601b,this[_0x43fd34(0x42d)]=_0x296ba0,this['localCacheService']=_0x503eb6);}['appendMutation'](_0x49837){var _0x4974a7=_0x171ee8;const _0x4b67f5=this['_injector'][_0x4974a7(0x4a3)](_0x8c8aef[_0x4974a7(0x2d5)],this[_0x4974a7(0x270)],this['type'],[_0x49837],this[_0x4974a7(0x398)]);return _0x4b67f5['_schedule'](),_0x4b67f5['_updateLocalCache'](),_0x4b67f5;}['onRemoteChangeset'](_0x6058b1){var _0x434db1=_0x171ee8;if(this['_checkMissing'](_0x6058b1))return this[_0x434db1(0x2cd)][_0x434db1(0x4a3)](_0x8c8aef['FetchingMissState'],this[_0x434db1(0x270)],this['type'],null,[],null,[_0x6058b1],this[_0x434db1(0x398)]);try{const _0x3455dc=this[_0x434db1(0x42d)][_0x434db1(0x59a)](_0x6058b1,[_0x42a3bb[_0x434db1(0x28d)]]);if(_0x42a3bb[_0x434db1(0x466)](_0x3455dc)){const {c1Prime:_0x5b6a54}=_0x3455dc;return this[_0x434db1(0x33b)](_0x5b6a54),this;}throw _0x3455dc[_0x434db1(0x49a)];}catch(_0x1be14c){return this[_0x434db1(0x4b9)]['error'](_0x1be14c),this[_0x434db1(0x449)](!0x1);}}[_0x171ee8(0x449)](_0x410e35){var _0x499553=_0x171ee8;return this[_0x499553(0x2cd)][_0x499553(0x4a3)](_0x8c8aef[_0x499553(0x1f9)],this['unitID'],this['type'],null,[],this[_0x499553(0x398)],_0x410e35);}['onRemoteAck'](){var _0x4f1837=_0x171ee8;throw new Error(_0x4f1837(0x401));}[_0x171ee8(0x3e3)](){var _0x5e8eea=_0x171ee8;throw new Error(_0x5e8eea(0x2e9));}[_0x171ee8(0x2a8)](){return this;}[_0x171ee8(0x32a)](){var _0x4f92ed=_0x171ee8;return this[_0x4f92ed(0x2cd)][_0x4f92ed(0x4a3)](_0x8c8aef['OfflineState'],this[_0x4f92ed(0x270)],this[_0x4f92ed(0x2ab)],null,[],this[_0x4f92ed(0x398)]);}[_0x171ee8(0x553)](){return this;}[_0x171ee8(0x4c7)](){var _0x1679a8=_0x171ee8;throw new Error(_0x1679a8(0x37f));}[_0x171ee8(0x476)](){var _0xa389de=_0x171ee8;const _0x5bf60e=this[_0xa389de(0x213)][_0xa389de(0x3c3)](this[_0xa389de(0x270)]);return this[_0xa389de(0x398)][_0xa389de(0x2e8)]({'from':_0x5bf60e,'to':0x0}),this['_injector']['createInstance'](_0x8c8aef[_0xa389de(0x3ac)],this['unitID'],this[_0xa389de(0x2ab)],null,[],null,[],this[_0xa389de(0x398)]);}},_0x8c8aef[_0x171ee8(0x494)]=_0x7b40ff([_0x2b731d(0x3,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x52a)])),_0x2b731d(0x4,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x467)])),_0x2b731d(0x5,_0x363ba1['IUndoRedoService']),_0x2b731d(0x6,_0x363ba1[_0x171ee8(0x51a)]),_0x2b731d(0x7,_0x363ba1['ILogService']),_0x2b731d(0x8,_0x42a3bb['ITransformService']),_0x2b731d(0x9,_0x363ba1[_0x171ee8(0x25e)](_0x2161a0))],_0x8c8aef[_0x171ee8(0x494)]),_0x8c8aef[_0x171ee8(0x2d5)]=class extends _0x109f1b{constructor(_0x5ebb0e,_0x486569,_0x1a657f,_0x17d0b8,_0x360590,_0xb8c684,_0x7534d5,_0xe72ee6,_0xca2675,_0x50979f,_0xe00a2f,_0x3ecbd5,_0x1474ab,_0x1afbb1){var _0x71ff1f=_0x171ee8;super(_0x5ebb0e,_0x486569,null,_0x1a657f,_0x17d0b8,_0xca2675,_0x1474ab,_0xb8c684,_0x1afbb1),_0x4d38ee(this,_0x71ff1f(0x49e),'pending'),_0x4d38ee(this,_0x71ff1f(0x3ed),null),_0x4d38ee(this,_0x71ff1f(0x2d6),null),(this[_0x71ff1f(0x2cd)]=_0x360590,this['_memberService']=_0x7534d5,this[_0x71ff1f(0x4b9)]=_0xe72ee6,this['_configService']=_0x50979f,this[_0x71ff1f(0x42d)]=_0xe00a2f,this[_0x71ff1f(0x556)]=_0x3ecbd5);}[_0x171ee8(0x387)](_0x24d54d){var _0x14839e=_0x171ee8;return this[_0x14839e(0x248)][_0x14839e(0x3de)](_0x24d54d),this[_0x14839e(0x4e6)](),this;}[_0x171ee8(0x54a)](_0x2702df){var _0x6c4bd0=_0x171ee8;if(this['_checkMissing'](_0x2702df))return this[_0x6c4bd0(0x4f5)](),this[_0x6c4bd0(0x2cd)][_0x6c4bd0(0x4a3)](_0x8c8aef['FetchingMissState'],this[_0x6c4bd0(0x270)],this[_0x6c4bd0(0x2ab)],null,this[_0x6c4bd0(0x248)],null,[_0x2702df],this[_0x6c4bd0(0x398)]);try{const _0x4644b4=this[_0x6c4bd0(0x42d)]['transformMutationsWithChangeset'](_0x2702df,this['_pendingMutations']);if(_0x42a3bb[_0x6c4bd0(0x466)](_0x4644b4)){const {c1Prime:_0x42356d,m2Prime:_0x49f59c}=_0x4644b4;this[_0x6c4bd0(0x33b)](_0x42356d);const _0x4b17f3=this[_0x6c4bd0(0x2cd)][_0x6c4bd0(0x4a3)](_0x8c8aef[_0x6c4bd0(0x2d5)],this[_0x6c4bd0(0x270)],this[_0x6c4bd0(0x2ab)],_0x49f59c,this[_0x6c4bd0(0x398)]);this[_0x6c4bd0(0x4f5)]();const _0x5a1718=new Date()[_0x6c4bd0(0x1e3)](),_0x14d5c3=this['_scheduleCompleteTimestamp']?Math[_0x6c4bd0(0x2b0)](this['_scheduleCompleteTimestamp']-_0x5a1718,0x0):this[_0x6c4bd0(0x546)]();return _0x4b17f3[_0x6c4bd0(0x373)](_0x14d5c3),_0x4b17f3;}throw _0x4644b4[_0x6c4bd0(0x49a)];}catch(_0xd96d51){return this[_0x6c4bd0(0x4b9)][_0x6c4bd0(0x49a)](_0xd96d51),this['_onConflict'](!0x1);}}[_0x171ee8(0x599)](){var _0x25a698=_0x171ee8;throw new Error(_0x25a698(0x360));}[_0x171ee8(0x3e3)](){var _0x5885e2=_0x171ee8;throw new Error(_0x5885e2(0x550));}[_0x171ee8(0x2a8)](){return this;}[_0x171ee8(0x32a)](){var _0x49f518=_0x171ee8;return this['_clearScheduledTask'](),this[_0x49f518(0x2cd)][_0x49f518(0x4a3)](_0x8c8aef[_0x49f518(0x27e)],this[_0x49f518(0x270)],this[_0x49f518(0x2ab)],null,this[_0x49f518(0x248)],this[_0x49f518(0x398)]);}['toggleOnline'](){return this;}[_0x171ee8(0x373)](_0x27a76e){var _0xcea68d=_0x171ee8;const _0x3da1fb=_0x27a76e!=null?_0x27a76e:this['_getSendChangesetTimeout']();this[_0xcea68d(0x3ed)]=new Date()['getTime']()+_0x3da1fb,this[_0xcea68d(0x2d6)]=setTimeout(()=>{var _0xd6c3da=_0xcea68d;this['_clearScheduledTask']();let _0x1d4eb4=null;switch(this[_0xd6c3da(0x2ab)]){case _0x57859c[_0xd6c3da(0x3e1)]:{_0x1d4eb4=_0x6e7db7(this[_0xd6c3da(0x248)],this[_0xd6c3da(0x270)],this[_0xd6c3da(0x556)],this['_revisionService'],this[_0xd6c3da(0x1f7)]);break;}case _0x57859c[_0xd6c3da(0x57a)]:{this[_0xd6c3da(0x248)][_0xd6c3da(0x218)](_0x374956=>_0x374956['id']===_0x4cce5a[_0xd6c3da(0x38f)]['id'])?_0x1d4eb4=_0x369cdb(this['_pendingMutations'],this[_0xd6c3da(0x270)],this[_0xd6c3da(0x556)],this[_0xd6c3da(0x213)],this['_memberService']):_0x1d4eb4=_0x6e7db7(this['_pendingMutations'],this[_0xd6c3da(0x270)],this[_0xd6c3da(0x556)],this[_0xd6c3da(0x213)],this[_0xd6c3da(0x1f7)]);break;}default:throw new Error(_0xd6c3da(0x457)+this[_0xd6c3da(0x2ab)]+'\x20in\x20_schedule.');}const {changeset:_0x4aa243,pendingMutations:_0x4e9405}=_0x1d4eb4;this[_0xd6c3da(0x398)][_0xd6c3da(0x33a)](_0x4aa243);const _0x30c1f5=_0x4e9405['length']?this[_0xd6c3da(0x2cd)][_0xd6c3da(0x4a3)](_0x8c8aef[_0xd6c3da(0x568)],this['unitID'],this[_0xd6c3da(0x2ab)],_0x4aa243,_0x4e9405,this['_handler'],void 0x0):this['_injector'][_0xd6c3da(0x4a3)](_0x8c8aef[_0xd6c3da(0x472)],this[_0xd6c3da(0x270)],this[_0xd6c3da(0x2ab)],_0x4aa243,this[_0xd6c3da(0x398)]);_0x30c1f5['_updateLocalCache'](),this[_0xd6c3da(0x398)][_0xd6c3da(0x524)](this,_0x30c1f5);},_0x3da1fb);}[_0x171ee8(0x546)](){var _0x358e4a=_0x171ee8,_0x4ef875;const _0x199f4d=this[_0x358e4a(0x49f)][_0x358e4a(0x217)](_0x55ab41);return(_0x4ef875=_0x199f4d==null?void 0x0:_0x199f4d[_0x358e4a(0x558)])!=null?_0x4ef875:0x7d0;}[_0x171ee8(0x4c7)](){var _0x31b357=_0x171ee8;throw new Error(_0x31b357(0x32b));}[_0x171ee8(0x4f5)](){var _0x29e561=_0x171ee8;this[_0x29e561(0x2d6)]!=null&&(clearTimeout(this[_0x29e561(0x2d6)]),this[_0x29e561(0x2d6)]=null);}[_0x171ee8(0x449)](_0x4386cf){var _0x2c7302=_0x171ee8;return this[_0x2c7302(0x4f5)](),this[_0x2c7302(0x2cd)][_0x2c7302(0x4a3)](_0x8c8aef[_0x2c7302(0x1f9)],this['unitID'],this[_0x2c7302(0x2ab)],null,this['_pendingMutations'],this[_0x2c7302(0x398)],_0x4386cf);}},_0x8c8aef['PendingState']=_0x7b40ff([_0x2b731d(0x4,_0x363ba1[_0x171ee8(0x235)](_0x363ba1['Injector'])),_0x2b731d(0x5,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x52a)])),_0x2b731d(0x6,_0x363ba1[_0x171ee8(0x235)](_0x8c8aef['MemberService'])),_0x2b731d(0x7,_0x363ba1['ILogService']),_0x2b731d(0x8,_0x363ba1['ICommandService']),_0x2b731d(0x9,_0x363ba1['IConfigService']),_0x2b731d(0xa,_0x42a3bb[_0x171ee8(0x4f6)]),_0x2b731d(0xb,_0x363ba1[_0x171ee8(0x34a)]),_0x2b731d(0xc,_0x363ba1[_0x171ee8(0x259)]),_0x2b731d(0xd,_0x363ba1[_0x171ee8(0x25e)](_0x2161a0))],_0x8c8aef[_0x171ee8(0x2d5)]),_0x8c8aef[_0x171ee8(0x472)]=class extends _0x109f1b{constructor(_0x51668c,_0x4ac8dd,_0x19407f,_0x28438c,_0x53ce9d,_0x252bb3,_0x44b7ba,_0x30e6dd,_0x2cec3b,_0x53ca13,_0x54fb29){var _0x306a6c=_0x171ee8;super(_0x51668c,_0x4ac8dd,_0x19407f,[],_0x28438c,_0x44b7ba,_0x53ca13,_0x252bb3,_0x54fb29),_0x4d38ee(this,'status','awaiting'),_0x4d38ee(this,_0x306a6c(0x3f0),0x0),_0x4d38ee(this,_0x306a6c(0x53d),0x0),_0x4d38ee(this,_0x306a6c(0x571)),_0x4d38ee(this,_0x306a6c(0x359)),(this['_injector']=_0x53ce9d,this['_logService']=_0x30e6dd,this[_0x306a6c(0x42d)]=_0x2cec3b);}[_0x171ee8(0x387)](_0x37c04e){var _0x5e106c=_0x171ee8;this[_0x5e106c(0x4f5)]();const _0x2e12e3=this[_0x5e106c(0x2cd)]['createInstance'](_0x8c8aef['AwaitingWithPendingState'],this[_0x5e106c(0x270)],this[_0x5e106c(0x2ab)],this[_0x5e106c(0x45d)],[_0x37c04e],this[_0x5e106c(0x398)],this[_0x5e106c(0x571)]);return _0x2e12e3[_0x5e106c(0x4e6)](),_0x2e12e3;}[_0x171ee8(0x54a)](_0x11b30a){var _0x20f146=_0x171ee8;if(this[_0x20f146(0x35f)](_0x11b30a))return this[_0x20f146(0x4f5)](),this[_0x20f146(0x2cd)]['createInstance'](_0x8c8aef['FetchingMissState'],this[_0x20f146(0x270)],this[_0x20f146(0x2ab)],this[_0x20f146(0x45d)],[],null,[_0x11b30a],this[_0x20f146(0x398)]);try{const _0x1baf99=this[_0x20f146(0x42d)][_0x20f146(0x2b8)]([_0x11b30a],[this['_awaitingChangeset']],!0x1);if(_0x42a3bb[_0x20f146(0x3eb)](_0x1baf99)){const {c1Prime:_0x1f78da,c2Prime:_0x560eab}=_0x1baf99;this[_0x20f146(0x33b)](_0x1f78da[0x0]),_0x560eab[0x0]['baseRev']=this[_0x20f146(0x3c7)](),this[_0x20f146(0x4f5)]();const _0x1ed2a6=this[_0x20f146(0x2cd)][_0x20f146(0x4a3)](_0x8c8aef[_0x20f146(0x472)],this[_0x20f146(0x270)],this[_0x20f146(0x2ab)],_0x560eab[0x0],this[_0x20f146(0x398)]);return _0x1ed2a6[_0x20f146(0x4e6)](),_0x1ed2a6;}return this[_0x20f146(0x449)](!0x1);}catch(_0x154b1f){return this[_0x20f146(0x4b9)][_0x20f146(0x49a)](_0x154b1f),this[_0x20f146(0x449)](!0x1);}}[_0x171ee8(0x599)](_0x3e54f9){var _0x3a2864=_0x171ee8;this[_0x3a2864(0x4f5)]();const _0x29798c=this[_0x3a2864(0x213)][_0x3a2864(0x3c3)](this['unitID']);if(_0x3e54f9[_0x3a2864(0x543)]<_0x29798c-0x1)return this;if(this['_checkMissing'](_0x3e54f9))return this[_0x3a2864(0x2cd)]['createInstance'](_0x8c8aef['FetchingMissState'],this[_0x3a2864(0x270)],this[_0x3a2864(0x2ab)],null,[],this[_0x3a2864(0x45d)],[],this[_0x3a2864(0x398)]);this[_0x3a2864(0x50e)]();const _0x4f366b=this[_0x3a2864(0x2cd)]['createInstance'](_0x8c8aef[_0x3a2864(0x494)],this[_0x3a2864(0x270)],this['type'],this[_0x3a2864(0x398)]);return _0x4f366b['_updateLocalCache'](),_0x4f366b;}['onRemoteRej'](_0x371e27){var _0x491870=_0x171ee8;return this[_0x491870(0x449)](!!(_0x371e27!=null&&_0x371e27[_0x491870(0x519)]));}[_0x171ee8(0x2a8)](_0x76496b){var _0x561278=_0x171ee8;return this[_0x561278(0x53d)]>_0x16492b?this[_0x561278(0x32a)]():(this[_0x561278(0x571)]=_0x226bf9(this[_0x561278(0x3f0)],{'timeout':this[_0x561278(0x3f0)],'reqId':_0x76496b['reqId']}),this[_0x561278(0x359)]=this[_0x561278(0x571)][_0x561278(0x278)](({reqId:_0x2056d2,timeout:_0x310f3d})=>{this['_resendWithTimeout'](_0x2056d2,_0x310f3d);}),this);}['toggleOffline'](){var _0x40e19a=_0x171ee8;return this[_0x40e19a(0x4f5)](),this[_0x40e19a(0x2cd)][_0x40e19a(0x4a3)](_0x8c8aef['OfflineState'],this[_0x40e19a(0x270)],this[_0x40e19a(0x2ab)],this[_0x40e19a(0x45d)],[],this['_handler']);}[_0x171ee8(0x553)](){return this;}[_0x171ee8(0x4c7)](){var _0x3044d7=_0x171ee8;this[_0x3044d7(0x398)]['onSendChangeset'](this[_0x3044d7(0x45d)]);}[_0x171ee8(0x449)](_0x3477ab){var _0x27d4c5=_0x171ee8;return this['_clearScheduledTask'](),this[_0x27d4c5(0x2cd)]['createInstance'](_0x8c8aef['ConflictState'],this[_0x27d4c5(0x270)],this[_0x27d4c5(0x2ab)],this['_awaitingChangeset'],[],this[_0x27d4c5(0x398)],_0x3477ab);}[_0x171ee8(0x3f1)](_0x499151,_0x44300c){var _0x21e26=_0x171ee8,_0x5846c5;_0x499151===((_0x5846c5=this[_0x21e26(0x45d)])==null?void 0x0:_0x5846c5[_0x21e26(0x25a)])&&(this['resend'](),this['_resendTimeout']=_0x44300c===0x0?0x3e8:Math[_0x21e26(0x28c)](_0x44300c*0x2,_0x2a3a95),this[_0x21e26(0x53d)]+=this[_0x21e26(0x3f0)]);}[_0x171ee8(0x4f5)](){var _0x48e5f0=_0x171ee8,_0x1e5dc4;(_0x1e5dc4=this[_0x48e5f0(0x359)])==null||_0x1e5dc4[_0x48e5f0(0x239)](),this[_0x48e5f0(0x3f0)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x8c8aef[_0x171ee8(0x472)]=_0x7b40ff([_0x2b731d(0x4,_0x363ba1['Inject'](_0x363ba1[_0x171ee8(0x467)])),_0x2b731d(0x5,_0x363ba1['Inject'](_0x42a3bb[_0x171ee8(0x52a)])),_0x2b731d(0x6,_0x363ba1[_0x171ee8(0x51a)]),_0x2b731d(0x7,_0x363ba1['ILogService']),_0x2b731d(0x8,_0x42a3bb[_0x171ee8(0x4f6)]),_0x2b731d(0x9,_0x363ba1[_0x171ee8(0x259)]),_0x2b731d(0xa,_0x363ba1['Optional'](_0x2161a0))],_0x8c8aef[_0x171ee8(0x472)]),_0x8c8aef['AwaitingWithPendingState']=class extends _0x109f1b{constructor(_0x4bb545,_0x2bea16,_0x7cb4f,_0xc2273e,_0x17602b,_0x806727,_0x46e683,_0x5804c4,_0x3873af,_0x4304b1,_0x226aa2,_0x1583f0,_0x3ea8da){var _0x18a2ac=_0x171ee8;super(_0x4bb545,_0x2bea16,_0x7cb4f,_0xc2273e,_0x17602b,_0x3873af,_0x1583f0,_0x5804c4,_0x3ea8da),_0x4d38ee(this,_0x18a2ac(0x49e),_0x18a2ac(0x4c8)),_0x4d38ee(this,_0x18a2ac(0x3f0),0x0),_0x4d38ee(this,_0x18a2ac(0x53d),0x0),_0x4d38ee(this,_0x18a2ac(0x571)),_0x4d38ee(this,_0x18a2ac(0x359)),(this[_0x18a2ac(0x2cd)]=_0x46e683,this[_0x18a2ac(0x4b9)]=_0x4304b1,this['_transformService']=_0x226aa2,this['localCacheService']=_0x3ea8da,_0x806727&&(this[_0x18a2ac(0x571)]=_0x806727,this[_0x18a2ac(0x359)]=this[_0x18a2ac(0x571)][_0x18a2ac(0x278)](({reqId:_0x14f9a7,timeout:_0x464a09})=>{var _0x12ce5a=_0x18a2ac;this[_0x12ce5a(0x3f1)](_0x14f9a7,_0x464a09);})));}[_0x171ee8(0x387)](_0x41dd7d){var _0x50a81d=_0x171ee8;return this['_pendingMutations'][_0x50a81d(0x3de)](_0x41dd7d),this;}[_0x171ee8(0x54a)](_0x15928a){var _0x28e894=_0x171ee8;if(this[_0x28e894(0x35f)](_0x15928a))return this[_0x28e894(0x4f5)](),this[_0x28e894(0x2cd)]['createInstance'](_0x8c8aef[_0x28e894(0x3ac)],this[_0x28e894(0x270)],this[_0x28e894(0x2ab)],this[_0x28e894(0x45d)],this[_0x28e894(0x248)],null,[_0x15928a],this[_0x28e894(0x398)]);try{const _0x33c2af=this[_0x28e894(0x42d)][_0x28e894(0x2b8)]([_0x15928a],[this['_awaitingChangeset']],!0x1);if(_0x42a3bb[_0x28e894(0x3eb)](_0x33c2af)){const {c1Prime:_0x15fc4a,c2Prime:_0x56b937}=_0x33c2af,_0x285c1d=this[_0x28e894(0x42d)][_0x28e894(0x59a)](_0x15fc4a[0x0],this[_0x28e894(0x248)]);if(_0x42a3bb[_0x28e894(0x466)](_0x285c1d)){const {c1Prime:_0x416504,m2Prime:_0x2c8698}=_0x285c1d;return this[_0x28e894(0x33b)](_0x416504),_0x56b937[0x0][_0x28e894(0x4db)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x28e894(0x2cd)][_0x28e894(0x4a3)](_0x8c8aef[_0x28e894(0x568)],this[_0x28e894(0x270)],this['type'],_0x56b937[0x0],_0x2c8698,this['_handler'],void 0x0);}throw _0x285c1d['error'];}throw _0x33c2af[_0x28e894(0x49a)];}catch(_0x475f78){return this[_0x28e894(0x4b9)][_0x28e894(0x49a)](_0x475f78),this[_0x28e894(0x449)](!0x1);}}[_0x171ee8(0x599)](_0x1b42c1){var _0x5e7d48=_0x171ee8;if(this[_0x5e7d48(0x4f5)](),this[_0x5e7d48(0x35f)](_0x1b42c1))return this['_injector'][_0x5e7d48(0x4a3)](_0x8c8aef[_0x5e7d48(0x3ac)],this[_0x5e7d48(0x270)],this[_0x5e7d48(0x2ab)],null,this[_0x5e7d48(0x248)],this['_awaitingChangeset'],[],this[_0x5e7d48(0x398)]);this[_0x5e7d48(0x50e)]();const _0x360e1b=this[_0x5e7d48(0x2cd)][_0x5e7d48(0x4a3)](_0x8c8aef[_0x5e7d48(0x2d5)],this[_0x5e7d48(0x270)],this[_0x5e7d48(0x2ab)],this[_0x5e7d48(0x248)],this[_0x5e7d48(0x398)]);return _0x360e1b[_0x5e7d48(0x373)](),_0x360e1b[_0x5e7d48(0x4e6)](),_0x360e1b;}[_0x171ee8(0x3e3)](_0x27824e){return this['_onConflict'](!!(_0x27824e!=null&&_0x27824e['isPermissionRej']));}[_0x171ee8(0x2a8)](_0x2c93c1){var _0x6e4b89=_0x171ee8;return this[_0x6e4b89(0x53d)]>_0x16492b?this[_0x6e4b89(0x32a)]():(this[_0x6e4b89(0x571)]=_0x226bf9(this[_0x6e4b89(0x3f0)],{'timeout':this['_resendTimeout'],'reqId':_0x2c93c1[_0x6e4b89(0x25a)]}),this[_0x6e4b89(0x359)]=this[_0x6e4b89(0x571)][_0x6e4b89(0x278)](({reqId:_0x5f9bff,timeout:_0x51a2de})=>{this['_resendWithTimeout'](_0x5f9bff,_0x51a2de);}),this);}['toggleOffline'](){var _0x3dd9df=_0x171ee8;return this[_0x3dd9df(0x4f5)](),this[_0x3dd9df(0x2cd)]['createInstance'](_0x8c8aef[_0x3dd9df(0x27e)],this[_0x3dd9df(0x270)],this[_0x3dd9df(0x2ab)],this[_0x3dd9df(0x45d)],this[_0x3dd9df(0x248)],this['_handler']);}['toggleOnline'](){return this;}[_0x171ee8(0x4c7)](){var _0x30a437=_0x171ee8;this[_0x30a437(0x398)]['onSendChangeset'](this[_0x30a437(0x45d)]);}[_0x171ee8(0x449)](_0x1eeca8){var _0x3463e8=_0x171ee8;return this[_0x3463e8(0x4f5)](),this[_0x3463e8(0x2cd)][_0x3463e8(0x4a3)](_0x8c8aef[_0x3463e8(0x1f9)],this[_0x3463e8(0x270)],this[_0x3463e8(0x2ab)],null,this[_0x3463e8(0x248)],this[_0x3463e8(0x398)],_0x1eeca8);}['_resendWithTimeout'](_0x3f198e,_0x2d3126){var _0x1bb259=_0x171ee8,_0x4e6ab3;_0x3f198e===((_0x4e6ab3=this['_awaitingChangeset'])==null?void 0x0:_0x4e6ab3[_0x1bb259(0x25a)])&&(this[_0x1bb259(0x4c7)](),this[_0x1bb259(0x3f0)]=_0x2d3126===0x0?0x3e8:Math[_0x1bb259(0x28c)](_0x2d3126*0x2,_0x2a3a95),this[_0x1bb259(0x53d)]+=this[_0x1bb259(0x3f0)]);}['_clearScheduledTask'](){var _0x1e1008=_0x171ee8,_0x420765;(_0x420765=this[_0x1e1008(0x359)])==null||_0x420765[_0x1e1008(0x239)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x8c8aef[_0x171ee8(0x568)]=_0x7b40ff([_0x2b731d(0x6,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x467)])),_0x2b731d(0x7,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x52a)])),_0x2b731d(0x8,_0x363ba1[_0x171ee8(0x51a)]),_0x2b731d(0x9,_0x363ba1[_0x171ee8(0x295)]),_0x2b731d(0xa,_0x42a3bb['ITransformService']),_0x2b731d(0xb,_0x363ba1[_0x171ee8(0x259)]),_0x2b731d(0xc,_0x363ba1['Optional'](_0x2161a0))],_0x8c8aef[_0x171ee8(0x568)]),_0x8c8aef[_0x171ee8(0x1f9)]=class extends _0x109f1b{constructor(_0x1a3b25,_0x44f3cb,_0xf20f3c,_0x49777e,_0x305d5f,_0x135772=!0x1,_0x506dbe,_0x2e1be1,_0x210310,_0x232d40,_0x5786b7,_0x4aa81b,_0xd58643){var _0x294716=_0x171ee8;super(_0x1a3b25,_0x44f3cb,_0xf20f3c,_0x49777e,_0x305d5f,_0x2e1be1,_0x210310,_0x232d40,_0xd58643),_0x4d38ee(this,'status',_0x294716(0x3e7)),(this[_0x294716(0x3b1)]=_0x135772,this['_permissionService']=_0x506dbe,this[_0x294716(0x474)]=_0x5786b7,this[_0x294716(0x557)]=_0x4aa81b,this[_0x294716(0x262)]=_0xd58643,this[_0x294716(0x48a)](),this[_0x294716(0x2fe)](),this[_0x294716(0x419)]());}[_0x171ee8(0x387)](){return this;}[_0x171ee8(0x54a)](){return this;}[_0x171ee8(0x599)](){return this;}['onRemoteRej'](){return this;}[_0x171ee8(0x2a8)](){return this;}['toggleOffline'](){return this;}[_0x171ee8(0x553)](){return this;}[_0x171ee8(0x4c7)](){var _0x5870bc=_0x171ee8;throw new Error(_0x5870bc(0x45e));}[_0x171ee8(0x2fe)](){var _0xc2399=_0x171ee8,_0x320970;(_0x320970=this[_0xc2399(0x2e7)])==null||_0x320970[_0xc2399(0x286)](this[_0xc2399(0x270)],this[_0xc2399(0x2ab)],null,[]);}[_0x171ee8(0x48a)](){var _0x104311=_0x171ee8;this[_0x104311(0x3b1)]?this[_0x104311(0x557)][_0x104311(0x3ff)]({'id':_0x14e9f2[_0x104311(0x542)]}):this[_0x104311(0x557)]['emitEvent']({'id':_0x14e9f2[_0x104311(0x2bd)]});}['_disableEditing'](){var _0x128644=_0x171ee8;this['_permissionService'][_0x128644(0x3b2)](new _0x2b8f25[(_0x128644(0x59c))](this['unitID'])['id'],!0x1);}},_0x8c8aef[_0x171ee8(0x1f9)]=_0x7b40ff([_0x2b731d(0x6,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x56a)])),_0x2b731d(0x7,_0x363ba1['ICommandService']),_0x2b731d(0x8,_0x363ba1[_0x171ee8(0x259)]),_0x2b731d(0x9,_0x363ba1['Inject'](_0x42a3bb[_0x171ee8(0x52a)])),_0x2b731d(0xa,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x584)])),_0x2b731d(0xb,_0x363ba1['Inject'](_0x280f51)),_0x2b731d(0xc,_0x363ba1[_0x171ee8(0x25e)](_0x2161a0))],_0x8c8aef[_0x171ee8(0x1f9)]),_0x8c8aef[_0x171ee8(0x27e)]=class extends _0x109f1b{constructor(_0x1aeb29,_0x3fe41a,_0x5117f4,_0x390ddf,_0x191644,_0x5ec2af,_0x58a265,_0x40b644,_0x5cb8eb,_0x579af9){var _0x5cb633=_0x171ee8;super(_0x1aeb29,_0x3fe41a,_0x5117f4,_0x390ddf,_0x191644,_0x40b644,_0x5cb8eb,_0x58a265,_0x579af9),_0x4d38ee(this,_0x5cb633(0x49e),_0x5cb633(0x1e5)),this[_0x5cb633(0x2cd)]=_0x5ec2af;}[_0x171ee8(0x387)](_0x481422){var _0x2c0e57=_0x171ee8;return this[_0x2c0e57(0x248)][_0x2c0e57(0x3de)](_0x481422),this[_0x2c0e57(0x4e6)](),this;}[_0x171ee8(0x54a)](_0x3cde5d){var _0x30fc3c=_0x171ee8;throw new Error(_0x30fc3c(0x2ed));}[_0x171ee8(0x599)](){var _0x542ddc=_0x171ee8;throw new Error(_0x542ddc(0x3dd));}[_0x171ee8(0x3e3)](){var _0x23e569=_0x171ee8;throw new Error(_0x23e569(0x2db));}[_0x171ee8(0x2a8)](){return this;}[_0x171ee8(0x32a)](){return this;}[_0x171ee8(0x553)](){var _0x1c6806=_0x171ee8;const {_injector:_0x6b0316,_pendingMutations:_0x2ff10b,_awaitingChangeset:_0x37e6b2,unitID:_0x2fd0e9,_handler:_0x321a76,type:_0x3ec82b}=this,_0x180d53=_0x5b14c3(_0x6b0316,_0x2fd0e9,_0x3ec82b,_0x37e6b2,_0x2ff10b,_0x321a76);return _0x180d53 instanceof _0x8c8aef[_0x1c6806(0x2d5)]?_0x180d53[_0x1c6806(0x373)]():(_0x180d53 instanceof _0x8c8aef['AwaitingWithPendingState']||_0x180d53 instanceof _0x8c8aef[_0x1c6806(0x472)])&&_0x180d53['resend'](),_0x180d53;}['resend'](){var _0x1d39d4=_0x171ee8;throw new Error(_0x1d39d4(0x2b2));}},_0x8c8aef[_0x171ee8(0x27e)]=_0x7b40ff([_0x2b731d(0x5,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x467)])),_0x2b731d(0x6,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x52a)])),_0x2b731d(0x7,_0x363ba1['ICommandService']),_0x2b731d(0x8,_0x363ba1[_0x171ee8(0x259)]),_0x2b731d(0x9,_0x363ba1['Optional'](_0x2161a0))],_0x8c8aef['OfflineState']),_0x8c8aef[_0x171ee8(0x3ac)]=class extends _0x109f1b{constructor(_0x3fd443,_0x400be2,_0x320abc,_0x5b9b85,_0x582ca6,_0x49febc,_0x32cb03,_0x25bb85,_0xed247,_0x30d599,_0x3bfb36,_0x287454,_0x51ef62,_0x2b6be3){var _0x20bc32=_0x171ee8;super(_0x3fd443,_0x400be2,_0x320abc,_0x5b9b85,_0x32cb03,_0x3bfb36,_0x287454,_0xed247,_0x2b6be3),_0x4d38ee(this,_0x20bc32(0x49e),_0x20bc32(0x420)),(this[_0x20bc32(0x41a)]=_0x582ca6,this[_0x20bc32(0x30d)]=_0x49febc,this[_0x20bc32(0x2cd)]=_0x25bb85,this['_logService']=_0x30d599,this[_0x20bc32(0x42d)]=_0x51ef62,this[_0x20bc32(0x262)]=_0x2b6be3);}[_0x171ee8(0x537)](_0x1830ee){var _0x2d96db=_0x171ee8;try{const _0x5d6a8b=[..._0x1830ee,...this[_0x2d96db(0x30d)]],_0x1d2c88=[this[_0x2d96db(0x45d)]||this[_0x2d96db(0x41a)]][_0x2d96db(0x2da)](_0x38b652=>!!_0x38b652);let _0x440265,_0x2c8dd0;if(_0x1d2c88[_0x2d96db(0x56b)]){const _0x46d369=this['_transformService']['transformChangesets'](_0x5d6a8b,_0x1d2c88,!0x1);if(!_0x42a3bb[_0x2d96db(0x3eb)](_0x46d369))throw _0x46d369['error'];_0x440265=_0x46d369['c1Prime'],_0x2c8dd0=_0x46d369[_0x2d96db(0x2f0)];}else _0x440265=_0x5d6a8b,_0x2c8dd0=[];let _0x41866a=this['_pendingMutations'];_0x440265[_0x2d96db(0x3ef)](_0x38131d=>{var _0x58c321=_0x2d96db;let _0x4a075b;if(_0x41866a['length']){const _0x27c582=this[_0x58c321(0x42d)][_0x58c321(0x59a)](_0x38131d,_0x41866a);if(!_0x42a3bb[_0x58c321(0x466)](_0x27c582))throw _0x27c582['error'];_0x4a075b=_0x27c582['c1Prime'],_0x41866a=_0x27c582['m2Prime'];}else _0x4a075b=_0x38131d;this['_executeRemoteChangeset'](_0x4a075b);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2d96db(0x50e)](),this[_0x2d96db(0x45d)]&&_0x2c8dd0[_0x2d96db(0x56b)]&&(_0x2c8dd0[0x0][_0x2d96db(0x4db)]=this[_0x2d96db(0x3c7)]());let _0x474dd5;if(this[_0x2d96db(0x45d)]&&_0x41866a[_0x2d96db(0x56b)]!==0x0)_0x474dd5=this[_0x2d96db(0x2cd)]['createInstance'](_0x8c8aef['AwaitingWithPendingState'],this[_0x2d96db(0x270)],this['type'],_0x2c8dd0[0x0],_0x41866a,this[_0x2d96db(0x398)],void 0x0);else{if(this[_0x2d96db(0x45d)]&&_0x41866a[_0x2d96db(0x56b)]===0x0)_0x2c8dd0[0x0][_0x2d96db(0x4db)]=this[_0x2d96db(0x3c7)](),_0x474dd5=this[_0x2d96db(0x2cd)]['createInstance'](_0x8c8aef[_0x2d96db(0x472)],this[_0x2d96db(0x270)],this[_0x2d96db(0x2ab)],_0x2c8dd0[0x0],this[_0x2d96db(0x398)]);else{if(_0x41866a['length']!==0x0){const _0x525219=this['_injector']['createInstance'](_0x8c8aef[_0x2d96db(0x2d5)],this[_0x2d96db(0x270)],this['type'],_0x41866a,this[_0x2d96db(0x398)]);_0x525219[_0x2d96db(0x373)](),_0x474dd5=_0x525219;}else _0x474dd5=this[_0x2d96db(0x2cd)][_0x2d96db(0x4a3)](_0x8c8aef[_0x2d96db(0x494)],this[_0x2d96db(0x270)],this['type'],this[_0x2d96db(0x398)]);}}return _0x474dd5[_0x2d96db(0x4e6)](),_0x474dd5;}catch(_0x26aff6){return this[_0x2d96db(0x4b9)][_0x2d96db(0x49a)]('[FetchMissState]',_0x2d96db(0x564),_0x26aff6),this[_0x2d96db(0x2cd)][_0x2d96db(0x4a3)](_0x8c8aef[_0x2d96db(0x1f9)],this['unitID'],this[_0x2d96db(0x2ab)],this[_0x2d96db(0x45d)],this[_0x2d96db(0x248)],this[_0x2d96db(0x398)],!0x1);}}['resend'](){var _0x3b5930=_0x171ee8;throw new Error(_0x3b5930(0x4a0));}[_0x171ee8(0x387)](_0x1e4495){var _0x9db8ba=_0x171ee8;return this[_0x9db8ba(0x248)]['push'](_0x1e4495),this;}[_0x171ee8(0x54a)](_0x2be847){var _0x3b0053=_0x171ee8;return this[_0x3b0053(0x30d)][_0x3b0053(0x3de)](_0x2be847),this;}[_0x171ee8(0x599)](_0x417db7){var _0x4c9bf6=_0x171ee8;if(this[_0x4c9bf6(0x45d)])return this[_0x4c9bf6(0x41a)]=this[_0x4c9bf6(0x45d)],this[_0x4c9bf6(0x45d)]=null,this;throw new Error(_0x4c9bf6(0x3e2));}[_0x171ee8(0x3e3)](_0x46a836){var _0x5620d3=_0x171ee8;return this[_0x5620d3(0x449)](!!(_0x46a836!=null&&_0x46a836[_0x5620d3(0x519)]));}['onRemoteRetry'](){return this;}[_0x171ee8(0x32a)](){var _0x5398f5=_0x171ee8;return this[_0x5398f5(0x2cd)]['createInstance'](_0x8c8aef[_0x5398f5(0x27e)],this[_0x5398f5(0x270)],this['type'],this['_awaitingChangeset'],this[_0x5398f5(0x248)],this['_handler']);}[_0x171ee8(0x553)](){return this;}[_0x171ee8(0x449)](_0x17cca5){var _0x171fd5=_0x171ee8;return this[_0x171fd5(0x2cd)][_0x171fd5(0x4a3)](_0x8c8aef[_0x171fd5(0x1f9)],this[_0x171fd5(0x270)],this[_0x171fd5(0x2ab)],this[_0x171fd5(0x45d)],this[_0x171fd5(0x248)],this[_0x171fd5(0x398)],_0x17cca5);}},_0x8c8aef[_0x171ee8(0x3ac)]=_0x7b40ff([_0x2b731d(0x7,_0x363ba1['Inject'](_0x363ba1[_0x171ee8(0x467)])),_0x2b731d(0x8,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x52a)])),_0x2b731d(0x9,_0x363ba1[_0x171ee8(0x295)]),_0x2b731d(0xa,_0x363ba1['ICommandService']),_0x2b731d(0xb,_0x363ba1['IUndoRedoService']),_0x2b731d(0xc,_0x42a3bb[_0x171ee8(0x4f6)]),_0x2b731d(0xd,_0x363ba1[_0x171ee8(0x25e)](_0x2161a0))],_0x8c8aef[_0x171ee8(0x3ac)]);function _0x5b14c3(_0x1996a3,_0x3417fc,_0x135426,_0x14e173,_0x43e509,_0x891fe){var _0x10681a=_0x171ee8;return _0x14e173&&_0x43e509[_0x10681a(0x56b)]?_0x1996a3['createInstance'](_0x8c8aef['AwaitingWithPendingState'],_0x3417fc,_0x135426,_0x14e173,_0x43e509,_0x891fe,void 0x0):_0x14e173?_0x1996a3['createInstance'](_0x8c8aef['AwaitingState'],_0x3417fc,_0x135426,_0x14e173,_0x891fe):_0x43e509['length']?_0x1996a3['createInstance'](_0x8c8aef[_0x10681a(0x2d5)],_0x3417fc,_0x135426,_0x43e509,_0x891fe):_0x1996a3[_0x10681a(0x4a3)](_0x8c8aef[_0x10681a(0x494)],_0x3417fc,_0x135426,_0x891fe);}var _0xe5df6b=Object['getOwnPropertyDescriptor'],_0x1dd483=(_0x5547ba,_0x2a2d19,_0x12a81c,_0xc5ff70)=>{var _0x1f9228=_0x171ee8;for(var _0x422aa6=_0xc5ff70>0x1?void 0x0:_0xc5ff70?_0xe5df6b(_0x2a2d19,_0x12a81c):_0x2a2d19,_0x3e46e5=_0x5547ba[_0x1f9228(0x56b)]-0x1,_0x3f4e93;_0x3e46e5>=0x0;_0x3e46e5--)(_0x3f4e93=_0x5547ba[_0x3e46e5])&&(_0x422aa6=_0x3f4e93(_0x422aa6)||_0x422aa6);return _0x422aa6;},_0x10d93c=(_0x562712,_0xf75258)=>(_0x8de8b3,_0x23ec1a)=>_0xf75258(_0x8de8b3,_0x23ec1a,_0x562712);_0x8c8aef[_0x171ee8(0x464)]=class extends _0x363ba1['RxDisposable']{constructor(_0xc879de,_0x385f78,_0x2d01fb,_0x49db25,_0x3a4b43,_0x1ad160,_0x3ac97a,_0x1dbd3e,_0x517e5c,_0x366605,_0x3c5823,_0x4d26ac,_0x154a36,_0x52dcd4){var _0x3b0a6a=_0x171ee8;super(),_0x4d38ee(this,_0x3b0a6a(0x4d5),new _0x20179e[(_0x3b0a6a(0x551))](null)),_0x4d38ee(this,'state$',this[_0x3b0a6a(0x4d5)][_0x3b0a6a(0x39c)]()),_0x4d38ee(this,_0x3b0a6a(0x446)),_0x4d38ee(this,'_collaborationPaused',!0x1),_0x4d38ee(this,_0x3b0a6a(0x3be),''),_0x4d38ee(this,_0x3b0a6a(0x22d),0x0),_0x4d38ee(this,_0x3b0a6a(0x33e),this[_0x3b0a6a(0x29e)][_0x3b0a6a(0x4cf)](_0x20179e[_0x3b0a6a(0x4c1)](_0x5466a3=>_0x5466a3?_0x5466a3[_0x3b0a6a(0x49e)]:_0x48a677[_0x3b0a6a(0x205)]),_0x20179e[_0x3b0a6a(0x402)](0x1))),_0x4d38ee(this,_0x3b0a6a(0x38b),!0x1),_0x4d38ee(this,_0x3b0a6a(0x28e),[]),(this[_0x3b0a6a(0x270)]=_0xc879de,this[_0x3b0a6a(0x2f3)]=_0x385f78,this['_type']=_0x2d01fb,this[_0x3b0a6a(0x2cd)]=_0x49db25,this['_compressMutationService']=_0x3a4b43,this[_0x3b0a6a(0x474)]=_0x1ad160,this[_0x3b0a6a(0x213)]=_0x3ac97a,this[_0x3b0a6a(0x324)]=_0x1dbd3e,this[_0x3b0a6a(0x556)]=_0x517e5c,this['_logService']=_0x366605,this['_commandService']=_0x3c5823,this[_0x3b0a6a(0x4d9)]=_0x4d26ac,this['_singleActiveUnitService']=_0x154a36,this[_0x3b0a6a(0x2e7)]=_0x52dcd4);}get[_0x171ee8(0x44f)](){var _0x9cd822=_0x171ee8;return this[_0x9cd822(0x446)];}async[_0x171ee8(0x2dc)](){var _0x40dd27=_0x171ee8;if(this[_0x40dd27(0x44f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x40dd27(0x331)]();}['pauseCollaboration'](){var _0xe8c22=_0x171ee8;return this[_0xe8c22(0x47e)]=!0x0,_0x363ba1[_0xe8c22(0x368)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x171ee8(0x237)](_0x571c32){var _0x97cfec=_0x171ee8;this[_0x97cfec(0x4f0)](_0x571c32);}[_0x171ee8(0x2b7)](_0x35c97f){var _0x4178af=_0x171ee8;this[_0x4178af(0x446)]=_0x35c97f,this[_0x4178af(0x4d5)]['next'](_0x35c97f);}async['_init'](){var _0x422465=_0x171ee8,_0x556e18;this[_0x422465(0x2b7)](await this[_0x422465(0x327)]()),this['_singleActiveUnitService']&&((_0x556e18=this[_0x422465(0x54c)])==null||_0x556e18['editingUnit'](this[_0x422465(0x270)]),this[_0x422465(0x3f6)](this[_0x422465(0x54c)][_0x422465(0x20c)](this[_0x422465(0x270)])[_0x422465(0x278)](_0x54a8bc=>{var _0x276ceb=_0x422465;this[_0x276ceb(0x4b9)][_0x276ceb(0x490)](_0x276ceb(0x53f),'editing\x20status\x20changed\x20to',_0x54a8bc),_0x54a8bc===_0x51824b[_0x276ceb(0x391)]?(this[_0x276ceb(0x324)]['emitEvent']({'id':_0x14e9f2['OTHER_CLIENT_EDITING']}),this[_0x276ceb(0x4d9)][_0x276ceb(0x3b2)](new _0x2b8f25[(_0x276ceb(0x59c))](this[_0x276ceb(0x270)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x276ceb(0x4d9)]['updatePermissionPoint'](new _0x2b8f25[(_0x276ceb(0x59c))](this[_0x276ceb(0x270)])['id'],!0x0),this['_permissionService'][_0x276ceb(0x2d7)](!0x0));})));let _0x48bc63=!0x1;return this[_0x422465(0x3f6)](this[_0x422465(0x2f3)][_0x422465(0x351)]['subscribe'](_0x542cc0=>{var _0x385d98=_0x422465;_0x542cc0===_0x513956[_0x385d98(0x452)]?this[_0x385d98(0x4b4)](_0x48bc63):_0x542cc0===_0x513956[_0x385d98(0x205)]&&(_0x48bc63=!0x0,this[_0x385d98(0x573)]());})),this['disposeWithMe'](this[_0x422465(0x2f3)][_0x422465(0x305)][_0x422465(0x278)](_0xdbb9dc=>{var _0x372708=_0x422465;try{switch(_0xdbb9dc['eventID']){case _0x42a3bb['CollaborationEvent'][_0x372708(0x4ef)]:{this['_onRemoteChangeset'](_0x42a3bb['parseProtocolChangeset'](_0xdbb9dc[_0x372708(0x3fe)]));break;}case _0x42a3bb['CollaborationEvent']['CHANGESET_ACK']:{this[_0x372708(0x445)](_0xdbb9dc[_0x372708(0x3fe)]);break;}case _0x42a3bb[_0x372708(0x335)]['CHANGESET_REJ']:{this[_0x372708(0x2ce)]();break;}case _0x42a3bb[_0x372708(0x335)][_0x372708(0x20e)]:{this[_0x372708(0x246)](_0xdbb9dc['data']);break;}case _0x42a3bb[_0x372708(0x335)][_0x372708(0x4e9)]:{this[_0x372708(0x4b2)](_0xdbb9dc[_0x372708(0x3fe)][_0x372708(0x34e)]['map'](_0x2d4824=>_0x42a3bb[_0x372708(0x4e4)](_0x2d4824)));break;}case _0x42a3bb[_0x372708(0x335)][_0x372708(0x4c6)]:{this[_0x372708(0x2ce)]({'isPermissionRej':!0x0});break;}case _0x42a3bb[_0x372708(0x335)][_0x372708(0x30f)]:break;}}catch(_0x241ad1){throw console[_0x372708(0x49a)](_0x372708(0x253),_0x241ad1),_0x241ad1;}})),this[_0x422465(0x446)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x171ee8(0x48d)](){var _0x54a6d4=_0x171ee8;if(this['_transitionLocked'])throw new Error(_0x54a6d4(0x367));this[_0x54a6d4(0x38b)]=!0x0;}[_0x171ee8(0x4f0)](_0x983a){var _0xcc5154=_0x171ee8;this[_0xcc5154(0x48d)](),this[_0xcc5154(0x2b7)](this[_0xcc5154(0x446)][_0xcc5154(0x387)](_0x983a)),this[_0xcc5154(0x4e7)]();}['_onRemoteChangeset'](_0x4f6b85){var _0x463831=_0x171ee8;if(!(_0x4f6b85[_0x463831(0x543)]<=this[_0x463831(0x213)][_0x463831(0x3c3)](this['unitID']))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x463831(0x3de)](_0x4f6b85);return;}this['_applyRemoteChangeset'](_0x4f6b85);}}[_0x171ee8(0x3b7)](){var _0x6ab24d=_0x171ee8;this[_0x6ab24d(0x28e)][_0x6ab24d(0x3ef)](_0x1b3774=>this['_applyRemoteChangeset'](_0x1b3774)),this[_0x6ab24d(0x28e)]=[];}[_0x171ee8(0x3d5)](_0x218e8c){var _0x127938=_0x171ee8;const _0x221bf9=this[_0x127938(0x57c)]['interceptor']['fetchThroughInterceptors'](this[_0x127938(0x57c)][_0x127938(0x3b6)][_0x127938(0x330)]()[_0x127938(0x4ff)])(_0x218e8c[_0x127938(0x2d2)],null)||_0x218e8c[_0x127938(0x2d2)],_0x15a11c={..._0x218e8c,'mutations':_0x221bf9};this[_0x127938(0x48d)](),this[_0x127938(0x2b7)](this[_0x127938(0x446)]['onRemoteChangeset'](_0x15a11c)),this['_unlockTransition']();}['_onRemoteACK'](_0x380fdd){var _0x4950ad=_0x171ee8;this['_lockTransition'](),this[_0x4950ad(0x2b7)](this[_0x4950ad(0x446)][_0x4950ad(0x599)](_0x380fdd)),this[_0x4950ad(0x4e7)]();}['_onRemoteRejected'](_0x1f6dbd){var _0x248731=_0x171ee8;this[_0x248731(0x48d)](),this[_0x248731(0x2b7)](this[_0x248731(0x446)][_0x248731(0x3e3)](_0x1f6dbd)),this[_0x248731(0x4e7)]();}[_0x171ee8(0x246)](_0x4abe32){var _0x5e4fcf=_0x171ee8;this['_lockTransition'](),this[_0x5e4fcf(0x2b7)](this['_state'][_0x5e4fcf(0x2a8)](_0x4abe32)),this[_0x5e4fcf(0x4e7)]();}[_0x171ee8(0x4b2)](_0x50c894){var _0x53caed=_0x171ee8;if(!(this[_0x53caed(0x446)]instanceof _0x8c8aef[_0x53caed(0x3ac)]))throw new TypeError(_0x53caed(0x499));const _0x40230b=_0x50c894[_0x53caed(0x4c1)](_0x3c0b1e=>{var _0x46c862=_0x53caed;const _0x2e55c7=this['_compressMutationService'][_0x46c862(0x3b6)]['fetchThroughInterceptors'](this[_0x46c862(0x57c)][_0x46c862(0x3b6)]['getInterceptPoints']()[_0x46c862(0x4ff)])(_0x3c0b1e[_0x46c862(0x2d2)],null)||_0x3c0b1e['mutations'];return{..._0x3c0b1e,'mutations':_0x2e55c7};});this[_0x53caed(0x48d)](),this[_0x53caed(0x2b7)](this[_0x53caed(0x446)][_0x53caed(0x537)](_0x40230b)),this[_0x53caed(0x4e7)]();}[_0x171ee8(0x573)](){var _0x4cd6a2=_0x171ee8;this[_0x4cd6a2(0x48d)](),this['_updateState'](this[_0x4cd6a2(0x446)][_0x4cd6a2(0x32a)]()),this[_0x4cd6a2(0x4e7)]();}[_0x171ee8(0x4b4)](_0x452fb0=!0x1){var _0x3399b9=_0x171ee8;this['_lockTransition'](),this[_0x3399b9(0x2b7)](this['_state']['toggleOnline']()),this[_0x3399b9(0x4e7)]();const _0x3abc95=this['_state'];_0x452fb0&&_0x3abc95 instanceof _0x8c8aef[_0x3399b9(0x494)]&&(this[_0x3399b9(0x48d)](),this['_updateState'](_0x3abc95[_0x3399b9(0x476)]()),this[_0x3399b9(0x4e7)]());}async[_0x171ee8(0x327)](){return new Promise(_0x18c019=>{var _0x1cb5d0=_0x5de5;this['session']['sessionStatus$'][_0x1cb5d0(0x4cf)](_0x20179e['take'](0x1))[_0x1cb5d0(0x278)](async _0x7e3b6=>{var _0x3ea556=_0x1cb5d0;_0x18c019(await this[_0x3ea556(0x27d)](_0x7e3b6===_0x513956[_0x3ea556(0x452)]));});});}[_0x171ee8(0x2a0)](){var _0xf0d8f1=_0x171ee8;const _0x5c82e6=this[_0xf0d8f1(0x270)];return{'onStateChange':(_0x475d48,_0xcb147b)=>{var _0x1558b6=_0xf0d8f1;if(_0x475d48!==this[_0x1558b6(0x446)])throw new Error(_0x1558b6(0x334)+_0x475d48[_0x1558b6(0x49e)]+'\x0aAfter:\x20'+_0xcb147b[_0x1558b6(0x49e)]+_0x1558b6(0x37a)+this[_0x1558b6(0x446)][_0x1558b6(0x49e)]);this['_updateState'](_0xcb147b);},'onSendChangeset':_0x59a3ff=>{var _0x687571=_0xf0d8f1;_0x59a3ff['sid']||(_0x59a3ff[_0x687571(0x4be)]=this[_0x687571(0x3be)],_0x59a3ff[_0x687571(0x25a)]=++this[_0x687571(0x22d)]);const _0x5dbebf={'eventID':_0x42a3bb[_0x687571(0x335)][_0x687571(0x25c)],'data':{'unitID':_0x59a3ff['unitID'],'unitType':this[_0x687571(0x58e)],'changeset':_0x59a3ff,'memberID':this[_0x687571(0x2f3)]['getMemberID']()}};this[_0x687571(0x2f3)]['send'](_0x5dbebf,this[_0x687571(0x270)]);},'onMissingChangesets':({from:_0xf8d81b,to:_0x285e03})=>{var _0x261d2c=_0xf0d8f1;this[_0x261d2c(0x4b9)]['debug'](_0x261d2c(0x53f),_0x261d2c(0x3e4)+_0xf8d81b+_0x261d2c(0x525)+_0x285e03);const _0x27ec66={'eventID':_0x42a3bb['CollaborationEvent'][_0x261d2c(0x393)],'data':{'unitID':_0x5c82e6,'unitType':this[_0x261d2c(0x58e)],'from':_0xf8d81b,'to':_0x285e03}};this['session'][_0x261d2c(0x245)](_0x27ec66,this['unitID']);}};}async[_0x171ee8(0x27d)](_0x3a2ab0){var _0x1efb14=_0x171ee8,_0x292c8f,_0x759011,_0x1c77d1;const _0x214a0a=await((_0x292c8f=this[_0x1efb14(0x2e7)])==null?void 0x0:_0x292c8f[_0x1efb14(0x2cf)](this[_0x1efb14(0x270)])),_0x55bb3d=(_0x759011=_0x214a0a==null?void 0x0:_0x214a0a[_0x1efb14(0x2d2)])!=null?_0x759011:[],_0x47cc5b=(_0x1c77d1=_0x214a0a==null?void 0x0:_0x214a0a[_0x1efb14(0x247)])!=null?_0x1c77d1:null,_0x429e12=!!(_0x47cc5b!=null&&_0x47cc5b[_0x1efb14(0x4be)])&&!!(_0x47cc5b!=null&&_0x47cc5b[_0x1efb14(0x25a)]);this['_changesetSessionId']=_0x429e12?_0x47cc5b[_0x1efb14(0x4be)]:_0x42a3bb[_0x1efb14(0x269)](),this[_0x1efb14(0x22d)]=_0x429e12?_0x47cc5b[_0x1efb14(0x25a)]:0x0;const _0x279e6f=this[_0x1efb14(0x270)];try{this[_0x1efb14(0x4de)](_0x47cc5b,_0x55bb3d);}catch(_0x45666e){this[_0x1efb14(0x4b9)][_0x1efb14(0x49a)](_0x45666e);}const _0xabbfc=this[_0x1efb14(0x2a0)]();if(_0x3a2ab0){const _0x5c6674=_0x5b14c3(this[_0x1efb14(0x2cd)],_0x279e6f,this[_0x1efb14(0x58e)],_0x47cc5b,_0x55bb3d,_0xabbfc);return _0x5c6674 instanceof _0x8c8aef['PendingState']?_0x5c6674[_0x1efb14(0x373)]():(_0x5c6674 instanceof _0x8c8aef[_0x1efb14(0x568)]||_0x5c6674 instanceof _0x8c8aef[_0x1efb14(0x472)])&&_0x5c6674[_0x1efb14(0x4c7)](),_0x5c6674;}return this[_0x1efb14(0x2cd)][_0x1efb14(0x4a3)](_0x8c8aef['OfflineState'],_0x279e6f,this[_0x1efb14(0x58e)],_0x47cc5b,_0x55bb3d,_0xabbfc);}[_0x171ee8(0x4de)](_0x30d389,_0x141d47){var _0x51eb78=_0x171ee8,_0x330d33,_0x3451cf;const _0xd42a60=this['_compressMutationService'][_0x51eb78(0x3b6)][_0x51eb78(0x4a5)](this[_0x51eb78(0x57c)]['interceptor'][_0x51eb78(0x330)]()[_0x51eb78(0x4ff)]);(_0x330d33=_0xd42a60((_0x30d389==null?void 0x0:_0x30d389['mutations'])||[],null))==null||_0x330d33[_0x51eb78(0x3ef)](_0xd7229=>this[_0x51eb78(0x308)][_0x51eb78(0x554)](_0xd7229['id'],_0xd7229['params'])),(_0x3451cf=_0xd42a60(_0x141d47||[],null))==null||_0x3451cf['forEach'](_0x39a588=>this[_0x51eb78(0x308)][_0x51eb78(0x554)](_0x39a588['id'],_0x39a588['params']));}},_0x8c8aef[_0x171ee8(0x464)]=_0x1dd483([_0x10d93c(0x3,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x467)])),_0x10d93c(0x4,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb['CompressMutationService'])),_0x10d93c(0x5,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x584)])),_0x10d93c(0x6,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x52a)])),_0x10d93c(0x7,_0x363ba1['Inject'](_0x280f51)),_0x10d93c(0x8,_0x363ba1[_0x171ee8(0x34a)]),_0x10d93c(0x9,_0x363ba1[_0x171ee8(0x295)]),_0x10d93c(0xa,_0x363ba1[_0x171ee8(0x51a)]),_0x10d93c(0xb,_0x363ba1['IPermissionService']),_0x10d93c(0xc,_0x363ba1[_0x171ee8(0x25e)](_0x479ef7)),_0x10d93c(0xd,_0x363ba1[_0x171ee8(0x25e)](_0x2161a0))],_0x8c8aef[_0x171ee8(0x464)]),_0x8c8aef[_0x171ee8(0x480)]=class extends _0x8c8aef[_0x171ee8(0x464)]{constructor(_0x267402,_0x15ae42,_0x4e991d,_0x5870e5,_0x3094fa,_0x4ac923,_0x2f7ec7,_0x3e8d42,_0x333b9a,_0x42676e,_0x5e6cd6,_0x58cf69,_0x420efd,_0x53324d){var _0x523232=_0x171ee8;super(_0x267402,_0x4e991d,_0x15ae42,_0x5870e5,_0x3094fa,_0x4ac923,_0x2f7ec7,_0x3e8d42,_0x333b9a,_0x42676e,_0x5e6cd6,_0x58cf69,_0x420efd,_0x53324d),_0x4d38ee(this,_0x523232(0x46a),null),(this['unitID']=_0x267402,this['type']=_0x15ae42);}[_0x171ee8(0x22a)](_0xc61665){var _0xbbfe72=_0x171ee8;this[_0xbbfe72(0x46a)]=_0xc61665;}[_0x171ee8(0x24d)](){var _0x44f0ec=_0x171ee8;this[_0x44f0ec(0x46a)]=null,super['dispose']();}['_createHandler'](){var _0x441837=_0x171ee8;const _0x22c9cc=super[_0x441837(0x2a0)]();return _0x22c9cc['onTransformIME']=_0x55854c=>{var _0x242109=_0x441837,_0xa42435,_0x4633c5;return(_0x4633c5=(_0xa42435=this[_0x242109(0x46a)])==null?void 0x0:_0xa42435[_0x242109(0x274)])==null?void 0x0:_0x4633c5[_0x242109(0x411)](_0xa42435,_0x55854c);},_0x22c9cc[_0x441837(0x4c5)]=_0x40a0e5=>{var _0xd512f0=_0x441837,_0x4f8131,_0x51fa5b;return(_0x51fa5b=(_0x4f8131=this[_0xd512f0(0x46a)])==null?void 0x0:_0x4f8131[_0xd512f0(0x4c5)])==null?void 0x0:_0x51fa5b[_0xd512f0(0x411)](_0x4f8131,_0x40a0e5);},_0x22c9cc[_0x441837(0x43d)]=_0x58a66d=>{var _0x4cb109=_0x441837,_0xd460d8,_0x38ecaa;return(_0x38ecaa=(_0xd460d8=this['_handlerCallback'])==null?void 0x0:_0xd460d8[_0x4cb109(0x43d)])==null?void 0x0:_0x38ecaa[_0x4cb109(0x411)](_0xd460d8,_0x58a66d);},_0x22c9cc[_0x441837(0x1fc)]=_0x5ee6f5=>{var _0x368046=_0x441837,_0x3ae70b,_0x20a6e3;return(_0x20a6e3=(_0x3ae70b=this[_0x368046(0x46a)])==null?void 0x0:_0x3ae70b[_0x368046(0x1fc)])==null?void 0x0:_0x20a6e3[_0x368046(0x411)](_0x3ae70b,_0x5ee6f5);},_0x22c9cc[_0x441837(0x40f)]=_0x5e5117=>{var _0x5e73ee=_0x441837,_0x6481d6,_0x1c3018,_0x17b36e;if(!((_0x6481d6=this[_0x5e73ee(0x46a)])!=null&&_0x6481d6[_0x5e73ee(0x40f)]))throw new Error(_0x5e73ee(0x4fa));return(_0x17b36e=(_0x1c3018=this[_0x5e73ee(0x46a)])==null?void 0x0:_0x1c3018[_0x5e73ee(0x40f)])==null?void 0x0:_0x17b36e[_0x5e73ee(0x411)](_0x1c3018,_0x5e5117);},_0x22c9cc[_0x441837(0x310)]=_0x54ae6f=>{var _0x202142=_0x441837,_0x383cfc,_0x136620,_0x33eff1;if(!((_0x383cfc=this[_0x202142(0x46a)])!=null&&_0x383cfc['onTransformRemoteChangesetByStateCache']))throw new Error(_0x202142(0x20d));return(_0x33eff1=(_0x136620=this[_0x202142(0x46a)])==null?void 0x0:_0x136620[_0x202142(0x310)])==null?void 0x0:_0x33eff1[_0x202142(0x411)](_0x136620,_0x54ae6f);},_0x22c9cc;}async['_init'](){const _0x191de1=await super['_init']();return this['disposeWithMe'](this['_commandService']['onMutationExecutedForCollab']((_0x4ae086,_0x4458e7)=>{var _0x49c22a=_0x5de5;if(_0x4ae086['type']!==_0x363ba1[_0x49c22a(0x511)][_0x49c22a(0x473)]||_0x4458e7!=null&&_0x4458e7[_0x49c22a(0x289)]||_0x4458e7!=null&&_0x4458e7[_0x49c22a(0x2f9)]||_0x4ae086['id']===_0x4cce5a[_0x49c22a(0x38f)]['id'])return;const _0x38da4d=_0x4ae086['params'];if((_0x38da4d==null?void 0x0:_0x38da4d[_0x49c22a(0x1ea)])!==this[_0x49c22a(0x270)])return;const _0x4137ed=_0x4ae086,_0x16de11=this['_compressMutationService'][_0x49c22a(0x3b6)][_0x49c22a(0x4a5)](this['_compressMutationService'][_0x49c22a(0x3b6)][_0x49c22a(0x330)]()['COMPRESS_MUTATION_SEND'])([_0x4137ed],this[_0x49c22a(0x556)])||[_0x4137ed];this[_0x49c22a(0x4f0)](_0x16de11[0x0]);})),_0x191de1;}},_0x8c8aef[_0x171ee8(0x480)]=_0x1dd483([_0x10d93c(0x3,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x467)])),_0x10d93c(0x4,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x3b4)])),_0x10d93c(0x5,_0x363ba1['Inject'](_0x363ba1['LocaleService'])),_0x10d93c(0x6,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x52a)])),_0x10d93c(0x7,_0x363ba1[_0x171ee8(0x235)](_0x280f51)),_0x10d93c(0x8,_0x363ba1['IUniverInstanceService']),_0x10d93c(0x9,_0x363ba1[_0x171ee8(0x295)]),_0x10d93c(0xa,_0x363ba1[_0x171ee8(0x51a)]),_0x10d93c(0xb,_0x363ba1['IPermissionService']),_0x10d93c(0xc,_0x363ba1[_0x171ee8(0x25e)](_0x479ef7)),_0x10d93c(0xd,_0x363ba1[_0x171ee8(0x25e)](_0x2161a0))],_0x8c8aef[_0x171ee8(0x480)]),_0x8c8aef[_0x171ee8(0x31f)]=class extends _0x8c8aef['CollaborationEntity']{constructor(_0x519281,_0x2e1c8d,_0x15849e,_0x5775cb,_0x5a1d82,_0x55b86b,_0x1f9a52,_0x2b24f5,_0x58285f,_0x54f882,_0x534817,_0x1f3d59,_0x3eb427,_0x10c748,_0x3a2704){var _0x3fe39f=_0x171ee8;super(_0x519281,_0x15849e,_0x2e1c8d,_0x5775cb,_0x5a1d82,_0x55b86b,_0x1f9a52,_0x58285f,_0x54f882,_0x534817,_0x1f3d59,_0x3eb427,_0x10c748,_0x3a2704),this[_0x3fe39f(0x270)]=_0x519281,this[_0x3fe39f(0x2ab)]=_0x2e1c8d,this[_0x3fe39f(0x3fc)]=_0x2b24f5;}['_createHandler'](){var _0x55e114=_0x171ee8;const _0x5197a2=super[_0x55e114(0x2a0)]();return _0x5197a2[_0x55e114(0x43d)]=_0x500214=>this[_0x55e114(0x3fc)]['transformSelections'](_0x500214),_0x5197a2;}async['_init'](){var _0x32ce0b=_0x171ee8;const _0x2e740a=await super[_0x32ce0b(0x331)]();return this['disposeWithMe'](this[_0x32ce0b(0x308)][_0x32ce0b(0x361)]((_0x552474,_0x5a1a4f)=>{var _0x546202=_0x32ce0b;if(_0x552474[_0x546202(0x2ab)]!==_0x363ba1[_0x546202(0x511)][_0x546202(0x473)]||_0x5a1a4f!=null&&_0x5a1a4f['fromCollab']||_0x5a1a4f!=null&&_0x5a1a4f['onlyLocal'])return;const _0x20c350=_0x552474[_0x546202(0x50d)];if((_0x20c350==null?void 0x0:_0x20c350[_0x546202(0x1ea)])!==this[_0x546202(0x270)])return;const _0x2fb269=_0x552474,_0x15a52f=this['_compressMutationService'][_0x546202(0x3b6)][_0x546202(0x4a5)](this[_0x546202(0x57c)][_0x546202(0x3b6)]['getInterceptPoints']()[_0x546202(0x589)])([_0x2fb269],this[_0x546202(0x556)])||[_0x2fb269];this[_0x546202(0x4f0)](_0x15a52f[0x0]);})),_0x2e740a;}},_0x8c8aef['SheetCollaborationEntity']=_0x1dd483([_0x10d93c(0x3,_0x363ba1['Inject'](_0x363ba1[_0x171ee8(0x467)])),_0x10d93c(0x4,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x3b4)])),_0x10d93c(0x5,_0x363ba1[_0x171ee8(0x235)](_0x363ba1['LocaleService'])),_0x10d93c(0x6,_0x363ba1[_0x171ee8(0x235)](_0x42a3bb[_0x171ee8(0x52a)])),_0x10d93c(0x7,_0x363ba1[_0x171ee8(0x235)](_0x8c8aef[_0x171ee8(0x22f)])),_0x10d93c(0x8,_0x363ba1[_0x171ee8(0x235)](_0x280f51)),_0x10d93c(0x9,_0x363ba1[_0x171ee8(0x34a)]),_0x10d93c(0xa,_0x363ba1[_0x171ee8(0x295)]),_0x10d93c(0xb,_0x363ba1[_0x171ee8(0x51a)]),_0x10d93c(0xc,_0x363ba1[_0x171ee8(0x56a)]),_0x10d93c(0xd,_0x363ba1[_0x171ee8(0x25e)](_0x479ef7)),_0x10d93c(0xe,_0x363ba1[_0x171ee8(0x25e)](_0x2161a0))],_0x8c8aef[_0x171ee8(0x31f)]);const _0x55a4a4=_0x363ba1[_0x171ee8(0x4c3)](_0x171ee8(0x40b));function _0x26c398(_0x1a8a0a){var _0x400ad8=_0x171ee8,_0x5bb8b5,_0x523a3b,_0xeaaea,_0x1131e9,_0x2e1be7;const _0x583a21=_0x1a8a0a[_0x400ad8(0x3fe)],_0x21bdca=JSON[_0x400ad8(0x26e)](_0x583a21);switch(_0x21bdca[_0x400ad8(0x204)]){case _0x1bfa56[_0x400ad8(0x354)]:case _0x1bfa56['HELLO']:{const _0x267577=_0x21bdca[_0x400ad8(0x35d)];return{..._0x21bdca,'data':_0x267577,'cmd':_0x21bdca['cmd']};}case _0x1bfa56[_0x400ad8(0x312)]:{const _0x16b0cd=_0x21bdca[_0x400ad8(0x424)];return{..._0x21bdca,'data':_0x16b0cd,'cmd':_0x21bdca[_0x400ad8(0x204)]};}case _0x1bfa56[_0x400ad8(0x2a9)]:{const _0x4787d6=_0x21bdca[_0x400ad8(0x397)];switch(_0x4787d6[_0x400ad8(0x498)]){case _0x42a3bb['CollaborationEvent']['PERMISSION_REJ']:return{..._0x21bdca,'data':{..._0x4787d6,'data':(_0x5bb8b5=_0x4787d6[_0x400ad8(0x224)])==null?void 0x0:_0x5bb8b5['cs']},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb[_0x400ad8(0x335)][_0x400ad8(0x2f7)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':(_0x523a3b=_0x4787d6[_0x400ad8(0x3d4)])==null?void 0x0:_0x523a3b['cs']},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb['CollaborationEvent'][_0x400ad8(0x4ef)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':(_0xeaaea=_0x4787d6['newCsEvent'])==null?void 0x0:_0xeaaea['cs']},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb['CollaborationEvent'][_0x400ad8(0x4ed)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':(_0x1131e9=_0x4787d6[_0x400ad8(0x379)])==null?void 0x0:_0x1131e9['cs']},'cmd':_0x21bdca['cmd']};case _0x42a3bb[_0x400ad8(0x335)][_0x400ad8(0x20e)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':(_0x2e1be7=_0x4787d6['csShouldRetryEvent'])==null?void 0x0:_0x2e1be7['cs']},'cmd':_0x21bdca['cmd']};case _0x42a3bb[_0x400ad8(0x335)][_0x400ad8(0x2a7)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6[_0x400ad8(0x3bf)]},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb[_0x400ad8(0x335)][_0x400ad8(0x242)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6[_0x400ad8(0x4e3)]},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb[_0x400ad8(0x335)][_0x400ad8(0x4ad)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6[_0x400ad8(0x3fb)]},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb[_0x400ad8(0x335)]['LIVESHARE_NEW_HOST']:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6[_0x400ad8(0x4ab)]},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb[_0x400ad8(0x335)][_0x400ad8(0x21f)]:case _0x42a3bb['CollaborationEvent'][_0x400ad8(0x406)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6['liveShareOperation']},'cmd':_0x21bdca['cmd']};case _0x42a3bb['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6[_0x400ad8(0x4ab)]},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb[_0x400ad8(0x335)]['MSG_FOR_ERROR']:return{..._0x21bdca,'data':_0x4787d6,'cmd':_0x21bdca['cmd']};case _0x42a3bb[_0x400ad8(0x335)][_0x400ad8(0x2f1)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6[_0x400ad8(0x4b8)]},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb[_0x400ad8(0x335)]['UPDATE_PERMISSION_OBJ']:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6[_0x400ad8(0x482)]},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb[_0x400ad8(0x335)][_0x400ad8(0x25b)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6[_0x400ad8(0x531)]},'cmd':_0x21bdca[_0x400ad8(0x204)]};case _0x42a3bb[_0x400ad8(0x335)][_0x400ad8(0x30f)]:return{..._0x21bdca,'data':{..._0x4787d6,'data':_0x4787d6[_0x400ad8(0x2c8)]},'cmd':_0x21bdca['cmd']};default:return _0x21bdca;}}default:return _0x21bdca;}}function _0x36f3d5(_0x3bfcaf){var _0x46ca85=_0x171ee8;switch(_0x3bfcaf[_0x46ca85(0x204)]){case _0x1bfa56[_0x46ca85(0x354)]:case _0x1bfa56[_0x46ca85(0x3d6)]:return JSON['stringify']({'cmd':_0x3bfcaf[_0x46ca85(0x204)],'routeKey':_0x3bfcaf['routeKey']});case _0x1bfa56['INGEST']:{let _0xb0a5cd;switch(_0x3bfcaf['data'][_0x46ca85(0x498)]){case _0x42a3bb['CollaborationEvent'][_0x46ca85(0x2a7)]:{_0xb0a5cd={'eventID':_0x42a3bb[_0x46ca85(0x335)]['UPDATE_CURSOR'],'updateCursorEvent':_0x3bfcaf[_0x46ca85(0x3fe)][_0x46ca85(0x3fe)]};break;}case _0x42a3bb[_0x46ca85(0x335)]['USERS_LEAVE']:{_0xb0a5cd={'eventID':_0x42a3bb[_0x46ca85(0x335)][_0x46ca85(0x4ad)],'leaveEvent':_0x3bfcaf['data'][_0x46ca85(0x3fe)]};break;}case _0x42a3bb[_0x46ca85(0x335)][_0x46ca85(0x242)]:{_0xb0a5cd={'eventID':_0x42a3bb[_0x46ca85(0x335)][_0x46ca85(0x242)],'joinEvent':_0x3bfcaf[_0x46ca85(0x3fe)][_0x46ca85(0x3fe)]};break;}case _0x42a3bb[_0x46ca85(0x335)][_0x46ca85(0x24b)]:{_0xb0a5cd={'eventID':_0x42a3bb[_0x46ca85(0x335)][_0x46ca85(0x24b)],'liveShareNewHost':_0x3bfcaf[_0x46ca85(0x3fe)][_0x46ca85(0x3fe)]};break;}case _0x42a3bb[_0x46ca85(0x335)][_0x46ca85(0x406)]:{_0xb0a5cd={'eventID':_0x42a3bb[_0x46ca85(0x335)][_0x46ca85(0x406)],'liveShareOperation':_0x3bfcaf[_0x46ca85(0x3fe)][_0x46ca85(0x3fe)]};break;}case _0x42a3bb[_0x46ca85(0x335)]['LIVESHARE_TERMINATE']:{_0xb0a5cd={'eventID':_0x42a3bb[_0x46ca85(0x335)][_0x46ca85(0x3bb)],'liveShareTerminate':_0x3bfcaf[_0x46ca85(0x3fe)][_0x46ca85(0x3fe)]};break;}case _0x42a3bb['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0xb0a5cd={'eventID':_0x42a3bb[_0x46ca85(0x335)][_0x46ca85(0x3a6)],'liveShareRequestHost':_0x3bfcaf[_0x46ca85(0x3fe)][_0x46ca85(0x3fe)]};break;}case _0x42a3bb[_0x46ca85(0x335)]['LIVESHARE_FETCH_OPERATIONS']:{_0xb0a5cd={'eventID':_0x42a3bb['CollaborationEvent'][_0x46ca85(0x21f)]};break;}default:_0xb0a5cd={'eventID':_0x3bfcaf['data'][_0x46ca85(0x498)]};}return JSON[_0x46ca85(0x234)]({'cmd':_0x3bfcaf[_0x46ca85(0x204)],'routeKey':_0x3bfcaf[_0x46ca85(0x502)],'collaMsg':_0xb0a5cd});}case _0x1bfa56[_0x46ca85(0x312)]:return JSON[_0x46ca85(0x234)]({'cmd':_0x3bfcaf[_0x46ca85(0x204)],'routeKey':_0x3bfcaf[_0x46ca85(0x502)],'joinReq':_0x3bfcaf[_0x46ca85(0x3fe)]});case _0x1bfa56[_0x46ca85(0x284)]:return JSON['stringify']({'cmd':_0x3bfcaf['cmd'],'routeKey':_0x3bfcaf[_0x46ca85(0x502)],'leaveReq':_0x3bfcaf[_0x46ca85(0x3fe)]});default:throw new Error(_0x46ca85(0x297));}}var _0x5383ff=Object[_0x171ee8(0x4a4)],_0x3f9c64=(_0xd34d8d,_0x382d6e,_0x49c52a,_0x117527)=>{for(var _0x116fa5=_0x117527>0x1?void 0x0:_0x117527?_0x5383ff(_0x382d6e,_0x49c52a):_0x382d6e,_0x471c5c=_0xd34d8d['length']-0x1,_0x3c47ee;_0x471c5c>=0x0;_0x471c5c--)(_0x3c47ee=_0xd34d8d[_0x471c5c])&&(_0x116fa5=_0x3c47ee(_0x116fa5)||_0x116fa5);return _0x116fa5;},_0x20b66a=(_0x23641c,_0x3fa6d5)=>(_0xd2e8b3,_0x52db81)=>_0x3fa6d5(_0xd2e8b3,_0x52db81,_0x23641c);const _0x3e98b2=_0x363ba1['createIdentifier'](_0x171ee8(0x2e6));function _0x2d2ff3(_0x205a4a,_0x4fac7e,_0x21e06e){var _0x4a762c=_0x171ee8;return _0x205a4a+'/'+_0x4fac7e+_0x4a762c(0x230)+_0x21e06e+_0x4a762c(0x412);}_0x8c8aef[_0x171ee8(0x271)]=class extends _0x363ba1['Disposable']{constructor(_0x16fc27,_0x529e43,_0x34353f,_0x50fdf1,_0x3058f3){var _0x5803f0=_0x171ee8;super(),this[_0x5803f0(0x2cd)]=_0x16fc27,this[_0x5803f0(0x459)]=_0x529e43,this[_0x5803f0(0x49f)]=_0x34353f,this[_0x5803f0(0x4b9)]=_0x50fdf1,this[_0x5803f0(0x3d2)]=_0x3058f3;}[_0x171ee8(0x23b)](_0x4961da){var _0x25fa89=_0x171ee8;const _0x151cc7=this[_0x25fa89(0x2cd)]['get'](_0x29ce40[_0x25fa89(0x48e)]);if(!_0x151cc7)throw new Error(_0x25fa89(0x28b));const _0x265650=_0x151cc7[_0x25fa89(0x503)](_0x4961da);if(!_0x265650)throw new Error(_0x25fa89(0x4fc));const _0x6e1857=new _0x363ba1[(_0x25fa89(0x44c))](),_0x3d5d0d=new _0x20179e['Subject']();_0x6e1857[_0x25fa89(0x509)](_0x265650[_0x25fa89(0x261)][_0x25fa89(0x278)](_0x1a4133=>_0x3d5d0d[_0x25fa89(0x321)](_0x1a4133))),_0x6e1857[_0x25fa89(0x509)](_0x363ba1[_0x25fa89(0x368)](()=>_0x3d5d0d[_0x25fa89(0x2b1)]()));const _0x19a9a7=new _0x20179e['Subject']();_0x6e1857['add'](_0x265650[_0x25fa89(0x2bf)][_0x25fa89(0x278)](_0x51c6b7=>_0x19a9a7[_0x25fa89(0x321)](_0x51c6b7))),_0x6e1857[_0x25fa89(0x509)](_0x363ba1['toDisposable'](()=>_0x19a9a7[_0x25fa89(0x2b1)]()));const _0x3ab484=new _0x20179e[(_0x25fa89(0x4d3))]();_0x6e1857[_0x25fa89(0x509)](_0x265650[_0x25fa89(0x3d7)][_0x25fa89(0x278)](_0x384e12=>{var _0xb1d59b=_0x25fa89;const _0x23d50a=_0x26c398(_0x384e12);_0x3ab484[_0xb1d59b(0x321)](_0x23d50a);})),_0x6e1857[_0x25fa89(0x509)](_0x363ba1[_0x25fa89(0x368)](()=>_0x3ab484[_0x25fa89(0x2b1)]()));let _0x2c69c6;const _0x5d2086=()=>{var _0x2a0673=_0x25fa89;_0x19a9a7[_0x2a0673(0x321)](new Event(_0x2a0673(0x221))),_0x3d5d0d['next'](new Event(_0x2a0673(0x221))),_0x2c69c6['close']();};return _0x2c69c6={'memberID':'','close$':_0x3d5d0d[_0x25fa89(0x39c)](),'error$':_0x19a9a7[_0x25fa89(0x39c)](),'open$':_0x265650[_0x25fa89(0x46b)],'message$':_0x3ab484[_0x25fa89(0x39c)](),'send':_0x172799=>{var _0x58b9b6=_0x25fa89;if(_0x172799[_0x58b9b6(0x204)]===_0x1bfa56[_0x58b9b6(0x285)]){if(_0x172799[_0x58b9b6(0x3fe)][_0x58b9b6(0x498)]===_0x42a3bb['CollaborationEvent'][_0x58b9b6(0x25c)]){this[_0x58b9b6(0x39d)](_0x2c69c6,_0x172799[_0x58b9b6(0x3fe)])[_0x58b9b6(0x287)](_0x53ea88=>{var _0x517df3=_0x58b9b6;this['_logService'][_0x517df3(0x49a)](_0x53ea88),_0x5d2086();});return;}if(_0x172799[_0x58b9b6(0x3fe)][_0x58b9b6(0x498)]===_0x42a3bb[_0x58b9b6(0x335)]['FETCH_MISSING']){const _0x595374=_0x172799[_0x58b9b6(0x3fe)];this['_fetchMissChangesets'](_0x595374)[_0x58b9b6(0x2fd)](_0xb68562=>{var _0x4e6e29=_0x58b9b6;_0x3ab484[_0x4e6e29(0x321)]({'cmd':_0x1bfa56[_0x4e6e29(0x2a9)],'code':_0x330981['OK'],'routeKey':_0x595374[_0x4e6e29(0x3fe)][_0x4e6e29(0x270)],'routeType':'','data':{'eventID':_0x42a3bb[_0x4e6e29(0x335)][_0x4e6e29(0x4e9)],'data':{'changesets':_0xb68562}}});})[_0x58b9b6(0x287)](_0x294336=>{var _0x106c32=_0x58b9b6;this[_0x106c32(0x4b9)][_0x106c32(0x49a)](_0x294336),_0x5d2086();});return;}}_0x265650[_0x58b9b6(0x245)](_0x36f3d5(_0x172799));},'close':()=>{var _0x34050=_0x25fa89;_0x265650['close'](),_0x6e1857[_0x34050(0x24d)]();}},_0x2c69c6;}async[_0x171ee8(0x39d)](_0x487200,_0x56b242){var _0x141d2d=_0x171ee8,_0xbd06bb;const {unitType:_0x3a4eb8,unitID:_0x2f5a49,changeset:_0x1c6eb3}=_0x56b242[_0x141d2d(0x3fe)],_0x6f253d={'unitID':_0x2f5a49,'memberID':_0x487200[_0x141d2d(0x249)],'type':_0x3a4eb8,'changeset':_0x42a3bb[_0x141d2d(0x342)](_0x1c6eb3)},_0x11cd1f=this[_0x141d2d(0x49f)][_0x141d2d(0x217)](_0x55ab41),_0x47a41a=_0x2d2ff3((_0xbd06bb=_0x11cd1f==null?void 0x0:_0x11cd1f[_0x141d2d(0x470)])!=null?_0xbd06bb:_0x5ccf8e,_0x3a4eb8,_0x2f5a49);try{await this[_0x141d2d(0x459)]['post'](_0x47a41a,{'body':_0x6f253d});}catch(_0x314f6a){throw this[_0x141d2d(0x4b9)][_0x141d2d(0x49a)]('[CollaborationSession]',_0x141d2d(0x39b)),_0x314f6a;}}async['_fetchMissChangesets'](_0x5e1f06){var _0x27bce2=_0x171ee8;const {unitID:_0x581deb,from:_0x54ead8,to:_0x174925,unitType:_0x1d6796}=_0x5e1f06[_0x27bce2(0x3fe)];return(await this['_snapshotServerService'][_0x27bce2(0x2a2)]({'metadata':void 0x0},{'unitID':_0x581deb,'type':_0x1d6796,'from':_0x54ead8,'to':_0x174925}))['changesets'][_0x27bce2(0x4c1)](_0x39ee08=>((_0x39ee08[_0x27bce2(0x2d2)]===null||_0x39ee08['mutations']===void 0x0)&&(_0x39ee08[_0x27bce2(0x2d2)]=[]),_0x39ee08));}},_0x8c8aef[_0x171ee8(0x271)]=_0x3f9c64([_0x20b66a(0x0,_0x363ba1['Inject'](_0x363ba1[_0x171ee8(0x467)])),_0x20b66a(0x1,_0x363ba1[_0x171ee8(0x235)](_0x29ce40[_0x171ee8(0x236)])),_0x20b66a(0x2,_0x363ba1[_0x171ee8(0x429)]),_0x20b66a(0x3,_0x363ba1['ILogService']),_0x20b66a(0x4,_0x42a3bb[_0x171ee8(0x201)])],_0x8c8aef[_0x171ee8(0x271)]);var _0x50bc1c=Object[_0x171ee8(0x4a4)],_0x115c92=(_0x39da87,_0x3c51d0,_0x23930c,_0x10c6b8)=>{for(var _0x57f0ae=_0x10c6b8>0x1?void 0x0:_0x10c6b8?_0x50bc1c(_0x3c51d0,_0x23930c):_0x3c51d0,_0x538306=_0x39da87['length']-0x1,_0x472913;_0x538306>=0x0;_0x538306--)(_0x472913=_0x39da87[_0x538306])&&(_0x57f0ae=_0x472913(_0x57f0ae)||_0x57f0ae);return _0x57f0ae;},_0x19aff0=(_0x1d0452,_0xa288ee)=>(_0x40e855,_0x23c3aa)=>_0xa288ee(_0x40e855,_0x23c3aa,_0x1d0452);_0x8c8aef[_0x171ee8(0x2d1)]=class extends _0x363ba1[_0x171ee8(0x460)]{constructor(_0x158768,_0x41f5d4,_0x1892a9,_0x2e93fb,_0x531773,_0x1be0f9){var _0x2c9b2a=_0x171ee8;super(),_0x4d38ee(this,_0x2c9b2a(0x593),new _0x20179e[(_0x2c9b2a(0x551))](void 0x0)),_0x4d38ee(this,_0x2c9b2a(0x20a),this[_0x2c9b2a(0x593)][_0x2c9b2a(0x39c)]()),_0x4d38ee(this,_0x2c9b2a(0x538),null),_0x4d38ee(this,_0x2c9b2a(0x352),new Map()),_0x4d38ee(this,_0x2c9b2a(0x53e),new _0x20179e[(_0x2c9b2a(0x551))](_0x513956[_0x2c9b2a(0x44d)])),_0x4d38ee(this,_0x2c9b2a(0x33e),this[_0x2c9b2a(0x53e)][_0x2c9b2a(0x39c)]()),_0x4d38ee(this,_0x2c9b2a(0x2c9),!0x1),_0x4d38ee(this,_0x2c9b2a(0x42e)),_0x4d38ee(this,_0x2c9b2a(0x27f),0x0),_0x4d38ee(this,_0x2c9b2a(0x273)),_0x4d38ee(this,_0x2c9b2a(0x370)),(this[_0x2c9b2a(0x2cd)]=_0x158768,this[_0x2c9b2a(0x4b9)]=_0x41f5d4,this['_configService']=_0x1892a9,this[_0x2c9b2a(0x582)]=_0x2e93fb,this[_0x2c9b2a(0x557)]=_0x531773,this[_0x2c9b2a(0x496)]=_0x1be0f9,this[_0x2c9b2a(0x20f)]());}get['_socket'](){var _0x3bbe44=_0x171ee8;return this[_0x3bbe44(0x593)][_0x3bbe44(0x298)]();}[_0x171ee8(0x20f)](){var _0x1e7ace=_0x171ee8;this[_0x1e7ace(0x496)]&&this['disposeWithMe'](this[_0x1e7ace(0x496)][_0x1e7ace(0x489)][_0x1e7ace(0x278)](_0x101c2b=>{var _0x55a788=_0x1e7ace;_0x101c2b&&!this['_socket']&&this[_0x55a788(0x4bf)](),_0x101c2b||this['_onOffline']();}));}[_0x171ee8(0x24d)](){var _0xbb9705=_0x171ee8;super[_0xbb9705(0x24d)](),this[_0xbb9705(0x4aa)](),this[_0xbb9705(0x46f)](),this[_0xbb9705(0x439)](),this[_0xbb9705(0x352)][_0xbb9705(0x3ef)](_0x58034f=>_0x58034f['dispose']()),this[_0xbb9705(0x352)][_0xbb9705(0x55a)](),this[_0xbb9705(0x53e)]['complete']();}async[_0x171ee8(0x4e0)](_0x4bc6f1){var _0x41c090=_0x171ee8;if(this[_0x41c090(0x352)]['has'](_0x4bc6f1))return this['_sessions'][_0x41c090(0x374)](_0x4bc6f1);this[_0x41c090(0x319)]();const _0x48f4cc=this[_0x41c090(0x2cd)][_0x41c090(0x4a3)](_0x8c8aef['CollaborationSession'],_0x4bc6f1,this[_0x41c090(0x593)][_0x41c090(0x39c)]());return this[_0x41c090(0x352)][_0x41c090(0x3db)](_0x4bc6f1,_0x48f4cc),_0x48f4cc;}[_0x171ee8(0x2e1)](_0x5c4fd5){var _0x348773=_0x171ee8,_0x1dd340;const _0x202f56=this[_0x348773(0x352)][_0x348773(0x374)](_0x5c4fd5);_0x202f56&&(this[_0x348773(0x352)][_0x348773(0x2c4)](_0x5c4fd5),_0x202f56[_0x348773(0x565)]()),this[_0x348773(0x352)][_0x348773(0x4c4)]||(_0x1dd340=this['_socket'])==null||_0x1dd340[_0x348773(0x565)]();}[_0x171ee8(0x4bf)](){var _0x372eb3=_0x171ee8;this[_0x372eb3(0x27f)]=0x0,this[_0x372eb3(0x4aa)](),this[_0x372eb3(0x3cf)]();}[_0x171ee8(0x4aa)](){var _0x3be137=_0x171ee8;this[_0x3be137(0x42e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3be137(0x42e)]=null);}async[_0x171ee8(0x4fb)](){var _0x106bc2=_0x171ee8,_0x55156e;const _0x1ca33f=this[_0x106bc2(0x49f)]['getConfig'](_0x55ab41),_0x465d61=(_0x55156e=_0x1ca33f==null?void 0x0:_0x1ca33f[_0x106bc2(0x47d)])!=null?_0x55156e:_0x5f2be9,_0x177a43=await this[_0x106bc2(0x582)][_0x106bc2(0x503)](_0x465d61);return this['_candidateSocket']=_0x177a43,_0x177a43;}async[_0x171ee8(0x319)](){var _0x492888=_0x171ee8,_0x31fc5f,_0x556570;try{const _0x45d589=(_0x556570=(_0x31fc5f=this[_0x492888(0x2c1)])!=null?_0x31fc5f:this[_0x492888(0x538)])!=null?_0x556570:await this['_createSocket']();if(_0x45d589){const _0x3bbf56=_0x45d589[_0x492888(0x245)];_0x45d589[_0x492888(0x245)]=_0x2253b2=>(this[_0x492888(0x42b)](),_0x3bbf56['apply'](_0x45d589,[_0x2253b2])),_0x45d589[_0x492888(0x3d7)]['subscribe'](_0x7d5ef3=>this[_0x492888(0x3a8)](_0x45d589,_0x7d5ef3)),_0x45d589[_0x492888(0x2bf)][_0x492888(0x4cf)](_0xdf7425[_0x492888(0x23d)](0x1))['subscribe'](_0x2c8204=>this[_0x492888(0x4b9)][_0x492888(0x49a)](_0x492888(0x1fd),_0x2c8204)),_0x45d589[_0x492888(0x46b)][_0x492888(0x4cf)](_0xdf7425[_0x492888(0x23d)](0x1))[_0x492888(0x278)](()=>{this['_onConnectionOpen'](_0x45d589);}),_0x45d589[_0x492888(0x261)][_0x492888(0x4cf)](_0xdf7425[_0x492888(0x23d)](0x1))[_0x492888(0x278)](_0x505044=>{var _0x703887=_0x492888;this[_0x703887(0x4b9)][_0x703887(0x490)](_0x703887(0x3e5),_0x703887(0x517),_0x505044),this[_0x703887(0x339)]();});}}catch(_0x26031e){this[_0x492888(0x4b9)][_0x492888(0x49a)](_0x26031e),this['_onConnectionFailed']();}}[_0x171ee8(0x43c)](_0x14adfc){var _0x45fc3b=_0x171ee8;this[_0x45fc3b(0x4b9)][_0x45fc3b(0x490)](_0x45fc3b(0x3e5),'socket\x20open.'),_0x14adfc['send']({'cmd':_0x1bfa56[_0x45fc3b(0x3d6)]}),this['_rescheduleHeartbeat']();}[_0x171ee8(0x1f4)](){var _0x2a2476=_0x171ee8;this[_0x2a2476(0x2c9)]=!0x1,this[_0x2a2476(0x538)]=null,this['_status$'][_0x2a2476(0x321)](_0x513956[_0x2a2476(0x205)]),this['_socket$'][_0x2a2476(0x321)](null),this[_0x2a2476(0x46f)](),this[_0x2a2476(0x439)]();}[_0x171ee8(0x339)](){var _0x44c7a5=_0x171ee8,_0x3a143f;this[_0x44c7a5(0x1f4)](),this[_0x44c7a5(0x27f)]<((_0x3a143f=this[_0x44c7a5(0x49f)][_0x44c7a5(0x217)](_0x986301))!=null?_0x3a143f:0x3)?(this[_0x44c7a5(0x557)][_0x44c7a5(0x3ff)]({'id':_0x14e9f2['SOCKET_FAILED_RETRY']}),this[_0x44c7a5(0x3cf)]()):this[_0x44c7a5(0x557)][_0x44c7a5(0x3ff)]({'id':_0x14e9f2[_0x44c7a5(0x3e9)]});}[_0x171ee8(0x3cf)](){var _0x33c499=_0x171ee8,_0x3d272a;const _0x231bdd=this[_0x33c499(0x27f)],_0x12f5dc=this['_configService'][_0x33c499(0x217)](_0x55ab41),_0x46f4e1=_0x231bdd===0x0?0x0:((_0x3d272a=_0x12f5dc==null?void 0x0:_0x12f5dc[_0x33c499(0x462)])!=null?_0x3d272a:0x4e20)*0x2**_0x231bdd;this[_0x33c499(0x42e)]=setTimeout(()=>{var _0x292faf=_0x33c499;clearTimeout(this[_0x292faf(0x42e)]),this['_retryConnectingTimer']=null,this[_0x292faf(0x319)]();},_0x46f4e1),this[_0x33c499(0x27f)]+=0x1;}[_0x171ee8(0x3a8)](_0x2d999e,_0x45a82a){var _0xd1977=_0x171ee8;const {cmd:_0x3b6703}=_0x45a82a;_0x3b6703===_0x1bfa56[_0xd1977(0x3d6)]&&!this[_0xd1977(0x2c9)]&&(_0x2d999e['memberID']=_0x45a82a[_0xd1977(0x3fe)][_0xd1977(0x249)],this[_0xd1977(0x593)][_0xd1977(0x321)](_0x2d999e),this['_status$'][_0xd1977(0x321)](_0x513956['ONLINE']),this[_0xd1977(0x2c9)]=!0x0,this[_0xd1977(0x538)]=null),_0x3b6703===_0x1bfa56[_0xd1977(0x354)]&&this[_0xd1977(0x46f)](),this[_0xd1977(0x42b)]();}['_rescheduleHeartbeat'](){var _0x125b27=_0x171ee8,_0x4ae969;this[_0x125b27(0x439)](),this[_0x125b27(0x273)]=setTimeout(()=>this[_0x125b27(0x491)](),(_0x4ae969=this['_configService'][_0x125b27(0x217)](_0x393504))!=null?_0x4ae969:0x7530);}[_0x171ee8(0x491)](){var _0x100e9f=_0x171ee8;this[_0x100e9f(0x2c1)][_0x100e9f(0x245)]({'cmd':_0x1bfa56[_0x100e9f(0x354)]}),this['_waitForHeartbeatResponse']();}[_0x171ee8(0x27c)](){var _0x2b840b=_0x171ee8,_0x502f6a;this[_0x2b840b(0x370)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x502f6a=this[_0x2b840b(0x49f)][_0x2b840b(0x217)](_0x2393ea))!=null?_0x502f6a:0x4e20);}[_0x171ee8(0x439)](){var _0x23447c=_0x171ee8;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x23447c(0x273)]),this[_0x23447c(0x273)]=null);}['_clearTimeoutTimer'](){var _0x29f9b3=_0x171ee8;this[_0x29f9b3(0x370)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x29f9b3(0x370)]=null);}},_0x8c8aef[_0x171ee8(0x2d1)]=_0x115c92([_0x19aff0(0x0,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x467)])),_0x19aff0(0x1,_0x363ba1[_0x171ee8(0x295)]),_0x19aff0(0x2,_0x363ba1[_0x171ee8(0x429)]),_0x19aff0(0x3,_0x3e98b2),_0x19aff0(0x4,_0x363ba1['Inject'](_0x280f51)),_0x19aff0(0x5,_0x363ba1[_0x171ee8(0x25e)](_0x55a4a4))],_0x8c8aef[_0x171ee8(0x2d1)]);var _0x2349e6=Object[_0x171ee8(0x4a4)],_0xeb2eca=(_0x329ff6,_0xa2de14,_0x2d7c28,_0x282ed5)=>{for(var _0x1a783f=_0x282ed5>0x1?void 0x0:_0x282ed5?_0x2349e6(_0xa2de14,_0x2d7c28):_0xa2de14,_0x5bff91=_0x329ff6['length']-0x1,_0x125f3b;_0x5bff91>=0x0;_0x5bff91--)(_0x125f3b=_0x329ff6[_0x5bff91])&&(_0x1a783f=_0x125f3b(_0x1a783f)||_0x1a783f);return _0x1a783f;},_0x152d66=(_0x5893a5,_0x1f764c)=>(_0xd37eb8,_0x90caf0)=>_0x1f764c(_0xd37eb8,_0x90caf0,_0x5893a5);_0x8c8aef[_0x171ee8(0x355)]=class extends _0x363ba1[_0x171ee8(0x448)]{constructor(_0x14f92f,_0x21eb51,_0x19ee6f,_0x366f97){var _0x2a95d8=_0x171ee8,_0x3b9b2d;super(),_0x4d38ee(this,_0x2a95d8(0x41f),new Map()),_0x4d38ee(this,_0x2a95d8(0x3a2),new _0x20179e[(_0x2a95d8(0x4d3))]()),_0x4d38ee(this,'entityInit$',this[_0x2a95d8(0x3a2)][_0x2a95d8(0x39c)]()),(this['_injector']=_0x14f92f,this[_0x2a95d8(0x403)]=_0x21eb51,this[_0x2a95d8(0x49f)]=_0x19ee6f,this[_0x2a95d8(0x556)]=_0x366f97,((_0x3b9b2d=this[_0x2a95d8(0x49f)][_0x2a95d8(0x217)](_0x55ab41))==null?void 0x0:_0x3b9b2d[_0x2a95d8(0x583)])!==!0x1&&this['_init']());}[_0x171ee8(0x24d)](){var _0x920f1c=_0x171ee8;super[_0x920f1c(0x24d)](),this['_entities'][_0x920f1c(0x3ef)](_0x2f2903=>_0x2f2903[_0x920f1c(0x24d)]()),this[_0x920f1c(0x41f)][_0x920f1c(0x55a)]();}['getCollabEntity'](_0x49a4d7){var _0x521f17=_0x171ee8,_0x1e3e60;return(_0x1e3e60=this['_entities'][_0x521f17(0x374)](_0x49a4d7))!=null?_0x1e3e60:null;}[_0x171ee8(0x378)](_0x38f9b5){var _0x5417d3=_0x171ee8;const _0x10c1e6=this[_0x5417d3(0x3df)](_0x38f9b5);return _0x10c1e6?_0x20179e['of'](_0x10c1e6):this[_0x5417d3(0x3a2)][_0x5417d3(0x4cf)](_0xdf7425[_0x5417d3(0x2da)](_0x426a30=>_0x426a30[_0x5417d3(0x270)]===_0x38f9b5));}[_0x171ee8(0x45f)](_0x28d26e){var _0x125004=_0x171ee8;return _0x20179e[_0x125004(0x1fe)](this[_0x125004(0x378)](_0x28d26e)[_0x125004(0x4cf)](_0xdf7425[_0x125004(0x4c1)](()=>{})));}[_0x171ee8(0x331)](){var _0x90c691=_0x171ee8;this[_0x90c691(0x556)]['getTypeOfUnitAdded$'](_0x363ba1['UniverInstanceType'][_0x90c691(0x3e1)])['pipe'](_0x20179e[_0x90c691(0x251)](this[_0x90c691(0x3c4)]),_0xdf7425[_0x90c691(0x2b6)](0x10))[_0x90c691(0x278)](async _0x59580c=>{var _0x1e0933=_0x90c691;const _0x27fcb0=_0x59580c[_0x1e0933(0x2ac)](),_0x378694=await this['_startCollaboration'](_0x27fcb0,_0x57859c[_0x1e0933(0x3e1)]);this[_0x1e0933(0x41f)][_0x1e0933(0x3db)](_0x27fcb0,_0x378694);}),this[_0x90c691(0x556)]['getTypeOfUnitAdded$'](_0x363ba1[_0x90c691(0x2a1)][_0x90c691(0x57a)])[_0x90c691(0x4cf)](_0x20179e['takeUntil'](this[_0x90c691(0x3c4)]),_0xdf7425[_0x90c691(0x2b6)](0x10))[_0x90c691(0x4cf)](_0xdf7425['filter'](_0xe5954a=>!_0xe5954a[_0x90c691(0x2ac)]()[_0x90c691(0x23c)]('__')))['subscribe'](async _0x12ab45=>{var _0x52cedf=_0x90c691;const _0x26ab09=_0x12ab45[_0x52cedf(0x2ac)](),_0x338511=await this['_startCollaboration'](_0x26ab09,_0x57859c[_0x52cedf(0x57a)]);this[_0x52cedf(0x41f)][_0x52cedf(0x3db)](_0x26ab09,_0x338511);}),_0x20179e[_0x90c691(0x560)](this[_0x90c691(0x556)]['getTypeOfUnitDisposed$'](_0x363ba1[_0x90c691(0x2a1)][_0x90c691(0x3e1)]),this[_0x90c691(0x556)][_0x90c691(0x44a)](_0x363ba1[_0x90c691(0x2a1)][_0x90c691(0x57a)]))[_0x90c691(0x4cf)](_0x20179e[_0x90c691(0x251)](this[_0x90c691(0x3c4)]))[_0x90c691(0x278)](_0x11f201=>{var _0x264b5e=_0x90c691;const _0x15133c=_0x11f201['getUnitId'](),_0x1917a8=this[_0x264b5e(0x41f)][_0x264b5e(0x374)](_0x15133c);_0x1917a8&&(_0x1917a8[_0x264b5e(0x24d)](),this[_0x264b5e(0x41f)][_0x264b5e(0x2c4)](_0x15133c));});}async[_0x171ee8(0x4e2)](_0x47a24f,_0x1affa6){var _0x2b5bef=_0x171ee8;const _0x21c83e=await this['_collabSessionService'][_0x2b5bef(0x4e0)](_0x47a24f),_0x492ed5=this[_0x2b5bef(0x2cd)][_0x2b5bef(0x4a3)](this[_0x2b5bef(0x2b9)](_0x1affa6),_0x47a24f,_0x1affa6,_0x21c83e);return await _0x492ed5['init'](),this[_0x2b5bef(0x3a2)][_0x2b5bef(0x321)](_0x492ed5),_0x492ed5;}['_getCtorByUniverType'](_0x2da03e){var _0x5b70dd=_0x171ee8;switch(_0x2da03e){case _0x57859c['UNIVER_DOC']:return _0x8c8aef['DocCollaborationEntity'];case _0x57859c[_0x5b70dd(0x3e1)]:return _0x8c8aef[_0x5b70dd(0x31f)];default:throw new Error(_0x5b70dd(0x590)+_0x2da03e);}}},_0x8c8aef['CollaborationController']=_0xeb2eca([_0x152d66(0x0,_0x363ba1['Inject'](_0x363ba1['Injector'])),_0x152d66(0x1,_0x363ba1[_0x171ee8(0x235)](_0x8c8aef[_0x171ee8(0x2d1)])),_0x152d66(0x2,_0x363ba1['IConfigService']),_0x152d66(0x3,_0x363ba1[_0x171ee8(0x34a)])],_0x8c8aef[_0x171ee8(0x355)]);var _0x4cc116=Object[_0x171ee8(0x4a4)],_0x3c4174=(_0xbffa28,_0x5ed5e8,_0x2bdf6b,_0x1165f2)=>{var _0x4acf04=_0x171ee8;for(var _0x508dd5=_0x1165f2>0x1?void 0x0:_0x1165f2?_0x4cc116(_0x5ed5e8,_0x2bdf6b):_0x5ed5e8,_0x4e1e9e=_0xbffa28[_0x4acf04(0x56b)]-0x1,_0x2e68e0;_0x4e1e9e>=0x0;_0x4e1e9e--)(_0x2e68e0=_0xbffa28[_0x4e1e9e])&&(_0x508dd5=_0x2e68e0(_0x508dd5)||_0x508dd5);return _0x508dd5;},_0x52ed69=(_0x52ff53,_0x3958ff)=>(_0x459128,_0x2f91c4)=>_0x3958ff(_0x459128,_0x2f91c4,_0x52ff53);const _0x61b1b7=_0x171ee8(0x4e1),_0x425333='Univer';let _0x41fa94=class extends _0x363ba1['Disposable']{constructor(_0x11cdb6,_0x28af1b){var _0x190461=_0x171ee8;super(),this[_0x190461(0x556)]=_0x11cdb6,this[_0x190461(0x49f)]=_0x28af1b,this[_0x190461(0x331)]();}[_0x171ee8(0x331)](){var _0x1baab1=_0x171ee8;this[_0x1baab1(0x3f6)](this[_0x1baab1(0x556)]['focused$'][_0x1baab1(0x278)](()=>{var _0x5455ec=_0x1baab1,_0x54fe22;const _0x436bb7=this[_0x5455ec(0x556)][_0x5455ec(0x2c0)]();let _0x5f4115=(_0x54fe22=this[_0x5455ec(0x49f)][_0x5455ec(0x217)](_0x61b1b7))!=null?_0x54fe22:_0x425333;_0x436bb7 instanceof _0x363ba1[_0x5455ec(0x3f4)]&&(_0x5f4115=_0x436bb7['name']),document[_0x5455ec(0x545)]=_0x5f4115;}));}};_0x41fa94=_0x3c4174([_0x52ed69(0x0,_0x363ba1['IUniverInstanceService']),_0x52ed69(0x1,_0x363ba1[_0x171ee8(0x429)])],_0x41fa94);var _0xad95dc=Object[_0x171ee8(0x4a4)],_0xd4eeb=(_0x5c39a3,_0x825525,_0x1b61a9,_0x271f68)=>{var _0x307ed7=_0x171ee8;for(var _0x555aa7=_0x271f68>0x1?void 0x0:_0x271f68?_0xad95dc(_0x825525,_0x1b61a9):_0x825525,_0x4247d1=_0x5c39a3[_0x307ed7(0x56b)]-0x1,_0x5a71d3;_0x4247d1>=0x0;_0x4247d1--)(_0x5a71d3=_0x5c39a3[_0x4247d1])&&(_0x555aa7=_0x5a71d3(_0x555aa7)||_0x555aa7);return _0x555aa7;},_0x5eec5d=(_0x557e78,_0x3fcfab)=>(_0x439f26,_0x5cc0e2)=>_0x3fcfab(_0x439f26,_0x5cc0e2,_0x557e78);let _0x4d5e89=class{constructor(_0x47feb7,_0x39f688,_0x528f02){var _0x3e00ef=_0x171ee8;this['_configService']=_0x47feb7,this['_httpService']=_0x39f688,this[_0x3e00ef(0x36e)]=_0x528f02,this[_0x3e00ef(0x2dc)]();}['init'](){var _0x82fc3a=_0x171ee8;this[_0x82fc3a(0x459)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x474c30,_0x1c3806)=>_0x1c3806(_0x474c30)[_0x82fc3a(0x4cf)](_0x20179e[_0x82fc3a(0x575)](async _0x14e448=>{var _0x50f80f=_0x82fc3a;const _0x4e4b7e=_0x14e448;if(_0x4e4b7e['status']===0x191){if(typeof window>'u')throw new Error(_0x50f80f(0x395));if(window[_0x50f80f(0x512)](this['localeService']['t'](_0x50f80f(0x2af)))){const _0x3dc04d=window['encodeURIComponent'](window[_0x50f80f(0x1e8)][_0x50f80f(0x598)]);window[_0x50f80f(0x1e8)][_0x50f80f(0x598)]=this['_getLoginPath']()+_0x50f80f(0x203)+_0x3dc04d;}}return _0x4e4b7e;}))});}[_0x171ee8(0x244)](){var _0x416887=_0x171ee8,_0x56728f;const _0x5b217f=this[_0x416887(0x49f)][_0x416887(0x217)](_0x55ab41);return(_0x56728f=_0x5b217f==null?void 0x0:_0x5b217f[_0x416887(0x44e)])!=null?_0x56728f:_0x3ecdad;}};_0x4d5e89=_0xd4eeb([_0x5eec5d(0x0,_0x363ba1['IConfigService']),_0x5eec5d(0x1,_0x363ba1[_0x171ee8(0x235)](_0x29ce40[_0x171ee8(0x236)])),_0x5eec5d(0x2,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x584)]))],_0x4d5e89);var _0x1dbeb1=Object[_0x171ee8(0x4a4)],_0x2c5589=(_0x3a85d8,_0x2cdb43,_0x111df1,_0x2fa831)=>{for(var _0x2ee834=_0x2fa831>0x1?void 0x0:_0x2fa831?_0x1dbeb1(_0x2cdb43,_0x111df1):_0x2cdb43,_0x20859f=_0x3a85d8['length']-0x1,_0x5a38f6;_0x20859f>=0x0;_0x20859f--)(_0x5a38f6=_0x3a85d8[_0x20859f])&&(_0x2ee834=_0x5a38f6(_0x2ee834)||_0x2ee834);return _0x2ee834;},_0x2a5d0f=(_0x44bba6,_0x4b7b60)=>(_0x524930,_0x1fdf65)=>_0x4b7b60(_0x524930,_0x1fdf65,_0x44bba6);const _0x1eeeb5='/universer-api/authz';_0x8c8aef[_0x171ee8(0x54f)]=class extends _0x363ba1[_0x171ee8(0x460)]{constructor(_0x38dcf6,_0x4fa30b){var _0x57d92a=_0x171ee8;super(),this['_HTTPService']=_0x38dcf6,this[_0x57d92a(0x49f)]=_0x4fa30b,this[_0x57d92a(0x21d)]();}[_0x171ee8(0x21d)](){var _0xb9d15c=_0x171ee8;const _0x4e027c=this;this[_0xb9d15c(0x3f6)](this[_0xb9d15c(0x4b1)][_0xb9d15c(0x34d)]({'priority':0x3e7,'interceptor':_0x29ce40[_0xb9d15c(0x413)]({'isMatch'(_0x3dafd3){var _0x329570=_0xb9d15c,_0x19edda;if(_0x3dafd3['method']===_0x329570(0x4f3)&&((_0x19edda=_0x3dafd3['requestParams'])!=null&&_0x19edda[_0x329570(0x479)])){const {objectID:_0x4463ab,objectType:_0x3abf7a}=_0x3dafd3[_0x329570(0x57f)][_0x329570(0x479)]||{};if(!_0x4463ab||_0x3abf7a===void 0x0)return!0x1;const _0x1b0cab=_0x4e027c[_0x329570(0x21c)]()+'/'+_0x3abf7a+_0x329570(0x4b7)+_0x4463ab+'/allowed';if(_0x3dafd3[_0x329570(0x336)]===_0x1b0cab)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xd1ddde){var _0x719fbc=_0xb9d15c,_0x212584;return(_0x212584=_0xd1ddde[_0x719fbc(0x57f)])==null?void 0x0:_0x212584[_0x719fbc(0x479)];},'mergeParamsToRequest'(_0x5c1ea2,_0x138bbe){var _0x474c57=_0xb9d15c;const _0xcfd186=_0x4e027c[_0x474c57(0x21c)]()+_0x474c57(0x399),_0x2bc9ff=_0x5c1ea2[_0x474c57(0x256)]((_0x33492f,_0x1ff06d)=>{var _0x593d18=_0x474c57;const {unitID:_0x36348e,objectID:_0x18e3bb,objectType:_0x427bf4,actions:_0x3e2c55}=_0x1ff06d;return _0x33492f[_0x36348e]||(_0x33492f[_0x36348e]={}),_0x33492f[_0x36348e][_0x18e3bb]||(_0x33492f[_0x36348e][_0x18e3bb]={'objectID':_0x18e3bb,'objectType':_0x427bf4,'actions':[]}),_0x33492f[_0x36348e][_0x18e3bb][_0x593d18(0x415)][_0x593d18(0x3de)](..._0x3e2c55),_0x33492f;},{}),_0x395cc1=[];for(const _0x42f77e in _0x2bc9ff)for(const _0x4fe372 in _0x2bc9ff[_0x42f77e]){const {actions:_0x2f87fa,objectType:_0x5e3f0b}=_0x2bc9ff[_0x42f77e][_0x4fe372],_0x2095d8=[...new Set(_0x2f87fa)];_0x395cc1[_0x474c57(0x3de)]({'unitID':_0x42f77e,'objectID':_0x4fe372,'objectType':_0x5e3f0b,'actions':_0x2095d8});}return new _0x29ce40[(_0x474c57(0x2a6))]('POST',_0xcfd186,{'headers':_0x138bbe[_0x474c57(0x530)],'withCredentials':_0x138bbe[_0x474c57(0x56c)],'responseType':_0x138bbe[_0x474c57(0x520)],'body':{'requests':_0x395cc1}});}},{'distributeResult'(_0x41581a,_0x493611){var _0x1a516e=_0xb9d15c;const {objectActions:_0x23b7b3}=_0x41581a;return _0x493611[_0x1a516e(0x4c1)](_0xefebc3=>{var _0x2cb5f5=_0x1a516e;const {unitID:_0x2930e8,objectID:_0x43f3e6,actions:_0x5b33e2}=_0xefebc3,_0x3d8b54=_0x23b7b3[_0x2cb5f5(0x51f)](_0x1b19dd=>_0x1b19dd[_0x2cb5f5(0x270)]===_0x2930e8&&_0x1b19dd[_0x2cb5f5(0x471)]===_0x43f3e6),_0x4bf9d1=_0x5b33e2[_0x2cb5f5(0x4c1)](_0x10b467=>_0x3d8b54==null?void 0x0:_0x3d8b54['actions'][_0x2cb5f5(0x51f)](_0x1cbb22=>_0x1cbb22[_0x2cb5f5(0x31b)]===_0x10b467))[_0x2cb5f5(0x2da)](_0x34f6d6=>!!_0x34f6d6);return{'config':_0xefebc3,'result':{'actions':_0x4bf9d1,'error':_0x41581a['error']}};});}})}));}[_0x171ee8(0x21c)](){var _0x509b4d=_0x171ee8,_0x3862fe;const _0x146923=this[_0x509b4d(0x49f)]['getConfig'](_0x55ab41);return(_0x3862fe=_0x146923==null?void 0x0:_0x146923[_0x509b4d(0x569)])!=null?_0x3862fe:_0x1eeeb5;}async[_0x171ee8(0x369)](_0x1c21e5){var _0x1f2cd3=_0x171ee8;const _0x12ea63=this['_getAPIPrefixPath']()+'/'+_0x1c21e5[_0x1f2cd3(0x580)]+_0x1f2cd3(0x1ee);return(await this[_0x1f2cd3(0x4b1)]['post'](_0x12ea63,{'body':_0x1c21e5}))[_0x1f2cd3(0x479)][_0x1f2cd3(0x471)]||'';}async[_0x171ee8(0x2d3)](_0x1b2a5c){var _0x2229f=_0x171ee8;const _0x5f13bd=this[_0x2229f(0x21c)]()+_0x2229f(0x307);return(await this[_0x2229f(0x4b1)][_0x2229f(0x2ae)](_0x5f13bd,{'body':_0x1b2a5c}))[_0x2229f(0x479)]['objects'];}async['update'](_0x1e139a){var _0x2f2ab4=_0x171ee8,_0x3dd35e,_0x485275;const _0x287e30=this[_0x2f2ab4(0x21c)]()+'/'+_0x1e139a['objectType']+_0x2f2ab4(0x4b7)+_0x1e139a[_0x2f2ab4(0x471)],_0x23cbf4=await this[_0x2f2ab4(0x4b1)][_0x2f2ab4(0x338)](_0x287e30,{'body':_0x1e139a});if(((_0x485275=(_0x3dd35e=_0x23cbf4==null?void 0x0:_0x23cbf4[_0x2f2ab4(0x479)])==null?void 0x0:_0x3dd35e[_0x2f2ab4(0x49a)])==null?void 0x0:_0x485275[_0x2f2ab4(0x3f9)])!==0x1)throw new Error(_0x2f2ab4(0x418));}async[_0x171ee8(0x2fc)](_0x12c355){var _0x1ad83a=_0x171ee8;const _0x3303d3=this[_0x1ad83a(0x21c)]()+'/'+_0x12c355[_0x1ad83a(0x580)]+_0x1ad83a(0x4b7)+_0x12c355['objectID']+_0x1ad83a(0x549);return(await this[_0x1ad83a(0x4b1)][_0x1ad83a(0x2ae)](_0x3303d3,{'body':_0x12c355}))[_0x1ad83a(0x479)][_0x1ad83a(0x415)];}async['batchAllowed'](_0x3e3cd2){var _0x328035=_0x171ee8;const _0x28b50d=this['_getAPIPrefixPath']()+_0x328035(0x399);return(await this[_0x328035(0x4b1)][_0x328035(0x2ae)](_0x28b50d,{'body':{'requests':_0x3e3cd2}}))['body']['objectActions'];}async[_0x171ee8(0x37c)](_0x59633c){var _0x56508e=_0x171ee8;const _0x213b52=this['_getAPIPrefixPath']()+'/'+_0x59633c[_0x56508e(0x580)]+_0x56508e(0x51d),_0x232028=await this[_0x56508e(0x4b1)][_0x56508e(0x2ae)](_0x213b52,{'body':_0x59633c});return{'roles':_0x232028[_0x56508e(0x479)][_0x56508e(0x425)],'actions':_0x232028[_0x56508e(0x479)][_0x56508e(0x415)]};}async[_0x171ee8(0x2bb)](_0x2b94c5){var _0x4e8617=_0x171ee8;const _0x2feea2=this['_getAPIPrefixPath']()+_0x4e8617(0x349);await this[_0x4e8617(0x4b1)][_0x4e8617(0x2c4)](_0x2feea2,{'params':{'collaboratorID':_0x2b94c5[_0x4e8617(0x527)],'objectID':_0x2b94c5[_0x4e8617(0x471)],'unitID':_0x2b94c5['unitID']}});}async[_0x171ee8(0x27b)](_0x4c5d95){var _0x459270=_0x171ee8;const _0x2af159=this[_0x459270(0x21c)]()+_0x459270(0x349);await this[_0x459270(0x4b1)]['patch'](_0x2af159,{'body':_0x4c5d95});}async[_0x171ee8(0x408)](_0x27b541){var _0x3ad991=_0x171ee8;const _0x17f20e=this[_0x3ad991(0x21c)]()+_0x3ad991(0x349);await this[_0x3ad991(0x4b1)][_0x3ad991(0x2ae)](_0x17f20e,{'body':_0x27b541});}async[_0x171ee8(0x561)](_0x20e083){var _0x51a2cf=_0x171ee8;const _0x1357a7=this[_0x51a2cf(0x21c)]()+'/collaborator';return(await this['_HTTPService'][_0x51a2cf(0x374)](_0x1357a7,{'params':{'objectID':_0x20e083['objectID'],'unitID':_0x20e083['unitID']}}))['body']['collaborators'];}async[_0x171ee8(0x243)](_0x380a26){var _0x7f0df3=_0x171ee8;const _0x1ac4b7=this[_0x7f0df3(0x21c)]()+_0x7f0df3(0x349);await this['_HTTPService'][_0x7f0df3(0x338)](_0x1ac4b7,{'body':_0x380a26});}},_0x8c8aef[_0x171ee8(0x54f)]=_0x2c5589([_0x2a5d0f(0x0,_0x363ba1[_0x171ee8(0x235)](_0x29ce40[_0x171ee8(0x236)])),_0x2a5d0f(0x1,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x429)]))],_0x8c8aef[_0x171ee8(0x54f)]);var _0x5e0de3=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4b4ef5(_0x299d97){var _0x5b962e=_0x171ee8;return _0x299d97&&_0x299d97[_0x5b962e(0x254)]&&Object[_0x5b962e(0x3d8)][_0x5b962e(0x428)][_0x5b962e(0x411)](_0x299d97,_0x5b962e(0x382))?_0x299d97[_0x5b962e(0x382)]:_0x299d97;}var _0x4f85cb={'exports':{}};function _0x1b8e42(_0x56da55){var _0x225975=_0x171ee8;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x56da55+_0x225975(0x426));}var _0x3f6edc={'exports':{}},_0x585158=_0x3f6edc[_0x171ee8(0x301)],_0x5245bc;function _0x3df9ad(){var _0x4cb90b=_0x171ee8;return _0x5245bc||(_0x5245bc=0x1,function(_0xa6fe3b,_0x73639b){(function(_0x258a0f,_0x22fbfb){_0xa6fe3b['exports']=_0x22fbfb();}(_0x585158,function(){var _0x24c417=_0x24c417||function(_0x16a016,_0x54ffb0){var _0x43d98d=_0x5de5,_0x1718e3;if(typeof window<'u'&&window[_0x43d98d(0x50c)]&&(_0x1718e3=window[_0x43d98d(0x50c)]),typeof self<'u'&&self[_0x43d98d(0x50c)]&&(_0x1718e3=self[_0x43d98d(0x50c)]),typeof globalThis<'u'&&globalThis[_0x43d98d(0x50c)]&&(_0x1718e3=globalThis[_0x43d98d(0x50c)]),!_0x1718e3&&typeof window<'u'&&window[_0x43d98d(0x475)]&&(_0x1718e3=window[_0x43d98d(0x475)]),!_0x1718e3&&typeof _0x5e0de3<'u'&&_0x5e0de3['crypto']&&(_0x1718e3=_0x5e0de3[_0x43d98d(0x50c)]),!_0x1718e3&&typeof _0x1b8e42==_0x43d98d(0x52c))try{_0x1718e3=require('crypto');}catch{}var _0x31c4ee=function(){var _0x30eb67=_0x43d98d;if(_0x1718e3){if(typeof _0x1718e3['getRandomValues']==_0x30eb67(0x52c))try{return _0x1718e3[_0x30eb67(0x47f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1718e3[_0x30eb67(0x2ca)]==_0x30eb67(0x52c))try{return _0x1718e3[_0x30eb67(0x2ca)](0x4)[_0x30eb67(0x225)]();}catch{}}throw new Error(_0x30eb67(0x250));},_0x1b8c97=Object[_0x43d98d(0x369)]||(function(){function _0x4d8892(){}return function(_0x5c27bc){var _0x1ecb85=_0x5de5,_0x4793a7;return _0x4d8892[_0x1ecb85(0x3d8)]=_0x5c27bc,_0x4793a7=new _0x4d8892(),_0x4d8892['prototype']=null,_0x4793a7;};}()),_0x596b5a={},_0x377f8f=_0x596b5a['lib']={},_0x50eb60=_0x377f8f['Base']=(function(){return{'extend':function(_0x3814db){var _0x4fa1cc=_0x5de5,_0x3ec863=_0x1b8c97(this);return _0x3814db&&_0x3ec863[_0x4fa1cc(0x597)](_0x3814db),(!_0x3ec863['hasOwnProperty'](_0x4fa1cc(0x2dc))||this[_0x4fa1cc(0x2dc)]===_0x3ec863[_0x4fa1cc(0x2dc)])&&(_0x3ec863[_0x4fa1cc(0x2dc)]=function(){var _0x1ec106=_0x4fa1cc;_0x3ec863['$super'][_0x1ec106(0x2dc)][_0x1ec106(0x33d)](this,arguments);}),_0x3ec863[_0x4fa1cc(0x2dc)][_0x4fa1cc(0x3d8)]=_0x3ec863,_0x3ec863[_0x4fa1cc(0x390)]=this,_0x3ec863;},'create':function(){var _0x16ad80=_0x5de5,_0x34c19e=this[_0x16ad80(0x410)]();return _0x34c19e[_0x16ad80(0x2dc)]['apply'](_0x34c19e,arguments),_0x34c19e;},'init':function(){},'mixIn':function(_0x45c6c1){var _0x148c83=_0x5de5;for(var _0x4c3d84 in _0x45c6c1)_0x45c6c1['hasOwnProperty'](_0x4c3d84)&&(this[_0x4c3d84]=_0x45c6c1[_0x4c3d84]);_0x45c6c1[_0x148c83(0x428)](_0x148c83(0x2f8))&&(this['toString']=_0x45c6c1['toString']);},'clone':function(){var _0x1aeefc=_0x5de5;return this['init'][_0x1aeefc(0x3d8)][_0x1aeefc(0x410)](this);}};}()),_0x4f7ccc=_0x377f8f[_0x43d98d(0x1f1)]=_0x50eb60[_0x43d98d(0x410)]({'init':function(_0x4e80ea,_0x5baafc){var _0x265543=_0x43d98d;_0x4e80ea=this['words']=_0x4e80ea||[],_0x5baafc!=_0x54ffb0?this['sigBytes']=_0x5baafc:this[_0x265543(0x47b)]=_0x4e80ea[_0x265543(0x56b)]*0x4;},'toString':function(_0x11f08a){var _0x2d3c61=_0x43d98d;return(_0x11f08a||_0x2ccbdf)[_0x2d3c61(0x234)](this);},'concat':function(_0x675546){var _0x13c658=_0x43d98d,_0x2032ba=this['words'],_0x3f921d=_0x675546[_0x13c658(0x4f9)],_0x3726cb=this['sigBytes'],_0x12d2ec=_0x675546[_0x13c658(0x47b)];if(this[_0x13c658(0x2c5)](),_0x3726cb%0x4)for(var _0x4689cb=0x0;_0x4689cb<_0x12d2ec;_0x4689cb++){var _0x38e12f=_0x3f921d[_0x4689cb>>>0x2]>>>0x18-_0x4689cb%0x4*0x8&0xff;_0x2032ba[_0x3726cb+_0x4689cb>>>0x2]|=_0x38e12f<<0x18-(_0x3726cb+_0x4689cb)%0x4*0x8;}else{for(var _0x362f1a=0x0;_0x362f1a<_0x12d2ec;_0x362f1a+=0x4)_0x2032ba[_0x3726cb+_0x362f1a>>>0x2]=_0x3f921d[_0x362f1a>>>0x2];}return this[_0x13c658(0x47b)]+=_0x12d2ec,this;},'clamp':function(){var _0x500392=_0x43d98d,_0xe27675=this[_0x500392(0x4f9)],_0x301bec=this['sigBytes'];_0xe27675[_0x301bec>>>0x2]&=0xffffffff<<0x20-_0x301bec%0x4*0x8,_0xe27675[_0x500392(0x56b)]=_0x16a016[_0x500392(0x4fd)](_0x301bec/0x4);},'clone':function(){var _0x23fa42=_0x43d98d,_0x1bafad=_0x50eb60[_0x23fa42(0x277)]['call'](this);return _0x1bafad[_0x23fa42(0x4f9)]=this[_0x23fa42(0x4f9)][_0x23fa42(0x39e)](0x0),_0x1bafad;},'random':function(_0x192fab){var _0x8ffd9b=_0x43d98d;for(var _0x395e73=[],_0x227414=0x0;_0x227414<_0x192fab;_0x227414+=0x4)_0x395e73[_0x8ffd9b(0x3de)](_0x31c4ee());return new _0x4f7ccc[(_0x8ffd9b(0x2dc))](_0x395e73,_0x192fab);}}),_0x283462=_0x596b5a['enc']={},_0x2ccbdf=_0x283462[_0x43d98d(0x407)]={'stringify':function(_0x31aded){var _0x4695c1=_0x43d98d;for(var _0x58dc3d=_0x31aded['words'],_0x19ea41=_0x31aded['sigBytes'],_0x5455d9=[],_0x2c5f63=0x0;_0x2c5f63<_0x19ea41;_0x2c5f63++){var _0x487e81=_0x58dc3d[_0x2c5f63>>>0x2]>>>0x18-_0x2c5f63%0x4*0x8&0xff;_0x5455d9[_0x4695c1(0x3de)]((_0x487e81>>>0x4)[_0x4695c1(0x2f8)](0x10)),_0x5455d9['push']((_0x487e81&0xf)[_0x4695c1(0x2f8)](0x10));}return _0x5455d9[_0x4695c1(0x518)]('');},'parse':function(_0xc45c3d){var _0xaeb9ac=_0x43d98d;for(var _0x248c26=_0xc45c3d[_0xaeb9ac(0x56b)],_0x9a3c3a=[],_0x1ba63d=0x0;_0x1ba63d<_0x248c26;_0x1ba63d+=0x2)_0x9a3c3a[_0x1ba63d>>>0x3]|=parseInt(_0xc45c3d['substr'](_0x1ba63d,0x2),0x10)<<0x18-_0x1ba63d%0x8*0x4;return new _0x4f7ccc[(_0xaeb9ac(0x2dc))](_0x9a3c3a,_0x248c26/0x2);}},_0x2d329a=_0x283462[_0x43d98d(0x4d8)]={'stringify':function(_0x59adc8){var _0x5f1fd5=_0x43d98d;for(var _0x1dfa94=_0x59adc8[_0x5f1fd5(0x4f9)],_0x467e0d=_0x59adc8[_0x5f1fd5(0x47b)],_0x761a39=[],_0x476db2=0x0;_0x476db2<_0x467e0d;_0x476db2++){var _0x7f0d08=_0x1dfa94[_0x476db2>>>0x2]>>>0x18-_0x476db2%0x4*0x8&0xff;_0x761a39['push'](String['fromCharCode'](_0x7f0d08));}return _0x761a39[_0x5f1fd5(0x518)]('');},'parse':function(_0x27d294){var _0x26fcf6=_0x43d98d;for(var _0x82c671=_0x27d294[_0x26fcf6(0x56b)],_0x522f8c=[],_0x2abf83=0x0;_0x2abf83<_0x82c671;_0x2abf83++)_0x522f8c[_0x2abf83>>>0x2]|=(_0x27d294[_0x26fcf6(0x3ae)](_0x2abf83)&0xff)<<0x18-_0x2abf83%0x4*0x8;return new _0x4f7ccc[(_0x26fcf6(0x2dc))](_0x522f8c,_0x82c671);}},_0x242752=_0x283462[_0x43d98d(0x58d)]={'stringify':function(_0x3f1ebf){var _0x100914=_0x43d98d;try{return decodeURIComponent(escape(_0x2d329a[_0x100914(0x234)](_0x3f1ebf)));}catch{throw new Error(_0x100914(0x3cd));}},'parse':function(_0x4674be){var _0x447c1e=_0x43d98d;return _0x2d329a[_0x447c1e(0x26e)](unescape(encodeURIComponent(_0x4674be)));}},_0x55e818=_0x377f8f[_0x43d98d(0x3b0)]=_0x50eb60[_0x43d98d(0x410)]({'reset':function(){var _0x43d452=_0x43d98d;this['_data']=new _0x4f7ccc['init'](),this[_0x43d452(0x1fa)]=0x0;},'_append':function(_0x44b4a7){var _0x162dba=_0x43d98d;typeof _0x44b4a7==_0x162dba(0x40d)&&(_0x44b4a7=_0x242752['parse'](_0x44b4a7)),this[_0x162dba(0x405)][_0x162dba(0x3c5)](_0x44b4a7),this['_nDataBytes']+=_0x44b4a7[_0x162dba(0x47b)];},'_process':function(_0x1a12dd){var _0x137f7e=_0x43d98d,_0x1e791e,_0x36c31e=this['_data'],_0x22b740=_0x36c31e[_0x137f7e(0x4f9)],_0x2dc74e=_0x36c31e[_0x137f7e(0x47b)],_0xae2dee=this[_0x137f7e(0x3cb)],_0x4d0f65=_0xae2dee*0x4,_0x522437=_0x2dc74e/_0x4d0f65;_0x1a12dd?_0x522437=_0x16a016[_0x137f7e(0x4fd)](_0x522437):_0x522437=_0x16a016['max']((_0x522437|0x0)-this['_minBufferSize'],0x0);var _0x3980a0=_0x522437*_0xae2dee,_0x4b652a=_0x16a016['min'](_0x3980a0*0x4,_0x2dc74e);if(_0x3980a0){for(var _0x425f53=0x0;_0x425f53<_0x3980a0;_0x425f53+=_0xae2dee)this[_0x137f7e(0x440)](_0x22b740,_0x425f53);_0x1e791e=_0x22b740[_0x137f7e(0x48b)](0x0,_0x3980a0),_0x36c31e[_0x137f7e(0x47b)]-=_0x4b652a;}return new _0x4f7ccc[(_0x137f7e(0x2dc))](_0x1e791e,_0x4b652a);},'clone':function(){var _0x2bfe14=_0x43d98d,_0x31f6a2=_0x50eb60['clone'][_0x2bfe14(0x411)](this);return _0x31f6a2[_0x2bfe14(0x405)]=this['_data']['clone'](),_0x31f6a2;},'_minBufferSize':0x0});_0x377f8f[_0x43d98d(0x4d0)]=_0x55e818[_0x43d98d(0x410)]({'cfg':_0x50eb60[_0x43d98d(0x410)](),'init':function(_0x4ce49c){var _0x51743f=_0x43d98d;this['cfg']=this[_0x51743f(0x2c7)][_0x51743f(0x410)](_0x4ce49c),this[_0x51743f(0x4f1)]();},'reset':function(){var _0x2931b4=_0x43d98d;_0x55e818[_0x2931b4(0x4f1)][_0x2931b4(0x411)](this),this[_0x2931b4(0x3c1)]();},'update':function(_0x344a93){var _0x5ea8a9=_0x43d98d;return this[_0x5ea8a9(0x346)](_0x344a93),this[_0x5ea8a9(0x26b)](),this;},'finalize':function(_0x3870c0){var _0x3c0250=_0x43d98d;_0x3870c0&&this['_append'](_0x3870c0);var _0x24739b=this[_0x3c0250(0x238)]();return _0x24739b;},'blockSize':0x10,'_createHelper':function(_0x5db107){return function(_0x9a74de,_0x385863){var _0x28a9b0=_0x5de5;return new _0x5db107[(_0x28a9b0(0x2dc))](_0x385863)[_0x28a9b0(0x586)](_0x9a74de);};},'_createHmacHelper':function(_0x27c6e4){return function(_0x132c87,_0x594ad4){var _0xb13166=_0x5de5;return new _0x19c044[(_0xb13166(0x31a))][(_0xb13166(0x2dc))](_0x27c6e4,_0x594ad4)[_0xb13166(0x586)](_0x132c87);};}});var _0x19c044=_0x596b5a[_0x43d98d(0x3cc)]={};return _0x596b5a;}(Math);return _0x24c417;}));}(_0x3f6edc)),_0x3f6edc[_0x4cb90b(0x301)];}var _0x49cc1f={'exports':{}},_0x10fd12=_0x49cc1f[_0x171ee8(0x301)],_0x4d3c6b;function _0x4fd504(){var _0x4d4c27=_0x171ee8;return _0x4d3c6b||(_0x4d3c6b=0x1,function(_0x3d97fb,_0x5f936e){(function(_0x4c2129,_0x3f9ada){var _0x3f02c3=_0x5de5;_0x3d97fb[_0x3f02c3(0x301)]=_0x3f9ada(_0x3df9ad());}(_0x10fd12,function(_0x37d0a9){var _0x45fb50=_0x5de5;return(function(){var _0x587473=_0x5de5,_0x4cb207=_0x37d0a9,_0x27be64=_0x4cb207['lib'],_0x5751e7=_0x27be64[_0x587473(0x1f1)],_0x399898=_0x4cb207[_0x587473(0x28a)];_0x399898[_0x587473(0x328)]={'stringify':function(_0x49d0f0){var _0x478d9c=_0x587473,_0x5b0b8a=_0x49d0f0[_0x478d9c(0x4f9)],_0x3f8176=_0x49d0f0[_0x478d9c(0x47b)],_0x2cbf48=this['_map'];_0x49d0f0[_0x478d9c(0x2c5)]();for(var _0x2ffc39=[],_0x205a6d=0x0;_0x205a6d<_0x3f8176;_0x205a6d+=0x3)for(var _0x11c934=_0x5b0b8a[_0x205a6d>>>0x2]>>>0x18-_0x205a6d%0x4*0x8&0xff,_0x259bc4=_0x5b0b8a[_0x205a6d+0x1>>>0x2]>>>0x18-(_0x205a6d+0x1)%0x4*0x8&0xff,_0x1b34cc=_0x5b0b8a[_0x205a6d+0x2>>>0x2]>>>0x18-(_0x205a6d+0x2)%0x4*0x8&0xff,_0x5dd7a7=_0x11c934<<0x10|_0x259bc4<<0x8|_0x1b34cc,_0x2b9cf2=0x0;_0x2b9cf2<0x4&&_0x205a6d+_0x2b9cf2*0.75<_0x3f8176;_0x2b9cf2++)_0x2ffc39['push'](_0x2cbf48[_0x478d9c(0x45b)](_0x5dd7a7>>>0x6*(0x3-_0x2b9cf2)&0x3f));var _0xb2a673=_0x2cbf48[_0x478d9c(0x45b)](0x40);if(_0xb2a673){for(;_0x2ffc39[_0x478d9c(0x56b)]%0x4;)_0x2ffc39[_0x478d9c(0x3de)](_0xb2a673);}return _0x2ffc39[_0x478d9c(0x518)]('');},'parse':function(_0xc50714){var _0x5a480a=_0x587473,_0x176235=_0xc50714[_0x5a480a(0x56b)],_0x2d8506=this[_0x5a480a(0x38e)],_0x438276=this[_0x5a480a(0x4af)];if(!_0x438276){_0x438276=this[_0x5a480a(0x4af)]=[];for(var _0x9174e5=0x0;_0x9174e5<_0x2d8506[_0x5a480a(0x56b)];_0x9174e5++)_0x438276[_0x2d8506[_0x5a480a(0x3ae)](_0x9174e5)]=_0x9174e5;}var _0x1443c7=_0x2d8506['charAt'](0x40);if(_0x1443c7){var _0x378a9e=_0xc50714['indexOf'](_0x1443c7);_0x378a9e!==-0x1&&(_0x176235=_0x378a9e);}return _0xf2d028(_0xc50714,_0x176235,_0x438276);},'_map':_0x587473(0x283)};function _0xf2d028(_0x117492,_0x185af1,_0x4e61a9){var _0x51dc10=_0x587473;for(var _0x53ae9b=[],_0x505aac=0x0,_0x12c312=0x0;_0x12c312<_0x185af1;_0x12c312++)if(_0x12c312%0x4){var _0x3e8766=_0x4e61a9[_0x117492[_0x51dc10(0x3ae)](_0x12c312-0x1)]<<_0x12c312%0x4*0x2,_0x26af6e=_0x4e61a9[_0x117492[_0x51dc10(0x3ae)](_0x12c312)]>>>0x6-_0x12c312%0x4*0x2,_0x576979=_0x3e8766|_0x26af6e;_0x53ae9b[_0x505aac>>>0x2]|=_0x576979<<0x18-_0x505aac%0x4*0x8,_0x505aac++;}return _0x5751e7[_0x51dc10(0x369)](_0x53ae9b,_0x505aac);}}()),_0x37d0a9[_0x45fb50(0x28a)]['Base64'];}));}(_0x49cc1f)),_0x49cc1f[_0x4d4c27(0x301)];}var _0x4e85e0={'exports':{}},_0x1c438b=_0x4e85e0[_0x171ee8(0x301)],_0x168010;function _0x55f4d6(){var _0x19a73d=_0x171ee8;return _0x168010||(_0x168010=0x1,function(_0x3f368b,_0x270fa4){(function(_0xd37f4d,_0x39e46a){var _0x360ca2=_0x5de5;_0x3f368b[_0x360ca2(0x301)]=_0x39e46a(_0x3df9ad());}(_0x1c438b,function(_0x5e0275){var _0xb2ba8=_0x5de5;return function(_0x15b1c8){var _0x524a46=_0x5de5,_0x165991=_0x5e0275,_0x1ae53c=_0x165991[_0x524a46(0x427)],_0x11cc1e=_0x1ae53c[_0x524a46(0x1f1)],_0x511118=_0x1ae53c[_0x524a46(0x4d0)],_0x4f1ed9=_0x165991['algo'],_0xc32640=[];(function(){var _0x19ef4f=_0x524a46;for(var _0x46fb1c=0x0;_0x46fb1c<0x40;_0x46fb1c++)_0xc32640[_0x46fb1c]=_0x15b1c8[_0x19ef4f(0x3b9)](_0x15b1c8['sin'](_0x46fb1c+0x1))*0x100000000|0x0;}());var _0x1d4f9c=_0x4f1ed9[_0x524a46(0x30c)]=_0x511118[_0x524a46(0x410)]({'_doReset':function(){var _0x2157d6=_0x524a46;this[_0x2157d6(0x37b)]=new _0x11cc1e[(_0x2157d6(0x2dc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3215e1,_0x257077){var _0x38955f=_0x524a46;for(var _0x3920ae=0x0;_0x3920ae<0x10;_0x3920ae++){var _0x406df2=_0x257077+_0x3920ae,_0x507d78=_0x3215e1[_0x406df2];_0x3215e1[_0x406df2]=(_0x507d78<<0x8|_0x507d78>>>0x18)&0xff00ff|(_0x507d78<<0x18|_0x507d78>>>0x8)&0xff00ff00;}var _0x254811=this[_0x38955f(0x37b)][_0x38955f(0x4f9)],_0x5d28c4=_0x3215e1[_0x257077+0x0],_0x3c030e=_0x3215e1[_0x257077+0x1],_0x5bcca7=_0x3215e1[_0x257077+0x2],_0x5670fa=_0x3215e1[_0x257077+0x3],_0x446d2f=_0x3215e1[_0x257077+0x4],_0xe50d44=_0x3215e1[_0x257077+0x5],_0x373d32=_0x3215e1[_0x257077+0x6],_0x2f34f5=_0x3215e1[_0x257077+0x7],_0x2ef1c1=_0x3215e1[_0x257077+0x8],_0x5b111b=_0x3215e1[_0x257077+0x9],_0xa099ef=_0x3215e1[_0x257077+0xa],_0x3b9db3=_0x3215e1[_0x257077+0xb],_0x118706=_0x3215e1[_0x257077+0xc],_0x40301d=_0x3215e1[_0x257077+0xd],_0x40a26d=_0x3215e1[_0x257077+0xe],_0x2fa927=_0x3215e1[_0x257077+0xf],_0x1a0a8f=_0x254811[0x0],_0x420e1f=_0x254811[0x1],_0x49733a=_0x254811[0x2],_0x20079f=_0x254811[0x3];_0x1a0a8f=_0xd61f18(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x5d28c4,0x7,_0xc32640[0x0]),_0x20079f=_0xd61f18(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x3c030e,0xc,_0xc32640[0x1]),_0x49733a=_0xd61f18(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x5bcca7,0x11,_0xc32640[0x2]),_0x420e1f=_0xd61f18(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x5670fa,0x16,_0xc32640[0x3]),_0x1a0a8f=_0xd61f18(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x446d2f,0x7,_0xc32640[0x4]),_0x20079f=_0xd61f18(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0xe50d44,0xc,_0xc32640[0x5]),_0x49733a=_0xd61f18(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x373d32,0x11,_0xc32640[0x6]),_0x420e1f=_0xd61f18(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x2f34f5,0x16,_0xc32640[0x7]),_0x1a0a8f=_0xd61f18(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x2ef1c1,0x7,_0xc32640[0x8]),_0x20079f=_0xd61f18(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x5b111b,0xc,_0xc32640[0x9]),_0x49733a=_0xd61f18(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0xa099ef,0x11,_0xc32640[0xa]),_0x420e1f=_0xd61f18(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x3b9db3,0x16,_0xc32640[0xb]),_0x1a0a8f=_0xd61f18(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x118706,0x7,_0xc32640[0xc]),_0x20079f=_0xd61f18(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x40301d,0xc,_0xc32640[0xd]),_0x49733a=_0xd61f18(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x40a26d,0x11,_0xc32640[0xe]),_0x420e1f=_0xd61f18(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x2fa927,0x16,_0xc32640[0xf]),_0x1a0a8f=_0x5b861c(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x3c030e,0x5,_0xc32640[0x10]),_0x20079f=_0x5b861c(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x373d32,0x9,_0xc32640[0x11]),_0x49733a=_0x5b861c(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x3b9db3,0xe,_0xc32640[0x12]),_0x420e1f=_0x5b861c(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x5d28c4,0x14,_0xc32640[0x13]),_0x1a0a8f=_0x5b861c(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0xe50d44,0x5,_0xc32640[0x14]),_0x20079f=_0x5b861c(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0xa099ef,0x9,_0xc32640[0x15]),_0x49733a=_0x5b861c(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x2fa927,0xe,_0xc32640[0x16]),_0x420e1f=_0x5b861c(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x446d2f,0x14,_0xc32640[0x17]),_0x1a0a8f=_0x5b861c(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x5b111b,0x5,_0xc32640[0x18]),_0x20079f=_0x5b861c(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x40a26d,0x9,_0xc32640[0x19]),_0x49733a=_0x5b861c(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x5670fa,0xe,_0xc32640[0x1a]),_0x420e1f=_0x5b861c(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x2ef1c1,0x14,_0xc32640[0x1b]),_0x1a0a8f=_0x5b861c(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x40301d,0x5,_0xc32640[0x1c]),_0x20079f=_0x5b861c(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x5bcca7,0x9,_0xc32640[0x1d]),_0x49733a=_0x5b861c(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x2f34f5,0xe,_0xc32640[0x1e]),_0x420e1f=_0x5b861c(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x118706,0x14,_0xc32640[0x1f]),_0x1a0a8f=_0x32ebd8(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0xe50d44,0x4,_0xc32640[0x20]),_0x20079f=_0x32ebd8(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x2ef1c1,0xb,_0xc32640[0x21]),_0x49733a=_0x32ebd8(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x3b9db3,0x10,_0xc32640[0x22]),_0x420e1f=_0x32ebd8(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x40a26d,0x17,_0xc32640[0x23]),_0x1a0a8f=_0x32ebd8(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x3c030e,0x4,_0xc32640[0x24]),_0x20079f=_0x32ebd8(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x446d2f,0xb,_0xc32640[0x25]),_0x49733a=_0x32ebd8(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x2f34f5,0x10,_0xc32640[0x26]),_0x420e1f=_0x32ebd8(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0xa099ef,0x17,_0xc32640[0x27]),_0x1a0a8f=_0x32ebd8(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x40301d,0x4,_0xc32640[0x28]),_0x20079f=_0x32ebd8(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x5d28c4,0xb,_0xc32640[0x29]),_0x49733a=_0x32ebd8(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x5670fa,0x10,_0xc32640[0x2a]),_0x420e1f=_0x32ebd8(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x373d32,0x17,_0xc32640[0x2b]),_0x1a0a8f=_0x32ebd8(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x5b111b,0x4,_0xc32640[0x2c]),_0x20079f=_0x32ebd8(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x118706,0xb,_0xc32640[0x2d]),_0x49733a=_0x32ebd8(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x2fa927,0x10,_0xc32640[0x2e]),_0x420e1f=_0x32ebd8(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x5bcca7,0x17,_0xc32640[0x2f]),_0x1a0a8f=_0x4bdfd3(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x5d28c4,0x6,_0xc32640[0x30]),_0x20079f=_0x4bdfd3(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x2f34f5,0xa,_0xc32640[0x31]),_0x49733a=_0x4bdfd3(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x40a26d,0xf,_0xc32640[0x32]),_0x420e1f=_0x4bdfd3(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0xe50d44,0x15,_0xc32640[0x33]),_0x1a0a8f=_0x4bdfd3(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x118706,0x6,_0xc32640[0x34]),_0x20079f=_0x4bdfd3(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x5670fa,0xa,_0xc32640[0x35]),_0x49733a=_0x4bdfd3(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0xa099ef,0xf,_0xc32640[0x36]),_0x420e1f=_0x4bdfd3(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x3c030e,0x15,_0xc32640[0x37]),_0x1a0a8f=_0x4bdfd3(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x2ef1c1,0x6,_0xc32640[0x38]),_0x20079f=_0x4bdfd3(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x2fa927,0xa,_0xc32640[0x39]),_0x49733a=_0x4bdfd3(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x373d32,0xf,_0xc32640[0x3a]),_0x420e1f=_0x4bdfd3(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x40301d,0x15,_0xc32640[0x3b]),_0x1a0a8f=_0x4bdfd3(_0x1a0a8f,_0x420e1f,_0x49733a,_0x20079f,_0x446d2f,0x6,_0xc32640[0x3c]),_0x20079f=_0x4bdfd3(_0x20079f,_0x1a0a8f,_0x420e1f,_0x49733a,_0x3b9db3,0xa,_0xc32640[0x3d]),_0x49733a=_0x4bdfd3(_0x49733a,_0x20079f,_0x1a0a8f,_0x420e1f,_0x5bcca7,0xf,_0xc32640[0x3e]),_0x420e1f=_0x4bdfd3(_0x420e1f,_0x49733a,_0x20079f,_0x1a0a8f,_0x5b111b,0x15,_0xc32640[0x3f]),_0x254811[0x0]=_0x254811[0x0]+_0x1a0a8f|0x0,_0x254811[0x1]=_0x254811[0x1]+_0x420e1f|0x0,_0x254811[0x2]=_0x254811[0x2]+_0x49733a|0x0,_0x254811[0x3]=_0x254811[0x3]+_0x20079f|0x0;},'_doFinalize':function(){var _0x1a2835=_0x524a46,_0x33ad9b=this[_0x1a2835(0x405)],_0x3234a7=_0x33ad9b[_0x1a2835(0x4f9)],_0x25f477=this[_0x1a2835(0x1fa)]*0x8,_0x147fc7=_0x33ad9b['sigBytes']*0x8;_0x3234a7[_0x147fc7>>>0x5]|=0x80<<0x18-_0x147fc7%0x20;var _0x28f96b=_0x15b1c8[_0x1a2835(0x4d4)](_0x25f477/0x100000000),_0x180d3a=_0x25f477;_0x3234a7[(_0x147fc7+0x40>>>0x9<<0x4)+0xf]=(_0x28f96b<<0x8|_0x28f96b>>>0x18)&0xff00ff|(_0x28f96b<<0x18|_0x28f96b>>>0x8)&0xff00ff00,_0x3234a7[(_0x147fc7+0x40>>>0x9<<0x4)+0xe]=(_0x180d3a<<0x8|_0x180d3a>>>0x18)&0xff00ff|(_0x180d3a<<0x18|_0x180d3a>>>0x8)&0xff00ff00,_0x33ad9b[_0x1a2835(0x47b)]=(_0x3234a7[_0x1a2835(0x56b)]+0x1)*0x4,this[_0x1a2835(0x26b)]();for(var _0x43af25=this[_0x1a2835(0x37b)],_0x403e91=_0x43af25[_0x1a2835(0x4f9)],_0x3a15fd=0x0;_0x3a15fd<0x4;_0x3a15fd++){var _0x25f71d=_0x403e91[_0x3a15fd];_0x403e91[_0x3a15fd]=(_0x25f71d<<0x8|_0x25f71d>>>0x18)&0xff00ff|(_0x25f71d<<0x18|_0x25f71d>>>0x8)&0xff00ff00;}return _0x43af25;},'clone':function(){var _0x34cae0=_0x524a46,_0x5463d6=_0x511118['clone'][_0x34cae0(0x411)](this);return _0x5463d6[_0x34cae0(0x37b)]=this[_0x34cae0(0x37b)][_0x34cae0(0x277)](),_0x5463d6;}});function _0xd61f18(_0x402528,_0x3122c2,_0x2a1b9e,_0x1b7394,_0x4396bc,_0x4ef209,_0x127926){var _0x4ab0c4=_0x402528+(_0x3122c2&_0x2a1b9e|~_0x3122c2&_0x1b7394)+_0x4396bc+_0x127926;return(_0x4ab0c4<<_0x4ef209|_0x4ab0c4>>>0x20-_0x4ef209)+_0x3122c2;}function _0x5b861c(_0x60b8ad,_0x13f618,_0x40129a,_0xa75efd,_0x4c9fa9,_0x110826,_0x270fc7){var _0x36e52d=_0x60b8ad+(_0x13f618&_0xa75efd|_0x40129a&~_0xa75efd)+_0x4c9fa9+_0x270fc7;return(_0x36e52d<<_0x110826|_0x36e52d>>>0x20-_0x110826)+_0x13f618;}function _0x32ebd8(_0x106e01,_0x22f306,_0x1b450f,_0x422287,_0x3b70b1,_0x392c7b,_0x4733fa){var _0x1ffabd=_0x106e01+(_0x22f306^_0x1b450f^_0x422287)+_0x3b70b1+_0x4733fa;return(_0x1ffabd<<_0x392c7b|_0x1ffabd>>>0x20-_0x392c7b)+_0x22f306;}function _0x4bdfd3(_0x4d60a6,_0x441122,_0x7b68b3,_0x2f16f9,_0x3bd5c3,_0x51506a,_0x5c1888){var _0x106e84=_0x4d60a6+(_0x7b68b3^(_0x441122|~_0x2f16f9))+_0x3bd5c3+_0x5c1888;return(_0x106e84<<_0x51506a|_0x106e84>>>0x20-_0x51506a)+_0x441122;}_0x165991['MD5']=_0x511118[_0x524a46(0x567)](_0x1d4f9c),_0x165991['HmacMD5']=_0x511118[_0x524a46(0x3ea)](_0x1d4f9c);}(Math),_0x5e0275[_0xb2ba8(0x30c)];}));}(_0x4e85e0)),_0x4e85e0[_0x19a73d(0x301)];}var _0x488b06={'exports':{}},_0x185656={'exports':{}},_0x158e69=_0x185656[_0x171ee8(0x301)],_0x31e684;function _0x1dd430(){return _0x31e684||(_0x31e684=0x1,function(_0x501d0f,_0x2fbe6f){(function(_0x4425e7,_0x434614){_0x501d0f['exports']=_0x434614(_0x3df9ad());}(_0x158e69,function(_0x390fb9){var _0x34c6e4=_0x5de5;return(function(){var _0x4ae210=_0x5de5,_0xf5a50f=_0x390fb9,_0x1e1976=_0xf5a50f['lib'],_0x45ac25=_0x1e1976[_0x4ae210(0x1f1)],_0x12dd22=_0x1e1976[_0x4ae210(0x4d0)],_0x107b06=_0xf5a50f[_0x4ae210(0x3cc)],_0x4b4385=[],_0x120b0c=_0x107b06[_0x4ae210(0x563)]=_0x12dd22[_0x4ae210(0x410)]({'_doReset':function(){var _0x4d6173=_0x4ae210;this[_0x4d6173(0x37b)]=new _0x45ac25[(_0x4d6173(0x2dc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x969e15,_0x54c351){var _0x4db47e=_0x4ae210;for(var _0x36075e=this['_hash'][_0x4db47e(0x4f9)],_0x3ee526=_0x36075e[0x0],_0x45d7f2=_0x36075e[0x1],_0x5a6c6a=_0x36075e[0x2],_0x3d6945=_0x36075e[0x3],_0x1227ab=_0x36075e[0x4],_0x3da328=0x0;_0x3da328<0x50;_0x3da328++){if(_0x3da328<0x10)_0x4b4385[_0x3da328]=_0x969e15[_0x54c351+_0x3da328]|0x0;else{var _0x4c81fb=_0x4b4385[_0x3da328-0x3]^_0x4b4385[_0x3da328-0x8]^_0x4b4385[_0x3da328-0xe]^_0x4b4385[_0x3da328-0x10];_0x4b4385[_0x3da328]=_0x4c81fb<<0x1|_0x4c81fb>>>0x1f;}var _0x415a6c=(_0x3ee526<<0x5|_0x3ee526>>>0x1b)+_0x1227ab+_0x4b4385[_0x3da328];_0x3da328<0x14?_0x415a6c+=(_0x45d7f2&_0x5a6c6a|~_0x45d7f2&_0x3d6945)+0x5a827999:_0x3da328<0x28?_0x415a6c+=(_0x45d7f2^_0x5a6c6a^_0x3d6945)+0x6ed9eba1:_0x3da328<0x3c?_0x415a6c+=(_0x45d7f2&_0x5a6c6a|_0x45d7f2&_0x3d6945|_0x5a6c6a&_0x3d6945)-0x70e44324:_0x415a6c+=(_0x45d7f2^_0x5a6c6a^_0x3d6945)-0x359d3e2a,_0x1227ab=_0x3d6945,_0x3d6945=_0x5a6c6a,_0x5a6c6a=_0x45d7f2<<0x1e|_0x45d7f2>>>0x2,_0x45d7f2=_0x3ee526,_0x3ee526=_0x415a6c;}_0x36075e[0x0]=_0x36075e[0x0]+_0x3ee526|0x0,_0x36075e[0x1]=_0x36075e[0x1]+_0x45d7f2|0x0,_0x36075e[0x2]=_0x36075e[0x2]+_0x5a6c6a|0x0,_0x36075e[0x3]=_0x36075e[0x3]+_0x3d6945|0x0,_0x36075e[0x4]=_0x36075e[0x4]+_0x1227ab|0x0;},'_doFinalize':function(){var _0x144158=_0x4ae210,_0x51547f=this[_0x144158(0x405)],_0x447809=_0x51547f[_0x144158(0x4f9)],_0x49522a=this[_0x144158(0x1fa)]*0x8,_0x58981c=_0x51547f[_0x144158(0x47b)]*0x8;return _0x447809[_0x58981c>>>0x5]|=0x80<<0x18-_0x58981c%0x20,_0x447809[(_0x58981c+0x40>>>0x9<<0x4)+0xe]=Math[_0x144158(0x4d4)](_0x49522a/0x100000000),_0x447809[(_0x58981c+0x40>>>0x9<<0x4)+0xf]=_0x49522a,_0x51547f[_0x144158(0x47b)]=_0x447809['length']*0x4,this[_0x144158(0x26b)](),this[_0x144158(0x37b)];},'clone':function(){var _0x2eb8df=_0x4ae210,_0x170504=_0x12dd22[_0x2eb8df(0x277)][_0x2eb8df(0x411)](this);return _0x170504[_0x2eb8df(0x37b)]=this[_0x2eb8df(0x37b)][_0x2eb8df(0x277)](),_0x170504;}});_0xf5a50f[_0x4ae210(0x563)]=_0x12dd22[_0x4ae210(0x567)](_0x120b0c),_0xf5a50f[_0x4ae210(0x264)]=_0x12dd22[_0x4ae210(0x3ea)](_0x120b0c);}()),_0x390fb9[_0x34c6e4(0x563)];}));}(_0x185656)),_0x185656['exports'];}var _0x270166={'exports':{}},_0x96163c=_0x270166[_0x171ee8(0x301)],_0x24ba53;function _0xaca929(){var _0x351186=_0x171ee8;return _0x24ba53||(_0x24ba53=0x1,function(_0x46cbb1,_0x3a3678){(function(_0x211f42,_0x516cf1){var _0x3a1477=_0x5de5;_0x46cbb1[_0x3a1477(0x301)]=_0x516cf1(_0x3df9ad());}(_0x96163c,function(_0x9c1e28){(function(){var _0x4818f8=_0x5de5,_0x811b67=_0x9c1e28,_0x4b06e3=_0x811b67['lib'],_0x530986=_0x4b06e3[_0x4818f8(0x453)],_0x139f52=_0x811b67[_0x4818f8(0x28a)],_0x38926b=_0x139f52[_0x4818f8(0x58d)],_0x37ded9=_0x811b67[_0x4818f8(0x3cc)];_0x37ded9[_0x4818f8(0x31a)]=_0x530986[_0x4818f8(0x410)]({'init':function(_0x20e715,_0x42217f){var _0x18d939=_0x4818f8;_0x20e715=this[_0x18d939(0x231)]=new _0x20e715[(_0x18d939(0x2dc))](),typeof _0x42217f==_0x18d939(0x40d)&&(_0x42217f=_0x38926b[_0x18d939(0x26e)](_0x42217f));var _0x5ed994=_0x20e715[_0x18d939(0x3cb)],_0x49aacb=_0x5ed994*0x4;_0x42217f[_0x18d939(0x47b)]>_0x49aacb&&(_0x42217f=_0x20e715[_0x18d939(0x586)](_0x42217f)),_0x42217f[_0x18d939(0x2c5)]();for(var _0x1bcf1c=this[_0x18d939(0x463)]=_0x42217f[_0x18d939(0x277)](),_0x209afb=this[_0x18d939(0x4c9)]=_0x42217f[_0x18d939(0x277)](),_0x5eafda=_0x1bcf1c[_0x18d939(0x4f9)],_0x2676fc=_0x209afb[_0x18d939(0x4f9)],_0x5d2d4f=0x0;_0x5d2d4f<_0x5ed994;_0x5d2d4f++)_0x5eafda[_0x5d2d4f]^=0x5c5c5c5c,_0x2676fc[_0x5d2d4f]^=0x36363636;_0x1bcf1c[_0x18d939(0x47b)]=_0x209afb[_0x18d939(0x47b)]=_0x49aacb,this[_0x18d939(0x4f1)]();},'reset':function(){var _0x4b0c39=_0x4818f8,_0x309bf7=this[_0x4b0c39(0x231)];_0x309bf7[_0x4b0c39(0x4f1)](),_0x309bf7[_0x4b0c39(0x2fb)](this[_0x4b0c39(0x4c9)]);},'update':function(_0xdd474b){var _0x42ab49=_0x4818f8;return this['_hasher'][_0x42ab49(0x2fb)](_0xdd474b),this;},'finalize':function(_0x5a35f4){var _0x19ac50=_0x4818f8,_0x253e14=this[_0x19ac50(0x231)],_0x2df680=_0x253e14['finalize'](_0x5a35f4);_0x253e14['reset']();var _0xf4de4b=_0x253e14['finalize'](this[_0x19ac50(0x463)][_0x19ac50(0x277)]()[_0x19ac50(0x3c5)](_0x2df680));return _0xf4de4b;}});}());}));}(_0x270166)),_0x270166[_0x351186(0x301)];}var _0x52c42a=_0x488b06[_0x171ee8(0x301)],_0x3acc42;function _0x42e2e2(){var _0x58544d=_0x171ee8;return _0x3acc42||(_0x3acc42=0x1,function(_0x4da82b,_0x4de76d){(function(_0x14343b,_0x512682,_0x52f933){var _0x1b5529=_0x5de5;_0x4da82b[_0x1b5529(0x301)]=_0x512682(_0x3df9ad(),_0x1dd430(),_0xaca929());}(_0x52c42a,function(_0x305528){return(function(){var _0x11ce79=_0x5de5,_0x5ac6da=_0x305528,_0x2aa447=_0x5ac6da[_0x11ce79(0x427)],_0xf56a70=_0x2aa447['Base'],_0x3c8841=_0x2aa447[_0x11ce79(0x1f1)],_0x4cda5b=_0x5ac6da[_0x11ce79(0x3cc)],_0x239c00=_0x4cda5b[_0x11ce79(0x30c)],_0x5f2a3b=_0x4cda5b[_0x11ce79(0x293)]=_0xf56a70['extend']({'cfg':_0xf56a70['extend']({'keySize':0x80/0x20,'hasher':_0x239c00,'iterations':0x1}),'init':function(_0x24ddc3){var _0x1e3a0a=_0x11ce79;this[_0x1e3a0a(0x2c7)]=this[_0x1e3a0a(0x2c7)][_0x1e3a0a(0x410)](_0x24ddc3);},'compute':function(_0x3d888e,_0x3a80ec){var _0x1cf021=_0x11ce79;for(var _0x43d431,_0x188fd4=this[_0x1cf021(0x2c7)],_0x421e89=_0x188fd4[_0x1cf021(0x1fb)][_0x1cf021(0x369)](),_0x36b453=_0x3c8841[_0x1cf021(0x369)](),_0x289114=_0x36b453[_0x1cf021(0x4f9)],_0x286495=_0x188fd4[_0x1cf021(0x2a5)],_0x54b3ff=_0x188fd4['iterations'];_0x289114[_0x1cf021(0x56b)]<_0x286495;){_0x43d431&&_0x421e89[_0x1cf021(0x2fb)](_0x43d431),_0x43d431=_0x421e89[_0x1cf021(0x2fb)](_0x3d888e)[_0x1cf021(0x586)](_0x3a80ec),_0x421e89['reset']();for(var _0x29f3c9=0x1;_0x29f3c9<_0x54b3ff;_0x29f3c9++)_0x43d431=_0x421e89['finalize'](_0x43d431),_0x421e89[_0x1cf021(0x4f1)]();_0x36b453[_0x1cf021(0x3c5)](_0x43d431);}return _0x36b453['sigBytes']=_0x286495*0x4,_0x36b453;}});_0x5ac6da[_0x11ce79(0x293)]=function(_0x5715a,_0x548656,_0x5b41a8){var _0x4842f6=_0x11ce79;return _0x5f2a3b[_0x4842f6(0x369)](_0x5b41a8)[_0x4842f6(0x43b)](_0x5715a,_0x548656);};}()),_0x305528['EvpKDF'];}));}(_0x488b06)),_0x488b06[_0x58544d(0x301)];}var _0x1c411f={'exports':{}},_0x22b0c4=_0x1c411f[_0x171ee8(0x301)],_0x2ade7f;function _0x296e9d(){var _0x42c3e9=_0x171ee8;return _0x2ade7f||(_0x2ade7f=0x1,function(_0x30c15e,_0x39373a){(function(_0x5b9e49,_0x2dab23,_0x2b8927){_0x30c15e['exports']=_0x2dab23(_0x3df9ad(),_0x42e2e2());}(_0x22b0c4,function(_0x1816c0){var _0x7bebdc=_0x5de5;_0x1816c0[_0x7bebdc(0x427)][_0x7bebdc(0x500)]||function(_0x226602){var _0x332d9b=_0x7bebdc,_0xf38a3e=_0x1816c0,_0x122cf9=_0xf38a3e['lib'],_0xd88d55=_0x122cf9['Base'],_0x1e14f4=_0x122cf9[_0x332d9b(0x1f1)],_0x3434dc=_0x122cf9[_0x332d9b(0x3b0)],_0x28be1d=_0xf38a3e['enc'];_0x28be1d[_0x332d9b(0x58d)];var _0x376d83=_0x28be1d[_0x332d9b(0x328)],_0x57d8ec=_0xf38a3e['algo'],_0x103343=_0x57d8ec[_0x332d9b(0x293)],_0x26b298=_0x122cf9['Cipher']=_0x3434dc[_0x332d9b(0x410)]({'cfg':_0xd88d55[_0x332d9b(0x410)](),'createEncryptor':function(_0x2bdbd2,_0x4af5cf){var _0x32b006=_0x332d9b;return this[_0x32b006(0x369)](this['_ENC_XFORM_MODE'],_0x2bdbd2,_0x4af5cf);},'createDecryptor':function(_0x303d76,_0x4ef65a){var _0x1f49d2=_0x332d9b;return this['create'](this[_0x1f49d2(0x207)],_0x303d76,_0x4ef65a);},'init':function(_0x5103c8,_0x4d5ec8,_0x563b7e){var _0x5c80d1=_0x332d9b;this[_0x5c80d1(0x2c7)]=this[_0x5c80d1(0x2c7)]['extend'](_0x563b7e),this[_0x5c80d1(0x533)]=_0x5103c8,this['_key']=_0x4d5ec8,this[_0x5c80d1(0x4f1)]();},'reset':function(){var _0x8b987c=_0x332d9b;_0x3434dc[_0x8b987c(0x4f1)]['call'](this),this[_0x8b987c(0x3c1)]();},'process':function(_0x101b7e){var _0x1660f0=_0x332d9b;return this['_append'](_0x101b7e),this[_0x1660f0(0x26b)]();},'finalize':function(_0x409ce){var _0x4d58d1=_0x332d9b;_0x409ce&&this[_0x4d58d1(0x346)](_0x409ce);var _0xeedc7f=this['_doFinalize']();return _0xeedc7f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x262965(_0xa6e1c1){var _0x2dae48=_0x5de5;return typeof _0xa6e1c1==_0x2dae48(0x40d)?_0x346ac1:_0x378ea9;}return function(_0x3dcdaf){return{'encrypt':function(_0x494c13,_0x3ee26f,_0x5b9b3f){return _0x262965(_0x3ee26f)['encrypt'](_0x3dcdaf,_0x494c13,_0x3ee26f,_0x5b9b3f);},'decrypt':function(_0x17932e,_0x2a769a,_0x5f3e29){var _0x206432=_0x5de5;return _0x262965(_0x2a769a)[_0x206432(0x260)](_0x3dcdaf,_0x17932e,_0x2a769a,_0x5f3e29);}};};}())});_0x122cf9['StreamCipher']=_0x26b298['extend']({'_doFinalize':function(){var _0x1bc229=_0x332d9b,_0x46fc9c=this[_0x1bc229(0x26b)](!0x0);return _0x46fc9c;},'blockSize':0x1});var _0x38810d=_0xf38a3e[_0x332d9b(0x423)]={},_0x50e73f=_0x122cf9['BlockCipherMode']=_0xd88d55[_0x332d9b(0x410)]({'createEncryptor':function(_0x4faa2c,_0xd9938c){var _0x16a731=_0x332d9b;return this[_0x16a731(0x443)]['create'](_0x4faa2c,_0xd9938c);},'createDecryptor':function(_0x45d761,_0x3b68af){var _0x21b563=_0x332d9b;return this['Decryptor'][_0x21b563(0x369)](_0x45d761,_0x3b68af);},'init':function(_0x3db727,_0x3a23e1){var _0x6b6ab7=_0x332d9b;this['_cipher']=_0x3db727,this[_0x6b6ab7(0x547)]=_0x3a23e1;}}),_0x34f78e=_0x38810d[_0x332d9b(0x4dc)]=(function(){var _0x462908=_0x332d9b,_0x1fb31e=_0x50e73f[_0x462908(0x410)]();_0x1fb31e[_0x462908(0x443)]=_0x1fb31e[_0x462908(0x410)]({'processBlock':function(_0x4441f8,_0x2d8ffb){var _0x2cfd5e=_0x462908,_0x544286=this[_0x2cfd5e(0x454)],_0x536cf9=_0x544286[_0x2cfd5e(0x3cb)];_0x82f5db[_0x2cfd5e(0x411)](this,_0x4441f8,_0x2d8ffb,_0x536cf9),_0x544286['encryptBlock'](_0x4441f8,_0x2d8ffb),this[_0x2cfd5e(0x211)]=_0x4441f8[_0x2cfd5e(0x39e)](_0x2d8ffb,_0x2d8ffb+_0x536cf9);}}),_0x1fb31e[_0x462908(0x3ba)]=_0x1fb31e[_0x462908(0x410)]({'processBlock':function(_0xbace9c,_0x15acb2){var _0x2dec77=_0x462908,_0x3cab0b=this[_0x2dec77(0x454)],_0x39ce13=_0x3cab0b[_0x2dec77(0x3cb)],_0x16b800=_0xbace9c[_0x2dec77(0x39e)](_0x15acb2,_0x15acb2+_0x39ce13);_0x3cab0b[_0x2dec77(0x2b5)](_0xbace9c,_0x15acb2),_0x82f5db[_0x2dec77(0x411)](this,_0xbace9c,_0x15acb2,_0x39ce13),this['_prevBlock']=_0x16b800;}});function _0x82f5db(_0x253003,_0x4d0eb3,_0x4469cf){var _0x32c7ed=_0x462908,_0x47f8c7,_0x581926=this[_0x32c7ed(0x547)];_0x581926?(_0x47f8c7=_0x581926,this[_0x32c7ed(0x547)]=_0x226602):_0x47f8c7=this[_0x32c7ed(0x211)];for(var _0x52226b=0x0;_0x52226b<_0x4469cf;_0x52226b++)_0x253003[_0x4d0eb3+_0x52226b]^=_0x47f8c7[_0x52226b];}return _0x1fb31e;}()),_0x50ca4b=_0xf38a3e[_0x332d9b(0x493)]={},_0x3aec48=_0x50ca4b[_0x332d9b(0x31e)]={'pad':function(_0x43b5cb,_0x7a34bd){var _0x2660ba=_0x332d9b;for(var _0x4844e7=_0x7a34bd*0x4,_0x4e14b8=_0x4844e7-_0x43b5cb['sigBytes']%_0x4844e7,_0x599aa1=_0x4e14b8<<0x18|_0x4e14b8<<0x10|_0x4e14b8<<0x8|_0x4e14b8,_0x232c73=[],_0x4dc1cd=0x0;_0x4dc1cd<_0x4e14b8;_0x4dc1cd+=0x4)_0x232c73[_0x2660ba(0x3de)](_0x599aa1);var _0x1b1e7c=_0x1e14f4[_0x2660ba(0x369)](_0x232c73,_0x4e14b8);_0x43b5cb[_0x2660ba(0x3c5)](_0x1b1e7c);},'unpad':function(_0x414e6e){var _0x10e07e=_0x332d9b,_0x1586c9=_0x414e6e[_0x10e07e(0x4f9)][_0x414e6e[_0x10e07e(0x47b)]-0x1>>>0x2]&0xff;_0x414e6e[_0x10e07e(0x47b)]-=_0x1586c9;}};_0x122cf9[_0x332d9b(0x526)]=_0x26b298[_0x332d9b(0x410)]({'cfg':_0x26b298[_0x332d9b(0x2c7)]['extend']({'mode':_0x34f78e,'padding':_0x3aec48}),'reset':function(){var _0x3a3aa0=_0x332d9b,_0x34d5c9;_0x26b298[_0x3a3aa0(0x4f1)]['call'](this);var _0x2e1918=this['cfg'],_0x5a8930=_0x2e1918['iv'],_0x3888b8=_0x2e1918['mode'];this[_0x3a3aa0(0x533)]==this[_0x3a3aa0(0x548)]?_0x34d5c9=_0x3888b8[_0x3a3aa0(0x2eb)]:(_0x34d5c9=_0x3888b8[_0x3a3aa0(0x59b)],this[_0x3a3aa0(0x389)]=0x1),this['_mode']&&this[_0x3a3aa0(0x544)][_0x3a3aa0(0x265)]==_0x34d5c9?this['_mode'][_0x3a3aa0(0x2dc)](this,_0x5a8930&&_0x5a8930[_0x3a3aa0(0x4f9)]):(this[_0x3a3aa0(0x544)]=_0x34d5c9[_0x3a3aa0(0x411)](_0x3888b8,this,_0x5a8930&&_0x5a8930[_0x3a3aa0(0x4f9)]),this[_0x3a3aa0(0x544)][_0x3a3aa0(0x265)]=_0x34d5c9);},'_doProcessBlock':function(_0x5bcc93,_0x51f21d){var _0xc18240=_0x332d9b;this[_0xc18240(0x544)]['processBlock'](_0x5bcc93,_0x51f21d);},'_doFinalize':function(){var _0x4da513=_0x332d9b,_0x58f92d,_0x3da50b=this[_0x4da513(0x2c7)]['padding'];return this[_0x4da513(0x533)]==this[_0x4da513(0x548)]?(_0x3da50b[_0x4da513(0x493)](this[_0x4da513(0x405)],this[_0x4da513(0x3cb)]),_0x58f92d=this[_0x4da513(0x26b)](!0x0)):(_0x58f92d=this['_process'](!0x0),_0x3da50b[_0x4da513(0x257)](_0x58f92d)),_0x58f92d;},'blockSize':0x80/0x20});var _0x4090b0=_0x122cf9[_0x332d9b(0x263)]=_0xd88d55[_0x332d9b(0x410)]({'init':function(_0x9b6212){var _0x15599b=_0x332d9b;this[_0x15599b(0x597)](_0x9b6212);},'toString':function(_0x5cf2f6){var _0x4e2c73=_0x332d9b;return(_0x5cf2f6||this[_0x4e2c73(0x56d)])['stringify'](this);}}),_0x492d51=_0xf38a3e['format']={},_0x113187=_0x492d51[_0x332d9b(0x414)]={'stringify':function(_0x3480d6){var _0x51ddce=_0x332d9b,_0x1f9a18,_0x26a23d=_0x3480d6[_0x51ddce(0x53a)],_0x257743=_0x3480d6[_0x51ddce(0x4b5)];return _0x257743?_0x1f9a18=_0x1e14f4['create']([0x53616c74,0x65645f5f])[_0x51ddce(0x3c5)](_0x257743)[_0x51ddce(0x3c5)](_0x26a23d):_0x1f9a18=_0x26a23d,_0x1f9a18['toString'](_0x376d83);},'parse':function(_0x350419){var _0x1bc6d3=_0x332d9b,_0x461d4b,_0x7af22b=_0x376d83['parse'](_0x350419),_0x40e7cb=_0x7af22b[_0x1bc6d3(0x4f9)];return _0x40e7cb[0x0]==0x53616c74&&_0x40e7cb[0x1]==0x65645f5f&&(_0x461d4b=_0x1e14f4[_0x1bc6d3(0x369)](_0x40e7cb[_0x1bc6d3(0x39e)](0x2,0x4)),_0x40e7cb['splice'](0x0,0x4),_0x7af22b[_0x1bc6d3(0x47b)]-=0x10),_0x4090b0[_0x1bc6d3(0x369)]({'ciphertext':_0x7af22b,'salt':_0x461d4b});}},_0x378ea9=_0x122cf9[_0x332d9b(0x3a7)]=_0xd88d55[_0x332d9b(0x410)]({'cfg':_0xd88d55[_0x332d9b(0x410)]({'format':_0x113187}),'encrypt':function(_0x1642b5,_0x278533,_0x4e30fd,_0x4cb2f3){var _0xdf4456=_0x332d9b;_0x4cb2f3=this['cfg']['extend'](_0x4cb2f3);var _0x34e2e3=_0x1642b5['createEncryptor'](_0x4e30fd,_0x4cb2f3),_0x239a8e=_0x34e2e3['finalize'](_0x278533),_0x5a93cf=_0x34e2e3[_0xdf4456(0x2c7)];return _0x4090b0[_0xdf4456(0x369)]({'ciphertext':_0x239a8e,'key':_0x4e30fd,'iv':_0x5a93cf['iv'],'algorithm':_0x1642b5,'mode':_0x5a93cf['mode'],'padding':_0x5a93cf['padding'],'blockSize':_0x1642b5[_0xdf4456(0x3cb)],'formatter':_0x4cb2f3['format']});},'decrypt':function(_0x8c0a24,_0x438c3b,_0x919836,_0x3ac906){var _0x4521f4=_0x332d9b;_0x3ac906=this[_0x4521f4(0x2c7)]['extend'](_0x3ac906),_0x438c3b=this['_parse'](_0x438c3b,_0x3ac906[_0x4521f4(0x4e8)]);var _0x5d1dbb=_0x8c0a24[_0x4521f4(0x59b)](_0x919836,_0x3ac906)[_0x4521f4(0x586)](_0x438c3b['ciphertext']);return _0x5d1dbb;},'_parse':function(_0x1bbe02,_0x5edd8b){var _0x3a5e56=_0x332d9b;return typeof _0x1bbe02==_0x3a5e56(0x40d)?_0x5edd8b[_0x3a5e56(0x26e)](_0x1bbe02,this):_0x1bbe02;}}),_0x156e66=_0xf38a3e[_0x332d9b(0x219)]={},_0x27ab65=_0x156e66[_0x332d9b(0x414)]={'execute':function(_0x15bf0a,_0x1598e6,_0x5aee6f,_0x169938,_0x2a1c7d){var _0x18784b=_0x332d9b;if(_0x169938||(_0x169938=_0x1e14f4['random'](0x40/0x8)),_0x2a1c7d)var _0x604ec1=_0x103343[_0x18784b(0x369)]({'keySize':_0x1598e6+_0x5aee6f,'hasher':_0x2a1c7d})[_0x18784b(0x43b)](_0x15bf0a,_0x169938);else var _0x604ec1=_0x103343['create']({'keySize':_0x1598e6+_0x5aee6f})['compute'](_0x15bf0a,_0x169938);var _0x5d7e62=_0x1e14f4[_0x18784b(0x369)](_0x604ec1[_0x18784b(0x4f9)][_0x18784b(0x39e)](_0x1598e6),_0x5aee6f*0x4);return _0x604ec1[_0x18784b(0x47b)]=_0x1598e6*0x4,_0x4090b0['create']({'key':_0x604ec1,'iv':_0x5d7e62,'salt':_0x169938});}},_0x346ac1=_0x122cf9[_0x332d9b(0x3aa)]=_0x378ea9['extend']({'cfg':_0x378ea9[_0x332d9b(0x2c7)]['extend']({'kdf':_0x27ab65}),'encrypt':function(_0x47f726,_0x2452e1,_0xe2c8aa,_0x3f5141){var _0x1b7cb8=_0x332d9b;_0x3f5141=this[_0x1b7cb8(0x2c7)][_0x1b7cb8(0x410)](_0x3f5141);var _0x4e74be=_0x3f5141['kdf']['execute'](_0xe2c8aa,_0x47f726[_0x1b7cb8(0x2a5)],_0x47f726[_0x1b7cb8(0x2c6)],_0x3f5141[_0x1b7cb8(0x4b5)],_0x3f5141[_0x1b7cb8(0x1fb)]);_0x3f5141['iv']=_0x4e74be['iv'];var _0x28b3ba=_0x378ea9['encrypt'][_0x1b7cb8(0x411)](this,_0x47f726,_0x2452e1,_0x4e74be[_0x1b7cb8(0x3e6)],_0x3f5141);return _0x28b3ba[_0x1b7cb8(0x597)](_0x4e74be),_0x28b3ba;},'decrypt':function(_0x36214f,_0x15eeeb,_0x5a7bdc,_0x53146d){var _0xec5e47=_0x332d9b;_0x53146d=this[_0xec5e47(0x2c7)]['extend'](_0x53146d),_0x15eeeb=this[_0xec5e47(0x430)](_0x15eeeb,_0x53146d['format']);var _0x4c53d6=_0x53146d[_0xec5e47(0x219)][_0xec5e47(0x50f)](_0x5a7bdc,_0x36214f[_0xec5e47(0x2a5)],_0x36214f['ivSize'],_0x15eeeb[_0xec5e47(0x4b5)],_0x53146d['hasher']);_0x53146d['iv']=_0x4c53d6['iv'];var _0x25cbb3=_0x378ea9['decrypt'][_0xec5e47(0x411)](this,_0x36214f,_0x15eeeb,_0x4c53d6[_0xec5e47(0x3e6)],_0x53146d);return _0x25cbb3;}});}();}));}(_0x1c411f)),_0x1c411f[_0x42c3e9(0x301)];}var _0x2d34c0=_0x4f85cb[_0x171ee8(0x301)],_0x350d65;function _0x442a6c(){var _0x30378e=_0x171ee8;return _0x350d65||(_0x350d65=0x1,function(_0x3bb007,_0x557406){(function(_0x1b3d75,_0x4da4e7,_0x134b75){var _0x376fd3=_0x5de5;_0x3bb007[_0x376fd3(0x301)]=_0x4da4e7(_0x3df9ad(),_0x4fd504(),_0x55f4d6(),_0x42e2e2(),_0x296e9d());}(_0x2d34c0,function(_0x2430da){var _0x143ced=_0x5de5;return(function(){var _0x4c66a0=_0x5de5,_0x2032c4=_0x2430da,_0x374838=_0x2032c4[_0x4c66a0(0x427)],_0x527dab=_0x374838[_0x4c66a0(0x526)],_0x39be46=_0x2032c4['algo'],_0x3d04cd=[],_0x5cd47=[],_0x35b0e6=[],_0xcc2ed3=[],_0x366035=[],_0x58c945=[],_0x5e04b0=[],_0xe3720c=[],_0x1b7752=[],_0x337c13=[];(function(){for(var _0x47d906=[],_0xe62377=0x0;_0xe62377<0x100;_0xe62377++)_0xe62377<0x80?_0x47d906[_0xe62377]=_0xe62377<<0x1:_0x47d906[_0xe62377]=_0xe62377<<0x1^0x11b;for(var _0x602b94=0x0,_0x1397b6=0x0,_0xe62377=0x0;_0xe62377<0x100;_0xe62377++){var _0x174cac=_0x1397b6^_0x1397b6<<0x1^_0x1397b6<<0x2^_0x1397b6<<0x3^_0x1397b6<<0x4;_0x174cac=_0x174cac>>>0x8^_0x174cac&0xff^0x63,_0x3d04cd[_0x602b94]=_0x174cac,_0x5cd47[_0x174cac]=_0x602b94;var _0x34b328=_0x47d906[_0x602b94],_0x55348b=_0x47d906[_0x34b328],_0x1df68b=_0x47d906[_0x55348b],_0x45431a=_0x47d906[_0x174cac]*0x101^_0x174cac*0x1010100;_0x35b0e6[_0x602b94]=_0x45431a<<0x18|_0x45431a>>>0x8,_0xcc2ed3[_0x602b94]=_0x45431a<<0x10|_0x45431a>>>0x10,_0x366035[_0x602b94]=_0x45431a<<0x8|_0x45431a>>>0x18,_0x58c945[_0x602b94]=_0x45431a;var _0x45431a=_0x1df68b*0x1010101^_0x55348b*0x10001^_0x34b328*0x101^_0x602b94*0x1010100;_0x5e04b0[_0x174cac]=_0x45431a<<0x18|_0x45431a>>>0x8,_0xe3720c[_0x174cac]=_0x45431a<<0x10|_0x45431a>>>0x10,_0x1b7752[_0x174cac]=_0x45431a<<0x8|_0x45431a>>>0x18,_0x337c13[_0x174cac]=_0x45431a,_0x602b94?(_0x602b94=_0x34b328^_0x47d906[_0x47d906[_0x47d906[_0x1df68b^_0x34b328]]],_0x1397b6^=_0x47d906[_0x47d906[_0x1397b6]]):_0x602b94=_0x1397b6=0x1;}}());var _0x1ca5dc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2a9d3c=_0x39be46[_0x4c66a0(0x572)]=_0x527dab[_0x4c66a0(0x410)]({'_doReset':function(){var _0x14ca27=_0x4c66a0,_0x526ba0;if(!(this[_0x14ca27(0x434)]&&this['_keyPriorReset']===this[_0x14ca27(0x275)])){for(var _0x3512f4=this[_0x14ca27(0x3ce)]=this[_0x14ca27(0x275)],_0x558280=_0x3512f4[_0x14ca27(0x4f9)],_0x7e4f66=_0x3512f4[_0x14ca27(0x47b)]/0x4,_0x1e2031=this[_0x14ca27(0x434)]=_0x7e4f66+0x6,_0x351db9=(_0x1e2031+0x1)*0x4,_0x6f7493=this[_0x14ca27(0x214)]=[],_0x4ff6f9=0x0;_0x4ff6f9<_0x351db9;_0x4ff6f9++)_0x4ff6f9<_0x7e4f66?_0x6f7493[_0x4ff6f9]=_0x558280[_0x4ff6f9]:(_0x526ba0=_0x6f7493[_0x4ff6f9-0x1],_0x4ff6f9%_0x7e4f66?_0x7e4f66>0x6&&_0x4ff6f9%_0x7e4f66==0x4&&(_0x526ba0=_0x3d04cd[_0x526ba0>>>0x18]<<0x18|_0x3d04cd[_0x526ba0>>>0x10&0xff]<<0x10|_0x3d04cd[_0x526ba0>>>0x8&0xff]<<0x8|_0x3d04cd[_0x526ba0&0xff]):(_0x526ba0=_0x526ba0<<0x8|_0x526ba0>>>0x18,_0x526ba0=_0x3d04cd[_0x526ba0>>>0x18]<<0x18|_0x3d04cd[_0x526ba0>>>0x10&0xff]<<0x10|_0x3d04cd[_0x526ba0>>>0x8&0xff]<<0x8|_0x3d04cd[_0x526ba0&0xff],_0x526ba0^=_0x1ca5dc[_0x4ff6f9/_0x7e4f66|0x0]<<0x18),_0x6f7493[_0x4ff6f9]=_0x6f7493[_0x4ff6f9-_0x7e4f66]^_0x526ba0);for(var _0x598711=this[_0x14ca27(0x52f)]=[],_0x39ab2e=0x0;_0x39ab2e<_0x351db9;_0x39ab2e++){var _0x4ff6f9=_0x351db9-_0x39ab2e;if(_0x39ab2e%0x4)var _0x526ba0=_0x6f7493[_0x4ff6f9];else var _0x526ba0=_0x6f7493[_0x4ff6f9-0x4];_0x39ab2e<0x4||_0x4ff6f9<=0x4?_0x598711[_0x39ab2e]=_0x526ba0:_0x598711[_0x39ab2e]=_0x5e04b0[_0x3d04cd[_0x526ba0>>>0x18]]^_0xe3720c[_0x3d04cd[_0x526ba0>>>0x10&0xff]]^_0x1b7752[_0x3d04cd[_0x526ba0>>>0x8&0xff]]^_0x337c13[_0x3d04cd[_0x526ba0&0xff]];}}},'encryptBlock':function(_0x53ecff,_0xb217bf){var _0x2404db=_0x4c66a0;this[_0x2404db(0x2be)](_0x53ecff,_0xb217bf,this[_0x2404db(0x214)],_0x35b0e6,_0xcc2ed3,_0x366035,_0x58c945,_0x3d04cd);},'decryptBlock':function(_0x2185b7,_0x58e0b1){var _0x111558=_0x4c66a0,_0x279b38=_0x2185b7[_0x58e0b1+0x1];_0x2185b7[_0x58e0b1+0x1]=_0x2185b7[_0x58e0b1+0x3],_0x2185b7[_0x58e0b1+0x3]=_0x279b38,this[_0x111558(0x2be)](_0x2185b7,_0x58e0b1,this['_invKeySchedule'],_0x5e04b0,_0xe3720c,_0x1b7752,_0x337c13,_0x5cd47);var _0x279b38=_0x2185b7[_0x58e0b1+0x1];_0x2185b7[_0x58e0b1+0x1]=_0x2185b7[_0x58e0b1+0x3],_0x2185b7[_0x58e0b1+0x3]=_0x279b38;},'_doCryptBlock':function(_0x38da10,_0x58bd35,_0x1e8b0d,_0x1ffa84,_0xbfe50e,_0x8da60b,_0x18f24a,_0x301cc4){for(var _0x1cc023=this['_nRounds'],_0x18f886=_0x38da10[_0x58bd35]^_0x1e8b0d[0x0],_0x133065=_0x38da10[_0x58bd35+0x1]^_0x1e8b0d[0x1],_0x5602ad=_0x38da10[_0x58bd35+0x2]^_0x1e8b0d[0x2],_0x47e26e=_0x38da10[_0x58bd35+0x3]^_0x1e8b0d[0x3],_0x2f922b=0x4,_0x5b2f7f=0x1;_0x5b2f7f<_0x1cc023;_0x5b2f7f++){var _0x9c05c2=_0x1ffa84[_0x18f886>>>0x18]^_0xbfe50e[_0x133065>>>0x10&0xff]^_0x8da60b[_0x5602ad>>>0x8&0xff]^_0x18f24a[_0x47e26e&0xff]^_0x1e8b0d[_0x2f922b++],_0x22ab09=_0x1ffa84[_0x133065>>>0x18]^_0xbfe50e[_0x5602ad>>>0x10&0xff]^_0x8da60b[_0x47e26e>>>0x8&0xff]^_0x18f24a[_0x18f886&0xff]^_0x1e8b0d[_0x2f922b++],_0x1fe1dd=_0x1ffa84[_0x5602ad>>>0x18]^_0xbfe50e[_0x47e26e>>>0x10&0xff]^_0x8da60b[_0x18f886>>>0x8&0xff]^_0x18f24a[_0x133065&0xff]^_0x1e8b0d[_0x2f922b++],_0x429ecd=_0x1ffa84[_0x47e26e>>>0x18]^_0xbfe50e[_0x18f886>>>0x10&0xff]^_0x8da60b[_0x133065>>>0x8&0xff]^_0x18f24a[_0x5602ad&0xff]^_0x1e8b0d[_0x2f922b++];_0x18f886=_0x9c05c2,_0x133065=_0x22ab09,_0x5602ad=_0x1fe1dd,_0x47e26e=_0x429ecd;}var _0x9c05c2=(_0x301cc4[_0x18f886>>>0x18]<<0x18|_0x301cc4[_0x133065>>>0x10&0xff]<<0x10|_0x301cc4[_0x5602ad>>>0x8&0xff]<<0x8|_0x301cc4[_0x47e26e&0xff])^_0x1e8b0d[_0x2f922b++],_0x22ab09=(_0x301cc4[_0x133065>>>0x18]<<0x18|_0x301cc4[_0x5602ad>>>0x10&0xff]<<0x10|_0x301cc4[_0x47e26e>>>0x8&0xff]<<0x8|_0x301cc4[_0x18f886&0xff])^_0x1e8b0d[_0x2f922b++],_0x1fe1dd=(_0x301cc4[_0x5602ad>>>0x18]<<0x18|_0x301cc4[_0x47e26e>>>0x10&0xff]<<0x10|_0x301cc4[_0x18f886>>>0x8&0xff]<<0x8|_0x301cc4[_0x133065&0xff])^_0x1e8b0d[_0x2f922b++],_0x429ecd=(_0x301cc4[_0x47e26e>>>0x18]<<0x18|_0x301cc4[_0x18f886>>>0x10&0xff]<<0x10|_0x301cc4[_0x133065>>>0x8&0xff]<<0x8|_0x301cc4[_0x5602ad&0xff])^_0x1e8b0d[_0x2f922b++];_0x38da10[_0x58bd35]=_0x9c05c2,_0x38da10[_0x58bd35+0x1]=_0x22ab09,_0x38da10[_0x58bd35+0x2]=_0x1fe1dd,_0x38da10[_0x58bd35+0x3]=_0x429ecd;},'keySize':0x100/0x20});_0x2032c4[_0x4c66a0(0x572)]=_0x527dab[_0x4c66a0(0x567)](_0x2a9d3c);}()),_0x2430da[_0x143ced(0x572)];}));}(_0x4f85cb)),_0x4f85cb[_0x30378e(0x301)];}var _0x35bca1=_0x442a6c();const _0x38a354=_0x4b4ef5(_0x35bca1);var _0x8c7f64=_0x4fd504();const _0x3b4dbd=_0x4b4ef5(_0x8c7f64);var _0xa43159={'exports':{}},_0x503b55=_0xa43159['exports'],_0x5de500;function _0x5c2ed0(){var _0x5c4c8c=_0x171ee8;return _0x5de500||(_0x5de500=0x1,function(_0x814293,_0x6f2c90){(function(_0x5302e1,_0x52d8b9){var _0x577f0f=_0x5de5;_0x814293[_0x577f0f(0x301)]=_0x52d8b9(_0x3df9ad());}(_0x503b55,function(_0x4d2575){var _0x1f18a3=_0x5de5;return _0x4d2575['enc'][_0x1f18a3(0x58d)];}));}(_0xa43159)),_0xa43159[_0x5c4c8c(0x301)];}var _0x570225=_0x5c2ed0();const _0x2dc323=_0x4b4ef5(_0x570225);var _0x1670fa={'exports':{}},_0x424553=_0x1670fa['exports'],_0x1f1bff;function _0x499460(){var _0x55a7f2=_0x171ee8;return _0x1f1bff||(_0x1f1bff=0x1,function(_0x3ae8bf,_0x4dc408){(function(_0x4e9cd2,_0x32231e){_0x3ae8bf['exports']=_0x32231e(_0x3df9ad());}(_0x424553,function(_0x1d044b){var _0x5d986a=_0x5de5;return(function(){var _0x4ecd5e=_0x5de5;if(typeof ArrayBuffer==_0x4ecd5e(0x52c)){var _0x599679=_0x1d044b,_0xf8db5f=_0x599679[_0x4ecd5e(0x427)],_0x172396=_0xf8db5f[_0x4ecd5e(0x1f1)],_0x87717e=_0x172396[_0x4ecd5e(0x2dc)],_0x43380c=_0x172396[_0x4ecd5e(0x2dc)]=function(_0x53b3d2){var _0x119641=_0x4ecd5e;if(_0x53b3d2 instanceof ArrayBuffer&&(_0x53b3d2=new Uint8Array(_0x53b3d2)),(_0x53b3d2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x53b3d2 instanceof Uint8ClampedArray||_0x53b3d2 instanceof Int16Array||_0x53b3d2 instanceof Uint16Array||_0x53b3d2 instanceof Int32Array||_0x53b3d2 instanceof Uint32Array||_0x53b3d2 instanceof Float32Array||_0x53b3d2 instanceof Float64Array)&&(_0x53b3d2=new Uint8Array(_0x53b3d2[_0x119641(0x1f5)],_0x53b3d2[_0x119641(0x594)],_0x53b3d2[_0x119641(0x258)])),_0x53b3d2 instanceof Uint8Array){for(var _0x18ab26=_0x53b3d2[_0x119641(0x258)],_0x3a8668=[],_0x5e9722=0x0;_0x5e9722<_0x18ab26;_0x5e9722++)_0x3a8668[_0x5e9722>>>0x2]|=_0x53b3d2[_0x5e9722]<<0x18-_0x5e9722%0x4*0x8;_0x87717e[_0x119641(0x411)](this,_0x3a8668,_0x18ab26);}else _0x87717e[_0x119641(0x33d)](this,arguments);};_0x43380c[_0x4ecd5e(0x3d8)]=_0x172396;}}()),_0x1d044b[_0x5d986a(0x427)]['WordArray'];}));}(_0x1670fa)),_0x1670fa[_0x55a7f2(0x301)];}var _0xfe2511=_0x499460();const _0x2afafb=_0x4b4ef5(_0xfe2511);var _0x3480f9={'exports':{}},_0x3b5a3a=_0x3480f9[_0x171ee8(0x301)],_0x33d71b;function _0x2ecb56(){return _0x33d71b||(_0x33d71b=0x1,function(_0xe65263,_0x1c6f4d){(function(_0x21c6c2,_0x3b02d0,_0x4d766b){var _0x3dbc1b=_0x5de5;_0xe65263[_0x3dbc1b(0x301)]=_0x3b02d0(_0x3df9ad(),_0x296e9d());}(_0x3b5a3a,function(_0x4da7df){var _0x1089db=_0x5de5;return _0x4da7df[_0x1089db(0x493)][_0x1089db(0x3ca)]={'pad':function(){},'unpad':function(){}},_0x4da7df[_0x1089db(0x493)][_0x1089db(0x3ca)];}));}(_0x3480f9)),_0x3480f9['exports'];}var _0x531b5a=_0x2ecb56();const _0xe438fa=_0x4b4ef5(_0x531b5a);function _0x29323a(_0x36afb1,_0x4d9a41){var _0x59b767=_0x171ee8;const _0x5bac68=_0x4d9a41-_0x36afb1[_0x59b767(0x56b)]%_0x4d9a41,_0x309175=String[_0x59b767(0x2e4)](_0x5bac68)[_0x59b767(0x323)](_0x5bac68);return _0x36afb1+_0x309175;}function _0x304b1c(_0x558d90,_0x4848f0){var _0x1efcf9=_0x171ee8;const _0x3987c8=_0x2afafb[_0x1efcf9(0x56f)](0x10),_0x1478b4=_0x29323a(_0x558d90,0x10),_0x24da37=_0x38a354[_0x1efcf9(0x316)](_0x2dc323[_0x1efcf9(0x26e)](_0x1478b4),_0x3b4dbd['parse'](_0x4848f0),{'iv':_0x3987c8,'padding':_0xe438fa});return _0x3987c8[_0x1efcf9(0x3c5)](_0x24da37[_0x1efcf9(0x53a)])['toString'](_0x3b4dbd);}function _0x5c641a(){var _0x1bb3ec=_0x171ee8;const _0x560944=_0x2dfe69[_0x1bb3ec(0x52b)]()[_0x1bb3ec(0x523)];if(typeof window<'u'&&typeof window[_0x1bb3ec(0x1e8)]<'u'&&_0x560944){const _0x1f817b={'time':Math['floor'](Date[_0x1bb3ec(0x1ed)]()/0x3e8),'domain':location[_0x1bb3ec(0x4bd)]};return _0x304b1c(JSON[_0x1bb3ec(0x234)](_0x1f817b),_0x560944);}}var _0x2d19d1=Object[_0x171ee8(0x4a4)],_0x1c7dca=(_0x31b0d6,_0x1ff0f9,_0x134823,_0x53a7d7)=>{for(var _0xcea3a4=_0x53a7d7>0x1?void 0x0:_0x53a7d7?_0x2d19d1(_0x1ff0f9,_0x134823):_0x1ff0f9,_0x444a5e=_0x31b0d6['length']-0x1,_0xfffe63;_0x444a5e>=0x0;_0x444a5e--)(_0xfffe63=_0x31b0d6[_0x444a5e])&&(_0xcea3a4=_0xfffe63(_0xcea3a4)||_0xcea3a4);return _0xcea3a4;},_0x55b1db=(_0x195467,_0x4d3066)=>(_0x4de755,_0xd9b7b8)=>_0x4d3066(_0x4de755,_0xd9b7b8,_0x195467);let _0x2f893b=class{constructor(_0x84b5bc){var _0x271a46=_0x171ee8;this['_httpService']=_0x84b5bc,this[_0x271a46(0x51b)]();}[_0x171ee8(0x51b)](){var _0x17cfd7=_0x171ee8;this[_0x17cfd7(0x459)]['registerHTTPInterceptor']({'interceptor':(_0x4448b9,_0x4299db)=>{var _0x1e356a=_0x17cfd7;const _0xec6a5b=_0x4448b9[_0x1e356a(0x530)],_0x1ee582=_0x5c641a();return _0x1ee582&&_0xec6a5b[_0x1e356a(0x3db)](_0x1e356a(0x42c),_0x1ee582),_0x4299db(_0x4448b9);}});}};_0x2f893b=_0x1c7dca([_0x55b1db(0x0,_0x363ba1[_0x171ee8(0x235)](_0x29ce40[_0x171ee8(0x236)]))],_0x2f893b);var _0x391b6d=Object[_0x171ee8(0x4a4)],_0xae0ee0=(_0x1ae987,_0xe4526e,_0x3ed14c,_0x82bea2)=>{for(var _0xe38e74=_0x82bea2>0x1?void 0x0:_0x82bea2?_0x391b6d(_0xe4526e,_0x3ed14c):_0xe4526e,_0x2538d5=_0x1ae987['length']-0x1,_0x4b9645;_0x2538d5>=0x0;_0x2538d5--)(_0x4b9645=_0x1ae987[_0x2538d5])&&(_0xe38e74=_0x4b9645(_0xe38e74)||_0xe38e74);return _0xe38e74;},_0x4863ae=(_0xb063e7,_0x51bcbf)=>(_0x36f646,_0xdb2e63)=>_0x51bcbf(_0x36f646,_0xdb2e63,_0xb063e7);_0x8c8aef['DataLoaderService']=class extends _0x363ba1[_0x171ee8(0x448)]{constructor(_0x5d39d7,_0x215c56,_0x2424e9){var _0x4c0cd4=_0x171ee8;super(),_0x4d38ee(this,_0x4c0cd4(0x3e0),new _0x20179e[(_0x4c0cd4(0x551))](null)),_0x4d38ee(this,_0x4c0cd4(0x55e),this[_0x4c0cd4(0x3e0)][_0x4c0cd4(0x39c)]()),(this['_logService']=_0x5d39d7,this[_0x4c0cd4(0x1e9)]=_0x215c56,this[_0x4c0cd4(0x2e7)]=_0x2424e9);}async[_0x171ee8(0x516)](_0x54da29,_0xc4f3ab,_0x1a0867){var _0x5dd3c5=_0x171ee8;this[_0x5dd3c5(0x3e0)][_0x5dd3c5(0x321)]({'unitId':_0x54da29,'type':_0xc4f3ab});let _0x3ad8fa=null;switch(_0xc4f3ab){case _0x57859c[_0x5dd3c5(0x3e1)]:{_0x3ad8fa=await this[_0x5dd3c5(0x1e9)][_0x5dd3c5(0x42f)](_0x54da29,_0x1a0867);break;}case _0x57859c['UNIVER_DOC']:{_0x3ad8fa=await this['_snapshotService']['loadDoc'](_0x54da29,_0x1a0867);break;}default:{this[_0x5dd3c5(0x4b9)][_0x5dd3c5(0x49a)](_0x5dd3c5(0x3bd),_0x5dd3c5(0x362));break;}}return _0x3ad8fa;}async[_0x171ee8(0x33f)](_0x244b27,_0x11d359,_0x4e4b5b){var _0x4156e6=_0x171ee8,_0x2eeffa;this[_0x4156e6(0x3e0)][_0x4156e6(0x321)]({'unitId':_0x244b27,'type':_0x11d359,'subUnitId':_0x4e4b5b});let _0x531479=0x0;const _0x4a6d38=await((_0x2eeffa=this[_0x4156e6(0x2e7)])==null?void 0x0:_0x2eeffa[_0x4156e6(0x2cf)](_0x244b27));return _0x4a6d38&&(_0x4a6d38[_0x4156e6(0x247)]||_0x4a6d38['mutations'][_0x4156e6(0x56b)]!==0x0)&&(_0x531479=_0x4a6d38[_0x4156e6(0x222)]),_0x531479===0x0&&this[_0x4156e6(0x4b9)][_0x4156e6(0x490)]('[DataLoaderService]',_0x4156e6(0x3d9)),this[_0x4156e6(0x516)](_0x244b27,_0x11d359,_0x531479);}},_0x8c8aef[_0x171ee8(0x317)]=_0xae0ee0([_0x4863ae(0x0,_0x363ba1[_0x171ee8(0x295)]),_0x4863ae(0x1,_0x363ba1['Inject'](_0x42a3bb[_0x171ee8(0x506)])),_0x4863ae(0x2,_0x363ba1[_0x171ee8(0x25e)](_0x2161a0))],_0x8c8aef[_0x171ee8(0x317)]);var _0x2c549c=Object['getOwnPropertyDescriptor'],_0x16855f=(_0x3a3038,_0x126ed7,_0x5adaa2,_0x1fca41)=>{var _0x1b7dfa=_0x171ee8;for(var _0x8ba25f=_0x1fca41>0x1?void 0x0:_0x1fca41?_0x2c549c(_0x126ed7,_0x5adaa2):_0x126ed7,_0x2ef3ec=_0x3a3038[_0x1b7dfa(0x56b)]-0x1,_0x30d81f;_0x2ef3ec>=0x0;_0x2ef3ec--)(_0x30d81f=_0x3a3038[_0x2ef3ec])&&(_0x8ba25f=_0x30d81f(_0x8ba25f)||_0x8ba25f);return _0x8ba25f;},_0x54ef31=(_0x55a41f,_0x1606e5)=>(_0x667829,_0x424aeb)=>_0x1606e5(_0x667829,_0x424aeb,_0x55a41f);const _0x400ce1=[_0x171ee8(0x241),'image/jpeg',_0x171ee8(0x442),_0x171ee8(0x49d),_0x171ee8(0x36d)],_0x4e9d29=0x5*0x400*0x400,_0x5f1f2a=_0x171ee8(0x53b),_0x2ef2cf=_0x171ee8(0x515);_0x8c8aef['CollaborationImageIoService']=class{constructor(_0x132337,_0xd0cf68,_0x564573){var _0x403168=_0x171ee8;_0x4d38ee(this,_0x403168(0x26f),0x0),_0x4d38ee(this,'_change$',new _0x20179e['Subject']()),_0x4d38ee(this,_0x403168(0x1f0),this[_0x403168(0x55f)]),_0x4d38ee(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x132337,this[_0x403168(0x49f)]=_0xd0cf68,this[_0x403168(0x556)]=_0x564573);}['setWaitCount'](_0x259ca9){var _0x1fa2c9=_0x171ee8;this[_0x1fa2c9(0x26f)]=_0x259ca9,this[_0x1fa2c9(0x55f)]['next'](_0x259ca9);}[_0x171ee8(0x43a)](_0x374af9,_0x7bb756){var _0x5793ee=_0x171ee8;if(_0x7bb756===_0x5c9676[_0x5793ee(0x48f)][_0x5793ee(0x534)]){const _0x4b1e9e=new Image();return _0x4b1e9e[_0x5793ee(0x2ee)]=_0x374af9,_0x4b1e9e;}return this['_imageSourceCache'][_0x5793ee(0x374)](_0x374af9);}[_0x171ee8(0x3ee)](_0x306e80,_0x5913d6,_0x157883){var _0x237a46=_0x171ee8;_0x5913d6===_0x5c9676[_0x237a46(0x48f)][_0x237a46(0x534)]||_0x157883==null||this[_0x237a46(0x432)][_0x237a46(0x3db)](_0x306e80,_0x157883);}async['getImage'](_0xe973e7){var _0x481032=_0x171ee8;try{const _0x10329d=this[_0x481032(0x25f)](this[_0x481032(0x46d)](),''+_0xe973e7),_0x5bdad5=(await this[_0x481032(0x459)][_0x481032(0x374)](_0x10329d))[_0x481032(0x479)];if(_0x5bdad5[_0x481032(0x49a)]&&_0x5bdad5[_0x481032(0x49a)][_0x481032(0x3f9)]===_0x3c366b['OK']){const _0x5287fb=_0x363ba1[_0x481032(0x522)](_0x5bdad5[_0x481032(0x336)],this['_getDownloadEndpointURL']());return Promise[_0x481032(0x2b4)](_0x5287fb);}return Promise['reject'](_0x5bdad5[_0x481032(0x49a)]);}catch(_0xa5e00){return Promise[_0x481032(0x2f2)](_0xa5e00);}}async[_0x171ee8(0x4bc)](_0x362728){var _0x3498d0=_0x171ee8;let _0x580ae1='';if(!_0x400ce1[_0x3498d0(0x2ba)](_0x362728[_0x3498d0(0x2ab)]))return this[_0x3498d0(0x59d)](),Promise['reject'](new Error(_0x5c9676[_0x3498d0(0x363)]['ERROR_IMAGE_TYPE']));if(_0x362728[_0x3498d0(0x4c4)]>_0x4e9d29)return this[_0x3498d0(0x59d)](),Promise[_0x3498d0(0x2f2)](new Error(_0x5c9676[_0x3498d0(0x363)][_0x3498d0(0x30a)]));try{const _0x5aff4d=new FormData();_0x5aff4d[_0x3498d0(0x296)](_0x3498d0(0x276),_0x362728);const _0xda875c=this[_0x3498d0(0x556)][_0x3498d0(0x2c0)](),_0x40a8b5=_0xda875c==null?void 0x0:_0xda875c[_0x3498d0(0x2ac)]();if(!_0x40a8b5)throw new Error(_0x3498d0(0x455));const _0x51eeb0=this[_0x3498d0(0x380)]()+_0x3498d0(0x3ab)+_0x362728['size']['toString']()+_0x3498d0(0x26d)+_0x722b30[_0x3498d0(0x529)]+_0x3498d0(0x54b)+encodeURIComponent(_0x40a8b5),_0x8172c9={'body':_0x5aff4d},_0x5d15f0=(await this[_0x3498d0(0x459)][_0x3498d0(0x2ae)](_0x51eeb0,_0x8172c9))['body'];if(typeof _0x5d15f0[_0x3498d0(0x36f)]!=_0x3498d0(0x40d))return this['_decreaseWaiting'](),Promise[_0x3498d0(0x2f2)](new Error(_0x5c9676['ImageUploadStatusType'][_0x3498d0(0x43f)]));_0x580ae1=_0x5d15f0['FileId'];}catch{return this[_0x3498d0(0x59d)](),Promise['reject'](new Error(_0x5c9676[_0x3498d0(0x363)][_0x3498d0(0x43f)]));}return new Promise((_0x2bc05a,_0x4a0811)=>{var _0xf52994=_0x3498d0;const _0x23b115=new FileReader();_0x23b115[_0xf52994(0x2ea)](_0x362728),_0x23b115[_0xf52994(0x400)]=_0x5bd1f4=>{var _0x498fab=_0xf52994,_0x37866c;const _0x1557ef=(_0x37866c=_0x5bd1f4[_0x498fab(0x332)])==null?void 0x0:_0x37866c[_0x498fab(0x57d)];if(_0x1557ef==null){this[_0x498fab(0x59d)](),_0x4a0811(new Error(_0x5c9676[_0x498fab(0x363)][_0x498fab(0x43f)]));return;}const _0x318db0=_0x363ba1['generateRandomId'](0x6);_0x2bc05a({'imageId':_0x318db0,'imageSourceType':_0x5c9676['ImageSourceType'][_0x498fab(0x21e)],'source':_0x580ae1,'base64Cache':_0x1557ef,'status':_0x5c9676[_0x498fab(0x363)][_0x498fab(0x47c)]}),this['_decreaseWaiting']();};});}[_0x171ee8(0x380)](){var _0xb010f5=_0x171ee8,_0x549e77;const _0x404949=this['_configService'][_0xb010f5(0x217)](_0x55ab41);return(_0x549e77=_0x404949==null?void 0x0:_0x404949['uploadFileServerUrl'])!=null?_0x549e77:_0x5f1f2a;}[_0x171ee8(0x46d)](){var _0x16286b=_0x171ee8,_0x57f692;const _0x3d7851=this['_configService'][_0x16286b(0x217)](_0x55ab41);return(_0x57f692=_0x3d7851==null?void 0x0:_0x3d7851[_0x16286b(0x364)])!=null?_0x57f692:_0x2ef2cf;}[_0x171ee8(0x2ad)](){var _0xb222da=_0x171ee8,_0xd90778;const _0x56b491=this[_0xb222da(0x49f)][_0xb222da(0x217)](_0x55ab41);return(_0xd90778=_0x56b491==null?void 0x0:_0x56b491['downloadEndpointUrl'])!=null?_0xd90778:location[_0xb222da(0x358)];}[_0x171ee8(0x25f)](_0xf060f,_0x3443b5){var _0x30728b=_0x171ee8;return _0xf060f[_0x30728b(0x34f)](_0x30728b(0x290),_0x3443b5);}[_0x171ee8(0x59d)](){var _0x25e999=_0x171ee8;this[_0x25e999(0x26f)]-=0x1,this['_change$'][_0x25e999(0x321)](this['_waitCount']);}},_0x8c8aef[_0x171ee8(0x570)]=_0x16855f([_0x54ef31(0x0,_0x363ba1[_0x171ee8(0x235)](_0x29ce40[_0x171ee8(0x236)])),_0x54ef31(0x1,_0x363ba1[_0x171ee8(0x429)]),_0x54ef31(0x2,_0x363ba1[_0x171ee8(0x235)](_0x363ba1['IUniverInstanceService']))],_0x8c8aef[_0x171ee8(0x570)]);var _0x127148=Object[_0x171ee8(0x4a4)],_0x5a80f3=(_0x2aca4a,_0x2cabdd,_0x1c0e6f,_0x151cc6)=>{var _0x2c1b52=_0x171ee8;for(var _0x100099=_0x151cc6>0x1?void 0x0:_0x151cc6?_0x127148(_0x2cabdd,_0x1c0e6f):_0x2cabdd,_0x33fe63=_0x2aca4a[_0x2c1b52(0x56b)]-0x1,_0x528a71;_0x33fe63>=0x0;_0x33fe63--)(_0x528a71=_0x2aca4a[_0x33fe63])&&(_0x100099=_0x528a71(_0x100099)||_0x100099);return _0x100099;},_0x44854c=(_0x2559e7,_0xe3e3b)=>(_0x80650b,_0x5a9384)=>_0xe3e3b(_0x80650b,_0x5a9384,_0x2559e7);const _0x14a6a6=_0x171ee8(0x461);_0x8c8aef[_0x171ee8(0x22e)]=class{constructor(_0xd6793b,_0x2457fe){var _0xe9add4=_0x171ee8;this[_0xe9add4(0x49f)]=_0xd6793b,this['_HTTPService']=_0x2457fe;}['_getAPIPrefixPath'](){var _0x4c34d7=_0x171ee8,_0x201986;const _0x128267=this[_0x4c34d7(0x49f)][_0x4c34d7(0x217)](_0x55ab41);return(_0x201986=_0x128267==null?void 0x0:_0x128267[_0x4c34d7(0x569)])!=null?_0x201986:_0x14a6a6;}async[_0x171ee8(0x2d3)](_0xf904b6){var _0x14f429=_0x171ee8;const _0x5ea4d8=this[_0x14f429(0x21c)]()+'/collaborator';return{'list':[{'title':_0x14f429(0x447),'mentions':(await this[_0x14f429(0x4b1)]['get'](_0x5ea4d8,{'params':{'objectID':_0xf904b6['unitId'],'unitID':_0xf904b6['unitId']}}))[_0x14f429(0x479)][_0x14f429(0x357)][_0x14f429(0x4c1)](_0x231ce9=>({'objectId':_0x231ce9['id'],'name':_0x231ce9[_0x14f429(0x311)][_0x14f429(0x302)],'metadata':{'icon':_0x231ce9[_0x14f429(0x311)][_0x14f429(0x36c)]},'label':_0x231ce9[_0x14f429(0x311)][_0x14f429(0x302)],'objectType':_0x363ba1[_0x14f429(0x58a)][_0x14f429(0x39f)]})),'metadata':{},'type':_0x363ba1[_0x14f429(0x58a)]['PERSON']}]};}},_0x8c8aef['MentionIoHttpService']=_0x5a80f3([_0x44854c(0x0,_0x363ba1['Inject'](_0x363ba1[_0x171ee8(0x429)])),_0x44854c(0x1,_0x363ba1['Inject'](_0x29ce40['HTTPService']))],_0x8c8aef[_0x171ee8(0x22e)]);var _0x5f006e=Object[_0x171ee8(0x4a4)],_0x2b243a=(_0x238f2c,_0x3275ad,_0x35c6b9,_0x2bd12f)=>{var _0x3467a5=_0x171ee8;for(var _0x4dcc72=_0x2bd12f>0x1?void 0x0:_0x2bd12f?_0x5f006e(_0x3275ad,_0x35c6b9):_0x3275ad,_0x5d6b62=_0x238f2c[_0x3467a5(0x56b)]-0x1,_0x2c5b9b;_0x5d6b62>=0x0;_0x5d6b62--)(_0x2c5b9b=_0x238f2c[_0x5d6b62])&&(_0x4dcc72=_0x2c5b9b(_0x4dcc72)||_0x4dcc72);return _0x4dcc72;},_0x1e35e1=(_0x5c6e6b,_0x1355ea)=>(_0x281c52,_0x14c278)=>_0x1355ea(_0x281c52,_0x14c278,_0x5c6e6b);let _0x412d84=class extends _0x363ba1[_0x171ee8(0x448)]{constructor(_0x43dc75,_0x5cc06c,_0x1fac79,_0x4c8f31,_0x40dfb0){var _0xb77325=_0x171ee8;super(),this[_0xb77325(0x2cd)]=_0x43dc75,this[_0xb77325(0x556)]=_0x5cc06c,this[_0xb77325(0x4d9)]=_0x1fac79,this[_0xb77325(0x4d1)]=_0x4c8f31,this['_collaborationUIEventService']=_0x40dfb0,this[_0xb77325(0x46e)](),this[_0xb77325(0x4d6)]();}[_0x171ee8(0x4d6)](){var _0x56daf0=_0x171ee8;const _0x3bb789=async _0x5aa725=>{var _0x4c244e=_0x5de5;(await this['_collaborationSessionService'][_0x4c244e(0x4e0)](_0x5aa725))[_0x4c244e(0x305)][_0x4c244e(0x4cf)](_0xdf7425[_0x4c244e(0x2da)](_0x1e4322=>_0x1e4322[_0x4c244e(0x498)]===_0x42a3bb['CollaborationEvent'][_0x4c244e(0x25b)]),_0xdf7425['takeUntil'](this[_0x4c244e(0x3c4)]))['subscribe'](_0x3a6ca2=>{var _0x615ba9=_0x4c244e;const _0x2beb3c=_0x3a6ca2,{reason:_0x620398}=_0x2beb3c[_0x615ba9(0x3fe)];this['_collaborationUIEventService'][_0x615ba9(0x3ff)]({'id':_0x14e9f2[_0x615ba9(0x2e3)],'data':_0x620398}),this[_0x615ba9(0x4d9)]['updatePermissionPoint'](new _0x2b8f25[(_0x615ba9(0x59c))](_0x5aa725)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5aa725);});};_0x20179e[_0x56daf0(0x560)](this[_0x56daf0(0x556)][_0x56daf0(0x456)](_0x363ba1[_0x56daf0(0x2a1)][_0x56daf0(0x3e1)]),this[_0x56daf0(0x556)][_0x56daf0(0x456)](_0x363ba1[_0x56daf0(0x2a1)]['UNIVER_DOC']))['pipe'](_0xdf7425[_0x56daf0(0x4c1)](_0x4612aa=>_0x4612aa[_0x56daf0(0x2ac)]()),_0xdf7425[_0x56daf0(0x2da)](_0x141644=>!_0x363ba1[_0x56daf0(0x4b0)](_0x141644)),_0xdf7425[_0x56daf0(0x251)](this[_0x56daf0(0x3c4)]))[_0x56daf0(0x278)](_0x59f9a0=>{_0x3bb789(_0x59f9a0);});}[_0x171ee8(0x46e)](){var _0x5aaf2c=_0x171ee8;const _0x1dbad8=async _0x4148ab=>{var _0x532534=_0x5de5;const _0x16cd85=await this['_collaborationSessionService'][_0x532534(0x4e0)](_0x4148ab),_0x4376f4=this['_injector']['get'](_0x2b8f25['SheetPermissionInitController']);_0x16cd85[_0x532534(0x305)]['pipe'](_0xdf7425['filter'](_0x2c240b=>_0x2c240b['eventID']===_0x42a3bb[_0x532534(0x335)]['UPDATE_PERMISSION_OBJ']),_0xdf7425[_0x532534(0x251)](this[_0x532534(0x3c4)]))[_0x532534(0x278)](_0x285616=>{var _0x4fa976=_0x532534;const _0x46847b=_0x285616,{objectId:_0x1d3f1b}=_0x46847b['data'];_0x1d3f1b===_0x4148ab?_0x4376f4[_0x4fa976(0x4a8)](_0x4148ab):_0x4376f4['refreshPermission'](_0x4148ab,_0x1d3f1b);});};_0x20179e[_0x5aaf2c(0x560)](this[_0x5aaf2c(0x556)][_0x5aaf2c(0x456)](_0x363ba1[_0x5aaf2c(0x2a1)][_0x5aaf2c(0x3e1)]))[_0x5aaf2c(0x4cf)](_0xdf7425[_0x5aaf2c(0x4c1)](_0x531b59=>_0x531b59[_0x5aaf2c(0x2ac)]()),_0xdf7425[_0x5aaf2c(0x2da)](_0x42dd0a=>!_0x363ba1['isInternalEditorID'](_0x42dd0a)),_0xdf7425[_0x5aaf2c(0x251)](this[_0x5aaf2c(0x3c4)]))[_0x5aaf2c(0x278)](_0x54ab5d=>{_0x1dbad8(_0x54ab5d);});}};_0x412d84=_0x2b243a([_0x1e35e1(0x0,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x467)])),_0x1e35e1(0x1,_0x363ba1['IUniverInstanceService']),_0x1e35e1(0x2,_0x363ba1[_0x171ee8(0x56a)]),_0x1e35e1(0x3,_0x363ba1[_0x171ee8(0x235)](_0x8c8aef['CollaborationSessionService'])),_0x1e35e1(0x4,_0x363ba1['Inject'](_0x280f51))],_0x412d84);var _0x561f34=Object[_0x171ee8(0x4a4)],_0x450ef3=(_0x3ecda4,_0x21b61b,_0x7d19ec,_0x5b5f27)=>{var _0x516918=_0x171ee8;for(var _0x33de63=_0x5b5f27>0x1?void 0x0:_0x5b5f27?_0x561f34(_0x21b61b,_0x7d19ec):_0x21b61b,_0x44fc5b=_0x3ecda4[_0x516918(0x56b)]-0x1,_0x2612ed;_0x44fc5b>=0x0;_0x44fc5b--)(_0x2612ed=_0x3ecda4[_0x44fc5b])&&(_0x33de63=_0x2612ed(_0x33de63)||_0x33de63);return _0x33de63;},_0x311b90=(_0x39d65c,_0x56ba13)=>(_0xffd03b,_0x5dd84a)=>_0x56ba13(_0xffd03b,_0x5dd84a,_0x39d65c);_0x8c8aef[_0x171ee8(0x38c)]=class{constructor(_0xfb1c8c,_0x2aa4c8){var _0x42b3fc=_0x171ee8;this[_0x42b3fc(0x49f)]=_0xfb1c8c,this[_0x42b3fc(0x459)]=_0x2aa4c8;}async[_0x171ee8(0x4fe)](_0xeecfe4,_0x2c8061){var _0xddc5ce=_0x171ee8,_0x1e9ad5;const {unitID:_0x4e421a,type:_0x5005f4,revision:_0x40446e=0x0}=_0x2c8061,_0x2a7e99=this['getSnapshotAPIPath']()+'/'+_0x5005f4+'/unit/'+_0x4e421a+_0xddc5ce(0x25d)+_0x40446e,_0x112abd=(await this[_0xddc5ce(0x459)][_0xddc5ce(0x374)](_0x2a7e99))[_0xddc5ce(0x479)],_0x3ce8d3=(_0x1e9ad5=_0x112abd['snapshot'])==null?void 0x0:_0x1e9ad5[_0xddc5ce(0x326)];if(_0x3ce8d3){const _0x330537=_0x3ce8d3==null?void 0x0:_0x3ce8d3[_0xddc5ce(0x2cb)],_0xc30893=_0x42a3bb['textEncoder'][_0xddc5ce(0x1eb)](_0x42a3bb[_0xddc5ce(0x46c)](_0x330537));_0x3ce8d3[_0xddc5ce(0x2cb)]=_0xc30893,Object['entries'](_0x3ce8d3['sheets'])[_0xddc5ce(0x3ef)](([,_0x2eebdf])=>{var _0x101cc9=_0xddc5ce;const _0x21ff39=_0x2eebdf[_0x101cc9(0x2cb)],_0x259a19=_0x42a3bb[_0x101cc9(0x3c8)][_0x101cc9(0x1eb)](_0x42a3bb[_0x101cc9(0x46c)](_0x21ff39));_0x2eebdf[_0x101cc9(0x2cb)]=_0x259a19;});}return _0x112abd;}async[_0x171ee8(0x1e7)](_0x4e8211,_0x378c94){var _0x65e01b=_0x171ee8;const {unitID:_0x3ffed6,type:_0xf06e5c,blockID:_0x13421d}=_0x378c94,_0x14b1d6=this[_0x65e01b(0x55b)]()+'/'+_0xf06e5c+_0x65e01b(0x230)+_0x3ffed6+'/block/'+_0x13421d;return(await this[_0x65e01b(0x459)][_0x65e01b(0x374)](_0x14b1d6))[_0x65e01b(0x479)];}async[_0x171ee8(0x2d8)](_0x1f156d,_0x2fd6d1){var _0x48de38=_0x171ee8;const {unitID:_0x3983d9,type:_0x1ca093,blockID:_0x262423}=_0x2fd6d1,_0x2a25c2=this[_0x48de38(0x55b)]()+_0x48de38(0x4f8)+_0x1ca093+_0x48de38(0x230)+_0x3983d9+'/block/'+_0x262423;return(await this[_0x48de38(0x459)]['get'](_0x2a25c2))[_0x48de38(0x479)];}async[_0x171ee8(0x2a2)](_0xa9b318,_0x3414c7){var _0x5c852d=_0x171ee8;const {unitID:_0x1ca0e9,type:_0x2d39f8,from:_0x510978,to:_0x5366ea}=_0x3414c7,_0x547796=this[_0x5c852d(0x55b)]()+'/'+_0x2d39f8+'/unit/'+_0x1ca0e9+_0x5c852d(0x2e2)+_0x510978+'&to='+_0x5366ea;return(await this[_0x5c852d(0x459)]['get'](_0x547796))['body'];}['getSnapshotAPIPath'](){var _0x2f2bf7=_0x171ee8,_0x11c8b0;return(_0x11c8b0=this[_0x2f2bf7(0x49f)][_0x2f2bf7(0x217)](_0x3158d7))!=null?_0x11c8b0:this[_0x2f2bf7(0x55b)]();}[_0x171ee8(0x55b)](){var _0x9ce92=_0x171ee8,_0x386fa5;const _0x35e614=this[_0x9ce92(0x49f)][_0x9ce92(0x217)](_0x55ab41);return(_0x386fa5=_0x35e614==null?void 0x0:_0x35e614['snapshotServerUrl'])!=null?_0x386fa5:_0x3c19da;}async['getResourcesRequest'](_0x2cbf1a,_0x5680c3){var _0x845c81=_0x171ee8;const _0x200957=_0x845c81(0x31c)+_0x5680c3[_0x845c81(0x2ab)]+_0x845c81(0x230)+_0x5680c3['unitID']+'/resources';return(await this[_0x845c81(0x459)][_0x845c81(0x374)](_0x200957,{'params':{'resourceId':JSON[_0x845c81(0x234)](_0x5680c3[_0x845c81(0x535)])}}))[_0x845c81(0x479)];}[_0x171ee8(0x40e)](){var _0x99bbdf=_0x171ee8;throw new Error(_0x99bbdf(0x229));}[_0x171ee8(0x29b)](){var _0x12703a=_0x171ee8;throw new Error(_0x12703a(0x229));}[_0x171ee8(0x322)](){var _0x24560b=_0x171ee8;throw new Error(_0x24560b(0x229));}['saveChangeset'](){var _0x5c55b8=_0x171ee8;throw new Error(_0x5c55b8(0x229));}[_0x171ee8(0x29c)](){var _0x398d83=_0x171ee8;throw new Error(_0x398d83(0x229));}['getLatestCsReqIdBySid'](){var _0x33eb4e=_0x171ee8;throw new Error(_0x33eb4e(0x229));}},_0x8c8aef['SnapshotServerOverHTTPService']=_0x450ef3([_0x311b90(0x0,_0x363ba1[_0x171ee8(0x429)]),_0x311b90(0x1,_0x363ba1[_0x171ee8(0x235)](_0x29ce40[_0x171ee8(0x236)]))],_0x8c8aef[_0x171ee8(0x38c)]);var _0x283f04=Object[_0x171ee8(0x4a4)],_0x433ac1=(_0x321ac9,_0x143640,_0x39d64e,_0x5eb694)=>{var _0x11d007=_0x171ee8;for(var _0x5075df=_0x5eb694>0x1?void 0x0:_0x5eb694?_0x283f04(_0x143640,_0x39d64e):_0x143640,_0x4bc752=_0x321ac9[_0x11d007(0x56b)]-0x1,_0x39dcd8;_0x4bc752>=0x0;_0x4bc752--)(_0x39dcd8=_0x321ac9[_0x4bc752])&&(_0x5075df=_0x39dcd8(_0x5075df)||_0x5075df);return _0x5075df;},_0x173295=(_0x159b7c,_0x52572f)=>(_0x276723,_0x15fa3c)=>_0x52572f(_0x276723,_0x15fa3c,_0x159b7c);_0x8c8aef[_0x171ee8(0x3c9)]=class extends _0x363ba1[_0x171ee8(0x24f)]{constructor(_0x52b3b1,_0x8901d8,_0x5c594e,_0x406f12,_0x56396d){var _0xb826ff=_0x171ee8;super(_0x52b3b1,_0x8901d8,_0x5c594e),this[_0xb826ff(0x42d)]=_0x406f12,this['_logService']=_0x56396d;}[_0x171ee8(0x40a)](_0x3e81d5,_0x5f0d80){var _0x5d26ec=_0x171ee8;const _0x5d7015=this['_getUndoStack'](_0x3e81d5);if(_0x5d7015)try{const _0x169fd0=this[_0x5d26ec(0x585)](_0x5d7015,_0x5f0d80);this[_0x5d26ec(0x282)](_0x3e81d5,_0x169fd0);}catch(_0x2c1334){this['_logService'][_0x5d26ec(0x49a)](_0x5d26ec(0x20b),_0x2c1334),this['_clearUndo'](_0x3e81d5);}const _0x40438b=this['_getRedoStack'](_0x3e81d5);if(_0x40438b)try{const _0x3d47a1=this['_transformStack'](_0x40438b,_0x5f0d80);this[_0x5d26ec(0x329)](_0x3e81d5,_0x3d47a1);}catch(_0x13bf6b){this[_0x5d26ec(0x4b9)][_0x5d26ec(0x49a)](_0x13bf6b),this['_clearRedo'](_0x3e81d5);}}['_clearUndo'](_0x43c896){var _0x55a0e3=_0x171ee8;const _0xb18b12=this['_getUndoStack'](_0x43c896);_0xb18b12&&(_0xb18b12[_0x55a0e3(0x56b)]=0x0,this[_0x55a0e3(0x521)]());}[_0x171ee8(0x44b)](_0x2f37cd){var _0x3dfbd4=_0x171ee8;const _0x3f85f9=this[_0x3dfbd4(0x2df)](_0x2f37cd);_0x3f85f9&&(_0x3f85f9[_0x3dfbd4(0x56b)]=0x0,this['_updateStatus']());}[_0x171ee8(0x282)](_0x1024d0,_0x25e756){var _0x19c3ed=_0x171ee8;this[_0x19c3ed(0x2e0)]['set'](_0x1024d0,_0x25e756),this[_0x19c3ed(0x521)]();}[_0x171ee8(0x329)](_0x43da2d,_0x53a0b9){var _0x4439e3=_0x171ee8;this['_redoStacks'][_0x4439e3(0x3db)](_0x43da2d,_0x53a0b9),this['_updateStatus']();}[_0x171ee8(0x585)](_0x482a9e,_0x485e45){var _0x32e3cc=_0x171ee8;const _0x30e227=[];let _0x597b4f=_0x485e45,_0x4387a4=_0x485e45;for(let _0x7143e9=_0x482a9e['length']-0x1;_0x7143e9>=0x0;_0x7143e9--){const {unitID:_0xec84ac,undoMutations:_0x4b06bc,redoMutations:_0x284ed2}=_0x482a9e[_0x7143e9],_0x3c4bd2=this['_transformService'][_0x32e3cc(0x59a)](_0x597b4f,_0x4b06bc),_0x24145a=this['_transformService'][_0x32e3cc(0x59a)](_0x4387a4,_0x284ed2);if(_0x42a3bb[_0x32e3cc(0x206)](_0x3c4bd2)||_0x42a3bb['isTransformMutationsWithChangesetFailure'](_0x24145a)){this[_0x32e3cc(0x4b9)][_0x32e3cc(0x49a)](_0x32e3cc(0x20b),_0x32e3cc(0x57e),_0x3c4bd2,_0x24145a);break;}_0x597b4f=_0x3c4bd2[_0x32e3cc(0x306)],_0x4387a4=_0x24145a[_0x32e3cc(0x306)],_0x30e227['push']({'unitID':_0xec84ac,'undoMutations':_0x3c4bd2['m2Prime'],'redoMutations':_0x24145a[_0x32e3cc(0x3dc)]});}return _0x30e227[_0x32e3cc(0x366)]();}},_0x8c8aef[_0x171ee8(0x3c9)]=_0x433ac1([_0x173295(0x0,_0x363ba1[_0x171ee8(0x34a)]),_0x173295(0x1,_0x363ba1['ICommandService']),_0x173295(0x2,_0x363ba1['IContextService']),_0x173295(0x3,_0x42a3bb[_0x171ee8(0x4f6)]),_0x173295(0x4,_0x363ba1[_0x171ee8(0x295)])],_0x8c8aef['CollaborativeUndoRedoService']);var _0x40e222=Object[_0x171ee8(0x233)],_0x5589a2=Object[_0x171ee8(0x4a4)],_0x239325=(_0x4ce4d1,_0x3a9e0b,_0x4fdb10)=>_0x3a9e0b in _0x4ce4d1?_0x40e222(_0x4ce4d1,_0x3a9e0b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fdb10}):_0x4ce4d1[_0x3a9e0b]=_0x4fdb10,_0x3c2a92=(_0x1de45c,_0x45b06a,_0x5abed4,_0x3472c2)=>{var _0x27e4d5=_0x171ee8;for(var _0x26e1d8=_0x3472c2>0x1?void 0x0:_0x3472c2?_0x5589a2(_0x45b06a,_0x5abed4):_0x45b06a,_0xb04d31=_0x1de45c[_0x27e4d5(0x56b)]-0x1,_0x555e37;_0xb04d31>=0x0;_0xb04d31--)(_0x555e37=_0x1de45c[_0xb04d31])&&(_0x26e1d8=_0x555e37(_0x26e1d8)||_0x26e1d8);return _0x26e1d8;},_0x3083e1=(_0x516564,_0x180254)=>(_0x4ca662,_0x564caa)=>_0x180254(_0x4ca662,_0x564caa,_0x516564),_0x94b8f=(_0x4b0853,_0x245c69,_0x35c96f)=>_0x239325(_0x4b0853,_0x245c69+'',_0x35c96f);const _0x21e760=_0x171ee8(0x4ee);_0x8c8aef[_0x171ee8(0x4ec)]=class extends _0x363ba1[_0x171ee8(0x1f2)]{constructor(_0x27c94b,_0x29663b,_0x4cb1c6,_0x1cbe17){var _0x307343=_0x171ee8;super(),_0x4d38ee(this,_0x307343(0x486)),(this[_0x307343(0x4b9)]=_0x29663b,this[_0x307343(0x2cd)]=_0x4cb1c6,this[_0x307343(0x49f)]=_0x1cbe17);const {..._0x5031d8}=_0x363ba1[_0x307343(0x560)]({},_0x1ec464,_0x27c94b);if(!_0x5031d8[_0x307343(0x58f)])throw new Error(_0x307343(0x1e2));this[_0x307343(0x486)]=_0x5031d8,this[_0x307343(0x49f)][_0x307343(0x539)](_0x55ab41,_0x5031d8);}[_0x171ee8(0x345)](){var _0x1c1ac8=_0x171ee8;this[_0x1c1ac8(0x288)](),this[_0x1c1ac8(0x528)]();}[_0x171ee8(0x288)](){var _0x4b801c=_0x171ee8,_0x5dc74b,_0x57ee21;this[_0x4b801c(0x2cd)][_0x4b801c(0x215)](_0x363ba1[_0x4b801c(0x259)])&&this[_0x4b801c(0x4b9)][_0x4b801c(0x49a)](_0x4b801c(0x4d7),_0x4b801c(0x216));const _0x2f2df2=_0x363ba1['mergeOverrideWithDependencies']([[_0x363ba1[_0x4b801c(0x259)],{'useClass':_0x8c8aef[_0x4b801c(0x3c9)]}],[_0x8c8aef['CollaborationSessionService']],[_0x8c8aef[_0x4b801c(0x392)]],[_0x8c8aef[_0x4b801c(0x22f)]],[_0x4d5e89],[_0x2f893b],[_0x248fdf],[_0x412d84],[_0x280f51],[_0x8c8aef[_0x4b801c(0x317)]],[_0x3e98b2,{'useClass':this['_config'][_0x4b801c(0x58f)]}],[_0x42a3bb[_0x4b801c(0x201)],{'useClass':_0x8c8aef[_0x4b801c(0x38c)]}],[_0x363ba1[_0x4b801c(0x591)],{'useClass':_0x8c8aef['AuthzIoHttpService']}],[_0x5c9676[_0x4b801c(0x1ef)],{'useClass':_0x8c8aef[_0x4b801c(0x570)]}],[_0x363ba1['IMentionIOService'],{'useClass':_0x8c8aef['MentionIoHttpService']}],[_0x8c8aef[_0x4b801c(0x355)]],[_0x41fa94]],(_0x5dc74b=this[_0x4b801c(0x486)])==null?void 0x0:_0x5dc74b[_0x4b801c(0x483)]);if(!((_0x57ee21=this['_config'])!=null&&_0x57ee21[_0x4b801c(0x36b)])){const _0x2dce9c=_0x2f2df2[_0x4b801c(0x27a)](([_0x39d6ba])=>_0x39d6ba===_0x479ef7);_0x2dce9c!==-0x1&&_0x2f2df2[_0x4b801c(0x48b)](_0x2dce9c,0x1);}_0x363ba1[_0x4b801c(0x24e)](this[_0x4b801c(0x2cd)],_0x2f2df2);}[_0x171ee8(0x528)](){var _0x257ca0=_0x171ee8,_0x22e4ff,_0x462974,_0x16f256;this['_injector'][_0x257ca0(0x374)](_0x29ce40[_0x257ca0(0x236)])[_0x257ca0(0x34d)]({'priority':0x14,'interceptor':_0x29ce40[_0x257ca0(0x485)]({'maxParallel':0x6})}),(_0x22e4ff=this[_0x257ca0(0x486)])!=null&&_0x22e4ff['enableOfflineEditing']||(_0x462974=this[_0x257ca0(0x2cd)][_0x257ca0(0x374)](_0x2161a0,_0x363ba1['Quantity']['OPTIONAL']))==null||_0x462974['disableLocalCache'](),(_0x16f256=this[_0x257ca0(0x486)])!=null&&_0x16f256[_0x257ca0(0x4ba)]&&_0x363ba1[_0x257ca0(0x37d)](this['_injector'],[[_0x4d5e89]]),_0x363ba1[_0x257ca0(0x37d)](this[_0x257ca0(0x2cd)],[[_0x2f893b],[_0x8c8aef['CollaborationController']],[_0x412d84]]);}},_0x94b8f(_0x8c8aef[_0x171ee8(0x4ec)],_0x171ee8(0x348),_0x21e760),_0x8c8aef['UniverCollaborationClientPlugin']=_0x3c2a92([_0x363ba1['DependentOn'](_0x2dfe69[_0x171ee8(0x508)],_0x42a3bb[_0x171ee8(0x2dd)],_0x29ce40[_0x171ee8(0x3b5)]),_0x3083e1(0x1,_0x363ba1[_0x171ee8(0x295)]),_0x3083e1(0x2,_0x363ba1[_0x171ee8(0x235)](_0x363ba1[_0x171ee8(0x467)])),_0x3083e1(0x3,_0x363ba1[_0x171ee8(0x429)])],_0x8c8aef[_0x171ee8(0x4ec)]),_0x8c8aef[_0x171ee8(0x2ec)]=_0x55ab41,_0x8c8aef['CollaborationStatus']=_0x48a677,_0x8c8aef[_0x171ee8(0x2aa)]=_0x14e9f2,_0x8c8aef[_0x171ee8(0x4b3)]=_0x280f51,_0x8c8aef[_0x171ee8(0x404)]=_0x248fdf,_0x8c8aef[_0x171ee8(0x47a)]=_0x5f2be9,_0x8c8aef['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x9d8416,_0x8c8aef[_0x171ee8(0x3af)]=_0x2c60a6,_0x8c8aef[_0x171ee8(0x3b8)]=_0x393504,_0x8c8aef[_0x171ee8(0x394)]=_0x2393ea,_0x8c8aef[_0x171ee8(0x4a6)]=_0x3e98b2,_0x8c8aef[_0x171ee8(0x4a7)]=_0x2161a0,_0x8c8aef[_0x171ee8(0x495)]=_0x55a4a4,_0x8c8aef[_0x171ee8(0x29d)]=_0x479ef7,_0x8c8aef[_0x171ee8(0x497)]=0x3e8,_0x8c8aef[_0x171ee8(0x1ec)]=_0x158e13,_0x8c8aef[_0x171ee8(0x372)]=_0x55d765,_0x8c8aef[_0x171ee8(0x26c)]=_0x986301,_0x8c8aef['SessionStatus']=_0x513956,_0x8c8aef[_0x171ee8(0x32d)]=_0x51824b,_0x8c8aef[_0x171ee8(0x2de)]=_0x26c398,_0x8c8aef[_0x171ee8(0x212)]=_0x2b3633,_0x8c8aef[_0x171ee8(0x344)]=_0x36f3d5,Object[_0x171ee8(0x233)](_0x8c8aef,Symbol[_0x171ee8(0x58c)],{'value':_0x171ee8(0x566)});}));function _0x2706(){var _0x38f50a=['ENTITLE_COUPON_EXPIRED','ThresholdInterceptorFactory','_config','_joinRoom','values','online$','_showConflictNotification','splice','UserProfileImg','_lockTransition','ISocketService','ImageSourceType','debug','_sendHeartbeat','ReplaySubject','pad','SyncedState','INetworkConditionService','_networkConditionService','LOCAL_CACHE_INTERVAL','eventID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','error','AUTHORIZE_CODE_ILLEGAL','USER_NOT_FOUND','image/gif','status','_configService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','111290GbXmVu','@univerjs/docs','createInstance','getOwnPropertyDescriptor','fetchThroughInterceptors','ICollaborationSocketService','ILocalCacheService','initWorkbookPermissionChange','_transformStateCache','_clearRetryConnectingTimer','liveShareNewHost','awaiting','USERS_LEAVE','/universer-api/oidc/authpage','_reverseMap','isInternalEditorID','_HTTPService','_onFetchMissResult','CollaborationUIEventService','_toggleOnline','salt','SYNCED','/object/','commentUpdateEvent','_logService','enableAuthServer','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','saveImage','hostname','sid','reconnect','UNDEFINED','map','APPLY_REVISION_CONFILICT','createIdentifier','size','onTransformState','PERMISSION_REJ','resend','awaiting_with_pending','_iKey','UniverProCollaborationClient','535310yoZUyv','@univerjs/core','_clearCollaborationTimeoutTimer','commentUpdate$','pipe','Hasher','_collaborationSessionService','_transformRemoteChangesetByIMECache','Subject','floor','_state$','_initCloseConn','[UniverCollaborationClientPlugin]','Latin1','_permissionService','ws://127.0.0.1:8000/universer-api/comb/connect','baseRev','CBC','sessionStatus','_replayCachedMutations','UNIVER_UNKNOWN','requireSession','DEFAULT_FILE_NAME','_startCollaboration','joinEvent','parseProtocolChangeset','ENSURE_SNAPSHOT_EXECUTION','_updateLocalCache','_unlockTransition','format','PSEUDO_FETCH_MISSING_RESULT','_stopTelemetryCollaborationNewChangeset','setCurrentUser','UniverCollaborationClientPlugin','CHANGESET_REJ','UNIVER_COLLABORATION_CLIENT_PLUGIN','NEW_CHANGESETS','_onLocalMutation','reset','MSG_FOR_ERROR','POST','JOIN_ROOM_NOT_EXISTS','_clearScheduledTask','ITransformService','UNAUTHENTICATED','/block/','words','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_createSocket','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','ceil','getUnitOnRev','COMPRESS_MUTATION_APPLY','Cipher','LICENSE_MAX_UNITS_EXCEEDED','routeKey','createSocket','univer-pro.collaboration-client.single-active-unit-service','_userManagerService','SnapshotService','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverLicensePlugin','add','ENTITLE_CHAT_LIMIT_EXCEED','transformSelections','crypto','params','_incrementRevisionNumber','execute','_onUserLeave','CommandType','confirm','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CollaborationSession','/universer-api/file/{fileID}/sign-url','loadUnitOfRevision','socket\x20close','join','isPermissionRej','ICommandService','_initRequestHeader','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/role','_onCombEvent','find','responseType','_updateStatus','resolveWithBasePath','__Key__','onStateChange','\x20to\x20','BlockCipher','collaboratorID','_initDependencies','UnitEmbedded','RevisionService','getGlobalObject','function','LOGIN_FAILED','_undoRedoService','_invKeySchedule','headers','shouldCloseConn','171788FjSKuq','_xformMode','BASE64','resourceIDs','YUUMI_ASYNCIO_CANCELLED','onMissedChangesetFetched','_candidateSocket','setConfig','ciphertext','/universer-api/stream/file/upload','amd','_maxTotalRetryTimeout','_status$','[CollaborationEntity]','7722274ANehWJ','JOIN_ROOM_PERMISSION_DENIED','PERMISSION_DENIED','revision','_mode','title','_getSendChangesetTimeout','_iv','_ENC_XFORM_MODE','/allowed','onRemoteChangeset','&assign=','_singleActiveUnitService','ENTITLE_REPORT_LIMIT_EXCEED','session.room-full','AuthzIoHttpService','[PendingState]:\x20received\x20rejection.','BehaviorSubject','@univerjs/network','toggleOnline','executeCommand','_roomMembers','_univerInstanceService','_collaborationUIEventService','sendChangesetTimeout','INVITE_CODE_REQUIRED','clear','_getAPIPrefix','2134pBPOmC','\x20-\x20','unitInfo$','_change$','merge','listCollaborators','roomInfos','SHA1','failed\x20to\x20apply\x20missed\x20changesets!','close','Module','_createHelper','AwaitingWithPendingState','authzUrl','IPermissionService','length','withCredentials','formatter','JOINING','random','CollaborationImageIoService','_resendTimer','AES','_toggleOffline','capture','concatMap','/universer-api/uniscript','YUUMI_URL_COL_OUT_OF_RANGE','_startTelemetryCollaborationNewChangeset','UniverSheets','UNIVER_DOC','YUUMI_AI_RUN_FAILED','_compressMutationService','result','transformStack\x20failed!','requestParams','objectType','PAYMENT_CHANNEL_NOT_SUPPORT','_socketService','enableCollaboration','LocaleService','_transformStack','finalize','_transformUndoredo','ENTITLE_NEED_BILLING_ADDRESS','COMPRESS_MUTATION_SEND','MentionType','UNRECOGNIZED','toStringTag','Utf8','_type','socketService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','IAuthzIoService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_socket$','byteOffset','_unitID','MOBILE_HAS_BEEN_BOUND','mixIn','href','onRemoteAck','transformMutationsWithChangeset','createDecryptor','WorkbookEditablePermission','_decreaseWaiting','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getTime','/universer-api/snapshot','offline','_collaborationTimeoutTimer','getSheetBlock','location','_snapshotService','unitId','encode','LOCAL_CACHE_INTERVAL_KEY','now','/object','IImageIoService','change$','WordArray','Plugin','updateMember','_onOffline','buffer','LICENSE_IMPORT_SIZE_EXCEEDED','_memberService','_sessionStatus$','ConflictState','_nDataBytes','hasher','onSyncEditingCollabCursor','[CollaborationSessionService]:\x20socket\x20error','firstValueFrom','YUUMI_NO_CUBOID_FOR_QUESTION','_throwTelemetryCollaborationNewChangeset','ISnapshotServerService','USER_NOT_INVITED_CODE','?url=','cmd','OFFLINE','isTransformMutationsWithChangesetFailure','_DEC_XFORM_MODE','YUUMI_ALL_TABLES_IS_INVALID','getRoom','socket$','[CollaborationUndoRedoService]','getUnitStatus$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CHANGESET_SHOULD_RETRY','_listenToNetworkCondition','save\x20fail\x20reason\x20is\x20','_prevBlock','getLocalCacheKey','_revisionService','_keySchedule','has','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getConfig','every','kdf','pending','UniverTelemetry','_getAPIPrefixPath','_initMergeInterceptor','UUID','LIVESHARE_FETCH_OPERATIONS','MOBILE_VERIFY_CODE_MISMATCH','connection\x20error','rev','INVALID_ARGUMENT','permissionRejEvent','readInt32LE','APPLY_REJECT','ClipsheetFragments','ENTITLE_CAN_NOT_BUY_LOWER_OTP','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','addHandlerCallback','REDEMPTION_INVALID_CODE','REDEMPTION_CODE_INACTIVE','_changesetReqId','MentionIoHttpService','SheetTransformSelectionsService','/unit/','_hasher','getUnitType','defineProperty','stringify','Inject','HTTPService','onLocalMutation','_doFinalize','unsubscribe','UnitSnapshot','_doCreateSocket','startsWith','take','_instanceService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','duration','image/png','USERS_ENTER','putCollaborators','_getLoginPath','send','_onRemoteRetry','awaitingChangeset','_pendingMutations','memberID','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LIVESHARE_NEW_HOST','UNKNOWN_CMD','dispose','registerDependencies','LocalUndoRedoService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','takeUntil','rxjs/operators','Error\x20on\x20receiving\x20event','__esModule','GLOBAL_ROOMS_CNT_EXCEEDS','reduce','unpad','byteLength','IUndoRedoService','reqId','SHOULD_CLOSE_CONN','SUBMIT_CHANGESET','/rev/','Optional','_replaceFileID','decrypt','close$','localCacheService','CipherParams','HmacSHA1','__creator','REDEMPTION_CODE_HAS_BEEN_CREATED','operators','_telemetryInfo','uuidv4','unknown','_process','RETRY_CONNECTING_MAX_COUNT_KEY','&source=','parse','_waitCount','unitID','CollaborationSocketService','_emitMembers','_sendHeartbeatTimer','onTransformIME','_key','file','clone','subscribe','SetSelectionsOperation','findIndex','updateCollaborator','_waitForHeartbeatResponse','_createInitialStateImpl','OfflineState','_retryCount','COMPLETION_FINISHED','ENTITLE_DUP_SUBSCRIPTION','_substituteUndoStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LEAVE','INGEST','updateOfflineData','catch','_registerDependencies','fromCollab','enc','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','min','EmptyMutationInfo','_remoteChangesetQueue','12294oeMUjS','{fileID}','incrementRevOfUnit','4559728rqToHy','EvpKDF','getActiveSheet','ILogService','append','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getValue','TOO_MANY_REQUESTS','CONNECTOR_DATA_TOO_LARGE','updateSnapshot','copyFileMeta','ISingleActiveUnitService','state$','_onUserJoin','_createHandler','UniverInstanceType','fetchMissingChangesets','_telemetryService','getSheetId','keySize','HTTPRequest','UPDATE_CURSOR','onRemoteRetry','RECV','CollaborationUIEventId','type','getUnitId','_getDownloadEndpointURL','post','auth.needGotoLoginAlert','max','complete','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SUBMIT_CHANGESET_TIMEOUT','resolve','decryptBlock','delay','_updateState','transformChangesets','_getCtorByUniverType','includes','deleteCollaborator','waitForRoom$','CONFLICT','_doCryptBlock','error$','getFocusedUnit','_socket','CHANGESET_REVISION_CONFILICT','selections','delete','clamp','ivSize','cfg','uniscriptRunEvent','_socketReady','randomBytes','originalMeta','SNAPSHOT_URL_KEY','_injector','_onRemoteRejected','loadOfflineData','_onRecvEvent','CollaborationSessionService','mutations','list','_transformSelections','PendingState','_sendingTimer','setShowComponents','getDeserializedSheetBlock','2592JdTtob','filter','[OfflineState]:\x20received\x20rejection.','init','UniverCollaborationPlugin','deserializeToCombResponse','_getRedoStack','_undoStacks','closeSession','/fetchmissing?from=','CLOSE_ROOM','fromCharCode','DATA_SOURCE_TOO_LARGE','univer-pro.collaboration-client-socket-service','_localCacheService','onMissingChangesets','[SyncedState]:\x20received\x20rejection.','readAsDataURL','createEncryptor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','[OfflineState]:\x20received\x20changeset.','src','_transformIMECache','c2Prime','COMMENT_UPDATE','reject','session','INVITE_CODE_ALREADY_BOUND','HttpExport','INVALID_INVITE_CODE','CHANGESET_ACK','toString','onlyLocal','UniverNetwork','update','allowed','then','_clearLocalCache','_socketMessageSubscription','subUnitId','exports','name','PY_RUNTIME_SCRIPT_ERROR','SNAPSHOT_INVALID_SNAPSHOT','event$','c1Prime','/-/object/list','_commandService','Rectangle','ERROR_EXCEED_SIZE','AWAITING','MD5','_queuedRemoteChangesets','collaboration_new_changeset','UNISCRIPT_RUN','onTransformRemoteChangesetByStateCache','subject','JOIN','CURRENT_STATUS_CANNOT_OPERATE','ALREADY_EXISTS','collaboration-client.config','encrypt','DataLoaderService','SNAPSHOT_HAS_BEEN_REMOVED','_tryEnsureSocket','HMAC','action','/universer-api/snapshot/','JOIN_ROOM_FULL','Pkcs7','SheetCollaborationEntity','REDEMPTION_USER_NOT_ELIGIBLE','next','saveSheetBlock','repeat','_eventService','NO_OTHER_CLIENTS_EDITING','workbook','_createInitialState','Base64','_substituteRedoStack','toggleOffline','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_roomCreated$','UnitStatus','getMember','_removeRoom','getInterceptPoints','_init','target','getAllMembers','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CollaborationEvent','url','APPLY_DUPLICATED','put','_onConnectionFailed','onSendChangeset','_executeRemoteChangeset','getWorkbookSelections','apply','status$','loadUnit','INTERNAL_ERROR','EMAIL_HAS_BEEN_BOUND','parseChangesetToProtocol','JSONX','serializeCombRequest','onStarting','_append','UniverCore','pluginName','/collaborator','IUniverInstanceService','APPLY_PERMISSION_DENIED','WECHAT_HAS_BEEN_BOUND','registerHTTPInterceptor','changesets','replace','session.room-cnt-exceeds','sessionStatus$','_sessions','stopTime','HEARTBEAT','CollaborationController','FETCH_MISS','collaborators','origin','_sender','678LbmePB','from','/universer-api/comb','infoRsp','SheetsSelectionsService','_checkMissing','[PendingState]:\x20received\x20acknowledgement.','onMutationExecutedForCollab','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ImageUploadStatusType','signUrlServerUrl','range','reverse','[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.','toDisposable','create','ENTITLE_USE_COUPON_NOT_1ST_TRADE','enableSingleActiveInstanceLock','avatar','image/bmp','localeService','FileId','_timeoutTimer','removeMember','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_schedule','get','_commentService','_members$','PENDING','getCollabEntity$','csRejEvent','\x0aCurrent:\x20','_hash','listRoles','touchDependencies','22380fKzmvT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getUploadFileURL','equals','default','session.room-permission-denied','ERROR_AGAIN','_syncEditingCollabCursor','@univerjs-pro/collaboration','appendMutation','[CollaborationState]:\x20apply\x20error!','_minBufferSize','ENTITLE_INSUFFICIENT_QUOTA','_transitionLocked','SnapshotServerOverHTTPService','USER_IS_ANONYMOUS','_map','RichTextEditingMutation','$super','OTHER_CLIENTS_EDITING','MemberService','FETCH_MISSING','HEARTBEAT_TIMEOUT_KEY','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','YUUMI_RATE_OVER_LIMIT','collaMsg','_handler','/-/object/-/batch_allowed','ITelemetryService','submit\x20changeset\x20error!','asObservable','_submitChangeset','slice','PERSON','YUUMI_UNABLE_LOAD_URL','HEARTBEAT_INTERVAL','_entityInit$','members$','session.room-not-exists','getCurrentSelections','LIVESHARE_REQUEST_HOST','SerializableCipher','_onMessage','APPLY_NON_SEQUENTIAL_REVISION','PasswordBasedCipher','?size=','FetchingMissState','getCurrentUser','charCodeAt','DEFAULT_WS_SESSION_TICKET_URL','BufferedBlockAlgorithm','_isPermissionRej','updatePermissionPoint','_shouldReportTelemetry','CompressMutationService','UniverNetworkPlugin','interceptor','_exhaustRemoteChangesetQueue','HEARTBEAT_INTERVAL_KEY','abs','Decryptor','LIVESHARE_TERMINATE','ENTITLE_INVALID_COUPON_CODE','[DataLoaderService]','_changesetSessionId','updateCursorEvent','_transformRemoteChangesetByStateCache','_doReset','session.join-failed','getCurrentRevOfUnit','dispose$','concat','deepClone','_getCurrentRevision','textEncoder','CollaborativeUndoRedoService','NoPadding','blockSize','algo','Malformed\x20UTF-8\x20data','_keyPriorReset','_tryReconnect','EMAIL_VERIFY_CODE_MISMATCH','UniverProCollaboration','_snapshotServerService','9xbavZt','csAckEvent','_applyRemoteChangeset','HELLO','message$','prototype','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','AWAITING_WITH_PENDING','set','m2Prime','[OfflineState]:\x20received\x20acknowledgement.','push','getCollabEntity','_unitInfo$','UNIVER_SHEET','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onRemoteRej','fetching\x20missing\x20changesets\x20from\x20','[CollaborationSessionService]','key','conflict','@univerjs/drawing','SOCKET_FAILED','_createHmacHelper','isTransformChangesetsSuccess','textRanges','_scheduleCompleteTimestamp','addImageSourceCache','forEach','_resendTimeout','_resendWithTimeout','REDEMPTION_CODE_NOT_STARTED','Undefined','Workbook','UNIVER_PROJECT','disposeWithMe','LICENSE_EXPORT_SIZE_EXCEEDED','_onJoinRoomEvent','code','UNKNOWN_CODE','leaveEvent','_sheetTransformSelectionsService','_members','data','emitEvent','onload','[SyncedState]:\x20received\x20acknowledgement.','shareReplay','_collabSessionService','CommentService','_data','LIVESHARE_OPERATION','Hex','createCollaborator','getMemberID','transformUndoRedo','univer-pro.collaboration-client.network-condition.service','YUUMI_SUBSCRIPTION_NOT_FOUND','string','saveSnapshot','onTransformRemoteChangesetByIMECache','extend','call','/new_changes','MergeInterceptorFactory','OpenSSL','actions','JOIN_ROOM_FAILED','UniverProLicense','Failed\x20to\x20update\x20permission\x20point','_disableEditing','_acknowledgedAwaitingChangeset','symbol','REDEMPTION_CODE_FULLY_REDEEMED','__splitChunk__','onCommentUpdate','_entities','fetch_missing','HttpImport','LICENSE_DISTRO_REJECTED','mode','joinRsp','roles','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','lib','hasOwnProperty','IConfigService','NOT_FOUND','_rescheduleHeartbeat','x-univer-host','_transformService','_retryConnectingTimer','loadSheet','_parse','OTHER_CLIENT_EDITING','_imageSourceCache','UserManagerService','_nRounds','REDEMPTION_USER_REDEEM_TIMES_EXCEED','members','_commentUpdate$','UniverDrawing','_clearHeartbeatTimer','getImageSourceCache','compute','_onConnectionOpen','onTransformSelections','UniverDocs','ERROR_IMAGE','_doProcessBlock','sequenceExecute','image/jpg','Encryptor','_scheduleCollaborationTimeoutTimer','_onRemoteACK','_state','People','RxDisposable','_onConflict','getTypeOfUnitDisposed$','_clearRedo','DisposableCollection','IDLE','loginUrlKey','state','_event$','FAIL','ONLINE','Base','_cipher','unitId\x20is\x20not\x20found','getTypeOfUnitAdded$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','rxjs','_httpService','UNIVER_SLIDE','charAt','unit-cache-','_awaitingChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','readyForCollab','Disposable','/universer-api/authz','retryConnectingInterval','_oKey','CollaborationEntity','collaboration-client.local-cache-service','isTransformMutationsWithChangesetSuccess','Injector','HEARTBEAT_TIMEOUT','ENTITLE_COUPON_USED_UP','_handlerCallback','open$','b64DecodeUnicode','_getSignURL','_initUnitPermissionChange','_clearTimeoutTimer','collabSubmitChangesetUrl','objectID','AwaitingState','MUTATION','_localeService','msCrypto','fetchMiss','synced','getUnit','body','DEFAULT_COLLAB_WEB_SOCKET_URL','sigBytes','SUCCUSS','collabWebSocketUrl','_collaborationPaused','getRandomValues','DocCollaborationEntity','isArray','updatePermissionObjEvent','override'];_0x2706=function(){return _0x38f50a;};return _0x2706();}
2
+ function _0x573a(_0x216f09,_0x5222ec){_0x216f09=_0x216f09-0x195;var _0x3d8f8c=_0x3d8f();var _0x573a26=_0x3d8f8c[_0x216f09];return _0x573a26;}function _0x3d8f(){var _0x4f2ac9=['setCurrentUser','ENTITLE_COUPON_EXPIRED','pipe','_transformIMECache','3285275wVZhBt','firstValueFrom','target','_unitID','UniverTelemetry','_onOffline','LocaleService','_substituteUndoStack','submit\x20changeset\x20error!','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onRemoteAck','COMPLETION_FINISHED','getMember','hasOwnProperty','eventID','[CollaborationEntity]','error$','originalMeta','getFocusedUnit','now','updateCollaborator','image/bmp','LICENSE_EXPORT_SIZE_EXCEEDED','event$','editing\x20status\x20changed\x20to','unsubscribe','editingUnit','pad','stringify','salt','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','m2Prime','@univerjs/telemetry','Rectangle','/universer-api/snapshot/','encode','delete','/universer-api/uniscript','Disposable','HEARTBEAT_INTERVAL','shouldCloseConn','_event$','getTypeOfUnitAdded$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','find','location','_singleActiveUnitService','[DataLoaderService]','RxDisposable','kdf','createSocket','YUUMI_RATE_OVER_LIMIT','removeMember','_transformService','auth.needGotoLoginAlert','INGEST','subject','OpenSSL','REDEMPTION_CODE_FULLY_REDEEMED','session.room-full','28452VdQqPc','reset','registerHTTPInterceptor','close','_resendTimer','_mode','session.room-permission-denied','CipherParams','ceil','crypto','SUCCUSS','_key','get','WECHAT_HAS_BEEN_BOUND','ITransformService','onlyLocal','_iv','onTransformRemoteChangesetByStateCache','saveSheetBlock','headers','_transformUndoredo','ENTITLE_NEED_BILLING_ADDRESS','onTransformState','_memberService','329SJSxPu','CONFLICT','INVITE_CODE_HAS_BEEN_UES','floor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_updateStatus','_onRemoteRetry','ALREADY_EXISTS','CollaborationStatus','SNAPSHOT_HAS_BEEN_REMOVED','_shouldReportTelemetry','forEach','loginUrlKey','DisposableCollection','complete','socket\x20close','UserProfileImg','_transformRemoteChangesetByStateCache','AuthzIoHttpService','registerDependencies','getCurrentUser','title','_transitionLocked','WorkbookEditablePermission','_emitMembers','selections','_createSocket','_onRemoteACK','startTime','CollaborationSession','_disableEditing','_entities','file','MentionIoHttpService','PERSON','onTransformRemoteChangesetByIMECache','onSendChangeset','min','not_collab','ENTITLE_CAN_NOT_BUY_LOWER_OTP','isTransformMutationsWithChangesetSuccess','_append','FetchingMissState','_transformSelections','socket$','createEncryptor','merge','batchAllowed','YUUMI_URL_COL_OUT_OF_RANGE','save\x20fail\x20reason\x20is\x20','sequenceExecute','YUUMI_ASYNCIO_CANCELLED','dispose','defineProperty','?size=','_joinRoom','INetworkConditionService','stopTime','ITelemetryService','HttpImport','online$','_sessionStatus$','EvpKDF','format','SheetsSelectionsService','WordArray','collaboration-client.config','SUBMIT_CHANGESET_TIMEOUT','@univerjs-pro/collaboration','_createInitialState','_syncEditingCollabCursor','clone','OTHER_CLIENTS_EDITING','CollaborationEvent','_sheetTransformSelectionsService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','createInstance','_HTTPService','_state$','UNDEFINED','_lockTransition','join','MergeInterceptorFactory','push','AWAITING_WITH_PENDING','authzUrl','emitEvent','awaiting','collaborators','IUndoRedoService','repeat','FileId','DEFAULT_COLLAB_WEB_SOCKET_URL','IUniverInstanceService','_scheduleCollaborationTimeoutTimer','getInterceptPoints','onStateChange','onRemoteRej','JOIN_ROOM_NOT_EXISTS','type','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','offline','TOO_MANY_REQUESTS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_state','onRemoteChangeset','saveSnapshot','randomBytes','MUTATION','IPermissionService','_undoStacks','_scheduleCompleteTimestamp','state','_permissionService','IConfigService','_undoRedoService','charCodeAt','/universer-api/comb','_onJoinRoomEvent','values','localeService','Quantity','\x20in\x20_schedule.','key','create','setShowComponents','dispose$','USERS_ENTER','put','UNIVER_UNKNOWN','_collaborationSessionService','SessionStatus','_xformMode','joinEvent','_onRecvEvent','unit-cache-','_getCtorByUniverType','subUnitId','EMAIL_HAS_BEEN_BOUND','CURRENT_STATUS_CANNOT_OPERATE','image/jpeg','AUTHORIZE_CODE_ILLEGAL','focused$','image/gif','parseProtocolChangeset','_sendHeartbeatTimer','mergeOverrideWithDependencies','ICommandService','LIVESHARE_NEW_HOST','YUUMI_ALL_TABLES_IS_INVALID','getSnapshotAPIPath','RETRY_CONNECTING_MAX_COUNT','/universer-api/file/{fileID}/sign-url','PERMISSION_DENIED','RETRY_CONNECTING_MAX_COUNT_KEY','_unlockTransition','DataLoaderService','__splitChunk__','@univerjs/core','members','size','_isPermissionRej','APPLY_REVISION_CONFILICT','JSONX','onStarting','collabSubmitChangesetUrl','/unit/','_clearScheduledTask','ENTITLE_COUPON_USED_UP','RichTextEditingMutation','_transformStack','/universer-api/authz','NO_OTHER_CLIENTS_EDITING','_initUnitPermissionChange','UNIVER_PROJECT','transformMutationsWithChangeset','USERS_LEAVE','_logService','processBlock','FETCH_MISSING','[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.','_telemetryInfo','unitId','/collaborator','error','People','[SyncedState]:\x20received\x20rejection.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','rev','SNAPSHOT_URL_KEY','fetchThroughInterceptors','_getAPIPrefixPath','_httpService','Decryptor','Tools','debug','disableLocalCache','onMissedChangesetFetched','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','MOBILE_HAS_BEEN_BOUND','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','object','setWaitCount','getUnitOnRev','iterations','_applyRemoteChangeset','filter','_commentUpdate$','toString','UNRECOGNIZED','USER_NOT_INVITED_CODE','Injector','SerializableCipher','hostname','enableSingleActiveInstanceLock','_onConflict','onRemoteRetry','createDecryptor','onMissingChangesets','waitForRoom$','_resendTimeout','buffer','apply','updatePermissionObjEvent','_socket','_acknowledgedAwaitingChangeset','lib','YUUMI_UNABLE_LOAD_URL','updatePermissionPoint','send','_remoteChangesetQueue','reconnect','touchDependencies','SheetCollaborationEntity','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HmacMD5','SOCKET_FAILED','ERROR_EXCEED_SIZE','equals','getSheetId','session.room-not-exists','update','unitInfo$','StreamCipher','JOIN_ROOM_PERMISSION_DENIED','_tryReconnect','INVITE_CODE_ALREADY_BOUND','_getRedoStack','_iKey','random','includes','sendChangesetTimeout','_executeRemoteChangeset','/fetchmissing?from=','HEARTBEAT','_waitForHeartbeatResponse','_univerInstanceService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fromCharCode','HmacSHA1','AES','workbook','_clearLocalCache','9KiQkhQ','AwaitingState','_commentService','getSheetBlock','delay','execute','ivSize','_map','onMutationExecutedForCollab','ImageUploadStatusType','shareReplay','_decreaseWaiting','Inject','awaitingChangeset','_handler','textEncoder','UniverCollaborationPlugin','_incrementRevisionNumber','_snapshotServerService','HTTPService','cfg','_pendingMutations','HMAC','_networkConditionService','loadUnitOfRevision','_submitChangeset','univer-pro.collaboration-client.network-condition.service','_initMergeInterceptor','asObservable','_changesetSessionId','CompressMutationService','_type','closeSession','ClipsheetFragments','_collaborationPaused','map','_reverseMap','sid','_init','AWAITING','UnitEmbedded','PSEUDO_FETCH_MISSING_RESULT','REDEMPTION_CODE_INACTIVE','DocCollaborationEntity','getTypeOfUnitDisposed$','APPLY_DUPLICATED','appendMutation','sheets','_updateState','FETCH_MISS','getMemberID','CollaborationSocketService','/object','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','transformSelections','/allowed','_prevBlock','deserializeToCombResponse','_imageSourceCache','JOIN_ROOM_FULL','JOINING','serializeCombRequest','addImageSourceCache','MD5','_doCreateSocket','HttpExport','objects','/universer-api/snapshot','IAuthzIoService','decrypt','onSyncEditingCollabCursor','onTransformIME','_getDownloadEndpointURL','SYNCED','_sendingTimer','ENTITLE_INSUFFICIENT_QUOTA','append','has','copyFileMeta','textRanges','clamp','subscribe','ws://127.0.0.1:8000/universer-api/comb/connect','getUnitType','requestParams','encrypt','\x0aAfter:\x20','exports','_initCloseConn','CLOSE_ROOM','updateOfflineData','497922kKGeQm','_onCombEvent','_onLocalMutation','_entityInit$','data','_onUserJoin','csShouldRetryEvent','_cipher','$super','_showConflictNotification','ImageSourceType','CollaborationUIEventId','objectActions','Hasher','_toggleOnline','_onMessage','[FetchMissState]','_schedule','init','members$','Optional','Plugin','hasher','LOCAL_CACHE_INTERVAL','listRoles','toggleOnline','OTHER_CLIENT_EDITING','_clearRedo','range','listCollaborators','/-/object/list','UNIVER_SLIDE','enc','transformChangesets','reject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ERROR_IMAGE_TYPE','@univerjs-pro/license','_redoStacks','INVALID_INVITE_CODE','getCollabEntity','UNKNOWN_CMD','_members$','take','_removeRoom','_listenToNetworkCondition','_retryCount','isTransformChangesetsSuccess','_doReset','_socketService','action','updateCursorEvent','INVITE_CODE_REQUIRED','reduce','_localeService','getConfig','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','__Key__','_hash','OfflineState','LIVESHARE_TERMINATE','reqId','CHANGESET_ACK','_configService','objectID','takeUntil','Hex','roomInfos','concatMap','Utf8','synced','_createHmacHelper','_clearRetryConnectingTimer','_checkMissing','decryptBlock','createIdentifier','_awaitingChangeset','default','changesets','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','awaiting_with_pending','_getSendChangesetTimeout','_onConnectionFailed','APPLY_PERMISSION_DENIED','requireSession','NoPadding','rxjs/operators','allowed','HTTPRequest','YUUMI_SUBSCRIPTION_NOT_FOUND','src','UUID','[OfflineState]:\x20received\x20rejection.','algo','SHA1','joinRsp','_rescheduleHeartbeat','/universer-api/user/session-ticket','_parse','SetSelectionsOperation','roles','UNIVER_DOC','MentionType','_onFetchMissResult','EMAIL_VERIFY_CODE_MISMATCH','_clearUndo','UNAUTHENTICATED','INTERNAL_ERROR','isInternalEditorID','onload','getCollabEntity$','slice','_stopTelemetryCollaborationNewChangeset','ENTITLE_INVALID_COUPON_CODE','_eventService','_createHandler','_createInitialStateImpl','LICENSE_MAX_UNITS_EXCEEDED','DEFAULT_WS_SESSION_TICKET_URL','[CollaborationSession]','UniverLicensePlugin','string','unpad','finalize','liveShareNewHost','socket\x20open.','YUUMI_NO_CUBOID_FOR_QUESTION','loadOfflineData','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMiss','getRoom','getActiveSheet','CollaborationUIEventService','_retryConnectingTimer','resourceIDs','loadSheet','getWorkbookSelections','_initRequestHeader','_collaborationTimeoutTimer','CollaborationController','abs','Encryptor','getUnit','toStringTag','b64DecodeUnicode','interceptor','initWorkbookPermissionChange','status$','APPLY_REJECT','msCrypto','disposeWithMe','c1Prime','PendingState','entries','JOIN_ROOM_FAILED','_roomMembers','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','ENSURE_SNAPSHOT_EXECUTION','ICollaborationSocketService','Cipher','PY_RUNTIME_SCRIPT_ERROR','byteOffset','REDEMPTION_INVALID_CODE','/block/','getCurrentRevOfUnit','684920KqvHKj','csAckEvent','CollaborationImageIoService','ILogService','COMPRESS_MUTATION_APPLY','collaMsg','ConflictState','USER_NOT_FOUND','objectType','charAt','REDEMPTION_USER_NOT_ELIGIBLE','_updateLocalCache','revision','words','LocalUndoRedoService','CHANGESET_SHOULD_RETRY','Failed\x20to\x20update\x20permission\x20point','_getSignURL','CollaborativeUndoRedoService','fetch_missing','_process','_getUndoStack','UnitSnapshot','unknown','collaboratorID','_clearHeartbeatTimer','readAsDataURL','ENTITLE_DUP_SUBSCRIPTION','call','message$','_startCollaboration','_minBufferSize','LIVESHARE_REQUEST_HOST','createCollaborator','_initDependencies','/new_changes','encryptBlock','putCollaborators','generateRandomId','origin','deepClone','getLocalCacheKey','params','byteLength','Subject','status','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','toDisposable','UniverNetworkPlugin','ONLINE','YUUMI_AI_RUN_FAILED','JOIN','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitId','&source=','CollaborationEntity','Module','avatar','getTime','ENTITLE_USE_COUPON_NOT_1ST_TRADE','CHANGESET_REJ','_doCryptBlock','session','2286732YmBBKA','_sendHeartbeat','UniverNetwork','isPermissionRej','code','/universer-api/oidc/authpage','_fetchMissChangesets','x-univer-host','_status$','_compressMutationService','ERROR_IMAGE','SHOULD_CLOSE_CONN','routeKey','\x20to\x20','UniverCollaborationClientPlugin','?url=','splice','_onUserLeave','HELLO','GLOBAL_ROOMS_CNT_EXCEEDS','_clearCollaborationTimeoutTimer','BlockCipher','_transformStateCache','_invKeySchedule','_config','UPDATE_CURSOR','leaveEvent','session.room-cnt-exceeds','4244168RyWcXt','actions','Base','sin','LICENSE_IMPORT_SIZE_EXCEEDED','_injector','length','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','BASE64','_candidateSocket','getUnitStatus$','COMPRESS_MUTATION_SEND','_replayCachedMutations','INVALID_ARGUMENT','/-/object/-/batch_allowed','extend','getAllMembers','symbol','addHandlerCallback','[OfflineState]:\x20received\x20changeset.','InsertSheetMutation','_changesetReqId','clear','_unitInfo$','@univerjs/drawing','isArray','permissionRejEvent','/universer-api/stream/file/upload','unitId\x20is\x20not\x20found','_waitCount','refreshPermission','Univer','getOwnPropertyDescriptor','SUBMIT_CHANGESET','SOCKET_FAILED_RETRY','_replaceFileID','fromCollab','_oKey','_tryEnsureSocket','_transformRemoteChangesetByIMECache','ISnapshotServerService','fetching\x20missing\x20changesets\x20from\x20','_resendWithTimeout','_registerDependencies','sessionStatus','APPLY_NON_SEQUENTIAL_REVISION','SheetPermissionInitController','[CollaborationState]:\x20apply\x20error!','_timeoutTimer','body','collabWebSocketUrl','_substituteRedoStack','_getUploadFileURL','compute','close$','mapDocumentTypeToUniverType','_keySchedule','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_localCacheService','parse','_revisionService','CHANGESET_REVISION_CONFILICT','mode','sigBytes','unitID','_maxTotalRetryTimeout','sessionStatus$','getLatestCsReqIdBySid','ISocketService','uniscriptRunEvent','_exhaustRemoteChangesetQueue','MemberService','AwaitingWithPendingState','add','onLocalMutation','UNIVER_COLLABORATION_CLIENT_PLUGIN','UPDATE_PERMISSION_OBJ','transformStack\x20failed!','snapshot','FAIL','RevisionService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','prototype','_instanceService','LEAVE','RECV','cmd','/object/','REDEMPTION_CODE_HAS_BEEN_CREATED','Base64','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','keySize','DATA_SOURCE_TOO_LARGE','_doProcessBlock','concat','uploadFileServerUrl','incrementRevOfUnit','HEARTBEAT_TIMEOUT','UniverProCollaboration','_ENC_XFORM_MODE','every','open$','operators','infoRsp','resend','substr','_onRemoteRejected','POST','_socketReady','_getCurrentRevision','HEARTBEAT_TIMEOUT_KEY','_change$','UniverProLicense','/role','updateMember','reverse','_onRemoteChangeset','ciphertext','YUUMI_CONNECTOR_URL_NOT_FOUND','blockSize','_collaborationUIEventService','_sender','ENTITLE_CHAT_LIMIT_EXCEED','localCacheService','image/png','toggleOffline','REDEMPTION_CODE_NOT_STARTED','formatter','_throwTelemetryCollaborationNewChangeset','PERMISSION_REJ','max','next','UNIVER_SHEET','_onConnectionOpen','PENDING','UNISCRIPT_RUN','memberID','ERROR_AGAIN','UniverInstanceType','SyncedState','UniverCore','_data','Pkcs7','enableAuthServer','_clearTimeoutTimer','_queuedRemoteChangesets','_handlerCallback','function','href','isTransformMutationsWithChangesetFailure','set','_toggleOffline','change$','confirm','socketService','getRandomValues','UserManagerService','responseType','ReplaySubject','replace','patch','[CollaborationSessionService]','catch','mutations','SNAPSHOT_INVALID_SNAPSHOT','conflict','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','rxjs','CommandType','compose','override','pauseCollaboration','fetchMissingChangesets','NOT_COLLAB','[PendingState]:\x20received\x20acknowledgement.','padding','_telemetryService','_socket$','UniverDocs','mixIn','ENTITLE_REPORT_LIMIT_EXCEED','_DEC_XFORM_MODE','Undefined','&to=','_roomCreated$','onCommentUpdate','from','BlockCipherMode','_collabSessionService','SnapshotServerOverHTTPService','BehaviorSubject','_nRounds','uuidv4','OFFLINE','USER_IS_ANONYMOUS','state$','_nDataBytes','3nSfkTY','resolve','IImageIoService','_sessions','userID','@univerjs/network','CollaborationSessionService','LIVESHARE_OPERATION','_snapshotService','IDLE','executeCommand','_getAPIPrefix','_doFinalize','result','_socketMessageSubscription','startsWith','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_startTelemetryCollaborationNewChangeset','LOGIN_FAILED','CONNECTOR_DATA_TOO_LARGE','_hasher','readInt32LE','onTransformSelections','image/jpg','LICENSE_DISTRO_REJECTED','21289770BzSGZq','connection\x20error','@univerjs/docs','[CollaborationUndoRedoService]','baseRev','SheetTransformSelectionsService','post','Could\x20not\x20dynamically\x20require\x20\x22','LIVESHARE_FETCH_OPERATIONS','_members'];_0x3d8f=function(){return _0x4f2ac9;};return _0x3d8f();}(function(_0x4a9abc,_0x11939b){var _0x1636eb=_0x573a,_0x22944c=_0x4a9abc();while(!![]){try{var _0x4dda02=-parseInt(_0x1636eb(0x210))/0x1+-parseInt(_0x1636eb(0x2b5))/0x2+parseInt(_0x1636eb(0x3d5))/0x3*(-parseInt(_0x1636eb(0x2f4))/0x4)+-parseInt(_0x1636eb(0x3fc))/0x5+parseInt(_0x1636eb(0x438))/0x6*(-parseInt(_0x1636eb(0x450))/0x7)+parseInt(_0x1636eb(0x310))/0x8*(parseInt(_0x1636eb(0x1b5))/0x9)+parseInt(_0x1636eb(0x3ee))/0xa;if(_0x4dda02===_0x11939b)break;else _0x22944c['push'](_0x22944c['shift']());}catch(_0x2b802e){_0x22944c['push'](_0x22944c['shift']());}}}(_0x3d8f,0x59b90),function(_0x3d328d,_0x2147dc){var _0x39ef04=_0x573a;typeof exports==_0x39ef04(0x519)&&typeof module<'u'?_0x2147dc(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-pro/license'),require('@univerjs/drawing')):typeof define==_0x39ef04(0x3a3)&&define['amd']?define([_0x39ef04(0x20c),_0x39ef04(0x494),_0x39ef04(0x4ee),_0x39ef04(0x3f0),'@univerjs/sheets',_0x39ef04(0x3b7),_0x39ef04(0x41c),_0x39ef04(0x266),_0x39ef04(0x3da),_0x39ef04(0x235),_0x39ef04(0x328)],_0x2147dc):(_0x3d328d=typeof globalThis<'u'?globalThis:_0x3d328d||self,_0x2147dc(_0x3d328d['UniverProCollaborationClient']={},_0x3d328d[_0x39ef04(0x372)],_0x3d328d[_0x39ef04(0x39c)],_0x3d328d[_0x39ef04(0x3c2)],_0x3d328d['UniverSheets'],_0x3d328d[_0x39ef04(0x3b7)],_0x3d328d[_0x39ef04(0x400)],_0x3d328d[_0x39ef04(0x3b7)][_0x39ef04(0x376)],_0x3d328d[_0x39ef04(0x2f6)],_0x3d328d[_0x39ef04(0x380)],_0x3d328d['UniverDrawing']));}(this,function(_0x5e3fa4,_0x35009e,_0x158513,_0xc7e141,_0x18f772,_0x32f9ef,_0xd66539,_0x16efa3,_0x5b6221,_0x4b2b6c,_0x2bf003){'use strict';var _0x2229a0=_0x573a;var _0x55ee76=Object[_0x2229a0(0x485)],_0x30f971=(_0x498f36,_0xe11188,_0x58bf81)=>_0xe11188 in _0x498f36?_0x55ee76(_0x498f36,_0xe11188,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58bf81}):_0x498f36[_0xe11188]=_0x58bf81,_0x4b59b5=(_0x43ed6b,_0x23b098,_0x195f9a)=>_0x30f971(_0x43ed6b,typeof _0x23b098!=_0x2229a0(0x321)?_0x23b098+'':_0x23b098,_0x195f9a);const _0x7842a=_0x2229a0(0x1f8),_0xa82dae=_0x2229a0(0x50d),_0x46c157=_0x2229a0(0x207),_0x19d93b=_0x2229a0(0x271),_0x50386d=_0x2229a0(0x423),_0x3bd8ba=_0x2229a0(0x371),_0x2a69c3=_0x2229a0(0x4e7),_0x175c63=_0x2229a0(0x227),_0x3083bf=_0x2229a0(0x4c5),_0x5868b9=_0x2229a0(0x2f9),_0x37bb98=_0x2229a0(0x233),_0x10b865=_0x2229a0(0x421);var _0x2878f7=(_0x40abf4=>(_0x40abf4[_0x40abf4[_0x2229a0(0x49f)]=0x0]=_0x2229a0(0x49f),_0x40abf4[_0x40abf4['OK']=0x1]='OK',_0x40abf4[_0x40abf4[_0x2229a0(0x27b)]=0x2]=_0x2229a0(0x27b),_0x40abf4[_0x40abf4[_0x2229a0(0x4e9)]=0x3]=_0x2229a0(0x4e9),_0x40abf4[_0x40abf4['NOT_FOUND']=0x4]='NOT_FOUND',_0x40abf4[_0x40abf4['UNAUTHENTICATED']=0x5]=_0x2229a0(0x27a),_0x40abf4[_0x40abf4['ALREADY_EXISTS']=0x6]=_0x2229a0(0x457),_0x40abf4[_0x40abf4[_0x2229a0(0x31d)]=0x7]=_0x2229a0(0x31d),_0x40abf4[_0x40abf4[_0x2229a0(0x4b6)]=0x8]='TOO_MANY_REQUESTS',_0x40abf4[_0x40abf4[_0x2229a0(0x407)]=0x9]=_0x2229a0(0x407),_0x40abf4[_0x40abf4[_0x2229a0(0x3e7)]=0xa]=_0x2229a0(0x3e7),_0x40abf4[_0x40abf4['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x40abf4[_0x40abf4[_0x2229a0(0x317)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x40abf4[_0x40abf4[_0x2229a0(0x278)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x40abf4[_0x40abf4[_0x2229a0(0x25f)]=0xe]=_0x2229a0(0x25f),_0x40abf4[_0x40abf4[_0x2229a0(0x4dd)]=0xf]=_0x2229a0(0x4dd),_0x40abf4[_0x40abf4['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x40abf4[_0x40abf4['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x2229a0(0x4db),_0x40abf4[_0x40abf4[_0x2229a0(0x399)]=0x65]=_0x2229a0(0x399),_0x40abf4[_0x40abf4[_0x2229a0(0x2bc)]=0xc9]=_0x2229a0(0x2bc),_0x40abf4[_0x40abf4[_0x2229a0(0x3d2)]=0xca]=_0x2229a0(0x3d2),_0x40abf4[_0x40abf4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2229a0(0x34d),_0x40abf4[_0x40abf4[_0x2229a0(0x3b4)]=0x1771]=_0x2229a0(0x3b4),_0x40abf4[_0x40abf4[_0x2229a0(0x459)]=0x1772]=_0x2229a0(0x459),_0x40abf4[_0x40abf4[_0x2229a0(0x2ad)]=0x1773]=_0x2229a0(0x2ad),_0x40abf4[_0x40abf4[_0x2229a0(0x2a4)]=0x1b59]=_0x2229a0(0x2a4),_0x40abf4[_0x40abf4[_0x2229a0(0x33d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40abf4[_0x40abf4[_0x2229a0(0x4f2)]=0x1b5b]=_0x2229a0(0x4f2),_0x40abf4[_0x40abf4[_0x2229a0(0x263)]=0x1b5c]=_0x2229a0(0x263),_0x40abf4[_0x40abf4[_0x2229a0(0x1e2)]=0x1b5d]=_0x2229a0(0x1e2),_0x40abf4[_0x40abf4[_0x2229a0(0x3e8)]=0x1f41]=_0x2229a0(0x3e8),_0x40abf4[_0x40abf4[_0x2229a0(0x285)]=0x2329]=_0x2229a0(0x285),_0x40abf4[_0x40abf4[_0x2229a0(0x198)]=0x232a]=_0x2229a0(0x198),_0x40abf4[_0x40abf4[_0x2229a0(0x314)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40abf4[_0x40abf4[_0x2229a0(0x412)]=0x232c]=_0x2229a0(0x412),_0x40abf4[_0x40abf4[_0x2229a0(0x3ed)]=0x232d]=_0x2229a0(0x3ed),_0x40abf4[_0x40abf4[_0x2229a0(0x533)]=0x2711]=_0x2229a0(0x533),_0x40abf4[_0x40abf4[_0x2229a0(0x480)]=0x2712]=_0x2229a0(0x480),_0x40abf4[_0x40abf4[_0x2229a0(0x42f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40abf4[_0x40abf4[_0x2229a0(0x269)]=0x2714]=_0x2229a0(0x269),_0x40abf4[_0x40abf4[_0x2229a0(0x28e)]=0x271a]=_0x2229a0(0x28e),_0x40abf4[_0x40abf4['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2229a0(0x483),_0x40abf4[_0x40abf4[_0x2229a0(0x1af)]=0x271c]=_0x2229a0(0x1af),_0x40abf4[_0x40abf4[_0x2229a0(0x4e5)]=0x271d]=_0x2229a0(0x4e5),_0x40abf4[_0x40abf4[_0x2229a0(0x4b7)]=0x271e]=_0x2229a0(0x4b7),_0x40abf4[_0x40abf4[_0x2229a0(0x2e7)]=0x271f]=_0x2229a0(0x2e7),_0x40abf4[_0x40abf4['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2229a0(0x386),_0x40abf4[_0x40abf4[_0x2229a0(0x2b0)]=0x2af9]=_0x2229a0(0x2b0),_0x40abf4[_0x40abf4[_0x2229a0(0x452)]=0x2ee1]=_0x2229a0(0x452),_0x40abf4[_0x40abf4[_0x2229a0(0x237)]=0x2ee2]=_0x2229a0(0x237),_0x40abf4[_0x40abf4[_0x2229a0(0x244)]=0x2ee3]=_0x2229a0(0x244),_0x40abf4[_0x40abf4['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2229a0(0x522),_0x40abf4[_0x40abf4[_0x2229a0(0x1a4)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x40abf4[_0x40abf4[_0x2229a0(0x445)]=0x32c9]=_0x2229a0(0x445),_0x40abf4[_0x40abf4[_0x2229a0(0x517)]=0x32ca]=_0x2229a0(0x517),_0x40abf4[_0x40abf4['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2229a0(0x4da),_0x40abf4[_0x40abf4[_0x2229a0(0x477)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x40abf4[_0x40abf4[_0x2229a0(0x49b)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x40abf4[_0x40abf4[_0x2229a0(0x2d0)]=0x36b3]=_0x2229a0(0x2d0),_0x40abf4[_0x40abf4['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x40abf4[_0x40abf4['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2229a0(0x281),_0x40abf4[_0x40abf4[_0x2229a0(0x3f9)]=0x36b6]=_0x2229a0(0x3f9),_0x40abf4[_0x40abf4[_0x2229a0(0x4f8)]=0x36b7]=_0x2229a0(0x4f8),_0x40abf4[_0x40abf4[_0x2229a0(0x2f0)]=0x36b8]=_0x2229a0(0x2f0),_0x40abf4[_0x40abf4[_0x2229a0(0x38a)]=0x3715]=_0x2229a0(0x38a),_0x40abf4[_0x40abf4[_0x2229a0(0x3c4)]=0x3716]=_0x2229a0(0x3c4),_0x40abf4[_0x40abf4[_0x2229a0(0x200)]=0x3717]=_0x2229a0(0x200),_0x40abf4[_0x40abf4[_0x2229a0(0x44d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x40abf4[_0x40abf4[_0x2229a0(0x2b2)]=0x3a99]=_0x2229a0(0x2b2),_0x40abf4[_0x40abf4[_0x2229a0(0x1df)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x40abf4[_0x40abf4[_0x2229a0(0x436)]=0x3a9b]=_0x2229a0(0x436),_0x40abf4[_0x40abf4[_0x2229a0(0x38e)]=0x3a9c]=_0x2229a0(0x38e),_0x40abf4[_0x40abf4[_0x2229a0(0x2bf)]=0x3a9d]=_0x2229a0(0x2bf),_0x40abf4[_0x40abf4[_0x2229a0(0x405)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x40abf4[_0x40abf4['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2229a0(0x368),_0x40abf4[_0x40abf4[_0x2229a0(0x36c)]=0x3e81]=_0x2229a0(0x36c),_0x40abf4[_0x40abf4[_0x2229a0(0x521)]=-0x1]=_0x2229a0(0x521),_0x40abf4))(_0x2878f7||{}),_0x24c96d=(_0x4cefe2=>(_0x4cefe2[_0x4cefe2['UNIVER_UNKNOWN']=0x0]=_0x2229a0(0x4d1),_0x4cefe2[_0x4cefe2[_0x2229a0(0x275)]=0x1]='UNIVER_DOC',_0x4cefe2[_0x4cefe2[_0x2229a0(0x394)]=0x2]=_0x2229a0(0x394),_0x4cefe2[_0x4cefe2[_0x2229a0(0x22f)]=0x3]=_0x2229a0(0x22f),_0x4cefe2[_0x4cefe2[_0x2229a0(0x4fe)]=0x4]=_0x2229a0(0x4fe),_0x4cefe2[_0x4cefe2[_0x2229a0(0x521)]=-0x1]=_0x2229a0(0x521),_0x4cefe2))(_0x24c96d||{}),_0x5db895=(_0x4bd8ca=>(_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x239)]=0x0]=_0x2229a0(0x239),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x306)]=0x1]=_0x2229a0(0x306),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x2e8)]=0x2]=_0x2229a0(0x2e8),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x364)]=0x3]=_0x2229a0(0x364),_0x4bd8ca[_0x4bd8ca['INGEST']=0x4]=_0x2229a0(0x433),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x1ac)]=0x5]='HEARTBEAT',_0x4bd8ca[_0x4bd8ca['RECV']=0x6]=_0x2229a0(0x365),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x521)]=-0x1]=_0x2229a0(0x521),_0x4bd8ca))(_0x5db895||{}),_0xaed6cc=(_0x4a282e=>(_0x4a282e[_0x4a282e['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x4a282e[_0x4a282e['OK']=0x1]='OK',_0x4a282e[_0x4a282e[_0x2229a0(0x35f)]=0x2]=_0x2229a0(0x35f),_0x4a282e[_0x4a282e[_0x2229a0(0x1f0)]=0x3e9]='JOIN_ROOM_FULL',_0x4a282e[_0x4a282e[_0x2229a0(0x4b2)]=0x3ea]=_0x2229a0(0x4b2),_0x4a282e[_0x4a282e[_0x2229a0(0x1a2)]=0x3eb]=_0x2229a0(0x1a2),_0x4a282e[_0x4a282e['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2229a0(0x307),_0x4a282e[_0x4a282e['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4a282e))(_0xaed6cc||{}),_0x1b6d95=(_0x10710c=>(_0x10710c[_0x10710c['Undefined']=0x0]=_0x2229a0(0x3c6),_0x10710c[_0x10710c[_0x2229a0(0x48b)]=0x1]=_0x2229a0(0x48b),_0x10710c[_0x10710c[_0x2229a0(0x1f6)]=0x2]=_0x2229a0(0x1f6),_0x10710c[_0x10710c['UnitEmbedded']=0x3]=_0x2229a0(0x1dd),_0x10710c[_0x10710c[_0x2229a0(0x2cb)]=0x4]='UnitSnapshot',_0x10710c[_0x10710c[_0x2229a0(0x460)]=0x5]=_0x2229a0(0x460),_0x10710c[_0x10710c[_0x2229a0(0x1d6)]=0x6]=_0x2229a0(0x1d6),_0x10710c[_0x10710c[_0x2229a0(0x521)]=-0x1]='UNRECOGNIZED',_0x10710c))(_0x1b6d95||{});const _0x53b2f7='collaboration_new_changeset';function _0x38397d(_0x3c62c8){var _0xf6cf4=_0x2229a0;return JSON[_0xf6cf4(0x418)](_0x3c62c8)['length'];}var _0x306c72=(_0x4197e8=>(_0x4197e8['OTHER_CLIENT_EDITING']=_0x2229a0(0x22a),_0x4197e8['PERMISSION_DENIED']=_0x2229a0(0x4e9),_0x4197e8[_0x2229a0(0x451)]=_0x2229a0(0x451),_0x4197e8[_0x2229a0(0x20e)]=_0x2229a0(0x20e),_0x4197e8[_0x2229a0(0x2aa)]='JOIN_ROOM_FAILED',_0x4197e8[_0x2229a0(0x332)]=_0x2229a0(0x332),_0x4197e8['SOCKET_FAILED']=_0x2229a0(0x19a),_0x4197e8[_0x2229a0(0x493)]='SUBMIT_CHANGESET_TIMEOUT',_0x4197e8))(_0x306c72||{});class _0x1a9793{constructor(){var _0x51404b=_0x2229a0;_0x4b59b5(this,_0x51404b(0x425),new _0x32f9ef[(_0x51404b(0x2e1))]()),_0x4b59b5(this,'event$',this[_0x51404b(0x425)][_0x51404b(0x1d1)]());}[_0x2229a0(0x4a6)](_0x2cce7a){var _0x2c1361=_0x2229a0;this[_0x2c1361(0x425)][_0x2c1361(0x393)](_0x2cce7a);}}class _0x1a53f1{constructor(){var _0x1253d9=_0x2229a0;_0x4b59b5(this,_0x1253d9(0x51f),new _0x32f9ef[(_0x1253d9(0x2e1))]()),_0x4b59b5(this,'commentUpdate$',this[_0x1253d9(0x51f)][_0x1253d9(0x1d1)]());}[_0x2229a0(0x3c9)](_0x26bc0e){var _0x51284d=_0x2229a0;this[_0x51284d(0x51f)][_0x51284d(0x393)](_0x26bc0e);}}var _0x7b7cf8=Object['getOwnPropertyDescriptor'],_0x143db0=(_0x4870dc,_0x494e05,_0x104b60,_0xb201a9)=>{for(var _0x3b0af4=_0xb201a9>0x1?void 0x0:_0xb201a9?_0x7b7cf8(_0x494e05,_0x104b60):_0x494e05,_0x5e6348=_0x4870dc['length']-0x1,_0x43f222;_0x5e6348>=0x0;_0x5e6348--)(_0x43f222=_0x4870dc[_0x5e6348])&&(_0x3b0af4=_0x43f222(_0x3b0af4)||_0x3b0af4);return _0x3b0af4;},_0x5d09d8=(_0x5549e8,_0x44067f)=>(_0x257425,_0x23ec82)=>_0x44067f(_0x257425,_0x23ec82,_0x5549e8);_0x5e3fa4[_0x2229a0(0x357)]=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x18b7d4,_0x4e121d){var _0x40ad7e=_0x2229a0;super(),_0x4b59b5(this,_0x40ad7e(0x2ab),new Map()),_0x4b59b5(this,'_roomCreated$',new _0x32f9ef['Subject']()),(this[_0x40ad7e(0x1ae)]=_0x18b7d4,this['_userManagerService']=_0x4e121d,this[_0x40ad7e(0x2a6)](_0x32f9ef[_0x40ad7e(0x47e)](this[_0x40ad7e(0x1ae)][_0x40ad7e(0x1e1)](_0x158513['UniverInstanceType'][_0x40ad7e(0x394)])[_0x40ad7e(0x3fa)](_0x16efa3[_0x40ad7e(0x1d8)](_0x1854bb=>_0x1854bb[_0x40ad7e(0x2ea)]())),this[_0x40ad7e(0x1ae)][_0x40ad7e(0x1e1)](_0x158513[_0x40ad7e(0x39a)][_0x40ad7e(0x275)])[_0x40ad7e(0x3fa)](_0x16efa3[_0x40ad7e(0x1d8)](_0x42087f=>_0x42087f[_0x40ad7e(0x2ea)]())),this[_0x40ad7e(0x1ae)]['getTypeOfUnitDisposed$'](_0x158513[_0x40ad7e(0x39a)]['UNIVER_SLIDE'])[_0x40ad7e(0x3fa)](_0x16efa3[_0x40ad7e(0x1d8)](_0x4bf122=>_0x4bf122[_0x40ad7e(0x2ea)]())))[_0x40ad7e(0x206)](_0x58fec8=>this[_0x40ad7e(0x23c)](_0x58fec8))));}[_0x2229a0(0x52b)](_0x24eed2){var _0x1ebdd6=_0x2229a0;return this[_0x1ebdd6(0x2ab)][_0x1ebdd6(0x202)](_0x24eed2)?_0x32f9ef['of'](this[_0x1ebdd6(0x2ab)][_0x1ebdd6(0x444)](_0x24eed2)):this[_0x1ebdd6(0x3c8)][_0x1ebdd6(0x3fa)](_0x16efa3[_0x1ebdd6(0x1d8)](_0x10bf59=>{var _0x40e067=_0x1ebdd6;if(_0x10bf59===_0x24eed2)return this[_0x40e067(0x2ab)][_0x40e067(0x444)](_0x10bf59);}));}[_0x2229a0(0x3f8)](_0x54e564){var _0x5dd58f=_0x2229a0;this['_userManagerService'][_0x5dd58f(0x3f8)](_0x54e564);}[_0x2229a0(0x464)](){var _0xc17974=_0x2229a0;return this['_userManagerService'][_0xc17974(0x464)]();}[_0x2229a0(0x382)](_0x5a30ba,_0x4fac45){var _0x3e2db1=_0x2229a0;let _0x4d5211=this['_roomMembers']['get'](_0x5a30ba);_0x4d5211||(_0x4d5211=new _0x5382ac(),this['_roomMembers'][_0x3e2db1(0x3a6)](_0x5a30ba,_0x4d5211),this[_0x3e2db1(0x3c8)][_0x3e2db1(0x393)](_0x5a30ba)),_0x4d5211[_0x3e2db1(0x382)](_0x4fac45);}[_0x2229a0(0x430)](_0x2f7343,_0x523bea){var _0x5c681c=_0x2229a0;const _0x12cdcd=this[_0x5c681c(0x2ab)]['get'](_0x2f7343);_0x12cdcd&&_0x12cdcd[_0x5c681c(0x430)](_0x523bea);}[_0x2229a0(0x292)](_0x45a39d){var _0x4e6041=_0x2229a0;return this[_0x4e6041(0x2ab)][_0x4e6041(0x444)](_0x45a39d);}[_0x2229a0(0x408)](_0xe4cf06,_0x552ea8){var _0x3771a1=_0x2229a0;const _0x1eae58=this[_0x3771a1(0x2ab)]['get'](_0xe4cf06);if(_0x1eae58)return _0x1eae58[_0x3771a1(0x408)](_0x552ea8);}[_0x2229a0(0x23c)](_0x12acae){var _0x2c74ca=_0x2229a0;const _0x3456c3=this[_0x2c74ca(0x2ab)][_0x2c74ca(0x444)](_0x12acae);_0x3456c3&&(_0x3456c3[_0x2c74ca(0x484)](),this['_roomMembers'][_0x2c74ca(0x420)](_0x12acae));}[_0x2229a0(0x484)](){var _0x52f404=_0x2229a0;this[_0x52f404(0x2ab)]['forEach'](_0x3eba85=>_0x3eba85['dispose']()),this['_roomMembers']['clear'](),this[_0x52f404(0x3c8)][_0x52f404(0x45e)]();}},_0x5e3fa4[_0x2229a0(0x357)]=_0x143db0([_0x5d09d8(0x0,_0x158513[_0x2229a0(0x4ad)]),_0x5d09d8(0x1,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x3ac)]))],_0x5e3fa4['MemberService']);class _0x5382ac extends _0x158513['Disposable']{constructor(){var _0x26f0a6=_0x2229a0;super(...arguments),_0x4b59b5(this,'_members',new Map()),_0x4b59b5(this,_0x26f0a6(0x23a),new _0x32f9ef[(_0x26f0a6(0x3ce))](this[_0x26f0a6(0x3f7)])),_0x4b59b5(this,_0x26f0a6(0x223),this[_0x26f0a6(0x23a)][_0x26f0a6(0x1d1)]());}[_0x2229a0(0x484)](){var _0x203a82=_0x2229a0;this[_0x203a82(0x3f7)][_0x203a82(0x326)]();}[_0x2229a0(0x382)](_0xffe9b){var _0x39caf5=_0x2229a0;this[_0x39caf5(0x3f7)][_0x39caf5(0x3a6)](_0xffe9b[_0x39caf5(0x398)],_0xffe9b),this[_0x39caf5(0x468)]();}[_0x2229a0(0x430)](_0x5cc65a){var _0x118fbe=_0x2229a0;this[_0x118fbe(0x3f7)]['delete'](_0x5cc65a);}['getMember'](_0x4db446){var _0x504d10=_0x2229a0;return this[_0x504d10(0x3f7)][_0x504d10(0x444)](_0x4db446);}[_0x2229a0(0x320)](){var _0x49488c=_0x2229a0;return Array[_0x49488c(0x3ca)](this[_0x49488c(0x3f7)][_0x49488c(0x4c7)]());}['_emitMembers'](){var _0x4483e4=_0x2229a0;this[_0x4483e4(0x23a)][_0x4483e4(0x393)](this[_0x4483e4(0x3f7)]);}}var _0x5adfda=Object[_0x2229a0(0x330)],_0x49c2dd=(_0x523b08,_0x1f0381,_0x10f000,_0x3bd931)=>{var _0x3981b8=_0x2229a0;for(var _0x45e47e=_0x3bd931>0x1?void 0x0:_0x3bd931?_0x5adfda(_0x1f0381,_0x10f000):_0x1f0381,_0xfa5076=_0x523b08[_0x3981b8(0x316)]-0x1,_0x33c2d5;_0xfa5076>=0x0;_0xfa5076--)(_0x33c2d5=_0x523b08[_0xfa5076])&&(_0x45e47e=_0x33c2d5(_0x45e47e)||_0x45e47e);return _0x45e47e;},_0x353f89=(_0xafbfc3,_0x5369de)=>(_0x19375d,_0x118efb)=>_0x5369de(_0x19375d,_0x118efb,_0xafbfc3),_0x366b35=(_0x25be4f=>(_0x25be4f[_0x25be4f[_0x2229a0(0x3de)]=0x0]=_0x2229a0(0x3de),_0x25be4f[_0x25be4f[_0x2229a0(0x1f1)]=0x1]='JOINING',_0x25be4f[_0x25be4f['OFFLINE']=0x2]=_0x2229a0(0x3d1),_0x25be4f[_0x25be4f[_0x2229a0(0x2e6)]=0x3]=_0x2229a0(0x2e6),_0x25be4f))(_0x366b35||{});const _0x5dd6b1={[_0xaed6cc[_0x2229a0(0x35f)]]:'session.join-failed',[_0xaed6cc[_0x2229a0(0x1f0)]]:_0x2229a0(0x437),[_0xaed6cc[_0x2229a0(0x4b2)]]:_0x2229a0(0x19e),[_0xaed6cc['JOIN_ROOM_PERMISSION_DENIED']]:_0x2229a0(0x43e),[_0xaed6cc[_0x2229a0(0x307)]]:_0x2229a0(0x30f)};_0x5e3fa4['CollaborationSession']=class extends _0x158513['RxDisposable']{constructor(_0x2703e7,_0x4d4132,_0x126c1a,_0xf08078,_0x1ff70c,_0x2060e1,_0xd5a425,_0x268ecd){var _0x156b88=_0x2229a0;super(),_0x4b59b5(this,_0x156b88(0x48d),new _0x32f9ef[(_0x156b88(0x3ce))](0x0)),_0x4b59b5(this,_0x156b88(0x352),this[_0x156b88(0x48d)]['asObservable']()),_0x4b59b5(this,'_event$',new _0x32f9ef[(_0x156b88(0x2e1))]()),_0x4b59b5(this,_0x156b88(0x413),this['_event$'][_0x156b88(0x1d1)]()),_0x4b59b5(this,_0x156b88(0x530)),_0x4b59b5(this,_0x156b88(0x3e3)),_0x4b59b5(this,'_collaborationTimeoutTimer'),_0x4b59b5(this,_0x156b88(0x45a),!0x1),_0x4b59b5(this,_0x156b88(0x505),null),(this['_unitID']=_0x2703e7,this['_logService']=_0x126c1a,this[_0x156b88(0x24f)]=_0xf08078,this[_0x156b88(0x44f)]=_0x1ff70c,this['_commentService']=_0x2060e1,this['_collaborationUIEventService']=_0xd5a425,this[_0x156b88(0x3c0)]=_0x268ecd,this[_0x156b88(0x45a)]=!!this[_0x156b88(0x3c0)],_0x4d4132['pipe'](_0x32f9ef[_0x156b88(0x251)](this[_0x156b88(0x4ce)]))[_0x156b88(0x206)](_0x2ea068=>{var _0x4b22c0=_0x156b88,_0x526315;typeof _0x2ea068>'u'||(this[_0x4b22c0(0x530)]=_0x2ea068,_0x2ea068?(this['_joinRoom'](_0x2ea068),this[_0x4b22c0(0x3e3)]=_0x2ea068['message$']['subscribe'](_0x51d015=>{var _0x468f50=_0x4b22c0;_0x51d015[_0x468f50(0x300)]===this[_0x468f50(0x3ff)]&&this[_0x468f50(0x211)](_0x51d015);})):(this[_0x4b22c0(0x390)](),this[_0x4b22c0(0x48d)][_0x4b22c0(0x393)](0x2),(_0x526315=this[_0x4b22c0(0x3e3)])==null||_0x526315[_0x4b22c0(0x415)](),this[_0x4b22c0(0x3e3)]=null));}));}get[_0x2229a0(0x33c)](){var _0x4b6d76=_0x2229a0;return this[_0x4b6d76(0x48d)]['getValue']();}['getMemberID'](){var _0x7445e1=_0x2229a0,_0xd744c8,_0x55d5c0;return(_0x55d5c0=(_0xd744c8=this[_0x7445e1(0x530)])==null?void 0x0:_0xd744c8[_0x7445e1(0x398)])!=null?_0x55d5c0:null;}['dispose'](){var _0x3afe73=_0x2229a0;super[_0x3afe73(0x484)](),this[_0x3afe73(0x4ce)][_0x3afe73(0x393)](),this[_0x3afe73(0x4ce)][_0x3afe73(0x45e)]();}['close'](){var _0x5be70c=_0x2229a0,_0x111143,_0x454f59;this['_throwTelemetryCollaborationNewChangeset'](),(_0x111143=this[_0x5be70c(0x530)])==null||_0x111143[_0x5be70c(0x535)]({'cmd':_0x5db895['LEAVE'],'data':{'roomID':this[_0x5be70c(0x3ff)]}}),(_0x454f59=this['_socket'])==null||_0x454f59[_0x5be70c(0x43b)](),this['_event$'][_0x5be70c(0x45e)](),this[_0x5be70c(0x48d)][_0x5be70c(0x45e)](),this[_0x5be70c(0x484)]();}[_0x2229a0(0x211)](_0xce2a4a){var _0x504e6a=_0x2229a0;_0xce2a4a[_0x504e6a(0x366)]===_0x5db895['JOIN']?this[_0x504e6a(0x4c6)](_0xce2a4a):_0xce2a4a[_0x504e6a(0x366)]===_0x5db895['RECV']&&this[_0x504e6a(0x4d6)](_0xce2a4a);}[_0x2229a0(0x487)](_0x3fb966){var _0x22e120=_0x2229a0;this[_0x22e120(0x48d)][_0x22e120(0x393)](0x1),_0x3fb966['send']({'cmd':_0x5db895[_0x22e120(0x2e8)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x22e120(0x3ff)]}]}});}['_onJoinRoomEvent'](_0x4095dc){var _0x29891d=_0x2229a0,_0x401cf3;if(_0x4095dc[_0x29891d(0x2f8)]in _0x5dd6b1){this[_0x29891d(0x388)][_0x29891d(0x4a6)]({'id':_0x306c72[_0x29891d(0x2aa)],'data':_0x5dd6b1[_0x4095dc[_0x29891d(0x2f8)]]}),this[_0x29891d(0x48d)][_0x29891d(0x393)](0x2);return;}this['_sessionStatus$'][_0x29891d(0x393)](0x3);const _0x26ddb3=(_0x401cf3=_0x4095dc['data'][_0x29891d(0x253)][this[_0x29891d(0x3ff)]])==null?void 0x0:_0x401cf3[_0x29891d(0x4ef)];_0x26ddb3&&_0x26ddb3[_0x29891d(0x45b)](_0x389b85=>this[_0x29891d(0x44f)]['updateMember'](this['_unitID'],_0x389b85));}[_0x2229a0(0x4d6)](_0x6c8ec9){var _0x20eea0=_0x2229a0;try{const _0x3eb770=_0x6c8ec9[_0x20eea0(0x214)];switch(_0x3eb770[_0x20eea0(0x40a)]){case _0x35009e[_0x20eea0(0x499)][_0x20eea0(0x4cf)]:this[_0x20eea0(0x215)](_0x3eb770),this[_0x20eea0(0x425)][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e['CollaborationEvent'][_0x20eea0(0x500)]:this[_0x20eea0(0x305)](_0x3eb770),this['_event$'][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e[_0x20eea0(0x499)][_0x20eea0(0x24e)]:case _0x35009e[_0x20eea0(0x499)][_0x20eea0(0x2c4)]:this[_0x20eea0(0x280)](),this[_0x20eea0(0x308)](),this['_event$'][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e[_0x20eea0(0x499)]['MSG_FOR_ERROR']:this[_0x20eea0(0x501)]['error'](_0x20eea0(0x481)+JSON['stringify'](_0x3eb770)),this[_0x20eea0(0x425)][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e[_0x20eea0(0x499)]['COMMENT_UPDATE']:this[_0x20eea0(0x1b7)][_0x20eea0(0x3c9)](_0x3eb770[_0x20eea0(0x214)]),this['_event$']['next'](_0x3eb770);break;default:this[_0x20eea0(0x425)]['next'](_0x3eb770);}}catch(_0x4f67e3){this[_0x20eea0(0x501)]['error'](_0x4f67e3,_0x6c8ec9);}}[_0x2229a0(0x215)](_0x4095b5){var _0x7a14a7=_0x2229a0;this[_0x7a14a7(0x44f)][_0x7a14a7(0x382)](this['_unitID'],_0x4095b5[_0x7a14a7(0x214)]);}['_onUserLeave'](_0x1fc723){var _0x2baa35=_0x2229a0;this['_memberService']['removeMember'](this['_unitID'],_0x1fc723[_0x2baa35(0x214)][_0x2baa35(0x398)]);}async[_0x2229a0(0x535)](_0x2460e9,_0x23f1a5){var _0x3fd22c=_0x2229a0;if(this[_0x3fd22c(0x33c)]!==0x3||!this[_0x3fd22c(0x530)])throw new Error(_0x3fd22c(0x36a));try{_0x2460e9[_0x3fd22c(0x40a)]===_0x35009e[_0x3fd22c(0x499)][_0x3fd22c(0x331)]&&(this[_0x3fd22c(0x4ae)](),this[_0x3fd22c(0x3e6)](_0x2460e9)),this['_socket'][_0x3fd22c(0x535)]({'cmd':_0x5db895[_0x3fd22c(0x433)],'routeKey':_0x23f1a5,'routeType':'','data':_0x2460e9});}catch(_0x4a4de2){this[_0x3fd22c(0x501)][_0x3fd22c(0x508)](_0x4a4de2);}}['_scheduleCollaborationTimeoutTimer'](){var _0x326ce9=_0x2229a0,_0x256121;this[_0x326ce9(0x29a)]=setTimeout(()=>{var _0x565f96=_0x326ce9;this['_collaborationTimeoutTimer']=null,this[_0x565f96(0x388)][_0x565f96(0x4a6)]({'id':_0x306c72[_0x565f96(0x493)]});},(_0x256121=this[_0x326ce9(0x24f)][_0x326ce9(0x247)](_0x3bd8ba))!=null?_0x256121:0x4e20);}[_0x2229a0(0x308)](){var _0x1f36bb=_0x2229a0;this[_0x1f36bb(0x29a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x2229a0(0x3e6)](_0x4338ab){var _0x3320d1=_0x2229a0;if(!this[_0x3320d1(0x45a)])return;const {data:_0x16b9c5}=_0x4338ab,{unitID:_0x72f571,changeset:_0x7170fa}=_0x16b9c5,{mutations:_0x2605db,type:_0x3711c2}=_0x7170fa;this[_0x3320d1(0x505)]={'unitId':_0x72f571,'type':_0x3711c2,'startTime':performance[_0x3320d1(0x40f)](),'stopTime':0x0,'duration':0x0,'size':_0x38397d(_0x2605db)};}[_0x2229a0(0x280)](){var _0x382e9d=_0x2229a0;if(this[_0x382e9d(0x45a)]){if(!this[_0x382e9d(0x505)]){this[_0x382e9d(0x501)][_0x382e9d(0x508)](_0x382e9d(0x287),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x382e9d(0x505)][_0x382e9d(0x489)]=performance[_0x382e9d(0x40f)](),this[_0x382e9d(0x505)]['duration']=this[_0x382e9d(0x505)]['stopTime']-this[_0x382e9d(0x505)][_0x382e9d(0x46c)],this[_0x382e9d(0x3c0)]['capture'](_0x53b2f7,this['_telemetryInfo']),this[_0x382e9d(0x505)]=null;}}[_0x2229a0(0x390)](){var _0x1ef16c=_0x2229a0;this[_0x1ef16c(0x505)]=null;}},_0x5e3fa4[_0x2229a0(0x46d)]=_0x49c2dd([_0x353f89(0x2,_0x158513[_0x2229a0(0x2b8)]),_0x353f89(0x3,_0x158513[_0x2229a0(0x4c2)]),_0x353f89(0x4,_0x158513[_0x2229a0(0x1c1)](_0x5e3fa4[_0x2229a0(0x357)])),_0x353f89(0x5,_0x158513['Inject'](_0x1a53f1)),_0x353f89(0x6,_0x158513['Inject'](_0x1a9793)),_0x353f89(0x7,_0x158513[_0x2229a0(0x224)](_0xd66539[_0x2229a0(0x48a)]))],_0x5e3fa4[_0x2229a0(0x46d)]);const _0x53e5a0=_0x158513['createIdentifier']('collaboration-client.local-cache-service');function _0x3941b5(_0x48d9cb){var _0x2c107b=_0x2229a0;return _0x2c107b(0x4d7)+_0x48d9cb;}var _0x464dce=Object['getOwnPropertyDescriptor'],_0x4737c5=(_0x25abd9,_0x64710c,_0x331b90,_0x152a48)=>{var _0x55f3c8=_0x2229a0;for(var _0x13ba17=_0x152a48>0x1?void 0x0:_0x152a48?_0x464dce(_0x64710c,_0x331b90):_0x64710c,_0x3c8237=_0x25abd9[_0x55f3c8(0x316)]-0x1,_0x97343e;_0x3c8237>=0x0;_0x3c8237--)(_0x97343e=_0x25abd9[_0x3c8237])&&(_0x13ba17=_0x97343e(_0x13ba17)||_0x13ba17);return _0x13ba17;},_0x455ab7=(_0x35e47f,_0x36898d)=>(_0x76c355,_0x148125)=>_0x36898d(_0x76c355,_0x148125,_0x35e47f);function _0x442ea1(_0x74dec4){var _0x4abbd9=_0x2229a0;const {unitID:_0x49da11,mutations:_0x1bba08}=_0x74dec4;return{'unitId':_0x49da11,'subUnitId':_0x1bba08[_0x4abbd9(0x316)]>0x0?_0x1bba08[0x0][_0x4abbd9(0x2df)][_0x4abbd9(0x4d9)]:null};}_0x5e3fa4['SheetTransformSelectionsService']=class{constructor(_0x399d42,_0x16a4fa,_0x1b93fb){var _0x3828fe=_0x2229a0;this['_injector']=_0x399d42,this[_0x3828fe(0x431)]=_0x16a4fa,this[_0x3828fe(0x363)]=_0x1b93fb;}[_0x2229a0(0x1eb)](_0x464716){var _0x28ada8=_0x2229a0,_0x52b0b0,_0xff1caf,_0x3823db,_0x25ddce;const _0x423211=this[_0x28ada8(0x315)][_0x28ada8(0x444)](_0x18f772[_0x28ada8(0x490)]),{unitId:_0xdc650a,subUnitId:_0x558b1}=_0x442ea1(_0x464716),_0x2cc404=_0x423211==null?void 0x0:_0x423211[_0x28ada8(0x298)](_0xdc650a)['getCurrentSelections'](),_0x50f99f=(_0xff1caf=(_0x52b0b0=this[_0x28ada8(0x363)][_0x28ada8(0x29e)](_0xdc650a))==null?void 0x0:_0x52b0b0[_0x28ada8(0x293)]())==null?void 0x0:_0xff1caf[_0x28ada8(0x19d)]();if(_0x2cc404[_0x28ada8(0x316)]===0x0||!_0xdc650a||!_0x558b1)return;const _0x5ef000=[{'id':_0x18f772[_0x28ada8(0x273)]['id'],'params':{'unitId':_0xdc650a,'subUnitId':_0x50f99f,'selections':_0x158513[_0x28ada8(0x512)][_0x28ada8(0x2dd)](_0x2cc404)}}],_0x9c9c35=this[_0x28ada8(0x431)][_0x28ada8(0x4ff)](_0x464716,_0x5ef000);if(!_0x35009e[_0x28ada8(0x478)](_0x9c9c35))throw _0x9c9c35[_0x28ada8(0x508)];const _0x5ddfc4=(_0x25ddce=(_0x3823db=_0x9c9c35['m2Prime'][0x0])==null?void 0x0:_0x3823db[_0x28ada8(0x2df)])==null?void 0x0:_0x25ddce[_0x28ada8(0x469)];if(Array[_0x28ada8(0x329)](_0x5ddfc4)&&_0x5ddfc4[_0x28ada8(0x316)]){if(_0x5ddfc4[_0x28ada8(0x316)]===_0x5ef000[0x0][_0x28ada8(0x2df)]['selections'][_0x28ada8(0x316)]&&_0x5ddfc4[_0x28ada8(0x374)]((_0x4ab574,_0x445163)=>_0x158513[_0x28ada8(0x41d)][_0x28ada8(0x19c)](_0x4ab574[_0x28ada8(0x22c)],_0x5ef000[0x0][_0x28ada8(0x2df)][_0x28ada8(0x469)][_0x445163][_0x28ada8(0x22c)])))return;this[_0x28ada8(0x315)]['get'](_0x158513[_0x28ada8(0x4e3)])['executeCommand'](_0x18f772[_0x28ada8(0x273)]['id'],{'unitId':_0xdc650a,'subUnitId':_0x50f99f,'selections':_0x5ddfc4});}}},_0x5e3fa4[_0x2229a0(0x3f3)]=_0x4737c5([_0x455ab7(0x0,_0x158513['Inject'](_0x158513['Injector'])),_0x455ab7(0x1,_0x35009e[_0x2229a0(0x446)]),_0x455ab7(0x2,_0x158513[_0x2229a0(0x4ad)])],_0x5e3fa4[_0x2229a0(0x3f3)]);const _0x25ea7f=_0x158513['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x309040=(_0x5020e2=>(_0x5020e2[_0x5020e2[_0x2229a0(0x4fc)]=0x0]=_0x2229a0(0x4fc),_0x5020e2[_0x5020e2[_0x2229a0(0x498)]=0x1]=_0x2229a0(0x498),_0x5020e2))(_0x309040||{});const _0x5e0130=_0x2229a0(0x492),_0x5ccedc={};function _0x2d3791(_0x27a3c2){var _0x11f55c=_0x2229a0,_0x4aece1;return!!((_0x4aece1=_0x27a3c2['params'])!=null&&_0x4aece1[_0x11f55c(0x4ed)]);}const _0x4f49f8=new Set([_0x18f772[_0x2229a0(0x324)]['id']]);function _0x26d5a0(_0x15cf12,_0x5aae5d,_0x43d7b1,_0x23b713,_0x5cedfb){var _0x4bb90a=_0x2229a0,_0x274527,_0x1a1903,_0xd61443,_0xcc5ccb;const _0x14f274=[];for(const _0x462ad1 of _0x15cf12){if(_0x4f49f8[_0x4bb90a(0x202)](_0x462ad1['id'])){if(_0x14f274['length']>0x0)break;_0x14f274[_0x4bb90a(0x4a3)](_0x462ad1);break;}if(_0x2d3791(_0x462ad1)){if(_0x14f274[_0x4bb90a(0x316)]>0x0)break;_0x14f274[_0x4bb90a(0x4a3)](_0x462ad1);break;}_0x14f274['push'](_0x462ad1);}const _0xfa894e=(_0x1a1903=(_0x274527=_0x5cedfb['getCurrentUser']())==null?void 0x0:_0x274527['userID'])!=null?_0x1a1903:_0x4bb90a(0x2cc),_0x4ce221=(_0xcc5ccb=(_0xd61443=_0x5cedfb['getCurrentUser']())==null?void 0x0:_0xd61443[_0x4bb90a(0x398)])!=null?_0xcc5ccb:_0x4bb90a(0x2cc);return{'changeset':{'unitID':_0x5aae5d,'type':_0x35009e[_0x4bb90a(0x347)](_0x43d7b1[_0x4bb90a(0x208)](_0x5aae5d)),'baseRev':_0x23b713[_0x4bb90a(0x2b4)](_0x5aae5d),'revision':0x0,'userID':_0xfa894e,'memberID':_0x4ce221,'mutations':_0x14f274},'pendingMutations':_0x15cf12['slice'](_0x14f274[_0x4bb90a(0x316)])};}function _0x150ab5(_0x225624,_0x184e8f,_0x25f0ff,_0x5edd15,_0x55fde7){var _0x3b9a74=_0x2229a0,_0x2e04a5,_0x56d7d5,_0x4ae9a1,_0x3bbb59;const _0x4aad24=[_0x225624[_0x3b9a74(0x245)]((_0x1d6d55,_0x543308)=>{var _0x2f053f=_0x3b9a74,_0x1352af;const {id:_0x139066}=_0x1d6d55,{id:_0x28c185,type:_0x16491e}=_0x543308,_0x31910a=(_0x1352af=_0x1d6d55[_0x2f053f(0x2df)])!=null?_0x1352af:{'actions':null},_0x5f18e7=_0x543308[_0x2f053f(0x2df)];if(_0x139066&&_0x139066!==_0x28c185)throw new Error(_0x2f053f(0x518)+_0x139066+'\x20-\x20'+_0x28c185+'.');return{..._0x1d6d55,'id':_0x28c185,'type':_0x16491e,'params':{'unitId':_0x5f18e7[_0x2f053f(0x506)],'textRanges':_0x5f18e7[_0x2f053f(0x204)],'actions':_0x158513[_0x2f053f(0x4f3)][_0x2f053f(0x3b9)](_0x31910a[_0x2f053f(0x311)],_0x5f18e7[_0x2f053f(0x311)])}};},{})],_0x3503e3=(_0x56d7d5=(_0x2e04a5=_0x55fde7['getCurrentUser']())==null?void 0x0:_0x2e04a5[_0x3b9a74(0x3d9)])!=null?_0x56d7d5:'unknown',_0x3cdc33=(_0x3bbb59=(_0x4ae9a1=_0x55fde7[_0x3b9a74(0x464)]())==null?void 0x0:_0x4ae9a1['memberID'])!=null?_0x3bbb59:_0x3b9a74(0x2cc);return{'changeset':{'unitID':_0x184e8f,'type':_0x35009e[_0x3b9a74(0x347)](_0x25f0ff[_0x3b9a74(0x208)](_0x184e8f)),'baseRev':_0x5edd15[_0x3b9a74(0x2b4)](_0x184e8f),'revision':0x0,'userID':_0x3503e3,'memberID':_0x3cdc33,'mutations':_0x4aad24},'pendingMutations':[]};}function _0xfd43e4(_0x23f088,_0x4a6231){var _0x2407e6=_0x2229a0;const _0x42c3ff=new _0x32f9ef[(_0x2407e6(0x3ae))](0x1);return setTimeout(()=>_0x42c3ff['next'](_0x4a6231),_0x23f088),_0x42c3ff[_0x2407e6(0x1d1)]()[_0x2407e6(0x3fa)](_0x32f9ef[_0x2407e6(0x23b)](0x1));}var _0x301b6e=Object[_0x2229a0(0x330)],_0x563741=(_0x33830f,_0x2be161,_0x2dd367,_0x56ebb6)=>{for(var _0x26357e=_0x56ebb6>0x1?void 0x0:_0x56ebb6?_0x301b6e(_0x2be161,_0x2dd367):_0x2be161,_0x1a3eb2=_0x33830f['length']-0x1,_0x3e89fc;_0x1a3eb2>=0x0;_0x1a3eb2--)(_0x3e89fc=_0x33830f[_0x1a3eb2])&&(_0x26357e=_0x3e89fc(_0x26357e)||_0x26357e);return _0x26357e;},_0x2cc99c=(_0x4d2355,_0x217375)=>(_0x5cd36d,_0x2afd52)=>_0x217375(_0x5cd36d,_0x2afd52,_0x4d2355),_0x3eee43=(_0x2b55ef=>(_0x2b55ef[_0x2229a0(0x3bd)]=_0x2229a0(0x476),_0x2b55ef[_0x2229a0(0x1fe)]=_0x2229a0(0x256),_0x2b55ef[_0x2229a0(0x396)]='pending',_0x2b55ef[_0x2229a0(0x1dc)]='awaiting',_0x2b55ef[_0x2229a0(0x4a4)]='awaiting_with_pending',_0x2b55ef[_0x2229a0(0x1e6)]='fetch_missing',_0x2b55ef[_0x2229a0(0x451)]=_0x2229a0(0x3b5),_0x2b55ef[_0x2229a0(0x3d1)]=_0x2229a0(0x4b5),_0x2b55ef))(_0x3eee43||{});const _0x5f0507=0x4e20,_0x428c3c=0x2bf20;class _0xec761{constructor(_0x28b996,_0x25b54c,_0x1fe5c1,_0x410889,_0x513916,_0x2770cd,_0x4697bc,_0x4a3d24,_0x4a95be){var _0x5514a8=_0x2229a0;_0x4b59b5(this,_0x5514a8(0x25c),null),_0x4b59b5(this,_0x5514a8(0x1ca),[]),(this[_0x5514a8(0x350)]=_0x28b996,this[_0x5514a8(0x4b3)]=_0x25b54c,this[_0x5514a8(0x1c3)]=_0x513916,this[_0x5514a8(0x197)]=_0x2770cd,this[_0x5514a8(0x4c3)]=_0x4697bc,this['_revisionService']=_0x4a3d24,this[_0x5514a8(0x34a)]=_0x4a95be,this[_0x5514a8(0x25c)]=_0x1fe5c1,this[_0x5514a8(0x1ca)]=_0x410889);}['_checkMissing'](_0x5a47e6){var _0x44f3bf=_0x2229a0;const _0x267ab0=this['_revisionService']['getCurrentRevOfUnit'](this[_0x44f3bf(0x350)]);return _0x5a47e6[_0x44f3bf(0x2c1)]>_0x267ab0+0x1?(this[_0x44f3bf(0x1c3)][_0x44f3bf(0x52a)]({'from':_0x267ab0,'to':_0x5a47e6[_0x44f3bf(0x2c1)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3bb7b3){var _0x200136=_0x2229a0;this[_0x200136(0x4c3)]['transformUndoRedo'](this['unitID'],_0x3bb7b3);}[_0x2229a0(0x47b)](_0x12ab54){var _0x5e732c=_0x2229a0,_0x104372,_0x38197a;(_0x38197a=(_0x104372=this[_0x5e732c(0x1c3)])[_0x5e732c(0x3eb)])==null||_0x38197a[_0x5e732c(0x2d1)](_0x104372,_0x12ab54);}['_transformIMECache'](_0x143aac){var _0x3a66c7=_0x2229a0,_0x448f29,_0x3efef8;return(_0x3efef8=(_0x448f29=this[_0x3a66c7(0x1c3)])['onTransformIME'])==null?void 0x0:_0x3efef8['call'](_0x448f29,_0x143aac);}['_transformStateCache'](_0x107519){var _0x279b66=_0x2229a0,_0x2f7455,_0x34dc32;return(_0x34dc32=(_0x2f7455=this[_0x279b66(0x1c3)])[_0x279b66(0x44e)])==null?void 0x0:_0x34dc32[_0x279b66(0x2d1)](_0x2f7455,_0x107519);}[_0x2229a0(0x337)](_0x57238a){var _0x9fcab3=_0x2229a0,_0xf36b9c,_0x42ecb8,_0x34be58;return(_0x34be58=(_0x42ecb8=(_0xf36b9c=this[_0x9fcab3(0x1c3)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x42ecb8[_0x9fcab3(0x2d1)](_0xf36b9c,_0x57238a))!=null?_0x34be58:_0x57238a;}[_0x2229a0(0x461)](_0x57dbf5){var _0x3a429a=_0x2229a0,_0x4e19a4,_0x13bb8c,_0x59588f;return(_0x59588f=(_0x13bb8c=(_0x4e19a4=this[_0x3a429a(0x1c3)])[_0x3a429a(0x449)])==null?void 0x0:_0x13bb8c['call'](_0x4e19a4,_0x57dbf5))!=null?_0x59588f:_0x57dbf5;}[_0x2229a0(0x496)](_0x580537){var _0x3fc181=_0x2229a0,_0x13e3fc,_0x27ea76;if(this[_0x3fc181(0x4b3)]===_0x24c96d[_0x3fc181(0x275)]){const {unitID:_0x4ccf5f,mutations:_0x3e13fa,memberID:_0x9f5208}=_0x580537,_0x4badfa=_0x3e13fa[_0x3fc181(0x316)]>0x0?_0x3e13fa[0x0][_0x3fc181(0x2df)][_0x3fc181(0x204)]:[];Array[_0x3fc181(0x329)](_0x4badfa)&&_0x4badfa[_0x3fc181(0x316)]>0x0&&((_0x27ea76=(_0x13e3fc=this[_0x3fc181(0x1c3)])[_0x3fc181(0x1fb)])==null||_0x27ea76[_0x3fc181(0x2d1)](_0x13e3fc,{'unitID':_0x4ccf5f,'memberID':_0x9f5208,'textRanges':_0x4badfa}));}}[_0x2229a0(0x2c0)](){var _0x574874=_0x2229a0,_0x341829;(_0x341829=this[_0x574874(0x34a)])==null||_0x341829[_0x574874(0x20f)](this[_0x574874(0x350)],this[_0x574874(0x4b3)],this[_0x574874(0x25c)],this[_0x574874(0x1ca)]);}[_0x2229a0(0x37d)](){var _0x398090=_0x2229a0;return this['_revisionService'][_0x398090(0x2b4)](this[_0x398090(0x350)]);}[_0x2229a0(0x1c6)](){var _0x4b9547=_0x2229a0;this[_0x4b9547(0x34c)][_0x4b9547(0x370)](this['unitID']);}[_0x2229a0(0x1aa)](_0x44ec78){var _0x2fe9c4=_0x2229a0,_0x4ea012;let _0x2437e1=this['_transformRemoteChangesetByIMECache'](_0x44ec78);_0x2437e1=this[_0x2fe9c4(0x461)](_0x2437e1);const _0x85deb3=_0x158513[_0x2fe9c4(0x482)](_0x2437e1[_0x2fe9c4(0x3b3)],this[_0x2fe9c4(0x197)],{'fromCollab':!0x0});if(!_0x85deb3[_0x2fe9c4(0x3e2)])throw _0x85deb3['error']instanceof Error?_0x85deb3['error']:new Error((_0x4ea012=_0x85deb3[_0x2fe9c4(0x508)])!=null?_0x4ea012:_0x2fe9c4(0x33f));this[_0x2fe9c4(0x3fb)](_0x2437e1),this[_0x2fe9c4(0x30a)](_0x2437e1),this[_0x2fe9c4(0x44c)](_0x44ec78),this['_transformSelections'](_0x2437e1),this[_0x2fe9c4(0x496)](_0x2437e1),this['_incrementRevisionNumber']();}}_0x5e3fa4['SyncedState']=class extends _0xec761{constructor(_0x2ef943,_0x1d7de4,_0x2372b5,_0x5c99cc,_0x3656df,_0x38a2d4,_0x391d34,_0xa5dfb7,_0x4edc0b,_0x8203ee){var _0x5db08e=_0x2229a0;super(_0x2ef943,_0x1d7de4,null,[],_0x2372b5,_0x391d34,_0x38a2d4,_0x5c99cc,_0x8203ee),_0x4b59b5(this,_0x5db08e(0x2e2),_0x5db08e(0x256)),(this[_0x5db08e(0x315)]=_0x3656df,this[_0x5db08e(0x501)]=_0xa5dfb7,this[_0x5db08e(0x431)]=_0x4edc0b,this['localCacheService']=_0x8203ee);}[_0x2229a0(0x1e3)](_0x40065a){var _0x436715=_0x2229a0;const _0x56032d=this[_0x436715(0x315)][_0x436715(0x49c)](_0x5e3fa4[_0x436715(0x2a8)],this[_0x436715(0x350)],this[_0x436715(0x4b3)],[_0x40065a],this['_handler']);return _0x56032d['_schedule'](),_0x56032d[_0x436715(0x2c0)](),_0x56032d;}[_0x2229a0(0x4b9)](_0x5f3abc){var _0x2492dd=_0x2229a0;if(this[_0x2492dd(0x259)](_0x5f3abc))return this[_0x2492dd(0x315)][_0x2492dd(0x49c)](_0x5e3fa4[_0x2492dd(0x47a)],this[_0x2492dd(0x350)],this[_0x2492dd(0x4b3)],null,[],null,[_0x5f3abc],this['_handler']);try{const _0x2f39ff=this[_0x2492dd(0x431)][_0x2492dd(0x4ff)](_0x5f3abc,[_0x35009e['EmptyMutationInfo']]);if(_0x35009e[_0x2492dd(0x478)](_0x2f39ff)){const {c1Prime:_0x3db86f}=_0x2f39ff;return this[_0x2492dd(0x1aa)](_0x3db86f),this;}throw _0x2f39ff[_0x2492dd(0x508)];}catch(_0xc81dcd){return this[_0x2492dd(0x501)][_0x2492dd(0x508)](_0xc81dcd),this['_onConflict'](!0x1);}}[_0x2229a0(0x527)](_0x2daccf){var _0x113cb3=_0x2229a0;return this[_0x113cb3(0x315)][_0x113cb3(0x49c)](_0x5e3fa4['ConflictState'],this[_0x113cb3(0x350)],this['type'],null,[],this[_0x113cb3(0x1c3)],_0x2daccf);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xcb54ce=_0x2229a0;throw new Error(_0xcb54ce(0x50a));}['onRemoteRetry'](){return this;}[_0x2229a0(0x38d)](){var _0x34b286=_0x2229a0;return this[_0x34b286(0x315)][_0x34b286(0x49c)](_0x5e3fa4['OfflineState'],this['unitID'],this[_0x34b286(0x4b3)],null,[],this[_0x34b286(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x1891d7=_0x2229a0;throw new Error(_0x1891d7(0x290));}[_0x2229a0(0x291)](){var _0x1e208f=_0x2229a0;const _0x2c55c1=this[_0x1e208f(0x34c)][_0x1e208f(0x2b4)](this[_0x1e208f(0x350)]);return this[_0x1e208f(0x1c3)]['onMissingChangesets']({'from':_0x2c55c1,'to':0x0}),this['_injector']['createInstance'](_0x5e3fa4[_0x1e208f(0x47a)],this['unitID'],this[_0x1e208f(0x4b3)],null,[],null,[],this['_handler']);}},_0x5e3fa4[_0x2229a0(0x39b)]=_0x563741([_0x2cc99c(0x3,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x4,_0x158513['Inject'](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x5,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0x6,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0x8,_0x35009e[_0x2229a0(0x446)]),_0x2cc99c(0x9,_0x158513['Optional'](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x39b)]),_0x5e3fa4['PendingState']=class extends _0xec761{constructor(_0x14ff7b,_0x338af5,_0x2ea394,_0x537a1c,_0x18aeef,_0x10414f,_0x1c9568,_0x2d796c,_0x2f8420,_0x4c7e4b,_0x1c55c4,_0x5156d2,_0x3e82a7,_0xc173e7){var _0x23890b=_0x2229a0;super(_0x14ff7b,_0x338af5,null,_0x2ea394,_0x537a1c,_0x2f8420,_0x3e82a7,_0x10414f,_0xc173e7),_0x4b59b5(this,_0x23890b(0x2e2),'pending'),_0x4b59b5(this,_0x23890b(0x4bf),null),_0x4b59b5(this,_0x23890b(0x1ff),null),(this[_0x23890b(0x315)]=_0x18aeef,this[_0x23890b(0x44f)]=_0x1c9568,this[_0x23890b(0x501)]=_0x2d796c,this[_0x23890b(0x24f)]=_0x4c7e4b,this[_0x23890b(0x431)]=_0x1c55c4,this['_univerInstanceService']=_0x5156d2);}[_0x2229a0(0x1e3)](_0x50e56a){var _0x194ae1=_0x2229a0;return this['_pendingMutations']['push'](_0x50e56a),this[_0x194ae1(0x2c0)](),this;}[_0x2229a0(0x4b9)](_0x585510){var _0x5fba01=_0x2229a0;if(this[_0x5fba01(0x259)](_0x585510))return this[_0x5fba01(0x4f7)](),this[_0x5fba01(0x315)][_0x5fba01(0x49c)](_0x5e3fa4[_0x5fba01(0x47a)],this[_0x5fba01(0x350)],this[_0x5fba01(0x4b3)],null,this[_0x5fba01(0x1ca)],null,[_0x585510],this[_0x5fba01(0x1c3)]);try{const _0x3e5681=this[_0x5fba01(0x431)]['transformMutationsWithChangeset'](_0x585510,this['_pendingMutations']);if(_0x35009e[_0x5fba01(0x478)](_0x3e5681)){const {c1Prime:_0x4e73b9,m2Prime:_0x4c39af}=_0x3e5681;this[_0x5fba01(0x1aa)](_0x4e73b9);const _0x1ac218=this[_0x5fba01(0x315)][_0x5fba01(0x49c)](_0x5e3fa4['PendingState'],this[_0x5fba01(0x350)],this[_0x5fba01(0x4b3)],_0x4c39af,this[_0x5fba01(0x1c3)]);this[_0x5fba01(0x4f7)]();const _0x5a643e=new Date()[_0x5fba01(0x2ef)](),_0x26fbde=this['_scheduleCompleteTimestamp']?Math[_0x5fba01(0x392)](this[_0x5fba01(0x4bf)]-_0x5a643e,0x0):this[_0x5fba01(0x261)]();return _0x1ac218[_0x5fba01(0x221)](_0x26fbde),_0x1ac218;}throw _0x3e5681[_0x5fba01(0x508)];}catch(_0x257d4f){return this['_logService'][_0x5fba01(0x508)](_0x257d4f),this['_onConflict'](!0x1);}}[_0x2229a0(0x406)](){var _0x196428=_0x2229a0;throw new Error(_0x196428(0x3be));}[_0x2229a0(0x4b1)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2229a0(0x38d)](){var _0x22b707=_0x2229a0;return this[_0x22b707(0x4f7)](),this[_0x22b707(0x315)][_0x22b707(0x49c)](_0x5e3fa4[_0x22b707(0x24b)],this['unitID'],this[_0x22b707(0x4b3)],null,this[_0x22b707(0x1ca)],this[_0x22b707(0x1c3)]);}[_0x2229a0(0x229)](){return this;}['_schedule'](_0x51ac64){var _0x124a9c=_0x2229a0;const _0xe70336=_0x51ac64!=null?_0x51ac64:this[_0x124a9c(0x261)]();this['_scheduleCompleteTimestamp']=new Date()[_0x124a9c(0x2ef)]()+_0xe70336,this['_sendingTimer']=setTimeout(()=>{var _0x51b559=_0x124a9c;this[_0x51b559(0x4f7)]();let _0x2fbd53=null;switch(this[_0x51b559(0x4b3)]){case _0x24c96d[_0x51b559(0x394)]:{_0x2fbd53=_0x26d5a0(this[_0x51b559(0x1ca)],this[_0x51b559(0x350)],this[_0x51b559(0x1ae)],this['_revisionService'],this['_memberService']);break;}case _0x24c96d[_0x51b559(0x275)]:{this[_0x51b559(0x1ca)][_0x51b559(0x374)](_0x3cbd09=>_0x3cbd09['id']===_0xc7e141[_0x51b559(0x4f9)]['id'])?_0x2fbd53=_0x150ab5(this[_0x51b559(0x1ca)],this[_0x51b559(0x350)],this[_0x51b559(0x1ae)],this[_0x51b559(0x34c)],this['_memberService']):_0x2fbd53=_0x26d5a0(this[_0x51b559(0x1ca)],this[_0x51b559(0x350)],this['_univerInstanceService'],this['_revisionService'],this[_0x51b559(0x44f)]);break;}default:throw new Error(_0x51b559(0x361)+this[_0x51b559(0x4b3)]+_0x51b559(0x4ca));}const {changeset:_0xf5dcd2,pendingMutations:_0x2f752b}=_0x2fbd53;this[_0x51b559(0x1c3)]['onSendChangeset'](_0xf5dcd2);const _0x174936=_0x2f752b[_0x51b559(0x316)]?this[_0x51b559(0x315)][_0x51b559(0x49c)](_0x5e3fa4['AwaitingWithPendingState'],this[_0x51b559(0x350)],this[_0x51b559(0x4b3)],_0xf5dcd2,_0x2f752b,this[_0x51b559(0x1c3)],void 0x0):this['_injector'][_0x51b559(0x49c)](_0x5e3fa4[_0x51b559(0x1b6)],this[_0x51b559(0x350)],this[_0x51b559(0x4b3)],_0xf5dcd2,this[_0x51b559(0x1c3)]);_0x174936[_0x51b559(0x2c0)](),this['_handler'][_0x51b559(0x4b0)](this,_0x174936);},_0xe70336);}[_0x2229a0(0x261)](){var _0x52fa60=_0x2229a0,_0x5b250a;const _0x459c81=this['_configService'][_0x52fa60(0x247)](_0x5e0130);return(_0x5b250a=_0x459c81==null?void 0x0:_0x459c81[_0x52fa60(0x1a9)])!=null?_0x5b250a:0x7d0;}['resend'](){var _0x553fb9=_0x2229a0;throw new Error(_0x553fb9(0x3b6));}[_0x2229a0(0x4f7)](){var _0x11a290=_0x2229a0;this[_0x11a290(0x1ff)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x11a290(0x1ff)]=null);}[_0x2229a0(0x527)](_0x46e81e){var _0x584004=_0x2229a0;return this[_0x584004(0x4f7)](),this[_0x584004(0x315)]['createInstance'](_0x5e3fa4[_0x584004(0x2bb)],this[_0x584004(0x350)],this[_0x584004(0x4b3)],null,this[_0x584004(0x1ca)],this['_handler'],_0x46e81e);}},_0x5e3fa4[_0x2229a0(0x2a8)]=_0x563741([_0x2cc99c(0x4,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x5,_0x158513[_0x2229a0(0x1c1)](_0x35009e['RevisionService'])),_0x2cc99c(0x6,_0x158513['Inject'](_0x5e3fa4[_0x2229a0(0x357)])),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0x8,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x4c2)]),_0x2cc99c(0xa,_0x35009e['ITransformService']),_0x2cc99c(0xb,_0x158513['IUniverInstanceService']),_0x2cc99c(0xc,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x2a8)]),_0x5e3fa4[_0x2229a0(0x1b6)]=class extends _0xec761{constructor(_0x1d3471,_0x355082,_0x3aaae6,_0x20942b,_0x5ac19f,_0x293d8c,_0x5776b7,_0x5536d6,_0x5a991f,_0x2d83fe,_0x9014e1){var _0x2f899d=_0x2229a0;super(_0x1d3471,_0x355082,_0x3aaae6,[],_0x20942b,_0x5776b7,_0x2d83fe,_0x293d8c,_0x9014e1),_0x4b59b5(this,'status',_0x2f899d(0x4a7)),_0x4b59b5(this,_0x2f899d(0x52c),0x0),_0x4b59b5(this,_0x2f899d(0x351),0x0),_0x4b59b5(this,'_resendTimer'),_0x4b59b5(this,_0x2f899d(0x389)),(this['_injector']=_0x5ac19f,this[_0x2f899d(0x501)]=_0x5536d6,this[_0x2f899d(0x431)]=_0x5a991f);}[_0x2229a0(0x1e3)](_0x26f83e){var _0x53dc56=_0x2229a0;this[_0x53dc56(0x4f7)]();const _0x44e6ec=this[_0x53dc56(0x315)][_0x53dc56(0x49c)](_0x5e3fa4['AwaitingWithPendingState'],this['unitID'],this[_0x53dc56(0x4b3)],this[_0x53dc56(0x25c)],[_0x26f83e],this[_0x53dc56(0x1c3)],this['_resendTimer']);return _0x44e6ec[_0x53dc56(0x2c0)](),_0x44e6ec;}['onRemoteChangeset'](_0x3fbc7b){var _0x3f80d8=_0x2229a0;if(this[_0x3f80d8(0x259)](_0x3fbc7b))return this['_clearScheduledTask'](),this[_0x3f80d8(0x315)]['createInstance'](_0x5e3fa4[_0x3f80d8(0x47a)],this[_0x3f80d8(0x350)],this[_0x3f80d8(0x4b3)],this[_0x3f80d8(0x25c)],[],null,[_0x3fbc7b],this[_0x3f80d8(0x1c3)]);try{const _0xed83f2=this[_0x3f80d8(0x431)][_0x3f80d8(0x231)]([_0x3fbc7b],[this['_awaitingChangeset']],!0x1);if(_0x35009e[_0x3f80d8(0x23f)](_0xed83f2)){const {c1Prime:_0x2714d0,c2Prime:_0x62974f}=_0xed83f2;this[_0x3f80d8(0x1aa)](_0x2714d0[0x0]),_0x62974f[0x0][_0x3f80d8(0x3f2)]=this['_getCurrentRevision'](),this[_0x3f80d8(0x4f7)]();const _0x4d0c73=this[_0x3f80d8(0x315)][_0x3f80d8(0x49c)](_0x5e3fa4[_0x3f80d8(0x1b6)],this[_0x3f80d8(0x350)],this[_0x3f80d8(0x4b3)],_0x62974f[0x0],this[_0x3f80d8(0x1c3)]);return _0x4d0c73[_0x3f80d8(0x2c0)](),_0x4d0c73;}return this[_0x3f80d8(0x527)](!0x1);}catch(_0x37de1b){return this['_logService'][_0x3f80d8(0x508)](_0x37de1b),this[_0x3f80d8(0x527)](!0x1);}}[_0x2229a0(0x406)](_0x1adbff){var _0x3c2794=_0x2229a0;this[_0x3c2794(0x4f7)]();const _0x204ac9=this['_revisionService'][_0x3c2794(0x2b4)](this['unitID']);if(_0x1adbff[_0x3c2794(0x2c1)]<_0x204ac9-0x1)return this;if(this[_0x3c2794(0x259)](_0x1adbff))return this[_0x3c2794(0x315)]['createInstance'](_0x5e3fa4['FetchingMissState'],this[_0x3c2794(0x350)],this[_0x3c2794(0x4b3)],null,[],this['_awaitingChangeset'],[],this[_0x3c2794(0x1c3)]);this[_0x3c2794(0x1c6)]();const _0x33f291=this['_injector'][_0x3c2794(0x49c)](_0x5e3fa4[_0x3c2794(0x39b)],this[_0x3c2794(0x350)],this['type'],this[_0x3c2794(0x1c3)]);return _0x33f291['_updateLocalCache'](),_0x33f291;}[_0x2229a0(0x4b1)](_0xb19d61){var _0x568315=_0x2229a0;return this[_0x568315(0x527)](!!(_0xb19d61!=null&&_0xb19d61[_0x568315(0x2f7)]));}['onRemoteRetry'](_0x31e87c){var _0x3013ae=_0x2229a0;return this['_maxTotalRetryTimeout']>_0x428c3c?this[_0x3013ae(0x38d)]():(this['_resendTimer']=_0xfd43e4(this[_0x3013ae(0x52c)],{'timeout':this[_0x3013ae(0x52c)],'reqId':_0x31e87c[_0x3013ae(0x24d)]}),this[_0x3013ae(0x389)]=this[_0x3013ae(0x43c)][_0x3013ae(0x206)](({reqId:_0x27038b,timeout:_0x30d37a})=>{this['_resendWithTimeout'](_0x27038b,_0x30d37a);}),this);}[_0x2229a0(0x38d)](){var _0x3f51ca=_0x2229a0;return this[_0x3f51ca(0x4f7)](),this[_0x3f51ca(0x315)][_0x3f51ca(0x49c)](_0x5e3fa4[_0x3f51ca(0x24b)],this[_0x3f51ca(0x350)],this[_0x3f51ca(0x4b3)],this[_0x3f51ca(0x25c)],[],this[_0x3f51ca(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x11425a=_0x2229a0;this[_0x11425a(0x1c3)][_0x11425a(0x474)](this[_0x11425a(0x25c)]);}['_onConflict'](_0x33f279){var _0x3fd781=_0x2229a0;return this[_0x3fd781(0x4f7)](),this[_0x3fd781(0x315)][_0x3fd781(0x49c)](_0x5e3fa4[_0x3fd781(0x2bb)],this['unitID'],this[_0x3fd781(0x4b3)],this['_awaitingChangeset'],[],this[_0x3fd781(0x1c3)],_0x33f279);}[_0x2229a0(0x33a)](_0x395649,_0x31177f){var _0x129818=_0x2229a0,_0xafe8a0;_0x395649===((_0xafe8a0=this[_0x129818(0x25c)])==null?void 0x0:_0xafe8a0['reqId'])&&(this['resend'](),this[_0x129818(0x52c)]=_0x31177f===0x0?0x3e8:Math['min'](_0x31177f*0x2,_0x5f0507),this['_maxTotalRetryTimeout']+=this[_0x129818(0x52c)]);}['_clearScheduledTask'](){var _0x1fdfeb=_0x2229a0,_0x46315d;(_0x46315d=this[_0x1fdfeb(0x389)])==null||_0x46315d[_0x1fdfeb(0x415)](),this[_0x1fdfeb(0x52c)]=0x0,this[_0x1fdfeb(0x351)]=0x0;}},_0x5e3fa4[_0x2229a0(0x1b6)]=_0x563741([_0x2cc99c(0x4,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x5,_0x158513['Inject'](_0x35009e['RevisionService'])),_0x2cc99c(0x6,_0x158513['ICommandService']),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0x8,_0x35009e[_0x2229a0(0x446)]),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0xa,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x1b6)]),_0x5e3fa4[_0x2229a0(0x358)]=class extends _0xec761{constructor(_0x1c9786,_0x1fc2c1,_0x423429,_0x4cf90f,_0x4afb76,_0x581547,_0x366224,_0x237623,_0x18cffe,_0x3b7f63,_0x4bf2b2,_0xb662fd,_0x1afb7d){var _0x2ba15b=_0x2229a0;super(_0x1c9786,_0x1fc2c1,_0x423429,_0x4cf90f,_0x4afb76,_0x18cffe,_0xb662fd,_0x237623,_0x1afb7d),_0x4b59b5(this,_0x2ba15b(0x2e2),_0x2ba15b(0x260)),_0x4b59b5(this,_0x2ba15b(0x52c),0x0),_0x4b59b5(this,_0x2ba15b(0x351),0x0),_0x4b59b5(this,'_resendTimer'),_0x4b59b5(this,_0x2ba15b(0x389)),(this[_0x2ba15b(0x315)]=_0x366224,this[_0x2ba15b(0x501)]=_0x3b7f63,this['_transformService']=_0x4bf2b2,this[_0x2ba15b(0x38b)]=_0x1afb7d,_0x581547&&(this[_0x2ba15b(0x43c)]=_0x581547,this[_0x2ba15b(0x389)]=this[_0x2ba15b(0x43c)][_0x2ba15b(0x206)](({reqId:_0xfb882d,timeout:_0xef66ea})=>{this['_resendWithTimeout'](_0xfb882d,_0xef66ea);})));}['appendMutation'](_0x3aba3f){var _0x3e4910=_0x2229a0;return this[_0x3e4910(0x1ca)][_0x3e4910(0x4a3)](_0x3aba3f),this;}[_0x2229a0(0x4b9)](_0x1a042b){var _0x2c97c6=_0x2229a0;if(this[_0x2c97c6(0x259)](_0x1a042b))return this[_0x2c97c6(0x4f7)](),this[_0x2c97c6(0x315)][_0x2c97c6(0x49c)](_0x5e3fa4[_0x2c97c6(0x47a)],this[_0x2c97c6(0x350)],this[_0x2c97c6(0x4b3)],this[_0x2c97c6(0x25c)],this[_0x2c97c6(0x1ca)],null,[_0x1a042b],this[_0x2c97c6(0x1c3)]);try{const _0x5d602b=this[_0x2c97c6(0x431)][_0x2c97c6(0x231)]([_0x1a042b],[this['_awaitingChangeset']],!0x1);if(_0x35009e['isTransformChangesetsSuccess'](_0x5d602b)){const {c1Prime:_0x35b96b,c2Prime:_0x4e3733}=_0x5d602b,_0x1b3af1=this['_transformService'][_0x2c97c6(0x4ff)](_0x35b96b[0x0],this[_0x2c97c6(0x1ca)]);if(_0x35009e[_0x2c97c6(0x478)](_0x1b3af1)){const {c1Prime:_0x5a4d3c,m2Prime:_0x21b58f}=_0x1b3af1;return this['_executeRemoteChangeset'](_0x5a4d3c),_0x4e3733[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x2c97c6(0x4f7)](),this['_injector'][_0x2c97c6(0x49c)](_0x5e3fa4[_0x2c97c6(0x358)],this[_0x2c97c6(0x350)],this['type'],_0x4e3733[0x0],_0x21b58f,this[_0x2c97c6(0x1c3)],void 0x0);}throw _0x1b3af1[_0x2c97c6(0x508)];}throw _0x5d602b['error'];}catch(_0x1038a4){return this[_0x2c97c6(0x501)][_0x2c97c6(0x508)](_0x1038a4),this[_0x2c97c6(0x527)](!0x1);}}['onRemoteAck'](_0x459abb){var _0x506ab9=_0x2229a0;if(this[_0x506ab9(0x4f7)](),this[_0x506ab9(0x259)](_0x459abb))return this[_0x506ab9(0x315)]['createInstance'](_0x5e3fa4['FetchingMissState'],this[_0x506ab9(0x350)],this[_0x506ab9(0x4b3)],null,this[_0x506ab9(0x1ca)],this[_0x506ab9(0x25c)],[],this[_0x506ab9(0x1c3)]);this[_0x506ab9(0x1c6)]();const _0xa855f6=this['_injector'][_0x506ab9(0x49c)](_0x5e3fa4[_0x506ab9(0x2a8)],this[_0x506ab9(0x350)],this[_0x506ab9(0x4b3)],this[_0x506ab9(0x1ca)],this['_handler']);return _0xa855f6[_0x506ab9(0x221)](),_0xa855f6[_0x506ab9(0x2c0)](),_0xa855f6;}[_0x2229a0(0x4b1)](_0x412a55){var _0x52af23=_0x2229a0;return this[_0x52af23(0x527)](!!(_0x412a55!=null&&_0x412a55[_0x52af23(0x2f7)]));}[_0x2229a0(0x528)](_0xb92c0c){var _0x35ed5e=_0x2229a0;return this[_0x35ed5e(0x351)]>_0x428c3c?this[_0x35ed5e(0x38d)]():(this['_resendTimer']=_0xfd43e4(this[_0x35ed5e(0x52c)],{'timeout':this[_0x35ed5e(0x52c)],'reqId':_0xb92c0c['reqId']}),this[_0x35ed5e(0x389)]=this[_0x35ed5e(0x43c)][_0x35ed5e(0x206)](({reqId:_0x455bad,timeout:_0x54fb35})=>{this['_resendWithTimeout'](_0x455bad,_0x54fb35);}),this);}['toggleOffline'](){var _0x3cdecd=_0x2229a0;return this[_0x3cdecd(0x4f7)](),this[_0x3cdecd(0x315)][_0x3cdecd(0x49c)](_0x5e3fa4[_0x3cdecd(0x24b)],this[_0x3cdecd(0x350)],this[_0x3cdecd(0x4b3)],this['_awaitingChangeset'],this[_0x3cdecd(0x1ca)],this[_0x3cdecd(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x2ff984=_0x2229a0;this[_0x2ff984(0x1c3)][_0x2ff984(0x474)](this[_0x2ff984(0x25c)]);}['_onConflict'](_0x8b639d){var _0x136b8f=_0x2229a0;return this[_0x136b8f(0x4f7)](),this[_0x136b8f(0x315)][_0x136b8f(0x49c)](_0x5e3fa4['ConflictState'],this[_0x136b8f(0x350)],this[_0x136b8f(0x4b3)],null,this[_0x136b8f(0x1ca)],this[_0x136b8f(0x1c3)],_0x8b639d);}[_0x2229a0(0x33a)](_0x5f5074,_0x46303e){var _0x380016=_0x2229a0,_0x4043e4;_0x5f5074===((_0x4043e4=this[_0x380016(0x25c)])==null?void 0x0:_0x4043e4[_0x380016(0x24d)])&&(this[_0x380016(0x378)](),this[_0x380016(0x52c)]=_0x46303e===0x0?0x3e8:Math['min'](_0x46303e*0x2,_0x5f0507),this[_0x380016(0x351)]+=this[_0x380016(0x52c)]);}[_0x2229a0(0x4f7)](){var _0xb7c4f1=_0x2229a0,_0x4c9a0b;(_0x4c9a0b=this['_sender'])==null||_0x4c9a0b[_0xb7c4f1(0x415)](),this[_0xb7c4f1(0x52c)]=0x0,this[_0xb7c4f1(0x351)]=0x0;}},_0x5e3fa4[_0x2229a0(0x358)]=_0x563741([_0x2cc99c(0x6,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x7,_0x158513['Inject'](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x8,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0xa,_0x35009e[_0x2229a0(0x446)]),_0x2cc99c(0xb,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0xc,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x358)]),_0x5e3fa4[_0x2229a0(0x2bb)]=class extends _0xec761{constructor(_0xb49555,_0x13cbae,_0x399195,_0x1d5fd4,_0x175cd7,_0x1917d4=!0x1,_0x6d5c9f,_0x314e78,_0x2d6d29,_0x4164f3,_0x50fed4,_0x50d49d,_0x27fa4c){var _0x25b5e4=_0x2229a0;super(_0xb49555,_0x13cbae,_0x399195,_0x1d5fd4,_0x175cd7,_0x314e78,_0x2d6d29,_0x4164f3,_0x27fa4c),_0x4b59b5(this,_0x25b5e4(0x2e2),_0x25b5e4(0x3b5)),(this[_0x25b5e4(0x4f1)]=_0x1917d4,this[_0x25b5e4(0x4c1)]=_0x6d5c9f,this[_0x25b5e4(0x246)]=_0x50fed4,this[_0x25b5e4(0x388)]=_0x50d49d,this[_0x25b5e4(0x38b)]=_0x27fa4c,this['_showConflictNotification'](),this[_0x25b5e4(0x1b4)](),this[_0x25b5e4(0x46e)]());}[_0x2229a0(0x1e3)](){return this;}[_0x2229a0(0x4b9)](){return this;}['onRemoteAck'](){return this;}[_0x2229a0(0x4b1)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x49f7bd=_0x2229a0;throw new Error(_0x49f7bd(0x248));}[_0x2229a0(0x1b4)](){var _0x551a22=_0x2229a0,_0x1064b0;(_0x1064b0=this[_0x551a22(0x34a)])==null||_0x1064b0['updateOfflineData'](this[_0x551a22(0x350)],this['type'],null,[]);}[_0x2229a0(0x219)](){var _0x158cfd=_0x2229a0;this[_0x158cfd(0x4f1)]?this['_collaborationUIEventService'][_0x158cfd(0x4a6)]({'id':_0x306c72['PERMISSION_DENIED']}):this[_0x158cfd(0x388)][_0x158cfd(0x4a6)]({'id':_0x306c72[_0x158cfd(0x451)]});}[_0x2229a0(0x46e)](){var _0x579d3f=_0x2229a0;this[_0x579d3f(0x4c1)][_0x579d3f(0x534)](new _0x18f772['WorkbookEditablePermission'](this[_0x579d3f(0x350)])['id'],!0x1);}},_0x5e3fa4[_0x2229a0(0x2bb)]=_0x563741([_0x2cc99c(0x6,_0x158513[_0x2229a0(0x1c1)](_0x158513['IPermissionService'])),_0x2cc99c(0x7,_0x158513['ICommandService']),_0x2cc99c(0x8,_0x158513['IUndoRedoService']),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0xa,_0x158513[_0x2229a0(0x1c1)](_0x158513['LocaleService'])),_0x2cc99c(0xb,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x2cc99c(0xc,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x2bb)]),_0x5e3fa4[_0x2229a0(0x24b)]=class extends _0xec761{constructor(_0x7b68ce,_0x2f21b9,_0x4c3b27,_0x348b92,_0x2d23e9,_0x244042,_0x2e16de,_0x55ded8,_0x16a4d4,_0x16c11a){var _0x5ce7be=_0x2229a0;super(_0x7b68ce,_0x2f21b9,_0x4c3b27,_0x348b92,_0x2d23e9,_0x55ded8,_0x16a4d4,_0x2e16de,_0x16c11a),_0x4b59b5(this,_0x5ce7be(0x2e2),_0x5ce7be(0x4b5)),this[_0x5ce7be(0x315)]=_0x244042;}['appendMutation'](_0x3f14f3){var _0x176dfe=_0x2229a0;return this[_0x176dfe(0x1ca)][_0x176dfe(0x4a3)](_0x3f14f3),this['_updateLocalCache'](),this;}[_0x2229a0(0x4b9)](_0x295827){var _0x2f7ac4=_0x2229a0;throw new Error(_0x2f7ac4(0x323));}[_0x2229a0(0x406)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2229a0(0x4b1)](){var _0x110d0a=_0x2229a0;throw new Error(_0x110d0a(0x26c));}['onRemoteRetry'](){return this;}[_0x2229a0(0x38d)](){return this;}[_0x2229a0(0x229)](){var _0x41cc00=_0x2229a0;const {_injector:_0x1d4c98,_pendingMutations:_0x522e83,_awaitingChangeset:_0xe9eaeb,unitID:_0x5b8cd5,_handler:_0x214b4c,type:_0x4f3eb3}=this,_0x3cb6c7=_0x331482(_0x1d4c98,_0x5b8cd5,_0x4f3eb3,_0xe9eaeb,_0x522e83,_0x214b4c);return _0x3cb6c7 instanceof _0x5e3fa4[_0x41cc00(0x2a8)]?_0x3cb6c7['_schedule']():(_0x3cb6c7 instanceof _0x5e3fa4['AwaitingWithPendingState']||_0x3cb6c7 instanceof _0x5e3fa4['AwaitingState'])&&_0x3cb6c7[_0x41cc00(0x378)](),_0x3cb6c7;}[_0x2229a0(0x378)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x5e3fa4['OfflineState']=_0x563741([_0x2cc99c(0x5,_0x158513['Inject'](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x8,_0x158513['IUndoRedoService']),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x24b)]),_0x5e3fa4['FetchingMissState']=class extends _0xec761{constructor(_0x38e3d5,_0x2b79d5,_0x51ef1f,_0x209930,_0xb3eacc,_0x51ed75,_0x840260,_0x43b6bd,_0x5efbb7,_0xa429f4,_0x149a7d,_0x5705ad,_0x3cb224,_0x16be48){var _0x2a587c=_0x2229a0;super(_0x38e3d5,_0x2b79d5,_0x51ef1f,_0x209930,_0x840260,_0x149a7d,_0x5705ad,_0x5efbb7,_0x16be48),_0x4b59b5(this,'status',_0x2a587c(0x2c8)),(this['_acknowledgedAwaitingChangeset']=_0xb3eacc,this[_0x2a587c(0x3a1)]=_0x51ed75,this[_0x2a587c(0x315)]=_0x43b6bd,this[_0x2a587c(0x501)]=_0xa429f4,this[_0x2a587c(0x431)]=_0x3cb224,this[_0x2a587c(0x38b)]=_0x16be48);}['onMissedChangesetFetched'](_0xe46e04){var _0x2c050c=_0x2229a0;try{const _0x15184c=[..._0xe46e04,...this['_queuedRemoteChangesets']],_0x1b91f2=[this[_0x2c050c(0x25c)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0xa88136=>!!_0xa88136);let _0x3452ae,_0x1b6efa;if(_0x1b91f2[_0x2c050c(0x316)]){const _0x5df2b5=this[_0x2c050c(0x431)][_0x2c050c(0x231)](_0x15184c,_0x1b91f2,!0x1);if(!_0x35009e[_0x2c050c(0x23f)](_0x5df2b5))throw _0x5df2b5[_0x2c050c(0x508)];_0x3452ae=_0x5df2b5[_0x2c050c(0x2a7)],_0x1b6efa=_0x5df2b5['c2Prime'];}else _0x3452ae=_0x15184c,_0x1b6efa=[];let _0x1634b1=this[_0x2c050c(0x1ca)];_0x3452ae[_0x2c050c(0x45b)](_0x2c7f6d=>{var _0x26acc5=_0x2c050c;let _0x541bdd;if(_0x1634b1[_0x26acc5(0x316)]){const _0xbae1fe=this['_transformService'][_0x26acc5(0x4ff)](_0x2c7f6d,_0x1634b1);if(!_0x35009e[_0x26acc5(0x478)](_0xbae1fe))throw _0xbae1fe[_0x26acc5(0x508)];_0x541bdd=_0xbae1fe['c1Prime'],_0x1634b1=_0xbae1fe[_0x26acc5(0x41b)];}else _0x541bdd=_0x2c7f6d;this[_0x26acc5(0x1aa)](_0x541bdd);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x2c050c(0x25c)]&&_0x1b6efa[_0x2c050c(0x316)]&&(_0x1b6efa[0x0]['baseRev']=this[_0x2c050c(0x37d)]());let _0x13f717;if(this[_0x2c050c(0x25c)]&&_0x1634b1[_0x2c050c(0x316)]!==0x0)_0x13f717=this[_0x2c050c(0x315)][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x358)],this[_0x2c050c(0x350)],this[_0x2c050c(0x4b3)],_0x1b6efa[0x0],_0x1634b1,this[_0x2c050c(0x1c3)],void 0x0);else{if(this[_0x2c050c(0x25c)]&&_0x1634b1['length']===0x0)_0x1b6efa[0x0][_0x2c050c(0x3f2)]=this[_0x2c050c(0x37d)](),_0x13f717=this['_injector'][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x1b6)],this[_0x2c050c(0x350)],this['type'],_0x1b6efa[0x0],this[_0x2c050c(0x1c3)]);else{if(_0x1634b1[_0x2c050c(0x316)]!==0x0){const _0x129e40=this['_injector'][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x2a8)],this['unitID'],this[_0x2c050c(0x4b3)],_0x1634b1,this[_0x2c050c(0x1c3)]);_0x129e40[_0x2c050c(0x221)](),_0x13f717=_0x129e40;}else _0x13f717=this[_0x2c050c(0x315)]['createInstance'](_0x5e3fa4['SyncedState'],this[_0x2c050c(0x350)],this[_0x2c050c(0x4b3)],this['_handler']);}}return _0x13f717[_0x2c050c(0x2c0)](),_0x13f717;}catch(_0x37b0bb){return this[_0x2c050c(0x501)][_0x2c050c(0x508)](_0x2c050c(0x220),'failed\x20to\x20apply\x20missed\x20changesets!',_0x37b0bb),this['_injector'][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x2bb)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x2c050c(0x1ca)],this[_0x2c050c(0x1c3)],!0x1);}}[_0x2229a0(0x378)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2229a0(0x1e3)](_0x1a1690){var _0x4fdeae=_0x2229a0;return this['_pendingMutations'][_0x4fdeae(0x4a3)](_0x1a1690),this;}[_0x2229a0(0x4b9)](_0x212352){return this['_queuedRemoteChangesets']['push'](_0x212352),this;}['onRemoteAck'](_0x545fe5){var _0x3dee01=_0x2229a0;if(this[_0x3dee01(0x25c)])return this[_0x3dee01(0x531)]=this[_0x3dee01(0x25c)],this[_0x3dee01(0x25c)]=null,this;throw new Error(_0x3dee01(0x41a));}[_0x2229a0(0x4b1)](_0x19ca60){var _0x2a6e32=_0x2229a0;return this[_0x2a6e32(0x527)](!!(_0x19ca60!=null&&_0x19ca60[_0x2a6e32(0x2f7)]));}[_0x2229a0(0x528)](){return this;}[_0x2229a0(0x38d)](){var _0x4ad5b8=_0x2229a0;return this['_injector'][_0x4ad5b8(0x49c)](_0x5e3fa4['OfflineState'],this[_0x4ad5b8(0x350)],this['type'],this[_0x4ad5b8(0x25c)],this[_0x4ad5b8(0x1ca)],this[_0x4ad5b8(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x527)](_0x20ec4c){var _0x15741b=_0x2229a0;return this[_0x15741b(0x315)][_0x15741b(0x49c)](_0x5e3fa4[_0x15741b(0x2bb)],this[_0x15741b(0x350)],this['type'],this[_0x15741b(0x25c)],this[_0x15741b(0x1ca)],this[_0x15741b(0x1c3)],_0x20ec4c);}},_0x5e3fa4[_0x2229a0(0x47a)]=_0x563741([_0x2cc99c(0x7,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x8,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0xa,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0xb,_0x158513['IUndoRedoService']),_0x2cc99c(0xc,_0x35009e['ITransformService']),_0x2cc99c(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4['FetchingMissState']);function _0x331482(_0x122d18,_0x48c9e6,_0x5a01ae,_0x5ab6d1,_0x133e86,_0x49833b){var _0x5a2ee2=_0x2229a0;return _0x5ab6d1&&_0x133e86[_0x5a2ee2(0x316)]?_0x122d18[_0x5a2ee2(0x49c)](_0x5e3fa4[_0x5a2ee2(0x358)],_0x48c9e6,_0x5a01ae,_0x5ab6d1,_0x133e86,_0x49833b,void 0x0):_0x5ab6d1?_0x122d18['createInstance'](_0x5e3fa4[_0x5a2ee2(0x1b6)],_0x48c9e6,_0x5a01ae,_0x5ab6d1,_0x49833b):_0x133e86['length']?_0x122d18['createInstance'](_0x5e3fa4[_0x5a2ee2(0x2a8)],_0x48c9e6,_0x5a01ae,_0x133e86,_0x49833b):_0x122d18[_0x5a2ee2(0x49c)](_0x5e3fa4['SyncedState'],_0x48c9e6,_0x5a01ae,_0x49833b);}var _0x238d51=Object[_0x2229a0(0x330)],_0x23ca75=(_0x31d875,_0x5b8871,_0x270246,_0x1e8f49)=>{var _0x373a05=_0x2229a0;for(var _0x10bace=_0x1e8f49>0x1?void 0x0:_0x1e8f49?_0x238d51(_0x5b8871,_0x270246):_0x5b8871,_0xcf2813=_0x31d875[_0x373a05(0x316)]-0x1,_0x229f0e;_0xcf2813>=0x0;_0xcf2813--)(_0x229f0e=_0x31d875[_0xcf2813])&&(_0x10bace=_0x229f0e(_0x10bace)||_0x10bace);return _0x10bace;},_0x48b40d=(_0x3bd9ca,_0x2b2513)=>(_0x50cda2,_0x118a3d)=>_0x2b2513(_0x50cda2,_0x118a3d,_0x3bd9ca);_0x5e3fa4[_0x2229a0(0x2ec)]=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x58c936,_0x57f9d3,_0x5c88e1,_0x3e5edd,_0x19a596,_0x6b0747,_0x459fd,_0x37394b,_0x3e2faf,_0xb9a989,_0x5ce21f,_0x2a5a2c,_0xe0d8b9,_0x49928d){var _0x302491=_0x2229a0;super(),_0x4b59b5(this,'_state$',new _0x32f9ef['BehaviorSubject'](null)),_0x4b59b5(this,'state$',this[_0x302491(0x49e)][_0x302491(0x1d1)]()),_0x4b59b5(this,_0x302491(0x4b8)),_0x4b59b5(this,_0x302491(0x1d7),!0x1),_0x4b59b5(this,_0x302491(0x1d2),''),_0x4b59b5(this,_0x302491(0x325),0x0),_0x4b59b5(this,_0x302491(0x2a3),this[_0x302491(0x3d3)]['pipe'](_0x32f9ef[_0x302491(0x1d8)](_0x4084f2=>_0x4084f2?_0x4084f2[_0x302491(0x2e2)]:_0x3eee43['OFFLINE']),_0x32f9ef[_0x302491(0x1bf)](0x1))),_0x4b59b5(this,_0x302491(0x466),!0x1),_0x4b59b5(this,_0x302491(0x536),[]),(this[_0x302491(0x350)]=_0x58c936,this['session']=_0x57f9d3,this[_0x302491(0x1d4)]=_0x5c88e1,this[_0x302491(0x315)]=_0x3e5edd,this['_compressMutationService']=_0x19a596,this[_0x302491(0x246)]=_0x6b0747,this[_0x302491(0x34c)]=_0x459fd,this[_0x302491(0x282)]=_0x37394b,this[_0x302491(0x1ae)]=_0x3e2faf,this[_0x302491(0x501)]=_0xb9a989,this[_0x302491(0x197)]=_0x5ce21f,this[_0x302491(0x4c1)]=_0x2a5a2c,this[_0x302491(0x42a)]=_0xe0d8b9,this['_localCacheService']=_0x49928d);}get['state'](){var _0x2711a8=_0x2229a0;return this[_0x2711a8(0x4b8)];}async[_0x2229a0(0x222)](){var _0x1d587f=_0x2229a0;if(this[_0x1d587f(0x4c0)])throw new Error(_0x1d587f(0x4b4));await this[_0x1d587f(0x1db)]();}[_0x2229a0(0x3bb)](){var _0xd790ed=_0x2229a0;return this[_0xd790ed(0x1d7)]=!0x0,_0x158513[_0xd790ed(0x2e4)](()=>{var _0xcdfea2=_0xd790ed;this[_0xcdfea2(0x1d7)]=!0x1,this[_0xcdfea2(0x356)]();});}[_0x2229a0(0x35a)](_0x153321){var _0x2890bf=_0x2229a0;this[_0x2890bf(0x212)](_0x153321);}[_0x2229a0(0x1e5)](_0x18d120){var _0x33cdce=_0x2229a0;this[_0x33cdce(0x4b8)]=_0x18d120,this[_0x33cdce(0x49e)]['next'](_0x18d120);}async[_0x2229a0(0x1db)](){var _0x99d0e9=_0x2229a0,_0x2a3c23;this['_updateState'](await this[_0x99d0e9(0x495)]()),this[_0x99d0e9(0x42a)]&&((_0x2a3c23=this[_0x99d0e9(0x42a)])==null||_0x2a3c23[_0x99d0e9(0x416)](this[_0x99d0e9(0x350)]),this['disposeWithMe'](this[_0x99d0e9(0x42a)][_0x99d0e9(0x31a)](this[_0x99d0e9(0x350)])[_0x99d0e9(0x206)](_0x20bdea=>{var _0x3624bb=_0x99d0e9;this['_logService'][_0x3624bb(0x513)](_0x3624bb(0x40b),_0x3624bb(0x414),_0x20bdea),_0x20bdea===_0x309040[_0x3624bb(0x498)]?(this[_0x3624bb(0x282)][_0x3624bb(0x4a6)]({'id':_0x306c72['OTHER_CLIENT_EDITING']}),this[_0x3624bb(0x4c1)][_0x3624bb(0x534)](new _0x18f772[(_0x3624bb(0x467))](this[_0x3624bb(0x350)])['id'],!0x1),this[_0x3624bb(0x4c1)][_0x3624bb(0x4cd)](!0x1)):(this[_0x3624bb(0x4c1)][_0x3624bb(0x534)](new _0x18f772['WorkbookEditablePermission'](this[_0x3624bb(0x350)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x515cf2=!0x1;return this['disposeWithMe'](this[_0x99d0e9(0x2f3)][_0x99d0e9(0x352)][_0x99d0e9(0x206)](_0x5ed50c=>{var _0x1a9b8e=_0x99d0e9;_0x5ed50c===_0x366b35['ONLINE']?this['_toggleOnline'](_0x515cf2):_0x5ed50c===_0x366b35[_0x1a9b8e(0x3d1)]&&(_0x515cf2=!0x0,this[_0x1a9b8e(0x3a7)]());})),this['disposeWithMe'](this[_0x99d0e9(0x2f3)]['event$'][_0x99d0e9(0x206)](_0x4e3138=>{var _0x558ac9=_0x99d0e9;try{switch(_0x4e3138[_0x558ac9(0x40a)]){case _0x35009e[_0x558ac9(0x499)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x35009e[_0x558ac9(0x4e0)](_0x4e3138[_0x558ac9(0x214)]));break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x24e)]:{this['_onRemoteACK'](_0x4e3138[_0x558ac9(0x214)]);break;}case _0x35009e[_0x558ac9(0x499)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x2c4)]:{this['_onRemoteRetry'](_0x4e3138[_0x558ac9(0x214)]);break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x1de)]:{this['_onFetchMissResult'](_0x4e3138['data'][_0x558ac9(0x25e)][_0x558ac9(0x1d8)](_0x4a4714=>_0x35009e[_0x558ac9(0x4e0)](_0x4a4714)));break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x391)]:{this[_0x558ac9(0x37a)]({'isPermissionRej':!0x0});break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x397)]:break;}}catch(_0x1ed521){throw console[_0x558ac9(0x508)]('Error\x20on\x20receiving\x20event',_0x1ed521),_0x1ed521;}})),this[_0x99d0e9(0x4b8)];}[_0x2229a0(0x4eb)](){var _0x1c47b8=_0x2229a0;this[_0x1c47b8(0x466)]=!0x1;}[_0x2229a0(0x4a0)](){var _0x5703b7=_0x2229a0;if(this['_transitionLocked'])throw new Error(_0x5703b7(0x504));this['_transitionLocked']=!0x0;}[_0x2229a0(0x212)](_0x167b79){var _0x4bbf81=_0x2229a0;this[_0x4bbf81(0x4a0)](),this['_updateState'](this['_state'][_0x4bbf81(0x1e3)](_0x167b79)),this[_0x4bbf81(0x4eb)]();}[_0x2229a0(0x384)](_0x11345e){var _0x345e65=_0x2229a0;if(!(_0x11345e['revision']<=this[_0x345e65(0x34c)][_0x345e65(0x2b4)](this[_0x345e65(0x350)]))){if(this[_0x345e65(0x1d7)]){this['_remoteChangesetQueue'][_0x345e65(0x4a3)](_0x11345e);return;}this[_0x345e65(0x51d)](_0x11345e);}}[_0x2229a0(0x356)](){var _0x259b9c=_0x2229a0;this[_0x259b9c(0x536)][_0x259b9c(0x45b)](_0x4a80b7=>this['_applyRemoteChangeset'](_0x4a80b7)),this[_0x259b9c(0x536)]=[];}[_0x2229a0(0x51d)](_0x2bcbfa){var _0x3db7aa=_0x2229a0;const _0x508001=this[_0x3db7aa(0x2fd)][_0x3db7aa(0x2a1)][_0x3db7aa(0x50e)](this[_0x3db7aa(0x2fd)]['interceptor'][_0x3db7aa(0x4af)]()['COMPRESS_MUTATION_APPLY'])(_0x2bcbfa[_0x3db7aa(0x3b3)],null)||_0x2bcbfa[_0x3db7aa(0x3b3)],_0x5e2b02={..._0x2bcbfa,'mutations':_0x508001};this[_0x3db7aa(0x4a0)](),this[_0x3db7aa(0x1e5)](this[_0x3db7aa(0x4b8)]['onRemoteChangeset'](_0x5e2b02)),this[_0x3db7aa(0x4eb)]();}[_0x2229a0(0x46b)](_0x43c8b4){var _0x5ca10e=_0x2229a0;this[_0x5ca10e(0x4a0)](),this[_0x5ca10e(0x1e5)](this[_0x5ca10e(0x4b8)][_0x5ca10e(0x406)](_0x43c8b4)),this[_0x5ca10e(0x4eb)]();}['_onRemoteRejected'](_0xde70eb){var _0x4b5acc=_0x2229a0;this[_0x4b5acc(0x4a0)](),this['_updateState'](this[_0x4b5acc(0x4b8)][_0x4b5acc(0x4b1)](_0xde70eb)),this[_0x4b5acc(0x4eb)]();}[_0x2229a0(0x456)](_0x29538d){var _0x189669=_0x2229a0;this['_lockTransition'](),this['_updateState'](this[_0x189669(0x4b8)]['onRemoteRetry'](_0x29538d)),this[_0x189669(0x4eb)]();}[_0x2229a0(0x277)](_0x2ca4e8){var _0x3dea63=_0x2229a0;if(!(this[_0x3dea63(0x4b8)]instanceof _0x5e3fa4[_0x3dea63(0x47a)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4c7247=_0x2ca4e8[_0x3dea63(0x1d8)](_0x1aa2a5=>{var _0x225c1c=_0x3dea63;const _0x234d44=this['_compressMutationService'][_0x225c1c(0x2a1)][_0x225c1c(0x50e)](this[_0x225c1c(0x2fd)][_0x225c1c(0x2a1)][_0x225c1c(0x4af)]()['COMPRESS_MUTATION_APPLY'])(_0x1aa2a5[_0x225c1c(0x3b3)],null)||_0x1aa2a5[_0x225c1c(0x3b3)];return{..._0x1aa2a5,'mutations':_0x234d44};});this[_0x3dea63(0x4a0)](),this['_updateState'](this[_0x3dea63(0x4b8)][_0x3dea63(0x515)](_0x4c7247)),this[_0x3dea63(0x4eb)]();}[_0x2229a0(0x3a7)](){var _0x5c15b4=_0x2229a0;this['_lockTransition'](),this[_0x5c15b4(0x1e5)](this['_state']['toggleOffline']()),this[_0x5c15b4(0x4eb)]();}[_0x2229a0(0x21e)](_0x1437ae=!0x1){var _0x18ae62=_0x2229a0;this[_0x18ae62(0x4a0)](),this[_0x18ae62(0x1e5)](this['_state'][_0x18ae62(0x229)]()),this['_unlockTransition']();const _0x45cb93=this['_state'];_0x1437ae&&_0x45cb93 instanceof _0x5e3fa4[_0x18ae62(0x39b)]&&(this[_0x18ae62(0x4a0)](),this[_0x18ae62(0x1e5)](_0x45cb93[_0x18ae62(0x291)]()),this[_0x18ae62(0x4eb)]());}async[_0x2229a0(0x495)](){return new Promise(_0x2da805=>{var _0x356f77=_0x573a;this[_0x356f77(0x2f3)][_0x356f77(0x352)]['pipe'](_0x32f9ef[_0x356f77(0x23b)](0x1))[_0x356f77(0x206)](async _0x1de28f=>{var _0x5d66d1=_0x356f77;_0x2da805(await this[_0x5d66d1(0x284)](_0x1de28f===_0x366b35['ONLINE']));});});}[_0x2229a0(0x283)](){var _0x306214=_0x2229a0;const _0x1c320c=this[_0x306214(0x350)];return{'onStateChange':(_0x523c7c,_0x1911e8)=>{var _0x1d092e=_0x306214;if(_0x523c7c!==this['_state'])throw new Error(_0x1d092e(0x516)+_0x523c7c[_0x1d092e(0x2e2)]+_0x1d092e(0x20b)+_0x1911e8['status']+'\x0aCurrent:\x20'+this[_0x1d092e(0x4b8)]['status']);this[_0x1d092e(0x1e5)](_0x1911e8);},'onSendChangeset':_0x37890a=>{var _0x757948=_0x306214;_0x37890a[_0x757948(0x1da)]||(_0x37890a[_0x757948(0x1da)]=this[_0x757948(0x1d2)],_0x37890a['reqId']=++this[_0x757948(0x325)]);const _0x22a16a={'eventID':_0x35009e['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x37890a[_0x757948(0x350)],'unitType':this['_type'],'changeset':_0x37890a,'memberID':this[_0x757948(0x2f3)][_0x757948(0x1e7)]()}};this['session']['send'](_0x22a16a,this[_0x757948(0x350)]);},'onMissingChangesets':({from:_0x3734e4,to:_0x4ce987})=>{var _0x54be32=_0x306214;this[_0x54be32(0x501)][_0x54be32(0x513)](_0x54be32(0x40b),_0x54be32(0x339)+_0x3734e4+_0x54be32(0x301)+_0x4ce987);const _0x190a5c={'eventID':_0x35009e[_0x54be32(0x499)][_0x54be32(0x503)],'data':{'unitID':_0x1c320c,'unitType':this[_0x54be32(0x1d4)],'from':_0x3734e4,'to':_0x4ce987}};this[_0x54be32(0x2f3)][_0x54be32(0x535)](_0x190a5c,this[_0x54be32(0x350)]);}};}async['_createInitialStateImpl'](_0x580b0d){var _0xca5b8f=_0x2229a0,_0x5c7f67,_0x42846d,_0x29bcf2;const _0x2c01a2=await((_0x5c7f67=this[_0xca5b8f(0x34a)])==null?void 0x0:_0x5c7f67['loadOfflineData'](this['unitID'])),_0x1d2958=(_0x42846d=_0x2c01a2==null?void 0x0:_0x2c01a2[_0xca5b8f(0x3b3)])!=null?_0x42846d:[],_0x42a700=(_0x29bcf2=_0x2c01a2==null?void 0x0:_0x2c01a2[_0xca5b8f(0x1c2)])!=null?_0x29bcf2:null,_0x48f1e0=!!(_0x42a700!=null&&_0x42a700[_0xca5b8f(0x1da)])&&!!(_0x42a700!=null&&_0x42a700[_0xca5b8f(0x24d)]);this[_0xca5b8f(0x1d2)]=_0x48f1e0?_0x42a700['sid']:_0x35009e[_0xca5b8f(0x3d0)](),this[_0xca5b8f(0x325)]=_0x48f1e0?_0x42a700[_0xca5b8f(0x24d)]:0x0;const _0x25b9f5=this['unitID'];try{this[_0xca5b8f(0x31c)](_0x42a700,_0x1d2958);}catch(_0x37ace2){this[_0xca5b8f(0x501)][_0xca5b8f(0x508)](_0x37ace2);}const _0x125856=this['_createHandler']();if(_0x580b0d){const _0x45ee74=_0x331482(this[_0xca5b8f(0x315)],_0x25b9f5,this[_0xca5b8f(0x1d4)],_0x42a700,_0x1d2958,_0x125856);return _0x45ee74 instanceof _0x5e3fa4['PendingState']?_0x45ee74[_0xca5b8f(0x221)]():(_0x45ee74 instanceof _0x5e3fa4[_0xca5b8f(0x358)]||_0x45ee74 instanceof _0x5e3fa4[_0xca5b8f(0x1b6)])&&_0x45ee74[_0xca5b8f(0x378)](),_0x45ee74;}return this[_0xca5b8f(0x315)][_0xca5b8f(0x49c)](_0x5e3fa4[_0xca5b8f(0x24b)],_0x25b9f5,this[_0xca5b8f(0x1d4)],_0x42a700,_0x1d2958,_0x125856);}[_0x2229a0(0x31c)](_0x32c3a9,_0x3983ec){var _0x5f321b=_0x2229a0,_0xccfb97,_0x16aaeb;const _0x340e6f=this['_compressMutationService'][_0x5f321b(0x2a1)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5f321b(0x2a1)][_0x5f321b(0x4af)]()[_0x5f321b(0x2b9)]);(_0xccfb97=_0x340e6f((_0x32c3a9==null?void 0x0:_0x32c3a9[_0x5f321b(0x3b3)])||[],null))==null||_0xccfb97['forEach'](_0x19b7d2=>this['_commandService'][_0x5f321b(0x3df)](_0x19b7d2['id'],_0x19b7d2[_0x5f321b(0x2df)])),(_0x16aaeb=_0x340e6f(_0x3983ec||[],null))==null||_0x16aaeb[_0x5f321b(0x45b)](_0x584538=>this[_0x5f321b(0x197)][_0x5f321b(0x3df)](_0x584538['id'],_0x584538[_0x5f321b(0x2df)]));}},_0x5e3fa4[_0x2229a0(0x2ec)]=_0x23ca75([_0x48b40d(0x3,_0x158513[_0x2229a0(0x1c1)](_0x158513['Injector'])),_0x48b40d(0x4,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x1d3)])),_0x48b40d(0x5,_0x158513[_0x2229a0(0x1c1)](_0x158513['LocaleService'])),_0x48b40d(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e['RevisionService'])),_0x48b40d(0x7,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x48b40d(0x8,_0x158513[_0x2229a0(0x4ad)]),_0x48b40d(0x9,_0x158513['ILogService']),_0x48b40d(0xa,_0x158513[_0x2229a0(0x4e3)]),_0x48b40d(0xb,_0x158513['IPermissionService']),_0x48b40d(0xc,_0x158513[_0x2229a0(0x224)](_0x25ea7f)),_0x48b40d(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x2ec)]),_0x5e3fa4[_0x2229a0(0x1e0)]=class extends _0x5e3fa4['CollaborationEntity']{constructor(_0x563e47,_0x5eb17f,_0x509a95,_0x367233,_0x189e88,_0xdd030d,_0x2c6dc9,_0x11d248,_0x23c60a,_0x9c4f84,_0x1efe89,_0x5747cf,_0x4a55b0,_0xf69068){var _0x11eb4d=_0x2229a0;super(_0x563e47,_0x509a95,_0x5eb17f,_0x367233,_0x189e88,_0xdd030d,_0x2c6dc9,_0x11d248,_0x23c60a,_0x9c4f84,_0x1efe89,_0x5747cf,_0x4a55b0,_0xf69068),_0x4b59b5(this,'_handlerCallback',null),(this['unitID']=_0x563e47,this[_0x11eb4d(0x4b3)]=_0x5eb17f);}[_0x2229a0(0x322)](_0xa673ec){var _0x434fd4=_0x2229a0;this[_0x434fd4(0x3a2)]=_0xa673ec;}['dispose'](){var _0x2c63d5=_0x2229a0;this[_0x2c63d5(0x3a2)]=null,super[_0x2c63d5(0x484)]();}['_createHandler'](){var _0x40dd7d=_0x2229a0;const _0x52bd51=super[_0x40dd7d(0x283)]();return _0x52bd51[_0x40dd7d(0x1fc)]=_0x40de3c=>{var _0x357fdd=_0x40dd7d,_0x47ad27,_0x10c368;return(_0x10c368=(_0x47ad27=this[_0x357fdd(0x3a2)])==null?void 0x0:_0x47ad27[_0x357fdd(0x1fc)])==null?void 0x0:_0x10c368[_0x357fdd(0x2d1)](_0x47ad27,_0x40de3c);},_0x52bd51[_0x40dd7d(0x44e)]=_0x195849=>{var _0x237f4e=_0x40dd7d,_0x2833ea,_0x2106e3;return(_0x2106e3=(_0x2833ea=this[_0x237f4e(0x3a2)])==null?void 0x0:_0x2833ea[_0x237f4e(0x44e)])==null?void 0x0:_0x2106e3['call'](_0x2833ea,_0x195849);},_0x52bd51['onTransformSelections']=_0x5b1913=>{var _0x5aa4cf=_0x40dd7d,_0x4c09c0,_0x246a75;return(_0x246a75=(_0x4c09c0=this['_handlerCallback'])==null?void 0x0:_0x4c09c0[_0x5aa4cf(0x3eb)])==null?void 0x0:_0x246a75['call'](_0x4c09c0,_0x5b1913);},_0x52bd51['onSyncEditingCollabCursor']=_0x18a17f=>{var _0x409d73=_0x40dd7d,_0x1de672,_0x584dd6;return(_0x584dd6=(_0x1de672=this[_0x409d73(0x3a2)])==null?void 0x0:_0x1de672['onSyncEditingCollabCursor'])==null?void 0x0:_0x584dd6[_0x409d73(0x2d1)](_0x1de672,_0x18a17f);},_0x52bd51[_0x40dd7d(0x473)]=_0x3bcc23=>{var _0x320231=_0x40dd7d,_0xa59418,_0x2e3da8,_0x2878fb;if(!((_0xa59418=this[_0x320231(0x3a2)])!=null&&_0xa59418['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2878fb=(_0x2e3da8=this[_0x320231(0x3a2)])==null?void 0x0:_0x2e3da8['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2878fb[_0x320231(0x2d1)](_0x2e3da8,_0x3bcc23);},_0x52bd51[_0x40dd7d(0x449)]=_0x4e3e82=>{var _0x2c4091=_0x40dd7d,_0x94ea8c,_0x4090f9,_0x4b6927;if(!((_0x94ea8c=this[_0x2c4091(0x3a2)])!=null&&_0x94ea8c[_0x2c4091(0x449)]))throw new Error(_0x2c4091(0x3e5));return(_0x4b6927=(_0x4090f9=this[_0x2c4091(0x3a2)])==null?void 0x0:_0x4090f9['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4b6927[_0x2c4091(0x2d1)](_0x4090f9,_0x4e3e82);},_0x52bd51;}async[_0x2229a0(0x1db)](){var _0x54427f=_0x2229a0;const _0x325a65=await super[_0x54427f(0x1db)]();return this['disposeWithMe'](this[_0x54427f(0x197)][_0x54427f(0x1bd)]((_0x48d8d4,_0x4a8ed3)=>{var _0x2409e9=_0x54427f;if(_0x48d8d4[_0x2409e9(0x4b3)]!==_0x158513[_0x2409e9(0x3b8)][_0x2409e9(0x4bc)]||_0x4a8ed3!=null&&_0x4a8ed3[_0x2409e9(0x334)]||_0x4a8ed3!=null&&_0x4a8ed3['onlyLocal']||_0x48d8d4['id']===_0xc7e141[_0x2409e9(0x4f9)]['id'])return;const _0x25c283=_0x48d8d4[_0x2409e9(0x2df)];if((_0x25c283==null?void 0x0:_0x25c283[_0x2409e9(0x506)])!==this[_0x2409e9(0x350)])return;const _0x5d5e7c=_0x48d8d4,_0x431e39=this[_0x2409e9(0x2fd)]['interceptor'][_0x2409e9(0x50e)](this[_0x2409e9(0x2fd)][_0x2409e9(0x2a1)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5d5e7c],this[_0x2409e9(0x1ae)])||[_0x5d5e7c];this[_0x2409e9(0x212)](_0x431e39[0x0]);})),_0x325a65;}},_0x5e3fa4['DocCollaborationEntity']=_0x23ca75([_0x48b40d(0x3,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x48b40d(0x4,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x1d3)])),_0x48b40d(0x5,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x402)])),_0x48b40d(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e['RevisionService'])),_0x48b40d(0x7,_0x158513['Inject'](_0x1a9793)),_0x48b40d(0x8,_0x158513['IUniverInstanceService']),_0x48b40d(0x9,_0x158513['ILogService']),_0x48b40d(0xa,_0x158513['ICommandService']),_0x48b40d(0xb,_0x158513[_0x2229a0(0x4bd)]),_0x48b40d(0xc,_0x158513[_0x2229a0(0x224)](_0x25ea7f)),_0x48b40d(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x1e0)]),_0x5e3fa4[_0x2229a0(0x196)]=class extends _0x5e3fa4[_0x2229a0(0x2ec)]{constructor(_0x41fe30,_0x330ca9,_0x759d66,_0x425602,_0xae613a,_0xb8d4c8,_0x185c3f,_0x2c2230,_0x55ef3a,_0x14a862,_0x3b1887,_0x136b70,_0x501b7f,_0x13d224,_0x5113ef){var _0x541560=_0x2229a0;super(_0x41fe30,_0x759d66,_0x330ca9,_0x425602,_0xae613a,_0xb8d4c8,_0x185c3f,_0x55ef3a,_0x14a862,_0x3b1887,_0x136b70,_0x501b7f,_0x13d224,_0x5113ef),this[_0x541560(0x350)]=_0x41fe30,this[_0x541560(0x4b3)]=_0x330ca9,this['_sheetTransformSelectionsService']=_0x2c2230;}[_0x2229a0(0x283)](){var _0xc3889c=_0x2229a0;const _0x54a9e4=super[_0xc3889c(0x283)]();return _0x54a9e4['onTransformSelections']=_0x6620e5=>this[_0xc3889c(0x49a)][_0xc3889c(0x1eb)](_0x6620e5),_0x54a9e4;}async['_init'](){var _0x229b62=_0x2229a0;const _0xf8305b=await super['_init']();return this[_0x229b62(0x2a6)](this[_0x229b62(0x197)]['onMutationExecutedForCollab']((_0x3e97fb,_0x580e89)=>{var _0x50acdc=_0x229b62;if(_0x3e97fb['type']!==_0x158513[_0x50acdc(0x3b8)][_0x50acdc(0x4bc)]||_0x580e89!=null&&_0x580e89[_0x50acdc(0x334)]||_0x580e89!=null&&_0x580e89[_0x50acdc(0x447)])return;const _0xc58e3a=_0x3e97fb[_0x50acdc(0x2df)];if((_0xc58e3a==null?void 0x0:_0xc58e3a[_0x50acdc(0x506)])!==this[_0x50acdc(0x350)])return;const _0x14d5ad=_0x3e97fb,_0x2cd936=this[_0x50acdc(0x2fd)][_0x50acdc(0x2a1)]['fetchThroughInterceptors'](this[_0x50acdc(0x2fd)][_0x50acdc(0x2a1)][_0x50acdc(0x4af)]()[_0x50acdc(0x31b)])([_0x14d5ad],this[_0x50acdc(0x1ae)])||[_0x14d5ad];this[_0x50acdc(0x212)](_0x2cd936[0x0]);})),_0xf8305b;}},_0x5e3fa4[_0x2229a0(0x196)]=_0x23ca75([_0x48b40d(0x3,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x48b40d(0x4,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x1d3)])),_0x48b40d(0x5,_0x158513['Inject'](_0x158513[_0x2229a0(0x402)])),_0x48b40d(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x48b40d(0x7,_0x158513[_0x2229a0(0x1c1)](_0x5e3fa4[_0x2229a0(0x3f3)])),_0x48b40d(0x8,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x48b40d(0x9,_0x158513['IUniverInstanceService']),_0x48b40d(0xa,_0x158513[_0x2229a0(0x2b8)]),_0x48b40d(0xb,_0x158513[_0x2229a0(0x4e3)]),_0x48b40d(0xc,_0x158513[_0x2229a0(0x4bd)]),_0x48b40d(0xd,_0x158513[_0x2229a0(0x224)](_0x25ea7f)),_0x48b40d(0xe,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x196)]);const _0x215e06=_0x158513[_0x2229a0(0x25b)](_0x2229a0(0x1cf));function _0x9e4075(_0x2fa23c){var _0x2dc53a=_0x2229a0,_0x3b920a,_0x159f88,_0x124df8,_0x1a03ab,_0x25bd25;const _0xa3dee9=_0x2fa23c['data'],_0x415225=JSON[_0x2dc53a(0x34b)](_0xa3dee9);switch(_0x415225[_0x2dc53a(0x366)]){case _0x5db895['HEARTBEAT']:case _0x5db895['HELLO']:{const _0x328d90=_0x415225[_0x2dc53a(0x377)];return{..._0x415225,'data':_0x328d90,'cmd':_0x415225['cmd']};}case _0x5db895[_0x2dc53a(0x2e8)]:{const _0x3cc75c=_0x415225[_0x2dc53a(0x26f)];return{..._0x415225,'data':_0x3cc75c,'cmd':_0x415225[_0x2dc53a(0x366)]};}case _0x5db895[_0x2dc53a(0x365)]:{const _0x1f1055=_0x415225[_0x2dc53a(0x2ba)];switch(_0x1f1055['eventID']){case _0x35009e['CollaborationEvent'][_0x2dc53a(0x391)]:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x3b920a=_0x1f1055[_0x2dc53a(0x32a)])==null?void 0x0:_0x3b920a['cs']},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)]['CHANGESET_ACK']:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x159f88=_0x1f1055[_0x2dc53a(0x2b6)])==null?void 0x0:_0x159f88['cs']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x124df8=_0x1f1055['newCsEvent'])==null?void 0x0:_0x124df8['cs']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x2f1)]:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x1a03ab=_0x1f1055['csRejEvent'])==null?void 0x0:_0x1a03ab['cs']},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x2c4)]:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x25bd25=_0x1f1055[_0x2dc53a(0x216)])==null?void 0x0:_0x25bd25['cs']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e['CollaborationEvent'][_0x2dc53a(0x30d)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x243)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x4cf)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x4d5)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x500)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x30e)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x4e4)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x28c)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x3f6)]:case _0x35009e[_0x2dc53a(0x499)]['LIVESHARE_OPERATION']:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055['liveShareOperation']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x24c)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x28c)]},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)]['MSG_FOR_ERROR']:return{..._0x415225,'data':_0x1f1055,'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)]['COMMENT_UPDATE']:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055['commentUpdateEvent']},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x35c)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x52f)]},'cmd':_0x415225['cmd']};case _0x35009e['CollaborationEvent'][_0x2dc53a(0x2ff)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x424)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e['CollaborationEvent'][_0x2dc53a(0x397)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x355)]},'cmd':_0x415225[_0x2dc53a(0x366)]};default:return _0x415225;}}default:return _0x415225;}}function _0xea9c25(_0x4b3261){var _0x1342ba=_0x2229a0;switch(_0x4b3261[_0x1342ba(0x366)]){case _0x5db895['HEARTBEAT']:case _0x5db895['HELLO']:return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261[_0x1342ba(0x300)]});case _0x5db895[_0x1342ba(0x433)]:{let _0x1bc114;switch(_0x4b3261['data']['eventID']){case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x30d)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x30d)],'updateCursorEvent':_0x4b3261['data'][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)]['USERS_LEAVE']:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)]['USERS_LEAVE'],'leaveEvent':_0x4b3261[_0x1342ba(0x214)][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4cf)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4cf)],'joinEvent':_0x4b3261['data']['data']};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4e4)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4e4)],'liveShareNewHost':_0x4b3261['data'][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x3dc)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x3dc)],'liveShareOperation':_0x4b3261[_0x1342ba(0x214)]['data']};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x24c)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x24c)],'liveShareTerminate':_0x4b3261[_0x1342ba(0x214)][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x2d5)]:{_0x1bc114={'eventID':_0x35009e['CollaborationEvent'][_0x1342ba(0x2d5)],'liveShareRequestHost':_0x4b3261[_0x1342ba(0x214)][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1bc114={'eventID':_0x35009e['CollaborationEvent'][_0x1342ba(0x3f6)]};break;}default:_0x1bc114={'eventID':_0x4b3261[_0x1342ba(0x214)]['eventID']};}return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261[_0x1342ba(0x300)],'collaMsg':_0x1bc114});}case _0x5db895[_0x1342ba(0x2e8)]:return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261['routeKey'],'joinReq':_0x4b3261[_0x1342ba(0x214)]});case _0x5db895[_0x1342ba(0x364)]:return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261[_0x1342ba(0x300)],'leaveReq':_0x4b3261[_0x1342ba(0x214)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x3687ad=Object[_0x2229a0(0x330)],_0x2c3026=(_0x4bb9e7,_0x17272b,_0x449fce,_0x3d6684)=>{var _0x1782f5=_0x2229a0;for(var _0x1ff327=_0x3d6684>0x1?void 0x0:_0x3d6684?_0x3687ad(_0x17272b,_0x449fce):_0x17272b,_0x5f4029=_0x4bb9e7[_0x1782f5(0x316)]-0x1,_0x4219b0;_0x5f4029>=0x0;_0x5f4029--)(_0x4219b0=_0x4bb9e7[_0x5f4029])&&(_0x1ff327=_0x4219b0(_0x1ff327)||_0x1ff327);return _0x1ff327;},_0x383668=(_0x577159,_0x31d3a7)=>(_0x125a72,_0x2f17b2)=>_0x31d3a7(_0x125a72,_0x2f17b2,_0x577159);const _0xd4806f=_0x158513['createIdentifier']('univer-pro.collaboration-client-socket-service');function _0x2b79eb(_0x2d72ac,_0x5f2eac,_0x564e4f){var _0x41fe6b=_0x2229a0;return _0x2d72ac+'/'+_0x5f2eac+_0x41fe6b(0x4f6)+_0x564e4f+_0x41fe6b(0x2d8);}_0x5e3fa4[_0x2229a0(0x1e8)]=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x292865,_0x278a5f,_0x4aaddb,_0x2f6ec0,_0x39aaa1){var _0x55da14=_0x2229a0;super(),this[_0x55da14(0x315)]=_0x292865,this[_0x55da14(0x510)]=_0x278a5f,this[_0x55da14(0x24f)]=_0x4aaddb,this[_0x55da14(0x501)]=_0x2f6ec0,this[_0x55da14(0x1c7)]=_0x39aaa1;}[_0x2229a0(0x1f5)](_0x2b3886){var _0x3d2bb8=_0x2229a0;const _0x21570d=this[_0x3d2bb8(0x315)]['get'](_0x5b6221[_0x3d2bb8(0x354)]);if(!_0x21570d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x224ecb=_0x21570d['createSocket'](_0x2b3886);if(!_0x224ecb)throw new Error(_0x3d2bb8(0x2e3));const _0x4aae5a=new _0x158513[(_0x3d2bb8(0x45d))](),_0x2bfce6=new _0x32f9ef['Subject']();_0x4aae5a[_0x3d2bb8(0x359)](_0x224ecb['close$'][_0x3d2bb8(0x206)](_0x5bad3d=>_0x2bfce6['next'](_0x5bad3d))),_0x4aae5a[_0x3d2bb8(0x359)](_0x158513['toDisposable'](()=>_0x2bfce6['complete']()));const _0x3145e7=new _0x32f9ef[(_0x3d2bb8(0x2e1))]();_0x4aae5a[_0x3d2bb8(0x359)](_0x224ecb[_0x3d2bb8(0x40c)][_0x3d2bb8(0x206)](_0x4257c2=>_0x3145e7['next'](_0x4257c2))),_0x4aae5a[_0x3d2bb8(0x359)](_0x158513[_0x3d2bb8(0x2e4)](()=>_0x3145e7['complete']()));const _0x6908df=new _0x32f9ef['Subject']();_0x4aae5a[_0x3d2bb8(0x359)](_0x224ecb[_0x3d2bb8(0x2d2)][_0x3d2bb8(0x206)](_0x5c1c47=>{var _0x4de5ae=_0x3d2bb8;const _0xf7204d=_0x9e4075(_0x5c1c47);_0x6908df[_0x4de5ae(0x393)](_0xf7204d);})),_0x4aae5a[_0x3d2bb8(0x359)](_0x158513[_0x3d2bb8(0x2e4)](()=>_0x6908df[_0x3d2bb8(0x45e)]()));let _0x5086a9;const _0x3370a3=()=>{var _0x59f7f4=_0x3d2bb8;_0x3145e7[_0x59f7f4(0x393)](new Event(_0x59f7f4(0x3ef))),_0x2bfce6[_0x59f7f4(0x393)](new Event(_0x59f7f4(0x3ef))),_0x5086a9['close']();};return _0x5086a9={'memberID':'','close$':_0x2bfce6[_0x3d2bb8(0x1d1)](),'error$':_0x3145e7[_0x3d2bb8(0x1d1)](),'open$':_0x224ecb[_0x3d2bb8(0x375)],'message$':_0x6908df[_0x3d2bb8(0x1d1)](),'send':_0x2d30b3=>{var _0x3b055a=_0x3d2bb8;if(_0x2d30b3['cmd']===_0x5db895[_0x3b055a(0x433)]){if(_0x2d30b3[_0x3b055a(0x214)][_0x3b055a(0x40a)]===_0x35009e[_0x3b055a(0x499)]['SUBMIT_CHANGESET']){this[_0x3b055a(0x1ce)](_0x5086a9,_0x2d30b3['data'])[_0x3b055a(0x3b2)](_0x1d3373=>{var _0x32ed61=_0x3b055a;this['_logService'][_0x32ed61(0x508)](_0x1d3373),_0x3370a3();});return;}if(_0x2d30b3[_0x3b055a(0x214)]['eventID']===_0x35009e[_0x3b055a(0x499)][_0x3b055a(0x503)]){const _0x4ef84f=_0x2d30b3['data'];this[_0x3b055a(0x2fa)](_0x4ef84f)['then'](_0x360aeb=>{var _0x282dee=_0x3b055a;_0x6908df[_0x282dee(0x393)]({'cmd':_0x5db895[_0x282dee(0x365)],'code':_0xaed6cc['OK'],'routeKey':_0x4ef84f[_0x282dee(0x214)]['unitID'],'routeType':'','data':{'eventID':_0x35009e['CollaborationEvent'][_0x282dee(0x1de)],'data':{'changesets':_0x360aeb}}});})[_0x3b055a(0x3b2)](_0x27af6c=>{var _0x2819c5=_0x3b055a;this[_0x2819c5(0x501)]['error'](_0x27af6c),_0x3370a3();});return;}}_0x224ecb['send'](_0xea9c25(_0x2d30b3));},'close':()=>{var _0x21877a=_0x3d2bb8;_0x224ecb[_0x21877a(0x43b)](),_0x4aae5a['dispose']();}},_0x5086a9;}async[_0x2229a0(0x1ce)](_0x304f67,_0xa55ce0){var _0x7ee7c9=_0x2229a0,_0xba5f11;const {unitType:_0x3d1514,unitID:_0x50652e,changeset:_0x5886df}=_0xa55ce0[_0x7ee7c9(0x214)],_0x22500f={'unitID':_0x50652e,'memberID':_0x304f67[_0x7ee7c9(0x398)],'type':_0x3d1514,'changeset':_0x35009e['parseChangesetToProtocol'](_0x5886df)},_0x162003=this['_configService'][_0x7ee7c9(0x247)](_0x5e0130),_0x3ec443=_0x2b79eb((_0xba5f11=_0x162003==null?void 0x0:_0x162003[_0x7ee7c9(0x4f5)])!=null?_0xba5f11:_0x3083bf,_0x3d1514,_0x50652e);try{await this[_0x7ee7c9(0x510)][_0x7ee7c9(0x3f4)](_0x3ec443,{'body':_0x22500f});}catch(_0x5b7ff4){throw this[_0x7ee7c9(0x501)]['error']('[CollaborationSession]',_0x7ee7c9(0x404)),_0x5b7ff4;}}async[_0x2229a0(0x2fa)](_0x3e925a){var _0xf17a21=_0x2229a0;const {unitID:_0xb6e52e,from:_0x31aae2,to:_0x1e205b,unitType:_0x39693c}=_0x3e925a['data'];return(await this[_0xf17a21(0x1c7)][_0xf17a21(0x3bc)]({'metadata':void 0x0},{'unitID':_0xb6e52e,'type':_0x39693c,'from':_0x31aae2,'to':_0x1e205b}))[_0xf17a21(0x25e)][_0xf17a21(0x1d8)](_0x4dfc2a=>((_0x4dfc2a['mutations']===null||_0x4dfc2a[_0xf17a21(0x3b3)]===void 0x0)&&(_0x4dfc2a['mutations']=[]),_0x4dfc2a));}},_0x5e3fa4['CollaborationSocketService']=_0x2c3026([_0x383668(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x383668(0x1,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)])),_0x383668(0x2,_0x158513[_0x2229a0(0x4c2)]),_0x383668(0x3,_0x158513[_0x2229a0(0x2b8)]),_0x383668(0x4,_0x35009e[_0x2229a0(0x338)])],_0x5e3fa4[_0x2229a0(0x1e8)]);var _0x333744=Object['getOwnPropertyDescriptor'],_0x2b7ee1=(_0x546b6a,_0x468c5f,_0x23356d,_0x3341ea)=>{for(var _0xb5e068=_0x3341ea>0x1?void 0x0:_0x3341ea?_0x333744(_0x468c5f,_0x23356d):_0x468c5f,_0x3df6c8=_0x546b6a['length']-0x1,_0x31c1c2;_0x3df6c8>=0x0;_0x3df6c8--)(_0x31c1c2=_0x546b6a[_0x3df6c8])&&(_0xb5e068=_0x31c1c2(_0xb5e068)||_0xb5e068);return _0xb5e068;},_0x5aa2c0=(_0x2538b0,_0x4f8fb3)=>(_0x4efd6a,_0x4e2d23)=>_0x4f8fb3(_0x4efd6a,_0x4e2d23,_0x2538b0);_0x5e3fa4[_0x2229a0(0x3db)]=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x22fe7e,_0xf979f0,_0x4bb443,_0x2536f6,_0x1ed162,_0x5bed19){var _0x41cca1=_0x2229a0;super(),_0x4b59b5(this,'_socket$',new _0x32f9ef[(_0x41cca1(0x3ce))](void 0x0)),_0x4b59b5(this,_0x41cca1(0x47c),this['_socket$'][_0x41cca1(0x1d1)]()),_0x4b59b5(this,'_candidateSocket',null),_0x4b59b5(this,_0x41cca1(0x3d8),new Map()),_0x4b59b5(this,_0x41cca1(0x2fc),new _0x32f9ef[(_0x41cca1(0x3ce))](_0x366b35['IDLE'])),_0x4b59b5(this,_0x41cca1(0x2a3),this[_0x41cca1(0x2fc)][_0x41cca1(0x1d1)]()),_0x4b59b5(this,_0x41cca1(0x37c),!0x1),_0x4b59b5(this,_0x41cca1(0x295)),_0x4b59b5(this,_0x41cca1(0x23e),0x0),_0x4b59b5(this,'_sendHeartbeatTimer'),_0x4b59b5(this,'_timeoutTimer'),(this[_0x41cca1(0x315)]=_0x22fe7e,this['_logService']=_0xf979f0,this[_0x41cca1(0x24f)]=_0x4bb443,this['_socketService']=_0x2536f6,this['_collaborationUIEventService']=_0x1ed162,this[_0x41cca1(0x1cc)]=_0x5bed19,this[_0x41cca1(0x23d)]());}get[_0x2229a0(0x530)](){var _0x2598d5=_0x2229a0;return this[_0x2598d5(0x3c1)]['getValue']();}[_0x2229a0(0x23d)](){var _0x3d26b9=_0x2229a0;this[_0x3d26b9(0x1cc)]&&this['disposeWithMe'](this[_0x3d26b9(0x1cc)][_0x3d26b9(0x48c)][_0x3d26b9(0x206)](_0x2b912d=>{var _0xa5b85=_0x3d26b9;_0x2b912d&&!this[_0xa5b85(0x530)]&&this[_0xa5b85(0x537)](),_0x2b912d||this[_0xa5b85(0x401)]();}));}[_0x2229a0(0x484)](){var _0x31fa44=_0x2229a0;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x31fa44(0x3a0)](),this[_0x31fa44(0x2ce)](),this[_0x31fa44(0x3d8)]['forEach'](_0x2d608b=>_0x2d608b[_0x31fa44(0x484)]()),this['_sessions'][_0x31fa44(0x326)](),this[_0x31fa44(0x2fc)][_0x31fa44(0x45e)]();}async[_0x2229a0(0x264)](_0x370ec2){var _0x5aa677=_0x2229a0;if(this[_0x5aa677(0x3d8)][_0x5aa677(0x202)](_0x370ec2))return this[_0x5aa677(0x3d8)][_0x5aa677(0x444)](_0x370ec2);this[_0x5aa677(0x336)]();const _0x49d72a=this[_0x5aa677(0x315)][_0x5aa677(0x49c)](_0x5e3fa4[_0x5aa677(0x46d)],_0x370ec2,this[_0x5aa677(0x3c1)][_0x5aa677(0x1d1)]());return this[_0x5aa677(0x3d8)][_0x5aa677(0x3a6)](_0x370ec2,_0x49d72a),_0x49d72a;}[_0x2229a0(0x1d5)](_0x4ac624){var _0x18b7dc=_0x2229a0,_0x27d9be;const _0x44a37b=this[_0x18b7dc(0x3d8)][_0x18b7dc(0x444)](_0x4ac624);_0x44a37b&&(this[_0x18b7dc(0x3d8)]['delete'](_0x4ac624),_0x44a37b[_0x18b7dc(0x43b)]()),this[_0x18b7dc(0x3d8)][_0x18b7dc(0x4f0)]||(_0x27d9be=this[_0x18b7dc(0x530)])==null||_0x27d9be[_0x18b7dc(0x43b)]();}[_0x2229a0(0x537)](){var _0x58c90c=_0x2229a0;this['_retryCount']=0x0,this[_0x58c90c(0x258)](),this[_0x58c90c(0x1a3)]();}['_clearRetryConnectingTimer'](){var _0xd7e3ba=_0x2229a0;this[_0xd7e3ba(0x295)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xd7e3ba(0x295)]=null);}async[_0x2229a0(0x46a)](){var _0xc94f38=_0x2229a0,_0x317246;const _0xdfec6f=this[_0xc94f38(0x24f)][_0xc94f38(0x247)](_0x5e0130),_0x248cb4=(_0x317246=_0xdfec6f==null?void 0x0:_0xdfec6f[_0xc94f38(0x342)])!=null?_0x317246:_0x46c157,_0x43a6e2=await this[_0xc94f38(0x241)][_0xc94f38(0x42e)](_0x248cb4);return this[_0xc94f38(0x319)]=_0x43a6e2,_0x43a6e2;}async['_tryEnsureSocket'](){var _0x4dbde4=_0x2229a0,_0x211ab6,_0x1c9bda;try{const _0x4c1941=(_0x1c9bda=(_0x211ab6=this[_0x4dbde4(0x530)])!=null?_0x211ab6:this[_0x4dbde4(0x319)])!=null?_0x1c9bda:await this[_0x4dbde4(0x46a)]();if(_0x4c1941){const _0x224626=_0x4c1941[_0x4dbde4(0x535)];_0x4c1941['send']=_0x341af3=>(this[_0x4dbde4(0x270)](),_0x224626[_0x4dbde4(0x52e)](_0x4c1941,[_0x341af3])),_0x4c1941[_0x4dbde4(0x2d2)][_0x4dbde4(0x206)](_0x24df6f=>this[_0x4dbde4(0x21f)](_0x4c1941,_0x24df6f)),_0x4c1941[_0x4dbde4(0x40c)][_0x4dbde4(0x3fa)](_0x16efa3[_0x4dbde4(0x23b)](0x1))[_0x4dbde4(0x206)](_0x572519=>this['_logService'][_0x4dbde4(0x508)]('[CollaborationSessionService]:\x20socket\x20error',_0x572519)),_0x4c1941['open$'][_0x4dbde4(0x3fa)](_0x16efa3[_0x4dbde4(0x23b)](0x1))['subscribe'](()=>{var _0x51d197=_0x4dbde4;this[_0x51d197(0x395)](_0x4c1941);}),_0x4c1941[_0x4dbde4(0x346)]['pipe'](_0x16efa3[_0x4dbde4(0x23b)](0x1))[_0x4dbde4(0x206)](_0x5ed01c=>{var _0x21e6d8=_0x4dbde4;this[_0x21e6d8(0x501)][_0x21e6d8(0x513)](_0x21e6d8(0x3b1),_0x21e6d8(0x45f),_0x5ed01c),this['_onConnectionFailed']();});}}catch(_0x1c9070){this[_0x4dbde4(0x501)]['error'](_0x1c9070),this[_0x4dbde4(0x262)]();}}['_onConnectionOpen'](_0x3fc7bd){var _0x332f58=_0x2229a0;this[_0x332f58(0x501)][_0x332f58(0x513)](_0x332f58(0x3b1),_0x332f58(0x28d)),_0x3fc7bd[_0x332f58(0x535)]({'cmd':_0x5db895[_0x332f58(0x306)]}),this[_0x332f58(0x270)]();}['_onOffline'](){var _0x328852=_0x2229a0;this[_0x328852(0x37c)]=!0x1,this[_0x328852(0x319)]=null,this['_status$'][_0x328852(0x393)](_0x366b35[_0x328852(0x3d1)]),this[_0x328852(0x3c1)][_0x328852(0x393)](null),this[_0x328852(0x3a0)](),this[_0x328852(0x2ce)]();}['_onConnectionFailed'](){var _0x2798e7=_0x2229a0,_0x11625a;this[_0x2798e7(0x401)](),this[_0x2798e7(0x23e)]<((_0x11625a=this['_configService'][_0x2798e7(0x247)](_0x2a69c3))!=null?_0x11625a:0x3)?(this[_0x2798e7(0x388)][_0x2798e7(0x4a6)]({'id':_0x306c72[_0x2798e7(0x332)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x2798e7(0x4a6)]({'id':_0x306c72['SOCKET_FAILED']});}[_0x2229a0(0x1a3)](){var _0x31c424=_0x2229a0,_0x5a8704;const _0x1bf76a=this[_0x31c424(0x23e)],_0x597534=this[_0x31c424(0x24f)][_0x31c424(0x247)](_0x5e0130),_0x1e8a1a=_0x1bf76a===0x0?0x0:((_0x5a8704=_0x597534==null?void 0x0:_0x597534['retryConnectingInterval'])!=null?_0x5a8704:0x4e20)*0x2**_0x1bf76a;this['_retryConnectingTimer']=setTimeout(()=>{var _0x35551b=_0x31c424;clearTimeout(this['_retryConnectingTimer']),this[_0x35551b(0x295)]=null,this[_0x35551b(0x336)]();},_0x1e8a1a),this[_0x31c424(0x23e)]+=0x1;}[_0x2229a0(0x21f)](_0x52e0ea,_0x1da9f5){var _0x437df9=_0x2229a0;const {cmd:_0x2feadb}=_0x1da9f5;_0x2feadb===_0x5db895[_0x437df9(0x306)]&&!this[_0x437df9(0x37c)]&&(_0x52e0ea[_0x437df9(0x398)]=_0x1da9f5[_0x437df9(0x214)][_0x437df9(0x398)],this[_0x437df9(0x3c1)][_0x437df9(0x393)](_0x52e0ea),this[_0x437df9(0x2fc)][_0x437df9(0x393)](_0x366b35[_0x437df9(0x2e6)]),this['_socketReady']=!0x0,this[_0x437df9(0x319)]=null),_0x2feadb===_0x5db895[_0x437df9(0x1ac)]&&this[_0x437df9(0x3a0)](),this[_0x437df9(0x270)]();}['_rescheduleHeartbeat'](){var _0xca7a84=_0x2229a0,_0x234eb2;this[_0xca7a84(0x2ce)](),this[_0xca7a84(0x4e1)]=setTimeout(()=>this[_0xca7a84(0x2f5)](),(_0x234eb2=this[_0xca7a84(0x24f)][_0xca7a84(0x247)](_0x50386d))!=null?_0x234eb2:0x7530);}['_sendHeartbeat'](){var _0x558d33=_0x2229a0;this[_0x558d33(0x530)][_0x558d33(0x535)]({'cmd':_0x5db895[_0x558d33(0x1ac)]}),this[_0x558d33(0x1ad)]();}[_0x2229a0(0x1ad)](){var _0x39cb24=_0x2229a0,_0x39f0c6;this[_0x39cb24(0x340)]=setTimeout(()=>this[_0x39cb24(0x262)](),(_0x39f0c6=this[_0x39cb24(0x24f)][_0x39cb24(0x247)](_0x3bd8ba))!=null?_0x39f0c6:0x4e20);}['_clearHeartbeatTimer'](){var _0x4e39d6=_0x2229a0;this[_0x4e39d6(0x4e1)]!=null&&(clearTimeout(this[_0x4e39d6(0x4e1)]),this[_0x4e39d6(0x4e1)]=null);}[_0x2229a0(0x3a0)](){var _0x1d11d5=_0x2229a0;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1d11d5(0x340)]),this[_0x1d11d5(0x340)]=null);}},_0x5e3fa4[_0x2229a0(0x3db)]=_0x2b7ee1([_0x5aa2c0(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x5aa2c0(0x1,_0x158513[_0x2229a0(0x2b8)]),_0x5aa2c0(0x2,_0x158513['IConfigService']),_0x5aa2c0(0x3,_0xd4806f),_0x5aa2c0(0x4,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x5aa2c0(0x5,_0x158513['Optional'](_0x215e06))],_0x5e3fa4[_0x2229a0(0x3db)]);var _0x5be50e=Object[_0x2229a0(0x330)],_0x5c3685=(_0x5a9ed7,_0x4960b7,_0x2211b3,_0x29fea3)=>{var _0x469e44=_0x2229a0;for(var _0x504900=_0x29fea3>0x1?void 0x0:_0x29fea3?_0x5be50e(_0x4960b7,_0x2211b3):_0x4960b7,_0x1c41ab=_0x5a9ed7[_0x469e44(0x316)]-0x1,_0x39c5c8;_0x1c41ab>=0x0;_0x1c41ab--)(_0x39c5c8=_0x5a9ed7[_0x1c41ab])&&(_0x504900=_0x39c5c8(_0x504900)||_0x504900);return _0x504900;},_0x59a335=(_0x578055,_0x2cccf4)=>(_0x23014e,_0xb16280)=>_0x2cccf4(_0x23014e,_0xb16280,_0x578055);_0x5e3fa4[_0x2229a0(0x29b)]=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x3a0d9f,_0x3d0623,_0x302fff,_0x1f4fee){var _0x304f84=_0x2229a0,_0x9abf6d;super(),_0x4b59b5(this,_0x304f84(0x46f),new Map()),_0x4b59b5(this,'_entityInit$',new _0x32f9ef[(_0x304f84(0x2e1))]()),_0x4b59b5(this,'entityInit$',this[_0x304f84(0x213)][_0x304f84(0x1d1)]()),(this[_0x304f84(0x315)]=_0x3a0d9f,this[_0x304f84(0x3cc)]=_0x3d0623,this['_configService']=_0x302fff,this[_0x304f84(0x1ae)]=_0x1f4fee,((_0x9abf6d=this[_0x304f84(0x24f)][_0x304f84(0x247)](_0x5e0130))==null?void 0x0:_0x9abf6d['enableCollaboration'])!==!0x1&&this[_0x304f84(0x1db)]());}[_0x2229a0(0x484)](){var _0x4046ed=_0x2229a0;super[_0x4046ed(0x484)](),this[_0x4046ed(0x46f)][_0x4046ed(0x45b)](_0x5542b0=>_0x5542b0[_0x4046ed(0x484)]()),this[_0x4046ed(0x46f)][_0x4046ed(0x326)]();}[_0x2229a0(0x238)](_0x442737){var _0x3ad6ca=_0x2229a0,_0x577642;return(_0x577642=this[_0x3ad6ca(0x46f)][_0x3ad6ca(0x444)](_0x442737))!=null?_0x577642:null;}[_0x2229a0(0x27e)](_0x525b23){var _0x2eeef0=_0x2229a0;const _0x578128=this[_0x2eeef0(0x238)](_0x525b23);return _0x578128?_0x32f9ef['of'](_0x578128):this[_0x2eeef0(0x213)][_0x2eeef0(0x3fa)](_0x16efa3[_0x2eeef0(0x51e)](_0x2feb2e=>_0x2feb2e['unitID']===_0x525b23));}['readyForCollab'](_0x4687a7){var _0x28f90a=_0x2229a0;return _0x32f9ef[_0x28f90a(0x3fd)](this['getCollabEntity$'](_0x4687a7)[_0x28f90a(0x3fa)](_0x16efa3[_0x28f90a(0x1d8)](()=>{})));}[_0x2229a0(0x1db)](){var _0x327ce4=_0x2229a0;this[_0x327ce4(0x1ae)][_0x327ce4(0x426)](_0x158513[_0x327ce4(0x39a)]['UNIVER_SHEET'])[_0x327ce4(0x3fa)](_0x32f9ef[_0x327ce4(0x251)](this['dispose$']),_0x16efa3[_0x327ce4(0x1b9)](0x10))[_0x327ce4(0x206)](async _0x22fd72=>{var _0x54a0d9=_0x327ce4;const _0x1262bc=_0x22fd72['getUnitId'](),_0x26d6a3=await this[_0x54a0d9(0x2d3)](_0x1262bc,_0x24c96d['UNIVER_SHEET']);this[_0x54a0d9(0x46f)][_0x54a0d9(0x3a6)](_0x1262bc,_0x26d6a3);}),this[_0x327ce4(0x1ae)]['getTypeOfUnitAdded$'](_0x158513[_0x327ce4(0x39a)][_0x327ce4(0x275)])[_0x327ce4(0x3fa)](_0x32f9ef[_0x327ce4(0x251)](this[_0x327ce4(0x4ce)]),_0x16efa3[_0x327ce4(0x1b9)](0x10))[_0x327ce4(0x3fa)](_0x16efa3[_0x327ce4(0x51e)](_0x14d8bd=>!_0x14d8bd['getUnitId']()[_0x327ce4(0x3e4)]('__')))[_0x327ce4(0x206)](async _0x1d6f0e=>{var _0x3ffa74=_0x327ce4;const _0x4ed926=_0x1d6f0e['getUnitId'](),_0xb85e25=await this[_0x3ffa74(0x2d3)](_0x4ed926,_0x24c96d[_0x3ffa74(0x275)]);this[_0x3ffa74(0x46f)][_0x3ffa74(0x3a6)](_0x4ed926,_0xb85e25);}),_0x32f9ef[_0x327ce4(0x47e)](this['_univerInstanceService'][_0x327ce4(0x1e1)](_0x158513[_0x327ce4(0x39a)][_0x327ce4(0x394)]),this[_0x327ce4(0x1ae)][_0x327ce4(0x1e1)](_0x158513[_0x327ce4(0x39a)][_0x327ce4(0x275)]))['pipe'](_0x32f9ef['takeUntil'](this['dispose$']))['subscribe'](_0x3fd3b9=>{var _0x5e500d=_0x327ce4;const _0x163086=_0x3fd3b9['getUnitId'](),_0x269cba=this[_0x5e500d(0x46f)][_0x5e500d(0x444)](_0x163086);_0x269cba&&(_0x269cba[_0x5e500d(0x484)](),this['_entities'][_0x5e500d(0x420)](_0x163086));});}async[_0x2229a0(0x2d3)](_0x3efbab,_0x43f1e4){var _0x17e7c1=_0x2229a0;const _0x58e43d=await this[_0x17e7c1(0x3cc)][_0x17e7c1(0x264)](_0x3efbab),_0x10102a=this[_0x17e7c1(0x315)][_0x17e7c1(0x49c)](this[_0x17e7c1(0x4d8)](_0x43f1e4),_0x3efbab,_0x43f1e4,_0x58e43d);return await _0x10102a[_0x17e7c1(0x222)](),this[_0x17e7c1(0x213)][_0x17e7c1(0x393)](_0x10102a),_0x10102a;}[_0x2229a0(0x4d8)](_0x323e33){var _0x464874=_0x2229a0;switch(_0x323e33){case _0x24c96d[_0x464874(0x275)]:return _0x5e3fa4['DocCollaborationEntity'];case _0x24c96d['UNIVER_SHEET']:return _0x5e3fa4['SheetCollaborationEntity'];default:throw new Error(_0x464874(0x2ac)+_0x323e33);}}},_0x5e3fa4['CollaborationController']=_0x5c3685([_0x59a335(0x0,_0x158513['Inject'](_0x158513[_0x2229a0(0x523)])),_0x59a335(0x1,_0x158513['Inject'](_0x5e3fa4['CollaborationSessionService'])),_0x59a335(0x2,_0x158513[_0x2229a0(0x4c2)]),_0x59a335(0x3,_0x158513[_0x2229a0(0x4ad)])],_0x5e3fa4[_0x2229a0(0x29b)]);var _0x7403dc=Object[_0x2229a0(0x330)],_0x5a37fe=(_0x34f0b6,_0x2e586f,_0x2a8898,_0x3f0856)=>{var _0x598cf8=_0x2229a0;for(var _0x40cb53=_0x3f0856>0x1?void 0x0:_0x3f0856?_0x7403dc(_0x2e586f,_0x2a8898):_0x2e586f,_0x2cba79=_0x34f0b6[_0x598cf8(0x316)]-0x1,_0x5b1912;_0x2cba79>=0x0;_0x2cba79--)(_0x5b1912=_0x34f0b6[_0x2cba79])&&(_0x40cb53=_0x5b1912(_0x40cb53)||_0x40cb53);return _0x40cb53;},_0x81f59=(_0x22a5f3,_0x384ea5)=>(_0x1a07f1,_0x37195f)=>_0x384ea5(_0x1a07f1,_0x37195f,_0x22a5f3);const _0x212335='DEFAULT_FILE_NAME',_0x42aa19=_0x2229a0(0x32f);let _0x370f44=class extends _0x158513['Disposable']{constructor(_0x43898a,_0x52f801){var _0x38f47e=_0x2229a0;super(),this[_0x38f47e(0x1ae)]=_0x43898a,this['_configService']=_0x52f801,this[_0x38f47e(0x1db)]();}[_0x2229a0(0x1db)](){var _0x1f851c=_0x2229a0;this[_0x1f851c(0x2a6)](this[_0x1f851c(0x1ae)][_0x1f851c(0x4de)][_0x1f851c(0x206)](()=>{var _0x37ec29=_0x1f851c,_0x1fcdd5;const _0x478d7b=this[_0x37ec29(0x1ae)][_0x37ec29(0x40e)]();let _0x3d8bbf=(_0x1fcdd5=this['_configService'][_0x37ec29(0x247)](_0x212335))!=null?_0x1fcdd5:_0x42aa19;_0x478d7b instanceof _0x158513['Workbook']&&(_0x3d8bbf=_0x478d7b['name']),document[_0x37ec29(0x465)]=_0x3d8bbf;}));}};_0x370f44=_0x5a37fe([_0x81f59(0x0,_0x158513[_0x2229a0(0x4ad)]),_0x81f59(0x1,_0x158513['IConfigService'])],_0x370f44);var _0x228baa=Object['getOwnPropertyDescriptor'],_0x4dd02b=(_0x3bcff0,_0x2041ff,_0x4bb0ee,_0x379883)=>{var _0x44969c=_0x2229a0;for(var _0x353d1f=_0x379883>0x1?void 0x0:_0x379883?_0x228baa(_0x2041ff,_0x4bb0ee):_0x2041ff,_0x15408d=_0x3bcff0[_0x44969c(0x316)]-0x1,_0xbbce96;_0x15408d>=0x0;_0x15408d--)(_0xbbce96=_0x3bcff0[_0x15408d])&&(_0x353d1f=_0xbbce96(_0x353d1f)||_0x353d1f);return _0x353d1f;},_0x5871e2=(_0x18ba7a,_0x506a23)=>(_0x281523,_0x5014ad)=>_0x506a23(_0x281523,_0x5014ad,_0x18ba7a);let _0x4c5a49=class{constructor(_0x366941,_0x377ba5,_0x161487){var _0x71fcad=_0x2229a0;this[_0x71fcad(0x24f)]=_0x366941,this[_0x71fcad(0x510)]=_0x377ba5,this[_0x71fcad(0x4c8)]=_0x161487,this['init']();}[_0x2229a0(0x222)](){var _0x1e7587=_0x2229a0;this[_0x1e7587(0x510)][_0x1e7587(0x43a)]({'priority':0x1,'interceptor':(_0x17d648,_0xf81591)=>_0xf81591(_0x17d648)[_0x1e7587(0x3fa)](_0x32f9ef[_0x1e7587(0x254)](async _0x1d09fa=>{var _0x32c9e4=_0x1e7587;const _0x5ac92a=_0x1d09fa;if(_0x5ac92a[_0x32c9e4(0x2e2)]===0x191){if(typeof window>'u')throw new Error(_0x32c9e4(0x50b));if(window[_0x32c9e4(0x3a9)](this['localeService']['t'](_0x32c9e4(0x432)))){const _0x4cf0c4=window['encodeURIComponent'](window[_0x32c9e4(0x429)][_0x32c9e4(0x3a4)]);window[_0x32c9e4(0x429)][_0x32c9e4(0x3a4)]=this['_getLoginPath']()+_0x32c9e4(0x303)+_0x4cf0c4;}}return _0x5ac92a;}))});}['_getLoginPath'](){var _0x1bf67c=_0x2229a0,_0x23d1ec;const _0x18ed1a=this[_0x1bf67c(0x24f)]['getConfig'](_0x5e0130);return(_0x23d1ec=_0x18ed1a==null?void 0x0:_0x18ed1a[_0x1bf67c(0x45c)])!=null?_0x23d1ec:_0x5868b9;}};_0x4c5a49=_0x4dd02b([_0x5871e2(0x0,_0x158513[_0x2229a0(0x4c2)]),_0x5871e2(0x1,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)])),_0x5871e2(0x2,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x402)]))],_0x4c5a49);var _0x6a556b=Object[_0x2229a0(0x330)],_0x5dadef=(_0x8223c0,_0x4e0d96,_0x38e7f1,_0x328602)=>{var _0x5d31c5=_0x2229a0;for(var _0x8359c=_0x328602>0x1?void 0x0:_0x328602?_0x6a556b(_0x4e0d96,_0x38e7f1):_0x4e0d96,_0x4c43b8=_0x8223c0[_0x5d31c5(0x316)]-0x1,_0x4cc56c;_0x4c43b8>=0x0;_0x4c43b8--)(_0x4cc56c=_0x8223c0[_0x4c43b8])&&(_0x8359c=_0x4cc56c(_0x8359c)||_0x8359c);return _0x8359c;},_0x55fb05=(_0x167737,_0x998ef7)=>(_0x4c7437,_0x2639d1)=>_0x998ef7(_0x4c7437,_0x2639d1,_0x167737);const _0x367c79=_0x2229a0(0x4fb);_0x5e3fa4['AuthzIoHttpService']=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x2fe6f8,_0x11d5e1){var _0x5e6f7a=_0x2229a0;super(),this['_HTTPService']=_0x2fe6f8,this[_0x5e6f7a(0x24f)]=_0x11d5e1,this[_0x5e6f7a(0x1d0)]();}[_0x2229a0(0x1d0)](){var _0x71987b=_0x2229a0;const _0x4b9596=this;this[_0x71987b(0x2a6)](this[_0x71987b(0x49d)][_0x71987b(0x43a)]({'priority':0x3e7,'interceptor':_0x5b6221[_0x71987b(0x4a2)]({'isMatch'(_0x2aef58){var _0x44e06d=_0x71987b,_0x38d1f4;if(_0x2aef58['method']===_0x44e06d(0x37b)&&((_0x38d1f4=_0x2aef58[_0x44e06d(0x209)])!=null&&_0x38d1f4[_0x44e06d(0x341)])){const {objectID:_0x44eacd,objectType:_0x18e5eb}=_0x2aef58[_0x44e06d(0x209)][_0x44e06d(0x341)]||{};if(!_0x44eacd||_0x18e5eb===void 0x0)return!0x1;const _0x2444b9=_0x4b9596[_0x44e06d(0x50f)]()+'/'+_0x18e5eb+_0x44e06d(0x367)+_0x44eacd+_0x44e06d(0x1ec);if(_0x2aef58['url']===_0x2444b9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2cc569){var _0xe9774f=_0x71987b,_0x308da2;return(_0x308da2=_0x2cc569[_0xe9774f(0x209)])==null?void 0x0:_0x308da2[_0xe9774f(0x341)];},'mergeParamsToRequest'(_0xfa1441,_0x1fdf44){var _0x44bff3=_0x71987b;const _0x19f00a=_0x4b9596[_0x44bff3(0x50f)]()+_0x44bff3(0x31e),_0x4a48fe=_0xfa1441['reduce']((_0x4eec8e,_0x52ba3a)=>{var _0x590cd6=_0x44bff3;const {unitID:_0x1ec604,objectID:_0x2ed14a,objectType:_0x7e4aa0,actions:_0xe71021}=_0x52ba3a;return _0x4eec8e[_0x1ec604]||(_0x4eec8e[_0x1ec604]={}),_0x4eec8e[_0x1ec604][_0x2ed14a]||(_0x4eec8e[_0x1ec604][_0x2ed14a]={'objectID':_0x2ed14a,'objectType':_0x7e4aa0,'actions':[]}),_0x4eec8e[_0x1ec604][_0x2ed14a][_0x590cd6(0x311)][_0x590cd6(0x4a3)](..._0xe71021),_0x4eec8e;},{}),_0x2ebe89=[];for(const _0x3f7059 in _0x4a48fe)for(const _0x384d63 in _0x4a48fe[_0x3f7059]){const {actions:_0x5197fb,objectType:_0x266124}=_0x4a48fe[_0x3f7059][_0x384d63],_0x15cbff=[...new Set(_0x5197fb)];_0x2ebe89[_0x44bff3(0x4a3)]({'unitID':_0x3f7059,'objectID':_0x384d63,'objectType':_0x266124,'actions':_0x15cbff});}return new _0x5b6221[(_0x44bff3(0x268))](_0x44bff3(0x37b),_0x19f00a,{'headers':_0x1fdf44[_0x44bff3(0x44b)],'withCredentials':_0x1fdf44['withCredentials'],'responseType':_0x1fdf44[_0x44bff3(0x3ad)],'body':{'requests':_0x2ebe89}});}},{'distributeResult'(_0x55c496,_0x533910){var _0xcbb353=_0x71987b;const {objectActions:_0x49ff58}=_0x55c496;return _0x533910[_0xcbb353(0x1d8)](_0x39fb1d=>{var _0x19e332=_0xcbb353;const {unitID:_0x19c7c3,objectID:_0x55eb1b,actions:_0x351ee4}=_0x39fb1d,_0x310de8=_0x49ff58[_0x19e332(0x428)](_0x2f378a=>_0x2f378a[_0x19e332(0x350)]===_0x19c7c3&&_0x2f378a[_0x19e332(0x250)]===_0x55eb1b),_0x40cc2d=_0x351ee4['map'](_0x413738=>_0x310de8==null?void 0x0:_0x310de8['actions'][_0x19e332(0x428)](_0x4a1cd4=>_0x4a1cd4[_0x19e332(0x242)]===_0x413738))['filter'](_0x1bae7b=>!!_0x1bae7b);return{'config':_0x39fb1d,'result':{'actions':_0x40cc2d,'error':_0x55c496['error']}};});}})}));}[_0x2229a0(0x50f)](){var _0x3be82d=_0x2229a0,_0x4ff433;const _0x293688=this[_0x3be82d(0x24f)][_0x3be82d(0x247)](_0x5e0130);return(_0x4ff433=_0x293688==null?void 0x0:_0x293688['authzUrl'])!=null?_0x4ff433:_0x367c79;}async['create'](_0x5c03c5){var _0x2899cc=_0x2229a0;const _0x580848=this[_0x2899cc(0x50f)]()+'/'+_0x5c03c5[_0x2899cc(0x2bd)]+_0x2899cc(0x1e9);return(await this[_0x2899cc(0x49d)][_0x2899cc(0x3f4)](_0x580848,{'body':_0x5c03c5}))[_0x2899cc(0x341)][_0x2899cc(0x250)]||'';}async['list'](_0xe4bf87){var _0x1ab69e=_0x2229a0;const _0x62d611=this['_getAPIPrefixPath']()+_0x1ab69e(0x22e);return(await this[_0x1ab69e(0x49d)][_0x1ab69e(0x3f4)](_0x62d611,{'body':_0xe4bf87}))[_0x1ab69e(0x341)][_0x1ab69e(0x1f7)];}async['update'](_0x229bec){var _0x187d14=_0x2229a0,_0x186c96,_0x1ffeb7;const _0x48ac1e=this[_0x187d14(0x50f)]()+'/'+_0x229bec['objectType']+_0x187d14(0x367)+_0x229bec['objectID'],_0x64cec2=await this[_0x187d14(0x49d)][_0x187d14(0x4d0)](_0x48ac1e,{'body':_0x229bec});if(((_0x1ffeb7=(_0x186c96=_0x64cec2==null?void 0x0:_0x64cec2[_0x187d14(0x341)])==null?void 0x0:_0x186c96[_0x187d14(0x508)])==null?void 0x0:_0x1ffeb7['code'])!==0x1)throw new Error(_0x187d14(0x2c5));}async[_0x2229a0(0x267)](_0x441722){var _0x1bddc2=_0x2229a0;const _0x572c20=this['_getAPIPrefixPath']()+'/'+_0x441722[_0x1bddc2(0x2bd)]+_0x1bddc2(0x367)+_0x441722['objectID']+_0x1bddc2(0x1ec);return(await this[_0x1bddc2(0x49d)][_0x1bddc2(0x3f4)](_0x572c20,{'body':_0x441722}))[_0x1bddc2(0x341)][_0x1bddc2(0x311)];}async[_0x2229a0(0x47f)](_0x104c97){var _0xe60a=_0x2229a0;const _0x54057e=this[_0xe60a(0x50f)]()+_0xe60a(0x31e);return(await this['_HTTPService']['post'](_0x54057e,{'body':{'requests':_0x104c97}}))[_0xe60a(0x341)][_0xe60a(0x21c)];}async[_0x2229a0(0x228)](_0x2faac8){var _0x44abb6=_0x2229a0;const _0x38bda6=this['_getAPIPrefixPath']()+'/'+_0x2faac8['objectType']+_0x44abb6(0x381),_0x2f54af=await this['_HTTPService'][_0x44abb6(0x3f4)](_0x38bda6,{'body':_0x2faac8});return{'roles':_0x2f54af[_0x44abb6(0x341)][_0x44abb6(0x274)],'actions':_0x2f54af[_0x44abb6(0x341)]['actions']};}async['deleteCollaborator'](_0x38a817){var _0x2de49f=_0x2229a0;const _0x42acc4=this[_0x2de49f(0x50f)]()+'/collaborator';await this[_0x2de49f(0x49d)]['delete'](_0x42acc4,{'params':{'collaboratorID':_0x38a817[_0x2de49f(0x2cd)],'objectID':_0x38a817['objectID'],'unitID':_0x38a817[_0x2de49f(0x350)]}});}async[_0x2229a0(0x410)](_0x522bba){var _0x49842d=_0x2229a0;const _0x209ca6=this['_getAPIPrefixPath']()+_0x49842d(0x507);await this[_0x49842d(0x49d)][_0x49842d(0x3b0)](_0x209ca6,{'body':_0x522bba});}async[_0x2229a0(0x2d6)](_0x46fdbf){var _0x9f31d9=_0x2229a0;const _0x57bfef=this[_0x9f31d9(0x50f)]()+_0x9f31d9(0x507);await this[_0x9f31d9(0x49d)][_0x9f31d9(0x3f4)](_0x57bfef,{'body':_0x46fdbf});}async[_0x2229a0(0x22d)](_0x7e51c){var _0x2c31a9=_0x2229a0;const _0x5195ab=this[_0x2c31a9(0x50f)]()+'/collaborator';return(await this[_0x2c31a9(0x49d)]['get'](_0x5195ab,{'params':{'objectID':_0x7e51c[_0x2c31a9(0x250)],'unitID':_0x7e51c[_0x2c31a9(0x350)]}}))[_0x2c31a9(0x341)][_0x2c31a9(0x4a8)];}async[_0x2229a0(0x2da)](_0x57b457){var _0x20e282=_0x2229a0;const _0x52df63=this[_0x20e282(0x50f)]()+_0x20e282(0x507);await this[_0x20e282(0x49d)][_0x20e282(0x4d0)](_0x52df63,{'body':_0x57b457});}},_0x5e3fa4[_0x2229a0(0x462)]=_0x5dadef([_0x55fb05(0x0,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)])),_0x55fb05(0x1,_0x158513['Inject'](_0x158513[_0x2229a0(0x4c2)]))],_0x5e3fa4[_0x2229a0(0x462)]);var _0x348c0f=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x5afa2c(_0x35e669){var _0x3702ed=_0x2229a0;return _0x35e669&&_0x35e669['__esModule']&&Object['prototype'][_0x3702ed(0x409)][_0x3702ed(0x2d1)](_0x35e669,_0x3702ed(0x25d))?_0x35e669[_0x3702ed(0x25d)]:_0x35e669;}var _0x1d4c9d={'exports':{}};function _0x322950(_0x578a67){var _0x693656=_0x2229a0;throw new Error(_0x693656(0x3f5)+_0x578a67+_0x693656(0x2e9));}var _0x40ed59={'exports':{}},_0x299603=_0x40ed59['exports'],_0x2b9ffd;function _0x1b8113(){var _0x529008=_0x2229a0;return _0x2b9ffd||(_0x2b9ffd=0x1,function(_0x59114e,_0x1464a1){(function(_0x3e0009,_0x1eb953){var _0x5cf7cb=_0x573a;_0x59114e[_0x5cf7cb(0x20c)]=_0x1eb953();}(_0x299603,function(){var _0x3f5a45=_0x3f5a45||function(_0x2139ef,_0x3a2e15){var _0x3f825d=_0x573a,_0x1159f5;if(typeof window<'u'&&window[_0x3f825d(0x441)]&&(_0x1159f5=window[_0x3f825d(0x441)]),typeof self<'u'&&self[_0x3f825d(0x441)]&&(_0x1159f5=self[_0x3f825d(0x441)]),typeof globalThis<'u'&&globalThis[_0x3f825d(0x441)]&&(_0x1159f5=globalThis[_0x3f825d(0x441)]),!_0x1159f5&&typeof window<'u'&&window[_0x3f825d(0x2a5)]&&(_0x1159f5=window[_0x3f825d(0x2a5)]),!_0x1159f5&&typeof _0x348c0f<'u'&&_0x348c0f[_0x3f825d(0x441)]&&(_0x1159f5=_0x348c0f[_0x3f825d(0x441)]),!_0x1159f5&&typeof _0x322950==_0x3f825d(0x3a3))try{_0x1159f5=require('crypto');}catch{}var _0x2c4a25=function(){var _0x52b858=_0x3f825d;if(_0x1159f5){if(typeof _0x1159f5[_0x52b858(0x3ab)]==_0x52b858(0x3a3))try{return _0x1159f5[_0x52b858(0x3ab)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1159f5[_0x52b858(0x4bb)]=='function')try{return _0x1159f5[_0x52b858(0x4bb)](0x4)[_0x52b858(0x3ea)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x133a28=Object[_0x3f825d(0x4cc)]||(function(){function _0x41e45c(){}return function(_0x48c701){var _0x30ec45=_0x573a,_0x7bae7a;return _0x41e45c[_0x30ec45(0x362)]=_0x48c701,_0x7bae7a=new _0x41e45c(),_0x41e45c[_0x30ec45(0x362)]=null,_0x7bae7a;};}()),_0x1168a8={},_0x40bafd=_0x1168a8[_0x3f825d(0x532)]={},_0x2a17e4=_0x40bafd[_0x3f825d(0x312)]=(function(){return{'extend':function(_0x39f7c9){var _0x30dd6d=_0x573a,_0x5c8aa0=_0x133a28(this);return _0x39f7c9&&_0x5c8aa0['mixIn'](_0x39f7c9),(!_0x5c8aa0[_0x30dd6d(0x409)](_0x30dd6d(0x222))||this[_0x30dd6d(0x222)]===_0x5c8aa0['init'])&&(_0x5c8aa0[_0x30dd6d(0x222)]=function(){var _0x34e691=_0x30dd6d;_0x5c8aa0[_0x34e691(0x218)][_0x34e691(0x222)][_0x34e691(0x52e)](this,arguments);}),_0x5c8aa0[_0x30dd6d(0x222)][_0x30dd6d(0x362)]=_0x5c8aa0,_0x5c8aa0['$super']=this,_0x5c8aa0;},'create':function(){var _0x38f062=_0x573a,_0x44504d=this[_0x38f062(0x31f)]();return _0x44504d['init'][_0x38f062(0x52e)](_0x44504d,arguments),_0x44504d;},'init':function(){},'mixIn':function(_0x2cebe7){var _0x1c6f89=_0x573a;for(var _0x48826c in _0x2cebe7)_0x2cebe7['hasOwnProperty'](_0x48826c)&&(this[_0x48826c]=_0x2cebe7[_0x48826c]);_0x2cebe7['hasOwnProperty'](_0x1c6f89(0x520))&&(this[_0x1c6f89(0x520)]=_0x2cebe7[_0x1c6f89(0x520)]);},'clone':function(){var _0x1fabff=_0x573a;return this[_0x1fabff(0x222)]['prototype'][_0x1fabff(0x31f)](this);}};}()),_0x5f4bda=_0x40bafd[_0x3f825d(0x491)]=_0x2a17e4[_0x3f825d(0x31f)]({'init':function(_0x1ecfe6,_0x42d11e){var _0x100a52=_0x3f825d;_0x1ecfe6=this['words']=_0x1ecfe6||[],_0x42d11e!=_0x3a2e15?this[_0x100a52(0x34f)]=_0x42d11e:this['sigBytes']=_0x1ecfe6[_0x100a52(0x316)]*0x4;},'toString':function(_0x500f44){var _0x181dbd=_0x3f825d;return(_0x500f44||_0x14b71c)[_0x181dbd(0x418)](this);},'concat':function(_0x3cf84b){var _0x4ae314=_0x3f825d,_0xc99ed0=this[_0x4ae314(0x2c2)],_0x1b0d7a=_0x3cf84b['words'],_0x468ac9=this['sigBytes'],_0x4e7e07=_0x3cf84b[_0x4ae314(0x34f)];if(this['clamp'](),_0x468ac9%0x4)for(var _0x416840=0x0;_0x416840<_0x4e7e07;_0x416840++){var _0x195425=_0x1b0d7a[_0x416840>>>0x2]>>>0x18-_0x416840%0x4*0x8&0xff;_0xc99ed0[_0x468ac9+_0x416840>>>0x2]|=_0x195425<<0x18-(_0x468ac9+_0x416840)%0x4*0x8;}else{for(var _0x3c1f60=0x0;_0x3c1f60<_0x4e7e07;_0x3c1f60+=0x4)_0xc99ed0[_0x468ac9+_0x3c1f60>>>0x2]=_0x1b0d7a[_0x3c1f60>>>0x2];}return this[_0x4ae314(0x34f)]+=_0x4e7e07,this;},'clamp':function(){var _0x38805e=_0x3f825d,_0x128752=this[_0x38805e(0x2c2)],_0x552d06=this[_0x38805e(0x34f)];_0x128752[_0x552d06>>>0x2]&=0xffffffff<<0x20-_0x552d06%0x4*0x8,_0x128752['length']=_0x2139ef['ceil'](_0x552d06/0x4);},'clone':function(){var _0x2dd593=_0x3f825d,_0x12e593=_0x2a17e4[_0x2dd593(0x497)][_0x2dd593(0x2d1)](this);return _0x12e593[_0x2dd593(0x2c2)]=this[_0x2dd593(0x2c2)][_0x2dd593(0x27f)](0x0),_0x12e593;},'random':function(_0x114578){var _0x39821b=_0x3f825d;for(var _0x35c53b=[],_0x5dc99a=0x0;_0x5dc99a<_0x114578;_0x5dc99a+=0x4)_0x35c53b[_0x39821b(0x4a3)](_0x2c4a25());return new _0x5f4bda[(_0x39821b(0x222))](_0x35c53b,_0x114578);}}),_0x224d63=_0x1168a8[_0x3f825d(0x230)]={},_0x14b71c=_0x224d63[_0x3f825d(0x252)]={'stringify':function(_0x273897){var _0x3001ad=_0x3f825d;for(var _0x3ac50f=_0x273897['words'],_0x34f293=_0x273897[_0x3001ad(0x34f)],_0x16a6b7=[],_0x4f8e7b=0x0;_0x4f8e7b<_0x34f293;_0x4f8e7b++){var _0x1cd903=_0x3ac50f[_0x4f8e7b>>>0x2]>>>0x18-_0x4f8e7b%0x4*0x8&0xff;_0x16a6b7[_0x3001ad(0x4a3)]((_0x1cd903>>>0x4)['toString'](0x10)),_0x16a6b7[_0x3001ad(0x4a3)]((_0x1cd903&0xf)[_0x3001ad(0x520)](0x10));}return _0x16a6b7['join']('');},'parse':function(_0x1769e9){var _0x2c7b46=_0x3f825d;for(var _0x40b1c3=_0x1769e9[_0x2c7b46(0x316)],_0x2cf0aa=[],_0x449f6e=0x0;_0x449f6e<_0x40b1c3;_0x449f6e+=0x2)_0x2cf0aa[_0x449f6e>>>0x3]|=parseInt(_0x1769e9[_0x2c7b46(0x379)](_0x449f6e,0x2),0x10)<<0x18-_0x449f6e%0x8*0x4;return new _0x5f4bda['init'](_0x2cf0aa,_0x40b1c3/0x2);}},_0x435815=_0x224d63['Latin1']={'stringify':function(_0x5f430d){var _0x499d11=_0x3f825d;for(var _0x46e109=_0x5f430d[_0x499d11(0x2c2)],_0x547a89=_0x5f430d[_0x499d11(0x34f)],_0x28b12b=[],_0x268125=0x0;_0x268125<_0x547a89;_0x268125++){var _0x52855d=_0x46e109[_0x268125>>>0x2]>>>0x18-_0x268125%0x4*0x8&0xff;_0x28b12b['push'](String[_0x499d11(0x1b0)](_0x52855d));}return _0x28b12b[_0x499d11(0x4a1)]('');},'parse':function(_0x4f4ca3){var _0x36c4de=_0x3f825d;for(var _0x47414b=_0x4f4ca3[_0x36c4de(0x316)],_0x5f1785=[],_0x281311=0x0;_0x281311<_0x47414b;_0x281311++)_0x5f1785[_0x281311>>>0x2]|=(_0x4f4ca3[_0x36c4de(0x4c4)](_0x281311)&0xff)<<0x18-_0x281311%0x4*0x8;return new _0x5f4bda[(_0x36c4de(0x222))](_0x5f1785,_0x47414b);}},_0x3f4179=_0x224d63[_0x3f825d(0x255)]={'stringify':function(_0x263082){var _0x1daf81=_0x3f825d;try{return decodeURIComponent(escape(_0x435815[_0x1daf81(0x418)](_0x263082)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xe7136b){var _0x375871=_0x3f825d;return _0x435815[_0x375871(0x34b)](unescape(encodeURIComponent(_0xe7136b)));}},_0x29f9c2=_0x40bafd['BufferedBlockAlgorithm']=_0x2a17e4[_0x3f825d(0x31f)]({'reset':function(){var _0x2e0360=_0x3f825d;this[_0x2e0360(0x39d)]=new _0x5f4bda['init'](),this['_nDataBytes']=0x0;},'_append':function(_0xbeb43e){var _0x2a8ef9=_0x3f825d;typeof _0xbeb43e=='string'&&(_0xbeb43e=_0x3f4179[_0x2a8ef9(0x34b)](_0xbeb43e)),this[_0x2a8ef9(0x39d)][_0x2a8ef9(0x36e)](_0xbeb43e),this[_0x2a8ef9(0x3d4)]+=_0xbeb43e[_0x2a8ef9(0x34f)];},'_process':function(_0x5df789){var _0x59cd14=_0x3f825d,_0x421d20,_0x2c052d=this[_0x59cd14(0x39d)],_0x65f581=_0x2c052d['words'],_0x4545e1=_0x2c052d[_0x59cd14(0x34f)],_0xbcea0c=this[_0x59cd14(0x387)],_0x1af773=_0xbcea0c*0x4,_0x584f69=_0x4545e1/_0x1af773;_0x5df789?_0x584f69=_0x2139ef[_0x59cd14(0x440)](_0x584f69):_0x584f69=_0x2139ef[_0x59cd14(0x392)]((_0x584f69|0x0)-this['_minBufferSize'],0x0);var _0x13b312=_0x584f69*_0xbcea0c,_0x166332=_0x2139ef[_0x59cd14(0x475)](_0x13b312*0x4,_0x4545e1);if(_0x13b312){for(var _0x12b4b2=0x0;_0x12b4b2<_0x13b312;_0x12b4b2+=_0xbcea0c)this[_0x59cd14(0x36d)](_0x65f581,_0x12b4b2);_0x421d20=_0x65f581[_0x59cd14(0x304)](0x0,_0x13b312),_0x2c052d[_0x59cd14(0x34f)]-=_0x166332;}return new _0x5f4bda[(_0x59cd14(0x222))](_0x421d20,_0x166332);},'clone':function(){var _0x561c76=_0x3f825d,_0x1f94e5=_0x2a17e4[_0x561c76(0x497)][_0x561c76(0x2d1)](this);return _0x1f94e5[_0x561c76(0x39d)]=this['_data'][_0x561c76(0x497)](),_0x1f94e5;},'_minBufferSize':0x0});_0x40bafd[_0x3f825d(0x21d)]=_0x29f9c2['extend']({'cfg':_0x2a17e4[_0x3f825d(0x31f)](),'init':function(_0x39dc7d){var _0x46404a=_0x3f825d;this[_0x46404a(0x1c9)]=this[_0x46404a(0x1c9)]['extend'](_0x39dc7d),this['reset']();},'reset':function(){var _0x313d8a=_0x3f825d;_0x29f9c2['reset'][_0x313d8a(0x2d1)](this),this[_0x313d8a(0x240)]();},'update':function(_0xca459f){var _0x5d9981=_0x3f825d;return this[_0x5d9981(0x479)](_0xca459f),this['_process'](),this;},'finalize':function(_0x2faf28){_0x2faf28&&this['_append'](_0x2faf28);var _0x3f5499=this['_doFinalize']();return _0x3f5499;},'blockSize':0x10,'_createHelper':function(_0x293fa1){return function(_0x174733,_0x456914){var _0x3b693e=_0x573a;return new _0x293fa1[(_0x3b693e(0x222))](_0x456914)[_0x3b693e(0x28b)](_0x174733);};},'_createHmacHelper':function(_0x372b85){return function(_0x1e3c42,_0x233d47){var _0x2a64ba=_0x573a;return new _0x59719a['HMAC']['init'](_0x372b85,_0x233d47)[_0x2a64ba(0x28b)](_0x1e3c42);};}});var _0x59719a=_0x1168a8[_0x3f825d(0x26d)]={};return _0x1168a8;}(Math);return _0x3f5a45;}));}(_0x40ed59)),_0x40ed59[_0x529008(0x20c)];}var _0x1b88ff={'exports':{}},_0x172013=_0x1b88ff[_0x2229a0(0x20c)],_0x4b8b6f;function _0x4fdf03(){var _0x59694b=_0x2229a0;return _0x4b8b6f||(_0x4b8b6f=0x1,function(_0x272279,_0x2f5d4){(function(_0x10c387,_0x5ddf73){var _0x180a24=_0x573a;_0x272279[_0x180a24(0x20c)]=_0x5ddf73(_0x1b8113());}(_0x172013,function(_0x1b4eca){var _0x406c25=_0x573a;return(function(){var _0x3de827=_0x573a,_0x3fe6cc=_0x1b4eca,_0x5ac4b3=_0x3fe6cc[_0x3de827(0x532)],_0x172a44=_0x5ac4b3[_0x3de827(0x491)],_0x3af924=_0x3fe6cc[_0x3de827(0x230)];_0x3af924[_0x3de827(0x369)]={'stringify':function(_0x32fa3f){var _0x2c4cf9=_0x3de827,_0x2ad8ae=_0x32fa3f[_0x2c4cf9(0x2c2)],_0x95302e=_0x32fa3f[_0x2c4cf9(0x34f)],_0x39e79f=this[_0x2c4cf9(0x1bc)];_0x32fa3f[_0x2c4cf9(0x205)]();for(var _0x4e2959=[],_0x20fcc0=0x0;_0x20fcc0<_0x95302e;_0x20fcc0+=0x3)for(var _0x2eed83=_0x2ad8ae[_0x20fcc0>>>0x2]>>>0x18-_0x20fcc0%0x4*0x8&0xff,_0xe74361=_0x2ad8ae[_0x20fcc0+0x1>>>0x2]>>>0x18-(_0x20fcc0+0x1)%0x4*0x8&0xff,_0x32024a=_0x2ad8ae[_0x20fcc0+0x2>>>0x2]>>>0x18-(_0x20fcc0+0x2)%0x4*0x8&0xff,_0xfb147f=_0x2eed83<<0x10|_0xe74361<<0x8|_0x32024a,_0x366182=0x0;_0x366182<0x4&&_0x20fcc0+_0x366182*0.75<_0x95302e;_0x366182++)_0x4e2959[_0x2c4cf9(0x4a3)](_0x39e79f['charAt'](_0xfb147f>>>0x6*(0x3-_0x366182)&0x3f));var _0x40a291=_0x39e79f[_0x2c4cf9(0x2be)](0x40);if(_0x40a291){for(;_0x4e2959[_0x2c4cf9(0x316)]%0x4;)_0x4e2959[_0x2c4cf9(0x4a3)](_0x40a291);}return _0x4e2959['join']('');},'parse':function(_0x277593){var _0x48b6d2=_0x3de827,_0x1551b9=_0x277593[_0x48b6d2(0x316)],_0x5bd120=this[_0x48b6d2(0x1bc)],_0xb80fc8=this[_0x48b6d2(0x1d9)];if(!_0xb80fc8){_0xb80fc8=this[_0x48b6d2(0x1d9)]=[];for(var _0x5b5aad=0x0;_0x5b5aad<_0x5bd120['length'];_0x5b5aad++)_0xb80fc8[_0x5bd120[_0x48b6d2(0x4c4)](_0x5b5aad)]=_0x5b5aad;}var _0x5a8d9c=_0x5bd120[_0x48b6d2(0x2be)](0x40);if(_0x5a8d9c){var _0x27463f=_0x277593['indexOf'](_0x5a8d9c);_0x27463f!==-0x1&&(_0x1551b9=_0x27463f);}return _0x29b2ac(_0x277593,_0x1551b9,_0xb80fc8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x29b2ac(_0x263611,_0x29bab8,_0x48f2fc){var _0x5f2656=_0x3de827;for(var _0x139795=[],_0x591e7f=0x0,_0x48168a=0x0;_0x48168a<_0x29bab8;_0x48168a++)if(_0x48168a%0x4){var _0x103d43=_0x48f2fc[_0x263611['charCodeAt'](_0x48168a-0x1)]<<_0x48168a%0x4*0x2,_0x15f2c4=_0x48f2fc[_0x263611['charCodeAt'](_0x48168a)]>>>0x6-_0x48168a%0x4*0x2,_0x29f087=_0x103d43|_0x15f2c4;_0x139795[_0x591e7f>>>0x2]|=_0x29f087<<0x18-_0x591e7f%0x4*0x8,_0x591e7f++;}return _0x172a44[_0x5f2656(0x4cc)](_0x139795,_0x591e7f);}}()),_0x1b4eca[_0x406c25(0x230)][_0x406c25(0x369)];}));}(_0x1b88ff)),_0x1b88ff[_0x59694b(0x20c)];}var _0x27d2e0={'exports':{}},_0xa49163=_0x27d2e0[_0x2229a0(0x20c)],_0x3e4da9;function _0x4c535b(){return _0x3e4da9||(_0x3e4da9=0x1,function(_0x2ab414,_0x498547){(function(_0x10570a,_0x24a277){var _0x203291=_0x573a;_0x2ab414[_0x203291(0x20c)]=_0x24a277(_0x1b8113());}(_0xa49163,function(_0x2eade8){var _0x4650d0=_0x573a;return function(_0x296d57){var _0x4966a9=_0x573a,_0x4d64ee=_0x2eade8,_0x3ea176=_0x4d64ee['lib'],_0x2087f7=_0x3ea176[_0x4966a9(0x491)],_0x44a581=_0x3ea176[_0x4966a9(0x21d)],_0xe0106=_0x4d64ee[_0x4966a9(0x26d)],_0x276c7a=[];(function(){var _0x1470d0=_0x4966a9;for(var _0x4c71f5=0x0;_0x4c71f5<0x40;_0x4c71f5++)_0x276c7a[_0x4c71f5]=_0x296d57[_0x1470d0(0x29c)](_0x296d57[_0x1470d0(0x313)](_0x4c71f5+0x1))*0x100000000|0x0;}());var _0x5e8384=_0xe0106[_0x4966a9(0x1f4)]=_0x44a581[_0x4966a9(0x31f)]({'_doReset':function(){var _0x22cb34=_0x4966a9;this[_0x22cb34(0x24a)]=new _0x2087f7[(_0x22cb34(0x222))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x552928,_0x5a8c83){var _0xb919f1=_0x4966a9;for(var _0x5d83c9=0x0;_0x5d83c9<0x10;_0x5d83c9++){var _0x5a4e7b=_0x5a8c83+_0x5d83c9,_0x3244a4=_0x552928[_0x5a4e7b];_0x552928[_0x5a4e7b]=(_0x3244a4<<0x8|_0x3244a4>>>0x18)&0xff00ff|(_0x3244a4<<0x18|_0x3244a4>>>0x8)&0xff00ff00;}var _0x3ee28e=this[_0xb919f1(0x24a)][_0xb919f1(0x2c2)],_0x243ccd=_0x552928[_0x5a8c83+0x0],_0x1bcee5=_0x552928[_0x5a8c83+0x1],_0x5d6ad4=_0x552928[_0x5a8c83+0x2],_0x4055b7=_0x552928[_0x5a8c83+0x3],_0x4261d1=_0x552928[_0x5a8c83+0x4],_0x426d23=_0x552928[_0x5a8c83+0x5],_0x8f70bb=_0x552928[_0x5a8c83+0x6],_0x5046fb=_0x552928[_0x5a8c83+0x7],_0x45d8b4=_0x552928[_0x5a8c83+0x8],_0x1ad953=_0x552928[_0x5a8c83+0x9],_0x392928=_0x552928[_0x5a8c83+0xa],_0x436f08=_0x552928[_0x5a8c83+0xb],_0x3b1867=_0x552928[_0x5a8c83+0xc],_0xe4a0d5=_0x552928[_0x5a8c83+0xd],_0x2dbd5b=_0x552928[_0x5a8c83+0xe],_0x452d9f=_0x552928[_0x5a8c83+0xf],_0x4c2d6f=_0x3ee28e[0x0],_0xef1608=_0x3ee28e[0x1],_0x49bb0b=_0x3ee28e[0x2],_0x35d100=_0x3ee28e[0x3];_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x243ccd,0x7,_0x276c7a[0x0]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x1bcee5,0xc,_0x276c7a[0x1]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5d6ad4,0x11,_0x276c7a[0x2]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x4055b7,0x16,_0x276c7a[0x3]),_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x4261d1,0x7,_0x276c7a[0x4]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x426d23,0xc,_0x276c7a[0x5]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x8f70bb,0x11,_0x276c7a[0x6]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x5046fb,0x16,_0x276c7a[0x7]),_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x45d8b4,0x7,_0x276c7a[0x8]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x1ad953,0xc,_0x276c7a[0x9]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x392928,0x11,_0x276c7a[0xa]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x436f08,0x16,_0x276c7a[0xb]),_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x3b1867,0x7,_0x276c7a[0xc]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0xe4a0d5,0xc,_0x276c7a[0xd]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x2dbd5b,0x11,_0x276c7a[0xe]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x452d9f,0x16,_0x276c7a[0xf]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1bcee5,0x5,_0x276c7a[0x10]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x8f70bb,0x9,_0x276c7a[0x11]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x436f08,0xe,_0x276c7a[0x12]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x243ccd,0x14,_0x276c7a[0x13]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x426d23,0x5,_0x276c7a[0x14]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x392928,0x9,_0x276c7a[0x15]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x452d9f,0xe,_0x276c7a[0x16]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x4261d1,0x14,_0x276c7a[0x17]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1ad953,0x5,_0x276c7a[0x18]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x2dbd5b,0x9,_0x276c7a[0x19]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x4055b7,0xe,_0x276c7a[0x1a]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x45d8b4,0x14,_0x276c7a[0x1b]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0xe4a0d5,0x5,_0x276c7a[0x1c]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x5d6ad4,0x9,_0x276c7a[0x1d]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5046fb,0xe,_0x276c7a[0x1e]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x3b1867,0x14,_0x276c7a[0x1f]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x426d23,0x4,_0x276c7a[0x20]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x45d8b4,0xb,_0x276c7a[0x21]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x436f08,0x10,_0x276c7a[0x22]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x2dbd5b,0x17,_0x276c7a[0x23]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1bcee5,0x4,_0x276c7a[0x24]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x4261d1,0xb,_0x276c7a[0x25]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5046fb,0x10,_0x276c7a[0x26]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x392928,0x17,_0x276c7a[0x27]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0xe4a0d5,0x4,_0x276c7a[0x28]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x243ccd,0xb,_0x276c7a[0x29]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x4055b7,0x10,_0x276c7a[0x2a]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x8f70bb,0x17,_0x276c7a[0x2b]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1ad953,0x4,_0x276c7a[0x2c]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x3b1867,0xb,_0x276c7a[0x2d]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x452d9f,0x10,_0x276c7a[0x2e]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x5d6ad4,0x17,_0x276c7a[0x2f]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x243ccd,0x6,_0x276c7a[0x30]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x5046fb,0xa,_0x276c7a[0x31]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x2dbd5b,0xf,_0x276c7a[0x32]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x426d23,0x15,_0x276c7a[0x33]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x3b1867,0x6,_0x276c7a[0x34]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x4055b7,0xa,_0x276c7a[0x35]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x392928,0xf,_0x276c7a[0x36]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x1bcee5,0x15,_0x276c7a[0x37]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x45d8b4,0x6,_0x276c7a[0x38]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x452d9f,0xa,_0x276c7a[0x39]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x8f70bb,0xf,_0x276c7a[0x3a]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0xe4a0d5,0x15,_0x276c7a[0x3b]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x4261d1,0x6,_0x276c7a[0x3c]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x436f08,0xa,_0x276c7a[0x3d]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5d6ad4,0xf,_0x276c7a[0x3e]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x1ad953,0x15,_0x276c7a[0x3f]),_0x3ee28e[0x0]=_0x3ee28e[0x0]+_0x4c2d6f|0x0,_0x3ee28e[0x1]=_0x3ee28e[0x1]+_0xef1608|0x0,_0x3ee28e[0x2]=_0x3ee28e[0x2]+_0x49bb0b|0x0,_0x3ee28e[0x3]=_0x3ee28e[0x3]+_0x35d100|0x0;},'_doFinalize':function(){var _0x5072e9=_0x4966a9,_0x1b6c7c=this[_0x5072e9(0x39d)],_0x1be594=_0x1b6c7c[_0x5072e9(0x2c2)],_0x369ecc=this[_0x5072e9(0x3d4)]*0x8,_0x39802a=_0x1b6c7c['sigBytes']*0x8;_0x1be594[_0x39802a>>>0x5]|=0x80<<0x18-_0x39802a%0x20;var _0x51e3fd=_0x296d57['floor'](_0x369ecc/0x100000000),_0xc9fcb3=_0x369ecc;_0x1be594[(_0x39802a+0x40>>>0x9<<0x4)+0xf]=(_0x51e3fd<<0x8|_0x51e3fd>>>0x18)&0xff00ff|(_0x51e3fd<<0x18|_0x51e3fd>>>0x8)&0xff00ff00,_0x1be594[(_0x39802a+0x40>>>0x9<<0x4)+0xe]=(_0xc9fcb3<<0x8|_0xc9fcb3>>>0x18)&0xff00ff|(_0xc9fcb3<<0x18|_0xc9fcb3>>>0x8)&0xff00ff00,_0x1b6c7c[_0x5072e9(0x34f)]=(_0x1be594[_0x5072e9(0x316)]+0x1)*0x4,this[_0x5072e9(0x2c9)]();for(var _0x55af45=this['_hash'],_0x5b720e=_0x55af45['words'],_0x3ef113=0x0;_0x3ef113<0x4;_0x3ef113++){var _0x34ca5b=_0x5b720e[_0x3ef113];_0x5b720e[_0x3ef113]=(_0x34ca5b<<0x8|_0x34ca5b>>>0x18)&0xff00ff|(_0x34ca5b<<0x18|_0x34ca5b>>>0x8)&0xff00ff00;}return _0x55af45;},'clone':function(){var _0x312ff4=_0x4966a9,_0x19c3ca=_0x44a581['clone'][_0x312ff4(0x2d1)](this);return _0x19c3ca['_hash']=this['_hash']['clone'](),_0x19c3ca;}});function _0xf40c51(_0x1da729,_0x34c8d8,_0x4e6d0b,_0x17e4c2,_0x37a978,_0x13212f,_0x26f36f){var _0x38e35f=_0x1da729+(_0x34c8d8&_0x4e6d0b|~_0x34c8d8&_0x17e4c2)+_0x37a978+_0x26f36f;return(_0x38e35f<<_0x13212f|_0x38e35f>>>0x20-_0x13212f)+_0x34c8d8;}function _0x17e19f(_0x5b3891,_0x354851,_0x443544,_0x32ba81,_0x222fea,_0x44506c,_0x52d02a){var _0xfad42c=_0x5b3891+(_0x354851&_0x32ba81|_0x443544&~_0x32ba81)+_0x222fea+_0x52d02a;return(_0xfad42c<<_0x44506c|_0xfad42c>>>0x20-_0x44506c)+_0x354851;}function _0x18a81e(_0x28a740,_0x50a8f0,_0x2a3798,_0x220100,_0x1ee3f0,_0x5eaa34,_0x377c7a){var _0x4b0340=_0x28a740+(_0x50a8f0^_0x2a3798^_0x220100)+_0x1ee3f0+_0x377c7a;return(_0x4b0340<<_0x5eaa34|_0x4b0340>>>0x20-_0x5eaa34)+_0x50a8f0;}function _0x516248(_0x3d2892,_0xd85df5,_0x1854e4,_0x5be6c3,_0x29b59f,_0x2139ac,_0x1b047d){var _0x4dbe6e=_0x3d2892+(_0x1854e4^(_0xd85df5|~_0x5be6c3))+_0x29b59f+_0x1b047d;return(_0x4dbe6e<<_0x2139ac|_0x4dbe6e>>>0x20-_0x2139ac)+_0xd85df5;}_0x4d64ee[_0x4966a9(0x1f4)]=_0x44a581['_createHelper'](_0x5e8384),_0x4d64ee[_0x4966a9(0x199)]=_0x44a581[_0x4966a9(0x257)](_0x5e8384);}(Math),_0x2eade8[_0x4650d0(0x1f4)];}));}(_0x27d2e0)),_0x27d2e0['exports'];}var _0x148d47={'exports':{}},_0x530dae={'exports':{}},_0x1925da=_0x530dae[_0x2229a0(0x20c)],_0x3aab40;function _0x3fe2ba(){var _0x4b4a39=_0x2229a0;return _0x3aab40||(_0x3aab40=0x1,function(_0x401b3f,_0x1a47d1){(function(_0x448fcc,_0x5479c6){var _0x47353c=_0x573a;_0x401b3f[_0x47353c(0x20c)]=_0x5479c6(_0x1b8113());}(_0x1925da,function(_0x5e161d){var _0x4ced5e=_0x573a;return(function(){var _0x3eb32f=_0x573a,_0x3b5902=_0x5e161d,_0x51d837=_0x3b5902['lib'],_0x3c5274=_0x51d837[_0x3eb32f(0x491)],_0x2f9d9b=_0x51d837[_0x3eb32f(0x21d)],_0x1ebd6a=_0x3b5902[_0x3eb32f(0x26d)],_0x449243=[],_0x2a93bf=_0x1ebd6a[_0x3eb32f(0x26e)]=_0x2f9d9b[_0x3eb32f(0x31f)]({'_doReset':function(){var _0x4bd350=_0x3eb32f;this['_hash']=new _0x3c5274[(_0x4bd350(0x222))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b728a,_0x4e3b70){var _0x57ae79=_0x3eb32f;for(var _0x3ccf37=this[_0x57ae79(0x24a)][_0x57ae79(0x2c2)],_0x4406d2=_0x3ccf37[0x0],_0x40a0ca=_0x3ccf37[0x1],_0x972110=_0x3ccf37[0x2],_0x302de9=_0x3ccf37[0x3],_0x594f15=_0x3ccf37[0x4],_0x4b3f33=0x0;_0x4b3f33<0x50;_0x4b3f33++){if(_0x4b3f33<0x10)_0x449243[_0x4b3f33]=_0x4b728a[_0x4e3b70+_0x4b3f33]|0x0;else{var _0x2558ab=_0x449243[_0x4b3f33-0x3]^_0x449243[_0x4b3f33-0x8]^_0x449243[_0x4b3f33-0xe]^_0x449243[_0x4b3f33-0x10];_0x449243[_0x4b3f33]=_0x2558ab<<0x1|_0x2558ab>>>0x1f;}var _0x2c0df4=(_0x4406d2<<0x5|_0x4406d2>>>0x1b)+_0x594f15+_0x449243[_0x4b3f33];_0x4b3f33<0x14?_0x2c0df4+=(_0x40a0ca&_0x972110|~_0x40a0ca&_0x302de9)+0x5a827999:_0x4b3f33<0x28?_0x2c0df4+=(_0x40a0ca^_0x972110^_0x302de9)+0x6ed9eba1:_0x4b3f33<0x3c?_0x2c0df4+=(_0x40a0ca&_0x972110|_0x40a0ca&_0x302de9|_0x972110&_0x302de9)-0x70e44324:_0x2c0df4+=(_0x40a0ca^_0x972110^_0x302de9)-0x359d3e2a,_0x594f15=_0x302de9,_0x302de9=_0x972110,_0x972110=_0x40a0ca<<0x1e|_0x40a0ca>>>0x2,_0x40a0ca=_0x4406d2,_0x4406d2=_0x2c0df4;}_0x3ccf37[0x0]=_0x3ccf37[0x0]+_0x4406d2|0x0,_0x3ccf37[0x1]=_0x3ccf37[0x1]+_0x40a0ca|0x0,_0x3ccf37[0x2]=_0x3ccf37[0x2]+_0x972110|0x0,_0x3ccf37[0x3]=_0x3ccf37[0x3]+_0x302de9|0x0,_0x3ccf37[0x4]=_0x3ccf37[0x4]+_0x594f15|0x0;},'_doFinalize':function(){var _0x2a5350=_0x3eb32f,_0x5b982d=this[_0x2a5350(0x39d)],_0x96e2d=_0x5b982d[_0x2a5350(0x2c2)],_0x5e59c1=this['_nDataBytes']*0x8,_0x2f2822=_0x5b982d[_0x2a5350(0x34f)]*0x8;return _0x96e2d[_0x2f2822>>>0x5]|=0x80<<0x18-_0x2f2822%0x20,_0x96e2d[(_0x2f2822+0x40>>>0x9<<0x4)+0xe]=Math[_0x2a5350(0x453)](_0x5e59c1/0x100000000),_0x96e2d[(_0x2f2822+0x40>>>0x9<<0x4)+0xf]=_0x5e59c1,_0x5b982d[_0x2a5350(0x34f)]=_0x96e2d['length']*0x4,this['_process'](),this[_0x2a5350(0x24a)];},'clone':function(){var _0x7ed56e=_0x3eb32f,_0x17b7f9=_0x2f9d9b[_0x7ed56e(0x497)][_0x7ed56e(0x2d1)](this);return _0x17b7f9['_hash']=this['_hash'][_0x7ed56e(0x497)](),_0x17b7f9;}});_0x3b5902[_0x3eb32f(0x26e)]=_0x2f9d9b['_createHelper'](_0x2a93bf),_0x3b5902[_0x3eb32f(0x1b1)]=_0x2f9d9b['_createHmacHelper'](_0x2a93bf);}()),_0x5e161d[_0x4ced5e(0x26e)];}));}(_0x530dae)),_0x530dae[_0x4b4a39(0x20c)];}var _0x221fd7={'exports':{}},_0x3fe893=_0x221fd7[_0x2229a0(0x20c)],_0x266181;function _0x44695e(){var _0xbf8118=_0x2229a0;return _0x266181||(_0x266181=0x1,function(_0x335d80,_0x31c58b){(function(_0x216108,_0x53558b){var _0x51d414=_0x573a;_0x335d80[_0x51d414(0x20c)]=_0x53558b(_0x1b8113());}(_0x3fe893,function(_0x352be0){(function(){var _0x45fbc3=_0x573a,_0x376ab4=_0x352be0,_0x273aa9=_0x376ab4[_0x45fbc3(0x532)],_0x2cb9a2=_0x273aa9[_0x45fbc3(0x312)],_0x28a4b8=_0x376ab4[_0x45fbc3(0x230)],_0x536bc0=_0x28a4b8['Utf8'],_0x2d9dcb=_0x376ab4[_0x45fbc3(0x26d)];_0x2d9dcb[_0x45fbc3(0x1cb)]=_0x2cb9a2[_0x45fbc3(0x31f)]({'init':function(_0x1aaf4c,_0x5d2c21){var _0x3390a7=_0x45fbc3;_0x1aaf4c=this['_hasher']=new _0x1aaf4c[(_0x3390a7(0x222))](),typeof _0x5d2c21==_0x3390a7(0x289)&&(_0x5d2c21=_0x536bc0['parse'](_0x5d2c21));var _0x15c498=_0x1aaf4c[_0x3390a7(0x387)],_0x4f5ca1=_0x15c498*0x4;_0x5d2c21[_0x3390a7(0x34f)]>_0x4f5ca1&&(_0x5d2c21=_0x1aaf4c[_0x3390a7(0x28b)](_0x5d2c21)),_0x5d2c21[_0x3390a7(0x205)]();for(var _0x4f5dd8=this[_0x3390a7(0x335)]=_0x5d2c21[_0x3390a7(0x497)](),_0x56c616=this['_iKey']=_0x5d2c21[_0x3390a7(0x497)](),_0x1bb4f8=_0x4f5dd8[_0x3390a7(0x2c2)],_0x82c05=_0x56c616[_0x3390a7(0x2c2)],_0xa89d26=0x0;_0xa89d26<_0x15c498;_0xa89d26++)_0x1bb4f8[_0xa89d26]^=0x5c5c5c5c,_0x82c05[_0xa89d26]^=0x36363636;_0x4f5dd8['sigBytes']=_0x56c616[_0x3390a7(0x34f)]=_0x4f5ca1,this[_0x3390a7(0x439)]();},'reset':function(){var _0x241fb3=_0x45fbc3,_0x3b3324=this['_hasher'];_0x3b3324[_0x241fb3(0x439)](),_0x3b3324['update'](this[_0x241fb3(0x1a6)]);},'update':function(_0x149509){return this['_hasher']['update'](_0x149509),this;},'finalize':function(_0xf4a413){var _0x15a5a2=_0x45fbc3,_0x41c461=this[_0x15a5a2(0x3e9)],_0x416b2c=_0x41c461[_0x15a5a2(0x28b)](_0xf4a413);_0x41c461['reset']();var _0x17bd1e=_0x41c461['finalize'](this[_0x15a5a2(0x335)][_0x15a5a2(0x497)]()[_0x15a5a2(0x36e)](_0x416b2c));return _0x17bd1e;}});}());}));}(_0x221fd7)),_0x221fd7[_0xbf8118(0x20c)];}var _0xc2230b=_0x148d47[_0x2229a0(0x20c)],_0x4dd67;function _0x1ff6ca(){var _0x1b2bc8=_0x2229a0;return _0x4dd67||(_0x4dd67=0x1,function(_0x22604f,_0x480518){(function(_0x4491dd,_0x163539,_0x8406d7){_0x22604f['exports']=_0x163539(_0x1b8113(),_0x3fe2ba(),_0x44695e());}(_0xc2230b,function(_0x51ee1e){var _0x5169c1=_0x573a;return(function(){var _0x23f8e5=_0x573a,_0x3b3ad9=_0x51ee1e,_0x1af90d=_0x3b3ad9[_0x23f8e5(0x532)],_0x148eca=_0x1af90d['Base'],_0x2a3818=_0x1af90d[_0x23f8e5(0x491)],_0x259525=_0x3b3ad9[_0x23f8e5(0x26d)],_0x34d5dc=_0x259525[_0x23f8e5(0x1f4)],_0x4b34c3=_0x259525[_0x23f8e5(0x48e)]=_0x148eca[_0x23f8e5(0x31f)]({'cfg':_0x148eca['extend']({'keySize':0x80/0x20,'hasher':_0x34d5dc,'iterations':0x1}),'init':function(_0x535a62){var _0x41aac1=_0x23f8e5;this['cfg']=this[_0x41aac1(0x1c9)][_0x41aac1(0x31f)](_0x535a62);},'compute':function(_0x334618,_0x16ad8d){var _0x2ae965=_0x23f8e5;for(var _0x7a61ff,_0x372c02=this['cfg'],_0x48d622=_0x372c02[_0x2ae965(0x226)][_0x2ae965(0x4cc)](),_0xda19d2=_0x2a3818[_0x2ae965(0x4cc)](),_0x34c69c=_0xda19d2[_0x2ae965(0x2c2)],_0x286ca3=_0x372c02[_0x2ae965(0x36b)],_0x47014d=_0x372c02[_0x2ae965(0x51c)];_0x34c69c[_0x2ae965(0x316)]<_0x286ca3;){_0x7a61ff&&_0x48d622[_0x2ae965(0x19f)](_0x7a61ff),_0x7a61ff=_0x48d622[_0x2ae965(0x19f)](_0x334618)[_0x2ae965(0x28b)](_0x16ad8d),_0x48d622[_0x2ae965(0x439)]();for(var _0xb09bab=0x1;_0xb09bab<_0x47014d;_0xb09bab++)_0x7a61ff=_0x48d622[_0x2ae965(0x28b)](_0x7a61ff),_0x48d622[_0x2ae965(0x439)]();_0xda19d2[_0x2ae965(0x36e)](_0x7a61ff);}return _0xda19d2[_0x2ae965(0x34f)]=_0x286ca3*0x4,_0xda19d2;}});_0x3b3ad9[_0x23f8e5(0x48e)]=function(_0x1dd636,_0x61d7ad,_0xa2c85e){var _0xed87e2=_0x23f8e5;return _0x4b34c3['create'](_0xa2c85e)[_0xed87e2(0x345)](_0x1dd636,_0x61d7ad);};}()),_0x51ee1e[_0x5169c1(0x48e)];}));}(_0x148d47)),_0x148d47[_0x1b2bc8(0x20c)];}var _0x56e6c0={'exports':{}},_0x528aec=_0x56e6c0[_0x2229a0(0x20c)],_0x58cc97;function _0x215449(){return _0x58cc97||(_0x58cc97=0x1,function(_0x585c36,_0x29803f){(function(_0x263773,_0x51ca22,_0x4bc69c){var _0x1d9d54=_0x573a;_0x585c36[_0x1d9d54(0x20c)]=_0x51ca22(_0x1b8113(),_0x1ff6ca());}(_0x528aec,function(_0x349d87){var _0x3bb0b0=_0x573a;_0x349d87[_0x3bb0b0(0x532)]['Cipher']||function(_0x324ca6){var _0xbe9b0=_0x3bb0b0,_0x353036=_0x349d87,_0x543ad1=_0x353036[_0xbe9b0(0x532)],_0x254fad=_0x543ad1[_0xbe9b0(0x312)],_0x3d639a=_0x543ad1['WordArray'],_0x5b4a8f=_0x543ad1['BufferedBlockAlgorithm'],_0x30cd85=_0x353036[_0xbe9b0(0x230)];_0x30cd85['Utf8'];var _0x33feb4=_0x30cd85[_0xbe9b0(0x369)],_0x93aba3=_0x353036[_0xbe9b0(0x26d)],_0x17b511=_0x93aba3[_0xbe9b0(0x48e)],_0x215352=_0x543ad1[_0xbe9b0(0x2af)]=_0x5b4a8f['extend']({'cfg':_0x254fad[_0xbe9b0(0x31f)](),'createEncryptor':function(_0x31ab98,_0x218a28){var _0x1f8f20=_0xbe9b0;return this[_0x1f8f20(0x4cc)](this['_ENC_XFORM_MODE'],_0x31ab98,_0x218a28);},'createDecryptor':function(_0x5d8756,_0x47922e){var _0xfeeac7=_0xbe9b0;return this[_0xfeeac7(0x4cc)](this[_0xfeeac7(0x3c5)],_0x5d8756,_0x47922e);},'init':function(_0x1d90e9,_0x192161,_0x5cda67){var _0x41b240=_0xbe9b0;this[_0x41b240(0x1c9)]=this[_0x41b240(0x1c9)]['extend'](_0x5cda67),this[_0x41b240(0x4d4)]=_0x1d90e9,this['_key']=_0x192161,this[_0x41b240(0x439)]();},'reset':function(){var _0x3cb5e7=_0xbe9b0;_0x5b4a8f['reset'][_0x3cb5e7(0x2d1)](this),this[_0x3cb5e7(0x240)]();},'process':function(_0x53e9cb){var _0x53cbca=_0xbe9b0;return this[_0x53cbca(0x479)](_0x53e9cb),this['_process']();},'finalize':function(_0x30ba5f){var _0x16abce=_0xbe9b0;_0x30ba5f&&this[_0x16abce(0x479)](_0x30ba5f);var _0x2e585b=this[_0x16abce(0x3e1)]();return _0x2e585b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4116cd(_0x2d76bd){var _0x1888ef=_0x573a;return typeof _0x2d76bd==_0x1888ef(0x289)?_0x3622ff:_0x506df2;}return function(_0x3381b8){return{'encrypt':function(_0x317403,_0x36bcec,_0x4c2b2e){return _0x4116cd(_0x36bcec)['encrypt'](_0x3381b8,_0x317403,_0x36bcec,_0x4c2b2e);},'decrypt':function(_0x1b6e97,_0x81029d,_0x5e1919){var _0x311ffc=_0x573a;return _0x4116cd(_0x81029d)[_0x311ffc(0x1fa)](_0x3381b8,_0x1b6e97,_0x81029d,_0x5e1919);}};};}())});_0x543ad1[_0xbe9b0(0x1a1)]=_0x215352[_0xbe9b0(0x31f)]({'_doFinalize':function(){var _0x2ec6ad=_0xbe9b0,_0xea1fe=this[_0x2ec6ad(0x2c9)](!0x0);return _0xea1fe;},'blockSize':0x1});var _0x53d67b=_0x353036['mode']={},_0x379393=_0x543ad1[_0xbe9b0(0x3cb)]=_0x254fad['extend']({'createEncryptor':function(_0x49cecf,_0x3109a7){var _0x1ec827=_0xbe9b0;return this[_0x1ec827(0x29d)][_0x1ec827(0x4cc)](_0x49cecf,_0x3109a7);},'createDecryptor':function(_0x182969,_0x33a781){var _0x3bb44e=_0xbe9b0;return this[_0x3bb44e(0x511)][_0x3bb44e(0x4cc)](_0x182969,_0x33a781);},'init':function(_0x58e59b,_0x54aab2){var _0x34149a=_0xbe9b0;this[_0x34149a(0x217)]=_0x58e59b,this[_0x34149a(0x448)]=_0x54aab2;}}),_0x57f238=_0x53d67b['CBC']=(function(){var _0x52f753=_0xbe9b0,_0x1119bb=_0x379393[_0x52f753(0x31f)]();_0x1119bb[_0x52f753(0x29d)]=_0x1119bb['extend']({'processBlock':function(_0x39c1d7,_0x44d6ac){var _0x28964e=_0x52f753,_0x1efe49=this[_0x28964e(0x217)],_0x4ffdb6=_0x1efe49[_0x28964e(0x387)];_0x299bcc[_0x28964e(0x2d1)](this,_0x39c1d7,_0x44d6ac,_0x4ffdb6),_0x1efe49[_0x28964e(0x2d9)](_0x39c1d7,_0x44d6ac),this[_0x28964e(0x1ed)]=_0x39c1d7['slice'](_0x44d6ac,_0x44d6ac+_0x4ffdb6);}}),_0x1119bb[_0x52f753(0x511)]=_0x1119bb[_0x52f753(0x31f)]({'processBlock':function(_0x4b46a4,_0x1194f5){var _0x11913b=_0x52f753,_0x207dfa=this[_0x11913b(0x217)],_0x2f968b=_0x207dfa['blockSize'],_0x101574=_0x4b46a4['slice'](_0x1194f5,_0x1194f5+_0x2f968b);_0x207dfa[_0x11913b(0x25a)](_0x4b46a4,_0x1194f5),_0x299bcc[_0x11913b(0x2d1)](this,_0x4b46a4,_0x1194f5,_0x2f968b),this[_0x11913b(0x1ed)]=_0x101574;}});function _0x299bcc(_0x2a776d,_0x5c3c49,_0x52c00f){var _0x41602a=_0x52f753,_0x429b1b,_0xc54812=this[_0x41602a(0x448)];_0xc54812?(_0x429b1b=_0xc54812,this[_0x41602a(0x448)]=_0x324ca6):_0x429b1b=this['_prevBlock'];for(var _0xb6c0fb=0x0;_0xb6c0fb<_0x52c00f;_0xb6c0fb++)_0x2a776d[_0x5c3c49+_0xb6c0fb]^=_0x429b1b[_0xb6c0fb];}return _0x1119bb;}()),_0x438e29=_0x353036[_0xbe9b0(0x417)]={},_0x1ad88e=_0x438e29[_0xbe9b0(0x39e)]={'pad':function(_0x2da9f2,_0x1e5563){var _0x4006d0=_0xbe9b0;for(var _0x2b0ffd=_0x1e5563*0x4,_0xb9a3d5=_0x2b0ffd-_0x2da9f2[_0x4006d0(0x34f)]%_0x2b0ffd,_0x389aa2=_0xb9a3d5<<0x18|_0xb9a3d5<<0x10|_0xb9a3d5<<0x8|_0xb9a3d5,_0xcb98ad=[],_0x40374f=0x0;_0x40374f<_0xb9a3d5;_0x40374f+=0x4)_0xcb98ad[_0x4006d0(0x4a3)](_0x389aa2);var _0x317e39=_0x3d639a[_0x4006d0(0x4cc)](_0xcb98ad,_0xb9a3d5);_0x2da9f2[_0x4006d0(0x36e)](_0x317e39);},'unpad':function(_0x5f005e){var _0x100d2c=_0xbe9b0,_0x405de8=_0x5f005e[_0x100d2c(0x2c2)][_0x5f005e[_0x100d2c(0x34f)]-0x1>>>0x2]&0xff;_0x5f005e[_0x100d2c(0x34f)]-=_0x405de8;}};_0x543ad1[_0xbe9b0(0x309)]=_0x215352[_0xbe9b0(0x31f)]({'cfg':_0x215352[_0xbe9b0(0x1c9)][_0xbe9b0(0x31f)]({'mode':_0x57f238,'padding':_0x1ad88e}),'reset':function(){var _0x43547c=_0xbe9b0,_0xc38bb9;_0x215352[_0x43547c(0x439)][_0x43547c(0x2d1)](this);var _0x2484dc=this['cfg'],_0xcf74e4=_0x2484dc['iv'],_0x2af823=_0x2484dc[_0x43547c(0x34e)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0xc38bb9=_0x2af823[_0x43547c(0x47d)]:(_0xc38bb9=_0x2af823[_0x43547c(0x529)],this[_0x43547c(0x2d4)]=0x1),this['_mode']&&this[_0x43547c(0x43d)]['__creator']==_0xc38bb9?this['_mode'][_0x43547c(0x222)](this,_0xcf74e4&&_0xcf74e4[_0x43547c(0x2c2)]):(this['_mode']=_0xc38bb9[_0x43547c(0x2d1)](_0x2af823,this,_0xcf74e4&&_0xcf74e4[_0x43547c(0x2c2)]),this[_0x43547c(0x43d)]['__creator']=_0xc38bb9);},'_doProcessBlock':function(_0x487349,_0x13b5dc){var _0xbf95e0=_0xbe9b0;this[_0xbf95e0(0x43d)][_0xbf95e0(0x502)](_0x487349,_0x13b5dc);},'_doFinalize':function(){var _0x19f7be=_0xbe9b0,_0x21abd0,_0x57a862=this[_0x19f7be(0x1c9)][_0x19f7be(0x3bf)];return this[_0x19f7be(0x4d4)]==this[_0x19f7be(0x373)]?(_0x57a862['pad'](this[_0x19f7be(0x39d)],this[_0x19f7be(0x387)]),_0x21abd0=this[_0x19f7be(0x2c9)](!0x0)):(_0x21abd0=this['_process'](!0x0),_0x57a862[_0x19f7be(0x28a)](_0x21abd0)),_0x21abd0;},'blockSize':0x80/0x20});var _0x4eda08=_0x543ad1[_0xbe9b0(0x43f)]=_0x254fad[_0xbe9b0(0x31f)]({'init':function(_0x110149){this['mixIn'](_0x110149);},'toString':function(_0x187ef1){var _0x2838fe=_0xbe9b0;return(_0x187ef1||this[_0x2838fe(0x38f)])[_0x2838fe(0x418)](this);}}),_0x8e96cf=_0x353036[_0xbe9b0(0x48f)]={},_0x44d9af=_0x8e96cf[_0xbe9b0(0x435)]={'stringify':function(_0x21cd32){var _0x120739=_0xbe9b0,_0x3dc25a,_0x107b1a=_0x21cd32[_0x120739(0x385)],_0x531a47=_0x21cd32[_0x120739(0x419)];return _0x531a47?_0x3dc25a=_0x3d639a[_0x120739(0x4cc)]([0x53616c74,0x65645f5f])[_0x120739(0x36e)](_0x531a47)[_0x120739(0x36e)](_0x107b1a):_0x3dc25a=_0x107b1a,_0x3dc25a[_0x120739(0x520)](_0x33feb4);},'parse':function(_0x2107cf){var _0x59cb1e=_0xbe9b0,_0x3bb427,_0x53a816=_0x33feb4[_0x59cb1e(0x34b)](_0x2107cf),_0x9bdc96=_0x53a816[_0x59cb1e(0x2c2)];return _0x9bdc96[0x0]==0x53616c74&&_0x9bdc96[0x1]==0x65645f5f&&(_0x3bb427=_0x3d639a[_0x59cb1e(0x4cc)](_0x9bdc96['slice'](0x2,0x4)),_0x9bdc96['splice'](0x0,0x4),_0x53a816[_0x59cb1e(0x34f)]-=0x10),_0x4eda08['create']({'ciphertext':_0x53a816,'salt':_0x3bb427});}},_0x506df2=_0x543ad1[_0xbe9b0(0x524)]=_0x254fad[_0xbe9b0(0x31f)]({'cfg':_0x254fad['extend']({'format':_0x44d9af}),'encrypt':function(_0x19fb5b,_0x210e15,_0x39b572,_0x544bbb){var _0x529547=_0xbe9b0;_0x544bbb=this['cfg'][_0x529547(0x31f)](_0x544bbb);var _0x2175b6=_0x19fb5b[_0x529547(0x47d)](_0x39b572,_0x544bbb),_0x4e90e1=_0x2175b6[_0x529547(0x28b)](_0x210e15),_0x431622=_0x2175b6[_0x529547(0x1c9)];return _0x4eda08[_0x529547(0x4cc)]({'ciphertext':_0x4e90e1,'key':_0x39b572,'iv':_0x431622['iv'],'algorithm':_0x19fb5b,'mode':_0x431622['mode'],'padding':_0x431622[_0x529547(0x3bf)],'blockSize':_0x19fb5b[_0x529547(0x387)],'formatter':_0x544bbb['format']});},'decrypt':function(_0x4bd737,_0x9ec603,_0x4a6688,_0x75070d){var _0x360dd6=_0xbe9b0;_0x75070d=this[_0x360dd6(0x1c9)][_0x360dd6(0x31f)](_0x75070d),_0x9ec603=this[_0x360dd6(0x272)](_0x9ec603,_0x75070d['format']);var _0x2bec95=_0x4bd737[_0x360dd6(0x529)](_0x4a6688,_0x75070d)[_0x360dd6(0x28b)](_0x9ec603[_0x360dd6(0x385)]);return _0x2bec95;},'_parse':function(_0x1bad34,_0x43ae6c){var _0x540b35=_0xbe9b0;return typeof _0x1bad34==_0x540b35(0x289)?_0x43ae6c['parse'](_0x1bad34,this):_0x1bad34;}}),_0x14bbfe=_0x353036[_0xbe9b0(0x42d)]={},_0x3841dd=_0x14bbfe[_0xbe9b0(0x435)]={'execute':function(_0x5ebce3,_0x1806f2,_0x1ecf1a,_0x5b1abe,_0x4f5150){var _0x819f92=_0xbe9b0;if(_0x5b1abe||(_0x5b1abe=_0x3d639a[_0x819f92(0x1a7)](0x40/0x8)),_0x4f5150)var _0x1a6d45=_0x17b511[_0x819f92(0x4cc)]({'keySize':_0x1806f2+_0x1ecf1a,'hasher':_0x4f5150})[_0x819f92(0x345)](_0x5ebce3,_0x5b1abe);else var _0x1a6d45=_0x17b511[_0x819f92(0x4cc)]({'keySize':_0x1806f2+_0x1ecf1a})[_0x819f92(0x345)](_0x5ebce3,_0x5b1abe);var _0x100e06=_0x3d639a[_0x819f92(0x4cc)](_0x1a6d45['words'][_0x819f92(0x27f)](_0x1806f2),_0x1ecf1a*0x4);return _0x1a6d45[_0x819f92(0x34f)]=_0x1806f2*0x4,_0x4eda08[_0x819f92(0x4cc)]({'key':_0x1a6d45,'iv':_0x100e06,'salt':_0x5b1abe});}},_0x3622ff=_0x543ad1['PasswordBasedCipher']=_0x506df2[_0xbe9b0(0x31f)]({'cfg':_0x506df2[_0xbe9b0(0x1c9)][_0xbe9b0(0x31f)]({'kdf':_0x3841dd}),'encrypt':function(_0x445359,_0x22d1ac,_0x3fbf62,_0x1c29ac){var _0x20df53=_0xbe9b0;_0x1c29ac=this[_0x20df53(0x1c9)]['extend'](_0x1c29ac);var _0xacb973=_0x1c29ac['kdf'][_0x20df53(0x1ba)](_0x3fbf62,_0x445359['keySize'],_0x445359[_0x20df53(0x1bb)],_0x1c29ac[_0x20df53(0x419)],_0x1c29ac['hasher']);_0x1c29ac['iv']=_0xacb973['iv'];var _0x4b5477=_0x506df2[_0x20df53(0x20a)]['call'](this,_0x445359,_0x22d1ac,_0xacb973[_0x20df53(0x4cb)],_0x1c29ac);return _0x4b5477[_0x20df53(0x3c3)](_0xacb973),_0x4b5477;},'decrypt':function(_0x106409,_0x20b07a,_0x5cd80b,_0x46352c){var _0x5b0ff7=_0xbe9b0;_0x46352c=this['cfg']['extend'](_0x46352c),_0x20b07a=this['_parse'](_0x20b07a,_0x46352c[_0x5b0ff7(0x48f)]);var _0x57bbfe=_0x46352c[_0x5b0ff7(0x42d)][_0x5b0ff7(0x1ba)](_0x5cd80b,_0x106409['keySize'],_0x106409[_0x5b0ff7(0x1bb)],_0x20b07a[_0x5b0ff7(0x419)],_0x46352c[_0x5b0ff7(0x226)]);_0x46352c['iv']=_0x57bbfe['iv'];var _0x1de500=_0x506df2[_0x5b0ff7(0x1fa)][_0x5b0ff7(0x2d1)](this,_0x106409,_0x20b07a,_0x57bbfe[_0x5b0ff7(0x4cb)],_0x46352c);return _0x1de500;}});}();}));}(_0x56e6c0)),_0x56e6c0['exports'];}var _0x4f9845=_0x1d4c9d[_0x2229a0(0x20c)],_0x3145a8;function _0x3484b9(){var _0x2db368=_0x2229a0;return _0x3145a8||(_0x3145a8=0x1,function(_0x51c53a,_0x625e7){(function(_0x32305d,_0x3ece16,_0x4da55b){var _0xad7908=_0x573a;_0x51c53a[_0xad7908(0x20c)]=_0x3ece16(_0x1b8113(),_0x4fdf03(),_0x4c535b(),_0x1ff6ca(),_0x215449());}(_0x4f9845,function(_0x5264a4){var _0x35c07e=_0x573a;return(function(){var _0x1af60c=_0x573a,_0x280bc5=_0x5264a4,_0x225a6a=_0x280bc5['lib'],_0x840425=_0x225a6a['BlockCipher'],_0x3b7349=_0x280bc5['algo'],_0x341eb6=[],_0x4a6866=[],_0x1325b2=[],_0x4887f8=[],_0x9b023b=[],_0x17b5d=[],_0x131573=[],_0x358341=[],_0xc9bbc5=[],_0x319d4c=[];(function(){for(var _0x44d4ca=[],_0x1c6f61=0x0;_0x1c6f61<0x100;_0x1c6f61++)_0x1c6f61<0x80?_0x44d4ca[_0x1c6f61]=_0x1c6f61<<0x1:_0x44d4ca[_0x1c6f61]=_0x1c6f61<<0x1^0x11b;for(var _0x1bdead=0x0,_0x22bf34=0x0,_0x1c6f61=0x0;_0x1c6f61<0x100;_0x1c6f61++){var _0x2e933f=_0x22bf34^_0x22bf34<<0x1^_0x22bf34<<0x2^_0x22bf34<<0x3^_0x22bf34<<0x4;_0x2e933f=_0x2e933f>>>0x8^_0x2e933f&0xff^0x63,_0x341eb6[_0x1bdead]=_0x2e933f,_0x4a6866[_0x2e933f]=_0x1bdead;var _0x2a9f22=_0x44d4ca[_0x1bdead],_0x3b0468=_0x44d4ca[_0x2a9f22],_0x27d828=_0x44d4ca[_0x3b0468],_0x107e89=_0x44d4ca[_0x2e933f]*0x101^_0x2e933f*0x1010100;_0x1325b2[_0x1bdead]=_0x107e89<<0x18|_0x107e89>>>0x8,_0x4887f8[_0x1bdead]=_0x107e89<<0x10|_0x107e89>>>0x10,_0x9b023b[_0x1bdead]=_0x107e89<<0x8|_0x107e89>>>0x18,_0x17b5d[_0x1bdead]=_0x107e89;var _0x107e89=_0x27d828*0x1010101^_0x3b0468*0x10001^_0x2a9f22*0x101^_0x1bdead*0x1010100;_0x131573[_0x2e933f]=_0x107e89<<0x18|_0x107e89>>>0x8,_0x358341[_0x2e933f]=_0x107e89<<0x10|_0x107e89>>>0x10,_0xc9bbc5[_0x2e933f]=_0x107e89<<0x8|_0x107e89>>>0x18,_0x319d4c[_0x2e933f]=_0x107e89,_0x1bdead?(_0x1bdead=_0x2a9f22^_0x44d4ca[_0x44d4ca[_0x44d4ca[_0x27d828^_0x2a9f22]]],_0x22bf34^=_0x44d4ca[_0x44d4ca[_0x22bf34]]):_0x1bdead=_0x22bf34=0x1;}}());var _0xb862a5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f61cf=_0x3b7349[_0x1af60c(0x1b2)]=_0x840425[_0x1af60c(0x31f)]({'_doReset':function(){var _0x42d296=_0x1af60c,_0x3a897c;if(!(this[_0x42d296(0x3cf)]&&this['_keyPriorReset']===this[_0x42d296(0x443)])){for(var _0x55d76f=this['_keyPriorReset']=this[_0x42d296(0x443)],_0x2eff80=_0x55d76f[_0x42d296(0x2c2)],_0x33f3ce=_0x55d76f[_0x42d296(0x34f)]/0x4,_0x980a34=this[_0x42d296(0x3cf)]=_0x33f3ce+0x6,_0x362183=(_0x980a34+0x1)*0x4,_0x34c562=this[_0x42d296(0x348)]=[],_0x5ad2ba=0x0;_0x5ad2ba<_0x362183;_0x5ad2ba++)_0x5ad2ba<_0x33f3ce?_0x34c562[_0x5ad2ba]=_0x2eff80[_0x5ad2ba]:(_0x3a897c=_0x34c562[_0x5ad2ba-0x1],_0x5ad2ba%_0x33f3ce?_0x33f3ce>0x6&&_0x5ad2ba%_0x33f3ce==0x4&&(_0x3a897c=_0x341eb6[_0x3a897c>>>0x18]<<0x18|_0x341eb6[_0x3a897c>>>0x10&0xff]<<0x10|_0x341eb6[_0x3a897c>>>0x8&0xff]<<0x8|_0x341eb6[_0x3a897c&0xff]):(_0x3a897c=_0x3a897c<<0x8|_0x3a897c>>>0x18,_0x3a897c=_0x341eb6[_0x3a897c>>>0x18]<<0x18|_0x341eb6[_0x3a897c>>>0x10&0xff]<<0x10|_0x341eb6[_0x3a897c>>>0x8&0xff]<<0x8|_0x341eb6[_0x3a897c&0xff],_0x3a897c^=_0xb862a5[_0x5ad2ba/_0x33f3ce|0x0]<<0x18),_0x34c562[_0x5ad2ba]=_0x34c562[_0x5ad2ba-_0x33f3ce]^_0x3a897c);for(var _0x1a9c85=this[_0x42d296(0x30b)]=[],_0x2057ab=0x0;_0x2057ab<_0x362183;_0x2057ab++){var _0x5ad2ba=_0x362183-_0x2057ab;if(_0x2057ab%0x4)var _0x3a897c=_0x34c562[_0x5ad2ba];else var _0x3a897c=_0x34c562[_0x5ad2ba-0x4];_0x2057ab<0x4||_0x5ad2ba<=0x4?_0x1a9c85[_0x2057ab]=_0x3a897c:_0x1a9c85[_0x2057ab]=_0x131573[_0x341eb6[_0x3a897c>>>0x18]]^_0x358341[_0x341eb6[_0x3a897c>>>0x10&0xff]]^_0xc9bbc5[_0x341eb6[_0x3a897c>>>0x8&0xff]]^_0x319d4c[_0x341eb6[_0x3a897c&0xff]];}}},'encryptBlock':function(_0xa30b60,_0x481d5b){var _0x34e920=_0x1af60c;this[_0x34e920(0x2f2)](_0xa30b60,_0x481d5b,this[_0x34e920(0x348)],_0x1325b2,_0x4887f8,_0x9b023b,_0x17b5d,_0x341eb6);},'decryptBlock':function(_0x105684,_0x5e2f8c){var _0x7ee24f=_0x105684[_0x5e2f8c+0x1];_0x105684[_0x5e2f8c+0x1]=_0x105684[_0x5e2f8c+0x3],_0x105684[_0x5e2f8c+0x3]=_0x7ee24f,this['_doCryptBlock'](_0x105684,_0x5e2f8c,this['_invKeySchedule'],_0x131573,_0x358341,_0xc9bbc5,_0x319d4c,_0x4a6866);var _0x7ee24f=_0x105684[_0x5e2f8c+0x1];_0x105684[_0x5e2f8c+0x1]=_0x105684[_0x5e2f8c+0x3],_0x105684[_0x5e2f8c+0x3]=_0x7ee24f;},'_doCryptBlock':function(_0x213c08,_0x2dddfe,_0x22b064,_0x20f0c9,_0x4fe76e,_0x3d116a,_0x158df3,_0x5e8195){for(var _0x2ba7d3=this['_nRounds'],_0x34603b=_0x213c08[_0x2dddfe]^_0x22b064[0x0],_0x36c3a0=_0x213c08[_0x2dddfe+0x1]^_0x22b064[0x1],_0x1d1f1f=_0x213c08[_0x2dddfe+0x2]^_0x22b064[0x2],_0x1f98c9=_0x213c08[_0x2dddfe+0x3]^_0x22b064[0x3],_0x577bd8=0x4,_0x47e9b7=0x1;_0x47e9b7<_0x2ba7d3;_0x47e9b7++){var _0x457db1=_0x20f0c9[_0x34603b>>>0x18]^_0x4fe76e[_0x36c3a0>>>0x10&0xff]^_0x3d116a[_0x1d1f1f>>>0x8&0xff]^_0x158df3[_0x1f98c9&0xff]^_0x22b064[_0x577bd8++],_0x66fcd0=_0x20f0c9[_0x36c3a0>>>0x18]^_0x4fe76e[_0x1d1f1f>>>0x10&0xff]^_0x3d116a[_0x1f98c9>>>0x8&0xff]^_0x158df3[_0x34603b&0xff]^_0x22b064[_0x577bd8++],_0x1b812e=_0x20f0c9[_0x1d1f1f>>>0x18]^_0x4fe76e[_0x1f98c9>>>0x10&0xff]^_0x3d116a[_0x34603b>>>0x8&0xff]^_0x158df3[_0x36c3a0&0xff]^_0x22b064[_0x577bd8++],_0x140ecb=_0x20f0c9[_0x1f98c9>>>0x18]^_0x4fe76e[_0x34603b>>>0x10&0xff]^_0x3d116a[_0x36c3a0>>>0x8&0xff]^_0x158df3[_0x1d1f1f&0xff]^_0x22b064[_0x577bd8++];_0x34603b=_0x457db1,_0x36c3a0=_0x66fcd0,_0x1d1f1f=_0x1b812e,_0x1f98c9=_0x140ecb;}var _0x457db1=(_0x5e8195[_0x34603b>>>0x18]<<0x18|_0x5e8195[_0x36c3a0>>>0x10&0xff]<<0x10|_0x5e8195[_0x1d1f1f>>>0x8&0xff]<<0x8|_0x5e8195[_0x1f98c9&0xff])^_0x22b064[_0x577bd8++],_0x66fcd0=(_0x5e8195[_0x36c3a0>>>0x18]<<0x18|_0x5e8195[_0x1d1f1f>>>0x10&0xff]<<0x10|_0x5e8195[_0x1f98c9>>>0x8&0xff]<<0x8|_0x5e8195[_0x34603b&0xff])^_0x22b064[_0x577bd8++],_0x1b812e=(_0x5e8195[_0x1d1f1f>>>0x18]<<0x18|_0x5e8195[_0x1f98c9>>>0x10&0xff]<<0x10|_0x5e8195[_0x34603b>>>0x8&0xff]<<0x8|_0x5e8195[_0x36c3a0&0xff])^_0x22b064[_0x577bd8++],_0x140ecb=(_0x5e8195[_0x1f98c9>>>0x18]<<0x18|_0x5e8195[_0x34603b>>>0x10&0xff]<<0x10|_0x5e8195[_0x36c3a0>>>0x8&0xff]<<0x8|_0x5e8195[_0x1d1f1f&0xff])^_0x22b064[_0x577bd8++];_0x213c08[_0x2dddfe]=_0x457db1,_0x213c08[_0x2dddfe+0x1]=_0x66fcd0,_0x213c08[_0x2dddfe+0x2]=_0x1b812e,_0x213c08[_0x2dddfe+0x3]=_0x140ecb;},'keySize':0x100/0x20});_0x280bc5[_0x1af60c(0x1b2)]=_0x840425['_createHelper'](_0x3f61cf);}()),_0x5264a4[_0x35c07e(0x1b2)];}));}(_0x1d4c9d)),_0x1d4c9d[_0x2db368(0x20c)];}var _0x3c5494=_0x3484b9();const _0x1f8401=_0x5afa2c(_0x3c5494);var _0x2d3089=_0x4fdf03();const _0x223d77=_0x5afa2c(_0x2d3089);var _0x29a279={'exports':{}},_0x1d8036=_0x29a279[_0x2229a0(0x20c)],_0x317627;function _0x2ccc4c(){var _0x58bcf7=_0x2229a0;return _0x317627||(_0x317627=0x1,function(_0x1dac5e,_0x54ad7d){(function(_0x396e69,_0x3149be){var _0x8dfe85=_0x573a;_0x1dac5e[_0x8dfe85(0x20c)]=_0x3149be(_0x1b8113());}(_0x1d8036,function(_0x44cf56){var _0x3e0080=_0x573a;return _0x44cf56[_0x3e0080(0x230)]['Utf8'];}));}(_0x29a279)),_0x29a279[_0x58bcf7(0x20c)];}var _0x1bc40e=_0x2ccc4c();const _0x16d5b6=_0x5afa2c(_0x1bc40e);var _0x29c63f={'exports':{}},_0x10dcc0=_0x29c63f['exports'],_0x4dadc3;function _0x4e145f(){var _0x54ed6c=_0x2229a0;return _0x4dadc3||(_0x4dadc3=0x1,function(_0x5a11ce,_0x3b3275){(function(_0xdbccff,_0x41adf8){var _0x820d9c=_0x573a;_0x5a11ce[_0x820d9c(0x20c)]=_0x41adf8(_0x1b8113());}(_0x10dcc0,function(_0xaef276){var _0x12bafc=_0x573a;return(function(){var _0x427c28=_0x573a;if(typeof ArrayBuffer==_0x427c28(0x3a3)){var _0x5b3671=_0xaef276,_0x1f4a7b=_0x5b3671['lib'],_0x1f7752=_0x1f4a7b['WordArray'],_0x5949d0=_0x1f7752[_0x427c28(0x222)],_0x15c073=_0x1f7752[_0x427c28(0x222)]=function(_0x306cb8){var _0x5426af=_0x427c28;if(_0x306cb8 instanceof ArrayBuffer&&(_0x306cb8=new Uint8Array(_0x306cb8)),(_0x306cb8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x306cb8 instanceof Uint8ClampedArray||_0x306cb8 instanceof Int16Array||_0x306cb8 instanceof Uint16Array||_0x306cb8 instanceof Int32Array||_0x306cb8 instanceof Uint32Array||_0x306cb8 instanceof Float32Array||_0x306cb8 instanceof Float64Array)&&(_0x306cb8=new Uint8Array(_0x306cb8[_0x5426af(0x52d)],_0x306cb8[_0x5426af(0x2b1)],_0x306cb8[_0x5426af(0x2e0)])),_0x306cb8 instanceof Uint8Array){for(var _0x4dafc4=_0x306cb8[_0x5426af(0x2e0)],_0x59eb7d=[],_0x5923d6=0x0;_0x5923d6<_0x4dafc4;_0x5923d6++)_0x59eb7d[_0x5923d6>>>0x2]|=_0x306cb8[_0x5923d6]<<0x18-_0x5923d6%0x4*0x8;_0x5949d0[_0x5426af(0x2d1)](this,_0x59eb7d,_0x4dafc4);}else _0x5949d0['apply'](this,arguments);};_0x15c073[_0x427c28(0x362)]=_0x1f7752;}}()),_0xaef276[_0x12bafc(0x532)]['WordArray'];}));}(_0x29c63f)),_0x29c63f[_0x54ed6c(0x20c)];}var _0x15c2d9=_0x4e145f();const _0x1737b5=_0x5afa2c(_0x15c2d9);var _0x44b6db={'exports':{}},_0x4f9b5b=_0x44b6db[_0x2229a0(0x20c)],_0x1030cc;function _0x9517bb(){var _0x23456e=_0x2229a0;return _0x1030cc||(_0x1030cc=0x1,function(_0x40c453,_0x5dd361){(function(_0x146f8f,_0x4c02b9,_0x16347c){var _0x40fdfd=_0x573a;_0x40c453[_0x40fdfd(0x20c)]=_0x4c02b9(_0x1b8113(),_0x215449());}(_0x4f9b5b,function(_0x3319bd){var _0x420056=_0x573a;return _0x3319bd[_0x420056(0x417)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3319bd[_0x420056(0x417)][_0x420056(0x265)];}));}(_0x44b6db)),_0x44b6db[_0x23456e(0x20c)];}var _0x7830d5=_0x9517bb();const _0x505b05=_0x5afa2c(_0x7830d5);function _0x2f39ca(_0x3f7037,_0x58bd1c){var _0x1c102b=_0x2229a0;const _0x845c06=_0x58bd1c-_0x3f7037[_0x1c102b(0x316)]%_0x58bd1c,_0x42386b=String[_0x1c102b(0x1b0)](_0x845c06)[_0x1c102b(0x4aa)](_0x845c06);return _0x3f7037+_0x42386b;}function _0x785fd2(_0x291de1,_0x332525){var _0x5d6d6a=_0x2229a0;const _0x3f77e1=_0x1737b5[_0x5d6d6a(0x1a7)](0x10),_0xe68f01=_0x2f39ca(_0x291de1,0x10),_0x44e01e=_0x1f8401[_0x5d6d6a(0x20a)](_0x16d5b6[_0x5d6d6a(0x34b)](_0xe68f01),_0x223d77[_0x5d6d6a(0x34b)](_0x332525),{'iv':_0x3f77e1,'padding':_0x505b05});return _0x3f77e1['concat'](_0x44e01e[_0x5d6d6a(0x385)])[_0x5d6d6a(0x520)](_0x223d77);}function _0x24183f(){var _0x194b38=_0x2229a0;const _0x976237=_0x4b2b6c['getGlobalObject']()[_0x194b38(0x249)];if(typeof window<'u'&&typeof window['location']<'u'&&_0x976237){const _0x34ff42={'time':Math[_0x194b38(0x453)](Date['now']()/0x3e8),'domain':location[_0x194b38(0x525)]};return _0x785fd2(JSON[_0x194b38(0x418)](_0x34ff42),_0x976237);}}var _0x3173dd=Object['getOwnPropertyDescriptor'],_0x5ac8a3=(_0x316d0d,_0x1643d2,_0x312b29,_0x46c7ff)=>{var _0x4f0673=_0x2229a0;for(var _0x3d7362=_0x46c7ff>0x1?void 0x0:_0x46c7ff?_0x3173dd(_0x1643d2,_0x312b29):_0x1643d2,_0x5ba2b5=_0x316d0d[_0x4f0673(0x316)]-0x1,_0x13d7ae;_0x5ba2b5>=0x0;_0x5ba2b5--)(_0x13d7ae=_0x316d0d[_0x5ba2b5])&&(_0x3d7362=_0x13d7ae(_0x3d7362)||_0x3d7362);return _0x3d7362;},_0x11a146=(_0x2ad62b,_0x14af00)=>(_0x24176d,_0x104249)=>_0x14af00(_0x24176d,_0x104249,_0x2ad62b);let _0xfc7ebc=class{constructor(_0x453dde){var _0x403c43=_0x2229a0;this['_httpService']=_0x453dde,this[_0x403c43(0x299)]();}[_0x2229a0(0x299)](){var _0x174487=_0x2229a0;this[_0x174487(0x510)]['registerHTTPInterceptor']({'interceptor':(_0x6f8728,_0x54fbb2)=>{var _0x16829d=_0x174487;const _0x473429=_0x6f8728[_0x16829d(0x44b)],_0x36d3c4=_0x24183f();return _0x36d3c4&&_0x473429[_0x16829d(0x3a6)](_0x16829d(0x2fb),_0x36d3c4),_0x54fbb2(_0x6f8728);}});}};_0xfc7ebc=_0x5ac8a3([_0x11a146(0x0,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)]))],_0xfc7ebc);var _0x13ed95=Object[_0x2229a0(0x330)],_0x596de=(_0x5ddd35,_0x5ad850,_0x4b2ab8,_0x48c9ad)=>{var _0x4e5278=_0x2229a0;for(var _0x4f9670=_0x48c9ad>0x1?void 0x0:_0x48c9ad?_0x13ed95(_0x5ad850,_0x4b2ab8):_0x5ad850,_0x2b9b52=_0x5ddd35[_0x4e5278(0x316)]-0x1,_0x1c572c;_0x2b9b52>=0x0;_0x2b9b52--)(_0x1c572c=_0x5ddd35[_0x2b9b52])&&(_0x4f9670=_0x1c572c(_0x4f9670)||_0x4f9670);return _0x4f9670;},_0x35c7fd=(_0x2bebdd,_0x2c6472)=>(_0x45c5ba,_0x2815fa)=>_0x2c6472(_0x45c5ba,_0x2815fa,_0x2bebdd);_0x5e3fa4[_0x2229a0(0x4ec)]=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x515a10,_0x5ab780,_0x4b924a){var _0x32c2e5=_0x2229a0;super(),_0x4b59b5(this,_0x32c2e5(0x327),new _0x32f9ef[(_0x32c2e5(0x3ce))](null)),_0x4b59b5(this,_0x32c2e5(0x1a0),this[_0x32c2e5(0x327)][_0x32c2e5(0x1d1)]()),(this['_logService']=_0x515a10,this[_0x32c2e5(0x3dd)]=_0x5ab780,this['_localCacheService']=_0x4b924a);}async['loadUnitOfRevision'](_0xda567f,_0xcc5934,_0x5e0a69){var _0xeace81=_0x2229a0;this[_0xeace81(0x327)][_0xeace81(0x393)]({'unitId':_0xda567f,'type':_0xcc5934});let _0x10d333=null;switch(_0xcc5934){case _0x24c96d[_0xeace81(0x394)]:{_0x10d333=await this[_0xeace81(0x3dd)][_0xeace81(0x297)](_0xda567f,_0x5e0a69);break;}case _0x24c96d['UNIVER_DOC']:{_0x10d333=await this[_0xeace81(0x3dd)]['loadDoc'](_0xda567f,_0x5e0a69);break;}default:{this[_0xeace81(0x501)]['error'](_0xeace81(0x42b),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x10d333;}async['loadUnit'](_0x4ec3c2,_0xc634d8,_0x6841ec){var _0xf44a8f=_0x2229a0,_0x44ecdc;this[_0xf44a8f(0x327)]['next']({'unitId':_0x4ec3c2,'type':_0xc634d8,'subUnitId':_0x6841ec});let _0x3fd001=0x0;const _0x301030=await((_0x44ecdc=this['_localCacheService'])==null?void 0x0:_0x44ecdc[_0xf44a8f(0x28f)](_0x4ec3c2));return _0x301030&&(_0x301030[_0xf44a8f(0x1c2)]||_0x301030[_0xf44a8f(0x3b3)]['length']!==0x0)&&(_0x3fd001=_0x301030[_0xf44a8f(0x50c)]),_0x3fd001===0x0&&this[_0xf44a8f(0x501)]['debug'](_0xf44a8f(0x42b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xf44a8f(0x1cd)](_0x4ec3c2,_0xc634d8,_0x3fd001);}},_0x5e3fa4[_0x2229a0(0x4ec)]=_0x596de([_0x35c7fd(0x0,_0x158513['ILogService']),_0x35c7fd(0x1,_0x158513[_0x2229a0(0x1c1)](_0x35009e['SnapshotService'])),_0x35c7fd(0x2,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x4ec)]);var _0x392260=Object['getOwnPropertyDescriptor'],_0xbfce8b=(_0x5ed7b3,_0x5cb32a,_0x2cd55a,_0x41d60b)=>{for(var _0x1ad2cb=_0x41d60b>0x1?void 0x0:_0x41d60b?_0x392260(_0x5cb32a,_0x2cd55a):_0x5cb32a,_0x1f9aaa=_0x5ed7b3['length']-0x1,_0x5710fa;_0x1f9aaa>=0x0;_0x1f9aaa--)(_0x5710fa=_0x5ed7b3[_0x1f9aaa])&&(_0x1ad2cb=_0x5710fa(_0x1ad2cb)||_0x1ad2cb);return _0x1ad2cb;},_0xd19d7b=(_0x1eeff6,_0x314977)=>(_0x53b6b8,_0x1d7a9e)=>_0x314977(_0x53b6b8,_0x1d7a9e,_0x1eeff6);const _0x66c128=[_0x2229a0(0x38c),_0x2229a0(0x4dc),_0x2229a0(0x3ec),_0x2229a0(0x4df),_0x2229a0(0x411)],_0x5d0c92=0x5*0x400*0x400,_0x3d37b0=_0x2229a0(0x32b),_0x3e918f=_0x2229a0(0x4e8);_0x5e3fa4['CollaborationImageIoService']=class{constructor(_0x5ad0d0,_0x522af4,_0x3ecfb9){var _0x144d67=_0x2229a0;_0x4b59b5(this,'_waitCount',0x0),_0x4b59b5(this,'_change$',new _0x32f9ef[(_0x144d67(0x2e1))]()),_0x4b59b5(this,_0x144d67(0x3a8),this[_0x144d67(0x37f)]),_0x4b59b5(this,'_imageSourceCache',new Map()),(this[_0x144d67(0x510)]=_0x5ad0d0,this['_configService']=_0x522af4,this[_0x144d67(0x1ae)]=_0x3ecfb9);}[_0x2229a0(0x51a)](_0x2345ad){var _0x414b5a=_0x2229a0;this[_0x414b5a(0x32d)]=_0x2345ad,this[_0x414b5a(0x37f)][_0x414b5a(0x393)](_0x2345ad);}['getImageSourceCache'](_0x3f1459,_0x396f10){var _0x331c32=_0x2229a0;if(_0x396f10===_0x2bf003[_0x331c32(0x21a)][_0x331c32(0x318)]){const _0x1d2bac=new Image();return _0x1d2bac[_0x331c32(0x26a)]=_0x3f1459,_0x1d2bac;}return this[_0x331c32(0x1ef)][_0x331c32(0x444)](_0x3f1459);}[_0x2229a0(0x1f3)](_0x46a801,_0x294203,_0x7ffe23){var _0x348a17=_0x2229a0;_0x294203===_0x2bf003[_0x348a17(0x21a)]['BASE64']||_0x7ffe23==null||this[_0x348a17(0x1ef)][_0x348a17(0x3a6)](_0x46a801,_0x7ffe23);}async['getImage'](_0x5ef339){var _0x3f43ac=_0x2229a0;try{const _0x4a89a4=this[_0x3f43ac(0x333)](this[_0x3f43ac(0x2c6)](),''+_0x5ef339),_0x38cf5d=(await this['_httpService']['get'](_0x4a89a4))[_0x3f43ac(0x341)];if(_0x38cf5d['error']&&_0x38cf5d['error'][_0x3f43ac(0x2f8)]===_0x2878f7['OK']){const _0x5c6139=_0x158513['resolveWithBasePath'](_0x38cf5d['url'],this['_getDownloadEndpointURL']());return Promise[_0x3f43ac(0x3d6)](_0x5c6139);}return Promise['reject'](_0x38cf5d['error']);}catch(_0x497cae){return Promise[_0x3f43ac(0x232)](_0x497cae);}}async['saveImage'](_0x4538c1){var _0x66fc46=_0x2229a0;let _0x2b27cc='';if(!_0x66c128[_0x66fc46(0x1a8)](_0x4538c1[_0x66fc46(0x4b3)]))return this[_0x66fc46(0x1c0)](),Promise[_0x66fc46(0x232)](new Error(_0x2bf003[_0x66fc46(0x1be)][_0x66fc46(0x234)]));if(_0x4538c1[_0x66fc46(0x4f0)]>_0x5d0c92)return this[_0x66fc46(0x1c0)](),Promise['reject'](new Error(_0x2bf003['ImageUploadStatusType'][_0x66fc46(0x19b)]));try{const _0x4adf87=new FormData();_0x4adf87[_0x66fc46(0x201)](_0x66fc46(0x470),_0x4538c1);const _0x79aada=this[_0x66fc46(0x1ae)][_0x66fc46(0x40e)](),_0x4fdd2b=_0x79aada==null?void 0x0:_0x79aada['getUnitId']();if(!_0x4fdd2b)throw new Error(_0x66fc46(0x32c));const _0x2a5a66=this[_0x66fc46(0x344)]()+_0x66fc46(0x486)+_0x4538c1[_0x66fc46(0x4f0)][_0x66fc46(0x520)]()+_0x66fc46(0x2eb)+_0x1b6d95[_0x66fc46(0x1dd)]+'&assign='+encodeURIComponent(_0x4fdd2b),_0x3b8c35={'body':_0x4adf87},_0x1a86e6=(await this[_0x66fc46(0x510)][_0x66fc46(0x3f4)](_0x2a5a66,_0x3b8c35))[_0x66fc46(0x341)];if(typeof _0x1a86e6['FileId']!='string')return this[_0x66fc46(0x1c0)](),Promise[_0x66fc46(0x232)](new Error(_0x2bf003[_0x66fc46(0x1be)]['ERROR_IMAGE']));_0x2b27cc=_0x1a86e6[_0x66fc46(0x4ab)];}catch{return this[_0x66fc46(0x1c0)](),Promise[_0x66fc46(0x232)](new Error(_0x2bf003[_0x66fc46(0x1be)][_0x66fc46(0x2fe)]));}return new Promise((_0x468642,_0x5d4b2e)=>{var _0x28318b=_0x66fc46;const _0x23669c=new FileReader();_0x23669c[_0x28318b(0x2cf)](_0x4538c1),_0x23669c[_0x28318b(0x27d)]=_0x34d06f=>{var _0x6bb38=_0x28318b,_0x1a0bac;const _0x8a9631=(_0x1a0bac=_0x34d06f[_0x6bb38(0x3fe)])==null?void 0x0:_0x1a0bac[_0x6bb38(0x3e2)];if(_0x8a9631==null){this[_0x6bb38(0x1c0)](),_0x5d4b2e(new Error(_0x2bf003[_0x6bb38(0x1be)][_0x6bb38(0x2fe)]));return;}const _0x130f3a=_0x158513[_0x6bb38(0x2db)](0x6);_0x468642({'imageId':_0x130f3a,'imageSourceType':_0x2bf003['ImageSourceType'][_0x6bb38(0x26b)],'source':_0x2b27cc,'base64Cache':_0x8a9631,'status':_0x2bf003[_0x6bb38(0x1be)][_0x6bb38(0x442)]}),this[_0x6bb38(0x1c0)]();};});}[_0x2229a0(0x344)](){var _0x296a11=_0x2229a0,_0x5d28b3;const _0x1d9339=this[_0x296a11(0x24f)][_0x296a11(0x247)](_0x5e0130);return(_0x5d28b3=_0x1d9339==null?void 0x0:_0x1d9339[_0x296a11(0x36f)])!=null?_0x5d28b3:_0x3d37b0;}['_getSignURL'](){var _0x2612b0=_0x2229a0,_0x5c9170;const _0x3c4aab=this[_0x2612b0(0x24f)][_0x2612b0(0x247)](_0x5e0130);return(_0x5c9170=_0x3c4aab==null?void 0x0:_0x3c4aab['signUrlServerUrl'])!=null?_0x5c9170:_0x3e918f;}[_0x2229a0(0x1fd)](){var _0x128974=_0x2229a0,_0x3a6452;const _0x28fb07=this[_0x128974(0x24f)][_0x128974(0x247)](_0x5e0130);return(_0x3a6452=_0x28fb07==null?void 0x0:_0x28fb07['downloadEndpointUrl'])!=null?_0x3a6452:location[_0x128974(0x2dc)];}[_0x2229a0(0x333)](_0x37865a,_0x5a01ee){var _0x2c072e=_0x2229a0;return _0x37865a[_0x2c072e(0x3af)]('{fileID}',_0x5a01ee);}[_0x2229a0(0x1c0)](){var _0x7eb51e=_0x2229a0;this[_0x7eb51e(0x32d)]-=0x1,this[_0x7eb51e(0x37f)][_0x7eb51e(0x393)](this['_waitCount']);}},_0x5e3fa4['CollaborationImageIoService']=_0xbfce8b([_0xd19d7b(0x0,_0x158513['Inject'](_0x5b6221[_0x2229a0(0x1c8)])),_0xd19d7b(0x1,_0x158513[_0x2229a0(0x4c2)]),_0xd19d7b(0x2,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x4ad)]))],_0x5e3fa4[_0x2229a0(0x2b7)]);var _0x1b72a1=Object['getOwnPropertyDescriptor'],_0x50aa69=(_0x586c85,_0x1573eb,_0x122824,_0x269269)=>{var _0x48c97a=_0x2229a0;for(var _0x31e345=_0x269269>0x1?void 0x0:_0x269269?_0x1b72a1(_0x1573eb,_0x122824):_0x1573eb,_0x7dda5b=_0x586c85[_0x48c97a(0x316)]-0x1,_0x5a66f9;_0x7dda5b>=0x0;_0x7dda5b--)(_0x5a66f9=_0x586c85[_0x7dda5b])&&(_0x31e345=_0x5a66f9(_0x31e345)||_0x31e345);return _0x31e345;},_0x4d8d81=(_0x55b691,_0x128c54)=>(_0x149794,_0x299223)=>_0x128c54(_0x149794,_0x299223,_0x55b691);const _0x21400e=_0x2229a0(0x4fb);_0x5e3fa4[_0x2229a0(0x471)]=class{constructor(_0x1ced79,_0x21a7ce){var _0x40c873=_0x2229a0;this[_0x40c873(0x24f)]=_0x1ced79,this[_0x40c873(0x49d)]=_0x21a7ce;}[_0x2229a0(0x50f)](){var _0x589107=_0x2229a0,_0x211588;const _0x5632ab=this[_0x589107(0x24f)]['getConfig'](_0x5e0130);return(_0x211588=_0x5632ab==null?void 0x0:_0x5632ab[_0x589107(0x4a5)])!=null?_0x211588:_0x21400e;}async['list'](_0x5b6407){var _0x1fafb6=_0x2229a0;const _0x2cfa3c=this[_0x1fafb6(0x50f)]()+'/collaborator';return{'list':[{'title':_0x1fafb6(0x509),'mentions':(await this[_0x1fafb6(0x49d)][_0x1fafb6(0x444)](_0x2cfa3c,{'params':{'objectID':_0x5b6407[_0x1fafb6(0x506)],'unitID':_0x5b6407[_0x1fafb6(0x506)]}}))['body'][_0x1fafb6(0x4a8)][_0x1fafb6(0x1d8)](_0x4e07f5=>({'objectId':_0x4e07f5['id'],'name':_0x4e07f5[_0x1fafb6(0x434)]['name'],'metadata':{'icon':_0x4e07f5['subject'][_0x1fafb6(0x2ee)]},'label':_0x4e07f5[_0x1fafb6(0x434)]['name'],'objectType':_0x158513['MentionType'][_0x1fafb6(0x472)]})),'metadata':{},'type':_0x158513[_0x1fafb6(0x276)]['PERSON']}]};}},_0x5e3fa4[_0x2229a0(0x471)]=_0x50aa69([_0x4d8d81(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x4c2)])),_0x4d8d81(0x1,_0x158513['Inject'](_0x5b6221[_0x2229a0(0x1c8)]))],_0x5e3fa4['MentionIoHttpService']);var _0x23dec3=Object[_0x2229a0(0x330)],_0x2fb8dd=(_0x5cc208,_0x5dfa8e,_0x200307,_0x11bf33)=>{var _0x5e055e=_0x2229a0;for(var _0x58dfbe=_0x11bf33>0x1?void 0x0:_0x11bf33?_0x23dec3(_0x5dfa8e,_0x200307):_0x5dfa8e,_0x3d066b=_0x5cc208[_0x5e055e(0x316)]-0x1,_0x472a7a;_0x3d066b>=0x0;_0x3d066b--)(_0x472a7a=_0x5cc208[_0x3d066b])&&(_0x58dfbe=_0x472a7a(_0x58dfbe)||_0x58dfbe);return _0x58dfbe;},_0x3604ad=(_0x5be16e,_0x833606)=>(_0x51c6f9,_0x1e506a)=>_0x833606(_0x51c6f9,_0x1e506a,_0x5be16e);let _0x38cfa4=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x2d5f72,_0x539e3d,_0x4deeac,_0x38ae3c,_0x525949){var _0x322bc0=_0x2229a0;super(),this[_0x322bc0(0x315)]=_0x2d5f72,this[_0x322bc0(0x1ae)]=_0x539e3d,this[_0x322bc0(0x4c1)]=_0x4deeac,this[_0x322bc0(0x4d2)]=_0x38ae3c,this['_collaborationUIEventService']=_0x525949,this[_0x322bc0(0x4fd)](),this[_0x322bc0(0x20d)]();}[_0x2229a0(0x20d)](){var _0x4d3b95=_0x2229a0;const _0x418f3d=async _0x34ed4a=>{var _0x53880b=_0x573a;(await this[_0x53880b(0x4d2)][_0x53880b(0x264)](_0x34ed4a))[_0x53880b(0x413)][_0x53880b(0x3fa)](_0x16efa3['filter'](_0x418663=>_0x418663[_0x53880b(0x40a)]===_0x35009e[_0x53880b(0x499)][_0x53880b(0x2ff)]),_0x16efa3['takeUntil'](this[_0x53880b(0x4ce)]))[_0x53880b(0x206)](_0x47ab45=>{var _0x33761d=_0x53880b;const _0x51c6a6=_0x47ab45,{reason:_0x478fc4}=_0x51c6a6[_0x33761d(0x214)];this['_collaborationUIEventService']['emitEvent']({'id':_0x306c72[_0x33761d(0x20e)],'data':_0x478fc4}),this[_0x33761d(0x4c1)][_0x33761d(0x534)](new _0x18f772[(_0x33761d(0x467))](_0x34ed4a)['id'],!0x1),this['_collaborationSessionService'][_0x33761d(0x1d5)](_0x34ed4a);});};_0x32f9ef[_0x4d3b95(0x47e)](this[_0x4d3b95(0x1ae)][_0x4d3b95(0x426)](_0x158513[_0x4d3b95(0x39a)][_0x4d3b95(0x394)]),this[_0x4d3b95(0x1ae)][_0x4d3b95(0x426)](_0x158513[_0x4d3b95(0x39a)]['UNIVER_DOC']))[_0x4d3b95(0x3fa)](_0x16efa3['map'](_0x5db9f6=>_0x5db9f6[_0x4d3b95(0x2ea)]()),_0x16efa3['filter'](_0x2201bc=>!_0x158513[_0x4d3b95(0x27c)](_0x2201bc)),_0x16efa3[_0x4d3b95(0x251)](this[_0x4d3b95(0x4ce)]))['subscribe'](_0x3c66b=>{_0x418f3d(_0x3c66b);});}[_0x2229a0(0x4fd)](){var _0x5b4873=_0x2229a0;const _0x8d297=async _0x35a907=>{var _0x9fca92=_0x573a;const _0x3d1dff=await this[_0x9fca92(0x4d2)]['requireSession'](_0x35a907),_0x2b63c2=this[_0x9fca92(0x315)][_0x9fca92(0x444)](_0x18f772[_0x9fca92(0x33e)]);_0x3d1dff[_0x9fca92(0x413)][_0x9fca92(0x3fa)](_0x16efa3[_0x9fca92(0x51e)](_0x114a33=>_0x114a33[_0x9fca92(0x40a)]===_0x35009e[_0x9fca92(0x499)]['UPDATE_PERMISSION_OBJ']),_0x16efa3[_0x9fca92(0x251)](this[_0x9fca92(0x4ce)]))['subscribe'](_0xe2ec33=>{var _0x908da4=_0x9fca92;const _0x1fe9b1=_0xe2ec33,{objectId:_0x5618b2}=_0x1fe9b1['data'];_0x5618b2===_0x35a907?_0x2b63c2[_0x908da4(0x2a2)](_0x35a907):_0x2b63c2[_0x908da4(0x32e)](_0x35a907,_0x5618b2);});};_0x32f9ef[_0x5b4873(0x47e)](this[_0x5b4873(0x1ae)]['getTypeOfUnitAdded$'](_0x158513['UniverInstanceType'][_0x5b4873(0x394)]))['pipe'](_0x16efa3[_0x5b4873(0x1d8)](_0x12c3d4=>_0x12c3d4[_0x5b4873(0x2ea)]()),_0x16efa3['filter'](_0x10e131=>!_0x158513[_0x5b4873(0x27c)](_0x10e131)),_0x16efa3[_0x5b4873(0x251)](this[_0x5b4873(0x4ce)]))[_0x5b4873(0x206)](_0x2067b1=>{_0x8d297(_0x2067b1);});}};_0x38cfa4=_0x2fb8dd([_0x3604ad(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x3604ad(0x1,_0x158513['IUniverInstanceService']),_0x3604ad(0x2,_0x158513[_0x2229a0(0x4bd)]),_0x3604ad(0x3,_0x158513[_0x2229a0(0x1c1)](_0x5e3fa4['CollaborationSessionService'])),_0x3604ad(0x4,_0x158513[_0x2229a0(0x1c1)](_0x1a9793))],_0x38cfa4);var _0x1d5720=Object[_0x2229a0(0x330)],_0x1bdc95=(_0x27074d,_0x3444e4,_0x3c26b6,_0x349ebf)=>{var _0x460e6d=_0x2229a0;for(var _0x316e3d=_0x349ebf>0x1?void 0x0:_0x349ebf?_0x1d5720(_0x3444e4,_0x3c26b6):_0x3444e4,_0x2b6bd0=_0x27074d[_0x460e6d(0x316)]-0x1,_0xd0338b;_0x2b6bd0>=0x0;_0x2b6bd0--)(_0xd0338b=_0x27074d[_0x2b6bd0])&&(_0x316e3d=_0xd0338b(_0x316e3d)||_0x316e3d);return _0x316e3d;},_0x1c6e30=(_0x4d0c27,_0x1f8e45)=>(_0x46c7e7,_0x20b7e2)=>_0x1f8e45(_0x46c7e7,_0x20b7e2,_0x4d0c27);_0x5e3fa4['SnapshotServerOverHTTPService']=class{constructor(_0x34cca1,_0x576ede){var _0x3ea3aa=_0x2229a0;this['_configService']=_0x34cca1,this[_0x3ea3aa(0x510)]=_0x576ede;}async[_0x2229a0(0x51b)](_0xecd800,_0x189ff7){var _0x179a7b=_0x2229a0,_0x5e4c56;const {unitID:_0x523ed2,type:_0x54361a,revision:_0x2e0aa5=0x0}=_0x189ff7,_0x22f5f8=this[_0x179a7b(0x4e6)]()+'/'+_0x54361a+'/unit/'+_0x523ed2+'/rev/'+_0x2e0aa5,_0xd138f4=(await this[_0x179a7b(0x510)]['get'](_0x22f5f8))['body'],_0x18df05=(_0x5e4c56=_0xd138f4[_0x179a7b(0x35e)])==null?void 0x0:_0x5e4c56[_0x179a7b(0x1b3)];if(_0x18df05){const _0xd600a5=_0x18df05==null?void 0x0:_0x18df05[_0x179a7b(0x40d)],_0x25d10b=_0x35009e['textEncoder']['encode'](_0x35009e[_0x179a7b(0x2a0)](_0xd600a5));_0x18df05['originalMeta']=_0x25d10b,Object[_0x179a7b(0x2a9)](_0x18df05[_0x179a7b(0x1e4)])[_0x179a7b(0x45b)](([,_0x1b5fac])=>{var _0x4bfd9a=_0x179a7b;const _0x977d9=_0x1b5fac[_0x4bfd9a(0x40d)],_0x27fc64=_0x35009e[_0x4bfd9a(0x1c4)][_0x4bfd9a(0x41f)](_0x35009e[_0x4bfd9a(0x2a0)](_0x977d9));_0x1b5fac[_0x4bfd9a(0x40d)]=_0x27fc64;});}return _0xd138f4;}async[_0x2229a0(0x1b8)](_0x1931d9,_0x34cfb2){var _0x4c169c=_0x2229a0;const {unitID:_0x48602f,type:_0x45e491,blockID:_0x4bd6f0}=_0x34cfb2,_0x514df4=this['_getAPIPrefix']()+'/'+_0x45e491+'/unit/'+_0x48602f+_0x4c169c(0x2b3)+_0x4bd6f0;return(await this['_httpService'][_0x4c169c(0x444)](_0x514df4))['body'];}async['getDeserializedSheetBlock'](_0x192d84,_0x3bdbfb){var _0x5b0d15=_0x2229a0;const {unitID:_0x1d7dd8,type:_0x4aefbb,blockID:_0xba17e4}=_0x3bdbfb,_0x2be5a5=this[_0x5b0d15(0x3e0)]()+_0x5b0d15(0x2b3)+_0x4aefbb+_0x5b0d15(0x4f6)+_0x1d7dd8+_0x5b0d15(0x2b3)+_0xba17e4;return(await this[_0x5b0d15(0x510)]['get'](_0x2be5a5))[_0x5b0d15(0x341)];}async[_0x2229a0(0x3bc)](_0x20a725,_0x3a52ed){var _0x3f17ec=_0x2229a0;const {unitID:_0x176034,type:_0x44d55e,from:_0x451c0a,to:_0x498e4b}=_0x3a52ed,_0x4eb8ed=this[_0x3f17ec(0x3e0)]()+'/'+_0x44d55e+'/unit/'+_0x176034+_0x3f17ec(0x1ab)+_0x451c0a+_0x3f17ec(0x3c7)+_0x498e4b;return(await this[_0x3f17ec(0x510)][_0x3f17ec(0x444)](_0x4eb8ed))[_0x3f17ec(0x341)];}[_0x2229a0(0x4e6)](){var _0x9785be=_0x2229a0,_0xe8b078;return(_0xe8b078=this[_0x9785be(0x24f)]['getConfig'](_0xa82dae))!=null?_0xe8b078:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x1fb358=_0x2229a0,_0xacf5d5;const _0x1696b3=this['_configService'][_0x1fb358(0x247)](_0x5e0130);return(_0xacf5d5=_0x1696b3==null?void 0x0:_0x1696b3['snapshotServerUrl'])!=null?_0xacf5d5:_0x7842a;}async['getResourcesRequest'](_0x462c7d,_0x4f0e61){var _0x5d0f8a=_0x2229a0;const _0x549932=_0x5d0f8a(0x41e)+_0x4f0e61['type']+_0x5d0f8a(0x4f6)+_0x4f0e61[_0x5d0f8a(0x350)]+'/resources';return(await this[_0x5d0f8a(0x510)][_0x5d0f8a(0x444)](_0x549932,{'params':{'resourceId':JSON['stringify'](_0x4f0e61[_0x5d0f8a(0x296)])}}))[_0x5d0f8a(0x341)];}[_0x2229a0(0x4ba)](){var _0x4056c8=_0x2229a0;throw new Error(_0x4056c8(0x1ea));}['updateSnapshot'](){var _0x9ec84e=_0x2229a0;throw new Error(_0x9ec84e(0x1ea));}[_0x2229a0(0x44a)](){var _0x1069ad=_0x2229a0;throw new Error(_0x1069ad(0x1ea));}['saveChangeset'](){var _0x529866=_0x2229a0;throw new Error(_0x529866(0x1ea));}[_0x2229a0(0x203)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2229a0(0x353)](){var _0x1dd8eb=_0x2229a0;throw new Error(_0x1dd8eb(0x1ea));}},_0x5e3fa4[_0x2229a0(0x3cd)]=_0x1bdc95([_0x1c6e30(0x0,_0x158513[_0x2229a0(0x4c2)]),_0x1c6e30(0x1,_0x158513[_0x2229a0(0x1c1)](_0x5b6221['HTTPService']))],_0x5e3fa4[_0x2229a0(0x3cd)]);var _0x16cc78=Object['getOwnPropertyDescriptor'],_0xee438=(_0x145e34,_0x62ceae,_0x22b012,_0x4c5dad)=>{var _0xf6b2ad=_0x2229a0;for(var _0x33f8c2=_0x4c5dad>0x1?void 0x0:_0x4c5dad?_0x16cc78(_0x62ceae,_0x22b012):_0x62ceae,_0x292c93=_0x145e34[_0xf6b2ad(0x316)]-0x1,_0x3d68f1;_0x292c93>=0x0;_0x292c93--)(_0x3d68f1=_0x145e34[_0x292c93])&&(_0x33f8c2=_0x3d68f1(_0x33f8c2)||_0x33f8c2);return _0x33f8c2;},_0x41d99c=(_0x380f6e,_0x4e6899)=>(_0x546f7b,_0x42bb9a)=>_0x4e6899(_0x546f7b,_0x42bb9a,_0x380f6e);_0x5e3fa4['CollaborativeUndoRedoService']=class extends _0x158513[_0x2229a0(0x2c3)]{constructor(_0x3295cb,_0x318bd1,_0x554661,_0x2f5f7b,_0x1d8395){var _0x23e15b=_0x2229a0;super(_0x3295cb,_0x318bd1,_0x554661),this[_0x23e15b(0x431)]=_0x2f5f7b,this['_logService']=_0x1d8395;}['transformUndoRedo'](_0x20bef2,_0x4e4384){var _0x1eab80=_0x2229a0;const _0x2bcee2=this['_getUndoStack'](_0x20bef2);if(_0x2bcee2)try{const _0x1a0df4=this[_0x1eab80(0x4fa)](_0x2bcee2,_0x4e4384);this[_0x1eab80(0x403)](_0x20bef2,_0x1a0df4);}catch(_0x2d3ef8){this[_0x1eab80(0x501)][_0x1eab80(0x508)](_0x1eab80(0x3f1),_0x2d3ef8),this[_0x1eab80(0x279)](_0x20bef2);}const _0x3c21f6=this['_getRedoStack'](_0x20bef2);if(_0x3c21f6)try{const _0xb443b8=this[_0x1eab80(0x4fa)](_0x3c21f6,_0x4e4384);this[_0x1eab80(0x343)](_0x20bef2,_0xb443b8);}catch(_0x4c8d49){this[_0x1eab80(0x501)][_0x1eab80(0x508)](_0x4c8d49),this[_0x1eab80(0x22b)](_0x20bef2);}}[_0x2229a0(0x279)](_0x2793c2){var _0x2d0bb0=_0x2229a0;const _0x6b7a4f=this[_0x2d0bb0(0x2ca)](_0x2793c2);_0x6b7a4f&&(_0x6b7a4f[_0x2d0bb0(0x316)]=0x0,this['_updateStatus']());}[_0x2229a0(0x22b)](_0x34b952){var _0x169dd2=_0x2229a0;const _0x3d343a=this[_0x169dd2(0x1a5)](_0x34b952);_0x3d343a&&(_0x3d343a['length']=0x0,this['_updateStatus']());}[_0x2229a0(0x403)](_0x184115,_0xeb13c9){var _0x1e7c07=_0x2229a0;this[_0x1e7c07(0x4be)]['set'](_0x184115,_0xeb13c9),this[_0x1e7c07(0x455)]();}[_0x2229a0(0x343)](_0x5c66e9,_0x475c53){var _0x4922a0=_0x2229a0;this[_0x4922a0(0x236)][_0x4922a0(0x3a6)](_0x5c66e9,_0x475c53),this['_updateStatus']();}['_transformStack'](_0x23aa41,_0x535325){var _0x3832da=_0x2229a0;const _0xdd2d92=[];let _0xde6a10=_0x535325,_0x2202ef=_0x535325;for(let _0x3d1180=_0x23aa41[_0x3832da(0x316)]-0x1;_0x3d1180>=0x0;_0x3d1180--){const {unitID:_0x5856ea,undoMutations:_0xd81437,redoMutations:_0x7ff26}=_0x23aa41[_0x3d1180],_0x51cc2b=this[_0x3832da(0x431)][_0x3832da(0x4ff)](_0xde6a10,_0xd81437),_0x27276e=this['_transformService'][_0x3832da(0x4ff)](_0x2202ef,_0x7ff26);if(_0x35009e['isTransformMutationsWithChangesetFailure'](_0x51cc2b)||_0x35009e[_0x3832da(0x3a5)](_0x27276e)){this['_logService'][_0x3832da(0x508)](_0x3832da(0x3f1),_0x3832da(0x35d),_0x51cc2b,_0x27276e);break;}_0xde6a10=_0x51cc2b[_0x3832da(0x2a7)],_0x2202ef=_0x27276e[_0x3832da(0x2a7)],_0xdd2d92[_0x3832da(0x4a3)]({'unitID':_0x5856ea,'undoMutations':_0x51cc2b[_0x3832da(0x41b)],'redoMutations':_0x27276e[_0x3832da(0x41b)]});}return _0xdd2d92[_0x3832da(0x383)]();}},_0x5e3fa4[_0x2229a0(0x2c7)]=_0xee438([_0x41d99c(0x0,_0x158513[_0x2229a0(0x4ad)]),_0x41d99c(0x1,_0x158513[_0x2229a0(0x4e3)]),_0x41d99c(0x2,_0x158513['IContextService']),_0x41d99c(0x3,_0x35009e['ITransformService']),_0x41d99c(0x4,_0x158513[_0x2229a0(0x2b8)])],_0x5e3fa4[_0x2229a0(0x2c7)]);var _0x156f4b=Object[_0x2229a0(0x485)],_0x5a715b=Object['getOwnPropertyDescriptor'],_0x4e3532=(_0x3ced55,_0x1990d3,_0x509b76)=>_0x1990d3 in _0x3ced55?_0x156f4b(_0x3ced55,_0x1990d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x509b76}):_0x3ced55[_0x1990d3]=_0x509b76,_0x1e587f=(_0x3773ca,_0x9b0b33,_0x224b95,_0x2cfc79)=>{var _0x26f674=_0x2229a0;for(var _0x5eb221=_0x2cfc79>0x1?void 0x0:_0x2cfc79?_0x5a715b(_0x9b0b33,_0x224b95):_0x9b0b33,_0x11eb95=_0x3773ca[_0x26f674(0x316)]-0x1,_0x3c4d81;_0x11eb95>=0x0;_0x11eb95--)(_0x3c4d81=_0x3773ca[_0x11eb95])&&(_0x5eb221=_0x3c4d81(_0x5eb221)||_0x5eb221);return _0x5eb221;},_0x16976e=(_0x5afea5,_0x5b9afa)=>(_0x3a5949,_0x188720)=>_0x5b9afa(_0x3a5949,_0x188720,_0x5afea5),_0x49a415=(_0x1f8219,_0xd4e0ab,_0x4da2f1)=>_0x4e3532(_0x1f8219,_0xd4e0ab+'',_0x4da2f1);const _0x45007a=_0x2229a0(0x35b);_0x5e3fa4[_0x2229a0(0x302)]=class extends _0x158513[_0x2229a0(0x225)]{constructor(_0x284f05,_0x2741b7,_0x4a6770,_0x35310d){var _0x2e7036=_0x2229a0;super(),_0x4b59b5(this,_0x2e7036(0x30c)),(this[_0x2e7036(0x501)]=_0x2741b7,this[_0x2e7036(0x315)]=_0x4a6770,this[_0x2e7036(0x24f)]=_0x35310d);const {..._0x2724ae}=_0x158513[_0x2e7036(0x47e)]({},_0x5ccedc,_0x284f05);if(!_0x2724ae[_0x2e7036(0x3aa)])throw new Error(_0x2e7036(0x427));this['_config']=_0x2724ae,this[_0x2e7036(0x24f)]['setConfig'](_0x5e0130,_0x2724ae);}[_0x2229a0(0x4f4)](){var _0x1db318=_0x2229a0;this[_0x1db318(0x33b)](),this[_0x1db318(0x2d7)]();}[_0x2229a0(0x33b)](){var _0x22bc9c=_0x2229a0,_0x2ed5ab,_0x4d91b7;this[_0x22bc9c(0x315)][_0x22bc9c(0x202)](_0x158513['IUndoRedoService'])&&this[_0x22bc9c(0x501)][_0x22bc9c(0x508)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5d61e1=_0x158513[_0x22bc9c(0x4e2)]([[_0x158513[_0x22bc9c(0x4a9)],{'useClass':_0x5e3fa4['CollaborativeUndoRedoService']}],[_0x5e3fa4[_0x22bc9c(0x3db)]],[_0x5e3fa4[_0x22bc9c(0x357)]],[_0x5e3fa4[_0x22bc9c(0x3f3)]],[_0x4c5a49],[_0xfc7ebc],[_0x1a53f1],[_0x38cfa4],[_0x1a9793],[_0x5e3fa4[_0x22bc9c(0x4ec)]],[_0xd4806f,{'useClass':this[_0x22bc9c(0x30c)][_0x22bc9c(0x3aa)]}],[_0x35009e[_0x22bc9c(0x338)],{'useClass':_0x5e3fa4[_0x22bc9c(0x3cd)]}],[_0x158513[_0x22bc9c(0x1f9)],{'useClass':_0x5e3fa4[_0x22bc9c(0x462)]}],[_0x2bf003[_0x22bc9c(0x3d7)],{'useClass':_0x5e3fa4['CollaborationImageIoService']}],[_0x158513['IMentionIOService'],{'useClass':_0x5e3fa4['MentionIoHttpService']}],[_0x5e3fa4[_0x22bc9c(0x29b)]],[_0x370f44]],(_0x2ed5ab=this[_0x22bc9c(0x30c)])==null?void 0x0:_0x2ed5ab[_0x22bc9c(0x3ba)]);if(!((_0x4d91b7=this['_config'])!=null&&_0x4d91b7[_0x22bc9c(0x526)])){const _0x5657f6=_0x5d61e1['findIndex'](([_0x814eb4])=>_0x814eb4===_0x25ea7f);_0x5657f6!==-0x1&&_0x5d61e1[_0x22bc9c(0x304)](_0x5657f6,0x1);}_0x158513[_0x22bc9c(0x463)](this[_0x22bc9c(0x315)],_0x5d61e1);}[_0x2229a0(0x2d7)](){var _0x1d3a02=_0x2229a0,_0x46c1e8,_0x1b2ad3,_0x456901;this['_injector'][_0x1d3a02(0x444)](_0x5b6221['HTTPService'])[_0x1d3a02(0x43a)]({'priority':0x14,'interceptor':_0x5b6221['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x46c1e8=this[_0x1d3a02(0x30c)])!=null&&_0x46c1e8['enableOfflineEditing']||(_0x1b2ad3=this['_injector'][_0x1d3a02(0x444)](_0x53e5a0,_0x158513[_0x1d3a02(0x4c9)]['OPTIONAL']))==null||_0x1b2ad3[_0x1d3a02(0x514)](),(_0x456901=this[_0x1d3a02(0x30c)])!=null&&_0x456901[_0x1d3a02(0x39f)]&&_0x158513[_0x1d3a02(0x195)](this[_0x1d3a02(0x315)],[[_0x4c5a49]]),_0x158513[_0x1d3a02(0x195)](this['_injector'],[[_0xfc7ebc],[_0x5e3fa4['CollaborationController']],[_0x38cfa4]]);}},_0x49a415(_0x5e3fa4[_0x2229a0(0x302)],'pluginName',_0x45007a),_0x5e3fa4[_0x2229a0(0x302)]=_0x1e587f([_0x158513['DependentOn'](_0x4b2b6c[_0x2229a0(0x288)],_0x35009e[_0x2229a0(0x1c5)],_0x5b6221[_0x2229a0(0x2e5)]),_0x16976e(0x1,_0x158513[_0x2229a0(0x2b8)]),_0x16976e(0x2,_0x158513[_0x2229a0(0x1c1)](_0x158513['Injector'])),_0x16976e(0x3,_0x158513[_0x2229a0(0x4c2)])],_0x5e3fa4[_0x2229a0(0x302)]),_0x5e3fa4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x5e0130,_0x5e3fa4[_0x2229a0(0x458)]=_0x3eee43,_0x5e3fa4[_0x2229a0(0x21b)]=_0x306c72,_0x5e3fa4[_0x2229a0(0x294)]=_0x1a9793,_0x5e3fa4['CommentService']=_0x1a53f1,_0x5e3fa4[_0x2229a0(0x4ac)]=_0x46c157,_0x5e3fa4[_0x2229a0(0x349)]=_0x10b865,_0x5e3fa4[_0x2229a0(0x286)]=_0x19d93b,_0x5e3fa4['HEARTBEAT_INTERVAL_KEY']=_0x50386d,_0x5e3fa4[_0x2229a0(0x37e)]=_0x3bd8ba,_0x5e3fa4[_0x2229a0(0x2ae)]=_0xd4806f,_0x5e3fa4['ILocalCacheService']=_0x53e5a0,_0x5e3fa4[_0x2229a0(0x488)]=_0x215e06,_0x5e3fa4['ISingleActiveUnitService']=_0x25ea7f,_0x5e3fa4['LOCAL_CACHE_INTERVAL']=0x3e8,_0x5e3fa4['LOCAL_CACHE_INTERVAL_KEY']=_0x175c63,_0x5e3fa4[_0x2229a0(0x454)]=_0x37bb98,_0x5e3fa4[_0x2229a0(0x4ea)]=_0x2a69c3,_0x5e3fa4[_0x2229a0(0x4d3)]=_0x366b35,_0x5e3fa4['UnitStatus']=_0x309040,_0x5e3fa4[_0x2229a0(0x1ee)]=_0x9e4075,_0x5e3fa4[_0x2229a0(0x2de)]=_0x3941b5,_0x5e3fa4[_0x2229a0(0x1f2)]=_0xea9c25,Object[_0x2229a0(0x485)](_0x5e3fa4,Symbol[_0x2229a0(0x29f)],{'value':_0x2229a0(0x2ed)});}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x391b(_0x533ddb,_0x4d27db){_0x533ddb=_0x533ddb-0x14e;const _0x2d2ece=_0x2d2e();let _0x391b05=_0x2d2ece[_0x533ddb];return _0x391b05;}function _0x2d2e(){const _0xc27f88=['length','797412VLBdCL','getFocusedUnit','Injector','SnapshotService','IUniverInstanceService','exports','645399UvtrzG','createInstance','unitID','state','_handler','307755VYQwkQ','217044VTXiLc','defineProperty','_snapshotService','loadServerUnitOfRevision','waitForRoom$','switchMap','FUniver','_collaborationController','object','UniverProCollaborationClient','registerEventHandler','from','Inject','@univerjs/core','NOT_COLLAB','Module','FCollaboration','FEnum','extend','loadActiveSheetAsync','UniverCoreFacade','1639IeznIc','@univerjs-pro/collaboration-client','2712665dYfpyJ','getCollaboration','CollaborationController','3rWoDrC','getCollaborationStatus','fireEvent','6TnBvxE','Event','266cFFKNX','status$','get','UniverProCollaboration','500OwDJZg','function','rxjs','loadSheetAsync','entityInit$','59672AKEdGi','FEventName','CollaborationStatus','loadUnitOfRevision','4976668LPMxhS','readyForCollab','_univerInstanceService','loadSheet','getOwnPropertyDescriptor','_initialize','CollaborationStatusChanged','loadServerUnit','subscribe','toDisposable','_injector','UniverCore','loadUnit','add','subscribeCollaborators','loadActiveSheet','disposeWithMe','getCollabEntity'];_0x2d2e=function(){return _0xc27f88;};return _0x2d2e();}(function(_0x44aef8,_0x23720c){const _0x354568=_0x391b,_0xb688dd=_0x44aef8();while(!![]){try{const _0x32c81=-parseInt(_0x354568(0x182))/0x1+-parseInt(_0x354568(0x17c))/0x2+-parseInt(_0x354568(0x157))/0x3*(-parseInt(_0x354568(0x169))/0x4)+parseInt(_0x354568(0x154))/0x5*(-parseInt(_0x354568(0x15a))/0x6)+-parseInt(_0x354568(0x15c))/0x7*(-parseInt(_0x354568(0x165))/0x8)+-parseInt(_0x354568(0x187))/0x9*(parseInt(_0x354568(0x160))/0xa)+-parseInt(_0x354568(0x152))/0xb*(-parseInt(_0x354568(0x188))/0xc);if(_0x32c81===_0x23720c)break;else _0xb688dd['push'](_0xb688dd['shift']());}catch(_0x548b4a){_0xb688dd['push'](_0xb688dd['shift']());}}}(_0x2d2e,0xe21e8),function(_0xf15000,_0x51cfc5){const _0x4c7e96=_0x391b;typeof exports==_0x4c7e96(0x190)&&typeof module<'u'?_0x51cfc5(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x4c7e96(0x161)&&define['amd']?define([_0x4c7e96(0x181),_0x4c7e96(0x153),'@univerjs/core/facade',_0x4c7e96(0x195),'@univerjs-pro/collaboration',_0x4c7e96(0x162)],_0x51cfc5):(_0xf15000=typeof globalThis<'u'?globalThis:_0xf15000||self,_0x51cfc5(_0xf15000['UniverProCollaborationClientFacade']={},_0xf15000[_0x4c7e96(0x191)],_0xf15000[_0x4c7e96(0x151)],_0xf15000[_0x4c7e96(0x174)],_0xf15000[_0x4c7e96(0x15f)],_0xf15000[_0x4c7e96(0x162)]));}(this,function(_0x888540,_0x34aded,_0x3600de,_0x35adbb,_0x47b9f5,_0x4e1794){'use strict';const _0x2c93d9=_0x391b;class _0x13cccd extends _0x3600de[_0x2c93d9(0x14e)]{get[_0x2c93d9(0x167)](){const _0x25b06c=_0x2c93d9;return _0x34aded[_0x25b06c(0x167)];}}_0x3600de[_0x2c93d9(0x14e)][_0x2c93d9(0x14f)](_0x13cccd);class _0x260167{get['CollaborationStatusChanged'](){const _0x493421=_0x2c93d9;return _0x493421(0x16f);}}_0x3600de[_0x2c93d9(0x166)][_0x2c93d9(0x14f)](_0x260167);var _0x2ee8c1=Object[_0x2c93d9(0x16d)],_0x4668fd=(_0x180e02,_0x4846f9,_0x31e493,_0x3b2e3c)=>{const _0xf9140a=_0x2c93d9;for(var _0x96a9de=_0x3b2e3c>0x1?void 0x0:_0x3b2e3c?_0x2ee8c1(_0x4846f9,_0x31e493):_0x4846f9,_0xdd58fa=_0x180e02[_0xf9140a(0x17b)]-0x1,_0x351cf0;_0xdd58fa>=0x0;_0xdd58fa--)(_0x351cf0=_0x180e02[_0xdd58fa])&&(_0x96a9de=_0x351cf0(_0x96a9de)||_0x96a9de);return _0x96a9de;},_0x3b3055=(_0x3231bc,_0x515fd8)=>(_0x585a7d,_0x2b7cd7)=>_0x515fd8(_0x585a7d,_0x2b7cd7,_0x3231bc);_0x888540[_0x2c93d9(0x198)]=class extends _0x3600de['FBase']{constructor(_0x272c32,_0x47f8c4,_0x1f1a58,_0x52d8cf,_0x249508){const _0x50d4d0=_0x2c93d9;super(),this['_handler']=_0x272c32,this[_0x50d4d0(0x173)]=_0x47f8c4,this[_0x50d4d0(0x16b)]=_0x1f1a58,this[_0x50d4d0(0x18a)]=_0x52d8cf,this['_collaborationController']=_0x249508;}async[_0x2c93d9(0x178)](){const _0x47dff1=_0x2c93d9;return this[_0x47dff1(0x150)]();}async[_0x2c93d9(0x150)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x2c93d9(0x16c)](_0x9974b){const _0x2cc27d=_0x2c93d9;return this[_0x2cc27d(0x163)](_0x9974b);}async[_0x2c93d9(0x163)](_0x236897,_0x2934b9){const _0x262dfa=_0x2c93d9;return await this['_snapshotService'][_0x262dfa(0x16c)](_0x236897,0x0,_0x2934b9)?(await this[_0x262dfa(0x18f)][_0x262dfa(0x16a)](_0x236897),this[_0x262dfa(0x186)]['getUniverSheet'](_0x236897)):null;}[_0x2c93d9(0x177)](_0x1dd624,_0x39c2ed){const _0x5e774f=_0x2c93d9,_0x4c737e=this['_injector']['get'](_0x34aded['MemberService'])[_0x5e774f(0x18c)](_0x1dd624)['pipe'](_0x4e1794[_0x5e774f(0x18d)](_0x526cc8=>_0x526cc8['members$']))[_0x5e774f(0x171)](_0xbe4dcc=>_0x39c2ed(Array[_0x5e774f(0x193)](_0xbe4dcc['values']())));return _0x35adbb[_0x5e774f(0x172)](_0x4c737e);}[_0x2c93d9(0x158)](_0x1cf7cb){const _0x1657b3=_0x2c93d9;var _0x20e557;let _0x1a7c39;if(_0x1cf7cb)_0x1a7c39=_0x1cf7cb;else{const _0x11344b=this['_univerInstanceService'][_0x1657b3(0x17d)]();_0x1a7c39=_0x11344b==null?void 0x0:_0x11344b['getUnitId']();}if(!_0x1a7c39)return _0x34aded[_0x1657b3(0x167)][_0x1657b3(0x196)];const _0xb54a32=this['_collaborationController'][_0x1657b3(0x17a)](_0x1a7c39);return(_0x20e557=_0xb54a32==null?void 0x0:_0xb54a32[_0x1657b3(0x185)]['status'])!=null?_0x20e557:_0x34aded[_0x1657b3(0x167)]['NOT_COLLAB'];}},_0x888540['FCollaboration']=_0x4668fd([_0x3b3055(0x1,_0x35adbb[_0x2c93d9(0x194)](_0x35adbb[_0x2c93d9(0x17e)])),_0x3b3055(0x2,_0x35adbb[_0x2c93d9(0x180)]),_0x3b3055(0x3,_0x35adbb['Inject'](_0x47b9f5[_0x2c93d9(0x17f)])),_0x3b3055(0x4,_0x35adbb[_0x2c93d9(0x194)](_0x34aded[_0x2c93d9(0x156)]))],_0x888540[_0x2c93d9(0x198)]);class _0xa635b8 extends _0x3600de[_0x2c93d9(0x18e)]{[_0x2c93d9(0x16e)](_0x35dd7d){const _0x5247e9=_0x2c93d9,_0x5ba225=_0x35dd7d['get'](_0x34aded[_0x5247e9(0x156)]);this[_0x5247e9(0x179)](this[_0x5247e9(0x192)](this['Event'][_0x5247e9(0x16f)],()=>{const _0x145e44=_0x5247e9,_0x234ad2=new _0x35adbb['DisposableCollection'](),_0x93c85a=_0x5ba225[_0x145e44(0x164)][_0x145e44(0x171)](_0x252c07=>{const _0x49e63e=_0x145e44,_0x3b5317=_0x252c07[_0x49e63e(0x15d)][_0x49e63e(0x171)](_0x17ef4c=>{const _0x450ec2=_0x49e63e;this[_0x450ec2(0x159)](this[_0x450ec2(0x15b)][_0x450ec2(0x16f)],{'unitId':_0x252c07[_0x450ec2(0x184)],'status':_0x17ef4c});});_0x234ad2[_0x49e63e(0x176)](_0x35adbb[_0x49e63e(0x172)](_0x3b5317));});return _0x234ad2[_0x145e44(0x176)](_0x35adbb[_0x145e44(0x172)](_0x93c85a)),_0x234ad2;}));}[_0x2c93d9(0x155)](){const _0xf07e99=_0x2c93d9;return this[_0xf07e99(0x173)][_0xf07e99(0x183)](_0x888540[_0xf07e99(0x198)],{'getUniverSheet':_0xf9d51c=>this['getUniverSheet'](_0xf9d51c)});}[_0x2c93d9(0x170)](_0x464859,_0x21b29b,_0x44b62f){const _0x46e3d2=_0x2c93d9;return this[_0x46e3d2(0x173)]['get'](_0x34aded['DataLoaderService'])[_0x46e3d2(0x175)](_0x464859,_0x21b29b,_0x44b62f);}[_0x2c93d9(0x18b)](_0x835cab,_0x30aa1d,_0x1911f3){const _0x298168=_0x2c93d9;return this[_0x298168(0x173)][_0x298168(0x15e)](_0x34aded['DataLoaderService'])[_0x298168(0x168)](_0x835cab,_0x30aa1d,_0x1911f3);}}_0x3600de[_0x2c93d9(0x18e)][_0x2c93d9(0x14f)](_0xa635b8),Object[_0x2c93d9(0x189)](_0x888540,Symbol['toStringTag'],{'value':_0x2c93d9(0x197)});}));
5
+ function _0x4553(_0x26347d,_0x381536){_0x26347d=_0x26347d-0x81;const _0x82a155=_0x82a1();let _0x45533a=_0x82a155[_0x26347d];return _0x45533a;}(function(_0x50771a,_0x205d40){const _0x2ea843=_0x4553,_0x49dcf2=_0x50771a();while(!![]){try{const _0x1c8f34=-parseInt(_0x2ea843(0x97))/0x1*(parseInt(_0x2ea843(0xc2))/0x2)+-parseInt(_0x2ea843(0xaa))/0x3*(-parseInt(_0x2ea843(0x9f))/0x4)+-parseInt(_0x2ea843(0x92))/0x5+parseInt(_0x2ea843(0x98))/0x6+parseInt(_0x2ea843(0x93))/0x7+parseInt(_0x2ea843(0x95))/0x8*(parseInt(_0x2ea843(0xb5))/0x9)+parseInt(_0x2ea843(0xcc))/0xa*(-parseInt(_0x2ea843(0xad))/0xb);if(_0x1c8f34===_0x205d40)break;else _0x49dcf2['push'](_0x49dcf2['shift']());}catch(_0x2ad569){_0x49dcf2['push'](_0x49dcf2['shift']());}}}(_0x82a1,0x8d2d1),function(_0x24eac7,_0x5ead9f){const _0x64c44d=_0x4553;typeof exports==_0x64c44d(0x99)&&typeof module<'u'?_0x5ead9f(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x64c44d(0x9c)&&define[_0x64c44d(0x90)]?define([_0x64c44d(0xc6),_0x64c44d(0x88),'@univerjs/core/facade',_0x64c44d(0xc3),_0x64c44d(0x89),_0x64c44d(0x9d)],_0x5ead9f):(_0x24eac7=typeof globalThis<'u'?globalThis:_0x24eac7||self,_0x5ead9f(_0x24eac7[_0x64c44d(0xb2)]={},_0x24eac7['UniverProCollaborationClient'],_0x24eac7[_0x64c44d(0x9e)],_0x24eac7[_0x64c44d(0xc9)],_0x24eac7[_0x64c44d(0xa4)],_0x24eac7[_0x64c44d(0x9d)]));}(this,function(_0xcc8aed,_0x19a2de,_0x49f43c,_0x3bd131,_0x10d1d8,_0x58cc6b){'use strict';const _0x4cb981=_0x4553;class _0x4db785 extends _0x49f43c[_0x4cb981(0x87)]{get[_0x4cb981(0xc0)](){const _0x574ea4=_0x4cb981;return _0x19a2de[_0x574ea4(0xc0)];}}_0x49f43c[_0x4cb981(0x87)][_0x4cb981(0xa8)](_0x4db785);class _0x366b31{get[_0x4cb981(0xbf)](){return'CollaborationStatusChanged';}}_0x49f43c['FEventName'][_0x4cb981(0xa8)](_0x366b31);var _0x5e3cf9=Object[_0x4cb981(0x9a)],_0x4210d3=(_0x291e36,_0x5bc48d,_0x164efb,_0x57848c)=>{const _0x1f5d7f=_0x4cb981;for(var _0x1a824d=_0x57848c>0x1?void 0x0:_0x57848c?_0x5e3cf9(_0x5bc48d,_0x164efb):_0x5bc48d,_0x318ecd=_0x291e36[_0x1f5d7f(0xaf)]-0x1,_0x432944;_0x318ecd>=0x0;_0x318ecd--)(_0x432944=_0x291e36[_0x318ecd])&&(_0x1a824d=_0x432944(_0x1a824d)||_0x1a824d);return _0x1a824d;},_0x160ec=(_0x9396fc,_0x55216f)=>(_0x376bac,_0x329e92)=>_0x55216f(_0x376bac,_0x329e92,_0x9396fc);_0xcc8aed[_0x4cb981(0xae)]=class extends _0x49f43c[_0x4cb981(0xb3)]{constructor(_0x5ba629,_0x581e60,_0xd648d0,_0x34ac94,_0x126d46){const _0x3905cb=_0x4cb981;super(),this[_0x3905cb(0xcd)]=_0x5ba629,this[_0x3905cb(0x94)]=_0x581e60,this[_0x3905cb(0xa3)]=_0xd648d0,this[_0x3905cb(0x8e)]=_0x34ac94,this[_0x3905cb(0x96)]=_0x126d46;}async[_0x4cb981(0xcb)](){const _0x2a71c6=_0x4cb981;return this[_0x2a71c6(0x82)]();}async['loadActiveSheetAsync'](){const _0x5c58fe=_0x4cb981;throw new Error(_0x5c58fe(0x8f));}async[_0x4cb981(0xa7)](_0x44471a){return this['loadSheetAsync'](_0x44471a);}async[_0x4cb981(0xa0)](_0x511832,_0xa55b61){const _0x447dd5=_0x4cb981;return await this[_0x447dd5(0x8e)][_0x447dd5(0xa7)](_0x511832,0x0,_0xa55b61)?(await this[_0x447dd5(0x96)][_0x447dd5(0xbd)](_0x511832),this['_handler'][_0x447dd5(0xba)](_0x511832)):null;}[_0x4cb981(0x8d)](_0x202987,_0x30b73b){const _0x50f553=_0x4cb981,_0x2cef6e=this[_0x50f553(0x94)][_0x50f553(0xc1)](_0x19a2de[_0x50f553(0xa5)])[_0x50f553(0x8b)](_0x202987)['pipe'](_0x58cc6b[_0x50f553(0xc5)](_0x413fcd=>_0x413fcd[_0x50f553(0xb0)]))[_0x50f553(0x91)](_0x2986de=>_0x30b73b(Array[_0x50f553(0xb8)](_0x2986de['values']())));return _0x3bd131['toDisposable'](_0x2cef6e);}[_0x4cb981(0xab)](_0x1153ce){const _0x29a3c0=_0x4cb981;var _0x16470b;let _0x3666b2;if(_0x1153ce)_0x3666b2=_0x1153ce;else{const _0x2838ce=this[_0x29a3c0(0xa3)][_0x29a3c0(0xa1)]();_0x3666b2=_0x2838ce==null?void 0x0:_0x2838ce[_0x29a3c0(0x83)]();}if(!_0x3666b2)return _0x19a2de[_0x29a3c0(0xc0)]['NOT_COLLAB'];const _0x5d7a36=this[_0x29a3c0(0x96)][_0x29a3c0(0x8a)](_0x3666b2);return(_0x16470b=_0x5d7a36==null?void 0x0:_0x5d7a36[_0x29a3c0(0xc8)][_0x29a3c0(0x81)])!=null?_0x16470b:_0x19a2de[_0x29a3c0(0xc0)][_0x29a3c0(0xac)];}},_0xcc8aed['FCollaboration']=_0x4210d3([_0x160ec(0x1,_0x3bd131[_0x4cb981(0xca)](_0x3bd131[_0x4cb981(0x85)])),_0x160ec(0x2,_0x3bd131['IUniverInstanceService']),_0x160ec(0x3,_0x3bd131[_0x4cb981(0xca)](_0x10d1d8[_0x4cb981(0xbe)])),_0x160ec(0x4,_0x3bd131[_0x4cb981(0xca)](_0x19a2de[_0x4cb981(0xb1)]))],_0xcc8aed[_0x4cb981(0xae)]);class _0x47fcb1 extends _0x49f43c[_0x4cb981(0xa2)]{[_0x4cb981(0xbb)](_0x278747){const _0x41da62=_0x4cb981,_0x12cacd=_0x278747['get'](_0x19a2de[_0x41da62(0xb1)]);this[_0x41da62(0xbc)](this['registerEventHandler'](this[_0x41da62(0xb9)][_0x41da62(0xbf)],()=>{const _0x3b61dd=_0x41da62,_0x697335=new _0x3bd131[(_0x3b61dd(0xc4))](),_0x568023=_0x12cacd[_0x3b61dd(0x8c)][_0x3b61dd(0x91)](_0x5a25eb=>{const _0x5a963d=_0x3b61dd,_0x1fa561=_0x5a25eb['status$'][_0x5a963d(0x91)](_0x102c32=>{const _0x4236b4=_0x5a963d;this[_0x4236b4(0xb7)](this['Event']['CollaborationStatusChanged'],{'unitId':_0x5a25eb[_0x4236b4(0xa6)],'status':_0x102c32});});_0x697335[_0x5a963d(0xb6)](_0x3bd131[_0x5a963d(0xb4)](_0x1fa561));});return _0x697335[_0x3b61dd(0xb6)](_0x3bd131[_0x3b61dd(0xb4)](_0x568023)),_0x697335;}));}['getCollaboration'](){const _0x21df9e=_0x4cb981;return this['_injector']['createInstance'](_0xcc8aed[_0x21df9e(0xae)],{'getUniverSheet':_0xaf7694=>this[_0x21df9e(0xba)](_0xaf7694)});}[_0x4cb981(0x9b)](_0x38072b,_0x56e6ea,_0x950e6a){const _0x5cc1a8=_0x4cb981;return this[_0x5cc1a8(0x94)][_0x5cc1a8(0xc1)](_0x19a2de['DataLoaderService'])['loadUnit'](_0x38072b,_0x56e6ea,_0x950e6a);}['loadServerUnitOfRevision'](_0x4be8d1,_0x2fb4a7,_0x458000){const _0xe4b603=_0x4cb981;return this[_0xe4b603(0x94)][_0xe4b603(0xc1)](_0x19a2de['DataLoaderService'])[_0xe4b603(0x86)](_0x4be8d1,_0x2fb4a7,_0x458000);}}_0x49f43c[_0x4cb981(0xa2)]['extend'](_0x47fcb1),Object[_0x4cb981(0xa9)](_0xcc8aed,Symbol[_0x4cb981(0x84)],{'value':_0x4cb981(0xc7)});}));function _0x82a1(){const _0x124982=['loadActiveSheet','20Sdyvkb','_handler','status','loadActiveSheetAsync','getUnitId','toStringTag','Injector','loadUnitOfRevision','FEnum','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','getCollabEntity','waitForRoom$','entityInit$','subscribeCollaborators','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','amd','subscribe','3981635NzVFPP','6868435BoWwtk','_injector','62984lsaIuT','_collaborationController','31069OJpnfH','3722928pvGINT','object','getOwnPropertyDescriptor','loadServerUnit','function','rxjs','UniverCoreFacade','3374984bzymkM','loadSheetAsync','getFocusedUnit','FUniver','_univerInstanceService','UniverProCollaboration','MemberService','unitID','loadSheet','extend','defineProperty','3TVyBGS','getCollaborationStatus','NOT_COLLAB','1490137RgMydA','FCollaboration','length','members$','CollaborationController','UniverProCollaborationClientFacade','FBase','toDisposable','9iJBmca','add','fireEvent','from','Event','getUniverSheet','_initialize','disposeWithMe','readyForCollab','SnapshotService','CollaborationStatusChanged','CollaborationStatus','get','52PgXQUp','@univerjs/core','DisposableCollection','switchMap','exports','Module','state','UniverCore','Inject'];_0x82a1=function(){return _0x124982;};return _0x82a1();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x38fc(_0x24ac91,_0x4e1543){_0x24ac91=_0x24ac91-0x14b;const _0x1f06fa=_0x1f06();let _0x38fc79=_0x1f06fa[_0x24ac91];return _0x38fc79;}(function(_0x202602,_0x42cce8){const _0xd2f45a=_0x38fc,_0x5a5ec4=_0x202602();while(!![]){try{const _0x3e587e=-parseInt(_0xd2f45a(0x265))/0x1*(parseInt(_0xd2f45a(0x2bc))/0x2)+-parseInt(_0xd2f45a(0x278))/0x3+parseInt(_0xd2f45a(0x371))/0x4+parseInt(_0xd2f45a(0x220))/0x5*(-parseInt(_0xd2f45a(0x19b))/0x6)+parseInt(_0xd2f45a(0x3ce))/0x7*(-parseInt(_0xd2f45a(0x255))/0x8)+parseInt(_0xd2f45a(0x187))/0x9+parseInt(_0xd2f45a(0x20c))/0xa;if(_0x3e587e===_0x42cce8)break;else _0x5a5ec4['push'](_0x5a5ec4['shift']());}catch(_0x3b32a1){_0x5a5ec4['push'](_0x5a5ec4['shift']());}}}(_0x1f06,0x7aeb0),function(_0x7f0ac2,_0x86f2c){const _0x20b543=_0x38fc;typeof exports=='object'&&typeof module<'u'?_0x86f2c(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=='function'&&define['amd']?define(['exports',_0x20b543(0x322),_0x20b543(0x22d),'@univerjs/core',_0x20b543(0x2ca),_0x20b543(0x3be),'@univerjs/design',_0x20b543(0x298),_0x20b543(0x3c9),_0x20b543(0x329),_0x20b543(0x342),_0x20b543(0x2cf),_0x20b543(0x28b),_0x20b543(0x3f8),'@univerjs-pro/collaboration',_0x20b543(0x30f),'@univerjs/engine-formula',_0x20b543(0x1c7),_0x20b543(0x1d2)],_0x86f2c):(_0x7f0ac2=typeof globalThis<'u'?globalThis:_0x7f0ac2||self,_0x86f2c(_0x7f0ac2['UniverProCollaborationClientUi']={},_0x7f0ac2[_0x20b543(0x3c5)],_0x7f0ac2['UniverProCollaborationClient'],_0x7f0ac2[_0x20b543(0x26b)],_0x7f0ac2[_0x20b543(0x400)],_0x7f0ac2[_0x20b543(0x3be)],_0x7f0ac2[_0x20b543(0x42d)],_0x7f0ac2[_0x20b543(0x3c5)],_0x7f0ac2[_0x20b543(0x23b)],_0x7f0ac2[_0x20b543(0x214)],_0x7f0ac2[_0x20b543(0x2a1)],_0x7f0ac2[_0x20b543(0x27a)],_0x7f0ac2['UniverDocsUi'],_0x7f0ac2[_0x20b543(0x1c4)],_0x7f0ac2[_0x20b543(0x2b6)],_0x7f0ac2[_0x20b543(0x251)],_0x7f0ac2[_0x20b543(0x3a9)],_0x7f0ac2[_0x20b543(0x3be)]['operators'],_0x7f0ac2[_0x20b543(0x3c6)]));}(this,function(_0x2ad16c,_0x37fe28,_0x1ebeaa,_0x49d737,_0x1c307e,_0x13a994,_0x573e9b,_0x2bd372,_0x18a673,_0x3e6b18,_0x3b0527,_0xcfaf25,_0x985634,_0x5c43ab,_0x3ba40b,_0x37e704,_0x1d2500,_0xd2ad0e,_0x1c16c1){'use strict';const _0x415dad=_0x38fc;var _0x2cb5f0=Object['defineProperty'],_0x3d38da=(_0x167abe,_0x9d7a1,_0xa6f5b6)=>_0x9d7a1 in _0x167abe?_0x2cb5f0(_0x167abe,_0x9d7a1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa6f5b6}):_0x167abe[_0x9d7a1]=_0xa6f5b6,_0x45e42d=(_0x190a1a,_0x4801ca,_0x21d50f)=>_0x3d38da(_0x190a1a,typeof _0x4801ca!=_0x415dad(0x244)?_0x4801ca+'':_0x4801ca,_0x21d50f);function _0x3ca071({ref:_0x1b92e8,..._0x30fa5d}){const _0x2bfcb8=_0x415dad,{icon:_0x390012,id:_0x49518a,className:_0x378676,extend:_0x2fd615,..._0x55b195}=_0x30fa5d,_0x3d1aaa=(_0x2bfcb8(0x1ea)+_0x49518a+'\x20'+(_0x378676||''))['trim'](),_0x21b27c=_0x2bd372[_0x2bfcb8(0x387)]('_'+_0x1f1b41());return _0x11c900(_0x390012,''+_0x49518a,{'defIds':_0x390012['defIds'],'idSuffix':_0x21b27c[_0x2bfcb8(0x175)]},{'ref':_0x1b92e8,'className':_0x3d1aaa,..._0x55b195},_0x2fd615);}function _0x11c900(_0x127b41,_0xeedac5,_0x4534f9,_0xe4c0cf,_0x4a5773){const _0x522728=_0x415dad;return _0x2bd372[_0x522728(0x301)](_0x127b41['tag'],{'key':_0xeedac5,..._0x5ed6fa(_0x127b41,_0x4534f9,_0x4a5773),..._0xe4c0cf},(_0x4641ca(_0x127b41,_0x4534f9)[_0x522728(0x259)]||[])['map']((_0x11930b,_0xbe2cff)=>_0x11c900(_0x11930b,_0xeedac5+'-'+_0x127b41['tag']+'-'+_0xbe2cff,_0x4534f9,void 0x0,_0x4a5773)));}function _0x5ed6fa(_0x107426,_0x2ccf10,_0x399863){const _0x3427ff=_0x415dad,_0x110294={..._0x107426[_0x3427ff(0x312)]};_0x399863!=null&&_0x399863[_0x3427ff(0x23e)]&&_0x110294['fill']==='colorChannel1'&&(_0x110294['fill']=_0x399863[_0x3427ff(0x23e)]),_0x107426[_0x3427ff(0x37a)]===_0x3427ff(0x325)&&_0x110294['id']&&(_0x110294['id']=_0x110294['id']+_0x2ccf10[_0x3427ff(0x3a6)]),Object[_0x3427ff(0x419)](_0x110294)[_0x3427ff(0x415)](([_0x147be7,_0x30abba])=>{const _0x31b83b=_0x3427ff;_0x147be7===_0x31b83b(0x325)&&typeof _0x30abba=='string'&&(_0x110294[_0x147be7]=_0x30abba[_0x31b83b(0x2ff)](/url\(#(.*)\)/,_0x31b83b(0x366)+_0x2ccf10[_0x31b83b(0x3a6)]+')'));});const {defIds:_0x9aa14a}=_0x2ccf10;return!_0x9aa14a||_0x9aa14a['length']===0x0||(_0x107426['tag']===_0x3427ff(0x29a)&&_0x110294['xlink:href']&&(_0x110294[_0x3427ff(0x2e9)]=_0x110294[_0x3427ff(0x2e9)]+_0x2ccf10[_0x3427ff(0x3a6)]),Object[_0x3427ff(0x419)](_0x110294)[_0x3427ff(0x415)](([_0x3be8f4,_0x37a31d])=>{const _0x1479e9=_0x3427ff;typeof _0x37a31d==_0x1479e9(0x3e2)&&(_0x110294[_0x3be8f4]=_0x37a31d['replace'](/url\(#(.*)\)/,_0x1479e9(0x366)+_0x2ccf10[_0x1479e9(0x3a6)]+')'));})),_0x110294;}function _0x4641ca(_0x1e44c6,_0x475681){const _0x326091=_0x415dad;var _0x2e81cd;const {defIds:_0x1edbe8}=_0x475681;return!_0x1edbe8||_0x1edbe8['length']===0x0?_0x1e44c6:_0x1e44c6[_0x326091(0x37a)]===_0x326091(0x2b8)&&((_0x2e81cd=_0x1e44c6[_0x326091(0x259)])!=null&&_0x2e81cd['length'])?{..._0x1e44c6,'children':_0x1e44c6[_0x326091(0x259)]['map'](_0x29df5e=>typeof _0x29df5e[_0x326091(0x312)]['id']==_0x326091(0x3e2)&&_0x1edbe8&&_0x1edbe8['includes'](_0x29df5e['attrs']['id'])?{..._0x29df5e,'attrs':{..._0x29df5e[_0x326091(0x312)],'id':_0x29df5e[_0x326091(0x312)]['id']+_0x475681['idSuffix']}}:_0x29df5e)}:_0x1e44c6;}function _0x1f1b41(){const _0x3a0093=_0x415dad;return Math[_0x3a0093(0x273)]()[_0x3a0093(0x37c)](0x24)[_0x3a0093(0x26e)](0x2,0x8);}_0x3ca071['displayName']=_0x415dad(0x247);const _0x10daec={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x415dad(0x277),'viewBox':'0\x200\x2016\x2016','width':_0x415dad(0x26d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x415dad(0x2fb)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':'round','strokeLinejoin':_0x415dad(0x16f),'strokeWidth':1.2}}]},{'tag':_0x415dad(0x2b8),'attrs':{},'children':[{'tag':_0x415dad(0x268),'attrs':{'id':_0x415dad(0x28e)},'children':[{'tag':_0x415dad(0x1ce),'attrs':{'fill':_0x415dad(0x403),'d':_0x415dad(0x35e)}}]}]}],'defIds':[_0x415dad(0x28e)]},_0x1ac94d=_0x2bd372[_0x415dad(0x24d)](function(_0x218223,_0x7e28e0){const _0x3d4ac5=_0x415dad;return _0x2bd372['createElement'](_0x3ca071,Object[_0x3d4ac5(0x381)]({},_0x218223,{'id':_0x3d4ac5(0x324),'ref':_0x7e28e0,'icon':_0x10daec}));});_0x1ac94d[_0x415dad(0x1c9)]=_0x415dad(0x40d);const _0x42b57a={'tag':_0x415dad(0x372),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x415dad(0x277),'viewBox':_0x415dad(0x1ab),'width':'1em','height':_0x415dad(0x26d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x415dad(0x42b),'d':_0x415dad(0x375),'strokeLinecap':'round','strokeLinejoin':_0x415dad(0x16f),'strokeWidth':1.2}}]},{'tag':_0x415dad(0x2b8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x415dad(0x28f)},'children':[{'tag':_0x415dad(0x1ce),'attrs':{'fill':_0x415dad(0x403),'d':_0x415dad(0x35e),'transform':_0x415dad(0x226)}}]}]}],'defIds':[_0x415dad(0x28f)]},_0x38e7f8=_0x2bd372[_0x415dad(0x24d)](function(_0x10663e,_0x250789){const _0x1140d1=_0x415dad;return _0x2bd372[_0x1140d1(0x301)](_0x3ca071,Object[_0x1140d1(0x381)]({},_0x10663e,{'id':'on-line-icon','ref':_0x250789,'icon':_0x42b57a}));});_0x38e7f8['displayName']=_0x415dad(0x242);function _0x458117(_0x13b2c8){const _0x101329=_0x415dad;switch(_0x13b2c8){case _0x1ebeaa['CollaborationStatus'][_0x101329(0x264)]:return _0x101329(0x3a3);case _0x1ebeaa['CollaborationStatus'][_0x101329(0x1a7)]:return _0x101329(0x1fc);case _0x1ebeaa[_0x101329(0x3f7)][_0x101329(0x1f0)]:return _0x101329(0x2d0);case _0x1ebeaa[_0x101329(0x3f7)]['NOT_COLLAB']:return _0x101329(0x1f5);case _0x1ebeaa[_0x101329(0x3f7)][_0x101329(0x1f8)]:case _0x1ebeaa[_0x101329(0x3f7)]['AWAITING_WITH_PENDING']:return _0x101329(0x3d3);case _0x1ebeaa[_0x101329(0x3f7)][_0x101329(0x308)]:case _0x1ebeaa['CollaborationStatus'][_0x101329(0x1c6)]:return _0x101329(0x33d);}}function _0x14dae0(_0x4c0134){const _0x21d0c1=_0x415dad,{status$:_0x371927}=_0x4c0134,_0x169e94=_0x1c307e[_0x21d0c1(0x25c)](_0x371927,_0x1ebeaa['CollaborationStatus'][_0x21d0c1(0x33c)]),_0x51c496=_0x1c307e['useDependency'](_0x49d737[_0x21d0c1(0x177)]),_0x12bae7=_0x1c307e[_0x21d0c1(0x402)](_0x1ebeaa[_0x21d0c1(0x178)]),_0x590e86=_0x169e94!==_0x1ebeaa[_0x21d0c1(0x3f7)][_0x21d0c1(0x264)],_0x2d46fb=_0x51c496['t'](_0x458117(_0x169e94)),_0x1221b3=_0x590e86?_0x37fe28[_0x21d0c1(0x39a)](_0x38e7f8,{}):_0x37fe28[_0x21d0c1(0x39a)](_0x1ac94d,{}),_0x4dbefa=_0x2bd372['useCallback'](()=>{_0x590e86||_0x12bae7['reconnect']();},[_0x590e86,_0x12bae7]);function _0x50b40c(){const _0x90ac3=_0x21d0c1;return _0x37fe28['jsxs'](_0x90ac3(0x1ac),{'className':_0x90ac3(0x391),'onClick':_0x4dbefa,'children':[_0x37fe28['jsx']('div',{'className':_0x573e9b[_0x90ac3(0x2fc)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x590e86,'univer-text-red-500':!_0x590e86}),'children':_0x1221b3}),_0x37fe28[_0x90ac3(0x39a)](_0x90ac3(0x1ac),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2d46fb})]});}return _0x590e86?_0x50b40c():_0x37fe28[_0x21d0c1(0x39a)](_0x573e9b[_0x21d0c1(0x32f)],{'title':_0x51c496['t'](_0x21d0c1(0x1a8)),'children':_0x50b40c()});}var _0x2d45e9=Object[_0x415dad(0x417)],_0x1fa636=(_0x420389,_0x56e910,_0x31bb8c,_0x378942)=>{const _0x482789=_0x415dad;for(var _0x5ea781=_0x378942>0x1?void 0x0:_0x378942?_0x2d45e9(_0x56e910,_0x31bb8c):_0x56e910,_0x31a648=_0x420389[_0x482789(0x3af)]-0x1,_0x45e063;_0x31a648>=0x0;_0x31a648--)(_0x45e063=_0x420389[_0x31a648])&&(_0x5ea781=_0x45e063(_0x5ea781)||_0x5ea781);return _0x5ea781;},_0x50197f=(_0x1452db,_0x72fda6)=>(_0x585886,_0x407cac)=>_0x72fda6(_0x585886,_0x407cac,_0x1452db);_0x2ad16c[_0x415dad(0x16e)]=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0x1348de,_0x451832,_0x519d8b,_0x1831f4){const _0x257927=_0x415dad;super(),_0x45e42d(this,_0x257927(0x1fb),new _0x13a994[(_0x257927(0x209))](_0x1ebeaa[_0x257927(0x3f7)][_0x257927(0x33c)])),(this[_0x257927(0x365)]=_0x1348de,this[_0x257927(0x388)]=_0x451832,this[_0x257927(0x294)]=_0x519d8b,this['_uiPartsService']=_0x1831f4,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x415dad(0x182)](){const _0x1fbe85=_0x415dad;this[_0x1fbe85(0x25d)](this[_0x1fbe85(0x365)][_0x1fbe85(0x3f0)][_0x1fbe85(0x37e)](_0x13a994[_0x1fbe85(0x170)](()=>{const _0x415f66=_0x1fbe85,_0x1120c1=this['_univerInstanceService'][_0x415f66(0x285)]();return _0x1120c1?this['_collaborationController'][_0x415f66(0x286)](_0x1120c1[_0x415f66(0x3c2)]()):_0x13a994['of'](null);}),_0x13a994['switchMap'](_0x9b2f4f=>_0x9b2f4f?_0x9b2f4f['status$']:_0x13a994['of'](_0x1ebeaa[_0x1fbe85(0x3f7)][_0x1fbe85(0x33c)])))[_0x1fbe85(0x360)](_0x46a802=>{const _0x346271=_0x1fbe85;this[_0x346271(0x1fb)]['next'](_0x46a802);}));}[_0x415dad(0x3fa)](){const _0x520fb4=_0x415dad;this[_0x520fb4(0x25d)](this[_0x520fb4(0x421)]['registerComponent'](_0x1c307e[_0x520fb4(0x2d9)][_0x520fb4(0x3df)],()=>_0x1c307e[_0x520fb4(0x29d)](_0x5bc6aa({'status$':this[_0x520fb4(0x1fb)][_0x520fb4(0x3e9)]()}),this['_injector'])));}},_0x2ad16c['DesktopCollaborationStatusDisplayController']=_0x1fa636([_0x50197f(0x0,_0x49d737[_0x415dad(0x3e4)]),_0x50197f(0x1,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0x50197f(0x2,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x1c0)])),_0x50197f(0x3,_0x1c307e['IUIPartsService'])],_0x2ad16c[_0x415dad(0x16e)]);function _0x5bc6aa(_0x5c1475){const {status$:_0x1c3212}=_0x5c1475;return function(){const _0x1214a3=_0x38fc;return _0x37fe28[_0x1214a3(0x39a)](_0x14dae0,{'status$':_0x1c3212});};}const _0x37350b=_0x49d737[_0x415dad(0x418)](_0x415dad(0x39d));var _0x1c8515=Object[_0x415dad(0x417)],_0x2d2694=(_0x124526,_0x2c0cb5,_0x1f2c32,_0x21b0bc)=>{const _0x18e7f4=_0x415dad;for(var _0x43c5d7=_0x21b0bc>0x1?void 0x0:_0x21b0bc?_0x1c8515(_0x2c0cb5,_0x1f2c32):_0x2c0cb5,_0x2a0aa8=_0x124526[_0x18e7f4(0x3af)]-0x1,_0x2b3051;_0x2a0aa8>=0x0;_0x2a0aa8--)(_0x2b3051=_0x124526[_0x2a0aa8])&&(_0x43c5d7=_0x2b3051(_0x43c5d7)||_0x43c5d7);return _0x43c5d7;},_0x865037=(_0x46dd67,_0x32cabf)=>(_0x4dfacd,_0x437310)=>_0x32cabf(_0x4dfacd,_0x437310,_0x46dd67);_0x2ad16c[_0x415dad(0x326)]=class extends _0x49d737['RxDisposable']{constructor(_0xa33810,_0x19e04c,_0x28eabd,_0x468009,_0x352035){const _0x470e25=_0x415dad;super(),this['_urlService']=_0xa33810,this[_0x470e25(0x2a0)]=_0x19e04c,this[_0x470e25(0x383)]=_0x28eabd,this['_dataLoaderService']=_0x468009,_0x352035?_0x352035==null||_0x352035[_0x470e25(0x1ae)]()['then'](()=>this[_0x470e25(0x27e)]()):(this[_0x470e25(0x2a0)][_0x470e25(0x14f)](_0x470e25(0x1aa),_0x470e25(0x1b5)),this[_0x470e25(0x27e)]());}async[_0x415dad(0x27e)](){const _0x13adec=_0x415dad,_0x1e9269=this[_0x13adec(0x3db)][_0x13adec(0x1cb)](_0x13adec(0x168)),_0x59ac78=this[_0x13adec(0x3db)]['getParam'](_0x13adec(0x3b2)),_0x1bb741=this[_0x13adec(0x3db)][_0x13adec(0x1cb)]('subunit');if(!_0x1e9269||!_0x59ac78){this['_logService'][_0x13adec(0x14f)](_0x13adec(0x1aa),_0x13adec(0x30c));return;}const _0x4ecf3e=await this[_0x13adec(0x39b)]['loadUnit'](_0x1e9269,Number(_0x59ac78),_0x1bb741);_0x4ecf3e&&_0x4ecf3e instanceof _0x49d737[_0x13adec(0x272)]&&this[_0x13adec(0x28a)](_0x4ecf3e);}async[_0x415dad(0x28a)](_0x1909a4){const _0x4bb223=_0x415dad;await this[_0x4bb223(0x16b)](_0x1909a4),_0x1909a4[_0x4bb223(0x3f5)]['pipe'](_0x13a994[_0x4bb223(0x2c6)](this[_0x4bb223(0x1b1)]))[_0x4bb223(0x360)](_0x4dad2d=>{_0x4dad2d&&this['_updateURLWithCurrentState'](_0x4dad2d);}),this['_urlService']['urlChange$'][_0x4bb223(0x37e)](_0x13a994[_0x4bb223(0x2c6)](this[_0x4bb223(0x1b1)]))[_0x4bb223(0x360)](()=>this['_updateSubUnitFromURLParams'](_0x1909a4));}[_0x415dad(0x290)](_0x44cab4,_0x193c9f=!0x1){const _0xa7626c=_0x415dad,_0x4a218a=this[_0xa7626c(0x3db)]['getParam'](_0xa7626c(0x36d));_0x44cab4[_0xa7626c(0x3bf)]()!==_0x4a218a&&this[_0xa7626c(0x3db)]['setParam'](_0xa7626c(0x36d),_0x44cab4[_0xa7626c(0x3bf)](),_0x193c9f);}async[_0x415dad(0x16b)](_0x3d2d52){const _0x9a4eb4=_0x415dad;var _0x48cedd;const _0x73ed49=this[_0x9a4eb4(0x3db)][_0x9a4eb4(0x1cb)](_0x9a4eb4(0x36d));if(!_0x73ed49||!_0x3d2d52[_0x9a4eb4(0x2dd)](_0x73ed49)){const _0x639fd9=_0x3d2d52['getUnhiddenWorksheets']()[0x0],_0x473d11=_0x3d2d52[_0x9a4eb4(0x2dd)](_0x639fd9);if(!_0x473d11)return;this[_0x9a4eb4(0x290)](_0x473d11,!0x0),await this[_0x9a4eb4(0x383)][_0x9a4eb4(0x27d)](_0x3e6b18[_0x9a4eb4(0x2a7)]['id'],{'unitId':_0x3d2d52[_0x9a4eb4(0x3c2)](),'subUnitId':_0x639fd9});return;}((_0x48cedd=_0x3d2d52[_0x9a4eb4(0x194)]())==null?void 0x0:_0x48cedd[_0x9a4eb4(0x3bf)]())!==_0x73ed49&&await this['_commandService'][_0x9a4eb4(0x27d)](_0x3e6b18[_0x9a4eb4(0x2a7)]['id'],{'unitId':_0x3d2d52[_0x9a4eb4(0x3c2)](),'subUnitId':_0x73ed49});}},_0x2ad16c['CollaborationDataLoaderController']=_0x2d2694([_0x865037(0x0,_0x37350b),_0x865037(0x1,_0x49d737[_0x415dad(0x3a5)]),_0x865037(0x2,_0x49d737[_0x415dad(0x16c)]),_0x865037(0x3,_0x49d737['Inject'](_0x1ebeaa[_0x415dad(0x2b4)])),_0x865037(0x4,_0x49d737[_0x415dad(0x2cb)](_0x18a673[_0x415dad(0x384)]))],_0x2ad16c[_0x415dad(0x326)]);var _0x56fc15=Object[_0x415dad(0x417)],_0x4a33f2=(_0x39a95d,_0x4a8757,_0x31c24f,_0x3b1e99)=>{const _0x267590=_0x415dad;for(var _0x4d2e44=_0x3b1e99>0x1?void 0x0:_0x3b1e99?_0x56fc15(_0x4a8757,_0x31c24f):_0x4a8757,_0x4cbffa=_0x39a95d[_0x267590(0x3af)]-0x1,_0xb28654;_0x4cbffa>=0x0;_0x4cbffa--)(_0xb28654=_0x39a95d[_0x4cbffa])&&(_0x4d2e44=_0xb28654(_0x4d2e44)||_0x4d2e44);return _0x4d2e44;},_0x2d95c3=(_0xabab11,_0x1c7f14)=>(_0x527031,_0x2dffc1)=>_0x1c7f14(_0x527031,_0x2dffc1,_0xabab11);let _0x232dcb=class extends _0x49d737['RxDisposable']{constructor(_0x3f145f,_0x1b1feb){const _0x1644ef=_0x415dad;super(),this[_0x1644ef(0x173)]=_0x3f145f,this[_0x1644ef(0x1c8)]=_0x1b1feb,this['_init']();}[_0x415dad(0x27e)](){const _0x14af45=_0x415dad,_0x5a371b=this;this[_0x14af45(0x25d)](this[_0x14af45(0x173)][_0x14af45(0x393)]({'onBeforePasteImage':async _0x5a4fc0=>{const _0x7c5263=_0x14af45,_0x4a4bd8=await _0x5a371b[_0x7c5263(0x1c8)][_0x7c5263(0x3b9)](_0x5a4fc0);return _0x4a4bd8?{'source':_0x4a4bd8[_0x7c5263(0x3ca)],'imageSourceType':_0x4a4bd8[_0x7c5263(0x241)]}:null;}}));}};_0x232dcb=_0x4a33f2([_0x2d95c3(0x0,_0x985634['IDocClipboardService']),_0x2d95c3(0x1,_0x5c43ab[_0x415dad(0x2e8)])],_0x232dcb);const _0x2e3043=[_0x415dad(0x229),'jiqing.500',_0x415dad(0x1e0),'red.300',_0x415dad(0x395),_0x415dad(0x1f3)];class _0x9c3829 extends _0x49d737[_0x415dad(0x1bc)]{constructor(){const _0x4b7b80=_0x415dad;super(...arguments),_0x45e42d(this,_0x4b7b80(0x1bd),new Map()),_0x45e42d(this,_0x4b7b80(0x304),0x0);}['assignAColorForMemberID'](_0x572e0f){const _0x258ea6=_0x415dad;if(this[_0x258ea6(0x1bd)][_0x258ea6(0x2c3)](_0x572e0f))return this[_0x258ea6(0x1bd)][_0x258ea6(0x356)](_0x572e0f);const _0x344d8d=_0x2e3043[this['_colorIndex']];return this['_colorIndex']=(this[_0x258ea6(0x304)]+0x1)%_0x2e3043['length'],this[_0x258ea6(0x1bd)][_0x258ea6(0x18b)](_0x572e0f,_0x344d8d),_0x344d8d;}}function _0x1dd9ad(_0xe0e9f1){const _0x564881=_0x415dad;let _0xd15992='';for(const _0x15594d of _0xe0e9f1){const {startOffset:_0x113c1c,endOffset:_0x14840b,isActive:_0x5767f1,rangeType:_0x1901d7,segmentId:_0x4c073f,segmentPage:_0x5ae56b}=_0x15594d;_0xd15992[_0x564881(0x3af)]&&(_0xd15992+=','),_0xd15992+=_0x113c1c+':'+_0x14840b+':'+(_0x5767f1?'1':'0')+':'+_0x1901d7+':'+_0x4c073f+':'+_0x5ae56b;}return _0xd15992;}function _0x4ff80d(_0x4c4433){const _0x3a1e9c=_0x415dad,_0x4df83a=_0x4c4433['split'](','),_0x2ba215=[];for(const _0x56122d of _0x4df83a){const [_0x1d3ac6,_0x3103c7,_0x515b36,_0x30ab96,_0xceded2,_0xde15d3]=_0x56122d['split'](':');_0x2ba215[_0x3a1e9c(0x2c1)]({'startOffset':Number(_0x1d3ac6),'endOffset':Number(_0x3103c7),'collapsed':_0x1d3ac6===_0x3103c7,'isActive':_0x515b36==='1','rangeType':_0x30ab96===_0x49d737[_0x3a1e9c(0x401)][_0x3a1e9c(0x269)]?_0x49d737['DOC_RANGE_TYPE'][_0x3a1e9c(0x269)]:_0x49d737['DOC_RANGE_TYPE'][_0x3a1e9c(0x2db)],'segmentId':typeof _0xceded2==_0x3a1e9c(0x3e2)?String(_0xceded2):'','segmentPage':Number(_0xde15d3!=null?_0xde15d3:-0x1)});}return _0x2ba215[_0x3a1e9c(0x217)](_0x36a516=>_0x36a516[_0x3a1e9c(0x279)])||(_0x2ba215[0x0][_0x3a1e9c(0x279)]=!0x0),_0x2ba215;}class _0x159f52 extends _0x49d737[_0x415dad(0x352)]{constructor(){const _0x2a3f54=_0x415dad;super(...arguments),_0x45e42d(this,_0x2a3f54(0x1f9),new _0x13a994[(_0x2a3f54(0x209))](null)),_0x45e42d(this,_0x2a3f54(0x15b),this[_0x2a3f54(0x1f9)]['asObservable']());}[_0x415dad(0x311)](_0xa99544){const _0x6a4f8f=_0x415dad,{unitID:_0x58b2f7,memberID:_0x35ad0f,textRanges:_0x2faa0f}=_0xa99544,_0xcb78f4=_0x1dd9ad(_0x2faa0f);if(_0xcb78f4==='')return;const _0x34fd28={'unitID':_0x58b2f7,'memberID':_0x35ad0f,'selection':_0xcb78f4};this[_0x6a4f8f(0x1f9)]['next'](_0x34fd28);}}var _0x4ea2b5=Object[_0x415dad(0x417)],_0x5d6e7a=(_0x17b7cb,_0x3d9c18,_0x528b4f,_0x5826c1)=>{const _0x35b1d9=_0x415dad;for(var _0x178ee7=_0x5826c1>0x1?void 0x0:_0x5826c1?_0x4ea2b5(_0x3d9c18,_0x528b4f):_0x3d9c18,_0x16b808=_0x17b7cb[_0x35b1d9(0x3af)]-0x1,_0x595b8b;_0x16b808>=0x0;_0x16b808--)(_0x595b8b=_0x17b7cb[_0x16b808])&&(_0x178ee7=_0x595b8b(_0x178ee7)||_0x178ee7);return _0x178ee7;},_0xd696ea=(_0x32ff7a,_0x56333a)=>(_0x2b2ef5,_0xadd70d)=>_0x56333a(_0x2b2ef5,_0xadd70d,_0x32ff7a);const _0x170429=0x12c,_0x174e4f=0x64;let _0x16df5e=class extends _0x49d737['RxDisposable']{constructor(_0x525832,_0x1f7607,_0x5cc4c0,_0x2cc094,_0x505f53,_0x260fdd,_0x1af9c6,_0x1c3f59,_0x39c5c2){const _0x707c02=_0x415dad;super(),_0x45e42d(this,_0x707c02(0x32c),!0x1),_0x45e42d(this,_0x707c02(0x27e),!0x1),_0x45e42d(this,_0x707c02(0x3d7),new _0x13a994[(_0x707c02(0x209))](new Map())),_0x45e42d(this,_0x707c02(0x394),this[_0x707c02(0x3d7)][_0x707c02(0x3e9)]()),_0x45e42d(this,_0x707c02(0x42c),new _0x13a994[(_0x707c02(0x209))]([])),_0x45e42d(this,'roomMembers$',this['_roomMembers$'][_0x707c02(0x37e)](_0x13a994[_0x707c02(0x1a3)](_0x170429))),_0x45e42d(this,_0x707c02(0x1de),_0x49d737[_0x707c02(0x3b8)](_0x468af5=>{const _0x3ae965=_0x707c02,_0x24351f={'eventID':_0x3ba40b[_0x3ae965(0x29e)][_0x3ae965(0x3fd)],'data':{'unitID':this[_0x3ae965(0x1d5)],'memberID':this['_session'][_0x3ae965(0x41f)](),'selection':_0x1dd9ad(_0x468af5)}};this[_0x3ae965(0x2a4)][_0x3ae965(0x3ed)](_0x24351f,this[_0x3ae965(0x1d5)]);},_0x174e4f)),(this[_0x707c02(0x1d5)]=_0x525832,this[_0x707c02(0x2a4)]=_0x1f7607,this[_0x707c02(0x388)]=_0x5cc4c0,this['_colorAssignService']=_0x2cc094,this[_0x707c02(0x2dc)]=_0x505f53,this[_0x707c02(0x1cf)]=_0x260fdd,this[_0x707c02(0x374)]=_0x1af9c6,this[_0x707c02(0x365)]=_0x1c3f59,this[_0x707c02(0x383)]=_0x39c5c2);}get[_0x415dad(0x27f)](){const _0x390e1b=_0x415dad;return this[_0x390e1b(0x3d7)][_0x390e1b(0x31a)]();}get['roomMembers'](){const _0x2efa99=_0x415dad;return this[_0x2efa99(0x42c)][_0x2efa99(0x31a)]();}['dispose'](){const _0x293ad3=_0x415dad;super[_0x293ad3(0x1bb)](),this['_cursorInfo$'][_0x293ad3(0x31b)](new Map()),this[_0x293ad3(0x3d7)][_0x293ad3(0x327)](),this[_0x293ad3(0x42c)]['next']([]),this[_0x293ad3(0x42c)][_0x293ad3(0x327)]();}[_0x415dad(0x1c2)](){const _0x2f9c6e=_0x415dad;this[_0x2f9c6e(0x27e)]||(this[_0x2f9c6e(0x27e)]=!0x0,this['_session']['sessionStatus$'][_0x2f9c6e(0x37e)](_0x13a994['takeUntil'](this[_0x2f9c6e(0x1b1)]))['subscribe'](_0x376254=>{const _0x39e054=_0x2f9c6e;_0x376254===_0x1ebeaa[_0x39e054(0x427)]['ONLINE']?this[_0x39e054(0x207)]():this[_0x39e054(0x2ab)]();}),this['_session'][_0x2f9c6e(0x2b2)][_0x2f9c6e(0x37e)](_0x13a994['takeUntil'](this[_0x2f9c6e(0x1b1)]))['subscribe'](_0xcbb643=>{const _0x85b959=_0x2f9c6e,_0x4d4b86=_0xcbb643[_0x85b959(0x334)];_0x4d4b86===_0x3ba40b[_0x85b959(0x29e)][_0x85b959(0x3fd)]&&this[_0x85b959(0x293)](_0xcbb643),_0x4d4b86===_0x3ba40b['CollaborationEvent'][_0x85b959(0x37f)]&&this[_0x85b959(0x2ef)](_0xcbb643);}),this[_0x2f9c6e(0x25d)](this[_0x2f9c6e(0x383)][_0x2f9c6e(0x2d2)](_0x55dd75=>{const _0x4fb296=_0x2f9c6e,_0x383bf9=_0x55dd75['params'];_0x383bf9!=null&&this['_online']&&_0x55dd75['id']===_0x37e704[_0x4fb296(0x3ba)]['id']&&_0x383bf9[_0x4fb296(0x20a)]===this['unitID']&&_0x383bf9['isEditing']===!0x1&&_0x383bf9['ranges']['length']>0x0&&this[_0x4fb296(0x1de)](_0x383bf9[_0x4fb296(0x20b)]);})),this[_0x2f9c6e(0x1cf)][_0x2f9c6e(0x15b)][_0x2f9c6e(0x37e)](_0x13a994[_0x2f9c6e(0x2c6)](this[_0x2f9c6e(0x1b1)]))[_0x2f9c6e(0x360)](_0x3c74eb=>{const _0x5309b8=_0x2f9c6e;if((_0x3c74eb==null?void 0x0:_0x3c74eb['unitID'])!==this[_0x5309b8(0x1d5)])return;const _0x501330={'eventID':_0x3ba40b[_0x5309b8(0x29e)][_0x5309b8(0x3fd)],'data':_0x3c74eb};this[_0x5309b8(0x293)](_0x501330);}),this[_0x2f9c6e(0x25d)](this[_0x2f9c6e(0x383)]['onCommandExecuted'](_0x49f702=>{const _0x55c23a=_0x2f9c6e;if(_0x49f702[_0x55c23a(0x3fe)]==null)return;const _0x166ba4=_0x49f702['params'];if(_0x49f702['id']!==_0x37e704[_0x55c23a(0x233)]['id']||_0x166ba4[_0x55c23a(0x20a)]!==this['unitID'])return;const _0x3972c8={'id':'doc.mutation.rich-text-editing','params':_0x166ba4},_0x1ab680=this[_0x55c23a(0x27f)];for(const [_0x6b5d03,_0x33b9b6]of _0x1ab680){const _0xbcdf51={'id':_0x55c23a(0x2c2),'params':{'unitId':this[_0x55c23a(0x1d5)],'actions':null,'textRanges':_0x33b9b6[_0x55c23a(0x20b)]}},_0x51d090=this[_0x55c23a(0x374)]['transformMutation'](_0x3972c8,_0xbcdf51,!0x1);if(_0x3ba40b[_0x55c23a(0x184)](_0x51d090))throw _0x51d090[_0x55c23a(0x291)];_0x1ab680[_0x55c23a(0x18b)](_0x6b5d03,{..._0x33b9b6,'ranges':_0x51d090[_0x55c23a(0x237)][_0x55c23a(0x3fe)][_0x55c23a(0x40a)]});}queueMicrotask(()=>{const _0x1aeb2c=_0x55c23a;this[_0x1aeb2c(0x3d7)][_0x1aeb2c(0x31b)](_0x1ab680);});})));}[_0x415dad(0x293)](_0x55bbff){const _0x5b06ca=_0x415dad;var _0xd4156e,_0x334401;const {memberID:_0x1bd5fc,selection:_0xf42f1c}=_0x55bbff['data'],_0x5cd138=_0x4ff80d(_0xf42f1c),_0x2e440c=(_0x334401=(_0xd4156e=this[_0x5b06ca(0x2dc)][_0x5b06ca(0x34c)](this[_0x5b06ca(0x1d5)],_0x1bd5fc))==null?void 0x0:_0xd4156e[_0x5b06ca(0x18f)])!=null?_0x334401:_0x5b06ca(0x353),_0x2d30de={'color':this['_colorAssignService'][_0x5b06ca(0x299)](_0x1bd5fc),'name':_0x2e440c,'ranges':_0x5cd138},_0x504dd4=this[_0x5b06ca(0x27f)];_0x504dd4['set'](_0x1bd5fc,_0x2d30de),this[_0x5b06ca(0x3d7)][_0x5b06ca(0x31b)](_0x504dd4);}['_onCursorDelete'](_0x268b9d){const _0x49ac4b=_0x415dad,{memberID:_0x232fb5}=_0x268b9d[_0x49ac4b(0x236)],_0x14a0bf=this[_0x49ac4b(0x27f)];_0x14a0bf[_0x49ac4b(0x227)](_0x232fb5),this['_cursorInfo$'][_0x49ac4b(0x31b)](_0x14a0bf);}['_toggleOnline'](){const _0x140773=_0x415dad;var _0x4719b7;if(this[_0x140773(0x32c)]=!0x0,((_0x4719b7=this[_0x140773(0x365)][_0x140773(0x285)]())==null?void 0x0:_0x4719b7[_0x140773(0x3c2)]())!==this['unitID'])return;const _0x5d4a3b=this['_injector'][_0x140773(0x356)](_0x37e704[_0x140773(0x22c)])[_0x140773(0x234)]();Array[_0x140773(0x253)](_0x5d4a3b)&&_0x5d4a3b[_0x140773(0x3af)]>0x0&&this[_0x140773(0x1de)](_0x5d4a3b);}[_0x415dad(0x2ab)](){const _0x5339d5=_0x415dad;this[_0x5339d5(0x32c)]=!0x1;}};_0x16df5e=_0x5d6e7a([_0xd696ea(0x2,_0x49d737['Inject'](_0x49d737['Injector'])),_0xd696ea(0x3,_0x49d737[_0x415dad(0x3b7)](_0x9c3829)),_0xd696ea(0x4,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x271)])),_0xd696ea(0x5,_0x49d737['Inject'](_0x159f52)),_0xd696ea(0x6,_0x3ba40b[_0x415dad(0x424)]),_0xd696ea(0x7,_0x49d737['IUniverInstanceService']),_0xd696ea(0x8,_0x49d737[_0x415dad(0x16c)])],_0x16df5e);var _0x2decc5=Object[_0x415dad(0x417)],_0x4b8e14=(_0x5c30fe,_0x12a8a0,_0x5828d7,_0x4d581c)=>{const _0x465d6e=_0x415dad;for(var _0x4ea0a2=_0x4d581c>0x1?void 0x0:_0x4d581c?_0x2decc5(_0x12a8a0,_0x5828d7):_0x12a8a0,_0x4f3cd7=_0x5c30fe[_0x465d6e(0x3af)]-0x1,_0x312028;_0x4f3cd7>=0x0;_0x4f3cd7--)(_0x312028=_0x5c30fe[_0x4f3cd7])&&(_0x4ea0a2=_0x312028(_0x4ea0a2)||_0x4ea0a2);return _0x4ea0a2;},_0x429ed0=(_0x48cd79,_0x342bf8)=>(_0x2f0757,_0x268ed9)=>_0x342bf8(_0x2f0757,_0x268ed9,_0x48cd79);const _0x59bfbf=0x12c,_0x16ab37=0x64,_0x73ed4c=()=>{let _0x1c4839=[],_0x32fc20=!0x1;return _0x246ec8=>{const _0x15331b=_0x38fc;_0x1c4839[_0x15331b(0x2c1)](_0x246ec8),_0x32fc20||(_0x32fc20=!0x0,setTimeout(()=>{const _0x4fedda=_0x15331b;_0x1c4839[_0x4fedda(0x415)](_0x79afa7=>_0x79afa7()),_0x1c4839=[],_0x32fc20=!0x1;}));};};let _0x222f7c=class extends _0x49d737[_0x415dad(0x352)]{constructor(_0x3536f3,_0x38de5b,_0x29cb32,_0x6b3d,_0x29b25c,_0x4ddf91,_0x435428,_0x27d0b2){const _0x16465c=_0x415dad;super(),_0x45e42d(this,_0x16465c(0x32c),!0x1),_0x45e42d(this,_0x16465c(0x27e),!0x1),_0x45e42d(this,_0x16465c(0x3d7),new _0x13a994[(_0x16465c(0x209))](new Map())),_0x45e42d(this,'cursorInfo$',this[_0x16465c(0x3d7)]['asObservable']()),_0x45e42d(this,_0x16465c(0x42c),new _0x13a994[(_0x16465c(0x209))]([])),_0x45e42d(this,_0x16465c(0x196),this[_0x16465c(0x42c)]['pipe'](_0x13a994['debounceTime'](_0x59bfbf))),_0x45e42d(this,'_updateLocalCursor',_0x49d737[_0x16465c(0x3b8)]((_0x47a01e,_0x395ec3)=>{const _0x22cfea=_0x16465c,_0x41ca5={'eventID':_0x3ba40b[_0x22cfea(0x29e)][_0x22cfea(0x3fd)],'data':{'unitID':this[_0x22cfea(0x1d5)],'memberID':this['_session']['getMemberID'](),'selection':_0x1d2500[_0x22cfea(0x198)](_0x47a01e,_0x395ec3[_0x22cfea(0x41b)])}};this[_0x22cfea(0x2a4)][_0x22cfea(0x3ed)](_0x41ca5,this['unitID']);},_0x16ab37)),(this['unitID']=_0x3536f3,this[_0x16465c(0x2a4)]=_0x38de5b,this[_0x16465c(0x388)]=_0x29cb32,this[_0x16465c(0x2f0)]=_0x6b3d,this['_memberService']=_0x29b25c,this[_0x16465c(0x365)]=_0x4ddf91,this[_0x16465c(0x383)]=_0x435428,this['_refRangeService']=_0x27d0b2);}get[_0x415dad(0x27f)](){const _0x49ea53=_0x415dad;return this[_0x49ea53(0x3d7)][_0x49ea53(0x31a)]();}get[_0x415dad(0x20f)](){const _0x4ed735=_0x415dad;return this['_roomMembers$'][_0x4ed735(0x31a)]();}[_0x415dad(0x1bb)](){const _0x1eeedc=_0x415dad;super[_0x1eeedc(0x1bb)](),this[_0x1eeedc(0x3d7)][_0x1eeedc(0x31b)](new Map()),this[_0x1eeedc(0x3d7)]['complete'](),this['_roomMembers$'][_0x1eeedc(0x31b)]([]),this[_0x1eeedc(0x42c)][_0x1eeedc(0x327)]();}[_0x415dad(0x1c2)](){const _0xca8a07=_0x415dad;this[_0xca8a07(0x27e)]||(this[_0xca8a07(0x27e)]=!0x0,this[_0xca8a07(0x2a4)]['sessionStatus$'][_0xca8a07(0x37e)](_0x13a994[_0xca8a07(0x2c6)](this[_0xca8a07(0x1b1)]))[_0xca8a07(0x360)](_0x5ccced=>{const _0x31a9ed=_0xca8a07;_0x5ccced===_0x1ebeaa['SessionStatus'][_0x31a9ed(0x370)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xca8a07(0x2a4)][_0xca8a07(0x2b2)][_0xca8a07(0x37e)](_0x13a994[_0xca8a07(0x2c6)](this['dispose$']))['subscribe'](_0x2f5cfd=>{const _0x446080=_0xca8a07,_0x5996d9=_0x2f5cfd[_0x446080(0x334)];_0x5996d9===_0x3ba40b[_0x446080(0x29e)]['UPDATE_CURSOR']&&this[_0x446080(0x293)](_0x2f5cfd),_0x5996d9===_0x3ba40b[_0x446080(0x29e)][_0x446080(0x37f)]&&this['_onCursorDelete'](_0x2f5cfd);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0xca8a07(0x383)]['onCommandExecuted'](_0x34b287=>{const _0xe22065=_0xca8a07;if(this[_0xe22065(0x32c)]&&_0x34b287['id']===_0x3e6b18[_0xe22065(0x37b)]['id']&&_0x34b287[_0xe22065(0x3fe)][_0xe22065(0x20a)]===this[_0xe22065(0x1d5)]){const _0x75549=_0x34b287['params'];this[_0xe22065(0x1de)](_0x75549['subUnitId'],_0x75549[_0xe22065(0x1b0)][0x0]);}})));}[_0x415dad(0x293)](_0x55f338){const _0x57d2f1=_0x415dad;var _0x23501f,_0x58bf3d;const {memberID:_0x46f423,selection:_0x39fe02}=_0x55f338[_0x57d2f1(0x236)],{sheetName:_0x10f189,range:_0x94df16}=_0x1d2500[_0x57d2f1(0x413)](_0x39fe02),_0x4a8bee={'name':(_0x58bf3d=(_0x23501f=this['_memberService']['getMember'](this[_0x57d2f1(0x1d5)],_0x46f423))==null?void 0x0:_0x23501f['name'])!=null?_0x58bf3d:'Unknown\x20user','range':this[_0x57d2f1(0x39c)](_0x10f189,_0x94df16),'sheetID':_0x10f189,'color':this[_0x57d2f1(0x2f0)][_0x57d2f1(0x299)](_0x46f423),'selection':_0x39fe02},_0x1c7ef1=this[_0x57d2f1(0x27f)];_0x1c7ef1['set'](_0x46f423,_0x4a8bee),this[_0x57d2f1(0x3d7)]['next'](_0x1c7ef1);}[_0x415dad(0x2ef)](_0x28bfd8){const _0x1ba717=_0x415dad,{memberID:_0x4cd7ae}=_0x28bfd8[_0x1ba717(0x236)],_0x5c7e1f=this[_0x1ba717(0x27f)];_0x5c7e1f['delete'](_0x4cd7ae),this[_0x1ba717(0x3d7)][_0x1ba717(0x31b)](_0x5c7e1f);}['_getMergeRange'](_0x2e450e,_0x35654c){const _0x54cd0d=_0x415dad;var _0x581f0f,_0x43f29d;const _0x58e063=(_0x43f29d=(_0x581f0f=this[_0x54cd0d(0x365)][_0x54cd0d(0x162)](this[_0x54cd0d(0x1d5)]))==null?void 0x0:_0x581f0f[_0x54cd0d(0x2dd)](_0x2e450e))==null?void 0x0:_0x43f29d[_0x54cd0d(0x172)]();return(_0x58e063==null?void 0x0:_0x58e063['find'](_0x9acfe0=>_0x49d737[_0x54cd0d(0x361)]['contains'](_0x9acfe0,_0x35654c)))||_0x35654c;}['_onRefRangeChange'](){const _0x7127bf=_0x415dad,_0x2ff92d=new _0x49d737[(_0x7127bf(0x283))](),_0x2d5fef=_0x73ed4c(),_0x580168=()=>{const _0x3fd031=_0x7127bf;_0x2ff92d['dispose']();const _0x14dd92=(_0x3e2260,_0x2f1db3,_0x335801,_0x801e0d)=>{const _0x5925f1=_0x38fc;let _0x33e825=[];switch(_0x3e2260['id']){case _0x3e6b18[_0x5925f1(0x17d)][_0x5925f1(0x36e)]:{_0x33e825=_0x3e6b18[_0x5925f1(0x192)](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)]['DeleteRangeMoveUpCommandId']:{_0x33e825=_0x3e6b18[_0x5925f1(0x163)](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)]['InsertColCommandId']:{_0x33e825=_0x3e6b18['handleInsertCol'](_0x3e2260,_0x801e0d);break;}case _0x3e6b18['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x33e825=_0x3e6b18['handleInsertRangeMoveDown'](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)][_0x5925f1(0x1bf)]:{_0x33e825=_0x3e6b18[_0x5925f1(0x2d7)](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)]['InsertRowCommandId']:{_0x33e825=_0x3e6b18[_0x5925f1(0x38f)](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)]['MoveRangeCommandId']:{_0x33e825=_0x3e6b18['handleMoveRange'](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)][_0x5925f1(0x24e)]:{_0x33e825=_0x3e6b18['handleIRemoveCol'](_0x3e2260,_0x801e0d);break;}case _0x3e6b18['EffectRefRangId']['RemoveRowCommandId']:{_0x33e825=_0x3e6b18[_0x5925f1(0x2ea)](_0x3e2260,_0x801e0d);break;}}const _0x21f95f=_0x3e6b18[_0x5925f1(0x200)](_0x33e825,_0x801e0d),_0x1e6c70=this[_0x5925f1(0x27f)][_0x5925f1(0x356)](_0x2f1db3);if(_0x1e6c70&&_0x21f95f){const _0x439e44={..._0x1e6c70,'range':_0x21f95f};this['cursorInfo'][_0x5925f1(0x18b)](_0x2f1db3,_0x439e44),_0x2d5fef(()=>{const _0x3e87cc=_0x5925f1,_0x16482f=this['_refRangeService'][_0x3e87cc(0x25b)](_0x21f95f,_0x51094b=>(_0x16482f[_0x3e87cc(0x1bb)](),_0x14dd92(_0x51094b,_0x2f1db3,_0x335801,_0x21f95f)));_0x2ff92d[_0x3e87cc(0x248)](_0x16482f);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3fd031(0x415)]((_0x4d4eec,_0x27055c)=>{const _0x5db4dc=_0x3fd031,{range:_0x578c24,sheetID:_0x1c0d1b}=_0x4d4eec,_0x2620fc=this[_0x5db4dc(0x40e)]['registerRefRange'](_0x578c24,_0x3e2554=>(_0x2620fc['dispose'](),_0x14dd92(_0x3e2554,_0x27055c,_0x1c0d1b,_0x578c24)));_0x2ff92d[_0x5db4dc(0x248)](_0x2620fc);});};this[_0x7127bf(0x25d)](_0x49d737['toDisposable'](this[_0x7127bf(0x3d7)][_0x7127bf(0x360)](()=>{_0x580168();})));}['_toggleOnline'](){const _0x488889=_0x415dad;var _0x2d8568,_0x2377e9;if(this[_0x488889(0x32c)]=!0x0,((_0x2d8568=this[_0x488889(0x365)]['getFocusedUnit']())==null?void 0x0:_0x2d8568['getUnitId']())!==this['unitID'])return;const _0x3794a6=(_0x2377e9=this['_injector']['get'](_0x3e6b18['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x2377e9[0x0],_0x386e7b=this[_0x488889(0x365)][_0x488889(0x206)](_0x49d737[_0x488889(0x152)][_0x488889(0x369)])[_0x488889(0x194)]();_0x3794a6&&_0x386e7b&&this[_0x488889(0x1de)](_0x386e7b[_0x488889(0x3bf)](),_0x3794a6);}[_0x415dad(0x2ab)](){const _0x2a47ba=_0x415dad;this[_0x2a47ba(0x32c)]=!0x1;}};_0x222f7c=_0x4b8e14([_0x429ed0(0x2,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0x429ed0(0x3,_0x49d737[_0x415dad(0x3b7)](_0x9c3829)),_0x429ed0(0x4,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x271)])),_0x429ed0(0x5,_0x49d737['IUniverInstanceService']),_0x429ed0(0x6,_0x49d737[_0x415dad(0x16c)]),_0x429ed0(0x7,_0x49d737['Inject'](_0x3e6b18[_0x415dad(0x232)]))],_0x222f7c);var _0x26d6ed=Object[_0x415dad(0x417)],_0x27fa9b=(_0x21c93c,_0x535ee5,_0x11e887,_0x17ab5f)=>{const _0x1e3980=_0x415dad;for(var _0x428f46=_0x17ab5f>0x1?void 0x0:_0x17ab5f?_0x26d6ed(_0x535ee5,_0x11e887):_0x535ee5,_0x1d2a7c=_0x21c93c[_0x1e3980(0x3af)]-0x1,_0x515dac;_0x1d2a7c>=0x0;_0x1d2a7c--)(_0x515dac=_0x21c93c[_0x1d2a7c])&&(_0x428f46=_0x515dac(_0x428f46)||_0x428f46);return _0x428f46;},_0x53e373=(_0x818271,_0x514025)=>(_0x40701a,_0x3dc0e3)=>_0x514025(_0x40701a,_0x3dc0e3,_0x818271);let _0x3c63d8=class extends _0x49d737[_0x415dad(0x352)]{constructor(_0x4e2494,_0x211ab5,_0x53b774){const _0x15a7ac=_0x415dad;super(),_0x45e42d(this,_0x15a7ac(0x319),new Map()),_0x45e42d(this,_0x15a7ac(0x183),new _0x13a994[(_0x15a7ac(0x35c))]()),(this[_0x15a7ac(0x365)]=_0x4e2494,this[_0x15a7ac(0x388)]=_0x211ab5,this[_0x15a7ac(0x3aa)]=_0x53b774,this[_0x15a7ac(0x27e)]());}[_0x415dad(0x1bb)](){const _0x4b59fb=_0x415dad;super[_0x4b59fb(0x1bb)](),this[_0x4b59fb(0x183)][_0x4b59fb(0x327)](),this[_0x4b59fb(0x319)][_0x4b59fb(0x415)](_0x493ae0=>_0x493ae0[_0x4b59fb(0x1bb)]());}[_0x415dad(0x300)](_0x9f5107){const _0x39098d=_0x415dad;return this[_0x39098d(0x319)][_0x39098d(0x2c3)](_0x9f5107)?this[_0x39098d(0x319)][_0x39098d(0x356)](_0x9f5107)[_0x39098d(0x394)]:this['_entityInit$'][_0x39098d(0x37e)](_0x13a994[_0x39098d(0x2f7)](_0xe6e16d=>_0xe6e16d['unitID']===_0x9f5107),_0x13a994[_0x39098d(0x170)](_0x49d2b9=>_0x49d2b9[_0x39098d(0x394)]));}[_0x415dad(0x27e)](){const _0x2c8ee6=_0x415dad;this[_0x2c8ee6(0x365)][_0x2c8ee6(0x30e)](_0x49d737['UniverInstanceType']['UNIVER_SHEET'])[_0x2c8ee6(0x37e)](_0x13a994[_0x2c8ee6(0x2c6)](this['dispose$']))[_0x2c8ee6(0x360)](async _0xdde9a8=>{const _0x39fff4=_0x2c8ee6,_0x22b295=_0xdde9a8[_0x39fff4(0x3c2)](),_0x38fa22=await this[_0x39fff4(0x3d8)](_0x22b295);this['_entityInit$'][_0x39fff4(0x31b)](_0x38fa22),this[_0x39fff4(0x319)][_0x39fff4(0x18b)](_0x22b295,_0x38fa22);}),this[_0x2c8ee6(0x365)][_0x2c8ee6(0x30e)](_0x49d737[_0x2c8ee6(0x152)]['UNIVER_DOC'])[_0x2c8ee6(0x37e)](_0x13a994[_0x2c8ee6(0x2c6)](this[_0x2c8ee6(0x1b1)]))[_0x2c8ee6(0x37e)](_0x13a994[_0x2c8ee6(0x2f7)](_0x1ba9d=>!_0x1ba9d[_0x2c8ee6(0x3c2)]()[_0x2c8ee6(0x429)]('__')))[_0x2c8ee6(0x360)](async _0x1f7a4d=>{const _0x15eb7c=_0x2c8ee6,_0x526d31=_0x1f7a4d[_0x15eb7c(0x3c2)](),_0x13c417=await this['_startDocCollabCursor'](_0x526d31);this['_entityInit$'][_0x15eb7c(0x31b)](_0x13c417),this['_entities'][_0x15eb7c(0x18b)](_0x526d31,_0x13c417);}),_0x13a994[_0x2c8ee6(0x31e)](this['_univerInstanceService'][_0x2c8ee6(0x2de)](_0x49d737[_0x2c8ee6(0x152)][_0x2c8ee6(0x303)]),this[_0x2c8ee6(0x365)][_0x2c8ee6(0x2de)](_0x49d737[_0x2c8ee6(0x152)][_0x2c8ee6(0x369)]))[_0x2c8ee6(0x37e)](_0x13a994['takeUntil'](this[_0x2c8ee6(0x1b1)]))[_0x2c8ee6(0x360)](_0x204e45=>{const _0x4d1514=_0x2c8ee6,_0x214208=_0x204e45[_0x4d1514(0x3c2)](),_0x14ef77=this[_0x4d1514(0x319)][_0x4d1514(0x356)](_0x214208);_0x14ef77&&(_0x14ef77[_0x4d1514(0x1bb)](),this[_0x4d1514(0x319)]['delete'](_0x214208));});}async[_0x415dad(0x3d8)](_0x52a4a6){const _0x1677c5=_0x415dad,_0x338e22=await this[_0x1677c5(0x3aa)][_0x1677c5(0x317)](_0x52a4a6),_0x49e737=this[_0x1677c5(0x388)][_0x1677c5(0x2a3)](_0x222f7c,_0x52a4a6,_0x338e22);return _0x49e737[_0x1677c5(0x1c2)](),_0x49e737;}async[_0x415dad(0x1e1)](_0x3a2b8f){const _0x50243a=_0x415dad,_0x10683b=await this[_0x50243a(0x3aa)][_0x50243a(0x317)](_0x3a2b8f),_0x54e799=this['_injector'][_0x50243a(0x2a3)](_0x16df5e,_0x3a2b8f,_0x10683b);return _0x54e799[_0x50243a(0x1c2)](),_0x54e799;}};_0x3c63d8=_0x27fa9b([_0x53e373(0x0,_0x49d737['IUniverInstanceService']),_0x53e373(0x1,_0x49d737['Inject'](_0x49d737[_0x415dad(0x161)])),_0x53e373(0x2,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x178)]))],_0x3c63d8);const _0x3793cc=0x14,_0x3fbf8f=0xc8,_0x345e48=0x4,_0x346948=0x5;function _0x2429bb(_0x549ed8,_0x20767f){const _0x5a4208=_0x415dad;let {radius:_0x335831,width:_0x314d05,height:_0x5125d0}=_0x20767f;_0x335831=_0x335831!=null?_0x335831:0x0,_0x314d05=_0x314d05!=null?_0x314d05:0x1e,_0x5125d0=_0x5125d0!=null?_0x5125d0:0x1e;let _0x54c762=0x0,_0xac03f0=0x0,_0x167897=0x0;_0x54c762=_0xac03f0=_0x167897=Math[_0x5a4208(0x406)](_0x335831,_0x314d05/0x2,_0x5125d0/0x2),_0x549ed8['beginPath'](),_0x549ed8[_0x5a4208(0x263)](_0x54c762,0x0),_0x549ed8[_0x5a4208(0x219)](_0x314d05-_0xac03f0,0x0),_0x549ed8[_0x5a4208(0x210)](_0x314d05-_0xac03f0,_0xac03f0,_0xac03f0,Math['PI']*0x3/0x2,0x0,!0x1),_0x549ed8[_0x5a4208(0x219)](_0x314d05,_0x5125d0-_0x167897),_0x549ed8[_0x5a4208(0x210)](_0x314d05-_0x167897,_0x5125d0-_0x167897,_0x167897,0x0,Math['PI']/0x2,!0x1),_0x549ed8['lineTo'](0x0,_0x5125d0),_0x549ed8['lineTo'](0x0,_0x54c762),_0x549ed8[_0x5a4208(0x210)](_0x54c762,_0x54c762,_0x54c762,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x549ed8['closePath'](),_0x20767f[_0x5a4208(0x426)]&&(_0x549ed8[_0x5a4208(0x2ec)](),_0x549ed8[_0x5a4208(0x1dd)]=_0x20767f['fill'],_0x20767f[_0x5a4208(0x3f4)]===_0x5a4208(0x407)?_0x549ed8[_0x5a4208(0x426)]('evenodd'):_0x549ed8[_0x5a4208(0x426)](),_0x549ed8[_0x5a4208(0x1d0)]());}class _0x3aa1dc extends _0x3b0527['Shape']{constructor(_0x1167fe,_0xa40210){const _0x2f11a0=_0x415dad;super(_0x1167fe,_0xa40210),_0x45e42d(this,_0x2f11a0(0x408)),_0x45e42d(this,'text'),(this[_0x2f11a0(0x408)]=_0xa40210==null?void 0x0:_0xa40210[_0x2f11a0(0x408)],this[_0x2f11a0(0x1e6)]=_0xa40210==null?void 0x0:_0xa40210[_0x2f11a0(0x1e6)]);}static['drawWith'](_0x4c4e8f,_0x1ba6fb){const _0x1991d4=_0x415dad,{text:_0x35df12,color:_0x38f019}=_0x1ba6fb;_0x4c4e8f[_0x1991d4(0x2ec)](),_0x4c4e8f[_0x1991d4(0x390)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4894d6=_0x4c4e8f[_0x1991d4(0x3ee)](_0x35df12)[_0x1991d4(0x377)],_0x5667d0=Math[_0x1991d4(0x406)](_0x4894d6+0x2*_0x345e48,_0x3fbf8f);_0x2429bb(_0x4c4e8f,{'height':_0x3793cc,'radius':0x4,'width':_0x5667d0,'fill':_0x38f019}),_0x4c4e8f[_0x1991d4(0x1dd)]=_0x1991d4(0x243);const _0x526c9e=_0x345e48,_0x424e1d=_0x3793cc-_0x346948,_0x31ce9c=_0x3fbf8f-0x2*_0x345e48;if(_0x4894d6>_0x31ce9c){let _0x1d2450='',_0x2c9092=0x0;for(const _0x9647f1 of _0x35df12){const _0x2edaaa=_0x4c4e8f[_0x1991d4(0x3ee)](_0x9647f1)[_0x1991d4(0x377)];if(_0x2c9092+_0x2edaaa<=_0x31ce9c-_0x4c4e8f[_0x1991d4(0x3ee)](_0x1991d4(0x423))['width'])_0x1d2450+=_0x9647f1,_0x2c9092+=_0x2edaaa;else{_0x1d2450+='...';break;}}_0x4c4e8f[_0x1991d4(0x39f)](_0x1d2450,_0x526c9e,_0x424e1d);}else _0x4c4e8f['fillText'](_0x35df12,_0x526c9e,_0x424e1d);_0x4c4e8f[_0x1991d4(0x1d0)]();}[_0x415dad(0x1d8)](_0x5eb9c8){const _0x2da408=_0x415dad;_0x3aa1dc[_0x2da408(0x15e)](_0x5eb9c8,this);}}const _0x50a0c4=_0x415dad(0x190),_0x52981e=_0x415dad(0x202),_0x2a3994='collab-rect-range-',_0x5b2a7f=0x6,_0x3cb660=1.5,_0xcb979f=0x4,_0x2773cb=1.5,_0x20b13b=_0x415dad(0x2d5);class _0x2c76e4{constructor(_0x2e55a7,_0x25e90e,_0x4f1a5c,_0xd8c629){const _0x506966=_0x415dad;_0x45e42d(this,_0x506966(0x35b),[]),_0x45e42d(this,'_anchor',null),_0x45e42d(this,_0x506966(0x355),null),_0x45e42d(this,'_anchorDot',null),_0x45e42d(this,_0x506966(0x359),null),_0x45e42d(this,_0x506966(0x218),null),(this[_0x506966(0x307)]=_0x2e55a7,this['_scene']=_0x25e90e,this[_0x506966(0x2df)]=_0x4f1a5c,this[_0x506966(0x1df)]=_0xd8c629,this[_0x506966(0x40c)]());}set['_hover'](_0x12f46b){const _0x217446=_0x415dad;_0x12f46b?(this[_0x217446(0x2a2)]&&this['_anchorDot'][_0x217446(0x36c)](),this[_0x217446(0x355)]&&this[_0x217446(0x355)][_0x217446(0x23d)]()):(this[_0x217446(0x2a2)]&&this[_0x217446(0x2a2)]['show'](),this[_0x217446(0x355)]&&this['_textBubble'][_0x217446(0x36c)]());}[_0x415dad(0x1bb)](){const _0x8b2fb6=_0x415dad;for(const _0x13fe5c of this[_0x8b2fb6(0x35b)])_0x13fe5c[_0x8b2fb6(0x1bb)]();this[_0x8b2fb6(0x355)]&&this[_0x8b2fb6(0x355)][_0x8b2fb6(0x1bb)](),this[_0x8b2fb6(0x2a2)]&&this[_0x8b2fb6(0x2a2)][_0x8b2fb6(0x1bb)](),this['_anchor']&&this['_anchor'][_0x8b2fb6(0x1bb)](),this[_0x8b2fb6(0x218)]&&this[_0x8b2fb6(0x218)]();}[_0x415dad(0x40c)](){const _0x19ba11=_0x415dad;var _0x3ab8c5;const {_docSkeleton:_0x37f5b2,_document:_0xd41f2b}=this,{color:_0x4ca6a5,name:_0x53a193,ranges:_0x36c743}=this[_0x19ba11(0x307)],_0x2015a8=_0xd41f2b[_0x19ba11(0x1f4)](),{docsLeft:_0x5f15af,docsTop:_0x39a603}=_0x2015a8,_0x193128=new _0x985634['NodePositionConvertToCursor'](_0x2015a8,_0x37f5b2);for(const {startOffset:_0x5234f7,endOffset:_0x3a21a6,rangeType:_0x1ba978,segmentId:_0x26415d,segmentPage:_0x2dbee4,collapsed:_0x36d3fb,isActive:_0x245c45}of _0x36c743){const _0x291b56=_0x37f5b2[_0x19ba11(0x3a0)](_0x5234f7,!0x0,_0x26415d,_0x2dbee4);let _0x1faae6=_0x37f5b2[_0x19ba11(0x3a0)](_0x3a21a6,!0x0,_0x26415d,_0x2dbee4);if(_0x1faae6==null&&(_0x1faae6=_0x37f5b2[_0x19ba11(0x3a0)](_0x3a21a6-0x1,!0x1,_0x26415d,_0x2dbee4)),_0x245c45){const {contentBoxPointGroup:_0x25f7b5}=_0x193128['getRangePointData'](_0x1faae6,_0x1faae6);if(_0x25f7b5[_0x19ba11(0x3af)]===0x0)continue;this[_0x19ba11(0x2f1)](_0x4ca6a5,_0x25f7b5,_0x5f15af,_0x39a603,_0x53a193),this[_0x19ba11(0x218)]=this[_0x19ba11(0x18d)]();}if(_0x291b56&&_0x1faae6){if(_0x1ba978===_0x49d737[_0x19ba11(0x401)]['RECT']){const _0x55aafc=new _0x985634[(_0x19ba11(0x3dc))](_0x2015a8,_0x37f5b2),{pointGroup:_0x14479d}=(_0x3ab8c5=_0x55aafc[_0x19ba11(0x31f)](_0x291b56,_0x1faae6))!=null?_0x3ab8c5:{};if(_0x14479d==null||_0x14479d[_0x19ba11(0x3af)]===0x0)continue;this[_0x19ba11(0x2da)](_0x4ca6a5,_0x14479d,_0x5f15af,_0x39a603);}else{if(!_0x36d3fb){const {borderBoxPointGroup:_0x22812a}=_0x193128[_0x19ba11(0x31f)](_0x291b56,_0x1faae6);if(_0x22812a[_0x19ba11(0x3af)]===0x0)continue;this['_drawTextRange'](_0x4ca6a5,_0x22812a,_0x5f15af,_0x39a603);}}}}}['_drawAnchor'](_0xcf075e,_0x121fd2,_0x17e090,_0x403414,_0x3871b2){const _0xb04ed5=_0x415dad,_0x50b880=this[_0xb04ed5(0x221)](_0x121fd2),{left:_0x5c2fbc,top:_0x1b3e8e,height:_0x17906b}=_0x50b880,_0x2ab670=this[_0xb04ed5(0x15d)](),_0x53abc3=_0x2773cb/_0x2ab670,_0x1b9a3d=new _0x3b0527[(_0xb04ed5(0x1a6))](_0x50a0c4+_0x49d737[_0xb04ed5(0x230)](_0x5b2a7f),{'left':_0x5c2fbc+_0x17e090-_0x53abc3,'top':_0x1b3e8e+_0x403414,'height':_0x17906b,'width':_0x3cb660,'fill':_0xcf075e||_0x3b0527['getColor'](_0x49d737[_0xb04ed5(0x282)]['black'],0x0),'strokeWidth':_0x53abc3,'stroke':_0x20b13b,'evented':!0x0});this[_0xb04ed5(0x411)]=_0x1b9a3d,this[_0xb04ed5(0x203)][_0xb04ed5(0x3cd)](_0x1b9a3d,_0x985634[_0xb04ed5(0x2ce)]);const _0x55837b=new _0x3b0527[(_0xb04ed5(0x1a6))](_0x50a0c4+_0x49d737['generateRandomId'](_0x5b2a7f),{'left':_0x5c2fbc+_0x17e090-_0x53abc3,'top':_0x1b3e8e+_0x403414-_0xcb979f/0x2,'height':_0xcb979f,'width':_0xcb979f,'fill':_0xcf075e||_0x3b0527[_0xb04ed5(0x288)](_0x49d737[_0xb04ed5(0x282)]['black'],0x0),'strokeWidth':0x0,'stroke':_0xcf075e||_0x3b0527[_0xb04ed5(0x288)](_0x49d737[_0xb04ed5(0x282)][_0xb04ed5(0x25a)],0x0),'evented':!0x1});this[_0xb04ed5(0x2a2)]=_0x55837b,this['_scene'][_0xb04ed5(0x3cd)](_0x55837b,_0x985634['TEXT_RANGE_LAYER_INDEX']);const _0x2dccba=new _0x3aa1dc(_0x50a0c4+_0x49d737[_0xb04ed5(0x230)](_0x5b2a7f),{'left':_0x5c2fbc+_0x17e090-_0x53abc3,'top':_0x1b3e8e+_0x403414-_0x3793cc,'text':_0x3871b2,'color':_0xcf075e});this['_textBubble']=_0x2dccba,this[_0xb04ed5(0x203)][_0xb04ed5(0x3cd)](_0x2dccba,_0x985634[_0xb04ed5(0x2ce)]),this[_0xb04ed5(0x3cf)]=!0x1;}[_0x415dad(0x18d)](){const _0x1ec5aa=_0x415dad,_0x6944b7=this['_anchor'][_0x1ec5aa(0x222)][_0x1ec5aa(0x1a1)](()=>{const _0x1f9f81=_0x1ec5aa;this[_0x1f9f81(0x3cf)]=!0x0;}),_0x24a850=this['_anchor'][_0x1ec5aa(0x1e5)][_0x1ec5aa(0x1a1)](()=>{const _0x5d10fc=_0x1ec5aa;this[_0x5d10fc(0x359)]&&clearTimeout(this['_hideTimer']),this[_0x5d10fc(0x359)]=setTimeout(()=>{const _0xbb0765=_0x5d10fc;this[_0xbb0765(0x3cf)]=!0x1;},0x7d0);});return()=>{const _0x4d54f3=_0x1ec5aa;_0x6944b7[_0x4d54f3(0x1d1)](),_0x24a850[_0x4d54f3(0x1d1)]();};}[_0x415dad(0x17e)](_0x4adbb9,_0x230d29,_0x33a34a,_0x1a5e14){const _0x5294d3=_0x415dad,_0x586ac6=new _0x49d737['ColorKit'](_0x4adbb9)[_0x5294d3(0x3e7)](0.2)[_0x5294d3(0x39e)](),_0x248002=new _0x3b0527[(_0x5294d3(0x22e))](_0x52981e+_0x49d737[_0x5294d3(0x230)](_0x5b2a7f),{'pointsGroup':_0x230d29,'fill':_0x586ac6||_0x3b0527[_0x5294d3(0x288)](_0x49d737[_0x5294d3(0x282)]['black'],0.2),'left':_0x33a34a,'top':_0x1a5e14,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5294d3(0x2c1)](_0x248002),this[_0x5294d3(0x203)][_0x5294d3(0x3cd)](_0x248002,_0x985634[_0x5294d3(0x2ce)]);}['_drawRectRange'](_0x1ad8ef,_0x1edeec,_0xc97d93,_0x38d44e){const _0xf9d1d4=_0x415dad,_0x71ef86=new _0x49d737[(_0xf9d1d4(0x3de))](_0x1ad8ef)[_0xf9d1d4(0x3e7)](0.2)[_0xf9d1d4(0x39e)](),_0x40c2c7=new _0x3b0527[(_0xf9d1d4(0x22e))](_0x2a3994+_0x49d737[_0xf9d1d4(0x230)](_0x5b2a7f),{'pointsGroup':_0x1edeec,'fill':_0x71ef86||_0x3b0527[_0xf9d1d4(0x288)](_0x49d737['COLORS'][_0xf9d1d4(0x25a)],0.2),'left':_0xc97d93,'top':_0x38d44e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf9d1d4(0x35b)]['push'](_0x40c2c7),this['_scene']['addObject'](_0x40c2c7,_0x985634['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x57b269){const _0x20183c=_0x57b269[0x0],_0x40f775=_0x20183c[0x0],_0x4d2a01=_0x20183c[0x2],{x:_0x195a5a,y:_0x21ce0e}=_0x40f775,{x:_0x100c1c,y:_0x14ae2a}=_0x4d2a01;return{'left':_0x195a5a,'top':_0x21ce0e,'width':_0x100c1c-_0x195a5a,'height':_0x14ae2a-_0x21ce0e};}[_0x415dad(0x15d)](){const _0x222269=_0x415dad,{scaleX:_0x49b81d,scaleY:_0x2d63b7}=this['_scene'][_0x222269(0x1a0)]();return Math['max'](_0x49b81d,_0x2d63b7);}}var _0x3e3ae9=Object[_0x415dad(0x417)],_0x55052e=(_0x2783ea,_0x5caef5,_0x2c5921,_0x3593e7)=>{const _0x41ec5b=_0x415dad;for(var _0xcb0c9a=_0x3593e7>0x1?void 0x0:_0x3593e7?_0x3e3ae9(_0x5caef5,_0x2c5921):_0x5caef5,_0x4c4a90=_0x2783ea[_0x41ec5b(0x3af)]-0x1,_0x57e5cf;_0x4c4a90>=0x0;_0x4c4a90--)(_0x57e5cf=_0x2783ea[_0x4c4a90])&&(_0xcb0c9a=_0x57e5cf(_0xcb0c9a)||_0xcb0c9a);return _0xcb0c9a;},_0x3da162=(_0x523390,_0x23c3a7)=>(_0x1538b7,_0x4627e8)=>_0x23c3a7(_0x1538b7,_0x4627e8,_0x523390);let _0x24d610=class extends _0x49d737['RxDisposable']{constructor(_0x15bcca,_0x446a3d,_0xf033e4,_0x4de2eb,_0x576366){const _0x430bd3=_0x415dad;super(),_0x45e42d(this,_0x430bd3(0x32b),[]),_0x45e42d(this,_0x430bd3(0x33b),[]),(this[_0x430bd3(0x347)]=_0x15bcca,this[_0x430bd3(0x41e)]=_0x446a3d,this[_0x430bd3(0x17c)]=_0xf033e4,this[_0x430bd3(0x383)]=_0x4de2eb,this['_themeService']=_0x576366,this['_init']());}[_0x415dad(0x27e)](){const _0x36fdd2=_0x415dad,_0x1b9184=this[_0x36fdd2(0x347)][_0x36fdd2(0x20a)],_0x154eee=this[_0x36fdd2(0x41e)];this[_0x36fdd2(0x25d)](_0x13a994[_0x36fdd2(0x38c)]([this[_0x36fdd2(0x17c)][_0x36fdd2(0x300)](_0x1b9184),this[_0x36fdd2(0x14b)]['currentTheme$']])['pipe'](_0xd2ad0e['map'](([_0x5ab22b,_0x26ce89])=>({'skeleton':_0x154eee[_0x36fdd2(0x22a)](),'cursors':[..._0x5ab22b[_0x36fdd2(0x2e1)]()][_0x36fdd2(0x3b3)](_0xa5f37a=>({..._0xa5f37a,'color':this[_0x36fdd2(0x14b)][_0x36fdd2(0x3c0)](_0xa5f37a[_0x36fdd2(0x408)])}))})))[_0x36fdd2(0x360)](_0x2100eb=>{const _0x956c43=_0x36fdd2;if(this[_0x956c43(0x2eb)](),_0x2100eb){const {skeleton:_0x23914d,cursors:_0x112ebd}=_0x2100eb;this[_0x956c43(0x21b)](_0x23914d,_0x112ebd);}})),this['_initResize'](),this[_0x36fdd2(0x1ec)]();}['_updateCollabCursors'](_0x2ca8d9,_0x114f13){const _0x3e9bf9=_0x415dad,{scene:_0x114937,mainComponent:_0x1d95bd}=this['_context'],_0x2cd827=_0x114f13['map'](_0x3079e9=>new _0x2c76e4(_0x3079e9,_0x114937,_0x2ca8d9,_0x1d95bd));this['_cursorShapes']=_0x2cd827,this[_0x3e9bf9(0x33b)]=_0x114f13;}['_refreshCollabCursors'](){const _0x27c4c1=_0x415dad;this[_0x27c4c1(0x2eb)]();const {scene:_0x598ea0,mainComponent:_0x1a3f44}=this[_0x27c4c1(0x347)],_0x4c3911=this['_docSkeletonManagerService'][_0x27c4c1(0x22a)](),_0x327dc3=this['_cursors'][_0x27c4c1(0x2cc)](_0x4eb1cf=>new _0x2c76e4(_0x4eb1cf,_0x598ea0,_0x4c3911,_0x1a3f44));this[_0x27c4c1(0x32b)]=_0x327dc3;}[_0x415dad(0x2eb)](){const _0x4e2d78=_0x415dad;this[_0x4e2d78(0x32b)][_0x4e2d78(0x415)](_0x172b31=>_0x172b31[_0x4e2d78(0x1bb)]()),this[_0x4e2d78(0x32b)]=[];}[_0x415dad(0x1ec)](){const _0x1bf01f=_0x415dad,_0x563d32=[_0x985634[_0x1bf01f(0x2d1)]['id']];this[_0x1bf01f(0x25d)](this[_0x1bf01f(0x383)][_0x1bf01f(0x2d2)](_0x5e4d9d=>{const _0x2b436c=_0x1bf01f;_0x563d32[_0x2b436c(0x363)](_0x5e4d9d['id'])&&_0x5e4d9d[_0x2b436c(0x3fe)][_0x2b436c(0x20a)]===this[_0x2b436c(0x347)][_0x2b436c(0x20a)]&&this[_0x2b436c(0x2d3)]();}));}['_initResize'](){const _0x5d432a=_0x415dad;this[_0x5d432a(0x25d)](_0x49d737[_0x5d432a(0x2f8)](this[_0x5d432a(0x347)][_0x5d432a(0x201)]['onTransformChange$'])[_0x5d432a(0x37e)](_0xd2ad0e['filter'](_0x142746=>_0x142746[_0x5d432a(0x3b2)]===_0x3b0527[_0x5d432a(0x164)][_0x5d432a(0x396)]),_0xd2ad0e[_0x5d432a(0x36f)](0x10))[_0x5d432a(0x360)](()=>{const _0x5bfb4c=_0x5d432a;this[_0x5bfb4c(0x2d3)]();}));}};_0x24d610=_0x55052e([_0x3da162(0x1,_0x49d737[_0x415dad(0x3b7)](_0x37e704['DocSkeletonManagerService'])),_0x3da162(0x2,_0x49d737[_0x415dad(0x3b7)](_0x3c63d8)),_0x3da162(0x3,_0x49d737[_0x415dad(0x16c)]),_0x3da162(0x4,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x41d)]))],_0x24d610);const _0x1451fe=0x1,_0x314c6c=1.5;class _0x10a36b extends _0x3b0527[_0x415dad(0x3e8)]{constructor(_0x5ebe74,_0x4ac5e8){const _0x186bb9=_0x415dad;super(_0x5ebe74,_0x4ac5e8),_0x45e42d(this,_0x186bb9(0x306)),_0x45e42d(this,'_hovered',!0x1),_0x45e42d(this,_0x186bb9(0x174)),_0x45e42d(this,_0x186bb9(0x3b5),''),_0x45e42d(this,_0x186bb9(0x14d),'top'),_0x45e42d(this,'_backgroundColor'),(_0x4ac5e8&&this[_0x186bb9(0x3f1)](_0x4ac5e8),this[_0x186bb9(0x222)][_0x186bb9(0x1a1)](()=>this[_0x186bb9(0x3f1)]({'hovered':!0x0})),this[_0x186bb9(0x1e5)][_0x186bb9(0x1a1)](()=>this[_0x186bb9(0x3f1)]({'hovered':!0x1})));}['setShapeProps'](_0x2c326d){const _0x127347=_0x415dad;var _0x2f4d4e,_0x2490a7,_0x13f124,_0x243da6,_0x1a1424,_0x4e2cab;this['_color']=(_0x2f4d4e=_0x2c326d[_0x127347(0x408)])!=null?_0x2f4d4e:this[_0x127347(0x306)],this[_0x127347(0x176)]=(_0x2490a7=_0x2c326d[_0x127347(0x1a5)])!=null?_0x2490a7:this['_hovered'],this[_0x127347(0x174)]=(_0x13f124=_0x2c326d[_0x127347(0x41b)])!=null?_0x13f124:this[_0x127347(0x174)],this[_0x127347(0x3b5)]=(_0x243da6=_0x2c326d['name'])!=null?_0x243da6:this[_0x127347(0x3b5)],this['_labelPosition']=(_0x1a1424=_0x2c326d[_0x127347(0x3b4)])!=null?_0x1a1424:this[_0x127347(0x14d)],this[_0x127347(0x17a)]=(_0x4e2cab=_0x2c326d[_0x127347(0x240)])!=null?_0x4e2cab:this[_0x127347(0x17a)],this[_0x127347(0x3d6)]({'width':_0x2c326d[_0x127347(0x377)],'height':_0x2c326d[_0x127347(0x21c)]});}[_0x415dad(0x19f)](_0x3c929e){const _0x4ddfc2=_0x415dad,{row:_0x2ca988,column:_0x36d280}=_0x3c929e;if(_0x2ca988>=this[_0x4ddfc2(0x174)][_0x4ddfc2(0x3fb)]&&_0x2ca988<=this[_0x4ddfc2(0x174)][_0x4ddfc2(0x2c9)]&&_0x36d280>=this[_0x4ddfc2(0x174)][_0x4ddfc2(0x15c)]&&_0x36d280<=this['_range']['endColumn']){this[_0x4ddfc2(0x3f1)]({'hovered':!0x0});return;}this[_0x4ddfc2(0x3f1)]({'hovered':!0x1});}[_0x415dad(0x2d6)](_0x377c4b){return!0x1;}[_0x415dad(0x1d8)](_0x5743eb){const _0x62c1ae=_0x415dad;_0x3b0527[_0x62c1ae(0x1a6)][_0x62c1ae(0x15e)](_0x5743eb,{'width':this[_0x62c1ae(0x377)],'height':this[_0x62c1ae(0x21c)],'strokeWidth':_0x314c6c,'stroke':this[_0x62c1ae(0x306)],'evented':!0x1,'fill':this[_0x62c1ae(0x17a)]}),this['_hovered']&&(_0x5743eb['save'](),_0x5743eb['transform'](0x1,0x0,0x0,0x1,this[_0x62c1ae(0x377)],this['_labelPosition']==='bottom'?0x0:-_0x3793cc),_0x3aa1dc['drawWith'](_0x5743eb,{'text':this['_name'],'color':this[_0x62c1ae(0x306)]}),_0x5743eb['restore']());}}var _0x25dfed=Object[_0x415dad(0x417)],_0x5e0811=(_0x5eff46,_0x2906db,_0x178baf,_0x3eea45)=>{const _0x5172ac=_0x415dad;for(var _0x28d719=_0x3eea45>0x1?void 0x0:_0x3eea45?_0x25dfed(_0x2906db,_0x178baf):_0x2906db,_0x3602e7=_0x5eff46[_0x5172ac(0x3af)]-0x1,_0x38e0dd;_0x3602e7>=0x0;_0x3602e7--)(_0x38e0dd=_0x5eff46[_0x3602e7])&&(_0x28d719=_0x38e0dd(_0x28d719)||_0x28d719);return _0x28d719;},_0x51271f=(_0x3bcf17,_0x4b8381)=>(_0x3a32ac,_0x10c719)=>_0x4b8381(_0x3a32ac,_0x10c719,_0x3bcf17);const _0x578e69=0x1389;let _0x1ecd79=class extends _0x49d737['RxDisposable']{constructor(_0x40093e,_0x561ab6,_0x13d6fd,_0x1c0c55){const _0x1a3f02=_0x415dad;super(),_0x45e42d(this,_0x1a3f02(0x33b),new Set()),_0x45e42d(this,_0x1a3f02(0x1fa),null),(this[_0x1a3f02(0x347)]=_0x40093e,this[_0x1a3f02(0x1af)]=_0x561ab6,this[_0x1a3f02(0x17c)]=_0x13d6fd,this[_0x1a3f02(0x14b)]=_0x1c0c55,this['_init']());}['_init'](){const _0x3555d0=_0x415dad;this[_0x3555d0(0x1af)][_0x3555d0(0x297)]['pipe'](_0xd2ad0e['takeUntil'](this[_0x3555d0(0x1b1)]),_0xd2ad0e[_0x3555d0(0x170)](_0x5cca05=>{const _0x49cc8d=_0x3555d0;if(_0x5cca05){const _0x3390b6=_0x5cca05[_0x49cc8d(0x238)];return _0x13a994[_0x49cc8d(0x38c)](this[_0x49cc8d(0x17c)]['getCollabCursors$'](this[_0x49cc8d(0x347)]['unitId']),this['_themeService'][_0x49cc8d(0x151)])['pipe'](_0xd2ad0e[_0x49cc8d(0x2cc)](([_0xb6163,_0x5936fa])=>{const _0x5ac533=_0x49cc8d,_0x592c68=new Map();return _0xb6163[_0x5ac533(0x415)]((_0x436eee,_0x18383c)=>{const _0x1f3845=_0x5ac533;if(_0x436eee[_0x1f3845(0x3a4)]===_0x3390b6){const _0xb6c81d={..._0x436eee};_0xb6c81d[_0x1f3845(0x408)]=this[_0x1f3845(0x14b)][_0x1f3845(0x3c0)](_0x436eee[_0x1f3845(0x408)]),_0x592c68['set'](_0x18383c,_0xb6c81d);}}),{'skeleton':_0x5cca05,'cursors':_0x592c68};}));}return _0x13a994['of']({'skeleton':null,'cursors':new Map()});}))[_0x3555d0(0x360)](({skeleton:_0x55cadb,cursors:_0x76faaf})=>{const _0x5b0c8a=_0x3555d0;this[_0x5b0c8a(0x2eb)](),_0x55cadb&&this[_0x5b0c8a(0x21b)](_0x55cadb,_0x76faaf);}),this['_sheetSkeletonManagerService'][_0x3555d0(0x297)][_0x3555d0(0x360)](_0x5be3af=>{const _0x18ba2e=_0x3555d0;if(_0x5be3af==null)return;const {skeleton:_0x218a3f}=_0x5be3af,{scene:_0x225a52}=this[_0x18ba2e(0x347)];_0x225a52[_0x18ba2e(0x185)][_0x18ba2e(0x1a1)](_0x49d737[_0x18ba2e(0x3b8)](_0x29d437=>{const _0x987923=_0x18ba2e;var _0x154f87,_0x334705;const {offsetX:_0x2ba9d4,offsetY:_0x205d6a}=_0x29d437,{x:_0x455c80,y:_0x321ae0}=_0x225a52[_0x987923(0x225)](_0x3b0527[_0x987923(0x386)][_0x987923(0x409)]([_0x2ba9d4,_0x205d6a])),{scaleX:_0x4f81a7,scaleY:_0x56b9d7}=_0x225a52[_0x987923(0x1a0)](),_0x21bcae=_0x225a52[_0x987923(0x169)](_0x3b0527[_0x987923(0x18c)][_0x987923(0x154)]),_0x40dfb6=_0x225a52[_0x987923(0x2f5)](_0x3b0527[_0x987923(0x386)][_0x987923(0x409)]([_0x455c80,_0x321ae0]),_0x21bcae),_0x8133b4=_0x218a3f[_0x987923(0x295)](_0x2ba9d4,_0x205d6a,_0x4f81a7,_0x56b9d7,_0x40dfb6);((_0x154f87=this['_lastPointer'])==null?void 0x0:_0x154f87[_0x987923(0x3bd)])===_0x8133b4['column']&&((_0x334705=this['_lastPointer'])==null?void 0x0:_0x334705[_0x987923(0x343)])===_0x8133b4['row']||this[_0x987923(0x33b)][_0x987923(0x415)](_0x24793f=>{_0x24793f['onMouseMove'](_0x8133b4);});},0x64));});}[_0x415dad(0x21b)](_0x16c71d,_0x12a44d){const _0x389071=_0x415dad;var _0x25bf62;const _0x164bca=(_0x25bf62=this[_0x389071(0x1af)][_0x389071(0x333)]())==null?void 0x0:_0x25bf62[_0x389071(0x16d)];if(!_0x164bca)return;const _0x2ed4a0=this['_getSheetObject']();if(!_0x2ed4a0)return;this[_0x389071(0x33b)][_0x389071(0x415)](_0x561604=>{_0x561604['makeDirty']();});const {scene:_0x58cb6b}=_0x2ed4a0,_0x3d4c2b=_0x5ae85c(Array['from'](_0x12a44d[_0x389071(0x2e1)]()))[_0x389071(0x2cc)](_0x5e5267=>{const _0x37af9b=_0x389071,{color:_0x97b705,range:_0x49a80e,name:_0xa91c8a,selection:_0x411ea6,sheetID:_0x508a24}=_0x5e5267,{startColumn:_0x5751a6,startRow:_0x293473,endColumn:_0x19126a,endRow:_0x543210}=_0x49a80e,_0x1d4077=_0x1c16c1[_0x37af9b(0x254)](_0x293473,_0x5751a6,_0x58cb6b,_0x164bca),_0x562c96=_0x1c16c1[_0x37af9b(0x254)](_0x543210,_0x19126a,_0x58cb6b,_0x164bca),{columnHeaderHeightAndMarginTop:_0x2aa545}=_0x164bca,{startX:_0x43d00f,startY:_0x2ff063}=_0x1d4077,{endX:_0x177ccd,endY:_0x3bc341}=_0x562c96,_0x5b6a1d=_0x177ccd-_0x43d00f,_0xbf7c4b=_0x3bc341-_0x2ff063,_0x13fc95={'labelPosition':_0x2ff063-_0x2aa545>=_0x3793cc?_0x37af9b(0x1a4):'bottom','sheetID':_0x508a24,'range':_0x49a80e,'color':_0x97b705,'name':_0xa91c8a,'selection':_0x411ea6,'left':_0x43d00f,'top':_0x2ff063,'width':_0x5b6a1d,'height':_0xbf7c4b,'evented':!0x1,'zIndex':_0x578e69};return new _0x10a36b(_0xa91c8a,_0x13fc95);});_0x58cb6b[_0x389071(0x309)](_0x3d4c2b,_0x1451fe),this[_0x389071(0x33b)]=new Set(_0x3d4c2b);}[_0x415dad(0x2eb)](){const _0xd6020a=_0x415dad;var _0x2266ca;(_0x2266ca=this[_0xd6020a(0x33b)])==null||_0x2266ca[_0xd6020a(0x415)](_0x7c398d=>_0x7c398d[_0xd6020a(0x1bb)]());}[_0x415dad(0x341)](){const _0x18524c=_0x415dad;return _0x1c16c1[_0x18524c(0x2af)](this[_0x18524c(0x347)]['unit'],this[_0x18524c(0x347)]);}};_0x1ecd79=_0x5e0811([_0x51271f(0x1,_0x49d737[_0x415dad(0x3b7)](_0x1c16c1[_0x415dad(0x18a)])),_0x51271f(0x2,_0x49d737[_0x415dad(0x3b7)](_0x3c63d8)),_0x51271f(0x3,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x41d)]))],_0x1ecd79);function _0x5ae85c(_0x69c784){const _0x36a52f=_0x415dad,_0x19a4ce=new Map();return _0x69c784[_0x36a52f(0x415)](_0x33bbb1=>{const _0x571819=_0x36a52f;if(_0x19a4ce[_0x571819(0x2c3)](_0x33bbb1[_0x571819(0x3f9)])){const _0xc10a11=_0x19a4ce[_0x571819(0x356)](_0x33bbb1[_0x571819(0x3f9)]);_0xc10a11['name']+=',\x20'+_0x33bbb1[_0x571819(0x18f)];}else _0x19a4ce[_0x571819(0x18b)](_0x33bbb1[_0x571819(0x3f9)],_0x33bbb1);}),Array[_0x36a52f(0x235)](_0x19a4ce[_0x36a52f(0x2e1)]());}var _0x591170=Object[_0x415dad(0x417)],_0x496dd6=(_0x595c14,_0x200a8e,_0x578ee7,_0x515e2c)=>{for(var _0x32636e=_0x515e2c>0x1?void 0x0:_0x515e2c?_0x591170(_0x200a8e,_0x578ee7):_0x200a8e,_0x26eb07=_0x595c14['length']-0x1,_0x1a1e83;_0x26eb07>=0x0;_0x26eb07--)(_0x1a1e83=_0x595c14[_0x26eb07])&&(_0x32636e=_0x1a1e83(_0x32636e)||_0x32636e);return _0x32636e;},_0x1d0309=(_0x59e446,_0x29c6b4)=>(_0x5aaa83,_0x203c8d)=>_0x29c6b4(_0x5aaa83,_0x203c8d,_0x59e446);let _0x51d0d6=class extends _0x49d737['Disposable']{constructor(_0xa9d05a,_0xd1d9ff,_0xcc663,_0x2c9062,_0x39e1a4,_0x5306ac){const _0x4fdeec=_0x415dad;super(),this[_0x4fdeec(0x1d9)]=_0xa9d05a,this[_0x4fdeec(0x153)]=_0xd1d9ff,this[_0x4fdeec(0x350)]=_0xcc663,this[_0x4fdeec(0x1a9)]=_0x2c9062,this['_notificationService']=_0x39e1a4,this[_0x4fdeec(0x414)]=_0x5306ac,this[_0x4fdeec(0x1c3)](),this[_0x4fdeec(0x32a)]();}['_setupBeforeClosingHandler'](){const _0x2ec767=_0x415dad;this[_0x2ec767(0x25d)](this[_0x2ec767(0x1d9)]['registerBeforeClose'](()=>{const _0x56d4c9=_0x2ec767;if(this['_localCacheService']['saveTaskMap'][_0x56d4c9(0x332)])return this['_localeService']['t'](_0x56d4c9(0x195));}));}[_0x415dad(0x32a)](){const _0x4c7b89=_0x415dad;this[_0x4c7b89(0x25d)](this[_0x4c7b89(0x350)]['event$']['subscribe'](_0x179cc1=>{const _0x55f358=_0x4c7b89;_0x179cc1['id']===_0x1ebeaa['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x27c)],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x296))}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)][_0x55f358(0x29c)]&&this[_0x55f358(0x1a9)]['show']({'type':_0x573e9b['MessageType']['Warning'],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x31c))}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)]['PERMISSION_DENIED']&&this[_0x55f358(0x2bd)]['show']({'title':this[_0x55f358(0x414)]['t'](_0x55f358(0x261)),'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x2d4)),'type':'error','duration':0x0}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)][_0x55f358(0x1a7)]&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x358)],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x31c))+'('+_0x179cc1[_0x55f358(0x236)]+')'}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)]['JOIN_ROOM_FAILED']&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x27c)],'content':this[_0x55f358(0x414)]['t'](_0x179cc1[_0x55f358(0x236)]||'')}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)][_0x55f358(0x1e2)]&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x27c)],'content':this[_0x55f358(0x414)]['t']('session.will-retry')}),_0x179cc1['id']===_0x1ebeaa['CollaborationUIEventId'][_0x55f358(0x181)]&&this[_0x55f358(0x1a9)]['show']({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x358)],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x3d4))}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)][_0x55f358(0x367)]&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)]['Error'],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x208))});}));}};_0x51d0d6=_0x496dd6([_0x1d0309(0x0,_0x1c307e[_0x415dad(0x364)]),_0x1d0309(0x1,_0x1ebeaa[_0x415dad(0x21d)]),_0x1d0309(0x2,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x2bf)])),_0x1d0309(0x3,_0x1c307e[_0x415dad(0x410)]),_0x1d0309(0x4,_0x1c307e[_0x415dad(0x23c)]),_0x1d0309(0x5,_0x49d737['Inject'](_0x49d737['LocaleService']))],_0x51d0d6);var _0x2743c0=Object[_0x415dad(0x417)],_0x5b5724=(_0x2ce579,_0x9cf49e,_0x2ee95b,_0x538ef7)=>{for(var _0x5a5588=_0x538ef7>0x1?void 0x0:_0x538ef7?_0x2743c0(_0x9cf49e,_0x2ee95b):_0x9cf49e,_0x336083=_0x2ce579['length']-0x1,_0x5bc041;_0x336083>=0x0;_0x336083--)(_0x5bc041=_0x2ce579[_0x336083])&&(_0x5a5588=_0x5bc041(_0x5a5588)||_0x5a5588);return _0x5a5588;},_0xb203c2=(_0x2bb769,_0x398f99)=>(_0x2780b3,_0x2402de)=>_0x398f99(_0x2780b3,_0x2402de,_0x2bb769);let _0x49f423=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0x463488,_0x3f9bda,_0x30e092,_0x1fdd91){const _0x4b781d=_0x415dad;super(),_0x45e42d(this,'_memberID'),(this[_0x4b781d(0x388)]=_0x463488,this[_0x4b781d(0x262)]=_0x3f9bda,this[_0x4b781d(0x2a0)]=_0x30e092,this[_0x4b781d(0x3ae)]=_0x1fdd91,this['_init']());}[_0x415dad(0x27e)](){const _0x3548e3=_0x415dad;this[_0x3548e3(0x179)](),this[_0x3548e3(0x26a)](),this['_monkeyPatchLogService'](),this[_0x3548e3(0x40b)]();}[_0x415dad(0x40b)](){const _0x5b8889=_0x415dad;this['disposeWithMe'](this['_collaborationSessionService'][_0x5b8889(0x315)][_0x5b8889(0x360)](_0xcc7b8=>{const _0xed8157=_0x5b8889;this['_memberID']=_0xcc7b8==null?void 0x0:_0xcc7b8[_0xed8157(0x1e3)];}));}[_0x415dad(0x179)](){const _0x447e05=_0x415dad,_0x4b693d=_0x96709d=>{const _0x192ebf=_0x38fc;var _0x4ecbb6;this[_0x192ebf(0x1ee)](_0x192ebf(0x291),_0x192ebf(0x1b2)+_0x96709d[_0x192ebf(0x17b)]+_0x192ebf(0x2c7)+_0x96709d[_0x192ebf(0x2b0)]+':'+_0x96709d[_0x192ebf(0x1ad)]+':'+_0x96709d[_0x192ebf(0x38e)]+'\x0a'+(((_0x4ecbb6=_0x96709d[_0x192ebf(0x291)])==null?void 0x0:_0x4ecbb6['stack'])||''));};window[_0x447e05(0x215)](_0x447e05(0x291),_0x4b693d),this[_0x447e05(0x25d)](()=>{const _0x4eec19=_0x447e05;window[_0x4eec19(0x1ba)](_0x4eec19(0x291),_0x4b693d);});}[_0x415dad(0x26a)](){const _0x4f63c2=_0x415dad,_0x392309=_0x5ddcc2=>{const _0x38f38b=_0x38fc;this[_0x38f38b(0x1ee)]('error',_0x38f38b(0x3eb)+_0x5ddcc2[_0x38f38b(0x3bb)]);};window[_0x4f63c2(0x215)](_0x4f63c2(0x349),_0x392309),this[_0x4f63c2(0x25d)](()=>{const _0x3035c6=_0x4f63c2;window['removeEventListener'](_0x3035c6(0x349),_0x392309);});}['_monkeyPatchLogService'](){const _0x35b937=_0x415dad,_0x3e5b18=this[_0x35b937(0x2a0)][_0x35b937(0x291)]['bind'](this[_0x35b937(0x2a0)]);this[_0x35b937(0x2a0)][_0x35b937(0x291)]=(..._0x16ffc7)=>{const _0x3626cd=_0x35b937,_0xc8766a=_0x16ffc7[_0x3626cd(0x2cc)](_0x17c36e=>_0x17c36e instanceof Error?_0x17c36e['message']+'\x0a'+_0x17c36e[_0x3626cd(0x3d1)]:String(_0x17c36e))[_0x3626cd(0x2fe)]('\x20');this[_0x3626cd(0x1ee)]('error',_0x3626cd(0x2b3)+_0xc8766a),_0x3e5b18(..._0x16ffc7);},this[_0x35b937(0x25d)](()=>{const _0x7507b4=_0x35b937;this[_0x7507b4(0x2a0)]['error']=_0x3e5b18;});}[_0x415dad(0x1ee)](_0x294706,_0x36834f){const _0x2e68bf=_0x415dad;try{const _0x38a1e0={'userId':this['_memberID'],'logLabel':_0x294706,'content':_0x36834f};this[_0x2e68bf(0x262)][_0x2e68bf(0x19a)](_0x2e68bf(0x19e),{'body':_0x38a1e0})[_0x2e68bf(0x211)](()=>{});}catch{}}};_0x49f423=_0x5b5724([_0xb203c2(0x0,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0xb203c2(0x1,_0x49d737['Inject'](_0xcfaf25[_0x415dad(0x14e)])),_0xb203c2(0x2,_0x49d737['ILogService']),_0xb203c2(0x3,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x178)]))],_0x49f423);const _0xfec0b7='collaboration-client-ui.config',_0x17c1be={};var _0x55c6de=Object[_0x415dad(0x417)],_0x426f38=(_0x2e6b58,_0x53f059,_0x5f1749,_0x1eb59a)=>{for(var _0x3c10bd=_0x1eb59a>0x1?void 0x0:_0x1eb59a?_0x55c6de(_0x53f059,_0x5f1749):_0x53f059,_0x2349df=_0x2e6b58['length']-0x1,_0x264b12;_0x2349df>=0x0;_0x2349df--)(_0x264b12=_0x2e6b58[_0x2349df])&&(_0x3c10bd=_0x264b12(_0x3c10bd)||_0x3c10bd);return _0x3c10bd;},_0x2eb90a=(_0x7c9ac9,_0x6cf43e)=>(_0x177476,_0x42c6be)=>_0x6cf43e(_0x177476,_0x42c6be,_0x7c9ac9);let _0x3d62e9=class{constructor(_0x118eb9,_0x44d3c3){this['_transformService']=_0x118eb9,this['_renderManagerService']=_0x44d3c3;}['transformIMECache'](_0x47a84d){const _0x3ac6fa=_0x415dad;this['_transformUndoRedoStack'](_0x47a84d),this[_0x3ac6fa(0x354)](_0x47a84d);}['transformRemoteChangeset'](_0x55d67f){const _0x5d536b=_0x415dad,{unitID:_0x4cfe28}=_0x55d67f,_0x1fc2f0=this['_renderManagerService'][_0x5d536b(0x22f)](_0x4cfe28)[_0x5d536b(0x29f)](_0x985634[_0x5d536b(0x32e)]),{redoCache:_0x5f3d20}=_0x1fc2f0[_0x5d536b(0x422)]();if(_0x5f3d20['length']===0x0)return _0x55d67f;let _0x4a980c=_0x49d737['Tools'][_0x5d536b(0x3da)](_0x55d67f[_0x5d536b(0x331)][0x0]);for(let _0x4e895c=0x0;_0x4e895c<_0x5f3d20[_0x5d536b(0x3af)];_0x4e895c++){const _0x3372cd={'id':_0x5d536b(0x2c2),'params':{..._0x5f3d20[_0x4e895c]}},_0xa3c7f6=this[_0x5d536b(0x374)][_0x5d536b(0x1fe)](_0x4a980c,_0x3372cd,!0x1);if(_0x3ba40b[_0x5d536b(0x184)](_0xa3c7f6))throw _0xa3c7f6[_0x5d536b(0x291)];_0x4a980c=_0xa3c7f6[_0x5d536b(0x362)];}return{..._0x49d737[_0x5d536b(0x193)][_0x5d536b(0x3da)](_0x55d67f),'mutations':[_0x4a980c]};}['_transformUndoRedoStack'](_0x20f006){const _0x32770b=_0x415dad,{unitID:_0x59248e}=_0x20f006,_0x4b3383=this['_renderManagerService'][_0x32770b(0x22f)](_0x59248e)['with'](_0x985634[_0x32770b(0x32e)]),{undoCache:_0x346264,redoCache:_0x430e1c}=_0x4b3383[_0x32770b(0x422)]();if(_0x346264[_0x32770b(0x3af)]===0x0||_0x430e1c[_0x32770b(0x3af)]===0x0)return;const _0x28cd5c=[],_0x2b2388=[];let _0x2f52a3=_0x49d737[_0x32770b(0x193)]['deepClone'](_0x20f006[_0x32770b(0x331)][0x0]),_0xbda3a0=_0x49d737[_0x32770b(0x193)]['deepClone'](_0x20f006[_0x32770b(0x331)][0x0]);for(let _0x215c48=_0x346264['length']-0x1;_0x215c48>=0x0;_0x215c48--){const _0x4ad6c2={'id':'doc.mutation.rich-text-editing','params':{..._0x346264[_0x215c48]}},_0x526bd6={'id':_0x32770b(0x2c2),'params':{..._0x430e1c[_0x215c48]}},_0x384f4e=this[_0x32770b(0x374)]['transformMutation'](_0x2f52a3,_0x4ad6c2,!0x1),_0x4124cf=this['_transformService'][_0x32770b(0x1fe)](_0xbda3a0,_0x526bd6,!0x1);if(_0x3ba40b[_0x32770b(0x184)](_0x384f4e))throw _0x384f4e[_0x32770b(0x291)];if(_0x3ba40b[_0x32770b(0x184)](_0x4124cf))throw _0x4124cf[_0x32770b(0x291)];_0x28cd5c[_0x32770b(0x3d2)](_0x384f4e[_0x32770b(0x237)][_0x32770b(0x3fe)]),_0x2b2388[_0x32770b(0x3d2)](_0x4124cf['m2Prime'][_0x32770b(0x3fe)]),_0x2f52a3=_0x384f4e[_0x32770b(0x362)],_0xbda3a0=_0x4124cf[_0x32770b(0x362)];}_0x4b3383[_0x32770b(0x340)]({'undoCache':_0x28cd5c,'redoCache':_0x2b2388});}[_0x415dad(0x354)](_0x51afad){const _0x4d2a6e=_0x415dad,{unitID:_0x4d3dfa}=_0x51afad,_0x2e39b8=this[_0x4d2a6e(0x428)]['getRenderById'](_0x4d3dfa)[_0x4d2a6e(0x29f)](_0x985634[_0x4d2a6e(0x32e)]),_0x4d8558=_0x2e39b8[_0x4d2a6e(0x19c)]();if(_0x4d8558==null)return;const _0x5a74db=[{'id':_0x4d2a6e(0x2c2),'params':{'unitId':_0x51afad[_0x4d2a6e(0x1d5)],'actions':null,'textRanges':[_0x4d8558]}}],_0x5d5e55=this[_0x4d2a6e(0x374)][_0x4d2a6e(0x38a)](_0x51afad,_0x5a74db);if(!_0x3ba40b[_0x4d2a6e(0x156)](_0x5d5e55))throw _0x5d5e55[_0x4d2a6e(0x291)];const _0x4bb3bf=_0x5d5e55['m2Prime'][0x0][_0x4d2a6e(0x3fe)][_0x4d2a6e(0x40a)];Array[_0x4d2a6e(0x253)](_0x4bb3bf)&&_0x4bb3bf['length']&&_0x2e39b8['setActiveRange'](_0x4bb3bf[0x0]);}};_0x3d62e9=_0x426f38([_0x2eb90a(0x0,_0x3ba40b[_0x415dad(0x424)]),_0x2eb90a(0x1,_0x3b0527[_0x415dad(0x2f9)])],_0x3d62e9);var _0x5352c6=Object[_0x415dad(0x417)],_0x50d55d=(_0x25cbe9,_0xe7d35b,_0x10bd8b,_0x659e44)=>{const _0x4ba4b0=_0x415dad;for(var _0x2f3e8e=_0x659e44>0x1?void 0x0:_0x659e44?_0x5352c6(_0xe7d35b,_0x10bd8b):_0xe7d35b,_0x50a5b4=_0x25cbe9[_0x4ba4b0(0x3af)]-0x1,_0x3c7000;_0x50a5b4>=0x0;_0x50a5b4--)(_0x3c7000=_0x25cbe9[_0x50a5b4])&&(_0x2f3e8e=_0x3c7000(_0x2f3e8e)||_0x2f3e8e);return _0x2f3e8e;},_0x2941db=(_0x2ca490,_0x3b3547)=>(_0x19bb74,_0xd55f64)=>_0x3b3547(_0x19bb74,_0xd55f64,_0x2ca490);let _0x2544c2=class{constructor(_0x46bb23,_0x135dc5,_0x1a3903){const _0x252a0f=_0x415dad;this[_0x252a0f(0x388)]=_0x46bb23,this['_transformService']=_0x135dc5,this['_docStateChangeManagerService']=_0x1a3903;}[_0x415dad(0x27b)](_0x576444){this['_transformHistoryAndStateStack'](_0x576444);}[_0x415dad(0x3ea)](_0x28e555){const _0x22576c=_0x415dad,{unitID:_0x39a500}=_0x28e555,{collaboration:_0x12865a}=this[_0x22576c(0x1b6)]['getStateCache'](_0x39a500);if(_0x12865a[_0x22576c(0x3af)]===0x0)return _0x28e555;let _0x501051=_0x49d737[_0x22576c(0x193)]['deepClone'](_0x28e555['mutations'][0x0]);for(let _0x4936a2=0x0;_0x4936a2<_0x12865a[_0x22576c(0x3af)];_0x4936a2++){const _0x17382d={'id':_0x22576c(0x2c2),'params':{'unitId':_0x12865a[_0x4936a2]['unitId'],..._0x12865a[_0x4936a2][_0x22576c(0x197)]}},_0x57b3f2=this[_0x22576c(0x374)][_0x22576c(0x1fe)](_0x501051,_0x17382d,!0x1);if(_0x3ba40b[_0x22576c(0x184)](_0x57b3f2))throw _0x57b3f2['error'];_0x501051=_0x57b3f2[_0x22576c(0x362)];}return{..._0x49d737[_0x22576c(0x193)][_0x22576c(0x3da)](_0x28e555),'mutations':[_0x501051]};}[_0x415dad(0x15a)](_0x1d2902){const _0x3b5f22=_0x415dad,{unitID:_0x400012}=_0x1d2902,{history:_0x561273,collaboration:_0x45bdef}=this['_docStateChangeManagerService'][_0x3b5f22(0x155)](_0x400012);if(_0x561273['length']===0x0&&_0x45bdef[_0x3b5f22(0x3af)]===0x0)return;const _0x334283=[],_0x22ee20=[];let _0x4669c6=_0x49d737[_0x3b5f22(0x193)][_0x3b5f22(0x3da)](_0x1d2902[_0x3b5f22(0x331)][0x0]),_0x26eccf=_0x49d737['Tools'][_0x3b5f22(0x3da)](_0x1d2902[_0x3b5f22(0x331)][0x0]);for(let _0x583c74=_0x561273[_0x3b5f22(0x3af)]-0x1;_0x583c74>=0x0;_0x583c74--){const _0x3c99b9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x561273[_0x583c74][_0x3b5f22(0x20a)],..._0x561273[_0x583c74][_0x3b5f22(0x191)]}},_0x139d26={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x561273[_0x583c74][_0x3b5f22(0x20a)],..._0x561273[_0x583c74]['redoState']}},_0x495a88=this[_0x3b5f22(0x374)][_0x3b5f22(0x1fe)](_0x4669c6,_0x3c99b9,!0x1),_0x1f5f27=this[_0x3b5f22(0x374)][_0x3b5f22(0x1fe)](_0x26eccf,_0x139d26,!0x1);if(_0x3ba40b['isTransformMutationFailure'](_0x495a88))throw _0x495a88[_0x3b5f22(0x291)];if(_0x3ba40b[_0x3b5f22(0x184)](_0x1f5f27))throw _0x1f5f27['error'];_0x334283['unshift']({..._0x561273[_0x583c74],'undoState':_0x495a88[_0x3b5f22(0x237)][_0x3b5f22(0x3fe)],'redoState':_0x1f5f27[_0x3b5f22(0x237)][_0x3b5f22(0x3fe)]}),_0x4669c6=_0x495a88[_0x3b5f22(0x362)],_0x26eccf=_0x1f5f27[_0x3b5f22(0x362)];}_0x4669c6=_0x49d737[_0x3b5f22(0x193)][_0x3b5f22(0x3da)](_0x1d2902[_0x3b5f22(0x331)][0x0]),_0x26eccf=_0x49d737['Tools'][_0x3b5f22(0x3da)](_0x1d2902[_0x3b5f22(0x331)][0x0]);for(let _0x543016=_0x45bdef[_0x3b5f22(0x3af)]-0x1;_0x543016>=0x0;_0x543016--){const _0x40ea92={'id':_0x3b5f22(0x2c2),'params':{'unitId':_0x45bdef[_0x543016][_0x3b5f22(0x20a)],..._0x45bdef[_0x543016][_0x3b5f22(0x191)]}},_0x2cffea={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45bdef[_0x543016][_0x3b5f22(0x20a)],..._0x45bdef[_0x543016][_0x3b5f22(0x197)]}},_0x22bb18=this['_transformService'][_0x3b5f22(0x1fe)](_0x4669c6,_0x40ea92,!0x1),_0x3e2537=this[_0x3b5f22(0x374)][_0x3b5f22(0x1fe)](_0x26eccf,_0x2cffea,!0x1);if(_0x3ba40b['isTransformMutationFailure'](_0x22bb18))throw _0x22bb18[_0x3b5f22(0x291)];if(_0x3ba40b[_0x3b5f22(0x184)](_0x3e2537))throw _0x3e2537[_0x3b5f22(0x291)];_0x22ee20['unshift']({..._0x45bdef[_0x543016],'undoState':_0x22bb18[_0x3b5f22(0x237)][_0x3b5f22(0x3fe)],'redoState':_0x3e2537[_0x3b5f22(0x237)]['params']}),_0x4669c6=_0x22bb18[_0x3b5f22(0x362)],_0x26eccf=_0x3e2537['m1Prime'];}this[_0x3b5f22(0x1b6)][_0x3b5f22(0x231)](_0x400012,{'history':_0x334283,'collaboration':_0x22ee20});}};_0x2544c2=_0x50d55d([_0x2941db(0x0,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0x2941db(0x1,_0x3ba40b[_0x415dad(0x424)]),_0x2941db(0x2,_0x49d737['Inject'](_0x985634[_0x415dad(0x425)]))],_0x2544c2);var _0x375f7e=Object['getOwnPropertyDescriptor'],_0x21e8b1=(_0x1cbfca,_0x10bdbb,_0x48dcb0,_0x1ba90a)=>{const _0x3ee4f6=_0x415dad;for(var _0x2b8a65=_0x1ba90a>0x1?void 0x0:_0x1ba90a?_0x375f7e(_0x10bdbb,_0x48dcb0):_0x10bdbb,_0x1fee1e=_0x1cbfca[_0x3ee4f6(0x3af)]-0x1,_0x26a4a2;_0x1fee1e>=0x0;_0x1fee1e--)(_0x26a4a2=_0x1cbfca[_0x1fee1e])&&(_0x2b8a65=_0x26a4a2(_0x2b8a65)||_0x2b8a65);return _0x2b8a65;},_0x414503=(_0x280af3,_0x3f338e)=>(_0x1d1de5,_0x5f5292)=>_0x3f338e(_0x1d1de5,_0x5f5292,_0x280af3);let _0xf45f60=class{constructor(_0x44e5cc,_0x195143){const _0x2838df=_0x415dad;this[_0x2838df(0x388)]=_0x44e5cc,this[_0x2838df(0x374)]=_0x195143;}[_0x415dad(0x239)](_0x5a337f){const _0x338a5b=_0x415dad;var _0x114365;const _0x10e338=this['_injector'][_0x338a5b(0x356)](_0x37e704['DocSelectionManagerService']),_0x2e5730=(_0x114365=_0x10e338[_0x338a5b(0x234)]())!=null?_0x114365:[];if(_0x2e5730[_0x338a5b(0x3af)]===0x0)return;const _0x3d063f=_0x5a337f['unitID'],_0x4ba7a2=[{'id':_0x338a5b(0x2c2),'params':{'unitId':_0x3d063f,'actions':null,'textRanges':_0x2e5730}}],_0xb5dbb6=this[_0x338a5b(0x374)][_0x338a5b(0x38a)](_0x5a337f,_0x4ba7a2);if(!_0x3ba40b[_0x338a5b(0x156)](_0xb5dbb6))throw _0xb5dbb6[_0x338a5b(0x291)];const _0x3bc6b4=_0xb5dbb6[_0x338a5b(0x237)][0x0][_0x338a5b(0x3fe)]['textRanges'];Array['isArray'](_0x3bc6b4)&&_0x3bc6b4[_0x338a5b(0x3af)]&&_0x10e338[_0x338a5b(0x1b3)](_0x3bc6b4,{'unitId':_0x3d063f,'subUnitId':_0x3d063f},!0x1);}};_0xf45f60=_0x21e8b1([_0x414503(0x0,_0x49d737['Inject'](_0x49d737[_0x415dad(0x161)])),_0x414503(0x1,_0x3ba40b['ITransformService'])],_0xf45f60);var _0x373ff4=Object[_0x415dad(0x417)],_0x547f4a=(_0x1ab154,_0x505ec7,_0x55db48,_0x2a5cca)=>{const _0x26a2af=_0x415dad;for(var _0x3ec749=_0x2a5cca>0x1?void 0x0:_0x2a5cca?_0x373ff4(_0x505ec7,_0x55db48):_0x505ec7,_0x2a0423=_0x1ab154[_0x26a2af(0x3af)]-0x1,_0x4cda7d;_0x2a0423>=0x0;_0x2a0423--)(_0x4cda7d=_0x1ab154[_0x2a0423])&&(_0x3ec749=_0x4cda7d(_0x3ec749)||_0x3ec749);return _0x3ec749;},_0xbc1fb8=(_0x17d52d,_0x4d6f11)=>(_0xbe0326,_0xb764f3)=>_0x4d6f11(_0xbe0326,_0xb764f3,_0x17d52d);let _0x269e5c=class extends _0x49d737['Disposable']{constructor(_0x163376,_0x22e0c3,_0x1ef0a3,_0xed9567,_0x6c5855,_0xe24a60,_0x5be272,_0x3bf965){const _0x195148=_0x415dad;super(),_0x45e42d(this,_0x195148(0x1fb),new _0x13a994[(_0x195148(0x209))](_0x1ebeaa[_0x195148(0x3f7)][_0x195148(0x33c)])),(this['_docStateChangeManagerService']=_0x163376,this[_0x195148(0x294)]=_0x22e0c3,this['_docTransformIMECacheService']=_0x1ef0a3,this[_0x195148(0x1da)]=_0xed9567,this[_0x195148(0x3a1)]=_0x6c5855,this['_docSyncEditingCollabCursorService']=_0xe24a60,this[_0x195148(0x1a9)]=_0x5be272,this[_0x195148(0x414)]=_0x3bf965,this['_initEntityListener']());}[_0x415dad(0x3c1)](){const _0x21739f=_0x415dad;this[_0x21739f(0x25d)](this[_0x21739f(0x294)][_0x21739f(0x2f6)][_0x21739f(0x360)](_0x43584d=>{const _0x574e2d=_0x21739f,_0x44521a=this['_docStateChangeManagerService'][_0x574e2d(0x42f)][_0x574e2d(0x360)](_0x3e888d=>{const _0x510c64=_0x574e2d;if(_0x3e888d==null)return;const {unitId:_0x406c00,redoState:_0x690205,commandId:_0x4eb4d2}=_0x3e888d;if(_0x406c00!==_0x43584d[_0x510c64(0x1d5)])return;const _0x3e1a22={'id':_0x4eb4d2,'type':_0x49d737[_0x510c64(0x2e4)]['MUTATION'],'params':{'unitId':_0x406c00,'actions':_0x690205[_0x510c64(0x287)],'textRanges':null}};_0x43584d[_0x510c64(0x346)](_0x3e1a22);});if(_0x43584d[_0x574e2d(0x25d)](_0x44521a),_0x43584d instanceof _0x1ebeaa[_0x574e2d(0x33a)]){const _0x3e1cab={'onTransformIME':_0x57d41c=>this[_0x574e2d(0x328)][_0x574e2d(0x1d7)](_0x57d41c),'onTransformState':_0x2014bc=>this[_0x574e2d(0x1da)]['transformStateCache'](_0x2014bc),'onTransformSelections':_0xf0a786=>this[_0x574e2d(0x3a1)]['transformSelections'](_0xf0a786),'onSyncEditingCollabCursor':_0xca0009=>this[_0x574e2d(0x1b7)][_0x574e2d(0x311)](_0xca0009),'onTransformRemoteChangesetByIMECache':_0x39836b=>this[_0x574e2d(0x328)][_0x574e2d(0x3ea)](_0x39836b),'onTransformRemoteChangesetByStateCache':_0x5dbc0e=>this[_0x574e2d(0x1da)][_0x574e2d(0x3ea)](_0x5dbc0e)};_0x43584d[_0x574e2d(0x2e0)](_0x3e1cab);}}));}};_0x269e5c=_0x547f4a([_0xbc1fb8(0x0,_0x49d737[_0x415dad(0x3b7)](_0x985634[_0x415dad(0x425)])),_0xbc1fb8(0x1,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x1c0)])),_0xbc1fb8(0x2,_0x49d737[_0x415dad(0x3b7)](_0x3d62e9)),_0xbc1fb8(0x3,_0x49d737[_0x415dad(0x3b7)](_0x2544c2)),_0xbc1fb8(0x4,_0x49d737['Inject'](_0xf45f60)),_0xbc1fb8(0x5,_0x49d737[_0x415dad(0x3b7)](_0x159f52)),_0xbc1fb8(0x6,_0x1c307e[_0x415dad(0x410)]),_0xbc1fb8(0x7,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x177)]))],_0x269e5c);var _0x86bd58=(_0x5c1201=>(_0x5c1201[_0x5c1201[_0x415dad(0x34a)]=0x0]=_0x415dad(0x34a),_0x5c1201[_0x5c1201['OK']=0x1]='OK',_0x5c1201[_0x5c1201[_0x415dad(0x310)]=0x2]=_0x415dad(0x310),_0x5c1201[_0x5c1201['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5c1201[_0x5c1201[_0x415dad(0x213)]=0x4]=_0x415dad(0x213),_0x5c1201[_0x5c1201['UNAUTHENTICATED']=0x5]=_0x415dad(0x2cd),_0x5c1201[_0x5c1201['ALREADY_EXISTS']=0x6]=_0x415dad(0x416),_0x5c1201[_0x5c1201[_0x415dad(0x3ab)]=0x7]=_0x415dad(0x3ab),_0x5c1201[_0x5c1201['TOO_MANY_REQUESTS']=0x8]=_0x415dad(0x1db),_0x5c1201[_0x5c1201[_0x415dad(0x320)]=0x9]=_0x415dad(0x320),_0x5c1201[_0x5c1201['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x5c1201[_0x5c1201[_0x415dad(0x252)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5c1201[_0x5c1201[_0x415dad(0x3ac)]=0xc]=_0x415dad(0x3ac),_0x5c1201[_0x5c1201['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5c1201[_0x5c1201['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x415dad(0x2ae),_0x5c1201[_0x5c1201['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x415dad(0x336),_0x5c1201[_0x5c1201['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x415dad(0x258),_0x5c1201[_0x5c1201[_0x415dad(0x2b9)]=0x64]=_0x415dad(0x2b9),_0x5c1201[_0x5c1201[_0x415dad(0x159)]=0x65]=_0x415dad(0x159),_0x5c1201[_0x5c1201[_0x415dad(0x165)]=0xc9]=_0x415dad(0x165),_0x5c1201[_0x5c1201[_0x415dad(0x3b1)]=0xca]=_0x415dad(0x3b1),_0x5c1201[_0x5c1201[_0x415dad(0x430)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c1201[_0x5c1201[_0x415dad(0x167)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5c1201[_0x5c1201['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x415dad(0x160),_0x5c1201[_0x5c1201[_0x415dad(0x1a2)]=0x1773]=_0x415dad(0x1a2),_0x5c1201[_0x5c1201[_0x415dad(0x204)]=0x1b59]=_0x415dad(0x204),_0x5c1201[_0x5c1201['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5c1201[_0x5c1201['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x415dad(0x3e5),_0x5c1201[_0x5c1201[_0x415dad(0x302)]=0x1b5c]=_0x415dad(0x302),_0x5c1201[_0x5c1201['APPLY_DUPLICATED']=0x1b5d]=_0x415dad(0x368),_0x5c1201[_0x5c1201[_0x415dad(0x23a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5c1201[_0x5c1201[_0x415dad(0x345)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5c1201[_0x5c1201[_0x415dad(0x3e3)]=0x232a]=_0x415dad(0x3e3),_0x5c1201[_0x5c1201[_0x415dad(0x1cc)]=0x232b]=_0x415dad(0x1cc),_0x5c1201[_0x5c1201[_0x415dad(0x15f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5c1201[_0x5c1201[_0x415dad(0x1e4)]=0x232d]=_0x415dad(0x1e4),_0x5c1201[_0x5c1201[_0x415dad(0x2f2)]=0x2711]=_0x415dad(0x2f2),_0x5c1201[_0x5c1201[_0x415dad(0x2e2)]=0x2712]=_0x415dad(0x2e2),_0x5c1201[_0x5c1201[_0x415dad(0x2f4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5c1201[_0x5c1201['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5c1201[_0x5c1201[_0x415dad(0x274)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5c1201[_0x5c1201[_0x415dad(0x2a8)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5c1201[_0x5c1201[_0x415dad(0x1f2)]=0x271c]=_0x415dad(0x1f2),_0x5c1201[_0x5c1201[_0x415dad(0x379)]=0x271d]=_0x415dad(0x379),_0x5c1201[_0x5c1201[_0x415dad(0x216)]=0x271e]=_0x415dad(0x216),_0x5c1201[_0x5c1201[_0x415dad(0x223)]=0x271f]=_0x415dad(0x223),_0x5c1201[_0x5c1201['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x415dad(0x3e1),_0x5c1201[_0x5c1201[_0x415dad(0x2ad)]=0x2af9]=_0x415dad(0x2ad),_0x5c1201[_0x5c1201[_0x415dad(0x1d6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5c1201[_0x5c1201[_0x415dad(0x34d)]=0x2ee2]=_0x415dad(0x34d),_0x5c1201[_0x5c1201['INVITE_CODE_REQUIRED']=0x2ee3]=_0x415dad(0x2aa),_0x5c1201[_0x5c1201['USER_NOT_INVITED_CODE']=0x2ee4]=_0x415dad(0x344),_0x5c1201[_0x5c1201[_0x415dad(0x2a6)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5c1201[_0x5c1201[_0x415dad(0x397)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5c1201[_0x5c1201[_0x415dad(0x1d3)]=0x32ca]=_0x415dad(0x1d3),_0x5c1201[_0x5c1201[_0x415dad(0x205)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5c1201[_0x5c1201[_0x415dad(0x35f)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5c1201[_0x5c1201[_0x415dad(0x41a)]=0x36b2]=_0x415dad(0x41a),_0x5c1201[_0x5c1201[_0x415dad(0x25f)]=0x36b3]=_0x415dad(0x25f),_0x5c1201[_0x5c1201['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x415dad(0x32d),_0x5c1201[_0x5c1201[_0x415dad(0x3d9)]=0x36b5]=_0x415dad(0x3d9),_0x5c1201[_0x5c1201[_0x415dad(0x3ef)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5c1201[_0x5c1201[_0x415dad(0x412)]=0x36b7]=_0x415dad(0x412),_0x5c1201[_0x5c1201[_0x415dad(0x158)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x5c1201[_0x5c1201[_0x415dad(0x2bb)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5c1201[_0x5c1201[_0x415dad(0x29b)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5c1201[_0x5c1201['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x415dad(0x33f),_0x5c1201[_0x5c1201[_0x415dad(0x34f)]=0x37dd]=_0x415dad(0x34f),_0x5c1201[_0x5c1201['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x5c1201[_0x5c1201[_0x415dad(0x28d)]=0x3a9a]=_0x415dad(0x28d),_0x5c1201[_0x5c1201[_0x415dad(0x228)]=0x3a9b]=_0x415dad(0x228),_0x5c1201[_0x5c1201[_0x415dad(0x23f)]=0x3a9c]=_0x415dad(0x23f),_0x5c1201[_0x5c1201[_0x415dad(0x1f1)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x5c1201[_0x5c1201[_0x415dad(0x249)]=0x3a9e]=_0x415dad(0x249),_0x5c1201[_0x5c1201[_0x415dad(0x3fc)]=0x3a9f]=_0x415dad(0x3fc),_0x5c1201[_0x5c1201[_0x415dad(0x3d5)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x5c1201[_0x5c1201[_0x415dad(0x321)]=-0x1]=_0x415dad(0x321),_0x5c1201))(_0x86bd58||{});function _0x263ac0(_0x46832b){const _0x36d5ca=_0x415dad;var _0x4109ed,_0x3615fe;const _0x516576=(_0x4109ed=_0x46832b['stageInfo'])==null?void 0x0:_0x4109ed[_0x36d5ca(0x2a9)],_0x5f0f14=((_0x3615fe=_0x46832b[_0x36d5ca(0x404)])==null?void 0x0:_0x3615fe[_0x36d5ca(0x3b0)])||0x0;return _0x516576===_0x1d2500['FormulaExecuteStageType'][_0x36d5ca(0x20d)]&&_0x5f0f14>0x0;}function _0x13ed33(_0x11da17){const _0x16a767=_0x415dad;return _0x11da17['functionsExecutedState']===_0x1d2500[_0x16a767(0x199)][_0x16a767(0x431)];}var _0x1d8db7=Object[_0x415dad(0x417)],_0x5ee646=(_0x86df25,_0x218992,_0x59ce7e,_0x74c7d9)=>{for(var _0x5676d1=_0x74c7d9>0x1?void 0x0:_0x74c7d9?_0x1d8db7(_0x218992,_0x59ce7e):_0x218992,_0x5f43b9=_0x86df25['length']-0x1,_0xbfe914;_0x5f43b9>=0x0;_0x5f43b9--)(_0xbfe914=_0x86df25[_0x5f43b9])&&(_0x5676d1=_0xbfe914(_0x5676d1)||_0x5676d1);return _0x5676d1;},_0x18e543=(_0x57424f,_0x59f84f)=>(_0x576e1d,_0x11ce59)=>_0x59f84f(_0x576e1d,_0x11ce59,_0x57424f);const _0x21960c=_0x415dad(0x316),_0x2d8342='/universer-api/license/formula/limit/start',_0x41c940=_0x415dad(0x14c);let _0x51ff3e=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0x3f931d,_0x5ce167,_0x1f3c85,_0x1c0897,_0x2d73b7,_0x2506c4,_0x59a992){const _0x403dd7=_0x415dad;super(),_0x45e42d(this,_0x403dd7(0x17f),null),_0x45e42d(this,_0x403dd7(0x281),0x0),_0x45e42d(this,_0x403dd7(0x276),0x0),_0x45e42d(this,_0x403dd7(0x1b4),[]),_0x45e42d(this,_0x403dd7(0x1c5),0x0),(this[_0x403dd7(0x1a9)]=_0x3f931d,this[_0x403dd7(0x383)]=_0x5ce167,this[_0x403dd7(0x42a)]=_0x1f3c85,this[_0x403dd7(0x262)]=_0x1c0897,this[_0x403dd7(0x365)]=_0x2d73b7,this['_logService']=_0x2506c4,this[_0x403dd7(0x414)]=_0x59a992,this['_initCommandInterceptor']());}[_0x415dad(0x1be)](){const _0x161af8=_0x415dad;this[_0x161af8(0x25d)](this[_0x161af8(0x383)][_0x161af8(0x3b6)]((_0x3bfa7a,_0x13cc5c)=>{const _0x35b5f3=_0x161af8;var _0x522698;if(_0x3bfa7a['id']!==_0x1d2500['SetFormulaCalculationStartMutation']['id'])return;const _0x125158=_0x3bfa7a[_0x35b5f3(0x3fe)];if(!this['_hasFormulaInDirtyRanges']((_0x522698=_0x125158[_0x35b5f3(0x1ef)])!=null?_0x522698:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x35b5f3(0x1c1)](_0x3bfa7a,_0x13cc5c),this[_0x35b5f3(0x180)](),new _0x49d737[(_0x35b5f3(0x2ac))]();})),this[_0x161af8(0x25d)](this[_0x161af8(0x383)][_0x161af8(0x2d2)]((_0x894a73,_0x61070d)=>{const _0x4fb2b8=_0x161af8;if(_0x894a73['id']!==_0x1d2500[_0x4fb2b8(0x3c4)]['id'])return;const _0x3bac60=_0x894a73[_0x4fb2b8(0x3fe)];if(_0x263ac0(_0x3bac60)){const _0x2fb809=_0x49d737[_0x4fb2b8(0x230)]();this[_0x4fb2b8(0x1b4)][_0x4fb2b8(0x2c1)](_0x2fb809),this['_startCalculationLimit'](_0x2fb809);}else{if(_0x13ed33(_0x3bac60)&&this['_taskIds'][_0x4fb2b8(0x3af)]>0x0){const _0xd94cfe=this[_0x4fb2b8(0x1b4)][_0x4fb2b8(0x166)]();this[_0x4fb2b8(0x2fd)](_0xd94cfe);}}}));}[_0x415dad(0x1bb)](){const _0x5b5529=_0x415dad;super[_0x5b5529(0x1bb)](),this['_clearPolling'](),this[_0x5b5529(0x1b4)]=[],this['_currentUsage']=0x0,this[_0x5b5529(0x281)]=0x0,this[_0x5b5529(0x1c5)]=0x0;}async[_0x415dad(0x1c1)](_0x14ceb5,_0x2d945e){const _0x85865d=_0x415dad;for(let _0x4ac708=0x0;_0x4ac708<0x1e;_0x4ac708++)try{if(await this[_0x85865d(0x373)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x14ceb5,_0x2d945e),this['_messageService'][_0x85865d(0x23d)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x573e9b[_0x85865d(0x2c5)][_0x85865d(0x3bc)]});return;}await new Promise(_0x2533c6=>{const _0x5a5cb1=_0x85865d;this['_pollingInterval']=window[_0x5a5cb1(0x339)](_0x2533c6,0x3e8);});}catch(_0x529354){this[_0x85865d(0x2a0)][_0x85865d(0x291)](_0x529354);}this['_messageService'][_0x85865d(0x23d)]({'content':this[_0x85865d(0x414)]['t'](_0x85865d(0x267)),'type':_0x573e9b[_0x85865d(0x2c5)][_0x85865d(0x358)]});}[_0x415dad(0x2b5)](_0x2cf4e3,_0x3dd23f){const _0x2e42dc=_0x415dad;try{this[_0x2e42dc(0x383)][_0x2e42dc(0x27d)](_0x2cf4e3['id'],_0x2cf4e3[_0x2e42dc(0x3fe)],_0x3dd23f);}catch(_0x4df4ca){this[_0x2e42dc(0x2a0)]['error'](_0x4df4ca);}}[_0x415dad(0x399)](_0x14d9f6,_0x42206d){const _0x3b1b27=_0x415dad;_0x42206d<this['_lastResponseTimestamp']||(this[_0x3b1b27(0x1c5)]=_0x42206d,this[_0x3b1b27(0x281)]=Number[_0x3b1b27(0x34e)](_0x14d9f6[_0x3b1b27(0x1e9)]),this[_0x3b1b27(0x276)]=Number[_0x3b1b27(0x34e)](_0x14d9f6[_0x3b1b27(0x3c7)]));}async[_0x415dad(0x323)](_0x4fc250){const _0x5ece0d=_0x415dad;var _0x31e65f,_0x39659b;const _0x40f335=Date[_0x5ece0d(0x150)]();try{const _0x386b51=((_0x31e65f=this[_0x5ece0d(0x42a)][_0x5ece0d(0x35d)](_0x1ebeaa[_0x5ece0d(0x3d0)]))==null?void 0x0:_0x31e65f['startFormulaLimitUrl'])||_0x2d8342,_0x3d3596=(await this[_0x5ece0d(0x262)][_0x5ece0d(0x19a)](_0x386b51,{'body':JSON[_0x5ece0d(0x19d)]({'taskId':_0x4fc250})}))[_0x5ece0d(0x314)];if(((_0x39659b=_0x3d3596[_0x5ece0d(0x291)])==null?void 0x0:_0x39659b[_0x5ece0d(0x245)])!==_0x86bd58['OK'])return;this['_setFormulaLimitStatus'](_0x3d3596[_0x5ece0d(0x2ee)],_0x40f335);}catch(_0x40f1fc){this[_0x5ece0d(0x2a0)]['error'](_0x40f1fc);}}async[_0x415dad(0x373)](_0x476461){const _0xd09687=_0x415dad;var _0x1f3d32,_0x209bb4;const _0x149844=Date['now']();try{const _0x279998=((_0x1f3d32=this[_0xd09687(0x42a)]['getConfig'](_0x1ebeaa[_0xd09687(0x3d0)]))==null?void 0x0:_0x1f3d32['getFormulaLimitStatusUrl'])||_0x21960c,_0x4af77c=_0x476461?_0x279998+_0xd09687(0x330)+encodeURIComponent(_0x476461):_0x279998,_0x529f61=(await this[_0xd09687(0x262)][_0xd09687(0x356)](_0x4af77c))[_0xd09687(0x314)];if(((_0x209bb4=_0x529f61['error'])==null?void 0x0:_0x209bb4[_0xd09687(0x245)])!==_0x86bd58['OK'])return;this[_0xd09687(0x399)](_0x529f61['limitInfo'],_0x149844);}catch(_0x26015a){this['_logService'][_0xd09687(0x291)](_0x26015a);}}async[_0x415dad(0x2fd)](_0x1e661f){const _0x17f43f=_0x415dad;var _0x4d00c3,_0x5c01bd;const _0x419607=Date[_0x17f43f(0x150)]();try{const _0xcbdd9d=((_0x4d00c3=this[_0x17f43f(0x42a)][_0x17f43f(0x35d)](_0x1ebeaa[_0x17f43f(0x3d0)]))==null?void 0x0:_0x4d00c3[_0x17f43f(0x212)])||_0x41c940,_0x2f8d88=(await this[_0x17f43f(0x262)][_0x17f43f(0x19a)](_0xcbdd9d,{'body':JSON['stringify']({'taskId':_0x1e661f})}))[_0x17f43f(0x314)];if(((_0x5c01bd=_0x2f8d88[_0x17f43f(0x291)])==null?void 0x0:_0x5c01bd[_0x17f43f(0x245)])!==_0x86bd58['OK'])return;this[_0x17f43f(0x399)](_0x2f8d88[_0x17f43f(0x2ee)],_0x419607);}catch(_0x5f4c4c){this['_logService'][_0x17f43f(0x291)](_0x5f4c4c);}}[_0x415dad(0x2ed)](){const _0x3bd152=_0x415dad;return this[_0x3bd152(0x281)]===0x0?!0x0:this[_0x3bd152(0x281)]-this[_0x3bd152(0x276)]>0x0;}[_0x415dad(0x2c0)](){const _0x542d2a=_0x415dad;this[_0x542d2a(0x17f)]&&(clearTimeout(this[_0x542d2a(0x17f)]),this[_0x542d2a(0x17f)]=null);}['_showGuardMessage'](){const _0x8d2327=_0x415dad;this[_0x8d2327(0x1a9)]['show']({'content':this[_0x8d2327(0x414)]['t'](_0x8d2327(0x1f6)),'type':_0x573e9b[_0x8d2327(0x2c5)][_0x8d2327(0x305)]});}[_0x415dad(0x3f3)](_0x5b2e8d){const _0x3b63e3=_0x415dad;for(const _0x314636 of _0x5b2e8d){const {unitId:_0x312ad0,sheetId:_0x2a0713,range:_0x37b592}=_0x314636,_0x554eb7=this[_0x3b63e3(0x365)][_0x3b63e3(0x2b7)](_0x312ad0);if(!_0x554eb7)continue;const _0x3694dd=_0x554eb7[_0x3b63e3(0x2dd)](_0x2a0713);if(!_0x3694dd)continue;const _0x449c58=_0x3694dd[_0x3b63e3(0x28c)]();for(let _0x52b47d=_0x37b592[_0x3b63e3(0x3fb)];_0x52b47d<=_0x37b592[_0x3b63e3(0x2c9)];_0x52b47d++)for(let _0x56be66=_0x37b592['startColumn'];_0x56be66<=_0x37b592[_0x3b63e3(0x37d)];_0x56be66++){const _0x3ba065=_0x449c58[_0x3b63e3(0x31a)](_0x52b47d,_0x56be66);if(_0x3ba065&&(_0x49d737['isFormulaString'](_0x3ba065['f'])||_0x49d737['isFormulaId'](_0x3ba065['si'])))return!0x0;}}return!0x1;}};_0x51ff3e=_0x5ee646([_0x18e543(0x0,_0x49d737[_0x415dad(0x3b7)](_0x1c307e['IMessageService'])),_0x18e543(0x1,_0x49d737[_0x415dad(0x16c)]),_0x18e543(0x2,_0x49d737[_0x415dad(0x1e8)]),_0x18e543(0x3,_0x49d737[_0x415dad(0x3b7)](_0xcfaf25[_0x415dad(0x14e)])),_0x18e543(0x4,_0x49d737['IUniverInstanceService']),_0x18e543(0x5,_0x49d737['ILogService']),_0x18e543(0x6,_0x49d737[_0x415dad(0x3b7)](_0x49d737['LocaleService']))],_0x51ff3e);var _0x2a1397=Object['getOwnPropertyDescriptor'],_0x4453c6=(_0x5534b1,_0x51436b,_0x26acf4,_0xf898dd)=>{for(var _0x13846e=_0xf898dd>0x1?void 0x0:_0xf898dd?_0x2a1397(_0x51436b,_0x26acf4):_0x51436b,_0x25489b=_0x5534b1['length']-0x1,_0x57ac01;_0x25489b>=0x0;_0x25489b--)(_0x57ac01=_0x5534b1[_0x25489b])&&(_0x13846e=_0x57ac01(_0x13846e)||_0x13846e);return _0x13846e;},_0x31b436=(_0x3bdd41,_0x3a9731)=>(_0x6f8dc1,_0x511f83)=>_0x3a9731(_0x6f8dc1,_0x511f83,_0x3bdd41);let _0x5aecc6=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0x449809,_0x3af919,_0x595027){const _0x1488b4=_0x415dad;super(),_0x45e42d(this,_0x1488b4(0x2c8),new Map()),_0x45e42d(this,_0x1488b4(0x34b),new Map()),_0x45e42d(this,_0x1488b4(0x378),!0x1),(this[_0x1488b4(0x42a)]=_0x449809,this[_0x1488b4(0x382)]=_0x3af919,this[_0x1488b4(0x3ff)]=_0x595027);}[_0x415dad(0x30a)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x415dad(0x3a7)](){const _0xbe2ac0=_0x415dad;return this[_0xbe2ac0(0x34b)];}[_0x415dad(0x1bb)](){const _0xd5c1a6=_0x415dad;this[_0xd5c1a6(0x1cd)]()['then'](()=>super[_0xd5c1a6(0x1bb)]());}async[_0x415dad(0x318)](_0x639427){const _0x2015f5=_0x415dad;return this['_disabled']?null:this[_0x2015f5(0x382)]['getItem'](_0x1ebeaa[_0x2015f5(0x1dc)](_0x639427));}async[_0x415dad(0x36b)](_0x2cff72,_0x369cd8){const _0x36b3cf=_0x415dad;return!!this['_localStorageService'][_0x36b3cf(0x398)](_0x2cff72,_0x369cd8);}['updateOfflineData'](_0x937d65,_0x12b89f,_0x11285c,_0x3d48fe){const _0x49b8ca=_0x415dad,_0x8bae48=this[_0x49b8ca(0x3ff)]['getCurrentRevOfUnit'](_0x937d65);this[_0x49b8ca(0x2c8)]['set'](_0x937d65,{'unitID':_0x937d65,'type':_0x12b89f,'awaitingChangeset':_0x11285c,'mutations':_0x3d48fe,'rev':_0x8bae48}),this[_0x49b8ca(0x34b)][_0x49b8ca(0x2c3)](_0x937d65)||this[_0x49b8ca(0x3f2)](_0x937d65);}[_0x415dad(0x3f2)](_0x1f8e32){const _0x242eec=_0x415dad,_0x2b189a=this['_getSaveTimeout']();_0x2b189a===0x0?this['_saveCache'](_0x1f8e32):this[_0x242eec(0x34b)][_0x242eec(0x18b)](_0x1f8e32,setTimeout(()=>this[_0x242eec(0x348)](_0x1f8e32),_0x2b189a));}['_getSaveTimeout'](){const _0x28c337=_0x415dad;var _0x455961;return(_0x455961=this[_0x28c337(0x42a)]['getConfig'](_0x1ebeaa[_0x28c337(0x313)]))!=null?_0x455961:_0x1ebeaa[_0x28c337(0x22b)];}[_0x415dad(0x348)](_0x2c79f9){const _0x5c00fa=_0x415dad,_0x306d2c=this[_0x5c00fa(0x34b)]['get'](_0x2c79f9);return _0x306d2c!==void 0x0&&window[_0x5c00fa(0x38d)](_0x306d2c),this[_0x5c00fa(0x382)][_0x5c00fa(0x398)](_0x1ebeaa['getLocalCacheKey'](_0x2c79f9),this[_0x5c00fa(0x2c8)][_0x5c00fa(0x356)](_0x2c79f9))[_0x5c00fa(0x275)](()=>this[_0x5c00fa(0x34b)][_0x5c00fa(0x227)](_0x2c79f9));}async[_0x415dad(0x1cd)](){const _0x145efb=_0x415dad,_0x4e9ff7=[];this[_0x145efb(0x34b)][_0x145efb(0x415)]((_0x5f1087,_0x1154ea)=>{const _0xee4779=_0x145efb;window[_0xee4779(0x38d)](_0x5f1087),_0x4e9ff7[_0xee4779(0x2c1)](this['_saveCache'](_0x1154ea)['then'](()=>{const _0x714793=_0xee4779;this[_0x714793(0x34b)][_0x714793(0x227)](_0x1154ea);}));}),await Promise[_0x145efb(0x2e5)](_0x4e9ff7);}};_0x5aecc6=_0x4453c6([_0x31b436(0x0,_0x49d737['IConfigService']),_0x31b436(0x1,_0x49d737[_0x415dad(0x1d4)]),_0x31b436(0x2,_0x49d737[_0x415dad(0x3b7)](_0x3ba40b[_0x415dad(0x38b)]))],_0x5aecc6);class _0x1c2050 extends _0x49d737[_0x415dad(0x352)]{constructor(){const _0x1ca400=_0x415dad;super(),_0x45e42d(this,_0x1ca400(0x24c)),this[_0x1ca400(0x24c)]=_0x13a994[_0x1ca400(0x42e)](window,'popstate')[_0x1ca400(0x37e)](_0x13a994[_0x1ca400(0x2c6)](this['dispose$']),_0x13a994[_0x1ca400(0x3c3)](0x1),_0x13a994['mapTo'](void 0x0));}[_0x415dad(0x2f3)](_0xd87651,_0x209554,_0x5503be=!0x1){const _0x465a6f=_0x415dad,_0x15872f=new URL(window[_0x465a6f(0x21e)][_0x465a6f(0x260)]);_0x15872f[_0x465a6f(0x270)][_0x465a6f(0x18b)](_0xd87651,_0x209554),_0x5503be?window['history'][_0x465a6f(0x256)]('','',_0x15872f[_0x465a6f(0x37c)]()):window[_0x465a6f(0x16a)][_0x465a6f(0x26c)]('','',_0x15872f[_0x465a6f(0x37c)]());}['removeParam'](_0x5df05c,_0x1046eb=!0x1){const _0x2719bb=_0x415dad,_0x4a54c6=new URL(window[_0x2719bb(0x21e)][_0x2719bb(0x260)]);_0x4a54c6[_0x2719bb(0x270)][_0x2719bb(0x227)](_0x5df05c),_0x1046eb?window[_0x2719bb(0x16a)][_0x2719bb(0x256)]('','',_0x4a54c6[_0x2719bb(0x37c)]()):window[_0x2719bb(0x16a)][_0x2719bb(0x26c)]('','',_0x4a54c6[_0x2719bb(0x37c)]());}[_0x415dad(0x1cb)](_0x2287c2){const _0x2dd5b5=_0x415dad;var _0x43f9dd;return(_0x43f9dd=new URL(window[_0x2dd5b5(0x21e)][_0x2dd5b5(0x260)])[_0x2dd5b5(0x270)][_0x2dd5b5(0x356)](_0x2287c2))!=null?_0x43f9dd:void 0x0;}}var _0x2eec5f=Object[_0x415dad(0x405)],_0x29ad72=Object[_0x415dad(0x417)],_0x461c26=(_0x1f376d,_0x4683ce,_0x5dac37)=>_0x4683ce in _0x1f376d?_0x2eec5f(_0x1f376d,_0x4683ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dac37}):_0x1f376d[_0x4683ce]=_0x5dac37,_0xd90f0=(_0x2b97be,_0x359713,_0x25f34d,_0x1f71e7)=>{for(var _0x85f79=_0x1f71e7>0x1?void 0x0:_0x1f71e7?_0x29ad72(_0x359713,_0x25f34d):_0x359713,_0x531436=_0x2b97be['length']-0x1,_0x39891c;_0x531436>=0x0;_0x531436--)(_0x39891c=_0x2b97be[_0x531436])&&(_0x85f79=_0x39891c(_0x85f79)||_0x85f79);return _0x85f79;},_0xa12808=(_0x36a7a8,_0x201176)=>(_0x19fb26,_0x5d153f)=>_0x201176(_0x19fb26,_0x5d153f,_0x36a7a8),_0x26f39f=(_0x57212c,_0x4243e6,_0x53827a)=>_0x461c26(_0x57212c,_0x4243e6+'',_0x53827a);const _0x493364=_0x415dad(0x189);_0x2ad16c[_0x415dad(0x33e)]=class extends _0x49d737['Plugin']{constructor(_0x2e57fb=_0x17c1be,_0x47c9a9,_0x3b25cd,_0x543561){const _0x167bc8=_0x415dad;super(),this[_0x167bc8(0x186)]=_0x2e57fb,this[_0x167bc8(0x428)]=_0x47c9a9,this[_0x167bc8(0x388)]=_0x3b25cd,this['_configService']=_0x543561;const {..._0x1810c7}=_0x49d737['merge']({},_0x17c1be,this['_config']);this[_0x167bc8(0x42a)][_0x167bc8(0x246)](_0xfec0b7,_0x1810c7);}['onStarting'](){const _0xed07d7=_0x415dad;this['_registerDependencies'](),this[_0xed07d7(0x188)]();}[_0x415dad(0x420)](){this['_registerRenderDependencies']();}[_0x415dad(0x26f)](){const _0x325780=_0x415dad;var _0x3bed9a;const _0x3421be=[[_0x9c3829],[_0x51ff3e],[_0xf45f60],[_0x3d62e9],[_0x2544c2],[_0x159f52],[_0x37350b,{'useClass':_0x1c2050}],[_0xcfaf25[_0x325780(0x30b)],{'useClass':_0xcfaf25['WebSocketService']}],[_0x1ebeaa[_0x325780(0x21d)],{'useClass':_0x5aecc6}],[_0x2ad16c[_0x325780(0x16e)]],[_0x269e5c],[_0x51d0d6],[_0x3c63d8],[_0x232dcb],[_0x2ad16c[_0x325780(0x326)]]];this[_0x325780(0x186)][_0x325780(0x392)]&&_0x3421be[_0x325780(0x2c1)]([_0x49f423]),_0x49d737[_0x325780(0x21a)](this['_injector'],_0x49d737['mergeOverrideWithDependencies'](_0x3421be,(_0x3bed9a=this[_0x325780(0x186)])==null?void 0x0:_0x3bed9a[_0x325780(0x1eb)]));}[_0x415dad(0x1b9)](){const _0x574e75=_0x415dad;this[_0x574e75(0x25d)](this[_0x574e75(0x428)]['registerRenderModule'](_0x49d737[_0x574e75(0x152)][_0x574e75(0x303)],[_0x24d610])),this[_0x574e75(0x25d)](this[_0x574e75(0x428)]['registerRenderModule'](_0x49d737[_0x574e75(0x152)][_0x574e75(0x369)],[_0x1ecd79]));}['_initDependencies'](){const _0x447e7a=_0x415dad;_0x49d737['touchDependencies'](this[_0x447e7a(0x388)],[[_0x3c63d8],[_0x2ad16c['DesktopCollaborationStatusDisplayController']],[_0x269e5c],[_0x51d0d6],[_0x2ad16c[_0x447e7a(0x326)]],[_0x51ff3e]]),this['_config'][_0x447e7a(0x392)]&&_0x49d737[_0x447e7a(0x2e6)](this['_injector'],[[_0x49f423]]);}},_0x26f39f(_0x2ad16c[_0x415dad(0x33e)],_0x415dad(0x1ca),_0x493364),_0x2ad16c['UniverCollaborationClientUIPlugin']=_0xd90f0([_0x49d737['DependentOn'](_0x1ebeaa[_0x415dad(0x3ec)]),_0xa12808(0x1,_0x3b0527[_0x415dad(0x2f9)]),_0xa12808(0x2,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0xa12808(0x3,_0x49d737[_0x415dad(0x1e8)])],_0x2ad16c['UniverCollaborationClientUIPlugin']);var _0x2be350=Object['getOwnPropertyDescriptor'],_0x48bd57=(_0x2d903e,_0x48466a,_0x2771f5,_0x39872b)=>{const _0x298510=_0x415dad;for(var _0x1aed9d=_0x39872b>0x1?void 0x0:_0x39872b?_0x2be350(_0x48466a,_0x2771f5):_0x48466a,_0x3fa382=_0x2d903e[_0x298510(0x3af)]-0x1,_0x378d21;_0x3fa382>=0x0;_0x3fa382--)(_0x378d21=_0x2d903e[_0x3fa382])&&(_0x1aed9d=_0x378d21(_0x1aed9d)||_0x1aed9d);return _0x1aed9d;},_0x224cf3=(_0x244bfd,_0x4b8c27)=>(_0x3f5255,_0xc8c8a5)=>_0x4b8c27(_0x3f5255,_0xc8c8a5,_0x244bfd);_0x2ad16c[_0x415dad(0x338)]=class extends _0x1ebeaa[_0x415dad(0x224)]{constructor(_0x5232cd,_0x383cee,_0x18a2b5,_0x93feb5,_0x568502){super(_0x5232cd,_0x383cee,_0x18a2b5,_0x93feb5,_0x568502);}async[_0x415dad(0x284)](_0x1b6cbe){const _0x1890d6=_0x415dad,_0x1c08ee=await this[_0x1890d6(0x3a8)](),_0x4f3782=this[_0x1890d6(0x1ff)](_0x1b6cbe,_0x1c08ee);return this[_0x1890d6(0x3cb)](_0x4f3782);}['_createSocketURL'](_0x6a2d20,_0x1e77a2){const _0x57c2c0=_0x415dad,_0x274bf6=typeof window>'u'?new URL(_0x6a2d20):new URL(_0x6a2d20,window[_0x57c2c0(0x21e)][_0x57c2c0(0x25e)]);_0x274bf6[_0x57c2c0(0x270)][_0x57c2c0(0x18b)](_0x57c2c0(0x2a5),_0x1e77a2);const _0x466e85=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x57c2c0(0x18e)]);return _0x466e85[_0x57c2c0(0x356)](_0x57c2c0(0x3c8))&&_0x274bf6[_0x57c2c0(0x270)][_0x57c2c0(0x18b)](_0x57c2c0(0x3c8),_0x466e85[_0x57c2c0(0x356)]('runId')),_0x274bf6[_0x57c2c0(0x37c)]();}async[_0x415dad(0x3a8)](){const _0x2dec94=_0x415dad;var _0x173042,_0x58a038,_0x4d7d36;const _0x6f38a4=this[_0x2dec94(0x42a)][_0x2dec94(0x35d)](_0x1ebeaa[_0x2dec94(0x3d0)]),_0xacfb71=(_0x173042=_0x6f38a4==null?void 0x0:_0x6f38a4[_0x2dec94(0x280)])!=null?_0x173042:_0x1ebeaa['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4d7d36=(_0x58a038=(await this['_httpService']['get'](_0xacfb71,{'headers':{'Content-Type':_0x2dec94(0x2c4)}}))['body'])==null?void 0x0:_0x58a038[_0x2dec94(0x2be)])!=null?_0x4d7d36:'';}},_0x2ad16c[_0x415dad(0x338)]=_0x48bd57([_0x224cf3(0x0,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0x224cf3(0x1,_0x49d737['Inject'](_0xcfaf25['HTTPService'])),_0x224cf3(0x2,_0x49d737[_0x415dad(0x1e8)]),_0x224cf3(0x3,_0x49d737[_0x415dad(0x3a5)]),_0x224cf3(0x4,_0x3ba40b[_0x415dad(0x1f7)])],_0x2ad16c[_0x415dad(0x338)]);var _0x3ad0f0=Object[_0x415dad(0x417)],_0x189f56=(_0x14d837,_0x16c237,_0x23904c,_0x42c477)=>{const _0x4cc090=_0x415dad;for(var _0x3a43b1=_0x42c477>0x1?void 0x0:_0x42c477?_0x3ad0f0(_0x16c237,_0x23904c):_0x16c237,_0x5f2554=_0x14d837[_0x4cc090(0x3af)]-0x1,_0x402a29;_0x5f2554>=0x0;_0x5f2554--)(_0x402a29=_0x14d837[_0x5f2554])&&(_0x3a43b1=_0x402a29(_0x3a43b1)||_0x3a43b1);return _0x3a43b1;},_0x42ca8a=(_0x28f4c9,_0x322ccc)=>(_0x3a5661,_0x3e0d7d)=>_0x322ccc(_0x3a5661,_0x3e0d7d,_0x28f4c9);_0x2ad16c[_0x415dad(0x266)]=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0xf7de10,_0x2d4470,_0x5da6f3){const _0x44633d=_0x415dad;super(),this[_0x44633d(0x2e3)]=_0xf7de10,this[_0x44633d(0x262)]=_0x2d4470,this[_0x44633d(0x42a)]=_0x5da6f3;}async[_0x415dad(0x2fa)](_0x267944,_0x4bc0f5,_0x7cb481,..._0x2a57ff){const _0x46c4c9=_0x415dad;var _0x9f01fb,_0x3200a5,_0x1060f4,_0x1b0610;const _0x2213b9=this[_0x46c4c9(0x2e3)][_0x46c4c9(0x285)]();if(!_0x2213b9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x444098=((_0x9f01fb=this[_0x46c4c9(0x42a)][_0x46c4c9(0x35d)](_0x1ebeaa[_0x46c4c9(0x21f)]))!=null?_0x9f01fb:_0x1ebeaa['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x267944+_0x46c4c9(0x250)+_0x4bc0f5,_0x59709a=new URL(window['location'][_0x46c4c9(0x260)]),_0x3eb148={'scriptId':_0x267944,'runId':(_0x3200a5=_0x59709a[_0x46c4c9(0x270)][_0x46c4c9(0x356)](_0x46c4c9(0x3c8)))!=null?_0x3200a5:'','function':_0x4bc0f5,'unitId':_0x2213b9['getUnitId'](),'argsOfFunction':JSON[_0x46c4c9(0x19d)](_0x2a57ff),'invokeId':(_0x1060f4=_0x7cb481[_0x46c4c9(0x1ed)])!=null?_0x1060f4:'','executionId':(_0x1b0610=_0x7cb481['executionId'])!=null?_0x1b0610:''};try{const _0xe7e73f=await this['_httpService'][_0x46c4c9(0x19a)](_0x444098,{'body':_0x3eb148});return _0xe7e73f[_0x46c4c9(0x314)][_0x46c4c9(0x291)]&&_0xe7e73f['body']['error'][_0x46c4c9(0x245)]!==_0x86bd58['OK']?_0x46c4c9(0x337):_0xe7e73f[_0x46c4c9(0x314)][_0x46c4c9(0x380)];}catch{return _0x46c4c9(0x337);}}},_0x2ad16c['RemoteUniscriptService']=_0x189f56([_0x42ca8a(0x0,_0x49d737[_0x415dad(0x3e4)]),_0x42ca8a(0x1,_0x49d737['Inject'](_0xcfaf25['HTTPService'])),_0x42ca8a(0x2,_0x49d737[_0x415dad(0x1e8)])],_0x2ad16c[_0x415dad(0x266)]);const _0x5e28c6=0x7530,_0x37e42c=_0x415dad(0x351);class _0x2d15ae extends _0x49d737[_0x415dad(0x1bc)]{constructor(){const _0x403d48=_0x415dad;super(),_0x45e42d(this,_0x403d48(0x36a),_0x49d737[_0x403d48(0x230)]()),_0x45e42d(this,_0x403d48(0x35a),new Set()),_0x45e42d(this,_0x403d48(0x3e0),new Map()),_0x45e42d(this,_0x403d48(0x376),null),_0x45e42d(this,_0x403d48(0x1e7),new Map()),_0x45e42d(this,_0x403d48(0x335),new Map()),this[_0x403d48(0x27e)]();}[_0x415dad(0x1bb)](){const _0x2002ba=_0x415dad;super[_0x2002ba(0x1bb)](),this[_0x2002ba(0x1e7)][_0x2002ba(0x415)]((_0x2feba5,_0x1c9472)=>this[_0x2002ba(0x171)](_0x1c9472)),this[_0x2002ba(0x376)]&&window[_0x2002ba(0x3e6)](this[_0x2002ba(0x376)]);}['getUnitStatus$'](_0xa7067f){const _0x2c06eb=_0x415dad;return this[_0x2c06eb(0x257)](_0xa7067f)[_0x2c06eb(0x37e)](_0x13a994[_0x2c06eb(0x292)]());}[_0x415dad(0x40f)](_0xaf2442){const _0x52af35=_0x415dad;this['_selfUnitIDs'][_0x52af35(0x332)]===0x0&&this[_0x52af35(0x289)](),this[_0x52af35(0x35a)][_0x52af35(0x248)](_0xaf2442),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xaf2442],'isForwarded':!0x1});}[_0x415dad(0x389)](_0x48e126){const _0x39faf0=_0x415dad;this[_0x39faf0(0x35a)][_0x39faf0(0x227)](_0x48e126),this[_0x39faf0(0x35a)][_0x39faf0(0x332)]===0x0&&this['_heartbeatTimer']&&window[_0x39faf0(0x3e6)](this['_heartbeatTimer']);}[_0x415dad(0x27e)](){const _0x3b20c5=_0x415dad;this[_0x3b20c5(0x25d)](_0x49d737[_0x3b20c5(0x24a)](_0x13a994[_0x3b20c5(0x42e)](window,_0x3b20c5(0x3cc))['subscribe'](_0x857c58=>{const _0x1d89d0=_0x3b20c5;if(_0x857c58['key']!==_0x37e42c||!_0x857c58[_0x1d89d0(0x31d)])return;const _0x23766d=JSON[_0x1d89d0(0x3dd)](_0x857c58[_0x1d89d0(0x31d)]);this[_0x1d89d0(0x1fd)](_0x23766d);}))),window[_0x3b20c5(0x215)](_0x3b20c5(0x41c),()=>this[_0x3b20c5(0x2e7)]({'type':0x1,'memberID':this[_0x3b20c5(0x36a)],'unitIDs':Array['from'](this[_0x3b20c5(0x35a)])}));}[_0x415dad(0x1fd)](_0x5d3578){const _0x10c55e=_0x415dad;switch(_0x5d3578[_0x10c55e(0x3b2)]){case 0x0:this[_0x10c55e(0x2b1)](_0x5d3578);break;case 0x1:this[_0x10c55e(0x3a2)](_0x5d3578);break;case 0x2:this[_0x10c55e(0x385)](_0x5d3578);break;}}['_handleJoinEvent'](_0x3ebed5){const _0x3f6d14=_0x415dad,{unitIDs:_0x44a1d7,memberID:_0x4005f3,isForwarded:_0x299a2e}=_0x3ebed5;_0x44a1d7[_0x3f6d14(0x415)](_0x6b59d6=>{const _0x4ca6d2=_0x3f6d14;if(!_0x299a2e&&this[_0x4ca6d2(0x3e0)][_0x4ca6d2(0x2c3)](_0x6b59d6)&&this[_0x4ca6d2(0x257)](_0x6b59d6)[_0x4ca6d2(0x31b)](_0x1ebeaa[_0x4ca6d2(0x30d)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x6b59d6)||!this[_0x4ca6d2(0x3e0)][_0x4ca6d2(0x356)](_0x6b59d6)[_0x4ca6d2(0x2c3)](_0x4005f3)){const _0x5d2744=this[_0x4ca6d2(0x3e0)][_0x4ca6d2(0x356)](_0x6b59d6)||new Set();_0x5d2744[_0x4ca6d2(0x248)](_0x4005f3),this['_unitOnClients'][_0x4ca6d2(0x18b)](_0x6b59d6,_0x5d2744),this[_0x4ca6d2(0x157)](_0x4005f3);}}),_0x299a2e||this[_0x3f6d14(0x2e7)]({'type':0x0,'memberID':this[_0x3f6d14(0x36a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x415dad(0x157)](_0x3ac490){const _0x158ad0=_0x415dad;this[_0x158ad0(0x171)](_0x3ac490);const _0x414b2d=window[_0x158ad0(0x339)](()=>{const _0x56f0de=_0x158ad0;this[_0x56f0de(0x3e0)]['forEach'](_0x56356d=>{const _0x1626f1=_0x56f0de;_0x56356d[_0x1626f1(0x227)](_0x3ac490);});},_0x5e28c6*0x2);this[_0x158ad0(0x1e7)]['set'](_0x3ac490,_0x414b2d);}[_0x415dad(0x171)](_0x52e8a2){const _0x2fb85b=_0x415dad;if(this[_0x2fb85b(0x1e7)][_0x2fb85b(0x2c3)](_0x52e8a2)){const _0x32193e=this['_clearOtherTimers'][_0x2fb85b(0x356)](_0x52e8a2);_0x32193e&&window[_0x2fb85b(0x38d)](_0x32193e),this[_0x2fb85b(0x1e7)][_0x2fb85b(0x18b)](_0x52e8a2,null);}}[_0x415dad(0x3a2)](_0x185706){const {memberID:_0x25af14,unitIDs:_0x21cf51}=_0x185706;_0x21cf51['forEach'](_0x2d37ee=>{const _0x4b50db=_0x38fc;var _0x165c61;const _0x4225d0=this['_unitOnClients'][_0x4b50db(0x356)](_0x2d37ee);_0x4225d0&&(_0x4225d0[_0x4b50db(0x227)](_0x25af14),(_0x165c61=this['_ensureSubject'](_0x2d37ee))==null||_0x165c61['next'](_0x4225d0['size']===0x0?_0x1ebeaa[_0x4b50db(0x30d)][_0x4b50db(0x3f6)]:_0x1ebeaa[_0x4b50db(0x30d)][_0x4b50db(0x2d8)]));}),this['_removeClearOtherTimer'](_0x25af14);}[_0x415dad(0x385)](_0x3e4e5f){const _0x3fa6b2=_0x415dad;this[_0x3fa6b2(0x157)](_0x3e4e5f[_0x3fa6b2(0x1e3)]);}[_0x415dad(0x2e7)](_0x24033c){const _0x1909ad=_0x415dad;localStorage[_0x1909ad(0x398)](_0x37e42c,JSON[_0x1909ad(0x19d)](_0x24033c));}[_0x415dad(0x289)](){const _0x4c4c2e=_0x415dad;this[_0x4c4c2e(0x376)]=window[_0x4c4c2e(0x24b)](()=>{const _0x5bffcb=_0x4c4c2e;this[_0x5bffcb(0x2e7)]({'type':0x2,'memberID':this[_0x5bffcb(0x36a)]});},_0x5e28c6);}[_0x415dad(0x257)](_0x5c1501){const _0x49ce3d=_0x415dad;return this[_0x49ce3d(0x335)][_0x49ce3d(0x2c3)](_0x5c1501)||this[_0x49ce3d(0x335)][_0x49ce3d(0x18b)](_0x5c1501,new _0x13a994['BehaviorSubject'](_0x1ebeaa[_0x49ce3d(0x30d)][_0x49ce3d(0x3f6)])),this[_0x49ce3d(0x335)][_0x49ce3d(0x356)](_0x5c1501);}}_0x2ad16c[_0x415dad(0x3ad)]=_0x37350b,_0x2ad16c[_0x415dad(0x2ba)]=_0x10a36b,_0x2ad16c[_0x415dad(0x24f)]=_0x2d15ae,_0x2ad16c['WebURLService']=_0x1c2050,Object['defineProperty'](_0x2ad16c,Symbol[_0x415dad(0x357)],{'value':_0x415dad(0x1b8)});}));function _0x1f06(){const _0x4747c1=['Error','_hideTimer','_selfUnitIDs','_shapes','Subject','getConfig','M0\x200H16V16H0z','ENTITLE_CAN_NOT_BUY_LOWER_OTP','subscribe','Rectangle','m1Prime','includes','IBeforeCloseService','_univerInstanceService','url(#$1','SUBMIT_CHANGESET_TIMEOUT','APPLY_DUPLICATED','UNIVER_SHEET','_id','saveOfflineData','hide','subunit','DeleteRangeMoveLeftCommandId','throttleTime','ONLINE','1503160wtEKch','svg','_getFormulaLimitStatus','_transformService','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','_heartbeatTimer','width','_disabled','YUUMI_ALL_TABLES_IS_INVALID','tag','SetSelectionsOperation','toString','endColumn','pipe','USERS_LEAVE','result','assign','_localStorageService','_commandService','IRemoteInstanceService','_handleHeartbeatEvent','Vector2','useRef','_injector','disposeUnit','transformMutationsWithChangeset','RevisionService','combineLatest','clearTimeout','colno','handleInsertRow','font','univer-flex\x20univer-items-center','enableFrontendLog','addClipboardHook','cursorInfo$','blue.400','resize','WECHAT_HAS_BEEN_BOUND','setItem','_setFormulaLimitStatus','jsx','_dataLoaderService','_getMergeRange','uni.network.url-service','toRgbString','fillText','findNodePositionByCharIndex','_docTransformSelectionsService','_handleLeaveEvent','collabStatus.offline','sheetID','ILogService','idSuffix','saveTaskMap','_getSessionTicket','UniverEngineFormula','_collabSessionService','INVALID_ARGUMENT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IURLService','_collaborationSessionService','length','totalFormulasToCalculate','USER_IS_ANONYMOUS','type','flatMap','labelPosition','_name','beforeCommandExecuted','Inject','debounce','saveImage','SetTextSelectionsOperation','reason','Success','column','rxjs','getSheetId','getColorFromTheme','_initEntityListener','getUnitId','shareReplay','SetFormulaCalculationNotificationMutation','React','UniverSheetsUi','currentUsage','runId','@univerjs/rpc','source','_doCreateSocket','storage','addObject','14usQMIB','_hover','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','stack','unshift','collabStatus.syncing','session.connection-failed','DATA_SOURCE_TOO_LARGE','transformByState','_cursorInfo$','_startSheetCollabCursor','ENTITLE_INVALID_COUPON_CODE','deepClone','_urlService','NodePositionConvertToRectRange','parse','ColorKit','HEADER_MENU','_unitOnClients','YUUMI_CONNECTOR_URL_NOT_FOUND','string','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IUniverInstanceService','APPLY_REVISION_CONFILICT','clearInterval','setAlpha','Shape','asObservable','transformRemoteChangeset','[Unhandled\x20Rejection]:\x20','UniverCollaborationClientPlugin','send','measureText','ENTITLE_COUPON_EXPIRED','focused$','setShapeProps','_scheduleSaving','_hasFormulaInDirtyRanges','fillRule','activeSheet$','NO_OTHER_CLIENTS_EDITING','CollaborationStatus','@univerjs/drawing','selection','_initStatusComponent','startRow','REDEMPTION_CODE_HAS_BEEN_CREATED','UPDATE_CURSOR','params','_revisionService','UniverUi','DOC_RANGE_TYPE','useDependency','white','stageInfo','defineProperty','min','evenodd','color','FromArray','textRanges','_initUserListener','_render','OffLineIcon','_refRangeService','editingUnit','IMessageService','_anchor','ENTITLE_COUPON_USED_UP','deserializeRangeWithSheet','_localeService','forEach','ALREADY_EXISTS','getOwnPropertyDescriptor','createIdentifier','entries','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','range','unload','ThemeService','_docSkeletonManagerService','getMemberID','onRendered','_uiPartsService','getUndoRedoMutationParamsCache','...','ITransformService','DocStateChangeManagerService','fill','SessionStatus','_renderManagerService','startsWith','_configService','currentColor','_roomMembers$','UniverDesign','fromEvent','docStateChange$','CHANGESET_REVISION_CONFILICT','SUCCESS','_themeService','/universer-api/license/formula/limit/done','_labelPosition','HTTPService','debug','now','currentTheme$','UniverInstanceType','_localCacheService','VIEW_MAIN','getStateCache','isTransformMutationsWithChangesetSuccess','_scheduleClearOtherTimer','ENTITLE_USE_COUPON_NOT_1ST_TRADE','ERROR_AGAIN','_transformHistoryAndStateStack','collabCursorState$','startColumn','_getScale','drawWith','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','Injector','getUniverSheetInstance','handleDeleteRangeMoveUp','TRANSFORM_CHANGE_OBSERVABLE_TYPE','USER_NOT_FOUND','shift','SNAPSHOT_INVALID_SNAPSHOT','unit','getViewport','history','_updateSubUnitFromURLParams','ICommandService','skeleton','DesktopCollaborationStatusDisplayController','round','switchMap','_removeClearOtherTimer','getMergeData','_docClipboardService','_range','current','_hovered','LocaleService','CollaborationSessionService','_initWindowErrorListener','_backgroundColor','message','_collabCursorController','EffectRefRangId','_drawTextRange','_pollingInterval','_showGuardMessage','SOCKET_FAILED','_initStatusListener','_entityInit$','isTransformMutationFailure','onPointerMove$','_config','2550087dVxGDh','_initDependencies','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SheetSkeletonManagerService','set','SHEET_VIEWPORT_KEY','_handleHover','search','name','collab-text-anchor-','undoState','handleDeleteRangeMoveLeft','Tools','getActiveSheet','collaboration.offline-data-not-saved','roomMembers$','redoState','serializeRangeWithSheet','FormulaExecutedStateType','post','158610KPQCpz','getActiveRange','stringify','/universer-api/frontend/logs','onMouseMove','getAncestorScale','subscribeEvent','ENSURE_SNAPSHOT_EXECUTION','debounceTime','top','hovered','Rect','CONFLICT','collab-client.tooltip.reconnect','_messageService','[CollaborationDataLoaderController]','0\x200\x2017\x2016','div','lineno','whenReady','_sheetSkeletonManagerService','selections','dispose$','[Window\x20Error]:\x20','replaceDocRanges','_taskIds','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_docStateChangeManagerService','_docSyncEditingCollabCursorService','Module','_registerRenderDependencies','removeEventListener','dispose','Disposable','_assignedColors','_initCommandInterceptor','InsertRangeMoveRightCommandId','CollaborationController','_checkAndWaitForCalculationPermission','init','_setupBeforeClosingHandler','UniverDrawing','_lastResponseTimestamp','PENDING','rxjs/operators','_imageIoService','displayName','pluginName','getParam','LICENSE_IMPORT_SIZE_EXCEEDED','exhaustSavingTask','path','_syncEditingCollabCursorService','restore','unsubscribe','@univerjs/sheets-ui','MOBILE_HAS_BEEN_BOUND','ILocalStorageService','unitID','INVITE_CODE_HAS_BEEN_UES','transformIMECache','_draw','_beforeCloseService','_docTransformStateCacheService','TOO_MANY_REQUESTS','getLocalCacheKey','fillStyle','_updateLocalCursor','_document','green.600','_startDocCollabCursor','SOCKET_FAILED_RETRY','memberID','LICENSE_DISTRO_REJECTED','onPointerLeave$','text','_clearOtherTimers','IConfigService','maxFormulaLimit','univerjs-icon\x20univerjs-icon-','override','_initCommandExecutedListener','invokeId','_uploadLog','dirtyRanges','FETCH_MISS','REDEMPTION_USER_NOT_ELIGIBLE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','yellow.400','getOffsetConfig','collabStatus.notCollab','formula.calculation.waiting','ISnapshotServerService','AWAITING','_collabCursorState$','_lastPointer','_status$','collabStatus.conflict','_handleEvent','transformMutation','_createSocketURL','runRefRangeMutations','engine','collab-text-range-','_scene','APPLY_REJECT','EMAIL_HAS_BEEN_BOUND','getCurrentUnitForType','_toggleOnline','session.collaboration-timeout','BehaviorSubject','unitId','ranges','26878070GjaBeu','START_CALCULATION','CollaborationUIEventId','roomMembers','arc','catch','releaseFormulaLimitUrl','NOT_FOUND','UniverSheets','addEventListener','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','some','_eventUnsubscribe','lineTo','registerDependencies','_updateCollabCursors','height','ILocalCacheService','location','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','75SfHIRI','_getAnchorBounding','onPointerEnter$','YUUMI_AI_RUN_FAILED','CollaborationSocketService','getRelativeToViewportCoord','translate(.97)','delete','REDEMPTION_CODE_FULLY_REDEEMED','purple.300','getSkeleton','LOCAL_CACHE_INTERVAL','DocSelectionManagerService','@univerjs-pro/collaboration-client','RegularPolygon','getRenderById','generateRandomId','setStateCache','RefRangeService','RichTextEditingMutation','getDocRanges','from','data','m2Prime','sheetId','transformSelections','CONNECTOR_DATA_TOO_LARGE','UniverRpc','INotificationService','show','colorChannel1','REDEMPTION_CODE_NOT_STARTED','backgroundColor','imageSourceType','OnLineIcon','#FFF','symbol','code','setConfig','UniverIcon','add','REDEMPTION_USER_REDEEM_TIMES_EXCEED','toDisposable','setInterval','urlChange$','forwardRef','RemoveColCommandId','WebBrowserSingleActiveUnitService','/run/','UniverDocs','MOBILE_VERIFY_CODE_MISMATCH','isArray','getCoordByCell','2991856yBMQuy','replaceState','_ensureSubject','LOGIN_TOKEN_PROCESSING_FAILED','children','black','registerRefRange','useObservable','disposeWithMe','origin','ENTITLE_DUP_SUBSCRIPTION','href','permission.title','_httpService','moveTo','OFFLINE','65LjEOja','RemoteUniscriptService','formula.calculation.unable','clipPath','TEXT','_initUnhandledRejectionListener','UniverCore','pushState','1em','substring','_registerDependencies','searchParams','MemberService','Workbook','random','YUUMI_NO_CUBOID_FOR_QUESTION','then','_currentUsage','none','2982747hLxyqC','isActive','UniverNetwork','transformStateCache','Warning','executeCommand','_init','cursorInfo','wsSessionTicketUrl','_maxFormulaLimit','COLORS','DisposableCollection','createSocket','getFocusedUnit','getCollabEntity$','actions','getColor','_scheduleHeartbeat','_setupSubUnitSync','@univerjs/docs-ui','getCellMatrix','REDEMPTION_CODE_INACTIVE','off-line-icon_clip0_910_343','on-line-icon_clip0_910_349','_updateURLWithCurrentState','error','distinctUntilChanged','_onCursorUpdate','_collaborationController','getCellPositionByOffset','collaboration.single-unit.warning','currentSkeleton$','react','assignAColorForMemberID','use','ENTITLE_REPORT_LIMIT_EXCEED','CLOSE_ROOM','connectInjector','CollaborationEvent','with','_logService','UniverEngineRender','_anchorDot','createInstance','_session','sessionTicket','INVITE_CODE_ALREADY_BOUND','SetWorksheetActivateCommand','YUUMI_ASYNCIO_CANCELLED','stage','INVITE_CODE_REQUIRED','_toggleOffline','CanceledError','PY_RUNTIME_SCRIPT_ERROR','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSheetObject','filename','_handleJoinEvent','event$','[LogService\x20Error]:\x20','DataLoaderService','_applyCommand','UniverProCollaboration','getUnit','defs','CURRENT_STATUS_CANNOT_OPERATE','SheetCollabCursorShape','ENTITLE_CHAT_LIMIT_EXCEED','21684EZrCNo','_notificationService','ticket','CollaborationUIEventService','_clearPolling','push','doc.mutation.rich-text-editing','has','application/json','MessageType','takeUntil','\x20at\x20','_cachedData','endRow','@univerjs/ui','Optional','map','UNAUTHENTICATED','TEXT_RANGE_LAYER_INDEX','@univerjs/network','collabStatus.fetchMiss','SetDocZoomRatioOperation','onCommandExecuted','_refreshCollabCursors','permission.content','rgba(255,\x20255,\x20255,\x200.01)','triggerDblclick','handleInsertRangeMoveRight','OTHER_CLIENTS_EDITING','BuiltInUIPart','_drawRectRange','RECT','_memberService','getSheetBySheetId','getTypeOfUnitDisposed$','_docSkeleton','addHandlerCallback','values','YUUMI_URL_COL_OUT_OF_RANGE','_instanceService','CommandType','all','touchDependencies','_send','IImageIoService','xlink:href','handleIRemoveRow','_removeCollabCursors','save','_checkCalculationAvailable','limitInfo','_onCursorDelete','_colorAssignService','_drawAnchor','YUUMI_UNABLE_LOAD_URL','setParam','YUUMI_RATE_OVER_LIMIT','getVpScrollXYInfoByPosToVp','entityInit$','filter','fromEventSubject','IRenderManagerService','runOnServer','url(#off-line-icon_clip0_910_343)','clsx','_releaseCalculationLimit','join','replace','getCollabCursors$','createElement','APPLY_PERMISSION_DENIED','UNIVER_DOC','_colorIndex','Loading','_color','_cursor','SYNCED','addObjects','disableLocalCache','ISocketService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UnitStatus','getTypeOfUnitAdded$','@univerjs/docs','INTERNAL_ERROR','syncEditingCollabCursor','attrs','LOCAL_CACHE_INTERVAL_KEY','body','socket$','/universer-api/license/formula/limit/status','requireSession','loadOfflineData','_entities','getValue','next','collaboration.closeRoom','newValue','merge','getRangePointData','COMPLETION_FINISHED','UNRECOGNIZED','react/jsx-runtime','_startCalculationLimit','off-line-icon','mask','CollaborationDataLoaderController','complete','_docTransformIMECacheService','@univerjs/sheets','_initEvent','_cursorShapes','_online','PAYMENT_CHANNEL_NOT_SUPPORT','DocIMEInputManagerService','Tooltip','?taskId=','mutations','size','getCurrent','eventID','_unitStatus','AUTHORIZE_CODE_ILLEGAL','Failed','BrowserCollaborationSocketService','setTimeout','DocCollaborationEntity','_cursors','NOT_COLLAB','collabStatus.synced','UniverCollaborationClientUIPlugin','ENTITLE_INSUFFICIENT_QUOTA','setUndoRedoMutationParamsCache','_getSheetObject','@univerjs/engine-render','row','USER_NOT_INVITED_CODE','LICENSE_MAX_UNITS_EXCEEDED','onLocalMutation','_context','_saveCache','unhandledrejection','UNDEFINED','_saveTaskMap','getMember','INVALID_INVITE_CODE','parseInt','ENTITLE_NEED_BILLING_ADDRESS','_collaborationUIEventService','ACTIVE_UNIT_EVENT_CHANNEL','RxDisposable','Unknown\x20user','_transformPreviousActiveRange','_textBubble','get','toStringTag'];_0x1f06=function(){return _0x4747c1;};return _0x1f06();}
8
+ function _0x529e(_0x43c004,_0x57bb13){_0x43c004=_0x43c004-0x12d;const _0x773f39=_0x773f();let _0x529e1c=_0x773f39[_0x43c004];return _0x529e1c;}(function(_0x46151b,_0x393009){const _0x387a0f=_0x529e,_0xa7923=_0x46151b();while(!![]){try{const _0x31011f=-parseInt(_0x387a0f(0x2c0))/0x1*(parseInt(_0x387a0f(0x314))/0x2)+parseInt(_0x387a0f(0x3b9))/0x3+-parseInt(_0x387a0f(0x376))/0x4+-parseInt(_0x387a0f(0x38c))/0x5+parseInt(_0x387a0f(0x3fa))/0x6+parseInt(_0x387a0f(0x2b2))/0x7*(parseInt(_0x387a0f(0x32e))/0x8)+parseInt(_0x387a0f(0x3ee))/0x9;if(_0x31011f===_0x393009)break;else _0xa7923['push'](_0xa7923['shift']());}catch(_0x4a3851){_0xa7923['push'](_0xa7923['shift']());}}}(_0x773f,0xcae86),function(_0x349b61,_0x470876){const _0x49a34d=_0x529e;typeof exports==_0x49a34d(0x2a0)&&typeof module<'u'?_0x470876(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==_0x49a34d(0x410)&&define['amd']?define(['exports',_0x49a34d(0x252),'@univerjs-pro/collaboration-client',_0x49a34d(0x3b4),_0x49a34d(0x3b8),_0x49a34d(0x39c),'@univerjs/design',_0x49a34d(0x2e3),_0x49a34d(0x329),_0x49a34d(0x2fd),_0x49a34d(0x25a),'@univerjs/network',_0x49a34d(0x1fc),_0x49a34d(0x2e5),_0x49a34d(0x3e3),_0x49a34d(0x151),'@univerjs/engine-formula',_0x49a34d(0x14e),_0x49a34d(0x40b)],_0x470876):(_0x349b61=typeof globalThis<'u'?globalThis:_0x349b61||self,_0x470876(_0x349b61[_0x49a34d(0x407)]={},_0x349b61[_0x49a34d(0x198)],_0x349b61[_0x49a34d(0x326)],_0x349b61[_0x49a34d(0x20e)],_0x349b61[_0x49a34d(0x2e2)],_0x349b61['rxjs'],_0x349b61[_0x49a34d(0x283)],_0x349b61[_0x49a34d(0x198)],_0x349b61[_0x49a34d(0x3cf)],_0x349b61[_0x49a34d(0x2ad)],_0x349b61[_0x49a34d(0x183)],_0x349b61['UniverNetwork'],_0x349b61[_0x49a34d(0x313)],_0x349b61[_0x49a34d(0x29e)],_0x349b61[_0x49a34d(0x1a6)],_0x349b61['UniverDocs'],_0x349b61['UniverEngineFormula'],_0x349b61[_0x49a34d(0x39c)]['operators'],_0x349b61[_0x49a34d(0x2ae)]));}(this,function(_0x44307e,_0x5228ee,_0x49b930,_0x63378d,_0x2c32f5,_0xdb7e78,_0x25c8b9,_0x17a231,_0x5cb2c9,_0xd76991,_0x3be252,_0x4af045,_0x466fa5,_0x8f1469,_0x1a1813,_0x461a0f,_0x1a201e,_0x410faa,_0x128e05){'use strict';const _0xa2269c=_0x529e;var _0x417d29=Object[_0xa2269c(0x159)],_0x55fe2b=(_0x17366f,_0x91a24e,_0x33c1fb)=>_0x91a24e in _0x17366f?_0x417d29(_0x17366f,_0x91a24e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33c1fb}):_0x17366f[_0x91a24e]=_0x33c1fb,_0x354915=(_0x490cdc,_0x56a536,_0x11a92c)=>_0x55fe2b(_0x490cdc,typeof _0x56a536!=_0xa2269c(0x2f7)?_0x56a536+'':_0x56a536,_0x11a92c);function _0x4affd3({ref:_0x204c7c,..._0x15f5b4}){const _0x2e7de5=_0xa2269c,{icon:_0x457eba,id:_0x339b47,className:_0x104fba,extend:_0x223d4a,..._0xc55f25}=_0x15f5b4,_0x210816=(_0x2e7de5(0x3e2)+_0x339b47+'\x20'+(_0x104fba||''))['trim'](),_0xe5da07=_0x17a231[_0x2e7de5(0x316)]('_'+_0x176112());return _0x3bcd3d(_0x457eba,''+_0x339b47,{'defIds':_0x457eba[_0x2e7de5(0x39d)],'idSuffix':_0xe5da07[_0x2e7de5(0x185)]},{'ref':_0x204c7c,'className':_0x210816,..._0xc55f25},_0x223d4a);}function _0x3bcd3d(_0x5d235d,_0x3db30c,_0x3886db,_0x2dda0b,_0x37c1f1){const _0x481628=_0xa2269c;return _0x17a231[_0x481628(0x2d4)](_0x5d235d['tag'],{'key':_0x3db30c,..._0x5d228a(_0x5d235d,_0x3886db,_0x37c1f1),..._0x2dda0b},(_0x49854e(_0x5d235d,_0x3886db)['children']||[])[_0x481628(0x1e3)]((_0xd7171b,_0x366eec)=>_0x3bcd3d(_0xd7171b,_0x3db30c+'-'+_0x5d235d[_0x481628(0x3f7)]+'-'+_0x366eec,_0x3886db,void 0x0,_0x37c1f1)));}function _0x5d228a(_0x99ed47,_0x29257c,_0x1bc02d){const _0x30a201=_0xa2269c,_0x235559={..._0x99ed47[_0x30a201(0x3ba)]};_0x1bc02d!=null&&_0x1bc02d[_0x30a201(0x323)]&&_0x235559[_0x30a201(0x41c)]===_0x30a201(0x323)&&(_0x235559[_0x30a201(0x41c)]=_0x1bc02d[_0x30a201(0x323)]),_0x99ed47[_0x30a201(0x3f7)]===_0x30a201(0x29c)&&_0x235559['id']&&(_0x235559['id']=_0x235559['id']+_0x29257c[_0x30a201(0x262)]),Object[_0x30a201(0x3ce)](_0x235559)['forEach'](([_0x6373e9,_0x52e7ae])=>{const _0x50f931=_0x30a201;_0x6373e9===_0x50f931(0x29c)&&typeof _0x52e7ae==_0x50f931(0x2d1)&&(_0x235559[_0x6373e9]=_0x52e7ae[_0x50f931(0x3f2)](/url\(#(.*)\)/,_0x50f931(0x1b5)+_0x29257c['idSuffix']+')'));});const {defIds:_0xa155d6}=_0x29257c;return!_0xa155d6||_0xa155d6[_0x30a201(0x3af)]===0x0||(_0x99ed47[_0x30a201(0x3f7)]===_0x30a201(0x2bc)&&_0x235559[_0x30a201(0x27a)]&&(_0x235559[_0x30a201(0x27a)]=_0x235559[_0x30a201(0x27a)]+_0x29257c[_0x30a201(0x262)]),Object[_0x30a201(0x3ce)](_0x235559)[_0x30a201(0x399)](([_0xf8f23d,_0x30764a])=>{const _0x4aa27e=_0x30a201;typeof _0x30764a==_0x4aa27e(0x2d1)&&(_0x235559[_0xf8f23d]=_0x30764a[_0x4aa27e(0x3f2)](/url\(#(.*)\)/,_0x4aa27e(0x1b5)+_0x29257c['idSuffix']+')'));})),_0x235559;}function _0x49854e(_0x34de19,_0x16e19b){const _0x3a08e8=_0xa2269c;var _0x106384;const {defIds:_0x4cd127}=_0x16e19b;return!_0x4cd127||_0x4cd127[_0x3a08e8(0x3af)]===0x0?_0x34de19:_0x34de19['tag']===_0x3a08e8(0x22e)&&((_0x106384=_0x34de19[_0x3a08e8(0x218)])!=null&&_0x106384[_0x3a08e8(0x3af)])?{..._0x34de19,'children':_0x34de19[_0x3a08e8(0x218)][_0x3a08e8(0x1e3)](_0x58c89f=>typeof _0x58c89f[_0x3a08e8(0x3ba)]['id']==_0x3a08e8(0x2d1)&&_0x4cd127&&_0x4cd127['includes'](_0x58c89f[_0x3a08e8(0x3ba)]['id'])?{..._0x58c89f,'attrs':{..._0x58c89f[_0x3a08e8(0x3ba)],'id':_0x58c89f[_0x3a08e8(0x3ba)]['id']+_0x16e19b['idSuffix']}}:_0x58c89f)}:_0x34de19;}function _0x176112(){const _0x1767f1=_0xa2269c;return Math[_0x1767f1(0x294)]()[_0x1767f1(0x397)](0x24)['substring'](0x2,0x8);}_0x4affd3['displayName']='UniverIcon';const _0x21c81f={'tag':_0xa2269c(0x3e9),'attrs':{'xmlns':_0xa2269c(0x1a2),'fill':_0xa2269c(0x396),'viewBox':_0xa2269c(0x36f),'width':_0xa2269c(0x33b),'height':_0xa2269c(0x33b)},'children':[{'tag':'g','attrs':{'clipPath':_0xa2269c(0x3dc)},'children':[{'tag':'path','attrs':{'stroke':_0xa2269c(0x362),'d':_0xa2269c(0x331),'strokeLinecap':_0xa2269c(0x2d6),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xa2269c(0x22e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xa2269c(0x30e)},'children':[{'tag':_0xa2269c(0x3ad),'attrs':{'fill':_0xa2269c(0x1dd),'d':_0xa2269c(0x423)}}]}]}],'defIds':[_0xa2269c(0x30e)]},_0x3d6961=_0x17a231['forwardRef'](function(_0x1afe61,_0x54bd2f){const _0x8de741=_0xa2269c;return _0x17a231[_0x8de741(0x2d4)](_0x4affd3,Object[_0x8de741(0x378)]({},_0x1afe61,{'id':'off-line-icon','ref':_0x54bd2f,'icon':_0x21c81f}));});_0x3d6961[_0xa2269c(0x282)]=_0xa2269c(0x324);const _0x5b7bc3={'tag':_0xa2269c(0x3e9),'attrs':{'xmlns':_0xa2269c(0x1a2),'fill':'none','viewBox':_0xa2269c(0x34a),'width':_0xa2269c(0x33b),'height':_0xa2269c(0x33b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xa2269c(0x3ad),'attrs':{'stroke':_0xa2269c(0x362),'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':_0xa2269c(0x2d6),'strokeLinejoin':_0xa2269c(0x2d6),'strokeWidth':1.2}}]},{'tag':_0xa2269c(0x22e),'attrs':{},'children':[{'tag':_0xa2269c(0x3ae),'attrs':{'id':_0xa2269c(0x182)},'children':[{'tag':_0xa2269c(0x3ad),'attrs':{'fill':'white','d':_0xa2269c(0x423),'transform':_0xa2269c(0x3be)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x52e695=_0x17a231['forwardRef'](function(_0x4d1237,_0x3ed03c){const _0x29d69d=_0xa2269c;return _0x17a231[_0x29d69d(0x2d4)](_0x4affd3,Object[_0x29d69d(0x378)]({},_0x4d1237,{'id':_0x29d69d(0x40d),'ref':_0x3ed03c,'icon':_0x5b7bc3}));});_0x52e695[_0xa2269c(0x282)]=_0xa2269c(0x325);function _0x206f1e(_0x519cf0){const _0x1d8661=_0xa2269c;switch(_0x519cf0){case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x3d0)]:return _0x1d8661(0x155);case _0x49b930['CollaborationStatus'][_0x1d8661(0x3fe)]:return _0x1d8661(0x19f);case _0x49b930['CollaborationStatus'][_0x1d8661(0x2f4)]:return _0x1d8661(0x3c5);case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x2cc)]:return _0x1d8661(0x142);case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x18c)]:case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x31e)]:return'collabStatus.syncing';case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x13c)]:case _0x49b930['CollaborationStatus']['PENDING']:return _0x1d8661(0x1c7);}}function _0x53fd79(_0x209ef0){const _0x139bdd=_0xa2269c,{status$:_0x1ab461}=_0x209ef0,_0x4e6a1f=_0x2c32f5[_0x139bdd(0x40a)](_0x1ab461,_0x49b930['CollaborationStatus'][_0x139bdd(0x2cc)]),_0x5eae36=_0x2c32f5[_0x139bdd(0x2bf)](_0x63378d[_0x139bdd(0x428)]),_0xd69406=_0x2c32f5[_0x139bdd(0x2bf)](_0x49b930[_0x139bdd(0x42a)]),_0x5daa68=_0x4e6a1f!==_0x49b930[_0x139bdd(0x27d)]['OFFLINE'],_0x30325d=_0x5eae36['t'](_0x206f1e(_0x4e6a1f)),_0x2bf0c0=_0x5daa68?_0x5228ee['jsx'](_0x52e695,{}):_0x5228ee[_0x139bdd(0x3d4)](_0x3d6961,{}),_0x293dc4=_0x17a231[_0x139bdd(0x220)](()=>{const _0x54e5ef=_0x139bdd;_0x5daa68||_0xd69406[_0x54e5ef(0x16f)]();},[_0x5daa68,_0xd69406]);function _0x1c459c(){const _0xafe6f6=_0x139bdd;return _0x5228ee[_0xafe6f6(0x1cb)](_0xafe6f6(0x257),{'className':_0xafe6f6(0x29f),'onClick':_0x293dc4,'children':[_0x5228ee[_0xafe6f6(0x3d4)]('div',{'className':_0x25c8b9[_0xafe6f6(0x3aa)](_0xafe6f6(0x271),{'univer-text-green-500':_0x5daa68,'univer-text-red-500':!_0x5daa68}),'children':_0x2bf0c0}),_0x5228ee['jsx'](_0xafe6f6(0x257),{'className':_0xafe6f6(0x2df),'children':_0x30325d})]});}return _0x5daa68?_0x1c459c():_0x5228ee[_0x139bdd(0x3d4)](_0x25c8b9['Tooltip'],{'title':_0x5eae36['t']('collab-client.tooltip.reconnect'),'children':_0x1c459c()});}var _0x297817=Object[_0xa2269c(0x2ee)],_0x29e575=(_0x36c875,_0x1d9459,_0x49927a,_0x5f5a9d)=>{const _0x5226ab=_0xa2269c;for(var _0x5339a9=_0x5f5a9d>0x1?void 0x0:_0x5f5a9d?_0x297817(_0x1d9459,_0x49927a):_0x1d9459,_0x3b9047=_0x36c875[_0x5226ab(0x3af)]-0x1,_0x2bfd10;_0x3b9047>=0x0;_0x3b9047--)(_0x2bfd10=_0x36c875[_0x3b9047])&&(_0x5339a9=_0x2bfd10(_0x5339a9)||_0x5339a9);return _0x5339a9;},_0x2fd305=(_0x19aaf7,_0x1b9451)=>(_0x2d5f19,_0x31507f)=>_0x1b9451(_0x2d5f19,_0x31507f,_0x19aaf7);_0x44307e[_0xa2269c(0x345)]=class extends _0x63378d[_0xa2269c(0x2eb)]{constructor(_0xc5e4f2,_0x294e63,_0x37a325,_0x220bc0){const _0x5d8e69=_0xa2269c;super(),_0x354915(this,'_status$',new _0xdb7e78['BehaviorSubject'](_0x49b930[_0x5d8e69(0x27d)][_0x5d8e69(0x2cc)])),(this[_0x5d8e69(0x1ef)]=_0xc5e4f2,this[_0x5d8e69(0x2c9)]=_0x294e63,this[_0x5d8e69(0x2ba)]=_0x37a325,this['_uiPartsService']=_0x220bc0,this[_0x5d8e69(0x3c3)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x40ec40=_0xa2269c;this['disposeWithMe'](this[_0x40ec40(0x1ef)]['focused$'][_0x40ec40(0x287)](_0xdb7e78[_0x40ec40(0x390)](()=>{const _0x53afcb=_0x40ec40,_0x43b8cb=this['_univerInstanceService'][_0x53afcb(0x1b2)]();return _0x43b8cb?this[_0x53afcb(0x2ba)][_0x53afcb(0x30f)](_0x43b8cb[_0x53afcb(0x1b6)]()):_0xdb7e78['of'](null);}),_0xdb7e78[_0x40ec40(0x390)](_0x4da037=>_0x4da037?_0x4da037['status$']:_0xdb7e78['of'](_0x49b930[_0x40ec40(0x27d)][_0x40ec40(0x2cc)])))['subscribe'](_0x2eb629=>{const _0xabfd42=_0x40ec40;this[_0xabfd42(0x421)][_0xabfd42(0x386)](_0x2eb629);}));}[_0xa2269c(0x3c3)](){const _0x355ff4=_0xa2269c;this[_0x355ff4(0x165)](this[_0x355ff4(0x41e)]['registerComponent'](_0x2c32f5[_0x355ff4(0x1be)]['HEADER_MENU'],()=>_0x2c32f5[_0x355ff4(0x270)](_0x50080d({'status$':this[_0x355ff4(0x421)][_0x355ff4(0x187)]()}),this['_injector'])));}},_0x44307e['DesktopCollaborationStatusDisplayController']=_0x29e575([_0x2fd305(0x0,_0x63378d[_0xa2269c(0x240)]),_0x2fd305(0x1,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x2e7)])),_0x2fd305(0x2,_0x63378d['Inject'](_0x49b930[_0xa2269c(0x30d)])),_0x2fd305(0x3,_0x2c32f5[_0xa2269c(0x229)])],_0x44307e[_0xa2269c(0x345)]);function _0x50080d(_0x5efb6f){const {status$:_0x3cd1dd}=_0x5efb6f;return function(){const _0x39f06f=_0x529e;return _0x5228ee[_0x39f06f(0x3d4)](_0x53fd79,{'status$':_0x3cd1dd});};}const _0xdbf68a=_0x63378d[_0xa2269c(0x337)](_0xa2269c(0x1a4));var _0x2842ba=Object[_0xa2269c(0x2ee)],_0x51b3aa=(_0x3538e5,_0x4d2f44,_0x13bc8a,_0x687cc2)=>{const _0x3bcc28=_0xa2269c;for(var _0x3e7d50=_0x687cc2>0x1?void 0x0:_0x687cc2?_0x2842ba(_0x4d2f44,_0x13bc8a):_0x4d2f44,_0x3e858b=_0x3538e5[_0x3bcc28(0x3af)]-0x1,_0x180b64;_0x3e858b>=0x0;_0x3e858b--)(_0x180b64=_0x3538e5[_0x3e858b])&&(_0x3e7d50=_0x180b64(_0x3e7d50)||_0x3e7d50);return _0x3e7d50;},_0x40a181=(_0x391baa,_0x5ddfc9)=>(_0x3bac6f,_0x190327)=>_0x5ddfc9(_0x3bac6f,_0x190327,_0x391baa);_0x44307e[_0xa2269c(0x19e)]=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x55b116,_0x18577e,_0x52e176,_0x247aee,_0x327622){const _0x24736a=_0xa2269c;super(),this[_0x24736a(0x139)]=_0x55b116,this['_logService']=_0x18577e,this['_commandService']=_0x52e176,this[_0x24736a(0x35a)]=_0x247aee,_0x327622?_0x327622==null||_0x327622[_0x24736a(0x425)]()[_0x24736a(0x3e6)](()=>this[_0x24736a(0x29a)]()):(this[_0x24736a(0x1c2)][_0x24736a(0x2ea)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x24736a(0x29a)]());}async[_0xa2269c(0x29a)](){const _0x34f4f7=_0xa2269c,_0x2e0944=this[_0x34f4f7(0x139)][_0x34f4f7(0x312)](_0x34f4f7(0x35b)),_0xe7baa5=this['_urlService'][_0x34f4f7(0x312)](_0x34f4f7(0x1f3)),_0x3b8625=this[_0x34f4f7(0x139)][_0x34f4f7(0x312)](_0x34f4f7(0x339));if(!_0x2e0944||!_0xe7baa5){this[_0x34f4f7(0x1c2)][_0x34f4f7(0x2ea)]('[CollaborationDataLoaderController]',_0x34f4f7(0x137));return;}const _0x1e9b39=await this[_0x34f4f7(0x35a)][_0x34f4f7(0x190)](_0x2e0944,Number(_0xe7baa5),_0x3b8625);_0x1e9b39&&_0x1e9b39 instanceof _0x63378d[_0x34f4f7(0x160)]&&this[_0x34f4f7(0x31c)](_0x1e9b39);}async[_0xa2269c(0x31c)](_0x3f4d7d){const _0x478391=_0xa2269c;await this[_0x478391(0x2d5)](_0x3f4d7d),_0x3f4d7d[_0x478391(0x23c)]['pipe'](_0xdb7e78['takeUntil'](this[_0x478391(0x3f6)]))[_0x478391(0x3bd)](_0x3d738e=>{const _0x19d85a=_0x478391;_0x3d738e&&this[_0x19d85a(0x228)](_0x3d738e);}),this['_urlService'][_0x478391(0x281)][_0x478391(0x287)](_0xdb7e78[_0x478391(0x393)](this[_0x478391(0x3f6)]))[_0x478391(0x3bd)](()=>this[_0x478391(0x2d5)](_0x3f4d7d));}[_0xa2269c(0x228)](_0x21bb5d,_0x4de05e=!0x1){const _0x328c30=_0xa2269c,_0x2045a4=this[_0x328c30(0x139)][_0x328c30(0x312)](_0x328c30(0x339));_0x21bb5d[_0x328c30(0x41b)]()!==_0x2045a4&&this[_0x328c30(0x139)][_0x328c30(0x264)]('subunit',_0x21bb5d[_0x328c30(0x41b)](),_0x4de05e);}async['_updateSubUnitFromURLParams'](_0x57a73d){const _0x456486=_0xa2269c;var _0x56b194;const _0x2f04a5=this[_0x456486(0x139)]['getParam']('subunit');if(!_0x2f04a5||!_0x57a73d[_0x456486(0x148)](_0x2f04a5)){const _0x53319a=_0x57a73d['getUnhiddenWorksheets']()[0x0],_0x326343=_0x57a73d[_0x456486(0x148)](_0x53319a);if(!_0x326343)return;this[_0x456486(0x228)](_0x326343,!0x0),await this[_0x456486(0x234)][_0x456486(0x22c)](_0xd76991['SetWorksheetActivateCommand']['id'],{'unitId':_0x57a73d[_0x456486(0x1b6)](),'subUnitId':_0x53319a});return;}((_0x56b194=_0x57a73d[_0x456486(0x412)]())==null?void 0x0:_0x56b194[_0x456486(0x41b)]())!==_0x2f04a5&&await this['_commandService'][_0x456486(0x22c)](_0xd76991[_0x456486(0x20f)]['id'],{'unitId':_0x57a73d[_0x456486(0x1b6)](),'subUnitId':_0x2f04a5});}},_0x44307e[_0xa2269c(0x19e)]=_0x51b3aa([_0x40a181(0x0,_0xdbf68a),_0x40a181(0x1,_0x63378d['ILogService']),_0x40a181(0x2,_0x63378d[_0xa2269c(0x278)]),_0x40a181(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x162)])),_0x40a181(0x4,_0x63378d[_0xa2269c(0x35d)](_0x5cb2c9[_0xa2269c(0x15c)]))],_0x44307e['CollaborationDataLoaderController']);var _0xb401ae=Object[_0xa2269c(0x2ee)],_0x24d6f5=(_0x588f10,_0x2d3b01,_0x9eb345,_0x2ae13c)=>{const _0x17ab09=_0xa2269c;for(var _0x173bdc=_0x2ae13c>0x1?void 0x0:_0x2ae13c?_0xb401ae(_0x2d3b01,_0x9eb345):_0x2d3b01,_0x5f2c47=_0x588f10[_0x17ab09(0x3af)]-0x1,_0x21d62f;_0x5f2c47>=0x0;_0x5f2c47--)(_0x21d62f=_0x588f10[_0x5f2c47])&&(_0x173bdc=_0x21d62f(_0x173bdc)||_0x173bdc);return _0x173bdc;},_0x502f2c=(_0x360fa0,_0x20d029)=>(_0x550fe9,_0x5132b0)=>_0x20d029(_0x550fe9,_0x5132b0,_0x360fa0);let _0x1ae3d3=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x2a1ce0,_0x5be240){const _0x3a7d65=_0xa2269c;super(),this[_0x3a7d65(0x330)]=_0x2a1ce0,this[_0x3a7d65(0x266)]=_0x5be240,this[_0x3a7d65(0x29a)]();}['_init'](){const _0x216ae4=_0xa2269c,_0x2e403d=this;this[_0x216ae4(0x165)](this[_0x216ae4(0x330)][_0x216ae4(0x429)]({'onBeforePasteImage':async _0x3316c1=>{const _0x294e2d=_0x216ae4,_0x1b9c9b=await _0x2e403d['_imageIoService'][_0x294e2d(0x1e1)](_0x3316c1);return _0x1b9c9b?{'source':_0x1b9c9b[_0x294e2d(0x223)],'imageSourceType':_0x1b9c9b[_0x294e2d(0x179)]}:null;}}));}};_0x1ae3d3=_0x24d6f5([_0x502f2c(0x0,_0x466fa5[_0xa2269c(0x2c5)]),_0x502f2c(0x1,_0x8f1469[_0xa2269c(0x2c4)])],_0x1ae3d3);const _0x3bdee1=[_0xa2269c(0x2e0),_0xa2269c(0x306),_0xa2269c(0x355),_0xa2269c(0x2f6),_0xa2269c(0x2a7),_0xa2269c(0x31d)];class _0x59a235 extends _0x63378d[_0xa2269c(0x2eb)]{constructor(){const _0x3ff836=_0xa2269c;super(...arguments),_0x354915(this,_0x3ff836(0x259),new Map()),_0x354915(this,_0x3ff836(0x288),0x0);}['assignAColorForMemberID'](_0x22f18b){const _0x2f6a88=_0xa2269c;if(this['_assignedColors'][_0x2f6a88(0x305)](_0x22f18b))return this['_assignedColors'][_0x2f6a88(0x1ed)](_0x22f18b);const _0x48b5cb=_0x3bdee1[this['_colorIndex']];return this['_colorIndex']=(this[_0x2f6a88(0x288)]+0x1)%_0x3bdee1[_0x2f6a88(0x3af)],this[_0x2f6a88(0x259)]['set'](_0x22f18b,_0x48b5cb),_0x48b5cb;}}function _0x12fc01(_0x271da7){let _0x348955='';for(const _0x4deb9c of _0x271da7){const {startOffset:_0x4cfb77,endOffset:_0x190d58,isActive:_0x12c4e2,rangeType:_0x3833b4,segmentId:_0x36e1b7,segmentPage:_0x125ff2}=_0x4deb9c;_0x348955['length']&&(_0x348955+=','),_0x348955+=_0x4cfb77+':'+_0x190d58+':'+(_0x12c4e2?'1':'0')+':'+_0x3833b4+':'+_0x36e1b7+':'+_0x125ff2;}return _0x348955;}function _0x48b4d2(_0x2d5855){const _0x539682=_0xa2269c,_0x1716fd=_0x2d5855[_0x539682(0x21b)](','),_0x19c907=[];for(const _0x2b5c56 of _0x1716fd){const [_0x37c62f,_0x3381e1,_0x1407a7,_0x56f73d,_0x1b5f71,_0x3fd852]=_0x2b5c56[_0x539682(0x21b)](':');_0x19c907['push']({'startOffset':Number(_0x37c62f),'endOffset':Number(_0x3381e1),'collapsed':_0x37c62f===_0x3381e1,'isActive':_0x1407a7==='1','rangeType':_0x56f73d===_0x63378d['DOC_RANGE_TYPE']['TEXT']?_0x63378d[_0x539682(0x418)]['TEXT']:_0x63378d[_0x539682(0x418)]['RECT'],'segmentId':typeof _0x1b5f71==_0x539682(0x2d1)?String(_0x1b5f71):'','segmentPage':Number(_0x3fd852!=null?_0x3fd852:-0x1)});}return _0x19c907[_0x539682(0x2ac)](_0x3e7db0=>_0x3e7db0[_0x539682(0x1b3)])||(_0x19c907[0x0][_0x539682(0x1b3)]=!0x0),_0x19c907;}class _0x5ad830 extends _0x63378d['RxDisposable']{constructor(){const _0x576ba7=_0xa2269c;super(...arguments),_0x354915(this,_0x576ba7(0x196),new _0xdb7e78[(_0x576ba7(0x189))](null)),_0x354915(this,_0x576ba7(0x16d),this['_collabCursorState$'][_0x576ba7(0x187)]());}[_0xa2269c(0x2a8)](_0x23dc03){const _0xe54d38=_0xa2269c,{unitID:_0xadea3d,memberID:_0x1477dd,textRanges:_0x29f240}=_0x23dc03,_0x5dfd58=_0x12fc01(_0x29f240);if(_0x5dfd58==='')return;const _0x3dd870={'unitID':_0xadea3d,'memberID':_0x1477dd,'selection':_0x5dfd58};this['_collabCursorState$'][_0xe54d38(0x386)](_0x3dd870);}}var _0x11503e=Object[_0xa2269c(0x2ee)],_0x4a4c41=(_0x4c2f25,_0xe37408,_0x37a88e,_0x50c77c)=>{const _0x5da81e=_0xa2269c;for(var _0x2f9a3f=_0x50c77c>0x1?void 0x0:_0x50c77c?_0x11503e(_0xe37408,_0x37a88e):_0xe37408,_0x2956a8=_0x4c2f25[_0x5da81e(0x3af)]-0x1,_0x1be8d2;_0x2956a8>=0x0;_0x2956a8--)(_0x1be8d2=_0x4c2f25[_0x2956a8])&&(_0x2f9a3f=_0x1be8d2(_0x2f9a3f)||_0x2f9a3f);return _0x2f9a3f;},_0x41f6b2=(_0x344a54,_0x1a2aed)=>(_0x4155fa,_0x530f0a)=>_0x1a2aed(_0x4155fa,_0x530f0a,_0x344a54);const _0x1db983=0x12c,_0x33b0d0=0x64;let _0x551c12=class extends _0x63378d['RxDisposable']{constructor(_0x17bdfd,_0x3c61b8,_0xf90692,_0x484f4e,_0x5b4b5d,_0x189c5b,_0x31feed,_0x5057f0,_0x29fb39){const _0x5ae633=_0xa2269c;super(),_0x354915(this,_0x5ae633(0x244),!0x1),_0x354915(this,'_init',!0x1),_0x354915(this,_0x5ae633(0x1e6),new _0xdb7e78[(_0x5ae633(0x189))](new Map())),_0x354915(this,_0x5ae633(0x22f),this[_0x5ae633(0x1e6)][_0x5ae633(0x187)]()),_0x354915(this,'_roomMembers$',new _0xdb7e78[(_0x5ae633(0x189))]([])),_0x354915(this,_0x5ae633(0x26d),this[_0x5ae633(0x2de)][_0x5ae633(0x287)](_0xdb7e78[_0x5ae633(0x1db)](_0x1db983))),_0x354915(this,'_updateLocalCursor',_0x63378d['debounce'](_0x12f5b5=>{const _0x2ef93f=_0x5ae633,_0x3201d8={'eventID':_0x1a1813[_0x2ef93f(0x392)][_0x2ef93f(0x26b)],'data':{'unitID':this[_0x2ef93f(0x3a6)],'memberID':this[_0x2ef93f(0x387)]['getMemberID'](),'selection':_0x12fc01(_0x12f5b5)}};this[_0x2ef93f(0x387)][_0x2ef93f(0x1f0)](_0x3201d8,this['unitID']);},_0x33b0d0)),(this['unitID']=_0x17bdfd,this[_0x5ae633(0x387)]=_0x3c61b8,this[_0x5ae633(0x2c9)]=_0xf90692,this[_0x5ae633(0x389)]=_0x484f4e,this[_0x5ae633(0x366)]=_0x5b4b5d,this[_0x5ae633(0x22d)]=_0x189c5b,this[_0x5ae633(0x253)]=_0x31feed,this[_0x5ae633(0x1ef)]=_0x5057f0,this[_0x5ae633(0x234)]=_0x29fb39);}get[_0xa2269c(0x401)](){const _0x27ee53=_0xa2269c;return this[_0x27ee53(0x1e6)][_0x27ee53(0x273)]();}get[_0xa2269c(0x23e)](){const _0x320aee=_0xa2269c;return this[_0x320aee(0x2de)][_0x320aee(0x273)]();}['dispose'](){const _0x439204=_0xa2269c;super[_0x439204(0x212)](),this['_cursorInfo$'][_0x439204(0x386)](new Map()),this[_0x439204(0x1e6)][_0x439204(0x285)](),this[_0x439204(0x2de)][_0x439204(0x386)]([]),this[_0x439204(0x2de)][_0x439204(0x285)]();}['init'](){const _0x970bf7=_0xa2269c;this[_0x970bf7(0x29a)]||(this[_0x970bf7(0x29a)]=!0x0,this[_0x970bf7(0x387)][_0x970bf7(0x1e0)][_0x970bf7(0x287)](_0xdb7e78[_0x970bf7(0x393)](this[_0x970bf7(0x3f6)]))['subscribe'](_0x2ed547=>{const _0x6eb3c9=_0x970bf7;_0x2ed547===_0x49b930['SessionStatus'][_0x6eb3c9(0x32b)]?this[_0x6eb3c9(0x3e0)]():this['_toggleOffline']();}),this[_0x970bf7(0x387)][_0x970bf7(0x3eb)]['pipe'](_0xdb7e78[_0x970bf7(0x393)](this[_0x970bf7(0x3f6)]))[_0x970bf7(0x3bd)](_0x31af1e=>{const _0x1d6725=_0x970bf7,_0x556dff=_0x31af1e['eventID'];_0x556dff===_0x1a1813[_0x1d6725(0x392)][_0x1d6725(0x26b)]&&this[_0x1d6725(0x135)](_0x31af1e),_0x556dff===_0x1a1813[_0x1d6725(0x392)][_0x1d6725(0x18a)]&&this[_0x1d6725(0x28f)](_0x31af1e);}),this[_0x970bf7(0x165)](this['_commandService'][_0x970bf7(0x172)](_0x1bfb84=>{const _0x1abef6=_0x970bf7,_0x5623a7=_0x1bfb84[_0x1abef6(0x364)];_0x5623a7!=null&&this['_online']&&_0x1bfb84['id']===_0x461a0f[_0x1abef6(0x367)]['id']&&_0x5623a7['unitId']===this['unitID']&&_0x5623a7[_0x1abef6(0x22a)]===!0x1&&_0x5623a7[_0x1abef6(0x32d)][_0x1abef6(0x3af)]>0x0&&this[_0x1abef6(0x1df)](_0x5623a7[_0x1abef6(0x32d)]);})),this[_0x970bf7(0x22d)]['collabCursorState$'][_0x970bf7(0x287)](_0xdb7e78[_0x970bf7(0x393)](this[_0x970bf7(0x3f6)]))['subscribe'](_0x3d93e7=>{const _0x344100=_0x970bf7;if((_0x3d93e7==null?void 0x0:_0x3d93e7[_0x344100(0x3a6)])!==this['unitID'])return;const _0x4136e7={'eventID':_0x1a1813[_0x344100(0x392)][_0x344100(0x26b)],'data':_0x3d93e7};this['_onCursorUpdate'](_0x4136e7);}),this[_0x970bf7(0x165)](this['_commandService'][_0x970bf7(0x172)](_0x4fc68d=>{const _0x1d09d4=_0x970bf7;if(_0x4fc68d[_0x1d09d4(0x364)]==null)return;const _0x398e69=_0x4fc68d[_0x1d09d4(0x364)];if(_0x4fc68d['id']!==_0x461a0f['RichTextEditingMutation']['id']||_0x398e69['unitId']!==this['unitID'])return;const _0x5ec51e={'id':'doc.mutation.rich-text-editing','params':_0x398e69},_0x204153=this[_0x1d09d4(0x401)];for(const [_0x1d6666,_0x3d9690]of _0x204153){const _0x3c5343={'id':_0x1d09d4(0x3c4),'params':{'unitId':this[_0x1d09d4(0x3a6)],'actions':null,'textRanges':_0x3d9690['ranges']}},_0x33ab60=this[_0x1d09d4(0x253)][_0x1d09d4(0x2c8)](_0x5ec51e,_0x3c5343,!0x1);if(_0x1a1813[_0x1d09d4(0x417)](_0x33ab60))throw _0x33ab60[_0x1d09d4(0x33d)];_0x204153['set'](_0x1d6666,{..._0x3d9690,'ranges':_0x33ab60[_0x1d09d4(0x310)][_0x1d09d4(0x364)][_0x1d09d4(0x426)]});}queueMicrotask(()=>{const _0x54df73=_0x1d09d4;this[_0x54df73(0x1e6)]['next'](_0x204153);});})));}[_0xa2269c(0x135)](_0x3d4816){const _0x364ac3=_0xa2269c;var _0xcbb2ed,_0x317152;const {memberID:_0xf8b093,selection:_0x4342bd}=_0x3d4816[_0x364ac3(0x347)],_0xef94b0=_0x48b4d2(_0x4342bd),_0xcd5072=(_0x317152=(_0xcbb2ed=this[_0x364ac3(0x366)][_0x364ac3(0x26a)](this['unitID'],_0xf8b093))==null?void 0x0:_0xcbb2ed['name'])!=null?_0x317152:_0x364ac3(0x1ba),_0x56bc80={'color':this[_0x364ac3(0x389)][_0x364ac3(0x21f)](_0xf8b093),'name':_0xcd5072,'ranges':_0xef94b0},_0x3c8ba6=this[_0x364ac3(0x401)];_0x3c8ba6[_0x364ac3(0x233)](_0xf8b093,_0x56bc80),this[_0x364ac3(0x1e6)][_0x364ac3(0x386)](_0x3c8ba6);}[_0xa2269c(0x28f)](_0x2d9a9e){const _0x1b7b31=_0xa2269c,{memberID:_0xde9daa}=_0x2d9a9e['data'],_0x2ea0dd=this[_0x1b7b31(0x401)];_0x2ea0dd[_0x1b7b31(0x219)](_0xde9daa),this['_cursorInfo$'][_0x1b7b31(0x386)](_0x2ea0dd);}[_0xa2269c(0x3e0)](){const _0x407e47=_0xa2269c;var _0x1bb213;if(this[_0x407e47(0x244)]=!0x0,((_0x1bb213=this[_0x407e47(0x1ef)][_0x407e47(0x1b2)]())==null?void 0x0:_0x1bb213[_0x407e47(0x1b6)]())!==this['unitID'])return;const _0x5c4a8c=this[_0x407e47(0x2c9)]['get'](_0x461a0f[_0x407e47(0x370)])[_0x407e47(0x206)]();Array[_0x407e47(0x14a)](_0x5c4a8c)&&_0x5c4a8c[_0x407e47(0x3af)]>0x0&&this[_0x407e47(0x1df)](_0x5c4a8c);}[_0xa2269c(0x161)](){const _0x3f620b=_0xa2269c;this[_0x3f620b(0x244)]=!0x1;}};_0x551c12=_0x4a4c41([_0x41f6b2(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x41f6b2(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x59a235)),_0x41f6b2(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x1e2)])),_0x41f6b2(0x5,_0x63378d[_0xa2269c(0x1ce)](_0x5ad830)),_0x41f6b2(0x6,_0x1a1813[_0xa2269c(0x19d)]),_0x41f6b2(0x7,_0x63378d[_0xa2269c(0x240)]),_0x41f6b2(0x8,_0x63378d[_0xa2269c(0x278)])],_0x551c12);var _0x391675=Object[_0xa2269c(0x2ee)],_0x20cb9f=(_0x3fee7b,_0xd69a4c,_0x4960f9,_0x216f1e)=>{for(var _0x281e22=_0x216f1e>0x1?void 0x0:_0x216f1e?_0x391675(_0xd69a4c,_0x4960f9):_0xd69a4c,_0x1bf915=_0x3fee7b['length']-0x1,_0x5c947f;_0x1bf915>=0x0;_0x1bf915--)(_0x5c947f=_0x3fee7b[_0x1bf915])&&(_0x281e22=_0x5c947f(_0x281e22)||_0x281e22);return _0x281e22;},_0x54a434=(_0x23ca6e,_0x5b2079)=>(_0x347c67,_0x50b0a5)=>_0x5b2079(_0x347c67,_0x50b0a5,_0x23ca6e);const _0x239728=0x12c,_0x3a394f=0x64,_0x2ad53b=()=>{let _0x2cf674=[],_0x222fc9=!0x1;return _0xb29351=>{const _0x4c1d09=_0x529e;_0x2cf674[_0x4c1d09(0x2ca)](_0xb29351),_0x222fc9||(_0x222fc9=!0x0,setTimeout(()=>{const _0x31e92c=_0x4c1d09;_0x2cf674[_0x31e92c(0x399)](_0x3640d1=>_0x3640d1()),_0x2cf674=[],_0x222fc9=!0x1;}));};};let _0x592626=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x4ae30c,_0x4221b8,_0x4f5b91,_0x201429,_0x54b391,_0x36a097,_0xc4fc4f,_0x1061fe){const _0x4712c9=_0xa2269c;super(),_0x354915(this,_0x4712c9(0x244),!0x1),_0x354915(this,_0x4712c9(0x29a),!0x1),_0x354915(this,_0x4712c9(0x1e6),new _0xdb7e78[(_0x4712c9(0x189))](new Map())),_0x354915(this,_0x4712c9(0x22f),this[_0x4712c9(0x1e6)]['asObservable']()),_0x354915(this,_0x4712c9(0x2de),new _0xdb7e78[(_0x4712c9(0x189))]([])),_0x354915(this,'roomMembers$',this[_0x4712c9(0x2de)]['pipe'](_0xdb7e78[_0x4712c9(0x1db)](_0x239728))),_0x354915(this,'_updateLocalCursor',_0x63378d[_0x4712c9(0x134)]((_0x512a59,_0x35a930)=>{const _0xac1d5e=_0x4712c9,_0x4f2de5={'eventID':_0x1a1813[_0xac1d5e(0x392)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xac1d5e(0x3a6)],'memberID':this[_0xac1d5e(0x387)][_0xac1d5e(0x2e6)](),'selection':_0x1a201e[_0xac1d5e(0x17f)](_0x512a59,_0x35a930['range'])}};this[_0xac1d5e(0x387)][_0xac1d5e(0x1f0)](_0x4f2de5,this[_0xac1d5e(0x3a6)]);},_0x3a394f)),(this[_0x4712c9(0x3a6)]=_0x4ae30c,this[_0x4712c9(0x387)]=_0x4221b8,this[_0x4712c9(0x2c9)]=_0x4f5b91,this['_colorAssignService']=_0x201429,this[_0x4712c9(0x366)]=_0x54b391,this[_0x4712c9(0x1ef)]=_0x36a097,this['_commandService']=_0xc4fc4f,this[_0x4712c9(0x258)]=_0x1061fe);}get['cursorInfo'](){const _0x547163=_0xa2269c;return this[_0x547163(0x1e6)][_0x547163(0x273)]();}get[_0xa2269c(0x23e)](){const _0x526322=_0xa2269c;return this[_0x526322(0x2de)][_0x526322(0x273)]();}['dispose'](){const _0x1f94d5=_0xa2269c;super[_0x1f94d5(0x212)](),this[_0x1f94d5(0x1e6)]['next'](new Map()),this['_cursorInfo$'][_0x1f94d5(0x285)](),this['_roomMembers$'][_0x1f94d5(0x386)]([]),this[_0x1f94d5(0x2de)][_0x1f94d5(0x285)]();}[_0xa2269c(0x17c)](){const _0x3965e8=_0xa2269c;this[_0x3965e8(0x29a)]||(this[_0x3965e8(0x29a)]=!0x0,this['_session'][_0x3965e8(0x1e0)][_0x3965e8(0x287)](_0xdb7e78[_0x3965e8(0x393)](this['dispose$']))[_0x3965e8(0x3bd)](_0x3791d8=>{const _0x4680e6=_0x3965e8;_0x3791d8===_0x49b930['SessionStatus'][_0x4680e6(0x32b)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x3965e8(0x3eb)][_0x3965e8(0x287)](_0xdb7e78[_0x3965e8(0x393)](this['dispose$']))[_0x3965e8(0x3bd)](_0x53a45b=>{const _0x183704=_0x3965e8,_0x182b40=_0x53a45b['eventID'];_0x182b40===_0x1a1813[_0x183704(0x392)][_0x183704(0x26b)]&&this[_0x183704(0x135)](_0x53a45b),_0x182b40===_0x1a1813[_0x183704(0x392)]['USERS_LEAVE']&&this[_0x183704(0x28f)](_0x53a45b);}),this[_0x3965e8(0x1b0)](),this[_0x3965e8(0x165)](this[_0x3965e8(0x234)][_0x3965e8(0x172)](_0x564869=>{const _0x28f35e=_0x3965e8;if(this[_0x28f35e(0x244)]&&_0x564869['id']===_0xd76991[_0x28f35e(0x1ec)]['id']&&_0x564869[_0x28f35e(0x364)][_0x28f35e(0x1bb)]===this[_0x28f35e(0x3a6)]){const _0x359d75=_0x564869['params'];this[_0x28f35e(0x1df)](_0x359d75[_0x28f35e(0x275)],_0x359d75['selections'][0x0]);}})));}[_0xa2269c(0x135)](_0x26b90f){const _0x504555=_0xa2269c;var _0x2a4de0,_0x3c719d;const {memberID:_0x34ebab,selection:_0x14e042}=_0x26b90f[_0x504555(0x347)],{sheetName:_0x44f64c,range:_0x5d4783}=_0x1a201e['deserializeRangeWithSheet'](_0x14e042),_0x40a1fb={'name':(_0x3c719d=(_0x2a4de0=this[_0x504555(0x366)][_0x504555(0x26a)](this[_0x504555(0x3a6)],_0x34ebab))==null?void 0x0:_0x2a4de0[_0x504555(0x1f8)])!=null?_0x3c719d:_0x504555(0x1ba),'range':this[_0x504555(0x2f0)](_0x44f64c,_0x5d4783),'sheetID':_0x44f64c,'color':this[_0x504555(0x389)]['assignAColorForMemberID'](_0x34ebab),'selection':_0x14e042},_0x472031=this[_0x504555(0x401)];_0x472031[_0x504555(0x233)](_0x34ebab,_0x40a1fb),this[_0x504555(0x1e6)][_0x504555(0x386)](_0x472031);}['_onCursorDelete'](_0x564d2b){const _0xb68b1b=_0xa2269c,{memberID:_0x2202f3}=_0x564d2b[_0xb68b1b(0x347)],_0x35f17f=this[_0xb68b1b(0x401)];_0x35f17f[_0xb68b1b(0x219)](_0x2202f3),this[_0xb68b1b(0x1e6)][_0xb68b1b(0x386)](_0x35f17f);}['_getMergeRange'](_0xe41b9f,_0x58d33d){const _0x14d27f=_0xa2269c;var _0x4e3943,_0x555629;const _0x1bc3e4=(_0x555629=(_0x4e3943=this['_univerInstanceService'][_0x14d27f(0x3c2)](this[_0x14d27f(0x3a6)]))==null?void 0x0:_0x4e3943[_0x14d27f(0x148)](_0xe41b9f))==null?void 0x0:_0x555629[_0x14d27f(0x20c)]();return(_0x1bc3e4==null?void 0x0:_0x1bc3e4[_0x14d27f(0x13f)](_0x3bd1fd=>_0x63378d[_0x14d27f(0x1fe)][_0x14d27f(0x2b4)](_0x3bd1fd,_0x58d33d)))||_0x58d33d;}[_0xa2269c(0x1b0)](){const _0x24d292=_0xa2269c,_0x5dfe6e=new _0x63378d[(_0x24d292(0x403))](),_0x358329=_0x2ad53b(),_0x122958=()=>{const _0x476e0d=_0x24d292;_0x5dfe6e[_0x476e0d(0x212)]();const _0x46b04f=(_0x16f737,_0x2585aa,_0x16cf11,_0x504c68)=>{const _0xf3b8f6=_0x476e0d;let _0x3c4c89=[];switch(_0x16f737['id']){case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x3d1)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x30c)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x39f)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x3ea)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x27f)]:{_0x3c4c89=_0xd76991['handleInsertCol'](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x261)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x350)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x415)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x217)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x2c3)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x3e4)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)]['MoveRangeCommandId']:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x28d)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x318)]:{_0x3c4c89=_0xd76991['handleIRemoveCol'](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)]['RemoveRowCommandId']:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x1a0)](_0x16f737,_0x504c68);break;}}const _0x3ebaf8=_0xd76991[_0xf3b8f6(0x27e)](_0x3c4c89,_0x504c68),_0x3e41e1=this[_0xf3b8f6(0x401)][_0xf3b8f6(0x1ed)](_0x2585aa);if(_0x3e41e1&&_0x3ebaf8){const _0x4aaf71={..._0x3e41e1,'range':_0x3ebaf8};this['cursorInfo'][_0xf3b8f6(0x233)](_0x2585aa,_0x4aaf71),_0x358329(()=>{const _0x1cd3e9=_0xf3b8f6,_0xe83337=this[_0x1cd3e9(0x258)][_0x1cd3e9(0x395)](_0x3ebaf8,_0x2a45f2=>(_0xe83337[_0x1cd3e9(0x212)](),_0x46b04f(_0x2a45f2,_0x2585aa,_0x16cf11,_0x3ebaf8)));_0x5dfe6e['add'](_0xe83337);});}return{'redos':[],'undos':[]};};this[_0x476e0d(0x401)]['forEach']((_0x776159,_0x3811be)=>{const _0x5d7890=_0x476e0d,{range:_0x5917d2,sheetID:_0x17c643}=_0x776159,_0xfddfa5=this['_refRangeService'][_0x5d7890(0x395)](_0x5917d2,_0x267d6e=>(_0xfddfa5['dispose'](),_0x46b04f(_0x267d6e,_0x3811be,_0x17c643,_0x5917d2)));_0x5dfe6e[_0x5d7890(0x2a3)](_0xfddfa5);});};this[_0x24d292(0x165)](_0x63378d['toDisposable'](this['_cursorInfo$'][_0x24d292(0x3bd)](()=>{_0x122958();})));}[_0xa2269c(0x3e0)](){const _0x5dfb6a=_0xa2269c;var _0x50125e,_0x39656d;if(this['_online']=!0x0,((_0x50125e=this[_0x5dfb6a(0x1ef)]['getFocusedUnit']())==null?void 0x0:_0x50125e[_0x5dfb6a(0x1b6)]())!==this[_0x5dfb6a(0x3a6)])return;const _0x460cb4=(_0x39656d=this[_0x5dfb6a(0x2c9)][_0x5dfb6a(0x1ed)](_0xd76991['SheetsSelectionsService'])[_0x5dfb6a(0x2ce)]())==null?void 0x0:_0x39656d[0x0],_0x13b691=this['_univerInstanceService']['getCurrentUnitForType'](_0x63378d[_0x5dfb6a(0x332)][_0x5dfb6a(0x24a)])[_0x5dfb6a(0x412)]();_0x460cb4&&_0x13b691&&this[_0x5dfb6a(0x1df)](_0x13b691[_0x5dfb6a(0x41b)](),_0x460cb4);}[_0xa2269c(0x161)](){const _0x40adfd=_0xa2269c;this[_0x40adfd(0x244)]=!0x1;}};_0x592626=_0x20cb9f([_0x54a434(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x54a434(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x59a235)),_0x54a434(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x1e2)])),_0x54a434(0x5,_0x63378d[_0xa2269c(0x240)]),_0x54a434(0x6,_0x63378d['ICommandService']),_0x54a434(0x7,_0x63378d[_0xa2269c(0x1ce)](_0xd76991[_0xa2269c(0x309)]))],_0x592626);var _0x4863a5=Object[_0xa2269c(0x2ee)],_0x56f9e3=(_0x4314c9,_0x1d33f5,_0x41590f,_0xd0d701)=>{for(var _0x3c097a=_0xd0d701>0x1?void 0x0:_0xd0d701?_0x4863a5(_0x1d33f5,_0x41590f):_0x1d33f5,_0x2863eb=_0x4314c9['length']-0x1,_0x529f4d;_0x2863eb>=0x0;_0x2863eb--)(_0x529f4d=_0x4314c9[_0x2863eb])&&(_0x3c097a=_0x529f4d(_0x3c097a)||_0x3c097a);return _0x3c097a;},_0x158f07=(_0x5dd9cb,_0x1f72fb)=>(_0x3b4ae8,_0x505811)=>_0x1f72fb(_0x3b4ae8,_0x505811,_0x5dd9cb);let _0x64597c=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x27345d,_0x36173a,_0x1cdb61){const _0x448588=_0xa2269c;super(),_0x354915(this,_0x448588(0x2dc),new Map()),_0x354915(this,_0x448588(0x35f),new _0xdb7e78[(_0x448588(0x1f1))]()),(this['_univerInstanceService']=_0x27345d,this['_injector']=_0x36173a,this[_0x448588(0x340)]=_0x1cdb61,this[_0x448588(0x29a)]());}[_0xa2269c(0x212)](){const _0xb7c8cf=_0xa2269c;super['dispose'](),this[_0xb7c8cf(0x35f)][_0xb7c8cf(0x285)](),this[_0xb7c8cf(0x2dc)]['forEach'](_0x6c8f4c=>_0x6c8f4c[_0xb7c8cf(0x212)]());}[_0xa2269c(0x2a6)](_0x3fbb9a){const _0x341644=_0xa2269c;return this[_0x341644(0x2dc)][_0x341644(0x305)](_0x3fbb9a)?this[_0x341644(0x2dc)][_0x341644(0x1ed)](_0x3fbb9a)[_0x341644(0x22f)]:this[_0x341644(0x35f)][_0x341644(0x287)](_0xdb7e78[_0x341644(0x131)](_0x239c28=>_0x239c28[_0x341644(0x3a6)]===_0x3fbb9a),_0xdb7e78[_0x341644(0x390)](_0x691665=>_0x691665[_0x341644(0x22f)]));}['_init'](){const _0x4d9dfd=_0xa2269c;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x63378d['UniverInstanceType']['UNIVER_SHEET'])[_0x4d9dfd(0x287)](_0xdb7e78[_0x4d9dfd(0x393)](this[_0x4d9dfd(0x3f6)]))['subscribe'](async _0x37dcdc=>{const _0x258ec4=_0x4d9dfd,_0x1e4bc4=_0x37dcdc['getUnitId'](),_0x312398=await this[_0x258ec4(0x335)](_0x1e4bc4);this[_0x258ec4(0x35f)][_0x258ec4(0x386)](_0x312398),this[_0x258ec4(0x2dc)][_0x258ec4(0x233)](_0x1e4bc4,_0x312398);}),this['_univerInstanceService'][_0x4d9dfd(0x13b)](_0x63378d[_0x4d9dfd(0x332)][_0x4d9dfd(0x143)])[_0x4d9dfd(0x287)](_0xdb7e78[_0x4d9dfd(0x393)](this[_0x4d9dfd(0x3f6)]))['pipe'](_0xdb7e78[_0x4d9dfd(0x131)](_0xe7a139=>!_0xe7a139[_0x4d9dfd(0x1b6)]()[_0x4d9dfd(0x3e5)]('__')))[_0x4d9dfd(0x3bd)](async _0x4bc348=>{const _0x792e4d=_0x4d9dfd,_0x43fdc2=_0x4bc348['getUnitId'](),_0x42047d=await this[_0x792e4d(0x29d)](_0x43fdc2);this[_0x792e4d(0x35f)][_0x792e4d(0x386)](_0x42047d),this[_0x792e4d(0x2dc)]['set'](_0x43fdc2,_0x42047d);}),_0xdb7e78[_0x4d9dfd(0x232)](this[_0x4d9dfd(0x1ef)][_0x4d9dfd(0x1a9)](_0x63378d['UniverInstanceType']['UNIVER_DOC']),this[_0x4d9dfd(0x1ef)][_0x4d9dfd(0x1a9)](_0x63378d[_0x4d9dfd(0x332)][_0x4d9dfd(0x24a)]))[_0x4d9dfd(0x287)](_0xdb7e78[_0x4d9dfd(0x393)](this[_0x4d9dfd(0x3f6)]))[_0x4d9dfd(0x3bd)](_0x5a9188=>{const _0x14397e=_0x4d9dfd,_0x545934=_0x5a9188[_0x14397e(0x1b6)](),_0x18bea5=this[_0x14397e(0x2dc)]['get'](_0x545934);_0x18bea5&&(_0x18bea5[_0x14397e(0x212)](),this[_0x14397e(0x2dc)]['delete'](_0x545934));});}async[_0xa2269c(0x335)](_0x498dd7){const _0x46e127=_0xa2269c,_0x4b8335=await this[_0x46e127(0x340)][_0x46e127(0x3e7)](_0x498dd7),_0x2b1401=this[_0x46e127(0x2c9)][_0x46e127(0x19b)](_0x592626,_0x498dd7,_0x4b8335);return _0x2b1401[_0x46e127(0x17c)](),_0x2b1401;}async[_0xa2269c(0x29d)](_0x37d6ae){const _0x285708=_0xa2269c,_0x48cabd=await this[_0x285708(0x340)][_0x285708(0x3e7)](_0x37d6ae),_0x577ec2=this[_0x285708(0x2c9)][_0x285708(0x19b)](_0x551c12,_0x37d6ae,_0x48cabd);return _0x577ec2['init'](),_0x577ec2;}};_0x64597c=_0x56f9e3([_0x158f07(0x0,_0x63378d[_0xa2269c(0x240)]),_0x158f07(0x1,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x2e7)])),_0x158f07(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x42a)]))],_0x64597c);const _0x5d0cb4=0x14,_0x11b99b=0xc8,_0xf4c062=0x4,_0x345351=0x5;function _0x5c3c70(_0x221e12,_0x45cc65){const _0x33ea30=_0xa2269c;let {radius:_0x30de65,width:_0x168ee0,height:_0x3cb5ce}=_0x45cc65;_0x30de65=_0x30de65!=null?_0x30de65:0x0,_0x168ee0=_0x168ee0!=null?_0x168ee0:0x1e,_0x3cb5ce=_0x3cb5ce!=null?_0x3cb5ce:0x1e;let _0x5e3f36=0x0,_0xea8327=0x0,_0x1ec24d=0x0;_0x5e3f36=_0xea8327=_0x1ec24d=Math[_0x33ea30(0x250)](_0x30de65,_0x168ee0/0x2,_0x3cb5ce/0x2),_0x221e12[_0x33ea30(0x238)](),_0x221e12[_0x33ea30(0x1ab)](_0x5e3f36,0x0),_0x221e12[_0x33ea30(0x2d8)](_0x168ee0-_0xea8327,0x0),_0x221e12[_0x33ea30(0x3fc)](_0x168ee0-_0xea8327,_0xea8327,_0xea8327,Math['PI']*0x3/0x2,0x0,!0x1),_0x221e12['lineTo'](_0x168ee0,_0x3cb5ce-_0x1ec24d),_0x221e12[_0x33ea30(0x3fc)](_0x168ee0-_0x1ec24d,_0x3cb5ce-_0x1ec24d,_0x1ec24d,0x0,Math['PI']/0x2,!0x1),_0x221e12['lineTo'](0x0,_0x3cb5ce),_0x221e12['lineTo'](0x0,_0x5e3f36),_0x221e12['arc'](_0x5e3f36,_0x5e3f36,_0x5e3f36,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x221e12[_0x33ea30(0x40f)](),_0x45cc65[_0x33ea30(0x41c)]&&(_0x221e12[_0x33ea30(0x180)](),_0x221e12[_0x33ea30(0x3db)]=_0x45cc65[_0x33ea30(0x41c)],_0x45cc65[_0x33ea30(0x1bd)]==='evenodd'?_0x221e12['fill'](_0x33ea30(0x2ff)):_0x221e12['fill'](),_0x221e12[_0x33ea30(0x405)]());}class _0x19ce18 extends _0x3be252[_0xa2269c(0x42d)]{constructor(_0x480218,_0x3ab927){const _0x521e33=_0xa2269c;super(_0x480218,_0x3ab927),_0x354915(this,_0x521e33(0x3fb)),_0x354915(this,_0x521e33(0x321)),(this[_0x521e33(0x3fb)]=_0x3ab927==null?void 0x0:_0x3ab927[_0x521e33(0x3fb)],this['text']=_0x3ab927==null?void 0x0:_0x3ab927[_0x521e33(0x321)]);}static[_0xa2269c(0x336)](_0x6e8466,_0x36bd93){const _0x26f0ed=_0xa2269c,{text:_0xf5ee36,color:_0x5bed96}=_0x36bd93;_0x6e8466[_0x26f0ed(0x180)](),_0x6e8466[_0x26f0ed(0x194)]=_0x26f0ed(0x1cc);const _0x44a440=_0x6e8466[_0x26f0ed(0x1fa)](_0xf5ee36)[_0x26f0ed(0x208)],_0x15fbad=Math[_0x26f0ed(0x250)](_0x44a440+0x2*_0xf4c062,_0x11b99b);_0x5c3c70(_0x6e8466,{'height':_0x5d0cb4,'radius':0x4,'width':_0x15fbad,'fill':_0x5bed96}),_0x6e8466['fillStyle']='#FFF';const _0x117904=_0xf4c062,_0x52e581=_0x5d0cb4-_0x345351,_0x1c2b2e=_0x11b99b-0x2*_0xf4c062;if(_0x44a440>_0x1c2b2e){let _0x18eb0e='',_0x8003bf=0x0;for(const _0x5be078 of _0xf5ee36){const _0x5380ae=_0x6e8466[_0x26f0ed(0x1fa)](_0x5be078)[_0x26f0ed(0x208)];if(_0x8003bf+_0x5380ae<=_0x1c2b2e-_0x6e8466[_0x26f0ed(0x1fa)](_0x26f0ed(0x205))[_0x26f0ed(0x208)])_0x18eb0e+=_0x5be078,_0x8003bf+=_0x5380ae;else{_0x18eb0e+='...';break;}}_0x6e8466['fillText'](_0x18eb0e,_0x117904,_0x52e581);}else _0x6e8466['fillText'](_0xf5ee36,_0x117904,_0x52e581);_0x6e8466[_0x26f0ed(0x405)]();}[_0xa2269c(0x34e)](_0x8c594d){_0x19ce18['drawWith'](_0x8c594d,this);}}const _0x5ee5cb=_0xa2269c(0x268),_0x20ad32='collab-text-range-',_0x31c2ae=_0xa2269c(0x416),_0x53cfc9=0x6,_0xf91a10=1.5,_0x3a8d60=0x4,_0x1fdad0=1.5,_0x3d44c3=_0xa2269c(0x349);class _0x5ed346{constructor(_0x3ce6ce,_0x388b7a,_0x5205e6,_0x1f8d06){const _0x4d14e5=_0xa2269c;_0x354915(this,_0x4d14e5(0x3da),[]),_0x354915(this,_0x4d14e5(0x300),null),_0x354915(this,_0x4d14e5(0x2b7),null),_0x354915(this,'_anchorDot',null),_0x354915(this,_0x4d14e5(0x40c),null),_0x354915(this,_0x4d14e5(0x230),null),(this[_0x4d14e5(0x38f)]=_0x3ce6ce,this[_0x4d14e5(0x293)]=_0x388b7a,this[_0x4d14e5(0x33c)]=_0x5205e6,this[_0x4d14e5(0x1af)]=_0x1f8d06,this[_0x4d14e5(0x147)]());}set['_hover'](_0x1bd7b7){const _0x1092fa=_0xa2269c;_0x1bd7b7?(this[_0x1092fa(0x3df)]&&this[_0x1092fa(0x3df)][_0x1092fa(0x18f)](),this[_0x1092fa(0x2b7)]&&this[_0x1092fa(0x2b7)][_0x1092fa(0x277)]()):(this['_anchorDot']&&this[_0x1092fa(0x3df)][_0x1092fa(0x277)](),this[_0x1092fa(0x2b7)]&&this['_textBubble'][_0x1092fa(0x18f)]());}['dispose'](){const _0x83aab1=_0xa2269c;for(const _0x18948d of this['_shapes'])_0x18948d['dispose']();this[_0x83aab1(0x2b7)]&&this[_0x83aab1(0x2b7)][_0x83aab1(0x212)](),this[_0x83aab1(0x3df)]&&this[_0x83aab1(0x3df)][_0x83aab1(0x212)](),this[_0x83aab1(0x300)]&&this[_0x83aab1(0x300)]['dispose'](),this[_0x83aab1(0x230)]&&this[_0x83aab1(0x230)]();}[_0xa2269c(0x147)](){const _0x46e73b=_0xa2269c;var _0x15f3c7;const {_docSkeleton:_0x165dcc,_document:_0x25b06e}=this,{color:_0x15489d,name:_0x38162b,ranges:_0x3adfa7}=this['_cursor'],_0x13b584=_0x25b06e[_0x46e73b(0x1de)](),{docsLeft:_0x55abce,docsTop:_0x3ccfa0}=_0x13b584,_0x495f07=new _0x466fa5[(_0x46e73b(0x2cb))](_0x13b584,_0x165dcc);for(const {startOffset:_0x275b45,endOffset:_0x5a1a49,rangeType:_0x5744ee,segmentId:_0x3859bb,segmentPage:_0x274606,collapsed:_0x20fdbe,isActive:_0x5143b0}of _0x3adfa7){const _0x292f3b=_0x165dcc[_0x46e73b(0x31f)](_0x275b45,!0x0,_0x3859bb,_0x274606);let _0x230a9a=_0x165dcc[_0x46e73b(0x31f)](_0x5a1a49,!0x0,_0x3859bb,_0x274606);if(_0x230a9a==null&&(_0x230a9a=_0x165dcc[_0x46e73b(0x31f)](_0x5a1a49-0x1,!0x1,_0x3859bb,_0x274606)),_0x5143b0){const {contentBoxPointGroup:_0x3790d3}=_0x495f07[_0x46e73b(0x1ff)](_0x230a9a,_0x230a9a);if(_0x3790d3['length']===0x0)continue;this[_0x46e73b(0x3e8)](_0x15489d,_0x3790d3,_0x55abce,_0x3ccfa0,_0x38162b),this[_0x46e73b(0x230)]=this['_handleHover']();}if(_0x292f3b&&_0x230a9a){if(_0x5744ee===_0x63378d[_0x46e73b(0x418)][_0x46e73b(0x1b7)]){const _0x23b6c3=new _0x466fa5[(_0x46e73b(0x37f))](_0x13b584,_0x165dcc),{pointGroup:_0x5ea46b}=(_0x15f3c7=_0x23b6c3[_0x46e73b(0x1ff)](_0x292f3b,_0x230a9a))!=null?_0x15f3c7:{};if(_0x5ea46b==null||_0x5ea46b[_0x46e73b(0x3af)]===0x0)continue;this['_drawRectRange'](_0x15489d,_0x5ea46b,_0x55abce,_0x3ccfa0);}else{if(!_0x20fdbe){const {borderBoxPointGroup:_0x235645}=_0x495f07[_0x46e73b(0x1ff)](_0x292f3b,_0x230a9a);if(_0x235645[_0x46e73b(0x3af)]===0x0)continue;this[_0x46e73b(0x17b)](_0x15489d,_0x235645,_0x55abce,_0x3ccfa0);}}}}}[_0xa2269c(0x3e8)](_0x3b2547,_0x40872a,_0x153e58,_0x474f3f,_0x9ec782){const _0x5f45aa=_0xa2269c,_0x13198e=this[_0x5f45aa(0x3b5)](_0x40872a),{left:_0x2b3752,top:_0x46a6b4,height:_0x481c7e}=_0x13198e,_0x55c11a=this['_getScale'](),_0x2336ef=_0x1fdad0/_0x55c11a,_0x3dae01=new _0x3be252[(_0x5f45aa(0x3b6))](_0x5ee5cb+_0x63378d[_0x5f45aa(0x311)](_0x53cfc9),{'left':_0x2b3752+_0x153e58-_0x2336ef,'top':_0x46a6b4+_0x474f3f,'height':_0x481c7e,'width':_0xf91a10,'fill':_0x3b2547||_0x3be252['getColor'](_0x63378d[_0x5f45aa(0x177)]['black'],0x0),'strokeWidth':_0x2336ef,'stroke':_0x3d44c3,'evented':!0x0});this[_0x5f45aa(0x300)]=_0x3dae01,this[_0x5f45aa(0x293)]['addObject'](_0x3dae01,_0x466fa5[_0x5f45aa(0x167)]);const _0x254137=new _0x3be252[(_0x5f45aa(0x3b6))](_0x5ee5cb+_0x63378d[_0x5f45aa(0x311)](_0x53cfc9),{'left':_0x2b3752+_0x153e58-_0x2336ef,'top':_0x46a6b4+_0x474f3f-_0x3a8d60/0x2,'height':_0x3a8d60,'width':_0x3a8d60,'fill':_0x3b2547||_0x3be252[_0x5f45aa(0x3c1)](_0x63378d[_0x5f45aa(0x177)][_0x5f45aa(0x406)],0x0),'strokeWidth':0x0,'stroke':_0x3b2547||_0x3be252['getColor'](_0x63378d['COLORS'][_0x5f45aa(0x406)],0x0),'evented':!0x1});this[_0x5f45aa(0x3df)]=_0x254137,this[_0x5f45aa(0x293)]['addObject'](_0x254137,_0x466fa5[_0x5f45aa(0x167)]);const _0x3c5382=new _0x19ce18(_0x5ee5cb+_0x63378d[_0x5f45aa(0x311)](_0x53cfc9),{'left':_0x2b3752+_0x153e58-_0x2336ef,'top':_0x46a6b4+_0x474f3f-_0x5d0cb4,'text':_0x9ec782,'color':_0x3b2547});this['_textBubble']=_0x3c5382,this[_0x5f45aa(0x293)][_0x5f45aa(0x201)](_0x3c5382,_0x466fa5['TEXT_RANGE_LAYER_INDEX']),this[_0x5f45aa(0x360)]=!0x1;}[_0xa2269c(0x289)](){const _0x112cb8=_0xa2269c,_0x439e1b=this[_0x112cb8(0x300)]['onPointerEnter$'][_0x112cb8(0x334)](()=>{const _0xb44066=_0x112cb8;this[_0xb44066(0x360)]=!0x0;}),_0x18471c=this[_0x112cb8(0x300)]['onPointerLeave$'][_0x112cb8(0x334)](()=>{const _0x2bcf4f=_0x112cb8;this[_0x2bcf4f(0x40c)]&&clearTimeout(this[_0x2bcf4f(0x40c)]),this[_0x2bcf4f(0x40c)]=setTimeout(()=>{const _0x51423d=_0x2bcf4f;this[_0x51423d(0x360)]=!0x1;},0x7d0);});return()=>{const _0x4b85b4=_0x112cb8;_0x439e1b['unsubscribe'](),_0x18471c[_0x4b85b4(0x21d)]();};}['_drawTextRange'](_0x23e543,_0x2176bd,_0x4a967b,_0x2d4edb){const _0x170bad=_0xa2269c,_0x23227f=new _0x63378d['ColorKit'](_0x23e543)['setAlpha'](0.2)[_0x170bad(0x292)](),_0x3e3cb9=new _0x3be252[(_0x170bad(0x243))](_0x20ad32+_0x63378d[_0x170bad(0x311)](_0x53cfc9),{'pointsGroup':_0x2176bd,'fill':_0x23227f||_0x3be252[_0x170bad(0x3c1)](_0x63378d[_0x170bad(0x177)][_0x170bad(0x406)],0.2),'left':_0x4a967b,'top':_0x2d4edb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x170bad(0x3da)][_0x170bad(0x2ca)](_0x3e3cb9),this['_scene'][_0x170bad(0x201)](_0x3e3cb9,_0x466fa5[_0x170bad(0x167)]);}['_drawRectRange'](_0x24717e,_0x2877ee,_0x6f25d,_0x38a70f){const _0x2d7bc6=_0xa2269c,_0x9f08e2=new _0x63378d[(_0x2d7bc6(0x215))](_0x24717e)[_0x2d7bc6(0x31b)](0.2)[_0x2d7bc6(0x292)](),_0x555c4d=new _0x3be252[(_0x2d7bc6(0x243))](_0x31c2ae+_0x63378d['generateRandomId'](_0x53cfc9),{'pointsGroup':_0x2877ee,'fill':_0x9f08e2||_0x3be252[_0x2d7bc6(0x3c1)](_0x63378d['COLORS'][_0x2d7bc6(0x406)],0.2),'left':_0x6f25d,'top':_0x38a70f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d7bc6(0x3da)]['push'](_0x555c4d),this[_0x2d7bc6(0x293)]['addObject'](_0x555c4d,_0x466fa5['TEXT_RANGE_LAYER_INDEX']);}[_0xa2269c(0x3b5)](_0x2f1a6a){const _0x3ddbd8=_0x2f1a6a[0x0],_0x4414cf=_0x3ddbd8[0x0],_0x388fb5=_0x3ddbd8[0x2],{x:_0x34fa7f,y:_0x3a20e8}=_0x4414cf,{x:_0x188cc3,y:_0x14f281}=_0x388fb5;return{'left':_0x34fa7f,'top':_0x3a20e8,'width':_0x188cc3-_0x34fa7f,'height':_0x14f281-_0x3a20e8};}[_0xa2269c(0x1e7)](){const _0x2da4b1=_0xa2269c,{scaleX:_0x404dcc,scaleY:_0x512c08}=this['_scene'][_0x2da4b1(0x3ff)]();return Math[_0x2da4b1(0x42b)](_0x404dcc,_0x512c08);}}var _0x2e951c=Object[_0xa2269c(0x2ee)],_0x1aeba4=(_0x2bd56f,_0x555368,_0x5b105f,_0x235a22)=>{for(var _0x8ad11b=_0x235a22>0x1?void 0x0:_0x235a22?_0x2e951c(_0x555368,_0x5b105f):_0x555368,_0x34cc93=_0x2bd56f['length']-0x1,_0x4970cb;_0x34cc93>=0x0;_0x34cc93--)(_0x4970cb=_0x2bd56f[_0x34cc93])&&(_0x8ad11b=_0x4970cb(_0x8ad11b)||_0x8ad11b);return _0x8ad11b;},_0x205a67=(_0x2d930f,_0x176cf4)=>(_0x195a9a,_0x4eda20)=>_0x176cf4(_0x195a9a,_0x4eda20,_0x2d930f);let _0x13c409=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x1da0bf,_0x2089c1,_0x35dcc7,_0x1b0d15,_0x148164){const _0x18e100=_0xa2269c;super(),_0x354915(this,_0x18e100(0x2b9),[]),_0x354915(this,_0x18e100(0x267),[]),(this[_0x18e100(0x363)]=_0x1da0bf,this[_0x18e100(0x2dd)]=_0x2089c1,this[_0x18e100(0x1c5)]=_0x35dcc7,this[_0x18e100(0x234)]=_0x1b0d15,this[_0x18e100(0x25e)]=_0x148164,this[_0x18e100(0x29a)]());}['_init'](){const _0x53bc0e=_0xa2269c,_0x7fa4d3=this[_0x53bc0e(0x363)][_0x53bc0e(0x1bb)],_0xa0995e=this[_0x53bc0e(0x2dd)];this[_0x53bc0e(0x165)](_0xdb7e78[_0x53bc0e(0x25b)]([this[_0x53bc0e(0x1c5)][_0x53bc0e(0x2a6)](_0x7fa4d3),this[_0x53bc0e(0x25e)][_0x53bc0e(0x3f5)]])[_0x53bc0e(0x287)](_0x410faa[_0x53bc0e(0x1e3)](([_0x4155d4,_0x6354b6])=>({'skeleton':_0xa0995e['getSkeleton'](),'cursors':[..._0x4155d4['values']()][_0x53bc0e(0x2cf)](_0x101c8b=>({..._0x101c8b,'color':this[_0x53bc0e(0x25e)]['getColorFromTheme'](_0x101c8b['color'])}))})))[_0x53bc0e(0x3bd)](_0x480345=>{const _0x1a86d9=_0x53bc0e;if(this[_0x1a86d9(0x39e)](),_0x480345){const {skeleton:_0x117549,cursors:_0x3545c0}=_0x480345;this[_0x1a86d9(0x195)](_0x117549,_0x3545c0);}})),this['_initResize'](),this[_0x53bc0e(0x2e4)]();}[_0xa2269c(0x195)](_0x1972d9,_0x4c2dc4){const _0x86c05d=_0xa2269c,{scene:_0x49bfa9,mainComponent:_0x3b5d4d}=this['_context'],_0x1e0e21=_0x4c2dc4[_0x86c05d(0x1e3)](_0x4ad91f=>new _0x5ed346(_0x4ad91f,_0x49bfa9,_0x1972d9,_0x3b5d4d));this['_cursorShapes']=_0x1e0e21,this['_cursors']=_0x4c2dc4;}['_refreshCollabCursors'](){const _0x1d066f=_0xa2269c;this[_0x1d066f(0x39e)]();const {scene:_0x487ab1,mainComponent:_0x4f4e89}=this['_context'],_0x169e18=this[_0x1d066f(0x2dd)][_0x1d066f(0x1f4)](),_0x41e64e=this[_0x1d066f(0x267)][_0x1d066f(0x1e3)](_0x2abd89=>new _0x5ed346(_0x2abd89,_0x487ab1,_0x169e18,_0x4f4e89));this[_0x1d066f(0x2b9)]=_0x41e64e;}[_0xa2269c(0x39e)](){const _0x15fa29=_0xa2269c;this[_0x15fa29(0x2b9)]['forEach'](_0x40785a=>_0x40785a[_0x15fa29(0x212)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x5cf580=_0xa2269c,_0x3642f6=[_0x466fa5[_0x5cf580(0x377)]['id']];this[_0x5cf580(0x165)](this[_0x5cf580(0x234)][_0x5cf580(0x172)](_0x3642f9=>{const _0x2c6129=_0x5cf580;_0x3642f6['includes'](_0x3642f9['id'])&&_0x3642f9[_0x2c6129(0x364)][_0x2c6129(0x1bb)]===this[_0x2c6129(0x363)][_0x2c6129(0x1bb)]&&this[_0x2c6129(0x39b)]();}));}[_0xa2269c(0x152)](){const _0x31b05d=_0xa2269c;this[_0x31b05d(0x165)](_0x63378d[_0x31b05d(0x13e)](this[_0x31b05d(0x363)][_0x31b05d(0x1cf)]['onTransformChange$'])[_0x31b05d(0x287)](_0x410faa[_0x31b05d(0x131)](_0x52e992=>_0x52e992[_0x31b05d(0x1f3)]===_0x3be252[_0x31b05d(0x3e1)][_0x31b05d(0x2b6)]),_0x410faa['throttleTime'](0x10))[_0x31b05d(0x3bd)](()=>{this['_refreshCollabCursors']();}));}};_0x13c409=_0x1aeba4([_0x205a67(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x461a0f[_0xa2269c(0x37e)])),_0x205a67(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x64597c)),_0x205a67(0x3,_0x63378d['ICommandService']),_0x205a67(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x174)]))],_0x13c409);const _0x2311d3=0x1,_0x591a0c=1.5;class _0x205978 extends _0x3be252[_0xa2269c(0x42d)]{constructor(_0x516215,_0x264040){const _0x4c148c=_0xa2269c;var _0x5a6b05,_0x57a940;super(_0x516215,_0x264040),_0x354915(this,'_color'),_0x354915(this,_0x4c148c(0x35e),!0x1),_0x354915(this,_0x4c148c(0x3fd)),_0x354915(this,_0x4c148c(0x15e),''),_0x354915(this,_0x4c148c(0x37c),_0x4c148c(0x20b)),_0x354915(this,_0x4c148c(0x1a7)),_0x354915(this,_0x4c148c(0x353)),_0x354915(this,'_highlight'),_0x354915(this,_0x4c148c(0x2af),0x4),_0x354915(this,'_blinkTimer'),_0x354915(this,_0x4c148c(0x2aa)),_0x354915(this,_0x4c148c(0x371),!0x0),_0x354915(this,'_offsetY',0x0),(_0x264040&&(this[_0x4c148c(0x2be)](_0x264040),_0x264040[_0x4c148c(0x322)]&&((_0x5a6b05=_0x264040[_0x4c148c(0x16c)])!=null?_0x5a6b05:this[_0x4c148c(0x2af)])&&this[_0x4c148c(0x237)]((_0x57a940=_0x264040['highlightSecond'])!=null?_0x57a940:this[_0x4c148c(0x2af)])),this[_0x4c148c(0x1a8)][_0x4c148c(0x334)](()=>this[_0x4c148c(0x2be)]({'hovered':!0x0})),this[_0x4c148c(0x173)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setOffsetY'](_0x103f91){const _0x1fb073=_0xa2269c;this[_0x1fb073(0x3d3)]=_0x103f91;}[_0xa2269c(0x2be)](_0x3ee671){const _0x132723=_0xa2269c;var _0x379221,_0x3bbd8a,_0x3691cc,_0x1161a5,_0x32dc47,_0x281af7,_0x124ab6;this[_0x132723(0x1eb)]=(_0x379221=_0x3ee671['color'])!=null?_0x379221:this[_0x132723(0x1eb)],this[_0x132723(0x35e)]=(_0x3bbd8a=_0x3ee671[_0x132723(0x202)])!=null?_0x3bbd8a:this['_hovered'],this[_0x132723(0x3fd)]=(_0x3691cc=_0x3ee671[_0x132723(0x373)])!=null?_0x3691cc:this[_0x132723(0x3fd)],this[_0x132723(0x15e)]=(_0x1161a5=_0x3ee671[_0x132723(0x1f8)])!=null?_0x1161a5:this['_name'],this[_0x132723(0x37c)]=(_0x32dc47=_0x3ee671[_0x132723(0x21e)])!=null?_0x32dc47:this['_labelPosition'],this['_backgroundColor']=(_0x281af7=_0x3ee671[_0x132723(0x192)])!=null?_0x281af7:this[_0x132723(0x1a7)],this['_showText']=(_0x124ab6=_0x3ee671['showText'])!=null?_0x124ab6:this[_0x132723(0x353)],_0x3ee671[_0x132723(0x16c)]!==void 0x0&&(this[_0x132723(0x2af)]=_0x3ee671[_0x132723(0x16c)]),_0x3ee671['highlight']!==void 0x0&&(this['_highlight']=_0x3ee671[_0x132723(0x322)]),_0x3ee671[_0x132723(0x30a)]!==void 0x0&&(this[_0x132723(0x3d3)]=_0x3ee671['offsetY']),this[_0x132723(0x157)]({'width':_0x3ee671[_0x132723(0x208)],'height':_0x3ee671[_0x132723(0x1ee)]});}[_0xa2269c(0x26e)](_0x158b2d){const _0x422b81=_0xa2269c,{row:_0x238b76,column:_0x49e702}=_0x158b2d;if(_0x238b76>=this[_0x422b81(0x3fd)][_0x422b81(0x2c6)]&&_0x238b76<=this[_0x422b81(0x3fd)][_0x422b81(0x2f1)]&&_0x49e702>=this[_0x422b81(0x3fd)][_0x422b81(0x41a)]&&_0x49e702<=this[_0x422b81(0x3fd)][_0x422b81(0x1e4)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xa2269c(0x237)](_0x503512){const _0x32bd0f=_0xa2269c;this[_0x32bd0f(0x170)](),this[_0x32bd0f(0x371)]=!0x0,this['_blinkIntervalTimer']=window[_0x32bd0f(0x344)](()=>{const _0x5844e6=_0x32bd0f;this[_0x5844e6(0x371)]=!this[_0x5844e6(0x371)],this[_0x5844e6(0x2c1)](!0x0);},0x1f4),this[_0x32bd0f(0x22b)]=window[_0x32bd0f(0x409)](()=>{const _0x40161b=_0x32bd0f;this[_0x40161b(0x170)](),this[_0x40161b(0x371)]=!0x0,this['makeDirty'](!0x0);},_0x503512*0x3e8);}['_stopBlinking'](){const _0xde91ee=_0xa2269c;this[_0xde91ee(0x2aa)]&&(window[_0xde91ee(0x1a1)](this['_blinkIntervalTimer']),this[_0xde91ee(0x2aa)]=void 0x0),this[_0xde91ee(0x22b)]&&(window['clearTimeout'](this[_0xde91ee(0x22b)]),this[_0xde91ee(0x22b)]=void 0x0);}[_0xa2269c(0x33a)](_0x41f97b){return!0x1;}[_0xa2269c(0x212)](){const _0x3bf8f7=_0xa2269c;this[_0x3bf8f7(0x170)](),super[_0x3bf8f7(0x212)]();}[_0xa2269c(0x34e)](_0x1c2d6f){const _0x506919=_0xa2269c;var _0x4551c4,_0x3ed101;let _0x5bdfc8=this['_color'],_0x5ab784=this[_0x506919(0x1a7)];this['_highlight']&&!this[_0x506919(0x371)]&&(_0x5bdfc8=this[_0x506919(0x32f)](this[_0x506919(0x1eb)]),_0x5ab784=this[_0x506919(0x1a7)]?this[_0x506919(0x32f)](this[_0x506919(0x1a7)]):void 0x0),_0x3be252[_0x506919(0x3b6)][_0x506919(0x336)](_0x1c2d6f,{'width':this[_0x506919(0x208)],'height':this[_0x506919(0x1ee)],'strokeWidth':(_0x4551c4=this['strokeWidth'])!=null?_0x4551c4:_0x591a0c,'stroke':_0x5bdfc8,'evented':!0x1,'fill':_0x5ab784}),(this[_0x506919(0x35e)]||this[_0x506919(0x353)])&&(_0x1c2d6f[_0x506919(0x180)](),_0x1c2d6f[_0x506919(0x394)](0x1,0x0,0x0,0x1,this[_0x506919(0x208)],(this[_0x506919(0x37c)]===_0x506919(0x21a)?0x0:-_0x5d0cb4)+((_0x3ed101=this[_0x506919(0x3d3)])!=null?_0x3ed101:0x0)),_0x19ce18[_0x506919(0x336)](_0x1c2d6f,{'text':this[_0x506919(0x15e)],'color':_0x5bdfc8}),_0x1c2d6f[_0x506919(0x405)]());}['_getLighterColor'](_0x2d05bc){const _0x46ee47=_0xa2269c;if(_0x2d05bc[_0x46ee47(0x3e5)]('#')){const _0x410cc5=Number['parseInt'](_0x2d05bc[_0x46ee47(0x2a1)](0x1,0x3),0x10),_0x4a3548=Number[_0x46ee47(0x213)](_0x2d05bc[_0x46ee47(0x2a1)](0x3,0x5),0x10),_0x18ce45=Number[_0x46ee47(0x213)](_0x2d05bc['slice'](0x5,0x7),0x10);return'rgba('+_0x410cc5+',\x20'+_0x4a3548+',\x20'+_0x18ce45+_0x46ee47(0x317);}return _0x2d05bc['startsWith'](_0x46ee47(0x2f5))?_0x2d05bc[_0x46ee47(0x3f2)](/[\d.]+\)$/g,_0x46ee47(0x35c)):_0x2d05bc[_0x46ee47(0x3e5)](_0x46ee47(0x422))?_0x2d05bc[_0x46ee47(0x3f2)](_0x46ee47(0x422),_0x46ee47(0x2f5))['replace'](')',_0x46ee47(0x317)):_0x2d05bc;}}var _0x1113dc=Object[_0xa2269c(0x2ee)],_0xf0af5f=(_0x33cc46,_0x2211f8,_0x135d96,_0x54981d)=>{const _0x10b083=_0xa2269c;for(var _0x2953d0=_0x54981d>0x1?void 0x0:_0x54981d?_0x1113dc(_0x2211f8,_0x135d96):_0x2211f8,_0x3c1bd2=_0x33cc46[_0x10b083(0x3af)]-0x1,_0x555fab;_0x3c1bd2>=0x0;_0x3c1bd2--)(_0x555fab=_0x33cc46[_0x3c1bd2])&&(_0x2953d0=_0x555fab(_0x2953d0)||_0x2953d0);return _0x2953d0;},_0xdb520c=(_0x371abe,_0x143e3b)=>(_0x57e449,_0x351bd0)=>_0x143e3b(_0x57e449,_0x351bd0,_0x371abe);const _0x2f7455=0x1389;let _0x1331e9=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x3136b0,_0x375b6c,_0x35e496,_0x5e3366){const _0x361d2c=_0xa2269c;super(),_0x354915(this,'_cursors',new Set()),_0x354915(this,_0x361d2c(0x391),null),(this[_0x361d2c(0x363)]=_0x3136b0,this[_0x361d2c(0x38a)]=_0x375b6c,this['_collabCursorController']=_0x35e496,this[_0x361d2c(0x25e)]=_0x5e3366,this['_init']());}['_init'](){const _0x19dd4a=_0xa2269c;this[_0x19dd4a(0x38a)][_0x19dd4a(0x2d3)][_0x19dd4a(0x287)](_0x410faa['takeUntil'](this[_0x19dd4a(0x3f6)]),_0x410faa[_0x19dd4a(0x390)](_0x3ab0a3=>{const _0x207143=_0x19dd4a;if(_0x3ab0a3){const _0x2202c6=_0x3ab0a3[_0x207143(0x18b)];return _0xdb7e78[_0x207143(0x25b)](this[_0x207143(0x1c5)][_0x207143(0x2a6)](this['_context'][_0x207143(0x1bb)]),this['_themeService']['currentTheme$'])[_0x207143(0x287)](_0x410faa['map'](([_0x1de5ab,_0x567d06])=>{const _0xae27d3=_0x207143,_0x2391f8=new Map();return _0x1de5ab[_0xae27d3(0x399)]((_0x5360da,_0x33fcdc)=>{const _0x2fecaa=_0xae27d3;if(_0x5360da['sheetID']===_0x2202c6){const _0x2e077c={..._0x5360da};_0x2e077c[_0x2fecaa(0x3fb)]=this['_themeService'][_0x2fecaa(0x2ab)](_0x5360da['color']),_0x2391f8[_0x2fecaa(0x233)](_0x33fcdc,_0x2e077c);}}),{'skeleton':_0x3ab0a3,'cursors':_0x2391f8};}));}return _0xdb7e78['of']({'skeleton':null,'cursors':new Map()});}))[_0x19dd4a(0x3bd)](({skeleton:_0x1f3da3,cursors:_0x20cc8b})=>{const _0x4c26e9=_0x19dd4a;this['_removeCollabCursors'](),_0x1f3da3&&this[_0x4c26e9(0x195)](_0x1f3da3,_0x20cc8b);}),this[_0x19dd4a(0x38a)][_0x19dd4a(0x2d3)][_0x19dd4a(0x3bd)](_0x4ad105=>{const _0x3df926=_0x19dd4a;if(_0x4ad105==null)return;const {skeleton:_0x4be836}=_0x4ad105,{scene:_0x4535e3}=this[_0x3df926(0x363)];_0x4535e3['onPointerMove$'][_0x3df926(0x334)](_0x63378d[_0x3df926(0x134)](_0x199752=>{const _0x232055=_0x3df926;var _0x2c19db,_0x4845a0;const {offsetX:_0x3a59f3,offsetY:_0x80fd41}=_0x199752,{x:_0x142595,y:_0x492333}=_0x4535e3[_0x232055(0x221)](_0x3be252[_0x232055(0x214)][_0x232055(0x150)]([_0x3a59f3,_0x80fd41])),{scaleX:_0x26a7da,scaleY:_0x165edf}=_0x4535e3['getAncestorScale'](),_0x50db9f=_0x4535e3[_0x232055(0x3b7)](_0x3be252[_0x232055(0x18d)][_0x232055(0x26c)]),_0x17d241=_0x4535e3[_0x232055(0x1c8)](_0x3be252['Vector2'][_0x232055(0x150)]([_0x142595,_0x492333]),_0x50db9f),_0xbcd2bf=_0x4be836[_0x232055(0x224)](_0x3a59f3,_0x80fd41,_0x26a7da,_0x165edf,_0x17d241);((_0x2c19db=this[_0x232055(0x391)])==null?void 0x0:_0x2c19db[_0x232055(0x249)])===_0xbcd2bf['column']&&((_0x4845a0=this[_0x232055(0x391)])==null?void 0x0:_0x4845a0['row'])===_0xbcd2bf[_0x232055(0x24c)]||this['_cursors']['forEach'](_0x1a3aac=>{const _0x10b9d6=_0x232055;_0x1a3aac[_0x10b9d6(0x26e)](_0xbcd2bf);});},0x64));});}[_0xa2269c(0x195)](_0x323960,_0x27091a){const _0x11763b=_0xa2269c;var _0x4eee2c;const _0x4794a9=(_0x4eee2c=this['_sheetSkeletonManagerService'][_0x11763b(0x2ec)]())==null?void 0x0:_0x4eee2c[_0x11763b(0x327)];if(!_0x4794a9)return;const _0x442444=this[_0x11763b(0x3bf)]();if(!_0x442444)return;this[_0x11763b(0x267)][_0x11763b(0x399)](_0x4057d2=>{const _0x1c6531=_0x11763b;_0x4057d2[_0x1c6531(0x2c1)]();});const {scene:_0x46dd93}=_0x442444,_0x56ffc0=_0x56f43a(Array[_0x11763b(0x140)](_0x27091a[_0x11763b(0x28a)]()))[_0x11763b(0x1e3)](_0x4e938c=>{const _0x21f102=_0x11763b,{color:_0x13cb4c,range:_0x528e2d,name:_0x113ac0,selection:_0x3a1fa0,sheetID:_0x163825}=_0x4e938c,{startColumn:_0x32d678,startRow:_0x1a980b,endColumn:_0x474e36,endRow:_0x5549ce}=_0x528e2d,_0x4f196f=_0x128e05[_0x21f102(0x19c)](_0x1a980b,_0x32d678,_0x46dd93,_0x4794a9),_0x5c3677=_0x128e05['getCoordByCell'](_0x5549ce,_0x474e36,_0x46dd93,_0x4794a9),{columnHeaderHeightAndMarginTop:_0x107396}=_0x4794a9,{startX:_0x53f0b8,startY:_0x1ea8ed}=_0x4f196f,{endX:_0xa7b4e9,endY:_0x4794a}=_0x5c3677,_0x554718=_0xa7b4e9-_0x53f0b8,_0x2cd02c=_0x4794a-_0x1ea8ed,_0x44d6e6={'labelPosition':_0x1ea8ed-_0x107396>=_0x5d0cb4?_0x21f102(0x20b):_0x21f102(0x21a),'sheetID':_0x163825,'range':_0x528e2d,'color':_0x13cb4c,'name':_0x113ac0,'selection':_0x3a1fa0,'left':_0x53f0b8,'top':_0x1ea8ed,'width':_0x554718,'height':_0x2cd02c,'evented':!0x1,'zIndex':_0x2f7455};return new _0x205978(_0x113ac0,_0x44d6e6);});_0x46dd93[_0x11763b(0x34b)](_0x56ffc0,_0x2311d3),this[_0x11763b(0x267)]=new Set(_0x56ffc0);}[_0xa2269c(0x39e)](){const _0x341919=_0xa2269c;var _0x199a3e;(_0x199a3e=this['_cursors'])==null||_0x199a3e[_0x341919(0x399)](_0x152f72=>_0x152f72[_0x341919(0x212)]());}[_0xa2269c(0x3bf)](){const _0x593d21=_0xa2269c;return _0x128e05['getSheetObject'](this[_0x593d21(0x363)][_0x593d21(0x35b)],this[_0x593d21(0x363)]);}};_0x1331e9=_0xf0af5f([_0xdb520c(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x128e05[_0xa2269c(0x24f)])),_0xdb520c(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x64597c)),_0xdb520c(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x63378d['ThemeService']))],_0x1331e9);function _0x56f43a(_0x4c4037){const _0x3dcbb1=_0xa2269c,_0xe7b28d=new Map();return _0x4c4037['forEach'](_0x47d575=>{const _0x5629a8=_0x529e;if(_0xe7b28d[_0x5629a8(0x305)](_0x47d575[_0x5629a8(0x163)])){const _0x523e7c=_0xe7b28d['get'](_0x47d575[_0x5629a8(0x163)]);_0x523e7c[_0x5629a8(0x1f8)]+=',\x20'+_0x47d575[_0x5629a8(0x1f8)];}else _0xe7b28d[_0x5629a8(0x233)](_0x47d575[_0x5629a8(0x163)],_0x47d575);}),Array[_0x3dcbb1(0x140)](_0xe7b28d['values']());}var _0x5244b0=Object[_0xa2269c(0x2ee)],_0x39f9dc=(_0x563bdf,_0x19cef9,_0x39524d,_0x42f715)=>{for(var _0x54622f=_0x42f715>0x1?void 0x0:_0x42f715?_0x5244b0(_0x19cef9,_0x39524d):_0x19cef9,_0xa04517=_0x563bdf['length']-0x1,_0x627d77;_0xa04517>=0x0;_0xa04517--)(_0x627d77=_0x563bdf[_0xa04517])&&(_0x54622f=_0x627d77(_0x54622f)||_0x54622f);return _0x54622f;},_0x10a510=(_0x4dee72,_0x139213)=>(_0x3aca7a,_0x455ccd)=>_0x139213(_0x3aca7a,_0x455ccd,_0x4dee72);let _0x158e9b=class extends _0x63378d['Disposable']{constructor(_0x41d25a,_0x4bab6b,_0x3d39a9,_0x4420da,_0x540eed,_0x1ec05c){const _0x58b8e8=_0xa2269c;super(),this[_0x58b8e8(0x3d8)]=_0x41d25a,this['_localCacheService']=_0x4bab6b,this['_collaborationUIEventService']=_0x3d39a9,this[_0x58b8e8(0x295)]=_0x4420da,this[_0x58b8e8(0x2b3)]=_0x540eed,this['_localeService']=_0x1ec05c,this[_0x58b8e8(0x38e)](),this[_0x58b8e8(0x356)]();}['_setupBeforeClosingHandler'](){const _0x5e78b7=_0xa2269c;this[_0x5e78b7(0x165)](this['_beforeCloseService'][_0x5e78b7(0x181)](()=>{const _0x5b075b=_0x5e78b7;if(this[_0x5b075b(0x2f9)]['saveTaskMap'][_0x5b075b(0x368)])return this[_0x5b075b(0x1f2)]['t'](_0x5b075b(0x290));}));}[_0xa2269c(0x356)](){const _0x2b1af4=_0xa2269c;this['disposeWithMe'](this[_0x2b1af4(0x251)][_0x2b1af4(0x3eb)][_0x2b1af4(0x3bd)](_0x3a4de4=>{const _0x4d8f0e=_0x2b1af4;_0x3a4de4['id']===_0x49b930['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x4d8f0e(0x295)][_0x4d8f0e(0x277)]({'type':_0x25c8b9[_0x4d8f0e(0x2d0)]['Warning'],'content':this['_localeService']['t'](_0x4d8f0e(0x3ac))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x354)]&&this['_messageService']['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)][_0x4d8f0e(0x19a)],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x37a))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x2c7)]&&this[_0x4d8f0e(0x2b3)][_0x4d8f0e(0x277)]({'title':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x263)),'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x1d8)),'type':_0x4d8f0e(0x33d),'duration':0x0}),_0x3a4de4['id']===_0x49b930['CollaborationUIEventId']['CONFLICT']&&this[_0x4d8f0e(0x295)]['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)]['Error'],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x37a))+'('+_0x3a4de4['data']+')'}),_0x3a4de4['id']===_0x49b930['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x4d8f0e(0x295)]['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)]['Warning'],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x3a4de4[_0x4d8f0e(0x347)]||'')}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)]['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)][_0x4d8f0e(0x19a)],'content':this['_localeService']['t'](_0x4d8f0e(0x2b0))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x236)]&&this['_messageService'][_0x4d8f0e(0x277)]({'type':_0x25c8b9['MessageType'][_0x4d8f0e(0x269)],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x2a2))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x36d)]&&this[_0x4d8f0e(0x295)][_0x4d8f0e(0x277)]({'type':_0x25c8b9['MessageType'][_0x4d8f0e(0x269)],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x3a1))});}));}};_0x158e9b=_0x39f9dc([_0x10a510(0x0,_0x2c32f5[_0xa2269c(0x2fc)]),_0x10a510(0x1,_0x49b930[_0xa2269c(0x31a)]),_0x10a510(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x374)])),_0x10a510(0x3,_0x2c32f5[_0xa2269c(0x1d5)]),_0x10a510(0x4,_0x2c32f5['INotificationService']),_0x10a510(0x5,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x428)]))],_0x158e9b);var _0x26530e=Object[_0xa2269c(0x2ee)],_0x462ffa=(_0xaf1537,_0x34a084,_0x40c17f,_0x409888)=>{const _0x43d652=_0xa2269c;for(var _0x153208=_0x409888>0x1?void 0x0:_0x409888?_0x26530e(_0x34a084,_0x40c17f):_0x34a084,_0x128b86=_0xaf1537[_0x43d652(0x3af)]-0x1,_0x14e0f3;_0x128b86>=0x0;_0x128b86--)(_0x14e0f3=_0xaf1537[_0x128b86])&&(_0x153208=_0x14e0f3(_0x153208)||_0x153208);return _0x153208;},_0x370ebd=(_0x1d770f,_0x435178)=>(_0x30debb,_0xf8b043)=>_0x435178(_0x30debb,_0xf8b043,_0x1d770f);let _0xc0f0de=class extends _0x63378d['Disposable']{constructor(_0x2caa92,_0xac59fc,_0x32ae04,_0x477f06){const _0x4704e5=_0xa2269c;super(),_0x354915(this,_0x4704e5(0x18e)),(this['_injector']=_0x2caa92,this['_httpService']=_0xac59fc,this[_0x4704e5(0x1c2)]=_0x32ae04,this[_0x4704e5(0x3b2)]=_0x477f06,this[_0x4704e5(0x29a)]());}[_0xa2269c(0x29a)](){const _0x2bbf70=_0xa2269c;this['_initWindowErrorListener'](),this[_0x2bbf70(0x3a9)](),this[_0x2bbf70(0x132)](),this[_0x2bbf70(0x304)]();}[_0xa2269c(0x304)](){const _0x1d5610=_0xa2269c;this[_0x1d5610(0x165)](this[_0x1d5610(0x3b2)][_0x1d5610(0x28b)][_0x1d5610(0x3bd)](_0x35898a=>{const _0x369768=_0x1d5610;this[_0x369768(0x18e)]=_0x35898a==null?void 0x0:_0x35898a[_0x369768(0x203)];}));}['_initWindowErrorListener'](){const _0x197052=_0xd0653f=>{const _0xc1c35a=_0x529e;var _0x5406f4;this['_uploadLog'](_0xc1c35a(0x33d),_0xc1c35a(0x222)+_0xd0653f['message']+_0xc1c35a(0x3a0)+_0xd0653f['filename']+':'+_0xd0653f[_0xc1c35a(0x1f9)]+':'+_0xd0653f[_0xc1c35a(0x296)]+'\x0a'+(((_0x5406f4=_0xd0653f['error'])==null?void 0x0:_0x5406f4[_0xc1c35a(0x1ea)])||''));};window['addEventListener']('error',_0x197052),this['disposeWithMe'](()=>{const _0x5a68f2=_0x529e;window[_0x5a68f2(0x272)]('error',_0x197052);});}['_initUnhandledRejectionListener'](){const _0x591b69=_0xa2269c,_0x35a558=_0x106c1a=>{const _0x38f824=_0x529e;this['_uploadLog'](_0x38f824(0x33d),_0x38f824(0x342)+_0x106c1a[_0x38f824(0x1fb)]);};window[_0x591b69(0x156)]('unhandledrejection',_0x35a558),this[_0x591b69(0x165)](()=>{const _0x4bccd9=_0x591b69;window[_0x4bccd9(0x272)](_0x4bccd9(0x23a),_0x35a558);});}[_0xa2269c(0x132)](){const _0x3f7427=_0xa2269c,_0x2eec77=this[_0x3f7427(0x1c2)]['error'][_0x3f7427(0x33f)](this[_0x3f7427(0x1c2)]);this[_0x3f7427(0x1c2)][_0x3f7427(0x33d)]=(..._0x38898e)=>{const _0x58d22b=_0x3f7427,_0x2857bd=_0x38898e['map'](_0x845136=>_0x845136 instanceof Error?_0x845136[_0x58d22b(0x207)]+'\x0a'+_0x845136[_0x58d22b(0x1ea)]:String(_0x845136))['join']('\x20');this['_uploadLog'](_0x58d22b(0x33d),_0x58d22b(0x3ef)+_0x2857bd),_0x2eec77(..._0x38898e);},this['disposeWithMe'](()=>{const _0x1c722d=_0x3f7427;this[_0x1c722d(0x1c2)][_0x1c722d(0x33d)]=_0x2eec77;});}[_0xa2269c(0x2ef)](_0x3c2086,_0xf0b30){const _0x1cae53=_0xa2269c;try{const _0x2e44db={'userId':this['_memberID'],'logLabel':_0x3c2086,'content':_0xf0b30};this['_httpService'][_0x1cae53(0x284)](_0x1cae53(0x14c),{'body':_0x2e44db})['catch'](()=>{});}catch{}}};_0xc0f0de=_0x462ffa([_0x370ebd(0x0,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x370ebd(0x1,_0x63378d['Inject'](_0x4af045[_0xa2269c(0x246)])),_0x370ebd(0x2,_0x63378d[_0xa2269c(0x2f3)]),_0x370ebd(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x42a)]))],_0xc0f0de);const _0x392784=_0xa2269c(0x3a2),_0x78c6d={};var _0x235532=Object[_0xa2269c(0x2ee)],_0x1f4741=(_0x28aff9,_0x8fd339,_0x1a5ba0,_0x2dcd24)=>{for(var _0x34c08d=_0x2dcd24>0x1?void 0x0:_0x2dcd24?_0x235532(_0x8fd339,_0x1a5ba0):_0x8fd339,_0x4e2816=_0x28aff9['length']-0x1,_0x15b7cb;_0x4e2816>=0x0;_0x4e2816--)(_0x15b7cb=_0x28aff9[_0x4e2816])&&(_0x34c08d=_0x15b7cb(_0x34c08d)||_0x34c08d);return _0x34c08d;},_0x349fbe=(_0x2f77d7,_0x545b0f)=>(_0x45464d,_0x1ffe31)=>_0x545b0f(_0x45464d,_0x1ffe31,_0x2f77d7);let _0x38d822=class{constructor(_0x54ebef,_0x15b255){const _0x4b54ca=_0xa2269c;this[_0x4b54ca(0x253)]=_0x54ebef,this[_0x4b54ca(0x191)]=_0x15b255;}[_0xa2269c(0x372)](_0x480270){const _0x51795c=_0xa2269c;this['_transformUndoRedoStack'](_0x480270),this[_0x51795c(0x408)](_0x480270);}[_0xa2269c(0x39a)](_0xd80189){const _0x1f1f70=_0xa2269c,{unitID:_0x1fcdd7}=_0xd80189,_0x5c0ea6=this[_0x1f1f70(0x191)][_0x1f1f70(0x1a5)](_0x1fcdd7)['with'](_0x466fa5[_0x1f1f70(0x1d2)]),{redoCache:_0x4a259a}=_0x5c0ea6['getUndoRedoMutationParamsCache']();if(_0x4a259a[_0x1f1f70(0x3af)]===0x0)return _0xd80189;let _0x5ef59e=_0x63378d['Tools'][_0x1f1f70(0x3d6)](_0xd80189[_0x1f1f70(0x298)][0x0]);for(let _0x5b73fc=0x0;_0x5b73fc<_0x4a259a[_0x1f1f70(0x3af)];_0x5b73fc++){const _0x46f537={'id':_0x1f1f70(0x3c4),'params':{..._0x4a259a[_0x5b73fc]}},_0x42ba09=this[_0x1f1f70(0x253)][_0x1f1f70(0x2c8)](_0x5ef59e,_0x46f537,!0x1);if(_0x1a1813[_0x1f1f70(0x417)](_0x42ba09))throw _0x42ba09[_0x1f1f70(0x33d)];_0x5ef59e=_0x42ba09[_0x1f1f70(0x2fa)];}return{..._0x63378d[_0x1f1f70(0x1d6)][_0x1f1f70(0x3d6)](_0xd80189),'mutations':[_0x5ef59e]};}['_transformUndoRedoStack'](_0x43a262){const _0x1009c1=_0xa2269c,{unitID:_0x1fc6ee}=_0x43a262,_0x214944=this[_0x1009c1(0x191)][_0x1009c1(0x1a5)](_0x1fc6ee)[_0x1009c1(0x338)](_0x466fa5[_0x1009c1(0x1d2)]),{undoCache:_0x198541,redoCache:_0x23cff5}=_0x214944[_0x1009c1(0x1f7)]();if(_0x198541['length']===0x0||_0x23cff5[_0x1009c1(0x3af)]===0x0)return;const _0x1b5d88=[],_0x845317=[];let _0x12c59b=_0x63378d[_0x1009c1(0x1d6)][_0x1009c1(0x3d6)](_0x43a262[_0x1009c1(0x298)][0x0]),_0x5ad649=_0x63378d[_0x1009c1(0x1d6)][_0x1009c1(0x3d6)](_0x43a262['mutations'][0x0]);for(let _0x500848=_0x198541['length']-0x1;_0x500848>=0x0;_0x500848--){const _0x321cab={'id':_0x1009c1(0x3c4),'params':{..._0x198541[_0x500848]}},_0x535271={'id':_0x1009c1(0x3c4),'params':{..._0x23cff5[_0x500848]}},_0xe3dc7c=this[_0x1009c1(0x253)][_0x1009c1(0x2c8)](_0x12c59b,_0x321cab,!0x1),_0x2d18d6=this[_0x1009c1(0x253)][_0x1009c1(0x2c8)](_0x5ad649,_0x535271,!0x1);if(_0x1a1813[_0x1009c1(0x417)](_0xe3dc7c))throw _0xe3dc7c[_0x1009c1(0x33d)];if(_0x1a1813[_0x1009c1(0x417)](_0x2d18d6))throw _0x2d18d6[_0x1009c1(0x33d)];_0x1b5d88[_0x1009c1(0x2ed)](_0xe3dc7c[_0x1009c1(0x310)][_0x1009c1(0x364)]),_0x845317['unshift'](_0x2d18d6[_0x1009c1(0x310)]['params']),_0x12c59b=_0xe3dc7c[_0x1009c1(0x2fa)],_0x5ad649=_0x2d18d6['m1Prime'];}_0x214944[_0x1009c1(0x1c1)]({'undoCache':_0x1b5d88,'redoCache':_0x845317});}[_0xa2269c(0x408)](_0x2b82b0){const _0x3fcc5a=_0xa2269c,{unitID:_0x56b231}=_0x2b82b0,_0x4ca577=this['_renderManagerService'][_0x3fcc5a(0x1a5)](_0x56b231)[_0x3fcc5a(0x338)](_0x466fa5['DocIMEInputManagerService']),_0x598b17=_0x4ca577[_0x3fcc5a(0x227)]();if(_0x598b17==null)return;const _0x1a46fe=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b82b0[_0x3fcc5a(0x3a6)],'actions':null,'textRanges':[_0x598b17]}}],_0x9fc8f4=this[_0x3fcc5a(0x253)][_0x3fcc5a(0x36b)](_0x2b82b0,_0x1a46fe);if(!_0x1a1813[_0x3fcc5a(0x239)](_0x9fc8f4))throw _0x9fc8f4[_0x3fcc5a(0x33d)];const _0x4e4774=_0x9fc8f4['m2Prime'][0x0][_0x3fcc5a(0x364)][_0x3fcc5a(0x426)];Array['isArray'](_0x4e4774)&&_0x4e4774[_0x3fcc5a(0x3af)]&&_0x4ca577['setActiveRange'](_0x4e4774[0x0]);}};_0x38d822=_0x1f4741([_0x349fbe(0x0,_0x1a1813[_0xa2269c(0x19d)]),_0x349fbe(0x1,_0x3be252[_0xa2269c(0x3f0)])],_0x38d822);var _0x20976e=Object[_0xa2269c(0x2ee)],_0x3a111f=(_0x3b3da7,_0xd4c475,_0x54c70c,_0x368681)=>{const _0x4d6391=_0xa2269c;for(var _0x37b8a3=_0x368681>0x1?void 0x0:_0x368681?_0x20976e(_0xd4c475,_0x54c70c):_0xd4c475,_0x1e903d=_0x3b3da7[_0x4d6391(0x3af)]-0x1,_0x564c20;_0x1e903d>=0x0;_0x1e903d--)(_0x564c20=_0x3b3da7[_0x1e903d])&&(_0x37b8a3=_0x564c20(_0x37b8a3)||_0x37b8a3);return _0x37b8a3;},_0x2c6f9e=(_0x1c2bd1,_0xcdb98e)=>(_0x2e9082,_0x1e24f5)=>_0xcdb98e(_0x2e9082,_0x1e24f5,_0x1c2bd1);let _0x1f7a6b=class{constructor(_0x5c3db5,_0x112e7c,_0x1b467a){const _0x65ab18=_0xa2269c;this[_0x65ab18(0x2c9)]=_0x5c3db5,this['_transformService']=_0x112e7c,this['_docStateChangeManagerService']=_0x1b467a;}[_0xa2269c(0x3cc)](_0x5e7cec){const _0x2ff87c=_0xa2269c;this[_0x2ff87c(0x3c6)](_0x5e7cec);}[_0xa2269c(0x39a)](_0x46d98e){const _0x72e096=_0xa2269c,{unitID:_0x2db3f5}=_0x46d98e,{collaboration:_0x1fc249}=this['_docStateChangeManagerService'][_0x72e096(0x20a)](_0x2db3f5);if(_0x1fc249[_0x72e096(0x3af)]===0x0)return _0x46d98e;let _0x15ac7a=_0x63378d[_0x72e096(0x1d6)]['deepClone'](_0x46d98e[_0x72e096(0x298)][0x0]);for(let _0x3e20cd=0x0;_0x3e20cd<_0x1fc249[_0x72e096(0x3af)];_0x3e20cd++){const _0x5b52aa={'id':_0x72e096(0x3c4),'params':{'unitId':_0x1fc249[_0x3e20cd][_0x72e096(0x1bb)],..._0x1fc249[_0x3e20cd][_0x72e096(0x1b9)]}},_0x159959=this[_0x72e096(0x253)][_0x72e096(0x2c8)](_0x15ac7a,_0x5b52aa,!0x1);if(_0x1a1813[_0x72e096(0x417)](_0x159959))throw _0x159959[_0x72e096(0x33d)];_0x15ac7a=_0x159959[_0x72e096(0x2fa)];}return{..._0x63378d['Tools'][_0x72e096(0x3d6)](_0x46d98e),'mutations':[_0x15ac7a]};}[_0xa2269c(0x3c6)](_0x115db7){const _0xc433ff=_0xa2269c,{unitID:_0x51dc22}=_0x115db7,{history:_0x2e8a33,collaboration:_0x251f72}=this['_docStateChangeManagerService'][_0xc433ff(0x20a)](_0x51dc22);if(_0x2e8a33[_0xc433ff(0x3af)]===0x0&&_0x251f72['length']===0x0)return;const _0x22e568=[],_0x4da94a=[];let _0x39a31c=_0x63378d[_0xc433ff(0x1d6)]['deepClone'](_0x115db7[_0xc433ff(0x298)][0x0]),_0x3dfce7=_0x63378d[_0xc433ff(0x1d6)][_0xc433ff(0x3d6)](_0x115db7[_0xc433ff(0x298)][0x0]);for(let _0x39bd77=_0x2e8a33[_0xc433ff(0x3af)]-0x1;_0x39bd77>=0x0;_0x39bd77--){const _0x362a89={'id':_0xc433ff(0x3c4),'params':{'unitId':_0x2e8a33[_0x39bd77][_0xc433ff(0x1bb)],..._0x2e8a33[_0x39bd77][_0xc433ff(0x2f2)]}},_0xc68a95={'id':_0xc433ff(0x3c4),'params':{'unitId':_0x2e8a33[_0x39bd77][_0xc433ff(0x1bb)],..._0x2e8a33[_0x39bd77][_0xc433ff(0x1b9)]}},_0x888ef7=this[_0xc433ff(0x253)][_0xc433ff(0x2c8)](_0x39a31c,_0x362a89,!0x1),_0x269a25=this[_0xc433ff(0x253)][_0xc433ff(0x2c8)](_0x3dfce7,_0xc68a95,!0x1);if(_0x1a1813[_0xc433ff(0x417)](_0x888ef7))throw _0x888ef7[_0xc433ff(0x33d)];if(_0x1a1813[_0xc433ff(0x417)](_0x269a25))throw _0x269a25[_0xc433ff(0x33d)];_0x22e568[_0xc433ff(0x2ed)]({..._0x2e8a33[_0x39bd77],'undoState':_0x888ef7[_0xc433ff(0x310)][_0xc433ff(0x364)],'redoState':_0x269a25[_0xc433ff(0x310)][_0xc433ff(0x364)]}),_0x39a31c=_0x888ef7[_0xc433ff(0x2fa)],_0x3dfce7=_0x269a25[_0xc433ff(0x2fa)];}_0x39a31c=_0x63378d['Tools']['deepClone'](_0x115db7[_0xc433ff(0x298)][0x0]),_0x3dfce7=_0x63378d['Tools']['deepClone'](_0x115db7['mutations'][0x0]);for(let _0x1ffe1c=_0x251f72[_0xc433ff(0x3af)]-0x1;_0x1ffe1c>=0x0;_0x1ffe1c--){const _0x30f155={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x251f72[_0x1ffe1c][_0xc433ff(0x1bb)],..._0x251f72[_0x1ffe1c][_0xc433ff(0x2f2)]}},_0x527a27={'id':_0xc433ff(0x3c4),'params':{'unitId':_0x251f72[_0x1ffe1c][_0xc433ff(0x1bb)],..._0x251f72[_0x1ffe1c][_0xc433ff(0x1b9)]}},_0x347713=this[_0xc433ff(0x253)][_0xc433ff(0x2c8)](_0x39a31c,_0x30f155,!0x1),_0x4ed613=this['_transformService'][_0xc433ff(0x2c8)](_0x3dfce7,_0x527a27,!0x1);if(_0x1a1813['isTransformMutationFailure'](_0x347713))throw _0x347713[_0xc433ff(0x33d)];if(_0x1a1813[_0xc433ff(0x417)](_0x4ed613))throw _0x4ed613[_0xc433ff(0x33d)];_0x4da94a[_0xc433ff(0x2ed)]({..._0x251f72[_0x1ffe1c],'undoState':_0x347713[_0xc433ff(0x310)][_0xc433ff(0x364)],'redoState':_0x4ed613['m2Prime'][_0xc433ff(0x364)]}),_0x39a31c=_0x347713[_0xc433ff(0x2fa)],_0x3dfce7=_0x4ed613[_0xc433ff(0x2fa)];}this['_docStateChangeManagerService'][_0xc433ff(0x231)](_0x51dc22,{'history':_0x22e568,'collaboration':_0x4da94a});}};_0x1f7a6b=_0x3a111f([_0x2c6f9e(0x0,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x2e7)])),_0x2c6f9e(0x1,_0x1a1813['ITransformService']),_0x2c6f9e(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x466fa5['DocStateChangeManagerService']))],_0x1f7a6b);var _0x43dbcd=Object[_0xa2269c(0x2ee)],_0xd3278a=(_0x25da8a,_0x434498,_0x3e37a9,_0x199bb8)=>{for(var _0x2edf3c=_0x199bb8>0x1?void 0x0:_0x199bb8?_0x43dbcd(_0x434498,_0x3e37a9):_0x434498,_0x2680ae=_0x25da8a['length']-0x1,_0x1e35af;_0x2680ae>=0x0;_0x2680ae--)(_0x1e35af=_0x25da8a[_0x2680ae])&&(_0x2edf3c=_0x1e35af(_0x2edf3c)||_0x2edf3c);return _0x2edf3c;},_0x46a7b7=(_0x231282,_0x5cb26b)=>(_0x398054,_0x54fb6d)=>_0x5cb26b(_0x398054,_0x54fb6d,_0x231282);let _0x58b866=class{constructor(_0x259101,_0x57220b){const _0x40b848=_0xa2269c;this['_injector']=_0x259101,this[_0x40b848(0x253)]=_0x57220b;}[_0xa2269c(0x24d)](_0x4ea3f8){const _0x24092d=_0xa2269c;var _0x3664ec;const _0x262941=this[_0x24092d(0x2c9)]['get'](_0x461a0f[_0x24092d(0x370)]),_0x1c755b=(_0x3664ec=_0x262941[_0x24092d(0x206)]())!=null?_0x3664ec:[];if(_0x1c755b[_0x24092d(0x3af)]===0x0)return;const _0x5704aa=_0x4ea3f8['unitID'],_0x22f82a=[{'id':_0x24092d(0x3c4),'params':{'unitId':_0x5704aa,'actions':null,'textRanges':_0x1c755b}}],_0x110429=this[_0x24092d(0x253)][_0x24092d(0x36b)](_0x4ea3f8,_0x22f82a);if(!_0x1a1813[_0x24092d(0x239)](_0x110429))throw _0x110429['error'];const _0x2d79a7=_0x110429[_0x24092d(0x310)][0x0]['params'][_0x24092d(0x426)];Array['isArray'](_0x2d79a7)&&_0x2d79a7[_0x24092d(0x3af)]&&_0x262941[_0x24092d(0x308)](_0x2d79a7,{'unitId':_0x5704aa,'subUnitId':_0x5704aa},!0x1);}};_0x58b866=_0xd3278a([_0x46a7b7(0x0,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x46a7b7(0x1,_0x1a1813['ITransformService'])],_0x58b866);var _0x4f2798=Object[_0xa2269c(0x2ee)],_0x11b54d=(_0x107862,_0x222e11,_0x5d9f56,_0x11df6f)=>{const _0x3b106b=_0xa2269c;for(var _0x5de845=_0x11df6f>0x1?void 0x0:_0x11df6f?_0x4f2798(_0x222e11,_0x5d9f56):_0x222e11,_0x10901e=_0x107862[_0x3b106b(0x3af)]-0x1,_0x292496;_0x10901e>=0x0;_0x10901e--)(_0x292496=_0x107862[_0x10901e])&&(_0x5de845=_0x292496(_0x5de845)||_0x5de845);return _0x5de845;},_0x20c60a=(_0x48e8c8,_0x693078)=>(_0x4513a6,_0x53ee15)=>_0x693078(_0x4513a6,_0x53ee15,_0x48e8c8);let _0xc3f04c=class extends _0x63378d[_0xa2269c(0x2eb)]{constructor(_0x25f8bb,_0xbe2d47,_0x1db2cf,_0x59a1b3,_0x2d6986,_0xaa8cc7,_0x47062b,_0x42e01b){const _0x4e3d0d=_0xa2269c;super(),_0x354915(this,'_status$',new _0xdb7e78[(_0x4e3d0d(0x189))](_0x49b930['CollaborationStatus'][_0x4e3d0d(0x2cc)])),(this['_docStateChangeManagerService']=_0x25f8bb,this[_0x4e3d0d(0x2ba)]=_0xbe2d47,this[_0x4e3d0d(0x17d)]=_0x1db2cf,this[_0x4e3d0d(0x3f8)]=_0x59a1b3,this['_docTransformSelectionsService']=_0x2d6986,this['_docSyncEditingCollabCursorService']=_0xaa8cc7,this['_messageService']=_0x47062b,this[_0x4e3d0d(0x1f2)]=_0x42e01b,this[_0x4e3d0d(0x1c6)]());}['_initEntityListener'](){const _0x437b85=_0xa2269c;this[_0x437b85(0x165)](this['_collaborationController'][_0x437b85(0x41d)][_0x437b85(0x3bd)](_0x294d3a=>{const _0x2a35b5=_0x437b85,_0x258175=this['_docStateChangeManagerService']['docStateChange$'][_0x2a35b5(0x3bd)](_0x7f4d05=>{const _0x297955=_0x2a35b5;if(_0x7f4d05==null)return;const {unitId:_0x4498b7,redoState:_0x1dd0d4,commandId:_0x27f55a}=_0x7f4d05;if(_0x4498b7!==_0x294d3a['unitID'])return;const _0x150003={'id':_0x27f55a,'type':_0x63378d[_0x297955(0x2cd)][_0x297955(0x279)],'params':{'unitId':_0x4498b7,'actions':_0x1dd0d4['actions'],'textRanges':null}};_0x294d3a[_0x297955(0x247)](_0x150003);});if(_0x294d3a[_0x2a35b5(0x165)](_0x258175),_0x294d3a instanceof _0x49b930['DocCollaborationEntity']){const _0x17943d={'onTransformIME':_0x51781=>this[_0x2a35b5(0x17d)][_0x2a35b5(0x372)](_0x51781),'onTransformState':_0x61a8c7=>this[_0x2a35b5(0x3f8)][_0x2a35b5(0x3cc)](_0x61a8c7),'onTransformSelections':_0x1f1fdc=>this['_docTransformSelectionsService'][_0x2a35b5(0x24d)](_0x1f1fdc),'onSyncEditingCollabCursor':_0x5f3d46=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5f3d46),'onTransformRemoteChangesetByIMECache':_0xd8cf1=>this[_0x2a35b5(0x17d)]['transformRemoteChangeset'](_0xd8cf1),'onTransformRemoteChangesetByStateCache':_0x2446e7=>this[_0x2a35b5(0x3f8)]['transformRemoteChangeset'](_0x2446e7)};_0x294d3a[_0x2a35b5(0x29b)](_0x17943d);}}));}};_0xc3f04c=_0x11b54d([_0x20c60a(0x0,_0x63378d['Inject'](_0x466fa5['DocStateChangeManagerService'])),_0x20c60a(0x1,_0x63378d['Inject'](_0x49b930['CollaborationController'])),_0x20c60a(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x38d822)),_0x20c60a(0x3,_0x63378d['Inject'](_0x1f7a6b)),_0x20c60a(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x58b866)),_0x20c60a(0x5,_0x63378d[_0xa2269c(0x1ce)](_0x5ad830)),_0x20c60a(0x6,_0x2c32f5[_0xa2269c(0x1d5)]),_0x20c60a(0x7,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x428)]))],_0xc3f04c);var _0x3df578=(_0x4993b0=>(_0x4993b0[_0x4993b0[_0xa2269c(0x3a3)]=0x0]='UNDEFINED',_0x4993b0[_0x4993b0['OK']=0x1]='OK',_0x4993b0[_0x4993b0[_0xa2269c(0x158)]=0x2]=_0xa2269c(0x158),_0x4993b0[_0x4993b0[_0xa2269c(0x2c7)]=0x3]=_0xa2269c(0x2c7),_0x4993b0[_0x4993b0[_0xa2269c(0x1fd)]=0x4]=_0xa2269c(0x1fd),_0x4993b0[_0x4993b0[_0xa2269c(0x1d0)]=0x5]=_0xa2269c(0x1d0),_0x4993b0[_0x4993b0[_0xa2269c(0x193)]=0x6]='ALREADY_EXISTS',_0x4993b0[_0x4993b0[_0xa2269c(0x1b4)]=0x7]=_0xa2269c(0x1b4),_0x4993b0[_0x4993b0[_0xa2269c(0x1c9)]=0x8]='TOO_MANY_REQUESTS',_0x4993b0[_0x4993b0[_0xa2269c(0x398)]=0x9]=_0xa2269c(0x398),_0x4993b0[_0x4993b0[_0xa2269c(0x1c3)]=0xa]=_0xa2269c(0x1c3),_0x4993b0[_0x4993b0[_0xa2269c(0x225)]=0xb]=_0xa2269c(0x225),_0x4993b0[_0x4993b0[_0xa2269c(0x3c9)]=0xc]=_0xa2269c(0x3c9),_0x4993b0[_0x4993b0[_0xa2269c(0x2db)]=0xd]=_0xa2269c(0x2db),_0x4993b0[_0x4993b0[_0xa2269c(0x17e)]=0xe]=_0xa2269c(0x17e),_0x4993b0[_0x4993b0[_0xa2269c(0x25d)]=0xf]=_0xa2269c(0x25d),_0x4993b0[_0x4993b0[_0xa2269c(0x1bc)]=0x10]=_0xa2269c(0x1bc),_0x4993b0[_0x4993b0['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0xa2269c(0x184),_0x4993b0[_0x4993b0[_0xa2269c(0x13d)]=0x65]=_0xa2269c(0x13d),_0x4993b0[_0x4993b0[_0xa2269c(0x382)]=0xc9]=_0xa2269c(0x382),_0x4993b0[_0x4993b0[_0xa2269c(0x424)]=0xca]=_0xa2269c(0x424),_0x4993b0[_0x4993b0[_0xa2269c(0x210)]=0x1389]=_0xa2269c(0x210),_0x4993b0[_0x4993b0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4993b0[_0x4993b0[_0xa2269c(0x2d7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4993b0[_0x4993b0[_0xa2269c(0x3b1)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4993b0[_0x4993b0[_0xa2269c(0x175)]=0x1b59]=_0xa2269c(0x175),_0x4993b0[_0x4993b0[_0xa2269c(0x1a3)]=0x1b5a]=_0xa2269c(0x1a3),_0x4993b0[_0x4993b0[_0xa2269c(0x17a)]=0x1b5b]=_0xa2269c(0x17a),_0x4993b0[_0x4993b0[_0xa2269c(0x3ca)]=0x1b5c]=_0xa2269c(0x3ca),_0x4993b0[_0x4993b0[_0xa2269c(0x1ad)]=0x1b5d]=_0xa2269c(0x1ad),_0x4993b0[_0x4993b0[_0xa2269c(0x12e)]=0x1f41]=_0xa2269c(0x12e),_0x4993b0[_0x4993b0[_0xa2269c(0x2a5)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4993b0[_0x4993b0[_0xa2269c(0x2b1)]=0x232a]=_0xa2269c(0x2b1),_0x4993b0[_0x4993b0[_0xa2269c(0x146)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4993b0[_0x4993b0[_0xa2269c(0x3b3)]=0x232c]=_0xa2269c(0x3b3),_0x4993b0[_0x4993b0[_0xa2269c(0x226)]=0x232d]=_0xa2269c(0x226),_0x4993b0[_0x4993b0[_0xa2269c(0x16b)]=0x2711]=_0xa2269c(0x16b),_0x4993b0[_0x4993b0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4993b0[_0x4993b0[_0xa2269c(0x130)]=0x2713]=_0xa2269c(0x130),_0x4993b0[_0x4993b0[_0xa2269c(0x28e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4993b0[_0x4993b0[_0xa2269c(0x3f3)]=0x271a]=_0xa2269c(0x3f3),_0x4993b0[_0x4993b0['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xa2269c(0x2f8),_0x4993b0[_0x4993b0[_0xa2269c(0x3a4)]=0x271c]=_0xa2269c(0x3a4),_0x4993b0[_0x4993b0[_0xa2269c(0x136)]=0x271d]=_0xa2269c(0x136),_0x4993b0[_0x4993b0[_0xa2269c(0x15b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4993b0[_0x4993b0['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x4993b0[_0x4993b0[_0xa2269c(0x276)]=0x2720]=_0xa2269c(0x276),_0x4993b0[_0x4993b0[_0xa2269c(0x27b)]=0x2af9]=_0xa2269c(0x27b),_0x4993b0[_0x4993b0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4993b0[_0x4993b0[_0xa2269c(0x369)]=0x2ee2]=_0xa2269c(0x369),_0x4993b0[_0x4993b0[_0xa2269c(0x23f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4993b0[_0x4993b0[_0xa2269c(0x3a8)]=0x2ee4]=_0xa2269c(0x3a8),_0x4993b0[_0x4993b0[_0xa2269c(0x302)]=0x2ee5]=_0xa2269c(0x302),_0x4993b0[_0x4993b0[_0xa2269c(0x1f5)]=0x32c9]=_0xa2269c(0x1f5),_0x4993b0[_0x4993b0['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xa2269c(0x3f9),_0x4993b0[_0x4993b0['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4993b0[_0x4993b0['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4993b0[_0x4993b0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xa2269c(0x400),_0x4993b0[_0x4993b0[_0xa2269c(0x12f)]=0x36b3]=_0xa2269c(0x12f),_0x4993b0[_0x4993b0[_0xa2269c(0x36e)]=0x36b4]=_0xa2269c(0x36e),_0x4993b0[_0x4993b0[_0xa2269c(0x402)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x4993b0[_0x4993b0['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0xa2269c(0x2b5),_0x4993b0[_0x4993b0[_0xa2269c(0x37b)]=0x36b7]=_0xa2269c(0x37b),_0x4993b0[_0x4993b0[_0xa2269c(0x34c)]=0x36b8]=_0xa2269c(0x34c),_0x4993b0[_0x4993b0['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0xa2269c(0x32a),_0x4993b0[_0x4993b0[_0xa2269c(0x3ed)]=0x3716]=_0xa2269c(0x3ed),_0x4993b0[_0x4993b0[_0xa2269c(0x341)]=0x3717]=_0xa2269c(0x341),_0x4993b0[_0x4993b0['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0xa2269c(0x385),_0x4993b0[_0x4993b0[_0xa2269c(0x383)]=0x3a99]=_0xa2269c(0x383),_0x4993b0[_0x4993b0['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xa2269c(0x32c),_0x4993b0[_0x4993b0[_0xa2269c(0x25c)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4993b0[_0x4993b0[_0xa2269c(0x176)]=0x3a9c]=_0xa2269c(0x176),_0x4993b0[_0x4993b0[_0xa2269c(0x28c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4993b0[_0x4993b0[_0xa2269c(0x1ca)]=0x3a9e]=_0xa2269c(0x1ca),_0x4993b0[_0x4993b0[_0xa2269c(0x1d3)]=0x3a9f]=_0xa2269c(0x1d3),_0x4993b0[_0x4993b0[_0xa2269c(0x36c)]=0x3e81]=_0xa2269c(0x36c),_0x4993b0[_0x4993b0[_0xa2269c(0x1aa)]=-0x1]=_0xa2269c(0x1aa),_0x4993b0))(_0x3df578||{});function _0x3302db(_0x54f7b5){const _0x542da1=_0xa2269c;var _0x3c5097,_0x426fe0;const _0x1a6774=(_0x3c5097=_0x54f7b5[_0x542da1(0x216)])==null?void 0x0:_0x3c5097[_0x542da1(0x351)],_0x532c43=((_0x426fe0=_0x54f7b5['stageInfo'])==null?void 0x0:_0x426fe0['totalFormulasToCalculate'])||0x0;return _0x1a6774===_0x1a201e['FormulaExecuteStageType'][_0x542da1(0x379)]&&_0x532c43>0x0;}function _0x165cdd(_0x166b23){return _0x166b23['functionsExecutedState']===_0x1a201e['FormulaExecutedStateType']['SUCCESS'];}var _0xb1dc2d=Object['getOwnPropertyDescriptor'],_0x46a064=(_0x1b8151,_0x458f7c,_0x1cd2fc,_0x2b7f94)=>{const _0x3e85fe=_0xa2269c;for(var _0x22af85=_0x2b7f94>0x1?void 0x0:_0x2b7f94?_0xb1dc2d(_0x458f7c,_0x1cd2fc):_0x458f7c,_0x1ae599=_0x1b8151[_0x3e85fe(0x3af)]-0x1,_0x473ac9;_0x1ae599>=0x0;_0x1ae599--)(_0x473ac9=_0x1b8151[_0x1ae599])&&(_0x22af85=_0x473ac9(_0x22af85)||_0x22af85);return _0x22af85;},_0x3a44a7=(_0x5c29dd,_0x22ddd0)=>(_0x1e6106,_0x360fbb)=>_0x22ddd0(_0x1e6106,_0x360fbb,_0x5c29dd);const _0x47d8d1=_0xa2269c(0x15d),_0xec6fb3=_0xa2269c(0x419),_0x288692=_0xa2269c(0x1c0);let _0x5735c9=class extends _0x63378d[_0xa2269c(0x2eb)]{constructor(_0x580b1b,_0x391228,_0x24e36e,_0x61a9ef,_0x51104b,_0x1256e9,_0x51fb8e){const _0xced4d5=_0xa2269c;super(),_0x354915(this,_0xced4d5(0x245),null),_0x354915(this,_0xced4d5(0x241),0x0),_0x354915(this,'_currentUsage',0x0),_0x354915(this,_0xced4d5(0x1dc),[]),_0x354915(this,_0xced4d5(0x260),0x0),(this[_0xced4d5(0x295)]=_0x580b1b,this[_0xced4d5(0x234)]=_0x391228,this[_0xced4d5(0x359)]=_0x24e36e,this['_httpService']=_0x61a9ef,this[_0xced4d5(0x1ef)]=_0x51104b,this[_0xced4d5(0x1c2)]=_0x1256e9,this[_0xced4d5(0x1f2)]=_0x51fb8e,this['_initCommandInterceptor']());}[_0xa2269c(0x40e)](){const _0x3fdd0d=_0xa2269c;this['disposeWithMe'](this[_0x3fdd0d(0x234)]['beforeCommandExecuted']((_0xa80b27,_0xd01793)=>{const _0x4b3593=_0x3fdd0d;var _0x2643fc;if(_0xa80b27['id']!==_0x1a201e['SetFormulaCalculationStartMutation']['id'])return;const _0x22e792=_0xa80b27[_0x4b3593(0x364)];if(!this['_hasFormulaInDirtyRanges']((_0x2643fc=_0x22e792[_0x4b3593(0x380)])!=null?_0x2643fc:[]))return;if(!this[_0x4b3593(0x38d)]())throw this['_checkAndWaitForCalculationPermission'](_0xa80b27,_0xd01793),this[_0x4b3593(0x14d)](),new _0x63378d[(_0x4b3593(0x2bd))]();})),this[_0x3fdd0d(0x165)](this['_commandService'][_0x3fdd0d(0x172)]((_0x24a6f0,_0x2d041e)=>{const _0x5e0e85=_0x3fdd0d;if(_0x24a6f0['id']!==_0x1a201e[_0x5e0e85(0x254)]['id'])return;const _0x21dd77=_0x24a6f0[_0x5e0e85(0x364)];if(_0x3302db(_0x21dd77)){const _0x2744f2=_0x63378d[_0x5e0e85(0x311)]();this[_0x5e0e85(0x1dc)][_0x5e0e85(0x2ca)](_0x2744f2),this[_0x5e0e85(0x20d)](_0x2744f2);}else{if(_0x165cdd(_0x21dd77)&&this['_taskIds'][_0x5e0e85(0x3af)]>0x0){const _0x370dc8=this[_0x5e0e85(0x1dc)][_0x5e0e85(0x388)]();this['_releaseCalculationLimit'](_0x370dc8);}}}));}[_0xa2269c(0x212)](){const _0x359a26=_0xa2269c;super[_0x359a26(0x212)](),this['_clearPolling'](),this[_0x359a26(0x1dc)]=[],this[_0x359a26(0x16e)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x359a26(0x260)]=0x0;}async[_0xa2269c(0x15f)](_0xb2bba5,_0x20ffb8){const _0x5c0773=_0xa2269c;for(let _0x204cc5=0x0;_0x204cc5<0x1e;_0x204cc5++)try{if(await this['_getFormulaLimitStatus'](),this[_0x5c0773(0x38d)]()){this[_0x5c0773(0x188)](_0xb2bba5,_0x20ffb8),this['_messageService']['show']({'content':this[_0x5c0773(0x1f2)]['t'](_0x5c0773(0x3f1)),'type':_0x25c8b9[_0x5c0773(0x2d0)][_0x5c0773(0x1b1)]});return;}await new Promise(_0x201632=>{const _0x3d3a25=_0x5c0773;this[_0x3d3a25(0x245)]=window[_0x3d3a25(0x409)](_0x201632,0x3e8);});}catch(_0x367f78){this['_logService'][_0x5c0773(0x33d)](_0x367f78);}this[_0x5c0773(0x295)]['show']({'content':this[_0x5c0773(0x1f2)]['t'](_0x5c0773(0x381)),'type':_0x25c8b9[_0x5c0773(0x2d0)][_0x5c0773(0x269)]});}[_0xa2269c(0x188)](_0x1b953d,_0x4d23fd){const _0x53faf8=_0xa2269c;try{this['_commandService']['executeCommand'](_0x1b953d['id'],_0x1b953d[_0x53faf8(0x364)],_0x4d23fd);}catch(_0x2e600d){this['_logService'][_0x53faf8(0x33d)](_0x2e600d);}}[_0xa2269c(0x15a)](_0x54d75c,_0x4a4945){const _0x314489=_0xa2269c;_0x4a4945<this['_lastResponseTimestamp']||(this[_0x314489(0x260)]=_0x4a4945,this[_0x314489(0x241)]=Number['parseInt'](_0x54d75c['maxFormulaLimit']),this[_0x314489(0x16e)]=Number['parseInt'](_0x54d75c[_0x314489(0x1e8)]));}async['_startCalculationLimit'](_0x58aca9){const _0x335a1c=_0xa2269c;var _0x271e19,_0x2ed0a0;const _0x42e199=Date[_0x335a1c(0x171)]();try{const _0x52fe0d=((_0x271e19=this[_0x335a1c(0x359)]['getConfig'](_0x49b930[_0x335a1c(0x149)]))==null?void 0x0:_0x271e19[_0x335a1c(0x280)])||_0xec6fb3,_0x390e46=(await this['_httpService']['post'](_0x52fe0d,{'body':JSON[_0x335a1c(0x133)]({'taskId':_0x58aca9})}))[_0x335a1c(0x1d9)];if(((_0x2ed0a0=_0x390e46[_0x335a1c(0x33d)])==null?void 0x0:_0x2ed0a0[_0x335a1c(0x24e)])!==_0x3df578['OK'])return;this[_0x335a1c(0x15a)](_0x390e46[_0x335a1c(0x199)],_0x42e199);}catch(_0x903fb9){this[_0x335a1c(0x1c2)]['error'](_0x903fb9);}}async[_0xa2269c(0x3bc)](_0x1cfe42){const _0x36d449=_0xa2269c;var _0x570fb1,_0x2bb6ba;const _0x3c6d50=Date['now']();try{const _0x3c8c70=((_0x570fb1=this[_0x36d449(0x359)]['getConfig'](_0x49b930[_0x36d449(0x149)]))==null?void 0x0:_0x570fb1[_0x36d449(0x38b)])||_0x47d8d1,_0x62d285=_0x1cfe42?_0x3c8c70+_0x36d449(0x3dd)+encodeURIComponent(_0x1cfe42):_0x3c8c70,_0x20b2f1=(await this[_0x36d449(0x3c0)]['get'](_0x62d285))[_0x36d449(0x1d9)];if(((_0x2bb6ba=_0x20b2f1[_0x36d449(0x33d)])==null?void 0x0:_0x2bb6ba['code'])!==_0x3df578['OK'])return;this[_0x36d449(0x15a)](_0x20b2f1[_0x36d449(0x199)],_0x3c6d50);}catch(_0x1d4972){this[_0x36d449(0x1c2)][_0x36d449(0x33d)](_0x1d4972);}}async[_0xa2269c(0x427)](_0xe9a102){const _0x320d42=_0xa2269c;var _0x4b2c2c,_0x3bfa0e;const _0x4617ad=Date[_0x320d42(0x171)]();try{const _0x17d2f6=((_0x4b2c2c=this[_0x320d42(0x359)][_0x320d42(0x265)](_0x49b930[_0x320d42(0x149)]))==null?void 0x0:_0x4b2c2c['releaseFormulaLimitUrl'])||_0x288692,_0x40498d=(await this[_0x320d42(0x3c0)]['post'](_0x17d2f6,{'body':JSON[_0x320d42(0x133)]({'taskId':_0xe9a102})}))[_0x320d42(0x1d9)];if(((_0x3bfa0e=_0x40498d[_0x320d42(0x33d)])==null?void 0x0:_0x3bfa0e[_0x320d42(0x24e)])!==_0x3df578['OK'])return;this[_0x320d42(0x15a)](_0x40498d[_0x320d42(0x199)],_0x4617ad);}catch(_0x5bdb6e){this[_0x320d42(0x1c2)][_0x320d42(0x33d)](_0x5bdb6e);}}[_0xa2269c(0x38d)](){const _0x3f2b8f=_0xa2269c;return this[_0x3f2b8f(0x241)]===0x0?!0x0:this[_0x3f2b8f(0x241)]-this[_0x3f2b8f(0x16e)]>0x0;}[_0xa2269c(0x2da)](){const _0x3b18c1=_0xa2269c;this[_0x3b18c1(0x245)]&&(clearTimeout(this[_0x3b18c1(0x245)]),this[_0x3b18c1(0x245)]=null);}[_0xa2269c(0x14d)](){const _0x34c437=_0xa2269c;this[_0x34c437(0x295)][_0x34c437(0x277)]({'content':this[_0x34c437(0x1f2)]['t'](_0x34c437(0x1d4)),'type':_0x25c8b9[_0x34c437(0x2d0)][_0x34c437(0x144)]});}[_0xa2269c(0x14b)](_0xa75241){const _0x57aa7d=_0xa2269c;for(const _0x10ebc2 of _0xa75241){const {unitId:_0x58c330,sheetId:_0x4bfd0b,range:_0x22606d}=_0x10ebc2,_0x36d69a=this[_0x57aa7d(0x1ef)][_0x57aa7d(0x256)](_0x58c330);if(!_0x36d69a)continue;const _0x25ee4e=_0x36d69a['getSheetBySheetId'](_0x4bfd0b);if(!_0x25ee4e)continue;const _0x1f0188=_0x25ee4e['getCellMatrix']();for(let _0x289661=_0x22606d[_0x57aa7d(0x2c6)];_0x289661<=_0x22606d['endRow'];_0x289661++)for(let _0x547a88=_0x22606d[_0x57aa7d(0x41a)];_0x547a88<=_0x22606d[_0x57aa7d(0x1e4)];_0x547a88++){const _0x2d9518=_0x1f0188[_0x57aa7d(0x273)](_0x289661,_0x547a88);if(_0x2d9518&&(_0x63378d[_0x57aa7d(0x3ab)](_0x2d9518['f'])||_0x63378d[_0x57aa7d(0x3ec)](_0x2d9518['si'])))return!0x0;}}return!0x1;}};_0x5735c9=_0x46a064([_0x3a44a7(0x0,_0x63378d['Inject'](_0x2c32f5[_0xa2269c(0x1d5)])),_0x3a44a7(0x1,_0x63378d[_0xa2269c(0x278)]),_0x3a44a7(0x2,_0x63378d[_0xa2269c(0x154)]),_0x3a44a7(0x3,_0x63378d['Inject'](_0x4af045[_0xa2269c(0x246)])),_0x3a44a7(0x4,_0x63378d['IUniverInstanceService']),_0x3a44a7(0x5,_0x63378d[_0xa2269c(0x2f3)]),_0x3a44a7(0x6,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x428)]))],_0x5735c9);var _0x58de3a=Object['getOwnPropertyDescriptor'],_0x18e92a=(_0x54d290,_0x1f7837,_0x2c9237,_0x1eef2e)=>{for(var _0xfd60c=_0x1eef2e>0x1?void 0x0:_0x1eef2e?_0x58de3a(_0x1f7837,_0x2c9237):_0x1f7837,_0xce2dfa=_0x54d290['length']-0x1,_0x4c7f48;_0xce2dfa>=0x0;_0xce2dfa--)(_0x4c7f48=_0x54d290[_0xce2dfa])&&(_0xfd60c=_0x4c7f48(_0xfd60c)||_0xfd60c);return _0xfd60c;},_0x13b743=(_0x44746f,_0x17633a)=>(_0x585d3e,_0x135975)=>_0x17633a(_0x585d3e,_0x135975,_0x44746f);let _0x45caea=class extends _0x63378d['Disposable']{constructor(_0x4230f5,_0x3a5b88,_0x4ae42c){const _0x28c188=_0xa2269c;super(),_0x354915(this,'_cachedData',new Map()),_0x354915(this,_0x28c188(0x1f6),new Map()),_0x354915(this,_0x28c188(0x3cb),!0x1),(this['_configService']=_0x4230f5,this[_0x28c188(0x1e9)]=_0x3a5b88,this[_0x28c188(0x3cd)]=_0x4ae42c);}[_0xa2269c(0x33e)](){this['_disabled']=!0x0;}[_0xa2269c(0x3b0)](){const _0x2ff888=_0xa2269c;this[_0x2ff888(0x3cb)]=!0x1;}get[_0xa2269c(0x2e8)](){const _0x1e8ead=_0xa2269c;return this[_0x1e8ead(0x1f6)];}[_0xa2269c(0x212)](){const _0x55bf77=_0xa2269c;this[_0x55bf77(0x2e9)]()['then'](()=>super['dispose']());}async[_0xa2269c(0x169)](_0x183717){const _0x4459c7=_0xa2269c;return this[_0x4459c7(0x3cb)]?null:this[_0x4459c7(0x1e9)][_0x4459c7(0x41f)](_0x49b930['getLocalCacheKey'](_0x183717));}async[_0xa2269c(0x274)](_0x17a216,_0x27f173){const _0x4489f7=_0xa2269c;return!!this[_0x4489f7(0x1e9)][_0x4489f7(0x3c8)](_0x17a216,_0x27f173);}[_0xa2269c(0x2a4)](_0x207bb2,_0x1b6882,_0x161a10,_0x1fd252){const _0x2cec25=_0xa2269c,_0x5ce2ea=this[_0x2cec25(0x3cd)][_0x2cec25(0x1bf)](_0x207bb2);this[_0x2cec25(0x26f)]['set'](_0x207bb2,{'unitID':_0x207bb2,'type':_0x1b6882,'awaitingChangeset':_0x161a10,'mutations':_0x1fd252,'rev':_0x5ce2ea}),this[_0x2cec25(0x1f6)]['has'](_0x207bb2)||this[_0x2cec25(0x37d)](_0x207bb2);}[_0xa2269c(0x37d)](_0xbd25cf){const _0x1971e5=_0xa2269c,_0x2b5f62=this[_0x1971e5(0x1ae)]();_0x2b5f62===0x0?this[_0x1971e5(0x320)](_0xbd25cf):this[_0x1971e5(0x1f6)][_0x1971e5(0x233)](_0xbd25cf,setTimeout(()=>this[_0x1971e5(0x320)](_0xbd25cf),_0x2b5f62));}[_0xa2269c(0x1ae)](){const _0x44ec72=_0xa2269c;var _0x15c927;return(_0x15c927=this[_0x44ec72(0x359)][_0x44ec72(0x265)](_0x49b930['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x15c927:_0x49b930['LOCAL_CACHE_INTERVAL'];}[_0xa2269c(0x320)](_0x495afc){const _0x482a17=_0xa2269c,_0x44e8a5=this[_0x482a17(0x1f6)][_0x482a17(0x1ed)](_0x495afc);return _0x44e8a5!==void 0x0&&window[_0x482a17(0x297)](_0x44e8a5),this[_0x482a17(0x1e9)][_0x482a17(0x3c8)](_0x49b930['getLocalCacheKey'](_0x495afc),this[_0x482a17(0x26f)][_0x482a17(0x1ed)](_0x495afc))[_0x482a17(0x3e6)](()=>this[_0x482a17(0x1f6)][_0x482a17(0x219)](_0x495afc));}async[_0xa2269c(0x2e9)](){const _0x2f0b87=_0xa2269c,_0x19faf4=[];this[_0x2f0b87(0x1f6)][_0x2f0b87(0x399)]((_0x52f398,_0x2be1c8)=>{const _0xabfa27=_0x2f0b87;window[_0xabfa27(0x297)](_0x52f398),_0x19faf4[_0xabfa27(0x2ca)](this[_0xabfa27(0x320)](_0x2be1c8)[_0xabfa27(0x3e6)](()=>{const _0x1a9fba=_0xabfa27;this[_0x1a9fba(0x1f6)][_0x1a9fba(0x219)](_0x2be1c8);}));}),await Promise[_0x2f0b87(0x42c)](_0x19faf4);}};_0x45caea=_0x18e92a([_0x13b743(0x0,_0x63378d[_0xa2269c(0x154)]),_0x13b743(0x1,_0x63378d[_0xa2269c(0x145)]),_0x13b743(0x2,_0x63378d['Inject'](_0x1a1813[_0xa2269c(0x1b8)]))],_0x45caea);class _0x21f8d9 extends _0x63378d[_0xa2269c(0x1ac)]{constructor(){const _0x589dc1=_0xa2269c;super(),_0x354915(this,_0x589dc1(0x281)),this['urlChange$']=_0xdb7e78[_0x589dc1(0x303)](window,'popstate')['pipe'](_0xdb7e78[_0x589dc1(0x393)](this[_0x589dc1(0x3f6)]),_0xdb7e78['shareReplay'](0x1),_0xdb7e78[_0x589dc1(0x2bb)](void 0x0));}[_0xa2269c(0x264)](_0x16cde5,_0x5c585b,_0x51c4c8=!0x1){const _0x3842cc=_0xa2269c,_0x2fd153=new URL(window[_0x3842cc(0x235)][_0x3842cc(0x307)]);_0x2fd153[_0x3842cc(0x211)]['set'](_0x16cde5,_0x5c585b),_0x51c4c8?window['history'][_0x3842cc(0x1da)]('','',_0x2fd153['toString']()):window[_0x3842cc(0x3d5)][_0x3842cc(0x186)]('','',_0x2fd153[_0x3842cc(0x397)]());}[_0xa2269c(0x255)](_0x17ce84,_0x3a2691=!0x1){const _0x21bb43=_0xa2269c,_0x3a29da=new URL(window['location']['href']);_0x3a29da[_0x21bb43(0x211)][_0x21bb43(0x219)](_0x17ce84),_0x3a2691?window[_0x21bb43(0x3d5)][_0x21bb43(0x1da)]('','',_0x3a29da[_0x21bb43(0x397)]()):window[_0x21bb43(0x3d5)]['pushState']('','',_0x3a29da[_0x21bb43(0x397)]());}['getParam'](_0x5f081c){const _0x27ef63=_0xa2269c;var _0x3b8e85;return(_0x3b8e85=new URL(window['location'][_0x27ef63(0x307)])['searchParams'][_0x27ef63(0x1ed)](_0x5f081c))!=null?_0x3b8e85:void 0x0;}}var _0x59acac=Object['defineProperty'],_0x4a0235=Object[_0xa2269c(0x2ee)],_0x57edaf=(_0x33eae6,_0x1d5bdc,_0x2c5000)=>_0x1d5bdc in _0x33eae6?_0x59acac(_0x33eae6,_0x1d5bdc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c5000}):_0x33eae6[_0x1d5bdc]=_0x2c5000,_0x24f56d=(_0x3fef4c,_0x2e1a0c,_0x1ab5ed,_0x5c2bc4)=>{const _0x453e79=_0xa2269c;for(var _0x596150=_0x5c2bc4>0x1?void 0x0:_0x5c2bc4?_0x4a0235(_0x2e1a0c,_0x1ab5ed):_0x2e1a0c,_0x5e12bb=_0x3fef4c[_0x453e79(0x3af)]-0x1,_0x2c0a44;_0x5e12bb>=0x0;_0x5e12bb--)(_0x2c0a44=_0x3fef4c[_0x5e12bb])&&(_0x596150=_0x2c0a44(_0x596150)||_0x596150);return _0x596150;},_0x27a835=(_0x472384,_0x1d5095)=>(_0x178c95,_0x13754b)=>_0x1d5095(_0x178c95,_0x13754b,_0x472384),_0x4d6cbc=(_0x5b3bbe,_0x5aa146,_0x1c1cf1)=>_0x57edaf(_0x5b3bbe,_0x5aa146+'',_0x1c1cf1);const _0x4d27a0=_0xa2269c(0x141);_0x44307e['UniverCollaborationClientUIPlugin']=class extends _0x63378d[_0xa2269c(0x404)]{constructor(_0x5821f3=_0x78c6d,_0x34019f,_0x131222,_0xfcad03){const _0x175719=_0xa2269c;super(),this[_0x175719(0x328)]=_0x5821f3,this[_0x175719(0x191)]=_0x34019f,this['_injector']=_0x131222,this[_0x175719(0x359)]=_0xfcad03;const {..._0x286102}=_0x63378d[_0x175719(0x232)]({},_0x78c6d,this[_0x175719(0x328)]);this[_0x175719(0x359)][_0x175719(0x3c7)](_0x392784,_0x286102);}[_0xa2269c(0x204)](){const _0x6b8404=_0xa2269c;this[_0x6b8404(0x420)](),this[_0x6b8404(0x315)]();}[_0xa2269c(0x319)](){this['_registerRenderDependencies']();}[_0xa2269c(0x420)](){const _0x269a1d=_0xa2269c;var _0x203173;const _0x15c4ad=[[_0x59a235],[_0x5735c9],[_0x58b866],[_0x38d822],[_0x1f7a6b],[_0x5ad830],[_0xdbf68a,{'useClass':_0x21f8d9}],[_0x4af045[_0x269a1d(0x178)],{'useClass':_0x4af045['WebSocketService']}],[_0x49b930[_0x269a1d(0x31a)],{'useClass':_0x45caea}],[_0x44307e['DesktopCollaborationStatusDisplayController']],[_0xc3f04c],[_0x158e9b],[_0x64597c],[_0x1ae3d3],[_0x44307e[_0x269a1d(0x19e)]]];this[_0x269a1d(0x328)]['enableFrontendLog']&&_0x15c4ad[_0x269a1d(0x2ca)]([_0xc0f0de]),_0x63378d['registerDependencies'](this['_injector'],_0x63378d[_0x269a1d(0x414)](_0x15c4ad,(_0x203173=this[_0x269a1d(0x328)])==null?void 0x0:_0x203173[_0x269a1d(0x1c4)]));}[_0xa2269c(0x343)](){const _0x54d6a8=_0xa2269c;this[_0x54d6a8(0x165)](this[_0x54d6a8(0x191)]['registerRenderModule'](_0x63378d[_0x54d6a8(0x332)][_0x54d6a8(0x143)],[_0x13c409])),this[_0x54d6a8(0x165)](this['_renderManagerService'][_0x54d6a8(0x30b)](_0x63378d[_0x54d6a8(0x332)]['UNIVER_SHEET'],[_0x1331e9]));}[_0xa2269c(0x315)](){const _0x36e812=_0xa2269c;_0x63378d[_0x36e812(0x357)](this[_0x36e812(0x2c9)],[[_0x64597c],[_0x44307e[_0x36e812(0x345)]],[_0xc3f04c],[_0x158e9b],[_0x44307e[_0x36e812(0x19e)]],[_0x5735c9]]),this[_0x36e812(0x328)][_0x36e812(0x365)]&&_0x63378d[_0x36e812(0x357)](this[_0x36e812(0x2c9)],[[_0xc0f0de]]);}},_0x4d6cbc(_0x44307e[_0xa2269c(0x291)],_0xa2269c(0x299),_0x4d27a0),_0x44307e['UniverCollaborationClientUIPlugin']=_0x24f56d([_0x63378d['DependentOn'](_0x49b930['UniverCollaborationClientPlugin']),_0x27a835(0x1,_0x3be252[_0xa2269c(0x3f0)]),_0x27a835(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x27a835(0x3,_0x63378d['IConfigService'])],_0x44307e[_0xa2269c(0x291)]);var _0x1b86d3=Object[_0xa2269c(0x2ee)],_0x4905f0=(_0x3089fe,_0x330532,_0xedbe31,_0x7573b7)=>{const _0x40ac1d=_0xa2269c;for(var _0x27258e=_0x7573b7>0x1?void 0x0:_0x7573b7?_0x1b86d3(_0x330532,_0xedbe31):_0x330532,_0x48206d=_0x3089fe[_0x40ac1d(0x3af)]-0x1,_0x5d25da;_0x48206d>=0x0;_0x48206d--)(_0x5d25da=_0x3089fe[_0x48206d])&&(_0x27258e=_0x5d25da(_0x27258e)||_0x27258e);return _0x27258e;},_0x500736=(_0x44a083,_0x39e659)=>(_0x4e3533,_0x4049e4)=>_0x39e659(_0x4e3533,_0x4049e4,_0x44a083);_0x44307e['BrowserCollaborationSocketService']=class extends _0x49b930['CollaborationSocketService']{constructor(_0xfe00e8,_0xf1364a,_0x561ed9,_0x75d6f8,_0x42841b){super(_0xfe00e8,_0xf1364a,_0x561ed9,_0x75d6f8,_0x42841b);}async[_0xa2269c(0x1e5)](_0x4c3922){const _0x4e3d69=_0xa2269c,_0x5627aa=await this[_0x4e3d69(0x2d2)](),_0x4d2865=this[_0x4e3d69(0x358)](_0x4c3922,_0x5627aa);return this[_0x4e3d69(0x23b)](_0x4d2865);}['_createSocketURL'](_0x204718,_0x3e5b97){const _0x44a55a=_0xa2269c,_0x388239=typeof window>'u'?new URL(_0x204718):new URL(_0x204718,window[_0x44a55a(0x235)][_0x44a55a(0x209)]);_0x388239[_0x44a55a(0x211)][_0x44a55a(0x233)](_0x44a55a(0x1d7),_0x3e5b97);const _0xbfe21=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x44a55a(0x235)][_0x44a55a(0x23d)]);return _0xbfe21['get'](_0x44a55a(0x168))&&_0x388239[_0x44a55a(0x211)][_0x44a55a(0x233)](_0x44a55a(0x168),_0xbfe21[_0x44a55a(0x1ed)]('runId')),_0x388239['toString']();}async[_0xa2269c(0x2d2)](){const _0x26a830=_0xa2269c;var _0x1eb75a,_0x17fec6,_0x1fab27;const _0xea222c=this['_configService'][_0x26a830(0x265)](_0x49b930[_0x26a830(0x149)]),_0x48d89f=(_0x1eb75a=_0xea222c==null?void 0x0:_0xea222c[_0x26a830(0x3bb)])!=null?_0x1eb75a:_0x49b930[_0x26a830(0x197)];return(_0x1fab27=(_0x17fec6=(await this[_0x26a830(0x3c0)]['get'](_0x48d89f,{'headers':{'Content-Type':_0x26a830(0x36a)}}))[_0x26a830(0x1d9)])==null?void 0x0:_0x17fec6[_0x26a830(0x248)])!=null?_0x1fab27:'';}},_0x44307e[_0xa2269c(0x2e1)]=_0x4905f0([_0x500736(0x0,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x500736(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x4af045[_0xa2269c(0x246)])),_0x500736(0x2,_0x63378d[_0xa2269c(0x154)]),_0x500736(0x3,_0x63378d[_0xa2269c(0x2f3)]),_0x500736(0x4,_0x1a1813[_0xa2269c(0x27c)])],_0x44307e[_0xa2269c(0x2e1)]);var _0x385ce8=Object[_0xa2269c(0x2ee)],_0xc0e532=(_0x206822,_0x136c2b,_0x17d05d,_0x5470f0)=>{const _0x4242ce=_0xa2269c;for(var _0x16b2a9=_0x5470f0>0x1?void 0x0:_0x5470f0?_0x385ce8(_0x136c2b,_0x17d05d):_0x136c2b,_0x4767e7=_0x206822[_0x4242ce(0x3af)]-0x1,_0x197127;_0x4767e7>=0x0;_0x4767e7--)(_0x197127=_0x206822[_0x4767e7])&&(_0x16b2a9=_0x197127(_0x16b2a9)||_0x16b2a9);return _0x16b2a9;},_0x34f248=(_0x5bde0e,_0x4f631f)=>(_0xd3c0df,_0x306c1b)=>_0x4f631f(_0xd3c0df,_0x306c1b,_0x5bde0e);_0x44307e['RemoteUniscriptService']=class extends _0x63378d['Disposable']{constructor(_0x456248,_0x1e5b0f,_0x42458e){const _0x1b9e02=_0xa2269c;super(),this[_0x1b9e02(0x166)]=_0x456248,this[_0x1b9e02(0x3c0)]=_0x1e5b0f,this['_configService']=_0x42458e;}async[_0xa2269c(0x3d7)](_0x1ae7ce,_0x1c58da,_0xf7e998,..._0x1e4663){const _0x4594b4=_0xa2269c;var _0x36db0a,_0x22f8be,_0x8caa67,_0x1656fd;const _0x4bc928=this[_0x4594b4(0x166)]['getFocusedUnit']();if(!_0x4bc928)throw new Error(_0x4594b4(0x361));const _0x8d9c82=((_0x36db0a=this[_0x4594b4(0x359)]['getConfig'](_0x49b930['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x36db0a:_0x49b930[_0x4594b4(0x352)])+'/'+_0x1ae7ce+_0x4594b4(0x25f)+_0x1c58da,_0x559770=new URL(window[_0x4594b4(0x235)][_0x4594b4(0x307)]),_0x270ebd={'scriptId':_0x1ae7ce,'runId':(_0x22f8be=_0x559770['searchParams'][_0x4594b4(0x1ed)](_0x4594b4(0x168)))!=null?_0x22f8be:'','function':_0x1c58da,'unitId':_0x4bc928[_0x4594b4(0x1b6)](),'argsOfFunction':JSON['stringify'](_0x1e4663),'invokeId':(_0x8caa67=_0xf7e998['invokeId'])!=null?_0x8caa67:'','executionId':(_0x1656fd=_0xf7e998[_0x4594b4(0x12d)])!=null?_0x1656fd:''};try{const _0x5dcef0=await this[_0x4594b4(0x3c0)][_0x4594b4(0x284)](_0x8d9c82,{'body':_0x270ebd});return _0x5dcef0[_0x4594b4(0x1d9)][_0x4594b4(0x33d)]&&_0x5dcef0['body'][_0x4594b4(0x33d)]['code']!==_0x3df578['OK']?_0x4594b4(0x242):_0x5dcef0[_0x4594b4(0x1d9)][_0x4594b4(0x13a)];}catch{return _0x4594b4(0x242);}}},_0x44307e[_0xa2269c(0x14f)]=_0xc0e532([_0x34f248(0x0,_0x63378d[_0xa2269c(0x240)]),_0x34f248(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x4af045[_0xa2269c(0x246)])),_0x34f248(0x2,_0x63378d[_0xa2269c(0x154)])],_0x44307e[_0xa2269c(0x14f)]);const _0x975c74=0x7530,_0x626da=_0xa2269c(0x153);class _0x441d1d extends _0x63378d[_0xa2269c(0x2eb)]{constructor(){const _0x41f4f6=_0xa2269c;super(),_0x354915(this,_0x41f4f6(0x3a7),_0x63378d['generateRandomId']()),_0x354915(this,_0x41f4f6(0x2a9),new Set()),_0x354915(this,_0x41f4f6(0x301),new Map()),_0x354915(this,_0x41f4f6(0x3f4),null),_0x354915(this,'_clearOtherTimers',new Map()),_0x354915(this,'_unitStatus',new Map()),this[_0x41f4f6(0x29a)]();}[_0xa2269c(0x212)](){const _0x2183c8=_0xa2269c;super[_0x2183c8(0x212)](),this[_0x2183c8(0x411)][_0x2183c8(0x399)]((_0xb3a77a,_0x5d5137)=>this[_0x2183c8(0x2fb)](_0x5d5137)),this[_0x2183c8(0x3f4)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0xa2269c(0x286)](_0x1d6850){const _0x41a4ff=_0xa2269c;return this['_ensureSubject'](_0x1d6850)[_0x41a4ff(0x287)](_0xdb7e78[_0x41a4ff(0x2b8)]());}[_0xa2269c(0x3d9)](_0x58dc97){const _0x46afd9=_0xa2269c;this[_0x46afd9(0x2a9)][_0x46afd9(0x368)]===0x0&&this['_scheduleHeartbeat'](),this[_0x46afd9(0x2a9)][_0x46afd9(0x2a3)](_0x58dc97),this['_send']({'type':0x0,'memberID':this[_0x46afd9(0x3a7)],'unitIDs':[_0x58dc97],'isForwarded':!0x1});}[_0xa2269c(0x346)](_0x298d86){const _0x169bf4=_0xa2269c;this['_selfUnitIDs'][_0x169bf4(0x219)](_0x298d86),this[_0x169bf4(0x2a9)]['size']===0x0&&this[_0x169bf4(0x3f4)]&&window[_0x169bf4(0x1a1)](this[_0x169bf4(0x3f4)]);}[_0xa2269c(0x29a)](){const _0x13f0f2=_0xa2269c;this[_0x13f0f2(0x165)](_0x63378d[_0x13f0f2(0x200)](_0xdb7e78[_0x13f0f2(0x303)](window,_0x13f0f2(0x333))['subscribe'](_0x2a988d=>{const _0x59bc13=_0x13f0f2;if(_0x2a988d[_0x59bc13(0x348)]!==_0x626da||!_0x2a988d[_0x59bc13(0x2d9)])return;const _0x55f234=JSON['parse'](_0x2a988d[_0x59bc13(0x2d9)]);this[_0x59bc13(0x21c)](_0x55f234);}))),window['addEventListener'](_0x13f0f2(0x34f),()=>this[_0x13f0f2(0x3d2)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x13f0f2(0x140)](this['_selfUnitIDs'])}));}[_0xa2269c(0x21c)](_0x216336){const _0x44add3=_0xa2269c;switch(_0x216336['type']){case 0x0:this[_0x44add3(0x16a)](_0x216336);break;case 0x1:this['_handleLeaveEvent'](_0x216336);break;case 0x2:this[_0x44add3(0x138)](_0x216336);break;}}[_0xa2269c(0x16a)](_0x217338){const _0x153eec=_0xa2269c,{unitIDs:_0x6f0611,memberID:_0x5100da,isForwarded:_0x1d34aa}=_0x217338;_0x6f0611[_0x153eec(0x399)](_0x197c29=>{const _0x376ec3=_0x153eec;if(!_0x1d34aa&&this[_0x376ec3(0x301)][_0x376ec3(0x305)](_0x197c29)&&this[_0x376ec3(0x2fe)](_0x197c29)[_0x376ec3(0x386)](_0x49b930[_0x376ec3(0x375)][_0x376ec3(0x3a5)]),!this[_0x376ec3(0x301)]['has'](_0x197c29)||!this[_0x376ec3(0x301)]['get'](_0x197c29)[_0x376ec3(0x305)](_0x5100da)){const _0x1d01d9=this['_unitOnClients'][_0x376ec3(0x1ed)](_0x197c29)||new Set();_0x1d01d9[_0x376ec3(0x2a3)](_0x5100da),this[_0x376ec3(0x301)][_0x376ec3(0x233)](_0x197c29,_0x1d01d9),this['_scheduleClearOtherTimer'](_0x5100da);}}),_0x1d34aa||this[_0x153eec(0x3d2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xa2269c(0x1cd)](_0x5cdd94){const _0x5647a2=_0xa2269c;this[_0x5647a2(0x2fb)](_0x5cdd94);const _0x1bf723=window[_0x5647a2(0x409)](()=>{const _0x40e7ca=_0x5647a2;this[_0x40e7ca(0x301)][_0x40e7ca(0x399)](_0x584b63=>{_0x584b63['delete'](_0x5cdd94);});},_0x975c74*0x2);this[_0x5647a2(0x411)][_0x5647a2(0x233)](_0x5cdd94,_0x1bf723);}[_0xa2269c(0x2fb)](_0x416eb5){const _0x6898be=_0xa2269c;if(this[_0x6898be(0x411)][_0x6898be(0x305)](_0x416eb5)){const _0x4572b7=this['_clearOtherTimers']['get'](_0x416eb5);_0x4572b7&&window[_0x6898be(0x297)](_0x4572b7),this['_clearOtherTimers']['set'](_0x416eb5,null);}}['_handleLeaveEvent'](_0x1e67a5){const _0x33e0df=_0xa2269c,{memberID:_0x44adc6,unitIDs:_0x1d6591}=_0x1e67a5;_0x1d6591[_0x33e0df(0x399)](_0x5797e1=>{const _0xda1786=_0x33e0df;var _0x4ecaef;const _0x1221f0=this[_0xda1786(0x301)][_0xda1786(0x1ed)](_0x5797e1);_0x1221f0&&(_0x1221f0[_0xda1786(0x219)](_0x44adc6),(_0x4ecaef=this[_0xda1786(0x2fe)](_0x5797e1))==null||_0x4ecaef[_0xda1786(0x386)](_0x1221f0[_0xda1786(0x368)]===0x0?_0x49b930[_0xda1786(0x375)]['NO_OTHER_CLIENTS_EDITING']:_0x49b930[_0xda1786(0x375)][_0xda1786(0x3a5)]));}),this['_removeClearOtherTimer'](_0x44adc6);}[_0xa2269c(0x138)](_0x46ca6e){const _0x518e3e=_0xa2269c;this[_0x518e3e(0x1cd)](_0x46ca6e['memberID']);}[_0xa2269c(0x3d2)](_0x17e955){const _0x1426c4=_0xa2269c;localStorage['setItem'](_0x626da,JSON[_0x1426c4(0x133)](_0x17e955));}['_scheduleHeartbeat'](){const _0x4b2d4f=_0xa2269c;this[_0x4b2d4f(0x3f4)]=window[_0x4b2d4f(0x344)](()=>{const _0x4158c9=_0x4b2d4f;this[_0x4158c9(0x3d2)]({'type':0x2,'memberID':this[_0x4158c9(0x3a7)]});},_0x975c74);}[_0xa2269c(0x2fe)](_0x5fc6fe){const _0x2e1cc8=_0xa2269c;return this[_0x2e1cc8(0x413)][_0x2e1cc8(0x305)](_0x5fc6fe)||this[_0x2e1cc8(0x413)][_0x2e1cc8(0x233)](_0x5fc6fe,new _0xdb7e78[(_0x2e1cc8(0x189))](_0x49b930[_0x2e1cc8(0x375)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2e1cc8(0x413)][_0x2e1cc8(0x1ed)](_0x5fc6fe);}}_0x44307e[_0xa2269c(0x384)]=_0xdbf68a,_0x44307e[_0xa2269c(0x1d1)]=_0x205978,_0x44307e['WebBrowserSingleActiveUnitService']=_0x441d1d,_0x44307e[_0xa2269c(0x164)]=_0x21f8d9,Object['defineProperty'](_0x44307e,Symbol[_0xa2269c(0x3de)],{'value':_0xa2269c(0x34d)});}));function _0x773f(){const _0x3abc02=['_memberService','SetTextSelectionsOperation','size','INVALID_INVITE_CODE','application/json','transformMutationsWithChangeset','DATA_SOURCE_TOO_LARGE','SUBMIT_CHANGESET_TIMEOUT','PAYMENT_CHANNEL_NOT_SUPPORT','0\x200\x2016\x2016','DocSelectionManagerService','_isBlinkVisible','transformIMECache','range','CollaborationUIEventService','UnitStatus','759328lCeajv','SetDocZoomRatioOperation','assign','START_CALCULATION','collaboration.closeRoom','ENTITLE_COUPON_USED_UP','_labelPosition','_scheduleSaving','DocSkeletonManagerService','NodePositionConvertToRectRange','dirtyRanges','formula.calculation.unable','USER_NOT_FOUND','REDEMPTION_INVALID_CODE','IURLService','ENTITLE_NEED_BILLING_ADDRESS','next','_session','shift','_colorAssignService','_sheetSkeletonManagerService','getFormulaLimitStatusUrl','5798130XdNqZj','_checkCalculationAvailable','_setupBeforeClosingHandler','_cursor','switchMap','_lastPointer','CollaborationEvent','takeUntil','transform','registerRefRange','none','toString','COMPLETION_FINISHED','forEach','transformRemoteChangeset','_refreshCollabCursors','rxjs','defIds','_removeCollabCursors','DeleteRangeMoveUpCommandId','\x20at\x20','session.collaboration-timeout','collaboration-client-ui.config','UNDEFINED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','OTHER_CLIENTS_EDITING','unitID','_id','USER_NOT_INVITED_CODE','_initUnhandledRejectionListener','clsx','isFormulaString','collaboration.single-unit.warning','path','clipPath','length','enableLocalCache','ENSURE_SNAPSHOT_EXECUTION','_collaborationSessionService','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/core','_getAnchorBounding','Rect','getViewport','@univerjs/ui','842628YZNVdz','attrs','wsSessionTicketUrl','_getFormulaLimitStatus','subscribe','translate(.97)','_getSheetObject','_httpService','getColor','getUniverSheetInstance','_initStatusComponent','doc.mutation.rich-text-editing','collabStatus.fetchMiss','_transformHistoryAndStateStack','setConfig','setItem','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_PERMISSION_DENIED','_disabled','transformStateCache','_revisionService','entries','UniverRpc','OFFLINE','DeleteRangeMoveLeftCommandId','_send','_offsetY','jsx','history','deepClone','runOnServer','_beforeCloseService','editingUnit','_shapes','fillStyle','url(#off-line-icon_clip0_910_343)','?taskId=','toStringTag','_anchorDot','_toggleOnline','TRANSFORM_CHANGE_OBSERVABLE_TYPE','univerjs-icon\x20univerjs-icon-','@univerjs-pro/collaboration','handleInsertRow','startsWith','then','requireSession','_drawAnchor','svg','handleDeleteRangeMoveUp','event$','isFormulaId','ENTITLE_REPORT_LIMIT_EXCEED','8826039vSPFoi','[LogService\x20Error]:\x20','IRenderManagerService','formula.calculation.started','replace','YUUMI_NO_CUBOID_FOR_QUESTION','_heartbeatTimer','currentTheme$','dispose$','tag','_docTransformStateCacheService','MOBILE_HAS_BEEN_BOUND','9585630sklfWU','color','arc','_range','CONFLICT','getAncestorScale','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','cursorInfo','ENTITLE_INVALID_COUPON_CODE','DisposableCollection','Plugin','restore','black','UniverProCollaborationClientUi','_transformPreviousActiveRange','setTimeout','useObservable','@univerjs/sheets-ui','_hideTimer','on-line-icon','_initCommandInterceptor','closePath','function','_clearOtherTimers','getActiveSheet','_unitStatus','mergeOverrideWithDependencies','InsertRangeMoveRightCommandId','collab-rect-range-','isTransformMutationFailure','DOC_RANGE_TYPE','/universer-api/license/formula/limit/start','startColumn','getSheetId','fill','entityInit$','_uiPartsService','getItem','_registerDependencies','_status$','rgb','M0\x200H16V16H0z','USER_IS_ANONYMOUS','whenReady','textRanges','_releaseCalculationLimit','LocaleService','addClipboardHook','CollaborationSessionService','max','all','Shape','executionId','CONNECTOR_DATA_TOO_LARGE','ENTITLE_DUP_SUBSCRIPTION','YUUMI_RATE_OVER_LIMIT','filter','_monkeyPatchLogService','stringify','debounce','_onCursorUpdate','YUUMI_ALL_TABLES_IS_INVALID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleHeartbeatEvent','_urlService','result','getTypeOfUnitAdded$','SYNCED','ERROR_AGAIN','fromEventSubject','find','from','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collabStatus.notCollab','UNIVER_DOC','Loading','ILocalStorageService','LICENSE_IMPORT_SIZE_EXCEEDED','_render','getSheetBySheetId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isArray','_hasFormulaInDirtyRanges','/universer-api/frontend/logs','_showGuardMessage','rxjs/operators','RemoteUniscriptService','FromArray','@univerjs/docs','_initResize','ACTIVE_UNIT_EVENT_CHANNEL','IConfigService','collabStatus.offline','addEventListener','transformByState','INTERNAL_ERROR','defineProperty','_setFormulaLimitStatus','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','IRemoteInstanceService','/universer-api/license/formula/limit/status','_name','_checkAndWaitForCalculationPermission','Workbook','_toggleOffline','DataLoaderService','selection','WebURLService','disposeWithMe','_instanceService','TEXT_RANGE_LAYER_INDEX','runId','loadOfflineData','_handleJoinEvent','YUUMI_UNABLE_LOAD_URL','highlightSecond','collabCursorState$','_currentUsage','reconnect','_stopBlinking','now','onCommandExecuted','onPointerLeave$','ThemeService','APPLY_REJECT','REDEMPTION_CODE_NOT_STARTED','COLORS','ISocketService','imageSourceType','APPLY_REVISION_CONFILICT','_drawTextRange','init','_docTransformIMECacheService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','serializeRangeWithSheet','save','registerBeforeClose','on-line-icon_clip0_910_349','UniverEngineRender','CURRENT_STATUS_CANNOT_OPERATE','current','pushState','asObservable','_applyCommand','BehaviorSubject','USERS_LEAVE','sheetId','AWAITING','SHEET_VIEWPORT_KEY','_memberID','hide','loadUnit','_renderManagerService','backgroundColor','ALREADY_EXISTS','font','_updateCollabCursors','_collabCursorState$','DEFAULT_WS_SESSION_TICKET_URL','React','limitInfo','Warning','createInstance','getCoordByCell','ITransformService','CollaborationDataLoaderController','collabStatus.conflict','handleIRemoveRow','clearInterval','http://www.w3.org/2000/svg','APPLY_NON_SEQUENTIAL_REVISION','uni.network.url-service','getRenderById','UniverProCollaboration','_backgroundColor','onPointerEnter$','getTypeOfUnitDisposed$','UNRECOGNIZED','moveTo','RxDisposable','APPLY_DUPLICATED','_getSaveTimeout','_document','_onRefRangeChange','Success','getFocusedUnit','isActive','INVALID_ARGUMENT','url(#$1','getUnitId','RECT','RevisionService','redoState','Unknown\x20user','unitId','LOGIN_TOKEN_PROCESSING_FAILED','fillRule','BuiltInUIPart','getCurrentRevOfUnit','/universer-api/license/formula/limit/done','setUndoRedoMutationParamsCache','_logService','LOGIN_FAILED','override','_collabCursorController','_initEntityListener','collabStatus.synced','getVpScrollXYInfoByPosToVp','TOO_MANY_REQUESTS','REDEMPTION_USER_REDEEM_TIMES_EXCEED','jsxs','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_scheduleClearOtherTimer','Inject','engine','UNAUTHENTICATED','SheetCollabCursorShape','DocIMEInputManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','formula.calculation.waiting','IMessageService','Tools','sessionTicket','permission.content','body','replaceState','debounceTime','_taskIds','white','getOffsetConfig','_updateLocalCursor','sessionStatus$','saveImage','MemberService','map','endColumn','createSocket','_cursorInfo$','_getScale','currentUsage','_localStorageService','stack','_color','SetSelectionsOperation','get','height','_univerInstanceService','send','Subject','_localeService','type','getSkeleton','WECHAT_HAS_BEEN_BOUND','_saveTaskMap','getUndoRedoMutationParamsCache','name','lineno','measureText','reason','@univerjs/docs-ui','NOT_FOUND','Rectangle','getRangePointData','toDisposable','addObject','hovered','memberID','onStarting','...','getDocRanges','message','width','origin','getStateCache','top','getMergeData','_startCalculationLimit','UniverCore','SetWorksheetActivateCommand','CHANGESET_REVISION_CONFILICT','searchParams','dispose','parseInt','Vector2','ColorKit','stageInfo','handleInsertRangeMoveRight','children','delete','bottom','split','_handleEvent','unsubscribe','labelPosition','assignAColorForMemberID','useCallback','getRelativeToViewportCoord','[Window\x20Error]:\x20','source','getCellPositionByOffset','MOBILE_VERIFY_CODE_MISMATCH','LICENSE_DISTRO_REJECTED','getActiveRange','_updateURLWithCurrentState','IUIPartsService','isEditing','_blinkTimer','executeCommand','_syncEditingCollabCursorService','defs','cursorInfo$','_eventUnsubscribe','setStateCache','merge','set','_commandService','location','SOCKET_FAILED','_startBlinking','beginPath','isTransformMutationsWithChangesetSuccess','unhandledrejection','_doCreateSocket','activeSheet$','search','roomMembers','INVITE_CODE_REQUIRED','IUniverInstanceService','_maxFormulaLimit','Failed','RegularPolygon','_online','_pollingInterval','HTTPService','onLocalMutation','ticket','column','UNIVER_SHEET','EffectRefRangId','row','transformSelections','code','SheetSkeletonManagerService','min','_collaborationUIEventService','react/jsx-runtime','_transformService','SetFormulaCalculationNotificationMutation','removeParam','getUnit','div','_refRangeService','_assignedColors','@univerjs/engine-render','combineLatest','REDEMPTION_CODE_FULLY_REDEEMED','AUTHORIZE_CODE_ILLEGAL','_themeService','/run/','_lastResponseTimestamp','InsertRangeMoveDownCommandId','idSuffix','permission.title','setParam','getConfig','_imageIoService','_cursors','collab-text-anchor-','Error','getMember','UPDATE_CURSOR','VIEW_MAIN','roomMembers$','onMouseMove','_cachedData','connectInjector','univer-mr-2\x20univer-flex\x20univer-text-xl','removeEventListener','getValue','saveOfflineData','subUnitId','YUUMI_CONNECTOR_URL_NOT_FOUND','show','ICommandService','MUTATION','xlink:href','PY_RUNTIME_SCRIPT_ERROR','ISnapshotServerService','CollaborationStatus','runRefRangeMutations','InsertColCommandId','startFormulaLimitUrl','urlChange$','displayName','UniverDesign','post','complete','getUnitStatus$','pipe','_colorIndex','_handleHover','values','socket$','REDEMPTION_USER_NOT_ELIGIBLE','handleMoveRange','YUUMI_SUBSCRIPTION_NOT_FOUND','_onCursorDelete','collaboration.offline-data-not-saved','UniverCollaborationClientUIPlugin','toRgbString','_scene','random','_messageService','colno','clearTimeout','mutations','pluginName','_init','addHandlerCallback','mask','_startDocCollabCursor','UniverDrawing','univer-flex\x20univer-items-center','object','slice','session.connection-failed','add','updateOfflineData','LICENSE_MAX_UNITS_EXCEEDED','getCollabCursors$','blue.400','syncEditingCollabCursor','_selfUnitIDs','_blinkIntervalTimer','getColorFromTheme','some','UniverSheets','UniverSheetsUi','_highlightSecond','session.will-retry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','5271406JOWMUX','_notificationService','contains','ENTITLE_COUPON_EXPIRED','resize','_textBubble','distinctUntilChanged','_cursorShapes','_collaborationController','mapTo','use','CanceledError','setShapeProps','useDependency','11098lNnzXS','makeDirty','CollaborationUIEventId','InsertRowCommandId','IImageIoService','IDocClipboardService','startRow','PERMISSION_DENIED','transformMutation','_injector','push','NodePositionConvertToCursor','NOT_COLLAB','CommandType','getCurrentSelections','flatMap','MessageType','string','_getSessionTicket','currentSkeleton$','createElement','_updateSubUnitFromURLParams','round','SNAPSHOT_HAS_BEEN_REMOVED','lineTo','newValue','_clearPolling','EMAIL_VERIFY_CODE_MISMATCH','_entities','_docSkeletonManagerService','_roomMembers$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','purple.300','BrowserCollaborationSocketService','UniverUi','react','_initCommandExecutedListener','@univerjs/drawing','getMemberID','Injector','saveTaskMap','exhaustSavingTask','debug','Disposable','getCurrent','unshift','getOwnPropertyDescriptor','_uploadLog','_getMergeRange','endRow','undoState','ILogService','FETCH_MISS','rgba','red.300','symbol','YUUMI_ASYNCIO_CANCELLED','_localCacheService','m1Prime','_removeClearOtherTimer','IBeforeCloseService','@univerjs/sheets','_ensureSubject','evenodd','_anchor','_unitOnClients','INVITE_CODE_ALREADY_BOUND','fromEvent','_initUserListener','has','jiqing.500','href','replaceDocRanges','RefRangeService','offsetY','registerRenderModule','handleDeleteRangeMoveLeft','CollaborationController','off-line-icon_clip0_910_343','getCollabEntity$','m2Prime','generateRandomId','getParam','UniverDocsUi','258LLwlgz','_initDependencies','useRef',',\x200.2)','RemoveColCommandId','onRendered','ILocalCacheService','setAlpha','_setupSubUnitSync','yellow.400','AWAITING_WITH_PENDING','findNodePositionByCharIndex','_saveCache','text','highlight','colorChannel1','OffLineIcon','OnLineIcon','UniverProCollaborationClient','skeleton','_config','@univerjs/rpc','ENTITLE_CHAT_LIMIT_EXCEED','ONLINE','REDEMPTION_CODE_INACTIVE','ranges','8GapNvZ','_getLighterColor','_docClipboardService','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','UniverInstanceType','storage','subscribeEvent','_startSheetCollabCursor','drawWith','createIdentifier','with','subunit','triggerDblclick','1em','_docSkeleton','error','disableLocalCache','bind','_collabSessionService','ENTITLE_INSUFFICIENT_QUOTA','[Unhandled\x20Rejection]:\x20','_registerRenderDependencies','setInterval','DesktopCollaborationStatusDisplayController','disposeUnit','data','key','rgba(255,\x20255,\x20255,\x200.01)','0\x200\x2017\x2016','addObjects','ENTITLE_USE_COUPON_NOT_1ST_TRADE','Module','_draw','unload','handleInsertRangeMoveDown','stage','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_showText','CLOSE_ROOM','green.600','_initEvent','touchDependencies','_createSocketURL','_configService','_dataLoaderService','unit','0.2)','Optional','_hovered','_entityInit$','_hover','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentColor','_context','params','enableFrontendLog'];_0x773f=function(){return _0x3abc02;};return _0x773f();}
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x5e42(_0x474ed4,_0x49f779){_0x474ed4=_0x474ed4-0x13c;var _0x273270=_0x2732();var _0x5e424b=_0x273270[_0x474ed4];return _0x5e424b;}(function(_0x285331,_0x3dce45){var _0x54dc55=_0x5e42,_0x5cec14=_0x285331();while(!![]){try{var _0x2b2a4b=parseInt(_0x54dc55(0x13d))/0x1+-parseInt(_0x54dc55(0x150))/0x2*(-parseInt(_0x54dc55(0x14d))/0x3)+-parseInt(_0x54dc55(0x145))/0x4+parseInt(_0x54dc55(0x151))/0x5*(parseInt(_0x54dc55(0x13f))/0x6)+parseInt(_0x54dc55(0x142))/0x7+parseInt(_0x54dc55(0x13e))/0x8*(-parseInt(_0x54dc55(0x148))/0x9)+parseInt(_0x54dc55(0x14b))/0xa;if(_0x2b2a4b===_0x3dce45)break;else _0x5cec14['push'](_0x5cec14['shift']());}catch(_0x26aa5d){_0x5cec14['push'](_0x5cec14['shift']());}}}(_0x2732,0x3fc1c),function(_0x3d6b02,_0x434d50){var _0x2fcd69=_0x5e42;typeof exports==_0x2fcd69(0x140)&&typeof module<'u'?_0x434d50(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x2fcd69(0x14a)&&define['amd']?define([_0x2fcd69(0x14e),_0x2fcd69(0x13c)],_0x434d50):(_0x3d6b02=typeof globalThis<'u'?globalThis:_0x3d6b02||self,_0x434d50(_0x3d6b02[_0x2fcd69(0x146)],_0x3d6b02[_0x2fcd69(0x141)]));}(this,function(_0x31e860,_0x255cbc){'use strict';var _0xe76ec4=_0x5e42;class _0x5e718c extends _0x255cbc[_0xe76ec4(0x149)]{[_0xe76ec4(0x14c)](_0x2fed9f,_0x580b10,..._0x581a4b){var _0x47c0ec=_0xe76ec4;return this[_0x47c0ec(0x143)][_0x47c0ec(0x14f)](_0x31e860[_0x47c0ec(0x144)])['runOnServer'](_0x2fed9f,_0x580b10,{},..._0x581a4b);}}_0x255cbc['FUniver'][_0xe76ec4(0x147)](_0x5e718c);}));function _0x2732(){var _0x5178b0=['runOnServer','21qIRCGx','@univerjs-pro/collaboration-client-ui','get','109338RZkSbJ','5HLpRvG','@univerjs/core/facade','33166ujoDdN','14736vNWFvm','1581186kpxfkA','object','UniverCoreFacade','1015140RZVThj','_injector','RemoteUniscriptService','1976928OnNIMV','UniverProCollaborationClientUi','extend','1980sVwVka','FUniver','function','3362200hDkYSY'];_0x2732=function(){return _0x5178b0;};return _0x2732();}
11
+ function _0x3b59(){var _0x4a375d=['amd','1233594eGvrpz','654MTRvMt','function','108843Jdgbia','UniverCoreFacade','extend','291120yudgsD','RemoteUniscriptService','4613610kjcTNF','42911HAiGNI','_injector','@univerjs-pro/collaboration-client-ui','UniverProCollaborationClientUi','runOnServer','FUniver','9605408HoKmBR','get','object','15742863FvwOLt','4jzpvvi','62VCcFTQ'];_0x3b59=function(){return _0x4a375d;};return _0x3b59();}function _0x34c5(_0x40f0c3,_0x154c4f){_0x40f0c3=_0x40f0c3-0xcd;var _0x3b59ea=_0x3b59();var _0x34c52c=_0x3b59ea[_0x40f0c3];return _0x34c52c;}(function(_0x515d3d,_0x1a0ebf){var _0x18785b=_0x34c5,_0x263eaa=_0x515d3d();while(!![]){try{var _0x4d729c=-parseInt(_0x18785b(0xce))/0x1*(parseInt(_0x18785b(0xd9))/0x2)+-parseInt(_0x18785b(0xdb))/0x3+-parseInt(_0x18785b(0xd8))/0x4*(parseInt(_0x18785b(0xe1))/0x5)+-parseInt(_0x18785b(0xdc))/0x6*(-parseInt(_0x18785b(0xde))/0x7)+-parseInt(_0x18785b(0xd4))/0x8+parseInt(_0x18785b(0xd7))/0x9+parseInt(_0x18785b(0xcd))/0xa;if(_0x4d729c===_0x1a0ebf)break;else _0x263eaa['push'](_0x263eaa['shift']());}catch(_0x176d20){_0x263eaa['push'](_0x263eaa['shift']());}}}(_0x3b59,0xdcf6e),function(_0x35c1ee,_0x51e4b2){var _0x1d5cdc=_0x34c5;typeof exports==_0x1d5cdc(0xd6)&&typeof module<'u'?_0x51e4b2(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x1d5cdc(0xdd)&&define[_0x1d5cdc(0xda)]?define([_0x1d5cdc(0xd0),'@univerjs/core/facade'],_0x51e4b2):(_0x35c1ee=typeof globalThis<'u'?globalThis:_0x35c1ee||self,_0x51e4b2(_0x35c1ee[_0x1d5cdc(0xd1)],_0x35c1ee[_0x1d5cdc(0xdf)]));}(this,function(_0x3c7846,_0x3c6f4b){'use strict';var _0x2a90fb=_0x34c5;class _0xfde1ec extends _0x3c6f4b[_0x2a90fb(0xd3)]{['runOnServer'](_0xc496b4,_0x33c065,..._0x54c4e6){var _0x408bea=_0x2a90fb;return this[_0x408bea(0xcf)][_0x408bea(0xd5)](_0x3c7846[_0x408bea(0xe2)])[_0x408bea(0xd2)](_0xc496b4,_0x33c065,{},..._0x54c4e6);}}_0x3c6f4b[_0x2a90fb(0xd3)][_0x2a90fb(0xe0)](_0xfde1ec);}));
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"})}));