@univerjs/preset-docs-collaboration 0.15.5 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/umd/index.js +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 _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();}
|
|
2
|
+
function _0x573a(_0x216f09,_0x5222ec){_0x216f09=_0x216f09-0x195;var _0x3d8f8c=_0x3d8f();var _0x573a26=_0x3d8f8c[_0x216f09];return _0x573a26;}function _0x3d8f(){var _0x4f2ac9=['setCurrentUser','ENTITLE_COUPON_EXPIRED','pipe','_transformIMECache','3285275wVZhBt','firstValueFrom','target','_unitID','UniverTelemetry','_onOffline','LocaleService','_substituteUndoStack','submit\x20changeset\x20error!','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onRemoteAck','COMPLETION_FINISHED','getMember','hasOwnProperty','eventID','[CollaborationEntity]','error$','originalMeta','getFocusedUnit','now','updateCollaborator','image/bmp','LICENSE_EXPORT_SIZE_EXCEEDED','event$','editing\x20status\x20changed\x20to','unsubscribe','editingUnit','pad','stringify','salt','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','m2Prime','@univerjs/telemetry','Rectangle','/universer-api/snapshot/','encode','delete','/universer-api/uniscript','Disposable','HEARTBEAT_INTERVAL','shouldCloseConn','_event$','getTypeOfUnitAdded$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','find','location','_singleActiveUnitService','[DataLoaderService]','RxDisposable','kdf','createSocket','YUUMI_RATE_OVER_LIMIT','removeMember','_transformService','auth.needGotoLoginAlert','INGEST','subject','OpenSSL','REDEMPTION_CODE_FULLY_REDEEMED','session.room-full','28452VdQqPc','reset','registerHTTPInterceptor','close','_resendTimer','_mode','session.room-permission-denied','CipherParams','ceil','crypto','SUCCUSS','_key','get','WECHAT_HAS_BEEN_BOUND','ITransformService','onlyLocal','_iv','onTransformRemoteChangesetByStateCache','saveSheetBlock','headers','_transformUndoredo','ENTITLE_NEED_BILLING_ADDRESS','onTransformState','_memberService','329SJSxPu','CONFLICT','INVITE_CODE_HAS_BEEN_UES','floor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_updateStatus','_onRemoteRetry','ALREADY_EXISTS','CollaborationStatus','SNAPSHOT_HAS_BEEN_REMOVED','_shouldReportTelemetry','forEach','loginUrlKey','DisposableCollection','complete','socket\x20close','UserProfileImg','_transformRemoteChangesetByStateCache','AuthzIoHttpService','registerDependencies','getCurrentUser','title','_transitionLocked','WorkbookEditablePermission','_emitMembers','selections','_createSocket','_onRemoteACK','startTime','CollaborationSession','_disableEditing','_entities','file','MentionIoHttpService','PERSON','onTransformRemoteChangesetByIMECache','onSendChangeset','min','not_collab','ENTITLE_CAN_NOT_BUY_LOWER_OTP','isTransformMutationsWithChangesetSuccess','_append','FetchingMissState','_transformSelections','socket$','createEncryptor','merge','batchAllowed','YUUMI_URL_COL_OUT_OF_RANGE','save\x20fail\x20reason\x20is\x20','sequenceExecute','YUUMI_ASYNCIO_CANCELLED','dispose','defineProperty','?size=','_joinRoom','INetworkConditionService','stopTime','ITelemetryService','HttpImport','online$','_sessionStatus$','EvpKDF','format','SheetsSelectionsService','WordArray','collaboration-client.config','SUBMIT_CHANGESET_TIMEOUT','@univerjs-pro/collaboration','_createInitialState','_syncEditingCollabCursor','clone','OTHER_CLIENTS_EDITING','CollaborationEvent','_sheetTransformSelectionsService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','createInstance','_HTTPService','_state$','UNDEFINED','_lockTransition','join','MergeInterceptorFactory','push','AWAITING_WITH_PENDING','authzUrl','emitEvent','awaiting','collaborators','IUndoRedoService','repeat','FileId','DEFAULT_COLLAB_WEB_SOCKET_URL','IUniverInstanceService','_scheduleCollaborationTimeoutTimer','getInterceptPoints','onStateChange','onRemoteRej','JOIN_ROOM_NOT_EXISTS','type','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','offline','TOO_MANY_REQUESTS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_state','onRemoteChangeset','saveSnapshot','randomBytes','MUTATION','IPermissionService','_undoStacks','_scheduleCompleteTimestamp','state','_permissionService','IConfigService','_undoRedoService','charCodeAt','/universer-api/comb','_onJoinRoomEvent','values','localeService','Quantity','\x20in\x20_schedule.','key','create','setShowComponents','dispose$','USERS_ENTER','put','UNIVER_UNKNOWN','_collaborationSessionService','SessionStatus','_xformMode','joinEvent','_onRecvEvent','unit-cache-','_getCtorByUniverType','subUnitId','EMAIL_HAS_BEEN_BOUND','CURRENT_STATUS_CANNOT_OPERATE','image/jpeg','AUTHORIZE_CODE_ILLEGAL','focused$','image/gif','parseProtocolChangeset','_sendHeartbeatTimer','mergeOverrideWithDependencies','ICommandService','LIVESHARE_NEW_HOST','YUUMI_ALL_TABLES_IS_INVALID','getSnapshotAPIPath','RETRY_CONNECTING_MAX_COUNT','/universer-api/file/{fileID}/sign-url','PERMISSION_DENIED','RETRY_CONNECTING_MAX_COUNT_KEY','_unlockTransition','DataLoaderService','__splitChunk__','@univerjs/core','members','size','_isPermissionRej','APPLY_REVISION_CONFILICT','JSONX','onStarting','collabSubmitChangesetUrl','/unit/','_clearScheduledTask','ENTITLE_COUPON_USED_UP','RichTextEditingMutation','_transformStack','/universer-api/authz','NO_OTHER_CLIENTS_EDITING','_initUnitPermissionChange','UNIVER_PROJECT','transformMutationsWithChangeset','USERS_LEAVE','_logService','processBlock','FETCH_MISSING','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_telemetryInfo','unitId','/collaborator','error','People','[SyncedState]:\x20received\x20rejection.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','rev','SNAPSHOT_URL_KEY','fetchThroughInterceptors','_getAPIPrefixPath','_httpService','Decryptor','Tools','debug','disableLocalCache','onMissedChangesetFetched','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','MOBILE_HAS_BEEN_BOUND','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','object','setWaitCount','getUnitOnRev','iterations','_applyRemoteChangeset','filter','_commentUpdate$','toString','UNRECOGNIZED','USER_NOT_INVITED_CODE','Injector','SerializableCipher','hostname','enableSingleActiveInstanceLock','_onConflict','onRemoteRetry','createDecryptor','onMissingChangesets','waitForRoom$','_resendTimeout','buffer','apply','updatePermissionObjEvent','_socket','_acknowledgedAwaitingChangeset','lib','YUUMI_UNABLE_LOAD_URL','updatePermissionPoint','send','_remoteChangesetQueue','reconnect','touchDependencies','SheetCollaborationEntity','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HmacMD5','SOCKET_FAILED','ERROR_EXCEED_SIZE','equals','getSheetId','session.room-not-exists','update','unitInfo$','StreamCipher','JOIN_ROOM_PERMISSION_DENIED','_tryReconnect','INVITE_CODE_ALREADY_BOUND','_getRedoStack','_iKey','random','includes','sendChangesetTimeout','_executeRemoteChangeset','/fetchmissing?from=','HEARTBEAT','_waitForHeartbeatResponse','_univerInstanceService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fromCharCode','HmacSHA1','AES','workbook','_clearLocalCache','9KiQkhQ','AwaitingState','_commentService','getSheetBlock','delay','execute','ivSize','_map','onMutationExecutedForCollab','ImageUploadStatusType','shareReplay','_decreaseWaiting','Inject','awaitingChangeset','_handler','textEncoder','UniverCollaborationPlugin','_incrementRevisionNumber','_snapshotServerService','HTTPService','cfg','_pendingMutations','HMAC','_networkConditionService','loadUnitOfRevision','_submitChangeset','univer-pro.collaboration-client.network-condition.service','_initMergeInterceptor','asObservable','_changesetSessionId','CompressMutationService','_type','closeSession','ClipsheetFragments','_collaborationPaused','map','_reverseMap','sid','_init','AWAITING','UnitEmbedded','PSEUDO_FETCH_MISSING_RESULT','REDEMPTION_CODE_INACTIVE','DocCollaborationEntity','getTypeOfUnitDisposed$','APPLY_DUPLICATED','appendMutation','sheets','_updateState','FETCH_MISS','getMemberID','CollaborationSocketService','/object','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','transformSelections','/allowed','_prevBlock','deserializeToCombResponse','_imageSourceCache','JOIN_ROOM_FULL','JOINING','serializeCombRequest','addImageSourceCache','MD5','_doCreateSocket','HttpExport','objects','/universer-api/snapshot','IAuthzIoService','decrypt','onSyncEditingCollabCursor','onTransformIME','_getDownloadEndpointURL','SYNCED','_sendingTimer','ENTITLE_INSUFFICIENT_QUOTA','append','has','copyFileMeta','textRanges','clamp','subscribe','ws://127.0.0.1:8000/universer-api/comb/connect','getUnitType','requestParams','encrypt','\x0aAfter:\x20','exports','_initCloseConn','CLOSE_ROOM','updateOfflineData','497922kKGeQm','_onCombEvent','_onLocalMutation','_entityInit$','data','_onUserJoin','csShouldRetryEvent','_cipher','$super','_showConflictNotification','ImageSourceType','CollaborationUIEventId','objectActions','Hasher','_toggleOnline','_onMessage','[FetchMissState]','_schedule','init','members$','Optional','Plugin','hasher','LOCAL_CACHE_INTERVAL','listRoles','toggleOnline','OTHER_CLIENT_EDITING','_clearRedo','range','listCollaborators','/-/object/list','UNIVER_SLIDE','enc','transformChangesets','reject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ERROR_IMAGE_TYPE','@univerjs-pro/license','_redoStacks','INVALID_INVITE_CODE','getCollabEntity','UNKNOWN_CMD','_members$','take','_removeRoom','_listenToNetworkCondition','_retryCount','isTransformChangesetsSuccess','_doReset','_socketService','action','updateCursorEvent','INVITE_CODE_REQUIRED','reduce','_localeService','getConfig','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','__Key__','_hash','OfflineState','LIVESHARE_TERMINATE','reqId','CHANGESET_ACK','_configService','objectID','takeUntil','Hex','roomInfos','concatMap','Utf8','synced','_createHmacHelper','_clearRetryConnectingTimer','_checkMissing','decryptBlock','createIdentifier','_awaitingChangeset','default','changesets','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','awaiting_with_pending','_getSendChangesetTimeout','_onConnectionFailed','APPLY_PERMISSION_DENIED','requireSession','NoPadding','rxjs/operators','allowed','HTTPRequest','YUUMI_SUBSCRIPTION_NOT_FOUND','src','UUID','[OfflineState]:\x20received\x20rejection.','algo','SHA1','joinRsp','_rescheduleHeartbeat','/universer-api/user/session-ticket','_parse','SetSelectionsOperation','roles','UNIVER_DOC','MentionType','_onFetchMissResult','EMAIL_VERIFY_CODE_MISMATCH','_clearUndo','UNAUTHENTICATED','INTERNAL_ERROR','isInternalEditorID','onload','getCollabEntity$','slice','_stopTelemetryCollaborationNewChangeset','ENTITLE_INVALID_COUPON_CODE','_eventService','_createHandler','_createInitialStateImpl','LICENSE_MAX_UNITS_EXCEEDED','DEFAULT_WS_SESSION_TICKET_URL','[CollaborationSession]','UniverLicensePlugin','string','unpad','finalize','liveShareNewHost','socket\x20open.','YUUMI_NO_CUBOID_FOR_QUESTION','loadOfflineData','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMiss','getRoom','getActiveSheet','CollaborationUIEventService','_retryConnectingTimer','resourceIDs','loadSheet','getWorkbookSelections','_initRequestHeader','_collaborationTimeoutTimer','CollaborationController','abs','Encryptor','getUnit','toStringTag','b64DecodeUnicode','interceptor','initWorkbookPermissionChange','status$','APPLY_REJECT','msCrypto','disposeWithMe','c1Prime','PendingState','entries','JOIN_ROOM_FAILED','_roomMembers','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','ENSURE_SNAPSHOT_EXECUTION','ICollaborationSocketService','Cipher','PY_RUNTIME_SCRIPT_ERROR','byteOffset','REDEMPTION_INVALID_CODE','/block/','getCurrentRevOfUnit','684920KqvHKj','csAckEvent','CollaborationImageIoService','ILogService','COMPRESS_MUTATION_APPLY','collaMsg','ConflictState','USER_NOT_FOUND','objectType','charAt','REDEMPTION_USER_NOT_ELIGIBLE','_updateLocalCache','revision','words','LocalUndoRedoService','CHANGESET_SHOULD_RETRY','Failed\x20to\x20update\x20permission\x20point','_getSignURL','CollaborativeUndoRedoService','fetch_missing','_process','_getUndoStack','UnitSnapshot','unknown','collaboratorID','_clearHeartbeatTimer','readAsDataURL','ENTITLE_DUP_SUBSCRIPTION','call','message$','_startCollaboration','_minBufferSize','LIVESHARE_REQUEST_HOST','createCollaborator','_initDependencies','/new_changes','encryptBlock','putCollaborators','generateRandomId','origin','deepClone','getLocalCacheKey','params','byteLength','Subject','status','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','toDisposable','UniverNetworkPlugin','ONLINE','YUUMI_AI_RUN_FAILED','JOIN','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitId','&source=','CollaborationEntity','Module','avatar','getTime','ENTITLE_USE_COUPON_NOT_1ST_TRADE','CHANGESET_REJ','_doCryptBlock','session','2286732YmBBKA','_sendHeartbeat','UniverNetwork','isPermissionRej','code','/universer-api/oidc/authpage','_fetchMissChangesets','x-univer-host','_status$','_compressMutationService','ERROR_IMAGE','SHOULD_CLOSE_CONN','routeKey','\x20to\x20','UniverCollaborationClientPlugin','?url=','splice','_onUserLeave','HELLO','GLOBAL_ROOMS_CNT_EXCEEDS','_clearCollaborationTimeoutTimer','BlockCipher','_transformStateCache','_invKeySchedule','_config','UPDATE_CURSOR','leaveEvent','session.room-cnt-exceeds','4244168RyWcXt','actions','Base','sin','LICENSE_IMPORT_SIZE_EXCEEDED','_injector','length','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','BASE64','_candidateSocket','getUnitStatus$','COMPRESS_MUTATION_SEND','_replayCachedMutations','INVALID_ARGUMENT','/-/object/-/batch_allowed','extend','getAllMembers','symbol','addHandlerCallback','[OfflineState]:\x20received\x20changeset.','InsertSheetMutation','_changesetReqId','clear','_unitInfo$','@univerjs/drawing','isArray','permissionRejEvent','/universer-api/stream/file/upload','unitId\x20is\x20not\x20found','_waitCount','refreshPermission','Univer','getOwnPropertyDescriptor','SUBMIT_CHANGESET','SOCKET_FAILED_RETRY','_replaceFileID','fromCollab','_oKey','_tryEnsureSocket','_transformRemoteChangesetByIMECache','ISnapshotServerService','fetching\x20missing\x20changesets\x20from\x20','_resendWithTimeout','_registerDependencies','sessionStatus','APPLY_NON_SEQUENTIAL_REVISION','SheetPermissionInitController','[CollaborationState]:\x20apply\x20error!','_timeoutTimer','body','collabWebSocketUrl','_substituteRedoStack','_getUploadFileURL','compute','close$','mapDocumentTypeToUniverType','_keySchedule','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_localCacheService','parse','_revisionService','CHANGESET_REVISION_CONFILICT','mode','sigBytes','unitID','_maxTotalRetryTimeout','sessionStatus$','getLatestCsReqIdBySid','ISocketService','uniscriptRunEvent','_exhaustRemoteChangesetQueue','MemberService','AwaitingWithPendingState','add','onLocalMutation','UNIVER_COLLABORATION_CLIENT_PLUGIN','UPDATE_PERMISSION_OBJ','transformStack\x20failed!','snapshot','FAIL','RevisionService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','prototype','_instanceService','LEAVE','RECV','cmd','/object/','REDEMPTION_CODE_HAS_BEEN_CREATED','Base64','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','keySize','DATA_SOURCE_TOO_LARGE','_doProcessBlock','concat','uploadFileServerUrl','incrementRevOfUnit','HEARTBEAT_TIMEOUT','UniverProCollaboration','_ENC_XFORM_MODE','every','open$','operators','infoRsp','resend','substr','_onRemoteRejected','POST','_socketReady','_getCurrentRevision','HEARTBEAT_TIMEOUT_KEY','_change$','UniverProLicense','/role','updateMember','reverse','_onRemoteChangeset','ciphertext','YUUMI_CONNECTOR_URL_NOT_FOUND','blockSize','_collaborationUIEventService','_sender','ENTITLE_CHAT_LIMIT_EXCEED','localCacheService','image/png','toggleOffline','REDEMPTION_CODE_NOT_STARTED','formatter','_throwTelemetryCollaborationNewChangeset','PERMISSION_REJ','max','next','UNIVER_SHEET','_onConnectionOpen','PENDING','UNISCRIPT_RUN','memberID','ERROR_AGAIN','UniverInstanceType','SyncedState','UniverCore','_data','Pkcs7','enableAuthServer','_clearTimeoutTimer','_queuedRemoteChangesets','_handlerCallback','function','href','isTransformMutationsWithChangesetFailure','set','_toggleOffline','change$','confirm','socketService','getRandomValues','UserManagerService','responseType','ReplaySubject','replace','patch','[CollaborationSessionService]','catch','mutations','SNAPSHOT_INVALID_SNAPSHOT','conflict','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','rxjs','CommandType','compose','override','pauseCollaboration','fetchMissingChangesets','NOT_COLLAB','[PendingState]:\x20received\x20acknowledgement.','padding','_telemetryService','_socket$','UniverDocs','mixIn','ENTITLE_REPORT_LIMIT_EXCEED','_DEC_XFORM_MODE','Undefined','&to=','_roomCreated$','onCommentUpdate','from','BlockCipherMode','_collabSessionService','SnapshotServerOverHTTPService','BehaviorSubject','_nRounds','uuidv4','OFFLINE','USER_IS_ANONYMOUS','state$','_nDataBytes','3nSfkTY','resolve','IImageIoService','_sessions','userID','@univerjs/network','CollaborationSessionService','LIVESHARE_OPERATION','_snapshotService','IDLE','executeCommand','_getAPIPrefix','_doFinalize','result','_socketMessageSubscription','startsWith','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_startTelemetryCollaborationNewChangeset','LOGIN_FAILED','CONNECTOR_DATA_TOO_LARGE','_hasher','readInt32LE','onTransformSelections','image/jpg','LICENSE_DISTRO_REJECTED','21289770BzSGZq','connection\x20error','@univerjs/docs','[CollaborationUndoRedoService]','baseRev','SheetTransformSelectionsService','post','Could\x20not\x20dynamically\x20require\x20\x22','LIVESHARE_FETCH_OPERATIONS','_members'];_0x3d8f=function(){return _0x4f2ac9;};return _0x3d8f();}(function(_0x4a9abc,_0x11939b){var _0x1636eb=_0x573a,_0x22944c=_0x4a9abc();while(!![]){try{var _0x4dda02=-parseInt(_0x1636eb(0x210))/0x1+-parseInt(_0x1636eb(0x2b5))/0x2+parseInt(_0x1636eb(0x3d5))/0x3*(-parseInt(_0x1636eb(0x2f4))/0x4)+-parseInt(_0x1636eb(0x3fc))/0x5+parseInt(_0x1636eb(0x438))/0x6*(-parseInt(_0x1636eb(0x450))/0x7)+parseInt(_0x1636eb(0x310))/0x8*(parseInt(_0x1636eb(0x1b5))/0x9)+parseInt(_0x1636eb(0x3ee))/0xa;if(_0x4dda02===_0x11939b)break;else _0x22944c['push'](_0x22944c['shift']());}catch(_0x2b802e){_0x22944c['push'](_0x22944c['shift']());}}}(_0x3d8f,0x59b90),function(_0x3d328d,_0x2147dc){var _0x39ef04=_0x573a;typeof exports==_0x39ef04(0x519)&&typeof module<'u'?_0x2147dc(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define==_0x39ef04(0x3a3)&&define['amd']?define([_0x39ef04(0x20c),_0x39ef04(0x494),_0x39ef04(0x4ee),_0x39ef04(0x3f0),'@univerjs/sheets',_0x39ef04(0x3b7),_0x39ef04(0x41c),_0x39ef04(0x266),_0x39ef04(0x3da),_0x39ef04(0x235),_0x39ef04(0x328)],_0x2147dc):(_0x3d328d=typeof globalThis<'u'?globalThis:_0x3d328d||self,_0x2147dc(_0x3d328d['UniverProCollaborationClient']={},_0x3d328d[_0x39ef04(0x372)],_0x3d328d[_0x39ef04(0x39c)],_0x3d328d[_0x39ef04(0x3c2)],_0x3d328d['UniverSheets'],_0x3d328d[_0x39ef04(0x3b7)],_0x3d328d[_0x39ef04(0x400)],_0x3d328d[_0x39ef04(0x3b7)][_0x39ef04(0x376)],_0x3d328d[_0x39ef04(0x2f6)],_0x3d328d[_0x39ef04(0x380)],_0x3d328d['UniverDrawing']));}(this,function(_0x5e3fa4,_0x35009e,_0x158513,_0xc7e141,_0x18f772,_0x32f9ef,_0xd66539,_0x16efa3,_0x5b6221,_0x4b2b6c,_0x2bf003){'use strict';var _0x2229a0=_0x573a;var _0x55ee76=Object[_0x2229a0(0x485)],_0x30f971=(_0x498f36,_0xe11188,_0x58bf81)=>_0xe11188 in _0x498f36?_0x55ee76(_0x498f36,_0xe11188,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58bf81}):_0x498f36[_0xe11188]=_0x58bf81,_0x4b59b5=(_0x43ed6b,_0x23b098,_0x195f9a)=>_0x30f971(_0x43ed6b,typeof _0x23b098!=_0x2229a0(0x321)?_0x23b098+'':_0x23b098,_0x195f9a);const _0x7842a=_0x2229a0(0x1f8),_0xa82dae=_0x2229a0(0x50d),_0x46c157=_0x2229a0(0x207),_0x19d93b=_0x2229a0(0x271),_0x50386d=_0x2229a0(0x423),_0x3bd8ba=_0x2229a0(0x371),_0x2a69c3=_0x2229a0(0x4e7),_0x175c63=_0x2229a0(0x227),_0x3083bf=_0x2229a0(0x4c5),_0x5868b9=_0x2229a0(0x2f9),_0x37bb98=_0x2229a0(0x233),_0x10b865=_0x2229a0(0x421);var _0x2878f7=(_0x40abf4=>(_0x40abf4[_0x40abf4[_0x2229a0(0x49f)]=0x0]=_0x2229a0(0x49f),_0x40abf4[_0x40abf4['OK']=0x1]='OK',_0x40abf4[_0x40abf4[_0x2229a0(0x27b)]=0x2]=_0x2229a0(0x27b),_0x40abf4[_0x40abf4[_0x2229a0(0x4e9)]=0x3]=_0x2229a0(0x4e9),_0x40abf4[_0x40abf4['NOT_FOUND']=0x4]='NOT_FOUND',_0x40abf4[_0x40abf4['UNAUTHENTICATED']=0x5]=_0x2229a0(0x27a),_0x40abf4[_0x40abf4['ALREADY_EXISTS']=0x6]=_0x2229a0(0x457),_0x40abf4[_0x40abf4[_0x2229a0(0x31d)]=0x7]=_0x2229a0(0x31d),_0x40abf4[_0x40abf4[_0x2229a0(0x4b6)]=0x8]='TOO_MANY_REQUESTS',_0x40abf4[_0x40abf4[_0x2229a0(0x407)]=0x9]=_0x2229a0(0x407),_0x40abf4[_0x40abf4[_0x2229a0(0x3e7)]=0xa]=_0x2229a0(0x3e7),_0x40abf4[_0x40abf4['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x40abf4[_0x40abf4[_0x2229a0(0x317)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x40abf4[_0x40abf4[_0x2229a0(0x278)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x40abf4[_0x40abf4[_0x2229a0(0x25f)]=0xe]=_0x2229a0(0x25f),_0x40abf4[_0x40abf4[_0x2229a0(0x4dd)]=0xf]=_0x2229a0(0x4dd),_0x40abf4[_0x40abf4['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x40abf4[_0x40abf4['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x2229a0(0x4db),_0x40abf4[_0x40abf4[_0x2229a0(0x399)]=0x65]=_0x2229a0(0x399),_0x40abf4[_0x40abf4[_0x2229a0(0x2bc)]=0xc9]=_0x2229a0(0x2bc),_0x40abf4[_0x40abf4[_0x2229a0(0x3d2)]=0xca]=_0x2229a0(0x3d2),_0x40abf4[_0x40abf4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2229a0(0x34d),_0x40abf4[_0x40abf4[_0x2229a0(0x3b4)]=0x1771]=_0x2229a0(0x3b4),_0x40abf4[_0x40abf4[_0x2229a0(0x459)]=0x1772]=_0x2229a0(0x459),_0x40abf4[_0x40abf4[_0x2229a0(0x2ad)]=0x1773]=_0x2229a0(0x2ad),_0x40abf4[_0x40abf4[_0x2229a0(0x2a4)]=0x1b59]=_0x2229a0(0x2a4),_0x40abf4[_0x40abf4[_0x2229a0(0x33d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40abf4[_0x40abf4[_0x2229a0(0x4f2)]=0x1b5b]=_0x2229a0(0x4f2),_0x40abf4[_0x40abf4[_0x2229a0(0x263)]=0x1b5c]=_0x2229a0(0x263),_0x40abf4[_0x40abf4[_0x2229a0(0x1e2)]=0x1b5d]=_0x2229a0(0x1e2),_0x40abf4[_0x40abf4[_0x2229a0(0x3e8)]=0x1f41]=_0x2229a0(0x3e8),_0x40abf4[_0x40abf4[_0x2229a0(0x285)]=0x2329]=_0x2229a0(0x285),_0x40abf4[_0x40abf4[_0x2229a0(0x198)]=0x232a]=_0x2229a0(0x198),_0x40abf4[_0x40abf4[_0x2229a0(0x314)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40abf4[_0x40abf4[_0x2229a0(0x412)]=0x232c]=_0x2229a0(0x412),_0x40abf4[_0x40abf4[_0x2229a0(0x3ed)]=0x232d]=_0x2229a0(0x3ed),_0x40abf4[_0x40abf4[_0x2229a0(0x533)]=0x2711]=_0x2229a0(0x533),_0x40abf4[_0x40abf4[_0x2229a0(0x480)]=0x2712]=_0x2229a0(0x480),_0x40abf4[_0x40abf4[_0x2229a0(0x42f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40abf4[_0x40abf4[_0x2229a0(0x269)]=0x2714]=_0x2229a0(0x269),_0x40abf4[_0x40abf4[_0x2229a0(0x28e)]=0x271a]=_0x2229a0(0x28e),_0x40abf4[_0x40abf4['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2229a0(0x483),_0x40abf4[_0x40abf4[_0x2229a0(0x1af)]=0x271c]=_0x2229a0(0x1af),_0x40abf4[_0x40abf4[_0x2229a0(0x4e5)]=0x271d]=_0x2229a0(0x4e5),_0x40abf4[_0x40abf4[_0x2229a0(0x4b7)]=0x271e]=_0x2229a0(0x4b7),_0x40abf4[_0x40abf4[_0x2229a0(0x2e7)]=0x271f]=_0x2229a0(0x2e7),_0x40abf4[_0x40abf4['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2229a0(0x386),_0x40abf4[_0x40abf4[_0x2229a0(0x2b0)]=0x2af9]=_0x2229a0(0x2b0),_0x40abf4[_0x40abf4[_0x2229a0(0x452)]=0x2ee1]=_0x2229a0(0x452),_0x40abf4[_0x40abf4[_0x2229a0(0x237)]=0x2ee2]=_0x2229a0(0x237),_0x40abf4[_0x40abf4[_0x2229a0(0x244)]=0x2ee3]=_0x2229a0(0x244),_0x40abf4[_0x40abf4['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2229a0(0x522),_0x40abf4[_0x40abf4[_0x2229a0(0x1a4)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x40abf4[_0x40abf4[_0x2229a0(0x445)]=0x32c9]=_0x2229a0(0x445),_0x40abf4[_0x40abf4[_0x2229a0(0x517)]=0x32ca]=_0x2229a0(0x517),_0x40abf4[_0x40abf4['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2229a0(0x4da),_0x40abf4[_0x40abf4[_0x2229a0(0x477)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x40abf4[_0x40abf4[_0x2229a0(0x49b)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x40abf4[_0x40abf4[_0x2229a0(0x2d0)]=0x36b3]=_0x2229a0(0x2d0),_0x40abf4[_0x40abf4['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x40abf4[_0x40abf4['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2229a0(0x281),_0x40abf4[_0x40abf4[_0x2229a0(0x3f9)]=0x36b6]=_0x2229a0(0x3f9),_0x40abf4[_0x40abf4[_0x2229a0(0x4f8)]=0x36b7]=_0x2229a0(0x4f8),_0x40abf4[_0x40abf4[_0x2229a0(0x2f0)]=0x36b8]=_0x2229a0(0x2f0),_0x40abf4[_0x40abf4[_0x2229a0(0x38a)]=0x3715]=_0x2229a0(0x38a),_0x40abf4[_0x40abf4[_0x2229a0(0x3c4)]=0x3716]=_0x2229a0(0x3c4),_0x40abf4[_0x40abf4[_0x2229a0(0x200)]=0x3717]=_0x2229a0(0x200),_0x40abf4[_0x40abf4[_0x2229a0(0x44d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x40abf4[_0x40abf4[_0x2229a0(0x2b2)]=0x3a99]=_0x2229a0(0x2b2),_0x40abf4[_0x40abf4[_0x2229a0(0x1df)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x40abf4[_0x40abf4[_0x2229a0(0x436)]=0x3a9b]=_0x2229a0(0x436),_0x40abf4[_0x40abf4[_0x2229a0(0x38e)]=0x3a9c]=_0x2229a0(0x38e),_0x40abf4[_0x40abf4[_0x2229a0(0x2bf)]=0x3a9d]=_0x2229a0(0x2bf),_0x40abf4[_0x40abf4[_0x2229a0(0x405)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x40abf4[_0x40abf4['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2229a0(0x368),_0x40abf4[_0x40abf4[_0x2229a0(0x36c)]=0x3e81]=_0x2229a0(0x36c),_0x40abf4[_0x40abf4[_0x2229a0(0x521)]=-0x1]=_0x2229a0(0x521),_0x40abf4))(_0x2878f7||{}),_0x24c96d=(_0x4cefe2=>(_0x4cefe2[_0x4cefe2['UNIVER_UNKNOWN']=0x0]=_0x2229a0(0x4d1),_0x4cefe2[_0x4cefe2[_0x2229a0(0x275)]=0x1]='UNIVER_DOC',_0x4cefe2[_0x4cefe2[_0x2229a0(0x394)]=0x2]=_0x2229a0(0x394),_0x4cefe2[_0x4cefe2[_0x2229a0(0x22f)]=0x3]=_0x2229a0(0x22f),_0x4cefe2[_0x4cefe2[_0x2229a0(0x4fe)]=0x4]=_0x2229a0(0x4fe),_0x4cefe2[_0x4cefe2[_0x2229a0(0x521)]=-0x1]=_0x2229a0(0x521),_0x4cefe2))(_0x24c96d||{}),_0x5db895=(_0x4bd8ca=>(_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x239)]=0x0]=_0x2229a0(0x239),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x306)]=0x1]=_0x2229a0(0x306),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x2e8)]=0x2]=_0x2229a0(0x2e8),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x364)]=0x3]=_0x2229a0(0x364),_0x4bd8ca[_0x4bd8ca['INGEST']=0x4]=_0x2229a0(0x433),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x1ac)]=0x5]='HEARTBEAT',_0x4bd8ca[_0x4bd8ca['RECV']=0x6]=_0x2229a0(0x365),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x521)]=-0x1]=_0x2229a0(0x521),_0x4bd8ca))(_0x5db895||{}),_0xaed6cc=(_0x4a282e=>(_0x4a282e[_0x4a282e['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x4a282e[_0x4a282e['OK']=0x1]='OK',_0x4a282e[_0x4a282e[_0x2229a0(0x35f)]=0x2]=_0x2229a0(0x35f),_0x4a282e[_0x4a282e[_0x2229a0(0x1f0)]=0x3e9]='JOIN_ROOM_FULL',_0x4a282e[_0x4a282e[_0x2229a0(0x4b2)]=0x3ea]=_0x2229a0(0x4b2),_0x4a282e[_0x4a282e[_0x2229a0(0x1a2)]=0x3eb]=_0x2229a0(0x1a2),_0x4a282e[_0x4a282e['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2229a0(0x307),_0x4a282e[_0x4a282e['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4a282e))(_0xaed6cc||{}),_0x1b6d95=(_0x10710c=>(_0x10710c[_0x10710c['Undefined']=0x0]=_0x2229a0(0x3c6),_0x10710c[_0x10710c[_0x2229a0(0x48b)]=0x1]=_0x2229a0(0x48b),_0x10710c[_0x10710c[_0x2229a0(0x1f6)]=0x2]=_0x2229a0(0x1f6),_0x10710c[_0x10710c['UnitEmbedded']=0x3]=_0x2229a0(0x1dd),_0x10710c[_0x10710c[_0x2229a0(0x2cb)]=0x4]='UnitSnapshot',_0x10710c[_0x10710c[_0x2229a0(0x460)]=0x5]=_0x2229a0(0x460),_0x10710c[_0x10710c[_0x2229a0(0x1d6)]=0x6]=_0x2229a0(0x1d6),_0x10710c[_0x10710c[_0x2229a0(0x521)]=-0x1]='UNRECOGNIZED',_0x10710c))(_0x1b6d95||{});const _0x53b2f7='collaboration_new_changeset';function _0x38397d(_0x3c62c8){var _0xf6cf4=_0x2229a0;return JSON[_0xf6cf4(0x418)](_0x3c62c8)['length'];}var _0x306c72=(_0x4197e8=>(_0x4197e8['OTHER_CLIENT_EDITING']=_0x2229a0(0x22a),_0x4197e8['PERMISSION_DENIED']=_0x2229a0(0x4e9),_0x4197e8[_0x2229a0(0x451)]=_0x2229a0(0x451),_0x4197e8[_0x2229a0(0x20e)]=_0x2229a0(0x20e),_0x4197e8[_0x2229a0(0x2aa)]='JOIN_ROOM_FAILED',_0x4197e8[_0x2229a0(0x332)]=_0x2229a0(0x332),_0x4197e8['SOCKET_FAILED']=_0x2229a0(0x19a),_0x4197e8[_0x2229a0(0x493)]='SUBMIT_CHANGESET_TIMEOUT',_0x4197e8))(_0x306c72||{});class _0x1a9793{constructor(){var _0x51404b=_0x2229a0;_0x4b59b5(this,_0x51404b(0x425),new _0x32f9ef[(_0x51404b(0x2e1))]()),_0x4b59b5(this,'event$',this[_0x51404b(0x425)][_0x51404b(0x1d1)]());}[_0x2229a0(0x4a6)](_0x2cce7a){var _0x2c1361=_0x2229a0;this[_0x2c1361(0x425)][_0x2c1361(0x393)](_0x2cce7a);}}class _0x1a53f1{constructor(){var _0x1253d9=_0x2229a0;_0x4b59b5(this,_0x1253d9(0x51f),new _0x32f9ef[(_0x1253d9(0x2e1))]()),_0x4b59b5(this,'commentUpdate$',this[_0x1253d9(0x51f)][_0x1253d9(0x1d1)]());}[_0x2229a0(0x3c9)](_0x26bc0e){var _0x51284d=_0x2229a0;this[_0x51284d(0x51f)][_0x51284d(0x393)](_0x26bc0e);}}var _0x7b7cf8=Object['getOwnPropertyDescriptor'],_0x143db0=(_0x4870dc,_0x494e05,_0x104b60,_0xb201a9)=>{for(var _0x3b0af4=_0xb201a9>0x1?void 0x0:_0xb201a9?_0x7b7cf8(_0x494e05,_0x104b60):_0x494e05,_0x5e6348=_0x4870dc['length']-0x1,_0x43f222;_0x5e6348>=0x0;_0x5e6348--)(_0x43f222=_0x4870dc[_0x5e6348])&&(_0x3b0af4=_0x43f222(_0x3b0af4)||_0x3b0af4);return _0x3b0af4;},_0x5d09d8=(_0x5549e8,_0x44067f)=>(_0x257425,_0x23ec82)=>_0x44067f(_0x257425,_0x23ec82,_0x5549e8);_0x5e3fa4[_0x2229a0(0x357)]=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x18b7d4,_0x4e121d){var _0x40ad7e=_0x2229a0;super(),_0x4b59b5(this,_0x40ad7e(0x2ab),new Map()),_0x4b59b5(this,'_roomCreated$',new _0x32f9ef['Subject']()),(this[_0x40ad7e(0x1ae)]=_0x18b7d4,this['_userManagerService']=_0x4e121d,this[_0x40ad7e(0x2a6)](_0x32f9ef[_0x40ad7e(0x47e)](this[_0x40ad7e(0x1ae)][_0x40ad7e(0x1e1)](_0x158513['UniverInstanceType'][_0x40ad7e(0x394)])[_0x40ad7e(0x3fa)](_0x16efa3[_0x40ad7e(0x1d8)](_0x1854bb=>_0x1854bb[_0x40ad7e(0x2ea)]())),this[_0x40ad7e(0x1ae)][_0x40ad7e(0x1e1)](_0x158513[_0x40ad7e(0x39a)][_0x40ad7e(0x275)])[_0x40ad7e(0x3fa)](_0x16efa3[_0x40ad7e(0x1d8)](_0x42087f=>_0x42087f[_0x40ad7e(0x2ea)]())),this[_0x40ad7e(0x1ae)]['getTypeOfUnitDisposed$'](_0x158513[_0x40ad7e(0x39a)]['UNIVER_SLIDE'])[_0x40ad7e(0x3fa)](_0x16efa3[_0x40ad7e(0x1d8)](_0x4bf122=>_0x4bf122[_0x40ad7e(0x2ea)]())))[_0x40ad7e(0x206)](_0x58fec8=>this[_0x40ad7e(0x23c)](_0x58fec8))));}[_0x2229a0(0x52b)](_0x24eed2){var _0x1ebdd6=_0x2229a0;return this[_0x1ebdd6(0x2ab)][_0x1ebdd6(0x202)](_0x24eed2)?_0x32f9ef['of'](this[_0x1ebdd6(0x2ab)][_0x1ebdd6(0x444)](_0x24eed2)):this[_0x1ebdd6(0x3c8)][_0x1ebdd6(0x3fa)](_0x16efa3[_0x1ebdd6(0x1d8)](_0x10bf59=>{var _0x40e067=_0x1ebdd6;if(_0x10bf59===_0x24eed2)return this[_0x40e067(0x2ab)][_0x40e067(0x444)](_0x10bf59);}));}[_0x2229a0(0x3f8)](_0x54e564){var _0x5dd58f=_0x2229a0;this['_userManagerService'][_0x5dd58f(0x3f8)](_0x54e564);}[_0x2229a0(0x464)](){var _0xc17974=_0x2229a0;return this['_userManagerService'][_0xc17974(0x464)]();}[_0x2229a0(0x382)](_0x5a30ba,_0x4fac45){var _0x3e2db1=_0x2229a0;let _0x4d5211=this['_roomMembers']['get'](_0x5a30ba);_0x4d5211||(_0x4d5211=new _0x5382ac(),this['_roomMembers'][_0x3e2db1(0x3a6)](_0x5a30ba,_0x4d5211),this[_0x3e2db1(0x3c8)][_0x3e2db1(0x393)](_0x5a30ba)),_0x4d5211[_0x3e2db1(0x382)](_0x4fac45);}[_0x2229a0(0x430)](_0x2f7343,_0x523bea){var _0x5c681c=_0x2229a0;const _0x12cdcd=this[_0x5c681c(0x2ab)]['get'](_0x2f7343);_0x12cdcd&&_0x12cdcd[_0x5c681c(0x430)](_0x523bea);}[_0x2229a0(0x292)](_0x45a39d){var _0x4e6041=_0x2229a0;return this[_0x4e6041(0x2ab)][_0x4e6041(0x444)](_0x45a39d);}[_0x2229a0(0x408)](_0xe4cf06,_0x552ea8){var _0x3771a1=_0x2229a0;const _0x1eae58=this[_0x3771a1(0x2ab)]['get'](_0xe4cf06);if(_0x1eae58)return _0x1eae58[_0x3771a1(0x408)](_0x552ea8);}[_0x2229a0(0x23c)](_0x12acae){var _0x2c74ca=_0x2229a0;const _0x3456c3=this[_0x2c74ca(0x2ab)][_0x2c74ca(0x444)](_0x12acae);_0x3456c3&&(_0x3456c3[_0x2c74ca(0x484)](),this['_roomMembers'][_0x2c74ca(0x420)](_0x12acae));}[_0x2229a0(0x484)](){var _0x52f404=_0x2229a0;this[_0x52f404(0x2ab)]['forEach'](_0x3eba85=>_0x3eba85['dispose']()),this['_roomMembers']['clear'](),this[_0x52f404(0x3c8)][_0x52f404(0x45e)]();}},_0x5e3fa4[_0x2229a0(0x357)]=_0x143db0([_0x5d09d8(0x0,_0x158513[_0x2229a0(0x4ad)]),_0x5d09d8(0x1,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x3ac)]))],_0x5e3fa4['MemberService']);class _0x5382ac extends _0x158513['Disposable']{constructor(){var _0x26f0a6=_0x2229a0;super(...arguments),_0x4b59b5(this,'_members',new Map()),_0x4b59b5(this,_0x26f0a6(0x23a),new _0x32f9ef[(_0x26f0a6(0x3ce))](this[_0x26f0a6(0x3f7)])),_0x4b59b5(this,_0x26f0a6(0x223),this[_0x26f0a6(0x23a)][_0x26f0a6(0x1d1)]());}[_0x2229a0(0x484)](){var _0x203a82=_0x2229a0;this[_0x203a82(0x3f7)][_0x203a82(0x326)]();}[_0x2229a0(0x382)](_0xffe9b){var _0x39caf5=_0x2229a0;this[_0x39caf5(0x3f7)][_0x39caf5(0x3a6)](_0xffe9b[_0x39caf5(0x398)],_0xffe9b),this[_0x39caf5(0x468)]();}[_0x2229a0(0x430)](_0x5cc65a){var _0x118fbe=_0x2229a0;this[_0x118fbe(0x3f7)]['delete'](_0x5cc65a);}['getMember'](_0x4db446){var _0x504d10=_0x2229a0;return this[_0x504d10(0x3f7)][_0x504d10(0x444)](_0x4db446);}[_0x2229a0(0x320)](){var _0x49488c=_0x2229a0;return Array[_0x49488c(0x3ca)](this[_0x49488c(0x3f7)][_0x49488c(0x4c7)]());}['_emitMembers'](){var _0x4483e4=_0x2229a0;this[_0x4483e4(0x23a)][_0x4483e4(0x393)](this[_0x4483e4(0x3f7)]);}}var _0x5adfda=Object[_0x2229a0(0x330)],_0x49c2dd=(_0x523b08,_0x1f0381,_0x10f000,_0x3bd931)=>{var _0x3981b8=_0x2229a0;for(var _0x45e47e=_0x3bd931>0x1?void 0x0:_0x3bd931?_0x5adfda(_0x1f0381,_0x10f000):_0x1f0381,_0xfa5076=_0x523b08[_0x3981b8(0x316)]-0x1,_0x33c2d5;_0xfa5076>=0x0;_0xfa5076--)(_0x33c2d5=_0x523b08[_0xfa5076])&&(_0x45e47e=_0x33c2d5(_0x45e47e)||_0x45e47e);return _0x45e47e;},_0x353f89=(_0xafbfc3,_0x5369de)=>(_0x19375d,_0x118efb)=>_0x5369de(_0x19375d,_0x118efb,_0xafbfc3),_0x366b35=(_0x25be4f=>(_0x25be4f[_0x25be4f[_0x2229a0(0x3de)]=0x0]=_0x2229a0(0x3de),_0x25be4f[_0x25be4f[_0x2229a0(0x1f1)]=0x1]='JOINING',_0x25be4f[_0x25be4f['OFFLINE']=0x2]=_0x2229a0(0x3d1),_0x25be4f[_0x25be4f[_0x2229a0(0x2e6)]=0x3]=_0x2229a0(0x2e6),_0x25be4f))(_0x366b35||{});const _0x5dd6b1={[_0xaed6cc[_0x2229a0(0x35f)]]:'session.join-failed',[_0xaed6cc[_0x2229a0(0x1f0)]]:_0x2229a0(0x437),[_0xaed6cc[_0x2229a0(0x4b2)]]:_0x2229a0(0x19e),[_0xaed6cc['JOIN_ROOM_PERMISSION_DENIED']]:_0x2229a0(0x43e),[_0xaed6cc[_0x2229a0(0x307)]]:_0x2229a0(0x30f)};_0x5e3fa4['CollaborationSession']=class extends _0x158513['RxDisposable']{constructor(_0x2703e7,_0x4d4132,_0x126c1a,_0xf08078,_0x1ff70c,_0x2060e1,_0xd5a425,_0x268ecd){var _0x156b88=_0x2229a0;super(),_0x4b59b5(this,_0x156b88(0x48d),new _0x32f9ef[(_0x156b88(0x3ce))](0x0)),_0x4b59b5(this,_0x156b88(0x352),this[_0x156b88(0x48d)]['asObservable']()),_0x4b59b5(this,'_event$',new _0x32f9ef[(_0x156b88(0x2e1))]()),_0x4b59b5(this,_0x156b88(0x413),this['_event$'][_0x156b88(0x1d1)]()),_0x4b59b5(this,_0x156b88(0x530)),_0x4b59b5(this,_0x156b88(0x3e3)),_0x4b59b5(this,'_collaborationTimeoutTimer'),_0x4b59b5(this,_0x156b88(0x45a),!0x1),_0x4b59b5(this,_0x156b88(0x505),null),(this['_unitID']=_0x2703e7,this['_logService']=_0x126c1a,this[_0x156b88(0x24f)]=_0xf08078,this[_0x156b88(0x44f)]=_0x1ff70c,this['_commentService']=_0x2060e1,this['_collaborationUIEventService']=_0xd5a425,this[_0x156b88(0x3c0)]=_0x268ecd,this[_0x156b88(0x45a)]=!!this[_0x156b88(0x3c0)],_0x4d4132['pipe'](_0x32f9ef[_0x156b88(0x251)](this[_0x156b88(0x4ce)]))[_0x156b88(0x206)](_0x2ea068=>{var _0x4b22c0=_0x156b88,_0x526315;typeof _0x2ea068>'u'||(this[_0x4b22c0(0x530)]=_0x2ea068,_0x2ea068?(this['_joinRoom'](_0x2ea068),this[_0x4b22c0(0x3e3)]=_0x2ea068['message$']['subscribe'](_0x51d015=>{var _0x468f50=_0x4b22c0;_0x51d015[_0x468f50(0x300)]===this[_0x468f50(0x3ff)]&&this[_0x468f50(0x211)](_0x51d015);})):(this[_0x4b22c0(0x390)](),this[_0x4b22c0(0x48d)][_0x4b22c0(0x393)](0x2),(_0x526315=this[_0x4b22c0(0x3e3)])==null||_0x526315[_0x4b22c0(0x415)](),this[_0x4b22c0(0x3e3)]=null));}));}get[_0x2229a0(0x33c)](){var _0x4b6d76=_0x2229a0;return this[_0x4b6d76(0x48d)]['getValue']();}['getMemberID'](){var _0x7445e1=_0x2229a0,_0xd744c8,_0x55d5c0;return(_0x55d5c0=(_0xd744c8=this[_0x7445e1(0x530)])==null?void 0x0:_0xd744c8[_0x7445e1(0x398)])!=null?_0x55d5c0:null;}['dispose'](){var _0x3afe73=_0x2229a0;super[_0x3afe73(0x484)](),this[_0x3afe73(0x4ce)][_0x3afe73(0x393)](),this[_0x3afe73(0x4ce)][_0x3afe73(0x45e)]();}['close'](){var _0x5be70c=_0x2229a0,_0x111143,_0x454f59;this['_throwTelemetryCollaborationNewChangeset'](),(_0x111143=this[_0x5be70c(0x530)])==null||_0x111143[_0x5be70c(0x535)]({'cmd':_0x5db895['LEAVE'],'data':{'roomID':this[_0x5be70c(0x3ff)]}}),(_0x454f59=this['_socket'])==null||_0x454f59[_0x5be70c(0x43b)](),this['_event$'][_0x5be70c(0x45e)](),this[_0x5be70c(0x48d)][_0x5be70c(0x45e)](),this[_0x5be70c(0x484)]();}[_0x2229a0(0x211)](_0xce2a4a){var _0x504e6a=_0x2229a0;_0xce2a4a[_0x504e6a(0x366)]===_0x5db895['JOIN']?this[_0x504e6a(0x4c6)](_0xce2a4a):_0xce2a4a[_0x504e6a(0x366)]===_0x5db895['RECV']&&this[_0x504e6a(0x4d6)](_0xce2a4a);}[_0x2229a0(0x487)](_0x3fb966){var _0x22e120=_0x2229a0;this[_0x22e120(0x48d)][_0x22e120(0x393)](0x1),_0x3fb966['send']({'cmd':_0x5db895[_0x22e120(0x2e8)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x22e120(0x3ff)]}]}});}['_onJoinRoomEvent'](_0x4095dc){var _0x29891d=_0x2229a0,_0x401cf3;if(_0x4095dc[_0x29891d(0x2f8)]in _0x5dd6b1){this[_0x29891d(0x388)][_0x29891d(0x4a6)]({'id':_0x306c72[_0x29891d(0x2aa)],'data':_0x5dd6b1[_0x4095dc[_0x29891d(0x2f8)]]}),this[_0x29891d(0x48d)][_0x29891d(0x393)](0x2);return;}this['_sessionStatus$'][_0x29891d(0x393)](0x3);const _0x26ddb3=(_0x401cf3=_0x4095dc['data'][_0x29891d(0x253)][this[_0x29891d(0x3ff)]])==null?void 0x0:_0x401cf3[_0x29891d(0x4ef)];_0x26ddb3&&_0x26ddb3[_0x29891d(0x45b)](_0x389b85=>this[_0x29891d(0x44f)]['updateMember'](this['_unitID'],_0x389b85));}[_0x2229a0(0x4d6)](_0x6c8ec9){var _0x20eea0=_0x2229a0;try{const _0x3eb770=_0x6c8ec9[_0x20eea0(0x214)];switch(_0x3eb770[_0x20eea0(0x40a)]){case _0x35009e[_0x20eea0(0x499)][_0x20eea0(0x4cf)]:this[_0x20eea0(0x215)](_0x3eb770),this[_0x20eea0(0x425)][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e['CollaborationEvent'][_0x20eea0(0x500)]:this[_0x20eea0(0x305)](_0x3eb770),this['_event$'][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e[_0x20eea0(0x499)][_0x20eea0(0x24e)]:case _0x35009e[_0x20eea0(0x499)][_0x20eea0(0x2c4)]:this[_0x20eea0(0x280)](),this[_0x20eea0(0x308)](),this['_event$'][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e[_0x20eea0(0x499)]['MSG_FOR_ERROR']:this[_0x20eea0(0x501)]['error'](_0x20eea0(0x481)+JSON['stringify'](_0x3eb770)),this[_0x20eea0(0x425)][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e[_0x20eea0(0x499)]['COMMENT_UPDATE']:this[_0x20eea0(0x1b7)][_0x20eea0(0x3c9)](_0x3eb770[_0x20eea0(0x214)]),this['_event$']['next'](_0x3eb770);break;default:this[_0x20eea0(0x425)]['next'](_0x3eb770);}}catch(_0x4f67e3){this[_0x20eea0(0x501)]['error'](_0x4f67e3,_0x6c8ec9);}}[_0x2229a0(0x215)](_0x4095b5){var _0x7a14a7=_0x2229a0;this[_0x7a14a7(0x44f)][_0x7a14a7(0x382)](this['_unitID'],_0x4095b5[_0x7a14a7(0x214)]);}['_onUserLeave'](_0x1fc723){var _0x2baa35=_0x2229a0;this['_memberService']['removeMember'](this['_unitID'],_0x1fc723[_0x2baa35(0x214)][_0x2baa35(0x398)]);}async[_0x2229a0(0x535)](_0x2460e9,_0x23f1a5){var _0x3fd22c=_0x2229a0;if(this[_0x3fd22c(0x33c)]!==0x3||!this[_0x3fd22c(0x530)])throw new Error(_0x3fd22c(0x36a));try{_0x2460e9[_0x3fd22c(0x40a)]===_0x35009e[_0x3fd22c(0x499)][_0x3fd22c(0x331)]&&(this[_0x3fd22c(0x4ae)](),this[_0x3fd22c(0x3e6)](_0x2460e9)),this['_socket'][_0x3fd22c(0x535)]({'cmd':_0x5db895[_0x3fd22c(0x433)],'routeKey':_0x23f1a5,'routeType':'','data':_0x2460e9});}catch(_0x4a4de2){this[_0x3fd22c(0x501)][_0x3fd22c(0x508)](_0x4a4de2);}}['_scheduleCollaborationTimeoutTimer'](){var _0x326ce9=_0x2229a0,_0x256121;this[_0x326ce9(0x29a)]=setTimeout(()=>{var _0x565f96=_0x326ce9;this['_collaborationTimeoutTimer']=null,this[_0x565f96(0x388)][_0x565f96(0x4a6)]({'id':_0x306c72[_0x565f96(0x493)]});},(_0x256121=this[_0x326ce9(0x24f)][_0x326ce9(0x247)](_0x3bd8ba))!=null?_0x256121:0x4e20);}[_0x2229a0(0x308)](){var _0x1f36bb=_0x2229a0;this[_0x1f36bb(0x29a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x2229a0(0x3e6)](_0x4338ab){var _0x3320d1=_0x2229a0;if(!this[_0x3320d1(0x45a)])return;const {data:_0x16b9c5}=_0x4338ab,{unitID:_0x72f571,changeset:_0x7170fa}=_0x16b9c5,{mutations:_0x2605db,type:_0x3711c2}=_0x7170fa;this[_0x3320d1(0x505)]={'unitId':_0x72f571,'type':_0x3711c2,'startTime':performance[_0x3320d1(0x40f)](),'stopTime':0x0,'duration':0x0,'size':_0x38397d(_0x2605db)};}[_0x2229a0(0x280)](){var _0x382e9d=_0x2229a0;if(this[_0x382e9d(0x45a)]){if(!this[_0x382e9d(0x505)]){this[_0x382e9d(0x501)][_0x382e9d(0x508)](_0x382e9d(0x287),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x382e9d(0x505)][_0x382e9d(0x489)]=performance[_0x382e9d(0x40f)](),this[_0x382e9d(0x505)]['duration']=this[_0x382e9d(0x505)]['stopTime']-this[_0x382e9d(0x505)][_0x382e9d(0x46c)],this[_0x382e9d(0x3c0)]['capture'](_0x53b2f7,this['_telemetryInfo']),this[_0x382e9d(0x505)]=null;}}[_0x2229a0(0x390)](){var _0x1ef16c=_0x2229a0;this[_0x1ef16c(0x505)]=null;}},_0x5e3fa4[_0x2229a0(0x46d)]=_0x49c2dd([_0x353f89(0x2,_0x158513[_0x2229a0(0x2b8)]),_0x353f89(0x3,_0x158513[_0x2229a0(0x4c2)]),_0x353f89(0x4,_0x158513[_0x2229a0(0x1c1)](_0x5e3fa4[_0x2229a0(0x357)])),_0x353f89(0x5,_0x158513['Inject'](_0x1a53f1)),_0x353f89(0x6,_0x158513['Inject'](_0x1a9793)),_0x353f89(0x7,_0x158513[_0x2229a0(0x224)](_0xd66539[_0x2229a0(0x48a)]))],_0x5e3fa4[_0x2229a0(0x46d)]);const _0x53e5a0=_0x158513['createIdentifier']('collaboration-client.local-cache-service');function _0x3941b5(_0x48d9cb){var _0x2c107b=_0x2229a0;return _0x2c107b(0x4d7)+_0x48d9cb;}var _0x464dce=Object['getOwnPropertyDescriptor'],_0x4737c5=(_0x25abd9,_0x64710c,_0x331b90,_0x152a48)=>{var _0x55f3c8=_0x2229a0;for(var _0x13ba17=_0x152a48>0x1?void 0x0:_0x152a48?_0x464dce(_0x64710c,_0x331b90):_0x64710c,_0x3c8237=_0x25abd9[_0x55f3c8(0x316)]-0x1,_0x97343e;_0x3c8237>=0x0;_0x3c8237--)(_0x97343e=_0x25abd9[_0x3c8237])&&(_0x13ba17=_0x97343e(_0x13ba17)||_0x13ba17);return _0x13ba17;},_0x455ab7=(_0x35e47f,_0x36898d)=>(_0x76c355,_0x148125)=>_0x36898d(_0x76c355,_0x148125,_0x35e47f);function _0x442ea1(_0x74dec4){var _0x4abbd9=_0x2229a0;const {unitID:_0x49da11,mutations:_0x1bba08}=_0x74dec4;return{'unitId':_0x49da11,'subUnitId':_0x1bba08[_0x4abbd9(0x316)]>0x0?_0x1bba08[0x0][_0x4abbd9(0x2df)][_0x4abbd9(0x4d9)]:null};}_0x5e3fa4['SheetTransformSelectionsService']=class{constructor(_0x399d42,_0x16a4fa,_0x1b93fb){var _0x3828fe=_0x2229a0;this['_injector']=_0x399d42,this[_0x3828fe(0x431)]=_0x16a4fa,this[_0x3828fe(0x363)]=_0x1b93fb;}[_0x2229a0(0x1eb)](_0x464716){var _0x28ada8=_0x2229a0,_0x52b0b0,_0xff1caf,_0x3823db,_0x25ddce;const _0x423211=this[_0x28ada8(0x315)][_0x28ada8(0x444)](_0x18f772[_0x28ada8(0x490)]),{unitId:_0xdc650a,subUnitId:_0x558b1}=_0x442ea1(_0x464716),_0x2cc404=_0x423211==null?void 0x0:_0x423211[_0x28ada8(0x298)](_0xdc650a)['getCurrentSelections'](),_0x50f99f=(_0xff1caf=(_0x52b0b0=this[_0x28ada8(0x363)][_0x28ada8(0x29e)](_0xdc650a))==null?void 0x0:_0x52b0b0[_0x28ada8(0x293)]())==null?void 0x0:_0xff1caf[_0x28ada8(0x19d)]();if(_0x2cc404[_0x28ada8(0x316)]===0x0||!_0xdc650a||!_0x558b1)return;const _0x5ef000=[{'id':_0x18f772[_0x28ada8(0x273)]['id'],'params':{'unitId':_0xdc650a,'subUnitId':_0x50f99f,'selections':_0x158513[_0x28ada8(0x512)][_0x28ada8(0x2dd)](_0x2cc404)}}],_0x9c9c35=this[_0x28ada8(0x431)][_0x28ada8(0x4ff)](_0x464716,_0x5ef000);if(!_0x35009e[_0x28ada8(0x478)](_0x9c9c35))throw _0x9c9c35[_0x28ada8(0x508)];const _0x5ddfc4=(_0x25ddce=(_0x3823db=_0x9c9c35['m2Prime'][0x0])==null?void 0x0:_0x3823db[_0x28ada8(0x2df)])==null?void 0x0:_0x25ddce[_0x28ada8(0x469)];if(Array[_0x28ada8(0x329)](_0x5ddfc4)&&_0x5ddfc4[_0x28ada8(0x316)]){if(_0x5ddfc4[_0x28ada8(0x316)]===_0x5ef000[0x0][_0x28ada8(0x2df)]['selections'][_0x28ada8(0x316)]&&_0x5ddfc4[_0x28ada8(0x374)]((_0x4ab574,_0x445163)=>_0x158513[_0x28ada8(0x41d)][_0x28ada8(0x19c)](_0x4ab574[_0x28ada8(0x22c)],_0x5ef000[0x0][_0x28ada8(0x2df)][_0x28ada8(0x469)][_0x445163][_0x28ada8(0x22c)])))return;this[_0x28ada8(0x315)]['get'](_0x158513[_0x28ada8(0x4e3)])['executeCommand'](_0x18f772[_0x28ada8(0x273)]['id'],{'unitId':_0xdc650a,'subUnitId':_0x50f99f,'selections':_0x5ddfc4});}}},_0x5e3fa4[_0x2229a0(0x3f3)]=_0x4737c5([_0x455ab7(0x0,_0x158513['Inject'](_0x158513['Injector'])),_0x455ab7(0x1,_0x35009e[_0x2229a0(0x446)]),_0x455ab7(0x2,_0x158513[_0x2229a0(0x4ad)])],_0x5e3fa4[_0x2229a0(0x3f3)]);const _0x25ea7f=_0x158513['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x309040=(_0x5020e2=>(_0x5020e2[_0x5020e2[_0x2229a0(0x4fc)]=0x0]=_0x2229a0(0x4fc),_0x5020e2[_0x5020e2[_0x2229a0(0x498)]=0x1]=_0x2229a0(0x498),_0x5020e2))(_0x309040||{});const _0x5e0130=_0x2229a0(0x492),_0x5ccedc={};function _0x2d3791(_0x27a3c2){var _0x11f55c=_0x2229a0,_0x4aece1;return!!((_0x4aece1=_0x27a3c2['params'])!=null&&_0x4aece1[_0x11f55c(0x4ed)]);}const _0x4f49f8=new Set([_0x18f772[_0x2229a0(0x324)]['id']]);function _0x26d5a0(_0x15cf12,_0x5aae5d,_0x43d7b1,_0x23b713,_0x5cedfb){var _0x4bb90a=_0x2229a0,_0x274527,_0x1a1903,_0xd61443,_0xcc5ccb;const _0x14f274=[];for(const _0x462ad1 of _0x15cf12){if(_0x4f49f8[_0x4bb90a(0x202)](_0x462ad1['id'])){if(_0x14f274['length']>0x0)break;_0x14f274[_0x4bb90a(0x4a3)](_0x462ad1);break;}if(_0x2d3791(_0x462ad1)){if(_0x14f274[_0x4bb90a(0x316)]>0x0)break;_0x14f274[_0x4bb90a(0x4a3)](_0x462ad1);break;}_0x14f274['push'](_0x462ad1);}const _0xfa894e=(_0x1a1903=(_0x274527=_0x5cedfb['getCurrentUser']())==null?void 0x0:_0x274527['userID'])!=null?_0x1a1903:_0x4bb90a(0x2cc),_0x4ce221=(_0xcc5ccb=(_0xd61443=_0x5cedfb['getCurrentUser']())==null?void 0x0:_0xd61443[_0x4bb90a(0x398)])!=null?_0xcc5ccb:_0x4bb90a(0x2cc);return{'changeset':{'unitID':_0x5aae5d,'type':_0x35009e[_0x4bb90a(0x347)](_0x43d7b1[_0x4bb90a(0x208)](_0x5aae5d)),'baseRev':_0x23b713[_0x4bb90a(0x2b4)](_0x5aae5d),'revision':0x0,'userID':_0xfa894e,'memberID':_0x4ce221,'mutations':_0x14f274},'pendingMutations':_0x15cf12['slice'](_0x14f274[_0x4bb90a(0x316)])};}function _0x150ab5(_0x225624,_0x184e8f,_0x25f0ff,_0x5edd15,_0x55fde7){var _0x3b9a74=_0x2229a0,_0x2e04a5,_0x56d7d5,_0x4ae9a1,_0x3bbb59;const _0x4aad24=[_0x225624[_0x3b9a74(0x245)]((_0x1d6d55,_0x543308)=>{var _0x2f053f=_0x3b9a74,_0x1352af;const {id:_0x139066}=_0x1d6d55,{id:_0x28c185,type:_0x16491e}=_0x543308,_0x31910a=(_0x1352af=_0x1d6d55[_0x2f053f(0x2df)])!=null?_0x1352af:{'actions':null},_0x5f18e7=_0x543308[_0x2f053f(0x2df)];if(_0x139066&&_0x139066!==_0x28c185)throw new Error(_0x2f053f(0x518)+_0x139066+'\x20-\x20'+_0x28c185+'.');return{..._0x1d6d55,'id':_0x28c185,'type':_0x16491e,'params':{'unitId':_0x5f18e7[_0x2f053f(0x506)],'textRanges':_0x5f18e7[_0x2f053f(0x204)],'actions':_0x158513[_0x2f053f(0x4f3)][_0x2f053f(0x3b9)](_0x31910a[_0x2f053f(0x311)],_0x5f18e7[_0x2f053f(0x311)])}};},{})],_0x3503e3=(_0x56d7d5=(_0x2e04a5=_0x55fde7['getCurrentUser']())==null?void 0x0:_0x2e04a5[_0x3b9a74(0x3d9)])!=null?_0x56d7d5:'unknown',_0x3cdc33=(_0x3bbb59=(_0x4ae9a1=_0x55fde7[_0x3b9a74(0x464)]())==null?void 0x0:_0x4ae9a1['memberID'])!=null?_0x3bbb59:_0x3b9a74(0x2cc);return{'changeset':{'unitID':_0x184e8f,'type':_0x35009e[_0x3b9a74(0x347)](_0x25f0ff[_0x3b9a74(0x208)](_0x184e8f)),'baseRev':_0x5edd15[_0x3b9a74(0x2b4)](_0x184e8f),'revision':0x0,'userID':_0x3503e3,'memberID':_0x3cdc33,'mutations':_0x4aad24},'pendingMutations':[]};}function _0xfd43e4(_0x23f088,_0x4a6231){var _0x2407e6=_0x2229a0;const _0x42c3ff=new _0x32f9ef[(_0x2407e6(0x3ae))](0x1);return setTimeout(()=>_0x42c3ff['next'](_0x4a6231),_0x23f088),_0x42c3ff[_0x2407e6(0x1d1)]()[_0x2407e6(0x3fa)](_0x32f9ef[_0x2407e6(0x23b)](0x1));}var _0x301b6e=Object[_0x2229a0(0x330)],_0x563741=(_0x33830f,_0x2be161,_0x2dd367,_0x56ebb6)=>{for(var _0x26357e=_0x56ebb6>0x1?void 0x0:_0x56ebb6?_0x301b6e(_0x2be161,_0x2dd367):_0x2be161,_0x1a3eb2=_0x33830f['length']-0x1,_0x3e89fc;_0x1a3eb2>=0x0;_0x1a3eb2--)(_0x3e89fc=_0x33830f[_0x1a3eb2])&&(_0x26357e=_0x3e89fc(_0x26357e)||_0x26357e);return _0x26357e;},_0x2cc99c=(_0x4d2355,_0x217375)=>(_0x5cd36d,_0x2afd52)=>_0x217375(_0x5cd36d,_0x2afd52,_0x4d2355),_0x3eee43=(_0x2b55ef=>(_0x2b55ef[_0x2229a0(0x3bd)]=_0x2229a0(0x476),_0x2b55ef[_0x2229a0(0x1fe)]=_0x2229a0(0x256),_0x2b55ef[_0x2229a0(0x396)]='pending',_0x2b55ef[_0x2229a0(0x1dc)]='awaiting',_0x2b55ef[_0x2229a0(0x4a4)]='awaiting_with_pending',_0x2b55ef[_0x2229a0(0x1e6)]='fetch_missing',_0x2b55ef[_0x2229a0(0x451)]=_0x2229a0(0x3b5),_0x2b55ef[_0x2229a0(0x3d1)]=_0x2229a0(0x4b5),_0x2b55ef))(_0x3eee43||{});const _0x5f0507=0x4e20,_0x428c3c=0x2bf20;class _0xec761{constructor(_0x28b996,_0x25b54c,_0x1fe5c1,_0x410889,_0x513916,_0x2770cd,_0x4697bc,_0x4a3d24,_0x4a95be){var _0x5514a8=_0x2229a0;_0x4b59b5(this,_0x5514a8(0x25c),null),_0x4b59b5(this,_0x5514a8(0x1ca),[]),(this[_0x5514a8(0x350)]=_0x28b996,this[_0x5514a8(0x4b3)]=_0x25b54c,this[_0x5514a8(0x1c3)]=_0x513916,this[_0x5514a8(0x197)]=_0x2770cd,this[_0x5514a8(0x4c3)]=_0x4697bc,this['_revisionService']=_0x4a3d24,this[_0x5514a8(0x34a)]=_0x4a95be,this[_0x5514a8(0x25c)]=_0x1fe5c1,this[_0x5514a8(0x1ca)]=_0x410889);}['_checkMissing'](_0x5a47e6){var _0x44f3bf=_0x2229a0;const _0x267ab0=this['_revisionService']['getCurrentRevOfUnit'](this[_0x44f3bf(0x350)]);return _0x5a47e6[_0x44f3bf(0x2c1)]>_0x267ab0+0x1?(this[_0x44f3bf(0x1c3)][_0x44f3bf(0x52a)]({'from':_0x267ab0,'to':_0x5a47e6[_0x44f3bf(0x2c1)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3bb7b3){var _0x200136=_0x2229a0;this[_0x200136(0x4c3)]['transformUndoRedo'](this['unitID'],_0x3bb7b3);}[_0x2229a0(0x47b)](_0x12ab54){var _0x5e732c=_0x2229a0,_0x104372,_0x38197a;(_0x38197a=(_0x104372=this[_0x5e732c(0x1c3)])[_0x5e732c(0x3eb)])==null||_0x38197a[_0x5e732c(0x2d1)](_0x104372,_0x12ab54);}['_transformIMECache'](_0x143aac){var _0x3a66c7=_0x2229a0,_0x448f29,_0x3efef8;return(_0x3efef8=(_0x448f29=this[_0x3a66c7(0x1c3)])['onTransformIME'])==null?void 0x0:_0x3efef8['call'](_0x448f29,_0x143aac);}['_transformStateCache'](_0x107519){var _0x279b66=_0x2229a0,_0x2f7455,_0x34dc32;return(_0x34dc32=(_0x2f7455=this[_0x279b66(0x1c3)])[_0x279b66(0x44e)])==null?void 0x0:_0x34dc32[_0x279b66(0x2d1)](_0x2f7455,_0x107519);}[_0x2229a0(0x337)](_0x57238a){var _0x9fcab3=_0x2229a0,_0xf36b9c,_0x42ecb8,_0x34be58;return(_0x34be58=(_0x42ecb8=(_0xf36b9c=this[_0x9fcab3(0x1c3)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x42ecb8[_0x9fcab3(0x2d1)](_0xf36b9c,_0x57238a))!=null?_0x34be58:_0x57238a;}[_0x2229a0(0x461)](_0x57dbf5){var _0x3a429a=_0x2229a0,_0x4e19a4,_0x13bb8c,_0x59588f;return(_0x59588f=(_0x13bb8c=(_0x4e19a4=this[_0x3a429a(0x1c3)])[_0x3a429a(0x449)])==null?void 0x0:_0x13bb8c['call'](_0x4e19a4,_0x57dbf5))!=null?_0x59588f:_0x57dbf5;}[_0x2229a0(0x496)](_0x580537){var _0x3fc181=_0x2229a0,_0x13e3fc,_0x27ea76;if(this[_0x3fc181(0x4b3)]===_0x24c96d[_0x3fc181(0x275)]){const {unitID:_0x4ccf5f,mutations:_0x3e13fa,memberID:_0x9f5208}=_0x580537,_0x4badfa=_0x3e13fa[_0x3fc181(0x316)]>0x0?_0x3e13fa[0x0][_0x3fc181(0x2df)][_0x3fc181(0x204)]:[];Array[_0x3fc181(0x329)](_0x4badfa)&&_0x4badfa[_0x3fc181(0x316)]>0x0&&((_0x27ea76=(_0x13e3fc=this[_0x3fc181(0x1c3)])[_0x3fc181(0x1fb)])==null||_0x27ea76[_0x3fc181(0x2d1)](_0x13e3fc,{'unitID':_0x4ccf5f,'memberID':_0x9f5208,'textRanges':_0x4badfa}));}}[_0x2229a0(0x2c0)](){var _0x574874=_0x2229a0,_0x341829;(_0x341829=this[_0x574874(0x34a)])==null||_0x341829[_0x574874(0x20f)](this[_0x574874(0x350)],this[_0x574874(0x4b3)],this[_0x574874(0x25c)],this[_0x574874(0x1ca)]);}[_0x2229a0(0x37d)](){var _0x398090=_0x2229a0;return this['_revisionService'][_0x398090(0x2b4)](this[_0x398090(0x350)]);}[_0x2229a0(0x1c6)](){var _0x4b9547=_0x2229a0;this[_0x4b9547(0x34c)][_0x4b9547(0x370)](this['unitID']);}[_0x2229a0(0x1aa)](_0x44ec78){var _0x2fe9c4=_0x2229a0,_0x4ea012;let _0x2437e1=this['_transformRemoteChangesetByIMECache'](_0x44ec78);_0x2437e1=this[_0x2fe9c4(0x461)](_0x2437e1);const _0x85deb3=_0x158513[_0x2fe9c4(0x482)](_0x2437e1[_0x2fe9c4(0x3b3)],this[_0x2fe9c4(0x197)],{'fromCollab':!0x0});if(!_0x85deb3[_0x2fe9c4(0x3e2)])throw _0x85deb3['error']instanceof Error?_0x85deb3['error']:new Error((_0x4ea012=_0x85deb3[_0x2fe9c4(0x508)])!=null?_0x4ea012:_0x2fe9c4(0x33f));this[_0x2fe9c4(0x3fb)](_0x2437e1),this[_0x2fe9c4(0x30a)](_0x2437e1),this[_0x2fe9c4(0x44c)](_0x44ec78),this['_transformSelections'](_0x2437e1),this[_0x2fe9c4(0x496)](_0x2437e1),this['_incrementRevisionNumber']();}}_0x5e3fa4['SyncedState']=class extends _0xec761{constructor(_0x2ef943,_0x1d7de4,_0x2372b5,_0x5c99cc,_0x3656df,_0x38a2d4,_0x391d34,_0xa5dfb7,_0x4edc0b,_0x8203ee){var _0x5db08e=_0x2229a0;super(_0x2ef943,_0x1d7de4,null,[],_0x2372b5,_0x391d34,_0x38a2d4,_0x5c99cc,_0x8203ee),_0x4b59b5(this,_0x5db08e(0x2e2),_0x5db08e(0x256)),(this[_0x5db08e(0x315)]=_0x3656df,this[_0x5db08e(0x501)]=_0xa5dfb7,this[_0x5db08e(0x431)]=_0x4edc0b,this['localCacheService']=_0x8203ee);}[_0x2229a0(0x1e3)](_0x40065a){var _0x436715=_0x2229a0;const _0x56032d=this[_0x436715(0x315)][_0x436715(0x49c)](_0x5e3fa4[_0x436715(0x2a8)],this[_0x436715(0x350)],this[_0x436715(0x4b3)],[_0x40065a],this['_handler']);return _0x56032d['_schedule'](),_0x56032d[_0x436715(0x2c0)](),_0x56032d;}[_0x2229a0(0x4b9)](_0x5f3abc){var _0x2492dd=_0x2229a0;if(this[_0x2492dd(0x259)](_0x5f3abc))return this[_0x2492dd(0x315)][_0x2492dd(0x49c)](_0x5e3fa4[_0x2492dd(0x47a)],this[_0x2492dd(0x350)],this[_0x2492dd(0x4b3)],null,[],null,[_0x5f3abc],this['_handler']);try{const _0x2f39ff=this[_0x2492dd(0x431)][_0x2492dd(0x4ff)](_0x5f3abc,[_0x35009e['EmptyMutationInfo']]);if(_0x35009e[_0x2492dd(0x478)](_0x2f39ff)){const {c1Prime:_0x3db86f}=_0x2f39ff;return this[_0x2492dd(0x1aa)](_0x3db86f),this;}throw _0x2f39ff[_0x2492dd(0x508)];}catch(_0xc81dcd){return this[_0x2492dd(0x501)][_0x2492dd(0x508)](_0xc81dcd),this['_onConflict'](!0x1);}}[_0x2229a0(0x527)](_0x2daccf){var _0x113cb3=_0x2229a0;return this[_0x113cb3(0x315)][_0x113cb3(0x49c)](_0x5e3fa4['ConflictState'],this[_0x113cb3(0x350)],this['type'],null,[],this[_0x113cb3(0x1c3)],_0x2daccf);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xcb54ce=_0x2229a0;throw new Error(_0xcb54ce(0x50a));}['onRemoteRetry'](){return this;}[_0x2229a0(0x38d)](){var _0x34b286=_0x2229a0;return this[_0x34b286(0x315)][_0x34b286(0x49c)](_0x5e3fa4['OfflineState'],this['unitID'],this[_0x34b286(0x4b3)],null,[],this[_0x34b286(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x1891d7=_0x2229a0;throw new Error(_0x1891d7(0x290));}[_0x2229a0(0x291)](){var _0x1e208f=_0x2229a0;const _0x2c55c1=this[_0x1e208f(0x34c)][_0x1e208f(0x2b4)](this[_0x1e208f(0x350)]);return this[_0x1e208f(0x1c3)]['onMissingChangesets']({'from':_0x2c55c1,'to':0x0}),this['_injector']['createInstance'](_0x5e3fa4[_0x1e208f(0x47a)],this['unitID'],this[_0x1e208f(0x4b3)],null,[],null,[],this['_handler']);}},_0x5e3fa4[_0x2229a0(0x39b)]=_0x563741([_0x2cc99c(0x3,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x4,_0x158513['Inject'](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x5,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0x6,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0x8,_0x35009e[_0x2229a0(0x446)]),_0x2cc99c(0x9,_0x158513['Optional'](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x39b)]),_0x5e3fa4['PendingState']=class extends _0xec761{constructor(_0x14ff7b,_0x338af5,_0x2ea394,_0x537a1c,_0x18aeef,_0x10414f,_0x1c9568,_0x2d796c,_0x2f8420,_0x4c7e4b,_0x1c55c4,_0x5156d2,_0x3e82a7,_0xc173e7){var _0x23890b=_0x2229a0;super(_0x14ff7b,_0x338af5,null,_0x2ea394,_0x537a1c,_0x2f8420,_0x3e82a7,_0x10414f,_0xc173e7),_0x4b59b5(this,_0x23890b(0x2e2),'pending'),_0x4b59b5(this,_0x23890b(0x4bf),null),_0x4b59b5(this,_0x23890b(0x1ff),null),(this[_0x23890b(0x315)]=_0x18aeef,this[_0x23890b(0x44f)]=_0x1c9568,this[_0x23890b(0x501)]=_0x2d796c,this[_0x23890b(0x24f)]=_0x4c7e4b,this[_0x23890b(0x431)]=_0x1c55c4,this['_univerInstanceService']=_0x5156d2);}[_0x2229a0(0x1e3)](_0x50e56a){var _0x194ae1=_0x2229a0;return this['_pendingMutations']['push'](_0x50e56a),this[_0x194ae1(0x2c0)](),this;}[_0x2229a0(0x4b9)](_0x585510){var _0x5fba01=_0x2229a0;if(this[_0x5fba01(0x259)](_0x585510))return this[_0x5fba01(0x4f7)](),this[_0x5fba01(0x315)][_0x5fba01(0x49c)](_0x5e3fa4[_0x5fba01(0x47a)],this[_0x5fba01(0x350)],this[_0x5fba01(0x4b3)],null,this[_0x5fba01(0x1ca)],null,[_0x585510],this[_0x5fba01(0x1c3)]);try{const _0x3e5681=this[_0x5fba01(0x431)]['transformMutationsWithChangeset'](_0x585510,this['_pendingMutations']);if(_0x35009e[_0x5fba01(0x478)](_0x3e5681)){const {c1Prime:_0x4e73b9,m2Prime:_0x4c39af}=_0x3e5681;this[_0x5fba01(0x1aa)](_0x4e73b9);const _0x1ac218=this[_0x5fba01(0x315)][_0x5fba01(0x49c)](_0x5e3fa4['PendingState'],this[_0x5fba01(0x350)],this[_0x5fba01(0x4b3)],_0x4c39af,this[_0x5fba01(0x1c3)]);this[_0x5fba01(0x4f7)]();const _0x5a643e=new Date()[_0x5fba01(0x2ef)](),_0x26fbde=this['_scheduleCompleteTimestamp']?Math[_0x5fba01(0x392)](this[_0x5fba01(0x4bf)]-_0x5a643e,0x0):this[_0x5fba01(0x261)]();return _0x1ac218[_0x5fba01(0x221)](_0x26fbde),_0x1ac218;}throw _0x3e5681[_0x5fba01(0x508)];}catch(_0x257d4f){return this['_logService'][_0x5fba01(0x508)](_0x257d4f),this['_onConflict'](!0x1);}}[_0x2229a0(0x406)](){var _0x196428=_0x2229a0;throw new Error(_0x196428(0x3be));}[_0x2229a0(0x4b1)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2229a0(0x38d)](){var _0x22b707=_0x2229a0;return this[_0x22b707(0x4f7)](),this[_0x22b707(0x315)][_0x22b707(0x49c)](_0x5e3fa4[_0x22b707(0x24b)],this['unitID'],this[_0x22b707(0x4b3)],null,this[_0x22b707(0x1ca)],this[_0x22b707(0x1c3)]);}[_0x2229a0(0x229)](){return this;}['_schedule'](_0x51ac64){var _0x124a9c=_0x2229a0;const _0xe70336=_0x51ac64!=null?_0x51ac64:this[_0x124a9c(0x261)]();this['_scheduleCompleteTimestamp']=new Date()[_0x124a9c(0x2ef)]()+_0xe70336,this['_sendingTimer']=setTimeout(()=>{var _0x51b559=_0x124a9c;this[_0x51b559(0x4f7)]();let _0x2fbd53=null;switch(this[_0x51b559(0x4b3)]){case _0x24c96d[_0x51b559(0x394)]:{_0x2fbd53=_0x26d5a0(this[_0x51b559(0x1ca)],this[_0x51b559(0x350)],this[_0x51b559(0x1ae)],this['_revisionService'],this['_memberService']);break;}case _0x24c96d[_0x51b559(0x275)]:{this[_0x51b559(0x1ca)][_0x51b559(0x374)](_0x3cbd09=>_0x3cbd09['id']===_0xc7e141[_0x51b559(0x4f9)]['id'])?_0x2fbd53=_0x150ab5(this[_0x51b559(0x1ca)],this[_0x51b559(0x350)],this[_0x51b559(0x1ae)],this[_0x51b559(0x34c)],this['_memberService']):_0x2fbd53=_0x26d5a0(this[_0x51b559(0x1ca)],this[_0x51b559(0x350)],this['_univerInstanceService'],this['_revisionService'],this[_0x51b559(0x44f)]);break;}default:throw new Error(_0x51b559(0x361)+this[_0x51b559(0x4b3)]+_0x51b559(0x4ca));}const {changeset:_0xf5dcd2,pendingMutations:_0x2f752b}=_0x2fbd53;this[_0x51b559(0x1c3)]['onSendChangeset'](_0xf5dcd2);const _0x174936=_0x2f752b[_0x51b559(0x316)]?this[_0x51b559(0x315)][_0x51b559(0x49c)](_0x5e3fa4['AwaitingWithPendingState'],this[_0x51b559(0x350)],this[_0x51b559(0x4b3)],_0xf5dcd2,_0x2f752b,this[_0x51b559(0x1c3)],void 0x0):this['_injector'][_0x51b559(0x49c)](_0x5e3fa4[_0x51b559(0x1b6)],this[_0x51b559(0x350)],this[_0x51b559(0x4b3)],_0xf5dcd2,this[_0x51b559(0x1c3)]);_0x174936[_0x51b559(0x2c0)](),this['_handler'][_0x51b559(0x4b0)](this,_0x174936);},_0xe70336);}[_0x2229a0(0x261)](){var _0x52fa60=_0x2229a0,_0x5b250a;const _0x459c81=this['_configService'][_0x52fa60(0x247)](_0x5e0130);return(_0x5b250a=_0x459c81==null?void 0x0:_0x459c81[_0x52fa60(0x1a9)])!=null?_0x5b250a:0x7d0;}['resend'](){var _0x553fb9=_0x2229a0;throw new Error(_0x553fb9(0x3b6));}[_0x2229a0(0x4f7)](){var _0x11a290=_0x2229a0;this[_0x11a290(0x1ff)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x11a290(0x1ff)]=null);}[_0x2229a0(0x527)](_0x46e81e){var _0x584004=_0x2229a0;return this[_0x584004(0x4f7)](),this[_0x584004(0x315)]['createInstance'](_0x5e3fa4[_0x584004(0x2bb)],this[_0x584004(0x350)],this[_0x584004(0x4b3)],null,this[_0x584004(0x1ca)],this['_handler'],_0x46e81e);}},_0x5e3fa4[_0x2229a0(0x2a8)]=_0x563741([_0x2cc99c(0x4,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x5,_0x158513[_0x2229a0(0x1c1)](_0x35009e['RevisionService'])),_0x2cc99c(0x6,_0x158513['Inject'](_0x5e3fa4[_0x2229a0(0x357)])),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0x8,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x4c2)]),_0x2cc99c(0xa,_0x35009e['ITransformService']),_0x2cc99c(0xb,_0x158513['IUniverInstanceService']),_0x2cc99c(0xc,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x2a8)]),_0x5e3fa4[_0x2229a0(0x1b6)]=class extends _0xec761{constructor(_0x1d3471,_0x355082,_0x3aaae6,_0x20942b,_0x5ac19f,_0x293d8c,_0x5776b7,_0x5536d6,_0x5a991f,_0x2d83fe,_0x9014e1){var _0x2f899d=_0x2229a0;super(_0x1d3471,_0x355082,_0x3aaae6,[],_0x20942b,_0x5776b7,_0x2d83fe,_0x293d8c,_0x9014e1),_0x4b59b5(this,'status',_0x2f899d(0x4a7)),_0x4b59b5(this,_0x2f899d(0x52c),0x0),_0x4b59b5(this,_0x2f899d(0x351),0x0),_0x4b59b5(this,'_resendTimer'),_0x4b59b5(this,_0x2f899d(0x389)),(this['_injector']=_0x5ac19f,this[_0x2f899d(0x501)]=_0x5536d6,this[_0x2f899d(0x431)]=_0x5a991f);}[_0x2229a0(0x1e3)](_0x26f83e){var _0x53dc56=_0x2229a0;this[_0x53dc56(0x4f7)]();const _0x44e6ec=this[_0x53dc56(0x315)][_0x53dc56(0x49c)](_0x5e3fa4['AwaitingWithPendingState'],this['unitID'],this[_0x53dc56(0x4b3)],this[_0x53dc56(0x25c)],[_0x26f83e],this[_0x53dc56(0x1c3)],this['_resendTimer']);return _0x44e6ec[_0x53dc56(0x2c0)](),_0x44e6ec;}['onRemoteChangeset'](_0x3fbc7b){var _0x3f80d8=_0x2229a0;if(this[_0x3f80d8(0x259)](_0x3fbc7b))return this['_clearScheduledTask'](),this[_0x3f80d8(0x315)]['createInstance'](_0x5e3fa4[_0x3f80d8(0x47a)],this[_0x3f80d8(0x350)],this[_0x3f80d8(0x4b3)],this[_0x3f80d8(0x25c)],[],null,[_0x3fbc7b],this[_0x3f80d8(0x1c3)]);try{const _0xed83f2=this[_0x3f80d8(0x431)][_0x3f80d8(0x231)]([_0x3fbc7b],[this['_awaitingChangeset']],!0x1);if(_0x35009e[_0x3f80d8(0x23f)](_0xed83f2)){const {c1Prime:_0x2714d0,c2Prime:_0x62974f}=_0xed83f2;this[_0x3f80d8(0x1aa)](_0x2714d0[0x0]),_0x62974f[0x0][_0x3f80d8(0x3f2)]=this['_getCurrentRevision'](),this[_0x3f80d8(0x4f7)]();const _0x4d0c73=this[_0x3f80d8(0x315)][_0x3f80d8(0x49c)](_0x5e3fa4[_0x3f80d8(0x1b6)],this[_0x3f80d8(0x350)],this[_0x3f80d8(0x4b3)],_0x62974f[0x0],this[_0x3f80d8(0x1c3)]);return _0x4d0c73[_0x3f80d8(0x2c0)](),_0x4d0c73;}return this[_0x3f80d8(0x527)](!0x1);}catch(_0x37de1b){return this['_logService'][_0x3f80d8(0x508)](_0x37de1b),this[_0x3f80d8(0x527)](!0x1);}}[_0x2229a0(0x406)](_0x1adbff){var _0x3c2794=_0x2229a0;this[_0x3c2794(0x4f7)]();const _0x204ac9=this['_revisionService'][_0x3c2794(0x2b4)](this['unitID']);if(_0x1adbff[_0x3c2794(0x2c1)]<_0x204ac9-0x1)return this;if(this[_0x3c2794(0x259)](_0x1adbff))return this[_0x3c2794(0x315)]['createInstance'](_0x5e3fa4['FetchingMissState'],this[_0x3c2794(0x350)],this[_0x3c2794(0x4b3)],null,[],this['_awaitingChangeset'],[],this[_0x3c2794(0x1c3)]);this[_0x3c2794(0x1c6)]();const _0x33f291=this['_injector'][_0x3c2794(0x49c)](_0x5e3fa4[_0x3c2794(0x39b)],this[_0x3c2794(0x350)],this['type'],this[_0x3c2794(0x1c3)]);return _0x33f291['_updateLocalCache'](),_0x33f291;}[_0x2229a0(0x4b1)](_0xb19d61){var _0x568315=_0x2229a0;return this[_0x568315(0x527)](!!(_0xb19d61!=null&&_0xb19d61[_0x568315(0x2f7)]));}['onRemoteRetry'](_0x31e87c){var _0x3013ae=_0x2229a0;return this['_maxTotalRetryTimeout']>_0x428c3c?this[_0x3013ae(0x38d)]():(this['_resendTimer']=_0xfd43e4(this[_0x3013ae(0x52c)],{'timeout':this[_0x3013ae(0x52c)],'reqId':_0x31e87c[_0x3013ae(0x24d)]}),this[_0x3013ae(0x389)]=this[_0x3013ae(0x43c)][_0x3013ae(0x206)](({reqId:_0x27038b,timeout:_0x30d37a})=>{this['_resendWithTimeout'](_0x27038b,_0x30d37a);}),this);}[_0x2229a0(0x38d)](){var _0x3f51ca=_0x2229a0;return this[_0x3f51ca(0x4f7)](),this[_0x3f51ca(0x315)][_0x3f51ca(0x49c)](_0x5e3fa4[_0x3f51ca(0x24b)],this[_0x3f51ca(0x350)],this[_0x3f51ca(0x4b3)],this[_0x3f51ca(0x25c)],[],this[_0x3f51ca(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x11425a=_0x2229a0;this[_0x11425a(0x1c3)][_0x11425a(0x474)](this[_0x11425a(0x25c)]);}['_onConflict'](_0x33f279){var _0x3fd781=_0x2229a0;return this[_0x3fd781(0x4f7)](),this[_0x3fd781(0x315)][_0x3fd781(0x49c)](_0x5e3fa4[_0x3fd781(0x2bb)],this['unitID'],this[_0x3fd781(0x4b3)],this['_awaitingChangeset'],[],this[_0x3fd781(0x1c3)],_0x33f279);}[_0x2229a0(0x33a)](_0x395649,_0x31177f){var _0x129818=_0x2229a0,_0xafe8a0;_0x395649===((_0xafe8a0=this[_0x129818(0x25c)])==null?void 0x0:_0xafe8a0['reqId'])&&(this['resend'](),this[_0x129818(0x52c)]=_0x31177f===0x0?0x3e8:Math['min'](_0x31177f*0x2,_0x5f0507),this['_maxTotalRetryTimeout']+=this[_0x129818(0x52c)]);}['_clearScheduledTask'](){var _0x1fdfeb=_0x2229a0,_0x46315d;(_0x46315d=this[_0x1fdfeb(0x389)])==null||_0x46315d[_0x1fdfeb(0x415)](),this[_0x1fdfeb(0x52c)]=0x0,this[_0x1fdfeb(0x351)]=0x0;}},_0x5e3fa4[_0x2229a0(0x1b6)]=_0x563741([_0x2cc99c(0x4,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x5,_0x158513['Inject'](_0x35009e['RevisionService'])),_0x2cc99c(0x6,_0x158513['ICommandService']),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0x8,_0x35009e[_0x2229a0(0x446)]),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0xa,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x1b6)]),_0x5e3fa4[_0x2229a0(0x358)]=class extends _0xec761{constructor(_0x1c9786,_0x1fc2c1,_0x423429,_0x4cf90f,_0x4afb76,_0x581547,_0x366224,_0x237623,_0x18cffe,_0x3b7f63,_0x4bf2b2,_0xb662fd,_0x1afb7d){var _0x2ba15b=_0x2229a0;super(_0x1c9786,_0x1fc2c1,_0x423429,_0x4cf90f,_0x4afb76,_0x18cffe,_0xb662fd,_0x237623,_0x1afb7d),_0x4b59b5(this,_0x2ba15b(0x2e2),_0x2ba15b(0x260)),_0x4b59b5(this,_0x2ba15b(0x52c),0x0),_0x4b59b5(this,_0x2ba15b(0x351),0x0),_0x4b59b5(this,'_resendTimer'),_0x4b59b5(this,_0x2ba15b(0x389)),(this[_0x2ba15b(0x315)]=_0x366224,this[_0x2ba15b(0x501)]=_0x3b7f63,this['_transformService']=_0x4bf2b2,this[_0x2ba15b(0x38b)]=_0x1afb7d,_0x581547&&(this[_0x2ba15b(0x43c)]=_0x581547,this[_0x2ba15b(0x389)]=this[_0x2ba15b(0x43c)][_0x2ba15b(0x206)](({reqId:_0xfb882d,timeout:_0xef66ea})=>{this['_resendWithTimeout'](_0xfb882d,_0xef66ea);})));}['appendMutation'](_0x3aba3f){var _0x3e4910=_0x2229a0;return this[_0x3e4910(0x1ca)][_0x3e4910(0x4a3)](_0x3aba3f),this;}[_0x2229a0(0x4b9)](_0x1a042b){var _0x2c97c6=_0x2229a0;if(this[_0x2c97c6(0x259)](_0x1a042b))return this[_0x2c97c6(0x4f7)](),this[_0x2c97c6(0x315)][_0x2c97c6(0x49c)](_0x5e3fa4[_0x2c97c6(0x47a)],this[_0x2c97c6(0x350)],this[_0x2c97c6(0x4b3)],this[_0x2c97c6(0x25c)],this[_0x2c97c6(0x1ca)],null,[_0x1a042b],this[_0x2c97c6(0x1c3)]);try{const _0x5d602b=this[_0x2c97c6(0x431)][_0x2c97c6(0x231)]([_0x1a042b],[this['_awaitingChangeset']],!0x1);if(_0x35009e['isTransformChangesetsSuccess'](_0x5d602b)){const {c1Prime:_0x35b96b,c2Prime:_0x4e3733}=_0x5d602b,_0x1b3af1=this['_transformService'][_0x2c97c6(0x4ff)](_0x35b96b[0x0],this[_0x2c97c6(0x1ca)]);if(_0x35009e[_0x2c97c6(0x478)](_0x1b3af1)){const {c1Prime:_0x5a4d3c,m2Prime:_0x21b58f}=_0x1b3af1;return this['_executeRemoteChangeset'](_0x5a4d3c),_0x4e3733[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x2c97c6(0x4f7)](),this['_injector'][_0x2c97c6(0x49c)](_0x5e3fa4[_0x2c97c6(0x358)],this[_0x2c97c6(0x350)],this['type'],_0x4e3733[0x0],_0x21b58f,this[_0x2c97c6(0x1c3)],void 0x0);}throw _0x1b3af1[_0x2c97c6(0x508)];}throw _0x5d602b['error'];}catch(_0x1038a4){return this[_0x2c97c6(0x501)][_0x2c97c6(0x508)](_0x1038a4),this[_0x2c97c6(0x527)](!0x1);}}['onRemoteAck'](_0x459abb){var _0x506ab9=_0x2229a0;if(this[_0x506ab9(0x4f7)](),this[_0x506ab9(0x259)](_0x459abb))return this[_0x506ab9(0x315)]['createInstance'](_0x5e3fa4['FetchingMissState'],this[_0x506ab9(0x350)],this[_0x506ab9(0x4b3)],null,this[_0x506ab9(0x1ca)],this[_0x506ab9(0x25c)],[],this[_0x506ab9(0x1c3)]);this[_0x506ab9(0x1c6)]();const _0xa855f6=this['_injector'][_0x506ab9(0x49c)](_0x5e3fa4[_0x506ab9(0x2a8)],this[_0x506ab9(0x350)],this[_0x506ab9(0x4b3)],this[_0x506ab9(0x1ca)],this['_handler']);return _0xa855f6[_0x506ab9(0x221)](),_0xa855f6[_0x506ab9(0x2c0)](),_0xa855f6;}[_0x2229a0(0x4b1)](_0x412a55){var _0x52af23=_0x2229a0;return this[_0x52af23(0x527)](!!(_0x412a55!=null&&_0x412a55[_0x52af23(0x2f7)]));}[_0x2229a0(0x528)](_0xb92c0c){var _0x35ed5e=_0x2229a0;return this[_0x35ed5e(0x351)]>_0x428c3c?this[_0x35ed5e(0x38d)]():(this['_resendTimer']=_0xfd43e4(this[_0x35ed5e(0x52c)],{'timeout':this[_0x35ed5e(0x52c)],'reqId':_0xb92c0c['reqId']}),this[_0x35ed5e(0x389)]=this[_0x35ed5e(0x43c)][_0x35ed5e(0x206)](({reqId:_0x455bad,timeout:_0x54fb35})=>{this['_resendWithTimeout'](_0x455bad,_0x54fb35);}),this);}['toggleOffline'](){var _0x3cdecd=_0x2229a0;return this[_0x3cdecd(0x4f7)](),this[_0x3cdecd(0x315)][_0x3cdecd(0x49c)](_0x5e3fa4[_0x3cdecd(0x24b)],this[_0x3cdecd(0x350)],this[_0x3cdecd(0x4b3)],this['_awaitingChangeset'],this[_0x3cdecd(0x1ca)],this[_0x3cdecd(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x2ff984=_0x2229a0;this[_0x2ff984(0x1c3)][_0x2ff984(0x474)](this[_0x2ff984(0x25c)]);}['_onConflict'](_0x8b639d){var _0x136b8f=_0x2229a0;return this[_0x136b8f(0x4f7)](),this[_0x136b8f(0x315)][_0x136b8f(0x49c)](_0x5e3fa4['ConflictState'],this[_0x136b8f(0x350)],this[_0x136b8f(0x4b3)],null,this[_0x136b8f(0x1ca)],this[_0x136b8f(0x1c3)],_0x8b639d);}[_0x2229a0(0x33a)](_0x5f5074,_0x46303e){var _0x380016=_0x2229a0,_0x4043e4;_0x5f5074===((_0x4043e4=this[_0x380016(0x25c)])==null?void 0x0:_0x4043e4[_0x380016(0x24d)])&&(this[_0x380016(0x378)](),this[_0x380016(0x52c)]=_0x46303e===0x0?0x3e8:Math['min'](_0x46303e*0x2,_0x5f0507),this[_0x380016(0x351)]+=this[_0x380016(0x52c)]);}[_0x2229a0(0x4f7)](){var _0xb7c4f1=_0x2229a0,_0x4c9a0b;(_0x4c9a0b=this['_sender'])==null||_0x4c9a0b[_0xb7c4f1(0x415)](),this[_0xb7c4f1(0x52c)]=0x0,this[_0xb7c4f1(0x351)]=0x0;}},_0x5e3fa4[_0x2229a0(0x358)]=_0x563741([_0x2cc99c(0x6,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x7,_0x158513['Inject'](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x8,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0xa,_0x35009e[_0x2229a0(0x446)]),_0x2cc99c(0xb,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0xc,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x358)]),_0x5e3fa4[_0x2229a0(0x2bb)]=class extends _0xec761{constructor(_0xb49555,_0x13cbae,_0x399195,_0x1d5fd4,_0x175cd7,_0x1917d4=!0x1,_0x6d5c9f,_0x314e78,_0x2d6d29,_0x4164f3,_0x50fed4,_0x50d49d,_0x27fa4c){var _0x25b5e4=_0x2229a0;super(_0xb49555,_0x13cbae,_0x399195,_0x1d5fd4,_0x175cd7,_0x314e78,_0x2d6d29,_0x4164f3,_0x27fa4c),_0x4b59b5(this,_0x25b5e4(0x2e2),_0x25b5e4(0x3b5)),(this[_0x25b5e4(0x4f1)]=_0x1917d4,this[_0x25b5e4(0x4c1)]=_0x6d5c9f,this[_0x25b5e4(0x246)]=_0x50fed4,this[_0x25b5e4(0x388)]=_0x50d49d,this[_0x25b5e4(0x38b)]=_0x27fa4c,this['_showConflictNotification'](),this[_0x25b5e4(0x1b4)](),this[_0x25b5e4(0x46e)]());}[_0x2229a0(0x1e3)](){return this;}[_0x2229a0(0x4b9)](){return this;}['onRemoteAck'](){return this;}[_0x2229a0(0x4b1)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x49f7bd=_0x2229a0;throw new Error(_0x49f7bd(0x248));}[_0x2229a0(0x1b4)](){var _0x551a22=_0x2229a0,_0x1064b0;(_0x1064b0=this[_0x551a22(0x34a)])==null||_0x1064b0['updateOfflineData'](this[_0x551a22(0x350)],this['type'],null,[]);}[_0x2229a0(0x219)](){var _0x158cfd=_0x2229a0;this[_0x158cfd(0x4f1)]?this['_collaborationUIEventService'][_0x158cfd(0x4a6)]({'id':_0x306c72['PERMISSION_DENIED']}):this[_0x158cfd(0x388)][_0x158cfd(0x4a6)]({'id':_0x306c72[_0x158cfd(0x451)]});}[_0x2229a0(0x46e)](){var _0x579d3f=_0x2229a0;this[_0x579d3f(0x4c1)][_0x579d3f(0x534)](new _0x18f772['WorkbookEditablePermission'](this[_0x579d3f(0x350)])['id'],!0x1);}},_0x5e3fa4[_0x2229a0(0x2bb)]=_0x563741([_0x2cc99c(0x6,_0x158513[_0x2229a0(0x1c1)](_0x158513['IPermissionService'])),_0x2cc99c(0x7,_0x158513['ICommandService']),_0x2cc99c(0x8,_0x158513['IUndoRedoService']),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0xa,_0x158513[_0x2229a0(0x1c1)](_0x158513['LocaleService'])),_0x2cc99c(0xb,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x2cc99c(0xc,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x2bb)]),_0x5e3fa4[_0x2229a0(0x24b)]=class extends _0xec761{constructor(_0x7b68ce,_0x2f21b9,_0x4c3b27,_0x348b92,_0x2d23e9,_0x244042,_0x2e16de,_0x55ded8,_0x16a4d4,_0x16c11a){var _0x5ce7be=_0x2229a0;super(_0x7b68ce,_0x2f21b9,_0x4c3b27,_0x348b92,_0x2d23e9,_0x55ded8,_0x16a4d4,_0x2e16de,_0x16c11a),_0x4b59b5(this,_0x5ce7be(0x2e2),_0x5ce7be(0x4b5)),this[_0x5ce7be(0x315)]=_0x244042;}['appendMutation'](_0x3f14f3){var _0x176dfe=_0x2229a0;return this[_0x176dfe(0x1ca)][_0x176dfe(0x4a3)](_0x3f14f3),this['_updateLocalCache'](),this;}[_0x2229a0(0x4b9)](_0x295827){var _0x2f7ac4=_0x2229a0;throw new Error(_0x2f7ac4(0x323));}[_0x2229a0(0x406)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2229a0(0x4b1)](){var _0x110d0a=_0x2229a0;throw new Error(_0x110d0a(0x26c));}['onRemoteRetry'](){return this;}[_0x2229a0(0x38d)](){return this;}[_0x2229a0(0x229)](){var _0x41cc00=_0x2229a0;const {_injector:_0x1d4c98,_pendingMutations:_0x522e83,_awaitingChangeset:_0xe9eaeb,unitID:_0x5b8cd5,_handler:_0x214b4c,type:_0x4f3eb3}=this,_0x3cb6c7=_0x331482(_0x1d4c98,_0x5b8cd5,_0x4f3eb3,_0xe9eaeb,_0x522e83,_0x214b4c);return _0x3cb6c7 instanceof _0x5e3fa4[_0x41cc00(0x2a8)]?_0x3cb6c7['_schedule']():(_0x3cb6c7 instanceof _0x5e3fa4['AwaitingWithPendingState']||_0x3cb6c7 instanceof _0x5e3fa4['AwaitingState'])&&_0x3cb6c7[_0x41cc00(0x378)](),_0x3cb6c7;}[_0x2229a0(0x378)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x5e3fa4['OfflineState']=_0x563741([_0x2cc99c(0x5,_0x158513['Inject'](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x8,_0x158513['IUndoRedoService']),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x24b)]),_0x5e3fa4['FetchingMissState']=class extends _0xec761{constructor(_0x38e3d5,_0x2b79d5,_0x51ef1f,_0x209930,_0xb3eacc,_0x51ed75,_0x840260,_0x43b6bd,_0x5efbb7,_0xa429f4,_0x149a7d,_0x5705ad,_0x3cb224,_0x16be48){var _0x2a587c=_0x2229a0;super(_0x38e3d5,_0x2b79d5,_0x51ef1f,_0x209930,_0x840260,_0x149a7d,_0x5705ad,_0x5efbb7,_0x16be48),_0x4b59b5(this,'status',_0x2a587c(0x2c8)),(this['_acknowledgedAwaitingChangeset']=_0xb3eacc,this[_0x2a587c(0x3a1)]=_0x51ed75,this[_0x2a587c(0x315)]=_0x43b6bd,this[_0x2a587c(0x501)]=_0xa429f4,this[_0x2a587c(0x431)]=_0x3cb224,this[_0x2a587c(0x38b)]=_0x16be48);}['onMissedChangesetFetched'](_0xe46e04){var _0x2c050c=_0x2229a0;try{const _0x15184c=[..._0xe46e04,...this['_queuedRemoteChangesets']],_0x1b91f2=[this[_0x2c050c(0x25c)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0xa88136=>!!_0xa88136);let _0x3452ae,_0x1b6efa;if(_0x1b91f2[_0x2c050c(0x316)]){const _0x5df2b5=this[_0x2c050c(0x431)][_0x2c050c(0x231)](_0x15184c,_0x1b91f2,!0x1);if(!_0x35009e[_0x2c050c(0x23f)](_0x5df2b5))throw _0x5df2b5[_0x2c050c(0x508)];_0x3452ae=_0x5df2b5[_0x2c050c(0x2a7)],_0x1b6efa=_0x5df2b5['c2Prime'];}else _0x3452ae=_0x15184c,_0x1b6efa=[];let _0x1634b1=this[_0x2c050c(0x1ca)];_0x3452ae[_0x2c050c(0x45b)](_0x2c7f6d=>{var _0x26acc5=_0x2c050c;let _0x541bdd;if(_0x1634b1[_0x26acc5(0x316)]){const _0xbae1fe=this['_transformService'][_0x26acc5(0x4ff)](_0x2c7f6d,_0x1634b1);if(!_0x35009e[_0x26acc5(0x478)](_0xbae1fe))throw _0xbae1fe[_0x26acc5(0x508)];_0x541bdd=_0xbae1fe['c1Prime'],_0x1634b1=_0xbae1fe[_0x26acc5(0x41b)];}else _0x541bdd=_0x2c7f6d;this[_0x26acc5(0x1aa)](_0x541bdd);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x2c050c(0x25c)]&&_0x1b6efa[_0x2c050c(0x316)]&&(_0x1b6efa[0x0]['baseRev']=this[_0x2c050c(0x37d)]());let _0x13f717;if(this[_0x2c050c(0x25c)]&&_0x1634b1[_0x2c050c(0x316)]!==0x0)_0x13f717=this[_0x2c050c(0x315)][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x358)],this[_0x2c050c(0x350)],this[_0x2c050c(0x4b3)],_0x1b6efa[0x0],_0x1634b1,this[_0x2c050c(0x1c3)],void 0x0);else{if(this[_0x2c050c(0x25c)]&&_0x1634b1['length']===0x0)_0x1b6efa[0x0][_0x2c050c(0x3f2)]=this[_0x2c050c(0x37d)](),_0x13f717=this['_injector'][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x1b6)],this[_0x2c050c(0x350)],this['type'],_0x1b6efa[0x0],this[_0x2c050c(0x1c3)]);else{if(_0x1634b1[_0x2c050c(0x316)]!==0x0){const _0x129e40=this['_injector'][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x2a8)],this['unitID'],this[_0x2c050c(0x4b3)],_0x1634b1,this[_0x2c050c(0x1c3)]);_0x129e40[_0x2c050c(0x221)](),_0x13f717=_0x129e40;}else _0x13f717=this[_0x2c050c(0x315)]['createInstance'](_0x5e3fa4['SyncedState'],this[_0x2c050c(0x350)],this[_0x2c050c(0x4b3)],this['_handler']);}}return _0x13f717[_0x2c050c(0x2c0)](),_0x13f717;}catch(_0x37b0bb){return this[_0x2c050c(0x501)][_0x2c050c(0x508)](_0x2c050c(0x220),'failed\x20to\x20apply\x20missed\x20changesets!',_0x37b0bb),this['_injector'][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x2bb)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x2c050c(0x1ca)],this[_0x2c050c(0x1c3)],!0x1);}}[_0x2229a0(0x378)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2229a0(0x1e3)](_0x1a1690){var _0x4fdeae=_0x2229a0;return this['_pendingMutations'][_0x4fdeae(0x4a3)](_0x1a1690),this;}[_0x2229a0(0x4b9)](_0x212352){return this['_queuedRemoteChangesets']['push'](_0x212352),this;}['onRemoteAck'](_0x545fe5){var _0x3dee01=_0x2229a0;if(this[_0x3dee01(0x25c)])return this[_0x3dee01(0x531)]=this[_0x3dee01(0x25c)],this[_0x3dee01(0x25c)]=null,this;throw new Error(_0x3dee01(0x41a));}[_0x2229a0(0x4b1)](_0x19ca60){var _0x2a6e32=_0x2229a0;return this[_0x2a6e32(0x527)](!!(_0x19ca60!=null&&_0x19ca60[_0x2a6e32(0x2f7)]));}[_0x2229a0(0x528)](){return this;}[_0x2229a0(0x38d)](){var _0x4ad5b8=_0x2229a0;return this['_injector'][_0x4ad5b8(0x49c)](_0x5e3fa4['OfflineState'],this[_0x4ad5b8(0x350)],this['type'],this[_0x4ad5b8(0x25c)],this[_0x4ad5b8(0x1ca)],this[_0x4ad5b8(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x527)](_0x20ec4c){var _0x15741b=_0x2229a0;return this[_0x15741b(0x315)][_0x15741b(0x49c)](_0x5e3fa4[_0x15741b(0x2bb)],this[_0x15741b(0x350)],this['type'],this[_0x15741b(0x25c)],this[_0x15741b(0x1ca)],this[_0x15741b(0x1c3)],_0x20ec4c);}},_0x5e3fa4[_0x2229a0(0x47a)]=_0x563741([_0x2cc99c(0x7,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x8,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0xa,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0xb,_0x158513['IUndoRedoService']),_0x2cc99c(0xc,_0x35009e['ITransformService']),_0x2cc99c(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4['FetchingMissState']);function _0x331482(_0x122d18,_0x48c9e6,_0x5a01ae,_0x5ab6d1,_0x133e86,_0x49833b){var _0x5a2ee2=_0x2229a0;return _0x5ab6d1&&_0x133e86[_0x5a2ee2(0x316)]?_0x122d18[_0x5a2ee2(0x49c)](_0x5e3fa4[_0x5a2ee2(0x358)],_0x48c9e6,_0x5a01ae,_0x5ab6d1,_0x133e86,_0x49833b,void 0x0):_0x5ab6d1?_0x122d18['createInstance'](_0x5e3fa4[_0x5a2ee2(0x1b6)],_0x48c9e6,_0x5a01ae,_0x5ab6d1,_0x49833b):_0x133e86['length']?_0x122d18['createInstance'](_0x5e3fa4[_0x5a2ee2(0x2a8)],_0x48c9e6,_0x5a01ae,_0x133e86,_0x49833b):_0x122d18[_0x5a2ee2(0x49c)](_0x5e3fa4['SyncedState'],_0x48c9e6,_0x5a01ae,_0x49833b);}var _0x238d51=Object[_0x2229a0(0x330)],_0x23ca75=(_0x31d875,_0x5b8871,_0x270246,_0x1e8f49)=>{var _0x373a05=_0x2229a0;for(var _0x10bace=_0x1e8f49>0x1?void 0x0:_0x1e8f49?_0x238d51(_0x5b8871,_0x270246):_0x5b8871,_0xcf2813=_0x31d875[_0x373a05(0x316)]-0x1,_0x229f0e;_0xcf2813>=0x0;_0xcf2813--)(_0x229f0e=_0x31d875[_0xcf2813])&&(_0x10bace=_0x229f0e(_0x10bace)||_0x10bace);return _0x10bace;},_0x48b40d=(_0x3bd9ca,_0x2b2513)=>(_0x50cda2,_0x118a3d)=>_0x2b2513(_0x50cda2,_0x118a3d,_0x3bd9ca);_0x5e3fa4[_0x2229a0(0x2ec)]=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x58c936,_0x57f9d3,_0x5c88e1,_0x3e5edd,_0x19a596,_0x6b0747,_0x459fd,_0x37394b,_0x3e2faf,_0xb9a989,_0x5ce21f,_0x2a5a2c,_0xe0d8b9,_0x49928d){var _0x302491=_0x2229a0;super(),_0x4b59b5(this,'_state$',new _0x32f9ef['BehaviorSubject'](null)),_0x4b59b5(this,'state$',this[_0x302491(0x49e)][_0x302491(0x1d1)]()),_0x4b59b5(this,_0x302491(0x4b8)),_0x4b59b5(this,_0x302491(0x1d7),!0x1),_0x4b59b5(this,_0x302491(0x1d2),''),_0x4b59b5(this,_0x302491(0x325),0x0),_0x4b59b5(this,_0x302491(0x2a3),this[_0x302491(0x3d3)]['pipe'](_0x32f9ef[_0x302491(0x1d8)](_0x4084f2=>_0x4084f2?_0x4084f2[_0x302491(0x2e2)]:_0x3eee43['OFFLINE']),_0x32f9ef[_0x302491(0x1bf)](0x1))),_0x4b59b5(this,_0x302491(0x466),!0x1),_0x4b59b5(this,_0x302491(0x536),[]),(this[_0x302491(0x350)]=_0x58c936,this['session']=_0x57f9d3,this[_0x302491(0x1d4)]=_0x5c88e1,this[_0x302491(0x315)]=_0x3e5edd,this['_compressMutationService']=_0x19a596,this[_0x302491(0x246)]=_0x6b0747,this[_0x302491(0x34c)]=_0x459fd,this[_0x302491(0x282)]=_0x37394b,this[_0x302491(0x1ae)]=_0x3e2faf,this[_0x302491(0x501)]=_0xb9a989,this[_0x302491(0x197)]=_0x5ce21f,this[_0x302491(0x4c1)]=_0x2a5a2c,this[_0x302491(0x42a)]=_0xe0d8b9,this['_localCacheService']=_0x49928d);}get['state'](){var _0x2711a8=_0x2229a0;return this[_0x2711a8(0x4b8)];}async[_0x2229a0(0x222)](){var _0x1d587f=_0x2229a0;if(this[_0x1d587f(0x4c0)])throw new Error(_0x1d587f(0x4b4));await this[_0x1d587f(0x1db)]();}[_0x2229a0(0x3bb)](){var _0xd790ed=_0x2229a0;return this[_0xd790ed(0x1d7)]=!0x0,_0x158513[_0xd790ed(0x2e4)](()=>{var _0xcdfea2=_0xd790ed;this[_0xcdfea2(0x1d7)]=!0x1,this[_0xcdfea2(0x356)]();});}[_0x2229a0(0x35a)](_0x153321){var _0x2890bf=_0x2229a0;this[_0x2890bf(0x212)](_0x153321);}[_0x2229a0(0x1e5)](_0x18d120){var _0x33cdce=_0x2229a0;this[_0x33cdce(0x4b8)]=_0x18d120,this[_0x33cdce(0x49e)]['next'](_0x18d120);}async[_0x2229a0(0x1db)](){var _0x99d0e9=_0x2229a0,_0x2a3c23;this['_updateState'](await this[_0x99d0e9(0x495)]()),this[_0x99d0e9(0x42a)]&&((_0x2a3c23=this[_0x99d0e9(0x42a)])==null||_0x2a3c23[_0x99d0e9(0x416)](this[_0x99d0e9(0x350)]),this['disposeWithMe'](this[_0x99d0e9(0x42a)][_0x99d0e9(0x31a)](this[_0x99d0e9(0x350)])[_0x99d0e9(0x206)](_0x20bdea=>{var _0x3624bb=_0x99d0e9;this['_logService'][_0x3624bb(0x513)](_0x3624bb(0x40b),_0x3624bb(0x414),_0x20bdea),_0x20bdea===_0x309040[_0x3624bb(0x498)]?(this[_0x3624bb(0x282)][_0x3624bb(0x4a6)]({'id':_0x306c72['OTHER_CLIENT_EDITING']}),this[_0x3624bb(0x4c1)][_0x3624bb(0x534)](new _0x18f772[(_0x3624bb(0x467))](this[_0x3624bb(0x350)])['id'],!0x1),this[_0x3624bb(0x4c1)][_0x3624bb(0x4cd)](!0x1)):(this[_0x3624bb(0x4c1)][_0x3624bb(0x534)](new _0x18f772['WorkbookEditablePermission'](this[_0x3624bb(0x350)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x515cf2=!0x1;return this['disposeWithMe'](this[_0x99d0e9(0x2f3)][_0x99d0e9(0x352)][_0x99d0e9(0x206)](_0x5ed50c=>{var _0x1a9b8e=_0x99d0e9;_0x5ed50c===_0x366b35['ONLINE']?this['_toggleOnline'](_0x515cf2):_0x5ed50c===_0x366b35[_0x1a9b8e(0x3d1)]&&(_0x515cf2=!0x0,this[_0x1a9b8e(0x3a7)]());})),this['disposeWithMe'](this[_0x99d0e9(0x2f3)]['event$'][_0x99d0e9(0x206)](_0x4e3138=>{var _0x558ac9=_0x99d0e9;try{switch(_0x4e3138[_0x558ac9(0x40a)]){case _0x35009e[_0x558ac9(0x499)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x35009e[_0x558ac9(0x4e0)](_0x4e3138[_0x558ac9(0x214)]));break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x24e)]:{this['_onRemoteACK'](_0x4e3138[_0x558ac9(0x214)]);break;}case _0x35009e[_0x558ac9(0x499)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x2c4)]:{this['_onRemoteRetry'](_0x4e3138[_0x558ac9(0x214)]);break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x1de)]:{this['_onFetchMissResult'](_0x4e3138['data'][_0x558ac9(0x25e)][_0x558ac9(0x1d8)](_0x4a4714=>_0x35009e[_0x558ac9(0x4e0)](_0x4a4714)));break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x391)]:{this[_0x558ac9(0x37a)]({'isPermissionRej':!0x0});break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x397)]:break;}}catch(_0x1ed521){throw console[_0x558ac9(0x508)]('Error\x20on\x20receiving\x20event',_0x1ed521),_0x1ed521;}})),this[_0x99d0e9(0x4b8)];}[_0x2229a0(0x4eb)](){var _0x1c47b8=_0x2229a0;this[_0x1c47b8(0x466)]=!0x1;}[_0x2229a0(0x4a0)](){var _0x5703b7=_0x2229a0;if(this['_transitionLocked'])throw new Error(_0x5703b7(0x504));this['_transitionLocked']=!0x0;}[_0x2229a0(0x212)](_0x167b79){var _0x4bbf81=_0x2229a0;this[_0x4bbf81(0x4a0)](),this['_updateState'](this['_state'][_0x4bbf81(0x1e3)](_0x167b79)),this[_0x4bbf81(0x4eb)]();}[_0x2229a0(0x384)](_0x11345e){var _0x345e65=_0x2229a0;if(!(_0x11345e['revision']<=this[_0x345e65(0x34c)][_0x345e65(0x2b4)](this[_0x345e65(0x350)]))){if(this[_0x345e65(0x1d7)]){this['_remoteChangesetQueue'][_0x345e65(0x4a3)](_0x11345e);return;}this[_0x345e65(0x51d)](_0x11345e);}}[_0x2229a0(0x356)](){var _0x259b9c=_0x2229a0;this[_0x259b9c(0x536)][_0x259b9c(0x45b)](_0x4a80b7=>this['_applyRemoteChangeset'](_0x4a80b7)),this[_0x259b9c(0x536)]=[];}[_0x2229a0(0x51d)](_0x2bcbfa){var _0x3db7aa=_0x2229a0;const _0x508001=this[_0x3db7aa(0x2fd)][_0x3db7aa(0x2a1)][_0x3db7aa(0x50e)](this[_0x3db7aa(0x2fd)]['interceptor'][_0x3db7aa(0x4af)]()['COMPRESS_MUTATION_APPLY'])(_0x2bcbfa[_0x3db7aa(0x3b3)],null)||_0x2bcbfa[_0x3db7aa(0x3b3)],_0x5e2b02={..._0x2bcbfa,'mutations':_0x508001};this[_0x3db7aa(0x4a0)](),this[_0x3db7aa(0x1e5)](this[_0x3db7aa(0x4b8)]['onRemoteChangeset'](_0x5e2b02)),this[_0x3db7aa(0x4eb)]();}[_0x2229a0(0x46b)](_0x43c8b4){var _0x5ca10e=_0x2229a0;this[_0x5ca10e(0x4a0)](),this[_0x5ca10e(0x1e5)](this[_0x5ca10e(0x4b8)][_0x5ca10e(0x406)](_0x43c8b4)),this[_0x5ca10e(0x4eb)]();}['_onRemoteRejected'](_0xde70eb){var _0x4b5acc=_0x2229a0;this[_0x4b5acc(0x4a0)](),this['_updateState'](this[_0x4b5acc(0x4b8)][_0x4b5acc(0x4b1)](_0xde70eb)),this[_0x4b5acc(0x4eb)]();}[_0x2229a0(0x456)](_0x29538d){var _0x189669=_0x2229a0;this['_lockTransition'](),this['_updateState'](this[_0x189669(0x4b8)]['onRemoteRetry'](_0x29538d)),this[_0x189669(0x4eb)]();}[_0x2229a0(0x277)](_0x2ca4e8){var _0x3dea63=_0x2229a0;if(!(this[_0x3dea63(0x4b8)]instanceof _0x5e3fa4[_0x3dea63(0x47a)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4c7247=_0x2ca4e8[_0x3dea63(0x1d8)](_0x1aa2a5=>{var _0x225c1c=_0x3dea63;const _0x234d44=this['_compressMutationService'][_0x225c1c(0x2a1)][_0x225c1c(0x50e)](this[_0x225c1c(0x2fd)][_0x225c1c(0x2a1)][_0x225c1c(0x4af)]()['COMPRESS_MUTATION_APPLY'])(_0x1aa2a5[_0x225c1c(0x3b3)],null)||_0x1aa2a5[_0x225c1c(0x3b3)];return{..._0x1aa2a5,'mutations':_0x234d44};});this[_0x3dea63(0x4a0)](),this['_updateState'](this[_0x3dea63(0x4b8)][_0x3dea63(0x515)](_0x4c7247)),this[_0x3dea63(0x4eb)]();}[_0x2229a0(0x3a7)](){var _0x5c15b4=_0x2229a0;this['_lockTransition'](),this[_0x5c15b4(0x1e5)](this['_state']['toggleOffline']()),this[_0x5c15b4(0x4eb)]();}[_0x2229a0(0x21e)](_0x1437ae=!0x1){var _0x18ae62=_0x2229a0;this[_0x18ae62(0x4a0)](),this[_0x18ae62(0x1e5)](this['_state'][_0x18ae62(0x229)]()),this['_unlockTransition']();const _0x45cb93=this['_state'];_0x1437ae&&_0x45cb93 instanceof _0x5e3fa4[_0x18ae62(0x39b)]&&(this[_0x18ae62(0x4a0)](),this[_0x18ae62(0x1e5)](_0x45cb93[_0x18ae62(0x291)]()),this[_0x18ae62(0x4eb)]());}async[_0x2229a0(0x495)](){return new Promise(_0x2da805=>{var _0x356f77=_0x573a;this[_0x356f77(0x2f3)][_0x356f77(0x352)]['pipe'](_0x32f9ef[_0x356f77(0x23b)](0x1))[_0x356f77(0x206)](async _0x1de28f=>{var _0x5d66d1=_0x356f77;_0x2da805(await this[_0x5d66d1(0x284)](_0x1de28f===_0x366b35['ONLINE']));});});}[_0x2229a0(0x283)](){var _0x306214=_0x2229a0;const _0x1c320c=this[_0x306214(0x350)];return{'onStateChange':(_0x523c7c,_0x1911e8)=>{var _0x1d092e=_0x306214;if(_0x523c7c!==this['_state'])throw new Error(_0x1d092e(0x516)+_0x523c7c[_0x1d092e(0x2e2)]+_0x1d092e(0x20b)+_0x1911e8['status']+'\x0aCurrent:\x20'+this[_0x1d092e(0x4b8)]['status']);this[_0x1d092e(0x1e5)](_0x1911e8);},'onSendChangeset':_0x37890a=>{var _0x757948=_0x306214;_0x37890a[_0x757948(0x1da)]||(_0x37890a[_0x757948(0x1da)]=this[_0x757948(0x1d2)],_0x37890a['reqId']=++this[_0x757948(0x325)]);const _0x22a16a={'eventID':_0x35009e['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x37890a[_0x757948(0x350)],'unitType':this['_type'],'changeset':_0x37890a,'memberID':this[_0x757948(0x2f3)][_0x757948(0x1e7)]()}};this['session']['send'](_0x22a16a,this[_0x757948(0x350)]);},'onMissingChangesets':({from:_0x3734e4,to:_0x4ce987})=>{var _0x54be32=_0x306214;this[_0x54be32(0x501)][_0x54be32(0x513)](_0x54be32(0x40b),_0x54be32(0x339)+_0x3734e4+_0x54be32(0x301)+_0x4ce987);const _0x190a5c={'eventID':_0x35009e[_0x54be32(0x499)][_0x54be32(0x503)],'data':{'unitID':_0x1c320c,'unitType':this[_0x54be32(0x1d4)],'from':_0x3734e4,'to':_0x4ce987}};this[_0x54be32(0x2f3)][_0x54be32(0x535)](_0x190a5c,this[_0x54be32(0x350)]);}};}async['_createInitialStateImpl'](_0x580b0d){var _0xca5b8f=_0x2229a0,_0x5c7f67,_0x42846d,_0x29bcf2;const _0x2c01a2=await((_0x5c7f67=this[_0xca5b8f(0x34a)])==null?void 0x0:_0x5c7f67['loadOfflineData'](this['unitID'])),_0x1d2958=(_0x42846d=_0x2c01a2==null?void 0x0:_0x2c01a2[_0xca5b8f(0x3b3)])!=null?_0x42846d:[],_0x42a700=(_0x29bcf2=_0x2c01a2==null?void 0x0:_0x2c01a2[_0xca5b8f(0x1c2)])!=null?_0x29bcf2:null,_0x48f1e0=!!(_0x42a700!=null&&_0x42a700[_0xca5b8f(0x1da)])&&!!(_0x42a700!=null&&_0x42a700[_0xca5b8f(0x24d)]);this[_0xca5b8f(0x1d2)]=_0x48f1e0?_0x42a700['sid']:_0x35009e[_0xca5b8f(0x3d0)](),this[_0xca5b8f(0x325)]=_0x48f1e0?_0x42a700[_0xca5b8f(0x24d)]:0x0;const _0x25b9f5=this['unitID'];try{this[_0xca5b8f(0x31c)](_0x42a700,_0x1d2958);}catch(_0x37ace2){this[_0xca5b8f(0x501)][_0xca5b8f(0x508)](_0x37ace2);}const _0x125856=this['_createHandler']();if(_0x580b0d){const _0x45ee74=_0x331482(this[_0xca5b8f(0x315)],_0x25b9f5,this[_0xca5b8f(0x1d4)],_0x42a700,_0x1d2958,_0x125856);return _0x45ee74 instanceof _0x5e3fa4['PendingState']?_0x45ee74[_0xca5b8f(0x221)]():(_0x45ee74 instanceof _0x5e3fa4[_0xca5b8f(0x358)]||_0x45ee74 instanceof _0x5e3fa4[_0xca5b8f(0x1b6)])&&_0x45ee74[_0xca5b8f(0x378)](),_0x45ee74;}return this[_0xca5b8f(0x315)][_0xca5b8f(0x49c)](_0x5e3fa4[_0xca5b8f(0x24b)],_0x25b9f5,this[_0xca5b8f(0x1d4)],_0x42a700,_0x1d2958,_0x125856);}[_0x2229a0(0x31c)](_0x32c3a9,_0x3983ec){var _0x5f321b=_0x2229a0,_0xccfb97,_0x16aaeb;const _0x340e6f=this['_compressMutationService'][_0x5f321b(0x2a1)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5f321b(0x2a1)][_0x5f321b(0x4af)]()[_0x5f321b(0x2b9)]);(_0xccfb97=_0x340e6f((_0x32c3a9==null?void 0x0:_0x32c3a9[_0x5f321b(0x3b3)])||[],null))==null||_0xccfb97['forEach'](_0x19b7d2=>this['_commandService'][_0x5f321b(0x3df)](_0x19b7d2['id'],_0x19b7d2[_0x5f321b(0x2df)])),(_0x16aaeb=_0x340e6f(_0x3983ec||[],null))==null||_0x16aaeb[_0x5f321b(0x45b)](_0x584538=>this[_0x5f321b(0x197)][_0x5f321b(0x3df)](_0x584538['id'],_0x584538[_0x5f321b(0x2df)]));}},_0x5e3fa4[_0x2229a0(0x2ec)]=_0x23ca75([_0x48b40d(0x3,_0x158513[_0x2229a0(0x1c1)](_0x158513['Injector'])),_0x48b40d(0x4,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x1d3)])),_0x48b40d(0x5,_0x158513[_0x2229a0(0x1c1)](_0x158513['LocaleService'])),_0x48b40d(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e['RevisionService'])),_0x48b40d(0x7,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x48b40d(0x8,_0x158513[_0x2229a0(0x4ad)]),_0x48b40d(0x9,_0x158513['ILogService']),_0x48b40d(0xa,_0x158513[_0x2229a0(0x4e3)]),_0x48b40d(0xb,_0x158513['IPermissionService']),_0x48b40d(0xc,_0x158513[_0x2229a0(0x224)](_0x25ea7f)),_0x48b40d(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x2ec)]),_0x5e3fa4[_0x2229a0(0x1e0)]=class extends _0x5e3fa4['CollaborationEntity']{constructor(_0x563e47,_0x5eb17f,_0x509a95,_0x367233,_0x189e88,_0xdd030d,_0x2c6dc9,_0x11d248,_0x23c60a,_0x9c4f84,_0x1efe89,_0x5747cf,_0x4a55b0,_0xf69068){var _0x11eb4d=_0x2229a0;super(_0x563e47,_0x509a95,_0x5eb17f,_0x367233,_0x189e88,_0xdd030d,_0x2c6dc9,_0x11d248,_0x23c60a,_0x9c4f84,_0x1efe89,_0x5747cf,_0x4a55b0,_0xf69068),_0x4b59b5(this,'_handlerCallback',null),(this['unitID']=_0x563e47,this[_0x11eb4d(0x4b3)]=_0x5eb17f);}[_0x2229a0(0x322)](_0xa673ec){var _0x434fd4=_0x2229a0;this[_0x434fd4(0x3a2)]=_0xa673ec;}['dispose'](){var _0x2c63d5=_0x2229a0;this[_0x2c63d5(0x3a2)]=null,super[_0x2c63d5(0x484)]();}['_createHandler'](){var _0x40dd7d=_0x2229a0;const _0x52bd51=super[_0x40dd7d(0x283)]();return _0x52bd51[_0x40dd7d(0x1fc)]=_0x40de3c=>{var _0x357fdd=_0x40dd7d,_0x47ad27,_0x10c368;return(_0x10c368=(_0x47ad27=this[_0x357fdd(0x3a2)])==null?void 0x0:_0x47ad27[_0x357fdd(0x1fc)])==null?void 0x0:_0x10c368[_0x357fdd(0x2d1)](_0x47ad27,_0x40de3c);},_0x52bd51[_0x40dd7d(0x44e)]=_0x195849=>{var _0x237f4e=_0x40dd7d,_0x2833ea,_0x2106e3;return(_0x2106e3=(_0x2833ea=this[_0x237f4e(0x3a2)])==null?void 0x0:_0x2833ea[_0x237f4e(0x44e)])==null?void 0x0:_0x2106e3['call'](_0x2833ea,_0x195849);},_0x52bd51['onTransformSelections']=_0x5b1913=>{var _0x5aa4cf=_0x40dd7d,_0x4c09c0,_0x246a75;return(_0x246a75=(_0x4c09c0=this['_handlerCallback'])==null?void 0x0:_0x4c09c0[_0x5aa4cf(0x3eb)])==null?void 0x0:_0x246a75['call'](_0x4c09c0,_0x5b1913);},_0x52bd51['onSyncEditingCollabCursor']=_0x18a17f=>{var _0x409d73=_0x40dd7d,_0x1de672,_0x584dd6;return(_0x584dd6=(_0x1de672=this[_0x409d73(0x3a2)])==null?void 0x0:_0x1de672['onSyncEditingCollabCursor'])==null?void 0x0:_0x584dd6[_0x409d73(0x2d1)](_0x1de672,_0x18a17f);},_0x52bd51[_0x40dd7d(0x473)]=_0x3bcc23=>{var _0x320231=_0x40dd7d,_0xa59418,_0x2e3da8,_0x2878fb;if(!((_0xa59418=this[_0x320231(0x3a2)])!=null&&_0xa59418['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2878fb=(_0x2e3da8=this[_0x320231(0x3a2)])==null?void 0x0:_0x2e3da8['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2878fb[_0x320231(0x2d1)](_0x2e3da8,_0x3bcc23);},_0x52bd51[_0x40dd7d(0x449)]=_0x4e3e82=>{var _0x2c4091=_0x40dd7d,_0x94ea8c,_0x4090f9,_0x4b6927;if(!((_0x94ea8c=this[_0x2c4091(0x3a2)])!=null&&_0x94ea8c[_0x2c4091(0x449)]))throw new Error(_0x2c4091(0x3e5));return(_0x4b6927=(_0x4090f9=this[_0x2c4091(0x3a2)])==null?void 0x0:_0x4090f9['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4b6927[_0x2c4091(0x2d1)](_0x4090f9,_0x4e3e82);},_0x52bd51;}async[_0x2229a0(0x1db)](){var _0x54427f=_0x2229a0;const _0x325a65=await super[_0x54427f(0x1db)]();return this['disposeWithMe'](this[_0x54427f(0x197)][_0x54427f(0x1bd)]((_0x48d8d4,_0x4a8ed3)=>{var _0x2409e9=_0x54427f;if(_0x48d8d4[_0x2409e9(0x4b3)]!==_0x158513[_0x2409e9(0x3b8)][_0x2409e9(0x4bc)]||_0x4a8ed3!=null&&_0x4a8ed3[_0x2409e9(0x334)]||_0x4a8ed3!=null&&_0x4a8ed3['onlyLocal']||_0x48d8d4['id']===_0xc7e141[_0x2409e9(0x4f9)]['id'])return;const _0x25c283=_0x48d8d4[_0x2409e9(0x2df)];if((_0x25c283==null?void 0x0:_0x25c283[_0x2409e9(0x506)])!==this[_0x2409e9(0x350)])return;const _0x5d5e7c=_0x48d8d4,_0x431e39=this[_0x2409e9(0x2fd)]['interceptor'][_0x2409e9(0x50e)](this[_0x2409e9(0x2fd)][_0x2409e9(0x2a1)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5d5e7c],this[_0x2409e9(0x1ae)])||[_0x5d5e7c];this[_0x2409e9(0x212)](_0x431e39[0x0]);})),_0x325a65;}},_0x5e3fa4['DocCollaborationEntity']=_0x23ca75([_0x48b40d(0x3,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x48b40d(0x4,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x1d3)])),_0x48b40d(0x5,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x402)])),_0x48b40d(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e['RevisionService'])),_0x48b40d(0x7,_0x158513['Inject'](_0x1a9793)),_0x48b40d(0x8,_0x158513['IUniverInstanceService']),_0x48b40d(0x9,_0x158513['ILogService']),_0x48b40d(0xa,_0x158513['ICommandService']),_0x48b40d(0xb,_0x158513[_0x2229a0(0x4bd)]),_0x48b40d(0xc,_0x158513[_0x2229a0(0x224)](_0x25ea7f)),_0x48b40d(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x1e0)]),_0x5e3fa4[_0x2229a0(0x196)]=class extends _0x5e3fa4[_0x2229a0(0x2ec)]{constructor(_0x41fe30,_0x330ca9,_0x759d66,_0x425602,_0xae613a,_0xb8d4c8,_0x185c3f,_0x2c2230,_0x55ef3a,_0x14a862,_0x3b1887,_0x136b70,_0x501b7f,_0x13d224,_0x5113ef){var _0x541560=_0x2229a0;super(_0x41fe30,_0x759d66,_0x330ca9,_0x425602,_0xae613a,_0xb8d4c8,_0x185c3f,_0x55ef3a,_0x14a862,_0x3b1887,_0x136b70,_0x501b7f,_0x13d224,_0x5113ef),this[_0x541560(0x350)]=_0x41fe30,this[_0x541560(0x4b3)]=_0x330ca9,this['_sheetTransformSelectionsService']=_0x2c2230;}[_0x2229a0(0x283)](){var _0xc3889c=_0x2229a0;const _0x54a9e4=super[_0xc3889c(0x283)]();return _0x54a9e4['onTransformSelections']=_0x6620e5=>this[_0xc3889c(0x49a)][_0xc3889c(0x1eb)](_0x6620e5),_0x54a9e4;}async['_init'](){var _0x229b62=_0x2229a0;const _0xf8305b=await super['_init']();return this[_0x229b62(0x2a6)](this[_0x229b62(0x197)]['onMutationExecutedForCollab']((_0x3e97fb,_0x580e89)=>{var _0x50acdc=_0x229b62;if(_0x3e97fb['type']!==_0x158513[_0x50acdc(0x3b8)][_0x50acdc(0x4bc)]||_0x580e89!=null&&_0x580e89[_0x50acdc(0x334)]||_0x580e89!=null&&_0x580e89[_0x50acdc(0x447)])return;const _0xc58e3a=_0x3e97fb[_0x50acdc(0x2df)];if((_0xc58e3a==null?void 0x0:_0xc58e3a[_0x50acdc(0x506)])!==this[_0x50acdc(0x350)])return;const _0x14d5ad=_0x3e97fb,_0x2cd936=this[_0x50acdc(0x2fd)][_0x50acdc(0x2a1)]['fetchThroughInterceptors'](this[_0x50acdc(0x2fd)][_0x50acdc(0x2a1)][_0x50acdc(0x4af)]()[_0x50acdc(0x31b)])([_0x14d5ad],this[_0x50acdc(0x1ae)])||[_0x14d5ad];this[_0x50acdc(0x212)](_0x2cd936[0x0]);})),_0xf8305b;}},_0x5e3fa4[_0x2229a0(0x196)]=_0x23ca75([_0x48b40d(0x3,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x48b40d(0x4,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x1d3)])),_0x48b40d(0x5,_0x158513['Inject'](_0x158513[_0x2229a0(0x402)])),_0x48b40d(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x48b40d(0x7,_0x158513[_0x2229a0(0x1c1)](_0x5e3fa4[_0x2229a0(0x3f3)])),_0x48b40d(0x8,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x48b40d(0x9,_0x158513['IUniverInstanceService']),_0x48b40d(0xa,_0x158513[_0x2229a0(0x2b8)]),_0x48b40d(0xb,_0x158513[_0x2229a0(0x4e3)]),_0x48b40d(0xc,_0x158513[_0x2229a0(0x4bd)]),_0x48b40d(0xd,_0x158513[_0x2229a0(0x224)](_0x25ea7f)),_0x48b40d(0xe,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x196)]);const _0x215e06=_0x158513[_0x2229a0(0x25b)](_0x2229a0(0x1cf));function _0x9e4075(_0x2fa23c){var _0x2dc53a=_0x2229a0,_0x3b920a,_0x159f88,_0x124df8,_0x1a03ab,_0x25bd25;const _0xa3dee9=_0x2fa23c['data'],_0x415225=JSON[_0x2dc53a(0x34b)](_0xa3dee9);switch(_0x415225[_0x2dc53a(0x366)]){case _0x5db895['HEARTBEAT']:case _0x5db895['HELLO']:{const _0x328d90=_0x415225[_0x2dc53a(0x377)];return{..._0x415225,'data':_0x328d90,'cmd':_0x415225['cmd']};}case _0x5db895[_0x2dc53a(0x2e8)]:{const _0x3cc75c=_0x415225[_0x2dc53a(0x26f)];return{..._0x415225,'data':_0x3cc75c,'cmd':_0x415225[_0x2dc53a(0x366)]};}case _0x5db895[_0x2dc53a(0x365)]:{const _0x1f1055=_0x415225[_0x2dc53a(0x2ba)];switch(_0x1f1055['eventID']){case _0x35009e['CollaborationEvent'][_0x2dc53a(0x391)]:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x3b920a=_0x1f1055[_0x2dc53a(0x32a)])==null?void 0x0:_0x3b920a['cs']},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)]['CHANGESET_ACK']:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x159f88=_0x1f1055[_0x2dc53a(0x2b6)])==null?void 0x0:_0x159f88['cs']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x124df8=_0x1f1055['newCsEvent'])==null?void 0x0:_0x124df8['cs']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x2f1)]:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x1a03ab=_0x1f1055['csRejEvent'])==null?void 0x0:_0x1a03ab['cs']},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x2c4)]:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x25bd25=_0x1f1055[_0x2dc53a(0x216)])==null?void 0x0:_0x25bd25['cs']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e['CollaborationEvent'][_0x2dc53a(0x30d)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x243)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x4cf)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x4d5)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x500)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x30e)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x4e4)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x28c)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x3f6)]:case _0x35009e[_0x2dc53a(0x499)]['LIVESHARE_OPERATION']:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055['liveShareOperation']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x24c)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x28c)]},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)]['MSG_FOR_ERROR']:return{..._0x415225,'data':_0x1f1055,'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)]['COMMENT_UPDATE']:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055['commentUpdateEvent']},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x35c)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x52f)]},'cmd':_0x415225['cmd']};case _0x35009e['CollaborationEvent'][_0x2dc53a(0x2ff)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x424)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e['CollaborationEvent'][_0x2dc53a(0x397)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x355)]},'cmd':_0x415225[_0x2dc53a(0x366)]};default:return _0x415225;}}default:return _0x415225;}}function _0xea9c25(_0x4b3261){var _0x1342ba=_0x2229a0;switch(_0x4b3261[_0x1342ba(0x366)]){case _0x5db895['HEARTBEAT']:case _0x5db895['HELLO']:return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261[_0x1342ba(0x300)]});case _0x5db895[_0x1342ba(0x433)]:{let _0x1bc114;switch(_0x4b3261['data']['eventID']){case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x30d)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x30d)],'updateCursorEvent':_0x4b3261['data'][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)]['USERS_LEAVE']:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)]['USERS_LEAVE'],'leaveEvent':_0x4b3261[_0x1342ba(0x214)][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4cf)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4cf)],'joinEvent':_0x4b3261['data']['data']};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4e4)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4e4)],'liveShareNewHost':_0x4b3261['data'][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x3dc)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x3dc)],'liveShareOperation':_0x4b3261[_0x1342ba(0x214)]['data']};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x24c)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x24c)],'liveShareTerminate':_0x4b3261[_0x1342ba(0x214)][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x2d5)]:{_0x1bc114={'eventID':_0x35009e['CollaborationEvent'][_0x1342ba(0x2d5)],'liveShareRequestHost':_0x4b3261[_0x1342ba(0x214)][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1bc114={'eventID':_0x35009e['CollaborationEvent'][_0x1342ba(0x3f6)]};break;}default:_0x1bc114={'eventID':_0x4b3261[_0x1342ba(0x214)]['eventID']};}return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261[_0x1342ba(0x300)],'collaMsg':_0x1bc114});}case _0x5db895[_0x1342ba(0x2e8)]:return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261['routeKey'],'joinReq':_0x4b3261[_0x1342ba(0x214)]});case _0x5db895[_0x1342ba(0x364)]:return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261[_0x1342ba(0x300)],'leaveReq':_0x4b3261[_0x1342ba(0x214)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x3687ad=Object[_0x2229a0(0x330)],_0x2c3026=(_0x4bb9e7,_0x17272b,_0x449fce,_0x3d6684)=>{var _0x1782f5=_0x2229a0;for(var _0x1ff327=_0x3d6684>0x1?void 0x0:_0x3d6684?_0x3687ad(_0x17272b,_0x449fce):_0x17272b,_0x5f4029=_0x4bb9e7[_0x1782f5(0x316)]-0x1,_0x4219b0;_0x5f4029>=0x0;_0x5f4029--)(_0x4219b0=_0x4bb9e7[_0x5f4029])&&(_0x1ff327=_0x4219b0(_0x1ff327)||_0x1ff327);return _0x1ff327;},_0x383668=(_0x577159,_0x31d3a7)=>(_0x125a72,_0x2f17b2)=>_0x31d3a7(_0x125a72,_0x2f17b2,_0x577159);const _0xd4806f=_0x158513['createIdentifier']('univer-pro.collaboration-client-socket-service');function _0x2b79eb(_0x2d72ac,_0x5f2eac,_0x564e4f){var _0x41fe6b=_0x2229a0;return _0x2d72ac+'/'+_0x5f2eac+_0x41fe6b(0x4f6)+_0x564e4f+_0x41fe6b(0x2d8);}_0x5e3fa4[_0x2229a0(0x1e8)]=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x292865,_0x278a5f,_0x4aaddb,_0x2f6ec0,_0x39aaa1){var _0x55da14=_0x2229a0;super(),this[_0x55da14(0x315)]=_0x292865,this[_0x55da14(0x510)]=_0x278a5f,this[_0x55da14(0x24f)]=_0x4aaddb,this[_0x55da14(0x501)]=_0x2f6ec0,this[_0x55da14(0x1c7)]=_0x39aaa1;}[_0x2229a0(0x1f5)](_0x2b3886){var _0x3d2bb8=_0x2229a0;const _0x21570d=this[_0x3d2bb8(0x315)]['get'](_0x5b6221[_0x3d2bb8(0x354)]);if(!_0x21570d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x224ecb=_0x21570d['createSocket'](_0x2b3886);if(!_0x224ecb)throw new Error(_0x3d2bb8(0x2e3));const _0x4aae5a=new _0x158513[(_0x3d2bb8(0x45d))](),_0x2bfce6=new _0x32f9ef['Subject']();_0x4aae5a[_0x3d2bb8(0x359)](_0x224ecb['close$'][_0x3d2bb8(0x206)](_0x5bad3d=>_0x2bfce6['next'](_0x5bad3d))),_0x4aae5a[_0x3d2bb8(0x359)](_0x158513['toDisposable'](()=>_0x2bfce6['complete']()));const _0x3145e7=new _0x32f9ef[(_0x3d2bb8(0x2e1))]();_0x4aae5a[_0x3d2bb8(0x359)](_0x224ecb[_0x3d2bb8(0x40c)][_0x3d2bb8(0x206)](_0x4257c2=>_0x3145e7['next'](_0x4257c2))),_0x4aae5a[_0x3d2bb8(0x359)](_0x158513[_0x3d2bb8(0x2e4)](()=>_0x3145e7['complete']()));const _0x6908df=new _0x32f9ef['Subject']();_0x4aae5a[_0x3d2bb8(0x359)](_0x224ecb[_0x3d2bb8(0x2d2)][_0x3d2bb8(0x206)](_0x5c1c47=>{var _0x4de5ae=_0x3d2bb8;const _0xf7204d=_0x9e4075(_0x5c1c47);_0x6908df[_0x4de5ae(0x393)](_0xf7204d);})),_0x4aae5a[_0x3d2bb8(0x359)](_0x158513[_0x3d2bb8(0x2e4)](()=>_0x6908df[_0x3d2bb8(0x45e)]()));let _0x5086a9;const _0x3370a3=()=>{var _0x59f7f4=_0x3d2bb8;_0x3145e7[_0x59f7f4(0x393)](new Event(_0x59f7f4(0x3ef))),_0x2bfce6[_0x59f7f4(0x393)](new Event(_0x59f7f4(0x3ef))),_0x5086a9['close']();};return _0x5086a9={'memberID':'','close$':_0x2bfce6[_0x3d2bb8(0x1d1)](),'error$':_0x3145e7[_0x3d2bb8(0x1d1)](),'open$':_0x224ecb[_0x3d2bb8(0x375)],'message$':_0x6908df[_0x3d2bb8(0x1d1)](),'send':_0x2d30b3=>{var _0x3b055a=_0x3d2bb8;if(_0x2d30b3['cmd']===_0x5db895[_0x3b055a(0x433)]){if(_0x2d30b3[_0x3b055a(0x214)][_0x3b055a(0x40a)]===_0x35009e[_0x3b055a(0x499)]['SUBMIT_CHANGESET']){this[_0x3b055a(0x1ce)](_0x5086a9,_0x2d30b3['data'])[_0x3b055a(0x3b2)](_0x1d3373=>{var _0x32ed61=_0x3b055a;this['_logService'][_0x32ed61(0x508)](_0x1d3373),_0x3370a3();});return;}if(_0x2d30b3[_0x3b055a(0x214)]['eventID']===_0x35009e[_0x3b055a(0x499)][_0x3b055a(0x503)]){const _0x4ef84f=_0x2d30b3['data'];this[_0x3b055a(0x2fa)](_0x4ef84f)['then'](_0x360aeb=>{var _0x282dee=_0x3b055a;_0x6908df[_0x282dee(0x393)]({'cmd':_0x5db895[_0x282dee(0x365)],'code':_0xaed6cc['OK'],'routeKey':_0x4ef84f[_0x282dee(0x214)]['unitID'],'routeType':'','data':{'eventID':_0x35009e['CollaborationEvent'][_0x282dee(0x1de)],'data':{'changesets':_0x360aeb}}});})[_0x3b055a(0x3b2)](_0x27af6c=>{var _0x2819c5=_0x3b055a;this[_0x2819c5(0x501)]['error'](_0x27af6c),_0x3370a3();});return;}}_0x224ecb['send'](_0xea9c25(_0x2d30b3));},'close':()=>{var _0x21877a=_0x3d2bb8;_0x224ecb[_0x21877a(0x43b)](),_0x4aae5a['dispose']();}},_0x5086a9;}async[_0x2229a0(0x1ce)](_0x304f67,_0xa55ce0){var _0x7ee7c9=_0x2229a0,_0xba5f11;const {unitType:_0x3d1514,unitID:_0x50652e,changeset:_0x5886df}=_0xa55ce0[_0x7ee7c9(0x214)],_0x22500f={'unitID':_0x50652e,'memberID':_0x304f67[_0x7ee7c9(0x398)],'type':_0x3d1514,'changeset':_0x35009e['parseChangesetToProtocol'](_0x5886df)},_0x162003=this['_configService'][_0x7ee7c9(0x247)](_0x5e0130),_0x3ec443=_0x2b79eb((_0xba5f11=_0x162003==null?void 0x0:_0x162003[_0x7ee7c9(0x4f5)])!=null?_0xba5f11:_0x3083bf,_0x3d1514,_0x50652e);try{await this[_0x7ee7c9(0x510)][_0x7ee7c9(0x3f4)](_0x3ec443,{'body':_0x22500f});}catch(_0x5b7ff4){throw this[_0x7ee7c9(0x501)]['error']('[CollaborationSession]',_0x7ee7c9(0x404)),_0x5b7ff4;}}async[_0x2229a0(0x2fa)](_0x3e925a){var _0xf17a21=_0x2229a0;const {unitID:_0xb6e52e,from:_0x31aae2,to:_0x1e205b,unitType:_0x39693c}=_0x3e925a['data'];return(await this[_0xf17a21(0x1c7)][_0xf17a21(0x3bc)]({'metadata':void 0x0},{'unitID':_0xb6e52e,'type':_0x39693c,'from':_0x31aae2,'to':_0x1e205b}))[_0xf17a21(0x25e)][_0xf17a21(0x1d8)](_0x4dfc2a=>((_0x4dfc2a['mutations']===null||_0x4dfc2a[_0xf17a21(0x3b3)]===void 0x0)&&(_0x4dfc2a['mutations']=[]),_0x4dfc2a));}},_0x5e3fa4['CollaborationSocketService']=_0x2c3026([_0x383668(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x383668(0x1,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)])),_0x383668(0x2,_0x158513[_0x2229a0(0x4c2)]),_0x383668(0x3,_0x158513[_0x2229a0(0x2b8)]),_0x383668(0x4,_0x35009e[_0x2229a0(0x338)])],_0x5e3fa4[_0x2229a0(0x1e8)]);var _0x333744=Object['getOwnPropertyDescriptor'],_0x2b7ee1=(_0x546b6a,_0x468c5f,_0x23356d,_0x3341ea)=>{for(var _0xb5e068=_0x3341ea>0x1?void 0x0:_0x3341ea?_0x333744(_0x468c5f,_0x23356d):_0x468c5f,_0x3df6c8=_0x546b6a['length']-0x1,_0x31c1c2;_0x3df6c8>=0x0;_0x3df6c8--)(_0x31c1c2=_0x546b6a[_0x3df6c8])&&(_0xb5e068=_0x31c1c2(_0xb5e068)||_0xb5e068);return _0xb5e068;},_0x5aa2c0=(_0x2538b0,_0x4f8fb3)=>(_0x4efd6a,_0x4e2d23)=>_0x4f8fb3(_0x4efd6a,_0x4e2d23,_0x2538b0);_0x5e3fa4[_0x2229a0(0x3db)]=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x22fe7e,_0xf979f0,_0x4bb443,_0x2536f6,_0x1ed162,_0x5bed19){var _0x41cca1=_0x2229a0;super(),_0x4b59b5(this,'_socket$',new _0x32f9ef[(_0x41cca1(0x3ce))](void 0x0)),_0x4b59b5(this,_0x41cca1(0x47c),this['_socket$'][_0x41cca1(0x1d1)]()),_0x4b59b5(this,'_candidateSocket',null),_0x4b59b5(this,_0x41cca1(0x3d8),new Map()),_0x4b59b5(this,_0x41cca1(0x2fc),new _0x32f9ef[(_0x41cca1(0x3ce))](_0x366b35['IDLE'])),_0x4b59b5(this,_0x41cca1(0x2a3),this[_0x41cca1(0x2fc)][_0x41cca1(0x1d1)]()),_0x4b59b5(this,_0x41cca1(0x37c),!0x1),_0x4b59b5(this,_0x41cca1(0x295)),_0x4b59b5(this,_0x41cca1(0x23e),0x0),_0x4b59b5(this,'_sendHeartbeatTimer'),_0x4b59b5(this,'_timeoutTimer'),(this[_0x41cca1(0x315)]=_0x22fe7e,this['_logService']=_0xf979f0,this[_0x41cca1(0x24f)]=_0x4bb443,this['_socketService']=_0x2536f6,this['_collaborationUIEventService']=_0x1ed162,this[_0x41cca1(0x1cc)]=_0x5bed19,this[_0x41cca1(0x23d)]());}get[_0x2229a0(0x530)](){var _0x2598d5=_0x2229a0;return this[_0x2598d5(0x3c1)]['getValue']();}[_0x2229a0(0x23d)](){var _0x3d26b9=_0x2229a0;this[_0x3d26b9(0x1cc)]&&this['disposeWithMe'](this[_0x3d26b9(0x1cc)][_0x3d26b9(0x48c)][_0x3d26b9(0x206)](_0x2b912d=>{var _0xa5b85=_0x3d26b9;_0x2b912d&&!this[_0xa5b85(0x530)]&&this[_0xa5b85(0x537)](),_0x2b912d||this[_0xa5b85(0x401)]();}));}[_0x2229a0(0x484)](){var _0x31fa44=_0x2229a0;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x31fa44(0x3a0)](),this[_0x31fa44(0x2ce)](),this[_0x31fa44(0x3d8)]['forEach'](_0x2d608b=>_0x2d608b[_0x31fa44(0x484)]()),this['_sessions'][_0x31fa44(0x326)](),this[_0x31fa44(0x2fc)][_0x31fa44(0x45e)]();}async[_0x2229a0(0x264)](_0x370ec2){var _0x5aa677=_0x2229a0;if(this[_0x5aa677(0x3d8)][_0x5aa677(0x202)](_0x370ec2))return this[_0x5aa677(0x3d8)][_0x5aa677(0x444)](_0x370ec2);this[_0x5aa677(0x336)]();const _0x49d72a=this[_0x5aa677(0x315)][_0x5aa677(0x49c)](_0x5e3fa4[_0x5aa677(0x46d)],_0x370ec2,this[_0x5aa677(0x3c1)][_0x5aa677(0x1d1)]());return this[_0x5aa677(0x3d8)][_0x5aa677(0x3a6)](_0x370ec2,_0x49d72a),_0x49d72a;}[_0x2229a0(0x1d5)](_0x4ac624){var _0x18b7dc=_0x2229a0,_0x27d9be;const _0x44a37b=this[_0x18b7dc(0x3d8)][_0x18b7dc(0x444)](_0x4ac624);_0x44a37b&&(this[_0x18b7dc(0x3d8)]['delete'](_0x4ac624),_0x44a37b[_0x18b7dc(0x43b)]()),this[_0x18b7dc(0x3d8)][_0x18b7dc(0x4f0)]||(_0x27d9be=this[_0x18b7dc(0x530)])==null||_0x27d9be[_0x18b7dc(0x43b)]();}[_0x2229a0(0x537)](){var _0x58c90c=_0x2229a0;this['_retryCount']=0x0,this[_0x58c90c(0x258)](),this[_0x58c90c(0x1a3)]();}['_clearRetryConnectingTimer'](){var _0xd7e3ba=_0x2229a0;this[_0xd7e3ba(0x295)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xd7e3ba(0x295)]=null);}async[_0x2229a0(0x46a)](){var _0xc94f38=_0x2229a0,_0x317246;const _0xdfec6f=this[_0xc94f38(0x24f)][_0xc94f38(0x247)](_0x5e0130),_0x248cb4=(_0x317246=_0xdfec6f==null?void 0x0:_0xdfec6f[_0xc94f38(0x342)])!=null?_0x317246:_0x46c157,_0x43a6e2=await this[_0xc94f38(0x241)][_0xc94f38(0x42e)](_0x248cb4);return this[_0xc94f38(0x319)]=_0x43a6e2,_0x43a6e2;}async['_tryEnsureSocket'](){var _0x4dbde4=_0x2229a0,_0x211ab6,_0x1c9bda;try{const _0x4c1941=(_0x1c9bda=(_0x211ab6=this[_0x4dbde4(0x530)])!=null?_0x211ab6:this[_0x4dbde4(0x319)])!=null?_0x1c9bda:await this[_0x4dbde4(0x46a)]();if(_0x4c1941){const _0x224626=_0x4c1941[_0x4dbde4(0x535)];_0x4c1941['send']=_0x341af3=>(this[_0x4dbde4(0x270)](),_0x224626[_0x4dbde4(0x52e)](_0x4c1941,[_0x341af3])),_0x4c1941[_0x4dbde4(0x2d2)][_0x4dbde4(0x206)](_0x24df6f=>this[_0x4dbde4(0x21f)](_0x4c1941,_0x24df6f)),_0x4c1941[_0x4dbde4(0x40c)][_0x4dbde4(0x3fa)](_0x16efa3[_0x4dbde4(0x23b)](0x1))[_0x4dbde4(0x206)](_0x572519=>this['_logService'][_0x4dbde4(0x508)]('[CollaborationSessionService]:\x20socket\x20error',_0x572519)),_0x4c1941['open$'][_0x4dbde4(0x3fa)](_0x16efa3[_0x4dbde4(0x23b)](0x1))['subscribe'](()=>{var _0x51d197=_0x4dbde4;this[_0x51d197(0x395)](_0x4c1941);}),_0x4c1941[_0x4dbde4(0x346)]['pipe'](_0x16efa3[_0x4dbde4(0x23b)](0x1))[_0x4dbde4(0x206)](_0x5ed01c=>{var _0x21e6d8=_0x4dbde4;this[_0x21e6d8(0x501)][_0x21e6d8(0x513)](_0x21e6d8(0x3b1),_0x21e6d8(0x45f),_0x5ed01c),this['_onConnectionFailed']();});}}catch(_0x1c9070){this[_0x4dbde4(0x501)]['error'](_0x1c9070),this[_0x4dbde4(0x262)]();}}['_onConnectionOpen'](_0x3fc7bd){var _0x332f58=_0x2229a0;this[_0x332f58(0x501)][_0x332f58(0x513)](_0x332f58(0x3b1),_0x332f58(0x28d)),_0x3fc7bd[_0x332f58(0x535)]({'cmd':_0x5db895[_0x332f58(0x306)]}),this[_0x332f58(0x270)]();}['_onOffline'](){var _0x328852=_0x2229a0;this[_0x328852(0x37c)]=!0x1,this[_0x328852(0x319)]=null,this['_status$'][_0x328852(0x393)](_0x366b35[_0x328852(0x3d1)]),this[_0x328852(0x3c1)][_0x328852(0x393)](null),this[_0x328852(0x3a0)](),this[_0x328852(0x2ce)]();}['_onConnectionFailed'](){var _0x2798e7=_0x2229a0,_0x11625a;this[_0x2798e7(0x401)](),this[_0x2798e7(0x23e)]<((_0x11625a=this['_configService'][_0x2798e7(0x247)](_0x2a69c3))!=null?_0x11625a:0x3)?(this[_0x2798e7(0x388)][_0x2798e7(0x4a6)]({'id':_0x306c72[_0x2798e7(0x332)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x2798e7(0x4a6)]({'id':_0x306c72['SOCKET_FAILED']});}[_0x2229a0(0x1a3)](){var _0x31c424=_0x2229a0,_0x5a8704;const _0x1bf76a=this[_0x31c424(0x23e)],_0x597534=this[_0x31c424(0x24f)][_0x31c424(0x247)](_0x5e0130),_0x1e8a1a=_0x1bf76a===0x0?0x0:((_0x5a8704=_0x597534==null?void 0x0:_0x597534['retryConnectingInterval'])!=null?_0x5a8704:0x4e20)*0x2**_0x1bf76a;this['_retryConnectingTimer']=setTimeout(()=>{var _0x35551b=_0x31c424;clearTimeout(this['_retryConnectingTimer']),this[_0x35551b(0x295)]=null,this[_0x35551b(0x336)]();},_0x1e8a1a),this[_0x31c424(0x23e)]+=0x1;}[_0x2229a0(0x21f)](_0x52e0ea,_0x1da9f5){var _0x437df9=_0x2229a0;const {cmd:_0x2feadb}=_0x1da9f5;_0x2feadb===_0x5db895[_0x437df9(0x306)]&&!this[_0x437df9(0x37c)]&&(_0x52e0ea[_0x437df9(0x398)]=_0x1da9f5[_0x437df9(0x214)][_0x437df9(0x398)],this[_0x437df9(0x3c1)][_0x437df9(0x393)](_0x52e0ea),this[_0x437df9(0x2fc)][_0x437df9(0x393)](_0x366b35[_0x437df9(0x2e6)]),this['_socketReady']=!0x0,this[_0x437df9(0x319)]=null),_0x2feadb===_0x5db895[_0x437df9(0x1ac)]&&this[_0x437df9(0x3a0)](),this[_0x437df9(0x270)]();}['_rescheduleHeartbeat'](){var _0xca7a84=_0x2229a0,_0x234eb2;this[_0xca7a84(0x2ce)](),this[_0xca7a84(0x4e1)]=setTimeout(()=>this[_0xca7a84(0x2f5)](),(_0x234eb2=this[_0xca7a84(0x24f)][_0xca7a84(0x247)](_0x50386d))!=null?_0x234eb2:0x7530);}['_sendHeartbeat'](){var _0x558d33=_0x2229a0;this[_0x558d33(0x530)][_0x558d33(0x535)]({'cmd':_0x5db895[_0x558d33(0x1ac)]}),this[_0x558d33(0x1ad)]();}[_0x2229a0(0x1ad)](){var _0x39cb24=_0x2229a0,_0x39f0c6;this[_0x39cb24(0x340)]=setTimeout(()=>this[_0x39cb24(0x262)](),(_0x39f0c6=this[_0x39cb24(0x24f)][_0x39cb24(0x247)](_0x3bd8ba))!=null?_0x39f0c6:0x4e20);}['_clearHeartbeatTimer'](){var _0x4e39d6=_0x2229a0;this[_0x4e39d6(0x4e1)]!=null&&(clearTimeout(this[_0x4e39d6(0x4e1)]),this[_0x4e39d6(0x4e1)]=null);}[_0x2229a0(0x3a0)](){var _0x1d11d5=_0x2229a0;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1d11d5(0x340)]),this[_0x1d11d5(0x340)]=null);}},_0x5e3fa4[_0x2229a0(0x3db)]=_0x2b7ee1([_0x5aa2c0(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x5aa2c0(0x1,_0x158513[_0x2229a0(0x2b8)]),_0x5aa2c0(0x2,_0x158513['IConfigService']),_0x5aa2c0(0x3,_0xd4806f),_0x5aa2c0(0x4,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x5aa2c0(0x5,_0x158513['Optional'](_0x215e06))],_0x5e3fa4[_0x2229a0(0x3db)]);var _0x5be50e=Object[_0x2229a0(0x330)],_0x5c3685=(_0x5a9ed7,_0x4960b7,_0x2211b3,_0x29fea3)=>{var _0x469e44=_0x2229a0;for(var _0x504900=_0x29fea3>0x1?void 0x0:_0x29fea3?_0x5be50e(_0x4960b7,_0x2211b3):_0x4960b7,_0x1c41ab=_0x5a9ed7[_0x469e44(0x316)]-0x1,_0x39c5c8;_0x1c41ab>=0x0;_0x1c41ab--)(_0x39c5c8=_0x5a9ed7[_0x1c41ab])&&(_0x504900=_0x39c5c8(_0x504900)||_0x504900);return _0x504900;},_0x59a335=(_0x578055,_0x2cccf4)=>(_0x23014e,_0xb16280)=>_0x2cccf4(_0x23014e,_0xb16280,_0x578055);_0x5e3fa4[_0x2229a0(0x29b)]=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x3a0d9f,_0x3d0623,_0x302fff,_0x1f4fee){var _0x304f84=_0x2229a0,_0x9abf6d;super(),_0x4b59b5(this,_0x304f84(0x46f),new Map()),_0x4b59b5(this,'_entityInit$',new _0x32f9ef[(_0x304f84(0x2e1))]()),_0x4b59b5(this,'entityInit$',this[_0x304f84(0x213)][_0x304f84(0x1d1)]()),(this[_0x304f84(0x315)]=_0x3a0d9f,this[_0x304f84(0x3cc)]=_0x3d0623,this['_configService']=_0x302fff,this[_0x304f84(0x1ae)]=_0x1f4fee,((_0x9abf6d=this[_0x304f84(0x24f)][_0x304f84(0x247)](_0x5e0130))==null?void 0x0:_0x9abf6d['enableCollaboration'])!==!0x1&&this[_0x304f84(0x1db)]());}[_0x2229a0(0x484)](){var _0x4046ed=_0x2229a0;super[_0x4046ed(0x484)](),this[_0x4046ed(0x46f)][_0x4046ed(0x45b)](_0x5542b0=>_0x5542b0[_0x4046ed(0x484)]()),this[_0x4046ed(0x46f)][_0x4046ed(0x326)]();}[_0x2229a0(0x238)](_0x442737){var _0x3ad6ca=_0x2229a0,_0x577642;return(_0x577642=this[_0x3ad6ca(0x46f)][_0x3ad6ca(0x444)](_0x442737))!=null?_0x577642:null;}[_0x2229a0(0x27e)](_0x525b23){var _0x2eeef0=_0x2229a0;const _0x578128=this[_0x2eeef0(0x238)](_0x525b23);return _0x578128?_0x32f9ef['of'](_0x578128):this[_0x2eeef0(0x213)][_0x2eeef0(0x3fa)](_0x16efa3[_0x2eeef0(0x51e)](_0x2feb2e=>_0x2feb2e['unitID']===_0x525b23));}['readyForCollab'](_0x4687a7){var _0x28f90a=_0x2229a0;return _0x32f9ef[_0x28f90a(0x3fd)](this['getCollabEntity$'](_0x4687a7)[_0x28f90a(0x3fa)](_0x16efa3[_0x28f90a(0x1d8)](()=>{})));}[_0x2229a0(0x1db)](){var _0x327ce4=_0x2229a0;this[_0x327ce4(0x1ae)][_0x327ce4(0x426)](_0x158513[_0x327ce4(0x39a)]['UNIVER_SHEET'])[_0x327ce4(0x3fa)](_0x32f9ef[_0x327ce4(0x251)](this['dispose$']),_0x16efa3[_0x327ce4(0x1b9)](0x10))[_0x327ce4(0x206)](async _0x22fd72=>{var _0x54a0d9=_0x327ce4;const _0x1262bc=_0x22fd72['getUnitId'](),_0x26d6a3=await this[_0x54a0d9(0x2d3)](_0x1262bc,_0x24c96d['UNIVER_SHEET']);this[_0x54a0d9(0x46f)][_0x54a0d9(0x3a6)](_0x1262bc,_0x26d6a3);}),this[_0x327ce4(0x1ae)]['getTypeOfUnitAdded$'](_0x158513[_0x327ce4(0x39a)][_0x327ce4(0x275)])[_0x327ce4(0x3fa)](_0x32f9ef[_0x327ce4(0x251)](this[_0x327ce4(0x4ce)]),_0x16efa3[_0x327ce4(0x1b9)](0x10))[_0x327ce4(0x3fa)](_0x16efa3[_0x327ce4(0x51e)](_0x14d8bd=>!_0x14d8bd['getUnitId']()[_0x327ce4(0x3e4)]('__')))[_0x327ce4(0x206)](async _0x1d6f0e=>{var _0x3ffa74=_0x327ce4;const _0x4ed926=_0x1d6f0e['getUnitId'](),_0xb85e25=await this[_0x3ffa74(0x2d3)](_0x4ed926,_0x24c96d[_0x3ffa74(0x275)]);this[_0x3ffa74(0x46f)][_0x3ffa74(0x3a6)](_0x4ed926,_0xb85e25);}),_0x32f9ef[_0x327ce4(0x47e)](this['_univerInstanceService'][_0x327ce4(0x1e1)](_0x158513[_0x327ce4(0x39a)][_0x327ce4(0x394)]),this[_0x327ce4(0x1ae)][_0x327ce4(0x1e1)](_0x158513[_0x327ce4(0x39a)][_0x327ce4(0x275)]))['pipe'](_0x32f9ef['takeUntil'](this['dispose$']))['subscribe'](_0x3fd3b9=>{var _0x5e500d=_0x327ce4;const _0x163086=_0x3fd3b9['getUnitId'](),_0x269cba=this[_0x5e500d(0x46f)][_0x5e500d(0x444)](_0x163086);_0x269cba&&(_0x269cba[_0x5e500d(0x484)](),this['_entities'][_0x5e500d(0x420)](_0x163086));});}async[_0x2229a0(0x2d3)](_0x3efbab,_0x43f1e4){var _0x17e7c1=_0x2229a0;const _0x58e43d=await this[_0x17e7c1(0x3cc)][_0x17e7c1(0x264)](_0x3efbab),_0x10102a=this[_0x17e7c1(0x315)][_0x17e7c1(0x49c)](this[_0x17e7c1(0x4d8)](_0x43f1e4),_0x3efbab,_0x43f1e4,_0x58e43d);return await _0x10102a[_0x17e7c1(0x222)](),this[_0x17e7c1(0x213)][_0x17e7c1(0x393)](_0x10102a),_0x10102a;}[_0x2229a0(0x4d8)](_0x323e33){var _0x464874=_0x2229a0;switch(_0x323e33){case _0x24c96d[_0x464874(0x275)]:return _0x5e3fa4['DocCollaborationEntity'];case _0x24c96d['UNIVER_SHEET']:return _0x5e3fa4['SheetCollaborationEntity'];default:throw new Error(_0x464874(0x2ac)+_0x323e33);}}},_0x5e3fa4['CollaborationController']=_0x5c3685([_0x59a335(0x0,_0x158513['Inject'](_0x158513[_0x2229a0(0x523)])),_0x59a335(0x1,_0x158513['Inject'](_0x5e3fa4['CollaborationSessionService'])),_0x59a335(0x2,_0x158513[_0x2229a0(0x4c2)]),_0x59a335(0x3,_0x158513[_0x2229a0(0x4ad)])],_0x5e3fa4[_0x2229a0(0x29b)]);var _0x7403dc=Object[_0x2229a0(0x330)],_0x5a37fe=(_0x34f0b6,_0x2e586f,_0x2a8898,_0x3f0856)=>{var _0x598cf8=_0x2229a0;for(var _0x40cb53=_0x3f0856>0x1?void 0x0:_0x3f0856?_0x7403dc(_0x2e586f,_0x2a8898):_0x2e586f,_0x2cba79=_0x34f0b6[_0x598cf8(0x316)]-0x1,_0x5b1912;_0x2cba79>=0x0;_0x2cba79--)(_0x5b1912=_0x34f0b6[_0x2cba79])&&(_0x40cb53=_0x5b1912(_0x40cb53)||_0x40cb53);return _0x40cb53;},_0x81f59=(_0x22a5f3,_0x384ea5)=>(_0x1a07f1,_0x37195f)=>_0x384ea5(_0x1a07f1,_0x37195f,_0x22a5f3);const _0x212335='DEFAULT_FILE_NAME',_0x42aa19=_0x2229a0(0x32f);let _0x370f44=class extends _0x158513['Disposable']{constructor(_0x43898a,_0x52f801){var _0x38f47e=_0x2229a0;super(),this[_0x38f47e(0x1ae)]=_0x43898a,this['_configService']=_0x52f801,this[_0x38f47e(0x1db)]();}[_0x2229a0(0x1db)](){var _0x1f851c=_0x2229a0;this[_0x1f851c(0x2a6)](this[_0x1f851c(0x1ae)][_0x1f851c(0x4de)][_0x1f851c(0x206)](()=>{var _0x37ec29=_0x1f851c,_0x1fcdd5;const _0x478d7b=this[_0x37ec29(0x1ae)][_0x37ec29(0x40e)]();let _0x3d8bbf=(_0x1fcdd5=this['_configService'][_0x37ec29(0x247)](_0x212335))!=null?_0x1fcdd5:_0x42aa19;_0x478d7b instanceof _0x158513['Workbook']&&(_0x3d8bbf=_0x478d7b['name']),document[_0x37ec29(0x465)]=_0x3d8bbf;}));}};_0x370f44=_0x5a37fe([_0x81f59(0x0,_0x158513[_0x2229a0(0x4ad)]),_0x81f59(0x1,_0x158513['IConfigService'])],_0x370f44);var _0x228baa=Object['getOwnPropertyDescriptor'],_0x4dd02b=(_0x3bcff0,_0x2041ff,_0x4bb0ee,_0x379883)=>{var _0x44969c=_0x2229a0;for(var _0x353d1f=_0x379883>0x1?void 0x0:_0x379883?_0x228baa(_0x2041ff,_0x4bb0ee):_0x2041ff,_0x15408d=_0x3bcff0[_0x44969c(0x316)]-0x1,_0xbbce96;_0x15408d>=0x0;_0x15408d--)(_0xbbce96=_0x3bcff0[_0x15408d])&&(_0x353d1f=_0xbbce96(_0x353d1f)||_0x353d1f);return _0x353d1f;},_0x5871e2=(_0x18ba7a,_0x506a23)=>(_0x281523,_0x5014ad)=>_0x506a23(_0x281523,_0x5014ad,_0x18ba7a);let _0x4c5a49=class{constructor(_0x366941,_0x377ba5,_0x161487){var _0x71fcad=_0x2229a0;this[_0x71fcad(0x24f)]=_0x366941,this[_0x71fcad(0x510)]=_0x377ba5,this[_0x71fcad(0x4c8)]=_0x161487,this['init']();}[_0x2229a0(0x222)](){var _0x1e7587=_0x2229a0;this[_0x1e7587(0x510)][_0x1e7587(0x43a)]({'priority':0x1,'interceptor':(_0x17d648,_0xf81591)=>_0xf81591(_0x17d648)[_0x1e7587(0x3fa)](_0x32f9ef[_0x1e7587(0x254)](async _0x1d09fa=>{var _0x32c9e4=_0x1e7587;const _0x5ac92a=_0x1d09fa;if(_0x5ac92a[_0x32c9e4(0x2e2)]===0x191){if(typeof window>'u')throw new Error(_0x32c9e4(0x50b));if(window[_0x32c9e4(0x3a9)](this['localeService']['t'](_0x32c9e4(0x432)))){const _0x4cf0c4=window['encodeURIComponent'](window[_0x32c9e4(0x429)][_0x32c9e4(0x3a4)]);window[_0x32c9e4(0x429)][_0x32c9e4(0x3a4)]=this['_getLoginPath']()+_0x32c9e4(0x303)+_0x4cf0c4;}}return _0x5ac92a;}))});}['_getLoginPath'](){var _0x1bf67c=_0x2229a0,_0x23d1ec;const _0x18ed1a=this[_0x1bf67c(0x24f)]['getConfig'](_0x5e0130);return(_0x23d1ec=_0x18ed1a==null?void 0x0:_0x18ed1a[_0x1bf67c(0x45c)])!=null?_0x23d1ec:_0x5868b9;}};_0x4c5a49=_0x4dd02b([_0x5871e2(0x0,_0x158513[_0x2229a0(0x4c2)]),_0x5871e2(0x1,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)])),_0x5871e2(0x2,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x402)]))],_0x4c5a49);var _0x6a556b=Object[_0x2229a0(0x330)],_0x5dadef=(_0x8223c0,_0x4e0d96,_0x38e7f1,_0x328602)=>{var _0x5d31c5=_0x2229a0;for(var _0x8359c=_0x328602>0x1?void 0x0:_0x328602?_0x6a556b(_0x4e0d96,_0x38e7f1):_0x4e0d96,_0x4c43b8=_0x8223c0[_0x5d31c5(0x316)]-0x1,_0x4cc56c;_0x4c43b8>=0x0;_0x4c43b8--)(_0x4cc56c=_0x8223c0[_0x4c43b8])&&(_0x8359c=_0x4cc56c(_0x8359c)||_0x8359c);return _0x8359c;},_0x55fb05=(_0x167737,_0x998ef7)=>(_0x4c7437,_0x2639d1)=>_0x998ef7(_0x4c7437,_0x2639d1,_0x167737);const _0x367c79=_0x2229a0(0x4fb);_0x5e3fa4['AuthzIoHttpService']=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x2fe6f8,_0x11d5e1){var _0x5e6f7a=_0x2229a0;super(),this['_HTTPService']=_0x2fe6f8,this[_0x5e6f7a(0x24f)]=_0x11d5e1,this[_0x5e6f7a(0x1d0)]();}[_0x2229a0(0x1d0)](){var _0x71987b=_0x2229a0;const _0x4b9596=this;this[_0x71987b(0x2a6)](this[_0x71987b(0x49d)][_0x71987b(0x43a)]({'priority':0x3e7,'interceptor':_0x5b6221[_0x71987b(0x4a2)]({'isMatch'(_0x2aef58){var _0x44e06d=_0x71987b,_0x38d1f4;if(_0x2aef58['method']===_0x44e06d(0x37b)&&((_0x38d1f4=_0x2aef58[_0x44e06d(0x209)])!=null&&_0x38d1f4[_0x44e06d(0x341)])){const {objectID:_0x44eacd,objectType:_0x18e5eb}=_0x2aef58[_0x44e06d(0x209)][_0x44e06d(0x341)]||{};if(!_0x44eacd||_0x18e5eb===void 0x0)return!0x1;const _0x2444b9=_0x4b9596[_0x44e06d(0x50f)]()+'/'+_0x18e5eb+_0x44e06d(0x367)+_0x44eacd+_0x44e06d(0x1ec);if(_0x2aef58['url']===_0x2444b9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2cc569){var _0xe9774f=_0x71987b,_0x308da2;return(_0x308da2=_0x2cc569[_0xe9774f(0x209)])==null?void 0x0:_0x308da2[_0xe9774f(0x341)];},'mergeParamsToRequest'(_0xfa1441,_0x1fdf44){var _0x44bff3=_0x71987b;const _0x19f00a=_0x4b9596[_0x44bff3(0x50f)]()+_0x44bff3(0x31e),_0x4a48fe=_0xfa1441['reduce']((_0x4eec8e,_0x52ba3a)=>{var _0x590cd6=_0x44bff3;const {unitID:_0x1ec604,objectID:_0x2ed14a,objectType:_0x7e4aa0,actions:_0xe71021}=_0x52ba3a;return _0x4eec8e[_0x1ec604]||(_0x4eec8e[_0x1ec604]={}),_0x4eec8e[_0x1ec604][_0x2ed14a]||(_0x4eec8e[_0x1ec604][_0x2ed14a]={'objectID':_0x2ed14a,'objectType':_0x7e4aa0,'actions':[]}),_0x4eec8e[_0x1ec604][_0x2ed14a][_0x590cd6(0x311)][_0x590cd6(0x4a3)](..._0xe71021),_0x4eec8e;},{}),_0x2ebe89=[];for(const _0x3f7059 in _0x4a48fe)for(const _0x384d63 in _0x4a48fe[_0x3f7059]){const {actions:_0x5197fb,objectType:_0x266124}=_0x4a48fe[_0x3f7059][_0x384d63],_0x15cbff=[...new Set(_0x5197fb)];_0x2ebe89[_0x44bff3(0x4a3)]({'unitID':_0x3f7059,'objectID':_0x384d63,'objectType':_0x266124,'actions':_0x15cbff});}return new _0x5b6221[(_0x44bff3(0x268))](_0x44bff3(0x37b),_0x19f00a,{'headers':_0x1fdf44[_0x44bff3(0x44b)],'withCredentials':_0x1fdf44['withCredentials'],'responseType':_0x1fdf44[_0x44bff3(0x3ad)],'body':{'requests':_0x2ebe89}});}},{'distributeResult'(_0x55c496,_0x533910){var _0xcbb353=_0x71987b;const {objectActions:_0x49ff58}=_0x55c496;return _0x533910[_0xcbb353(0x1d8)](_0x39fb1d=>{var _0x19e332=_0xcbb353;const {unitID:_0x19c7c3,objectID:_0x55eb1b,actions:_0x351ee4}=_0x39fb1d,_0x310de8=_0x49ff58[_0x19e332(0x428)](_0x2f378a=>_0x2f378a[_0x19e332(0x350)]===_0x19c7c3&&_0x2f378a[_0x19e332(0x250)]===_0x55eb1b),_0x40cc2d=_0x351ee4['map'](_0x413738=>_0x310de8==null?void 0x0:_0x310de8['actions'][_0x19e332(0x428)](_0x4a1cd4=>_0x4a1cd4[_0x19e332(0x242)]===_0x413738))['filter'](_0x1bae7b=>!!_0x1bae7b);return{'config':_0x39fb1d,'result':{'actions':_0x40cc2d,'error':_0x55c496['error']}};});}})}));}[_0x2229a0(0x50f)](){var _0x3be82d=_0x2229a0,_0x4ff433;const _0x293688=this[_0x3be82d(0x24f)][_0x3be82d(0x247)](_0x5e0130);return(_0x4ff433=_0x293688==null?void 0x0:_0x293688['authzUrl'])!=null?_0x4ff433:_0x367c79;}async['create'](_0x5c03c5){var _0x2899cc=_0x2229a0;const _0x580848=this[_0x2899cc(0x50f)]()+'/'+_0x5c03c5[_0x2899cc(0x2bd)]+_0x2899cc(0x1e9);return(await this[_0x2899cc(0x49d)][_0x2899cc(0x3f4)](_0x580848,{'body':_0x5c03c5}))[_0x2899cc(0x341)][_0x2899cc(0x250)]||'';}async['list'](_0xe4bf87){var _0x1ab69e=_0x2229a0;const _0x62d611=this['_getAPIPrefixPath']()+_0x1ab69e(0x22e);return(await this[_0x1ab69e(0x49d)][_0x1ab69e(0x3f4)](_0x62d611,{'body':_0xe4bf87}))[_0x1ab69e(0x341)][_0x1ab69e(0x1f7)];}async['update'](_0x229bec){var _0x187d14=_0x2229a0,_0x186c96,_0x1ffeb7;const _0x48ac1e=this[_0x187d14(0x50f)]()+'/'+_0x229bec['objectType']+_0x187d14(0x367)+_0x229bec['objectID'],_0x64cec2=await this[_0x187d14(0x49d)][_0x187d14(0x4d0)](_0x48ac1e,{'body':_0x229bec});if(((_0x1ffeb7=(_0x186c96=_0x64cec2==null?void 0x0:_0x64cec2[_0x187d14(0x341)])==null?void 0x0:_0x186c96[_0x187d14(0x508)])==null?void 0x0:_0x1ffeb7['code'])!==0x1)throw new Error(_0x187d14(0x2c5));}async[_0x2229a0(0x267)](_0x441722){var _0x1bddc2=_0x2229a0;const _0x572c20=this['_getAPIPrefixPath']()+'/'+_0x441722[_0x1bddc2(0x2bd)]+_0x1bddc2(0x367)+_0x441722['objectID']+_0x1bddc2(0x1ec);return(await this[_0x1bddc2(0x49d)][_0x1bddc2(0x3f4)](_0x572c20,{'body':_0x441722}))[_0x1bddc2(0x341)][_0x1bddc2(0x311)];}async[_0x2229a0(0x47f)](_0x104c97){var _0xe60a=_0x2229a0;const _0x54057e=this[_0xe60a(0x50f)]()+_0xe60a(0x31e);return(await this['_HTTPService']['post'](_0x54057e,{'body':{'requests':_0x104c97}}))[_0xe60a(0x341)][_0xe60a(0x21c)];}async[_0x2229a0(0x228)](_0x2faac8){var _0x44abb6=_0x2229a0;const _0x38bda6=this['_getAPIPrefixPath']()+'/'+_0x2faac8['objectType']+_0x44abb6(0x381),_0x2f54af=await this['_HTTPService'][_0x44abb6(0x3f4)](_0x38bda6,{'body':_0x2faac8});return{'roles':_0x2f54af[_0x44abb6(0x341)][_0x44abb6(0x274)],'actions':_0x2f54af[_0x44abb6(0x341)]['actions']};}async['deleteCollaborator'](_0x38a817){var _0x2de49f=_0x2229a0;const _0x42acc4=this[_0x2de49f(0x50f)]()+'/collaborator';await this[_0x2de49f(0x49d)]['delete'](_0x42acc4,{'params':{'collaboratorID':_0x38a817[_0x2de49f(0x2cd)],'objectID':_0x38a817['objectID'],'unitID':_0x38a817[_0x2de49f(0x350)]}});}async[_0x2229a0(0x410)](_0x522bba){var _0x49842d=_0x2229a0;const _0x209ca6=this['_getAPIPrefixPath']()+_0x49842d(0x507);await this[_0x49842d(0x49d)][_0x49842d(0x3b0)](_0x209ca6,{'body':_0x522bba});}async[_0x2229a0(0x2d6)](_0x46fdbf){var _0x9f31d9=_0x2229a0;const _0x57bfef=this[_0x9f31d9(0x50f)]()+_0x9f31d9(0x507);await this[_0x9f31d9(0x49d)][_0x9f31d9(0x3f4)](_0x57bfef,{'body':_0x46fdbf});}async[_0x2229a0(0x22d)](_0x7e51c){var _0x2c31a9=_0x2229a0;const _0x5195ab=this[_0x2c31a9(0x50f)]()+'/collaborator';return(await this[_0x2c31a9(0x49d)]['get'](_0x5195ab,{'params':{'objectID':_0x7e51c[_0x2c31a9(0x250)],'unitID':_0x7e51c[_0x2c31a9(0x350)]}}))[_0x2c31a9(0x341)][_0x2c31a9(0x4a8)];}async[_0x2229a0(0x2da)](_0x57b457){var _0x20e282=_0x2229a0;const _0x52df63=this[_0x20e282(0x50f)]()+_0x20e282(0x507);await this[_0x20e282(0x49d)][_0x20e282(0x4d0)](_0x52df63,{'body':_0x57b457});}},_0x5e3fa4[_0x2229a0(0x462)]=_0x5dadef([_0x55fb05(0x0,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)])),_0x55fb05(0x1,_0x158513['Inject'](_0x158513[_0x2229a0(0x4c2)]))],_0x5e3fa4[_0x2229a0(0x462)]);var _0x348c0f=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x5afa2c(_0x35e669){var _0x3702ed=_0x2229a0;return _0x35e669&&_0x35e669['__esModule']&&Object['prototype'][_0x3702ed(0x409)][_0x3702ed(0x2d1)](_0x35e669,_0x3702ed(0x25d))?_0x35e669[_0x3702ed(0x25d)]:_0x35e669;}var _0x1d4c9d={'exports':{}};function _0x322950(_0x578a67){var _0x693656=_0x2229a0;throw new Error(_0x693656(0x3f5)+_0x578a67+_0x693656(0x2e9));}var _0x40ed59={'exports':{}},_0x299603=_0x40ed59['exports'],_0x2b9ffd;function _0x1b8113(){var _0x529008=_0x2229a0;return _0x2b9ffd||(_0x2b9ffd=0x1,function(_0x59114e,_0x1464a1){(function(_0x3e0009,_0x1eb953){var _0x5cf7cb=_0x573a;_0x59114e[_0x5cf7cb(0x20c)]=_0x1eb953();}(_0x299603,function(){var _0x3f5a45=_0x3f5a45||function(_0x2139ef,_0x3a2e15){var _0x3f825d=_0x573a,_0x1159f5;if(typeof window<'u'&&window[_0x3f825d(0x441)]&&(_0x1159f5=window[_0x3f825d(0x441)]),typeof self<'u'&&self[_0x3f825d(0x441)]&&(_0x1159f5=self[_0x3f825d(0x441)]),typeof globalThis<'u'&&globalThis[_0x3f825d(0x441)]&&(_0x1159f5=globalThis[_0x3f825d(0x441)]),!_0x1159f5&&typeof window<'u'&&window[_0x3f825d(0x2a5)]&&(_0x1159f5=window[_0x3f825d(0x2a5)]),!_0x1159f5&&typeof _0x348c0f<'u'&&_0x348c0f[_0x3f825d(0x441)]&&(_0x1159f5=_0x348c0f[_0x3f825d(0x441)]),!_0x1159f5&&typeof _0x322950==_0x3f825d(0x3a3))try{_0x1159f5=require('crypto');}catch{}var _0x2c4a25=function(){var _0x52b858=_0x3f825d;if(_0x1159f5){if(typeof _0x1159f5[_0x52b858(0x3ab)]==_0x52b858(0x3a3))try{return _0x1159f5[_0x52b858(0x3ab)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1159f5[_0x52b858(0x4bb)]=='function')try{return _0x1159f5[_0x52b858(0x4bb)](0x4)[_0x52b858(0x3ea)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x133a28=Object[_0x3f825d(0x4cc)]||(function(){function _0x41e45c(){}return function(_0x48c701){var _0x30ec45=_0x573a,_0x7bae7a;return _0x41e45c[_0x30ec45(0x362)]=_0x48c701,_0x7bae7a=new _0x41e45c(),_0x41e45c[_0x30ec45(0x362)]=null,_0x7bae7a;};}()),_0x1168a8={},_0x40bafd=_0x1168a8[_0x3f825d(0x532)]={},_0x2a17e4=_0x40bafd[_0x3f825d(0x312)]=(function(){return{'extend':function(_0x39f7c9){var _0x30dd6d=_0x573a,_0x5c8aa0=_0x133a28(this);return _0x39f7c9&&_0x5c8aa0['mixIn'](_0x39f7c9),(!_0x5c8aa0[_0x30dd6d(0x409)](_0x30dd6d(0x222))||this[_0x30dd6d(0x222)]===_0x5c8aa0['init'])&&(_0x5c8aa0[_0x30dd6d(0x222)]=function(){var _0x34e691=_0x30dd6d;_0x5c8aa0[_0x34e691(0x218)][_0x34e691(0x222)][_0x34e691(0x52e)](this,arguments);}),_0x5c8aa0[_0x30dd6d(0x222)][_0x30dd6d(0x362)]=_0x5c8aa0,_0x5c8aa0['$super']=this,_0x5c8aa0;},'create':function(){var _0x38f062=_0x573a,_0x44504d=this[_0x38f062(0x31f)]();return _0x44504d['init'][_0x38f062(0x52e)](_0x44504d,arguments),_0x44504d;},'init':function(){},'mixIn':function(_0x2cebe7){var _0x1c6f89=_0x573a;for(var _0x48826c in _0x2cebe7)_0x2cebe7['hasOwnProperty'](_0x48826c)&&(this[_0x48826c]=_0x2cebe7[_0x48826c]);_0x2cebe7['hasOwnProperty'](_0x1c6f89(0x520))&&(this[_0x1c6f89(0x520)]=_0x2cebe7[_0x1c6f89(0x520)]);},'clone':function(){var _0x1fabff=_0x573a;return this[_0x1fabff(0x222)]['prototype'][_0x1fabff(0x31f)](this);}};}()),_0x5f4bda=_0x40bafd[_0x3f825d(0x491)]=_0x2a17e4[_0x3f825d(0x31f)]({'init':function(_0x1ecfe6,_0x42d11e){var _0x100a52=_0x3f825d;_0x1ecfe6=this['words']=_0x1ecfe6||[],_0x42d11e!=_0x3a2e15?this[_0x100a52(0x34f)]=_0x42d11e:this['sigBytes']=_0x1ecfe6[_0x100a52(0x316)]*0x4;},'toString':function(_0x500f44){var _0x181dbd=_0x3f825d;return(_0x500f44||_0x14b71c)[_0x181dbd(0x418)](this);},'concat':function(_0x3cf84b){var _0x4ae314=_0x3f825d,_0xc99ed0=this[_0x4ae314(0x2c2)],_0x1b0d7a=_0x3cf84b['words'],_0x468ac9=this['sigBytes'],_0x4e7e07=_0x3cf84b[_0x4ae314(0x34f)];if(this['clamp'](),_0x468ac9%0x4)for(var _0x416840=0x0;_0x416840<_0x4e7e07;_0x416840++){var _0x195425=_0x1b0d7a[_0x416840>>>0x2]>>>0x18-_0x416840%0x4*0x8&0xff;_0xc99ed0[_0x468ac9+_0x416840>>>0x2]|=_0x195425<<0x18-(_0x468ac9+_0x416840)%0x4*0x8;}else{for(var _0x3c1f60=0x0;_0x3c1f60<_0x4e7e07;_0x3c1f60+=0x4)_0xc99ed0[_0x468ac9+_0x3c1f60>>>0x2]=_0x1b0d7a[_0x3c1f60>>>0x2];}return this[_0x4ae314(0x34f)]+=_0x4e7e07,this;},'clamp':function(){var _0x38805e=_0x3f825d,_0x128752=this[_0x38805e(0x2c2)],_0x552d06=this[_0x38805e(0x34f)];_0x128752[_0x552d06>>>0x2]&=0xffffffff<<0x20-_0x552d06%0x4*0x8,_0x128752['length']=_0x2139ef['ceil'](_0x552d06/0x4);},'clone':function(){var _0x2dd593=_0x3f825d,_0x12e593=_0x2a17e4[_0x2dd593(0x497)][_0x2dd593(0x2d1)](this);return _0x12e593[_0x2dd593(0x2c2)]=this[_0x2dd593(0x2c2)][_0x2dd593(0x27f)](0x0),_0x12e593;},'random':function(_0x114578){var _0x39821b=_0x3f825d;for(var _0x35c53b=[],_0x5dc99a=0x0;_0x5dc99a<_0x114578;_0x5dc99a+=0x4)_0x35c53b[_0x39821b(0x4a3)](_0x2c4a25());return new _0x5f4bda[(_0x39821b(0x222))](_0x35c53b,_0x114578);}}),_0x224d63=_0x1168a8[_0x3f825d(0x230)]={},_0x14b71c=_0x224d63[_0x3f825d(0x252)]={'stringify':function(_0x273897){var _0x3001ad=_0x3f825d;for(var _0x3ac50f=_0x273897['words'],_0x34f293=_0x273897[_0x3001ad(0x34f)],_0x16a6b7=[],_0x4f8e7b=0x0;_0x4f8e7b<_0x34f293;_0x4f8e7b++){var _0x1cd903=_0x3ac50f[_0x4f8e7b>>>0x2]>>>0x18-_0x4f8e7b%0x4*0x8&0xff;_0x16a6b7[_0x3001ad(0x4a3)]((_0x1cd903>>>0x4)['toString'](0x10)),_0x16a6b7[_0x3001ad(0x4a3)]((_0x1cd903&0xf)[_0x3001ad(0x520)](0x10));}return _0x16a6b7['join']('');},'parse':function(_0x1769e9){var _0x2c7b46=_0x3f825d;for(var _0x40b1c3=_0x1769e9[_0x2c7b46(0x316)],_0x2cf0aa=[],_0x449f6e=0x0;_0x449f6e<_0x40b1c3;_0x449f6e+=0x2)_0x2cf0aa[_0x449f6e>>>0x3]|=parseInt(_0x1769e9[_0x2c7b46(0x379)](_0x449f6e,0x2),0x10)<<0x18-_0x449f6e%0x8*0x4;return new _0x5f4bda['init'](_0x2cf0aa,_0x40b1c3/0x2);}},_0x435815=_0x224d63['Latin1']={'stringify':function(_0x5f430d){var _0x499d11=_0x3f825d;for(var _0x46e109=_0x5f430d[_0x499d11(0x2c2)],_0x547a89=_0x5f430d[_0x499d11(0x34f)],_0x28b12b=[],_0x268125=0x0;_0x268125<_0x547a89;_0x268125++){var _0x52855d=_0x46e109[_0x268125>>>0x2]>>>0x18-_0x268125%0x4*0x8&0xff;_0x28b12b['push'](String[_0x499d11(0x1b0)](_0x52855d));}return _0x28b12b[_0x499d11(0x4a1)]('');},'parse':function(_0x4f4ca3){var _0x36c4de=_0x3f825d;for(var _0x47414b=_0x4f4ca3[_0x36c4de(0x316)],_0x5f1785=[],_0x281311=0x0;_0x281311<_0x47414b;_0x281311++)_0x5f1785[_0x281311>>>0x2]|=(_0x4f4ca3[_0x36c4de(0x4c4)](_0x281311)&0xff)<<0x18-_0x281311%0x4*0x8;return new _0x5f4bda[(_0x36c4de(0x222))](_0x5f1785,_0x47414b);}},_0x3f4179=_0x224d63[_0x3f825d(0x255)]={'stringify':function(_0x263082){var _0x1daf81=_0x3f825d;try{return decodeURIComponent(escape(_0x435815[_0x1daf81(0x418)](_0x263082)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xe7136b){var _0x375871=_0x3f825d;return _0x435815[_0x375871(0x34b)](unescape(encodeURIComponent(_0xe7136b)));}},_0x29f9c2=_0x40bafd['BufferedBlockAlgorithm']=_0x2a17e4[_0x3f825d(0x31f)]({'reset':function(){var _0x2e0360=_0x3f825d;this[_0x2e0360(0x39d)]=new _0x5f4bda['init'](),this['_nDataBytes']=0x0;},'_append':function(_0xbeb43e){var _0x2a8ef9=_0x3f825d;typeof _0xbeb43e=='string'&&(_0xbeb43e=_0x3f4179[_0x2a8ef9(0x34b)](_0xbeb43e)),this[_0x2a8ef9(0x39d)][_0x2a8ef9(0x36e)](_0xbeb43e),this[_0x2a8ef9(0x3d4)]+=_0xbeb43e[_0x2a8ef9(0x34f)];},'_process':function(_0x5df789){var _0x59cd14=_0x3f825d,_0x421d20,_0x2c052d=this[_0x59cd14(0x39d)],_0x65f581=_0x2c052d['words'],_0x4545e1=_0x2c052d[_0x59cd14(0x34f)],_0xbcea0c=this[_0x59cd14(0x387)],_0x1af773=_0xbcea0c*0x4,_0x584f69=_0x4545e1/_0x1af773;_0x5df789?_0x584f69=_0x2139ef[_0x59cd14(0x440)](_0x584f69):_0x584f69=_0x2139ef[_0x59cd14(0x392)]((_0x584f69|0x0)-this['_minBufferSize'],0x0);var _0x13b312=_0x584f69*_0xbcea0c,_0x166332=_0x2139ef[_0x59cd14(0x475)](_0x13b312*0x4,_0x4545e1);if(_0x13b312){for(var _0x12b4b2=0x0;_0x12b4b2<_0x13b312;_0x12b4b2+=_0xbcea0c)this[_0x59cd14(0x36d)](_0x65f581,_0x12b4b2);_0x421d20=_0x65f581[_0x59cd14(0x304)](0x0,_0x13b312),_0x2c052d[_0x59cd14(0x34f)]-=_0x166332;}return new _0x5f4bda[(_0x59cd14(0x222))](_0x421d20,_0x166332);},'clone':function(){var _0x561c76=_0x3f825d,_0x1f94e5=_0x2a17e4[_0x561c76(0x497)][_0x561c76(0x2d1)](this);return _0x1f94e5[_0x561c76(0x39d)]=this['_data'][_0x561c76(0x497)](),_0x1f94e5;},'_minBufferSize':0x0});_0x40bafd[_0x3f825d(0x21d)]=_0x29f9c2['extend']({'cfg':_0x2a17e4[_0x3f825d(0x31f)](),'init':function(_0x39dc7d){var _0x46404a=_0x3f825d;this[_0x46404a(0x1c9)]=this[_0x46404a(0x1c9)]['extend'](_0x39dc7d),this['reset']();},'reset':function(){var _0x313d8a=_0x3f825d;_0x29f9c2['reset'][_0x313d8a(0x2d1)](this),this[_0x313d8a(0x240)]();},'update':function(_0xca459f){var _0x5d9981=_0x3f825d;return this[_0x5d9981(0x479)](_0xca459f),this['_process'](),this;},'finalize':function(_0x2faf28){_0x2faf28&&this['_append'](_0x2faf28);var _0x3f5499=this['_doFinalize']();return _0x3f5499;},'blockSize':0x10,'_createHelper':function(_0x293fa1){return function(_0x174733,_0x456914){var _0x3b693e=_0x573a;return new _0x293fa1[(_0x3b693e(0x222))](_0x456914)[_0x3b693e(0x28b)](_0x174733);};},'_createHmacHelper':function(_0x372b85){return function(_0x1e3c42,_0x233d47){var _0x2a64ba=_0x573a;return new _0x59719a['HMAC']['init'](_0x372b85,_0x233d47)[_0x2a64ba(0x28b)](_0x1e3c42);};}});var _0x59719a=_0x1168a8[_0x3f825d(0x26d)]={};return _0x1168a8;}(Math);return _0x3f5a45;}));}(_0x40ed59)),_0x40ed59[_0x529008(0x20c)];}var _0x1b88ff={'exports':{}},_0x172013=_0x1b88ff[_0x2229a0(0x20c)],_0x4b8b6f;function _0x4fdf03(){var _0x59694b=_0x2229a0;return _0x4b8b6f||(_0x4b8b6f=0x1,function(_0x272279,_0x2f5d4){(function(_0x10c387,_0x5ddf73){var _0x180a24=_0x573a;_0x272279[_0x180a24(0x20c)]=_0x5ddf73(_0x1b8113());}(_0x172013,function(_0x1b4eca){var _0x406c25=_0x573a;return(function(){var _0x3de827=_0x573a,_0x3fe6cc=_0x1b4eca,_0x5ac4b3=_0x3fe6cc[_0x3de827(0x532)],_0x172a44=_0x5ac4b3[_0x3de827(0x491)],_0x3af924=_0x3fe6cc[_0x3de827(0x230)];_0x3af924[_0x3de827(0x369)]={'stringify':function(_0x32fa3f){var _0x2c4cf9=_0x3de827,_0x2ad8ae=_0x32fa3f[_0x2c4cf9(0x2c2)],_0x95302e=_0x32fa3f[_0x2c4cf9(0x34f)],_0x39e79f=this[_0x2c4cf9(0x1bc)];_0x32fa3f[_0x2c4cf9(0x205)]();for(var _0x4e2959=[],_0x20fcc0=0x0;_0x20fcc0<_0x95302e;_0x20fcc0+=0x3)for(var _0x2eed83=_0x2ad8ae[_0x20fcc0>>>0x2]>>>0x18-_0x20fcc0%0x4*0x8&0xff,_0xe74361=_0x2ad8ae[_0x20fcc0+0x1>>>0x2]>>>0x18-(_0x20fcc0+0x1)%0x4*0x8&0xff,_0x32024a=_0x2ad8ae[_0x20fcc0+0x2>>>0x2]>>>0x18-(_0x20fcc0+0x2)%0x4*0x8&0xff,_0xfb147f=_0x2eed83<<0x10|_0xe74361<<0x8|_0x32024a,_0x366182=0x0;_0x366182<0x4&&_0x20fcc0+_0x366182*0.75<_0x95302e;_0x366182++)_0x4e2959[_0x2c4cf9(0x4a3)](_0x39e79f['charAt'](_0xfb147f>>>0x6*(0x3-_0x366182)&0x3f));var _0x40a291=_0x39e79f[_0x2c4cf9(0x2be)](0x40);if(_0x40a291){for(;_0x4e2959[_0x2c4cf9(0x316)]%0x4;)_0x4e2959[_0x2c4cf9(0x4a3)](_0x40a291);}return _0x4e2959['join']('');},'parse':function(_0x277593){var _0x48b6d2=_0x3de827,_0x1551b9=_0x277593[_0x48b6d2(0x316)],_0x5bd120=this[_0x48b6d2(0x1bc)],_0xb80fc8=this[_0x48b6d2(0x1d9)];if(!_0xb80fc8){_0xb80fc8=this[_0x48b6d2(0x1d9)]=[];for(var _0x5b5aad=0x0;_0x5b5aad<_0x5bd120['length'];_0x5b5aad++)_0xb80fc8[_0x5bd120[_0x48b6d2(0x4c4)](_0x5b5aad)]=_0x5b5aad;}var _0x5a8d9c=_0x5bd120[_0x48b6d2(0x2be)](0x40);if(_0x5a8d9c){var _0x27463f=_0x277593['indexOf'](_0x5a8d9c);_0x27463f!==-0x1&&(_0x1551b9=_0x27463f);}return _0x29b2ac(_0x277593,_0x1551b9,_0xb80fc8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x29b2ac(_0x263611,_0x29bab8,_0x48f2fc){var _0x5f2656=_0x3de827;for(var _0x139795=[],_0x591e7f=0x0,_0x48168a=0x0;_0x48168a<_0x29bab8;_0x48168a++)if(_0x48168a%0x4){var _0x103d43=_0x48f2fc[_0x263611['charCodeAt'](_0x48168a-0x1)]<<_0x48168a%0x4*0x2,_0x15f2c4=_0x48f2fc[_0x263611['charCodeAt'](_0x48168a)]>>>0x6-_0x48168a%0x4*0x2,_0x29f087=_0x103d43|_0x15f2c4;_0x139795[_0x591e7f>>>0x2]|=_0x29f087<<0x18-_0x591e7f%0x4*0x8,_0x591e7f++;}return _0x172a44[_0x5f2656(0x4cc)](_0x139795,_0x591e7f);}}()),_0x1b4eca[_0x406c25(0x230)][_0x406c25(0x369)];}));}(_0x1b88ff)),_0x1b88ff[_0x59694b(0x20c)];}var _0x27d2e0={'exports':{}},_0xa49163=_0x27d2e0[_0x2229a0(0x20c)],_0x3e4da9;function _0x4c535b(){return _0x3e4da9||(_0x3e4da9=0x1,function(_0x2ab414,_0x498547){(function(_0x10570a,_0x24a277){var _0x203291=_0x573a;_0x2ab414[_0x203291(0x20c)]=_0x24a277(_0x1b8113());}(_0xa49163,function(_0x2eade8){var _0x4650d0=_0x573a;return function(_0x296d57){var _0x4966a9=_0x573a,_0x4d64ee=_0x2eade8,_0x3ea176=_0x4d64ee['lib'],_0x2087f7=_0x3ea176[_0x4966a9(0x491)],_0x44a581=_0x3ea176[_0x4966a9(0x21d)],_0xe0106=_0x4d64ee[_0x4966a9(0x26d)],_0x276c7a=[];(function(){var _0x1470d0=_0x4966a9;for(var _0x4c71f5=0x0;_0x4c71f5<0x40;_0x4c71f5++)_0x276c7a[_0x4c71f5]=_0x296d57[_0x1470d0(0x29c)](_0x296d57[_0x1470d0(0x313)](_0x4c71f5+0x1))*0x100000000|0x0;}());var _0x5e8384=_0xe0106[_0x4966a9(0x1f4)]=_0x44a581[_0x4966a9(0x31f)]({'_doReset':function(){var _0x22cb34=_0x4966a9;this[_0x22cb34(0x24a)]=new _0x2087f7[(_0x22cb34(0x222))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x552928,_0x5a8c83){var _0xb919f1=_0x4966a9;for(var _0x5d83c9=0x0;_0x5d83c9<0x10;_0x5d83c9++){var _0x5a4e7b=_0x5a8c83+_0x5d83c9,_0x3244a4=_0x552928[_0x5a4e7b];_0x552928[_0x5a4e7b]=(_0x3244a4<<0x8|_0x3244a4>>>0x18)&0xff00ff|(_0x3244a4<<0x18|_0x3244a4>>>0x8)&0xff00ff00;}var _0x3ee28e=this[_0xb919f1(0x24a)][_0xb919f1(0x2c2)],_0x243ccd=_0x552928[_0x5a8c83+0x0],_0x1bcee5=_0x552928[_0x5a8c83+0x1],_0x5d6ad4=_0x552928[_0x5a8c83+0x2],_0x4055b7=_0x552928[_0x5a8c83+0x3],_0x4261d1=_0x552928[_0x5a8c83+0x4],_0x426d23=_0x552928[_0x5a8c83+0x5],_0x8f70bb=_0x552928[_0x5a8c83+0x6],_0x5046fb=_0x552928[_0x5a8c83+0x7],_0x45d8b4=_0x552928[_0x5a8c83+0x8],_0x1ad953=_0x552928[_0x5a8c83+0x9],_0x392928=_0x552928[_0x5a8c83+0xa],_0x436f08=_0x552928[_0x5a8c83+0xb],_0x3b1867=_0x552928[_0x5a8c83+0xc],_0xe4a0d5=_0x552928[_0x5a8c83+0xd],_0x2dbd5b=_0x552928[_0x5a8c83+0xe],_0x452d9f=_0x552928[_0x5a8c83+0xf],_0x4c2d6f=_0x3ee28e[0x0],_0xef1608=_0x3ee28e[0x1],_0x49bb0b=_0x3ee28e[0x2],_0x35d100=_0x3ee28e[0x3];_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x243ccd,0x7,_0x276c7a[0x0]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x1bcee5,0xc,_0x276c7a[0x1]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5d6ad4,0x11,_0x276c7a[0x2]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x4055b7,0x16,_0x276c7a[0x3]),_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x4261d1,0x7,_0x276c7a[0x4]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x426d23,0xc,_0x276c7a[0x5]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x8f70bb,0x11,_0x276c7a[0x6]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x5046fb,0x16,_0x276c7a[0x7]),_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x45d8b4,0x7,_0x276c7a[0x8]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x1ad953,0xc,_0x276c7a[0x9]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x392928,0x11,_0x276c7a[0xa]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x436f08,0x16,_0x276c7a[0xb]),_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x3b1867,0x7,_0x276c7a[0xc]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0xe4a0d5,0xc,_0x276c7a[0xd]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x2dbd5b,0x11,_0x276c7a[0xe]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x452d9f,0x16,_0x276c7a[0xf]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1bcee5,0x5,_0x276c7a[0x10]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x8f70bb,0x9,_0x276c7a[0x11]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x436f08,0xe,_0x276c7a[0x12]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x243ccd,0x14,_0x276c7a[0x13]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x426d23,0x5,_0x276c7a[0x14]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x392928,0x9,_0x276c7a[0x15]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x452d9f,0xe,_0x276c7a[0x16]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x4261d1,0x14,_0x276c7a[0x17]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1ad953,0x5,_0x276c7a[0x18]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x2dbd5b,0x9,_0x276c7a[0x19]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x4055b7,0xe,_0x276c7a[0x1a]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x45d8b4,0x14,_0x276c7a[0x1b]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0xe4a0d5,0x5,_0x276c7a[0x1c]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x5d6ad4,0x9,_0x276c7a[0x1d]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5046fb,0xe,_0x276c7a[0x1e]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x3b1867,0x14,_0x276c7a[0x1f]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x426d23,0x4,_0x276c7a[0x20]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x45d8b4,0xb,_0x276c7a[0x21]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x436f08,0x10,_0x276c7a[0x22]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x2dbd5b,0x17,_0x276c7a[0x23]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1bcee5,0x4,_0x276c7a[0x24]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x4261d1,0xb,_0x276c7a[0x25]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5046fb,0x10,_0x276c7a[0x26]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x392928,0x17,_0x276c7a[0x27]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0xe4a0d5,0x4,_0x276c7a[0x28]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x243ccd,0xb,_0x276c7a[0x29]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x4055b7,0x10,_0x276c7a[0x2a]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x8f70bb,0x17,_0x276c7a[0x2b]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1ad953,0x4,_0x276c7a[0x2c]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x3b1867,0xb,_0x276c7a[0x2d]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x452d9f,0x10,_0x276c7a[0x2e]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x5d6ad4,0x17,_0x276c7a[0x2f]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x243ccd,0x6,_0x276c7a[0x30]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x5046fb,0xa,_0x276c7a[0x31]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x2dbd5b,0xf,_0x276c7a[0x32]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x426d23,0x15,_0x276c7a[0x33]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x3b1867,0x6,_0x276c7a[0x34]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x4055b7,0xa,_0x276c7a[0x35]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x392928,0xf,_0x276c7a[0x36]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x1bcee5,0x15,_0x276c7a[0x37]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x45d8b4,0x6,_0x276c7a[0x38]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x452d9f,0xa,_0x276c7a[0x39]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x8f70bb,0xf,_0x276c7a[0x3a]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0xe4a0d5,0x15,_0x276c7a[0x3b]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x4261d1,0x6,_0x276c7a[0x3c]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x436f08,0xa,_0x276c7a[0x3d]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5d6ad4,0xf,_0x276c7a[0x3e]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x1ad953,0x15,_0x276c7a[0x3f]),_0x3ee28e[0x0]=_0x3ee28e[0x0]+_0x4c2d6f|0x0,_0x3ee28e[0x1]=_0x3ee28e[0x1]+_0xef1608|0x0,_0x3ee28e[0x2]=_0x3ee28e[0x2]+_0x49bb0b|0x0,_0x3ee28e[0x3]=_0x3ee28e[0x3]+_0x35d100|0x0;},'_doFinalize':function(){var _0x5072e9=_0x4966a9,_0x1b6c7c=this[_0x5072e9(0x39d)],_0x1be594=_0x1b6c7c[_0x5072e9(0x2c2)],_0x369ecc=this[_0x5072e9(0x3d4)]*0x8,_0x39802a=_0x1b6c7c['sigBytes']*0x8;_0x1be594[_0x39802a>>>0x5]|=0x80<<0x18-_0x39802a%0x20;var _0x51e3fd=_0x296d57['floor'](_0x369ecc/0x100000000),_0xc9fcb3=_0x369ecc;_0x1be594[(_0x39802a+0x40>>>0x9<<0x4)+0xf]=(_0x51e3fd<<0x8|_0x51e3fd>>>0x18)&0xff00ff|(_0x51e3fd<<0x18|_0x51e3fd>>>0x8)&0xff00ff00,_0x1be594[(_0x39802a+0x40>>>0x9<<0x4)+0xe]=(_0xc9fcb3<<0x8|_0xc9fcb3>>>0x18)&0xff00ff|(_0xc9fcb3<<0x18|_0xc9fcb3>>>0x8)&0xff00ff00,_0x1b6c7c[_0x5072e9(0x34f)]=(_0x1be594[_0x5072e9(0x316)]+0x1)*0x4,this[_0x5072e9(0x2c9)]();for(var _0x55af45=this['_hash'],_0x5b720e=_0x55af45['words'],_0x3ef113=0x0;_0x3ef113<0x4;_0x3ef113++){var _0x34ca5b=_0x5b720e[_0x3ef113];_0x5b720e[_0x3ef113]=(_0x34ca5b<<0x8|_0x34ca5b>>>0x18)&0xff00ff|(_0x34ca5b<<0x18|_0x34ca5b>>>0x8)&0xff00ff00;}return _0x55af45;},'clone':function(){var _0x312ff4=_0x4966a9,_0x19c3ca=_0x44a581['clone'][_0x312ff4(0x2d1)](this);return _0x19c3ca['_hash']=this['_hash']['clone'](),_0x19c3ca;}});function _0xf40c51(_0x1da729,_0x34c8d8,_0x4e6d0b,_0x17e4c2,_0x37a978,_0x13212f,_0x26f36f){var _0x38e35f=_0x1da729+(_0x34c8d8&_0x4e6d0b|~_0x34c8d8&_0x17e4c2)+_0x37a978+_0x26f36f;return(_0x38e35f<<_0x13212f|_0x38e35f>>>0x20-_0x13212f)+_0x34c8d8;}function _0x17e19f(_0x5b3891,_0x354851,_0x443544,_0x32ba81,_0x222fea,_0x44506c,_0x52d02a){var _0xfad42c=_0x5b3891+(_0x354851&_0x32ba81|_0x443544&~_0x32ba81)+_0x222fea+_0x52d02a;return(_0xfad42c<<_0x44506c|_0xfad42c>>>0x20-_0x44506c)+_0x354851;}function _0x18a81e(_0x28a740,_0x50a8f0,_0x2a3798,_0x220100,_0x1ee3f0,_0x5eaa34,_0x377c7a){var _0x4b0340=_0x28a740+(_0x50a8f0^_0x2a3798^_0x220100)+_0x1ee3f0+_0x377c7a;return(_0x4b0340<<_0x5eaa34|_0x4b0340>>>0x20-_0x5eaa34)+_0x50a8f0;}function _0x516248(_0x3d2892,_0xd85df5,_0x1854e4,_0x5be6c3,_0x29b59f,_0x2139ac,_0x1b047d){var _0x4dbe6e=_0x3d2892+(_0x1854e4^(_0xd85df5|~_0x5be6c3))+_0x29b59f+_0x1b047d;return(_0x4dbe6e<<_0x2139ac|_0x4dbe6e>>>0x20-_0x2139ac)+_0xd85df5;}_0x4d64ee[_0x4966a9(0x1f4)]=_0x44a581['_createHelper'](_0x5e8384),_0x4d64ee[_0x4966a9(0x199)]=_0x44a581[_0x4966a9(0x257)](_0x5e8384);}(Math),_0x2eade8[_0x4650d0(0x1f4)];}));}(_0x27d2e0)),_0x27d2e0['exports'];}var _0x148d47={'exports':{}},_0x530dae={'exports':{}},_0x1925da=_0x530dae[_0x2229a0(0x20c)],_0x3aab40;function _0x3fe2ba(){var _0x4b4a39=_0x2229a0;return _0x3aab40||(_0x3aab40=0x1,function(_0x401b3f,_0x1a47d1){(function(_0x448fcc,_0x5479c6){var _0x47353c=_0x573a;_0x401b3f[_0x47353c(0x20c)]=_0x5479c6(_0x1b8113());}(_0x1925da,function(_0x5e161d){var _0x4ced5e=_0x573a;return(function(){var _0x3eb32f=_0x573a,_0x3b5902=_0x5e161d,_0x51d837=_0x3b5902['lib'],_0x3c5274=_0x51d837[_0x3eb32f(0x491)],_0x2f9d9b=_0x51d837[_0x3eb32f(0x21d)],_0x1ebd6a=_0x3b5902[_0x3eb32f(0x26d)],_0x449243=[],_0x2a93bf=_0x1ebd6a[_0x3eb32f(0x26e)]=_0x2f9d9b[_0x3eb32f(0x31f)]({'_doReset':function(){var _0x4bd350=_0x3eb32f;this['_hash']=new _0x3c5274[(_0x4bd350(0x222))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b728a,_0x4e3b70){var _0x57ae79=_0x3eb32f;for(var _0x3ccf37=this[_0x57ae79(0x24a)][_0x57ae79(0x2c2)],_0x4406d2=_0x3ccf37[0x0],_0x40a0ca=_0x3ccf37[0x1],_0x972110=_0x3ccf37[0x2],_0x302de9=_0x3ccf37[0x3],_0x594f15=_0x3ccf37[0x4],_0x4b3f33=0x0;_0x4b3f33<0x50;_0x4b3f33++){if(_0x4b3f33<0x10)_0x449243[_0x4b3f33]=_0x4b728a[_0x4e3b70+_0x4b3f33]|0x0;else{var _0x2558ab=_0x449243[_0x4b3f33-0x3]^_0x449243[_0x4b3f33-0x8]^_0x449243[_0x4b3f33-0xe]^_0x449243[_0x4b3f33-0x10];_0x449243[_0x4b3f33]=_0x2558ab<<0x1|_0x2558ab>>>0x1f;}var _0x2c0df4=(_0x4406d2<<0x5|_0x4406d2>>>0x1b)+_0x594f15+_0x449243[_0x4b3f33];_0x4b3f33<0x14?_0x2c0df4+=(_0x40a0ca&_0x972110|~_0x40a0ca&_0x302de9)+0x5a827999:_0x4b3f33<0x28?_0x2c0df4+=(_0x40a0ca^_0x972110^_0x302de9)+0x6ed9eba1:_0x4b3f33<0x3c?_0x2c0df4+=(_0x40a0ca&_0x972110|_0x40a0ca&_0x302de9|_0x972110&_0x302de9)-0x70e44324:_0x2c0df4+=(_0x40a0ca^_0x972110^_0x302de9)-0x359d3e2a,_0x594f15=_0x302de9,_0x302de9=_0x972110,_0x972110=_0x40a0ca<<0x1e|_0x40a0ca>>>0x2,_0x40a0ca=_0x4406d2,_0x4406d2=_0x2c0df4;}_0x3ccf37[0x0]=_0x3ccf37[0x0]+_0x4406d2|0x0,_0x3ccf37[0x1]=_0x3ccf37[0x1]+_0x40a0ca|0x0,_0x3ccf37[0x2]=_0x3ccf37[0x2]+_0x972110|0x0,_0x3ccf37[0x3]=_0x3ccf37[0x3]+_0x302de9|0x0,_0x3ccf37[0x4]=_0x3ccf37[0x4]+_0x594f15|0x0;},'_doFinalize':function(){var _0x2a5350=_0x3eb32f,_0x5b982d=this[_0x2a5350(0x39d)],_0x96e2d=_0x5b982d[_0x2a5350(0x2c2)],_0x5e59c1=this['_nDataBytes']*0x8,_0x2f2822=_0x5b982d[_0x2a5350(0x34f)]*0x8;return _0x96e2d[_0x2f2822>>>0x5]|=0x80<<0x18-_0x2f2822%0x20,_0x96e2d[(_0x2f2822+0x40>>>0x9<<0x4)+0xe]=Math[_0x2a5350(0x453)](_0x5e59c1/0x100000000),_0x96e2d[(_0x2f2822+0x40>>>0x9<<0x4)+0xf]=_0x5e59c1,_0x5b982d[_0x2a5350(0x34f)]=_0x96e2d['length']*0x4,this['_process'](),this[_0x2a5350(0x24a)];},'clone':function(){var _0x7ed56e=_0x3eb32f,_0x17b7f9=_0x2f9d9b[_0x7ed56e(0x497)][_0x7ed56e(0x2d1)](this);return _0x17b7f9['_hash']=this['_hash'][_0x7ed56e(0x497)](),_0x17b7f9;}});_0x3b5902[_0x3eb32f(0x26e)]=_0x2f9d9b['_createHelper'](_0x2a93bf),_0x3b5902[_0x3eb32f(0x1b1)]=_0x2f9d9b['_createHmacHelper'](_0x2a93bf);}()),_0x5e161d[_0x4ced5e(0x26e)];}));}(_0x530dae)),_0x530dae[_0x4b4a39(0x20c)];}var _0x221fd7={'exports':{}},_0x3fe893=_0x221fd7[_0x2229a0(0x20c)],_0x266181;function _0x44695e(){var _0xbf8118=_0x2229a0;return _0x266181||(_0x266181=0x1,function(_0x335d80,_0x31c58b){(function(_0x216108,_0x53558b){var _0x51d414=_0x573a;_0x335d80[_0x51d414(0x20c)]=_0x53558b(_0x1b8113());}(_0x3fe893,function(_0x352be0){(function(){var _0x45fbc3=_0x573a,_0x376ab4=_0x352be0,_0x273aa9=_0x376ab4[_0x45fbc3(0x532)],_0x2cb9a2=_0x273aa9[_0x45fbc3(0x312)],_0x28a4b8=_0x376ab4[_0x45fbc3(0x230)],_0x536bc0=_0x28a4b8['Utf8'],_0x2d9dcb=_0x376ab4[_0x45fbc3(0x26d)];_0x2d9dcb[_0x45fbc3(0x1cb)]=_0x2cb9a2[_0x45fbc3(0x31f)]({'init':function(_0x1aaf4c,_0x5d2c21){var _0x3390a7=_0x45fbc3;_0x1aaf4c=this['_hasher']=new _0x1aaf4c[(_0x3390a7(0x222))](),typeof _0x5d2c21==_0x3390a7(0x289)&&(_0x5d2c21=_0x536bc0['parse'](_0x5d2c21));var _0x15c498=_0x1aaf4c[_0x3390a7(0x387)],_0x4f5ca1=_0x15c498*0x4;_0x5d2c21[_0x3390a7(0x34f)]>_0x4f5ca1&&(_0x5d2c21=_0x1aaf4c[_0x3390a7(0x28b)](_0x5d2c21)),_0x5d2c21[_0x3390a7(0x205)]();for(var _0x4f5dd8=this[_0x3390a7(0x335)]=_0x5d2c21[_0x3390a7(0x497)](),_0x56c616=this['_iKey']=_0x5d2c21[_0x3390a7(0x497)](),_0x1bb4f8=_0x4f5dd8[_0x3390a7(0x2c2)],_0x82c05=_0x56c616[_0x3390a7(0x2c2)],_0xa89d26=0x0;_0xa89d26<_0x15c498;_0xa89d26++)_0x1bb4f8[_0xa89d26]^=0x5c5c5c5c,_0x82c05[_0xa89d26]^=0x36363636;_0x4f5dd8['sigBytes']=_0x56c616[_0x3390a7(0x34f)]=_0x4f5ca1,this[_0x3390a7(0x439)]();},'reset':function(){var _0x241fb3=_0x45fbc3,_0x3b3324=this['_hasher'];_0x3b3324[_0x241fb3(0x439)](),_0x3b3324['update'](this[_0x241fb3(0x1a6)]);},'update':function(_0x149509){return this['_hasher']['update'](_0x149509),this;},'finalize':function(_0xf4a413){var _0x15a5a2=_0x45fbc3,_0x41c461=this[_0x15a5a2(0x3e9)],_0x416b2c=_0x41c461[_0x15a5a2(0x28b)](_0xf4a413);_0x41c461['reset']();var _0x17bd1e=_0x41c461['finalize'](this[_0x15a5a2(0x335)][_0x15a5a2(0x497)]()[_0x15a5a2(0x36e)](_0x416b2c));return _0x17bd1e;}});}());}));}(_0x221fd7)),_0x221fd7[_0xbf8118(0x20c)];}var _0xc2230b=_0x148d47[_0x2229a0(0x20c)],_0x4dd67;function _0x1ff6ca(){var _0x1b2bc8=_0x2229a0;return _0x4dd67||(_0x4dd67=0x1,function(_0x22604f,_0x480518){(function(_0x4491dd,_0x163539,_0x8406d7){_0x22604f['exports']=_0x163539(_0x1b8113(),_0x3fe2ba(),_0x44695e());}(_0xc2230b,function(_0x51ee1e){var _0x5169c1=_0x573a;return(function(){var _0x23f8e5=_0x573a,_0x3b3ad9=_0x51ee1e,_0x1af90d=_0x3b3ad9[_0x23f8e5(0x532)],_0x148eca=_0x1af90d['Base'],_0x2a3818=_0x1af90d[_0x23f8e5(0x491)],_0x259525=_0x3b3ad9[_0x23f8e5(0x26d)],_0x34d5dc=_0x259525[_0x23f8e5(0x1f4)],_0x4b34c3=_0x259525[_0x23f8e5(0x48e)]=_0x148eca[_0x23f8e5(0x31f)]({'cfg':_0x148eca['extend']({'keySize':0x80/0x20,'hasher':_0x34d5dc,'iterations':0x1}),'init':function(_0x535a62){var _0x41aac1=_0x23f8e5;this['cfg']=this[_0x41aac1(0x1c9)][_0x41aac1(0x31f)](_0x535a62);},'compute':function(_0x334618,_0x16ad8d){var _0x2ae965=_0x23f8e5;for(var _0x7a61ff,_0x372c02=this['cfg'],_0x48d622=_0x372c02[_0x2ae965(0x226)][_0x2ae965(0x4cc)](),_0xda19d2=_0x2a3818[_0x2ae965(0x4cc)](),_0x34c69c=_0xda19d2[_0x2ae965(0x2c2)],_0x286ca3=_0x372c02[_0x2ae965(0x36b)],_0x47014d=_0x372c02[_0x2ae965(0x51c)];_0x34c69c[_0x2ae965(0x316)]<_0x286ca3;){_0x7a61ff&&_0x48d622[_0x2ae965(0x19f)](_0x7a61ff),_0x7a61ff=_0x48d622[_0x2ae965(0x19f)](_0x334618)[_0x2ae965(0x28b)](_0x16ad8d),_0x48d622[_0x2ae965(0x439)]();for(var _0xb09bab=0x1;_0xb09bab<_0x47014d;_0xb09bab++)_0x7a61ff=_0x48d622[_0x2ae965(0x28b)](_0x7a61ff),_0x48d622[_0x2ae965(0x439)]();_0xda19d2[_0x2ae965(0x36e)](_0x7a61ff);}return _0xda19d2[_0x2ae965(0x34f)]=_0x286ca3*0x4,_0xda19d2;}});_0x3b3ad9[_0x23f8e5(0x48e)]=function(_0x1dd636,_0x61d7ad,_0xa2c85e){var _0xed87e2=_0x23f8e5;return _0x4b34c3['create'](_0xa2c85e)[_0xed87e2(0x345)](_0x1dd636,_0x61d7ad);};}()),_0x51ee1e[_0x5169c1(0x48e)];}));}(_0x148d47)),_0x148d47[_0x1b2bc8(0x20c)];}var _0x56e6c0={'exports':{}},_0x528aec=_0x56e6c0[_0x2229a0(0x20c)],_0x58cc97;function _0x215449(){return _0x58cc97||(_0x58cc97=0x1,function(_0x585c36,_0x29803f){(function(_0x263773,_0x51ca22,_0x4bc69c){var _0x1d9d54=_0x573a;_0x585c36[_0x1d9d54(0x20c)]=_0x51ca22(_0x1b8113(),_0x1ff6ca());}(_0x528aec,function(_0x349d87){var _0x3bb0b0=_0x573a;_0x349d87[_0x3bb0b0(0x532)]['Cipher']||function(_0x324ca6){var _0xbe9b0=_0x3bb0b0,_0x353036=_0x349d87,_0x543ad1=_0x353036[_0xbe9b0(0x532)],_0x254fad=_0x543ad1[_0xbe9b0(0x312)],_0x3d639a=_0x543ad1['WordArray'],_0x5b4a8f=_0x543ad1['BufferedBlockAlgorithm'],_0x30cd85=_0x353036[_0xbe9b0(0x230)];_0x30cd85['Utf8'];var _0x33feb4=_0x30cd85[_0xbe9b0(0x369)],_0x93aba3=_0x353036[_0xbe9b0(0x26d)],_0x17b511=_0x93aba3[_0xbe9b0(0x48e)],_0x215352=_0x543ad1[_0xbe9b0(0x2af)]=_0x5b4a8f['extend']({'cfg':_0x254fad[_0xbe9b0(0x31f)](),'createEncryptor':function(_0x31ab98,_0x218a28){var _0x1f8f20=_0xbe9b0;return this[_0x1f8f20(0x4cc)](this['_ENC_XFORM_MODE'],_0x31ab98,_0x218a28);},'createDecryptor':function(_0x5d8756,_0x47922e){var _0xfeeac7=_0xbe9b0;return this[_0xfeeac7(0x4cc)](this[_0xfeeac7(0x3c5)],_0x5d8756,_0x47922e);},'init':function(_0x1d90e9,_0x192161,_0x5cda67){var _0x41b240=_0xbe9b0;this[_0x41b240(0x1c9)]=this[_0x41b240(0x1c9)]['extend'](_0x5cda67),this[_0x41b240(0x4d4)]=_0x1d90e9,this['_key']=_0x192161,this[_0x41b240(0x439)]();},'reset':function(){var _0x3cb5e7=_0xbe9b0;_0x5b4a8f['reset'][_0x3cb5e7(0x2d1)](this),this[_0x3cb5e7(0x240)]();},'process':function(_0x53e9cb){var _0x53cbca=_0xbe9b0;return this[_0x53cbca(0x479)](_0x53e9cb),this['_process']();},'finalize':function(_0x30ba5f){var _0x16abce=_0xbe9b0;_0x30ba5f&&this[_0x16abce(0x479)](_0x30ba5f);var _0x2e585b=this[_0x16abce(0x3e1)]();return _0x2e585b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4116cd(_0x2d76bd){var _0x1888ef=_0x573a;return typeof _0x2d76bd==_0x1888ef(0x289)?_0x3622ff:_0x506df2;}return function(_0x3381b8){return{'encrypt':function(_0x317403,_0x36bcec,_0x4c2b2e){return _0x4116cd(_0x36bcec)['encrypt'](_0x3381b8,_0x317403,_0x36bcec,_0x4c2b2e);},'decrypt':function(_0x1b6e97,_0x81029d,_0x5e1919){var _0x311ffc=_0x573a;return _0x4116cd(_0x81029d)[_0x311ffc(0x1fa)](_0x3381b8,_0x1b6e97,_0x81029d,_0x5e1919);}};};}())});_0x543ad1[_0xbe9b0(0x1a1)]=_0x215352[_0xbe9b0(0x31f)]({'_doFinalize':function(){var _0x2ec6ad=_0xbe9b0,_0xea1fe=this[_0x2ec6ad(0x2c9)](!0x0);return _0xea1fe;},'blockSize':0x1});var _0x53d67b=_0x353036['mode']={},_0x379393=_0x543ad1[_0xbe9b0(0x3cb)]=_0x254fad['extend']({'createEncryptor':function(_0x49cecf,_0x3109a7){var _0x1ec827=_0xbe9b0;return this[_0x1ec827(0x29d)][_0x1ec827(0x4cc)](_0x49cecf,_0x3109a7);},'createDecryptor':function(_0x182969,_0x33a781){var _0x3bb44e=_0xbe9b0;return this[_0x3bb44e(0x511)][_0x3bb44e(0x4cc)](_0x182969,_0x33a781);},'init':function(_0x58e59b,_0x54aab2){var _0x34149a=_0xbe9b0;this[_0x34149a(0x217)]=_0x58e59b,this[_0x34149a(0x448)]=_0x54aab2;}}),_0x57f238=_0x53d67b['CBC']=(function(){var _0x52f753=_0xbe9b0,_0x1119bb=_0x379393[_0x52f753(0x31f)]();_0x1119bb[_0x52f753(0x29d)]=_0x1119bb['extend']({'processBlock':function(_0x39c1d7,_0x44d6ac){var _0x28964e=_0x52f753,_0x1efe49=this[_0x28964e(0x217)],_0x4ffdb6=_0x1efe49[_0x28964e(0x387)];_0x299bcc[_0x28964e(0x2d1)](this,_0x39c1d7,_0x44d6ac,_0x4ffdb6),_0x1efe49[_0x28964e(0x2d9)](_0x39c1d7,_0x44d6ac),this[_0x28964e(0x1ed)]=_0x39c1d7['slice'](_0x44d6ac,_0x44d6ac+_0x4ffdb6);}}),_0x1119bb[_0x52f753(0x511)]=_0x1119bb[_0x52f753(0x31f)]({'processBlock':function(_0x4b46a4,_0x1194f5){var _0x11913b=_0x52f753,_0x207dfa=this[_0x11913b(0x217)],_0x2f968b=_0x207dfa['blockSize'],_0x101574=_0x4b46a4['slice'](_0x1194f5,_0x1194f5+_0x2f968b);_0x207dfa[_0x11913b(0x25a)](_0x4b46a4,_0x1194f5),_0x299bcc[_0x11913b(0x2d1)](this,_0x4b46a4,_0x1194f5,_0x2f968b),this[_0x11913b(0x1ed)]=_0x101574;}});function _0x299bcc(_0x2a776d,_0x5c3c49,_0x52c00f){var _0x41602a=_0x52f753,_0x429b1b,_0xc54812=this[_0x41602a(0x448)];_0xc54812?(_0x429b1b=_0xc54812,this[_0x41602a(0x448)]=_0x324ca6):_0x429b1b=this['_prevBlock'];for(var _0xb6c0fb=0x0;_0xb6c0fb<_0x52c00f;_0xb6c0fb++)_0x2a776d[_0x5c3c49+_0xb6c0fb]^=_0x429b1b[_0xb6c0fb];}return _0x1119bb;}()),_0x438e29=_0x353036[_0xbe9b0(0x417)]={},_0x1ad88e=_0x438e29[_0xbe9b0(0x39e)]={'pad':function(_0x2da9f2,_0x1e5563){var _0x4006d0=_0xbe9b0;for(var _0x2b0ffd=_0x1e5563*0x4,_0xb9a3d5=_0x2b0ffd-_0x2da9f2[_0x4006d0(0x34f)]%_0x2b0ffd,_0x389aa2=_0xb9a3d5<<0x18|_0xb9a3d5<<0x10|_0xb9a3d5<<0x8|_0xb9a3d5,_0xcb98ad=[],_0x40374f=0x0;_0x40374f<_0xb9a3d5;_0x40374f+=0x4)_0xcb98ad[_0x4006d0(0x4a3)](_0x389aa2);var _0x317e39=_0x3d639a[_0x4006d0(0x4cc)](_0xcb98ad,_0xb9a3d5);_0x2da9f2[_0x4006d0(0x36e)](_0x317e39);},'unpad':function(_0x5f005e){var _0x100d2c=_0xbe9b0,_0x405de8=_0x5f005e[_0x100d2c(0x2c2)][_0x5f005e[_0x100d2c(0x34f)]-0x1>>>0x2]&0xff;_0x5f005e[_0x100d2c(0x34f)]-=_0x405de8;}};_0x543ad1[_0xbe9b0(0x309)]=_0x215352[_0xbe9b0(0x31f)]({'cfg':_0x215352[_0xbe9b0(0x1c9)][_0xbe9b0(0x31f)]({'mode':_0x57f238,'padding':_0x1ad88e}),'reset':function(){var _0x43547c=_0xbe9b0,_0xc38bb9;_0x215352[_0x43547c(0x439)][_0x43547c(0x2d1)](this);var _0x2484dc=this['cfg'],_0xcf74e4=_0x2484dc['iv'],_0x2af823=_0x2484dc[_0x43547c(0x34e)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0xc38bb9=_0x2af823[_0x43547c(0x47d)]:(_0xc38bb9=_0x2af823[_0x43547c(0x529)],this[_0x43547c(0x2d4)]=0x1),this['_mode']&&this[_0x43547c(0x43d)]['__creator']==_0xc38bb9?this['_mode'][_0x43547c(0x222)](this,_0xcf74e4&&_0xcf74e4[_0x43547c(0x2c2)]):(this['_mode']=_0xc38bb9[_0x43547c(0x2d1)](_0x2af823,this,_0xcf74e4&&_0xcf74e4[_0x43547c(0x2c2)]),this[_0x43547c(0x43d)]['__creator']=_0xc38bb9);},'_doProcessBlock':function(_0x487349,_0x13b5dc){var _0xbf95e0=_0xbe9b0;this[_0xbf95e0(0x43d)][_0xbf95e0(0x502)](_0x487349,_0x13b5dc);},'_doFinalize':function(){var _0x19f7be=_0xbe9b0,_0x21abd0,_0x57a862=this[_0x19f7be(0x1c9)][_0x19f7be(0x3bf)];return this[_0x19f7be(0x4d4)]==this[_0x19f7be(0x373)]?(_0x57a862['pad'](this[_0x19f7be(0x39d)],this[_0x19f7be(0x387)]),_0x21abd0=this[_0x19f7be(0x2c9)](!0x0)):(_0x21abd0=this['_process'](!0x0),_0x57a862[_0x19f7be(0x28a)](_0x21abd0)),_0x21abd0;},'blockSize':0x80/0x20});var _0x4eda08=_0x543ad1[_0xbe9b0(0x43f)]=_0x254fad[_0xbe9b0(0x31f)]({'init':function(_0x110149){this['mixIn'](_0x110149);},'toString':function(_0x187ef1){var _0x2838fe=_0xbe9b0;return(_0x187ef1||this[_0x2838fe(0x38f)])[_0x2838fe(0x418)](this);}}),_0x8e96cf=_0x353036[_0xbe9b0(0x48f)]={},_0x44d9af=_0x8e96cf[_0xbe9b0(0x435)]={'stringify':function(_0x21cd32){var _0x120739=_0xbe9b0,_0x3dc25a,_0x107b1a=_0x21cd32[_0x120739(0x385)],_0x531a47=_0x21cd32[_0x120739(0x419)];return _0x531a47?_0x3dc25a=_0x3d639a[_0x120739(0x4cc)]([0x53616c74,0x65645f5f])[_0x120739(0x36e)](_0x531a47)[_0x120739(0x36e)](_0x107b1a):_0x3dc25a=_0x107b1a,_0x3dc25a[_0x120739(0x520)](_0x33feb4);},'parse':function(_0x2107cf){var _0x59cb1e=_0xbe9b0,_0x3bb427,_0x53a816=_0x33feb4[_0x59cb1e(0x34b)](_0x2107cf),_0x9bdc96=_0x53a816[_0x59cb1e(0x2c2)];return _0x9bdc96[0x0]==0x53616c74&&_0x9bdc96[0x1]==0x65645f5f&&(_0x3bb427=_0x3d639a[_0x59cb1e(0x4cc)](_0x9bdc96['slice'](0x2,0x4)),_0x9bdc96['splice'](0x0,0x4),_0x53a816[_0x59cb1e(0x34f)]-=0x10),_0x4eda08['create']({'ciphertext':_0x53a816,'salt':_0x3bb427});}},_0x506df2=_0x543ad1[_0xbe9b0(0x524)]=_0x254fad[_0xbe9b0(0x31f)]({'cfg':_0x254fad['extend']({'format':_0x44d9af}),'encrypt':function(_0x19fb5b,_0x210e15,_0x39b572,_0x544bbb){var _0x529547=_0xbe9b0;_0x544bbb=this['cfg'][_0x529547(0x31f)](_0x544bbb);var _0x2175b6=_0x19fb5b[_0x529547(0x47d)](_0x39b572,_0x544bbb),_0x4e90e1=_0x2175b6[_0x529547(0x28b)](_0x210e15),_0x431622=_0x2175b6[_0x529547(0x1c9)];return _0x4eda08[_0x529547(0x4cc)]({'ciphertext':_0x4e90e1,'key':_0x39b572,'iv':_0x431622['iv'],'algorithm':_0x19fb5b,'mode':_0x431622['mode'],'padding':_0x431622[_0x529547(0x3bf)],'blockSize':_0x19fb5b[_0x529547(0x387)],'formatter':_0x544bbb['format']});},'decrypt':function(_0x4bd737,_0x9ec603,_0x4a6688,_0x75070d){var _0x360dd6=_0xbe9b0;_0x75070d=this[_0x360dd6(0x1c9)][_0x360dd6(0x31f)](_0x75070d),_0x9ec603=this[_0x360dd6(0x272)](_0x9ec603,_0x75070d['format']);var _0x2bec95=_0x4bd737[_0x360dd6(0x529)](_0x4a6688,_0x75070d)[_0x360dd6(0x28b)](_0x9ec603[_0x360dd6(0x385)]);return _0x2bec95;},'_parse':function(_0x1bad34,_0x43ae6c){var _0x540b35=_0xbe9b0;return typeof _0x1bad34==_0x540b35(0x289)?_0x43ae6c['parse'](_0x1bad34,this):_0x1bad34;}}),_0x14bbfe=_0x353036[_0xbe9b0(0x42d)]={},_0x3841dd=_0x14bbfe[_0xbe9b0(0x435)]={'execute':function(_0x5ebce3,_0x1806f2,_0x1ecf1a,_0x5b1abe,_0x4f5150){var _0x819f92=_0xbe9b0;if(_0x5b1abe||(_0x5b1abe=_0x3d639a[_0x819f92(0x1a7)](0x40/0x8)),_0x4f5150)var _0x1a6d45=_0x17b511[_0x819f92(0x4cc)]({'keySize':_0x1806f2+_0x1ecf1a,'hasher':_0x4f5150})[_0x819f92(0x345)](_0x5ebce3,_0x5b1abe);else var _0x1a6d45=_0x17b511[_0x819f92(0x4cc)]({'keySize':_0x1806f2+_0x1ecf1a})[_0x819f92(0x345)](_0x5ebce3,_0x5b1abe);var _0x100e06=_0x3d639a[_0x819f92(0x4cc)](_0x1a6d45['words'][_0x819f92(0x27f)](_0x1806f2),_0x1ecf1a*0x4);return _0x1a6d45[_0x819f92(0x34f)]=_0x1806f2*0x4,_0x4eda08[_0x819f92(0x4cc)]({'key':_0x1a6d45,'iv':_0x100e06,'salt':_0x5b1abe});}},_0x3622ff=_0x543ad1['PasswordBasedCipher']=_0x506df2[_0xbe9b0(0x31f)]({'cfg':_0x506df2[_0xbe9b0(0x1c9)][_0xbe9b0(0x31f)]({'kdf':_0x3841dd}),'encrypt':function(_0x445359,_0x22d1ac,_0x3fbf62,_0x1c29ac){var _0x20df53=_0xbe9b0;_0x1c29ac=this[_0x20df53(0x1c9)]['extend'](_0x1c29ac);var _0xacb973=_0x1c29ac['kdf'][_0x20df53(0x1ba)](_0x3fbf62,_0x445359['keySize'],_0x445359[_0x20df53(0x1bb)],_0x1c29ac[_0x20df53(0x419)],_0x1c29ac['hasher']);_0x1c29ac['iv']=_0xacb973['iv'];var _0x4b5477=_0x506df2[_0x20df53(0x20a)]['call'](this,_0x445359,_0x22d1ac,_0xacb973[_0x20df53(0x4cb)],_0x1c29ac);return _0x4b5477[_0x20df53(0x3c3)](_0xacb973),_0x4b5477;},'decrypt':function(_0x106409,_0x20b07a,_0x5cd80b,_0x46352c){var _0x5b0ff7=_0xbe9b0;_0x46352c=this['cfg']['extend'](_0x46352c),_0x20b07a=this['_parse'](_0x20b07a,_0x46352c[_0x5b0ff7(0x48f)]);var _0x57bbfe=_0x46352c[_0x5b0ff7(0x42d)][_0x5b0ff7(0x1ba)](_0x5cd80b,_0x106409['keySize'],_0x106409[_0x5b0ff7(0x1bb)],_0x20b07a[_0x5b0ff7(0x419)],_0x46352c[_0x5b0ff7(0x226)]);_0x46352c['iv']=_0x57bbfe['iv'];var _0x1de500=_0x506df2[_0x5b0ff7(0x1fa)][_0x5b0ff7(0x2d1)](this,_0x106409,_0x20b07a,_0x57bbfe[_0x5b0ff7(0x4cb)],_0x46352c);return _0x1de500;}});}();}));}(_0x56e6c0)),_0x56e6c0['exports'];}var _0x4f9845=_0x1d4c9d[_0x2229a0(0x20c)],_0x3145a8;function _0x3484b9(){var _0x2db368=_0x2229a0;return _0x3145a8||(_0x3145a8=0x1,function(_0x51c53a,_0x625e7){(function(_0x32305d,_0x3ece16,_0x4da55b){var _0xad7908=_0x573a;_0x51c53a[_0xad7908(0x20c)]=_0x3ece16(_0x1b8113(),_0x4fdf03(),_0x4c535b(),_0x1ff6ca(),_0x215449());}(_0x4f9845,function(_0x5264a4){var _0x35c07e=_0x573a;return(function(){var _0x1af60c=_0x573a,_0x280bc5=_0x5264a4,_0x225a6a=_0x280bc5['lib'],_0x840425=_0x225a6a['BlockCipher'],_0x3b7349=_0x280bc5['algo'],_0x341eb6=[],_0x4a6866=[],_0x1325b2=[],_0x4887f8=[],_0x9b023b=[],_0x17b5d=[],_0x131573=[],_0x358341=[],_0xc9bbc5=[],_0x319d4c=[];(function(){for(var _0x44d4ca=[],_0x1c6f61=0x0;_0x1c6f61<0x100;_0x1c6f61++)_0x1c6f61<0x80?_0x44d4ca[_0x1c6f61]=_0x1c6f61<<0x1:_0x44d4ca[_0x1c6f61]=_0x1c6f61<<0x1^0x11b;for(var _0x1bdead=0x0,_0x22bf34=0x0,_0x1c6f61=0x0;_0x1c6f61<0x100;_0x1c6f61++){var _0x2e933f=_0x22bf34^_0x22bf34<<0x1^_0x22bf34<<0x2^_0x22bf34<<0x3^_0x22bf34<<0x4;_0x2e933f=_0x2e933f>>>0x8^_0x2e933f&0xff^0x63,_0x341eb6[_0x1bdead]=_0x2e933f,_0x4a6866[_0x2e933f]=_0x1bdead;var _0x2a9f22=_0x44d4ca[_0x1bdead],_0x3b0468=_0x44d4ca[_0x2a9f22],_0x27d828=_0x44d4ca[_0x3b0468],_0x107e89=_0x44d4ca[_0x2e933f]*0x101^_0x2e933f*0x1010100;_0x1325b2[_0x1bdead]=_0x107e89<<0x18|_0x107e89>>>0x8,_0x4887f8[_0x1bdead]=_0x107e89<<0x10|_0x107e89>>>0x10,_0x9b023b[_0x1bdead]=_0x107e89<<0x8|_0x107e89>>>0x18,_0x17b5d[_0x1bdead]=_0x107e89;var _0x107e89=_0x27d828*0x1010101^_0x3b0468*0x10001^_0x2a9f22*0x101^_0x1bdead*0x1010100;_0x131573[_0x2e933f]=_0x107e89<<0x18|_0x107e89>>>0x8,_0x358341[_0x2e933f]=_0x107e89<<0x10|_0x107e89>>>0x10,_0xc9bbc5[_0x2e933f]=_0x107e89<<0x8|_0x107e89>>>0x18,_0x319d4c[_0x2e933f]=_0x107e89,_0x1bdead?(_0x1bdead=_0x2a9f22^_0x44d4ca[_0x44d4ca[_0x44d4ca[_0x27d828^_0x2a9f22]]],_0x22bf34^=_0x44d4ca[_0x44d4ca[_0x22bf34]]):_0x1bdead=_0x22bf34=0x1;}}());var _0xb862a5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f61cf=_0x3b7349[_0x1af60c(0x1b2)]=_0x840425[_0x1af60c(0x31f)]({'_doReset':function(){var _0x42d296=_0x1af60c,_0x3a897c;if(!(this[_0x42d296(0x3cf)]&&this['_keyPriorReset']===this[_0x42d296(0x443)])){for(var _0x55d76f=this['_keyPriorReset']=this[_0x42d296(0x443)],_0x2eff80=_0x55d76f[_0x42d296(0x2c2)],_0x33f3ce=_0x55d76f[_0x42d296(0x34f)]/0x4,_0x980a34=this[_0x42d296(0x3cf)]=_0x33f3ce+0x6,_0x362183=(_0x980a34+0x1)*0x4,_0x34c562=this[_0x42d296(0x348)]=[],_0x5ad2ba=0x0;_0x5ad2ba<_0x362183;_0x5ad2ba++)_0x5ad2ba<_0x33f3ce?_0x34c562[_0x5ad2ba]=_0x2eff80[_0x5ad2ba]:(_0x3a897c=_0x34c562[_0x5ad2ba-0x1],_0x5ad2ba%_0x33f3ce?_0x33f3ce>0x6&&_0x5ad2ba%_0x33f3ce==0x4&&(_0x3a897c=_0x341eb6[_0x3a897c>>>0x18]<<0x18|_0x341eb6[_0x3a897c>>>0x10&0xff]<<0x10|_0x341eb6[_0x3a897c>>>0x8&0xff]<<0x8|_0x341eb6[_0x3a897c&0xff]):(_0x3a897c=_0x3a897c<<0x8|_0x3a897c>>>0x18,_0x3a897c=_0x341eb6[_0x3a897c>>>0x18]<<0x18|_0x341eb6[_0x3a897c>>>0x10&0xff]<<0x10|_0x341eb6[_0x3a897c>>>0x8&0xff]<<0x8|_0x341eb6[_0x3a897c&0xff],_0x3a897c^=_0xb862a5[_0x5ad2ba/_0x33f3ce|0x0]<<0x18),_0x34c562[_0x5ad2ba]=_0x34c562[_0x5ad2ba-_0x33f3ce]^_0x3a897c);for(var _0x1a9c85=this[_0x42d296(0x30b)]=[],_0x2057ab=0x0;_0x2057ab<_0x362183;_0x2057ab++){var _0x5ad2ba=_0x362183-_0x2057ab;if(_0x2057ab%0x4)var _0x3a897c=_0x34c562[_0x5ad2ba];else var _0x3a897c=_0x34c562[_0x5ad2ba-0x4];_0x2057ab<0x4||_0x5ad2ba<=0x4?_0x1a9c85[_0x2057ab]=_0x3a897c:_0x1a9c85[_0x2057ab]=_0x131573[_0x341eb6[_0x3a897c>>>0x18]]^_0x358341[_0x341eb6[_0x3a897c>>>0x10&0xff]]^_0xc9bbc5[_0x341eb6[_0x3a897c>>>0x8&0xff]]^_0x319d4c[_0x341eb6[_0x3a897c&0xff]];}}},'encryptBlock':function(_0xa30b60,_0x481d5b){var _0x34e920=_0x1af60c;this[_0x34e920(0x2f2)](_0xa30b60,_0x481d5b,this[_0x34e920(0x348)],_0x1325b2,_0x4887f8,_0x9b023b,_0x17b5d,_0x341eb6);},'decryptBlock':function(_0x105684,_0x5e2f8c){var _0x7ee24f=_0x105684[_0x5e2f8c+0x1];_0x105684[_0x5e2f8c+0x1]=_0x105684[_0x5e2f8c+0x3],_0x105684[_0x5e2f8c+0x3]=_0x7ee24f,this['_doCryptBlock'](_0x105684,_0x5e2f8c,this['_invKeySchedule'],_0x131573,_0x358341,_0xc9bbc5,_0x319d4c,_0x4a6866);var _0x7ee24f=_0x105684[_0x5e2f8c+0x1];_0x105684[_0x5e2f8c+0x1]=_0x105684[_0x5e2f8c+0x3],_0x105684[_0x5e2f8c+0x3]=_0x7ee24f;},'_doCryptBlock':function(_0x213c08,_0x2dddfe,_0x22b064,_0x20f0c9,_0x4fe76e,_0x3d116a,_0x158df3,_0x5e8195){for(var _0x2ba7d3=this['_nRounds'],_0x34603b=_0x213c08[_0x2dddfe]^_0x22b064[0x0],_0x36c3a0=_0x213c08[_0x2dddfe+0x1]^_0x22b064[0x1],_0x1d1f1f=_0x213c08[_0x2dddfe+0x2]^_0x22b064[0x2],_0x1f98c9=_0x213c08[_0x2dddfe+0x3]^_0x22b064[0x3],_0x577bd8=0x4,_0x47e9b7=0x1;_0x47e9b7<_0x2ba7d3;_0x47e9b7++){var _0x457db1=_0x20f0c9[_0x34603b>>>0x18]^_0x4fe76e[_0x36c3a0>>>0x10&0xff]^_0x3d116a[_0x1d1f1f>>>0x8&0xff]^_0x158df3[_0x1f98c9&0xff]^_0x22b064[_0x577bd8++],_0x66fcd0=_0x20f0c9[_0x36c3a0>>>0x18]^_0x4fe76e[_0x1d1f1f>>>0x10&0xff]^_0x3d116a[_0x1f98c9>>>0x8&0xff]^_0x158df3[_0x34603b&0xff]^_0x22b064[_0x577bd8++],_0x1b812e=_0x20f0c9[_0x1d1f1f>>>0x18]^_0x4fe76e[_0x1f98c9>>>0x10&0xff]^_0x3d116a[_0x34603b>>>0x8&0xff]^_0x158df3[_0x36c3a0&0xff]^_0x22b064[_0x577bd8++],_0x140ecb=_0x20f0c9[_0x1f98c9>>>0x18]^_0x4fe76e[_0x34603b>>>0x10&0xff]^_0x3d116a[_0x36c3a0>>>0x8&0xff]^_0x158df3[_0x1d1f1f&0xff]^_0x22b064[_0x577bd8++];_0x34603b=_0x457db1,_0x36c3a0=_0x66fcd0,_0x1d1f1f=_0x1b812e,_0x1f98c9=_0x140ecb;}var _0x457db1=(_0x5e8195[_0x34603b>>>0x18]<<0x18|_0x5e8195[_0x36c3a0>>>0x10&0xff]<<0x10|_0x5e8195[_0x1d1f1f>>>0x8&0xff]<<0x8|_0x5e8195[_0x1f98c9&0xff])^_0x22b064[_0x577bd8++],_0x66fcd0=(_0x5e8195[_0x36c3a0>>>0x18]<<0x18|_0x5e8195[_0x1d1f1f>>>0x10&0xff]<<0x10|_0x5e8195[_0x1f98c9>>>0x8&0xff]<<0x8|_0x5e8195[_0x34603b&0xff])^_0x22b064[_0x577bd8++],_0x1b812e=(_0x5e8195[_0x1d1f1f>>>0x18]<<0x18|_0x5e8195[_0x1f98c9>>>0x10&0xff]<<0x10|_0x5e8195[_0x34603b>>>0x8&0xff]<<0x8|_0x5e8195[_0x36c3a0&0xff])^_0x22b064[_0x577bd8++],_0x140ecb=(_0x5e8195[_0x1f98c9>>>0x18]<<0x18|_0x5e8195[_0x34603b>>>0x10&0xff]<<0x10|_0x5e8195[_0x36c3a0>>>0x8&0xff]<<0x8|_0x5e8195[_0x1d1f1f&0xff])^_0x22b064[_0x577bd8++];_0x213c08[_0x2dddfe]=_0x457db1,_0x213c08[_0x2dddfe+0x1]=_0x66fcd0,_0x213c08[_0x2dddfe+0x2]=_0x1b812e,_0x213c08[_0x2dddfe+0x3]=_0x140ecb;},'keySize':0x100/0x20});_0x280bc5[_0x1af60c(0x1b2)]=_0x840425['_createHelper'](_0x3f61cf);}()),_0x5264a4[_0x35c07e(0x1b2)];}));}(_0x1d4c9d)),_0x1d4c9d[_0x2db368(0x20c)];}var _0x3c5494=_0x3484b9();const _0x1f8401=_0x5afa2c(_0x3c5494);var _0x2d3089=_0x4fdf03();const _0x223d77=_0x5afa2c(_0x2d3089);var _0x29a279={'exports':{}},_0x1d8036=_0x29a279[_0x2229a0(0x20c)],_0x317627;function _0x2ccc4c(){var _0x58bcf7=_0x2229a0;return _0x317627||(_0x317627=0x1,function(_0x1dac5e,_0x54ad7d){(function(_0x396e69,_0x3149be){var _0x8dfe85=_0x573a;_0x1dac5e[_0x8dfe85(0x20c)]=_0x3149be(_0x1b8113());}(_0x1d8036,function(_0x44cf56){var _0x3e0080=_0x573a;return _0x44cf56[_0x3e0080(0x230)]['Utf8'];}));}(_0x29a279)),_0x29a279[_0x58bcf7(0x20c)];}var _0x1bc40e=_0x2ccc4c();const _0x16d5b6=_0x5afa2c(_0x1bc40e);var _0x29c63f={'exports':{}},_0x10dcc0=_0x29c63f['exports'],_0x4dadc3;function _0x4e145f(){var _0x54ed6c=_0x2229a0;return _0x4dadc3||(_0x4dadc3=0x1,function(_0x5a11ce,_0x3b3275){(function(_0xdbccff,_0x41adf8){var _0x820d9c=_0x573a;_0x5a11ce[_0x820d9c(0x20c)]=_0x41adf8(_0x1b8113());}(_0x10dcc0,function(_0xaef276){var _0x12bafc=_0x573a;return(function(){var _0x427c28=_0x573a;if(typeof ArrayBuffer==_0x427c28(0x3a3)){var _0x5b3671=_0xaef276,_0x1f4a7b=_0x5b3671['lib'],_0x1f7752=_0x1f4a7b['WordArray'],_0x5949d0=_0x1f7752[_0x427c28(0x222)],_0x15c073=_0x1f7752[_0x427c28(0x222)]=function(_0x306cb8){var _0x5426af=_0x427c28;if(_0x306cb8 instanceof ArrayBuffer&&(_0x306cb8=new Uint8Array(_0x306cb8)),(_0x306cb8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x306cb8 instanceof Uint8ClampedArray||_0x306cb8 instanceof Int16Array||_0x306cb8 instanceof Uint16Array||_0x306cb8 instanceof Int32Array||_0x306cb8 instanceof Uint32Array||_0x306cb8 instanceof Float32Array||_0x306cb8 instanceof Float64Array)&&(_0x306cb8=new Uint8Array(_0x306cb8[_0x5426af(0x52d)],_0x306cb8[_0x5426af(0x2b1)],_0x306cb8[_0x5426af(0x2e0)])),_0x306cb8 instanceof Uint8Array){for(var _0x4dafc4=_0x306cb8[_0x5426af(0x2e0)],_0x59eb7d=[],_0x5923d6=0x0;_0x5923d6<_0x4dafc4;_0x5923d6++)_0x59eb7d[_0x5923d6>>>0x2]|=_0x306cb8[_0x5923d6]<<0x18-_0x5923d6%0x4*0x8;_0x5949d0[_0x5426af(0x2d1)](this,_0x59eb7d,_0x4dafc4);}else _0x5949d0['apply'](this,arguments);};_0x15c073[_0x427c28(0x362)]=_0x1f7752;}}()),_0xaef276[_0x12bafc(0x532)]['WordArray'];}));}(_0x29c63f)),_0x29c63f[_0x54ed6c(0x20c)];}var _0x15c2d9=_0x4e145f();const _0x1737b5=_0x5afa2c(_0x15c2d9);var _0x44b6db={'exports':{}},_0x4f9b5b=_0x44b6db[_0x2229a0(0x20c)],_0x1030cc;function _0x9517bb(){var _0x23456e=_0x2229a0;return _0x1030cc||(_0x1030cc=0x1,function(_0x40c453,_0x5dd361){(function(_0x146f8f,_0x4c02b9,_0x16347c){var _0x40fdfd=_0x573a;_0x40c453[_0x40fdfd(0x20c)]=_0x4c02b9(_0x1b8113(),_0x215449());}(_0x4f9b5b,function(_0x3319bd){var _0x420056=_0x573a;return _0x3319bd[_0x420056(0x417)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3319bd[_0x420056(0x417)][_0x420056(0x265)];}));}(_0x44b6db)),_0x44b6db[_0x23456e(0x20c)];}var _0x7830d5=_0x9517bb();const _0x505b05=_0x5afa2c(_0x7830d5);function _0x2f39ca(_0x3f7037,_0x58bd1c){var _0x1c102b=_0x2229a0;const _0x845c06=_0x58bd1c-_0x3f7037[_0x1c102b(0x316)]%_0x58bd1c,_0x42386b=String[_0x1c102b(0x1b0)](_0x845c06)[_0x1c102b(0x4aa)](_0x845c06);return _0x3f7037+_0x42386b;}function _0x785fd2(_0x291de1,_0x332525){var _0x5d6d6a=_0x2229a0;const _0x3f77e1=_0x1737b5[_0x5d6d6a(0x1a7)](0x10),_0xe68f01=_0x2f39ca(_0x291de1,0x10),_0x44e01e=_0x1f8401[_0x5d6d6a(0x20a)](_0x16d5b6[_0x5d6d6a(0x34b)](_0xe68f01),_0x223d77[_0x5d6d6a(0x34b)](_0x332525),{'iv':_0x3f77e1,'padding':_0x505b05});return _0x3f77e1['concat'](_0x44e01e[_0x5d6d6a(0x385)])[_0x5d6d6a(0x520)](_0x223d77);}function _0x24183f(){var _0x194b38=_0x2229a0;const _0x976237=_0x4b2b6c['getGlobalObject']()[_0x194b38(0x249)];if(typeof window<'u'&&typeof window['location']<'u'&&_0x976237){const _0x34ff42={'time':Math[_0x194b38(0x453)](Date['now']()/0x3e8),'domain':location[_0x194b38(0x525)]};return _0x785fd2(JSON[_0x194b38(0x418)](_0x34ff42),_0x976237);}}var _0x3173dd=Object['getOwnPropertyDescriptor'],_0x5ac8a3=(_0x316d0d,_0x1643d2,_0x312b29,_0x46c7ff)=>{var _0x4f0673=_0x2229a0;for(var _0x3d7362=_0x46c7ff>0x1?void 0x0:_0x46c7ff?_0x3173dd(_0x1643d2,_0x312b29):_0x1643d2,_0x5ba2b5=_0x316d0d[_0x4f0673(0x316)]-0x1,_0x13d7ae;_0x5ba2b5>=0x0;_0x5ba2b5--)(_0x13d7ae=_0x316d0d[_0x5ba2b5])&&(_0x3d7362=_0x13d7ae(_0x3d7362)||_0x3d7362);return _0x3d7362;},_0x11a146=(_0x2ad62b,_0x14af00)=>(_0x24176d,_0x104249)=>_0x14af00(_0x24176d,_0x104249,_0x2ad62b);let _0xfc7ebc=class{constructor(_0x453dde){var _0x403c43=_0x2229a0;this['_httpService']=_0x453dde,this[_0x403c43(0x299)]();}[_0x2229a0(0x299)](){var _0x174487=_0x2229a0;this[_0x174487(0x510)]['registerHTTPInterceptor']({'interceptor':(_0x6f8728,_0x54fbb2)=>{var _0x16829d=_0x174487;const _0x473429=_0x6f8728[_0x16829d(0x44b)],_0x36d3c4=_0x24183f();return _0x36d3c4&&_0x473429[_0x16829d(0x3a6)](_0x16829d(0x2fb),_0x36d3c4),_0x54fbb2(_0x6f8728);}});}};_0xfc7ebc=_0x5ac8a3([_0x11a146(0x0,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)]))],_0xfc7ebc);var _0x13ed95=Object[_0x2229a0(0x330)],_0x596de=(_0x5ddd35,_0x5ad850,_0x4b2ab8,_0x48c9ad)=>{var _0x4e5278=_0x2229a0;for(var _0x4f9670=_0x48c9ad>0x1?void 0x0:_0x48c9ad?_0x13ed95(_0x5ad850,_0x4b2ab8):_0x5ad850,_0x2b9b52=_0x5ddd35[_0x4e5278(0x316)]-0x1,_0x1c572c;_0x2b9b52>=0x0;_0x2b9b52--)(_0x1c572c=_0x5ddd35[_0x2b9b52])&&(_0x4f9670=_0x1c572c(_0x4f9670)||_0x4f9670);return _0x4f9670;},_0x35c7fd=(_0x2bebdd,_0x2c6472)=>(_0x45c5ba,_0x2815fa)=>_0x2c6472(_0x45c5ba,_0x2815fa,_0x2bebdd);_0x5e3fa4[_0x2229a0(0x4ec)]=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x515a10,_0x5ab780,_0x4b924a){var _0x32c2e5=_0x2229a0;super(),_0x4b59b5(this,_0x32c2e5(0x327),new _0x32f9ef[(_0x32c2e5(0x3ce))](null)),_0x4b59b5(this,_0x32c2e5(0x1a0),this[_0x32c2e5(0x327)][_0x32c2e5(0x1d1)]()),(this['_logService']=_0x515a10,this[_0x32c2e5(0x3dd)]=_0x5ab780,this['_localCacheService']=_0x4b924a);}async['loadUnitOfRevision'](_0xda567f,_0xcc5934,_0x5e0a69){var _0xeace81=_0x2229a0;this[_0xeace81(0x327)][_0xeace81(0x393)]({'unitId':_0xda567f,'type':_0xcc5934});let _0x10d333=null;switch(_0xcc5934){case _0x24c96d[_0xeace81(0x394)]:{_0x10d333=await this[_0xeace81(0x3dd)][_0xeace81(0x297)](_0xda567f,_0x5e0a69);break;}case _0x24c96d['UNIVER_DOC']:{_0x10d333=await this[_0xeace81(0x3dd)]['loadDoc'](_0xda567f,_0x5e0a69);break;}default:{this[_0xeace81(0x501)]['error'](_0xeace81(0x42b),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x10d333;}async['loadUnit'](_0x4ec3c2,_0xc634d8,_0x6841ec){var _0xf44a8f=_0x2229a0,_0x44ecdc;this[_0xf44a8f(0x327)]['next']({'unitId':_0x4ec3c2,'type':_0xc634d8,'subUnitId':_0x6841ec});let _0x3fd001=0x0;const _0x301030=await((_0x44ecdc=this['_localCacheService'])==null?void 0x0:_0x44ecdc[_0xf44a8f(0x28f)](_0x4ec3c2));return _0x301030&&(_0x301030[_0xf44a8f(0x1c2)]||_0x301030[_0xf44a8f(0x3b3)]['length']!==0x0)&&(_0x3fd001=_0x301030[_0xf44a8f(0x50c)]),_0x3fd001===0x0&&this[_0xf44a8f(0x501)]['debug'](_0xf44a8f(0x42b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xf44a8f(0x1cd)](_0x4ec3c2,_0xc634d8,_0x3fd001);}},_0x5e3fa4[_0x2229a0(0x4ec)]=_0x596de([_0x35c7fd(0x0,_0x158513['ILogService']),_0x35c7fd(0x1,_0x158513[_0x2229a0(0x1c1)](_0x35009e['SnapshotService'])),_0x35c7fd(0x2,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x4ec)]);var _0x392260=Object['getOwnPropertyDescriptor'],_0xbfce8b=(_0x5ed7b3,_0x5cb32a,_0x2cd55a,_0x41d60b)=>{for(var _0x1ad2cb=_0x41d60b>0x1?void 0x0:_0x41d60b?_0x392260(_0x5cb32a,_0x2cd55a):_0x5cb32a,_0x1f9aaa=_0x5ed7b3['length']-0x1,_0x5710fa;_0x1f9aaa>=0x0;_0x1f9aaa--)(_0x5710fa=_0x5ed7b3[_0x1f9aaa])&&(_0x1ad2cb=_0x5710fa(_0x1ad2cb)||_0x1ad2cb);return _0x1ad2cb;},_0xd19d7b=(_0x1eeff6,_0x314977)=>(_0x53b6b8,_0x1d7a9e)=>_0x314977(_0x53b6b8,_0x1d7a9e,_0x1eeff6);const _0x66c128=[_0x2229a0(0x38c),_0x2229a0(0x4dc),_0x2229a0(0x3ec),_0x2229a0(0x4df),_0x2229a0(0x411)],_0x5d0c92=0x5*0x400*0x400,_0x3d37b0=_0x2229a0(0x32b),_0x3e918f=_0x2229a0(0x4e8);_0x5e3fa4['CollaborationImageIoService']=class{constructor(_0x5ad0d0,_0x522af4,_0x3ecfb9){var _0x144d67=_0x2229a0;_0x4b59b5(this,'_waitCount',0x0),_0x4b59b5(this,'_change$',new _0x32f9ef[(_0x144d67(0x2e1))]()),_0x4b59b5(this,_0x144d67(0x3a8),this[_0x144d67(0x37f)]),_0x4b59b5(this,'_imageSourceCache',new Map()),(this[_0x144d67(0x510)]=_0x5ad0d0,this['_configService']=_0x522af4,this[_0x144d67(0x1ae)]=_0x3ecfb9);}[_0x2229a0(0x51a)](_0x2345ad){var _0x414b5a=_0x2229a0;this[_0x414b5a(0x32d)]=_0x2345ad,this[_0x414b5a(0x37f)][_0x414b5a(0x393)](_0x2345ad);}['getImageSourceCache'](_0x3f1459,_0x396f10){var _0x331c32=_0x2229a0;if(_0x396f10===_0x2bf003[_0x331c32(0x21a)][_0x331c32(0x318)]){const _0x1d2bac=new Image();return _0x1d2bac[_0x331c32(0x26a)]=_0x3f1459,_0x1d2bac;}return this[_0x331c32(0x1ef)][_0x331c32(0x444)](_0x3f1459);}[_0x2229a0(0x1f3)](_0x46a801,_0x294203,_0x7ffe23){var _0x348a17=_0x2229a0;_0x294203===_0x2bf003[_0x348a17(0x21a)]['BASE64']||_0x7ffe23==null||this[_0x348a17(0x1ef)][_0x348a17(0x3a6)](_0x46a801,_0x7ffe23);}async['getImage'](_0x5ef339){var _0x3f43ac=_0x2229a0;try{const _0x4a89a4=this[_0x3f43ac(0x333)](this[_0x3f43ac(0x2c6)](),''+_0x5ef339),_0x38cf5d=(await this['_httpService']['get'](_0x4a89a4))[_0x3f43ac(0x341)];if(_0x38cf5d['error']&&_0x38cf5d['error'][_0x3f43ac(0x2f8)]===_0x2878f7['OK']){const _0x5c6139=_0x158513['resolveWithBasePath'](_0x38cf5d['url'],this['_getDownloadEndpointURL']());return Promise[_0x3f43ac(0x3d6)](_0x5c6139);}return Promise['reject'](_0x38cf5d['error']);}catch(_0x497cae){return Promise[_0x3f43ac(0x232)](_0x497cae);}}async['saveImage'](_0x4538c1){var _0x66fc46=_0x2229a0;let _0x2b27cc='';if(!_0x66c128[_0x66fc46(0x1a8)](_0x4538c1[_0x66fc46(0x4b3)]))return this[_0x66fc46(0x1c0)](),Promise[_0x66fc46(0x232)](new Error(_0x2bf003[_0x66fc46(0x1be)][_0x66fc46(0x234)]));if(_0x4538c1[_0x66fc46(0x4f0)]>_0x5d0c92)return this[_0x66fc46(0x1c0)](),Promise['reject'](new Error(_0x2bf003['ImageUploadStatusType'][_0x66fc46(0x19b)]));try{const _0x4adf87=new FormData();_0x4adf87[_0x66fc46(0x201)](_0x66fc46(0x470),_0x4538c1);const _0x79aada=this[_0x66fc46(0x1ae)][_0x66fc46(0x40e)](),_0x4fdd2b=_0x79aada==null?void 0x0:_0x79aada['getUnitId']();if(!_0x4fdd2b)throw new Error(_0x66fc46(0x32c));const _0x2a5a66=this[_0x66fc46(0x344)]()+_0x66fc46(0x486)+_0x4538c1[_0x66fc46(0x4f0)][_0x66fc46(0x520)]()+_0x66fc46(0x2eb)+_0x1b6d95[_0x66fc46(0x1dd)]+'&assign='+encodeURIComponent(_0x4fdd2b),_0x3b8c35={'body':_0x4adf87},_0x1a86e6=(await this[_0x66fc46(0x510)][_0x66fc46(0x3f4)](_0x2a5a66,_0x3b8c35))[_0x66fc46(0x341)];if(typeof _0x1a86e6['FileId']!='string')return this[_0x66fc46(0x1c0)](),Promise[_0x66fc46(0x232)](new Error(_0x2bf003[_0x66fc46(0x1be)]['ERROR_IMAGE']));_0x2b27cc=_0x1a86e6[_0x66fc46(0x4ab)];}catch{return this[_0x66fc46(0x1c0)](),Promise[_0x66fc46(0x232)](new Error(_0x2bf003[_0x66fc46(0x1be)][_0x66fc46(0x2fe)]));}return new Promise((_0x468642,_0x5d4b2e)=>{var _0x28318b=_0x66fc46;const _0x23669c=new FileReader();_0x23669c[_0x28318b(0x2cf)](_0x4538c1),_0x23669c[_0x28318b(0x27d)]=_0x34d06f=>{var _0x6bb38=_0x28318b,_0x1a0bac;const _0x8a9631=(_0x1a0bac=_0x34d06f[_0x6bb38(0x3fe)])==null?void 0x0:_0x1a0bac[_0x6bb38(0x3e2)];if(_0x8a9631==null){this[_0x6bb38(0x1c0)](),_0x5d4b2e(new Error(_0x2bf003[_0x6bb38(0x1be)][_0x6bb38(0x2fe)]));return;}const _0x130f3a=_0x158513[_0x6bb38(0x2db)](0x6);_0x468642({'imageId':_0x130f3a,'imageSourceType':_0x2bf003['ImageSourceType'][_0x6bb38(0x26b)],'source':_0x2b27cc,'base64Cache':_0x8a9631,'status':_0x2bf003[_0x6bb38(0x1be)][_0x6bb38(0x442)]}),this[_0x6bb38(0x1c0)]();};});}[_0x2229a0(0x344)](){var _0x296a11=_0x2229a0,_0x5d28b3;const _0x1d9339=this[_0x296a11(0x24f)][_0x296a11(0x247)](_0x5e0130);return(_0x5d28b3=_0x1d9339==null?void 0x0:_0x1d9339[_0x296a11(0x36f)])!=null?_0x5d28b3:_0x3d37b0;}['_getSignURL'](){var _0x2612b0=_0x2229a0,_0x5c9170;const _0x3c4aab=this[_0x2612b0(0x24f)][_0x2612b0(0x247)](_0x5e0130);return(_0x5c9170=_0x3c4aab==null?void 0x0:_0x3c4aab['signUrlServerUrl'])!=null?_0x5c9170:_0x3e918f;}[_0x2229a0(0x1fd)](){var _0x128974=_0x2229a0,_0x3a6452;const _0x28fb07=this[_0x128974(0x24f)][_0x128974(0x247)](_0x5e0130);return(_0x3a6452=_0x28fb07==null?void 0x0:_0x28fb07['downloadEndpointUrl'])!=null?_0x3a6452:location[_0x128974(0x2dc)];}[_0x2229a0(0x333)](_0x37865a,_0x5a01ee){var _0x2c072e=_0x2229a0;return _0x37865a[_0x2c072e(0x3af)]('{fileID}',_0x5a01ee);}[_0x2229a0(0x1c0)](){var _0x7eb51e=_0x2229a0;this[_0x7eb51e(0x32d)]-=0x1,this[_0x7eb51e(0x37f)][_0x7eb51e(0x393)](this['_waitCount']);}},_0x5e3fa4['CollaborationImageIoService']=_0xbfce8b([_0xd19d7b(0x0,_0x158513['Inject'](_0x5b6221[_0x2229a0(0x1c8)])),_0xd19d7b(0x1,_0x158513[_0x2229a0(0x4c2)]),_0xd19d7b(0x2,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x4ad)]))],_0x5e3fa4[_0x2229a0(0x2b7)]);var _0x1b72a1=Object['getOwnPropertyDescriptor'],_0x50aa69=(_0x586c85,_0x1573eb,_0x122824,_0x269269)=>{var _0x48c97a=_0x2229a0;for(var _0x31e345=_0x269269>0x1?void 0x0:_0x269269?_0x1b72a1(_0x1573eb,_0x122824):_0x1573eb,_0x7dda5b=_0x586c85[_0x48c97a(0x316)]-0x1,_0x5a66f9;_0x7dda5b>=0x0;_0x7dda5b--)(_0x5a66f9=_0x586c85[_0x7dda5b])&&(_0x31e345=_0x5a66f9(_0x31e345)||_0x31e345);return _0x31e345;},_0x4d8d81=(_0x55b691,_0x128c54)=>(_0x149794,_0x299223)=>_0x128c54(_0x149794,_0x299223,_0x55b691);const _0x21400e=_0x2229a0(0x4fb);_0x5e3fa4[_0x2229a0(0x471)]=class{constructor(_0x1ced79,_0x21a7ce){var _0x40c873=_0x2229a0;this[_0x40c873(0x24f)]=_0x1ced79,this[_0x40c873(0x49d)]=_0x21a7ce;}[_0x2229a0(0x50f)](){var _0x589107=_0x2229a0,_0x211588;const _0x5632ab=this[_0x589107(0x24f)]['getConfig'](_0x5e0130);return(_0x211588=_0x5632ab==null?void 0x0:_0x5632ab[_0x589107(0x4a5)])!=null?_0x211588:_0x21400e;}async['list'](_0x5b6407){var _0x1fafb6=_0x2229a0;const _0x2cfa3c=this[_0x1fafb6(0x50f)]()+'/collaborator';return{'list':[{'title':_0x1fafb6(0x509),'mentions':(await this[_0x1fafb6(0x49d)][_0x1fafb6(0x444)](_0x2cfa3c,{'params':{'objectID':_0x5b6407[_0x1fafb6(0x506)],'unitID':_0x5b6407[_0x1fafb6(0x506)]}}))['body'][_0x1fafb6(0x4a8)][_0x1fafb6(0x1d8)](_0x4e07f5=>({'objectId':_0x4e07f5['id'],'name':_0x4e07f5[_0x1fafb6(0x434)]['name'],'metadata':{'icon':_0x4e07f5['subject'][_0x1fafb6(0x2ee)]},'label':_0x4e07f5[_0x1fafb6(0x434)]['name'],'objectType':_0x158513['MentionType'][_0x1fafb6(0x472)]})),'metadata':{},'type':_0x158513[_0x1fafb6(0x276)]['PERSON']}]};}},_0x5e3fa4[_0x2229a0(0x471)]=_0x50aa69([_0x4d8d81(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x4c2)])),_0x4d8d81(0x1,_0x158513['Inject'](_0x5b6221[_0x2229a0(0x1c8)]))],_0x5e3fa4['MentionIoHttpService']);var _0x23dec3=Object[_0x2229a0(0x330)],_0x2fb8dd=(_0x5cc208,_0x5dfa8e,_0x200307,_0x11bf33)=>{var _0x5e055e=_0x2229a0;for(var _0x58dfbe=_0x11bf33>0x1?void 0x0:_0x11bf33?_0x23dec3(_0x5dfa8e,_0x200307):_0x5dfa8e,_0x3d066b=_0x5cc208[_0x5e055e(0x316)]-0x1,_0x472a7a;_0x3d066b>=0x0;_0x3d066b--)(_0x472a7a=_0x5cc208[_0x3d066b])&&(_0x58dfbe=_0x472a7a(_0x58dfbe)||_0x58dfbe);return _0x58dfbe;},_0x3604ad=(_0x5be16e,_0x833606)=>(_0x51c6f9,_0x1e506a)=>_0x833606(_0x51c6f9,_0x1e506a,_0x5be16e);let _0x38cfa4=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x2d5f72,_0x539e3d,_0x4deeac,_0x38ae3c,_0x525949){var _0x322bc0=_0x2229a0;super(),this[_0x322bc0(0x315)]=_0x2d5f72,this[_0x322bc0(0x1ae)]=_0x539e3d,this[_0x322bc0(0x4c1)]=_0x4deeac,this[_0x322bc0(0x4d2)]=_0x38ae3c,this['_collaborationUIEventService']=_0x525949,this[_0x322bc0(0x4fd)](),this[_0x322bc0(0x20d)]();}[_0x2229a0(0x20d)](){var _0x4d3b95=_0x2229a0;const _0x418f3d=async _0x34ed4a=>{var _0x53880b=_0x573a;(await this[_0x53880b(0x4d2)][_0x53880b(0x264)](_0x34ed4a))[_0x53880b(0x413)][_0x53880b(0x3fa)](_0x16efa3['filter'](_0x418663=>_0x418663[_0x53880b(0x40a)]===_0x35009e[_0x53880b(0x499)][_0x53880b(0x2ff)]),_0x16efa3['takeUntil'](this[_0x53880b(0x4ce)]))[_0x53880b(0x206)](_0x47ab45=>{var _0x33761d=_0x53880b;const _0x51c6a6=_0x47ab45,{reason:_0x478fc4}=_0x51c6a6[_0x33761d(0x214)];this['_collaborationUIEventService']['emitEvent']({'id':_0x306c72[_0x33761d(0x20e)],'data':_0x478fc4}),this[_0x33761d(0x4c1)][_0x33761d(0x534)](new _0x18f772[(_0x33761d(0x467))](_0x34ed4a)['id'],!0x1),this['_collaborationSessionService'][_0x33761d(0x1d5)](_0x34ed4a);});};_0x32f9ef[_0x4d3b95(0x47e)](this[_0x4d3b95(0x1ae)][_0x4d3b95(0x426)](_0x158513[_0x4d3b95(0x39a)][_0x4d3b95(0x394)]),this[_0x4d3b95(0x1ae)][_0x4d3b95(0x426)](_0x158513[_0x4d3b95(0x39a)]['UNIVER_DOC']))[_0x4d3b95(0x3fa)](_0x16efa3['map'](_0x5db9f6=>_0x5db9f6[_0x4d3b95(0x2ea)]()),_0x16efa3['filter'](_0x2201bc=>!_0x158513[_0x4d3b95(0x27c)](_0x2201bc)),_0x16efa3[_0x4d3b95(0x251)](this[_0x4d3b95(0x4ce)]))['subscribe'](_0x3c66b=>{_0x418f3d(_0x3c66b);});}[_0x2229a0(0x4fd)](){var _0x5b4873=_0x2229a0;const _0x8d297=async _0x35a907=>{var _0x9fca92=_0x573a;const _0x3d1dff=await this[_0x9fca92(0x4d2)]['requireSession'](_0x35a907),_0x2b63c2=this[_0x9fca92(0x315)][_0x9fca92(0x444)](_0x18f772[_0x9fca92(0x33e)]);_0x3d1dff[_0x9fca92(0x413)][_0x9fca92(0x3fa)](_0x16efa3[_0x9fca92(0x51e)](_0x114a33=>_0x114a33[_0x9fca92(0x40a)]===_0x35009e[_0x9fca92(0x499)]['UPDATE_PERMISSION_OBJ']),_0x16efa3[_0x9fca92(0x251)](this[_0x9fca92(0x4ce)]))['subscribe'](_0xe2ec33=>{var _0x908da4=_0x9fca92;const _0x1fe9b1=_0xe2ec33,{objectId:_0x5618b2}=_0x1fe9b1['data'];_0x5618b2===_0x35a907?_0x2b63c2[_0x908da4(0x2a2)](_0x35a907):_0x2b63c2[_0x908da4(0x32e)](_0x35a907,_0x5618b2);});};_0x32f9ef[_0x5b4873(0x47e)](this[_0x5b4873(0x1ae)]['getTypeOfUnitAdded$'](_0x158513['UniverInstanceType'][_0x5b4873(0x394)]))['pipe'](_0x16efa3[_0x5b4873(0x1d8)](_0x12c3d4=>_0x12c3d4[_0x5b4873(0x2ea)]()),_0x16efa3['filter'](_0x10e131=>!_0x158513[_0x5b4873(0x27c)](_0x10e131)),_0x16efa3[_0x5b4873(0x251)](this[_0x5b4873(0x4ce)]))[_0x5b4873(0x206)](_0x2067b1=>{_0x8d297(_0x2067b1);});}};_0x38cfa4=_0x2fb8dd([_0x3604ad(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x3604ad(0x1,_0x158513['IUniverInstanceService']),_0x3604ad(0x2,_0x158513[_0x2229a0(0x4bd)]),_0x3604ad(0x3,_0x158513[_0x2229a0(0x1c1)](_0x5e3fa4['CollaborationSessionService'])),_0x3604ad(0x4,_0x158513[_0x2229a0(0x1c1)](_0x1a9793))],_0x38cfa4);var _0x1d5720=Object[_0x2229a0(0x330)],_0x1bdc95=(_0x27074d,_0x3444e4,_0x3c26b6,_0x349ebf)=>{var _0x460e6d=_0x2229a0;for(var _0x316e3d=_0x349ebf>0x1?void 0x0:_0x349ebf?_0x1d5720(_0x3444e4,_0x3c26b6):_0x3444e4,_0x2b6bd0=_0x27074d[_0x460e6d(0x316)]-0x1,_0xd0338b;_0x2b6bd0>=0x0;_0x2b6bd0--)(_0xd0338b=_0x27074d[_0x2b6bd0])&&(_0x316e3d=_0xd0338b(_0x316e3d)||_0x316e3d);return _0x316e3d;},_0x1c6e30=(_0x4d0c27,_0x1f8e45)=>(_0x46c7e7,_0x20b7e2)=>_0x1f8e45(_0x46c7e7,_0x20b7e2,_0x4d0c27);_0x5e3fa4['SnapshotServerOverHTTPService']=class{constructor(_0x34cca1,_0x576ede){var _0x3ea3aa=_0x2229a0;this['_configService']=_0x34cca1,this[_0x3ea3aa(0x510)]=_0x576ede;}async[_0x2229a0(0x51b)](_0xecd800,_0x189ff7){var _0x179a7b=_0x2229a0,_0x5e4c56;const {unitID:_0x523ed2,type:_0x54361a,revision:_0x2e0aa5=0x0}=_0x189ff7,_0x22f5f8=this[_0x179a7b(0x4e6)]()+'/'+_0x54361a+'/unit/'+_0x523ed2+'/rev/'+_0x2e0aa5,_0xd138f4=(await this[_0x179a7b(0x510)]['get'](_0x22f5f8))['body'],_0x18df05=(_0x5e4c56=_0xd138f4[_0x179a7b(0x35e)])==null?void 0x0:_0x5e4c56[_0x179a7b(0x1b3)];if(_0x18df05){const _0xd600a5=_0x18df05==null?void 0x0:_0x18df05[_0x179a7b(0x40d)],_0x25d10b=_0x35009e['textEncoder']['encode'](_0x35009e[_0x179a7b(0x2a0)](_0xd600a5));_0x18df05['originalMeta']=_0x25d10b,Object[_0x179a7b(0x2a9)](_0x18df05[_0x179a7b(0x1e4)])[_0x179a7b(0x45b)](([,_0x1b5fac])=>{var _0x4bfd9a=_0x179a7b;const _0x977d9=_0x1b5fac[_0x4bfd9a(0x40d)],_0x27fc64=_0x35009e[_0x4bfd9a(0x1c4)][_0x4bfd9a(0x41f)](_0x35009e[_0x4bfd9a(0x2a0)](_0x977d9));_0x1b5fac[_0x4bfd9a(0x40d)]=_0x27fc64;});}return _0xd138f4;}async[_0x2229a0(0x1b8)](_0x1931d9,_0x34cfb2){var _0x4c169c=_0x2229a0;const {unitID:_0x48602f,type:_0x45e491,blockID:_0x4bd6f0}=_0x34cfb2,_0x514df4=this['_getAPIPrefix']()+'/'+_0x45e491+'/unit/'+_0x48602f+_0x4c169c(0x2b3)+_0x4bd6f0;return(await this['_httpService'][_0x4c169c(0x444)](_0x514df4))['body'];}async['getDeserializedSheetBlock'](_0x192d84,_0x3bdbfb){var _0x5b0d15=_0x2229a0;const {unitID:_0x1d7dd8,type:_0x4aefbb,blockID:_0xba17e4}=_0x3bdbfb,_0x2be5a5=this[_0x5b0d15(0x3e0)]()+_0x5b0d15(0x2b3)+_0x4aefbb+_0x5b0d15(0x4f6)+_0x1d7dd8+_0x5b0d15(0x2b3)+_0xba17e4;return(await this[_0x5b0d15(0x510)]['get'](_0x2be5a5))[_0x5b0d15(0x341)];}async[_0x2229a0(0x3bc)](_0x20a725,_0x3a52ed){var _0x3f17ec=_0x2229a0;const {unitID:_0x176034,type:_0x44d55e,from:_0x451c0a,to:_0x498e4b}=_0x3a52ed,_0x4eb8ed=this[_0x3f17ec(0x3e0)]()+'/'+_0x44d55e+'/unit/'+_0x176034+_0x3f17ec(0x1ab)+_0x451c0a+_0x3f17ec(0x3c7)+_0x498e4b;return(await this[_0x3f17ec(0x510)][_0x3f17ec(0x444)](_0x4eb8ed))[_0x3f17ec(0x341)];}[_0x2229a0(0x4e6)](){var _0x9785be=_0x2229a0,_0xe8b078;return(_0xe8b078=this[_0x9785be(0x24f)]['getConfig'](_0xa82dae))!=null?_0xe8b078:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x1fb358=_0x2229a0,_0xacf5d5;const _0x1696b3=this['_configService'][_0x1fb358(0x247)](_0x5e0130);return(_0xacf5d5=_0x1696b3==null?void 0x0:_0x1696b3['snapshotServerUrl'])!=null?_0xacf5d5:_0x7842a;}async['getResourcesRequest'](_0x462c7d,_0x4f0e61){var _0x5d0f8a=_0x2229a0;const _0x549932=_0x5d0f8a(0x41e)+_0x4f0e61['type']+_0x5d0f8a(0x4f6)+_0x4f0e61[_0x5d0f8a(0x350)]+'/resources';return(await this[_0x5d0f8a(0x510)][_0x5d0f8a(0x444)](_0x549932,{'params':{'resourceId':JSON['stringify'](_0x4f0e61[_0x5d0f8a(0x296)])}}))[_0x5d0f8a(0x341)];}[_0x2229a0(0x4ba)](){var _0x4056c8=_0x2229a0;throw new Error(_0x4056c8(0x1ea));}['updateSnapshot'](){var _0x9ec84e=_0x2229a0;throw new Error(_0x9ec84e(0x1ea));}[_0x2229a0(0x44a)](){var _0x1069ad=_0x2229a0;throw new Error(_0x1069ad(0x1ea));}['saveChangeset'](){var _0x529866=_0x2229a0;throw new Error(_0x529866(0x1ea));}[_0x2229a0(0x203)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2229a0(0x353)](){var _0x1dd8eb=_0x2229a0;throw new Error(_0x1dd8eb(0x1ea));}},_0x5e3fa4[_0x2229a0(0x3cd)]=_0x1bdc95([_0x1c6e30(0x0,_0x158513[_0x2229a0(0x4c2)]),_0x1c6e30(0x1,_0x158513[_0x2229a0(0x1c1)](_0x5b6221['HTTPService']))],_0x5e3fa4[_0x2229a0(0x3cd)]);var _0x16cc78=Object['getOwnPropertyDescriptor'],_0xee438=(_0x145e34,_0x62ceae,_0x22b012,_0x4c5dad)=>{var _0xf6b2ad=_0x2229a0;for(var _0x33f8c2=_0x4c5dad>0x1?void 0x0:_0x4c5dad?_0x16cc78(_0x62ceae,_0x22b012):_0x62ceae,_0x292c93=_0x145e34[_0xf6b2ad(0x316)]-0x1,_0x3d68f1;_0x292c93>=0x0;_0x292c93--)(_0x3d68f1=_0x145e34[_0x292c93])&&(_0x33f8c2=_0x3d68f1(_0x33f8c2)||_0x33f8c2);return _0x33f8c2;},_0x41d99c=(_0x380f6e,_0x4e6899)=>(_0x546f7b,_0x42bb9a)=>_0x4e6899(_0x546f7b,_0x42bb9a,_0x380f6e);_0x5e3fa4['CollaborativeUndoRedoService']=class extends _0x158513[_0x2229a0(0x2c3)]{constructor(_0x3295cb,_0x318bd1,_0x554661,_0x2f5f7b,_0x1d8395){var _0x23e15b=_0x2229a0;super(_0x3295cb,_0x318bd1,_0x554661),this[_0x23e15b(0x431)]=_0x2f5f7b,this['_logService']=_0x1d8395;}['transformUndoRedo'](_0x20bef2,_0x4e4384){var _0x1eab80=_0x2229a0;const _0x2bcee2=this['_getUndoStack'](_0x20bef2);if(_0x2bcee2)try{const _0x1a0df4=this[_0x1eab80(0x4fa)](_0x2bcee2,_0x4e4384);this[_0x1eab80(0x403)](_0x20bef2,_0x1a0df4);}catch(_0x2d3ef8){this[_0x1eab80(0x501)][_0x1eab80(0x508)](_0x1eab80(0x3f1),_0x2d3ef8),this[_0x1eab80(0x279)](_0x20bef2);}const _0x3c21f6=this['_getRedoStack'](_0x20bef2);if(_0x3c21f6)try{const _0xb443b8=this[_0x1eab80(0x4fa)](_0x3c21f6,_0x4e4384);this[_0x1eab80(0x343)](_0x20bef2,_0xb443b8);}catch(_0x4c8d49){this[_0x1eab80(0x501)][_0x1eab80(0x508)](_0x4c8d49),this[_0x1eab80(0x22b)](_0x20bef2);}}[_0x2229a0(0x279)](_0x2793c2){var _0x2d0bb0=_0x2229a0;const _0x6b7a4f=this[_0x2d0bb0(0x2ca)](_0x2793c2);_0x6b7a4f&&(_0x6b7a4f[_0x2d0bb0(0x316)]=0x0,this['_updateStatus']());}[_0x2229a0(0x22b)](_0x34b952){var _0x169dd2=_0x2229a0;const _0x3d343a=this[_0x169dd2(0x1a5)](_0x34b952);_0x3d343a&&(_0x3d343a['length']=0x0,this['_updateStatus']());}[_0x2229a0(0x403)](_0x184115,_0xeb13c9){var _0x1e7c07=_0x2229a0;this[_0x1e7c07(0x4be)]['set'](_0x184115,_0xeb13c9),this[_0x1e7c07(0x455)]();}[_0x2229a0(0x343)](_0x5c66e9,_0x475c53){var _0x4922a0=_0x2229a0;this[_0x4922a0(0x236)][_0x4922a0(0x3a6)](_0x5c66e9,_0x475c53),this['_updateStatus']();}['_transformStack'](_0x23aa41,_0x535325){var _0x3832da=_0x2229a0;const _0xdd2d92=[];let _0xde6a10=_0x535325,_0x2202ef=_0x535325;for(let _0x3d1180=_0x23aa41[_0x3832da(0x316)]-0x1;_0x3d1180>=0x0;_0x3d1180--){const {unitID:_0x5856ea,undoMutations:_0xd81437,redoMutations:_0x7ff26}=_0x23aa41[_0x3d1180],_0x51cc2b=this[_0x3832da(0x431)][_0x3832da(0x4ff)](_0xde6a10,_0xd81437),_0x27276e=this['_transformService'][_0x3832da(0x4ff)](_0x2202ef,_0x7ff26);if(_0x35009e['isTransformMutationsWithChangesetFailure'](_0x51cc2b)||_0x35009e[_0x3832da(0x3a5)](_0x27276e)){this['_logService'][_0x3832da(0x508)](_0x3832da(0x3f1),_0x3832da(0x35d),_0x51cc2b,_0x27276e);break;}_0xde6a10=_0x51cc2b[_0x3832da(0x2a7)],_0x2202ef=_0x27276e[_0x3832da(0x2a7)],_0xdd2d92[_0x3832da(0x4a3)]({'unitID':_0x5856ea,'undoMutations':_0x51cc2b[_0x3832da(0x41b)],'redoMutations':_0x27276e[_0x3832da(0x41b)]});}return _0xdd2d92[_0x3832da(0x383)]();}},_0x5e3fa4[_0x2229a0(0x2c7)]=_0xee438([_0x41d99c(0x0,_0x158513[_0x2229a0(0x4ad)]),_0x41d99c(0x1,_0x158513[_0x2229a0(0x4e3)]),_0x41d99c(0x2,_0x158513['IContextService']),_0x41d99c(0x3,_0x35009e['ITransformService']),_0x41d99c(0x4,_0x158513[_0x2229a0(0x2b8)])],_0x5e3fa4[_0x2229a0(0x2c7)]);var _0x156f4b=Object[_0x2229a0(0x485)],_0x5a715b=Object['getOwnPropertyDescriptor'],_0x4e3532=(_0x3ced55,_0x1990d3,_0x509b76)=>_0x1990d3 in _0x3ced55?_0x156f4b(_0x3ced55,_0x1990d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x509b76}):_0x3ced55[_0x1990d3]=_0x509b76,_0x1e587f=(_0x3773ca,_0x9b0b33,_0x224b95,_0x2cfc79)=>{var _0x26f674=_0x2229a0;for(var _0x5eb221=_0x2cfc79>0x1?void 0x0:_0x2cfc79?_0x5a715b(_0x9b0b33,_0x224b95):_0x9b0b33,_0x11eb95=_0x3773ca[_0x26f674(0x316)]-0x1,_0x3c4d81;_0x11eb95>=0x0;_0x11eb95--)(_0x3c4d81=_0x3773ca[_0x11eb95])&&(_0x5eb221=_0x3c4d81(_0x5eb221)||_0x5eb221);return _0x5eb221;},_0x16976e=(_0x5afea5,_0x5b9afa)=>(_0x3a5949,_0x188720)=>_0x5b9afa(_0x3a5949,_0x188720,_0x5afea5),_0x49a415=(_0x1f8219,_0xd4e0ab,_0x4da2f1)=>_0x4e3532(_0x1f8219,_0xd4e0ab+'',_0x4da2f1);const _0x45007a=_0x2229a0(0x35b);_0x5e3fa4[_0x2229a0(0x302)]=class extends _0x158513[_0x2229a0(0x225)]{constructor(_0x284f05,_0x2741b7,_0x4a6770,_0x35310d){var _0x2e7036=_0x2229a0;super(),_0x4b59b5(this,_0x2e7036(0x30c)),(this[_0x2e7036(0x501)]=_0x2741b7,this[_0x2e7036(0x315)]=_0x4a6770,this[_0x2e7036(0x24f)]=_0x35310d);const {..._0x2724ae}=_0x158513[_0x2e7036(0x47e)]({},_0x5ccedc,_0x284f05);if(!_0x2724ae[_0x2e7036(0x3aa)])throw new Error(_0x2e7036(0x427));this['_config']=_0x2724ae,this[_0x2e7036(0x24f)]['setConfig'](_0x5e0130,_0x2724ae);}[_0x2229a0(0x4f4)](){var _0x1db318=_0x2229a0;this[_0x1db318(0x33b)](),this[_0x1db318(0x2d7)]();}[_0x2229a0(0x33b)](){var _0x22bc9c=_0x2229a0,_0x2ed5ab,_0x4d91b7;this[_0x22bc9c(0x315)][_0x22bc9c(0x202)](_0x158513['IUndoRedoService'])&&this[_0x22bc9c(0x501)][_0x22bc9c(0x508)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5d61e1=_0x158513[_0x22bc9c(0x4e2)]([[_0x158513[_0x22bc9c(0x4a9)],{'useClass':_0x5e3fa4['CollaborativeUndoRedoService']}],[_0x5e3fa4[_0x22bc9c(0x3db)]],[_0x5e3fa4[_0x22bc9c(0x357)]],[_0x5e3fa4[_0x22bc9c(0x3f3)]],[_0x4c5a49],[_0xfc7ebc],[_0x1a53f1],[_0x38cfa4],[_0x1a9793],[_0x5e3fa4[_0x22bc9c(0x4ec)]],[_0xd4806f,{'useClass':this[_0x22bc9c(0x30c)][_0x22bc9c(0x3aa)]}],[_0x35009e[_0x22bc9c(0x338)],{'useClass':_0x5e3fa4[_0x22bc9c(0x3cd)]}],[_0x158513[_0x22bc9c(0x1f9)],{'useClass':_0x5e3fa4[_0x22bc9c(0x462)]}],[_0x2bf003[_0x22bc9c(0x3d7)],{'useClass':_0x5e3fa4['CollaborationImageIoService']}],[_0x158513['IMentionIOService'],{'useClass':_0x5e3fa4['MentionIoHttpService']}],[_0x5e3fa4[_0x22bc9c(0x29b)]],[_0x370f44]],(_0x2ed5ab=this[_0x22bc9c(0x30c)])==null?void 0x0:_0x2ed5ab[_0x22bc9c(0x3ba)]);if(!((_0x4d91b7=this['_config'])!=null&&_0x4d91b7[_0x22bc9c(0x526)])){const _0x5657f6=_0x5d61e1['findIndex'](([_0x814eb4])=>_0x814eb4===_0x25ea7f);_0x5657f6!==-0x1&&_0x5d61e1[_0x22bc9c(0x304)](_0x5657f6,0x1);}_0x158513[_0x22bc9c(0x463)](this[_0x22bc9c(0x315)],_0x5d61e1);}[_0x2229a0(0x2d7)](){var _0x1d3a02=_0x2229a0,_0x46c1e8,_0x1b2ad3,_0x456901;this['_injector'][_0x1d3a02(0x444)](_0x5b6221['HTTPService'])[_0x1d3a02(0x43a)]({'priority':0x14,'interceptor':_0x5b6221['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x46c1e8=this[_0x1d3a02(0x30c)])!=null&&_0x46c1e8['enableOfflineEditing']||(_0x1b2ad3=this['_injector'][_0x1d3a02(0x444)](_0x53e5a0,_0x158513[_0x1d3a02(0x4c9)]['OPTIONAL']))==null||_0x1b2ad3[_0x1d3a02(0x514)](),(_0x456901=this[_0x1d3a02(0x30c)])!=null&&_0x456901[_0x1d3a02(0x39f)]&&_0x158513[_0x1d3a02(0x195)](this[_0x1d3a02(0x315)],[[_0x4c5a49]]),_0x158513[_0x1d3a02(0x195)](this['_injector'],[[_0xfc7ebc],[_0x5e3fa4['CollaborationController']],[_0x38cfa4]]);}},_0x49a415(_0x5e3fa4[_0x2229a0(0x302)],'pluginName',_0x45007a),_0x5e3fa4[_0x2229a0(0x302)]=_0x1e587f([_0x158513['DependentOn'](_0x4b2b6c[_0x2229a0(0x288)],_0x35009e[_0x2229a0(0x1c5)],_0x5b6221[_0x2229a0(0x2e5)]),_0x16976e(0x1,_0x158513[_0x2229a0(0x2b8)]),_0x16976e(0x2,_0x158513[_0x2229a0(0x1c1)](_0x158513['Injector'])),_0x16976e(0x3,_0x158513[_0x2229a0(0x4c2)])],_0x5e3fa4[_0x2229a0(0x302)]),_0x5e3fa4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x5e0130,_0x5e3fa4[_0x2229a0(0x458)]=_0x3eee43,_0x5e3fa4[_0x2229a0(0x21b)]=_0x306c72,_0x5e3fa4[_0x2229a0(0x294)]=_0x1a9793,_0x5e3fa4['CommentService']=_0x1a53f1,_0x5e3fa4[_0x2229a0(0x4ac)]=_0x46c157,_0x5e3fa4[_0x2229a0(0x349)]=_0x10b865,_0x5e3fa4[_0x2229a0(0x286)]=_0x19d93b,_0x5e3fa4['HEARTBEAT_INTERVAL_KEY']=_0x50386d,_0x5e3fa4[_0x2229a0(0x37e)]=_0x3bd8ba,_0x5e3fa4[_0x2229a0(0x2ae)]=_0xd4806f,_0x5e3fa4['ILocalCacheService']=_0x53e5a0,_0x5e3fa4[_0x2229a0(0x488)]=_0x215e06,_0x5e3fa4['ISingleActiveUnitService']=_0x25ea7f,_0x5e3fa4['LOCAL_CACHE_INTERVAL']=0x3e8,_0x5e3fa4['LOCAL_CACHE_INTERVAL_KEY']=_0x175c63,_0x5e3fa4[_0x2229a0(0x454)]=_0x37bb98,_0x5e3fa4[_0x2229a0(0x4ea)]=_0x2a69c3,_0x5e3fa4[_0x2229a0(0x4d3)]=_0x366b35,_0x5e3fa4['UnitStatus']=_0x309040,_0x5e3fa4[_0x2229a0(0x1ee)]=_0x9e4075,_0x5e3fa4[_0x2229a0(0x2de)]=_0x3941b5,_0x5e3fa4[_0x2229a0(0x1f2)]=_0xea9c25,Object[_0x2229a0(0x485)](_0x5e3fa4,Symbol[_0x2229a0(0x29f)],{'value':_0x2229a0(0x2ed)});}));
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
function
|
|
5
|
+
function _0x4553(_0x26347d,_0x381536){_0x26347d=_0x26347d-0x81;const _0x82a155=_0x82a1();let _0x45533a=_0x82a155[_0x26347d];return _0x45533a;}(function(_0x50771a,_0x205d40){const _0x2ea843=_0x4553,_0x49dcf2=_0x50771a();while(!![]){try{const _0x1c8f34=-parseInt(_0x2ea843(0x97))/0x1*(parseInt(_0x2ea843(0xc2))/0x2)+-parseInt(_0x2ea843(0xaa))/0x3*(-parseInt(_0x2ea843(0x9f))/0x4)+-parseInt(_0x2ea843(0x92))/0x5+parseInt(_0x2ea843(0x98))/0x6+parseInt(_0x2ea843(0x93))/0x7+parseInt(_0x2ea843(0x95))/0x8*(parseInt(_0x2ea843(0xb5))/0x9)+parseInt(_0x2ea843(0xcc))/0xa*(-parseInt(_0x2ea843(0xad))/0xb);if(_0x1c8f34===_0x205d40)break;else _0x49dcf2['push'](_0x49dcf2['shift']());}catch(_0x2ad569){_0x49dcf2['push'](_0x49dcf2['shift']());}}}(_0x82a1,0x8d2d1),function(_0x24eac7,_0x5ead9f){const _0x64c44d=_0x4553;typeof exports==_0x64c44d(0x99)&&typeof module<'u'?_0x5ead9f(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x64c44d(0x9c)&&define[_0x64c44d(0x90)]?define([_0x64c44d(0xc6),_0x64c44d(0x88),'@univerjs/core/facade',_0x64c44d(0xc3),_0x64c44d(0x89),_0x64c44d(0x9d)],_0x5ead9f):(_0x24eac7=typeof globalThis<'u'?globalThis:_0x24eac7||self,_0x5ead9f(_0x24eac7[_0x64c44d(0xb2)]={},_0x24eac7['UniverProCollaborationClient'],_0x24eac7[_0x64c44d(0x9e)],_0x24eac7[_0x64c44d(0xc9)],_0x24eac7[_0x64c44d(0xa4)],_0x24eac7[_0x64c44d(0x9d)]));}(this,function(_0xcc8aed,_0x19a2de,_0x49f43c,_0x3bd131,_0x10d1d8,_0x58cc6b){'use strict';const _0x4cb981=_0x4553;class _0x4db785 extends _0x49f43c[_0x4cb981(0x87)]{get[_0x4cb981(0xc0)](){const _0x574ea4=_0x4cb981;return _0x19a2de[_0x574ea4(0xc0)];}}_0x49f43c[_0x4cb981(0x87)][_0x4cb981(0xa8)](_0x4db785);class _0x366b31{get[_0x4cb981(0xbf)](){return'CollaborationStatusChanged';}}_0x49f43c['FEventName'][_0x4cb981(0xa8)](_0x366b31);var _0x5e3cf9=Object[_0x4cb981(0x9a)],_0x4210d3=(_0x291e36,_0x5bc48d,_0x164efb,_0x57848c)=>{const _0x1f5d7f=_0x4cb981;for(var _0x1a824d=_0x57848c>0x1?void 0x0:_0x57848c?_0x5e3cf9(_0x5bc48d,_0x164efb):_0x5bc48d,_0x318ecd=_0x291e36[_0x1f5d7f(0xaf)]-0x1,_0x432944;_0x318ecd>=0x0;_0x318ecd--)(_0x432944=_0x291e36[_0x318ecd])&&(_0x1a824d=_0x432944(_0x1a824d)||_0x1a824d);return _0x1a824d;},_0x160ec=(_0x9396fc,_0x55216f)=>(_0x376bac,_0x329e92)=>_0x55216f(_0x376bac,_0x329e92,_0x9396fc);_0xcc8aed[_0x4cb981(0xae)]=class extends _0x49f43c[_0x4cb981(0xb3)]{constructor(_0x5ba629,_0x581e60,_0xd648d0,_0x34ac94,_0x126d46){const _0x3905cb=_0x4cb981;super(),this[_0x3905cb(0xcd)]=_0x5ba629,this[_0x3905cb(0x94)]=_0x581e60,this[_0x3905cb(0xa3)]=_0xd648d0,this[_0x3905cb(0x8e)]=_0x34ac94,this[_0x3905cb(0x96)]=_0x126d46;}async[_0x4cb981(0xcb)](){const _0x2a71c6=_0x4cb981;return this[_0x2a71c6(0x82)]();}async['loadActiveSheetAsync'](){const _0x5c58fe=_0x4cb981;throw new Error(_0x5c58fe(0x8f));}async[_0x4cb981(0xa7)](_0x44471a){return this['loadSheetAsync'](_0x44471a);}async[_0x4cb981(0xa0)](_0x511832,_0xa55b61){const _0x447dd5=_0x4cb981;return await this[_0x447dd5(0x8e)][_0x447dd5(0xa7)](_0x511832,0x0,_0xa55b61)?(await this[_0x447dd5(0x96)][_0x447dd5(0xbd)](_0x511832),this['_handler'][_0x447dd5(0xba)](_0x511832)):null;}[_0x4cb981(0x8d)](_0x202987,_0x30b73b){const _0x50f553=_0x4cb981,_0x2cef6e=this[_0x50f553(0x94)][_0x50f553(0xc1)](_0x19a2de[_0x50f553(0xa5)])[_0x50f553(0x8b)](_0x202987)['pipe'](_0x58cc6b[_0x50f553(0xc5)](_0x413fcd=>_0x413fcd[_0x50f553(0xb0)]))[_0x50f553(0x91)](_0x2986de=>_0x30b73b(Array[_0x50f553(0xb8)](_0x2986de['values']())));return _0x3bd131['toDisposable'](_0x2cef6e);}[_0x4cb981(0xab)](_0x1153ce){const _0x29a3c0=_0x4cb981;var _0x16470b;let _0x3666b2;if(_0x1153ce)_0x3666b2=_0x1153ce;else{const _0x2838ce=this[_0x29a3c0(0xa3)][_0x29a3c0(0xa1)]();_0x3666b2=_0x2838ce==null?void 0x0:_0x2838ce[_0x29a3c0(0x83)]();}if(!_0x3666b2)return _0x19a2de[_0x29a3c0(0xc0)]['NOT_COLLAB'];const _0x5d7a36=this[_0x29a3c0(0x96)][_0x29a3c0(0x8a)](_0x3666b2);return(_0x16470b=_0x5d7a36==null?void 0x0:_0x5d7a36[_0x29a3c0(0xc8)][_0x29a3c0(0x81)])!=null?_0x16470b:_0x19a2de[_0x29a3c0(0xc0)][_0x29a3c0(0xac)];}},_0xcc8aed['FCollaboration']=_0x4210d3([_0x160ec(0x1,_0x3bd131[_0x4cb981(0xca)](_0x3bd131[_0x4cb981(0x85)])),_0x160ec(0x2,_0x3bd131['IUniverInstanceService']),_0x160ec(0x3,_0x3bd131[_0x4cb981(0xca)](_0x10d1d8[_0x4cb981(0xbe)])),_0x160ec(0x4,_0x3bd131[_0x4cb981(0xca)](_0x19a2de[_0x4cb981(0xb1)]))],_0xcc8aed[_0x4cb981(0xae)]);class _0x47fcb1 extends _0x49f43c[_0x4cb981(0xa2)]{[_0x4cb981(0xbb)](_0x278747){const _0x41da62=_0x4cb981,_0x12cacd=_0x278747['get'](_0x19a2de[_0x41da62(0xb1)]);this[_0x41da62(0xbc)](this['registerEventHandler'](this[_0x41da62(0xb9)][_0x41da62(0xbf)],()=>{const _0x3b61dd=_0x41da62,_0x697335=new _0x3bd131[(_0x3b61dd(0xc4))](),_0x568023=_0x12cacd[_0x3b61dd(0x8c)][_0x3b61dd(0x91)](_0x5a25eb=>{const _0x5a963d=_0x3b61dd,_0x1fa561=_0x5a25eb['status$'][_0x5a963d(0x91)](_0x102c32=>{const _0x4236b4=_0x5a963d;this[_0x4236b4(0xb7)](this['Event']['CollaborationStatusChanged'],{'unitId':_0x5a25eb[_0x4236b4(0xa6)],'status':_0x102c32});});_0x697335[_0x5a963d(0xb6)](_0x3bd131[_0x5a963d(0xb4)](_0x1fa561));});return _0x697335[_0x3b61dd(0xb6)](_0x3bd131[_0x3b61dd(0xb4)](_0x568023)),_0x697335;}));}['getCollaboration'](){const _0x21df9e=_0x4cb981;return this['_injector']['createInstance'](_0xcc8aed[_0x21df9e(0xae)],{'getUniverSheet':_0xaf7694=>this[_0x21df9e(0xba)](_0xaf7694)});}[_0x4cb981(0x9b)](_0x38072b,_0x56e6ea,_0x950e6a){const _0x5cc1a8=_0x4cb981;return this[_0x5cc1a8(0x94)][_0x5cc1a8(0xc1)](_0x19a2de['DataLoaderService'])['loadUnit'](_0x38072b,_0x56e6ea,_0x950e6a);}['loadServerUnitOfRevision'](_0x4be8d1,_0x2fb4a7,_0x458000){const _0xe4b603=_0x4cb981;return this[_0xe4b603(0x94)][_0xe4b603(0xc1)](_0x19a2de['DataLoaderService'])[_0xe4b603(0x86)](_0x4be8d1,_0x2fb4a7,_0x458000);}}_0x49f43c[_0x4cb981(0xa2)]['extend'](_0x47fcb1),Object[_0x4cb981(0xa9)](_0xcc8aed,Symbol[_0x4cb981(0x84)],{'value':_0x4cb981(0xc7)});}));function _0x82a1(){const _0x124982=['loadActiveSheet','20Sdyvkb','_handler','status','loadActiveSheetAsync','getUnitId','toStringTag','Injector','loadUnitOfRevision','FEnum','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','getCollabEntity','waitForRoom$','entityInit$','subscribeCollaborators','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','amd','subscribe','3981635NzVFPP','6868435BoWwtk','_injector','62984lsaIuT','_collaborationController','31069OJpnfH','3722928pvGINT','object','getOwnPropertyDescriptor','loadServerUnit','function','rxjs','UniverCoreFacade','3374984bzymkM','loadSheetAsync','getFocusedUnit','FUniver','_univerInstanceService','UniverProCollaboration','MemberService','unitID','loadSheet','extend','defineProperty','3TVyBGS','getCollaborationStatus','NOT_COLLAB','1490137RgMydA','FCollaboration','length','members$','CollaborationController','UniverProCollaborationClientFacade','FBase','toDisposable','9iJBmca','add','fireEvent','from','Event','getUniverSheet','_initialize','disposeWithMe','readyForCollab','SnapshotService','CollaborationStatusChanged','CollaborationStatus','get','52PgXQUp','@univerjs/core','DisposableCollection','switchMap','exports','Module','state','UniverCore','Inject'];_0x82a1=function(){return _0x124982;};return _0x82a1();}
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _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)});}));
|
|
8
|
+
function _0x529e(_0x43c004,_0x57bb13){_0x43c004=_0x43c004-0x12d;const _0x773f39=_0x773f();let _0x529e1c=_0x773f39[_0x43c004];return _0x529e1c;}(function(_0x46151b,_0x393009){const _0x387a0f=_0x529e,_0xa7923=_0x46151b();while(!![]){try{const _0x31011f=-parseInt(_0x387a0f(0x2c0))/0x1*(parseInt(_0x387a0f(0x314))/0x2)+parseInt(_0x387a0f(0x3b9))/0x3+-parseInt(_0x387a0f(0x376))/0x4+-parseInt(_0x387a0f(0x38c))/0x5+parseInt(_0x387a0f(0x3fa))/0x6+parseInt(_0x387a0f(0x2b2))/0x7*(parseInt(_0x387a0f(0x32e))/0x8)+parseInt(_0x387a0f(0x3ee))/0x9;if(_0x31011f===_0x393009)break;else _0xa7923['push'](_0xa7923['shift']());}catch(_0x4a3851){_0xa7923['push'](_0xa7923['shift']());}}}(_0x773f,0xcae86),function(_0x349b61,_0x470876){const _0x49a34d=_0x529e;typeof exports==_0x49a34d(0x2a0)&&typeof module<'u'?_0x470876(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x49a34d(0x410)&&define['amd']?define(['exports',_0x49a34d(0x252),'@univerjs-pro/collaboration-client',_0x49a34d(0x3b4),_0x49a34d(0x3b8),_0x49a34d(0x39c),'@univerjs/design',_0x49a34d(0x2e3),_0x49a34d(0x329),_0x49a34d(0x2fd),_0x49a34d(0x25a),'@univerjs/network',_0x49a34d(0x1fc),_0x49a34d(0x2e5),_0x49a34d(0x3e3),_0x49a34d(0x151),'@univerjs/engine-formula',_0x49a34d(0x14e),_0x49a34d(0x40b)],_0x470876):(_0x349b61=typeof globalThis<'u'?globalThis:_0x349b61||self,_0x470876(_0x349b61[_0x49a34d(0x407)]={},_0x349b61[_0x49a34d(0x198)],_0x349b61[_0x49a34d(0x326)],_0x349b61[_0x49a34d(0x20e)],_0x349b61[_0x49a34d(0x2e2)],_0x349b61['rxjs'],_0x349b61[_0x49a34d(0x283)],_0x349b61[_0x49a34d(0x198)],_0x349b61[_0x49a34d(0x3cf)],_0x349b61[_0x49a34d(0x2ad)],_0x349b61[_0x49a34d(0x183)],_0x349b61['UniverNetwork'],_0x349b61[_0x49a34d(0x313)],_0x349b61[_0x49a34d(0x29e)],_0x349b61[_0x49a34d(0x1a6)],_0x349b61['UniverDocs'],_0x349b61['UniverEngineFormula'],_0x349b61[_0x49a34d(0x39c)]['operators'],_0x349b61[_0x49a34d(0x2ae)]));}(this,function(_0x44307e,_0x5228ee,_0x49b930,_0x63378d,_0x2c32f5,_0xdb7e78,_0x25c8b9,_0x17a231,_0x5cb2c9,_0xd76991,_0x3be252,_0x4af045,_0x466fa5,_0x8f1469,_0x1a1813,_0x461a0f,_0x1a201e,_0x410faa,_0x128e05){'use strict';const _0xa2269c=_0x529e;var _0x417d29=Object[_0xa2269c(0x159)],_0x55fe2b=(_0x17366f,_0x91a24e,_0x33c1fb)=>_0x91a24e in _0x17366f?_0x417d29(_0x17366f,_0x91a24e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33c1fb}):_0x17366f[_0x91a24e]=_0x33c1fb,_0x354915=(_0x490cdc,_0x56a536,_0x11a92c)=>_0x55fe2b(_0x490cdc,typeof _0x56a536!=_0xa2269c(0x2f7)?_0x56a536+'':_0x56a536,_0x11a92c);function _0x4affd3({ref:_0x204c7c,..._0x15f5b4}){const _0x2e7de5=_0xa2269c,{icon:_0x457eba,id:_0x339b47,className:_0x104fba,extend:_0x223d4a,..._0xc55f25}=_0x15f5b4,_0x210816=(_0x2e7de5(0x3e2)+_0x339b47+'\x20'+(_0x104fba||''))['trim'](),_0xe5da07=_0x17a231[_0x2e7de5(0x316)]('_'+_0x176112());return _0x3bcd3d(_0x457eba,''+_0x339b47,{'defIds':_0x457eba[_0x2e7de5(0x39d)],'idSuffix':_0xe5da07[_0x2e7de5(0x185)]},{'ref':_0x204c7c,'className':_0x210816,..._0xc55f25},_0x223d4a);}function _0x3bcd3d(_0x5d235d,_0x3db30c,_0x3886db,_0x2dda0b,_0x37c1f1){const _0x481628=_0xa2269c;return _0x17a231[_0x481628(0x2d4)](_0x5d235d['tag'],{'key':_0x3db30c,..._0x5d228a(_0x5d235d,_0x3886db,_0x37c1f1),..._0x2dda0b},(_0x49854e(_0x5d235d,_0x3886db)['children']||[])[_0x481628(0x1e3)]((_0xd7171b,_0x366eec)=>_0x3bcd3d(_0xd7171b,_0x3db30c+'-'+_0x5d235d[_0x481628(0x3f7)]+'-'+_0x366eec,_0x3886db,void 0x0,_0x37c1f1)));}function _0x5d228a(_0x99ed47,_0x29257c,_0x1bc02d){const _0x30a201=_0xa2269c,_0x235559={..._0x99ed47[_0x30a201(0x3ba)]};_0x1bc02d!=null&&_0x1bc02d[_0x30a201(0x323)]&&_0x235559[_0x30a201(0x41c)]===_0x30a201(0x323)&&(_0x235559[_0x30a201(0x41c)]=_0x1bc02d[_0x30a201(0x323)]),_0x99ed47[_0x30a201(0x3f7)]===_0x30a201(0x29c)&&_0x235559['id']&&(_0x235559['id']=_0x235559['id']+_0x29257c[_0x30a201(0x262)]),Object[_0x30a201(0x3ce)](_0x235559)['forEach'](([_0x6373e9,_0x52e7ae])=>{const _0x50f931=_0x30a201;_0x6373e9===_0x50f931(0x29c)&&typeof _0x52e7ae==_0x50f931(0x2d1)&&(_0x235559[_0x6373e9]=_0x52e7ae[_0x50f931(0x3f2)](/url\(#(.*)\)/,_0x50f931(0x1b5)+_0x29257c['idSuffix']+')'));});const {defIds:_0xa155d6}=_0x29257c;return!_0xa155d6||_0xa155d6[_0x30a201(0x3af)]===0x0||(_0x99ed47[_0x30a201(0x3f7)]===_0x30a201(0x2bc)&&_0x235559[_0x30a201(0x27a)]&&(_0x235559[_0x30a201(0x27a)]=_0x235559[_0x30a201(0x27a)]+_0x29257c[_0x30a201(0x262)]),Object[_0x30a201(0x3ce)](_0x235559)[_0x30a201(0x399)](([_0xf8f23d,_0x30764a])=>{const _0x4aa27e=_0x30a201;typeof _0x30764a==_0x4aa27e(0x2d1)&&(_0x235559[_0xf8f23d]=_0x30764a[_0x4aa27e(0x3f2)](/url\(#(.*)\)/,_0x4aa27e(0x1b5)+_0x29257c['idSuffix']+')'));})),_0x235559;}function _0x49854e(_0x34de19,_0x16e19b){const _0x3a08e8=_0xa2269c;var _0x106384;const {defIds:_0x4cd127}=_0x16e19b;return!_0x4cd127||_0x4cd127[_0x3a08e8(0x3af)]===0x0?_0x34de19:_0x34de19['tag']===_0x3a08e8(0x22e)&&((_0x106384=_0x34de19[_0x3a08e8(0x218)])!=null&&_0x106384[_0x3a08e8(0x3af)])?{..._0x34de19,'children':_0x34de19[_0x3a08e8(0x218)][_0x3a08e8(0x1e3)](_0x58c89f=>typeof _0x58c89f[_0x3a08e8(0x3ba)]['id']==_0x3a08e8(0x2d1)&&_0x4cd127&&_0x4cd127['includes'](_0x58c89f[_0x3a08e8(0x3ba)]['id'])?{..._0x58c89f,'attrs':{..._0x58c89f[_0x3a08e8(0x3ba)],'id':_0x58c89f[_0x3a08e8(0x3ba)]['id']+_0x16e19b['idSuffix']}}:_0x58c89f)}:_0x34de19;}function _0x176112(){const _0x1767f1=_0xa2269c;return Math[_0x1767f1(0x294)]()[_0x1767f1(0x397)](0x24)['substring'](0x2,0x8);}_0x4affd3['displayName']='UniverIcon';const _0x21c81f={'tag':_0xa2269c(0x3e9),'attrs':{'xmlns':_0xa2269c(0x1a2),'fill':_0xa2269c(0x396),'viewBox':_0xa2269c(0x36f),'width':_0xa2269c(0x33b),'height':_0xa2269c(0x33b)},'children':[{'tag':'g','attrs':{'clipPath':_0xa2269c(0x3dc)},'children':[{'tag':'path','attrs':{'stroke':_0xa2269c(0x362),'d':_0xa2269c(0x331),'strokeLinecap':_0xa2269c(0x2d6),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xa2269c(0x22e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xa2269c(0x30e)},'children':[{'tag':_0xa2269c(0x3ad),'attrs':{'fill':_0xa2269c(0x1dd),'d':_0xa2269c(0x423)}}]}]}],'defIds':[_0xa2269c(0x30e)]},_0x3d6961=_0x17a231['forwardRef'](function(_0x1afe61,_0x54bd2f){const _0x8de741=_0xa2269c;return _0x17a231[_0x8de741(0x2d4)](_0x4affd3,Object[_0x8de741(0x378)]({},_0x1afe61,{'id':'off-line-icon','ref':_0x54bd2f,'icon':_0x21c81f}));});_0x3d6961[_0xa2269c(0x282)]=_0xa2269c(0x324);const _0x5b7bc3={'tag':_0xa2269c(0x3e9),'attrs':{'xmlns':_0xa2269c(0x1a2),'fill':'none','viewBox':_0xa2269c(0x34a),'width':_0xa2269c(0x33b),'height':_0xa2269c(0x33b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xa2269c(0x3ad),'attrs':{'stroke':_0xa2269c(0x362),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xa2269c(0x2d6),'strokeLinejoin':_0xa2269c(0x2d6),'strokeWidth':1.2}}]},{'tag':_0xa2269c(0x22e),'attrs':{},'children':[{'tag':_0xa2269c(0x3ae),'attrs':{'id':_0xa2269c(0x182)},'children':[{'tag':_0xa2269c(0x3ad),'attrs':{'fill':'white','d':_0xa2269c(0x423),'transform':_0xa2269c(0x3be)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x52e695=_0x17a231['forwardRef'](function(_0x4d1237,_0x3ed03c){const _0x29d69d=_0xa2269c;return _0x17a231[_0x29d69d(0x2d4)](_0x4affd3,Object[_0x29d69d(0x378)]({},_0x4d1237,{'id':_0x29d69d(0x40d),'ref':_0x3ed03c,'icon':_0x5b7bc3}));});_0x52e695[_0xa2269c(0x282)]=_0xa2269c(0x325);function _0x206f1e(_0x519cf0){const _0x1d8661=_0xa2269c;switch(_0x519cf0){case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x3d0)]:return _0x1d8661(0x155);case _0x49b930['CollaborationStatus'][_0x1d8661(0x3fe)]:return _0x1d8661(0x19f);case _0x49b930['CollaborationStatus'][_0x1d8661(0x2f4)]:return _0x1d8661(0x3c5);case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x2cc)]:return _0x1d8661(0x142);case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x18c)]:case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x31e)]:return'collabStatus.syncing';case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x13c)]:case _0x49b930['CollaborationStatus']['PENDING']:return _0x1d8661(0x1c7);}}function _0x53fd79(_0x209ef0){const _0x139bdd=_0xa2269c,{status$:_0x1ab461}=_0x209ef0,_0x4e6a1f=_0x2c32f5[_0x139bdd(0x40a)](_0x1ab461,_0x49b930['CollaborationStatus'][_0x139bdd(0x2cc)]),_0x5eae36=_0x2c32f5[_0x139bdd(0x2bf)](_0x63378d[_0x139bdd(0x428)]),_0xd69406=_0x2c32f5[_0x139bdd(0x2bf)](_0x49b930[_0x139bdd(0x42a)]),_0x5daa68=_0x4e6a1f!==_0x49b930[_0x139bdd(0x27d)]['OFFLINE'],_0x30325d=_0x5eae36['t'](_0x206f1e(_0x4e6a1f)),_0x2bf0c0=_0x5daa68?_0x5228ee['jsx'](_0x52e695,{}):_0x5228ee[_0x139bdd(0x3d4)](_0x3d6961,{}),_0x293dc4=_0x17a231[_0x139bdd(0x220)](()=>{const _0x54e5ef=_0x139bdd;_0x5daa68||_0xd69406[_0x54e5ef(0x16f)]();},[_0x5daa68,_0xd69406]);function _0x1c459c(){const _0xafe6f6=_0x139bdd;return _0x5228ee[_0xafe6f6(0x1cb)](_0xafe6f6(0x257),{'className':_0xafe6f6(0x29f),'onClick':_0x293dc4,'children':[_0x5228ee[_0xafe6f6(0x3d4)]('div',{'className':_0x25c8b9[_0xafe6f6(0x3aa)](_0xafe6f6(0x271),{'univer-text-green-500':_0x5daa68,'univer-text-red-500':!_0x5daa68}),'children':_0x2bf0c0}),_0x5228ee['jsx'](_0xafe6f6(0x257),{'className':_0xafe6f6(0x2df),'children':_0x30325d})]});}return _0x5daa68?_0x1c459c():_0x5228ee[_0x139bdd(0x3d4)](_0x25c8b9['Tooltip'],{'title':_0x5eae36['t']('collab-client.tooltip.reconnect'),'children':_0x1c459c()});}var _0x297817=Object[_0xa2269c(0x2ee)],_0x29e575=(_0x36c875,_0x1d9459,_0x49927a,_0x5f5a9d)=>{const _0x5226ab=_0xa2269c;for(var _0x5339a9=_0x5f5a9d>0x1?void 0x0:_0x5f5a9d?_0x297817(_0x1d9459,_0x49927a):_0x1d9459,_0x3b9047=_0x36c875[_0x5226ab(0x3af)]-0x1,_0x2bfd10;_0x3b9047>=0x0;_0x3b9047--)(_0x2bfd10=_0x36c875[_0x3b9047])&&(_0x5339a9=_0x2bfd10(_0x5339a9)||_0x5339a9);return _0x5339a9;},_0x2fd305=(_0x19aaf7,_0x1b9451)=>(_0x2d5f19,_0x31507f)=>_0x1b9451(_0x2d5f19,_0x31507f,_0x19aaf7);_0x44307e[_0xa2269c(0x345)]=class extends _0x63378d[_0xa2269c(0x2eb)]{constructor(_0xc5e4f2,_0x294e63,_0x37a325,_0x220bc0){const _0x5d8e69=_0xa2269c;super(),_0x354915(this,'_status$',new _0xdb7e78['BehaviorSubject'](_0x49b930[_0x5d8e69(0x27d)][_0x5d8e69(0x2cc)])),(this[_0x5d8e69(0x1ef)]=_0xc5e4f2,this[_0x5d8e69(0x2c9)]=_0x294e63,this[_0x5d8e69(0x2ba)]=_0x37a325,this['_uiPartsService']=_0x220bc0,this[_0x5d8e69(0x3c3)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x40ec40=_0xa2269c;this['disposeWithMe'](this[_0x40ec40(0x1ef)]['focused$'][_0x40ec40(0x287)](_0xdb7e78[_0x40ec40(0x390)](()=>{const _0x53afcb=_0x40ec40,_0x43b8cb=this['_univerInstanceService'][_0x53afcb(0x1b2)]();return _0x43b8cb?this[_0x53afcb(0x2ba)][_0x53afcb(0x30f)](_0x43b8cb[_0x53afcb(0x1b6)]()):_0xdb7e78['of'](null);}),_0xdb7e78[_0x40ec40(0x390)](_0x4da037=>_0x4da037?_0x4da037['status$']:_0xdb7e78['of'](_0x49b930[_0x40ec40(0x27d)][_0x40ec40(0x2cc)])))['subscribe'](_0x2eb629=>{const _0xabfd42=_0x40ec40;this[_0xabfd42(0x421)][_0xabfd42(0x386)](_0x2eb629);}));}[_0xa2269c(0x3c3)](){const _0x355ff4=_0xa2269c;this[_0x355ff4(0x165)](this[_0x355ff4(0x41e)]['registerComponent'](_0x2c32f5[_0x355ff4(0x1be)]['HEADER_MENU'],()=>_0x2c32f5[_0x355ff4(0x270)](_0x50080d({'status$':this[_0x355ff4(0x421)][_0x355ff4(0x187)]()}),this['_injector'])));}},_0x44307e['DesktopCollaborationStatusDisplayController']=_0x29e575([_0x2fd305(0x0,_0x63378d[_0xa2269c(0x240)]),_0x2fd305(0x1,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x2e7)])),_0x2fd305(0x2,_0x63378d['Inject'](_0x49b930[_0xa2269c(0x30d)])),_0x2fd305(0x3,_0x2c32f5[_0xa2269c(0x229)])],_0x44307e[_0xa2269c(0x345)]);function _0x50080d(_0x5efb6f){const {status$:_0x3cd1dd}=_0x5efb6f;return function(){const _0x39f06f=_0x529e;return _0x5228ee[_0x39f06f(0x3d4)](_0x53fd79,{'status$':_0x3cd1dd});};}const _0xdbf68a=_0x63378d[_0xa2269c(0x337)](_0xa2269c(0x1a4));var _0x2842ba=Object[_0xa2269c(0x2ee)],_0x51b3aa=(_0x3538e5,_0x4d2f44,_0x13bc8a,_0x687cc2)=>{const _0x3bcc28=_0xa2269c;for(var _0x3e7d50=_0x687cc2>0x1?void 0x0:_0x687cc2?_0x2842ba(_0x4d2f44,_0x13bc8a):_0x4d2f44,_0x3e858b=_0x3538e5[_0x3bcc28(0x3af)]-0x1,_0x180b64;_0x3e858b>=0x0;_0x3e858b--)(_0x180b64=_0x3538e5[_0x3e858b])&&(_0x3e7d50=_0x180b64(_0x3e7d50)||_0x3e7d50);return _0x3e7d50;},_0x40a181=(_0x391baa,_0x5ddfc9)=>(_0x3bac6f,_0x190327)=>_0x5ddfc9(_0x3bac6f,_0x190327,_0x391baa);_0x44307e[_0xa2269c(0x19e)]=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x55b116,_0x18577e,_0x52e176,_0x247aee,_0x327622){const _0x24736a=_0xa2269c;super(),this[_0x24736a(0x139)]=_0x55b116,this['_logService']=_0x18577e,this['_commandService']=_0x52e176,this[_0x24736a(0x35a)]=_0x247aee,_0x327622?_0x327622==null||_0x327622[_0x24736a(0x425)]()[_0x24736a(0x3e6)](()=>this[_0x24736a(0x29a)]()):(this[_0x24736a(0x1c2)][_0x24736a(0x2ea)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x24736a(0x29a)]());}async[_0xa2269c(0x29a)](){const _0x34f4f7=_0xa2269c,_0x2e0944=this[_0x34f4f7(0x139)][_0x34f4f7(0x312)](_0x34f4f7(0x35b)),_0xe7baa5=this['_urlService'][_0x34f4f7(0x312)](_0x34f4f7(0x1f3)),_0x3b8625=this[_0x34f4f7(0x139)][_0x34f4f7(0x312)](_0x34f4f7(0x339));if(!_0x2e0944||!_0xe7baa5){this[_0x34f4f7(0x1c2)][_0x34f4f7(0x2ea)]('[CollaborationDataLoaderController]',_0x34f4f7(0x137));return;}const _0x1e9b39=await this[_0x34f4f7(0x35a)][_0x34f4f7(0x190)](_0x2e0944,Number(_0xe7baa5),_0x3b8625);_0x1e9b39&&_0x1e9b39 instanceof _0x63378d[_0x34f4f7(0x160)]&&this[_0x34f4f7(0x31c)](_0x1e9b39);}async[_0xa2269c(0x31c)](_0x3f4d7d){const _0x478391=_0xa2269c;await this[_0x478391(0x2d5)](_0x3f4d7d),_0x3f4d7d[_0x478391(0x23c)]['pipe'](_0xdb7e78['takeUntil'](this[_0x478391(0x3f6)]))[_0x478391(0x3bd)](_0x3d738e=>{const _0x19d85a=_0x478391;_0x3d738e&&this[_0x19d85a(0x228)](_0x3d738e);}),this['_urlService'][_0x478391(0x281)][_0x478391(0x287)](_0xdb7e78[_0x478391(0x393)](this[_0x478391(0x3f6)]))[_0x478391(0x3bd)](()=>this[_0x478391(0x2d5)](_0x3f4d7d));}[_0xa2269c(0x228)](_0x21bb5d,_0x4de05e=!0x1){const _0x328c30=_0xa2269c,_0x2045a4=this[_0x328c30(0x139)][_0x328c30(0x312)](_0x328c30(0x339));_0x21bb5d[_0x328c30(0x41b)]()!==_0x2045a4&&this[_0x328c30(0x139)][_0x328c30(0x264)]('subunit',_0x21bb5d[_0x328c30(0x41b)](),_0x4de05e);}async['_updateSubUnitFromURLParams'](_0x57a73d){const _0x456486=_0xa2269c;var _0x56b194;const _0x2f04a5=this[_0x456486(0x139)]['getParam']('subunit');if(!_0x2f04a5||!_0x57a73d[_0x456486(0x148)](_0x2f04a5)){const _0x53319a=_0x57a73d['getUnhiddenWorksheets']()[0x0],_0x326343=_0x57a73d[_0x456486(0x148)](_0x53319a);if(!_0x326343)return;this[_0x456486(0x228)](_0x326343,!0x0),await this[_0x456486(0x234)][_0x456486(0x22c)](_0xd76991['SetWorksheetActivateCommand']['id'],{'unitId':_0x57a73d[_0x456486(0x1b6)](),'subUnitId':_0x53319a});return;}((_0x56b194=_0x57a73d[_0x456486(0x412)]())==null?void 0x0:_0x56b194[_0x456486(0x41b)]())!==_0x2f04a5&&await this['_commandService'][_0x456486(0x22c)](_0xd76991[_0x456486(0x20f)]['id'],{'unitId':_0x57a73d[_0x456486(0x1b6)](),'subUnitId':_0x2f04a5});}},_0x44307e[_0xa2269c(0x19e)]=_0x51b3aa([_0x40a181(0x0,_0xdbf68a),_0x40a181(0x1,_0x63378d['ILogService']),_0x40a181(0x2,_0x63378d[_0xa2269c(0x278)]),_0x40a181(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x162)])),_0x40a181(0x4,_0x63378d[_0xa2269c(0x35d)](_0x5cb2c9[_0xa2269c(0x15c)]))],_0x44307e['CollaborationDataLoaderController']);var _0xb401ae=Object[_0xa2269c(0x2ee)],_0x24d6f5=(_0x588f10,_0x2d3b01,_0x9eb345,_0x2ae13c)=>{const _0x17ab09=_0xa2269c;for(var _0x173bdc=_0x2ae13c>0x1?void 0x0:_0x2ae13c?_0xb401ae(_0x2d3b01,_0x9eb345):_0x2d3b01,_0x5f2c47=_0x588f10[_0x17ab09(0x3af)]-0x1,_0x21d62f;_0x5f2c47>=0x0;_0x5f2c47--)(_0x21d62f=_0x588f10[_0x5f2c47])&&(_0x173bdc=_0x21d62f(_0x173bdc)||_0x173bdc);return _0x173bdc;},_0x502f2c=(_0x360fa0,_0x20d029)=>(_0x550fe9,_0x5132b0)=>_0x20d029(_0x550fe9,_0x5132b0,_0x360fa0);let _0x1ae3d3=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x2a1ce0,_0x5be240){const _0x3a7d65=_0xa2269c;super(),this[_0x3a7d65(0x330)]=_0x2a1ce0,this[_0x3a7d65(0x266)]=_0x5be240,this[_0x3a7d65(0x29a)]();}['_init'](){const _0x216ae4=_0xa2269c,_0x2e403d=this;this[_0x216ae4(0x165)](this[_0x216ae4(0x330)][_0x216ae4(0x429)]({'onBeforePasteImage':async _0x3316c1=>{const _0x294e2d=_0x216ae4,_0x1b9c9b=await _0x2e403d['_imageIoService'][_0x294e2d(0x1e1)](_0x3316c1);return _0x1b9c9b?{'source':_0x1b9c9b[_0x294e2d(0x223)],'imageSourceType':_0x1b9c9b[_0x294e2d(0x179)]}:null;}}));}};_0x1ae3d3=_0x24d6f5([_0x502f2c(0x0,_0x466fa5[_0xa2269c(0x2c5)]),_0x502f2c(0x1,_0x8f1469[_0xa2269c(0x2c4)])],_0x1ae3d3);const _0x3bdee1=[_0xa2269c(0x2e0),_0xa2269c(0x306),_0xa2269c(0x355),_0xa2269c(0x2f6),_0xa2269c(0x2a7),_0xa2269c(0x31d)];class _0x59a235 extends _0x63378d[_0xa2269c(0x2eb)]{constructor(){const _0x3ff836=_0xa2269c;super(...arguments),_0x354915(this,_0x3ff836(0x259),new Map()),_0x354915(this,_0x3ff836(0x288),0x0);}['assignAColorForMemberID'](_0x22f18b){const _0x2f6a88=_0xa2269c;if(this['_assignedColors'][_0x2f6a88(0x305)](_0x22f18b))return this['_assignedColors'][_0x2f6a88(0x1ed)](_0x22f18b);const _0x48b5cb=_0x3bdee1[this['_colorIndex']];return this['_colorIndex']=(this[_0x2f6a88(0x288)]+0x1)%_0x3bdee1[_0x2f6a88(0x3af)],this[_0x2f6a88(0x259)]['set'](_0x22f18b,_0x48b5cb),_0x48b5cb;}}function _0x12fc01(_0x271da7){let _0x348955='';for(const _0x4deb9c of _0x271da7){const {startOffset:_0x4cfb77,endOffset:_0x190d58,isActive:_0x12c4e2,rangeType:_0x3833b4,segmentId:_0x36e1b7,segmentPage:_0x125ff2}=_0x4deb9c;_0x348955['length']&&(_0x348955+=','),_0x348955+=_0x4cfb77+':'+_0x190d58+':'+(_0x12c4e2?'1':'0')+':'+_0x3833b4+':'+_0x36e1b7+':'+_0x125ff2;}return _0x348955;}function _0x48b4d2(_0x2d5855){const _0x539682=_0xa2269c,_0x1716fd=_0x2d5855[_0x539682(0x21b)](','),_0x19c907=[];for(const _0x2b5c56 of _0x1716fd){const [_0x37c62f,_0x3381e1,_0x1407a7,_0x56f73d,_0x1b5f71,_0x3fd852]=_0x2b5c56[_0x539682(0x21b)](':');_0x19c907['push']({'startOffset':Number(_0x37c62f),'endOffset':Number(_0x3381e1),'collapsed':_0x37c62f===_0x3381e1,'isActive':_0x1407a7==='1','rangeType':_0x56f73d===_0x63378d['DOC_RANGE_TYPE']['TEXT']?_0x63378d[_0x539682(0x418)]['TEXT']:_0x63378d[_0x539682(0x418)]['RECT'],'segmentId':typeof _0x1b5f71==_0x539682(0x2d1)?String(_0x1b5f71):'','segmentPage':Number(_0x3fd852!=null?_0x3fd852:-0x1)});}return _0x19c907[_0x539682(0x2ac)](_0x3e7db0=>_0x3e7db0[_0x539682(0x1b3)])||(_0x19c907[0x0][_0x539682(0x1b3)]=!0x0),_0x19c907;}class _0x5ad830 extends _0x63378d['RxDisposable']{constructor(){const _0x576ba7=_0xa2269c;super(...arguments),_0x354915(this,_0x576ba7(0x196),new _0xdb7e78[(_0x576ba7(0x189))](null)),_0x354915(this,_0x576ba7(0x16d),this['_collabCursorState$'][_0x576ba7(0x187)]());}[_0xa2269c(0x2a8)](_0x23dc03){const _0xe54d38=_0xa2269c,{unitID:_0xadea3d,memberID:_0x1477dd,textRanges:_0x29f240}=_0x23dc03,_0x5dfd58=_0x12fc01(_0x29f240);if(_0x5dfd58==='')return;const _0x3dd870={'unitID':_0xadea3d,'memberID':_0x1477dd,'selection':_0x5dfd58};this['_collabCursorState$'][_0xe54d38(0x386)](_0x3dd870);}}var _0x11503e=Object[_0xa2269c(0x2ee)],_0x4a4c41=(_0x4c2f25,_0xe37408,_0x37a88e,_0x50c77c)=>{const _0x5da81e=_0xa2269c;for(var _0x2f9a3f=_0x50c77c>0x1?void 0x0:_0x50c77c?_0x11503e(_0xe37408,_0x37a88e):_0xe37408,_0x2956a8=_0x4c2f25[_0x5da81e(0x3af)]-0x1,_0x1be8d2;_0x2956a8>=0x0;_0x2956a8--)(_0x1be8d2=_0x4c2f25[_0x2956a8])&&(_0x2f9a3f=_0x1be8d2(_0x2f9a3f)||_0x2f9a3f);return _0x2f9a3f;},_0x41f6b2=(_0x344a54,_0x1a2aed)=>(_0x4155fa,_0x530f0a)=>_0x1a2aed(_0x4155fa,_0x530f0a,_0x344a54);const _0x1db983=0x12c,_0x33b0d0=0x64;let _0x551c12=class extends _0x63378d['RxDisposable']{constructor(_0x17bdfd,_0x3c61b8,_0xf90692,_0x484f4e,_0x5b4b5d,_0x189c5b,_0x31feed,_0x5057f0,_0x29fb39){const _0x5ae633=_0xa2269c;super(),_0x354915(this,_0x5ae633(0x244),!0x1),_0x354915(this,'_init',!0x1),_0x354915(this,_0x5ae633(0x1e6),new _0xdb7e78[(_0x5ae633(0x189))](new Map())),_0x354915(this,_0x5ae633(0x22f),this[_0x5ae633(0x1e6)][_0x5ae633(0x187)]()),_0x354915(this,'_roomMembers$',new _0xdb7e78[(_0x5ae633(0x189))]([])),_0x354915(this,_0x5ae633(0x26d),this[_0x5ae633(0x2de)][_0x5ae633(0x287)](_0xdb7e78[_0x5ae633(0x1db)](_0x1db983))),_0x354915(this,'_updateLocalCursor',_0x63378d['debounce'](_0x12f5b5=>{const _0x2ef93f=_0x5ae633,_0x3201d8={'eventID':_0x1a1813[_0x2ef93f(0x392)][_0x2ef93f(0x26b)],'data':{'unitID':this[_0x2ef93f(0x3a6)],'memberID':this[_0x2ef93f(0x387)]['getMemberID'](),'selection':_0x12fc01(_0x12f5b5)}};this[_0x2ef93f(0x387)][_0x2ef93f(0x1f0)](_0x3201d8,this['unitID']);},_0x33b0d0)),(this['unitID']=_0x17bdfd,this[_0x5ae633(0x387)]=_0x3c61b8,this[_0x5ae633(0x2c9)]=_0xf90692,this[_0x5ae633(0x389)]=_0x484f4e,this[_0x5ae633(0x366)]=_0x5b4b5d,this[_0x5ae633(0x22d)]=_0x189c5b,this[_0x5ae633(0x253)]=_0x31feed,this[_0x5ae633(0x1ef)]=_0x5057f0,this[_0x5ae633(0x234)]=_0x29fb39);}get[_0xa2269c(0x401)](){const _0x27ee53=_0xa2269c;return this[_0x27ee53(0x1e6)][_0x27ee53(0x273)]();}get[_0xa2269c(0x23e)](){const _0x320aee=_0xa2269c;return this[_0x320aee(0x2de)][_0x320aee(0x273)]();}['dispose'](){const _0x439204=_0xa2269c;super[_0x439204(0x212)](),this['_cursorInfo$'][_0x439204(0x386)](new Map()),this[_0x439204(0x1e6)][_0x439204(0x285)](),this[_0x439204(0x2de)][_0x439204(0x386)]([]),this[_0x439204(0x2de)][_0x439204(0x285)]();}['init'](){const _0x970bf7=_0xa2269c;this[_0x970bf7(0x29a)]||(this[_0x970bf7(0x29a)]=!0x0,this[_0x970bf7(0x387)][_0x970bf7(0x1e0)][_0x970bf7(0x287)](_0xdb7e78[_0x970bf7(0x393)](this[_0x970bf7(0x3f6)]))['subscribe'](_0x2ed547=>{const _0x6eb3c9=_0x970bf7;_0x2ed547===_0x49b930['SessionStatus'][_0x6eb3c9(0x32b)]?this[_0x6eb3c9(0x3e0)]():this['_toggleOffline']();}),this[_0x970bf7(0x387)][_0x970bf7(0x3eb)]['pipe'](_0xdb7e78[_0x970bf7(0x393)](this[_0x970bf7(0x3f6)]))[_0x970bf7(0x3bd)](_0x31af1e=>{const _0x1d6725=_0x970bf7,_0x556dff=_0x31af1e['eventID'];_0x556dff===_0x1a1813[_0x1d6725(0x392)][_0x1d6725(0x26b)]&&this[_0x1d6725(0x135)](_0x31af1e),_0x556dff===_0x1a1813[_0x1d6725(0x392)][_0x1d6725(0x18a)]&&this[_0x1d6725(0x28f)](_0x31af1e);}),this[_0x970bf7(0x165)](this['_commandService'][_0x970bf7(0x172)](_0x1bfb84=>{const _0x1abef6=_0x970bf7,_0x5623a7=_0x1bfb84[_0x1abef6(0x364)];_0x5623a7!=null&&this['_online']&&_0x1bfb84['id']===_0x461a0f[_0x1abef6(0x367)]['id']&&_0x5623a7['unitId']===this['unitID']&&_0x5623a7[_0x1abef6(0x22a)]===!0x1&&_0x5623a7[_0x1abef6(0x32d)][_0x1abef6(0x3af)]>0x0&&this[_0x1abef6(0x1df)](_0x5623a7[_0x1abef6(0x32d)]);})),this[_0x970bf7(0x22d)]['collabCursorState$'][_0x970bf7(0x287)](_0xdb7e78[_0x970bf7(0x393)](this[_0x970bf7(0x3f6)]))['subscribe'](_0x3d93e7=>{const _0x344100=_0x970bf7;if((_0x3d93e7==null?void 0x0:_0x3d93e7[_0x344100(0x3a6)])!==this['unitID'])return;const _0x4136e7={'eventID':_0x1a1813[_0x344100(0x392)][_0x344100(0x26b)],'data':_0x3d93e7};this['_onCursorUpdate'](_0x4136e7);}),this[_0x970bf7(0x165)](this['_commandService'][_0x970bf7(0x172)](_0x4fc68d=>{const _0x1d09d4=_0x970bf7;if(_0x4fc68d[_0x1d09d4(0x364)]==null)return;const _0x398e69=_0x4fc68d[_0x1d09d4(0x364)];if(_0x4fc68d['id']!==_0x461a0f['RichTextEditingMutation']['id']||_0x398e69['unitId']!==this['unitID'])return;const _0x5ec51e={'id':'doc.mutation.rich-text-editing','params':_0x398e69},_0x204153=this[_0x1d09d4(0x401)];for(const [_0x1d6666,_0x3d9690]of _0x204153){const _0x3c5343={'id':_0x1d09d4(0x3c4),'params':{'unitId':this[_0x1d09d4(0x3a6)],'actions':null,'textRanges':_0x3d9690['ranges']}},_0x33ab60=this[_0x1d09d4(0x253)][_0x1d09d4(0x2c8)](_0x5ec51e,_0x3c5343,!0x1);if(_0x1a1813[_0x1d09d4(0x417)](_0x33ab60))throw _0x33ab60[_0x1d09d4(0x33d)];_0x204153['set'](_0x1d6666,{..._0x3d9690,'ranges':_0x33ab60[_0x1d09d4(0x310)][_0x1d09d4(0x364)][_0x1d09d4(0x426)]});}queueMicrotask(()=>{const _0x54df73=_0x1d09d4;this[_0x54df73(0x1e6)]['next'](_0x204153);});})));}[_0xa2269c(0x135)](_0x3d4816){const _0x364ac3=_0xa2269c;var _0xcbb2ed,_0x317152;const {memberID:_0xf8b093,selection:_0x4342bd}=_0x3d4816[_0x364ac3(0x347)],_0xef94b0=_0x48b4d2(_0x4342bd),_0xcd5072=(_0x317152=(_0xcbb2ed=this[_0x364ac3(0x366)][_0x364ac3(0x26a)](this['unitID'],_0xf8b093))==null?void 0x0:_0xcbb2ed['name'])!=null?_0x317152:_0x364ac3(0x1ba),_0x56bc80={'color':this[_0x364ac3(0x389)][_0x364ac3(0x21f)](_0xf8b093),'name':_0xcd5072,'ranges':_0xef94b0},_0x3c8ba6=this[_0x364ac3(0x401)];_0x3c8ba6[_0x364ac3(0x233)](_0xf8b093,_0x56bc80),this[_0x364ac3(0x1e6)][_0x364ac3(0x386)](_0x3c8ba6);}[_0xa2269c(0x28f)](_0x2d9a9e){const _0x1b7b31=_0xa2269c,{memberID:_0xde9daa}=_0x2d9a9e['data'],_0x2ea0dd=this[_0x1b7b31(0x401)];_0x2ea0dd[_0x1b7b31(0x219)](_0xde9daa),this['_cursorInfo$'][_0x1b7b31(0x386)](_0x2ea0dd);}[_0xa2269c(0x3e0)](){const _0x407e47=_0xa2269c;var _0x1bb213;if(this[_0x407e47(0x244)]=!0x0,((_0x1bb213=this[_0x407e47(0x1ef)][_0x407e47(0x1b2)]())==null?void 0x0:_0x1bb213[_0x407e47(0x1b6)]())!==this['unitID'])return;const _0x5c4a8c=this[_0x407e47(0x2c9)]['get'](_0x461a0f[_0x407e47(0x370)])[_0x407e47(0x206)]();Array[_0x407e47(0x14a)](_0x5c4a8c)&&_0x5c4a8c[_0x407e47(0x3af)]>0x0&&this[_0x407e47(0x1df)](_0x5c4a8c);}[_0xa2269c(0x161)](){const _0x3f620b=_0xa2269c;this[_0x3f620b(0x244)]=!0x1;}};_0x551c12=_0x4a4c41([_0x41f6b2(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x41f6b2(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x59a235)),_0x41f6b2(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x1e2)])),_0x41f6b2(0x5,_0x63378d[_0xa2269c(0x1ce)](_0x5ad830)),_0x41f6b2(0x6,_0x1a1813[_0xa2269c(0x19d)]),_0x41f6b2(0x7,_0x63378d[_0xa2269c(0x240)]),_0x41f6b2(0x8,_0x63378d[_0xa2269c(0x278)])],_0x551c12);var _0x391675=Object[_0xa2269c(0x2ee)],_0x20cb9f=(_0x3fee7b,_0xd69a4c,_0x4960f9,_0x216f1e)=>{for(var _0x281e22=_0x216f1e>0x1?void 0x0:_0x216f1e?_0x391675(_0xd69a4c,_0x4960f9):_0xd69a4c,_0x1bf915=_0x3fee7b['length']-0x1,_0x5c947f;_0x1bf915>=0x0;_0x1bf915--)(_0x5c947f=_0x3fee7b[_0x1bf915])&&(_0x281e22=_0x5c947f(_0x281e22)||_0x281e22);return _0x281e22;},_0x54a434=(_0x23ca6e,_0x5b2079)=>(_0x347c67,_0x50b0a5)=>_0x5b2079(_0x347c67,_0x50b0a5,_0x23ca6e);const _0x239728=0x12c,_0x3a394f=0x64,_0x2ad53b=()=>{let _0x2cf674=[],_0x222fc9=!0x1;return _0xb29351=>{const _0x4c1d09=_0x529e;_0x2cf674[_0x4c1d09(0x2ca)](_0xb29351),_0x222fc9||(_0x222fc9=!0x0,setTimeout(()=>{const _0x31e92c=_0x4c1d09;_0x2cf674[_0x31e92c(0x399)](_0x3640d1=>_0x3640d1()),_0x2cf674=[],_0x222fc9=!0x1;}));};};let _0x592626=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x4ae30c,_0x4221b8,_0x4f5b91,_0x201429,_0x54b391,_0x36a097,_0xc4fc4f,_0x1061fe){const _0x4712c9=_0xa2269c;super(),_0x354915(this,_0x4712c9(0x244),!0x1),_0x354915(this,_0x4712c9(0x29a),!0x1),_0x354915(this,_0x4712c9(0x1e6),new _0xdb7e78[(_0x4712c9(0x189))](new Map())),_0x354915(this,_0x4712c9(0x22f),this[_0x4712c9(0x1e6)]['asObservable']()),_0x354915(this,_0x4712c9(0x2de),new _0xdb7e78[(_0x4712c9(0x189))]([])),_0x354915(this,'roomMembers$',this[_0x4712c9(0x2de)]['pipe'](_0xdb7e78[_0x4712c9(0x1db)](_0x239728))),_0x354915(this,'_updateLocalCursor',_0x63378d[_0x4712c9(0x134)]((_0x512a59,_0x35a930)=>{const _0xac1d5e=_0x4712c9,_0x4f2de5={'eventID':_0x1a1813[_0xac1d5e(0x392)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xac1d5e(0x3a6)],'memberID':this[_0xac1d5e(0x387)][_0xac1d5e(0x2e6)](),'selection':_0x1a201e[_0xac1d5e(0x17f)](_0x512a59,_0x35a930['range'])}};this[_0xac1d5e(0x387)][_0xac1d5e(0x1f0)](_0x4f2de5,this[_0xac1d5e(0x3a6)]);},_0x3a394f)),(this[_0x4712c9(0x3a6)]=_0x4ae30c,this[_0x4712c9(0x387)]=_0x4221b8,this[_0x4712c9(0x2c9)]=_0x4f5b91,this['_colorAssignService']=_0x201429,this[_0x4712c9(0x366)]=_0x54b391,this[_0x4712c9(0x1ef)]=_0x36a097,this['_commandService']=_0xc4fc4f,this[_0x4712c9(0x258)]=_0x1061fe);}get['cursorInfo'](){const _0x547163=_0xa2269c;return this[_0x547163(0x1e6)][_0x547163(0x273)]();}get[_0xa2269c(0x23e)](){const _0x526322=_0xa2269c;return this[_0x526322(0x2de)][_0x526322(0x273)]();}['dispose'](){const _0x1f94d5=_0xa2269c;super[_0x1f94d5(0x212)](),this[_0x1f94d5(0x1e6)]['next'](new Map()),this['_cursorInfo$'][_0x1f94d5(0x285)](),this['_roomMembers$'][_0x1f94d5(0x386)]([]),this[_0x1f94d5(0x2de)][_0x1f94d5(0x285)]();}[_0xa2269c(0x17c)](){const _0x3965e8=_0xa2269c;this[_0x3965e8(0x29a)]||(this[_0x3965e8(0x29a)]=!0x0,this['_session'][_0x3965e8(0x1e0)][_0x3965e8(0x287)](_0xdb7e78[_0x3965e8(0x393)](this['dispose$']))[_0x3965e8(0x3bd)](_0x3791d8=>{const _0x4680e6=_0x3965e8;_0x3791d8===_0x49b930['SessionStatus'][_0x4680e6(0x32b)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x3965e8(0x3eb)][_0x3965e8(0x287)](_0xdb7e78[_0x3965e8(0x393)](this['dispose$']))[_0x3965e8(0x3bd)](_0x53a45b=>{const _0x183704=_0x3965e8,_0x182b40=_0x53a45b['eventID'];_0x182b40===_0x1a1813[_0x183704(0x392)][_0x183704(0x26b)]&&this[_0x183704(0x135)](_0x53a45b),_0x182b40===_0x1a1813[_0x183704(0x392)]['USERS_LEAVE']&&this[_0x183704(0x28f)](_0x53a45b);}),this[_0x3965e8(0x1b0)](),this[_0x3965e8(0x165)](this[_0x3965e8(0x234)][_0x3965e8(0x172)](_0x564869=>{const _0x28f35e=_0x3965e8;if(this[_0x28f35e(0x244)]&&_0x564869['id']===_0xd76991[_0x28f35e(0x1ec)]['id']&&_0x564869[_0x28f35e(0x364)][_0x28f35e(0x1bb)]===this[_0x28f35e(0x3a6)]){const _0x359d75=_0x564869['params'];this[_0x28f35e(0x1df)](_0x359d75[_0x28f35e(0x275)],_0x359d75['selections'][0x0]);}})));}[_0xa2269c(0x135)](_0x26b90f){const _0x504555=_0xa2269c;var _0x2a4de0,_0x3c719d;const {memberID:_0x34ebab,selection:_0x14e042}=_0x26b90f[_0x504555(0x347)],{sheetName:_0x44f64c,range:_0x5d4783}=_0x1a201e['deserializeRangeWithSheet'](_0x14e042),_0x40a1fb={'name':(_0x3c719d=(_0x2a4de0=this[_0x504555(0x366)][_0x504555(0x26a)](this[_0x504555(0x3a6)],_0x34ebab))==null?void 0x0:_0x2a4de0[_0x504555(0x1f8)])!=null?_0x3c719d:_0x504555(0x1ba),'range':this[_0x504555(0x2f0)](_0x44f64c,_0x5d4783),'sheetID':_0x44f64c,'color':this[_0x504555(0x389)]['assignAColorForMemberID'](_0x34ebab),'selection':_0x14e042},_0x472031=this[_0x504555(0x401)];_0x472031[_0x504555(0x233)](_0x34ebab,_0x40a1fb),this[_0x504555(0x1e6)][_0x504555(0x386)](_0x472031);}['_onCursorDelete'](_0x564d2b){const _0xb68b1b=_0xa2269c,{memberID:_0x2202f3}=_0x564d2b[_0xb68b1b(0x347)],_0x35f17f=this[_0xb68b1b(0x401)];_0x35f17f[_0xb68b1b(0x219)](_0x2202f3),this[_0xb68b1b(0x1e6)][_0xb68b1b(0x386)](_0x35f17f);}['_getMergeRange'](_0xe41b9f,_0x58d33d){const _0x14d27f=_0xa2269c;var _0x4e3943,_0x555629;const _0x1bc3e4=(_0x555629=(_0x4e3943=this['_univerInstanceService'][_0x14d27f(0x3c2)](this[_0x14d27f(0x3a6)]))==null?void 0x0:_0x4e3943[_0x14d27f(0x148)](_0xe41b9f))==null?void 0x0:_0x555629[_0x14d27f(0x20c)]();return(_0x1bc3e4==null?void 0x0:_0x1bc3e4[_0x14d27f(0x13f)](_0x3bd1fd=>_0x63378d[_0x14d27f(0x1fe)][_0x14d27f(0x2b4)](_0x3bd1fd,_0x58d33d)))||_0x58d33d;}[_0xa2269c(0x1b0)](){const _0x24d292=_0xa2269c,_0x5dfe6e=new _0x63378d[(_0x24d292(0x403))](),_0x358329=_0x2ad53b(),_0x122958=()=>{const _0x476e0d=_0x24d292;_0x5dfe6e[_0x476e0d(0x212)]();const _0x46b04f=(_0x16f737,_0x2585aa,_0x16cf11,_0x504c68)=>{const _0xf3b8f6=_0x476e0d;let _0x3c4c89=[];switch(_0x16f737['id']){case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x3d1)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x30c)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x39f)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x3ea)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x27f)]:{_0x3c4c89=_0xd76991['handleInsertCol'](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x261)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x350)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x415)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x217)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x2c3)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x3e4)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)]['MoveRangeCommandId']:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x28d)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x318)]:{_0x3c4c89=_0xd76991['handleIRemoveCol'](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)]['RemoveRowCommandId']:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x1a0)](_0x16f737,_0x504c68);break;}}const _0x3ebaf8=_0xd76991[_0xf3b8f6(0x27e)](_0x3c4c89,_0x504c68),_0x3e41e1=this[_0xf3b8f6(0x401)][_0xf3b8f6(0x1ed)](_0x2585aa);if(_0x3e41e1&&_0x3ebaf8){const _0x4aaf71={..._0x3e41e1,'range':_0x3ebaf8};this['cursorInfo'][_0xf3b8f6(0x233)](_0x2585aa,_0x4aaf71),_0x358329(()=>{const _0x1cd3e9=_0xf3b8f6,_0xe83337=this[_0x1cd3e9(0x258)][_0x1cd3e9(0x395)](_0x3ebaf8,_0x2a45f2=>(_0xe83337[_0x1cd3e9(0x212)](),_0x46b04f(_0x2a45f2,_0x2585aa,_0x16cf11,_0x3ebaf8)));_0x5dfe6e['add'](_0xe83337);});}return{'redos':[],'undos':[]};};this[_0x476e0d(0x401)]['forEach']((_0x776159,_0x3811be)=>{const _0x5d7890=_0x476e0d,{range:_0x5917d2,sheetID:_0x17c643}=_0x776159,_0xfddfa5=this['_refRangeService'][_0x5d7890(0x395)](_0x5917d2,_0x267d6e=>(_0xfddfa5['dispose'](),_0x46b04f(_0x267d6e,_0x3811be,_0x17c643,_0x5917d2)));_0x5dfe6e[_0x5d7890(0x2a3)](_0xfddfa5);});};this[_0x24d292(0x165)](_0x63378d['toDisposable'](this['_cursorInfo$'][_0x24d292(0x3bd)](()=>{_0x122958();})));}[_0xa2269c(0x3e0)](){const _0x5dfb6a=_0xa2269c;var _0x50125e,_0x39656d;if(this['_online']=!0x0,((_0x50125e=this[_0x5dfb6a(0x1ef)]['getFocusedUnit']())==null?void 0x0:_0x50125e[_0x5dfb6a(0x1b6)]())!==this[_0x5dfb6a(0x3a6)])return;const _0x460cb4=(_0x39656d=this[_0x5dfb6a(0x2c9)][_0x5dfb6a(0x1ed)](_0xd76991['SheetsSelectionsService'])[_0x5dfb6a(0x2ce)]())==null?void 0x0:_0x39656d[0x0],_0x13b691=this['_univerInstanceService']['getCurrentUnitForType'](_0x63378d[_0x5dfb6a(0x332)][_0x5dfb6a(0x24a)])[_0x5dfb6a(0x412)]();_0x460cb4&&_0x13b691&&this[_0x5dfb6a(0x1df)](_0x13b691[_0x5dfb6a(0x41b)](),_0x460cb4);}[_0xa2269c(0x161)](){const _0x40adfd=_0xa2269c;this[_0x40adfd(0x244)]=!0x1;}};_0x592626=_0x20cb9f([_0x54a434(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x54a434(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x59a235)),_0x54a434(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x1e2)])),_0x54a434(0x5,_0x63378d[_0xa2269c(0x240)]),_0x54a434(0x6,_0x63378d['ICommandService']),_0x54a434(0x7,_0x63378d[_0xa2269c(0x1ce)](_0xd76991[_0xa2269c(0x309)]))],_0x592626);var _0x4863a5=Object[_0xa2269c(0x2ee)],_0x56f9e3=(_0x4314c9,_0x1d33f5,_0x41590f,_0xd0d701)=>{for(var _0x3c097a=_0xd0d701>0x1?void 0x0:_0xd0d701?_0x4863a5(_0x1d33f5,_0x41590f):_0x1d33f5,_0x2863eb=_0x4314c9['length']-0x1,_0x529f4d;_0x2863eb>=0x0;_0x2863eb--)(_0x529f4d=_0x4314c9[_0x2863eb])&&(_0x3c097a=_0x529f4d(_0x3c097a)||_0x3c097a);return _0x3c097a;},_0x158f07=(_0x5dd9cb,_0x1f72fb)=>(_0x3b4ae8,_0x505811)=>_0x1f72fb(_0x3b4ae8,_0x505811,_0x5dd9cb);let _0x64597c=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x27345d,_0x36173a,_0x1cdb61){const _0x448588=_0xa2269c;super(),_0x354915(this,_0x448588(0x2dc),new Map()),_0x354915(this,_0x448588(0x35f),new _0xdb7e78[(_0x448588(0x1f1))]()),(this['_univerInstanceService']=_0x27345d,this['_injector']=_0x36173a,this[_0x448588(0x340)]=_0x1cdb61,this[_0x448588(0x29a)]());}[_0xa2269c(0x212)](){const _0xb7c8cf=_0xa2269c;super['dispose'](),this[_0xb7c8cf(0x35f)][_0xb7c8cf(0x285)](),this[_0xb7c8cf(0x2dc)]['forEach'](_0x6c8f4c=>_0x6c8f4c[_0xb7c8cf(0x212)]());}[_0xa2269c(0x2a6)](_0x3fbb9a){const _0x341644=_0xa2269c;return this[_0x341644(0x2dc)][_0x341644(0x305)](_0x3fbb9a)?this[_0x341644(0x2dc)][_0x341644(0x1ed)](_0x3fbb9a)[_0x341644(0x22f)]:this[_0x341644(0x35f)][_0x341644(0x287)](_0xdb7e78[_0x341644(0x131)](_0x239c28=>_0x239c28[_0x341644(0x3a6)]===_0x3fbb9a),_0xdb7e78[_0x341644(0x390)](_0x691665=>_0x691665[_0x341644(0x22f)]));}['_init'](){const _0x4d9dfd=_0xa2269c;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x63378d['UniverInstanceType']['UNIVER_SHEET'])[_0x4d9dfd(0x287)](_0xdb7e78[_0x4d9dfd(0x393)](this[_0x4d9dfd(0x3f6)]))['subscribe'](async _0x37dcdc=>{const _0x258ec4=_0x4d9dfd,_0x1e4bc4=_0x37dcdc['getUnitId'](),_0x312398=await this[_0x258ec4(0x335)](_0x1e4bc4);this[_0x258ec4(0x35f)][_0x258ec4(0x386)](_0x312398),this[_0x258ec4(0x2dc)][_0x258ec4(0x233)](_0x1e4bc4,_0x312398);}),this['_univerInstanceService'][_0x4d9dfd(0x13b)](_0x63378d[_0x4d9dfd(0x332)][_0x4d9dfd(0x143)])[_0x4d9dfd(0x287)](_0xdb7e78[_0x4d9dfd(0x393)](this[_0x4d9dfd(0x3f6)]))['pipe'](_0xdb7e78[_0x4d9dfd(0x131)](_0xe7a139=>!_0xe7a139[_0x4d9dfd(0x1b6)]()[_0x4d9dfd(0x3e5)]('__')))[_0x4d9dfd(0x3bd)](async _0x4bc348=>{const _0x792e4d=_0x4d9dfd,_0x43fdc2=_0x4bc348['getUnitId'](),_0x42047d=await this[_0x792e4d(0x29d)](_0x43fdc2);this[_0x792e4d(0x35f)][_0x792e4d(0x386)](_0x42047d),this[_0x792e4d(0x2dc)]['set'](_0x43fdc2,_0x42047d);}),_0xdb7e78[_0x4d9dfd(0x232)](this[_0x4d9dfd(0x1ef)][_0x4d9dfd(0x1a9)](_0x63378d['UniverInstanceType']['UNIVER_DOC']),this[_0x4d9dfd(0x1ef)][_0x4d9dfd(0x1a9)](_0x63378d[_0x4d9dfd(0x332)][_0x4d9dfd(0x24a)]))[_0x4d9dfd(0x287)](_0xdb7e78[_0x4d9dfd(0x393)](this[_0x4d9dfd(0x3f6)]))[_0x4d9dfd(0x3bd)](_0x5a9188=>{const _0x14397e=_0x4d9dfd,_0x545934=_0x5a9188[_0x14397e(0x1b6)](),_0x18bea5=this[_0x14397e(0x2dc)]['get'](_0x545934);_0x18bea5&&(_0x18bea5[_0x14397e(0x212)](),this[_0x14397e(0x2dc)]['delete'](_0x545934));});}async[_0xa2269c(0x335)](_0x498dd7){const _0x46e127=_0xa2269c,_0x4b8335=await this[_0x46e127(0x340)][_0x46e127(0x3e7)](_0x498dd7),_0x2b1401=this[_0x46e127(0x2c9)][_0x46e127(0x19b)](_0x592626,_0x498dd7,_0x4b8335);return _0x2b1401[_0x46e127(0x17c)](),_0x2b1401;}async[_0xa2269c(0x29d)](_0x37d6ae){const _0x285708=_0xa2269c,_0x48cabd=await this[_0x285708(0x340)][_0x285708(0x3e7)](_0x37d6ae),_0x577ec2=this[_0x285708(0x2c9)][_0x285708(0x19b)](_0x551c12,_0x37d6ae,_0x48cabd);return _0x577ec2['init'](),_0x577ec2;}};_0x64597c=_0x56f9e3([_0x158f07(0x0,_0x63378d[_0xa2269c(0x240)]),_0x158f07(0x1,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x2e7)])),_0x158f07(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x42a)]))],_0x64597c);const _0x5d0cb4=0x14,_0x11b99b=0xc8,_0xf4c062=0x4,_0x345351=0x5;function _0x5c3c70(_0x221e12,_0x45cc65){const _0x33ea30=_0xa2269c;let {radius:_0x30de65,width:_0x168ee0,height:_0x3cb5ce}=_0x45cc65;_0x30de65=_0x30de65!=null?_0x30de65:0x0,_0x168ee0=_0x168ee0!=null?_0x168ee0:0x1e,_0x3cb5ce=_0x3cb5ce!=null?_0x3cb5ce:0x1e;let _0x5e3f36=0x0,_0xea8327=0x0,_0x1ec24d=0x0;_0x5e3f36=_0xea8327=_0x1ec24d=Math[_0x33ea30(0x250)](_0x30de65,_0x168ee0/0x2,_0x3cb5ce/0x2),_0x221e12[_0x33ea30(0x238)](),_0x221e12[_0x33ea30(0x1ab)](_0x5e3f36,0x0),_0x221e12[_0x33ea30(0x2d8)](_0x168ee0-_0xea8327,0x0),_0x221e12[_0x33ea30(0x3fc)](_0x168ee0-_0xea8327,_0xea8327,_0xea8327,Math['PI']*0x3/0x2,0x0,!0x1),_0x221e12['lineTo'](_0x168ee0,_0x3cb5ce-_0x1ec24d),_0x221e12[_0x33ea30(0x3fc)](_0x168ee0-_0x1ec24d,_0x3cb5ce-_0x1ec24d,_0x1ec24d,0x0,Math['PI']/0x2,!0x1),_0x221e12['lineTo'](0x0,_0x3cb5ce),_0x221e12['lineTo'](0x0,_0x5e3f36),_0x221e12['arc'](_0x5e3f36,_0x5e3f36,_0x5e3f36,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x221e12[_0x33ea30(0x40f)](),_0x45cc65[_0x33ea30(0x41c)]&&(_0x221e12[_0x33ea30(0x180)](),_0x221e12[_0x33ea30(0x3db)]=_0x45cc65[_0x33ea30(0x41c)],_0x45cc65[_0x33ea30(0x1bd)]==='evenodd'?_0x221e12['fill'](_0x33ea30(0x2ff)):_0x221e12['fill'](),_0x221e12[_0x33ea30(0x405)]());}class _0x19ce18 extends _0x3be252[_0xa2269c(0x42d)]{constructor(_0x480218,_0x3ab927){const _0x521e33=_0xa2269c;super(_0x480218,_0x3ab927),_0x354915(this,_0x521e33(0x3fb)),_0x354915(this,_0x521e33(0x321)),(this[_0x521e33(0x3fb)]=_0x3ab927==null?void 0x0:_0x3ab927[_0x521e33(0x3fb)],this['text']=_0x3ab927==null?void 0x0:_0x3ab927[_0x521e33(0x321)]);}static[_0xa2269c(0x336)](_0x6e8466,_0x36bd93){const _0x26f0ed=_0xa2269c,{text:_0xf5ee36,color:_0x5bed96}=_0x36bd93;_0x6e8466[_0x26f0ed(0x180)](),_0x6e8466[_0x26f0ed(0x194)]=_0x26f0ed(0x1cc);const _0x44a440=_0x6e8466[_0x26f0ed(0x1fa)](_0xf5ee36)[_0x26f0ed(0x208)],_0x15fbad=Math[_0x26f0ed(0x250)](_0x44a440+0x2*_0xf4c062,_0x11b99b);_0x5c3c70(_0x6e8466,{'height':_0x5d0cb4,'radius':0x4,'width':_0x15fbad,'fill':_0x5bed96}),_0x6e8466['fillStyle']='#FFF';const _0x117904=_0xf4c062,_0x52e581=_0x5d0cb4-_0x345351,_0x1c2b2e=_0x11b99b-0x2*_0xf4c062;if(_0x44a440>_0x1c2b2e){let _0x18eb0e='',_0x8003bf=0x0;for(const _0x5be078 of _0xf5ee36){const _0x5380ae=_0x6e8466[_0x26f0ed(0x1fa)](_0x5be078)[_0x26f0ed(0x208)];if(_0x8003bf+_0x5380ae<=_0x1c2b2e-_0x6e8466[_0x26f0ed(0x1fa)](_0x26f0ed(0x205))[_0x26f0ed(0x208)])_0x18eb0e+=_0x5be078,_0x8003bf+=_0x5380ae;else{_0x18eb0e+='...';break;}}_0x6e8466['fillText'](_0x18eb0e,_0x117904,_0x52e581);}else _0x6e8466['fillText'](_0xf5ee36,_0x117904,_0x52e581);_0x6e8466[_0x26f0ed(0x405)]();}[_0xa2269c(0x34e)](_0x8c594d){_0x19ce18['drawWith'](_0x8c594d,this);}}const _0x5ee5cb=_0xa2269c(0x268),_0x20ad32='collab-text-range-',_0x31c2ae=_0xa2269c(0x416),_0x53cfc9=0x6,_0xf91a10=1.5,_0x3a8d60=0x4,_0x1fdad0=1.5,_0x3d44c3=_0xa2269c(0x349);class _0x5ed346{constructor(_0x3ce6ce,_0x388b7a,_0x5205e6,_0x1f8d06){const _0x4d14e5=_0xa2269c;_0x354915(this,_0x4d14e5(0x3da),[]),_0x354915(this,_0x4d14e5(0x300),null),_0x354915(this,_0x4d14e5(0x2b7),null),_0x354915(this,'_anchorDot',null),_0x354915(this,_0x4d14e5(0x40c),null),_0x354915(this,_0x4d14e5(0x230),null),(this[_0x4d14e5(0x38f)]=_0x3ce6ce,this[_0x4d14e5(0x293)]=_0x388b7a,this[_0x4d14e5(0x33c)]=_0x5205e6,this[_0x4d14e5(0x1af)]=_0x1f8d06,this[_0x4d14e5(0x147)]());}set['_hover'](_0x1bd7b7){const _0x1092fa=_0xa2269c;_0x1bd7b7?(this[_0x1092fa(0x3df)]&&this[_0x1092fa(0x3df)][_0x1092fa(0x18f)](),this[_0x1092fa(0x2b7)]&&this[_0x1092fa(0x2b7)][_0x1092fa(0x277)]()):(this['_anchorDot']&&this[_0x1092fa(0x3df)][_0x1092fa(0x277)](),this[_0x1092fa(0x2b7)]&&this['_textBubble'][_0x1092fa(0x18f)]());}['dispose'](){const _0x83aab1=_0xa2269c;for(const _0x18948d of this['_shapes'])_0x18948d['dispose']();this[_0x83aab1(0x2b7)]&&this[_0x83aab1(0x2b7)][_0x83aab1(0x212)](),this[_0x83aab1(0x3df)]&&this[_0x83aab1(0x3df)][_0x83aab1(0x212)](),this[_0x83aab1(0x300)]&&this[_0x83aab1(0x300)]['dispose'](),this[_0x83aab1(0x230)]&&this[_0x83aab1(0x230)]();}[_0xa2269c(0x147)](){const _0x46e73b=_0xa2269c;var _0x15f3c7;const {_docSkeleton:_0x165dcc,_document:_0x25b06e}=this,{color:_0x15489d,name:_0x38162b,ranges:_0x3adfa7}=this['_cursor'],_0x13b584=_0x25b06e[_0x46e73b(0x1de)](),{docsLeft:_0x55abce,docsTop:_0x3ccfa0}=_0x13b584,_0x495f07=new _0x466fa5[(_0x46e73b(0x2cb))](_0x13b584,_0x165dcc);for(const {startOffset:_0x275b45,endOffset:_0x5a1a49,rangeType:_0x5744ee,segmentId:_0x3859bb,segmentPage:_0x274606,collapsed:_0x20fdbe,isActive:_0x5143b0}of _0x3adfa7){const _0x292f3b=_0x165dcc[_0x46e73b(0x31f)](_0x275b45,!0x0,_0x3859bb,_0x274606);let _0x230a9a=_0x165dcc[_0x46e73b(0x31f)](_0x5a1a49,!0x0,_0x3859bb,_0x274606);if(_0x230a9a==null&&(_0x230a9a=_0x165dcc[_0x46e73b(0x31f)](_0x5a1a49-0x1,!0x1,_0x3859bb,_0x274606)),_0x5143b0){const {contentBoxPointGroup:_0x3790d3}=_0x495f07[_0x46e73b(0x1ff)](_0x230a9a,_0x230a9a);if(_0x3790d3['length']===0x0)continue;this[_0x46e73b(0x3e8)](_0x15489d,_0x3790d3,_0x55abce,_0x3ccfa0,_0x38162b),this[_0x46e73b(0x230)]=this['_handleHover']();}if(_0x292f3b&&_0x230a9a){if(_0x5744ee===_0x63378d[_0x46e73b(0x418)][_0x46e73b(0x1b7)]){const _0x23b6c3=new _0x466fa5[(_0x46e73b(0x37f))](_0x13b584,_0x165dcc),{pointGroup:_0x5ea46b}=(_0x15f3c7=_0x23b6c3[_0x46e73b(0x1ff)](_0x292f3b,_0x230a9a))!=null?_0x15f3c7:{};if(_0x5ea46b==null||_0x5ea46b[_0x46e73b(0x3af)]===0x0)continue;this['_drawRectRange'](_0x15489d,_0x5ea46b,_0x55abce,_0x3ccfa0);}else{if(!_0x20fdbe){const {borderBoxPointGroup:_0x235645}=_0x495f07[_0x46e73b(0x1ff)](_0x292f3b,_0x230a9a);if(_0x235645[_0x46e73b(0x3af)]===0x0)continue;this[_0x46e73b(0x17b)](_0x15489d,_0x235645,_0x55abce,_0x3ccfa0);}}}}}[_0xa2269c(0x3e8)](_0x3b2547,_0x40872a,_0x153e58,_0x474f3f,_0x9ec782){const _0x5f45aa=_0xa2269c,_0x13198e=this[_0x5f45aa(0x3b5)](_0x40872a),{left:_0x2b3752,top:_0x46a6b4,height:_0x481c7e}=_0x13198e,_0x55c11a=this['_getScale'](),_0x2336ef=_0x1fdad0/_0x55c11a,_0x3dae01=new _0x3be252[(_0x5f45aa(0x3b6))](_0x5ee5cb+_0x63378d[_0x5f45aa(0x311)](_0x53cfc9),{'left':_0x2b3752+_0x153e58-_0x2336ef,'top':_0x46a6b4+_0x474f3f,'height':_0x481c7e,'width':_0xf91a10,'fill':_0x3b2547||_0x3be252['getColor'](_0x63378d[_0x5f45aa(0x177)]['black'],0x0),'strokeWidth':_0x2336ef,'stroke':_0x3d44c3,'evented':!0x0});this[_0x5f45aa(0x300)]=_0x3dae01,this[_0x5f45aa(0x293)]['addObject'](_0x3dae01,_0x466fa5[_0x5f45aa(0x167)]);const _0x254137=new _0x3be252[(_0x5f45aa(0x3b6))](_0x5ee5cb+_0x63378d[_0x5f45aa(0x311)](_0x53cfc9),{'left':_0x2b3752+_0x153e58-_0x2336ef,'top':_0x46a6b4+_0x474f3f-_0x3a8d60/0x2,'height':_0x3a8d60,'width':_0x3a8d60,'fill':_0x3b2547||_0x3be252[_0x5f45aa(0x3c1)](_0x63378d[_0x5f45aa(0x177)][_0x5f45aa(0x406)],0x0),'strokeWidth':0x0,'stroke':_0x3b2547||_0x3be252['getColor'](_0x63378d['COLORS'][_0x5f45aa(0x406)],0x0),'evented':!0x1});this[_0x5f45aa(0x3df)]=_0x254137,this[_0x5f45aa(0x293)]['addObject'](_0x254137,_0x466fa5[_0x5f45aa(0x167)]);const _0x3c5382=new _0x19ce18(_0x5ee5cb+_0x63378d[_0x5f45aa(0x311)](_0x53cfc9),{'left':_0x2b3752+_0x153e58-_0x2336ef,'top':_0x46a6b4+_0x474f3f-_0x5d0cb4,'text':_0x9ec782,'color':_0x3b2547});this['_textBubble']=_0x3c5382,this[_0x5f45aa(0x293)][_0x5f45aa(0x201)](_0x3c5382,_0x466fa5['TEXT_RANGE_LAYER_INDEX']),this[_0x5f45aa(0x360)]=!0x1;}[_0xa2269c(0x289)](){const _0x112cb8=_0xa2269c,_0x439e1b=this[_0x112cb8(0x300)]['onPointerEnter$'][_0x112cb8(0x334)](()=>{const _0xb44066=_0x112cb8;this[_0xb44066(0x360)]=!0x0;}),_0x18471c=this[_0x112cb8(0x300)]['onPointerLeave$'][_0x112cb8(0x334)](()=>{const _0x2bcf4f=_0x112cb8;this[_0x2bcf4f(0x40c)]&&clearTimeout(this[_0x2bcf4f(0x40c)]),this[_0x2bcf4f(0x40c)]=setTimeout(()=>{const _0x51423d=_0x2bcf4f;this[_0x51423d(0x360)]=!0x1;},0x7d0);});return()=>{const _0x4b85b4=_0x112cb8;_0x439e1b['unsubscribe'](),_0x18471c[_0x4b85b4(0x21d)]();};}['_drawTextRange'](_0x23e543,_0x2176bd,_0x4a967b,_0x2d4edb){const _0x170bad=_0xa2269c,_0x23227f=new _0x63378d['ColorKit'](_0x23e543)['setAlpha'](0.2)[_0x170bad(0x292)](),_0x3e3cb9=new _0x3be252[(_0x170bad(0x243))](_0x20ad32+_0x63378d[_0x170bad(0x311)](_0x53cfc9),{'pointsGroup':_0x2176bd,'fill':_0x23227f||_0x3be252[_0x170bad(0x3c1)](_0x63378d[_0x170bad(0x177)][_0x170bad(0x406)],0.2),'left':_0x4a967b,'top':_0x2d4edb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x170bad(0x3da)][_0x170bad(0x2ca)](_0x3e3cb9),this['_scene'][_0x170bad(0x201)](_0x3e3cb9,_0x466fa5[_0x170bad(0x167)]);}['_drawRectRange'](_0x24717e,_0x2877ee,_0x6f25d,_0x38a70f){const _0x2d7bc6=_0xa2269c,_0x9f08e2=new _0x63378d[(_0x2d7bc6(0x215))](_0x24717e)[_0x2d7bc6(0x31b)](0.2)[_0x2d7bc6(0x292)](),_0x555c4d=new _0x3be252[(_0x2d7bc6(0x243))](_0x31c2ae+_0x63378d['generateRandomId'](_0x53cfc9),{'pointsGroup':_0x2877ee,'fill':_0x9f08e2||_0x3be252[_0x2d7bc6(0x3c1)](_0x63378d['COLORS'][_0x2d7bc6(0x406)],0.2),'left':_0x6f25d,'top':_0x38a70f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d7bc6(0x3da)]['push'](_0x555c4d),this[_0x2d7bc6(0x293)]['addObject'](_0x555c4d,_0x466fa5['TEXT_RANGE_LAYER_INDEX']);}[_0xa2269c(0x3b5)](_0x2f1a6a){const _0x3ddbd8=_0x2f1a6a[0x0],_0x4414cf=_0x3ddbd8[0x0],_0x388fb5=_0x3ddbd8[0x2],{x:_0x34fa7f,y:_0x3a20e8}=_0x4414cf,{x:_0x188cc3,y:_0x14f281}=_0x388fb5;return{'left':_0x34fa7f,'top':_0x3a20e8,'width':_0x188cc3-_0x34fa7f,'height':_0x14f281-_0x3a20e8};}[_0xa2269c(0x1e7)](){const _0x2da4b1=_0xa2269c,{scaleX:_0x404dcc,scaleY:_0x512c08}=this['_scene'][_0x2da4b1(0x3ff)]();return Math[_0x2da4b1(0x42b)](_0x404dcc,_0x512c08);}}var _0x2e951c=Object[_0xa2269c(0x2ee)],_0x1aeba4=(_0x2bd56f,_0x555368,_0x5b105f,_0x235a22)=>{for(var _0x8ad11b=_0x235a22>0x1?void 0x0:_0x235a22?_0x2e951c(_0x555368,_0x5b105f):_0x555368,_0x34cc93=_0x2bd56f['length']-0x1,_0x4970cb;_0x34cc93>=0x0;_0x34cc93--)(_0x4970cb=_0x2bd56f[_0x34cc93])&&(_0x8ad11b=_0x4970cb(_0x8ad11b)||_0x8ad11b);return _0x8ad11b;},_0x205a67=(_0x2d930f,_0x176cf4)=>(_0x195a9a,_0x4eda20)=>_0x176cf4(_0x195a9a,_0x4eda20,_0x2d930f);let _0x13c409=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x1da0bf,_0x2089c1,_0x35dcc7,_0x1b0d15,_0x148164){const _0x18e100=_0xa2269c;super(),_0x354915(this,_0x18e100(0x2b9),[]),_0x354915(this,_0x18e100(0x267),[]),(this[_0x18e100(0x363)]=_0x1da0bf,this[_0x18e100(0x2dd)]=_0x2089c1,this[_0x18e100(0x1c5)]=_0x35dcc7,this[_0x18e100(0x234)]=_0x1b0d15,this[_0x18e100(0x25e)]=_0x148164,this[_0x18e100(0x29a)]());}['_init'](){const _0x53bc0e=_0xa2269c,_0x7fa4d3=this[_0x53bc0e(0x363)][_0x53bc0e(0x1bb)],_0xa0995e=this[_0x53bc0e(0x2dd)];this[_0x53bc0e(0x165)](_0xdb7e78[_0x53bc0e(0x25b)]([this[_0x53bc0e(0x1c5)][_0x53bc0e(0x2a6)](_0x7fa4d3),this[_0x53bc0e(0x25e)][_0x53bc0e(0x3f5)]])[_0x53bc0e(0x287)](_0x410faa[_0x53bc0e(0x1e3)](([_0x4155d4,_0x6354b6])=>({'skeleton':_0xa0995e['getSkeleton'](),'cursors':[..._0x4155d4['values']()][_0x53bc0e(0x2cf)](_0x101c8b=>({..._0x101c8b,'color':this[_0x53bc0e(0x25e)]['getColorFromTheme'](_0x101c8b['color'])}))})))[_0x53bc0e(0x3bd)](_0x480345=>{const _0x1a86d9=_0x53bc0e;if(this[_0x1a86d9(0x39e)](),_0x480345){const {skeleton:_0x117549,cursors:_0x3545c0}=_0x480345;this[_0x1a86d9(0x195)](_0x117549,_0x3545c0);}})),this['_initResize'](),this[_0x53bc0e(0x2e4)]();}[_0xa2269c(0x195)](_0x1972d9,_0x4c2dc4){const _0x86c05d=_0xa2269c,{scene:_0x49bfa9,mainComponent:_0x3b5d4d}=this['_context'],_0x1e0e21=_0x4c2dc4[_0x86c05d(0x1e3)](_0x4ad91f=>new _0x5ed346(_0x4ad91f,_0x49bfa9,_0x1972d9,_0x3b5d4d));this['_cursorShapes']=_0x1e0e21,this['_cursors']=_0x4c2dc4;}['_refreshCollabCursors'](){const _0x1d066f=_0xa2269c;this[_0x1d066f(0x39e)]();const {scene:_0x487ab1,mainComponent:_0x4f4e89}=this['_context'],_0x169e18=this[_0x1d066f(0x2dd)][_0x1d066f(0x1f4)](),_0x41e64e=this[_0x1d066f(0x267)][_0x1d066f(0x1e3)](_0x2abd89=>new _0x5ed346(_0x2abd89,_0x487ab1,_0x169e18,_0x4f4e89));this[_0x1d066f(0x2b9)]=_0x41e64e;}[_0xa2269c(0x39e)](){const _0x15fa29=_0xa2269c;this[_0x15fa29(0x2b9)]['forEach'](_0x40785a=>_0x40785a[_0x15fa29(0x212)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x5cf580=_0xa2269c,_0x3642f6=[_0x466fa5[_0x5cf580(0x377)]['id']];this[_0x5cf580(0x165)](this[_0x5cf580(0x234)][_0x5cf580(0x172)](_0x3642f9=>{const _0x2c6129=_0x5cf580;_0x3642f6['includes'](_0x3642f9['id'])&&_0x3642f9[_0x2c6129(0x364)][_0x2c6129(0x1bb)]===this[_0x2c6129(0x363)][_0x2c6129(0x1bb)]&&this[_0x2c6129(0x39b)]();}));}[_0xa2269c(0x152)](){const _0x31b05d=_0xa2269c;this[_0x31b05d(0x165)](_0x63378d[_0x31b05d(0x13e)](this[_0x31b05d(0x363)][_0x31b05d(0x1cf)]['onTransformChange$'])[_0x31b05d(0x287)](_0x410faa[_0x31b05d(0x131)](_0x52e992=>_0x52e992[_0x31b05d(0x1f3)]===_0x3be252[_0x31b05d(0x3e1)][_0x31b05d(0x2b6)]),_0x410faa['throttleTime'](0x10))[_0x31b05d(0x3bd)](()=>{this['_refreshCollabCursors']();}));}};_0x13c409=_0x1aeba4([_0x205a67(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x461a0f[_0xa2269c(0x37e)])),_0x205a67(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x64597c)),_0x205a67(0x3,_0x63378d['ICommandService']),_0x205a67(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x174)]))],_0x13c409);const _0x2311d3=0x1,_0x591a0c=1.5;class _0x205978 extends _0x3be252[_0xa2269c(0x42d)]{constructor(_0x516215,_0x264040){const _0x4c148c=_0xa2269c;var _0x5a6b05,_0x57a940;super(_0x516215,_0x264040),_0x354915(this,'_color'),_0x354915(this,_0x4c148c(0x35e),!0x1),_0x354915(this,_0x4c148c(0x3fd)),_0x354915(this,_0x4c148c(0x15e),''),_0x354915(this,_0x4c148c(0x37c),_0x4c148c(0x20b)),_0x354915(this,_0x4c148c(0x1a7)),_0x354915(this,_0x4c148c(0x353)),_0x354915(this,'_highlight'),_0x354915(this,_0x4c148c(0x2af),0x4),_0x354915(this,'_blinkTimer'),_0x354915(this,_0x4c148c(0x2aa)),_0x354915(this,_0x4c148c(0x371),!0x0),_0x354915(this,'_offsetY',0x0),(_0x264040&&(this[_0x4c148c(0x2be)](_0x264040),_0x264040[_0x4c148c(0x322)]&&((_0x5a6b05=_0x264040[_0x4c148c(0x16c)])!=null?_0x5a6b05:this[_0x4c148c(0x2af)])&&this[_0x4c148c(0x237)]((_0x57a940=_0x264040['highlightSecond'])!=null?_0x57a940:this[_0x4c148c(0x2af)])),this[_0x4c148c(0x1a8)][_0x4c148c(0x334)](()=>this[_0x4c148c(0x2be)]({'hovered':!0x0})),this[_0x4c148c(0x173)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setOffsetY'](_0x103f91){const _0x1fb073=_0xa2269c;this[_0x1fb073(0x3d3)]=_0x103f91;}[_0xa2269c(0x2be)](_0x3ee671){const _0x132723=_0xa2269c;var _0x379221,_0x3bbd8a,_0x3691cc,_0x1161a5,_0x32dc47,_0x281af7,_0x124ab6;this[_0x132723(0x1eb)]=(_0x379221=_0x3ee671['color'])!=null?_0x379221:this[_0x132723(0x1eb)],this[_0x132723(0x35e)]=(_0x3bbd8a=_0x3ee671[_0x132723(0x202)])!=null?_0x3bbd8a:this['_hovered'],this[_0x132723(0x3fd)]=(_0x3691cc=_0x3ee671[_0x132723(0x373)])!=null?_0x3691cc:this[_0x132723(0x3fd)],this[_0x132723(0x15e)]=(_0x1161a5=_0x3ee671[_0x132723(0x1f8)])!=null?_0x1161a5:this['_name'],this[_0x132723(0x37c)]=(_0x32dc47=_0x3ee671[_0x132723(0x21e)])!=null?_0x32dc47:this['_labelPosition'],this['_backgroundColor']=(_0x281af7=_0x3ee671[_0x132723(0x192)])!=null?_0x281af7:this[_0x132723(0x1a7)],this['_showText']=(_0x124ab6=_0x3ee671['showText'])!=null?_0x124ab6:this[_0x132723(0x353)],_0x3ee671[_0x132723(0x16c)]!==void 0x0&&(this[_0x132723(0x2af)]=_0x3ee671[_0x132723(0x16c)]),_0x3ee671['highlight']!==void 0x0&&(this['_highlight']=_0x3ee671[_0x132723(0x322)]),_0x3ee671[_0x132723(0x30a)]!==void 0x0&&(this[_0x132723(0x3d3)]=_0x3ee671['offsetY']),this[_0x132723(0x157)]({'width':_0x3ee671[_0x132723(0x208)],'height':_0x3ee671[_0x132723(0x1ee)]});}[_0xa2269c(0x26e)](_0x158b2d){const _0x422b81=_0xa2269c,{row:_0x238b76,column:_0x49e702}=_0x158b2d;if(_0x238b76>=this[_0x422b81(0x3fd)][_0x422b81(0x2c6)]&&_0x238b76<=this[_0x422b81(0x3fd)][_0x422b81(0x2f1)]&&_0x49e702>=this[_0x422b81(0x3fd)][_0x422b81(0x41a)]&&_0x49e702<=this[_0x422b81(0x3fd)][_0x422b81(0x1e4)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xa2269c(0x237)](_0x503512){const _0x32bd0f=_0xa2269c;this[_0x32bd0f(0x170)](),this[_0x32bd0f(0x371)]=!0x0,this['_blinkIntervalTimer']=window[_0x32bd0f(0x344)](()=>{const _0x5844e6=_0x32bd0f;this[_0x5844e6(0x371)]=!this[_0x5844e6(0x371)],this[_0x5844e6(0x2c1)](!0x0);},0x1f4),this[_0x32bd0f(0x22b)]=window[_0x32bd0f(0x409)](()=>{const _0x40161b=_0x32bd0f;this[_0x40161b(0x170)](),this[_0x40161b(0x371)]=!0x0,this['makeDirty'](!0x0);},_0x503512*0x3e8);}['_stopBlinking'](){const _0xde91ee=_0xa2269c;this[_0xde91ee(0x2aa)]&&(window[_0xde91ee(0x1a1)](this['_blinkIntervalTimer']),this[_0xde91ee(0x2aa)]=void 0x0),this[_0xde91ee(0x22b)]&&(window['clearTimeout'](this[_0xde91ee(0x22b)]),this[_0xde91ee(0x22b)]=void 0x0);}[_0xa2269c(0x33a)](_0x41f97b){return!0x1;}[_0xa2269c(0x212)](){const _0x3bf8f7=_0xa2269c;this[_0x3bf8f7(0x170)](),super[_0x3bf8f7(0x212)]();}[_0xa2269c(0x34e)](_0x1c2d6f){const _0x506919=_0xa2269c;var _0x4551c4,_0x3ed101;let _0x5bdfc8=this['_color'],_0x5ab784=this[_0x506919(0x1a7)];this['_highlight']&&!this[_0x506919(0x371)]&&(_0x5bdfc8=this[_0x506919(0x32f)](this[_0x506919(0x1eb)]),_0x5ab784=this[_0x506919(0x1a7)]?this[_0x506919(0x32f)](this[_0x506919(0x1a7)]):void 0x0),_0x3be252[_0x506919(0x3b6)][_0x506919(0x336)](_0x1c2d6f,{'width':this[_0x506919(0x208)],'height':this[_0x506919(0x1ee)],'strokeWidth':(_0x4551c4=this['strokeWidth'])!=null?_0x4551c4:_0x591a0c,'stroke':_0x5bdfc8,'evented':!0x1,'fill':_0x5ab784}),(this[_0x506919(0x35e)]||this[_0x506919(0x353)])&&(_0x1c2d6f[_0x506919(0x180)](),_0x1c2d6f[_0x506919(0x394)](0x1,0x0,0x0,0x1,this[_0x506919(0x208)],(this[_0x506919(0x37c)]===_0x506919(0x21a)?0x0:-_0x5d0cb4)+((_0x3ed101=this[_0x506919(0x3d3)])!=null?_0x3ed101:0x0)),_0x19ce18[_0x506919(0x336)](_0x1c2d6f,{'text':this[_0x506919(0x15e)],'color':_0x5bdfc8}),_0x1c2d6f[_0x506919(0x405)]());}['_getLighterColor'](_0x2d05bc){const _0x46ee47=_0xa2269c;if(_0x2d05bc[_0x46ee47(0x3e5)]('#')){const _0x410cc5=Number['parseInt'](_0x2d05bc[_0x46ee47(0x2a1)](0x1,0x3),0x10),_0x4a3548=Number[_0x46ee47(0x213)](_0x2d05bc[_0x46ee47(0x2a1)](0x3,0x5),0x10),_0x18ce45=Number[_0x46ee47(0x213)](_0x2d05bc['slice'](0x5,0x7),0x10);return'rgba('+_0x410cc5+',\x20'+_0x4a3548+',\x20'+_0x18ce45+_0x46ee47(0x317);}return _0x2d05bc['startsWith'](_0x46ee47(0x2f5))?_0x2d05bc[_0x46ee47(0x3f2)](/[\d.]+\)$/g,_0x46ee47(0x35c)):_0x2d05bc[_0x46ee47(0x3e5)](_0x46ee47(0x422))?_0x2d05bc[_0x46ee47(0x3f2)](_0x46ee47(0x422),_0x46ee47(0x2f5))['replace'](')',_0x46ee47(0x317)):_0x2d05bc;}}var _0x1113dc=Object[_0xa2269c(0x2ee)],_0xf0af5f=(_0x33cc46,_0x2211f8,_0x135d96,_0x54981d)=>{const _0x10b083=_0xa2269c;for(var _0x2953d0=_0x54981d>0x1?void 0x0:_0x54981d?_0x1113dc(_0x2211f8,_0x135d96):_0x2211f8,_0x3c1bd2=_0x33cc46[_0x10b083(0x3af)]-0x1,_0x555fab;_0x3c1bd2>=0x0;_0x3c1bd2--)(_0x555fab=_0x33cc46[_0x3c1bd2])&&(_0x2953d0=_0x555fab(_0x2953d0)||_0x2953d0);return _0x2953d0;},_0xdb520c=(_0x371abe,_0x143e3b)=>(_0x57e449,_0x351bd0)=>_0x143e3b(_0x57e449,_0x351bd0,_0x371abe);const _0x2f7455=0x1389;let _0x1331e9=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x3136b0,_0x375b6c,_0x35e496,_0x5e3366){const _0x361d2c=_0xa2269c;super(),_0x354915(this,'_cursors',new Set()),_0x354915(this,_0x361d2c(0x391),null),(this[_0x361d2c(0x363)]=_0x3136b0,this[_0x361d2c(0x38a)]=_0x375b6c,this['_collabCursorController']=_0x35e496,this[_0x361d2c(0x25e)]=_0x5e3366,this['_init']());}['_init'](){const _0x19dd4a=_0xa2269c;this[_0x19dd4a(0x38a)][_0x19dd4a(0x2d3)][_0x19dd4a(0x287)](_0x410faa['takeUntil'](this[_0x19dd4a(0x3f6)]),_0x410faa[_0x19dd4a(0x390)](_0x3ab0a3=>{const _0x207143=_0x19dd4a;if(_0x3ab0a3){const _0x2202c6=_0x3ab0a3[_0x207143(0x18b)];return _0xdb7e78[_0x207143(0x25b)](this[_0x207143(0x1c5)][_0x207143(0x2a6)](this['_context'][_0x207143(0x1bb)]),this['_themeService']['currentTheme$'])[_0x207143(0x287)](_0x410faa['map'](([_0x1de5ab,_0x567d06])=>{const _0xae27d3=_0x207143,_0x2391f8=new Map();return _0x1de5ab[_0xae27d3(0x399)]((_0x5360da,_0x33fcdc)=>{const _0x2fecaa=_0xae27d3;if(_0x5360da['sheetID']===_0x2202c6){const _0x2e077c={..._0x5360da};_0x2e077c[_0x2fecaa(0x3fb)]=this['_themeService'][_0x2fecaa(0x2ab)](_0x5360da['color']),_0x2391f8[_0x2fecaa(0x233)](_0x33fcdc,_0x2e077c);}}),{'skeleton':_0x3ab0a3,'cursors':_0x2391f8};}));}return _0xdb7e78['of']({'skeleton':null,'cursors':new Map()});}))[_0x19dd4a(0x3bd)](({skeleton:_0x1f3da3,cursors:_0x20cc8b})=>{const _0x4c26e9=_0x19dd4a;this['_removeCollabCursors'](),_0x1f3da3&&this[_0x4c26e9(0x195)](_0x1f3da3,_0x20cc8b);}),this[_0x19dd4a(0x38a)][_0x19dd4a(0x2d3)][_0x19dd4a(0x3bd)](_0x4ad105=>{const _0x3df926=_0x19dd4a;if(_0x4ad105==null)return;const {skeleton:_0x4be836}=_0x4ad105,{scene:_0x4535e3}=this[_0x3df926(0x363)];_0x4535e3['onPointerMove$'][_0x3df926(0x334)](_0x63378d[_0x3df926(0x134)](_0x199752=>{const _0x232055=_0x3df926;var _0x2c19db,_0x4845a0;const {offsetX:_0x3a59f3,offsetY:_0x80fd41}=_0x199752,{x:_0x142595,y:_0x492333}=_0x4535e3[_0x232055(0x221)](_0x3be252[_0x232055(0x214)][_0x232055(0x150)]([_0x3a59f3,_0x80fd41])),{scaleX:_0x26a7da,scaleY:_0x165edf}=_0x4535e3['getAncestorScale'](),_0x50db9f=_0x4535e3[_0x232055(0x3b7)](_0x3be252[_0x232055(0x18d)][_0x232055(0x26c)]),_0x17d241=_0x4535e3[_0x232055(0x1c8)](_0x3be252['Vector2'][_0x232055(0x150)]([_0x142595,_0x492333]),_0x50db9f),_0xbcd2bf=_0x4be836[_0x232055(0x224)](_0x3a59f3,_0x80fd41,_0x26a7da,_0x165edf,_0x17d241);((_0x2c19db=this[_0x232055(0x391)])==null?void 0x0:_0x2c19db[_0x232055(0x249)])===_0xbcd2bf['column']&&((_0x4845a0=this[_0x232055(0x391)])==null?void 0x0:_0x4845a0['row'])===_0xbcd2bf[_0x232055(0x24c)]||this['_cursors']['forEach'](_0x1a3aac=>{const _0x10b9d6=_0x232055;_0x1a3aac[_0x10b9d6(0x26e)](_0xbcd2bf);});},0x64));});}[_0xa2269c(0x195)](_0x323960,_0x27091a){const _0x11763b=_0xa2269c;var _0x4eee2c;const _0x4794a9=(_0x4eee2c=this['_sheetSkeletonManagerService'][_0x11763b(0x2ec)]())==null?void 0x0:_0x4eee2c[_0x11763b(0x327)];if(!_0x4794a9)return;const _0x442444=this[_0x11763b(0x3bf)]();if(!_0x442444)return;this[_0x11763b(0x267)][_0x11763b(0x399)](_0x4057d2=>{const _0x1c6531=_0x11763b;_0x4057d2[_0x1c6531(0x2c1)]();});const {scene:_0x46dd93}=_0x442444,_0x56ffc0=_0x56f43a(Array[_0x11763b(0x140)](_0x27091a[_0x11763b(0x28a)]()))[_0x11763b(0x1e3)](_0x4e938c=>{const _0x21f102=_0x11763b,{color:_0x13cb4c,range:_0x528e2d,name:_0x113ac0,selection:_0x3a1fa0,sheetID:_0x163825}=_0x4e938c,{startColumn:_0x32d678,startRow:_0x1a980b,endColumn:_0x474e36,endRow:_0x5549ce}=_0x528e2d,_0x4f196f=_0x128e05[_0x21f102(0x19c)](_0x1a980b,_0x32d678,_0x46dd93,_0x4794a9),_0x5c3677=_0x128e05['getCoordByCell'](_0x5549ce,_0x474e36,_0x46dd93,_0x4794a9),{columnHeaderHeightAndMarginTop:_0x107396}=_0x4794a9,{startX:_0x53f0b8,startY:_0x1ea8ed}=_0x4f196f,{endX:_0xa7b4e9,endY:_0x4794a}=_0x5c3677,_0x554718=_0xa7b4e9-_0x53f0b8,_0x2cd02c=_0x4794a-_0x1ea8ed,_0x44d6e6={'labelPosition':_0x1ea8ed-_0x107396>=_0x5d0cb4?_0x21f102(0x20b):_0x21f102(0x21a),'sheetID':_0x163825,'range':_0x528e2d,'color':_0x13cb4c,'name':_0x113ac0,'selection':_0x3a1fa0,'left':_0x53f0b8,'top':_0x1ea8ed,'width':_0x554718,'height':_0x2cd02c,'evented':!0x1,'zIndex':_0x2f7455};return new _0x205978(_0x113ac0,_0x44d6e6);});_0x46dd93[_0x11763b(0x34b)](_0x56ffc0,_0x2311d3),this[_0x11763b(0x267)]=new Set(_0x56ffc0);}[_0xa2269c(0x39e)](){const _0x341919=_0xa2269c;var _0x199a3e;(_0x199a3e=this['_cursors'])==null||_0x199a3e[_0x341919(0x399)](_0x152f72=>_0x152f72[_0x341919(0x212)]());}[_0xa2269c(0x3bf)](){const _0x593d21=_0xa2269c;return _0x128e05['getSheetObject'](this[_0x593d21(0x363)][_0x593d21(0x35b)],this[_0x593d21(0x363)]);}};_0x1331e9=_0xf0af5f([_0xdb520c(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x128e05[_0xa2269c(0x24f)])),_0xdb520c(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x64597c)),_0xdb520c(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x63378d['ThemeService']))],_0x1331e9);function _0x56f43a(_0x4c4037){const _0x3dcbb1=_0xa2269c,_0xe7b28d=new Map();return _0x4c4037['forEach'](_0x47d575=>{const _0x5629a8=_0x529e;if(_0xe7b28d[_0x5629a8(0x305)](_0x47d575[_0x5629a8(0x163)])){const _0x523e7c=_0xe7b28d['get'](_0x47d575[_0x5629a8(0x163)]);_0x523e7c[_0x5629a8(0x1f8)]+=',\x20'+_0x47d575[_0x5629a8(0x1f8)];}else _0xe7b28d[_0x5629a8(0x233)](_0x47d575[_0x5629a8(0x163)],_0x47d575);}),Array[_0x3dcbb1(0x140)](_0xe7b28d['values']());}var _0x5244b0=Object[_0xa2269c(0x2ee)],_0x39f9dc=(_0x563bdf,_0x19cef9,_0x39524d,_0x42f715)=>{for(var _0x54622f=_0x42f715>0x1?void 0x0:_0x42f715?_0x5244b0(_0x19cef9,_0x39524d):_0x19cef9,_0xa04517=_0x563bdf['length']-0x1,_0x627d77;_0xa04517>=0x0;_0xa04517--)(_0x627d77=_0x563bdf[_0xa04517])&&(_0x54622f=_0x627d77(_0x54622f)||_0x54622f);return _0x54622f;},_0x10a510=(_0x4dee72,_0x139213)=>(_0x3aca7a,_0x455ccd)=>_0x139213(_0x3aca7a,_0x455ccd,_0x4dee72);let _0x158e9b=class extends _0x63378d['Disposable']{constructor(_0x41d25a,_0x4bab6b,_0x3d39a9,_0x4420da,_0x540eed,_0x1ec05c){const _0x58b8e8=_0xa2269c;super(),this[_0x58b8e8(0x3d8)]=_0x41d25a,this['_localCacheService']=_0x4bab6b,this['_collaborationUIEventService']=_0x3d39a9,this[_0x58b8e8(0x295)]=_0x4420da,this[_0x58b8e8(0x2b3)]=_0x540eed,this['_localeService']=_0x1ec05c,this[_0x58b8e8(0x38e)](),this[_0x58b8e8(0x356)]();}['_setupBeforeClosingHandler'](){const _0x5e78b7=_0xa2269c;this[_0x5e78b7(0x165)](this['_beforeCloseService'][_0x5e78b7(0x181)](()=>{const _0x5b075b=_0x5e78b7;if(this[_0x5b075b(0x2f9)]['saveTaskMap'][_0x5b075b(0x368)])return this[_0x5b075b(0x1f2)]['t'](_0x5b075b(0x290));}));}[_0xa2269c(0x356)](){const _0x2b1af4=_0xa2269c;this['disposeWithMe'](this[_0x2b1af4(0x251)][_0x2b1af4(0x3eb)][_0x2b1af4(0x3bd)](_0x3a4de4=>{const _0x4d8f0e=_0x2b1af4;_0x3a4de4['id']===_0x49b930['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x4d8f0e(0x295)][_0x4d8f0e(0x277)]({'type':_0x25c8b9[_0x4d8f0e(0x2d0)]['Warning'],'content':this['_localeService']['t'](_0x4d8f0e(0x3ac))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x354)]&&this['_messageService']['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)][_0x4d8f0e(0x19a)],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x37a))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x2c7)]&&this[_0x4d8f0e(0x2b3)][_0x4d8f0e(0x277)]({'title':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x263)),'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x1d8)),'type':_0x4d8f0e(0x33d),'duration':0x0}),_0x3a4de4['id']===_0x49b930['CollaborationUIEventId']['CONFLICT']&&this[_0x4d8f0e(0x295)]['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)]['Error'],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x37a))+'('+_0x3a4de4['data']+')'}),_0x3a4de4['id']===_0x49b930['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x4d8f0e(0x295)]['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)]['Warning'],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x3a4de4[_0x4d8f0e(0x347)]||'')}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)]['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)][_0x4d8f0e(0x19a)],'content':this['_localeService']['t'](_0x4d8f0e(0x2b0))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x236)]&&this['_messageService'][_0x4d8f0e(0x277)]({'type':_0x25c8b9['MessageType'][_0x4d8f0e(0x269)],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x2a2))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x36d)]&&this[_0x4d8f0e(0x295)][_0x4d8f0e(0x277)]({'type':_0x25c8b9['MessageType'][_0x4d8f0e(0x269)],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x3a1))});}));}};_0x158e9b=_0x39f9dc([_0x10a510(0x0,_0x2c32f5[_0xa2269c(0x2fc)]),_0x10a510(0x1,_0x49b930[_0xa2269c(0x31a)]),_0x10a510(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x374)])),_0x10a510(0x3,_0x2c32f5[_0xa2269c(0x1d5)]),_0x10a510(0x4,_0x2c32f5['INotificationService']),_0x10a510(0x5,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x428)]))],_0x158e9b);var _0x26530e=Object[_0xa2269c(0x2ee)],_0x462ffa=(_0xaf1537,_0x34a084,_0x40c17f,_0x409888)=>{const _0x43d652=_0xa2269c;for(var _0x153208=_0x409888>0x1?void 0x0:_0x409888?_0x26530e(_0x34a084,_0x40c17f):_0x34a084,_0x128b86=_0xaf1537[_0x43d652(0x3af)]-0x1,_0x14e0f3;_0x128b86>=0x0;_0x128b86--)(_0x14e0f3=_0xaf1537[_0x128b86])&&(_0x153208=_0x14e0f3(_0x153208)||_0x153208);return _0x153208;},_0x370ebd=(_0x1d770f,_0x435178)=>(_0x30debb,_0xf8b043)=>_0x435178(_0x30debb,_0xf8b043,_0x1d770f);let _0xc0f0de=class extends _0x63378d['Disposable']{constructor(_0x2caa92,_0xac59fc,_0x32ae04,_0x477f06){const _0x4704e5=_0xa2269c;super(),_0x354915(this,_0x4704e5(0x18e)),(this['_injector']=_0x2caa92,this['_httpService']=_0xac59fc,this[_0x4704e5(0x1c2)]=_0x32ae04,this[_0x4704e5(0x3b2)]=_0x477f06,this[_0x4704e5(0x29a)]());}[_0xa2269c(0x29a)](){const _0x2bbf70=_0xa2269c;this['_initWindowErrorListener'](),this[_0x2bbf70(0x3a9)](),this[_0x2bbf70(0x132)](),this[_0x2bbf70(0x304)]();}[_0xa2269c(0x304)](){const _0x1d5610=_0xa2269c;this[_0x1d5610(0x165)](this[_0x1d5610(0x3b2)][_0x1d5610(0x28b)][_0x1d5610(0x3bd)](_0x35898a=>{const _0x369768=_0x1d5610;this[_0x369768(0x18e)]=_0x35898a==null?void 0x0:_0x35898a[_0x369768(0x203)];}));}['_initWindowErrorListener'](){const _0x197052=_0xd0653f=>{const _0xc1c35a=_0x529e;var _0x5406f4;this['_uploadLog'](_0xc1c35a(0x33d),_0xc1c35a(0x222)+_0xd0653f['message']+_0xc1c35a(0x3a0)+_0xd0653f['filename']+':'+_0xd0653f[_0xc1c35a(0x1f9)]+':'+_0xd0653f[_0xc1c35a(0x296)]+'\x0a'+(((_0x5406f4=_0xd0653f['error'])==null?void 0x0:_0x5406f4[_0xc1c35a(0x1ea)])||''));};window['addEventListener']('error',_0x197052),this['disposeWithMe'](()=>{const _0x5a68f2=_0x529e;window[_0x5a68f2(0x272)]('error',_0x197052);});}['_initUnhandledRejectionListener'](){const _0x591b69=_0xa2269c,_0x35a558=_0x106c1a=>{const _0x38f824=_0x529e;this['_uploadLog'](_0x38f824(0x33d),_0x38f824(0x342)+_0x106c1a[_0x38f824(0x1fb)]);};window[_0x591b69(0x156)]('unhandledrejection',_0x35a558),this[_0x591b69(0x165)](()=>{const _0x4bccd9=_0x591b69;window[_0x4bccd9(0x272)](_0x4bccd9(0x23a),_0x35a558);});}[_0xa2269c(0x132)](){const _0x3f7427=_0xa2269c,_0x2eec77=this[_0x3f7427(0x1c2)]['error'][_0x3f7427(0x33f)](this[_0x3f7427(0x1c2)]);this[_0x3f7427(0x1c2)][_0x3f7427(0x33d)]=(..._0x38898e)=>{const _0x58d22b=_0x3f7427,_0x2857bd=_0x38898e['map'](_0x845136=>_0x845136 instanceof Error?_0x845136[_0x58d22b(0x207)]+'\x0a'+_0x845136[_0x58d22b(0x1ea)]:String(_0x845136))['join']('\x20');this['_uploadLog'](_0x58d22b(0x33d),_0x58d22b(0x3ef)+_0x2857bd),_0x2eec77(..._0x38898e);},this['disposeWithMe'](()=>{const _0x1c722d=_0x3f7427;this[_0x1c722d(0x1c2)][_0x1c722d(0x33d)]=_0x2eec77;});}[_0xa2269c(0x2ef)](_0x3c2086,_0xf0b30){const _0x1cae53=_0xa2269c;try{const _0x2e44db={'userId':this['_memberID'],'logLabel':_0x3c2086,'content':_0xf0b30};this['_httpService'][_0x1cae53(0x284)](_0x1cae53(0x14c),{'body':_0x2e44db})['catch'](()=>{});}catch{}}};_0xc0f0de=_0x462ffa([_0x370ebd(0x0,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x370ebd(0x1,_0x63378d['Inject'](_0x4af045[_0xa2269c(0x246)])),_0x370ebd(0x2,_0x63378d[_0xa2269c(0x2f3)]),_0x370ebd(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x42a)]))],_0xc0f0de);const _0x392784=_0xa2269c(0x3a2),_0x78c6d={};var _0x235532=Object[_0xa2269c(0x2ee)],_0x1f4741=(_0x28aff9,_0x8fd339,_0x1a5ba0,_0x2dcd24)=>{for(var _0x34c08d=_0x2dcd24>0x1?void 0x0:_0x2dcd24?_0x235532(_0x8fd339,_0x1a5ba0):_0x8fd339,_0x4e2816=_0x28aff9['length']-0x1,_0x15b7cb;_0x4e2816>=0x0;_0x4e2816--)(_0x15b7cb=_0x28aff9[_0x4e2816])&&(_0x34c08d=_0x15b7cb(_0x34c08d)||_0x34c08d);return _0x34c08d;},_0x349fbe=(_0x2f77d7,_0x545b0f)=>(_0x45464d,_0x1ffe31)=>_0x545b0f(_0x45464d,_0x1ffe31,_0x2f77d7);let _0x38d822=class{constructor(_0x54ebef,_0x15b255){const _0x4b54ca=_0xa2269c;this[_0x4b54ca(0x253)]=_0x54ebef,this[_0x4b54ca(0x191)]=_0x15b255;}[_0xa2269c(0x372)](_0x480270){const _0x51795c=_0xa2269c;this['_transformUndoRedoStack'](_0x480270),this[_0x51795c(0x408)](_0x480270);}[_0xa2269c(0x39a)](_0xd80189){const _0x1f1f70=_0xa2269c,{unitID:_0x1fcdd7}=_0xd80189,_0x5c0ea6=this[_0x1f1f70(0x191)][_0x1f1f70(0x1a5)](_0x1fcdd7)['with'](_0x466fa5[_0x1f1f70(0x1d2)]),{redoCache:_0x4a259a}=_0x5c0ea6['getUndoRedoMutationParamsCache']();if(_0x4a259a[_0x1f1f70(0x3af)]===0x0)return _0xd80189;let _0x5ef59e=_0x63378d['Tools'][_0x1f1f70(0x3d6)](_0xd80189[_0x1f1f70(0x298)][0x0]);for(let _0x5b73fc=0x0;_0x5b73fc<_0x4a259a[_0x1f1f70(0x3af)];_0x5b73fc++){const _0x46f537={'id':_0x1f1f70(0x3c4),'params':{..._0x4a259a[_0x5b73fc]}},_0x42ba09=this[_0x1f1f70(0x253)][_0x1f1f70(0x2c8)](_0x5ef59e,_0x46f537,!0x1);if(_0x1a1813[_0x1f1f70(0x417)](_0x42ba09))throw _0x42ba09[_0x1f1f70(0x33d)];_0x5ef59e=_0x42ba09[_0x1f1f70(0x2fa)];}return{..._0x63378d[_0x1f1f70(0x1d6)][_0x1f1f70(0x3d6)](_0xd80189),'mutations':[_0x5ef59e]};}['_transformUndoRedoStack'](_0x43a262){const _0x1009c1=_0xa2269c,{unitID:_0x1fc6ee}=_0x43a262,_0x214944=this[_0x1009c1(0x191)][_0x1009c1(0x1a5)](_0x1fc6ee)[_0x1009c1(0x338)](_0x466fa5[_0x1009c1(0x1d2)]),{undoCache:_0x198541,redoCache:_0x23cff5}=_0x214944[_0x1009c1(0x1f7)]();if(_0x198541['length']===0x0||_0x23cff5[_0x1009c1(0x3af)]===0x0)return;const _0x1b5d88=[],_0x845317=[];let _0x12c59b=_0x63378d[_0x1009c1(0x1d6)][_0x1009c1(0x3d6)](_0x43a262[_0x1009c1(0x298)][0x0]),_0x5ad649=_0x63378d[_0x1009c1(0x1d6)][_0x1009c1(0x3d6)](_0x43a262['mutations'][0x0]);for(let _0x500848=_0x198541['length']-0x1;_0x500848>=0x0;_0x500848--){const _0x321cab={'id':_0x1009c1(0x3c4),'params':{..._0x198541[_0x500848]}},_0x535271={'id':_0x1009c1(0x3c4),'params':{..._0x23cff5[_0x500848]}},_0xe3dc7c=this[_0x1009c1(0x253)][_0x1009c1(0x2c8)](_0x12c59b,_0x321cab,!0x1),_0x2d18d6=this[_0x1009c1(0x253)][_0x1009c1(0x2c8)](_0x5ad649,_0x535271,!0x1);if(_0x1a1813[_0x1009c1(0x417)](_0xe3dc7c))throw _0xe3dc7c[_0x1009c1(0x33d)];if(_0x1a1813[_0x1009c1(0x417)](_0x2d18d6))throw _0x2d18d6[_0x1009c1(0x33d)];_0x1b5d88[_0x1009c1(0x2ed)](_0xe3dc7c[_0x1009c1(0x310)][_0x1009c1(0x364)]),_0x845317['unshift'](_0x2d18d6[_0x1009c1(0x310)]['params']),_0x12c59b=_0xe3dc7c[_0x1009c1(0x2fa)],_0x5ad649=_0x2d18d6['m1Prime'];}_0x214944[_0x1009c1(0x1c1)]({'undoCache':_0x1b5d88,'redoCache':_0x845317});}[_0xa2269c(0x408)](_0x2b82b0){const _0x3fcc5a=_0xa2269c,{unitID:_0x56b231}=_0x2b82b0,_0x4ca577=this['_renderManagerService'][_0x3fcc5a(0x1a5)](_0x56b231)[_0x3fcc5a(0x338)](_0x466fa5['DocIMEInputManagerService']),_0x598b17=_0x4ca577[_0x3fcc5a(0x227)]();if(_0x598b17==null)return;const _0x1a46fe=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b82b0[_0x3fcc5a(0x3a6)],'actions':null,'textRanges':[_0x598b17]}}],_0x9fc8f4=this[_0x3fcc5a(0x253)][_0x3fcc5a(0x36b)](_0x2b82b0,_0x1a46fe);if(!_0x1a1813[_0x3fcc5a(0x239)](_0x9fc8f4))throw _0x9fc8f4[_0x3fcc5a(0x33d)];const _0x4e4774=_0x9fc8f4['m2Prime'][0x0][_0x3fcc5a(0x364)][_0x3fcc5a(0x426)];Array['isArray'](_0x4e4774)&&_0x4e4774[_0x3fcc5a(0x3af)]&&_0x4ca577['setActiveRange'](_0x4e4774[0x0]);}};_0x38d822=_0x1f4741([_0x349fbe(0x0,_0x1a1813[_0xa2269c(0x19d)]),_0x349fbe(0x1,_0x3be252[_0xa2269c(0x3f0)])],_0x38d822);var _0x20976e=Object[_0xa2269c(0x2ee)],_0x3a111f=(_0x3b3da7,_0xd4c475,_0x54c70c,_0x368681)=>{const _0x4d6391=_0xa2269c;for(var _0x37b8a3=_0x368681>0x1?void 0x0:_0x368681?_0x20976e(_0xd4c475,_0x54c70c):_0xd4c475,_0x1e903d=_0x3b3da7[_0x4d6391(0x3af)]-0x1,_0x564c20;_0x1e903d>=0x0;_0x1e903d--)(_0x564c20=_0x3b3da7[_0x1e903d])&&(_0x37b8a3=_0x564c20(_0x37b8a3)||_0x37b8a3);return _0x37b8a3;},_0x2c6f9e=(_0x1c2bd1,_0xcdb98e)=>(_0x2e9082,_0x1e24f5)=>_0xcdb98e(_0x2e9082,_0x1e24f5,_0x1c2bd1);let _0x1f7a6b=class{constructor(_0x5c3db5,_0x112e7c,_0x1b467a){const _0x65ab18=_0xa2269c;this[_0x65ab18(0x2c9)]=_0x5c3db5,this['_transformService']=_0x112e7c,this['_docStateChangeManagerService']=_0x1b467a;}[_0xa2269c(0x3cc)](_0x5e7cec){const _0x2ff87c=_0xa2269c;this[_0x2ff87c(0x3c6)](_0x5e7cec);}[_0xa2269c(0x39a)](_0x46d98e){const _0x72e096=_0xa2269c,{unitID:_0x2db3f5}=_0x46d98e,{collaboration:_0x1fc249}=this['_docStateChangeManagerService'][_0x72e096(0x20a)](_0x2db3f5);if(_0x1fc249[_0x72e096(0x3af)]===0x0)return _0x46d98e;let _0x15ac7a=_0x63378d[_0x72e096(0x1d6)]['deepClone'](_0x46d98e[_0x72e096(0x298)][0x0]);for(let _0x3e20cd=0x0;_0x3e20cd<_0x1fc249[_0x72e096(0x3af)];_0x3e20cd++){const _0x5b52aa={'id':_0x72e096(0x3c4),'params':{'unitId':_0x1fc249[_0x3e20cd][_0x72e096(0x1bb)],..._0x1fc249[_0x3e20cd][_0x72e096(0x1b9)]}},_0x159959=this[_0x72e096(0x253)][_0x72e096(0x2c8)](_0x15ac7a,_0x5b52aa,!0x1);if(_0x1a1813[_0x72e096(0x417)](_0x159959))throw _0x159959[_0x72e096(0x33d)];_0x15ac7a=_0x159959[_0x72e096(0x2fa)];}return{..._0x63378d['Tools'][_0x72e096(0x3d6)](_0x46d98e),'mutations':[_0x15ac7a]};}[_0xa2269c(0x3c6)](_0x115db7){const _0xc433ff=_0xa2269c,{unitID:_0x51dc22}=_0x115db7,{history:_0x2e8a33,collaboration:_0x251f72}=this['_docStateChangeManagerService'][_0xc433ff(0x20a)](_0x51dc22);if(_0x2e8a33[_0xc433ff(0x3af)]===0x0&&_0x251f72['length']===0x0)return;const _0x22e568=[],_0x4da94a=[];let _0x39a31c=_0x63378d[_0xc433ff(0x1d6)]['deepClone'](_0x115db7[_0xc433ff(0x298)][0x0]),_0x3dfce7=_0x63378d[_0xc433ff(0x1d6)][_0xc433ff(0x3d6)](_0x115db7[_0xc433ff(0x298)][0x0]);for(let _0x39bd77=_0x2e8a33[_0xc433ff(0x3af)]-0x1;_0x39bd77>=0x0;_0x39bd77--){const _0x362a89={'id':_0xc433ff(0x3c4),'params':{'unitId':_0x2e8a33[_0x39bd77][_0xc433ff(0x1bb)],..._0x2e8a33[_0x39bd77][_0xc433ff(0x2f2)]}},_0xc68a95={'id':_0xc433ff(0x3c4),'params':{'unitId':_0x2e8a33[_0x39bd77][_0xc433ff(0x1bb)],..._0x2e8a33[_0x39bd77][_0xc433ff(0x1b9)]}},_0x888ef7=this[_0xc433ff(0x253)][_0xc433ff(0x2c8)](_0x39a31c,_0x362a89,!0x1),_0x269a25=this[_0xc433ff(0x253)][_0xc433ff(0x2c8)](_0x3dfce7,_0xc68a95,!0x1);if(_0x1a1813[_0xc433ff(0x417)](_0x888ef7))throw _0x888ef7[_0xc433ff(0x33d)];if(_0x1a1813[_0xc433ff(0x417)](_0x269a25))throw _0x269a25[_0xc433ff(0x33d)];_0x22e568[_0xc433ff(0x2ed)]({..._0x2e8a33[_0x39bd77],'undoState':_0x888ef7[_0xc433ff(0x310)][_0xc433ff(0x364)],'redoState':_0x269a25[_0xc433ff(0x310)][_0xc433ff(0x364)]}),_0x39a31c=_0x888ef7[_0xc433ff(0x2fa)],_0x3dfce7=_0x269a25[_0xc433ff(0x2fa)];}_0x39a31c=_0x63378d['Tools']['deepClone'](_0x115db7[_0xc433ff(0x298)][0x0]),_0x3dfce7=_0x63378d['Tools']['deepClone'](_0x115db7['mutations'][0x0]);for(let _0x1ffe1c=_0x251f72[_0xc433ff(0x3af)]-0x1;_0x1ffe1c>=0x0;_0x1ffe1c--){const _0x30f155={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x251f72[_0x1ffe1c][_0xc433ff(0x1bb)],..._0x251f72[_0x1ffe1c][_0xc433ff(0x2f2)]}},_0x527a27={'id':_0xc433ff(0x3c4),'params':{'unitId':_0x251f72[_0x1ffe1c][_0xc433ff(0x1bb)],..._0x251f72[_0x1ffe1c][_0xc433ff(0x1b9)]}},_0x347713=this[_0xc433ff(0x253)][_0xc433ff(0x2c8)](_0x39a31c,_0x30f155,!0x1),_0x4ed613=this['_transformService'][_0xc433ff(0x2c8)](_0x3dfce7,_0x527a27,!0x1);if(_0x1a1813['isTransformMutationFailure'](_0x347713))throw _0x347713[_0xc433ff(0x33d)];if(_0x1a1813[_0xc433ff(0x417)](_0x4ed613))throw _0x4ed613[_0xc433ff(0x33d)];_0x4da94a[_0xc433ff(0x2ed)]({..._0x251f72[_0x1ffe1c],'undoState':_0x347713[_0xc433ff(0x310)][_0xc433ff(0x364)],'redoState':_0x4ed613['m2Prime'][_0xc433ff(0x364)]}),_0x39a31c=_0x347713[_0xc433ff(0x2fa)],_0x3dfce7=_0x4ed613[_0xc433ff(0x2fa)];}this['_docStateChangeManagerService'][_0xc433ff(0x231)](_0x51dc22,{'history':_0x22e568,'collaboration':_0x4da94a});}};_0x1f7a6b=_0x3a111f([_0x2c6f9e(0x0,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x2e7)])),_0x2c6f9e(0x1,_0x1a1813['ITransformService']),_0x2c6f9e(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x466fa5['DocStateChangeManagerService']))],_0x1f7a6b);var _0x43dbcd=Object[_0xa2269c(0x2ee)],_0xd3278a=(_0x25da8a,_0x434498,_0x3e37a9,_0x199bb8)=>{for(var _0x2edf3c=_0x199bb8>0x1?void 0x0:_0x199bb8?_0x43dbcd(_0x434498,_0x3e37a9):_0x434498,_0x2680ae=_0x25da8a['length']-0x1,_0x1e35af;_0x2680ae>=0x0;_0x2680ae--)(_0x1e35af=_0x25da8a[_0x2680ae])&&(_0x2edf3c=_0x1e35af(_0x2edf3c)||_0x2edf3c);return _0x2edf3c;},_0x46a7b7=(_0x231282,_0x5cb26b)=>(_0x398054,_0x54fb6d)=>_0x5cb26b(_0x398054,_0x54fb6d,_0x231282);let _0x58b866=class{constructor(_0x259101,_0x57220b){const _0x40b848=_0xa2269c;this['_injector']=_0x259101,this[_0x40b848(0x253)]=_0x57220b;}[_0xa2269c(0x24d)](_0x4ea3f8){const _0x24092d=_0xa2269c;var _0x3664ec;const _0x262941=this[_0x24092d(0x2c9)]['get'](_0x461a0f[_0x24092d(0x370)]),_0x1c755b=(_0x3664ec=_0x262941[_0x24092d(0x206)]())!=null?_0x3664ec:[];if(_0x1c755b[_0x24092d(0x3af)]===0x0)return;const _0x5704aa=_0x4ea3f8['unitID'],_0x22f82a=[{'id':_0x24092d(0x3c4),'params':{'unitId':_0x5704aa,'actions':null,'textRanges':_0x1c755b}}],_0x110429=this[_0x24092d(0x253)][_0x24092d(0x36b)](_0x4ea3f8,_0x22f82a);if(!_0x1a1813[_0x24092d(0x239)](_0x110429))throw _0x110429['error'];const _0x2d79a7=_0x110429[_0x24092d(0x310)][0x0]['params'][_0x24092d(0x426)];Array['isArray'](_0x2d79a7)&&_0x2d79a7[_0x24092d(0x3af)]&&_0x262941[_0x24092d(0x308)](_0x2d79a7,{'unitId':_0x5704aa,'subUnitId':_0x5704aa},!0x1);}};_0x58b866=_0xd3278a([_0x46a7b7(0x0,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x46a7b7(0x1,_0x1a1813['ITransformService'])],_0x58b866);var _0x4f2798=Object[_0xa2269c(0x2ee)],_0x11b54d=(_0x107862,_0x222e11,_0x5d9f56,_0x11df6f)=>{const _0x3b106b=_0xa2269c;for(var _0x5de845=_0x11df6f>0x1?void 0x0:_0x11df6f?_0x4f2798(_0x222e11,_0x5d9f56):_0x222e11,_0x10901e=_0x107862[_0x3b106b(0x3af)]-0x1,_0x292496;_0x10901e>=0x0;_0x10901e--)(_0x292496=_0x107862[_0x10901e])&&(_0x5de845=_0x292496(_0x5de845)||_0x5de845);return _0x5de845;},_0x20c60a=(_0x48e8c8,_0x693078)=>(_0x4513a6,_0x53ee15)=>_0x693078(_0x4513a6,_0x53ee15,_0x48e8c8);let _0xc3f04c=class extends _0x63378d[_0xa2269c(0x2eb)]{constructor(_0x25f8bb,_0xbe2d47,_0x1db2cf,_0x59a1b3,_0x2d6986,_0xaa8cc7,_0x47062b,_0x42e01b){const _0x4e3d0d=_0xa2269c;super(),_0x354915(this,'_status$',new _0xdb7e78[(_0x4e3d0d(0x189))](_0x49b930['CollaborationStatus'][_0x4e3d0d(0x2cc)])),(this['_docStateChangeManagerService']=_0x25f8bb,this[_0x4e3d0d(0x2ba)]=_0xbe2d47,this[_0x4e3d0d(0x17d)]=_0x1db2cf,this[_0x4e3d0d(0x3f8)]=_0x59a1b3,this['_docTransformSelectionsService']=_0x2d6986,this['_docSyncEditingCollabCursorService']=_0xaa8cc7,this['_messageService']=_0x47062b,this[_0x4e3d0d(0x1f2)]=_0x42e01b,this[_0x4e3d0d(0x1c6)]());}['_initEntityListener'](){const _0x437b85=_0xa2269c;this[_0x437b85(0x165)](this['_collaborationController'][_0x437b85(0x41d)][_0x437b85(0x3bd)](_0x294d3a=>{const _0x2a35b5=_0x437b85,_0x258175=this['_docStateChangeManagerService']['docStateChange$'][_0x2a35b5(0x3bd)](_0x7f4d05=>{const _0x297955=_0x2a35b5;if(_0x7f4d05==null)return;const {unitId:_0x4498b7,redoState:_0x1dd0d4,commandId:_0x27f55a}=_0x7f4d05;if(_0x4498b7!==_0x294d3a['unitID'])return;const _0x150003={'id':_0x27f55a,'type':_0x63378d[_0x297955(0x2cd)][_0x297955(0x279)],'params':{'unitId':_0x4498b7,'actions':_0x1dd0d4['actions'],'textRanges':null}};_0x294d3a[_0x297955(0x247)](_0x150003);});if(_0x294d3a[_0x2a35b5(0x165)](_0x258175),_0x294d3a instanceof _0x49b930['DocCollaborationEntity']){const _0x17943d={'onTransformIME':_0x51781=>this[_0x2a35b5(0x17d)][_0x2a35b5(0x372)](_0x51781),'onTransformState':_0x61a8c7=>this[_0x2a35b5(0x3f8)][_0x2a35b5(0x3cc)](_0x61a8c7),'onTransformSelections':_0x1f1fdc=>this['_docTransformSelectionsService'][_0x2a35b5(0x24d)](_0x1f1fdc),'onSyncEditingCollabCursor':_0x5f3d46=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5f3d46),'onTransformRemoteChangesetByIMECache':_0xd8cf1=>this[_0x2a35b5(0x17d)]['transformRemoteChangeset'](_0xd8cf1),'onTransformRemoteChangesetByStateCache':_0x2446e7=>this[_0x2a35b5(0x3f8)]['transformRemoteChangeset'](_0x2446e7)};_0x294d3a[_0x2a35b5(0x29b)](_0x17943d);}}));}};_0xc3f04c=_0x11b54d([_0x20c60a(0x0,_0x63378d['Inject'](_0x466fa5['DocStateChangeManagerService'])),_0x20c60a(0x1,_0x63378d['Inject'](_0x49b930['CollaborationController'])),_0x20c60a(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x38d822)),_0x20c60a(0x3,_0x63378d['Inject'](_0x1f7a6b)),_0x20c60a(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x58b866)),_0x20c60a(0x5,_0x63378d[_0xa2269c(0x1ce)](_0x5ad830)),_0x20c60a(0x6,_0x2c32f5[_0xa2269c(0x1d5)]),_0x20c60a(0x7,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x428)]))],_0xc3f04c);var _0x3df578=(_0x4993b0=>(_0x4993b0[_0x4993b0[_0xa2269c(0x3a3)]=0x0]='UNDEFINED',_0x4993b0[_0x4993b0['OK']=0x1]='OK',_0x4993b0[_0x4993b0[_0xa2269c(0x158)]=0x2]=_0xa2269c(0x158),_0x4993b0[_0x4993b0[_0xa2269c(0x2c7)]=0x3]=_0xa2269c(0x2c7),_0x4993b0[_0x4993b0[_0xa2269c(0x1fd)]=0x4]=_0xa2269c(0x1fd),_0x4993b0[_0x4993b0[_0xa2269c(0x1d0)]=0x5]=_0xa2269c(0x1d0),_0x4993b0[_0x4993b0[_0xa2269c(0x193)]=0x6]='ALREADY_EXISTS',_0x4993b0[_0x4993b0[_0xa2269c(0x1b4)]=0x7]=_0xa2269c(0x1b4),_0x4993b0[_0x4993b0[_0xa2269c(0x1c9)]=0x8]='TOO_MANY_REQUESTS',_0x4993b0[_0x4993b0[_0xa2269c(0x398)]=0x9]=_0xa2269c(0x398),_0x4993b0[_0x4993b0[_0xa2269c(0x1c3)]=0xa]=_0xa2269c(0x1c3),_0x4993b0[_0x4993b0[_0xa2269c(0x225)]=0xb]=_0xa2269c(0x225),_0x4993b0[_0x4993b0[_0xa2269c(0x3c9)]=0xc]=_0xa2269c(0x3c9),_0x4993b0[_0x4993b0[_0xa2269c(0x2db)]=0xd]=_0xa2269c(0x2db),_0x4993b0[_0x4993b0[_0xa2269c(0x17e)]=0xe]=_0xa2269c(0x17e),_0x4993b0[_0x4993b0[_0xa2269c(0x25d)]=0xf]=_0xa2269c(0x25d),_0x4993b0[_0x4993b0[_0xa2269c(0x1bc)]=0x10]=_0xa2269c(0x1bc),_0x4993b0[_0x4993b0['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0xa2269c(0x184),_0x4993b0[_0x4993b0[_0xa2269c(0x13d)]=0x65]=_0xa2269c(0x13d),_0x4993b0[_0x4993b0[_0xa2269c(0x382)]=0xc9]=_0xa2269c(0x382),_0x4993b0[_0x4993b0[_0xa2269c(0x424)]=0xca]=_0xa2269c(0x424),_0x4993b0[_0x4993b0[_0xa2269c(0x210)]=0x1389]=_0xa2269c(0x210),_0x4993b0[_0x4993b0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4993b0[_0x4993b0[_0xa2269c(0x2d7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4993b0[_0x4993b0[_0xa2269c(0x3b1)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4993b0[_0x4993b0[_0xa2269c(0x175)]=0x1b59]=_0xa2269c(0x175),_0x4993b0[_0x4993b0[_0xa2269c(0x1a3)]=0x1b5a]=_0xa2269c(0x1a3),_0x4993b0[_0x4993b0[_0xa2269c(0x17a)]=0x1b5b]=_0xa2269c(0x17a),_0x4993b0[_0x4993b0[_0xa2269c(0x3ca)]=0x1b5c]=_0xa2269c(0x3ca),_0x4993b0[_0x4993b0[_0xa2269c(0x1ad)]=0x1b5d]=_0xa2269c(0x1ad),_0x4993b0[_0x4993b0[_0xa2269c(0x12e)]=0x1f41]=_0xa2269c(0x12e),_0x4993b0[_0x4993b0[_0xa2269c(0x2a5)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4993b0[_0x4993b0[_0xa2269c(0x2b1)]=0x232a]=_0xa2269c(0x2b1),_0x4993b0[_0x4993b0[_0xa2269c(0x146)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4993b0[_0x4993b0[_0xa2269c(0x3b3)]=0x232c]=_0xa2269c(0x3b3),_0x4993b0[_0x4993b0[_0xa2269c(0x226)]=0x232d]=_0xa2269c(0x226),_0x4993b0[_0x4993b0[_0xa2269c(0x16b)]=0x2711]=_0xa2269c(0x16b),_0x4993b0[_0x4993b0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4993b0[_0x4993b0[_0xa2269c(0x130)]=0x2713]=_0xa2269c(0x130),_0x4993b0[_0x4993b0[_0xa2269c(0x28e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4993b0[_0x4993b0[_0xa2269c(0x3f3)]=0x271a]=_0xa2269c(0x3f3),_0x4993b0[_0x4993b0['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xa2269c(0x2f8),_0x4993b0[_0x4993b0[_0xa2269c(0x3a4)]=0x271c]=_0xa2269c(0x3a4),_0x4993b0[_0x4993b0[_0xa2269c(0x136)]=0x271d]=_0xa2269c(0x136),_0x4993b0[_0x4993b0[_0xa2269c(0x15b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4993b0[_0x4993b0['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x4993b0[_0x4993b0[_0xa2269c(0x276)]=0x2720]=_0xa2269c(0x276),_0x4993b0[_0x4993b0[_0xa2269c(0x27b)]=0x2af9]=_0xa2269c(0x27b),_0x4993b0[_0x4993b0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4993b0[_0x4993b0[_0xa2269c(0x369)]=0x2ee2]=_0xa2269c(0x369),_0x4993b0[_0x4993b0[_0xa2269c(0x23f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4993b0[_0x4993b0[_0xa2269c(0x3a8)]=0x2ee4]=_0xa2269c(0x3a8),_0x4993b0[_0x4993b0[_0xa2269c(0x302)]=0x2ee5]=_0xa2269c(0x302),_0x4993b0[_0x4993b0[_0xa2269c(0x1f5)]=0x32c9]=_0xa2269c(0x1f5),_0x4993b0[_0x4993b0['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xa2269c(0x3f9),_0x4993b0[_0x4993b0['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4993b0[_0x4993b0['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4993b0[_0x4993b0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xa2269c(0x400),_0x4993b0[_0x4993b0[_0xa2269c(0x12f)]=0x36b3]=_0xa2269c(0x12f),_0x4993b0[_0x4993b0[_0xa2269c(0x36e)]=0x36b4]=_0xa2269c(0x36e),_0x4993b0[_0x4993b0[_0xa2269c(0x402)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x4993b0[_0x4993b0['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0xa2269c(0x2b5),_0x4993b0[_0x4993b0[_0xa2269c(0x37b)]=0x36b7]=_0xa2269c(0x37b),_0x4993b0[_0x4993b0[_0xa2269c(0x34c)]=0x36b8]=_0xa2269c(0x34c),_0x4993b0[_0x4993b0['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0xa2269c(0x32a),_0x4993b0[_0x4993b0[_0xa2269c(0x3ed)]=0x3716]=_0xa2269c(0x3ed),_0x4993b0[_0x4993b0[_0xa2269c(0x341)]=0x3717]=_0xa2269c(0x341),_0x4993b0[_0x4993b0['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0xa2269c(0x385),_0x4993b0[_0x4993b0[_0xa2269c(0x383)]=0x3a99]=_0xa2269c(0x383),_0x4993b0[_0x4993b0['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xa2269c(0x32c),_0x4993b0[_0x4993b0[_0xa2269c(0x25c)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4993b0[_0x4993b0[_0xa2269c(0x176)]=0x3a9c]=_0xa2269c(0x176),_0x4993b0[_0x4993b0[_0xa2269c(0x28c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4993b0[_0x4993b0[_0xa2269c(0x1ca)]=0x3a9e]=_0xa2269c(0x1ca),_0x4993b0[_0x4993b0[_0xa2269c(0x1d3)]=0x3a9f]=_0xa2269c(0x1d3),_0x4993b0[_0x4993b0[_0xa2269c(0x36c)]=0x3e81]=_0xa2269c(0x36c),_0x4993b0[_0x4993b0[_0xa2269c(0x1aa)]=-0x1]=_0xa2269c(0x1aa),_0x4993b0))(_0x3df578||{});function _0x3302db(_0x54f7b5){const _0x542da1=_0xa2269c;var _0x3c5097,_0x426fe0;const _0x1a6774=(_0x3c5097=_0x54f7b5[_0x542da1(0x216)])==null?void 0x0:_0x3c5097[_0x542da1(0x351)],_0x532c43=((_0x426fe0=_0x54f7b5['stageInfo'])==null?void 0x0:_0x426fe0['totalFormulasToCalculate'])||0x0;return _0x1a6774===_0x1a201e['FormulaExecuteStageType'][_0x542da1(0x379)]&&_0x532c43>0x0;}function _0x165cdd(_0x166b23){return _0x166b23['functionsExecutedState']===_0x1a201e['FormulaExecutedStateType']['SUCCESS'];}var _0xb1dc2d=Object['getOwnPropertyDescriptor'],_0x46a064=(_0x1b8151,_0x458f7c,_0x1cd2fc,_0x2b7f94)=>{const _0x3e85fe=_0xa2269c;for(var _0x22af85=_0x2b7f94>0x1?void 0x0:_0x2b7f94?_0xb1dc2d(_0x458f7c,_0x1cd2fc):_0x458f7c,_0x1ae599=_0x1b8151[_0x3e85fe(0x3af)]-0x1,_0x473ac9;_0x1ae599>=0x0;_0x1ae599--)(_0x473ac9=_0x1b8151[_0x1ae599])&&(_0x22af85=_0x473ac9(_0x22af85)||_0x22af85);return _0x22af85;},_0x3a44a7=(_0x5c29dd,_0x22ddd0)=>(_0x1e6106,_0x360fbb)=>_0x22ddd0(_0x1e6106,_0x360fbb,_0x5c29dd);const _0x47d8d1=_0xa2269c(0x15d),_0xec6fb3=_0xa2269c(0x419),_0x288692=_0xa2269c(0x1c0);let _0x5735c9=class extends _0x63378d[_0xa2269c(0x2eb)]{constructor(_0x580b1b,_0x391228,_0x24e36e,_0x61a9ef,_0x51104b,_0x1256e9,_0x51fb8e){const _0xced4d5=_0xa2269c;super(),_0x354915(this,_0xced4d5(0x245),null),_0x354915(this,_0xced4d5(0x241),0x0),_0x354915(this,'_currentUsage',0x0),_0x354915(this,_0xced4d5(0x1dc),[]),_0x354915(this,_0xced4d5(0x260),0x0),(this[_0xced4d5(0x295)]=_0x580b1b,this[_0xced4d5(0x234)]=_0x391228,this[_0xced4d5(0x359)]=_0x24e36e,this['_httpService']=_0x61a9ef,this[_0xced4d5(0x1ef)]=_0x51104b,this[_0xced4d5(0x1c2)]=_0x1256e9,this[_0xced4d5(0x1f2)]=_0x51fb8e,this['_initCommandInterceptor']());}[_0xa2269c(0x40e)](){const _0x3fdd0d=_0xa2269c;this['disposeWithMe'](this[_0x3fdd0d(0x234)]['beforeCommandExecuted']((_0xa80b27,_0xd01793)=>{const _0x4b3593=_0x3fdd0d;var _0x2643fc;if(_0xa80b27['id']!==_0x1a201e['SetFormulaCalculationStartMutation']['id'])return;const _0x22e792=_0xa80b27[_0x4b3593(0x364)];if(!this['_hasFormulaInDirtyRanges']((_0x2643fc=_0x22e792[_0x4b3593(0x380)])!=null?_0x2643fc:[]))return;if(!this[_0x4b3593(0x38d)]())throw this['_checkAndWaitForCalculationPermission'](_0xa80b27,_0xd01793),this[_0x4b3593(0x14d)](),new _0x63378d[(_0x4b3593(0x2bd))]();})),this[_0x3fdd0d(0x165)](this['_commandService'][_0x3fdd0d(0x172)]((_0x24a6f0,_0x2d041e)=>{const _0x5e0e85=_0x3fdd0d;if(_0x24a6f0['id']!==_0x1a201e[_0x5e0e85(0x254)]['id'])return;const _0x21dd77=_0x24a6f0[_0x5e0e85(0x364)];if(_0x3302db(_0x21dd77)){const _0x2744f2=_0x63378d[_0x5e0e85(0x311)]();this[_0x5e0e85(0x1dc)][_0x5e0e85(0x2ca)](_0x2744f2),this[_0x5e0e85(0x20d)](_0x2744f2);}else{if(_0x165cdd(_0x21dd77)&&this['_taskIds'][_0x5e0e85(0x3af)]>0x0){const _0x370dc8=this[_0x5e0e85(0x1dc)][_0x5e0e85(0x388)]();this['_releaseCalculationLimit'](_0x370dc8);}}}));}[_0xa2269c(0x212)](){const _0x359a26=_0xa2269c;super[_0x359a26(0x212)](),this['_clearPolling'](),this[_0x359a26(0x1dc)]=[],this[_0x359a26(0x16e)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x359a26(0x260)]=0x0;}async[_0xa2269c(0x15f)](_0xb2bba5,_0x20ffb8){const _0x5c0773=_0xa2269c;for(let _0x204cc5=0x0;_0x204cc5<0x1e;_0x204cc5++)try{if(await this['_getFormulaLimitStatus'](),this[_0x5c0773(0x38d)]()){this[_0x5c0773(0x188)](_0xb2bba5,_0x20ffb8),this['_messageService']['show']({'content':this[_0x5c0773(0x1f2)]['t'](_0x5c0773(0x3f1)),'type':_0x25c8b9[_0x5c0773(0x2d0)][_0x5c0773(0x1b1)]});return;}await new Promise(_0x201632=>{const _0x3d3a25=_0x5c0773;this[_0x3d3a25(0x245)]=window[_0x3d3a25(0x409)](_0x201632,0x3e8);});}catch(_0x367f78){this['_logService'][_0x5c0773(0x33d)](_0x367f78);}this[_0x5c0773(0x295)]['show']({'content':this[_0x5c0773(0x1f2)]['t'](_0x5c0773(0x381)),'type':_0x25c8b9[_0x5c0773(0x2d0)][_0x5c0773(0x269)]});}[_0xa2269c(0x188)](_0x1b953d,_0x4d23fd){const _0x53faf8=_0xa2269c;try{this['_commandService']['executeCommand'](_0x1b953d['id'],_0x1b953d[_0x53faf8(0x364)],_0x4d23fd);}catch(_0x2e600d){this['_logService'][_0x53faf8(0x33d)](_0x2e600d);}}[_0xa2269c(0x15a)](_0x54d75c,_0x4a4945){const _0x314489=_0xa2269c;_0x4a4945<this['_lastResponseTimestamp']||(this[_0x314489(0x260)]=_0x4a4945,this[_0x314489(0x241)]=Number['parseInt'](_0x54d75c['maxFormulaLimit']),this[_0x314489(0x16e)]=Number['parseInt'](_0x54d75c[_0x314489(0x1e8)]));}async['_startCalculationLimit'](_0x58aca9){const _0x335a1c=_0xa2269c;var _0x271e19,_0x2ed0a0;const _0x42e199=Date[_0x335a1c(0x171)]();try{const _0x52fe0d=((_0x271e19=this[_0x335a1c(0x359)]['getConfig'](_0x49b930[_0x335a1c(0x149)]))==null?void 0x0:_0x271e19[_0x335a1c(0x280)])||_0xec6fb3,_0x390e46=(await this['_httpService']['post'](_0x52fe0d,{'body':JSON[_0x335a1c(0x133)]({'taskId':_0x58aca9})}))[_0x335a1c(0x1d9)];if(((_0x2ed0a0=_0x390e46[_0x335a1c(0x33d)])==null?void 0x0:_0x2ed0a0[_0x335a1c(0x24e)])!==_0x3df578['OK'])return;this[_0x335a1c(0x15a)](_0x390e46[_0x335a1c(0x199)],_0x42e199);}catch(_0x903fb9){this[_0x335a1c(0x1c2)]['error'](_0x903fb9);}}async[_0xa2269c(0x3bc)](_0x1cfe42){const _0x36d449=_0xa2269c;var _0x570fb1,_0x2bb6ba;const _0x3c6d50=Date['now']();try{const _0x3c8c70=((_0x570fb1=this[_0x36d449(0x359)]['getConfig'](_0x49b930[_0x36d449(0x149)]))==null?void 0x0:_0x570fb1[_0x36d449(0x38b)])||_0x47d8d1,_0x62d285=_0x1cfe42?_0x3c8c70+_0x36d449(0x3dd)+encodeURIComponent(_0x1cfe42):_0x3c8c70,_0x20b2f1=(await this[_0x36d449(0x3c0)]['get'](_0x62d285))[_0x36d449(0x1d9)];if(((_0x2bb6ba=_0x20b2f1[_0x36d449(0x33d)])==null?void 0x0:_0x2bb6ba['code'])!==_0x3df578['OK'])return;this[_0x36d449(0x15a)](_0x20b2f1[_0x36d449(0x199)],_0x3c6d50);}catch(_0x1d4972){this[_0x36d449(0x1c2)][_0x36d449(0x33d)](_0x1d4972);}}async[_0xa2269c(0x427)](_0xe9a102){const _0x320d42=_0xa2269c;var _0x4b2c2c,_0x3bfa0e;const _0x4617ad=Date[_0x320d42(0x171)]();try{const _0x17d2f6=((_0x4b2c2c=this[_0x320d42(0x359)][_0x320d42(0x265)](_0x49b930[_0x320d42(0x149)]))==null?void 0x0:_0x4b2c2c['releaseFormulaLimitUrl'])||_0x288692,_0x40498d=(await this[_0x320d42(0x3c0)]['post'](_0x17d2f6,{'body':JSON[_0x320d42(0x133)]({'taskId':_0xe9a102})}))[_0x320d42(0x1d9)];if(((_0x3bfa0e=_0x40498d[_0x320d42(0x33d)])==null?void 0x0:_0x3bfa0e[_0x320d42(0x24e)])!==_0x3df578['OK'])return;this[_0x320d42(0x15a)](_0x40498d[_0x320d42(0x199)],_0x4617ad);}catch(_0x5bdb6e){this[_0x320d42(0x1c2)][_0x320d42(0x33d)](_0x5bdb6e);}}[_0xa2269c(0x38d)](){const _0x3f2b8f=_0xa2269c;return this[_0x3f2b8f(0x241)]===0x0?!0x0:this[_0x3f2b8f(0x241)]-this[_0x3f2b8f(0x16e)]>0x0;}[_0xa2269c(0x2da)](){const _0x3b18c1=_0xa2269c;this[_0x3b18c1(0x245)]&&(clearTimeout(this[_0x3b18c1(0x245)]),this[_0x3b18c1(0x245)]=null);}[_0xa2269c(0x14d)](){const _0x34c437=_0xa2269c;this[_0x34c437(0x295)][_0x34c437(0x277)]({'content':this[_0x34c437(0x1f2)]['t'](_0x34c437(0x1d4)),'type':_0x25c8b9[_0x34c437(0x2d0)][_0x34c437(0x144)]});}[_0xa2269c(0x14b)](_0xa75241){const _0x57aa7d=_0xa2269c;for(const _0x10ebc2 of _0xa75241){const {unitId:_0x58c330,sheetId:_0x4bfd0b,range:_0x22606d}=_0x10ebc2,_0x36d69a=this[_0x57aa7d(0x1ef)][_0x57aa7d(0x256)](_0x58c330);if(!_0x36d69a)continue;const _0x25ee4e=_0x36d69a['getSheetBySheetId'](_0x4bfd0b);if(!_0x25ee4e)continue;const _0x1f0188=_0x25ee4e['getCellMatrix']();for(let _0x289661=_0x22606d[_0x57aa7d(0x2c6)];_0x289661<=_0x22606d['endRow'];_0x289661++)for(let _0x547a88=_0x22606d[_0x57aa7d(0x41a)];_0x547a88<=_0x22606d[_0x57aa7d(0x1e4)];_0x547a88++){const _0x2d9518=_0x1f0188[_0x57aa7d(0x273)](_0x289661,_0x547a88);if(_0x2d9518&&(_0x63378d[_0x57aa7d(0x3ab)](_0x2d9518['f'])||_0x63378d[_0x57aa7d(0x3ec)](_0x2d9518['si'])))return!0x0;}}return!0x1;}};_0x5735c9=_0x46a064([_0x3a44a7(0x0,_0x63378d['Inject'](_0x2c32f5[_0xa2269c(0x1d5)])),_0x3a44a7(0x1,_0x63378d[_0xa2269c(0x278)]),_0x3a44a7(0x2,_0x63378d[_0xa2269c(0x154)]),_0x3a44a7(0x3,_0x63378d['Inject'](_0x4af045[_0xa2269c(0x246)])),_0x3a44a7(0x4,_0x63378d['IUniverInstanceService']),_0x3a44a7(0x5,_0x63378d[_0xa2269c(0x2f3)]),_0x3a44a7(0x6,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x428)]))],_0x5735c9);var _0x58de3a=Object['getOwnPropertyDescriptor'],_0x18e92a=(_0x54d290,_0x1f7837,_0x2c9237,_0x1eef2e)=>{for(var _0xfd60c=_0x1eef2e>0x1?void 0x0:_0x1eef2e?_0x58de3a(_0x1f7837,_0x2c9237):_0x1f7837,_0xce2dfa=_0x54d290['length']-0x1,_0x4c7f48;_0xce2dfa>=0x0;_0xce2dfa--)(_0x4c7f48=_0x54d290[_0xce2dfa])&&(_0xfd60c=_0x4c7f48(_0xfd60c)||_0xfd60c);return _0xfd60c;},_0x13b743=(_0x44746f,_0x17633a)=>(_0x585d3e,_0x135975)=>_0x17633a(_0x585d3e,_0x135975,_0x44746f);let _0x45caea=class extends _0x63378d['Disposable']{constructor(_0x4230f5,_0x3a5b88,_0x4ae42c){const _0x28c188=_0xa2269c;super(),_0x354915(this,'_cachedData',new Map()),_0x354915(this,_0x28c188(0x1f6),new Map()),_0x354915(this,_0x28c188(0x3cb),!0x1),(this['_configService']=_0x4230f5,this[_0x28c188(0x1e9)]=_0x3a5b88,this[_0x28c188(0x3cd)]=_0x4ae42c);}[_0xa2269c(0x33e)](){this['_disabled']=!0x0;}[_0xa2269c(0x3b0)](){const _0x2ff888=_0xa2269c;this[_0x2ff888(0x3cb)]=!0x1;}get[_0xa2269c(0x2e8)](){const _0x1e8ead=_0xa2269c;return this[_0x1e8ead(0x1f6)];}[_0xa2269c(0x212)](){const _0x55bf77=_0xa2269c;this[_0x55bf77(0x2e9)]()['then'](()=>super['dispose']());}async[_0xa2269c(0x169)](_0x183717){const _0x4459c7=_0xa2269c;return this[_0x4459c7(0x3cb)]?null:this[_0x4459c7(0x1e9)][_0x4459c7(0x41f)](_0x49b930['getLocalCacheKey'](_0x183717));}async[_0xa2269c(0x274)](_0x17a216,_0x27f173){const _0x4489f7=_0xa2269c;return!!this[_0x4489f7(0x1e9)][_0x4489f7(0x3c8)](_0x17a216,_0x27f173);}[_0xa2269c(0x2a4)](_0x207bb2,_0x1b6882,_0x161a10,_0x1fd252){const _0x2cec25=_0xa2269c,_0x5ce2ea=this[_0x2cec25(0x3cd)][_0x2cec25(0x1bf)](_0x207bb2);this[_0x2cec25(0x26f)]['set'](_0x207bb2,{'unitID':_0x207bb2,'type':_0x1b6882,'awaitingChangeset':_0x161a10,'mutations':_0x1fd252,'rev':_0x5ce2ea}),this[_0x2cec25(0x1f6)]['has'](_0x207bb2)||this[_0x2cec25(0x37d)](_0x207bb2);}[_0xa2269c(0x37d)](_0xbd25cf){const _0x1971e5=_0xa2269c,_0x2b5f62=this[_0x1971e5(0x1ae)]();_0x2b5f62===0x0?this[_0x1971e5(0x320)](_0xbd25cf):this[_0x1971e5(0x1f6)][_0x1971e5(0x233)](_0xbd25cf,setTimeout(()=>this[_0x1971e5(0x320)](_0xbd25cf),_0x2b5f62));}[_0xa2269c(0x1ae)](){const _0x44ec72=_0xa2269c;var _0x15c927;return(_0x15c927=this[_0x44ec72(0x359)][_0x44ec72(0x265)](_0x49b930['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x15c927:_0x49b930['LOCAL_CACHE_INTERVAL'];}[_0xa2269c(0x320)](_0x495afc){const _0x482a17=_0xa2269c,_0x44e8a5=this[_0x482a17(0x1f6)][_0x482a17(0x1ed)](_0x495afc);return _0x44e8a5!==void 0x0&&window[_0x482a17(0x297)](_0x44e8a5),this[_0x482a17(0x1e9)][_0x482a17(0x3c8)](_0x49b930['getLocalCacheKey'](_0x495afc),this[_0x482a17(0x26f)][_0x482a17(0x1ed)](_0x495afc))[_0x482a17(0x3e6)](()=>this[_0x482a17(0x1f6)][_0x482a17(0x219)](_0x495afc));}async[_0xa2269c(0x2e9)](){const _0x2f0b87=_0xa2269c,_0x19faf4=[];this[_0x2f0b87(0x1f6)][_0x2f0b87(0x399)]((_0x52f398,_0x2be1c8)=>{const _0xabfa27=_0x2f0b87;window[_0xabfa27(0x297)](_0x52f398),_0x19faf4[_0xabfa27(0x2ca)](this[_0xabfa27(0x320)](_0x2be1c8)[_0xabfa27(0x3e6)](()=>{const _0x1a9fba=_0xabfa27;this[_0x1a9fba(0x1f6)][_0x1a9fba(0x219)](_0x2be1c8);}));}),await Promise[_0x2f0b87(0x42c)](_0x19faf4);}};_0x45caea=_0x18e92a([_0x13b743(0x0,_0x63378d[_0xa2269c(0x154)]),_0x13b743(0x1,_0x63378d[_0xa2269c(0x145)]),_0x13b743(0x2,_0x63378d['Inject'](_0x1a1813[_0xa2269c(0x1b8)]))],_0x45caea);class _0x21f8d9 extends _0x63378d[_0xa2269c(0x1ac)]{constructor(){const _0x589dc1=_0xa2269c;super(),_0x354915(this,_0x589dc1(0x281)),this['urlChange$']=_0xdb7e78[_0x589dc1(0x303)](window,'popstate')['pipe'](_0xdb7e78[_0x589dc1(0x393)](this[_0x589dc1(0x3f6)]),_0xdb7e78['shareReplay'](0x1),_0xdb7e78[_0x589dc1(0x2bb)](void 0x0));}[_0xa2269c(0x264)](_0x16cde5,_0x5c585b,_0x51c4c8=!0x1){const _0x3842cc=_0xa2269c,_0x2fd153=new URL(window[_0x3842cc(0x235)][_0x3842cc(0x307)]);_0x2fd153[_0x3842cc(0x211)]['set'](_0x16cde5,_0x5c585b),_0x51c4c8?window['history'][_0x3842cc(0x1da)]('','',_0x2fd153['toString']()):window[_0x3842cc(0x3d5)][_0x3842cc(0x186)]('','',_0x2fd153[_0x3842cc(0x397)]());}[_0xa2269c(0x255)](_0x17ce84,_0x3a2691=!0x1){const _0x21bb43=_0xa2269c,_0x3a29da=new URL(window['location']['href']);_0x3a29da[_0x21bb43(0x211)][_0x21bb43(0x219)](_0x17ce84),_0x3a2691?window[_0x21bb43(0x3d5)][_0x21bb43(0x1da)]('','',_0x3a29da[_0x21bb43(0x397)]()):window[_0x21bb43(0x3d5)]['pushState']('','',_0x3a29da[_0x21bb43(0x397)]());}['getParam'](_0x5f081c){const _0x27ef63=_0xa2269c;var _0x3b8e85;return(_0x3b8e85=new URL(window['location'][_0x27ef63(0x307)])['searchParams'][_0x27ef63(0x1ed)](_0x5f081c))!=null?_0x3b8e85:void 0x0;}}var _0x59acac=Object['defineProperty'],_0x4a0235=Object[_0xa2269c(0x2ee)],_0x57edaf=(_0x33eae6,_0x1d5bdc,_0x2c5000)=>_0x1d5bdc in _0x33eae6?_0x59acac(_0x33eae6,_0x1d5bdc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c5000}):_0x33eae6[_0x1d5bdc]=_0x2c5000,_0x24f56d=(_0x3fef4c,_0x2e1a0c,_0x1ab5ed,_0x5c2bc4)=>{const _0x453e79=_0xa2269c;for(var _0x596150=_0x5c2bc4>0x1?void 0x0:_0x5c2bc4?_0x4a0235(_0x2e1a0c,_0x1ab5ed):_0x2e1a0c,_0x5e12bb=_0x3fef4c[_0x453e79(0x3af)]-0x1,_0x2c0a44;_0x5e12bb>=0x0;_0x5e12bb--)(_0x2c0a44=_0x3fef4c[_0x5e12bb])&&(_0x596150=_0x2c0a44(_0x596150)||_0x596150);return _0x596150;},_0x27a835=(_0x472384,_0x1d5095)=>(_0x178c95,_0x13754b)=>_0x1d5095(_0x178c95,_0x13754b,_0x472384),_0x4d6cbc=(_0x5b3bbe,_0x5aa146,_0x1c1cf1)=>_0x57edaf(_0x5b3bbe,_0x5aa146+'',_0x1c1cf1);const _0x4d27a0=_0xa2269c(0x141);_0x44307e['UniverCollaborationClientUIPlugin']=class extends _0x63378d[_0xa2269c(0x404)]{constructor(_0x5821f3=_0x78c6d,_0x34019f,_0x131222,_0xfcad03){const _0x175719=_0xa2269c;super(),this[_0x175719(0x328)]=_0x5821f3,this[_0x175719(0x191)]=_0x34019f,this['_injector']=_0x131222,this[_0x175719(0x359)]=_0xfcad03;const {..._0x286102}=_0x63378d[_0x175719(0x232)]({},_0x78c6d,this[_0x175719(0x328)]);this[_0x175719(0x359)][_0x175719(0x3c7)](_0x392784,_0x286102);}[_0xa2269c(0x204)](){const _0x6b8404=_0xa2269c;this[_0x6b8404(0x420)](),this[_0x6b8404(0x315)]();}[_0xa2269c(0x319)](){this['_registerRenderDependencies']();}[_0xa2269c(0x420)](){const _0x269a1d=_0xa2269c;var _0x203173;const _0x15c4ad=[[_0x59a235],[_0x5735c9],[_0x58b866],[_0x38d822],[_0x1f7a6b],[_0x5ad830],[_0xdbf68a,{'useClass':_0x21f8d9}],[_0x4af045[_0x269a1d(0x178)],{'useClass':_0x4af045['WebSocketService']}],[_0x49b930[_0x269a1d(0x31a)],{'useClass':_0x45caea}],[_0x44307e['DesktopCollaborationStatusDisplayController']],[_0xc3f04c],[_0x158e9b],[_0x64597c],[_0x1ae3d3],[_0x44307e[_0x269a1d(0x19e)]]];this[_0x269a1d(0x328)]['enableFrontendLog']&&_0x15c4ad[_0x269a1d(0x2ca)]([_0xc0f0de]),_0x63378d['registerDependencies'](this['_injector'],_0x63378d[_0x269a1d(0x414)](_0x15c4ad,(_0x203173=this[_0x269a1d(0x328)])==null?void 0x0:_0x203173[_0x269a1d(0x1c4)]));}[_0xa2269c(0x343)](){const _0x54d6a8=_0xa2269c;this[_0x54d6a8(0x165)](this[_0x54d6a8(0x191)]['registerRenderModule'](_0x63378d[_0x54d6a8(0x332)][_0x54d6a8(0x143)],[_0x13c409])),this[_0x54d6a8(0x165)](this['_renderManagerService'][_0x54d6a8(0x30b)](_0x63378d[_0x54d6a8(0x332)]['UNIVER_SHEET'],[_0x1331e9]));}[_0xa2269c(0x315)](){const _0x36e812=_0xa2269c;_0x63378d[_0x36e812(0x357)](this[_0x36e812(0x2c9)],[[_0x64597c],[_0x44307e[_0x36e812(0x345)]],[_0xc3f04c],[_0x158e9b],[_0x44307e[_0x36e812(0x19e)]],[_0x5735c9]]),this[_0x36e812(0x328)][_0x36e812(0x365)]&&_0x63378d[_0x36e812(0x357)](this[_0x36e812(0x2c9)],[[_0xc0f0de]]);}},_0x4d6cbc(_0x44307e[_0xa2269c(0x291)],_0xa2269c(0x299),_0x4d27a0),_0x44307e['UniverCollaborationClientUIPlugin']=_0x24f56d([_0x63378d['DependentOn'](_0x49b930['UniverCollaborationClientPlugin']),_0x27a835(0x1,_0x3be252[_0xa2269c(0x3f0)]),_0x27a835(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x27a835(0x3,_0x63378d['IConfigService'])],_0x44307e[_0xa2269c(0x291)]);var _0x1b86d3=Object[_0xa2269c(0x2ee)],_0x4905f0=(_0x3089fe,_0x330532,_0xedbe31,_0x7573b7)=>{const _0x40ac1d=_0xa2269c;for(var _0x27258e=_0x7573b7>0x1?void 0x0:_0x7573b7?_0x1b86d3(_0x330532,_0xedbe31):_0x330532,_0x48206d=_0x3089fe[_0x40ac1d(0x3af)]-0x1,_0x5d25da;_0x48206d>=0x0;_0x48206d--)(_0x5d25da=_0x3089fe[_0x48206d])&&(_0x27258e=_0x5d25da(_0x27258e)||_0x27258e);return _0x27258e;},_0x500736=(_0x44a083,_0x39e659)=>(_0x4e3533,_0x4049e4)=>_0x39e659(_0x4e3533,_0x4049e4,_0x44a083);_0x44307e['BrowserCollaborationSocketService']=class extends _0x49b930['CollaborationSocketService']{constructor(_0xfe00e8,_0xf1364a,_0x561ed9,_0x75d6f8,_0x42841b){super(_0xfe00e8,_0xf1364a,_0x561ed9,_0x75d6f8,_0x42841b);}async[_0xa2269c(0x1e5)](_0x4c3922){const _0x4e3d69=_0xa2269c,_0x5627aa=await this[_0x4e3d69(0x2d2)](),_0x4d2865=this[_0x4e3d69(0x358)](_0x4c3922,_0x5627aa);return this[_0x4e3d69(0x23b)](_0x4d2865);}['_createSocketURL'](_0x204718,_0x3e5b97){const _0x44a55a=_0xa2269c,_0x388239=typeof window>'u'?new URL(_0x204718):new URL(_0x204718,window[_0x44a55a(0x235)][_0x44a55a(0x209)]);_0x388239[_0x44a55a(0x211)][_0x44a55a(0x233)](_0x44a55a(0x1d7),_0x3e5b97);const _0xbfe21=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x44a55a(0x235)][_0x44a55a(0x23d)]);return _0xbfe21['get'](_0x44a55a(0x168))&&_0x388239[_0x44a55a(0x211)][_0x44a55a(0x233)](_0x44a55a(0x168),_0xbfe21[_0x44a55a(0x1ed)]('runId')),_0x388239['toString']();}async[_0xa2269c(0x2d2)](){const _0x26a830=_0xa2269c;var _0x1eb75a,_0x17fec6,_0x1fab27;const _0xea222c=this['_configService'][_0x26a830(0x265)](_0x49b930[_0x26a830(0x149)]),_0x48d89f=(_0x1eb75a=_0xea222c==null?void 0x0:_0xea222c[_0x26a830(0x3bb)])!=null?_0x1eb75a:_0x49b930[_0x26a830(0x197)];return(_0x1fab27=(_0x17fec6=(await this[_0x26a830(0x3c0)]['get'](_0x48d89f,{'headers':{'Content-Type':_0x26a830(0x36a)}}))[_0x26a830(0x1d9)])==null?void 0x0:_0x17fec6[_0x26a830(0x248)])!=null?_0x1fab27:'';}},_0x44307e[_0xa2269c(0x2e1)]=_0x4905f0([_0x500736(0x0,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x500736(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x4af045[_0xa2269c(0x246)])),_0x500736(0x2,_0x63378d[_0xa2269c(0x154)]),_0x500736(0x3,_0x63378d[_0xa2269c(0x2f3)]),_0x500736(0x4,_0x1a1813[_0xa2269c(0x27c)])],_0x44307e[_0xa2269c(0x2e1)]);var _0x385ce8=Object[_0xa2269c(0x2ee)],_0xc0e532=(_0x206822,_0x136c2b,_0x17d05d,_0x5470f0)=>{const _0x4242ce=_0xa2269c;for(var _0x16b2a9=_0x5470f0>0x1?void 0x0:_0x5470f0?_0x385ce8(_0x136c2b,_0x17d05d):_0x136c2b,_0x4767e7=_0x206822[_0x4242ce(0x3af)]-0x1,_0x197127;_0x4767e7>=0x0;_0x4767e7--)(_0x197127=_0x206822[_0x4767e7])&&(_0x16b2a9=_0x197127(_0x16b2a9)||_0x16b2a9);return _0x16b2a9;},_0x34f248=(_0x5bde0e,_0x4f631f)=>(_0xd3c0df,_0x306c1b)=>_0x4f631f(_0xd3c0df,_0x306c1b,_0x5bde0e);_0x44307e['RemoteUniscriptService']=class extends _0x63378d['Disposable']{constructor(_0x456248,_0x1e5b0f,_0x42458e){const _0x1b9e02=_0xa2269c;super(),this[_0x1b9e02(0x166)]=_0x456248,this[_0x1b9e02(0x3c0)]=_0x1e5b0f,this['_configService']=_0x42458e;}async[_0xa2269c(0x3d7)](_0x1ae7ce,_0x1c58da,_0xf7e998,..._0x1e4663){const _0x4594b4=_0xa2269c;var _0x36db0a,_0x22f8be,_0x8caa67,_0x1656fd;const _0x4bc928=this[_0x4594b4(0x166)]['getFocusedUnit']();if(!_0x4bc928)throw new Error(_0x4594b4(0x361));const _0x8d9c82=((_0x36db0a=this[_0x4594b4(0x359)]['getConfig'](_0x49b930['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x36db0a:_0x49b930[_0x4594b4(0x352)])+'/'+_0x1ae7ce+_0x4594b4(0x25f)+_0x1c58da,_0x559770=new URL(window[_0x4594b4(0x235)][_0x4594b4(0x307)]),_0x270ebd={'scriptId':_0x1ae7ce,'runId':(_0x22f8be=_0x559770['searchParams'][_0x4594b4(0x1ed)](_0x4594b4(0x168)))!=null?_0x22f8be:'','function':_0x1c58da,'unitId':_0x4bc928[_0x4594b4(0x1b6)](),'argsOfFunction':JSON['stringify'](_0x1e4663),'invokeId':(_0x8caa67=_0xf7e998['invokeId'])!=null?_0x8caa67:'','executionId':(_0x1656fd=_0xf7e998[_0x4594b4(0x12d)])!=null?_0x1656fd:''};try{const _0x5dcef0=await this[_0x4594b4(0x3c0)][_0x4594b4(0x284)](_0x8d9c82,{'body':_0x270ebd});return _0x5dcef0[_0x4594b4(0x1d9)][_0x4594b4(0x33d)]&&_0x5dcef0['body'][_0x4594b4(0x33d)]['code']!==_0x3df578['OK']?_0x4594b4(0x242):_0x5dcef0[_0x4594b4(0x1d9)][_0x4594b4(0x13a)];}catch{return _0x4594b4(0x242);}}},_0x44307e[_0xa2269c(0x14f)]=_0xc0e532([_0x34f248(0x0,_0x63378d[_0xa2269c(0x240)]),_0x34f248(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x4af045[_0xa2269c(0x246)])),_0x34f248(0x2,_0x63378d[_0xa2269c(0x154)])],_0x44307e[_0xa2269c(0x14f)]);const _0x975c74=0x7530,_0x626da=_0xa2269c(0x153);class _0x441d1d extends _0x63378d[_0xa2269c(0x2eb)]{constructor(){const _0x41f4f6=_0xa2269c;super(),_0x354915(this,_0x41f4f6(0x3a7),_0x63378d['generateRandomId']()),_0x354915(this,_0x41f4f6(0x2a9),new Set()),_0x354915(this,_0x41f4f6(0x301),new Map()),_0x354915(this,_0x41f4f6(0x3f4),null),_0x354915(this,'_clearOtherTimers',new Map()),_0x354915(this,'_unitStatus',new Map()),this[_0x41f4f6(0x29a)]();}[_0xa2269c(0x212)](){const _0x2183c8=_0xa2269c;super[_0x2183c8(0x212)](),this[_0x2183c8(0x411)][_0x2183c8(0x399)]((_0xb3a77a,_0x5d5137)=>this[_0x2183c8(0x2fb)](_0x5d5137)),this[_0x2183c8(0x3f4)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0xa2269c(0x286)](_0x1d6850){const _0x41a4ff=_0xa2269c;return this['_ensureSubject'](_0x1d6850)[_0x41a4ff(0x287)](_0xdb7e78[_0x41a4ff(0x2b8)]());}[_0xa2269c(0x3d9)](_0x58dc97){const _0x46afd9=_0xa2269c;this[_0x46afd9(0x2a9)][_0x46afd9(0x368)]===0x0&&this['_scheduleHeartbeat'](),this[_0x46afd9(0x2a9)][_0x46afd9(0x2a3)](_0x58dc97),this['_send']({'type':0x0,'memberID':this[_0x46afd9(0x3a7)],'unitIDs':[_0x58dc97],'isForwarded':!0x1});}[_0xa2269c(0x346)](_0x298d86){const _0x169bf4=_0xa2269c;this['_selfUnitIDs'][_0x169bf4(0x219)](_0x298d86),this[_0x169bf4(0x2a9)]['size']===0x0&&this[_0x169bf4(0x3f4)]&&window[_0x169bf4(0x1a1)](this[_0x169bf4(0x3f4)]);}[_0xa2269c(0x29a)](){const _0x13f0f2=_0xa2269c;this[_0x13f0f2(0x165)](_0x63378d[_0x13f0f2(0x200)](_0xdb7e78[_0x13f0f2(0x303)](window,_0x13f0f2(0x333))['subscribe'](_0x2a988d=>{const _0x59bc13=_0x13f0f2;if(_0x2a988d[_0x59bc13(0x348)]!==_0x626da||!_0x2a988d[_0x59bc13(0x2d9)])return;const _0x55f234=JSON['parse'](_0x2a988d[_0x59bc13(0x2d9)]);this[_0x59bc13(0x21c)](_0x55f234);}))),window['addEventListener'](_0x13f0f2(0x34f),()=>this[_0x13f0f2(0x3d2)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x13f0f2(0x140)](this['_selfUnitIDs'])}));}[_0xa2269c(0x21c)](_0x216336){const _0x44add3=_0xa2269c;switch(_0x216336['type']){case 0x0:this[_0x44add3(0x16a)](_0x216336);break;case 0x1:this['_handleLeaveEvent'](_0x216336);break;case 0x2:this[_0x44add3(0x138)](_0x216336);break;}}[_0xa2269c(0x16a)](_0x217338){const _0x153eec=_0xa2269c,{unitIDs:_0x6f0611,memberID:_0x5100da,isForwarded:_0x1d34aa}=_0x217338;_0x6f0611[_0x153eec(0x399)](_0x197c29=>{const _0x376ec3=_0x153eec;if(!_0x1d34aa&&this[_0x376ec3(0x301)][_0x376ec3(0x305)](_0x197c29)&&this[_0x376ec3(0x2fe)](_0x197c29)[_0x376ec3(0x386)](_0x49b930[_0x376ec3(0x375)][_0x376ec3(0x3a5)]),!this[_0x376ec3(0x301)]['has'](_0x197c29)||!this[_0x376ec3(0x301)]['get'](_0x197c29)[_0x376ec3(0x305)](_0x5100da)){const _0x1d01d9=this['_unitOnClients'][_0x376ec3(0x1ed)](_0x197c29)||new Set();_0x1d01d9[_0x376ec3(0x2a3)](_0x5100da),this[_0x376ec3(0x301)][_0x376ec3(0x233)](_0x197c29,_0x1d01d9),this['_scheduleClearOtherTimer'](_0x5100da);}}),_0x1d34aa||this[_0x153eec(0x3d2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xa2269c(0x1cd)](_0x5cdd94){const _0x5647a2=_0xa2269c;this[_0x5647a2(0x2fb)](_0x5cdd94);const _0x1bf723=window[_0x5647a2(0x409)](()=>{const _0x40e7ca=_0x5647a2;this[_0x40e7ca(0x301)][_0x40e7ca(0x399)](_0x584b63=>{_0x584b63['delete'](_0x5cdd94);});},_0x975c74*0x2);this[_0x5647a2(0x411)][_0x5647a2(0x233)](_0x5cdd94,_0x1bf723);}[_0xa2269c(0x2fb)](_0x416eb5){const _0x6898be=_0xa2269c;if(this[_0x6898be(0x411)][_0x6898be(0x305)](_0x416eb5)){const _0x4572b7=this['_clearOtherTimers']['get'](_0x416eb5);_0x4572b7&&window[_0x6898be(0x297)](_0x4572b7),this['_clearOtherTimers']['set'](_0x416eb5,null);}}['_handleLeaveEvent'](_0x1e67a5){const _0x33e0df=_0xa2269c,{memberID:_0x44adc6,unitIDs:_0x1d6591}=_0x1e67a5;_0x1d6591[_0x33e0df(0x399)](_0x5797e1=>{const _0xda1786=_0x33e0df;var _0x4ecaef;const _0x1221f0=this[_0xda1786(0x301)][_0xda1786(0x1ed)](_0x5797e1);_0x1221f0&&(_0x1221f0[_0xda1786(0x219)](_0x44adc6),(_0x4ecaef=this[_0xda1786(0x2fe)](_0x5797e1))==null||_0x4ecaef[_0xda1786(0x386)](_0x1221f0[_0xda1786(0x368)]===0x0?_0x49b930[_0xda1786(0x375)]['NO_OTHER_CLIENTS_EDITING']:_0x49b930[_0xda1786(0x375)][_0xda1786(0x3a5)]));}),this['_removeClearOtherTimer'](_0x44adc6);}[_0xa2269c(0x138)](_0x46ca6e){const _0x518e3e=_0xa2269c;this[_0x518e3e(0x1cd)](_0x46ca6e['memberID']);}[_0xa2269c(0x3d2)](_0x17e955){const _0x1426c4=_0xa2269c;localStorage['setItem'](_0x626da,JSON[_0x1426c4(0x133)](_0x17e955));}['_scheduleHeartbeat'](){const _0x4b2d4f=_0xa2269c;this[_0x4b2d4f(0x3f4)]=window[_0x4b2d4f(0x344)](()=>{const _0x4158c9=_0x4b2d4f;this[_0x4158c9(0x3d2)]({'type':0x2,'memberID':this[_0x4158c9(0x3a7)]});},_0x975c74);}[_0xa2269c(0x2fe)](_0x5fc6fe){const _0x2e1cc8=_0xa2269c;return this[_0x2e1cc8(0x413)][_0x2e1cc8(0x305)](_0x5fc6fe)||this[_0x2e1cc8(0x413)][_0x2e1cc8(0x233)](_0x5fc6fe,new _0xdb7e78[(_0x2e1cc8(0x189))](_0x49b930[_0x2e1cc8(0x375)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2e1cc8(0x413)][_0x2e1cc8(0x1ed)](_0x5fc6fe);}}_0x44307e[_0xa2269c(0x384)]=_0xdbf68a,_0x44307e[_0xa2269c(0x1d1)]=_0x205978,_0x44307e['WebBrowserSingleActiveUnitService']=_0x441d1d,_0x44307e[_0xa2269c(0x164)]=_0x21f8d9,Object['defineProperty'](_0x44307e,Symbol[_0xa2269c(0x3de)],{'value':_0xa2269c(0x34d)});}));function _0x773f(){const _0x3abc02=['_memberService','SetTextSelectionsOperation','size','INVALID_INVITE_CODE','application/json','transformMutationsWithChangeset','DATA_SOURCE_TOO_LARGE','SUBMIT_CHANGESET_TIMEOUT','PAYMENT_CHANNEL_NOT_SUPPORT','0\x200\x2016\x2016','DocSelectionManagerService','_isBlinkVisible','transformIMECache','range','CollaborationUIEventService','UnitStatus','759328lCeajv','SetDocZoomRatioOperation','assign','START_CALCULATION','collaboration.closeRoom','ENTITLE_COUPON_USED_UP','_labelPosition','_scheduleSaving','DocSkeletonManagerService','NodePositionConvertToRectRange','dirtyRanges','formula.calculation.unable','USER_NOT_FOUND','REDEMPTION_INVALID_CODE','IURLService','ENTITLE_NEED_BILLING_ADDRESS','next','_session','shift','_colorAssignService','_sheetSkeletonManagerService','getFormulaLimitStatusUrl','5798130XdNqZj','_checkCalculationAvailable','_setupBeforeClosingHandler','_cursor','switchMap','_lastPointer','CollaborationEvent','takeUntil','transform','registerRefRange','none','toString','COMPLETION_FINISHED','forEach','transformRemoteChangeset','_refreshCollabCursors','rxjs','defIds','_removeCollabCursors','DeleteRangeMoveUpCommandId','\x20at\x20','session.collaboration-timeout','collaboration-client-ui.config','UNDEFINED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','OTHER_CLIENTS_EDITING','unitID','_id','USER_NOT_INVITED_CODE','_initUnhandledRejectionListener','clsx','isFormulaString','collaboration.single-unit.warning','path','clipPath','length','enableLocalCache','ENSURE_SNAPSHOT_EXECUTION','_collaborationSessionService','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/core','_getAnchorBounding','Rect','getViewport','@univerjs/ui','842628YZNVdz','attrs','wsSessionTicketUrl','_getFormulaLimitStatus','subscribe','translate(.97)','_getSheetObject','_httpService','getColor','getUniverSheetInstance','_initStatusComponent','doc.mutation.rich-text-editing','collabStatus.fetchMiss','_transformHistoryAndStateStack','setConfig','setItem','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_PERMISSION_DENIED','_disabled','transformStateCache','_revisionService','entries','UniverRpc','OFFLINE','DeleteRangeMoveLeftCommandId','_send','_offsetY','jsx','history','deepClone','runOnServer','_beforeCloseService','editingUnit','_shapes','fillStyle','url(#off-line-icon_clip0_910_343)','?taskId=','toStringTag','_anchorDot','_toggleOnline','TRANSFORM_CHANGE_OBSERVABLE_TYPE','univerjs-icon\x20univerjs-icon-','@univerjs-pro/collaboration','handleInsertRow','startsWith','then','requireSession','_drawAnchor','svg','handleDeleteRangeMoveUp','event$','isFormulaId','ENTITLE_REPORT_LIMIT_EXCEED','8826039vSPFoi','[LogService\x20Error]:\x20','IRenderManagerService','formula.calculation.started','replace','YUUMI_NO_CUBOID_FOR_QUESTION','_heartbeatTimer','currentTheme$','dispose$','tag','_docTransformStateCacheService','MOBILE_HAS_BEEN_BOUND','9585630sklfWU','color','arc','_range','CONFLICT','getAncestorScale','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','cursorInfo','ENTITLE_INVALID_COUPON_CODE','DisposableCollection','Plugin','restore','black','UniverProCollaborationClientUi','_transformPreviousActiveRange','setTimeout','useObservable','@univerjs/sheets-ui','_hideTimer','on-line-icon','_initCommandInterceptor','closePath','function','_clearOtherTimers','getActiveSheet','_unitStatus','mergeOverrideWithDependencies','InsertRangeMoveRightCommandId','collab-rect-range-','isTransformMutationFailure','DOC_RANGE_TYPE','/universer-api/license/formula/limit/start','startColumn','getSheetId','fill','entityInit$','_uiPartsService','getItem','_registerDependencies','_status$','rgb','M0\x200H16V16H0z','USER_IS_ANONYMOUS','whenReady','textRanges','_releaseCalculationLimit','LocaleService','addClipboardHook','CollaborationSessionService','max','all','Shape','executionId','CONNECTOR_DATA_TOO_LARGE','ENTITLE_DUP_SUBSCRIPTION','YUUMI_RATE_OVER_LIMIT','filter','_monkeyPatchLogService','stringify','debounce','_onCursorUpdate','YUUMI_ALL_TABLES_IS_INVALID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleHeartbeatEvent','_urlService','result','getTypeOfUnitAdded$','SYNCED','ERROR_AGAIN','fromEventSubject','find','from','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collabStatus.notCollab','UNIVER_DOC','Loading','ILocalStorageService','LICENSE_IMPORT_SIZE_EXCEEDED','_render','getSheetBySheetId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isArray','_hasFormulaInDirtyRanges','/universer-api/frontend/logs','_showGuardMessage','rxjs/operators','RemoteUniscriptService','FromArray','@univerjs/docs','_initResize','ACTIVE_UNIT_EVENT_CHANNEL','IConfigService','collabStatus.offline','addEventListener','transformByState','INTERNAL_ERROR','defineProperty','_setFormulaLimitStatus','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','IRemoteInstanceService','/universer-api/license/formula/limit/status','_name','_checkAndWaitForCalculationPermission','Workbook','_toggleOffline','DataLoaderService','selection','WebURLService','disposeWithMe','_instanceService','TEXT_RANGE_LAYER_INDEX','runId','loadOfflineData','_handleJoinEvent','YUUMI_UNABLE_LOAD_URL','highlightSecond','collabCursorState$','_currentUsage','reconnect','_stopBlinking','now','onCommandExecuted','onPointerLeave$','ThemeService','APPLY_REJECT','REDEMPTION_CODE_NOT_STARTED','COLORS','ISocketService','imageSourceType','APPLY_REVISION_CONFILICT','_drawTextRange','init','_docTransformIMECacheService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','serializeRangeWithSheet','save','registerBeforeClose','on-line-icon_clip0_910_349','UniverEngineRender','CURRENT_STATUS_CANNOT_OPERATE','current','pushState','asObservable','_applyCommand','BehaviorSubject','USERS_LEAVE','sheetId','AWAITING','SHEET_VIEWPORT_KEY','_memberID','hide','loadUnit','_renderManagerService','backgroundColor','ALREADY_EXISTS','font','_updateCollabCursors','_collabCursorState$','DEFAULT_WS_SESSION_TICKET_URL','React','limitInfo','Warning','createInstance','getCoordByCell','ITransformService','CollaborationDataLoaderController','collabStatus.conflict','handleIRemoveRow','clearInterval','http://www.w3.org/2000/svg','APPLY_NON_SEQUENTIAL_REVISION','uni.network.url-service','getRenderById','UniverProCollaboration','_backgroundColor','onPointerEnter$','getTypeOfUnitDisposed$','UNRECOGNIZED','moveTo','RxDisposable','APPLY_DUPLICATED','_getSaveTimeout','_document','_onRefRangeChange','Success','getFocusedUnit','isActive','INVALID_ARGUMENT','url(#$1','getUnitId','RECT','RevisionService','redoState','Unknown\x20user','unitId','LOGIN_TOKEN_PROCESSING_FAILED','fillRule','BuiltInUIPart','getCurrentRevOfUnit','/universer-api/license/formula/limit/done','setUndoRedoMutationParamsCache','_logService','LOGIN_FAILED','override','_collabCursorController','_initEntityListener','collabStatus.synced','getVpScrollXYInfoByPosToVp','TOO_MANY_REQUESTS','REDEMPTION_USER_REDEEM_TIMES_EXCEED','jsxs','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_scheduleClearOtherTimer','Inject','engine','UNAUTHENTICATED','SheetCollabCursorShape','DocIMEInputManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','formula.calculation.waiting','IMessageService','Tools','sessionTicket','permission.content','body','replaceState','debounceTime','_taskIds','white','getOffsetConfig','_updateLocalCursor','sessionStatus$','saveImage','MemberService','map','endColumn','createSocket','_cursorInfo$','_getScale','currentUsage','_localStorageService','stack','_color','SetSelectionsOperation','get','height','_univerInstanceService','send','Subject','_localeService','type','getSkeleton','WECHAT_HAS_BEEN_BOUND','_saveTaskMap','getUndoRedoMutationParamsCache','name','lineno','measureText','reason','@univerjs/docs-ui','NOT_FOUND','Rectangle','getRangePointData','toDisposable','addObject','hovered','memberID','onStarting','...','getDocRanges','message','width','origin','getStateCache','top','getMergeData','_startCalculationLimit','UniverCore','SetWorksheetActivateCommand','CHANGESET_REVISION_CONFILICT','searchParams','dispose','parseInt','Vector2','ColorKit','stageInfo','handleInsertRangeMoveRight','children','delete','bottom','split','_handleEvent','unsubscribe','labelPosition','assignAColorForMemberID','useCallback','getRelativeToViewportCoord','[Window\x20Error]:\x20','source','getCellPositionByOffset','MOBILE_VERIFY_CODE_MISMATCH','LICENSE_DISTRO_REJECTED','getActiveRange','_updateURLWithCurrentState','IUIPartsService','isEditing','_blinkTimer','executeCommand','_syncEditingCollabCursorService','defs','cursorInfo$','_eventUnsubscribe','setStateCache','merge','set','_commandService','location','SOCKET_FAILED','_startBlinking','beginPath','isTransformMutationsWithChangesetSuccess','unhandledrejection','_doCreateSocket','activeSheet$','search','roomMembers','INVITE_CODE_REQUIRED','IUniverInstanceService','_maxFormulaLimit','Failed','RegularPolygon','_online','_pollingInterval','HTTPService','onLocalMutation','ticket','column','UNIVER_SHEET','EffectRefRangId','row','transformSelections','code','SheetSkeletonManagerService','min','_collaborationUIEventService','react/jsx-runtime','_transformService','SetFormulaCalculationNotificationMutation','removeParam','getUnit','div','_refRangeService','_assignedColors','@univerjs/engine-render','combineLatest','REDEMPTION_CODE_FULLY_REDEEMED','AUTHORIZE_CODE_ILLEGAL','_themeService','/run/','_lastResponseTimestamp','InsertRangeMoveDownCommandId','idSuffix','permission.title','setParam','getConfig','_imageIoService','_cursors','collab-text-anchor-','Error','getMember','UPDATE_CURSOR','VIEW_MAIN','roomMembers$','onMouseMove','_cachedData','connectInjector','univer-mr-2\x20univer-flex\x20univer-text-xl','removeEventListener','getValue','saveOfflineData','subUnitId','YUUMI_CONNECTOR_URL_NOT_FOUND','show','ICommandService','MUTATION','xlink:href','PY_RUNTIME_SCRIPT_ERROR','ISnapshotServerService','CollaborationStatus','runRefRangeMutations','InsertColCommandId','startFormulaLimitUrl','urlChange$','displayName','UniverDesign','post','complete','getUnitStatus$','pipe','_colorIndex','_handleHover','values','socket$','REDEMPTION_USER_NOT_ELIGIBLE','handleMoveRange','YUUMI_SUBSCRIPTION_NOT_FOUND','_onCursorDelete','collaboration.offline-data-not-saved','UniverCollaborationClientUIPlugin','toRgbString','_scene','random','_messageService','colno','clearTimeout','mutations','pluginName','_init','addHandlerCallback','mask','_startDocCollabCursor','UniverDrawing','univer-flex\x20univer-items-center','object','slice','session.connection-failed','add','updateOfflineData','LICENSE_MAX_UNITS_EXCEEDED','getCollabCursors$','blue.400','syncEditingCollabCursor','_selfUnitIDs','_blinkIntervalTimer','getColorFromTheme','some','UniverSheets','UniverSheetsUi','_highlightSecond','session.will-retry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','5271406JOWMUX','_notificationService','contains','ENTITLE_COUPON_EXPIRED','resize','_textBubble','distinctUntilChanged','_cursorShapes','_collaborationController','mapTo','use','CanceledError','setShapeProps','useDependency','11098lNnzXS','makeDirty','CollaborationUIEventId','InsertRowCommandId','IImageIoService','IDocClipboardService','startRow','PERMISSION_DENIED','transformMutation','_injector','push','NodePositionConvertToCursor','NOT_COLLAB','CommandType','getCurrentSelections','flatMap','MessageType','string','_getSessionTicket','currentSkeleton$','createElement','_updateSubUnitFromURLParams','round','SNAPSHOT_HAS_BEEN_REMOVED','lineTo','newValue','_clearPolling','EMAIL_VERIFY_CODE_MISMATCH','_entities','_docSkeletonManagerService','_roomMembers$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','purple.300','BrowserCollaborationSocketService','UniverUi','react','_initCommandExecutedListener','@univerjs/drawing','getMemberID','Injector','saveTaskMap','exhaustSavingTask','debug','Disposable','getCurrent','unshift','getOwnPropertyDescriptor','_uploadLog','_getMergeRange','endRow','undoState','ILogService','FETCH_MISS','rgba','red.300','symbol','YUUMI_ASYNCIO_CANCELLED','_localCacheService','m1Prime','_removeClearOtherTimer','IBeforeCloseService','@univerjs/sheets','_ensureSubject','evenodd','_anchor','_unitOnClients','INVITE_CODE_ALREADY_BOUND','fromEvent','_initUserListener','has','jiqing.500','href','replaceDocRanges','RefRangeService','offsetY','registerRenderModule','handleDeleteRangeMoveLeft','CollaborationController','off-line-icon_clip0_910_343','getCollabEntity$','m2Prime','generateRandomId','getParam','UniverDocsUi','258LLwlgz','_initDependencies','useRef',',\x200.2)','RemoveColCommandId','onRendered','ILocalCacheService','setAlpha','_setupSubUnitSync','yellow.400','AWAITING_WITH_PENDING','findNodePositionByCharIndex','_saveCache','text','highlight','colorChannel1','OffLineIcon','OnLineIcon','UniverProCollaborationClient','skeleton','_config','@univerjs/rpc','ENTITLE_CHAT_LIMIT_EXCEED','ONLINE','REDEMPTION_CODE_INACTIVE','ranges','8GapNvZ','_getLighterColor','_docClipboardService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','UniverInstanceType','storage','subscribeEvent','_startSheetCollabCursor','drawWith','createIdentifier','with','subunit','triggerDblclick','1em','_docSkeleton','error','disableLocalCache','bind','_collabSessionService','ENTITLE_INSUFFICIENT_QUOTA','[Unhandled\x20Rejection]:\x20','_registerRenderDependencies','setInterval','DesktopCollaborationStatusDisplayController','disposeUnit','data','key','rgba(255,\x20255,\x20255,\x200.01)','0\x200\x2017\x2016','addObjects','ENTITLE_USE_COUPON_NOT_1ST_TRADE','Module','_draw','unload','handleInsertRangeMoveDown','stage','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_showText','CLOSE_ROOM','green.600','_initEvent','touchDependencies','_createSocketURL','_configService','_dataLoaderService','unit','0.2)','Optional','_hovered','_entityInit$','_hover','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentColor','_context','params','enableFrontendLog'];_0x773f=function(){return _0x3abc02;};return _0x773f();}
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
function
|
|
11
|
+
function _0x3b59(){var _0x4a375d=['amd','1233594eGvrpz','654MTRvMt','function','108843Jdgbia','UniverCoreFacade','extend','291120yudgsD','RemoteUniscriptService','4613610kjcTNF','42911HAiGNI','_injector','@univerjs-pro/collaboration-client-ui','UniverProCollaborationClientUi','runOnServer','FUniver','9605408HoKmBR','get','object','15742863FvwOLt','4jzpvvi','62VCcFTQ'];_0x3b59=function(){return _0x4a375d;};return _0x3b59();}function _0x34c5(_0x40f0c3,_0x154c4f){_0x40f0c3=_0x40f0c3-0xcd;var _0x3b59ea=_0x3b59();var _0x34c52c=_0x3b59ea[_0x40f0c3];return _0x34c52c;}(function(_0x515d3d,_0x1a0ebf){var _0x18785b=_0x34c5,_0x263eaa=_0x515d3d();while(!![]){try{var _0x4d729c=-parseInt(_0x18785b(0xce))/0x1*(parseInt(_0x18785b(0xd9))/0x2)+-parseInt(_0x18785b(0xdb))/0x3+-parseInt(_0x18785b(0xd8))/0x4*(parseInt(_0x18785b(0xe1))/0x5)+-parseInt(_0x18785b(0xdc))/0x6*(-parseInt(_0x18785b(0xde))/0x7)+-parseInt(_0x18785b(0xd4))/0x8+parseInt(_0x18785b(0xd7))/0x9+parseInt(_0x18785b(0xcd))/0xa;if(_0x4d729c===_0x1a0ebf)break;else _0x263eaa['push'](_0x263eaa['shift']());}catch(_0x176d20){_0x263eaa['push'](_0x263eaa['shift']());}}}(_0x3b59,0xdcf6e),function(_0x35c1ee,_0x51e4b2){var _0x1d5cdc=_0x34c5;typeof exports==_0x1d5cdc(0xd6)&&typeof module<'u'?_0x51e4b2(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x1d5cdc(0xdd)&&define[_0x1d5cdc(0xda)]?define([_0x1d5cdc(0xd0),'@univerjs/core/facade'],_0x51e4b2):(_0x35c1ee=typeof globalThis<'u'?globalThis:_0x35c1ee||self,_0x51e4b2(_0x35c1ee[_0x1d5cdc(0xd1)],_0x35c1ee[_0x1d5cdc(0xdf)]));}(this,function(_0x3c7846,_0x3c6f4b){'use strict';var _0x2a90fb=_0x34c5;class _0xfde1ec extends _0x3c6f4b[_0x2a90fb(0xd3)]{['runOnServer'](_0xc496b4,_0x33c065,..._0x54c4e6){var _0x408bea=_0x2a90fb;return this[_0x408bea(0xcf)][_0x408bea(0xd5)](_0x3c7846[_0x408bea(0xe2)])[_0x408bea(0xd2)](_0xc496b4,_0x33c065,{},..._0x54c4e6);}}_0x3c6f4b[_0x2a90fb(0xd3)][_0x2a90fb(0xe0)](_0xfde1ec);}));
|
|
12
12
|
|
|
13
13
|
// index
|
|
14
14
|
(function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|