@univerjs/preset-docs-collaboration 0.10.14-nightly.202511070939 → 0.11.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/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.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(_0x3a4f6d,_0xf31e3b){var _0x4c75d6=_0x30d9,_0x1cd2f6=_0x3a4f6d();while(!![]){try{var _0x6874f4=-parseInt(_0x4c75d6(0x3fa))/0x1+parseInt(_0x4c75d6(0x2fb))/0x2*(parseInt(_0x4c75d6(0x539))/0x3)+parseInt(_0x4c75d6(0x528))/0x4+parseInt(_0x4c75d6(0x1ef))/0x5*(-parseInt(_0x4c75d6(0x2a0))/0x6)+parseInt(_0x4c75d6(0x359))/0x7+-parseInt(_0x4c75d6(0x35e))/0x8+parseInt(_0x4c75d6(0x240))/0x9;if(_0x6874f4===_0xf31e3b)break;else _0x1cd2f6['push'](_0x1cd2f6['shift']());}catch(_0x1ba874){_0x1cd2f6['push'](_0x1cd2f6['shift']());}}}(_0x253a,0x5304c),function(_0x194e48,_0x21822d){var _0x21caa6=_0x30d9;typeof exports==_0x21caa6(0x4ae)&&typeof module<'u'?_0x21822d(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x21caa6(0x4cc)&&define[_0x21caa6(0x4a3)]?define([_0x21caa6(0x1e4),_0x21caa6(0x2ea),'@univerjs/core',_0x21caa6(0x533),'@univerjs/sheets',_0x21caa6(0x3aa),_0x21caa6(0x26f),'rxjs/operators',_0x21caa6(0x2b0),_0x21caa6(0x54e),'@univerjs-pro/license'],_0x21822d):(_0x194e48=typeof globalThis<'u'?globalThis:_0x194e48||self,_0x21822d(_0x194e48[_0x21caa6(0x33f)]={},_0x194e48[_0x21caa6(0x230)],_0x194e48['UniverCore'],_0x194e48['UniverDocs'],_0x194e48[_0x21caa6(0x4ee)],_0x194e48[_0x21caa6(0x3aa)],_0x194e48[_0x21caa6(0x442)],_0x194e48['rxjs'][_0x21caa6(0x35c)],_0x194e48[_0x21caa6(0x35b)],_0x194e48[_0x21caa6(0x231)],_0x194e48[_0x21caa6(0x3ce)]));}(this,function(_0x2fb276,_0x2bd9a5,_0x576dd1,_0x379b70,_0x349891,_0x4ef27b,_0x39316b,_0xa0146,_0x347478,_0xea636,_0x2ee180){'use strict';var _0x48e1d4=_0x30d9;var _0x53a5af=Object[_0x48e1d4(0x3d0)],_0x4c49cf=(_0x5d799d,_0x1f1c29,_0x5a5cdc)=>_0x1f1c29 in _0x5d799d?_0x53a5af(_0x5d799d,_0x1f1c29,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a5cdc}):_0x5d799d[_0x1f1c29]=_0x5a5cdc,_0x3b8823=(_0x72c2d1,_0x1a3eb8,_0x220dc0)=>_0x4c49cf(_0x72c2d1,typeof _0x1a3eb8!='symbol'?_0x1a3eb8+'':_0x1a3eb8,_0x220dc0);const _0x345767=_0x48e1d4(0x39e),_0x378b21='SNAPSHOT_URL_KEY',_0x5b0200=_0x48e1d4(0x4ea),_0x3d1f39=_0x48e1d4(0x1fa),_0x29b893=_0x48e1d4(0x4fb),_0x29e88d='HEARTBEAT_TIMEOUT',_0x54fa9f=_0x48e1d4(0x37b),_0x416064=_0x48e1d4(0x467),_0x147b41=_0x48e1d4(0x1e6),_0x2a55f6=_0x48e1d4(0x282),_0x44eb18='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x145290=_0x48e1d4(0x237);var _0x5d974e=(_0x494c45=>(_0x494c45[_0x494c45[_0x48e1d4(0x3a1)]=0x0]=_0x48e1d4(0x3a1),_0x494c45[_0x494c45['OK']=0x1]='OK',_0x494c45[_0x494c45['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x494c45[_0x494c45['PERMISSION_DENIED']=0x3]=_0x48e1d4(0x494),_0x494c45[_0x494c45[_0x48e1d4(0x350)]=0x4]=_0x48e1d4(0x350),_0x494c45[_0x494c45['UNAUTHENTICATED']=0x5]=_0x48e1d4(0x336),_0x494c45[_0x494c45['ALREADY_EXISTS']=0x6]=_0x48e1d4(0x2c1),_0x494c45[_0x494c45['INVALID_ARGUMENT']=0x7]=_0x48e1d4(0x3ff),_0x494c45[_0x494c45[_0x48e1d4(0x371)]=0x8]=_0x48e1d4(0x371),_0x494c45[_0x494c45[_0x48e1d4(0x40b)]=0x9]=_0x48e1d4(0x40b),_0x494c45[_0x494c45[_0x48e1d4(0x3d5)]=0xa]='LOGIN_FAILED',_0x494c45[_0x494c45['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x494c45[_0x494c45[_0x48e1d4(0x4c5)]=0xc]=_0x48e1d4(0x4c5),_0x494c45[_0x494c45[_0x48e1d4(0x30e)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x494c45[_0x494c45['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x494c45[_0x494c45[_0x48e1d4(0x544)]=0xf]=_0x48e1d4(0x544),_0x494c45[_0x494c45[_0x48e1d4(0x3df)]=0x10]=_0x48e1d4(0x3df),_0x494c45[_0x494c45[_0x48e1d4(0x45b)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x494c45[_0x494c45['ERROR_AGAIN']=0x65]=_0x48e1d4(0x243),_0x494c45[_0x494c45['USER_NOT_FOUND']=0xc9]=_0x48e1d4(0x214),_0x494c45[_0x494c45['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x494c45[_0x494c45[_0x48e1d4(0x395)]=0x1389]=_0x48e1d4(0x395),_0x494c45[_0x494c45[_0x48e1d4(0x43c)]=0x1771]=_0x48e1d4(0x43c),_0x494c45[_0x494c45['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x48e1d4(0x1ed),_0x494c45[_0x494c45[_0x48e1d4(0x55b)]=0x1773]=_0x48e1d4(0x55b),_0x494c45[_0x494c45[_0x48e1d4(0x32b)]=0x1b59]=_0x48e1d4(0x32b),_0x494c45[_0x494c45[_0x48e1d4(0x21a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x494c45[_0x494c45['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x48e1d4(0x2b2),_0x494c45[_0x494c45['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x48e1d4(0x344),_0x494c45[_0x494c45[_0x48e1d4(0x422)]=0x1b5d]=_0x48e1d4(0x422),_0x494c45[_0x494c45[_0x48e1d4(0x2c4)]=0x1f41]=_0x48e1d4(0x2c4),_0x494c45[_0x494c45[_0x48e1d4(0x4dd)]=0x2329]=_0x48e1d4(0x4dd),_0x494c45[_0x494c45[_0x48e1d4(0x254)]=0x232a]=_0x48e1d4(0x254),_0x494c45[_0x494c45[_0x48e1d4(0x2fc)]=0x232b]=_0x48e1d4(0x2fc),_0x494c45[_0x494c45[_0x48e1d4(0x2d6)]=0x232c]=_0x48e1d4(0x2d6),_0x494c45[_0x494c45[_0x48e1d4(0x234)]=0x232d]=_0x48e1d4(0x234),_0x494c45[_0x494c45[_0x48e1d4(0x397)]=0x2711]=_0x48e1d4(0x397),_0x494c45[_0x494c45[_0x48e1d4(0x51d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x494c45[_0x494c45[_0x48e1d4(0x387)]=0x2713]=_0x48e1d4(0x387),_0x494c45[_0x494c45['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x494c45[_0x494c45['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x494c45[_0x494c45[_0x48e1d4(0x3a7)]=0x271b]=_0x48e1d4(0x3a7),_0x494c45[_0x494c45[_0x48e1d4(0x218)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x494c45[_0x494c45[_0x48e1d4(0x1d9)]=0x271d]=_0x48e1d4(0x1d9),_0x494c45[_0x494c45[_0x48e1d4(0x4ab)]=0x271e]=_0x48e1d4(0x4ab),_0x494c45[_0x494c45[_0x48e1d4(0x3c1)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x494c45[_0x494c45['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x48e1d4(0x396),_0x494c45[_0x494c45['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x494c45[_0x494c45[_0x48e1d4(0x4dc)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x494c45[_0x494c45[_0x48e1d4(0x56d)]=0x2ee2]='INVALID_INVITE_CODE',_0x494c45[_0x494c45[_0x48e1d4(0x2df)]=0x2ee3]=_0x48e1d4(0x2df),_0x494c45[_0x494c45['USER_NOT_INVITED_CODE']=0x2ee4]=_0x48e1d4(0x2fe),_0x494c45[_0x494c45[_0x48e1d4(0x20d)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x494c45[_0x494c45[_0x48e1d4(0x1e0)]=0x32c9]=_0x48e1d4(0x1e0),_0x494c45[_0x494c45[_0x48e1d4(0x48f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x494c45[_0x494c45[_0x48e1d4(0x492)]=0x32cb]=_0x48e1d4(0x492),_0x494c45[_0x494c45[_0x48e1d4(0x20c)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x494c45[_0x494c45['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x494c45[_0x494c45[_0x48e1d4(0x24e)]=0x36b3]=_0x48e1d4(0x24e),_0x494c45[_0x494c45['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x48e1d4(0x253),_0x494c45[_0x494c45[_0x48e1d4(0x463)]=0x3715]=_0x48e1d4(0x463),_0x494c45[_0x494c45[_0x48e1d4(0x2dd)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x494c45[_0x494c45['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x48e1d4(0x2b9),_0x494c45[_0x494c45[_0x48e1d4(0x3cf)]=0x37dd]=_0x48e1d4(0x3cf),_0x494c45[_0x494c45['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x494c45[_0x494c45['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x494c45[_0x494c45['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x494c45[_0x494c45[_0x48e1d4(0x300)]=0x3a9c]=_0x48e1d4(0x300),_0x494c45[_0x494c45['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x48e1d4(0x34f),_0x494c45[_0x494c45['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x48e1d4(0x260),_0x494c45[_0x494c45[_0x48e1d4(0x241)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x494c45[_0x494c45[_0x48e1d4(0x250)]=0x3e81]=_0x48e1d4(0x250),_0x494c45[_0x494c45[_0x48e1d4(0x1ff)]=-0x1]='UNRECOGNIZED',_0x494c45))(_0x5d974e||{}),_0x443515=(_0x3698cb=>(_0x3698cb[_0x3698cb[_0x48e1d4(0x352)]=0x0]=_0x48e1d4(0x352),_0x3698cb[_0x3698cb['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3698cb[_0x3698cb['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x3698cb[_0x3698cb[_0x48e1d4(0x2c7)]=0x3]=_0x48e1d4(0x2c7),_0x3698cb[_0x3698cb[_0x48e1d4(0x3b9)]=0x4]=_0x48e1d4(0x3b9),_0x3698cb[_0x3698cb[_0x48e1d4(0x1ff)]=-0x1]='UNRECOGNIZED',_0x3698cb))(_0x443515||{}),_0x41a300=(_0x3ca6dc=>(_0x3ca6dc[_0x3ca6dc[_0x48e1d4(0x370)]=0x0]=_0x48e1d4(0x370),_0x3ca6dc[_0x3ca6dc[_0x48e1d4(0x52d)]=0x1]=_0x48e1d4(0x52d),_0x3ca6dc[_0x3ca6dc[_0x48e1d4(0x51b)]=0x2]=_0x48e1d4(0x51b),_0x3ca6dc[_0x3ca6dc[_0x48e1d4(0x453)]=0x3]=_0x48e1d4(0x453),_0x3ca6dc[_0x3ca6dc[_0x48e1d4(0x2a8)]=0x4]=_0x48e1d4(0x2a8),_0x3ca6dc[_0x3ca6dc[_0x48e1d4(0x330)]=0x5]='HEARTBEAT',_0x3ca6dc[_0x3ca6dc['RECV']=0x6]=_0x48e1d4(0x3e3),_0x3ca6dc[_0x3ca6dc[_0x48e1d4(0x1ff)]=-0x1]='UNRECOGNIZED',_0x3ca6dc))(_0x41a300||{}),_0x1b8830=(_0x38bb7a=>(_0x38bb7a[_0x38bb7a[_0x48e1d4(0x3a3)]=0x0]=_0x48e1d4(0x3a3),_0x38bb7a[_0x38bb7a['OK']=0x1]='OK',_0x38bb7a[_0x38bb7a['FAIL']=0x2]=_0x48e1d4(0x24f),_0x38bb7a[_0x38bb7a['JOIN_ROOM_FULL']=0x3e9]=_0x48e1d4(0x54b),_0x38bb7a[_0x38bb7a[_0x48e1d4(0x402)]=0x3ea]=_0x48e1d4(0x402),_0x38bb7a[_0x38bb7a[_0x48e1d4(0x203)]=0x3eb]=_0x48e1d4(0x203),_0x38bb7a[_0x38bb7a['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x48e1d4(0x2f1),_0x38bb7a[_0x38bb7a[_0x48e1d4(0x1ff)]=-0x1]=_0x48e1d4(0x1ff),_0x38bb7a))(_0x1b8830||{}),_0x2e2644=(_0x5094a3=>(_0x5094a3[_0x5094a3[_0x48e1d4(0x4c3)]=0x0]=_0x48e1d4(0x4c3),_0x5094a3[_0x5094a3[_0x48e1d4(0x1eb)]=0x1]=_0x48e1d4(0x1eb),_0x5094a3[_0x5094a3[_0x48e1d4(0x532)]=0x2]=_0x48e1d4(0x532),_0x5094a3[_0x5094a3['UnitEmbedded']=0x3]=_0x48e1d4(0x3a2),_0x5094a3[_0x5094a3[_0x48e1d4(0x489)]=0x4]=_0x48e1d4(0x489),_0x5094a3[_0x5094a3[_0x48e1d4(0x454)]=0x5]='UserProfileImg',_0x5094a3[_0x5094a3[_0x48e1d4(0x27d)]=0x6]=_0x48e1d4(0x27d),_0x5094a3[_0x5094a3[_0x48e1d4(0x1ff)]=-0x1]=_0x48e1d4(0x1ff),_0x5094a3))(_0x2e2644||{});const _0x4c18a6=_0x48e1d4(0x557);function _0x5342b3(_0x482943){var _0x4d3923=_0x48e1d4;return JSON[_0x4d3923(0x4e5)](_0x482943)[_0x4d3923(0x372)];}var _0x1118e3=(_0x5647c6=>(_0x5647c6[_0x48e1d4(0x516)]=_0x48e1d4(0x516),_0x5647c6[_0x48e1d4(0x494)]=_0x48e1d4(0x494),_0x5647c6[_0x48e1d4(0x49e)]='CONFLICT',_0x5647c6[_0x48e1d4(0x255)]=_0x48e1d4(0x255),_0x5647c6[_0x48e1d4(0x3b7)]=_0x48e1d4(0x3b7),_0x5647c6[_0x48e1d4(0x420)]=_0x48e1d4(0x420),_0x5647c6[_0x48e1d4(0x515)]='SOCKET_FAILED',_0x5647c6[_0x48e1d4(0x338)]='SUBMIT_CHANGESET_TIMEOUT',_0x5647c6))(_0x1118e3||{});class _0x4b9f58{constructor(){var _0x5af76c=_0x48e1d4;_0x3b8823(this,_0x5af76c(0x381),new _0x4ef27b['Subject']()),_0x3b8823(this,_0x5af76c(0x505),this['_event$']['asObservable']());}['emitEvent'](_0x3ff242){var _0x1ce4ab=_0x48e1d4;this[_0x1ce4ab(0x381)][_0x1ce4ab(0x1f3)](_0x3ff242);}}class _0x31c71f{constructor(){var _0x2d5f24=_0x48e1d4;_0x3b8823(this,_0x2d5f24(0x2e0),new _0x4ef27b[(_0x2d5f24(0x2b3))]()),_0x3b8823(this,_0x2d5f24(0x4d8),this['_commentUpdate$'][_0x2d5f24(0x378)]());}[_0x48e1d4(0x2f6)](_0x49f7a2){var _0xeeaafd=_0x48e1d4;this[_0xeeaafd(0x2e0)][_0xeeaafd(0x1f3)](_0x49f7a2);}}var _0x64007=Object[_0x48e1d4(0x24c)],_0x38ab2c=(_0x528746,_0x21fda1,_0x786cc8,_0x575cc1)=>{var _0x4a33c3=_0x48e1d4;for(var _0x72fea9=_0x575cc1>0x1?void 0x0:_0x575cc1?_0x64007(_0x21fda1,_0x786cc8):_0x21fda1,_0x493da4=_0x528746[_0x4a33c3(0x372)]-0x1,_0x34f3f1;_0x493da4>=0x0;_0x493da4--)(_0x34f3f1=_0x528746[_0x493da4])&&(_0x72fea9=_0x34f3f1(_0x72fea9)||_0x72fea9);return _0x72fea9;},_0x85064b=(_0x269bee,_0x5d7a65)=>(_0x4a7161,_0x564060)=>_0x5d7a65(_0x4a7161,_0x564060,_0x269bee);_0x2fb276[_0x48e1d4(0x392)]=class extends _0x576dd1['Disposable']{constructor(_0x5c6868,_0x47a11b){var _0x43a121=_0x48e1d4;super(),_0x3b8823(this,_0x43a121(0x566),new Map()),_0x3b8823(this,_0x43a121(0x22b),new _0x4ef27b[(_0x43a121(0x2b3))]()),(this[_0x43a121(0x522)]=_0x5c6868,this['_userManagerService']=_0x47a11b,this[_0x43a121(0x303)](_0x4ef27b[_0x43a121(0x2ca)](this['_univerInstanceService'][_0x43a121(0x4c8)](_0x576dd1[_0x43a121(0x3a6)]['UNIVER_SHEET'])[_0x43a121(0x1ec)](_0xa0146[_0x43a121(0x3d4)](_0x334c93=>_0x334c93[_0x43a121(0x320)]())),this[_0x43a121(0x522)][_0x43a121(0x4c8)](_0x576dd1[_0x43a121(0x3a6)]['UNIVER_DOC'])[_0x43a121(0x1ec)](_0xa0146[_0x43a121(0x3d4)](_0x17ae83=>_0x17ae83[_0x43a121(0x320)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x576dd1[_0x43a121(0x3a6)][_0x43a121(0x2c7)])['pipe'](_0xa0146['map'](_0x3ce8c7=>_0x3ce8c7[_0x43a121(0x320)]())))[_0x43a121(0x296)](_0x35ec71=>this['_removeRoom'](_0x35ec71))));}[_0x48e1d4(0x2ff)](_0x5784c7){var _0x3eb719=_0x48e1d4;return this[_0x3eb719(0x566)]['has'](_0x5784c7)?_0x4ef27b['of'](this[_0x3eb719(0x566)]['get'](_0x5784c7)):this[_0x3eb719(0x22b)][_0x3eb719(0x1ec)](_0xa0146['map'](_0x3078ba=>{var _0x4f5fd3=_0x3eb719;if(_0x3078ba===_0x5784c7)return this[_0x4f5fd3(0x566)][_0x4f5fd3(0x24d)](_0x3078ba);}));}['setCurrentUser'](_0x3228d5){var _0x23a18f=_0x48e1d4;this['_userManagerService'][_0x23a18f(0x473)](_0x3228d5);}[_0x48e1d4(0x31c)](){var _0x5e0568=_0x48e1d4;return this[_0x5e0568(0x35a)][_0x5e0568(0x31c)]();}['updateMember'](_0x5d8d76,_0x4804c0){var _0x503fb4=_0x48e1d4;let _0x316c72=this[_0x503fb4(0x566)][_0x503fb4(0x24d)](_0x5d8d76);_0x316c72||(_0x316c72=new _0x1a10a4(),this[_0x503fb4(0x566)][_0x503fb4(0x3e9)](_0x5d8d76,_0x316c72),this[_0x503fb4(0x22b)][_0x503fb4(0x1f3)](_0x5d8d76)),_0x316c72['updateMember'](_0x4804c0);}['removeMember'](_0x53c3c7,_0x100740){var _0x3c319b=_0x48e1d4;const _0x270863=this['_roomMembers'][_0x3c319b(0x24d)](_0x53c3c7);_0x270863&&_0x270863[_0x3c319b(0x42b)](_0x100740);}[_0x48e1d4(0x4d3)](_0x5431a0){var _0x2c2b86=_0x48e1d4;return this[_0x2c2b86(0x566)][_0x2c2b86(0x24d)](_0x5431a0);}[_0x48e1d4(0x520)](_0x449272,_0x23f999){var _0x26517d=_0x48e1d4;const _0x266d7a=this[_0x26517d(0x566)][_0x26517d(0x24d)](_0x449272);if(_0x266d7a)return _0x266d7a['getMember'](_0x23f999);}[_0x48e1d4(0x307)](_0x5b6e23){var _0x25a509=_0x48e1d4;const _0x31fb84=this[_0x25a509(0x566)][_0x25a509(0x24d)](_0x5b6e23);_0x31fb84&&(_0x31fb84[_0x25a509(0x433)](),this['_roomMembers']['delete'](_0x5b6e23));}['dispose'](){var _0x28a8e2=_0x48e1d4;this[_0x28a8e2(0x566)]['forEach'](_0x2fa0c9=>_0x2fa0c9[_0x28a8e2(0x433)]()),this[_0x28a8e2(0x566)][_0x28a8e2(0x45c)](),this['_roomCreated$'][_0x28a8e2(0x2c3)]();}},_0x2fb276[_0x48e1d4(0x392)]=_0x38ab2c([_0x85064b(0x0,_0x576dd1[_0x48e1d4(0x438)]),_0x85064b(0x1,_0x576dd1['Inject'](_0x576dd1[_0x48e1d4(0x252)]))],_0x2fb276['MemberService']);class _0x1a10a4 extends _0x576dd1[_0x48e1d4(0x343)]{constructor(){var _0x4e36e3=_0x48e1d4;super(...arguments),_0x3b8823(this,_0x4e36e3(0x29a),new Map()),_0x3b8823(this,'_members$',new _0x4ef27b[(_0x4e36e3(0x559))](this[_0x4e36e3(0x29a)])),_0x3b8823(this,_0x4e36e3(0x478),this['_members$']['asObservable']());}[_0x48e1d4(0x433)](){var _0x480852=_0x48e1d4;this[_0x480852(0x29a)][_0x480852(0x45c)]();}[_0x48e1d4(0x50b)](_0x1f8660){var _0x1db144=_0x48e1d4;this[_0x1db144(0x29a)]['set'](_0x1f8660[_0x1db144(0x3d7)],_0x1f8660),this['_emitMembers']();}[_0x48e1d4(0x42b)](_0x342282){var _0x26a63a=_0x48e1d4;this[_0x26a63a(0x29a)]['delete'](_0x342282);}[_0x48e1d4(0x520)](_0x33b4ae){return this['_members']['get'](_0x33b4ae);}[_0x48e1d4(0x432)](){var _0x2c3e5c=_0x48e1d4;return Array['from'](this[_0x2c3e5c(0x29a)][_0x2c3e5c(0x384)]());}['_emitMembers'](){var _0x2c5e04=_0x48e1d4;this['_members$']['next'](this[_0x2c5e04(0x29a)]);}}var _0x3f27e7=Object[_0x48e1d4(0x24c)],_0x164eda=(_0x1c2a1f,_0x234cb4,_0x173df0,_0x27bc16)=>{var _0x1478f3=_0x48e1d4;for(var _0xce3ef8=_0x27bc16>0x1?void 0x0:_0x27bc16?_0x3f27e7(_0x234cb4,_0x173df0):_0x234cb4,_0x1c8b4e=_0x1c2a1f[_0x1478f3(0x372)]-0x1,_0x4684d7;_0x1c8b4e>=0x0;_0x1c8b4e--)(_0x4684d7=_0x1c2a1f[_0x1c8b4e])&&(_0xce3ef8=_0x4684d7(_0xce3ef8)||_0xce3ef8);return _0xce3ef8;},_0x42d296=(_0x5b0531,_0x524d4d)=>(_0x22d22b,_0x242f84)=>_0x524d4d(_0x22d22b,_0x242f84,_0x5b0531),_0x211c2e=(_0x12a725=>(_0x12a725[_0x12a725['IDLE']=0x0]=_0x48e1d4(0x22d),_0x12a725[_0x12a725[_0x48e1d4(0x47a)]=0x1]=_0x48e1d4(0x47a),_0x12a725[_0x12a725[_0x48e1d4(0x36d)]=0x2]=_0x48e1d4(0x36d),_0x12a725[_0x12a725[_0x48e1d4(0x245)]=0x3]=_0x48e1d4(0x245),_0x12a725))(_0x211c2e||{});const _0xea05fa={[_0x1b8830['FAIL']]:'session.join-failed',[_0x1b8830[_0x48e1d4(0x54b)]]:_0x48e1d4(0x469),[_0x1b8830['JOIN_ROOM_NOT_EXISTS']]:_0x48e1d4(0x389),[_0x1b8830[_0x48e1d4(0x203)]]:_0x48e1d4(0x262),[_0x1b8830[_0x48e1d4(0x2f1)]]:_0x48e1d4(0x46c)};_0x2fb276[_0x48e1d4(0x3ad)]=class extends _0x576dd1[_0x48e1d4(0x258)]{constructor(_0x47ebb3,_0x135953,_0x496c24,_0x22071d,_0x4bd9ea,_0x2a8eab,_0x22a220,_0xcbf49e){var _0x402f4d=_0x48e1d4;super(),_0x3b8823(this,_0x402f4d(0x51e),new _0x4ef27b[(_0x402f4d(0x559))](0x0)),_0x3b8823(this,_0x402f4d(0x480),this['_sessionStatus$']['asObservable']()),_0x3b8823(this,'_event$',new _0x4ef27b[(_0x402f4d(0x2b3))]()),_0x3b8823(this,'event$',this[_0x402f4d(0x381)][_0x402f4d(0x378)]()),_0x3b8823(this,_0x402f4d(0x3db)),_0x3b8823(this,_0x402f4d(0x3f6)),_0x3b8823(this,_0x402f4d(0x3fe)),_0x3b8823(this,'_shouldReportTelemetry',!0x1),_0x3b8823(this,_0x402f4d(0x416),null),(this['_unitID']=_0x47ebb3,this['_logService']=_0x496c24,this[_0x402f4d(0x33b)]=_0x22071d,this[_0x402f4d(0x44a)]=_0x4bd9ea,this[_0x402f4d(0x511)]=_0x2a8eab,this[_0x402f4d(0x355)]=_0x22a220,this[_0x402f4d(0x376)]=_0xcbf49e,this[_0x402f4d(0x3f4)]=!!this[_0x402f4d(0x376)],_0x135953[_0x402f4d(0x1ec)](_0x4ef27b[_0x402f4d(0x23e)](this['dispose$']))[_0x402f4d(0x296)](_0x5a8a7f=>{var _0x44f155=_0x402f4d,_0x1e2402;typeof _0x5a8a7f>'u'||(this['_socket']=_0x5a8a7f,_0x5a8a7f?(this[_0x44f155(0x2a5)](_0x5a8a7f),this[_0x44f155(0x3f6)]=_0x5a8a7f['message$']['subscribe'](_0x4e263c=>{var _0x5a6916=_0x44f155;_0x4e263c[_0x5a6916(0x369)]===this[_0x5a6916(0x210)]&&this['_onCombEvent'](_0x4e263c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x44f155(0x51e)][_0x44f155(0x1f3)](0x2),(_0x1e2402=this[_0x44f155(0x3f6)])==null||_0x1e2402[_0x44f155(0x3da)](),this[_0x44f155(0x3f6)]=null));}));}get[_0x48e1d4(0x456)](){var _0x3c95e8=_0x48e1d4;return this[_0x3c95e8(0x51e)][_0x3c95e8(0x561)]();}['getMemberID'](){var _0xad28b5=_0x48e1d4,_0x337b31,_0x1427d4;return(_0x1427d4=(_0x337b31=this[_0xad28b5(0x3db)])==null?void 0x0:_0x337b31[_0xad28b5(0x3d7)])!=null?_0x1427d4:null;}['dispose'](){var _0x10078c=_0x48e1d4;super[_0x10078c(0x433)](),this[_0x10078c(0x410)][_0x10078c(0x1f3)](),this['dispose$'][_0x10078c(0x2c3)]();}[_0x48e1d4(0x284)](){var _0x5a0583=_0x48e1d4,_0x410180,_0x54474a;this[_0x5a0583(0x527)](),(_0x410180=this[_0x5a0583(0x3db)])==null||_0x410180[_0x5a0583(0x329)]({'cmd':_0x41a300[_0x5a0583(0x453)],'data':{'roomID':this[_0x5a0583(0x210)]}}),(_0x54474a=this['_socket'])==null||_0x54474a[_0x5a0583(0x284)](),this[_0x5a0583(0x381)][_0x5a0583(0x2c3)](),this['_sessionStatus$'][_0x5a0583(0x2c3)](),this[_0x5a0583(0x433)]();}[_0x48e1d4(0x25c)](_0x23bcfd){var _0x3e66b=_0x48e1d4;_0x23bcfd[_0x3e66b(0x465)]===_0x41a300['JOIN']?this[_0x3e66b(0x4bd)](_0x23bcfd):_0x23bcfd['cmd']===_0x41a300[_0x3e66b(0x3e3)]&&this['_onRecvEvent'](_0x23bcfd);}[_0x48e1d4(0x2a5)](_0x1c77f9){var _0xaa614e=_0x48e1d4;this[_0xaa614e(0x51e)]['next'](0x1),_0x1c77f9['send']({'cmd':_0x41a300[_0xaa614e(0x51b)],'routeKey':this[_0xaa614e(0x210)],'routeType':'','data':{'rooms':[{'roomID':this[_0xaa614e(0x210)]}]}});}['_onJoinRoomEvent'](_0x5a3aaa){var _0x89827c=_0x48e1d4,_0x54a053;if(_0x5a3aaa[_0x89827c(0x353)]in _0xea05fa){this[_0x89827c(0x355)][_0x89827c(0x40a)]({'id':_0x1118e3[_0x89827c(0x3b7)],'data':_0xea05fa[_0x5a3aaa[_0x89827c(0x353)]]}),this[_0x89827c(0x51e)][_0x89827c(0x1f3)](0x2);return;}this[_0x89827c(0x51e)][_0x89827c(0x1f3)](0x3);const _0x5eda1b=(_0x54a053=_0x5a3aaa[_0x89827c(0x564)][_0x89827c(0x4da)][this['_unitID']])==null?void 0x0:_0x54a053[_0x89827c(0x2d2)];_0x5eda1b&&_0x5eda1b[_0x89827c(0x317)](_0x4f7e1a=>this[_0x89827c(0x44a)][_0x89827c(0x50b)](this[_0x89827c(0x210)],_0x4f7e1a));}[_0x48e1d4(0x213)](_0x3deef0){var _0x960fe0=_0x48e1d4;try{const _0x3df92a=_0x3deef0[_0x960fe0(0x564)];switch(_0x3df92a[_0x960fe0(0x4e3)]){case _0x2bd9a5['CollaborationEvent']['USERS_ENTER']:this[_0x960fe0(0x4e9)](_0x3df92a),this[_0x960fe0(0x381)]['next'](_0x3df92a);break;case _0x2bd9a5[_0x960fe0(0x43f)][_0x960fe0(0x283)]:this[_0x960fe0(0x546)](_0x3df92a),this['_event$'][_0x960fe0(0x1f3)](_0x3df92a);break;case _0x2bd9a5[_0x960fe0(0x43f)][_0x960fe0(0x4ca)]:case _0x2bd9a5['CollaborationEvent'][_0x960fe0(0x32a)]:this[_0x960fe0(0x55c)](),this['_clearCollaborationTimeoutTimer'](),this[_0x960fe0(0x381)][_0x960fe0(0x1f3)](_0x3df92a);break;case _0x2bd9a5[_0x960fe0(0x43f)][_0x960fe0(0x4c6)]:this[_0x960fe0(0x1fd)]['error']('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x3df92a)),this['_event$']['next'](_0x3df92a);break;case _0x2bd9a5['CollaborationEvent'][_0x960fe0(0x4db)]:this[_0x960fe0(0x511)][_0x960fe0(0x2f6)](_0x3df92a[_0x960fe0(0x564)]),this[_0x960fe0(0x381)][_0x960fe0(0x1f3)](_0x3df92a);break;default:this[_0x960fe0(0x381)][_0x960fe0(0x1f3)](_0x3df92a);}}catch(_0x7bba2){this[_0x960fe0(0x1fd)]['error'](_0x7bba2,_0x3deef0);}}[_0x48e1d4(0x4e9)](_0x413e09){var _0x43afad=_0x48e1d4;this[_0x43afad(0x44a)][_0x43afad(0x50b)](this[_0x43afad(0x210)],_0x413e09[_0x43afad(0x564)]);}[_0x48e1d4(0x546)](_0x1b6c57){var _0x7538cb=_0x48e1d4;this['_memberService'][_0x7538cb(0x42b)](this[_0x7538cb(0x210)],_0x1b6c57[_0x7538cb(0x564)]['memberID']);}async[_0x48e1d4(0x329)](_0x40a6ec,_0x541624){var _0x381dfe=_0x48e1d4;if(this[_0x381dfe(0x456)]!==0x3||!this[_0x381dfe(0x3db)])throw new Error(_0x381dfe(0x30f));try{_0x40a6ec[_0x381dfe(0x4e3)]===_0x2bd9a5[_0x381dfe(0x43f)][_0x381dfe(0x488)]&&(this[_0x381dfe(0x503)](),this[_0x381dfe(0x4b1)](_0x40a6ec)),this['_socket'][_0x381dfe(0x329)]({'cmd':_0x41a300[_0x381dfe(0x2a8)],'routeKey':_0x541624,'routeType':'','data':_0x40a6ec});}catch(_0x402f07){this[_0x381dfe(0x1fd)][_0x381dfe(0x3f8)](_0x402f07);}}[_0x48e1d4(0x503)](){var _0x1b130a=_0x48e1d4,_0xf2b2e5;this[_0x1b130a(0x3fe)]=setTimeout(()=>{this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x1118e3['SUBMIT_CHANGESET_TIMEOUT']});},(_0xf2b2e5=this['_configService']['getConfig'](_0x29e88d))!=null?_0xf2b2e5:0x4e20);}[_0x48e1d4(0x499)](){var _0x3fac7f=_0x48e1d4;this[_0x3fac7f(0x3fe)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x48e1d4(0x4b1)](_0x4ff9be){var _0x5e43c4=_0x48e1d4;if(!this[_0x5e43c4(0x3f4)])return;const {data:_0x2177e5}=_0x4ff9be,{unitID:_0x51eea1,changeset:_0x17fef3}=_0x2177e5,{mutations:_0x2c640a,type:_0x164776}=_0x17fef3;this['_telemetryInfo']={'unitId':_0x51eea1,'type':_0x164776,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x5342b3(_0x2c640a)};}[_0x48e1d4(0x55c)](){var _0x5134b9=_0x48e1d4;if(this[_0x5134b9(0x3f4)]){if(!this['_telemetryInfo']){this[_0x5134b9(0x1fd)][_0x5134b9(0x3f8)](_0x5134b9(0x500),_0x5134b9(0x400));return;}this['_telemetryInfo'][_0x5134b9(0x407)]=performance[_0x5134b9(0x563)](),this[_0x5134b9(0x416)][_0x5134b9(0x47e)]=this[_0x5134b9(0x416)][_0x5134b9(0x407)]-this[_0x5134b9(0x416)]['startTime'],this['_telemetryService'][_0x5134b9(0x3e1)](_0x4c18a6,this[_0x5134b9(0x416)]),this[_0x5134b9(0x416)]=null;}}[_0x48e1d4(0x527)](){this['_telemetryInfo']=null;}},_0x2fb276[_0x48e1d4(0x3ad)]=_0x164eda([_0x42d296(0x2,_0x576dd1[_0x48e1d4(0x30d)]),_0x42d296(0x3,_0x576dd1[_0x48e1d4(0x385)]),_0x42d296(0x4,_0x576dd1[_0x48e1d4(0x429)](_0x2fb276[_0x48e1d4(0x392)])),_0x42d296(0x5,_0x576dd1[_0x48e1d4(0x429)](_0x31c71f)),_0x42d296(0x6,_0x576dd1['Inject'](_0x4b9f58)),_0x42d296(0x7,_0x576dd1[_0x48e1d4(0x44b)](_0x39316b['ITelemetryService']))],_0x2fb276['CollaborationSession']);const _0x49d2a7=_0x576dd1[_0x48e1d4(0x377)](_0x48e1d4(0x264));function _0xdb617c(_0x3073e2){var _0x1eca81=_0x48e1d4;return _0x1eca81(0x403)+_0x3073e2;}var _0x365805=Object[_0x48e1d4(0x24c)],_0x13158d=(_0x11e1c7,_0x525165,_0x2fdc0a,_0x582d99)=>{var _0x1c5931=_0x48e1d4;for(var _0x78a1bb=_0x582d99>0x1?void 0x0:_0x582d99?_0x365805(_0x525165,_0x2fdc0a):_0x525165,_0x2f9fa4=_0x11e1c7[_0x1c5931(0x372)]-0x1,_0x12e3b5;_0x2f9fa4>=0x0;_0x2f9fa4--)(_0x12e3b5=_0x11e1c7[_0x2f9fa4])&&(_0x78a1bb=_0x12e3b5(_0x78a1bb)||_0x78a1bb);return _0x78a1bb;},_0x2e0489=(_0x548a1f,_0x945138)=>(_0x3524d9,_0xae63e6)=>_0x945138(_0x3524d9,_0xae63e6,_0x548a1f);function _0x360c82(_0x2d6aa1){var _0x3a1156=_0x48e1d4;const {unitID:_0x388330,mutations:_0x2de1c5}=_0x2d6aa1;return{'unitId':_0x388330,'subUnitId':_0x2de1c5[_0x3a1156(0x372)]>0x0?_0x2de1c5[0x0][_0x3a1156(0x269)][_0x3a1156(0x39d)]:null};}_0x2fb276[_0x48e1d4(0x2b8)]=class{constructor(_0x40e235,_0x297ad6,_0x5a94c4){var _0xee5784=_0x48e1d4;this['_injector']=_0x40e235,this[_0xee5784(0x2ef)]=_0x297ad6,this[_0xee5784(0x257)]=_0x5a94c4;}[_0x48e1d4(0x3ca)](_0x5384a0){var _0xcde2c4=_0x48e1d4,_0x20c0c9,_0x11ea93,_0x265f99,_0x2347e6;const _0x268c39=this[_0xcde2c4(0x312)][_0xcde2c4(0x24d)](_0x349891[_0xcde2c4(0x4f4)]),{unitId:_0x33848d,subUnitId:_0x37c251}=_0x360c82(_0x5384a0),_0x1d1966=_0x268c39==null?void 0x0:_0x268c39['getWorkbookSelections'](_0x33848d)[_0xcde2c4(0x228)](),_0x1671a2=(_0x11ea93=(_0x20c0c9=this[_0xcde2c4(0x257)][_0xcde2c4(0x3fb)](_0x33848d))==null?void 0x0:_0x20c0c9['getActiveSheet']())==null?void 0x0:_0x11ea93[_0xcde2c4(0x337)]();if(_0x1d1966[_0xcde2c4(0x372)]===0x0||!_0x33848d||!_0x37c251)return;const _0x37f393=[{'id':_0x349891[_0xcde2c4(0x29c)]['id'],'params':{'unitId':_0x33848d,'subUnitId':_0x1671a2,'selections':_0x576dd1[_0xcde2c4(0x2b5)][_0xcde2c4(0x2b7)](_0x1d1966)}}],_0x18242e=this['_transformService'][_0xcde2c4(0x226)](_0x5384a0,_0x37f393);if(!_0x2bd9a5[_0xcde2c4(0x2cb)](_0x18242e))throw _0x18242e[_0xcde2c4(0x3f8)];const _0x4f06a9=(_0x2347e6=(_0x265f99=_0x18242e['m2Prime'][0x0])==null?void 0x0:_0x265f99[_0xcde2c4(0x269)])==null?void 0x0:_0x2347e6['selections'];if(Array['isArray'](_0x4f06a9)&&_0x4f06a9[_0xcde2c4(0x372)]){if(_0x4f06a9[_0xcde2c4(0x372)]===_0x37f393[0x0][_0xcde2c4(0x269)][_0xcde2c4(0x2fd)]['length']&&_0x4f06a9[_0xcde2c4(0x259)]((_0x5bb227,_0x1cbe53)=>_0x576dd1[_0xcde2c4(0x364)]['equals'](_0x5bb227[_0xcde2c4(0x37d)],_0x37f393[0x0][_0xcde2c4(0x269)]['selections'][_0x1cbe53]['range'])))return;this['_injector']['get'](_0x576dd1[_0xcde2c4(0x2e5)])[_0xcde2c4(0x25a)](_0x349891[_0xcde2c4(0x29c)]['id'],{'unitId':_0x33848d,'subUnitId':_0x1671a2,'selections':_0x4f06a9});}}},_0x2fb276['SheetTransformSelectionsService']=_0x13158d([_0x2e0489(0x0,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2d7)])),_0x2e0489(0x1,_0x2bd9a5['ITransformService']),_0x2e0489(0x2,_0x576dd1[_0x48e1d4(0x438)])],_0x2fb276[_0x48e1d4(0x2b8)]);const _0x24e789=_0x576dd1[_0x48e1d4(0x377)](_0x48e1d4(0x48c));var _0x2f352c=(_0x47db43=>(_0x47db43[_0x47db43[_0x48e1d4(0x45d)]=0x0]=_0x48e1d4(0x45d),_0x47db43[_0x47db43['OTHER_CLIENTS_EDITING']=0x1]=_0x48e1d4(0x4c4),_0x47db43))(_0x2f352c||{});const _0x212720=_0x48e1d4(0x550),_0x3d5940={},_0x46ddbd=new Set([_0x349891[_0x48e1d4(0x2a1)]['id']]);function _0x119540(_0x4ac5e4,_0x20d330,_0x51fa45,_0x362824,_0x5faade){var _0x3a2aed=_0x48e1d4,_0x58e3aa,_0x785682,_0xf8791b,_0x4674b3;const _0x767cac=[];for(const _0x513e42 of _0x4ac5e4)if(_0x46ddbd[_0x3a2aed(0x29b)](_0x513e42['id'])){if(_0x767cac['length']>0x0)break;_0x767cac[_0x3a2aed(0x29f)](_0x513e42);break;}else _0x767cac['push'](_0x513e42);const _0x311dc0=(_0x785682=(_0x58e3aa=_0x5faade[_0x3a2aed(0x31c)]())==null?void 0x0:_0x58e3aa[_0x3a2aed(0x2e6)])!=null?_0x785682:_0x3a2aed(0x48e),_0xa981=(_0x4674b3=(_0xf8791b=_0x5faade[_0x3a2aed(0x31c)]())==null?void 0x0:_0xf8791b[_0x3a2aed(0x3d7)])!=null?_0x4674b3:_0x3a2aed(0x48e);return{'changeset':{'unitID':_0x20d330,'type':_0x2bd9a5[_0x3a2aed(0x229)](_0x51fa45[_0x3a2aed(0x331)](_0x20d330)),'baseRev':_0x362824['getCurrentRevOfUnit'](_0x20d330),'revision':0x0,'userID':_0x311dc0,'memberID':_0xa981,'mutations':_0x767cac},'pendingMutations':_0x4ac5e4['slice'](_0x767cac[_0x3a2aed(0x372)])};}function _0x47a051(_0x12942f,_0x478fff,_0x4d153c,_0x1facb3,_0x5ed2bd){var _0x330de5=_0x48e1d4,_0x2b82f5,_0x4fb4cd,_0x56a9cf,_0x41d633;const _0x16a499=[_0x12942f[_0x330de5(0x211)]((_0x515aab,_0x11bdbf)=>{var _0x47facf=_0x330de5,_0x5cb9c8;const {id:_0x33c2d0}=_0x515aab,{id:_0x2a98aa,type:_0x415dca}=_0x11bdbf,_0x4d8c86=(_0x5cb9c8=_0x515aab[_0x47facf(0x269)])!=null?_0x5cb9c8:{'actions':null},_0x12a11d=_0x11bdbf[_0x47facf(0x269)];if(_0x33c2d0&&_0x33c2d0!==_0x2a98aa)throw new Error(_0x47facf(0x2d4)+_0x33c2d0+_0x47facf(0x46a)+_0x2a98aa+'.');return{..._0x515aab,'id':_0x2a98aa,'type':_0x415dca,'params':{'unitId':_0x12a11d[_0x47facf(0x4bf)],'textRanges':_0x12a11d[_0x47facf(0x3dd)],'actions':_0x576dd1[_0x47facf(0x4e7)][_0x47facf(0x483)](_0x4d8c86[_0x47facf(0x529)],_0x12a11d[_0x47facf(0x529)])}};},{})],_0x5ee330=(_0x4fb4cd=(_0x2b82f5=_0x5ed2bd[_0x330de5(0x31c)]())==null?void 0x0:_0x2b82f5[_0x330de5(0x2e6)])!=null?_0x4fb4cd:'unknown',_0x53d637=(_0x41d633=(_0x56a9cf=_0x5ed2bd[_0x330de5(0x31c)]())==null?void 0x0:_0x56a9cf[_0x330de5(0x3d7)])!=null?_0x41d633:_0x330de5(0x48e);return{'changeset':{'unitID':_0x478fff,'type':_0x2bd9a5[_0x330de5(0x229)](_0x4d153c['getUnitType'](_0x478fff)),'baseRev':_0x1facb3['getCurrentRevOfUnit'](_0x478fff),'revision':0x0,'userID':_0x5ee330,'memberID':_0x53d637,'mutations':_0x16a499},'pendingMutations':[]};}function _0x1deeb5(_0x1f71b1,_0x2da795){var _0x5413b6=_0x48e1d4;const _0x5886c0=new _0x4ef27b[(_0x5413b6(0x310))](0x1);return setTimeout(()=>_0x5886c0[_0x5413b6(0x1f3)](_0x2da795),_0x1f71b1),_0x5886c0[_0x5413b6(0x378)]()[_0x5413b6(0x1ec)](_0x4ef27b[_0x5413b6(0x1db)](0x1));}const _0x3217e2={'id':_0x349891[_0x48e1d4(0x42a)]['id'],'type':_0x576dd1['CommandType']['MUTATION'],'params':{}};var _0x3ace4a=Object['getOwnPropertyDescriptor'],_0x5cf5cd=(_0x56d729,_0x5d7f11,_0x455721,_0x5e0ee2)=>{for(var _0x31eeaf=_0x5e0ee2>0x1?void 0x0:_0x5e0ee2?_0x3ace4a(_0x5d7f11,_0x455721):_0x5d7f11,_0xdde718=_0x56d729['length']-0x1,_0x1d13a7;_0xdde718>=0x0;_0xdde718--)(_0x1d13a7=_0x56d729[_0xdde718])&&(_0x31eeaf=_0x1d13a7(_0x31eeaf)||_0x31eeaf);return _0x31eeaf;},_0x3468a1=(_0x512bc2,_0xd72e14)=>(_0x32fe1b,_0x18f161)=>_0xd72e14(_0x32fe1b,_0x18f161,_0x512bc2),_0x189381=(_0x17ceff=>(_0x17ceff[_0x48e1d4(0x4aa)]=_0x48e1d4(0x27c),_0x17ceff[_0x48e1d4(0x4d2)]='synced',_0x17ceff[_0x48e1d4(0x2cc)]=_0x48e1d4(0x53d),_0x17ceff[_0x48e1d4(0x41e)]='awaiting',_0x17ceff[_0x48e1d4(0x3c4)]=_0x48e1d4(0x4f3),_0x17ceff['FETCH_MISS']='fetch_missing',_0x17ceff[_0x48e1d4(0x49e)]='conflict',_0x17ceff[_0x48e1d4(0x36d)]=_0x48e1d4(0x507),_0x17ceff))(_0x189381||{});const _0x1d9561=0xea60;class _0x449d5e{constructor(_0x556656,_0x51e243,_0xa81ca8,_0x46fd1c,_0x27dc8f,_0x16d036,_0x41cfd6,_0x4f6d6f,_0x215f03){var _0x228426=_0x48e1d4;_0x3b8823(this,_0x228426(0x45a),null),_0x3b8823(this,_0x228426(0x25d),[]),(this['unitID']=_0x556656,this[_0x228426(0x222)]=_0x51e243,this[_0x228426(0x1fe)]=_0x27dc8f,this['_commandService']=_0x16d036,this[_0x228426(0x246)]=_0x41cfd6,this[_0x228426(0x380)]=_0x4f6d6f,this['_localCacheService']=_0x215f03,this[_0x228426(0x45a)]=_0xa81ca8,this[_0x228426(0x25d)]=_0x46fd1c);}[_0x48e1d4(0x4b7)](_0x242195){var _0x561d6c=_0x48e1d4;const _0x4d3aa3=this[_0x561d6c(0x380)][_0x561d6c(0x4fd)](this[_0x561d6c(0x56b)]);return _0x242195[_0x561d6c(0x506)]>_0x4d3aa3+0x1?(this[_0x561d6c(0x1fe)][_0x561d6c(0x423)]({'from':_0x4d3aa3,'to':_0x242195[_0x561d6c(0x506)]-0x1}),!0x0):!0x1;}[_0x48e1d4(0x504)](_0x42be3c){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x42be3c);}[_0x48e1d4(0x379)](_0x5a62d6){var _0x14fe8f=_0x48e1d4,_0x5d6394,_0x1b2c39;(_0x1b2c39=(_0x5d6394=this[_0x14fe8f(0x1fe)])[_0x14fe8f(0x4fc)])==null||_0x1b2c39[_0x14fe8f(0x3d9)](_0x5d6394,_0x5a62d6);}[_0x48e1d4(0x458)](_0x19c037){var _0x16172e=_0x48e1d4,_0x472b55,_0xab606;return(_0xab606=(_0x472b55=this[_0x16172e(0x1fe)])['onTransformIME'])==null?void 0x0:_0xab606[_0x16172e(0x3d9)](_0x472b55,_0x19c037);}[_0x48e1d4(0x4f6)](_0x35c99f){var _0xf03a56=_0x48e1d4,_0x185e3a,_0x2b85e3;return(_0x2b85e3=(_0x185e3a=this[_0xf03a56(0x1fe)])[_0xf03a56(0x3ed)])==null?void 0x0:_0x2b85e3[_0xf03a56(0x3d9)](_0x185e3a,_0x35c99f);}[_0x48e1d4(0x2ab)](_0x30cba3){var _0x27d845=_0x48e1d4,_0x38b33e,_0x59488e,_0x14f43e;return(_0x14f43e=(_0x59488e=(_0x38b33e=this[_0x27d845(0x1fe)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x59488e[_0x27d845(0x3d9)](_0x38b33e,_0x30cba3))!=null?_0x14f43e:_0x30cba3;}[_0x48e1d4(0x43d)](_0x34e54d){var _0x344a57=_0x48e1d4,_0x282dc9,_0x5bc26b,_0x440211;return(_0x440211=(_0x5bc26b=(_0x282dc9=this['_handler'])[_0x344a57(0x386)])==null?void 0x0:_0x5bc26b[_0x344a57(0x3d9)](_0x282dc9,_0x34e54d))!=null?_0x440211:_0x34e54d;}[_0x48e1d4(0x440)](_0x2963ae){var _0x44583d=_0x48e1d4,_0xbd0a75,_0x1a1ec8;if(this[_0x44583d(0x222)]===_0x443515['UNIVER_DOC']){const {unitID:_0x4e66fc,mutations:_0x3ee29c,memberID:_0x5ab21b}=_0x2963ae,_0x1d3baf=_0x3ee29c[_0x44583d(0x372)]>0x0?_0x3ee29c[0x0][_0x44583d(0x269)][_0x44583d(0x3dd)]:[];Array[_0x44583d(0x375)](_0x1d3baf)&&_0x1d3baf['length']>0x0&&((_0x1a1ec8=(_0xbd0a75=this['_handler'])[_0x44583d(0x21c)])==null||_0x1a1ec8['call'](_0xbd0a75,{'unitID':_0x4e66fc,'memberID':_0x5ab21b,'textRanges':_0x1d3baf}));}}[_0x48e1d4(0x266)](){var _0x4582eb=_0x48e1d4,_0x42a5fc;(_0x42a5fc=this[_0x4582eb(0x41f)])==null||_0x42a5fc[_0x4582eb(0x2c2)](this[_0x4582eb(0x56b)],this[_0x4582eb(0x222)],this[_0x4582eb(0x45a)],this[_0x4582eb(0x25d)]);}[_0x48e1d4(0x388)](){var _0x5a27f1=_0x48e1d4;return this['_revisionService'][_0x5a27f1(0x4fd)](this[_0x5a27f1(0x56b)]);}[_0x48e1d4(0x3c2)](){var _0x5bb1e1=_0x48e1d4;this[_0x5bb1e1(0x380)][_0x5bb1e1(0x4a2)](this[_0x5bb1e1(0x56b)]);}[_0x48e1d4(0x3c3)](_0x243731){var _0x1e4427=_0x48e1d4,_0x22bf30;let _0x950562=this['_transformRemoteChangesetByIMECache'](_0x243731);_0x950562=this[_0x1e4427(0x43d)](_0x950562);const _0x31b82d=_0x576dd1[_0x1e4427(0x39f)](_0x950562[_0x1e4427(0x30b)],this[_0x1e4427(0x4d1)],{'fromCollab':!0x0});if(!_0x31b82d[_0x1e4427(0x244)])throw _0x31b82d[_0x1e4427(0x3f8)]instanceof Error?_0x31b82d['error']:new Error((_0x22bf30=_0x31b82d[_0x1e4427(0x3f8)])!=null?_0x22bf30:_0x1e4427(0x437));this[_0x1e4427(0x458)](_0x950562),this[_0x1e4427(0x4f6)](_0x950562),this[_0x1e4427(0x504)](_0x243731),this[_0x1e4427(0x379)](_0x950562),this[_0x1e4427(0x440)](_0x950562),this[_0x1e4427(0x3c2)]();}}_0x2fb276[_0x48e1d4(0x40e)]=class extends _0x449d5e{constructor(_0x4aab81,_0xb49f30,_0xeebc90,_0x318121,_0x2d1436,_0x594225,_0x20e4b7,_0x32ff24,_0x3ebb9a,_0x1adab9){var _0x3012c=_0x48e1d4;super(_0x4aab81,_0xb49f30,null,[],_0xeebc90,_0x20e4b7,_0x594225,_0x318121,_0x1adab9),_0x3b8823(this,_0x3012c(0x1fb),'synced'),(this[_0x3012c(0x312)]=_0x2d1436,this[_0x3012c(0x1fd)]=_0x32ff24,this[_0x3012c(0x2ef)]=_0x3ebb9a,this[_0x3012c(0x457)]=_0x1adab9);}[_0x48e1d4(0x2e4)](_0xb826e8){var _0x57d523=_0x48e1d4;const _0x9a7ac4=this[_0x57d523(0x312)][_0x57d523(0x34e)](_0x2fb276[_0x57d523(0x3bd)],this[_0x57d523(0x56b)],this[_0x57d523(0x222)],[_0xb826e8],this[_0x57d523(0x1fe)]);return _0x9a7ac4[_0x57d523(0x2a4)](),_0x9a7ac4['_updateLocalCache'](),_0x9a7ac4;}['onRemoteChangeset'](_0xbaad71){var _0x4eaffa=_0x48e1d4;if(this[_0x4eaffa(0x4b7)](_0xbaad71))return this[_0x4eaffa(0x312)][_0x4eaffa(0x34e)](_0x2fb276[_0x4eaffa(0x27f)],this[_0x4eaffa(0x56b)],this[_0x4eaffa(0x222)],null,[],null,[_0xbaad71],this['_handler']);try{const _0x4e0f98=this[_0x4eaffa(0x2ef)]['transformMutationsWithChangeset'](_0xbaad71,[_0x3217e2]);if(_0x2bd9a5[_0x4eaffa(0x2cb)](_0x4e0f98)){const {c1Prime:_0x36dacb}=_0x4e0f98;return this[_0x4eaffa(0x3c3)](_0x36dacb),this;}throw _0x4e0f98[_0x4eaffa(0x3f8)];}catch(_0x2331c3){return this[_0x4eaffa(0x1fd)][_0x4eaffa(0x3f8)](_0x2331c3),this[_0x4eaffa(0x491)](!0x1);}}[_0x48e1d4(0x491)](_0x5acf6e){var _0x4b1424=_0x48e1d4;return this[_0x4b1424(0x312)][_0x4b1424(0x34e)](_0x2fb276[_0x4b1424(0x334)],this[_0x4b1424(0x56b)],this['type'],null,[],this[_0x4b1424(0x1fe)],_0x5acf6e);}['onRemoteAck'](){var _0x2681e5=_0x48e1d4;throw new Error(_0x2681e5(0x235));}[_0x48e1d4(0x41c)](){var _0x1f28e5=_0x48e1d4;throw new Error(_0x1f28e5(0x4bb));}[_0x48e1d4(0x54a)](){return this;}[_0x48e1d4(0x2f9)](){var _0x284ad7=_0x48e1d4;return this[_0x284ad7(0x312)][_0x284ad7(0x34e)](_0x2fb276[_0x284ad7(0x49c)],this[_0x284ad7(0x56b)],this['type'],null,[],this[_0x284ad7(0x1fe)]);}['toggleOnline'](){return this;}['resend'](){var _0x422bfc=_0x48e1d4;throw new Error(_0x422bfc(0x2dc));}[_0x48e1d4(0x3fc)](){var _0x3d94f1=_0x48e1d4;const _0x16f1a0=this['_revisionService'][_0x3d94f1(0x4fd)](this[_0x3d94f1(0x56b)]);return this['_handler'][_0x3d94f1(0x423)]({'from':_0x16f1a0,'to':0x0}),this[_0x3d94f1(0x312)][_0x3d94f1(0x34e)](_0x2fb276['FetchingMissState'],this[_0x3d94f1(0x56b)],this['type'],null,[],null,[],this[_0x3d94f1(0x1fe)]);}},_0x2fb276['SyncedState']=_0x5cf5cd([_0x3468a1(0x3,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5[_0x48e1d4(0x41b)])),_0x3468a1(0x4,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2d7)])),_0x3468a1(0x5,_0x576dd1[_0x48e1d4(0x202)]),_0x3468a1(0x6,_0x576dd1[_0x48e1d4(0x2e5)]),_0x3468a1(0x7,_0x576dd1[_0x48e1d4(0x30d)]),_0x3468a1(0x8,_0x2bd9a5[_0x48e1d4(0x4ac)]),_0x3468a1(0x9,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276['SyncedState']),_0x2fb276['PendingState']=class extends _0x449d5e{constructor(_0x3000e2,_0x397698,_0x2243fa,_0x58b252,_0x1eaf6b,_0x59c5f0,_0x1181d7,_0x17e468,_0x321ced,_0x412f62,_0x269c31,_0x5eedb6,_0x56d90c,_0x38fd85){var _0x16c371=_0x48e1d4;super(_0x3000e2,_0x397698,null,_0x2243fa,_0x58b252,_0x321ced,_0x56d90c,_0x59c5f0,_0x38fd85),_0x3b8823(this,_0x16c371(0x1fb),_0x16c371(0x53d)),_0x3b8823(this,_0x16c371(0x216),null),_0x3b8823(this,_0x16c371(0x339),null),(this[_0x16c371(0x312)]=_0x1eaf6b,this['_memberService']=_0x1181d7,this[_0x16c371(0x1fd)]=_0x17e468,this[_0x16c371(0x33b)]=_0x412f62,this['_transformService']=_0x269c31,this['_univerInstanceService']=_0x5eedb6);}[_0x48e1d4(0x2e4)](_0x343766){var _0x39cb38=_0x48e1d4;return this[_0x39cb38(0x25d)]['push'](_0x343766),this[_0x39cb38(0x266)](),this;}[_0x48e1d4(0x40f)](_0x3e3cb9){var _0x5cbcf9=_0x48e1d4;if(this[_0x5cbcf9(0x4b7)](_0x3e3cb9))return this[_0x5cbcf9(0x477)](),this[_0x5cbcf9(0x312)][_0x5cbcf9(0x34e)](_0x2fb276[_0x5cbcf9(0x27f)],this[_0x5cbcf9(0x56b)],this[_0x5cbcf9(0x222)],null,this[_0x5cbcf9(0x25d)],null,[_0x3e3cb9],this[_0x5cbcf9(0x1fe)]);try{const _0x26e532=this[_0x5cbcf9(0x2ef)][_0x5cbcf9(0x226)](_0x3e3cb9,this[_0x5cbcf9(0x25d)]);if(_0x2bd9a5['isTransformMutationsWithChangesetSuccess'](_0x26e532)){const {c1Prime:_0x296d42,m2Prime:_0x5b9515}=_0x26e532;this[_0x5cbcf9(0x3c3)](_0x296d42);const _0x15d241=this['_injector']['createInstance'](_0x2fb276[_0x5cbcf9(0x3bd)],this[_0x5cbcf9(0x56b)],this[_0x5cbcf9(0x222)],_0x5b9515,this['_handler']);this['_clearScheduledTask']();const _0x3ce5d0=new Date()['getTime'](),_0x3567f0=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x5cbcf9(0x216)]-_0x3ce5d0,0x0):this['_getSendChangesetTimeout']();return _0x15d241[_0x5cbcf9(0x2a4)](_0x3567f0),_0x15d241;}throw _0x26e532[_0x5cbcf9(0x3f8)];}catch(_0x437946){return this[_0x5cbcf9(0x1fd)][_0x5cbcf9(0x3f8)](_0x437946),this[_0x5cbcf9(0x491)](!0x1);}}[_0x48e1d4(0x1f5)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x3177cf=_0x48e1d4;throw new Error(_0x3177cf(0x4c2));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3f3ab6=_0x48e1d4;return this[_0x3f3ab6(0x477)](),this[_0x3f3ab6(0x312)]['createInstance'](_0x2fb276['OfflineState'],this[_0x3f3ab6(0x56b)],this['type'],null,this[_0x3f3ab6(0x25d)],this['_handler']);}[_0x48e1d4(0x552)](){return this;}[_0x48e1d4(0x2a4)](_0x38a497){var _0x4fe24a=_0x48e1d4;const _0x2fd729=_0x38a497!=null?_0x38a497:this[_0x4fe24a(0x2eb)]();this[_0x4fe24a(0x216)]=new Date()['getTime']()+_0x2fd729,this[_0x4fe24a(0x339)]=setTimeout(()=>{var _0x40a942=_0x4fe24a;this[_0x40a942(0x477)]();let _0x2fca38=null;switch(this[_0x40a942(0x222)]){case _0x443515[_0x40a942(0x3e5)]:{_0x2fca38=_0x119540(this[_0x40a942(0x25d)],this[_0x40a942(0x56b)],this[_0x40a942(0x522)],this[_0x40a942(0x380)],this[_0x40a942(0x44a)]);break;}case _0x443515[_0x40a942(0x4fa)]:{this['_pendingMutations'][_0x40a942(0x259)](_0x1fa3b5=>_0x1fa3b5['id']===_0x379b70[_0x40a942(0x280)]['id'])?_0x2fca38=_0x47a051(this[_0x40a942(0x25d)],this[_0x40a942(0x56b)],this[_0x40a942(0x522)],this[_0x40a942(0x380)],this[_0x40a942(0x44a)]):_0x2fca38=_0x119540(this[_0x40a942(0x25d)],this[_0x40a942(0x56b)],this[_0x40a942(0x522)],this[_0x40a942(0x380)],this[_0x40a942(0x44a)]);break;}default:throw new Error(_0x40a942(0x540)+this[_0x40a942(0x222)]+_0x40a942(0x267));}const {changeset:_0x19d722,pendingMutations:_0x1febe1}=_0x2fca38;this[_0x40a942(0x1fe)]['onSendChangeset'](_0x19d722);const _0x1a8ec5=_0x1febe1[_0x40a942(0x372)]?this[_0x40a942(0x312)][_0x40a942(0x34e)](_0x2fb276['AwaitingWithPendingState'],this['unitID'],this[_0x40a942(0x222)],_0x19d722,_0x1febe1,this['_handler'],void 0x0):this[_0x40a942(0x312)]['createInstance'](_0x2fb276[_0x40a942(0x3b3)],this[_0x40a942(0x56b)],this[_0x40a942(0x222)],_0x19d722,this['_handler']);_0x1a8ec5[_0x40a942(0x266)](),this[_0x40a942(0x1fe)]['onStateChange'](this,_0x1a8ec5);},_0x2fd729);}[_0x48e1d4(0x2eb)](){var _0x2ae73d=_0x48e1d4,_0x421d95;const _0x25e80e=this[_0x2ae73d(0x33b)]['getConfig'](_0x212720);return(_0x421d95=_0x25e80e==null?void 0x0:_0x25e80e[_0x2ae73d(0x4d5)])!=null?_0x421d95:0x7d0;}[_0x48e1d4(0x414)](){var _0x520c26=_0x48e1d4;throw new Error(_0x520c26(0x37a));}['_clearScheduledTask'](){var _0x10a1ce=_0x48e1d4;this[_0x10a1ce(0x339)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x48e1d4(0x491)](_0x269315){var _0xb4cfcb=_0x48e1d4;return this['_clearScheduledTask'](),this[_0xb4cfcb(0x312)]['createInstance'](_0x2fb276[_0xb4cfcb(0x334)],this['unitID'],this['type'],null,this[_0xb4cfcb(0x25d)],this[_0xb4cfcb(0x1fe)],_0x269315);}},_0x2fb276[_0x48e1d4(0x3bd)]=_0x5cf5cd([_0x3468a1(0x4,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2d7)])),_0x3468a1(0x5,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5['RevisionService'])),_0x3468a1(0x6,_0x576dd1[_0x48e1d4(0x429)](_0x2fb276[_0x48e1d4(0x392)])),_0x3468a1(0x7,_0x576dd1[_0x48e1d4(0x30d)]),_0x3468a1(0x8,_0x576dd1['ICommandService']),_0x3468a1(0x9,_0x576dd1['IConfigService']),_0x3468a1(0xa,_0x2bd9a5[_0x48e1d4(0x4ac)]),_0x3468a1(0xb,_0x576dd1['IUniverInstanceService']),_0x3468a1(0xc,_0x576dd1['IUndoRedoService']),_0x3468a1(0xd,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276['PendingState']),_0x2fb276['AwaitingState']=class extends _0x449d5e{constructor(_0x95d1bc,_0x52d289,_0x2a7805,_0x43117f,_0x28653c,_0x285d6c,_0x36d7cf,_0x5597a8,_0x107d17,_0x1c583b,_0x2b47c0){var _0x366725=_0x48e1d4;super(_0x95d1bc,_0x52d289,_0x2a7805,[],_0x43117f,_0x36d7cf,_0x1c583b,_0x285d6c,_0x2b47c0),_0x3b8823(this,_0x366725(0x1fb),_0x366725(0x475)),_0x3b8823(this,_0x366725(0x4d4),0x0),_0x3b8823(this,_0x366725(0x553)),_0x3b8823(this,_0x366725(0x2e2)),(this['_injector']=_0x28653c,this[_0x366725(0x1fd)]=_0x5597a8,this[_0x366725(0x2ef)]=_0x107d17);}['appendMutation'](_0x59cdfb){var _0x12c97e=_0x48e1d4;this[_0x12c97e(0x477)]();const _0xac7993=this[_0x12c97e(0x312)]['createInstance'](_0x2fb276[_0x12c97e(0x297)],this[_0x12c97e(0x56b)],this[_0x12c97e(0x222)],this[_0x12c97e(0x45a)],[_0x59cdfb],this[_0x12c97e(0x1fe)],this['_resendTimer']);return _0xac7993['_updateLocalCache'](),_0xac7993;}[_0x48e1d4(0x40f)](_0x5ed3fc){var _0x492819=_0x48e1d4;if(this[_0x492819(0x4b7)](_0x5ed3fc))return this[_0x492819(0x477)](),this['_injector'][_0x492819(0x34e)](_0x2fb276[_0x492819(0x27f)],this[_0x492819(0x56b)],this[_0x492819(0x222)],this[_0x492819(0x45a)],[],null,[_0x5ed3fc],this['_handler']);try{const _0xb1ad0=this[_0x492819(0x2ef)]['transformChangesets']([_0x5ed3fc],[this[_0x492819(0x45a)]],!0x1);if(_0x2bd9a5[_0x492819(0x39b)](_0xb1ad0)){const {c1Prime:_0x1e3ae2,c2Prime:_0x2a45fc}=_0xb1ad0;this[_0x492819(0x3c3)](_0x1e3ae2[0x0]),_0x2a45fc[0x0][_0x492819(0x54f)]=this['_getCurrentRevision'](),this[_0x492819(0x477)]();const _0x8a0442=this['_injector']['createInstance'](_0x2fb276['AwaitingState'],this['unitID'],this[_0x492819(0x222)],_0x2a45fc[0x0],this[_0x492819(0x1fe)]);return _0x8a0442['_updateLocalCache'](),_0x8a0442;}return this[_0x492819(0x491)](!0x1);}catch(_0x1096ba){return this[_0x492819(0x1fd)][_0x492819(0x3f8)](_0x1096ba),this['_onConflict'](!0x1);}}[_0x48e1d4(0x1f5)](_0x4b6f93){var _0xa43288=_0x48e1d4;this['_clearScheduledTask']();const _0x3c60fa=this['_revisionService'][_0xa43288(0x4fd)](this[_0xa43288(0x56b)]);if(_0x4b6f93['revision']<_0x3c60fa-0x1)return this;if(this[_0xa43288(0x4b7)](_0x4b6f93))return this['_injector'][_0xa43288(0x34e)](_0x2fb276[_0xa43288(0x27f)],this['unitID'],this[_0xa43288(0x222)],null,[],this[_0xa43288(0x45a)],[],this[_0xa43288(0x1fe)]);this['_incrementRevisionNumber']();const _0x2b0936=this['_injector'][_0xa43288(0x34e)](_0x2fb276[_0xa43288(0x40e)],this[_0xa43288(0x56b)],this[_0xa43288(0x222)],this['_handler']);return _0x2b0936[_0xa43288(0x266)](),_0x2b0936;}['onRemoteRej'](_0xee0812){var _0x182f0c=_0x48e1d4;return this[_0x182f0c(0x491)](!!(_0xee0812!=null&&_0xee0812[_0x182f0c(0x2a6)]));}['onRemoteRetry'](_0x1de341){var _0x5d89ae=_0x48e1d4;return this['_resendTimeout']>_0x1d9561?this[_0x5d89ae(0x2f9)]():(this[_0x5d89ae(0x553)]=_0x1deeb5(this[_0x5d89ae(0x4d4)],{'timeout':this[_0x5d89ae(0x4d4)],'reqId':_0x1de341[_0x5d89ae(0x41d)]}),this[_0x5d89ae(0x2e2)]=this[_0x5d89ae(0x553)][_0x5d89ae(0x296)](({reqId:_0x1351c8,timeout:_0x58114d})=>{var _0x5ce9c7=_0x5d89ae;this[_0x5ce9c7(0x448)](_0x1351c8,_0x58114d);}),this);}['toggleOffline'](){var _0x42b40e=_0x48e1d4;return this[_0x42b40e(0x477)](),this[_0x42b40e(0x312)]['createInstance'](_0x2fb276['OfflineState'],this[_0x42b40e(0x56b)],this['type'],this['_awaitingChangeset'],[],this[_0x42b40e(0x1fe)]);}[_0x48e1d4(0x552)](){return this;}[_0x48e1d4(0x414)](){var _0x44188b=_0x48e1d4;this[_0x44188b(0x1fe)][_0x44188b(0x365)](this[_0x44188b(0x45a)]);}[_0x48e1d4(0x491)](_0xa494b8){var _0x2b6918=_0x48e1d4;return this[_0x2b6918(0x477)](),this['_injector']['createInstance'](_0x2fb276[_0x2b6918(0x334)],this['unitID'],this['type'],this[_0x2b6918(0x45a)],[],this[_0x2b6918(0x1fe)],_0xa494b8);}[_0x48e1d4(0x448)](_0x2bd160,_0x74bb7f){var _0x5bb201=_0x48e1d4,_0x2e7dd2;_0x2bd160===((_0x2e7dd2=this[_0x5bb201(0x45a)])==null?void 0x0:_0x2e7dd2['reqId'])&&(this[_0x5bb201(0x414)](),this['_resendTimeout']=_0x74bb7f===0x0?0x3e8:_0x74bb7f*0x2);}[_0x48e1d4(0x477)](){var _0x5e18fa=_0x48e1d4,_0x197b71;(_0x197b71=this['_sender'])==null||_0x197b71[_0x5e18fa(0x3da)](),this[_0x5e18fa(0x4d4)]=0x0;}},_0x2fb276[_0x48e1d4(0x3b3)]=_0x5cf5cd([_0x3468a1(0x4,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2d7)])),_0x3468a1(0x5,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5[_0x48e1d4(0x41b)])),_0x3468a1(0x6,_0x576dd1[_0x48e1d4(0x2e5)]),_0x3468a1(0x7,_0x576dd1[_0x48e1d4(0x30d)]),_0x3468a1(0x8,_0x2bd9a5[_0x48e1d4(0x4ac)]),_0x3468a1(0x9,_0x576dd1[_0x48e1d4(0x202)]),_0x3468a1(0xa,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276[_0x48e1d4(0x3b3)]),_0x2fb276[_0x48e1d4(0x297)]=class extends _0x449d5e{constructor(_0x3549ac,_0x358e36,_0x3fd0cf,_0x340819,_0x59e4a8,_0x3522d3,_0x5e19da,_0x4fad46,_0x3c9cf8,_0x3fced7,_0x738b5,_0x3ba529,_0x1a0669){var _0x3bf9c8=_0x48e1d4;super(_0x3549ac,_0x358e36,_0x3fd0cf,_0x340819,_0x59e4a8,_0x3c9cf8,_0x3ba529,_0x4fad46,_0x1a0669),_0x3b8823(this,_0x3bf9c8(0x1fb),_0x3bf9c8(0x4f3)),_0x3b8823(this,'_resendTimeout',0x0),_0x3b8823(this,'_resendTimer'),_0x3b8823(this,'_sender'),(this['_injector']=_0x5e19da,this[_0x3bf9c8(0x1fd)]=_0x3fced7,this['_transformService']=_0x738b5,this['localCacheService']=_0x1a0669,_0x3522d3&&(this['_resendTimer']=_0x3522d3,this[_0x3bf9c8(0x2e2)]=this[_0x3bf9c8(0x553)][_0x3bf9c8(0x296)](({reqId:_0x4636d8,timeout:_0x28f6fe})=>{var _0x2eb5bb=_0x3bf9c8;this[_0x2eb5bb(0x448)](_0x4636d8,_0x28f6fe);})));}[_0x48e1d4(0x2e4)](_0x13c990){var _0x16eeb3=_0x48e1d4;return this[_0x16eeb3(0x25d)][_0x16eeb3(0x29f)](_0x13c990),this;}[_0x48e1d4(0x40f)](_0x560fb6){var _0x172ec3=_0x48e1d4;if(this[_0x172ec3(0x4b7)](_0x560fb6))return this[_0x172ec3(0x477)](),this[_0x172ec3(0x312)][_0x172ec3(0x34e)](_0x2fb276['FetchingMissState'],this[_0x172ec3(0x56b)],this[_0x172ec3(0x222)],this[_0x172ec3(0x45a)],this[_0x172ec3(0x25d)],null,[_0x560fb6],this['_handler']);try{const _0x2a6a39=this['_transformService'][_0x172ec3(0x44f)]([_0x560fb6],[this[_0x172ec3(0x45a)]],!0x1);if(_0x2bd9a5['isTransformChangesetsSuccess'](_0x2a6a39)){const {c1Prime:_0x4b652c,c2Prime:_0xf03cb9}=_0x2a6a39,_0x26a883=this['_transformService'][_0x172ec3(0x226)](_0x4b652c[0x0],this[_0x172ec3(0x25d)]);if(_0x2bd9a5['isTransformMutationsWithChangesetSuccess'](_0x26a883)){const {c1Prime:_0x46a8c8,m2Prime:_0xb84135}=_0x26a883;return this[_0x172ec3(0x3c3)](_0x46a8c8),_0xf03cb9[0x0][_0x172ec3(0x54f)]=this[_0x172ec3(0x388)](),this[_0x172ec3(0x477)](),this[_0x172ec3(0x312)][_0x172ec3(0x34e)](_0x2fb276[_0x172ec3(0x297)],this[_0x172ec3(0x56b)],this[_0x172ec3(0x222)],_0xf03cb9[0x0],_0xb84135,this[_0x172ec3(0x1fe)],void 0x0);}throw _0x26a883[_0x172ec3(0x3f8)];}throw _0x2a6a39['error'];}catch(_0x13a86b){return this['_logService'][_0x172ec3(0x3f8)](_0x13a86b),this[_0x172ec3(0x491)](!0x1);}}[_0x48e1d4(0x1f5)](_0x3a3cab){var _0x17ac5b=_0x48e1d4;if(this[_0x17ac5b(0x477)](),this['_checkMissing'](_0x3a3cab))return this[_0x17ac5b(0x312)][_0x17ac5b(0x34e)](_0x2fb276[_0x17ac5b(0x27f)],this['unitID'],this['type'],null,this[_0x17ac5b(0x25d)],this[_0x17ac5b(0x45a)],[],this[_0x17ac5b(0x1fe)]);this[_0x17ac5b(0x3c2)]();const _0xb61db5=this[_0x17ac5b(0x312)][_0x17ac5b(0x34e)](_0x2fb276[_0x17ac5b(0x3bd)],this['unitID'],this['type'],this[_0x17ac5b(0x25d)],this[_0x17ac5b(0x1fe)]);return _0xb61db5[_0x17ac5b(0x2a4)](),_0xb61db5['_updateLocalCache'](),_0xb61db5;}[_0x48e1d4(0x41c)](_0x53045f){var _0x468444=_0x48e1d4;return this[_0x468444(0x491)](!!(_0x53045f!=null&&_0x53045f[_0x468444(0x2a6)]));}['onRemoteRetry'](_0x3b76a2){var _0x530684=_0x48e1d4;return this['_resendTimeout']>_0x1d9561?this[_0x530684(0x2f9)]():(this[_0x530684(0x553)]=_0x1deeb5(this[_0x530684(0x4d4)],{'timeout':this[_0x530684(0x4d4)],'reqId':_0x3b76a2[_0x530684(0x41d)]}),this[_0x530684(0x2e2)]=this['_resendTimer'][_0x530684(0x296)](({reqId:_0x2725dd,timeout:_0x4de10b})=>{var _0x3bd9c6=_0x530684;this[_0x3bd9c6(0x448)](_0x2725dd,_0x4de10b);}),this);}[_0x48e1d4(0x2f9)](){var _0x210336=_0x48e1d4;return this[_0x210336(0x477)](),this[_0x210336(0x312)][_0x210336(0x34e)](_0x2fb276[_0x210336(0x49c)],this[_0x210336(0x56b)],this[_0x210336(0x222)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x210336(0x1fe)]);}['toggleOnline'](){return this;}[_0x48e1d4(0x414)](){var _0x2531bc=_0x48e1d4;this[_0x2531bc(0x1fe)][_0x2531bc(0x365)](this[_0x2531bc(0x45a)]);}[_0x48e1d4(0x491)](_0x40568e){var _0x1eb44e=_0x48e1d4;return this[_0x1eb44e(0x477)](),this['_injector'][_0x1eb44e(0x34e)](_0x2fb276[_0x1eb44e(0x334)],this['unitID'],this[_0x1eb44e(0x222)],null,this[_0x1eb44e(0x25d)],this['_handler'],_0x40568e);}[_0x48e1d4(0x448)](_0x257fc7,_0x1d9c15){var _0x5dd46f=_0x48e1d4,_0x27353e;_0x257fc7===((_0x27353e=this[_0x5dd46f(0x45a)])==null?void 0x0:_0x27353e[_0x5dd46f(0x41d)])&&(this['resend'](),this[_0x5dd46f(0x4d4)]=_0x1d9c15===0x0?0x3e8:_0x1d9c15*0x2);}[_0x48e1d4(0x477)](){var _0x44836b=_0x48e1d4,_0x2b20e3;(_0x2b20e3=this[_0x44836b(0x2e2)])==null||_0x2b20e3[_0x44836b(0x3da)](),this[_0x44836b(0x4d4)]=0x0;}},_0x2fb276[_0x48e1d4(0x297)]=_0x5cf5cd([_0x3468a1(0x6,_0x576dd1['Inject'](_0x576dd1[_0x48e1d4(0x2d7)])),_0x3468a1(0x7,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5[_0x48e1d4(0x41b)])),_0x3468a1(0x8,_0x576dd1[_0x48e1d4(0x2e5)]),_0x3468a1(0x9,_0x576dd1['ILogService']),_0x3468a1(0xa,_0x2bd9a5[_0x48e1d4(0x4ac)]),_0x3468a1(0xb,_0x576dd1[_0x48e1d4(0x202)]),_0x3468a1(0xc,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276[_0x48e1d4(0x297)]),_0x2fb276[_0x48e1d4(0x334)]=class extends _0x449d5e{constructor(_0x57ff6d,_0x5103c7,_0x598e5a,_0xc4f998,_0x13eeaa,_0x1ef5e2=!0x1,_0x470696,_0x125951,_0x2be09a,_0x53af0f,_0x2d09e3,_0x1b3834,_0x29c4b2){var _0x50b221=_0x48e1d4;super(_0x57ff6d,_0x5103c7,_0x598e5a,_0xc4f998,_0x13eeaa,_0x125951,_0x2be09a,_0x53af0f,_0x29c4b2),_0x3b8823(this,_0x50b221(0x1fb),_0x50b221(0x53c)),(this[_0x50b221(0x24b)]=_0x1ef5e2,this[_0x50b221(0x54d)]=_0x470696,this[_0x50b221(0x501)]=_0x2d09e3,this[_0x50b221(0x355)]=_0x1b3834,this[_0x50b221(0x457)]=_0x29c4b2,this['_showConflictNotification'](),this[_0x50b221(0x219)](),this[_0x50b221(0x549)]());}[_0x48e1d4(0x2e4)](){return this;}[_0x48e1d4(0x40f)](){return this;}[_0x48e1d4(0x1f5)](){return this;}['onRemoteRej'](){return this;}[_0x48e1d4(0x54a)](){return this;}[_0x48e1d4(0x2f9)](){return this;}[_0x48e1d4(0x552)](){return this;}[_0x48e1d4(0x414)](){var _0x2aac3f=_0x48e1d4;throw new Error(_0x2aac3f(0x436));}[_0x48e1d4(0x219)](){var _0x3bed81=_0x48e1d4,_0x1b289c;(_0x1b289c=this['_localCacheService'])==null||_0x1b289c[_0x3bed81(0x2c2)](this[_0x3bed81(0x56b)],this['type'],null,[]);}[_0x48e1d4(0x2a7)](){var _0x3d92b5=_0x48e1d4;this[_0x3d92b5(0x24b)]?this[_0x3d92b5(0x355)][_0x3d92b5(0x40a)]({'id':_0x1118e3[_0x3d92b5(0x494)]}):this[_0x3d92b5(0x355)][_0x3d92b5(0x40a)]({'id':_0x1118e3[_0x3d92b5(0x49e)]});}[_0x48e1d4(0x549)](){var _0x28c6f9=_0x48e1d4;this['_permissionService']['updatePermissionPoint'](new _0x349891['WorkbookEditablePermission'](this[_0x28c6f9(0x56b)])['id'],!0x1);}},_0x2fb276['ConflictState']=_0x5cf5cd([_0x3468a1(0x6,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x3e7)])),_0x3468a1(0x7,_0x576dd1[_0x48e1d4(0x2e5)]),_0x3468a1(0x8,_0x576dd1[_0x48e1d4(0x202)]),_0x3468a1(0x9,_0x576dd1['Inject'](_0x2bd9a5[_0x48e1d4(0x41b)])),_0x3468a1(0xa,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2ee)])),_0x3468a1(0xb,_0x576dd1['Inject'](_0x4b9f58)),_0x3468a1(0xc,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276[_0x48e1d4(0x334)]),_0x2fb276['OfflineState']=class extends _0x449d5e{constructor(_0x1230a3,_0x2bdc90,_0x44882b,_0x420eee,_0x29d24a,_0x7b74fd,_0x557e70,_0x522698,_0x1a8211,_0x4fbc1f){var _0x4f2b50=_0x48e1d4;super(_0x1230a3,_0x2bdc90,_0x44882b,_0x420eee,_0x29d24a,_0x522698,_0x1a8211,_0x557e70,_0x4fbc1f),_0x3b8823(this,'status','offline'),this[_0x4f2b50(0x312)]=_0x7b74fd;}['appendMutation'](_0x3393b7){var _0x1876a6=_0x48e1d4;return this[_0x1876a6(0x25d)]['push'](_0x3393b7),this[_0x1876a6(0x266)](),this;}[_0x48e1d4(0x40f)](_0x558d9a){var _0x336ad7=_0x48e1d4;throw new Error(_0x336ad7(0x4e2));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x48e1d4(0x41c)](){var _0x2bbb0f=_0x48e1d4;throw new Error(_0x2bbb0f(0x404));}[_0x48e1d4(0x54a)](){return this;}['toggleOffline'](){return this;}[_0x48e1d4(0x552)](){var _0x271e9f=_0x48e1d4;const {_injector:_0x96bc99,_pendingMutations:_0x39cab,_awaitingChangeset:_0xd5744e,unitID:_0x227589,_handler:_0x17992b,type:_0x1e4e90}=this,_0x205f9f=_0x1d6d9f(_0x96bc99,_0x227589,_0x1e4e90,_0xd5744e,_0x39cab,_0x17992b);return _0x205f9f instanceof _0x2fb276[_0x271e9f(0x3bd)]?_0x205f9f[_0x271e9f(0x2a4)]():(_0x205f9f instanceof _0x2fb276[_0x271e9f(0x297)]||_0x205f9f instanceof _0x2fb276['AwaitingState'])&&_0x205f9f[_0x271e9f(0x414)](),_0x205f9f;}['resend'](){var _0xc730bc=_0x48e1d4;throw new Error(_0xc730bc(0x238));}},_0x2fb276[_0x48e1d4(0x49c)]=_0x5cf5cd([_0x3468a1(0x5,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1['Injector'])),_0x3468a1(0x6,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5[_0x48e1d4(0x41b)])),_0x3468a1(0x7,_0x576dd1['ICommandService']),_0x3468a1(0x8,_0x576dd1[_0x48e1d4(0x202)]),_0x3468a1(0x9,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276[_0x48e1d4(0x49c)]),_0x2fb276[_0x48e1d4(0x27f)]=class extends _0x449d5e{constructor(_0x3a6b9d,_0x105ca2,_0x2529d5,_0x183ffd,_0x36ed24,_0x3445e4,_0x23bee3,_0x53e1c3,_0x1d3a0e,_0x458292,_0x42d7b1,_0x3e71e7,_0x50d84b,_0x5b983d){var _0x24e9d8=_0x48e1d4;super(_0x3a6b9d,_0x105ca2,_0x2529d5,_0x183ffd,_0x23bee3,_0x42d7b1,_0x3e71e7,_0x1d3a0e,_0x5b983d),_0x3b8823(this,'status',_0x24e9d8(0x4af)),(this[_0x24e9d8(0x495)]=_0x36ed24,this[_0x24e9d8(0x345)]=_0x3445e4,this[_0x24e9d8(0x312)]=_0x53e1c3,this['_logService']=_0x458292,this[_0x24e9d8(0x2ef)]=_0x50d84b,this['localCacheService']=_0x5b983d);}['onMissedChangesetFetched'](_0x30dd18){var _0x104642=_0x48e1d4;try{const _0x2b3b87=[..._0x30dd18,...this[_0x104642(0x345)]],_0x13e8f6=[this[_0x104642(0x45a)]||this['_acknowledgedAwaitingChangeset']][_0x104642(0x50d)](_0x4d37f4=>!!_0x4d37f4);let _0x2f7815,_0x145558;if(_0x13e8f6[_0x104642(0x372)]){const _0x198622=this['_transformService'][_0x104642(0x44f)](_0x2b3b87,_0x13e8f6,!0x1);if(!_0x2bd9a5['isTransformChangesetsSuccess'](_0x198622))throw _0x198622['error'];_0x2f7815=_0x198622[_0x104642(0x2e7)],_0x145558=_0x198622[_0x104642(0x4b0)];}else _0x2f7815=_0x2b3b87,_0x145558=[];let _0x4d3321=this[_0x104642(0x25d)];_0x2f7815[_0x104642(0x317)](_0x16dae2=>{var _0x46a487=_0x104642;let _0x3e0e5d;if(_0x4d3321['length']){const _0x4eb780=this[_0x46a487(0x2ef)][_0x46a487(0x226)](_0x16dae2,_0x4d3321);if(!_0x2bd9a5[_0x46a487(0x2cb)](_0x4eb780))throw _0x4eb780[_0x46a487(0x3f8)];_0x3e0e5d=_0x4eb780[_0x46a487(0x2e7)],_0x4d3321=_0x4eb780['m2Prime'];}else _0x3e0e5d=_0x16dae2;this[_0x46a487(0x3c3)](_0x3e0e5d);}),this['_acknowledgedAwaitingChangeset']&&this[_0x104642(0x3c2)](),this['_awaitingChangeset']&&_0x145558[_0x104642(0x372)]&&(_0x145558[0x0]['baseRev']=this['_getCurrentRevision']());let _0x59c779;if(this[_0x104642(0x45a)]&&_0x4d3321[_0x104642(0x372)]!==0x0)_0x59c779=this['_injector'][_0x104642(0x34e)](_0x2fb276[_0x104642(0x297)],this['unitID'],this[_0x104642(0x222)],_0x145558[0x0],_0x4d3321,this['_handler'],void 0x0);else{if(this[_0x104642(0x45a)]&&_0x4d3321['length']===0x0)_0x145558[0x0][_0x104642(0x54f)]=this[_0x104642(0x388)](),_0x59c779=this[_0x104642(0x312)][_0x104642(0x34e)](_0x2fb276[_0x104642(0x3b3)],this['unitID'],this[_0x104642(0x222)],_0x145558[0x0],this['_handler']);else{if(_0x4d3321[_0x104642(0x372)]!==0x0){const _0x3252b9=this[_0x104642(0x312)]['createInstance'](_0x2fb276[_0x104642(0x3bd)],this[_0x104642(0x56b)],this['type'],_0x4d3321,this[_0x104642(0x1fe)]);_0x3252b9[_0x104642(0x2a4)](),_0x59c779=_0x3252b9;}else _0x59c779=this[_0x104642(0x312)]['createInstance'](_0x2fb276[_0x104642(0x40e)],this[_0x104642(0x56b)],this['type'],this['_handler']);}}return _0x59c779[_0x104642(0x266)](),_0x59c779;}catch(_0x3921e7){return this['_logService']['error']('[FetchMissState]',_0x104642(0x215),_0x3921e7),this[_0x104642(0x312)][_0x104642(0x34e)](_0x2fb276[_0x104642(0x334)],this[_0x104642(0x56b)],this[_0x104642(0x222)],this[_0x104642(0x45a)],this[_0x104642(0x25d)],this['_handler'],!0x1);}}[_0x48e1d4(0x414)](){var _0x2f524b=_0x48e1d4;throw new Error(_0x2f524b(0x298));}[_0x48e1d4(0x2e4)](_0x54a800){var _0x5cdbf8=_0x48e1d4;return this['_pendingMutations'][_0x5cdbf8(0x29f)](_0x54a800),this;}[_0x48e1d4(0x40f)](_0x552f8c){return this['_queuedRemoteChangesets']['push'](_0x552f8c),this;}['onRemoteAck'](_0x283a23){var _0x12c993=_0x48e1d4;if(this['_awaitingChangeset'])return this[_0x12c993(0x495)]=this[_0x12c993(0x45a)],this['_awaitingChangeset']=null,this;throw new Error(_0x12c993(0x1e3));}[_0x48e1d4(0x41c)](_0x1d861c){var _0xb2040d=_0x48e1d4;return this[_0xb2040d(0x491)](!!(_0x1d861c!=null&&_0x1d861c['isPermissionRej']));}[_0x48e1d4(0x54a)](){return this;}[_0x48e1d4(0x2f9)](){var _0x1f9a95=_0x48e1d4;return this['_injector'][_0x1f9a95(0x34e)](_0x2fb276[_0x1f9a95(0x49c)],this['unitID'],this[_0x1f9a95(0x222)],this[_0x1f9a95(0x45a)],this[_0x1f9a95(0x25d)],this[_0x1f9a95(0x1fe)]);}[_0x48e1d4(0x552)](){return this;}[_0x48e1d4(0x491)](_0x37ff9e){var _0x59388f=_0x48e1d4;return this[_0x59388f(0x312)]['createInstance'](_0x2fb276[_0x59388f(0x334)],this['unitID'],this[_0x59388f(0x222)],this['_awaitingChangeset'],this[_0x59388f(0x25d)],this[_0x59388f(0x1fe)],_0x37ff9e);}},_0x2fb276[_0x48e1d4(0x27f)]=_0x5cf5cd([_0x3468a1(0x7,_0x576dd1['Inject'](_0x576dd1[_0x48e1d4(0x2d7)])),_0x3468a1(0x8,_0x576dd1['Inject'](_0x2bd9a5[_0x48e1d4(0x41b)])),_0x3468a1(0x9,_0x576dd1[_0x48e1d4(0x30d)]),_0x3468a1(0xa,_0x576dd1[_0x48e1d4(0x2e5)]),_0x3468a1(0xb,_0x576dd1['IUndoRedoService']),_0x3468a1(0xc,_0x2bd9a5[_0x48e1d4(0x4ac)]),_0x3468a1(0xd,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276['FetchingMissState']);function _0x1d6d9f(_0xce82b4,_0x4d1d71,_0x5efe66,_0x36f665,_0x60c9ce,_0x3f03d0){var _0x1de919=_0x48e1d4;return _0x36f665&&_0x60c9ce['length']?_0xce82b4[_0x1de919(0x34e)](_0x2fb276['AwaitingWithPendingState'],_0x4d1d71,_0x5efe66,_0x36f665,_0x60c9ce,_0x3f03d0,void 0x0):_0x36f665?_0xce82b4[_0x1de919(0x34e)](_0x2fb276[_0x1de919(0x3b3)],_0x4d1d71,_0x5efe66,_0x36f665,_0x3f03d0):_0x60c9ce[_0x1de919(0x372)]?_0xce82b4['createInstance'](_0x2fb276['PendingState'],_0x4d1d71,_0x5efe66,_0x60c9ce,_0x3f03d0):_0xce82b4[_0x1de919(0x34e)](_0x2fb276[_0x1de919(0x40e)],_0x4d1d71,_0x5efe66,_0x3f03d0);}var _0x4033cc=Object[_0x48e1d4(0x24c)],_0x40a38e=(_0x1c3fdc,_0x274df0,_0x3a5ed1,_0x18b000)=>{var _0x21ae1d=_0x48e1d4;for(var _0x319a64=_0x18b000>0x1?void 0x0:_0x18b000?_0x4033cc(_0x274df0,_0x3a5ed1):_0x274df0,_0x5a78d8=_0x1c3fdc[_0x21ae1d(0x372)]-0x1,_0xe1ff1c;_0x5a78d8>=0x0;_0x5a78d8--)(_0xe1ff1c=_0x1c3fdc[_0x5a78d8])&&(_0x319a64=_0xe1ff1c(_0x319a64)||_0x319a64);return _0x319a64;},_0x23a00f=(_0x596c1e,_0x30e1eb)=>(_0x2fcd18,_0x31813a)=>_0x30e1eb(_0x2fcd18,_0x31813a,_0x596c1e);_0x2fb276[_0x48e1d4(0x1f6)]=class extends _0x576dd1[_0x48e1d4(0x258)]{constructor(_0x436275,_0xd09060,_0x53c717,_0x2d5304,_0x4dc361,_0x56a9c9,_0x38bf48,_0x3de914,_0x3bbe53,_0x54054b,_0x338e08,_0x5930c9,_0x26cb15,_0x109208){var _0x3e7b28=_0x48e1d4;super(),_0x3b8823(this,_0x3e7b28(0x249),new _0x4ef27b[(_0x3e7b28(0x559))](null)),_0x3b8823(this,_0x3e7b28(0x366),this[_0x3e7b28(0x249)][_0x3e7b28(0x378)]()),_0x3b8823(this,_0x3e7b28(0x2cf)),_0x3b8823(this,_0x3e7b28(0x459),!0x1),_0x3b8823(this,_0x3e7b28(0x3d6),''),_0x3b8823(this,'_changesetReqId',0x0),_0x3b8823(this,_0x3e7b28(0x4a9),this['state$']['pipe'](_0x4ef27b[_0x3e7b28(0x3d4)](_0x1bff2c=>_0x1bff2c?_0x1bff2c['status']:_0x189381[_0x3e7b28(0x36d)]),_0x4ef27b[_0x3e7b28(0x3c7)](0x1))),_0x3b8823(this,_0x3e7b28(0x261),!0x1),_0x3b8823(this,'_remoteChangesetQueue',[]),(this[_0x3e7b28(0x56b)]=_0x436275,this[_0x3e7b28(0x1f9)]=_0xd09060,this[_0x3e7b28(0x360)]=_0x53c717,this['_injector']=_0x2d5304,this['_compressMutationService']=_0x4dc361,this[_0x3e7b28(0x501)]=_0x56a9c9,this[_0x3e7b28(0x380)]=_0x38bf48,this[_0x3e7b28(0x315)]=_0x3de914,this[_0x3e7b28(0x522)]=_0x3bbe53,this['_logService']=_0x54054b,this['_commandService']=_0x338e08,this[_0x3e7b28(0x54d)]=_0x5930c9,this[_0x3e7b28(0x33a)]=_0x26cb15,this['_localCacheService']=_0x109208);}get['state'](){var _0x1a2737=_0x48e1d4;return this[_0x1a2737(0x2cf)];}async[_0x48e1d4(0x3cb)](){var _0x864c5a=_0x48e1d4;if(this[_0x864c5a(0x332)])throw new Error(_0x864c5a(0x4f7));await this['_init']();}[_0x48e1d4(0x348)](){var _0xf4dfc7=_0x48e1d4;return this['_collaborationPaused']=!0x0,_0x576dd1[_0xf4dfc7(0x2af)](()=>{var _0x1325ac=_0xf4dfc7;this[_0x1325ac(0x459)]=!0x1,this[_0x1325ac(0x22c)]();});}[_0x48e1d4(0x424)](_0x2c43c0){this['_onLocalMutation'](_0x2c43c0);}['_updateState'](_0x447e5b){var _0x46ba02=_0x48e1d4;this[_0x46ba02(0x2cf)]=_0x447e5b,this[_0x46ba02(0x249)][_0x46ba02(0x1f3)](_0x447e5b);}async[_0x48e1d4(0x548)](){var _0x4481fb=_0x48e1d4,_0xbf467c;this[_0x4481fb(0x49b)](await this['_createInitialState']()),this[_0x4481fb(0x33a)]&&((_0xbf467c=this['_singleActiveUnitService'])==null||_0xbf467c[_0x4481fb(0x48a)](this[_0x4481fb(0x56b)]),this[_0x4481fb(0x303)](this[_0x4481fb(0x33a)][_0x4481fb(0x46d)](this['unitID'])['subscribe'](_0x46f1e7=>{var _0x1eac7a=_0x4481fb;this[_0x1eac7a(0x1fd)][_0x1eac7a(0x53e)](_0x1eac7a(0x542),_0x1eac7a(0x2c9),_0x46f1e7),_0x46f1e7===_0x2f352c[_0x1eac7a(0x4c4)]?(this[_0x1eac7a(0x315)][_0x1eac7a(0x40a)]({'id':_0x1118e3[_0x1eac7a(0x516)]}),this[_0x1eac7a(0x54d)][_0x1eac7a(0x479)](new _0x349891[(_0x1eac7a(0x48b))](this[_0x1eac7a(0x56b)])['id'],!0x1),this['_permissionService'][_0x1eac7a(0x434)](!0x1)):(this[_0x1eac7a(0x54d)]['updatePermissionPoint'](new _0x349891['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x1eac7a(0x54d)][_0x1eac7a(0x434)](!0x0));})));let _0x3d4e82=!0x1;return this[_0x4481fb(0x303)](this[_0x4481fb(0x1f9)]['sessionStatus$'][_0x4481fb(0x296)](_0x5363ed=>{var _0xbf9e2=_0x4481fb;_0x5363ed===_0x211c2e[_0xbf9e2(0x245)]?this[_0xbf9e2(0x20e)](_0x3d4e82):_0x5363ed===_0x211c2e['OFFLINE']&&(_0x3d4e82=!0x0,this[_0xbf9e2(0x1f2)]());})),this['disposeWithMe'](this['session'][_0x4481fb(0x505)][_0x4481fb(0x296)](_0x1b50f3=>{var _0x3337df=_0x4481fb;try{switch(_0x1b50f3[_0x3337df(0x4e3)]){case _0x2bd9a5[_0x3337df(0x43f)][_0x3337df(0x305)]:{this[_0x3337df(0x390)](_0x2bd9a5['parseProtocolChangeset'](_0x1b50f3[_0x3337df(0x564)]));break;}case _0x2bd9a5[_0x3337df(0x43f)][_0x3337df(0x4ca)]:{this['_onRemoteACK'](_0x1b50f3['data']);break;}case _0x2bd9a5[_0x3337df(0x43f)][_0x3337df(0x3bb)]:{this['_onRemoteRejected']();break;}case _0x2bd9a5[_0x3337df(0x43f)][_0x3337df(0x32a)]:{this['_onRemoteRetry'](_0x1b50f3['data']);break;}case _0x2bd9a5['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x1b50f3[_0x3337df(0x564)][_0x3337df(0x4b9)]['map'](_0x18e405=>_0x2bd9a5['parseProtocolChangeset'](_0x18e405)));break;}case _0x2bd9a5[_0x3337df(0x43f)][_0x3337df(0x33e)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x2bd9a5[_0x3337df(0x43f)][_0x3337df(0x37f)]:break;}}catch(_0x1667e3){throw console[_0x3337df(0x3f8)](_0x3337df(0x2de),_0x1667e3),_0x1667e3;}})),this['_state'];}[_0x48e1d4(0x278)](){var _0x32aade=_0x48e1d4;this[_0x32aade(0x261)]=!0x1;}[_0x48e1d4(0x322)](){var _0xc1bc6f=_0x48e1d4;if(this['_transitionLocked'])throw new Error(_0xc1bc6f(0x4b2));this[_0xc1bc6f(0x261)]=!0x0;}[_0x48e1d4(0x24a)](_0x587396){var _0x2ff0a5=_0x48e1d4;this[_0x2ff0a5(0x322)](),this[_0x2ff0a5(0x49b)](this[_0x2ff0a5(0x2cf)][_0x2ff0a5(0x2e4)](_0x587396)),this[_0x2ff0a5(0x278)]();}['_onRemoteChangeset'](_0x3d06f3){var _0x5d983f=_0x48e1d4;if(!(_0x3d06f3[_0x5d983f(0x506)]<=this[_0x5d983f(0x380)]['getCurrentRevOfUnit'](this[_0x5d983f(0x56b)]))){if(this[_0x5d983f(0x459)]){this[_0x5d983f(0x4c9)][_0x5d983f(0x29f)](_0x3d06f3);return;}this['_applyRemoteChangeset'](_0x3d06f3);}}[_0x48e1d4(0x22c)](){var _0x3dc632=_0x48e1d4;this[_0x3dc632(0x4c9)]['forEach'](_0x409641=>this['_applyRemoteChangeset'](_0x409641)),this['_remoteChangesetQueue']=[];}[_0x48e1d4(0x3e2)](_0x381342){var _0x43c882=_0x48e1d4;const _0x14fd06=this[_0x43c882(0x4ce)][_0x43c882(0x451)][_0x43c882(0x1de)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x43c882(0x206)])(_0x381342['mutations'],null)||_0x381342[_0x43c882(0x30b)],_0x2abd7a={..._0x381342,'mutations':_0x14fd06};this[_0x43c882(0x322)](),this[_0x43c882(0x49b)](this[_0x43c882(0x2cf)]['onRemoteChangeset'](_0x2abd7a)),this[_0x43c882(0x278)]();}[_0x48e1d4(0x4e1)](_0x4a63d1){var _0x5230cb=_0x48e1d4;this[_0x5230cb(0x322)](),this[_0x5230cb(0x49b)](this[_0x5230cb(0x2cf)][_0x5230cb(0x1f5)](_0x4a63d1)),this['_unlockTransition']();}[_0x48e1d4(0x367)](_0x19b3bd){var _0x57adf9=_0x48e1d4;this[_0x57adf9(0x322)](),this[_0x57adf9(0x49b)](this[_0x57adf9(0x2cf)][_0x57adf9(0x41c)](_0x19b3bd)),this[_0x57adf9(0x278)]();}[_0x48e1d4(0x292)](_0x4f7f15){var _0x510edb=_0x48e1d4;this[_0x510edb(0x322)](),this[_0x510edb(0x49b)](this[_0x510edb(0x2cf)]['onRemoteRetry'](_0x4f7f15)),this[_0x510edb(0x278)]();}[_0x48e1d4(0x4a0)](_0x495583){var _0x370ee3=_0x48e1d4;if(!(this[_0x370ee3(0x2cf)]instanceof _0x2fb276[_0x370ee3(0x27f)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x56596a=_0x495583[_0x370ee3(0x3d4)](_0x567643=>{var _0x54efcc=_0x370ee3;const _0x1ca984=this[_0x54efcc(0x4ce)][_0x54efcc(0x451)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x54efcc(0x451)][_0x54efcc(0x2f0)]()[_0x54efcc(0x206)])(_0x567643[_0x54efcc(0x30b)],null)||_0x567643[_0x54efcc(0x30b)];return{..._0x567643,'mutations':_0x1ca984};});this[_0x370ee3(0x322)](),this[_0x370ee3(0x49b)](this['_state'][_0x370ee3(0x447)](_0x56596a)),this[_0x370ee3(0x278)]();}[_0x48e1d4(0x1f2)](){var _0x3c3815=_0x48e1d4;this[_0x3c3815(0x322)](),this[_0x3c3815(0x49b)](this[_0x3c3815(0x2cf)][_0x3c3815(0x2f9)]()),this['_unlockTransition']();}[_0x48e1d4(0x20e)](_0x3089b7=!0x1){var _0x4d2e62=_0x48e1d4;this['_lockTransition'](),this[_0x4d2e62(0x49b)](this['_state']['toggleOnline']()),this[_0x4d2e62(0x278)]();const _0x8136c2=this[_0x4d2e62(0x2cf)];_0x3089b7&&_0x8136c2 instanceof _0x2fb276['SyncedState']&&(this[_0x4d2e62(0x322)](),this[_0x4d2e62(0x49b)](_0x8136c2[_0x4d2e62(0x3fc)]()),this[_0x4d2e62(0x278)]());}async[_0x48e1d4(0x51f)](){return new Promise(_0x22c953=>{var _0x2bbba1=_0x30d9;this[_0x2bbba1(0x1f9)]['sessionStatus$'][_0x2bbba1(0x1ec)](_0x4ef27b[_0x2bbba1(0x1db)](0x1))['subscribe'](async _0x236e73=>{var _0x5b19cc=_0x2bbba1;_0x22c953(await this[_0x5b19cc(0x28a)](_0x236e73===_0x211c2e[_0x5b19cc(0x245)]));});});}[_0x48e1d4(0x224)](){const _0x3eed06=this['unitID'];return{'onStateChange':(_0x28f9f5,_0x480044)=>{var _0x5b86a1=_0x30d9;if(_0x28f9f5!==this[_0x5b86a1(0x2cf)])throw new Error(_0x5b86a1(0x1ea)+_0x28f9f5[_0x5b86a1(0x1fb)]+_0x5b86a1(0x209)+_0x480044[_0x5b86a1(0x1fb)]+_0x5b86a1(0x4e6)+this[_0x5b86a1(0x2cf)][_0x5b86a1(0x1fb)]);this[_0x5b86a1(0x49b)](_0x480044);},'onSendChangeset':_0xb4d82d=>{var _0x4a0034=_0x30d9;_0xb4d82d[_0x4a0034(0x27a)]||(_0xb4d82d[_0x4a0034(0x27a)]=this[_0x4a0034(0x3d6)],_0xb4d82d[_0x4a0034(0x41d)]=++this[_0x4a0034(0x3f2)]);const _0x27a515={'eventID':_0x2bd9a5['CollaborationEvent'][_0x4a0034(0x488)],'data':{'unitID':_0xb4d82d[_0x4a0034(0x56b)],'unitType':this['_type'],'changeset':_0xb4d82d,'memberID':this['session'][_0x4a0034(0x2b6)]()}};this[_0x4a0034(0x1f9)][_0x4a0034(0x329)](_0x27a515,this[_0x4a0034(0x56b)]);},'onMissingChangesets':({from:_0x4962ef,to:_0x389d15})=>{var _0x22c1ce=_0x30d9;this[_0x22c1ce(0x1fd)][_0x22c1ce(0x53e)](_0x22c1ce(0x542),_0x22c1ce(0x51a)+_0x4962ef+_0x22c1ce(0x523)+_0x389d15);const _0x2c3c9d={'eventID':_0x2bd9a5[_0x22c1ce(0x43f)][_0x22c1ce(0x225)],'data':{'unitID':_0x3eed06,'unitType':this['_type'],'from':_0x4962ef,'to':_0x389d15}};this['session']['send'](_0x2c3c9d,this['unitID']);}};}async[_0x48e1d4(0x28a)](_0x26996a){var _0x5325a0=_0x48e1d4,_0x432047,_0x489c9c,_0x5853e2;const _0x51f49f=await((_0x432047=this['_localCacheService'])==null?void 0x0:_0x432047[_0x5325a0(0x4f1)](this[_0x5325a0(0x56b)])),_0x2159ab=(_0x489c9c=_0x51f49f==null?void 0x0:_0x51f49f[_0x5325a0(0x30b)])!=null?_0x489c9c:[],_0x3cf4e1=(_0x5853e2=_0x51f49f==null?void 0x0:_0x51f49f[_0x5325a0(0x476)])!=null?_0x5853e2:null,_0x184dcd=!!(_0x3cf4e1!=null&&_0x3cf4e1[_0x5325a0(0x27a)])&&!!(_0x3cf4e1!=null&&_0x3cf4e1[_0x5325a0(0x41d)]);this[_0x5325a0(0x3d6)]=_0x184dcd?_0x3cf4e1[_0x5325a0(0x27a)]:_0x2bd9a5[_0x5325a0(0x227)](),this[_0x5325a0(0x3f2)]=_0x184dcd?_0x3cf4e1[_0x5325a0(0x41d)]:0x0;const _0x45e768=this[_0x5325a0(0x56b)];try{this[_0x5325a0(0x302)](_0x3cf4e1,_0x2159ab);}catch(_0xc49cbc){this[_0x5325a0(0x1fd)][_0x5325a0(0x3f8)](_0xc49cbc);}const _0x564d27=this[_0x5325a0(0x224)]();if(_0x26996a){const _0x357b21=_0x1d6d9f(this['_injector'],_0x45e768,this[_0x5325a0(0x360)],_0x3cf4e1,_0x2159ab,_0x564d27);return _0x357b21 instanceof _0x2fb276[_0x5325a0(0x3bd)]?_0x357b21['_schedule']():(_0x357b21 instanceof _0x2fb276['AwaitingWithPendingState']||_0x357b21 instanceof _0x2fb276[_0x5325a0(0x3b3)])&&_0x357b21['resend'](),_0x357b21;}return this['_injector'][_0x5325a0(0x34e)](_0x2fb276[_0x5325a0(0x49c)],_0x45e768,this['_type'],_0x3cf4e1,_0x2159ab,_0x564d27);}[_0x48e1d4(0x302)](_0x573586,_0x4bbe92){var _0xcb75f0=_0x48e1d4,_0x333cee,_0x1f2900;const _0x263b9e=this[_0xcb75f0(0x4ce)][_0xcb75f0(0x451)][_0xcb75f0(0x1de)](this['_compressMutationService'][_0xcb75f0(0x451)][_0xcb75f0(0x2f0)]()[_0xcb75f0(0x206)]);(_0x333cee=_0x263b9e((_0x573586==null?void 0x0:_0x573586[_0xcb75f0(0x30b)])||[],null))==null||_0x333cee[_0xcb75f0(0x317)](_0x45b828=>this[_0xcb75f0(0x4d1)][_0xcb75f0(0x25a)](_0x45b828['id'],_0x45b828['params'])),(_0x1f2900=_0x263b9e(_0x4bbe92||[],null))==null||_0x1f2900['forEach'](_0x423c84=>this[_0xcb75f0(0x4d1)]['executeCommand'](_0x423c84['id'],_0x423c84[_0xcb75f0(0x269)]));}},_0x2fb276[_0x48e1d4(0x1f6)]=_0x40a38e([_0x23a00f(0x3,_0x576dd1['Inject'](_0x576dd1[_0x48e1d4(0x2d7)])),_0x23a00f(0x4,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5['CompressMutationService'])),_0x23a00f(0x5,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2ee)])),_0x23a00f(0x6,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5[_0x48e1d4(0x41b)])),_0x23a00f(0x7,_0x576dd1[_0x48e1d4(0x429)](_0x4b9f58)),_0x23a00f(0x8,_0x576dd1[_0x48e1d4(0x438)]),_0x23a00f(0x9,_0x576dd1['ILogService']),_0x23a00f(0xa,_0x576dd1[_0x48e1d4(0x2e5)]),_0x23a00f(0xb,_0x576dd1['IPermissionService']),_0x23a00f(0xc,_0x576dd1[_0x48e1d4(0x44b)](_0x24e789)),_0x23a00f(0xd,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276['CollaborationEntity']),_0x2fb276[_0x48e1d4(0x547)]=class extends _0x2fb276['CollaborationEntity']{constructor(_0x163cae,_0x5a17ff,_0x576d8a,_0x19ab43,_0x41e0b0,_0x42cee0,_0x1ff11f,_0x5dcf44,_0x431aa0,_0x341d4d,_0x42f35d,_0x519e9a,_0x2d810c,_0x5465e0){var _0x4d5437=_0x48e1d4;super(_0x163cae,_0x576d8a,_0x5a17ff,_0x19ab43,_0x41e0b0,_0x42cee0,_0x1ff11f,_0x5dcf44,_0x431aa0,_0x341d4d,_0x42f35d,_0x519e9a,_0x2d810c,_0x5465e0),_0x3b8823(this,_0x4d5437(0x3f1),null),(this[_0x4d5437(0x56b)]=_0x163cae,this['type']=_0x5a17ff);}[_0x48e1d4(0x34d)](_0x1a703f){var _0x2365de=_0x48e1d4;this[_0x2365de(0x3f1)]=_0x1a703f;}[_0x48e1d4(0x433)](){var _0x338f90=_0x48e1d4;this['_handlerCallback']=null,super[_0x338f90(0x433)]();}[_0x48e1d4(0x224)](){var _0x306de7=_0x48e1d4;const _0x1b2cf3=super[_0x306de7(0x224)]();return _0x1b2cf3[_0x306de7(0x38f)]=_0x16b35c=>{var _0x143eb3=_0x306de7,_0x257933,_0x22ba5d;return(_0x22ba5d=(_0x257933=this[_0x143eb3(0x3f1)])==null?void 0x0:_0x257933[_0x143eb3(0x38f)])==null?void 0x0:_0x22ba5d[_0x143eb3(0x3d9)](_0x257933,_0x16b35c);},_0x1b2cf3['onTransformState']=_0x39e9c3=>{var _0x720d0c=_0x306de7,_0x215354,_0x12c47e;return(_0x12c47e=(_0x215354=this[_0x720d0c(0x3f1)])==null?void 0x0:_0x215354[_0x720d0c(0x3ed)])==null?void 0x0:_0x12c47e[_0x720d0c(0x3d9)](_0x215354,_0x39e9c3);},_0x1b2cf3['onTransformSelections']=_0x283158=>{var _0xfb3c61=_0x306de7,_0x5382bb,_0x3b2099;return(_0x3b2099=(_0x5382bb=this[_0xfb3c61(0x3f1)])==null?void 0x0:_0x5382bb['onTransformSelections'])==null?void 0x0:_0x3b2099['call'](_0x5382bb,_0x283158);},_0x1b2cf3['onSyncEditingCollabCursor']=_0x3256ea=>{var _0x514f08=_0x306de7,_0xca438a,_0x4e90a5;return(_0x4e90a5=(_0xca438a=this['_handlerCallback'])==null?void 0x0:_0xca438a[_0x514f08(0x21c)])==null?void 0x0:_0x4e90a5[_0x514f08(0x3d9)](_0xca438a,_0x3256ea);},_0x1b2cf3[_0x306de7(0x1df)]=_0x247690=>{var _0x493990=_0x306de7,_0xa3ee99,_0x4f1522,_0x25b301;if(!((_0xa3ee99=this[_0x493990(0x3f1)])!=null&&_0xa3ee99[_0x493990(0x1df)]))throw new Error(_0x493990(0x40d));return(_0x25b301=(_0x4f1522=this[_0x493990(0x3f1)])==null?void 0x0:_0x4f1522[_0x493990(0x1df)])==null?void 0x0:_0x25b301[_0x493990(0x3d9)](_0x4f1522,_0x247690);},_0x1b2cf3['onTransformRemoteChangesetByStateCache']=_0xdebb54=>{var _0x702a7e=_0x306de7,_0x1953ec,_0x37aa90,_0x4eaadb;if(!((_0x1953ec=this[_0x702a7e(0x3f1)])!=null&&_0x1953ec['onTransformRemoteChangesetByStateCache']))throw new Error(_0x702a7e(0x398));return(_0x4eaadb=(_0x37aa90=this[_0x702a7e(0x3f1)])==null?void 0x0:_0x37aa90[_0x702a7e(0x386)])==null?void 0x0:_0x4eaadb[_0x702a7e(0x3d9)](_0x37aa90,_0xdebb54);},_0x1b2cf3;}async[_0x48e1d4(0x548)](){var _0x386612=_0x48e1d4;const _0x5eb97e=await super[_0x386612(0x548)]();return this[_0x386612(0x303)](this[_0x386612(0x4d1)]['onCommandExecuted']((_0x42b468,_0x2c5b89)=>{var _0x152c0a=_0x386612;if(_0x42b468['type']!==_0x576dd1[_0x152c0a(0x419)]['MUTATION']||_0x2c5b89!=null&&_0x2c5b89[_0x152c0a(0x2fa)]||_0x2c5b89!=null&&_0x2c5b89['onlyLocal']||_0x42b468['id']===_0x379b70[_0x152c0a(0x280)]['id'])return;const _0x29625b=_0x42b468[_0x152c0a(0x269)];if((_0x29625b==null?void 0x0:_0x29625b[_0x152c0a(0x4bf)])!==this[_0x152c0a(0x56b)])return;const _0x1589ba=_0x42b468,_0xe3509d=this[_0x152c0a(0x4ce)][_0x152c0a(0x451)]['fetchThroughInterceptors'](this[_0x152c0a(0x4ce)][_0x152c0a(0x451)]['getInterceptPoints']()[_0x152c0a(0x204)])([_0x1589ba],this['_univerInstanceService'])||[_0x1589ba];this['_onLocalMutation'](_0xe3509d[0x0]);})),_0x5eb97e;}},_0x2fb276[_0x48e1d4(0x547)]=_0x40a38e([_0x23a00f(0x3,_0x576dd1['Inject'](_0x576dd1[_0x48e1d4(0x2d7)])),_0x23a00f(0x4,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5[_0x48e1d4(0x399)])),_0x23a00f(0x5,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1['LocaleService'])),_0x23a00f(0x6,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5[_0x48e1d4(0x41b)])),_0x23a00f(0x7,_0x576dd1['Inject'](_0x4b9f58)),_0x23a00f(0x8,_0x576dd1[_0x48e1d4(0x438)]),_0x23a00f(0x9,_0x576dd1['ILogService']),_0x23a00f(0xa,_0x576dd1[_0x48e1d4(0x2e5)]),_0x23a00f(0xb,_0x576dd1[_0x48e1d4(0x3e7)]),_0x23a00f(0xc,_0x576dd1[_0x48e1d4(0x44b)](_0x24e789)),_0x23a00f(0xd,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276[_0x48e1d4(0x547)]),_0x2fb276[_0x48e1d4(0x2f3)]=class extends _0x2fb276[_0x48e1d4(0x1f6)]{constructor(_0x3c41ab,_0x350b46,_0x263ab7,_0x21df5f,_0x21718b,_0x99df18,_0x99745e,_0x23aab7,_0x97a60b,_0x475589,_0x651394,_0x44a36e,_0x333897,_0x3438ff,_0x255cdc){var _0x118217=_0x48e1d4;super(_0x3c41ab,_0x263ab7,_0x350b46,_0x21df5f,_0x21718b,_0x99df18,_0x99745e,_0x97a60b,_0x475589,_0x651394,_0x44a36e,_0x333897,_0x3438ff,_0x255cdc),this[_0x118217(0x56b)]=_0x3c41ab,this[_0x118217(0x222)]=_0x350b46,this['_sheetTransformSelectionsService']=_0x23aab7;}[_0x48e1d4(0x224)](){var _0x4f6004=_0x48e1d4;const _0x18e348=super[_0x4f6004(0x224)]();return _0x18e348[_0x4f6004(0x4fc)]=_0x1fd96c=>this['_sheetTransformSelectionsService'][_0x4f6004(0x3ca)](_0x1fd96c),_0x18e348;}async[_0x48e1d4(0x548)](){var _0x17caeb=_0x48e1d4;const _0x169820=await super[_0x17caeb(0x548)]();return this[_0x17caeb(0x303)](this[_0x17caeb(0x4d1)][_0x17caeb(0x468)]((_0x496b04,_0x1bdeb0)=>{var _0x390053=_0x17caeb;if(_0x496b04['type']!==_0x576dd1[_0x390053(0x419)]['MUTATION']||_0x1bdeb0!=null&&_0x1bdeb0[_0x390053(0x2fa)]||_0x1bdeb0!=null&&_0x1bdeb0[_0x390053(0x28f)])return;const _0x33392a=_0x496b04[_0x390053(0x269)];if((_0x33392a==null?void 0x0:_0x33392a['unitId'])!==this[_0x390053(0x56b)])return;const _0x3d802b=_0x496b04,_0xb3b050=this[_0x390053(0x4ce)][_0x390053(0x451)][_0x390053(0x1de)](this[_0x390053(0x4ce)][_0x390053(0x451)][_0x390053(0x2f0)]()['COMPRESS_MUTATION_SEND'])([_0x3d802b],this[_0x390053(0x522)])||[_0x3d802b];this[_0x390053(0x24a)](_0xb3b050[0x0]);})),_0x169820;}},_0x2fb276[_0x48e1d4(0x2f3)]=_0x40a38e([_0x23a00f(0x3,_0x576dd1['Inject'](_0x576dd1['Injector'])),_0x23a00f(0x4,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5[_0x48e1d4(0x399)])),_0x23a00f(0x5,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2ee)])),_0x23a00f(0x6,_0x576dd1[_0x48e1d4(0x429)](_0x2bd9a5[_0x48e1d4(0x41b)])),_0x23a00f(0x7,_0x576dd1[_0x48e1d4(0x429)](_0x2fb276[_0x48e1d4(0x2b8)])),_0x23a00f(0x8,_0x576dd1[_0x48e1d4(0x429)](_0x4b9f58)),_0x23a00f(0x9,_0x576dd1[_0x48e1d4(0x438)]),_0x23a00f(0xa,_0x576dd1[_0x48e1d4(0x30d)]),_0x23a00f(0xb,_0x576dd1[_0x48e1d4(0x2e5)]),_0x23a00f(0xc,_0x576dd1[_0x48e1d4(0x3e7)]),_0x23a00f(0xd,_0x576dd1[_0x48e1d4(0x44b)](_0x24e789)),_0x23a00f(0xe,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276[_0x48e1d4(0x2f3)]);const _0x1786d0=_0x576dd1['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function _0x3a591e(_0x3270db){var _0x485833=_0x48e1d4,_0x2ce7d1,_0x23dff4,_0x576eab,_0x129a62,_0x4a97fd;const _0x49d7ad=_0x3270db[_0x485833(0x564)],_0x19da9b=JSON['parse'](_0x49d7ad);switch(_0x19da9b[_0x485833(0x465)]){case _0x41a300['HEARTBEAT']:case _0x41a300[_0x485833(0x52d)]:{const _0x113045=_0x19da9b[_0x485833(0x2aa)];return{..._0x19da9b,'data':_0x113045,'cmd':_0x19da9b[_0x485833(0x465)]};}case _0x41a300['JOIN']:{const _0x1195fa=_0x19da9b[_0x485833(0x421)];return{..._0x19da9b,'data':_0x1195fa,'cmd':_0x19da9b['cmd']};}case _0x41a300[_0x485833(0x3e3)]:{const _0x11e544=_0x19da9b[_0x485833(0x4e4)];switch(_0x11e544[_0x485833(0x4e3)]){case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x33e)]:return{..._0x19da9b,'data':{..._0x11e544,'data':(_0x2ce7d1=_0x11e544['permissionRejEvent'])==null?void 0x0:_0x2ce7d1['cs']},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x4ca)]:return{..._0x19da9b,'data':{..._0x11e544,'data':(_0x23dff4=_0x11e544[_0x485833(0x452)])==null?void 0x0:_0x23dff4['cs']},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)]['NEW_CHANGESETS']:return{..._0x19da9b,'data':{..._0x11e544,'data':(_0x576eab=_0x11e544[_0x485833(0x44c)])==null?void 0x0:_0x576eab['cs']},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x3bb)]:return{..._0x19da9b,'data':{..._0x11e544,'data':(_0x129a62=_0x11e544[_0x485833(0x486)])==null?void 0x0:_0x129a62['cs']},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)]['CHANGESET_SHOULD_RETRY']:return{..._0x19da9b,'data':{..._0x11e544,'data':(_0x4a97fd=_0x11e544['csShouldRetryEvent'])==null?void 0x0:_0x4a97fd['cs']},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)]['UPDATE_CURSOR']:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544['updateCursorEvent']},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)]['USERS_ENTER']:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544[_0x485833(0x208)]},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x283)]:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544[_0x485833(0x232)]},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x474)]:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544[_0x485833(0x38e)]},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5['CollaborationEvent'][_0x485833(0x200)]:case _0x2bd9a5['CollaborationEvent'][_0x485833(0x455)]:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544['liveShareOperation']},'cmd':_0x19da9b['cmd']};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x4a5)]:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544['liveShareNewHost']},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x4c6)]:return{..._0x19da9b,'data':_0x11e544,'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x4db)]:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544[_0x485833(0x277)]},'cmd':_0x19da9b['cmd']};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x31d)]:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544['updatePermissionObjEvent']},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x1da)]:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544['shouldCloseConn']},'cmd':_0x19da9b[_0x485833(0x465)]};case _0x2bd9a5[_0x485833(0x43f)][_0x485833(0x37f)]:return{..._0x19da9b,'data':{..._0x11e544,'data':_0x11e544['uniscriptRunEvent']},'cmd':_0x19da9b[_0x485833(0x465)]};default:return _0x19da9b;}}default:return _0x19da9b;}}function _0x40b1e3(_0x38e096){var _0x27be1a=_0x48e1d4;switch(_0x38e096['cmd']){case _0x41a300['HEARTBEAT']:case _0x41a300[_0x27be1a(0x52d)]:return JSON['stringify']({'cmd':_0x38e096[_0x27be1a(0x465)],'routeKey':_0x38e096[_0x27be1a(0x369)]});case _0x41a300[_0x27be1a(0x2a8)]:{let _0x182166;switch(_0x38e096[_0x27be1a(0x564)][_0x27be1a(0x4e3)]){case _0x2bd9a5['CollaborationEvent'][_0x27be1a(0x324)]:{_0x182166={'eventID':_0x2bd9a5[_0x27be1a(0x43f)][_0x27be1a(0x324)],'updateCursorEvent':_0x38e096['data']['data']};break;}case _0x2bd9a5['CollaborationEvent'][_0x27be1a(0x283)]:{_0x182166={'eventID':_0x2bd9a5[_0x27be1a(0x43f)]['USERS_LEAVE'],'leaveEvent':_0x38e096['data'][_0x27be1a(0x564)]};break;}case _0x2bd9a5['CollaborationEvent']['USERS_ENTER']:{_0x182166={'eventID':_0x2bd9a5[_0x27be1a(0x43f)]['USERS_ENTER'],'joinEvent':_0x38e096[_0x27be1a(0x564)][_0x27be1a(0x564)]};break;}case _0x2bd9a5[_0x27be1a(0x43f)][_0x27be1a(0x474)]:{_0x182166={'eventID':_0x2bd9a5['CollaborationEvent'][_0x27be1a(0x474)],'liveShareNewHost':_0x38e096[_0x27be1a(0x564)][_0x27be1a(0x564)]};break;}case _0x2bd9a5['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x182166={'eventID':_0x2bd9a5[_0x27be1a(0x43f)][_0x27be1a(0x455)],'liveShareOperation':_0x38e096[_0x27be1a(0x564)][_0x27be1a(0x564)]};break;}case _0x2bd9a5['CollaborationEvent'][_0x27be1a(0x4a5)]:{_0x182166={'eventID':_0x2bd9a5[_0x27be1a(0x43f)][_0x27be1a(0x4a5)],'liveShareTerminate':_0x38e096['data'][_0x27be1a(0x564)]};break;}case _0x2bd9a5[_0x27be1a(0x43f)][_0x27be1a(0x39a)]:{_0x182166={'eventID':_0x2bd9a5[_0x27be1a(0x43f)][_0x27be1a(0x39a)],'liveShareRequestHost':_0x38e096[_0x27be1a(0x564)][_0x27be1a(0x564)]};break;}case _0x2bd9a5[_0x27be1a(0x43f)][_0x27be1a(0x200)]:{_0x182166={'eventID':_0x2bd9a5['CollaborationEvent'][_0x27be1a(0x200)]};break;}default:_0x182166={'eventID':_0x38e096[_0x27be1a(0x564)][_0x27be1a(0x4e3)]};}return JSON[_0x27be1a(0x4e5)]({'cmd':_0x38e096[_0x27be1a(0x465)],'routeKey':_0x38e096[_0x27be1a(0x369)],'collaMsg':_0x182166});}case _0x41a300[_0x27be1a(0x51b)]:return JSON['stringify']({'cmd':_0x38e096[_0x27be1a(0x465)],'routeKey':_0x38e096['routeKey'],'joinReq':_0x38e096['data']});case _0x41a300[_0x27be1a(0x453)]:return JSON[_0x27be1a(0x4e5)]({'cmd':_0x38e096[_0x27be1a(0x465)],'routeKey':_0x38e096[_0x27be1a(0x369)],'leaveReq':_0x38e096[_0x27be1a(0x564)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x37cee7=Object['getOwnPropertyDescriptor'],_0x9b6ffb=(_0x38ccf8,_0xbe9117,_0x306b38,_0x5dad52)=>{var _0x12ecaa=_0x48e1d4;for(var _0x40d3bf=_0x5dad52>0x1?void 0x0:_0x5dad52?_0x37cee7(_0xbe9117,_0x306b38):_0xbe9117,_0x45d279=_0x38ccf8[_0x12ecaa(0x372)]-0x1,_0x5e52f2;_0x45d279>=0x0;_0x45d279--)(_0x5e52f2=_0x38ccf8[_0x45d279])&&(_0x40d3bf=_0x5e52f2(_0x40d3bf)||_0x40d3bf);return _0x40d3bf;},_0x3ae735=(_0x371a1e,_0x236af5)=>(_0x332eba,_0x50db62)=>_0x236af5(_0x332eba,_0x50db62,_0x371a1e);const _0x426f29=_0x576dd1[_0x48e1d4(0x377)](_0x48e1d4(0x401));function _0x4cae44(_0x53352f,_0x50c28c,_0x52f9a3){var _0x48782f=_0x48e1d4;return _0x53352f+'/'+_0x50c28c+_0x48782f(0x4ff)+_0x52f9a3+'/new_changes';}_0x2fb276[_0x48e1d4(0x2a3)]=class extends _0x576dd1[_0x48e1d4(0x343)]{constructor(_0x438897,_0x3ed7cc,_0x1c6c51,_0x272311,_0x4f3176){var _0x181c11=_0x48e1d4;super(),this[_0x181c11(0x312)]=_0x438897,this[_0x181c11(0x513)]=_0x3ed7cc,this[_0x181c11(0x33b)]=_0x1c6c51,this[_0x181c11(0x1fd)]=_0x272311,this[_0x181c11(0x2e1)]=_0x4f3176;}[_0x48e1d4(0x273)](_0x1e1ad2){var _0x2a6f8f=_0x48e1d4;const _0x462aa5=this[_0x2a6f8f(0x312)][_0x2a6f8f(0x24d)](_0x347478[_0x2a6f8f(0x382)]);if(!_0x462aa5)throw new Error(_0x2a6f8f(0x4df));const _0x2c74bd=_0x462aa5[_0x2a6f8f(0x4fe)](_0x1e1ad2);if(!_0x2c74bd)throw new Error(_0x2a6f8f(0x3ea));const _0x4d352c=new _0x576dd1[(_0x2a6f8f(0x393))](),_0x25796b=new _0x4ef27b[(_0x2a6f8f(0x2b3))]();_0x4d352c[_0x2a6f8f(0x25b)](_0x2c74bd[_0x2a6f8f(0x3a0)][_0x2a6f8f(0x296)](_0x536d26=>_0x25796b[_0x2a6f8f(0x1f3)](_0x536d26))),_0x4d352c[_0x2a6f8f(0x25b)](_0x576dd1[_0x2a6f8f(0x2af)](()=>_0x25796b[_0x2a6f8f(0x2c3)]()));const _0x2e0a67=new _0x4ef27b[(_0x2a6f8f(0x2b3))]();_0x4d352c[_0x2a6f8f(0x25b)](_0x2c74bd[_0x2a6f8f(0x306)][_0x2a6f8f(0x296)](_0x6d61e0=>_0x2e0a67['next'](_0x6d61e0))),_0x4d352c[_0x2a6f8f(0x25b)](_0x576dd1[_0x2a6f8f(0x2af)](()=>_0x2e0a67['complete']()));const _0x26d095=new _0x4ef27b[(_0x2a6f8f(0x2b3))]();_0x4d352c['add'](_0x2c74bd[_0x2a6f8f(0x3ee)][_0x2a6f8f(0x296)](_0xe5f748=>{var _0x176da7=_0x2a6f8f;const _0x351caf=_0x3a591e(_0xe5f748);_0x26d095[_0x176da7(0x1f3)](_0x351caf);})),_0x4d352c['add'](_0x576dd1[_0x2a6f8f(0x2af)](()=>_0x26d095['complete']()));let _0xcea248;const _0x99d33a=()=>{var _0x52c315=_0x2a6f8f;_0x2e0a67['next'](new Event(_0x52c315(0x236))),_0x25796b['next'](new Event(_0x52c315(0x236))),_0xcea248[_0x52c315(0x284)]();};return _0xcea248={'memberID':'','close$':_0x25796b[_0x2a6f8f(0x378)](),'error$':_0x2e0a67[_0x2a6f8f(0x378)](),'open$':_0x2c74bd[_0x2a6f8f(0x518)],'message$':_0x26d095[_0x2a6f8f(0x378)](),'send':_0x355cf3=>{var _0x3d593e=_0x2a6f8f;if(_0x355cf3[_0x3d593e(0x465)]===_0x41a300[_0x3d593e(0x2a8)]){if(_0x355cf3['data'][_0x3d593e(0x4e3)]===_0x2bd9a5[_0x3d593e(0x43f)][_0x3d593e(0x488)]){this[_0x3d593e(0x3d3)](_0xcea248,_0x355cf3[_0x3d593e(0x564)])['catch'](_0x4e4d7f=>{var _0x31a843=_0x3d593e;this[_0x31a843(0x1fd)]['error'](_0x4e4d7f),_0x99d33a();});return;}if(_0x355cf3['data'][_0x3d593e(0x4e3)]===_0x2bd9a5[_0x3d593e(0x43f)][_0x3d593e(0x225)]){const _0x56cc57=_0x355cf3[_0x3d593e(0x564)];this[_0x3d593e(0x49d)](_0x56cc57)['then'](_0x305089=>{var _0x5c9dbf=_0x3d593e;_0x26d095[_0x5c9dbf(0x1f3)]({'cmd':_0x41a300['RECV'],'code':_0x1b8830['OK'],'routeKey':_0x56cc57['data']['unitID'],'routeType':'','data':{'eventID':_0x2bd9a5[_0x5c9dbf(0x43f)][_0x5c9dbf(0x3fd)],'data':{'changesets':_0x305089}}});})[_0x3d593e(0x20a)](_0x177b71=>{var _0x281ae6=_0x3d593e;this[_0x281ae6(0x1fd)][_0x281ae6(0x3f8)](_0x177b71),_0x99d33a();});return;}}_0x2c74bd['send'](_0x40b1e3(_0x355cf3));},'close':()=>{var _0x4c3606=_0x2a6f8f;_0x2c74bd['close'](),_0x4d352c[_0x4c3606(0x433)]();}},_0xcea248;}async[_0x48e1d4(0x3d3)](_0x21566c,_0x23ff92){var _0xc48d99=_0x48e1d4,_0x3a74ad;const {unitType:_0x55b2db,unitID:_0x501377,changeset:_0x4c1f24}=_0x23ff92['data'],_0x1ddbac={'unitID':_0x501377,'memberID':_0x21566c[_0xc48d99(0x3d7)],'type':_0x55b2db,'changeset':_0x2bd9a5[_0xc48d99(0x509)](_0x4c1f24)},_0x3dd1fb=this['_configService'][_0xc48d99(0x288)](_0x212720),_0x2f2b14=_0x4cae44((_0x3a74ad=_0x3dd1fb==null?void 0x0:_0x3dd1fb[_0xc48d99(0x47b)])!=null?_0x3a74ad:_0x147b41,_0x55b2db,_0x501377);try{await this[_0xc48d99(0x513)]['post'](_0x2f2b14,{'body':_0x1ddbac});}catch(_0x2a7522){throw this[_0xc48d99(0x1fd)]['error'](_0xc48d99(0x500),_0xc48d99(0x2d9)),_0x2a7522;}}async[_0x48e1d4(0x49d)](_0x1bca84){var _0x5f3a54=_0x48e1d4;const {unitID:_0x4da5bd,from:_0x36bc4f,to:_0xccd8f2,unitType:_0x59e40c}=_0x1bca84[_0x5f3a54(0x564)];return(await this[_0x5f3a54(0x2e1)][_0x5f3a54(0x46b)]({'metadata':void 0x0},{'unitID':_0x4da5bd,'type':_0x59e40c,'from':_0x36bc4f,'to':_0xccd8f2}))['changesets'][_0x5f3a54(0x3d4)](_0x26c68e=>((_0x26c68e[_0x5f3a54(0x30b)]===null||_0x26c68e[_0x5f3a54(0x30b)]===void 0x0)&&(_0x26c68e[_0x5f3a54(0x30b)]=[]),_0x26c68e));}},_0x2fb276[_0x48e1d4(0x2a3)]=_0x9b6ffb([_0x3ae735(0x0,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2d7)])),_0x3ae735(0x1,_0x576dd1[_0x48e1d4(0x429)](_0x347478[_0x48e1d4(0x4a7)])),_0x3ae735(0x2,_0x576dd1[_0x48e1d4(0x385)]),_0x3ae735(0x3,_0x576dd1[_0x48e1d4(0x30d)]),_0x3ae735(0x4,_0x2bd9a5['ISnapshotServerService'])],_0x2fb276['CollaborationSocketService']);var _0x43f04c=Object[_0x48e1d4(0x24c)],_0x1a11df=(_0x1c9700,_0x2e57f,_0x461bdf,_0x396574)=>{var _0x3f08e4=_0x48e1d4;for(var _0xe0e8a4=_0x396574>0x1?void 0x0:_0x396574?_0x43f04c(_0x2e57f,_0x461bdf):_0x2e57f,_0x2b35a4=_0x1c9700[_0x3f08e4(0x372)]-0x1,_0x25ebfc;_0x2b35a4>=0x0;_0x2b35a4--)(_0x25ebfc=_0x1c9700[_0x2b35a4])&&(_0xe0e8a4=_0x25ebfc(_0xe0e8a4)||_0xe0e8a4);return _0xe0e8a4;},_0x6fce71=(_0x132bff,_0x2c5d15)=>(_0x4f8389,_0x42e907)=>_0x2c5d15(_0x4f8389,_0x42e907,_0x132bff);_0x2fb276[_0x48e1d4(0x2f4)]=class extends _0x576dd1[_0x48e1d4(0x343)]{constructor(_0x2b9bcd,_0x25d326,_0x229bbd,_0x2abd93,_0x46bf4e,_0x240453){var _0x356b4e=_0x48e1d4;super(),_0x3b8823(this,_0x356b4e(0x4a6),new _0x4ef27b[(_0x356b4e(0x559))](void 0x0)),_0x3b8823(this,'socket$',this[_0x356b4e(0x4a6)][_0x356b4e(0x378)]()),_0x3b8823(this,_0x356b4e(0x31b),null),_0x3b8823(this,_0x356b4e(0x44d),new Map()),_0x3b8823(this,_0x356b4e(0x569),new _0x4ef27b[(_0x356b4e(0x559))](_0x211c2e[_0x356b4e(0x22d)])),_0x3b8823(this,_0x356b4e(0x4a9),this[_0x356b4e(0x569)]['asObservable']()),_0x3b8823(this,_0x356b4e(0x545),!0x1),_0x3b8823(this,_0x356b4e(0x3c6)),_0x3b8823(this,_0x356b4e(0x3f7),0x0),_0x3b8823(this,_0x356b4e(0x29d)),_0x3b8823(this,'_timeoutTimer'),(this[_0x356b4e(0x312)]=_0x2b9bcd,this[_0x356b4e(0x1fd)]=_0x25d326,this[_0x356b4e(0x33b)]=_0x229bbd,this[_0x356b4e(0x543)]=_0x2abd93,this['_collaborationUIEventService']=_0x46bf4e,this[_0x356b4e(0x2bc)]=_0x240453,this[_0x356b4e(0x3ef)]());}get[_0x48e1d4(0x3db)](){var _0x38e0c5=_0x48e1d4;return this[_0x38e0c5(0x4a6)][_0x38e0c5(0x561)]();}['_listenToNetworkCondition'](){var _0x9e708a=_0x48e1d4;this['_networkConditionService']&&this[_0x9e708a(0x303)](this['_networkConditionService'][_0x9e708a(0x4d9)][_0x9e708a(0x296)](_0xa3f4dd=>{var _0x16a16a=_0x9e708a;_0xa3f4dd&&!this[_0x16a16a(0x3db)]&&this['reconnect'](),_0xa3f4dd||this[_0x16a16a(0x482)]();}));}['dispose'](){var _0x2f94ec=_0x48e1d4;super[_0x2f94ec(0x433)](),this[_0x2f94ec(0x409)](),this[_0x2f94ec(0x38c)](),this[_0x2f94ec(0x411)](),this[_0x2f94ec(0x44d)][_0x2f94ec(0x317)](_0x1f10d7=>_0x1f10d7[_0x2f94ec(0x433)]()),this[_0x2f94ec(0x44d)][_0x2f94ec(0x45c)](),this[_0x2f94ec(0x569)][_0x2f94ec(0x2c3)]();}async[_0x48e1d4(0x1f8)](_0x387292){var _0x1100db=_0x48e1d4;if(this[_0x1100db(0x44d)][_0x1100db(0x29b)](_0x387292))return this[_0x1100db(0x44d)][_0x1100db(0x24d)](_0x387292);this[_0x1100db(0x3b0)]();const _0x4c0e93=this[_0x1100db(0x312)][_0x1100db(0x34e)](_0x2fb276[_0x1100db(0x3ad)],_0x387292,this[_0x1100db(0x4a6)][_0x1100db(0x378)]());return this['_sessions'][_0x1100db(0x3e9)](_0x387292,_0x4c0e93),_0x4c0e93;}['closeSession'](_0x104b51){var _0x426695=_0x48e1d4,_0x24db8c;const _0xcb9f1e=this[_0x426695(0x44d)][_0x426695(0x24d)](_0x104b51);_0xcb9f1e&&(this[_0x426695(0x44d)][_0x426695(0x534)](_0x104b51),_0xcb9f1e[_0x426695(0x284)]()),this[_0x426695(0x44d)]['size']||(_0x24db8c=this[_0x426695(0x3db)])==null||_0x24db8c[_0x426695(0x284)]();}[_0x48e1d4(0x35f)](){var _0x487a91=_0x48e1d4;this[_0x487a91(0x3f7)]=0x0,this[_0x487a91(0x409)](),this[_0x487a91(0x462)]();}['_clearRetryConnectingTimer'](){var _0x4d919d=_0x48e1d4;this[_0x4d919d(0x3c6)]!=null&&(clearTimeout(this[_0x4d919d(0x3c6)]),this[_0x4d919d(0x3c6)]=null);}async['_createSocket'](){var _0x3ab873=_0x48e1d4,_0x5ba770;const _0x5c6d08=this[_0x3ab873(0x33b)][_0x3ab873(0x288)](_0x212720),_0x23fd1b=(_0x5ba770=_0x5c6d08==null?void 0x0:_0x5c6d08[_0x3ab873(0x251)])!=null?_0x5ba770:_0x5b0200,_0x3cced4=await this['_socketService'][_0x3ab873(0x4fe)](_0x23fd1b);return this[_0x3ab873(0x31b)]=_0x3cced4,_0x3cced4;}async[_0x48e1d4(0x3b0)](){var _0x3fd6cc=_0x48e1d4,_0x5a55d3,_0x3f2f29;try{const _0x1e9eee=(_0x3f2f29=(_0x5a55d3=this[_0x3fd6cc(0x3db)])!=null?_0x5a55d3:this['_candidateSocket'])!=null?_0x3f2f29:await this['_createSocket']();if(_0x1e9eee){const _0x3f47e1=_0x1e9eee[_0x3fd6cc(0x329)];_0x1e9eee[_0x3fd6cc(0x329)]=_0x2c300d=>(this[_0x3fd6cc(0x413)](),_0x3f47e1[_0x3fd6cc(0x23c)](_0x1e9eee,[_0x2c300d])),_0x1e9eee[_0x3fd6cc(0x3ee)]['subscribe'](_0x23b067=>this['_onMessage'](_0x1e9eee,_0x23b067)),_0x1e9eee[_0x3fd6cc(0x306)][_0x3fd6cc(0x1ec)](_0xa0146[_0x3fd6cc(0x1db)](0x1))[_0x3fd6cc(0x296)](_0x45bfbb=>this[_0x3fd6cc(0x1fd)][_0x3fd6cc(0x3f8)]('[CollaborationSessionService]:\x20socket\x20error',_0x45bfbb)),_0x1e9eee[_0x3fd6cc(0x518)][_0x3fd6cc(0x1ec)](_0xa0146[_0x3fd6cc(0x1db)](0x1))[_0x3fd6cc(0x296)](()=>{var _0x39aa96=_0x3fd6cc;this[_0x39aa96(0x274)](_0x1e9eee);}),_0x1e9eee[_0x3fd6cc(0x3a0)]['pipe'](_0xa0146['take'](0x1))[_0x3fd6cc(0x296)](_0x1e63cf=>{var _0x23265d=_0x3fd6cc;this['_logService']['debug']('[CollaborationSessionService]','socket\x20close',_0x1e63cf),this[_0x23265d(0x565)]();});}}catch(_0x1ef37c){this[_0x3fd6cc(0x1fd)][_0x3fd6cc(0x3f8)](_0x1ef37c),this[_0x3fd6cc(0x565)]();}}['_onConnectionOpen'](_0x54164e){var _0x3240e1=_0x48e1d4;this['_logService']['debug'](_0x3240e1(0x40c),_0x3240e1(0x340)),_0x54164e[_0x3240e1(0x329)]({'cmd':_0x41a300[_0x3240e1(0x52d)]}),this[_0x3240e1(0x413)]();}['_onOffline'](){var _0x224fad=_0x48e1d4;this[_0x224fad(0x545)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x224fad(0x1f3)](_0x211c2e[_0x224fad(0x36d)]),this[_0x224fad(0x4a6)][_0x224fad(0x1f3)](null),this[_0x224fad(0x38c)](),this[_0x224fad(0x411)]();}[_0x48e1d4(0x565)](){var _0x2c0d32=_0x48e1d4,_0x32b55e;this[_0x2c0d32(0x482)](),this['_retryCount']<((_0x32b55e=this[_0x2c0d32(0x33b)]['getConfig'](_0x54fa9f))!=null?_0x32b55e:0x3)?(this['_collaborationUIEventService'][_0x2c0d32(0x40a)]({'id':_0x1118e3[_0x2c0d32(0x420)]}),this[_0x2c0d32(0x462)]()):this[_0x2c0d32(0x355)][_0x2c0d32(0x40a)]({'id':_0x1118e3['SOCKET_FAILED']});}[_0x48e1d4(0x462)](){var _0x1cf68c=_0x48e1d4,_0x3c2072;const _0x3af148=this[_0x1cf68c(0x3f7)],_0x2a58a=this['_configService'][_0x1cf68c(0x288)](_0x212720),_0x473279=_0x3af148===0x0?0x0:((_0x3c2072=_0x2a58a==null?void 0x0:_0x2a58a[_0x1cf68c(0x361)])!=null?_0x3c2072:0x4e20)*0x2**_0x3af148;this[_0x1cf68c(0x3c6)]=setTimeout(()=>{var _0x3ba88d=_0x1cf68c;clearTimeout(this[_0x3ba88d(0x3c6)]),this[_0x3ba88d(0x3c6)]=null,this[_0x3ba88d(0x3b0)]();},_0x473279),this[_0x1cf68c(0x3f7)]+=0x1;}[_0x48e1d4(0x31f)](_0x14d993,_0xb9ea31){var _0x184c09=_0x48e1d4;const {cmd:_0x2db9e2}=_0xb9ea31;_0x2db9e2===_0x41a300[_0x184c09(0x52d)]&&!this[_0x184c09(0x545)]&&(_0x14d993['memberID']=_0xb9ea31[_0x184c09(0x564)][_0x184c09(0x3d7)],this[_0x184c09(0x4a6)][_0x184c09(0x1f3)](_0x14d993),this[_0x184c09(0x569)][_0x184c09(0x1f3)](_0x211c2e['ONLINE']),this[_0x184c09(0x545)]=!0x0,this['_candidateSocket']=null),_0x2db9e2===_0x41a300[_0x184c09(0x330)]&&this[_0x184c09(0x38c)](),this[_0x184c09(0x413)]();}[_0x48e1d4(0x413)](){var _0x12dbd0=_0x48e1d4,_0x285758;this[_0x12dbd0(0x411)](),this[_0x12dbd0(0x29d)]=setTimeout(()=>this[_0x12dbd0(0x50f)](),(_0x285758=this[_0x12dbd0(0x33b)]['getConfig'](_0x29b893))!=null?_0x285758:0x7530);}['_sendHeartbeat'](){var _0x2d0bd5=_0x48e1d4;this[_0x2d0bd5(0x3db)][_0x2d0bd5(0x329)]({'cmd':_0x41a300[_0x2d0bd5(0x330)]}),this['_waitForHeartbeatResponse']();}[_0x48e1d4(0x4a8)](){var _0x407d85=_0x48e1d4,_0x1ecadd;this[_0x407d85(0x42f)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1ecadd=this[_0x407d85(0x33b)][_0x407d85(0x288)](_0x29e88d))!=null?_0x1ecadd:0x4e20);}[_0x48e1d4(0x411)](){var _0x4ef9b0=_0x48e1d4;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4ef9b0(0x29d)]),this[_0x4ef9b0(0x29d)]=null);}[_0x48e1d4(0x38c)](){var _0x5e0179=_0x48e1d4;this[_0x5e0179(0x42f)]!=null&&(clearTimeout(this[_0x5e0179(0x42f)]),this[_0x5e0179(0x42f)]=null);}},_0x2fb276[_0x48e1d4(0x2f4)]=_0x1a11df([_0x6fce71(0x0,_0x576dd1['Inject'](_0x576dd1['Injector'])),_0x6fce71(0x1,_0x576dd1[_0x48e1d4(0x30d)]),_0x6fce71(0x2,_0x576dd1[_0x48e1d4(0x385)]),_0x6fce71(0x3,_0x426f29),_0x6fce71(0x4,_0x576dd1[_0x48e1d4(0x429)](_0x4b9f58)),_0x6fce71(0x5,_0x576dd1['Optional'](_0x1786d0))],_0x2fb276[_0x48e1d4(0x2f4)]);var _0xe1bda3=Object[_0x48e1d4(0x24c)],_0x1a0e1f=(_0x4d0602,_0x536f37,_0x251873,_0x253a8f)=>{var _0x522501=_0x48e1d4;for(var _0x850331=_0x253a8f>0x1?void 0x0:_0x253a8f?_0xe1bda3(_0x536f37,_0x251873):_0x536f37,_0x2a2583=_0x4d0602[_0x522501(0x372)]-0x1,_0x210941;_0x2a2583>=0x0;_0x2a2583--)(_0x210941=_0x4d0602[_0x2a2583])&&(_0x850331=_0x210941(_0x850331)||_0x850331);return _0x850331;},_0x2b10b1=(_0x2892f3,_0x3f0613)=>(_0x25682f,_0x122306)=>_0x3f0613(_0x25682f,_0x122306,_0x2892f3);_0x2fb276[_0x48e1d4(0x426)]=class extends _0x576dd1[_0x48e1d4(0x258)]{constructor(_0x459df0,_0xd02477,_0x3797ec,_0x4e1c4c){var _0x5c5990=_0x48e1d4,_0x526cc5;super(),_0x3b8823(this,_0x5c5990(0x26e),new Map()),_0x3b8823(this,_0x5c5990(0x22e),new _0x4ef27b[(_0x5c5990(0x2b3))]()),_0x3b8823(this,_0x5c5990(0x56c),this[_0x5c5990(0x22e)]['asObservable']()),(this['_injector']=_0x459df0,this['_collabSessionService']=_0xd02477,this[_0x5c5990(0x33b)]=_0x3797ec,this['_univerInstanceService']=_0x4e1c4c,((_0x526cc5=this['_configService']['getConfig'](_0x212720))==null?void 0x0:_0x526cc5[_0x5c5990(0x223)])!==!0x1&&this[_0x5c5990(0x548)]());}['dispose'](){var _0x52e977=_0x48e1d4;super[_0x52e977(0x433)](),this['_entities']['forEach'](_0x40418c=>_0x40418c[_0x52e977(0x433)]()),this[_0x52e977(0x26e)]['clear']();}[_0x48e1d4(0x2db)](_0x9ee3ee){var _0xb97421=_0x48e1d4,_0x5872c4;return(_0x5872c4=this[_0xb97421(0x26e)][_0xb97421(0x24d)](_0x9ee3ee))!=null?_0x5872c4:null;}[_0x48e1d4(0x2bf)](_0x47d514){var _0x17d034=_0x48e1d4;const _0x8a446e=this['getCollabEntity'](_0x47d514);return _0x8a446e?_0x4ef27b['of'](_0x8a446e):this['_entityInit$'][_0x17d034(0x1ec)](_0xa0146[_0x17d034(0x50d)](_0x1709d2=>_0x1709d2[_0x17d034(0x56b)]===_0x47d514));}[_0x48e1d4(0x52e)](_0x10d0ba){var _0x4ecc7e=_0x48e1d4;return _0x4ef27b['firstValueFrom'](this[_0x4ecc7e(0x2bf)](_0x10d0ba)[_0x4ecc7e(0x1ec)](_0xa0146[_0x4ecc7e(0x3d4)](()=>{})));}[_0x48e1d4(0x548)](){var _0x565534=_0x48e1d4;this['_univerInstanceService'][_0x565534(0x2ac)](_0x576dd1[_0x565534(0x3a6)]['UNIVER_SHEET'])[_0x565534(0x1ec)](_0x4ef27b[_0x565534(0x23e)](this[_0x565534(0x410)]),_0xa0146[_0x565534(0x34c)](0x10))['subscribe'](async _0x5b6ef9=>{var _0x5eb839=_0x565534;const _0x4c297b=_0x5b6ef9['getUnitId'](),_0x4a45ea=await this[_0x5eb839(0x449)](_0x4c297b,_0x443515['UNIVER_SHEET']);this[_0x5eb839(0x26e)][_0x5eb839(0x3e9)](_0x4c297b,_0x4a45ea);}),this['_univerInstanceService'][_0x565534(0x2ac)](_0x576dd1['UniverInstanceType'][_0x565534(0x4fa)])[_0x565534(0x1ec)](_0x4ef27b[_0x565534(0x23e)](this['dispose$']),_0xa0146[_0x565534(0x34c)](0x10))[_0x565534(0x1ec)](_0xa0146[_0x565534(0x50d)](_0x568d6a=>!_0x568d6a[_0x565534(0x320)]()[_0x565534(0x461)]('__')))[_0x565534(0x296)](async _0x2d3a09=>{var _0x51e210=_0x565534;const _0x3d0754=_0x2d3a09['getUnitId'](),_0x3473b7=await this['_startCollaboration'](_0x3d0754,_0x443515['UNIVER_DOC']);this[_0x51e210(0x26e)]['set'](_0x3d0754,_0x3473b7);}),_0x4ef27b[_0x565534(0x2ca)](this[_0x565534(0x522)][_0x565534(0x4c8)](_0x576dd1['UniverInstanceType'][_0x565534(0x3e5)]),this[_0x565534(0x522)]['getTypeOfUnitDisposed$'](_0x576dd1[_0x565534(0x3a6)][_0x565534(0x4fa)]))[_0x565534(0x1ec)](_0x4ef27b[_0x565534(0x23e)](this[_0x565534(0x410)]))['subscribe'](_0x44018d=>{var _0x50a6f3=_0x565534;const _0x56ceed=_0x44018d[_0x50a6f3(0x320)](),_0x26374b=this[_0x50a6f3(0x26e)]['get'](_0x56ceed);_0x26374b&&(_0x26374b[_0x50a6f3(0x433)](),this[_0x50a6f3(0x26e)]['delete'](_0x56ceed));});}async['_startCollaboration'](_0xf63490,_0x1e16f4){var _0x44f646=_0x48e1d4;const _0x192f3c=await this[_0x44f646(0x44e)][_0x44f646(0x1f8)](_0xf63490),_0x10942b=this[_0x44f646(0x312)][_0x44f646(0x34e)](this[_0x44f646(0x21e)](_0x1e16f4),_0xf63490,_0x1e16f4,_0x192f3c);return await _0x10942b['init'](),this[_0x44f646(0x22e)][_0x44f646(0x1f3)](_0x10942b),_0x10942b;}[_0x48e1d4(0x21e)](_0x4a19a0){var _0x563f60=_0x48e1d4;switch(_0x4a19a0){case _0x443515['UNIVER_DOC']:return _0x2fb276['DocCollaborationEntity'];case _0x443515[_0x563f60(0x3e5)]:return _0x2fb276[_0x563f60(0x2f3)];default:throw new Error(_0x563f60(0x2ec)+_0x4a19a0);}}},_0x2fb276[_0x48e1d4(0x426)]=_0x1a0e1f([_0x2b10b1(0x0,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2d7)])),_0x2b10b1(0x1,_0x576dd1[_0x48e1d4(0x429)](_0x2fb276[_0x48e1d4(0x2f4)])),_0x2b10b1(0x2,_0x576dd1[_0x48e1d4(0x385)]),_0x2b10b1(0x3,_0x576dd1[_0x48e1d4(0x438)])],_0x2fb276[_0x48e1d4(0x426)]);var _0x1ab394=Object[_0x48e1d4(0x24c)],_0x3d1210=(_0x290954,_0x518123,_0x2f5458,_0x5caf99)=>{var _0x39d5e2=_0x48e1d4;for(var _0x54f97f=_0x5caf99>0x1?void 0x0:_0x5caf99?_0x1ab394(_0x518123,_0x2f5458):_0x518123,_0x165185=_0x290954[_0x39d5e2(0x372)]-0x1,_0x9fb419;_0x165185>=0x0;_0x165185--)(_0x9fb419=_0x290954[_0x165185])&&(_0x54f97f=_0x9fb419(_0x54f97f)||_0x54f97f);return _0x54f97f;},_0xc42162=(_0x44f333,_0x4183a9)=>(_0x4acaec,_0x56f4f6)=>_0x4183a9(_0x4acaec,_0x56f4f6,_0x44f333);const _0x3fb6eb='DEFAULT_FILE_NAME',_0x1260f3=_0x48e1d4(0x2ad);let _0x43689e=class extends _0x576dd1[_0x48e1d4(0x343)]{constructor(_0x3a064e,_0x46dcd7){var _0x1a4183=_0x48e1d4;super(),this[_0x1a4183(0x522)]=_0x3a064e,this[_0x1a4183(0x33b)]=_0x46dcd7,this[_0x1a4183(0x548)]();}['_init'](){var _0x348c96=_0x48e1d4;this['disposeWithMe'](this[_0x348c96(0x522)]['focused$'][_0x348c96(0x296)](()=>{var _0xc2f1b4=_0x348c96,_0x34f986;const _0x16e3f8=this[_0xc2f1b4(0x522)]['getFocusedUnit']();let _0x18bf00=(_0x34f986=this[_0xc2f1b4(0x33b)][_0xc2f1b4(0x288)](_0x3fb6eb))!=null?_0x34f986:_0x1260f3;_0x16e3f8 instanceof _0x576dd1[_0xc2f1b4(0x33c)]&&(_0x18bf00=_0x16e3f8[_0xc2f1b4(0x1e2)]),document['title']=_0x18bf00;}));}};_0x43689e=_0x3d1210([_0xc42162(0x0,_0x576dd1[_0x48e1d4(0x438)]),_0xc42162(0x1,_0x576dd1[_0x48e1d4(0x385)])],_0x43689e);var _0x49422a=Object[_0x48e1d4(0x24c)],_0x4892a1=(_0x43c272,_0x561697,_0x289433,_0x7e8c25)=>{var _0x385e90=_0x48e1d4;for(var _0x473aa1=_0x7e8c25>0x1?void 0x0:_0x7e8c25?_0x49422a(_0x561697,_0x289433):_0x561697,_0x5b88d2=_0x43c272[_0x385e90(0x372)]-0x1,_0x4ed85c;_0x5b88d2>=0x0;_0x5b88d2--)(_0x4ed85c=_0x43c272[_0x5b88d2])&&(_0x473aa1=_0x4ed85c(_0x473aa1)||_0x473aa1);return _0x473aa1;},_0x5ee7ad=(_0x128d73,_0x819bfe)=>(_0x3f626e,_0x18fdfa)=>_0x819bfe(_0x3f626e,_0x18fdfa,_0x128d73);let _0x5f1390=class{constructor(_0x192b1c,_0x19c1c3,_0x52c64a){var _0x30c07f=_0x48e1d4;this['_configService']=_0x192b1c,this['_httpService']=_0x19c1c3,this[_0x30c07f(0x34b)]=_0x52c64a,this[_0x30c07f(0x3cb)]();}[_0x48e1d4(0x3cb)](){var _0x204f1b=_0x48e1d4;this[_0x204f1b(0x513)][_0x204f1b(0x28c)]({'priority':0x1,'interceptor':(_0x5f9792,_0x470ad9)=>_0x470ad9(_0x5f9792)[_0x204f1b(0x1ec)](_0x4ef27b[_0x204f1b(0x37c)](async _0x3c3f53=>{var _0x318fa4=_0x204f1b;const _0x4a48ce=_0x3c3f53;if(_0x4a48ce[_0x318fa4(0x1fb)]===0x191){if(typeof window>'u')throw new Error(_0x318fa4(0x551));if(window['confirm'](this[_0x318fa4(0x34b)]['t'](_0x318fa4(0x481)))){const _0x41eaa=window['encodeURIComponent'](window[_0x318fa4(0x430)][_0x318fa4(0x1e8)]);window[_0x318fa4(0x430)]['href']=this[_0x318fa4(0x1ee)]()+_0x318fa4(0x32f)+_0x41eaa;}}return _0x4a48ce;}))});}[_0x48e1d4(0x1ee)](){var _0x30a906=_0x48e1d4,_0x1c42f2;const _0x209228=this[_0x30a906(0x33b)][_0x30a906(0x288)](_0x212720);return(_0x1c42f2=_0x209228==null?void 0x0:_0x209228[_0x30a906(0x358)])!=null?_0x1c42f2:_0x2a55f6;}};_0x5f1390=_0x4892a1([_0x5ee7ad(0x0,_0x576dd1[_0x48e1d4(0x385)]),_0x5ee7ad(0x1,_0x576dd1[_0x48e1d4(0x429)](_0x347478['HTTPService'])),_0x5ee7ad(0x2,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2ee)]))],_0x5f1390);var _0x43dc9f=Object[_0x48e1d4(0x24c)],_0x29ad1f=(_0x1b1651,_0x16d59c,_0x363c1a,_0x4da30c)=>{for(var _0x3ab545=_0x4da30c>0x1?void 0x0:_0x4da30c?_0x43dc9f(_0x16d59c,_0x363c1a):_0x16d59c,_0x3a05aa=_0x1b1651['length']-0x1,_0x1b68ba;_0x3a05aa>=0x0;_0x3a05aa--)(_0x1b68ba=_0x1b1651[_0x3a05aa])&&(_0x3ab545=_0x1b68ba(_0x3ab545)||_0x3ab545);return _0x3ab545;},_0x44f55c=(_0x1611fc,_0x3cd090)=>(_0x379e6e,_0x2fe3cf)=>_0x3cd090(_0x379e6e,_0x2fe3cf,_0x1611fc);const _0x2f609a=_0x48e1d4(0x54c);_0x2fb276[_0x48e1d4(0x43e)]=class extends _0x576dd1[_0x48e1d4(0x343)]{constructor(_0x4f5393,_0x399eac){var _0x577227=_0x48e1d4;super(),this['_HTTPService']=_0x4f5393,this[_0x577227(0x33b)]=_0x399eac,this[_0x577227(0x25e)]();}[_0x48e1d4(0x25e)](){var _0x433e84=_0x48e1d4;const _0x40f033=this;this[_0x433e84(0x303)](this[_0x433e84(0x309)][_0x433e84(0x28c)]({'priority':0x3e7,'interceptor':_0x347478['MergeInterceptorFactory']({'isMatch'(_0x492d4e){var _0x3c7c3f=_0x433e84,_0x261fed;if(_0x492d4e[_0x3c7c3f(0x531)]===_0x3c7c3f(0x301)&&((_0x261fed=_0x492d4e['requestParams'])!=null&&_0x261fed[_0x3c7c3f(0x276)])){const {objectID:_0x33b91b,objectType:_0x1cdf78}=_0x492d4e[_0x3c7c3f(0x4b6)][_0x3c7c3f(0x276)]||{};if(!_0x33b91b||_0x1cdf78===void 0x0)return!0x1;const _0x1f44d1=_0x40f033[_0x3c7c3f(0x1f7)]()+'/'+_0x1cdf78+'/object/'+_0x33b91b+'/allowed';if(_0x492d4e[_0x3c7c3f(0x53f)]===_0x1f44d1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xa82215){var _0x4f03c9=_0x433e84,_0x30ba02;return(_0x30ba02=_0xa82215[_0x4f03c9(0x4b6)])==null?void 0x0:_0x30ba02[_0x4f03c9(0x276)];},'mergeParamsToRequest'(_0x55d2a5,_0x39539b){var _0x39a619=_0x433e84;const _0x5555ab=_0x40f033['_getAPIPrefixPath']()+_0x39a619(0x47d),_0x29e559=_0x55d2a5[_0x39a619(0x211)]((_0x2e40a9,_0x328c00)=>{var _0xfc5d50=_0x39a619;const {unitID:_0x551914,objectID:_0x2f2f80,objectType:_0x15d8f0,actions:_0x5afa81}=_0x328c00;return _0x2e40a9[_0x551914]||(_0x2e40a9[_0x551914]={}),_0x2e40a9[_0x551914][_0x2f2f80]||(_0x2e40a9[_0x551914][_0x2f2f80]={'objectID':_0x2f2f80,'objectType':_0x15d8f0,'actions':[]}),_0x2e40a9[_0x551914][_0x2f2f80][_0xfc5d50(0x529)][_0xfc5d50(0x29f)](..._0x5afa81),_0x2e40a9;},{}),_0x32ac75=[];for(const _0x1512a6 in _0x29e559)for(const _0x543551 in _0x29e559[_0x1512a6]){const {actions:_0x65adcc,objectType:_0x1c42c4}=_0x29e559[_0x1512a6][_0x543551],_0x1aedf1=[...new Set(_0x65adcc)];_0x32ac75[_0x39a619(0x29f)]({'unitID':_0x1512a6,'objectID':_0x543551,'objectType':_0x1c42c4,'actions':_0x1aedf1});}return new _0x347478[(_0x39a619(0x3ec))](_0x39a619(0x301),_0x5555ab,{'headers':_0x39539b[_0x39a619(0x2ae)],'withCredentials':_0x39539b['withCredentials'],'responseType':_0x39539b['responseType'],'body':{'requests':_0x32ac75}});}},{'distributeResult'(_0x1eb143,_0x4744c3){var _0x5688da=_0x433e84;const {objectActions:_0xcee841}=_0x1eb143;return _0x4744c3[_0x5688da(0x3d4)](_0x31de90=>{var _0x588b74=_0x5688da;const {unitID:_0x62dead,objectID:_0x1b9c05,actions:_0x21c733}=_0x31de90,_0x24a68c=_0xcee841['find'](_0x4e0c24=>_0x4e0c24[_0x588b74(0x56b)]===_0x62dead&&_0x4e0c24[_0x588b74(0x3ae)]===_0x1b9c05),_0x16acd6=_0x21c733[_0x588b74(0x3d4)](_0x4f7c2e=>_0x24a68c==null?void 0x0:_0x24a68c[_0x588b74(0x529)][_0x588b74(0x4eb)](_0x1e6b31=>_0x1e6b31[_0x588b74(0x3c9)]===_0x4f7c2e))[_0x588b74(0x50d)](_0x40884f=>!!_0x40884f);return{'config':_0x31de90,'result':{'actions':_0x16acd6,'error':_0x1eb143[_0x588b74(0x3f8)]}};});}})}));}['_getAPIPrefixPath'](){var _0x5564c1=_0x48e1d4,_0x36e753;const _0x5043fe=this[_0x5564c1(0x33b)][_0x5564c1(0x288)](_0x212720);return(_0x36e753=_0x5043fe==null?void 0x0:_0x5043fe[_0x5564c1(0x272)])!=null?_0x36e753:_0x2f609a;}async[_0x48e1d4(0x26d)](_0x19153a){var _0x5b992f=_0x48e1d4;const _0x142e57=this['_getAPIPrefixPath']()+'/'+_0x19153a[_0x5b992f(0x512)]+_0x5b992f(0x21b);return(await this[_0x5b992f(0x309)][_0x5b992f(0x38b)](_0x142e57,{'body':_0x19153a}))[_0x5b992f(0x276)]['objectID']||'';}async[_0x48e1d4(0x567)](_0xee6cda){var _0x376de1=_0x48e1d4;const _0x26ae60=this[_0x376de1(0x1f7)]()+_0x376de1(0x328);return(await this['_HTTPService'][_0x376de1(0x38b)](_0x26ae60,{'body':_0xee6cda}))[_0x376de1(0x276)]['objects'];}async['update'](_0x234fa3){var _0x30fdba=_0x48e1d4,_0x360756,_0x1a19cf;const _0x58be82=this['_getAPIPrefixPath']()+'/'+_0x234fa3[_0x30fdba(0x512)]+_0x30fdba(0x25f)+_0x234fa3[_0x30fdba(0x3ae)],_0x5a10fa=await this[_0x30fdba(0x309)]['put'](_0x58be82,{'body':_0x234fa3});if(((_0x1a19cf=(_0x360756=_0x5a10fa==null?void 0x0:_0x5a10fa[_0x30fdba(0x276)])==null?void 0x0:_0x360756['error'])==null?void 0x0:_0x1a19cf['code'])!==0x1)throw new Error(_0x30fdba(0x428));}async[_0x48e1d4(0x26a)](_0x2ea2b9){var _0xb6f56e=_0x48e1d4;const _0x3d413b=this['_getAPIPrefixPath']()+'/'+_0x2ea2b9[_0xb6f56e(0x512)]+'/object/'+_0x2ea2b9[_0xb6f56e(0x3ae)]+_0xb6f56e(0x313);return(await this[_0xb6f56e(0x309)][_0xb6f56e(0x38b)](_0x3d413b,{'body':_0x2ea2b9}))[_0xb6f56e(0x276)][_0xb6f56e(0x529)];}async[_0x48e1d4(0x450)](_0x5a35d8){var _0x19b5bd=_0x48e1d4;const _0x3bf24e=this['_getAPIPrefixPath']()+_0x19b5bd(0x47d);return(await this[_0x19b5bd(0x309)][_0x19b5bd(0x38b)](_0x3bf24e,{'body':{'requests':_0x5a35d8}}))[_0x19b5bd(0x276)]['objectActions'];}async[_0x48e1d4(0x4a4)](_0x34d424){var _0x29816c=_0x48e1d4;const _0x1f922e=this[_0x29816c(0x1f7)]()+'/'+_0x34d424[_0x29816c(0x512)]+_0x29816c(0x42d),_0x200d68=await this[_0x29816c(0x309)][_0x29816c(0x38b)](_0x1f922e,{'body':_0x34d424});return{'roles':_0x200d68['body'][_0x29816c(0x412)],'actions':_0x200d68[_0x29816c(0x276)]['actions']};}async['deleteCollaborator'](_0x1ac310){var _0x3f60f5=_0x48e1d4;const _0xd32bd7=this[_0x3f60f5(0x1f7)]()+_0x3f60f5(0x53b);await this[_0x3f60f5(0x309)][_0x3f60f5(0x534)](_0xd32bd7,{'params':{'collaboratorID':_0x1ac310[_0x3f60f5(0x418)],'objectID':_0x1ac310[_0x3f60f5(0x3ae)],'unitID':_0x1ac310[_0x3f60f5(0x56b)]}});}async[_0x48e1d4(0x52c)](_0x1a1fc6){var _0x5a93a7=_0x48e1d4;const _0xa29fe7=this[_0x5a93a7(0x1f7)]()+_0x5a93a7(0x53b);await this[_0x5a93a7(0x309)][_0x5a93a7(0x33d)](_0xa29fe7,{'body':_0x1a1fc6});}async['createCollaborator'](_0x22426d){var _0xf8403e=_0x48e1d4;const _0x5bb026=this[_0xf8403e(0x1f7)]()+'/collaborator';await this[_0xf8403e(0x309)][_0xf8403e(0x38b)](_0x5bb026,{'body':_0x22426d});}async[_0x48e1d4(0x373)](_0x35095a){var _0x32ed6b=_0x48e1d4;const _0x2335d0=this[_0x32ed6b(0x1f7)]()+_0x32ed6b(0x53b);return(await this[_0x32ed6b(0x309)][_0x32ed6b(0x24d)](_0x2335d0,{'params':{'objectID':_0x35095a[_0x32ed6b(0x3ae)],'unitID':_0x35095a[_0x32ed6b(0x56b)]}}))['body'][_0x32ed6b(0x207)];}async[_0x48e1d4(0x289)](_0x11df71){var _0x536831=_0x48e1d4;const _0x3cc2b2=this['_getAPIPrefixPath']()+_0x536831(0x53b);await this[_0x536831(0x309)][_0x536831(0x444)](_0x3cc2b2,{'body':_0x11df71});}},_0x2fb276[_0x48e1d4(0x43e)]=_0x29ad1f([_0x44f55c(0x0,_0x576dd1[_0x48e1d4(0x429)](_0x347478[_0x48e1d4(0x4a7)])),_0x44f55c(0x1,_0x576dd1['Inject'](_0x576dd1[_0x48e1d4(0x385)]))],_0x2fb276[_0x48e1d4(0x43e)]);var _0x28618e=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x461037(_0x2a69a6){var _0x512681=_0x48e1d4;return _0x2a69a6&&_0x2a69a6[_0x512681(0x38a)]&&Object[_0x512681(0x221)][_0x512681(0x295)]['call'](_0x2a69a6,'default')?_0x2a69a6[_0x512681(0x3f9)]:_0x2a69a6;}var _0x5ec66b={'exports':{}};function _0x3ba844(_0x5b9c8a){var _0x151a4d=_0x48e1d4;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5b9c8a+_0x151a4d(0x2d3));}var _0x1ad4af={'exports':{}},_0x2e4bf3=_0x1ad4af[_0x48e1d4(0x1e4)],_0xb419bb;function _0x2931f2(){return _0xb419bb||(_0xb419bb=0x1,function(_0x553722,_0x452c2d){(function(_0x46d7cc,_0x4c2628){var _0x4d073d=_0x30d9;_0x553722[_0x4d073d(0x1e4)]=_0x4c2628();}(_0x2e4bf3,function(){var _0x3ce4e6=_0x3ce4e6||function(_0x403901,_0xd3eace){var _0x246375=_0x30d9,_0xbaa766;if(typeof window<'u'&&window[_0x246375(0x2c8)]&&(_0xbaa766=window[_0x246375(0x2c8)]),typeof self<'u'&&self[_0x246375(0x2c8)]&&(_0xbaa766=self[_0x246375(0x2c8)]),typeof globalThis<'u'&&globalThis[_0x246375(0x2c8)]&&(_0xbaa766=globalThis[_0x246375(0x2c8)]),!_0xbaa766&&typeof window<'u'&&window['msCrypto']&&(_0xbaa766=window[_0x246375(0x417)]),!_0xbaa766&&typeof _0x28618e<'u'&&_0x28618e[_0x246375(0x2c8)]&&(_0xbaa766=_0x28618e[_0x246375(0x2c8)]),!_0xbaa766&&typeof _0x3ba844==_0x246375(0x4cc))try{_0xbaa766=require('crypto');}catch{}var _0x45c5fe=function(){var _0x46bce5=_0x246375;if(_0xbaa766){if(typeof _0xbaa766[_0x46bce5(0x4b5)]==_0x46bce5(0x4cc))try{return _0xbaa766[_0x46bce5(0x4b5)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xbaa766[_0x46bce5(0x2ba)]==_0x46bce5(0x4cc))try{return _0xbaa766[_0x46bce5(0x2ba)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x46bce5(0x525));},_0x57a6ea=Object['create']||(function(){function _0x409966(){}return function(_0x42e862){var _0x3d5542=_0x30d9,_0x27ff6c;return _0x409966[_0x3d5542(0x221)]=_0x42e862,_0x27ff6c=new _0x409966(),_0x409966[_0x3d5542(0x221)]=null,_0x27ff6c;};}()),_0x3663ce={},_0x2b4867=_0x3663ce[_0x246375(0x311)]={},_0x432254=_0x2b4867[_0x246375(0x4c1)]=(function(){return{'extend':function(_0x1f6630){var _0x5c35fa=_0x30d9,_0x266874=_0x57a6ea(this);return _0x1f6630&&_0x266874[_0x5c35fa(0x351)](_0x1f6630),(!_0x266874[_0x5c35fa(0x295)](_0x5c35fa(0x3cb))||this[_0x5c35fa(0x3cb)]===_0x266874[_0x5c35fa(0x3cb)])&&(_0x266874[_0x5c35fa(0x3cb)]=function(){var _0x1e0f3e=_0x5c35fa;_0x266874[_0x1e0f3e(0x38d)][_0x1e0f3e(0x3cb)][_0x1e0f3e(0x23c)](this,arguments);}),_0x266874['init'][_0x5c35fa(0x221)]=_0x266874,_0x266874[_0x5c35fa(0x38d)]=this,_0x266874;},'create':function(){var _0x4950bf=_0x30d9,_0x97b8a3=this['extend']();return _0x97b8a3[_0x4950bf(0x3cb)][_0x4950bf(0x23c)](_0x97b8a3,arguments),_0x97b8a3;},'init':function(){},'mixIn':function(_0x29d667){var _0x22452f=_0x30d9;for(var _0x435846 in _0x29d667)_0x29d667[_0x22452f(0x295)](_0x435846)&&(this[_0x435846]=_0x29d667[_0x435846]);_0x29d667[_0x22452f(0x295)](_0x22452f(0x4de))&&(this[_0x22452f(0x4de)]=_0x29d667[_0x22452f(0x4de)]);},'clone':function(){var _0x406f9f=_0x30d9;return this[_0x406f9f(0x3cb)][_0x406f9f(0x221)]['extend'](this);}};}()),_0x4ef6f6=_0x2b4867[_0x246375(0x52b)]=_0x432254[_0x246375(0x3eb)]({'init':function(_0x23704f,_0x261a5f){var _0xa8128d=_0x246375;_0x23704f=this['words']=_0x23704f||[],_0x261a5f!=_0xd3eace?this[_0xa8128d(0x510)]=_0x261a5f:this[_0xa8128d(0x510)]=_0x23704f[_0xa8128d(0x372)]*0x4;},'toString':function(_0x4651be){return(_0x4651be||_0xa15d43)['stringify'](this);},'concat':function(_0x3266cf){var _0xf88f59=_0x246375,_0x39e6f0=this[_0xf88f59(0x4b8)],_0x2291e0=_0x3266cf[_0xf88f59(0x4b8)],_0x10b7e7=this['sigBytes'],_0xd266ca=_0x3266cf[_0xf88f59(0x510)];if(this['clamp'](),_0x10b7e7%0x4)for(var _0x53269f=0x0;_0x53269f<_0xd266ca;_0x53269f++){var _0x40fe7f=_0x2291e0[_0x53269f>>>0x2]>>>0x18-_0x53269f%0x4*0x8&0xff;_0x39e6f0[_0x10b7e7+_0x53269f>>>0x2]|=_0x40fe7f<<0x18-(_0x10b7e7+_0x53269f)%0x4*0x8;}else{for(var _0x245561=0x0;_0x245561<_0xd266ca;_0x245561+=0x4)_0x39e6f0[_0x10b7e7+_0x245561>>>0x2]=_0x2291e0[_0x245561>>>0x2];}return this[_0xf88f59(0x510)]+=_0xd266ca,this;},'clamp':function(){var _0x18411c=_0x246375,_0xecfce2=this['words'],_0x3b0bc4=this[_0x18411c(0x510)];_0xecfce2[_0x3b0bc4>>>0x2]&=0xffffffff<<0x20-_0x3b0bc4%0x4*0x8,_0xecfce2[_0x18411c(0x372)]=_0x403901[_0x18411c(0x268)](_0x3b0bc4/0x4);},'clone':function(){var _0x5e4958=_0x246375,_0x5924b1=_0x432254[_0x5e4958(0x28e)][_0x5e4958(0x3d9)](this);return _0x5924b1[_0x5e4958(0x4b8)]=this[_0x5e4958(0x4b8)][_0x5e4958(0x290)](0x0),_0x5924b1;},'random':function(_0x1f9ded){var _0x13f795=_0x246375;for(var _0x2e6dd8=[],_0x2ebe56=0x0;_0x2ebe56<_0x1f9ded;_0x2ebe56+=0x4)_0x2e6dd8[_0x13f795(0x29f)](_0x45c5fe());return new _0x4ef6f6[(_0x13f795(0x3cb))](_0x2e6dd8,_0x1f9ded);}}),_0x572d56=_0x3663ce['enc']={},_0xa15d43=_0x572d56[_0x246375(0x4ef)]={'stringify':function(_0x289ef0){var _0xed2da6=_0x246375;for(var _0xd54878=_0x289ef0[_0xed2da6(0x4b8)],_0x517d6e=_0x289ef0['sigBytes'],_0x17a0f9=[],_0x518e6d=0x0;_0x518e6d<_0x517d6e;_0x518e6d++){var _0x5cd19d=_0xd54878[_0x518e6d>>>0x2]>>>0x18-_0x518e6d%0x4*0x8&0xff;_0x17a0f9[_0xed2da6(0x29f)]((_0x5cd19d>>>0x4)[_0xed2da6(0x4de)](0x10)),_0x17a0f9[_0xed2da6(0x29f)]((_0x5cd19d&0xf)[_0xed2da6(0x4de)](0x10));}return _0x17a0f9['join']('');},'parse':function(_0x532df){var _0x8533c5=_0x246375;for(var _0x3de3c1=_0x532df[_0x8533c5(0x372)],_0x392e05=[],_0x198550=0x0;_0x198550<_0x3de3c1;_0x198550+=0x2)_0x392e05[_0x198550>>>0x3]|=parseInt(_0x532df['substr'](_0x198550,0x2),0x10)<<0x18-_0x198550%0x8*0x4;return new _0x4ef6f6[(_0x8533c5(0x3cb))](_0x392e05,_0x3de3c1/0x2);}},_0x1780d3=_0x572d56['Latin1']={'stringify':function(_0x3ea0d5){var _0x1db86=_0x246375;for(var _0x3a9e83=_0x3ea0d5[_0x1db86(0x4b8)],_0x1d141=_0x3ea0d5[_0x1db86(0x510)],_0x4bff00=[],_0x565c63=0x0;_0x565c63<_0x1d141;_0x565c63++){var _0x1a282f=_0x3a9e83[_0x565c63>>>0x2]>>>0x18-_0x565c63%0x4*0x8&0xff;_0x4bff00['push'](String[_0x1db86(0x493)](_0x1a282f));}return _0x4bff00[_0x1db86(0x4a1)]('');},'parse':function(_0x49d763){var _0x2fcc99=_0x246375;for(var _0x46aeac=_0x49d763['length'],_0x508e80=[],_0x42ae1d=0x0;_0x42ae1d<_0x46aeac;_0x42ae1d++)_0x508e80[_0x42ae1d>>>0x2]|=(_0x49d763[_0x2fcc99(0x48d)](_0x42ae1d)&0xff)<<0x18-_0x42ae1d%0x4*0x8;return new _0x4ef6f6['init'](_0x508e80,_0x46aeac);}},_0x5d470c=_0x572d56[_0x246375(0x536)]={'stringify':function(_0x25d819){var _0x3272d5=_0x246375;try{return decodeURIComponent(escape(_0x1780d3[_0x3272d5(0x4e5)](_0x25d819)));}catch{throw new Error(_0x3272d5(0x22f));}},'parse':function(_0x540658){var _0x24cba6=_0x246375;return _0x1780d3[_0x24cba6(0x265)](unescape(encodeURIComponent(_0x540658)));}},_0x5216e4=_0x2b4867['BufferedBlockAlgorithm']=_0x432254['extend']({'reset':function(){var _0x4cdcc1=_0x246375;this[_0x4cdcc1(0x3d1)]=new _0x4ef6f6['init'](),this[_0x4cdcc1(0x517)]=0x0;},'_append':function(_0x3241c9){var _0x304188=_0x246375;typeof _0x3241c9==_0x304188(0x374)&&(_0x3241c9=_0x5d470c['parse'](_0x3241c9)),this[_0x304188(0x3d1)]['concat'](_0x3241c9),this[_0x304188(0x517)]+=_0x3241c9['sigBytes'];},'_process':function(_0x1d2528){var _0x12d664=_0x246375,_0x4ee9d3,_0x62e88c=this[_0x12d664(0x3d1)],_0x359e3c=_0x62e88c[_0x12d664(0x4b8)],_0x1d5553=_0x62e88c[_0x12d664(0x510)],_0x1c87be=this['blockSize'],_0x5b25=_0x1c87be*0x4,_0xf89dad=_0x1d5553/_0x5b25;_0x1d2528?_0xf89dad=_0x403901[_0x12d664(0x268)](_0xf89dad):_0xf89dad=_0x403901[_0x12d664(0x556)]((_0xf89dad|0x0)-this[_0x12d664(0x3cc)],0x0);var _0x1e4929=_0xf89dad*_0x1c87be,_0x50252c=_0x403901[_0x12d664(0x20b)](_0x1e4929*0x4,_0x1d5553);if(_0x1e4929){for(var _0x5dccb7=0x0;_0x5dccb7<_0x1e4929;_0x5dccb7+=_0x1c87be)this[_0x12d664(0x41a)](_0x359e3c,_0x5dccb7);_0x4ee9d3=_0x359e3c[_0x12d664(0x3c5)](0x0,_0x1e4929),_0x62e88c[_0x12d664(0x510)]-=_0x50252c;}return new _0x4ef6f6[(_0x12d664(0x3cb))](_0x4ee9d3,_0x50252c);},'clone':function(){var _0x4279ad=_0x246375,_0xb3df13=_0x432254[_0x4279ad(0x28e)][_0x4279ad(0x3d9)](this);return _0xb3df13['_data']=this[_0x4279ad(0x3d1)]['clone'](),_0xb3df13;},'_minBufferSize':0x0});_0x2b4867[_0x246375(0x4ba)]=_0x5216e4[_0x246375(0x3eb)]({'cfg':_0x432254[_0x246375(0x3eb)](),'init':function(_0x59dfe3){var _0x43b326=_0x246375;this['cfg']=this[_0x43b326(0x4f8)][_0x43b326(0x3eb)](_0x59dfe3),this['reset']();},'reset':function(){var _0x549c82=_0x246375;_0x5216e4[_0x549c82(0x2ed)][_0x549c82(0x3d9)](this),this[_0x549c82(0x356)]();},'update':function(_0x21f75c){var _0x25210a=_0x246375;return this['_append'](_0x21f75c),this[_0x25210a(0x4cb)](),this;},'finalize':function(_0x2f890e){var _0x431058=_0x246375;_0x2f890e&&this['_append'](_0x2f890e);var _0x1685d8=this[_0x431058(0x4e8)]();return _0x1685d8;},'blockSize':0x10,'_createHelper':function(_0x572292){return function(_0x3b0835,_0x567018){var _0x507081=_0x30d9;return new _0x572292[(_0x507081(0x3cb))](_0x567018)[_0x507081(0x471)](_0x3b0835);};},'_createHmacHelper':function(_0x571ceb){return function(_0x5debde,_0x523015){var _0x45a6e7=_0x30d9;return new _0xda986e['HMAC'][(_0x45a6e7(0x3cb))](_0x571ceb,_0x523015)['finalize'](_0x5debde);};}});var _0xda986e=_0x3663ce[_0x246375(0x439)]={};return _0x3663ce;}(Math);return _0x3ce4e6;}));}(_0x1ad4af)),_0x1ad4af['exports'];}var _0xfc6c62={'exports':{}},_0x5128a6=_0xfc6c62['exports'],_0x1bd6fa;function _0x534521(){var _0x55b7c7=_0x48e1d4;return _0x1bd6fa||(_0x1bd6fa=0x1,function(_0x3bfe15,_0xb76ecc){(function(_0x106693,_0x2ff0eb){var _0xbc7c43=_0x30d9;_0x3bfe15[_0xbc7c43(0x1e4)]=_0x2ff0eb(_0x2931f2());}(_0x5128a6,function(_0x5b0c9a){var _0x3dc3ab=_0x30d9;return(function(){var _0x24dd79=_0x30d9,_0x4b3d2a=_0x5b0c9a,_0x368fff=_0x4b3d2a['lib'],_0x4e7106=_0x368fff[_0x24dd79(0x52b)],_0xd6aa07=_0x4b3d2a[_0x24dd79(0x270)];_0xd6aa07[_0x24dd79(0x233)]={'stringify':function(_0x56b01f){var _0x268731=_0x24dd79,_0x313f12=_0x56b01f['words'],_0x3d5f02=_0x56b01f[_0x268731(0x510)],_0x4e9260=this[_0x268731(0x263)];_0x56b01f[_0x268731(0x55d)]();for(var _0x2e0709=[],_0x48c511=0x0;_0x48c511<_0x3d5f02;_0x48c511+=0x3)for(var _0x2b9c79=_0x313f12[_0x48c511>>>0x2]>>>0x18-_0x48c511%0x4*0x8&0xff,_0x3897e1=_0x313f12[_0x48c511+0x1>>>0x2]>>>0x18-(_0x48c511+0x1)%0x4*0x8&0xff,_0x5e8c37=_0x313f12[_0x48c511+0x2>>>0x2]>>>0x18-(_0x48c511+0x2)%0x4*0x8&0xff,_0xc69ea6=_0x2b9c79<<0x10|_0x3897e1<<0x8|_0x5e8c37,_0xe958ac=0x0;_0xe958ac<0x4&&_0x48c511+_0xe958ac*0.75<_0x3d5f02;_0xe958ac++)_0x2e0709[_0x268731(0x29f)](_0x4e9260[_0x268731(0x314)](_0xc69ea6>>>0x6*(0x3-_0xe958ac)&0x3f));var _0x2205d8=_0x4e9260['charAt'](0x40);if(_0x2205d8){for(;_0x2e0709[_0x268731(0x372)]%0x4;)_0x2e0709[_0x268731(0x29f)](_0x2205d8);}return _0x2e0709[_0x268731(0x4a1)]('');},'parse':function(_0x4ebbc7){var _0x152e72=_0x24dd79,_0x1f4c02=_0x4ebbc7[_0x152e72(0x372)],_0x195438=this[_0x152e72(0x263)],_0x26c59f=this[_0x152e72(0x256)];if(!_0x26c59f){_0x26c59f=this[_0x152e72(0x256)]=[];for(var _0x6f17a5=0x0;_0x6f17a5<_0x195438[_0x152e72(0x372)];_0x6f17a5++)_0x26c59f[_0x195438[_0x152e72(0x48d)](_0x6f17a5)]=_0x6f17a5;}var _0x3db148=_0x195438['charAt'](0x40);if(_0x3db148){var _0x5722ca=_0x4ebbc7[_0x152e72(0x2b1)](_0x3db148);_0x5722ca!==-0x1&&(_0x1f4c02=_0x5722ca);}return _0x1f8a24(_0x4ebbc7,_0x1f4c02,_0x26c59f);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1f8a24(_0x2669da,_0x357440,_0x19dc00){var _0x4bc7cd=_0x24dd79;for(var _0x5a98dc=[],_0x298a9b=0x0,_0x27ec39=0x0;_0x27ec39<_0x357440;_0x27ec39++)if(_0x27ec39%0x4){var _0x208ea3=_0x19dc00[_0x2669da[_0x4bc7cd(0x48d)](_0x27ec39-0x1)]<<_0x27ec39%0x4*0x2,_0xd7f6d8=_0x19dc00[_0x2669da['charCodeAt'](_0x27ec39)]>>>0x6-_0x27ec39%0x4*0x2,_0x55dd5c=_0x208ea3|_0xd7f6d8;_0x5a98dc[_0x298a9b>>>0x2]|=_0x55dd5c<<0x18-_0x298a9b%0x4*0x8,_0x298a9b++;}return _0x4e7106[_0x4bc7cd(0x26d)](_0x5a98dc,_0x298a9b);}}()),_0x5b0c9a['enc'][_0x3dc3ab(0x233)];}));}(_0xfc6c62)),_0xfc6c62[_0x55b7c7(0x1e4)];}var _0x3751f7={'exports':{}},_0x2cb9ae=_0x3751f7[_0x48e1d4(0x1e4)],_0xa4807a;function _0x2d3659(){return _0xa4807a||(_0xa4807a=0x1,function(_0x5f4d99,_0x2a4761){(function(_0x544f91,_0x3be382){var _0x239119=_0x30d9;_0x5f4d99[_0x239119(0x1e4)]=_0x3be382(_0x2931f2());}(_0x2cb9ae,function(_0x35453a){var _0x33716c=_0x30d9;return function(_0x3769f8){var _0x14e0ce=_0x30d9,_0x20784b=_0x35453a,_0x409fde=_0x20784b[_0x14e0ce(0x311)],_0x7d003=_0x409fde[_0x14e0ce(0x52b)],_0x562a2f=_0x409fde[_0x14e0ce(0x4ba)],_0x6054e8=_0x20784b[_0x14e0ce(0x439)],_0xf6922c=[];(function(){var _0x130ed6=_0x14e0ce;for(var _0x403444=0x0;_0x403444<0x40;_0x403444++)_0xf6922c[_0x403444]=_0x3769f8[_0x130ed6(0x42c)](_0x3769f8[_0x130ed6(0x4f0)](_0x403444+0x1))*0x100000000|0x0;}());var _0x1f6bf3=_0x6054e8[_0x14e0ce(0x318)]=_0x562a2f[_0x14e0ce(0x3eb)]({'_doReset':function(){var _0x42708b=_0x14e0ce;this[_0x42708b(0x383)]=new _0x7d003[(_0x42708b(0x3cb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f9402,_0x1465cb){var _0x366abb=_0x14e0ce;for(var _0x35eb91=0x0;_0x35eb91<0x10;_0x35eb91++){var _0x4a8704=_0x1465cb+_0x35eb91,_0x27d1cd=_0x2f9402[_0x4a8704];_0x2f9402[_0x4a8704]=(_0x27d1cd<<0x8|_0x27d1cd>>>0x18)&0xff00ff|(_0x27d1cd<<0x18|_0x27d1cd>>>0x8)&0xff00ff00;}var _0x59db13=this[_0x366abb(0x383)][_0x366abb(0x4b8)],_0x313d0b=_0x2f9402[_0x1465cb+0x0],_0x54b6d8=_0x2f9402[_0x1465cb+0x1],_0x363662=_0x2f9402[_0x1465cb+0x2],_0x18c2c5=_0x2f9402[_0x1465cb+0x3],_0x5ac53b=_0x2f9402[_0x1465cb+0x4],_0x4d7bef=_0x2f9402[_0x1465cb+0x5],_0x4ada7a=_0x2f9402[_0x1465cb+0x6],_0x566906=_0x2f9402[_0x1465cb+0x7],_0x52d1f4=_0x2f9402[_0x1465cb+0x8],_0x1bc0bf=_0x2f9402[_0x1465cb+0x9],_0x44cd7a=_0x2f9402[_0x1465cb+0xa],_0x36788a=_0x2f9402[_0x1465cb+0xb],_0x52c703=_0x2f9402[_0x1465cb+0xc],_0x55b80d=_0x2f9402[_0x1465cb+0xd],_0x147f92=_0x2f9402[_0x1465cb+0xe],_0x486704=_0x2f9402[_0x1465cb+0xf],_0x6d44c6=_0x59db13[0x0],_0x51311e=_0x59db13[0x1],_0x1161f2=_0x59db13[0x2],_0x3445e5=_0x59db13[0x3];_0x6d44c6=_0x456443(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x313d0b,0x7,_0xf6922c[0x0]),_0x3445e5=_0x456443(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x54b6d8,0xc,_0xf6922c[0x1]),_0x1161f2=_0x456443(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x363662,0x11,_0xf6922c[0x2]),_0x51311e=_0x456443(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x18c2c5,0x16,_0xf6922c[0x3]),_0x6d44c6=_0x456443(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x5ac53b,0x7,_0xf6922c[0x4]),_0x3445e5=_0x456443(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x4d7bef,0xc,_0xf6922c[0x5]),_0x1161f2=_0x456443(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x4ada7a,0x11,_0xf6922c[0x6]),_0x51311e=_0x456443(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x566906,0x16,_0xf6922c[0x7]),_0x6d44c6=_0x456443(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x52d1f4,0x7,_0xf6922c[0x8]),_0x3445e5=_0x456443(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x1bc0bf,0xc,_0xf6922c[0x9]),_0x1161f2=_0x456443(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x44cd7a,0x11,_0xf6922c[0xa]),_0x51311e=_0x456443(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x36788a,0x16,_0xf6922c[0xb]),_0x6d44c6=_0x456443(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x52c703,0x7,_0xf6922c[0xc]),_0x3445e5=_0x456443(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x55b80d,0xc,_0xf6922c[0xd]),_0x1161f2=_0x456443(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x147f92,0x11,_0xf6922c[0xe]),_0x51311e=_0x456443(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x486704,0x16,_0xf6922c[0xf]),_0x6d44c6=_0x116a86(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x54b6d8,0x5,_0xf6922c[0x10]),_0x3445e5=_0x116a86(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x4ada7a,0x9,_0xf6922c[0x11]),_0x1161f2=_0x116a86(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x36788a,0xe,_0xf6922c[0x12]),_0x51311e=_0x116a86(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x313d0b,0x14,_0xf6922c[0x13]),_0x6d44c6=_0x116a86(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x4d7bef,0x5,_0xf6922c[0x14]),_0x3445e5=_0x116a86(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x44cd7a,0x9,_0xf6922c[0x15]),_0x1161f2=_0x116a86(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x486704,0xe,_0xf6922c[0x16]),_0x51311e=_0x116a86(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x5ac53b,0x14,_0xf6922c[0x17]),_0x6d44c6=_0x116a86(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x1bc0bf,0x5,_0xf6922c[0x18]),_0x3445e5=_0x116a86(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x147f92,0x9,_0xf6922c[0x19]),_0x1161f2=_0x116a86(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x18c2c5,0xe,_0xf6922c[0x1a]),_0x51311e=_0x116a86(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x52d1f4,0x14,_0xf6922c[0x1b]),_0x6d44c6=_0x116a86(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x55b80d,0x5,_0xf6922c[0x1c]),_0x3445e5=_0x116a86(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x363662,0x9,_0xf6922c[0x1d]),_0x1161f2=_0x116a86(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x566906,0xe,_0xf6922c[0x1e]),_0x51311e=_0x116a86(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x52c703,0x14,_0xf6922c[0x1f]),_0x6d44c6=_0x4e8d44(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x4d7bef,0x4,_0xf6922c[0x20]),_0x3445e5=_0x4e8d44(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x52d1f4,0xb,_0xf6922c[0x21]),_0x1161f2=_0x4e8d44(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x36788a,0x10,_0xf6922c[0x22]),_0x51311e=_0x4e8d44(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x147f92,0x17,_0xf6922c[0x23]),_0x6d44c6=_0x4e8d44(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x54b6d8,0x4,_0xf6922c[0x24]),_0x3445e5=_0x4e8d44(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x5ac53b,0xb,_0xf6922c[0x25]),_0x1161f2=_0x4e8d44(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x566906,0x10,_0xf6922c[0x26]),_0x51311e=_0x4e8d44(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x44cd7a,0x17,_0xf6922c[0x27]),_0x6d44c6=_0x4e8d44(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x55b80d,0x4,_0xf6922c[0x28]),_0x3445e5=_0x4e8d44(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x313d0b,0xb,_0xf6922c[0x29]),_0x1161f2=_0x4e8d44(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x18c2c5,0x10,_0xf6922c[0x2a]),_0x51311e=_0x4e8d44(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x4ada7a,0x17,_0xf6922c[0x2b]),_0x6d44c6=_0x4e8d44(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x1bc0bf,0x4,_0xf6922c[0x2c]),_0x3445e5=_0x4e8d44(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x52c703,0xb,_0xf6922c[0x2d]),_0x1161f2=_0x4e8d44(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x486704,0x10,_0xf6922c[0x2e]),_0x51311e=_0x4e8d44(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x363662,0x17,_0xf6922c[0x2f]),_0x6d44c6=_0x201cdc(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x313d0b,0x6,_0xf6922c[0x30]),_0x3445e5=_0x201cdc(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x566906,0xa,_0xf6922c[0x31]),_0x1161f2=_0x201cdc(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x147f92,0xf,_0xf6922c[0x32]),_0x51311e=_0x201cdc(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x4d7bef,0x15,_0xf6922c[0x33]),_0x6d44c6=_0x201cdc(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x52c703,0x6,_0xf6922c[0x34]),_0x3445e5=_0x201cdc(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x18c2c5,0xa,_0xf6922c[0x35]),_0x1161f2=_0x201cdc(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x44cd7a,0xf,_0xf6922c[0x36]),_0x51311e=_0x201cdc(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x54b6d8,0x15,_0xf6922c[0x37]),_0x6d44c6=_0x201cdc(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x52d1f4,0x6,_0xf6922c[0x38]),_0x3445e5=_0x201cdc(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x486704,0xa,_0xf6922c[0x39]),_0x1161f2=_0x201cdc(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x4ada7a,0xf,_0xf6922c[0x3a]),_0x51311e=_0x201cdc(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x55b80d,0x15,_0xf6922c[0x3b]),_0x6d44c6=_0x201cdc(_0x6d44c6,_0x51311e,_0x1161f2,_0x3445e5,_0x5ac53b,0x6,_0xf6922c[0x3c]),_0x3445e5=_0x201cdc(_0x3445e5,_0x6d44c6,_0x51311e,_0x1161f2,_0x36788a,0xa,_0xf6922c[0x3d]),_0x1161f2=_0x201cdc(_0x1161f2,_0x3445e5,_0x6d44c6,_0x51311e,_0x363662,0xf,_0xf6922c[0x3e]),_0x51311e=_0x201cdc(_0x51311e,_0x1161f2,_0x3445e5,_0x6d44c6,_0x1bc0bf,0x15,_0xf6922c[0x3f]),_0x59db13[0x0]=_0x59db13[0x0]+_0x6d44c6|0x0,_0x59db13[0x1]=_0x59db13[0x1]+_0x51311e|0x0,_0x59db13[0x2]=_0x59db13[0x2]+_0x1161f2|0x0,_0x59db13[0x3]=_0x59db13[0x3]+_0x3445e5|0x0;},'_doFinalize':function(){var _0x3971e8=_0x14e0ce,_0x4e1432=this[_0x3971e8(0x3d1)],_0x340501=_0x4e1432[_0x3971e8(0x4b8)],_0x339889=this[_0x3971e8(0x517)]*0x8,_0x3149b9=_0x4e1432[_0x3971e8(0x510)]*0x8;_0x340501[_0x3149b9>>>0x5]|=0x80<<0x18-_0x3149b9%0x20;var _0x5a93df=_0x3769f8[_0x3971e8(0x2e8)](_0x339889/0x100000000),_0x122da0=_0x339889;_0x340501[(_0x3149b9+0x40>>>0x9<<0x4)+0xf]=(_0x5a93df<<0x8|_0x5a93df>>>0x18)&0xff00ff|(_0x5a93df<<0x18|_0x5a93df>>>0x8)&0xff00ff00,_0x340501[(_0x3149b9+0x40>>>0x9<<0x4)+0xe]=(_0x122da0<<0x8|_0x122da0>>>0x18)&0xff00ff|(_0x122da0<<0x18|_0x122da0>>>0x8)&0xff00ff00,_0x4e1432['sigBytes']=(_0x340501[_0x3971e8(0x372)]+0x1)*0x4,this[_0x3971e8(0x4cb)]();for(var _0x1abae6=this[_0x3971e8(0x383)],_0x10563b=_0x1abae6[_0x3971e8(0x4b8)],_0x3e1c0b=0x0;_0x3e1c0b<0x4;_0x3e1c0b++){var _0x5b51f9=_0x10563b[_0x3e1c0b];_0x10563b[_0x3e1c0b]=(_0x5b51f9<<0x8|_0x5b51f9>>>0x18)&0xff00ff|(_0x5b51f9<<0x18|_0x5b51f9>>>0x8)&0xff00ff00;}return _0x1abae6;},'clone':function(){var _0x379fec=_0x14e0ce,_0x52c022=_0x562a2f[_0x379fec(0x28e)][_0x379fec(0x3d9)](this);return _0x52c022[_0x379fec(0x383)]=this[_0x379fec(0x383)]['clone'](),_0x52c022;}});function _0x456443(_0xd6d055,_0x5067df,_0x2961f4,_0x2425fa,_0x22c0ae,_0x4ba592,_0x4130df){var _0x522d64=_0xd6d055+(_0x5067df&_0x2961f4|~_0x5067df&_0x2425fa)+_0x22c0ae+_0x4130df;return(_0x522d64<<_0x4ba592|_0x522d64>>>0x20-_0x4ba592)+_0x5067df;}function _0x116a86(_0x1e0cc2,_0x39156d,_0x230751,_0x487133,_0x3c7c6a,_0x480a9a,_0x20dce1){var _0x4a9aab=_0x1e0cc2+(_0x39156d&_0x487133|_0x230751&~_0x487133)+_0x3c7c6a+_0x20dce1;return(_0x4a9aab<<_0x480a9a|_0x4a9aab>>>0x20-_0x480a9a)+_0x39156d;}function _0x4e8d44(_0x34de86,_0x5f57da,_0x253901,_0x25a720,_0x555d67,_0x36b8bf,_0x430f93){var _0x1715b8=_0x34de86+(_0x5f57da^_0x253901^_0x25a720)+_0x555d67+_0x430f93;return(_0x1715b8<<_0x36b8bf|_0x1715b8>>>0x20-_0x36b8bf)+_0x5f57da;}function _0x201cdc(_0x28582e,_0x94361,_0x142e1d,_0x58a340,_0xf860b2,_0x4ba055,_0x242f36){var _0x104f68=_0x28582e+(_0x142e1d^(_0x94361|~_0x58a340))+_0xf860b2+_0x242f36;return(_0x104f68<<_0x4ba055|_0x104f68>>>0x20-_0x4ba055)+_0x94361;}_0x20784b[_0x14e0ce(0x318)]=_0x562a2f[_0x14e0ce(0x2f5)](_0x1f6bf3),_0x20784b[_0x14e0ce(0x1e1)]=_0x562a2f[_0x14e0ce(0x23a)](_0x1f6bf3);}(Math),_0x35453a[_0x33716c(0x318)];}));}(_0x3751f7)),_0x3751f7['exports'];}var _0x3d864b={'exports':{}},_0xc77192={'exports':{}},_0xa42219=_0xc77192['exports'],_0x5e02b6;function _0xd58e07(){var _0x126fe0=_0x48e1d4;return _0x5e02b6||(_0x5e02b6=0x1,function(_0x5e7abb,_0x177ce1){(function(_0xf3cd16,_0x1bb70e){var _0x1d3f7f=_0x30d9;_0x5e7abb[_0x1d3f7f(0x1e4)]=_0x1bb70e(_0x2931f2());}(_0xa42219,function(_0x473a6f){var _0x3d0592=_0x30d9;return(function(){var _0x3a84b4=_0x30d9,_0x118262=_0x473a6f,_0x2de1f6=_0x118262[_0x3a84b4(0x311)],_0x216549=_0x2de1f6[_0x3a84b4(0x52b)],_0xca1fda=_0x2de1f6[_0x3a84b4(0x4ba)],_0x26e6c8=_0x118262[_0x3a84b4(0x439)],_0x47b19e=[],_0x503df7=_0x26e6c8[_0x3a84b4(0x36a)]=_0xca1fda[_0x3a84b4(0x3eb)]({'_doReset':function(){var _0x73fa8e=_0x3a84b4;this[_0x73fa8e(0x383)]=new _0x216549[(_0x73fa8e(0x3cb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x89daa3,_0xf13436){var _0x2588bc=_0x3a84b4;for(var _0x2bb547=this[_0x2588bc(0x383)][_0x2588bc(0x4b8)],_0x2523f2=_0x2bb547[0x0],_0x2ee3d0=_0x2bb547[0x1],_0xf8c809=_0x2bb547[0x2],_0xaa6e1f=_0x2bb547[0x3],_0x3ba1d=_0x2bb547[0x4],_0x12ae58=0x0;_0x12ae58<0x50;_0x12ae58++){if(_0x12ae58<0x10)_0x47b19e[_0x12ae58]=_0x89daa3[_0xf13436+_0x12ae58]|0x0;else{var _0x39a7e7=_0x47b19e[_0x12ae58-0x3]^_0x47b19e[_0x12ae58-0x8]^_0x47b19e[_0x12ae58-0xe]^_0x47b19e[_0x12ae58-0x10];_0x47b19e[_0x12ae58]=_0x39a7e7<<0x1|_0x39a7e7>>>0x1f;}var _0x24004c=(_0x2523f2<<0x5|_0x2523f2>>>0x1b)+_0x3ba1d+_0x47b19e[_0x12ae58];_0x12ae58<0x14?_0x24004c+=(_0x2ee3d0&_0xf8c809|~_0x2ee3d0&_0xaa6e1f)+0x5a827999:_0x12ae58<0x28?_0x24004c+=(_0x2ee3d0^_0xf8c809^_0xaa6e1f)+0x6ed9eba1:_0x12ae58<0x3c?_0x24004c+=(_0x2ee3d0&_0xf8c809|_0x2ee3d0&_0xaa6e1f|_0xf8c809&_0xaa6e1f)-0x70e44324:_0x24004c+=(_0x2ee3d0^_0xf8c809^_0xaa6e1f)-0x359d3e2a,_0x3ba1d=_0xaa6e1f,_0xaa6e1f=_0xf8c809,_0xf8c809=_0x2ee3d0<<0x1e|_0x2ee3d0>>>0x2,_0x2ee3d0=_0x2523f2,_0x2523f2=_0x24004c;}_0x2bb547[0x0]=_0x2bb547[0x0]+_0x2523f2|0x0,_0x2bb547[0x1]=_0x2bb547[0x1]+_0x2ee3d0|0x0,_0x2bb547[0x2]=_0x2bb547[0x2]+_0xf8c809|0x0,_0x2bb547[0x3]=_0x2bb547[0x3]+_0xaa6e1f|0x0,_0x2bb547[0x4]=_0x2bb547[0x4]+_0x3ba1d|0x0;},'_doFinalize':function(){var _0xa62017=_0x3a84b4,_0x53422d=this['_data'],_0x4f3b4f=_0x53422d[_0xa62017(0x4b8)],_0x349ff9=this['_nDataBytes']*0x8,_0x18c180=_0x53422d['sigBytes']*0x8;return _0x4f3b4f[_0x18c180>>>0x5]|=0x80<<0x18-_0x18c180%0x20,_0x4f3b4f[(_0x18c180+0x40>>>0x9<<0x4)+0xe]=Math[_0xa62017(0x2e8)](_0x349ff9/0x100000000),_0x4f3b4f[(_0x18c180+0x40>>>0x9<<0x4)+0xf]=_0x349ff9,_0x53422d[_0xa62017(0x510)]=_0x4f3b4f['length']*0x4,this[_0xa62017(0x4cb)](),this[_0xa62017(0x383)];},'clone':function(){var _0x24a8c3=_0x3a84b4,_0x163844=_0xca1fda['clone']['call'](this);return _0x163844[_0x24a8c3(0x383)]=this[_0x24a8c3(0x383)][_0x24a8c3(0x28e)](),_0x163844;}});_0x118262[_0x3a84b4(0x36a)]=_0xca1fda['_createHelper'](_0x503df7),_0x118262[_0x3a84b4(0x293)]=_0xca1fda[_0x3a84b4(0x23a)](_0x503df7);}()),_0x473a6f[_0x3d0592(0x36a)];}));}(_0xc77192)),_0xc77192[_0x126fe0(0x1e4)];}var _0xc1b235={'exports':{}},_0x4a84d6=_0xc1b235['exports'],_0x1ae083;function _0x1fa3df(){return _0x1ae083||(_0x1ae083=0x1,function(_0x19cf22,_0x1af854){(function(_0x36f042,_0x24babe){_0x19cf22['exports']=_0x24babe(_0x2931f2());}(_0x4a84d6,function(_0x33c932){(function(){var _0x55913b=_0x30d9,_0x3a3ce8=_0x33c932,_0x374598=_0x3a3ce8[_0x55913b(0x311)],_0x5a8fb2=_0x374598['Base'],_0x1bd0c9=_0x3a3ce8[_0x55913b(0x270)],_0x30f684=_0x1bd0c9[_0x55913b(0x536)],_0x2fdc53=_0x3a3ce8[_0x55913b(0x439)];_0x2fdc53[_0x55913b(0x508)]=_0x5a8fb2[_0x55913b(0x3eb)]({'init':function(_0x446dae,_0x278701){var _0x2a7f6d=_0x55913b;_0x446dae=this[_0x2a7f6d(0x46f)]=new _0x446dae[(_0x2a7f6d(0x3cb))](),typeof _0x278701==_0x2a7f6d(0x374)&&(_0x278701=_0x30f684[_0x2a7f6d(0x265)](_0x278701));var _0x1731e1=_0x446dae[_0x2a7f6d(0x3bc)],_0x2dc930=_0x1731e1*0x4;_0x278701[_0x2a7f6d(0x510)]>_0x2dc930&&(_0x278701=_0x446dae[_0x2a7f6d(0x471)](_0x278701)),_0x278701[_0x2a7f6d(0x55d)]();for(var _0x4bd585=this[_0x2a7f6d(0x239)]=_0x278701[_0x2a7f6d(0x28e)](),_0x1d4baa=this['_iKey']=_0x278701[_0x2a7f6d(0x28e)](),_0xbcac31=_0x4bd585[_0x2a7f6d(0x4b8)],_0x174fcb=_0x1d4baa['words'],_0x1d2085=0x0;_0x1d2085<_0x1731e1;_0x1d2085++)_0xbcac31[_0x1d2085]^=0x5c5c5c5c,_0x174fcb[_0x1d2085]^=0x36363636;_0x4bd585[_0x2a7f6d(0x510)]=_0x1d4baa[_0x2a7f6d(0x510)]=_0x2dc930,this[_0x2a7f6d(0x2ed)]();},'reset':function(){var _0x2f95b6=_0x55913b,_0x3340fe=this[_0x2f95b6(0x46f)];_0x3340fe[_0x2f95b6(0x2ed)](),_0x3340fe[_0x2f95b6(0x498)](this[_0x2f95b6(0x3f0)]);},'update':function(_0x403097){var _0x343f7d=_0x55913b;return this[_0x343f7d(0x46f)][_0x343f7d(0x498)](_0x403097),this;},'finalize':function(_0x19b611){var _0x176554=_0x55913b,_0x422554=this[_0x176554(0x46f)],_0xb39bdf=_0x422554[_0x176554(0x471)](_0x19b611);_0x422554[_0x176554(0x2ed)]();var _0x4f4ecc=_0x422554[_0x176554(0x471)](this['_oKey'][_0x176554(0x28e)]()[_0x176554(0x3f3)](_0xb39bdf));return _0x4f4ecc;}});}());}));}(_0xc1b235)),_0xc1b235['exports'];}var _0x11afa2=_0x3d864b[_0x48e1d4(0x1e4)],_0x29abf8;function _0x200ac2(){var _0x3a123d=_0x48e1d4;return _0x29abf8||(_0x29abf8=0x1,function(_0x4117c5,_0xce6644){(function(_0x36751d,_0x702a60,_0x1fb244){var _0x3de1a1=_0x30d9;_0x4117c5[_0x3de1a1(0x1e4)]=_0x702a60(_0x2931f2(),_0xd58e07(),_0x1fa3df());}(_0x11afa2,function(_0x104d88){return(function(){var _0x225d18=_0x30d9,_0xff14ea=_0x104d88,_0x613523=_0xff14ea[_0x225d18(0x311)],_0x285bfc=_0x613523['Base'],_0x1e6358=_0x613523['WordArray'],_0x15c313=_0xff14ea[_0x225d18(0x439)],_0x43d7d8=_0x15c313[_0x225d18(0x318)],_0x58ab9a=_0x15c313['EvpKDF']=_0x285bfc[_0x225d18(0x3eb)]({'cfg':_0x285bfc['extend']({'keySize':0x80/0x20,'hasher':_0x43d7d8,'iterations':0x1}),'init':function(_0xe004cc){var _0x459cb2=_0x225d18;this[_0x459cb2(0x4f8)]=this['cfg'][_0x459cb2(0x3eb)](_0xe004cc);},'compute':function(_0x4035f4,_0x5e466b){var _0x28b91b=_0x225d18;for(var _0x38137a,_0x22c52d=this[_0x28b91b(0x4f8)],_0x29c282=_0x22c52d[_0x28b91b(0x3be)][_0x28b91b(0x26d)](),_0x81c0f0=_0x1e6358[_0x28b91b(0x26d)](),_0x22c6fa=_0x81c0f0[_0x28b91b(0x4b8)],_0x239640=_0x22c52d[_0x28b91b(0x34a)],_0x3bdb74=_0x22c52d[_0x28b91b(0x2e3)];_0x22c6fa[_0x28b91b(0x372)]<_0x239640;){_0x38137a&&_0x29c282[_0x28b91b(0x498)](_0x38137a),_0x38137a=_0x29c282['update'](_0x4035f4)[_0x28b91b(0x471)](_0x5e466b),_0x29c282['reset']();for(var _0x5fbb6e=0x1;_0x5fbb6e<_0x3bdb74;_0x5fbb6e++)_0x38137a=_0x29c282[_0x28b91b(0x471)](_0x38137a),_0x29c282[_0x28b91b(0x2ed)]();_0x81c0f0['concat'](_0x38137a);}return _0x81c0f0[_0x28b91b(0x510)]=_0x239640*0x4,_0x81c0f0;}});_0xff14ea[_0x225d18(0x446)]=function(_0x340c7b,_0x4cd09c,_0x31e928){var _0x191f42=_0x225d18;return _0x58ab9a[_0x191f42(0x26d)](_0x31e928)[_0x191f42(0x3a9)](_0x340c7b,_0x4cd09c);};}()),_0x104d88['EvpKDF'];}));}(_0x3d864b)),_0x3d864b[_0x3a123d(0x1e4)];}var _0x132f43={'exports':{}},_0x2e8504=_0x132f43[_0x48e1d4(0x1e4)],_0x42683f;function _0x4485e2(){var _0x35ce1b=_0x48e1d4;return _0x42683f||(_0x42683f=0x1,function(_0x282637,_0x49990e){(function(_0x519fd9,_0x42ef53,_0xf2fe50){var _0xb80231=_0x30d9;_0x282637[_0xb80231(0x1e4)]=_0x42ef53(_0x2931f2(),_0x200ac2());}(_0x2e8504,function(_0x5a1819){var _0x19f159=_0x30d9;_0x5a1819[_0x19f159(0x311)][_0x19f159(0x43a)]||function(_0x718ff6){var _0x40147f=_0x19f159,_0x8ab8f=_0x5a1819,_0xa1bc42=_0x8ab8f[_0x40147f(0x311)],_0x3d12ef=_0xa1bc42[_0x40147f(0x4c1)],_0x89b01b=_0xa1bc42[_0x40147f(0x52b)],_0x371990=_0xa1bc42[_0x40147f(0x45e)],_0x376d89=_0x8ab8f[_0x40147f(0x270)];_0x376d89[_0x40147f(0x536)];var _0x525cb2=_0x376d89['Base64'],_0x6d9cd7=_0x8ab8f[_0x40147f(0x439)],_0x6cf253=_0x6d9cd7[_0x40147f(0x446)],_0x7f7060=_0xa1bc42[_0x40147f(0x43a)]=_0x371990[_0x40147f(0x3eb)]({'cfg':_0x3d12ef['extend'](),'createEncryptor':function(_0x31d228,_0x321dbb){var _0x4fd797=_0x40147f;return this[_0x4fd797(0x26d)](this[_0x4fd797(0x39c)],_0x31d228,_0x321dbb);},'createDecryptor':function(_0x290f58,_0x33f3c6){var _0xf1c84e=_0x40147f;return this['create'](this[_0xf1c84e(0x4e0)],_0x290f58,_0x33f3c6);},'init':function(_0x4e8d83,_0x4c4e71,_0x54bc18){var _0x5478c9=_0x40147f;this[_0x5478c9(0x4f8)]=this[_0x5478c9(0x4f8)]['extend'](_0x54bc18),this['_xformMode']=_0x4e8d83,this[_0x5478c9(0x1f1)]=_0x4c4e71,this[_0x5478c9(0x2ed)]();},'reset':function(){var _0x3ecbdd=_0x40147f;_0x371990[_0x3ecbdd(0x2ed)]['call'](this),this[_0x3ecbdd(0x356)]();},'process':function(_0x434f96){var _0xb9cada=_0x40147f;return this['_append'](_0x434f96),this[_0xb9cada(0x4cb)]();},'finalize':function(_0x4c9549){var _0x2f1212=_0x40147f;_0x4c9549&&this['_append'](_0x4c9549);var _0x4caf3c=this[_0x2f1212(0x4e8)]();return _0x4caf3c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3b90d2(_0x556951){return typeof _0x556951=='string'?_0x2dfdae:_0x317fd1;}return function(_0x2a8e48){return{'encrypt':function(_0x5b0ba4,_0x428647,_0x431cb1){return _0x3b90d2(_0x428647)['encrypt'](_0x2a8e48,_0x5b0ba4,_0x428647,_0x431cb1);},'decrypt':function(_0x4a4ee2,_0x53cbb2,_0x51a81e){return _0x3b90d2(_0x53cbb2)['decrypt'](_0x2a8e48,_0x4a4ee2,_0x53cbb2,_0x51a81e);}};};}())});_0xa1bc42['StreamCipher']=_0x7f7060[_0x40147f(0x3eb)]({'_doFinalize':function(){var _0x3c6e0a=_0x40147f,_0x7afe15=this[_0x3c6e0a(0x4cb)](!0x0);return _0x7afe15;},'blockSize':0x1});var _0x21701c=_0x8ab8f['mode']={},_0x439f1f=_0xa1bc42[_0x40147f(0x2d8)]=_0x3d12ef['extend']({'createEncryptor':function(_0x317824,_0x57ce7c){var _0x5a653c=_0x40147f;return this['Encryptor'][_0x5a653c(0x26d)](_0x317824,_0x57ce7c);},'createDecryptor':function(_0x21b9ec,_0x1134f6){var _0x217507=_0x40147f;return this['Decryptor'][_0x217507(0x26d)](_0x21b9ec,_0x1134f6);},'init':function(_0x3998b5,_0x5c6933){var _0x17da29=_0x40147f;this[_0x17da29(0x4d0)]=_0x3998b5,this[_0x17da29(0x4ed)]=_0x5c6933;}}),_0x1d74b6=_0x21701c[_0x40147f(0x568)]=(function(){var _0x2dcc8a=_0x40147f,_0x2f0b31=_0x439f1f[_0x2dcc8a(0x3eb)]();_0x2f0b31[_0x2dcc8a(0x357)]=_0x2f0b31[_0x2dcc8a(0x3eb)]({'processBlock':function(_0x443fd0,_0x4773f6){var _0x2772e5=_0x2dcc8a,_0x1ca14a=this[_0x2772e5(0x4d0)],_0x3782f4=_0x1ca14a[_0x2772e5(0x3bc)];_0x4acae6['call'](this,_0x443fd0,_0x4773f6,_0x3782f4),_0x1ca14a[_0x2772e5(0x32c)](_0x443fd0,_0x4773f6),this['_prevBlock']=_0x443fd0[_0x2772e5(0x290)](_0x4773f6,_0x4773f6+_0x3782f4);}}),_0x2f0b31[_0x2dcc8a(0x49f)]=_0x2f0b31[_0x2dcc8a(0x3eb)]({'processBlock':function(_0x5bb004,_0x1d046a){var _0x1e1dd7=_0x2dcc8a,_0xfd7b65=this[_0x1e1dd7(0x4d0)],_0x16bb7e=_0xfd7b65['blockSize'],_0x10f907=_0x5bb004[_0x1e1dd7(0x290)](_0x1d046a,_0x1d046a+_0x16bb7e);_0xfd7b65['decryptBlock'](_0x5bb004,_0x1d046a),_0x4acae6['call'](this,_0x5bb004,_0x1d046a,_0x16bb7e),this[_0x1e1dd7(0x558)]=_0x10f907;}});function _0x4acae6(_0x574724,_0x44de48,_0x300df9){var _0x585996=_0x2dcc8a,_0x38e6d4,_0x465137=this[_0x585996(0x4ed)];_0x465137?(_0x38e6d4=_0x465137,this[_0x585996(0x4ed)]=_0x718ff6):_0x38e6d4=this[_0x585996(0x558)];for(var _0x400233=0x0;_0x400233<_0x300df9;_0x400233++)_0x574724[_0x44de48+_0x400233]^=_0x38e6d4[_0x400233];}return _0x2f0b31;}()),_0x19c384=_0x8ab8f[_0x40147f(0x3a5)]={},_0x5b706e=_0x19c384[_0x40147f(0x4b3)]={'pad':function(_0x336e14,_0x870f88){var _0x43dbf5=_0x40147f;for(var _0x2a08cf=_0x870f88*0x4,_0x1c5480=_0x2a08cf-_0x336e14[_0x43dbf5(0x510)]%_0x2a08cf,_0x401b35=_0x1c5480<<0x18|_0x1c5480<<0x10|_0x1c5480<<0x8|_0x1c5480,_0x423af4=[],_0x58947e=0x0;_0x58947e<_0x1c5480;_0x58947e+=0x4)_0x423af4[_0x43dbf5(0x29f)](_0x401b35);var _0x4a4e6b=_0x89b01b['create'](_0x423af4,_0x1c5480);_0x336e14[_0x43dbf5(0x3f3)](_0x4a4e6b);},'unpad':function(_0x60b4df){var _0x5a2bba=_0x40147f,_0x24c703=_0x60b4df['words'][_0x60b4df[_0x5a2bba(0x510)]-0x1>>>0x2]&0xff;_0x60b4df[_0x5a2bba(0x510)]-=_0x24c703;}};_0xa1bc42[_0x40147f(0x27b)]=_0x7f7060[_0x40147f(0x3eb)]({'cfg':_0x7f7060[_0x40147f(0x4f8)][_0x40147f(0x3eb)]({'mode':_0x1d74b6,'padding':_0x5b706e}),'reset':function(){var _0x2839ee=_0x40147f,_0x588ef3;_0x7f7060[_0x2839ee(0x2ed)]['call'](this);var _0x2a9491=this[_0x2839ee(0x4f8)],_0x4861f6=_0x2a9491['iv'],_0x50d9d7=_0x2a9491[_0x2839ee(0x55f)];this['_xformMode']==this[_0x2839ee(0x39c)]?_0x588ef3=_0x50d9d7[_0x2839ee(0x4cd)]:(_0x588ef3=_0x50d9d7[_0x2839ee(0x325)],this[_0x2839ee(0x3cc)]=0x1),this['_mode']&&this['_mode'][_0x2839ee(0x4b4)]==_0x588ef3?this[_0x2839ee(0x247)]['init'](this,_0x4861f6&&_0x4861f6[_0x2839ee(0x4b8)]):(this['_mode']=_0x588ef3['call'](_0x50d9d7,this,_0x4861f6&&_0x4861f6[_0x2839ee(0x4b8)]),this[_0x2839ee(0x247)][_0x2839ee(0x4b4)]=_0x588ef3);},'_doProcessBlock':function(_0x2dcb0f,_0x17fd38){var _0x25cf8a=_0x40147f;this[_0x25cf8a(0x247)][_0x25cf8a(0x2bb)](_0x2dcb0f,_0x17fd38);},'_doFinalize':function(){var _0x3bb6c7=_0x40147f,_0x177b4c,_0xa4851c=this[_0x3bb6c7(0x4f8)][_0x3bb6c7(0x28d)];return this[_0x3bb6c7(0x42e)]==this['_ENC_XFORM_MODE']?(_0xa4851c['pad'](this['_data'],this['blockSize']),_0x177b4c=this[_0x3bb6c7(0x4cb)](!0x0)):(_0x177b4c=this[_0x3bb6c7(0x4cb)](!0x0),_0xa4851c['unpad'](_0x177b4c)),_0x177b4c;},'blockSize':0x80/0x20});var _0x27fc26=_0xa1bc42[_0x40147f(0x4ec)]=_0x3d12ef[_0x40147f(0x3eb)]({'init':function(_0x28db2f){var _0x192d02=_0x40147f;this[_0x192d02(0x351)](_0x28db2f);},'toString':function(_0xb31ac7){return(_0xb31ac7||this['formatter'])['stringify'](this);}}),_0x348357=_0x8ab8f['format']={},_0x238584=_0x348357[_0x40147f(0x47c)]={'stringify':function(_0x4b632c){var _0x2d90ec=_0x40147f,_0x39fb93,_0x2d5814=_0x4b632c[_0x2d90ec(0x535)],_0xeebf4e=_0x4b632c[_0x2d90ec(0x2f7)];return _0xeebf4e?_0x39fb93=_0x89b01b[_0x2d90ec(0x26d)]([0x53616c74,0x65645f5f])['concat'](_0xeebf4e)['concat'](_0x2d5814):_0x39fb93=_0x2d5814,_0x39fb93[_0x2d90ec(0x4de)](_0x525cb2);},'parse':function(_0x74256f){var _0x24c847=_0x40147f,_0x405531,_0x44ef2a=_0x525cb2[_0x24c847(0x265)](_0x74256f),_0x3d296f=_0x44ef2a['words'];return _0x3d296f[0x0]==0x53616c74&&_0x3d296f[0x1]==0x65645f5f&&(_0x405531=_0x89b01b[_0x24c847(0x26d)](_0x3d296f[_0x24c847(0x290)](0x2,0x4)),_0x3d296f[_0x24c847(0x3c5)](0x0,0x4),_0x44ef2a['sigBytes']-=0x10),_0x27fc26['create']({'ciphertext':_0x44ef2a,'salt':_0x405531});}},_0x317fd1=_0xa1bc42[_0x40147f(0x217)]=_0x3d12ef[_0x40147f(0x3eb)]({'cfg':_0x3d12ef[_0x40147f(0x3eb)]({'format':_0x238584}),'encrypt':function(_0x45d0c0,_0x186a70,_0x5345ad,_0x457828){var _0x1ffc48=_0x40147f;_0x457828=this[_0x1ffc48(0x4f8)]['extend'](_0x457828);var _0x29f9e0=_0x45d0c0[_0x1ffc48(0x4cd)](_0x5345ad,_0x457828),_0x4f9323=_0x29f9e0[_0x1ffc48(0x471)](_0x186a70),_0x11b0aa=_0x29f9e0['cfg'];return _0x27fc26[_0x1ffc48(0x26d)]({'ciphertext':_0x4f9323,'key':_0x5345ad,'iv':_0x11b0aa['iv'],'algorithm':_0x45d0c0,'mode':_0x11b0aa['mode'],'padding':_0x11b0aa[_0x1ffc48(0x28d)],'blockSize':_0x45d0c0[_0x1ffc48(0x3bc)],'formatter':_0x457828[_0x1ffc48(0x346)]});},'decrypt':function(_0x5ae512,_0x34721f,_0x26ec2b,_0x1a185e){var _0x526cd5=_0x40147f;_0x1a185e=this[_0x526cd5(0x4f8)][_0x526cd5(0x3eb)](_0x1a185e),_0x34721f=this[_0x526cd5(0x2bd)](_0x34721f,_0x1a185e['format']);var _0x21cfaf=_0x5ae512['createDecryptor'](_0x26ec2b,_0x1a185e)['finalize'](_0x34721f[_0x526cd5(0x535)]);return _0x21cfaf;},'_parse':function(_0x130c03,_0x32d344){var _0x10290c=_0x40147f;return typeof _0x130c03==_0x10290c(0x374)?_0x32d344[_0x10290c(0x265)](_0x130c03,this):_0x130c03;}}),_0xce0bde=_0x8ab8f[_0x40147f(0x4d6)]={},_0x330d79=_0xce0bde[_0x40147f(0x47c)]={'execute':function(_0x2f1a35,_0xb596ab,_0x385b61,_0x1e1f6e,_0x2f93d0){var _0x408f2b=_0x40147f;if(_0x1e1f6e||(_0x1e1f6e=_0x89b01b[_0x408f2b(0x472)](0x40/0x8)),_0x2f93d0)var _0x1a4626=_0x6cf253[_0x408f2b(0x26d)]({'keySize':_0xb596ab+_0x385b61,'hasher':_0x2f93d0})[_0x408f2b(0x3a9)](_0x2f1a35,_0x1e1f6e);else var _0x1a4626=_0x6cf253[_0x408f2b(0x26d)]({'keySize':_0xb596ab+_0x385b61})[_0x408f2b(0x3a9)](_0x2f1a35,_0x1e1f6e);var _0x2991e6=_0x89b01b[_0x408f2b(0x26d)](_0x1a4626[_0x408f2b(0x4b8)][_0x408f2b(0x290)](_0xb596ab),_0x385b61*0x4);return _0x1a4626[_0x408f2b(0x510)]=_0xb596ab*0x4,_0x27fc26[_0x408f2b(0x26d)]({'key':_0x1a4626,'iv':_0x2991e6,'salt':_0x1e1f6e});}},_0x2dfdae=_0xa1bc42[_0x40147f(0x23f)]=_0x317fd1[_0x40147f(0x3eb)]({'cfg':_0x317fd1[_0x40147f(0x4f8)][_0x40147f(0x3eb)]({'kdf':_0x330d79}),'encrypt':function(_0x13876b,_0x1e4dae,_0x119211,_0x2b4a30){var _0x13caf0=_0x40147f;_0x2b4a30=this[_0x13caf0(0x4f8)][_0x13caf0(0x3eb)](_0x2b4a30);var _0x1402df=_0x2b4a30['kdf']['execute'](_0x119211,_0x13876b[_0x13caf0(0x34a)],_0x13876b[_0x13caf0(0x335)],_0x2b4a30[_0x13caf0(0x2f7)],_0x2b4a30[_0x13caf0(0x3be)]);_0x2b4a30['iv']=_0x1402df['iv'];var _0xc8bcf=_0x317fd1[_0x13caf0(0x220)][_0x13caf0(0x3d9)](this,_0x13876b,_0x1e4dae,_0x1402df[_0x13caf0(0x415)],_0x2b4a30);return _0xc8bcf[_0x13caf0(0x351)](_0x1402df),_0xc8bcf;},'decrypt':function(_0x29020e,_0x1a86d4,_0xa02092,_0x2aeb2f){var _0x3f7744=_0x40147f;_0x2aeb2f=this[_0x3f7744(0x4f8)][_0x3f7744(0x3eb)](_0x2aeb2f),_0x1a86d4=this[_0x3f7744(0x2bd)](_0x1a86d4,_0x2aeb2f[_0x3f7744(0x346)]);var _0x57edbc=_0x2aeb2f[_0x3f7744(0x4d6)][_0x3f7744(0x319)](_0xa02092,_0x29020e['keySize'],_0x29020e[_0x3f7744(0x335)],_0x1a86d4[_0x3f7744(0x2f7)],_0x2aeb2f[_0x3f7744(0x3be)]);_0x2aeb2f['iv']=_0x57edbc['iv'];var _0x1e2dc7=_0x317fd1[_0x3f7744(0x286)][_0x3f7744(0x3d9)](this,_0x29020e,_0x1a86d4,_0x57edbc['key'],_0x2aeb2f);return _0x1e2dc7;}});}();}));}(_0x132f43)),_0x132f43[_0x35ce1b(0x1e4)];}var _0x23e8d1=_0x5ec66b[_0x48e1d4(0x1e4)],_0x4e9874;function _0x39700b(){var _0x344de3=_0x48e1d4;return _0x4e9874||(_0x4e9874=0x1,function(_0x498653,_0xab6478){(function(_0x1e86de,_0x555e84,_0x349c38){var _0x23ee50=_0x30d9;_0x498653[_0x23ee50(0x1e4)]=_0x555e84(_0x2931f2(),_0x534521(),_0x2d3659(),_0x200ac2(),_0x4485e2());}(_0x23e8d1,function(_0x4232d2){var _0x1ce42b=_0x30d9;return(function(){var _0x371398=_0x30d9,_0x41e6f6=_0x4232d2,_0xa57114=_0x41e6f6[_0x371398(0x311)],_0x2caec7=_0xa57114[_0x371398(0x27b)],_0x252048=_0x41e6f6['algo'],_0x1bac04=[],_0x4c126e=[],_0x55a63c=[],_0x24c567=[],_0x4971b1=[],_0x34ee81=[],_0x55676d=[],_0x27d884=[],_0x38a0c0=[],_0x2179f6=[];(function(){for(var _0x558107=[],_0x591c18=0x0;_0x591c18<0x100;_0x591c18++)_0x591c18<0x80?_0x558107[_0x591c18]=_0x591c18<<0x1:_0x558107[_0x591c18]=_0x591c18<<0x1^0x11b;for(var _0xdb530a=0x0,_0x21fbac=0x0,_0x591c18=0x0;_0x591c18<0x100;_0x591c18++){var _0x48697f=_0x21fbac^_0x21fbac<<0x1^_0x21fbac<<0x2^_0x21fbac<<0x3^_0x21fbac<<0x4;_0x48697f=_0x48697f>>>0x8^_0x48697f&0xff^0x63,_0x1bac04[_0xdb530a]=_0x48697f,_0x4c126e[_0x48697f]=_0xdb530a;var _0x120e7b=_0x558107[_0xdb530a],_0xebc060=_0x558107[_0x120e7b],_0x2cdccb=_0x558107[_0xebc060],_0x3ad54c=_0x558107[_0x48697f]*0x101^_0x48697f*0x1010100;_0x55a63c[_0xdb530a]=_0x3ad54c<<0x18|_0x3ad54c>>>0x8,_0x24c567[_0xdb530a]=_0x3ad54c<<0x10|_0x3ad54c>>>0x10,_0x4971b1[_0xdb530a]=_0x3ad54c<<0x8|_0x3ad54c>>>0x18,_0x34ee81[_0xdb530a]=_0x3ad54c;var _0x3ad54c=_0x2cdccb*0x1010101^_0xebc060*0x10001^_0x120e7b*0x101^_0xdb530a*0x1010100;_0x55676d[_0x48697f]=_0x3ad54c<<0x18|_0x3ad54c>>>0x8,_0x27d884[_0x48697f]=_0x3ad54c<<0x10|_0x3ad54c>>>0x10,_0x38a0c0[_0x48697f]=_0x3ad54c<<0x8|_0x3ad54c>>>0x18,_0x2179f6[_0x48697f]=_0x3ad54c,_0xdb530a?(_0xdb530a=_0x120e7b^_0x558107[_0x558107[_0x558107[_0x2cdccb^_0x120e7b]]],_0x21fbac^=_0x558107[_0x558107[_0x21fbac]]):_0xdb530a=_0x21fbac=0x1;}}());var _0x7c7a4c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x115ffd=_0x252048[_0x371398(0x464)]=_0x2caec7[_0x371398(0x3eb)]({'_doReset':function(){var _0x56657c=_0x371398,_0x5da652;if(!(this[_0x56657c(0x205)]&&this['_keyPriorReset']===this[_0x56657c(0x1f1)])){for(var _0x17b393=this[_0x56657c(0x28b)]=this[_0x56657c(0x1f1)],_0x2a95df=_0x17b393[_0x56657c(0x4b8)],_0x70c5c9=_0x17b393[_0x56657c(0x510)]/0x4,_0x570703=this[_0x56657c(0x205)]=_0x70c5c9+0x6,_0x38d7f9=(_0x570703+0x1)*0x4,_0x382c15=this[_0x56657c(0x1f4)]=[],_0x313f66=0x0;_0x313f66<_0x38d7f9;_0x313f66++)_0x313f66<_0x70c5c9?_0x382c15[_0x313f66]=_0x2a95df[_0x313f66]:(_0x5da652=_0x382c15[_0x313f66-0x1],_0x313f66%_0x70c5c9?_0x70c5c9>0x6&&_0x313f66%_0x70c5c9==0x4&&(_0x5da652=_0x1bac04[_0x5da652>>>0x18]<<0x18|_0x1bac04[_0x5da652>>>0x10&0xff]<<0x10|_0x1bac04[_0x5da652>>>0x8&0xff]<<0x8|_0x1bac04[_0x5da652&0xff]):(_0x5da652=_0x5da652<<0x8|_0x5da652>>>0x18,_0x5da652=_0x1bac04[_0x5da652>>>0x18]<<0x18|_0x1bac04[_0x5da652>>>0x10&0xff]<<0x10|_0x1bac04[_0x5da652>>>0x8&0xff]<<0x8|_0x1bac04[_0x5da652&0xff],_0x5da652^=_0x7c7a4c[_0x313f66/_0x70c5c9|0x0]<<0x18),_0x382c15[_0x313f66]=_0x382c15[_0x313f66-_0x70c5c9]^_0x5da652);for(var _0x3374eb=this['_invKeySchedule']=[],_0x35c3f8=0x0;_0x35c3f8<_0x38d7f9;_0x35c3f8++){var _0x313f66=_0x38d7f9-_0x35c3f8;if(_0x35c3f8%0x4)var _0x5da652=_0x382c15[_0x313f66];else var _0x5da652=_0x382c15[_0x313f66-0x4];_0x35c3f8<0x4||_0x313f66<=0x4?_0x3374eb[_0x35c3f8]=_0x5da652:_0x3374eb[_0x35c3f8]=_0x55676d[_0x1bac04[_0x5da652>>>0x18]]^_0x27d884[_0x1bac04[_0x5da652>>>0x10&0xff]]^_0x38a0c0[_0x1bac04[_0x5da652>>>0x8&0xff]]^_0x2179f6[_0x1bac04[_0x5da652&0xff]];}}},'encryptBlock':function(_0x6bcab4,_0x48103c){var _0xd55480=_0x371398;this[_0xd55480(0x2f8)](_0x6bcab4,_0x48103c,this[_0xd55480(0x1f4)],_0x55a63c,_0x24c567,_0x4971b1,_0x34ee81,_0x1bac04);},'decryptBlock':function(_0x4f1369,_0x395c8d){var _0x102354=_0x371398,_0x5bd23e=_0x4f1369[_0x395c8d+0x1];_0x4f1369[_0x395c8d+0x1]=_0x4f1369[_0x395c8d+0x3],_0x4f1369[_0x395c8d+0x3]=_0x5bd23e,this[_0x102354(0x2f8)](_0x4f1369,_0x395c8d,this['_invKeySchedule'],_0x55676d,_0x27d884,_0x38a0c0,_0x2179f6,_0x4c126e);var _0x5bd23e=_0x4f1369[_0x395c8d+0x1];_0x4f1369[_0x395c8d+0x1]=_0x4f1369[_0x395c8d+0x3],_0x4f1369[_0x395c8d+0x3]=_0x5bd23e;},'_doCryptBlock':function(_0x4f1f80,_0xc7ab7f,_0x265b60,_0x4f1000,_0x87cca5,_0x39f25e,_0x522c75,_0x3758db){var _0x10fc93=_0x371398;for(var _0x31a4a6=this[_0x10fc93(0x205)],_0x42bdcd=_0x4f1f80[_0xc7ab7f]^_0x265b60[0x0],_0x589a92=_0x4f1f80[_0xc7ab7f+0x1]^_0x265b60[0x1],_0x2a0a96=_0x4f1f80[_0xc7ab7f+0x2]^_0x265b60[0x2],_0x2b9633=_0x4f1f80[_0xc7ab7f+0x3]^_0x265b60[0x3],_0x22dd25=0x4,_0x552d76=0x1;_0x552d76<_0x31a4a6;_0x552d76++){var _0x4d7539=_0x4f1000[_0x42bdcd>>>0x18]^_0x87cca5[_0x589a92>>>0x10&0xff]^_0x39f25e[_0x2a0a96>>>0x8&0xff]^_0x522c75[_0x2b9633&0xff]^_0x265b60[_0x22dd25++],_0x3cec47=_0x4f1000[_0x589a92>>>0x18]^_0x87cca5[_0x2a0a96>>>0x10&0xff]^_0x39f25e[_0x2b9633>>>0x8&0xff]^_0x522c75[_0x42bdcd&0xff]^_0x265b60[_0x22dd25++],_0x408d15=_0x4f1000[_0x2a0a96>>>0x18]^_0x87cca5[_0x2b9633>>>0x10&0xff]^_0x39f25e[_0x42bdcd>>>0x8&0xff]^_0x522c75[_0x589a92&0xff]^_0x265b60[_0x22dd25++],_0x40e52e=_0x4f1000[_0x2b9633>>>0x18]^_0x87cca5[_0x42bdcd>>>0x10&0xff]^_0x39f25e[_0x589a92>>>0x8&0xff]^_0x522c75[_0x2a0a96&0xff]^_0x265b60[_0x22dd25++];_0x42bdcd=_0x4d7539,_0x589a92=_0x3cec47,_0x2a0a96=_0x408d15,_0x2b9633=_0x40e52e;}var _0x4d7539=(_0x3758db[_0x42bdcd>>>0x18]<<0x18|_0x3758db[_0x589a92>>>0x10&0xff]<<0x10|_0x3758db[_0x2a0a96>>>0x8&0xff]<<0x8|_0x3758db[_0x2b9633&0xff])^_0x265b60[_0x22dd25++],_0x3cec47=(_0x3758db[_0x589a92>>>0x18]<<0x18|_0x3758db[_0x2a0a96>>>0x10&0xff]<<0x10|_0x3758db[_0x2b9633>>>0x8&0xff]<<0x8|_0x3758db[_0x42bdcd&0xff])^_0x265b60[_0x22dd25++],_0x408d15=(_0x3758db[_0x2a0a96>>>0x18]<<0x18|_0x3758db[_0x2b9633>>>0x10&0xff]<<0x10|_0x3758db[_0x42bdcd>>>0x8&0xff]<<0x8|_0x3758db[_0x589a92&0xff])^_0x265b60[_0x22dd25++],_0x40e52e=(_0x3758db[_0x2b9633>>>0x18]<<0x18|_0x3758db[_0x42bdcd>>>0x10&0xff]<<0x10|_0x3758db[_0x589a92>>>0x8&0xff]<<0x8|_0x3758db[_0x2a0a96&0xff])^_0x265b60[_0x22dd25++];_0x4f1f80[_0xc7ab7f]=_0x4d7539,_0x4f1f80[_0xc7ab7f+0x1]=_0x3cec47,_0x4f1f80[_0xc7ab7f+0x2]=_0x408d15,_0x4f1f80[_0xc7ab7f+0x3]=_0x40e52e;},'keySize':0x100/0x20});_0x41e6f6[_0x371398(0x464)]=_0x2caec7[_0x371398(0x2f5)](_0x115ffd);}()),_0x4232d2[_0x1ce42b(0x464)];}));}(_0x5ec66b)),_0x5ec66b[_0x344de3(0x1e4)];}var _0x1b94ea=_0x39700b();const _0x5aac65=_0x461037(_0x1b94ea);var _0x3dbd3f=_0x534521();const _0xe4d5e3=_0x461037(_0x3dbd3f);var _0x3e8e34={'exports':{}},_0x430bed=_0x3e8e34[_0x48e1d4(0x1e4)],_0x2366cf;function _0x5ae4f4(){var _0x4ab295=_0x48e1d4;return _0x2366cf||(_0x2366cf=0x1,function(_0xcc62ee,_0x1593b1){(function(_0x2cebc4,_0x15fee7){var _0x35aade=_0x30d9;_0xcc62ee[_0x35aade(0x1e4)]=_0x15fee7(_0x2931f2());}(_0x430bed,function(_0x292f16){var _0x4992ad=_0x30d9;return _0x292f16[_0x4992ad(0x270)][_0x4992ad(0x536)];}));}(_0x3e8e34)),_0x3e8e34[_0x4ab295(0x1e4)];}var _0x413aa0=_0x5ae4f4();const _0x55db2a=_0x461037(_0x413aa0);var _0x329fd6={'exports':{}},_0x30c1e4=_0x329fd6['exports'],_0x460cbe;function _0x835461(){var _0x1eba16=_0x48e1d4;return _0x460cbe||(_0x460cbe=0x1,function(_0xaf0894,_0x31921e){(function(_0xce89b0,_0x57040b){_0xaf0894['exports']=_0x57040b(_0x2931f2());}(_0x30c1e4,function(_0x1024e3){var _0x484f90=_0x30d9;return(function(){var _0x2eb72d=_0x30d9;if(typeof ArrayBuffer=='function'){var _0x274b50=_0x1024e3,_0x4a053c=_0x274b50['lib'],_0xb9c76=_0x4a053c['WordArray'],_0x2951a2=_0xb9c76[_0x2eb72d(0x3cb)],_0x10edcc=_0xb9c76[_0x2eb72d(0x3cb)]=function(_0x25d79c){var _0x3d64cc=_0x2eb72d;if(_0x25d79c instanceof ArrayBuffer&&(_0x25d79c=new Uint8Array(_0x25d79c)),(_0x25d79c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x25d79c instanceof Uint8ClampedArray||_0x25d79c instanceof Int16Array||_0x25d79c instanceof Uint16Array||_0x25d79c instanceof Int32Array||_0x25d79c instanceof Uint32Array||_0x25d79c instanceof Float32Array||_0x25d79c instanceof Float64Array)&&(_0x25d79c=new Uint8Array(_0x25d79c[_0x3d64cc(0x21d)],_0x25d79c['byteOffset'],_0x25d79c[_0x3d64cc(0x526)])),_0x25d79c instanceof Uint8Array){for(var _0x344216=_0x25d79c[_0x3d64cc(0x526)],_0x3e299c=[],_0x4893a7=0x0;_0x4893a7<_0x344216;_0x4893a7++)_0x3e299c[_0x4893a7>>>0x2]|=_0x25d79c[_0x4893a7]<<0x18-_0x4893a7%0x4*0x8;_0x2951a2['call'](this,_0x3e299c,_0x344216);}else _0x2951a2['apply'](this,arguments);};_0x10edcc[_0x2eb72d(0x221)]=_0xb9c76;}}()),_0x1024e3['lib'][_0x484f90(0x52b)];}));}(_0x329fd6)),_0x329fd6[_0x1eba16(0x1e4)];}var _0xbc38a1=_0x835461();const _0x3e58b7=_0x461037(_0xbc38a1);var _0x30ec8d={'exports':{}},_0x736b0d=_0x30ec8d[_0x48e1d4(0x1e4)],_0x283cec;function _0x554888(){var _0x5536f5=_0x48e1d4;return _0x283cec||(_0x283cec=0x1,function(_0x62e4b,_0x1333c1){(function(_0xd803d6,_0x1d6cea,_0x503111){var _0x2c070b=_0x30d9;_0x62e4b[_0x2c070b(0x1e4)]=_0x1d6cea(_0x2931f2(),_0x4485e2());}(_0x736b0d,function(_0x2fb889){var _0x14e1c3=_0x30d9;return _0x2fb889['pad'][_0x14e1c3(0x2be)]={'pad':function(){},'unpad':function(){}},_0x2fb889[_0x14e1c3(0x3a5)]['NoPadding'];}));}(_0x30ec8d)),_0x30ec8d[_0x5536f5(0x1e4)];}var _0x561e7c=_0x554888();const _0x4cc585=_0x461037(_0x561e7c);function _0x5ed7bf(_0x582313,_0x2a80df){var _0x36cc3d=_0x48e1d4;const _0x3a68da=_0x2a80df-_0x582313[_0x36cc3d(0x372)]%_0x2a80df,_0x341f7e=String[_0x36cc3d(0x493)](_0x3a68da)[_0x36cc3d(0x2da)](_0x3a68da);return _0x582313+_0x341f7e;}function _0x4d909b(_0x2371e7,_0x4443a1){var _0x1821e2=_0x48e1d4;const _0xf6a966=_0x3e58b7[_0x1821e2(0x472)](0x10),_0x1b0b1e=_0x5ed7bf(_0x2371e7,0x10),_0x526e48=_0x5aac65[_0x1821e2(0x220)](_0x55db2a['parse'](_0x1b0b1e),_0xe4d5e3['parse'](_0x4443a1),{'iv':_0xf6a966,'padding':_0x4cc585});return _0xf6a966[_0x1821e2(0x3f3)](_0x526e48[_0x1821e2(0x535)])['toString'](_0xe4d5e3);}function _0x3272b1(){var _0x13dc56=_0x48e1d4;const _0x587750=_0x2ee180['getGlobalObject']()[_0x13dc56(0x490)];if(_0x587750){const _0x5eae8c={'time':Math[_0x13dc56(0x2e8)](Date[_0x13dc56(0x563)]()/0x3e8),'domain':location[_0x13dc56(0x354)]};return _0x4d909b(JSON[_0x13dc56(0x4e5)](_0x5eae8c),_0x587750);}}var _0x7aa0f4=Object[_0x48e1d4(0x24c)],_0x9e4429=(_0x47979f,_0x23b652,_0x26bdf1,_0x838a20)=>{var _0x16d064=_0x48e1d4;for(var _0x18023b=_0x838a20>0x1?void 0x0:_0x838a20?_0x7aa0f4(_0x23b652,_0x26bdf1):_0x23b652,_0x13dd29=_0x47979f[_0x16d064(0x372)]-0x1,_0x4a504e;_0x13dd29>=0x0;_0x13dd29--)(_0x4a504e=_0x47979f[_0x13dd29])&&(_0x18023b=_0x4a504e(_0x18023b)||_0x18023b);return _0x18023b;},_0x5ca63c=(_0x566ad9,_0x14fffd)=>(_0x473848,_0x151fa1)=>_0x14fffd(_0x473848,_0x151fa1,_0x566ad9);let _0x36620b=class{constructor(_0x9e2c23){var _0x3b3a93=_0x48e1d4;this['_httpService']=_0x9e2c23,this[_0x3b3a93(0x3ba)]();}[_0x48e1d4(0x3ba)](){var _0x3bf5f2=_0x48e1d4;this[_0x3bf5f2(0x513)][_0x3bf5f2(0x28c)]({'interceptor':(_0x147c17,_0x574b98)=>{var _0x3c692b=_0x3bf5f2;const _0x2c2f22=_0x147c17['headers'],_0x58291e=_0x3272b1();return _0x58291e&&_0x2c2f22[_0x3c692b(0x3e9)](_0x3c692b(0x31a),_0x58291e),_0x574b98(_0x147c17);}});}};_0x36620b=_0x9e4429([_0x5ca63c(0x0,_0x576dd1[_0x48e1d4(0x429)](_0x347478[_0x48e1d4(0x4a7)]))],_0x36620b);var _0x2cf106=Object[_0x48e1d4(0x24c)],_0x2ec592=(_0x34df8d,_0x4425c9,_0x39f2bc,_0x10cc0a)=>{var _0x4c5d96=_0x48e1d4;for(var _0x103bf0=_0x10cc0a>0x1?void 0x0:_0x10cc0a?_0x2cf106(_0x4425c9,_0x39f2bc):_0x4425c9,_0xede445=_0x34df8d[_0x4c5d96(0x372)]-0x1,_0x218354;_0xede445>=0x0;_0xede445--)(_0x218354=_0x34df8d[_0xede445])&&(_0x103bf0=_0x218354(_0x103bf0)||_0x103bf0);return _0x103bf0;},_0x3a97d9=(_0x56974c,_0x1ade96)=>(_0x509ba4,_0x4cdd2d)=>_0x1ade96(_0x509ba4,_0x4cdd2d,_0x56974c);_0x2fb276['DataLoaderService']=class extends _0x576dd1['RxDisposable']{constructor(_0x33f25d,_0x10aeb9,_0xf0406e){var _0x3b3b7d=_0x48e1d4;super(),_0x3b8823(this,_0x3b3b7d(0x2ce),new _0x4ef27b['BehaviorSubject'](null)),_0x3b8823(this,_0x3b3b7d(0x391),this[_0x3b3b7d(0x2ce)][_0x3b3b7d(0x378)]()),(this[_0x3b3b7d(0x1fd)]=_0x33f25d,this[_0x3b3b7d(0x537)]=_0x10aeb9,this[_0x3b3b7d(0x41f)]=_0xf0406e);}async['loadUnitOfRevision'](_0x450198,_0x3a03cd,_0x3f1b93){var _0x565fe2=_0x48e1d4;this[_0x565fe2(0x2ce)][_0x565fe2(0x1f3)]({'unitId':_0x450198,'type':_0x3a03cd});let _0x5a4c56=null;switch(_0x3a03cd){case _0x443515[_0x565fe2(0x3e5)]:{_0x5a4c56=await this[_0x565fe2(0x537)][_0x565fe2(0x2c0)](_0x450198,_0x3f1b93);break;}case _0x443515['UNIVER_DOC']:{_0x5a4c56=await this[_0x565fe2(0x537)][_0x565fe2(0x3b4)](_0x450198,_0x3f1b93);break;}default:{this[_0x565fe2(0x1fd)][_0x565fe2(0x3f8)](_0x565fe2(0x362),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5a4c56;}async[_0x48e1d4(0x3b2)](_0x1b9c8c,_0x59ff2b,_0x297634){var _0x231739=_0x48e1d4,_0x19e8f9;this[_0x231739(0x2ce)][_0x231739(0x1f3)]({'unitId':_0x1b9c8c,'type':_0x59ff2b,'subUnitId':_0x297634});let _0x38c264=0x0;const _0x127172=await((_0x19e8f9=this[_0x231739(0x41f)])==null?void 0x0:_0x19e8f9[_0x231739(0x4f1)](_0x1b9c8c));return _0x127172&&(_0x127172[_0x231739(0x476)]||_0x127172['mutations'][_0x231739(0x372)]!==0x0)&&(_0x38c264=_0x127172[_0x231739(0x497)]),_0x38c264===0x0&&this[_0x231739(0x1fd)][_0x231739(0x53e)](_0x231739(0x362),_0x231739(0x538)),this[_0x231739(0x2a9)](_0x1b9c8c,_0x59ff2b,_0x38c264);}},_0x2fb276[_0x48e1d4(0x32d)]=_0x2ec592([_0x3a97d9(0x0,_0x576dd1[_0x48e1d4(0x30d)]),_0x3a97d9(0x1,_0x576dd1['Inject'](_0x2bd9a5[_0x48e1d4(0x32e)])),_0x3a97d9(0x2,_0x576dd1[_0x48e1d4(0x44b)](_0x49d2a7))],_0x2fb276[_0x48e1d4(0x32d)]);var _0x167bf6=Object['getOwnPropertyDescriptor'],_0x3701f9=(_0x256140,_0x1f220b,_0x4a3bbf,_0x474872)=>{var _0xf49e10=_0x48e1d4;for(var _0x4b42c6=_0x474872>0x1?void 0x0:_0x474872?_0x167bf6(_0x1f220b,_0x4a3bbf):_0x1f220b,_0x4fb418=_0x256140[_0xf49e10(0x372)]-0x1,_0x575770;_0x4fb418>=0x0;_0x4fb418--)(_0x575770=_0x256140[_0x4fb418])&&(_0x4b42c6=_0x575770(_0x4b42c6)||_0x4b42c6);return _0x4b42c6;},_0x564511=(_0xbbe063,_0x4d9bc8)=>(_0x30858c,_0x967f2e)=>_0x4d9bc8(_0x30858c,_0x967f2e,_0xbbe063);const _0x295b73=[_0x48e1d4(0x294),_0x48e1d4(0x3ab),_0x48e1d4(0x22a),_0x48e1d4(0x368),'image/bmp'],_0x4bce4a=0x5*0x400*0x400,_0xe4832c='/universer-api/stream/file/upload',_0x42923d=_0x48e1d4(0x560);_0x2fb276[_0x48e1d4(0x349)]=class{constructor(_0x4d17c8,_0x1e2d84,_0xfc5eef){var _0x4773fc=_0x48e1d4;_0x3b8823(this,_0x4773fc(0x20f),0x0),_0x3b8823(this,'_change$',new _0x4ef27b[(_0x4773fc(0x2b3))]()),_0x3b8823(this,_0x4773fc(0x56a),this[_0x4773fc(0x49a)]),_0x3b8823(this,'_imageSourceCache',new Map()),(this[_0x4773fc(0x513)]=_0x4d17c8,this['_configService']=_0x1e2d84,this[_0x4773fc(0x522)]=_0xfc5eef);}[_0x48e1d4(0x31e)](_0x13fae4){var _0xbdb9a0=_0x48e1d4;this[_0xbdb9a0(0x20f)]=_0x13fae4,this['_change$'][_0xbdb9a0(0x1f3)](_0x13fae4);}[_0x48e1d4(0x4f9)](_0x461d2c,_0x51f3b3){var _0x3810d8=_0x48e1d4;if(_0x51f3b3===_0xea636[_0x3810d8(0x2f2)][_0x3810d8(0x521)]){const _0x26c5b4=new Image();return _0x26c5b4[_0x3810d8(0x285)]=_0x461d2c,_0x26c5b4;}return this[_0x3810d8(0x443)][_0x3810d8(0x24d)](_0x461d2c);}[_0x48e1d4(0x3dc)](_0x326a1d,_0x3a42ec,_0x189538){var _0x1073a2=_0x48e1d4;_0x3a42ec===_0xea636[_0x1073a2(0x2f2)]['BASE64']||_0x189538==null||this['_imageSourceCache'][_0x1073a2(0x3e9)](_0x326a1d,_0x189538);}async[_0x48e1d4(0x2d5)](_0xae9131){var _0x9ee03e=_0x48e1d4;try{const _0x4b4380=this[_0x9ee03e(0x30a)](this['_getSignURL'](),''+_0xae9131),_0xd491cd=(await this[_0x9ee03e(0x513)][_0x9ee03e(0x24d)](_0x4b4380))['body'];if(_0xd491cd[_0x9ee03e(0x3f8)]&&_0xd491cd['error']['code']===_0x5d974e['OK']){const _0x348954=new URL(_0xd491cd['url'],this[_0x9ee03e(0x26c)]())['toString']();return Promise['resolve'](_0x348954);}return Promise[_0x9ee03e(0x55e)](_0xd491cd['error']);}catch(_0x141b2e){return Promise[_0x9ee03e(0x55e)](_0x141b2e);}}async[_0x48e1d4(0x326)](_0x32796b){var _0x382beb=_0x48e1d4;let _0x1dd364='';if(!_0x295b73[_0x382beb(0x333)](_0x32796b[_0x382beb(0x222)]))return this[_0x382beb(0x3a8)](),Promise['reject'](new Error(_0xea636[_0x382beb(0x201)][_0x382beb(0x3cd)]));if(_0x32796b[_0x382beb(0x281)]>_0x4bce4a)return this['_decreaseWaiting'](),Promise[_0x382beb(0x55e)](new Error(_0xea636['ImageUploadStatusType'][_0x382beb(0x562)]));try{const _0x7d4b4b=new FormData();_0x7d4b4b[_0x382beb(0x3af)]('file',_0x32796b);const _0x2f7e2c=this['_univerInstanceService'][_0x382beb(0x485)](),_0x4ad6c6=_0x2f7e2c==null?void 0x0:_0x2f7e2c['getUnitId']();if(!_0x4ad6c6)throw new Error(_0x382beb(0x347));const _0x5e0b34=this[_0x382beb(0x3de)]()+_0x382beb(0x496)+_0x32796b[_0x382beb(0x281)][_0x382beb(0x4de)]()+_0x382beb(0x36c)+_0x2e2644[_0x382beb(0x3a2)]+_0x382beb(0x460)+encodeURIComponent(_0x4ad6c6),_0x190940={'body':_0x7d4b4b},_0x1be521=(await this['_httpService'][_0x382beb(0x38b)](_0x5e0b34,_0x190940))['body'];if(typeof _0x1be521['FileId']!=_0x382beb(0x374))return this['_decreaseWaiting'](),Promise[_0x382beb(0x55e)](new Error(_0xea636[_0x382beb(0x201)][_0x382beb(0x555)]));_0x1dd364=_0x1be521[_0x382beb(0x50e)];}catch{return this[_0x382beb(0x3a8)](),Promise[_0x382beb(0x55e)](new Error(_0xea636[_0x382beb(0x201)]['ERROR_IMAGE']));}return new Promise((_0x2e937d,_0x27393a)=>{var _0x5db18c=_0x382beb;const _0x204193=new FileReader();_0x204193[_0x5db18c(0x26b)](_0x32796b),_0x204193['onload']=_0x333351=>{var _0x536b69=_0x5db18c,_0x250083;const _0xd941ec=(_0x250083=_0x333351[_0x536b69(0x2b4)])==null?void 0x0:_0x250083['result'];if(_0xd941ec==null){this['_decreaseWaiting'](),_0x27393a(new Error(_0xea636[_0x536b69(0x201)][_0x536b69(0x555)]));return;}const _0x4bc0dc=_0x576dd1[_0x536b69(0x441)](0x6);_0x2e937d({'imageId':_0x4bc0dc,'imageSourceType':_0xea636['ImageSourceType']['UUID'],'source':_0x1dd364,'base64Cache':_0xd941ec,'status':_0xea636[_0x536b69(0x201)][_0x536b69(0x36b)]}),this['_decreaseWaiting']();};});}[_0x48e1d4(0x3de)](){var _0xf73d3c=_0x48e1d4,_0xdc08e3;const _0x363df8=this[_0xf73d3c(0x33b)][_0xf73d3c(0x288)](_0x212720);return(_0xdc08e3=_0x363df8==null?void 0x0:_0x363df8['uploadFileServerUrl'])!=null?_0xdc08e3:_0xe4832c;}[_0x48e1d4(0x4cf)](){var _0x60c62=_0x48e1d4,_0x159e2f;const _0x345d64=this[_0x60c62(0x33b)][_0x60c62(0x288)](_0x212720);return(_0x159e2f=_0x345d64==null?void 0x0:_0x345d64['signUrlServerUrl'])!=null?_0x159e2f:_0x42923d;}['_getDownloadEndpointURL'](){var _0x1731a5=_0x48e1d4,_0x296d41;const _0x3af84c=this[_0x1731a5(0x33b)][_0x1731a5(0x288)](_0x212720);return(_0x296d41=_0x3af84c==null?void 0x0:_0x3af84c[_0x1731a5(0x3c0)])!=null?_0x296d41:location['origin'];}['_replaceFileID'](_0x38176c,_0x2c087c){var _0x1f2d3b=_0x48e1d4;return _0x38176c[_0x1f2d3b(0x1dd)](_0x1f2d3b(0x323),_0x2c087c);}['_decreaseWaiting'](){var _0x2491d1=_0x48e1d4;this[_0x2491d1(0x20f)]-=0x1,this['_change$'][_0x2491d1(0x1f3)](this['_waitCount']);}},_0x2fb276[_0x48e1d4(0x349)]=_0x3701f9([_0x564511(0x0,_0x576dd1[_0x48e1d4(0x429)](_0x347478['HTTPService'])),_0x564511(0x1,_0x576dd1[_0x48e1d4(0x385)]),_0x564511(0x2,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x438)]))],_0x2fb276[_0x48e1d4(0x349)]);var _0x4308bb=Object[_0x48e1d4(0x24c)],_0x4a133f=(_0x385968,_0x544854,_0x610f6c,_0x5947a4)=>{var _0x134aea=_0x48e1d4;for(var _0x130881=_0x5947a4>0x1?void 0x0:_0x5947a4?_0x4308bb(_0x544854,_0x610f6c):_0x544854,_0x305e7d=_0x385968[_0x134aea(0x372)]-0x1,_0x56bd03;_0x305e7d>=0x0;_0x305e7d--)(_0x56bd03=_0x385968[_0x305e7d])&&(_0x130881=_0x56bd03(_0x130881)||_0x130881);return _0x130881;},_0x101947=(_0x24ce2c,_0x444a34)=>(_0x22e3e8,_0xf0f537)=>_0x444a34(_0x22e3e8,_0xf0f537,_0x24ce2c);const _0x48b99b=_0x48e1d4(0x54c);_0x2fb276[_0x48e1d4(0x445)]=class{constructor(_0x12d845,_0x9a56a2){var _0x2aaa9f=_0x48e1d4;this[_0x2aaa9f(0x33b)]=_0x12d845,this[_0x2aaa9f(0x309)]=_0x9a56a2;}[_0x48e1d4(0x1f7)](){var _0x4ddaa0=_0x48e1d4,_0x106cb7;const _0x3934a9=this[_0x4ddaa0(0x33b)][_0x4ddaa0(0x288)](_0x212720);return(_0x106cb7=_0x3934a9==null?void 0x0:_0x3934a9['authzUrl'])!=null?_0x106cb7:_0x48b99b;}async[_0x48e1d4(0x567)](_0x34404a){var _0x439351=_0x48e1d4;const _0x304396=this[_0x439351(0x1f7)]()+_0x439351(0x53b);return{'list':[{'title':_0x439351(0x342),'mentions':(await this[_0x439351(0x309)][_0x439351(0x24d)](_0x304396,{'params':{'objectID':_0x34404a[_0x439351(0x4bf)],'unitID':_0x34404a[_0x439351(0x4bf)]}}))[_0x439351(0x276)][_0x439351(0x207)][_0x439351(0x3d4)](_0x1a4f56=>({'objectId':_0x1a4f56['id'],'name':_0x1a4f56[_0x439351(0x2c5)][_0x439351(0x1e2)],'metadata':{'icon':_0x1a4f56[_0x439351(0x2c5)][_0x439351(0x43b)]},'label':_0x1a4f56['subject'][_0x439351(0x1e2)],'objectType':_0x576dd1[_0x439351(0x27e)][_0x439351(0x1fc)]})),'metadata':{},'type':_0x576dd1['MentionType'][_0x439351(0x1fc)]}]};}},_0x2fb276[_0x48e1d4(0x445)]=_0x4a133f([_0x101947(0x0,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x385)])),_0x101947(0x1,_0x576dd1['Inject'](_0x347478[_0x48e1d4(0x4a7)]))],_0x2fb276['MentionIoHttpService']);var _0x5441ad=Object['getOwnPropertyDescriptor'],_0x5b3eb9=(_0x535fac,_0x3883cf,_0x552954,_0xaed299)=>{var _0x242e32=_0x48e1d4;for(var _0x33b3c3=_0xaed299>0x1?void 0x0:_0xaed299?_0x5441ad(_0x3883cf,_0x552954):_0x3883cf,_0x29dfe4=_0x535fac[_0x242e32(0x372)]-0x1,_0x1782d9;_0x29dfe4>=0x0;_0x29dfe4--)(_0x1782d9=_0x535fac[_0x29dfe4])&&(_0x33b3c3=_0x1782d9(_0x33b3c3)||_0x33b3c3);return _0x33b3c3;},_0x1ade18=(_0x32ef9,_0x3a7ee4)=>(_0xccec9f,_0x51e484)=>_0x3a7ee4(_0xccec9f,_0x51e484,_0x32ef9);let _0xa30b16=class extends _0x576dd1[_0x48e1d4(0x258)]{constructor(_0x38b543,_0x11d749,_0x176d1d,_0x665126,_0x355d89){var _0x3ab99c=_0x48e1d4;super(),this[_0x3ab99c(0x312)]=_0x38b543,this[_0x3ab99c(0x522)]=_0x11d749,this[_0x3ab99c(0x54d)]=_0x176d1d,this[_0x3ab99c(0x2d0)]=_0x665126,this[_0x3ab99c(0x355)]=_0x355d89,this[_0x3ab99c(0x3f5)](),this[_0x3ab99c(0x2c6)]();}[_0x48e1d4(0x2c6)](){var _0x31f0e6=_0x48e1d4;const _0xa45d64=async _0x49b9f8=>{var _0x915ab9=_0x30d9;(await this['_collaborationSessionService']['requireSession'](_0x49b9f8))['event$'][_0x915ab9(0x1ec)](_0xa0146[_0x915ab9(0x50d)](_0x22d2ba=>_0x22d2ba[_0x915ab9(0x4e3)]===_0x2bd9a5['CollaborationEvent'][_0x915ab9(0x1da)]),_0xa0146[_0x915ab9(0x23e)](this[_0x915ab9(0x410)]))[_0x915ab9(0x296)](_0x3ddc98=>{var _0x4bae9a=_0x915ab9;const _0xde3ae3=_0x3ddc98,{reason:_0xafb6bc}=_0xde3ae3[_0x4bae9a(0x564)];this['_collaborationUIEventService'][_0x4bae9a(0x40a)]({'id':_0x1118e3[_0x4bae9a(0x255)],'data':_0xafb6bc}),this['_permissionService']['updatePermissionPoint'](new _0x349891['WorkbookEditablePermission'](_0x49b9f8)['id'],!0x1),this['_collaborationSessionService'][_0x4bae9a(0x287)](_0x49b9f8);});};_0x4ef27b[_0x31f0e6(0x2ca)](this[_0x31f0e6(0x522)][_0x31f0e6(0x2ac)](_0x576dd1[_0x31f0e6(0x3a6)][_0x31f0e6(0x3e5)]),this[_0x31f0e6(0x522)][_0x31f0e6(0x2ac)](_0x576dd1[_0x31f0e6(0x3a6)][_0x31f0e6(0x4fa)]))[_0x31f0e6(0x1ec)](_0xa0146[_0x31f0e6(0x3d4)](_0x35c8ca=>_0x35c8ca['getUnitId']()),_0xa0146[_0x31f0e6(0x50d)](_0x379dbd=>!_0x576dd1[_0x31f0e6(0x4ad)](_0x379dbd)),_0xa0146[_0x31f0e6(0x23e)](this[_0x31f0e6(0x410)]))[_0x31f0e6(0x296)](_0x59e293=>{_0xa45d64(_0x59e293);});}[_0x48e1d4(0x3f5)](){var _0x473836=_0x48e1d4;const _0x1d6cd2=async _0x1a4e44=>{var _0x245b52=_0x30d9;const _0x279250=await this[_0x245b52(0x2d0)]['requireSession'](_0x1a4e44),_0x276abc=this[_0x245b52(0x312)][_0x245b52(0x24d)](_0x349891[_0x245b52(0x405)]);_0x279250['event$'][_0x245b52(0x1ec)](_0xa0146[_0x245b52(0x50d)](_0xb9834e=>_0xb9834e[_0x245b52(0x4e3)]===_0x2bd9a5[_0x245b52(0x43f)]['UPDATE_PERMISSION_OBJ']),_0xa0146[_0x245b52(0x23e)](this['dispose$']))[_0x245b52(0x296)](_0x387200=>{var _0xec1e4a=_0x245b52;const _0x5d0466=_0x387200,{objectId:_0x31dd75}=_0x5d0466[_0xec1e4a(0x564)];_0x31dd75===_0x1a4e44?_0x276abc['initWorkbookPermissionChange'](_0x1a4e44):_0x276abc[_0xec1e4a(0x45f)](_0x1a4e44,_0x31dd75);});};_0x4ef27b[_0x473836(0x2ca)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x576dd1['UniverInstanceType'][_0x473836(0x3e5)]))['pipe'](_0xa0146[_0x473836(0x3d4)](_0xa1a3e2=>_0xa1a3e2[_0x473836(0x320)]()),_0xa0146[_0x473836(0x50d)](_0x2aac14=>!_0x576dd1['isInternalEditorID'](_0x2aac14)),_0xa0146[_0x473836(0x23e)](this[_0x473836(0x410)]))['subscribe'](_0x8311b6=>{_0x1d6cd2(_0x8311b6);});}};_0xa30b16=_0x5b3eb9([_0x1ade18(0x0,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1[_0x48e1d4(0x2d7)])),_0x1ade18(0x1,_0x576dd1['IUniverInstanceService']),_0x1ade18(0x2,_0x576dd1[_0x48e1d4(0x3e7)]),_0x1ade18(0x3,_0x576dd1[_0x48e1d4(0x429)](_0x2fb276['CollaborationSessionService'])),_0x1ade18(0x4,_0x576dd1[_0x48e1d4(0x429)](_0x4b9f58))],_0xa30b16);var _0x410907=Object[_0x48e1d4(0x24c)],_0x92fa8b=(_0x14e1a,_0x3d2286,_0x3d5de4,_0x3eab7d)=>{for(var _0x363a3b=_0x3eab7d>0x1?void 0x0:_0x3eab7d?_0x410907(_0x3d2286,_0x3d5de4):_0x3d2286,_0x2e1767=_0x14e1a['length']-0x1,_0x24364b;_0x2e1767>=0x0;_0x2e1767--)(_0x24364b=_0x14e1a[_0x2e1767])&&(_0x363a3b=_0x24364b(_0x363a3b)||_0x363a3b);return _0x363a3b;},_0xd5ed02=(_0x254bcd,_0x8b228b)=>(_0x5ae168,_0xa0ef2f)=>_0x8b228b(_0x5ae168,_0xa0ef2f,_0x254bcd);_0x2fb276['SnapshotServerOverHTTPService']=class{constructor(_0x5ca823,_0x2cd888){var _0x4108d8=_0x48e1d4;this['_configService']=_0x5ca823,this[_0x4108d8(0x513)]=_0x2cd888;}async['getUnitOnRev'](_0x1810a3,_0xe30cbb){var _0x12189d=_0x48e1d4,_0x4dc9e3;const {unitID:_0x20b181,type:_0xa432ce,revision:_0x44bfa7=0x0}=_0xe30cbb,_0xa90fe=this[_0x12189d(0x53a)]()+'/'+_0xa432ce+'/unit/'+_0x20b181+'/rev/'+_0x44bfa7,_0x5d88dc=(await this[_0x12189d(0x513)][_0x12189d(0x24d)](_0xa90fe))['body'],_0x3ad910=(_0x4dc9e3=_0x5d88dc[_0x12189d(0x4be)])==null?void 0x0:_0x4dc9e3[_0x12189d(0x23d)];if(_0x3ad910){const _0x214672=_0x3ad910==null?void 0x0:_0x3ad910['originalMeta'],_0x2b0298=_0x2bd9a5[_0x12189d(0x304)]['encode'](_0x2bd9a5[_0x12189d(0x50a)](_0x214672));_0x3ad910[_0x12189d(0x3e0)]=_0x2b0298,Object[_0x12189d(0x425)](_0x3ad910[_0x12189d(0x3e8)])[_0x12189d(0x317)](([,_0x2963bb])=>{var _0x955c57=_0x12189d;const _0x375fd9=_0x2963bb['originalMeta'],_0x4d7b37=_0x2bd9a5[_0x955c57(0x304)][_0x955c57(0x484)](_0x2bd9a5[_0x955c57(0x50a)](_0x375fd9));_0x2963bb['originalMeta']=_0x4d7b37;});}return _0x5d88dc;}async[_0x48e1d4(0x3e6)](_0x5db116,_0x5c5641){var _0x38cb8c=_0x48e1d4;const {unitID:_0x29f809,type:_0x23a4bd,blockID:_0x2ddd47}=_0x5c5641,_0x3de011=this[_0x38cb8c(0x279)]()+'/'+_0x23a4bd+'/unit/'+_0x29f809+'/block/'+_0x2ddd47;return(await this[_0x38cb8c(0x513)]['get'](_0x3de011))[_0x38cb8c(0x276)];}async['getDeserializedSheetBlock'](_0x573df3,_0x2ab2ac){var _0x127b69=_0x48e1d4;const {unitID:_0x4fa24f,type:_0x156a1d,blockID:_0x48a6a5}=_0x2ab2ac,_0x421ace=this['_getAPIPrefix']()+_0x127b69(0x408)+_0x156a1d+_0x127b69(0x4ff)+_0x4fa24f+_0x127b69(0x408)+_0x48a6a5;return(await this[_0x127b69(0x513)][_0x127b69(0x24d)](_0x421ace))[_0x127b69(0x276)];}async['fetchMissingChangesets'](_0x201ff4,_0x11ccd4){var _0x2128d2=_0x48e1d4;const {unitID:_0x359873,type:_0x130783,from:_0x4cd9ff,to:_0x1c55b1}=_0x11ccd4,_0x2e19b9=this[_0x2128d2(0x279)]()+'/'+_0x130783+_0x2128d2(0x4ff)+_0x359873+_0x2128d2(0x3bf)+_0x4cd9ff+'&to='+_0x1c55b1;return(await this[_0x2128d2(0x513)][_0x2128d2(0x24d)](_0x2e19b9))[_0x2128d2(0x276)];}[_0x48e1d4(0x53a)](){var _0x52c631=_0x48e1d4,_0xc3d67d;return(_0xc3d67d=this[_0x52c631(0x33b)][_0x52c631(0x288)](_0x378b21))!=null?_0xc3d67d:this['_getAPIPrefix']();}[_0x48e1d4(0x279)](){var _0x426259=_0x48e1d4,_0x13a12f;const _0x4e6874=this[_0x426259(0x33b)]['getConfig'](_0x212720);return(_0x13a12f=_0x4e6874==null?void 0x0:_0x4e6874[_0x426259(0x3b1)])!=null?_0x13a12f:_0x345767;}async[_0x48e1d4(0x52f)](_0x59639e,_0x557661){var _0x4f6271=_0x48e1d4;const _0xa85f8b=_0x4f6271(0x4f2)+_0x557661[_0x4f6271(0x222)]+_0x4f6271(0x4ff)+_0x557661['unitID']+'/resources';return(await this[_0x4f6271(0x513)]['get'](_0xa85f8b,{'params':{'resourceId':JSON['stringify'](_0x557661[_0x4f6271(0x212)])}}))['body'];}[_0x48e1d4(0x271)](){var _0x4f95c4=_0x48e1d4;throw new Error(_0x4f95c4(0x4f5));}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x48e1d4(0x341)](){var _0x22edc6=_0x48e1d4;throw new Error(_0x22edc6(0x4f5));}[_0x48e1d4(0x2a2)](){var _0x354537=_0x48e1d4;throw new Error(_0x354537(0x4f5));}[_0x48e1d4(0x46e)](){var _0x7186b2=_0x48e1d4;throw new Error(_0x7186b2(0x4f5));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x2fb276[_0x48e1d4(0x1dc)]=_0x92fa8b([_0xd5ed02(0x0,_0x576dd1[_0x48e1d4(0x385)]),_0xd5ed02(0x1,_0x576dd1[_0x48e1d4(0x429)](_0x347478[_0x48e1d4(0x4a7)]))],_0x2fb276[_0x48e1d4(0x1dc)]);var _0x14d946=Object[_0x48e1d4(0x24c)],_0x1b3100=(_0x8ea435,_0x1b105d,_0x5c165f,_0x411da9)=>{var _0x1ec978=_0x48e1d4;for(var _0x452083=_0x411da9>0x1?void 0x0:_0x411da9?_0x14d946(_0x1b105d,_0x5c165f):_0x1b105d,_0x1b3c8a=_0x8ea435[_0x1ec978(0x372)]-0x1,_0x99dfb2;_0x1b3c8a>=0x0;_0x1b3c8a--)(_0x99dfb2=_0x8ea435[_0x1b3c8a])&&(_0x452083=_0x99dfb2(_0x452083)||_0x452083);return _0x452083;},_0xcf6db9=(_0x31412e,_0x59a9c1)=>(_0x419dab,_0x47b6fa)=>_0x59a9c1(_0x419dab,_0x47b6fa,_0x31412e);_0x2fb276['CollaborativeUndoRedoService']=class extends _0x576dd1['LocalUndoRedoService']{constructor(_0x4dfe1b,_0x2bc07d,_0x338d90,_0x488db6,_0xe00104){var _0x410592=_0x48e1d4;super(_0x4dfe1b,_0x2bc07d,_0x338d90),this[_0x410592(0x2ef)]=_0x488db6,this[_0x410592(0x1fd)]=_0xe00104;}['transformUndoRedo'](_0x12c683,_0x562108){var _0x3c93fa=_0x48e1d4;const _0x6b3e52=this[_0x3c93fa(0x3b6)](_0x12c683);if(_0x6b3e52)try{const _0x58f47f=this['_transformStack'](_0x6b3e52,_0x562108);this[_0x3c93fa(0x2e9)](_0x12c683,_0x58f47f);}catch(_0x4bde8a){this[_0x3c93fa(0x1fd)]['error']('[CollaborationUndoRedoService]',_0x4bde8a),this[_0x3c93fa(0x308)](_0x12c683);}const _0x1af9e5=this['_getRedoStack'](_0x12c683);if(_0x1af9e5)try{const _0x4321a9=this[_0x3c93fa(0x3d2)](_0x1af9e5,_0x562108);this[_0x3c93fa(0x502)](_0x12c683,_0x4321a9);}catch(_0x1dbe68){this[_0x3c93fa(0x1fd)][_0x3c93fa(0x3f8)](_0x1dbe68),this[_0x3c93fa(0x51c)](_0x12c683);}}[_0x48e1d4(0x308)](_0x2f3229){var _0x12c16f=_0x48e1d4;const _0x2e191c=this[_0x12c16f(0x3b6)](_0x2f3229);_0x2e191c&&(_0x2e191c[_0x12c16f(0x372)]=0x0,this[_0x12c16f(0x1e9)]());}[_0x48e1d4(0x51c)](_0x256b85){var _0x391d77=_0x48e1d4;const _0x239e4b=this[_0x391d77(0x363)](_0x256b85);_0x239e4b&&(_0x239e4b[_0x391d77(0x372)]=0x0,this[_0x391d77(0x1e9)]());}['_substituteUndoStack'](_0x5abdbe,_0x225620){var _0x42ca5c=_0x48e1d4;this['_undoStacks'][_0x42ca5c(0x3e9)](_0x5abdbe,_0x225620),this[_0x42ca5c(0x1e9)]();}[_0x48e1d4(0x502)](_0x3bd26c,_0x4afdf6){var _0x366ee1=_0x48e1d4;this[_0x366ee1(0x470)][_0x366ee1(0x3e9)](_0x3bd26c,_0x4afdf6),this[_0x366ee1(0x1e9)]();}['_transformStack'](_0x7f56e,_0x26ce1f){var _0xdfd0d0=_0x48e1d4;const _0x13fdc3=[];let _0x3ad2ae=_0x26ce1f,_0x138522=_0x26ce1f;for(let _0x516028=_0x7f56e['length']-0x1;_0x516028>=0x0;_0x516028--){const {unitID:_0x2d0441,undoMutations:_0x2af8b9,redoMutations:_0xff0011}=_0x7f56e[_0x516028],_0x29367a=this['_transformService'][_0xdfd0d0(0x226)](_0x3ad2ae,_0x2af8b9),_0x5cdfda=this[_0xdfd0d0(0x2ef)][_0xdfd0d0(0x226)](_0x138522,_0xff0011);if(_0x2bd9a5[_0xdfd0d0(0x50c)](_0x29367a)||_0x2bd9a5[_0xdfd0d0(0x50c)](_0x5cdfda)){this[_0xdfd0d0(0x1fd)][_0xdfd0d0(0x3f8)](_0xdfd0d0(0x427),_0xdfd0d0(0x2d1),_0x29367a,_0x5cdfda);break;}_0x3ad2ae=_0x29367a[_0xdfd0d0(0x2e7)],_0x138522=_0x5cdfda['c1Prime'],_0x13fdc3['push']({'unitID':_0x2d0441,'undoMutations':_0x29367a[_0xdfd0d0(0x23b)],'redoMutations':_0x5cdfda[_0xdfd0d0(0x23b)]});}return _0x13fdc3[_0xdfd0d0(0x3b5)]();}},_0x2fb276[_0x48e1d4(0x514)]=_0x1b3100([_0xcf6db9(0x0,_0x576dd1['IUniverInstanceService']),_0xcf6db9(0x1,_0x576dd1[_0x48e1d4(0x2e5)]),_0xcf6db9(0x2,_0x576dd1['IContextService']),_0xcf6db9(0x3,_0x2bd9a5[_0x48e1d4(0x4ac)]),_0xcf6db9(0x4,_0x576dd1['ILogService'])],_0x2fb276[_0x48e1d4(0x514)]);var _0x2ef9d2=Object['defineProperty'],_0x336bcd=Object['getOwnPropertyDescriptor'],_0xc26034=(_0x19dbb2,_0x3e4145,_0x412234)=>_0x3e4145 in _0x19dbb2?_0x2ef9d2(_0x19dbb2,_0x3e4145,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x412234}):_0x19dbb2[_0x3e4145]=_0x412234,_0x96ee95=(_0x3be918,_0x1e6429,_0x10dce0,_0x4dfc34)=>{var _0x5c70bf=_0x48e1d4;for(var _0x309168=_0x4dfc34>0x1?void 0x0:_0x4dfc34?_0x336bcd(_0x1e6429,_0x10dce0):_0x1e6429,_0x26de83=_0x3be918[_0x5c70bf(0x372)]-0x1,_0x1edd8d;_0x26de83>=0x0;_0x26de83--)(_0x1edd8d=_0x3be918[_0x26de83])&&(_0x309168=_0x1edd8d(_0x309168)||_0x309168);return _0x309168;},_0x2cb4e9=(_0x4cc878,_0x525234)=>(_0x348e37,_0x3fbcfd)=>_0x525234(_0x348e37,_0x3fbcfd,_0x4cc878),_0x416663=(_0x269e5d,_0x2eedf5,_0x923cd2)=>_0xc26034(_0x269e5d,_0x2eedf5+'',_0x923cd2);const _0x377ca0=_0x48e1d4(0x36f);_0x2fb276['UniverCollaborationClientPlugin']=class extends _0x576dd1[_0x48e1d4(0x3c8)]{constructor(_0x5c1ad1,_0x3131d0,_0x2817a8,_0xc5d59c){var _0x1a31b8=_0x48e1d4;super(),_0x3b8823(this,'_config'),(this['_logService']=_0x3131d0,this[_0x1a31b8(0x312)]=_0x2817a8,this[_0x1a31b8(0x33b)]=_0xc5d59c);const {..._0xad9ffa}=_0x576dd1[_0x1a31b8(0x2ca)]({},_0x3d5940,_0x5c1ad1);if(!_0xad9ffa[_0x1a31b8(0x47f)])throw new Error(_0x1a31b8(0x242));this[_0x1a31b8(0x327)]=_0xad9ffa,this['_configService']['setConfig'](_0x212720,_0xad9ffa);}[_0x48e1d4(0x275)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x48e1d4(0x487)](){var _0x1cce36=_0x48e1d4,_0xd93dc0,_0x2ff365;this[_0x1cce36(0x312)][_0x1cce36(0x29b)](_0x576dd1[_0x1cce36(0x202)])&&this['_logService'][_0x1cce36(0x3f8)](_0x1cce36(0x431),_0x1cce36(0x1e5));const _0xf652d6=_0x576dd1[_0x1cce36(0x55a)]([[_0x576dd1[_0x1cce36(0x202)],{'useClass':_0x2fb276[_0x1cce36(0x514)]}],[_0x2fb276[_0x1cce36(0x2f4)]],[_0x2fb276[_0x1cce36(0x392)]],[_0x2fb276[_0x1cce36(0x2b8)]],[_0x5f1390],[_0x36620b],[_0x31c71f],[_0xa30b16],[_0x4b9f58],[_0x2fb276[_0x1cce36(0x32d)]],[_0x426f29,{'useClass':this['_config'][_0x1cce36(0x47f)]}],[_0x2bd9a5[_0x1cce36(0x3d8)],{'useClass':_0x2fb276[_0x1cce36(0x1dc)]}],[_0x576dd1[_0x1cce36(0x406)],{'useClass':_0x2fb276[_0x1cce36(0x43e)]}],[_0xea636['IImageIoService'],{'useClass':_0x2fb276[_0x1cce36(0x349)]}],[_0x576dd1[_0x1cce36(0x519)],{'useClass':_0x2fb276[_0x1cce36(0x445)]}],[_0x2fb276[_0x1cce36(0x426)]],[_0x43689e]],(_0xd93dc0=this['_config'])==null?void 0x0:_0xd93dc0['override']);if(!((_0x2ff365=this[_0x1cce36(0x327)])!=null&&_0x2ff365[_0x1cce36(0x3e4)])){const _0x588214=_0xf652d6['findIndex'](([_0x1437ee])=>_0x1437ee===_0x24e789);_0x588214!==-0x1&&_0xf652d6[_0x1cce36(0x3c5)](_0x588214,0x1);}_0x576dd1[_0x1cce36(0x37e)](this['_injector'],_0xf652d6);}[_0x48e1d4(0x1e7)](){var _0x3d5158=_0x48e1d4,_0x5d3e7a,_0x2bd81c,_0x33c80f;this[_0x3d5158(0x312)][_0x3d5158(0x24d)](_0x347478['HTTPService'])[_0x3d5158(0x28c)]({'priority':0x14,'interceptor':_0x347478[_0x3d5158(0x2cd)]({'maxParallel':0x6})}),(_0x5d3e7a=this['_config'])!=null&&_0x5d3e7a[_0x3d5158(0x316)]||(_0x2bd81c=this[_0x3d5158(0x312)][_0x3d5158(0x24d)](_0x49d2a7,_0x576dd1[_0x3d5158(0x248)][_0x3d5158(0x466)]))==null||_0x2bd81c[_0x3d5158(0x30c)](),(_0x33c80f=this[_0x3d5158(0x327)])!=null&&_0x33c80f[_0x3d5158(0x299)]&&_0x576dd1[_0x3d5158(0x394)](this['_injector'],[[_0x5f1390]]),_0x576dd1['touchDependencies'](this['_injector'],[[_0x36620b],[_0x2fb276[_0x3d5158(0x426)]],[_0xa30b16]]);}},_0x416663(_0x2fb276['UniverCollaborationClientPlugin'],'pluginName',_0x377ca0),_0x2fb276[_0x48e1d4(0x21f)]=_0x96ee95([_0x576dd1['DependentOn'](_0x2bd9a5[_0x48e1d4(0x1f0)],_0x347478[_0x48e1d4(0x4c7)]),_0x2cb4e9(0x1,_0x576dd1[_0x48e1d4(0x30d)]),_0x2cb4e9(0x2,_0x576dd1[_0x48e1d4(0x429)](_0x576dd1['Injector'])),_0x2cb4e9(0x3,_0x576dd1[_0x48e1d4(0x385)])],_0x2fb276['UniverCollaborationClientPlugin']),_0x2fb276[_0x48e1d4(0x36e)]=_0x212720,_0x2fb276['CollaborationStatus']=_0x189381,_0x2fb276[_0x48e1d4(0x435)]=_0x1118e3,_0x2fb276['CollaborationUIEventService']=_0x4b9f58,_0x2fb276[_0x48e1d4(0x3ac)]=_0x31c71f,_0x2fb276[_0x48e1d4(0x321)]=_0x5b0200,_0x2fb276['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x145290,_0x2fb276[_0x48e1d4(0x3a4)]=_0x3d1f39,_0x2fb276[_0x48e1d4(0x291)]=_0x29b893,_0x2fb276[_0x48e1d4(0x3b8)]=_0x29e88d,_0x2fb276['ICollaborationSocketService']=_0x426f29,_0x2fb276[_0x48e1d4(0x52a)]=_0x49d2a7,_0x2fb276[_0x48e1d4(0x29e)]=_0x1786d0,_0x2fb276[_0x48e1d4(0x541)]=_0x24e789,_0x2fb276['LOCAL_CACHE_INTERVAL']=0x3e8,_0x2fb276['LOCAL_CACHE_INTERVAL_KEY']=_0x416064,_0x2fb276[_0x48e1d4(0x4c0)]=_0x44eb18,_0x2fb276[_0x48e1d4(0x4d7)]=_0x54fa9f,_0x2fb276[_0x48e1d4(0x554)]=_0x211c2e,_0x2fb276[_0x48e1d4(0x4bc)]=_0x2f352c,_0x2fb276['deserializeToCombResponse']=_0x3a591e,_0x2fb276[_0x48e1d4(0x35d)]=_0xdb617c,_0x2fb276['serializeCombRequest']=_0x40b1e3,Object['defineProperty'](_0x2fb276,Symbol[_0x48e1d4(0x530)],{'value':_0x48e1d4(0x524)});}));function _0x30d9(_0x471ebb,_0x2f73a8){var _0x253a1b=_0x253a();return _0x30d9=function(_0x30d970,_0x17e673){_0x30d970=_0x30d970-0x1d9;var _0x274589=_0x253a1b[_0x30d970];return _0x274589;},_0x30d9(_0x471ebb,_0x2f73a8);}function _0x253a(){var _0x438bbf=['sessionStatus','localCacheService','_transformIMECache','_collaborationPaused','_awaitingChangeset','CURRENT_STATUS_CANNOT_OPERATE','clear','NO_OTHER_CLIENTS_EDITING','BufferedBlockAlgorithm','refreshPermission','&assign=','startsWith','_tryReconnect','ENTITLE_CHAT_LIMIT_EXCEED','AES','cmd','OPTIONAL','LOCAL_CACHE_INTERVAL','onCommandExecuted','session.room-full','\x20-\x20','fetchMissingChangesets','session.room-cnt-exceeds','getUnitStatus$','copyFileMeta','_hasher','_redoStacks','finalize','random','setCurrentUser','LIVESHARE_NEW_HOST','awaiting','awaitingChangeset','_clearScheduledTask','members$','updatePermissionPoint','JOINING','collabSubmitChangesetUrl','OpenSSL','/-/object/-/batch_allowed','duration','socketService','sessionStatus$','auth.needGotoLoginAlert','_onOffline','compose','encode','getFocusedUnit','csRejEvent','_registerDependencies','SUBMIT_CHANGESET','UnitSnapshot','editingUnit','WorkbookEditablePermission','univer-pro.collaboration-client.single-active-unit-service','charCodeAt','unknown','MOBILE_HAS_BEEN_BOUND','__Key__','_onConflict','EMAIL_HAS_BEEN_BOUND','fromCharCode','PERMISSION_DENIED','_acknowledgedAwaitingChangeset','?size=','rev','update','_clearCollaborationTimeoutTimer','_change$','_updateState','OfflineState','_fetchMissChangesets','CONFLICT','Decryptor','_onFetchMissResult','join','incrementRevOfUnit','amd','listRoles','LIVESHARE_TERMINATE','_socket$','HTTPService','_waitForHeartbeatResponse','status$','NOT_COLLAB','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ITransformService','isInternalEditorID','object','fetch_missing','c2Prime','_startTelemetryCollaborationNewChangeset','[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.','Pkcs7','__creator','getRandomValues','requestParams','_checkMissing','words','changesets','Hasher','[SyncedState]:\x20received\x20rejection.','UnitStatus','_onJoinRoomEvent','snapshot','unitId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Base','[PendingState]:\x20received\x20rejection.','Undefined','OTHER_CLIENTS_EDITING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MSG_FOR_ERROR','UniverNetworkPlugin','getTypeOfUnitDisposed$','_remoteChangesetQueue','CHANGESET_ACK','_process','function','createEncryptor','_compressMutationService','_getSignURL','_cipher','_commandService','SYNCED','getRoom','_resendTimeout','sendChangesetTimeout','kdf','RETRY_CONNECTING_MAX_COUNT_KEY','commentUpdate$','online$','roomInfos','COMMENT_UPDATE','INVITE_CODE_HAS_BEEN_UES','LICENSE_MAX_UNITS_EXCEEDED','toString','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_DEC_XFORM_MODE','_onRemoteACK','[OfflineState]:\x20received\x20changeset.','eventID','collaMsg','stringify','\x0aCurrent:\x20','JSONX','_doFinalize','_onUserJoin','ws://127.0.0.1:8000/universer-api/comb/connect','find','CipherParams','_iv','UniverSheets','Hex','sin','loadOfflineData','/universer-api/snapshot/','awaiting_with_pending','SheetsSelectionsService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformStateCache','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','cfg','getImageSourceCache','UNIVER_DOC','HEARTBEAT_INTERVAL','onTransformSelections','getCurrentRevOfUnit','createSocket','/unit/','[CollaborationSession]','_localeService','_substituteRedoStack','_scheduleCollaborationTimeoutTimer','_transformUndoredo','event$','revision','offline','HMAC','parseChangesetToProtocol','b64DecodeUnicode','updateMember','isTransformMutationsWithChangesetFailure','filter','FileId','_sendHeartbeat','sigBytes','_commentService','objectType','_httpService','CollaborativeUndoRedoService','SOCKET_FAILED','OTHER_CLIENT_EDITING','_nDataBytes','open$','IMentionIOService','fetching\x20missing\x20changesets\x20from\x20','JOIN','_clearRedo','YUUMI_URL_COL_OUT_OF_RANGE','_sessionStatus$','_createInitialState','getMember','BASE64','_univerInstanceService','\x20to\x20','Module','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','byteLength','_throwTelemetryCollaborationNewChangeset','106168lLMORI','actions','ILocalCacheService','WordArray','updateCollaborator','HELLO','readyForCollab','getResourcesRequest','toStringTag','method','HttpExport','@univerjs/docs','delete','ciphertext','Utf8','_snapshotService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','4395tnGVFP','getSnapshotAPIPath','/collaborator','conflict','pending','debug','url','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ISingleActiveUnitService','[CollaborationEntity]','_socketService','AUTHORIZE_CODE_ILLEGAL','_socketReady','_onUserLeave','DocCollaborationEntity','_init','_disableEditing','onRemoteRetry','JOIN_ROOM_FULL','/universer-api/authz','_permissionService','@univerjs/drawing','baseRev','collaboration-client.config','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','toggleOnline','_resendTimer','SessionStatus','ERROR_IMAGE','max','collaboration_new_changeset','_prevBlock','BehaviorSubject','mergeOverrideWithDependencies','ENSURE_SNAPSHOT_EXECUTION','_stopTelemetryCollaborationNewChangeset','clamp','reject','mode','/universer-api/file/{fileID}/sign-url','getValue','ERROR_EXCEED_SIZE','now','data','_onConnectionFailed','_roomMembers','list','CBC','_status$','change$','unitID','entityInit$','INVALID_INVITE_CODE','YUUMI_ALL_TABLES_IS_INVALID','SHOULD_CLOSE_CONN','take','SnapshotServerOverHTTPService','replace','fetchThroughInterceptors','onTransformRemoteChangesetByIMECache','WECHAT_HAS_BEEN_BOUND','HmacMD5','name','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','exports','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/comb','_initDependencies','href','_updateStatus','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','HttpImport','pipe','SNAPSHOT_HAS_BEEN_REMOVED','_getLoginPath','18575tFrZzy','UniverCollaborationPlugin','_key','_toggleOffline','next','_keySchedule','onRemoteAck','CollaborationEntity','_getAPIPrefixPath','requireSession','session','/universer-api/user/session-ticket','status','PERSON','_logService','_handler','UNRECOGNIZED','LIVESHARE_FETCH_OPERATIONS','ImageUploadStatusType','IUndoRedoService','JOIN_ROOM_PERMISSION_DENIED','COMPRESS_MUTATION_SEND','_nRounds','COMPRESS_MUTATION_APPLY','collaborators','joinEvent','\x0aAfter:\x20','catch','min','ENTITLE_CAN_NOT_BUY_LOWER_OTP','INVITE_CODE_ALREADY_BOUND','_toggleOnline','_waitCount','_unitID','reduce','resourceIDs','_onRecvEvent','USER_NOT_FOUND','failed\x20to\x20apply\x20missed\x20changesets!','_scheduleCompleteTimestamp','SerializableCipher','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_clearLocalCache','APPLY_NON_SEQUENTIAL_REVISION','/object','onSyncEditingCollabCursor','buffer','_getCtorByUniverType','UniverCollaborationClientPlugin','encrypt','prototype','type','enableCollaboration','_createHandler','FETCH_MISSING','transformMutationsWithChangeset','uuidv4','getCurrentSelections','mapDocumentTypeToUniverType','image/jpg','_roomCreated$','_exhaustRemoteChangesetQueue','IDLE','_entityInit$','Malformed\x20UTF-8\x20data','UniverProCollaboration','UniverDrawing','leaveEvent','Base64','LICENSE_DISTRO_REJECTED','[SyncedState]:\x20received\x20acknowledgement.','connection\x20error','/universer-api/uniscript','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_oKey','_createHmacHelper','m2Prime','apply','workbook','takeUntil','PasswordBasedCipher','8519661eMygDU','REDEMPTION_CODE_HAS_BEEN_CREATED','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ERROR_AGAIN','result','ONLINE','_undoRedoService','_mode','Quantity','_state$','_onLocalMutation','_isPermissionRej','getOwnPropertyDescriptor','get','ENTITLE_DUP_SUBSCRIPTION','FAIL','DATA_SOURCE_TOO_LARGE','collabWebSocketUrl','UserManagerService','PAYMENT_CHANNEL_NOT_SUPPORT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CLOSE_ROOM','_reverseMap','_instanceService','RxDisposable','every','executeCommand','add','_onCombEvent','_pendingMutations','_initMergeInterceptor','/object/','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_transitionLocked','session.room-permission-denied','_map','collaboration-client.local-cache-service','parse','_updateLocalCache','\x20in\x20_schedule.','ceil','params','allowed','readAsDataURL','_getDownloadEndpointURL','create','_entities','@univerjs/telemetry','enc','saveSnapshot','authzUrl','_doCreateSocket','_onConnectionOpen','onStarting','body','commentUpdateEvent','_unlockTransition','_getAPIPrefix','sid','BlockCipher','not_collab','ClipsheetFragments','MentionType','FetchingMissState','RichTextEditingMutation','size','/universer-api/oidc/authpage','USERS_LEAVE','close','src','decrypt','closeSession','getConfig','putCollaborators','_createInitialStateImpl','_keyPriorReset','registerHTTPInterceptor','padding','clone','onlyLocal','slice','HEARTBEAT_INTERVAL_KEY','_onRemoteRetry','HmacSHA1','image/png','hasOwnProperty','subscribe','AwaitingWithPendingState','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','enableAuthServer','_members','has','SetSelectionsOperation','_sendHeartbeatTimer','INetworkConditionService','push','498HezAiE','InsertSheetMutation','saveChangeset','CollaborationSocketService','_schedule','_joinRoom','isPermissionRej','_showConflictNotification','INGEST','loadUnitOfRevision','infoRsp','_transformRemoteChangesetByIMECache','getTypeOfUnitAdded$','Univer','headers','toDisposable','@univerjs/network','indexOf','APPLY_REVISION_CONFILICT','Subject','target','Tools','getMemberID','deepClone','SheetTransformSelectionsService','ENTITLE_INSUFFICIENT_QUOTA','randomBytes','processBlock','_networkConditionService','_parse','NoPadding','getCollabEntity$','loadSheet','ALREADY_EXISTS','updateOfflineData','complete','CONNECTOR_DATA_TOO_LARGE','subject','_initCloseConn','UNIVER_SLIDE','crypto','editing\x20status\x20changed\x20to','merge','isTransformMutationsWithChangesetSuccess','PENDING','ThresholdInterceptorFactory','_unitInfo$','_state','_collaborationSessionService','transformStack\x20failed!','members','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getImage','LICENSE_EXPORT_SIZE_EXCEEDED','Injector','BlockCipherMode','submit\x20changeset\x20error!','repeat','getCollabEntity','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ENTITLE_REPORT_LIMIT_EXCEED','Error\x20on\x20receiving\x20event','INVITE_CODE_REQUIRED','_commentUpdate$','_snapshotServerService','_sender','iterations','appendMutation','ICommandService','userID','c1Prime','floor','_substituteUndoStack','@univerjs-pro/collaboration','_getSendChangesetTimeout','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','reset','LocaleService','_transformService','getInterceptPoints','GLOBAL_ROOMS_CNT_EXCEEDS','ImageSourceType','SheetCollaborationEntity','CollaborationSessionService','_createHelper','onCommentUpdate','salt','_doCryptBlock','toggleOffline','fromCollab','298ubEFKj','LICENSE_IMPORT_SIZE_EXCEEDED','selections','USER_NOT_INVITED_CODE','waitForRoom$','REDEMPTION_CODE_NOT_STARTED','POST','_replayCachedMutations','disposeWithMe','textEncoder','NEW_CHANGESETS','error$','_removeRoom','_clearUndo','_HTTPService','_replaceFileID','mutations','disableLocalCache','ILogService','EMAIL_VERIFY_CODE_MISMATCH','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ReplaySubject','lib','_injector','/allowed','charAt','_eventService','enableOfflineEditing','forEach','MD5','execute','x-univer-host','_candidateSocket','getCurrentUser','UPDATE_PERMISSION_OBJ','setWaitCount','_onMessage','getUnitId','DEFAULT_COLLAB_WEB_SOCKET_URL','_lockTransition','{fileID}','UPDATE_CURSOR','createDecryptor','saveImage','_config','/-/object/list','send','CHANGESET_SHOULD_RETRY','APPLY_REJECT','encryptBlock','DataLoaderService','SnapshotService','?url=','HEARTBEAT','getUnitType','state','includes','ConflictState','ivSize','UNAUTHENTICATED','getSheetId','SUBMIT_CHANGESET_TIMEOUT','_sendingTimer','_singleActiveUnitService','_configService','Workbook','patch','PERMISSION_REJ','UniverProCollaborationClient','socket\x20open.','saveSheetBlock','People','Disposable','APPLY_PERMISSION_DENIED','_queuedRemoteChangesets','format','unitId\x20is\x20not\x20found','pauseCollaboration','CollaborationImageIoService','keySize','localeService','delay','addHandlerCallback','createInstance','REDEMPTION_USER_NOT_ELIGIBLE','NOT_FOUND','mixIn','UNIVER_UNKNOWN','code','hostname','_collaborationUIEventService','_doReset','Encryptor','loginUrlKey','420000DHKlEj','_userManagerService','UniverNetwork','operators','getLocalCacheKey','2018552WyuAYY','reconnect','_type','retryConnectingInterval','[DataLoaderService]','_getRedoStack','Rectangle','onSendChangeset','state$','_onRemoteRejected','image/gif','routeKey','SHA1','SUCCUSS','&source=','OFFLINE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UNIVER_COLLABORATION_CLIENT_PLUGIN','UNKNOWN_CMD','TOO_MANY_REQUESTS','length','listCollaborators','string','isArray','_telemetryService','createIdentifier','asObservable','_transformSelections','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','RETRY_CONNECTING_MAX_COUNT','concatMap','range','registerDependencies','UNISCRIPT_RUN','_revisionService','_event$','ISocketService','_hash','values','IConfigService','onTransformRemoteChangesetByStateCache','YUUMI_RATE_OVER_LIMIT','_getCurrentRevision','session.room-not-exists','__esModule','post','_clearTimeoutTimer','$super','liveShareNewHost','onTransformIME','_onRemoteChangeset','unitInfo$','MemberService','DisposableCollection','touchDependencies','CHANGESET_REVISION_CONFILICT','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_UNABLE_LOAD_URL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CompressMutationService','LIVESHARE_REQUEST_HOST','isTransformChangesetsSuccess','_ENC_XFORM_MODE','subUnitId','/universer-api/snapshot','sequenceExecute','close$','UNDEFINED','UnitEmbedded','UNKNOWN_CODE','DEFAULT_WS_SESSION_TICKET_URL','pad','UniverInstanceType','YUUMI_ASYNCIO_CANCELLED','_decreaseWaiting','compute','rxjs','image/jpeg','CommentService','CollaborationSession','objectID','append','_tryEnsureSocket','snapshotServerUrl','loadUnit','AwaitingState','loadDoc','reverse','_getUndoStack','JOIN_ROOM_FAILED','HEARTBEAT_TIMEOUT_KEY','UNIVER_PROJECT','_initRequestHeader','CHANGESET_REJ','blockSize','PendingState','hasher','/fetchmissing?from=','downloadEndpointUrl','YUUMI_AI_RUN_FAILED','_incrementRevisionNumber','_executeRemoteChangeset','AWAITING_WITH_PENDING','splice','_retryConnectingTimer','shareReplay','Plugin','action','transformSelections','init','_minBufferSize','ERROR_IMAGE_TYPE','UniverProLicense','ENTITLE_NEED_BILLING_ADDRESS','defineProperty','_data','_transformStack','_submitChangeset','map','LOGIN_FAILED','_changesetSessionId','memberID','ISnapshotServerService','call','unsubscribe','_socket','addImageSourceCache','textRanges','_getUploadFileURL','LOGIN_TOKEN_PROCESSING_FAILED','originalMeta','capture','_applyRemoteChangeset','RECV','enableSingleActiveInstanceLock','UNIVER_SHEET','getSheetBlock','IPermissionService','sheets','set','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','extend','HTTPRequest','onTransformState','message$','_listenToNetworkCondition','_iKey','_handlerCallback','_changesetReqId','concat','_shouldReportTelemetry','_initUnitPermissionChange','_socketMessageSubscription','_retryCount','error','default','350748TLeuSP','getUnit','fetchMiss','PSEUDO_FETCH_MISSING_RESULT','_collaborationTimeoutTimer','INVALID_ARGUMENT','telemetry\x20info\x20is\x20not\x20initialized','univer-pro.collaboration-client-socket-service','JOIN_ROOM_NOT_EXISTS','unit-cache-','[OfflineState]:\x20received\x20rejection.','SheetPermissionInitController','IAuthzIoService','stopTime','/block/','_clearRetryConnectingTimer','emitEvent','COMPLETION_FINISHED','[CollaborationSessionService]','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SyncedState','onRemoteChangeset','dispose$','_clearHeartbeatTimer','roles','_rescheduleHeartbeat','resend','key','_telemetryInfo','msCrypto','collaboratorID','CommandType','_doProcessBlock','RevisionService','onRemoteRej','reqId','AWAITING','_localCacheService','SOCKET_FAILED_RETRY','joinRsp','APPLY_DUPLICATED','onMissingChangesets','onLocalMutation','entries','CollaborationController','[CollaborationUndoRedoService]','Failed\x20to\x20update\x20permission\x20point','Inject','EmptyMutation','removeMember','abs','/role','_xformMode','_timeoutTimer','location','[UniverCollaborationClientPlugin]','getAllMembers','dispose','setShowComponents','CollaborationUIEventId','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationState]:\x20apply\x20error!','IUniverInstanceService','algo','Cipher','avatar','SNAPSHOT_INVALID_SNAPSHOT','_transformRemoteChangesetByStateCache','AuthzIoHttpService','CollaborationEvent','_syncEditingCollabCursor','generateRandomId','UniverTelemetry','_imageSourceCache','put','MentionIoHttpService','EvpKDF','onMissedChangesetFetched','_resendWithTimeout','_startCollaboration','_memberService','Optional','newCsEvent','_sessions','_collabSessionService','transformChangesets','batchAllowed','interceptor','csAckEvent','LEAVE','UserProfileImg','LIVESHARE_OPERATION'];_0x253a=function(){return _0x438bbf;};return _0x253a();}
|
|
2
|
+
(function(_0x551f44,_0x54f785){var _0x236572=_0x4ecd,_0x4040e3=_0x551f44();while(!![]){try{var _0x4704ba=-parseInt(_0x236572(0x1f1))/0x1*(parseInt(_0x236572(0x4c9))/0x2)+parseInt(_0x236572(0x231))/0x3*(parseInt(_0x236572(0x36d))/0x4)+parseInt(_0x236572(0x400))/0x5+-parseInt(_0x236572(0x1f4))/0x6+-parseInt(_0x236572(0x30f))/0x7*(parseInt(_0x236572(0x2a1))/0x8)+-parseInt(_0x236572(0x201))/0x9*(parseInt(_0x236572(0x3e3))/0xa)+parseInt(_0x236572(0x448))/0xb;if(_0x4704ba===_0x54f785)break;else _0x4040e3['push'](_0x4040e3['shift']());}catch(_0x1e47a8){_0x4040e3['push'](_0x4040e3['shift']());}}}(_0x1677,0xb9835),function(_0xabeee6,_0x462c5e){var _0x211fd0=_0x4ecd;typeof exports==_0x211fd0(0x394)&&typeof module<'u'?_0x462c5e(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x211fd0(0x29c)&&define[_0x211fd0(0x35f)]?define([_0x211fd0(0x523),_0x211fd0(0x24b),'@univerjs/core',_0x211fd0(0x25d),_0x211fd0(0x20a),_0x211fd0(0x53d),'@univerjs/telemetry','rxjs/operators','@univerjs/network',_0x211fd0(0x45a),_0x211fd0(0x4df)],_0x462c5e):(_0xabeee6=typeof globalThis<'u'?globalThis:_0xabeee6||self,_0x462c5e(_0xabeee6[_0x211fd0(0x3c8)]={},_0xabeee6[_0x211fd0(0x296)],_0xabeee6[_0x211fd0(0x258)],_0xabeee6[_0x211fd0(0x447)],_0xabeee6[_0x211fd0(0x26e)],_0xabeee6[_0x211fd0(0x53d)],_0xabeee6['UniverTelemetry'],_0xabeee6[_0x211fd0(0x53d)][_0x211fd0(0x3dd)],_0xabeee6['UniverNetwork'],_0xabeee6[_0x211fd0(0x3ea)],_0xabeee6[_0x211fd0(0x46a)]));}(this,function(_0x36d18b,_0x5a7fdc,_0x29a664,_0x438bd6,_0x1ce604,_0x32c204,_0x2d504f,_0x12f47e,_0x200e90,_0x2b4a05,_0x480ca8){'use strict';var _0x997d7=_0x4ecd;var _0x48c8dc=Object[_0x997d7(0x1ed)],_0x50b038=(_0x3e70d3,_0x543dd7,_0x1735a0)=>_0x543dd7 in _0x3e70d3?_0x48c8dc(_0x3e70d3,_0x543dd7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1735a0}):_0x3e70d3[_0x543dd7]=_0x1735a0,_0x260f1e=(_0x3459e2,_0x4b40fc,_0x4f86f7)=>_0x50b038(_0x3459e2,typeof _0x4b40fc!=_0x997d7(0x2d5)?_0x4b40fc+'':_0x4b40fc,_0x4f86f7);const _0xe80868=_0x997d7(0x2b9),_0x4a7c93=_0x997d7(0x2a6),_0x53efe6=_0x997d7(0x246),_0x4aaab9=_0x997d7(0x3ef),_0x2b6987='HEARTBEAT_INTERVAL',_0x315b2c=_0x997d7(0x252),_0x547549='RETRY_CONNECTING_MAX_COUNT',_0xc708f2=_0x997d7(0x3a8),_0x4afe1a=_0x997d7(0x449),_0x278fe0=_0x997d7(0x22e),_0x48a22d=_0x997d7(0x41f),_0x77defc=_0x997d7(0x362);var _0x4015c2=(_0x1d314e=>(_0x1d314e[_0x1d314e[_0x997d7(0x1fa)]=0x0]=_0x997d7(0x1fa),_0x1d314e[_0x1d314e['OK']=0x1]='OK',_0x1d314e[_0x1d314e[_0x997d7(0x2bc)]=0x2]=_0x997d7(0x2bc),_0x1d314e[_0x1d314e[_0x997d7(0x2ad)]=0x3]='PERMISSION_DENIED',_0x1d314e[_0x1d314e[_0x997d7(0x247)]=0x4]=_0x997d7(0x247),_0x1d314e[_0x1d314e[_0x997d7(0x3af)]=0x5]='UNAUTHENTICATED',_0x1d314e[_0x1d314e[_0x997d7(0x557)]=0x6]=_0x997d7(0x557),_0x1d314e[_0x1d314e[_0x997d7(0x51c)]=0x7]=_0x997d7(0x51c),_0x1d314e[_0x1d314e[_0x997d7(0x4d7)]=0x8]='TOO_MANY_REQUESTS',_0x1d314e[_0x1d314e[_0x997d7(0x505)]=0x9]=_0x997d7(0x505),_0x1d314e[_0x1d314e[_0x997d7(0x2b6)]=0xa]=_0x997d7(0x2b6),_0x1d314e[_0x1d314e['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x997d7(0x43e),_0x1d314e[_0x1d314e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1d314e[_0x1d314e[_0x997d7(0x437)]=0xd]=_0x997d7(0x437),_0x1d314e[_0x1d314e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x997d7(0x53b),_0x1d314e[_0x1d314e['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x997d7(0x4bd),_0x1d314e[_0x1d314e[_0x997d7(0x24e)]=0x10]=_0x997d7(0x24e),_0x1d314e[_0x1d314e[_0x997d7(0x579)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1d314e[_0x1d314e[_0x997d7(0x31f)]=0x65]='ERROR_AGAIN',_0x1d314e[_0x1d314e[_0x997d7(0x1f8)]=0xc9]=_0x997d7(0x1f8),_0x1d314e[_0x1d314e[_0x997d7(0x240)]=0xca]='USER_IS_ANONYMOUS',_0x1d314e[_0x1d314e[_0x997d7(0x53e)]=0x1389]=_0x997d7(0x53e),_0x1d314e[_0x1d314e[_0x997d7(0x423)]=0x1771]=_0x997d7(0x423),_0x1d314e[_0x1d314e[_0x997d7(0x49b)]=0x1772]=_0x997d7(0x49b),_0x1d314e[_0x1d314e[_0x997d7(0x429)]=0x1773]=_0x997d7(0x429),_0x1d314e[_0x1d314e[_0x997d7(0x248)]=0x1b59]='APPLY_REJECT',_0x1d314e[_0x1d314e[_0x997d7(0x216)]=0x1b5a]=_0x997d7(0x216),_0x1d314e[_0x1d314e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x997d7(0x52d),_0x1d314e[_0x1d314e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x997d7(0x308),_0x1d314e[_0x1d314e[_0x997d7(0x559)]=0x1b5d]='APPLY_DUPLICATED',_0x1d314e[_0x1d314e[_0x997d7(0x490)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1d314e[_0x1d314e[_0x997d7(0x282)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1d314e[_0x1d314e[_0x997d7(0x329)]=0x232a]=_0x997d7(0x329),_0x1d314e[_0x1d314e[_0x997d7(0x227)]=0x232b]=_0x997d7(0x227),_0x1d314e[_0x1d314e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x997d7(0x2ea),_0x1d314e[_0x1d314e[_0x997d7(0x1ee)]=0x232d]=_0x997d7(0x1ee),_0x1d314e[_0x1d314e[_0x997d7(0x44d)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1d314e[_0x1d314e[_0x997d7(0x377)]=0x2712]=_0x997d7(0x377),_0x1d314e[_0x1d314e[_0x997d7(0x25a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1d314e[_0x1d314e[_0x997d7(0x574)]=0x2714]=_0x997d7(0x574),_0x1d314e[_0x1d314e[_0x997d7(0x3fe)]=0x271a]=_0x997d7(0x3fe),_0x1d314e[_0x1d314e[_0x997d7(0x402)]=0x271b]=_0x997d7(0x402),_0x1d314e[_0x1d314e[_0x997d7(0x524)]=0x271c]=_0x997d7(0x524),_0x1d314e[_0x1d314e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1d314e[_0x1d314e[_0x997d7(0x2e0)]=0x271e]=_0x997d7(0x2e0),_0x1d314e[_0x1d314e['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x1d314e[_0x1d314e[_0x997d7(0x530)]=0x2720]=_0x997d7(0x530),_0x1d314e[_0x1d314e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x997d7(0x32b),_0x1d314e[_0x1d314e[_0x997d7(0x36c)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1d314e[_0x1d314e[_0x997d7(0x32e)]=0x2ee2]='INVALID_INVITE_CODE',_0x1d314e[_0x1d314e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x997d7(0x27e),_0x1d314e[_0x1d314e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x997d7(0x22f),_0x1d314e[_0x1d314e[_0x997d7(0x417)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1d314e[_0x1d314e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x997d7(0x32c),_0x1d314e[_0x1d314e[_0x997d7(0x504)]=0x32ca]=_0x997d7(0x504),_0x1d314e[_0x1d314e[_0x997d7(0x263)]=0x32cb]=_0x997d7(0x263),_0x1d314e[_0x1d314e['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x1d314e[_0x1d314e[_0x997d7(0x2ff)]=0x36b2]=_0x997d7(0x2ff),_0x1d314e[_0x1d314e['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x997d7(0x48b),_0x1d314e[_0x1d314e[_0x997d7(0x4fb)]=0x36b4]=_0x997d7(0x4fb),_0x1d314e[_0x1d314e[_0x997d7(0x23b)]=0x3715]=_0x997d7(0x23b),_0x1d314e[_0x1d314e[_0x997d7(0x575)]=0x3716]=_0x997d7(0x575),_0x1d314e[_0x1d314e[_0x997d7(0x4ed)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1d314e[_0x1d314e[_0x997d7(0x1ea)]=0x37dd]=_0x997d7(0x1ea),_0x1d314e[_0x1d314e['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x1d314e[_0x1d314e[_0x997d7(0x373)]=0x3a9a]=_0x997d7(0x373),_0x1d314e[_0x1d314e[_0x997d7(0x549)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1d314e[_0x1d314e[_0x997d7(0x28f)]=0x3a9c]=_0x997d7(0x28f),_0x1d314e[_0x1d314e[_0x997d7(0x3c9)]=0x3a9d]=_0x997d7(0x3c9),_0x1d314e[_0x1d314e[_0x997d7(0x502)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1d314e[_0x1d314e['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x997d7(0x55c),_0x1d314e[_0x1d314e[_0x997d7(0x48a)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x1d314e[_0x1d314e[_0x997d7(0x3ab)]=-0x1]=_0x997d7(0x3ab),_0x1d314e))(_0x4015c2||{}),_0x60f00c=(_0x2e4a00=>(_0x2e4a00[_0x2e4a00[_0x997d7(0x229)]=0x0]=_0x997d7(0x229),_0x2e4a00[_0x2e4a00[_0x997d7(0x47c)]=0x1]='UNIVER_DOC',_0x2e4a00[_0x2e4a00['UNIVER_SHEET']=0x2]=_0x997d7(0x4c5),_0x2e4a00[_0x2e4a00[_0x997d7(0x4e3)]=0x3]=_0x997d7(0x4e3),_0x2e4a00[_0x2e4a00[_0x997d7(0x4ff)]=0x4]=_0x997d7(0x4ff),_0x2e4a00[_0x2e4a00['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2e4a00))(_0x60f00c||{}),_0x1f168c=(_0x295691=>(_0x295691[_0x295691['UNKNOWN_CMD']=0x0]=_0x997d7(0x225),_0x295691[_0x295691[_0x997d7(0x556)]=0x1]='HELLO',_0x295691[_0x295691[_0x997d7(0x32a)]=0x2]=_0x997d7(0x32a),_0x295691[_0x295691['LEAVE']=0x3]=_0x997d7(0x50c),_0x295691[_0x295691['INGEST']=0x4]=_0x997d7(0x55a),_0x295691[_0x295691[_0x997d7(0x230)]=0x5]='HEARTBEAT',_0x295691[_0x295691[_0x997d7(0x3e6)]=0x6]=_0x997d7(0x3e6),_0x295691[_0x295691[_0x997d7(0x3ab)]=-0x1]=_0x997d7(0x3ab),_0x295691))(_0x1f168c||{}),_0x2eda57=(_0x57a483=>(_0x57a483[_0x57a483[_0x997d7(0x4cf)]=0x0]=_0x997d7(0x4cf),_0x57a483[_0x57a483['OK']=0x1]='OK',_0x57a483[_0x57a483['FAIL']=0x2]='FAIL',_0x57a483[_0x57a483['JOIN_ROOM_FULL']=0x3e9]=_0x997d7(0x497),_0x57a483[_0x57a483['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x57a483[_0x57a483['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x997d7(0x54b),_0x57a483[_0x57a483[_0x997d7(0x2ec)]=0x3ec]=_0x997d7(0x2ec),_0x57a483[_0x57a483[_0x997d7(0x3ab)]=-0x1]=_0x997d7(0x3ab),_0x57a483))(_0x2eda57||{}),_0x241a4e=(_0x515295=>(_0x515295[_0x515295[_0x997d7(0x385)]=0x0]=_0x997d7(0x385),_0x515295[_0x515295[_0x997d7(0x416)]=0x1]='HttpImport',_0x515295[_0x515295['HttpExport']=0x2]='HttpExport',_0x515295[_0x515295[_0x997d7(0x4f6)]=0x3]=_0x997d7(0x4f6),_0x515295[_0x515295[_0x997d7(0x4e6)]=0x4]=_0x997d7(0x4e6),_0x515295[_0x515295[_0x997d7(0x472)]=0x5]='UserProfileImg',_0x515295[_0x515295[_0x997d7(0x4c0)]=0x6]=_0x997d7(0x4c0),_0x515295[_0x515295['UNRECOGNIZED']=-0x1]=_0x997d7(0x3ab),_0x515295))(_0x241a4e||{});const _0x5ecfcb='collaboration_new_changeset';function _0x2a03fd(_0x380984){var _0x3200fd=_0x997d7;return JSON['stringify'](_0x380984)[_0x3200fd(0x307)];}var _0xedfb31=(_0x25a9b4=>(_0x25a9b4[_0x997d7(0x477)]=_0x997d7(0x477),_0x25a9b4[_0x997d7(0x2ad)]=_0x997d7(0x2ad),_0x25a9b4[_0x997d7(0x3ce)]=_0x997d7(0x3ce),_0x25a9b4['CLOSE_ROOM']=_0x997d7(0x21a),_0x25a9b4[_0x997d7(0x25b)]=_0x997d7(0x25b),_0x25a9b4[_0x997d7(0x3b7)]=_0x997d7(0x3b7),_0x25a9b4['SOCKET_FAILED']='SOCKET_FAILED',_0x25a9b4[_0x997d7(0x3f3)]='SUBMIT_CHANGESET_TIMEOUT',_0x25a9b4))(_0xedfb31||{});class _0x495958{constructor(){var _0x37a64a=_0x997d7;_0x260f1e(this,_0x37a64a(0x3bf),new _0x32c204[(_0x37a64a(0x41c))]()),_0x260f1e(this,_0x37a64a(0x25c),this['_event$'][_0x37a64a(0x313)]());}[_0x997d7(0x2d4)](_0x254219){var _0x443a2c=_0x997d7;this['_event$'][_0x443a2c(0x476)](_0x254219);}}class _0x3e15b7{constructor(){var _0x49d418=_0x997d7;_0x260f1e(this,_0x49d418(0x44b),new _0x32c204[(_0x49d418(0x41c))]()),_0x260f1e(this,_0x49d418(0x3d8),this[_0x49d418(0x44b)]['asObservable']());}[_0x997d7(0x20e)](_0x22e4f7){var _0x57e0af=_0x997d7;this[_0x57e0af(0x44b)][_0x57e0af(0x476)](_0x22e4f7);}}var _0x364068=Object[_0x997d7(0x539)],_0x148430=(_0x12ba16,_0x1867b8,_0xa1e2c,_0x14605d)=>{for(var _0x374fa7=_0x14605d>0x1?void 0x0:_0x14605d?_0x364068(_0x1867b8,_0xa1e2c):_0x1867b8,_0x1a5ebe=_0x12ba16['length']-0x1,_0x4bae23;_0x1a5ebe>=0x0;_0x1a5ebe--)(_0x4bae23=_0x12ba16[_0x1a5ebe])&&(_0x374fa7=_0x4bae23(_0x374fa7)||_0x374fa7);return _0x374fa7;},_0x3ec42a=(_0x438716,_0x3f7077)=>(_0x1a98cd,_0x37af04)=>_0x3f7077(_0x1a98cd,_0x37af04,_0x438716);_0x36d18b[_0x997d7(0x409)]=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x357c4e,_0x2a5f4c){var _0x979931=_0x997d7;super(),_0x260f1e(this,'_roomMembers',new Map()),_0x260f1e(this,_0x979931(0x431),new _0x32c204[(_0x979931(0x41c))]()),(this['_univerInstanceService']=_0x357c4e,this[_0x979931(0x4c6)]=_0x2a5f4c,this[_0x979931(0x31b)](_0x32c204[_0x979931(0x2e7)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x29a664['UniverInstanceType'][_0x979931(0x4c5)])[_0x979931(0x2ab)](_0x12f47e[_0x979931(0x2b1)](_0x2daf6b=>_0x2daf6b[_0x979931(0x4ae)]())),this[_0x979931(0x432)][_0x979931(0x525)](_0x29a664[_0x979931(0x319)][_0x979931(0x47c)])[_0x979931(0x2ab)](_0x12f47e['map'](_0x113faa=>_0x113faa[_0x979931(0x4ae)]())),this[_0x979931(0x432)][_0x979931(0x525)](_0x29a664[_0x979931(0x319)][_0x979931(0x4e3)])[_0x979931(0x2ab)](_0x12f47e['map'](_0x5708bf=>_0x5708bf[_0x979931(0x4ae)]())))['subscribe'](_0x2c57dd=>this['_removeRoom'](_0x2c57dd))));}[_0x997d7(0x36b)](_0x33f3d0){var _0x4509ea=_0x997d7;return this[_0x4509ea(0x332)][_0x4509ea(0x572)](_0x33f3d0)?_0x32c204['of'](this[_0x4509ea(0x332)][_0x4509ea(0x47e)](_0x33f3d0)):this[_0x4509ea(0x431)][_0x4509ea(0x2ab)](_0x12f47e[_0x4509ea(0x2b1)](_0xfed236=>{var _0x462086=_0x4509ea;if(_0xfed236===_0x33f3d0)return this[_0x462086(0x332)]['get'](_0xfed236);}));}[_0x997d7(0x546)](_0x352345){var _0x18bf8d=_0x997d7;this[_0x18bf8d(0x4c6)][_0x18bf8d(0x546)](_0x352345);}[_0x997d7(0x420)](){var _0x47a497=_0x997d7;return this[_0x47a497(0x4c6)][_0x47a497(0x420)]();}[_0x997d7(0x486)](_0x594edb,_0xe9c04b){var _0x3d0fd2=_0x997d7;let _0x20e890=this['_roomMembers'][_0x3d0fd2(0x47e)](_0x594edb);_0x20e890||(_0x20e890=new _0xe298f5(),this[_0x3d0fd2(0x332)][_0x3d0fd2(0x41e)](_0x594edb,_0x20e890),this[_0x3d0fd2(0x431)][_0x3d0fd2(0x476)](_0x594edb)),_0x20e890[_0x3d0fd2(0x486)](_0xe9c04b);}[_0x997d7(0x341)](_0x371613,_0x5f44b7){var _0x18e820=_0x997d7;const _0x281f0c=this[_0x18e820(0x332)][_0x18e820(0x47e)](_0x371613);_0x281f0c&&_0x281f0c['removeMember'](_0x5f44b7);}[_0x997d7(0x422)](_0x11f1e1){var _0x36d583=_0x997d7;return this[_0x36d583(0x332)]['get'](_0x11f1e1);}[_0x997d7(0x436)](_0x5f102f,_0x1eccb3){var _0x12a37d=_0x997d7;const _0x1eea97=this[_0x12a37d(0x332)]['get'](_0x5f102f);if(_0x1eea97)return _0x1eea97[_0x12a37d(0x436)](_0x1eccb3);}[_0x997d7(0x2cb)](_0x74a28){var _0x1b7980=_0x997d7;const _0x101519=this[_0x1b7980(0x332)][_0x1b7980(0x47e)](_0x74a28);_0x101519&&(_0x101519['dispose'](),this['_roomMembers'][_0x1b7980(0x375)](_0x74a28));}[_0x997d7(0x206)](){var _0x94c4e9=_0x997d7;this[_0x94c4e9(0x332)][_0x94c4e9(0x2bd)](_0x1f3f2f=>_0x1f3f2f[_0x94c4e9(0x206)]()),this[_0x94c4e9(0x332)][_0x94c4e9(0x2ef)](),this['_roomCreated$'][_0x94c4e9(0x42a)]();}},_0x36d18b[_0x997d7(0x409)]=_0x148430([_0x3ec42a(0x0,_0x29a664[_0x997d7(0x208)]),_0x3ec42a(0x1,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x353)]))],_0x36d18b[_0x997d7(0x409)]);class _0xe298f5 extends _0x29a664[_0x997d7(0x285)]{constructor(){var _0x166009=_0x997d7;super(...arguments),_0x260f1e(this,_0x166009(0x312),new Map()),_0x260f1e(this,_0x166009(0x350),new _0x32c204['BehaviorSubject'](this['_members'])),_0x260f1e(this,'members$',this['_members$'][_0x166009(0x313)]());}['dispose'](){var _0x5e8463=_0x997d7;this[_0x5e8463(0x312)][_0x5e8463(0x2ef)]();}[_0x997d7(0x486)](_0x1e6fbd){var _0x279f76=_0x997d7;this[_0x279f76(0x312)][_0x279f76(0x41e)](_0x1e6fbd[_0x279f76(0x298)],_0x1e6fbd),this[_0x279f76(0x2cd)]();}[_0x997d7(0x341)](_0x259179){var _0x2fa9dc=_0x997d7;this[_0x2fa9dc(0x312)]['delete'](_0x259179);}['getMember'](_0x20a283){var _0x53d29c=_0x997d7;return this[_0x53d29c(0x312)][_0x53d29c(0x47e)](_0x20a283);}['getAllMembers'](){var _0x4e4251=_0x997d7;return Array[_0x4e4251(0x410)](this[_0x4e4251(0x312)][_0x4e4251(0x453)]());}[_0x997d7(0x2cd)](){var _0x43daab=_0x997d7;this[_0x43daab(0x350)][_0x43daab(0x476)](this[_0x43daab(0x312)]);}}var _0x16951b=Object[_0x997d7(0x539)],_0x104870=(_0x1cdc44,_0x340f38,_0x2e882a,_0x34d02b)=>{var _0x7d153e=_0x997d7;for(var _0x4ad0c7=_0x34d02b>0x1?void 0x0:_0x34d02b?_0x16951b(_0x340f38,_0x2e882a):_0x340f38,_0x443e7e=_0x1cdc44[_0x7d153e(0x307)]-0x1,_0x1bab9a;_0x443e7e>=0x0;_0x443e7e--)(_0x1bab9a=_0x1cdc44[_0x443e7e])&&(_0x4ad0c7=_0x1bab9a(_0x4ad0c7)||_0x4ad0c7);return _0x4ad0c7;},_0x2b39f1=(_0x101b66,_0x3d6e41)=>(_0x8347ae,_0x53d1f0)=>_0x3d6e41(_0x8347ae,_0x53d1f0,_0x101b66),_0xbd299=(_0x53eed9=>(_0x53eed9[_0x53eed9['IDLE']=0x0]=_0x997d7(0x33c),_0x53eed9[_0x53eed9[_0x997d7(0x249)]=0x1]=_0x997d7(0x249),_0x53eed9[_0x53eed9['OFFLINE']=0x2]='OFFLINE',_0x53eed9[_0x53eed9[_0x997d7(0x42b)]=0x3]=_0x997d7(0x42b),_0x53eed9))(_0xbd299||{});const _0x43b024={[_0x2eda57['FAIL']]:_0x997d7(0x228),[_0x2eda57['JOIN_ROOM_FULL']]:'session.room-full',[_0x2eda57[_0x997d7(0x21c)]]:_0x997d7(0x42d),[_0x2eda57[_0x997d7(0x54b)]]:'session.room-permission-denied',[_0x2eda57[_0x997d7(0x2ec)]]:_0x997d7(0x358)};_0x36d18b['CollaborationSession']=class extends _0x29a664['RxDisposable']{constructor(_0x44356d,_0x58a92c,_0x582ace,_0x17125a,_0x75d8fd,_0x18e4d2,_0x2b1066,_0x252585){var _0x2eeb19=_0x997d7;super(),_0x260f1e(this,'_sessionStatus$',new _0x32c204[(_0x2eeb19(0x4be))](0x0)),_0x260f1e(this,_0x2eeb19(0x40f),this[_0x2eeb19(0x442)][_0x2eeb19(0x313)]()),_0x260f1e(this,_0x2eeb19(0x3bf),new _0x32c204[(_0x2eeb19(0x41c))]()),_0x260f1e(this,_0x2eeb19(0x25c),this[_0x2eeb19(0x3bf)][_0x2eeb19(0x313)]()),_0x260f1e(this,_0x2eeb19(0x49e)),_0x260f1e(this,_0x2eeb19(0x3d6)),_0x260f1e(this,_0x2eeb19(0x3f2)),_0x260f1e(this,_0x2eeb19(0x338),!0x1),_0x260f1e(this,_0x2eeb19(0x272),null),(this[_0x2eeb19(0x4e0)]=_0x44356d,this['_logService']=_0x582ace,this[_0x2eeb19(0x261)]=_0x17125a,this['_memberService']=_0x75d8fd,this['_commentService']=_0x18e4d2,this['_collaborationUIEventService']=_0x2b1066,this[_0x2eeb19(0x571)]=_0x252585,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x58a92c['pipe'](_0x32c204[_0x2eeb19(0x45b)](this[_0x2eeb19(0x2a0)]))[_0x2eeb19(0x3cc)](_0x2c4403=>{var _0x2b2820=_0x2eeb19,_0x3c9fe7;typeof _0x2c4403>'u'||(this[_0x2b2820(0x49e)]=_0x2c4403,_0x2c4403?(this['_joinRoom'](_0x2c4403),this[_0x2b2820(0x3d6)]=_0x2c4403[_0x2b2820(0x3e4)][_0x2b2820(0x3cc)](_0x1c21d8=>{var _0x349fdb=_0x2b2820;_0x1c21d8[_0x349fdb(0x259)]===this[_0x349fdb(0x4e0)]&&this[_0x349fdb(0x30b)](_0x1c21d8);})):(this[_0x2b2820(0x520)](),this['_sessionStatus$']['next'](0x2),(_0x3c9fe7=this[_0x2b2820(0x3d6)])==null||_0x3c9fe7['unsubscribe'](),this[_0x2b2820(0x3d6)]=null));}));}get['sessionStatus'](){var _0x5cb58b=_0x997d7;return this[_0x5cb58b(0x442)][_0x5cb58b(0x53f)]();}[_0x997d7(0x2f1)](){var _0x5d8c94=_0x997d7,_0x21d45b,_0x58cc1d;return(_0x58cc1d=(_0x21d45b=this['_socket'])==null?void 0x0:_0x21d45b[_0x5d8c94(0x298)])!=null?_0x58cc1d:null;}['dispose'](){var _0x28e53c=_0x997d7;super[_0x28e53c(0x206)](),this[_0x28e53c(0x2a0)][_0x28e53c(0x476)](),this[_0x28e53c(0x2a0)]['complete']();}['close'](){var _0x4867e1=_0x997d7,_0x26e861,_0x502534;this[_0x4867e1(0x520)](),(_0x26e861=this[_0x4867e1(0x49e)])==null||_0x26e861[_0x4867e1(0x4ea)]({'cmd':_0x1f168c[_0x4867e1(0x50c)],'data':{'roomID':this[_0x4867e1(0x4e0)]}}),(_0x502534=this[_0x4867e1(0x49e)])==null||_0x502534[_0x4867e1(0x4f9)](),this[_0x4867e1(0x3bf)][_0x4867e1(0x42a)](),this['_sessionStatus$'][_0x4867e1(0x42a)](),this[_0x4867e1(0x206)]();}['_onCombEvent'](_0x1a2a9e){var _0x1a6e86=_0x997d7;_0x1a2a9e[_0x1a6e86(0x235)]===_0x1f168c['JOIN']?this[_0x1a6e86(0x4d4)](_0x1a2a9e):_0x1a2a9e[_0x1a6e86(0x235)]===_0x1f168c[_0x1a6e86(0x3e6)]&&this[_0x1a6e86(0x570)](_0x1a2a9e);}['_joinRoom'](_0x2a5038){var _0x12650c=_0x997d7;this['_sessionStatus$'][_0x12650c(0x476)](0x1),_0x2a5038[_0x12650c(0x4ea)]({'cmd':_0x1f168c[_0x12650c(0x32a)],'routeKey':this[_0x12650c(0x4e0)],'routeType':'','data':{'rooms':[{'roomID':this[_0x12650c(0x4e0)]}]}});}[_0x997d7(0x4d4)](_0x427153){var _0x45a51d=_0x997d7,_0x366cc5;if(_0x427153[_0x45a51d(0x3e9)]in _0x43b024){this[_0x45a51d(0x47a)][_0x45a51d(0x2d4)]({'id':_0xedfb31[_0x45a51d(0x25b)],'data':_0x43b024[_0x427153[_0x45a51d(0x3e9)]]}),this[_0x45a51d(0x442)][_0x45a51d(0x476)](0x2);return;}this[_0x45a51d(0x442)]['next'](0x3);const _0x16d69e=(_0x366cc5=_0x427153[_0x45a51d(0x40b)][_0x45a51d(0x457)][this['_unitID']])==null?void 0x0:_0x366cc5['members'];_0x16d69e&&_0x16d69e[_0x45a51d(0x2bd)](_0x2e980f=>this[_0x45a51d(0x303)][_0x45a51d(0x486)](this[_0x45a51d(0x4e0)],_0x2e980f));}[_0x997d7(0x570)](_0x472f12){var _0x680012=_0x997d7;try{const _0x146322=_0x472f12[_0x680012(0x40b)];switch(_0x146322[_0x680012(0x328)]){case _0x5a7fdc[_0x680012(0x315)][_0x680012(0x4b8)]:this[_0x680012(0x3d7)](_0x146322),this['_event$']['next'](_0x146322);break;case _0x5a7fdc[_0x680012(0x315)][_0x680012(0x47b)]:this['_onUserLeave'](_0x146322),this[_0x680012(0x3bf)][_0x680012(0x476)](_0x146322);break;case _0x5a7fdc[_0x680012(0x315)][_0x680012(0x243)]:case _0x5a7fdc[_0x680012(0x315)][_0x680012(0x3a7)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x680012(0x563)](),this[_0x680012(0x3bf)][_0x680012(0x476)](_0x146322);break;case _0x5a7fdc[_0x680012(0x315)]['MSG_FOR_ERROR']:this[_0x680012(0x221)][_0x680012(0x4ee)](_0x680012(0x3ae)+JSON[_0x680012(0x22d)](_0x146322)),this[_0x680012(0x3bf)][_0x680012(0x476)](_0x146322);break;case _0x5a7fdc['CollaborationEvent'][_0x680012(0x2a2)]:this[_0x680012(0x510)]['onCommentUpdate'](_0x146322[_0x680012(0x40b)]),this[_0x680012(0x3bf)][_0x680012(0x476)](_0x146322);break;default:this['_event$'][_0x680012(0x476)](_0x146322);}}catch(_0x513593){this[_0x680012(0x221)][_0x680012(0x4ee)](_0x513593,_0x472f12);}}[_0x997d7(0x3d7)](_0x5bb932){var _0x224442=_0x997d7;this[_0x224442(0x303)][_0x224442(0x486)](this[_0x224442(0x4e0)],_0x5bb932['data']);}['_onUserLeave'](_0x26e0d3){var _0x501be4=_0x997d7;this['_memberService'][_0x501be4(0x341)](this[_0x501be4(0x4e0)],_0x26e0d3['data'][_0x501be4(0x298)]);}async[_0x997d7(0x4ea)](_0x246144,_0x1764c1){var _0xdbb878=_0x997d7;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0xdbb878(0x421));try{_0x246144[_0xdbb878(0x328)]===_0x5a7fdc[_0xdbb878(0x315)][_0xdbb878(0x48e)]&&(this[_0xdbb878(0x34e)](),this[_0xdbb878(0x380)](_0x246144)),this['_socket']['send']({'cmd':_0x1f168c['INGEST'],'routeKey':_0x1764c1,'routeType':'','data':_0x246144});}catch(_0x300572){this[_0xdbb878(0x221)][_0xdbb878(0x4ee)](_0x300572);}}[_0x997d7(0x34e)](){var _0x1c81c9=_0x997d7,_0x22fe63;this[_0x1c81c9(0x3f2)]=setTimeout(()=>{var _0x203c92=_0x1c81c9;this[_0x203c92(0x3f2)]=null,this[_0x203c92(0x47a)][_0x203c92(0x2d4)]({'id':_0xedfb31[_0x203c92(0x3f3)]});},(_0x22fe63=this['_configService'][_0x1c81c9(0x368)](_0x315b2c))!=null?_0x22fe63:0x4e20);}[_0x997d7(0x563)](){var _0x346ece=_0x997d7;this[_0x346ece(0x3f2)]&&(clearTimeout(this[_0x346ece(0x3f2)]),this[_0x346ece(0x3f2)]=null);}[_0x997d7(0x380)](_0x16501c){var _0x46fe12=_0x997d7;if(!this[_0x46fe12(0x338)])return;const {data:_0x25a0aa}=_0x16501c,{unitID:_0x250e49,changeset:_0x2e6de8}=_0x25a0aa,{mutations:_0x128a67,type:_0x3f3653}=_0x2e6de8;this[_0x46fe12(0x272)]={'unitId':_0x250e49,'type':_0x3f3653,'startTime':performance[_0x46fe12(0x554)](),'stopTime':0x0,'duration':0x0,'size':_0x2a03fd(_0x128a67)};}[_0x997d7(0x3a2)](){var _0x37fc92=_0x997d7;if(this[_0x37fc92(0x338)]){if(!this['_telemetryInfo']){this[_0x37fc92(0x221)][_0x37fc92(0x4ee)](_0x37fc92(0x443),_0x37fc92(0x405));return;}this[_0x37fc92(0x272)][_0x37fc92(0x4ce)]=performance['now'](),this[_0x37fc92(0x272)]['duration']=this[_0x37fc92(0x272)][_0x37fc92(0x4ce)]-this[_0x37fc92(0x272)]['startTime'],this['_telemetryService'][_0x37fc92(0x349)](_0x5ecfcb,this['_telemetryInfo']),this[_0x37fc92(0x272)]=null;}}[_0x997d7(0x520)](){this['_telemetryInfo']=null;}},_0x36d18b[_0x997d7(0x4d1)]=_0x104870([_0x2b39f1(0x2,_0x29a664[_0x997d7(0x492)]),_0x2b39f1(0x3,_0x29a664[_0x997d7(0x4fc)]),_0x2b39f1(0x4,_0x29a664[_0x997d7(0x346)](_0x36d18b[_0x997d7(0x409)])),_0x2b39f1(0x5,_0x29a664['Inject'](_0x3e15b7)),_0x2b39f1(0x6,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x2b39f1(0x7,_0x29a664[_0x997d7(0x29b)](_0x2d504f[_0x997d7(0x280)]))],_0x36d18b['CollaborationSession']);const _0x3e2be6=_0x29a664[_0x997d7(0x38e)](_0x997d7(0x3ed));function _0x82f518(_0x47a676){return'unit-cache-'+_0x47a676;}var _0x5ac726=Object['getOwnPropertyDescriptor'],_0x132989=(_0xbb4164,_0x11496b,_0x3df4e0,_0xbc3ca9)=>{var _0x3c3261=_0x997d7;for(var _0x396dd8=_0xbc3ca9>0x1?void 0x0:_0xbc3ca9?_0x5ac726(_0x11496b,_0x3df4e0):_0x11496b,_0x1f3631=_0xbb4164[_0x3c3261(0x307)]-0x1,_0x3900cb;_0x1f3631>=0x0;_0x1f3631--)(_0x3900cb=_0xbb4164[_0x1f3631])&&(_0x396dd8=_0x3900cb(_0x396dd8)||_0x396dd8);return _0x396dd8;},_0x512f62=(_0x11b3c3,_0x3f918a)=>(_0x51df40,_0x32ece0)=>_0x3f918a(_0x51df40,_0x32ece0,_0x11b3c3);function _0x59fc4b(_0x44a2bd){var _0x10eb54=_0x997d7;const {unitID:_0x200fdf,mutations:_0x4cca68}=_0x44a2bd;return{'unitId':_0x200fdf,'subUnitId':_0x4cca68[_0x10eb54(0x307)]>0x0?_0x4cca68[0x0]['params'][_0x10eb54(0x288)]:null};}_0x36d18b[_0x997d7(0x415)]=class{constructor(_0x94e894,_0x36bbe4,_0x17c2e9){var _0x2d42f9=_0x997d7;this[_0x2d42f9(0x30a)]=_0x94e894,this['_transformService']=_0x36bbe4,this[_0x2d42f9(0x44c)]=_0x17c2e9;}[_0x997d7(0x440)](_0x1c2969){var _0x88484a=_0x997d7,_0xa9eb56,_0x571149,_0x42de08,_0xf58cb;const _0x458af5=this['_injector'][_0x88484a(0x47e)](_0x1ce604[_0x88484a(0x41b)]),{unitId:_0x15dcea,subUnitId:_0x1f932c}=_0x59fc4b(_0x1c2969),_0xd5988f=_0x458af5==null?void 0x0:_0x458af5[_0x88484a(0x379)](_0x15dcea)['getCurrentSelections'](),_0x37155d=(_0x571149=(_0xa9eb56=this[_0x88484a(0x44c)][_0x88484a(0x458)](_0x15dcea))==null?void 0x0:_0xa9eb56[_0x88484a(0x27d)]())==null?void 0x0:_0x571149[_0x88484a(0x383)]();if(_0xd5988f[_0x88484a(0x307)]===0x0||!_0x15dcea||!_0x1f932c)return;const _0x4c64c6=[{'id':_0x1ce604['SetSelectionsOperation']['id'],'params':{'unitId':_0x15dcea,'subUnitId':_0x37155d,'selections':_0x29a664['Tools']['deepClone'](_0xd5988f)}}],_0x126185=this[_0x88484a(0x536)]['transformMutationsWithChangeset'](_0x1c2969,_0x4c64c6);if(!_0x5a7fdc[_0x88484a(0x260)](_0x126185))throw _0x126185[_0x88484a(0x4ee)];const _0x4e09ae=(_0xf58cb=(_0x42de08=_0x126185[_0x88484a(0x2d3)][0x0])==null?void 0x0:_0x42de08[_0x88484a(0x200)])==null?void 0x0:_0xf58cb[_0x88484a(0x518)];if(Array['isArray'](_0x4e09ae)&&_0x4e09ae[_0x88484a(0x307)]){if(_0x4e09ae['length']===_0x4c64c6[0x0]['params']['selections'][_0x88484a(0x307)]&&_0x4e09ae[_0x88484a(0x2c3)]((_0x1e9542,_0x39e29f)=>_0x29a664['Rectangle'][_0x88484a(0x205)](_0x1e9542[_0x88484a(0x300)],_0x4c64c6[0x0][_0x88484a(0x200)][_0x88484a(0x518)][_0x39e29f]['range'])))return;this[_0x88484a(0x30a)][_0x88484a(0x47e)](_0x29a664[_0x88484a(0x37f)])[_0x88484a(0x459)](_0x1ce604[_0x88484a(0x26c)]['id'],{'unitId':_0x15dcea,'subUnitId':_0x37155d,'selections':_0x4e09ae});}}},_0x36d18b['SheetTransformSelectionsService']=_0x132989([_0x512f62(0x0,_0x29a664['Inject'](_0x29a664[_0x997d7(0x2c6)])),_0x512f62(0x1,_0x5a7fdc[_0x997d7(0x4a5)]),_0x512f62(0x2,_0x29a664[_0x997d7(0x208)])],_0x36d18b['SheetTransformSelectionsService']);const _0x4f3087=_0x29a664['createIdentifier'](_0x997d7(0x291));var _0x4ff042=(_0x2ba5a8=>(_0x2ba5a8[_0x2ba5a8[_0x997d7(0x44e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2ba5a8[_0x2ba5a8['OTHER_CLIENTS_EDITING']=0x1]=_0x997d7(0x3f7),_0x2ba5a8))(_0x4ff042||{});const _0x3fa783='collaboration-client.config',_0x1ee5fd={},_0x236b73=new Set([_0x1ce604['InsertSheetMutation']['id']]);function _0x592534(_0x19354a,_0x1c4774,_0x1cc78a,_0x4f8cf8,_0x568a88){var _0x585937=_0x997d7,_0xbfcebd,_0x391ae5,_0x1b1506,_0x376c86;const _0xfd6c34=[];for(const _0x526ce9 of _0x19354a)if(_0x236b73[_0x585937(0x572)](_0x526ce9['id'])){if(_0xfd6c34[_0x585937(0x307)]>0x0)break;_0xfd6c34['push'](_0x526ce9);break;}else _0xfd6c34[_0x585937(0x3f6)](_0x526ce9);const _0x1d32cf=(_0x391ae5=(_0xbfcebd=_0x568a88[_0x585937(0x420)]())==null?void 0x0:_0xbfcebd[_0x585937(0x4cd)])!=null?_0x391ae5:_0x585937(0x374),_0x27a763=(_0x376c86=(_0x1b1506=_0x568a88[_0x585937(0x420)]())==null?void 0x0:_0x1b1506[_0x585937(0x298)])!=null?_0x376c86:_0x585937(0x374);return{'changeset':{'unitID':_0x1c4774,'type':_0x5a7fdc[_0x585937(0x51e)](_0x1cc78a[_0x585937(0x371)](_0x1c4774)),'baseRev':_0x4f8cf8['getCurrentRevOfUnit'](_0x1c4774),'revision':0x0,'userID':_0x1d32cf,'memberID':_0x27a763,'mutations':_0xfd6c34},'pendingMutations':_0x19354a['slice'](_0xfd6c34['length'])};}function _0x1a13a4(_0x184b66,_0xead148,_0x5629ce,_0x461eb0,_0x17a07e){var _0x4987ad=_0x997d7,_0x44a549,_0x299a35,_0x98b702,_0x28b4f8;const _0x481b1c=[_0x184b66[_0x4987ad(0x516)]((_0xd6d151,_0x5d2948)=>{var _0x282666=_0x4987ad,_0x1a9cf7;const {id:_0xdc738d}=_0xd6d151,{id:_0x297045,type:_0x317e3b}=_0x5d2948,_0x43b08f=(_0x1a9cf7=_0xd6d151[_0x282666(0x200)])!=null?_0x1a9cf7:{'actions':null},_0x2fa650=_0x5d2948[_0x282666(0x200)];if(_0xdc738d&&_0xdc738d!==_0x297045)throw new Error(_0x282666(0x36a)+_0xdc738d+'\x20-\x20'+_0x297045+'.');return{..._0xd6d151,'id':_0x297045,'type':_0x317e3b,'params':{'unitId':_0x2fa650[_0x282666(0x441)],'textRanges':_0x2fa650[_0x282666(0x211)],'actions':_0x29a664[_0x282666(0x2bf)]['compose'](_0x43b08f['actions'],_0x2fa650[_0x282666(0x2c7)])}};},{})],_0x24c674=(_0x299a35=(_0x44a549=_0x17a07e['getCurrentUser']())==null?void 0x0:_0x44a549[_0x4987ad(0x4cd)])!=null?_0x299a35:'unknown',_0x4cf44c=(_0x28b4f8=(_0x98b702=_0x17a07e[_0x4987ad(0x420)]())==null?void 0x0:_0x98b702[_0x4987ad(0x298)])!=null?_0x28b4f8:_0x4987ad(0x374);return{'changeset':{'unitID':_0xead148,'type':_0x5a7fdc['mapDocumentTypeToUniverType'](_0x5629ce[_0x4987ad(0x371)](_0xead148)),'baseRev':_0x461eb0[_0x4987ad(0x4e4)](_0xead148),'revision':0x0,'userID':_0x24c674,'memberID':_0x4cf44c,'mutations':_0x481b1c},'pendingMutations':[]};}function _0x44a4a1(_0x1ce12d,_0xeab38c){var _0x24b018=_0x997d7;const _0x1f9cd0=new _0x32c204['ReplaySubject'](0x1);return setTimeout(()=>_0x1f9cd0[_0x24b018(0x476)](_0xeab38c),_0x1ce12d),_0x1f9cd0['asObservable']()[_0x24b018(0x2ab)](_0x32c204[_0x24b018(0x2f3)](0x1));}const _0x4b247a={'id':_0x1ce604['EmptyMutation']['id'],'type':_0x29a664['CommandType'][_0x997d7(0x2b5)],'params':{}};var _0x512f92=Object['getOwnPropertyDescriptor'],_0x5c433b=(_0x509c21,_0x474395,_0x375a81,_0x5bd1dc)=>{var _0x4e7f1d=_0x997d7;for(var _0x56aa1a=_0x5bd1dc>0x1?void 0x0:_0x5bd1dc?_0x512f92(_0x474395,_0x375a81):_0x474395,_0x4d5f30=_0x509c21[_0x4e7f1d(0x307)]-0x1,_0x2dd586;_0x4d5f30>=0x0;_0x4d5f30--)(_0x2dd586=_0x509c21[_0x4d5f30])&&(_0x56aa1a=_0x2dd586(_0x56aa1a)||_0x56aa1a);return _0x56aa1a;},_0x4bdbf6=(_0x74cd88,_0x2a119d)=>(_0x390a1c,_0x2bc7bd)=>_0x2a119d(_0x390a1c,_0x2bc7bd,_0x74cd88),_0x54c82e=(_0x4b166a=>(_0x4b166a['NOT_COLLAB']=_0x997d7(0x428),_0x4b166a['SYNCED']=_0x997d7(0x39c),_0x4b166a[_0x997d7(0x4bc)]=_0x997d7(0x564),_0x4b166a['AWAITING']='awaiting',_0x4b166a[_0x997d7(0x23e)]=_0x997d7(0x2cc),_0x4b166a['FETCH_MISS']=_0x997d7(0x254),_0x4b166a['CONFLICT']=_0x997d7(0x4a0),_0x4b166a[_0x997d7(0x3fd)]=_0x997d7(0x54a),_0x4b166a))(_0x54c82e||{});const _0x1ed61b=0xea60;class _0x383ca2{constructor(_0xd6ea47,_0x1e52e4,_0x22c1a6,_0x359125,_0x5b3c72,_0x2e3eef,_0x193e1c,_0x541fc6,_0x11ac6f){var _0x38a4c0=_0x997d7;_0x260f1e(this,_0x38a4c0(0x480),null),_0x260f1e(this,_0x38a4c0(0x2f8),[]),(this[_0x38a4c0(0x297)]=_0xd6ea47,this[_0x38a4c0(0x3b0)]=_0x1e52e4,this[_0x38a4c0(0x38d)]=_0x5b3c72,this[_0x38a4c0(0x2dc)]=_0x2e3eef,this[_0x38a4c0(0x552)]=_0x193e1c,this[_0x38a4c0(0x4da)]=_0x541fc6,this[_0x38a4c0(0x2ce)]=_0x11ac6f,this['_awaitingChangeset']=_0x22c1a6,this[_0x38a4c0(0x2f8)]=_0x359125);}[_0x997d7(0x27f)](_0x273097){var _0x29460d=_0x997d7;const _0x2014f3=this['_revisionService']['getCurrentRevOfUnit'](this[_0x29460d(0x297)]);return _0x273097[_0x29460d(0x295)]>_0x2014f3+0x1?(this[_0x29460d(0x38d)][_0x29460d(0x43c)]({'from':_0x2014f3,'to':_0x273097[_0x29460d(0x295)]-0x1}),!0x0):!0x1;}[_0x997d7(0x52f)](_0x20feeb){var _0x364e94=_0x997d7;this['_undoRedoService'][_0x364e94(0x4c4)](this[_0x364e94(0x297)],_0x20feeb);}[_0x997d7(0x34f)](_0x4aed7c){var _0x319c79=_0x997d7,_0x631571,_0x27c279;(_0x27c279=(_0x631571=this[_0x319c79(0x38d)])[_0x319c79(0x2a9)])==null||_0x27c279[_0x319c79(0x23d)](_0x631571,_0x4aed7c);}['_transformIMECache'](_0x46cee8){var _0x474b65=_0x997d7,_0x17fb77,_0x4df2b4;return(_0x4df2b4=(_0x17fb77=this[_0x474b65(0x38d)])[_0x474b65(0x3b9)])==null?void 0x0:_0x4df2b4[_0x474b65(0x23d)](_0x17fb77,_0x46cee8);}[_0x997d7(0x507)](_0x3ac28b){var _0x34736c=_0x997d7,_0x505965,_0x1914b1;return(_0x1914b1=(_0x505965=this[_0x34736c(0x38d)])[_0x34736c(0x3a5)])==null?void 0x0:_0x1914b1[_0x34736c(0x23d)](_0x505965,_0x3ac28b);}['_transformRemoteChangesetByIMECache'](_0x13db96){var _0x5aecc4=_0x997d7,_0x91ef5e,_0x2e3a13,_0x2c4da6;return(_0x2c4da6=(_0x2e3a13=(_0x91ef5e=this[_0x5aecc4(0x38d)])[_0x5aecc4(0x40d)])==null?void 0x0:_0x2e3a13[_0x5aecc4(0x23d)](_0x91ef5e,_0x13db96))!=null?_0x2c4da6:_0x13db96;}[_0x997d7(0x56b)](_0x5ed2d0){var _0x3e00f6=_0x997d7,_0x3ef635,_0x4e3042,_0x1b20a5;return(_0x1b20a5=(_0x4e3042=(_0x3ef635=this[_0x3e00f6(0x38d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4e3042[_0x3e00f6(0x23d)](_0x3ef635,_0x5ed2d0))!=null?_0x1b20a5:_0x5ed2d0;}[_0x997d7(0x21b)](_0x350d9e){var _0x14a0b7=_0x997d7,_0x5f1cbf,_0x35ecf5;if(this[_0x14a0b7(0x3b0)]===_0x60f00c[_0x14a0b7(0x47c)]){const {unitID:_0x3aef2b,mutations:_0x33188f,memberID:_0x5eaa3e}=_0x350d9e,_0x4b4c3b=_0x33188f[_0x14a0b7(0x307)]>0x0?_0x33188f[0x0][_0x14a0b7(0x200)][_0x14a0b7(0x211)]:[];Array[_0x14a0b7(0x2c5)](_0x4b4c3b)&&_0x4b4c3b[_0x14a0b7(0x307)]>0x0&&((_0x35ecf5=(_0x5f1cbf=this[_0x14a0b7(0x38d)])['onSyncEditingCollabCursor'])==null||_0x35ecf5['call'](_0x5f1cbf,{'unitID':_0x3aef2b,'memberID':_0x5eaa3e,'textRanges':_0x4b4c3b}));}}[_0x997d7(0x2b3)](){var _0x5103f6=_0x997d7,_0xa59c6f;(_0xa59c6f=this[_0x5103f6(0x2ce)])==null||_0xa59c6f[_0x5103f6(0x543)](this['unitID'],this[_0x5103f6(0x3b0)],this['_awaitingChangeset'],this[_0x5103f6(0x2f8)]);}[_0x997d7(0x352)](){var _0x3f631a=_0x997d7;return this[_0x3f631a(0x4da)]['getCurrentRevOfUnit'](this[_0x3f631a(0x297)]);}['_incrementRevisionNumber'](){var _0x9553c0=_0x997d7;this[_0x9553c0(0x4da)]['incrementRevOfUnit'](this['unitID']);}[_0x997d7(0x517)](_0x213357){var _0x32211d=_0x997d7,_0x5a8cf6;let _0x483057=this['_transformRemoteChangesetByIMECache'](_0x213357);_0x483057=this[_0x32211d(0x56b)](_0x483057);const _0x5c2f6f=_0x29a664[_0x32211d(0x56c)](_0x483057['mutations'],this[_0x32211d(0x2dc)],{'fromCollab':!0x0});if(!_0x5c2f6f['result'])throw _0x5c2f6f['error']instanceof Error?_0x5c2f6f[_0x32211d(0x4ee)]:new Error((_0x5a8cf6=_0x5c2f6f['error'])!=null?_0x5a8cf6:_0x32211d(0x39f));this['_transformIMECache'](_0x483057),this[_0x32211d(0x507)](_0x483057),this[_0x32211d(0x52f)](_0x213357),this[_0x32211d(0x34f)](_0x483057),this['_syncEditingCollabCursor'](_0x483057),this['_incrementRevisionNumber']();}}_0x36d18b['SyncedState']=class extends _0x383ca2{constructor(_0x333254,_0x6d64dc,_0x59cf4c,_0x1a5b37,_0x5b2523,_0x3f73b5,_0x48dce8,_0x206c2b,_0x194daa,_0x33935e){var _0xcc64bf=_0x997d7;super(_0x333254,_0x6d64dc,null,[],_0x59cf4c,_0x48dce8,_0x3f73b5,_0x1a5b37,_0x33935e),_0x260f1e(this,_0xcc64bf(0x370),_0xcc64bf(0x39c)),(this[_0xcc64bf(0x30a)]=_0x5b2523,this[_0xcc64bf(0x221)]=_0x206c2b,this[_0xcc64bf(0x536)]=_0x194daa,this[_0xcc64bf(0x450)]=_0x33935e);}[_0x997d7(0x560)](_0x1dbced){var _0x52e21f=_0x997d7;const _0x15dd73=this[_0x52e21f(0x30a)]['createInstance'](_0x36d18b[_0x52e21f(0x265)],this[_0x52e21f(0x297)],this[_0x52e21f(0x3b0)],[_0x1dbced],this['_handler']);return _0x15dd73[_0x52e21f(0x23a)](),_0x15dd73['_updateLocalCache'](),_0x15dd73;}[_0x997d7(0x42c)](_0x2553af){var _0x57b706=_0x997d7;if(this[_0x57b706(0x27f)](_0x2553af))return this[_0x57b706(0x30a)]['createInstance'](_0x36d18b[_0x57b706(0x310)],this[_0x57b706(0x297)],this[_0x57b706(0x3b0)],null,[],null,[_0x2553af],this[_0x57b706(0x38d)]);try{const _0x2057a4=this[_0x57b706(0x536)][_0x57b706(0x576)](_0x2553af,[_0x4b247a]);if(_0x5a7fdc[_0x57b706(0x260)](_0x2057a4)){const {c1Prime:_0x2eaf14}=_0x2057a4;return this[_0x57b706(0x517)](_0x2eaf14),this;}throw _0x2057a4[_0x57b706(0x4ee)];}catch(_0x105a09){return this[_0x57b706(0x221)]['error'](_0x105a09),this[_0x57b706(0x2c0)](!0x1);}}[_0x997d7(0x2c0)](_0x3bf12a){var _0x7d44d3=_0x997d7;return this['_injector'][_0x7d44d3(0x55e)](_0x36d18b[_0x7d44d3(0x445)],this[_0x7d44d3(0x297)],this[_0x7d44d3(0x3b0)],null,[],this['_handler'],_0x3bf12a);}[_0x997d7(0x4e8)](){var _0x229a12=_0x997d7;throw new Error(_0x229a12(0x392));}['onRemoteRej'](){var _0xbefbcc=_0x997d7;throw new Error(_0xbefbcc(0x26b));}[_0x997d7(0x4db)](){return this;}[_0x997d7(0x271)](){var _0x41076d=_0x997d7;return this['_injector']['createInstance'](_0x36d18b[_0x41076d(0x290)],this[_0x41076d(0x297)],this[_0x41076d(0x3b0)],null,[],this[_0x41076d(0x38d)]);}[_0x997d7(0x317)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x997d7(0x528)](){var _0x114c9d=_0x997d7;const _0x413298=this[_0x114c9d(0x4da)][_0x114c9d(0x4e4)](this['unitID']);return this[_0x114c9d(0x38d)][_0x114c9d(0x43c)]({'from':_0x413298,'to':0x0}),this['_injector'][_0x114c9d(0x55e)](_0x36d18b[_0x114c9d(0x310)],this['unitID'],this[_0x114c9d(0x3b0)],null,[],null,[],this[_0x114c9d(0x38d)]);}},_0x36d18b[_0x997d7(0x568)]=_0x5c433b([_0x4bdbf6(0x3,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x4,_0x29a664['Inject'](_0x29a664[_0x997d7(0x2c6)])),_0x4bdbf6(0x5,_0x29a664[_0x997d7(0x232)]),_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x7,_0x29a664['ILogService']),_0x4bdbf6(0x8,_0x5a7fdc['ITransformService']),_0x4bdbf6(0x9,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x568)]),_0x36d18b['PendingState']=class extends _0x383ca2{constructor(_0x402406,_0x3f366d,_0x424240,_0x259422,_0x1fa317,_0x4fe842,_0x1b56ab,_0x5cc4a4,_0x3dbadf,_0x5838d4,_0x953a8f,_0x45b393,_0x163ef7,_0x5088ce){var _0x5aeedd=_0x997d7;super(_0x402406,_0x3f366d,null,_0x424240,_0x259422,_0x3dbadf,_0x163ef7,_0x4fe842,_0x5088ce),_0x260f1e(this,_0x5aeedd(0x370),_0x5aeedd(0x564)),_0x260f1e(this,'_scheduleCompleteTimestamp',null),_0x260f1e(this,_0x5aeedd(0x406),null),(this[_0x5aeedd(0x30a)]=_0x1fa317,this['_memberService']=_0x1b56ab,this[_0x5aeedd(0x221)]=_0x5cc4a4,this[_0x5aeedd(0x261)]=_0x5838d4,this[_0x5aeedd(0x536)]=_0x953a8f,this['_univerInstanceService']=_0x45b393);}['appendMutation'](_0x512698){var _0x1d54c4=_0x997d7;return this[_0x1d54c4(0x2f8)][_0x1d54c4(0x3f6)](_0x512698),this[_0x1d54c4(0x2b3)](),this;}[_0x997d7(0x42c)](_0x1f99b5){var _0x37f997=_0x997d7;if(this[_0x37f997(0x27f)](_0x1f99b5))return this['_clearScheduledTask'](),this[_0x37f997(0x30a)]['createInstance'](_0x36d18b['FetchingMissState'],this['unitID'],this[_0x37f997(0x3b0)],null,this[_0x37f997(0x2f8)],null,[_0x1f99b5],this[_0x37f997(0x38d)]);try{const _0x5adc3d=this[_0x37f997(0x536)][_0x37f997(0x576)](_0x1f99b5,this['_pendingMutations']);if(_0x5a7fdc[_0x37f997(0x260)](_0x5adc3d)){const {c1Prime:_0x4fba81,m2Prime:_0x222184}=_0x5adc3d;this[_0x37f997(0x517)](_0x4fba81);const _0x16e111=this[_0x37f997(0x30a)][_0x37f997(0x55e)](_0x36d18b['PendingState'],this[_0x37f997(0x297)],this[_0x37f997(0x3b0)],_0x222184,this[_0x37f997(0x38d)]);this[_0x37f997(0x508)]();const _0x9600fc=new Date()[_0x37f997(0x299)](),_0x2ddcd4=this[_0x37f997(0x535)]?Math[_0x37f997(0x287)](this[_0x37f997(0x535)]-_0x9600fc,0x0):this[_0x37f997(0x3f1)]();return _0x16e111[_0x37f997(0x23a)](_0x2ddcd4),_0x16e111;}throw _0x5adc3d[_0x37f997(0x4ee)];}catch(_0x54ad76){return this[_0x37f997(0x221)][_0x37f997(0x4ee)](_0x54ad76),this[_0x37f997(0x2c0)](!0x1);}}[_0x997d7(0x4e8)](){var _0x2b7898=_0x997d7;throw new Error(_0x2b7898(0x475));}['onRemoteRej'](){var _0x715e87=_0x997d7;throw new Error(_0x715e87(0x426));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x368fe0=_0x997d7;return this[_0x368fe0(0x508)](),this[_0x368fe0(0x30a)][_0x368fe0(0x55e)](_0x36d18b[_0x368fe0(0x290)],this[_0x368fe0(0x297)],this[_0x368fe0(0x3b0)],null,this['_pendingMutations'],this[_0x368fe0(0x38d)]);}[_0x997d7(0x317)](){return this;}[_0x997d7(0x23a)](_0x352194){var _0x56f5ed=_0x997d7;const _0x4a60b5=_0x352194!=null?_0x352194:this['_getSendChangesetTimeout']();this[_0x56f5ed(0x535)]=new Date()[_0x56f5ed(0x299)]()+_0x4a60b5,this['_sendingTimer']=setTimeout(()=>{var _0x298bb1=_0x56f5ed;this[_0x298bb1(0x508)]();let _0x19e783=null;switch(this['type']){case _0x60f00c[_0x298bb1(0x4c5)]:{_0x19e783=_0x592534(this[_0x298bb1(0x2f8)],this[_0x298bb1(0x297)],this[_0x298bb1(0x432)],this[_0x298bb1(0x4da)],this[_0x298bb1(0x303)]);break;}case _0x60f00c['UNIVER_DOC']:{this[_0x298bb1(0x2f8)][_0x298bb1(0x2c3)](_0x33427d=>_0x33427d['id']===_0x438bd6[_0x298bb1(0x515)]['id'])?_0x19e783=_0x1a13a4(this['_pendingMutations'],this[_0x298bb1(0x297)],this[_0x298bb1(0x432)],this[_0x298bb1(0x4da)],this[_0x298bb1(0x303)]):_0x19e783=_0x592534(this[_0x298bb1(0x2f8)],this[_0x298bb1(0x297)],this[_0x298bb1(0x432)],this[_0x298bb1(0x4da)],this[_0x298bb1(0x303)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x298bb1(0x3b0)]+_0x298bb1(0x357));}const {changeset:_0x3b27ca,pendingMutations:_0x54b1d5}=_0x19e783;this['_handler'][_0x298bb1(0x314)](_0x3b27ca);const _0x5f42c6=_0x54b1d5[_0x298bb1(0x307)]?this[_0x298bb1(0x30a)][_0x298bb1(0x55e)](_0x36d18b[_0x298bb1(0x4ba)],this[_0x298bb1(0x297)],this[_0x298bb1(0x3b0)],_0x3b27ca,_0x54b1d5,this[_0x298bb1(0x38d)],void 0x0):this['_injector'][_0x298bb1(0x55e)](_0x36d18b[_0x298bb1(0x37e)],this[_0x298bb1(0x297)],this[_0x298bb1(0x3b0)],_0x3b27ca,this[_0x298bb1(0x38d)]);_0x5f42c6[_0x298bb1(0x2b3)](),this[_0x298bb1(0x38d)][_0x298bb1(0x4bf)](this,_0x5f42c6);},_0x4a60b5);}[_0x997d7(0x3f1)](){var _0x1ddafd=_0x997d7,_0x5d9057;const _0x28a5a7=this['_configService'][_0x1ddafd(0x368)](_0x3fa783);return(_0x5d9057=_0x28a5a7==null?void 0x0:_0x28a5a7[_0x1ddafd(0x3c6)])!=null?_0x5d9057:0x7d0;}[_0x997d7(0x482)](){var _0xe702c8=_0x997d7;throw new Error(_0xe702c8(0x4c8));}[_0x997d7(0x508)](){var _0x4ff68b=_0x997d7;this[_0x4ff68b(0x406)]!=null&&(clearTimeout(this[_0x4ff68b(0x406)]),this['_sendingTimer']=null);}[_0x997d7(0x2c0)](_0x1edd8a){var _0x5bae14=_0x997d7;return this['_clearScheduledTask'](),this[_0x5bae14(0x30a)]['createInstance'](_0x36d18b[_0x5bae14(0x445)],this[_0x5bae14(0x297)],this['type'],null,this[_0x5bae14(0x2f8)],this[_0x5bae14(0x38d)],_0x1edd8a);}},_0x36d18b[_0x997d7(0x265)]=_0x5c433b([_0x4bdbf6(0x4,_0x29a664[_0x997d7(0x346)](_0x29a664['Injector'])),_0x4bdbf6(0x5,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x6,_0x29a664['Inject'](_0x36d18b[_0x997d7(0x409)])),_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x492)]),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x9,_0x29a664['IConfigService']),_0x4bdbf6(0xa,_0x5a7fdc['ITransformService']),_0x4bdbf6(0xb,_0x29a664['IUniverInstanceService']),_0x4bdbf6(0xc,_0x29a664[_0x997d7(0x232)]),_0x4bdbf6(0xd,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b['PendingState']),_0x36d18b[_0x997d7(0x37e)]=class extends _0x383ca2{constructor(_0x4759c0,_0x2c7f0d,_0x454d95,_0x29f83f,_0x59e524,_0x4c4ac6,_0x4aeee9,_0x3d19fb,_0x15c175,_0xd12488,_0x4129b5){var _0x468c87=_0x997d7;super(_0x4759c0,_0x2c7f0d,_0x454d95,[],_0x29f83f,_0x4aeee9,_0xd12488,_0x4c4ac6,_0x4129b5),_0x260f1e(this,_0x468c87(0x370),_0x468c87(0x40a)),_0x260f1e(this,_0x468c87(0x2dd),0x0),_0x260f1e(this,_0x468c87(0x220)),_0x260f1e(this,_0x468c87(0x25f)),(this['_injector']=_0x59e524,this[_0x468c87(0x221)]=_0x3d19fb,this[_0x468c87(0x536)]=_0x15c175);}[_0x997d7(0x560)](_0x1edc66){var _0x54b01a=_0x997d7;this[_0x54b01a(0x508)]();const _0x193c87=this[_0x54b01a(0x30a)][_0x54b01a(0x55e)](_0x36d18b[_0x54b01a(0x4ba)],this[_0x54b01a(0x297)],this['type'],this[_0x54b01a(0x480)],[_0x1edc66],this['_handler'],this[_0x54b01a(0x220)]);return _0x193c87[_0x54b01a(0x2b3)](),_0x193c87;}[_0x997d7(0x42c)](_0x5a0de5){var _0x4add01=_0x997d7;if(this[_0x4add01(0x27f)](_0x5a0de5))return this[_0x4add01(0x508)](),this[_0x4add01(0x30a)][_0x4add01(0x55e)](_0x36d18b['FetchingMissState'],this[_0x4add01(0x297)],this['type'],this[_0x4add01(0x480)],[],null,[_0x5a0de5],this['_handler']);try{const _0xad6a79=this[_0x4add01(0x536)][_0x4add01(0x25e)]([_0x5a0de5],[this['_awaitingChangeset']],!0x1);if(_0x5a7fdc[_0x4add01(0x3d3)](_0xad6a79)){const {c1Prime:_0x3224c0,c2Prime:_0x5a4406}=_0xad6a79;this[_0x4add01(0x517)](_0x3224c0[0x0]),_0x5a4406[0x0][_0x4add01(0x2e9)]=this[_0x4add01(0x352)](),this[_0x4add01(0x508)]();const _0x3dd5ed=this[_0x4add01(0x30a)]['createInstance'](_0x36d18b[_0x4add01(0x37e)],this[_0x4add01(0x297)],this[_0x4add01(0x3b0)],_0x5a4406[0x0],this[_0x4add01(0x38d)]);return _0x3dd5ed[_0x4add01(0x2b3)](),_0x3dd5ed;}return this['_onConflict'](!0x1);}catch(_0x263f1f){return this[_0x4add01(0x221)][_0x4add01(0x4ee)](_0x263f1f),this[_0x4add01(0x2c0)](!0x1);}}[_0x997d7(0x4e8)](_0x5a8c95){var _0x493cbd=_0x997d7;this['_clearScheduledTask']();const _0x583517=this[_0x493cbd(0x4da)]['getCurrentRevOfUnit'](this[_0x493cbd(0x297)]);if(_0x5a8c95[_0x493cbd(0x295)]<_0x583517-0x1)return this;if(this[_0x493cbd(0x27f)](_0x5a8c95))return this[_0x493cbd(0x30a)][_0x493cbd(0x55e)](_0x36d18b[_0x493cbd(0x310)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x493cbd(0x47f)]();const _0x5ea49d=this['_injector'][_0x493cbd(0x55e)](_0x36d18b[_0x493cbd(0x568)],this[_0x493cbd(0x297)],this['type'],this[_0x493cbd(0x38d)]);return _0x5ea49d[_0x493cbd(0x2b3)](),_0x5ea49d;}[_0x997d7(0x35a)](_0x2117df){var _0x507b2d=_0x997d7;return this[_0x507b2d(0x2c0)](!!(_0x2117df!=null&&_0x2117df[_0x507b2d(0x3e1)]));}['onRemoteRetry'](_0x40ac91){var _0x1ccd77=_0x997d7;return this[_0x1ccd77(0x2dd)]>_0x1ed61b?this[_0x1ccd77(0x271)]():(this[_0x1ccd77(0x220)]=_0x44a4a1(this[_0x1ccd77(0x2dd)],{'timeout':this[_0x1ccd77(0x2dd)],'reqId':_0x40ac91[_0x1ccd77(0x451)]}),this[_0x1ccd77(0x25f)]=this[_0x1ccd77(0x220)][_0x1ccd77(0x3cc)](({reqId:_0xf3bef9,timeout:_0x3d5589})=>{var _0x25d751=_0x1ccd77;this[_0x25d751(0x302)](_0xf3bef9,_0x3d5589);}),this);}[_0x997d7(0x271)](){var _0x19c489=_0x997d7;return this['_clearScheduledTask'](),this[_0x19c489(0x30a)][_0x19c489(0x55e)](_0x36d18b[_0x19c489(0x290)],this[_0x19c489(0x297)],this[_0x19c489(0x3b0)],this[_0x19c489(0x480)],[],this['_handler']);}[_0x997d7(0x317)](){return this;}['resend'](){var _0x4fcced=_0x997d7;this[_0x4fcced(0x38d)]['onSendChangeset'](this[_0x4fcced(0x480)]);}[_0x997d7(0x2c0)](_0x5e81f7){var _0x4a16f7=_0x997d7;return this[_0x4a16f7(0x508)](),this[_0x4a16f7(0x30a)]['createInstance'](_0x36d18b[_0x4a16f7(0x445)],this['unitID'],this[_0x4a16f7(0x3b0)],this[_0x4a16f7(0x480)],[],this[_0x4a16f7(0x38d)],_0x5e81f7);}['_resendWithTimeout'](_0x55c029,_0x50c8f1){var _0x311353=_0x997d7,_0x468694;_0x55c029===((_0x468694=this[_0x311353(0x480)])==null?void 0x0:_0x468694[_0x311353(0x451)])&&(this[_0x311353(0x482)](),this['_resendTimeout']=_0x50c8f1===0x0?0x3e8:_0x50c8f1*0x2);}[_0x997d7(0x508)](){var _0x21067a=_0x997d7,_0x2ac30a;(_0x2ac30a=this['_sender'])==null||_0x2ac30a[_0x21067a(0x2f5)](),this[_0x21067a(0x2dd)]=0x0;}},_0x36d18b[_0x997d7(0x37e)]=_0x5c433b([_0x4bdbf6(0x4,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x4bdbf6(0x5,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x7,_0x29a664['ILogService']),_0x4bdbf6(0x8,_0x5a7fdc[_0x997d7(0x4a5)]),_0x4bdbf6(0x9,_0x29a664['IUndoRedoService']),_0x4bdbf6(0xa,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x37e)]),_0x36d18b[_0x997d7(0x4ba)]=class extends _0x383ca2{constructor(_0x332a86,_0x123093,_0x1306a7,_0x43edb4,_0x68e2c6,_0x28f78f,_0x564abd,_0x58ae9e,_0x5654c7,_0x52c693,_0x4eafbd,_0x4d637d,_0x437cc6){var _0x54ae6d=_0x997d7;super(_0x332a86,_0x123093,_0x1306a7,_0x43edb4,_0x68e2c6,_0x5654c7,_0x4d637d,_0x58ae9e,_0x437cc6),_0x260f1e(this,'status',_0x54ae6d(0x2cc)),_0x260f1e(this,_0x54ae6d(0x2dd),0x0),_0x260f1e(this,_0x54ae6d(0x220)),_0x260f1e(this,'_sender'),(this['_injector']=_0x564abd,this[_0x54ae6d(0x221)]=_0x52c693,this[_0x54ae6d(0x536)]=_0x4eafbd,this[_0x54ae6d(0x450)]=_0x437cc6,_0x28f78f&&(this[_0x54ae6d(0x220)]=_0x28f78f,this[_0x54ae6d(0x25f)]=this[_0x54ae6d(0x220)]['subscribe'](({reqId:_0x3af823,timeout:_0x330ba5})=>{var _0x4377b6=_0x54ae6d;this[_0x4377b6(0x302)](_0x3af823,_0x330ba5);})));}[_0x997d7(0x560)](_0x2db6c0){var _0xbda67a=_0x997d7;return this[_0xbda67a(0x2f8)][_0xbda67a(0x3f6)](_0x2db6c0),this;}[_0x997d7(0x42c)](_0x20d1a2){var _0x780d0=_0x997d7;if(this[_0x780d0(0x27f)](_0x20d1a2))return this[_0x780d0(0x508)](),this['_injector'][_0x780d0(0x55e)](_0x36d18b[_0x780d0(0x310)],this['unitID'],this[_0x780d0(0x3b0)],this[_0x780d0(0x480)],this[_0x780d0(0x2f8)],null,[_0x20d1a2],this[_0x780d0(0x38d)]);try{const _0x161d41=this[_0x780d0(0x536)]['transformChangesets']([_0x20d1a2],[this[_0x780d0(0x480)]],!0x1);if(_0x5a7fdc[_0x780d0(0x3d3)](_0x161d41)){const {c1Prime:_0x5d42d8,c2Prime:_0x35ecfb}=_0x161d41,_0x4eb461=this[_0x780d0(0x536)][_0x780d0(0x576)](_0x5d42d8[0x0],this[_0x780d0(0x2f8)]);if(_0x5a7fdc[_0x780d0(0x260)](_0x4eb461)){const {c1Prime:_0x1cf268,m2Prime:_0x425002}=_0x4eb461;return this[_0x780d0(0x517)](_0x1cf268),_0x35ecfb[0x0][_0x780d0(0x2e9)]=this[_0x780d0(0x352)](),this[_0x780d0(0x508)](),this[_0x780d0(0x30a)][_0x780d0(0x55e)](_0x36d18b['AwaitingWithPendingState'],this[_0x780d0(0x297)],this[_0x780d0(0x3b0)],_0x35ecfb[0x0],_0x425002,this[_0x780d0(0x38d)],void 0x0);}throw _0x4eb461[_0x780d0(0x4ee)];}throw _0x161d41['error'];}catch(_0x4ae5eb){return this[_0x780d0(0x221)][_0x780d0(0x4ee)](_0x4ae5eb),this[_0x780d0(0x2c0)](!0x1);}}['onRemoteAck'](_0x3add83){var _0xba5e86=_0x997d7;if(this[_0xba5e86(0x508)](),this[_0xba5e86(0x27f)](_0x3add83))return this[_0xba5e86(0x30a)][_0xba5e86(0x55e)](_0x36d18b[_0xba5e86(0x310)],this['unitID'],this[_0xba5e86(0x3b0)],null,this[_0xba5e86(0x2f8)],this[_0xba5e86(0x480)],[],this[_0xba5e86(0x38d)]);this[_0xba5e86(0x47f)]();const _0x5976d2=this[_0xba5e86(0x30a)]['createInstance'](_0x36d18b['PendingState'],this['unitID'],this[_0xba5e86(0x3b0)],this[_0xba5e86(0x2f8)],this[_0xba5e86(0x38d)]);return _0x5976d2[_0xba5e86(0x23a)](),_0x5976d2[_0xba5e86(0x2b3)](),_0x5976d2;}['onRemoteRej'](_0x592a51){var _0x5a512b=_0x997d7;return this[_0x5a512b(0x2c0)](!!(_0x592a51!=null&&_0x592a51['isPermissionRej']));}[_0x997d7(0x4db)](_0x140451){var _0x41e85a=_0x997d7;return this['_resendTimeout']>_0x1ed61b?this[_0x41e85a(0x271)]():(this[_0x41e85a(0x220)]=_0x44a4a1(this[_0x41e85a(0x2dd)],{'timeout':this[_0x41e85a(0x2dd)],'reqId':_0x140451[_0x41e85a(0x451)]}),this[_0x41e85a(0x25f)]=this[_0x41e85a(0x220)]['subscribe'](({reqId:_0x18f725,timeout:_0x4068ed})=>{var _0xe5ab9f=_0x41e85a;this[_0xe5ab9f(0x302)](_0x18f725,_0x4068ed);}),this);}['toggleOffline'](){var _0x1bc08e=_0x997d7;return this[_0x1bc08e(0x508)](),this[_0x1bc08e(0x30a)][_0x1bc08e(0x55e)](_0x36d18b['OfflineState'],this[_0x1bc08e(0x297)],this['type'],this[_0x1bc08e(0x480)],this[_0x1bc08e(0x2f8)],this[_0x1bc08e(0x38d)]);}['toggleOnline'](){return this;}['resend'](){var _0x2c222d=_0x997d7;this[_0x2c222d(0x38d)][_0x2c222d(0x314)](this[_0x2c222d(0x480)]);}[_0x997d7(0x2c0)](_0x294649){var _0x4f3b0f=_0x997d7;return this['_clearScheduledTask'](),this[_0x4f3b0f(0x30a)][_0x4f3b0f(0x55e)](_0x36d18b['ConflictState'],this[_0x4f3b0f(0x297)],this[_0x4f3b0f(0x3b0)],null,this['_pendingMutations'],this[_0x4f3b0f(0x38d)],_0x294649);}[_0x997d7(0x302)](_0x31a04e,_0x2c46e8){var _0x3bde3b=_0x997d7,_0x5b2585;_0x31a04e===((_0x5b2585=this[_0x3bde3b(0x480)])==null?void 0x0:_0x5b2585[_0x3bde3b(0x451)])&&(this[_0x3bde3b(0x482)](),this[_0x3bde3b(0x2dd)]=_0x2c46e8===0x0?0x3e8:_0x2c46e8*0x2);}['_clearScheduledTask'](){var _0xb0f7e6=_0x997d7,_0x359f4d;(_0x359f4d=this[_0xb0f7e6(0x25f)])==null||_0x359f4d['unsubscribe'](),this[_0xb0f7e6(0x2dd)]=0x0;}},_0x36d18b['AwaitingWithPendingState']=_0x5c433b([_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x9,_0x29a664['ILogService']),_0x4bdbf6(0xa,_0x5a7fdc[_0x997d7(0x4a5)]),_0x4bdbf6(0xb,_0x29a664['IUndoRedoService']),_0x4bdbf6(0xc,_0x29a664['Optional'](_0x3e2be6))],_0x36d18b[_0x997d7(0x4ba)]),_0x36d18b['ConflictState']=class extends _0x383ca2{constructor(_0x1c5db5,_0x35c3f8,_0x5b2f58,_0x3802e2,_0x23f0cd,_0x4ea158=!0x1,_0x50e878,_0x3dad7a,_0x4231d0,_0x5b5c8f,_0x127df1,_0x54987e,_0x163e1b){var _0x4ca719=_0x997d7;super(_0x1c5db5,_0x35c3f8,_0x5b2f58,_0x3802e2,_0x23f0cd,_0x3dad7a,_0x4231d0,_0x5b5c8f,_0x163e1b),_0x260f1e(this,_0x4ca719(0x370),'conflict'),(this[_0x4ca719(0x381)]=_0x4ea158,this['_permissionService']=_0x50e878,this[_0x4ca719(0x389)]=_0x127df1,this['_collaborationUIEventService']=_0x54987e,this['localCacheService']=_0x163e1b,this[_0x4ca719(0x43b)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x997d7(0x560)](){return this;}['onRemoteChangeset'](){return this;}[_0x997d7(0x4e8)](){return this;}['onRemoteRej'](){return this;}[_0x997d7(0x4db)](){return this;}[_0x997d7(0x271)](){return this;}[_0x997d7(0x317)](){return this;}[_0x997d7(0x482)](){var _0x4ed8c2=_0x997d7;throw new Error(_0x4ed8c2(0x3bc));}[_0x997d7(0x292)](){var _0x1df70f=_0x997d7,_0x1ae0e9;(_0x1ae0e9=this[_0x1df70f(0x2ce)])==null||_0x1ae0e9[_0x1df70f(0x543)](this['unitID'],this['type'],null,[]);}[_0x997d7(0x43b)](){var _0x49c30c=_0x997d7;this[_0x49c30c(0x381)]?this['_collaborationUIEventService'][_0x49c30c(0x2d4)]({'id':_0xedfb31[_0x49c30c(0x2ad)]}):this[_0x49c30c(0x47a)][_0x49c30c(0x2d4)]({'id':_0xedfb31['CONFLICT']});}['_disableEditing'](){var _0x80a748=_0x997d7;this['_permissionService'][_0x80a748(0x56e)](new _0x1ce604[(_0x80a748(0x4e5))](this['unitID'])['id'],!0x1);}},_0x36d18b[_0x997d7(0x445)]=_0x5c433b([_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x346)](_0x29a664['IPermissionService'])),_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x232)]),_0x4bdbf6(0x9,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0xa,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x503)])),_0x4bdbf6(0xb,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x4bdbf6(0xc,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b['ConflictState']),_0x36d18b[_0x997d7(0x290)]=class extends _0x383ca2{constructor(_0xa8b7b0,_0x3a0a8e,_0x187cce,_0x490ecd,_0x50344a,_0x261c0a,_0x28f307,_0x148518,_0x23b197,_0x3ad4af){var _0x5baa46=_0x997d7;super(_0xa8b7b0,_0x3a0a8e,_0x187cce,_0x490ecd,_0x50344a,_0x148518,_0x23b197,_0x28f307,_0x3ad4af),_0x260f1e(this,_0x5baa46(0x370),'offline'),this[_0x5baa46(0x30a)]=_0x261c0a;}[_0x997d7(0x560)](_0xaf1f36){var _0xcf1815=_0x997d7;return this[_0xcf1815(0x2f8)][_0xcf1815(0x3f6)](_0xaf1f36),this['_updateLocalCache'](),this;}[_0x997d7(0x42c)](_0x3ee95b){var _0x597b82=_0x997d7;throw new Error(_0x597b82(0x309));}[_0x997d7(0x4e8)](){var _0x1c0e1b=_0x997d7;throw new Error(_0x1c0e1b(0x238));}[_0x997d7(0x35a)](){var _0x22a57f=_0x997d7;throw new Error(_0x22a57f(0x33b));}['onRemoteRetry'](){return this;}[_0x997d7(0x271)](){return this;}['toggleOnline'](){var _0x65a5a7=_0x997d7;const {_injector:_0x2c0ee0,_pendingMutations:_0x5837ed,_awaitingChangeset:_0x38eb6c,unitID:_0x3197f7,_handler:_0x2925f0,type:_0x3662fd}=this,_0x2a94b4=_0x163990(_0x2c0ee0,_0x3197f7,_0x3662fd,_0x38eb6c,_0x5837ed,_0x2925f0);return _0x2a94b4 instanceof _0x36d18b[_0x65a5a7(0x265)]?_0x2a94b4[_0x65a5a7(0x23a)]():(_0x2a94b4 instanceof _0x36d18b[_0x65a5a7(0x4ba)]||_0x2a94b4 instanceof _0x36d18b[_0x65a5a7(0x37e)])&&_0x2a94b4[_0x65a5a7(0x482)](),_0x2a94b4;}[_0x997d7(0x482)](){var _0x7a045d=_0x997d7;throw new Error(_0x7a045d(0x3f9));}},_0x36d18b[_0x997d7(0x290)]=_0x5c433b([_0x4bdbf6(0x5,_0x29a664[_0x997d7(0x346)](_0x29a664['Injector'])),_0x4bdbf6(0x6,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x37f)]),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x232)]),_0x4bdbf6(0x9,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x290)]),_0x36d18b['FetchingMissState']=class extends _0x383ca2{constructor(_0x243057,_0x1c0889,_0x198c36,_0x5d2768,_0xfa5de6,_0xc64113,_0x28277d,_0x406b8d,_0x1c1d82,_0x140bd1,_0xb4e98,_0x173abb,_0x21bea8,_0x5b1c47){var _0x7b5189=_0x997d7;super(_0x243057,_0x1c0889,_0x198c36,_0x5d2768,_0x28277d,_0xb4e98,_0x173abb,_0x1c1d82,_0x5b1c47),_0x260f1e(this,_0x7b5189(0x370),_0x7b5189(0x254)),(this['_acknowledgedAwaitingChangeset']=_0xfa5de6,this['_queuedRemoteChangesets']=_0xc64113,this[_0x7b5189(0x30a)]=_0x406b8d,this[_0x7b5189(0x221)]=_0x140bd1,this[_0x7b5189(0x536)]=_0x21bea8,this[_0x7b5189(0x450)]=_0x5b1c47);}[_0x997d7(0x403)](_0xf8035){var _0x920344=_0x997d7;try{const _0x9a5eb9=[..._0xf8035,...this[_0x920344(0x3da)]],_0x1813bc=[this['_awaitingChangeset']||this[_0x920344(0x527)]]['filter'](_0x170146=>!!_0x170146);let _0x30631d,_0x436f8c;if(_0x1813bc[_0x920344(0x307)]){const _0x180af0=this[_0x920344(0x536)][_0x920344(0x25e)](_0x9a5eb9,_0x1813bc,!0x1);if(!_0x5a7fdc[_0x920344(0x3d3)](_0x180af0))throw _0x180af0[_0x920344(0x4ee)];_0x30631d=_0x180af0[_0x920344(0x1ec)],_0x436f8c=_0x180af0[_0x920344(0x219)];}else _0x30631d=_0x9a5eb9,_0x436f8c=[];let _0x21cc15=this['_pendingMutations'];_0x30631d[_0x920344(0x2bd)](_0x4632f2=>{var _0x411d10=_0x920344;let _0x2306c1;if(_0x21cc15[_0x411d10(0x307)]){const _0x3bf3d2=this[_0x411d10(0x536)][_0x411d10(0x576)](_0x4632f2,_0x21cc15);if(!_0x5a7fdc[_0x411d10(0x260)](_0x3bf3d2))throw _0x3bf3d2[_0x411d10(0x4ee)];_0x2306c1=_0x3bf3d2[_0x411d10(0x1ec)],_0x21cc15=_0x3bf3d2[_0x411d10(0x2d3)];}else _0x2306c1=_0x4632f2;this[_0x411d10(0x517)](_0x2306c1);}),this[_0x920344(0x527)]&&this[_0x920344(0x47f)](),this[_0x920344(0x480)]&&_0x436f8c[_0x920344(0x307)]&&(_0x436f8c[0x0]['baseRev']=this[_0x920344(0x352)]());let _0x3fd070;if(this[_0x920344(0x480)]&&_0x21cc15[_0x920344(0x307)]!==0x0)_0x3fd070=this['_injector'][_0x920344(0x55e)](_0x36d18b[_0x920344(0x4ba)],this['unitID'],this['type'],_0x436f8c[0x0],_0x21cc15,this[_0x920344(0x38d)],void 0x0);else{if(this[_0x920344(0x480)]&&_0x21cc15['length']===0x0)_0x436f8c[0x0][_0x920344(0x2e9)]=this[_0x920344(0x352)](),_0x3fd070=this['_injector']['createInstance'](_0x36d18b[_0x920344(0x37e)],this['unitID'],this[_0x920344(0x3b0)],_0x436f8c[0x0],this['_handler']);else{if(_0x21cc15['length']!==0x0){const _0x264a88=this[_0x920344(0x30a)][_0x920344(0x55e)](_0x36d18b[_0x920344(0x265)],this[_0x920344(0x297)],this[_0x920344(0x3b0)],_0x21cc15,this[_0x920344(0x38d)]);_0x264a88[_0x920344(0x23a)](),_0x3fd070=_0x264a88;}else _0x3fd070=this[_0x920344(0x30a)][_0x920344(0x55e)](_0x36d18b['SyncedState'],this[_0x920344(0x297)],this[_0x920344(0x3b0)],this[_0x920344(0x38d)]);}}return _0x3fd070['_updateLocalCache'](),_0x3fd070;}catch(_0x3552cb){return this[_0x920344(0x221)][_0x920344(0x4ee)]('[FetchMissState]',_0x920344(0x511),_0x3552cb),this['_injector'][_0x920344(0x55e)](_0x36d18b[_0x920344(0x445)],this['unitID'],this[_0x920344(0x3b0)],this[_0x920344(0x480)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){var _0x41c6e9=_0x997d7;throw new Error(_0x41c6e9(0x3be));}[_0x997d7(0x560)](_0x17375e){var _0x34ce27=_0x997d7;return this['_pendingMutations'][_0x34ce27(0x3f6)](_0x17375e),this;}['onRemoteChangeset'](_0x22c658){var _0x4b4956=_0x997d7;return this[_0x4b4956(0x3da)][_0x4b4956(0x3f6)](_0x22c658),this;}[_0x997d7(0x4e8)](_0x25862a){var _0x2a2e9e=_0x997d7;if(this['_awaitingChangeset'])return this[_0x2a2e9e(0x527)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x2a2e9e(0x56a));}[_0x997d7(0x35a)](_0x12bc06){var _0x515b63=_0x997d7;return this[_0x515b63(0x2c0)](!!(_0x12bc06!=null&&_0x12bc06[_0x515b63(0x3e1)]));}[_0x997d7(0x4db)](){return this;}[_0x997d7(0x271)](){var _0x24bb9e=_0x997d7;return this[_0x24bb9e(0x30a)][_0x24bb9e(0x55e)](_0x36d18b[_0x24bb9e(0x290)],this[_0x24bb9e(0x297)],this[_0x24bb9e(0x3b0)],this[_0x24bb9e(0x480)],this['_pendingMutations'],this[_0x24bb9e(0x38d)]);}['toggleOnline'](){return this;}['_onConflict'](_0x273970){var _0x480a71=_0x997d7;return this[_0x480a71(0x30a)][_0x480a71(0x55e)](_0x36d18b[_0x480a71(0x445)],this['unitID'],this[_0x480a71(0x3b0)],this['_awaitingChangeset'],this[_0x480a71(0x2f8)],this[_0x480a71(0x38d)],_0x273970);}},_0x36d18b[_0x997d7(0x310)]=_0x5c433b([_0x4bdbf6(0x7,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x4bdbf6(0x8,_0x29a664[_0x997d7(0x346)](_0x5a7fdc['RevisionService'])),_0x4bdbf6(0x9,_0x29a664[_0x997d7(0x492)]),_0x4bdbf6(0xa,_0x29a664['ICommandService']),_0x4bdbf6(0xb,_0x29a664['IUndoRedoService']),_0x4bdbf6(0xc,_0x5a7fdc['ITransformService']),_0x4bdbf6(0xd,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x310)]);function _0x163990(_0x4fcc3b,_0xb50f4e,_0x44ed06,_0x15eb57,_0xc9d5c7,_0x23a263){var _0x44adb4=_0x997d7;return _0x15eb57&&_0xc9d5c7['length']?_0x4fcc3b[_0x44adb4(0x55e)](_0x36d18b[_0x44adb4(0x4ba)],_0xb50f4e,_0x44ed06,_0x15eb57,_0xc9d5c7,_0x23a263,void 0x0):_0x15eb57?_0x4fcc3b[_0x44adb4(0x55e)](_0x36d18b[_0x44adb4(0x37e)],_0xb50f4e,_0x44ed06,_0x15eb57,_0x23a263):_0xc9d5c7[_0x44adb4(0x307)]?_0x4fcc3b['createInstance'](_0x36d18b[_0x44adb4(0x265)],_0xb50f4e,_0x44ed06,_0xc9d5c7,_0x23a263):_0x4fcc3b['createInstance'](_0x36d18b[_0x44adb4(0x568)],_0xb50f4e,_0x44ed06,_0x23a263);}var _0x3ad3e0=Object[_0x997d7(0x539)],_0x100945=(_0x5b96a3,_0x1147b8,_0x36fbad,_0x43019d)=>{var _0x2ddd1f=_0x997d7;for(var _0x136046=_0x43019d>0x1?void 0x0:_0x43019d?_0x3ad3e0(_0x1147b8,_0x36fbad):_0x1147b8,_0x13d8ab=_0x5b96a3[_0x2ddd1f(0x307)]-0x1,_0x543a14;_0x13d8ab>=0x0;_0x13d8ab--)(_0x543a14=_0x5b96a3[_0x13d8ab])&&(_0x136046=_0x543a14(_0x136046)||_0x136046);return _0x136046;},_0x5baccc=(_0x213e8c,_0x357e11)=>(_0x183391,_0x123f3a)=>_0x357e11(_0x183391,_0x123f3a,_0x213e8c);_0x36d18b['CollaborationEntity']=class extends _0x29a664[_0x997d7(0x330)]{constructor(_0x353c92,_0x1f4080,_0x5374b9,_0x4652cd,_0x2ecdd3,_0x571034,_0x5337e0,_0x458044,_0xd5b844,_0xdd0779,_0x2d1dc7,_0x3f4dce,_0x244ed3,_0x1ab9cf){var _0x3cba61=_0x997d7;super(),_0x260f1e(this,_0x3cba61(0x224),new _0x32c204['BehaviorSubject'](null)),_0x260f1e(this,_0x3cba61(0x3d9),this['_state$'][_0x3cba61(0x313)]()),_0x260f1e(this,_0x3cba61(0x342)),_0x260f1e(this,_0x3cba61(0x239),!0x1),_0x260f1e(this,_0x3cba61(0x269),''),_0x260f1e(this,_0x3cba61(0x36e),0x0),_0x260f1e(this,_0x3cba61(0x351),this[_0x3cba61(0x3d9)]['pipe'](_0x32c204[_0x3cba61(0x2b1)](_0x1b3c68=>_0x1b3c68?_0x1b3c68[_0x3cba61(0x370)]:_0x54c82e[_0x3cba61(0x3fd)]),_0x32c204['shareReplay'](0x1))),_0x260f1e(this,_0x3cba61(0x3ec),!0x1),_0x260f1e(this,_0x3cba61(0x256),[]),(this[_0x3cba61(0x297)]=_0x353c92,this['session']=_0x1f4080,this[_0x3cba61(0x31d)]=_0x5374b9,this['_injector']=_0x4652cd,this[_0x3cba61(0x1ef)]=_0x2ecdd3,this[_0x3cba61(0x389)]=_0x571034,this['_revisionService']=_0x5337e0,this[_0x3cba61(0x2e5)]=_0x458044,this['_univerInstanceService']=_0xd5b844,this['_logService']=_0xdd0779,this[_0x3cba61(0x2dc)]=_0x2d1dc7,this[_0x3cba61(0x412)]=_0x3f4dce,this[_0x3cba61(0x3e0)]=_0x244ed3,this[_0x3cba61(0x2ce)]=_0x1ab9cf);}get[_0x997d7(0x31a)](){var _0x1196cc=_0x997d7;return this[_0x1196cc(0x342)];}async[_0x997d7(0x369)](){var _0x45942=_0x997d7;if(this[_0x45942(0x31a)])throw new Error(_0x45942(0x2e2));await this[_0x45942(0x275)]();}[_0x997d7(0x382)](){var _0x4793af=_0x997d7;return this[_0x4793af(0x239)]=!0x0,_0x29a664['toDisposable'](()=>{var _0x9e94d9=_0x4793af;this[_0x9e94d9(0x239)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x997d7(0x237)](_0x43c4c1){var _0x32a89e=_0x997d7;this[_0x32a89e(0x2ed)](_0x43c4c1);}[_0x997d7(0x452)](_0x30836f){var _0x29f83c=_0x997d7;this['_state']=_0x30836f,this[_0x29f83c(0x224)][_0x29f83c(0x476)](_0x30836f);}async[_0x997d7(0x275)](){var _0x210090=_0x997d7,_0x1bbeae;this['_updateState'](await this[_0x210090(0x4f0)]()),this[_0x210090(0x3e0)]&&((_0x1bbeae=this['_singleActiveUnitService'])==null||_0x1bbeae[_0x210090(0x294)](this['unitID']),this[_0x210090(0x31b)](this[_0x210090(0x3e0)]['getUnitStatus$'](this[_0x210090(0x297)])[_0x210090(0x3cc)](_0xe4b941=>{var _0x60b767=_0x210090;this[_0x60b767(0x221)][_0x60b767(0x1ff)](_0x60b767(0x359),'editing\x20status\x20changed\x20to',_0xe4b941),_0xe4b941===_0x4ff042[_0x60b767(0x3f7)]?(this[_0x60b767(0x2e5)]['emitEvent']({'id':_0xedfb31[_0x60b767(0x477)]}),this['_permissionService'][_0x60b767(0x56e)](new _0x1ce604[(_0x60b767(0x4e5))](this[_0x60b767(0x297)])['id'],!0x1),this[_0x60b767(0x412)][_0x60b767(0x26a)](!0x1)):(this[_0x60b767(0x412)][_0x60b767(0x56e)](new _0x1ce604[(_0x60b767(0x4e5))](this[_0x60b767(0x297)])['id'],!0x0),this[_0x60b767(0x412)]['setShowComponents'](!0x0));})));let _0x4a49ba=!0x1;return this[_0x210090(0x31b)](this['session'][_0x210090(0x40f)][_0x210090(0x3cc)](_0x36e382=>{var _0x5ad819=_0x210090;_0x36e382===_0xbd299[_0x5ad819(0x42b)]?this[_0x5ad819(0x331)](_0x4a49ba):_0x36e382===_0xbd299[_0x5ad819(0x3fd)]&&(_0x4a49ba=!0x0,this[_0x5ad819(0x4f5)]());})),this[_0x210090(0x31b)](this[_0x210090(0x28d)][_0x210090(0x25c)][_0x210090(0x3cc)](_0x260228=>{var _0x128238=_0x210090;try{switch(_0x260228[_0x128238(0x328)]){case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x257)]:{this[_0x128238(0x2c9)](_0x5a7fdc[_0x128238(0x3ba)](_0x260228[_0x128238(0x40b)]));break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x243)]:{this[_0x128238(0x334)](_0x260228[_0x128238(0x40b)]);break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x2ac)]:{this[_0x128238(0x54c)]();break;}case _0x5a7fdc['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x260228[_0x128238(0x40b)]);break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x2c8)]:{this[_0x128238(0x4dc)](_0x260228['data'][_0x128238(0x414)][_0x128238(0x2b1)](_0x335442=>_0x5a7fdc[_0x128238(0x3ba)](_0x335442)));break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x51d)]:{this[_0x128238(0x54c)]({'isPermissionRej':!0x0});break;}case _0x5a7fdc[_0x128238(0x315)][_0x128238(0x483)]:break;}}catch(_0x385b14){throw console['error'](_0x128238(0x384),_0x385b14),_0x385b14;}})),this[_0x210090(0x342)];}[_0x997d7(0x397)](){var _0x244987=_0x997d7;this[_0x244987(0x3ec)]=!0x1;}[_0x997d7(0x481)](){var _0xacd0ba=_0x997d7;if(this['_transitionLocked'])throw new Error(_0xacd0ba(0x2b7));this[_0xacd0ba(0x3ec)]=!0x0;}[_0x997d7(0x2ed)](_0x306ab4){var _0x43e29e=_0x997d7;this[_0x43e29e(0x481)](),this[_0x43e29e(0x452)](this[_0x43e29e(0x342)][_0x43e29e(0x560)](_0x306ab4)),this['_unlockTransition']();}[_0x997d7(0x2c9)](_0xdd170d){var _0x4dfcaa=_0x997d7;if(!(_0xdd170d[_0x4dfcaa(0x295)]<=this[_0x4dfcaa(0x4da)][_0x4dfcaa(0x4e4)](this['unitID']))){if(this[_0x4dfcaa(0x239)]){this[_0x4dfcaa(0x256)][_0x4dfcaa(0x3f6)](_0xdd170d);return;}this['_applyRemoteChangeset'](_0xdd170d);}}[_0x997d7(0x335)](){var _0x137c9a=_0x997d7;this['_remoteChangesetQueue'][_0x137c9a(0x2bd)](_0xdd862e=>this[_0x137c9a(0x2b8)](_0xdd862e)),this[_0x137c9a(0x256)]=[];}['_applyRemoteChangeset'](_0x4ea887){var _0x557a12=_0x997d7;const _0x584cd0=this['_compressMutationService'][_0x557a12(0x4b9)][_0x557a12(0x468)](this[_0x557a12(0x1ef)][_0x557a12(0x4b9)]['getInterceptPoints']()[_0x557a12(0x513)])(_0x4ea887[_0x557a12(0x2af)],null)||_0x4ea887[_0x557a12(0x2af)],_0x2a5267={..._0x4ea887,'mutations':_0x584cd0};this[_0x557a12(0x481)](),this['_updateState'](this[_0x557a12(0x342)]['onRemoteChangeset'](_0x2a5267)),this[_0x557a12(0x397)]();}[_0x997d7(0x334)](_0xf5df97){var _0x308652=_0x997d7;this[_0x308652(0x481)](),this[_0x308652(0x452)](this[_0x308652(0x342)][_0x308652(0x4e8)](_0xf5df97)),this[_0x308652(0x397)]();}[_0x997d7(0x54c)](_0x5de156){var _0x4d16cf=_0x997d7;this[_0x4d16cf(0x481)](),this[_0x4d16cf(0x452)](this['_state']['onRemoteRej'](_0x5de156)),this[_0x4d16cf(0x397)]();}['_onRemoteRetry'](_0x1dd90e){var _0x336d9f=_0x997d7;this[_0x336d9f(0x481)](),this[_0x336d9f(0x452)](this[_0x336d9f(0x342)]['onRemoteRetry'](_0x1dd90e)),this[_0x336d9f(0x397)]();}[_0x997d7(0x4dc)](_0x4b69d4){var _0x569f55=_0x997d7;if(!(this[_0x569f55(0x342)]instanceof _0x36d18b['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2f8fd6=_0x4b69d4[_0x569f55(0x2b1)](_0xd42d5a=>{var _0x9e4b28=_0x569f55;const _0x553b84=this['_compressMutationService'][_0x9e4b28(0x4b9)][_0x9e4b28(0x468)](this[_0x9e4b28(0x1ef)][_0x9e4b28(0x4b9)][_0x9e4b28(0x2d1)]()[_0x9e4b28(0x513)])(_0xd42d5a[_0x9e4b28(0x2af)],null)||_0xd42d5a[_0x9e4b28(0x2af)];return{..._0xd42d5a,'mutations':_0x553b84};});this['_lockTransition'](),this[_0x569f55(0x452)](this[_0x569f55(0x342)][_0x569f55(0x403)](_0x2f8fd6)),this['_unlockTransition']();}[_0x997d7(0x4f5)](){var _0xd508d2=_0x997d7;this[_0xd508d2(0x481)](),this['_updateState'](this[_0xd508d2(0x342)][_0xd508d2(0x271)]()),this['_unlockTransition']();}[_0x997d7(0x331)](_0xf60a67=!0x1){var _0x5f2496=_0x997d7;this[_0x5f2496(0x481)](),this[_0x5f2496(0x452)](this[_0x5f2496(0x342)][_0x5f2496(0x317)]()),this[_0x5f2496(0x397)]();const _0x9aba55=this[_0x5f2496(0x342)];_0xf60a67&&_0x9aba55 instanceof _0x36d18b[_0x5f2496(0x568)]&&(this[_0x5f2496(0x481)](),this[_0x5f2496(0x452)](_0x9aba55[_0x5f2496(0x528)]()),this[_0x5f2496(0x397)]());}async[_0x997d7(0x4f0)](){return new Promise(_0x57a318=>{var _0xa4e792=_0x4ecd;this['session'][_0xa4e792(0x40f)]['pipe'](_0x32c204['take'](0x1))[_0xa4e792(0x3cc)](async _0x4007f8=>{var _0x792e5f=_0xa4e792;_0x57a318(await this[_0x792e5f(0x4e7)](_0x4007f8===_0xbd299[_0x792e5f(0x42b)]));});});}[_0x997d7(0x3cf)](){const _0x6b007b=this['unitID'];return{'onStateChange':(_0x206cad,_0x388bda)=>{var _0x230708=_0x4ecd;if(_0x206cad!==this[_0x230708(0x342)])throw new Error(_0x230708(0x506)+_0x206cad[_0x230708(0x370)]+_0x230708(0x45c)+_0x388bda[_0x230708(0x370)]+_0x230708(0x418)+this['_state'][_0x230708(0x370)]);this[_0x230708(0x452)](_0x388bda);},'onSendChangeset':_0x581e23=>{var _0x25a3cc=_0x4ecd;_0x581e23['sid']||(_0x581e23[_0x25a3cc(0x2eb)]=this[_0x25a3cc(0x269)],_0x581e23[_0x25a3cc(0x451)]=++this[_0x25a3cc(0x36e)]);const _0x3fadde={'eventID':_0x5a7fdc[_0x25a3cc(0x315)][_0x25a3cc(0x48e)],'data':{'unitID':_0x581e23[_0x25a3cc(0x297)],'unitType':this['_type'],'changeset':_0x581e23,'memberID':this[_0x25a3cc(0x28d)][_0x25a3cc(0x2f1)]()}};this[_0x25a3cc(0x28d)]['send'](_0x3fadde,this[_0x25a3cc(0x297)]);},'onMissingChangesets':({from:_0x2ddc72,to:_0x4d35c8})=>{var _0x104949=_0x4ecd;this[_0x104949(0x221)][_0x104949(0x1ff)]('[CollaborationEntity]',_0x104949(0x494)+_0x2ddc72+_0x104949(0x29f)+_0x4d35c8);const _0x49b724={'eventID':_0x5a7fdc[_0x104949(0x315)][_0x104949(0x4f3)],'data':{'unitID':_0x6b007b,'unitType':this['_type'],'from':_0x2ddc72,'to':_0x4d35c8}};this['session'][_0x104949(0x4ea)](_0x49b724,this[_0x104949(0x297)]);}};}async[_0x997d7(0x4e7)](_0x374f5){var _0x69f7cf=_0x997d7,_0x3c1b31,_0x408f13,_0x59bc24;const _0x3a6960=await((_0x3c1b31=this[_0x69f7cf(0x2ce)])==null?void 0x0:_0x3c1b31[_0x69f7cf(0x4b3)](this[_0x69f7cf(0x297)])),_0x239b23=(_0x408f13=_0x3a6960==null?void 0x0:_0x3a6960[_0x69f7cf(0x2af)])!=null?_0x408f13:[],_0x5a400e=(_0x59bc24=_0x3a6960==null?void 0x0:_0x3a6960[_0x69f7cf(0x4f2)])!=null?_0x59bc24:null,_0x12e105=!!(_0x5a400e!=null&&_0x5a400e['sid'])&&!!(_0x5a400e!=null&&_0x5a400e[_0x69f7cf(0x451)]);this[_0x69f7cf(0x269)]=_0x12e105?_0x5a400e['sid']:_0x5a7fdc[_0x69f7cf(0x2da)](),this[_0x69f7cf(0x36e)]=_0x12e105?_0x5a400e[_0x69f7cf(0x451)]:0x0;const _0x4f8609=this['unitID'];try{this['_replayCachedMutations'](_0x5a400e,_0x239b23);}catch(_0x337763){this[_0x69f7cf(0x221)][_0x69f7cf(0x4ee)](_0x337763);}const _0x3d8459=this[_0x69f7cf(0x3cf)]();if(_0x374f5){const _0x54bc2e=_0x163990(this[_0x69f7cf(0x30a)],_0x4f8609,this[_0x69f7cf(0x31d)],_0x5a400e,_0x239b23,_0x3d8459);return _0x54bc2e instanceof _0x36d18b[_0x69f7cf(0x265)]?_0x54bc2e['_schedule']():(_0x54bc2e instanceof _0x36d18b[_0x69f7cf(0x4ba)]||_0x54bc2e instanceof _0x36d18b[_0x69f7cf(0x37e)])&&_0x54bc2e[_0x69f7cf(0x482)](),_0x54bc2e;}return this[_0x69f7cf(0x30a)][_0x69f7cf(0x55e)](_0x36d18b['OfflineState'],_0x4f8609,this['_type'],_0x5a400e,_0x239b23,_0x3d8459);}[_0x997d7(0x54e)](_0xf44711,_0x2e29ec){var _0x200b20=_0x997d7,_0x3521fa,_0x7bc0eb;const _0x1d7b07=this[_0x200b20(0x1ef)][_0x200b20(0x4b9)][_0x200b20(0x468)](this['_compressMutationService'][_0x200b20(0x4b9)][_0x200b20(0x2d1)]()[_0x200b20(0x513)]);(_0x3521fa=_0x1d7b07((_0xf44711==null?void 0x0:_0xf44711[_0x200b20(0x2af)])||[],null))==null||_0x3521fa[_0x200b20(0x2bd)](_0x143beb=>this['_commandService'][_0x200b20(0x459)](_0x143beb['id'],_0x143beb[_0x200b20(0x200)])),(_0x7bc0eb=_0x1d7b07(_0x2e29ec||[],null))==null||_0x7bc0eb['forEach'](_0x33bb81=>this[_0x200b20(0x2dc)][_0x200b20(0x459)](_0x33bb81['id'],_0x33bb81[_0x200b20(0x200)]));}},_0x36d18b[_0x997d7(0x430)]=_0x100945([_0x5baccc(0x3,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x5baccc(0x4,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x2fe)])),_0x5baccc(0x5,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x503)])),_0x5baccc(0x6,_0x29a664['Inject'](_0x5a7fdc[_0x997d7(0x424)])),_0x5baccc(0x7,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x5baccc(0x8,_0x29a664[_0x997d7(0x208)]),_0x5baccc(0x9,_0x29a664[_0x997d7(0x492)]),_0x5baccc(0xa,_0x29a664['ICommandService']),_0x5baccc(0xb,_0x29a664['IPermissionService']),_0x5baccc(0xc,_0x29a664[_0x997d7(0x29b)](_0x4f3087)),_0x5baccc(0xd,_0x29a664['Optional'](_0x3e2be6))],_0x36d18b[_0x997d7(0x430)]),_0x36d18b['DocCollaborationEntity']=class extends _0x36d18b[_0x997d7(0x430)]{constructor(_0x176100,_0x57b735,_0x3ebe59,_0x320fc0,_0x296ada,_0x3ab41a,_0x2e5d01,_0x17617b,_0x5bbac1,_0x2efb3f,_0x1b3459,_0x52965b,_0x20489a,_0x30587d){var _0x1f0b06=_0x997d7;super(_0x176100,_0x3ebe59,_0x57b735,_0x320fc0,_0x296ada,_0x3ab41a,_0x2e5d01,_0x17617b,_0x5bbac1,_0x2efb3f,_0x1b3459,_0x52965b,_0x20489a,_0x30587d),_0x260f1e(this,_0x1f0b06(0x2f9),null),(this[_0x1f0b06(0x297)]=_0x176100,this[_0x1f0b06(0x3b0)]=_0x57b735);}[_0x997d7(0x533)](_0x438161){var _0x82ac93=_0x997d7;this[_0x82ac93(0x2f9)]=_0x438161;}['dispose'](){var _0x4d28c4=_0x997d7;this[_0x4d28c4(0x2f9)]=null,super['dispose']();}[_0x997d7(0x3cf)](){var _0x19168f=_0x997d7;const _0x41e8e9=super['_createHandler']();return _0x41e8e9[_0x19168f(0x3b9)]=_0x43b26b=>{var _0x5a88b3=_0x19168f,_0x24a622,_0x599b87;return(_0x599b87=(_0x24a622=this['_handlerCallback'])==null?void 0x0:_0x24a622[_0x5a88b3(0x3b9)])==null?void 0x0:_0x599b87['call'](_0x24a622,_0x43b26b);},_0x41e8e9[_0x19168f(0x3a5)]=_0x338f61=>{var _0x258220=_0x19168f,_0x54cb07,_0x489987;return(_0x489987=(_0x54cb07=this[_0x258220(0x2f9)])==null?void 0x0:_0x54cb07['onTransformState'])==null?void 0x0:_0x489987[_0x258220(0x23d)](_0x54cb07,_0x338f61);},_0x41e8e9['onTransformSelections']=_0x322aaa=>{var _0x4dfa98=_0x19168f,_0x14245c,_0x6c2221;return(_0x6c2221=(_0x14245c=this[_0x4dfa98(0x2f9)])==null?void 0x0:_0x14245c[_0x4dfa98(0x2a9)])==null?void 0x0:_0x6c2221[_0x4dfa98(0x23d)](_0x14245c,_0x322aaa);},_0x41e8e9[_0x19168f(0x28e)]=_0x56776b=>{var _0x173b59=_0x19168f,_0x314abe,_0x2a2e13;return(_0x2a2e13=(_0x314abe=this[_0x173b59(0x2f9)])==null?void 0x0:_0x314abe[_0x173b59(0x28e)])==null?void 0x0:_0x2a2e13[_0x173b59(0x23d)](_0x314abe,_0x56776b);},_0x41e8e9['onTransformRemoteChangesetByIMECache']=_0x5675ad=>{var _0x8cdff8=_0x19168f,_0x58ec71,_0x540fd5,_0xf403c4;if(!((_0x58ec71=this[_0x8cdff8(0x2f9)])!=null&&_0x58ec71[_0x8cdff8(0x40d)]))throw new Error(_0x8cdff8(0x24d));return(_0xf403c4=(_0x540fd5=this[_0x8cdff8(0x2f9)])==null?void 0x0:_0x540fd5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xf403c4[_0x8cdff8(0x23d)](_0x540fd5,_0x5675ad);},_0x41e8e9[_0x19168f(0x49d)]=_0xd3e856=>{var _0x5a98c6=_0x19168f,_0x3d464e,_0x4dd0bb,_0x341bea;if(!((_0x3d464e=this[_0x5a98c6(0x2f9)])!=null&&_0x3d464e[_0x5a98c6(0x49d)]))throw new Error(_0x5a98c6(0x4f4));return(_0x341bea=(_0x4dd0bb=this['_handlerCallback'])==null?void 0x0:_0x4dd0bb['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x341bea[_0x5a98c6(0x23d)](_0x4dd0bb,_0xd3e856);},_0x41e8e9;}async[_0x997d7(0x275)](){var _0x3d33b0=_0x997d7;const _0x23bb61=await super['_init']();return this[_0x3d33b0(0x31b)](this[_0x3d33b0(0x2dc)][_0x3d33b0(0x39b)]((_0x25bda4,_0x386fe4)=>{var _0x5ae2c8=_0x3d33b0;if(_0x25bda4[_0x5ae2c8(0x3b0)]!==_0x29a664['CommandType']['MUTATION']||_0x386fe4!=null&&_0x386fe4[_0x5ae2c8(0x266)]||_0x386fe4!=null&&_0x386fe4[_0x5ae2c8(0x55b)]||_0x25bda4['id']===_0x438bd6['RichTextEditingMutation']['id'])return;const _0xb99959=_0x25bda4[_0x5ae2c8(0x200)];if((_0xb99959==null?void 0x0:_0xb99959['unitId'])!==this[_0x5ae2c8(0x297)])return;const _0xe0859a=_0x25bda4,_0x3169db=this[_0x5ae2c8(0x1ef)][_0x5ae2c8(0x4b9)][_0x5ae2c8(0x468)](this['_compressMutationService'][_0x5ae2c8(0x4b9)]['getInterceptPoints']()[_0x5ae2c8(0x321)])([_0xe0859a],this[_0x5ae2c8(0x432)])||[_0xe0859a];this[_0x5ae2c8(0x2ed)](_0x3169db[0x0]);})),_0x23bb61;}},_0x36d18b[_0x997d7(0x522)]=_0x100945([_0x5baccc(0x3,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x5baccc(0x4,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x2fe)])),_0x5baccc(0x5,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x503)])),_0x5baccc(0x6,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x5baccc(0x7,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x5baccc(0x8,_0x29a664[_0x997d7(0x208)]),_0x5baccc(0x9,_0x29a664[_0x997d7(0x492)]),_0x5baccc(0xa,_0x29a664[_0x997d7(0x37f)]),_0x5baccc(0xb,_0x29a664[_0x997d7(0x471)]),_0x5baccc(0xc,_0x29a664[_0x997d7(0x29b)](_0x4f3087)),_0x5baccc(0xd,_0x29a664['Optional'](_0x3e2be6))],_0x36d18b['DocCollaborationEntity']),_0x36d18b['SheetCollaborationEntity']=class extends _0x36d18b[_0x997d7(0x430)]{constructor(_0x28d6df,_0x4a8293,_0x473e80,_0x58eef5,_0x156867,_0x223dea,_0x436e5c,_0x8a8cc0,_0x3aa194,_0x10cceb,_0x181a5e,_0x4b6fd8,_0x51d577,_0x46004a,_0x3390f7){var _0x100028=_0x997d7;super(_0x28d6df,_0x473e80,_0x4a8293,_0x58eef5,_0x156867,_0x223dea,_0x436e5c,_0x3aa194,_0x10cceb,_0x181a5e,_0x4b6fd8,_0x51d577,_0x46004a,_0x3390f7),this[_0x100028(0x297)]=_0x28d6df,this[_0x100028(0x3b0)]=_0x4a8293,this[_0x100028(0x333)]=_0x8a8cc0;}['_createHandler'](){var _0x312ab1=_0x997d7;const _0x4de053=super[_0x312ab1(0x3cf)]();return _0x4de053['onTransformSelections']=_0x3d62ef=>this[_0x312ab1(0x333)][_0x312ab1(0x440)](_0x3d62ef),_0x4de053;}async[_0x997d7(0x275)](){var _0xa04aa8=_0x997d7;const _0x49d3a7=await super['_init']();return this['disposeWithMe'](this[_0xa04aa8(0x2dc)]['onCommandExecuted']((_0x88aec2,_0x1422ce)=>{var _0x26d4d3=_0xa04aa8;if(_0x88aec2['type']!==_0x29a664[_0x26d4d3(0x567)][_0x26d4d3(0x2b5)]||_0x1422ce!=null&&_0x1422ce[_0x26d4d3(0x266)]||_0x1422ce!=null&&_0x1422ce[_0x26d4d3(0x55b)])return;const _0x21eede=_0x88aec2['params'];if((_0x21eede==null?void 0x0:_0x21eede[_0x26d4d3(0x441)])!==this[_0x26d4d3(0x297)])return;const _0xcec95a=_0x88aec2,_0x2bc742=this[_0x26d4d3(0x1ef)][_0x26d4d3(0x4b9)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x26d4d3(0x4b9)][_0x26d4d3(0x2d1)]()[_0x26d4d3(0x321)])([_0xcec95a],this[_0x26d4d3(0x432)])||[_0xcec95a];this[_0x26d4d3(0x2ed)](_0x2bc742[0x0]);})),_0x49d3a7;}},_0x36d18b[_0x997d7(0x454)]=_0x100945([_0x5baccc(0x3,_0x29a664[_0x997d7(0x346)](_0x29a664['Injector'])),_0x5baccc(0x4,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x2fe)])),_0x5baccc(0x5,_0x29a664[_0x997d7(0x346)](_0x29a664['LocaleService'])),_0x5baccc(0x6,_0x29a664[_0x997d7(0x346)](_0x5a7fdc[_0x997d7(0x424)])),_0x5baccc(0x7,_0x29a664[_0x997d7(0x346)](_0x36d18b[_0x997d7(0x415)])),_0x5baccc(0x8,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x5baccc(0x9,_0x29a664[_0x997d7(0x208)]),_0x5baccc(0xa,_0x29a664[_0x997d7(0x492)]),_0x5baccc(0xb,_0x29a664['ICommandService']),_0x5baccc(0xc,_0x29a664[_0x997d7(0x471)]),_0x5baccc(0xd,_0x29a664['Optional'](_0x4f3087)),_0x5baccc(0xe,_0x29a664['Optional'](_0x3e2be6))],_0x36d18b[_0x997d7(0x454)]);const _0x3b1d7a=_0x29a664[_0x997d7(0x38e)](_0x997d7(0x4eb));function _0x5a583b(_0x1c49c1){var _0x4f4895=_0x997d7,_0x5125f1,_0x4261ce,_0x1e4b97,_0x39c512,_0x1b286a;const _0x163f03=_0x1c49c1[_0x4f4895(0x40b)],_0x2486b5=JSON[_0x4f4895(0x487)](_0x163f03);switch(_0x2486b5[_0x4f4895(0x235)]){case _0x1f168c['HEARTBEAT']:case _0x1f168c['HELLO']:{const _0x104b56=_0x2486b5[_0x4f4895(0x473)];return{..._0x2486b5,'data':_0x104b56,'cmd':_0x2486b5[_0x4f4895(0x235)]};}case _0x1f168c[_0x4f4895(0x32a)]:{const _0xfd3f96=_0x2486b5[_0x4f4895(0x44f)];return{..._0x2486b5,'data':_0xfd3f96,'cmd':_0x2486b5[_0x4f4895(0x235)]};}case _0x1f168c[_0x4f4895(0x3e6)]:{const _0x301f48=_0x2486b5[_0x4f4895(0x4d0)];switch(_0x301f48[_0x4f4895(0x328)]){case _0x5a7fdc[_0x4f4895(0x315)]['PERMISSION_REJ']:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x5125f1=_0x301f48[_0x4f4895(0x4bb)])==null?void 0x0:_0x5125f1['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)]['CHANGESET_ACK']:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x4261ce=_0x301f48['csAckEvent'])==null?void 0x0:_0x4261ce['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent'][_0x4f4895(0x257)]:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x1e4b97=_0x301f48[_0x4f4895(0x519)])==null?void 0x0:_0x1e4b97['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x2ac)]:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x39c512=_0x301f48[_0x4f4895(0x30c)])==null?void 0x0:_0x39c512['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x2486b5,'data':{..._0x301f48,'data':(_0x1b286a=_0x301f48[_0x4f4895(0x396)])==null?void 0x0:_0x1b286a['cs']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x4f8)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48['updateCursorEvent']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent'][_0x4f4895(0x4b8)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x27a)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x47b)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x51f)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x390)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48['liveShareNewHost']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)]['LIVESHARE_FETCH_OPERATIONS']:case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x4d8)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x462)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x427)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x2486b5,'data':_0x301f48,'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x2a2)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x348)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x4c1)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x45d)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)][_0x4f4895(0x35e)]:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48['shouldCloseConn']},'cmd':_0x2486b5[_0x4f4895(0x235)]};case _0x5a7fdc[_0x4f4895(0x315)]['UNISCRIPT_RUN']:return{..._0x2486b5,'data':{..._0x301f48,'data':_0x301f48[_0x4f4895(0x264)]},'cmd':_0x2486b5[_0x4f4895(0x235)]};default:return _0x2486b5;}}default:return _0x2486b5;}}function _0x4151ad(_0x4b8c85){var _0x3829c7=_0x997d7;switch(_0x4b8c85[_0x3829c7(0x235)]){case _0x1f168c[_0x3829c7(0x230)]:case _0x1f168c[_0x3829c7(0x556)]:return JSON['stringify']({'cmd':_0x4b8c85[_0x3829c7(0x235)],'routeKey':_0x4b8c85['routeKey']});case _0x1f168c[_0x3829c7(0x55a)]:{let _0x1afaa6;switch(_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x328)]){case _0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x4f8)]:{_0x1afaa6={'eventID':_0x5a7fdc['CollaborationEvent'][_0x3829c7(0x4f8)],'updateCursorEvent':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x40b)]};break;}case _0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x47b)]:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x47b)],'leaveEvent':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x40b)]};break;}case _0x5a7fdc['CollaborationEvent']['USERS_ENTER']:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x4b8)],'joinEvent':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x40b)]};break;}case _0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x390)]:{_0x1afaa6={'eventID':_0x5a7fdc['CollaborationEvent'][_0x3829c7(0x390)],'liveShareNewHost':_0x4b8c85[_0x3829c7(0x40b)]['data']};break;}case _0x5a7fdc[_0x3829c7(0x315)]['LIVESHARE_OPERATION']:{_0x1afaa6={'eventID':_0x5a7fdc['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x4b8c85['data'][_0x3829c7(0x40b)]};break;}case _0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x391)]:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x391)],'liveShareTerminate':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x40b)]};break;}case _0x5a7fdc['CollaborationEvent'][_0x3829c7(0x23c)]:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x23c)],'liveShareRequestHost':_0x4b8c85[_0x3829c7(0x40b)]['data']};break;}case _0x5a7fdc[_0x3829c7(0x315)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1afaa6={'eventID':_0x5a7fdc[_0x3829c7(0x315)][_0x3829c7(0x3b4)]};break;}default:_0x1afaa6={'eventID':_0x4b8c85[_0x3829c7(0x40b)][_0x3829c7(0x328)]};}return JSON['stringify']({'cmd':_0x4b8c85['cmd'],'routeKey':_0x4b8c85[_0x3829c7(0x259)],'collaMsg':_0x1afaa6});}case _0x1f168c[_0x3829c7(0x32a)]:return JSON[_0x3829c7(0x22d)]({'cmd':_0x4b8c85[_0x3829c7(0x235)],'routeKey':_0x4b8c85['routeKey'],'joinReq':_0x4b8c85[_0x3829c7(0x40b)]});case _0x1f168c[_0x3829c7(0x50c)]:return JSON[_0x3829c7(0x22d)]({'cmd':_0x4b8c85[_0x3829c7(0x235)],'routeKey':_0x4b8c85[_0x3829c7(0x259)],'leaveReq':_0x4b8c85[_0x3829c7(0x40b)]});default:throw new Error(_0x3829c7(0x3f8));}}var _0x20e378=Object[_0x997d7(0x539)],_0xfa7d74=(_0x359b25,_0x6276ba,_0x41b1c0,_0x65dc8e)=>{for(var _0xc8a5ba=_0x65dc8e>0x1?void 0x0:_0x65dc8e?_0x20e378(_0x6276ba,_0x41b1c0):_0x6276ba,_0x513391=_0x359b25['length']-0x1,_0x79c488;_0x513391>=0x0;_0x513391--)(_0x79c488=_0x359b25[_0x513391])&&(_0xc8a5ba=_0x79c488(_0xc8a5ba)||_0xc8a5ba);return _0xc8a5ba;},_0x510100=(_0x1dda47,_0x1b7ce6)=>(_0x3d0d27,_0x2adabf)=>_0x1b7ce6(_0x3d0d27,_0x2adabf,_0x1dda47);const _0x5b4d23=_0x29a664['createIdentifier'](_0x997d7(0x3b2));function _0x272dc1(_0x751e1b,_0x5cf344,_0x2601d2){var _0x5cb311=_0x997d7;return _0x751e1b+'/'+_0x5cf344+'/unit/'+_0x2601d2+_0x5cb311(0x4fa);}_0x36d18b[_0x997d7(0x562)]=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x2e9d08,_0x510f25,_0x3b59f6,_0x47aed8,_0x58633e){var _0x55fd18=_0x997d7;super(),this[_0x55fd18(0x30a)]=_0x2e9d08,this[_0x55fd18(0x3f4)]=_0x510f25,this[_0x55fd18(0x261)]=_0x3b59f6,this[_0x55fd18(0x221)]=_0x47aed8,this[_0x55fd18(0x32d)]=_0x58633e;}[_0x997d7(0x241)](_0x67fecd){var _0x330d19=_0x997d7;const _0x401c5b=this[_0x330d19(0x30a)][_0x330d19(0x47e)](_0x200e90[_0x330d19(0x52c)]);if(!_0x401c5b)throw new Error(_0x330d19(0x3c1));const _0x248b6d=_0x401c5b['createSocket'](_0x67fecd);if(!_0x248b6d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x1563c4=new _0x29a664[(_0x330d19(0x4a7))](),_0x5ac26c=new _0x32c204[(_0x330d19(0x41c))]();_0x1563c4['add'](_0x248b6d['close$'][_0x330d19(0x3cc)](_0x1871e9=>_0x5ac26c[_0x330d19(0x476)](_0x1871e9))),_0x1563c4[_0x330d19(0x388)](_0x29a664['toDisposable'](()=>_0x5ac26c[_0x330d19(0x42a)]()));const _0x5b6ae0=new _0x32c204[(_0x330d19(0x41c))]();_0x1563c4[_0x330d19(0x388)](_0x248b6d[_0x330d19(0x521)][_0x330d19(0x3cc)](_0x1708f5=>_0x5b6ae0['next'](_0x1708f5))),_0x1563c4[_0x330d19(0x388)](_0x29a664['toDisposable'](()=>_0x5b6ae0['complete']()));const _0xe8f7ac=new _0x32c204[(_0x330d19(0x41c))]();_0x1563c4[_0x330d19(0x388)](_0x248b6d[_0x330d19(0x3e4)]['subscribe'](_0x17fb6e=>{var _0x6c7bd0=_0x330d19;const _0x589046=_0x5a583b(_0x17fb6e);_0xe8f7ac[_0x6c7bd0(0x476)](_0x589046);})),_0x1563c4[_0x330d19(0x388)](_0x29a664[_0x330d19(0x4b5)](()=>_0xe8f7ac[_0x330d19(0x42a)]()));let _0x12b5d4;const _0x1a429b=()=>{var _0x15e802=_0x330d19;_0x5b6ae0[_0x15e802(0x476)](new Event(_0x15e802(0x37a))),_0x5ac26c[_0x15e802(0x476)](new Event(_0x15e802(0x37a))),_0x12b5d4['close']();};return _0x12b5d4={'memberID':'','close$':_0x5ac26c[_0x330d19(0x313)](),'error$':_0x5b6ae0['asObservable'](),'open$':_0x248b6d[_0x330d19(0x37b)],'message$':_0xe8f7ac[_0x330d19(0x313)](),'send':_0x5e9654=>{var _0x66ef35=_0x330d19;if(_0x5e9654['cmd']===_0x1f168c['INGEST']){if(_0x5e9654[_0x66ef35(0x40b)][_0x66ef35(0x328)]===_0x5a7fdc[_0x66ef35(0x315)][_0x66ef35(0x48e)]){this[_0x66ef35(0x276)](_0x12b5d4,_0x5e9654[_0x66ef35(0x40b)])[_0x66ef35(0x327)](_0x2afd3a=>{var _0x243c41=_0x66ef35;this[_0x243c41(0x221)][_0x243c41(0x4ee)](_0x2afd3a),_0x1a429b();});return;}if(_0x5e9654[_0x66ef35(0x40b)][_0x66ef35(0x328)]===_0x5a7fdc['CollaborationEvent'][_0x66ef35(0x4f3)]){const _0x173bb1=_0x5e9654[_0x66ef35(0x40b)];this['_fetchMissChangesets'](_0x173bb1)[_0x66ef35(0x367)](_0x14deea=>{var _0x1f1d73=_0x66ef35;_0xe8f7ac[_0x1f1d73(0x476)]({'cmd':_0x1f168c['RECV'],'code':_0x2eda57['OK'],'routeKey':_0x173bb1[_0x1f1d73(0x40b)]['unitID'],'routeType':'','data':{'eventID':_0x5a7fdc[_0x1f1d73(0x315)][_0x1f1d73(0x2c8)],'data':{'changesets':_0x14deea}}});})['catch'](_0x162812=>{var _0x395e2c=_0x66ef35;this[_0x395e2c(0x221)][_0x395e2c(0x4ee)](_0x162812),_0x1a429b();});return;}}_0x248b6d['send'](_0x4151ad(_0x5e9654));},'close':()=>{var _0x46f1a9=_0x330d19;_0x248b6d[_0x46f1a9(0x4f9)](),_0x1563c4[_0x46f1a9(0x206)]();}},_0x12b5d4;}async[_0x997d7(0x276)](_0x10f3c1,_0x4629be){var _0x1b5706=_0x997d7,_0x29497b;const {unitType:_0x54988e,unitID:_0x2bc918,changeset:_0x2088a7}=_0x4629be[_0x1b5706(0x40b)],_0x196c70={'unitID':_0x2bc918,'memberID':_0x10f3c1['memberID'],'type':_0x54988e,'changeset':_0x5a7fdc[_0x1b5706(0x26d)](_0x2088a7)},_0x4f4726=this[_0x1b5706(0x261)][_0x1b5706(0x368)](_0x3fa783),_0x174cc0=_0x272dc1((_0x29497b=_0x4f4726==null?void 0x0:_0x4f4726[_0x1b5706(0x301)])!=null?_0x29497b:_0x4afe1a,_0x54988e,_0x2bc918);try{await this['_httpService']['post'](_0x174cc0,{'body':_0x196c70});}catch(_0x50c737){throw this[_0x1b5706(0x221)]['error'](_0x1b5706(0x443),'submit\x20changeset\x20error!'),_0x50c737;}}async['_fetchMissChangesets'](_0x37fdd5){var _0x51d28c=_0x997d7;const {unitID:_0x29c3cf,from:_0x18e008,to:_0x71c6ea,unitType:_0x3f8306}=_0x37fdd5[_0x51d28c(0x40b)];return(await this[_0x51d28c(0x32d)][_0x51d28c(0x3cb)]({'metadata':void 0x0},{'unitID':_0x29c3cf,'type':_0x3f8306,'from':_0x18e008,'to':_0x71c6ea}))[_0x51d28c(0x414)]['map'](_0x56cadd=>((_0x56cadd[_0x51d28c(0x2af)]===null||_0x56cadd['mutations']===void 0x0)&&(_0x56cadd[_0x51d28c(0x2af)]=[]),_0x56cadd));}},_0x36d18b[_0x997d7(0x562)]=_0xfa7d74([_0x510100(0x0,_0x29a664['Inject'](_0x29a664[_0x997d7(0x2c6)])),_0x510100(0x1,_0x29a664[_0x997d7(0x346)](_0x200e90['HTTPService'])),_0x510100(0x2,_0x29a664[_0x997d7(0x4fc)]),_0x510100(0x3,_0x29a664[_0x997d7(0x492)]),_0x510100(0x4,_0x5a7fdc[_0x997d7(0x42f)])],_0x36d18b[_0x997d7(0x562)]);var _0x3b7f11=Object[_0x997d7(0x539)],_0x4d7ad0=(_0x2bd9b5,_0x37966f,_0x4624e5,_0x53d94e)=>{var _0x501334=_0x997d7;for(var _0x1a820f=_0x53d94e>0x1?void 0x0:_0x53d94e?_0x3b7f11(_0x37966f,_0x4624e5):_0x37966f,_0xccb86b=_0x2bd9b5[_0x501334(0x307)]-0x1,_0x863605;_0xccb86b>=0x0;_0xccb86b--)(_0x863605=_0x2bd9b5[_0xccb86b])&&(_0x1a820f=_0x863605(_0x1a820f)||_0x1a820f);return _0x1a820f;},_0x4b0319=(_0x3be6fc,_0x16583d)=>(_0x47dc32,_0x3c9d0)=>_0x16583d(_0x47dc32,_0x3c9d0,_0x3be6fc);_0x36d18b[_0x997d7(0x446)]=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x3fa719,_0x151af5,_0x4dc205,_0x2054cd,_0xf55f1b,_0x4acd0c){var _0x1a7085=_0x997d7;super(),_0x260f1e(this,_0x1a7085(0x2aa),new _0x32c204[(_0x1a7085(0x4be))](void 0x0)),_0x260f1e(this,'socket$',this[_0x1a7085(0x2aa)][_0x1a7085(0x313)]()),_0x260f1e(this,_0x1a7085(0x4cc),null),_0x260f1e(this,_0x1a7085(0x4f7),new Map()),_0x260f1e(this,_0x1a7085(0x325),new _0x32c204['BehaviorSubject'](_0xbd299['IDLE'])),_0x260f1e(this,_0x1a7085(0x351),this[_0x1a7085(0x325)]['asObservable']()),_0x260f1e(this,_0x1a7085(0x337),!0x1),_0x260f1e(this,_0x1a7085(0x3ca)),_0x260f1e(this,'_retryCount',0x0),_0x260f1e(this,_0x1a7085(0x3a3)),_0x260f1e(this,_0x1a7085(0x38f)),(this[_0x1a7085(0x30a)]=_0x3fa719,this[_0x1a7085(0x221)]=_0x151af5,this['_configService']=_0x4dc205,this[_0x1a7085(0x3fa)]=_0x2054cd,this[_0x1a7085(0x47a)]=_0xf55f1b,this[_0x1a7085(0x283)]=_0x4acd0c,this[_0x1a7085(0x32f)]());}get[_0x997d7(0x49e)](){return this['_socket$']['getValue']();}[_0x997d7(0x32f)](){var _0x55f674=_0x997d7;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0x55f674(0x33d)][_0x55f674(0x3cc)](_0x62035b=>{var _0x5bfc17=_0x55f674;_0x62035b&&!this[_0x5bfc17(0x49e)]&&this[_0x5bfc17(0x4a8)](),_0x62035b||this['_onOffline']();}));}[_0x997d7(0x206)](){var _0x51b287=_0x997d7;super[_0x51b287(0x206)](),this[_0x51b287(0x2fc)](),this['_clearTimeoutTimer'](),this[_0x51b287(0x4ca)](),this[_0x51b287(0x4f7)][_0x51b287(0x2bd)](_0x1be062=>_0x1be062[_0x51b287(0x206)]()),this['_sessions'][_0x51b287(0x2ef)](),this[_0x51b287(0x325)]['complete']();}async[_0x997d7(0x1fe)](_0x1f6c48){var _0x588089=_0x997d7;if(this[_0x588089(0x4f7)][_0x588089(0x572)](_0x1f6c48))return this['_sessions'][_0x588089(0x47e)](_0x1f6c48);this[_0x588089(0x555)]();const _0xdae5a6=this[_0x588089(0x30a)][_0x588089(0x55e)](_0x36d18b[_0x588089(0x4d1)],_0x1f6c48,this[_0x588089(0x2aa)][_0x588089(0x313)]());return this[_0x588089(0x4f7)]['set'](_0x1f6c48,_0xdae5a6),_0xdae5a6;}['closeSession'](_0x1c0710){var _0x577d3b=_0x997d7,_0xa4bf1f;const _0x4e2738=this[_0x577d3b(0x4f7)][_0x577d3b(0x47e)](_0x1c0710);_0x4e2738&&(this[_0x577d3b(0x4f7)][_0x577d3b(0x375)](_0x1c0710),_0x4e2738[_0x577d3b(0x4f9)]()),this[_0x577d3b(0x4f7)][_0x577d3b(0x498)]||(_0xa4bf1f=this[_0x577d3b(0x49e)])==null||_0xa4bf1f[_0x577d3b(0x4f9)]();}['reconnect'](){var _0x5e68f1=_0x997d7;this[_0x5e68f1(0x207)]=0x0,this[_0x5e68f1(0x2fc)](),this[_0x5e68f1(0x529)]();}['_clearRetryConnectingTimer'](){var _0x51483f=_0x997d7;this[_0x51483f(0x3ca)]!=null&&(clearTimeout(this[_0x51483f(0x3ca)]),this['_retryConnectingTimer']=null);}async[_0x997d7(0x485)](){var _0x3037b2=_0x997d7,_0x491638;const _0x1ff99c=this['_configService']['getConfig'](_0x3fa783),_0x26b8c9=(_0x491638=_0x1ff99c==null?void 0x0:_0x1ff99c[_0x3037b2(0x4d5)])!=null?_0x491638:_0x53efe6,_0x14286b=await this[_0x3037b2(0x3fa)][_0x3037b2(0x479)](_0x26b8c9);return this['_candidateSocket']=_0x14286b,_0x14286b;}async[_0x997d7(0x555)](){var _0xe17ebb=_0x997d7,_0x26e872,_0x2b49f9;try{const _0xb3d3cc=(_0x2b49f9=(_0x26e872=this['_socket'])!=null?_0x26e872:this['_candidateSocket'])!=null?_0x2b49f9:await this[_0xe17ebb(0x485)]();if(_0xb3d3cc){const _0x1edde1=_0xb3d3cc[_0xe17ebb(0x4ea)];_0xb3d3cc[_0xe17ebb(0x4ea)]=_0x10769d=>(this[_0xe17ebb(0x49f)](),_0x1edde1[_0xe17ebb(0x493)](_0xb3d3cc,[_0x10769d])),_0xb3d3cc[_0xe17ebb(0x3e4)]['subscribe'](_0xc20e68=>this['_onMessage'](_0xb3d3cc,_0xc20e68)),_0xb3d3cc[_0xe17ebb(0x521)][_0xe17ebb(0x2ab)](_0x12f47e[_0xe17ebb(0x2f3)](0x1))[_0xe17ebb(0x3cc)](_0x3cb633=>this[_0xe17ebb(0x221)]['error'](_0xe17ebb(0x27c),_0x3cb633)),_0xb3d3cc[_0xe17ebb(0x37b)][_0xe17ebb(0x2ab)](_0x12f47e['take'](0x1))[_0xe17ebb(0x3cc)](()=>{var _0x5eec31=_0xe17ebb;this[_0x5eec31(0x542)](_0xb3d3cc);}),_0xb3d3cc[_0xe17ebb(0x2a7)][_0xe17ebb(0x2ab)](_0x12f47e['take'](0x1))[_0xe17ebb(0x3cc)](_0x419eef=>{var _0x2cbebe=_0xe17ebb;this['_logService'][_0x2cbebe(0x1ff)](_0x2cbebe(0x344),'socket\x20close',_0x419eef),this[_0x2cbebe(0x2ca)]();});}}catch(_0x513a3d){this[_0xe17ebb(0x221)][_0xe17ebb(0x4ee)](_0x513a3d),this[_0xe17ebb(0x2ca)]();}}[_0x997d7(0x542)](_0x596767){var _0x36676c=_0x997d7;this['_logService'][_0x36676c(0x1ff)](_0x36676c(0x344),_0x36676c(0x438)),_0x596767[_0x36676c(0x4ea)]({'cmd':_0x1f168c[_0x36676c(0x556)]}),this['_rescheduleHeartbeat']();}[_0x997d7(0x3eb)](){var _0x26a764=_0x997d7;this[_0x26a764(0x337)]=!0x1,this['_candidateSocket']=null,this[_0x26a764(0x325)][_0x26a764(0x476)](_0xbd299[_0x26a764(0x3fd)]),this[_0x26a764(0x2aa)]['next'](null),this[_0x26a764(0x50d)](),this[_0x26a764(0x4ca)]();}[_0x997d7(0x2ca)](){var _0x45e18a=_0x997d7,_0x16dcf1;this[_0x45e18a(0x3eb)](),this['_retryCount']<((_0x16dcf1=this['_configService']['getConfig'](_0x547549))!=null?_0x16dcf1:0x3)?(this['_collaborationUIEventService']['emitEvent']({'id':_0xedfb31['SOCKET_FAILED_RETRY']}),this[_0x45e18a(0x529)]()):this[_0x45e18a(0x47a)][_0x45e18a(0x2d4)]({'id':_0xedfb31[_0x45e18a(0x489)]});}[_0x997d7(0x529)](){var _0x37fb32=_0x997d7,_0x5ea410;const _0x2b44aa=this[_0x37fb32(0x207)],_0x3abc0f=this[_0x37fb32(0x261)][_0x37fb32(0x368)](_0x3fa783),_0x23b0a0=_0x2b44aa===0x0?0x0:((_0x5ea410=_0x3abc0f==null?void 0x0:_0x3abc0f[_0x37fb32(0x464)])!=null?_0x5ea410:0x4e20)*0x2**_0x2b44aa;this[_0x37fb32(0x3ca)]=setTimeout(()=>{var _0x16fb94=_0x37fb32;clearTimeout(this[_0x16fb94(0x3ca)]),this[_0x16fb94(0x3ca)]=null,this[_0x16fb94(0x555)]();},_0x23b0a0),this['_retryCount']+=0x1;}['_onMessage'](_0x43ff69,_0x9c3fc0){var _0x386a4b=_0x997d7;const {cmd:_0x20a6b6}=_0x9c3fc0;_0x20a6b6===_0x1f168c[_0x386a4b(0x556)]&&!this[_0x386a4b(0x337)]&&(_0x43ff69[_0x386a4b(0x298)]=_0x9c3fc0[_0x386a4b(0x40b)][_0x386a4b(0x298)],this[_0x386a4b(0x2aa)]['next'](_0x43ff69),this[_0x386a4b(0x325)][_0x386a4b(0x476)](_0xbd299[_0x386a4b(0x42b)]),this['_socketReady']=!0x0,this[_0x386a4b(0x4cc)]=null),_0x20a6b6===_0x1f168c[_0x386a4b(0x230)]&&this[_0x386a4b(0x50d)](),this[_0x386a4b(0x49f)]();}[_0x997d7(0x49f)](){var _0x56e27b=_0x997d7,_0x2e8467;this[_0x56e27b(0x4ca)](),this[_0x56e27b(0x3a3)]=setTimeout(()=>this[_0x56e27b(0x20d)](),(_0x2e8467=this['_configService'][_0x56e27b(0x368)](_0x2b6987))!=null?_0x2e8467:0x7530);}['_sendHeartbeat'](){var _0x1069fc=_0x997d7;this[_0x1069fc(0x49e)][_0x1069fc(0x4ea)]({'cmd':_0x1f168c[_0x1069fc(0x230)]}),this[_0x1069fc(0x46b)]();}['_waitForHeartbeatResponse'](){var _0x3aaef4=_0x997d7,_0x3435ab;this[_0x3aaef4(0x38f)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x3435ab=this['_configService'][_0x3aaef4(0x368)](_0x315b2c))!=null?_0x3435ab:0x4e20);}[_0x997d7(0x4ca)](){var _0x2d307e=_0x997d7;this[_0x2d307e(0x3a3)]!=null&&(clearTimeout(this[_0x2d307e(0x3a3)]),this[_0x2d307e(0x3a3)]=null);}[_0x997d7(0x50d)](){var _0x430b14=_0x997d7;this[_0x430b14(0x38f)]!=null&&(clearTimeout(this[_0x430b14(0x38f)]),this[_0x430b14(0x38f)]=null);}},_0x36d18b[_0x997d7(0x446)]=_0x4d7ad0([_0x4b0319(0x0,_0x29a664['Inject'](_0x29a664[_0x997d7(0x2c6)])),_0x4b0319(0x1,_0x29a664[_0x997d7(0x492)]),_0x4b0319(0x2,_0x29a664[_0x997d7(0x4fc)]),_0x4b0319(0x3,_0x5b4d23),_0x4b0319(0x4,_0x29a664[_0x997d7(0x346)](_0x495958)),_0x4b0319(0x5,_0x29a664[_0x997d7(0x29b)](_0x3b1d7a))],_0x36d18b['CollaborationSessionService']);var _0x1373b7=Object[_0x997d7(0x539)],_0x154857=(_0xf6f537,_0x1301ef,_0x55ec14,_0x9d3824)=>{var _0x36960d=_0x997d7;for(var _0x20fbc9=_0x9d3824>0x1?void 0x0:_0x9d3824?_0x1373b7(_0x1301ef,_0x55ec14):_0x1301ef,_0xb903e2=_0xf6f537[_0x36960d(0x307)]-0x1,_0x5f5041;_0xb903e2>=0x0;_0xb903e2--)(_0x5f5041=_0xf6f537[_0xb903e2])&&(_0x20fbc9=_0x5f5041(_0x20fbc9)||_0x20fbc9);return _0x20fbc9;},_0x5d3ecd=(_0x5cffd3,_0x1a9fa7)=>(_0x3e97d3,_0x187d9d)=>_0x1a9fa7(_0x3e97d3,_0x187d9d,_0x5cffd3);_0x36d18b[_0x997d7(0x322)]=class extends _0x29a664[_0x997d7(0x330)]{constructor(_0x47eb7a,_0x945440,_0x17013,_0x1399f7){var _0x52b943=_0x997d7,_0x56948a;super(),_0x260f1e(this,'_entities',new Map()),_0x260f1e(this,_0x52b943(0x35d),new _0x32c204['Subject']()),_0x260f1e(this,_0x52b943(0x262),this[_0x52b943(0x35d)][_0x52b943(0x313)]()),(this[_0x52b943(0x30a)]=_0x47eb7a,this[_0x52b943(0x419)]=_0x945440,this[_0x52b943(0x261)]=_0x17013,this['_univerInstanceService']=_0x1399f7,((_0x56948a=this[_0x52b943(0x261)][_0x52b943(0x368)](_0x3fa783))==null?void 0x0:_0x56948a[_0x52b943(0x204)])!==!0x1&&this['_init']());}['dispose'](){var _0x409319=_0x997d7;super[_0x409319(0x206)](),this[_0x409319(0x537)][_0x409319(0x2bd)](_0x128711=>_0x128711[_0x409319(0x206)]()),this['_entities']['clear']();}['getCollabEntity'](_0x491b07){var _0x3065b0=_0x997d7,_0x50c8d4;return(_0x50c8d4=this[_0x3065b0(0x537)][_0x3065b0(0x47e)](_0x491b07))!=null?_0x50c8d4:null;}[_0x997d7(0x326)](_0x301433){var _0x5d492c=_0x997d7;const _0x4179e1=this['getCollabEntity'](_0x301433);return _0x4179e1?_0x32c204['of'](_0x4179e1):this[_0x5d492c(0x35d)][_0x5d492c(0x2ab)](_0x12f47e['filter'](_0x509c1d=>_0x509c1d['unitID']===_0x301433));}[_0x997d7(0x33f)](_0x55ae9e){var _0x322cfc=_0x997d7;return _0x32c204[_0x322cfc(0x3b1)](this[_0x322cfc(0x326)](_0x55ae9e)[_0x322cfc(0x2ab)](_0x12f47e[_0x322cfc(0x2b1)](()=>{})));}[_0x997d7(0x275)](){var _0x1d9a91=_0x997d7;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x29a664[_0x1d9a91(0x319)][_0x1d9a91(0x4c5)])[_0x1d9a91(0x2ab)](_0x32c204[_0x1d9a91(0x45b)](this['dispose$']),_0x12f47e[_0x1d9a91(0x50a)](0x10))[_0x1d9a91(0x3cc)](async _0x4a8183=>{var _0x2b7719=_0x1d9a91;const _0x4536cc=_0x4a8183[_0x2b7719(0x4ae)](),_0x4313d5=await this[_0x2b7719(0x44a)](_0x4536cc,_0x60f00c[_0x2b7719(0x4c5)]);this[_0x2b7719(0x537)][_0x2b7719(0x41e)](_0x4536cc,_0x4313d5);}),this[_0x1d9a91(0x432)][_0x1d9a91(0x51b)](_0x29a664['UniverInstanceType'][_0x1d9a91(0x47c)])[_0x1d9a91(0x2ab)](_0x32c204[_0x1d9a91(0x45b)](this['dispose$']),_0x12f47e[_0x1d9a91(0x50a)](0x10))[_0x1d9a91(0x2ab)](_0x12f47e[_0x1d9a91(0x469)](_0xa3637c=>!_0xa3637c['getUnitId']()[_0x1d9a91(0x2e3)]('__')))[_0x1d9a91(0x3cc)](async _0x370d8=>{var _0x48000a=_0x1d9a91;const _0x1433e1=_0x370d8[_0x48000a(0x4ae)](),_0x49f081=await this[_0x48000a(0x44a)](_0x1433e1,_0x60f00c[_0x48000a(0x47c)]);this[_0x48000a(0x537)]['set'](_0x1433e1,_0x49f081);}),_0x32c204['merge'](this[_0x1d9a91(0x432)][_0x1d9a91(0x525)](_0x29a664['UniverInstanceType'][_0x1d9a91(0x4c5)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x29a664[_0x1d9a91(0x319)][_0x1d9a91(0x47c)]))[_0x1d9a91(0x2ab)](_0x32c204[_0x1d9a91(0x45b)](this[_0x1d9a91(0x2a0)]))[_0x1d9a91(0x3cc)](_0x3d9c4d=>{var _0xaa8aa9=_0x1d9a91;const _0x42a8a9=_0x3d9c4d[_0xaa8aa9(0x4ae)](),_0x12dd1b=this[_0xaa8aa9(0x537)][_0xaa8aa9(0x47e)](_0x42a8a9);_0x12dd1b&&(_0x12dd1b['dispose'](),this[_0xaa8aa9(0x537)]['delete'](_0x42a8a9));});}async[_0x997d7(0x44a)](_0x1e5651,_0x46ac0e){var _0x49eb9f=_0x997d7;const _0x149271=await this[_0x49eb9f(0x419)]['requireSession'](_0x1e5651),_0x524073=this[_0x49eb9f(0x30a)][_0x49eb9f(0x55e)](this['_getCtorByUniverType'](_0x46ac0e),_0x1e5651,_0x46ac0e,_0x149271);return await _0x524073[_0x49eb9f(0x369)](),this['_entityInit$'][_0x49eb9f(0x476)](_0x524073),_0x524073;}['_getCtorByUniverType'](_0x385c90){var _0x345c71=_0x997d7;switch(_0x385c90){case _0x60f00c['UNIVER_DOC']:return _0x36d18b[_0x345c71(0x522)];case _0x60f00c['UNIVER_SHEET']:return _0x36d18b[_0x345c71(0x454)];default:throw new Error(_0x345c71(0x2b2)+_0x385c90);}}},_0x36d18b[_0x997d7(0x322)]=_0x154857([_0x5d3ecd(0x0,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x5d3ecd(0x1,_0x29a664[_0x997d7(0x346)](_0x36d18b[_0x997d7(0x446)])),_0x5d3ecd(0x2,_0x29a664[_0x997d7(0x4fc)]),_0x5d3ecd(0x3,_0x29a664['IUniverInstanceService'])],_0x36d18b['CollaborationController']);var _0x4f5a28=Object[_0x997d7(0x539)],_0x1fabce=(_0x3086f3,_0x2be102,_0x4ed696,_0x4cf03d)=>{for(var _0x57e018=_0x4cf03d>0x1?void 0x0:_0x4cf03d?_0x4f5a28(_0x2be102,_0x4ed696):_0x2be102,_0x4aa861=_0x3086f3['length']-0x1,_0x53127d;_0x4aa861>=0x0;_0x4aa861--)(_0x53127d=_0x3086f3[_0x4aa861])&&(_0x57e018=_0x53127d(_0x57e018)||_0x57e018);return _0x57e018;},_0x443904=(_0x22a3a0,_0x56167c)=>(_0x514338,_0x49f5f7)=>_0x56167c(_0x514338,_0x49f5f7,_0x22a3a0);const _0x3af0a4='DEFAULT_FILE_NAME',_0x5d6c95=_0x997d7(0x234);let _0x4788c3=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x242d49,_0x4c9d96){var _0x2c7a6e=_0x997d7;super(),this['_univerInstanceService']=_0x242d49,this[_0x2c7a6e(0x261)]=_0x4c9d96,this[_0x2c7a6e(0x275)]();}['_init'](){var _0x3cc057=_0x997d7;this[_0x3cc057(0x31b)](this[_0x3cc057(0x432)][_0x3cc057(0x274)][_0x3cc057(0x3cc)](()=>{var _0x863bf3=_0x3cc057,_0x47af14;const _0x771eb4=this[_0x863bf3(0x432)][_0x863bf3(0x213)]();let _0x3a6e28=(_0x47af14=this['_configService']['getConfig'](_0x3af0a4))!=null?_0x47af14:_0x5d6c95;_0x771eb4 instanceof _0x29a664[_0x863bf3(0x23f)]&&(_0x3a6e28=_0x771eb4[_0x863bf3(0x4d2)]),document[_0x863bf3(0x324)]=_0x3a6e28;}));}};_0x4788c3=_0x1fabce([_0x443904(0x0,_0x29a664[_0x997d7(0x208)]),_0x443904(0x1,_0x29a664[_0x997d7(0x4fc)])],_0x4788c3);var _0x1c7e94=Object['getOwnPropertyDescriptor'],_0x3e7e4d=(_0xa7a6eb,_0x476645,_0x2687c9,_0x55e98b)=>{var _0x23db95=_0x997d7;for(var _0x401c23=_0x55e98b>0x1?void 0x0:_0x55e98b?_0x1c7e94(_0x476645,_0x2687c9):_0x476645,_0x8602eb=_0xa7a6eb[_0x23db95(0x307)]-0x1,_0x8d74c3;_0x8602eb>=0x0;_0x8602eb--)(_0x8d74c3=_0xa7a6eb[_0x8602eb])&&(_0x401c23=_0x8d74c3(_0x401c23)||_0x401c23);return _0x401c23;},_0x24dd4a=(_0x577ada,_0x611cdb)=>(_0xcf1053,_0x5eee7e)=>_0x611cdb(_0xcf1053,_0x5eee7e,_0x577ada);let _0x57ab38=class{constructor(_0x4076a0,_0x4fba16,_0xb2b31b){var _0x481620=_0x997d7;this['_configService']=_0x4076a0,this[_0x481620(0x3f4)]=_0x4fba16,this[_0x481620(0x456)]=_0xb2b31b,this[_0x481620(0x369)]();}['init'](){var _0x26edaf=_0x997d7;this[_0x26edaf(0x3f4)][_0x26edaf(0x3d5)]({'priority':0x1,'interceptor':(_0x498197,_0x43b2ec)=>_0x43b2ec(_0x498197)['pipe'](_0x32c204[_0x26edaf(0x273)](async _0xd207ef=>{var _0x2b1417=_0x26edaf;const _0x1c12d1=_0xd207ef;if(_0x1c12d1[_0x2b1417(0x370)]===0x191){if(typeof window>'u')throw new Error(_0x2b1417(0x3a4));if(window[_0x2b1417(0x55f)](this[_0x2b1417(0x456)]['t'](_0x2b1417(0x24a)))){const _0x4606ae=window[_0x2b1417(0x279)](window[_0x2b1417(0x53c)][_0x2b1417(0x2ee)]);window[_0x2b1417(0x53c)][_0x2b1417(0x2ee)]=this[_0x2b1417(0x2e4)]()+_0x2b1417(0x347)+_0x4606ae;}}return _0x1c12d1;}))});}[_0x997d7(0x2e4)](){var _0x16fb4a=_0x997d7,_0x320160;const _0x4c0afa=this[_0x16fb4a(0x261)][_0x16fb4a(0x368)](_0x3fa783);return(_0x320160=_0x4c0afa==null?void 0x0:_0x4c0afa[_0x16fb4a(0x41d)])!=null?_0x320160:_0x278fe0;}};_0x57ab38=_0x3e7e4d([_0x24dd4a(0x0,_0x29a664[_0x997d7(0x4fc)]),_0x24dd4a(0x1,_0x29a664[_0x997d7(0x346)](_0x200e90[_0x997d7(0x218)])),_0x24dd4a(0x2,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x503)]))],_0x57ab38);var _0x3db826=Object[_0x997d7(0x539)],_0xc23e00=(_0x5e8777,_0x114bbf,_0x18910b,_0x1d58ed)=>{for(var _0x52c719=_0x1d58ed>0x1?void 0x0:_0x1d58ed?_0x3db826(_0x114bbf,_0x18910b):_0x114bbf,_0x3ed8c1=_0x5e8777['length']-0x1,_0x47ed92;_0x3ed8c1>=0x0;_0x3ed8c1--)(_0x47ed92=_0x5e8777[_0x3ed8c1])&&(_0x52c719=_0x47ed92(_0x52c719)||_0x52c719);return _0x52c719;},_0xbd05af=(_0x502496,_0x1ab914)=>(_0x32fb32,_0xe30fd0)=>_0x1ab914(_0x32fb32,_0xe30fd0,_0x502496);const _0x450ae3=_0x997d7(0x2ba);_0x36d18b[_0x997d7(0x3dc)]=class extends _0x29a664[_0x997d7(0x285)]{constructor(_0x31ec09,_0x3daf48){var _0x90d5d7=_0x997d7;super(),this['_HTTPService']=_0x31ec09,this[_0x90d5d7(0x261)]=_0x3daf48,this[_0x90d5d7(0x305)]();}[_0x997d7(0x305)](){var _0x48fccc=_0x997d7;const _0x3050fa=this;this[_0x48fccc(0x31b)](this[_0x48fccc(0x210)][_0x48fccc(0x3d5)]({'priority':0x3e7,'interceptor':_0x200e90[_0x48fccc(0x27b)]({'isMatch'(_0x57f6bb){var _0x4ca79f=_0x48fccc,_0x141f5d;if(_0x57f6bb[_0x4ca79f(0x50e)]==='POST'&&((_0x141f5d=_0x57f6bb[_0x4ca79f(0x38b)])!=null&&_0x141f5d['body'])){const {objectID:_0x55b02d,objectType:_0x342e65}=_0x57f6bb['requestParams'][_0x4ca79f(0x22b)]||{};if(!_0x55b02d||_0x342e65===void 0x0)return!0x1;const _0x5272bc=_0x3050fa[_0x4ca79f(0x2a4)]()+'/'+_0x342e65+'/object/'+_0x55b02d+'/allowed';if(_0x57f6bb['url']===_0x5272bc)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1b67d8){var _0x193f60=_0x48fccc,_0x6b332;return(_0x6b332=_0x1b67d8['requestParams'])==null?void 0x0:_0x6b332[_0x193f60(0x22b)];},'mergeParamsToRequest'(_0x4fba21,_0x4a343a){var _0x4c978c=_0x48fccc;const _0x520611=_0x3050fa[_0x4c978c(0x2a4)]()+_0x4c978c(0x4d9),_0x31b3bf=_0x4fba21[_0x4c978c(0x516)]((_0xb093cf,_0xf7612e)=>{var _0x371de0=_0x4c978c;const {unitID:_0x4a1122,objectID:_0x4d6b16,objectType:_0x50939d,actions:_0x44ae1d}=_0xf7612e;return _0xb093cf[_0x4a1122]||(_0xb093cf[_0x4a1122]={}),_0xb093cf[_0x4a1122][_0x4d6b16]||(_0xb093cf[_0x4a1122][_0x4d6b16]={'objectID':_0x4d6b16,'objectType':_0x50939d,'actions':[]}),_0xb093cf[_0x4a1122][_0x4d6b16][_0x371de0(0x2c7)][_0x371de0(0x3f6)](..._0x44ae1d),_0xb093cf;},{}),_0x4677fe=[];for(const _0x35e82a in _0x31b3bf)for(const _0x3cab94 in _0x31b3bf[_0x35e82a]){const {actions:_0x203ee3,objectType:_0x422887}=_0x31b3bf[_0x35e82a][_0x3cab94],_0x29a983=[...new Set(_0x203ee3)];_0x4677fe[_0x4c978c(0x3f6)]({'unitID':_0x35e82a,'objectID':_0x3cab94,'objectType':_0x422887,'actions':_0x29a983});}return new _0x200e90[(_0x4c978c(0x3d4))]('POST',_0x520611,{'headers':_0x4a343a[_0x4c978c(0x1f0)],'withCredentials':_0x4a343a[_0x4c978c(0x408)],'responseType':_0x4a343a[_0x4c978c(0x40e)],'body':{'requests':_0x4677fe}});}},{'distributeResult'(_0x22d61a,_0x2bacfd){var _0x106d1c=_0x48fccc;const {objectActions:_0x425ae8}=_0x22d61a;return _0x2bacfd[_0x106d1c(0x2b1)](_0x3275c3=>{var _0x4ce072=_0x106d1c;const {unitID:_0x4d7ad1,objectID:_0x8f9f9a,actions:_0x5b6338}=_0x3275c3,_0x27787a=_0x425ae8[_0x4ce072(0x455)](_0x553ff6=>_0x553ff6['unitID']===_0x4d7ad1&&_0x553ff6[_0x4ce072(0x1f6)]===_0x8f9f9a),_0x1e80d2=_0x5b6338[_0x4ce072(0x2b1)](_0x3512e9=>_0x27787a==null?void 0x0:_0x27787a[_0x4ce072(0x2c7)]['find'](_0x143555=>_0x143555['action']===_0x3512e9))[_0x4ce072(0x469)](_0x24a8c0=>!!_0x24a8c0);return{'config':_0x3275c3,'result':{'actions':_0x1e80d2,'error':_0x22d61a[_0x4ce072(0x4ee)]}};});}})}));}[_0x997d7(0x2a4)](){var _0x31219a=_0x997d7,_0x281e0e;const _0x28c647=this[_0x31219a(0x261)]['getConfig'](_0x3fa783);return(_0x281e0e=_0x28c647==null?void 0x0:_0x28c647[_0x31219a(0x534)])!=null?_0x281e0e:_0x450ae3;}async['create'](_0x1f5b30){var _0x3c3634=_0x997d7;const _0x1772cc=this[_0x3c3634(0x2a4)]()+'/'+_0x1f5b30[_0x3c3634(0x46e)]+_0x3c3634(0x509);return(await this[_0x3c3634(0x210)][_0x3c3634(0x540)](_0x1772cc,{'body':_0x1f5b30}))[_0x3c3634(0x22b)]['objectID']||'';}async['list'](_0xa43be){var _0x12b98d=_0x997d7;const _0x16be38=this[_0x12b98d(0x2a4)]()+_0x12b98d(0x311);return(await this[_0x12b98d(0x210)][_0x12b98d(0x540)](_0x16be38,{'body':_0xa43be}))[_0x12b98d(0x22b)][_0x12b98d(0x46f)];}async[_0x997d7(0x550)](_0x2603b9){var _0x57be6a=_0x997d7,_0x335aa6,_0x30886b;const _0x4b8818=this[_0x57be6a(0x2a4)]()+'/'+_0x2603b9[_0x57be6a(0x46e)]+_0x57be6a(0x48f)+_0x2603b9[_0x57be6a(0x1f6)],_0x320b1f=await this[_0x57be6a(0x210)][_0x57be6a(0x306)](_0x4b8818,{'body':_0x2603b9});if(((_0x30886b=(_0x335aa6=_0x320b1f==null?void 0x0:_0x320b1f[_0x57be6a(0x22b)])==null?void 0x0:_0x335aa6[_0x57be6a(0x4ee)])==null?void 0x0:_0x30886b['code'])!==0x1)throw new Error(_0x57be6a(0x4a6));}async['allowed'](_0xa9fa92){var _0xe04589=_0x997d7;const _0x538374=this[_0xe04589(0x2a4)]()+'/'+_0xa9fa92[_0xe04589(0x46e)]+'/object/'+_0xa9fa92[_0xe04589(0x1f6)]+_0xe04589(0x34a);return(await this[_0xe04589(0x210)][_0xe04589(0x540)](_0x538374,{'body':_0xa9fa92}))[_0xe04589(0x22b)]['actions'];}async[_0x997d7(0x3f0)](_0x5758da){var _0x496a8b=_0x997d7;const _0xaf9ec0=this[_0x496a8b(0x2a4)]()+_0x496a8b(0x4d9);return(await this[_0x496a8b(0x210)]['post'](_0xaf9ec0,{'body':{'requests':_0x5758da}}))[_0x496a8b(0x22b)][_0x496a8b(0x36f)];}async[_0x997d7(0x52e)](_0x40ecd0){var _0x3f3908=_0x997d7;const _0x250793=this[_0x3f3908(0x2a4)]()+'/'+_0x40ecd0[_0x3f3908(0x46e)]+'/role',_0x2b4347=await this['_HTTPService'][_0x3f3908(0x540)](_0x250793,{'body':_0x40ecd0});return{'roles':_0x2b4347[_0x3f3908(0x22b)]['roles'],'actions':_0x2b4347[_0x3f3908(0x22b)][_0x3f3908(0x2c7)]};}async[_0x997d7(0x4fd)](_0x273da7){var _0x1de26f=_0x997d7;const _0x30262b=this[_0x1de26f(0x2a4)]()+_0x1de26f(0x43a);await this[_0x1de26f(0x210)][_0x1de26f(0x375)](_0x30262b,{'params':{'collaboratorID':_0x273da7[_0x1de26f(0x33a)],'objectID':_0x273da7['objectID'],'unitID':_0x273da7[_0x1de26f(0x297)]}});}async[_0x997d7(0x565)](_0x8746f8){var _0xf98833=_0x997d7;const _0x3ffe6d=this['_getAPIPrefixPath']()+_0xf98833(0x43a);await this[_0xf98833(0x210)]['patch'](_0x3ffe6d,{'body':_0x8746f8});}async[_0x997d7(0x242)](_0x348098){var _0x24a162=_0x997d7;const _0x462572=this[_0x24a162(0x2a4)]()+'/collaborator';await this[_0x24a162(0x210)][_0x24a162(0x540)](_0x462572,{'body':_0x348098});}async[_0x997d7(0x3c2)](_0x3f2c92){var _0x5950cc=_0x997d7;const _0x597dea=this['_getAPIPrefixPath']()+_0x5950cc(0x43a);return(await this['_HTTPService']['get'](_0x597dea,{'params':{'objectID':_0x3f2c92[_0x5950cc(0x1f6)],'unitID':_0x3f2c92['unitID']}}))[_0x5950cc(0x22b)][_0x5950cc(0x270)];}async['putCollaborators'](_0x37f46b){var _0x373c6d=_0x997d7;const _0x2e0328=this[_0x373c6d(0x2a4)]()+_0x373c6d(0x43a);await this[_0x373c6d(0x210)][_0x373c6d(0x306)](_0x2e0328,{'body':_0x37f46b});}},_0x36d18b[_0x997d7(0x3dc)]=_0xc23e00([_0xbd05af(0x0,_0x29a664[_0x997d7(0x346)](_0x200e90['HTTPService'])),_0xbd05af(0x1,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x4fc)]))],_0x36d18b[_0x997d7(0x3dc)]);var _0x2cf14d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x574301(_0x3b567e){var _0x545163=_0x997d7;return _0x3b567e&&_0x3b567e['__esModule']&&Object[_0x545163(0x236)][_0x545163(0x203)]['call'](_0x3b567e,_0x545163(0x460))?_0x3b567e[_0x545163(0x460)]:_0x3b567e;}var _0x367d61={'exports':{}};function _0x141fe1(_0x19f5aa){var _0x4f6f68=_0x997d7;throw new Error(_0x4f6f68(0x4b1)+_0x19f5aa+_0x4f6f68(0x463));}var _0x55a1d1={'exports':{}},_0x34192c=_0x55a1d1[_0x997d7(0x523)],_0x2fb6f5;function _0x45d273(){return _0x2fb6f5||(_0x2fb6f5=0x1,function(_0x3b4155,_0x136e18){(function(_0x5de41d,_0x143747){_0x3b4155['exports']=_0x143747();}(_0x34192c,function(){var _0xd0a385=_0xd0a385||function(_0x55c17e,_0x7cbbaf){var _0x53cf93=_0x4ecd,_0x5bca64;if(typeof window<'u'&&window['crypto']&&(_0x5bca64=window[_0x53cf93(0x3fb)]),typeof self<'u'&&self[_0x53cf93(0x3fb)]&&(_0x5bca64=self[_0x53cf93(0x3fb)]),typeof globalThis<'u'&&globalThis[_0x53cf93(0x3fb)]&&(_0x5bca64=globalThis[_0x53cf93(0x3fb)]),!_0x5bca64&&typeof window<'u'&&window[_0x53cf93(0x2f7)]&&(_0x5bca64=window[_0x53cf93(0x2f7)]),!_0x5bca64&&typeof _0x2cf14d<'u'&&_0x2cf14d[_0x53cf93(0x3fb)]&&(_0x5bca64=_0x2cf14d['crypto']),!_0x5bca64&&typeof _0x141fe1==_0x53cf93(0x29c))try{_0x5bca64=require('crypto');}catch{}var _0x2f0f49=function(){var _0x222eda=_0x53cf93;if(_0x5bca64){if(typeof _0x5bca64[_0x222eda(0x2d7)]==_0x222eda(0x29c))try{return _0x5bca64[_0x222eda(0x2d7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bca64[_0x222eda(0x56f)]==_0x222eda(0x29c))try{return _0x5bca64['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x222eda(0x339));},_0x548af3=Object[_0x53cf93(0x3e7)]||(function(){function _0x52b7f9(){}return function(_0x519306){var _0xeb581=_0x4ecd,_0x5a4d65;return _0x52b7f9[_0xeb581(0x236)]=_0x519306,_0x5a4d65=new _0x52b7f9(),_0x52b7f9[_0xeb581(0x236)]=null,_0x5a4d65;};}()),_0x16238a={},_0x3cc764=_0x16238a[_0x53cf93(0x3ff)]={},_0x51883c=_0x3cc764['Base']=(function(){return{'extend':function(_0x153fb2){var _0x4e857b=_0x4ecd,_0x3bd4b=_0x548af3(this);return _0x153fb2&&_0x3bd4b['mixIn'](_0x153fb2),(!_0x3bd4b[_0x4e857b(0x203)]('init')||this[_0x4e857b(0x369)]===_0x3bd4b[_0x4e857b(0x369)])&&(_0x3bd4b[_0x4e857b(0x369)]=function(){var _0x13e78c=_0x4e857b;_0x3bd4b[_0x13e78c(0x4a4)][_0x13e78c(0x369)][_0x13e78c(0x493)](this,arguments);}),_0x3bd4b[_0x4e857b(0x369)][_0x4e857b(0x236)]=_0x3bd4b,_0x3bd4b[_0x4e857b(0x4a4)]=this,_0x3bd4b;},'create':function(){var _0x41f01b=_0x4ecd,_0x201b3e=this[_0x41f01b(0x202)]();return _0x201b3e[_0x41f01b(0x369)][_0x41f01b(0x493)](_0x201b3e,arguments),_0x201b3e;},'init':function(){},'mixIn':function(_0xce8061){var _0xa30347=_0x4ecd;for(var _0x4b26ba in _0xce8061)_0xce8061[_0xa30347(0x203)](_0x4b26ba)&&(this[_0x4b26ba]=_0xce8061[_0x4b26ba]);_0xce8061[_0xa30347(0x203)]('toString')&&(this[_0xa30347(0x3a6)]=_0xce8061[_0xa30347(0x3a6)]);},'clone':function(){var _0x54d0ac=_0x4ecd;return this['init'][_0x54d0ac(0x236)][_0x54d0ac(0x202)](this);}};}()),_0x10e699=_0x3cc764[_0x53cf93(0x466)]=_0x51883c[_0x53cf93(0x202)]({'init':function(_0x4d33bc,_0x1a9e43){var _0x5f1003=_0x53cf93;_0x4d33bc=this[_0x5f1003(0x30d)]=_0x4d33bc||[],_0x1a9e43!=_0x7cbbaf?this[_0x5f1003(0x4c3)]=_0x1a9e43:this[_0x5f1003(0x4c3)]=_0x4d33bc[_0x5f1003(0x307)]*0x4;},'toString':function(_0x5e532b){var _0x1bb189=_0x53cf93;return(_0x5e532b||_0x37fad3)[_0x1bb189(0x22d)](this);},'concat':function(_0x3dbd08){var _0x486f3a=_0x53cf93,_0xaced35=this[_0x486f3a(0x30d)],_0x3cae76=_0x3dbd08[_0x486f3a(0x30d)],_0x3805b2=this[_0x486f3a(0x4c3)],_0x4f2f8f=_0x3dbd08[_0x486f3a(0x4c3)];if(this[_0x486f3a(0x360)](),_0x3805b2%0x4)for(var _0xa10fec=0x0;_0xa10fec<_0x4f2f8f;_0xa10fec++){var _0x14d6d0=_0x3cae76[_0xa10fec>>>0x2]>>>0x18-_0xa10fec%0x4*0x8&0xff;_0xaced35[_0x3805b2+_0xa10fec>>>0x2]|=_0x14d6d0<<0x18-(_0x3805b2+_0xa10fec)%0x4*0x8;}else{for(var _0x27c81e=0x0;_0x27c81e<_0x4f2f8f;_0x27c81e+=0x4)_0xaced35[_0x3805b2+_0x27c81e>>>0x2]=_0x3cae76[_0x27c81e>>>0x2];}return this[_0x486f3a(0x4c3)]+=_0x4f2f8f,this;},'clamp':function(){var _0xb25149=_0x53cf93,_0x40204d=this[_0xb25149(0x30d)],_0x559f93=this[_0xb25149(0x4c3)];_0x40204d[_0x559f93>>>0x2]&=0xffffffff<<0x20-_0x559f93%0x4*0x8,_0x40204d[_0xb25149(0x307)]=_0x55c17e[_0xb25149(0x212)](_0x559f93/0x4);},'clone':function(){var _0x267f9f=_0x53cf93,_0x3652ad=_0x51883c['clone']['call'](this);return _0x3652ad[_0x267f9f(0x30d)]=this[_0x267f9f(0x30d)][_0x267f9f(0x3c4)](0x0),_0x3652ad;},'random':function(_0x187442){for(var _0x2f3df7=[],_0x169f80=0x0;_0x169f80<_0x187442;_0x169f80+=0x4)_0x2f3df7['push'](_0x2f0f49());return new _0x10e699['init'](_0x2f3df7,_0x187442);}}),_0x4726c2=_0x16238a['enc']={},_0x37fad3=_0x4726c2[_0x53cf93(0x251)]={'stringify':function(_0x2d0182){var _0xf8cc92=_0x53cf93;for(var _0x2cb41b=_0x2d0182[_0xf8cc92(0x30d)],_0x30daef=_0x2d0182['sigBytes'],_0x2be015=[],_0x44e809=0x0;_0x44e809<_0x30daef;_0x44e809++){var _0x2ab83e=_0x2cb41b[_0x44e809>>>0x2]>>>0x18-_0x44e809%0x4*0x8&0xff;_0x2be015[_0xf8cc92(0x3f6)]((_0x2ab83e>>>0x4)[_0xf8cc92(0x3a6)](0x10)),_0x2be015[_0xf8cc92(0x3f6)]((_0x2ab83e&0xf)['toString'](0x10));}return _0x2be015[_0xf8cc92(0x34b)]('');},'parse':function(_0x570254){var _0x196a1d=_0x53cf93;for(var _0x535a15=_0x570254[_0x196a1d(0x307)],_0x2a54ec=[],_0xe1183c=0x0;_0xe1183c<_0x535a15;_0xe1183c+=0x2)_0x2a54ec[_0xe1183c>>>0x3]|=parseInt(_0x570254[_0x196a1d(0x2fd)](_0xe1183c,0x2),0x10)<<0x18-_0xe1183c%0x8*0x4;return new _0x10e699[(_0x196a1d(0x369))](_0x2a54ec,_0x535a15/0x2);}},_0x239836=_0x4726c2['Latin1']={'stringify':function(_0x3f5997){var _0x1a8e14=_0x53cf93;for(var _0x12db96=_0x3f5997[_0x1a8e14(0x30d)],_0x3432b3=_0x3f5997[_0x1a8e14(0x4c3)],_0x13ac2b=[],_0xd5038e=0x0;_0xd5038e<_0x3432b3;_0xd5038e++){var _0x58334a=_0x12db96[_0xd5038e>>>0x2]>>>0x18-_0xd5038e%0x4*0x8&0xff;_0x13ac2b[_0x1a8e14(0x3f6)](String[_0x1a8e14(0x318)](_0x58334a));}return _0x13ac2b[_0x1a8e14(0x34b)]('');},'parse':function(_0x384605){for(var _0xfa2d5f=_0x384605['length'],_0x3e7aa3=[],_0x106e3c=0x0;_0x106e3c<_0xfa2d5f;_0x106e3c++)_0x3e7aa3[_0x106e3c>>>0x2]|=(_0x384605['charCodeAt'](_0x106e3c)&0xff)<<0x18-_0x106e3c%0x4*0x8;return new _0x10e699['init'](_0x3e7aa3,_0xfa2d5f);}},_0x291bad=_0x4726c2[_0x53cf93(0x3b6)]={'stringify':function(_0x501a69){var _0x4ca5ff=_0x53cf93;try{return decodeURIComponent(escape(_0x239836[_0x4ca5ff(0x22d)](_0x501a69)));}catch{throw new Error(_0x4ca5ff(0x281));}},'parse':function(_0x43f613){var _0x359ab8=_0x53cf93;return _0x239836[_0x359ab8(0x487)](unescape(encodeURIComponent(_0x43f613)));}},_0x4e073d=_0x3cc764[_0x53cf93(0x277)]=_0x51883c[_0x53cf93(0x202)]({'reset':function(){var _0x32faf8=_0x53cf93;this[_0x32faf8(0x4cb)]=new _0x10e699[(_0x32faf8(0x369))](),this[_0x32faf8(0x3b8)]=0x0;},'_append':function(_0x4d91cb){var _0x51216e=_0x53cf93;typeof _0x4d91cb==_0x51216e(0x2f0)&&(_0x4d91cb=_0x291bad[_0x51216e(0x487)](_0x4d91cb)),this[_0x51216e(0x4cb)]['concat'](_0x4d91cb),this[_0x51216e(0x3b8)]+=_0x4d91cb[_0x51216e(0x4c3)];},'_process':function(_0x481b28){var _0xd663b3=_0x53cf93,_0x3a2eb5,_0x106759=this[_0xd663b3(0x4cb)],_0x5eaed7=_0x106759[_0xd663b3(0x30d)],_0x450bd7=_0x106759[_0xd663b3(0x4c3)],_0xf3fb24=this[_0xd663b3(0x488)],_0x594bfc=_0xf3fb24*0x4,_0x209985=_0x450bd7/_0x594bfc;_0x481b28?_0x209985=_0x55c17e[_0xd663b3(0x212)](_0x209985):_0x209985=_0x55c17e[_0xd663b3(0x287)]((_0x209985|0x0)-this[_0xd663b3(0x470)],0x0);var _0x44f1f8=_0x209985*_0xf3fb24,_0x18c5e7=_0x55c17e[_0xd663b3(0x3a9)](_0x44f1f8*0x4,_0x450bd7);if(_0x44f1f8){for(var _0x4da8c5=0x0;_0x4da8c5<_0x44f1f8;_0x4da8c5+=_0xf3fb24)this[_0xd663b3(0x355)](_0x5eaed7,_0x4da8c5);_0x3a2eb5=_0x5eaed7[_0xd663b3(0x425)](0x0,_0x44f1f8),_0x106759[_0xd663b3(0x4c3)]-=_0x18c5e7;}return new _0x10e699[(_0xd663b3(0x369))](_0x3a2eb5,_0x18c5e7);},'clone':function(){var _0x2bd818=_0x53cf93,_0x39914a=_0x51883c[_0x2bd818(0x4e2)][_0x2bd818(0x23d)](this);return _0x39914a['_data']=this[_0x2bd818(0x4cb)][_0x2bd818(0x4e2)](),_0x39914a;},'_minBufferSize':0x0});_0x3cc764[_0x53cf93(0x46c)]=_0x4e073d[_0x53cf93(0x202)]({'cfg':_0x51883c['extend'](),'init':function(_0x180281){var _0x47bcd3=_0x53cf93;this[_0x47bcd3(0x566)]=this[_0x47bcd3(0x566)]['extend'](_0x180281),this[_0x47bcd3(0x214)]();},'reset':function(){var _0x4cce20=_0x53cf93;_0x4e073d['reset'][_0x4cce20(0x23d)](this),this[_0x4cce20(0x4fe)]();},'update':function(_0x1d2dc5){var _0x34f9b0=_0x53cf93;return this[_0x34f9b0(0x51a)](_0x1d2dc5),this[_0x34f9b0(0x2df)](),this;},'finalize':function(_0x3fd37d){var _0x64b20a=_0x53cf93;_0x3fd37d&&this[_0x64b20a(0x51a)](_0x3fd37d);var _0x344cbc=this['_doFinalize']();return _0x344cbc;},'blockSize':0x10,'_createHelper':function(_0x23eb4e){return function(_0x966dc5,_0x3ad980){var _0x20cbcf=_0x4ecd;return new _0x23eb4e['init'](_0x3ad980)[_0x20cbcf(0x4a3)](_0x966dc5);};},'_createHmacHelper':function(_0x48d3af){return function(_0xbd21b5,_0x4b9dd1){var _0x48e40a=_0x4ecd;return new _0x5c6610['HMAC']['init'](_0x48d3af,_0x4b9dd1)[_0x48e40a(0x4a3)](_0xbd21b5);};}});var _0x5c6610=_0x16238a[_0x53cf93(0x49c)]={};return _0x16238a;}(Math);return _0xd0a385;}));}(_0x55a1d1)),_0x55a1d1['exports'];}var _0x3d6c84={'exports':{}},_0x670467=_0x3d6c84[_0x997d7(0x523)],_0x29741d;function _0x12cba4(){var _0x178f23=_0x997d7;return _0x29741d||(_0x29741d=0x1,function(_0x7426e5,_0x32beca){(function(_0x579e43,_0x5595a0){_0x7426e5['exports']=_0x5595a0(_0x45d273());}(_0x670467,function(_0x127d6a){var _0x825c0e=_0x4ecd;return(function(){var _0x2777f6=_0x4ecd,_0x50b4d4=_0x127d6a,_0x246c52=_0x50b4d4[_0x2777f6(0x3ff)],_0x1bdd13=_0x246c52[_0x2777f6(0x466)],_0x1388ca=_0x50b4d4['enc'];_0x1388ca[_0x2777f6(0x1e9)]={'stringify':function(_0x3d978b){var _0x53ac0=_0x2777f6,_0x3d3ee9=_0x3d978b['words'],_0x305a32=_0x3d978b[_0x53ac0(0x4c3)],_0xdfc6d6=this[_0x53ac0(0x461)];_0x3d978b[_0x53ac0(0x360)]();for(var _0x232380=[],_0x48ef3a=0x0;_0x48ef3a<_0x305a32;_0x48ef3a+=0x3)for(var _0x374b85=_0x3d3ee9[_0x48ef3a>>>0x2]>>>0x18-_0x48ef3a%0x4*0x8&0xff,_0x4d4b4d=_0x3d3ee9[_0x48ef3a+0x1>>>0x2]>>>0x18-(_0x48ef3a+0x1)%0x4*0x8&0xff,_0x513d91=_0x3d3ee9[_0x48ef3a+0x2>>>0x2]>>>0x18-(_0x48ef3a+0x2)%0x4*0x8&0xff,_0x38b88d=_0x374b85<<0x10|_0x4d4b4d<<0x8|_0x513d91,_0x2a95bd=0x0;_0x2a95bd<0x4&&_0x48ef3a+_0x2a95bd*0.75<_0x305a32;_0x2a95bd++)_0x232380[_0x53ac0(0x3f6)](_0xdfc6d6[_0x53ac0(0x4a9)](_0x38b88d>>>0x6*(0x3-_0x2a95bd)&0x3f));var _0x4939c2=_0xdfc6d6[_0x53ac0(0x4a9)](0x40);if(_0x4939c2){for(;_0x232380[_0x53ac0(0x307)]%0x4;)_0x232380['push'](_0x4939c2);}return _0x232380[_0x53ac0(0x34b)]('');},'parse':function(_0x3bf67d){var _0x206878=_0x2777f6,_0x4493c1=_0x3bf67d[_0x206878(0x307)],_0x40e944=this[_0x206878(0x461)],_0x3eec24=this[_0x206878(0x34c)];if(!_0x3eec24){_0x3eec24=this['_reverseMap']=[];for(var _0x416005=0x0;_0x416005<_0x40e944[_0x206878(0x307)];_0x416005++)_0x3eec24[_0x40e944[_0x206878(0x26f)](_0x416005)]=_0x416005;}var _0x22c7b1=_0x40e944[_0x206878(0x4a9)](0x40);if(_0x22c7b1){var _0x164af0=_0x3bf67d[_0x206878(0x3f5)](_0x22c7b1);_0x164af0!==-0x1&&(_0x4493c1=_0x164af0);}return _0x5db922(_0x3bf67d,_0x4493c1,_0x3eec24);},'_map':_0x2777f6(0x2fb)};function _0x5db922(_0x6c2304,_0x197219,_0x11a20b){var _0x46b746=_0x2777f6;for(var _0x43b803=[],_0x363764=0x0,_0x30f10a=0x0;_0x30f10a<_0x197219;_0x30f10a++)if(_0x30f10a%0x4){var _0x3cf6dc=_0x11a20b[_0x6c2304[_0x46b746(0x26f)](_0x30f10a-0x1)]<<_0x30f10a%0x4*0x2,_0x1bb308=_0x11a20b[_0x6c2304[_0x46b746(0x26f)](_0x30f10a)]>>>0x6-_0x30f10a%0x4*0x2,_0x3ff6f4=_0x3cf6dc|_0x1bb308;_0x43b803[_0x363764>>>0x2]|=_0x3ff6f4<<0x18-_0x363764%0x4*0x8,_0x363764++;}return _0x1bdd13['create'](_0x43b803,_0x363764);}}()),_0x127d6a['enc'][_0x825c0e(0x1e9)];}));}(_0x3d6c84)),_0x3d6c84[_0x178f23(0x523)];}var _0x5ec732={'exports':{}},_0x48783e=_0x5ec732['exports'],_0x5a7ab0;function _0x1a8182(){var _0x4f82e4=_0x997d7;return _0x5a7ab0||(_0x5a7ab0=0x1,function(_0x2fd577,_0x2b62f9){(function(_0x31f835,_0x1dc566){var _0x18fce2=_0x4ecd;_0x2fd577[_0x18fce2(0x523)]=_0x1dc566(_0x45d273());}(_0x48783e,function(_0x2f9073){var _0x2aa6c2=_0x4ecd;return function(_0x21f3b3){var _0x6a89cf=_0x4ecd,_0x541143=_0x2f9073,_0x27c642=_0x541143[_0x6a89cf(0x3ff)],_0x4713a5=_0x27c642[_0x6a89cf(0x466)],_0x562707=_0x27c642[_0x6a89cf(0x46c)],_0x1ff375=_0x541143[_0x6a89cf(0x49c)],_0x59d7b4=[];(function(){for(var _0x1b91c0=0x0;_0x1b91c0<0x40;_0x1b91c0++)_0x59d7b4[_0x1b91c0]=_0x21f3b3['abs'](_0x21f3b3['sin'](_0x1b91c0+0x1))*0x100000000|0x0;}());var _0x12340f=_0x1ff375[_0x6a89cf(0x363)]=_0x562707[_0x6a89cf(0x202)]({'_doReset':function(){var _0x4ff726=_0x6a89cf;this[_0x4ff726(0x38c)]=new _0x4713a5['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x400974,_0x279d6e){var _0x3a15de=_0x6a89cf;for(var _0x17bf35=0x0;_0x17bf35<0x10;_0x17bf35++){var _0x4774df=_0x279d6e+_0x17bf35,_0x234f28=_0x400974[_0x4774df];_0x400974[_0x4774df]=(_0x234f28<<0x8|_0x234f28>>>0x18)&0xff00ff|(_0x234f28<<0x18|_0x234f28>>>0x8)&0xff00ff00;}var _0x3a404a=this[_0x3a15de(0x38c)][_0x3a15de(0x30d)],_0x474732=_0x400974[_0x279d6e+0x0],_0x3b88ab=_0x400974[_0x279d6e+0x1],_0x30120d=_0x400974[_0x279d6e+0x2],_0x488856=_0x400974[_0x279d6e+0x3],_0x21c4fa=_0x400974[_0x279d6e+0x4],_0x537878=_0x400974[_0x279d6e+0x5],_0x1a4c56=_0x400974[_0x279d6e+0x6],_0x20bf81=_0x400974[_0x279d6e+0x7],_0x15e35d=_0x400974[_0x279d6e+0x8],_0x514906=_0x400974[_0x279d6e+0x9],_0x544add=_0x400974[_0x279d6e+0xa],_0x161bfd=_0x400974[_0x279d6e+0xb],_0x474412=_0x400974[_0x279d6e+0xc],_0x5aa7e7=_0x400974[_0x279d6e+0xd],_0x555b88=_0x400974[_0x279d6e+0xe],_0x31906b=_0x400974[_0x279d6e+0xf],_0x4d760a=_0x3a404a[0x0],_0x2ae8b1=_0x3a404a[0x1],_0x1a7b21=_0x3a404a[0x2],_0x4f2ec8=_0x3a404a[0x3];_0x4d760a=_0x45366e(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x474732,0x7,_0x59d7b4[0x0]),_0x4f2ec8=_0x45366e(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x3b88ab,0xc,_0x59d7b4[0x1]),_0x1a7b21=_0x45366e(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x30120d,0x11,_0x59d7b4[0x2]),_0x2ae8b1=_0x45366e(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x488856,0x16,_0x59d7b4[0x3]),_0x4d760a=_0x45366e(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x21c4fa,0x7,_0x59d7b4[0x4]),_0x4f2ec8=_0x45366e(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x537878,0xc,_0x59d7b4[0x5]),_0x1a7b21=_0x45366e(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a4c56,0x11,_0x59d7b4[0x6]),_0x2ae8b1=_0x45366e(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x20bf81,0x16,_0x59d7b4[0x7]),_0x4d760a=_0x45366e(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x15e35d,0x7,_0x59d7b4[0x8]),_0x4f2ec8=_0x45366e(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x514906,0xc,_0x59d7b4[0x9]),_0x1a7b21=_0x45366e(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x544add,0x11,_0x59d7b4[0xa]),_0x2ae8b1=_0x45366e(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x161bfd,0x16,_0x59d7b4[0xb]),_0x4d760a=_0x45366e(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x474412,0x7,_0x59d7b4[0xc]),_0x4f2ec8=_0x45366e(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x5aa7e7,0xc,_0x59d7b4[0xd]),_0x1a7b21=_0x45366e(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x555b88,0x11,_0x59d7b4[0xe]),_0x2ae8b1=_0x45366e(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x31906b,0x16,_0x59d7b4[0xf]),_0x4d760a=_0x567e2b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x3b88ab,0x5,_0x59d7b4[0x10]),_0x4f2ec8=_0x567e2b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x1a4c56,0x9,_0x59d7b4[0x11]),_0x1a7b21=_0x567e2b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x161bfd,0xe,_0x59d7b4[0x12]),_0x2ae8b1=_0x567e2b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x474732,0x14,_0x59d7b4[0x13]),_0x4d760a=_0x567e2b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x537878,0x5,_0x59d7b4[0x14]),_0x4f2ec8=_0x567e2b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x544add,0x9,_0x59d7b4[0x15]),_0x1a7b21=_0x567e2b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x31906b,0xe,_0x59d7b4[0x16]),_0x2ae8b1=_0x567e2b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x21c4fa,0x14,_0x59d7b4[0x17]),_0x4d760a=_0x567e2b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x514906,0x5,_0x59d7b4[0x18]),_0x4f2ec8=_0x567e2b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x555b88,0x9,_0x59d7b4[0x19]),_0x1a7b21=_0x567e2b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x488856,0xe,_0x59d7b4[0x1a]),_0x2ae8b1=_0x567e2b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x15e35d,0x14,_0x59d7b4[0x1b]),_0x4d760a=_0x567e2b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x5aa7e7,0x5,_0x59d7b4[0x1c]),_0x4f2ec8=_0x567e2b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x30120d,0x9,_0x59d7b4[0x1d]),_0x1a7b21=_0x567e2b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x20bf81,0xe,_0x59d7b4[0x1e]),_0x2ae8b1=_0x567e2b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x474412,0x14,_0x59d7b4[0x1f]),_0x4d760a=_0x1013d2(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x537878,0x4,_0x59d7b4[0x20]),_0x4f2ec8=_0x1013d2(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x15e35d,0xb,_0x59d7b4[0x21]),_0x1a7b21=_0x1013d2(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x161bfd,0x10,_0x59d7b4[0x22]),_0x2ae8b1=_0x1013d2(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x555b88,0x17,_0x59d7b4[0x23]),_0x4d760a=_0x1013d2(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x3b88ab,0x4,_0x59d7b4[0x24]),_0x4f2ec8=_0x1013d2(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x21c4fa,0xb,_0x59d7b4[0x25]),_0x1a7b21=_0x1013d2(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x20bf81,0x10,_0x59d7b4[0x26]),_0x2ae8b1=_0x1013d2(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x544add,0x17,_0x59d7b4[0x27]),_0x4d760a=_0x1013d2(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x5aa7e7,0x4,_0x59d7b4[0x28]),_0x4f2ec8=_0x1013d2(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x474732,0xb,_0x59d7b4[0x29]),_0x1a7b21=_0x1013d2(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x488856,0x10,_0x59d7b4[0x2a]),_0x2ae8b1=_0x1013d2(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x1a4c56,0x17,_0x59d7b4[0x2b]),_0x4d760a=_0x1013d2(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x514906,0x4,_0x59d7b4[0x2c]),_0x4f2ec8=_0x1013d2(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x474412,0xb,_0x59d7b4[0x2d]),_0x1a7b21=_0x1013d2(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x31906b,0x10,_0x59d7b4[0x2e]),_0x2ae8b1=_0x1013d2(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x30120d,0x17,_0x59d7b4[0x2f]),_0x4d760a=_0x12cc3b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x474732,0x6,_0x59d7b4[0x30]),_0x4f2ec8=_0x12cc3b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x20bf81,0xa,_0x59d7b4[0x31]),_0x1a7b21=_0x12cc3b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x555b88,0xf,_0x59d7b4[0x32]),_0x2ae8b1=_0x12cc3b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x537878,0x15,_0x59d7b4[0x33]),_0x4d760a=_0x12cc3b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x474412,0x6,_0x59d7b4[0x34]),_0x4f2ec8=_0x12cc3b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x488856,0xa,_0x59d7b4[0x35]),_0x1a7b21=_0x12cc3b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x544add,0xf,_0x59d7b4[0x36]),_0x2ae8b1=_0x12cc3b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x3b88ab,0x15,_0x59d7b4[0x37]),_0x4d760a=_0x12cc3b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x15e35d,0x6,_0x59d7b4[0x38]),_0x4f2ec8=_0x12cc3b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x31906b,0xa,_0x59d7b4[0x39]),_0x1a7b21=_0x12cc3b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a4c56,0xf,_0x59d7b4[0x3a]),_0x2ae8b1=_0x12cc3b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x5aa7e7,0x15,_0x59d7b4[0x3b]),_0x4d760a=_0x12cc3b(_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x21c4fa,0x6,_0x59d7b4[0x3c]),_0x4f2ec8=_0x12cc3b(_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x1a7b21,_0x161bfd,0xa,_0x59d7b4[0x3d]),_0x1a7b21=_0x12cc3b(_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x2ae8b1,_0x30120d,0xf,_0x59d7b4[0x3e]),_0x2ae8b1=_0x12cc3b(_0x2ae8b1,_0x1a7b21,_0x4f2ec8,_0x4d760a,_0x514906,0x15,_0x59d7b4[0x3f]),_0x3a404a[0x0]=_0x3a404a[0x0]+_0x4d760a|0x0,_0x3a404a[0x1]=_0x3a404a[0x1]+_0x2ae8b1|0x0,_0x3a404a[0x2]=_0x3a404a[0x2]+_0x1a7b21|0x0,_0x3a404a[0x3]=_0x3a404a[0x3]+_0x4f2ec8|0x0;},'_doFinalize':function(){var _0x3f6b84=_0x6a89cf,_0x587b79=this[_0x3f6b84(0x4cb)],_0x5f01ef=_0x587b79[_0x3f6b84(0x30d)],_0x1d69ce=this[_0x3f6b84(0x3b8)]*0x8,_0x14bbf4=_0x587b79[_0x3f6b84(0x4c3)]*0x8;_0x5f01ef[_0x14bbf4>>>0x5]|=0x80<<0x18-_0x14bbf4%0x20;var _0x5cab99=_0x21f3b3[_0x3f6b84(0x20f)](_0x1d69ce/0x100000000),_0x11369c=_0x1d69ce;_0x5f01ef[(_0x14bbf4+0x40>>>0x9<<0x4)+0xf]=(_0x5cab99<<0x8|_0x5cab99>>>0x18)&0xff00ff|(_0x5cab99<<0x18|_0x5cab99>>>0x8)&0xff00ff00,_0x5f01ef[(_0x14bbf4+0x40>>>0x9<<0x4)+0xe]=(_0x11369c<<0x8|_0x11369c>>>0x18)&0xff00ff|(_0x11369c<<0x18|_0x11369c>>>0x8)&0xff00ff00,_0x587b79[_0x3f6b84(0x4c3)]=(_0x5f01ef[_0x3f6b84(0x307)]+0x1)*0x4,this[_0x3f6b84(0x2df)]();for(var _0x5d7e15=this['_hash'],_0x1cdbdb=_0x5d7e15[_0x3f6b84(0x30d)],_0x3ea2a1=0x0;_0x3ea2a1<0x4;_0x3ea2a1++){var _0x4e1551=_0x1cdbdb[_0x3ea2a1];_0x1cdbdb[_0x3ea2a1]=(_0x4e1551<<0x8|_0x4e1551>>>0x18)&0xff00ff|(_0x4e1551<<0x18|_0x4e1551>>>0x8)&0xff00ff00;}return _0x5d7e15;},'clone':function(){var _0x1f084f=_0x6a89cf,_0x46b3a2=_0x562707['clone'][_0x1f084f(0x23d)](this);return _0x46b3a2[_0x1f084f(0x38c)]=this[_0x1f084f(0x38c)][_0x1f084f(0x4e2)](),_0x46b3a2;}});function _0x45366e(_0x1aded9,_0x2eb5ca,_0x5d0e68,_0x13ff4b,_0x421305,_0x1712ad,_0x52d2e9){var _0x206ff7=_0x1aded9+(_0x2eb5ca&_0x5d0e68|~_0x2eb5ca&_0x13ff4b)+_0x421305+_0x52d2e9;return(_0x206ff7<<_0x1712ad|_0x206ff7>>>0x20-_0x1712ad)+_0x2eb5ca;}function _0x567e2b(_0x2ea22a,_0x2a5c03,_0x3a62d4,_0x19783e,_0x392f84,_0x29f86e,_0x498569){var _0x4a7c1d=_0x2ea22a+(_0x2a5c03&_0x19783e|_0x3a62d4&~_0x19783e)+_0x392f84+_0x498569;return(_0x4a7c1d<<_0x29f86e|_0x4a7c1d>>>0x20-_0x29f86e)+_0x2a5c03;}function _0x1013d2(_0xab64cc,_0x31e227,_0x3ea837,_0x3b206c,_0x577529,_0x12fff6,_0x35e5f9){var _0x5dd2d9=_0xab64cc+(_0x31e227^_0x3ea837^_0x3b206c)+_0x577529+_0x35e5f9;return(_0x5dd2d9<<_0x12fff6|_0x5dd2d9>>>0x20-_0x12fff6)+_0x31e227;}function _0x12cc3b(_0x460be5,_0x11164e,_0x5df081,_0x5b7792,_0x538c5c,_0x5b8192,_0x362ced){var _0x4efd19=_0x460be5+(_0x5df081^(_0x11164e|~_0x5b7792))+_0x538c5c+_0x362ced;return(_0x4efd19<<_0x5b8192|_0x4efd19>>>0x20-_0x5b8192)+_0x11164e;}_0x541143['MD5']=_0x562707['_createHelper'](_0x12340f),_0x541143[_0x6a89cf(0x284)]=_0x562707[_0x6a89cf(0x3c0)](_0x12340f);}(Math),_0x2f9073[_0x2aa6c2(0x363)];}));}(_0x5ec732)),_0x5ec732[_0x4f82e4(0x523)];}var _0x3166b2={'exports':{}},_0x3f8942={'exports':{}},_0x56d242=_0x3f8942[_0x997d7(0x523)],_0x32e28e;function _0x289822(){return _0x32e28e||(_0x32e28e=0x1,function(_0x4b3f89,_0x328ac7){(function(_0x4e7699,_0x5c9337){var _0x7b16e2=_0x4ecd;_0x4b3f89[_0x7b16e2(0x523)]=_0x5c9337(_0x45d273());}(_0x56d242,function(_0x484afd){return(function(){var _0x856719=_0x4ecd,_0x432278=_0x484afd,_0x4302c5=_0x432278[_0x856719(0x3ff)],_0x47a8c3=_0x4302c5[_0x856719(0x466)],_0x225aa1=_0x4302c5[_0x856719(0x46c)],_0x531006=_0x432278['algo'],_0x51f9a4=[],_0xe26dc8=_0x531006['SHA1']=_0x225aa1['extend']({'_doReset':function(){var _0x33ffc9=_0x856719;this[_0x33ffc9(0x38c)]=new _0x47a8c3[(_0x33ffc9(0x369))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x40cfae,_0x16e7e5){var _0x139244=_0x856719;for(var _0x4389be=this[_0x139244(0x38c)][_0x139244(0x30d)],_0x1e562a=_0x4389be[0x0],_0x1abb99=_0x4389be[0x1],_0x5425d4=_0x4389be[0x2],_0x225f79=_0x4389be[0x3],_0x39816d=_0x4389be[0x4],_0xe49f0=0x0;_0xe49f0<0x50;_0xe49f0++){if(_0xe49f0<0x10)_0x51f9a4[_0xe49f0]=_0x40cfae[_0x16e7e5+_0xe49f0]|0x0;else{var _0x300133=_0x51f9a4[_0xe49f0-0x3]^_0x51f9a4[_0xe49f0-0x8]^_0x51f9a4[_0xe49f0-0xe]^_0x51f9a4[_0xe49f0-0x10];_0x51f9a4[_0xe49f0]=_0x300133<<0x1|_0x300133>>>0x1f;}var _0x2bb428=(_0x1e562a<<0x5|_0x1e562a>>>0x1b)+_0x39816d+_0x51f9a4[_0xe49f0];_0xe49f0<0x14?_0x2bb428+=(_0x1abb99&_0x5425d4|~_0x1abb99&_0x225f79)+0x5a827999:_0xe49f0<0x28?_0x2bb428+=(_0x1abb99^_0x5425d4^_0x225f79)+0x6ed9eba1:_0xe49f0<0x3c?_0x2bb428+=(_0x1abb99&_0x5425d4|_0x1abb99&_0x225f79|_0x5425d4&_0x225f79)-0x70e44324:_0x2bb428+=(_0x1abb99^_0x5425d4^_0x225f79)-0x359d3e2a,_0x39816d=_0x225f79,_0x225f79=_0x5425d4,_0x5425d4=_0x1abb99<<0x1e|_0x1abb99>>>0x2,_0x1abb99=_0x1e562a,_0x1e562a=_0x2bb428;}_0x4389be[0x0]=_0x4389be[0x0]+_0x1e562a|0x0,_0x4389be[0x1]=_0x4389be[0x1]+_0x1abb99|0x0,_0x4389be[0x2]=_0x4389be[0x2]+_0x5425d4|0x0,_0x4389be[0x3]=_0x4389be[0x3]+_0x225f79|0x0,_0x4389be[0x4]=_0x4389be[0x4]+_0x39816d|0x0;},'_doFinalize':function(){var _0x30274e=_0x856719,_0x2be16c=this['_data'],_0x4196ee=_0x2be16c[_0x30274e(0x30d)],_0x1c47e0=this[_0x30274e(0x3b8)]*0x8,_0x458afb=_0x2be16c[_0x30274e(0x4c3)]*0x8;return _0x4196ee[_0x458afb>>>0x5]|=0x80<<0x18-_0x458afb%0x20,_0x4196ee[(_0x458afb+0x40>>>0x9<<0x4)+0xe]=Math[_0x30274e(0x20f)](_0x1c47e0/0x100000000),_0x4196ee[(_0x458afb+0x40>>>0x9<<0x4)+0xf]=_0x1c47e0,_0x2be16c[_0x30274e(0x4c3)]=_0x4196ee[_0x30274e(0x307)]*0x4,this[_0x30274e(0x2df)](),this[_0x30274e(0x38c)];},'clone':function(){var _0x173502=_0x856719,_0x20fe5b=_0x225aa1[_0x173502(0x4e2)][_0x173502(0x23d)](this);return _0x20fe5b[_0x173502(0x38c)]=this[_0x173502(0x38c)][_0x173502(0x4e2)](),_0x20fe5b;}});_0x432278[_0x856719(0x43d)]=_0x225aa1[_0x856719(0x2de)](_0xe26dc8),_0x432278[_0x856719(0x22a)]=_0x225aa1['_createHmacHelper'](_0xe26dc8);}()),_0x484afd['SHA1'];}));}(_0x3f8942)),_0x3f8942['exports'];}var _0x389ad1={'exports':{}},_0x20bc14=_0x389ad1['exports'],_0xf8f1c0;function _0x4d828e(){return _0xf8f1c0||(_0xf8f1c0=0x1,function(_0x5cee00,_0xdac81c){(function(_0x2e1db6,_0x5bb6f0){var _0x365146=_0x4ecd;_0x5cee00[_0x365146(0x523)]=_0x5bb6f0(_0x45d273());}(_0x20bc14,function(_0x22273c){(function(){var _0x358c17=_0x4ecd,_0x3b9f8=_0x22273c,_0x1f6f6a=_0x3b9f8[_0x358c17(0x3ff)],_0x41e1cd=_0x1f6f6a[_0x358c17(0x413)],_0x350cca=_0x3b9f8['enc'],_0x15565f=_0x350cca[_0x358c17(0x3b6)],_0x381d1d=_0x3b9f8[_0x358c17(0x49c)];_0x381d1d[_0x358c17(0x465)]=_0x41e1cd['extend']({'init':function(_0x2916a4,_0x3cf25b){var _0x631dd=_0x358c17;_0x2916a4=this['_hasher']=new _0x2916a4[(_0x631dd(0x369))](),typeof _0x3cf25b==_0x631dd(0x2f0)&&(_0x3cf25b=_0x15565f[_0x631dd(0x487)](_0x3cf25b));var _0xe7811c=_0x2916a4[_0x631dd(0x488)],_0x5eb78c=_0xe7811c*0x4;_0x3cf25b['sigBytes']>_0x5eb78c&&(_0x3cf25b=_0x2916a4[_0x631dd(0x4a3)](_0x3cf25b)),_0x3cf25b['clamp']();for(var _0x2d889e=this[_0x631dd(0x222)]=_0x3cf25b[_0x631dd(0x4e2)](),_0x281e7a=this[_0x631dd(0x2db)]=_0x3cf25b['clone'](),_0x4f9bff=_0x2d889e['words'],_0x582289=_0x281e7a[_0x631dd(0x30d)],_0x328f69=0x0;_0x328f69<_0xe7811c;_0x328f69++)_0x4f9bff[_0x328f69]^=0x5c5c5c5c,_0x582289[_0x328f69]^=0x36363636;_0x2d889e[_0x631dd(0x4c3)]=_0x281e7a[_0x631dd(0x4c3)]=_0x5eb78c,this[_0x631dd(0x214)]();},'reset':function(){var _0x1cb8f9=_0x358c17,_0x3bd56c=this[_0x1cb8f9(0x4b7)];_0x3bd56c[_0x1cb8f9(0x214)](),_0x3bd56c[_0x1cb8f9(0x550)](this[_0x1cb8f9(0x2db)]);},'update':function(_0x53295c){var _0x2087f=_0x358c17;return this[_0x2087f(0x4b7)][_0x2087f(0x550)](_0x53295c),this;},'finalize':function(_0x5c4401){var _0x3bb3fd=_0x358c17,_0x2c67a3=this[_0x3bb3fd(0x4b7)],_0x583d2b=_0x2c67a3['finalize'](_0x5c4401);_0x2c67a3[_0x3bb3fd(0x214)]();var _0x32d0ea=_0x2c67a3['finalize'](this[_0x3bb3fd(0x222)][_0x3bb3fd(0x4e2)]()[_0x3bb3fd(0x4e1)](_0x583d2b));return _0x32d0ea;}});}());}));}(_0x389ad1)),_0x389ad1['exports'];}var _0x5e79b0=_0x3166b2[_0x997d7(0x523)],_0x50c53d;function _0x1c1feb(){return _0x50c53d||(_0x50c53d=0x1,function(_0x1a0ab3,_0x126a49){(function(_0x4f5f1e,_0x8db3a6,_0x4d5e4b){var _0x10eca7=_0x4ecd;_0x1a0ab3[_0x10eca7(0x523)]=_0x8db3a6(_0x45d273(),_0x289822(),_0x4d828e());}(_0x5e79b0,function(_0x5bb806){var _0x3c61d5=_0x4ecd;return(function(){var _0xa2e663=_0x4ecd,_0x45eced=_0x5bb806,_0x5aea21=_0x45eced['lib'],_0x4626fe=_0x5aea21[_0xa2e663(0x413)],_0x38277c=_0x5aea21[_0xa2e663(0x466)],_0x2ea8f2=_0x45eced[_0xa2e663(0x49c)],_0x1949b4=_0x2ea8f2[_0xa2e663(0x363)],_0x2a52c5=_0x2ea8f2[_0xa2e663(0x43f)]=_0x4626fe['extend']({'cfg':_0x4626fe[_0xa2e663(0x202)]({'keySize':0x80/0x20,'hasher':_0x1949b4,'iterations':0x1}),'init':function(_0x3b8a82){var _0x324830=_0xa2e663;this[_0x324830(0x566)]=this[_0x324830(0x566)]['extend'](_0x3b8a82);},'compute':function(_0x14cd7f,_0x573e64){var _0x25f0c3=_0xa2e663;for(var _0x5cb2f3,_0x35bf28=this[_0x25f0c3(0x566)],_0x5cd1a9=_0x35bf28['hasher'][_0x25f0c3(0x3e7)](),_0x11e4e2=_0x38277c[_0x25f0c3(0x3e7)](),_0xb37c8d=_0x11e4e2[_0x25f0c3(0x30d)],_0x1a5659=_0x35bf28[_0x25f0c3(0x215)],_0x139266=_0x35bf28[_0x25f0c3(0x2fa)];_0xb37c8d['length']<_0x1a5659;){_0x5cb2f3&&_0x5cd1a9[_0x25f0c3(0x550)](_0x5cb2f3),_0x5cb2f3=_0x5cd1a9[_0x25f0c3(0x550)](_0x14cd7f)[_0x25f0c3(0x4a3)](_0x573e64),_0x5cd1a9['reset']();for(var _0x46f33b=0x1;_0x46f33b<_0x139266;_0x46f33b++)_0x5cb2f3=_0x5cd1a9[_0x25f0c3(0x4a3)](_0x5cb2f3),_0x5cd1a9[_0x25f0c3(0x214)]();_0x11e4e2[_0x25f0c3(0x4e1)](_0x5cb2f3);}return _0x11e4e2['sigBytes']=_0x1a5659*0x4,_0x11e4e2;}});_0x45eced[_0xa2e663(0x43f)]=function(_0x208d6d,_0x1f7e42,_0x5939c2){var _0x5c5636=_0xa2e663;return _0x2a52c5[_0x5c5636(0x3e7)](_0x5939c2)[_0x5c5636(0x40c)](_0x208d6d,_0x1f7e42);};}()),_0x5bb806[_0x3c61d5(0x43f)];}));}(_0x3166b2)),_0x3166b2['exports'];}var _0xa3df45={'exports':{}},_0x282986=_0xa3df45[_0x997d7(0x523)],_0x22a4a9;function _0xe5b910(){var _0x34b1e2=_0x997d7;return _0x22a4a9||(_0x22a4a9=0x1,function(_0x3b7309,_0x2683a7){(function(_0x4ac4f0,_0x5d1882,_0x11fa7d){_0x3b7309['exports']=_0x5d1882(_0x45d273(),_0x1c1feb());}(_0x282986,function(_0x11a209){var _0x180f95=_0x4ecd;_0x11a209[_0x180f95(0x3ff)][_0x180f95(0x2be)]||function(_0x1fec6a){var _0x2847f3=_0x180f95,_0x153729=_0x11a209,_0x28885e=_0x153729[_0x2847f3(0x3ff)],_0x22c4a4=_0x28885e[_0x2847f3(0x413)],_0x351338=_0x28885e['WordArray'],_0x41d7f5=_0x28885e['BufferedBlockAlgorithm'],_0xa374d2=_0x153729['enc'];_0xa374d2[_0x2847f3(0x3b6)];var _0x1c275e=_0xa374d2[_0x2847f3(0x1e9)],_0x5685ce=_0x153729['algo'],_0x159fd4=_0x5685ce[_0x2847f3(0x43f)],_0x4d63b7=_0x28885e[_0x2847f3(0x2be)]=_0x41d7f5[_0x2847f3(0x202)]({'cfg':_0x22c4a4['extend'](),'createEncryptor':function(_0x34b077,_0x193af2){var _0x1f2dbb=_0x2847f3;return this[_0x1f2dbb(0x3e7)](this[_0x1f2dbb(0x24c)],_0x34b077,_0x193af2);},'createDecryptor':function(_0x46187f,_0x5f4555){var _0x2b5794=_0x2847f3;return this[_0x2b5794(0x3e7)](this[_0x2b5794(0x345)],_0x46187f,_0x5f4555);},'init':function(_0x391803,_0x2253da,_0x321056){var _0x90eb7=_0x2847f3;this[_0x90eb7(0x566)]=this[_0x90eb7(0x566)][_0x90eb7(0x202)](_0x321056),this[_0x90eb7(0x411)]=_0x391803,this[_0x90eb7(0x233)]=_0x2253da,this[_0x90eb7(0x214)]();},'reset':function(){var _0x4a10a9=_0x2847f3;_0x41d7f5[_0x4a10a9(0x214)][_0x4a10a9(0x23d)](this),this[_0x4a10a9(0x4fe)]();},'process':function(_0x1e9c46){var _0x2858fc=_0x2847f3;return this[_0x2858fc(0x51a)](_0x1e9c46),this[_0x2858fc(0x2df)]();},'finalize':function(_0x2ea426){var _0x2df93c=_0x2847f3;_0x2ea426&&this['_append'](_0x2ea426);var _0x212573=this[_0x2df93c(0x3c3)]();return _0x212573;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x51b826(_0x50bef4){return typeof _0x50bef4=='string'?_0x1da02e:_0x5b0ed2;}return function(_0x4f53eb){return{'encrypt':function(_0x140505,_0x1fe4e5,_0x1cf046){var _0x48f0f2=_0x4ecd;return _0x51b826(_0x1fe4e5)[_0x48f0f2(0x1eb)](_0x4f53eb,_0x140505,_0x1fe4e5,_0x1cf046);},'decrypt':function(_0x33df46,_0x4bbc9b,_0x13b769){var _0x21f937=_0x4ecd;return _0x51b826(_0x4bbc9b)[_0x21f937(0x444)](_0x4f53eb,_0x33df46,_0x4bbc9b,_0x13b769);}};};}())});_0x28885e[_0x2847f3(0x4aa)]=_0x4d63b7[_0x2847f3(0x202)]({'_doFinalize':function(){var _0x179a30=_0x2847f3,_0x263b11=this[_0x179a30(0x2df)](!0x0);return _0x263b11;},'blockSize':0x1});var _0x539243=_0x153729['mode']={},_0x110716=_0x28885e['BlockCipherMode']=_0x22c4a4[_0x2847f3(0x202)]({'createEncryptor':function(_0x58b12f,_0x28cf4e){var _0x1fd698=_0x2847f3;return this[_0x1fd698(0x531)][_0x1fd698(0x3e7)](_0x58b12f,_0x28cf4e);},'createDecryptor':function(_0x5b93c4,_0x33d9cb){var _0x4a44fa=_0x2847f3;return this['Decryptor'][_0x4a44fa(0x3e7)](_0x5b93c4,_0x33d9cb);},'init':function(_0x3a7704,_0x113170){var _0x344259=_0x2847f3;this['_cipher']=_0x3a7704,this[_0x344259(0x393)]=_0x113170;}}),_0x11f34c=_0x539243[_0x2847f3(0x501)]=(function(){var _0x3f0045=_0x2847f3,_0x302441=_0x110716['extend']();_0x302441[_0x3f0045(0x531)]=_0x302441['extend']({'processBlock':function(_0x2b1750,_0x457cee){var _0x52a310=_0x3f0045,_0x49239c=this[_0x52a310(0x376)],_0x4101c3=_0x49239c['blockSize'];_0x269631[_0x52a310(0x23d)](this,_0x2b1750,_0x457cee,_0x4101c3),_0x49239c[_0x52a310(0x49a)](_0x2b1750,_0x457cee),this[_0x52a310(0x2f4)]=_0x2b1750[_0x52a310(0x3c4)](_0x457cee,_0x457cee+_0x4101c3);}}),_0x302441[_0x3f0045(0x387)]=_0x302441[_0x3f0045(0x202)]({'processBlock':function(_0xd7d115,_0x139160){var _0x13269b=_0x3f0045,_0x58b2d8=this[_0x13269b(0x376)],_0x1d82d7=_0x58b2d8[_0x13269b(0x488)],_0x22d259=_0xd7d115[_0x13269b(0x3c4)](_0x139160,_0x139160+_0x1d82d7);_0x58b2d8[_0x13269b(0x54f)](_0xd7d115,_0x139160),_0x269631[_0x13269b(0x23d)](this,_0xd7d115,_0x139160,_0x1d82d7),this[_0x13269b(0x2f4)]=_0x22d259;}});function _0x269631(_0x4710c5,_0x49ed55,_0x68ebe8){var _0x6306da=_0x3f0045,_0x2f1587,_0x5b393e=this['_iv'];_0x5b393e?(_0x2f1587=_0x5b393e,this[_0x6306da(0x393)]=_0x1fec6a):_0x2f1587=this[_0x6306da(0x2f4)];for(var _0x205658=0x0;_0x205658<_0x68ebe8;_0x205658++)_0x4710c5[_0x49ed55+_0x205658]^=_0x2f1587[_0x205658];}return _0x302441;}()),_0x5beb2b=_0x153729[_0x2847f3(0x577)]={},_0x1646e9=_0x5beb2b['Pkcs7']={'pad':function(_0xff2cdd,_0x3c2885){var _0x174f1e=_0x2847f3;for(var _0x3467d7=_0x3c2885*0x4,_0x201c2f=_0x3467d7-_0xff2cdd[_0x174f1e(0x4c3)]%_0x3467d7,_0x131c70=_0x201c2f<<0x18|_0x201c2f<<0x10|_0x201c2f<<0x8|_0x201c2f,_0x50d50a=[],_0x351d11=0x0;_0x351d11<_0x201c2f;_0x351d11+=0x4)_0x50d50a[_0x174f1e(0x3f6)](_0x131c70);var _0xde456e=_0x351338[_0x174f1e(0x3e7)](_0x50d50a,_0x201c2f);_0xff2cdd[_0x174f1e(0x4e1)](_0xde456e);},'unpad':function(_0x2498ef){var _0x37dd94=_0x2847f3,_0x271fbe=_0x2498ef[_0x37dd94(0x30d)][_0x2498ef[_0x37dd94(0x4c3)]-0x1>>>0x2]&0xff;_0x2498ef[_0x37dd94(0x4c3)]-=_0x271fbe;}};_0x28885e['BlockCipher']=_0x4d63b7[_0x2847f3(0x202)]({'cfg':_0x4d63b7[_0x2847f3(0x566)][_0x2847f3(0x202)]({'mode':_0x11f34c,'padding':_0x1646e9}),'reset':function(){var _0x347363=_0x2847f3,_0x239e92;_0x4d63b7[_0x347363(0x214)][_0x347363(0x23d)](this);var _0x57f4b4=this[_0x347363(0x566)],_0x1b608a=_0x57f4b4['iv'],_0x1dd7ff=_0x57f4b4['mode'];this['_xformMode']==this[_0x347363(0x24c)]?_0x239e92=_0x1dd7ff[_0x347363(0x39e)]:(_0x239e92=_0x1dd7ff[_0x347363(0x4e9)],this[_0x347363(0x470)]=0x1),this['_mode']&&this[_0x347363(0x547)][_0x347363(0x3b3)]==_0x239e92?this[_0x347363(0x547)][_0x347363(0x369)](this,_0x1b608a&&_0x1b608a[_0x347363(0x30d)]):(this[_0x347363(0x547)]=_0x239e92[_0x347363(0x23d)](_0x1dd7ff,this,_0x1b608a&&_0x1b608a[_0x347363(0x30d)]),this['_mode'][_0x347363(0x3b3)]=_0x239e92);},'_doProcessBlock':function(_0x5a1d1e,_0x344b0a){var _0x3e9d54=_0x2847f3;this[_0x3e9d54(0x547)][_0x3e9d54(0x474)](_0x5a1d1e,_0x344b0a);},'_doFinalize':function(){var _0x28f54d=_0x2847f3,_0x1979f6,_0x296243=this[_0x28f54d(0x566)][_0x28f54d(0x50f)];return this[_0x28f54d(0x411)]==this[_0x28f54d(0x24c)]?(_0x296243[_0x28f54d(0x577)](this[_0x28f54d(0x4cb)],this[_0x28f54d(0x488)]),_0x1979f6=this[_0x28f54d(0x2df)](!0x0)):(_0x1979f6=this[_0x28f54d(0x2df)](!0x0),_0x296243['unpad'](_0x1979f6)),_0x1979f6;},'blockSize':0x80/0x20});var _0x56644c=_0x28885e['CipherParams']=_0x22c4a4[_0x2847f3(0x202)]({'init':function(_0x18710f){var _0x34c9bf=_0x2847f3;this[_0x34c9bf(0x24f)](_0x18710f);},'toString':function(_0x48e118){var _0x7d4161=_0x2847f3;return(_0x48e118||this['formatter'])[_0x7d4161(0x22d)](this);}}),_0x187bf3=_0x153729[_0x2847f3(0x4ab)]={},_0x2663fe=_0x187bf3[_0x2847f3(0x2d8)]={'stringify':function(_0x48d6c6){var _0x5c3e24=_0x2847f3,_0x1217de,_0x5d3d8a=_0x48d6c6['ciphertext'],_0x17a623=_0x48d6c6[_0x5c3e24(0x4b0)];return _0x17a623?_0x1217de=_0x351338[_0x5c3e24(0x3e7)]([0x53616c74,0x65645f5f])[_0x5c3e24(0x4e1)](_0x17a623)[_0x5c3e24(0x4e1)](_0x5d3d8a):_0x1217de=_0x5d3d8a,_0x1217de[_0x5c3e24(0x3a6)](_0x1c275e);},'parse':function(_0x28bc48){var _0x5706fe=_0x2847f3,_0x437941,_0x307954=_0x1c275e['parse'](_0x28bc48),_0x59a54b=_0x307954['words'];return _0x59a54b[0x0]==0x53616c74&&_0x59a54b[0x1]==0x65645f5f&&(_0x437941=_0x351338['create'](_0x59a54b[_0x5706fe(0x3c4)](0x2,0x4)),_0x59a54b[_0x5706fe(0x425)](0x0,0x4),_0x307954[_0x5706fe(0x4c3)]-=0x10),_0x56644c['create']({'ciphertext':_0x307954,'salt':_0x437941});}},_0x5b0ed2=_0x28885e[_0x2847f3(0x209)]=_0x22c4a4[_0x2847f3(0x202)]({'cfg':_0x22c4a4[_0x2847f3(0x202)]({'format':_0x2663fe}),'encrypt':function(_0x547fb3,_0x3986d7,_0x617bcd,_0x2a6d35){var _0x543594=_0x2847f3;_0x2a6d35=this['cfg'][_0x543594(0x202)](_0x2a6d35);var _0x5c4d04=_0x547fb3[_0x543594(0x39e)](_0x617bcd,_0x2a6d35),_0x4a4fce=_0x5c4d04[_0x543594(0x4a3)](_0x3986d7),_0x4b5d75=_0x5c4d04[_0x543594(0x566)];return _0x56644c[_0x543594(0x3e7)]({'ciphertext':_0x4a4fce,'key':_0x617bcd,'iv':_0x4b5d75['iv'],'algorithm':_0x547fb3,'mode':_0x4b5d75[_0x543594(0x20c)],'padding':_0x4b5d75[_0x543594(0x50f)],'blockSize':_0x547fb3[_0x543594(0x488)],'formatter':_0x2a6d35[_0x543594(0x4ab)]});},'decrypt':function(_0xaf4d1a,_0x39b3a7,_0x231397,_0x2bf52e){var _0x3134d6=_0x2847f3;_0x2bf52e=this[_0x3134d6(0x566)][_0x3134d6(0x202)](_0x2bf52e),_0x39b3a7=this[_0x3134d6(0x1fd)](_0x39b3a7,_0x2bf52e[_0x3134d6(0x4ab)]);var _0x1c538b=_0xaf4d1a[_0x3134d6(0x4e9)](_0x231397,_0x2bf52e)[_0x3134d6(0x4a3)](_0x39b3a7[_0x3134d6(0x35b)]);return _0x1c538b;},'_parse':function(_0x1ee63a,_0x7a71d6){var _0x3410db=_0x2847f3;return typeof _0x1ee63a==_0x3410db(0x2f0)?_0x7a71d6[_0x3410db(0x487)](_0x1ee63a,this):_0x1ee63a;}}),_0x19075d=_0x153729['kdf']={},_0x1aa61c=_0x19075d[_0x2847f3(0x2d8)]={'execute':function(_0x5b55fa,_0x2b3fd8,_0x385c93,_0x3dd661,_0x29ae2b){var _0x8f5a64=_0x2847f3;if(_0x3dd661||(_0x3dd661=_0x351338[_0x8f5a64(0x4ad)](0x40/0x8)),_0x29ae2b)var _0x1f87ab=_0x159fd4[_0x8f5a64(0x3e7)]({'keySize':_0x2b3fd8+_0x385c93,'hasher':_0x29ae2b})[_0x8f5a64(0x40c)](_0x5b55fa,_0x3dd661);else var _0x1f87ab=_0x159fd4['create']({'keySize':_0x2b3fd8+_0x385c93})[_0x8f5a64(0x40c)](_0x5b55fa,_0x3dd661);var _0x2a8467=_0x351338[_0x8f5a64(0x3e7)](_0x1f87ab['words']['slice'](_0x2b3fd8),_0x385c93*0x4);return _0x1f87ab['sigBytes']=_0x2b3fd8*0x4,_0x56644c[_0x8f5a64(0x3e7)]({'key':_0x1f87ab,'iv':_0x2a8467,'salt':_0x3dd661});}},_0x1da02e=_0x28885e[_0x2847f3(0x372)]=_0x5b0ed2['extend']({'cfg':_0x5b0ed2['cfg']['extend']({'kdf':_0x1aa61c}),'encrypt':function(_0x6997d4,_0x158dd0,_0x272472,_0x4335af){var _0x34d463=_0x2847f3;_0x4335af=this[_0x34d463(0x566)]['extend'](_0x4335af);var _0x5c5919=_0x4335af[_0x34d463(0x538)]['execute'](_0x272472,_0x6997d4['keySize'],_0x6997d4[_0x34d463(0x3c5)],_0x4335af['salt'],_0x4335af[_0x34d463(0x45f)]);_0x4335af['iv']=_0x5c5919['iv'];var _0x491528=_0x5b0ed2[_0x34d463(0x1eb)][_0x34d463(0x23d)](this,_0x6997d4,_0x158dd0,_0x5c5919['key'],_0x4335af);return _0x491528['mixIn'](_0x5c5919),_0x491528;},'decrypt':function(_0x5a0e5b,_0x345f83,_0x2e90fd,_0x14742a){var _0x4a0291=_0x2847f3;_0x14742a=this[_0x4a0291(0x566)][_0x4a0291(0x202)](_0x14742a),_0x345f83=this[_0x4a0291(0x1fd)](_0x345f83,_0x14742a[_0x4a0291(0x4ab)]);var _0x80c04e=_0x14742a[_0x4a0291(0x538)][_0x4a0291(0x316)](_0x2e90fd,_0x5a0e5b['keySize'],_0x5a0e5b[_0x4a0291(0x3c5)],_0x345f83['salt'],_0x14742a[_0x4a0291(0x45f)]);_0x14742a['iv']=_0x80c04e['iv'];var _0x1e5efe=_0x5b0ed2[_0x4a0291(0x444)][_0x4a0291(0x23d)](this,_0x5a0e5b,_0x345f83,_0x80c04e[_0x4a0291(0x42e)],_0x14742a);return _0x1e5efe;}});}();}));}(_0xa3df45)),_0xa3df45[_0x34b1e2(0x523)];}var _0x289dc5=_0x367d61[_0x997d7(0x523)],_0x1927fd;function _0x2082ca(){var _0x1c2f27=_0x997d7;return _0x1927fd||(_0x1927fd=0x1,function(_0x467ee0,_0x5a8fe8){(function(_0x4dee76,_0x19de02,_0x5d653d){var _0x357353=_0x4ecd;_0x467ee0[_0x357353(0x523)]=_0x19de02(_0x45d273(),_0x12cba4(),_0x1a8182(),_0x1c1feb(),_0xe5b910());}(_0x289dc5,function(_0x4d8da5){var _0x5acecc=_0x4ecd;return(function(){var _0x17ab2d=_0x4ecd,_0x1aae6f=_0x4d8da5,_0x5d5acf=_0x1aae6f['lib'],_0x21f724=_0x5d5acf[_0x17ab2d(0x3bb)],_0x55252d=_0x1aae6f[_0x17ab2d(0x49c)],_0x160ee1=[],_0x4265e5=[],_0x5946dc=[],_0xc765b1=[],_0x64a963=[],_0x324b79=[],_0x267aaa=[],_0x58107b=[],_0x53d99f=[],_0x6d1b9c=[];(function(){for(var _0x429bdb=[],_0x522d8e=0x0;_0x522d8e<0x100;_0x522d8e++)_0x522d8e<0x80?_0x429bdb[_0x522d8e]=_0x522d8e<<0x1:_0x429bdb[_0x522d8e]=_0x522d8e<<0x1^0x11b;for(var _0x4bafb0=0x0,_0x499ee0=0x0,_0x522d8e=0x0;_0x522d8e<0x100;_0x522d8e++){var _0x5d931c=_0x499ee0^_0x499ee0<<0x1^_0x499ee0<<0x2^_0x499ee0<<0x3^_0x499ee0<<0x4;_0x5d931c=_0x5d931c>>>0x8^_0x5d931c&0xff^0x63,_0x160ee1[_0x4bafb0]=_0x5d931c,_0x4265e5[_0x5d931c]=_0x4bafb0;var _0x388906=_0x429bdb[_0x4bafb0],_0x40c27a=_0x429bdb[_0x388906],_0x183c39=_0x429bdb[_0x40c27a],_0x4bbb96=_0x429bdb[_0x5d931c]*0x101^_0x5d931c*0x1010100;_0x5946dc[_0x4bafb0]=_0x4bbb96<<0x18|_0x4bbb96>>>0x8,_0xc765b1[_0x4bafb0]=_0x4bbb96<<0x10|_0x4bbb96>>>0x10,_0x64a963[_0x4bafb0]=_0x4bbb96<<0x8|_0x4bbb96>>>0x18,_0x324b79[_0x4bafb0]=_0x4bbb96;var _0x4bbb96=_0x183c39*0x1010101^_0x40c27a*0x10001^_0x388906*0x101^_0x4bafb0*0x1010100;_0x267aaa[_0x5d931c]=_0x4bbb96<<0x18|_0x4bbb96>>>0x8,_0x58107b[_0x5d931c]=_0x4bbb96<<0x10|_0x4bbb96>>>0x10,_0x53d99f[_0x5d931c]=_0x4bbb96<<0x8|_0x4bbb96>>>0x18,_0x6d1b9c[_0x5d931c]=_0x4bbb96,_0x4bafb0?(_0x4bafb0=_0x388906^_0x429bdb[_0x429bdb[_0x429bdb[_0x183c39^_0x388906]]],_0x499ee0^=_0x429bdb[_0x429bdb[_0x499ee0]]):_0x4bafb0=_0x499ee0=0x1;}}());var _0x50adbf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xb14b98=_0x55252d[_0x17ab2d(0x4af)]=_0x21f724[_0x17ab2d(0x202)]({'_doReset':function(){var _0x420f6c=_0x17ab2d,_0x4c969a;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x8cb025=this[_0x420f6c(0x2cf)]=this[_0x420f6c(0x233)],_0x1f88b5=_0x8cb025['words'],_0x51c4d6=_0x8cb025[_0x420f6c(0x4c3)]/0x4,_0x1422c3=this['_nRounds']=_0x51c4d6+0x6,_0x5103ef=(_0x1422c3+0x1)*0x4,_0x419ff8=this['_keySchedule']=[],_0x2002f6=0x0;_0x2002f6<_0x5103ef;_0x2002f6++)_0x2002f6<_0x51c4d6?_0x419ff8[_0x2002f6]=_0x1f88b5[_0x2002f6]:(_0x4c969a=_0x419ff8[_0x2002f6-0x1],_0x2002f6%_0x51c4d6?_0x51c4d6>0x6&&_0x2002f6%_0x51c4d6==0x4&&(_0x4c969a=_0x160ee1[_0x4c969a>>>0x18]<<0x18|_0x160ee1[_0x4c969a>>>0x10&0xff]<<0x10|_0x160ee1[_0x4c969a>>>0x8&0xff]<<0x8|_0x160ee1[_0x4c969a&0xff]):(_0x4c969a=_0x4c969a<<0x8|_0x4c969a>>>0x18,_0x4c969a=_0x160ee1[_0x4c969a>>>0x18]<<0x18|_0x160ee1[_0x4c969a>>>0x10&0xff]<<0x10|_0x160ee1[_0x4c969a>>>0x8&0xff]<<0x8|_0x160ee1[_0x4c969a&0xff],_0x4c969a^=_0x50adbf[_0x2002f6/_0x51c4d6|0x0]<<0x18),_0x419ff8[_0x2002f6]=_0x419ff8[_0x2002f6-_0x51c4d6]^_0x4c969a);for(var _0x221a96=this['_invKeySchedule']=[],_0x341846=0x0;_0x341846<_0x5103ef;_0x341846++){var _0x2002f6=_0x5103ef-_0x341846;if(_0x341846%0x4)var _0x4c969a=_0x419ff8[_0x2002f6];else var _0x4c969a=_0x419ff8[_0x2002f6-0x4];_0x341846<0x4||_0x2002f6<=0x4?_0x221a96[_0x341846]=_0x4c969a:_0x221a96[_0x341846]=_0x267aaa[_0x160ee1[_0x4c969a>>>0x18]]^_0x58107b[_0x160ee1[_0x4c969a>>>0x10&0xff]]^_0x53d99f[_0x160ee1[_0x4c969a>>>0x8&0xff]]^_0x6d1b9c[_0x160ee1[_0x4c969a&0xff]];}}},'encryptBlock':function(_0x383559,_0x441ced){var _0x35ca9f=_0x17ab2d;this[_0x35ca9f(0x3fc)](_0x383559,_0x441ced,this[_0x35ca9f(0x41a)],_0x5946dc,_0xc765b1,_0x64a963,_0x324b79,_0x160ee1);},'decryptBlock':function(_0x5b11e7,_0xccdddc){var _0x348a5c=_0x17ab2d,_0x20f16e=_0x5b11e7[_0xccdddc+0x1];_0x5b11e7[_0xccdddc+0x1]=_0x5b11e7[_0xccdddc+0x3],_0x5b11e7[_0xccdddc+0x3]=_0x20f16e,this[_0x348a5c(0x3fc)](_0x5b11e7,_0xccdddc,this[_0x348a5c(0x21d)],_0x267aaa,_0x58107b,_0x53d99f,_0x6d1b9c,_0x4265e5);var _0x20f16e=_0x5b11e7[_0xccdddc+0x1];_0x5b11e7[_0xccdddc+0x1]=_0x5b11e7[_0xccdddc+0x3],_0x5b11e7[_0xccdddc+0x3]=_0x20f16e;},'_doCryptBlock':function(_0x49bddb,_0x1bcb99,_0x42b8ea,_0x26e1f5,_0x1c0650,_0x2e030d,_0x8559d3,_0x264260){var _0x34a47d=_0x17ab2d;for(var _0x2ab194=this[_0x34a47d(0x3cd)],_0x1aad28=_0x49bddb[_0x1bcb99]^_0x42b8ea[0x0],_0xc921bd=_0x49bddb[_0x1bcb99+0x1]^_0x42b8ea[0x1],_0x1d7dbd=_0x49bddb[_0x1bcb99+0x2]^_0x42b8ea[0x2],_0x1c620f=_0x49bddb[_0x1bcb99+0x3]^_0x42b8ea[0x3],_0x22a142=0x4,_0x4c5174=0x1;_0x4c5174<_0x2ab194;_0x4c5174++){var _0x5031e9=_0x26e1f5[_0x1aad28>>>0x18]^_0x1c0650[_0xc921bd>>>0x10&0xff]^_0x2e030d[_0x1d7dbd>>>0x8&0xff]^_0x8559d3[_0x1c620f&0xff]^_0x42b8ea[_0x22a142++],_0x444f46=_0x26e1f5[_0xc921bd>>>0x18]^_0x1c0650[_0x1d7dbd>>>0x10&0xff]^_0x2e030d[_0x1c620f>>>0x8&0xff]^_0x8559d3[_0x1aad28&0xff]^_0x42b8ea[_0x22a142++],_0xeef4e9=_0x26e1f5[_0x1d7dbd>>>0x18]^_0x1c0650[_0x1c620f>>>0x10&0xff]^_0x2e030d[_0x1aad28>>>0x8&0xff]^_0x8559d3[_0xc921bd&0xff]^_0x42b8ea[_0x22a142++],_0x342545=_0x26e1f5[_0x1c620f>>>0x18]^_0x1c0650[_0x1aad28>>>0x10&0xff]^_0x2e030d[_0xc921bd>>>0x8&0xff]^_0x8559d3[_0x1d7dbd&0xff]^_0x42b8ea[_0x22a142++];_0x1aad28=_0x5031e9,_0xc921bd=_0x444f46,_0x1d7dbd=_0xeef4e9,_0x1c620f=_0x342545;}var _0x5031e9=(_0x264260[_0x1aad28>>>0x18]<<0x18|_0x264260[_0xc921bd>>>0x10&0xff]<<0x10|_0x264260[_0x1d7dbd>>>0x8&0xff]<<0x8|_0x264260[_0x1c620f&0xff])^_0x42b8ea[_0x22a142++],_0x444f46=(_0x264260[_0xc921bd>>>0x18]<<0x18|_0x264260[_0x1d7dbd>>>0x10&0xff]<<0x10|_0x264260[_0x1c620f>>>0x8&0xff]<<0x8|_0x264260[_0x1aad28&0xff])^_0x42b8ea[_0x22a142++],_0xeef4e9=(_0x264260[_0x1d7dbd>>>0x18]<<0x18|_0x264260[_0x1c620f>>>0x10&0xff]<<0x10|_0x264260[_0x1aad28>>>0x8&0xff]<<0x8|_0x264260[_0xc921bd&0xff])^_0x42b8ea[_0x22a142++],_0x342545=(_0x264260[_0x1c620f>>>0x18]<<0x18|_0x264260[_0x1aad28>>>0x10&0xff]<<0x10|_0x264260[_0xc921bd>>>0x8&0xff]<<0x8|_0x264260[_0x1d7dbd&0xff])^_0x42b8ea[_0x22a142++];_0x49bddb[_0x1bcb99]=_0x5031e9,_0x49bddb[_0x1bcb99+0x1]=_0x444f46,_0x49bddb[_0x1bcb99+0x2]=_0xeef4e9,_0x49bddb[_0x1bcb99+0x3]=_0x342545;},'keySize':0x100/0x20});_0x1aae6f[_0x17ab2d(0x4af)]=_0x21f724[_0x17ab2d(0x2de)](_0xb14b98);}()),_0x4d8da5[_0x5acecc(0x4af)];}));}(_0x367d61)),_0x367d61[_0x1c2f27(0x523)];}var _0x4c6de9=_0x2082ca();const _0x41beb7=_0x574301(_0x4c6de9);var _0x396354=_0x12cba4();const _0x136bf4=_0x574301(_0x396354);var _0x1fdb87={'exports':{}},_0x1c40f5=_0x1fdb87[_0x997d7(0x523)],_0x1e1a45;function _0x3630c2(){return _0x1e1a45||(_0x1e1a45=0x1,function(_0x3c66fc,_0x5ccbb2){(function(_0x410477,_0x1f6c35){var _0x3199a7=_0x4ecd;_0x3c66fc[_0x3199a7(0x523)]=_0x1f6c35(_0x45d273());}(_0x1c40f5,function(_0x520066){var _0xa5f4e7=_0x4ecd;return _0x520066[_0xa5f4e7(0x2f2)][_0xa5f4e7(0x3b6)];}));}(_0x1fdb87)),_0x1fdb87['exports'];}var _0x5adb6b=_0x3630c2();const _0xbc6c15=_0x574301(_0x5adb6b);var _0x105091={'exports':{}},_0xe5ab3=_0x105091[_0x997d7(0x523)],_0x921f70;function _0x462879(){var _0x562919=_0x997d7;return _0x921f70||(_0x921f70=0x1,function(_0x318948,_0x454f03){(function(_0x20b946,_0x244c05){var _0x127d4a=_0x4ecd;_0x318948[_0x127d4a(0x523)]=_0x244c05(_0x45d273());}(_0xe5ab3,function(_0x4dc504){var _0x3ad3f1=_0x4ecd;return(function(){var _0x51a3cf=_0x4ecd;if(typeof ArrayBuffer==_0x51a3cf(0x29c)){var _0x599523=_0x4dc504,_0x1e8f15=_0x599523['lib'],_0x53e73d=_0x1e8f15[_0x51a3cf(0x466)],_0xb4e44f=_0x53e73d['init'],_0x5d19e6=_0x53e73d[_0x51a3cf(0x369)]=function(_0x4d60a3){var _0x437f0a=_0x51a3cf;if(_0x4d60a3 instanceof ArrayBuffer&&(_0x4d60a3=new Uint8Array(_0x4d60a3)),(_0x4d60a3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4d60a3 instanceof Uint8ClampedArray||_0x4d60a3 instanceof Int16Array||_0x4d60a3 instanceof Uint16Array||_0x4d60a3 instanceof Int32Array||_0x4d60a3 instanceof Uint32Array||_0x4d60a3 instanceof Float32Array||_0x4d60a3 instanceof Float64Array)&&(_0x4d60a3=new Uint8Array(_0x4d60a3[_0x437f0a(0x2c4)],_0x4d60a3['byteOffset'],_0x4d60a3[_0x437f0a(0x2b0)])),_0x4d60a3 instanceof Uint8Array){for(var _0x30418b=_0x4d60a3[_0x437f0a(0x2b0)],_0x3c6141=[],_0x2150df=0x0;_0x2150df<_0x30418b;_0x2150df++)_0x3c6141[_0x2150df>>>0x2]|=_0x4d60a3[_0x2150df]<<0x18-_0x2150df%0x4*0x8;_0xb4e44f[_0x437f0a(0x23d)](this,_0x3c6141,_0x30418b);}else _0xb4e44f[_0x437f0a(0x493)](this,arguments);};_0x5d19e6[_0x51a3cf(0x236)]=_0x53e73d;}}()),_0x4dc504['lib'][_0x3ad3f1(0x466)];}));}(_0x105091)),_0x105091[_0x562919(0x523)];}var _0x2a0005=_0x462879();const _0x4f629c=_0x574301(_0x2a0005);var _0x1c5410={'exports':{}},_0x21dd33=_0x1c5410[_0x997d7(0x523)],_0x2715b0;function _0x11338a(){return _0x2715b0||(_0x2715b0=0x1,function(_0x444b70,_0x238b4f){(function(_0x4765ae,_0x36c338,_0x4c3ae9){var _0x3a553f=_0x4ecd;_0x444b70[_0x3a553f(0x523)]=_0x36c338(_0x45d273(),_0xe5b910());}(_0x21dd33,function(_0x2e42cf){var _0x58f6ca=_0x4ecd;return _0x2e42cf[_0x58f6ca(0x577)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2e42cf[_0x58f6ca(0x577)][_0x58f6ca(0x2b4)];}));}(_0x1c5410)),_0x1c5410['exports'];}var _0xc0afa8=_0x11338a();const _0x136663=_0x574301(_0xc0afa8);function _0x216cbb(_0x44f16f,_0x5d5ebd){var _0x346580=_0x997d7;const _0x330ff0=_0x5d5ebd-_0x44f16f[_0x346580(0x307)]%_0x5d5ebd,_0x56af14=String[_0x346580(0x318)](_0x330ff0)[_0x346580(0x514)](_0x330ff0);return _0x44f16f+_0x56af14;}function _0x5d2891(_0x56c424,_0x5cbef4){var _0x323b96=_0x997d7;const _0x21a752=_0x4f629c[_0x323b96(0x4ad)](0x10),_0xb43dcd=_0x216cbb(_0x56c424,0x10),_0x39255f=_0x41beb7['encrypt'](_0xbc6c15[_0x323b96(0x487)](_0xb43dcd),_0x136bf4[_0x323b96(0x487)](_0x5cbef4),{'iv':_0x21a752,'padding':_0x136663});return _0x21a752['concat'](_0x39255f[_0x323b96(0x35b)])[_0x323b96(0x3a6)](_0x136bf4);}function _0x52f6dd(){var _0x28fd47=_0x997d7;const _0x550878=_0x480ca8[_0x28fd47(0x548)]()['__Key__'];if(_0x550878){const _0x1cc67e={'time':Math[_0x28fd47(0x20f)](Date[_0x28fd47(0x554)]()/0x3e8),'domain':location[_0x28fd47(0x3e5)]};return _0x5d2891(JSON[_0x28fd47(0x22d)](_0x1cc67e),_0x550878);}}var _0x6fcaa8=Object[_0x997d7(0x539)],_0x1b12f2=(_0x94aea7,_0xdec25f,_0x29c159,_0x4c3894)=>{var _0x1497e2=_0x997d7;for(var _0x2fefc8=_0x4c3894>0x1?void 0x0:_0x4c3894?_0x6fcaa8(_0xdec25f,_0x29c159):_0xdec25f,_0x160bc3=_0x94aea7[_0x1497e2(0x307)]-0x1,_0x50e9fa;_0x160bc3>=0x0;_0x160bc3--)(_0x50e9fa=_0x94aea7[_0x160bc3])&&(_0x2fefc8=_0x50e9fa(_0x2fefc8)||_0x2fefc8);return _0x2fefc8;},_0x5ce86b=(_0xeb3c6a,_0x1a1547)=>(_0x579574,_0x340340)=>_0x1a1547(_0x579574,_0x340340,_0xeb3c6a);let _0x4417fe=class{constructor(_0x497343){var _0x1c0d8f=_0x997d7;this[_0x1c0d8f(0x3f4)]=_0x497343,this[_0x1c0d8f(0x544)]();}[_0x997d7(0x544)](){var _0x170aa2=_0x997d7;this[_0x170aa2(0x3f4)]['registerHTTPInterceptor']({'interceptor':(_0x1a433c,_0x1f1ec4)=>{var _0x239214=_0x170aa2;const _0x8ba26b=_0x1a433c[_0x239214(0x1f0)],_0x4e4300=_0x52f6dd();return _0x4e4300&&_0x8ba26b['set'](_0x239214(0x2d2),_0x4e4300),_0x1f1ec4(_0x1a433c);}});}};_0x4417fe=_0x1b12f2([_0x5ce86b(0x0,_0x29a664[_0x997d7(0x346)](_0x200e90['HTTPService']))],_0x4417fe);var _0x3076f9=Object[_0x997d7(0x539)],_0x865346=(_0x16a038,_0x1fbc86,_0x156257,_0x43b1b7)=>{var _0x17f1a3=_0x997d7;for(var _0x4ce736=_0x43b1b7>0x1?void 0x0:_0x43b1b7?_0x3076f9(_0x1fbc86,_0x156257):_0x1fbc86,_0x4b29f5=_0x16a038[_0x17f1a3(0x307)]-0x1,_0x2353d2;_0x4b29f5>=0x0;_0x4b29f5--)(_0x2353d2=_0x16a038[_0x4b29f5])&&(_0x4ce736=_0x2353d2(_0x4ce736)||_0x4ce736);return _0x4ce736;},_0x4e8cc0=(_0xcb9d45,_0x1268ad)=>(_0x1e5f57,_0x73ebba)=>_0x1268ad(_0x1e5f57,_0x73ebba,_0xcb9d45);_0x36d18b[_0x997d7(0x52a)]=class extends _0x29a664[_0x997d7(0x330)]{constructor(_0x19d8ac,_0x43261e,_0x205c85){var _0x414366=_0x997d7;super(),_0x260f1e(this,_0x414366(0x433),new _0x32c204[(_0x414366(0x4be))](null)),_0x260f1e(this,_0x414366(0x29a),this['_unitInfo$'][_0x414366(0x313)]()),(this[_0x414366(0x221)]=_0x19d8ac,this['_snapshotService']=_0x43261e,this['_localCacheService']=_0x205c85);}async[_0x997d7(0x323)](_0x3018a4,_0x26b990,_0x3761b7){var _0xcff606=_0x997d7;this['_unitInfo$'][_0xcff606(0x476)]({'unitId':_0x3018a4,'type':_0x26b990});let _0x59b53c=null;switch(_0x26b990){case _0x60f00c[_0xcff606(0x4c5)]:{_0x59b53c=await this['_snapshotService'][_0xcff606(0x226)](_0x3018a4,_0x3761b7);break;}case _0x60f00c[_0xcff606(0x47c)]:{_0x59b53c=await this[_0xcff606(0x54d)][_0xcff606(0x551)](_0x3018a4,_0x3761b7);break;}default:{this[_0xcff606(0x221)][_0xcff606(0x4ee)]('[DataLoaderService]',_0xcff606(0x28a));break;}}return _0x59b53c;}async['loadUnit'](_0x2c07c0,_0x2e1705,_0x316293){var _0x51e9a7=_0x997d7,_0x1eda32;this[_0x51e9a7(0x433)]['next']({'unitId':_0x2c07c0,'type':_0x2e1705,'subUnitId':_0x316293});let _0x5884cd=0x0;const _0x4a25d9=await((_0x1eda32=this['_localCacheService'])==null?void 0x0:_0x1eda32[_0x51e9a7(0x4b3)](_0x2c07c0));return _0x4a25d9&&(_0x4a25d9[_0x51e9a7(0x4f2)]||_0x4a25d9[_0x51e9a7(0x2af)][_0x51e9a7(0x307)]!==0x0)&&(_0x5884cd=_0x4a25d9[_0x51e9a7(0x4dd)]),_0x5884cd===0x0&&this[_0x51e9a7(0x221)][_0x51e9a7(0x1ff)]('[DataLoaderService]',_0x51e9a7(0x1f9)),this[_0x51e9a7(0x323)](_0x2c07c0,_0x2e1705,_0x5884cd);}},_0x36d18b[_0x997d7(0x52a)]=_0x865346([_0x4e8cc0(0x0,_0x29a664[_0x997d7(0x492)]),_0x4e8cc0(0x1,_0x29a664['Inject'](_0x5a7fdc[_0x997d7(0x573)])),_0x4e8cc0(0x2,_0x29a664[_0x997d7(0x29b)](_0x3e2be6))],_0x36d18b[_0x997d7(0x52a)]);var _0x5239d6=Object[_0x997d7(0x539)],_0x2b6ebb=(_0x512c0f,_0x50170e,_0x12ff89,_0x6c4fbb)=>{var _0x8c8b97=_0x997d7;for(var _0x187dce=_0x6c4fbb>0x1?void 0x0:_0x6c4fbb?_0x5239d6(_0x50170e,_0x12ff89):_0x50170e,_0x562f4d=_0x512c0f[_0x8c8b97(0x307)]-0x1,_0x2b66eb;_0x562f4d>=0x0;_0x562f4d--)(_0x2b66eb=_0x512c0f[_0x562f4d])&&(_0x187dce=_0x2b66eb(_0x187dce)||_0x187dce);return _0x187dce;},_0x3b6329=(_0x1f69ad,_0x5b17f8)=>(_0x4c6ae,_0x3825e6)=>_0x5b17f8(_0x4c6ae,_0x3825e6,_0x1f69ad);const _0x232409=[_0x997d7(0x354),_0x997d7(0x407),_0x997d7(0x2e8),_0x997d7(0x478),_0x997d7(0x304)],_0x2d2fbd=0x5*0x400*0x400,_0x3b867b=_0x997d7(0x386),_0x557d2e=_0x997d7(0x31c);_0x36d18b[_0x997d7(0x4a1)]=class{constructor(_0x593c28,_0x52760f,_0x2c032c){var _0x5663ee=_0x997d7;_0x260f1e(this,'_waitCount',0x0),_0x260f1e(this,_0x5663ee(0x365),new _0x32c204['Subject']()),_0x260f1e(this,_0x5663ee(0x561),this['_change$']),_0x260f1e(this,'_imageSourceCache',new Map()),(this[_0x5663ee(0x3f4)]=_0x593c28,this[_0x5663ee(0x261)]=_0x52760f,this[_0x5663ee(0x432)]=_0x2c032c);}[_0x997d7(0x267)](_0x5f2deb){var _0x1ca29e=_0x997d7;this[_0x1ca29e(0x2e6)]=_0x5f2deb,this[_0x1ca29e(0x365)][_0x1ca29e(0x476)](_0x5f2deb);}[_0x997d7(0x4c2)](_0x22ef5e,_0x1cab4e){var _0x53717e=_0x997d7;if(_0x1cab4e===_0x2b4a05[_0x53717e(0x244)]['BASE64']){const _0x1242c6=new Image();return _0x1242c6['src']=_0x22ef5e,_0x1242c6;}return this[_0x53717e(0x395)][_0x53717e(0x47e)](_0x22ef5e);}[_0x997d7(0x3db)](_0x1a8262,_0x58f9fb,_0x5d77d6){var _0x586d80=_0x997d7;_0x58f9fb===_0x2b4a05[_0x586d80(0x244)]['BASE64']||_0x5d77d6==null||this[_0x586d80(0x395)][_0x586d80(0x41e)](_0x1a8262,_0x5d77d6);}async['getImage'](_0x42ed88){var _0x18eb9d=_0x997d7;try{const _0x299906=this[_0x18eb9d(0x2e1)](this['_getSignURL'](),''+_0x42ed88),_0x279eda=(await this[_0x18eb9d(0x3f4)][_0x18eb9d(0x47e)](_0x299906))[_0x18eb9d(0x22b)];if(_0x279eda[_0x18eb9d(0x4ee)]&&_0x279eda[_0x18eb9d(0x4ee)]['code']===_0x4015c2['OK']){const _0x22a4ff=new URL(_0x279eda[_0x18eb9d(0x253)],this['_getDownloadEndpointURL']())[_0x18eb9d(0x3a6)]();return Promise[_0x18eb9d(0x39d)](_0x22a4ff);}return Promise['reject'](_0x279eda[_0x18eb9d(0x4ee)]);}catch(_0x3fedc6){return Promise[_0x18eb9d(0x3a0)](_0x3fedc6);}}async[_0x997d7(0x48c)](_0x593097){var _0x1b6762=_0x997d7;let _0x28078c='';if(!_0x232409[_0x1b6762(0x289)](_0x593097[_0x1b6762(0x3b0)]))return this[_0x1b6762(0x34d)](),Promise[_0x1b6762(0x3a0)](new Error(_0x2b4a05[_0x1b6762(0x245)][_0x1b6762(0x4b6)]));if(_0x593097[_0x1b6762(0x498)]>_0x2d2fbd)return this[_0x1b6762(0x34d)](),Promise[_0x1b6762(0x3a0)](new Error(_0x2b4a05[_0x1b6762(0x245)][_0x1b6762(0x1fb)]));try{const _0x19a610=new FormData();_0x19a610[_0x1b6762(0x52b)]('file',_0x593097);const _0xb9e2a7=this[_0x1b6762(0x432)]['getFocusedUnit'](),_0x298676=_0xb9e2a7==null?void 0x0:_0xb9e2a7[_0x1b6762(0x4ae)]();if(!_0x298676)throw new Error(_0x1b6762(0x496));const _0x750144=this['_getUploadFileURL']()+'?size='+_0x593097[_0x1b6762(0x498)][_0x1b6762(0x3a6)]()+_0x1b6762(0x4ef)+_0x241a4e[_0x1b6762(0x4f6)]+_0x1b6762(0x29e)+encodeURIComponent(_0x298676),_0x9c7357={'body':_0x19a610},_0x3764e8=(await this[_0x1b6762(0x3f4)][_0x1b6762(0x540)](_0x750144,_0x9c7357))[_0x1b6762(0x22b)];if(typeof _0x3764e8[_0x1b6762(0x3ac)]!=_0x1b6762(0x2f0))return this[_0x1b6762(0x34d)](),Promise[_0x1b6762(0x3a0)](new Error(_0x2b4a05[_0x1b6762(0x245)][_0x1b6762(0x526)]));_0x28078c=_0x3764e8[_0x1b6762(0x3ac)];}catch{return this[_0x1b6762(0x34d)](),Promise[_0x1b6762(0x3a0)](new Error(_0x2b4a05[_0x1b6762(0x245)][_0x1b6762(0x526)]));}return new Promise((_0x57809c,_0x2a323f)=>{var _0xe1cc34=_0x1b6762;const _0x182e8b=new FileReader();_0x182e8b[_0xe1cc34(0x2d0)](_0x593097),_0x182e8b[_0xe1cc34(0x2c1)]=_0xae2b3a=>{var _0x5bdee2=_0xe1cc34,_0x1d8751;const _0x5750fb=(_0x1d8751=_0xae2b3a['target'])==null?void 0x0:_0x1d8751[_0x5bdee2(0x3aa)];if(_0x5750fb==null){this['_decreaseWaiting'](),_0x2a323f(new Error(_0x2b4a05['ImageUploadStatusType'][_0x5bdee2(0x526)]));return;}const _0x14e590=_0x29a664[_0x5bdee2(0x4de)](0x6);_0x57809c({'imageId':_0x14e590,'imageSourceType':_0x2b4a05[_0x5bdee2(0x244)]['UUID'],'source':_0x28078c,'base64Cache':_0x5750fb,'status':_0x2b4a05[_0x5bdee2(0x245)][_0x5bdee2(0x343)]}),this[_0x5bdee2(0x34d)]();};});}[_0x997d7(0x30e)](){var _0x5cb628=_0x997d7,_0x58494e;const _0x609e9f=this[_0x5cb628(0x261)][_0x5cb628(0x368)](_0x3fa783);return(_0x58494e=_0x609e9f==null?void 0x0:_0x609e9f[_0x5cb628(0x28b)])!=null?_0x58494e:_0x3b867b;}[_0x997d7(0x4d3)](){var _0x5bd86f=_0x997d7,_0x2bb207;const _0x5058b9=this[_0x5bd86f(0x261)][_0x5bd86f(0x368)](_0x3fa783);return(_0x2bb207=_0x5058b9==null?void 0x0:_0x5058b9['signUrlServerUrl'])!=null?_0x2bb207:_0x557d2e;}[_0x997d7(0x3de)](){var _0x217155=_0x997d7,_0xa87f13;const _0x263331=this[_0x217155(0x261)][_0x217155(0x368)](_0x3fa783);return(_0xa87f13=_0x263331==null?void 0x0:_0x263331[_0x217155(0x499)])!=null?_0xa87f13:location['origin'];}[_0x997d7(0x2e1)](_0x251c8d,_0x34b3ff){var _0x250c87=_0x997d7;return _0x251c8d['replace'](_0x250c87(0x3b5),_0x34b3ff);}[_0x997d7(0x34d)](){var _0x3b3ad2=_0x997d7;this['_waitCount']-=0x1,this['_change$'][_0x3b3ad2(0x476)](this['_waitCount']);}},_0x36d18b['CollaborationImageIoService']=_0x2b6ebb([_0x3b6329(0x0,_0x29a664[_0x997d7(0x346)](_0x200e90[_0x997d7(0x218)])),_0x3b6329(0x1,_0x29a664[_0x997d7(0x4fc)]),_0x3b6329(0x2,_0x29a664[_0x997d7(0x346)](_0x29a664['IUniverInstanceService']))],_0x36d18b['CollaborationImageIoService']);var _0x5dabf8=Object[_0x997d7(0x539)],_0x4f4b0a=(_0x3be0b8,_0x4002d0,_0x1454b9,_0x4bc916)=>{var _0x5caaed=_0x997d7;for(var _0x2bd6c4=_0x4bc916>0x1?void 0x0:_0x4bc916?_0x5dabf8(_0x4002d0,_0x1454b9):_0x4002d0,_0x1a0cb6=_0x3be0b8[_0x5caaed(0x307)]-0x1,_0x50c918;_0x1a0cb6>=0x0;_0x1a0cb6--)(_0x50c918=_0x3be0b8[_0x1a0cb6])&&(_0x2bd6c4=_0x50c918(_0x2bd6c4)||_0x2bd6c4);return _0x2bd6c4;},_0x3e776e=(_0x54f06c,_0x82f883)=>(_0x505002,_0x55fc8b)=>_0x82f883(_0x505002,_0x55fc8b,_0x54f06c);const _0x49b07d=_0x997d7(0x2ba);_0x36d18b[_0x997d7(0x2a3)]=class{constructor(_0x5ef63a,_0x179486){var _0x460ac1=_0x997d7;this[_0x460ac1(0x261)]=_0x5ef63a,this[_0x460ac1(0x210)]=_0x179486;}[_0x997d7(0x2a4)](){var _0x4fdc79=_0x997d7,_0x6c354f;const _0x1e06bb=this[_0x4fdc79(0x261)][_0x4fdc79(0x368)](_0x3fa783);return(_0x6c354f=_0x1e06bb==null?void 0x0:_0x1e06bb[_0x4fdc79(0x534)])!=null?_0x6c354f:_0x49b07d;}async[_0x997d7(0x3ad)](_0x18c51a){var _0x5dcdfe=_0x997d7;const _0x54a818=this['_getAPIPrefixPath']()+_0x5dcdfe(0x43a);return{'list':[{'title':_0x5dcdfe(0x2bb),'mentions':(await this[_0x5dcdfe(0x210)][_0x5dcdfe(0x47e)](_0x54a818,{'params':{'objectID':_0x18c51a['unitId'],'unitID':_0x18c51a['unitId']}}))['body'][_0x5dcdfe(0x270)][_0x5dcdfe(0x2b1)](_0x3cf220=>({'objectId':_0x3cf220['id'],'name':_0x3cf220['subject'][_0x5dcdfe(0x4d2)],'metadata':{'icon':_0x3cf220[_0x5dcdfe(0x532)][_0x5dcdfe(0x2c2)]},'label':_0x3cf220[_0x5dcdfe(0x532)]['name'],'objectType':_0x29a664[_0x5dcdfe(0x20b)][_0x5dcdfe(0x366)]})),'metadata':{},'type':_0x29a664[_0x5dcdfe(0x20b)][_0x5dcdfe(0x366)]}]};}},_0x36d18b[_0x997d7(0x2a3)]=_0x4f4b0a([_0x3e776e(0x0,_0x29a664[_0x997d7(0x346)](_0x29a664['IConfigService'])),_0x3e776e(0x1,_0x29a664[_0x997d7(0x346)](_0x200e90[_0x997d7(0x218)]))],_0x36d18b['MentionIoHttpService']);var _0x128420=Object[_0x997d7(0x539)],_0x4c7d1f=(_0xf7ef07,_0x2e2fa3,_0x52f56c,_0x4e6279)=>{var _0x1376ad=_0x997d7;for(var _0xbdc2db=_0x4e6279>0x1?void 0x0:_0x4e6279?_0x128420(_0x2e2fa3,_0x52f56c):_0x2e2fa3,_0x3ebb12=_0xf7ef07[_0x1376ad(0x307)]-0x1,_0x4bbc11;_0x3ebb12>=0x0;_0x3ebb12--)(_0x4bbc11=_0xf7ef07[_0x3ebb12])&&(_0xbdc2db=_0x4bbc11(_0xbdc2db)||_0xbdc2db);return _0xbdc2db;},_0x315ae4=(_0x3f73b6,_0x181b0c)=>(_0x32ca1c,_0x2b98af)=>_0x181b0c(_0x32ca1c,_0x2b98af,_0x3f73b6);let _0x1f7836=class extends _0x29a664[_0x997d7(0x330)]{constructor(_0x348e68,_0x248a58,_0x2f3785,_0x4d948f,_0x4a4ad7){var _0x5d87f4=_0x997d7;super(),this['_injector']=_0x348e68,this[_0x5d87f4(0x432)]=_0x248a58,this[_0x5d87f4(0x412)]=_0x2f3785,this[_0x5d87f4(0x50b)]=_0x4d948f,this[_0x5d87f4(0x47a)]=_0x4a4ad7,this[_0x5d87f4(0x439)](),this['_initCloseConn']();}[_0x997d7(0x340)](){var _0x777287=_0x997d7;const _0x18bd89=async _0x15c080=>{var _0x5de1a4=_0x4ecd;(await this[_0x5de1a4(0x50b)]['requireSession'](_0x15c080))[_0x5de1a4(0x25c)][_0x5de1a4(0x2ab)](_0x12f47e[_0x5de1a4(0x469)](_0x54b529=>_0x54b529[_0x5de1a4(0x328)]===_0x5a7fdc['CollaborationEvent'][_0x5de1a4(0x35e)]),_0x12f47e['takeUntil'](this[_0x5de1a4(0x2a0)]))[_0x5de1a4(0x3cc)](_0x686dca=>{var _0x2f03ff=_0x5de1a4;const _0x1d21e5=_0x686dca,{reason:_0xabe5e}=_0x1d21e5['data'];this[_0x2f03ff(0x47a)][_0x2f03ff(0x2d4)]({'id':_0xedfb31[_0x2f03ff(0x21a)],'data':_0xabe5e}),this[_0x2f03ff(0x412)][_0x2f03ff(0x56e)](new _0x1ce604['WorkbookEditablePermission'](_0x15c080)['id'],!0x1),this[_0x2f03ff(0x50b)][_0x2f03ff(0x223)](_0x15c080);});};_0x32c204[_0x777287(0x2e7)](this[_0x777287(0x432)]['getTypeOfUnitAdded$'](_0x29a664[_0x777287(0x319)][_0x777287(0x4c5)]),this[_0x777287(0x432)][_0x777287(0x51b)](_0x29a664[_0x777287(0x319)]['UNIVER_DOC']))[_0x777287(0x2ab)](_0x12f47e[_0x777287(0x2b1)](_0x3c0b22=>_0x3c0b22[_0x777287(0x4ae)]()),_0x12f47e['filter'](_0x10eaae=>!_0x29a664[_0x777287(0x320)](_0x10eaae)),_0x12f47e['takeUntil'](this[_0x777287(0x2a0)]))[_0x777287(0x3cc)](_0x149873=>{_0x18bd89(_0x149873);});}[_0x997d7(0x439)](){var _0x1818a8=_0x997d7;const _0x4fe6c0=async _0x25166b=>{var _0x47b345=_0x4ecd;const _0x4e38eb=await this[_0x47b345(0x50b)][_0x47b345(0x1fe)](_0x25166b),_0x713cf7=this[_0x47b345(0x30a)][_0x47b345(0x47e)](_0x1ce604[_0x47b345(0x28c)]);_0x4e38eb[_0x47b345(0x25c)][_0x47b345(0x2ab)](_0x12f47e[_0x47b345(0x469)](_0xeaf2ac=>_0xeaf2ac[_0x47b345(0x328)]===_0x5a7fdc[_0x47b345(0x315)]['UPDATE_PERMISSION_OBJ']),_0x12f47e[_0x47b345(0x45b)](this[_0x47b345(0x2a0)]))[_0x47b345(0x3cc)](_0x3bb800=>{var _0x2178dc=_0x47b345;const _0x13347d=_0x3bb800,{objectId:_0x4c7a9c}=_0x13347d[_0x2178dc(0x40b)];_0x4c7a9c===_0x25166b?_0x713cf7['initWorkbookPermissionChange'](_0x25166b):_0x713cf7[_0x2178dc(0x35c)](_0x25166b,_0x4c7a9c);});};_0x32c204['merge'](this[_0x1818a8(0x432)]['getTypeOfUnitAdded$'](_0x29a664[_0x1818a8(0x319)][_0x1818a8(0x4c5)]))[_0x1818a8(0x2ab)](_0x12f47e['map'](_0x3afab0=>_0x3afab0['getUnitId']()),_0x12f47e[_0x1818a8(0x469)](_0x21027a=>!_0x29a664['isInternalEditorID'](_0x21027a)),_0x12f47e['takeUntil'](this[_0x1818a8(0x2a0)]))['subscribe'](_0x2f079c=>{_0x4fe6c0(_0x2f079c);});}};_0x1f7836=_0x4c7d1f([_0x315ae4(0x0,_0x29a664[_0x997d7(0x346)](_0x29a664[_0x997d7(0x2c6)])),_0x315ae4(0x1,_0x29a664['IUniverInstanceService']),_0x315ae4(0x2,_0x29a664[_0x997d7(0x471)]),_0x315ae4(0x3,_0x29a664['Inject'](_0x36d18b['CollaborationSessionService'])),_0x315ae4(0x4,_0x29a664[_0x997d7(0x346)](_0x495958))],_0x1f7836);var _0x14fce0=Object['getOwnPropertyDescriptor'],_0x4b0786=(_0x5b2de8,_0x49de44,_0x373d3a,_0x390ee6)=>{var _0x4f3ca=_0x997d7;for(var _0x51cbcc=_0x390ee6>0x1?void 0x0:_0x390ee6?_0x14fce0(_0x49de44,_0x373d3a):_0x49de44,_0x2d4dd7=_0x5b2de8[_0x4f3ca(0x307)]-0x1,_0x1c6bc7;_0x2d4dd7>=0x0;_0x2d4dd7--)(_0x1c6bc7=_0x5b2de8[_0x2d4dd7])&&(_0x51cbcc=_0x1c6bc7(_0x51cbcc)||_0x51cbcc);return _0x51cbcc;},_0x5cea33=(_0x5b04e0,_0x5d5ed7)=>(_0x395dec,_0x485d84)=>_0x5d5ed7(_0x395dec,_0x485d84,_0x5b04e0);_0x36d18b[_0x997d7(0x255)]=class{constructor(_0xb76f40,_0x28b90c){this['_configService']=_0xb76f40,this['_httpService']=_0x28b90c;}async[_0x997d7(0x31e)](_0x1df3f3,_0x8554c5){var _0x4083c7=_0x997d7,_0x4c5b68;const {unitID:_0x4e5513,type:_0x6dd02e,revision:_0x2124b4=0x0}=_0x8554c5,_0x421d70=this[_0x4083c7(0x4b2)]()+'/'+_0x6dd02e+_0x4083c7(0x484)+_0x4e5513+'/rev/'+_0x2124b4,_0x157978=(await this[_0x4083c7(0x3f4)][_0x4083c7(0x47e)](_0x421d70))['body'],_0x4a7345=(_0x4c5b68=_0x157978['snapshot'])==null?void 0x0:_0x4c5b68[_0x4083c7(0x378)];if(_0x4a7345){const _0x5e7349=_0x4a7345==null?void 0x0:_0x4a7345[_0x4083c7(0x3df)],_0x40264b=_0x5a7fdc['textEncoder'][_0x4083c7(0x22c)](_0x5a7fdc[_0x4083c7(0x4c7)](_0x5e7349));_0x4a7345[_0x4083c7(0x3df)]=_0x40264b,Object[_0x4083c7(0x53a)](_0x4a7345[_0x4083c7(0x401)])['forEach'](([,_0x579009])=>{var _0x554205=_0x4083c7;const _0x2e5d47=_0x579009[_0x554205(0x3df)],_0x336702=_0x5a7fdc[_0x554205(0x21e)][_0x554205(0x22c)](_0x5a7fdc[_0x554205(0x4c7)](_0x2e5d47));_0x579009[_0x554205(0x3df)]=_0x336702;});}return _0x157978;}async[_0x997d7(0x3e2)](_0xcfed00,_0x47cdee){var _0x5e8bd6=_0x997d7;const {unitID:_0x3a1dc9,type:_0x17d93c,blockID:_0x26b5ba}=_0x47cdee,_0x5537e5=this['_getAPIPrefix']()+'/'+_0x17d93c+_0x5e8bd6(0x484)+_0x3a1dc9+'/block/'+_0x26b5ba;return(await this[_0x5e8bd6(0x3f4)]['get'](_0x5537e5))[_0x5e8bd6(0x22b)];}async[_0x997d7(0x404)](_0x108e14,_0x5cbb9f){var _0x1cb88a=_0x997d7;const {unitID:_0x2f716c,type:_0x2e2ba8,blockID:_0x41bcc6}=_0x5cbb9f,_0x4cb065=this[_0x1cb88a(0x467)]()+_0x1cb88a(0x356)+_0x2e2ba8+_0x1cb88a(0x484)+_0x2f716c+_0x1cb88a(0x356)+_0x41bcc6;return(await this[_0x1cb88a(0x3f4)]['get'](_0x4cb065))[_0x1cb88a(0x22b)];}async['fetchMissingChangesets'](_0x4ae3d5,_0x194e5b){var _0x4ef8d4=_0x997d7;const {unitID:_0xa9a3f,type:_0x19fae9,from:_0x32400a,to:_0x2669fd}=_0x194e5b,_0x58e80f=this[_0x4ef8d4(0x467)]()+'/'+_0x19fae9+_0x4ef8d4(0x484)+_0xa9a3f+_0x4ef8d4(0x3e8)+_0x32400a+_0x4ef8d4(0x3d2)+_0x2669fd;return(await this['_httpService'][_0x4ef8d4(0x47e)](_0x58e80f))[_0x4ef8d4(0x22b)];}[_0x997d7(0x4b2)](){var _0x418a43=_0x997d7,_0x399ba6;return(_0x399ba6=this[_0x418a43(0x261)][_0x418a43(0x368)](_0x4a7c93))!=null?_0x399ba6:this[_0x418a43(0x467)]();}[_0x997d7(0x467)](){var _0x7f9bd6=_0x997d7,_0x9f193b;const _0x421032=this[_0x7f9bd6(0x261)][_0x7f9bd6(0x368)](_0x3fa783);return(_0x9f193b=_0x421032==null?void 0x0:_0x421032[_0x7f9bd6(0x278)])!=null?_0x9f193b:_0xe80868;}async[_0x997d7(0x336)](_0x2e8c4f,_0x4b9d65){var _0x22425f=_0x997d7;const _0x2bd66d='/universer-api/snapshot/'+_0x4b9d65[_0x22425f(0x3b0)]+_0x22425f(0x484)+_0x4b9d65[_0x22425f(0x297)]+_0x22425f(0x33e);return(await this[_0x22425f(0x3f4)][_0x22425f(0x47e)](_0x2bd66d,{'params':{'resourceId':JSON['stringify'](_0x4b9d65[_0x22425f(0x4ec)])}}))[_0x22425f(0x22b)];}[_0x997d7(0x4f1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x997d7(0x2a8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x997d7(0x1f3)](){var _0x2aa41c=_0x997d7;throw new Error(_0x2aa41c(0x217));}['saveChangeset'](){var _0xdf8902=_0x997d7;throw new Error(_0xdf8902(0x217));}[_0x997d7(0x2a5)](){var _0x11b49c=_0x997d7;throw new Error(_0x11b49c(0x217));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x36d18b[_0x997d7(0x255)]=_0x4b0786([_0x5cea33(0x0,_0x29a664[_0x997d7(0x4fc)]),_0x5cea33(0x1,_0x29a664[_0x997d7(0x346)](_0x200e90['HTTPService']))],_0x36d18b[_0x997d7(0x255)]);var _0x2c46a9=Object[_0x997d7(0x539)],_0x4abf13=(_0x5b5ce8,_0x39c610,_0x15ca72,_0x12a528)=>{var _0x1cb2d0=_0x997d7;for(var _0x5ed1b4=_0x12a528>0x1?void 0x0:_0x12a528?_0x2c46a9(_0x39c610,_0x15ca72):_0x39c610,_0x34f154=_0x5b5ce8[_0x1cb2d0(0x307)]-0x1,_0x52733e;_0x34f154>=0x0;_0x34f154--)(_0x52733e=_0x5b5ce8[_0x34f154])&&(_0x5ed1b4=_0x52733e(_0x5ed1b4)||_0x5ed1b4);return _0x5ed1b4;},_0x111041=(_0x3d2709,_0x2c0e50)=>(_0x3059e5,_0x40ee7a)=>_0x2c0e50(_0x3059e5,_0x40ee7a,_0x3d2709);_0x36d18b[_0x997d7(0x2d6)]=class extends _0x29a664[_0x997d7(0x4d6)]{constructor(_0x33414a,_0x37a382,_0x5650ce,_0x5e6dac,_0x5a1fe7){var _0x156afd=_0x997d7;super(_0x33414a,_0x37a382,_0x5650ce),this['_transformService']=_0x5e6dac,this[_0x156afd(0x221)]=_0x5a1fe7;}['transformUndoRedo'](_0x24c46e,_0x706d9){var _0x4fdf9a=_0x997d7;const _0x5d2e80=this[_0x4fdf9a(0x364)](_0x24c46e);if(_0x5d2e80)try{const _0x53344c=this[_0x4fdf9a(0x3a1)](_0x5d2e80,_0x706d9);this[_0x4fdf9a(0x541)](_0x24c46e,_0x53344c);}catch(_0x2741d9){this[_0x4fdf9a(0x221)][_0x4fdf9a(0x4ee)](_0x4fdf9a(0x286),_0x2741d9),this[_0x4fdf9a(0x48d)](_0x24c46e);}const _0x4cd6ba=this[_0x4fdf9a(0x500)](_0x24c46e);if(_0x4cd6ba)try{const _0x3dd43c=this[_0x4fdf9a(0x3a1)](_0x4cd6ba,_0x706d9);this[_0x4fdf9a(0x2f6)](_0x24c46e,_0x3dd43c);}catch(_0x4ccc72){this['_logService'][_0x4fdf9a(0x4ee)](_0x4ccc72),this[_0x4fdf9a(0x46d)](_0x24c46e);}}['_clearUndo'](_0x52aa11){var _0x4b633b=_0x997d7;const _0x103faa=this[_0x4b633b(0x364)](_0x52aa11);_0x103faa&&(_0x103faa[_0x4b633b(0x307)]=0x0,this[_0x4b633b(0x250)]());}[_0x997d7(0x46d)](_0x3cf752){var _0x5b12ec=_0x997d7;const _0x4d7473=this[_0x5b12ec(0x500)](_0x3cf752);_0x4d7473&&(_0x4d7473['length']=0x0,this[_0x5b12ec(0x250)]());}[_0x997d7(0x541)](_0x32f1aa,_0xb19a36){var _0x2283a8=_0x997d7;this[_0x2283a8(0x56d)][_0x2283a8(0x41e)](_0x32f1aa,_0xb19a36),this['_updateStatus']();}[_0x997d7(0x2f6)](_0x42bccd,_0x66923a){var _0x49d64e=_0x997d7;this[_0x49d64e(0x435)]['set'](_0x42bccd,_0x66923a),this['_updateStatus']();}[_0x997d7(0x3a1)](_0x2a1aab,_0x1ba684){var _0x41c7ac=_0x997d7;const _0x2b283e=[];let _0x306f48=_0x1ba684,_0x2d4243=_0x1ba684;for(let _0x5d2534=_0x2a1aab[_0x41c7ac(0x307)]-0x1;_0x5d2534>=0x0;_0x5d2534--){const {unitID:_0x4daf44,undoMutations:_0x2e130d,redoMutations:_0x25698d}=_0x2a1aab[_0x5d2534],_0x51fda2=this[_0x41c7ac(0x536)][_0x41c7ac(0x576)](_0x306f48,_0x2e130d),_0xfce4ca=this[_0x41c7ac(0x536)][_0x41c7ac(0x576)](_0x2d4243,_0x25698d);if(_0x5a7fdc[_0x41c7ac(0x1f5)](_0x51fda2)||_0x5a7fdc[_0x41c7ac(0x1f5)](_0xfce4ca)){this[_0x41c7ac(0x221)][_0x41c7ac(0x4ee)]('[CollaborationUndoRedoService]',_0x41c7ac(0x2ae),_0x51fda2,_0xfce4ca);break;}_0x306f48=_0x51fda2['c1Prime'],_0x2d4243=_0xfce4ca[_0x41c7ac(0x1ec)],_0x2b283e['push']({'unitID':_0x4daf44,'undoMutations':_0x51fda2[_0x41c7ac(0x2d3)],'redoMutations':_0xfce4ca[_0x41c7ac(0x2d3)]});}return _0x2b283e[_0x41c7ac(0x578)]();}},_0x36d18b[_0x997d7(0x2d6)]=_0x4abf13([_0x111041(0x0,_0x29a664['IUniverInstanceService']),_0x111041(0x1,_0x29a664[_0x997d7(0x37f)]),_0x111041(0x2,_0x29a664[_0x997d7(0x399)]),_0x111041(0x3,_0x5a7fdc[_0x997d7(0x4a5)]),_0x111041(0x4,_0x29a664['ILogService'])],_0x36d18b['CollaborativeUndoRedoService']);var _0x445173=Object['defineProperty'],_0x23fd22=Object[_0x997d7(0x539)],_0x1e0309=(_0x47a1d1,_0x58374c,_0x54dd7f)=>_0x58374c in _0x47a1d1?_0x445173(_0x47a1d1,_0x58374c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54dd7f}):_0x47a1d1[_0x58374c]=_0x54dd7f,_0x4e8bc1=(_0x29587f,_0xee8218,_0x218397,_0x15e11b)=>{var _0x54057d=_0x997d7;for(var _0x5c407b=_0x15e11b>0x1?void 0x0:_0x15e11b?_0x23fd22(_0xee8218,_0x218397):_0xee8218,_0x221459=_0x29587f[_0x54057d(0x307)]-0x1,_0x53021d;_0x221459>=0x0;_0x221459--)(_0x53021d=_0x29587f[_0x221459])&&(_0x5c407b=_0x53021d(_0x5c407b)||_0x5c407b);return _0x5c407b;},_0x1a6df7=(_0x18e6aa,_0x4864a2)=>(_0x87d986,_0x158fe4)=>_0x4864a2(_0x87d986,_0x158fe4,_0x18e6aa),_0x3cdfa2=(_0x5cafc2,_0x1d837e,_0x17c352)=>_0x1e0309(_0x5cafc2,_0x1d837e+'',_0x17c352);const _0x3b0cc0=_0x997d7(0x3d1);_0x36d18b[_0x997d7(0x4ac)]=class extends _0x29a664[_0x997d7(0x1f2)]{constructor(_0x5435e9,_0x515220,_0x99297c,_0x52fd3d){var _0x10b9df=_0x997d7;super(),_0x260f1e(this,_0x10b9df(0x47d)),(this[_0x10b9df(0x221)]=_0x515220,this['_injector']=_0x99297c,this[_0x10b9df(0x261)]=_0x52fd3d);const {..._0x3027f6}=_0x29a664[_0x10b9df(0x2e7)]({},_0x1ee5fd,_0x5435e9);if(!_0x3027f6[_0x10b9df(0x38a)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x10b9df(0x47d)]=_0x3027f6,this[_0x10b9df(0x261)]['setConfig'](_0x3fa783,_0x3027f6);}[_0x997d7(0x4b4)](){var _0x236ac8=_0x997d7;this[_0x236ac8(0x39a)](),this['_initDependencies']();}['_registerDependencies'](){var _0x515402=_0x997d7,_0x2b5138,_0x47c563;this[_0x515402(0x30a)][_0x515402(0x572)](_0x29a664[_0x515402(0x232)])&&this[_0x515402(0x221)]['error']('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4466dc=_0x29a664[_0x515402(0x3c7)]([[_0x29a664['IUndoRedoService'],{'useClass':_0x36d18b[_0x515402(0x2d6)]}],[_0x36d18b[_0x515402(0x446)]],[_0x36d18b[_0x515402(0x409)]],[_0x36d18b['SheetTransformSelectionsService']],[_0x57ab38],[_0x4417fe],[_0x3e15b7],[_0x1f7836],[_0x495958],[_0x36d18b[_0x515402(0x52a)]],[_0x5b4d23,{'useClass':this[_0x515402(0x47d)][_0x515402(0x38a)]}],[_0x5a7fdc[_0x515402(0x42f)],{'useClass':_0x36d18b[_0x515402(0x255)]}],[_0x29a664[_0x515402(0x398)],{'useClass':_0x36d18b[_0x515402(0x3dc)]}],[_0x2b4a05['IImageIoService'],{'useClass':_0x36d18b[_0x515402(0x4a1)]}],[_0x29a664['IMentionIOService'],{'useClass':_0x36d18b[_0x515402(0x2a3)]}],[_0x36d18b['CollaborationController']],[_0x4788c3]],(_0x2b5138=this[_0x515402(0x47d)])==null?void 0x0:_0x2b5138['override']);if(!((_0x47c563=this[_0x515402(0x47d)])!=null&&_0x47c563[_0x515402(0x37c)])){const _0x2b2328=_0x4466dc['findIndex'](([_0x12744d])=>_0x12744d===_0x4f3087);_0x2b2328!==-0x1&&_0x4466dc[_0x515402(0x425)](_0x2b2328,0x1);}_0x29a664[_0x515402(0x29d)](this['_injector'],_0x4466dc);}[_0x997d7(0x2d9)](){var _0x31bc31=_0x997d7,_0x11af39,_0x14c5f4,_0x56dcb2;this['_injector']['get'](_0x200e90[_0x31bc31(0x218)])[_0x31bc31(0x3d5)]({'priority':0x14,'interceptor':_0x200e90['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x11af39=this[_0x31bc31(0x47d)])!=null&&_0x11af39[_0x31bc31(0x512)]||(_0x14c5f4=this['_injector'][_0x31bc31(0x47e)](_0x3e2be6,_0x29a664[_0x31bc31(0x558)]['OPTIONAL']))==null||_0x14c5f4[_0x31bc31(0x268)](),(_0x56dcb2=this[_0x31bc31(0x47d)])!=null&&_0x56dcb2[_0x31bc31(0x545)]&&_0x29a664[_0x31bc31(0x361)](this['_injector'],[[_0x57ab38]]),_0x29a664[_0x31bc31(0x361)](this[_0x31bc31(0x30a)],[[_0x4417fe],[_0x36d18b[_0x31bc31(0x322)]],[_0x1f7836]]);}},_0x3cdfa2(_0x36d18b[_0x997d7(0x4ac)],'pluginName',_0x3b0cc0),_0x36d18b['UniverCollaborationClientPlugin']=_0x4e8bc1([_0x29a664[_0x997d7(0x553)](_0x5a7fdc[_0x997d7(0x3d0)],_0x200e90['UniverNetworkPlugin']),_0x1a6df7(0x1,_0x29a664['ILogService']),_0x1a6df7(0x2,_0x29a664['Inject'](_0x29a664['Injector'])),_0x1a6df7(0x3,_0x29a664['IConfigService'])],_0x36d18b[_0x997d7(0x4ac)]),_0x36d18b[_0x997d7(0x45e)]=_0x3fa783,_0x36d18b['CollaborationStatus']=_0x54c82e,_0x36d18b[_0x997d7(0x21f)]=_0xedfb31,_0x36d18b['CollaborationUIEventService']=_0x495958,_0x36d18b['CommentService']=_0x3e15b7,_0x36d18b['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x53efe6,_0x36d18b[_0x997d7(0x491)]=_0x77defc,_0x36d18b[_0x997d7(0x1fc)]=_0x4aaab9,_0x36d18b['HEARTBEAT_INTERVAL_KEY']=_0x2b6987,_0x36d18b[_0x997d7(0x4a2)]=_0x315b2c,_0x36d18b['ICollaborationSocketService']=_0x5b4d23,_0x36d18b[_0x997d7(0x495)]=_0x3e2be6,_0x36d18b[_0x997d7(0x3ee)]=_0x3b1d7a,_0x36d18b[_0x997d7(0x37d)]=_0x4f3087,_0x36d18b[_0x997d7(0x3a8)]=0x3e8,_0x36d18b[_0x997d7(0x3bd)]=_0xc708f2,_0x36d18b['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x48a22d,_0x36d18b[_0x997d7(0x434)]=_0x547549,_0x36d18b[_0x997d7(0x293)]=_0xbd299,_0x36d18b[_0x997d7(0x569)]=_0x4ff042,_0x36d18b[_0x997d7(0x55d)]=_0x5a583b,_0x36d18b['getLocalCacheKey']=_0x82f518,_0x36d18b['serializeCombRequest']=_0x4151ad,Object[_0x997d7(0x1ed)](_0x36d18b,Symbol['toStringTag'],{'value':_0x997d7(0x1f7)});}));function _0x4ecd(_0x54fdcb,_0x5bddf6){var _0x167719=_0x1677();return _0x4ecd=function(_0x4ecd6b,_0x499990){_0x4ecd6b=_0x4ecd6b-0x1e9;var _0x16a1c2=_0x167719[_0x4ecd6b];return _0x16a1c2;},_0x4ecd(_0x54fdcb,_0x5bddf6);}function _0x1677(){var _0x182f6e=['_onJoinRoomEvent','collabWebSocketUrl','LocalUndoRedoService','TOO_MANY_REQUESTS','LIVESHARE_OPERATION','/-/object/-/batch_allowed','_revisionService','onRemoteRetry','_onFetchMissResult','rev','generateRandomId','@univerjs-pro/license','_unitID','concat','clone','UNIVER_SLIDE','getCurrentRevOfUnit','WorkbookEditablePermission','UnitSnapshot','_createInitialStateImpl','onRemoteAck','createDecryptor','send','univer-pro.collaboration-client.network-condition.service','resourceIDs','ENTITLE_INSUFFICIENT_QUOTA','error','&source=','_createInitialState','saveSnapshot','awaitingChangeset','FETCH_MISSING','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_toggleOffline','UnitEmbedded','_sessions','UPDATE_CURSOR','close','/new_changes','PAYMENT_CHANNEL_NOT_SUPPORT','IConfigService','deleteCollaborator','_doReset','UNIVER_PROJECT','_getRedoStack','CBC','REDEMPTION_USER_REDEEM_TIMES_EXCEED','LocaleService','MOBILE_HAS_BEEN_BOUND','COMPLETION_FINISHED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_transformStateCache','_clearScheduledTask','/object','delay','_collaborationSessionService','LEAVE','_clearTimeoutTimer','method','padding','_commentService','failed\x20to\x20apply\x20missed\x20changesets!','enableOfflineEditing','COMPRESS_MUTATION_APPLY','repeat','RichTextEditingMutation','reduce','_executeRemoteChangeset','selections','newCsEvent','_append','getTypeOfUnitAdded$','INVALID_ARGUMENT','PERMISSION_REJ','mapDocumentTypeToUniverType','leaveEvent','_throwTelemetryCollaborationNewChangeset','error$','DocCollaborationEntity','exports','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getTypeOfUnitDisposed$','ERROR_IMAGE','_acknowledgedAwaitingChangeset','fetchMiss','_tryReconnect','DataLoaderService','append','ISocketService','APPLY_REVISION_CONFILICT','listRoles','_transformUndoredo','YUUMI_CONNECTOR_URL_NOT_FOUND','Encryptor','subject','addHandlerCallback','authzUrl','_scheduleCompleteTimestamp','_transformService','_entities','kdf','getOwnPropertyDescriptor','entries','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','location','rxjs','CHANGESET_REVISION_CONFILICT','getValue','post','_substituteUndoStack','_onConnectionOpen','updateOfflineData','_initRequestHeader','enableAuthServer','setCurrentUser','_mode','getGlobalObject','REDEMPTION_CODE_FULLY_REDEEMED','offline','JOIN_ROOM_PERMISSION_DENIED','_onRemoteRejected','_snapshotService','_replayCachedMutations','decryptBlock','update','loadDoc','_undoRedoService','DependentOn','now','_tryEnsureSocket','HELLO','ALREADY_EXISTS','Quantity','APPLY_DUPLICATED','INGEST','onlyLocal','REDEMPTION_CODE_HAS_BEEN_CREATED','deserializeToCombResponse','createInstance','confirm','appendMutation','change$','CollaborationSocketService','_clearCollaborationTimeoutTimer','pending','updateCollaborator','cfg','CommandType','SyncedState','UnitStatus','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_transformRemoteChangesetByStateCache','sequenceExecute','_undoStacks','updatePermissionPoint','randomBytes','_onRecvEvent','_telemetryService','has','SnapshotService','YUUMI_SUBSCRIPTION_NOT_FOUND','ENTITLE_REPORT_LIMIT_EXCEED','transformMutationsWithChangeset','pad','reverse','CURRENT_STATUS_CANNOT_OPERATE','Base64','ENTITLE_NEED_BILLING_ADDRESS','encrypt','c1Prime','defineProperty','LICENSE_DISTRO_REJECTED','_compressMutationService','headers','1861keSRYi','Plugin','saveSheetBlock','5982810TQEJLS','isTransformMutationsWithChangesetFailure','objectID','Module','USER_NOT_FOUND','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNDEFINED','ERROR_EXCEED_SIZE','DEFAULT_WS_SESSION_TICKET_URL','_parse','requireSession','debug','params','6440697RWivbj','extend','hasOwnProperty','enableCollaboration','equals','dispose','_retryCount','IUniverInstanceService','SerializableCipher','@univerjs/sheets','MentionType','mode','_sendHeartbeat','onCommentUpdate','floor','_HTTPService','textRanges','ceil','getFocusedUnit','reset','keySize','APPLY_NON_SEQUENTIAL_REVISION','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','HTTPService','c2Prime','CLOSE_ROOM','_syncEditingCollabCursor','JOIN_ROOM_NOT_EXISTS','_invKeySchedule','textEncoder','CollaborationUIEventId','_resendTimer','_logService','_oKey','closeSession','_state$','UNKNOWN_CMD','loadSheet','LICENSE_IMPORT_SIZE_EXCEEDED','session.join-failed','UNIVER_UNKNOWN','HmacSHA1','body','encode','stringify','/universer-api/oidc/authpage','USER_NOT_INVITED_CODE','HEARTBEAT','9126fJesir','IUndoRedoService','_key','Univer','cmd','prototype','onLocalMutation','[OfflineState]:\x20received\x20acknowledgement.','_collaborationPaused','_schedule','ENTITLE_CHAT_LIMIT_EXCEED','LIVESHARE_REQUEST_HOST','call','AWAITING_WITH_PENDING','Workbook','USER_IS_ANONYMOUS','_doCreateSocket','createCollaborator','CHANGESET_ACK','ImageSourceType','ImageUploadStatusType','ws://127.0.0.1:8000/universer-api/comb/connect','NOT_FOUND','APPLY_REJECT','JOINING','auth.needGotoLoginAlert','@univerjs-pro/collaboration','_ENC_XFORM_MODE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','LOGIN_TOKEN_PROCESSING_FAILED','mixIn','_updateStatus','Hex','HEARTBEAT_TIMEOUT','url','fetch_missing','SnapshotServerOverHTTPService','_remoteChangesetQueue','NEW_CHANGESETS','UniverCore','routeKey','YUUMI_RATE_OVER_LIMIT','JOIN_ROOM_FAILED','event$','@univerjs/docs','transformChangesets','_sender','isTransformMutationsWithChangesetSuccess','_configService','entityInit$','EMAIL_HAS_BEEN_BOUND','uniscriptRunEvent','PendingState','fromCollab','setWaitCount','disableLocalCache','_changesetSessionId','setShowComponents','[SyncedState]:\x20received\x20rejection.','SetSelectionsOperation','parseChangesetToProtocol','UniverSheets','charCodeAt','collaborators','toggleOffline','_telemetryInfo','concatMap','focused$','_init','_submitChangeset','BufferedBlockAlgorithm','snapshotServerUrl','encodeURIComponent','joinEvent','MergeInterceptorFactory','[CollaborationSessionService]:\x20socket\x20error','getActiveSheet','INVITE_CODE_REQUIRED','_checkMissing','ITelemetryService','Malformed\x20UTF-8\x20data','LICENSE_MAX_UNITS_EXCEEDED','_networkConditionService','HmacMD5','Disposable','[CollaborationUndoRedoService]','max','subUnitId','includes','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','uploadFileServerUrl','SheetPermissionInitController','session','onSyncEditingCollabCursor','REDEMPTION_CODE_NOT_STARTED','OfflineState','univer-pro.collaboration-client.single-active-unit-service','_clearLocalCache','SessionStatus','editingUnit','revision','UniverProCollaboration','unitID','memberID','getTime','unitInfo$','Optional','function','registerDependencies','&assign=','\x20to\x20','dispose$','78896qWqVbv','COMMENT_UPDATE','MentionIoHttpService','_getAPIPrefixPath','copyFileMeta','SNAPSHOT_URL_KEY','close$','updateSnapshot','onTransformSelections','_socket$','pipe','CHANGESET_REJ','PERMISSION_DENIED','transformStack\x20failed!','mutations','byteLength','map','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_updateLocalCache','NoPadding','MUTATION','LOGIN_FAILED','[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.','_applyRemoteChangeset','/universer-api/snapshot','/universer-api/authz','People','INTERNAL_ERROR','forEach','Cipher','JSONX','_onConflict','onload','avatar','every','buffer','isArray','Injector','actions','PSEUDO_FETCH_MISSING_RESULT','_onRemoteChangeset','_onConnectionFailed','_removeRoom','awaiting_with_pending','_emitMembers','_localCacheService','_keyPriorReset','readAsDataURL','getInterceptPoints','x-univer-host','m2Prime','emitEvent','symbol','CollaborativeUndoRedoService','getRandomValues','OpenSSL','_initDependencies','uuidv4','_iKey','_commandService','_resendTimeout','_createHelper','_process','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_replaceFileID','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','startsWith','_getLoginPath','_eventService','_waitCount','merge','image/jpg','baseRev','LICENSE_EXPORT_SIZE_EXCEEDED','sid','GLOBAL_ROOMS_CNT_EXCEEDS','_onLocalMutation','href','clear','string','getMemberID','enc','take','_prevBlock','unsubscribe','_substituteRedoStack','msCrypto','_pendingMutations','_handlerCallback','iterations','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_clearRetryConnectingTimer','substr','CompressMutationService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','range','collabSubmitChangesetUrl','_resendWithTimeout','_memberService','image/bmp','_initMergeInterceptor','put','length','APPLY_PERMISSION_DENIED','[OfflineState]:\x20received\x20changeset.','_injector','_onCombEvent','csRejEvent','words','_getUploadFileURL','217WqTWUb','FetchingMissState','/-/object/list','_members','asObservable','onSendChangeset','CollaborationEvent','execute','toggleOnline','fromCharCode','UniverInstanceType','state','disposeWithMe','/universer-api/file/{fileID}/sign-url','_type','getUnitOnRev','ERROR_AGAIN','isInternalEditorID','COMPRESS_MUTATION_SEND','CollaborationController','loadUnitOfRevision','title','_status$','getCollabEntity$','catch','eventID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','JOIN','PY_RUNTIME_SCRIPT_ERROR','WECHAT_HAS_BEEN_BOUND','_snapshotServerService','INVALID_INVITE_CODE','_listenToNetworkCondition','RxDisposable','_toggleOnline','_roomMembers','_sheetTransformSelectionsService','_onRemoteACK','_exhaustRemoteChangesetQueue','getResourcesRequest','_socketReady','_shouldReportTelemetry','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','collaboratorID','[OfflineState]:\x20received\x20rejection.','IDLE','online$','/resources','readyForCollab','_initCloseConn','removeMember','_state','SUCCUSS','[CollaborationSessionService]','_DEC_XFORM_MODE','Inject','?url=','commentUpdateEvent','capture','/allowed','join','_reverseMap','_decreaseWaiting','_scheduleCollaborationTimeoutTimer','_transformSelections','_members$','status$','_getCurrentRevision','UserManagerService','image/png','_doProcessBlock','/block/','\x20in\x20_schedule.','session.room-cnt-exceeds','[CollaborationEntity]','onRemoteRej','ciphertext','refreshPermission','_entityInit$','SHOULD_CLOSE_CONN','amd','clamp','touchDependencies','/universer-api/uniscript','MD5','_getUndoStack','_change$','PERSON','then','getConfig','init','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','waitForRoom$','INVITE_CODE_HAS_BEEN_UES','376IYIXPO','_changesetReqId','objectActions','status','getUnitType','PasswordBasedCipher','REDEMPTION_CODE_INACTIVE','unknown','delete','_cipher','YUUMI_URL_COL_OUT_OF_RANGE','workbook','getWorkbookSelections','connection\x20error','open$','enableSingleActiveInstanceLock','ISingleActiveUnitService','AwaitingState','ICommandService','_startTelemetryCollaborationNewChangeset','_isPermissionRej','pauseCollaboration','getSheetId','Error\x20on\x20receiving\x20event','Undefined','/universer-api/stream/file/upload','Decryptor','add','_localeService','socketService','requestParams','_hash','_handler','createIdentifier','_timeoutTimer','LIVESHARE_NEW_HOST','LIVESHARE_TERMINATE','[SyncedState]:\x20received\x20acknowledgement.','_iv','object','_imageSourceCache','csShouldRetryEvent','_unlockTransition','IAuthzIoService','IContextService','_registerDependencies','onCommandExecuted','synced','resolve','createEncryptor','[CollaborationState]:\x20apply\x20error!','reject','_transformStack','_stopTelemetryCollaborationNewChangeset','_sendHeartbeatTimer','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onTransformState','toString','CHANGESET_SHOULD_RETRY','LOCAL_CACHE_INTERVAL','min','result','UNRECOGNIZED','FileId','list','save\x20fail\x20reason\x20is\x20','UNAUTHENTICATED','type','firstValueFrom','univer-pro.collaboration-client-socket-service','__creator','LIVESHARE_FETCH_OPERATIONS','{fileID}','Utf8','SOCKET_FAILED_RETRY','_nDataBytes','onTransformIME','parseProtocolChangeset','BlockCipher','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','LOCAL_CACHE_INTERVAL_KEY','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_event$','_createHmacHelper','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','listCollaborators','_doFinalize','slice','ivSize','sendChangesetTimeout','mergeOverrideWithDependencies','UniverProCollaborationClient','REDEMPTION_USER_NOT_ELIGIBLE','_retryConnectingTimer','fetchMissingChangesets','subscribe','_nRounds','CONFLICT','_createHandler','UniverCollaborationPlugin','UNIVER_COLLABORATION_CLIENT_PLUGIN','&to=','isTransformChangesetsSuccess','HTTPRequest','registerHTTPInterceptor','_socketMessageSubscription','_onUserJoin','commentUpdate$','state$','_queuedRemoteChangesets','addImageSourceCache','AuthzIoHttpService','operators','_getDownloadEndpointURL','originalMeta','_singleActiveUnitService','isPermissionRej','getSheetBlock','10xkDFgN','message$','hostname','RECV','create','/fetchmissing?from=','code','UniverDrawing','_onOffline','_transitionLocked','collaboration-client.local-cache-service','INetworkConditionService','/universer-api/user/session-ticket','batchAllowed','_getSendChangesetTimeout','_collaborationTimeoutTimer','SUBMIT_CHANGESET_TIMEOUT','_httpService','indexOf','push','OTHER_CLIENTS_EDITING','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketService','crypto','_doCryptBlock','OFFLINE','YUUMI_NO_CUBOID_FOR_QUESTION','lib','1429460HFQTHQ','sheets','YUUMI_ASYNCIO_CANCELLED','onMissedChangesetFetched','getDeserializedSheetBlock','telemetry\x20info\x20is\x20not\x20initialized','_sendingTimer','image/jpeg','withCredentials','MemberService','awaiting','data','compute','onTransformRemoteChangesetByIMECache','responseType','sessionStatus$','from','_xformMode','_permissionService','Base','changesets','SheetTransformSelectionsService','HttpImport','INVITE_CODE_ALREADY_BOUND','\x0aCurrent:\x20','_collabSessionService','_keySchedule','SheetsSelectionsService','Subject','loginUrlKey','set','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrentUser','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getRoom','SNAPSHOT_INVALID_SNAPSHOT','RevisionService','splice','[PendingState]:\x20received\x20rejection.','liveShareNewHost','not_collab','ENSURE_SNAPSHOT_EXECUTION','complete','ONLINE','onRemoteChangeset','session.room-not-exists','key','ISnapshotServerService','CollaborationEntity','_roomCreated$','_univerInstanceService','_unitInfo$','RETRY_CONNECTING_MAX_COUNT_KEY','_redoStacks','getMember','EMAIL_VERIFY_CODE_MISMATCH','socket\x20open.','_initUnitPermissionChange','/collaborator','_showConflictNotification','onMissingChangesets','SHA1','MOBILE_VERIFY_CODE_MISMATCH','EvpKDF','transformSelections','unitId','_sessionStatus$','[CollaborationSession]','decrypt','ConflictState','CollaborationSessionService','UniverDocs','27751691fClwcG','/universer-api/comb','_startCollaboration','_commentUpdate$','_instanceService','YUUMI_UNABLE_LOAD_URL','NO_OTHER_CLIENTS_EDITING','joinRsp','localCacheService','reqId','_updateState','values','SheetCollaborationEntity','find','localeService','roomInfos','getUnit','executeCommand','@univerjs/drawing','takeUntil','\x0aAfter:\x20','updatePermissionObjEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','hasher','default','_map','liveShareOperation','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','retryConnectingInterval','HMAC','WordArray','_getAPIPrefix','fetchThroughInterceptors','filter','UniverProLicense','_waitForHeartbeatResponse','Hasher','_clearRedo','objectType','objects','_minBufferSize','IPermissionService','UserProfileImg','infoRsp','processBlock','[PendingState]:\x20received\x20acknowledgement.','next','OTHER_CLIENT_EDITING','image/gif','createSocket','_collaborationUIEventService','USERS_LEAVE','UNIVER_DOC','_config','get','_incrementRevisionNumber','_awaitingChangeset','_lockTransition','resend','UNISCRIPT_RUN','/unit/','_createSocket','updateMember','parse','blockSize','SOCKET_FAILED','DATA_SOURCE_TOO_LARGE','ENTITLE_DUP_SUBSCRIPTION','saveImage','_clearUndo','SUBMIT_CHANGESET','/object/','CONNECTOR_DATA_TOO_LARGE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ILogService','apply','fetching\x20missing\x20changesets\x20from\x20','ILocalCacheService','unitId\x20is\x20not\x20found','JOIN_ROOM_FULL','size','downloadEndpointUrl','encryptBlock','SNAPSHOT_HAS_BEEN_REMOVED','algo','onTransformRemoteChangesetByStateCache','_socket','_rescheduleHeartbeat','conflict','CollaborationImageIoService','HEARTBEAT_TIMEOUT_KEY','finalize','$super','ITransformService','Failed\x20to\x20update\x20permission\x20point','DisposableCollection','reconnect','charAt','StreamCipher','format','UniverCollaborationClientPlugin','random','getUnitId','AES','salt','Could\x20not\x20dynamically\x20require\x20\x22','getSnapshotAPIPath','loadOfflineData','onStarting','toDisposable','ERROR_IMAGE_TYPE','_hasher','USERS_ENTER','interceptor','AwaitingWithPendingState','permissionRejEvent','PENDING','AUTHORIZE_CODE_ILLEGAL','BehaviorSubject','onStateChange','ClipsheetFragments','UPDATE_PERMISSION_OBJ','getImageSourceCache','sigBytes','transformUndoRedo','UNIVER_SHEET','_userManagerService','b64DecodeUnicode','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','340xzbsJq','_clearHeartbeatTimer','_data','_candidateSocket','userID','stopTime','UNKNOWN_CODE','collaMsg','CollaborationSession','name','_getSignURL'];_0x1677=function(){return _0x182f6e;};return _0x1677();}
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
(function(
|
|
5
|
+
function _0x350f(_0x1a12db,_0x288da1){var _0x3635af=_0x3635();return _0x350f=function(_0x350fcc,_0x5efc80){_0x350fcc=_0x350fcc-0xe2;var _0x13f87b=_0x3635af[_0x350fcc];return _0x13f87b;},_0x350f(_0x1a12db,_0x288da1);}(function(_0x431062,_0x49cfa7){var _0x3bafa4=_0x350f,_0xe4842a=_0x431062();while(!![]){try{var _0x2013af=parseInt(_0x3bafa4(0x115))/0x1+parseInt(_0x3bafa4(0xf5))/0x2+-parseInt(_0x3bafa4(0xf3))/0x3*(parseInt(_0x3bafa4(0x107))/0x4)+parseInt(_0x3bafa4(0x10c))/0x5+parseInt(_0x3bafa4(0xee))/0x6+-parseInt(_0x3bafa4(0xe9))/0x7+-parseInt(_0x3bafa4(0xfa))/0x8;if(_0x2013af===_0x49cfa7)break;else _0xe4842a['push'](_0xe4842a['shift']());}catch(_0x224297){_0xe4842a['push'](_0xe4842a['shift']());}}}(_0x3635,0xd3248),function(_0x30c58e,_0x158d30){var _0x1b967b=_0x350f;typeof exports=='object'&&typeof module<'u'?_0x158d30(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x1b967b(0x104)&&define[_0x1b967b(0xe5)]?define([_0x1b967b(0xfc),_0x1b967b(0xe6),_0x1b967b(0x113),_0x1b967b(0xf0),'@univerjs/core',_0x1b967b(0xf9)],_0x158d30):(_0x30c58e=typeof globalThis<'u'?globalThis:_0x30c58e||self,_0x158d30(_0x30c58e[_0x1b967b(0xfd)]={},_0x30c58e[_0x1b967b(0xf7)],_0x30c58e[_0x1b967b(0xef)],_0x30c58e[_0x1b967b(0xe7)],_0x30c58e[_0x1b967b(0x10e)],_0x30c58e[_0x1b967b(0xf9)]));}(this,function(_0x41ac2a,_0x36535c,_0x355a7f,_0x53573a,_0x2ed65c,_0x8337b1){'use strict';var _0x1bedcb=_0x350f;var _0x3fbdb6=Object[_0x1bedcb(0x100)],_0x2a719b=(_0x5b7c25,_0x1e8694,_0x3f70e7,_0x2ae772)=>{var _0x27fba4=_0x1bedcb;for(var _0x17db19=_0x2ae772>0x1?void 0x0:_0x2ae772?_0x3fbdb6(_0x1e8694,_0x3f70e7):_0x1e8694,_0x681ca7=_0x5b7c25[_0x27fba4(0x111)]-0x1,_0x3207cf;_0x681ca7>=0x0;_0x681ca7--)(_0x3207cf=_0x5b7c25[_0x681ca7])&&(_0x17db19=_0x3207cf(_0x17db19)||_0x17db19);return _0x17db19;},_0x142842=(_0x5bf7e5,_0xed6a48)=>(_0x132cb4,_0x4fd8f1)=>_0xed6a48(_0x132cb4,_0x4fd8f1,_0x5bf7e5);_0x41ac2a[_0x1bedcb(0xe2)]=class extends _0x355a7f[_0x1bedcb(0xf4)]{constructor(_0x3a8d96,_0x258388,_0x417193,_0x7acab4,_0x5f08a2){var _0x1c09fc=_0x1bedcb;super(),this['_handler']=_0x3a8d96,this[_0x1c09fc(0xe8)]=_0x258388,this[_0x1c09fc(0xe3)]=_0x417193,this[_0x1c09fc(0xf2)]=_0x7acab4,this[_0x1c09fc(0xf6)]=_0x5f08a2;}async[_0x1bedcb(0xec)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x200d95=_0x1bedcb;throw new Error(_0x200d95(0xeb));}async['loadSheet'](_0x26943a){var _0x934b2c=_0x1bedcb;return this[_0x934b2c(0x10a)](_0x26943a);}async['loadSheetAsync'](_0x2292c9,_0x51d9c8){var _0x540fd6=_0x1bedcb;return await this[_0x540fd6(0xf2)][_0x540fd6(0xf1)](_0x2292c9,0x0,_0x51d9c8)?(await this[_0x540fd6(0xf6)]['readyForCollab'](_0x2292c9),this['_handler'][_0x540fd6(0x116)](_0x2292c9)):null;}['subscribeCollaborators'](_0x18730a,_0x50cdc8){var _0x10ca7b=_0x1bedcb;const _0x4d09ad=this['_injector']['get'](_0x36535c['MemberService'])[_0x10ca7b(0x110)](_0x18730a)['pipe'](_0x8337b1[_0x10ca7b(0x103)](_0x14752e=>_0x14752e[_0x10ca7b(0xed)]))[_0x10ca7b(0x101)](_0x4e0a04=>_0x50cdc8(Array['from'](_0x4e0a04[_0x10ca7b(0x109)]())));return _0x2ed65c['toDisposable'](_0x4d09ad);}},_0x41ac2a[_0x1bedcb(0xe2)]=_0x2a719b([_0x142842(0x1,_0x2ed65c[_0x1bedcb(0x105)](_0x2ed65c[_0x1bedcb(0x10b)])),_0x142842(0x2,_0x2ed65c[_0x1bedcb(0x114)]),_0x142842(0x3,_0x2ed65c[_0x1bedcb(0x105)](_0x53573a[_0x1bedcb(0xe4)])),_0x142842(0x4,_0x2ed65c[_0x1bedcb(0x105)](_0x36535c[_0x1bedcb(0xfb)]))],_0x41ac2a['FCollaboration']);class _0x132580 extends _0x355a7f[_0x1bedcb(0x108)]{['getCollaboration'](){var _0x496e5a=_0x1bedcb;return this[_0x496e5a(0xe8)][_0x496e5a(0xff)](_0x41ac2a[_0x496e5a(0xe2)],{'getUniverSheet':_0x1b14d3=>this[_0x496e5a(0x116)](_0x1b14d3)});}[_0x1bedcb(0x112)](_0x4a034e,_0x189b1f,_0x33a516){var _0x5a1160=_0x1bedcb;return this[_0x5a1160(0xe8)][_0x5a1160(0xea)](_0x36535c[_0x5a1160(0xf8)])[_0x5a1160(0x106)](_0x4a034e,_0x189b1f,_0x33a516);}[_0x1bedcb(0xfe)](_0x5c0efe,_0x18bd2e,_0x54faf3){var _0x37b5a4=_0x1bedcb;return this[_0x37b5a4(0xe8)]['get'](_0x36535c[_0x37b5a4(0xf8)])['loadUnitOfRevision'](_0x5c0efe,_0x18bd2e,_0x54faf3);}}_0x355a7f[_0x1bedcb(0x108)][_0x1bedcb(0x10d)](_0x132580),Object[_0x1bedcb(0x102)](_0x41ac2a,Symbol['toStringTag'],{'value':_0x1bedcb(0x10f)});}));function _0x3635(){var _0x5d7826=['getUniverSheet','FCollaboration','_univerInstanceService','SnapshotService','amd','@univerjs-pro/collaboration-client','UniverProCollaboration','_injector','8269513aMRbnC','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','members$','3570714GgzlOf','UniverCoreFacade','@univerjs-pro/collaboration','loadSheet','_snapshotService','2528781Cehufn','FBase','2567456IKhOoA','_collaborationController','UniverProCollaborationClient','DataLoaderService','rxjs','6708328JrdQVg','CollaborationController','exports','UniverProCollaborationClientFacade','loadServerUnitOfRevision','createInstance','getOwnPropertyDescriptor','subscribe','defineProperty','switchMap','function','Inject','loadUnit','4EEmyJR','FUniver','values','loadSheetAsync','Injector','6744870sszaDZ','extend','UniverCore','Module','waitForRoom$','length','loadServerUnit','@univerjs/core/facade','IUniverInstanceService','499846kxAATa'];_0x3635=function(){return _0x5d7826;};return _0x3635();}
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x4979(){const _0x53db31=['useCallback','values','_refreshCollabCursors','_transformHistoryAndStateStack','cursorInfo$','LICENSE_DISTRO_REJECTED','_docTransformIMECacheService','IUniverInstanceService','m1Prime','_doCreateSocket','UniverCollaborationClientUIPlugin','UniverRpc','_initEvent','_httpService','setStateCache','permission.title','NOT_COLLAB','UniverDocsUi','Loading','OFFLINE','http://www.w3.org/2000/svg','clearInterval','setShapeProps','_scheduleSaving','parseInt','getActiveRange','translate(.97)','onStarting','_initCommandExecutedListener','eventID','/run/','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_releaseCalculationLimit','CollaborationSocketService','AUTHORIZE_CODE_ILLEGAL','wsSessionTicketUrl','backgroundColor','_scheduleHeartbeat','startRow','_docSyncEditingCollabCursorService','white','location','INVITE_CODE_ALREADY_BOUND','0\x200\x2016\x2016','width','isEditing','debug','DisposableCollection','string','RegularPolygon','_initCommandInterceptor','REDEMPTION_INVALID_CODE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unsubscribe','UniverSheetsUi','react/jsx-runtime','_colorIndex','_initStatusComponent','REDEMPTION_CODE_INACTIVE','_collabCursorState$','APPLY_NON_SEQUENTIAL_REVISION','forwardRef','_checkAndWaitForCalculationPermission','unshift','complete','WECHAT_HAS_BEEN_BOUND','_getSessionTicket','mapTo','15XQcUQE','CLOSE_ROOM','ENTITLE_INSUFFICIENT_QUOTA','setUndoRedoMutationParamsCache','entityInit$','loadUnit','Disposable','length','runId','CONNECTOR_DATA_TOO_LARGE','getCollabCursors$','#FFF','releaseFormulaLimitUrl','DocSelectionManagerService','round','formula.calculation.started','SUBMIT_CHANGESET_TIMEOUT','transformIMECache','onLocalMutation','isTransformMutationsWithChangesetSuccess','mutations','REDEMPTION_USER_NOT_ELIGIBLE','UniverIcon','session.collaboration-timeout','_maxFormulaLimit','_session','_cursorShapes','defs','_syncEditingCollabCursorService','connectInjector','USER_NOT_INVITED_CODE','_getScale','stage','filter','DeleteRangeMoveLeftCommandId','href','urlChange$','_id','OnLineIcon','PY_RUNTIME_SCRIPT_ERROR','1em','amd','INTERNAL_ERROR','generateRandomId','UniverInstanceType','uni.network.url-service','Rectangle','_selfUnitIDs','_unitStatus','unit','10euKbUB','REDEMPTION_CODE_NOT_STARTED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','on-line-icon_clip0_910_349','_scene','_collaborationController','React','ENSURE_SNAPSHOT_EXECUTION','_color','send','_injector','UniverDrawing','merge','ITransformService','functionsExecutedState','Workbook','dispose','totalFormulasToCalculate','save','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','handleInsertCol','parse','_getSaveTimeout','UNDEFINED','PAYMENT_CHANNEL_NOT_SUPPORT','combineLatest','_transformService','search','roomMembers$','currentColor','_disabled','useDependency','registerRenderModule','onMouseMove','handleInsertRow','@univerjs-pro/collaboration-client','useRef','skeleton','IDocClipboardService','limitInfo','forEach','url(#off-line-icon_clip0_910_343)','_instanceService','_onCursorUpdate','_updateCollabCursors','ENTITLE_DUP_SUBSCRIPTION','univer-flex\x20univer-items-center','handleInsertRangeMoveDown','collab-client.tooltip.reconnect','3349578MICfAe','_anchorDot','CollaborationUIEventId','_docStateChangeManagerService','APPLY_DUPLICATED','RemoveColCommandId','runOnServer','throttleTime','@univerjs/ui','init','getOwnPropertyDescriptor','has','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','shareReplay','ILogService','@univerjs/sheets-ui','_send','_handleHover','transformMutationsWithChangeset','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_backgroundColor','Module','disableLocalCache','redoState','debounceTime','removeParam','getUndoRedoMutationParamsCache','asObservable','AWAITING_WITH_PENDING','Vector2','url(#on-line-icon_clip0_910_349)','RECT','_getMergeRange','_drawRectRange','Failed','get','COMPLETION_FINISHED','@univerjs/network','getUnitStatus$','_currentUsage','clipPath','_imageIoService','...','subscribeEvent','yellow.400','getLocalCacheKey','includes','key','_startDocCollabCursor','origin','collaboration-client.offline-data-not-saved','flatMap','docStateChange$','exports','executionId','status$','YUUMI_SUBSCRIPTION_NOT_FOUND','colorChannel1','EffectRefRangId','ENTITLE_REPORT_LIMIT_EXCEED','UniverUi','1332oeTEfP','UNRECOGNIZED','assignAColorForMemberID','149788jMOdmt','PERMISSION_DENIED','getCurrentUnitForType','_online','_initEntityListener','blue.400','@univerjs/engine-render','HEADER_MENU','SheetsSelectionsService','LICENSE_MAX_UNITS_EXCEEDED','getSkeleton','/universer-api/license/formula/limit/done','collabStatus.notCollab','cursorInfo','_initResize','SYNCED','getItem','_onCursorDelete','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_setupSubUnitSync','_localCacheService','LOGIN_TOKEN_PROCESSING_FAILED','transformMutation','UniverProCollaborationClientUi','collab-text-range-','_handleHeartbeatEvent','color','now','_document','red.300','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getUnhiddenWorksheets','DesktopCollaborationStatusDisplayController','focused$','next','_cursorInfo$','use','off-line-icon','endColumn','RichTextEditingMutation','split','_initStatusListener','FormulaExecuteStageType','BrowserCollaborationSocketService','42248oEFjbC','source','YUUMI_AI_RUN_FAILED','RefRangeService','INVALID_INVITE_CODE','UniverDocs','getOffsetConfig','LocaleService','setConfig','_clearOtherTimers','_name','ALREADY_EXISTS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fill','Shape','createElement','_context','doc.mutation.rich-text-editing','delete','black','CURRENT_STATUS_CANNOT_OPERATE','switchMap','CollaborationDataLoaderController','getMemberID','INVITE_CODE_HAS_BEEN_UES','FormulaExecutedStateType','getTypeOfUnitAdded$','isTransformMutationFailure','UNAUTHENTICATED','getViewport','onCommandExecuted','UNIVER_SHEET','BehaviorSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','YUUMI_UNABLE_LOAD_URL','_commandService','drawWith','_collabSessionService','isFormulaString','collabStatus.offline','getCoordByCell','distinctUntilChanged','INVALID_ARGUMENT','_renderManagerService','MemberService','row','_handleJoinEvent','COLORS','IMessageService','getValue','_init','InsertRangeMoveDownCommandId','892572oqWFRf','column','_getSheetObject','getMergeData','UniverProCollaboration','history','UniverDesign','substring','OTHER_CLIENT_EDITING','_getFormulaLimitStatus','createInstance','disposeUnit','DATA_SOURCE_TOO_LARGE','getFocusedUnit','evenodd','REDEMPTION_CODE_FULLY_REDEEMED','_beforeCloseService','InsertRowCommandId','currentSkeleton$','unitId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','SUCCESS','2109486kYwnBf','DocIMEInputManagerService','_uiPartsService','getCellMatrix','undoState','type','_checkCalculationAvailable','3456255jokHiY','_memberService','_heartbeatTimer','7axmmyD','getCurrent','_assignedColors','OTHER_CLIENTS_EDITING','_docTransformStateCacheService','post','APPLY_REJECT','Tools','@univerjs/core','Subject','pipe','symbol','_startSheetCollabCursor','_toggleOffline','getDocRanges','Error','_collabCursorController','UniverCollaborationClientPlugin','ColorKit','_pollingInterval','getColor','requireSession','_entityInit$','pushState','IUIPartsService','operators','@univerjs/design','@univerjs/engine-formula','IBeforeCloseService','exhaustSavingTask','_toggleOnline','IConfigService','deepClone','SetFormulaCalculationStartMutation','hide','EMAIL_HAS_BEEN_BOUND','DOC_RANGE_TYPE','_getAnchorBounding','idSuffix','_revisionService','_removeClearOtherTimer','_messageService','SessionStatus','transformByState','START_CALCULATION','height','0\x200\x2017\x2016','assign','fromEventSubject','IRenderManagerService','range','_entities','ILocalCacheService','CollaborationSessionService','registerRefRange','_clearPolling','find','CollaborationEvent','updateOfflineData','_lastResponseTimestamp','Inject','purple.300','_anchor','MessageType','Unknown\x20user','replaceState','_docClipboardService','YUUMI_CONNECTOR_URL_NOT_FOUND','subunit','_localStorageService','MOBILE_HAS_BEEN_BOUND','_scheduleClearOtherTimer','collaboration.single-unit.warning','_notificationService','getCellPositionByOffset','Injector','_range','_hasFormulaInDirtyRanges','takeUntil','SNAPSHOT_INVALID_SNAPSHOT','startsWith','TEXT_RANGE_LAYER_INDEX','SHEET_VIEWPORT_KEY','rgba(255,\x20255,\x20255,\x200.01)','collabStatus.conflict','ThemeService','rxjs','_showGuardMessage','getRenderById','dispose$','handleIRemoveCol','popstate','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','with','_createSocketURL','_setupBeforeClosingHandler','getRangePointData','div','NodePositionConvertToCursor','onRendered','none','LICENSE_EXPORT_SIZE_EXCEEDED','roomMembers','setAlpha','triggerDblclick','_draw','set','arc','addHandlerCallback','startFormulaLimitUrl','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','INVITE_CODE_REQUIRED','getCurrentRevOfUnit','_lastPointer','RemoveRowCommandId','handleMoveRange','onTransformChange$','mask','entries','UniverSheets','Rect','_docTransformSelectionsService','_hover','toString','@univerjs/docs-ui','svg','getConfig','currentUsage','_setFormulaLimitStatus','attrs','_ensureSubject','moveTo','_drawTextRange','isArray','add','error','whenReady','findNodePositionByCharIndex','collabStatus.syncing','text','Warning','_startCalculationLimit','TOO_MANY_REQUESTS','fillStyle','on-line-icon','Optional','WebBrowserSingleActiveUnitService','WebURLService','UPDATE_CURSOR','_shapes','useObservable','MoveRangeCommandId','_textBubble','FETCH_MISS','/universer-api/license/formula/limit/start','session.connection-failed','@univerjs-pro/collaboration','addObjects','collabStatus.fetchMiss','_unitOnClients','invokeId','getSheetId','isActive','setActiveRange','APPLY_PERMISSION_DENIED','onPointerMove$','session.will-retry','object','syncEditingCollabCursor','REDEMPTION_CODE_HAS_BEEN_CREATED','map','m2Prime','ranges','CanceledError','_collaborationUIEventService','getMember','_taskIds','INotificationService','rxjs/operators','CONFLICT','[CollaborationDataLoaderController]','debounce','JOIN_ROOM_FAILED','VIEW_MAIN','collabCursorState$','_drawAnchor','CollaborationStatus','_status$','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','_configService','size','_hideTimer','USER_IS_ANONYMOUS','collabStatus.synced','endRow','disposeWithMe','_applyCommand','getVpScrollXYInfoByPosToVp','WebSocketService','unitID','_initDependencies','getAncestorScale','random','addObject','params','_colorAssignService','fillText','DocStateChangeManagerService','setItem','selection','event$','transformRemoteChangeset','toDisposable','saveTaskMap','from','fromEvent','_logService','hovered','makeDirty','top','_updateSubUnitFromURLParams','mergeOverrideWithDependencies','registerComponent','jsxs','getUnitId','_transformPreviousActiveRange','_saveCache','pluginName','_onRefRangeChange','push','ticket','_removeCollabCursors','body','max','unload','YUUMI_ALL_TABLES_IS_INVALID','bottom','measureText','_updateURLWithCurrentState','startColumn','collaboration-client-ui.config','_hovered','react','_updateLocalCursor','EMAIL_VERIFY_CODE_MISMATCH','getColorFromTheme','setParam','editingUnit','_render','replaceDocRanges','function','SheetCollabCursorShape','FromArray','RevisionService','actions','IRemoteInstanceService','ACTIVE_UNIT_EVENT_CHANNEL','SetWorksheetActivateCommand','name','url(#$1','SetFormulaCalculationNotificationMutation','subscribe','currentTheme$','clearTimeout','_transformUndoRedoStack','deserializeRangeWithSheet','IURLService','univer-mr-2\x20univer-flex\x20univer-text-xl','863271bDTJFI','LOGIN_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ISnapshotServerService','_localeService','UNIVER_DOC','setTimeout','sessionTicket','shift','executeCommand','_cursor','UnitStatus','jsx','path','jiqing.500','NOT_FOUND','addEventListener','engine','sheetID','sheetId','_handleLeaveEvent','YUUMI_RATE_OVER_LIMIT','Tooltip','APPLY_REVISION_CONFILICT','stringify','ENTITLE_NEED_BILLING_ADDRESS','_docSkeletonManagerService','_handleEvent','_labelPosition','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','tag','TEXT','textRanges','getSheetBySheetId','CollaborationUIEventService','ICommandService','xlink:href','onPointerEnter$','green.600','beginPath','data','maxFormulaLimit','_themeService','_docSkeleton','font','getUniverSheetInstance','_registerRenderDependencies','getParam','SOCKET_FAILED_RETRY','_config','_saveTaskMap','off-line-icon_clip0_910_343','trim','searchParams','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/drawing','_univerInstanceService','_cursors','SetTextSelectionsOperation','show','code','children','defineProperty','ONLINE','getActiveSheet','onPointerLeave$','getSheetObject','_refRangeService','transformStateCache','serializeRangeWithSheet','YUUMI_ASYNCIO_CANCELLED','OffLineIcon','some','createIdentifier','ISocketService','imageSourceType','contains','_roomMembers$','_urlService','result','CHANGESET_REVISION_CONFILICT','lineTo','getCollabEntity$','restore','replace','RemoteUniscriptService','_eventUnsubscribe','displayName','_sheetSkeletonManagerService','RxDisposable','newValue','then'];_0x4979=function(){return _0x53db31;};return _0x4979();}function _0x102e(_0x58df1d,_0x5c38ea){const _0x4979fd=_0x4979();return _0x102e=function(_0x102e13,_0x567b95){_0x102e13=_0x102e13-0xf1;let _0x1f8066=_0x4979fd[_0x102e13];return _0x1f8066;},_0x102e(_0x58df1d,_0x5c38ea);}(function(_0x5b3a53,_0x4b8bf4){const _0x11d267=_0x102e,_0x106520=_0x5b3a53();while(!![]){try{const _0x5eba0f=-parseInt(_0x11d267(0x172))/0x1+parseInt(_0x11d267(0x2b5))/0x2+parseInt(_0x11d267(0x32b))/0x3+-parseInt(_0x11d267(0x315))/0x4*(-parseInt(_0x11d267(0x212))/0x5)+parseInt(_0x11d267(0x275))/0x6*(-parseInt(_0x11d267(0x335))/0x7)+parseInt(_0x11d267(0x2e1))/0x8*(parseInt(_0x11d267(0x2b2))/0x9)+-parseInt(_0x11d267(0x244))/0xa*(parseInt(_0x11d267(0x332))/0xb);if(_0x5eba0f===_0x4b8bf4)break;else _0x106520['push'](_0x106520['shift']());}catch(_0xb15753){_0x106520['push'](_0x106520['shift']());}}}(_0x4979,0x78716),function(_0x448c1a,_0x9747d5){const _0x579ec5=_0x102e;typeof exports==_0x579ec5(0x10d)&&typeof module<'u'?_0x9747d5(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==_0x579ec5(0x160)&&define[_0x579ec5(0x23b)]?define([_0x579ec5(0x2aa),_0x579ec5(0x205),_0x579ec5(0x267),_0x579ec5(0x33d),_0x579ec5(0x27d),_0x579ec5(0x38b),_0x579ec5(0x34f),_0x579ec5(0x158),'@univerjs/rpc','@univerjs/sheets',_0x579ec5(0x2bb),_0x579ec5(0x29a),_0x579ec5(0x3b1),_0x579ec5(0x1a9),_0x579ec5(0x102),'@univerjs/docs',_0x579ec5(0x350),_0x579ec5(0x118),_0x579ec5(0x284)],_0x9747d5):(_0x448c1a=typeof globalThis<'u'?globalThis:_0x448c1a||self,_0x9747d5(_0x448c1a[_0x579ec5(0x2cc)]={},_0x448c1a[_0x579ec5(0x24a)],_0x448c1a['UniverProCollaborationClient'],_0x448c1a['UniverCore'],_0x448c1a[_0x579ec5(0x2b1)],_0x448c1a[_0x579ec5(0x38b)],_0x448c1a[_0x579ec5(0x31b)],_0x448c1a[_0x579ec5(0x24a)],_0x448c1a[_0x579ec5(0x1d9)],_0x448c1a[_0x579ec5(0x3ac)],_0x448c1a['UniverEngineRender'],_0x448c1a['UniverNetwork'],_0x448c1a[_0x579ec5(0x1df)],_0x448c1a[_0x579ec5(0x24f)],_0x448c1a[_0x579ec5(0x319)],_0x448c1a[_0x579ec5(0x2e6)],_0x448c1a['UniverEngineFormula'],_0x448c1a[_0x579ec5(0x38b)][_0x579ec5(0x34e)],_0x448c1a[_0x579ec5(0x204)]));}(this,function(_0x1f8ef7,_0x1decf1,_0x41e580,_0x1f5e5b,_0x167676,_0x33c65e,_0x121096,_0x57692a,_0x45af0e,_0x1ab847,_0x1d0d67,_0x2d69ac,_0x5d0631,_0xfcb421,_0xe2b8d2,_0x28c037,_0x4a4c4d,_0x5401d8,_0x519bb2){'use strict';const _0x4af273=_0x102e;var _0x56321e=Object[_0x4af273(0x1b0)],_0x27051a=(_0x242a41,_0xc386fd,_0x1add81)=>_0xc386fd in _0x242a41?_0x56321e(_0x242a41,_0xc386fd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1add81}):_0x242a41[_0xc386fd]=_0x1add81,_0x2cf944=(_0x4d22ea,_0x3df5d8,_0x46ec92)=>_0x27051a(_0x4d22ea,typeof _0x3df5d8!=_0x4af273(0x340)?_0x3df5d8+'':_0x3df5d8,_0x46ec92);function _0x11032c({ref:_0x278643,..._0x496673}){const _0x468e42=_0x4af273,{icon:_0x54a1f9,id:_0x2fcfbc,className:_0x70ef3e,extend:_0x4f53f4,..._0x18aec2}=_0x496673,_0x5be3c0=('univerjs-icon\x20univerjs-icon-'+_0x2fcfbc+'\x20'+(_0x70ef3e||''))[_0x468e42(0x1a6)](),_0x53ebfa=_0x57692a[_0x468e42(0x268)]('_'+_0x116901());return _0x1c41ec(_0x54a1f9,''+_0x2fcfbc,{'defIds':_0x54a1f9['defIds'],'idSuffix':_0x53ebfa['current']},{'ref':_0x278643,'className':_0x5be3c0,..._0x18aec2},_0x4f53f4);}function _0x1c41ec(_0x3ab379,_0x2c4cf0,_0x2174f0,_0x3b4107,_0x34741a){const _0x465fb0=_0x4af273;return _0x57692a[_0x465fb0(0x2f0)](_0x3ab379[_0x465fb0(0x190)],{'key':_0x2c4cf0,..._0x64cb67(_0x3ab379,_0x2174f0,_0x34741a),..._0x3b4107},(_0x23921f(_0x3ab379,_0x2174f0)[_0x465fb0(0x1af)]||[])[_0x465fb0(0x110)]((_0x1e183b,_0x9b589a)=>_0x1c41ec(_0x1e183b,_0x2c4cf0+'-'+_0x3ab379[_0x465fb0(0x190)]+'-'+_0x9b589a,_0x2174f0,void 0x0,_0x34741a)));}function _0x64cb67(_0x321fbd,_0x2892f0,_0x15e990){const _0xb3083a=_0x4af273,_0x59296b={..._0x321fbd[_0xb3083a(0x3b6)]};_0x15e990!=null&&_0x15e990[_0xb3083a(0x2ae)]&&_0x59296b['fill']===_0xb3083a(0x2ae)&&(_0x59296b[_0xb3083a(0x2ee)]=_0x15e990['colorChannel1']),_0x321fbd[_0xb3083a(0x190)]===_0xb3083a(0x3aa)&&_0x59296b['id']&&(_0x59296b['id']=_0x59296b['id']+_0x2892f0[_0xb3083a(0x35b)]),Object[_0xb3083a(0x3ab)](_0x59296b)[_0xb3083a(0x26c)](([_0x202592,_0x152297])=>{const _0x5cb3d8=_0xb3083a;_0x202592===_0x5cb3d8(0x3aa)&&typeof _0x152297==_0x5cb3d8(0x1fe)&&(_0x59296b[_0x202592]=_0x152297['replace'](/url\(#(.*)\)/,_0x5cb3d8(0x169)+_0x2892f0[_0x5cb3d8(0x35b)]+')'));});const {defIds:_0x4442b3}=_0x2892f0;return!_0x4442b3||_0x4442b3[_0xb3083a(0x219)]===0x0||(_0x321fbd['tag']===_0xb3083a(0x2d9)&&_0x59296b[_0xb3083a(0x196)]&&(_0x59296b['xlink:href']=_0x59296b[_0xb3083a(0x196)]+_0x2892f0[_0xb3083a(0x35b)]),Object[_0xb3083a(0x3ab)](_0x59296b)[_0xb3083a(0x26c)](([_0x16115f,_0x4f82ba])=>{const _0x5c6e3b=_0xb3083a;typeof _0x4f82ba=='string'&&(_0x59296b[_0x16115f]=_0x4f82ba[_0x5c6e3b(0x1c6)](/url\(#(.*)\)/,_0x5c6e3b(0x169)+_0x2892f0[_0x5c6e3b(0x35b)]+')'));})),_0x59296b;}function _0x23921f(_0x283d7b,_0x2746a1){const _0x102671=_0x4af273;var _0x50f1f0;const {defIds:_0x52813c}=_0x2746a1;return!_0x52813c||_0x52813c[_0x102671(0x219)]===0x0?_0x283d7b:_0x283d7b[_0x102671(0x190)]===_0x102671(0x22d)&&((_0x50f1f0=_0x283d7b[_0x102671(0x1af)])!=null&&_0x50f1f0[_0x102671(0x219)])?{..._0x283d7b,'children':_0x283d7b[_0x102671(0x1af)][_0x102671(0x110)](_0x25cf14=>typeof _0x25cf14[_0x102671(0x3b6)]['id']==_0x102671(0x1fe)&&_0x52813c&&_0x52813c[_0x102671(0x2a3)](_0x25cf14[_0x102671(0x3b6)]['id'])?{..._0x25cf14,'attrs':{..._0x25cf14[_0x102671(0x3b6)],'id':_0x25cf14['attrs']['id']+_0x2746a1['idSuffix']}}:_0x25cf14)}:_0x283d7b;}function _0x116901(){const _0x2464b6=_0x4af273;return Math[_0x2464b6(0x130)]()['toString'](0x24)[_0x2464b6(0x31c)](0x2,0x8);}_0x11032c['displayName']=_0x4af273(0x228);const _0x16ec71={'tag':_0x4af273(0x3b2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4af273(0x399),'viewBox':_0x4af273(0x1f9),'width':'1em','height':_0x4af273(0x23a)},'children':[{'tag':'g','attrs':{'clipPath':_0x4af273(0x26d)},'children':[{'tag':_0x4af273(0x17f),'attrs':{'stroke':_0x4af273(0x261),'d':_0x4af273(0x122),'strokeLinecap':_0x4af273(0x220),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4af273(0x22d),'attrs':{},'children':[{'tag':_0x4af273(0x29d),'attrs':{'id':_0x4af273(0x1a5)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4af273(0x1a5)]},_0x3913d5=_0x57692a[_0x4af273(0x20b)](function(_0x4440f7,_0x287b67){const _0x517966=_0x4af273;return _0x57692a[_0x517966(0x2f0)](_0x11032c,Object[_0x517966(0x364)]({},_0x4440f7,{'id':_0x517966(0x2da),'ref':_0x287b67,'icon':_0x16ec71}));});_0x3913d5[_0x4af273(0x1c9)]=_0x4af273(0x1b9);const _0x4e5744={'tag':_0x4af273(0x3b2),'attrs':{'xmlns':_0x4af273(0x1e2),'fill':'none','viewBox':_0x4af273(0x363),'width':_0x4af273(0x23a),'height':_0x4af273(0x23a)},'children':[{'tag':'g','attrs':{'clipPath':_0x4af273(0x293)},'children':[{'tag':'path','attrs':{'stroke':_0x4af273(0x261),'d':_0x4af273(0x3a3),'strokeLinecap':_0x4af273(0x220),'strokeLinejoin':_0x4af273(0x220),'strokeWidth':1.2}}]},{'tag':_0x4af273(0x22d),'attrs':{},'children':[{'tag':_0x4af273(0x29d),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x4af273(0x1f6),'d':'M0\x200H16V16H0z','transform':_0x4af273(0x1e8)}}]}]}],'defIds':[_0x4af273(0x247)]},_0x3c5cf8=_0x57692a[_0x4af273(0x20b)](function(_0x27d01e,_0x49be2c){const _0x429a5a=_0x4af273;return _0x57692a['createElement'](_0x11032c,Object[_0x429a5a(0x364)]({},_0x27d01e,{'id':_0x429a5a(0xf6),'ref':_0x49be2c,'icon':_0x4e5744}));});_0x3c5cf8['displayName']=_0x4af273(0x238);function _0x2db869(_0x3089e5){const _0x18b585=_0x4af273;switch(_0x3089e5){case _0x41e580['CollaborationStatus'][_0x18b585(0x1e1)]:return _0x18b585(0x308);case _0x41e580[_0x18b585(0x120)][_0x18b585(0x119)]:return _0x18b585(0x389);case _0x41e580[_0x18b585(0x120)][_0x18b585(0xff)]:return _0x18b585(0x104);case _0x41e580['CollaborationStatus'][_0x18b585(0x1de)]:return _0x18b585(0x2c1);case _0x41e580[_0x18b585(0x120)]['AWAITING']:case _0x41e580[_0x18b585(0x120)][_0x18b585(0x291)]:return _0x18b585(0x3bf);case _0x41e580[_0x18b585(0x120)][_0x18b585(0x2c4)]:case _0x41e580[_0x18b585(0x120)]['PENDING']:return _0x18b585(0x127);}}function _0x510730(_0x325cd5){const _0xd31820=_0x4af273,{status$:_0x81c732}=_0x325cd5,_0x5ae9=_0x167676[_0xd31820(0xfc)](_0x81c732,_0x41e580[_0xd31820(0x120)][_0xd31820(0x1de)]),_0x24dba8=_0x167676[_0xd31820(0x263)](_0x1f5e5b['LocaleService']),_0x3e5d2a=_0x167676[_0xd31820(0x263)](_0x41e580['CollaborationSessionService']),_0x555306=_0x5ae9!==_0x41e580[_0xd31820(0x120)][_0xd31820(0x1e1)],_0x2677d4=_0x24dba8['t'](_0x2db869(_0x5ae9)),_0x369f59=_0x555306?_0x1decf1['jsx'](_0x3c5cf8,{}):_0x1decf1[_0xd31820(0x17e)](_0x3913d5,{}),_0x40ca02=_0x57692a[_0xd31820(0x1ce)](()=>{_0x555306||_0x3e5d2a['reconnect']();},[_0x555306,_0x3e5d2a]);function _0x3a2eb3(){const _0x3fccd5=_0xd31820;return _0x1decf1[_0x3fccd5(0x145)](_0x3fccd5(0x396),{'className':_0x3fccd5(0x272),'onClick':_0x40ca02,'children':[_0x1decf1[_0x3fccd5(0x17e)]('div',{'className':_0x121096['clsx'](_0x3fccd5(0x171),{'univer-text-green-500':_0x555306,'univer-text-red-500':!_0x555306}),'children':_0x369f59}),_0x1decf1[_0x3fccd5(0x17e)](_0x3fccd5(0x396),{'className':_0x3fccd5(0x288),'children':_0x2677d4})]});}return _0x555306?_0x3a2eb3():_0x1decf1[_0xd31820(0x17e)](_0x121096[_0xd31820(0x188)],{'title':_0x24dba8['t'](_0xd31820(0x274)),'children':_0x3a2eb3()});}var _0x401a4d=Object[_0x4af273(0x27f)],_0x45eafe=(_0x1bc7d5,_0x503fae,_0x14f366,_0x214316)=>{const _0x21aecd=_0x4af273;for(var _0x10a7f2=_0x214316>0x1?void 0x0:_0x214316?_0x401a4d(_0x503fae,_0x14f366):_0x503fae,_0x1e5d4b=_0x1bc7d5[_0x21aecd(0x219)]-0x1,_0x6d653;_0x1e5d4b>=0x0;_0x1e5d4b--)(_0x6d653=_0x1bc7d5[_0x1e5d4b])&&(_0x10a7f2=_0x6d653(_0x10a7f2)||_0x10a7f2);return _0x10a7f2;},_0x2e6e65=(_0x178fa3,_0x36dcd6)=>(_0x416c07,_0x556071)=>_0x36dcd6(_0x416c07,_0x556071,_0x178fa3);_0x1f8ef7[_0x4af273(0x2d5)]=class extends _0x1f5e5b['Disposable']{constructor(_0x171bd9,_0x5722fa,_0x38b838,_0xe4cc4){const _0x195bfb=_0x4af273;super(),_0x2cf944(this,_0x195bfb(0x121),new _0x33c65e[(_0x195bfb(0x301))](_0x41e580[_0x195bfb(0x120)][_0x195bfb(0x1de)])),(this[_0x195bfb(0x1aa)]=_0x171bd9,this[_0x195bfb(0x24e)]=_0x5722fa,this[_0x195bfb(0x249)]=_0x38b838,this[_0x195bfb(0x32d)]=_0xe4cc4,this[_0x195bfb(0x207)](),this[_0x195bfb(0x2de)]());}[_0x4af273(0x2de)](){const _0x53b25a=_0x4af273;this[_0x53b25a(0x129)](this['_univerInstanceService'][_0x53b25a(0x2d6)][_0x53b25a(0x33f)](_0x33c65e['switchMap'](()=>{const _0x3ed8ef=_0x53b25a,_0x283b53=this[_0x3ed8ef(0x1aa)]['getFocusedUnit']();return _0x283b53?this[_0x3ed8ef(0x249)][_0x3ed8ef(0x1c4)](_0x283b53[_0x3ed8ef(0x146)]()):_0x33c65e['of'](null);}),_0x33c65e[_0x53b25a(0x2f6)](_0x13f6cf=>_0x13f6cf?_0x13f6cf[_0x53b25a(0x2ac)]:_0x33c65e['of'](_0x41e580['CollaborationStatus'][_0x53b25a(0x1de)])))[_0x53b25a(0x16b)](_0x4e884a=>{const _0x2b9808=_0x53b25a;this[_0x2b9808(0x121)][_0x2b9808(0x2d7)](_0x4e884a);}));}['_initStatusComponent'](){const _0x50c7b4=_0x4af273;this[_0x50c7b4(0x129)](this[_0x50c7b4(0x32d)][_0x50c7b4(0x144)](_0x167676['BuiltInUIPart'][_0x50c7b4(0x2bc)],()=>_0x167676[_0x50c7b4(0x22f)](_0x36284a({'status$':this[_0x50c7b4(0x121)][_0x50c7b4(0x290)]()}),this[_0x50c7b4(0x24e)])));}},_0x1f8ef7[_0x4af273(0x2d5)]=_0x45eafe([_0x2e6e65(0x0,_0x1f5e5b[_0x4af273(0x1d5)]),_0x2e6e65(0x1,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x2e6e65(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x41e580['CollaborationController'])),_0x2e6e65(0x3,_0x167676[_0x4af273(0x34d)])],_0x1f8ef7[_0x4af273(0x2d5)]);function _0x36284a(_0x5ae692){const {status$:_0x1e9126}=_0x5ae692;return function(){const _0x5593b6=_0x102e;return _0x1decf1[_0x5593b6(0x17e)](_0x510730,{'status$':_0x1e9126});};}const _0x5994ee=_0x1f5e5b[_0x4af273(0x1bb)](_0x4af273(0x23f));var _0x2f97d2=Object[_0x4af273(0x27f)],_0x37e98d=(_0xffa60,_0x1ec2bf,_0x151d82,_0x196f62)=>{const _0x5cc734=_0x4af273;for(var _0x5d5856=_0x196f62>0x1?void 0x0:_0x196f62?_0x2f97d2(_0x1ec2bf,_0x151d82):_0x1ec2bf,_0x418789=_0xffa60[_0x5cc734(0x219)]-0x1,_0x212e34;_0x418789>=0x0;_0x418789--)(_0x212e34=_0xffa60[_0x418789])&&(_0x5d5856=_0x212e34(_0x5d5856)||_0x5d5856);return _0x5d5856;},_0x19c187=(_0x482a5f,_0x110100)=>(_0x1bb56e,_0x53b652)=>_0x110100(_0x1bb56e,_0x53b652,_0x482a5f);_0x1f8ef7[_0x4af273(0x2f7)]=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0xf6a6e4,_0x173fb6,_0x5a3de2,_0x3e55ef,_0x10ecbf){const _0x11873c=_0x4af273;super(),this[_0x11873c(0x1c0)]=_0xf6a6e4,this[_0x11873c(0x13e)]=_0x173fb6,this['_commandService']=_0x5a3de2,this['_dataLoaderService']=_0x3e55ef,_0x10ecbf?_0x10ecbf==null||_0x10ecbf[_0x11873c(0x3bd)]()[_0x11873c(0x1cd)](()=>this[_0x11873c(0x313)]()):(this[_0x11873c(0x13e)][_0x11873c(0x1fc)]('[CollaborationDataLoaderController]',_0x11873c(0x2d3)),this[_0x11873c(0x313)]());}async[_0x4af273(0x313)](){const _0xb9ddeb=_0x4af273,_0x71937c=this[_0xb9ddeb(0x1c0)][_0xb9ddeb(0x1a1)](_0xb9ddeb(0x243)),_0x44d71d=this[_0xb9ddeb(0x1c0)][_0xb9ddeb(0x1a1)](_0xb9ddeb(0x330)),_0x370099=this['_urlService'][_0xb9ddeb(0x1a1)](_0xb9ddeb(0x379));if(!_0x71937c||!_0x44d71d){this['_logService'][_0xb9ddeb(0x1fc)](_0xb9ddeb(0x11a),_0xb9ddeb(0x18f));return;}const _0x26e264=await this['_dataLoaderService'][_0xb9ddeb(0x217)](_0x71937c,Number(_0x44d71d),_0x370099);_0x26e264&&_0x26e264 instanceof _0x1f5e5b[_0xb9ddeb(0x253)]&&this['_setupSubUnitSync'](_0x26e264);}async[_0x4af273(0x2c8)](_0x20ac5a){const _0x2df933=_0x4af273;await this['_updateSubUnitFromURLParams'](_0x20ac5a),_0x20ac5a['activeSheet$'][_0x2df933(0x33f)](_0x33c65e[_0x2df933(0x383)](this[_0x2df933(0x38e)]))[_0x2df933(0x16b)](_0x5ebb3b=>{const _0x53ea5a=_0x2df933;_0x5ebb3b&&this[_0x53ea5a(0x154)](_0x5ebb3b);}),this[_0x2df933(0x1c0)][_0x2df933(0x236)]['pipe'](_0x33c65e[_0x2df933(0x383)](this['dispose$']))[_0x2df933(0x16b)](()=>this[_0x2df933(0x142)](_0x20ac5a));}[_0x4af273(0x154)](_0x8d12af,_0x21a314=!0x1){const _0x514c3a=_0x4af273,_0x276e47=this[_0x514c3a(0x1c0)][_0x514c3a(0x1a1)]('subunit');_0x8d12af[_0x514c3a(0x107)]()!==_0x276e47&&this[_0x514c3a(0x1c0)]['setParam'](_0x514c3a(0x379),_0x8d12af[_0x514c3a(0x107)](),_0x21a314);}async[_0x4af273(0x142)](_0x1729a9){const _0x2a5f59=_0x4af273;var _0xd5790d;const _0x5bab66=this[_0x2a5f59(0x1c0)][_0x2a5f59(0x1a1)](_0x2a5f59(0x379));if(!_0x5bab66||!_0x1729a9['getSheetBySheetId'](_0x5bab66)){const _0x40d2ff=_0x1729a9[_0x2a5f59(0x2d4)]()[0x0],_0x2260ef=_0x1729a9[_0x2a5f59(0x193)](_0x40d2ff);if(!_0x2260ef)return;this[_0x2a5f59(0x154)](_0x2260ef,!0x0),await this[_0x2a5f59(0x304)]['executeCommand'](_0x1ab847[_0x2a5f59(0x167)]['id'],{'unitId':_0x1729a9['getUnitId'](),'subUnitId':_0x40d2ff});return;}((_0xd5790d=_0x1729a9['getActiveSheet']())==null?void 0x0:_0xd5790d[_0x2a5f59(0x107)]())!==_0x5bab66&&await this[_0x2a5f59(0x304)]['executeCommand'](_0x1ab847[_0x2a5f59(0x167)]['id'],{'unitId':_0x1729a9[_0x2a5f59(0x146)](),'subUnitId':_0x5bab66});}},_0x1f8ef7[_0x4af273(0x2f7)]=_0x37e98d([_0x19c187(0x0,_0x5994ee),_0x19c187(0x1,_0x1f5e5b['ILogService']),_0x19c187(0x2,_0x1f5e5b[_0x4af273(0x195)]),_0x19c187(0x3,_0x1f5e5b[_0x4af273(0x371)](_0x41e580['DataLoaderService'])),_0x19c187(0x4,_0x1f5e5b[_0x4af273(0xf7)](_0x45af0e[_0x4af273(0x165)]))],_0x1f8ef7[_0x4af273(0x2f7)]);var _0x1eef08=Object['getOwnPropertyDescriptor'],_0x329b7b=(_0x3d8ebe,_0x163f88,_0x2b6498,_0x1034a8)=>{const _0x2925c2=_0x4af273;for(var _0x1d82e1=_0x1034a8>0x1?void 0x0:_0x1034a8?_0x1eef08(_0x163f88,_0x2b6498):_0x163f88,_0x166d4e=_0x3d8ebe[_0x2925c2(0x219)]-0x1,_0x78e98b;_0x166d4e>=0x0;_0x166d4e--)(_0x78e98b=_0x3d8ebe[_0x166d4e])&&(_0x1d82e1=_0x78e98b(_0x1d82e1)||_0x1d82e1);return _0x1d82e1;},_0x1d434f=(_0xc8bfe2,_0x522aba)=>(_0x404d1c,_0x94376b)=>_0x522aba(_0x404d1c,_0x94376b,_0xc8bfe2);let _0x1c618c=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0x4eee4e,_0x3dd229){const _0x85e0cb=_0x4af273;super(),this[_0x85e0cb(0x377)]=_0x4eee4e,this[_0x85e0cb(0x29e)]=_0x3dd229,this[_0x85e0cb(0x313)]();}[_0x4af273(0x313)](){const _0x5ca06f=_0x4af273,_0x22251d=this;this[_0x5ca06f(0x129)](this[_0x5ca06f(0x377)]['addClipboardHook']({'onBeforePasteImage':async _0x3b04f8=>{const _0x59bb3f=_0x5ca06f,_0xd7a0c6=await _0x22251d[_0x59bb3f(0x29e)]['saveImage'](_0x3b04f8);return _0xd7a0c6?{'source':_0xd7a0c6[_0x59bb3f(0x2e2)],'imageSourceType':_0xd7a0c6[_0x59bb3f(0x1bd)]}:null;}}));}};_0x1c618c=_0x329b7b([_0x1d434f(0x0,_0x5d0631[_0x4af273(0x26a)]),_0x1d434f(0x1,_0xfcb421['IImageIoService'])],_0x1c618c);const _0x5281d1=[_0x4af273(0x372),_0x4af273(0x180),_0x4af273(0x198),_0x4af273(0x2d2),_0x4af273(0x2ba),_0x4af273(0x2a1)];class _0x185c02 extends _0x1f5e5b[_0x4af273(0x218)]{constructor(){const _0x5e420c=_0x4af273;super(...arguments),_0x2cf944(this,_0x5e420c(0x337),new Map()),_0x2cf944(this,_0x5e420c(0x206),0x0);}[_0x4af273(0x2b4)](_0x3e919c){const _0x644cf6=_0x4af273;if(this[_0x644cf6(0x337)]['has'](_0x3e919c))return this['_assignedColors'][_0x644cf6(0x298)](_0x3e919c);const _0x317ed7=_0x5281d1[this['_colorIndex']];return this[_0x644cf6(0x206)]=(this[_0x644cf6(0x206)]+0x1)%_0x5281d1[_0x644cf6(0x219)],this['_assignedColors'][_0x644cf6(0x39f)](_0x3e919c,_0x317ed7),_0x317ed7;}}function _0x156730(_0xc7ea24){const _0x5be880=_0x4af273;let _0x1e6ef4='';for(const _0x253549 of _0xc7ea24){const {startOffset:_0x57000f,endOffset:_0x3b9fac,isActive:_0x16e25a,rangeType:_0x1c33a4,segmentId:_0x1b5e9f,segmentPage:_0x3b7bec}=_0x253549;_0x1e6ef4[_0x5be880(0x219)]&&(_0x1e6ef4+=','),_0x1e6ef4+=_0x57000f+':'+_0x3b9fac+':'+(_0x16e25a?'1':'0')+':'+_0x1c33a4+':'+_0x1b5e9f+':'+_0x3b7bec;}return _0x1e6ef4;}function _0x4d8b19(_0x384eca){const _0x416fa4=_0x4af273,_0x3d72f6=_0x384eca[_0x416fa4(0x2dd)](','),_0x2c3f91=[];for(const _0x185a21 of _0x3d72f6){const [_0x2eb2b1,_0x2a99d2,_0x491cfa,_0x2149b9,_0x27e000,_0x3c3f2e]=_0x185a21[_0x416fa4(0x2dd)](':');_0x2c3f91[_0x416fa4(0x14b)]({'startOffset':Number(_0x2eb2b1),'endOffset':Number(_0x2a99d2),'collapsed':_0x2eb2b1===_0x2a99d2,'isActive':_0x491cfa==='1','rangeType':_0x2149b9===_0x1f5e5b['DOC_RANGE_TYPE']['TEXT']?_0x1f5e5b[_0x416fa4(0x359)][_0x416fa4(0x191)]:_0x1f5e5b[_0x416fa4(0x359)][_0x416fa4(0x294)],'segmentId':typeof _0x27e000==_0x416fa4(0x1fe)?String(_0x27e000):'','segmentPage':Number(_0x3c3f2e!=null?_0x3c3f2e:-0x1)});}return _0x2c3f91[_0x416fa4(0x1ba)](_0x46e1b4=>_0x46e1b4[_0x416fa4(0x108)])||(_0x2c3f91[0x0][_0x416fa4(0x108)]=!0x0),_0x2c3f91;}class _0x1ecbcb extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(){const _0x65fe4=_0x4af273;super(...arguments),_0x2cf944(this,_0x65fe4(0x209),new _0x33c65e[(_0x65fe4(0x301))](null)),_0x2cf944(this,_0x65fe4(0x11e),this[_0x65fe4(0x209)][_0x65fe4(0x290)]());}[_0x4af273(0x10e)](_0x3aa98e){const _0x455e5e=_0x4af273,{unitID:_0x175be1,memberID:_0x21f4f7,textRanges:_0x2b043f}=_0x3aa98e,_0xa703c1=_0x156730(_0x2b043f);if(_0xa703c1==='')return;const _0x4694c1={'unitID':_0x175be1,'memberID':_0x21f4f7,'selection':_0xa703c1};this['_collabCursorState$'][_0x455e5e(0x2d7)](_0x4694c1);}}var _0x26ff68=Object[_0x4af273(0x27f)],_0x3caf11=(_0x3e95e2,_0xde2063,_0x3fc889,_0x2f02d0)=>{for(var _0x2d4d00=_0x2f02d0>0x1?void 0x0:_0x2f02d0?_0x26ff68(_0xde2063,_0x3fc889):_0xde2063,_0xf5a4e8=_0x3e95e2['length']-0x1,_0x28993e;_0xf5a4e8>=0x0;_0xf5a4e8--)(_0x28993e=_0x3e95e2[_0xf5a4e8])&&(_0x2d4d00=_0x28993e(_0x2d4d00)||_0x2d4d00);return _0x2d4d00;},_0x3e6aea=(_0x25c655,_0x169b64)=>(_0x4b8010,_0xbbf123)=>_0x169b64(_0x4b8010,_0xbbf123,_0x25c655);const _0x544c11=0x12c,_0x379f31=0x64;let _0x485df8=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0xebe513,_0x456242,_0x2940a3,_0x5a66b9,_0x299d07,_0x49ce7c,_0x584b24,_0xcf58f4,_0x426883){const _0x2bb1d8=_0x4af273;super(),_0x2cf944(this,_0x2bb1d8(0x2b8),!0x1),_0x2cf944(this,_0x2bb1d8(0x313),!0x1),_0x2cf944(this,'_cursorInfo$',new _0x33c65e[(_0x2bb1d8(0x301))](new Map())),_0x2cf944(this,'cursorInfo$',this['_cursorInfo$'][_0x2bb1d8(0x290)]()),_0x2cf944(this,_0x2bb1d8(0x1bf),new _0x33c65e[(_0x2bb1d8(0x301))]([])),_0x2cf944(this,'roomMembers$',this[_0x2bb1d8(0x1bf)][_0x2bb1d8(0x33f)](_0x33c65e[_0x2bb1d8(0x28d)](_0x544c11))),_0x2cf944(this,'_updateLocalCursor',_0x1f5e5b[_0x2bb1d8(0x11b)](_0x35b358=>{const _0x556554=_0x2bb1d8,_0x50ff5a={'eventID':_0xe2b8d2['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x556554(0x12d)],'memberID':this[_0x556554(0x22b)][_0x556554(0x2f8)](),'selection':_0x156730(_0x35b358)}};this[_0x556554(0x22b)]['send'](_0x50ff5a,this['unitID']);},_0x379f31)),(this[_0x2bb1d8(0x12d)]=_0xebe513,this[_0x2bb1d8(0x22b)]=_0x456242,this[_0x2bb1d8(0x24e)]=_0x2940a3,this[_0x2bb1d8(0x133)]=_0x5a66b9,this[_0x2bb1d8(0x333)]=_0x299d07,this[_0x2bb1d8(0x22e)]=_0x49ce7c,this[_0x2bb1d8(0x25e)]=_0x584b24,this['_univerInstanceService']=_0xcf58f4,this[_0x2bb1d8(0x304)]=_0x426883);}get['cursorInfo'](){const _0x3590c5=_0x4af273;return this['_cursorInfo$'][_0x3590c5(0x312)]();}get[_0x4af273(0x39b)](){const _0x5dee07=_0x4af273;return this[_0x5dee07(0x1bf)]['getValue']();}['dispose'](){const _0x582bcc=_0x4af273;super[_0x582bcc(0x254)](),this[_0x582bcc(0x2d8)][_0x582bcc(0x2d7)](new Map()),this[_0x582bcc(0x2d8)]['complete'](),this[_0x582bcc(0x1bf)][_0x582bcc(0x2d7)]([]),this[_0x582bcc(0x1bf)][_0x582bcc(0x20e)]();}[_0x4af273(0x27e)](){const _0x32d4f0=_0x4af273;this[_0x32d4f0(0x313)]||(this[_0x32d4f0(0x313)]=!0x0,this[_0x32d4f0(0x22b)]['sessionStatus$']['pipe'](_0x33c65e[_0x32d4f0(0x383)](this[_0x32d4f0(0x38e)]))[_0x32d4f0(0x16b)](_0x37d418=>{const _0xf6b0d=_0x32d4f0;_0x37d418===_0x41e580['SessionStatus'][_0xf6b0d(0x1b1)]?this[_0xf6b0d(0x353)]():this[_0xf6b0d(0x342)]();}),this[_0x32d4f0(0x22b)][_0x32d4f0(0x138)][_0x32d4f0(0x33f)](_0x33c65e['takeUntil'](this['dispose$']))[_0x32d4f0(0x16b)](_0x498861=>{const _0x52fde5=_0x32d4f0,_0x6de85d=_0x498861['eventID'];_0x6de85d===_0xe2b8d2[_0x52fde5(0x36e)][_0x52fde5(0xfa)]&&this[_0x52fde5(0x26f)](_0x498861),_0x6de85d===_0xe2b8d2[_0x52fde5(0x36e)]['USERS_LEAVE']&&this[_0x52fde5(0x2c6)](_0x498861);}),this[_0x32d4f0(0x129)](this[_0x32d4f0(0x304)]['onCommandExecuted'](_0x5e2890=>{const _0x1c86fc=_0x32d4f0,_0x94d974=_0x5e2890[_0x1c86fc(0x132)];_0x94d974!=null&&this[_0x1c86fc(0x2b8)]&&_0x5e2890['id']===_0x28c037[_0x1c86fc(0x1ac)]['id']&&_0x94d974['unitId']===this['unitID']&&_0x94d974[_0x1c86fc(0x1fb)]===!0x1&&_0x94d974[_0x1c86fc(0x112)][_0x1c86fc(0x219)]>0x0&&this['_updateLocalCursor'](_0x94d974[_0x1c86fc(0x112)]);})),this[_0x32d4f0(0x22e)][_0x32d4f0(0x11e)][_0x32d4f0(0x33f)](_0x33c65e[_0x32d4f0(0x383)](this[_0x32d4f0(0x38e)]))['subscribe'](_0xdad52f=>{const _0x231339=_0x32d4f0;if((_0xdad52f==null?void 0x0:_0xdad52f[_0x231339(0x12d)])!==this[_0x231339(0x12d)])return;const _0x8f1c77={'eventID':_0xe2b8d2[_0x231339(0x36e)]['UPDATE_CURSOR'],'data':_0xdad52f};this['_onCursorUpdate'](_0x8f1c77);}),this['disposeWithMe'](this[_0x32d4f0(0x304)][_0x32d4f0(0x2ff)](_0x337c30=>{const _0x31a7bf=_0x32d4f0;if(_0x337c30[_0x31a7bf(0x132)]==null)return;const _0x56c806=_0x337c30[_0x31a7bf(0x132)];if(_0x337c30['id']!==_0x28c037[_0x31a7bf(0x2dc)]['id']||_0x56c806[_0x31a7bf(0x328)]!==this[_0x31a7bf(0x12d)])return;const _0x1aad90={'id':_0x31a7bf(0x2f2),'params':_0x56c806},_0xa162bc=this[_0x31a7bf(0x2c2)];for(const [_0x19bd07,_0x4e4fe9]of _0xa162bc){const _0x2c6221={'id':_0x31a7bf(0x2f2),'params':{'unitId':this[_0x31a7bf(0x12d)],'actions':null,'textRanges':_0x4e4fe9[_0x31a7bf(0x112)]}},_0x26c093=this[_0x31a7bf(0x25e)][_0x31a7bf(0x2cb)](_0x1aad90,_0x2c6221,!0x1);if(_0xe2b8d2[_0x31a7bf(0x2fc)](_0x26c093))throw _0x26c093[_0x31a7bf(0x3bc)];_0xa162bc['set'](_0x19bd07,{..._0x4e4fe9,'ranges':_0x26c093[_0x31a7bf(0x111)]['params'][_0x31a7bf(0x192)]});}queueMicrotask(()=>{const _0xf3a0c5=_0x31a7bf;this[_0xf3a0c5(0x2d8)][_0xf3a0c5(0x2d7)](_0xa162bc);});})));}[_0x4af273(0x26f)](_0x57a7fa){const _0xd25aaf=_0x4af273;var _0x4402bf,_0x4515d4;const {memberID:_0x27d8cf,selection:_0xf8bbec}=_0x57a7fa[_0xd25aaf(0x19a)],_0x45aee9=_0x4d8b19(_0xf8bbec),_0x5a5a3e=(_0x4515d4=(_0x4402bf=this[_0xd25aaf(0x333)][_0xd25aaf(0x115)](this[_0xd25aaf(0x12d)],_0x27d8cf))==null?void 0x0:_0x4402bf['name'])!=null?_0x4515d4:_0xd25aaf(0x375),_0xa92bd4={'color':this['_colorAssignService'][_0xd25aaf(0x2b4)](_0x27d8cf),'name':_0x5a5a3e,'ranges':_0x45aee9},_0x4e83f6=this[_0xd25aaf(0x2c2)];_0x4e83f6['set'](_0x27d8cf,_0xa92bd4),this[_0xd25aaf(0x2d8)][_0xd25aaf(0x2d7)](_0x4e83f6);}['_onCursorDelete'](_0x4b4c70){const _0x2bcf8=_0x4af273,{memberID:_0x54563a}=_0x4b4c70[_0x2bcf8(0x19a)],_0xa9fe4=this['cursorInfo'];_0xa9fe4[_0x2bcf8(0x2f3)](_0x54563a),this['_cursorInfo$'][_0x2bcf8(0x2d7)](_0xa9fe4);}[_0x4af273(0x353)](){const _0x436f3b=_0x4af273;var _0x1a1c7d;if(this['_online']=!0x0,((_0x1a1c7d=this[_0x436f3b(0x1aa)]['getFocusedUnit']())==null?void 0x0:_0x1a1c7d[_0x436f3b(0x146)]())!==this[_0x436f3b(0x12d)])return;const _0xaef53=this[_0x436f3b(0x24e)]['get'](_0x28c037[_0x436f3b(0x21f)])[_0x436f3b(0x343)]();Array[_0x436f3b(0x3ba)](_0xaef53)&&_0xaef53['length']>0x0&&this[_0x436f3b(0x159)](_0xaef53);}[_0x4af273(0x342)](){const _0x4aac26=_0x4af273;this[_0x4aac26(0x2b8)]=!0x1;}};_0x485df8=_0x3caf11([_0x3e6aea(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b['Injector'])),_0x3e6aea(0x3,_0x1f5e5b['Inject'](_0x185c02)),_0x3e6aea(0x4,_0x1f5e5b['Inject'](_0x41e580[_0x4af273(0x30d)])),_0x3e6aea(0x5,_0x1f5e5b[_0x4af273(0x371)](_0x1ecbcb)),_0x3e6aea(0x6,_0xe2b8d2[_0x4af273(0x251)]),_0x3e6aea(0x7,_0x1f5e5b[_0x4af273(0x1d5)]),_0x3e6aea(0x8,_0x1f5e5b['ICommandService'])],_0x485df8);var _0x1350c7=Object['getOwnPropertyDescriptor'],_0x44b109=(_0x3b9e1c,_0x4bbb1f,_0xae6efb,_0x4950a5)=>{for(var _0x16611e=_0x4950a5>0x1?void 0x0:_0x4950a5?_0x1350c7(_0x4bbb1f,_0xae6efb):_0x4bbb1f,_0xa244c7=_0x3b9e1c['length']-0x1,_0x276d2f;_0xa244c7>=0x0;_0xa244c7--)(_0x276d2f=_0x3b9e1c[_0xa244c7])&&(_0x16611e=_0x276d2f(_0x16611e)||_0x16611e);return _0x16611e;},_0x31bd83=(_0x11d6d5,_0x1c3cb6)=>(_0xc79e0d,_0x53c5ab)=>_0x1c3cb6(_0xc79e0d,_0x53c5ab,_0x11d6d5);const _0xdfa7d4=0x12c,_0x2fb993=0x64,_0x807a84=()=>{let _0x37b0de=[],_0x3149f3=!0x1;return _0x49daa6=>{const _0x150a17=_0x102e;_0x37b0de[_0x150a17(0x14b)](_0x49daa6),_0x3149f3||(_0x3149f3=!0x0,setTimeout(()=>{const _0xaa3453=_0x150a17;_0x37b0de[_0xaa3453(0x26c)](_0x1dece8=>_0x1dece8()),_0x37b0de=[],_0x3149f3=!0x1;}));};};let _0x1bcb1e=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0x445521,_0x260201,_0x459e77,_0x5589e0,_0xb2629,_0x31332c,_0x539fac,_0x41889d){const _0x17403a=_0x4af273;super(),_0x2cf944(this,_0x17403a(0x2b8),!0x1),_0x2cf944(this,'_init',!0x1),_0x2cf944(this,_0x17403a(0x2d8),new _0x33c65e['BehaviorSubject'](new Map())),_0x2cf944(this,_0x17403a(0x1d2),this[_0x17403a(0x2d8)][_0x17403a(0x290)]()),_0x2cf944(this,_0x17403a(0x1bf),new _0x33c65e[(_0x17403a(0x301))]([])),_0x2cf944(this,_0x17403a(0x260),this[_0x17403a(0x1bf)][_0x17403a(0x33f)](_0x33c65e[_0x17403a(0x28d)](_0xdfa7d4))),_0x2cf944(this,_0x17403a(0x159),_0x1f5e5b['debounce']((_0x293c54,_0x1dab80)=>{const _0x5be5df=_0x17403a,_0xe6d52a={'eventID':_0xe2b8d2[_0x5be5df(0x36e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5be5df(0x12d)],'memberID':this['_session'][_0x5be5df(0x2f8)](),'selection':_0x4a4c4d[_0x5be5df(0x1b7)](_0x293c54,_0x1dab80['range'])}};this[_0x5be5df(0x22b)][_0x5be5df(0x24d)](_0xe6d52a,this[_0x5be5df(0x12d)]);},_0x2fb993)),(this['unitID']=_0x445521,this[_0x17403a(0x22b)]=_0x260201,this[_0x17403a(0x24e)]=_0x459e77,this[_0x17403a(0x133)]=_0x5589e0,this[_0x17403a(0x333)]=_0xb2629,this['_univerInstanceService']=_0x31332c,this[_0x17403a(0x304)]=_0x539fac,this['_refRangeService']=_0x41889d);}get[_0x4af273(0x2c2)](){const _0x4d57ab=_0x4af273;return this['_cursorInfo$'][_0x4d57ab(0x312)]();}get[_0x4af273(0x39b)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x4c03e0=_0x4af273;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x4c03e0(0x2d8)][_0x4c03e0(0x20e)](),this['_roomMembers$'][_0x4c03e0(0x2d7)]([]),this[_0x4c03e0(0x1bf)]['complete']();}[_0x4af273(0x27e)](){const _0x3ace98=_0x4af273;this[_0x3ace98(0x313)]||(this[_0x3ace98(0x313)]=!0x0,this[_0x3ace98(0x22b)]['sessionStatus$'][_0x3ace98(0x33f)](_0x33c65e[_0x3ace98(0x383)](this['dispose$']))[_0x3ace98(0x16b)](_0x5b28a9=>{const _0x12072f=_0x3ace98;_0x5b28a9===_0x41e580[_0x12072f(0x35f)][_0x12072f(0x1b1)]?this[_0x12072f(0x353)]():this[_0x12072f(0x342)]();}),this[_0x3ace98(0x22b)]['event$'][_0x3ace98(0x33f)](_0x33c65e[_0x3ace98(0x383)](this['dispose$']))['subscribe'](_0x1997af=>{const _0x3b3991=_0x3ace98,_0x162e22=_0x1997af[_0x3b3991(0x1eb)];_0x162e22===_0xe2b8d2[_0x3b3991(0x36e)][_0x3b3991(0xfa)]&&this[_0x3b3991(0x26f)](_0x1997af),_0x162e22===_0xe2b8d2[_0x3b3991(0x36e)]['USERS_LEAVE']&&this[_0x3b3991(0x2c6)](_0x1997af);}),this[_0x3ace98(0x14a)](),this[_0x3ace98(0x129)](this['_commandService'][_0x3ace98(0x2ff)](_0x5e207c=>{const _0x512252=_0x3ace98;if(this[_0x512252(0x2b8)]&&_0x5e207c['id']===_0x1ab847['SetSelectionsOperation']['id']&&_0x5e207c['params'][_0x512252(0x328)]===this[_0x512252(0x12d)]){const _0x37b0c7=_0x5e207c[_0x512252(0x132)];this[_0x512252(0x159)](_0x37b0c7['subUnitId'],_0x37b0c7['selections'][0x0]);}})));}[_0x4af273(0x26f)](_0x3f9546){const _0x26dae5=_0x4af273;var _0xb0c153,_0x1af1af;const {memberID:_0x1b1454,selection:_0x29dfc1}=_0x3f9546['data'],{sheetName:_0x253443,range:_0x1b8e3a}=_0x4a4c4d[_0x26dae5(0x16f)](_0x29dfc1),_0x2445d9={'name':(_0x1af1af=(_0xb0c153=this[_0x26dae5(0x333)]['getMember'](this[_0x26dae5(0x12d)],_0x1b1454))==null?void 0x0:_0xb0c153[_0x26dae5(0x168)])!=null?_0x1af1af:_0x26dae5(0x375),'range':this[_0x26dae5(0x295)](_0x253443,_0x1b8e3a),'sheetID':_0x253443,'color':this[_0x26dae5(0x133)][_0x26dae5(0x2b4)](_0x1b1454),'selection':_0x29dfc1},_0x293129=this[_0x26dae5(0x2c2)];_0x293129[_0x26dae5(0x39f)](_0x1b1454,_0x2445d9),this[_0x26dae5(0x2d8)][_0x26dae5(0x2d7)](_0x293129);}['_onCursorDelete'](_0x4cb9f3){const _0x576d8b=_0x4af273,{memberID:_0x4c5e1a}=_0x4cb9f3[_0x576d8b(0x19a)],_0xa649ed=this['cursorInfo'];_0xa649ed[_0x576d8b(0x2f3)](_0x4c5e1a),this[_0x576d8b(0x2d8)]['next'](_0xa649ed);}['_getMergeRange'](_0x15878f,_0x5349f5){const _0x7244dd=_0x4af273;var _0x4f15bc,_0x4c9fbb;const _0x363248=(_0x4c9fbb=(_0x4f15bc=this[_0x7244dd(0x1aa)][_0x7244dd(0x19f)](this[_0x7244dd(0x12d)]))==null?void 0x0:_0x4f15bc[_0x7244dd(0x193)](_0x15878f))==null?void 0x0:_0x4c9fbb[_0x7244dd(0x318)]();return(_0x363248==null?void 0x0:_0x363248[_0x7244dd(0x36d)](_0x2d6e79=>_0x1f5e5b[_0x7244dd(0x240)][_0x7244dd(0x1be)](_0x2d6e79,_0x5349f5)))||_0x5349f5;}[_0x4af273(0x14a)](){const _0x215220=_0x4af273,_0x435964=new _0x1f5e5b[(_0x215220(0x1fd))](),_0x40d3a9=_0x807a84(),_0x48c8f9=()=>{const _0x2249a2=_0x215220;_0x435964['dispose']();const _0x1ef388=(_0x4aa4e7,_0x1c2a17,_0x616cda,_0x1eac64)=>{const _0x487980=_0x102e;let _0x15b1fa=[];switch(_0x4aa4e7['id']){case _0x1ab847['EffectRefRangId'][_0x487980(0x234)]:{_0x15b1fa=_0x1ab847['handleDeleteRangeMoveLeft'](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)]['DeleteRangeMoveUpCommandId']:{_0x15b1fa=_0x1ab847['handleDeleteRangeMoveUp'](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)]['InsertColCommandId']:{_0x15b1fa=_0x1ab847[_0x487980(0x258)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)][_0x487980(0x314)]:{_0x15b1fa=_0x1ab847[_0x487980(0x273)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)]['InsertRangeMoveRightCommandId']:{_0x15b1fa=_0x1ab847['handleInsertRangeMoveRight'](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)][_0x487980(0x326)]:{_0x15b1fa=_0x1ab847[_0x487980(0x266)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)][_0x487980(0xfd)]:{_0x15b1fa=_0x1ab847[_0x487980(0x3a8)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847['EffectRefRangId'][_0x487980(0x27a)]:{_0x15b1fa=_0x1ab847[_0x487980(0x38f)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847['EffectRefRangId'][_0x487980(0x3a7)]:{_0x15b1fa=_0x1ab847['handleIRemoveRow'](_0x4aa4e7,_0x1eac64);break;}}const _0x414ada=_0x1ab847['runRefRangeMutations'](_0x15b1fa,_0x1eac64),_0x2de56e=this['cursorInfo'][_0x487980(0x298)](_0x1c2a17);if(_0x2de56e&&_0x414ada){const _0x2fcf53={..._0x2de56e,'range':_0x414ada};this[_0x487980(0x2c2)][_0x487980(0x39f)](_0x1c2a17,_0x2fcf53),_0x40d3a9(()=>{const _0x573c63=_0x487980,_0x26f46a=this['_refRangeService'][_0x573c63(0x36b)](_0x414ada,_0x4dddfd=>(_0x26f46a['dispose'](),_0x1ef388(_0x4dddfd,_0x1c2a17,_0x616cda,_0x414ada)));_0x435964['add'](_0x26f46a);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2249a2(0x26c)]((_0x3dc8b0,_0x3093a3)=>{const _0xff6839=_0x2249a2,{range:_0x4af9c5,sheetID:_0x9a7b03}=_0x3dc8b0,_0x8df372=this[_0xff6839(0x1b5)][_0xff6839(0x36b)](_0x4af9c5,_0x3405f4=>(_0x8df372[_0xff6839(0x254)](),_0x1ef388(_0x3405f4,_0x3093a3,_0x9a7b03,_0x4af9c5)));_0x435964[_0xff6839(0x3bb)](_0x8df372);});};this[_0x215220(0x129)](_0x1f5e5b[_0x215220(0x13a)](this[_0x215220(0x2d8)]['subscribe'](()=>{_0x48c8f9();})));}['_toggleOnline'](){const _0x3b0795=_0x4af273;var _0x162912,_0x4d8f7e;if(this[_0x3b0795(0x2b8)]=!0x0,((_0x162912=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x162912[_0x3b0795(0x146)]())!==this[_0x3b0795(0x12d)])return;const _0x286640=(_0x4d8f7e=this['_injector'][_0x3b0795(0x298)](_0x1ab847[_0x3b0795(0x2bd)])['getCurrentSelections']())==null?void 0x0:_0x4d8f7e[0x0],_0x582266=this[_0x3b0795(0x1aa)][_0x3b0795(0x2b7)](_0x1f5e5b[_0x3b0795(0x23e)]['UNIVER_SHEET'])[_0x3b0795(0x1b2)]();_0x286640&&_0x582266&&this['_updateLocalCursor'](_0x582266[_0x3b0795(0x107)](),_0x286640);}[_0x4af273(0x342)](){const _0xff2dc0=_0x4af273;this[_0xff2dc0(0x2b8)]=!0x1;}};_0x1bcb1e=_0x44b109([_0x31bd83(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x31bd83(0x3,_0x1f5e5b[_0x4af273(0x371)](_0x185c02)),_0x31bd83(0x4,_0x1f5e5b['Inject'](_0x41e580[_0x4af273(0x30d)])),_0x31bd83(0x5,_0x1f5e5b[_0x4af273(0x1d5)]),_0x31bd83(0x6,_0x1f5e5b[_0x4af273(0x195)]),_0x31bd83(0x7,_0x1f5e5b[_0x4af273(0x371)](_0x1ab847[_0x4af273(0x2e4)]))],_0x1bcb1e);var _0x4b879c=Object[_0x4af273(0x27f)],_0x377785=(_0x14d008,_0x55a115,_0x5a8f26,_0x5ec23a)=>{for(var _0x53b911=_0x5ec23a>0x1?void 0x0:_0x5ec23a?_0x4b879c(_0x55a115,_0x5a8f26):_0x55a115,_0xe81ae8=_0x14d008['length']-0x1,_0xec42de;_0xe81ae8>=0x0;_0xe81ae8--)(_0xec42de=_0x14d008[_0xe81ae8])&&(_0x53b911=_0xec42de(_0x53b911)||_0x53b911);return _0x53b911;},_0x405a72=(_0x52fb01,_0x5b7cd8)=>(_0x1412b8,_0x4eb705)=>_0x5b7cd8(_0x1412b8,_0x4eb705,_0x52fb01);let _0x171db6=class extends _0x1f5e5b['RxDisposable']{constructor(_0x5680e9,_0x47ec97,_0x26e613){const _0x43b295=_0x4af273;super(),_0x2cf944(this,_0x43b295(0x368),new Map()),_0x2cf944(this,_0x43b295(0x34b),new _0x33c65e[(_0x43b295(0x33e))]()),(this['_univerInstanceService']=_0x5680e9,this[_0x43b295(0x24e)]=_0x47ec97,this[_0x43b295(0x306)]=_0x26e613,this[_0x43b295(0x313)]());}[_0x4af273(0x254)](){const _0x3e1826=_0x4af273;super['dispose'](),this[_0x3e1826(0x34b)][_0x3e1826(0x20e)](),this[_0x3e1826(0x368)]['forEach'](_0x45a909=>_0x45a909[_0x3e1826(0x254)]());}[_0x4af273(0x21c)](_0x475338){const _0xd51bdb=_0x4af273;return this['_entities']['has'](_0x475338)?this[_0xd51bdb(0x368)][_0xd51bdb(0x298)](_0x475338)['cursorInfo$']:this[_0xd51bdb(0x34b)][_0xd51bdb(0x33f)](_0x33c65e[_0xd51bdb(0x233)](_0x57a783=>_0x57a783[_0xd51bdb(0x12d)]===_0x475338),_0x33c65e[_0xd51bdb(0x2f6)](_0x543518=>_0x543518[_0xd51bdb(0x1d2)]));}['_init'](){const _0x5ad304=_0x4af273;this[_0x5ad304(0x1aa)][_0x5ad304(0x2fb)](_0x1f5e5b[_0x5ad304(0x23e)][_0x5ad304(0x300)])[_0x5ad304(0x33f)](_0x33c65e['takeUntil'](this['dispose$']))[_0x5ad304(0x16b)](async _0x3832cc=>{const _0x3632f6=_0x5ad304,_0x37b14d=_0x3832cc['getUnitId'](),_0x330935=await this[_0x3632f6(0x341)](_0x37b14d);this[_0x3632f6(0x34b)]['next'](_0x330935),this['_entities'][_0x3632f6(0x39f)](_0x37b14d,_0x330935);}),this[_0x5ad304(0x1aa)][_0x5ad304(0x2fb)](_0x1f5e5b[_0x5ad304(0x23e)]['UNIVER_DOC'])['pipe'](_0x33c65e[_0x5ad304(0x383)](this['dispose$']))[_0x5ad304(0x33f)](_0x33c65e[_0x5ad304(0x233)](_0x1aea30=>!_0x1aea30['getUnitId']()[_0x5ad304(0x385)]('__')))[_0x5ad304(0x16b)](async _0x1fcad0=>{const _0x57537e=_0x5ad304,_0x1f598d=_0x1fcad0['getUnitId'](),_0x5117d2=await this[_0x57537e(0x2a5)](_0x1f598d);this[_0x57537e(0x34b)][_0x57537e(0x2d7)](_0x5117d2),this[_0x57537e(0x368)][_0x57537e(0x39f)](_0x1f598d,_0x5117d2);}),_0x33c65e[_0x5ad304(0x250)](this[_0x5ad304(0x1aa)]['getTypeOfUnitDisposed$'](_0x1f5e5b[_0x5ad304(0x23e)]['UNIVER_DOC']),this[_0x5ad304(0x1aa)]['getTypeOfUnitDisposed$'](_0x1f5e5b[_0x5ad304(0x23e)][_0x5ad304(0x300)]))[_0x5ad304(0x33f)](_0x33c65e[_0x5ad304(0x383)](this[_0x5ad304(0x38e)]))['subscribe'](_0xba34dd=>{const _0x2af61f=_0x5ad304,_0x1251f4=_0xba34dd[_0x2af61f(0x146)](),_0x5d9409=this[_0x2af61f(0x368)][_0x2af61f(0x298)](_0x1251f4);_0x5d9409&&(_0x5d9409[_0x2af61f(0x254)](),this[_0x2af61f(0x368)][_0x2af61f(0x2f3)](_0x1251f4));});}async['_startSheetCollabCursor'](_0x57c5b3){const _0x136ae8=_0x4af273,_0x53708e=await this[_0x136ae8(0x306)][_0x136ae8(0x34a)](_0x57c5b3),_0x4a7211=this['_injector'][_0x136ae8(0x31f)](_0x1bcb1e,_0x57c5b3,_0x53708e);return _0x4a7211[_0x136ae8(0x27e)](),_0x4a7211;}async['_startDocCollabCursor'](_0x15ca1b){const _0x211d78=_0x4af273,_0x1bbd50=await this[_0x211d78(0x306)][_0x211d78(0x34a)](_0x15ca1b),_0x4db773=this[_0x211d78(0x24e)]['createInstance'](_0x485df8,_0x15ca1b,_0x1bbd50);return _0x4db773[_0x211d78(0x27e)](),_0x4db773;}};_0x171db6=_0x377785([_0x405a72(0x0,_0x1f5e5b[_0x4af273(0x1d5)]),_0x405a72(0x1,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x405a72(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x41e580[_0x4af273(0x36a)]))],_0x171db6);const _0x32ef08=0x14,_0x315cd4=0xc8,_0x268e95=0x4,_0x4ebc3f=0x5;function _0x39b472(_0x547364,_0x443e86){const _0x4bd80e=_0x4af273;let {radius:_0x215b4a,width:_0x2a1b37,height:_0x1984b4}=_0x443e86;_0x215b4a=_0x215b4a!=null?_0x215b4a:0x0,_0x2a1b37=_0x2a1b37!=null?_0x2a1b37:0x1e,_0x1984b4=_0x1984b4!=null?_0x1984b4:0x1e;let _0x444d2c=0x0,_0x48d6ae=0x0,_0x16a249=0x0;_0x444d2c=_0x48d6ae=_0x16a249=Math['min'](_0x215b4a,_0x2a1b37/0x2,_0x1984b4/0x2),_0x547364[_0x4bd80e(0x199)](),_0x547364[_0x4bd80e(0x3b8)](_0x444d2c,0x0),_0x547364['lineTo'](_0x2a1b37-_0x48d6ae,0x0),_0x547364[_0x4bd80e(0x3a0)](_0x2a1b37-_0x48d6ae,_0x48d6ae,_0x48d6ae,Math['PI']*0x3/0x2,0x0,!0x1),_0x547364[_0x4bd80e(0x1c3)](_0x2a1b37,_0x1984b4-_0x16a249),_0x547364[_0x4bd80e(0x3a0)](_0x2a1b37-_0x16a249,_0x1984b4-_0x16a249,_0x16a249,0x0,Math['PI']/0x2,!0x1),_0x547364[_0x4bd80e(0x1c3)](0x0,_0x1984b4),_0x547364[_0x4bd80e(0x1c3)](0x0,_0x444d2c),_0x547364[_0x4bd80e(0x3a0)](_0x444d2c,_0x444d2c,_0x444d2c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x547364['closePath'](),_0x443e86[_0x4bd80e(0x2ee)]&&(_0x547364[_0x4bd80e(0x256)](),_0x547364[_0x4bd80e(0xf5)]=_0x443e86[_0x4bd80e(0x2ee)],_0x443e86['fillRule']===_0x4bd80e(0x323)?_0x547364[_0x4bd80e(0x2ee)]('evenodd'):_0x547364['fill'](),_0x547364[_0x4bd80e(0x1c5)]());}class _0x5dca7f extends _0x1d0d67[_0x4af273(0x2ef)]{constructor(_0x1618b4,_0x5bfb67){const _0x167dcd=_0x4af273;super(_0x1618b4,_0x5bfb67),_0x2cf944(this,_0x167dcd(0x2cf)),_0x2cf944(this,_0x167dcd(0xf1)),(this[_0x167dcd(0x2cf)]=_0x5bfb67==null?void 0x0:_0x5bfb67[_0x167dcd(0x2cf)],this[_0x167dcd(0xf1)]=_0x5bfb67==null?void 0x0:_0x5bfb67[_0x167dcd(0xf1)]);}static['drawWith'](_0x2a4a18,_0x38f7d7){const _0x993f8d=_0x4af273,{text:_0x6e8dcd,color:_0x1c5752}=_0x38f7d7;_0x2a4a18[_0x993f8d(0x256)](),_0x2a4a18[_0x993f8d(0x19e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x586067=_0x2a4a18[_0x993f8d(0x153)](_0x6e8dcd)[_0x993f8d(0x1fa)],_0x23e59f=Math['min'](_0x586067+0x2*_0x268e95,_0x315cd4);_0x39b472(_0x2a4a18,{'height':_0x32ef08,'radius':0x4,'width':_0x23e59f,'fill':_0x1c5752}),_0x2a4a18[_0x993f8d(0xf5)]=_0x993f8d(0x21d);const _0x5d17c6=_0x268e95,_0x10410a=_0x32ef08-_0x4ebc3f,_0x560fe1=_0x315cd4-0x2*_0x268e95;if(_0x586067>_0x560fe1){let _0x425f22='',_0x522d1d=0x0;for(const _0xbe7e77 of _0x6e8dcd){const _0x3dc6bf=_0x2a4a18[_0x993f8d(0x153)](_0xbe7e77)[_0x993f8d(0x1fa)];if(_0x522d1d+_0x3dc6bf<=_0x560fe1-_0x2a4a18[_0x993f8d(0x153)](_0x993f8d(0x29f))[_0x993f8d(0x1fa)])_0x425f22+=_0xbe7e77,_0x522d1d+=_0x3dc6bf;else{_0x425f22+=_0x993f8d(0x29f);break;}}_0x2a4a18[_0x993f8d(0x134)](_0x425f22,_0x5d17c6,_0x10410a);}else _0x2a4a18['fillText'](_0x6e8dcd,_0x5d17c6,_0x10410a);_0x2a4a18[_0x993f8d(0x1c5)]();}['_draw'](_0x34ba0b){const _0x4e2af3=_0x4af273;_0x5dca7f[_0x4e2af3(0x305)](_0x34ba0b,this);}}const _0x3aa804='collab-text-anchor-',_0x816b0f=_0x4af273(0x2cd),_0x55a6e7='collab-rect-range-',_0x30a49a=0x6,_0x74f930=1.5,_0x58273d=0x4,_0x1194e8=1.5,_0x32243d=_0x4af273(0x388);class _0x435740{constructor(_0x93aaf6,_0xef3f2f,_0x5b2bbc,_0x5e6c46){const _0x279157=_0x4af273;_0x2cf944(this,'_shapes',[]),_0x2cf944(this,_0x279157(0x373),null),_0x2cf944(this,_0x279157(0xfe),null),_0x2cf944(this,_0x279157(0x276),null),_0x2cf944(this,_0x279157(0x125),null),_0x2cf944(this,'_eventUnsubscribe',null),(this['_cursor']=_0x93aaf6,this[_0x279157(0x248)]=_0xef3f2f,this[_0x279157(0x19d)]=_0x5b2bbc,this[_0x279157(0x2d1)]=_0x5e6c46,this[_0x279157(0x15e)]());}set[_0x4af273(0x3af)](_0x55de3d){const _0x5902e0=_0x4af273;_0x55de3d?(this[_0x5902e0(0x276)]&&this[_0x5902e0(0x276)][_0x5902e0(0x357)](),this[_0x5902e0(0xfe)]&&this[_0x5902e0(0xfe)]['show']()):(this[_0x5902e0(0x276)]&&this['_anchorDot'][_0x5902e0(0x1ad)](),this[_0x5902e0(0xfe)]&&this[_0x5902e0(0xfe)][_0x5902e0(0x357)]());}[_0x4af273(0x254)](){const _0x4fdf4a=_0x4af273;for(const _0x1862af of this[_0x4fdf4a(0xfb)])_0x1862af[_0x4fdf4a(0x254)]();this[_0x4fdf4a(0xfe)]&&this[_0x4fdf4a(0xfe)][_0x4fdf4a(0x254)](),this[_0x4fdf4a(0x276)]&&this[_0x4fdf4a(0x276)][_0x4fdf4a(0x254)](),this['_anchor']&&this['_anchor'][_0x4fdf4a(0x254)](),this[_0x4fdf4a(0x1c8)]&&this['_eventUnsubscribe']();}['_render'](){const _0x4babb7=_0x4af273;var _0x46f1d9;const {_docSkeleton:_0x2fe0bb,_document:_0x29af71}=this,{color:_0x56d1cc,name:_0x5deacb,ranges:_0x505659}=this[_0x4babb7(0x17c)],_0x40e9e8=_0x29af71[_0x4babb7(0x2e7)](),{docsLeft:_0xe0cccb,docsTop:_0x482e98}=_0x40e9e8,_0xd212f3=new _0x5d0631[(_0x4babb7(0x397))](_0x40e9e8,_0x2fe0bb);for(const {startOffset:_0x2aaed7,endOffset:_0x4316c7,rangeType:_0x172cda,segmentId:_0x17fab3,segmentPage:_0x232784,collapsed:_0x4fa198,isActive:_0x84217c}of _0x505659){const _0x3d9bbb=_0x2fe0bb[_0x4babb7(0x3be)](_0x2aaed7,!0x0,_0x17fab3,_0x232784);let _0x419a88=_0x2fe0bb['findNodePositionByCharIndex'](_0x4316c7,!0x0,_0x17fab3,_0x232784);if(_0x419a88==null&&(_0x419a88=_0x2fe0bb['findNodePositionByCharIndex'](_0x4316c7-0x1,!0x1,_0x17fab3,_0x232784)),_0x84217c){const {contentBoxPointGroup:_0x10a43f}=_0xd212f3[_0x4babb7(0x395)](_0x419a88,_0x419a88);if(_0x10a43f['length']===0x0)continue;this['_drawAnchor'](_0x56d1cc,_0x10a43f,_0xe0cccb,_0x482e98,_0x5deacb),this[_0x4babb7(0x1c8)]=this['_handleHover']();}if(_0x3d9bbb&&_0x419a88){if(_0x172cda===_0x1f5e5b[_0x4babb7(0x359)]['RECT']){const _0x161857=new _0x5d0631['NodePositionConvertToRectRange'](_0x40e9e8,_0x2fe0bb),{pointGroup:_0x5441b2}=(_0x46f1d9=_0x161857['getRangePointData'](_0x3d9bbb,_0x419a88))!=null?_0x46f1d9:{};if(_0x5441b2==null||_0x5441b2['length']===0x0)continue;this[_0x4babb7(0x296)](_0x56d1cc,_0x5441b2,_0xe0cccb,_0x482e98);}else{if(!_0x4fa198){const {borderBoxPointGroup:_0x3f3220}=_0xd212f3[_0x4babb7(0x395)](_0x3d9bbb,_0x419a88);if(_0x3f3220[_0x4babb7(0x219)]===0x0)continue;this[_0x4babb7(0x3b9)](_0x56d1cc,_0x3f3220,_0xe0cccb,_0x482e98);}}}}}[_0x4af273(0x11f)](_0x2608c9,_0x266bbc,_0x41bc3c,_0x4ca2d3,_0x20646e){const _0x3bc836=_0x4af273,_0x128f9f=this[_0x3bc836(0x35a)](_0x266bbc),{left:_0x10f082,top:_0x2c2b91,height:_0x249f95}=_0x128f9f,_0x132e0a=this[_0x3bc836(0x231)](),_0x9d604=_0x1194e8/_0x132e0a,_0x44c290=new _0x1d0d67[(_0x3bc836(0x3ad))](_0x3aa804+_0x1f5e5b[_0x3bc836(0x23d)](_0x30a49a),{'left':_0x10f082+_0x41bc3c-_0x9d604,'top':_0x2c2b91+_0x4ca2d3,'height':_0x249f95,'width':_0x74f930,'fill':_0x2608c9||_0x1d0d67[_0x3bc836(0x349)](_0x1f5e5b['COLORS'][_0x3bc836(0x2f4)],0x0),'strokeWidth':_0x9d604,'stroke':_0x32243d,'evented':!0x0});this[_0x3bc836(0x373)]=_0x44c290,this[_0x3bc836(0x248)][_0x3bc836(0x131)](_0x44c290,_0x5d0631[_0x3bc836(0x386)]);const _0x405902=new _0x1d0d67[(_0x3bc836(0x3ad))](_0x3aa804+_0x1f5e5b[_0x3bc836(0x23d)](_0x30a49a),{'left':_0x10f082+_0x41bc3c-_0x9d604,'top':_0x2c2b91+_0x4ca2d3-_0x58273d/0x2,'height':_0x58273d,'width':_0x58273d,'fill':_0x2608c9||_0x1d0d67['getColor'](_0x1f5e5b[_0x3bc836(0x310)][_0x3bc836(0x2f4)],0x0),'strokeWidth':0x0,'stroke':_0x2608c9||_0x1d0d67[_0x3bc836(0x349)](_0x1f5e5b[_0x3bc836(0x310)][_0x3bc836(0x2f4)],0x0),'evented':!0x1});this[_0x3bc836(0x276)]=_0x405902,this[_0x3bc836(0x248)]['addObject'](_0x405902,_0x5d0631[_0x3bc836(0x386)]);const _0x19b9ea=new _0x5dca7f(_0x3aa804+_0x1f5e5b[_0x3bc836(0x23d)](_0x30a49a),{'left':_0x10f082+_0x41bc3c-_0x9d604,'top':_0x2c2b91+_0x4ca2d3-_0x32ef08,'text':_0x20646e,'color':_0x2608c9});this['_textBubble']=_0x19b9ea,this[_0x3bc836(0x248)]['addObject'](_0x19b9ea,_0x5d0631['TEXT_RANGE_LAYER_INDEX']),this[_0x3bc836(0x3af)]=!0x1;}[_0x4af273(0x286)](){const _0x3c8764=_0x4af273,_0x5d116f=this['_anchor'][_0x3c8764(0x197)][_0x3c8764(0x2a0)](()=>{const _0x5d2b63=_0x3c8764;this[_0x5d2b63(0x3af)]=!0x0;}),_0x278c5a=this['_anchor'][_0x3c8764(0x1b3)][_0x3c8764(0x2a0)](()=>{const _0x51e0e5=_0x3c8764;this[_0x51e0e5(0x125)]&&clearTimeout(this[_0x51e0e5(0x125)]),this[_0x51e0e5(0x125)]=setTimeout(()=>{const _0x4e0589=_0x51e0e5;this[_0x4e0589(0x3af)]=!0x1;},0x7d0);});return()=>{const _0x21e026=_0x3c8764;_0x5d116f[_0x21e026(0x203)](),_0x278c5a[_0x21e026(0x203)]();};}['_drawTextRange'](_0x474349,_0x537331,_0x1f64c6,_0x527427){const _0x29091c=_0x4af273,_0x31bf49=new _0x1f5e5b[(_0x29091c(0x347))](_0x474349)[_0x29091c(0x39c)](0.2)['toRgbString'](),_0x33543a=new _0x1d0d67['RegularPolygon'](_0x816b0f+_0x1f5e5b[_0x29091c(0x23d)](_0x30a49a),{'pointsGroup':_0x537331,'fill':_0x31bf49||_0x1d0d67[_0x29091c(0x349)](_0x1f5e5b[_0x29091c(0x310)][_0x29091c(0x2f4)],0.2),'left':_0x1f64c6,'top':_0x527427,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x29091c(0xfb)][_0x29091c(0x14b)](_0x33543a),this['_scene'][_0x29091c(0x131)](_0x33543a,_0x5d0631[_0x29091c(0x386)]);}[_0x4af273(0x296)](_0x2b8e95,_0x1dc82b,_0x419fc8,_0x22feea){const _0x5d7141=_0x4af273,_0x576c2f=new _0x1f5e5b[(_0x5d7141(0x347))](_0x2b8e95)['setAlpha'](0.2)['toRgbString'](),_0x28a4d9=new _0x1d0d67[(_0x5d7141(0x1ff))](_0x55a6e7+_0x1f5e5b[_0x5d7141(0x23d)](_0x30a49a),{'pointsGroup':_0x1dc82b,'fill':_0x576c2f||_0x1d0d67[_0x5d7141(0x349)](_0x1f5e5b[_0x5d7141(0x310)]['black'],0.2),'left':_0x419fc8,'top':_0x22feea,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5d7141(0xfb)][_0x5d7141(0x14b)](_0x28a4d9),this['_scene'][_0x5d7141(0x131)](_0x28a4d9,_0x5d0631['TEXT_RANGE_LAYER_INDEX']);}[_0x4af273(0x35a)](_0x1f6b57){const _0x52c803=_0x1f6b57[0x0],_0x223680=_0x52c803[0x0],_0x4bcecf=_0x52c803[0x2],{x:_0x55d46a,y:_0x15ca68}=_0x223680,{x:_0x39b6fa,y:_0x3b314b}=_0x4bcecf;return{'left':_0x55d46a,'top':_0x15ca68,'width':_0x39b6fa-_0x55d46a,'height':_0x3b314b-_0x15ca68};}[_0x4af273(0x231)](){const _0x1938e7=_0x4af273,{scaleX:_0x339a57,scaleY:_0x17f441}=this[_0x1938e7(0x248)][_0x1938e7(0x12f)]();return Math[_0x1938e7(0x14f)](_0x339a57,_0x17f441);}}var _0x82f2f0=Object[_0x4af273(0x27f)],_0x2998fa=(_0x2d2d,_0x9f5bd2,_0x53af87,_0x3cda1a)=>{const _0x2d9e75=_0x4af273;for(var _0x59ad24=_0x3cda1a>0x1?void 0x0:_0x3cda1a?_0x82f2f0(_0x9f5bd2,_0x53af87):_0x9f5bd2,_0x14c0c8=_0x2d2d[_0x2d9e75(0x219)]-0x1,_0x4dbb28;_0x14c0c8>=0x0;_0x14c0c8--)(_0x4dbb28=_0x2d2d[_0x14c0c8])&&(_0x59ad24=_0x4dbb28(_0x59ad24)||_0x59ad24);return _0x59ad24;},_0x86540c=(_0x3cf466,_0x5a8879)=>(_0x29e79d,_0x4c8c1c)=>_0x5a8879(_0x29e79d,_0x4c8c1c,_0x3cf466);let _0x2204da=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0x11d358,_0x22f0c6,_0x5eefcd,_0x35f476,_0x5ebe40){const _0x1c1717=_0x4af273;super(),_0x2cf944(this,_0x1c1717(0x22c),[]),_0x2cf944(this,'_cursors',[]),(this['_context']=_0x11d358,this[_0x1c1717(0x18c)]=_0x22f0c6,this[_0x1c1717(0x345)]=_0x5eefcd,this['_commandService']=_0x35f476,this['_themeService']=_0x5ebe40,this['_init']());}[_0x4af273(0x313)](){const _0x32d4ca=_0x4af273,_0x473a4c=this['_context'][_0x32d4ca(0x328)],_0x3d0f3f=this[_0x32d4ca(0x18c)];this['disposeWithMe'](_0x33c65e[_0x32d4ca(0x25d)]([this[_0x32d4ca(0x345)]['getCollabCursors$'](_0x473a4c),this[_0x32d4ca(0x19c)][_0x32d4ca(0x16c)]])[_0x32d4ca(0x33f)](_0x5401d8['map'](([_0x3783a0,_0x46443f])=>({'skeleton':_0x3d0f3f['getSkeleton'](),'cursors':[..._0x3783a0['values']()][_0x32d4ca(0x2a8)](_0x3a9a5c=>({..._0x3a9a5c,'color':this[_0x32d4ca(0x19c)]['getColorFromTheme'](_0x3a9a5c['color'])}))})))[_0x32d4ca(0x16b)](_0x232800=>{const _0x36d162=_0x32d4ca;if(this[_0x36d162(0x14d)](),_0x232800){const {skeleton:_0x4db392,cursors:_0x508fec}=_0x232800;this[_0x36d162(0x270)](_0x4db392,_0x508fec);}})),this[_0x32d4ca(0x2c3)](),this[_0x32d4ca(0x1ea)]();}[_0x4af273(0x270)](_0x21cf0a,_0x55bc9e){const _0x4d3f51=_0x4af273,{scene:_0x171409,mainComponent:_0x45fb92}=this[_0x4d3f51(0x2f1)],_0x36f63b=_0x55bc9e[_0x4d3f51(0x110)](_0x51b684=>new _0x435740(_0x51b684,_0x171409,_0x21cf0a,_0x45fb92));this['_cursorShapes']=_0x36f63b,this[_0x4d3f51(0x1ab)]=_0x55bc9e;}[_0x4af273(0x1d0)](){const _0x2e4d52=_0x4af273;this['_removeCollabCursors']();const {scene:_0x51221f,mainComponent:_0x2d23ae}=this[_0x2e4d52(0x2f1)],_0xf3fdd1=this[_0x2e4d52(0x18c)][_0x2e4d52(0x2bf)](),_0x47b1da=this[_0x2e4d52(0x1ab)]['map'](_0x26e165=>new _0x435740(_0x26e165,_0x51221f,_0xf3fdd1,_0x2d23ae));this[_0x2e4d52(0x22c)]=_0x47b1da;}['_removeCollabCursors'](){const _0xc8320d=_0x4af273;this[_0xc8320d(0x22c)][_0xc8320d(0x26c)](_0x33751c=>_0x33751c[_0xc8320d(0x254)]()),this[_0xc8320d(0x22c)]=[];}[_0x4af273(0x1ea)](){const _0x12d1b2=_0x4af273,_0x26afbf=[_0x5d0631['SetDocZoomRatioOperation']['id']];this[_0x12d1b2(0x129)](this[_0x12d1b2(0x304)]['onCommandExecuted'](_0x3c0a0a=>{const _0x2bb4a0=_0x12d1b2;_0x26afbf[_0x2bb4a0(0x2a3)](_0x3c0a0a['id'])&&_0x3c0a0a[_0x2bb4a0(0x132)][_0x2bb4a0(0x328)]===this['_context'][_0x2bb4a0(0x328)]&&this[_0x2bb4a0(0x1d0)]();}));}['_initResize'](){const _0x285bf3=_0x4af273;this[_0x285bf3(0x129)](_0x1f5e5b[_0x285bf3(0x365)](this[_0x285bf3(0x2f1)][_0x285bf3(0x183)][_0x285bf3(0x3a9)])['pipe'](_0x5401d8['filter'](_0x221857=>_0x221857[_0x285bf3(0x330)]===_0x1d0d67['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x5401d8[_0x285bf3(0x27c)](0x10))[_0x285bf3(0x16b)](()=>{const _0x467c0f=_0x285bf3;this[_0x467c0f(0x1d0)]();}));}};_0x2204da=_0x2998fa([_0x86540c(0x1,_0x1f5e5b['Inject'](_0x28c037['DocSkeletonManagerService'])),_0x86540c(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x171db6)),_0x86540c(0x3,_0x1f5e5b['ICommandService']),_0x86540c(0x4,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x38a)]))],_0x2204da);const _0x4c81d0=0x1,_0x30b008=1.5;class _0x4323d0 extends _0x1d0d67['Shape']{constructor(_0x542019,_0x326030){const _0x15e80d=_0x4af273;super(_0x542019,_0x326030),_0x2cf944(this,_0x15e80d(0x24c)),_0x2cf944(this,'_hovered',!0x1),_0x2cf944(this,'_range'),_0x2cf944(this,_0x15e80d(0x2eb),''),_0x2cf944(this,_0x15e80d(0x18e),_0x15e80d(0x141)),_0x2cf944(this,_0x15e80d(0x289)),(_0x326030&&this[_0x15e80d(0x1e4)](_0x326030),this[_0x15e80d(0x197)][_0x15e80d(0x2a0)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x15e80d(0x1b3)][_0x15e80d(0x2a0)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3caa1a){const _0x5c61fb=_0x4af273;var _0x5525b9,_0x8d3c1d,_0x5eca89,_0x4fc631,_0x2aa750,_0x25c50c;this[_0x5c61fb(0x24c)]=(_0x5525b9=_0x3caa1a['color'])!=null?_0x5525b9:this[_0x5c61fb(0x24c)],this[_0x5c61fb(0x157)]=(_0x8d3c1d=_0x3caa1a[_0x5c61fb(0x13f)])!=null?_0x8d3c1d:this['_hovered'],this[_0x5c61fb(0x381)]=(_0x5eca89=_0x3caa1a[_0x5c61fb(0x367)])!=null?_0x5eca89:this[_0x5c61fb(0x381)],this['_name']=(_0x4fc631=_0x3caa1a[_0x5c61fb(0x168)])!=null?_0x4fc631:this['_name'],this[_0x5c61fb(0x18e)]=(_0x2aa750=_0x3caa1a['labelPosition'])!=null?_0x2aa750:this[_0x5c61fb(0x18e)],this[_0x5c61fb(0x289)]=(_0x25c50c=_0x3caa1a[_0x5c61fb(0x1f2)])!=null?_0x25c50c:this[_0x5c61fb(0x289)],this[_0x5c61fb(0x360)]({'width':_0x3caa1a[_0x5c61fb(0x1fa)],'height':_0x3caa1a[_0x5c61fb(0x362)]});}[_0x4af273(0x265)](_0x3d9645){const _0x584b2a=_0x4af273,{row:_0xfb9a9d,column:_0x51579c}=_0x3d9645;if(_0xfb9a9d>=this[_0x584b2a(0x381)]['startRow']&&_0xfb9a9d<=this[_0x584b2a(0x381)][_0x584b2a(0x128)]&&_0x51579c>=this['_range'][_0x584b2a(0x155)]&&_0x51579c<=this['_range'][_0x584b2a(0x2db)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x584b2a(0x1e4)]({'hovered':!0x1});}[_0x4af273(0x39d)](_0x193db7){return!0x1;}[_0x4af273(0x39e)](_0x5f11f0){const _0x48920f=_0x4af273;_0x1d0d67[_0x48920f(0x3ad)][_0x48920f(0x305)](_0x5f11f0,{'width':this[_0x48920f(0x1fa)],'height':this[_0x48920f(0x362)],'strokeWidth':_0x30b008,'stroke':this[_0x48920f(0x24c)],'evented':!0x1,'fill':this[_0x48920f(0x289)]}),this[_0x48920f(0x157)]&&(_0x5f11f0[_0x48920f(0x256)](),_0x5f11f0['transform'](0x1,0x0,0x0,0x1,this[_0x48920f(0x1fa)],this[_0x48920f(0x18e)]==='bottom'?0x0:-_0x32ef08),_0x5dca7f[_0x48920f(0x305)](_0x5f11f0,{'text':this[_0x48920f(0x2eb)],'color':this[_0x48920f(0x24c)]}),_0x5f11f0[_0x48920f(0x1c5)]());}}var _0x15dc63=Object['getOwnPropertyDescriptor'],_0x582177=(_0x4a8ce6,_0x57201f,_0x1640e5,_0x4b0a70)=>{const _0x4c1501=_0x4af273;for(var _0x332d9b=_0x4b0a70>0x1?void 0x0:_0x4b0a70?_0x15dc63(_0x57201f,_0x1640e5):_0x57201f,_0xee41e8=_0x4a8ce6[_0x4c1501(0x219)]-0x1,_0x1e7b6b;_0xee41e8>=0x0;_0xee41e8--)(_0x1e7b6b=_0x4a8ce6[_0xee41e8])&&(_0x332d9b=_0x1e7b6b(_0x332d9b)||_0x332d9b);return _0x332d9b;},_0x118a2c=(_0x569e39,_0xbdd7c9)=>(_0x355f24,_0x28346c)=>_0xbdd7c9(_0x355f24,_0x28346c,_0x569e39);const _0x5b9de7=0x1389;let _0x48bdab=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0x5af72a,_0x3f0a86,_0x11a4ff,_0x4f8f26){const _0xabc48d=_0x4af273;super(),_0x2cf944(this,_0xabc48d(0x1ab),new Set()),_0x2cf944(this,_0xabc48d(0x3a6),null),(this[_0xabc48d(0x2f1)]=_0x5af72a,this[_0xabc48d(0x1ca)]=_0x3f0a86,this[_0xabc48d(0x345)]=_0x11a4ff,this['_themeService']=_0x4f8f26,this[_0xabc48d(0x313)]());}['_init'](){const _0x3438b2=_0x4af273;this[_0x3438b2(0x1ca)][_0x3438b2(0x327)][_0x3438b2(0x33f)](_0x5401d8[_0x3438b2(0x383)](this['dispose$']),_0x5401d8[_0x3438b2(0x2f6)](_0x520e5a=>{const _0x473ad6=_0x3438b2;if(_0x520e5a){const _0xaf33c9=_0x520e5a[_0x473ad6(0x185)];return _0x33c65e[_0x473ad6(0x25d)](this[_0x473ad6(0x345)][_0x473ad6(0x21c)](this[_0x473ad6(0x2f1)]['unitId']),this['_themeService'][_0x473ad6(0x16c)])['pipe'](_0x5401d8[_0x473ad6(0x110)](([_0x119e9a,_0x581324])=>{const _0x3de9a7=_0x473ad6,_0x3862a9=new Map();return _0x119e9a[_0x3de9a7(0x26c)]((_0x3bd0a0,_0x305823)=>{const _0xee2d52=_0x3de9a7;if(_0x3bd0a0[_0xee2d52(0x184)]===_0xaf33c9){const _0x52d33d={..._0x3bd0a0};_0x52d33d[_0xee2d52(0x2cf)]=this['_themeService'][_0xee2d52(0x15b)](_0x3bd0a0[_0xee2d52(0x2cf)]),_0x3862a9[_0xee2d52(0x39f)](_0x305823,_0x52d33d);}}),{'skeleton':_0x520e5a,'cursors':_0x3862a9};}));}return _0x33c65e['of']({'skeleton':null,'cursors':new Map()});}))[_0x3438b2(0x16b)](({skeleton:_0x1bb719,cursors:_0x4d2a2})=>{const _0x294306=_0x3438b2;this['_removeCollabCursors'](),_0x1bb719&&this[_0x294306(0x270)](_0x1bb719,_0x4d2a2);}),this[_0x3438b2(0x1ca)][_0x3438b2(0x327)]['subscribe'](_0x197d37=>{const _0x5da005=_0x3438b2;if(_0x197d37==null)return;const {skeleton:_0x58d2b4}=_0x197d37,{scene:_0x540904}=this[_0x5da005(0x2f1)];_0x540904[_0x5da005(0x10b)]['subscribeEvent'](_0x1f5e5b[_0x5da005(0x11b)](_0x2c6755=>{const _0x2e978f=_0x5da005;var _0x187703,_0x5cc33a;const {offsetX:_0x42bd70,offsetY:_0x2e08a3}=_0x2c6755,{x:_0xd97434,y:_0x5279a7}=_0x540904['getRelativeToViewportCoord'](_0x1d0d67[_0x2e978f(0x292)][_0x2e978f(0x162)]([_0x42bd70,_0x2e08a3])),{scaleX:_0x3ec1cb,scaleY:_0x2849d3}=_0x540904[_0x2e978f(0x12f)](),_0x51c0bf=_0x540904[_0x2e978f(0x2fe)](_0x1d0d67[_0x2e978f(0x387)][_0x2e978f(0x11d)]),_0xd0227d=_0x540904[_0x2e978f(0x12b)](_0x1d0d67[_0x2e978f(0x292)][_0x2e978f(0x162)]([_0xd97434,_0x5279a7]),_0x51c0bf),_0x86da6=_0x58d2b4[_0x2e978f(0x37f)](_0x42bd70,_0x2e08a3,_0x3ec1cb,_0x2849d3,_0xd0227d);((_0x187703=this[_0x2e978f(0x3a6)])==null?void 0x0:_0x187703[_0x2e978f(0x316)])===_0x86da6[_0x2e978f(0x316)]&&((_0x5cc33a=this['_lastPointer'])==null?void 0x0:_0x5cc33a[_0x2e978f(0x30e)])===_0x86da6[_0x2e978f(0x30e)]||this[_0x2e978f(0x1ab)][_0x2e978f(0x26c)](_0x330da2=>{const _0x55eecc=_0x2e978f;_0x330da2[_0x55eecc(0x265)](_0x86da6);});},0x64));});}[_0x4af273(0x270)](_0xddf351,_0x12ae45){const _0x5299c3=_0x4af273;var _0x2ff5ed;const _0x47e98b=(_0x2ff5ed=this[_0x5299c3(0x1ca)][_0x5299c3(0x336)]())==null?void 0x0:_0x2ff5ed[_0x5299c3(0x269)];if(!_0x47e98b)return;const _0x2ecf8b=this[_0x5299c3(0x317)]();if(!_0x2ecf8b)return;this[_0x5299c3(0x1ab)][_0x5299c3(0x26c)](_0xf44684=>{const _0x44d95f=_0x5299c3;_0xf44684[_0x44d95f(0x140)]();});const {scene:_0x1ad3cd}=_0x2ecf8b,_0x59de4f=_0x213df9(Array[_0x5299c3(0x13c)](_0x12ae45[_0x5299c3(0x1cf)]()))['map'](_0x295284=>{const _0x54b33f=_0x5299c3,{color:_0x367fbc,range:_0x5d47ae,name:_0x1e422c,selection:_0x1b74ab,sheetID:_0x55b8e6}=_0x295284,{startColumn:_0x125b2b,startRow:_0x1aaa30,endColumn:_0x1178bc,endRow:_0xbb9ae}=_0x5d47ae,_0x1cf68f=_0x519bb2['getCoordByCell'](_0x1aaa30,_0x125b2b,_0x1ad3cd,_0x47e98b),_0xc9c64=_0x519bb2[_0x54b33f(0x309)](_0xbb9ae,_0x1178bc,_0x1ad3cd,_0x47e98b),{columnHeaderHeightAndMarginTop:_0x24abde}=_0x47e98b,{startX:_0x37b7a7,startY:_0x1197ef}=_0x1cf68f,{endX:_0xa29eed,endY:_0x3b7b4a}=_0xc9c64,_0x3a2a3a=_0xa29eed-_0x37b7a7,_0x1cc060=_0x3b7b4a-_0x1197ef,_0x502151={'labelPosition':_0x1197ef-_0x24abde>=_0x32ef08?_0x54b33f(0x141):_0x54b33f(0x152),'sheetID':_0x55b8e6,'range':_0x5d47ae,'color':_0x367fbc,'name':_0x1e422c,'selection':_0x1b74ab,'left':_0x37b7a7,'top':_0x1197ef,'width':_0x3a2a3a,'height':_0x1cc060,'evented':!0x1,'zIndex':_0x5b9de7};return new _0x4323d0(_0x1e422c,_0x502151);});_0x1ad3cd[_0x5299c3(0x103)](_0x59de4f,_0x4c81d0),this[_0x5299c3(0x1ab)]=new Set(_0x59de4f);}['_removeCollabCursors'](){const _0x58f056=_0x4af273;var _0x1501ec;(_0x1501ec=this[_0x58f056(0x1ab)])==null||_0x1501ec[_0x58f056(0x26c)](_0x4ffe27=>_0x4ffe27[_0x58f056(0x254)]());}[_0x4af273(0x317)](){const _0x457a43=_0x4af273;return _0x519bb2[_0x457a43(0x1b4)](this[_0x457a43(0x2f1)][_0x457a43(0x243)],this[_0x457a43(0x2f1)]);}};_0x48bdab=_0x582177([_0x118a2c(0x1,_0x1f5e5b[_0x4af273(0x371)](_0x519bb2['SheetSkeletonManagerService'])),_0x118a2c(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x171db6)),_0x118a2c(0x3,_0x1f5e5b['Inject'](_0x1f5e5b[_0x4af273(0x38a)]))],_0x48bdab);function _0x213df9(_0x167cd1){const _0x2a3d2=_0x4af273,_0x252840=new Map();return _0x167cd1['forEach'](_0x1da599=>{const _0x582072=_0x102e;if(_0x252840[_0x582072(0x280)](_0x1da599[_0x582072(0x137)])){const _0x272363=_0x252840[_0x582072(0x298)](_0x1da599[_0x582072(0x137)]);_0x272363[_0x582072(0x168)]+=',\x20'+_0x1da599[_0x582072(0x168)];}else _0x252840[_0x582072(0x39f)](_0x1da599[_0x582072(0x137)],_0x1da599);}),Array[_0x2a3d2(0x13c)](_0x252840[_0x2a3d2(0x1cf)]());}var _0x11cd8f=Object[_0x4af273(0x27f)],_0x1dfa63=(_0x5014d8,_0x2c7f20,_0x449802,_0x4adab3)=>{const _0x38610d=_0x4af273;for(var _0x308f3b=_0x4adab3>0x1?void 0x0:_0x4adab3?_0x11cd8f(_0x2c7f20,_0x449802):_0x2c7f20,_0x59ccd3=_0x5014d8[_0x38610d(0x219)]-0x1,_0x997cc5;_0x59ccd3>=0x0;_0x59ccd3--)(_0x997cc5=_0x5014d8[_0x59ccd3])&&(_0x308f3b=_0x997cc5(_0x308f3b)||_0x308f3b);return _0x308f3b;},_0x26fe92=(_0x340c70,_0x24249d)=>(_0x4040b4,_0x124150)=>_0x24249d(_0x4040b4,_0x124150,_0x340c70);let _0x35d63a=class extends _0x1f5e5b[_0x4af273(0x218)]{constructor(_0xb3399d,_0x43fa22,_0x38ab05,_0x56f018,_0x47a824,_0x1c31bd){const _0x3a34d9=_0x4af273;super(),this[_0x3a34d9(0x325)]=_0xb3399d,this[_0x3a34d9(0x2c9)]=_0x43fa22,this[_0x3a34d9(0x114)]=_0x38ab05,this[_0x3a34d9(0x35e)]=_0x56f018,this[_0x3a34d9(0x37e)]=_0x47a824,this['_localeService']=_0x1c31bd,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x4af273(0x394)](){const _0x46e567=_0x4af273;this['disposeWithMe'](this[_0x46e567(0x325)]['registerBeforeClose'](()=>{const _0x4d4e29=_0x46e567;if(this[_0x4d4e29(0x2c9)][_0x4d4e29(0x13b)][_0x4d4e29(0x124)])return this[_0x4d4e29(0x176)]['t'](_0x4d4e29(0x2a7));}));}[_0x4af273(0x1da)](){const _0x3c9ce4=_0x4af273;this[_0x3c9ce4(0x129)](this[_0x3c9ce4(0x114)][_0x3c9ce4(0x138)]['subscribe'](_0x477f93=>{const _0x448e1f=_0x3c9ce4;_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x31d)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0xf2)],'content':this[_0x448e1f(0x176)]['t'](_0x448e1f(0x37d))}),_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x213)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0xf2)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x477f93['id']===_0x41e580['CollaborationUIEventId'][_0x448e1f(0x2b6)]&&this[_0x448e1f(0x37e)]['show']({'title':this[_0x448e1f(0x176)]['t'](_0x448e1f(0x1dd)),'content':this['_localeService']['t']('permission.content'),'type':_0x448e1f(0x3bc),'duration':0x0}),_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x119)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)]['Error'],'content':this[_0x448e1f(0x176)]['t']('collaboration.closeRoom')+'('+_0x477f93[_0x448e1f(0x19a)]+')'}),_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x11c)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0xf2)],'content':this[_0x448e1f(0x176)]['t'](_0x477f93[_0x448e1f(0x19a)]||'')}),_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x1a2)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)]['Warning'],'content':this['_localeService']['t'](_0x448e1f(0x10c))}),_0x477f93['id']===_0x41e580['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0x344)],'content':this[_0x448e1f(0x176)]['t'](_0x448e1f(0x101))}),_0x477f93['id']===_0x41e580['CollaborationUIEventId'][_0x448e1f(0x222)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0x344)],'content':this[_0x448e1f(0x176)]['t'](_0x448e1f(0x229))});}));}};_0x35d63a=_0x1dfa63([_0x26fe92(0x0,_0x167676[_0x4af273(0x351)]),_0x26fe92(0x1,_0x41e580['ILocalCacheService']),_0x26fe92(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x41e580[_0x4af273(0x194)])),_0x26fe92(0x3,_0x167676[_0x4af273(0x311)]),_0x26fe92(0x4,_0x167676[_0x4af273(0x117)]),_0x26fe92(0x5,_0x1f5e5b['Inject'](_0x1f5e5b[_0x4af273(0x2e8)]))],_0x35d63a);const _0x5530ff=_0x4af273(0x156),_0x4e4498={};var _0x57c72e=Object['getOwnPropertyDescriptor'],_0x57ed93=(_0x5d8136,_0x485358,_0x45f2f2,_0x55afda)=>{const _0x3941df=_0x4af273;for(var _0x236125=_0x55afda>0x1?void 0x0:_0x55afda?_0x57c72e(_0x485358,_0x45f2f2):_0x485358,_0x4c7691=_0x5d8136[_0x3941df(0x219)]-0x1,_0x2b2702;_0x4c7691>=0x0;_0x4c7691--)(_0x2b2702=_0x5d8136[_0x4c7691])&&(_0x236125=_0x2b2702(_0x236125)||_0x236125);return _0x236125;},_0x33cf4d=(_0xaf9f2b,_0x1de71d)=>(_0x25c41e,_0x2b186f)=>_0x1de71d(_0x25c41e,_0x2b186f,_0xaf9f2b);let _0x5b440f=class{constructor(_0x2e1ea7,_0x12d139){const _0x4465cd=_0x4af273;this['_transformService']=_0x2e1ea7,this[_0x4465cd(0x30c)]=_0x12d139;}[_0x4af273(0x223)](_0x43f49c){const _0x535bbf=_0x4af273;this[_0x535bbf(0x16e)](_0x43f49c),this['_transformPreviousActiveRange'](_0x43f49c);}[_0x4af273(0x139)](_0x32f69d){const _0x4ef404=_0x4af273,{unitID:_0xafdd51}=_0x32f69d,_0x58db33=this[_0x4ef404(0x30c)]['getRenderById'](_0xafdd51)[_0x4ef404(0x392)](_0x5d0631[_0x4ef404(0x32c)]),{redoCache:_0x62a270}=_0x58db33[_0x4ef404(0x28f)]();if(_0x62a270[_0x4ef404(0x219)]===0x0)return _0x32f69d;let _0x10e779=_0x1f5e5b[_0x4ef404(0x33c)][_0x4ef404(0x355)](_0x32f69d[_0x4ef404(0x226)][0x0]);for(let _0x182557=0x0;_0x182557<_0x62a270[_0x4ef404(0x219)];_0x182557++){const _0x1e588d={'id':_0x4ef404(0x2f2),'params':{..._0x62a270[_0x182557]}},_0x5c517f=this[_0x4ef404(0x25e)][_0x4ef404(0x2cb)](_0x10e779,_0x1e588d,!0x1);if(_0xe2b8d2[_0x4ef404(0x2fc)](_0x5c517f))throw _0x5c517f['error'];_0x10e779=_0x5c517f['m1Prime'];}return{..._0x1f5e5b[_0x4ef404(0x33c)]['deepClone'](_0x32f69d),'mutations':[_0x10e779]};}[_0x4af273(0x16e)](_0x34dbeb){const _0x1db679=_0x4af273,{unitID:_0x459cdd}=_0x34dbeb,_0x545cc8=this[_0x1db679(0x30c)][_0x1db679(0x38d)](_0x459cdd)[_0x1db679(0x392)](_0x5d0631[_0x1db679(0x32c)]),{undoCache:_0x41c086,redoCache:_0x529fe6}=_0x545cc8[_0x1db679(0x28f)]();if(_0x41c086[_0x1db679(0x219)]===0x0||_0x529fe6['length']===0x0)return;const _0x528a53=[],_0x5c44a0=[];let _0x47a31f=_0x1f5e5b[_0x1db679(0x33c)][_0x1db679(0x355)](_0x34dbeb[_0x1db679(0x226)][0x0]),_0x227f0b=_0x1f5e5b[_0x1db679(0x33c)]['deepClone'](_0x34dbeb['mutations'][0x0]);for(let _0x2b6ef6=_0x41c086[_0x1db679(0x219)]-0x1;_0x2b6ef6>=0x0;_0x2b6ef6--){const _0x369fd={'id':'doc.mutation.rich-text-editing','params':{..._0x41c086[_0x2b6ef6]}},_0x2fa93f={'id':_0x1db679(0x2f2),'params':{..._0x529fe6[_0x2b6ef6]}},_0x14ebb3=this[_0x1db679(0x25e)][_0x1db679(0x2cb)](_0x47a31f,_0x369fd,!0x1),_0x3bda53=this[_0x1db679(0x25e)][_0x1db679(0x2cb)](_0x227f0b,_0x2fa93f,!0x1);if(_0xe2b8d2['isTransformMutationFailure'](_0x14ebb3))throw _0x14ebb3[_0x1db679(0x3bc)];if(_0xe2b8d2['isTransformMutationFailure'](_0x3bda53))throw _0x3bda53['error'];_0x528a53['unshift'](_0x14ebb3[_0x1db679(0x111)][_0x1db679(0x132)]),_0x5c44a0[_0x1db679(0x20d)](_0x3bda53[_0x1db679(0x111)][_0x1db679(0x132)]),_0x47a31f=_0x14ebb3['m1Prime'],_0x227f0b=_0x3bda53[_0x1db679(0x1d6)];}_0x545cc8[_0x1db679(0x215)]({'undoCache':_0x528a53,'redoCache':_0x5c44a0});}[_0x4af273(0x147)](_0x5dbbb2){const _0x1138c0=_0x4af273,{unitID:_0x104b83}=_0x5dbbb2,_0x3980ee=this[_0x1138c0(0x30c)][_0x1138c0(0x38d)](_0x104b83)[_0x1138c0(0x392)](_0x5d0631['DocIMEInputManagerService']),_0x234bc6=_0x3980ee[_0x1138c0(0x1e7)]();if(_0x234bc6==null)return;const _0x4dbfb0=[{'id':_0x1138c0(0x2f2),'params':{'unitId':_0x5dbbb2[_0x1138c0(0x12d)],'actions':null,'textRanges':[_0x234bc6]}}],_0xc93ad3=this[_0x1138c0(0x25e)][_0x1138c0(0x287)](_0x5dbbb2,_0x4dbfb0);if(!_0xe2b8d2[_0x1138c0(0x225)](_0xc93ad3))throw _0xc93ad3[_0x1138c0(0x3bc)];const _0x330337=_0xc93ad3['m2Prime'][0x0][_0x1138c0(0x132)][_0x1138c0(0x192)];Array[_0x1138c0(0x3ba)](_0x330337)&&_0x330337[_0x1138c0(0x219)]&&_0x3980ee[_0x1138c0(0x109)](_0x330337[0x0]);}};_0x5b440f=_0x57ed93([_0x33cf4d(0x0,_0xe2b8d2['ITransformService']),_0x33cf4d(0x1,_0x1d0d67[_0x4af273(0x366)])],_0x5b440f);var _0x3dc962=Object[_0x4af273(0x27f)],_0x422a78=(_0x1e7df9,_0x46e5bc,_0x27c2ed,_0x1fb487)=>{const _0x1b67b0=_0x4af273;for(var _0x5b31a9=_0x1fb487>0x1?void 0x0:_0x1fb487?_0x3dc962(_0x46e5bc,_0x27c2ed):_0x46e5bc,_0x1422e2=_0x1e7df9[_0x1b67b0(0x219)]-0x1,_0x3e26a6;_0x1422e2>=0x0;_0x1422e2--)(_0x3e26a6=_0x1e7df9[_0x1422e2])&&(_0x5b31a9=_0x3e26a6(_0x5b31a9)||_0x5b31a9);return _0x5b31a9;},_0x5353d7=(_0x3ad59d,_0x49e849)=>(_0x4e38c2,_0x14152b)=>_0x49e849(_0x4e38c2,_0x14152b,_0x3ad59d);let _0x4b5fc0=class{constructor(_0x157727,_0x24a928,_0x348007){const _0x7fbd8f=_0x4af273;this[_0x7fbd8f(0x24e)]=_0x157727,this[_0x7fbd8f(0x25e)]=_0x24a928,this[_0x7fbd8f(0x278)]=_0x348007;}[_0x4af273(0x1b6)](_0x4aae47){const _0x5a89ed=_0x4af273;this[_0x5a89ed(0x1d1)](_0x4aae47);}['transformRemoteChangeset'](_0x3f3cc7){const _0x2c4440=_0x4af273,{unitID:_0x2d8131}=_0x3f3cc7,{collaboration:_0x2d9855}=this['_docStateChangeManagerService']['getStateCache'](_0x2d8131);if(_0x2d9855[_0x2c4440(0x219)]===0x0)return _0x3f3cc7;let _0x421fd4=_0x1f5e5b[_0x2c4440(0x33c)][_0x2c4440(0x355)](_0x3f3cc7[_0x2c4440(0x226)][0x0]);for(let _0xd10bd6=0x0;_0xd10bd6<_0x2d9855[_0x2c4440(0x219)];_0xd10bd6++){const _0x8ad8a6={'id':_0x2c4440(0x2f2),'params':{'unitId':_0x2d9855[_0xd10bd6][_0x2c4440(0x328)],..._0x2d9855[_0xd10bd6]['redoState']}},_0x13bc6a=this[_0x2c4440(0x25e)][_0x2c4440(0x2cb)](_0x421fd4,_0x8ad8a6,!0x1);if(_0xe2b8d2[_0x2c4440(0x2fc)](_0x13bc6a))throw _0x13bc6a[_0x2c4440(0x3bc)];_0x421fd4=_0x13bc6a['m1Prime'];}return{..._0x1f5e5b[_0x2c4440(0x33c)][_0x2c4440(0x355)](_0x3f3cc7),'mutations':[_0x421fd4]};}[_0x4af273(0x1d1)](_0x22a668){const _0x5826c8=_0x4af273,{unitID:_0xeeab19}=_0x22a668,{history:_0xa98324,collaboration:_0x5da428}=this[_0x5826c8(0x278)]['getStateCache'](_0xeeab19);if(_0xa98324['length']===0x0&&_0x5da428['length']===0x0)return;const _0x2c6b0=[],_0x397f24=[];let _0x656cc9=_0x1f5e5b[_0x5826c8(0x33c)][_0x5826c8(0x355)](_0x22a668['mutations'][0x0]),_0x4646cf=_0x1f5e5b[_0x5826c8(0x33c)][_0x5826c8(0x355)](_0x22a668[_0x5826c8(0x226)][0x0]);for(let _0x4b62b5=_0xa98324['length']-0x1;_0x4b62b5>=0x0;_0x4b62b5--){const _0x4a8490={'id':_0x5826c8(0x2f2),'params':{'unitId':_0xa98324[_0x4b62b5]['unitId'],..._0xa98324[_0x4b62b5][_0x5826c8(0x32f)]}},_0x3bcd1b={'id':_0x5826c8(0x2f2),'params':{'unitId':_0xa98324[_0x4b62b5][_0x5826c8(0x328)],..._0xa98324[_0x4b62b5][_0x5826c8(0x28c)]}},_0x575659=this[_0x5826c8(0x25e)]['transformMutation'](_0x656cc9,_0x4a8490,!0x1),_0x405669=this[_0x5826c8(0x25e)]['transformMutation'](_0x4646cf,_0x3bcd1b,!0x1);if(_0xe2b8d2['isTransformMutationFailure'](_0x575659))throw _0x575659['error'];if(_0xe2b8d2[_0x5826c8(0x2fc)](_0x405669))throw _0x405669[_0x5826c8(0x3bc)];_0x2c6b0[_0x5826c8(0x20d)]({..._0xa98324[_0x4b62b5],'undoState':_0x575659[_0x5826c8(0x111)][_0x5826c8(0x132)],'redoState':_0x405669[_0x5826c8(0x111)]['params']}),_0x656cc9=_0x575659[_0x5826c8(0x1d6)],_0x4646cf=_0x405669[_0x5826c8(0x1d6)];}_0x656cc9=_0x1f5e5b[_0x5826c8(0x33c)][_0x5826c8(0x355)](_0x22a668[_0x5826c8(0x226)][0x0]),_0x4646cf=_0x1f5e5b[_0x5826c8(0x33c)][_0x5826c8(0x355)](_0x22a668[_0x5826c8(0x226)][0x0]);for(let _0x18708b=_0x5da428[_0x5826c8(0x219)]-0x1;_0x18708b>=0x0;_0x18708b--){const _0x537742={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5da428[_0x18708b]['unitId'],..._0x5da428[_0x18708b][_0x5826c8(0x32f)]}},_0x464899={'id':_0x5826c8(0x2f2),'params':{'unitId':_0x5da428[_0x18708b][_0x5826c8(0x328)],..._0x5da428[_0x18708b]['redoState']}},_0x58bf30=this[_0x5826c8(0x25e)][_0x5826c8(0x2cb)](_0x656cc9,_0x537742,!0x1),_0x5a91e1=this[_0x5826c8(0x25e)][_0x5826c8(0x2cb)](_0x4646cf,_0x464899,!0x1);if(_0xe2b8d2[_0x5826c8(0x2fc)](_0x58bf30))throw _0x58bf30[_0x5826c8(0x3bc)];if(_0xe2b8d2[_0x5826c8(0x2fc)](_0x5a91e1))throw _0x5a91e1[_0x5826c8(0x3bc)];_0x397f24['unshift']({..._0x5da428[_0x18708b],'undoState':_0x58bf30['m2Prime'][_0x5826c8(0x132)],'redoState':_0x5a91e1[_0x5826c8(0x111)]['params']}),_0x656cc9=_0x58bf30[_0x5826c8(0x1d6)],_0x4646cf=_0x5a91e1[_0x5826c8(0x1d6)];}this[_0x5826c8(0x278)][_0x5826c8(0x1dc)](_0xeeab19,{'history':_0x2c6b0,'collaboration':_0x397f24});}};_0x4b5fc0=_0x422a78([_0x5353d7(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x5353d7(0x1,_0xe2b8d2[_0x4af273(0x251)]),_0x5353d7(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x5d0631[_0x4af273(0x135)]))],_0x4b5fc0);var _0x39e216=Object[_0x4af273(0x27f)],_0x3f1aaf=(_0x3335e1,_0x34129b,_0x1711f3,_0x48fb68)=>{const _0x39c40f=_0x4af273;for(var _0x486b07=_0x48fb68>0x1?void 0x0:_0x48fb68?_0x39e216(_0x34129b,_0x1711f3):_0x34129b,_0x362d1f=_0x3335e1[_0x39c40f(0x219)]-0x1,_0x1c08ba;_0x362d1f>=0x0;_0x362d1f--)(_0x1c08ba=_0x3335e1[_0x362d1f])&&(_0x486b07=_0x1c08ba(_0x486b07)||_0x486b07);return _0x486b07;},_0xed96fa=(_0x454898,_0x5f20e0)=>(_0x27984f,_0x403acd)=>_0x5f20e0(_0x27984f,_0x403acd,_0x454898);let _0x124e75=class{constructor(_0x331e49,_0x246426){const _0x4de4dc=_0x4af273;this[_0x4de4dc(0x24e)]=_0x331e49,this[_0x4de4dc(0x25e)]=_0x246426;}['transformSelections'](_0x2e2611){const _0x53a2d1=_0x4af273;var _0x26b5a9;const _0x2e60b4=this[_0x53a2d1(0x24e)][_0x53a2d1(0x298)](_0x28c037['DocSelectionManagerService']),_0x519359=(_0x26b5a9=_0x2e60b4['getDocRanges']())!=null?_0x26b5a9:[];if(_0x519359[_0x53a2d1(0x219)]===0x0)return;const _0x4a5edf=_0x2e2611[_0x53a2d1(0x12d)],_0x2f2f64=[{'id':_0x53a2d1(0x2f2),'params':{'unitId':_0x4a5edf,'actions':null,'textRanges':_0x519359}}],_0x2cdf57=this[_0x53a2d1(0x25e)][_0x53a2d1(0x287)](_0x2e2611,_0x2f2f64);if(!_0xe2b8d2['isTransformMutationsWithChangesetSuccess'](_0x2cdf57))throw _0x2cdf57['error'];const _0x26d5c7=_0x2cdf57[_0x53a2d1(0x111)][0x0][_0x53a2d1(0x132)][_0x53a2d1(0x192)];Array[_0x53a2d1(0x3ba)](_0x26d5c7)&&_0x26d5c7['length']&&_0x2e60b4[_0x53a2d1(0x15f)](_0x26d5c7,{'unitId':_0x4a5edf,'subUnitId':_0x4a5edf},!0x1);}};_0x124e75=_0x3f1aaf([_0xed96fa(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0xed96fa(0x1,_0xe2b8d2['ITransformService'])],_0x124e75);var _0x533f6c=Object[_0x4af273(0x27f)],_0x3cf917=(_0xcf2264,_0x553995,_0x210d7e,_0x3430da)=>{for(var _0x11cc14=_0x3430da>0x1?void 0x0:_0x3430da?_0x533f6c(_0x553995,_0x210d7e):_0x553995,_0x21f868=_0xcf2264['length']-0x1,_0x5822fd;_0x21f868>=0x0;_0x21f868--)(_0x5822fd=_0xcf2264[_0x21f868])&&(_0x11cc14=_0x5822fd(_0x11cc14)||_0x11cc14);return _0x11cc14;},_0x14f329=(_0x4a00a2,_0x497974)=>(_0x45d2a6,_0x1a1fa5)=>_0x497974(_0x45d2a6,_0x1a1fa5,_0x4a00a2);let _0x504fec=class extends _0x1f5e5b['Disposable']{constructor(_0x597a88,_0x4bf0ef,_0x1696fd,_0x147275,_0x2549c9,_0x36aece,_0x485f06,_0x53a827){const _0xc02d02=_0x4af273;super(),_0x2cf944(this,_0xc02d02(0x121),new _0x33c65e[(_0xc02d02(0x301))](_0x41e580[_0xc02d02(0x120)][_0xc02d02(0x1de)])),(this[_0xc02d02(0x278)]=_0x597a88,this['_collaborationController']=_0x4bf0ef,this[_0xc02d02(0x1d4)]=_0x1696fd,this[_0xc02d02(0x339)]=_0x147275,this['_docTransformSelectionsService']=_0x2549c9,this[_0xc02d02(0x1f5)]=_0x36aece,this['_messageService']=_0x485f06,this[_0xc02d02(0x176)]=_0x53a827,this[_0xc02d02(0x2b9)]());}[_0x4af273(0x2b9)](){const _0x4f9eb0=_0x4af273;this[_0x4f9eb0(0x129)](this[_0x4f9eb0(0x249)][_0x4f9eb0(0x216)][_0x4f9eb0(0x16b)](_0x5e4c7a=>{const _0x561934=_0x4f9eb0,_0x272709=this[_0x561934(0x278)][_0x561934(0x2a9)]['subscribe'](_0x5b92d8=>{const _0x1a8fa6=_0x561934;if(_0x5b92d8==null)return;const {unitId:_0x3ce3ee,redoState:_0x3cf5cd,commandId:_0x5854ce}=_0x5b92d8;if(_0x3ce3ee!==_0x5e4c7a['unitID'])return;const _0x2c551e={'id':_0x5854ce,'type':_0x1f5e5b['CommandType']['MUTATION'],'params':{'unitId':_0x3ce3ee,'actions':_0x3cf5cd[_0x1a8fa6(0x164)],'textRanges':null}};_0x5e4c7a[_0x1a8fa6(0x224)](_0x2c551e);});if(_0x5e4c7a[_0x561934(0x129)](_0x272709),_0x5e4c7a instanceof _0x41e580['DocCollaborationEntity']){const _0x1e5b4e={'onTransformIME':_0x53d794=>this[_0x561934(0x1d4)]['transformIMECache'](_0x53d794),'onTransformState':_0x35fe6a=>this[_0x561934(0x339)][_0x561934(0x1b6)](_0x35fe6a),'onTransformSelections':_0x2e5f6b=>this[_0x561934(0x3ae)]['transformSelections'](_0x2e5f6b),'onSyncEditingCollabCursor':_0xe7203b=>this['_docSyncEditingCollabCursorService'][_0x561934(0x10e)](_0xe7203b),'onTransformRemoteChangesetByIMECache':_0x554010=>this[_0x561934(0x1d4)][_0x561934(0x139)](_0x554010),'onTransformRemoteChangesetByStateCache':_0x42d085=>this[_0x561934(0x339)][_0x561934(0x139)](_0x42d085)};_0x5e4c7a[_0x561934(0x3a1)](_0x1e5b4e);}}));}};_0x504fec=_0x3cf917([_0x14f329(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x5d0631[_0x4af273(0x135)])),_0x14f329(0x1,_0x1f5e5b['Inject'](_0x41e580['CollaborationController'])),_0x14f329(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x5b440f)),_0x14f329(0x3,_0x1f5e5b[_0x4af273(0x371)](_0x4b5fc0)),_0x14f329(0x4,_0x1f5e5b[_0x4af273(0x371)](_0x124e75)),_0x14f329(0x5,_0x1f5e5b[_0x4af273(0x371)](_0x1ecbcb)),_0x14f329(0x6,_0x167676[_0x4af273(0x311)]),_0x14f329(0x7,_0x1f5e5b['Inject'](_0x1f5e5b[_0x4af273(0x2e8)]))],_0x504fec);var _0x513a8d=(_0x2cdb10=>(_0x2cdb10[_0x2cdb10[_0x4af273(0x25b)]=0x0]=_0x4af273(0x25b),_0x2cdb10[_0x2cdb10['OK']=0x1]='OK',_0x2cdb10[_0x2cdb10[_0x4af273(0x23c)]=0x2]=_0x4af273(0x23c),_0x2cdb10[_0x2cdb10[_0x4af273(0x2b6)]=0x3]=_0x4af273(0x2b6),_0x2cdb10[_0x2cdb10['NOT_FOUND']=0x4]=_0x4af273(0x181),_0x2cdb10[_0x2cdb10[_0x4af273(0x2fd)]=0x5]=_0x4af273(0x2fd),_0x2cdb10[_0x2cdb10[_0x4af273(0x2ec)]=0x6]='ALREADY_EXISTS',_0x2cdb10[_0x2cdb10[_0x4af273(0x30b)]=0x7]='INVALID_ARGUMENT',_0x2cdb10[_0x2cdb10[_0x4af273(0xf4)]=0x8]=_0x4af273(0xf4),_0x2cdb10[_0x2cdb10['COMPLETION_FINISHED']=0x9]=_0x4af273(0x299),_0x2cdb10[_0x2cdb10['LOGIN_FAILED']=0xa]=_0x4af273(0x173),_0x2cdb10[_0x2cdb10['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2cdb10[_0x2cdb10[_0x4af273(0x2c7)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2cdb10[_0x2cdb10[_0x4af273(0x15a)]=0xd]=_0x4af273(0x15a),_0x2cdb10[_0x2cdb10[_0x4af273(0x281)]=0xe]=_0x4af273(0x281),_0x2cdb10[_0x2cdb10[_0x4af273(0x1f0)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2cdb10[_0x2cdb10['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x4af273(0x2ca),_0x2cdb10[_0x2cdb10['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x4af273(0x2f5),_0x2cdb10[_0x2cdb10['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x2cdb10[_0x2cdb10['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x2cdb10[_0x2cdb10[_0x4af273(0x126)]=0xca]=_0x4af273(0x126),_0x2cdb10[_0x2cdb10[_0x4af273(0x1c2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2cdb10[_0x2cdb10[_0x4af273(0x384)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2cdb10[_0x2cdb10['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2cdb10[_0x2cdb10[_0x4af273(0x24b)]=0x1773]=_0x4af273(0x24b),_0x2cdb10[_0x2cdb10[_0x4af273(0x33b)]=0x1b59]=_0x4af273(0x33b),_0x2cdb10[_0x2cdb10['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4af273(0x20a),_0x2cdb10[_0x2cdb10[_0x4af273(0x189)]=0x1b5b]=_0x4af273(0x189),_0x2cdb10[_0x2cdb10[_0x4af273(0x10a)]=0x1b5c]=_0x4af273(0x10a),_0x2cdb10[_0x2cdb10[_0x4af273(0x279)]=0x1b5d]=_0x4af273(0x279),_0x2cdb10[_0x2cdb10['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4af273(0x21b),_0x2cdb10[_0x2cdb10['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4af273(0x2be),_0x2cdb10[_0x2cdb10['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4af273(0x174),_0x2cdb10[_0x2cdb10['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2cdb10[_0x2cdb10[_0x4af273(0x39a)]=0x232c]=_0x4af273(0x39a),_0x2cdb10[_0x2cdb10[_0x4af273(0x1d3)]=0x232d]=_0x4af273(0x1d3),_0x2cdb10[_0x2cdb10[_0x4af273(0x303)]=0x2711]=_0x4af273(0x303),_0x2cdb10[_0x2cdb10['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4af273(0x1a8),_0x2cdb10[_0x2cdb10['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4af273(0x187),_0x2cdb10[_0x2cdb10[_0x4af273(0x2ad)]=0x2714]=_0x4af273(0x2ad),_0x2cdb10[_0x2cdb10['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2cdb10[_0x2cdb10[_0x4af273(0x1b8)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2cdb10[_0x2cdb10['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4af273(0x2ed),_0x2cdb10[_0x2cdb10[_0x4af273(0x151)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2cdb10[_0x2cdb10[_0x4af273(0x391)]=0x271e]=_0x4af273(0x391),_0x2cdb10[_0x2cdb10[_0x4af273(0x2e3)]=0x271f]=_0x4af273(0x2e3),_0x2cdb10[_0x2cdb10[_0x4af273(0x378)]=0x2720]=_0x4af273(0x378),_0x2cdb10[_0x2cdb10[_0x4af273(0x239)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2cdb10[_0x2cdb10[_0x4af273(0x2f9)]=0x2ee1]=_0x4af273(0x2f9),_0x2cdb10[_0x2cdb10[_0x4af273(0x2e5)]=0x2ee2]='INVALID_INVITE_CODE',_0x2cdb10[_0x2cdb10[_0x4af273(0x3a4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2cdb10[_0x2cdb10[_0x4af273(0x230)]=0x2ee4]=_0x4af273(0x230),_0x2cdb10[_0x2cdb10['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4af273(0x1f8),_0x2cdb10[_0x2cdb10[_0x4af273(0x20f)]=0x32c9]=_0x4af273(0x20f),_0x2cdb10[_0x2cdb10[_0x4af273(0x37b)]=0x32ca]=_0x4af273(0x37b),_0x2cdb10[_0x2cdb10[_0x4af273(0x358)]=0x32cb]=_0x4af273(0x358),_0x2cdb10[_0x2cdb10[_0x4af273(0x329)]=0x36b1]=_0x4af273(0x329),_0x2cdb10[_0x2cdb10['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4af273(0x257),_0x2cdb10[_0x2cdb10[_0x4af273(0x271)]=0x36b3]=_0x4af273(0x271),_0x2cdb10[_0x2cdb10[_0x4af273(0x25c)]=0x36b4]=_0x4af273(0x25c),_0x2cdb10[_0x2cdb10['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2cdb10[_0x2cdb10[_0x4af273(0x2b0)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2cdb10[_0x2cdb10[_0x4af273(0x214)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2cdb10[_0x2cdb10[_0x4af273(0x18b)]=0x37dd]=_0x4af273(0x18b),_0x2cdb10[_0x2cdb10[_0x4af273(0x201)]=0x3a99]=_0x4af273(0x201),_0x2cdb10[_0x2cdb10[_0x4af273(0x208)]=0x3a9a]=_0x4af273(0x208),_0x2cdb10[_0x2cdb10[_0x4af273(0x324)]=0x3a9b]=_0x4af273(0x324),_0x2cdb10[_0x2cdb10[_0x4af273(0x245)]=0x3a9c]=_0x4af273(0x245),_0x2cdb10[_0x2cdb10['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x4af273(0x227),_0x2cdb10[_0x2cdb10['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4af273(0x1ed),_0x2cdb10[_0x2cdb10[_0x4af273(0x10f)]=0x3a9f]=_0x4af273(0x10f),_0x2cdb10[_0x2cdb10[_0x4af273(0x321)]=0x3e81]=_0x4af273(0x321),_0x2cdb10[_0x2cdb10[_0x4af273(0x2b3)]=-0x1]=_0x4af273(0x2b3),_0x2cdb10))(_0x513a8d||{});function _0x2ec109(_0x61e9a8){const _0x32b727=_0x4af273;var _0x6b4974,_0x20d849;const _0x47a851=(_0x6b4974=_0x61e9a8['stageInfo'])==null?void 0x0:_0x6b4974[_0x32b727(0x232)],_0x3b4794=((_0x20d849=_0x61e9a8['stageInfo'])==null?void 0x0:_0x20d849[_0x32b727(0x255)])||0x0;return _0x47a851===_0x4a4c4d[_0x32b727(0x2df)][_0x32b727(0x361)]&&_0x3b4794>0x0;}function _0x58a88b(_0x373af0){const _0x912672=_0x4af273;return _0x373af0[_0x912672(0x252)]===_0x4a4c4d[_0x912672(0x2fa)][_0x912672(0x32a)];}var _0xda6719=Object['getOwnPropertyDescriptor'],_0x3b7a89=(_0x245ad6,_0x563331,_0x355994,_0x267412)=>{for(var _0x29eee6=_0x267412>0x1?void 0x0:_0x267412?_0xda6719(_0x563331,_0x355994):_0x563331,_0x2b31df=_0x245ad6['length']-0x1,_0x15cc9e;_0x2b31df>=0x0;_0x2b31df--)(_0x15cc9e=_0x245ad6[_0x2b31df])&&(_0x29eee6=_0x15cc9e(_0x29eee6)||_0x29eee6);return _0x29eee6;},_0x39b51f=(_0x4d5c18,_0x3f2794)=>(_0x5a5d64,_0x3ddcaf)=>_0x3f2794(_0x5a5d64,_0x3ddcaf,_0x4d5c18);const _0x30c68c='/universer-api/license/formula/limit/status',_0x5b805d=_0x4af273(0x100),_0x2fe067=_0x4af273(0x2c0);let _0x4d4746=class extends _0x1f5e5b[_0x4af273(0x218)]{constructor(_0x1e593e,_0x4f8fbb,_0x3db548,_0x14757c,_0x312967,_0xbf9b2,_0x17d451){const _0x286598=_0x4af273;super(),_0x2cf944(this,_0x286598(0x348),null),_0x2cf944(this,_0x286598(0x22a),0x0),_0x2cf944(this,_0x286598(0x29c),0x0),_0x2cf944(this,'_taskIds',[]),_0x2cf944(this,_0x286598(0x370),0x0),(this[_0x286598(0x35e)]=_0x1e593e,this['_commandService']=_0x4f8fbb,this[_0x286598(0x123)]=_0x3db548,this['_httpService']=_0x14757c,this['_univerInstanceService']=_0x312967,this[_0x286598(0x13e)]=_0xbf9b2,this[_0x286598(0x176)]=_0x17d451,this[_0x286598(0x200)]());}[_0x4af273(0x200)](){const _0x33c164=_0x4af273;this['disposeWithMe'](this['_commandService']['beforeCommandExecuted']((_0x316206,_0x311c4d)=>{const _0x4c4d60=_0x102e;var _0x30aca0;if(_0x316206['id']!==_0x4a4c4d[_0x4c4d60(0x356)]['id'])return;const _0x16109f=_0x316206[_0x4c4d60(0x132)];if(!this['_hasFormulaInDirtyRanges']((_0x30aca0=_0x16109f['dirtyRanges'])!=null?_0x30aca0:[]))return;if(!this[_0x4c4d60(0x331)]())throw this[_0x4c4d60(0x20c)](_0x316206,_0x311c4d),this[_0x4c4d60(0x38c)](),new _0x1f5e5b[(_0x4c4d60(0x113))]();})),this['disposeWithMe'](this[_0x33c164(0x304)]['onCommandExecuted']((_0x15fdbb,_0x3ae739)=>{const _0x2425c4=_0x33c164;if(_0x15fdbb['id']!==_0x4a4c4d[_0x2425c4(0x16a)]['id'])return;const _0x189a87=_0x15fdbb[_0x2425c4(0x132)];if(_0x2ec109(_0x189a87)){const _0xf98c5b=_0x1f5e5b['generateRandomId']();this['_taskIds'][_0x2425c4(0x14b)](_0xf98c5b),this['_startCalculationLimit'](_0xf98c5b);}else{if(_0x58a88b(_0x189a87)&&this[_0x2425c4(0x116)]['length']>0x0){const _0x1f0acf=this['_taskIds'][_0x2425c4(0x17a)]();this[_0x2425c4(0x1ee)](_0x1f0acf);}}}));}[_0x4af273(0x254)](){const _0x7ec170=_0x4af273;super['dispose'](),this[_0x7ec170(0x36c)](),this['_taskIds']=[],this[_0x7ec170(0x29c)]=0x0,this[_0x7ec170(0x22a)]=0x0,this[_0x7ec170(0x370)]=0x0;}async[_0x4af273(0x20c)](_0xed34f,_0xc201e1){const _0x19ed6c=_0x4af273;for(let _0x38b651=0x0;_0x38b651<0x1e;_0x38b651++)try{if(await this[_0x19ed6c(0x31e)](),this[_0x19ed6c(0x331)]()){this[_0x19ed6c(0x12a)](_0xed34f,_0xc201e1),this[_0x19ed6c(0x35e)][_0x19ed6c(0x1ad)]({'content':this[_0x19ed6c(0x176)]['t'](_0x19ed6c(0x221)),'type':_0x121096['MessageType']['Success']});return;}await new Promise(_0x129379=>{const _0x59a1cf=_0x19ed6c;this[_0x59a1cf(0x348)]=window[_0x59a1cf(0x178)](_0x129379,0x3e8);});}catch(_0x3c874f){this[_0x19ed6c(0x13e)][_0x19ed6c(0x3bc)](_0x3c874f);}this[_0x19ed6c(0x35e)][_0x19ed6c(0x1ad)]({'content':this[_0x19ed6c(0x176)]['t']('formula.calculation.unable'),'type':_0x121096[_0x19ed6c(0x374)][_0x19ed6c(0x344)]});}[_0x4af273(0x12a)](_0x513f87,_0x4a4859){const _0xf818c4=_0x4af273;try{this[_0xf818c4(0x304)][_0xf818c4(0x17b)](_0x513f87['id'],_0x513f87[_0xf818c4(0x132)],_0x4a4859);}catch(_0xbf664a){this['_logService']['error'](_0xbf664a);}}[_0x4af273(0x3b5)](_0x3391d1,_0x4648a6){const _0x26c1e7=_0x4af273;_0x4648a6<this[_0x26c1e7(0x370)]||(this[_0x26c1e7(0x370)]=_0x4648a6,this[_0x26c1e7(0x22a)]=Number[_0x26c1e7(0x1e6)](_0x3391d1[_0x26c1e7(0x19b)]),this[_0x26c1e7(0x29c)]=Number['parseInt'](_0x3391d1[_0x26c1e7(0x3b4)]));}async[_0x4af273(0xf3)](_0x251021){const _0x404404=_0x4af273;var _0x3ed0d3,_0x40e934;const _0x2c3e01=Date['now']();try{const _0x5403f2=((_0x3ed0d3=this[_0x404404(0x123)][_0x404404(0x3b3)](_0x41e580[_0x404404(0x302)]))==null?void 0x0:_0x3ed0d3[_0x404404(0x3a2)])||_0x5b805d,_0x2178e3=(await this[_0x404404(0x1db)][_0x404404(0x33a)](_0x5403f2,{'body':JSON[_0x404404(0x18a)]({'taskId':_0x251021})}))[_0x404404(0x14e)];if(((_0x40e934=_0x2178e3['error'])==null?void 0x0:_0x40e934[_0x404404(0x1ae)])!==_0x513a8d['OK'])return;this['_setFormulaLimitStatus'](_0x2178e3[_0x404404(0x26b)],_0x2c3e01);}catch(_0x711e13){this[_0x404404(0x13e)][_0x404404(0x3bc)](_0x711e13);}}async[_0x4af273(0x31e)](_0x39c5d9){const _0xb06ec3=_0x4af273;var _0x35cc15,_0x539bab;const _0x44e591=Date[_0xb06ec3(0x2d0)]();try{const _0x2512ad=((_0x35cc15=this[_0xb06ec3(0x123)][_0xb06ec3(0x3b3)](_0x41e580[_0xb06ec3(0x302)]))==null?void 0x0:_0x35cc15['getformulaLimitStatusUrl'])||_0x30c68c,_0x20dd25=_0x39c5d9?_0x2512ad+'?taskId='+encodeURIComponent(_0x39c5d9):_0x2512ad,_0x26e857=(await this[_0xb06ec3(0x1db)][_0xb06ec3(0x298)](_0x20dd25))[_0xb06ec3(0x14e)];if(((_0x539bab=_0x26e857[_0xb06ec3(0x3bc)])==null?void 0x0:_0x539bab[_0xb06ec3(0x1ae)])!==_0x513a8d['OK'])return;this[_0xb06ec3(0x3b5)](_0x26e857['limitInfo'],_0x44e591);}catch(_0x4accef){this[_0xb06ec3(0x13e)][_0xb06ec3(0x3bc)](_0x4accef);}}async['_releaseCalculationLimit'](_0x4f3719){const _0x366100=_0x4af273;var _0x1d77ea,_0x125ae5;const _0xdcc557=Date[_0x366100(0x2d0)]();try{const _0x10864d=((_0x1d77ea=this[_0x366100(0x123)]['getConfig'](_0x41e580[_0x366100(0x302)]))==null?void 0x0:_0x1d77ea[_0x366100(0x21e)])||_0x2fe067,_0x1a267c=(await this[_0x366100(0x1db)][_0x366100(0x33a)](_0x10864d,{'body':JSON['stringify']({'taskId':_0x4f3719})}))[_0x366100(0x14e)];if(((_0x125ae5=_0x1a267c['error'])==null?void 0x0:_0x125ae5[_0x366100(0x1ae)])!==_0x513a8d['OK'])return;this[_0x366100(0x3b5)](_0x1a267c[_0x366100(0x26b)],_0xdcc557);}catch(_0x4a003c){this[_0x366100(0x13e)][_0x366100(0x3bc)](_0x4a003c);}}['_checkCalculationAvailable'](){const _0x460ed6=_0x4af273;return this[_0x460ed6(0x22a)]===0x0?!0x0:this[_0x460ed6(0x22a)]-this['_currentUsage']>0x0;}[_0x4af273(0x36c)](){const _0x2985fe=_0x4af273;this[_0x2985fe(0x348)]&&(clearTimeout(this[_0x2985fe(0x348)]),this['_pollingInterval']=null);}[_0x4af273(0x38c)](){const _0x1f0374=_0x4af273;this[_0x1f0374(0x35e)][_0x1f0374(0x1ad)]({'content':this[_0x1f0374(0x176)]['t']('formula.calculation.waiting'),'type':_0x121096[_0x1f0374(0x374)][_0x1f0374(0x1e0)]});}[_0x4af273(0x382)](_0x6e2256){const _0x5a4c28=_0x4af273;for(const _0x5e379e of _0x6e2256){const {unitId:_0xd54007,sheetId:_0x72be9,range:_0x50b442}=_0x5e379e,_0x47b7c6=this[_0x5a4c28(0x1aa)]['getUnit'](_0xd54007);if(!_0x47b7c6)continue;const _0x37d61d=_0x47b7c6[_0x5a4c28(0x193)](_0x72be9);if(!_0x37d61d)continue;const _0x4f7496=_0x37d61d[_0x5a4c28(0x32e)]();for(let _0x363f40=_0x50b442[_0x5a4c28(0x1f4)];_0x363f40<=_0x50b442['endRow'];_0x363f40++)for(let _0x5f08ee=_0x50b442['startColumn'];_0x5f08ee<=_0x50b442[_0x5a4c28(0x2db)];_0x5f08ee++){const _0x18c320=_0x4f7496[_0x5a4c28(0x312)](_0x363f40,_0x5f08ee);if(_0x18c320&&(_0x1f5e5b[_0x5a4c28(0x307)](_0x18c320['f'])||_0x1f5e5b['isFormulaId'](_0x18c320['si'])))return!0x0;}}return!0x1;}};_0x4d4746=_0x3b7a89([_0x39b51f(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x167676[_0x4af273(0x311)])),_0x39b51f(0x1,_0x1f5e5b['ICommandService']),_0x39b51f(0x2,_0x1f5e5b[_0x4af273(0x354)]),_0x39b51f(0x3,_0x1f5e5b[_0x4af273(0x371)](_0x2d69ac['HTTPService'])),_0x39b51f(0x4,_0x1f5e5b[_0x4af273(0x1d5)]),_0x39b51f(0x5,_0x1f5e5b[_0x4af273(0x283)]),_0x39b51f(0x6,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x2e8)]))],_0x4d4746);var _0x110f34=Object['getOwnPropertyDescriptor'],_0x7ab3e8=(_0xa09582,_0x3eadc6,_0x1b8330,_0x30a61c)=>{for(var _0x5b69a9=_0x30a61c>0x1?void 0x0:_0x30a61c?_0x110f34(_0x3eadc6,_0x1b8330):_0x3eadc6,_0x306f08=_0xa09582['length']-0x1,_0x2ecccf;_0x306f08>=0x0;_0x306f08--)(_0x2ecccf=_0xa09582[_0x306f08])&&(_0x5b69a9=_0x2ecccf(_0x5b69a9)||_0x5b69a9);return _0x5b69a9;},_0x7beaf1=(_0x5e55d1,_0x2788f9)=>(_0x2c6769,_0x2ba1ec)=>_0x2788f9(_0x2c6769,_0x2ba1ec,_0x5e55d1);let _0x432348=class extends _0x1f5e5b['Disposable']{constructor(_0x3e2c2c,_0x1caca2,_0x4f00b8){const _0x5b4386=_0x4af273;super(),_0x2cf944(this,'_cachedData',new Map()),_0x2cf944(this,_0x5b4386(0x1a4),new Map()),_0x2cf944(this,_0x5b4386(0x262),!0x1),(this[_0x5b4386(0x123)]=_0x3e2c2c,this['_localStorageService']=_0x1caca2,this[_0x5b4386(0x35c)]=_0x4f00b8);}[_0x4af273(0x28b)](){const _0x3ad7a2=_0x4af273;this[_0x3ad7a2(0x262)]=!0x0;}['enableLocalCache'](){const _0x1bea1c=_0x4af273;this[_0x1bea1c(0x262)]=!0x1;}get[_0x4af273(0x13b)](){const _0xdac5e4=_0x4af273;return this[_0xdac5e4(0x1a4)];}[_0x4af273(0x254)](){const _0x54e517=_0x4af273;this[_0x54e517(0x352)]()['then'](()=>super[_0x54e517(0x254)]());}async['loadOfflineData'](_0x1fdbbd){const _0x2390cf=_0x4af273;return this[_0x2390cf(0x262)]?null:this['_localStorageService'][_0x2390cf(0x2c5)](_0x41e580['getLocalCacheKey'](_0x1fdbbd));}async['saveOfflineData'](_0xca7451,_0x317715){return!!this['_localStorageService']['setItem'](_0xca7451,_0x317715);}[_0x4af273(0x36f)](_0x37ab61,_0x4d1eb9,_0x4bdc79,_0x374694){const _0x52f059=_0x4af273,_0x44f5af=this['_revisionService'][_0x52f059(0x3a5)](_0x37ab61);this['_cachedData'][_0x52f059(0x39f)](_0x37ab61,{'unitID':_0x37ab61,'type':_0x4d1eb9,'awaitingChangeset':_0x4bdc79,'mutations':_0x374694,'rev':_0x44f5af}),this[_0x52f059(0x1a4)][_0x52f059(0x280)](_0x37ab61)||this[_0x52f059(0x1e5)](_0x37ab61);}[_0x4af273(0x1e5)](_0x452d73){const _0x4bced1=_0x4af273,_0x486075=this[_0x4bced1(0x25a)]();_0x486075===0x0?this[_0x4bced1(0x148)](_0x452d73):this[_0x4bced1(0x1a4)]['set'](_0x452d73,setTimeout(()=>this[_0x4bced1(0x148)](_0x452d73),_0x486075));}['_getSaveTimeout'](){const _0x15b576=_0x4af273;var _0x114bd0;return(_0x114bd0=this['_configService'][_0x15b576(0x3b3)](_0x41e580['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x114bd0:_0x41e580['LOCAL_CACHE_INTERVAL'];}[_0x4af273(0x148)](_0x5028e1){const _0x236c3a=_0x4af273,_0x2492f1=this[_0x236c3a(0x1a4)][_0x236c3a(0x298)](_0x5028e1);return _0x2492f1!==void 0x0&&window['clearTimeout'](_0x2492f1),this[_0x236c3a(0x37a)][_0x236c3a(0x136)](_0x41e580[_0x236c3a(0x2a2)](_0x5028e1),this['_cachedData'][_0x236c3a(0x298)](_0x5028e1))[_0x236c3a(0x1cd)](()=>this[_0x236c3a(0x1a4)]['delete'](_0x5028e1));}async['exhaustSavingTask'](){const _0x6c63b9=_0x4af273,_0x24a5c6=[];this['_saveTaskMap'][_0x6c63b9(0x26c)]((_0x21ce6a,_0x2dea59)=>{const _0x59cfad=_0x6c63b9;window[_0x59cfad(0x16d)](_0x21ce6a),_0x24a5c6[_0x59cfad(0x14b)](this[_0x59cfad(0x148)](_0x2dea59)[_0x59cfad(0x1cd)](()=>{const _0x51080f=_0x59cfad;this[_0x51080f(0x1a4)][_0x51080f(0x2f3)](_0x2dea59);}));}),await Promise['all'](_0x24a5c6);}};_0x432348=_0x7ab3e8([_0x7beaf1(0x0,_0x1f5e5b[_0x4af273(0x354)]),_0x7beaf1(0x1,_0x1f5e5b['ILocalStorageService']),_0x7beaf1(0x2,_0x1f5e5b[_0x4af273(0x371)](_0xe2b8d2[_0x4af273(0x163)]))],_0x432348);class _0x11f47e extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(){const _0x565e23=_0x4af273;super(),_0x2cf944(this,'urlChange$'),this[_0x565e23(0x236)]=_0x33c65e[_0x565e23(0x13d)](window,_0x565e23(0x390))[_0x565e23(0x33f)](_0x33c65e[_0x565e23(0x383)](this[_0x565e23(0x38e)]),_0x33c65e[_0x565e23(0x282)](0x1),_0x33c65e[_0x565e23(0x211)](void 0x0));}[_0x4af273(0x15c)](_0x3fff03,_0xa768b8,_0x15942c=!0x1){const _0x4c0fe4=_0x4af273,_0x33661f=new URL(window[_0x4c0fe4(0x1f7)][_0x4c0fe4(0x235)]);_0x33661f[_0x4c0fe4(0x1a7)][_0x4c0fe4(0x39f)](_0x3fff03,_0xa768b8),_0x15942c?window[_0x4c0fe4(0x31a)][_0x4c0fe4(0x376)]('','',_0x33661f[_0x4c0fe4(0x3b0)]()):window['history'][_0x4c0fe4(0x34c)]('','',_0x33661f[_0x4c0fe4(0x3b0)]());}[_0x4af273(0x28e)](_0x3e6f86,_0x31649a=!0x1){const _0x116f47=_0x4af273,_0x487009=new URL(window[_0x116f47(0x1f7)][_0x116f47(0x235)]);_0x487009[_0x116f47(0x1a7)][_0x116f47(0x2f3)](_0x3e6f86),_0x31649a?window[_0x116f47(0x31a)][_0x116f47(0x376)]('','',_0x487009['toString']()):window['history'][_0x116f47(0x34c)]('','',_0x487009[_0x116f47(0x3b0)]());}[_0x4af273(0x1a1)](_0x2b21fd){const _0xd2708b=_0x4af273;var _0x4ba88f;return(_0x4ba88f=new URL(window['location'][_0xd2708b(0x235)])[_0xd2708b(0x1a7)][_0xd2708b(0x298)](_0x2b21fd))!=null?_0x4ba88f:void 0x0;}}var _0x21cfec=Object[_0x4af273(0x1b0)],_0x2431e5=Object[_0x4af273(0x27f)],_0x16bdef=(_0x38e4e6,_0x615e72,_0x2e0025)=>_0x615e72 in _0x38e4e6?_0x21cfec(_0x38e4e6,_0x615e72,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e0025}):_0x38e4e6[_0x615e72]=_0x2e0025,_0x39f7fc=(_0x99e78f,_0x1496fe,_0x46ffde,_0x24443e)=>{const _0x5963cf=_0x4af273;for(var _0x1e72aa=_0x24443e>0x1?void 0x0:_0x24443e?_0x2431e5(_0x1496fe,_0x46ffde):_0x1496fe,_0x17b647=_0x99e78f[_0x5963cf(0x219)]-0x1,_0x12c975;_0x17b647>=0x0;_0x17b647--)(_0x12c975=_0x99e78f[_0x17b647])&&(_0x1e72aa=_0x12c975(_0x1e72aa)||_0x1e72aa);return _0x1e72aa;},_0x5ed02e=(_0x38fff6,_0x286a9e)=>(_0x305005,_0x1cf520)=>_0x286a9e(_0x305005,_0x1cf520,_0x38fff6),_0x3f78d0=(_0x48b014,_0x51c06b,_0x3f69c8)=>_0x16bdef(_0x48b014,_0x51c06b+'',_0x3f69c8);const _0x2ad63d=_0x4af273(0x202);_0x1f8ef7[_0x4af273(0x1d8)]=class extends _0x1f5e5b['Plugin']{constructor(_0x2aaba8=_0x4e4498,_0x3f84b7,_0x4cd6bb,_0x88ed5e){const _0x5f5d38=_0x4af273;super(),this[_0x5f5d38(0x1a3)]=_0x2aaba8,this[_0x5f5d38(0x30c)]=_0x3f84b7,this[_0x5f5d38(0x24e)]=_0x4cd6bb,this[_0x5f5d38(0x123)]=_0x88ed5e;const {..._0x58e580}=_0x1f5e5b[_0x5f5d38(0x250)]({},_0x4e4498,this[_0x5f5d38(0x1a3)]);this['_configService'][_0x5f5d38(0x2e9)](_0x5530ff,_0x58e580);}[_0x4af273(0x1e9)](){const _0x5cfce1=_0x4af273;this['_registerDependencies'](),this[_0x5cfce1(0x12e)]();}[_0x4af273(0x398)](){const _0x412147=_0x4af273;this[_0x412147(0x1a0)]();}['_registerDependencies'](){const _0x1373a1=_0x4af273;var _0x59aae0;const _0x25acf2=[[_0x185c02],[_0x4d4746],[_0x124e75],[_0x5b440f],[_0x4b5fc0],[_0x1ecbcb],[_0x5994ee,{'useClass':_0x11f47e}],[_0x2d69ac[_0x1373a1(0x1bc)],{'useClass':_0x2d69ac[_0x1373a1(0x12c)]}],[_0x41e580[_0x1373a1(0x369)],{'useClass':_0x432348}],[_0x1f8ef7[_0x1373a1(0x2d5)]],[_0x504fec],[_0x35d63a],[_0x171db6],[_0x1c618c],[_0x1f8ef7[_0x1373a1(0x2f7)]]];_0x1f5e5b['registerDependencies'](this[_0x1373a1(0x24e)],_0x1f5e5b[_0x1373a1(0x143)](_0x25acf2,(_0x59aae0=this[_0x1373a1(0x1a3)])==null?void 0x0:_0x59aae0['override']));}[_0x4af273(0x1a0)](){const _0x3c17a4=_0x4af273;this['disposeWithMe'](this[_0x3c17a4(0x30c)][_0x3c17a4(0x264)](_0x1f5e5b[_0x3c17a4(0x23e)][_0x3c17a4(0x177)],[_0x2204da])),this[_0x3c17a4(0x129)](this['_renderManagerService']['registerRenderModule'](_0x1f5e5b['UniverInstanceType']['UNIVER_SHEET'],[_0x48bdab]));}[_0x4af273(0x12e)](){const _0x193a8a=_0x4af273;_0x1f5e5b['touchDependencies'](this['_injector'],[[_0x171db6],[_0x1f8ef7[_0x193a8a(0x2d5)]],[_0x504fec],[_0x35d63a],[_0x1f8ef7[_0x193a8a(0x2f7)]],[_0x4d4746]]);}},_0x3f78d0(_0x1f8ef7[_0x4af273(0x1d8)],_0x4af273(0x149),_0x2ad63d),_0x1f8ef7[_0x4af273(0x1d8)]=_0x39f7fc([_0x1f5e5b['DependentOn'](_0x41e580[_0x4af273(0x346)]),_0x5ed02e(0x1,_0x1d0d67[_0x4af273(0x366)]),_0x5ed02e(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x5ed02e(0x3,_0x1f5e5b['IConfigService'])],_0x1f8ef7[_0x4af273(0x1d8)]);var _0x35fbaa=Object['getOwnPropertyDescriptor'],_0xb96f6f=(_0x353e46,_0x2932a4,_0x4e3209,_0x1f6b66)=>{const _0x1204d4=_0x4af273;for(var _0x3188c9=_0x1f6b66>0x1?void 0x0:_0x1f6b66?_0x35fbaa(_0x2932a4,_0x4e3209):_0x2932a4,_0x11b683=_0x353e46[_0x1204d4(0x219)]-0x1,_0x1ee3e3;_0x11b683>=0x0;_0x11b683--)(_0x1ee3e3=_0x353e46[_0x11b683])&&(_0x3188c9=_0x1ee3e3(_0x3188c9)||_0x3188c9);return _0x3188c9;},_0x2ef432=(_0x1b27db,_0x10696e)=>(_0x48badc,_0x1714bf)=>_0x10696e(_0x48badc,_0x1714bf,_0x1b27db);_0x1f8ef7['BrowserCollaborationSocketService']=class extends _0x41e580[_0x4af273(0x1ef)]{constructor(_0x57980a,_0x195bb3,_0x2688cf,_0x289a44,_0x29dda9){super(_0x57980a,_0x195bb3,_0x2688cf,_0x289a44,_0x29dda9);}async['createSocket'](_0x2376a5){const _0x3b78f7=_0x4af273,_0x58837f=await this[_0x3b78f7(0x210)](),_0x585c87=this[_0x3b78f7(0x393)](_0x2376a5,_0x58837f);return this[_0x3b78f7(0x1d7)](_0x585c87);}[_0x4af273(0x393)](_0x403524,_0x3941ba){const _0x213b90=_0x4af273,_0x21e2ac=typeof window>'u'?new URL(_0x403524):new URL(_0x403524,window[_0x213b90(0x1f7)][_0x213b90(0x2a6)]);_0x21e2ac['searchParams'][_0x213b90(0x39f)](_0x213b90(0x179),_0x3941ba);const _0x3336bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x213b90(0x1f7)][_0x213b90(0x25f)]);return _0x3336bc[_0x213b90(0x298)](_0x213b90(0x21a))&&_0x21e2ac[_0x213b90(0x1a7)][_0x213b90(0x39f)](_0x213b90(0x21a),_0x3336bc['get']('runId')),_0x21e2ac['toString']();}async[_0x4af273(0x210)](){const _0x3cd388=_0x4af273;var _0x5cdd30,_0x368065,_0xa6929a;const _0x192132=this[_0x3cd388(0x123)][_0x3cd388(0x3b3)](_0x41e580[_0x3cd388(0x302)]),_0x5f12a8=(_0x5cdd30=_0x192132==null?void 0x0:_0x192132[_0x3cd388(0x1f1)])!=null?_0x5cdd30:_0x41e580['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xa6929a=(_0x368065=(await this['_httpService'][_0x3cd388(0x298)](_0x5f12a8,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x368065[_0x3cd388(0x14c)])!=null?_0xa6929a:'';}},_0x1f8ef7[_0x4af273(0x2e0)]=_0xb96f6f([_0x2ef432(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x2ef432(0x1,_0x1f5e5b[_0x4af273(0x371)](_0x2d69ac['HTTPService'])),_0x2ef432(0x2,_0x1f5e5b['IConfigService']),_0x2ef432(0x3,_0x1f5e5b['ILogService']),_0x2ef432(0x4,_0xe2b8d2[_0x4af273(0x175)])],_0x1f8ef7[_0x4af273(0x2e0)]);var _0x1f6af1=Object['getOwnPropertyDescriptor'],_0x5d3325=(_0x564896,_0x30f713,_0x4cd07b,_0x143550)=>{const _0x52fb39=_0x4af273;for(var _0x3faee8=_0x143550>0x1?void 0x0:_0x143550?_0x1f6af1(_0x30f713,_0x4cd07b):_0x30f713,_0x184adf=_0x564896[_0x52fb39(0x219)]-0x1,_0x44bb6a;_0x184adf>=0x0;_0x184adf--)(_0x44bb6a=_0x564896[_0x184adf])&&(_0x3faee8=_0x44bb6a(_0x3faee8)||_0x3faee8);return _0x3faee8;},_0x582d26=(_0x1e5a68,_0x1fe197)=>(_0x48c97c,_0x297640)=>_0x1fe197(_0x48c97c,_0x297640,_0x1e5a68);_0x1f8ef7[_0x4af273(0x1c7)]=class extends _0x1f5e5b['Disposable']{constructor(_0x3c703d,_0x5c6351,_0x5016f4){super(),this['_instanceService']=_0x3c703d,this['_httpService']=_0x5c6351,this['_configService']=_0x5016f4;}async[_0x4af273(0x27b)](_0x5111f2,_0x3ff7d4,_0x72df05,..._0x2353ef){const _0x449c78=_0x4af273;var _0xb673d0,_0x137929,_0x596dae,_0x397ca2;const _0xf872f3=this[_0x449c78(0x26e)][_0x449c78(0x322)]();if(!_0xf872f3)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1bf363=((_0xb673d0=this[_0x449c78(0x123)][_0x449c78(0x3b3)](_0x41e580['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xb673d0:_0x41e580[_0x449c78(0x246)])+'/'+_0x5111f2+_0x449c78(0x1ec)+_0x3ff7d4,_0x1c8377=new URL(window[_0x449c78(0x1f7)][_0x449c78(0x235)]),_0x4a4ca1={'scriptId':_0x5111f2,'runId':(_0x137929=_0x1c8377[_0x449c78(0x1a7)][_0x449c78(0x298)](_0x449c78(0x21a)))!=null?_0x137929:'','function':_0x3ff7d4,'unitId':_0xf872f3['getUnitId'](),'argsOfFunction':JSON[_0x449c78(0x18a)](_0x2353ef),'invokeId':(_0x596dae=_0x72df05[_0x449c78(0x106)])!=null?_0x596dae:'','executionId':(_0x397ca2=_0x72df05[_0x449c78(0x2ab)])!=null?_0x397ca2:''};try{const _0x53c4e9=await this[_0x449c78(0x1db)]['post'](_0x1bf363,{'body':_0x4a4ca1});return _0x53c4e9[_0x449c78(0x14e)][_0x449c78(0x3bc)]&&_0x53c4e9[_0x449c78(0x14e)][_0x449c78(0x3bc)][_0x449c78(0x1ae)]!==_0x513a8d['OK']?_0x449c78(0x297):_0x53c4e9[_0x449c78(0x14e)][_0x449c78(0x1c1)];}catch{return _0x449c78(0x297);}}},_0x1f8ef7['RemoteUniscriptService']=_0x5d3325([_0x582d26(0x0,_0x1f5e5b[_0x4af273(0x1d5)]),_0x582d26(0x1,_0x1f5e5b['Inject'](_0x2d69ac['HTTPService'])),_0x582d26(0x2,_0x1f5e5b[_0x4af273(0x354)])],_0x1f8ef7[_0x4af273(0x1c7)]);const _0x3b63fd=0x7530,_0x2572c3=_0x4af273(0x166);class _0x4918ef extends _0x1f5e5b[_0x4af273(0x218)]{constructor(){const _0x100ac7=_0x4af273;super(),_0x2cf944(this,_0x100ac7(0x237),_0x1f5e5b[_0x100ac7(0x23d)]()),_0x2cf944(this,_0x100ac7(0x241),new Set()),_0x2cf944(this,_0x100ac7(0x105),new Map()),_0x2cf944(this,_0x100ac7(0x334),null),_0x2cf944(this,_0x100ac7(0x2ea),new Map()),_0x2cf944(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x1107bc=_0x4af273;super[_0x1107bc(0x254)](),this[_0x1107bc(0x2ea)][_0x1107bc(0x26c)]((_0x20a313,_0x1accdb)=>this['_removeClearOtherTimer'](_0x1accdb)),this['_heartbeatTimer']&&window[_0x1107bc(0x1e3)](this[_0x1107bc(0x334)]);}[_0x4af273(0x29b)](_0x352004){const _0x5d314a=_0x4af273;return this['_ensureSubject'](_0x352004)['pipe'](_0x33c65e[_0x5d314a(0x30a)]());}[_0x4af273(0x15d)](_0x4ea859){const _0x616d6e=_0x4af273;this[_0x616d6e(0x241)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x616d6e(0x241)][_0x616d6e(0x3bb)](_0x4ea859),this[_0x616d6e(0x285)]({'type':0x0,'memberID':this[_0x616d6e(0x237)],'unitIDs':[_0x4ea859],'isForwarded':!0x1});}[_0x4af273(0x320)](_0x2f3d09){const _0xb5edb2=_0x4af273;this['_selfUnitIDs'][_0xb5edb2(0x2f3)](_0x2f3d09),this[_0xb5edb2(0x241)]['size']===0x0&&this['_heartbeatTimer']&&window[_0xb5edb2(0x1e3)](this[_0xb5edb2(0x334)]);}[_0x4af273(0x313)](){const _0x2fe203=_0x4af273;this['disposeWithMe'](_0x1f5e5b['toDisposable'](_0x33c65e[_0x2fe203(0x13d)](window,'storage')[_0x2fe203(0x16b)](_0x25f440=>{const _0x5e2cc7=_0x2fe203;if(_0x25f440[_0x5e2cc7(0x2a4)]!==_0x2572c3||!_0x25f440[_0x5e2cc7(0x1cc)])return;const _0xa5f834=JSON[_0x5e2cc7(0x259)](_0x25f440[_0x5e2cc7(0x1cc)]);this[_0x5e2cc7(0x18d)](_0xa5f834);}))),window[_0x2fe203(0x182)](_0x2fe203(0x150),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2fe203(0x13c)](this[_0x2fe203(0x241)])}));}[_0x4af273(0x18d)](_0x6be073){const _0x5a5e12=_0x4af273;switch(_0x6be073[_0x5a5e12(0x330)]){case 0x0:this[_0x5a5e12(0x30f)](_0x6be073);break;case 0x1:this[_0x5a5e12(0x186)](_0x6be073);break;case 0x2:this[_0x5a5e12(0x2ce)](_0x6be073);break;}}['_handleJoinEvent'](_0x45b9b7){const _0x4dc987=_0x4af273,{unitIDs:_0xc70850,memberID:_0xfb32f6,isForwarded:_0x43e881}=_0x45b9b7;_0xc70850[_0x4dc987(0x26c)](_0x4676fc=>{const _0x467086=_0x4dc987;if(!_0x43e881&&this[_0x467086(0x105)][_0x467086(0x280)](_0x4676fc)&&this['_ensureSubject'](_0x4676fc)[_0x467086(0x2d7)](_0x41e580[_0x467086(0x17d)][_0x467086(0x338)]),!this[_0x467086(0x105)][_0x467086(0x280)](_0x4676fc)||!this[_0x467086(0x105)][_0x467086(0x298)](_0x4676fc)['has'](_0xfb32f6)){const _0x583c1e=this[_0x467086(0x105)][_0x467086(0x298)](_0x4676fc)||new Set();_0x583c1e[_0x467086(0x3bb)](_0xfb32f6),this['_unitOnClients'][_0x467086(0x39f)](_0x4676fc,_0x583c1e),this[_0x467086(0x37c)](_0xfb32f6);}}),_0x43e881||this[_0x4dc987(0x285)]({'type':0x0,'memberID':this[_0x4dc987(0x237)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4af273(0x37c)](_0x23366c){const _0x3d3844=_0x4af273;this['_removeClearOtherTimer'](_0x23366c);const _0x42291d=window[_0x3d3844(0x178)](()=>{const _0x1fb3d7=_0x3d3844;this[_0x1fb3d7(0x105)]['forEach'](_0x59f58a=>{const _0x1f39af=_0x1fb3d7;_0x59f58a[_0x1f39af(0x2f3)](_0x23366c);});},_0x3b63fd*0x2);this[_0x3d3844(0x2ea)][_0x3d3844(0x39f)](_0x23366c,_0x42291d);}[_0x4af273(0x35d)](_0x384236){const _0x454cda=_0x4af273;if(this[_0x454cda(0x2ea)][_0x454cda(0x280)](_0x384236)){const _0x5ea6f0=this[_0x454cda(0x2ea)][_0x454cda(0x298)](_0x384236);_0x5ea6f0&&window['clearTimeout'](_0x5ea6f0),this[_0x454cda(0x2ea)]['set'](_0x384236,null);}}['_handleLeaveEvent'](_0x2a9392){const _0x2c8b06=_0x4af273,{memberID:_0x11cc0d,unitIDs:_0x4bcaf3}=_0x2a9392;_0x4bcaf3[_0x2c8b06(0x26c)](_0x4c9c2d=>{const _0x548e8a=_0x2c8b06;var _0x29e610;const _0x6668f7=this[_0x548e8a(0x105)]['get'](_0x4c9c2d);_0x6668f7&&(_0x6668f7[_0x548e8a(0x2f3)](_0x11cc0d),(_0x29e610=this[_0x548e8a(0x3b7)](_0x4c9c2d))==null||_0x29e610['next'](_0x6668f7[_0x548e8a(0x124)]===0x0?_0x41e580[_0x548e8a(0x17d)]['NO_OTHER_CLIENTS_EDITING']:_0x41e580['UnitStatus'][_0x548e8a(0x338)]));}),this[_0x2c8b06(0x35d)](_0x11cc0d);}[_0x4af273(0x2ce)](_0x397d53){const _0x3c8187=_0x4af273;this[_0x3c8187(0x37c)](_0x397d53['memberID']);}['_send'](_0x1adc75){const _0x5b0a5e=_0x4af273;localStorage[_0x5b0a5e(0x136)](_0x2572c3,JSON[_0x5b0a5e(0x18a)](_0x1adc75));}[_0x4af273(0x1f3)](){const _0x5dbb61=_0x4af273;this[_0x5dbb61(0x334)]=window['setInterval'](()=>{const _0xc17aa3=_0x5dbb61;this[_0xc17aa3(0x285)]({'type':0x2,'memberID':this[_0xc17aa3(0x237)]});},_0x3b63fd);}[_0x4af273(0x3b7)](_0x25fbf9){const _0x1a36cd=_0x4af273;return this[_0x1a36cd(0x242)][_0x1a36cd(0x280)](_0x25fbf9)||this[_0x1a36cd(0x242)][_0x1a36cd(0x39f)](_0x25fbf9,new _0x33c65e[(_0x1a36cd(0x301))](_0x41e580[_0x1a36cd(0x17d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1a36cd(0x242)][_0x1a36cd(0x298)](_0x25fbf9);}}_0x1f8ef7[_0x4af273(0x170)]=_0x5994ee,_0x1f8ef7[_0x4af273(0x161)]=_0x4323d0,_0x1f8ef7[_0x4af273(0xf8)]=_0x4918ef,_0x1f8ef7[_0x4af273(0xf9)]=_0x11f47e,Object[_0x4af273(0x1b0)](_0x1f8ef7,Symbol['toStringTag'],{'value':_0x4af273(0x28a)});}));
|
|
8
|
+
(function(_0x39a91c,_0x3c1999){const _0x45bbc2=_0x1a8e,_0x592ba6=_0x39a91c();while(!![]){try{const _0x39fa18=parseInt(_0x45bbc2(0x1e2))/0x1+-parseInt(_0x45bbc2(0x425))/0x2+-parseInt(_0x45bbc2(0x253))/0x3*(parseInt(_0x45bbc2(0x3b0))/0x4)+parseInt(_0x45bbc2(0x204))/0x5*(-parseInt(_0x45bbc2(0x205))/0x6)+parseInt(_0x45bbc2(0x270))/0x7+parseInt(_0x45bbc2(0x3ef))/0x8+-parseInt(_0x45bbc2(0x28a))/0x9;if(_0x39fa18===_0x3c1999)break;else _0x592ba6['push'](_0x592ba6['shift']());}catch(_0x2ae363){_0x592ba6['push'](_0x592ba6['shift']());}}}(_0x14a7,0xd7a44),function(_0x41738b,_0x71ca4c){const _0x39a7ef=_0x1a8e;typeof exports=='object'&&typeof module<'u'?_0x71ca4c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x39a7ef(0x1d2)]?define([_0x39a7ef(0x444),_0x39a7ef(0x1ff),_0x39a7ef(0x401),_0x39a7ef(0x28f),'@univerjs/ui',_0x39a7ef(0x31a),_0x39a7ef(0x1e0),_0x39a7ef(0x493),'@univerjs/rpc',_0x39a7ef(0x360),_0x39a7ef(0x36a),_0x39a7ef(0x2e5),_0x39a7ef(0x34d),_0x39a7ef(0x2b5),_0x39a7ef(0x288),'@univerjs/docs',_0x39a7ef(0x323),_0x39a7ef(0x468),_0x39a7ef(0x21e)],_0x71ca4c):(_0x41738b=typeof globalThis<'u'?globalThis:_0x41738b||self,_0x71ca4c(_0x41738b[_0x39a7ef(0x1f7)]={},_0x41738b[_0x39a7ef(0x382)],_0x41738b[_0x39a7ef(0x3c8)],_0x41738b['UniverCore'],_0x41738b[_0x39a7ef(0x22f)],_0x41738b[_0x39a7ef(0x31a)],_0x41738b[_0x39a7ef(0x3b9)],_0x41738b['React'],_0x41738b[_0x39a7ef(0x1e8)],_0x41738b[_0x39a7ef(0x224)],_0x41738b[_0x39a7ef(0x464)],_0x41738b['UniverNetwork'],_0x41738b[_0x39a7ef(0x3ad)],_0x41738b[_0x39a7ef(0x32c)],_0x41738b[_0x39a7ef(0x223)],_0x41738b[_0x39a7ef(0x21a)],_0x41738b[_0x39a7ef(0x1ea)],_0x41738b[_0x39a7ef(0x31a)]['operators'],_0x41738b[_0x39a7ef(0x20b)]));}(this,function(_0x46875a,_0x246a04,_0x46104e,_0x161ac6,_0x4291c6,_0x66cc31,_0x37af48,_0x166ef5,_0xbc9216,_0xc6f6be,_0x1fade8,_0x4db2d9,_0x5d4e8b,_0x275a1a,_0x48fdef,_0x4db13e,_0x50020c,_0x136df2,_0x5b4c60){'use strict';const _0x4624f5=_0x1a8e;var _0x489fc9=Object[_0x4624f5(0x340)],_0x1b6f59=(_0x2f034f,_0x5c44a7,_0x4e409e)=>_0x5c44a7 in _0x2f034f?_0x489fc9(_0x2f034f,_0x5c44a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e409e}):_0x2f034f[_0x5c44a7]=_0x4e409e,_0x47bfcc=(_0x3a75be,_0x3aaffa,_0x2e5fd1)=>_0x1b6f59(_0x3a75be,typeof _0x3aaffa!='symbol'?_0x3aaffa+'':_0x3aaffa,_0x2e5fd1);function _0x3874fc({ref:_0x8d73ff,..._0x2edd9d}){const _0x6a3ff8=_0x4624f5,{icon:_0x1103ff,id:_0x2347d1,className:_0x47f2ad,extend:_0x5749d4,..._0x566b9e}=_0x2edd9d,_0x2ab888=(_0x6a3ff8(0x486)+_0x2347d1+'\x20'+(_0x47f2ad||''))[_0x6a3ff8(0x358)](),_0x406f6=_0x166ef5[_0x6a3ff8(0x2a7)]('_'+_0x2bd72d());return _0xd862a4(_0x1103ff,''+_0x2347d1,{'defIds':_0x1103ff[_0x6a3ff8(0x40a)],'idSuffix':_0x406f6[_0x6a3ff8(0x472)]},{'ref':_0x8d73ff,'className':_0x2ab888,..._0x566b9e},_0x5749d4);}function _0xd862a4(_0x1afe7a,_0x33591f,_0x3ee733,_0x15eafa,_0x257323){const _0xed069b=_0x4624f5;return _0x166ef5[_0xed069b(0x3cc)](_0x1afe7a['tag'],{'key':_0x33591f,..._0x504ee4(_0x1afe7a,_0x3ee733,_0x257323),..._0x15eafa},(_0x301629(_0x1afe7a,_0x3ee733)['children']||[])[_0xed069b(0x44e)]((_0x71a161,_0x2e2b7b)=>_0xd862a4(_0x71a161,_0x33591f+'-'+_0x1afe7a['tag']+'-'+_0x2e2b7b,_0x3ee733,void 0x0,_0x257323)));}function _0x504ee4(_0x3870cb,_0x138cac,_0x1005ff){const _0x48ddcd=_0x4624f5,_0xf1b5cd={..._0x3870cb[_0x48ddcd(0x495)]};_0x1005ff!=null&&_0x1005ff[_0x48ddcd(0x39f)]&&_0xf1b5cd[_0x48ddcd(0x201)]===_0x48ddcd(0x39f)&&(_0xf1b5cd[_0x48ddcd(0x201)]=_0x1005ff[_0x48ddcd(0x39f)]),_0x3870cb[_0x48ddcd(0x32f)]===_0x48ddcd(0x231)&&_0xf1b5cd['id']&&(_0xf1b5cd['id']=_0xf1b5cd['id']+_0x138cac['idSuffix']),Object[_0x48ddcd(0x2a6)](_0xf1b5cd)[_0x48ddcd(0x265)](([_0x337cb1,_0x31e44b])=>{const _0x1b6909=_0x48ddcd;_0x337cb1==='mask'&&typeof _0x31e44b==_0x1b6909(0x306)&&(_0xf1b5cd[_0x337cb1]=_0x31e44b['replace'](/url\(#(.*)\)/,_0x1b6909(0x28e)+_0x138cac[_0x1b6909(0x35e)]+')'));});const {defIds:_0x41edb4}=_0x138cac;return!_0x41edb4||_0x41edb4['length']===0x0||(_0x3870cb[_0x48ddcd(0x32f)]===_0x48ddcd(0x275)&&_0xf1b5cd[_0x48ddcd(0x284)]&&(_0xf1b5cd[_0x48ddcd(0x284)]=_0xf1b5cd[_0x48ddcd(0x284)]+_0x138cac[_0x48ddcd(0x35e)]),Object[_0x48ddcd(0x2a6)](_0xf1b5cd)[_0x48ddcd(0x265)](([_0x3ecec7,_0x4c1d74])=>{const _0x456352=_0x48ddcd;typeof _0x4c1d74==_0x456352(0x306)&&(_0xf1b5cd[_0x3ecec7]=_0x4c1d74[_0x456352(0x3bc)](/url\(#(.*)\)/,_0x456352(0x28e)+_0x138cac[_0x456352(0x35e)]+')'));})),_0xf1b5cd;}function _0x301629(_0x5df16e,_0x4b3cb7){const _0x865fcd=_0x4624f5;var _0x1ee7ea;const {defIds:_0x3673ef}=_0x4b3cb7;return!_0x3673ef||_0x3673ef[_0x865fcd(0x1e5)]===0x0?_0x5df16e:_0x5df16e[_0x865fcd(0x32f)]==='defs'&&((_0x1ee7ea=_0x5df16e[_0x865fcd(0x34c)])!=null&&_0x1ee7ea[_0x865fcd(0x1e5)])?{..._0x5df16e,'children':_0x5df16e[_0x865fcd(0x34c)][_0x865fcd(0x44e)](_0x22acce=>typeof _0x22acce[_0x865fcd(0x495)]['id']==_0x865fcd(0x306)&&_0x3673ef&&_0x3673ef[_0x865fcd(0x354)](_0x22acce[_0x865fcd(0x495)]['id'])?{..._0x22acce,'attrs':{..._0x22acce[_0x865fcd(0x495)],'id':_0x22acce[_0x865fcd(0x495)]['id']+_0x4b3cb7['idSuffix']}}:_0x22acce)}:_0x5df16e;}function _0x2bd72d(){const _0x3e5712=_0x4624f5;return Math['random']()[_0x3e5712(0x266)](0x24)[_0x3e5712(0x27b)](0x2,0x8);}_0x3874fc[_0x4624f5(0x49e)]=_0x4624f5(0x3af);const _0x5a0d1b={'tag':_0x4624f5(0x396),'attrs':{'xmlns':_0x4624f5(0x208),'fill':_0x4624f5(0x3ba),'viewBox':_0x4624f5(0x350),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4624f5(0x2cb)},'children':[{'tag':_0x4624f5(0x461),'attrs':{'stroke':'currentColor','d':_0x4624f5(0x1dc),'strokeLinecap':'round','strokeLinejoin':_0x4624f5(0x31e),'strokeWidth':1.2}}]},{'tag':_0x4624f5(0x2ff),'attrs':{},'children':[{'tag':_0x4624f5(0x246),'attrs':{'id':_0x4624f5(0x453)},'children':[{'tag':_0x4624f5(0x461),'attrs':{'fill':_0x4624f5(0x471),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4624f5(0x453)]},_0x879869=_0x166ef5[_0x4624f5(0x28d)](function(_0x52cbcc,_0xcd2715){const _0x302fa6=_0x4624f5;return _0x166ef5[_0x302fa6(0x3cc)](_0x3874fc,Object[_0x302fa6(0x2b7)]({},_0x52cbcc,{'id':_0x302fa6(0x45e),'ref':_0xcd2715,'icon':_0x5a0d1b}));});_0x879869[_0x4624f5(0x49e)]=_0x4624f5(0x43e);const _0x3ee199={'tag':'svg','attrs':{'xmlns':_0x4624f5(0x208),'fill':_0x4624f5(0x3ba),'viewBox':'0\x200\x2017\x2016','width':_0x4624f5(0x437),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x4624f5(0x461),'attrs':{'stroke':_0x4624f5(0x2a8),'d':_0x4624f5(0x206),'strokeLinecap':_0x4624f5(0x31e),'strokeLinejoin':_0x4624f5(0x31e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4624f5(0x246),'attrs':{'id':_0x4624f5(0x2a1)},'children':[{'tag':'path','attrs':{'fill':_0x4624f5(0x471),'d':_0x4624f5(0x3a3),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4624f5(0x2a1)]},_0xc8a5ab=_0x166ef5['forwardRef'](function(_0x5aaba8,_0x3c3199){const _0x1603b0=_0x4624f5;return _0x166ef5[_0x1603b0(0x3cc)](_0x3874fc,Object[_0x1603b0(0x2b7)]({},_0x5aaba8,{'id':'on-line-icon','ref':_0x3c3199,'icon':_0x3ee199}));});_0xc8a5ab[_0x4624f5(0x49e)]=_0x4624f5(0x349);function _0xe2a3cc(_0xffd0af){const _0x46744e=_0x4624f5;switch(_0xffd0af){case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x442)]:return _0x46744e(0x49f);case _0x46104e[_0x46744e(0x2e6)]['CONFLICT']:return _0x46744e(0x1f6);case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x3a7)]:return _0x46744e(0x258);case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x484)]:return _0x46744e(0x47f);case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x3dd)]:case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x2d7)]:return _0x46744e(0x2d5);case _0x46104e['CollaborationStatus'][_0x46744e(0x219)]:case _0x46104e[_0x46744e(0x2e6)][_0x46744e(0x3f6)]:return _0x46744e(0x316);}}function _0x58006a(_0x5b11b1){const _0x549c66=_0x4624f5,{status$:_0x33bccf}=_0x5b11b1,_0x329ec4=_0x4291c6['useObservable'](_0x33bccf,_0x46104e[_0x549c66(0x2e6)][_0x549c66(0x484)]),_0xe9d830=_0x4291c6[_0x549c66(0x3fd)](_0x161ac6[_0x549c66(0x25a)]),_0x319616=_0x4291c6[_0x549c66(0x3fd)](_0x46104e[_0x549c66(0x26a)]),_0x14f059=_0x329ec4!==_0x46104e['CollaborationStatus'][_0x549c66(0x442)],_0x3b1b11=_0xe9d830['t'](_0xe2a3cc(_0x329ec4)),_0x437d34=_0x14f059?_0x246a04[_0x549c66(0x2cf)](_0xc8a5ab,{}):_0x246a04[_0x549c66(0x2cf)](_0x879869,{}),_0x1a0225=_0x166ef5[_0x549c66(0x352)](()=>{const _0x368dea=_0x549c66;_0x14f059||_0x319616[_0x368dea(0x474)]();},[_0x14f059,_0x319616]);function _0x32cb69(){const _0x1d9b62=_0x549c66;return _0x246a04['jsxs'](_0x1d9b62(0x414),{'className':'univer-flex\x20univer-items-center','onClick':_0x1a0225,'children':[_0x246a04['jsx'](_0x1d9b62(0x414),{'className':_0x37af48['clsx'](_0x1d9b62(0x3ac),{'univer-text-green-500':_0x14f059,'univer-text-red-500':!_0x14f059}),'children':_0x437d34}),_0x246a04['jsx'](_0x1d9b62(0x414),{'className':_0x1d9b62(0x400),'children':_0x3b1b11})]});}return _0x14f059?_0x32cb69():_0x246a04[_0x549c66(0x2cf)](_0x37af48[_0x549c66(0x318)],{'title':_0xe9d830['t'](_0x549c66(0x47d)),'children':_0x32cb69()});}var _0x13d5fd=Object['getOwnPropertyDescriptor'],_0x1d9a4a=(_0x243bdd,_0xc1e9d5,_0x4a996e,_0xc727a5)=>{const _0x35f124=_0x4624f5;for(var _0x21886c=_0xc727a5>0x1?void 0x0:_0xc727a5?_0x13d5fd(_0xc1e9d5,_0x4a996e):_0xc1e9d5,_0x36ee63=_0x243bdd[_0x35f124(0x1e5)]-0x1,_0x5e4002;_0x36ee63>=0x0;_0x36ee63--)(_0x5e4002=_0x243bdd[_0x36ee63])&&(_0x21886c=_0x5e4002(_0x21886c)||_0x21886c);return _0x21886c;},_0x2fc7d5=(_0x55ca09,_0x1509fe)=>(_0x10faf0,_0x214fb9)=>_0x1509fe(_0x10faf0,_0x214fb9,_0x55ca09);_0x46875a[_0x4624f5(0x492)]=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x382067,_0x47a158,_0x282d21,_0xa37ee1){const _0x2b296b=_0x4624f5;super(),_0x47bfcc(this,_0x2b296b(0x3e7),new _0x66cc31['BehaviorSubject'](_0x46104e['CollaborationStatus'][_0x2b296b(0x484)])),(this['_univerInstanceService']=_0x382067,this[_0x2b296b(0x298)]=_0x47a158,this[_0x2b296b(0x2c0)]=_0x282d21,this[_0x2b296b(0x2ab)]=_0xa37ee1,this[_0x2b296b(0x384)](),this[_0x2b296b(0x33d)]());}['_initStatusListener'](){const _0x4ad62b=_0x4624f5;this[_0x4ad62b(0x30f)](this[_0x4ad62b(0x485)]['focused$'][_0x4ad62b(0x1ef)](_0x66cc31[_0x4ad62b(0x46f)](()=>{const _0x588c97=_0x4ad62b,_0x3938fa=this[_0x588c97(0x485)][_0x588c97(0x45a)]();return _0x3938fa?this['_collaborationController'][_0x588c97(0x46c)](_0x3938fa[_0x588c97(0x30b)]()):_0x66cc31['of'](null);}),_0x66cc31[_0x4ad62b(0x46f)](_0x22da9e=>_0x22da9e?_0x22da9e[_0x4ad62b(0x2dd)]:_0x66cc31['of'](_0x46104e[_0x4ad62b(0x2e6)][_0x4ad62b(0x484)])))[_0x4ad62b(0x26b)](_0x1e5375=>{const _0x2f6df3=_0x4ad62b;this[_0x2f6df3(0x3e7)][_0x2f6df3(0x3c9)](_0x1e5375);}));}[_0x4624f5(0x384)](){const _0x532a40=_0x4624f5;this[_0x532a40(0x30f)](this[_0x532a40(0x2ab)][_0x532a40(0x3eb)](_0x4291c6[_0x532a40(0x411)]['HEADER_MENU'],()=>_0x4291c6[_0x532a40(0x370)](_0x423244({'status$':this[_0x532a40(0x3e7)][_0x532a40(0x215)]()}),this[_0x532a40(0x298)])));}},_0x46875a[_0x4624f5(0x492)]=_0x1d9a4a([_0x2fc7d5(0x0,_0x161ac6[_0x4624f5(0x37d)]),_0x2fc7d5(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x2fc7d5(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x46104e[_0x4624f5(0x23f)])),_0x2fc7d5(0x3,_0x4291c6[_0x4624f5(0x228)])],_0x46875a[_0x4624f5(0x492)]);function _0x423244(_0x4dc632){const {status$:_0x451a79}=_0x4dc632;return function(){return _0x246a04['jsx'](_0x58006a,{'status$':_0x451a79});};}const _0x5a3a5f=_0x161ac6[_0x4624f5(0x282)]('uni.network.url-service');var _0x4f5c71=Object['getOwnPropertyDescriptor'],_0x318a87=(_0x53c002,_0x4063b5,_0x528898,_0x249335)=>{const _0x1e2fae=_0x4624f5;for(var _0x1ae9dd=_0x249335>0x1?void 0x0:_0x249335?_0x4f5c71(_0x4063b5,_0x528898):_0x4063b5,_0x1c09c7=_0x53c002[_0x1e2fae(0x1e5)]-0x1,_0x1bf666;_0x1c09c7>=0x0;_0x1c09c7--)(_0x1bf666=_0x53c002[_0x1c09c7])&&(_0x1ae9dd=_0x1bf666(_0x1ae9dd)||_0x1ae9dd);return _0x1ae9dd;},_0x158e8b=(_0x229ae8,_0x5d6300)=>(_0x3a4259,_0x2e48a9)=>_0x5d6300(_0x3a4259,_0x2e48a9,_0x229ae8);_0x46875a[_0x4624f5(0x25f)]=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x3c2c95,_0x57c844,_0x3012bc,_0x2d2d4b,_0x291d1e){const _0x42fd77=_0x4624f5;super(),this[_0x42fd77(0x27e)]=_0x3c2c95,this[_0x42fd77(0x3a2)]=_0x57c844,this[_0x42fd77(0x43a)]=_0x3012bc,this[_0x42fd77(0x1e1)]=_0x2d2d4b,_0x291d1e?_0x291d1e==null||_0x291d1e[_0x42fd77(0x38f)]()[_0x42fd77(0x2e0)](()=>this[_0x42fd77(0x48d)]()):(this[_0x42fd77(0x3a2)]['debug'](_0x42fd77(0x48a),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x42fd77(0x48d)]());}async[_0x4624f5(0x48d)](){const _0x1263eb=_0x4624f5,_0x28c684=this[_0x1263eb(0x27e)]['getParam'](_0x1263eb(0x285)),_0x3ccaf9=this[_0x1263eb(0x27e)]['getParam'](_0x1263eb(0x35b)),_0x4adb75=this['_urlService'][_0x1263eb(0x3cd)](_0x1263eb(0x1cc));if(!_0x28c684||!_0x3ccaf9){this[_0x1263eb(0x3a2)]['debug']('[CollaborationDataLoaderController]',_0x1263eb(0x489));return;}const _0x268129=await this[_0x1263eb(0x1e1)][_0x1263eb(0x2ef)](_0x28c684,Number(_0x3ccaf9),_0x4adb75);_0x268129&&_0x268129 instanceof _0x161ac6[_0x1263eb(0x477)]&&this[_0x1263eb(0x296)](_0x268129);}async[_0x4624f5(0x296)](_0x218552){const _0x66c61f=_0x4624f5;await this[_0x66c61f(0x404)](_0x218552),_0x218552[_0x66c61f(0x1f4)]['pipe'](_0x66cc31[_0x66c61f(0x45d)](this['dispose$']))[_0x66c61f(0x26b)](_0x22f203=>{const _0x441d76=_0x66c61f;_0x22f203&&this[_0x441d76(0x2c6)](_0x22f203);}),this['_urlService'][_0x66c61f(0x23e)][_0x66c61f(0x1ef)](_0x66cc31[_0x66c61f(0x45d)](this['dispose$']))[_0x66c61f(0x26b)](()=>this['_updateSubUnitFromURLParams'](_0x218552));}['_updateURLWithCurrentState'](_0x22d09a,_0x5ec5e4=!0x1){const _0x796eb2=_0x4624f5,_0x1f1fe8=this[_0x796eb2(0x27e)][_0x796eb2(0x3cd)]('subunit');_0x22d09a[_0x796eb2(0x447)]()!==_0x1f1fe8&&this[_0x796eb2(0x27e)][_0x796eb2(0x2c9)](_0x796eb2(0x1cc),_0x22d09a[_0x796eb2(0x447)](),_0x5ec5e4);}async[_0x4624f5(0x404)](_0xdffe92){const _0x378517=_0x4624f5;var _0x31c659;const _0x37a4c9=this[_0x378517(0x27e)][_0x378517(0x3cd)](_0x378517(0x1cc));if(!_0x37a4c9||!_0xdffe92[_0x378517(0x481)](_0x37a4c9)){const _0x1644ee=_0xdffe92['getUnhiddenWorksheets']()[0x0],_0x4a08c1=_0xdffe92[_0x378517(0x481)](_0x1644ee);if(!_0x4a08c1)return;this['_updateURLWithCurrentState'](_0x4a08c1,!0x0),await this[_0x378517(0x43a)][_0x378517(0x225)](_0xc6f6be['SetWorksheetActivateCommand']['id'],{'unitId':_0xdffe92['getUnitId'](),'subUnitId':_0x1644ee});return;}((_0x31c659=_0xdffe92['getActiveSheet']())==null?void 0x0:_0x31c659[_0x378517(0x447)]())!==_0x37a4c9&&await this['_commandService'][_0x378517(0x225)](_0xc6f6be[_0x378517(0x244)]['id'],{'unitId':_0xdffe92[_0x378517(0x30b)](),'subUnitId':_0x37a4c9});}},_0x46875a[_0x4624f5(0x25f)]=_0x318a87([_0x158e8b(0x0,_0x5a3a5f),_0x158e8b(0x1,_0x161ac6[_0x4624f5(0x210)]),_0x158e8b(0x2,_0x161ac6[_0x4624f5(0x41a)]),_0x158e8b(0x3,_0x161ac6['Inject'](_0x46104e[_0x4624f5(0x1fa)])),_0x158e8b(0x4,_0x161ac6[_0x4624f5(0x41f)](_0xbc9216[_0x4624f5(0x3a9)]))],_0x46875a[_0x4624f5(0x25f)]);var _0x582e4f=Object[_0x4624f5(0x272)],_0x4e6c57=(_0x40201a,_0x58ab84,_0x4acd1b,_0x8b88a5)=>{const _0x5a8eb5=_0x4624f5;for(var _0x5e28af=_0x8b88a5>0x1?void 0x0:_0x8b88a5?_0x582e4f(_0x58ab84,_0x4acd1b):_0x58ab84,_0x3a69cc=_0x40201a[_0x5a8eb5(0x1e5)]-0x1,_0x467cb9;_0x3a69cc>=0x0;_0x3a69cc--)(_0x467cb9=_0x40201a[_0x3a69cc])&&(_0x5e28af=_0x467cb9(_0x5e28af)||_0x5e28af);return _0x5e28af;},_0x47b507=(_0x26b1e4,_0x1a2ce8)=>(_0x25af79,_0xc18dbc)=>_0x1a2ce8(_0x25af79,_0xc18dbc,_0x26b1e4);let _0x665a7a=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x536590,_0x15159f){const _0x59c500=_0x4624f5;super(),this[_0x59c500(0x1fe)]=_0x536590,this['_imageIoService']=_0x15159f,this[_0x59c500(0x48d)]();}[_0x4624f5(0x48d)](){const _0x1ba81c=_0x4624f5,_0x4d231d=this;this[_0x1ba81c(0x30f)](this['_docClipboardService'][_0x1ba81c(0x378)]({'onBeforePasteImage':async _0x21584e=>{const _0x3ad2c4=_0x1ba81c,_0x4e9323=await _0x4d231d[_0x3ad2c4(0x424)][_0x3ad2c4(0x29f)](_0x21584e);return _0x4e9323?{'source':_0x4e9323[_0x3ad2c4(0x309)],'imageSourceType':_0x4e9323[_0x3ad2c4(0x356)]}:null;}}));}};_0x665a7a=_0x4e6c57([_0x47b507(0x0,_0x5d4e8b[_0x4624f5(0x26f)]),_0x47b507(0x1,_0x275a1a[_0x4624f5(0x1d5)])],_0x665a7a);const _0x167276=[_0x4624f5(0x1f8),_0x4624f5(0x238),_0x4624f5(0x3a0),_0x4624f5(0x2cc),'blue.400','yellow.400'];class _0x1846fc extends _0x161ac6[_0x4624f5(0x482)]{constructor(){const _0xa1d2e1=_0x4624f5;super(...arguments),_0x47bfcc(this,_0xa1d2e1(0x27a),new Map()),_0x47bfcc(this,_0xa1d2e1(0x260),0x0);}['assignAColorForMemberID'](_0x2c819c){const _0x5e9a02=_0x4624f5;if(this[_0x5e9a02(0x27a)]['has'](_0x2c819c))return this['_assignedColors'][_0x5e9a02(0x333)](_0x2c819c);const _0x38e613=_0x167276[this[_0x5e9a02(0x260)]];return this[_0x5e9a02(0x260)]=(this[_0x5e9a02(0x260)]+0x1)%_0x167276[_0x5e9a02(0x1e5)],this[_0x5e9a02(0x27a)][_0x5e9a02(0x3d5)](_0x2c819c,_0x38e613),_0x38e613;}}function _0xa63dd7(_0x54eb37){const _0x3d6c59=_0x4624f5;let _0x15b4cb='';for(const _0x10cc92 of _0x54eb37){const {startOffset:_0x2da0a1,endOffset:_0x331b9a,isActive:_0x2014af,rangeType:_0x5809ba,segmentId:_0x130c72,segmentPage:_0xb890be}=_0x10cc92;_0x15b4cb[_0x3d6c59(0x1e5)]&&(_0x15b4cb+=','),_0x15b4cb+=_0x2da0a1+':'+_0x331b9a+':'+(_0x2014af?'1':'0')+':'+_0x5809ba+':'+_0x130c72+':'+_0xb890be;}return _0x15b4cb;}function _0x7e2e27(_0x23bae7){const _0x5ce0f0=_0x4624f5,_0x23ec43=_0x23bae7[_0x5ce0f0(0x44a)](','),_0x588347=[];for(const _0x313416 of _0x23ec43){const [_0x599993,_0x176852,_0x1d9c78,_0x4cf3b1,_0x5bb60d,_0x166929]=_0x313416[_0x5ce0f0(0x44a)](':');_0x588347[_0x5ce0f0(0x426)]({'startOffset':Number(_0x599993),'endOffset':Number(_0x176852),'collapsed':_0x599993===_0x176852,'isActive':_0x1d9c78==='1','rangeType':_0x4cf3b1===_0x161ac6[_0x5ce0f0(0x29b)][_0x5ce0f0(0x2d1)]?_0x161ac6[_0x5ce0f0(0x29b)][_0x5ce0f0(0x2d1)]:_0x161ac6[_0x5ce0f0(0x29b)][_0x5ce0f0(0x475)],'segmentId':typeof _0x5bb60d==_0x5ce0f0(0x306)?String(_0x5bb60d):'','segmentPage':Number(_0x166929!=null?_0x166929:-0x1)});}return _0x588347['some'](_0x1d27ed=>_0x1d27ed[_0x5ce0f0(0x37e)])||(_0x588347[0x0][_0x5ce0f0(0x37e)]=!0x0),_0x588347;}class _0x360498 extends _0x161ac6[_0x4624f5(0x240)]{constructor(){const _0x434d28=_0x4624f5;super(...arguments),_0x47bfcc(this,_0x434d28(0x3b8),new _0x66cc31[(_0x434d28(0x41e))](null)),_0x47bfcc(this,'collabCursorState$',this['_collabCursorState$'][_0x434d28(0x215)]());}[_0x4624f5(0x26c)](_0x1aa26e){const _0x5ad895=_0x4624f5,{unitID:_0x5f19ae,memberID:_0x21d109,textRanges:_0x3c6c3d}=_0x1aa26e,_0x207765=_0xa63dd7(_0x3c6c3d);if(_0x207765==='')return;const _0x48d573={'unitID':_0x5f19ae,'memberID':_0x21d109,'selection':_0x207765};this['_collabCursorState$'][_0x5ad895(0x3c9)](_0x48d573);}}var _0x47ce8f=Object[_0x4624f5(0x272)],_0x55c00a=(_0x25934b,_0x3d3967,_0x152ff7,_0x464338)=>{for(var _0x10933f=_0x464338>0x1?void 0x0:_0x464338?_0x47ce8f(_0x3d3967,_0x152ff7):_0x3d3967,_0x262a38=_0x25934b['length']-0x1,_0x249a21;_0x262a38>=0x0;_0x262a38--)(_0x249a21=_0x25934b[_0x262a38])&&(_0x10933f=_0x249a21(_0x10933f)||_0x10933f);return _0x10933f;},_0x25c269=(_0x5bdaae,_0x2a5e8e)=>(_0x531365,_0x59ba94)=>_0x2a5e8e(_0x531365,_0x59ba94,_0x5bdaae);const _0x28488e=0x12c,_0x406130=0x64;let _0x2262fb=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x6ce01f,_0x14a533,_0x443724,_0x530c72,_0x13bbeb,_0x4ef41e,_0x487800,_0x285957,_0x3da708){const _0xb95fd4=_0x4624f5;super(),_0x47bfcc(this,_0xb95fd4(0x27f),!0x1),_0x47bfcc(this,_0xb95fd4(0x48d),!0x1),_0x47bfcc(this,_0xb95fd4(0x218),new _0x66cc31['BehaviorSubject'](new Map())),_0x47bfcc(this,_0xb95fd4(0x3ed),this[_0xb95fd4(0x218)][_0xb95fd4(0x215)]()),_0x47bfcc(this,_0xb95fd4(0x3a8),new _0x66cc31[(_0xb95fd4(0x41e))]([])),_0x47bfcc(this,'roomMembers$',this[_0xb95fd4(0x3a8)][_0xb95fd4(0x1ef)](_0x66cc31[_0xb95fd4(0x405)](_0x28488e))),_0x47bfcc(this,_0xb95fd4(0x2c5),_0x161ac6[_0xb95fd4(0x3e4)](_0x5742d7=>{const _0x5083b6=_0xb95fd4,_0x5328ac={'eventID':_0x48fdef[_0x5083b6(0x3b2)][_0x5083b6(0x261)],'data':{'unitID':this[_0x5083b6(0x2e9)],'memberID':this[_0x5083b6(0x344)][_0x5083b6(0x3d2)](),'selection':_0xa63dd7(_0x5742d7)}};this[_0x5083b6(0x344)]['send'](_0x5328ac,this[_0x5083b6(0x2e9)]);},_0x406130)),(this['unitID']=_0x6ce01f,this['_session']=_0x14a533,this[_0xb95fd4(0x298)]=_0x443724,this['_colorAssignService']=_0x530c72,this[_0xb95fd4(0x23a)]=_0x13bbeb,this[_0xb95fd4(0x3f5)]=_0x4ef41e,this['_transformService']=_0x487800,this[_0xb95fd4(0x485)]=_0x285957,this[_0xb95fd4(0x43a)]=_0x3da708);}get[_0x4624f5(0x20c)](){const _0x4d5ad3=_0x4624f5;return this[_0x4d5ad3(0x218)][_0x4d5ad3(0x3dc)]();}get[_0x4624f5(0x2fe)](){const _0x3d3584=_0x4624f5;return this[_0x3d3584(0x3a8)][_0x3d3584(0x3dc)]();}['dispose'](){const _0x189164=_0x4624f5;super['dispose'](),this[_0x189164(0x218)]['next'](new Map()),this['_cursorInfo$'][_0x189164(0x487)](),this[_0x189164(0x3a8)][_0x189164(0x3c9)]([]),this[_0x189164(0x3a8)]['complete']();}[_0x4624f5(0x2b2)](){const _0x31dd4e=_0x4624f5;this[_0x31dd4e(0x48d)]||(this['_init']=!0x0,this[_0x31dd4e(0x344)][_0x31dd4e(0x221)][_0x31dd4e(0x1ef)](_0x66cc31[_0x31dd4e(0x45d)](this[_0x31dd4e(0x289)]))[_0x31dd4e(0x26b)](_0x7066ae=>{const _0x35694e=_0x31dd4e;_0x7066ae===_0x46104e[_0x35694e(0x290)][_0x35694e(0x428)]?this['_toggleOnline']():this[_0x35694e(0x1dd)]();}),this[_0x31dd4e(0x344)][_0x31dd4e(0x3fa)][_0x31dd4e(0x1ef)](_0x66cc31[_0x31dd4e(0x45d)](this[_0x31dd4e(0x289)]))[_0x31dd4e(0x26b)](_0x8f5b3=>{const _0x11b227=_0x31dd4e,_0x152bbe=_0x8f5b3['eventID'];_0x152bbe===_0x48fdef[_0x11b227(0x3b2)][_0x11b227(0x261)]&&this[_0x11b227(0x315)](_0x8f5b3),_0x152bbe===_0x48fdef[_0x11b227(0x3b2)][_0x11b227(0x217)]&&this['_onCursorDelete'](_0x8f5b3);}),this['disposeWithMe'](this[_0x31dd4e(0x43a)][_0x31dd4e(0x391)](_0x185c27=>{const _0x5d4e38=_0x31dd4e,_0x181f30=_0x185c27['params'];_0x181f30!=null&&this['_online']&&_0x185c27['id']===_0x4db13e[_0x5d4e38(0x1d7)]['id']&&_0x181f30[_0x5d4e38(0x470)]===this['unitID']&&_0x181f30[_0x5d4e38(0x281)]===!0x1&&_0x181f30[_0x5d4e38(0x1e9)][_0x5d4e38(0x1e5)]>0x0&&this[_0x5d4e38(0x2c5)](_0x181f30[_0x5d4e38(0x1e9)]);})),this['_syncEditingCollabCursorService'][_0x31dd4e(0x422)][_0x31dd4e(0x1ef)](_0x66cc31[_0x31dd4e(0x45d)](this[_0x31dd4e(0x289)]))['subscribe'](_0x2f054a=>{const _0x5b3369=_0x31dd4e;if((_0x2f054a==null?void 0x0:_0x2f054a[_0x5b3369(0x2e9)])!==this['unitID'])return;const _0x465b9f={'eventID':_0x48fdef['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x2f054a};this[_0x5b3369(0x315)](_0x465b9f);}),this['disposeWithMe'](this[_0x31dd4e(0x43a)]['onCommandExecuted'](_0x5eeada=>{const _0x22e80b=_0x31dd4e;if(_0x5eeada['params']==null)return;const _0x395393=_0x5eeada[_0x22e80b(0x276)];if(_0x5eeada['id']!==_0x4db13e['RichTextEditingMutation']['id']||_0x395393[_0x22e80b(0x470)]!==this[_0x22e80b(0x2e9)])return;const _0x39a862={'id':_0x22e80b(0x25b),'params':_0x395393},_0x253af1=this[_0x22e80b(0x20c)];for(const [_0x1c58ed,_0x5a66d8]of _0x253af1){const _0x4ba3c5={'id':_0x22e80b(0x25b),'params':{'unitId':this[_0x22e80b(0x2e9)],'actions':null,'textRanges':_0x5a66d8[_0x22e80b(0x1e9)]}},_0x59a6af=this[_0x22e80b(0x27c)][_0x22e80b(0x3d7)](_0x39a862,_0x4ba3c5,!0x1);if(_0x48fdef['isTransformMutationFailure'](_0x59a6af))throw _0x59a6af[_0x22e80b(0x3ff)];_0x253af1[_0x22e80b(0x3d5)](_0x1c58ed,{..._0x5a66d8,'ranges':_0x59a6af[_0x22e80b(0x397)][_0x22e80b(0x276)][_0x22e80b(0x3c5)]});}queueMicrotask(()=>{const _0x4829f9=_0x22e80b;this[_0x4829f9(0x218)][_0x4829f9(0x3c9)](_0x253af1);});})));}[_0x4624f5(0x315)](_0x51f33b){const _0x34210e=_0x4624f5;var _0x4b6137,_0x9105e1;const {memberID:_0x3886f5,selection:_0x5744db}=_0x51f33b['data'],_0x1969ab=_0x7e2e27(_0x5744db),_0xc5a33d=(_0x9105e1=(_0x4b6137=this[_0x34210e(0x23a)]['getMember'](this[_0x34210e(0x2e9)],_0x3886f5))==null?void 0x0:_0x4b6137[_0x34210e(0x433)])!=null?_0x9105e1:_0x34210e(0x463),_0x2b9790={'color':this[_0x34210e(0x274)][_0x34210e(0x2ba)](_0x3886f5),'name':_0xc5a33d,'ranges':_0x1969ab},_0x8a8f85=this['cursorInfo'];_0x8a8f85[_0x34210e(0x3d5)](_0x3886f5,_0x2b9790),this[_0x34210e(0x218)][_0x34210e(0x3c9)](_0x8a8f85);}[_0x4624f5(0x2de)](_0x5cbfb2){const _0x45ca51=_0x4624f5,{memberID:_0x37970f}=_0x5cbfb2['data'],_0xe406b8=this[_0x45ca51(0x20c)];_0xe406b8[_0x45ca51(0x40e)](_0x37970f),this[_0x45ca51(0x218)][_0x45ca51(0x3c9)](_0xe406b8);}[_0x4624f5(0x24d)](){const _0x12c179=_0x4624f5;var _0x4a4fd8;if(this['_online']=!0x0,((_0x4a4fd8=this[_0x12c179(0x485)][_0x12c179(0x45a)]())==null?void 0x0:_0x4a4fd8[_0x12c179(0x30b)]())!==this[_0x12c179(0x2e9)])return;const _0x174f0e=this[_0x12c179(0x298)][_0x12c179(0x333)](_0x4db13e[_0x12c179(0x3c7)])[_0x12c179(0x2ae)]();Array[_0x12c179(0x462)](_0x174f0e)&&_0x174f0e[_0x12c179(0x1e5)]>0x0&&this[_0x12c179(0x2c5)](_0x174f0e);}['_toggleOffline'](){const _0x62379=_0x4624f5;this[_0x62379(0x27f)]=!0x1;}};_0x2262fb=_0x55c00a([_0x25c269(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x25c269(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0x1846fc)),_0x25c269(0x4,_0x161ac6['Inject'](_0x46104e[_0x4624f5(0x222)])),_0x25c269(0x5,_0x161ac6[_0x4624f5(0x2b0)](_0x360498)),_0x25c269(0x6,_0x48fdef['ITransformService']),_0x25c269(0x7,_0x161ac6[_0x4624f5(0x37d)]),_0x25c269(0x8,_0x161ac6[_0x4624f5(0x41a)])],_0x2262fb);var _0x2278be=Object[_0x4624f5(0x272)],_0x11a7d9=(_0x370f85,_0x43d9f3,_0x399957,_0x2db51c)=>{for(var _0x2b32cb=_0x2db51c>0x1?void 0x0:_0x2db51c?_0x2278be(_0x43d9f3,_0x399957):_0x43d9f3,_0x4b13aa=_0x370f85['length']-0x1,_0x190f73;_0x4b13aa>=0x0;_0x4b13aa--)(_0x190f73=_0x370f85[_0x4b13aa])&&(_0x2b32cb=_0x190f73(_0x2b32cb)||_0x2b32cb);return _0x2b32cb;},_0x5ea10f=(_0x5ac5ff,_0x545fda)=>(_0x571717,_0x171529)=>_0x545fda(_0x571717,_0x171529,_0x5ac5ff);const _0x15a2ba=0x12c,_0x2c182a=0x64,_0x1cd72c=()=>{let _0x1e0796=[],_0x385d17=!0x1;return _0x166c55=>{_0x1e0796['push'](_0x166c55),_0x385d17||(_0x385d17=!0x0,setTimeout(()=>{_0x1e0796['forEach'](_0x40d488=>_0x40d488()),_0x1e0796=[],_0x385d17=!0x1;}));};};let _0x285ce1=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x156e92,_0x800dea,_0x52de8c,_0x2a37f0,_0x13e197,_0x95fdaa,_0x41dcde,_0x44f945){const _0x333339=_0x4624f5;super(),_0x47bfcc(this,_0x333339(0x27f),!0x1),_0x47bfcc(this,'_init',!0x1),_0x47bfcc(this,_0x333339(0x218),new _0x66cc31['BehaviorSubject'](new Map())),_0x47bfcc(this,_0x333339(0x3ed),this[_0x333339(0x218)]['asObservable']()),_0x47bfcc(this,'_roomMembers$',new _0x66cc31[(_0x333339(0x41e))]([])),_0x47bfcc(this,_0x333339(0x479),this[_0x333339(0x3a8)]['pipe'](_0x66cc31[_0x333339(0x405)](_0x15a2ba))),_0x47bfcc(this,_0x333339(0x2c5),_0x161ac6[_0x333339(0x3e4)]((_0x1fc79,_0x2b6c61)=>{const _0x459161=_0x333339,_0x1d7f0c={'eventID':_0x48fdef['CollaborationEvent'][_0x459161(0x261)],'data':{'unitID':this[_0x459161(0x2e9)],'memberID':this[_0x459161(0x344)][_0x459161(0x3d2)](),'selection':_0x50020c[_0x459161(0x45c)](_0x1fc79,_0x2b6c61[_0x459161(0x3d1)])}};this[_0x459161(0x344)][_0x459161(0x418)](_0x1d7f0c,this[_0x459161(0x2e9)]);},_0x2c182a)),(this[_0x333339(0x2e9)]=_0x156e92,this[_0x333339(0x344)]=_0x800dea,this[_0x333339(0x298)]=_0x52de8c,this[_0x333339(0x274)]=_0x2a37f0,this[_0x333339(0x23a)]=_0x13e197,this[_0x333339(0x485)]=_0x95fdaa,this[_0x333339(0x43a)]=_0x41dcde,this['_refRangeService']=_0x44f945);}get[_0x4624f5(0x20c)](){const _0x314306=_0x4624f5;return this[_0x314306(0x218)]['getValue']();}get[_0x4624f5(0x2fe)](){const _0x2406a4=_0x4624f5;return this[_0x2406a4(0x3a8)][_0x2406a4(0x3dc)]();}[_0x4624f5(0x214)](){const _0x1be0bb=_0x4624f5;super[_0x1be0bb(0x214)](),this[_0x1be0bb(0x218)][_0x1be0bb(0x3c9)](new Map()),this[_0x1be0bb(0x218)]['complete'](),this[_0x1be0bb(0x3a8)][_0x1be0bb(0x3c9)]([]),this[_0x1be0bb(0x3a8)][_0x1be0bb(0x487)]();}[_0x4624f5(0x2b2)](){const _0x3d8ed2=_0x4624f5;this[_0x3d8ed2(0x48d)]||(this[_0x3d8ed2(0x48d)]=!0x0,this[_0x3d8ed2(0x344)][_0x3d8ed2(0x221)][_0x3d8ed2(0x1ef)](_0x66cc31[_0x3d8ed2(0x45d)](this[_0x3d8ed2(0x289)]))[_0x3d8ed2(0x26b)](_0x33c10c=>{const _0x33e309=_0x3d8ed2;_0x33c10c===_0x46104e[_0x33e309(0x290)][_0x33e309(0x428)]?this[_0x33e309(0x24d)]():this[_0x33e309(0x1dd)]();}),this[_0x3d8ed2(0x344)][_0x3d8ed2(0x3fa)][_0x3d8ed2(0x1ef)](_0x66cc31[_0x3d8ed2(0x45d)](this[_0x3d8ed2(0x289)]))[_0x3d8ed2(0x26b)](_0x550a36=>{const _0x3a6cf0=_0x3d8ed2,_0x4bd5b2=_0x550a36[_0x3a6cf0(0x327)];_0x4bd5b2===_0x48fdef['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3a6cf0(0x315)](_0x550a36),_0x4bd5b2===_0x48fdef[_0x3a6cf0(0x3b2)][_0x3a6cf0(0x217)]&&this[_0x3a6cf0(0x2de)](_0x550a36);}),this[_0x3d8ed2(0x1cd)](),this['disposeWithMe'](this[_0x3d8ed2(0x43a)]['onCommandExecuted'](_0x3c4335=>{const _0x58811f=_0x3d8ed2;if(this['_online']&&_0x3c4335['id']===_0xc6f6be[_0x58811f(0x278)]['id']&&_0x3c4335[_0x58811f(0x276)][_0x58811f(0x470)]===this['unitID']){const _0x2c6244=_0x3c4335[_0x58811f(0x276)];this[_0x58811f(0x2c5)](_0x2c6244[_0x58811f(0x41b)],_0x2c6244[_0x58811f(0x209)][0x0]);}})));}['_onCursorUpdate'](_0x37f342){const _0x2f6360=_0x4624f5;var _0x1dff97,_0x703710;const {memberID:_0x266ef1,selection:_0xbc74a4}=_0x37f342[_0x2f6360(0x345)],{sheetName:_0x549446,range:_0x55b03}=_0x50020c[_0x2f6360(0x269)](_0xbc74a4),_0xae412b={'name':(_0x703710=(_0x1dff97=this[_0x2f6360(0x23a)]['getMember'](this[_0x2f6360(0x2e9)],_0x266ef1))==null?void 0x0:_0x1dff97[_0x2f6360(0x433)])!=null?_0x703710:_0x2f6360(0x463),'range':this[_0x2f6360(0x412)](_0x549446,_0x55b03),'sheetID':_0x549446,'color':this[_0x2f6360(0x274)][_0x2f6360(0x2ba)](_0x266ef1),'selection':_0xbc74a4},_0x10caaf=this[_0x2f6360(0x20c)];_0x10caaf[_0x2f6360(0x3d5)](_0x266ef1,_0xae412b),this['_cursorInfo$'][_0x2f6360(0x3c9)](_0x10caaf);}[_0x4624f5(0x2de)](_0x40b3f8){const _0x42e950=_0x4624f5,{memberID:_0x557ea0}=_0x40b3f8['data'],_0x2c76e1=this[_0x42e950(0x20c)];_0x2c76e1[_0x42e950(0x40e)](_0x557ea0),this['_cursorInfo$']['next'](_0x2c76e1);}[_0x4624f5(0x412)](_0x3768fe,_0x4e5d35){const _0x53a174=_0x4624f5;var _0x452567,_0x2c11a2;const _0x4cf103=(_0x2c11a2=(_0x452567=this[_0x53a174(0x485)]['getUniverSheetInstance'](this[_0x53a174(0x2e9)]))==null?void 0x0:_0x452567[_0x53a174(0x481)](_0x3768fe))==null?void 0x0:_0x2c11a2['getMergeData']();return(_0x4cf103==null?void 0x0:_0x4cf103[_0x53a174(0x1d8)](_0x57bce5=>_0x161ac6['Rectangle']['contains'](_0x57bce5,_0x4e5d35)))||_0x4e5d35;}['_onRefRangeChange'](){const _0x9d8619=_0x4624f5,_0x5670a3=new _0x161ac6[(_0x9d8619(0x46a))](),_0x8f853=_0x1cd72c(),_0x1b6564=()=>{const _0x4496ea=_0x9d8619;_0x5670a3[_0x4496ea(0x214)]();const _0x4845c9=(_0x4e5d48,_0x444cb4,_0x34756d,_0x3361f5)=>{const _0x3f344f=_0x4496ea;let _0x44fae0=[];switch(_0x4e5d48['id']){case _0xc6f6be['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x44fae0=_0xc6f6be[_0x3f344f(0x22b)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x20a)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x430)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)]['InsertColCommandId']:{_0x44fae0=_0xc6f6be[_0x3f344f(0x24e)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x279)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x379)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x29d)]:{_0x44fae0=_0xc6f6be['handleInsertRangeMoveRight'](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be['EffectRefRangId'][_0x3f344f(0x37f)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x420)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x34f)]:{_0x44fae0=_0xc6f6be['handleMoveRange'](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x30c)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x31d)](_0x4e5d48,_0x3361f5);break;}case _0xc6f6be[_0x3f344f(0x361)][_0x3f344f(0x26e)]:{_0x44fae0=_0xc6f6be[_0x3f344f(0x33a)](_0x4e5d48,_0x3361f5);break;}}const _0x3e40aa=_0xc6f6be[_0x3f344f(0x335)](_0x44fae0,_0x3361f5),_0x1b410a=this['cursorInfo'][_0x3f344f(0x333)](_0x444cb4);if(_0x1b410a&&_0x3e40aa){const _0x25673e={..._0x1b410a,'range':_0x3e40aa};this[_0x3f344f(0x20c)]['set'](_0x444cb4,_0x25673e),_0x8f853(()=>{const _0x511fd4=_0x3f344f,_0x2392dc=this[_0x511fd4(0x216)][_0x511fd4(0x255)](_0x3e40aa,_0x19572d=>(_0x2392dc['dispose'](),_0x4845c9(_0x19572d,_0x444cb4,_0x34756d,_0x3e40aa)));_0x5670a3[_0x511fd4(0x455)](_0x2392dc);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4496ea(0x265)]((_0x269efa,_0x3f0b07)=>{const _0x2ad6c5=_0x4496ea,{range:_0x44d0af,sheetID:_0x49fc84}=_0x269efa,_0x54a8e7=this[_0x2ad6c5(0x216)][_0x2ad6c5(0x255)](_0x44d0af,_0x11a34c=>(_0x54a8e7[_0x2ad6c5(0x214)](),_0x4845c9(_0x11a34c,_0x3f0b07,_0x49fc84,_0x44d0af)));_0x5670a3[_0x2ad6c5(0x455)](_0x54a8e7);});};this[_0x9d8619(0x30f)](_0x161ac6['toDisposable'](this[_0x9d8619(0x218)][_0x9d8619(0x26b)](()=>{_0x1b6564();})));}[_0x4624f5(0x24d)](){const _0x1f7c78=_0x4624f5;var _0x3fe35f,_0x1c2079;if(this['_online']=!0x0,((_0x3fe35f=this[_0x1f7c78(0x485)][_0x1f7c78(0x45a)]())==null?void 0x0:_0x3fe35f[_0x1f7c78(0x30b)]())!==this[_0x1f7c78(0x2e9)])return;const _0x23eb5c=(_0x1c2079=this['_injector'][_0x1f7c78(0x333)](_0xc6f6be['SheetsSelectionsService'])[_0x1f7c78(0x491)]())==null?void 0x0:_0x1c2079[0x0],_0x399dfa=this[_0x1f7c78(0x485)][_0x1f7c78(0x2bc)](_0x161ac6[_0x1f7c78(0x2d9)][_0x1f7c78(0x28b)])[_0x1f7c78(0x203)]();_0x23eb5c&&_0x399dfa&&this[_0x1f7c78(0x2c5)](_0x399dfa[_0x1f7c78(0x447)](),_0x23eb5c);}[_0x4624f5(0x1dd)](){const _0x1b72fc=_0x4624f5;this[_0x1b72fc(0x27f)]=!0x1;}};_0x285ce1=_0x11a7d9([_0x5ea10f(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x5ea10f(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0x1846fc)),_0x5ea10f(0x4,_0x161ac6[_0x4624f5(0x2b0)](_0x46104e[_0x4624f5(0x222)])),_0x5ea10f(0x5,_0x161ac6['IUniverInstanceService']),_0x5ea10f(0x6,_0x161ac6[_0x4624f5(0x41a)]),_0x5ea10f(0x7,_0x161ac6['Inject'](_0xc6f6be[_0x4624f5(0x372)]))],_0x285ce1);var _0xfa0237=Object[_0x4624f5(0x272)],_0x33189d=(_0x131046,_0x50b1ad,_0x3c96a2,_0x492368)=>{for(var _0x802f16=_0x492368>0x1?void 0x0:_0x492368?_0xfa0237(_0x50b1ad,_0x3c96a2):_0x50b1ad,_0x2f5fd4=_0x131046['length']-0x1,_0x47ad8e;_0x2f5fd4>=0x0;_0x2f5fd4--)(_0x47ad8e=_0x131046[_0x2f5fd4])&&(_0x802f16=_0x47ad8e(_0x802f16)||_0x802f16);return _0x802f16;},_0x60fcfe=(_0x59dede,_0x1a2503)=>(_0x38ab0f,_0x52ddff)=>_0x1a2503(_0x38ab0f,_0x52ddff,_0x59dede);let _0x1508be=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x18b50f,_0xece82a,_0x324dc9){const _0x9d4787=_0x4624f5;super(),_0x47bfcc(this,_0x9d4787(0x3e2),new Map()),_0x47bfcc(this,_0x9d4787(0x29c),new _0x66cc31[(_0x9d4787(0x434))]()),(this['_univerInstanceService']=_0x18b50f,this[_0x9d4787(0x298)]=_0xece82a,this[_0x9d4787(0x264)]=_0x324dc9,this['_init']());}[_0x4624f5(0x214)](){const _0x326559=_0x4624f5;super[_0x326559(0x214)](),this[_0x326559(0x29c)]['complete'](),this['_entities']['forEach'](_0x5f07a4=>_0x5f07a4[_0x326559(0x214)]());}['getCollabCursors$'](_0xf5de5d){const _0x25b689=_0x4624f5;return this['_entities'][_0x25b689(0x390)](_0xf5de5d)?this[_0x25b689(0x3e2)][_0x25b689(0x333)](_0xf5de5d)[_0x25b689(0x3ed)]:this[_0x25b689(0x29c)][_0x25b689(0x1ef)](_0x66cc31[_0x25b689(0x438)](_0x2c3244=>_0x2c3244['unitID']===_0xf5de5d),_0x66cc31[_0x25b689(0x46f)](_0x5c1fcc=>_0x5c1fcc[_0x25b689(0x3ed)]));}[_0x4624f5(0x48d)](){const _0x2ced5f=_0x4624f5;this[_0x2ced5f(0x485)][_0x2ced5f(0x3b5)](_0x161ac6['UniverInstanceType'][_0x2ced5f(0x28b)])[_0x2ced5f(0x1ef)](_0x66cc31['takeUntil'](this[_0x2ced5f(0x289)]))[_0x2ced5f(0x26b)](async _0x473be6=>{const _0x3bfbfc=_0x2ced5f,_0x4dc573=_0x473be6['getUnitId'](),_0x5a1fe7=await this[_0x3bfbfc(0x351)](_0x4dc573);this[_0x3bfbfc(0x29c)][_0x3bfbfc(0x3c9)](_0x5a1fe7),this[_0x3bfbfc(0x3e2)]['set'](_0x4dc573,_0x5a1fe7);}),this['_univerInstanceService'][_0x2ced5f(0x3b5)](_0x161ac6[_0x2ced5f(0x2d9)][_0x2ced5f(0x23d)])[_0x2ced5f(0x1ef)](_0x66cc31[_0x2ced5f(0x45d)](this[_0x2ced5f(0x289)]))[_0x2ced5f(0x1ef)](_0x66cc31[_0x2ced5f(0x438)](_0x3df3f=>!_0x3df3f[_0x2ced5f(0x30b)]()[_0x2ced5f(0x25e)]('__')))[_0x2ced5f(0x26b)](async _0x5afa52=>{const _0x288190=_0x2ced5f,_0x42fd5d=_0x5afa52['getUnitId'](),_0x290f79=await this[_0x288190(0x2c7)](_0x42fd5d);this['_entityInit$'][_0x288190(0x3c9)](_0x290f79),this[_0x288190(0x3e2)][_0x288190(0x3d5)](_0x42fd5d,_0x290f79);}),_0x66cc31[_0x2ced5f(0x348)](this[_0x2ced5f(0x485)][_0x2ced5f(0x2f4)](_0x161ac6['UniverInstanceType']['UNIVER_DOC']),this[_0x2ced5f(0x485)][_0x2ced5f(0x2f4)](_0x161ac6[_0x2ced5f(0x2d9)]['UNIVER_SHEET']))[_0x2ced5f(0x1ef)](_0x66cc31['takeUntil'](this[_0x2ced5f(0x289)]))[_0x2ced5f(0x26b)](_0x3f4675=>{const _0x23adc6=_0x2ced5f,_0x3c17ce=_0x3f4675['getUnitId'](),_0xfc078a=this[_0x23adc6(0x3e2)][_0x23adc6(0x333)](_0x3c17ce);_0xfc078a&&(_0xfc078a[_0x23adc6(0x214)](),this[_0x23adc6(0x3e2)][_0x23adc6(0x40e)](_0x3c17ce));});}async[_0x4624f5(0x351)](_0x3eec7e){const _0x588ef0=_0x4624f5,_0x460088=await this['_collabSessionService'][_0x588ef0(0x43b)](_0x3eec7e),_0x418629=this[_0x588ef0(0x298)][_0x588ef0(0x3f2)](_0x285ce1,_0x3eec7e,_0x460088);return _0x418629['init'](),_0x418629;}async['_startDocCollabCursor'](_0x13f518){const _0x1bbf0f=_0x4624f5,_0x501abf=await this['_collabSessionService']['requireSession'](_0x13f518),_0x9a2322=this['_injector'][_0x1bbf0f(0x3f2)](_0x2262fb,_0x13f518,_0x501abf);return _0x9a2322['init'](),_0x9a2322;}};_0x1508be=_0x33189d([_0x60fcfe(0x0,_0x161ac6[_0x4624f5(0x37d)]),_0x60fcfe(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x60fcfe(0x2,_0x161ac6['Inject'](_0x46104e[_0x4624f5(0x26a)]))],_0x1508be);const _0x5a3e8a=0x14,_0x3574cb=0xc8,_0x319642=0x4,_0x5ad9a7=0x5;function _0xe175e2(_0x2f754e,_0x56fe6d){const _0x19e68f=_0x4624f5;let {radius:_0x116b5d,width:_0x558098,height:_0x9fbc0d}=_0x56fe6d;_0x116b5d=_0x116b5d!=null?_0x116b5d:0x0,_0x558098=_0x558098!=null?_0x558098:0x1e,_0x9fbc0d=_0x9fbc0d!=null?_0x9fbc0d:0x1e;let _0x7423e4=0x0,_0x58bdba=0x0,_0x347f51=0x0;_0x7423e4=_0x58bdba=_0x347f51=Math['min'](_0x116b5d,_0x558098/0x2,_0x9fbc0d/0x2),_0x2f754e['beginPath'](),_0x2f754e['moveTo'](_0x7423e4,0x0),_0x2f754e[_0x19e68f(0x467)](_0x558098-_0x58bdba,0x0),_0x2f754e[_0x19e68f(0x2aa)](_0x558098-_0x58bdba,_0x58bdba,_0x58bdba,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f754e[_0x19e68f(0x467)](_0x558098,_0x9fbc0d-_0x347f51),_0x2f754e[_0x19e68f(0x2aa)](_0x558098-_0x347f51,_0x9fbc0d-_0x347f51,_0x347f51,0x0,Math['PI']/0x2,!0x1),_0x2f754e['lineTo'](0x0,_0x9fbc0d),_0x2f754e['lineTo'](0x0,_0x7423e4),_0x2f754e['arc'](_0x7423e4,_0x7423e4,_0x7423e4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f754e[_0x19e68f(0x450)](),_0x56fe6d[_0x19e68f(0x201)]&&(_0x2f754e[_0x19e68f(0x37b)](),_0x2f754e[_0x19e68f(0x42c)]=_0x56fe6d[_0x19e68f(0x201)],_0x56fe6d[_0x19e68f(0x457)]==='evenodd'?_0x2f754e[_0x19e68f(0x201)]('evenodd'):_0x2f754e[_0x19e68f(0x201)](),_0x2f754e[_0x19e68f(0x304)]());}class _0x6ab412 extends _0x1fade8[_0x4624f5(0x3d9)]{constructor(_0x4fbca6,_0x343612){const _0x3252bf=_0x4624f5;super(_0x4fbca6,_0x343612),_0x47bfcc(this,'color'),_0x47bfcc(this,_0x3252bf(0x32d)),(this[_0x3252bf(0x2fc)]=_0x343612==null?void 0x0:_0x343612[_0x3252bf(0x2fc)],this[_0x3252bf(0x32d)]=_0x343612==null?void 0x0:_0x343612[_0x3252bf(0x32d)]);}static[_0x4624f5(0x3b4)](_0x18afcb,_0x4edf0c){const _0x1ed160=_0x4624f5,{text:_0x589130,color:_0x34c7dc}=_0x4edf0c;_0x18afcb[_0x1ed160(0x37b)](),_0x18afcb[_0x1ed160(0x371)]=_0x1ed160(0x49b);const _0x265d95=_0x18afcb[_0x1ed160(0x478)](_0x589130)['width'],_0x54ccf8=Math[_0x1ed160(0x38a)](_0x265d95+0x2*_0x319642,_0x3574cb);_0xe175e2(_0x18afcb,{'height':_0x5a3e8a,'radius':0x4,'width':_0x54ccf8,'fill':_0x34c7dc}),_0x18afcb[_0x1ed160(0x42c)]=_0x1ed160(0x213);const _0x349b3a=_0x319642,_0x48e380=_0x5a3e8a-_0x5ad9a7,_0x1a69ce=_0x3574cb-0x2*_0x319642;if(_0x265d95>_0x1a69ce){let _0x42b243='',_0x253b4a=0x0;for(const _0x5cf810 of _0x589130){const _0x8d1159=_0x18afcb[_0x1ed160(0x478)](_0x5cf810)[_0x1ed160(0x230)];if(_0x253b4a+_0x8d1159<=_0x1a69ce-_0x18afcb[_0x1ed160(0x478)](_0x1ed160(0x362))[_0x1ed160(0x230)])_0x42b243+=_0x5cf810,_0x253b4a+=_0x8d1159;else{_0x42b243+=_0x1ed160(0x362);break;}}_0x18afcb['fillText'](_0x42b243,_0x349b3a,_0x48e380);}else _0x18afcb[_0x1ed160(0x3e1)](_0x589130,_0x349b3a,_0x48e380);_0x18afcb[_0x1ed160(0x304)]();}[_0x4624f5(0x249)](_0x2ab829){_0x6ab412['drawWith'](_0x2ab829,this);}}const _0x22ea6a='collab-text-anchor-',_0x7e52ff=_0x4624f5(0x36c),_0x349ac6=_0x4624f5(0x211),_0x21cd66=0x6,_0x1ac3bb=1.5,_0xc9f299=0x4,_0x108bd2=1.5,_0x3faf28=_0x4624f5(0x2f7);class _0x5942d4{constructor(_0x59727b,_0x1e3f12,_0xd7e4bf,_0x3361b2){const _0x2c5481=_0x4624f5;_0x47bfcc(this,'_shapes',[]),_0x47bfcc(this,_0x2c5481(0x454),null),_0x47bfcc(this,_0x2c5481(0x2f6),null),_0x47bfcc(this,'_anchorDot',null),_0x47bfcc(this,_0x2c5481(0x488),null),_0x47bfcc(this,'_eventUnsubscribe',null),(this[_0x2c5481(0x3ea)]=_0x59727b,this[_0x2c5481(0x2f3)]=_0x1e3f12,this[_0x2c5481(0x212)]=_0xd7e4bf,this[_0x2c5481(0x44b)]=_0x3361b2,this[_0x2c5481(0x399)]());}set[_0x4624f5(0x3da)](_0x5825b0){const _0x389e96=_0x4624f5;_0x5825b0?(this[_0x389e96(0x377)]&&this[_0x389e96(0x377)][_0x389e96(0x295)](),this['_textBubble']&&this[_0x389e96(0x2f6)][_0x389e96(0x27d)]()):(this[_0x389e96(0x377)]&&this[_0x389e96(0x377)][_0x389e96(0x27d)](),this[_0x389e96(0x2f6)]&&this[_0x389e96(0x2f6)][_0x389e96(0x295)]());}['dispose'](){const _0xfc06a3=_0x4624f5;for(const _0x283c2a of this[_0xfc06a3(0x387)])_0x283c2a[_0xfc06a3(0x214)]();this[_0xfc06a3(0x2f6)]&&this[_0xfc06a3(0x2f6)][_0xfc06a3(0x214)](),this[_0xfc06a3(0x377)]&&this[_0xfc06a3(0x377)][_0xfc06a3(0x214)](),this['_anchor']&&this[_0xfc06a3(0x454)][_0xfc06a3(0x214)](),this['_eventUnsubscribe']&&this[_0xfc06a3(0x250)]();}[_0x4624f5(0x399)](){const _0xf6a5f3=_0x4624f5;var _0x19c86b;const {_docSkeleton:_0x4cee51,_document:_0x8ff928}=this,{color:_0x19bac8,name:_0x57fd98,ranges:_0x582562}=this[_0xf6a5f3(0x3ea)],_0x4c5856=_0x8ff928[_0xf6a5f3(0x25d)](),{docsLeft:_0x560f25,docsTop:_0x500460}=_0x4c5856,_0x3e7cf5=new _0x5d4e8b[(_0xf6a5f3(0x36b))](_0x4c5856,_0x4cee51);for(const {startOffset:_0x23520e,endOffset:_0x1c1701,rangeType:_0x31ecd1,segmentId:_0x3e237a,segmentPage:_0x543c35,collapsed:_0x1b2d97,isActive:_0x4f22f3}of _0x582562){const _0x3cec7b=_0x4cee51[_0xf6a5f3(0x31b)](_0x23520e,!0x0,_0x3e237a,_0x543c35);let _0x493c4d=_0x4cee51[_0xf6a5f3(0x31b)](_0x1c1701,!0x0,_0x3e237a,_0x543c35);if(_0x493c4d==null&&(_0x493c4d=_0x4cee51[_0xf6a5f3(0x31b)](_0x1c1701-0x1,!0x1,_0x3e237a,_0x543c35)),_0x4f22f3){const {contentBoxPointGroup:_0x5df147}=_0x3e7cf5[_0xf6a5f3(0x38e)](_0x493c4d,_0x493c4d);if(_0x5df147['length']===0x0)continue;this[_0xf6a5f3(0x407)](_0x19bac8,_0x5df147,_0x560f25,_0x500460,_0x57fd98),this[_0xf6a5f3(0x250)]=this[_0xf6a5f3(0x226)]();}if(_0x3cec7b&&_0x493c4d){if(_0x31ecd1===_0x161ac6[_0xf6a5f3(0x29b)][_0xf6a5f3(0x475)]){const _0x501a18=new _0x5d4e8b[(_0xf6a5f3(0x2d0))](_0x4c5856,_0x4cee51),{pointGroup:_0x85b3d5}=(_0x19c86b=_0x501a18[_0xf6a5f3(0x38e)](_0x3cec7b,_0x493c4d))!=null?_0x19c86b:{};if(_0x85b3d5==null||_0x85b3d5[_0xf6a5f3(0x1e5)]===0x0)continue;this[_0xf6a5f3(0x48e)](_0x19bac8,_0x85b3d5,_0x560f25,_0x500460);}else{if(!_0x1b2d97){const {borderBoxPointGroup:_0x7c9f47}=_0x3e7cf5[_0xf6a5f3(0x38e)](_0x3cec7b,_0x493c4d);if(_0x7c9f47[_0xf6a5f3(0x1e5)]===0x0)continue;this[_0xf6a5f3(0x256)](_0x19bac8,_0x7c9f47,_0x560f25,_0x500460);}}}}}['_drawAnchor'](_0x28e112,_0xde7109,_0x4c80c2,_0x40302f,_0x50862d){const _0x4b0133=_0x4624f5,_0x91f582=this[_0x4b0133(0x363)](_0xde7109),{left:_0x2d7d99,top:_0x1e8042,height:_0x33c4dd}=_0x91f582,_0x4e8fe4=this[_0x4b0133(0x328)](),_0x25bcd9=_0x108bd2/_0x4e8fe4,_0x1cd87a=new _0x1fade8['Rect'](_0x22ea6a+_0x161ac6[_0x4b0133(0x497)](_0x21cd66),{'left':_0x2d7d99+_0x4c80c2-_0x25bcd9,'top':_0x1e8042+_0x40302f,'height':_0x33c4dd,'width':_0x1ac3bb,'fill':_0x28e112||_0x1fade8[_0x4b0133(0x293)](_0x161ac6[_0x4b0133(0x406)][_0x4b0133(0x4a2)],0x0),'strokeWidth':_0x25bcd9,'stroke':_0x3faf28,'evented':!0x0});this[_0x4b0133(0x454)]=_0x1cd87a,this['_scene'][_0x4b0133(0x49c)](_0x1cd87a,_0x5d4e8b[_0x4b0133(0x44c)]);const _0x3df983=new _0x1fade8[(_0x4b0133(0x374))](_0x22ea6a+_0x161ac6[_0x4b0133(0x497)](_0x21cd66),{'left':_0x2d7d99+_0x4c80c2-_0x25bcd9,'top':_0x1e8042+_0x40302f-_0xc9f299/0x2,'height':_0xc9f299,'width':_0xc9f299,'fill':_0x28e112||_0x1fade8[_0x4b0133(0x293)](_0x161ac6[_0x4b0133(0x406)][_0x4b0133(0x4a2)],0x0),'strokeWidth':0x0,'stroke':_0x28e112||_0x1fade8[_0x4b0133(0x293)](_0x161ac6['COLORS'][_0x4b0133(0x4a2)],0x0),'evented':!0x1});this['_anchorDot']=_0x3df983,this[_0x4b0133(0x2f3)][_0x4b0133(0x49c)](_0x3df983,_0x5d4e8b['TEXT_RANGE_LAYER_INDEX']);const _0x1f9cf5=new _0x6ab412(_0x22ea6a+_0x161ac6['generateRandomId'](_0x21cd66),{'left':_0x2d7d99+_0x4c80c2-_0x25bcd9,'top':_0x1e8042+_0x40302f-_0x5a3e8a,'text':_0x50862d,'color':_0x28e112});this[_0x4b0133(0x2f6)]=_0x1f9cf5,this['_scene'][_0x4b0133(0x49c)](_0x1f9cf5,_0x5d4e8b[_0x4b0133(0x44c)]),this[_0x4b0133(0x3da)]=!0x1;}[_0x4624f5(0x226)](){const _0x118671=_0x4624f5,_0x575a21=this[_0x118671(0x454)][_0x118671(0x1d3)][_0x118671(0x37c)](()=>{const _0x2c4956=_0x118671;this[_0x2c4956(0x3da)]=!0x0;}),_0x568398=this['_anchor'][_0x118671(0x498)][_0x118671(0x37c)](()=>{const _0x4964fa=_0x118671;this[_0x4964fa(0x488)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x1c8a26=_0x4964fa;this[_0x1c8a26(0x3da)]=!0x1;},0x7d0);});return()=>{const _0x409074=_0x118671;_0x575a21[_0x409074(0x3aa)](),_0x568398['unsubscribe']();};}['_drawTextRange'](_0x3894f6,_0x53eb5c,_0x3b8ce3,_0x5a1dc7){const _0x39ccb7=_0x4624f5,_0x29bafe=new _0x161ac6[(_0x39ccb7(0x2a9))](_0x3894f6)[_0x39ccb7(0x45b)](0.2)[_0x39ccb7(0x466)](),_0x1d4b17=new _0x1fade8['RegularPolygon'](_0x7e52ff+_0x161ac6[_0x39ccb7(0x497)](_0x21cd66),{'pointsGroup':_0x53eb5c,'fill':_0x29bafe||_0x1fade8[_0x39ccb7(0x293)](_0x161ac6['COLORS'][_0x39ccb7(0x4a2)],0.2),'left':_0x3b8ce3,'top':_0x5a1dc7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x39ccb7(0x387)]['push'](_0x1d4b17),this[_0x39ccb7(0x2f3)][_0x39ccb7(0x49c)](_0x1d4b17,_0x5d4e8b[_0x39ccb7(0x44c)]);}[_0x4624f5(0x48e)](_0x1e041d,_0x4e0162,_0x8a3555,_0x35a54f){const _0xbbeb2b=_0x4624f5,_0x2fb77f=new _0x161ac6[(_0xbbeb2b(0x2a9))](_0x1e041d)[_0xbbeb2b(0x45b)](0.2)[_0xbbeb2b(0x466)](),_0x30a017=new _0x1fade8[(_0xbbeb2b(0x3fe))](_0x349ac6+_0x161ac6['generateRandomId'](_0x21cd66),{'pointsGroup':_0x4e0162,'fill':_0x2fb77f||_0x1fade8[_0xbbeb2b(0x293)](_0x161ac6[_0xbbeb2b(0x406)][_0xbbeb2b(0x4a2)],0.2),'left':_0x8a3555,'top':_0x35a54f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xbbeb2b(0x426)](_0x30a017),this[_0xbbeb2b(0x2f3)][_0xbbeb2b(0x49c)](_0x30a017,_0x5d4e8b[_0xbbeb2b(0x44c)]);}[_0x4624f5(0x363)](_0x39b9b9){const _0x227915=_0x39b9b9[0x0],_0x4d7eae=_0x227915[0x0],_0x3587df=_0x227915[0x2],{x:_0x2f1ed9,y:_0x4fa667}=_0x4d7eae,{x:_0x15ef27,y:_0x2e7394}=_0x3587df;return{'left':_0x2f1ed9,'top':_0x4fa667,'width':_0x15ef27-_0x2f1ed9,'height':_0x2e7394-_0x4fa667};}[_0x4624f5(0x328)](){const _0x459a10=_0x4624f5,{scaleX:_0x57d601,scaleY:_0x41b8f3}=this[_0x459a10(0x2f3)][_0x459a10(0x1fc)]();return Math[_0x459a10(0x251)](_0x57d601,_0x41b8f3);}}var _0x4a5667=Object[_0x4624f5(0x272)],_0xb1469b=(_0x512f72,_0x3130c1,_0x1296c5,_0x171887)=>{const _0x1d3fce=_0x4624f5;for(var _0x4d22ad=_0x171887>0x1?void 0x0:_0x171887?_0x4a5667(_0x3130c1,_0x1296c5):_0x3130c1,_0x18fd73=_0x512f72[_0x1d3fce(0x1e5)]-0x1,_0x4b61d2;_0x18fd73>=0x0;_0x18fd73--)(_0x4b61d2=_0x512f72[_0x18fd73])&&(_0x4d22ad=_0x4b61d2(_0x4d22ad)||_0x4d22ad);return _0x4d22ad;},_0xf20c48=(_0x547082,_0x1c8e31)=>(_0x2d57c6,_0x59290c)=>_0x1c8e31(_0x2d57c6,_0x59290c,_0x547082);let _0x47d0f4=class extends _0x161ac6[_0x4624f5(0x240)]{constructor(_0x743b12,_0x31eb66,_0x2dee19,_0x298aed,_0x445271){const _0x177637=_0x4624f5;super(),_0x47bfcc(this,_0x177637(0x34b),[]),_0x47bfcc(this,'_cursors',[]),(this[_0x177637(0x38c)]=_0x743b12,this[_0x177637(0x395)]=_0x31eb66,this[_0x177637(0x2c8)]=_0x2dee19,this[_0x177637(0x43a)]=_0x298aed,this[_0x177637(0x3c0)]=_0x445271,this[_0x177637(0x48d)]());}[_0x4624f5(0x48d)](){const _0x3394a9=_0x4624f5,_0x3a307e=this[_0x3394a9(0x38c)][_0x3394a9(0x470)],_0x4597fd=this[_0x3394a9(0x395)];this['disposeWithMe'](_0x66cc31[_0x3394a9(0x2f0)]([this['_collabCursorController']['getCollabCursors$'](_0x3a307e),this[_0x3394a9(0x3c0)][_0x3394a9(0x271)]])[_0x3394a9(0x1ef)](_0x136df2['map'](([_0x3119bd,_0x3cd825])=>({'skeleton':_0x4597fd[_0x3394a9(0x341)](),'cursors':[..._0x3119bd[_0x3394a9(0x42f)]()][_0x3394a9(0x1f5)](_0x4aa686=>({..._0x4aa686,'color':this[_0x3394a9(0x3c0)]['getColorFromTheme'](_0x4aa686[_0x3394a9(0x2fc)])}))})))[_0x3394a9(0x26b)](_0x4fcfe0=>{const _0xee3841=_0x3394a9;if(this[_0xee3841(0x22c)](),_0x4fcfe0){const {skeleton:_0xbb0f9f,cursors:_0x4670a1}=_0x4fcfe0;this[_0xee3841(0x398)](_0xbb0f9f,_0x4670a1);}})),this['_initResize'](),this[_0x3394a9(0x36d)]();}[_0x4624f5(0x398)](_0x29ba06,_0x1fb455){const _0x34e260=_0x4624f5,{scene:_0x3f327e,mainComponent:_0x36598c}=this[_0x34e260(0x38c)],_0x21d5d3=_0x1fb455[_0x34e260(0x44e)](_0x3081d2=>new _0x5942d4(_0x3081d2,_0x3f327e,_0x29ba06,_0x36598c));this['_cursorShapes']=_0x21d5d3,this[_0x34e260(0x322)]=_0x1fb455;}[_0x4624f5(0x2b3)](){const _0x2bf5fe=_0x4624f5;this[_0x2bf5fe(0x22c)]();const {scene:_0x284a6e,mainComponent:_0x11ecf0}=this[_0x2bf5fe(0x38c)],_0x524ae1=this['_docSkeletonManagerService'][_0x2bf5fe(0x341)](),_0x3e1231=this['_cursors'][_0x2bf5fe(0x44e)](_0x2603bd=>new _0x5942d4(_0x2603bd,_0x284a6e,_0x524ae1,_0x11ecf0));this['_cursorShapes']=_0x3e1231;}[_0x4624f5(0x22c)](){const _0x1c7506=_0x4624f5;this[_0x1c7506(0x34b)][_0x1c7506(0x265)](_0x4d9f99=>_0x4d9f99[_0x1c7506(0x214)]()),this['_cursorShapes']=[];}[_0x4624f5(0x36d)](){const _0x2f7ebb=_0x4624f5,_0x5b1e0d=[_0x5d4e8b['SetDocZoomRatioOperation']['id']];this[_0x2f7ebb(0x30f)](this[_0x2f7ebb(0x43a)]['onCommandExecuted'](_0xa672e5=>{const _0x2b8c92=_0x2f7ebb;_0x5b1e0d[_0x2b8c92(0x354)](_0xa672e5['id'])&&_0xa672e5[_0x2b8c92(0x276)]['unitId']===this[_0x2b8c92(0x38c)][_0x2b8c92(0x470)]&&this[_0x2b8c92(0x2b3)]();}));}[_0x4624f5(0x40d)](){const _0x11e0c1=_0x4624f5;this[_0x11e0c1(0x30f)](_0x161ac6[_0x11e0c1(0x312)](this[_0x11e0c1(0x38c)][_0x11e0c1(0x303)][_0x11e0c1(0x36f)])['pipe'](_0x136df2[_0x11e0c1(0x438)](_0x586fd8=>_0x586fd8[_0x11e0c1(0x35b)]===_0x1fade8[_0x11e0c1(0x37a)][_0x11e0c1(0x38b)]),_0x136df2[_0x11e0c1(0x440)](0x10))['subscribe'](()=>{const _0x14d1e2=_0x11e0c1;this[_0x14d1e2(0x2b3)]();}));}};_0x47d0f4=_0xb1469b([_0xf20c48(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x4db13e[_0x4624f5(0x242)])),_0xf20c48(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x1508be)),_0xf20c48(0x3,_0x161ac6[_0x4624f5(0x41a)]),_0xf20c48(0x4,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x31f)]))],_0x47d0f4);const _0xd5b4f0=0x1,_0x5f0efe=1.5;class _0x5c4987 extends _0x1fade8[_0x4624f5(0x3d9)]{constructor(_0x22a934,_0x5593ae){const _0x1c7248=_0x4624f5;super(_0x22a934,_0x5593ae),_0x47bfcc(this,'_color'),_0x47bfcc(this,_0x1c7248(0x2a0),!0x1),_0x47bfcc(this,_0x1c7248(0x24c)),_0x47bfcc(this,'_name',''),_0x47bfcc(this,'_labelPosition','top'),_0x47bfcc(this,'_backgroundColor'),(_0x5593ae&&this[_0x1c7248(0x3e0)](_0x5593ae),this[_0x1c7248(0x1d3)][_0x1c7248(0x37c)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x1c7248(0x37c)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x124c0f){const _0x39eefd=_0x4624f5;var _0x530750,_0x38243f,_0x3cbe7a,_0x301d22,_0x3b97e6,_0x58fd44;this[_0x39eefd(0x452)]=(_0x530750=_0x124c0f[_0x39eefd(0x2fc)])!=null?_0x530750:this[_0x39eefd(0x452)],this[_0x39eefd(0x2a0)]=(_0x38243f=_0x124c0f[_0x39eefd(0x42d)])!=null?_0x38243f:this[_0x39eefd(0x2a0)],this[_0x39eefd(0x24c)]=(_0x3cbe7a=_0x124c0f[_0x39eefd(0x3d1)])!=null?_0x3cbe7a:this['_range'],this[_0x39eefd(0x33f)]=(_0x301d22=_0x124c0f[_0x39eefd(0x433)])!=null?_0x301d22:this[_0x39eefd(0x33f)],this[_0x39eefd(0x3f4)]=(_0x3b97e6=_0x124c0f['labelPosition'])!=null?_0x3b97e6:this[_0x39eefd(0x3f4)],this[_0x39eefd(0x446)]=(_0x58fd44=_0x124c0f[_0x39eefd(0x331)])!=null?_0x58fd44:this['_backgroundColor'],this[_0x39eefd(0x2f8)]({'width':_0x124c0f[_0x39eefd(0x230)],'height':_0x124c0f['height']});}[_0x4624f5(0x28c)](_0x1ae4bc){const _0x4f3789=_0x4624f5,{row:_0x4dd8ec,column:_0x86e9b}=_0x1ae4bc;if(_0x4dd8ec>=this[_0x4f3789(0x24c)][_0x4f3789(0x2e8)]&&_0x4dd8ec<=this[_0x4f3789(0x24c)]['endRow']&&_0x86e9b>=this[_0x4f3789(0x24c)][_0x4f3789(0x2cd)]&&_0x86e9b<=this[_0x4f3789(0x24c)][_0x4f3789(0x3f9)]){this[_0x4f3789(0x3e0)]({'hovered':!0x0});return;}this[_0x4f3789(0x3e0)]({'hovered':!0x1});}[_0x4624f5(0x1f3)](_0x12fcfe){return!0x1;}['_draw'](_0x13ca51){const _0x4f1cbc=_0x4624f5;_0x1fade8[_0x4f1cbc(0x374)][_0x4f1cbc(0x3b4)](_0x13ca51,{'width':this['width'],'height':this[_0x4f1cbc(0x3f8)],'strokeWidth':_0x5f0efe,'stroke':this[_0x4f1cbc(0x452)],'evented':!0x1,'fill':this[_0x4f1cbc(0x446)]}),this[_0x4f1cbc(0x2a0)]&&(_0x13ca51[_0x4f1cbc(0x37b)](),_0x13ca51['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x4f1cbc(0x23b)?0x0:-_0x5a3e8a),_0x6ab412[_0x4f1cbc(0x3b4)](_0x13ca51,{'text':this['_name'],'color':this[_0x4f1cbc(0x452)]}),_0x13ca51['restore']());}}var _0x222b6c=Object[_0x4624f5(0x272)],_0x44d088=(_0x3972e2,_0x350b7b,_0x2782a7,_0x37e1ff)=>{const _0x41429d=_0x4624f5;for(var _0x389d18=_0x37e1ff>0x1?void 0x0:_0x37e1ff?_0x222b6c(_0x350b7b,_0x2782a7):_0x350b7b,_0x533d26=_0x3972e2[_0x41429d(0x1e5)]-0x1,_0x165812;_0x533d26>=0x0;_0x533d26--)(_0x165812=_0x3972e2[_0x533d26])&&(_0x389d18=_0x165812(_0x389d18)||_0x389d18);return _0x389d18;},_0x49f4d0=(_0x566584,_0x2e9bb9)=>(_0x8e1276,_0x51bc22)=>_0x2e9bb9(_0x8e1276,_0x51bc22,_0x566584);const _0x5356fe=0x1389;let _0x2d665f=class extends _0x161ac6['RxDisposable']{constructor(_0x3ac546,_0x2225fa,_0x4cfbeb,_0x1e8d2a){const _0x106e99=_0x4624f5;super(),_0x47bfcc(this,_0x106e99(0x322),new Set()),_0x47bfcc(this,_0x106e99(0x1fd),null),(this[_0x106e99(0x38c)]=_0x3ac546,this[_0x106e99(0x393)]=_0x2225fa,this['_collabCursorController']=_0x4cfbeb,this['_themeService']=_0x1e8d2a,this['_init']());}[_0x4624f5(0x48d)](){const _0x40c3c4=_0x4624f5;this[_0x40c3c4(0x393)][_0x40c3c4(0x330)][_0x40c3c4(0x1ef)](_0x136df2[_0x40c3c4(0x45d)](this[_0x40c3c4(0x289)]),_0x136df2[_0x40c3c4(0x46f)](_0x377cfc=>{const _0xa6ace8=_0x40c3c4;if(_0x377cfc){const _0x3bc775=_0x377cfc[_0xa6ace8(0x2bf)];return _0x66cc31[_0xa6ace8(0x2f0)](this[_0xa6ace8(0x2c8)][_0xa6ace8(0x2c3)](this[_0xa6ace8(0x38c)][_0xa6ace8(0x470)]),this[_0xa6ace8(0x3c0)][_0xa6ace8(0x271)])[_0xa6ace8(0x1ef)](_0x136df2[_0xa6ace8(0x44e)](([_0x726aaf,_0x22a5c8])=>{const _0x51db45=_0xa6ace8,_0x5ca8a5=new Map();return _0x726aaf[_0x51db45(0x265)]((_0x5dd89e,_0x21aec5)=>{const _0x59b6ee=_0x51db45;if(_0x5dd89e['sheetID']===_0x3bc775){const _0x85e4f4={..._0x5dd89e};_0x85e4f4[_0x59b6ee(0x2fc)]=this[_0x59b6ee(0x3c0)][_0x59b6ee(0x3d8)](_0x5dd89e[_0x59b6ee(0x2fc)]),_0x5ca8a5[_0x59b6ee(0x3d5)](_0x21aec5,_0x85e4f4);}}),{'skeleton':_0x377cfc,'cursors':_0x5ca8a5};}));}return _0x66cc31['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4af596,cursors:_0x4cdeff})=>{const _0x1f6f63=_0x40c3c4;this[_0x1f6f63(0x22c)](),_0x4af596&&this[_0x1f6f63(0x398)](_0x4af596,_0x4cdeff);}),this[_0x40c3c4(0x393)][_0x40c3c4(0x330)]['subscribe'](_0x2eec4d=>{const _0x6551b6=_0x40c3c4;if(_0x2eec4d==null)return;const {skeleton:_0x4ec28c}=_0x2eec4d,{scene:_0x207b74}=this[_0x6551b6(0x38c)];_0x207b74[_0x6551b6(0x458)][_0x6551b6(0x37c)](_0x161ac6[_0x6551b6(0x3e4)](_0xed68=>{const _0x1f371a=_0x6551b6;var _0x18a802,_0x36aba4;const {offsetX:_0x5c2771,offsetY:_0x4d078b}=_0xed68,{x:_0x3b3b50,y:_0x30c118}=_0x207b74[_0x1f371a(0x2fd)](_0x1fade8[_0x1f371a(0x305)][_0x1f371a(0x427)]([_0x5c2771,_0x4d078b])),{scaleX:_0x365b45,scaleY:_0x197a9a}=_0x207b74['getAncestorScale'](),_0x29601e=_0x207b74[_0x1f371a(0x3db)](_0x1fade8['SHEET_VIEWPORT_KEY'][_0x1f371a(0x2bd)]),_0x13104c=_0x207b74[_0x1f371a(0x483)](_0x1fade8[_0x1f371a(0x305)][_0x1f371a(0x427)]([_0x3b3b50,_0x30c118]),_0x29601e),_0x299ebf=_0x4ec28c['getCellPositionByOffset'](_0x5c2771,_0x4d078b,_0x365b45,_0x197a9a,_0x13104c);((_0x18a802=this[_0x1f371a(0x1fd)])==null?void 0x0:_0x18a802[_0x1f371a(0x476)])===_0x299ebf[_0x1f371a(0x476)]&&((_0x36aba4=this['_lastPointer'])==null?void 0x0:_0x36aba4[_0x1f371a(0x3e5)])===_0x299ebf[_0x1f371a(0x3e5)]||this['_cursors'][_0x1f371a(0x265)](_0x2ca931=>{const _0x9fb1fa=_0x1f371a;_0x2ca931[_0x9fb1fa(0x28c)](_0x299ebf);});},0x64));});}[_0x4624f5(0x398)](_0x24b9cd,_0xd7a9f){const _0x2104f7=_0x4624f5;var _0x4a9344;const _0x1a6e72=(_0x4a9344=this[_0x2104f7(0x393)][_0x2104f7(0x2e2)]())==null?void 0x0:_0x4a9344[_0x2104f7(0x49a)];if(!_0x1a6e72)return;const _0x46b57d=this[_0x2104f7(0x3df)]();if(!_0x46b57d)return;this[_0x2104f7(0x322)][_0x2104f7(0x265)](_0x35c410=>{const _0x52b53e=_0x2104f7;_0x35c410[_0x52b53e(0x236)]();});const {scene:_0x4c3713}=_0x46b57d,_0x58f058=_0x22fbae(Array[_0x2104f7(0x243)](_0xd7a9f[_0x2104f7(0x42f)]()))[_0x2104f7(0x44e)](_0x4227d3=>{const _0x444647=_0x2104f7,{color:_0x584e3c,range:_0x584927,name:_0xe96b1b,selection:_0x5cd971,sheetID:_0xe886fb}=_0x4227d3,{startColumn:_0xaa0ef,startRow:_0x3bb447,endColumn:_0x3fc287,endRow:_0x28e3ff}=_0x584927,_0x376d17=_0x5b4c60['getCoordByCell'](_0x3bb447,_0xaa0ef,_0x4c3713,_0x1a6e72),_0xf6a6a6=_0x5b4c60['getCoordByCell'](_0x28e3ff,_0x3fc287,_0x4c3713,_0x1a6e72),{columnHeaderHeightAndMarginTop:_0x360639}=_0x1a6e72,{startX:_0x39b636,startY:_0xd31f44}=_0x376d17,{endX:_0xdec112,endY:_0x5ef07b}=_0xf6a6a6,_0x4b6b08=_0xdec112-_0x39b636,_0x47fc30=_0x5ef07b-_0xd31f44,_0x3afda2={'labelPosition':_0xd31f44-_0x360639>=_0x5a3e8a?_0x444647(0x3a1):_0x444647(0x23b),'sheetID':_0xe886fb,'range':_0x584927,'color':_0x584e3c,'name':_0xe96b1b,'selection':_0x5cd971,'left':_0x39b636,'top':_0xd31f44,'width':_0x4b6b08,'height':_0x47fc30,'evented':!0x1,'zIndex':_0x5356fe};return new _0x5c4987(_0xe96b1b,_0x3afda2);});_0x4c3713[_0x2104f7(0x2dc)](_0x58f058,_0xd5b4f0),this[_0x2104f7(0x322)]=new Set(_0x58f058);}[_0x4624f5(0x22c)](){const _0x169345=_0x4624f5;var _0x4117e9;(_0x4117e9=this[_0x169345(0x322)])==null||_0x4117e9['forEach'](_0x5e188b=>_0x5e188b[_0x169345(0x214)]());}['_getSheetObject'](){const _0x3910ae=_0x4624f5;return _0x5b4c60[_0x3910ae(0x386)](this[_0x3910ae(0x38c)]['unit'],this[_0x3910ae(0x38c)]);}};_0x2d665f=_0x44d088([_0x49f4d0(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x5b4c60[_0x4624f5(0x39a)])),_0x49f4d0(0x2,_0x161ac6['Inject'](_0x1508be)),_0x49f4d0(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6['ThemeService']))],_0x2d665f);function _0x22fbae(_0x165e1a){const _0x9686a1=_0x4624f5,_0x109777=new Map();return _0x165e1a[_0x9686a1(0x265)](_0x50bc15=>{const _0x1f5fb5=_0x9686a1;if(_0x109777[_0x1f5fb5(0x390)](_0x50bc15['selection'])){const _0x3a5512=_0x109777[_0x1f5fb5(0x333)](_0x50bc15['selection']);_0x3a5512[_0x1f5fb5(0x433)]+=',\x20'+_0x50bc15[_0x1f5fb5(0x433)];}else _0x109777['set'](_0x50bc15['selection'],_0x50bc15);}),Array['from'](_0x109777['values']());}var _0xb4bcb1=Object['getOwnPropertyDescriptor'],_0x1a32df=(_0x3b7189,_0x4ec178,_0x54e464,_0x3452de)=>{const _0x1b9732=_0x4624f5;for(var _0x6c02dd=_0x3452de>0x1?void 0x0:_0x3452de?_0xb4bcb1(_0x4ec178,_0x54e464):_0x4ec178,_0x33ae4a=_0x3b7189[_0x1b9732(0x1e5)]-0x1,_0x109921;_0x33ae4a>=0x0;_0x33ae4a--)(_0x109921=_0x3b7189[_0x33ae4a])&&(_0x6c02dd=_0x109921(_0x6c02dd)||_0x6c02dd);return _0x6c02dd;},_0x3aea0f=(_0x176467,_0x14e6b1)=>(_0x41191e,_0x5abc01)=>_0x14e6b1(_0x41191e,_0x5abc01,_0x176467);let _0x1a48d1=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x52e10a,_0x5558f8,_0x15aa9d,_0x445bb7,_0x30b562,_0x241f9f){const _0x2573ec=_0x4624f5;super(),this[_0x2573ec(0x2f5)]=_0x52e10a,this[_0x2573ec(0x346)]=_0x5558f8,this['_collaborationUIEventService']=_0x15aa9d,this[_0x2573ec(0x47b)]=_0x445bb7,this[_0x2573ec(0x3bd)]=_0x30b562,this[_0x2573ec(0x23c)]=_0x241f9f,this[_0x2573ec(0x3f1)](),this[_0x2573ec(0x413)]();}[_0x4624f5(0x3f1)](){const _0x5bba5e=_0x4624f5;this[_0x5bba5e(0x30f)](this[_0x5bba5e(0x2f5)]['registerBeforeClose'](()=>{const _0x5e4787=_0x5bba5e;if(this[_0x5e4787(0x346)][_0x5e4787(0x47c)]['size'])return this[_0x5e4787(0x23c)]['t'](_0x5e4787(0x1f9));}));}[_0x4624f5(0x413)](){const _0x58c133=_0x4624f5;this[_0x58c133(0x30f)](this[_0x58c133(0x449)][_0x58c133(0x3fa)][_0x58c133(0x26b)](_0x1285e4=>{const _0x16c244=_0x58c133;_0x1285e4['id']===_0x46104e[_0x16c244(0x334)]['OTHER_CLIENT_EDITING']&&this[_0x16c244(0x47b)][_0x16c244(0x27d)]({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x241)],'content':this[_0x16c244(0x23c)]['t'](_0x16c244(0x1d1))}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x403)]&&this['_messageService'][_0x16c244(0x27d)]({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x241)],'content':this[_0x16c244(0x23c)]['t'](_0x16c244(0x436))}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x2a5)]&&this[_0x16c244(0x3bd)][_0x16c244(0x27d)]({'title':this[_0x16c244(0x23c)]['t'](_0x16c244(0x339)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x499)]&&this[_0x16c244(0x47b)][_0x16c244(0x27d)]({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x368)],'content':this[_0x16c244(0x23c)]['t']('collaboration.closeRoom')+'('+_0x1285e4[_0x16c244(0x345)]+')'}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x2ce)]&&this[_0x16c244(0x47b)][_0x16c244(0x27d)]({'type':_0x37af48['MessageType'][_0x16c244(0x241)],'content':this[_0x16c244(0x23c)]['t'](_0x1285e4[_0x16c244(0x345)]||'')}),_0x1285e4['id']===_0x46104e['CollaborationUIEventId'][_0x16c244(0x1f0)]&&this[_0x16c244(0x47b)]['show']({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x241)],'content':this['_localeService']['t']('session.will-retry')}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x2b6)]&&this[_0x16c244(0x47b)][_0x16c244(0x27d)]({'type':_0x37af48['MessageType'][_0x16c244(0x368)],'content':this['_localeService']['t'](_0x16c244(0x46d))}),_0x1285e4['id']===_0x46104e[_0x16c244(0x334)][_0x16c244(0x342)]&&this['_messageService'][_0x16c244(0x27d)]({'type':_0x37af48[_0x16c244(0x366)][_0x16c244(0x368)],'content':this[_0x16c244(0x23c)]['t'](_0x16c244(0x22a))});}));}};_0x1a48d1=_0x1a32df([_0x3aea0f(0x0,_0x4291c6[_0x4624f5(0x234)]),_0x3aea0f(0x1,_0x46104e['ILocalCacheService']),_0x3aea0f(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x46104e[_0x4624f5(0x421)])),_0x3aea0f(0x3,_0x4291c6['IMessageService']),_0x3aea0f(0x4,_0x4291c6[_0x4624f5(0x2be)]),_0x3aea0f(0x5,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6['LocaleService']))],_0x1a48d1);const _0x2f76a0=_0x4624f5(0x2ca),_0xbf724b={};var _0x525560=Object[_0x4624f5(0x272)],_0x39ab76=(_0x1099bf,_0x3b7e14,_0x4d5bdd,_0x40b79a)=>{const _0x20f698=_0x4624f5;for(var _0x5cf551=_0x40b79a>0x1?void 0x0:_0x40b79a?_0x525560(_0x3b7e14,_0x4d5bdd):_0x3b7e14,_0xb6897=_0x1099bf[_0x20f698(0x1e5)]-0x1,_0x46af3b;_0xb6897>=0x0;_0xb6897--)(_0x46af3b=_0x1099bf[_0xb6897])&&(_0x5cf551=_0x46af3b(_0x5cf551)||_0x5cf551);return _0x5cf551;},_0x345a26=(_0x5e6075,_0x4b3678)=>(_0xd65cf4,_0x10d20e)=>_0x4b3678(_0xd65cf4,_0x10d20e,_0x5e6075);let _0x6698d6=class{constructor(_0x36c676,_0x3e4712){const _0x151b0e=_0x4624f5;this[_0x151b0e(0x27c)]=_0x36c676,this[_0x151b0e(0x338)]=_0x3e4712;}['transformIMECache'](_0x3dbc5e){const _0x558447=_0x4624f5;this[_0x558447(0x3bf)](_0x3dbc5e),this[_0x558447(0x394)](_0x3dbc5e);}[_0x4624f5(0x3c2)](_0x141025){const _0xe14221=_0x4624f5,{unitID:_0x3365e2}=_0x141025,_0x486c6c=this['_renderManagerService'][_0xe14221(0x1ed)](_0x3365e2)[_0xe14221(0x287)](_0x5d4e8b[_0xe14221(0x32b)]),{redoCache:_0x502a16}=_0x486c6c['getUndoRedoMutationParamsCache']();if(_0x502a16['length']===0x0)return _0x141025;let _0x53d5a0=_0x161ac6[_0xe14221(0x460)]['deepClone'](_0x141025[_0xe14221(0x35d)][0x0]);for(let _0x3ee009=0x0;_0x3ee009<_0x502a16[_0xe14221(0x1e5)];_0x3ee009++){const _0x4a64c5={'id':_0xe14221(0x25b),'params':{..._0x502a16[_0x3ee009]}},_0x115a32=this[_0xe14221(0x27c)][_0xe14221(0x3d7)](_0x53d5a0,_0x4a64c5,!0x1);if(_0x48fdef[_0xe14221(0x32e)](_0x115a32))throw _0x115a32[_0xe14221(0x3ff)];_0x53d5a0=_0x115a32[_0xe14221(0x494)];}return{..._0x161ac6[_0xe14221(0x460)][_0xe14221(0x2d8)](_0x141025),'mutations':[_0x53d5a0]};}[_0x4624f5(0x3bf)](_0x11433d){const _0x1cfbe0=_0x4624f5,{unitID:_0x14d498}=_0x11433d,_0x2b9811=this[_0x1cfbe0(0x338)][_0x1cfbe0(0x1ed)](_0x14d498)[_0x1cfbe0(0x287)](_0x5d4e8b[_0x1cfbe0(0x32b)]),{undoCache:_0x394620,redoCache:_0xb3b2ff}=_0x2b9811[_0x1cfbe0(0x302)]();if(_0x394620[_0x1cfbe0(0x1e5)]===0x0||_0xb3b2ff['length']===0x0)return;const _0x43d85d=[],_0x5318e7=[];let _0x1948f3=_0x161ac6['Tools'][_0x1cfbe0(0x2d8)](_0x11433d['mutations'][0x0]),_0x39e7f7=_0x161ac6[_0x1cfbe0(0x460)][_0x1cfbe0(0x2d8)](_0x11433d[_0x1cfbe0(0x35d)][0x0]);for(let _0xde89e2=_0x394620[_0x1cfbe0(0x1e5)]-0x1;_0xde89e2>=0x0;_0xde89e2--){const _0x30ab9e={'id':_0x1cfbe0(0x25b),'params':{..._0x394620[_0xde89e2]}},_0x50efd7={'id':_0x1cfbe0(0x25b),'params':{..._0xb3b2ff[_0xde89e2]}},_0x5c9ce8=this['_transformService'][_0x1cfbe0(0x3d7)](_0x1948f3,_0x30ab9e,!0x1),_0xaadcab=this[_0x1cfbe0(0x27c)][_0x1cfbe0(0x3d7)](_0x39e7f7,_0x50efd7,!0x1);if(_0x48fdef['isTransformMutationFailure'](_0x5c9ce8))throw _0x5c9ce8[_0x1cfbe0(0x3ff)];if(_0x48fdef[_0x1cfbe0(0x32e)](_0xaadcab))throw _0xaadcab[_0x1cfbe0(0x3ff)];_0x43d85d[_0x1cfbe0(0x1f2)](_0x5c9ce8['m2Prime'][_0x1cfbe0(0x276)]),_0x5318e7[_0x1cfbe0(0x1f2)](_0xaadcab[_0x1cfbe0(0x397)][_0x1cfbe0(0x276)]),_0x1948f3=_0x5c9ce8[_0x1cfbe0(0x494)],_0x39e7f7=_0xaadcab['m1Prime'];}_0x2b9811['setUndoRedoMutationParamsCache']({'undoCache':_0x43d85d,'redoCache':_0x5318e7});}[_0x4624f5(0x394)](_0x483508){const _0x23aed7=_0x4624f5,{unitID:_0x582c3f}=_0x483508,_0x1d7e1c=this['_renderManagerService']['getRenderById'](_0x582c3f)[_0x23aed7(0x287)](_0x5d4e8b[_0x23aed7(0x32b)]),_0x18f0b4=_0x1d7e1c[_0x23aed7(0x3a6)]();if(_0x18f0b4==null)return;const _0x958197=[{'id':_0x23aed7(0x25b),'params':{'unitId':_0x483508[_0x23aed7(0x2e9)],'actions':null,'textRanges':[_0x18f0b4]}}],_0x4b42be=this[_0x23aed7(0x27c)][_0x23aed7(0x2bb)](_0x483508,_0x958197);if(!_0x48fdef[_0x23aed7(0x245)](_0x4b42be))throw _0x4b42be[_0x23aed7(0x3ff)];const _0x5ccda8=_0x4b42be[_0x23aed7(0x397)][0x0][_0x23aed7(0x276)][_0x23aed7(0x3c5)];Array[_0x23aed7(0x462)](_0x5ccda8)&&_0x5ccda8[_0x23aed7(0x1e5)]&&_0x1d7e1c['setActiveRange'](_0x5ccda8[0x0]);}};_0x6698d6=_0x39ab76([_0x345a26(0x0,_0x48fdef['ITransformService']),_0x345a26(0x1,_0x1fade8[_0x4624f5(0x383)])],_0x6698d6);var _0xe85881=Object[_0x4624f5(0x272)],_0x20e6bb=(_0x283a50,_0x57ab02,_0x3bd32a,_0x2a9cac)=>{const _0x11942a=_0x4624f5;for(var _0x4eac68=_0x2a9cac>0x1?void 0x0:_0x2a9cac?_0xe85881(_0x57ab02,_0x3bd32a):_0x57ab02,_0x5850a2=_0x283a50[_0x11942a(0x1e5)]-0x1,_0x36852f;_0x5850a2>=0x0;_0x5850a2--)(_0x36852f=_0x283a50[_0x5850a2])&&(_0x4eac68=_0x36852f(_0x4eac68)||_0x4eac68);return _0x4eac68;},_0x5e50d1=(_0x11388c,_0x4da7e3)=>(_0x59d4f4,_0x18ad08)=>_0x4da7e3(_0x59d4f4,_0x18ad08,_0x11388c);let _0xa7a54c=class{constructor(_0x7f556b,_0x1af56e,_0x2ee72d){const _0x3af573=_0x4624f5;this[_0x3af573(0x298)]=_0x7f556b,this[_0x3af573(0x27c)]=_0x1af56e,this[_0x3af573(0x22e)]=_0x2ee72d;}[_0x4624f5(0x307)](_0x1aaee7){const _0x93433d=_0x4624f5;this[_0x93433d(0x3c1)](_0x1aaee7);}[_0x4624f5(0x3c2)](_0x1053a4){const _0x3043a3=_0x4624f5,{unitID:_0x270535}=_0x1053a4,{collaboration:_0x39335c}=this[_0x3043a3(0x22e)][_0x3043a3(0x39e)](_0x270535);if(_0x39335c[_0x3043a3(0x1e5)]===0x0)return _0x1053a4;let _0x340834=_0x161ac6[_0x3043a3(0x460)][_0x3043a3(0x2d8)](_0x1053a4[_0x3043a3(0x35d)][0x0]);for(let _0x42ea20=0x0;_0x42ea20<_0x39335c['length'];_0x42ea20++){const _0x40ca5e={'id':_0x3043a3(0x25b),'params':{'unitId':_0x39335c[_0x42ea20]['unitId'],..._0x39335c[_0x42ea20][_0x3043a3(0x4a1)]}},_0x1c19af=this[_0x3043a3(0x27c)][_0x3043a3(0x3d7)](_0x340834,_0x40ca5e,!0x1);if(_0x48fdef[_0x3043a3(0x32e)](_0x1c19af))throw _0x1c19af[_0x3043a3(0x3ff)];_0x340834=_0x1c19af['m1Prime'];}return{..._0x161ac6['Tools'][_0x3043a3(0x2d8)](_0x1053a4),'mutations':[_0x340834]};}[_0x4624f5(0x3c1)](_0x1de933){const _0x4d3d5b=_0x4624f5,{unitID:_0x1e54c7}=_0x1de933,{history:_0x33ebd3,collaboration:_0x197a05}=this[_0x4d3d5b(0x22e)][_0x4d3d5b(0x39e)](_0x1e54c7);if(_0x33ebd3[_0x4d3d5b(0x1e5)]===0x0&&_0x197a05[_0x4d3d5b(0x1e5)]===0x0)return;const _0x4fdf63=[],_0x1d6504=[];let _0x24483f=_0x161ac6[_0x4d3d5b(0x460)][_0x4d3d5b(0x2d8)](_0x1de933[_0x4d3d5b(0x35d)][0x0]),_0x1d48d6=_0x161ac6[_0x4d3d5b(0x460)][_0x4d3d5b(0x2d8)](_0x1de933[_0x4d3d5b(0x35d)][0x0]);for(let _0x30bf00=_0x33ebd3['length']-0x1;_0x30bf00>=0x0;_0x30bf00--){const _0x240579={'id':_0x4d3d5b(0x25b),'params':{'unitId':_0x33ebd3[_0x30bf00][_0x4d3d5b(0x470)],..._0x33ebd3[_0x30bf00]['undoState']}},_0x17607b={'id':_0x4d3d5b(0x25b),'params':{'unitId':_0x33ebd3[_0x30bf00][_0x4d3d5b(0x470)],..._0x33ebd3[_0x30bf00][_0x4d3d5b(0x4a1)]}},_0x462534=this[_0x4d3d5b(0x27c)][_0x4d3d5b(0x3d7)](_0x24483f,_0x240579,!0x1),_0x27c7fb=this[_0x4d3d5b(0x27c)][_0x4d3d5b(0x3d7)](_0x1d48d6,_0x17607b,!0x1);if(_0x48fdef[_0x4d3d5b(0x32e)](_0x462534))throw _0x462534[_0x4d3d5b(0x3ff)];if(_0x48fdef[_0x4d3d5b(0x32e)](_0x27c7fb))throw _0x27c7fb['error'];_0x4fdf63['unshift']({..._0x33ebd3[_0x30bf00],'undoState':_0x462534[_0x4d3d5b(0x397)][_0x4d3d5b(0x276)],'redoState':_0x27c7fb['m2Prime'][_0x4d3d5b(0x276)]}),_0x24483f=_0x462534[_0x4d3d5b(0x494)],_0x1d48d6=_0x27c7fb['m1Prime'];}_0x24483f=_0x161ac6[_0x4d3d5b(0x460)][_0x4d3d5b(0x2d8)](_0x1de933[_0x4d3d5b(0x35d)][0x0]),_0x1d48d6=_0x161ac6['Tools'][_0x4d3d5b(0x2d8)](_0x1de933['mutations'][0x0]);for(let _0x20eb2d=_0x197a05[_0x4d3d5b(0x1e5)]-0x1;_0x20eb2d>=0x0;_0x20eb2d--){const _0x2ac1b8={'id':_0x4d3d5b(0x25b),'params':{'unitId':_0x197a05[_0x20eb2d][_0x4d3d5b(0x470)],..._0x197a05[_0x20eb2d][_0x4d3d5b(0x20e)]}},_0x2653b7={'id':_0x4d3d5b(0x25b),'params':{'unitId':_0x197a05[_0x20eb2d][_0x4d3d5b(0x470)],..._0x197a05[_0x20eb2d][_0x4d3d5b(0x4a1)]}},_0x5a45e0=this[_0x4d3d5b(0x27c)][_0x4d3d5b(0x3d7)](_0x24483f,_0x2ac1b8,!0x1),_0x446a2d=this[_0x4d3d5b(0x27c)][_0x4d3d5b(0x3d7)](_0x1d48d6,_0x2653b7,!0x1);if(_0x48fdef['isTransformMutationFailure'](_0x5a45e0))throw _0x5a45e0[_0x4d3d5b(0x3ff)];if(_0x48fdef[_0x4d3d5b(0x32e)](_0x446a2d))throw _0x446a2d[_0x4d3d5b(0x3ff)];_0x1d6504[_0x4d3d5b(0x1f2)]({..._0x197a05[_0x20eb2d],'undoState':_0x5a45e0['m2Prime'][_0x4d3d5b(0x276)],'redoState':_0x446a2d[_0x4d3d5b(0x397)][_0x4d3d5b(0x276)]}),_0x24483f=_0x5a45e0[_0x4d3d5b(0x494)],_0x1d48d6=_0x446a2d[_0x4d3d5b(0x494)];}this[_0x4d3d5b(0x22e)][_0x4d3d5b(0x207)](_0x1e54c7,{'history':_0x4fdf63,'collaboration':_0x1d6504});}};_0xa7a54c=_0x20e6bb([_0x5e50d1(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x5e50d1(0x1,_0x48fdef[_0x4624f5(0x254)]),_0x5e50d1(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x5d4e8b[_0x4624f5(0x3f0)]))],_0xa7a54c);var _0x57ad3c=Object[_0x4624f5(0x272)],_0x42e18e=(_0x30091c,_0x3f8d4e,_0x5e41f2,_0x165eb7)=>{const _0x1407cc=_0x4624f5;for(var _0x44becc=_0x165eb7>0x1?void 0x0:_0x165eb7?_0x57ad3c(_0x3f8d4e,_0x5e41f2):_0x3f8d4e,_0x3c2778=_0x30091c[_0x1407cc(0x1e5)]-0x1,_0xcae1a;_0x3c2778>=0x0;_0x3c2778--)(_0xcae1a=_0x30091c[_0x3c2778])&&(_0x44becc=_0xcae1a(_0x44becc)||_0x44becc);return _0x44becc;},_0x3e339d=(_0x14fe80,_0x578ed5)=>(_0x1a9d2d,_0x47fe78)=>_0x578ed5(_0x1a9d2d,_0x47fe78,_0x14fe80);let _0x16e8f2=class{constructor(_0x4d088f,_0x24c689){this['_injector']=_0x4d088f,this['_transformService']=_0x24c689;}['transformSelections'](_0x561d0f){const _0xafd62=_0x4624f5;var _0x478b5d;const _0xf6ec35=this[_0xafd62(0x298)][_0xafd62(0x333)](_0x4db13e[_0xafd62(0x3c7)]),_0x2205ed=(_0x478b5d=_0xf6ec35[_0xafd62(0x2ae)]())!=null?_0x478b5d:[];if(_0x2205ed[_0xafd62(0x1e5)]===0x0)return;const _0x44c61e=_0x561d0f[_0xafd62(0x2e9)],_0x3a8dbf=[{'id':_0xafd62(0x25b),'params':{'unitId':_0x44c61e,'actions':null,'textRanges':_0x2205ed}}],_0x2063bb=this['_transformService']['transformMutationsWithChangeset'](_0x561d0f,_0x3a8dbf);if(!_0x48fdef['isTransformMutationsWithChangesetSuccess'](_0x2063bb))throw _0x2063bb[_0xafd62(0x3ff)];const _0x127821=_0x2063bb['m2Prime'][0x0][_0xafd62(0x276)][_0xafd62(0x3c5)];Array['isArray'](_0x127821)&&_0x127821['length']&&_0xf6ec35[_0xafd62(0x2b8)](_0x127821,{'unitId':_0x44c61e,'subUnitId':_0x44c61e},!0x1);}};_0x16e8f2=_0x42e18e([_0x3e339d(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x3e339d(0x1,_0x48fdef['ITransformService'])],_0x16e8f2);var _0x51fbdb=Object[_0x4624f5(0x272)],_0x485991=(_0x5b2727,_0x12d06e,_0x56d4d4,_0x5a2083)=>{for(var _0x5e01b0=_0x5a2083>0x1?void 0x0:_0x5a2083?_0x51fbdb(_0x12d06e,_0x56d4d4):_0x12d06e,_0x2024d9=_0x5b2727['length']-0x1,_0x587b4a;_0x2024d9>=0x0;_0x2024d9--)(_0x587b4a=_0x5b2727[_0x2024d9])&&(_0x5e01b0=_0x587b4a(_0x5e01b0)||_0x5e01b0);return _0x5e01b0;},_0xb392fd=(_0x2ba211,_0x2aba97)=>(_0x45d113,_0x582c43)=>_0x2aba97(_0x45d113,_0x582c43,_0x2ba211);let _0x41f840=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x3155a2,_0x5739f4,_0x407101,_0x43c9c1,_0x22486e,_0x4f5593,_0x139f99,_0x1b07de){const _0x124180=_0x4624f5;super(),_0x47bfcc(this,_0x124180(0x3e7),new _0x66cc31[(_0x124180(0x41e))](_0x46104e['CollaborationStatus']['NOT_COLLAB'])),(this[_0x124180(0x22e)]=_0x3155a2,this[_0x124180(0x2c0)]=_0x5739f4,this['_docTransformIMECacheService']=_0x407101,this['_docTransformStateCacheService']=_0x43c9c1,this[_0x124180(0x1df)]=_0x22486e,this[_0x124180(0x2eb)]=_0x4f5593,this[_0x124180(0x47b)]=_0x139f99,this[_0x124180(0x23c)]=_0x1b07de,this[_0x124180(0x21d)]());}[_0x4624f5(0x21d)](){const _0x4fe9e4=_0x4624f5;this[_0x4fe9e4(0x30f)](this[_0x4fe9e4(0x2c0)][_0x4fe9e4(0x43c)][_0x4fe9e4(0x26b)](_0x5531b7=>{const _0x1049b=_0x4fe9e4,_0x243c49=this['_docStateChangeManagerService'][_0x1049b(0x2fa)]['subscribe'](_0x1e31c9=>{const _0x3cf30c=_0x1049b;if(_0x1e31c9==null)return;const {unitId:_0x1c2a68,redoState:_0x2d92c6,commandId:_0x29b2bc}=_0x1e31c9;if(_0x1c2a68!==_0x5531b7['unitID'])return;const _0x1665c8={'id':_0x29b2bc,'type':_0x161ac6[_0x3cf30c(0x367)]['MUTATION'],'params':{'unitId':_0x1c2a68,'actions':_0x2d92c6[_0x3cf30c(0x31c)],'textRanges':null}};_0x5531b7['onLocalMutation'](_0x1665c8);});if(_0x5531b7[_0x1049b(0x30f)](_0x243c49),_0x5531b7 instanceof _0x46104e[_0x1049b(0x465)]){const _0x1b75b4={'onTransformIME':_0xf94ca=>this[_0x1049b(0x3d4)]['transformIMECache'](_0xf94ca),'onTransformState':_0xc0a988=>this[_0x1049b(0x3d3)]['transformStateCache'](_0xc0a988),'onTransformSelections':_0x1ba053=>this[_0x1049b(0x1df)][_0x1049b(0x297)](_0x1ba053),'onSyncEditingCollabCursor':_0x3f76d3=>this[_0x1049b(0x2eb)][_0x1049b(0x26c)](_0x3f76d3),'onTransformRemoteChangesetByIMECache':_0x4b6beb=>this['_docTransformIMECacheService'][_0x1049b(0x3c2)](_0x4b6beb),'onTransformRemoteChangesetByStateCache':_0x1604a9=>this[_0x1049b(0x3d3)][_0x1049b(0x3c2)](_0x1604a9)};_0x5531b7[_0x1049b(0x1e3)](_0x1b75b4);}}));}};_0x41f840=_0x485991([_0xb392fd(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x5d4e8b[_0x4624f5(0x3f0)])),_0xb392fd(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x46104e[_0x4624f5(0x23f)])),_0xb392fd(0x2,_0x161ac6[_0x4624f5(0x2b0)](_0x6698d6)),_0xb392fd(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0xa7a54c)),_0xb392fd(0x4,_0x161ac6[_0x4624f5(0x2b0)](_0x16e8f2)),_0xb392fd(0x5,_0x161ac6[_0x4624f5(0x2b0)](_0x360498)),_0xb392fd(0x6,_0x4291c6['IMessageService']),_0xb392fd(0x7,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6['LocaleService']))],_0x41f840);var _0x5a1443=(_0x5ceda4=>(_0x5ceda4[_0x5ceda4[_0x4624f5(0x451)]=0x0]=_0x4624f5(0x451),_0x5ceda4[_0x5ceda4['OK']=0x1]='OK',_0x5ceda4[_0x5ceda4['INTERNAL_ERROR']=0x2]=_0x4624f5(0x313),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2a5)]=0x3]=_0x4624f5(0x2a5),_0x5ceda4[_0x5ceda4['NOT_FOUND']=0x4]=_0x4624f5(0x47e),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1d0)]=0x5]='UNAUTHENTICATED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x364)]=0x6]='ALREADY_EXISTS',_0x5ceda4[_0x5ceda4[_0x4624f5(0x259)]=0x7]=_0x4624f5(0x259),_0x5ceda4[_0x5ceda4['TOO_MANY_REQUESTS']=0x8]=_0x4624f5(0x308),_0x5ceda4[_0x5ceda4['COMPLETION_FINISHED']=0x9]=_0x4624f5(0x2b4),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2ac)]=0xa]=_0x4624f5(0x2ac),_0x5ceda4[_0x5ceda4['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4624f5(0x3b1),_0x5ceda4[_0x5ceda4[_0x4624f5(0x30e)]=0xc]=_0x4624f5(0x30e),_0x5ceda4[_0x5ceda4['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4624f5(0x375),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1e4)]=0xe]=_0x4624f5(0x1e4),_0x5ceda4[_0x5ceda4[_0x4624f5(0x40f)]=0xf]=_0x4624f5(0x40f),_0x5ceda4[_0x5ceda4[_0x4624f5(0x267)]=0x10]=_0x4624f5(0x267),_0x5ceda4[_0x5ceda4['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x4624f5(0x439),_0x5ceda4[_0x5ceda4[_0x4624f5(0x200)]=0x65]=_0x4624f5(0x200),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3b3)]=0xc9]=_0x4624f5(0x3b3),_0x5ceda4[_0x5ceda4['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x5ceda4[_0x5ceda4['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5ceda4[_0x5ceda4[_0x4624f5(0x2f1)]=0x1771]=_0x4624f5(0x2f1),_0x5ceda4[_0x5ceda4[_0x4624f5(0x4a0)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x32a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5ceda4[_0x5ceda4[_0x4624f5(0x22d)]=0x1b59]=_0x4624f5(0x22d),_0x5ceda4[_0x5ceda4[_0x4624f5(0x39b)]=0x1b5a]=_0x4624f5(0x39b),_0x5ceda4[_0x5ceda4[_0x4624f5(0x365)]=0x1b5b]=_0x4624f5(0x365),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2df)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x21f)]=0x1b5d]='APPLY_DUPLICATED',_0x5ceda4[_0x5ceda4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4624f5(0x2ed),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1e7)]=0x2329]=_0x4624f5(0x1e7),_0x5ceda4[_0x5ceda4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4624f5(0x46e),_0x5ceda4[_0x5ceda4['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4624f5(0x248),_0x5ceda4[_0x5ceda4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4624f5(0x20f),_0x5ceda4[_0x5ceda4['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4624f5(0x347),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2d6)]=0x2711]=_0x4624f5(0x2d6),_0x5ceda4[_0x5ceda4[_0x4624f5(0x257)]=0x2712]=_0x4624f5(0x257),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3ca)]=0x2713]=_0x4624f5(0x3ca),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1f1)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5ceda4[_0x5ceda4[_0x4624f5(0x235)]=0x271a]=_0x4624f5(0x235),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1cf)]=0x271b]=_0x4624f5(0x1cf),_0x5ceda4[_0x5ceda4[_0x4624f5(0x291)]=0x271c]=_0x4624f5(0x291),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2ad)]=0x271d]=_0x4624f5(0x2ad),_0x5ceda4[_0x5ceda4[_0x4624f5(0x262)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5ceda4[_0x5ceda4['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x2e4)]=0x2720]=_0x4624f5(0x2e4),_0x5ceda4[_0x5ceda4[_0x4624f5(0x473)]=0x2af9]=_0x4624f5(0x473),_0x5ceda4[_0x5ceda4[_0x4624f5(0x229)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5ceda4[_0x5ceda4['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5ceda4[_0x5ceda4[_0x4624f5(0x2a3)]=0x2ee3]=_0x4624f5(0x2a3),_0x5ceda4[_0x5ceda4['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5ceda4[_0x5ceda4[_0x4624f5(0x2fb)]=0x2ee5]=_0x4624f5(0x2fb),_0x5ceda4[_0x5ceda4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4624f5(0x2c1),_0x5ceda4[_0x5ceda4[_0x4624f5(0x277)]=0x32ca]=_0x4624f5(0x277),_0x5ceda4[_0x5ceda4['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5ceda4[_0x5ceda4['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x4624f5(0x2ea),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1ee)]=0x36b2]=_0x4624f5(0x1ee),_0x5ceda4[_0x5ceda4[_0x4624f5(0x1de)]=0x36b3]=_0x4624f5(0x1de),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3b7)]=0x36b4]=_0x4624f5(0x3b7),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3e6)]=0x3715]=_0x4624f5(0x3e6),_0x5ceda4[_0x5ceda4[_0x4624f5(0x2f9)]=0x3716]=_0x4624f5(0x2f9),_0x5ceda4[_0x5ceda4[_0x4624f5(0x385)]=0x3717]=_0x4624f5(0x385),_0x5ceda4[_0x5ceda4[_0x4624f5(0x369)]=0x37dd]=_0x4624f5(0x369),_0x5ceda4[_0x5ceda4[_0x4624f5(0x232)]=0x3a99]=_0x4624f5(0x232),_0x5ceda4[_0x5ceda4[_0x4624f5(0x3f7)]=0x3a9a]=_0x4624f5(0x3f7),_0x5ceda4[_0x5ceda4[_0x4624f5(0x41c)]=0x3a9b]=_0x4624f5(0x41c),_0x5ceda4[_0x5ceda4[_0x4624f5(0x268)]=0x3a9c]=_0x4624f5(0x268),_0x5ceda4[_0x5ceda4['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x4624f5(0x388),_0x5ceda4[_0x5ceda4[_0x4624f5(0x423)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5ceda4[_0x5ceda4[_0x4624f5(0x336)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5ceda4[_0x5ceda4['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x4624f5(0x29e),_0x5ceda4[_0x5ceda4['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5ceda4))(_0x5a1443||{});function _0x5b982b(_0x29df05){const _0x345493=_0x4624f5;var _0x45588c,_0x970d53;const _0x1f327b=(_0x45588c=_0x29df05[_0x345493(0x42a)])==null?void 0x0:_0x45588c[_0x345493(0x3bb)],_0x2c4028=((_0x970d53=_0x29df05[_0x345493(0x42a)])==null?void 0x0:_0x970d53[_0x345493(0x42b)])||0x0;return _0x1f327b===_0x50020c[_0x345493(0x416)][_0x345493(0x41d)]&&_0x2c4028>0x0;}function _0x2088f2(_0x2ce4d7){const _0x2abe2c=_0x4624f5;return _0x2ce4d7['functionsExecutedState']===_0x50020c[_0x2abe2c(0x3c4)][_0x2abe2c(0x44d)];}var _0x2ac3f3=Object['getOwnPropertyDescriptor'],_0x4d9d48=(_0x1a34ef,_0x341851,_0x3aa090,_0x50e4e7)=>{const _0x24d6a4=_0x4624f5;for(var _0x42d82f=_0x50e4e7>0x1?void 0x0:_0x50e4e7?_0x2ac3f3(_0x341851,_0x3aa090):_0x341851,_0x3e055d=_0x1a34ef[_0x24d6a4(0x1e5)]-0x1,_0x207251;_0x3e055d>=0x0;_0x3e055d--)(_0x207251=_0x1a34ef[_0x3e055d])&&(_0x42d82f=_0x207251(_0x42d82f)||_0x42d82f);return _0x42d82f;},_0x18dac4=(_0x2ce19b,_0x2476ef)=>(_0x245232,_0x10710c)=>_0x2476ef(_0x245232,_0x10710c,_0x2ce19b);const _0x3f8613='/universer-api/license/formula/limit/status',_0x446ba0=_0x4624f5(0x299),_0x14fb45=_0x4624f5(0x392);let _0x35cb3d=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x58b5e9,_0x2d38f9,_0x2dad49,_0x1610d,_0x12a469,_0x4a1ef0,_0x2b95d1){const _0xfff95b=_0x4624f5;super(),_0x47bfcc(this,_0xfff95b(0x44f),null),_0x47bfcc(this,_0xfff95b(0x320),0x0),_0x47bfcc(this,_0xfff95b(0x3c3),0x0),_0x47bfcc(this,_0xfff95b(0x3f3),[]),_0x47bfcc(this,_0xfff95b(0x389),0x0),(this[_0xfff95b(0x47b)]=_0x58b5e9,this[_0xfff95b(0x43a)]=_0x2d38f9,this[_0xfff95b(0x415)]=_0x2dad49,this[_0xfff95b(0x373)]=_0x1610d,this[_0xfff95b(0x485)]=_0x12a469,this[_0xfff95b(0x3a2)]=_0x4a1ef0,this[_0xfff95b(0x23c)]=_0x2b95d1,this[_0xfff95b(0x202)]());}[_0x4624f5(0x202)](){const _0x17e65a=_0x4624f5;this[_0x17e65a(0x30f)](this['_commandService'][_0x17e65a(0x355)]((_0x46da84,_0x3904e2)=>{const _0x548cd2=_0x17e65a;var _0x43c55a;if(_0x46da84['id']!==_0x50020c['SetFormulaCalculationStartMutation']['id'])return;const _0x40e99a=_0x46da84['params'];if(!this[_0x548cd2(0x24b)]((_0x43c55a=_0x40e99a[_0x548cd2(0x39c)])!=null?_0x43c55a:[]))return;if(!this[_0x548cd2(0x2af)]())throw this['_checkAndWaitForCalculationPermission'](_0x46da84,_0x3904e2),this[_0x548cd2(0x1ec)](),new _0x161ac6[(_0x548cd2(0x3e8))]();})),this[_0x17e65a(0x30f)](this[_0x17e65a(0x43a)][_0x17e65a(0x391)]((_0x11799f,_0x5c6828)=>{const _0x55ff92=_0x17e65a;if(_0x11799f['id']!==_0x50020c[_0x55ff92(0x1ce)]['id'])return;const _0x20c17e=_0x11799f[_0x55ff92(0x276)];if(_0x5b982b(_0x20c17e)){const _0x235f3a=_0x161ac6[_0x55ff92(0x497)]();this[_0x55ff92(0x3f3)]['push'](_0x235f3a),this[_0x55ff92(0x20d)](_0x235f3a);}else{if(_0x2088f2(_0x20c17e)&&this[_0x55ff92(0x3f3)][_0x55ff92(0x1e5)]>0x0){const _0x1f3da8=this[_0x55ff92(0x3f3)][_0x55ff92(0x35c)]();this[_0x55ff92(0x1d4)](_0x1f3da8);}}}));}[_0x4624f5(0x214)](){const _0x23ce92=_0x4624f5;super[_0x23ce92(0x214)](),this[_0x23ce92(0x3e9)](),this[_0x23ce92(0x3f3)]=[],this[_0x23ce92(0x3c3)]=0x0,this[_0x23ce92(0x320)]=0x0,this[_0x23ce92(0x389)]=0x0;}async[_0x4624f5(0x45f)](_0x101b15,_0x4c4502){const _0x69e3cd=_0x4624f5;for(let _0x1f82d6=0x0;_0x1f82d6<0x1e;_0x1f82d6++)try{if(await this[_0x69e3cd(0x459)](),this['_checkCalculationAvailable']()){this[_0x69e3cd(0x47a)](_0x101b15,_0x4c4502),this[_0x69e3cd(0x47b)][_0x69e3cd(0x27d)]({'content':this[_0x69e3cd(0x23c)]['t']('formula.calculation.started'),'type':_0x37af48[_0x69e3cd(0x366)][_0x69e3cd(0x292)]});return;}await new Promise(_0xc5a6ab=>{const _0x21d217=_0x69e3cd;this[_0x21d217(0x44f)]=window['setTimeout'](_0xc5a6ab,0x3e8);});}catch(_0x16db0a){this[_0x69e3cd(0x3a2)][_0x69e3cd(0x3ff)](_0x16db0a);}this[_0x69e3cd(0x47b)][_0x69e3cd(0x27d)]({'content':this[_0x69e3cd(0x23c)]['t']('formula.calculation.unable'),'type':_0x37af48[_0x69e3cd(0x366)][_0x69e3cd(0x368)]});}['_applyCommand'](_0x55cf87,_0x4620fa){const _0x531796=_0x4624f5;try{this[_0x531796(0x43a)][_0x531796(0x225)](_0x55cf87['id'],_0x55cf87[_0x531796(0x276)],_0x4620fa);}catch(_0x5b95c0){this[_0x531796(0x3a2)][_0x531796(0x3ff)](_0x5b95c0);}}[_0x4624f5(0x237)](_0x327078,_0x40d1be){const _0x43e82c=_0x4624f5;_0x40d1be<this[_0x43e82c(0x389)]||(this[_0x43e82c(0x389)]=_0x40d1be,this[_0x43e82c(0x320)]=Number[_0x43e82c(0x3ab)](_0x327078[_0x43e82c(0x2e7)]),this[_0x43e82c(0x3c3)]=Number['parseInt'](_0x327078['currentUsage']));}async[_0x4624f5(0x20d)](_0x4e5f43){const _0x4b7fe2=_0x4624f5;var _0x34fcc9,_0x5dd860;const _0x4a35a6=Date[_0x4b7fe2(0x480)]();try{const _0x3eaa02=((_0x34fcc9=this[_0x4b7fe2(0x415)]['getConfig'](_0x46104e['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x34fcc9[_0x4b7fe2(0x43f)])||_0x446ba0,_0x24ec91=(await this['_httpService']['post'](_0x3eaa02,{'body':JSON[_0x4b7fe2(0x3e3)]({'taskId':_0x4e5f43})}))['body'];if(((_0x5dd860=_0x24ec91['error'])==null?void 0x0:_0x5dd860[_0x4b7fe2(0x429)])!==_0x5a1443['OK'])return;this[_0x4b7fe2(0x237)](_0x24ec91[_0x4b7fe2(0x410)],_0x4a35a6);}catch(_0x29ceba){this['_logService'][_0x4b7fe2(0x3ff)](_0x29ceba);}}async[_0x4624f5(0x459)](_0x30eb24){const _0x23e231=_0x4624f5;var _0x376444,_0x3d42dc;const _0x1d2c48=Date['now']();try{const _0x348652=((_0x376444=this[_0x23e231(0x415)][_0x23e231(0x310)](_0x46104e[_0x23e231(0x33c)]))==null?void 0x0:_0x376444[_0x23e231(0x33b)])||_0x3f8613,_0x40014e=_0x30eb24?_0x348652+'?taskId='+encodeURIComponent(_0x30eb24):_0x348652,_0x1d04c7=(await this[_0x23e231(0x373)][_0x23e231(0x333)](_0x40014e))[_0x23e231(0x3d0)];if(((_0x3d42dc=_0x1d04c7[_0x23e231(0x3ff)])==null?void 0x0:_0x3d42dc['code'])!==_0x5a1443['OK'])return;this['_setFormulaLimitStatus'](_0x1d04c7[_0x23e231(0x410)],_0x1d2c48);}catch(_0x308174){this[_0x23e231(0x3a2)]['error'](_0x308174);}}async['_releaseCalculationLimit'](_0x51cea0){const _0x348fd5=_0x4624f5;var _0x3ad1c9,_0x2f7f0a;const _0x4295ff=Date['now']();try{const _0x150e09=((_0x3ad1c9=this['_configService'][_0x348fd5(0x310)](_0x46104e[_0x348fd5(0x33c)]))==null?void 0x0:_0x3ad1c9[_0x348fd5(0x1eb)])||_0x14fb45,_0x5381c1=(await this[_0x348fd5(0x373)]['post'](_0x150e09,{'body':JSON[_0x348fd5(0x3e3)]({'taskId':_0x51cea0})}))['body'];if(((_0x2f7f0a=_0x5381c1['error'])==null?void 0x0:_0x2f7f0a[_0x348fd5(0x429)])!==_0x5a1443['OK'])return;this['_setFormulaLimitStatus'](_0x5381c1[_0x348fd5(0x410)],_0x4295ff);}catch(_0x38cbc7){this[_0x348fd5(0x3a2)][_0x348fd5(0x3ff)](_0x38cbc7);}}[_0x4624f5(0x2af)](){const _0x4a6dae=_0x4624f5;return this[_0x4a6dae(0x320)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x4a6dae(0x3c3)]>0x0;}[_0x4624f5(0x3e9)](){const _0x317336=_0x4624f5;this[_0x317336(0x44f)]&&(clearTimeout(this[_0x317336(0x44f)]),this[_0x317336(0x44f)]=null);}[_0x4624f5(0x1ec)](){const _0x2f312c=_0x4624f5;this[_0x2f312c(0x47b)][_0x2f312c(0x27d)]({'content':this[_0x2f312c(0x23c)]['t']('formula.calculation.waiting'),'type':_0x37af48[_0x2f312c(0x366)][_0x2f312c(0x3ee)]});}[_0x4624f5(0x24b)](_0x16db6e){const _0x52a069=_0x4624f5;for(const _0x4780fc of _0x16db6e){const {unitId:_0x3a0bb8,sheetId:_0x5cf83c,range:_0x120e3d}=_0x4780fc,_0x930c3e=this[_0x52a069(0x485)][_0x52a069(0x3cb)](_0x3a0bb8);if(!_0x930c3e)continue;const _0x276474=_0x930c3e['getSheetBySheetId'](_0x5cf83c);if(!_0x276474)continue;const _0x1bbdad=_0x276474[_0x52a069(0x263)]();for(let _0x530494=_0x120e3d['startRow'];_0x530494<=_0x120e3d[_0x52a069(0x3fc)];_0x530494++)for(let _0x46a3e3=_0x120e3d[_0x52a069(0x2cd)];_0x46a3e3<=_0x120e3d[_0x52a069(0x3f9)];_0x46a3e3++){const _0x288878=_0x1bbdad[_0x52a069(0x3dc)](_0x530494,_0x46a3e3);if(_0x288878&&(_0x161ac6[_0x52a069(0x326)](_0x288878['f'])||_0x161ac6[_0x52a069(0x321)](_0x288878['si'])))return!0x0;}}return!0x1;}};_0x35cb3d=_0x4d9d48([_0x18dac4(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x4291c6[_0x4624f5(0x337)])),_0x18dac4(0x1,_0x161ac6[_0x4624f5(0x41a)]),_0x18dac4(0x2,_0x161ac6[_0x4624f5(0x343)]),_0x18dac4(0x3,_0x161ac6[_0x4624f5(0x2b0)](_0x4db2d9[_0x4624f5(0x30d)])),_0x18dac4(0x4,_0x161ac6[_0x4624f5(0x37d)]),_0x18dac4(0x5,_0x161ac6[_0x4624f5(0x210)]),_0x18dac4(0x6,_0x161ac6['Inject'](_0x161ac6[_0x4624f5(0x25a)]))],_0x35cb3d);var _0xfc29a9=Object[_0x4624f5(0x272)],_0x178809=(_0x2a0a4b,_0x5dbc4a,_0x47e7da,_0x3e573c)=>{const _0x4484a3=_0x4624f5;for(var _0x246796=_0x3e573c>0x1?void 0x0:_0x3e573c?_0xfc29a9(_0x5dbc4a,_0x47e7da):_0x5dbc4a,_0x289a78=_0x2a0a4b[_0x4484a3(0x1e5)]-0x1,_0x584463;_0x289a78>=0x0;_0x289a78--)(_0x584463=_0x2a0a4b[_0x289a78])&&(_0x246796=_0x584463(_0x246796)||_0x246796);return _0x246796;},_0x56963f=(_0x45f3f1,_0x44dc63)=>(_0x453083,_0x2acc20)=>_0x44dc63(_0x453083,_0x2acc20,_0x45f3f1);let _0x4673bd=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x546d27,_0x5603fb,_0x499217){const _0x763431=_0x4624f5;super(),_0x47bfcc(this,_0x763431(0x3ce),new Map()),_0x47bfcc(this,_0x763431(0x1fb),new Map()),_0x47bfcc(this,'_disabled',!0x1),(this[_0x763431(0x415)]=_0x546d27,this[_0x763431(0x2f2)]=_0x5603fb,this[_0x763431(0x25c)]=_0x499217);}[_0x4624f5(0x448)](){this['_disabled']=!0x0;}[_0x4624f5(0x35a)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x4624f5(0x214)](){const _0x3e2c85=_0x4624f5;this[_0x3e2c85(0x324)]()[_0x3e2c85(0x2e0)](()=>super[_0x3e2c85(0x214)]());}async['loadOfflineData'](_0x2694b9){const _0x1eb06f=_0x4624f5;return this['_disabled']?null:this['_localStorageService'][_0x1eb06f(0x3d6)](_0x46104e[_0x1eb06f(0x319)](_0x2694b9));}async[_0x4624f5(0x311)](_0x5315e4,_0x2ae806){const _0x49aa6d=_0x4624f5;return!!this[_0x49aa6d(0x2f2)][_0x49aa6d(0x332)](_0x5315e4,_0x2ae806);}['updateOfflineData'](_0xfd2cab,_0x561fea,_0x40a660,_0x2413ff){const _0x414ed8=_0x4624f5,_0x5a1758=this[_0x414ed8(0x25c)]['getCurrentRevOfUnit'](_0xfd2cab);this[_0x414ed8(0x3ce)]['set'](_0xfd2cab,{'unitID':_0xfd2cab,'type':_0x561fea,'awaitingChangeset':_0x40a660,'mutations':_0x2413ff,'rev':_0x5a1758}),this[_0x414ed8(0x1fb)][_0x414ed8(0x390)](_0xfd2cab)||this[_0x414ed8(0x456)](_0xfd2cab);}[_0x4624f5(0x456)](_0x3083e4){const _0x368b10=_0x4624f5,_0x198619=this[_0x368b10(0x300)]();_0x198619===0x0?this[_0x368b10(0x3b6)](_0x3083e4):this[_0x368b10(0x1fb)][_0x368b10(0x3d5)](_0x3083e4,setTimeout(()=>this[_0x368b10(0x3b6)](_0x3083e4),_0x198619));}['_getSaveTimeout'](){const _0x516b3e=_0x4624f5;var _0x43ba0a;return(_0x43ba0a=this[_0x516b3e(0x415)]['getConfig'](_0x46104e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x43ba0a:_0x46104e['LOCAL_CACHE_INTERVAL'];}[_0x4624f5(0x3b6)](_0x1c13ea){const _0x4decf5=_0x4624f5,_0x4dc18b=this[_0x4decf5(0x1fb)]['get'](_0x1c13ea);return _0x4dc18b!==void 0x0&&window[_0x4decf5(0x435)](_0x4dc18b),this[_0x4decf5(0x2f2)]['setItem'](_0x46104e['getLocalCacheKey'](_0x1c13ea),this[_0x4decf5(0x3ce)][_0x4decf5(0x333)](_0x1c13ea))[_0x4decf5(0x2e0)](()=>this[_0x4decf5(0x1fb)][_0x4decf5(0x40e)](_0x1c13ea));}async[_0x4624f5(0x324)](){const _0x12cfb7=_0x4624f5,_0x3e7908=[];this[_0x12cfb7(0x1fb)]['forEach']((_0x385f05,_0x4038a9)=>{const _0x5ca9ac=_0x12cfb7;window['clearTimeout'](_0x385f05),_0x3e7908[_0x5ca9ac(0x426)](this[_0x5ca9ac(0x3b6)](_0x4038a9)[_0x5ca9ac(0x2e0)](()=>{const _0x781732=_0x5ca9ac;this[_0x781732(0x1fb)][_0x781732(0x40e)](_0x4038a9);}));}),await Promise[_0x12cfb7(0x42e)](_0x3e7908);}};_0x4673bd=_0x178809([_0x56963f(0x0,_0x161ac6[_0x4624f5(0x343)]),_0x56963f(0x1,_0x161ac6[_0x4624f5(0x2ee)]),_0x56963f(0x2,_0x161ac6['Inject'](_0x48fdef['RevisionService']))],_0x4673bd);class _0x49e0db extends _0x161ac6['RxDisposable']{constructor(){const _0x17f0c9=_0x4624f5;super(),_0x47bfcc(this,_0x17f0c9(0x23e)),this[_0x17f0c9(0x23e)]=_0x66cc31[_0x17f0c9(0x38d)](window,_0x17f0c9(0x3a5))[_0x17f0c9(0x1ef)](_0x66cc31[_0x17f0c9(0x45d)](this[_0x17f0c9(0x289)]),_0x66cc31[_0x17f0c9(0x496)](0x1),_0x66cc31[_0x17f0c9(0x46b)](void 0x0));}[_0x4624f5(0x2c9)](_0x448091,_0x14555d,_0x5ce2c9=!0x1){const _0x10e6be=_0x4624f5,_0x14b27e=new URL(window[_0x10e6be(0x227)][_0x10e6be(0x33e)]);_0x14b27e['searchParams'][_0x10e6be(0x3d5)](_0x448091,_0x14555d),_0x5ce2c9?window['history'][_0x10e6be(0x445)]('','',_0x14b27e['toString']()):window['history']['pushState']('','',_0x14b27e[_0x10e6be(0x266)]());}[_0x4624f5(0x39d)](_0x85c3d8,_0x540f59=!0x1){const _0x3b5705=_0x4624f5,_0x3b51b3=new URL(window['location'][_0x3b5705(0x33e)]);_0x3b51b3[_0x3b5705(0x357)]['delete'](_0x85c3d8),_0x540f59?window[_0x3b5705(0x3c6)][_0x3b5705(0x445)]('','',_0x3b51b3['toString']()):window['history'][_0x3b5705(0x3fb)]('','',_0x3b51b3[_0x3b5705(0x266)]());}[_0x4624f5(0x3cd)](_0x1a6025){const _0x58f1aa=_0x4624f5;var _0x2bd162;return(_0x2bd162=new URL(window['location'][_0x58f1aa(0x33e)])[_0x58f1aa(0x357)][_0x58f1aa(0x333)](_0x1a6025))!=null?_0x2bd162:void 0x0;}}var _0x2cdf0a=Object[_0x4624f5(0x340)],_0x1a810a=Object['getOwnPropertyDescriptor'],_0x49289e=(_0x32a4ee,_0x2a34ac,_0x59f67e)=>_0x2a34ac in _0x32a4ee?_0x2cdf0a(_0x32a4ee,_0x2a34ac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59f67e}):_0x32a4ee[_0x2a34ac]=_0x59f67e,_0x4057e8=(_0x41faf3,_0x45e67e,_0x3447d1,_0x410bed)=>{const _0x11c49b=_0x4624f5;for(var _0x1fbf22=_0x410bed>0x1?void 0x0:_0x410bed?_0x1a810a(_0x45e67e,_0x3447d1):_0x45e67e,_0x4efb20=_0x41faf3[_0x11c49b(0x1e5)]-0x1,_0x4ed5ce;_0x4efb20>=0x0;_0x4efb20--)(_0x4ed5ce=_0x41faf3[_0x4efb20])&&(_0x1fbf22=_0x4ed5ce(_0x1fbf22)||_0x1fbf22);return _0x1fbf22;},_0x45387b=(_0x41761c,_0x1ee7b3)=>(_0x4d0bbc,_0xfe0718)=>_0x1ee7b3(_0x4d0bbc,_0xfe0718,_0x41761c),_0x5efc18=(_0x502a18,_0x32440e,_0x52311d)=>_0x49289e(_0x502a18,_0x32440e+'',_0x52311d);const _0x2e2247='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x46875a['UniverCollaborationClientUIPlugin']=class extends _0x161ac6[_0x4624f5(0x24a)]{constructor(_0x367569=_0xbf724b,_0x3f7d35,_0x11a6d0,_0x54f727){const _0x147342=_0x4624f5;super(),this[_0x147342(0x419)]=_0x367569,this[_0x147342(0x338)]=_0x3f7d35,this['_injector']=_0x11a6d0,this['_configService']=_0x54f727;const {..._0x5eeb18}=_0x161ac6[_0x147342(0x348)]({},_0xbf724b,this['_config']);this[_0x147342(0x415)][_0x147342(0x441)](_0x2f76a0,_0x5eeb18);}['onStarting'](){const _0x4a5d5d=_0x4624f5;this[_0x4a5d5d(0x325)](),this[_0x4a5d5d(0x40b)]();}[_0x4624f5(0x43d)](){const _0x4d862f=_0x4624f5;this[_0x4d862f(0x286)]();}[_0x4624f5(0x325)](){const _0x40b94f=_0x4624f5;var _0xc12153;const _0x4267be=[[_0x1846fc],[_0x35cb3d],[_0x16e8f2],[_0x6698d6],[_0xa7a54c],[_0x360498],[_0x5a3a5f,{'useClass':_0x49e0db}],[_0x4db2d9[_0x40b94f(0x3be)],{'useClass':_0x4db2d9[_0x40b94f(0x239)]}],[_0x46104e[_0x40b94f(0x49d)],{'useClass':_0x4673bd}],[_0x46875a[_0x40b94f(0x492)]],[_0x41f840],[_0x1a48d1],[_0x1508be],[_0x665a7a],[_0x46875a['CollaborationDataLoaderController']]];_0x161ac6[_0x40b94f(0x381)](this[_0x40b94f(0x298)],_0x161ac6['mergeOverrideWithDependencies'](_0x4267be,(_0xc12153=this['_config'])==null?void 0x0:_0xc12153[_0x40b94f(0x280)]));}[_0x4624f5(0x286)](){const _0x511404=_0x4624f5;this[_0x511404(0x30f)](this[_0x511404(0x338)]['registerRenderModule'](_0x161ac6[_0x511404(0x2d9)][_0x511404(0x23d)],[_0x47d0f4])),this[_0x511404(0x30f)](this['_renderManagerService']['registerRenderModule'](_0x161ac6[_0x511404(0x2d9)][_0x511404(0x28b)],[_0x2d665f]));}[_0x4624f5(0x40b)](){const _0x1aa9a8=_0x4624f5;_0x161ac6[_0x1aa9a8(0x301)](this[_0x1aa9a8(0x298)],[[_0x1508be],[_0x46875a[_0x1aa9a8(0x492)]],[_0x41f840],[_0x1a48d1],[_0x46875a[_0x1aa9a8(0x25f)]],[_0x35cb3d]]);}},_0x5efc18(_0x46875a['UniverCollaborationClientUIPlugin'],'pluginName',_0x2e2247),_0x46875a[_0x4624f5(0x3ae)]=_0x4057e8([_0x161ac6[_0x4624f5(0x48f)](_0x46104e[_0x4624f5(0x1db)]),_0x45387b(0x1,_0x1fade8['IRenderManagerService']),_0x45387b(0x2,_0x161ac6['Inject'](_0x161ac6[_0x4624f5(0x2c2)])),_0x45387b(0x3,_0x161ac6[_0x4624f5(0x343)])],_0x46875a[_0x4624f5(0x3ae)]);var _0x4c2125=Object['getOwnPropertyDescriptor'],_0x6768c0=(_0x27b955,_0x42dc63,_0x1c9e69,_0x567291)=>{const _0x20b807=_0x4624f5;for(var _0x80e7d9=_0x567291>0x1?void 0x0:_0x567291?_0x4c2125(_0x42dc63,_0x1c9e69):_0x42dc63,_0x347aeb=_0x27b955[_0x20b807(0x1e5)]-0x1,_0x435d90;_0x347aeb>=0x0;_0x347aeb--)(_0x435d90=_0x27b955[_0x347aeb])&&(_0x80e7d9=_0x435d90(_0x80e7d9)||_0x80e7d9);return _0x80e7d9;},_0x53b6af=(_0x3e492b,_0x57d939)=>(_0x3b8d27,_0x8b69c3)=>_0x57d939(_0x3b8d27,_0x8b69c3,_0x3e492b);_0x46875a[_0x4624f5(0x417)]=class extends _0x46104e[_0x4624f5(0x314)]{constructor(_0x184e66,_0x2bf2ad,_0x4d1552,_0x403921,_0x58e700){super(_0x184e66,_0x2bf2ad,_0x4d1552,_0x403921,_0x58e700);}async[_0x4624f5(0x408)](_0x4be928){const _0x637255=_0x4624f5,_0x1ffe02=await this[_0x637255(0x1d9)](),_0xb0ee1d=this['_createSocketURL'](_0x4be928,_0x1ffe02);return this[_0x637255(0x2db)](_0xb0ee1d);}[_0x4624f5(0x431)](_0x1cc26e,_0x18ee55){const _0x2144f5=_0x4624f5,_0x70f96c=typeof window>'u'?new URL(_0x1cc26e):new URL(_0x1cc26e,window['location']['origin']);_0x70f96c[_0x2144f5(0x357)][_0x2144f5(0x3d5)](_0x2144f5(0x2d2),_0x18ee55);const _0x157335=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x157335[_0x2144f5(0x333)](_0x2144f5(0x2da))&&_0x70f96c['searchParams'][_0x2144f5(0x3d5)](_0x2144f5(0x2da),_0x157335[_0x2144f5(0x333)](_0x2144f5(0x2da))),_0x70f96c[_0x2144f5(0x266)]();}async['_getSessionTicket'](){const _0x36f71d=_0x4624f5;var _0x37994d,_0x40a5c4,_0x554bc4;const _0x2102bc=this['_configService'][_0x36f71d(0x310)](_0x46104e[_0x36f71d(0x33c)]),_0x5c35b7=(_0x37994d=_0x2102bc==null?void 0x0:_0x2102bc[_0x36f71d(0x35f)])!=null?_0x37994d:_0x46104e[_0x36f71d(0x2a2)];return(_0x554bc4=(_0x40a5c4=(await this[_0x36f71d(0x373)]['get'](_0x5c35b7,{'headers':{'Content-Type':_0x36f71d(0x48b)}}))[_0x36f71d(0x3d0)])==null?void 0x0:_0x40a5c4['ticket'])!=null?_0x554bc4:'';}},_0x46875a[_0x4624f5(0x417)]=_0x6768c0([_0x53b6af(0x0,_0x161ac6[_0x4624f5(0x2b0)](_0x161ac6[_0x4624f5(0x2c2)])),_0x53b6af(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x4db2d9[_0x4624f5(0x30d)])),_0x53b6af(0x2,_0x161ac6[_0x4624f5(0x343)]),_0x53b6af(0x3,_0x161ac6[_0x4624f5(0x210)]),_0x53b6af(0x4,_0x48fdef['ISnapshotServerService'])],_0x46875a[_0x4624f5(0x417)]);var _0x1a0c68=Object[_0x4624f5(0x272)],_0x18e6da=(_0x5e0b66,_0x30c15b,_0x2feb64,_0x105b05)=>{const _0x146a5e=_0x4624f5;for(var _0x2d0d3b=_0x105b05>0x1?void 0x0:_0x105b05?_0x1a0c68(_0x30c15b,_0x2feb64):_0x30c15b,_0x4afebb=_0x5e0b66[_0x146a5e(0x1e5)]-0x1,_0x371b2d;_0x4afebb>=0x0;_0x4afebb--)(_0x371b2d=_0x5e0b66[_0x4afebb])&&(_0x2d0d3b=_0x371b2d(_0x2d0d3b)||_0x2d0d3b);return _0x2d0d3b;},_0x1c64a7=(_0x8106f,_0x486c9e)=>(_0x164830,_0x57913a)=>_0x486c9e(_0x164830,_0x57913a,_0x8106f);_0x46875a[_0x4624f5(0x3a4)]=class extends _0x161ac6[_0x4624f5(0x482)]{constructor(_0x50c1b9,_0x8c480e,_0x31eab8){const _0x2c81ee=_0x4624f5;super(),this[_0x2c81ee(0x34a)]=_0x50c1b9,this['_httpService']=_0x8c480e,this[_0x2c81ee(0x415)]=_0x31eab8;}async[_0x4624f5(0x294)](_0x59dece,_0x49782c,_0xde71e4,..._0x53bdf0){const _0x3fce4d=_0x4624f5;var _0x34e900,_0x5369d0,_0x5b9f56,_0x271a72;const _0x1f2a18=this[_0x3fce4d(0x34a)][_0x3fce4d(0x45a)]();if(!_0x1f2a18)throw new Error(_0x3fce4d(0x247));const _0x68dcb2=((_0x34e900=this[_0x3fce4d(0x415)][_0x3fce4d(0x310)](_0x46104e[_0x3fce4d(0x469)]))!=null?_0x34e900:_0x46104e[_0x3fce4d(0x26d)])+'/'+_0x59dece+_0x3fce4d(0x490)+_0x49782c,_0x138dcc=new URL(window[_0x3fce4d(0x227)]['href']),_0x4a9470={'scriptId':_0x59dece,'runId':(_0x5369d0=_0x138dcc[_0x3fce4d(0x357)][_0x3fce4d(0x333)](_0x3fce4d(0x2da)))!=null?_0x5369d0:'','function':_0x49782c,'unitId':_0x1f2a18['getUnitId'](),'argsOfFunction':JSON[_0x3fce4d(0x3e3)](_0x53bdf0),'invokeId':(_0x5b9f56=_0xde71e4['invokeId'])!=null?_0x5b9f56:'','executionId':(_0x271a72=_0xde71e4[_0x3fce4d(0x2ec)])!=null?_0x271a72:''};try{const _0x301675=await this['_httpService'][_0x3fce4d(0x376)](_0x68dcb2,{'body':_0x4a9470});return _0x301675[_0x3fce4d(0x3d0)][_0x3fce4d(0x3ff)]&&_0x301675[_0x3fce4d(0x3d0)][_0x3fce4d(0x3ff)]['code']!==_0x5a1443['OK']?_0x3fce4d(0x443):_0x301675[_0x3fce4d(0x3d0)][_0x3fce4d(0x233)];}catch{return _0x3fce4d(0x443);}}},_0x46875a['RemoteUniscriptService']=_0x18e6da([_0x1c64a7(0x0,_0x161ac6[_0x4624f5(0x37d)]),_0x1c64a7(0x1,_0x161ac6[_0x4624f5(0x2b0)](_0x4db2d9[_0x4624f5(0x30d)])),_0x1c64a7(0x2,_0x161ac6['IConfigService'])],_0x46875a[_0x4624f5(0x3a4)]);const _0x44039e=0x7530,_0x21dbfb='ACTIVE_UNIT_EVENT_CHANNEL';class _0xbd79a9 extends _0x161ac6['Disposable']{constructor(){const _0x4aed3f=_0x4624f5;super(),_0x47bfcc(this,_0x4aed3f(0x432),_0x161ac6[_0x4aed3f(0x497)]()),_0x47bfcc(this,_0x4aed3f(0x24f),new Set()),_0x47bfcc(this,'_unitOnClients',new Map()),_0x47bfcc(this,_0x4aed3f(0x40c),null),_0x47bfcc(this,'_clearOtherTimers',new Map()),_0x47bfcc(this,_0x4aed3f(0x29a),new Map()),this[_0x4aed3f(0x48d)]();}[_0x4624f5(0x214)](){const _0x591f57=_0x4624f5;super[_0x591f57(0x214)](),this[_0x591f57(0x1da)][_0x591f57(0x265)]((_0x275f63,_0x4b4519)=>this['_removeClearOtherTimer'](_0x4b4519)),this[_0x591f57(0x40c)]&&window[_0x591f57(0x2e3)](this[_0x591f57(0x40c)]);}[_0x4624f5(0x317)](_0xe4de9a){const _0x58534d=_0x4624f5;return this[_0x58534d(0x2c4)](_0xe4de9a)[_0x58534d(0x1ef)](_0x66cc31['distinctUntilChanged']());}[_0x4624f5(0x21c)](_0x5e63ad){const _0x5f20c8=_0x4624f5;this['_selfUnitIDs'][_0x5f20c8(0x36e)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5f20c8(0x24f)]['add'](_0x5e63ad),this[_0x5f20c8(0x409)]({'type':0x0,'memberID':this[_0x5f20c8(0x432)],'unitIDs':[_0x5e63ad],'isForwarded':!0x1});}[_0x4624f5(0x353)](_0x5ea865){const _0x64953a=_0x4624f5;this[_0x64953a(0x24f)]['delete'](_0x5ea865),this[_0x64953a(0x24f)][_0x64953a(0x36e)]===0x0&&this[_0x64953a(0x40c)]&&window[_0x64953a(0x2e3)](this[_0x64953a(0x40c)]);}[_0x4624f5(0x48d)](){const _0x149284=_0x4624f5;this[_0x149284(0x30f)](_0x161ac6[_0x149284(0x2b9)](_0x66cc31[_0x149284(0x38d)](window,_0x149284(0x30a))[_0x149284(0x26b)](_0x281bc7=>{const _0x2df8c1=_0x149284;if(_0x281bc7[_0x2df8c1(0x220)]!==_0x21dbfb||!_0x281bc7[_0x2df8c1(0x2b1)])return;const _0x929690=JSON[_0x2df8c1(0x34e)](_0x281bc7['newValue']);this[_0x2df8c1(0x2a4)](_0x929690);}))),window[_0x149284(0x283)]('unload',()=>this[_0x149284(0x409)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x149284(0x24f)])}));}['_handleEvent'](_0x5df6d0){const _0x183c67=_0x4624f5;switch(_0x5df6d0[_0x183c67(0x35b)]){case 0x0:this[_0x183c67(0x1d6)](_0x5df6d0);break;case 0x1:this[_0x183c67(0x329)](_0x5df6d0);break;case 0x2:this[_0x183c67(0x3cf)](_0x5df6d0);break;}}[_0x4624f5(0x1d6)](_0x4973dc){const _0x546d0b=_0x4624f5,{unitIDs:_0x56e80b,memberID:_0x5b6ff2,isForwarded:_0x5ead33}=_0x4973dc;_0x56e80b['forEach'](_0x1d3542=>{const _0x4e05a1=_0x1a8e;if(!_0x5ead33&&this[_0x4e05a1(0x2e1)][_0x4e05a1(0x390)](_0x1d3542)&&this[_0x4e05a1(0x2c4)](_0x1d3542)[_0x4e05a1(0x3c9)](_0x46104e['UnitStatus'][_0x4e05a1(0x402)]),!this[_0x4e05a1(0x2e1)][_0x4e05a1(0x390)](_0x1d3542)||!this['_unitOnClients']['get'](_0x1d3542)[_0x4e05a1(0x390)](_0x5b6ff2)){const _0x291a9c=this['_unitOnClients'][_0x4e05a1(0x333)](_0x1d3542)||new Set();_0x291a9c[_0x4e05a1(0x455)](_0x5b6ff2),this[_0x4e05a1(0x2e1)][_0x4e05a1(0x3d5)](_0x1d3542,_0x291a9c),this[_0x4e05a1(0x48c)](_0x5b6ff2);}}),_0x5ead33||this['_send']({'type':0x0,'memberID':this[_0x546d0b(0x432)],'unitIDs':[...this[_0x546d0b(0x24f)]],'isForwarded':!0x0});}[_0x4624f5(0x48c)](_0x2b18c3){const _0x20f15d=_0x4624f5;this[_0x20f15d(0x380)](_0x2b18c3);const _0x3bc30d=window[_0x20f15d(0x1e6)](()=>{const _0xc6e11d=_0x20f15d;this['_unitOnClients'][_0xc6e11d(0x265)](_0x10676d=>{const _0x472708=_0xc6e11d;_0x10676d[_0x472708(0x40e)](_0x2b18c3);});},_0x44039e*0x2);this[_0x20f15d(0x1da)][_0x20f15d(0x3d5)](_0x2b18c3,_0x3bc30d);}[_0x4624f5(0x380)](_0x203423){const _0x125d12=_0x4624f5;if(this[_0x125d12(0x1da)][_0x125d12(0x390)](_0x203423)){const _0x2e9405=this[_0x125d12(0x1da)]['get'](_0x203423);_0x2e9405&&window['clearTimeout'](_0x2e9405),this[_0x125d12(0x1da)][_0x125d12(0x3d5)](_0x203423,null);}}[_0x4624f5(0x329)](_0xbbd737){const _0x24e1bd=_0x4624f5,{memberID:_0x4f2029,unitIDs:_0x430e1a}=_0xbbd737;_0x430e1a[_0x24e1bd(0x265)](_0x55b81e=>{const _0x909a1=_0x24e1bd;var _0x16a7c6;const _0xbb3476=this['_unitOnClients'][_0x909a1(0x333)](_0x55b81e);_0xbb3476&&(_0xbb3476['delete'](_0x4f2029),(_0x16a7c6=this['_ensureSubject'](_0x55b81e))==null||_0x16a7c6[_0x909a1(0x3c9)](_0xbb3476[_0x909a1(0x36e)]===0x0?_0x46104e[_0x909a1(0x2d3)][_0x909a1(0x1cb)]:_0x46104e[_0x909a1(0x2d3)][_0x909a1(0x402)]));}),this[_0x24e1bd(0x380)](_0x4f2029);}[_0x4624f5(0x3cf)](_0x2f8ed6){const _0x3921ff=_0x4624f5;this['_scheduleClearOtherTimer'](_0x2f8ed6[_0x3921ff(0x3de)]);}[_0x4624f5(0x409)](_0x47037d){localStorage['setItem'](_0x21dbfb,JSON['stringify'](_0x47037d));}[_0x4624f5(0x2d4)](){const _0x2a0d68=_0x4624f5;this['_heartbeatTimer']=window[_0x2a0d68(0x3ec)](()=>{const _0x4180d1=_0x2a0d68;this[_0x4180d1(0x409)]({'type':0x2,'memberID':this[_0x4180d1(0x432)]});},_0x44039e);}[_0x4624f5(0x2c4)](_0x3966ae){const _0x587623=_0x4624f5;return this['_unitStatus']['has'](_0x3966ae)||this[_0x587623(0x29a)]['set'](_0x3966ae,new _0x66cc31[(_0x587623(0x41e))](_0x46104e[_0x587623(0x2d3)][_0x587623(0x1cb)])),this[_0x587623(0x29a)][_0x587623(0x333)](_0x3966ae);}}_0x46875a['IURLService']=_0x5a3a5f,_0x46875a[_0x4624f5(0x359)]=_0x5c4987,_0x46875a['WebBrowserSingleActiveUnitService']=_0xbd79a9,_0x46875a[_0x4624f5(0x252)]=_0x49e0db,Object[_0x4624f5(0x340)](_0x46875a,Symbol[_0x4624f5(0x21b)],{'value':_0x4624f5(0x273)});}));function _0x1a8e(_0x56b0b5,_0xcea906){const _0x14a715=_0x14a7();return _0x1a8e=function(_0x1a8e47,_0x2f648c){_0x1a8e47=_0x1a8e47-0x1cb;let _0xf27d37=_0x14a715[_0x1a8e47];return _0xf27d37;},_0x1a8e(_0x56b0b5,_0xcea906);}function _0x14a7(){const _0x19ae58=['MOBILE_VERIFY_CODE_MISMATCH','CollaborationEvent','USER_NOT_FOUND','drawWith','getTypeOfUnitAdded$','_saveCache','PAYMENT_CHANNEL_NOT_SUPPORT','_collabCursorState$','UniverDesign','none','stage','replace','_notificationService','ISocketService','_transformUndoRedoStack','_themeService','_transformHistoryAndStateStack','transformRemoteChangeset','_currentUsage','FormulaExecutedStateType','textRanges','history','DocSelectionManagerService','UniverProCollaborationClient','next','YUUMI_RATE_OVER_LIMIT','getUnit','createElement','getParam','_cachedData','_handleHeartbeatEvent','body','range','getMemberID','_docTransformStateCacheService','_docTransformIMECacheService','set','getItem','transformMutation','getColorFromTheme','Shape','_hover','getViewport','getValue','AWAITING','memberID','_getSheetObject','setShapeProps','fillText','_entities','stringify','debounce','row','ENTITLE_CHAT_LIMIT_EXCEED','_status$','CanceledError','_clearPolling','_cursor','registerComponent','setInterval','cursorInfo$','Loading','12848760UgXbap','DocStateChangeManagerService','_setupBeforeClosingHandler','createInstance','_taskIds','_labelPosition','_syncEditingCollabCursorService','PENDING','REDEMPTION_CODE_INACTIVE','height','endColumn','event$','pushState','endRow','useDependency','RegularPolygon','error','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','@univerjs-pro/collaboration-client','OTHER_CLIENTS_EDITING','CLOSE_ROOM','_updateSubUnitFromURLParams','debounceTime','COLORS','_drawAnchor','createSocket','_send','defIds','_initDependencies','_heartbeatTimer','_initResize','delete','AUTHORIZE_CODE_ILLEGAL','limitInfo','BuiltInUIPart','_getMergeRange','_initEvent','div','_configService','FormulaExecuteStageType','BrowserCollaborationSocketService','send','_config','ICommandService','subUnitId','REDEMPTION_CODE_FULLY_REDEEMED','START_CALCULATION','BehaviorSubject','Optional','handleInsertRow','CollaborationUIEventService','collabCursorState$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_imageIoService','376572jdieHg','push','FromArray','ONLINE','code','stageInfo','totalFormulasToCalculate','fillStyle','hovered','all','values','handleDeleteRangeMoveUp','_createSocketURL','_id','name','Subject','clearTimeout','collaboration.closeRoom','1em','filter','CURRENT_STATUS_CANNOT_OPERATE','_commandService','requireSession','entityInit$','onRendered','OffLineIcon','startFormulaLimitUrl','throttleTime','setConfig','OFFLINE','Failed','exports','replaceState','_backgroundColor','getSheetId','disableLocalCache','_collaborationUIEventService','split','_document','TEXT_RANGE_LAYER_INDEX','SUCCESS','map','_pollingInterval','closePath','UNDEFINED','_color','off-line-icon_clip0_910_343','_anchor','add','_scheduleSaving','fillRule','onPointerMove$','_getFormulaLimitStatus','getFocusedUnit','setAlpha','serializeRangeWithSheet','takeUntil','off-line-icon','_checkAndWaitForCalculationPermission','Tools','path','isArray','Unknown\x20user','UniverEngineRender','DocCollaborationEntity','toRgbString','lineTo','rxjs/operators','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DisposableCollection','mapTo','getCollabEntity$','session.connection-failed','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','switchMap','unitId','white','current','PY_RUNTIME_SCRIPT_ERROR','reconnect','RECT','column','Workbook','measureText','roomMembers$','_applyCommand','_messageService','saveTaskMap','collab-client.tooltip.reconnect','NOT_FOUND','collabStatus.notCollab','now','getSheetBySheetId','Disposable','getVpScrollXYInfoByPosToVp','NOT_COLLAB','_univerInstanceService','univerjs-icon\x20univerjs-icon-','complete','_hideTimer','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationDataLoaderController]','application/json','_scheduleClearOtherTimer','_init','_drawRectRange','DependentOn','/run/','getCurrentSelections','DesktopCollaborationStatusDisplayController','react','m1Prime','attrs','shareReplay','generateRandomId','onPointerLeave$','CONFLICT','skeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addObject','ILocalCacheService','displayName','collabStatus.offline','SNAPSHOT_HAS_BEEN_REMOVED','redoState','black','NO_OTHER_CLIENTS_EDITING','subunit','_onRefRangeChange','SetFormulaCalculationNotificationMutation','YUUMI_ASYNCIO_CANCELLED','UNAUTHENTICATED','collaboration.single-unit.warning','amd','onPointerEnter$','_releaseCalculationLimit','IImageIoService','_handleJoinEvent','SetTextSelectionsOperation','find','_getSessionTicket','_clearOtherTimers','UniverCollaborationClientPlugin','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','_toggleOffline','ENTITLE_DUP_SUBSCRIPTION','_docTransformSelectionsService','@univerjs/design','_dataLoaderService','143104dpbOhB','addHandlerCallback','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','length','setTimeout','LICENSE_MAX_UNITS_EXCEEDED','UniverRpc','ranges','UniverEngineFormula','releaseFormulaLimitUrl','_showGuardMessage','getRenderById','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','pipe','SOCKET_FAILED_RETRY','YUUMI_SUBSCRIPTION_NOT_FOUND','unshift','triggerDblclick','activeSheet$','flatMap','collabStatus.conflict','UniverProCollaborationClientUi','purple.300','collaboration-client.offline-data-not-saved','DataLoaderService','_saveTaskMap','getAncestorScale','_lastPointer','_docClipboardService','react/jsx-runtime','ERROR_AGAIN','fill','_initCommandInterceptor','getActiveSheet','14590CWxtwa','1812eVxkPS','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','setStateCache','http://www.w3.org/2000/svg','selections','DeleteRangeMoveUpCommandId','UniverSheetsUi','cursorInfo','_startCalculationLimit','undoState','LICENSE_EXPORT_SIZE_EXCEEDED','ILogService','collab-rect-range-','_docSkeleton','#FFF','dispose','asObservable','_refRangeService','USERS_LEAVE','_cursorInfo$','SYNCED','UniverDocs','toStringTag','editingUnit','_initEntityListener','@univerjs/sheets-ui','APPLY_DUPLICATED','key','sessionStatus$','MemberService','UniverProCollaboration','UniverSheets','executeCommand','_handleHover','location','IUIPartsService','INVITE_CODE_HAS_BEEN_UES','session.collaboration-timeout','handleDeleteRangeMoveLeft','_removeCollabCursors','APPLY_REJECT','_docStateChangeManagerService','UniverUi','width','mask','REDEMPTION_INVALID_CODE','result','IBeforeCloseService','YUUMI_NO_CUBOID_FOR_QUESTION','makeDirty','_setFormulaLimitStatus','jiqing.500','WebSocketService','_memberService','bottom','_localeService','UNIVER_DOC','urlChange$','CollaborationController','RxDisposable','Warning','DocSkeletonManagerService','from','SetWorksheetActivateCommand','isTransformMutationsWithChangesetSuccess','clipPath','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_IMPORT_SIZE_EXCEEDED','_draw','Plugin','_hasFormulaInDirtyRanges','_range','_toggleOnline','handleInsertCol','_selfUnitIDs','_eventUnsubscribe','max','WebURLService','1562286ftGtly','ITransformService','registerRefRange','_drawTextRange','YUUMI_URL_COL_OUT_OF_RANGE','collabStatus.fetchMiss','INVALID_ARGUMENT','LocaleService','doc.mutation.rich-text-editing','_revisionService','getOffsetConfig','startsWith','CollaborationDataLoaderController','_colorIndex','UPDATE_CURSOR','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getCellMatrix','_collabSessionService','forEach','toString','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_CODE_NOT_STARTED','deserializeRangeWithSheet','CollaborationSessionService','subscribe','syncEditingCollabCursor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','RemoveRowCommandId','IDocClipboardService','9926210SjavBu','currentTheme$','getOwnPropertyDescriptor','Module','_colorAssignService','use','params','MOBILE_HAS_BEEN_BOUND','SetSelectionsOperation','InsertRangeMoveDownCommandId','_assignedColors','substring','_transformService','show','_urlService','_online','override','isEditing','createIdentifier','addEventListener','xlink:href','unit','_registerRenderDependencies','with','@univerjs-pro/collaboration','dispose$','6243093RvHIRZ','UNIVER_SHEET','onMouseMove','forwardRef','url(#$1','@univerjs/core','SessionStatus','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Success','getColor','runOnServer','hide','_setupSubUnitSync','transformSelections','_injector','/universer-api/license/formula/limit/start','_unitStatus','DOC_RANGE_TYPE','_entityInit$','InsertRangeMoveRightCommandId','DATA_SOURCE_TOO_LARGE','saveImage','_hovered','on-line-icon_clip0_910_349','DEFAULT_WS_SESSION_TICKET_URL','INVITE_CODE_REQUIRED','_handleEvent','PERMISSION_DENIED','entries','useRef','currentColor','ColorKit','arc','_uiPartsService','LOGIN_FAILED','YUUMI_ALL_TABLES_IS_INVALID','getDocRanges','_checkCalculationAvailable','Inject','newValue','init','_refreshCollabCursors','COMPLETION_FINISHED','@univerjs/drawing','SOCKET_FAILED','assign','replaceDocRanges','toDisposable','assignAColorForMemberID','transformMutationsWithChangeset','getCurrentUnitForType','VIEW_MAIN','INotificationService','sheetId','_collaborationController','WECHAT_HAS_BEEN_BOUND','Injector','getCollabCursors$','_ensureSubject','_updateLocalCursor','_updateURLWithCurrentState','_startDocCollabCursor','_collabCursorController','setParam','collaboration-client-ui.config','url(#off-line-icon_clip0_910_343)','red.300','startColumn','JOIN_ROOM_FAILED','jsx','NodePositionConvertToRectRange','TEXT','sessionTicket','UnitStatus','_scheduleHeartbeat','collabStatus.syncing','YUUMI_UNABLE_LOAD_URL','AWAITING_WITH_PENDING','deepClone','UniverInstanceType','runId','_doCreateSocket','addObjects','status$','_onCursorDelete','APPLY_PERMISSION_DENIED','then','_unitOnClients','getCurrent','clearInterval','YUUMI_CONNECTOR_URL_NOT_FOUND','@univerjs/network','CollaborationStatus','maxFormulaLimit','startRow','unitID','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_docSyncEditingCollabCursorService','executionId','CONNECTOR_DATA_TOO_LARGE','ILocalStorageService','loadUnit','combineLatest','SNAPSHOT_INVALID_SNAPSHOT','_localStorageService','_scene','getTypeOfUnitDisposed$','_beforeCloseService','_textBubble','rgba(255,\x20255,\x20255,\x200.01)','transformByState','ENTITLE_REPORT_LIMIT_EXCEED','docStateChange$','INVITE_CODE_ALREADY_BOUND','color','getRelativeToViewportCoord','roomMembers','defs','_getSaveTimeout','touchDependencies','getUndoRedoMutationParamsCache','engine','restore','Vector2','string','transformStateCache','TOO_MANY_REQUESTS','source','storage','getUnitId','RemoveColCommandId','HTTPService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','disposeWithMe','getConfig','saveOfflineData','fromEventSubject','INTERNAL_ERROR','CollaborationSocketService','_onCursorUpdate','collabStatus.synced','getUnitStatus$','Tooltip','getLocalCacheKey','rxjs','findNodePositionByCharIndex','actions','handleIRemoveCol','round','ThemeService','_maxFormulaLimit','isFormulaId','_cursors','@univerjs/engine-formula','exhaustSavingTask','_registerDependencies','isFormulaString','eventID','_getScale','_handleLeaveEvent','ENSURE_SNAPSHOT_EXECUTION','DocIMEInputManagerService','UniverDrawing','text','isTransformMutationFailure','tag','currentSkeleton$','backgroundColor','setItem','get','CollaborationUIEventId','runRefRangeMutations','REDEMPTION_CODE_HAS_BEEN_CREATED','IMessageService','_renderManagerService','permission.title','handleIRemoveRow','getformulaLimitStatusUrl','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initStatusListener','href','_name','defineProperty','getSkeleton','SUBMIT_CHANGESET_TIMEOUT','IConfigService','_session','data','_localCacheService','LICENSE_DISTRO_REJECTED','merge','OnLineIcon','_instanceService','_cursorShapes','children','@univerjs/docs-ui','parse','MoveRangeCommandId','0\x200\x2016\x2016','_startSheetCollabCursor','useCallback','disposeUnit','includes','beforeCommandExecuted','imageSourceType','searchParams','trim','SheetCollabCursorShape','enableLocalCache','type','shift','mutations','idSuffix','wsSessionTicketUrl','@univerjs/sheets','EffectRefRangId','...','_getAnchorBounding','ALREADY_EXISTS','APPLY_REVISION_CONFILICT','MessageType','CommandType','Error','ENTITLE_NEED_BILLING_ADDRESS','@univerjs/engine-render','NodePositionConvertToCursor','collab-text-range-','_initCommandExecutedListener','size','onTransformChange$','connectInjector','font','RefRangeService','_httpService','Rect','EMAIL_VERIFY_CODE_MISMATCH','post','_anchorDot','addClipboardHook','handleInsertRangeMoveDown','TRANSFORM_CHANGE_OBSERVABLE_TYPE','save','subscribeEvent','IUniverInstanceService','isActive','InsertRowCommandId','_removeClearOtherTimer','registerDependencies','React','IRenderManagerService','_initStatusComponent','ENTITLE_INSUFFICIENT_QUOTA','getSheetObject','_shapes','REDEMPTION_USER_NOT_ELIGIBLE','_lastResponseTimestamp','min','resize','_context','fromEvent','getRangePointData','whenReady','has','onCommandExecuted','/universer-api/license/formula/limit/done','_sheetSkeletonManagerService','_transformPreviousActiveRange','_docSkeletonManagerService','svg','m2Prime','_updateCollabCursors','_render','SheetSkeletonManagerService','APPLY_NON_SEQUENTIAL_REVISION','dirtyRanges','removeParam','getStateCache','colorChannel1','green.600','top','_logService','M0\x200H16V16H0z','RemoteUniscriptService','popstate','getActiveRange','FETCH_MISS','_roomMembers$','IRemoteInstanceService','unsubscribe','parseInt','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverDocsUi','UniverCollaborationClientUIPlugin','UniverIcon','4VIbCTe'];_0x14a7=function(){return _0x19ae58;};return _0x14a7();}
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
|
|
11
|
+
(function(_0x2fc59f,_0x7bff46){var _0x17babd=_0x51c7,_0x269fe5=_0x2fc59f();while(!![]){try{var _0x154c94=-parseInt(_0x17babd(0xd9))/0x1*(-parseInt(_0x17babd(0xe7))/0x2)+parseInt(_0x17babd(0xe0))/0x3*(-parseInt(_0x17babd(0xd4))/0x4)+parseInt(_0x17babd(0xd8))/0x5+parseInt(_0x17babd(0xd7))/0x6+parseInt(_0x17babd(0xd3))/0x7*(-parseInt(_0x17babd(0xe5))/0x8)+-parseInt(_0x17babd(0xdd))/0x9*(parseInt(_0x17babd(0xd6))/0xa)+-parseInt(_0x17babd(0xe3))/0xb*(parseInt(_0x17babd(0xdb))/0xc);if(_0x154c94===_0x7bff46)break;else _0x269fe5['push'](_0x269fe5['shift']());}catch(_0x1a87fa){_0x269fe5['push'](_0x269fe5['shift']());}}}(_0x5cda,0x8f1c2),function(_0x2b76b4,_0x14c58c){var _0x3107a4=_0x51c7;typeof exports==_0x3107a4(0xe4)&&typeof module<'u'?_0x14c58c(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x3107a4(0xe9)&&define[_0x3107a4(0xd5)]?define([_0x3107a4(0xe6),_0x3107a4(0xde)],_0x14c58c):(_0x2b76b4=typeof globalThis<'u'?globalThis:_0x2b76b4||self,_0x14c58c(_0x2b76b4[_0x3107a4(0xdf)],_0x2b76b4['UniverCoreFacade']));}(this,function(_0x5840f5,_0x3e02cf){'use strict';var _0x20e9ed=_0x51c7;class _0x3a4cc8 extends _0x3e02cf[_0x20e9ed(0xe2)]{[_0x20e9ed(0xdc)](_0x4e9481,_0x3c4314,..._0x508d3c){var _0x2667b8=_0x20e9ed;return this[_0x2667b8(0xe8)]['get'](_0x5840f5[_0x2667b8(0xe1)])['runOnServer'](_0x4e9481,_0x3c4314,{},..._0x508d3c);}}_0x3e02cf['FUniver'][_0x20e9ed(0xda)](_0x3a4cc8);}));function _0x51c7(_0x96f382,_0x40b6ee){var _0x5cdad6=_0x5cda();return _0x51c7=function(_0x51c75e,_0x3d3fdf){_0x51c75e=_0x51c75e-0xd3;var _0x398235=_0x5cdad6[_0x51c75e];return _0x398235;},_0x51c7(_0x96f382,_0x40b6ee);}function _0x5cda(){var _0x4e529c=['2324GRWHmz','amd','10EiKCDT','4822764XtbdEO','4652530flDroF','23cwrGzl','extend','36ptFXjV','runOnServer','1661211nKYHqZ','@univerjs/core/facade','UniverProCollaborationClientUi','4914KTDHZk','RemoteUniscriptService','FUniver','3665629hyBDrY','object','24312IRucUX','@univerjs-pro/collaboration-client-ui','87750LRLeqz','_injector','function','49KWnUSj'];_0x5cda=function(){return _0x4e529c;};return _0x5cda();}
|
|
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"})}));
|