@univerjs/preset-docs-collaboration 0.15.4 → 0.15.5
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 +4 -4
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +2 -2
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +2 -2
- package/lib/umd/locales/fr-FR.js +2 -2
- package/lib/umd/locales/ja-JP.js +2 -2
- package/lib/umd/locales/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.js +2 -2
- package/lib/umd/locales/sk-SK.js +2 -2
- package/lib/umd/locales/vi-VN.js +2 -2
- package/lib/umd/locales/zh-CN.js +2 -2
- package/lib/umd/locales/zh-TW.js +2 -2
- package/package.json +6 -6
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 _0x1abf(_0x15a05d,_0x225100){_0x15a05d=_0x15a05d-0x167;var _0x54c823=_0x54c8();var _0x1abf05=_0x54c823[_0x15a05d];return _0x1abf05;}(function(_0x3b09ca,_0x502176){var _0x571942=_0x1abf,_0xb782ec=_0x3b09ca();while(!![]){try{var _0x5775f5=-parseInt(_0x571942(0x374))/0x1+parseInt(_0x571942(0x379))/0x2+parseInt(_0x571942(0x293))/0x3+parseInt(_0x571942(0x37a))/0x4+-parseInt(_0x571942(0x1ca))/0x5+parseInt(_0x571942(0x41a))/0x6*(-parseInt(_0x571942(0x263))/0x7)+-parseInt(_0x571942(0x4f7))/0x8*(-parseInt(_0x571942(0x3ef))/0x9);if(_0x5775f5===_0x502176)break;else _0xb782ec['push'](_0xb782ec['shift']());}catch(_0x28d2f5){_0xb782ec['push'](_0xb782ec['shift']());}}}(_0x54c8,0xa15bb),function(_0x3b31be,_0x28ef78){var _0x3f8f9e=_0x1abf;typeof exports=='object'&&typeof module<'u'?_0x28ef78(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['amd']?define(['exports',_0x3f8f9e(0x252),'@univerjs/core',_0x3f8f9e(0x220),_0x3f8f9e(0x320),_0x3f8f9e(0x1d1),_0x3f8f9e(0x317),_0x3f8f9e(0x18e),_0x3f8f9e(0x4f8),_0x3f8f9e(0x4c8),_0x3f8f9e(0x3da)],_0x28ef78):(_0x3b31be=typeof globalThis<'u'?globalThis:_0x3b31be||self,_0x28ef78(_0x3b31be[_0x3f8f9e(0x3eb)]={},_0x3b31be['UniverProCollaboration'],_0x3b31be[_0x3f8f9e(0x41b)],_0x3b31be[_0x3f8f9e(0x203)],_0x3b31be[_0x3f8f9e(0x38c)],_0x3b31be[_0x3f8f9e(0x1d1)],_0x3b31be[_0x3f8f9e(0x2c8)],_0x3b31be[_0x3f8f9e(0x1d1)]['operators'],_0x3b31be[_0x3f8f9e(0x236)],_0x3b31be['UniverProLicense'],_0x3b31be[_0x3f8f9e(0x4e9)]));}(this,function(_0x1c6aa2,_0x425665,_0x2695a7,_0xd9299c,_0x57749b,_0x3b3710,_0x26a00c,_0xc987a3,_0x3e19df,_0x4bc4b5,_0x46bfdb){'use strict';var _0x212abf=_0x1abf;var _0x461dd8=Object[_0x212abf(0x272)],_0x3bd79b=(_0x335aec,_0xadb84b,_0x13ffb4)=>_0xadb84b in _0x335aec?_0x461dd8(_0x335aec,_0xadb84b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13ffb4}):_0x335aec[_0xadb84b]=_0x13ffb4,_0x110376=(_0x1da3ec,_0x1747e5,_0x1d5225)=>_0x3bd79b(_0x1da3ec,typeof _0x1747e5!='symbol'?_0x1747e5+'':_0x1747e5,_0x1d5225);const _0x2eabe4='/universer-api/snapshot',_0xad4b37=_0x212abf(0x4cf),_0x4154c7='ws://127.0.0.1:8000/universer-api/comb/connect',_0x5f5a8d=_0x212abf(0x2d8),_0x3e40c1='HEARTBEAT_INTERVAL',_0xf20a7c=_0x212abf(0x365),_0xd794b=_0x212abf(0x4a9),_0x3929c8=_0x212abf(0x4a2),_0x5bfefb=_0x212abf(0x396),_0xb6b83=_0x212abf(0x4d6),_0x2d8ee2=_0x212abf(0x20c),_0x3817ff=_0x212abf(0x2f8);var _0x50d3e0=(_0x37362f=>(_0x37362f[_0x37362f['UNDEFINED']=0x0]=_0x212abf(0x362),_0x37362f[_0x37362f['OK']=0x1]='OK',_0x37362f[_0x37362f[_0x212abf(0x352)]=0x2]=_0x212abf(0x352),_0x37362f[_0x37362f[_0x212abf(0x1c1)]=0x3]=_0x212abf(0x1c1),_0x37362f[_0x37362f[_0x212abf(0x1e9)]=0x4]=_0x212abf(0x1e9),_0x37362f[_0x37362f[_0x212abf(0x465)]=0x5]=_0x212abf(0x465),_0x37362f[_0x37362f[_0x212abf(0x1e7)]=0x6]=_0x212abf(0x1e7),_0x37362f[_0x37362f[_0x212abf(0x3e1)]=0x7]=_0x212abf(0x3e1),_0x37362f[_0x37362f[_0x212abf(0x1ab)]=0x8]=_0x212abf(0x1ab),_0x37362f[_0x37362f[_0x212abf(0x1e3)]=0x9]=_0x212abf(0x1e3),_0x37362f[_0x37362f[_0x212abf(0x247)]=0xa]=_0x212abf(0x247),_0x37362f[_0x37362f[_0x212abf(0x23a)]=0xb]=_0x212abf(0x23a),_0x37362f[_0x37362f[_0x212abf(0x31b)]=0xc]=_0x212abf(0x31b),_0x37362f[_0x37362f[_0x212abf(0x3d5)]=0xd]=_0x212abf(0x3d5),_0x37362f[_0x37362f[_0x212abf(0x282)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x37362f[_0x37362f[_0x212abf(0x37b)]=0xf]=_0x212abf(0x37b),_0x37362f[_0x37362f['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x212abf(0x19c),_0x37362f[_0x37362f[_0x212abf(0x456)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x37362f[_0x37362f['ERROR_AGAIN']=0x65]=_0x212abf(0x3b9),_0x37362f[_0x37362f[_0x212abf(0x2c7)]=0xc9]=_0x212abf(0x2c7),_0x37362f[_0x37362f[_0x212abf(0x4f4)]=0xca]='USER_IS_ANONYMOUS',_0x37362f[_0x37362f[_0x212abf(0x227)]=0x1389]=_0x212abf(0x227),_0x37362f[_0x37362f['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x212abf(0x498),_0x37362f[_0x37362f[_0x212abf(0x3dc)]=0x1772]=_0x212abf(0x3dc),_0x37362f[_0x37362f[_0x212abf(0x4ab)]=0x1773]=_0x212abf(0x4ab),_0x37362f[_0x37362f[_0x212abf(0x32c)]=0x1b59]=_0x212abf(0x32c),_0x37362f[_0x37362f[_0x212abf(0x4d4)]=0x1b5a]=_0x212abf(0x4d4),_0x37362f[_0x37362f[_0x212abf(0x3ec)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x37362f[_0x37362f[_0x212abf(0x508)]=0x1b5c]=_0x212abf(0x508),_0x37362f[_0x37362f[_0x212abf(0x493)]=0x1b5d]='APPLY_DUPLICATED',_0x37362f[_0x37362f[_0x212abf(0x3cd)]=0x1f41]=_0x212abf(0x3cd),_0x37362f[_0x37362f[_0x212abf(0x391)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x37362f[_0x37362f[_0x212abf(0x50f)]=0x232a]=_0x212abf(0x50f),_0x37362f[_0x37362f[_0x212abf(0x27d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x37362f[_0x37362f[_0x212abf(0x1cd)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x37362f[_0x37362f[_0x212abf(0x260)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x37362f[_0x37362f[_0x212abf(0x4a6)]=0x2711]=_0x212abf(0x4a6),_0x37362f[_0x37362f[_0x212abf(0x36d)]=0x2712]=_0x212abf(0x36d),_0x37362f[_0x37362f[_0x212abf(0x44b)]=0x2713]=_0x212abf(0x44b),_0x37362f[_0x37362f[_0x212abf(0x245)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x37362f[_0x37362f[_0x212abf(0x463)]=0x271a]=_0x212abf(0x463),_0x37362f[_0x37362f[_0x212abf(0x1dc)]=0x271b]=_0x212abf(0x1dc),_0x37362f[_0x37362f[_0x212abf(0x20b)]=0x271c]=_0x212abf(0x20b),_0x37362f[_0x37362f[_0x212abf(0x345)]=0x271d]=_0x212abf(0x345),_0x37362f[_0x37362f[_0x212abf(0x219)]=0x271e]=_0x212abf(0x219),_0x37362f[_0x37362f[_0x212abf(0x2c5)]=0x271f]=_0x212abf(0x2c5),_0x37362f[_0x37362f[_0x212abf(0x3b3)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x37362f[_0x37362f[_0x212abf(0x436)]=0x2af9]=_0x212abf(0x436),_0x37362f[_0x37362f[_0x212abf(0x425)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x37362f[_0x37362f[_0x212abf(0x173)]=0x2ee2]='INVALID_INVITE_CODE',_0x37362f[_0x37362f['INVITE_CODE_REQUIRED']=0x2ee3]=_0x212abf(0x477),_0x37362f[_0x37362f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x212abf(0x18f),_0x37362f[_0x37362f[_0x212abf(0x4d9)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x37362f[_0x37362f[_0x212abf(0x4db)]=0x32c9]=_0x212abf(0x4db),_0x37362f[_0x37362f[_0x212abf(0x407)]=0x32ca]=_0x212abf(0x407),_0x37362f[_0x37362f['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x212abf(0x43f),_0x37362f[_0x37362f['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x212abf(0x188),_0x37362f[_0x37362f['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x212abf(0x3e5),_0x37362f[_0x37362f['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x212abf(0x2e0),_0x37362f[_0x37362f[_0x212abf(0x439)]=0x36b4]=_0x212abf(0x439),_0x37362f[_0x37362f[_0x212abf(0x28b)]=0x36b5]=_0x212abf(0x28b),_0x37362f[_0x37362f[_0x212abf(0x25d)]=0x36b6]=_0x212abf(0x25d),_0x37362f[_0x37362f[_0x212abf(0x347)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x37362f[_0x37362f[_0x212abf(0x23f)]=0x36b8]=_0x212abf(0x23f),_0x37362f[_0x37362f[_0x212abf(0x3f0)]=0x3715]=_0x212abf(0x3f0),_0x37362f[_0x37362f['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x212abf(0x331),_0x37362f[_0x37362f[_0x212abf(0x453)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x37362f[_0x37362f[_0x212abf(0x3fe)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x37362f[_0x37362f[_0x212abf(0x39f)]=0x3a99]=_0x212abf(0x39f),_0x37362f[_0x37362f[_0x212abf(0x4ec)]=0x3a9a]=_0x212abf(0x4ec),_0x37362f[_0x37362f[_0x212abf(0x351)]=0x3a9b]=_0x212abf(0x351),_0x37362f[_0x37362f[_0x212abf(0x1f3)]=0x3a9c]=_0x212abf(0x1f3),_0x37362f[_0x37362f[_0x212abf(0x2be)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x37362f[_0x37362f[_0x212abf(0x24f)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x37362f[_0x37362f['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x212abf(0x410),_0x37362f[_0x37362f[_0x212abf(0x44e)]=0x3e81]=_0x212abf(0x44e),_0x37362f[_0x37362f[_0x212abf(0x242)]=-0x1]=_0x212abf(0x242),_0x37362f))(_0x50d3e0||{}),_0x10d356=(_0x5ee73e=>(_0x5ee73e[_0x5ee73e['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x5ee73e[_0x5ee73e[_0x212abf(0x286)]=0x1]=_0x212abf(0x286),_0x5ee73e[_0x5ee73e['UNIVER_SHEET']=0x2]=_0x212abf(0x2e8),_0x5ee73e[_0x5ee73e['UNIVER_SLIDE']=0x3]=_0x212abf(0x3d1),_0x5ee73e[_0x5ee73e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5ee73e[_0x5ee73e['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5ee73e))(_0x10d356||{}),_0x326b3c=(_0x59dc5f=>(_0x59dc5f[_0x59dc5f[_0x212abf(0x1ff)]=0x0]=_0x212abf(0x1ff),_0x59dc5f[_0x59dc5f[_0x212abf(0x4c6)]=0x1]=_0x212abf(0x4c6),_0x59dc5f[_0x59dc5f[_0x212abf(0x4e3)]=0x2]=_0x212abf(0x4e3),_0x59dc5f[_0x59dc5f['LEAVE']=0x3]=_0x212abf(0x4f3),_0x59dc5f[_0x59dc5f['INGEST']=0x4]=_0x212abf(0x343),_0x59dc5f[_0x59dc5f['HEARTBEAT']=0x5]=_0x212abf(0x43a),_0x59dc5f[_0x59dc5f[_0x212abf(0x476)]=0x6]='RECV',_0x59dc5f[_0x59dc5f['UNRECOGNIZED']=-0x1]=_0x212abf(0x242),_0x59dc5f))(_0x326b3c||{}),_0x1433f4=(_0x3b39bc=>(_0x3b39bc[_0x3b39bc[_0x212abf(0x17e)]=0x0]=_0x212abf(0x17e),_0x3b39bc[_0x3b39bc['OK']=0x1]='OK',_0x3b39bc[_0x3b39bc[_0x212abf(0x1d7)]=0x2]='FAIL',_0x3b39bc[_0x3b39bc[_0x212abf(0x200)]=0x3e9]=_0x212abf(0x200),_0x3b39bc[_0x3b39bc[_0x212abf(0x3ed)]=0x3ea]=_0x212abf(0x3ed),_0x3b39bc[_0x3b39bc[_0x212abf(0x461)]=0x3eb]=_0x212abf(0x461),_0x3b39bc[_0x3b39bc[_0x212abf(0x447)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3b39bc[_0x3b39bc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3b39bc))(_0x1433f4||{}),_0x4d4f2c=(_0x334d45=>(_0x334d45[_0x334d45[_0x212abf(0x1a9)]=0x0]='Undefined',_0x334d45[_0x334d45[_0x212abf(0x1ae)]=0x1]=_0x212abf(0x1ae),_0x334d45[_0x334d45[_0x212abf(0x3ba)]=0x2]=_0x212abf(0x3ba),_0x334d45[_0x334d45[_0x212abf(0x3f6)]=0x3]=_0x212abf(0x3f6),_0x334d45[_0x334d45[_0x212abf(0x2ca)]=0x4]=_0x212abf(0x2ca),_0x334d45[_0x334d45[_0x212abf(0x48a)]=0x5]=_0x212abf(0x48a),_0x334d45[_0x334d45[_0x212abf(0x3be)]=0x6]=_0x212abf(0x3be),_0x334d45[_0x334d45[_0x212abf(0x242)]=-0x1]=_0x212abf(0x242),_0x334d45))(_0x4d4f2c||{});const _0x482eff=_0x212abf(0x1f2);function _0x137a72(_0xb4d05){var _0x2ba9ee=_0x212abf;return JSON[_0x2ba9ee(0x178)](_0xb4d05)[_0x2ba9ee(0x2e2)];}var _0x5ab775=(_0x4490c8=>(_0x4490c8[_0x212abf(0x1af)]=_0x212abf(0x1af),_0x4490c8['PERMISSION_DENIED']='PERMISSION_DENIED',_0x4490c8['CONFLICT']=_0x212abf(0x39c),_0x4490c8[_0x212abf(0x326)]=_0x212abf(0x326),_0x4490c8['JOIN_ROOM_FAILED']=_0x212abf(0x1c5),_0x4490c8[_0x212abf(0x36a)]=_0x212abf(0x36a),_0x4490c8[_0x212abf(0x468)]=_0x212abf(0x468),_0x4490c8[_0x212abf(0x3a8)]=_0x212abf(0x3a8),_0x4490c8))(_0x5ab775||{});class _0xfe53d{constructor(){var _0x47f9e9=_0x212abf;_0x110376(this,'_event$',new _0x3b3710[(_0x47f9e9(0x1bc))]()),_0x110376(this,_0x47f9e9(0x497),this[_0x47f9e9(0x4a5)][_0x47f9e9(0x3a2)]());}[_0x212abf(0x3ab)](_0x2dab6d){var _0x191510=_0x212abf;this['_event$'][_0x191510(0x185)](_0x2dab6d);}}class _0x1360e0{constructor(){var _0x2a3388=_0x212abf;_0x110376(this,_0x2a3388(0x42f),new _0x3b3710[(_0x2a3388(0x1bc))]()),_0x110376(this,_0x2a3388(0x224),this[_0x2a3388(0x42f)][_0x2a3388(0x3a2)]());}['onCommentUpdate'](_0x192d79){var _0x109c6f=_0x212abf;this[_0x109c6f(0x42f)][_0x109c6f(0x185)](_0x192d79);}}var _0x41133e=Object[_0x212abf(0x1f8)],_0x2116f2=(_0x41a486,_0x1822b8,_0x4e55ef,_0x1c5539)=>{var _0x3078fd=_0x212abf;for(var _0x2cd7d6=_0x1c5539>0x1?void 0x0:_0x1c5539?_0x41133e(_0x1822b8,_0x4e55ef):_0x1822b8,_0x130606=_0x41a486[_0x3078fd(0x2e2)]-0x1,_0x31d554;_0x130606>=0x0;_0x130606--)(_0x31d554=_0x41a486[_0x130606])&&(_0x2cd7d6=_0x31d554(_0x2cd7d6)||_0x2cd7d6);return _0x2cd7d6;},_0x1e8783=(_0x10d1e7,_0x55adf3)=>(_0x1c262a,_0x20023e)=>_0x55adf3(_0x1c262a,_0x20023e,_0x10d1e7);_0x1c6aa2[_0x212abf(0x2b0)]=class extends _0x2695a7['Disposable']{constructor(_0x281396,_0x5d63df){var _0x1cb0ab=_0x212abf;super(),_0x110376(this,'_roomMembers',new Map()),_0x110376(this,_0x1cb0ab(0x244),new _0x3b3710[(_0x1cb0ab(0x1bc))]()),(this[_0x1cb0ab(0x490)]=_0x281396,this['_userManagerService']=_0x5d63df,this[_0x1cb0ab(0x2fe)](_0x3b3710[_0x1cb0ab(0x3b6)](this[_0x1cb0ab(0x490)][_0x1cb0ab(0x195)](_0x2695a7[_0x1cb0ab(0x187)]['UNIVER_SHEET'])['pipe'](_0xc987a3['map'](_0x36d4ff=>_0x36d4ff[_0x1cb0ab(0x33b)]())),this[_0x1cb0ab(0x490)][_0x1cb0ab(0x195)](_0x2695a7[_0x1cb0ab(0x187)][_0x1cb0ab(0x286)])[_0x1cb0ab(0x1b2)](_0xc987a3[_0x1cb0ab(0x1eb)](_0x483ad5=>_0x483ad5['getUnitId']())),this[_0x1cb0ab(0x490)]['getTypeOfUnitDisposed$'](_0x2695a7[_0x1cb0ab(0x187)][_0x1cb0ab(0x3d1)])[_0x1cb0ab(0x1b2)](_0xc987a3[_0x1cb0ab(0x1eb)](_0x536a84=>_0x536a84['getUnitId']())))[_0x1cb0ab(0x23e)](_0x2deede=>this['_removeRoom'](_0x2deede))));}['waitForRoom$'](_0x4b8012){var _0x5d5beb=_0x212abf;return this[_0x5d5beb(0x49a)]['has'](_0x4b8012)?_0x3b3710['of'](this['_roomMembers']['get'](_0x4b8012)):this['_roomCreated$']['pipe'](_0xc987a3[_0x5d5beb(0x1eb)](_0x16f251=>{var _0x59c90b=_0x5d5beb;if(_0x16f251===_0x4b8012)return this[_0x59c90b(0x49a)]['get'](_0x16f251);}));}[_0x212abf(0x215)](_0x39e7e4){var _0x275dc4=_0x212abf;this['_userManagerService'][_0x275dc4(0x215)](_0x39e7e4);}[_0x212abf(0x289)](){var _0x2d3767=_0x212abf;return this[_0x2d3767(0x46d)][_0x2d3767(0x289)]();}[_0x212abf(0x3ff)](_0x541031,_0x5aa821){var _0x29b9b9=_0x212abf;let _0x13b04a=this[_0x29b9b9(0x49a)][_0x29b9b9(0x2e4)](_0x541031);_0x13b04a||(_0x13b04a=new _0x4d66d5(),this[_0x29b9b9(0x49a)][_0x29b9b9(0x214)](_0x541031,_0x13b04a),this[_0x29b9b9(0x244)][_0x29b9b9(0x185)](_0x541031)),_0x13b04a[_0x29b9b9(0x3ff)](_0x5aa821);}['removeMember'](_0x3031b8,_0x4bbd75){var _0xc92a1=_0x212abf;const _0x4ccda8=this['_roomMembers'][_0xc92a1(0x2e4)](_0x3031b8);_0x4ccda8&&_0x4ccda8[_0xc92a1(0x21d)](_0x4bbd75);}[_0x212abf(0x18b)](_0x2b9c0f){var _0x1b789a=_0x212abf;return this['_roomMembers'][_0x1b789a(0x2e4)](_0x2b9c0f);}[_0x212abf(0x47b)](_0xc56a30,_0x1c787d){var _0xb51a9f=_0x212abf;const _0x5cbce1=this[_0xb51a9f(0x49a)]['get'](_0xc56a30);if(_0x5cbce1)return _0x5cbce1[_0xb51a9f(0x47b)](_0x1c787d);}[_0x212abf(0x1f4)](_0x494247){var _0x424681=_0x212abf;const _0x460ca4=this[_0x424681(0x49a)][_0x424681(0x2e4)](_0x494247);_0x460ca4&&(_0x460ca4['dispose'](),this[_0x424681(0x49a)][_0x424681(0x360)](_0x494247));}[_0x212abf(0x1aa)](){var _0x2a3501=_0x212abf;this['_roomMembers'][_0x2a3501(0x20a)](_0x30d04b=>_0x30d04b['dispose']()),this[_0x2a3501(0x49a)][_0x2a3501(0x44f)](),this[_0x2a3501(0x244)][_0x2a3501(0x3a1)]();}},_0x1c6aa2[_0x212abf(0x2b0)]=_0x2116f2([_0x1e8783(0x0,_0x2695a7[_0x212abf(0x4ed)]),_0x1e8783(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x40a)]))],_0x1c6aa2[_0x212abf(0x2b0)]);class _0x4d66d5 extends _0x2695a7[_0x212abf(0x322)]{constructor(){var _0x231d35=_0x212abf;super(...arguments),_0x110376(this,_0x231d35(0x42b),new Map()),_0x110376(this,'_members$',new _0x3b3710[(_0x231d35(0x2ed))](this['_members'])),_0x110376(this,_0x231d35(0x21c),this[_0x231d35(0x3e3)][_0x231d35(0x3a2)]());}['dispose'](){var _0x50b2db=_0x212abf;this[_0x50b2db(0x42b)][_0x50b2db(0x44f)]();}[_0x212abf(0x3ff)](_0x22aa15){var _0x7913d0=_0x212abf;this[_0x7913d0(0x42b)][_0x7913d0(0x214)](_0x22aa15['memberID'],_0x22aa15),this['_emitMembers']();}['removeMember'](_0x3855ce){var _0x667143=_0x212abf;this[_0x667143(0x42b)][_0x667143(0x360)](_0x3855ce);}[_0x212abf(0x47b)](_0x128ab5){var _0x129714=_0x212abf;return this[_0x129714(0x42b)][_0x129714(0x2e4)](_0x128ab5);}[_0x212abf(0x19e)](){var _0x5ea179=_0x212abf;return Array[_0x5ea179(0x35c)](this[_0x5ea179(0x42b)][_0x5ea179(0x49c)]());}[_0x212abf(0x3ee)](){var _0xf17f77=_0x212abf;this['_members$'][_0xf17f77(0x185)](this[_0xf17f77(0x42b)]);}}var _0x2cfe51=Object[_0x212abf(0x1f8)],_0x5c6a66=(_0x4c9f2e,_0x5524bb,_0x246c8d,_0x588513)=>{var _0x3e737e=_0x212abf;for(var _0x2d5bf7=_0x588513>0x1?void 0x0:_0x588513?_0x2cfe51(_0x5524bb,_0x246c8d):_0x5524bb,_0x2816ec=_0x4c9f2e[_0x3e737e(0x2e2)]-0x1,_0x23f5e3;_0x2816ec>=0x0;_0x2816ec--)(_0x23f5e3=_0x4c9f2e[_0x2816ec])&&(_0x2d5bf7=_0x23f5e3(_0x2d5bf7)||_0x2d5bf7);return _0x2d5bf7;},_0x47b794=(_0x15b844,_0x26a75d)=>(_0x31c3b0,_0x130dd7)=>_0x26a75d(_0x31c3b0,_0x130dd7,_0x15b844),_0x1e024b=(_0x5dea58=>(_0x5dea58[_0x5dea58[_0x212abf(0x364)]=0x0]=_0x212abf(0x364),_0x5dea58[_0x5dea58[_0x212abf(0x448)]=0x1]=_0x212abf(0x448),_0x5dea58[_0x5dea58[_0x212abf(0x2aa)]=0x2]=_0x212abf(0x2aa),_0x5dea58[_0x5dea58[_0x212abf(0x42c)]=0x3]='ONLINE',_0x5dea58))(_0x1e024b||{});const _0x1584b1={[_0x1433f4[_0x212abf(0x1d7)]]:'session.join-failed',[_0x1433f4[_0x212abf(0x200)]]:_0x212abf(0x370),[_0x1433f4['JOIN_ROOM_NOT_EXISTS']]:_0x212abf(0x357),[_0x1433f4[_0x212abf(0x461)]]:_0x212abf(0x4a8),[_0x1433f4[_0x212abf(0x447)]]:_0x212abf(0x31a)};_0x1c6aa2[_0x212abf(0x3bd)]=class extends _0x2695a7[_0x212abf(0x1be)]{constructor(_0xfc6dcd,_0x4d63f1,_0x3fca19,_0x42c084,_0x17f15e,_0x267cac,_0x1bce57,_0x56a930){var _0x1afb9d=_0x212abf;super(),_0x110376(this,_0x1afb9d(0x4c4),new _0x3b3710[(_0x1afb9d(0x2ed))](0x0)),_0x110376(this,_0x1afb9d(0x40b),this[_0x1afb9d(0x4c4)]['asObservable']()),_0x110376(this,'_event$',new _0x3b3710[(_0x1afb9d(0x1bc))]()),_0x110376(this,_0x1afb9d(0x497),this[_0x1afb9d(0x4a5)]['asObservable']()),_0x110376(this,_0x1afb9d(0x206)),_0x110376(this,'_socketMessageSubscription'),_0x110376(this,_0x1afb9d(0x36f)),_0x110376(this,_0x1afb9d(0x171),!0x1),_0x110376(this,_0x1afb9d(0x3fa),null),(this['_unitID']=_0xfc6dcd,this[_0x1afb9d(0x24b)]=_0x3fca19,this['_configService']=_0x42c084,this[_0x1afb9d(0x3f8)]=_0x17f15e,this['_commentService']=_0x267cac,this[_0x1afb9d(0x32f)]=_0x1bce57,this[_0x1afb9d(0x40c)]=_0x56a930,this['_shouldReportTelemetry']=!!this[_0x1afb9d(0x40c)],_0x4d63f1['pipe'](_0x3b3710['takeUntil'](this[_0x1afb9d(0x4fd)]))[_0x1afb9d(0x23e)](_0x5179b3=>{var _0x5dc752=_0x1afb9d,_0x33776e;typeof _0x5179b3>'u'||(this[_0x5dc752(0x206)]=_0x5179b3,_0x5179b3?(this[_0x5dc752(0x437)](_0x5179b3),this[_0x5dc752(0x210)]=_0x5179b3[_0x5dc752(0x2df)][_0x5dc752(0x23e)](_0xb08f24=>{var _0x19a78d=_0x5dc752;_0xb08f24[_0x19a78d(0x1a1)]===this[_0x19a78d(0x50d)]&&this['_onCombEvent'](_0xb08f24);})):(this[_0x5dc752(0x2a0)](),this[_0x5dc752(0x4c4)][_0x5dc752(0x185)](0x2),(_0x33776e=this['_socketMessageSubscription'])==null||_0x33776e['unsubscribe'](),this[_0x5dc752(0x210)]=null));}));}get[_0x212abf(0x46f)](){var _0x2e409b=_0x212abf;return this[_0x2e409b(0x4c4)][_0x2e409b(0x2e3)]();}['getMemberID'](){var _0x458aa6=_0x212abf,_0x490f2f,_0x1a0aff;return(_0x1a0aff=(_0x490f2f=this['_socket'])==null?void 0x0:_0x490f2f[_0x458aa6(0x4b3)])!=null?_0x1a0aff:null;}[_0x212abf(0x1aa)](){var _0x2170cb=_0x212abf;super[_0x2170cb(0x1aa)](),this[_0x2170cb(0x4fd)][_0x2170cb(0x185)](),this[_0x2170cb(0x4fd)][_0x2170cb(0x3a1)]();}['close'](){var _0x24fc5a=_0x212abf,_0x161fbd,_0x4e2ea6;this[_0x24fc5a(0x2a0)](),(_0x161fbd=this[_0x24fc5a(0x206)])==null||_0x161fbd[_0x24fc5a(0x197)]({'cmd':_0x326b3c[_0x24fc5a(0x4f3)],'data':{'roomID':this[_0x24fc5a(0x50d)]}}),(_0x4e2ea6=this['_socket'])==null||_0x4e2ea6[_0x24fc5a(0x191)](),this[_0x24fc5a(0x4a5)]['complete'](),this['_sessionStatus$'][_0x24fc5a(0x3a1)](),this[_0x24fc5a(0x1aa)]();}[_0x212abf(0x507)](_0xb73750){var _0x1ab392=_0x212abf;_0xb73750[_0x1ab392(0x42e)]===_0x326b3c[_0x1ab392(0x4e3)]?this['_onJoinRoomEvent'](_0xb73750):_0xb73750[_0x1ab392(0x42e)]===_0x326b3c[_0x1ab392(0x476)]&&this[_0x1ab392(0x366)](_0xb73750);}[_0x212abf(0x437)](_0x115cdb){var _0x5d838e=_0x212abf;this[_0x5d838e(0x4c4)][_0x5d838e(0x185)](0x1),_0x115cdb[_0x5d838e(0x197)]({'cmd':_0x326b3c[_0x5d838e(0x4e3)],'routeKey':this[_0x5d838e(0x50d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5d838e(0x50d)]}]}});}[_0x212abf(0x46c)](_0x198e21){var _0x5ec307=_0x212abf,_0x5984c9;if(_0x198e21[_0x5ec307(0x4bc)]in _0x1584b1){this[_0x5ec307(0x32f)][_0x5ec307(0x3ab)]({'id':_0x5ab775['JOIN_ROOM_FAILED'],'data':_0x1584b1[_0x198e21['code']]}),this[_0x5ec307(0x4c4)][_0x5ec307(0x185)](0x2);return;}this[_0x5ec307(0x4c4)][_0x5ec307(0x185)](0x3);const _0x4f8d9c=(_0x5984c9=_0x198e21['data'][_0x5ec307(0x4cb)][this[_0x5ec307(0x50d)]])==null?void 0x0:_0x5984c9[_0x5ec307(0x2e9)];_0x4f8d9c&&_0x4f8d9c['forEach'](_0x175da5=>this[_0x5ec307(0x3f8)]['updateMember'](this['_unitID'],_0x175da5));}[_0x212abf(0x366)](_0x3c1b66){var _0x1d43bf=_0x212abf;try{const _0x1c8414=_0x3c1b66[_0x1d43bf(0x28c)];switch(_0x1c8414['eventID']){case _0x425665['CollaborationEvent'][_0x1d43bf(0x499)]:this[_0x1d43bf(0x4e5)](_0x1c8414),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;case _0x425665[_0x1d43bf(0x3c4)][_0x1d43bf(0x211)]:this['_onUserLeave'](_0x1c8414),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;case _0x425665[_0x1d43bf(0x3c4)][_0x1d43bf(0x3e2)]:case _0x425665[_0x1d43bf(0x3c4)][_0x1d43bf(0x315)]:this[_0x1d43bf(0x422)](),this[_0x1d43bf(0x2c9)](),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;case _0x425665[_0x1d43bf(0x3c4)]['MSG_FOR_ERROR']:this[_0x1d43bf(0x24b)][_0x1d43bf(0x4c9)](_0x1d43bf(0x349)+JSON[_0x1d43bf(0x178)](_0x1c8414)),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;case _0x425665[_0x1d43bf(0x3c4)][_0x1d43bf(0x3b0)]:this[_0x1d43bf(0x301)][_0x1d43bf(0x2c3)](_0x1c8414['data']),this[_0x1d43bf(0x4a5)][_0x1d43bf(0x185)](_0x1c8414);break;default:this[_0x1d43bf(0x4a5)]['next'](_0x1c8414);}}catch(_0x5d2bd1){this[_0x1d43bf(0x24b)][_0x1d43bf(0x4c9)](_0x5d2bd1,_0x3c1b66);}}[_0x212abf(0x4e5)](_0xe2297f){var _0x55342b=_0x212abf;this['_memberService'][_0x55342b(0x3ff)](this[_0x55342b(0x50d)],_0xe2297f[_0x55342b(0x28c)]);}[_0x212abf(0x37f)](_0x396c81){var _0x3c1f9a=_0x212abf;this[_0x3c1f9a(0x3f8)][_0x3c1f9a(0x21d)](this['_unitID'],_0x396c81[_0x3c1f9a(0x28c)]['memberID']);}async[_0x212abf(0x197)](_0x1eaa7f,_0x29d7a5){var _0x1776fa=_0x212abf;if(this[_0x1776fa(0x46f)]!==0x3||!this[_0x1776fa(0x206)])throw new Error(_0x1776fa(0x192));try{_0x1eaa7f[_0x1776fa(0x16a)]===_0x425665[_0x1776fa(0x3c4)][_0x1776fa(0x510)]&&(this[_0x1776fa(0x48e)](),this[_0x1776fa(0x1c8)](_0x1eaa7f)),this[_0x1776fa(0x206)][_0x1776fa(0x197)]({'cmd':_0x326b3c[_0x1776fa(0x343)],'routeKey':_0x29d7a5,'routeType':'','data':_0x1eaa7f});}catch(_0x546e8a){this[_0x1776fa(0x24b)][_0x1776fa(0x4c9)](_0x546e8a);}}[_0x212abf(0x48e)](){var _0xbd7002=_0x212abf,_0x2195fc;this[_0xbd7002(0x36f)]=setTimeout(()=>{var _0xbd2026=_0xbd7002;this[_0xbd2026(0x36f)]=null,this['_collaborationUIEventService'][_0xbd2026(0x3ab)]({'id':_0x5ab775[_0xbd2026(0x3a8)]});},(_0x2195fc=this[_0xbd7002(0x172)][_0xbd7002(0x3ea)](_0xf20a7c))!=null?_0x2195fc:0x4e20);}[_0x212abf(0x2c9)](){var _0x59c880=_0x212abf;this[_0x59c880(0x36f)]&&(clearTimeout(this[_0x59c880(0x36f)]),this[_0x59c880(0x36f)]=null);}[_0x212abf(0x1c8)](_0x39fedd){var _0x3e8da4=_0x212abf;if(!this['_shouldReportTelemetry'])return;const {data:_0xcc2cc8}=_0x39fedd,{unitID:_0x11c3b0,changeset:_0x54242f}=_0xcc2cc8,{mutations:_0x2a3831,type:_0x457fcd}=_0x54242f;this[_0x3e8da4(0x3fa)]={'unitId':_0x11c3b0,'type':_0x457fcd,'startTime':performance[_0x3e8da4(0x3c6)](),'stopTime':0x0,'duration':0x0,'size':_0x137a72(_0x2a3831)};}[_0x212abf(0x422)](){var _0x4c3c73=_0x212abf;if(this['_shouldReportTelemetry']){if(!this[_0x4c3c73(0x3fa)]){this[_0x4c3c73(0x24b)][_0x4c3c73(0x4c9)](_0x4c3c73(0x1dd),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4c3c73(0x3fa)][_0x4c3c73(0x2bb)]=performance[_0x4c3c73(0x3c6)](),this[_0x4c3c73(0x3fa)]['duration']=this['_telemetryInfo']['stopTime']-this[_0x4c3c73(0x3fa)][_0x4c3c73(0x253)],this['_telemetryService'][_0x4c3c73(0x2bd)](_0x482eff,this[_0x4c3c73(0x3fa)]),this[_0x4c3c73(0x3fa)]=null;}}[_0x212abf(0x2a0)](){this['_telemetryInfo']=null;}},_0x1c6aa2[_0x212abf(0x3bd)]=_0x5c6a66([_0x47b794(0x2,_0x2695a7[_0x212abf(0x1e4)]),_0x47b794(0x3,_0x2695a7[_0x212abf(0x333)]),_0x47b794(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x1c6aa2[_0x212abf(0x2b0)])),_0x47b794(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x1360e0)),_0x47b794(0x6,_0x2695a7['Inject'](_0xfe53d)),_0x47b794(0x7,_0x2695a7[_0x212abf(0x1d8)](_0x26a00c[_0x212abf(0x404)]))],_0x1c6aa2[_0x212abf(0x3bd)]);const _0x387771=_0x2695a7[_0x212abf(0x2a1)](_0x212abf(0x4b7));function _0x5d22e3(_0x2daa9b){var _0x28ebaa=_0x212abf;return _0x28ebaa(0x1e2)+_0x2daa9b;}var _0x260e5a=Object[_0x212abf(0x1f8)],_0x38fae1=(_0x47e992,_0x2b4bf2,_0x34bcd0,_0x5994d6)=>{var _0x52ae23=_0x212abf;for(var _0x25fcb2=_0x5994d6>0x1?void 0x0:_0x5994d6?_0x260e5a(_0x2b4bf2,_0x34bcd0):_0x2b4bf2,_0x4361fb=_0x47e992[_0x52ae23(0x2e2)]-0x1,_0x1bf342;_0x4361fb>=0x0;_0x4361fb--)(_0x1bf342=_0x47e992[_0x4361fb])&&(_0x25fcb2=_0x1bf342(_0x25fcb2)||_0x25fcb2);return _0x25fcb2;},_0x4ad6b8=(_0x3fb37f,_0x3f17b5)=>(_0x480dfc,_0x29d476)=>_0x3f17b5(_0x480dfc,_0x29d476,_0x3fb37f);function _0x356627(_0x476b31){var _0x4a8ccb=_0x212abf;const {unitID:_0x4e2031,mutations:_0x57f45a}=_0x476b31;return{'unitId':_0x4e2031,'subUnitId':_0x57f45a['length']>0x0?_0x57f45a[0x0][_0x4a8ccb(0x2d0)][_0x4a8ccb(0x39d)]:null};}_0x1c6aa2['SheetTransformSelectionsService']=class{constructor(_0x96df4f,_0x54cb5f,_0x495032){var _0x765688=_0x212abf;this['_injector']=_0x96df4f,this[_0x765688(0x500)]=_0x54cb5f,this[_0x765688(0x34e)]=_0x495032;}[_0x212abf(0x1f0)](_0x29171c){var _0xdc2366=_0x212abf,_0x9a0d69,_0x35eeea,_0x18419b,_0x3085d0;const _0x573598=this[_0xdc2366(0x2e5)][_0xdc2366(0x2e4)](_0x57749b[_0xdc2366(0x1c9)]),{unitId:_0x5e743f,subUnitId:_0x5ef763}=_0x356627(_0x29171c),_0x159d5c=_0x573598==null?void 0x0:_0x573598[_0xdc2366(0x18a)](_0x5e743f)['getCurrentSelections'](),_0x861a22=(_0x35eeea=(_0x9a0d69=this[_0xdc2366(0x34e)][_0xdc2366(0x31e)](_0x5e743f))==null?void 0x0:_0x9a0d69[_0xdc2366(0x47e)]())==null?void 0x0:_0x35eeea[_0xdc2366(0x4bd)]();if(_0x159d5c[_0xdc2366(0x2e2)]===0x0||!_0x5e743f||!_0x5ef763)return;const _0x21ed81=[{'id':_0x57749b[_0xdc2366(0x329)]['id'],'params':{'unitId':_0x5e743f,'subUnitId':_0x861a22,'selections':_0x2695a7[_0xdc2366(0x1a2)][_0xdc2366(0x230)](_0x159d5c)}}],_0x65cbc0=this['_transformService'][_0xdc2366(0x2a2)](_0x29171c,_0x21ed81);if(!_0x425665[_0xdc2366(0x4f0)](_0x65cbc0))throw _0x65cbc0[_0xdc2366(0x4c9)];const _0x284bf7=(_0x3085d0=(_0x18419b=_0x65cbc0[_0xdc2366(0x1fe)][0x0])==null?void 0x0:_0x18419b[_0xdc2366(0x2d0)])==null?void 0x0:_0x3085d0[_0xdc2366(0x19f)];if(Array[_0xdc2366(0x1f9)](_0x284bf7)&&_0x284bf7[_0xdc2366(0x2e2)]){if(_0x284bf7['length']===_0x21ed81[0x0][_0xdc2366(0x2d0)][_0xdc2366(0x19f)][_0xdc2366(0x2e2)]&&_0x284bf7[_0xdc2366(0x390)]((_0x101150,_0x3d664a)=>_0x2695a7[_0xdc2366(0x1f5)][_0xdc2366(0x358)](_0x101150[_0xdc2366(0x43c)],_0x21ed81[0x0][_0xdc2366(0x2d0)][_0xdc2366(0x19f)][_0x3d664a]['range'])))return;this[_0xdc2366(0x2e5)][_0xdc2366(0x2e4)](_0x2695a7[_0xdc2366(0x2f2)])['executeCommand'](_0x57749b['SetSelectionsOperation']['id'],{'unitId':_0x5e743f,'subUnitId':_0x861a22,'selections':_0x284bf7});}}},_0x1c6aa2[_0x212abf(0x48b)]=_0x38fae1([_0x4ad6b8(0x0,_0x2695a7['Inject'](_0x2695a7[_0x212abf(0x415)])),_0x4ad6b8(0x1,_0x425665[_0x212abf(0x328)]),_0x4ad6b8(0x2,_0x2695a7['IUniverInstanceService'])],_0x1c6aa2[_0x212abf(0x48b)]);const _0x4993a0=_0x2695a7[_0x212abf(0x2a1)](_0x212abf(0x395));var _0x38f487=(_0x35771d=>(_0x35771d[_0x35771d[_0x212abf(0x50b)]=0x0]=_0x212abf(0x50b),_0x35771d[_0x35771d['OTHER_CLIENTS_EDITING']=0x1]=_0x212abf(0x30a),_0x35771d))(_0x38f487||{});const _0x391e6e=_0x212abf(0x16b),_0x1ddbc2={};function _0x176c24(_0x14f5b4){var _0x3d841a=_0x212abf,_0x502133;return!!((_0x502133=_0x14f5b4[_0x3d841a(0x2d0)])!=null&&_0x502133[_0x3d841a(0x26d)]);}const _0x4af7bf=new Set([_0x57749b['InsertSheetMutation']['id']]);function _0x59e56c(_0x46acfb,_0x291785,_0x688208,_0x205a20,_0x2e1081){var _0x148d61=_0x212abf,_0x6e32d9,_0x1b9249,_0x182568,_0x56b8f7;const _0x305556=[];for(const _0x2ad107 of _0x46acfb){if(_0x4af7bf[_0x148d61(0x406)](_0x2ad107['id'])){if(_0x305556['length']>0x0)break;_0x305556[_0x148d61(0x4d2)](_0x2ad107);break;}if(_0x176c24(_0x2ad107)){if(_0x305556[_0x148d61(0x2e2)]>0x0)break;_0x305556['push'](_0x2ad107);break;}_0x305556['push'](_0x2ad107);}const _0x273ac4=(_0x1b9249=(_0x6e32d9=_0x2e1081[_0x148d61(0x289)]())==null?void 0x0:_0x6e32d9[_0x148d61(0x48d)])!=null?_0x1b9249:_0x148d61(0x3d2),_0x31cd2d=(_0x56b8f7=(_0x182568=_0x2e1081[_0x148d61(0x289)]())==null?void 0x0:_0x182568[_0x148d61(0x4b3)])!=null?_0x56b8f7:_0x148d61(0x3d2);return{'changeset':{'unitID':_0x291785,'type':_0x425665['mapDocumentTypeToUniverType'](_0x688208[_0x148d61(0x4a0)](_0x291785)),'baseRev':_0x205a20['getCurrentRevOfUnit'](_0x291785),'revision':0x0,'userID':_0x273ac4,'memberID':_0x31cd2d,'mutations':_0x305556},'pendingMutations':_0x46acfb['slice'](_0x305556['length'])};}function _0x5cf29b(_0x183cfd,_0x4e4ab2,_0x509799,_0x2c1ae6,_0x3902a7){var _0x5f506c=_0x212abf,_0x49304b,_0x251adc,_0x1917f3,_0x3770ac;const _0x542581=[_0x183cfd[_0x5f506c(0x332)]((_0x50e87b,_0xa30b9d)=>{var _0x45bec3=_0x5f506c,_0x3d780c;const {id:_0x105b77}=_0x50e87b,{id:_0x1fb3b4,type:_0x1918b2}=_0xa30b9d,_0x5275af=(_0x3d780c=_0x50e87b[_0x45bec3(0x2d0)])!=null?_0x3d780c:{'actions':null},_0x338455=_0xa30b9d[_0x45bec3(0x2d0)];if(_0x105b77&&_0x105b77!==_0x1fb3b4)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x105b77+'\x20-\x20'+_0x1fb3b4+'.');return{..._0x50e87b,'id':_0x1fb3b4,'type':_0x1918b2,'params':{'unitId':_0x338455[_0x45bec3(0x4fa)],'textRanges':_0x338455['textRanges'],'actions':_0x2695a7[_0x45bec3(0x386)][_0x45bec3(0x1d9)](_0x5275af[_0x45bec3(0x2ef)],_0x338455[_0x45bec3(0x2ef)])}};},{})],_0x2c1590=(_0x251adc=(_0x49304b=_0x3902a7[_0x5f506c(0x289)]())==null?void 0x0:_0x49304b['userID'])!=null?_0x251adc:'unknown',_0x4e3f8e=(_0x3770ac=(_0x1917f3=_0x3902a7[_0x5f506c(0x289)]())==null?void 0x0:_0x1917f3[_0x5f506c(0x4b3)])!=null?_0x3770ac:_0x5f506c(0x3d2);return{'changeset':{'unitID':_0x4e4ab2,'type':_0x425665[_0x5f506c(0x2d5)](_0x509799[_0x5f506c(0x4a0)](_0x4e4ab2)),'baseRev':_0x2c1ae6[_0x5f506c(0x2ab)](_0x4e4ab2),'revision':0x0,'userID':_0x2c1590,'memberID':_0x4e3f8e,'mutations':_0x542581},'pendingMutations':[]};}function _0x3c4b23(_0x45e5b2,_0xd08d50){var _0x51b441=_0x212abf;const _0x5cf98f=new _0x3b3710[(_0x51b441(0x285))](0x1);return setTimeout(()=>_0x5cf98f[_0x51b441(0x185)](_0xd08d50),_0x45e5b2),_0x5cf98f[_0x51b441(0x3a2)]()[_0x51b441(0x1b2)](_0x3b3710[_0x51b441(0x208)](0x1));}var _0x33ec39=Object[_0x212abf(0x1f8)],_0xbdfa67=(_0xd5e1ec,_0x311768,_0xb7aa73,_0x5ddbb1)=>{var _0x2988ba=_0x212abf;for(var _0x2279c2=_0x5ddbb1>0x1?void 0x0:_0x5ddbb1?_0x33ec39(_0x311768,_0xb7aa73):_0x311768,_0x356740=_0xd5e1ec[_0x2988ba(0x2e2)]-0x1,_0x4872ef;_0x356740>=0x0;_0x356740--)(_0x4872ef=_0xd5e1ec[_0x356740])&&(_0x2279c2=_0x4872ef(_0x2279c2)||_0x2279c2);return _0x2279c2;},_0x345f54=(_0xaff548,_0x51fbdd)=>(_0x5f0a43,_0x550325)=>_0x51fbdd(_0x5f0a43,_0x550325,_0xaff548),_0x3422b2=(_0x1009cc=>(_0x1009cc[_0x212abf(0x181)]=_0x212abf(0x423),_0x1009cc[_0x212abf(0x2c6)]=_0x212abf(0x3de),_0x1009cc[_0x212abf(0x302)]=_0x212abf(0x1e1),_0x1009cc[_0x212abf(0x4e2)]=_0x212abf(0x3f3),_0x1009cc['AWAITING_WITH_PENDING']=_0x212abf(0x1d2),_0x1009cc['FETCH_MISS']=_0x212abf(0x1df),_0x1009cc[_0x212abf(0x39c)]=_0x212abf(0x35e),_0x1009cc['OFFLINE']=_0x212abf(0x431),_0x1009cc))(_0x3422b2||{});const _0x21ef4f=0x4e20,_0x1b62f6=0x2bf20;class _0x30d248{constructor(_0x1afbd8,_0x391f94,_0x16f4e7,_0x2498fe,_0x20f8fa,_0x434fa3,_0x104a82,_0x5f22d0,_0x341a0c){var _0x5a347d=_0x212abf;_0x110376(this,_0x5a347d(0x383),null),_0x110376(this,'_pendingMutations',[]),(this[_0x5a347d(0x254)]=_0x1afbd8,this[_0x5a347d(0x306)]=_0x391f94,this[_0x5a347d(0x4b4)]=_0x20f8fa,this['_commandService']=_0x434fa3,this['_undoRedoService']=_0x104a82,this[_0x5a347d(0x432)]=_0x5f22d0,this[_0x5a347d(0x1ce)]=_0x341a0c,this[_0x5a347d(0x383)]=_0x16f4e7,this[_0x5a347d(0x4f9)]=_0x2498fe);}['_checkMissing'](_0x1335db){var _0x51f7a8=_0x212abf;const _0x4332ba=this[_0x51f7a8(0x432)]['getCurrentRevOfUnit'](this[_0x51f7a8(0x254)]);return _0x1335db['revision']>_0x4332ba+0x1?(this[_0x51f7a8(0x4b4)][_0x51f7a8(0x399)]({'from':_0x4332ba,'to':_0x1335db[_0x51f7a8(0x17a)]-0x1}),!0x0):!0x1;}[_0x212abf(0x2d4)](_0x8302ac){var _0x3f3794=_0x212abf;this[_0x3f3794(0x2dd)][_0x3f3794(0x261)](this['unitID'],_0x8302ac);}[_0x212abf(0x239)](_0x3e1a64){var _0x45c05b=_0x212abf,_0x3f9fca,_0xdfbffb;(_0xdfbffb=(_0x3f9fca=this[_0x45c05b(0x4b4)])[_0x45c05b(0x502)])==null||_0xdfbffb['call'](_0x3f9fca,_0x3e1a64);}['_transformIMECache'](_0x16c0d8){var _0x2f5c96=_0x212abf,_0x5d84ca,_0x374011;return(_0x374011=(_0x5d84ca=this[_0x2f5c96(0x4b4)])[_0x2f5c96(0x35d)])==null?void 0x0:_0x374011[_0x2f5c96(0x2b1)](_0x5d84ca,_0x16c0d8);}[_0x212abf(0x35f)](_0xf64cb4){var _0x3b167d=_0x212abf,_0x26d006,_0x28f10a;return(_0x28f10a=(_0x26d006=this[_0x3b167d(0x4b4)])[_0x3b167d(0x25b)])==null?void 0x0:_0x28f10a[_0x3b167d(0x2b1)](_0x26d006,_0xf64cb4);}[_0x212abf(0x455)](_0xa505f6){var _0x235268=_0x212abf,_0x4f7408,_0x50fd18,_0x5033da;return(_0x5033da=(_0x50fd18=(_0x4f7408=this[_0x235268(0x4b4)])[_0x235268(0x22d)])==null?void 0x0:_0x50fd18['call'](_0x4f7408,_0xa505f6))!=null?_0x5033da:_0xa505f6;}['_transformRemoteChangesetByStateCache'](_0x858eda){var _0x161ffe=_0x212abf,_0x76b6f0,_0x56b0ab,_0x4a84ed;return(_0x4a84ed=(_0x56b0ab=(_0x76b6f0=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x56b0ab[_0x161ffe(0x2b1)](_0x76b6f0,_0x858eda))!=null?_0x4a84ed:_0x858eda;}['_syncEditingCollabCursor'](_0x3e785f){var _0x3410a8=_0x212abf,_0x30e65e,_0x3bac4c;if(this[_0x3410a8(0x306)]===_0x10d356[_0x3410a8(0x286)]){const {unitID:_0x477714,mutations:_0x430967,memberID:_0x35da64}=_0x3e785f,_0x1c3303=_0x430967[_0x3410a8(0x2e2)]>0x0?_0x430967[0x0][_0x3410a8(0x2d0)][_0x3410a8(0x2d3)]:[];Array['isArray'](_0x1c3303)&&_0x1c3303[_0x3410a8(0x2e2)]>0x0&&((_0x3bac4c=(_0x30e65e=this[_0x3410a8(0x4b4)])[_0x3410a8(0x30f)])==null||_0x3bac4c['call'](_0x30e65e,{'unitID':_0x477714,'memberID':_0x35da64,'textRanges':_0x1c3303}));}}[_0x212abf(0x398)](){var _0x5c4151=_0x212abf,_0x3bb9d3;(_0x3bb9d3=this['_localCacheService'])==null||_0x3bb9d3[_0x5c4151(0x4c7)](this['unitID'],this[_0x5c4151(0x306)],this[_0x5c4151(0x383)],this[_0x5c4151(0x4f9)]);}[_0x212abf(0x1e0)](){var _0x5da3c9=_0x212abf;return this[_0x5da3c9(0x432)][_0x5da3c9(0x2ab)](this[_0x5da3c9(0x254)]);}[_0x212abf(0x31c)](){var _0x131e21=_0x212abf;this[_0x131e21(0x432)][_0x131e21(0x37e)](this['unitID']);}[_0x212abf(0x21f)](_0x5b60dd){var _0x51435f=_0x212abf,_0x4b8400;let _0x4e6780=this[_0x51435f(0x455)](_0x5b60dd);_0x4e6780=this[_0x51435f(0x427)](_0x4e6780);const _0x4b31b2=_0x2695a7['sequenceExecute'](_0x4e6780[_0x51435f(0x380)],this[_0x51435f(0x300)],{'fromCollab':!0x0});if(!_0x4b31b2[_0x51435f(0x4e1)])throw _0x4b31b2[_0x51435f(0x4c9)]instanceof Error?_0x4b31b2['error']:new Error((_0x4b8400=_0x4b31b2[_0x51435f(0x4c9)])!=null?_0x4b8400:_0x51435f(0x487));this[_0x51435f(0x505)](_0x4e6780),this[_0x51435f(0x35f)](_0x4e6780),this[_0x51435f(0x2d4)](_0x5b60dd),this[_0x51435f(0x239)](_0x4e6780),this[_0x51435f(0x387)](_0x4e6780),this[_0x51435f(0x31c)]();}}_0x1c6aa2[_0x212abf(0x4e6)]=class extends _0x30d248{constructor(_0x2a972c,_0x43b0be,_0x2db326,_0x1c2e4c,_0x2fd516,_0x4ce629,_0x12fcba,_0x38624b,_0x31fd9e,_0x3898c4){var _0xfad6b3=_0x212abf;super(_0x2a972c,_0x43b0be,null,[],_0x2db326,_0x12fcba,_0x4ce629,_0x1c2e4c,_0x3898c4),_0x110376(this,_0xfad6b3(0x4f1),'synced'),(this[_0xfad6b3(0x2e5)]=_0x2fd516,this[_0xfad6b3(0x24b)]=_0x38624b,this[_0xfad6b3(0x500)]=_0x31fd9e,this[_0xfad6b3(0x414)]=_0x3898c4);}[_0x212abf(0x2f0)](_0x2f6a7a){var _0x3cbe5f=_0x212abf;const _0x4696a7=this[_0x3cbe5f(0x2e5)][_0x3cbe5f(0x28e)](_0x1c6aa2[_0x3cbe5f(0x16d)],this['unitID'],this[_0x3cbe5f(0x306)],[_0x2f6a7a],this['_handler']);return _0x4696a7[_0x3cbe5f(0x3b7)](),_0x4696a7[_0x3cbe5f(0x398)](),_0x4696a7;}[_0x212abf(0x223)](_0x428da2){var _0x2f5ba3=_0x212abf;if(this[_0x2f5ba3(0x314)](_0x428da2))return this[_0x2f5ba3(0x2e5)][_0x2f5ba3(0x28e)](_0x1c6aa2[_0x2f5ba3(0x435)],this['unitID'],this[_0x2f5ba3(0x306)],null,[],null,[_0x428da2],this['_handler']);try{const _0x3e9641=this[_0x2f5ba3(0x500)][_0x2f5ba3(0x2a2)](_0x428da2,[_0x425665[_0x2f5ba3(0x3f5)]]);if(_0x425665[_0x2f5ba3(0x4f0)](_0x3e9641)){const {c1Prime:_0x205cd1}=_0x3e9641;return this[_0x2f5ba3(0x21f)](_0x205cd1),this;}throw _0x3e9641[_0x2f5ba3(0x4c9)];}catch(_0xaa1617){return this[_0x2f5ba3(0x24b)][_0x2f5ba3(0x4c9)](_0xaa1617),this[_0x2f5ba3(0x4b6)](!0x1);}}['_onConflict'](_0x6a99cb){var _0x5d3537=_0x212abf;return this[_0x5d3537(0x2e5)][_0x5d3537(0x28e)](_0x1c6aa2[_0x5d3537(0x361)],this[_0x5d3537(0x254)],this[_0x5d3537(0x306)],null,[],this['_handler'],_0x6a99cb);}[_0x212abf(0x1bb)](){var _0x2a096a=_0x212abf;throw new Error(_0x2a096a(0x503));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x212abf(0x488)](){return this;}[_0x212abf(0x217)](){var _0x53e89b=_0x212abf;return this[_0x53e89b(0x2e5)][_0x53e89b(0x28e)](_0x1c6aa2[_0x53e89b(0x1ad)],this[_0x53e89b(0x254)],this[_0x53e89b(0x306)],null,[],this[_0x53e89b(0x4b4)]);}[_0x212abf(0x226)](){return this;}['resend'](){var _0x3341d4=_0x212abf;throw new Error(_0x3341d4(0x3ac));}[_0x212abf(0x2b7)](){var _0x4c2700=_0x212abf;const _0x623300=this['_revisionService'][_0x4c2700(0x2ab)](this[_0x4c2700(0x254)]);return this[_0x4c2700(0x4b4)]['onMissingChangesets']({'from':_0x623300,'to':0x0}),this[_0x4c2700(0x2e5)][_0x4c2700(0x28e)](_0x1c6aa2['FetchingMissState'],this[_0x4c2700(0x254)],this[_0x4c2700(0x306)],null,[],null,[],this[_0x4c2700(0x4b4)]);}},_0x1c6aa2['SyncedState']=_0xbdfa67([_0x345f54(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x425665['RevisionService'])),_0x345f54(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x5,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0x6,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0x7,_0x2695a7[_0x212abf(0x1e4)]),_0x345f54(0x8,_0x425665[_0x212abf(0x328)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2['SyncedState']),_0x1c6aa2[_0x212abf(0x16d)]=class extends _0x30d248{constructor(_0x3bdb24,_0x17775c,_0x5113cb,_0x34aad7,_0x1a1358,_0x54b236,_0x419e81,_0x13fb21,_0x4a2f4b,_0x11c00c,_0x294dd2,_0xc51876,_0x1021e1,_0x1225b1){var _0x24664c=_0x212abf;super(_0x3bdb24,_0x17775c,null,_0x5113cb,_0x34aad7,_0x4a2f4b,_0x1021e1,_0x54b236,_0x1225b1),_0x110376(this,'status',_0x24664c(0x1e1)),_0x110376(this,_0x24664c(0x175),null),_0x110376(this,_0x24664c(0x484),null),(this['_injector']=_0x1a1358,this[_0x24664c(0x3f8)]=_0x419e81,this[_0x24664c(0x24b)]=_0x13fb21,this[_0x24664c(0x172)]=_0x11c00c,this[_0x24664c(0x500)]=_0x294dd2,this[_0x24664c(0x490)]=_0xc51876);}[_0x212abf(0x2f0)](_0x5e578b){var _0xe317c6=_0x212abf;return this['_pendingMutations'][_0xe317c6(0x4d2)](_0x5e578b),this[_0xe317c6(0x398)](),this;}[_0x212abf(0x223)](_0x5becc5){var _0x1108c5=_0x212abf;if(this['_checkMissing'](_0x5becc5))return this[_0x1108c5(0x273)](),this[_0x1108c5(0x2e5)][_0x1108c5(0x28e)](_0x1c6aa2[_0x1108c5(0x435)],this[_0x1108c5(0x254)],this[_0x1108c5(0x306)],null,this['_pendingMutations'],null,[_0x5becc5],this[_0x1108c5(0x4b4)]);try{const _0x4debc3=this[_0x1108c5(0x500)][_0x1108c5(0x2a2)](_0x5becc5,this[_0x1108c5(0x4f9)]);if(_0x425665[_0x1108c5(0x4f0)](_0x4debc3)){const {c1Prime:_0x1313ff,m2Prime:_0x6037d9}=_0x4debc3;this['_executeRemoteChangeset'](_0x1313ff);const _0x506beb=this[_0x1108c5(0x2e5)][_0x1108c5(0x28e)](_0x1c6aa2[_0x1108c5(0x16d)],this['unitID'],this[_0x1108c5(0x306)],_0x6037d9,this[_0x1108c5(0x4b4)]);this['_clearScheduledTask']();const _0x5bd806=new Date()[_0x1108c5(0x47c)](),_0xf5d156=this[_0x1108c5(0x175)]?Math[_0x1108c5(0x4ba)](this[_0x1108c5(0x175)]-_0x5bd806,0x0):this[_0x1108c5(0x24c)]();return _0x506beb[_0x1108c5(0x3b7)](_0xf5d156),_0x506beb;}throw _0x4debc3[_0x1108c5(0x4c9)];}catch(_0x12c6aa){return this['_logService'][_0x1108c5(0x4c9)](_0x12c6aa),this[_0x1108c5(0x4b6)](!0x1);}}[_0x212abf(0x1bb)](){var _0x1c545a=_0x212abf;throw new Error(_0x1c545a(0x4c3));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x212abf(0x488)](){return this;}[_0x212abf(0x217)](){var _0x1a55ee=_0x212abf;return this[_0x1a55ee(0x273)](),this[_0x1a55ee(0x2e5)][_0x1a55ee(0x28e)](_0x1c6aa2['OfflineState'],this['unitID'],this[_0x1a55ee(0x306)],null,this[_0x1a55ee(0x4f9)],this[_0x1a55ee(0x4b4)]);}[_0x212abf(0x226)](){return this;}[_0x212abf(0x3b7)](_0x5266d8){var _0x1b1d66=_0x212abf;const _0x1ca3fe=_0x5266d8!=null?_0x5266d8:this[_0x1b1d66(0x24c)]();this[_0x1b1d66(0x175)]=new Date()[_0x1b1d66(0x47c)]()+_0x1ca3fe,this['_sendingTimer']=setTimeout(()=>{var _0x1e1876=_0x1b1d66;this[_0x1e1876(0x273)]();let _0x2b7cfb=null;switch(this[_0x1e1876(0x306)]){case _0x10d356['UNIVER_SHEET']:{_0x2b7cfb=_0x59e56c(this[_0x1e1876(0x4f9)],this[_0x1e1876(0x254)],this[_0x1e1876(0x490)],this[_0x1e1876(0x432)],this['_memberService']);break;}case _0x10d356['UNIVER_DOC']:{this[_0x1e1876(0x4f9)]['every'](_0x1314e5=>_0x1314e5['id']===_0xd9299c[_0x1e1876(0x212)]['id'])?_0x2b7cfb=_0x5cf29b(this['_pendingMutations'],this[_0x1e1876(0x254)],this['_univerInstanceService'],this['_revisionService'],this[_0x1e1876(0x3f8)]):_0x2b7cfb=_0x59e56c(this[_0x1e1876(0x4f9)],this['unitID'],this[_0x1e1876(0x490)],this[_0x1e1876(0x432)],this[_0x1e1876(0x3f8)]);break;}default:throw new Error(_0x1e1876(0x45b)+this[_0x1e1876(0x306)]+_0x1e1876(0x47d));}const {changeset:_0x3fcd76,pendingMutations:_0x4a16e6}=_0x2b7cfb;this['_handler'][_0x1e1876(0x400)](_0x3fcd76);const _0x2b63a0=_0x4a16e6[_0x1e1876(0x2e2)]?this[_0x1e1876(0x2e5)]['createInstance'](_0x1c6aa2['AwaitingWithPendingState'],this[_0x1e1876(0x254)],this[_0x1e1876(0x306)],_0x3fcd76,_0x4a16e6,this['_handler'],void 0x0):this[_0x1e1876(0x2e5)][_0x1e1876(0x28e)](_0x1c6aa2[_0x1e1876(0x409)],this[_0x1e1876(0x254)],this[_0x1e1876(0x306)],_0x3fcd76,this[_0x1e1876(0x4b4)]);_0x2b63a0[_0x1e1876(0x398)](),this['_handler']['onStateChange'](this,_0x2b63a0);},_0x1ca3fe);}[_0x212abf(0x24c)](){var _0x13521a=_0x212abf,_0x4b0d2b;const _0x1ebdfc=this[_0x13521a(0x172)][_0x13521a(0x3ea)](_0x391e6e);return(_0x4b0d2b=_0x1ebdfc==null?void 0x0:_0x1ebdfc[_0x13521a(0x511)])!=null?_0x4b0d2b:0x7d0;}[_0x212abf(0x3fb)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x111a41=_0x212abf;this[_0x111a41(0x484)]!=null&&(clearTimeout(this[_0x111a41(0x484)]),this[_0x111a41(0x484)]=null);}[_0x212abf(0x4b6)](_0x5aa756){var _0x10da03=_0x212abf;return this[_0x10da03(0x273)](),this[_0x10da03(0x2e5)][_0x10da03(0x28e)](_0x1c6aa2[_0x10da03(0x361)],this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x10da03(0x4b4)],_0x5aa756);}},_0x1c6aa2[_0x212abf(0x16d)]=_0xbdfa67([_0x345f54(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x425665[_0x212abf(0x3a9)])),_0x345f54(0x6,_0x2695a7[_0x212abf(0x4c1)](_0x1c6aa2[_0x212abf(0x2b0)])),_0x345f54(0x7,_0x2695a7['ILogService']),_0x345f54(0x8,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x333)]),_0x345f54(0xa,_0x425665['ITransformService']),_0x345f54(0xb,_0x2695a7[_0x212abf(0x4ed)]),_0x345f54(0xc,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0xd,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2[_0x212abf(0x16d)]),_0x1c6aa2[_0x212abf(0x409)]=class extends _0x30d248{constructor(_0x5caaa5,_0x2e487e,_0x46abba,_0x12cd9b,_0x58d455,_0x2ab0c6,_0x165b83,_0x2fe63d,_0x562a72,_0x5bb0d1,_0x3285eb){var _0x16558a=_0x212abf;super(_0x5caaa5,_0x2e487e,_0x46abba,[],_0x12cd9b,_0x165b83,_0x5bb0d1,_0x2ab0c6,_0x3285eb),_0x110376(this,_0x16558a(0x4f1),'awaiting'),_0x110376(this,_0x16558a(0x169),0x0),_0x110376(this,_0x16558a(0x462),0x0),_0x110376(this,_0x16558a(0x472)),_0x110376(this,'_sender'),(this[_0x16558a(0x2e5)]=_0x58d455,this[_0x16558a(0x24b)]=_0x2fe63d,this[_0x16558a(0x500)]=_0x562a72);}['appendMutation'](_0x4804bb){var _0x377121=_0x212abf;this[_0x377121(0x273)]();const _0x24efdc=this['_injector'][_0x377121(0x28e)](_0x1c6aa2[_0x377121(0x4e8)],this['unitID'],this[_0x377121(0x306)],this['_awaitingChangeset'],[_0x4804bb],this[_0x377121(0x4b4)],this[_0x377121(0x472)]);return _0x24efdc['_updateLocalCache'](),_0x24efdc;}['onRemoteChangeset'](_0x46cf24){var _0x56b5f8=_0x212abf;if(this[_0x56b5f8(0x314)](_0x46cf24))return this[_0x56b5f8(0x273)](),this['_injector'][_0x56b5f8(0x28e)](_0x1c6aa2['FetchingMissState'],this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x46cf24],this[_0x56b5f8(0x4b4)]);try{const _0x5299d4=this[_0x56b5f8(0x500)][_0x56b5f8(0x21b)]([_0x46cf24],[this[_0x56b5f8(0x383)]],!0x1);if(_0x425665[_0x56b5f8(0x3e4)](_0x5299d4)){const {c1Prime:_0x9f55a7,c2Prime:_0x1d396e}=_0x5299d4;this['_executeRemoteChangeset'](_0x9f55a7[0x0]),_0x1d396e[0x0][_0x56b5f8(0x44c)]=this[_0x56b5f8(0x1e0)](),this[_0x56b5f8(0x273)]();const _0x5aae59=this['_injector']['createInstance'](_0x1c6aa2[_0x56b5f8(0x409)],this['unitID'],this['type'],_0x1d396e[0x0],this[_0x56b5f8(0x4b4)]);return _0x5aae59[_0x56b5f8(0x398)](),_0x5aae59;}return this[_0x56b5f8(0x4b6)](!0x1);}catch(_0x1f9f11){return this[_0x56b5f8(0x24b)]['error'](_0x1f9f11),this[_0x56b5f8(0x4b6)](!0x1);}}[_0x212abf(0x1bb)](_0x5c9e61){var _0x1646db=_0x212abf;this[_0x1646db(0x273)]();const _0x25a9d2=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1646db(0x254)]);if(_0x5c9e61['revision']<_0x25a9d2-0x1)return this;if(this[_0x1646db(0x314)](_0x5c9e61))return this[_0x1646db(0x2e5)]['createInstance'](_0x1c6aa2['FetchingMissState'],this[_0x1646db(0x254)],this[_0x1646db(0x306)],null,[],this[_0x1646db(0x383)],[],this[_0x1646db(0x4b4)]);this['_incrementRevisionNumber']();const _0x5b44f7=this[_0x1646db(0x2e5)][_0x1646db(0x28e)](_0x1c6aa2['SyncedState'],this['unitID'],this['type'],this[_0x1646db(0x4b4)]);return _0x5b44f7[_0x1646db(0x398)](),_0x5b44f7;}[_0x212abf(0x475)](_0x378ff0){var _0x1c29d2=_0x212abf;return this[_0x1c29d2(0x4b6)](!!(_0x378ff0!=null&&_0x378ff0[_0x1c29d2(0x174)]));}[_0x212abf(0x488)](_0xe9d3fe){var _0x5acfcf=_0x212abf;return this[_0x5acfcf(0x462)]>_0x1b62f6?this[_0x5acfcf(0x217)]():(this[_0x5acfcf(0x472)]=_0x3c4b23(this[_0x5acfcf(0x169)],{'timeout':this[_0x5acfcf(0x169)],'reqId':_0xe9d3fe['reqId']}),this[_0x5acfcf(0x38d)]=this[_0x5acfcf(0x472)][_0x5acfcf(0x23e)](({reqId:_0x524961,timeout:_0x1c7b46})=>{var _0x5121d3=_0x5acfcf;this[_0x5121d3(0x496)](_0x524961,_0x1c7b46);}),this);}[_0x212abf(0x217)](){var _0x5f1913=_0x212abf;return this['_clearScheduledTask'](),this['_injector'][_0x5f1913(0x28e)](_0x1c6aa2[_0x5f1913(0x1ad)],this[_0x5f1913(0x254)],this[_0x5f1913(0x306)],this['_awaitingChangeset'],[],this[_0x5f1913(0x4b4)]);}[_0x212abf(0x226)](){return this;}[_0x212abf(0x3fb)](){var _0x1e0cff=_0x212abf;this['_handler'][_0x1e0cff(0x400)](this['_awaitingChangeset']);}[_0x212abf(0x4b6)](_0x58e960){var _0x311c2a=_0x212abf;return this[_0x311c2a(0x273)](),this[_0x311c2a(0x2e5)][_0x311c2a(0x28e)](_0x1c6aa2['ConflictState'],this[_0x311c2a(0x254)],this[_0x311c2a(0x306)],this['_awaitingChangeset'],[],this['_handler'],_0x58e960);}['_resendWithTimeout'](_0x359fd1,_0x273958){var _0x4b6b3c=_0x212abf,_0x38000f;_0x359fd1===((_0x38000f=this[_0x4b6b3c(0x383)])==null?void 0x0:_0x38000f[_0x4b6b3c(0x43d)])&&(this[_0x4b6b3c(0x3fb)](),this[_0x4b6b3c(0x169)]=_0x273958===0x0?0x3e8:Math[_0x4b6b3c(0x4cc)](_0x273958*0x2,_0x21ef4f),this['_maxTotalRetryTimeout']+=this[_0x4b6b3c(0x169)]);}[_0x212abf(0x273)](){var _0x122852=_0x212abf,_0xddf0c4;(_0xddf0c4=this[_0x122852(0x38d)])==null||_0xddf0c4[_0x122852(0x419)](),this[_0x122852(0x169)]=0x0,this[_0x122852(0x462)]=0x0;}},_0x1c6aa2[_0x212abf(0x409)]=_0xbdfa67([_0x345f54(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x425665['RevisionService'])),_0x345f54(0x6,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0x7,_0x2695a7[_0x212abf(0x1e4)]),_0x345f54(0x8,_0x425665[_0x212abf(0x328)]),_0x345f54(0x9,_0x2695a7['IUndoRedoService']),_0x345f54(0xa,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2[_0x212abf(0x409)]),_0x1c6aa2[_0x212abf(0x4e8)]=class extends _0x30d248{constructor(_0x3c5554,_0x83c2be,_0x41e6e7,_0x1ff3b6,_0x3de05c,_0x57ad18,_0x345f7f,_0x5b9cea,_0x4964e5,_0x16ba0a,_0x7be25f,_0x3cf595,_0xdab3c5){var _0x39cf34=_0x212abf;super(_0x3c5554,_0x83c2be,_0x41e6e7,_0x1ff3b6,_0x3de05c,_0x4964e5,_0x3cf595,_0x5b9cea,_0xdab3c5),_0x110376(this,_0x39cf34(0x4f1),_0x39cf34(0x1d2)),_0x110376(this,_0x39cf34(0x169),0x0),_0x110376(this,_0x39cf34(0x462),0x0),_0x110376(this,_0x39cf34(0x472)),_0x110376(this,_0x39cf34(0x38d)),(this[_0x39cf34(0x2e5)]=_0x345f7f,this[_0x39cf34(0x24b)]=_0x16ba0a,this[_0x39cf34(0x500)]=_0x7be25f,this[_0x39cf34(0x414)]=_0xdab3c5,_0x57ad18&&(this[_0x39cf34(0x472)]=_0x57ad18,this['_sender']=this['_resendTimer'][_0x39cf34(0x23e)](({reqId:_0x1fedf1,timeout:_0xf4b25e})=>{var _0x9d026b=_0x39cf34;this[_0x9d026b(0x496)](_0x1fedf1,_0xf4b25e);})));}[_0x212abf(0x2f0)](_0x26733f){var _0x2f2676=_0x212abf;return this[_0x2f2676(0x4f9)]['push'](_0x26733f),this;}[_0x212abf(0x223)](_0x51a77e){var _0x53028e=_0x212abf;if(this['_checkMissing'](_0x51a77e))return this['_clearScheduledTask'](),this[_0x53028e(0x2e5)][_0x53028e(0x28e)](_0x1c6aa2[_0x53028e(0x435)],this[_0x53028e(0x254)],this[_0x53028e(0x306)],this[_0x53028e(0x383)],this[_0x53028e(0x4f9)],null,[_0x51a77e],this[_0x53028e(0x4b4)]);try{const _0x231713=this[_0x53028e(0x500)][_0x53028e(0x21b)]([_0x51a77e],[this[_0x53028e(0x383)]],!0x1);if(_0x425665['isTransformChangesetsSuccess'](_0x231713)){const {c1Prime:_0x2c015a,c2Prime:_0x5cf501}=_0x231713,_0x59f770=this[_0x53028e(0x500)][_0x53028e(0x2a2)](_0x2c015a[0x0],this[_0x53028e(0x4f9)]);if(_0x425665[_0x53028e(0x4f0)](_0x59f770)){const {c1Prime:_0x3f94e0,m2Prime:_0x236bf1}=_0x59f770;return this[_0x53028e(0x21f)](_0x3f94e0),_0x5cf501[0x0][_0x53028e(0x44c)]=this[_0x53028e(0x1e0)](),this[_0x53028e(0x273)](),this[_0x53028e(0x2e5)][_0x53028e(0x28e)](_0x1c6aa2['AwaitingWithPendingState'],this[_0x53028e(0x254)],this['type'],_0x5cf501[0x0],_0x236bf1,this[_0x53028e(0x4b4)],void 0x0);}throw _0x59f770['error'];}throw _0x231713['error'];}catch(_0x2b216b){return this[_0x53028e(0x24b)]['error'](_0x2b216b),this[_0x53028e(0x4b6)](!0x1);}}[_0x212abf(0x1bb)](_0x5adf74){var _0xfe3b6f=_0x212abf;if(this[_0xfe3b6f(0x273)](),this['_checkMissing'](_0x5adf74))return this['_injector'][_0xfe3b6f(0x28e)](_0x1c6aa2[_0xfe3b6f(0x435)],this['unitID'],this[_0xfe3b6f(0x306)],null,this['_pendingMutations'],this[_0xfe3b6f(0x383)],[],this['_handler']);this[_0xfe3b6f(0x31c)]();const _0xe3a1ab=this[_0xfe3b6f(0x2e5)][_0xfe3b6f(0x28e)](_0x1c6aa2[_0xfe3b6f(0x16d)],this[_0xfe3b6f(0x254)],this['type'],this[_0xfe3b6f(0x4f9)],this['_handler']);return _0xe3a1ab['_schedule'](),_0xe3a1ab[_0xfe3b6f(0x398)](),_0xe3a1ab;}[_0x212abf(0x475)](_0x16f1e7){var _0x3ddf0d=_0x212abf;return this['_onConflict'](!!(_0x16f1e7!=null&&_0x16f1e7[_0x3ddf0d(0x174)]));}[_0x212abf(0x488)](_0x1bd805){var _0x1ef320=_0x212abf;return this[_0x1ef320(0x462)]>_0x1b62f6?this['toggleOffline']():(this[_0x1ef320(0x472)]=_0x3c4b23(this[_0x1ef320(0x169)],{'timeout':this['_resendTimeout'],'reqId':_0x1bd805[_0x1ef320(0x43d)]}),this[_0x1ef320(0x38d)]=this[_0x1ef320(0x472)][_0x1ef320(0x23e)](({reqId:_0x5b39c2,timeout:_0x4c0164})=>{var _0x172e26=_0x1ef320;this[_0x172e26(0x496)](_0x5b39c2,_0x4c0164);}),this);}[_0x212abf(0x217)](){var _0xfd0de3=_0x212abf;return this['_clearScheduledTask'](),this[_0xfd0de3(0x2e5)][_0xfd0de3(0x28e)](_0x1c6aa2['OfflineState'],this[_0xfd0de3(0x254)],this[_0xfd0de3(0x306)],this[_0xfd0de3(0x383)],this[_0xfd0de3(0x4f9)],this[_0xfd0de3(0x4b4)]);}[_0x212abf(0x226)](){return this;}[_0x212abf(0x3fb)](){var _0x693ca5=_0x212abf;this[_0x693ca5(0x4b4)][_0x693ca5(0x400)](this[_0x693ca5(0x383)]);}[_0x212abf(0x4b6)](_0x1e9bfd){var _0x1d093f=_0x212abf;return this[_0x1d093f(0x273)](),this[_0x1d093f(0x2e5)][_0x1d093f(0x28e)](_0x1c6aa2[_0x1d093f(0x361)],this[_0x1d093f(0x254)],this[_0x1d093f(0x306)],null,this['_pendingMutations'],this['_handler'],_0x1e9bfd);}[_0x212abf(0x496)](_0x391d12,_0x36a38c){var _0x157a41=_0x212abf,_0x4714ad;_0x391d12===((_0x4714ad=this[_0x157a41(0x383)])==null?void 0x0:_0x4714ad[_0x157a41(0x43d)])&&(this[_0x157a41(0x3fb)](),this[_0x157a41(0x169)]=_0x36a38c===0x0?0x3e8:Math[_0x157a41(0x4cc)](_0x36a38c*0x2,_0x21ef4f),this[_0x157a41(0x462)]+=this[_0x157a41(0x169)]);}[_0x212abf(0x273)](){var _0x85a0c8=_0x212abf,_0x1f25cc;(_0x1f25cc=this[_0x85a0c8(0x38d)])==null||_0x1f25cc[_0x85a0c8(0x419)](),this[_0x85a0c8(0x169)]=0x0,this[_0x85a0c8(0x462)]=0x0;}},_0x1c6aa2[_0x212abf(0x4e8)]=_0xbdfa67([_0x345f54(0x6,_0x2695a7['Inject'](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x7,_0x2695a7['Inject'](_0x425665[_0x212abf(0x3a9)])),_0x345f54(0x8,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x1e4)]),_0x345f54(0xa,_0x425665['ITransformService']),_0x345f54(0xb,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0xc,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2[_0x212abf(0x4e8)]),_0x1c6aa2[_0x212abf(0x361)]=class extends _0x30d248{constructor(_0x52cedd,_0x358dca,_0x245fd1,_0x143180,_0x1c8bac,_0x4e5d28=!0x1,_0x45bd37,_0x277a80,_0x15b2a5,_0x7a5882,_0xd01854,_0x2c9e94,_0x4b318a){var _0x4bc26f=_0x212abf;super(_0x52cedd,_0x358dca,_0x245fd1,_0x143180,_0x1c8bac,_0x277a80,_0x15b2a5,_0x7a5882,_0x4b318a),_0x110376(this,_0x4bc26f(0x4f1),_0x4bc26f(0x35e)),(this[_0x4bc26f(0x4ac)]=_0x4e5d28,this[_0x4bc26f(0x47a)]=_0x45bd37,this[_0x4bc26f(0x3b5)]=_0xd01854,this[_0x4bc26f(0x32f)]=_0x2c9e94,this['localCacheService']=_0x4b318a,this['_showConflictNotification'](),this[_0x4bc26f(0x1d5)](),this[_0x4bc26f(0x27f)]());}[_0x212abf(0x2f0)](){return this;}[_0x212abf(0x223)](){return this;}[_0x212abf(0x1bb)](){return this;}[_0x212abf(0x475)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x212abf(0x226)](){return this;}[_0x212abf(0x3fb)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x52a2dc=_0x212abf,_0x216646;(_0x216646=this[_0x52a2dc(0x1ce)])==null||_0x216646['updateOfflineData'](this[_0x52a2dc(0x254)],this['type'],null,[]);}[_0x212abf(0x182)](){var _0x3f7238=_0x212abf;this[_0x3f7238(0x4ac)]?this['_collaborationUIEventService']['emitEvent']({'id':_0x5ab775['PERMISSION_DENIED']}):this[_0x3f7238(0x32f)][_0x3f7238(0x3ab)]({'id':_0x5ab775[_0x3f7238(0x39c)]});}[_0x212abf(0x27f)](){var _0x47e984=_0x212abf;this[_0x47e984(0x47a)][_0x47e984(0x3c1)](new _0x57749b[(_0x47e984(0x26b))](this[_0x47e984(0x254)])['id'],!0x1);}},_0x1c6aa2[_0x212abf(0x361)]=_0xbdfa67([_0x345f54(0x6,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['IPermissionService'])),_0x345f54(0x7,_0x2695a7['ICommandService']),_0x345f54(0x8,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x4c1)](_0x425665[_0x212abf(0x3a9)])),_0x345f54(0xa,_0x2695a7['Inject'](_0x2695a7[_0x212abf(0x49d)])),_0x345f54(0xb,_0x2695a7[_0x212abf(0x4c1)](_0xfe53d)),_0x345f54(0xc,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2['ConflictState']),_0x1c6aa2[_0x212abf(0x1ad)]=class extends _0x30d248{constructor(_0x15c525,_0x17507c,_0x3dee45,_0x4be918,_0x485ec9,_0x5c63b0,_0x4fbeaa,_0x305918,_0x448995,_0x5e244b){var _0x1b6bb4=_0x212abf;super(_0x15c525,_0x17507c,_0x3dee45,_0x4be918,_0x485ec9,_0x305918,_0x448995,_0x4fbeaa,_0x5e244b),_0x110376(this,_0x1b6bb4(0x4f1),'offline'),this[_0x1b6bb4(0x2e5)]=_0x5c63b0;}[_0x212abf(0x2f0)](_0x34c771){var _0xeb7473=_0x212abf;return this[_0xeb7473(0x4f9)][_0xeb7473(0x4d2)](_0x34c771),this[_0xeb7473(0x398)](),this;}[_0x212abf(0x223)](_0x33eaf2){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x212abf(0x1bb)](){var _0x91221d=_0x212abf;throw new Error(_0x91221d(0x48f));}[_0x212abf(0x475)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x212abf(0x488)](){return this;}[_0x212abf(0x217)](){return this;}[_0x212abf(0x226)](){var _0x574cde=_0x212abf;const {_injector:_0x29d69d,_pendingMutations:_0xd4a652,_awaitingChangeset:_0x38ac33,unitID:_0x10abae,_handler:_0x3cbf30,type:_0x1066b0}=this,_0x1dbcdc=_0x4a32e5(_0x29d69d,_0x10abae,_0x1066b0,_0x38ac33,_0xd4a652,_0x3cbf30);return _0x1dbcdc instanceof _0x1c6aa2['PendingState']?_0x1dbcdc[_0x574cde(0x3b7)]():(_0x1dbcdc instanceof _0x1c6aa2[_0x574cde(0x4e8)]||_0x1dbcdc instanceof _0x1c6aa2[_0x574cde(0x409)])&&_0x1dbcdc['resend'](),_0x1dbcdc;}[_0x212abf(0x3fb)](){var _0x560dc2=_0x212abf;throw new Error(_0x560dc2(0x478));}},_0x1c6aa2[_0x212abf(0x1ad)]=_0xbdfa67([_0x345f54(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x6,_0x2695a7['Inject'](_0x425665[_0x212abf(0x3a9)])),_0x345f54(0x7,_0x2695a7['ICommandService']),_0x345f54(0x8,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0x9,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2['OfflineState']),_0x1c6aa2[_0x212abf(0x435)]=class extends _0x30d248{constructor(_0x128fd0,_0x46dad3,_0x3083c7,_0x54a610,_0x3da85c,_0x3ed8c5,_0x186c13,_0x40d035,_0x2a397f,_0x54fbdb,_0x15d228,_0x339a8e,_0x179c26,_0x46a55e){var _0x3fd8b0=_0x212abf;super(_0x128fd0,_0x46dad3,_0x3083c7,_0x54a610,_0x186c13,_0x15d228,_0x339a8e,_0x2a397f,_0x46a55e),_0x110376(this,_0x3fd8b0(0x4f1),_0x3fd8b0(0x1df)),(this[_0x3fd8b0(0x2eb)]=_0x3da85c,this['_queuedRemoteChangesets']=_0x3ed8c5,this[_0x3fd8b0(0x2e5)]=_0x40d035,this['_logService']=_0x54fbdb,this[_0x3fd8b0(0x500)]=_0x179c26,this['localCacheService']=_0x46a55e);}['onMissedChangesetFetched'](_0x195d01){var _0x2c747f=_0x212abf;try{const _0x360786=[..._0x195d01,...this['_queuedRemoteChangesets']],_0x7b6c67=[this[_0x2c747f(0x383)]||this[_0x2c747f(0x2eb)]][_0x2c747f(0x305)](_0x384482=>!!_0x384482);let _0x2f2ff7,_0x2e4e35;if(_0x7b6c67['length']){const _0x4d5b9b=this[_0x2c747f(0x500)][_0x2c747f(0x21b)](_0x360786,_0x7b6c67,!0x1);if(!_0x425665[_0x2c747f(0x3e4)](_0x4d5b9b))throw _0x4d5b9b[_0x2c747f(0x4c9)];_0x2f2ff7=_0x4d5b9b[_0x2c747f(0x228)],_0x2e4e35=_0x4d5b9b[_0x2c747f(0x3b4)];}else _0x2f2ff7=_0x360786,_0x2e4e35=[];let _0x3f4348=this[_0x2c747f(0x4f9)];_0x2f2ff7[_0x2c747f(0x20a)](_0xdf9c3=>{var _0x4d0184=_0x2c747f;let _0x798ce0;if(_0x3f4348[_0x4d0184(0x2e2)]){const _0x38c991=this['_transformService'][_0x4d0184(0x2a2)](_0xdf9c3,_0x3f4348);if(!_0x425665[_0x4d0184(0x4f0)](_0x38c991))throw _0x38c991[_0x4d0184(0x4c9)];_0x798ce0=_0x38c991[_0x4d0184(0x228)],_0x3f4348=_0x38c991[_0x4d0184(0x1fe)];}else _0x798ce0=_0xdf9c3;this[_0x4d0184(0x21f)](_0x798ce0);}),this[_0x2c747f(0x2eb)]&&this[_0x2c747f(0x31c)](),this[_0x2c747f(0x383)]&&_0x2e4e35['length']&&(_0x2e4e35[0x0][_0x2c747f(0x44c)]=this['_getCurrentRevision']());let _0x3a741d;if(this[_0x2c747f(0x383)]&&_0x3f4348[_0x2c747f(0x2e2)]!==0x0)_0x3a741d=this['_injector'][_0x2c747f(0x28e)](_0x1c6aa2[_0x2c747f(0x4e8)],this[_0x2c747f(0x254)],this['type'],_0x2e4e35[0x0],_0x3f4348,this[_0x2c747f(0x4b4)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3f4348[_0x2c747f(0x2e2)]===0x0)_0x2e4e35[0x0][_0x2c747f(0x44c)]=this[_0x2c747f(0x1e0)](),_0x3a741d=this[_0x2c747f(0x2e5)][_0x2c747f(0x28e)](_0x1c6aa2[_0x2c747f(0x409)],this['unitID'],this['type'],_0x2e4e35[0x0],this[_0x2c747f(0x4b4)]);else{if(_0x3f4348[_0x2c747f(0x2e2)]!==0x0){const _0x4d327b=this[_0x2c747f(0x2e5)]['createInstance'](_0x1c6aa2[_0x2c747f(0x16d)],this[_0x2c747f(0x254)],this[_0x2c747f(0x306)],_0x3f4348,this[_0x2c747f(0x4b4)]);_0x4d327b[_0x2c747f(0x3b7)](),_0x3a741d=_0x4d327b;}else _0x3a741d=this[_0x2c747f(0x2e5)]['createInstance'](_0x1c6aa2['SyncedState'],this['unitID'],this[_0x2c747f(0x306)],this[_0x2c747f(0x4b4)]);}}return _0x3a741d['_updateLocalCache'](),_0x3a741d;}catch(_0x58a8f8){return this['_logService'][_0x2c747f(0x4c9)](_0x2c747f(0x2cf),'failed\x20to\x20apply\x20missed\x20changesets!',_0x58a8f8),this[_0x2c747f(0x2e5)][_0x2c747f(0x28e)](_0x1c6aa2[_0x2c747f(0x361)],this[_0x2c747f(0x254)],this[_0x2c747f(0x306)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2c747f(0x4b4)],!0x1);}}[_0x212abf(0x3fb)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x212abf(0x2f0)](_0x1a25e2){var _0x1f7110=_0x212abf;return this[_0x1f7110(0x4f9)][_0x1f7110(0x4d2)](_0x1a25e2),this;}[_0x212abf(0x223)](_0x2e026b){var _0x1c56e2=_0x212abf;return this[_0x1c56e2(0x1cb)][_0x1c56e2(0x4d2)](_0x2e026b),this;}[_0x212abf(0x1bb)](_0x119bd8){var _0x5d5d46=_0x212abf;if(this['_awaitingChangeset'])return this[_0x5d5d46(0x2eb)]=this[_0x5d5d46(0x383)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x212abf(0x475)](_0x194a3f){var _0xf75b5f=_0x212abf;return this[_0xf75b5f(0x4b6)](!!(_0x194a3f!=null&&_0x194a3f['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x212abf(0x217)](){var _0x256813=_0x212abf;return this[_0x256813(0x2e5)][_0x256813(0x28e)](_0x1c6aa2[_0x256813(0x1ad)],this[_0x256813(0x254)],this[_0x256813(0x306)],this[_0x256813(0x383)],this[_0x256813(0x4f9)],this['_handler']);}[_0x212abf(0x226)](){return this;}[_0x212abf(0x4b6)](_0x490913){var _0x2e96be=_0x212abf;return this[_0x2e96be(0x2e5)]['createInstance'](_0x1c6aa2[_0x2e96be(0x361)],this[_0x2e96be(0x254)],this[_0x2e96be(0x306)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x490913);}},_0x1c6aa2[_0x212abf(0x435)]=_0xbdfa67([_0x345f54(0x7,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x345f54(0x8,_0x2695a7[_0x212abf(0x4c1)](_0x425665['RevisionService'])),_0x345f54(0x9,_0x2695a7['ILogService']),_0x345f54(0xa,_0x2695a7[_0x212abf(0x2f2)]),_0x345f54(0xb,_0x2695a7[_0x212abf(0x450)]),_0x345f54(0xc,_0x425665[_0x212abf(0x328)]),_0x345f54(0xd,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2['FetchingMissState']);function _0x4a32e5(_0x36e1c1,_0x1f18a7,_0xf73cf5,_0x231557,_0x392337,_0x4942e9){var _0x56bc60=_0x212abf;return _0x231557&&_0x392337[_0x56bc60(0x2e2)]?_0x36e1c1[_0x56bc60(0x28e)](_0x1c6aa2[_0x56bc60(0x4e8)],_0x1f18a7,_0xf73cf5,_0x231557,_0x392337,_0x4942e9,void 0x0):_0x231557?_0x36e1c1[_0x56bc60(0x28e)](_0x1c6aa2[_0x56bc60(0x409)],_0x1f18a7,_0xf73cf5,_0x231557,_0x4942e9):_0x392337[_0x56bc60(0x2e2)]?_0x36e1c1[_0x56bc60(0x28e)](_0x1c6aa2[_0x56bc60(0x16d)],_0x1f18a7,_0xf73cf5,_0x392337,_0x4942e9):_0x36e1c1[_0x56bc60(0x28e)](_0x1c6aa2[_0x56bc60(0x4e6)],_0x1f18a7,_0xf73cf5,_0x4942e9);}var _0xbfe78f=Object[_0x212abf(0x1f8)],_0xccaf90=(_0x50f130,_0x3daab5,_0x1a9824,_0x3b7cba)=>{for(var _0x58ec70=_0x3b7cba>0x1?void 0x0:_0x3b7cba?_0xbfe78f(_0x3daab5,_0x1a9824):_0x3daab5,_0x38abb5=_0x50f130['length']-0x1,_0xe3c77b;_0x38abb5>=0x0;_0x38abb5--)(_0xe3c77b=_0x50f130[_0x38abb5])&&(_0x58ec70=_0xe3c77b(_0x58ec70)||_0x58ec70);return _0x58ec70;},_0x2d4b3a=(_0xaa1657,_0x5f5143)=>(_0xdad4de,_0x2f620d)=>_0x5f5143(_0xdad4de,_0x2f620d,_0xaa1657);_0x1c6aa2[_0x212abf(0x20e)]=class extends _0x2695a7['RxDisposable']{constructor(_0x2d6a16,_0x598678,_0x4f0f04,_0xca073f,_0x15482b,_0x14365b,_0x4ddd92,_0x116160,_0x24ef2c,_0x307ea7,_0x59868e,_0x2bafe1,_0x47d846,_0x3097f6){var _0x3131c4=_0x212abf;super(),_0x110376(this,_0x3131c4(0x1a7),new _0x3b3710[(_0x3131c4(0x2ed))](null)),_0x110376(this,_0x3131c4(0x218),this[_0x3131c4(0x1a7)][_0x3131c4(0x3a2)]()),_0x110376(this,_0x3131c4(0x2ee)),_0x110376(this,_0x3131c4(0x2b4),!0x1),_0x110376(this,_0x3131c4(0x288),''),_0x110376(this,'_changesetReqId',0x0),_0x110376(this,_0x3131c4(0x4bb),this['state$']['pipe'](_0x3b3710['map'](_0x381032=>_0x381032?_0x381032[_0x3131c4(0x4f1)]:_0x3422b2['OFFLINE']),_0x3b3710[_0x3131c4(0x28f)](0x1))),_0x110376(this,_0x3131c4(0x20f),!0x1),_0x110376(this,_0x3131c4(0x225),[]),(this['unitID']=_0x2d6a16,this[_0x3131c4(0x17d)]=_0x598678,this[_0x3131c4(0x371)]=_0x4f0f04,this[_0x3131c4(0x2e5)]=_0xca073f,this[_0x3131c4(0x2f1)]=_0x15482b,this[_0x3131c4(0x3b5)]=_0x14365b,this['_revisionService']=_0x4ddd92,this[_0x3131c4(0x339)]=_0x116160,this[_0x3131c4(0x490)]=_0x24ef2c,this[_0x3131c4(0x24b)]=_0x307ea7,this[_0x3131c4(0x300)]=_0x59868e,this['_permissionService']=_0x2bafe1,this[_0x3131c4(0x2da)]=_0x47d846,this[_0x3131c4(0x1ce)]=_0x3097f6);}get[_0x212abf(0x29a)](){var _0x46cdb8=_0x212abf;return this[_0x46cdb8(0x2ee)];}async['init'](){var _0x6032e4=_0x212abf;if(this[_0x6032e4(0x29a)])throw new Error(_0x6032e4(0x323));await this[_0x6032e4(0x506)]();}[_0x212abf(0x337)](){var _0x2ac7af=_0x212abf;return this[_0x2ac7af(0x2b4)]=!0x0,_0x2695a7[_0x2ac7af(0x276)](()=>{var _0xb73776=_0x2ac7af;this[_0xb73776(0x2b4)]=!0x1,this[_0xb73776(0x3c9)]();});}[_0x212abf(0x1a5)](_0x3fccb2){this['_onLocalMutation'](_0x3fccb2);}[_0x212abf(0x249)](_0x114278){var _0x12fce3=_0x212abf;this[_0x12fce3(0x2ee)]=_0x114278,this['_state$'][_0x12fce3(0x185)](_0x114278);}async[_0x212abf(0x506)](){var _0x263969=_0x212abf,_0x1955b4;this[_0x263969(0x249)](await this[_0x263969(0x3d7)]()),this[_0x263969(0x2da)]&&((_0x1955b4=this['_singleActiveUnitService'])==null||_0x1955b4['editingUnit'](this[_0x263969(0x254)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x263969(0x231)](this[_0x263969(0x254)])[_0x263969(0x23e)](_0x25ee06=>{var _0x55e1f6=_0x263969;this[_0x55e1f6(0x24b)]['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x25ee06),_0x25ee06===_0x38f487['OTHER_CLIENTS_EDITING']?(this[_0x55e1f6(0x339)][_0x55e1f6(0x3ab)]({'id':_0x5ab775[_0x55e1f6(0x1af)]}),this['_permissionService'][_0x55e1f6(0x3c1)](new _0x57749b[(_0x55e1f6(0x26b))](this[_0x55e1f6(0x254)])['id'],!0x1),this[_0x55e1f6(0x47a)]['setShowComponents'](!0x1)):(this[_0x55e1f6(0x47a)][_0x55e1f6(0x3c1)](new _0x57749b[(_0x55e1f6(0x26b))](this[_0x55e1f6(0x254)])['id'],!0x0),this['_permissionService'][_0x55e1f6(0x3bb)](!0x0));})));let _0x34b5be=!0x1;return this[_0x263969(0x2fe)](this[_0x263969(0x17d)][_0x263969(0x40b)]['subscribe'](_0x2e3d65=>{var _0x2aefd5=_0x263969;_0x2e3d65===_0x1e024b[_0x2aefd5(0x42c)]?this[_0x2aefd5(0x367)](_0x34b5be):_0x2e3d65===_0x1e024b['OFFLINE']&&(_0x34b5be=!0x0,this[_0x2aefd5(0x479)]());})),this[_0x263969(0x2fe)](this['session']['event$'][_0x263969(0x23e)](_0x489fa1=>{var _0x20d542=_0x263969;try{switch(_0x489fa1[_0x20d542(0x16a)]){case _0x425665['CollaborationEvent'][_0x20d542(0x335)]:{this[_0x20d542(0x4d7)](_0x425665['parseProtocolChangeset'](_0x489fa1[_0x20d542(0x28c)]));break;}case _0x425665[_0x20d542(0x3c4)][_0x20d542(0x3e2)]:{this[_0x20d542(0x413)](_0x489fa1[_0x20d542(0x28c)]);break;}case _0x425665[_0x20d542(0x3c4)]['CHANGESET_REJ']:{this[_0x20d542(0x504)]();break;}case _0x425665[_0x20d542(0x3c4)][_0x20d542(0x315)]:{this['_onRemoteRetry'](_0x489fa1[_0x20d542(0x28c)]);break;}case _0x425665[_0x20d542(0x3c4)][_0x20d542(0x344)]:{this[_0x20d542(0x2d7)](_0x489fa1[_0x20d542(0x28c)]['changesets'][_0x20d542(0x1eb)](_0x2c40eb=>_0x425665[_0x20d542(0x30d)](_0x2c40eb)));break;}case _0x425665[_0x20d542(0x3c4)][_0x20d542(0x213)]:{this[_0x20d542(0x504)]({'isPermissionRej':!0x0});break;}case _0x425665['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x417326){throw console['error'](_0x20d542(0x194),_0x417326),_0x417326;}})),this[_0x263969(0x2ee)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x212abf(0x279)](){var _0x1c43c7=_0x212abf;if(this[_0x1c43c7(0x20f)])throw new Error(_0x1c43c7(0x35a));this[_0x1c43c7(0x20f)]=!0x0;}['_onLocalMutation'](_0x4ba05e){var _0x169695=_0x212abf;this[_0x169695(0x279)](),this[_0x169695(0x249)](this['_state'][_0x169695(0x2f0)](_0x4ba05e)),this[_0x169695(0x2ea)]();}[_0x212abf(0x4d7)](_0x572051){var _0x5d2cb0=_0x212abf;if(!(_0x572051['revision']<=this[_0x5d2cb0(0x432)]['getCurrentRevOfUnit'](this[_0x5d2cb0(0x254)]))){if(this[_0x5d2cb0(0x2b4)]){this[_0x5d2cb0(0x225)]['push'](_0x572051);return;}this[_0x5d2cb0(0x199)](_0x572051);}}[_0x212abf(0x3c9)](){var _0xb3e38b=_0x212abf;this[_0xb3e38b(0x225)][_0xb3e38b(0x20a)](_0x1ab3ed=>this['_applyRemoteChangeset'](_0x1ab3ed)),this[_0xb3e38b(0x225)]=[];}[_0x212abf(0x199)](_0x4f7935){var _0x5e3411=_0x212abf;const _0x39696e=this[_0x5e3411(0x2f1)][_0x5e3411(0x21a)][_0x5e3411(0x179)](this[_0x5e3411(0x2f1)][_0x5e3411(0x21a)][_0x5e3411(0x167)]()[_0x5e3411(0x336)])(_0x4f7935['mutations'],null)||_0x4f7935[_0x5e3411(0x380)],_0x17cb9f={..._0x4f7935,'mutations':_0x39696e};this[_0x5e3411(0x279)](),this[_0x5e3411(0x249)](this[_0x5e3411(0x2ee)][_0x5e3411(0x223)](_0x17cb9f)),this[_0x5e3411(0x2ea)]();}[_0x212abf(0x413)](_0x4c33be){var _0x27ea75=_0x212abf;this[_0x27ea75(0x279)](),this[_0x27ea75(0x249)](this['_state'][_0x27ea75(0x1bb)](_0x4c33be)),this['_unlockTransition']();}['_onRemoteRejected'](_0x7f5a27){var _0x1ae58d=_0x212abf;this[_0x1ae58d(0x279)](),this[_0x1ae58d(0x249)](this[_0x1ae58d(0x2ee)]['onRemoteRej'](_0x7f5a27)),this[_0x1ae58d(0x2ea)]();}['_onRemoteRetry'](_0x37570f){var _0x1ec274=_0x212abf;this['_lockTransition'](),this[_0x1ec274(0x249)](this[_0x1ec274(0x2ee)][_0x1ec274(0x488)](_0x37570f)),this[_0x1ec274(0x2ea)]();}[_0x212abf(0x2d7)](_0x2bb2d3){var _0x15f176=_0x212abf;if(!(this[_0x15f176(0x2ee)]instanceof _0x1c6aa2[_0x15f176(0x435)]))throw new TypeError(_0x15f176(0x1b1));const _0x34c219=_0x2bb2d3[_0x15f176(0x1eb)](_0x338e12=>{var _0x30c576=_0x15f176;const _0x18ec8a=this[_0x30c576(0x2f1)][_0x30c576(0x21a)][_0x30c576(0x179)](this[_0x30c576(0x2f1)][_0x30c576(0x21a)]['getInterceptPoints']()[_0x30c576(0x336)])(_0x338e12[_0x30c576(0x380)],null)||_0x338e12[_0x30c576(0x380)];return{..._0x338e12,'mutations':_0x18ec8a};});this['_lockTransition'](),this[_0x15f176(0x249)](this[_0x15f176(0x2ee)]['onMissedChangesetFetched'](_0x34c219)),this[_0x15f176(0x2ea)]();}[_0x212abf(0x479)](){var _0x178bf8=_0x212abf;this[_0x178bf8(0x279)](),this['_updateState'](this[_0x178bf8(0x2ee)][_0x178bf8(0x217)]()),this[_0x178bf8(0x2ea)]();}['_toggleOnline'](_0x521234=!0x1){var _0x3aed04=_0x212abf;this[_0x3aed04(0x279)](),this[_0x3aed04(0x249)](this[_0x3aed04(0x2ee)][_0x3aed04(0x226)]()),this[_0x3aed04(0x2ea)]();const _0x189f00=this[_0x3aed04(0x2ee)];_0x521234&&_0x189f00 instanceof _0x1c6aa2[_0x3aed04(0x4e6)]&&(this[_0x3aed04(0x279)](),this[_0x3aed04(0x249)](_0x189f00[_0x3aed04(0x2b7)]()),this[_0x3aed04(0x2ea)]());}async['_createInitialState'](){return new Promise(_0x2943be=>{var _0x4c179a=_0x1abf;this[_0x4c179a(0x17d)][_0x4c179a(0x40b)][_0x4c179a(0x1b2)](_0x3b3710['take'](0x1))[_0x4c179a(0x23e)](async _0x16c034=>{var _0x559574=_0x4c179a;_0x2943be(await this[_0x559574(0x281)](_0x16c034===_0x1e024b['ONLINE']));});});}['_createHandler'](){var _0x361085=_0x212abf;const _0x49f39f=this[_0x361085(0x254)];return{'onStateChange':(_0x3f6dec,_0x413205)=>{var _0x2aec86=_0x361085;if(_0x3f6dec!==this[_0x2aec86(0x2ee)])throw new Error(_0x2aec86(0x39a)+_0x3f6dec[_0x2aec86(0x4f1)]+_0x2aec86(0x295)+_0x413205[_0x2aec86(0x4f1)]+_0x2aec86(0x4ca)+this[_0x2aec86(0x2ee)][_0x2aec86(0x4f1)]);this[_0x2aec86(0x249)](_0x413205);},'onSendChangeset':_0x225fed=>{var _0x159419=_0x361085;_0x225fed[_0x159419(0x1d4)]||(_0x225fed['sid']=this[_0x159419(0x288)],_0x225fed[_0x159419(0x43d)]=++this[_0x159419(0x168)]);const _0x5b784f={'eventID':_0x425665[_0x159419(0x3c4)][_0x159419(0x510)],'data':{'unitID':_0x225fed[_0x159419(0x254)],'unitType':this[_0x159419(0x371)],'changeset':_0x225fed,'memberID':this[_0x159419(0x17d)][_0x159419(0x482)]()}};this['session'][_0x159419(0x197)](_0x5b784f,this[_0x159419(0x254)]);},'onMissingChangesets':({from:_0x46f349,to:_0x5501c6})=>{var _0xfb4e87=_0x361085;this['_logService'][_0xfb4e87(0x2c2)](_0xfb4e87(0x232),_0xfb4e87(0x204)+_0x46f349+_0xfb4e87(0x4c0)+_0x5501c6);const _0x7de6b9={'eventID':_0x425665[_0xfb4e87(0x3c4)][_0xfb4e87(0x4ea)],'data':{'unitID':_0x49f39f,'unitType':this[_0xfb4e87(0x371)],'from':_0x46f349,'to':_0x5501c6}};this['session'][_0xfb4e87(0x197)](_0x7de6b9,this[_0xfb4e87(0x254)]);}};}async[_0x212abf(0x281)](_0x141c2c){var _0xc78611=_0x212abf,_0x16da1e,_0x4e467b,_0x4b00cf;const _0x35bba1=await((_0x16da1e=this[_0xc78611(0x1ce)])==null?void 0x0:_0x16da1e[_0xc78611(0x294)](this[_0xc78611(0x254)])),_0x4d4076=(_0x4e467b=_0x35bba1==null?void 0x0:_0x35bba1[_0xc78611(0x380)])!=null?_0x4e467b:[],_0xf15ffc=(_0x4b00cf=_0x35bba1==null?void 0x0:_0x35bba1['awaitingChangeset'])!=null?_0x4b00cf:null,_0x3cf8dc=!!(_0xf15ffc!=null&&_0xf15ffc[_0xc78611(0x1d4)])&&!!(_0xf15ffc!=null&&_0xf15ffc['reqId']);this[_0xc78611(0x288)]=_0x3cf8dc?_0xf15ffc[_0xc78611(0x1d4)]:_0x425665[_0xc78611(0x266)](),this[_0xc78611(0x168)]=_0x3cf8dc?_0xf15ffc[_0xc78611(0x43d)]:0x0;const _0x2adf99=this[_0xc78611(0x254)];try{this[_0xc78611(0x33f)](_0xf15ffc,_0x4d4076);}catch(_0x236f51){this['_logService'][_0xc78611(0x4c9)](_0x236f51);}const _0x3e92a4=this[_0xc78611(0x2a7)]();if(_0x141c2c){const _0x2bce06=_0x4a32e5(this[_0xc78611(0x2e5)],_0x2adf99,this[_0xc78611(0x371)],_0xf15ffc,_0x4d4076,_0x3e92a4);return _0x2bce06 instanceof _0x1c6aa2[_0xc78611(0x16d)]?_0x2bce06[_0xc78611(0x3b7)]():(_0x2bce06 instanceof _0x1c6aa2['AwaitingWithPendingState']||_0x2bce06 instanceof _0x1c6aa2[_0xc78611(0x409)])&&_0x2bce06[_0xc78611(0x3fb)](),_0x2bce06;}return this[_0xc78611(0x2e5)][_0xc78611(0x28e)](_0x1c6aa2[_0xc78611(0x1ad)],_0x2adf99,this[_0xc78611(0x371)],_0xf15ffc,_0x4d4076,_0x3e92a4);}[_0x212abf(0x33f)](_0x25d65a,_0x591586){var _0x14f58e=_0x212abf,_0x217f18,_0x3d3154;const _0x5da16a=this['_compressMutationService'][_0x14f58e(0x21a)][_0x14f58e(0x179)](this['_compressMutationService'][_0x14f58e(0x21a)][_0x14f58e(0x167)]()[_0x14f58e(0x336)]);(_0x217f18=_0x5da16a((_0x25d65a==null?void 0x0:_0x25d65a[_0x14f58e(0x380)])||[],null))==null||_0x217f18[_0x14f58e(0x20a)](_0x5d3963=>this[_0x14f58e(0x300)]['executeCommand'](_0x5d3963['id'],_0x5d3963[_0x14f58e(0x2d0)])),(_0x3d3154=_0x5da16a(_0x591586||[],null))==null||_0x3d3154[_0x14f58e(0x20a)](_0xfd117c=>this[_0x14f58e(0x300)]['executeCommand'](_0xfd117c['id'],_0xfd117c[_0x14f58e(0x2d0)]));}},_0x1c6aa2[_0x212abf(0x20e)]=_0xccaf90([_0x2d4b3a(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['Injector'])),_0x2d4b3a(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x425665[_0x212abf(0x284)])),_0x2d4b3a(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x49d)])),_0x2d4b3a(0x6,_0x2695a7['Inject'](_0x425665[_0x212abf(0x3a9)])),_0x2d4b3a(0x7,_0x2695a7[_0x212abf(0x4c1)](_0xfe53d)),_0x2d4b3a(0x8,_0x2695a7[_0x212abf(0x4ed)]),_0x2d4b3a(0x9,_0x2695a7[_0x212abf(0x1e4)]),_0x2d4b3a(0xa,_0x2695a7['ICommandService']),_0x2d4b3a(0xb,_0x2695a7[_0x212abf(0x222)]),_0x2d4b3a(0xc,_0x2695a7[_0x212abf(0x1d8)](_0x4993a0)),_0x2d4b3a(0xd,_0x2695a7[_0x212abf(0x1d8)](_0x387771))],_0x1c6aa2['CollaborationEntity']),_0x1c6aa2['DocCollaborationEntity']=class extends _0x1c6aa2[_0x212abf(0x20e)]{constructor(_0x1de30b,_0x345068,_0x3ade38,_0x3a3a2b,_0xd8cc8,_0x55f45c,_0x422956,_0x107c6d,_0x5c29a8,_0x2bfd88,_0x2240e8,_0x29eef9,_0xe1cd3a,_0x24e21b){var _0x270db9=_0x212abf;super(_0x1de30b,_0x3ade38,_0x345068,_0x3a3a2b,_0xd8cc8,_0x55f45c,_0x422956,_0x107c6d,_0x5c29a8,_0x2bfd88,_0x2240e8,_0x29eef9,_0xe1cd3a,_0x24e21b),_0x110376(this,_0x270db9(0x26a),null),(this[_0x270db9(0x254)]=_0x1de30b,this['type']=_0x345068);}[_0x212abf(0x2ba)](_0x551958){var _0x353de8=_0x212abf;this[_0x353de8(0x26a)]=_0x551958;}[_0x212abf(0x1aa)](){var _0x34454a=_0x212abf;this[_0x34454a(0x26a)]=null,super[_0x34454a(0x1aa)]();}[_0x212abf(0x2a7)](){var _0x501253=_0x212abf;const _0x2f3a92=super['_createHandler']();return _0x2f3a92[_0x501253(0x35d)]=_0x14a921=>{var _0x30053e=_0x501253,_0x2eb6bf,_0x2d1876;return(_0x2d1876=(_0x2eb6bf=this['_handlerCallback'])==null?void 0x0:_0x2eb6bf[_0x30053e(0x35d)])==null?void 0x0:_0x2d1876[_0x30053e(0x2b1)](_0x2eb6bf,_0x14a921);},_0x2f3a92[_0x501253(0x25b)]=_0xab76db=>{var _0x22544f=_0x501253,_0x899754,_0x5c4dd5;return(_0x5c4dd5=(_0x899754=this['_handlerCallback'])==null?void 0x0:_0x899754['onTransformState'])==null?void 0x0:_0x5c4dd5[_0x22544f(0x2b1)](_0x899754,_0xab76db);},_0x2f3a92[_0x501253(0x502)]=_0x2a30f7=>{var _0x18f729=_0x501253,_0x48174a,_0x282356;return(_0x282356=(_0x48174a=this[_0x18f729(0x26a)])==null?void 0x0:_0x48174a[_0x18f729(0x502)])==null?void 0x0:_0x282356['call'](_0x48174a,_0x2a30f7);},_0x2f3a92[_0x501253(0x30f)]=_0x30652c=>{var _0x5b31bf=_0x501253,_0x5d6078,_0x1d52f1;return(_0x1d52f1=(_0x5d6078=this['_handlerCallback'])==null?void 0x0:_0x5d6078['onSyncEditingCollabCursor'])==null?void 0x0:_0x1d52f1[_0x5b31bf(0x2b1)](_0x5d6078,_0x30652c);},_0x2f3a92['onTransformRemoteChangesetByIMECache']=_0x5a232f=>{var _0xacc275=_0x501253,_0x457562,_0x15b5e7,_0x2bc9b9;if(!((_0x457562=this[_0xacc275(0x26a)])!=null&&_0x457562[_0xacc275(0x22d)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2bc9b9=(_0x15b5e7=this[_0xacc275(0x26a)])==null?void 0x0:_0x15b5e7[_0xacc275(0x22d)])==null?void 0x0:_0x2bc9b9['call'](_0x15b5e7,_0x5a232f);},_0x2f3a92['onTransformRemoteChangesetByStateCache']=_0x41b314=>{var _0x317274=_0x501253,_0x16d31b,_0xeab87f,_0x274b9f;if(!((_0x16d31b=this[_0x317274(0x26a)])!=null&&_0x16d31b['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x274b9f=(_0xeab87f=this[_0x317274(0x26a)])==null?void 0x0:_0xeab87f[_0x317274(0x3cb)])==null?void 0x0:_0x274b9f['call'](_0xeab87f,_0x41b314);},_0x2f3a92;}async[_0x212abf(0x506)](){var _0x11d765=_0x212abf;const _0x98951e=await super['_init']();return this[_0x11d765(0x2fe)](this['_commandService'][_0x11d765(0x1fb)]((_0x2cd47e,_0x102a4d)=>{var _0x58e7ab=_0x11d765;if(_0x2cd47e[_0x58e7ab(0x306)]!==_0x2695a7[_0x58e7ab(0x237)][_0x58e7ab(0x3fc)]||_0x102a4d!=null&&_0x102a4d[_0x58e7ab(0x2c0)]||_0x102a4d!=null&&_0x102a4d[_0x58e7ab(0x32d)]||_0x2cd47e['id']===_0xd9299c['RichTextEditingMutation']['id'])return;const _0x9df6ae=_0x2cd47e['params'];if((_0x9df6ae==null?void 0x0:_0x9df6ae['unitId'])!==this[_0x58e7ab(0x254)])return;const _0x1c99e1=_0x2cd47e,_0x4340f2=this[_0x58e7ab(0x2f1)][_0x58e7ab(0x21a)]['fetchThroughInterceptors'](this[_0x58e7ab(0x2f1)]['interceptor'][_0x58e7ab(0x167)]()[_0x58e7ab(0x1e8)])([_0x1c99e1],this['_univerInstanceService'])||[_0x1c99e1];this[_0x58e7ab(0x44d)](_0x4340f2[0x0]);})),_0x98951e;}},_0x1c6aa2[_0x212abf(0x375)]=_0xccaf90([_0x2d4b3a(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['Injector'])),_0x2d4b3a(0x4,_0x2695a7[_0x212abf(0x4c1)](_0x425665['CompressMutationService'])),_0x2d4b3a(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x49d)])),_0x2d4b3a(0x6,_0x2695a7[_0x212abf(0x4c1)](_0x425665['RevisionService'])),_0x2d4b3a(0x7,_0x2695a7[_0x212abf(0x4c1)](_0xfe53d)),_0x2d4b3a(0x8,_0x2695a7[_0x212abf(0x4ed)]),_0x2d4b3a(0x9,_0x2695a7['ILogService']),_0x2d4b3a(0xa,_0x2695a7[_0x212abf(0x2f2)]),_0x2d4b3a(0xb,_0x2695a7[_0x212abf(0x222)]),_0x2d4b3a(0xc,_0x2695a7[_0x212abf(0x1d8)](_0x4993a0)),_0x2d4b3a(0xd,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2['DocCollaborationEntity']),_0x1c6aa2[_0x212abf(0x29c)]=class extends _0x1c6aa2[_0x212abf(0x20e)]{constructor(_0x98c9e5,_0x220cf5,_0xbe1ce8,_0x59391e,_0x4a36fc,_0x29c11f,_0x50f52c,_0x532b02,_0x308fdd,_0x32662b,_0x2b72a6,_0x2cb2d8,_0x26eb0b,_0x49bcf3,_0x44cdaf){var _0x2b1f00=_0x212abf;super(_0x98c9e5,_0xbe1ce8,_0x220cf5,_0x59391e,_0x4a36fc,_0x29c11f,_0x50f52c,_0x308fdd,_0x32662b,_0x2b72a6,_0x2cb2d8,_0x26eb0b,_0x49bcf3,_0x44cdaf),this[_0x2b1f00(0x254)]=_0x98c9e5,this['type']=_0x220cf5,this[_0x2b1f00(0x34a)]=_0x532b02;}['_createHandler'](){var _0x1ea509=_0x212abf;const _0x465e01=super[_0x1ea509(0x2a7)]();return _0x465e01[_0x1ea509(0x502)]=_0x2848b5=>this['_sheetTransformSelectionsService'][_0x1ea509(0x1f0)](_0x2848b5),_0x465e01;}async['_init'](){var _0x231bee=_0x212abf;const _0x131cf6=await super[_0x231bee(0x506)]();return this[_0x231bee(0x2fe)](this[_0x231bee(0x300)][_0x231bee(0x1fb)]((_0x1613f3,_0x257cd9)=>{var _0x17246c=_0x231bee;if(_0x1613f3[_0x17246c(0x306)]!==_0x2695a7[_0x17246c(0x237)][_0x17246c(0x3fc)]||_0x257cd9!=null&&_0x257cd9[_0x17246c(0x2c0)]||_0x257cd9!=null&&_0x257cd9[_0x17246c(0x32d)])return;const _0x5b506d=_0x1613f3['params'];if((_0x5b506d==null?void 0x0:_0x5b506d[_0x17246c(0x4fa)])!==this['unitID'])return;const _0x51a57a=_0x1613f3,_0x75dfdc=this[_0x17246c(0x2f1)]['interceptor'][_0x17246c(0x179)](this[_0x17246c(0x2f1)][_0x17246c(0x21a)][_0x17246c(0x167)]()['COMPRESS_MUTATION_SEND'])([_0x51a57a],this['_univerInstanceService'])||[_0x51a57a];this['_onLocalMutation'](_0x75dfdc[0x0]);})),_0x131cf6;}},_0x1c6aa2[_0x212abf(0x29c)]=_0xccaf90([_0x2d4b3a(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x2d4b3a(0x4,_0x2695a7['Inject'](_0x425665[_0x212abf(0x284)])),_0x2d4b3a(0x5,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x49d)])),_0x2d4b3a(0x6,_0x2695a7['Inject'](_0x425665[_0x212abf(0x3a9)])),_0x2d4b3a(0x7,_0x2695a7[_0x212abf(0x4c1)](_0x1c6aa2[_0x212abf(0x48b)])),_0x2d4b3a(0x8,_0x2695a7[_0x212abf(0x4c1)](_0xfe53d)),_0x2d4b3a(0x9,_0x2695a7['IUniverInstanceService']),_0x2d4b3a(0xa,_0x2695a7[_0x212abf(0x1e4)]),_0x2d4b3a(0xb,_0x2695a7[_0x212abf(0x2f2)]),_0x2d4b3a(0xc,_0x2695a7[_0x212abf(0x222)]),_0x2d4b3a(0xd,_0x2695a7[_0x212abf(0x1d8)](_0x4993a0)),_0x2d4b3a(0xe,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2[_0x212abf(0x29c)]);const _0x47a09f=_0x2695a7[_0x212abf(0x2a1)](_0x212abf(0x324));function _0x43d51c(_0x5301b9){var _0x313857=_0x212abf,_0x51bcea,_0x1f8ba6,_0x225241,_0x2daaca,_0x88af6;const _0xcf2e17=_0x5301b9['data'],_0x53fe7c=JSON['parse'](_0xcf2e17);switch(_0x53fe7c['cmd']){case _0x326b3c[_0x313857(0x43a)]:case _0x326b3c[_0x313857(0x4c6)]:{const _0x70f938=_0x53fe7c[_0x313857(0x3f2)];return{..._0x53fe7c,'data':_0x70f938,'cmd':_0x53fe7c[_0x313857(0x42e)]};}case _0x326b3c[_0x313857(0x4e3)]:{const _0x506ee4=_0x53fe7c[_0x313857(0x17f)];return{..._0x53fe7c,'data':_0x506ee4,'cmd':_0x53fe7c['cmd']};}case _0x326b3c[_0x313857(0x476)]:{const _0x34f40d=_0x53fe7c['collaMsg'];switch(_0x34f40d['eventID']){case _0x425665['CollaborationEvent'][_0x313857(0x213)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x51bcea=_0x34f40d[_0x313857(0x377)])==null?void 0x0:_0x51bcea['cs']},'cmd':_0x53fe7c['cmd']};case _0x425665[_0x313857(0x3c4)][_0x313857(0x3e2)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x1f8ba6=_0x34f40d[_0x313857(0x20d)])==null?void 0x0:_0x1f8ba6['cs']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x335)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x225241=_0x34f40d[_0x313857(0x378)])==null?void 0x0:_0x225241['cs']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x45e)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x2daaca=_0x34f40d[_0x313857(0x183)])==null?void 0x0:_0x2daaca['cs']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665['CollaborationEvent'][_0x313857(0x315)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':(_0x88af6=_0x34f40d[_0x313857(0x4de)])==null?void 0x0:_0x88af6['cs']},'cmd':_0x53fe7c['cmd']};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2d1)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x2e6)]},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665['CollaborationEvent'][_0x313857(0x499)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x3e0)]},'cmd':_0x53fe7c['cmd']};case _0x425665[_0x313857(0x3c4)]['USERS_LEAVE']:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d['leaveEvent']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2d9)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x27c)]},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2a3)]:case _0x425665['CollaborationEvent'][_0x313857(0x4c5)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d['liveShareOperation']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x388)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x27c)]},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)]['MSG_FOR_ERROR']:return{..._0x53fe7c,'data':_0x34f40d,'cmd':_0x53fe7c['cmd']};case _0x425665['CollaborationEvent'][_0x313857(0x3b0)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d['commentUpdateEvent']},'cmd':_0x53fe7c['cmd']};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2b9)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x184)]},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x2ae)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d['shouldCloseConn']},'cmd':_0x53fe7c[_0x313857(0x42e)]};case _0x425665[_0x313857(0x3c4)][_0x313857(0x318)]:return{..._0x53fe7c,'data':{..._0x34f40d,'data':_0x34f40d[_0x313857(0x4f2)]},'cmd':_0x53fe7c['cmd']};default:return _0x53fe7c;}}default:return _0x53fe7c;}}function _0x3d2f94(_0x1ae175){var _0x567fe5=_0x212abf;switch(_0x1ae175[_0x567fe5(0x42e)]){case _0x326b3c[_0x567fe5(0x43a)]:case _0x326b3c[_0x567fe5(0x4c6)]:return JSON[_0x567fe5(0x178)]({'cmd':_0x1ae175['cmd'],'routeKey':_0x1ae175[_0x567fe5(0x1a1)]});case _0x326b3c['INGEST']:{let _0x3999de;switch(_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x16a)]){case _0x425665[_0x567fe5(0x3c4)]['UPDATE_CURSOR']:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x2d1)],'updateCursorEvent':_0x1ae175['data'][_0x567fe5(0x28c)]};break;}case _0x425665['CollaborationEvent'][_0x567fe5(0x211)]:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x211)],'leaveEvent':_0x1ae175['data'][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)]['USERS_ENTER']:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x499)],'joinEvent':_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x2d9)]:{_0x3999de={'eventID':_0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x2d9)],'liveShareNewHost':_0x1ae175[_0x567fe5(0x28c)]['data']};break;}case _0x425665[_0x567fe5(0x3c4)]['LIVESHARE_OPERATION']:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x4c5)],'liveShareOperation':_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x388)]:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x388)],'liveShareTerminate':_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x2b2)]:{_0x3999de={'eventID':_0x425665['CollaborationEvent'][_0x567fe5(0x2b2)],'liveShareRequestHost':_0x1ae175[_0x567fe5(0x28c)][_0x567fe5(0x28c)]};break;}case _0x425665[_0x567fe5(0x3c4)][_0x567fe5(0x2a3)]:{_0x3999de={'eventID':_0x425665[_0x567fe5(0x3c4)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3999de={'eventID':_0x1ae175[_0x567fe5(0x28c)]['eventID']};}return JSON[_0x567fe5(0x178)]({'cmd':_0x1ae175['cmd'],'routeKey':_0x1ae175[_0x567fe5(0x1a1)],'collaMsg':_0x3999de});}case _0x326b3c['JOIN']:return JSON['stringify']({'cmd':_0x1ae175[_0x567fe5(0x42e)],'routeKey':_0x1ae175[_0x567fe5(0x1a1)],'joinReq':_0x1ae175[_0x567fe5(0x28c)]});case _0x326b3c['LEAVE']:return JSON[_0x567fe5(0x178)]({'cmd':_0x1ae175[_0x567fe5(0x42e)],'routeKey':_0x1ae175[_0x567fe5(0x1a1)],'leaveReq':_0x1ae175[_0x567fe5(0x28c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x3cbc9f=Object[_0x212abf(0x1f8)],_0x20f65e=(_0x355dac,_0x2c1556,_0x3115c1,_0x282b49)=>{var _0x22e1c5=_0x212abf;for(var _0x2efd1e=_0x282b49>0x1?void 0x0:_0x282b49?_0x3cbc9f(_0x2c1556,_0x3115c1):_0x2c1556,_0x324898=_0x355dac[_0x22e1c5(0x2e2)]-0x1,_0x2ecab3;_0x324898>=0x0;_0x324898--)(_0x2ecab3=_0x355dac[_0x324898])&&(_0x2efd1e=_0x2ecab3(_0x2efd1e)||_0x2efd1e);return _0x2efd1e;},_0x55a3b5=(_0x31e182,_0x4dbfa5)=>(_0xf1a948,_0x300706)=>_0x4dbfa5(_0xf1a948,_0x300706,_0x31e182);const _0x43f90c=_0x2695a7[_0x212abf(0x2a1)](_0x212abf(0x22b));function _0x5d60c5(_0x243a88,_0x4f6710,_0x40539c){var _0x43c921=_0x212abf;return _0x243a88+'/'+_0x4f6710+_0x43c921(0x304)+_0x40539c+_0x43c921(0x1da);}_0x1c6aa2[_0x212abf(0x4a3)]=class extends _0x2695a7[_0x212abf(0x322)]{constructor(_0x148866,_0x3c0d26,_0xe4d57a,_0x2e2463,_0x74c9f2){var _0x591442=_0x212abf;super(),this[_0x591442(0x2e5)]=_0x148866,this['_httpService']=_0x3c0d26,this[_0x591442(0x172)]=_0xe4d57a,this[_0x591442(0x24b)]=_0x2e2463,this['_snapshotServerService']=_0x74c9f2;}[_0x212abf(0x259)](_0xe32ce6){var _0x5a020d=_0x212abf;const _0xdac97b=this[_0x5a020d(0x2e5)][_0x5a020d(0x2e4)](_0x3e19df[_0x5a020d(0x18d)]);if(!_0xdac97b)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1cf72d=_0xdac97b[_0x5a020d(0x1b5)](_0xe32ce6);if(!_0x1cf72d)throw new Error(_0x5a020d(0x1a4));const _0x9b61b=new _0x2695a7[(_0x5a020d(0x207))](),_0x17f5fc=new _0x3b3710[(_0x5a020d(0x1bc))]();_0x9b61b[_0x5a020d(0x3ae)](_0x1cf72d['close$'][_0x5a020d(0x23e)](_0x4d4a18=>_0x17f5fc[_0x5a020d(0x185)](_0x4d4a18))),_0x9b61b['add'](_0x2695a7[_0x5a020d(0x276)](()=>_0x17f5fc[_0x5a020d(0x3a1)]()));const _0x3e8a8f=new _0x3b3710[(_0x5a020d(0x1bc))]();_0x9b61b[_0x5a020d(0x3ae)](_0x1cf72d['error$'][_0x5a020d(0x23e)](_0xcda2d5=>_0x3e8a8f[_0x5a020d(0x185)](_0xcda2d5))),_0x9b61b[_0x5a020d(0x3ae)](_0x2695a7['toDisposable'](()=>_0x3e8a8f[_0x5a020d(0x3a1)]()));const _0x26de92=new _0x3b3710[(_0x5a020d(0x1bc))]();_0x9b61b[_0x5a020d(0x3ae)](_0x1cf72d[_0x5a020d(0x2df)][_0x5a020d(0x23e)](_0x2c0daf=>{var _0x573166=_0x5a020d;const _0x56e977=_0x43d51c(_0x2c0daf);_0x26de92[_0x573166(0x185)](_0x56e977);})),_0x9b61b[_0x5a020d(0x3ae)](_0x2695a7[_0x5a020d(0x276)](()=>_0x26de92['complete']()));let _0x55da93;const _0x1dc253=()=>{var _0x5076d6=_0x5a020d;_0x3e8a8f[_0x5076d6(0x185)](new Event(_0x5076d6(0x473))),_0x17f5fc['next'](new Event(_0x5076d6(0x473))),_0x55da93[_0x5076d6(0x191)]();};return _0x55da93={'memberID':'','close$':_0x17f5fc[_0x5a020d(0x3a2)](),'error$':_0x3e8a8f[_0x5a020d(0x3a2)](),'open$':_0x1cf72d[_0x5a020d(0x309)],'message$':_0x26de92[_0x5a020d(0x3a2)](),'send':_0xde3f16=>{var _0x42f45a=_0x5a020d;if(_0xde3f16[_0x42f45a(0x42e)]===_0x326b3c[_0x42f45a(0x343)]){if(_0xde3f16['data'][_0x42f45a(0x16a)]===_0x425665[_0x42f45a(0x3c4)][_0x42f45a(0x510)]){this[_0x42f45a(0x274)](_0x55da93,_0xde3f16[_0x42f45a(0x28c)])[_0x42f45a(0x341)](_0x54bbb1=>{var _0x19a7cc=_0x42f45a;this[_0x19a7cc(0x24b)]['error'](_0x54bbb1),_0x1dc253();});return;}if(_0xde3f16[_0x42f45a(0x28c)][_0x42f45a(0x16a)]===_0x425665[_0x42f45a(0x3c4)][_0x42f45a(0x4ea)]){const _0x3ab152=_0xde3f16[_0x42f45a(0x28c)];this['_fetchMissChangesets'](_0x3ab152)[_0x42f45a(0x394)](_0x2260c2=>{var _0x56c81a=_0x42f45a;_0x26de92[_0x56c81a(0x185)]({'cmd':_0x326b3c[_0x56c81a(0x476)],'code':_0x1433f4['OK'],'routeKey':_0x3ab152[_0x56c81a(0x28c)][_0x56c81a(0x254)],'routeType':'','data':{'eventID':_0x425665[_0x56c81a(0x3c4)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2260c2}}});})[_0x42f45a(0x341)](_0xe7b464=>{var _0x599a62=_0x42f45a;this['_logService'][_0x599a62(0x4c9)](_0xe7b464),_0x1dc253();});return;}}_0x1cf72d['send'](_0x3d2f94(_0xde3f16));},'close':()=>{var _0xf65c82=_0x5a020d;_0x1cf72d['close'](),_0x9b61b[_0xf65c82(0x1aa)]();}},_0x55da93;}async[_0x212abf(0x274)](_0x26215d,_0x1a7908){var _0x49d198=_0x212abf,_0x10d3cf;const {unitType:_0x3f9fe0,unitID:_0x31e158,changeset:_0x2af07d}=_0x1a7908[_0x49d198(0x28c)],_0x4342e5={'unitID':_0x31e158,'memberID':_0x26215d['memberID'],'type':_0x3f9fe0,'changeset':_0x425665[_0x49d198(0x22e)](_0x2af07d)},_0x550785=this[_0x49d198(0x172)][_0x49d198(0x3ea)](_0x391e6e),_0x392cb2=_0x5d60c5((_0x10d3cf=_0x550785==null?void 0x0:_0x550785[_0x49d198(0x297)])!=null?_0x10d3cf:_0x5bfefb,_0x3f9fe0,_0x31e158);try{await this[_0x49d198(0x338)][_0x49d198(0x43b)](_0x392cb2,{'body':_0x4342e5});}catch(_0x489efd){throw this[_0x49d198(0x24b)][_0x49d198(0x4c9)](_0x49d198(0x1dd),_0x49d198(0x49f)),_0x489efd;}}async[_0x212abf(0x23c)](_0x2c156c){var _0x34eaa1=_0x212abf;const {unitID:_0x59040f,from:_0x438c8d,to:_0x14e4e4,unitType:_0x2eef05}=_0x2c156c[_0x34eaa1(0x28c)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x59040f,'type':_0x2eef05,'from':_0x438c8d,'to':_0x14e4e4}))[_0x34eaa1(0x38b)]['map'](_0x375ddd=>((_0x375ddd['mutations']===null||_0x375ddd[_0x34eaa1(0x380)]===void 0x0)&&(_0x375ddd[_0x34eaa1(0x380)]=[]),_0x375ddd));}},_0x1c6aa2[_0x212abf(0x4a3)]=_0x20f65e([_0x55a3b5(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x55a3b5(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df[_0x212abf(0x355)])),_0x55a3b5(0x2,_0x2695a7[_0x212abf(0x333)]),_0x55a3b5(0x3,_0x2695a7[_0x212abf(0x1e4)]),_0x55a3b5(0x4,_0x425665['ISnapshotServerService'])],_0x1c6aa2['CollaborationSocketService']);var _0x9191ad=Object[_0x212abf(0x1f8)],_0x60ea58=(_0x5a76ca,_0x4480a1,_0x474634,_0x16401c)=>{var _0x2e00c7=_0x212abf;for(var _0x430385=_0x16401c>0x1?void 0x0:_0x16401c?_0x9191ad(_0x4480a1,_0x474634):_0x4480a1,_0x115196=_0x5a76ca[_0x2e00c7(0x2e2)]-0x1,_0x5280ea;_0x115196>=0x0;_0x115196--)(_0x5280ea=_0x5a76ca[_0x115196])&&(_0x430385=_0x5280ea(_0x430385)||_0x430385);return _0x430385;},_0x40b979=(_0x2c5577,_0xe9f56d)=>(_0x491a6f,_0x5bd749)=>_0xe9f56d(_0x491a6f,_0x5bd749,_0x2c5577);_0x1c6aa2[_0x212abf(0x319)]=class extends _0x2695a7[_0x212abf(0x322)]{constructor(_0x481442,_0x479efa,_0x177ea0,_0x135d73,_0x5781c6,_0x58c7fe){var _0x141eda=_0x212abf;super(),_0x110376(this,_0x141eda(0x4b5),new _0x3b3710[(_0x141eda(0x2ed))](void 0x0)),_0x110376(this,'socket$',this[_0x141eda(0x4b5)][_0x141eda(0x3a2)]()),_0x110376(this,_0x141eda(0x280),null),_0x110376(this,_0x141eda(0x310),new Map()),_0x110376(this,_0x141eda(0x2d6),new _0x3b3710[(_0x141eda(0x2ed))](_0x1e024b[_0x141eda(0x364)])),_0x110376(this,_0x141eda(0x4bb),this[_0x141eda(0x2d6)][_0x141eda(0x3a2)]()),_0x110376(this,'_socketReady',!0x1),_0x110376(this,'_retryConnectingTimer'),_0x110376(this,_0x141eda(0x3bf),0x0),_0x110376(this,_0x141eda(0x2f4)),_0x110376(this,_0x141eda(0x38e)),(this[_0x141eda(0x2e5)]=_0x481442,this['_logService']=_0x479efa,this[_0x141eda(0x172)]=_0x177ea0,this['_socketService']=_0x135d73,this[_0x141eda(0x32f)]=_0x5781c6,this[_0x141eda(0x275)]=_0x58c7fe,this[_0x141eda(0x26f)]());}get['_socket'](){var _0x21495a=_0x212abf;return this[_0x21495a(0x4b5)][_0x21495a(0x2e3)]();}[_0x212abf(0x26f)](){var _0x4aa9de=_0x212abf;this[_0x4aa9de(0x275)]&&this[_0x4aa9de(0x2fe)](this[_0x4aa9de(0x275)][_0x4aa9de(0x1ef)][_0x4aa9de(0x23e)](_0x2304ff=>{var _0x4ac867=_0x4aa9de;_0x2304ff&&!this[_0x4ac867(0x206)]&&this[_0x4ac867(0x458)](),_0x2304ff||this[_0x4ac867(0x257)]();}));}[_0x212abf(0x1aa)](){var _0x2b6671=_0x212abf;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x2b6671(0x3ce)](),this[_0x2b6671(0x4e4)](),this[_0x2b6671(0x310)][_0x2b6671(0x20a)](_0x55b79b=>_0x55b79b[_0x2b6671(0x1aa)]()),this['_sessions']['clear'](),this[_0x2b6671(0x2d6)][_0x2b6671(0x3a1)]();}async[_0x212abf(0x1c3)](_0x386d04){var _0x2e0e63=_0x212abf;if(this['_sessions'][_0x2e0e63(0x406)](_0x386d04))return this[_0x2e0e63(0x310)]['get'](_0x386d04);this['_tryEnsureSocket']();const _0x473287=this[_0x2e0e63(0x2e5)][_0x2e0e63(0x28e)](_0x1c6aa2[_0x2e0e63(0x3bd)],_0x386d04,this['_socket$'][_0x2e0e63(0x3a2)]());return this['_sessions'][_0x2e0e63(0x214)](_0x386d04,_0x473287),_0x473287;}['closeSession'](_0x486153){var _0x4c935b=_0x212abf,_0xa05bf4;const _0x4066a9=this[_0x4c935b(0x310)][_0x4c935b(0x2e4)](_0x486153);_0x4066a9&&(this[_0x4c935b(0x310)][_0x4c935b(0x360)](_0x486153),_0x4066a9[_0x4c935b(0x191)]()),this[_0x4c935b(0x310)]['size']||(_0xa05bf4=this[_0x4c935b(0x206)])==null||_0xa05bf4[_0x4c935b(0x191)]();}[_0x212abf(0x458)](){var _0x4b16cf=_0x212abf;this[_0x4b16cf(0x3bf)]=0x0,this[_0x4b16cf(0x16c)](),this[_0x4b16cf(0x21e)]();}[_0x212abf(0x16c)](){var _0x1fee90=_0x212abf;this[_0x1fee90(0x469)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1fee90(0x469)]=null);}async['_createSocket'](){var _0xee27f8=_0x212abf,_0x13dc1f;const _0x243ee7=this['_configService'][_0xee27f8(0x3ea)](_0x391e6e),_0x301e47=(_0x13dc1f=_0x243ee7==null?void 0x0:_0x243ee7[_0xee27f8(0x24d)])!=null?_0x13dc1f:_0x4154c7,_0x12f99a=await this[_0xee27f8(0x177)][_0xee27f8(0x1b5)](_0x301e47);return this[_0xee27f8(0x280)]=_0x12f99a,_0x12f99a;}async['_tryEnsureSocket'](){var _0x5f4eb1=_0x212abf,_0x20d030,_0xb43a3e;try{const _0x3a71dc=(_0xb43a3e=(_0x20d030=this[_0x5f4eb1(0x206)])!=null?_0x20d030:this['_candidateSocket'])!=null?_0xb43a3e:await this[_0x5f4eb1(0x22a)]();if(_0x3a71dc){const _0x461e2c=_0x3a71dc['send'];_0x3a71dc['send']=_0x4a8129=>(this[_0x5f4eb1(0x494)](),_0x461e2c[_0x5f4eb1(0x29e)](_0x3a71dc,[_0x4a8129])),_0x3a71dc['message$']['subscribe'](_0x502277=>this[_0x5f4eb1(0x3d0)](_0x3a71dc,_0x502277)),_0x3a71dc[_0x5f4eb1(0x25c)][_0x5f4eb1(0x1b2)](_0xc987a3[_0x5f4eb1(0x208)](0x1))[_0x5f4eb1(0x23e)](_0x51d294=>this['_logService'][_0x5f4eb1(0x4c9)]('[CollaborationSessionService]:\x20socket\x20error',_0x51d294)),_0x3a71dc['open$'][_0x5f4eb1(0x1b2)](_0xc987a3[_0x5f4eb1(0x208)](0x1))[_0x5f4eb1(0x23e)](()=>{var _0x116853=_0x5f4eb1;this[_0x116853(0x287)](_0x3a71dc);}),_0x3a71dc['close$'][_0x5f4eb1(0x1b2)](_0xc987a3[_0x5f4eb1(0x208)](0x1))[_0x5f4eb1(0x23e)](_0x216ffa=>{var _0x367177=_0x5f4eb1;this[_0x367177(0x24b)][_0x367177(0x2c2)]('[CollaborationSessionService]',_0x367177(0x1d0),_0x216ffa),this[_0x367177(0x368)]();});}}catch(_0x2bb16b){this[_0x5f4eb1(0x24b)][_0x5f4eb1(0x4c9)](_0x2bb16b),this['_onConnectionFailed']();}}[_0x212abf(0x287)](_0x1bce1e){var _0x2472da=_0x212abf;this[_0x2472da(0x24b)]['debug'](_0x2472da(0x3ca),'socket\x20open.'),_0x1bce1e[_0x2472da(0x197)]({'cmd':_0x326b3c['HELLO']}),this[_0x2472da(0x494)]();}[_0x212abf(0x257)](){var _0x2de689=_0x212abf;this[_0x2de689(0x1cf)]=!0x1,this['_candidateSocket']=null,this[_0x2de689(0x2d6)][_0x2de689(0x185)](_0x1e024b[_0x2de689(0x2aa)]),this[_0x2de689(0x4b5)]['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x212abf(0x368)](){var _0x228107=_0x212abf,_0x4dca09;this[_0x228107(0x257)](),this['_retryCount']<((_0x4dca09=this[_0x228107(0x172)]['getConfig'](_0xd794b))!=null?_0x4dca09:0x3)?(this[_0x228107(0x32f)][_0x228107(0x3ab)]({'id':_0x5ab775[_0x228107(0x36a)]}),this[_0x228107(0x21e)]()):this[_0x228107(0x32f)][_0x228107(0x3ab)]({'id':_0x5ab775['SOCKET_FAILED']});}[_0x212abf(0x21e)](){var _0x1b4fd5=_0x212abf,_0x57d392;const _0x59cd12=this[_0x1b4fd5(0x3bf)],_0x341ca5=this[_0x1b4fd5(0x172)][_0x1b4fd5(0x3ea)](_0x391e6e),_0x3a3dd6=_0x59cd12===0x0?0x0:((_0x57d392=_0x341ca5==null?void 0x0:_0x341ca5['retryConnectingInterval'])!=null?_0x57d392:0x4e20)*0x2**_0x59cd12;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3c122a=_0x1b4fd5;clearTimeout(this[_0x3c122a(0x469)]),this[_0x3c122a(0x469)]=null,this['_tryEnsureSocket']();},_0x3a3dd6),this['_retryCount']+=0x1;}['_onMessage'](_0x56a03b,_0xb851f9){var _0x3b8a46=_0x212abf;const {cmd:_0x43c848}=_0xb851f9;_0x43c848===_0x326b3c['HELLO']&&!this[_0x3b8a46(0x1cf)]&&(_0x56a03b[_0x3b8a46(0x4b3)]=_0xb851f9[_0x3b8a46(0x28c)]['memberID'],this[_0x3b8a46(0x4b5)][_0x3b8a46(0x185)](_0x56a03b),this['_status$'][_0x3b8a46(0x185)](_0x1e024b['ONLINE']),this[_0x3b8a46(0x1cf)]=!0x0,this['_candidateSocket']=null),_0x43c848===_0x326b3c[_0x3b8a46(0x43a)]&&this['_clearTimeoutTimer'](),this[_0x3b8a46(0x494)]();}[_0x212abf(0x494)](){var _0x5b1b17=_0x212abf,_0x4e9961;this[_0x5b1b17(0x4e4)](),this[_0x5b1b17(0x2f4)]=setTimeout(()=>this[_0x5b1b17(0x251)](),(_0x4e9961=this[_0x5b1b17(0x172)][_0x5b1b17(0x3ea)](_0x3e40c1))!=null?_0x4e9961:0x7530);}[_0x212abf(0x251)](){var _0x408b5b=_0x212abf;this['_socket'][_0x408b5b(0x197)]({'cmd':_0x326b3c[_0x408b5b(0x43a)]}),this[_0x408b5b(0x17c)]();}[_0x212abf(0x17c)](){var _0x15d3b3=_0x212abf,_0x4e559b;this[_0x15d3b3(0x38e)]=setTimeout(()=>this[_0x15d3b3(0x368)](),(_0x4e559b=this[_0x15d3b3(0x172)][_0x15d3b3(0x3ea)](_0xf20a7c))!=null?_0x4e559b:0x4e20);}[_0x212abf(0x4e4)](){var _0x5b5c01=_0x212abf;this[_0x5b5c01(0x2f4)]!=null&&(clearTimeout(this[_0x5b5c01(0x2f4)]),this[_0x5b5c01(0x2f4)]=null);}[_0x212abf(0x3ce)](){var _0x246992=_0x212abf;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x246992(0x38e)]),this[_0x246992(0x38e)]=null);}},_0x1c6aa2[_0x212abf(0x319)]=_0x60ea58([_0x40b979(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x40b979(0x1,_0x2695a7['ILogService']),_0x40b979(0x2,_0x2695a7['IConfigService']),_0x40b979(0x3,_0x43f90c),_0x40b979(0x4,_0x2695a7['Inject'](_0xfe53d)),_0x40b979(0x5,_0x2695a7['Optional'](_0x47a09f))],_0x1c6aa2['CollaborationSessionService']);var _0x51ed1a=Object[_0x212abf(0x1f8)],_0x196776=(_0x5533ab,_0x17824a,_0x1cd65e,_0x911e33)=>{var _0x33134=_0x212abf;for(var _0x126723=_0x911e33>0x1?void 0x0:_0x911e33?_0x51ed1a(_0x17824a,_0x1cd65e):_0x17824a,_0x1a0cf6=_0x5533ab[_0x33134(0x2e2)]-0x1,_0xd4b58e;_0x1a0cf6>=0x0;_0x1a0cf6--)(_0xd4b58e=_0x5533ab[_0x1a0cf6])&&(_0x126723=_0xd4b58e(_0x126723)||_0x126723);return _0x126723;},_0xe8bdf3=(_0x5b9577,_0x1682a1)=>(_0x5e67ba,_0xb3aeda)=>_0x1682a1(_0x5e67ba,_0xb3aeda,_0x5b9577);_0x1c6aa2['CollaborationController']=class extends _0x2695a7[_0x212abf(0x1be)]{constructor(_0x19b77f,_0x395816,_0x754ba4,_0x33fc2f){var _0x31a5fe=_0x212abf,_0x11d733;super(),_0x110376(this,_0x31a5fe(0x26e),new Map()),_0x110376(this,'_entityInit$',new _0x3b3710[(_0x31a5fe(0x1bc))]()),_0x110376(this,'entityInit$',this[_0x31a5fe(0x373)][_0x31a5fe(0x3a2)]()),(this['_injector']=_0x19b77f,this[_0x31a5fe(0x401)]=_0x395816,this[_0x31a5fe(0x172)]=_0x754ba4,this[_0x31a5fe(0x490)]=_0x33fc2f,((_0x11d733=this[_0x31a5fe(0x172)][_0x31a5fe(0x3ea)](_0x391e6e))==null?void 0x0:_0x11d733['enableCollaboration'])!==!0x1&&this[_0x31a5fe(0x506)]());}[_0x212abf(0x1aa)](){var _0x1348f1=_0x212abf;super[_0x1348f1(0x1aa)](),this[_0x1348f1(0x26e)]['forEach'](_0x53f692=>_0x53f692['dispose']()),this[_0x1348f1(0x26e)]['clear']();}['getCollabEntity'](_0x314f65){var _0xb8677d=_0x212abf,_0x36691e;return(_0x36691e=this[_0xb8677d(0x26e)][_0xb8677d(0x2e4)](_0x314f65))!=null?_0x36691e:null;}[_0x212abf(0x452)](_0x28deeb){var _0xe3187a=_0x212abf;const _0x39bccd=this[_0xe3187a(0x38a)](_0x28deeb);return _0x39bccd?_0x3b3710['of'](_0x39bccd):this['_entityInit$'][_0xe3187a(0x1b2)](_0xc987a3[_0xe3187a(0x305)](_0x2e291c=>_0x2e291c[_0xe3187a(0x254)]===_0x28deeb));}['readyForCollab'](_0xa4bb6){var _0x1a1aed=_0x212abf;return _0x3b3710[_0x1a1aed(0x474)](this[_0x1a1aed(0x452)](_0xa4bb6)['pipe'](_0xc987a3['map'](()=>{})));}['_init'](){var _0x256cf8=_0x212abf;this['_univerInstanceService'][_0x256cf8(0x2c1)](_0x2695a7[_0x256cf8(0x187)][_0x256cf8(0x2e8)])['pipe'](_0x3b3710[_0x256cf8(0x4cd)](this['dispose$']),_0xc987a3[_0x256cf8(0x3c8)](0x10))[_0x256cf8(0x23e)](async _0x11b445=>{var _0x2f9e94=_0x256cf8;const _0x3019e3=_0x11b445['getUnitId'](),_0x1efd00=await this[_0x2f9e94(0x234)](_0x3019e3,_0x10d356[_0x2f9e94(0x2e8)]);this[_0x2f9e94(0x26e)][_0x2f9e94(0x214)](_0x3019e3,_0x1efd00);}),this['_univerInstanceService'][_0x256cf8(0x2c1)](_0x2695a7[_0x256cf8(0x187)]['UNIVER_DOC'])[_0x256cf8(0x1b2)](_0x3b3710[_0x256cf8(0x4cd)](this[_0x256cf8(0x4fd)]),_0xc987a3[_0x256cf8(0x3c8)](0x10))[_0x256cf8(0x1b2)](_0xc987a3[_0x256cf8(0x305)](_0xc594b7=>!_0xc594b7[_0x256cf8(0x33b)]()[_0x256cf8(0x444)]('__')))['subscribe'](async _0x1a4498=>{var _0x1aa322=_0x256cf8;const _0x5ae74e=_0x1a4498[_0x1aa322(0x33b)](),_0x2baa28=await this['_startCollaboration'](_0x5ae74e,_0x10d356[_0x1aa322(0x286)]);this[_0x1aa322(0x26e)][_0x1aa322(0x214)](_0x5ae74e,_0x2baa28);}),_0x3b3710[_0x256cf8(0x3b6)](this[_0x256cf8(0x490)][_0x256cf8(0x195)](_0x2695a7[_0x256cf8(0x187)][_0x256cf8(0x2e8)]),this[_0x256cf8(0x490)][_0x256cf8(0x195)](_0x2695a7['UniverInstanceType'][_0x256cf8(0x286)]))[_0x256cf8(0x1b2)](_0x3b3710[_0x256cf8(0x4cd)](this[_0x256cf8(0x4fd)]))['subscribe'](_0x212b6c=>{var _0x35deb8=_0x256cf8;const _0x2d6856=_0x212b6c[_0x35deb8(0x33b)](),_0x382776=this[_0x35deb8(0x26e)][_0x35deb8(0x2e4)](_0x2d6856);_0x382776&&(_0x382776[_0x35deb8(0x1aa)](),this[_0x35deb8(0x26e)][_0x35deb8(0x360)](_0x2d6856));});}async[_0x212abf(0x234)](_0x2114bd,_0x2a5b66){var _0x410fd9=_0x212abf;const _0x40fd30=await this[_0x410fd9(0x401)]['requireSession'](_0x2114bd),_0x3805d5=this[_0x410fd9(0x2e5)]['createInstance'](this['_getCtorByUniverType'](_0x2a5b66),_0x2114bd,_0x2a5b66,_0x40fd30);return await _0x3805d5[_0x410fd9(0x363)](),this['_entityInit$'][_0x410fd9(0x185)](_0x3805d5),_0x3805d5;}[_0x212abf(0x39b)](_0x4d0fed){var _0xb1ccb7=_0x212abf;switch(_0x4d0fed){case _0x10d356[_0xb1ccb7(0x286)]:return _0x1c6aa2[_0xb1ccb7(0x375)];case _0x10d356[_0xb1ccb7(0x2e8)]:return _0x1c6aa2[_0xb1ccb7(0x29c)];default:throw new Error(_0xb1ccb7(0x186)+_0x4d0fed);}}},_0x1c6aa2[_0x212abf(0x46b)]=_0x196776([_0xe8bdf3(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0xe8bdf3(0x1,_0x2695a7['Inject'](_0x1c6aa2[_0x212abf(0x319)])),_0xe8bdf3(0x2,_0x2695a7[_0x212abf(0x333)]),_0xe8bdf3(0x3,_0x2695a7[_0x212abf(0x4ed)])],_0x1c6aa2['CollaborationController']);var _0x484393=Object[_0x212abf(0x1f8)],_0x1c3ede=(_0x53187a,_0x223dde,_0x1e10cf,_0x12e520)=>{var _0x330779=_0x212abf;for(var _0x83250d=_0x12e520>0x1?void 0x0:_0x12e520?_0x484393(_0x223dde,_0x1e10cf):_0x223dde,_0x34d989=_0x53187a[_0x330779(0x2e2)]-0x1,_0x5e20b1;_0x34d989>=0x0;_0x34d989--)(_0x5e20b1=_0x53187a[_0x34d989])&&(_0x83250d=_0x5e20b1(_0x83250d)||_0x83250d);return _0x83250d;},_0x2e751e=(_0x507d74,_0x1d480f)=>(_0x573e46,_0x2d0a4b)=>_0x1d480f(_0x573e46,_0x2d0a4b,_0x507d74);const _0x6860ba=_0x212abf(0x4ee),_0xf7fe6c=_0x212abf(0x4a7);let _0xe74a3e=class extends _0x2695a7['Disposable']{constructor(_0x30abfc,_0x10149b){var _0x309988=_0x212abf;super(),this[_0x309988(0x490)]=_0x30abfc,this[_0x309988(0x172)]=_0x10149b,this['_init']();}['_init'](){var _0x1a0bb7=_0x212abf;this[_0x1a0bb7(0x2fe)](this[_0x1a0bb7(0x490)]['focused$'][_0x1a0bb7(0x23e)](()=>{var _0x462d74=_0x1a0bb7,_0x2ef7b1;const _0x7e88a6=this[_0x462d74(0x490)]['getFocusedUnit']();let _0x5ec493=(_0x2ef7b1=this['_configService']['getConfig'](_0x6860ba))!=null?_0x2ef7b1:_0xf7fe6c;_0x7e88a6 instanceof _0x2695a7['Workbook']&&(_0x5ec493=_0x7e88a6[_0x462d74(0x264)]),document[_0x462d74(0x2f7)]=_0x5ec493;}));}};_0xe74a3e=_0x1c3ede([_0x2e751e(0x0,_0x2695a7[_0x212abf(0x4ed)]),_0x2e751e(0x1,_0x2695a7[_0x212abf(0x333)])],_0xe74a3e);var _0x9e7954=Object[_0x212abf(0x1f8)],_0x2492d9=(_0x3d9546,_0x17e462,_0x595360,_0x2ebded)=>{var _0xe6029=_0x212abf;for(var _0x882001=_0x2ebded>0x1?void 0x0:_0x2ebded?_0x9e7954(_0x17e462,_0x595360):_0x17e462,_0x23a80f=_0x3d9546[_0xe6029(0x2e2)]-0x1,_0x14625c;_0x23a80f>=0x0;_0x23a80f--)(_0x14625c=_0x3d9546[_0x23a80f])&&(_0x882001=_0x14625c(_0x882001)||_0x882001);return _0x882001;},_0x3208b4=(_0x3a3afa,_0x6cf7cf)=>(_0x35261c,_0x4a0ea7)=>_0x6cf7cf(_0x35261c,_0x4a0ea7,_0x3a3afa);let _0x566f6a=class{constructor(_0x59b5ee,_0x5da145,_0x439755){var _0x4f2f8f=_0x212abf;this['_configService']=_0x59b5ee,this[_0x4f2f8f(0x338)]=_0x5da145,this['localeService']=_0x439755,this[_0x4f2f8f(0x363)]();}[_0x212abf(0x363)](){var _0x5d718a=_0x212abf;this[_0x5d718a(0x338)][_0x5d718a(0x33a)]({'priority':0x1,'interceptor':(_0x9c7bf5,_0x4df2ff)=>_0x4df2ff(_0x9c7bf5)[_0x5d718a(0x1b2)](_0x3b3710[_0x5d718a(0x22c)](async _0x4af7ad=>{var _0x420d64=_0x5d718a;const _0x2dfdb8=_0x4af7ad;if(_0x2dfdb8[_0x420d64(0x4f1)]===0x191){if(typeof window>'u')throw new Error(_0x420d64(0x4df));if(window['confirm'](this[_0x420d64(0x2f6)]['t'](_0x420d64(0x4ae)))){const _0x27d9c8=window[_0x420d64(0x2de)](window[_0x420d64(0x4d5)][_0x420d64(0x3cf)]);window[_0x420d64(0x4d5)][_0x420d64(0x3cf)]=this['_getLoginPath']()+_0x420d64(0x29b)+_0x27d9c8;}}return _0x2dfdb8;}))});}[_0x212abf(0x277)](){var _0x38b29c=_0x212abf,_0x4d52d4;const _0xa8e425=this['_configService']['getConfig'](_0x391e6e);return(_0x4d52d4=_0xa8e425==null?void 0x0:_0xa8e425[_0x38b29c(0x255)])!=null?_0x4d52d4:_0xb6b83;}};_0x566f6a=_0x2492d9([_0x3208b4(0x0,_0x2695a7[_0x212abf(0x333)]),_0x3208b4(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df[_0x212abf(0x355)])),_0x3208b4(0x2,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['LocaleService']))],_0x566f6a);var _0x3ce19a=Object['getOwnPropertyDescriptor'],_0xdb9b45=(_0x364342,_0xd3ea01,_0x194d8a,_0x4ee9a6)=>{for(var _0x4f7fa5=_0x4ee9a6>0x1?void 0x0:_0x4ee9a6?_0x3ce19a(_0xd3ea01,_0x194d8a):_0xd3ea01,_0x56d336=_0x364342['length']-0x1,_0x220cc3;_0x56d336>=0x0;_0x56d336--)(_0x220cc3=_0x364342[_0x56d336])&&(_0x4f7fa5=_0x220cc3(_0x4f7fa5)||_0x4f7fa5);return _0x4f7fa5;},_0xc1e040=(_0x39e2cf,_0x21ab9a)=>(_0x403146,_0x514410)=>_0x21ab9a(_0x403146,_0x514410,_0x39e2cf);const _0x2afe83=_0x212abf(0x40d);_0x1c6aa2[_0x212abf(0x307)]=class extends _0x2695a7[_0x212abf(0x322)]{constructor(_0x311a73,_0x411047){var _0x2001a7=_0x212abf;super(),this[_0x2001a7(0x290)]=_0x311a73,this['_configService']=_0x411047,this[_0x2001a7(0x27e)]();}[_0x212abf(0x27e)](){var _0x2eee24=_0x212abf;const _0x17b4a7=this;this['disposeWithMe'](this['_HTTPService'][_0x2eee24(0x33a)]({'priority':0x3e7,'interceptor':_0x3e19df[_0x2eee24(0x34b)]({'isMatch'(_0x58d049){var _0x11376e=_0x2eee24,_0x5f5a60;if(_0x58d049[_0x11376e(0x430)]===_0x11376e(0x2b8)&&((_0x5f5a60=_0x58d049[_0x11376e(0x25a)])!=null&&_0x5f5a60[_0x11376e(0x420)])){const {objectID:_0x317e5f,objectType:_0x5c3fff}=_0x58d049[_0x11376e(0x25a)][_0x11376e(0x420)]||{};if(!_0x317e5f||_0x5c3fff===void 0x0)return!0x1;const _0x58f35=_0x17b4a7['_getAPIPrefixPath']()+'/'+_0x5c3fff+_0x11376e(0x1c4)+_0x317e5f+_0x11376e(0x445);if(_0x58d049[_0x11376e(0x50a)]===_0x58f35)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x57169f){var _0x8aefe3=_0x2eee24,_0x259312;return(_0x259312=_0x57169f[_0x8aefe3(0x25a)])==null?void 0x0:_0x259312['body'];},'mergeParamsToRequest'(_0x403968,_0x1e6775){var _0x57a581=_0x2eee24;const _0x56214d=_0x17b4a7[_0x57a581(0x485)]()+_0x57a581(0x433),_0x2201a8=_0x403968[_0x57a581(0x332)]((_0x205ceb,_0x445cb7)=>{var _0xe746ab=_0x57a581;const {unitID:_0x2f9a74,objectID:_0x24eb7c,objectType:_0x144d3c,actions:_0x162547}=_0x445cb7;return _0x205ceb[_0x2f9a74]||(_0x205ceb[_0x2f9a74]={}),_0x205ceb[_0x2f9a74][_0x24eb7c]||(_0x205ceb[_0x2f9a74][_0x24eb7c]={'objectID':_0x24eb7c,'objectType':_0x144d3c,'actions':[]}),_0x205ceb[_0x2f9a74][_0x24eb7c]['actions'][_0xe746ab(0x4d2)](..._0x162547),_0x205ceb;},{}),_0x170038=[];for(const _0x249ccd in _0x2201a8)for(const _0x2700a1 in _0x2201a8[_0x249ccd]){const {actions:_0x33c6ef,objectType:_0x34daf8}=_0x2201a8[_0x249ccd][_0x2700a1],_0xa630fd=[...new Set(_0x33c6ef)];_0x170038[_0x57a581(0x4d2)]({'unitID':_0x249ccd,'objectID':_0x2700a1,'objectType':_0x34daf8,'actions':_0xa630fd});}return new _0x3e19df[(_0x57a581(0x501))](_0x57a581(0x2b8),_0x56214d,{'headers':_0x1e6775[_0x57a581(0x4d8)],'withCredentials':_0x1e6775['withCredentials'],'responseType':_0x1e6775['responseType'],'body':{'requests':_0x170038}});}},{'distributeResult'(_0xb2a2ca,_0x45edea){var _0x1179e6=_0x2eee24;const {objectActions:_0x16e6a1}=_0xb2a2ca;return _0x45edea[_0x1179e6(0x1eb)](_0x106e57=>{var _0x1c24d3=_0x1179e6;const {unitID:_0x1e8a4,objectID:_0x443ffe,actions:_0xd89638}=_0x106e57,_0x319d36=_0x16e6a1[_0x1c24d3(0x34c)](_0x3a956e=>_0x3a956e['unitID']===_0x1e8a4&&_0x3a956e['objectID']===_0x443ffe),_0x1a2474=_0xd89638[_0x1c24d3(0x1eb)](_0x3a15f3=>_0x319d36==null?void 0x0:_0x319d36[_0x1c24d3(0x2ef)]['find'](_0xdd5125=>_0xdd5125[_0x1c24d3(0x4d1)]===_0x3a15f3))['filter'](_0x48e9c7=>!!_0x48e9c7);return{'config':_0x106e57,'result':{'actions':_0x1a2474,'error':_0xb2a2ca[_0x1c24d3(0x4c9)]}};});}})}));}[_0x212abf(0x485)](){var _0x400245=_0x212abf,_0x287eab;const _0x27f335=this[_0x400245(0x172)]['getConfig'](_0x391e6e);return(_0x287eab=_0x27f335==null?void 0x0:_0x27f335[_0x400245(0x3a4)])!=null?_0x287eab:_0x2afe83;}async[_0x212abf(0x457)](_0xec35ba){var _0x34c5c7=_0x212abf;const _0x4427d5=this[_0x34c5c7(0x485)]()+'/'+_0xec35ba[_0x34c5c7(0x4fc)]+'/object';return(await this[_0x34c5c7(0x290)][_0x34c5c7(0x43b)](_0x4427d5,{'body':_0xec35ba}))[_0x34c5c7(0x420)][_0x34c5c7(0x2b6)]||'';}async['list'](_0x52b1d4){var _0x5ebecc=_0x212abf;const _0x41b823=this[_0x5ebecc(0x485)]()+_0x5ebecc(0x4d0);return(await this['_HTTPService']['post'](_0x41b823,{'body':_0x52b1d4}))['body'][_0x5ebecc(0x2a9)];}async[_0x212abf(0x27b)](_0x57212d){var _0x29dd23=_0x212abf,_0x4253c7,_0x194f12;const _0x2c7f67=this['_getAPIPrefixPath']()+'/'+_0x57212d[_0x29dd23(0x4fc)]+_0x29dd23(0x1c4)+_0x57212d[_0x29dd23(0x2b6)],_0x252f40=await this[_0x29dd23(0x290)][_0x29dd23(0x369)](_0x2c7f67,{'body':_0x57212d});if(((_0x194f12=(_0x4253c7=_0x252f40==null?void 0x0:_0x252f40[_0x29dd23(0x420)])==null?void 0x0:_0x4253c7[_0x29dd23(0x4c9)])==null?void 0x0:_0x194f12[_0x29dd23(0x4bc)])!==0x1)throw new Error(_0x29dd23(0x36b));}async[_0x212abf(0x26c)](_0x22e810){var _0x58186d=_0x212abf;const _0x44f342=this[_0x58186d(0x485)]()+'/'+_0x22e810[_0x58186d(0x4fc)]+_0x58186d(0x1c4)+_0x22e810['objectID']+_0x58186d(0x445);return(await this[_0x58186d(0x290)][_0x58186d(0x43b)](_0x44f342,{'body':_0x22e810}))[_0x58186d(0x420)][_0x58186d(0x2ef)];}async[_0x212abf(0x2bc)](_0x461f6b){var _0x38968d=_0x212abf;const _0x17623b=this[_0x38968d(0x485)]()+'/-/object/-/batch_allowed';return(await this[_0x38968d(0x290)][_0x38968d(0x43b)](_0x17623b,{'body':{'requests':_0x461f6b}}))[_0x38968d(0x420)]['objectActions'];}async[_0x212abf(0x3db)](_0xd23737){var _0x4ad98e=_0x212abf;const _0x344c29=this['_getAPIPrefixPath']()+'/'+_0xd23737[_0x4ad98e(0x4fc)]+_0x4ad98e(0x1ea),_0x37b22a=await this['_HTTPService'][_0x4ad98e(0x43b)](_0x344c29,{'body':_0xd23737});return{'roles':_0x37b22a['body'][_0x4ad98e(0x270)],'actions':_0x37b22a['body'][_0x4ad98e(0x2ef)]};}async['deleteCollaborator'](_0x278c81){var _0x25e8c5=_0x212abf;const _0x4609b3=this[_0x25e8c5(0x485)]()+_0x25e8c5(0x2cc);await this[_0x25e8c5(0x290)][_0x25e8c5(0x360)](_0x4609b3,{'params':{'collaboratorID':_0x278c81[_0x25e8c5(0x19d)],'objectID':_0x278c81['objectID'],'unitID':_0x278c81[_0x25e8c5(0x254)]}});}async[_0x212abf(0x470)](_0x299b53){var _0x5e61ca=_0x212abf;const _0x10d5b0=this[_0x5e61ca(0x485)]()+_0x5e61ca(0x2cc);await this[_0x5e61ca(0x290)][_0x5e61ca(0x438)](_0x10d5b0,{'body':_0x299b53});}async[_0x212abf(0x3dd)](_0x36d668){var _0x5bd681=_0x212abf;const _0x9ec0ce=this[_0x5bd681(0x485)]()+'/collaborator';await this[_0x5bd681(0x290)][_0x5bd681(0x43b)](_0x9ec0ce,{'body':_0x36d668});}async[_0x212abf(0x3aa)](_0x41cd42){var _0x206495=_0x212abf;const _0x40f271=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x206495(0x2e4)](_0x40f271,{'params':{'objectID':_0x41cd42[_0x206495(0x2b6)],'unitID':_0x41cd42['unitID']}}))[_0x206495(0x420)][_0x206495(0x18c)];}async[_0x212abf(0x3d9)](_0x2c5396){var _0xeb9d3f=_0x212abf;const _0x210943=this['_getAPIPrefixPath']()+_0xeb9d3f(0x2cc);await this[_0xeb9d3f(0x290)][_0xeb9d3f(0x369)](_0x210943,{'body':_0x2c5396});}},_0x1c6aa2['AuthzIoHttpService']=_0xdb9b45([_0xc1e040(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df['HTTPService'])),_0xc1e040(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['IConfigService']))],_0x1c6aa2['AuthzIoHttpService']);var _0x339b0f=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x38b545(_0x28218e){var _0x300f37=_0x212abf;return _0x28218e&&_0x28218e[_0x300f37(0x454)]&&Object[_0x300f37(0x1ec)][_0x300f37(0x241)][_0x300f37(0x2b1)](_0x28218e,_0x300f37(0x4f5))?_0x28218e['default']:_0x28218e;}var _0x28f2b7={'exports':{}};function _0x160e68(_0x5dc6ab){var _0x434896=_0x212abf;throw new Error(_0x434896(0x50c)+_0x5dc6ab+_0x434896(0x41f));}var _0x186fbf={'exports':{}},_0x1ab288=_0x186fbf[_0x212abf(0x3a6)],_0x5b9e31;function _0x13d30e(){var _0x44b38c=_0x212abf;return _0x5b9e31||(_0x5b9e31=0x1,function(_0xc58b20,_0x4be9fe){(function(_0x19d3d6,_0x92fcca){var _0x1557d0=_0x1abf;_0xc58b20[_0x1557d0(0x3a6)]=_0x92fcca();}(_0x1ab288,function(){var _0x264eb8=_0x264eb8||function(_0x297c57,_0x472127){var _0x2bf616=_0x1abf,_0xb32c81;if(typeof window<'u'&&window[_0x2bf616(0x3c0)]&&(_0xb32c81=window['crypto']),typeof self<'u'&&self[_0x2bf616(0x3c0)]&&(_0xb32c81=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2bf616(0x3c0)]&&(_0xb32c81=globalThis[_0x2bf616(0x3c0)]),!_0xb32c81&&typeof window<'u'&&window['msCrypto']&&(_0xb32c81=window[_0x2bf616(0x483)]),!_0xb32c81&&typeof _0x339b0f<'u'&&_0x339b0f[_0x2bf616(0x3c0)]&&(_0xb32c81=_0x339b0f['crypto']),!_0xb32c81&&typeof _0x160e68==_0x2bf616(0x1fc))try{_0xb32c81=require('crypto');}catch{}var _0x436ca3=function(){var _0x1fe94c=_0x2bf616;if(_0xb32c81){if(typeof _0xb32c81[_0x1fe94c(0x37d)]==_0x1fe94c(0x1fc))try{return _0xb32c81['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb32c81[_0x1fe94c(0x3c7)]==_0x1fe94c(0x1fc))try{return _0xb32c81[_0x1fe94c(0x3c7)](0x4)[_0x1fe94c(0x3c2)]();}catch{}}throw new Error(_0x1fe94c(0x4e7));},_0xfa0e7=Object['create']||(function(){function _0x4e2730(){}return function(_0x3dca0c){var _0x50cf3f=_0x1abf,_0x5ec05a;return _0x4e2730[_0x50cf3f(0x1ec)]=_0x3dca0c,_0x5ec05a=new _0x4e2730(),_0x4e2730['prototype']=null,_0x5ec05a;};}()),_0xb8fcb4={},_0x54a5c9=_0xb8fcb4[_0x2bf616(0x449)]={},_0x2e13e0=_0x54a5c9[_0x2bf616(0x348)]=(function(){return{'extend':function(_0x4126f0){var _0x2cb633=_0x1abf,_0xa6eabb=_0xfa0e7(this);return _0x4126f0&&_0xa6eabb[_0x2cb633(0x43e)](_0x4126f0),(!_0xa6eabb[_0x2cb633(0x241)]('init')||this[_0x2cb633(0x363)]===_0xa6eabb[_0x2cb633(0x363)])&&(_0xa6eabb[_0x2cb633(0x363)]=function(){var _0x550255=_0x2cb633;_0xa6eabb[_0x550255(0x303)][_0x550255(0x363)][_0x550255(0x29e)](this,arguments);}),_0xa6eabb[_0x2cb633(0x363)][_0x2cb633(0x1ec)]=_0xa6eabb,_0xa6eabb[_0x2cb633(0x303)]=this,_0xa6eabb;},'create':function(){var _0x68f84b=_0x1abf,_0x308e83=this[_0x68f84b(0x29d)]();return _0x308e83[_0x68f84b(0x363)][_0x68f84b(0x29e)](_0x308e83,arguments),_0x308e83;},'init':function(){},'mixIn':function(_0x582f3f){var _0x5687f8=_0x1abf;for(var _0x37f422 in _0x582f3f)_0x582f3f[_0x5687f8(0x241)](_0x37f422)&&(this[_0x37f422]=_0x582f3f[_0x37f422]);_0x582f3f['hasOwnProperty'](_0x5687f8(0x381))&&(this[_0x5687f8(0x381)]=_0x582f3f[_0x5687f8(0x381)]);},'clone':function(){var _0x45a436=_0x1abf;return this['init'][_0x45a436(0x1ec)][_0x45a436(0x29d)](this);}};}()),_0x118dfb=_0x54a5c9['WordArray']=_0x2e13e0['extend']({'init':function(_0x14ac68,_0x3679f2){var _0x153ab5=_0x2bf616;_0x14ac68=this[_0x153ab5(0x256)]=_0x14ac68||[],_0x3679f2!=_0x472127?this[_0x153ab5(0x3d8)]=_0x3679f2:this[_0x153ab5(0x3d8)]=_0x14ac68[_0x153ab5(0x2e2)]*0x4;},'toString':function(_0x2553d7){return(_0x2553d7||_0x59a191)['stringify'](this);},'concat':function(_0x4f211c){var _0x59c50b=_0x2bf616,_0x214750=this['words'],_0x19f847=_0x4f211c[_0x59c50b(0x256)],_0x7c311d=this['sigBytes'],_0x4a0138=_0x4f211c[_0x59c50b(0x3d8)];if(this[_0x59c50b(0x4fe)](),_0x7c311d%0x4)for(var _0x4a6c82=0x0;_0x4a6c82<_0x4a0138;_0x4a6c82++){var _0x24b2c7=_0x19f847[_0x4a6c82>>>0x2]>>>0x18-_0x4a6c82%0x4*0x8&0xff;_0x214750[_0x7c311d+_0x4a6c82>>>0x2]|=_0x24b2c7<<0x18-(_0x7c311d+_0x4a6c82)%0x4*0x8;}else{for(var _0x2b7d5d=0x0;_0x2b7d5d<_0x4a0138;_0x2b7d5d+=0x4)_0x214750[_0x7c311d+_0x2b7d5d>>>0x2]=_0x19f847[_0x2b7d5d>>>0x2];}return this[_0x59c50b(0x3d8)]+=_0x4a0138,this;},'clamp':function(){var _0x1d992a=_0x2bf616,_0x3280ac=this[_0x1d992a(0x256)],_0x5273b7=this[_0x1d992a(0x3d8)];_0x3280ac[_0x5273b7>>>0x2]&=0xffffffff<<0x20-_0x5273b7%0x4*0x8,_0x3280ac['length']=_0x297c57['ceil'](_0x5273b7/0x4);},'clone':function(){var _0x3a0c9c=_0x2bf616,_0x3785f4=_0x2e13e0[_0x3a0c9c(0x1a0)][_0x3a0c9c(0x2b1)](this);return _0x3785f4['words']=this['words'][_0x3a0c9c(0x313)](0x0),_0x3785f4;},'random':function(_0xdb3a22){var _0x2ea05c=_0x2bf616;for(var _0x36d26d=[],_0x3d3cbc=0x0;_0x3d3cbc<_0xdb3a22;_0x3d3cbc+=0x4)_0x36d26d[_0x2ea05c(0x4d2)](_0x436ca3());return new _0x118dfb[(_0x2ea05c(0x363))](_0x36d26d,_0xdb3a22);}}),_0x2625a0=_0xb8fcb4['enc']={},_0x59a191=_0x2625a0['Hex']={'stringify':function(_0x104dc7){var _0x8e1aed=_0x2bf616;for(var _0x1c949b=_0x104dc7[_0x8e1aed(0x256)],_0xc4ffb8=_0x104dc7[_0x8e1aed(0x3d8)],_0x469b88=[],_0x2989ff=0x0;_0x2989ff<_0xc4ffb8;_0x2989ff++){var _0xf7458a=_0x1c949b[_0x2989ff>>>0x2]>>>0x18-_0x2989ff%0x4*0x8&0xff;_0x469b88[_0x8e1aed(0x4d2)]((_0xf7458a>>>0x4)[_0x8e1aed(0x381)](0x10)),_0x469b88[_0x8e1aed(0x4d2)]((_0xf7458a&0xf)[_0x8e1aed(0x381)](0x10));}return _0x469b88[_0x8e1aed(0x330)]('');},'parse':function(_0x1e7939){var _0x1cd7c7=_0x2bf616;for(var _0x1802cb=_0x1e7939[_0x1cd7c7(0x2e2)],_0x435060=[],_0x564292=0x0;_0x564292<_0x1802cb;_0x564292+=0x2)_0x435060[_0x564292>>>0x3]|=parseInt(_0x1e7939[_0x1cd7c7(0x327)](_0x564292,0x2),0x10)<<0x18-_0x564292%0x8*0x4;return new _0x118dfb[(_0x1cd7c7(0x363))](_0x435060,_0x1802cb/0x2);}},_0x1d3b34=_0x2625a0['Latin1']={'stringify':function(_0xba5d9f){var _0xfc6621=_0x2bf616;for(var _0x3f5126=_0xba5d9f[_0xfc6621(0x256)],_0x32117a=_0xba5d9f[_0xfc6621(0x3d8)],_0x236143=[],_0x39acb8=0x0;_0x39acb8<_0x32117a;_0x39acb8++){var _0x51a6e9=_0x3f5126[_0x39acb8>>>0x2]>>>0x18-_0x39acb8%0x4*0x8&0xff;_0x236143[_0xfc6621(0x4d2)](String[_0xfc6621(0x45d)](_0x51a6e9));}return _0x236143[_0xfc6621(0x330)]('');},'parse':function(_0x4d6db2){var _0x3c274b=_0x2bf616;for(var _0x11971a=_0x4d6db2[_0x3c274b(0x2e2)],_0x2e7e2a=[],_0x2c6759=0x0;_0x2c6759<_0x11971a;_0x2c6759++)_0x2e7e2a[_0x2c6759>>>0x2]|=(_0x4d6db2[_0x3c274b(0x240)](_0x2c6759)&0xff)<<0x18-_0x2c6759%0x4*0x8;return new _0x118dfb['init'](_0x2e7e2a,_0x11971a);}},_0x590ab1=_0x2625a0['Utf8']={'stringify':function(_0x799aac){var _0x311e48=_0x2bf616;try{return decodeURIComponent(escape(_0x1d3b34['stringify'](_0x799aac)));}catch{throw new Error(_0x311e48(0x1de));}},'parse':function(_0x323173){return _0x1d3b34['parse'](unescape(encodeURIComponent(_0x323173)));}},_0x2018ec=_0x54a5c9[_0x2bf616(0x2cb)]=_0x2e13e0[_0x2bf616(0x29d)]({'reset':function(){var _0x3c13da=_0x2bf616;this[_0x3c13da(0x32b)]=new _0x118dfb['init'](),this[_0x3c13da(0x3e8)]=0x0;},'_append':function(_0x283d8e){var _0xe8eb5a=_0x2bf616;typeof _0x283d8e=='string'&&(_0x283d8e=_0x590ab1[_0xe8eb5a(0x1bd)](_0x283d8e)),this['_data'][_0xe8eb5a(0x45c)](_0x283d8e),this[_0xe8eb5a(0x3e8)]+=_0x283d8e[_0xe8eb5a(0x3d8)];},'_process':function(_0xacc9cc){var _0x48b8d6=_0x2bf616,_0x7b7649,_0x484a91=this[_0x48b8d6(0x32b)],_0x5929e0=_0x484a91[_0x48b8d6(0x256)],_0x49cf07=_0x484a91[_0x48b8d6(0x3d8)],_0x517371=this[_0x48b8d6(0x353)],_0xe835cb=_0x517371*0x4,_0x3dd239=_0x49cf07/_0xe835cb;_0xacc9cc?_0x3dd239=_0x297c57[_0x48b8d6(0x32e)](_0x3dd239):_0x3dd239=_0x297c57['max']((_0x3dd239|0x0)-this['_minBufferSize'],0x0);var _0x5ef7ab=_0x3dd239*_0x517371,_0x450f1b=_0x297c57[_0x48b8d6(0x4cc)](_0x5ef7ab*0x4,_0x49cf07);if(_0x5ef7ab){for(var _0x5aee4b=0x0;_0x5aee4b<_0x5ef7ab;_0x5aee4b+=_0x517371)this[_0x48b8d6(0x258)](_0x5929e0,_0x5aee4b);_0x7b7649=_0x5929e0[_0x48b8d6(0x2ad)](0x0,_0x5ef7ab),_0x484a91[_0x48b8d6(0x3d8)]-=_0x450f1b;}return new _0x118dfb[(_0x48b8d6(0x363))](_0x7b7649,_0x450f1b);},'clone':function(){var _0x963413=_0x2bf616,_0x5ec51f=_0x2e13e0[_0x963413(0x1a0)][_0x963413(0x2b1)](this);return _0x5ec51f[_0x963413(0x32b)]=this[_0x963413(0x32b)][_0x963413(0x1a0)](),_0x5ec51f;},'_minBufferSize':0x0});_0x54a5c9[_0x2bf616(0x382)]=_0x2018ec[_0x2bf616(0x29d)]({'cfg':_0x2e13e0[_0x2bf616(0x29d)](),'init':function(_0x8e3521){var _0x506894=_0x2bf616;this[_0x506894(0x229)]=this[_0x506894(0x229)][_0x506894(0x29d)](_0x8e3521),this['reset']();},'reset':function(){var _0x43caf1=_0x2bf616;_0x2018ec[_0x43caf1(0x443)]['call'](this),this[_0x43caf1(0x1b0)]();},'update':function(_0x2ba121){var _0x154ea3=_0x2bf616;return this[_0x154ea3(0x1f6)](_0x2ba121),this[_0x154ea3(0x412)](),this;},'finalize':function(_0x54c0cd){var _0x4bd479=_0x2bf616;_0x54c0cd&&this[_0x4bd479(0x1f6)](_0x54c0cd);var _0x13a3c2=this[_0x4bd479(0x480)]();return _0x13a3c2;},'blockSize':0x10,'_createHelper':function(_0x14ea71){return function(_0x17461f,_0x1cebb0){var _0x227136=_0x1abf;return new _0x14ea71[(_0x227136(0x363))](_0x1cebb0)[_0x227136(0x221)](_0x17461f);};},'_createHmacHelper':function(_0x23c860){return function(_0x1cc749,_0x12f6bd){var _0x47bb90=_0x1abf;return new _0x30cc8a[(_0x47bb90(0x1d3))][(_0x47bb90(0x363))](_0x23c860,_0x12f6bd)[_0x47bb90(0x221)](_0x1cc749);};}});var _0x30cc8a=_0xb8fcb4[_0x2bf616(0x495)]={};return _0xb8fcb4;}(Math);return _0x264eb8;}));}(_0x186fbf)),_0x186fbf[_0x44b38c(0x3a6)];}var _0x58387c={'exports':{}},_0xd860cf=_0x58387c[_0x212abf(0x3a6)],_0x40fef1;function _0x3b52ae(){var _0x1b2ebd=_0x212abf;return _0x40fef1||(_0x40fef1=0x1,function(_0xd7459f,_0x3a4bdb){(function(_0x31e7f3,_0x54d52e){_0xd7459f['exports']=_0x54d52e(_0x13d30e());}(_0xd860cf,function(_0x4a6d91){var _0x257dd0=_0x1abf;return(function(){var _0x38eb25=_0x1abf,_0x52c0a3=_0x4a6d91,_0x3a47c3=_0x52c0a3[_0x38eb25(0x449)],_0x1b4b49=_0x3a47c3[_0x38eb25(0x2e1)],_0x2dce18=_0x52c0a3['enc'];_0x2dce18['Base64']={'stringify':function(_0x44965f){var _0x1ead46=_0x38eb25,_0x2454f9=_0x44965f['words'],_0x9bc22d=_0x44965f[_0x1ead46(0x3d8)],_0x8f3ab5=this[_0x1ead46(0x441)];_0x44965f['clamp']();for(var _0x21a316=[],_0x126929=0x0;_0x126929<_0x9bc22d;_0x126929+=0x3)for(var _0x4f0736=_0x2454f9[_0x126929>>>0x2]>>>0x18-_0x126929%0x4*0x8&0xff,_0x1a9b17=_0x2454f9[_0x126929+0x1>>>0x2]>>>0x18-(_0x126929+0x1)%0x4*0x8&0xff,_0x1e05d7=_0x2454f9[_0x126929+0x2>>>0x2]>>>0x18-(_0x126929+0x2)%0x4*0x8&0xff,_0x44d26f=_0x4f0736<<0x10|_0x1a9b17<<0x8|_0x1e05d7,_0x55773b=0x0;_0x55773b<0x4&&_0x126929+_0x55773b*0.75<_0x9bc22d;_0x55773b++)_0x21a316[_0x1ead46(0x4d2)](_0x8f3ab5[_0x1ead46(0x24a)](_0x44d26f>>>0x6*(0x3-_0x55773b)&0x3f));var _0x2ebe9e=_0x8f3ab5[_0x1ead46(0x24a)](0x40);if(_0x2ebe9e){for(;_0x21a316[_0x1ead46(0x2e2)]%0x4;)_0x21a316[_0x1ead46(0x4d2)](_0x2ebe9e);}return _0x21a316[_0x1ead46(0x330)]('');},'parse':function(_0x27b1f0){var _0x2abcfd=_0x38eb25,_0x252987=_0x27b1f0[_0x2abcfd(0x2e2)],_0x3816cb=this[_0x2abcfd(0x441)],_0x225b19=this[_0x2abcfd(0x385)];if(!_0x225b19){_0x225b19=this['_reverseMap']=[];for(var _0x2a328c=0x0;_0x2a328c<_0x3816cb[_0x2abcfd(0x2e2)];_0x2a328c++)_0x225b19[_0x3816cb[_0x2abcfd(0x240)](_0x2a328c)]=_0x2a328c;}var _0x47c16a=_0x3816cb[_0x2abcfd(0x24a)](0x40);if(_0x47c16a){var _0x195f02=_0x27b1f0[_0x2abcfd(0x442)](_0x47c16a);_0x195f02!==-0x1&&(_0x252987=_0x195f02);}return _0x58292d(_0x27b1f0,_0x252987,_0x225b19);},'_map':_0x38eb25(0x36e)};function _0x58292d(_0x233f56,_0x5bd56f,_0x4c9ab9){var _0x41617f=_0x38eb25;for(var _0x2e19c4=[],_0x5e86be=0x0,_0x1c25a0=0x0;_0x1c25a0<_0x5bd56f;_0x1c25a0++)if(_0x1c25a0%0x4){var _0x45e245=_0x4c9ab9[_0x233f56[_0x41617f(0x240)](_0x1c25a0-0x1)]<<_0x1c25a0%0x4*0x2,_0x1bcb75=_0x4c9ab9[_0x233f56['charCodeAt'](_0x1c25a0)]>>>0x6-_0x1c25a0%0x4*0x2,_0x4e340e=_0x45e245|_0x1bcb75;_0x2e19c4[_0x5e86be>>>0x2]|=_0x4e340e<<0x18-_0x5e86be%0x4*0x8,_0x5e86be++;}return _0x1b4b49[_0x41617f(0x457)](_0x2e19c4,_0x5e86be);}}()),_0x4a6d91[_0x257dd0(0x1cc)][_0x257dd0(0x3a7)];}));}(_0x58387c)),_0x58387c[_0x1b2ebd(0x3a6)];}var _0x3511ff={'exports':{}},_0x45418f=_0x3511ff[_0x212abf(0x3a6)],_0x2affde;function _0x29f972(){var _0x1c9892=_0x212abf;return _0x2affde||(_0x2affde=0x1,function(_0x310626,_0x5712b8){(function(_0x547d7e,_0x1a3dfc){var _0x3a0fe2=_0x1abf;_0x310626[_0x3a0fe2(0x3a6)]=_0x1a3dfc(_0x13d30e());}(_0x45418f,function(_0x2d7b6f){return function(_0x137620){var _0x1f1a6b=_0x1abf,_0xb95b88=_0x2d7b6f,_0x5951d4=_0xb95b88[_0x1f1a6b(0x449)],_0x1b238c=_0x5951d4['WordArray'],_0x179953=_0x5951d4['Hasher'],_0x35f6d2=_0xb95b88['algo'],_0x3db8ce=[];(function(){var _0xe1fba2=_0x1f1a6b;for(var _0xde4541=0x0;_0xde4541<0x40;_0xde4541++)_0x3db8ce[_0xde4541]=_0x137620[_0xe1fba2(0x3b1)](_0x137620[_0xe1fba2(0x3b2)](_0xde4541+0x1))*0x100000000|0x0;}());var _0x3b29e7=_0x35f6d2[_0x1f1a6b(0x30e)]=_0x179953['extend']({'_doReset':function(){var _0x18800d=_0x1f1a6b;this['_hash']=new _0x1b238c[(_0x18800d(0x363))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x29248a,_0x142b1e){var _0x186563=_0x1f1a6b;for(var _0x3f19c1=0x0;_0x3f19c1<0x10;_0x3f19c1++){var _0x384a46=_0x142b1e+_0x3f19c1,_0x1eb438=_0x29248a[_0x384a46];_0x29248a[_0x384a46]=(_0x1eb438<<0x8|_0x1eb438>>>0x18)&0xff00ff|(_0x1eb438<<0x18|_0x1eb438>>>0x8)&0xff00ff00;}var _0x1c198d=this[_0x186563(0x481)][_0x186563(0x256)],_0x34a997=_0x29248a[_0x142b1e+0x0],_0xf4cca1=_0x29248a[_0x142b1e+0x1],_0x1c6940=_0x29248a[_0x142b1e+0x2],_0x159476=_0x29248a[_0x142b1e+0x3],_0x2b16b3=_0x29248a[_0x142b1e+0x4],_0x19e2bb=_0x29248a[_0x142b1e+0x5],_0x55a47d=_0x29248a[_0x142b1e+0x6],_0x4affd4=_0x29248a[_0x142b1e+0x7],_0x3a7bb2=_0x29248a[_0x142b1e+0x8],_0x294827=_0x29248a[_0x142b1e+0x9],_0x425e49=_0x29248a[_0x142b1e+0xa],_0x154d89=_0x29248a[_0x142b1e+0xb],_0x31c7c4=_0x29248a[_0x142b1e+0xc],_0x1d6b3a=_0x29248a[_0x142b1e+0xd],_0x5b98d3=_0x29248a[_0x142b1e+0xe],_0x699e1d=_0x29248a[_0x142b1e+0xf],_0x15c363=_0x1c198d[0x0],_0x803353=_0x1c198d[0x1],_0x2b41c9=_0x1c198d[0x2],_0x3ac80d=_0x1c198d[0x3];_0x15c363=_0x3dcb93(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x34a997,0x7,_0x3db8ce[0x0]),_0x3ac80d=_0x3dcb93(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0xf4cca1,0xc,_0x3db8ce[0x1]),_0x2b41c9=_0x3dcb93(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x1c6940,0x11,_0x3db8ce[0x2]),_0x803353=_0x3dcb93(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x159476,0x16,_0x3db8ce[0x3]),_0x15c363=_0x3dcb93(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x2b16b3,0x7,_0x3db8ce[0x4]),_0x3ac80d=_0x3dcb93(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x19e2bb,0xc,_0x3db8ce[0x5]),_0x2b41c9=_0x3dcb93(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x55a47d,0x11,_0x3db8ce[0x6]),_0x803353=_0x3dcb93(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x4affd4,0x16,_0x3db8ce[0x7]),_0x15c363=_0x3dcb93(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x3a7bb2,0x7,_0x3db8ce[0x8]),_0x3ac80d=_0x3dcb93(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x294827,0xc,_0x3db8ce[0x9]),_0x2b41c9=_0x3dcb93(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x425e49,0x11,_0x3db8ce[0xa]),_0x803353=_0x3dcb93(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x154d89,0x16,_0x3db8ce[0xb]),_0x15c363=_0x3dcb93(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x31c7c4,0x7,_0x3db8ce[0xc]),_0x3ac80d=_0x3dcb93(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x1d6b3a,0xc,_0x3db8ce[0xd]),_0x2b41c9=_0x3dcb93(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x5b98d3,0x11,_0x3db8ce[0xe]),_0x803353=_0x3dcb93(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x699e1d,0x16,_0x3db8ce[0xf]),_0x15c363=_0x25ff81(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0xf4cca1,0x5,_0x3db8ce[0x10]),_0x3ac80d=_0x25ff81(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x55a47d,0x9,_0x3db8ce[0x11]),_0x2b41c9=_0x25ff81(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x154d89,0xe,_0x3db8ce[0x12]),_0x803353=_0x25ff81(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x34a997,0x14,_0x3db8ce[0x13]),_0x15c363=_0x25ff81(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x19e2bb,0x5,_0x3db8ce[0x14]),_0x3ac80d=_0x25ff81(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x425e49,0x9,_0x3db8ce[0x15]),_0x2b41c9=_0x25ff81(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x699e1d,0xe,_0x3db8ce[0x16]),_0x803353=_0x25ff81(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x2b16b3,0x14,_0x3db8ce[0x17]),_0x15c363=_0x25ff81(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x294827,0x5,_0x3db8ce[0x18]),_0x3ac80d=_0x25ff81(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x5b98d3,0x9,_0x3db8ce[0x19]),_0x2b41c9=_0x25ff81(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x159476,0xe,_0x3db8ce[0x1a]),_0x803353=_0x25ff81(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x3a7bb2,0x14,_0x3db8ce[0x1b]),_0x15c363=_0x25ff81(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x1d6b3a,0x5,_0x3db8ce[0x1c]),_0x3ac80d=_0x25ff81(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x1c6940,0x9,_0x3db8ce[0x1d]),_0x2b41c9=_0x25ff81(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x4affd4,0xe,_0x3db8ce[0x1e]),_0x803353=_0x25ff81(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x31c7c4,0x14,_0x3db8ce[0x1f]),_0x15c363=_0x4040f8(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x19e2bb,0x4,_0x3db8ce[0x20]),_0x3ac80d=_0x4040f8(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x3a7bb2,0xb,_0x3db8ce[0x21]),_0x2b41c9=_0x4040f8(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x154d89,0x10,_0x3db8ce[0x22]),_0x803353=_0x4040f8(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x5b98d3,0x17,_0x3db8ce[0x23]),_0x15c363=_0x4040f8(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0xf4cca1,0x4,_0x3db8ce[0x24]),_0x3ac80d=_0x4040f8(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x2b16b3,0xb,_0x3db8ce[0x25]),_0x2b41c9=_0x4040f8(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x4affd4,0x10,_0x3db8ce[0x26]),_0x803353=_0x4040f8(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x425e49,0x17,_0x3db8ce[0x27]),_0x15c363=_0x4040f8(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x1d6b3a,0x4,_0x3db8ce[0x28]),_0x3ac80d=_0x4040f8(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x34a997,0xb,_0x3db8ce[0x29]),_0x2b41c9=_0x4040f8(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x159476,0x10,_0x3db8ce[0x2a]),_0x803353=_0x4040f8(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x55a47d,0x17,_0x3db8ce[0x2b]),_0x15c363=_0x4040f8(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x294827,0x4,_0x3db8ce[0x2c]),_0x3ac80d=_0x4040f8(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x31c7c4,0xb,_0x3db8ce[0x2d]),_0x2b41c9=_0x4040f8(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x699e1d,0x10,_0x3db8ce[0x2e]),_0x803353=_0x4040f8(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x1c6940,0x17,_0x3db8ce[0x2f]),_0x15c363=_0x443fd0(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x34a997,0x6,_0x3db8ce[0x30]),_0x3ac80d=_0x443fd0(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x4affd4,0xa,_0x3db8ce[0x31]),_0x2b41c9=_0x443fd0(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x5b98d3,0xf,_0x3db8ce[0x32]),_0x803353=_0x443fd0(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x19e2bb,0x15,_0x3db8ce[0x33]),_0x15c363=_0x443fd0(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x31c7c4,0x6,_0x3db8ce[0x34]),_0x3ac80d=_0x443fd0(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x159476,0xa,_0x3db8ce[0x35]),_0x2b41c9=_0x443fd0(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x425e49,0xf,_0x3db8ce[0x36]),_0x803353=_0x443fd0(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0xf4cca1,0x15,_0x3db8ce[0x37]),_0x15c363=_0x443fd0(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x3a7bb2,0x6,_0x3db8ce[0x38]),_0x3ac80d=_0x443fd0(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x699e1d,0xa,_0x3db8ce[0x39]),_0x2b41c9=_0x443fd0(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x55a47d,0xf,_0x3db8ce[0x3a]),_0x803353=_0x443fd0(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x1d6b3a,0x15,_0x3db8ce[0x3b]),_0x15c363=_0x443fd0(_0x15c363,_0x803353,_0x2b41c9,_0x3ac80d,_0x2b16b3,0x6,_0x3db8ce[0x3c]),_0x3ac80d=_0x443fd0(_0x3ac80d,_0x15c363,_0x803353,_0x2b41c9,_0x154d89,0xa,_0x3db8ce[0x3d]),_0x2b41c9=_0x443fd0(_0x2b41c9,_0x3ac80d,_0x15c363,_0x803353,_0x1c6940,0xf,_0x3db8ce[0x3e]),_0x803353=_0x443fd0(_0x803353,_0x2b41c9,_0x3ac80d,_0x15c363,_0x294827,0x15,_0x3db8ce[0x3f]),_0x1c198d[0x0]=_0x1c198d[0x0]+_0x15c363|0x0,_0x1c198d[0x1]=_0x1c198d[0x1]+_0x803353|0x0,_0x1c198d[0x2]=_0x1c198d[0x2]+_0x2b41c9|0x0,_0x1c198d[0x3]=_0x1c198d[0x3]+_0x3ac80d|0x0;},'_doFinalize':function(){var _0x47ec79=_0x1f1a6b,_0x119746=this[_0x47ec79(0x32b)],_0x2d3279=_0x119746[_0x47ec79(0x256)],_0x1b847d=this[_0x47ec79(0x3e8)]*0x8,_0x9bd68c=_0x119746[_0x47ec79(0x3d8)]*0x8;_0x2d3279[_0x9bd68c>>>0x5]|=0x80<<0x18-_0x9bd68c%0x20;var _0x5a9847=_0x137620[_0x47ec79(0x2fc)](_0x1b847d/0x100000000),_0xf71ea=_0x1b847d;_0x2d3279[(_0x9bd68c+0x40>>>0x9<<0x4)+0xf]=(_0x5a9847<<0x8|_0x5a9847>>>0x18)&0xff00ff|(_0x5a9847<<0x18|_0x5a9847>>>0x8)&0xff00ff00,_0x2d3279[(_0x9bd68c+0x40>>>0x9<<0x4)+0xe]=(_0xf71ea<<0x8|_0xf71ea>>>0x18)&0xff00ff|(_0xf71ea<<0x18|_0xf71ea>>>0x8)&0xff00ff00,_0x119746[_0x47ec79(0x3d8)]=(_0x2d3279[_0x47ec79(0x2e2)]+0x1)*0x4,this[_0x47ec79(0x412)]();for(var _0x141964=this[_0x47ec79(0x481)],_0x1d1479=_0x141964[_0x47ec79(0x256)],_0x32f428=0x0;_0x32f428<0x4;_0x32f428++){var _0x33c352=_0x1d1479[_0x32f428];_0x1d1479[_0x32f428]=(_0x33c352<<0x8|_0x33c352>>>0x18)&0xff00ff|(_0x33c352<<0x18|_0x33c352>>>0x8)&0xff00ff00;}return _0x141964;},'clone':function(){var _0x196e70=_0x1f1a6b,_0x5f1279=_0x179953[_0x196e70(0x1a0)][_0x196e70(0x2b1)](this);return _0x5f1279[_0x196e70(0x481)]=this['_hash'][_0x196e70(0x1a0)](),_0x5f1279;}});function _0x3dcb93(_0x2847f5,_0x4e984e,_0x4dcd5e,_0xddb7f4,_0x2cf433,_0x400251,_0x4a2c52){var _0x53afff=_0x2847f5+(_0x4e984e&_0x4dcd5e|~_0x4e984e&_0xddb7f4)+_0x2cf433+_0x4a2c52;return(_0x53afff<<_0x400251|_0x53afff>>>0x20-_0x400251)+_0x4e984e;}function _0x25ff81(_0x4c949d,_0x558cfe,_0x4c155c,_0x52b4f4,_0x5998a1,_0x952cd6,_0x578b21){var _0x772503=_0x4c949d+(_0x558cfe&_0x52b4f4|_0x4c155c&~_0x52b4f4)+_0x5998a1+_0x578b21;return(_0x772503<<_0x952cd6|_0x772503>>>0x20-_0x952cd6)+_0x558cfe;}function _0x4040f8(_0x43803c,_0x392749,_0x1dbf6a,_0x5684c6,_0x2de70e,_0x491c86,_0x2a1008){var _0x206968=_0x43803c+(_0x392749^_0x1dbf6a^_0x5684c6)+_0x2de70e+_0x2a1008;return(_0x206968<<_0x491c86|_0x206968>>>0x20-_0x491c86)+_0x392749;}function _0x443fd0(_0x16bc3c,_0x2ed6c1,_0x5b4491,_0x30ce5d,_0x3ad178,_0x4e4fe5,_0x4af423){var _0x563f86=_0x16bc3c+(_0x5b4491^(_0x2ed6c1|~_0x30ce5d))+_0x3ad178+_0x4af423;return(_0x563f86<<_0x4e4fe5|_0x563f86>>>0x20-_0x4e4fe5)+_0x2ed6c1;}_0xb95b88['MD5']=_0x179953['_createHelper'](_0x3b29e7),_0xb95b88['HmacMD5']=_0x179953[_0x1f1a6b(0x1fd)](_0x3b29e7);}(Math),_0x2d7b6f['MD5'];}));}(_0x3511ff)),_0x3511ff[_0x1c9892(0x3a6)];}var _0x18d04e={'exports':{}},_0x4870a5={'exports':{}},_0x3370bf=_0x4870a5[_0x212abf(0x3a6)],_0x1316f5;function _0x356aa1(){var _0x2d2ce8=_0x212abf;return _0x1316f5||(_0x1316f5=0x1,function(_0x583972,_0x14009c){(function(_0x45dd7b,_0x4f8d3d){_0x583972['exports']=_0x4f8d3d(_0x13d30e());}(_0x3370bf,function(_0x132368){var _0x102415=_0x1abf;return(function(){var _0x5e0cd3=_0x1abf,_0x18c426=_0x132368,_0x552305=_0x18c426[_0x5e0cd3(0x449)],_0x293028=_0x552305[_0x5e0cd3(0x2e1)],_0x2691fb=_0x552305[_0x5e0cd3(0x382)],_0xad3ff4=_0x18c426[_0x5e0cd3(0x495)],_0x3bde56=[],_0x2d5a12=_0xad3ff4[_0x5e0cd3(0x2dc)]=_0x2691fb['extend']({'_doReset':function(){var _0x326b9e=_0x5e0cd3;this[_0x326b9e(0x481)]=new _0x293028[(_0x326b9e(0x363))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5213d4,_0x3e560){var _0x10b232=_0x5e0cd3;for(var _0x2484e6=this[_0x10b232(0x481)]['words'],_0x4cbe41=_0x2484e6[0x0],_0x47a6c2=_0x2484e6[0x1],_0x2d4cb1=_0x2484e6[0x2],_0xc37dcc=_0x2484e6[0x3],_0x5104a1=_0x2484e6[0x4],_0x4edcc4=0x0;_0x4edcc4<0x50;_0x4edcc4++){if(_0x4edcc4<0x10)_0x3bde56[_0x4edcc4]=_0x5213d4[_0x3e560+_0x4edcc4]|0x0;else{var _0x8607a4=_0x3bde56[_0x4edcc4-0x3]^_0x3bde56[_0x4edcc4-0x8]^_0x3bde56[_0x4edcc4-0xe]^_0x3bde56[_0x4edcc4-0x10];_0x3bde56[_0x4edcc4]=_0x8607a4<<0x1|_0x8607a4>>>0x1f;}var _0x373749=(_0x4cbe41<<0x5|_0x4cbe41>>>0x1b)+_0x5104a1+_0x3bde56[_0x4edcc4];_0x4edcc4<0x14?_0x373749+=(_0x47a6c2&_0x2d4cb1|~_0x47a6c2&_0xc37dcc)+0x5a827999:_0x4edcc4<0x28?_0x373749+=(_0x47a6c2^_0x2d4cb1^_0xc37dcc)+0x6ed9eba1:_0x4edcc4<0x3c?_0x373749+=(_0x47a6c2&_0x2d4cb1|_0x47a6c2&_0xc37dcc|_0x2d4cb1&_0xc37dcc)-0x70e44324:_0x373749+=(_0x47a6c2^_0x2d4cb1^_0xc37dcc)-0x359d3e2a,_0x5104a1=_0xc37dcc,_0xc37dcc=_0x2d4cb1,_0x2d4cb1=_0x47a6c2<<0x1e|_0x47a6c2>>>0x2,_0x47a6c2=_0x4cbe41,_0x4cbe41=_0x373749;}_0x2484e6[0x0]=_0x2484e6[0x0]+_0x4cbe41|0x0,_0x2484e6[0x1]=_0x2484e6[0x1]+_0x47a6c2|0x0,_0x2484e6[0x2]=_0x2484e6[0x2]+_0x2d4cb1|0x0,_0x2484e6[0x3]=_0x2484e6[0x3]+_0xc37dcc|0x0,_0x2484e6[0x4]=_0x2484e6[0x4]+_0x5104a1|0x0;},'_doFinalize':function(){var _0x27dd82=_0x5e0cd3,_0x1f810b=this[_0x27dd82(0x32b)],_0x386dff=_0x1f810b[_0x27dd82(0x256)],_0x3c05f8=this[_0x27dd82(0x3e8)]*0x8,_0x4a0b88=_0x1f810b['sigBytes']*0x8;return _0x386dff[_0x4a0b88>>>0x5]|=0x80<<0x18-_0x4a0b88%0x20,_0x386dff[(_0x4a0b88+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3c05f8/0x100000000),_0x386dff[(_0x4a0b88+0x40>>>0x9<<0x4)+0xf]=_0x3c05f8,_0x1f810b[_0x27dd82(0x3d8)]=_0x386dff[_0x27dd82(0x2e2)]*0x4,this[_0x27dd82(0x412)](),this['_hash'];},'clone':function(){var _0x1e2d04=_0x5e0cd3,_0x48aaed=_0x2691fb[_0x1e2d04(0x1a0)][_0x1e2d04(0x2b1)](this);return _0x48aaed[_0x1e2d04(0x481)]=this[_0x1e2d04(0x481)][_0x1e2d04(0x1a0)](),_0x48aaed;}});_0x18c426[_0x5e0cd3(0x2dc)]=_0x2691fb[_0x5e0cd3(0x3c3)](_0x2d5a12),_0x18c426[_0x5e0cd3(0x3e7)]=_0x2691fb['_createHmacHelper'](_0x2d5a12);}()),_0x132368[_0x102415(0x2dc)];}));}(_0x4870a5)),_0x4870a5[_0x2d2ce8(0x3a6)];}var _0x1db2c7={'exports':{}},_0x45a879=_0x1db2c7[_0x212abf(0x3a6)],_0x2fbc99;function _0x382b29(){var _0x5ee848=_0x212abf;return _0x2fbc99||(_0x2fbc99=0x1,function(_0x111a58,_0x39321f){(function(_0x97db2e,_0x203ef5){var _0x28c818=_0x1abf;_0x111a58[_0x28c818(0x3a6)]=_0x203ef5(_0x13d30e());}(_0x45a879,function(_0x46d96b){(function(){var _0xb9047a=_0x1abf,_0x3d2c7b=_0x46d96b,_0x16c6fe=_0x3d2c7b[_0xb9047a(0x449)],_0x3fde5e=_0x16c6fe['Base'],_0x1163e1=_0x3d2c7b['enc'],_0x2efbf7=_0x1163e1['Utf8'],_0x56aa12=_0x3d2c7b['algo'];_0x56aa12[_0xb9047a(0x1d3)]=_0x3fde5e[_0xb9047a(0x29d)]({'init':function(_0x32f057,_0x3956e8){var _0x2aad79=_0xb9047a;_0x32f057=this[_0x2aad79(0x2ff)]=new _0x32f057[(_0x2aad79(0x363))](),typeof _0x3956e8==_0x2aad79(0x265)&&(_0x3956e8=_0x2efbf7['parse'](_0x3956e8));var _0x270f25=_0x32f057[_0x2aad79(0x353)],_0x2032e8=_0x270f25*0x4;_0x3956e8[_0x2aad79(0x3d8)]>_0x2032e8&&(_0x3956e8=_0x32f057[_0x2aad79(0x221)](_0x3956e8)),_0x3956e8[_0x2aad79(0x4fe)]();for(var _0x53f311=this['_oKey']=_0x3956e8['clone'](),_0x460891=this[_0x2aad79(0x312)]=_0x3956e8[_0x2aad79(0x1a0)](),_0x2d160e=_0x53f311[_0x2aad79(0x256)],_0x38cf3c=_0x460891['words'],_0x3b9ad0=0x0;_0x3b9ad0<_0x270f25;_0x3b9ad0++)_0x2d160e[_0x3b9ad0]^=0x5c5c5c5c,_0x38cf3c[_0x3b9ad0]^=0x36363636;_0x53f311[_0x2aad79(0x3d8)]=_0x460891[_0x2aad79(0x3d8)]=_0x2032e8,this[_0x2aad79(0x443)]();},'reset':function(){var _0x3d5627=_0xb9047a,_0xa2c744=this[_0x3d5627(0x2ff)];_0xa2c744[_0x3d5627(0x443)](),_0xa2c744['update'](this[_0x3d5627(0x312)]);},'update':function(_0xf187f9){var _0x5ee46a=_0xb9047a;return this[_0x5ee46a(0x2ff)][_0x5ee46a(0x27b)](_0xf187f9),this;},'finalize':function(_0x314118){var _0x3121dd=_0xb9047a,_0x113048=this[_0x3121dd(0x2ff)],_0x460dc1=_0x113048[_0x3121dd(0x221)](_0x314118);_0x113048[_0x3121dd(0x443)]();var _0x577192=_0x113048[_0x3121dd(0x221)](this[_0x3121dd(0x4eb)][_0x3121dd(0x1a0)]()[_0x3121dd(0x45c)](_0x460dc1));return _0x577192;}});}());}));}(_0x1db2c7)),_0x1db2c7[_0x5ee848(0x3a6)];}var _0x5df299=_0x18d04e[_0x212abf(0x3a6)],_0x4d1c29;function _0x2c00d6(){var _0x1d4ca7=_0x212abf;return _0x4d1c29||(_0x4d1c29=0x1,function(_0x1e13bf,_0x178f36){(function(_0x315627,_0x2e3ed1,_0x5f382a){var _0x339099=_0x1abf;_0x1e13bf[_0x339099(0x3a6)]=_0x2e3ed1(_0x13d30e(),_0x356aa1(),_0x382b29());}(_0x5df299,function(_0x46d095){var _0x26d079=_0x1abf;return(function(){var _0x2ef0b4=_0x1abf,_0x52bc4a=_0x46d095,_0x59588a=_0x52bc4a[_0x2ef0b4(0x449)],_0x2ebf7c=_0x59588a[_0x2ef0b4(0x348)],_0x289d07=_0x59588a[_0x2ef0b4(0x2e1)],_0x73bfd5=_0x52bc4a['algo'],_0x14a36f=_0x73bfd5[_0x2ef0b4(0x30e)],_0x12edef=_0x73bfd5[_0x2ef0b4(0x271)]=_0x2ebf7c[_0x2ef0b4(0x29d)]({'cfg':_0x2ebf7c[_0x2ef0b4(0x29d)]({'keySize':0x80/0x20,'hasher':_0x14a36f,'iterations':0x1}),'init':function(_0x39b968){var _0x1e8d8c=_0x2ef0b4;this['cfg']=this[_0x1e8d8c(0x229)][_0x1e8d8c(0x29d)](_0x39b968);},'compute':function(_0xefe82d,_0x2d6779){var _0x266b08=_0x2ef0b4;for(var _0x1e5296,_0x53d27d=this['cfg'],_0x50020a=_0x53d27d[_0x266b08(0x471)][_0x266b08(0x457)](),_0xfaf8a0=_0x289d07[_0x266b08(0x457)](),_0x594fa6=_0xfaf8a0['words'],_0x48c9f7=_0x53d27d['keySize'],_0x38c9dc=_0x53d27d['iterations'];_0x594fa6[_0x266b08(0x2e2)]<_0x48c9f7;){_0x1e5296&&_0x50020a[_0x266b08(0x27b)](_0x1e5296),_0x1e5296=_0x50020a[_0x266b08(0x27b)](_0xefe82d)[_0x266b08(0x221)](_0x2d6779),_0x50020a[_0x266b08(0x443)]();for(var _0x1cfacb=0x1;_0x1cfacb<_0x38c9dc;_0x1cfacb++)_0x1e5296=_0x50020a[_0x266b08(0x221)](_0x1e5296),_0x50020a[_0x266b08(0x443)]();_0xfaf8a0[_0x266b08(0x45c)](_0x1e5296);}return _0xfaf8a0['sigBytes']=_0x48c9f7*0x4,_0xfaf8a0;}});_0x52bc4a[_0x2ef0b4(0x271)]=function(_0x5a12f7,_0x429abc,_0x5a140b){var _0x3e6255=_0x2ef0b4;return _0x12edef[_0x3e6255(0x457)](_0x5a140b)[_0x3e6255(0x354)](_0x5a12f7,_0x429abc);};}()),_0x46d095[_0x26d079(0x271)];}));}(_0x18d04e)),_0x18d04e[_0x1d4ca7(0x3a6)];}var _0x23a3fb={'exports':{}},_0x5e7dca=_0x23a3fb[_0x212abf(0x3a6)],_0x16981;function _0x4b29c1(){var _0x44675c=_0x212abf;return _0x16981||(_0x16981=0x1,function(_0x2e6d2f,_0x41d380){(function(_0x1b7473,_0x3981ee,_0x20a079){var _0x5bf6d4=_0x1abf;_0x2e6d2f[_0x5bf6d4(0x3a6)]=_0x3981ee(_0x13d30e(),_0x2c00d6());}(_0x5e7dca,function(_0x562be8){var _0x20b3d9=_0x1abf;_0x562be8[_0x20b3d9(0x449)][_0x20b3d9(0x235)]||function(_0x126131){var _0x4cf2d9=_0x20b3d9,_0x46bdd3=_0x562be8,_0xcee7f7=_0x46bdd3[_0x4cf2d9(0x449)],_0x2f33b7=_0xcee7f7['Base'],_0x518e5b=_0xcee7f7[_0x4cf2d9(0x2e1)],_0x594a69=_0xcee7f7['BufferedBlockAlgorithm'],_0x5e1ee0=_0x46bdd3['enc'];_0x5e1ee0[_0x4cf2d9(0x22f)];var _0x7e5c83=_0x5e1ee0[_0x4cf2d9(0x3a7)],_0x423502=_0x46bdd3[_0x4cf2d9(0x495)],_0x22f2b2=_0x423502[_0x4cf2d9(0x271)],_0x4fdeda=_0xcee7f7[_0x4cf2d9(0x235)]=_0x594a69[_0x4cf2d9(0x29d)]({'cfg':_0x2f33b7[_0x4cf2d9(0x29d)](),'createEncryptor':function(_0x29a075,_0x52d88d){var _0x5c09db=_0x4cf2d9;return this[_0x5c09db(0x457)](this['_ENC_XFORM_MODE'],_0x29a075,_0x52d88d);},'createDecryptor':function(_0x276046,_0x294f37){var _0x172846=_0x4cf2d9;return this[_0x172846(0x457)](this['_DEC_XFORM_MODE'],_0x276046,_0x294f37);},'init':function(_0x454cf0,_0x4db3c0,_0x51b5f8){var _0x264472=_0x4cf2d9;this[_0x264472(0x229)]=this[_0x264472(0x229)][_0x264472(0x29d)](_0x51b5f8),this['_xformMode']=_0x454cf0,this[_0x264472(0x42a)]=_0x4db3c0,this[_0x264472(0x443)]();},'reset':function(){var _0x1457d5=_0x4cf2d9;_0x594a69[_0x1457d5(0x443)]['call'](this),this[_0x1457d5(0x1b0)]();},'process':function(_0x24ab69){var _0x5bfa7d=_0x4cf2d9;return this['_append'](_0x24ab69),this[_0x5bfa7d(0x412)]();},'finalize':function(_0x409b3a){var _0x2e3bf8=_0x4cf2d9;_0x409b3a&&this['_append'](_0x409b3a);var _0x5d240d=this[_0x2e3bf8(0x480)]();return _0x5d240d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x56539e(_0x837b9a){var _0x1803f7=_0x1abf;return typeof _0x837b9a==_0x1803f7(0x265)?_0x312019:_0x4a8da3;}return function(_0x518d82){return{'encrypt':function(_0x376def,_0x26a02f,_0x1b27e0){var _0x34128f=_0x1abf;return _0x56539e(_0x26a02f)[_0x34128f(0x4d3)](_0x518d82,_0x376def,_0x26a02f,_0x1b27e0);},'decrypt':function(_0x133976,_0x156c02,_0x34126c){var _0x4d30be=_0x1abf;return _0x56539e(_0x156c02)[_0x4d30be(0x4b0)](_0x518d82,_0x133976,_0x156c02,_0x34126c);}};};}())});_0xcee7f7[_0x4cf2d9(0x1c2)]=_0x4fdeda[_0x4cf2d9(0x29d)]({'_doFinalize':function(){var _0xd21af4=_0x4cf2d9,_0x11fc1a=this[_0xd21af4(0x412)](!0x0);return _0x11fc1a;},'blockSize':0x1});var _0x9e7a83=_0x46bdd3[_0x4cf2d9(0x33e)]={},_0x1800f4=_0xcee7f7[_0x4cf2d9(0x408)]=_0x2f33b7[_0x4cf2d9(0x29d)]({'createEncryptor':function(_0x12f92d,_0x3f6336){var _0x2465f0=_0x4cf2d9;return this[_0x2465f0(0x451)][_0x2465f0(0x457)](_0x12f92d,_0x3f6336);},'createDecryptor':function(_0x1fd4c3,_0x3e514a){var _0x4d0449=_0x4cf2d9;return this[_0x4d0449(0x1b3)][_0x4d0449(0x457)](_0x1fd4c3,_0x3e514a);},'init':function(_0x486531,_0x3eba91){var _0x4c0bab=_0x4cf2d9;this['_cipher']=_0x486531,this[_0x4c0bab(0x4fb)]=_0x3eba91;}}),_0x1fcf32=_0x9e7a83[_0x4cf2d9(0x4dc)]=(function(){var _0x41d801=_0x4cf2d9,_0x151dc0=_0x1800f4[_0x41d801(0x29d)]();_0x151dc0[_0x41d801(0x451)]=_0x151dc0['extend']({'processBlock':function(_0x550b69,_0x52ac5d){var _0x1b3f33=_0x41d801,_0x110545=this[_0x1b3f33(0x262)],_0x208739=_0x110545[_0x1b3f33(0x353)];_0x1c9812[_0x1b3f33(0x2b1)](this,_0x550b69,_0x52ac5d,_0x208739),_0x110545[_0x1b3f33(0x243)](_0x550b69,_0x52ac5d),this[_0x1b3f33(0x428)]=_0x550b69[_0x1b3f33(0x313)](_0x52ac5d,_0x52ac5d+_0x208739);}}),_0x151dc0['Decryptor']=_0x151dc0['extend']({'processBlock':function(_0xab6d3a,_0x24be4b){var _0x26ab88=_0x41d801,_0x3d64f2=this['_cipher'],_0x36a001=_0x3d64f2[_0x26ab88(0x353)],_0x2f456c=_0xab6d3a['slice'](_0x24be4b,_0x24be4b+_0x36a001);_0x3d64f2[_0x26ab88(0x356)](_0xab6d3a,_0x24be4b),_0x1c9812[_0x26ab88(0x2b1)](this,_0xab6d3a,_0x24be4b,_0x36a001),this[_0x26ab88(0x428)]=_0x2f456c;}});function _0x1c9812(_0x5a1a16,_0x304d03,_0xac9f61){var _0x4a1cee=_0x41d801,_0x26bf6c,_0x2aceff=this['_iv'];_0x2aceff?(_0x26bf6c=_0x2aceff,this[_0x4a1cee(0x4fb)]=_0x126131):_0x26bf6c=this[_0x4a1cee(0x428)];for(var _0x35ff11=0x0;_0x35ff11<_0xac9f61;_0x35ff11++)_0x5a1a16[_0x304d03+_0x35ff11]^=_0x26bf6c[_0x35ff11];}return _0x151dc0;}()),_0x307481=_0x46bdd3[_0x4cf2d9(0x1c7)]={},_0x1661f6=_0x307481[_0x4cf2d9(0x248)]={'pad':function(_0x497c35,_0x528b2e){var _0x37c60c=_0x4cf2d9;for(var _0x5a46d8=_0x528b2e*0x4,_0x23d81c=_0x5a46d8-_0x497c35[_0x37c60c(0x3d8)]%_0x5a46d8,_0x2ae637=_0x23d81c<<0x18|_0x23d81c<<0x10|_0x23d81c<<0x8|_0x23d81c,_0x5ae9d8=[],_0x3e150e=0x0;_0x3e150e<_0x23d81c;_0x3e150e+=0x4)_0x5ae9d8[_0x37c60c(0x4d2)](_0x2ae637);var _0xb7b124=_0x518e5b['create'](_0x5ae9d8,_0x23d81c);_0x497c35[_0x37c60c(0x45c)](_0xb7b124);},'unpad':function(_0x3ba74a){var _0xd863f2=_0x4cf2d9,_0x34e37f=_0x3ba74a[_0xd863f2(0x256)][_0x3ba74a['sigBytes']-0x1>>>0x2]&0xff;_0x3ba74a[_0xd863f2(0x3d8)]-=_0x34e37f;}};_0xcee7f7['BlockCipher']=_0x4fdeda[_0x4cf2d9(0x29d)]({'cfg':_0x4fdeda[_0x4cf2d9(0x229)][_0x4cf2d9(0x29d)]({'mode':_0x1fcf32,'padding':_0x1661f6}),'reset':function(){var _0x56fa37=_0x4cf2d9,_0x20608b;_0x4fdeda[_0x56fa37(0x443)][_0x56fa37(0x2b1)](this);var _0x3657d1=this[_0x56fa37(0x229)],_0x7ac92a=_0x3657d1['iv'],_0x386227=_0x3657d1[_0x56fa37(0x33e)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x20608b=_0x386227[_0x56fa37(0x246)]:(_0x20608b=_0x386227[_0x56fa37(0x509)],this['_minBufferSize']=0x1),this[_0x56fa37(0x4dd)]&&this[_0x56fa37(0x4dd)][_0x56fa37(0x283)]==_0x20608b?this['_mode'][_0x56fa37(0x363)](this,_0x7ac92a&&_0x7ac92a[_0x56fa37(0x256)]):(this[_0x56fa37(0x4dd)]=_0x20608b['call'](_0x386227,this,_0x7ac92a&&_0x7ac92a[_0x56fa37(0x256)]),this[_0x56fa37(0x4dd)][_0x56fa37(0x283)]=_0x20608b);},'_doProcessBlock':function(_0x4baac7,_0x132203){var _0x2e2688=_0x4cf2d9;this['_mode'][_0x2e2688(0x464)](_0x4baac7,_0x132203);},'_doFinalize':function(){var _0x1c5cd8=_0x4cf2d9,_0x12bf20,_0x24ce0f=this[_0x1c5cd8(0x229)][_0x1c5cd8(0x397)];return this[_0x1c5cd8(0x233)]==this[_0x1c5cd8(0x4ff)]?(_0x24ce0f[_0x1c5cd8(0x1c7)](this[_0x1c5cd8(0x32b)],this[_0x1c5cd8(0x353)]),_0x12bf20=this[_0x1c5cd8(0x412)](!0x0)):(_0x12bf20=this[_0x1c5cd8(0x412)](!0x0),_0x24ce0f['unpad'](_0x12bf20)),_0x12bf20;},'blockSize':0x80/0x20});var _0x43d6cd=_0xcee7f7[_0x4cf2d9(0x42d)]=_0x2f33b7['extend']({'init':function(_0x51740a){var _0x184d4a=_0x4cf2d9;this[_0x184d4a(0x43e)](_0x51740a);},'toString':function(_0x4d9eee){var _0xa0e46e=_0x4cf2d9;return(_0x4d9eee||this[_0xa0e46e(0x41e)])[_0xa0e46e(0x178)](this);}}),_0x20838c=_0x46bdd3['format']={},_0x16e83e=_0x20838c[_0x4cf2d9(0x1d6)]={'stringify':function(_0x265445){var _0x58393e=_0x4cf2d9,_0x1da22f,_0x8dc3e8=_0x265445[_0x58393e(0x2ce)],_0x10a35c=_0x265445[_0x58393e(0x3bc)];return _0x10a35c?_0x1da22f=_0x518e5b[_0x58393e(0x457)]([0x53616c74,0x65645f5f])[_0x58393e(0x45c)](_0x10a35c)[_0x58393e(0x45c)](_0x8dc3e8):_0x1da22f=_0x8dc3e8,_0x1da22f['toString'](_0x7e5c83);},'parse':function(_0x5f14e8){var _0x2982be=_0x4cf2d9,_0x48db5e,_0xd5aa06=_0x7e5c83[_0x2982be(0x1bd)](_0x5f14e8),_0x2d74ca=_0xd5aa06[_0x2982be(0x256)];return _0x2d74ca[0x0]==0x53616c74&&_0x2d74ca[0x1]==0x65645f5f&&(_0x48db5e=_0x518e5b[_0x2982be(0x457)](_0x2d74ca[_0x2982be(0x313)](0x2,0x4)),_0x2d74ca[_0x2982be(0x2ad)](0x0,0x4),_0xd5aa06[_0x2982be(0x3d8)]-=0x10),_0x43d6cd[_0x2982be(0x457)]({'ciphertext':_0xd5aa06,'salt':_0x48db5e});}},_0x4a8da3=_0xcee7f7[_0x4cf2d9(0x4b8)]=_0x2f33b7[_0x4cf2d9(0x29d)]({'cfg':_0x2f33b7[_0x4cf2d9(0x29d)]({'format':_0x16e83e}),'encrypt':function(_0x31c855,_0x2d403e,_0x41f040,_0x3f5cb2){var _0x50fba0=_0x4cf2d9;_0x3f5cb2=this[_0x50fba0(0x229)][_0x50fba0(0x29d)](_0x3f5cb2);var _0x3703b6=_0x31c855[_0x50fba0(0x246)](_0x41f040,_0x3f5cb2),_0x5b9ba4=_0x3703b6['finalize'](_0x2d403e),_0x4fdb04=_0x3703b6[_0x50fba0(0x229)];return _0x43d6cd[_0x50fba0(0x457)]({'ciphertext':_0x5b9ba4,'key':_0x41f040,'iv':_0x4fdb04['iv'],'algorithm':_0x31c855,'mode':_0x4fdb04[_0x50fba0(0x33e)],'padding':_0x4fdb04[_0x50fba0(0x397)],'blockSize':_0x31c855[_0x50fba0(0x353)],'formatter':_0x3f5cb2[_0x50fba0(0x299)]});},'decrypt':function(_0x101f97,_0x422fb8,_0x3d2eee,_0x120a16){var _0x1d74ca=_0x4cf2d9;_0x120a16=this[_0x1d74ca(0x229)]['extend'](_0x120a16),_0x422fb8=this[_0x1d74ca(0x48c)](_0x422fb8,_0x120a16[_0x1d74ca(0x299)]);var _0x421422=_0x101f97[_0x1d74ca(0x509)](_0x3d2eee,_0x120a16)[_0x1d74ca(0x221)](_0x422fb8[_0x1d74ca(0x2ce)]);return _0x421422;},'_parse':function(_0x1f2c42,_0x5570e9){var _0x1d62dc=_0x4cf2d9;return typeof _0x1f2c42==_0x1d62dc(0x265)?_0x5570e9[_0x1d62dc(0x1bd)](_0x1f2c42,this):_0x1f2c42;}}),_0xbfbe8c=_0x46bdd3[_0x4cf2d9(0x205)]={},_0xe686ea=_0xbfbe8c['OpenSSL']={'execute':function(_0x541c6c,_0x953844,_0x31990a,_0x4a45bf,_0x40d8ea){var _0x397ee3=_0x4cf2d9;if(_0x4a45bf||(_0x4a45bf=_0x518e5b[_0x397ee3(0x4da)](0x40/0x8)),_0x40d8ea)var _0x4de15f=_0x22f2b2[_0x397ee3(0x457)]({'keySize':_0x953844+_0x31990a,'hasher':_0x40d8ea})[_0x397ee3(0x354)](_0x541c6c,_0x4a45bf);else var _0x4de15f=_0x22f2b2['create']({'keySize':_0x953844+_0x31990a})[_0x397ee3(0x354)](_0x541c6c,_0x4a45bf);var _0x5a8f32=_0x518e5b[_0x397ee3(0x457)](_0x4de15f[_0x397ee3(0x256)][_0x397ee3(0x313)](_0x953844),_0x31990a*0x4);return _0x4de15f[_0x397ee3(0x3d8)]=_0x953844*0x4,_0x43d6cd[_0x397ee3(0x457)]({'key':_0x4de15f,'iv':_0x5a8f32,'salt':_0x4a45bf});}},_0x312019=_0xcee7f7[_0x4cf2d9(0x238)]=_0x4a8da3['extend']({'cfg':_0x4a8da3['cfg'][_0x4cf2d9(0x29d)]({'kdf':_0xe686ea}),'encrypt':function(_0x3e6f3a,_0x9c4a37,_0x62c803,_0x34d953){var _0x57fec8=_0x4cf2d9;_0x34d953=this[_0x57fec8(0x229)][_0x57fec8(0x29d)](_0x34d953);var _0x1f1c7d=_0x34d953[_0x57fec8(0x205)]['execute'](_0x62c803,_0x3e6f3a[_0x57fec8(0x321)],_0x3e6f3a[_0x57fec8(0x193)],_0x34d953[_0x57fec8(0x3bc)],_0x34d953['hasher']);_0x34d953['iv']=_0x1f1c7d['iv'];var _0x2fc055=_0x4a8da3['encrypt'][_0x57fec8(0x2b1)](this,_0x3e6f3a,_0x9c4a37,_0x1f1c7d[_0x57fec8(0x216)],_0x34d953);return _0x2fc055[_0x57fec8(0x43e)](_0x1f1c7d),_0x2fc055;},'decrypt':function(_0x535d99,_0x32e473,_0x1c7cc2,_0x486941){var _0x1033e9=_0x4cf2d9;_0x486941=this[_0x1033e9(0x229)][_0x1033e9(0x29d)](_0x486941),_0x32e473=this[_0x1033e9(0x48c)](_0x32e473,_0x486941[_0x1033e9(0x299)]);var _0x5ce3d1=_0x486941[_0x1033e9(0x205)]['execute'](_0x1c7cc2,_0x535d99[_0x1033e9(0x321)],_0x535d99[_0x1033e9(0x193)],_0x32e473['salt'],_0x486941[_0x1033e9(0x471)]);_0x486941['iv']=_0x5ce3d1['iv'];var _0x5783a9=_0x4a8da3[_0x1033e9(0x4b0)][_0x1033e9(0x2b1)](this,_0x535d99,_0x32e473,_0x5ce3d1[_0x1033e9(0x216)],_0x486941);return _0x5783a9;}});}();}));}(_0x23a3fb)),_0x23a3fb[_0x44675c(0x3a6)];}var _0x5b9f1f=_0x28f2b7[_0x212abf(0x3a6)],_0x10d417;function _0x1474fa(){return _0x10d417||(_0x10d417=0x1,function(_0xe17a77,_0x545335){(function(_0x37321e,_0x3ed561,_0x19fd71){var _0x410abc=_0x1abf;_0xe17a77[_0x410abc(0x3a6)]=_0x3ed561(_0x13d30e(),_0x3b52ae(),_0x29f972(),_0x2c00d6(),_0x4b29c1());}(_0x5b9f1f,function(_0x180df7){var _0x901443=_0x1abf;return(function(){var _0x4c0be6=_0x1abf,_0x418d2a=_0x180df7,_0x248fad=_0x418d2a[_0x4c0be6(0x449)],_0x5a3eee=_0x248fad[_0x4c0be6(0x359)],_0x3ee577=_0x418d2a['algo'],_0x14e637=[],_0x1c24f4=[],_0x36798d=[],_0x31d55c=[],_0x277e74=[],_0x24c8d9=[],_0x1afd56=[],_0x152fe8=[],_0x1ceef5=[],_0x4ff76e=[];(function(){for(var _0x1dda29=[],_0x2f8911=0x0;_0x2f8911<0x100;_0x2f8911++)_0x2f8911<0x80?_0x1dda29[_0x2f8911]=_0x2f8911<<0x1:_0x1dda29[_0x2f8911]=_0x2f8911<<0x1^0x11b;for(var _0x5cc7ed=0x0,_0x4954af=0x0,_0x2f8911=0x0;_0x2f8911<0x100;_0x2f8911++){var _0x24cd15=_0x4954af^_0x4954af<<0x1^_0x4954af<<0x2^_0x4954af<<0x3^_0x4954af<<0x4;_0x24cd15=_0x24cd15>>>0x8^_0x24cd15&0xff^0x63,_0x14e637[_0x5cc7ed]=_0x24cd15,_0x1c24f4[_0x24cd15]=_0x5cc7ed;var _0x477e60=_0x1dda29[_0x5cc7ed],_0xf25b2=_0x1dda29[_0x477e60],_0x460ede=_0x1dda29[_0xf25b2],_0x5f7422=_0x1dda29[_0x24cd15]*0x101^_0x24cd15*0x1010100;_0x36798d[_0x5cc7ed]=_0x5f7422<<0x18|_0x5f7422>>>0x8,_0x31d55c[_0x5cc7ed]=_0x5f7422<<0x10|_0x5f7422>>>0x10,_0x277e74[_0x5cc7ed]=_0x5f7422<<0x8|_0x5f7422>>>0x18,_0x24c8d9[_0x5cc7ed]=_0x5f7422;var _0x5f7422=_0x460ede*0x1010101^_0xf25b2*0x10001^_0x477e60*0x101^_0x5cc7ed*0x1010100;_0x1afd56[_0x24cd15]=_0x5f7422<<0x18|_0x5f7422>>>0x8,_0x152fe8[_0x24cd15]=_0x5f7422<<0x10|_0x5f7422>>>0x10,_0x1ceef5[_0x24cd15]=_0x5f7422<<0x8|_0x5f7422>>>0x18,_0x4ff76e[_0x24cd15]=_0x5f7422,_0x5cc7ed?(_0x5cc7ed=_0x477e60^_0x1dda29[_0x1dda29[_0x1dda29[_0x460ede^_0x477e60]]],_0x4954af^=_0x1dda29[_0x1dda29[_0x4954af]]):_0x5cc7ed=_0x4954af=0x1;}}());var _0x5269ac=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x13ed19=_0x3ee577[_0x4c0be6(0x4ce)]=_0x5a3eee[_0x4c0be6(0x29d)]({'_doReset':function(){var _0x1a7677=_0x4c0be6,_0x29ff08;if(!(this[_0x1a7677(0x35b)]&&this['_keyPriorReset']===this['_key'])){for(var _0x828cba=this['_keyPriorReset']=this[_0x1a7677(0x42a)],_0x465bf3=_0x828cba['words'],_0x5afae2=_0x828cba[_0x1a7677(0x3d8)]/0x4,_0x73af09=this[_0x1a7677(0x35b)]=_0x5afae2+0x6,_0x559695=(_0x73af09+0x1)*0x4,_0x430f99=this['_keySchedule']=[],_0x164d1e=0x0;_0x164d1e<_0x559695;_0x164d1e++)_0x164d1e<_0x5afae2?_0x430f99[_0x164d1e]=_0x465bf3[_0x164d1e]:(_0x29ff08=_0x430f99[_0x164d1e-0x1],_0x164d1e%_0x5afae2?_0x5afae2>0x6&&_0x164d1e%_0x5afae2==0x4&&(_0x29ff08=_0x14e637[_0x29ff08>>>0x18]<<0x18|_0x14e637[_0x29ff08>>>0x10&0xff]<<0x10|_0x14e637[_0x29ff08>>>0x8&0xff]<<0x8|_0x14e637[_0x29ff08&0xff]):(_0x29ff08=_0x29ff08<<0x8|_0x29ff08>>>0x18,_0x29ff08=_0x14e637[_0x29ff08>>>0x18]<<0x18|_0x14e637[_0x29ff08>>>0x10&0xff]<<0x10|_0x14e637[_0x29ff08>>>0x8&0xff]<<0x8|_0x14e637[_0x29ff08&0xff],_0x29ff08^=_0x5269ac[_0x164d1e/_0x5afae2|0x0]<<0x18),_0x430f99[_0x164d1e]=_0x430f99[_0x164d1e-_0x5afae2]^_0x29ff08);for(var _0x3ec1fb=this[_0x1a7677(0x3f1)]=[],_0x18f291=0x0;_0x18f291<_0x559695;_0x18f291++){var _0x164d1e=_0x559695-_0x18f291;if(_0x18f291%0x4)var _0x29ff08=_0x430f99[_0x164d1e];else var _0x29ff08=_0x430f99[_0x164d1e-0x4];_0x18f291<0x4||_0x164d1e<=0x4?_0x3ec1fb[_0x18f291]=_0x29ff08:_0x3ec1fb[_0x18f291]=_0x1afd56[_0x14e637[_0x29ff08>>>0x18]]^_0x152fe8[_0x14e637[_0x29ff08>>>0x10&0xff]]^_0x1ceef5[_0x14e637[_0x29ff08>>>0x8&0xff]]^_0x4ff76e[_0x14e637[_0x29ff08&0xff]];}}},'encryptBlock':function(_0x5bd17c,_0x2d0c5e){var _0x2a6fef=_0x4c0be6;this[_0x2a6fef(0x38f)](_0x5bd17c,_0x2d0c5e,this['_keySchedule'],_0x36798d,_0x31d55c,_0x277e74,_0x24c8d9,_0x14e637);},'decryptBlock':function(_0x1b290f,_0x577fa0){var _0x4473a0=_0x4c0be6,_0x4d69ff=_0x1b290f[_0x577fa0+0x1];_0x1b290f[_0x577fa0+0x1]=_0x1b290f[_0x577fa0+0x3],_0x1b290f[_0x577fa0+0x3]=_0x4d69ff,this[_0x4473a0(0x38f)](_0x1b290f,_0x577fa0,this[_0x4473a0(0x3f1)],_0x1afd56,_0x152fe8,_0x1ceef5,_0x4ff76e,_0x1c24f4);var _0x4d69ff=_0x1b290f[_0x577fa0+0x1];_0x1b290f[_0x577fa0+0x1]=_0x1b290f[_0x577fa0+0x3],_0x1b290f[_0x577fa0+0x3]=_0x4d69ff;},'_doCryptBlock':function(_0x15007c,_0x526d4c,_0xf41a4,_0x3231c0,_0x5550bf,_0x118c0e,_0x11fd01,_0x574bd6){for(var _0x8abd95=this['_nRounds'],_0x3d70c1=_0x15007c[_0x526d4c]^_0xf41a4[0x0],_0x291650=_0x15007c[_0x526d4c+0x1]^_0xf41a4[0x1],_0x5c8877=_0x15007c[_0x526d4c+0x2]^_0xf41a4[0x2],_0x737986=_0x15007c[_0x526d4c+0x3]^_0xf41a4[0x3],_0x19092=0x4,_0xd2c04=0x1;_0xd2c04<_0x8abd95;_0xd2c04++){var _0x4f6bc0=_0x3231c0[_0x3d70c1>>>0x18]^_0x5550bf[_0x291650>>>0x10&0xff]^_0x118c0e[_0x5c8877>>>0x8&0xff]^_0x11fd01[_0x737986&0xff]^_0xf41a4[_0x19092++],_0x99306c=_0x3231c0[_0x291650>>>0x18]^_0x5550bf[_0x5c8877>>>0x10&0xff]^_0x118c0e[_0x737986>>>0x8&0xff]^_0x11fd01[_0x3d70c1&0xff]^_0xf41a4[_0x19092++],_0x432156=_0x3231c0[_0x5c8877>>>0x18]^_0x5550bf[_0x737986>>>0x10&0xff]^_0x118c0e[_0x3d70c1>>>0x8&0xff]^_0x11fd01[_0x291650&0xff]^_0xf41a4[_0x19092++],_0x43aeaa=_0x3231c0[_0x737986>>>0x18]^_0x5550bf[_0x3d70c1>>>0x10&0xff]^_0x118c0e[_0x291650>>>0x8&0xff]^_0x11fd01[_0x5c8877&0xff]^_0xf41a4[_0x19092++];_0x3d70c1=_0x4f6bc0,_0x291650=_0x99306c,_0x5c8877=_0x432156,_0x737986=_0x43aeaa;}var _0x4f6bc0=(_0x574bd6[_0x3d70c1>>>0x18]<<0x18|_0x574bd6[_0x291650>>>0x10&0xff]<<0x10|_0x574bd6[_0x5c8877>>>0x8&0xff]<<0x8|_0x574bd6[_0x737986&0xff])^_0xf41a4[_0x19092++],_0x99306c=(_0x574bd6[_0x291650>>>0x18]<<0x18|_0x574bd6[_0x5c8877>>>0x10&0xff]<<0x10|_0x574bd6[_0x737986>>>0x8&0xff]<<0x8|_0x574bd6[_0x3d70c1&0xff])^_0xf41a4[_0x19092++],_0x432156=(_0x574bd6[_0x5c8877>>>0x18]<<0x18|_0x574bd6[_0x737986>>>0x10&0xff]<<0x10|_0x574bd6[_0x3d70c1>>>0x8&0xff]<<0x8|_0x574bd6[_0x291650&0xff])^_0xf41a4[_0x19092++],_0x43aeaa=(_0x574bd6[_0x737986>>>0x18]<<0x18|_0x574bd6[_0x3d70c1>>>0x10&0xff]<<0x10|_0x574bd6[_0x291650>>>0x8&0xff]<<0x8|_0x574bd6[_0x5c8877&0xff])^_0xf41a4[_0x19092++];_0x15007c[_0x526d4c]=_0x4f6bc0,_0x15007c[_0x526d4c+0x1]=_0x99306c,_0x15007c[_0x526d4c+0x2]=_0x432156,_0x15007c[_0x526d4c+0x3]=_0x43aeaa;},'keySize':0x100/0x20});_0x418d2a[_0x4c0be6(0x4ce)]=_0x5a3eee[_0x4c0be6(0x3c3)](_0x13ed19);}()),_0x180df7[_0x901443(0x4ce)];}));}(_0x28f2b7)),_0x28f2b7['exports'];}var _0x3b896c=_0x1474fa();const _0x40e951=_0x38b545(_0x3b896c);var _0x34a9de=_0x3b52ae();const _0x4ed691=_0x38b545(_0x34a9de);var _0xbfbfc8={'exports':{}},_0x27b010=_0xbfbfc8[_0x212abf(0x3a6)],_0xb1e6de;function _0xdd2be(){var _0x44c14f=_0x212abf;return _0xb1e6de||(_0xb1e6de=0x1,function(_0xba131b,_0x4282ab){(function(_0x521b73,_0x51e530){var _0x12008f=_0x1abf;_0xba131b[_0x12008f(0x3a6)]=_0x51e530(_0x13d30e());}(_0x27b010,function(_0x59abdf){var _0x483120=_0x1abf;return _0x59abdf['enc'][_0x483120(0x22f)];}));}(_0xbfbfc8)),_0xbfbfc8[_0x44c14f(0x3a6)];}var _0x44d300=_0xdd2be();const _0x491234=_0x38b545(_0x44d300);var _0x5a5bfd={'exports':{}},_0x5bd99f=_0x5a5bfd[_0x212abf(0x3a6)],_0x4655b5;function _0x5b828e(){return _0x4655b5||(_0x4655b5=0x1,function(_0x200731,_0x418d78){(function(_0x3765ca,_0x45f596){_0x200731['exports']=_0x45f596(_0x13d30e());}(_0x5bd99f,function(_0x5d60f5){return(function(){var _0x3af98f=_0x1abf;if(typeof ArrayBuffer=='function'){var _0x404731=_0x5d60f5,_0xe7b390=_0x404731['lib'],_0x208163=_0xe7b390[_0x3af98f(0x2e1)],_0x51aff5=_0x208163[_0x3af98f(0x363)],_0x3fc757=_0x208163[_0x3af98f(0x363)]=function(_0x3a0d6d){var _0x54b48b=_0x3af98f;if(_0x3a0d6d instanceof ArrayBuffer&&(_0x3a0d6d=new Uint8Array(_0x3a0d6d)),(_0x3a0d6d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3a0d6d instanceof Uint8ClampedArray||_0x3a0d6d instanceof Int16Array||_0x3a0d6d instanceof Uint16Array||_0x3a0d6d instanceof Int32Array||_0x3a0d6d instanceof Uint32Array||_0x3a0d6d instanceof Float32Array||_0x3a0d6d instanceof Float64Array)&&(_0x3a0d6d=new Uint8Array(_0x3a0d6d[_0x54b48b(0x4c2)],_0x3a0d6d[_0x54b48b(0x1b6)],_0x3a0d6d[_0x54b48b(0x19a)])),_0x3a0d6d instanceof Uint8Array){for(var _0x4d8fae=_0x3a0d6d[_0x54b48b(0x19a)],_0x2aee43=[],_0x3d31e2=0x0;_0x3d31e2<_0x4d8fae;_0x3d31e2++)_0x2aee43[_0x3d31e2>>>0x2]|=_0x3a0d6d[_0x3d31e2]<<0x18-_0x3d31e2%0x4*0x8;_0x51aff5[_0x54b48b(0x2b1)](this,_0x2aee43,_0x4d8fae);}else _0x51aff5[_0x54b48b(0x29e)](this,arguments);};_0x3fc757[_0x3af98f(0x1ec)]=_0x208163;}}()),_0x5d60f5['lib']['WordArray'];}));}(_0x5a5bfd)),_0x5a5bfd['exports'];}var _0x320bff=_0x5b828e();const _0x476988=_0x38b545(_0x320bff);var _0x3ee420={'exports':{}},_0xe020d1=_0x3ee420[_0x212abf(0x3a6)],_0x22895d;function _0xdfee5e(){var _0x4e1ab8=_0x212abf;return _0x22895d||(_0x22895d=0x1,function(_0x1f25c1,_0x4b56be){(function(_0x1bec16,_0xb19f1b,_0x1071f4){var _0x153814=_0x1abf;_0x1f25c1[_0x153814(0x3a6)]=_0xb19f1b(_0x13d30e(),_0x4b29c1());}(_0xe020d1,function(_0x37a00c){var _0x3c8fae=_0x1abf;return _0x37a00c[_0x3c8fae(0x1c7)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x37a00c[_0x3c8fae(0x1c7)][_0x3c8fae(0x4be)];}));}(_0x3ee420)),_0x3ee420[_0x4e1ab8(0x3a6)];}var _0x5013ab=_0xdfee5e();const _0x309dd8=_0x38b545(_0x5013ab);function _0x92805e(_0x42112b,_0x5c3de9){var _0xa5c028=_0x212abf;const _0x140850=_0x5c3de9-_0x42112b[_0xa5c028(0x2e2)]%_0x5c3de9,_0x5ea9e2=String[_0xa5c028(0x45d)](_0x140850)[_0xa5c028(0x34d)](_0x140850);return _0x42112b+_0x5ea9e2;}function _0x38f49b(_0x39339d,_0x34d364){var _0x450322=_0x212abf;const _0x2d0c3f=_0x476988[_0x450322(0x4da)](0x10),_0x421d37=_0x92805e(_0x39339d,0x10),_0x3a33e1=_0x40e951['encrypt'](_0x491234[_0x450322(0x1bd)](_0x421d37),_0x4ed691[_0x450322(0x1bd)](_0x34d364),{'iv':_0x2d0c3f,'padding':_0x309dd8});return _0x2d0c3f[_0x450322(0x45c)](_0x3a33e1[_0x450322(0x2ce)])[_0x450322(0x381)](_0x4ed691);}function _0x275c11(){var _0x1319b1=_0x212abf;const _0x23daed=_0x4bc4b5[_0x1319b1(0x417)]()[_0x1319b1(0x41d)];if(typeof window<'u'&&typeof window[_0x1319b1(0x4d5)]<'u'&&_0x23daed){const _0x5b812a={'time':Math[_0x1319b1(0x2fc)](Date[_0x1319b1(0x3c6)]()/0x3e8),'domain':location[_0x1319b1(0x2bf)]};return _0x38f49b(JSON['stringify'](_0x5b812a),_0x23daed);}}var _0x1b2dc1=Object[_0x212abf(0x1f8)],_0x318440=(_0x2ca32a,_0x13c6cc,_0x55fa91,_0x5674c4)=>{for(var _0x41ff19=_0x5674c4>0x1?void 0x0:_0x5674c4?_0x1b2dc1(_0x13c6cc,_0x55fa91):_0x13c6cc,_0x3a413c=_0x2ca32a['length']-0x1,_0x345fe0;_0x3a413c>=0x0;_0x3a413c--)(_0x345fe0=_0x2ca32a[_0x3a413c])&&(_0x41ff19=_0x345fe0(_0x41ff19)||_0x41ff19);return _0x41ff19;},_0x58ef1c=(_0x553c35,_0x189539)=>(_0x419380,_0x310ce7)=>_0x189539(_0x419380,_0x310ce7,_0x553c35);let _0x588a4d=class{constructor(_0x594d04){var _0x3a98fa=_0x212abf;this[_0x3a98fa(0x338)]=_0x594d04,this[_0x3a98fa(0x459)]();}[_0x212abf(0x459)](){var _0x25fa39=_0x212abf;this['_httpService'][_0x25fa39(0x33a)]({'interceptor':(_0x4a871f,_0x526485)=>{var _0x275b7f=_0x25fa39;const _0x5a5a34=_0x4a871f[_0x275b7f(0x4d8)],_0x445062=_0x275c11();return _0x445062&&_0x5a5a34[_0x275b7f(0x214)]('x-univer-host',_0x445062),_0x526485(_0x4a871f);}});}};_0x588a4d=_0x318440([_0x58ef1c(0x0,_0x2695a7['Inject'](_0x3e19df[_0x212abf(0x355)]))],_0x588a4d);var _0x134a05=Object[_0x212abf(0x1f8)],_0xc3258f=(_0xa1e752,_0x217f81,_0x79bb6b,_0x2e8088)=>{var _0x728fb9=_0x212abf;for(var _0xea5d10=_0x2e8088>0x1?void 0x0:_0x2e8088?_0x134a05(_0x217f81,_0x79bb6b):_0x217f81,_0x192e99=_0xa1e752[_0x728fb9(0x2e2)]-0x1,_0x5819fe;_0x192e99>=0x0;_0x192e99--)(_0x5819fe=_0xa1e752[_0x192e99])&&(_0xea5d10=_0x5819fe(_0xea5d10)||_0xea5d10);return _0xea5d10;},_0x13a41b=(_0x10308f,_0x5268d5)=>(_0x5e41d1,_0x59ffca)=>_0x5268d5(_0x5e41d1,_0x59ffca,_0x10308f);_0x1c6aa2[_0x212abf(0x36c)]=class extends _0x2695a7[_0x212abf(0x1be)]{constructor(_0x432499,_0x1a977f,_0x2218ad){var _0x32fd3f=_0x212abf;super(),_0x110376(this,_0x32fd3f(0x1ac),new _0x3b3710[(_0x32fd3f(0x2ed))](null)),_0x110376(this,_0x32fd3f(0x201),this['_unitInfo$'][_0x32fd3f(0x3a2)]()),(this[_0x32fd3f(0x24b)]=_0x432499,this[_0x32fd3f(0x2ac)]=_0x1a977f,this[_0x32fd3f(0x1ce)]=_0x2218ad);}async[_0x212abf(0x308)](_0x4531d5,_0x58a715,_0x58876d){var _0x1c7c73=_0x212abf;this[_0x1c7c73(0x1ac)][_0x1c7c73(0x185)]({'unitId':_0x4531d5,'type':_0x58a715});let _0x39c5c=null;switch(_0x58a715){case _0x10d356[_0x1c7c73(0x2e8)]:{_0x39c5c=await this['_snapshotService'][_0x1c7c73(0x418)](_0x4531d5,_0x58876d);break;}case _0x10d356[_0x1c7c73(0x286)]:{_0x39c5c=await this[_0x1c7c73(0x2ac)][_0x1c7c73(0x33c)](_0x4531d5,_0x58876d);break;}default:{this[_0x1c7c73(0x24b)][_0x1c7c73(0x4c9)]('[DataLoaderService]',_0x1c7c73(0x16f));break;}}return _0x39c5c;}async['loadUnit'](_0x1040e2,_0x43758b,_0x3e9c47){var _0xe3cb68=_0x212abf,_0x1b0f12;this[_0xe3cb68(0x1ac)][_0xe3cb68(0x185)]({'unitId':_0x1040e2,'type':_0x43758b,'subUnitId':_0x3e9c47});let _0x18b18f=0x0;const _0x22bbe5=await((_0x1b0f12=this[_0xe3cb68(0x1ce)])==null?void 0x0:_0x1b0f12['loadOfflineData'](_0x1040e2));return _0x22bbe5&&(_0x22bbe5[_0xe3cb68(0x196)]||_0x22bbe5['mutations'][_0xe3cb68(0x2e2)]!==0x0)&&(_0x18b18f=_0x22bbe5[_0xe3cb68(0x267)]),_0x18b18f===0x0&&this[_0xe3cb68(0x24b)][_0xe3cb68(0x2c2)](_0xe3cb68(0x3cc),_0xe3cb68(0x49b)),this[_0xe3cb68(0x308)](_0x1040e2,_0x43758b,_0x18b18f);}},_0x1c6aa2['DataLoaderService']=_0xc3258f([_0x13a41b(0x0,_0x2695a7[_0x212abf(0x1e4)]),_0x13a41b(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x425665[_0x212abf(0x4b1)])),_0x13a41b(0x2,_0x2695a7['Optional'](_0x387771))],_0x1c6aa2[_0x212abf(0x36c)]);var _0x4ab292=Object['getOwnPropertyDescriptor'],_0x465937=(_0x1e1817,_0x2a42ce,_0x56ccfe,_0x5a8a9c)=>{var _0x5f1808=_0x212abf;for(var _0x5ebca8=_0x5a8a9c>0x1?void 0x0:_0x5a8a9c?_0x4ab292(_0x2a42ce,_0x56ccfe):_0x2a42ce,_0x126ddd=_0x1e1817[_0x5f1808(0x2e2)]-0x1,_0x297223;_0x126ddd>=0x0;_0x126ddd--)(_0x297223=_0x1e1817[_0x126ddd])&&(_0x5ebca8=_0x297223(_0x5ebca8)||_0x5ebca8);return _0x5ebca8;},_0x28d0fd=(_0x143f8c,_0x583938)=>(_0x2bd4b8,_0x131cf9)=>_0x583938(_0x2bd4b8,_0x131cf9,_0x143f8c);const _0x3960f2=[_0x212abf(0x45f),_0x212abf(0x45a),_0x212abf(0x340),_0x212abf(0x426),_0x212abf(0x1ba)],_0xb9e511=0x5*0x400*0x400,_0x592657=_0x212abf(0x3a0),_0x2012f8=_0x212abf(0x33d);_0x1c6aa2[_0x212abf(0x269)]=class{constructor(_0x235739,_0x53a405,_0x459871){var _0x15a797=_0x212abf;_0x110376(this,'_waitCount',0x0),_0x110376(this,_0x15a797(0x31d),new _0x3b3710[(_0x15a797(0x1bc))]()),_0x110376(this,_0x15a797(0x4b2),this['_change$']),_0x110376(this,_0x15a797(0x3f9),new Map()),(this[_0x15a797(0x338)]=_0x235739,this[_0x15a797(0x172)]=_0x53a405,this[_0x15a797(0x490)]=_0x459871);}[_0x212abf(0x440)](_0x11e4c3){var _0x312559=_0x212abf;this[_0x312559(0x176)]=_0x11e4c3,this[_0x312559(0x31d)]['next'](_0x11e4c3);}[_0x212abf(0x3ad)](_0x14a459,_0x35c01c){var _0x5ea7bf=_0x212abf;if(_0x35c01c===_0x46bfdb[_0x5ea7bf(0x28d)][_0x5ea7bf(0x29f)]){const _0x52aa1b=new Image();return _0x52aa1b['src']=_0x14a459,_0x52aa1b;}return this[_0x5ea7bf(0x3f9)][_0x5ea7bf(0x2e4)](_0x14a459);}[_0x212abf(0x3f7)](_0x49d446,_0x407cd0,_0x5a5324){var _0x16ff23=_0x212abf;_0x407cd0===_0x46bfdb[_0x16ff23(0x28d)]['BASE64']||_0x5a5324==null||this['_imageSourceCache'][_0x16ff23(0x214)](_0x49d446,_0x5a5324);}async[_0x212abf(0x376)](_0x4f4aa2){var _0x4d2b3c=_0x212abf;try{const _0x1051f7=this[_0x4d2b3c(0x403)](this[_0x4d2b3c(0x411)](),''+_0x4f4aa2),_0x4f81e3=(await this[_0x4d2b3c(0x338)][_0x4d2b3c(0x2e4)](_0x1051f7))['body'];if(_0x4f81e3[_0x4d2b3c(0x4c9)]&&_0x4f81e3[_0x4d2b3c(0x4c9)][_0x4d2b3c(0x4bc)]===_0x50d3e0['OK']){const _0x1253b1=_0x2695a7['resolveWithBasePath'](_0x4f81e3[_0x4d2b3c(0x50a)],this[_0x4d2b3c(0x325)]());return Promise['resolve'](_0x1253b1);}return Promise[_0x4d2b3c(0x3b8)](_0x4f81e3[_0x4d2b3c(0x4c9)]);}catch(_0x4bc10d){return Promise[_0x4d2b3c(0x3b8)](_0x4bc10d);}}async[_0x212abf(0x16e)](_0xf71694){var _0x1ae9e4=_0x212abf;let _0x2a3f33='';if(!_0x3960f2[_0x1ae9e4(0x2ec)](_0xf71694[_0x1ae9e4(0x306)]))return this['_decreaseWaiting'](),Promise[_0x1ae9e4(0x3b8)](new Error(_0x46bfdb[_0x1ae9e4(0x32a)][_0x1ae9e4(0x291)]));if(_0xf71694[_0x1ae9e4(0x1f7)]>_0xb9e511)return this[_0x1ae9e4(0x39e)](),Promise[_0x1ae9e4(0x3b8)](new Error(_0x46bfdb[_0x1ae9e4(0x32a)][_0x1ae9e4(0x434)]));try{const _0x529f80=new FormData();_0x529f80[_0x1ae9e4(0x2a4)](_0x1ae9e4(0x350),_0xf71694);const _0x8a2169=this['_univerInstanceService']['getFocusedUnit'](),_0x5c12cc=_0x8a2169==null?void 0x0:_0x8a2169[_0x1ae9e4(0x33b)]();if(!_0x5c12cc)throw new Error(_0x1ae9e4(0x27a));const _0x2b523b=this[_0x1ae9e4(0x342)]()+_0x1ae9e4(0x2cd)+_0xf71694[_0x1ae9e4(0x1f7)][_0x1ae9e4(0x381)]()+_0x1ae9e4(0x268)+_0x4d4f2c[_0x1ae9e4(0x3f6)]+_0x1ae9e4(0x2fb)+encodeURIComponent(_0x5c12cc),_0x175d5f={'body':_0x529f80},_0x396db9=(await this['_httpService']['post'](_0x2b523b,_0x175d5f))[_0x1ae9e4(0x420)];if(typeof _0x396db9[_0x1ae9e4(0x23d)]!=_0x1ae9e4(0x265))return this[_0x1ae9e4(0x39e)](),Promise[_0x1ae9e4(0x3b8)](new Error(_0x46bfdb[_0x1ae9e4(0x32a)][_0x1ae9e4(0x2b5)]));_0x2a3f33=_0x396db9[_0x1ae9e4(0x23d)];}catch{return this['_decreaseWaiting'](),Promise[_0x1ae9e4(0x3b8)](new Error(_0x46bfdb[_0x1ae9e4(0x32a)]['ERROR_IMAGE']));}return new Promise((_0x250c96,_0x215f26)=>{var _0x26a812=_0x1ae9e4;const _0x27bafd=new FileReader();_0x27bafd[_0x26a812(0x4af)](_0xf71694),_0x27bafd[_0x26a812(0x4b9)]=_0x5739be=>{var _0x1015a9=_0x26a812,_0x41fce3;const _0x1d323d=(_0x41fce3=_0x5739be[_0x1015a9(0x2f5)])==null?void 0x0:_0x41fce3[_0x1015a9(0x4e1)];if(_0x1d323d==null){this[_0x1015a9(0x39e)](),_0x215f26(new Error(_0x46bfdb[_0x1015a9(0x32a)][_0x1015a9(0x2b5)]));return;}const _0x567c2b=_0x2695a7['generateRandomId'](0x6);_0x250c96({'imageId':_0x567c2b,'imageSourceType':_0x46bfdb[_0x1015a9(0x28d)][_0x1015a9(0x4ef)],'source':_0x2a3f33,'base64Cache':_0x1d323d,'status':_0x46bfdb[_0x1015a9(0x32a)][_0x1015a9(0x3a5)]}),this[_0x1015a9(0x39e)]();};});}[_0x212abf(0x342)](){var _0x216668=_0x212abf,_0x2e6771;const _0x38dbed=this['_configService'][_0x216668(0x3ea)](_0x391e6e);return(_0x2e6771=_0x38dbed==null?void 0x0:_0x38dbed[_0x216668(0x316)])!=null?_0x2e6771:_0x592657;}[_0x212abf(0x411)](){var _0x1347c4=_0x212abf,_0x1a4fcd;const _0x20105b=this['_configService']['getConfig'](_0x391e6e);return(_0x1a4fcd=_0x20105b==null?void 0x0:_0x20105b[_0x1347c4(0x446)])!=null?_0x1a4fcd:_0x2012f8;}['_getDownloadEndpointURL'](){var _0x49736c=_0x212abf,_0xb0c555;const _0x567366=this[_0x49736c(0x172)][_0x49736c(0x3ea)](_0x391e6e);return(_0xb0c555=_0x567366==null?void 0x0:_0x567366[_0x49736c(0x1ee)])!=null?_0xb0c555:location[_0x49736c(0x34f)];}['_replaceFileID'](_0xafe15c,_0x2d3712){var _0x3974b3=_0x212abf;return _0xafe15c[_0x3974b3(0x17b)]('{fileID}',_0x2d3712);}[_0x212abf(0x39e)](){var _0x1d5652=_0x212abf;this[_0x1d5652(0x176)]-=0x1,this[_0x1d5652(0x31d)]['next'](this[_0x1d5652(0x176)]);}},_0x1c6aa2[_0x212abf(0x269)]=_0x465937([_0x28d0fd(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df[_0x212abf(0x355)])),_0x28d0fd(0x1,_0x2695a7['IConfigService']),_0x28d0fd(0x2,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['IUniverInstanceService']))],_0x1c6aa2[_0x212abf(0x269)]);var _0x199a7b=Object['getOwnPropertyDescriptor'],_0x2bd17c=(_0x196fce,_0x3699ce,_0x5e1c04,_0x8f9cf5)=>{for(var _0x2d1d2f=_0x8f9cf5>0x1?void 0x0:_0x8f9cf5?_0x199a7b(_0x3699ce,_0x5e1c04):_0x3699ce,_0xd1ec95=_0x196fce['length']-0x1,_0x471710;_0xd1ec95>=0x0;_0xd1ec95--)(_0x471710=_0x196fce[_0xd1ec95])&&(_0x2d1d2f=_0x471710(_0x2d1d2f)||_0x2d1d2f);return _0x2d1d2f;},_0x189937=(_0x503549,_0x10e0d3)=>(_0x13c236,_0x294c73)=>_0x10e0d3(_0x13c236,_0x294c73,_0x503549);const _0x4d7704=_0x212abf(0x40d);_0x1c6aa2[_0x212abf(0x190)]=class{constructor(_0x1fcbd1,_0x118931){var _0x2ba905=_0x212abf;this[_0x2ba905(0x172)]=_0x1fcbd1,this[_0x2ba905(0x290)]=_0x118931;}[_0x212abf(0x485)](){var _0x26cece=_0x212abf,_0x161575;const _0x2071e4=this[_0x26cece(0x172)][_0x26cece(0x3ea)](_0x391e6e);return(_0x161575=_0x2071e4==null?void 0x0:_0x2071e4['authzUrl'])!=null?_0x161575:_0x4d7704;}async[_0x212abf(0x1fa)](_0x2e0cca){var _0xe59904=_0x212abf;const _0x230916=this[_0xe59904(0x485)]()+_0xe59904(0x2cc);return{'list':[{'title':_0xe59904(0x189),'mentions':(await this[_0xe59904(0x290)][_0xe59904(0x2e4)](_0x230916,{'params':{'objectID':_0x2e0cca[_0xe59904(0x4fa)],'unitID':_0x2e0cca[_0xe59904(0x4fa)]}}))['body']['collaborators']['map'](_0x298002=>({'objectId':_0x298002['id'],'name':_0x298002['subject'][_0xe59904(0x264)],'metadata':{'icon':_0x298002[_0xe59904(0x30c)][_0xe59904(0x4ad)]},'label':_0x298002[_0xe59904(0x30c)][_0xe59904(0x264)],'objectType':_0x2695a7['MentionType'][_0xe59904(0x1e6)]})),'metadata':{},'type':_0x2695a7[_0xe59904(0x389)][_0xe59904(0x1e6)]}]};}},_0x1c6aa2[_0x212abf(0x190)]=_0x2bd17c([_0x189937(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x333)])),_0x189937(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df[_0x212abf(0x355)]))],_0x1c6aa2['MentionIoHttpService']);var _0x21c558=Object['getOwnPropertyDescriptor'],_0x3e7693=(_0x5e6ab6,_0x136ab5,_0x267dbb,_0x53e9c0)=>{for(var _0x361d1b=_0x53e9c0>0x1?void 0x0:_0x53e9c0?_0x21c558(_0x136ab5,_0x267dbb):_0x136ab5,_0x54127a=_0x5e6ab6['length']-0x1,_0x297659;_0x54127a>=0x0;_0x54127a--)(_0x297659=_0x5e6ab6[_0x54127a])&&(_0x361d1b=_0x297659(_0x361d1b)||_0x361d1b);return _0x361d1b;},_0x527e87=(_0x2dbf06,_0x131fa3)=>(_0x3e8e9a,_0x4089ff)=>_0x131fa3(_0x3e8e9a,_0x4089ff,_0x2dbf06);let _0x20d2bb=class extends _0x2695a7[_0x212abf(0x1be)]{constructor(_0x39fd7c,_0x54707d,_0x41225f,_0x143104,_0x4272d3){var _0x3e6cff=_0x212abf;super(),this['_injector']=_0x39fd7c,this[_0x3e6cff(0x490)]=_0x54707d,this['_permissionService']=_0x41225f,this['_collaborationSessionService']=_0x143104,this[_0x3e6cff(0x32f)]=_0x4272d3,this[_0x3e6cff(0x31f)](),this[_0x3e6cff(0x489)]();}[_0x212abf(0x489)](){var _0x38a298=_0x212abf;const _0x415682=async _0x55608c=>{var _0x3c7b45=_0x1abf;(await this[_0x3c7b45(0x402)][_0x3c7b45(0x1c3)](_0x55608c))['event$']['pipe'](_0xc987a3[_0x3c7b45(0x305)](_0x532433=>_0x532433['eventID']===_0x425665[_0x3c7b45(0x3c4)][_0x3c7b45(0x2ae)]),_0xc987a3[_0x3c7b45(0x4cd)](this['dispose$']))[_0x3c7b45(0x23e)](_0x2fdcad=>{var _0xcd7731=_0x3c7b45;const _0x506e87=_0x2fdcad,{reason:_0x34b46b}=_0x506e87['data'];this[_0xcd7731(0x32f)][_0xcd7731(0x3ab)]({'id':_0x5ab775[_0xcd7731(0x326)],'data':_0x34b46b}),this['_permissionService'][_0xcd7731(0x3c1)](new _0x57749b['WorkbookEditablePermission'](_0x55608c)['id'],!0x1),this[_0xcd7731(0x402)][_0xcd7731(0x296)](_0x55608c);});};_0x3b3710[_0x38a298(0x3b6)](this[_0x38a298(0x490)][_0x38a298(0x2c1)](_0x2695a7['UniverInstanceType'][_0x38a298(0x2e8)]),this[_0x38a298(0x490)][_0x38a298(0x2c1)](_0x2695a7[_0x38a298(0x187)]['UNIVER_DOC']))['pipe'](_0xc987a3[_0x38a298(0x1eb)](_0x4e1933=>_0x4e1933['getUnitId']()),_0xc987a3['filter'](_0x3e42d9=>!_0x2695a7[_0x38a298(0x3df)](_0x3e42d9)),_0xc987a3[_0x38a298(0x4cd)](this[_0x38a298(0x4fd)]))[_0x38a298(0x23e)](_0x78a1b6=>{_0x415682(_0x78a1b6);});}[_0x212abf(0x31f)](){var _0x59a0f6=_0x212abf;const _0x584317=async _0x52e299=>{var _0x30db55=_0x1abf;const _0x33a4bb=await this[_0x30db55(0x402)][_0x30db55(0x1c3)](_0x52e299),_0x318040=this['_injector']['get'](_0x57749b['SheetPermissionInitController']);_0x33a4bb[_0x30db55(0x497)][_0x30db55(0x1b2)](_0xc987a3['filter'](_0x15c6c5=>_0x15c6c5['eventID']===_0x425665[_0x30db55(0x3c4)][_0x30db55(0x2b9)]),_0xc987a3[_0x30db55(0x4cd)](this['dispose$']))[_0x30db55(0x23e)](_0x50aa20=>{var _0x39581b=_0x30db55;const _0x244169=_0x50aa20,{objectId:_0x257c61}=_0x244169[_0x39581b(0x28c)];_0x257c61===_0x52e299?_0x318040[_0x39581b(0x1a8)](_0x52e299):_0x318040['refreshPermission'](_0x52e299,_0x257c61);});};_0x3b3710[_0x59a0f6(0x3b6)](this['_univerInstanceService'][_0x59a0f6(0x2c1)](_0x2695a7[_0x59a0f6(0x187)][_0x59a0f6(0x2e8)]))[_0x59a0f6(0x1b2)](_0xc987a3[_0x59a0f6(0x1eb)](_0x1448a3=>_0x1448a3['getUnitId']()),_0xc987a3[_0x59a0f6(0x305)](_0x161053=>!_0x2695a7[_0x59a0f6(0x3df)](_0x161053)),_0xc987a3[_0x59a0f6(0x4cd)](this[_0x59a0f6(0x4fd)]))[_0x59a0f6(0x23e)](_0x3b70db=>{_0x584317(_0x3b70db);});}};_0x20d2bb=_0x3e7693([_0x527e87(0x0,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7[_0x212abf(0x415)])),_0x527e87(0x1,_0x2695a7[_0x212abf(0x4ed)]),_0x527e87(0x2,_0x2695a7[_0x212abf(0x222)]),_0x527e87(0x3,_0x2695a7[_0x212abf(0x4c1)](_0x1c6aa2[_0x212abf(0x319)])),_0x527e87(0x4,_0x2695a7['Inject'](_0xfe53d))],_0x20d2bb);var _0x3a2a20=Object['getOwnPropertyDescriptor'],_0x4ae3ef=(_0x4ce13b,_0x4ab948,_0x385f6b,_0x30ab17)=>{for(var _0x13182d=_0x30ab17>0x1?void 0x0:_0x30ab17?_0x3a2a20(_0x4ab948,_0x385f6b):_0x4ab948,_0x9d9765=_0x4ce13b['length']-0x1,_0x411459;_0x9d9765>=0x0;_0x9d9765--)(_0x411459=_0x4ce13b[_0x9d9765])&&(_0x13182d=_0x411459(_0x13182d)||_0x13182d);return _0x13182d;},_0x53c304=(_0x210c26,_0x5c8326)=>(_0x553535,_0x154cbd)=>_0x5c8326(_0x553535,_0x154cbd,_0x210c26);_0x1c6aa2[_0x212abf(0x429)]=class{constructor(_0x277fa,_0xac7672){var _0xba7d8=_0x212abf;this['_configService']=_0x277fa,this[_0xba7d8(0x338)]=_0xac7672;}async['getUnitOnRev'](_0x41abb1,_0x2eeb46){var _0x2dc948=_0x212abf,_0x31a2f2;const {unitID:_0x3c2624,type:_0x3f09d5,revision:_0x210179=0x0}=_0x2eeb46,_0x5be0ec=this[_0x2dc948(0x486)]()+'/'+_0x3f09d5+_0x2dc948(0x304)+_0x3c2624+'/rev/'+_0x210179,_0x490db9=(await this[_0x2dc948(0x338)][_0x2dc948(0x2e4)](_0x5be0ec))[_0x2dc948(0x420)],_0x1faea1=(_0x31a2f2=_0x490db9[_0x2dc948(0x421)])==null?void 0x0:_0x31a2f2[_0x2dc948(0x1c0)];if(_0x1faea1){const _0x1a03aa=_0x1faea1==null?void 0x0:_0x1faea1['originalMeta'],_0x4e49d9=_0x425665[_0x2dc948(0x1c6)]['encode'](_0x425665[_0x2dc948(0x4aa)](_0x1a03aa));_0x1faea1[_0x2dc948(0x24e)]=_0x4e49d9,Object[_0x2dc948(0x292)](_0x1faea1[_0x2dc948(0x3fd)])['forEach'](([,_0x1446b8])=>{var _0x38656b=_0x2dc948;const _0x393526=_0x1446b8[_0x38656b(0x24e)],_0x3a737b=_0x425665[_0x38656b(0x1c6)][_0x38656b(0x23b)](_0x425665[_0x38656b(0x4aa)](_0x393526));_0x1446b8[_0x38656b(0x24e)]=_0x3a737b;});}return _0x490db9;}async[_0x212abf(0x3d3)](_0x3b6f6a,_0x489175){var _0x495a0a=_0x212abf;const {unitID:_0x345d93,type:_0x1cca02,blockID:_0x4f56e3}=_0x489175,_0x328ef1=this[_0x495a0a(0x47f)]()+'/'+_0x1cca02+_0x495a0a(0x304)+_0x345d93+_0x495a0a(0x198)+_0x4f56e3;return(await this[_0x495a0a(0x338)][_0x495a0a(0x2e4)](_0x328ef1))[_0x495a0a(0x420)];}async[_0x212abf(0x46a)](_0x495b88,_0x55bdf6){var _0x1ad3ee=_0x212abf;const {unitID:_0x5639f8,type:_0x10bcc2,blockID:_0x501d5e}=_0x55bdf6,_0x4d8d6b=this[_0x1ad3ee(0x47f)]()+_0x1ad3ee(0x198)+_0x10bcc2+'/unit/'+_0x5639f8+_0x1ad3ee(0x198)+_0x501d5e;return(await this[_0x1ad3ee(0x338)]['get'](_0x4d8d6b))[_0x1ad3ee(0x420)];}async[_0x212abf(0x372)](_0x52fa57,_0x3d846f){var _0x41d3a5=_0x212abf;const {unitID:_0x403a7b,type:_0x4a794b,from:_0x5ad5e5,to:_0x32bc88}=_0x3d846f,_0x164f57=this[_0x41d3a5(0x47f)]()+'/'+_0x4a794b+_0x41d3a5(0x304)+_0x403a7b+'/fetchmissing?from='+_0x5ad5e5+_0x41d3a5(0x334)+_0x32bc88;return(await this[_0x41d3a5(0x338)][_0x41d3a5(0x2e4)](_0x164f57))[_0x41d3a5(0x420)];}['getSnapshotAPIPath'](){var _0x46938c=_0x212abf,_0x521ac2;return(_0x521ac2=this[_0x46938c(0x172)][_0x46938c(0x3ea)](_0xad4b37))!=null?_0x521ac2:this[_0x46938c(0x47f)]();}[_0x212abf(0x47f)](){var _0x59d362=_0x212abf,_0x19d0c4;const _0x3cb330=this[_0x59d362(0x172)][_0x59d362(0x3ea)](_0x391e6e);return(_0x19d0c4=_0x3cb330==null?void 0x0:_0x3cb330[_0x59d362(0x405)])!=null?_0x19d0c4:_0x2eabe4;}async[_0x212abf(0x1a3)](_0x44c300,_0x48a6ef){var _0x36c0df=_0x212abf;const _0x15fbaf='/universer-api/snapshot/'+_0x48a6ef[_0x36c0df(0x306)]+_0x36c0df(0x304)+_0x48a6ef[_0x36c0df(0x254)]+'/resources';return(await this[_0x36c0df(0x338)]['get'](_0x15fbaf,{'params':{'resourceId':JSON['stringify'](_0x48a6ef[_0x36c0df(0x2af)])}}))[_0x36c0df(0x420)];}[_0x212abf(0x1a6)](){var _0x4cda0d=_0x212abf;throw new Error(_0x4cda0d(0x209));}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x212abf(0x2fd)](){var _0x268378=_0x212abf;throw new Error(_0x268378(0x209));}[_0x212abf(0x384)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x212abf(0x2a8)](){var _0x4c294d=_0x212abf;throw new Error(_0x4c294d(0x209));}[_0x212abf(0x2d2)](){var _0x416996=_0x212abf;throw new Error(_0x416996(0x209));}},_0x1c6aa2[_0x212abf(0x429)]=_0x4ae3ef([_0x53c304(0x0,_0x2695a7['IConfigService']),_0x53c304(0x1,_0x2695a7[_0x212abf(0x4c1)](_0x3e19df['HTTPService']))],_0x1c6aa2[_0x212abf(0x429)]);var _0x7cdff5=Object[_0x212abf(0x1f8)],_0x2c997c=(_0x32ea91,_0x33b029,_0x1fa26d,_0x3fc421)=>{for(var _0x5471f1=_0x3fc421>0x1?void 0x0:_0x3fc421?_0x7cdff5(_0x33b029,_0x1fa26d):_0x33b029,_0x2f9534=_0x32ea91['length']-0x1,_0xdd37e4;_0x2f9534>=0x0;_0x2f9534--)(_0xdd37e4=_0x32ea91[_0x2f9534])&&(_0x5471f1=_0xdd37e4(_0x5471f1)||_0x5471f1);return _0x5471f1;},_0x318d46=(_0x2cf85b,_0x573a15)=>(_0x5757aa,_0x1ef94c)=>_0x573a15(_0x5757aa,_0x1ef94c,_0x2cf85b);_0x1c6aa2[_0x212abf(0x202)]=class extends _0x2695a7[_0x212abf(0x2e7)]{constructor(_0x18e53a,_0x299016,_0x336daf,_0x2b532c,_0x410322){var _0x572e26=_0x212abf;super(_0x18e53a,_0x299016,_0x336daf),this[_0x572e26(0x500)]=_0x2b532c,this[_0x572e26(0x24b)]=_0x410322;}[_0x212abf(0x261)](_0x4bf7ce,_0x3c0760){var _0x46221c=_0x212abf;const _0x46af69=this[_0x46221c(0x250)](_0x4bf7ce);if(_0x46af69)try{const _0x56a654=this[_0x46221c(0x467)](_0x46af69,_0x3c0760);this[_0x46221c(0x30b)](_0x4bf7ce,_0x56a654);}catch(_0x10c726){this[_0x46221c(0x24b)][_0x46221c(0x4c9)](_0x46221c(0x424),_0x10c726),this[_0x46221c(0x180)](_0x4bf7ce);}const _0x298b6d=this['_getRedoStack'](_0x4bf7ce);if(_0x298b6d)try{const _0x39fb22=this[_0x46221c(0x467)](_0x298b6d,_0x3c0760);this['_substituteRedoStack'](_0x4bf7ce,_0x39fb22);}catch(_0x21aa80){this[_0x46221c(0x24b)][_0x46221c(0x4c9)](_0x21aa80),this[_0x46221c(0x46e)](_0x4bf7ce);}}['_clearUndo'](_0x53ad76){var _0x3eed9b=_0x212abf;const _0x2085dd=this['_getUndoStack'](_0x53ad76);_0x2085dd&&(_0x2085dd[_0x3eed9b(0x2e2)]=0x0,this[_0x3eed9b(0x466)]());}[_0x212abf(0x46e)](_0x55ef03){var _0x438236=_0x212abf;const _0x48ef57=this['_getRedoStack'](_0x55ef03);_0x48ef57&&(_0x48ef57[_0x438236(0x2e2)]=0x0,this[_0x438236(0x466)]());}['_substituteUndoStack'](_0x44df3e,_0x51dcd1){var _0x45799a=_0x212abf;this[_0x45799a(0x460)][_0x45799a(0x214)](_0x44df3e,_0x51dcd1),this[_0x45799a(0x466)]();}[_0x212abf(0x1b4)](_0x420333,_0x460a70){var _0x865fc4=_0x212abf;this[_0x865fc4(0x50e)][_0x865fc4(0x214)](_0x420333,_0x460a70),this['_updateStatus']();}[_0x212abf(0x467)](_0x583727,_0x135b18){var _0x5f0918=_0x212abf;const _0x4a7319=[];let _0x429718=_0x135b18,_0x21b24a=_0x135b18;for(let _0x44f90e=_0x583727[_0x5f0918(0x2e2)]-0x1;_0x44f90e>=0x0;_0x44f90e--){const {unitID:_0x175727,undoMutations:_0x2823b8,redoMutations:_0x2da7d5}=_0x583727[_0x44f90e],_0x3daa82=this[_0x5f0918(0x500)][_0x5f0918(0x2a2)](_0x429718,_0x2823b8),_0x29ced3=this['_transformService']['transformMutationsWithChangeset'](_0x21b24a,_0x2da7d5);if(_0x425665[_0x5f0918(0x40e)](_0x3daa82)||_0x425665[_0x5f0918(0x40e)](_0x29ced3)){this[_0x5f0918(0x24b)]['error'](_0x5f0918(0x424),_0x5f0918(0x3e9),_0x3daa82,_0x29ced3);break;}_0x429718=_0x3daa82['c1Prime'],_0x21b24a=_0x29ced3[_0x5f0918(0x228)],_0x4a7319[_0x5f0918(0x4d2)]({'unitID':_0x175727,'undoMutations':_0x3daa82[_0x5f0918(0x1fe)],'redoMutations':_0x29ced3[_0x5f0918(0x1fe)]});}return _0x4a7319['reverse']();}},_0x1c6aa2['CollaborativeUndoRedoService']=_0x2c997c([_0x318d46(0x0,_0x2695a7[_0x212abf(0x4ed)]),_0x318d46(0x1,_0x2695a7['ICommandService']),_0x318d46(0x2,_0x2695a7['IContextService']),_0x318d46(0x3,_0x425665['ITransformService']),_0x318d46(0x4,_0x2695a7[_0x212abf(0x1e4)])],_0x1c6aa2['CollaborativeUndoRedoService']);var _0x3c6332=Object[_0x212abf(0x272)],_0x1d2923=Object[_0x212abf(0x1f8)],_0x229979=(_0x41c7ed,_0x2d04fd,_0x4e6508)=>_0x2d04fd in _0x41c7ed?_0x3c6332(_0x41c7ed,_0x2d04fd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e6508}):_0x41c7ed[_0x2d04fd]=_0x4e6508,_0x351ae9=(_0x4bb7fe,_0x4fa617,_0x39a6c0,_0xdfb45a)=>{var _0x2558d3=_0x212abf;for(var _0x26b393=_0xdfb45a>0x1?void 0x0:_0xdfb45a?_0x1d2923(_0x4fa617,_0x39a6c0):_0x4fa617,_0x3826b7=_0x4bb7fe[_0x2558d3(0x2e2)]-0x1,_0x3360d4;_0x3826b7>=0x0;_0x3826b7--)(_0x3360d4=_0x4bb7fe[_0x3826b7])&&(_0x26b393=_0x3360d4(_0x26b393)||_0x26b393);return _0x26b393;},_0x4eef73=(_0x539378,_0x25d2b8)=>(_0x3a9155,_0x19f16a)=>_0x25d2b8(_0x3a9155,_0x19f16a,_0x539378),_0x30d666=(_0x2ab9a3,_0x1040b5,_0x13b65a)=>_0x229979(_0x2ab9a3,_0x1040b5+'',_0x13b65a);const _0x4cfaf5='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x1c6aa2[_0x212abf(0x44a)]=class extends _0x2695a7[_0x212abf(0x2f9)]{constructor(_0x185e47,_0x148009,_0x4b8da3,_0x254752){var _0x174c3a=_0x212abf;super(),_0x110376(this,_0x174c3a(0x3c5)),(this[_0x174c3a(0x24b)]=_0x148009,this['_injector']=_0x4b8da3,this[_0x174c3a(0x172)]=_0x254752);const {..._0x4c2a73}=_0x2695a7['merge']({},_0x1ddbc2,_0x185e47);if(!_0x4c2a73[_0x174c3a(0x1e5)])throw new Error(_0x174c3a(0x1ed));this[_0x174c3a(0x3c5)]=_0x4c2a73,this['_configService'][_0x174c3a(0x3d6)](_0x391e6e,_0x4c2a73);}[_0x212abf(0x346)](){var _0x2137a3=_0x212abf;this['_registerDependencies'](),this[_0x2137a3(0x2db)]();}[_0x212abf(0x1bf)](){var _0x14ba6a=_0x212abf,_0xa6934b,_0x5ec64d;this[_0x14ba6a(0x2e5)][_0x14ba6a(0x406)](_0x2695a7['IUndoRedoService'])&&this[_0x14ba6a(0x24b)][_0x14ba6a(0x4c9)](_0x14ba6a(0x3f4),_0x14ba6a(0x3e6));const _0x5dec93=_0x2695a7[_0x14ba6a(0x1b7)]([[_0x2695a7[_0x14ba6a(0x450)],{'useClass':_0x1c6aa2['CollaborativeUndoRedoService']}],[_0x1c6aa2[_0x14ba6a(0x319)]],[_0x1c6aa2[_0x14ba6a(0x2b0)]],[_0x1c6aa2[_0x14ba6a(0x48b)]],[_0x566f6a],[_0x588a4d],[_0x1360e0],[_0x20d2bb],[_0xfe53d],[_0x1c6aa2[_0x14ba6a(0x36c)]],[_0x43f90c,{'useClass':this[_0x14ba6a(0x3c5)][_0x14ba6a(0x1e5)]}],[_0x425665[_0x14ba6a(0x278)],{'useClass':_0x1c6aa2[_0x14ba6a(0x429)]}],[_0x2695a7[_0x14ba6a(0x37c)],{'useClass':_0x1c6aa2['AuthzIoHttpService']}],[_0x46bfdb[_0x14ba6a(0x311)],{'useClass':_0x1c6aa2[_0x14ba6a(0x269)]}],[_0x2695a7['IMentionIOService'],{'useClass':_0x1c6aa2[_0x14ba6a(0x190)]}],[_0x1c6aa2['CollaborationController']],[_0xe74a3e]],(_0xa6934b=this[_0x14ba6a(0x3c5)])==null?void 0x0:_0xa6934b['override']);if(!((_0x5ec64d=this[_0x14ba6a(0x3c5)])!=null&&_0x5ec64d['enableSingleActiveInstanceLock'])){const _0xeb9296=_0x5dec93['findIndex'](([_0x45e030])=>_0x45e030===_0x4993a0);_0xeb9296!==-0x1&&_0x5dec93[_0x14ba6a(0x2ad)](_0xeb9296,0x1);}_0x2695a7['registerDependencies'](this[_0x14ba6a(0x2e5)],_0x5dec93);}[_0x212abf(0x2db)](){var _0x21053e=_0x212abf,_0x58bd8e,_0x4a84d7,_0x1830a8;this[_0x21053e(0x2e5)][_0x21053e(0x2e4)](_0x3e19df[_0x21053e(0x355)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3e19df['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x58bd8e=this[_0x21053e(0x3c5)])!=null&&_0x58bd8e[_0x21053e(0x2c4)]||(_0x4a84d7=this[_0x21053e(0x2e5)][_0x21053e(0x2e4)](_0x387771,_0x2695a7[_0x21053e(0x49e)][_0x21053e(0x4e0)]))==null||_0x4a84d7[_0x21053e(0x416)](),(_0x1830a8=this['_config'])!=null&&_0x1830a8[_0x21053e(0x298)]&&_0x2695a7[_0x21053e(0x1b9)](this[_0x21053e(0x2e5)],[[_0x566f6a]]),_0x2695a7[_0x21053e(0x1b9)](this[_0x21053e(0x2e5)],[[_0x588a4d],[_0x1c6aa2[_0x21053e(0x46b)]],[_0x20d2bb]]);}},_0x30d666(_0x1c6aa2[_0x212abf(0x44a)],_0x212abf(0x25e),_0x4cfaf5),_0x1c6aa2[_0x212abf(0x44a)]=_0x351ae9([_0x2695a7[_0x212abf(0x25f)](_0x4bc4b5[_0x212abf(0x3d4)],_0x425665[_0x212abf(0x2f3)],_0x3e19df[_0x212abf(0x4a4)]),_0x4eef73(0x1,_0x2695a7[_0x212abf(0x1e4)]),_0x4eef73(0x2,_0x2695a7[_0x212abf(0x4c1)](_0x2695a7['Injector'])),_0x4eef73(0x3,_0x2695a7['IConfigService'])],_0x1c6aa2[_0x212abf(0x44a)]),_0x1c6aa2[_0x212abf(0x2a6)]=_0x391e6e,_0x1c6aa2[_0x212abf(0x491)]=_0x3422b2,_0x1c6aa2[_0x212abf(0x393)]=_0x5ab775,_0x1c6aa2['CollaborationUIEventService']=_0xfe53d,_0x1c6aa2[_0x212abf(0x1db)]=_0x1360e0,_0x1c6aa2['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x4154c7,_0x1c6aa2['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x3817ff,_0x1c6aa2[_0x212abf(0x4a1)]=_0x5f5a8d,_0x1c6aa2[_0x212abf(0x1f1)]=_0x3e40c1,_0x1c6aa2[_0x212abf(0x3af)]=_0xf20a7c,_0x1c6aa2[_0x212abf(0x40f)]=_0x43f90c,_0x1c6aa2[_0x212abf(0x2a5)]=_0x387771,_0x1c6aa2[_0x212abf(0x4f6)]=_0x47a09f,_0x1c6aa2[_0x212abf(0x492)]=_0x4993a0,_0x1c6aa2[_0x212abf(0x4a2)]=0x3e8,_0x1c6aa2[_0x212abf(0x1b8)]=_0x3929c8,_0x1c6aa2[_0x212abf(0x2b3)]=_0x2d8ee2,_0x1c6aa2[_0x212abf(0x3a3)]=_0xd794b,_0x1c6aa2[_0x212abf(0x19b)]=_0x1e024b,_0x1c6aa2[_0x212abf(0x170)]=_0x38f487,_0x1c6aa2[_0x212abf(0x4bf)]=_0x43d51c,_0x1c6aa2[_0x212abf(0x392)]=_0x5d22e3,_0x1c6aa2[_0x212abf(0x41c)]=_0x3d2f94,Object[_0x212abf(0x272)](_0x1c6aa2,Symbol[_0x212abf(0x28a)],{'value':_0x212abf(0x2fa)});}));function _0x54c8(){var _0x2a29c1=['create','reconnect','_initRequestHeader','image/jpeg','[PendingState]:\x20unhandled\x20univer\x20type:\x20','concat','fromCharCode','CHANGESET_REJ','image/png','_undoStacks','JOIN_ROOM_PERMISSION_DENIED','_maxTotalRetryTimeout','YUUMI_NO_CUBOID_FOR_QUESTION','processBlock','UNAUTHENTICATED','_updateStatus','_transformStack','SOCKET_FAILED','_retryConnectingTimer','getDeserializedSheetBlock','CollaborationController','_onJoinRoomEvent','_userManagerService','_clearRedo','sessionStatus','updateCollaborator','hasher','_resendTimer','connection\x20error','firstValueFrom','onRemoteRej','RECV','INVITE_CODE_REQUIRED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_toggleOffline','_permissionService','getMember','getTime','\x20in\x20_schedule.','getActiveSheet','_getAPIPrefix','_doFinalize','_hash','getMemberID','msCrypto','_sendingTimer','_getAPIPrefixPath','getSnapshotAPIPath','[CollaborationState]:\x20apply\x20error!','onRemoteRetry','_initCloseConn','UserProfileImg','SheetTransformSelectionsService','_parse','userID','_scheduleCollaborationTimeoutTimer','[OfflineState]:\x20received\x20acknowledgement.','_univerInstanceService','CollaborationStatus','ISingleActiveUnitService','APPLY_DUPLICATED','_rescheduleHeartbeat','algo','_resendWithTimeout','event$','SNAPSHOT_INVALID_SNAPSHOT','USERS_ENTER','_roomMembers','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','values','LocaleService','Quantity','submit\x20changeset\x20error!','getUnitType','DEFAULT_WS_SESSION_TICKET_URL','LOCAL_CACHE_INTERVAL','CollaborationSocketService','UniverNetworkPlugin','_event$','YUUMI_UNABLE_LOAD_URL','Univer','session.room-permission-denied','RETRY_CONNECTING_MAX_COUNT','b64DecodeUnicode','ENSURE_SNAPSHOT_EXECUTION','_isPermissionRej','avatar','auth.needGotoLoginAlert','readAsDataURL','decrypt','SnapshotService','change$','memberID','_handler','_socket$','_onConflict','collaboration-client.local-cache-service','SerializableCipher','onload','max','status$','code','getSheetId','NoPadding','deserializeToCombResponse','\x20to\x20','Inject','buffer','[PendingState]:\x20received\x20acknowledgement.','_sessionStatus$','LIVESHARE_OPERATION','HELLO','updateOfflineData','@univerjs-pro/license','error','\x0aCurrent:\x20','roomInfos','min','takeUntil','AES','SNAPSHOT_URL_KEY','/-/object/list','action','push','encrypt','APPLY_NON_SEQUENTIAL_REVISION','location','/universer-api/oidc/authpage','_onRemoteChangeset','headers','INVITE_CODE_ALREADY_BOUND','random','WECHAT_HAS_BEEN_BOUND','CBC','_mode','csShouldRetryEvent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','OPTIONAL','result','AWAITING','JOIN','_clearHeartbeatTimer','_onUserJoin','SyncedState','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','AwaitingWithPendingState','UniverDrawing','FETCH_MISSING','_oKey','REDEMPTION_CODE_INACTIVE','IUniverInstanceService','DEFAULT_FILE_NAME','UUID','isTransformMutationsWithChangesetSuccess','status','uniscriptRunEvent','LEAVE','USER_IS_ANONYMOUS','default','INetworkConditionService','192200ErQzsM','@univerjs/network','_pendingMutations','unitId','_iv','objectType','dispose$','clamp','_ENC_XFORM_MODE','_transformService','HTTPRequest','onTransformSelections','[SyncedState]:\x20received\x20acknowledgement.','_onRemoteRejected','_transformIMECache','_init','_onCombEvent','APPLY_PERMISSION_DENIED','createDecryptor','url','NO_OTHER_CLIENTS_EDITING','Could\x20not\x20dynamically\x20require\x20\x22','_unitID','_redoStacks','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SUBMIT_CHANGESET','sendChangesetTimeout','getInterceptPoints','_changesetReqId','_resendTimeout','eventID','collaboration-client.config','_clearRetryConnectingTimer','PendingState','saveImage','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UnitStatus','_shouldReportTelemetry','_configService','INVALID_INVITE_CODE','isPermissionRej','_scheduleCompleteTimestamp','_waitCount','_socketService','stringify','fetchThroughInterceptors','revision','replace','_waitForHeartbeatResponse','session','UNKNOWN_CODE','joinRsp','_clearUndo','NOT_COLLAB','_showConflictNotification','csRejEvent','updatePermissionObjEvent','next','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UniverInstanceType','ENTITLE_CAN_NOT_BUY_LOWER_OTP','People','getWorkbookSelections','getRoom','collaborators','ISocketService','rxjs/operators','USER_NOT_INVITED_CODE','MentionIoHttpService','close','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ivSize','Error\x20on\x20receiving\x20event','getTypeOfUnitDisposed$','awaitingChangeset','send','/block/','_applyRemoteChangeset','byteLength','SessionStatus','LOGIN_TOKEN_PROCESSING_FAILED','collaboratorID','getAllMembers','selections','clone','routeKey','Tools','getResourcesRequest','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onLocalMutation','saveSnapshot','_state$','initWorkbookPermissionChange','Undefined','dispose','TOO_MANY_REQUESTS','_unitInfo$','OfflineState','HttpImport','OTHER_CLIENT_EDITING','_doReset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','pipe','Decryptor','_substituteRedoStack','createSocket','byteOffset','mergeOverrideWithDependencies','LOCAL_CACHE_INTERVAL_KEY','touchDependencies','image/bmp','onRemoteAck','Subject','parse','RxDisposable','_registerDependencies','workbook','PERMISSION_DENIED','StreamCipher','requireSession','/object/','JOIN_ROOM_FAILED','textEncoder','pad','_startTelemetryCollaborationNewChangeset','SheetsSelectionsService','1502130dekQsB','_queuedRemoteChangesets','enc','LICENSE_EXPORT_SIZE_EXCEEDED','_localCacheService','_socketReady','socket\x20close','rxjs','awaiting_with_pending','HMAC','sid','_clearLocalCache','OpenSSL','FAIL','Optional','compose','/new_changes','CommentService','YUUMI_ASYNCIO_CANCELLED','[CollaborationSession]','Malformed\x20UTF-8\x20data','fetch_missing','_getCurrentRevision','pending','unit-cache-','COMPLETION_FINISHED','ILogService','socketService','PERSON','ALREADY_EXISTS','COMPRESS_MUTATION_SEND','NOT_FOUND','/role','map','prototype','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','downloadEndpointUrl','online$','transformSelections','HEARTBEAT_INTERVAL_KEY','collaboration_new_changeset','REDEMPTION_CODE_NOT_STARTED','_removeRoom','Rectangle','_append','size','getOwnPropertyDescriptor','isArray','list','onMutationExecutedForCollab','function','_createHmacHelper','m2Prime','UNKNOWN_CMD','JOIN_ROOM_FULL','unitInfo$','CollaborativeUndoRedoService','UniverDocs','fetching\x20missing\x20changesets\x20from\x20','kdf','_socket','DisposableCollection','take','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','forEach','YUUMI_TABLE_NOT_FOUND_IN_UNIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','csAckEvent','CollaborationEntity','_transitionLocked','_socketMessageSubscription','USERS_LEAVE','RichTextEditingMutation','PERMISSION_REJ','set','setCurrentUser','key','toggleOffline','state$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','interceptor','transformChangesets','members$','removeMember','_tryReconnect','_executeRemoteChangeset','@univerjs/docs','finalize','IPermissionService','onRemoteChangeset','commentUpdate$','_remoteChangesetQueue','toggleOnline','CHANGESET_REVISION_CONFILICT','c1Prime','cfg','_createSocket','univer-pro.collaboration-client-socket-service','concatMap','onTransformRemoteChangesetByIMECache','parseChangesetToProtocol','Utf8','deepClone','getUnitStatus$','[CollaborationEntity]','_xformMode','_startCollaboration','Cipher','UniverNetwork','CommandType','PasswordBasedCipher','_transformSelections','MOBILE_VERIFY_CODE_MISMATCH','encode','_fetchMissChangesets','FileId','subscribe','ENTITLE_USE_COUPON_NOT_1ST_TRADE','charCodeAt','hasOwnProperty','UNRECOGNIZED','encryptBlock','_roomCreated$','YUUMI_SUBSCRIPTION_NOT_FOUND','createEncryptor','LOGIN_FAILED','Pkcs7','_updateState','charAt','_logService','_getSendChangesetTimeout','collabWebSocketUrl','originalMeta','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_getUndoStack','_sendHeartbeat','@univerjs-pro/collaboration','startTime','unitID','loginUrlKey','words','_onOffline','_doProcessBlock','_doCreateSocket','requestParams','onTransformState','error$','ENTITLE_COUPON_EXPIRED','pluginName','DependentOn','LICENSE_DISTRO_REJECTED','transformUndoRedo','_cipher','70JSazFl','name','string','uuidv4','rev','&source=','CollaborationImageIoService','_handlerCallback','WorkbookEditablePermission','allowed','__splitChunk__','_entities','_listenToNetworkCondition','roles','EvpKDF','defineProperty','_clearScheduledTask','_submitChangeset','_networkConditionService','toDisposable','_getLoginPath','ISnapshotServerService','_lockTransition','unitId\x20is\x20not\x20found','update','liveShareNewHost','LICENSE_IMPORT_SIZE_EXCEEDED','_initMergeInterceptor','_disableEditing','_candidateSocket','_createInitialStateImpl','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','__creator','CompressMutationService','ReplaySubject','UNIVER_DOC','_onConnectionOpen','_changesetSessionId','getCurrentUser','toStringTag','ENTITLE_INVALID_COUPON_CODE','data','ImageSourceType','createInstance','shareReplay','_HTTPService','ERROR_IMAGE_TYPE','entries','306555eaFzEL','loadOfflineData','\x0aAfter:\x20','closeSession','collabSubmitChangesetUrl','enableAuthServer','format','state','?url=','SheetCollaborationEntity','extend','apply','BASE64','_throwTelemetryCollaborationNewChangeset','createIdentifier','transformMutationsWithChangeset','LIVESHARE_FETCH_OPERATIONS','append','ILocalCacheService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_createHandler','copyFileMeta','objects','OFFLINE','getCurrentRevOfUnit','_snapshotService','splice','SHOULD_CLOSE_CONN','resourceIDs','MemberService','call','LIVESHARE_REQUEST_HOST','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_collaborationPaused','ERROR_IMAGE','objectID','fetchMiss','POST','UPDATE_PERMISSION_OBJ','addHandlerCallback','stopTime','batchAllowed','capture','REDEMPTION_USER_NOT_ELIGIBLE','hostname','fromCollab','getTypeOfUnitAdded$','debug','onCommentUpdate','enableOfflineEditing','YUUMI_AI_RUN_FAILED','SYNCED','USER_NOT_FOUND','UniverTelemetry','_clearCollaborationTimeoutTimer','UnitSnapshot','BufferedBlockAlgorithm','/collaborator','?size=','ciphertext','[FetchMissState]','params','UPDATE_CURSOR','getLatestCsReqIdBySid','textRanges','_transformUndoredo','mapDocumentTypeToUniverType','_status$','_onFetchMissResult','/universer-api/user/session-ticket','LIVESHARE_NEW_HOST','_singleActiveUnitService','_initDependencies','SHA1','_undoRedoService','encodeURIComponent','message$','ENTITLE_DUP_SUBSCRIPTION','WordArray','length','getValue','get','_injector','updateCursorEvent','LocalUndoRedoService','UNIVER_SHEET','members','_unlockTransition','_acknowledgedAwaitingChangeset','includes','BehaviorSubject','_state','actions','appendMutation','_compressMutationService','ICommandService','UniverCollaborationPlugin','_sendHeartbeatTimer','target','localeService','title','/universer-api/uniscript','Plugin','Module','&assign=','floor','saveSheetBlock','disposeWithMe','_hasher','_commandService','_commentService','PENDING','$super','/unit/','filter','type','AuthzIoHttpService','loadUnitOfRevision','open$','OTHER_CLIENTS_EDITING','_substituteUndoStack','subject','parseProtocolChangeset','MD5','onSyncEditingCollabCursor','_sessions','IImageIoService','_iKey','slice','_checkMissing','CHANGESET_SHOULD_RETRY','uploadFileServerUrl','@univerjs/telemetry','UNISCRIPT_RUN','CollaborationSessionService','session.room-cnt-exceeds','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_incrementRevisionNumber','_change$','getUnit','_initUnitPermissionChange','@univerjs/sheets','keySize','Disposable','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','univer-pro.collaboration-client.network-condition.service','_getDownloadEndpointURL','CLOSE_ROOM','substr','ITransformService','SetSelectionsOperation','ImageUploadStatusType','_data','APPLY_REJECT','onlyLocal','ceil','_collaborationUIEventService','join','ENTITLE_REPORT_LIMIT_EXCEED','reduce','IConfigService','&to=','NEW_CHANGESETS','COMPRESS_MUTATION_APPLY','pauseCollaboration','_httpService','_eventService','registerHTTPInterceptor','getUnitId','loadDoc','/universer-api/file/{fileID}/sign-url','mode','_replayCachedMutations','image/jpg','catch','_getUploadFileURL','INGEST','PSEUDO_FETCH_MISSING_RESULT','YUUMI_ALL_TABLES_IS_INVALID','onStarting','ENTITLE_COUPON_USED_UP','Base','save\x20fail\x20reason\x20is\x20','_sheetTransformSelectionsService','MergeInterceptorFactory','find','repeat','_instanceService','origin','file','REDEMPTION_CODE_FULLY_REDEEMED','INTERNAL_ERROR','blockSize','compute','HTTPService','decryptBlock','session.room-not-exists','equals','BlockCipher','[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.','_nRounds','from','onTransformIME','conflict','_transformStateCache','delete','ConflictState','UNDEFINED','init','IDLE','HEARTBEAT_TIMEOUT','_onRecvEvent','_toggleOnline','_onConnectionFailed','put','SOCKET_FAILED_RETRY','Failed\x20to\x20update\x20permission\x20point','DataLoaderService','YUUMI_URL_COL_OUT_OF_RANGE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_collaborationTimeoutTimer','session.room-full','_type','fetchMissingChangesets','_entityInit$','1044268rCuMEt','DocCollaborationEntity','getImage','permissionRejEvent','newCsEvent','1358952zlNvbR','4606604krlbUo','AUTHORIZE_CODE_ILLEGAL','IAuthzIoService','getRandomValues','incrementRevOfUnit','_onUserLeave','mutations','toString','Hasher','_awaitingChangeset','saveChangeset','_reverseMap','JSONX','_syncEditingCollabCursor','LIVESHARE_TERMINATE','MentionType','getCollabEntity','changesets','UniverSheets','_sender','_timeoutTimer','_doCryptBlock','every','LICENSE_MAX_UNITS_EXCEEDED','getLocalCacheKey','CollaborationUIEventId','then','univer-pro.collaboration-client.single-active-unit-service','/universer-api/comb','padding','_updateLocalCache','onMissingChangesets','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getCtorByUniverType','CONFLICT','subUnitId','_decreaseWaiting','REDEMPTION_INVALID_CODE','/universer-api/stream/file/upload','complete','asObservable','RETRY_CONNECTING_MAX_COUNT_KEY','authzUrl','SUCCUSS','exports','Base64','SUBMIT_CHANGESET_TIMEOUT','RevisionService','listCollaborators','emitEvent','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getImageSourceCache','add','HEARTBEAT_TIMEOUT_KEY','COMMENT_UPDATE','abs','sin','YUUMI_CONNECTOR_URL_NOT_FOUND','c2Prime','_localeService','merge','_schedule','reject','ERROR_AGAIN','HttpExport','setShowComponents','salt','CollaborationSession','ClipsheetFragments','_retryCount','crypto','updatePermissionPoint','readInt32LE','_createHelper','CollaborationEvent','_config','now','randomBytes','delay','_exhaustRemoteChangesetQueue','[CollaborationSessionService]','onTransformRemoteChangesetByStateCache','[DataLoaderService]','CONNECTOR_DATA_TOO_LARGE','_clearTimeoutTimer','href','_onMessage','UNIVER_SLIDE','unknown','getSheetBlock','UniverLicensePlugin','EMAIL_VERIFY_CODE_MISMATCH','setConfig','_createInitialState','sigBytes','putCollaborators','@univerjs/drawing','listRoles','SNAPSHOT_HAS_BEEN_REMOVED','createCollaborator','synced','isInternalEditorID','joinEvent','INVALID_ARGUMENT','CHANGESET_ACK','_members$','isTransformChangesetsSuccess','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','HmacSHA1','_nDataBytes','transformStack\x20failed!','getConfig','UniverProCollaborationClient','APPLY_REVISION_CONFILICT','JOIN_ROOM_NOT_EXISTS','_emitMembers','495hwFRWF','ENTITLE_CHAT_LIMIT_EXCEED','_invKeySchedule','infoRsp','awaiting','[UniverCollaborationClientPlugin]','EmptyMutationInfo','UnitEmbedded','addImageSourceCache','_memberService','_imageSourceCache','_telemetryInfo','resend','MUTATION','sheets','ENTITLE_NEED_BILLING_ADDRESS','updateMember','onSendChangeset','_collabSessionService','_collaborationSessionService','_replaceFileID','ITelemetryService','snapshotServerUrl','has','MOBILE_HAS_BEEN_BOUND','BlockCipherMode','AwaitingState','UserManagerService','sessionStatus$','_telemetryService','/universer-api/authz','isTransformMutationsWithChangesetFailure','ICollaborationSocketService','REDEMPTION_CODE_HAS_BEEN_CREATED','_getSignURL','_process','_onRemoteACK','localCacheService','Injector','disableLocalCache','getGlobalObject','loadSheet','unsubscribe','749442idfIye','UniverCore','serializeCombRequest','__Key__','formatter','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','body','snapshot','_stopTelemetryCollaborationNewChangeset','not_collab','[CollaborationUndoRedoService]','INVITE_CODE_HAS_BEEN_UES','image/gif','_transformRemoteChangesetByStateCache','_prevBlock','SnapshotServerOverHTTPService','_key','_members','ONLINE','CipherParams','cmd','_commentUpdate$','method','offline','_revisionService','/-/object/-/batch_allowed','ERROR_EXCEED_SIZE','FetchingMissState','PY_RUNTIME_SCRIPT_ERROR','_joinRoom','patch','PAYMENT_CHANNEL_NOT_SUPPORT','HEARTBEAT','post','range','reqId','mixIn','EMAIL_HAS_BEEN_BOUND','setWaitCount','_map','indexOf','reset','startsWith','/allowed','signUrlServerUrl','GLOBAL_ROOMS_CNT_EXCEEDS','JOINING','lib','UniverCollaborationClientPlugin','YUUMI_RATE_OVER_LIMIT','baseRev','_onLocalMutation','DATA_SOURCE_TOO_LARGE','clear','IUndoRedoService','Encryptor','getCollabEntity$','ENTITLE_INSUFFICIENT_QUOTA','__esModule','_transformRemoteChangesetByIMECache','CURRENT_STATUS_CANNOT_OPERATE'];_0x54c8=function(){return _0x2a29c1;};return _0x54c8();}
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
function
|
|
5
|
+
function _0x26a5(_0x5ac20c,_0x1d683b){_0x5ac20c=_0x5ac20c-0xc1;const _0x1482d2=_0x1482();let _0x26a5e5=_0x1482d2[_0x5ac20c];return _0x26a5e5;}function _0x1482(){const _0x562ded=['fireEvent','8915624sBoZIO','pipe','MemberService','Inject','getCollabEntity','CollaborationStatusChanged','_univerInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUnitId','length','loadSheetAsync','loadActiveSheetAsync','UniverCore','get','loadUnitOfRevision','CollaborationController','@univerjs/core/facade','FUniver','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','2366954GPoHrh','DataLoaderService','loadUnit','getCollaborationStatus','_injector','_collaborationController','31991571JfTpAD','6366bvGEAR','exports','UniverProCollaboration','state','toDisposable','Injector','_initialize','subscribeCollaborators','toStringTag','loadServerUnit','getCollaboration','_snapshotService','subscribe','getUniverSheet','status$','2681sAOlDJ','FBase','members$','entityInit$','extend','loadSheet','_handler','IUniverInstanceService','status','CollaborationStatus','NOT_COLLAB','FEnum','readyForCollab','loadActiveSheet','UniverCoreFacade','function','registerEventHandler','rxjs','972508YijoYC','@univerjs/core','UniverProCollaborationClientFacade','1645plGmFo','object','FCollaboration','4956NALJxL','loadServerUnitOfRevision','add','DisposableCollection','getOwnPropertyDescriptor','1876548uXnnMk'];_0x1482=function(){return _0x562ded;};return _0x1482();}(function(_0x54a450,_0x1ed153){const _0x182d96=_0x26a5,_0x53dd1e=_0x54a450();while(!![]){try{const _0x197fdf=parseInt(_0x182d96(0xdd))/0x1+-parseInt(_0x182d96(0xfe))/0x2+-parseInt(_0x182d96(0xe8))/0x3+parseInt(_0x182d96(0xe3))/0x4*(-parseInt(_0x182d96(0xe0))/0x5)+-parseInt(_0x182d96(0x105))/0x6*(parseInt(_0x182d96(0xcb))/0x7)+-parseInt(_0x182d96(0xea))/0x8+parseInt(_0x182d96(0x104))/0x9;if(_0x197fdf===_0x1ed153)break;else _0x53dd1e['push'](_0x53dd1e['shift']());}catch(_0x2b372b){_0x53dd1e['push'](_0x53dd1e['shift']());}}}(_0x1482,0xc0cb7),function(_0x32b7ee,_0x4d89a2){const _0x1f4f13=_0x26a5;typeof exports==_0x1f4f13(0xe1)&&typeof module<'u'?_0x4d89a2(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x1f4f13(0xda)&&define['amd']?define([_0x1f4f13(0x106),_0x1f4f13(0xfc),_0x1f4f13(0xfa),_0x1f4f13(0xde),_0x1f4f13(0xfd),_0x1f4f13(0xdc)],_0x4d89a2):(_0x32b7ee=typeof globalThis<'u'?globalThis:_0x32b7ee||self,_0x4d89a2(_0x32b7ee[_0x1f4f13(0xdf)]={},_0x32b7ee['UniverProCollaborationClient'],_0x32b7ee[_0x1f4f13(0xd9)],_0x32b7ee[_0x1f4f13(0xf6)],_0x32b7ee[_0x1f4f13(0x107)],_0x32b7ee[_0x1f4f13(0xdc)]));}(this,function(_0x1cce30,_0x432046,_0x1de2fa,_0x2fa5ab,_0xee1ea8,_0x389bd1){'use strict';const _0x2e7cde=_0x26a5;class _0x445e3e extends _0x1de2fa[_0x2e7cde(0xd6)]{get['CollaborationStatus'](){return _0x432046['CollaborationStatus'];}}_0x1de2fa[_0x2e7cde(0xd6)][_0x2e7cde(0xcf)](_0x445e3e);class _0x5ae32f{get[_0x2e7cde(0xef)](){const _0x207fdb=_0x2e7cde;return _0x207fdb(0xef);}}_0x1de2fa['FEventName'][_0x2e7cde(0xcf)](_0x5ae32f);var _0x3bb960=Object[_0x2e7cde(0xe7)],_0x5806aa=(_0x53bb2f,_0x415147,_0x319201,_0x1f1586)=>{const _0x111bed=_0x2e7cde;for(var _0x522509=_0x1f1586>0x1?void 0x0:_0x1f1586?_0x3bb960(_0x415147,_0x319201):_0x415147,_0x601d66=_0x53bb2f[_0x111bed(0xf3)]-0x1,_0x215266;_0x601d66>=0x0;_0x601d66--)(_0x215266=_0x53bb2f[_0x601d66])&&(_0x522509=_0x215266(_0x522509)||_0x522509);return _0x522509;},_0xc418a0=(_0x107614,_0x45fb58)=>(_0x4b88c8,_0x4c7b8d)=>_0x45fb58(_0x4b88c8,_0x4c7b8d,_0x107614);_0x1cce30[_0x2e7cde(0xe2)]=class extends _0x1de2fa[_0x2e7cde(0xcc)]{constructor(_0x146bed,_0x23a3dc,_0x49e2ac,_0x556fc6,_0x342bfe){const _0x138d95=_0x2e7cde;super(),this[_0x138d95(0xd1)]=_0x146bed,this['_injector']=_0x23a3dc,this['_univerInstanceService']=_0x49e2ac,this[_0x138d95(0xc7)]=_0x556fc6,this[_0x138d95(0x103)]=_0x342bfe;}async[_0x2e7cde(0xd8)](){const _0x2a2d04=_0x2e7cde;return this[_0x2a2d04(0xf5)]();}async[_0x2e7cde(0xf5)](){const _0x1106f7=_0x2e7cde;throw new Error(_0x1106f7(0xf1));}async[_0x2e7cde(0xd0)](_0x16a7e7){return this['loadSheetAsync'](_0x16a7e7);}async[_0x2e7cde(0xf4)](_0x16681e,_0x125eed){const _0x566f21=_0x2e7cde;return await this[_0x566f21(0xc7)]['loadSheet'](_0x16681e,0x0,_0x125eed)?(await this[_0x566f21(0x103)][_0x566f21(0xd7)](_0x16681e),this[_0x566f21(0xd1)][_0x566f21(0xc9)](_0x16681e)):null;}[_0x2e7cde(0xc3)](_0x2c9445,_0x2b6e45){const _0x20e18f=_0x2e7cde,_0x1365de=this[_0x20e18f(0x102)]['get'](_0x432046[_0x20e18f(0xec)])['waitForRoom$'](_0x2c9445)[_0x20e18f(0xeb)](_0x389bd1['switchMap'](_0x2d2108=>_0x2d2108[_0x20e18f(0xcd)]))[_0x20e18f(0xc8)](_0x10fb13=>_0x2b6e45(Array['from'](_0x10fb13['values']())));return _0x2fa5ab[_0x20e18f(0x109)](_0x1365de);}[_0x2e7cde(0x101)](_0x4178aa){const _0x24e16c=_0x2e7cde;var _0x4144d2;let _0x137981;if(_0x4178aa)_0x137981=_0x4178aa;else{const _0x1b7866=this[_0x24e16c(0xf0)]['getFocusedUnit']();_0x137981=_0x1b7866==null?void 0x0:_0x1b7866[_0x24e16c(0xf2)]();}if(!_0x137981)return _0x432046[_0x24e16c(0xd4)][_0x24e16c(0xd5)];const _0xd248cb=this[_0x24e16c(0x103)][_0x24e16c(0xee)](_0x137981);return(_0x4144d2=_0xd248cb==null?void 0x0:_0xd248cb[_0x24e16c(0x108)][_0x24e16c(0xd3)])!=null?_0x4144d2:_0x432046[_0x24e16c(0xd4)][_0x24e16c(0xd5)];}},_0x1cce30[_0x2e7cde(0xe2)]=_0x5806aa([_0xc418a0(0x1,_0x2fa5ab[_0x2e7cde(0xed)](_0x2fa5ab[_0x2e7cde(0xc1)])),_0xc418a0(0x2,_0x2fa5ab[_0x2e7cde(0xd2)]),_0xc418a0(0x3,_0x2fa5ab['Inject'](_0xee1ea8['SnapshotService'])),_0xc418a0(0x4,_0x2fa5ab['Inject'](_0x432046[_0x2e7cde(0xf9)]))],_0x1cce30[_0x2e7cde(0xe2)]);class _0x49c4b7 extends _0x1de2fa[_0x2e7cde(0xfb)]{[_0x2e7cde(0xc2)](_0x801d19){const _0xb39baf=_0x2e7cde,_0x584252=_0x801d19[_0xb39baf(0xf7)](_0x432046['CollaborationController']);this['disposeWithMe'](this[_0xb39baf(0xdb)](this['Event'][_0xb39baf(0xef)],()=>{const _0xf69608=_0xb39baf,_0x573988=new _0x2fa5ab[(_0xf69608(0xe6))](),_0x53283f=_0x584252[_0xf69608(0xce)][_0xf69608(0xc8)](_0x1fef13=>{const _0xd84ea8=_0xf69608,_0x4c28a3=_0x1fef13[_0xd84ea8(0xca)]['subscribe'](_0x3c4837=>{const _0x11c78d=_0xd84ea8;this[_0x11c78d(0xe9)](this['Event'][_0x11c78d(0xef)],{'unitId':_0x1fef13['unitID'],'status':_0x3c4837});});_0x573988[_0xd84ea8(0xe5)](_0x2fa5ab[_0xd84ea8(0x109)](_0x4c28a3));});return _0x573988['add'](_0x2fa5ab[_0xf69608(0x109)](_0x53283f)),_0x573988;}));}[_0x2e7cde(0xc6)](){const _0x10622b=_0x2e7cde;return this[_0x10622b(0x102)]['createInstance'](_0x1cce30[_0x10622b(0xe2)],{'getUniverSheet':_0x15e8f3=>this[_0x10622b(0xc9)](_0x15e8f3)});}[_0x2e7cde(0xc5)](_0x1ea4de,_0x4260cc,_0x31c5d3){const _0x22561f=_0x2e7cde;return this[_0x22561f(0x102)]['get'](_0x432046[_0x22561f(0xff)])[_0x22561f(0x100)](_0x1ea4de,_0x4260cc,_0x31c5d3);}[_0x2e7cde(0xe4)](_0x2213f3,_0x569540,_0x475797){const _0xacd42d=_0x2e7cde;return this['_injector'][_0xacd42d(0xf7)](_0x432046['DataLoaderService'])[_0xacd42d(0xf8)](_0x2213f3,_0x569540,_0x475797);}}_0x1de2fa[_0x2e7cde(0xfb)][_0x2e7cde(0xcf)](_0x49c4b7),Object['defineProperty'](_0x1cce30,Symbol[_0x2e7cde(0xc4)],{'value':'Module'});}));
|
|
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 _0x3f90(_0xf88a0f,_0x4334db){_0xf88a0f=_0xf88a0f-0xcb;const _0x3893da=_0x3893();let _0x3f90a1=_0x3893da[_0xf88a0f];return _0x3f90a1;}function _0x3893(){const _0x1f0edb=['collaboration-client-ui.config','getColor','event$','addEventListener','restore','APPLY_NON_SEQUENTIAL_REVISION','imageSourceType','_hasFormulaInDirtyRanges','_setFormulaLimitStatus','_anchor','off-line-icon_clip0_910_343','_docStateChangeManagerService','handleDeleteRangeMoveUp','UniverProCollaborationClient','HEADER_MENU','RemoveColCommandId','@univerjs/sheets','font','_transformHistoryAndStateStack','exports','loadUnit','2619376oamong','bottom','RegularPolygon','_maxFormulaLimit','OffLineIcon','rxjs','now','_context','saveTaskMap','roomMembers','then','_name','onPointerMove$','2kbDGgy','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','fillStyle','subunit','handleInsertCol','object','_drawAnchor','LOGIN_TOKEN_PROCESSING_FAILED','pluginName','Success','all','onPointerLeave$','LocaleService','_getAnchorBounding','START_CALCULATION','startFormulaLimitUrl','throttleTime','_updateCollabCursors','cursorInfo$','JOIN_ROOM_FAILED','hovered','getColorFromTheme','UniverProCollaborationClientUi','...','registerDependencies','/universer-api/frontend/logs','SNAPSHOT_HAS_BEEN_REMOVED','getSheetId','_localCacheService','saveImage','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','_refreshCollabCursors','FromArray','collabCursorState$','_startDocCollabCursor','arc','getRangePointData','UPDATE_CURSOR','parseInt','_docTransformStateCacheService','getMember','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ILogService','asObservable','entries','_initStatusComponent','delete','getCoordByCell','dispose$','_session','replaceState','path','_messageService','_removeClearOtherTimer','1966164NMAbbp','yellow.400','deserializeRangeWithSheet','children','code','text','div','_revisionService','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','getValue','@univerjs/ui','transformStateCache','createElement','green.600','ThemeService','transformMutation','executionId','_onRefRangeChange','_selfUnitIDs','_httpService','length','[CollaborationDataLoaderController]','_syncEditingCollabCursorService','Tooltip','ENTITLE_DUP_SUBSCRIPTION','formula.calculation.unable','USER_NOT_FOUND','ITransformService','searchParams','color','_localeService','syncEditingCollabCursor','currentColor','xlink:href','registerRefRange','REDEMPTION_CODE_INACTIVE','releaseFormulaLimitUrl','onRendered','_render','ENSURE_SNAPSHOT_EXECUTION','react','join','_saveCache','_clearPolling','handleInsertRangeMoveDown','connectInjector','_color','_registerDependencies','_roomMembers$','LICENSE_EXPORT_SIZE_EXCEEDED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PY_RUNTIME_SCRIPT_ERROR','disposeUnit','@univerjs/engine-formula','getDocRanges','current','sheetId','_eventUnsubscribe','ticket','/universer-api/license/formula/limit/status','Subject','getCurrentSelections','@univerjs/engine-render','UniverSheetsUi','_entities','activeSheet$','MOBILE_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','_lastResponseTimestamp','_cursorShapes','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','REDEMPTION_CODE_NOT_STARTED','doc.mutation.rich-text-editing','whenReady','/universer-api/license/formula/limit/done','RxDisposable','@univerjs/network','split','_assignedColors','Tools','InsertRowCommandId','CONFLICT','disposeWithMe','_unitOnClients','get','add','IMessageService','rxjs/operators','catch','OFFLINE','IUniverInstanceService','UNIVER_SHEET','_cursorInfo$','800crFQAo','SNAPSHOT_INVALID_SNAPSHOT','2349645KKDMaR','_saveTaskMap','_memberService','WebBrowserSingleActiveUnitService','name','setStateCache','generateRandomId','CollaborationDataLoaderController','executeCommand','startsWith','getUnitId','_removeCollabCursors','debounce','currentUsage','setUndoRedoMutationParamsCache','YUUMI_URL_COL_OUT_OF_RANGE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','COMPLETION_FINISHED','_releaseCalculationLimit','INVALID_INVITE_CODE','_configService','Injector','_scheduleSaving','_drawRectRange','contains','ISocketService','params','getSkeleton','_instanceService','SessionStatus','SetTextSelectionsOperation','handleInsertRow','data','_scheduleHeartbeat','DocSelectionManagerService','[LogService\x20Error]:\x20','DEFAULT_WS_SESSION_TICKET_URL','sessionStatus$','exhaustSavingTask','APPLY_REJECT','univer-flex\x20univer-items-center','black','save','_lastPointer','textRanges','getUniverSheetInstance','endColumn','collab-text-range-','collabStatus.syncing','transform','0\x200\x2016\x2016','_handleHover','USER_IS_ANONYMOUS','map','_initCommandExecutedListener','UniverDesign','m1Prime','unshift','startRow','labelPosition','defIds','_ensureSubject','idSuffix','subscribeEvent','RemoteUniscriptService','Failed','replace','1078275zVaxFW','_currentUsage','_updateSubUnitFromURLParams','_pollingInterval','top','0\x200\x2017\x2016','_sheetSkeletonManagerService','ENTITLE_COUPON_EXPIRED','_taskIds','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getCurrentRevOfUnit','SheetSkeletonManagerService','_collabCursorState$','[Window\x20Error]:\x20','override','evenodd','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','FormulaExecutedStateType','requireSession','debounceTime','PENDING','currentSkeleton$','EMAIL_HAS_BEEN_BOUND','@univerjs-pro/collaboration-client','round','_cachedData','590240mXLcwT','row','getSheetBySheetId','getRenderById','ColorKit','unhandledrejection','onMouseMove','IURLService','registerRenderModule','YUUMI_CONNECTOR_URL_NOT_FOUND','mapTo','_id','setItem','_cursor','height','_labelPosition','_send','useRef','debug','send','moveTo','_injector','_logService','roomMembers$','createInstance','clearInterval','_handleLeaveEvent','on-line-icon','_setupSubUnitSync','AUTHORIZE_CODE_ILLEGAL','SYNCED','SetFormulaCalculationNotificationMutation','jsx','touchDependencies','UniverUi','sheetID','history','getAncestorScale','DependentOn','url(#on-line-icon_clip0_910_349)','addObjects','forEach','1em','addClipboardHook','OTHER_CLIENT_EDITING','wsSessionTicketUrl','assignAColorForMemberID','LOGIN_FAILED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleDeleteRangeMoveLeft','_showGuardMessage','_initWindowErrorListener','string','CHANGESET_REVISION_CONFILICT','DisposableCollection','/universer-api/license/formula/limit/start','_backgroundColor','none','_refRangeService','YUUMI_ALL_TABLES_IS_INVALID','from','Shape','_uiPartsService','MemberService','InsertColCommandId','entityInit$','defineProperty','body','CollaborationSessionService','IImageIoService','INVITE_CODE_ALREADY_BOUND','addHandlerCallback','Disposable','RefRangeService','clipPath','CONNECTOR_DATA_TOO_LARGE','status$','UniverCollaborationClientUIPlugin','Inject','uni.network.url-service','distinctUntilChanged','UNDEFINED','_beforeCloseService','transformByState','deepClone','post','UNRECOGNIZED','_anchorDot','http://www.w3.org/2000/svg','_scheduleClearOtherTimer','_updateLocalCursor','push','YUUMI_AI_RUN_FAILED','getLocalCacheKey','runId','getItem','focused$','toDisposable','_getSheetObject','getUndoRedoMutationParamsCache','DocStateChangeManagerService','getCurrentUnitForType','_univerInstanceService','_memberID','removeEventListener','transformMutationsWithChangeset','getRelativeToViewportCoord','_collaborationUIEventService','parse','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','tag','getCellMatrix','setInterval','jiqing.500','TOO_MANY_REQUESTS','engine','_updateURLWithCurrentState','_docClipboardService','_shapes','backgroundColor','CollaborationEvent','saveOfflineData','collabStatus.fetchMiss','ENTITLE_CHAT_LIMIT_EXCEED','isTransformMutationFailure','serializeRangeWithSheet','EffectRefRangId','UNIVER_DOC','measureText','_uploadLog','SOCKET_FAILED_RETRY','getActiveRange','_transformPreviousActiveRange','getTypeOfUnitAdded$','formula.calculation.waiting','ILocalStorageService','shareReplay','UniverDocs','_registerRenderDependencies','unitId','error','transformSelections','TEXT_RANGE_LAYER_INDEX','url(#off-line-icon_clip0_910_343)','type','socket$','getUnit','size','UniverEngineRender','ONLINE','LOCAL_CACHE_INTERVAL_KEY','_imageIoService','Warning','_toggleOnline','replaceDocRanges','isEditing','merge','PERMISSION_DENIED','getFocusedUnit','selection','570355yRnJpR','getTypeOfUnitDisposed$','INotificationService','session.collaboration-timeout','_onCursorUpdate','registerBeforeClose','_transformService','max','APPLY_DUPLICATED','_startSheetCollabCursor','_initUserListener','@univerjs/core','LICENSE_IMPORT_SIZE_EXCEEDED','getStateCache','collabStatus.offline','isArray','urlChange$','getMergeData','complete','REDEMPTION_INVALID_CODE','docStateChange$','unload','SUBMIT_CHANGESET_TIMEOUT','CollaborationUIEventId','REDEMPTION_CODE_FULLY_REDEEMED','drawWith','RevisionService','_handleEvent','skeleton','REDEMPTION_CODE_HAS_BEEN_CREATED','_disabled','stageInfo','findNodePositionByCharIndex','_initEvent','BuiltInUIPart','newValue','currentTheme$','svg','_renderManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','key','makeDirty','EMAIL_VERIFY_CODE_MISMATCH','_status$','MoveRangeCommandId','isTransformMutationsWithChangesetSuccess','displayName','_entityInit$','ICommandService','DOC_RANGE_TYPE','@univerjs/design','PAYMENT_CHANNEL_NOT_SUPPORT','isActive','Optional','getOffsetConfig','IDocClipboardService','_getSaveTimeout','forwardRef','mutations','fromEventSubject','NOT_FOUND','SetFormulaCalculationStartMutation','INTERNAL_ERROR','Unknown\x20user','CLOSE_ROOM','useDependency','_handleJoinEvent','combineLatest','_config','includes','IRenderManagerService','redoState','unit','_getMergeRange','symbol','NO_OTHER_CLIENTS_EDITING','updateOfflineData','url(#$1','_unitStatus','href','getUnitStatus$','blue.400','beforeCommandExecuted','_docSyncEditingCollabCursorService','@univerjs/rpc','INVITE_CODE_HAS_BEEN_UES','isFormulaId','_initDependencies','MUTATION','registerComponent','transformRemoteChangeset','_hovered','TEXT','SheetsSelectionsService','startColumn','switchMap','DesktopCollaborationStatusDisplayController','onCommandExecuted','width','init','use','APPLY_PERMISSION_DENIED','bind','@univerjs-pro/collaboration','totalFormulasToCalculate','ENTITLE_CAN_NOT_BUY_LOWER_OTP','permission.content','IConfigService','takeUntil','fillText','createIdentifier','memberID','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformUndoRedoStack','_textBubble','BehaviorSubject','UniverCore','jsxs','some','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getConfig','getViewport','collaboration.closeRoom','subUnitId','ENTITLE_USE_COUPON_NOT_1ST_TRADE','MessageType','\x20at\x20','collabStatus.synced','NodePositionConvertToCursor','_document','YUUMI_UNABLE_LOAD_URL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationController','_clearOtherTimers','M0\x200H16V16H0z','collabStatus.conflict','_commandService','SetSelectionsOperation','function','CollaborationStatus','_monkeyPatchLogService','red.300','_applyCommand','_docTransformSelectionsService','OnLineIcon','assign','YUUMI_ASYNCIO_CANCELLED','Loading','RemoveRowCommandId','ACTIVE_UNIT_EVENT_CHANNEL','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getActiveSheet','_themeService','getOwnPropertyDescriptor','LICENSE_DISTRO_REJECTED','_colorIndex','_heartbeatTimer','subscribe','session.connection-failed','setAlpha','_localStorageService','_initUnhandledRejectionListener','_initEntityListener','MOBILE_VERIFY_CODE_MISMATCH','Error','useCallback','mask','runOnServer','SetWorksheetActivateCommand','clearTimeout','formula.calculation.started','popstate','_onCursorDelete','_initResize','undoState','_colorAssignService','DocCollaborationEntity','COLORS','handleIRemoveCol','_getSessionTicket','@univerjs/docs-ui','_init','_drawTextRange','m2Prime','getCollabCursors$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DocIMEInputManagerService','_online','DocSkeletonManagerService','_hideTimer','next','addObject','WECHAT_HAS_BEEN_BOUND','triggerDblclick','handleInsertRangeMoveRight','APPLY_REVISION_CONFILICT','setShapeProps','InsertRangeMoveRightCommandId','setTimeout','_toggleOffline','YUUMI_NO_CUBOID_FOR_QUESTION','UniverSheets','hide','_cursors','_createSocketURL','translate(.97)','stack','IUIPartsService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','toString','set','flatMap','origin','colorChannel1','YUUMI_RATE_OVER_LIMIT','editingUnit','_collabSessionService','NodePositionConvertToRectRange','attrs','45351WCxVst','UniverInstanceType','_docTransformIMECacheService','UnitStatus','trim','NOT_COLLAB','VIEW_MAIN','ENTITLE_NEED_BILLING_ADDRESS','getParam','_startCalculationLimit','Module','FormulaExecuteStageType','_hover','getMemberID','getCellPositionByOffset','enableFrontendLog','_urlService','dirtyRanges','IBeforeCloseService','getCollabEntity$','toRgbString','UniverRpc','REDEMPTION_USER_NOT_ELIGIBLE','unitID','_scene','with','_collaborationSessionService','WebSocketService','filter','InsertRangeMoveDownCommandId','SUCCESS','collaboration.offline-data-not-saved','CommandType','IRemoteInstanceService','dispose','cursorInfo','fromEvent','pushState','useObservable','off-line-icon','_dataLoaderService','pipe','limitInfo','UNAUTHENTICATED','_initCommandInterceptor','ILocalCacheService','enableLocalCache','lineTo','_initStatusListener','_collaborationController','has','disableLocalCache','RECT','defs','DATA_SOURCE_TOO_LARGE','BrowserCollaborationSocketService','ranges','column','7bVrJcM','invokeId','location','SheetCollabCursorShape','show','onPointerEnter$','_handleHeartbeatEvent','runRefRangeMutations','CURRENT_STATUS_CANNOT_OPERATE','source','ISnapshotServerService','ENTITLE_INVALID_COUPON_CODE','reconnect','stringify','on-line-icon_clip0_910_349','substring','_collabCursorController','session.will-retry','white','values','_range','fill','INVITE_CODE_REQUIRED','endRow','selections','ENTITLE_INSUFFICIENT_QUOTA','handleIRemoveRow','_getScale','_docSkeletonManagerService','stage','ALREADY_EXISTS','Rect','WebURLService','setParam'];_0x3893=function(){return _0x1f0edb;};return _0x3893();}(function(_0x1baf0f,_0x1b0090){const _0x18104a=_0x3f90,_0x37e716=_0x1baf0f();while(!![]){try{const _0x59da7f=-parseInt(_0x18104a(0x19c))/0x1*(-parseInt(_0x18104a(0x2f5))/0x2)+-parseInt(_0x18104a(0xe2))/0x3+parseInt(_0x18104a(0xfc))/0x4+-parseInt(_0x18104a(0x38a))/0x5+parseInt(_0x18104a(0x32b))/0x6*(parseInt(_0x18104a(0x2b1))/0x7)+-parseInt(_0x18104a(0x2e8))/0x8+parseInt(_0x18104a(0x277))/0x9*(parseInt(_0x18104a(0x388))/0xa);if(_0x59da7f===_0x1b0090)break;else _0x37e716['push'](_0x37e716['shift']());}catch(_0x352fbb){_0x37e716['push'](_0x37e716['shift']());}}}(_0x3893,0x47471),function(_0x2b52bc,_0x3310b6){const _0x1b9c7d=_0x3f90;typeof exports==_0x1b9c7d(0x2fa)&&typeof module<'u'?_0x3310b6(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==_0x1b9c7d(0x226)&&define['amd']?define([_0x1b9c7d(0x2e6),'react/jsx-runtime',_0x1b9c7d(0xf9),_0x1b9c7d(0x1a7),_0x1b9c7d(0x335),'rxjs',_0x1b9c7d(0x1ce),_0x1b9c7d(0x353),_0x1b9c7d(0x1f0),_0x1b9c7d(0x2e3),_0x1b9c7d(0x369),_0x1b9c7d(0x377),_0x1b9c7d(0x250),'@univerjs/drawing',_0x1b9c7d(0x203),'@univerjs/docs',_0x1b9c7d(0x360),_0x1b9c7d(0x382),'@univerjs/sheets-ui'],_0x3310b6):(_0x2b52bc=typeof globalThis<'u'?globalThis:_0x2b52bc||self,_0x3310b6(_0x2b52bc[_0x1b9c7d(0x30b)]={},_0x2b52bc['React'],_0x2b52bc[_0x1b9c7d(0x2e0)],_0x2b52bc[_0x1b9c7d(0x210)],_0x2b52bc[_0x1b9c7d(0x11e)],_0x2b52bc[_0x1b9c7d(0x2ed)],_0x2b52bc[_0x1b9c7d(0xd6)],_0x2b52bc['React'],_0x2b52bc[_0x1b9c7d(0x28c)],_0x2b52bc[_0x1b9c7d(0x265)],_0x2b52bc[_0x1b9c7d(0x190)],_0x2b52bc['UniverNetwork'],_0x2b52bc['UniverDocsUi'],_0x2b52bc['UniverDrawing'],_0x2b52bc['UniverProCollaboration'],_0x2b52bc[_0x1b9c7d(0x185)],_0x2b52bc['UniverEngineFormula'],_0x2b52bc[_0x1b9c7d(0x2ed)]['operators'],_0x2b52bc[_0x1b9c7d(0x36a)]));}(this,function(_0x497957,_0x8016bc,_0xe662fa,_0x488b23,_0x16efad,_0xd39c43,_0x29b3d4,_0x48e918,_0x95816f,_0x579814,_0x4ad5e1,_0x46c86d,_0x568c85,_0x22ecfc,_0x330813,_0x473e87,_0x5a73c8,_0x517874,_0x477084){'use strict';const _0x35d624=_0x3f90;var _0x27bd3c=Object[_0x35d624(0x13e)],_0x250b08=(_0x222f58,_0x3f7e96,_0x2c4f71)=>_0x3f7e96 in _0x222f58?_0x27bd3c(_0x222f58,_0x3f7e96,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c4f71}):_0x222f58[_0x3f7e96]=_0x2c4f71,_0x5c8f58=(_0x2c8c7d,_0x2d15cd,_0x1cd133)=>_0x250b08(_0x2c8c7d,typeof _0x2d15cd!=_0x35d624(0x1e6)?_0x2d15cd+'':_0x2d15cd,_0x1cd133);function _0x399dcd({ref:_0xc5f7f6,..._0x265687}){const _0x338cc6=_0x35d624,{icon:_0x11f4e7,id:_0x3271e6,className:_0x42251f,extend:_0x45bda7,..._0x55e806}=_0x265687,_0x156607=('univerjs-icon\x20univerjs-icon-'+_0x3271e6+'\x20'+(_0x42251f||''))[_0x338cc6(0x27b)](),_0x5cbb57=_0x48e918[_0x338cc6(0x10d)]('_'+_0x305be1());return _0x192183(_0x11f4e7,''+_0x3271e6,{'defIds':_0x11f4e7[_0x338cc6(0xdb)],'idSuffix':_0x5cbb57[_0x338cc6(0x362)]},{'ref':_0xc5f7f6,'className':_0x156607,..._0x55e806},_0x45bda7);}function _0x192183(_0x222a2a,_0x5d5c03,_0x1b4902,_0x174014,_0x1fd099){const _0x597ff2=_0x35d624;return _0x48e918[_0x597ff2(0x337)](_0x222a2a[_0x597ff2(0x16a)],{'key':_0x5d5c03,..._0x1f8a2e(_0x222a2a,_0x1b4902,_0x1fd099),..._0x174014},(_0x9e4244(_0x222a2a,_0x1b4902)[_0x597ff2(0x32e)]||[])[_0x597ff2(0xd4)]((_0x1692c4,_0x4146ab)=>_0x192183(_0x1692c4,_0x5d5c03+'-'+_0x222a2a[_0x597ff2(0x16a)]+'-'+_0x4146ab,_0x1b4902,void 0x0,_0x1fd099)));}function _0x1f8a2e(_0x337d6b,_0x396f4b,_0x4e119a){const _0x1d31cd=_0x35d624,_0x40418e={..._0x337d6b['attrs']};_0x4e119a!=null&&_0x4e119a[_0x1d31cd(0x271)]&&_0x40418e[_0x1d31cd(0x2c6)]===_0x1d31cd(0x271)&&(_0x40418e[_0x1d31cd(0x2c6)]=_0x4e119a[_0x1d31cd(0x271)]),_0x337d6b[_0x1d31cd(0x16a)]===_0x1d31cd(0x242)&&_0x40418e['id']&&(_0x40418e['id']=_0x40418e['id']+_0x396f4b[_0x1d31cd(0xdd)]),Object[_0x1d31cd(0x321)](_0x40418e)[_0x1d31cd(0x125)](([_0x246b60,_0x4dfd18])=>{const _0xb1eb00=_0x1d31cd;_0x246b60===_0xb1eb00(0x242)&&typeof _0x4dfd18==_0xb1eb00(0x130)&&(_0x40418e[_0x246b60]=_0x4dfd18[_0xb1eb00(0xe1)](/url\(#(.*)\)/,'url(#$1'+_0x396f4b['idSuffix']+')'));});const {defIds:_0x4e7a23}=_0x396f4b;return!_0x4e7a23||_0x4e7a23[_0x1d31cd(0x33f)]===0x0||(_0x337d6b[_0x1d31cd(0x16a)]===_0x1d31cd(0x200)&&_0x40418e[_0x1d31cd(0x34c)]&&(_0x40418e[_0x1d31cd(0x34c)]=_0x40418e[_0x1d31cd(0x34c)]+_0x396f4b[_0x1d31cd(0xdd)]),Object[_0x1d31cd(0x321)](_0x40418e)[_0x1d31cd(0x125)](([_0x286945,_0xa325f3])=>{const _0x43e4ad=_0x1d31cd;typeof _0xa325f3==_0x43e4ad(0x130)&&(_0x40418e[_0x286945]=_0xa325f3[_0x43e4ad(0xe1)](/url\(#(.*)\)/,_0x43e4ad(0x1e9)+_0x396f4b[_0x43e4ad(0xdd)]+')'));})),_0x40418e;}function _0x9e4244(_0x43e1f9,_0x2947ca){const _0x395081=_0x35d624;var _0x4d24e1;const {defIds:_0x425e2c}=_0x2947ca;return!_0x425e2c||_0x425e2c[_0x395081(0x33f)]===0x0?_0x43e1f9:_0x43e1f9[_0x395081(0x16a)]===_0x395081(0x2ac)&&((_0x4d24e1=_0x43e1f9[_0x395081(0x32e)])!=null&&_0x4d24e1[_0x395081(0x33f)])?{..._0x43e1f9,'children':_0x43e1f9[_0x395081(0x32e)][_0x395081(0xd4)](_0x5a9a4e=>typeof _0x5a9a4e['attrs']['id']==_0x395081(0x130)&&_0x425e2c&&_0x425e2c['includes'](_0x5a9a4e[_0x395081(0x276)]['id'])?{..._0x5a9a4e,'attrs':{..._0x5a9a4e['attrs'],'id':_0x5a9a4e[_0x395081(0x276)]['id']+_0x2947ca[_0x395081(0xdd)]}}:_0x5a9a4e)}:_0x43e1f9;}function _0x305be1(){const _0x34d0ae=_0x35d624;return Math['random']()[_0x34d0ae(0x26d)](0x24)[_0x34d0ae(0x2c0)](0x2,0x8);}_0x399dcd[_0x35d624(0x1ca)]='UniverIcon';const _0x90719b={'tag':_0x35d624(0x1c1),'attrs':{'xmlns':_0x35d624(0x154),'fill':_0x35d624(0x135),'viewBox':_0x35d624(0xd1),'width':'1em','height':_0x35d624(0x126)},'children':[{'tag':'g','attrs':{'clipPath':_0x35d624(0x18b)},'children':[{'tag':_0x35d624(0x328),'attrs':{'stroke':_0x35d624(0x34b),'d':_0x35d624(0x333),'strokeLinecap':_0x35d624(0xfa),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35d624(0x2ac),'attrs':{},'children':[{'tag':_0x35d624(0x146),'attrs':{'id':_0x35d624(0x2dd)},'children':[{'tag':_0x35d624(0x328),'attrs':{'fill':_0x35d624(0x2c3),'d':_0x35d624(0x222)}}]}]}],'defIds':[_0x35d624(0x2dd)]},_0x19b6b3=_0x48e918[_0x35d624(0x1d5)](function(_0x3b1f52,_0x4aa44a){const _0x205cb9=_0x35d624;return _0x48e918[_0x205cb9(0x337)](_0x399dcd,Object[_0x205cb9(0x22d)]({},_0x3b1f52,{'id':_0x205cb9(0x29e),'ref':_0x4aa44a,'icon':_0x90719b}));});_0x19b6b3[_0x35d624(0x1ca)]=_0x35d624(0x2ec);const _0xe02553={'tag':_0x35d624(0x1c1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x35d624(0x135),'viewBox':_0x35d624(0xe7),'width':_0x35d624(0x126),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x35d624(0x123)},'children':[{'tag':_0x35d624(0x328),'attrs':{'stroke':'currentColor','d':_0x35d624(0x313),'strokeLinecap':_0x35d624(0xfa),'strokeLinejoin':_0x35d624(0xfa),'strokeWidth':1.2}}]},{'tag':_0x35d624(0x2ac),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x35d624(0x328),'attrs':{'fill':_0x35d624(0x2c3),'d':_0x35d624(0x222),'transform':_0x35d624(0x269)}}]}]}],'defIds':[_0x35d624(0x2bf)]},_0x249d13=_0x48e918[_0x35d624(0x1d5)](function(_0x433cf7,_0x4234be){const _0x43be6f=_0x35d624;return _0x48e918[_0x43be6f(0x337)](_0x399dcd,Object[_0x43be6f(0x22d)]({},_0x433cf7,{'id':_0x43be6f(0x117),'ref':_0x4234be,'icon':_0xe02553}));});_0x249d13[_0x35d624(0x1ca)]=_0x35d624(0x22c);function _0x347706(_0x41a677){const _0x3990f6=_0x35d624;switch(_0x41a677){case _0xe662fa[_0x3990f6(0x227)]['OFFLINE']:return _0x3990f6(0x1aa);case _0xe662fa[_0x3990f6(0x227)]['CONFLICT']:return _0x3990f6(0x223);case _0xe662fa[_0x3990f6(0x227)]['FETCH_MISS']:return _0x3990f6(0x176);case _0xe662fa['CollaborationStatus'][_0x3990f6(0x27c)]:return'collabStatus.notCollab';case _0xe662fa['CollaborationStatus']['AWAITING']:case _0xe662fa['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x3990f6(0xcf);case _0xe662fa[_0x3990f6(0x227)][_0x3990f6(0x11a)]:case _0xe662fa[_0x3990f6(0x227)][_0x3990f6(0xf6)]:return _0x3990f6(0x21b);}}function _0x3eef9f(_0x8dd343){const _0x4d8d43=_0x35d624,{status$:_0xae32dc}=_0x8dd343,_0x3a16ce=_0x16efad[_0x4d8d43(0x29d)](_0xae32dc,_0xe662fa[_0x4d8d43(0x227)]['NOT_COLLAB']),_0x4ea414=_0x16efad[_0x4d8d43(0x1dd)](_0x488b23[_0x4d8d43(0x301)]),_0x40d908=_0x16efad[_0x4d8d43(0x1dd)](_0xe662fa[_0x4d8d43(0x140)]),_0x254ec9=_0x3a16ce!==_0xe662fa[_0x4d8d43(0x227)][_0x4d8d43(0x384)],_0xa30468=_0x4ea414['t'](_0x347706(_0x3a16ce)),_0x240c79=_0x254ec9?_0x8016bc[_0x4d8d43(0x11c)](_0x249d13,{}):_0x8016bc[_0x4d8d43(0x11c)](_0x19b6b3,{}),_0xc30a35=_0x48e918[_0x4d8d43(0x241)](()=>{const _0x1a3997=_0x4d8d43;_0x254ec9||_0x40d908[_0x1a3997(0x2bd)]();},[_0x254ec9,_0x40d908]);function _0x1ad43c(){const _0x259735=_0x4d8d43;return _0x8016bc[_0x259735(0x211)](_0x259735(0x331),{'className':_0x259735(0x3b2),'onClick':_0xc30a35,'children':[_0x8016bc[_0x259735(0x11c)](_0x259735(0x331),{'className':_0x29b3d4['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x254ec9,'univer-text-red-500':!_0x254ec9}),'children':_0x240c79}),_0x8016bc[_0x259735(0x11c)](_0x259735(0x331),{'className':_0x259735(0x2f6),'children':_0xa30468})]});}return _0x254ec9?_0x1ad43c():_0x8016bc[_0x4d8d43(0x11c)](_0x29b3d4[_0x4d8d43(0x342)],{'title':_0x4ea414['t']('collab-client.tooltip.reconnect'),'children':_0x1ad43c()});}var _0x1922a2=Object[_0x35d624(0x235)],_0x2e6e9a=(_0x110c99,_0x4df21b,_0x5d4b50,_0x647791)=>{const _0x3f3663=_0x35d624;for(var _0x5c8c16=_0x647791>0x1?void 0x0:_0x647791?_0x1922a2(_0x4df21b,_0x5d4b50):_0x4df21b,_0xe9cdb3=_0x110c99[_0x3f3663(0x33f)]-0x1,_0x345b7b;_0xe9cdb3>=0x0;_0xe9cdb3--)(_0x345b7b=_0x110c99[_0xe9cdb3])&&(_0x5c8c16=_0x345b7b(_0x5c8c16)||_0x5c8c16);return _0x5c8c16;},_0x3b11e2=(_0x6e9ab9,_0x425b1c)=>(_0x147c0d,_0xb4c68)=>_0x425b1c(_0x147c0d,_0xb4c68,_0x6e9ab9);_0x497957[_0x35d624(0x1fc)]=class extends _0x488b23['Disposable']{constructor(_0x58aa90,_0x5ee014,_0x192313,_0x2e06a2){const _0x55ef5b=_0x35d624;super(),_0x5c8f58(this,_0x55ef5b(0x1c7),new _0xd39c43[(_0x55ef5b(0x20f))](_0xe662fa['CollaborationStatus'][_0x55ef5b(0x27c)])),(this[_0x55ef5b(0x162)]=_0x58aa90,this[_0x55ef5b(0x111)]=_0x5ee014,this[_0x55ef5b(0x2a8)]=_0x192313,this[_0x55ef5b(0x13a)]=_0x2e06a2,this[_0x55ef5b(0x322)](),this[_0x55ef5b(0x2a7)]());}['_initStatusListener'](){const _0x41674b=_0x35d624;this[_0x41674b(0x37d)](this['_univerInstanceService'][_0x41674b(0x15c)][_0x41674b(0x2a0)](_0xd39c43['switchMap'](()=>{const _0x316aec=_0x41674b,_0x20e8eb=this['_univerInstanceService']['getFocusedUnit']();return _0x20e8eb?this[_0x316aec(0x2a8)][_0x316aec(0x28a)](_0x20e8eb[_0x316aec(0x394)]()):_0xd39c43['of'](null);}),_0xd39c43[_0x41674b(0x1fb)](_0x55ea46=>_0x55ea46?_0x55ea46[_0x41674b(0x148)]:_0xd39c43['of'](_0xe662fa[_0x41674b(0x227)][_0x41674b(0x27c)])))[_0x41674b(0x239)](_0x325dc3=>{const _0x1ab396=_0x41674b;this['_status$'][_0x1ab396(0x25a)](_0x325dc3);}));}['_initStatusComponent'](){const _0x5e95f0=_0x35d624;this[_0x5e95f0(0x37d)](this[_0x5e95f0(0x13a)][_0x5e95f0(0x1f5)](_0x16efad[_0x5e95f0(0x1be)][_0x5e95f0(0x2e1)],()=>_0x16efad[_0x5e95f0(0x358)](_0x495282({'status$':this['_status$']['asObservable']()}),this[_0x5e95f0(0x111)])));}},_0x497957[_0x35d624(0x1fc)]=_0x2e6e9a([_0x3b11e2(0x0,_0x488b23[_0x35d624(0x385)]),_0x3b11e2(0x1,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x3b11e2(0x2,_0x488b23[_0x35d624(0x14a)](_0xe662fa[_0x35d624(0x220)])),_0x3b11e2(0x3,_0x16efad[_0x35d624(0x26b)])],_0x497957[_0x35d624(0x1fc)]);function _0x495282(_0x30cd61){const {status$:_0x3ffd97}=_0x30cd61;return function(){return _0x8016bc['jsx'](_0x3eef9f,{'status$':_0x3ffd97});};}const _0x59fd33=_0x488b23[_0x35d624(0x20a)](_0x35d624(0x14b));var _0x54dc5a=Object[_0x35d624(0x235)],_0x42aad5=(_0x39e198,_0x16a799,_0x54de49,_0x389636)=>{const _0x70de29=_0x35d624;for(var _0x40b056=_0x389636>0x1?void 0x0:_0x389636?_0x54dc5a(_0x16a799,_0x54de49):_0x16a799,_0x3e6cdd=_0x39e198[_0x70de29(0x33f)]-0x1,_0x2ac771;_0x3e6cdd>=0x0;_0x3e6cdd--)(_0x2ac771=_0x39e198[_0x3e6cdd])&&(_0x40b056=_0x2ac771(_0x40b056)||_0x40b056);return _0x40b056;},_0x26e654=(_0xa1d039,_0x4d6fbf)=>(_0x5acd31,_0x2c4835)=>_0x4d6fbf(_0x5acd31,_0x2c4835,_0xa1d039);_0x497957[_0x35d624(0x391)]=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x4c7346,_0xded4b,_0x1c7ef1,_0x23e213,_0x2b8f6f){const _0x10db15=_0x35d624;super(),this[_0x10db15(0x287)]=_0x4c7346,this[_0x10db15(0x112)]=_0xded4b,this[_0x10db15(0x224)]=_0x1c7ef1,this[_0x10db15(0x29f)]=_0x23e213,_0x2b8f6f?_0x2b8f6f==null||_0x2b8f6f[_0x10db15(0x374)]()[_0x10db15(0x2f2)](()=>this['_init']()):(this[_0x10db15(0x112)][_0x10db15(0x10e)](_0x10db15(0x340),_0x10db15(0x12c)),this[_0x10db15(0x251)]());}async['_init'](){const _0x3c91f9=_0x35d624,_0x5dbd5d=this[_0x3c91f9(0x287)][_0x3c91f9(0x27f)](_0x3c91f9(0x1e4)),_0x8129c6=this[_0x3c91f9(0x287)]['getParam'](_0x3c91f9(0x18c)),_0x31e2e9=this[_0x3c91f9(0x287)][_0x3c91f9(0x27f)]('subunit');if(!_0x5dbd5d||!_0x8129c6){this[_0x3c91f9(0x112)][_0x3c91f9(0x10e)](_0x3c91f9(0x340),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x411a28=await this[_0x3c91f9(0x29f)][_0x3c91f9(0x2e7)](_0x5dbd5d,Number(_0x8129c6),_0x31e2e9);_0x411a28&&_0x411a28 instanceof _0x488b23['Workbook']&&this[_0x3c91f9(0x118)](_0x411a28);}async['_setupSubUnitSync'](_0x4adabc){const _0x22b8e9=_0x35d624;await this[_0x22b8e9(0xe4)](_0x4adabc),_0x4adabc[_0x22b8e9(0x36c)][_0x22b8e9(0x2a0)](_0xd39c43['takeUntil'](this[_0x22b8e9(0x325)]))[_0x22b8e9(0x239)](_0x1ca3b3=>{const _0x3c8623=_0x22b8e9;_0x1ca3b3&&this[_0x3c8623(0x170)](_0x1ca3b3);}),this[_0x22b8e9(0x287)][_0x22b8e9(0x1ac)]['pipe'](_0xd39c43[_0x22b8e9(0x208)](this[_0x22b8e9(0x325)]))['subscribe'](()=>this[_0x22b8e9(0xe4)](_0x4adabc));}['_updateURLWithCurrentState'](_0x4fda1d,_0x4e55ea=!0x1){const _0x4ac7b2=_0x35d624,_0x16bcd3=this[_0x4ac7b2(0x287)][_0x4ac7b2(0x27f)](_0x4ac7b2(0x2f8));_0x4fda1d[_0x4ac7b2(0x310)]()!==_0x16bcd3&&this['_urlService'][_0x4ac7b2(0x2d2)](_0x4ac7b2(0x2f8),_0x4fda1d[_0x4ac7b2(0x310)](),_0x4e55ea);}async['_updateSubUnitFromURLParams'](_0x5e7823){const _0x4f5f13=_0x35d624;var _0x5a50e0;const _0x272e69=this[_0x4f5f13(0x287)]['getParam'](_0x4f5f13(0x2f8));if(!_0x272e69||!_0x5e7823[_0x4f5f13(0xfe)](_0x272e69)){const _0x3a4c60=_0x5e7823['getUnhiddenWorksheets']()[0x0],_0xec7293=_0x5e7823[_0x4f5f13(0xfe)](_0x3a4c60);if(!_0xec7293)return;this[_0x4f5f13(0x170)](_0xec7293,!0x0),await this[_0x4f5f13(0x224)]['executeCommand'](_0x579814[_0x4f5f13(0x244)]['id'],{'unitId':_0x5e7823[_0x4f5f13(0x394)](),'subUnitId':_0x3a4c60});return;}((_0x5a50e0=_0x5e7823[_0x4f5f13(0x233)]())==null?void 0x0:_0x5a50e0['getSheetId']())!==_0x272e69&&await this[_0x4f5f13(0x224)]['executeCommand'](_0x579814[_0x4f5f13(0x244)]['id'],{'unitId':_0x5e7823['getUnitId'](),'subUnitId':_0x272e69});}},_0x497957[_0x35d624(0x391)]=_0x42aad5([_0x26e654(0x0,_0x59fd33),_0x26e654(0x1,_0x488b23[_0x35d624(0x31f)]),_0x26e654(0x2,_0x488b23[_0x35d624(0x1cc)]),_0x26e654(0x3,_0x488b23[_0x35d624(0x14a)](_0xe662fa['DataLoaderService'])),_0x26e654(0x4,_0x488b23[_0x35d624(0x1d1)](_0x95816f[_0x35d624(0x298)]))],_0x497957[_0x35d624(0x391)]);var _0x22083f=Object[_0x35d624(0x235)],_0x1d55e1=(_0x35a18c,_0x996b4e,_0x2a5304,_0x403108)=>{const _0x4a3e3f=_0x35d624;for(var _0x4a4089=_0x403108>0x1?void 0x0:_0x403108?_0x22083f(_0x996b4e,_0x2a5304):_0x996b4e,_0x36efe7=_0x35a18c[_0x4a3e3f(0x33f)]-0x1,_0x1687f9;_0x36efe7>=0x0;_0x36efe7--)(_0x1687f9=_0x35a18c[_0x36efe7])&&(_0x4a4089=_0x1687f9(_0x4a4089)||_0x4a4089);return _0x4a4089;},_0x27e887=(_0x282e47,_0x522b5e)=>(_0x3b764b,_0x174190)=>_0x522b5e(_0x3b764b,_0x174190,_0x282e47);let _0x1a397d=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x12676c,_0x5a3e9f){const _0x1d88f0=_0x35d624;super(),this[_0x1d88f0(0x171)]=_0x12676c,this['_imageIoService']=_0x5a3e9f,this[_0x1d88f0(0x251)]();}[_0x35d624(0x251)](){const _0x1f60c5=_0x35d624,_0x2eb3ef=this;this[_0x1f60c5(0x37d)](this['_docClipboardService'][_0x1f60c5(0x127)]({'onBeforePasteImage':async _0x38d205=>{const _0x5939be=_0x1f60c5,_0x25194a=await _0x2eb3ef[_0x5939be(0x193)][_0x5939be(0x312)](_0x38d205);return _0x25194a?{'source':_0x25194a[_0x5939be(0x2ba)],'imageSourceType':_0x25194a[_0x5939be(0x2d9)]}:null;}}));}};_0x1a397d=_0x1d55e1([_0x27e887(0x0,_0x568c85[_0x35d624(0x1d3)]),_0x27e887(0x1,_0x22ecfc[_0x35d624(0x141)])],_0x1a397d);const _0x406a63=['purple.300',_0x35d624(0x16d),_0x35d624(0x338),_0x35d624(0x229),_0x35d624(0x1ed),_0x35d624(0x32c)];class _0x3a845f extends _0x488b23['Disposable']{constructor(){const _0x415e7d=_0x35d624;super(...arguments),_0x5c8f58(this,_0x415e7d(0x379),new Map()),_0x5c8f58(this,_0x415e7d(0x237),0x0);}[_0x35d624(0x12a)](_0x29ac26){const _0x4c6b53=_0x35d624;if(this[_0x4c6b53(0x379)][_0x4c6b53(0x2a9)](_0x29ac26))return this['_assignedColors'][_0x4c6b53(0x37f)](_0x29ac26);const _0x4072c9=_0x406a63[this['_colorIndex']];return this[_0x4c6b53(0x237)]=(this['_colorIndex']+0x1)%_0x406a63['length'],this['_assignedColors'][_0x4c6b53(0x26e)](_0x29ac26,_0x4072c9),_0x4072c9;}}function _0x108b41(_0x422baa){const _0x6a116a=_0x35d624;let _0x1512f5='';for(const _0x1751ca of _0x422baa){const {startOffset:_0x545b20,endOffset:_0x25974f,isActive:_0x3ccb4d,rangeType:_0x276620,segmentId:_0x1a65f2,segmentPage:_0xf84fcc}=_0x1751ca;_0x1512f5[_0x6a116a(0x33f)]&&(_0x1512f5+=','),_0x1512f5+=_0x545b20+':'+_0x25974f+':'+(_0x3ccb4d?'1':'0')+':'+_0x276620+':'+_0x1a65f2+':'+_0xf84fcc;}return _0x1512f5;}function _0x307604(_0x1ebec6){const _0x535ead=_0x35d624,_0x574104=_0x1ebec6[_0x535ead(0x378)](','),_0x4745f6=[];for(const _0x50c0b2 of _0x574104){const [_0xde3a5b,_0x4b69f6,_0x27f6c3,_0x3eff7c,_0x1ebb64,_0x35d8c0]=_0x50c0b2[_0x535ead(0x378)](':');_0x4745f6[_0x535ead(0x157)]({'startOffset':Number(_0xde3a5b),'endOffset':Number(_0x4b69f6),'collapsed':_0xde3a5b===_0x4b69f6,'isActive':_0x27f6c3==='1','rangeType':_0x3eff7c===_0x488b23[_0x535ead(0x1cd)][_0x535ead(0x1f8)]?_0x488b23[_0x535ead(0x1cd)][_0x535ead(0x1f8)]:_0x488b23[_0x535ead(0x1cd)][_0x535ead(0x2ab)],'segmentId':typeof _0x1ebb64=='string'?String(_0x1ebb64):'','segmentPage':Number(_0x35d8c0!=null?_0x35d8c0:-0x1)});}return _0x4745f6[_0x535ead(0x212)](_0x3198c1=>_0x3198c1[_0x535ead(0x1d0)])||(_0x4745f6[0x0]['isActive']=!0x0),_0x4745f6;}class _0x4f1bea extends _0x488b23[_0x35d624(0x376)]{constructor(){const _0x7cb1f5=_0x35d624;super(...arguments),_0x5c8f58(this,_0x7cb1f5(0xee),new _0xd39c43[(_0x7cb1f5(0x20f))](null)),_0x5c8f58(this,_0x7cb1f5(0x316),this['_collabCursorState$'][_0x7cb1f5(0x320)]());}['syncEditingCollabCursor'](_0x920b8d){const _0x4e907b=_0x35d624,{unitID:_0x3a9ab8,memberID:_0x201aed,textRanges:_0x4a0fb7}=_0x920b8d,_0x345628=_0x108b41(_0x4a0fb7);if(_0x345628==='')return;const _0x3fc58b={'unitID':_0x3a9ab8,'memberID':_0x201aed,'selection':_0x345628};this[_0x4e907b(0xee)]['next'](_0x3fc58b);}}var _0x33454b=Object[_0x35d624(0x235)],_0x43e68d=(_0x3d9a22,_0x13247b,_0x1018d7,_0x364859)=>{const _0x4e1dad=_0x35d624;for(var _0x9c7dbe=_0x364859>0x1?void 0x0:_0x364859?_0x33454b(_0x13247b,_0x1018d7):_0x13247b,_0x405cbc=_0x3d9a22[_0x4e1dad(0x33f)]-0x1,_0x44f084;_0x405cbc>=0x0;_0x405cbc--)(_0x44f084=_0x3d9a22[_0x405cbc])&&(_0x9c7dbe=_0x44f084(_0x9c7dbe)||_0x9c7dbe);return _0x9c7dbe;},_0x45e62a=(_0x58fc8b,_0xf39940)=>(_0x4b2563,_0x46c523)=>_0xf39940(_0x4b2563,_0x46c523,_0x58fc8b);const _0x26cfbf=0x12c,_0x4016ed=0x64;let _0x5f2e5e=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x10f7f1,_0xd4dab5,_0x308423,_0x1bf9eb,_0x3fcb68,_0x1679ba,_0x1a4c78,_0x3d3582,_0x80ccc1){const _0x410847=_0x35d624;super(),_0x5c8f58(this,_0x410847(0x257),!0x1),_0x5c8f58(this,_0x410847(0x251),!0x1),_0x5c8f58(this,_0x410847(0x387),new _0xd39c43[(_0x410847(0x20f))](new Map())),_0x5c8f58(this,_0x410847(0x307),this[_0x410847(0x387)]['asObservable']()),_0x5c8f58(this,_0x410847(0x35b),new _0xd39c43['BehaviorSubject']([])),_0x5c8f58(this,_0x410847(0x113),this['_roomMembers$'][_0x410847(0x2a0)](_0xd39c43[_0x410847(0xf5)](_0x26cfbf))),_0x5c8f58(this,_0x410847(0x156),_0x488b23[_0x410847(0x396)](_0x426e06=>{const _0x5524ef=_0x410847,_0x1c0621={'eventID':_0x330813[_0x5524ef(0x174)][_0x5524ef(0x31a)],'data':{'unitID':this[_0x5524ef(0x28e)],'memberID':this['_session'][_0x5524ef(0x284)](),'selection':_0x108b41(_0x426e06)}};this['_session'][_0x5524ef(0x10f)](_0x1c0621,this[_0x5524ef(0x28e)]);},_0x4016ed)),(this[_0x410847(0x28e)]=_0x10f7f1,this[_0x410847(0x326)]=_0xd4dab5,this[_0x410847(0x111)]=_0x308423,this[_0x410847(0x24b)]=_0x1bf9eb,this[_0x410847(0x38c)]=_0x3fcb68,this[_0x410847(0x341)]=_0x1679ba,this[_0x410847(0x1a2)]=_0x1a4c78,this[_0x410847(0x162)]=_0x3d3582,this[_0x410847(0x224)]=_0x80ccc1);}get[_0x35d624(0x29a)](){const _0x43f15f=_0x35d624;return this[_0x43f15f(0x387)][_0x43f15f(0x334)]();}get['roomMembers'](){const _0x1f9a76=_0x35d624;return this[_0x1f9a76(0x35b)][_0x1f9a76(0x334)]();}[_0x35d624(0x299)](){const _0x28645c=_0x35d624;super['dispose'](),this[_0x28645c(0x387)][_0x28645c(0x25a)](new Map()),this['_cursorInfo$'][_0x28645c(0x1ae)](),this[_0x28645c(0x35b)][_0x28645c(0x25a)]([]),this[_0x28645c(0x35b)]['complete']();}[_0x35d624(0x1ff)](){const _0x25e1fb=_0x35d624;this[_0x25e1fb(0x251)]||(this[_0x25e1fb(0x251)]=!0x0,this[_0x25e1fb(0x326)][_0x25e1fb(0x3af)][_0x25e1fb(0x2a0)](_0xd39c43['takeUntil'](this[_0x25e1fb(0x325)]))['subscribe'](_0x3cad5e=>{const _0x5079ce=_0x25e1fb;_0x3cad5e===_0xe662fa[_0x5079ce(0x3a7)][_0x5079ce(0x191)]?this[_0x5079ce(0x195)]():this[_0x5079ce(0x263)]();}),this[_0x25e1fb(0x326)][_0x25e1fb(0x2d5)][_0x25e1fb(0x2a0)](_0xd39c43[_0x25e1fb(0x208)](this[_0x25e1fb(0x325)]))[_0x25e1fb(0x239)](_0x2ae40e=>{const _0xe958f8=_0x25e1fb,_0x5b564f=_0x2ae40e['eventID'];_0x5b564f===_0x330813[_0xe958f8(0x174)][_0xe958f8(0x31a)]&&this[_0xe958f8(0x1a0)](_0x2ae40e),_0x5b564f===_0x330813[_0xe958f8(0x174)]['USERS_LEAVE']&&this[_0xe958f8(0x248)](_0x2ae40e);}),this[_0x25e1fb(0x37d)](this[_0x25e1fb(0x224)][_0x25e1fb(0x1fd)](_0x15dc48=>{const _0x2ca90f=_0x25e1fb,_0x56f2ea=_0x15dc48[_0x2ca90f(0x3a4)];_0x56f2ea!=null&&this[_0x2ca90f(0x257)]&&_0x15dc48['id']===_0x473e87[_0x2ca90f(0x3a8)]['id']&&_0x56f2ea[_0x2ca90f(0x187)]===this['unitID']&&_0x56f2ea[_0x2ca90f(0x197)]===!0x1&&_0x56f2ea[_0x2ca90f(0x2af)][_0x2ca90f(0x33f)]>0x0&&this[_0x2ca90f(0x156)](_0x56f2ea[_0x2ca90f(0x2af)]);})),this[_0x25e1fb(0x341)]['collabCursorState$'][_0x25e1fb(0x2a0)](_0xd39c43[_0x25e1fb(0x208)](this[_0x25e1fb(0x325)]))[_0x25e1fb(0x239)](_0x3df33c=>{const _0x5105a2=_0x25e1fb;if((_0x3df33c==null?void 0x0:_0x3df33c[_0x5105a2(0x28e)])!==this['unitID'])return;const _0x1867e5={'eventID':_0x330813[_0x5105a2(0x174)][_0x5105a2(0x31a)],'data':_0x3df33c};this[_0x5105a2(0x1a0)](_0x1867e5);}),this['disposeWithMe'](this[_0x25e1fb(0x224)][_0x25e1fb(0x1fd)](_0x44f69c=>{const _0x30b013=_0x25e1fb;if(_0x44f69c[_0x30b013(0x3a4)]==null)return;const _0x1ea469=_0x44f69c[_0x30b013(0x3a4)];if(_0x44f69c['id']!==_0x473e87['RichTextEditingMutation']['id']||_0x1ea469[_0x30b013(0x187)]!==this[_0x30b013(0x28e)])return;const _0x3b8996={'id':_0x30b013(0x373),'params':_0x1ea469},_0x51bc14=this[_0x30b013(0x29a)];for(const [_0x378808,_0x40d578]of _0x51bc14){const _0x6aa883={'id':_0x30b013(0x373),'params':{'unitId':this[_0x30b013(0x28e)],'actions':null,'textRanges':_0x40d578['ranges']}},_0x50c39f=this[_0x30b013(0x1a2)][_0x30b013(0x33a)](_0x3b8996,_0x6aa883,!0x1);if(_0x330813['isTransformMutationFailure'](_0x50c39f))throw _0x50c39f[_0x30b013(0x188)];_0x51bc14['set'](_0x378808,{..._0x40d578,'ranges':_0x50c39f['m2Prime']['params'][_0x30b013(0xcb)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x51bc14);});})));}[_0x35d624(0x1a0)](_0xe9b6b2){const _0x55d911=_0x35d624;var _0x27e779,_0x29bc76;const {memberID:_0x5374ee,selection:_0x450bdf}=_0xe9b6b2['data'],_0x17629=_0x307604(_0x450bdf),_0xa54cea=(_0x29bc76=(_0x27e779=this[_0x55d911(0x38c)]['getMember'](this[_0x55d911(0x28e)],_0x5374ee))==null?void 0x0:_0x27e779[_0x55d911(0x38e)])!=null?_0x29bc76:'Unknown\x20user',_0x1054bd={'color':this[_0x55d911(0x24b)][_0x55d911(0x12a)](_0x5374ee),'name':_0xa54cea,'ranges':_0x17629},_0x3e93ab=this[_0x55d911(0x29a)];_0x3e93ab[_0x55d911(0x26e)](_0x5374ee,_0x1054bd),this['_cursorInfo$'][_0x55d911(0x25a)](_0x3e93ab);}[_0x35d624(0x248)](_0x599ec3){const _0x3cc9ab=_0x35d624,{memberID:_0x43be78}=_0x599ec3['data'],_0x4b879c=this['cursorInfo'];_0x4b879c[_0x3cc9ab(0x323)](_0x43be78),this[_0x3cc9ab(0x387)]['next'](_0x4b879c);}[_0x35d624(0x195)](){const _0x3d48cb=_0x35d624;var _0x3e80fb;if(this['_online']=!0x0,((_0x3e80fb=this[_0x3d48cb(0x162)][_0x3d48cb(0x19a)]())==null?void 0x0:_0x3e80fb[_0x3d48cb(0x394)]())!==this['unitID'])return;const _0x1fcd41=this[_0x3d48cb(0x111)][_0x3d48cb(0x37f)](_0x473e87[_0x3d48cb(0x3ac)])[_0x3d48cb(0x361)]();Array[_0x3d48cb(0x1ab)](_0x1fcd41)&&_0x1fcd41[_0x3d48cb(0x33f)]>0x0&&this[_0x3d48cb(0x156)](_0x1fcd41);}[_0x35d624(0x263)](){this['_online']=!0x1;}};_0x5f2e5e=_0x43e68d([_0x45e62a(0x2,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x45e62a(0x3,_0x488b23[_0x35d624(0x14a)](_0x3a845f)),_0x45e62a(0x4,_0x488b23['Inject'](_0xe662fa[_0x35d624(0x13b)])),_0x45e62a(0x5,_0x488b23['Inject'](_0x4f1bea)),_0x45e62a(0x6,_0x330813['ITransformService']),_0x45e62a(0x7,_0x488b23[_0x35d624(0x385)]),_0x45e62a(0x8,_0x488b23[_0x35d624(0x1cc)])],_0x5f2e5e);var _0x34640e=Object[_0x35d624(0x235)],_0x30af6e=(_0x29ea12,_0x456e0f,_0x1dc54d,_0x1e8e21)=>{for(var _0x440afa=_0x1e8e21>0x1?void 0x0:_0x1e8e21?_0x34640e(_0x456e0f,_0x1dc54d):_0x456e0f,_0x541d6d=_0x29ea12['length']-0x1,_0x346279;_0x541d6d>=0x0;_0x541d6d--)(_0x346279=_0x29ea12[_0x541d6d])&&(_0x440afa=_0x346279(_0x440afa)||_0x440afa);return _0x440afa;},_0x26fdda=(_0x1e0db3,_0x14bfd0)=>(_0x1bbb7c,_0x266daa)=>_0x14bfd0(_0x1bbb7c,_0x266daa,_0x1e0db3);const _0x4bf96c=0x12c,_0x12bab0=0x64,_0x36a631=()=>{let _0x155bea=[],_0xda4665=!0x1;return _0x1412b1=>{const _0x3298b9=_0x3f90;_0x155bea[_0x3298b9(0x157)](_0x1412b1),_0xda4665||(_0xda4665=!0x0,setTimeout(()=>{const _0x143a29=_0x3298b9;_0x155bea[_0x143a29(0x125)](_0x4cec47=>_0x4cec47()),_0x155bea=[],_0xda4665=!0x1;}));};};let _0x535e38=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x4e3f26,_0x193a4d,_0x5a1da2,_0x3d8b5a,_0x31d3af,_0xec9f1c,_0x31b2b2,_0x16d660){const _0x516340=_0x35d624;super(),_0x5c8f58(this,_0x516340(0x257),!0x1),_0x5c8f58(this,_0x516340(0x251),!0x1),_0x5c8f58(this,_0x516340(0x387),new _0xd39c43[(_0x516340(0x20f))](new Map())),_0x5c8f58(this,_0x516340(0x307),this['_cursorInfo$']['asObservable']()),_0x5c8f58(this,_0x516340(0x35b),new _0xd39c43['BehaviorSubject']([])),_0x5c8f58(this,_0x516340(0x113),this[_0x516340(0x35b)][_0x516340(0x2a0)](_0xd39c43[_0x516340(0xf5)](_0x4bf96c))),_0x5c8f58(this,'_updateLocalCursor',_0x488b23[_0x516340(0x396)]((_0x19ee6f,_0x354ac8)=>{const _0x1e8533=_0x516340,_0x32575d={'eventID':_0x330813[_0x1e8533(0x174)][_0x1e8533(0x31a)],'data':{'unitID':this[_0x1e8533(0x28e)],'memberID':this[_0x1e8533(0x326)][_0x1e8533(0x284)](),'selection':_0x5a73c8[_0x1e8533(0x179)](_0x19ee6f,_0x354ac8['range'])}};this[_0x1e8533(0x326)][_0x1e8533(0x10f)](_0x32575d,this['unitID']);},_0x12bab0)),(this[_0x516340(0x28e)]=_0x4e3f26,this[_0x516340(0x326)]=_0x193a4d,this['_injector']=_0x5a1da2,this['_colorAssignService']=_0x3d8b5a,this[_0x516340(0x38c)]=_0x31d3af,this[_0x516340(0x162)]=_0xec9f1c,this[_0x516340(0x224)]=_0x31b2b2,this['_refRangeService']=_0x16d660);}get[_0x35d624(0x29a)](){const _0x292ace=_0x35d624;return this['_cursorInfo$'][_0x292ace(0x334)]();}get[_0x35d624(0x2f1)](){const _0x5cfbcd=_0x35d624;return this[_0x5cfbcd(0x35b)]['getValue']();}[_0x35d624(0x299)](){const _0x22d240=_0x35d624;super['dispose'](),this[_0x22d240(0x387)][_0x22d240(0x25a)](new Map()),this[_0x22d240(0x387)][_0x22d240(0x1ae)](),this[_0x22d240(0x35b)][_0x22d240(0x25a)]([]),this[_0x22d240(0x35b)]['complete']();}[_0x35d624(0x1ff)](){const _0x676123=_0x35d624;this[_0x676123(0x251)]||(this['_init']=!0x0,this[_0x676123(0x326)]['sessionStatus$'][_0x676123(0x2a0)](_0xd39c43[_0x676123(0x208)](this[_0x676123(0x325)]))[_0x676123(0x239)](_0x3aeb58=>{const _0x1a2a6c=_0x676123;_0x3aeb58===_0xe662fa[_0x1a2a6c(0x3a7)][_0x1a2a6c(0x191)]?this[_0x1a2a6c(0x195)]():this[_0x1a2a6c(0x263)]();}),this[_0x676123(0x326)][_0x676123(0x2d5)][_0x676123(0x2a0)](_0xd39c43['takeUntil'](this[_0x676123(0x325)]))[_0x676123(0x239)](_0x5a3153=>{const _0x5c03e0=_0x676123,_0x5f3bc1=_0x5a3153['eventID'];_0x5f3bc1===_0x330813[_0x5c03e0(0x174)][_0x5c03e0(0x31a)]&&this[_0x5c03e0(0x1a0)](_0x5a3153),_0x5f3bc1===_0x330813['CollaborationEvent']['USERS_LEAVE']&&this[_0x5c03e0(0x248)](_0x5a3153);}),this[_0x676123(0x33c)](),this[_0x676123(0x37d)](this[_0x676123(0x224)]['onCommandExecuted'](_0x50c42c=>{const _0x1b6266=_0x676123;if(this[_0x1b6266(0x257)]&&_0x50c42c['id']===_0x579814[_0x1b6266(0x225)]['id']&&_0x50c42c[_0x1b6266(0x3a4)][_0x1b6266(0x187)]===this[_0x1b6266(0x28e)]){const _0x653f60=_0x50c42c[_0x1b6266(0x3a4)];this['_updateLocalCursor'](_0x653f60[_0x1b6266(0x217)],_0x653f60[_0x1b6266(0x2c9)][0x0]);}})));}[_0x35d624(0x1a0)](_0x36ae1d){const _0x3bb66a=_0x35d624;var _0x29db8d,_0x15f42b;const {memberID:_0x4235d9,selection:_0xdb7d1e}=_0x36ae1d['data'],{sheetName:_0x2d73f2,range:_0x540c9a}=_0x5a73c8[_0x3bb66a(0x32d)](_0xdb7d1e),_0x3a5fb2={'name':(_0x15f42b=(_0x29db8d=this[_0x3bb66a(0x38c)][_0x3bb66a(0x31d)](this[_0x3bb66a(0x28e)],_0x4235d9))==null?void 0x0:_0x29db8d[_0x3bb66a(0x38e)])!=null?_0x15f42b:_0x3bb66a(0x1db),'range':this[_0x3bb66a(0x1e5)](_0x2d73f2,_0x540c9a),'sheetID':_0x2d73f2,'color':this[_0x3bb66a(0x24b)][_0x3bb66a(0x12a)](_0x4235d9),'selection':_0xdb7d1e},_0x1b79c5=this['cursorInfo'];_0x1b79c5[_0x3bb66a(0x26e)](_0x4235d9,_0x3a5fb2),this['_cursorInfo$'][_0x3bb66a(0x25a)](_0x1b79c5);}[_0x35d624(0x248)](_0x11907b){const _0x146659=_0x35d624,{memberID:_0x3894ee}=_0x11907b['data'],_0x4bd3ef=this[_0x146659(0x29a)];_0x4bd3ef['delete'](_0x3894ee),this['_cursorInfo$'][_0x146659(0x25a)](_0x4bd3ef);}[_0x35d624(0x1e5)](_0x4845e5,_0x1ce35a){const _0x5d5e95=_0x35d624;var _0x2d4c86,_0xcbe847;const _0x5d7fdf=(_0xcbe847=(_0x2d4c86=this[_0x5d5e95(0x162)][_0x5d5e95(0xcc)](this[_0x5d5e95(0x28e)]))==null?void 0x0:_0x2d4c86[_0x5d5e95(0xfe)](_0x4845e5))==null?void 0x0:_0xcbe847[_0x5d5e95(0x1ad)]();return(_0x5d7fdf==null?void 0x0:_0x5d7fdf['find'](_0x9458e3=>_0x488b23['Rectangle'][_0x5d5e95(0x3a2)](_0x9458e3,_0x1ce35a)))||_0x1ce35a;}[_0x35d624(0x33c)](){const _0x5243bc=_0x35d624,_0x2b93e3=new _0x488b23[(_0x5243bc(0x132))](),_0x46f884=_0x36a631(),_0x57cfa7=()=>{const _0x594a65=_0x5243bc;_0x2b93e3[_0x594a65(0x299)]();const _0x5f014d=(_0x3dcb73,_0x489e9a,_0x2d75dd,_0x31552b)=>{const _0x45a01f=_0x594a65;let _0x390414=[];switch(_0x3dcb73['id']){case _0x579814['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x390414=_0x579814[_0x45a01f(0x12d)](_0x3dcb73,_0x31552b);break;}case _0x579814[_0x45a01f(0x17a)]['DeleteRangeMoveUpCommandId']:{_0x390414=_0x579814[_0x45a01f(0x2df)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x13c)]:{_0x390414=_0x579814[_0x45a01f(0x2f9)](_0x3dcb73,_0x31552b);break;}case _0x579814[_0x45a01f(0x17a)][_0x45a01f(0x294)]:{_0x390414=_0x579814[_0x45a01f(0x357)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x261)]:{_0x390414=_0x579814[_0x45a01f(0x25e)](_0x3dcb73,_0x31552b);break;}case _0x579814[_0x45a01f(0x17a)][_0x45a01f(0x37b)]:{_0x390414=_0x579814[_0x45a01f(0x3a9)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x1c8)]:{_0x390414=_0x579814['handleMoveRange'](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x2e2)]:{_0x390414=_0x579814[_0x45a01f(0x24e)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x230)]:{_0x390414=_0x579814[_0x45a01f(0x2cb)](_0x3dcb73,_0x31552b);break;}}const _0x17930c=_0x579814[_0x45a01f(0x2b8)](_0x390414,_0x31552b),_0x494529=this[_0x45a01f(0x29a)][_0x45a01f(0x37f)](_0x489e9a);if(_0x494529&&_0x17930c){const _0x27ec4e={..._0x494529,'range':_0x17930c};this['cursorInfo'][_0x45a01f(0x26e)](_0x489e9a,_0x27ec4e),_0x46f884(()=>{const _0x30a039=_0x45a01f,_0x3427b5=this[_0x30a039(0x136)]['registerRefRange'](_0x17930c,_0x1d2ad1=>(_0x3427b5[_0x30a039(0x299)](),_0x5f014d(_0x1d2ad1,_0x489e9a,_0x2d75dd,_0x17930c)));_0x2b93e3['add'](_0x3427b5);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x31acec,_0x514fb6)=>{const _0x1ea9b7=_0x594a65,{range:_0x376b71,sheetID:_0x258cf4}=_0x31acec,_0xc845df=this[_0x1ea9b7(0x136)][_0x1ea9b7(0x34d)](_0x376b71,_0xf46c6=>(_0xc845df['dispose'](),_0x5f014d(_0xf46c6,_0x514fb6,_0x258cf4,_0x376b71)));_0x2b93e3[_0x1ea9b7(0x380)](_0xc845df);});};this[_0x5243bc(0x37d)](_0x488b23[_0x5243bc(0x15d)](this[_0x5243bc(0x387)][_0x5243bc(0x239)](()=>{_0x57cfa7();})));}[_0x35d624(0x195)](){const _0x5d0cae=_0x35d624;var _0x44f5b7,_0x1f5608;if(this[_0x5d0cae(0x257)]=!0x0,((_0x44f5b7=this[_0x5d0cae(0x162)][_0x5d0cae(0x19a)]())==null?void 0x0:_0x44f5b7['getUnitId']())!==this[_0x5d0cae(0x28e)])return;const _0x43f61c=(_0x1f5608=this[_0x5d0cae(0x111)][_0x5d0cae(0x37f)](_0x579814[_0x5d0cae(0x1f9)])[_0x5d0cae(0x368)]())==null?void 0x0:_0x1f5608[0x0],_0x2bb1f1=this['_univerInstanceService'][_0x5d0cae(0x161)](_0x488b23[_0x5d0cae(0x278)][_0x5d0cae(0x386)])['getActiveSheet']();_0x43f61c&&_0x2bb1f1&&this[_0x5d0cae(0x156)](_0x2bb1f1[_0x5d0cae(0x310)](),_0x43f61c);}[_0x35d624(0x263)](){const _0x1a3f0c=_0x35d624;this[_0x1a3f0c(0x257)]=!0x1;}};_0x535e38=_0x30af6e([_0x26fdda(0x2,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x26fdda(0x3,_0x488b23[_0x35d624(0x14a)](_0x3a845f)),_0x26fdda(0x4,_0x488b23['Inject'](_0xe662fa[_0x35d624(0x13b)])),_0x26fdda(0x5,_0x488b23[_0x35d624(0x385)]),_0x26fdda(0x6,_0x488b23[_0x35d624(0x1cc)]),_0x26fdda(0x7,_0x488b23[_0x35d624(0x14a)](_0x579814[_0x35d624(0x145)]))],_0x535e38);var _0x564c88=Object[_0x35d624(0x235)],_0x2b0350=(_0x5c27ef,_0x5dd6a2,_0xcc2390,_0x4d3226)=>{for(var _0x53a85c=_0x4d3226>0x1?void 0x0:_0x4d3226?_0x564c88(_0x5dd6a2,_0xcc2390):_0x5dd6a2,_0x50bdd3=_0x5c27ef['length']-0x1,_0x332c1a;_0x50bdd3>=0x0;_0x50bdd3--)(_0x332c1a=_0x5c27ef[_0x50bdd3])&&(_0x53a85c=_0x332c1a(_0x53a85c)||_0x53a85c);return _0x53a85c;},_0x5e20b0=(_0x577001,_0x34310f)=>(_0x306788,_0x58ef1a)=>_0x34310f(_0x306788,_0x58ef1a,_0x577001);let _0x52c457=class extends _0x488b23['RxDisposable']{constructor(_0x1c81d7,_0xea62b2,_0x2a7990){const _0x1afabb=_0x35d624;super(),_0x5c8f58(this,'_entities',new Map()),_0x5c8f58(this,_0x1afabb(0x1cb),new _0xd39c43[(_0x1afabb(0x367))]()),(this[_0x1afabb(0x162)]=_0x1c81d7,this[_0x1afabb(0x111)]=_0xea62b2,this[_0x1afabb(0x274)]=_0x2a7990,this[_0x1afabb(0x251)]());}[_0x35d624(0x299)](){const _0x51b40e=_0x35d624;super['dispose'](),this['_entityInit$'][_0x51b40e(0x1ae)](),this[_0x51b40e(0x36b)]['forEach'](_0x58e629=>_0x58e629[_0x51b40e(0x299)]());}[_0x35d624(0x254)](_0x501897){const _0x462c6a=_0x35d624;return this[_0x462c6a(0x36b)]['has'](_0x501897)?this[_0x462c6a(0x36b)]['get'](_0x501897)[_0x462c6a(0x307)]:this[_0x462c6a(0x1cb)]['pipe'](_0xd39c43['filter'](_0x2e9a05=>_0x2e9a05['unitID']===_0x501897),_0xd39c43['switchMap'](_0x51ff9e=>_0x51ff9e[_0x462c6a(0x307)]));}[_0x35d624(0x251)](){const _0x367368=_0x35d624;this[_0x367368(0x162)][_0x367368(0x181)](_0x488b23[_0x367368(0x278)]['UNIVER_SHEET'])[_0x367368(0x2a0)](_0xd39c43['takeUntil'](this[_0x367368(0x325)]))[_0x367368(0x239)](async _0x30fc70=>{const _0xa94af5=_0x367368,_0x427b61=_0x30fc70[_0xa94af5(0x394)](),_0x3c8dfb=await this[_0xa94af5(0x1a5)](_0x427b61);this[_0xa94af5(0x1cb)]['next'](_0x3c8dfb),this['_entities'][_0xa94af5(0x26e)](_0x427b61,_0x3c8dfb);}),this[_0x367368(0x162)][_0x367368(0x181)](_0x488b23[_0x367368(0x278)][_0x367368(0x17b)])[_0x367368(0x2a0)](_0xd39c43['takeUntil'](this[_0x367368(0x325)]))[_0x367368(0x2a0)](_0xd39c43[_0x367368(0x293)](_0x288edb=>!_0x288edb[_0x367368(0x394)]()[_0x367368(0x393)]('__')))[_0x367368(0x239)](async _0x11d0bb=>{const _0x933885=_0x367368,_0x48d55a=_0x11d0bb[_0x933885(0x394)](),_0x1fe060=await this[_0x933885(0x317)](_0x48d55a);this['_entityInit$'][_0x933885(0x25a)](_0x1fe060),this[_0x933885(0x36b)][_0x933885(0x26e)](_0x48d55a,_0x1fe060);}),_0xd39c43[_0x367368(0x198)](this[_0x367368(0x162)][_0x367368(0x19d)](_0x488b23[_0x367368(0x278)][_0x367368(0x17b)]),this[_0x367368(0x162)]['getTypeOfUnitDisposed$'](_0x488b23[_0x367368(0x278)]['UNIVER_SHEET']))[_0x367368(0x2a0)](_0xd39c43['takeUntil'](this['dispose$']))[_0x367368(0x239)](_0x51540a=>{const _0x2ae8db=_0x367368,_0x2311dd=_0x51540a[_0x2ae8db(0x394)](),_0x4fc4df=this[_0x2ae8db(0x36b)]['get'](_0x2311dd);_0x4fc4df&&(_0x4fc4df[_0x2ae8db(0x299)](),this[_0x2ae8db(0x36b)][_0x2ae8db(0x323)](_0x2311dd));});}async[_0x35d624(0x1a5)](_0x292784){const _0x4aac86=_0x35d624,_0x29191e=await this[_0x4aac86(0x274)]['requireSession'](_0x292784),_0x5e6687=this[_0x4aac86(0x111)][_0x4aac86(0x114)](_0x535e38,_0x292784,_0x29191e);return _0x5e6687[_0x4aac86(0x1ff)](),_0x5e6687;}async['_startDocCollabCursor'](_0x461cb7){const _0x5ddc8b=_0x35d624,_0x9daf99=await this[_0x5ddc8b(0x274)][_0x5ddc8b(0xf4)](_0x461cb7),_0x116f27=this['_injector'][_0x5ddc8b(0x114)](_0x5f2e5e,_0x461cb7,_0x9daf99);return _0x116f27[_0x5ddc8b(0x1ff)](),_0x116f27;}};_0x52c457=_0x2b0350([_0x5e20b0(0x0,_0x488b23[_0x35d624(0x385)]),_0x5e20b0(0x1,_0x488b23[_0x35d624(0x14a)](_0x488b23['Injector'])),_0x5e20b0(0x2,_0x488b23[_0x35d624(0x14a)](_0xe662fa['CollaborationSessionService']))],_0x52c457);const _0x3e1347=0x14,_0x4814b2=0xc8,_0x19907b=0x4,_0x3d292f=0x5;function _0x8ebd3e(_0x297518,_0x45f832){const _0x1af95c=_0x35d624;let {radius:_0x534704,width:_0x27582b,height:_0x507a4e}=_0x45f832;_0x534704=_0x534704!=null?_0x534704:0x0,_0x27582b=_0x27582b!=null?_0x27582b:0x1e,_0x507a4e=_0x507a4e!=null?_0x507a4e:0x1e;let _0x1a623c=0x0,_0x47c28a=0x0,_0x2ab738=0x0;_0x1a623c=_0x47c28a=_0x2ab738=Math['min'](_0x534704,_0x27582b/0x2,_0x507a4e/0x2),_0x297518['beginPath'](),_0x297518[_0x1af95c(0x110)](_0x1a623c,0x0),_0x297518[_0x1af95c(0x2a6)](_0x27582b-_0x47c28a,0x0),_0x297518[_0x1af95c(0x318)](_0x27582b-_0x47c28a,_0x47c28a,_0x47c28a,Math['PI']*0x3/0x2,0x0,!0x1),_0x297518[_0x1af95c(0x2a6)](_0x27582b,_0x507a4e-_0x2ab738),_0x297518[_0x1af95c(0x318)](_0x27582b-_0x2ab738,_0x507a4e-_0x2ab738,_0x2ab738,0x0,Math['PI']/0x2,!0x1),_0x297518[_0x1af95c(0x2a6)](0x0,_0x507a4e),_0x297518[_0x1af95c(0x2a6)](0x0,_0x1a623c),_0x297518[_0x1af95c(0x318)](_0x1a623c,_0x1a623c,_0x1a623c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x297518['closePath'](),_0x45f832[_0x1af95c(0x2c6)]&&(_0x297518[_0x1af95c(0x3b4)](),_0x297518['fillStyle']=_0x45f832[_0x1af95c(0x2c6)],_0x45f832['fillRule']===_0x1af95c(0xf1)?_0x297518[_0x1af95c(0x2c6)](_0x1af95c(0xf1)):_0x297518['fill'](),_0x297518['restore']());}class _0x35a191 extends _0x4ad5e1[_0x35d624(0x139)]{constructor(_0x30064d,_0x3869c1){const _0xed8332=_0x35d624;super(_0x30064d,_0x3869c1),_0x5c8f58(this,_0xed8332(0x348)),_0x5c8f58(this,'text'),(this[_0xed8332(0x348)]=_0x3869c1==null?void 0x0:_0x3869c1[_0xed8332(0x348)],this[_0xed8332(0x330)]=_0x3869c1==null?void 0x0:_0x3869c1['text']);}static['drawWith'](_0xd45d31,_0x2cbcc4){const _0x18cc59=_0x35d624,{text:_0x5b5c91,color:_0x71fce8}=_0x2cbcc4;_0xd45d31[_0x18cc59(0x3b4)](),_0xd45d31[_0x18cc59(0x2e4)]=_0x18cc59(0x26c);const _0x245de7=_0xd45d31[_0x18cc59(0x17c)](_0x5b5c91)[_0x18cc59(0x1fe)],_0x129267=Math['min'](_0x245de7+0x2*_0x19907b,_0x4814b2);_0x8ebd3e(_0xd45d31,{'height':_0x3e1347,'radius':0x4,'width':_0x129267,'fill':_0x71fce8}),_0xd45d31[_0x18cc59(0x2f7)]='#FFF';const _0x4ecb30=_0x19907b,_0x4f522d=_0x3e1347-_0x3d292f,_0x47ea50=_0x4814b2-0x2*_0x19907b;if(_0x245de7>_0x47ea50){let _0x3e3917='',_0x119d0b=0x0;for(const _0x20fdd6 of _0x5b5c91){const _0x4e449a=_0xd45d31[_0x18cc59(0x17c)](_0x20fdd6)[_0x18cc59(0x1fe)];if(_0x119d0b+_0x4e449a<=_0x47ea50-_0xd45d31[_0x18cc59(0x17c)](_0x18cc59(0x30c))[_0x18cc59(0x1fe)])_0x3e3917+=_0x20fdd6,_0x119d0b+=_0x4e449a;else{_0x3e3917+=_0x18cc59(0x30c);break;}}_0xd45d31[_0x18cc59(0x209)](_0x3e3917,_0x4ecb30,_0x4f522d);}else _0xd45d31[_0x18cc59(0x209)](_0x5b5c91,_0x4ecb30,_0x4f522d);_0xd45d31[_0x18cc59(0x2d7)]();}['_draw'](_0x27a3cd){const _0x45790b=_0x35d624;_0x35a191[_0x45790b(0x1b5)](_0x27a3cd,this);}}const _0xcaa577='collab-text-anchor-',_0x51a857=_0x35d624(0xce),_0x433d2f='collab-rect-range-',_0x27b9f4=0x6,_0x291d89=1.5,_0x59f5fd=0x4,_0x58c60f=1.5,_0x4d180f='rgba(255,\x20255,\x20255,\x200.01)';class _0x5c0baf{constructor(_0x549d3d,_0x4f21c1,_0x2d8c06,_0x5d5c39){const _0x34d6e5=_0x35d624;_0x5c8f58(this,_0x34d6e5(0x172),[]),_0x5c8f58(this,'_anchor',null),_0x5c8f58(this,_0x34d6e5(0x20e),null),_0x5c8f58(this,'_anchorDot',null),_0x5c8f58(this,_0x34d6e5(0x259),null),_0x5c8f58(this,'_eventUnsubscribe',null),(this[_0x34d6e5(0x109)]=_0x549d3d,this[_0x34d6e5(0x28f)]=_0x4f21c1,this['_docSkeleton']=_0x2d8c06,this[_0x34d6e5(0x21d)]=_0x5d5c39,this[_0x34d6e5(0x351)]());}set[_0x35d624(0x283)](_0x49d230){const _0x1d05f5=_0x35d624;_0x49d230?(this[_0x1d05f5(0x153)]&&this[_0x1d05f5(0x153)][_0x1d05f5(0x266)](),this[_0x1d05f5(0x20e)]&&this[_0x1d05f5(0x20e)][_0x1d05f5(0x2b5)]()):(this['_anchorDot']&&this[_0x1d05f5(0x153)][_0x1d05f5(0x2b5)](),this[_0x1d05f5(0x20e)]&&this[_0x1d05f5(0x20e)][_0x1d05f5(0x266)]());}[_0x35d624(0x299)](){const _0x2e542a=_0x35d624;for(const _0x4ae198 of this['_shapes'])_0x4ae198['dispose']();this[_0x2e542a(0x20e)]&&this[_0x2e542a(0x20e)][_0x2e542a(0x299)](),this[_0x2e542a(0x153)]&&this[_0x2e542a(0x153)][_0x2e542a(0x299)](),this[_0x2e542a(0x2dc)]&&this[_0x2e542a(0x2dc)][_0x2e542a(0x299)](),this[_0x2e542a(0x364)]&&this['_eventUnsubscribe']();}[_0x35d624(0x351)](){const _0x475ab0=_0x35d624;var _0x4debfc;const {_docSkeleton:_0x88bb2d,_document:_0x3dd494}=this,{color:_0x2deccb,name:_0x37ffd9,ranges:_0x1e2920}=this[_0x475ab0(0x109)],_0x2fcbd5=_0x3dd494[_0x475ab0(0x1d2)](),{docsLeft:_0x13f67d,docsTop:_0x4fb8f4}=_0x2fcbd5,_0x21089b=new _0x568c85[(_0x475ab0(0x21c))](_0x2fcbd5,_0x88bb2d);for(const {startOffset:_0x1a12f5,endOffset:_0x3d31f2,rangeType:_0x4b6322,segmentId:_0x7ef245,segmentPage:_0x59bacb,collapsed:_0x1b4331,isActive:_0x3b5eff}of _0x1e2920){const _0x21714d=_0x88bb2d['findNodePositionByCharIndex'](_0x1a12f5,!0x0,_0x7ef245,_0x59bacb);let _0x3a20a7=_0x88bb2d[_0x475ab0(0x1bc)](_0x3d31f2,!0x0,_0x7ef245,_0x59bacb);if(_0x3a20a7==null&&(_0x3a20a7=_0x88bb2d[_0x475ab0(0x1bc)](_0x3d31f2-0x1,!0x1,_0x7ef245,_0x59bacb)),_0x3b5eff){const {contentBoxPointGroup:_0x583c23}=_0x21089b[_0x475ab0(0x319)](_0x3a20a7,_0x3a20a7);if(_0x583c23[_0x475ab0(0x33f)]===0x0)continue;this[_0x475ab0(0x2fb)](_0x2deccb,_0x583c23,_0x13f67d,_0x4fb8f4,_0x37ffd9),this[_0x475ab0(0x364)]=this['_handleHover']();}if(_0x21714d&&_0x3a20a7){if(_0x4b6322===_0x488b23[_0x475ab0(0x1cd)][_0x475ab0(0x2ab)]){const _0x20d63b=new _0x568c85[(_0x475ab0(0x275))](_0x2fcbd5,_0x88bb2d),{pointGroup:_0x157cb3}=(_0x4debfc=_0x20d63b[_0x475ab0(0x319)](_0x21714d,_0x3a20a7))!=null?_0x4debfc:{};if(_0x157cb3==null||_0x157cb3['length']===0x0)continue;this[_0x475ab0(0x3a1)](_0x2deccb,_0x157cb3,_0x13f67d,_0x4fb8f4);}else{if(!_0x1b4331){const {borderBoxPointGroup:_0x2192d4}=_0x21089b['getRangePointData'](_0x21714d,_0x3a20a7);if(_0x2192d4[_0x475ab0(0x33f)]===0x0)continue;this[_0x475ab0(0x252)](_0x2deccb,_0x2192d4,_0x13f67d,_0x4fb8f4);}}}}}['_drawAnchor'](_0x3571f8,_0x4b6455,_0x10ba72,_0x345990,_0x5122ad){const _0x325b46=_0x35d624,_0xffb00d=this[_0x325b46(0x302)](_0x4b6455),{left:_0x15241f,top:_0x1fe2f5,height:_0x3760d7}=_0xffb00d,_0x52e779=this['_getScale'](),_0x2a99a7=_0x58c60f/_0x52e779,_0x320983=new _0x4ad5e1['Rect'](_0xcaa577+_0x488b23[_0x325b46(0x390)](_0x27b9f4),{'left':_0x15241f+_0x10ba72-_0x2a99a7,'top':_0x1fe2f5+_0x345990,'height':_0x3760d7,'width':_0x291d89,'fill':_0x3571f8||_0x4ad5e1[_0x325b46(0x2d4)](_0x488b23[_0x325b46(0x24d)][_0x325b46(0x3b3)],0x0),'strokeWidth':_0x2a99a7,'stroke':_0x4d180f,'evented':!0x0});this[_0x325b46(0x2dc)]=_0x320983,this[_0x325b46(0x28f)]['addObject'](_0x320983,_0x568c85[_0x325b46(0x18a)]);const _0x10790c=new _0x4ad5e1[(_0x325b46(0x2d0))](_0xcaa577+_0x488b23[_0x325b46(0x390)](_0x27b9f4),{'left':_0x15241f+_0x10ba72-_0x2a99a7,'top':_0x1fe2f5+_0x345990-_0x59f5fd/0x2,'height':_0x59f5fd,'width':_0x59f5fd,'fill':_0x3571f8||_0x4ad5e1['getColor'](_0x488b23['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x3571f8||_0x4ad5e1['getColor'](_0x488b23[_0x325b46(0x24d)][_0x325b46(0x3b3)],0x0),'evented':!0x1});this[_0x325b46(0x153)]=_0x10790c,this[_0x325b46(0x28f)][_0x325b46(0x25b)](_0x10790c,_0x568c85[_0x325b46(0x18a)]);const _0x373286=new _0x35a191(_0xcaa577+_0x488b23[_0x325b46(0x390)](_0x27b9f4),{'left':_0x15241f+_0x10ba72-_0x2a99a7,'top':_0x1fe2f5+_0x345990-_0x3e1347,'text':_0x5122ad,'color':_0x3571f8});this[_0x325b46(0x20e)]=_0x373286,this[_0x325b46(0x28f)]['addObject'](_0x373286,_0x568c85[_0x325b46(0x18a)]),this[_0x325b46(0x283)]=!0x1;}[_0x35d624(0xd2)](){const _0x59f8ad=_0x35d624,_0x262759=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0xa3ca8c=_0x3f90;this[_0xa3ca8c(0x283)]=!0x0;}),_0x83c362=this[_0x59f8ad(0x2dc)][_0x59f8ad(0x300)][_0x59f8ad(0xde)](()=>{const _0x15577b=_0x59f8ad;this[_0x15577b(0x259)]&&clearTimeout(this[_0x15577b(0x259)]),this[_0x15577b(0x259)]=setTimeout(()=>{const _0x270d2c=_0x15577b;this[_0x270d2c(0x283)]=!0x1;},0x7d0);});return()=>{_0x262759['unsubscribe'](),_0x83c362['unsubscribe']();};}[_0x35d624(0x252)](_0x45190a,_0x54a450,_0x200135,_0x496d8d){const _0x4f07d7=_0x35d624,_0x5a6a28=new _0x488b23[(_0x4f07d7(0x100))](_0x45190a)[_0x4f07d7(0x23b)](0.2)[_0x4f07d7(0x28b)](),_0x5d54c7=new _0x4ad5e1[(_0x4f07d7(0x2ea))](_0x51a857+_0x488b23['generateRandomId'](_0x27b9f4),{'pointsGroup':_0x54a450,'fill':_0x5a6a28||_0x4ad5e1['getColor'](_0x488b23['COLORS']['black'],0.2),'left':_0x200135,'top':_0x496d8d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f07d7(0x172)]['push'](_0x5d54c7),this[_0x4f07d7(0x28f)][_0x4f07d7(0x25b)](_0x5d54c7,_0x568c85['TEXT_RANGE_LAYER_INDEX']);}[_0x35d624(0x3a1)](_0x2afa85,_0x176ede,_0xf17dc2,_0x507564){const _0x405b89=_0x35d624,_0x255350=new _0x488b23[(_0x405b89(0x100))](_0x2afa85)['setAlpha'](0.2)[_0x405b89(0x28b)](),_0x25c28d=new _0x4ad5e1[(_0x405b89(0x2ea))](_0x433d2f+_0x488b23[_0x405b89(0x390)](_0x27b9f4),{'pointsGroup':_0x176ede,'fill':_0x255350||_0x4ad5e1[_0x405b89(0x2d4)](_0x488b23[_0x405b89(0x24d)]['black'],0.2),'left':_0xf17dc2,'top':_0x507564,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x405b89(0x172)][_0x405b89(0x157)](_0x25c28d),this[_0x405b89(0x28f)]['addObject'](_0x25c28d,_0x568c85['TEXT_RANGE_LAYER_INDEX']);}[_0x35d624(0x302)](_0x2af89d){const _0x40afe9=_0x2af89d[0x0],_0x1c8aad=_0x40afe9[0x0],_0x49c206=_0x40afe9[0x2],{x:_0x133cb4,y:_0x366518}=_0x1c8aad,{x:_0x588c0f,y:_0x456566}=_0x49c206;return{'left':_0x133cb4,'top':_0x366518,'width':_0x588c0f-_0x133cb4,'height':_0x456566-_0x366518};}[_0x35d624(0x2cc)](){const _0x5810ef=_0x35d624,{scaleX:_0x3dd3bd,scaleY:_0x14ec85}=this[_0x5810ef(0x28f)][_0x5810ef(0x121)]();return Math[_0x5810ef(0x1a3)](_0x3dd3bd,_0x14ec85);}}var _0x1627ae=Object[_0x35d624(0x235)],_0x552f09=(_0x4a1817,_0xb792b9,_0x2041cb,_0x3c86bf)=>{const _0x446075=_0x35d624;for(var _0x109a8a=_0x3c86bf>0x1?void 0x0:_0x3c86bf?_0x1627ae(_0xb792b9,_0x2041cb):_0xb792b9,_0x567345=_0x4a1817[_0x446075(0x33f)]-0x1,_0x36d29e;_0x567345>=0x0;_0x567345--)(_0x36d29e=_0x4a1817[_0x567345])&&(_0x109a8a=_0x36d29e(_0x109a8a)||_0x109a8a);return _0x109a8a;},_0x4927f3=(_0x548cbd,_0x297379)=>(_0xcfb168,_0x223c24)=>_0x297379(_0xcfb168,_0x223c24,_0x548cbd);let _0x2a680a=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0xba1c58,_0x14e0ba,_0x585b31,_0x42e4c7,_0x5ea943){const _0x21d2d8=_0x35d624;super(),_0x5c8f58(this,_0x21d2d8(0x370),[]),_0x5c8f58(this,_0x21d2d8(0x267),[]),(this[_0x21d2d8(0x2ef)]=_0xba1c58,this[_0x21d2d8(0x2cd)]=_0x14e0ba,this[_0x21d2d8(0x2c1)]=_0x585b31,this[_0x21d2d8(0x224)]=_0x42e4c7,this['_themeService']=_0x5ea943,this[_0x21d2d8(0x251)]());}[_0x35d624(0x251)](){const _0x577c1a=_0x35d624,_0x4f843c=this[_0x577c1a(0x2ef)][_0x577c1a(0x187)],_0x3b120a=this[_0x577c1a(0x2cd)];this[_0x577c1a(0x37d)](_0xd39c43[_0x577c1a(0x1df)]([this['_collabCursorController'][_0x577c1a(0x254)](_0x4f843c),this['_themeService'][_0x577c1a(0x1c0)]])[_0x577c1a(0x2a0)](_0x517874[_0x577c1a(0xd4)](([_0x1c8917,_0xd76354])=>({'skeleton':_0x3b120a[_0x577c1a(0x3a5)](),'cursors':[..._0x1c8917[_0x577c1a(0x2c4)]()][_0x577c1a(0x26f)](_0x9d1b1d=>({..._0x9d1b1d,'color':this[_0x577c1a(0x234)]['getColorFromTheme'](_0x9d1b1d[_0x577c1a(0x348)])}))})))[_0x577c1a(0x239)](_0x26e448=>{const _0x11eded=_0x577c1a;if(this['_removeCollabCursors'](),_0x26e448){const {skeleton:_0x462bbb,cursors:_0x5bc2d5}=_0x26e448;this[_0x11eded(0x306)](_0x462bbb,_0x5bc2d5);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x35d624(0x306)](_0x4f986b,_0x3234c4){const _0xfc5a23=_0x35d624,{scene:_0x327860,mainComponent:_0x44ce3c}=this[_0xfc5a23(0x2ef)],_0x178358=_0x3234c4[_0xfc5a23(0xd4)](_0x2061a5=>new _0x5c0baf(_0x2061a5,_0x327860,_0x4f986b,_0x44ce3c));this['_cursorShapes']=_0x178358,this['_cursors']=_0x3234c4;}[_0x35d624(0x314)](){const _0x453b0b=_0x35d624;this['_removeCollabCursors']();const {scene:_0xd0d88c,mainComponent:_0x194a29}=this[_0x453b0b(0x2ef)],_0xff90ac=this[_0x453b0b(0x2cd)][_0x453b0b(0x3a5)](),_0x19d5c1=this[_0x453b0b(0x267)][_0x453b0b(0xd4)](_0x3d936d=>new _0x5c0baf(_0x3d936d,_0xd0d88c,_0xff90ac,_0x194a29));this[_0x453b0b(0x370)]=_0x19d5c1;}[_0x35d624(0x395)](){const _0x3c8f76=_0x35d624;this[_0x3c8f76(0x370)][_0x3c8f76(0x125)](_0x281713=>_0x281713['dispose']()),this[_0x3c8f76(0x370)]=[];}[_0x35d624(0xd5)](){const _0x56e4c5=_0x35d624,_0x549272=[_0x568c85['SetDocZoomRatioOperation']['id']];this[_0x56e4c5(0x37d)](this[_0x56e4c5(0x224)][_0x56e4c5(0x1fd)](_0x1cb8a7=>{const _0x525cc8=_0x56e4c5;_0x549272[_0x525cc8(0x1e1)](_0x1cb8a7['id'])&&_0x1cb8a7['params'][_0x525cc8(0x187)]===this['_context'][_0x525cc8(0x187)]&&this[_0x525cc8(0x314)]();}));}[_0x35d624(0x249)](){const _0x2de24a=_0x35d624;this[_0x2de24a(0x37d)](_0x488b23[_0x2de24a(0x1d7)](this[_0x2de24a(0x2ef)][_0x2de24a(0x16f)]['onTransformChange$'])['pipe'](_0x517874[_0x2de24a(0x293)](_0x121bf4=>_0x121bf4[_0x2de24a(0x18c)]===_0x4ad5e1[_0x2de24a(0x31e)]['resize']),_0x517874[_0x2de24a(0x305)](0x10))[_0x2de24a(0x239)](()=>{const _0x9dabb7=_0x2de24a;this[_0x9dabb7(0x314)]();}));}};_0x2a680a=_0x552f09([_0x4927f3(0x1,_0x488b23[_0x35d624(0x14a)](_0x473e87[_0x35d624(0x258)])),_0x4927f3(0x2,_0x488b23[_0x35d624(0x14a)](_0x52c457)),_0x4927f3(0x3,_0x488b23[_0x35d624(0x1cc)]),_0x4927f3(0x4,_0x488b23['Inject'](_0x488b23[_0x35d624(0x339)]))],_0x2a680a);const _0x5c9426=0x1,_0x276093=1.5;class _0x370ba4 extends _0x4ad5e1[_0x35d624(0x139)]{constructor(_0x4c80a0,_0x449f5d){const _0x1ec27e=_0x35d624;super(_0x4c80a0,_0x449f5d),_0x5c8f58(this,_0x1ec27e(0x359)),_0x5c8f58(this,'_hovered',!0x1),_0x5c8f58(this,_0x1ec27e(0x2c5)),_0x5c8f58(this,_0x1ec27e(0x2f3),''),_0x5c8f58(this,'_labelPosition',_0x1ec27e(0xe6)),_0x5c8f58(this,_0x1ec27e(0x134)),(_0x449f5d&&this[_0x1ec27e(0x260)](_0x449f5d),this[_0x1ec27e(0x2b6)][_0x1ec27e(0xde)](()=>this[_0x1ec27e(0x260)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x11aef6){const _0x5d8786=_0x35d624;var _0x24e658,_0x16890e,_0x4100c2,_0xc5d404,_0x36ea47,_0x286c7e;this['_color']=(_0x24e658=_0x11aef6['color'])!=null?_0x24e658:this[_0x5d8786(0x359)],this[_0x5d8786(0x1f7)]=(_0x16890e=_0x11aef6[_0x5d8786(0x309)])!=null?_0x16890e:this['_hovered'],this['_range']=(_0x4100c2=_0x11aef6['range'])!=null?_0x4100c2:this['_range'],this[_0x5d8786(0x2f3)]=(_0xc5d404=_0x11aef6[_0x5d8786(0x38e)])!=null?_0xc5d404:this[_0x5d8786(0x2f3)],this['_labelPosition']=(_0x36ea47=_0x11aef6[_0x5d8786(0xda)])!=null?_0x36ea47:this[_0x5d8786(0x10b)],this[_0x5d8786(0x134)]=(_0x286c7e=_0x11aef6[_0x5d8786(0x173)])!=null?_0x286c7e:this[_0x5d8786(0x134)],this[_0x5d8786(0x14f)]({'width':_0x11aef6[_0x5d8786(0x1fe)],'height':_0x11aef6['height']});}['onMouseMove'](_0xfaaf8e){const _0x5dcc10=_0x35d624,{row:_0x15f540,column:_0x760380}=_0xfaaf8e;if(_0x15f540>=this[_0x5dcc10(0x2c5)]['startRow']&&_0x15f540<=this[_0x5dcc10(0x2c5)][_0x5dcc10(0x2c8)]&&_0x760380>=this[_0x5dcc10(0x2c5)][_0x5dcc10(0x1fa)]&&_0x760380<=this[_0x5dcc10(0x2c5)][_0x5dcc10(0xcd)]){this[_0x5dcc10(0x260)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x35d624(0x25d)](_0x578503){return!0x1;}['_draw'](_0x14bed1){const _0x34775a=_0x35d624;_0x4ad5e1[_0x34775a(0x2d0)][_0x34775a(0x1b5)](_0x14bed1,{'width':this[_0x34775a(0x1fe)],'height':this[_0x34775a(0x10a)],'strokeWidth':_0x276093,'stroke':this[_0x34775a(0x359)],'evented':!0x1,'fill':this[_0x34775a(0x134)]}),this[_0x34775a(0x1f7)]&&(_0x14bed1[_0x34775a(0x3b4)](),_0x14bed1[_0x34775a(0xd0)](0x1,0x0,0x0,0x1,this[_0x34775a(0x1fe)],this[_0x34775a(0x10b)]===_0x34775a(0x2e9)?0x0:-_0x3e1347),_0x35a191[_0x34775a(0x1b5)](_0x14bed1,{'text':this[_0x34775a(0x2f3)],'color':this[_0x34775a(0x359)]}),_0x14bed1[_0x34775a(0x2d7)]());}}var _0x271f4f=Object[_0x35d624(0x235)],_0x393bb2=(_0x247d86,_0x36ed1e,_0x562335,_0x5cc3f4)=>{const _0x472744=_0x35d624;for(var _0x1950a0=_0x5cc3f4>0x1?void 0x0:_0x5cc3f4?_0x271f4f(_0x36ed1e,_0x562335):_0x36ed1e,_0x3fdf6b=_0x247d86[_0x472744(0x33f)]-0x1,_0x1cc47e;_0x3fdf6b>=0x0;_0x3fdf6b--)(_0x1cc47e=_0x247d86[_0x3fdf6b])&&(_0x1950a0=_0x1cc47e(_0x1950a0)||_0x1950a0);return _0x1950a0;},_0x173c15=(_0x535424,_0x33559d)=>(_0x171605,_0x57c260)=>_0x33559d(_0x171605,_0x57c260,_0x535424);const _0x5ed7c3=0x1389;let _0x3f03ab=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x20f390,_0x281578,_0x33c011,_0x18b38f){const _0x10dcd0=_0x35d624;super(),_0x5c8f58(this,_0x10dcd0(0x267),new Set()),_0x5c8f58(this,'_lastPointer',null),(this[_0x10dcd0(0x2ef)]=_0x20f390,this[_0x10dcd0(0xe8)]=_0x281578,this[_0x10dcd0(0x2c1)]=_0x33c011,this[_0x10dcd0(0x234)]=_0x18b38f,this['_init']());}[_0x35d624(0x251)](){const _0x3c87b2=_0x35d624;this[_0x3c87b2(0xe8)][_0x3c87b2(0xf7)][_0x3c87b2(0x2a0)](_0x517874['takeUntil'](this[_0x3c87b2(0x325)]),_0x517874[_0x3c87b2(0x1fb)](_0x2e9bc2=>{const _0x3613f3=_0x3c87b2;if(_0x2e9bc2){const _0x19423d=_0x2e9bc2[_0x3613f3(0x363)];return _0xd39c43[_0x3613f3(0x1df)](this[_0x3613f3(0x2c1)]['getCollabCursors$'](this['_context']['unitId']),this[_0x3613f3(0x234)][_0x3613f3(0x1c0)])[_0x3613f3(0x2a0)](_0x517874[_0x3613f3(0xd4)](([_0x5376b3,_0x2619c3])=>{const _0x468e89=_0x3613f3,_0x1171be=new Map();return _0x5376b3[_0x468e89(0x125)]((_0x118809,_0x2e72a1)=>{const _0x3680d2=_0x468e89;if(_0x118809[_0x3680d2(0x11f)]===_0x19423d){const _0x1c242a={..._0x118809};_0x1c242a[_0x3680d2(0x348)]=this['_themeService'][_0x3680d2(0x30a)](_0x118809[_0x3680d2(0x348)]),_0x1171be[_0x3680d2(0x26e)](_0x2e72a1,_0x1c242a);}}),{'skeleton':_0x2e9bc2,'cursors':_0x1171be};}));}return _0xd39c43['of']({'skeleton':null,'cursors':new Map()});}))[_0x3c87b2(0x239)](({skeleton:_0x4e0e69,cursors:_0x4d704e})=>{const _0x333a69=_0x3c87b2;this[_0x333a69(0x395)](),_0x4e0e69&&this[_0x333a69(0x306)](_0x4e0e69,_0x4d704e);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3c87b2(0x239)](_0x228248=>{const _0x4fb024=_0x3c87b2;if(_0x228248==null)return;const {skeleton:_0x4fcfed}=_0x228248,{scene:_0x1491bb}=this['_context'];_0x1491bb[_0x4fb024(0x2f4)]['subscribeEvent'](_0x488b23[_0x4fb024(0x396)](_0x170c20=>{const _0x585f13=_0x4fb024;var _0x3df871,_0x2c55af;const {offsetX:_0x5566c8,offsetY:_0x57a470}=_0x170c20,{x:_0x2a26ee,y:_0x25c9b0}=_0x1491bb[_0x585f13(0x166)](_0x4ad5e1['Vector2'][_0x585f13(0x315)]([_0x5566c8,_0x57a470])),{scaleX:_0xdf0db3,scaleY:_0x390c20}=_0x1491bb[_0x585f13(0x121)](),_0x40d260=_0x1491bb[_0x585f13(0x215)](_0x4ad5e1['SHEET_VIEWPORT_KEY'][_0x585f13(0x27d)]),_0x595505=_0x1491bb['getVpScrollXYInfoByPosToVp'](_0x4ad5e1['Vector2'][_0x585f13(0x315)]([_0x2a26ee,_0x25c9b0]),_0x40d260),_0x767182=_0x4fcfed[_0x585f13(0x285)](_0x5566c8,_0x57a470,_0xdf0db3,_0x390c20,_0x595505);((_0x3df871=this[_0x585f13(0x3b5)])==null?void 0x0:_0x3df871[_0x585f13(0x2b0)])===_0x767182[_0x585f13(0x2b0)]&&((_0x2c55af=this['_lastPointer'])==null?void 0x0:_0x2c55af[_0x585f13(0xfd)])===_0x767182['row']||this[_0x585f13(0x267)][_0x585f13(0x125)](_0x3bc8b5=>{const _0x46e805=_0x585f13;_0x3bc8b5[_0x46e805(0x102)](_0x767182);});},0x64));});}[_0x35d624(0x306)](_0x455bed,_0x54b2d3){const _0x32d07d=_0x35d624;var _0x2a8a7a;const _0x2a047e=(_0x2a8a7a=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x2a8a7a[_0x32d07d(0x1b8)];if(!_0x2a047e)return;const _0x35044e=this[_0x32d07d(0x15e)]();if(!_0x35044e)return;this[_0x32d07d(0x267)][_0x32d07d(0x125)](_0x386ce8=>{const _0xa042ce=_0x32d07d;_0x386ce8[_0xa042ce(0x1c5)]();});const {scene:_0x47ca38}=_0x35044e,_0x56dd0f=_0x85ffeb(Array['from'](_0x54b2d3[_0x32d07d(0x2c4)]()))[_0x32d07d(0xd4)](_0x4fc5eb=>{const _0x1198c0=_0x32d07d,{color:_0x1e5478,range:_0x372995,name:_0x29dd2b,selection:_0x2d41cd,sheetID:_0x11e5c7}=_0x4fc5eb,{startColumn:_0xafef6a,startRow:_0x215d8c,endColumn:_0x351d8a,endRow:_0x4be057}=_0x372995,_0x567f95=_0x477084[_0x1198c0(0x324)](_0x215d8c,_0xafef6a,_0x47ca38,_0x2a047e),_0x4a991e=_0x477084[_0x1198c0(0x324)](_0x4be057,_0x351d8a,_0x47ca38,_0x2a047e),{columnHeaderHeightAndMarginTop:_0x3bfa52}=_0x2a047e,{startX:_0x5b1836,startY:_0xb33be8}=_0x567f95,{endX:_0x4c1672,endY:_0x259e1d}=_0x4a991e,_0x264d79=_0x4c1672-_0x5b1836,_0x3f9d0f=_0x259e1d-_0xb33be8,_0x11bae2={'labelPosition':_0xb33be8-_0x3bfa52>=_0x3e1347?_0x1198c0(0xe6):'bottom','sheetID':_0x11e5c7,'range':_0x372995,'color':_0x1e5478,'name':_0x29dd2b,'selection':_0x2d41cd,'left':_0x5b1836,'top':_0xb33be8,'width':_0x264d79,'height':_0x3f9d0f,'evented':!0x1,'zIndex':_0x5ed7c3};return new _0x370ba4(_0x29dd2b,_0x11bae2);});_0x47ca38[_0x32d07d(0x124)](_0x56dd0f,_0x5c9426),this[_0x32d07d(0x267)]=new Set(_0x56dd0f);}['_removeCollabCursors'](){const _0x156af1=_0x35d624;var _0x57b176;(_0x57b176=this[_0x156af1(0x267)])==null||_0x57b176['forEach'](_0x1036c1=>_0x1036c1[_0x156af1(0x299)]());}[_0x35d624(0x15e)](){const _0x4359c1=_0x35d624;return _0x477084['getSheetObject'](this[_0x4359c1(0x2ef)]['unit'],this['_context']);}};_0x3f03ab=_0x393bb2([_0x173c15(0x1,_0x488b23[_0x35d624(0x14a)](_0x477084[_0x35d624(0xed)])),_0x173c15(0x2,_0x488b23[_0x35d624(0x14a)](_0x52c457)),_0x173c15(0x3,_0x488b23['Inject'](_0x488b23[_0x35d624(0x339)]))],_0x3f03ab);function _0x85ffeb(_0x30c87b){const _0x5a7ce7=_0x35d624,_0x194fb1=new Map();return _0x30c87b[_0x5a7ce7(0x125)](_0x11eb64=>{const _0x281156=_0x5a7ce7;if(_0x194fb1[_0x281156(0x2a9)](_0x11eb64[_0x281156(0x19b)])){const _0x8404b6=_0x194fb1[_0x281156(0x37f)](_0x11eb64[_0x281156(0x19b)]);_0x8404b6[_0x281156(0x38e)]+=',\x20'+_0x11eb64[_0x281156(0x38e)];}else _0x194fb1[_0x281156(0x26e)](_0x11eb64[_0x281156(0x19b)],_0x11eb64);}),Array[_0x5a7ce7(0x138)](_0x194fb1[_0x5a7ce7(0x2c4)]());}var _0x53760a=Object[_0x35d624(0x235)],_0x42b026=(_0x481b76,_0x4cff8e,_0x3e5d9a,_0x1a7ecb)=>{const _0x429643=_0x35d624;for(var _0x579883=_0x1a7ecb>0x1?void 0x0:_0x1a7ecb?_0x53760a(_0x4cff8e,_0x3e5d9a):_0x4cff8e,_0x55dff4=_0x481b76[_0x429643(0x33f)]-0x1,_0x503d51;_0x55dff4>=0x0;_0x55dff4--)(_0x503d51=_0x481b76[_0x55dff4])&&(_0x579883=_0x503d51(_0x579883)||_0x579883);return _0x579883;},_0x25e23f=(_0x182719,_0x573357)=>(_0x49b9a3,_0x2a7969)=>_0x573357(_0x49b9a3,_0x2a7969,_0x182719);let _0x4de461=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x21a72e,_0x200f0b,_0x6ad427,_0x550749,_0x4f407b,_0x2fc0ef){const _0x3e1df8=_0x35d624;super(),this[_0x3e1df8(0x14e)]=_0x21a72e,this[_0x3e1df8(0x311)]=_0x200f0b,this[_0x3e1df8(0x167)]=_0x6ad427,this[_0x3e1df8(0x329)]=_0x550749,this['_notificationService']=_0x4f407b,this[_0x3e1df8(0x349)]=_0x2fc0ef,this['_setupBeforeClosingHandler'](),this[_0x3e1df8(0x1bd)]();}['_setupBeforeClosingHandler'](){const _0x311c9e=_0x35d624;this[_0x311c9e(0x37d)](this[_0x311c9e(0x14e)][_0x311c9e(0x1a1)](()=>{const _0x467bd1=_0x311c9e;if(this[_0x467bd1(0x311)]['saveTaskMap']['size'])return this[_0x467bd1(0x349)]['t'](_0x467bd1(0x296));}));}[_0x35d624(0x1bd)](){const _0x434c57=_0x35d624;this[_0x434c57(0x37d)](this[_0x434c57(0x167)][_0x434c57(0x2d5)]['subscribe'](_0x2de548=>{const _0x5d2942=_0x434c57;_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x128)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4['MessageType'][_0x5d2942(0x194)],'content':this[_0x5d2942(0x349)]['t']('collaboration.single-unit.warning')}),_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x1dc)]&&this['_messageService'][_0x5d2942(0x2b5)]({'type':_0x29b3d4[_0x5d2942(0x219)][_0x5d2942(0x194)],'content':this[_0x5d2942(0x349)]['t']('collaboration.closeRoom')}),_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x199)]&&this['_notificationService'][_0x5d2942(0x2b5)]({'title':this[_0x5d2942(0x349)]['t']('permission.title'),'content':this['_localeService']['t'](_0x5d2942(0x206)),'type':'error','duration':0x0}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId'][_0x5d2942(0x37c)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4['MessageType'][_0x5d2942(0x240)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x216))+'('+_0x2de548[_0x5d2942(0x3aa)]+')'}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId'][_0x5d2942(0x308)]&&this[_0x5d2942(0x329)]['show']({'type':_0x29b3d4[_0x5d2942(0x219)]['Warning'],'content':this['_localeService']['t'](_0x2de548['data']||'')}),_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x17e)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4[_0x5d2942(0x219)][_0x5d2942(0x194)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x2c2))}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4['MessageType'][_0x5d2942(0x240)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x23a))}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId'][_0x5d2942(0x1b2)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4[_0x5d2942(0x219)][_0x5d2942(0x240)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x19f))});}));}};_0x4de461=_0x42b026([_0x25e23f(0x0,_0x16efad[_0x35d624(0x289)]),_0x25e23f(0x1,_0xe662fa[_0x35d624(0x2a4)]),_0x25e23f(0x2,_0x488b23[_0x35d624(0x14a)](_0xe662fa['CollaborationUIEventService'])),_0x25e23f(0x3,_0x16efad[_0x35d624(0x381)]),_0x25e23f(0x4,_0x16efad[_0x35d624(0x19e)]),_0x25e23f(0x5,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x301)]))],_0x4de461);var _0x3935e1=Object[_0x35d624(0x235)],_0x3f032f=(_0x104e4f,_0x7201fb,_0x4032ae,_0x473e44)=>{for(var _0x385bd2=_0x473e44>0x1?void 0x0:_0x473e44?_0x3935e1(_0x7201fb,_0x4032ae):_0x7201fb,_0x294242=_0x104e4f['length']-0x1,_0x3f9806;_0x294242>=0x0;_0x294242--)(_0x3f9806=_0x104e4f[_0x294242])&&(_0x385bd2=_0x3f9806(_0x385bd2)||_0x385bd2);return _0x385bd2;},_0x43d69b=(_0x3d08a2,_0x577f59)=>(_0x77c254,_0x28b4f8)=>_0x577f59(_0x77c254,_0x28b4f8,_0x3d08a2);let _0x5b922f=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x5db7d5,_0x1ef7c0,_0x156766,_0x473cd6){const _0xc9a62d=_0x35d624;super(),_0x5c8f58(this,_0xc9a62d(0x163)),(this[_0xc9a62d(0x111)]=_0x5db7d5,this[_0xc9a62d(0x33e)]=_0x1ef7c0,this[_0xc9a62d(0x112)]=_0x156766,this[_0xc9a62d(0x291)]=_0x473cd6,this['_init']());}[_0x35d624(0x251)](){const _0x228a22=_0x35d624;this[_0x228a22(0x12f)](),this[_0x228a22(0x23d)](),this[_0x228a22(0x228)](),this[_0x228a22(0x1a6)]();}[_0x35d624(0x1a6)](){const _0x47cc55=_0x35d624;this[_0x47cc55(0x37d)](this[_0x47cc55(0x291)][_0x47cc55(0x18d)]['subscribe'](_0x1382fa=>{const _0x116fad=_0x47cc55;this[_0x116fad(0x163)]=_0x1382fa==null?void 0x0:_0x1382fa[_0x116fad(0x20b)];}));}[_0x35d624(0x12f)](){const _0x2a6bd4=_0x35d624,_0x55e9e2=_0x305cf2=>{const _0x40dd6c=_0x3f90;var _0x1230ec;this['_uploadLog']('error',_0x40dd6c(0xef)+_0x305cf2['message']+_0x40dd6c(0x21a)+_0x305cf2['filename']+':'+_0x305cf2['lineno']+':'+_0x305cf2['colno']+'\x0a'+(((_0x1230ec=_0x305cf2['error'])==null?void 0x0:_0x1230ec['stack'])||''));};window[_0x2a6bd4(0x2d6)]('error',_0x55e9e2),this[_0x2a6bd4(0x37d)](()=>{const _0x4ea172=_0x2a6bd4;window[_0x4ea172(0x164)](_0x4ea172(0x188),_0x55e9e2);});}[_0x35d624(0x23d)](){const _0x535f42=_0x35d624,_0x9ade0d=_0x2035a7=>{const _0xe6042c=_0x3f90;this[_0xe6042c(0x17d)](_0xe6042c(0x188),'[Unhandled\x20Rejection]:\x20'+_0x2035a7['reason']);};window[_0x535f42(0x2d6)](_0x535f42(0x101),_0x9ade0d),this[_0x535f42(0x37d)](()=>{const _0x825f2e=_0x535f42;window[_0x825f2e(0x164)](_0x825f2e(0x101),_0x9ade0d);});}['_monkeyPatchLogService'](){const _0x3cfcdc=_0x35d624,_0x5187c4=this[_0x3cfcdc(0x112)][_0x3cfcdc(0x188)][_0x3cfcdc(0x202)](this[_0x3cfcdc(0x112)]);this['_logService']['error']=(..._0x28ad46)=>{const _0x1087d2=_0x3cfcdc,_0xfc38f8=_0x28ad46[_0x1087d2(0xd4)](_0x3158f3=>_0x3158f3 instanceof Error?_0x3158f3['message']+'\x0a'+_0x3158f3[_0x1087d2(0x26a)]:String(_0x3158f3))[_0x1087d2(0x354)]('\x20');this[_0x1087d2(0x17d)](_0x1087d2(0x188),_0x1087d2(0x3ad)+_0xfc38f8),_0x5187c4(..._0x28ad46);},this[_0x3cfcdc(0x37d)](()=>{const _0x4e650d=_0x3cfcdc;this[_0x4e650d(0x112)]['error']=_0x5187c4;});}[_0x35d624(0x17d)](_0x1bbf09,_0x2d921a){const _0x47f41c=_0x35d624;try{const _0x294ba8={'userId':this['_memberID'],'logLabel':_0x1bbf09,'content':_0x2d921a};this['_httpService'][_0x47f41c(0x151)](_0x47f41c(0x30e),{'body':_0x294ba8})[_0x47f41c(0x383)](()=>{});}catch{}}};_0x5b922f=_0x3f032f([_0x43d69b(0x0,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x43d69b(0x1,_0x488b23['Inject'](_0x46c86d['HTTPService'])),_0x43d69b(0x2,_0x488b23[_0x35d624(0x31f)]),_0x43d69b(0x3,_0x488b23[_0x35d624(0x14a)](_0xe662fa['CollaborationSessionService']))],_0x5b922f);const _0x370bf5=_0x35d624(0x2d3),_0x32f775={};var _0x20cd9a=Object[_0x35d624(0x235)],_0x281d70=(_0x562163,_0x2c279a,_0x5a1ce8,_0x289446)=>{const _0x2e591b=_0x35d624;for(var _0x33f664=_0x289446>0x1?void 0x0:_0x289446?_0x20cd9a(_0x2c279a,_0x5a1ce8):_0x2c279a,_0x11a7b5=_0x562163[_0x2e591b(0x33f)]-0x1,_0x47b52c;_0x11a7b5>=0x0;_0x11a7b5--)(_0x47b52c=_0x562163[_0x11a7b5])&&(_0x33f664=_0x47b52c(_0x33f664)||_0x33f664);return _0x33f664;},_0x90622d=(_0x278bc5,_0x76876f)=>(_0x30b1a2,_0x305dce)=>_0x76876f(_0x30b1a2,_0x305dce,_0x278bc5);let _0x4b7de7=class{constructor(_0xc72702,_0x1516be){this['_transformService']=_0xc72702,this['_renderManagerService']=_0x1516be;}['transformIMECache'](_0x1f3c37){const _0x42aae5=_0x35d624;this[_0x42aae5(0x20d)](_0x1f3c37),this[_0x42aae5(0x180)](_0x1f3c37);}['transformRemoteChangeset'](_0x50e3ea){const _0x36af2c=_0x35d624,{unitID:_0x55687b}=_0x50e3ea,_0x4561dc=this[_0x36af2c(0x1c2)][_0x36af2c(0xff)](_0x55687b)[_0x36af2c(0x290)](_0x568c85['DocIMEInputManagerService']),{redoCache:_0x295396}=_0x4561dc[_0x36af2c(0x15f)]();if(_0x295396[_0x36af2c(0x33f)]===0x0)return _0x50e3ea;let _0x48aa12=_0x488b23[_0x36af2c(0x37a)]['deepClone'](_0x50e3ea[_0x36af2c(0x1d6)][0x0]);for(let _0x3cebc8=0x0;_0x3cebc8<_0x295396[_0x36af2c(0x33f)];_0x3cebc8++){const _0x2b2c32={'id':'doc.mutation.rich-text-editing','params':{..._0x295396[_0x3cebc8]}},_0xb49748=this['_transformService']['transformMutation'](_0x48aa12,_0x2b2c32,!0x1);if(_0x330813[_0x36af2c(0x178)](_0xb49748))throw _0xb49748['error'];_0x48aa12=_0xb49748['m1Prime'];}return{..._0x488b23['Tools'][_0x36af2c(0x150)](_0x50e3ea),'mutations':[_0x48aa12]};}[_0x35d624(0x20d)](_0x12dc32){const _0x396504=_0x35d624,{unitID:_0x107abc}=_0x12dc32,_0x2cec62=this[_0x396504(0x1c2)][_0x396504(0xff)](_0x107abc)['with'](_0x568c85[_0x396504(0x256)]),{undoCache:_0x592be9,redoCache:_0x11f1a2}=_0x2cec62[_0x396504(0x15f)]();if(_0x592be9[_0x396504(0x33f)]===0x0||_0x11f1a2[_0x396504(0x33f)]===0x0)return;const _0x54b64d=[],_0x273fd3=[];let _0x4a5b7e=_0x488b23[_0x396504(0x37a)][_0x396504(0x150)](_0x12dc32['mutations'][0x0]),_0x46089d=_0x488b23[_0x396504(0x37a)][_0x396504(0x150)](_0x12dc32[_0x396504(0x1d6)][0x0]);for(let _0x2fa299=_0x592be9['length']-0x1;_0x2fa299>=0x0;_0x2fa299--){const _0x64c082={'id':_0x396504(0x373),'params':{..._0x592be9[_0x2fa299]}},_0x2be9f9={'id':'doc.mutation.rich-text-editing','params':{..._0x11f1a2[_0x2fa299]}},_0xc829ff=this[_0x396504(0x1a2)]['transformMutation'](_0x4a5b7e,_0x64c082,!0x1),_0x1dd9ca=this[_0x396504(0x1a2)][_0x396504(0x33a)](_0x46089d,_0x2be9f9,!0x1);if(_0x330813[_0x396504(0x178)](_0xc829ff))throw _0xc829ff['error'];if(_0x330813[_0x396504(0x178)](_0x1dd9ca))throw _0x1dd9ca[_0x396504(0x188)];_0x54b64d[_0x396504(0xd8)](_0xc829ff[_0x396504(0x253)][_0x396504(0x3a4)]),_0x273fd3[_0x396504(0xd8)](_0x1dd9ca['m2Prime'][_0x396504(0x3a4)]),_0x4a5b7e=_0xc829ff[_0x396504(0xd7)],_0x46089d=_0x1dd9ca[_0x396504(0xd7)];}_0x2cec62[_0x396504(0x398)]({'undoCache':_0x54b64d,'redoCache':_0x273fd3});}['_transformPreviousActiveRange'](_0x181bfe){const _0x12e438=_0x35d624,{unitID:_0x5ea55a}=_0x181bfe,_0x6c05db=this[_0x12e438(0x1c2)]['getRenderById'](_0x5ea55a)['with'](_0x568c85['DocIMEInputManagerService']),_0x373f42=_0x6c05db[_0x12e438(0x17f)]();if(_0x373f42==null)return;const _0x450859=[{'id':_0x12e438(0x373),'params':{'unitId':_0x181bfe['unitID'],'actions':null,'textRanges':[_0x373f42]}}],_0x5dd87d=this[_0x12e438(0x1a2)]['transformMutationsWithChangeset'](_0x181bfe,_0x450859);if(!_0x330813['isTransformMutationsWithChangesetSuccess'](_0x5dd87d))throw _0x5dd87d['error'];const _0x1697bf=_0x5dd87d[_0x12e438(0x253)][0x0][_0x12e438(0x3a4)]['textRanges'];Array[_0x12e438(0x1ab)](_0x1697bf)&&_0x1697bf[_0x12e438(0x33f)]&&_0x6c05db['setActiveRange'](_0x1697bf[0x0]);}};_0x4b7de7=_0x281d70([_0x90622d(0x0,_0x330813[_0x35d624(0x346)]),_0x90622d(0x1,_0x4ad5e1[_0x35d624(0x1e2)])],_0x4b7de7);var _0x20c88b=Object['getOwnPropertyDescriptor'],_0x36cfec=(_0x5834bf,_0x3eadf7,_0x4e4f20,_0x1c91ba)=>{const _0x3bd6c1=_0x35d624;for(var _0x3b024b=_0x1c91ba>0x1?void 0x0:_0x1c91ba?_0x20c88b(_0x3eadf7,_0x4e4f20):_0x3eadf7,_0x4215da=_0x5834bf[_0x3bd6c1(0x33f)]-0x1,_0x9f6838;_0x4215da>=0x0;_0x4215da--)(_0x9f6838=_0x5834bf[_0x4215da])&&(_0x3b024b=_0x9f6838(_0x3b024b)||_0x3b024b);return _0x3b024b;},_0xbb13fb=(_0x9322eb,_0x350eac)=>(_0x33b8b5,_0x32524a)=>_0x350eac(_0x33b8b5,_0x32524a,_0x9322eb);let _0x1432ff=class{constructor(_0x424ff5,_0x3415a4,_0x3965a3){const _0x126d03=_0x35d624;this[_0x126d03(0x111)]=_0x424ff5,this[_0x126d03(0x1a2)]=_0x3415a4,this[_0x126d03(0x2de)]=_0x3965a3;}['transformStateCache'](_0x15c4a2){this['_transformHistoryAndStateStack'](_0x15c4a2);}[_0x35d624(0x1f6)](_0x49b58f){const _0xd4a49d=_0x35d624,{unitID:_0x1962c9}=_0x49b58f,{collaboration:_0x4cc0d9}=this[_0xd4a49d(0x2de)]['getStateCache'](_0x1962c9);if(_0x4cc0d9[_0xd4a49d(0x33f)]===0x0)return _0x49b58f;let _0x21b8dd=_0x488b23[_0xd4a49d(0x37a)][_0xd4a49d(0x150)](_0x49b58f[_0xd4a49d(0x1d6)][0x0]);for(let _0x3d20c8=0x0;_0x3d20c8<_0x4cc0d9[_0xd4a49d(0x33f)];_0x3d20c8++){const _0x32ef0c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cc0d9[_0x3d20c8][_0xd4a49d(0x187)],..._0x4cc0d9[_0x3d20c8][_0xd4a49d(0x1e3)]}},_0x99397d=this['_transformService'][_0xd4a49d(0x33a)](_0x21b8dd,_0x32ef0c,!0x1);if(_0x330813[_0xd4a49d(0x178)](_0x99397d))throw _0x99397d[_0xd4a49d(0x188)];_0x21b8dd=_0x99397d['m1Prime'];}return{..._0x488b23['Tools'][_0xd4a49d(0x150)](_0x49b58f),'mutations':[_0x21b8dd]};}[_0x35d624(0x2e5)](_0x30b27d){const _0x3a040c=_0x35d624,{unitID:_0x4f48a3}=_0x30b27d,{history:_0x5c8765,collaboration:_0x5993a6}=this[_0x3a040c(0x2de)][_0x3a040c(0x1a9)](_0x4f48a3);if(_0x5c8765['length']===0x0&&_0x5993a6[_0x3a040c(0x33f)]===0x0)return;const _0x408c59=[],_0x59485d=[];let _0x1304b8=_0x488b23[_0x3a040c(0x37a)][_0x3a040c(0x150)](_0x30b27d[_0x3a040c(0x1d6)][0x0]),_0x4750d6=_0x488b23[_0x3a040c(0x37a)]['deepClone'](_0x30b27d[_0x3a040c(0x1d6)][0x0]);for(let _0x311bdb=_0x5c8765[_0x3a040c(0x33f)]-0x1;_0x311bdb>=0x0;_0x311bdb--){const _0x138618={'id':_0x3a040c(0x373),'params':{'unitId':_0x5c8765[_0x311bdb][_0x3a040c(0x187)],..._0x5c8765[_0x311bdb]['undoState']}},_0x5dea18={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c8765[_0x311bdb][_0x3a040c(0x187)],..._0x5c8765[_0x311bdb][_0x3a040c(0x1e3)]}},_0x3b713=this[_0x3a040c(0x1a2)]['transformMutation'](_0x1304b8,_0x138618,!0x1),_0x3d23da=this[_0x3a040c(0x1a2)][_0x3a040c(0x33a)](_0x4750d6,_0x5dea18,!0x1);if(_0x330813[_0x3a040c(0x178)](_0x3b713))throw _0x3b713[_0x3a040c(0x188)];if(_0x330813['isTransformMutationFailure'](_0x3d23da))throw _0x3d23da[_0x3a040c(0x188)];_0x408c59['unshift']({..._0x5c8765[_0x311bdb],'undoState':_0x3b713['m2Prime'][_0x3a040c(0x3a4)],'redoState':_0x3d23da[_0x3a040c(0x253)][_0x3a040c(0x3a4)]}),_0x1304b8=_0x3b713['m1Prime'],_0x4750d6=_0x3d23da[_0x3a040c(0xd7)];}_0x1304b8=_0x488b23[_0x3a040c(0x37a)][_0x3a040c(0x150)](_0x30b27d[_0x3a040c(0x1d6)][0x0]),_0x4750d6=_0x488b23[_0x3a040c(0x37a)][_0x3a040c(0x150)](_0x30b27d[_0x3a040c(0x1d6)][0x0]);for(let _0x4a2626=_0x5993a6[_0x3a040c(0x33f)]-0x1;_0x4a2626>=0x0;_0x4a2626--){const _0x29b016={'id':_0x3a040c(0x373),'params':{'unitId':_0x5993a6[_0x4a2626][_0x3a040c(0x187)],..._0x5993a6[_0x4a2626][_0x3a040c(0x24a)]}},_0x3c12ec={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5993a6[_0x4a2626][_0x3a040c(0x187)],..._0x5993a6[_0x4a2626]['redoState']}},_0x3d9b3a=this['_transformService']['transformMutation'](_0x1304b8,_0x29b016,!0x1),_0x8dd0b1=this[_0x3a040c(0x1a2)][_0x3a040c(0x33a)](_0x4750d6,_0x3c12ec,!0x1);if(_0x330813[_0x3a040c(0x178)](_0x3d9b3a))throw _0x3d9b3a[_0x3a040c(0x188)];if(_0x330813[_0x3a040c(0x178)](_0x8dd0b1))throw _0x8dd0b1['error'];_0x59485d[_0x3a040c(0xd8)]({..._0x5993a6[_0x4a2626],'undoState':_0x3d9b3a[_0x3a040c(0x253)][_0x3a040c(0x3a4)],'redoState':_0x8dd0b1[_0x3a040c(0x253)]['params']}),_0x1304b8=_0x3d9b3a[_0x3a040c(0xd7)],_0x4750d6=_0x8dd0b1['m1Prime'];}this[_0x3a040c(0x2de)][_0x3a040c(0x38f)](_0x4f48a3,{'history':_0x408c59,'collaboration':_0x59485d});}};_0x1432ff=_0x36cfec([_0xbb13fb(0x0,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0xbb13fb(0x1,_0x330813[_0x35d624(0x346)]),_0xbb13fb(0x2,_0x488b23[_0x35d624(0x14a)](_0x568c85[_0x35d624(0x160)]))],_0x1432ff);var _0x360afb=Object[_0x35d624(0x235)],_0x40a8c5=(_0x505d5e,_0xe07b4,_0x59a676,_0x4384d7)=>{for(var _0x261e1f=_0x4384d7>0x1?void 0x0:_0x4384d7?_0x360afb(_0xe07b4,_0x59a676):_0xe07b4,_0x20d680=_0x505d5e['length']-0x1,_0x44b6ea;_0x20d680>=0x0;_0x20d680--)(_0x44b6ea=_0x505d5e[_0x20d680])&&(_0x261e1f=_0x44b6ea(_0x261e1f)||_0x261e1f);return _0x261e1f;},_0x4966bd=(_0x512210,_0x236657)=>(_0x32047b,_0x59b7f7)=>_0x236657(_0x32047b,_0x59b7f7,_0x512210);let _0x2e060d=class{constructor(_0x1ee632,_0xb04ec7){const _0x1f74a7=_0x35d624;this[_0x1f74a7(0x111)]=_0x1ee632,this['_transformService']=_0xb04ec7;}['transformSelections'](_0x528347){const _0x5b3e66=_0x35d624;var _0x2129bf;const _0x2c9830=this[_0x5b3e66(0x111)][_0x5b3e66(0x37f)](_0x473e87[_0x5b3e66(0x3ac)]),_0x478875=(_0x2129bf=_0x2c9830[_0x5b3e66(0x361)]())!=null?_0x2129bf:[];if(_0x478875[_0x5b3e66(0x33f)]===0x0)return;const _0x5a0c52=_0x528347[_0x5b3e66(0x28e)],_0x3c76b8=[{'id':_0x5b3e66(0x373),'params':{'unitId':_0x5a0c52,'actions':null,'textRanges':_0x478875}}],_0x55efc8=this[_0x5b3e66(0x1a2)][_0x5b3e66(0x165)](_0x528347,_0x3c76b8);if(!_0x330813[_0x5b3e66(0x1c9)](_0x55efc8))throw _0x55efc8[_0x5b3e66(0x188)];const _0x485dcf=_0x55efc8['m2Prime'][0x0][_0x5b3e66(0x3a4)][_0x5b3e66(0xcb)];Array[_0x5b3e66(0x1ab)](_0x485dcf)&&_0x485dcf[_0x5b3e66(0x33f)]&&_0x2c9830[_0x5b3e66(0x196)](_0x485dcf,{'unitId':_0x5a0c52,'subUnitId':_0x5a0c52},!0x1);}};_0x2e060d=_0x40a8c5([_0x4966bd(0x0,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x4966bd(0x1,_0x330813[_0x35d624(0x346)])],_0x2e060d);var _0x5cd970=Object['getOwnPropertyDescriptor'],_0x2a52cd=(_0x262145,_0x45288f,_0x105a24,_0x154911)=>{const _0x51fbf5=_0x35d624;for(var _0x1e529f=_0x154911>0x1?void 0x0:_0x154911?_0x5cd970(_0x45288f,_0x105a24):_0x45288f,_0x4d2e9a=_0x262145[_0x51fbf5(0x33f)]-0x1,_0x2b765f;_0x4d2e9a>=0x0;_0x4d2e9a--)(_0x2b765f=_0x262145[_0x4d2e9a])&&(_0x1e529f=_0x2b765f(_0x1e529f)||_0x1e529f);return _0x1e529f;},_0x49615e=(_0x131c3f,_0x4a1b74)=>(_0x295799,_0x3d54ca)=>_0x4a1b74(_0x295799,_0x3d54ca,_0x131c3f);let _0x13fe58=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x1a895e,_0x41d389,_0x71d6d9,_0x375ce1,_0x4f5ccb,_0x464ef3,_0x567541,_0x63bde3){const _0x33f418=_0x35d624;super(),_0x5c8f58(this,_0x33f418(0x1c7),new _0xd39c43[(_0x33f418(0x20f))](_0xe662fa[_0x33f418(0x227)][_0x33f418(0x27c)])),(this[_0x33f418(0x2de)]=_0x1a895e,this[_0x33f418(0x2a8)]=_0x41d389,this[_0x33f418(0x279)]=_0x71d6d9,this[_0x33f418(0x31c)]=_0x375ce1,this[_0x33f418(0x22b)]=_0x4f5ccb,this[_0x33f418(0x1ef)]=_0x464ef3,this[_0x33f418(0x329)]=_0x567541,this['_localeService']=_0x63bde3,this[_0x33f418(0x23e)]());}['_initEntityListener'](){const _0x35a30e=_0x35d624;this[_0x35a30e(0x37d)](this['_collaborationController'][_0x35a30e(0x13d)]['subscribe'](_0x455a16=>{const _0x1ab29c=_0x35a30e,_0xd368ab=this[_0x1ab29c(0x2de)][_0x1ab29c(0x1b0)][_0x1ab29c(0x239)](_0x158829=>{const _0x675ecc=_0x1ab29c;if(_0x158829==null)return;const {unitId:_0x39019e,redoState:_0x541dae,commandId:_0x343280}=_0x158829;if(_0x39019e!==_0x455a16[_0x675ecc(0x28e)])return;const _0x10f5c3={'id':_0x343280,'type':_0x488b23[_0x675ecc(0x297)][_0x675ecc(0x1f4)],'params':{'unitId':_0x39019e,'actions':_0x541dae['actions'],'textRanges':null}};_0x455a16['onLocalMutation'](_0x10f5c3);});if(_0x455a16[_0x1ab29c(0x37d)](_0xd368ab),_0x455a16 instanceof _0xe662fa[_0x1ab29c(0x24c)]){const _0x2ef844={'onTransformIME':_0x5242e9=>this[_0x1ab29c(0x279)]['transformIMECache'](_0x5242e9),'onTransformState':_0x335ee0=>this[_0x1ab29c(0x31c)][_0x1ab29c(0x336)](_0x335ee0),'onTransformSelections':_0x24a4bd=>this[_0x1ab29c(0x22b)][_0x1ab29c(0x189)](_0x24a4bd),'onSyncEditingCollabCursor':_0x5c309b=>this[_0x1ab29c(0x1ef)][_0x1ab29c(0x34a)](_0x5c309b),'onTransformRemoteChangesetByIMECache':_0x4cac9e=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x4cac9e),'onTransformRemoteChangesetByStateCache':_0x190559=>this[_0x1ab29c(0x31c)]['transformRemoteChangeset'](_0x190559)};_0x455a16[_0x1ab29c(0x143)](_0x2ef844);}}));}};_0x13fe58=_0x2a52cd([_0x49615e(0x0,_0x488b23[_0x35d624(0x14a)](_0x568c85[_0x35d624(0x160)])),_0x49615e(0x1,_0x488b23[_0x35d624(0x14a)](_0xe662fa[_0x35d624(0x220)])),_0x49615e(0x2,_0x488b23[_0x35d624(0x14a)](_0x4b7de7)),_0x49615e(0x3,_0x488b23['Inject'](_0x1432ff)),_0x49615e(0x4,_0x488b23['Inject'](_0x2e060d)),_0x49615e(0x5,_0x488b23[_0x35d624(0x14a)](_0x4f1bea)),_0x49615e(0x6,_0x16efad[_0x35d624(0x381)]),_0x49615e(0x7,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x301)]))],_0x13fe58);var _0x524c8c=(_0x48f374=>(_0x48f374[_0x48f374[_0x35d624(0x14d)]=0x0]=_0x35d624(0x14d),_0x48f374[_0x48f374['OK']=0x1]='OK',_0x48f374[_0x48f374[_0x35d624(0x1da)]=0x2]=_0x35d624(0x1da),_0x48f374[_0x48f374[_0x35d624(0x199)]=0x3]=_0x35d624(0x199),_0x48f374[_0x48f374[_0x35d624(0x1d8)]=0x4]=_0x35d624(0x1d8),_0x48f374[_0x48f374[_0x35d624(0x2a2)]=0x5]='UNAUTHENTICATED',_0x48f374[_0x48f374[_0x35d624(0x2cf)]=0x6]=_0x35d624(0x2cf),_0x48f374[_0x48f374['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x48f374[_0x48f374[_0x35d624(0x16e)]=0x8]=_0x35d624(0x16e),_0x48f374[_0x48f374['COMPLETION_FINISHED']=0x9]=_0x35d624(0x39b),_0x48f374[_0x48f374[_0x35d624(0x12b)]=0xa]=_0x35d624(0x12b),_0x48f374[_0x48f374[_0x35d624(0x23f)]=0xb]=_0x35d624(0x23f),_0x48f374[_0x48f374[_0x35d624(0x35d)]=0xc]=_0x35d624(0x35d),_0x48f374[_0x48f374['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x35d624(0x1c6),_0x48f374[_0x48f374[_0x35d624(0x169)]=0xe]=_0x35d624(0x169),_0x48f374[_0x48f374[_0x35d624(0x119)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x48f374[_0x48f374[_0x35d624(0x2fc)]=0x10]=_0x35d624(0x2fc),_0x48f374[_0x48f374['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x35d624(0x2b9),_0x48f374[_0x48f374['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x48f374[_0x48f374[_0x35d624(0x345)]=0xc9]=_0x35d624(0x345),_0x48f374[_0x48f374['USER_IS_ANONYMOUS']=0xca]=_0x35d624(0xd3),_0x48f374[_0x48f374[_0x35d624(0x131)]=0x1389]=_0x35d624(0x131),_0x48f374[_0x48f374[_0x35d624(0x389)]=0x1771]=_0x35d624(0x389),_0x48f374[_0x48f374[_0x35d624(0x30f)]=0x1772]=_0x35d624(0x30f),_0x48f374[_0x48f374[_0x35d624(0x352)]=0x1773]=_0x35d624(0x352),_0x48f374[_0x48f374[_0x35d624(0x3b1)]=0x1b59]=_0x35d624(0x3b1),_0x48f374[_0x48f374[_0x35d624(0x2d8)]=0x1b5a]=_0x35d624(0x2d8),_0x48f374[_0x48f374[_0x35d624(0x25f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x48f374[_0x48f374['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x35d624(0x201),_0x48f374[_0x48f374[_0x35d624(0x1a4)]=0x1b5d]=_0x35d624(0x1a4),_0x48f374[_0x48f374[_0x35d624(0x147)]=0x1f41]=_0x35d624(0x147),_0x48f374[_0x48f374['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x48f374[_0x48f374[_0x35d624(0x255)]=0x232a]=_0x35d624(0x255),_0x48f374[_0x48f374['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x35d624(0x1a8),_0x48f374[_0x48f374[_0x35d624(0x35c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x48f374[_0x48f374[_0x35d624(0x236)]=0x232d]=_0x35d624(0x236),_0x48f374[_0x48f374[_0x35d624(0x21e)]=0x2711]=_0x35d624(0x21e),_0x48f374[_0x48f374[_0x35d624(0x399)]=0x2712]=_0x35d624(0x399),_0x48f374[_0x48f374['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x35d624(0x272),_0x48f374[_0x48f374[_0x35d624(0x20c)]=0x2714]=_0x35d624(0x20c),_0x48f374[_0x48f374[_0x35d624(0x264)]=0x271a]=_0x35d624(0x264),_0x48f374[_0x48f374['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x35d624(0x22e),_0x48f374[_0x48f374[_0x35d624(0x21f)]=0x271c]=_0x35d624(0x21f),_0x48f374[_0x48f374[_0x35d624(0x137)]=0x271d]=_0x35d624(0x137),_0x48f374[_0x48f374['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x35d624(0xf2),_0x48f374[_0x48f374[_0x35d624(0x158)]=0x271f]=_0x35d624(0x158),_0x48f374[_0x48f374[_0x35d624(0x105)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x48f374[_0x48f374[_0x35d624(0x35e)]=0x2af9]=_0x35d624(0x35e),_0x48f374[_0x48f374['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x35d624(0x1f1),_0x48f374[_0x48f374[_0x35d624(0x39d)]=0x2ee2]=_0x35d624(0x39d),_0x48f374[_0x48f374[_0x35d624(0x2c7)]=0x2ee3]=_0x35d624(0x2c7),_0x48f374[_0x48f374['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x48f374[_0x48f374[_0x35d624(0x142)]=0x2ee5]=_0x35d624(0x142),_0x48f374[_0x48f374[_0x35d624(0x25c)]=0x32c9]=_0x35d624(0x25c),_0x48f374[_0x48f374[_0x35d624(0x36d)]=0x32ca]=_0x35d624(0x36d),_0x48f374[_0x48f374[_0x35d624(0xf8)]=0x32cb]=_0x35d624(0xf8),_0x48f374[_0x48f374[_0x35d624(0x205)]=0x36b1]=_0x35d624(0x205),_0x48f374[_0x48f374[_0x35d624(0xeb)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x48f374[_0x48f374['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x35d624(0x343),_0x48f374[_0x48f374[_0x35d624(0x1cf)]=0x36b4]=_0x35d624(0x1cf),_0x48f374[_0x48f374[_0x35d624(0x2bc)]=0x36b5]=_0x35d624(0x2bc),_0x48f374[_0x48f374[_0x35d624(0xe9)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x48f374[_0x48f374['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x48f374[_0x48f374[_0x35d624(0x218)]=0x36b8]=_0x35d624(0x218),_0x48f374[_0x48f374['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x35d624(0x177),_0x48f374[_0x48f374['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x48f374[_0x48f374[_0x35d624(0x2ca)]=0x3717]=_0x35d624(0x2ca),_0x48f374[_0x48f374['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x35d624(0x27e),_0x48f374[_0x48f374[_0x35d624(0x1af)]=0x3a99]=_0x35d624(0x1af),_0x48f374[_0x48f374[_0x35d624(0x34e)]=0x3a9a]=_0x35d624(0x34e),_0x48f374[_0x48f374[_0x35d624(0x1b4)]=0x3a9b]=_0x35d624(0x1b4),_0x48f374[_0x48f374[_0x35d624(0x372)]=0x3a9c]=_0x35d624(0x372),_0x48f374[_0x48f374[_0x35d624(0x28d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x48f374[_0x48f374[_0x35d624(0x39a)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x48f374[_0x48f374['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x35d624(0x1b9),_0x48f374[_0x48f374['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x35d624(0x2ad),_0x48f374[_0x48f374[_0x35d624(0x152)]=-0x1]=_0x35d624(0x152),_0x48f374))(_0x524c8c||{});function _0x2b4d36(_0x1e7b51){const _0x3680ce=_0x35d624;var _0xebfda8,_0x2d0261;const _0x472435=(_0xebfda8=_0x1e7b51[_0x3680ce(0x1bb)])==null?void 0x0:_0xebfda8[_0x3680ce(0x2ce)],_0x45ccba=((_0x2d0261=_0x1e7b51[_0x3680ce(0x1bb)])==null?void 0x0:_0x2d0261[_0x3680ce(0x204)])||0x0;return _0x472435===_0x5a73c8[_0x3680ce(0x282)][_0x3680ce(0x303)]&&_0x45ccba>0x0;}function _0x3d34fe(_0x163190){const _0x5c7495=_0x35d624;return _0x163190['functionsExecutedState']===_0x5a73c8[_0x5c7495(0xf3)][_0x5c7495(0x295)];}var _0xec557f=Object['getOwnPropertyDescriptor'],_0x5c5bb5=(_0x3a2f4e,_0x922b26,_0x167e1b,_0x6c1ddb)=>{const _0x4e19ea=_0x35d624;for(var _0x23b312=_0x6c1ddb>0x1?void 0x0:_0x6c1ddb?_0xec557f(_0x922b26,_0x167e1b):_0x922b26,_0x5d149d=_0x3a2f4e[_0x4e19ea(0x33f)]-0x1,_0x46fc3b;_0x5d149d>=0x0;_0x5d149d--)(_0x46fc3b=_0x3a2f4e[_0x5d149d])&&(_0x23b312=_0x46fc3b(_0x23b312)||_0x23b312);return _0x23b312;},_0x407e74=(_0x4ad5f4,_0x3382c9)=>(_0x311342,_0x313c2b)=>_0x3382c9(_0x311342,_0x313c2b,_0x4ad5f4);const _0x4d7c95=_0x35d624(0x366),_0x5b2a39=_0x35d624(0x133),_0x358343=_0x35d624(0x375);let _0x243db5=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x5084b4,_0x582350,_0x451fcc,_0x2c8e38,_0x4ef444,_0x195f7b,_0xb90f8){const _0x213c1c=_0x35d624;super(),_0x5c8f58(this,_0x213c1c(0xe5),null),_0x5c8f58(this,_0x213c1c(0x2eb),0x0),_0x5c8f58(this,'_currentUsage',0x0),_0x5c8f58(this,_0x213c1c(0xea),[]),_0x5c8f58(this,_0x213c1c(0x36f),0x0),(this[_0x213c1c(0x329)]=_0x5084b4,this['_commandService']=_0x582350,this['_configService']=_0x451fcc,this[_0x213c1c(0x33e)]=_0x2c8e38,this['_univerInstanceService']=_0x4ef444,this[_0x213c1c(0x112)]=_0x195f7b,this['_localeService']=_0xb90f8,this[_0x213c1c(0x2a3)]());}[_0x35d624(0x2a3)](){const _0x3229f2=_0x35d624;this[_0x3229f2(0x37d)](this[_0x3229f2(0x224)][_0x3229f2(0x1ee)]((_0x3cec53,_0x305873)=>{const _0x2f4e8b=_0x3229f2;var _0x4ab30d;if(_0x3cec53['id']!==_0x5a73c8[_0x2f4e8b(0x1d9)]['id'])return;const _0xecc5ea=_0x3cec53[_0x2f4e8b(0x3a4)];if(!this[_0x2f4e8b(0x2da)]((_0x4ab30d=_0xecc5ea[_0x2f4e8b(0x288)])!=null?_0x4ab30d:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x2f4e8b(0x36e)](_0x3cec53,_0x305873),this[_0x2f4e8b(0x12e)](),new _0x488b23['CanceledError']();})),this['disposeWithMe'](this[_0x3229f2(0x224)][_0x3229f2(0x1fd)]((_0x5b2731,_0x2dc5d8)=>{const _0x201142=_0x3229f2;if(_0x5b2731['id']!==_0x5a73c8[_0x201142(0x11b)]['id'])return;const _0x5817b8=_0x5b2731[_0x201142(0x3a4)];if(_0x2b4d36(_0x5817b8)){const _0x362110=_0x488b23[_0x201142(0x390)]();this['_taskIds']['push'](_0x362110),this[_0x201142(0x280)](_0x362110);}else{if(_0x3d34fe(_0x5817b8)&&this[_0x201142(0xea)][_0x201142(0x33f)]>0x0){const _0x3d6894=this['_taskIds']['shift']();this[_0x201142(0x39c)](_0x3d6894);}}}));}[_0x35d624(0x299)](){const _0x490f5e=_0x35d624;super[_0x490f5e(0x299)](),this[_0x490f5e(0x356)](),this['_taskIds']=[],this[_0x490f5e(0xe3)]=0x0,this[_0x490f5e(0x2eb)]=0x0,this[_0x490f5e(0x36f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x44f63d,_0x319414){const _0x141bb8=_0x35d624;for(let _0x2bc6d9=0x0;_0x2bc6d9<0x1e;_0x2bc6d9++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x141bb8(0x22a)](_0x44f63d,_0x319414),this[_0x141bb8(0x329)][_0x141bb8(0x2b5)]({'content':this[_0x141bb8(0x349)]['t'](_0x141bb8(0x246)),'type':_0x29b3d4[_0x141bb8(0x219)][_0x141bb8(0x2fe)]});return;}await new Promise(_0x58a327=>{const _0x3edda1=_0x141bb8;this[_0x3edda1(0xe5)]=window[_0x3edda1(0x262)](_0x58a327,0x3e8);});}catch(_0x478135){this[_0x141bb8(0x112)][_0x141bb8(0x188)](_0x478135);}this[_0x141bb8(0x329)][_0x141bb8(0x2b5)]({'content':this[_0x141bb8(0x349)]['t'](_0x141bb8(0x344)),'type':_0x29b3d4[_0x141bb8(0x219)]['Error']});}[_0x35d624(0x22a)](_0xc58dd5,_0x5d1c80){const _0x1f21e4=_0x35d624;try{this[_0x1f21e4(0x224)][_0x1f21e4(0x392)](_0xc58dd5['id'],_0xc58dd5['params'],_0x5d1c80);}catch(_0x36d0bc){this['_logService'][_0x1f21e4(0x188)](_0x36d0bc);}}[_0x35d624(0x2db)](_0x53ef2e,_0x5d80df){const _0x5d1a8a=_0x35d624;_0x5d80df<this[_0x5d1a8a(0x36f)]||(this['_lastResponseTimestamp']=_0x5d80df,this[_0x5d1a8a(0x2eb)]=Number[_0x5d1a8a(0x31b)](_0x53ef2e['maxFormulaLimit']),this['_currentUsage']=Number[_0x5d1a8a(0x31b)](_0x53ef2e[_0x5d1a8a(0x397)]));}async[_0x35d624(0x280)](_0x3b8a42){const _0x3e2d30=_0x35d624;var _0x533a8e,_0x22c323;const _0x225a9e=Date[_0x3e2d30(0x2ee)]();try{const _0x3962b0=((_0x533a8e=this['_configService'][_0x3e2d30(0x214)](_0xe662fa[_0x3e2d30(0x1c3)]))==null?void 0x0:_0x533a8e[_0x3e2d30(0x304)])||_0x5b2a39,_0x1c4ed4=(await this[_0x3e2d30(0x33e)][_0x3e2d30(0x151)](_0x3962b0,{'body':JSON[_0x3e2d30(0x2be)]({'taskId':_0x3b8a42})}))[_0x3e2d30(0x13f)];if(((_0x22c323=_0x1c4ed4[_0x3e2d30(0x188)])==null?void 0x0:_0x22c323[_0x3e2d30(0x32f)])!==_0x524c8c['OK'])return;this[_0x3e2d30(0x2db)](_0x1c4ed4['limitInfo'],_0x225a9e);}catch(_0x1e6fad){this[_0x3e2d30(0x112)]['error'](_0x1e6fad);}}async['_getFormulaLimitStatus'](_0x2db08d){const _0x3a655d=_0x35d624;var _0x226a3d,_0x2d76fd;const _0xb49352=Date['now']();try{const _0x1ad77d=((_0x226a3d=this['_configService'][_0x3a655d(0x214)](_0xe662fa[_0x3a655d(0x1c3)]))==null?void 0x0:_0x226a3d['getFormulaLimitStatusUrl'])||_0x4d7c95,_0x439b83=_0x2db08d?_0x1ad77d+'?taskId='+encodeURIComponent(_0x2db08d):_0x1ad77d,_0x2efc6b=(await this[_0x3a655d(0x33e)][_0x3a655d(0x37f)](_0x439b83))[_0x3a655d(0x13f)];if(((_0x2d76fd=_0x2efc6b[_0x3a655d(0x188)])==null?void 0x0:_0x2d76fd[_0x3a655d(0x32f)])!==_0x524c8c['OK'])return;this['_setFormulaLimitStatus'](_0x2efc6b[_0x3a655d(0x2a1)],_0xb49352);}catch(_0x40b3f3){this['_logService'][_0x3a655d(0x188)](_0x40b3f3);}}async['_releaseCalculationLimit'](_0xbdf9a6){const _0x324ad6=_0x35d624;var _0x79784e,_0x282f87;const _0x2691c3=Date['now']();try{const _0x4494d9=((_0x79784e=this[_0x324ad6(0x39e)][_0x324ad6(0x214)](_0xe662fa[_0x324ad6(0x1c3)]))==null?void 0x0:_0x79784e[_0x324ad6(0x34f)])||_0x358343,_0x382098=(await this[_0x324ad6(0x33e)]['post'](_0x4494d9,{'body':JSON[_0x324ad6(0x2be)]({'taskId':_0xbdf9a6})}))[_0x324ad6(0x13f)];if(((_0x282f87=_0x382098[_0x324ad6(0x188)])==null?void 0x0:_0x282f87[_0x324ad6(0x32f)])!==_0x524c8c['OK'])return;this[_0x324ad6(0x2db)](_0x382098[_0x324ad6(0x2a1)],_0x2691c3);}catch(_0x45b4bf){this[_0x324ad6(0x112)][_0x324ad6(0x188)](_0x45b4bf);}}['_checkCalculationAvailable'](){const _0x52b2bc=_0x35d624;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x52b2bc(0x2eb)]-this[_0x52b2bc(0xe3)]>0x0;}['_clearPolling'](){const _0x22b077=_0x35d624;this[_0x22b077(0xe5)]&&(clearTimeout(this[_0x22b077(0xe5)]),this['_pollingInterval']=null);}[_0x35d624(0x12e)](){const _0x132116=_0x35d624;this[_0x132116(0x329)][_0x132116(0x2b5)]({'content':this[_0x132116(0x349)]['t'](_0x132116(0x182)),'type':_0x29b3d4[_0x132116(0x219)][_0x132116(0x22f)]});}[_0x35d624(0x2da)](_0x55d7c4){const _0x553c3d=_0x35d624;for(const _0x150633 of _0x55d7c4){const {unitId:_0x1424e2,sheetId:_0xba7ad4,range:_0x46084b}=_0x150633,_0x24a1e0=this[_0x553c3d(0x162)][_0x553c3d(0x18e)](_0x1424e2);if(!_0x24a1e0)continue;const _0x2b1a51=_0x24a1e0['getSheetBySheetId'](_0xba7ad4);if(!_0x2b1a51)continue;const _0x4a30dd=_0x2b1a51[_0x553c3d(0x16b)]();for(let _0x266eb0=_0x46084b[_0x553c3d(0xd9)];_0x266eb0<=_0x46084b[_0x553c3d(0x2c8)];_0x266eb0++)for(let _0x4dfcc9=_0x46084b[_0x553c3d(0x1fa)];_0x4dfcc9<=_0x46084b['endColumn'];_0x4dfcc9++){const _0xecdc0a=_0x4a30dd[_0x553c3d(0x334)](_0x266eb0,_0x4dfcc9);if(_0xecdc0a&&(_0x488b23['isFormulaString'](_0xecdc0a['f'])||_0x488b23[_0x553c3d(0x1f2)](_0xecdc0a['si'])))return!0x0;}}return!0x1;}};_0x243db5=_0x5c5bb5([_0x407e74(0x0,_0x488b23[_0x35d624(0x14a)](_0x16efad[_0x35d624(0x381)])),_0x407e74(0x1,_0x488b23['ICommandService']),_0x407e74(0x2,_0x488b23[_0x35d624(0x207)]),_0x407e74(0x3,_0x488b23[_0x35d624(0x14a)](_0x46c86d['HTTPService'])),_0x407e74(0x4,_0x488b23['IUniverInstanceService']),_0x407e74(0x5,_0x488b23[_0x35d624(0x31f)]),_0x407e74(0x6,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x301)]))],_0x243db5);var _0xa374e8=Object['getOwnPropertyDescriptor'],_0x9df212=(_0x531f1e,_0x202805,_0x144e78,_0x30c2b0)=>{for(var _0x5af1dc=_0x30c2b0>0x1?void 0x0:_0x30c2b0?_0xa374e8(_0x202805,_0x144e78):_0x202805,_0x12284e=_0x531f1e['length']-0x1,_0x4de524;_0x12284e>=0x0;_0x12284e--)(_0x4de524=_0x531f1e[_0x12284e])&&(_0x5af1dc=_0x4de524(_0x5af1dc)||_0x5af1dc);return _0x5af1dc;},_0x11f59e=(_0x3ccbad,_0x3b47cd)=>(_0x47cb24,_0x2daa77)=>_0x3b47cd(_0x47cb24,_0x2daa77,_0x3ccbad);let _0x5b1857=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x2cd4c3,_0x2860b3,_0x27d169){const _0x4707e9=_0x35d624;super(),_0x5c8f58(this,_0x4707e9(0xfb),new Map()),_0x5c8f58(this,'_saveTaskMap',new Map()),_0x5c8f58(this,_0x4707e9(0x1ba),!0x1),(this['_configService']=_0x2cd4c3,this[_0x4707e9(0x23c)]=_0x2860b3,this[_0x4707e9(0x332)]=_0x27d169);}[_0x35d624(0x2aa)](){this['_disabled']=!0x0;}[_0x35d624(0x2a5)](){this['_disabled']=!0x1;}get[_0x35d624(0x2f0)](){const _0x3dc687=_0x35d624;return this[_0x3dc687(0x38b)];}[_0x35d624(0x299)](){const _0x461bd1=_0x35d624;this[_0x461bd1(0x3b0)]()[_0x461bd1(0x2f2)](()=>super[_0x461bd1(0x299)]());}async['loadOfflineData'](_0x397ce1){const _0x11705c=_0x35d624;return this[_0x11705c(0x1ba)]?null:this[_0x11705c(0x23c)][_0x11705c(0x15b)](_0xe662fa[_0x11705c(0x159)](_0x397ce1));}async[_0x35d624(0x175)](_0x56167d,_0xfe3781){const _0x18b537=_0x35d624;return!!this[_0x18b537(0x23c)][_0x18b537(0x108)](_0x56167d,_0xfe3781);}[_0x35d624(0x1e8)](_0x1daf93,_0x2503e4,_0x46e68c,_0x312705){const _0x411fa1=_0x35d624,_0x5e76f1=this[_0x411fa1(0x332)][_0x411fa1(0xec)](_0x1daf93);this[_0x411fa1(0xfb)]['set'](_0x1daf93,{'unitID':_0x1daf93,'type':_0x2503e4,'awaitingChangeset':_0x46e68c,'mutations':_0x312705,'rev':_0x5e76f1}),this[_0x411fa1(0x38b)]['has'](_0x1daf93)||this[_0x411fa1(0x3a0)](_0x1daf93);}[_0x35d624(0x3a0)](_0x51fc4e){const _0xfabd34=_0x35d624,_0x355c43=this[_0xfabd34(0x1d4)]();_0x355c43===0x0?this[_0xfabd34(0x355)](_0x51fc4e):this[_0xfabd34(0x38b)][_0xfabd34(0x26e)](_0x51fc4e,setTimeout(()=>this[_0xfabd34(0x355)](_0x51fc4e),_0x355c43));}[_0x35d624(0x1d4)](){const _0x145103=_0x35d624;var _0x25d1eb;return(_0x25d1eb=this['_configService']['getConfig'](_0xe662fa[_0x145103(0x192)]))!=null?_0x25d1eb:_0xe662fa['LOCAL_CACHE_INTERVAL'];}[_0x35d624(0x355)](_0x57c0ab){const _0x41a7bb=_0x35d624,_0x2fde01=this[_0x41a7bb(0x38b)]['get'](_0x57c0ab);return _0x2fde01!==void 0x0&&window[_0x41a7bb(0x245)](_0x2fde01),this['_localStorageService'][_0x41a7bb(0x108)](_0xe662fa[_0x41a7bb(0x159)](_0x57c0ab),this[_0x41a7bb(0xfb)][_0x41a7bb(0x37f)](_0x57c0ab))[_0x41a7bb(0x2f2)](()=>this[_0x41a7bb(0x38b)]['delete'](_0x57c0ab));}async[_0x35d624(0x3b0)](){const _0x3e5d66=_0x35d624,_0x48cf8b=[];this[_0x3e5d66(0x38b)][_0x3e5d66(0x125)]((_0x105b62,_0x432e8c)=>{const _0x3fbc02=_0x3e5d66;window[_0x3fbc02(0x245)](_0x105b62),_0x48cf8b['push'](this[_0x3fbc02(0x355)](_0x432e8c)[_0x3fbc02(0x2f2)](()=>{const _0x2f5131=_0x3fbc02;this[_0x2f5131(0x38b)][_0x2f5131(0x323)](_0x432e8c);}));}),await Promise[_0x3e5d66(0x2ff)](_0x48cf8b);}};_0x5b1857=_0x9df212([_0x11f59e(0x0,_0x488b23[_0x35d624(0x207)]),_0x11f59e(0x1,_0x488b23[_0x35d624(0x183)]),_0x11f59e(0x2,_0x488b23[_0x35d624(0x14a)](_0x330813[_0x35d624(0x1b6)]))],_0x5b1857);class _0xec686a extends _0x488b23[_0x35d624(0x376)]{constructor(){const _0x379b4a=_0x35d624;super(),_0x5c8f58(this,_0x379b4a(0x1ac)),this[_0x379b4a(0x1ac)]=_0xd39c43[_0x379b4a(0x29b)](window,_0x379b4a(0x247))[_0x379b4a(0x2a0)](_0xd39c43[_0x379b4a(0x208)](this[_0x379b4a(0x325)]),_0xd39c43[_0x379b4a(0x184)](0x1),_0xd39c43[_0x379b4a(0x106)](void 0x0));}[_0x35d624(0x2d2)](_0xd2d802,_0x488b84,_0x38981b=!0x1){const _0x1c3797=_0x35d624,_0x353504=new URL(window[_0x1c3797(0x2b3)]['href']);_0x353504[_0x1c3797(0x347)][_0x1c3797(0x26e)](_0xd2d802,_0x488b84),_0x38981b?window[_0x1c3797(0x120)][_0x1c3797(0x327)]('','',_0x353504[_0x1c3797(0x26d)]()):window['history'][_0x1c3797(0x29c)]('','',_0x353504[_0x1c3797(0x26d)]());}['removeParam'](_0x1ee18e,_0x37e61d=!0x1){const _0x5eb8f3=_0x35d624,_0x25bfa2=new URL(window['location'][_0x5eb8f3(0x1eb)]);_0x25bfa2[_0x5eb8f3(0x347)][_0x5eb8f3(0x323)](_0x1ee18e),_0x37e61d?window['history'][_0x5eb8f3(0x327)]('','',_0x25bfa2[_0x5eb8f3(0x26d)]()):window[_0x5eb8f3(0x120)][_0x5eb8f3(0x29c)]('','',_0x25bfa2['toString']());}['getParam'](_0x1bff7e){const _0x1de5fb=_0x35d624;var _0x2bb0ac;return(_0x2bb0ac=new URL(window[_0x1de5fb(0x2b3)][_0x1de5fb(0x1eb)])[_0x1de5fb(0x347)][_0x1de5fb(0x37f)](_0x1bff7e))!=null?_0x2bb0ac:void 0x0;}}var _0x537c5f=Object[_0x35d624(0x13e)],_0x3d2093=Object[_0x35d624(0x235)],_0x35786c=(_0x245afc,_0x200a55,_0x460358)=>_0x200a55 in _0x245afc?_0x537c5f(_0x245afc,_0x200a55,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x460358}):_0x245afc[_0x200a55]=_0x460358,_0xbafb5a=(_0x4d32ce,_0xff9251,_0x194bb8,_0xe28f64)=>{for(var _0x4736d9=_0xe28f64>0x1?void 0x0:_0xe28f64?_0x3d2093(_0xff9251,_0x194bb8):_0xff9251,_0x38143c=_0x4d32ce['length']-0x1,_0x1d6882;_0x38143c>=0x0;_0x38143c--)(_0x1d6882=_0x4d32ce[_0x38143c])&&(_0x4736d9=_0x1d6882(_0x4736d9)||_0x4736d9);return _0x4736d9;},_0x2b0bae=(_0xe1bfa3,_0x1d221b)=>(_0x338b17,_0x23e771)=>_0x1d221b(_0x338b17,_0x23e771,_0xe1bfa3),_0x1ca766=(_0x26576f,_0x1ceadc,_0x5859aa)=>_0x35786c(_0x26576f,_0x1ceadc+'',_0x5859aa);const _0x240d31=_0x35d624(0x213);_0x497957[_0x35d624(0x149)]=class extends _0x488b23['Plugin']{constructor(_0x5f447a=_0x32f775,_0x26a02f,_0x231f39,_0x5ed541){const _0x17aff7=_0x35d624;super(),this['_config']=_0x5f447a,this[_0x17aff7(0x1c2)]=_0x26a02f,this['_injector']=_0x231f39,this[_0x17aff7(0x39e)]=_0x5ed541;const {..._0x3947d4}=_0x488b23[_0x17aff7(0x198)]({},_0x32f775,this['_config']);this[_0x17aff7(0x39e)]['setConfig'](_0x370bf5,_0x3947d4);}['onStarting'](){const _0x13ecbc=_0x35d624;this[_0x13ecbc(0x35a)](),this[_0x13ecbc(0x1f3)]();}[_0x35d624(0x350)](){const _0x3cbf62=_0x35d624;this[_0x3cbf62(0x186)]();}[_0x35d624(0x35a)](){const _0x8659ff=_0x35d624;var _0x4d59c8;const _0x78ec3f=[[_0x3a845f],[_0x243db5],[_0x2e060d],[_0x4b7de7],[_0x1432ff],[_0x4f1bea],[_0x59fd33,{'useClass':_0xec686a}],[_0x46c86d[_0x8659ff(0x3a3)],{'useClass':_0x46c86d[_0x8659ff(0x292)]}],[_0xe662fa['ILocalCacheService'],{'useClass':_0x5b1857}],[_0x497957['DesktopCollaborationStatusDisplayController']],[_0x13fe58],[_0x4de461],[_0x52c457],[_0x1a397d],[_0x497957[_0x8659ff(0x391)]]];this[_0x8659ff(0x1e0)][_0x8659ff(0x286)]&&_0x78ec3f[_0x8659ff(0x157)]([_0x5b922f]),_0x488b23[_0x8659ff(0x30d)](this[_0x8659ff(0x111)],_0x488b23['mergeOverrideWithDependencies'](_0x78ec3f,(_0x4d59c8=this['_config'])==null?void 0x0:_0x4d59c8[_0x8659ff(0xf0)]));}[_0x35d624(0x186)](){const _0x44c7b4=_0x35d624;this[_0x44c7b4(0x37d)](this[_0x44c7b4(0x1c2)][_0x44c7b4(0x104)](_0x488b23[_0x44c7b4(0x278)][_0x44c7b4(0x17b)],[_0x2a680a])),this['disposeWithMe'](this[_0x44c7b4(0x1c2)][_0x44c7b4(0x104)](_0x488b23['UniverInstanceType'][_0x44c7b4(0x386)],[_0x3f03ab]));}['_initDependencies'](){const _0x4d8321=_0x35d624;_0x488b23[_0x4d8321(0x11d)](this[_0x4d8321(0x111)],[[_0x52c457],[_0x497957['DesktopCollaborationStatusDisplayController']],[_0x13fe58],[_0x4de461],[_0x497957['CollaborationDataLoaderController']],[_0x243db5]]),this[_0x4d8321(0x1e0)][_0x4d8321(0x286)]&&_0x488b23['touchDependencies'](this[_0x4d8321(0x111)],[[_0x5b922f]]);}},_0x1ca766(_0x497957[_0x35d624(0x149)],_0x35d624(0x2fd),_0x240d31),_0x497957['UniverCollaborationClientUIPlugin']=_0xbafb5a([_0x488b23[_0x35d624(0x122)](_0xe662fa['UniverCollaborationClientPlugin']),_0x2b0bae(0x1,_0x4ad5e1['IRenderManagerService']),_0x2b0bae(0x2,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x2b0bae(0x3,_0x488b23[_0x35d624(0x207)])],_0x497957['UniverCollaborationClientUIPlugin']);var _0x49d1a5=Object[_0x35d624(0x235)],_0x220188=(_0x59bf96,_0x823a57,_0x3488f0,_0x52ee00)=>{const _0x36fc1d=_0x35d624;for(var _0x126624=_0x52ee00>0x1?void 0x0:_0x52ee00?_0x49d1a5(_0x823a57,_0x3488f0):_0x823a57,_0xb93d0f=_0x59bf96[_0x36fc1d(0x33f)]-0x1,_0x42af81;_0xb93d0f>=0x0;_0xb93d0f--)(_0x42af81=_0x59bf96[_0xb93d0f])&&(_0x126624=_0x42af81(_0x126624)||_0x126624);return _0x126624;},_0x39e103=(_0x4d1cb0,_0x91a060)=>(_0x4bc52b,_0x17118b)=>_0x91a060(_0x4bc52b,_0x17118b,_0x4d1cb0);_0x497957[_0x35d624(0x2ae)]=class extends _0xe662fa['CollaborationSocketService']{constructor(_0x4f692c,_0x5b4ba3,_0x506329,_0x3c2c7f,_0x36e384){super(_0x4f692c,_0x5b4ba3,_0x506329,_0x3c2c7f,_0x36e384);}async['createSocket'](_0x361208){const _0x3323e5=await this['_getSessionTicket'](),_0x3ef80b=this['_createSocketURL'](_0x361208,_0x3323e5);return this['_doCreateSocket'](_0x3ef80b);}[_0x35d624(0x268)](_0x32f7c6,_0x1ce54b){const _0x2525c3=_0x35d624,_0x51a58e=typeof window>'u'?new URL(_0x32f7c6):new URL(_0x32f7c6,window[_0x2525c3(0x2b3)][_0x2525c3(0x270)]);_0x51a58e[_0x2525c3(0x347)][_0x2525c3(0x26e)]('sessionTicket',_0x1ce54b);const _0x393ecd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2525c3(0x2b3)]['search']);return _0x393ecd[_0x2525c3(0x37f)]('runId')&&_0x51a58e['searchParams'][_0x2525c3(0x26e)](_0x2525c3(0x15a),_0x393ecd[_0x2525c3(0x37f)](_0x2525c3(0x15a))),_0x51a58e[_0x2525c3(0x26d)]();}async[_0x35d624(0x24f)](){const _0x22c248=_0x35d624;var _0x1c7988,_0x303b12,_0x1d7854;const _0x187877=this[_0x22c248(0x39e)][_0x22c248(0x214)](_0xe662fa[_0x22c248(0x1c3)]),_0x50e9a8=(_0x1c7988=_0x187877==null?void 0x0:_0x187877[_0x22c248(0x129)])!=null?_0x1c7988:_0xe662fa[_0x22c248(0x3ae)];return(_0x1d7854=(_0x303b12=(await this[_0x22c248(0x33e)][_0x22c248(0x37f)](_0x50e9a8,{'headers':{'Content-Type':'application/json'}}))[_0x22c248(0x13f)])==null?void 0x0:_0x303b12[_0x22c248(0x365)])!=null?_0x1d7854:'';}},_0x497957[_0x35d624(0x2ae)]=_0x220188([_0x39e103(0x0,_0x488b23['Inject'](_0x488b23[_0x35d624(0x39f)])),_0x39e103(0x1,_0x488b23['Inject'](_0x46c86d['HTTPService'])),_0x39e103(0x2,_0x488b23[_0x35d624(0x207)]),_0x39e103(0x3,_0x488b23[_0x35d624(0x31f)]),_0x39e103(0x4,_0x330813[_0x35d624(0x2bb)])],_0x497957['BrowserCollaborationSocketService']);var _0x31aa58=Object[_0x35d624(0x235)],_0x225a38=(_0x194de1,_0x238d4e,_0xad5c1b,_0x42f144)=>{const _0x4541ec=_0x35d624;for(var _0x58451e=_0x42f144>0x1?void 0x0:_0x42f144?_0x31aa58(_0x238d4e,_0xad5c1b):_0x238d4e,_0x39f3cb=_0x194de1[_0x4541ec(0x33f)]-0x1,_0x420cfc;_0x39f3cb>=0x0;_0x39f3cb--)(_0x420cfc=_0x194de1[_0x39f3cb])&&(_0x58451e=_0x420cfc(_0x58451e)||_0x58451e);return _0x58451e;},_0x23df0b=(_0x1877ce,_0x198f68)=>(_0xe6c358,_0x5c47cd)=>_0x198f68(_0xe6c358,_0x5c47cd,_0x1877ce);_0x497957[_0x35d624(0xdf)]=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x4f6106,_0x417c3f,_0x336e84){const _0x3ac1cd=_0x35d624;super(),this[_0x3ac1cd(0x3a6)]=_0x4f6106,this[_0x3ac1cd(0x33e)]=_0x417c3f,this[_0x3ac1cd(0x39e)]=_0x336e84;}async[_0x35d624(0x243)](_0x4b16ee,_0x4bebc6,_0x134e45,..._0x8ae971){const _0x43fa91=_0x35d624;var _0x3e57f2,_0x1b04a7,_0x48db1b,_0x2f99f5;const _0x47b79d=this[_0x43fa91(0x3a6)][_0x43fa91(0x19a)]();if(!_0x47b79d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x478fa3=((_0x3e57f2=this['_configService'][_0x43fa91(0x214)](_0xe662fa[_0x43fa91(0x371)]))!=null?_0x3e57f2:_0xe662fa[_0x43fa91(0x232)])+'/'+_0x4b16ee+'/run/'+_0x4bebc6,_0x144a5e=new URL(window['location'][_0x43fa91(0x1eb)]),_0x59d2ee={'scriptId':_0x4b16ee,'runId':(_0x1b04a7=_0x144a5e['searchParams'][_0x43fa91(0x37f)](_0x43fa91(0x15a)))!=null?_0x1b04a7:'','function':_0x4bebc6,'unitId':_0x47b79d[_0x43fa91(0x394)](),'argsOfFunction':JSON['stringify'](_0x8ae971),'invokeId':(_0x48db1b=_0x134e45[_0x43fa91(0x2b2)])!=null?_0x48db1b:'','executionId':(_0x2f99f5=_0x134e45[_0x43fa91(0x33b)])!=null?_0x2f99f5:''};try{const _0x128c35=await this[_0x43fa91(0x33e)][_0x43fa91(0x151)](_0x478fa3,{'body':_0x59d2ee});return _0x128c35['body'][_0x43fa91(0x188)]&&_0x128c35[_0x43fa91(0x13f)]['error'][_0x43fa91(0x32f)]!==_0x524c8c['OK']?_0x43fa91(0xe0):_0x128c35[_0x43fa91(0x13f)]['result'];}catch{return _0x43fa91(0xe0);}}},_0x497957[_0x35d624(0xdf)]=_0x225a38([_0x23df0b(0x0,_0x488b23[_0x35d624(0x385)]),_0x23df0b(0x1,_0x488b23[_0x35d624(0x14a)](_0x46c86d['HTTPService'])),_0x23df0b(0x2,_0x488b23[_0x35d624(0x207)])],_0x497957[_0x35d624(0xdf)]);const _0x193945=0x7530,_0x54dc8d=_0x35d624(0x231);class _0x40af19 extends _0x488b23[_0x35d624(0x144)]{constructor(){const _0x24a900=_0x35d624;super(),_0x5c8f58(this,'_id',_0x488b23['generateRandomId']()),_0x5c8f58(this,_0x24a900(0x33d),new Set()),_0x5c8f58(this,_0x24a900(0x37e),new Map()),_0x5c8f58(this,_0x24a900(0x238),null),_0x5c8f58(this,_0x24a900(0x221),new Map()),_0x5c8f58(this,_0x24a900(0x1ea),new Map()),this[_0x24a900(0x251)]();}[_0x35d624(0x299)](){const _0x2d6065=_0x35d624;super['dispose'](),this[_0x2d6065(0x221)]['forEach']((_0x14c722,_0x1e9e25)=>this['_removeClearOtherTimer'](_0x1e9e25)),this['_heartbeatTimer']&&window[_0x2d6065(0x115)](this[_0x2d6065(0x238)]);}[_0x35d624(0x1ec)](_0x51bb6e){const _0x52efd7=_0x35d624;return this['_ensureSubject'](_0x51bb6e)[_0x52efd7(0x2a0)](_0xd39c43[_0x52efd7(0x14c)]());}[_0x35d624(0x273)](_0x1a3f82){const _0x54ae79=_0x35d624;this[_0x54ae79(0x33d)][_0x54ae79(0x18f)]===0x0&&this[_0x54ae79(0x3ab)](),this[_0x54ae79(0x33d)][_0x54ae79(0x380)](_0x1a3f82),this[_0x54ae79(0x10c)]({'type':0x0,'memberID':this[_0x54ae79(0x107)],'unitIDs':[_0x1a3f82],'isForwarded':!0x1});}[_0x35d624(0x35f)](_0x190b1f){const _0x2e6c85=_0x35d624;this['_selfUnitIDs'][_0x2e6c85(0x323)](_0x190b1f),this[_0x2e6c85(0x33d)][_0x2e6c85(0x18f)]===0x0&&this[_0x2e6c85(0x238)]&&window['clearInterval'](this[_0x2e6c85(0x238)]);}[_0x35d624(0x251)](){const _0x46adb1=_0x35d624;this[_0x46adb1(0x37d)](_0x488b23[_0x46adb1(0x15d)](_0xd39c43['fromEvent'](window,'storage')['subscribe'](_0x409614=>{const _0xa89af0=_0x46adb1;if(_0x409614[_0xa89af0(0x1c4)]!==_0x54dc8d||!_0x409614['newValue'])return;const _0x2175b5=JSON[_0xa89af0(0x168)](_0x409614[_0xa89af0(0x1bf)]);this[_0xa89af0(0x1b7)](_0x2175b5);}))),window[_0x46adb1(0x2d6)](_0x46adb1(0x1b1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x46adb1(0x138)](this[_0x46adb1(0x33d)])}));}[_0x35d624(0x1b7)](_0x543673){const _0x353199=_0x35d624;switch(_0x543673[_0x353199(0x18c)]){case 0x0:this[_0x353199(0x1de)](_0x543673);break;case 0x1:this['_handleLeaveEvent'](_0x543673);break;case 0x2:this[_0x353199(0x2b7)](_0x543673);break;}}['_handleJoinEvent'](_0x42c1fc){const _0x32c1b3=_0x35d624,{unitIDs:_0x240af8,memberID:_0x6d9db0,isForwarded:_0x4a6033}=_0x42c1fc;_0x240af8['forEach'](_0x47e65a=>{const _0x9a2995=_0x3f90;if(!_0x4a6033&&this[_0x9a2995(0x37e)][_0x9a2995(0x2a9)](_0x47e65a)&&this[_0x9a2995(0xdc)](_0x47e65a)['next'](_0xe662fa[_0x9a2995(0x27a)]['OTHER_CLIENTS_EDITING']),!this[_0x9a2995(0x37e)][_0x9a2995(0x2a9)](_0x47e65a)||!this[_0x9a2995(0x37e)][_0x9a2995(0x37f)](_0x47e65a)[_0x9a2995(0x2a9)](_0x6d9db0)){const _0x27f335=this['_unitOnClients'][_0x9a2995(0x37f)](_0x47e65a)||new Set();_0x27f335[_0x9a2995(0x380)](_0x6d9db0),this['_unitOnClients'][_0x9a2995(0x26e)](_0x47e65a,_0x27f335),this['_scheduleClearOtherTimer'](_0x6d9db0);}}),_0x4a6033||this[_0x32c1b3(0x10c)]({'type':0x0,'memberID':this[_0x32c1b3(0x107)],'unitIDs':[...this[_0x32c1b3(0x33d)]],'isForwarded':!0x0});}[_0x35d624(0x155)](_0x14ed70){const _0x372e83=_0x35d624;this['_removeClearOtherTimer'](_0x14ed70);const _0x31ac70=window['setTimeout'](()=>{const _0x53b544=_0x3f90;this[_0x53b544(0x37e)]['forEach'](_0x4bdada=>{const _0x20e990=_0x53b544;_0x4bdada[_0x20e990(0x323)](_0x14ed70);});},_0x193945*0x2);this[_0x372e83(0x221)][_0x372e83(0x26e)](_0x14ed70,_0x31ac70);}[_0x35d624(0x32a)](_0x3fedef){const _0x244426=_0x35d624;if(this['_clearOtherTimers'][_0x244426(0x2a9)](_0x3fedef)){const _0x3b0f23=this['_clearOtherTimers'][_0x244426(0x37f)](_0x3fedef);_0x3b0f23&&window[_0x244426(0x245)](_0x3b0f23),this[_0x244426(0x221)][_0x244426(0x26e)](_0x3fedef,null);}}[_0x35d624(0x116)](_0x3c0186){const _0x311c8e=_0x35d624,{memberID:_0x2ec4a5,unitIDs:_0x3c1cf5}=_0x3c0186;_0x3c1cf5[_0x311c8e(0x125)](_0xb33d1d=>{const _0x29542d=_0x311c8e;var _0x253f22;const _0x5d284a=this[_0x29542d(0x37e)]['get'](_0xb33d1d);_0x5d284a&&(_0x5d284a[_0x29542d(0x323)](_0x2ec4a5),(_0x253f22=this[_0x29542d(0xdc)](_0xb33d1d))==null||_0x253f22['next'](_0x5d284a[_0x29542d(0x18f)]===0x0?_0xe662fa[_0x29542d(0x27a)][_0x29542d(0x1e7)]:_0xe662fa[_0x29542d(0x27a)]['OTHER_CLIENTS_EDITING']));}),this[_0x311c8e(0x32a)](_0x2ec4a5);}['_handleHeartbeatEvent'](_0x1ad8cd){const _0x476e1c=_0x35d624;this['_scheduleClearOtherTimer'](_0x1ad8cd[_0x476e1c(0x20b)]);}['_send'](_0xb82d96){const _0x154019=_0x35d624;localStorage['setItem'](_0x54dc8d,JSON[_0x154019(0x2be)](_0xb82d96));}[_0x35d624(0x3ab)](){const _0x33a29d=_0x35d624;this[_0x33a29d(0x238)]=window[_0x33a29d(0x16c)](()=>{const _0x5b2e22=_0x33a29d;this[_0x5b2e22(0x10c)]({'type':0x2,'memberID':this[_0x5b2e22(0x107)]});},_0x193945);}[_0x35d624(0xdc)](_0x1eb82e){const _0x567c51=_0x35d624;return this[_0x567c51(0x1ea)][_0x567c51(0x2a9)](_0x1eb82e)||this[_0x567c51(0x1ea)][_0x567c51(0x26e)](_0x1eb82e,new _0xd39c43['BehaviorSubject'](_0xe662fa[_0x567c51(0x27a)][_0x567c51(0x1e7)])),this[_0x567c51(0x1ea)][_0x567c51(0x37f)](_0x1eb82e);}}_0x497957[_0x35d624(0x103)]=_0x59fd33,_0x497957[_0x35d624(0x2b4)]=_0x370ba4,_0x497957[_0x35d624(0x38d)]=_0x40af19,_0x497957[_0x35d624(0x2d1)]=_0xec686a,Object[_0x35d624(0x13e)](_0x497957,Symbol['toStringTag'],{'value':_0x35d624(0x281)});}));
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
function
|
|
11
|
+
function _0x4f2f(_0x5f2d87,_0x35fc79){_0x5f2d87=_0x5f2d87-0x15b;var _0x109df7=_0x109d();var _0x4f2f58=_0x109df7[_0x5f2d87];return _0x4f2f58;}(function(_0x2d148e,_0x16ba4e){var _0x4d1f2b=_0x4f2f,_0x169384=_0x2d148e();while(!![]){try{var _0x43d1b6=-parseInt(_0x4d1f2b(0x169))/0x1+parseInt(_0x4d1f2b(0x15d))/0x2+parseInt(_0x4d1f2b(0x16a))/0x3+parseInt(_0x4d1f2b(0x168))/0x4*(parseInt(_0x4d1f2b(0x164))/0x5)+parseInt(_0x4d1f2b(0x165))/0x6*(parseInt(_0x4d1f2b(0x161))/0x7)+parseInt(_0x4d1f2b(0x15f))/0x8*(parseInt(_0x4d1f2b(0x166))/0x9)+-parseInt(_0x4d1f2b(0x15e))/0xa;if(_0x43d1b6===_0x16ba4e)break;else _0x169384['push'](_0x169384['shift']());}catch(_0x2b47e7){_0x169384['push'](_0x169384['shift']());}}}(_0x109d,0x8801b),function(_0x5621af,_0x37af08){var _0x2cd29a=_0x4f2f;typeof exports==_0x2cd29a(0x163)&&typeof module<'u'?_0x37af08(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x2cd29a(0x167)]?define([_0x2cd29a(0x15b),'@univerjs/core/facade'],_0x37af08):(_0x5621af=typeof globalThis<'u'?globalThis:_0x5621af||self,_0x37af08(_0x5621af[_0x2cd29a(0x15c)],_0x5621af[_0x2cd29a(0x162)]));}(this,function(_0x149861,_0x26fbd4){'use strict';var _0x56f91c=_0x4f2f;class _0x37bfb7 extends _0x26fbd4[_0x56f91c(0x16b)]{[_0x56f91c(0x16c)](_0x4ff776,_0x29512a,..._0x594c69){var _0x55c012=_0x56f91c;return this[_0x55c012(0x16d)]['get'](_0x149861['RemoteUniscriptService'])[_0x55c012(0x16c)](_0x4ff776,_0x29512a,{},..._0x594c69);}}_0x26fbd4[_0x56f91c(0x16b)][_0x56f91c(0x160)](_0x37bfb7);}));function _0x109d(){var _0x596da1=['runOnServer','_injector','@univerjs-pro/collaboration-client-ui','UniverProCollaborationClientUi','1699338ralkIc','17065960EhYiPI','206824lVoDLb','extend','28ygFlZH','UniverCoreFacade','object','330RsSwFb','922116PJARbg','216yAdnez','amd','13624xdxbTd','456243VzxFux','1230723RdwnCm','FUniver'];_0x109d=function(){return _0x596da1;};return _0x109d();}
|
|
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"})}));
|