@univerjs/preset-sheets-collaboration 0.12.4-insiders.20251212-6c41730 → 0.13.0-insiders.20251215-64041bb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- (function(_0x15a6f1,_0x5383a0){var _0x2bae91=_0x479e,_0x183171=_0x15a6f1();while(!![]){try{var _0x28be94=-parseInt(_0x2bae91(0x39b))/0x1*(parseInt(_0x2bae91(0x418))/0x2)+parseInt(_0x2bae91(0x242))/0x3+parseInt(_0x2bae91(0x3bf))/0x4*(-parseInt(_0x2bae91(0x377))/0x5)+parseInt(_0x2bae91(0x323))/0x6*(parseInt(_0x2bae91(0x24d))/0x7)+-parseInt(_0x2bae91(0x113))/0x8*(-parseInt(_0x2bae91(0x2b1))/0x9)+-parseInt(_0x2bae91(0x43e))/0xa*(-parseInt(_0x2bae91(0x236))/0xb)+parseInt(_0x2bae91(0x1ae))/0xc*(-parseInt(_0x2bae91(0x134))/0xd);if(_0x28be94===_0x5383a0)break;else _0x183171['push'](_0x183171['shift']());}catch(_0x352915){_0x183171['push'](_0x183171['shift']());}}}(_0x119d,0x55a31),function(_0x2ae8f5,_0x49a433){var _0x38867a=_0x479e;typeof exports=='object'&&typeof module<'u'?_0x49a433(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==_0x38867a(0x198)&&define[_0x38867a(0x393)]?define([_0x38867a(0x18f),_0x38867a(0x441),'@univerjs/core',_0x38867a(0x386),_0x38867a(0x2f0),_0x38867a(0x45d),_0x38867a(0x137),_0x38867a(0x28f),'@univerjs/network',_0x38867a(0x1c7),_0x38867a(0x2ac)],_0x49a433):(_0x2ae8f5=typeof globalThis<'u'?globalThis:_0x2ae8f5||self,_0x49a433(_0x2ae8f5[_0x38867a(0x356)]={},_0x2ae8f5['UniverProCollaboration'],_0x2ae8f5['UniverCore'],_0x2ae8f5[_0x38867a(0x293)],_0x2ae8f5['UniverSheets'],_0x2ae8f5[_0x38867a(0x45d)],_0x2ae8f5[_0x38867a(0x413)],_0x2ae8f5[_0x38867a(0x45d)][_0x38867a(0x329)],_0x2ae8f5[_0x38867a(0x142)],_0x2ae8f5[_0x38867a(0x29b)],_0x2ae8f5['UniverProLicense']));}(this,function(_0x190799,_0x5a8633,_0xecd3bb,_0x306b12,_0x51c935,_0x3b002d,_0x5103ff,_0x42edf7,_0x3fafbd,_0x102bc9,_0x2a124c){'use strict';var _0x27d9cd=_0x479e;var _0x3cb47d=Object[_0x27d9cd(0x3ab)],_0x17a276=(_0x49e137,_0x2ecb2c,_0x598a25)=>_0x2ecb2c in _0x49e137?_0x3cb47d(_0x49e137,_0x2ecb2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x598a25}):_0x49e137[_0x2ecb2c]=_0x598a25,_0x45ccb1=(_0x78b0e8,_0xb494fc,_0x16aac9)=>_0x17a276(_0x78b0e8,typeof _0xb494fc!=_0x27d9cd(0x190)?_0xb494fc+'':_0xb494fc,_0x16aac9);const _0x2607b1='/universer-api/snapshot',_0xa5b735='SNAPSHOT_URL_KEY',_0x4aed1f=_0x27d9cd(0x1a8),_0x4bf3a7=_0x27d9cd(0x3b5),_0x5b9780=_0x27d9cd(0x224),_0x251bae=_0x27d9cd(0x3ac),_0x2b73c1='RETRY_CONNECTING_MAX_COUNT',_0x35aad7=_0x27d9cd(0x2a7),_0x1b64ed=_0x27d9cd(0x437),_0x267162=_0x27d9cd(0x29a),_0x5d8d62=_0x27d9cd(0x175),_0x355e17=_0x27d9cd(0x153);var _0x1ddbd0=(_0x54164c=>(_0x54164c[_0x54164c[_0x27d9cd(0x38b)]=0x0]=_0x27d9cd(0x38b),_0x54164c[_0x54164c['OK']=0x1]='OK',_0x54164c[_0x54164c['INTERNAL_ERROR']=0x2]=_0x27d9cd(0x325),_0x54164c[_0x54164c[_0x27d9cd(0x25c)]=0x3]=_0x27d9cd(0x25c),_0x54164c[_0x54164c[_0x27d9cd(0x19b)]=0x4]='NOT_FOUND',_0x54164c[_0x54164c[_0x27d9cd(0x3ba)]=0x5]=_0x27d9cd(0x3ba),_0x54164c[_0x54164c[_0x27d9cd(0x30a)]=0x6]='ALREADY_EXISTS',_0x54164c[_0x54164c[_0x27d9cd(0x35d)]=0x7]=_0x27d9cd(0x35d),_0x54164c[_0x54164c[_0x27d9cd(0x35e)]=0x8]=_0x27d9cd(0x35e),_0x54164c[_0x54164c[_0x27d9cd(0x41f)]=0x9]=_0x27d9cd(0x41f),_0x54164c[_0x54164c[_0x27d9cd(0x415)]=0xa]='LOGIN_FAILED',_0x54164c[_0x54164c[_0x27d9cd(0x40a)]=0xb]=_0x27d9cd(0x40a),_0x54164c[_0x54164c['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x27d9cd(0x3e7),_0x54164c[_0x54164c[_0x27d9cd(0x490)]=0xd]=_0x27d9cd(0x490),_0x54164c[_0x54164c[_0x27d9cd(0x239)]=0xe]=_0x27d9cd(0x239),_0x54164c[_0x54164c[_0x27d9cd(0x2ed)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x54164c[_0x54164c[_0x27d9cd(0x215)]=0x10]=_0x27d9cd(0x215),_0x54164c[_0x54164c[_0x27d9cd(0x3b9)]=0x64]=_0x27d9cd(0x3b9),_0x54164c[_0x54164c['ERROR_AGAIN']=0x65]=_0x27d9cd(0x352),_0x54164c[_0x54164c[_0x27d9cd(0x171)]=0xc9]=_0x27d9cd(0x171),_0x54164c[_0x54164c[_0x27d9cd(0x25f)]=0xca]='USER_IS_ANONYMOUS',_0x54164c[_0x54164c[_0x27d9cd(0x287)]=0x1389]=_0x27d9cd(0x287),_0x54164c[_0x54164c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x27d9cd(0x493),_0x54164c[_0x54164c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x27d9cd(0x14a),_0x54164c[_0x54164c[_0x27d9cd(0x43c)]=0x1773]=_0x27d9cd(0x43c),_0x54164c[_0x54164c['APPLY_REJECT']=0x1b59]=_0x27d9cd(0x2da),_0x54164c[_0x54164c[_0x27d9cd(0x346)]=0x1b5a]=_0x27d9cd(0x346),_0x54164c[_0x54164c['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x54164c[_0x54164c[_0x27d9cd(0xfc)]=0x1b5c]=_0x27d9cd(0xfc),_0x54164c[_0x54164c[_0x27d9cd(0x3f3)]=0x1b5d]=_0x27d9cd(0x3f3),_0x54164c[_0x54164c[_0x27d9cd(0x1b2)]=0x1f41]=_0x27d9cd(0x1b2),_0x54164c[_0x54164c[_0x27d9cd(0x3fd)]=0x2329]=_0x27d9cd(0x3fd),_0x54164c[_0x54164c[_0x27d9cd(0x149)]=0x232a]=_0x27d9cd(0x149),_0x54164c[_0x54164c[_0x27d9cd(0x39a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x54164c[_0x54164c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x27d9cd(0x1a1),_0x54164c[_0x54164c[_0x27d9cd(0x260)]=0x232d]=_0x27d9cd(0x260),_0x54164c[_0x54164c[_0x27d9cd(0x282)]=0x2711]=_0x27d9cd(0x282),_0x54164c[_0x54164c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x27d9cd(0x361),_0x54164c[_0x54164c[_0x27d9cd(0x2b5)]=0x2713]=_0x27d9cd(0x2b5),_0x54164c[_0x54164c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x27d9cd(0x2f1),_0x54164c[_0x54164c[_0x27d9cd(0x15a)]=0x271a]=_0x27d9cd(0x15a),_0x54164c[_0x54164c[_0x27d9cd(0x31e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x54164c[_0x54164c[_0x27d9cd(0x350)]=0x271c]=_0x27d9cd(0x350),_0x54164c[_0x54164c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x27d9cd(0x474),_0x54164c[_0x54164c[_0x27d9cd(0x24b)]=0x271e]=_0x27d9cd(0x24b),_0x54164c[_0x54164c[_0x27d9cd(0x360)]=0x271f]=_0x27d9cd(0x360),_0x54164c[_0x54164c[_0x27d9cd(0x37d)]=0x2720]=_0x27d9cd(0x37d),_0x54164c[_0x54164c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x27d9cd(0x1fa),_0x54164c[_0x54164c[_0x27d9cd(0x43b)]=0x2ee1]=_0x27d9cd(0x43b),_0x54164c[_0x54164c[_0x27d9cd(0x423)]=0x2ee2]=_0x27d9cd(0x423),_0x54164c[_0x54164c[_0x27d9cd(0x2cc)]=0x2ee3]=_0x27d9cd(0x2cc),_0x54164c[_0x54164c[_0x27d9cd(0x1b9)]=0x2ee4]=_0x27d9cd(0x1b9),_0x54164c[_0x54164c[_0x27d9cd(0x3a7)]=0x2ee5]=_0x27d9cd(0x3a7),_0x54164c[_0x54164c[_0x27d9cd(0x16a)]=0x32c9]=_0x27d9cd(0x16a),_0x54164c[_0x54164c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x27d9cd(0x1d1),_0x54164c[_0x54164c[_0x27d9cd(0x2ca)]=0x32cb]=_0x27d9cd(0x2ca),_0x54164c[_0x54164c[_0x27d9cd(0x45f)]=0x36b1]=_0x27d9cd(0x45f),_0x54164c[_0x54164c[_0x27d9cd(0x46e)]=0x36b2]=_0x27d9cd(0x46e),_0x54164c[_0x54164c['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x54164c[_0x54164c[_0x27d9cd(0x37c)]=0x36b4]=_0x27d9cd(0x37c),_0x54164c[_0x54164c['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x54164c[_0x54164c[_0x27d9cd(0x128)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x54164c[_0x54164c[_0x27d9cd(0x270)]=0x36b7]=_0x27d9cd(0x270),_0x54164c[_0x54164c['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x54164c[_0x54164c[_0x27d9cd(0x249)]=0x3715]=_0x27d9cd(0x249),_0x54164c[_0x54164c['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x27d9cd(0x294),_0x54164c[_0x54164c[_0x27d9cd(0x1e3)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x54164c[_0x54164c[_0x27d9cd(0x234)]=0x37dd]=_0x27d9cd(0x234),_0x54164c[_0x54164c[_0x27d9cd(0x335)]=0x3a99]=_0x27d9cd(0x335),_0x54164c[_0x54164c[_0x27d9cd(0x289)]=0x3a9a]=_0x27d9cd(0x289),_0x54164c[_0x54164c[_0x27d9cd(0x491)]=0x3a9b]=_0x27d9cd(0x491),_0x54164c[_0x54164c[_0x27d9cd(0x2a6)]=0x3a9c]=_0x27d9cd(0x2a6),_0x54164c[_0x54164c[_0x27d9cd(0x36d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x54164c[_0x54164c[_0x27d9cd(0x24a)]=0x3a9e]=_0x27d9cd(0x24a),_0x54164c[_0x54164c[_0x27d9cd(0x33e)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x54164c[_0x54164c[_0x27d9cd(0x112)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x54164c[_0x54164c['UNRECOGNIZED']=-0x1]=_0x27d9cd(0x1fd),_0x54164c))(_0x1ddbd0||{}),_0x3bdfff=(_0x45936a=>(_0x45936a[_0x45936a[_0x27d9cd(0x18b)]=0x0]=_0x27d9cd(0x18b),_0x45936a[_0x45936a[_0x27d9cd(0x374)]=0x1]=_0x27d9cd(0x374),_0x45936a[_0x45936a[_0x27d9cd(0x15b)]=0x2]=_0x27d9cd(0x15b),_0x45936a[_0x45936a['UNIVER_SLIDE']=0x3]=_0x27d9cd(0x466),_0x45936a[_0x45936a['UNIVER_PROJECT']=0x4]=_0x27d9cd(0x469),_0x45936a[_0x45936a[_0x27d9cd(0x1fd)]=-0x1]='UNRECOGNIZED',_0x45936a))(_0x3bdfff||{}),_0x5958c6=(_0x285a27=>(_0x285a27[_0x285a27[_0x27d9cd(0x2ff)]=0x0]=_0x27d9cd(0x2ff),_0x285a27[_0x285a27[_0x27d9cd(0x3c1)]=0x1]=_0x27d9cd(0x3c1),_0x285a27[_0x285a27['JOIN']=0x2]=_0x27d9cd(0x23e),_0x285a27[_0x285a27[_0x27d9cd(0x183)]=0x3]=_0x27d9cd(0x183),_0x285a27[_0x285a27[_0x27d9cd(0x2d7)]=0x4]='INGEST',_0x285a27[_0x285a27[_0x27d9cd(0x12b)]=0x5]=_0x27d9cd(0x12b),_0x285a27[_0x285a27[_0x27d9cd(0x152)]=0x6]=_0x27d9cd(0x152),_0x285a27[_0x285a27['UNRECOGNIZED']=-0x1]=_0x27d9cd(0x1fd),_0x285a27))(_0x5958c6||{}),_0x5a152d=(_0x12ebe8=>(_0x12ebe8[_0x12ebe8[_0x27d9cd(0x285)]=0x0]=_0x27d9cd(0x285),_0x12ebe8[_0x12ebe8['OK']=0x1]='OK',_0x12ebe8[_0x12ebe8[_0x27d9cd(0x37a)]=0x2]=_0x27d9cd(0x37a),_0x12ebe8[_0x12ebe8['JOIN_ROOM_FULL']=0x3e9]=_0x27d9cd(0x324),_0x12ebe8[_0x12ebe8['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x27d9cd(0x2c2),_0x12ebe8[_0x12ebe8[_0x27d9cd(0x3e0)]=0x3eb]=_0x27d9cd(0x3e0),_0x12ebe8[_0x12ebe8[_0x27d9cd(0x3a9)]=0x3ec]=_0x27d9cd(0x3a9),_0x12ebe8[_0x12ebe8[_0x27d9cd(0x1fd)]=-0x1]=_0x27d9cd(0x1fd),_0x12ebe8))(_0x5a152d||{}),_0x17e6be=(_0xc46f8b=>(_0xc46f8b[_0xc46f8b[_0x27d9cd(0x1df)]=0x0]=_0x27d9cd(0x1df),_0xc46f8b[_0xc46f8b['HttpImport']=0x1]=_0x27d9cd(0x338),_0xc46f8b[_0xc46f8b['HttpExport']=0x2]=_0x27d9cd(0x310),_0xc46f8b[_0xc46f8b[_0x27d9cd(0x43d)]=0x3]=_0x27d9cd(0x43d),_0xc46f8b[_0xc46f8b['UnitSnapshot']=0x4]=_0x27d9cd(0x1e4),_0xc46f8b[_0xc46f8b[_0x27d9cd(0x256)]=0x5]=_0x27d9cd(0x256),_0xc46f8b[_0xc46f8b[_0x27d9cd(0x214)]=0x6]=_0x27d9cd(0x214),_0xc46f8b[_0xc46f8b[_0x27d9cd(0x1fd)]=-0x1]=_0x27d9cd(0x1fd),_0xc46f8b))(_0x17e6be||{});const _0x3ca197=_0x27d9cd(0x206);function _0x53956a(_0xfc19ed){var _0x421d98=_0x27d9cd;return JSON[_0x421d98(0x38c)](_0xfc19ed)['length'];}var _0x1af2c4=(_0x526628=>(_0x526628[_0x27d9cd(0x431)]=_0x27d9cd(0x431),_0x526628[_0x27d9cd(0x25c)]=_0x27d9cd(0x25c),_0x526628[_0x27d9cd(0x302)]=_0x27d9cd(0x302),_0x526628[_0x27d9cd(0x286)]=_0x27d9cd(0x286),_0x526628[_0x27d9cd(0x445)]=_0x27d9cd(0x445),_0x526628[_0x27d9cd(0x2c4)]='SOCKET_FAILED_RETRY',_0x526628[_0x27d9cd(0x3fa)]='SOCKET_FAILED',_0x526628[_0x27d9cd(0x11d)]=_0x27d9cd(0x11d),_0x526628))(_0x1af2c4||{});class _0x560d80{constructor(){var _0x1a77b5=_0x27d9cd;_0x45ccb1(this,_0x1a77b5(0x26b),new _0x3b002d[(_0x1a77b5(0x26c))]()),_0x45ccb1(this,_0x1a77b5(0x14f),this[_0x1a77b5(0x26b)][_0x1a77b5(0x3d0)]());}[_0x27d9cd(0x2eb)](_0x1d9ef9){var _0x2dba73=_0x27d9cd;this[_0x2dba73(0x26b)]['next'](_0x1d9ef9);}}class _0x163fa3{constructor(){var _0x1dfc08=_0x27d9cd;_0x45ccb1(this,_0x1dfc08(0x478),new _0x3b002d[(_0x1dfc08(0x26c))]()),_0x45ccb1(this,_0x1dfc08(0x45a),this[_0x1dfc08(0x478)][_0x1dfc08(0x3d0)]());}[_0x27d9cd(0x313)](_0x2c173e){var _0x361a77=_0x27d9cd;this[_0x361a77(0x478)][_0x361a77(0x3f9)](_0x2c173e);}}var _0x2facc6=Object['getOwnPropertyDescriptor'],_0x9d15bc=(_0x24397d,_0x4a8c31,_0x53f146,_0x4eae26)=>{var _0x337add=_0x27d9cd;for(var _0x23ca6d=_0x4eae26>0x1?void 0x0:_0x4eae26?_0x2facc6(_0x4a8c31,_0x53f146):_0x4a8c31,_0x39e989=_0x24397d[_0x337add(0x3ea)]-0x1,_0x13aa3b;_0x39e989>=0x0;_0x39e989--)(_0x13aa3b=_0x24397d[_0x39e989])&&(_0x23ca6d=_0x13aa3b(_0x23ca6d)||_0x23ca6d);return _0x23ca6d;},_0x4330f9=(_0x165537,_0x52c850)=>(_0x222d34,_0x73658)=>_0x52c850(_0x222d34,_0x73658,_0x165537);_0x190799[_0x27d9cd(0x3cb)]=class extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(_0x14f383,_0x3df5a7){var _0x48ae0d=_0x27d9cd;super(),_0x45ccb1(this,_0x48ae0d(0x348),new Map()),_0x45ccb1(this,'_roomCreated$',new _0x3b002d[(_0x48ae0d(0x26c))]()),(this[_0x48ae0d(0x3c6)]=_0x14f383,this['_userManagerService']=_0x3df5a7,this[_0x48ae0d(0x17c)](_0x3b002d[_0x48ae0d(0x2a5)](this[_0x48ae0d(0x3c6)][_0x48ae0d(0x1f6)](_0xecd3bb[_0x48ae0d(0x444)][_0x48ae0d(0x15b)])[_0x48ae0d(0x15f)](_0x42edf7[_0x48ae0d(0x14b)](_0xe32fa7=>_0xe32fa7[_0x48ae0d(0x279)]())),this['_univerInstanceService'][_0x48ae0d(0x1f6)](_0xecd3bb[_0x48ae0d(0x444)][_0x48ae0d(0x374)])['pipe'](_0x42edf7[_0x48ae0d(0x14b)](_0x243c70=>_0x243c70['getUnitId']())),this[_0x48ae0d(0x3c6)][_0x48ae0d(0x1f6)](_0xecd3bb[_0x48ae0d(0x444)][_0x48ae0d(0x466)])[_0x48ae0d(0x15f)](_0x42edf7[_0x48ae0d(0x14b)](_0x133e6e=>_0x133e6e['getUnitId']())))[_0x48ae0d(0x316)](_0x372259=>this[_0x48ae0d(0x18d)](_0x372259))));}[_0x27d9cd(0x39d)](_0x1bd0f3){var _0x57c960=_0x27d9cd;return this[_0x57c960(0x348)][_0x57c960(0x1c8)](_0x1bd0f3)?_0x3b002d['of'](this['_roomMembers'][_0x57c960(0x15d)](_0x1bd0f3)):this[_0x57c960(0x21e)][_0x57c960(0x15f)](_0x42edf7[_0x57c960(0x14b)](_0x40c6e2=>{var _0x47dad9=_0x57c960;if(_0x40c6e2===_0x1bd0f3)return this[_0x47dad9(0x348)][_0x47dad9(0x15d)](_0x40c6e2);}));}[_0x27d9cd(0x115)](_0xcbe867){var _0x2e78e8=_0x27d9cd;this[_0x2e78e8(0x12e)]['setCurrentUser'](_0xcbe867);}[_0x27d9cd(0x259)](){var _0xe33585=_0x27d9cd;return this[_0xe33585(0x12e)][_0xe33585(0x259)]();}[_0x27d9cd(0x487)](_0x369414,_0x321b36){var _0x214919=_0x27d9cd;let _0x54a875=this['_roomMembers'][_0x214919(0x15d)](_0x369414);_0x54a875||(_0x54a875=new _0x20292d(),this[_0x214919(0x348)][_0x214919(0x2fa)](_0x369414,_0x54a875),this['_roomCreated$']['next'](_0x369414)),_0x54a875[_0x214919(0x487)](_0x321b36);}[_0x27d9cd(0x28e)](_0x134484,_0x5bda70){var _0x547279=_0x27d9cd;const _0x1ee55c=this[_0x547279(0x348)][_0x547279(0x15d)](_0x134484);_0x1ee55c&&_0x1ee55c[_0x547279(0x28e)](_0x5bda70);}[_0x27d9cd(0x2c7)](_0x2e198d){var _0x21ad98=_0x27d9cd;return this[_0x21ad98(0x348)][_0x21ad98(0x15d)](_0x2e198d);}['getMember'](_0x55087e,_0x43d132){var _0xf12dfc=_0x27d9cd;const _0x563691=this[_0xf12dfc(0x348)][_0xf12dfc(0x15d)](_0x55087e);if(_0x563691)return _0x563691['getMember'](_0x43d132);}[_0x27d9cd(0x18d)](_0x229be6){var _0x286e79=_0x27d9cd;const _0x349b49=this['_roomMembers'][_0x286e79(0x15d)](_0x229be6);_0x349b49&&(_0x349b49['dispose'](),this['_roomMembers']['delete'](_0x229be6));}[_0x27d9cd(0x380)](){var _0x45438c=_0x27d9cd;this[_0x45438c(0x348)]['forEach'](_0x55a42f=>_0x55a42f['dispose']()),this[_0x45438c(0x348)][_0x45438c(0x2aa)](),this['_roomCreated$'][_0x45438c(0x2e4)]();}},_0x190799[_0x27d9cd(0x3cb)]=_0x9d15bc([_0x4330f9(0x0,_0xecd3bb[_0x27d9cd(0x104)]),_0x4330f9(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['UserManagerService']))],_0x190799['MemberService']);class _0x20292d extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(){var _0x4e4bd1=_0x27d9cd;super(...arguments),_0x45ccb1(this,_0x4e4bd1(0x22c),new Map()),_0x45ccb1(this,'_members$',new _0x3b002d['BehaviorSubject'](this[_0x4e4bd1(0x22c)])),_0x45ccb1(this,_0x4e4bd1(0x37b),this['_members$']['asObservable']());}['dispose'](){var _0x98e2c6=_0x27d9cd;this['_members'][_0x98e2c6(0x2aa)]();}[_0x27d9cd(0x487)](_0x39aa3c){var _0x4b9de4=_0x27d9cd;this[_0x4b9de4(0x22c)][_0x4b9de4(0x2fa)](_0x39aa3c[_0x4b9de4(0x2c3)],_0x39aa3c),this[_0x4b9de4(0x1dc)]();}[_0x27d9cd(0x28e)](_0x2eb671){var _0x119ba7=_0x27d9cd;this[_0x119ba7(0x22c)][_0x119ba7(0x297)](_0x2eb671);}[_0x27d9cd(0x2ef)](_0x4eeebc){var _0x34e105=_0x27d9cd;return this[_0x34e105(0x22c)][_0x34e105(0x15d)](_0x4eeebc);}[_0x27d9cd(0x326)](){var _0x104a3a=_0x27d9cd;return Array['from'](this[_0x104a3a(0x22c)][_0x104a3a(0x210)]());}[_0x27d9cd(0x1dc)](){var _0x3ab8bb=_0x27d9cd;this[_0x3ab8bb(0x35f)][_0x3ab8bb(0x3f9)](this[_0x3ab8bb(0x22c)]);}}var _0x25963d=Object[_0x27d9cd(0x49e)],_0x382202=(_0x24e292,_0x25c882,_0x857c6,_0x35b8b9)=>{var _0x1351a8=_0x27d9cd;for(var _0x804b60=_0x35b8b9>0x1?void 0x0:_0x35b8b9?_0x25963d(_0x25c882,_0x857c6):_0x25c882,_0x5d3f9d=_0x24e292[_0x1351a8(0x3ea)]-0x1,_0x3d21d8;_0x5d3f9d>=0x0;_0x5d3f9d--)(_0x3d21d8=_0x24e292[_0x5d3f9d])&&(_0x804b60=_0x3d21d8(_0x804b60)||_0x804b60);return _0x804b60;},_0x2544f4=(_0x183336,_0x2ca749)=>(_0x398a54,_0x2afeea)=>_0x2ca749(_0x398a54,_0x2afeea,_0x183336),_0xe17649=(_0x50f929=>(_0x50f929[_0x50f929['IDLE']=0x0]='IDLE',_0x50f929[_0x50f929[_0x27d9cd(0x36b)]=0x1]=_0x27d9cd(0x36b),_0x50f929[_0x50f929[_0x27d9cd(0x47c)]=0x2]=_0x27d9cd(0x47c),_0x50f929[_0x50f929[_0x27d9cd(0x318)]=0x3]=_0x27d9cd(0x318),_0x50f929))(_0xe17649||{});const _0x3c7dfc={[_0x5a152d[_0x27d9cd(0x37a)]]:_0x27d9cd(0x3c0),[_0x5a152d[_0x27d9cd(0x324)]]:'session.room-full',[_0x5a152d[_0x27d9cd(0x2c2)]]:_0x27d9cd(0x280),[_0x5a152d['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[_0x5a152d[_0x27d9cd(0x3a9)]]:_0x27d9cd(0xfa)};_0x190799[_0x27d9cd(0x1a3)]=class extends _0xecd3bb[_0x27d9cd(0x1e0)]{constructor(_0x1d7744,_0x1de727,_0x1afd29,_0x3a1113,_0x44667c,_0x8cd732,_0x2bf694,_0xeda4c5){var _0xd7277b=_0x27d9cd;super(),_0x45ccb1(this,_0xd7277b(0x47f),new _0x3b002d[(_0xd7277b(0x131))](0x0)),_0x45ccb1(this,_0xd7277b(0x2a8),this['_sessionStatus$']['asObservable']()),_0x45ccb1(this,'_event$',new _0x3b002d[(_0xd7277b(0x26c))]()),_0x45ccb1(this,'event$',this['_event$'][_0xd7277b(0x3d0)]()),_0x45ccb1(this,'_socket'),_0x45ccb1(this,_0xd7277b(0x41b)),_0x45ccb1(this,_0xd7277b(0x419)),_0x45ccb1(this,_0xd7277b(0x31f),!0x1),_0x45ccb1(this,_0xd7277b(0x403),null),(this['_unitID']=_0x1d7744,this['_logService']=_0x1afd29,this['_configService']=_0x3a1113,this[_0xd7277b(0x1d0)]=_0x44667c,this[_0xd7277b(0x3a0)]=_0x8cd732,this['_collaborationUIEventService']=_0x2bf694,this[_0xd7277b(0x43f)]=_0xeda4c5,this[_0xd7277b(0x31f)]=!!this[_0xd7277b(0x43f)],_0x1de727[_0xd7277b(0x15f)](_0x3b002d[_0xd7277b(0x106)](this[_0xd7277b(0x27f)]))['subscribe'](_0x2b7198=>{var _0x181f69=_0xd7277b,_0x6f4097;typeof _0x2b7198>'u'||(this[_0x181f69(0x35a)]=_0x2b7198,_0x2b7198?(this[_0x181f69(0x230)](_0x2b7198),this['_socketMessageSubscription']=_0x2b7198[_0x181f69(0x2f3)][_0x181f69(0x316)](_0x571ec7=>{var _0x1810be=_0x181f69;_0x571ec7[_0x1810be(0x18a)]===this[_0x1810be(0x427)]&&this['_onCombEvent'](_0x571ec7);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x181f69(0x47f)]['next'](0x2),(_0x6f4097=this[_0x181f69(0x41b)])==null||_0x6f4097['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x27d9cd(0x30c)](){var _0xe691b7=_0x27d9cd;return this[_0xe691b7(0x47f)][_0xe691b7(0x429)]();}['getMemberID'](){var _0x3afda8=_0x27d9cd,_0x1e43f6,_0x48c4af;return(_0x48c4af=(_0x1e43f6=this[_0x3afda8(0x35a)])==null?void 0x0:_0x1e43f6['memberID'])!=null?_0x48c4af:null;}['dispose'](){var _0x11de7f=_0x27d9cd;super[_0x11de7f(0x380)](),this[_0x11de7f(0x27f)][_0x11de7f(0x3f9)](),this[_0x11de7f(0x27f)]['complete']();}[_0x27d9cd(0x1b3)](){var _0x4ad5e4=_0x27d9cd,_0x31361f,_0x202375;this['_throwTelemetryCollaborationNewChangeset'](),(_0x31361f=this[_0x4ad5e4(0x35a)])==null||_0x31361f[_0x4ad5e4(0x119)]({'cmd':_0x5958c6[_0x4ad5e4(0x183)],'data':{'roomID':this[_0x4ad5e4(0x427)]}}),(_0x202375=this[_0x4ad5e4(0x35a)])==null||_0x202375[_0x4ad5e4(0x1b3)](),this[_0x4ad5e4(0x26b)]['complete'](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x27d9cd(0x10b)](_0x574aec){var _0x31c398=_0x27d9cd;_0x574aec[_0x31c398(0x1e1)]===_0x5958c6[_0x31c398(0x23e)]?this[_0x31c398(0x492)](_0x574aec):_0x574aec[_0x31c398(0x1e1)]===_0x5958c6['RECV']&&this['_onRecvEvent'](_0x574aec);}[_0x27d9cd(0x230)](_0x48d3ea){var _0xedfd6f=_0x27d9cd;this[_0xedfd6f(0x47f)][_0xedfd6f(0x3f9)](0x1),_0x48d3ea[_0xedfd6f(0x119)]({'cmd':_0x5958c6[_0xedfd6f(0x23e)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xedfd6f(0x427)]}]}});}[_0x27d9cd(0x492)](_0x29f6e7){var _0x289f85=_0x27d9cd,_0x43f207;if(_0x29f6e7[_0x289f85(0x1ba)]in _0x3c7dfc){this[_0x289f85(0x2de)]['emitEvent']({'id':_0x1af2c4[_0x289f85(0x445)],'data':_0x3c7dfc[_0x29f6e7[_0x289f85(0x1ba)]]}),this[_0x289f85(0x47f)][_0x289f85(0x3f9)](0x2);return;}this[_0x289f85(0x47f)][_0x289f85(0x3f9)](0x3);const _0x35f3b5=(_0x43f207=_0x29f6e7[_0x289f85(0x23d)][_0x289f85(0x477)][this['_unitID']])==null?void 0x0:_0x43f207['members'];_0x35f3b5&&_0x35f3b5[_0x289f85(0x266)](_0x3fd0a7=>this[_0x289f85(0x1d0)][_0x289f85(0x487)](this[_0x289f85(0x427)],_0x3fd0a7));}['_onRecvEvent'](_0x37c41b){var _0x53ce56=_0x27d9cd;try{const _0x1d4236=_0x37c41b['data'];switch(_0x1d4236[_0x53ce56(0x2e3)]){case _0x5a8633[_0x53ce56(0x1ca)][_0x53ce56(0x174)]:this[_0x53ce56(0x2b8)](_0x1d4236),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;case _0x5a8633[_0x53ce56(0x1ca)][_0x53ce56(0x36f)]:this['_onUserLeave'](_0x1d4236),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;case _0x5a8633['CollaborationEvent'][_0x53ce56(0x2b0)]:case _0x5a8633[_0x53ce56(0x1ca)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x53ce56(0x317)](),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;case _0x5a8633[_0x53ce56(0x1ca)][_0x53ce56(0x331)]:this['_logService'][_0x53ce56(0x25e)](_0x53ce56(0x34c)+JSON[_0x53ce56(0x38c)](_0x1d4236)),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;case _0x5a8633['CollaborationEvent']['COMMENT_UPDATE']:this[_0x53ce56(0x3a0)][_0x53ce56(0x313)](_0x1d4236['data']),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;default:this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);}}catch(_0x6d45aa){this[_0x53ce56(0x200)][_0x53ce56(0x25e)](_0x6d45aa,_0x37c41b);}}[_0x27d9cd(0x2b8)](_0x24bfdd){var _0x331b40=_0x27d9cd;this[_0x331b40(0x1d0)]['updateMember'](this[_0x331b40(0x427)],_0x24bfdd[_0x331b40(0x23d)]);}['_onUserLeave'](_0x5acdb4){var _0xaecdac=_0x27d9cd;this['_memberService'][_0xaecdac(0x28e)](this['_unitID'],_0x5acdb4[_0xaecdac(0x23d)][_0xaecdac(0x2c3)]);}async[_0x27d9cd(0x119)](_0x26d4c8,_0x5d696c){var _0x1af19a=_0x27d9cd;if(this[_0x1af19a(0x30c)]!==0x3||!this[_0x1af19a(0x35a)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x26d4c8[_0x1af19a(0x2e3)]===_0x5a8633[_0x1af19a(0x1ca)][_0x1af19a(0x3cd)]&&(this[_0x1af19a(0xfd)](),this[_0x1af19a(0x340)](_0x26d4c8)),this[_0x1af19a(0x35a)]['send']({'cmd':_0x5958c6['INGEST'],'routeKey':_0x5d696c,'routeType':'','data':_0x26d4c8});}catch(_0x1851d9){this[_0x1af19a(0x200)][_0x1af19a(0x25e)](_0x1851d9);}}['_scheduleCollaborationTimeoutTimer'](){var _0xece3ab=_0x27d9cd,_0x3fcb1c;this[_0xece3ab(0x419)]=setTimeout(()=>{var _0x50d641=_0xece3ab;this[_0x50d641(0x419)]=null,this[_0x50d641(0x2de)][_0x50d641(0x2eb)]({'id':_0x1af2c4[_0x50d641(0x11d)]});},(_0x3fcb1c=this[_0xece3ab(0x435)][_0xece3ab(0x36e)](_0x251bae))!=null?_0x3fcb1c:0x4e20);}[_0x27d9cd(0x317)](){var _0x1eea44=_0x27d9cd;this[_0x1eea44(0x419)]&&(clearTimeout(this[_0x1eea44(0x419)]),this[_0x1eea44(0x419)]=null);}[_0x27d9cd(0x340)](_0x67be35){var _0x39628b=_0x27d9cd;if(!this['_shouldReportTelemetry'])return;const {data:_0x2a38c8}=_0x67be35,{unitID:_0x536daa,changeset:_0x1cb383}=_0x2a38c8,{mutations:_0x57eac1,type:_0x31a38d}=_0x1cb383;this[_0x39628b(0x403)]={'unitId':_0x536daa,'type':_0x31a38d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x53956a(_0x57eac1)};}[_0x27d9cd(0x27b)](){var _0x2a644d=_0x27d9cd;if(this[_0x2a644d(0x31f)]){if(!this[_0x2a644d(0x403)]){this[_0x2a644d(0x200)]['error']('[CollaborationSession]',_0x2a644d(0x14d));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this[_0x2a644d(0x403)]['duration']=this[_0x2a644d(0x403)][_0x2a644d(0x177)]-this[_0x2a644d(0x403)]['startTime'],this[_0x2a644d(0x43f)][_0x2a644d(0x138)](_0x3ca197,this[_0x2a644d(0x403)]),this[_0x2a644d(0x403)]=null;}}[_0x27d9cd(0x2a0)](){var _0x133fa0=_0x27d9cd;this[_0x133fa0(0x403)]=null;}},_0x190799[_0x27d9cd(0x1a3)]=_0x382202([_0x2544f4(0x2,_0xecd3bb[_0x27d9cd(0x30e)]),_0x2544f4(0x3,_0xecd3bb[_0x27d9cd(0x34d)]),_0x2544f4(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x190799[_0x27d9cd(0x3cb)])),_0x2544f4(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0x163fa3)),_0x2544f4(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x2544f4(0x7,_0xecd3bb['Optional'](_0x5103ff[_0x27d9cd(0x32b)]))],_0x190799['CollaborationSession']);const _0x521485=_0xecd3bb[_0x27d9cd(0x2f6)]('collaboration-client.local-cache-service');function _0x2679aa(_0x62a1b3){var _0x5ad301=_0x27d9cd;return _0x5ad301(0x2d0)+_0x62a1b3;}var _0x124155=Object[_0x27d9cd(0x49e)],_0x62af0=(_0x40acbf,_0x11fe56,_0x474032,_0x351cfa)=>{var _0x409f62=_0x27d9cd;for(var _0x148ac0=_0x351cfa>0x1?void 0x0:_0x351cfa?_0x124155(_0x11fe56,_0x474032):_0x11fe56,_0x429034=_0x40acbf[_0x409f62(0x3ea)]-0x1,_0x266de2;_0x429034>=0x0;_0x429034--)(_0x266de2=_0x40acbf[_0x429034])&&(_0x148ac0=_0x266de2(_0x148ac0)||_0x148ac0);return _0x148ac0;},_0x11fb07=(_0x250a83,_0x387cc4)=>(_0x3c57a5,_0x21ce4e)=>_0x387cc4(_0x3c57a5,_0x21ce4e,_0x250a83);function _0x41e26d(_0x280344){var _0x223b18=_0x27d9cd;const {unitID:_0x29d9cc,mutations:_0x481b99}=_0x280344;return{'unitId':_0x29d9cc,'subUnitId':_0x481b99[_0x223b18(0x3ea)]>0x0?_0x481b99[0x0][_0x223b18(0x300)][_0x223b18(0x384)]:null};}_0x190799[_0x27d9cd(0x298)]=class{constructor(_0x41ace0,_0x2a4a25,_0x87fc11){var _0x3ccfa2=_0x27d9cd;this[_0x3ccfa2(0x3d5)]=_0x41ace0,this[_0x3ccfa2(0x2f2)]=_0x2a4a25,this['_instanceService']=_0x87fc11;}[_0x27d9cd(0x22a)](_0x2a335b){var _0x2ad1e4=_0x27d9cd,_0x4bd0dc,_0x26c558,_0x1f9053,_0x3317b2;const _0x15a207=this[_0x2ad1e4(0x3d5)][_0x2ad1e4(0x15d)](_0x51c935[_0x2ad1e4(0x2fd)]),{unitId:_0x5b367f,subUnitId:_0x28e7e2}=_0x41e26d(_0x2a335b),_0x4d0a57=_0x15a207==null?void 0x0:_0x15a207[_0x2ad1e4(0x3f6)](_0x5b367f)[_0x2ad1e4(0x159)](),_0x57ba14=(_0x26c558=(_0x4bd0dc=this[_0x2ad1e4(0x397)][_0x2ad1e4(0x251)](_0x5b367f))==null?void 0x0:_0x4bd0dc[_0x2ad1e4(0x17e)]())==null?void 0x0:_0x26c558[_0x2ad1e4(0x391)]();if(_0x4d0a57[_0x2ad1e4(0x3ea)]===0x0||!_0x5b367f||!_0x28e7e2)return;const _0x32c4e9=[{'id':_0x51c935[_0x2ad1e4(0x3d1)]['id'],'params':{'unitId':_0x5b367f,'subUnitId':_0x57ba14,'selections':_0xecd3bb[_0x2ad1e4(0x2b2)][_0x2ad1e4(0x1c5)](_0x4d0a57)}}],_0x455e4b=this[_0x2ad1e4(0x2f2)][_0x2ad1e4(0x48a)](_0x2a335b,_0x32c4e9);if(!_0x5a8633[_0x2ad1e4(0x396)](_0x455e4b))throw _0x455e4b[_0x2ad1e4(0x25e)];const _0x195fb4=(_0x3317b2=(_0x1f9053=_0x455e4b['m2Prime'][0x0])==null?void 0x0:_0x1f9053[_0x2ad1e4(0x300)])==null?void 0x0:_0x3317b2[_0x2ad1e4(0x277)];if(Array[_0x2ad1e4(0x1f9)](_0x195fb4)&&_0x195fb4[_0x2ad1e4(0x3ea)]){if(_0x195fb4[_0x2ad1e4(0x3ea)]===_0x32c4e9[0x0]['params'][_0x2ad1e4(0x277)][_0x2ad1e4(0x3ea)]&&_0x195fb4[_0x2ad1e4(0x139)]((_0x294a88,_0x3d7c9e)=>_0xecd3bb[_0x2ad1e4(0x347)]['equals'](_0x294a88['range'],_0x32c4e9[0x0][_0x2ad1e4(0x300)][_0x2ad1e4(0x277)][_0x3d7c9e][_0x2ad1e4(0x102)])))return;this[_0x2ad1e4(0x3d5)][_0x2ad1e4(0x15d)](_0xecd3bb[_0x2ad1e4(0x48d)])[_0x2ad1e4(0x25d)](_0x51c935[_0x2ad1e4(0x3d1)]['id'],{'unitId':_0x5b367f,'subUnitId':_0x57ba14,'selections':_0x195fb4});}}},_0x190799['SheetTransformSelectionsService']=_0x62af0([_0x11fb07(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['Injector'])),_0x11fb07(0x1,_0x5a8633[_0x27d9cd(0x2af)]),_0x11fb07(0x2,_0xecd3bb[_0x27d9cd(0x104)])],_0x190799[_0x27d9cd(0x298)]);const _0x4a5240=_0xecd3bb[_0x27d9cd(0x2f6)](_0x27d9cd(0x339));var _0x502878=(_0x4a8a82=>(_0x4a8a82[_0x4a8a82[_0x27d9cd(0x39c)]=0x0]=_0x27d9cd(0x39c),_0x4a8a82[_0x4a8a82[_0x27d9cd(0x2e1)]=0x1]=_0x27d9cd(0x2e1),_0x4a8a82))(_0x502878||{});const _0xa270ad='collaboration-client.config',_0x2a19ca={};function _0x99712d(_0x4b75a5){var _0x4395f1=_0x27d9cd,_0x125baf;return!!((_0x125baf=_0x4b75a5[_0x4395f1(0x300)])!=null&&_0x125baf[_0x4395f1(0x449)]);}const _0x54fc96=new Set([_0x51c935[_0x27d9cd(0x2d1)]['id']]);function _0x16565d(_0x500b0c,_0x37a1c8,_0x2b804a,_0x3cd361,_0x22c4ed){var _0x4c04db=_0x27d9cd,_0x26060f,_0x5ab133,_0x3b7707,_0x4db0f3;const _0x4405d9=[];for(const _0x42e62a of _0x500b0c){if(_0x54fc96['has'](_0x42e62a['id'])){if(_0x4405d9['length']>0x0)break;_0x4405d9['push'](_0x42e62a);break;}if(_0x99712d(_0x42e62a)){if(_0x4405d9['length']>0x0)break;_0x4405d9['push'](_0x42e62a);break;}_0x4405d9[_0x4c04db(0x484)](_0x42e62a);}const _0xbd8aa1=(_0x5ab133=(_0x26060f=_0x22c4ed['getCurrentUser']())==null?void 0x0:_0x26060f[_0x4c04db(0x1e9)])!=null?_0x5ab133:'unknown',_0xad0265=(_0x4db0f3=(_0x3b7707=_0x22c4ed['getCurrentUser']())==null?void 0x0:_0x3b7707[_0x4c04db(0x2c3)])!=null?_0x4db0f3:'unknown';return{'changeset':{'unitID':_0x37a1c8,'type':_0x5a8633[_0x4c04db(0x1b7)](_0x2b804a[_0x4c04db(0x2d9)](_0x37a1c8)),'baseRev':_0x3cd361[_0x4c04db(0x2e2)](_0x37a1c8),'revision':0x0,'userID':_0xbd8aa1,'memberID':_0xad0265,'mutations':_0x4405d9},'pendingMutations':_0x500b0c['slice'](_0x4405d9[_0x4c04db(0x3ea)])};}function _0x287691(_0x18df05,_0x3ce1ba,_0x53ffe2,_0x3255e,_0x29b7a0){var _0x24a11d=_0x27d9cd,_0x1d3d44,_0x45266b,_0x482ca7,_0x24b65a;const _0xa49abb=[_0x18df05[_0x24a11d(0x33c)]((_0x51382c,_0x304d6a)=>{var _0x3591c2=_0x24a11d,_0x100fe7;const {id:_0x3eacf4}=_0x51382c,{id:_0xb12b2a,type:_0x265c03}=_0x304d6a,_0x284e16=(_0x100fe7=_0x51382c[_0x3591c2(0x300)])!=null?_0x100fe7:{'actions':null},_0x38dc70=_0x304d6a[_0x3591c2(0x300)];if(_0x3eacf4&&_0x3eacf4!==_0xb12b2a)throw new Error(_0x3591c2(0x392)+_0x3eacf4+_0x3591c2(0x315)+_0xb12b2a+'.');return{..._0x51382c,'id':_0xb12b2a,'type':_0x265c03,'params':{'unitId':_0x38dc70['unitId'],'textRanges':_0x38dc70[_0x3591c2(0x421)],'actions':_0xecd3bb[_0x3591c2(0x342)][_0x3591c2(0x1c9)](_0x284e16['actions'],_0x38dc70[_0x3591c2(0x2bd)])}};},{})],_0x26ef62=(_0x45266b=(_0x1d3d44=_0x29b7a0['getCurrentUser']())==null?void 0x0:_0x1d3d44[_0x24a11d(0x1e9)])!=null?_0x45266b:_0x24a11d(0x26d),_0x4dace3=(_0x24b65a=(_0x482ca7=_0x29b7a0['getCurrentUser']())==null?void 0x0:_0x482ca7[_0x24a11d(0x2c3)])!=null?_0x24b65a:_0x24a11d(0x26d);return{'changeset':{'unitID':_0x3ce1ba,'type':_0x5a8633[_0x24a11d(0x1b7)](_0x53ffe2['getUnitType'](_0x3ce1ba)),'baseRev':_0x3255e[_0x24a11d(0x2e2)](_0x3ce1ba),'revision':0x0,'userID':_0x26ef62,'memberID':_0x4dace3,'mutations':_0xa49abb},'pendingMutations':[]};}function _0x23da11(_0xd59987,_0x3bb9fd){var _0x26d9fe=_0x27d9cd;const _0x478f85=new _0x3b002d[(_0x26d9fe(0x238))](0x1);return setTimeout(()=>_0x478f85[_0x26d9fe(0x3f9)](_0x3bb9fd),_0xd59987),_0x478f85[_0x26d9fe(0x3d0)]()['pipe'](_0x3b002d['take'](0x1));}var _0x5495d9=Object['getOwnPropertyDescriptor'],_0x4767ae=(_0x499934,_0x4ef0d0,_0x1944b5,_0xb2479e)=>{var _0x129a6e=_0x27d9cd;for(var _0x53f120=_0xb2479e>0x1?void 0x0:_0xb2479e?_0x5495d9(_0x4ef0d0,_0x1944b5):_0x4ef0d0,_0x2b9d24=_0x499934[_0x129a6e(0x3ea)]-0x1,_0x3de3fa;_0x2b9d24>=0x0;_0x2b9d24--)(_0x3de3fa=_0x499934[_0x2b9d24])&&(_0x53f120=_0x3de3fa(_0x53f120)||_0x53f120);return _0x53f120;},_0x27af08=(_0x4aab78,_0x69f02a)=>(_0x46e6bf,_0x3fc743)=>_0x69f02a(_0x46e6bf,_0x3fc743,_0x4aab78),_0x5d612c=(_0x34e78e=>(_0x34e78e[_0x27d9cd(0x32c)]=_0x27d9cd(0x336),_0x34e78e['SYNCED']=_0x27d9cd(0x41a),_0x34e78e[_0x27d9cd(0x44c)]=_0x27d9cd(0x1f7),_0x34e78e[_0x27d9cd(0x47e)]='awaiting',_0x34e78e[_0x27d9cd(0x482)]='awaiting_with_pending',_0x34e78e[_0x27d9cd(0x130)]=_0x27d9cd(0x44a),_0x34e78e['CONFLICT']=_0x27d9cd(0x3f2),_0x34e78e[_0x27d9cd(0x47c)]=_0x27d9cd(0x488),_0x34e78e))(_0x5d612c||{});const _0x2a0dcc=0x4e20,_0xdb260c=0x2bf20;class _0x3bb8e0{constructor(_0x100766,_0x30c164,_0x41c635,_0x1c51e2,_0x2b68b4,_0x438b85,_0x27ea68,_0x6bcf59,_0x2226ec){var _0x50062c=_0x27d9cd;_0x45ccb1(this,_0x50062c(0x2fc),null),_0x45ccb1(this,_0x50062c(0x1cf),[]),(this[_0x50062c(0x114)]=_0x100766,this[_0x50062c(0x430)]=_0x30c164,this[_0x50062c(0x127)]=_0x2b68b4,this['_commandService']=_0x438b85,this[_0x50062c(0x410)]=_0x27ea68,this['_revisionService']=_0x6bcf59,this[_0x50062c(0x22d)]=_0x2226ec,this[_0x50062c(0x2fc)]=_0x41c635,this['_pendingMutations']=_0x1c51e2);}[_0x27d9cd(0x479)](_0x343c06){var _0x29b9c9=_0x27d9cd;const _0xe7167f=this[_0x29b9c9(0x184)][_0x29b9c9(0x2e2)](this['unitID']);return _0x343c06[_0x29b9c9(0x2a4)]>_0xe7167f+0x1?(this[_0x29b9c9(0x127)][_0x29b9c9(0x19d)]({'from':_0xe7167f,'to':_0x343c06[_0x29b9c9(0x2a4)]-0x1}),!0x0):!0x1;}[_0x27d9cd(0x11c)](_0x2438ef){var _0x34ff35=_0x27d9cd;this[_0x34ff35(0x410)][_0x34ff35(0x28a)](this[_0x34ff35(0x114)],_0x2438ef);}[_0x27d9cd(0x27a)](_0x151ef1){var _0x31cd9f=_0x27d9cd,_0x35f24a,_0x32faca;(_0x32faca=(_0x35f24a=this[_0x31cd9f(0x127)])[_0x31cd9f(0x334)])==null||_0x32faca[_0x31cd9f(0x281)](_0x35f24a,_0x151ef1);}[_0x27d9cd(0x208)](_0x71ba19){var _0x53ce6d=_0x27d9cd,_0x317c02,_0x57fc3b;return(_0x57fc3b=(_0x317c02=this['_handler'])[_0x53ce6d(0x191)])==null?void 0x0:_0x57fc3b[_0x53ce6d(0x281)](_0x317c02,_0x71ba19);}[_0x27d9cd(0x118)](_0x320fe2){var _0x429bf8=_0x27d9cd,_0x1ff397,_0x443d8f;return(_0x443d8f=(_0x1ff397=this['_handler'])['onTransformState'])==null?void 0x0:_0x443d8f[_0x429bf8(0x281)](_0x1ff397,_0x320fe2);}[_0x27d9cd(0x349)](_0x572c47){var _0xa4c024=_0x27d9cd,_0x6351e3,_0x11d068,_0x2c55c5;return(_0x2c55c5=(_0x11d068=(_0x6351e3=this[_0xa4c024(0x127)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x11d068[_0xa4c024(0x281)](_0x6351e3,_0x572c47))!=null?_0x2c55c5:_0x572c47;}[_0x27d9cd(0x110)](_0x2ff086){var _0xfec4ac=_0x27d9cd,_0x110f1c,_0x1236b6,_0x1d9321;return(_0x1d9321=(_0x1236b6=(_0x110f1c=this[_0xfec4ac(0x127)])[_0xfec4ac(0x42b)])==null?void 0x0:_0x1236b6[_0xfec4ac(0x281)](_0x110f1c,_0x2ff086))!=null?_0x1d9321:_0x2ff086;}['_syncEditingCollabCursor'](_0xc7198b){var _0x225e8c=_0x27d9cd,_0x5bda9a,_0x4d469b;if(this['type']===_0x3bdfff[_0x225e8c(0x374)]){const {unitID:_0x30c45d,mutations:_0x5f43bd,memberID:_0x1e85f8}=_0xc7198b,_0x4d6c0b=_0x5f43bd[_0x225e8c(0x3ea)]>0x0?_0x5f43bd[0x0][_0x225e8c(0x300)][_0x225e8c(0x421)]:[];Array[_0x225e8c(0x1f9)](_0x4d6c0b)&&_0x4d6c0b[_0x225e8c(0x3ea)]>0x0&&((_0x4d469b=(_0x5bda9a=this[_0x225e8c(0x127)])[_0x225e8c(0x3f8)])==null||_0x4d469b[_0x225e8c(0x281)](_0x5bda9a,{'unitID':_0x30c45d,'memberID':_0x1e85f8,'textRanges':_0x4d6c0b}));}}[_0x27d9cd(0x220)](){var _0x17e9a6=_0x27d9cd,_0x13b49b;(_0x13b49b=this[_0x17e9a6(0x22d)])==null||_0x13b49b[_0x17e9a6(0x1db)](this[_0x17e9a6(0x114)],this[_0x17e9a6(0x430)],this[_0x17e9a6(0x2fc)],this[_0x17e9a6(0x1cf)]);}[_0x27d9cd(0x217)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x27d9cd(0x1ea)](){var _0x78c49a=_0x27d9cd;this[_0x78c49a(0x184)][_0x78c49a(0x41c)](this['unitID']);}[_0x27d9cd(0x204)](_0x16e104){var _0x59b6e1=_0x27d9cd,_0xebdc5e;let _0x1911a2=this[_0x59b6e1(0x349)](_0x16e104);_0x1911a2=this['_transformRemoteChangesetByStateCache'](_0x1911a2);const _0x21f290=_0xecd3bb[_0x59b6e1(0x1be)](_0x1911a2['mutations'],this[_0x59b6e1(0x267)],{'fromCollab':!0x0});if(!_0x21f290[_0x59b6e1(0x2b9)])throw _0x21f290[_0x59b6e1(0x25e)]instanceof Error?_0x21f290['error']:new Error((_0xebdc5e=_0x21f290[_0x59b6e1(0x25e)])!=null?_0xebdc5e:_0x59b6e1(0x366));this[_0x59b6e1(0x208)](_0x1911a2),this['_transformStateCache'](_0x1911a2),this[_0x59b6e1(0x11c)](_0x16e104),this[_0x59b6e1(0x27a)](_0x1911a2),this['_syncEditingCollabCursor'](_0x1911a2),this[_0x59b6e1(0x1ea)]();}}_0x190799[_0x27d9cd(0x485)]=class extends _0x3bb8e0{constructor(_0x3baf06,_0xe4361c,_0x4cf982,_0x17e29c,_0x4edf1b,_0x204c7d,_0x22bbe4,_0x88860d,_0x5d658a,_0x2e1ffd){var _0x116290=_0x27d9cd;super(_0x3baf06,_0xe4361c,null,[],_0x4cf982,_0x22bbe4,_0x204c7d,_0x17e29c,_0x2e1ffd),_0x45ccb1(this,_0x116290(0x1c1),'synced'),(this[_0x116290(0x3d5)]=_0x4edf1b,this[_0x116290(0x200)]=_0x88860d,this[_0x116290(0x2f2)]=_0x5d658a,this['localCacheService']=_0x2e1ffd);}[_0x27d9cd(0x433)](_0x23c468){var _0x372561=_0x27d9cd;const _0x475602=this[_0x372561(0x3d5)][_0x372561(0x264)](_0x190799['PendingState'],this[_0x372561(0x114)],this[_0x372561(0x430)],[_0x23c468],this[_0x372561(0x127)]);return _0x475602['_schedule'](),_0x475602['_updateLocalCache'](),_0x475602;}['onRemoteChangeset'](_0x31a4f3){var _0x1eb8a7=_0x27d9cd;if(this[_0x1eb8a7(0x479)](_0x31a4f3))return this[_0x1eb8a7(0x3d5)][_0x1eb8a7(0x264)](_0x190799['FetchingMissState'],this['unitID'],this['type'],null,[],null,[_0x31a4f3],this[_0x1eb8a7(0x127)]);try{const _0x18fc3e=this[_0x1eb8a7(0x2f2)][_0x1eb8a7(0x48a)](_0x31a4f3,[_0x5a8633[_0x1eb8a7(0x1c3)]]);if(_0x5a8633['isTransformMutationsWithChangesetSuccess'](_0x18fc3e)){const {c1Prime:_0x37e1dc}=_0x18fc3e;return this[_0x1eb8a7(0x204)](_0x37e1dc),this;}throw _0x18fc3e[_0x1eb8a7(0x25e)];}catch(_0x52b794){return this[_0x1eb8a7(0x200)][_0x1eb8a7(0x25e)](_0x52b794),this['_onConflict'](!0x1);}}[_0x27d9cd(0x426)](_0x58997b){var _0x180952=_0x27d9cd;return this[_0x180952(0x3d5)][_0x180952(0x264)](_0x190799[_0x180952(0x2dd)],this[_0x180952(0x114)],this[_0x180952(0x430)],null,[],this[_0x180952(0x127)],_0x58997b);}['onRemoteAck'](){var _0xd94a1=_0x27d9cd;throw new Error(_0xd94a1(0x36a));}[_0x27d9cd(0x296)](){var _0x13a95e=_0x27d9cd;throw new Error(_0x13a95e(0x14e));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x144dc9=_0x27d9cd;return this[_0x144dc9(0x3d5)][_0x144dc9(0x264)](_0x190799[_0x144dc9(0x48b)],this[_0x144dc9(0x114)],this[_0x144dc9(0x430)],null,[],this[_0x144dc9(0x127)]);}['toggleOnline'](){return this;}['resend'](){var _0x34f08f=_0x27d9cd;throw new Error(_0x34f08f(0x2b6));}[_0x27d9cd(0x3a5)](){var _0x56c569=_0x27d9cd;const _0x3bdf3c=this[_0x56c569(0x184)][_0x56c569(0x2e2)](this[_0x56c569(0x114)]);return this[_0x56c569(0x127)][_0x56c569(0x19d)]({'from':_0x3bdf3c,'to':0x0}),this[_0x56c569(0x3d5)][_0x56c569(0x264)](_0x190799['FetchingMissState'],this['unitID'],this['type'],null,[],null,[],this['_handler']);}},_0x190799[_0x27d9cd(0x485)]=_0x4767ae([_0x27af08(0x3,_0xecd3bb['Inject'](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x5,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0x8,_0x5a8633['ITransformService']),_0x27af08(0x9,_0xecd3bb['Optional'](_0x521485))],_0x190799[_0x27d9cd(0x485)]),_0x190799[_0x27d9cd(0x3e5)]=class extends _0x3bb8e0{constructor(_0x5d0fe1,_0x537f1c,_0x3ae3e4,_0x56059b,_0x8acb71,_0xd14664,_0x30fddd,_0x35e279,_0x606ce2,_0x29f414,_0x29c320,_0x1b3992,_0x424d69,_0x550993){var _0x2fd5dc=_0x27d9cd;super(_0x5d0fe1,_0x537f1c,null,_0x3ae3e4,_0x56059b,_0x606ce2,_0x424d69,_0xd14664,_0x550993),_0x45ccb1(this,_0x2fd5dc(0x1c1),_0x2fd5dc(0x1f7)),_0x45ccb1(this,_0x2fd5dc(0x2b4),null),_0x45ccb1(this,_0x2fd5dc(0x46f),null),(this[_0x2fd5dc(0x3d5)]=_0x8acb71,this[_0x2fd5dc(0x1d0)]=_0x30fddd,this['_logService']=_0x35e279,this['_configService']=_0x29f414,this[_0x2fd5dc(0x2f2)]=_0x29c320,this[_0x2fd5dc(0x3c6)]=_0x1b3992);}[_0x27d9cd(0x433)](_0x33bd15){var _0x4912aa=_0x27d9cd;return this[_0x4912aa(0x1cf)][_0x4912aa(0x484)](_0x33bd15),this[_0x4912aa(0x220)](),this;}['onRemoteChangeset'](_0x1e9fd9){var _0x5899be=_0x27d9cd;if(this[_0x5899be(0x479)](_0x1e9fd9))return this[_0x5899be(0x443)](),this[_0x5899be(0x3d5)]['createInstance'](_0x190799[_0x5899be(0x314)],this[_0x5899be(0x114)],this[_0x5899be(0x430)],null,this[_0x5899be(0x1cf)],null,[_0x1e9fd9],this[_0x5899be(0x127)]);try{const _0x2b9422=this[_0x5899be(0x2f2)][_0x5899be(0x48a)](_0x1e9fd9,this[_0x5899be(0x1cf)]);if(_0x5a8633[_0x5899be(0x396)](_0x2b9422)){const {c1Prime:_0x5c39ec,m2Prime:_0xc06b86}=_0x2b9422;this[_0x5899be(0x204)](_0x5c39ec);const _0x23cf50=this[_0x5899be(0x3d5)][_0x5899be(0x264)](_0x190799[_0x5899be(0x3e5)],this[_0x5899be(0x114)],this[_0x5899be(0x430)],_0xc06b86,this[_0x5899be(0x127)]);this[_0x5899be(0x443)]();const _0x4f81a2=new Date()[_0x5899be(0x1f1)](),_0x1ee5cc=this[_0x5899be(0x2b4)]?Math[_0x5899be(0x129)](this[_0x5899be(0x2b4)]-_0x4f81a2,0x0):this[_0x5899be(0x3ed)]();return _0x23cf50[_0x5899be(0x3bd)](_0x1ee5cc),_0x23cf50;}throw _0x2b9422['error'];}catch(_0xcde3c){return this[_0x5899be(0x200)][_0x5899be(0x25e)](_0xcde3c),this['_onConflict'](!0x1);}}[_0x27d9cd(0x45e)](){var _0x4a1afc=_0x27d9cd;throw new Error(_0x4a1afc(0x3a6));}[_0x27d9cd(0x296)](){var _0x587f1f=_0x27d9cd;throw new Error(_0x587f1f(0x1c4));}['onRemoteRetry'](){return this;}[_0x27d9cd(0x109)](){var _0x3ae01b=_0x27d9cd;return this[_0x3ae01b(0x443)](),this['_injector']['createInstance'](_0x190799['OfflineState'],this[_0x3ae01b(0x114)],this[_0x3ae01b(0x430)],null,this[_0x3ae01b(0x1cf)],this[_0x3ae01b(0x127)]);}[_0x27d9cd(0x101)](){return this;}['_schedule'](_0x4f6ed1){var _0x43704d=_0x27d9cd;const _0x59230f=_0x4f6ed1!=null?_0x4f6ed1:this[_0x43704d(0x3ed)]();this[_0x43704d(0x2b4)]=new Date()[_0x43704d(0x1f1)]()+_0x59230f,this[_0x43704d(0x46f)]=setTimeout(()=>{var _0x18c1cf=_0x43704d;this['_clearScheduledTask']();let _0x50c88a=null;switch(this[_0x18c1cf(0x430)]){case _0x3bdfff[_0x18c1cf(0x15b)]:{_0x50c88a=_0x16565d(this[_0x18c1cf(0x1cf)],this[_0x18c1cf(0x114)],this[_0x18c1cf(0x3c6)],this[_0x18c1cf(0x184)],this[_0x18c1cf(0x1d0)]);break;}case _0x3bdfff[_0x18c1cf(0x374)]:{this[_0x18c1cf(0x1cf)]['every'](_0x351a8e=>_0x351a8e['id']===_0x306b12['RichTextEditingMutation']['id'])?_0x50c88a=_0x287691(this[_0x18c1cf(0x1cf)],this[_0x18c1cf(0x114)],this[_0x18c1cf(0x3c6)],this[_0x18c1cf(0x184)],this['_memberService']):_0x50c88a=_0x16565d(this['_pendingMutations'],this[_0x18c1cf(0x114)],this[_0x18c1cf(0x3c6)],this[_0x18c1cf(0x184)],this[_0x18c1cf(0x1d0)]);break;}default:throw new Error(_0x18c1cf(0x439)+this[_0x18c1cf(0x430)]+'\x20in\x20_schedule.');}const {changeset:_0x5f1b1a,pendingMutations:_0x7aa050}=_0x50c88a;this[_0x18c1cf(0x127)][_0x18c1cf(0x205)](_0x5f1b1a);const _0x3a5331=_0x7aa050['length']?this[_0x18c1cf(0x3d5)][_0x18c1cf(0x264)](_0x190799['AwaitingWithPendingState'],this['unitID'],this[_0x18c1cf(0x430)],_0x5f1b1a,_0x7aa050,this[_0x18c1cf(0x127)],void 0x0):this[_0x18c1cf(0x3d5)]['createInstance'](_0x190799['AwaitingState'],this[_0x18c1cf(0x114)],this[_0x18c1cf(0x430)],_0x5f1b1a,this[_0x18c1cf(0x127)]);_0x3a5331[_0x18c1cf(0x220)](),this[_0x18c1cf(0x127)][_0x18c1cf(0x39e)](this,_0x3a5331);},_0x59230f);}[_0x27d9cd(0x3ed)](){var _0x585db8=_0x27d9cd,_0x1e57a9;const _0x338529=this[_0x585db8(0x435)]['getConfig'](_0xa270ad);return(_0x1e57a9=_0x338529==null?void 0x0:_0x338529['sendChangesetTimeout'])!=null?_0x1e57a9:0x7d0;}[_0x27d9cd(0x48e)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x5ec2c8=_0x27d9cd;this[_0x5ec2c8(0x46f)]!=null&&(clearTimeout(this[_0x5ec2c8(0x46f)]),this[_0x5ec2c8(0x46f)]=null);}[_0x27d9cd(0x426)](_0x147669){var _0x2bcd4f=_0x27d9cd;return this[_0x2bcd4f(0x443)](),this[_0x2bcd4f(0x3d5)][_0x2bcd4f(0x264)](_0x190799[_0x2bcd4f(0x2dd)],this[_0x2bcd4f(0x114)],this[_0x2bcd4f(0x430)],null,this['_pendingMutations'],this[_0x2bcd4f(0x127)],_0x147669);}},_0x190799[_0x27d9cd(0x3e5)]=_0x4767ae([_0x27af08(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['Injector'])),_0x27af08(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x190799[_0x27d9cd(0x3cb)])),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x34d)]),_0x27af08(0xa,_0x5a8633[_0x27d9cd(0x2af)]),_0x27af08(0xb,_0xecd3bb['IUniverInstanceService']),_0x27af08(0xc,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0xd,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799['PendingState']),_0x190799[_0x27d9cd(0x1dd)]=class extends _0x3bb8e0{constructor(_0x544eef,_0x5b587c,_0x509cf5,_0x30b1a2,_0x1c3830,_0xf882d5,_0x43caa7,_0x8b934b,_0xac8869,_0x29980c,_0x1b2382){var _0x21f7ac=_0x27d9cd;super(_0x544eef,_0x5b587c,_0x509cf5,[],_0x30b1a2,_0x43caa7,_0x29980c,_0xf882d5,_0x1b2382),_0x45ccb1(this,_0x21f7ac(0x1c1),_0x21f7ac(0x41e)),_0x45ccb1(this,_0x21f7ac(0x160),0x0),_0x45ccb1(this,_0x21f7ac(0x357),0x0),_0x45ccb1(this,'_resendTimer'),_0x45ccb1(this,_0x21f7ac(0x19c)),(this[_0x21f7ac(0x3d5)]=_0x1c3830,this[_0x21f7ac(0x200)]=_0x8b934b,this['_transformService']=_0xac8869);}[_0x27d9cd(0x433)](_0x24e071){var _0x52c4bb=_0x27d9cd;this['_clearScheduledTask']();const _0x589a1e=this[_0x52c4bb(0x3d5)][_0x52c4bb(0x264)](_0x190799['AwaitingWithPendingState'],this['unitID'],this[_0x52c4bb(0x430)],this[_0x52c4bb(0x2fc)],[_0x24e071],this[_0x52c4bb(0x127)],this[_0x52c4bb(0x226)]);return _0x589a1e['_updateLocalCache'](),_0x589a1e;}[_0x27d9cd(0x20a)](_0x1edbf7){var _0x5d89ce=_0x27d9cd;if(this['_checkMissing'](_0x1edbf7))return this['_clearScheduledTask'](),this['_injector'][_0x5d89ce(0x264)](_0x190799[_0x5d89ce(0x314)],this[_0x5d89ce(0x114)],this[_0x5d89ce(0x430)],this['_awaitingChangeset'],[],null,[_0x1edbf7],this[_0x5d89ce(0x127)]);try{const _0x54d6a8=this[_0x5d89ce(0x2f2)]['transformChangesets']([_0x1edbf7],[this[_0x5d89ce(0x2fc)]],!0x1);if(_0x5a8633['isTransformChangesetsSuccess'](_0x54d6a8)){const {c1Prime:_0x2b5188,c2Prime:_0xa46e60}=_0x54d6a8;this[_0x5d89ce(0x204)](_0x2b5188[0x0]),_0xa46e60[0x0][_0x5d89ce(0x343)]=this[_0x5d89ce(0x217)](),this[_0x5d89ce(0x443)]();const _0x26d7b9=this[_0x5d89ce(0x3d5)]['createInstance'](_0x190799[_0x5d89ce(0x1dd)],this[_0x5d89ce(0x114)],this[_0x5d89ce(0x430)],_0xa46e60[0x0],this[_0x5d89ce(0x127)]);return _0x26d7b9[_0x5d89ce(0x220)](),_0x26d7b9;}return this['_onConflict'](!0x1);}catch(_0x2fcfcb){return this['_logService'][_0x5d89ce(0x25e)](_0x2fcfcb),this['_onConflict'](!0x1);}}[_0x27d9cd(0x45e)](_0x19a0f8){var _0x5e216c=_0x27d9cd;this[_0x5e216c(0x443)]();const _0x3171cc=this[_0x5e216c(0x184)][_0x5e216c(0x2e2)](this[_0x5e216c(0x114)]);if(_0x19a0f8[_0x5e216c(0x2a4)]<_0x3171cc-0x1)return this;if(this[_0x5e216c(0x479)](_0x19a0f8))return this[_0x5e216c(0x3d5)][_0x5e216c(0x264)](_0x190799[_0x5e216c(0x314)],this['unitID'],this[_0x5e216c(0x430)],null,[],this[_0x5e216c(0x2fc)],[],this[_0x5e216c(0x127)]);this[_0x5e216c(0x1ea)]();const _0x3cc6ef=this[_0x5e216c(0x3d5)][_0x5e216c(0x264)](_0x190799['SyncedState'],this[_0x5e216c(0x114)],this[_0x5e216c(0x430)],this[_0x5e216c(0x127)]);return _0x3cc6ef['_updateLocalCache'](),_0x3cc6ef;}[_0x27d9cd(0x296)](_0x176d2d){var _0x232d4c=_0x27d9cd;return this[_0x232d4c(0x426)](!!(_0x176d2d!=null&&_0x176d2d[_0x232d4c(0x155)]));}[_0x27d9cd(0x2db)](_0x4a9c7e){var _0x14a625=_0x27d9cd;return this['_maxTotalRetryTimeout']>_0xdb260c?this[_0x14a625(0x109)]():(this[_0x14a625(0x226)]=_0x23da11(this[_0x14a625(0x160)],{'timeout':this[_0x14a625(0x160)],'reqId':_0x4a9c7e[_0x14a625(0x31c)]}),this[_0x14a625(0x19c)]=this['_resendTimer'][_0x14a625(0x316)](({reqId:_0x5377ca,timeout:_0x175892})=>{var _0x30ccad=_0x14a625;this[_0x30ccad(0x37e)](_0x5377ca,_0x175892);}),this);}['toggleOffline'](){var _0x1dd275=_0x27d9cd;return this[_0x1dd275(0x443)](),this['_injector']['createInstance'](_0x190799[_0x1dd275(0x48b)],this[_0x1dd275(0x114)],this[_0x1dd275(0x430)],this[_0x1dd275(0x2fc)],[],this[_0x1dd275(0x127)]);}[_0x27d9cd(0x101)](){return this;}[_0x27d9cd(0x48e)](){var _0x120140=_0x27d9cd;this[_0x120140(0x127)][_0x120140(0x205)](this['_awaitingChangeset']);}['_onConflict'](_0x26c0ba){var _0x582328=_0x27d9cd;return this[_0x582328(0x443)](),this[_0x582328(0x3d5)][_0x582328(0x264)](_0x190799[_0x582328(0x2dd)],this['unitID'],this[_0x582328(0x430)],this[_0x582328(0x2fc)],[],this['_handler'],_0x26c0ba);}[_0x27d9cd(0x37e)](_0x10d955,_0x272ba7){var _0x409397=_0x27d9cd,_0x1169a1;_0x10d955===((_0x1169a1=this[_0x409397(0x2fc)])==null?void 0x0:_0x1169a1[_0x409397(0x31c)])&&(this['resend'](),this[_0x409397(0x160)]=_0x272ba7===0x0?0x3e8:Math[_0x409397(0x32f)](_0x272ba7*0x2,_0x2a0dcc),this[_0x409397(0x357)]+=this['_resendTimeout']);}[_0x27d9cd(0x443)](){var _0x445fdf=_0x27d9cd,_0x533a82;(_0x533a82=this[_0x445fdf(0x19c)])==null||_0x533a82[_0x445fdf(0x416)](),this[_0x445fdf(0x160)]=0x0,this[_0x445fdf(0x357)]=0x0;}},_0x190799[_0x27d9cd(0x1dd)]=_0x4767ae([_0x27af08(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x6,_0xecd3bb['ICommandService']),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0x8,_0x5a8633[_0x27d9cd(0x2af)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0xa,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x1dd)]),_0x190799[_0x27d9cd(0x1d4)]=class extends _0x3bb8e0{constructor(_0x9e3e7a,_0x4750a2,_0x19a3a9,_0x2ce0fe,_0x5d7333,_0x4b95fa,_0x36aa11,_0x5b12cb,_0x88261e,_0x398d36,_0x130a7e,_0xc895a9,_0x9775d7){var _0x1c228b=_0x27d9cd;super(_0x9e3e7a,_0x4750a2,_0x19a3a9,_0x2ce0fe,_0x5d7333,_0x88261e,_0xc895a9,_0x5b12cb,_0x9775d7),_0x45ccb1(this,'status',_0x1c228b(0x480)),_0x45ccb1(this,_0x1c228b(0x160),0x0),_0x45ccb1(this,_0x1c228b(0x357),0x0),_0x45ccb1(this,_0x1c228b(0x226)),_0x45ccb1(this,_0x1c228b(0x19c)),(this[_0x1c228b(0x3d5)]=_0x36aa11,this[_0x1c228b(0x200)]=_0x398d36,this[_0x1c228b(0x2f2)]=_0x130a7e,this[_0x1c228b(0x193)]=_0x9775d7,_0x4b95fa&&(this[_0x1c228b(0x226)]=_0x4b95fa,this[_0x1c228b(0x19c)]=this[_0x1c228b(0x226)][_0x1c228b(0x316)](({reqId:_0x8c19e6,timeout:_0x452d0c})=>{var _0x2beb93=_0x1c228b;this[_0x2beb93(0x37e)](_0x8c19e6,_0x452d0c);})));}['appendMutation'](_0x3d5a88){var _0x266ecf=_0x27d9cd;return this[_0x266ecf(0x1cf)][_0x266ecf(0x484)](_0x3d5a88),this;}[_0x27d9cd(0x20a)](_0x37799a){var _0x27f653=_0x27d9cd;if(this[_0x27f653(0x479)](_0x37799a))return this[_0x27f653(0x443)](),this[_0x27f653(0x3d5)][_0x27f653(0x264)](_0x190799[_0x27f653(0x314)],this[_0x27f653(0x114)],this['type'],this[_0x27f653(0x2fc)],this[_0x27f653(0x1cf)],null,[_0x37799a],this[_0x27f653(0x127)]);try{const _0x8c87e1=this[_0x27f653(0x2f2)][_0x27f653(0x462)]([_0x37799a],[this['_awaitingChangeset']],!0x1);if(_0x5a8633['isTransformChangesetsSuccess'](_0x8c87e1)){const {c1Prime:_0x23d761,c2Prime:_0x3a414e}=_0x8c87e1,_0x21f0e0=this[_0x27f653(0x2f2)]['transformMutationsWithChangeset'](_0x23d761[0x0],this[_0x27f653(0x1cf)]);if(_0x5a8633['isTransformMutationsWithChangesetSuccess'](_0x21f0e0)){const {c1Prime:_0x3f2d6b,m2Prime:_0x5b748c}=_0x21f0e0;return this['_executeRemoteChangeset'](_0x3f2d6b),_0x3a414e[0x0][_0x27f653(0x343)]=this[_0x27f653(0x217)](),this[_0x27f653(0x443)](),this[_0x27f653(0x3d5)][_0x27f653(0x264)](_0x190799[_0x27f653(0x1d4)],this[_0x27f653(0x114)],this['type'],_0x3a414e[0x0],_0x5b748c,this[_0x27f653(0x127)],void 0x0);}throw _0x21f0e0[_0x27f653(0x25e)];}throw _0x8c87e1[_0x27f653(0x25e)];}catch(_0x312b7e){return this[_0x27f653(0x200)][_0x27f653(0x25e)](_0x312b7e),this[_0x27f653(0x426)](!0x1);}}[_0x27d9cd(0x45e)](_0x41a368){var _0x241f1f=_0x27d9cd;if(this['_clearScheduledTask'](),this[_0x241f1f(0x479)](_0x41a368))return this[_0x241f1f(0x3d5)][_0x241f1f(0x264)](_0x190799[_0x241f1f(0x314)],this[_0x241f1f(0x114)],this['type'],null,this[_0x241f1f(0x1cf)],this[_0x241f1f(0x2fc)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x4f8a6e=this[_0x241f1f(0x3d5)]['createInstance'](_0x190799[_0x241f1f(0x3e5)],this[_0x241f1f(0x114)],this[_0x241f1f(0x430)],this[_0x241f1f(0x1cf)],this[_0x241f1f(0x127)]);return _0x4f8a6e[_0x241f1f(0x3bd)](),_0x4f8a6e[_0x241f1f(0x220)](),_0x4f8a6e;}[_0x27d9cd(0x296)](_0x2c0066){var _0x459392=_0x27d9cd;return this[_0x459392(0x426)](!!(_0x2c0066!=null&&_0x2c0066[_0x459392(0x155)]));}[_0x27d9cd(0x2db)](_0xee8211){var _0x20731a=_0x27d9cd;return this['_maxTotalRetryTimeout']>_0xdb260c?this[_0x20731a(0x109)]():(this[_0x20731a(0x226)]=_0x23da11(this[_0x20731a(0x160)],{'timeout':this['_resendTimeout'],'reqId':_0xee8211[_0x20731a(0x31c)]}),this[_0x20731a(0x19c)]=this[_0x20731a(0x226)][_0x20731a(0x316)](({reqId:_0x4dd544,timeout:_0x38c467})=>{var _0x165bf9=_0x20731a;this[_0x165bf9(0x37e)](_0x4dd544,_0x38c467);}),this);}[_0x27d9cd(0x109)](){var _0x6cd511=_0x27d9cd;return this[_0x6cd511(0x443)](),this['_injector'][_0x6cd511(0x264)](_0x190799['OfflineState'],this[_0x6cd511(0x114)],this[_0x6cd511(0x430)],this[_0x6cd511(0x2fc)],this[_0x6cd511(0x1cf)],this[_0x6cd511(0x127)]);}[_0x27d9cd(0x101)](){return this;}[_0x27d9cd(0x48e)](){var _0x55302e=_0x27d9cd;this['_handler']['onSendChangeset'](this[_0x55302e(0x2fc)]);}[_0x27d9cd(0x426)](_0x52934d){var _0x1ae0f7=_0x27d9cd;return this[_0x1ae0f7(0x443)](),this[_0x1ae0f7(0x3d5)]['createInstance'](_0x190799[_0x1ae0f7(0x2dd)],this[_0x1ae0f7(0x114)],this[_0x1ae0f7(0x430)],null,this['_pendingMutations'],this[_0x1ae0f7(0x127)],_0x52934d);}[_0x27d9cd(0x37e)](_0x1fe09d,_0x49089b){var _0x5a7441=_0x27d9cd,_0x1ec2ab;_0x1fe09d===((_0x1ec2ab=this[_0x5a7441(0x2fc)])==null?void 0x0:_0x1ec2ab[_0x5a7441(0x31c)])&&(this[_0x5a7441(0x48e)](),this[_0x5a7441(0x160)]=_0x49089b===0x0?0x3e8:Math['min'](_0x49089b*0x2,_0x2a0dcc),this[_0x5a7441(0x357)]+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x558bdb=_0x27d9cd,_0x4676a8;(_0x4676a8=this['_sender'])==null||_0x4676a8[_0x558bdb(0x416)](),this['_resendTimeout']=0x0,this[_0x558bdb(0x357)]=0x0;}},_0x190799[_0x27d9cd(0x1d4)]=_0x4767ae([_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0xa,_0x5a8633['ITransformService']),_0x27af08(0xb,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0xc,_0xecd3bb['Optional'](_0x521485))],_0x190799[_0x27d9cd(0x1d4)]),_0x190799[_0x27d9cd(0x2dd)]=class extends _0x3bb8e0{constructor(_0x9b6c8b,_0x527f5f,_0x378355,_0x2b69e6,_0x476839,_0x1f7e74=!0x1,_0x39a457,_0x3ca38d,_0x3c9324,_0x302db7,_0x469b66,_0x52568f,_0xbc476d){var _0x43893d=_0x27d9cd;super(_0x9b6c8b,_0x527f5f,_0x378355,_0x2b69e6,_0x476839,_0x3ca38d,_0x3c9324,_0x302db7,_0xbc476d),_0x45ccb1(this,_0x43893d(0x1c1),_0x43893d(0x3f2)),(this[_0x43893d(0x40c)]=_0x1f7e74,this[_0x43893d(0x1cd)]=_0x39a457,this['_localeService']=_0x469b66,this['_collaborationUIEventService']=_0x52568f,this['localCacheService']=_0xbc476d,this[_0x43893d(0x186)](),this[_0x43893d(0x2e8)](),this[_0x43893d(0x2c5)]());}['appendMutation'](){return this;}[_0x27d9cd(0x20a)](){return this;}[_0x27d9cd(0x45e)](){return this;}[_0x27d9cd(0x296)](){return this;}[_0x27d9cd(0x2db)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x27d9cd(0x48e)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0xe6fef9=_0x27d9cd,_0x1ae53a;(_0x1ae53a=this[_0xe6fef9(0x22d)])==null||_0x1ae53a[_0xe6fef9(0x1db)](this[_0xe6fef9(0x114)],this[_0xe6fef9(0x430)],null,[]);}[_0x27d9cd(0x186)](){var _0x5036c6=_0x27d9cd;this[_0x5036c6(0x40c)]?this['_collaborationUIEventService'][_0x5036c6(0x2eb)]({'id':_0x1af2c4[_0x5036c6(0x25c)]}):this[_0x5036c6(0x2de)][_0x5036c6(0x2eb)]({'id':_0x1af2c4[_0x5036c6(0x302)]});}[_0x27d9cd(0x2c5)](){var _0x51f783=_0x27d9cd;this['_permissionService'][_0x51f783(0x3d2)](new _0x51c935[(_0x51f783(0x1ef))](this[_0x51f783(0x114)])['id'],!0x1);}},_0x190799['ConflictState']=_0x4767ae([_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['IPermissionService'])),_0x27af08(0x7,_0xecd3bb['ICommandService']),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0xa,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x2ba)])),_0x27af08(0xb,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x27af08(0xc,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x2dd)]),_0x190799[_0x27d9cd(0x48b)]=class extends _0x3bb8e0{constructor(_0x2db3be,_0x3d512c,_0x45832b,_0x2fddb3,_0x29d24c,_0x255b2b,_0x3b6115,_0x342747,_0x579302,_0x4b9d7c){var _0x1eef62=_0x27d9cd;super(_0x2db3be,_0x3d512c,_0x45832b,_0x2fddb3,_0x29d24c,_0x342747,_0x579302,_0x3b6115,_0x4b9d7c),_0x45ccb1(this,_0x1eef62(0x1c1),_0x1eef62(0x488)),this[_0x1eef62(0x3d5)]=_0x255b2b;}[_0x27d9cd(0x433)](_0x4486c1){var _0x3daa95=_0x27d9cd;return this[_0x3daa95(0x1cf)][_0x3daa95(0x484)](_0x4486c1),this[_0x3daa95(0x220)](),this;}[_0x27d9cd(0x20a)](_0x2aec6e){var _0x5bbcfb=_0x27d9cd;throw new Error(_0x5bbcfb(0x3d4));}[_0x27d9cd(0x45e)](){var _0x1a1dcc=_0x27d9cd;throw new Error(_0x1a1dcc(0x246));}[_0x27d9cd(0x296)](){var _0x13842d=_0x27d9cd;throw new Error(_0x13842d(0x165));}[_0x27d9cd(0x2db)](){return this;}['toggleOffline'](){return this;}[_0x27d9cd(0x101)](){var _0x4b128a=_0x27d9cd;const {_injector:_0x36ef1d,_pendingMutations:_0x2cf80f,_awaitingChangeset:_0x200cac,unitID:_0x19d483,_handler:_0x115fa7,type:_0x1624e1}=this,_0x4dc38f=_0x54b301(_0x36ef1d,_0x19d483,_0x1624e1,_0x200cac,_0x2cf80f,_0x115fa7);return _0x4dc38f instanceof _0x190799[_0x4b128a(0x3e5)]?_0x4dc38f[_0x4b128a(0x3bd)]():(_0x4dc38f instanceof _0x190799[_0x4b128a(0x1d4)]||_0x4dc38f instanceof _0x190799[_0x4b128a(0x1dd)])&&_0x4dc38f[_0x4b128a(0x48e)](),_0x4dc38f;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x190799[_0x27d9cd(0x48b)]=_0x4767ae([_0x27af08(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799['OfflineState']),_0x190799[_0x27d9cd(0x314)]=class extends _0x3bb8e0{constructor(_0x573a3e,_0x411ac2,_0x98979,_0x1d2ba8,_0x573409,_0x1a33f2,_0x5721a5,_0x533518,_0x39f727,_0x404a84,_0x23fad1,_0x53c3d5,_0xb2d7f7,_0xf2e34e){var _0x3b3ca7=_0x27d9cd;super(_0x573a3e,_0x411ac2,_0x98979,_0x1d2ba8,_0x5721a5,_0x23fad1,_0x53c3d5,_0x39f727,_0xf2e34e),_0x45ccb1(this,'status',_0x3b3ca7(0x44a)),(this[_0x3b3ca7(0x3ec)]=_0x573409,this['_queuedRemoteChangesets']=_0x1a33f2,this[_0x3b3ca7(0x3d5)]=_0x533518,this['_logService']=_0x404a84,this['_transformService']=_0xb2d7f7,this[_0x3b3ca7(0x193)]=_0xf2e34e);}[_0x27d9cd(0x1e7)](_0x118e37){var _0x2e7620=_0x27d9cd;try{const _0x566b2d=[..._0x118e37,...this[_0x2e7620(0x227)]],_0x162b41=[this[_0x2e7620(0x2fc)]||this[_0x2e7620(0x3ec)]][_0x2e7620(0x31b)](_0x4aa2da=>!!_0x4aa2da);let _0x3be3af,_0x2b610b;if(_0x162b41[_0x2e7620(0x3ea)]){const _0x66f10c=this[_0x2e7620(0x2f2)]['transformChangesets'](_0x566b2d,_0x162b41,!0x1);if(!_0x5a8633['isTransformChangesetsSuccess'](_0x66f10c))throw _0x66f10c[_0x2e7620(0x25e)];_0x3be3af=_0x66f10c[_0x2e7620(0x1fe)],_0x2b610b=_0x66f10c[_0x2e7620(0x42e)];}else _0x3be3af=_0x566b2d,_0x2b610b=[];let _0xae5fff=this[_0x2e7620(0x1cf)];_0x3be3af[_0x2e7620(0x266)](_0x2c5db2=>{var _0xf1bc81=_0x2e7620;let _0xd87fc0;if(_0xae5fff[_0xf1bc81(0x3ea)]){const _0x1ab707=this[_0xf1bc81(0x2f2)]['transformMutationsWithChangeset'](_0x2c5db2,_0xae5fff);if(!_0x5a8633[_0xf1bc81(0x396)](_0x1ab707))throw _0x1ab707['error'];_0xd87fc0=_0x1ab707['c1Prime'],_0xae5fff=_0x1ab707[_0xf1bc81(0x16e)];}else _0xd87fc0=_0x2c5db2;this[_0xf1bc81(0x204)](_0xd87fc0);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2e7620(0x1ea)](),this['_awaitingChangeset']&&_0x2b610b[_0x2e7620(0x3ea)]&&(_0x2b610b[0x0][_0x2e7620(0x343)]=this[_0x2e7620(0x217)]());let _0x8ee623;if(this['_awaitingChangeset']&&_0xae5fff['length']!==0x0)_0x8ee623=this['_injector'][_0x2e7620(0x264)](_0x190799[_0x2e7620(0x1d4)],this[_0x2e7620(0x114)],this[_0x2e7620(0x430)],_0x2b610b[0x0],_0xae5fff,this[_0x2e7620(0x127)],void 0x0);else{if(this[_0x2e7620(0x2fc)]&&_0xae5fff[_0x2e7620(0x3ea)]===0x0)_0x2b610b[0x0][_0x2e7620(0x343)]=this[_0x2e7620(0x217)](),_0x8ee623=this['_injector']['createInstance'](_0x190799['AwaitingState'],this[_0x2e7620(0x114)],this[_0x2e7620(0x430)],_0x2b610b[0x0],this[_0x2e7620(0x127)]);else{if(_0xae5fff[_0x2e7620(0x3ea)]!==0x0){const _0x2e0ae6=this['_injector'][_0x2e7620(0x264)](_0x190799['PendingState'],this[_0x2e7620(0x114)],this[_0x2e7620(0x430)],_0xae5fff,this['_handler']);_0x2e0ae6['_schedule'](),_0x8ee623=_0x2e0ae6;}else _0x8ee623=this[_0x2e7620(0x3d5)][_0x2e7620(0x264)](_0x190799['SyncedState'],this[_0x2e7620(0x114)],this[_0x2e7620(0x430)],this['_handler']);}}return _0x8ee623[_0x2e7620(0x220)](),_0x8ee623;}catch(_0x3c9729){return this[_0x2e7620(0x200)][_0x2e7620(0x25e)](_0x2e7620(0x489),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3c9729),this[_0x2e7620(0x3d5)][_0x2e7620(0x264)](_0x190799['ConflictState'],this['unitID'],this[_0x2e7620(0x430)],this[_0x2e7620(0x2fc)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x27d9cd(0x48e)](){var _0x91db91=_0x27d9cd;throw new Error(_0x91db91(0x3e8));}[_0x27d9cd(0x433)](_0xbc6e4a){var _0x50693f=_0x27d9cd;return this[_0x50693f(0x1cf)][_0x50693f(0x484)](_0xbc6e4a),this;}[_0x27d9cd(0x20a)](_0x30e680){var _0x5fb990=_0x27d9cd;return this[_0x5fb990(0x227)]['push'](_0x30e680),this;}['onRemoteAck'](_0x3b50a7){var _0x429229=_0x27d9cd;if(this[_0x429229(0x2fc)])return this['_acknowledgedAwaitingChangeset']=this[_0x429229(0x2fc)],this[_0x429229(0x2fc)]=null,this;throw new Error(_0x429229(0x48f));}[_0x27d9cd(0x296)](_0x2fb5e7){var _0x41e4b6=_0x27d9cd;return this[_0x41e4b6(0x426)](!!(_0x2fb5e7!=null&&_0x2fb5e7['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2edd91=_0x27d9cd;return this[_0x2edd91(0x3d5)][_0x2edd91(0x264)](_0x190799[_0x2edd91(0x48b)],this[_0x2edd91(0x114)],this[_0x2edd91(0x430)],this[_0x2edd91(0x2fc)],this[_0x2edd91(0x1cf)],this[_0x2edd91(0x127)]);}[_0x27d9cd(0x101)](){return this;}['_onConflict'](_0x4fedcc){var _0x413805=_0x27d9cd;return this[_0x413805(0x3d5)]['createInstance'](_0x190799['ConflictState'],this['unitID'],this[_0x413805(0x430)],this[_0x413805(0x2fc)],this[_0x413805(0x1cf)],this[_0x413805(0x127)],_0x4fedcc);}},_0x190799[_0x27d9cd(0x314)]=_0x4767ae([_0x27af08(0x7,_0xecd3bb['Inject'](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0xa,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0xb,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0xc,_0x5a8633[_0x27d9cd(0x2af)]),_0x27af08(0xd,_0xecd3bb['Optional'](_0x521485))],_0x190799[_0x27d9cd(0x314)]);function _0x54b301(_0x4bf4d1,_0x130e39,_0x391433,_0x85fb2e,_0x5ab0b8,_0x5c12a6){var _0x32c8e5=_0x27d9cd;return _0x85fb2e&&_0x5ab0b8[_0x32c8e5(0x3ea)]?_0x4bf4d1[_0x32c8e5(0x264)](_0x190799[_0x32c8e5(0x1d4)],_0x130e39,_0x391433,_0x85fb2e,_0x5ab0b8,_0x5c12a6,void 0x0):_0x85fb2e?_0x4bf4d1[_0x32c8e5(0x264)](_0x190799[_0x32c8e5(0x1dd)],_0x130e39,_0x391433,_0x85fb2e,_0x5c12a6):_0x5ab0b8[_0x32c8e5(0x3ea)]?_0x4bf4d1[_0x32c8e5(0x264)](_0x190799[_0x32c8e5(0x3e5)],_0x130e39,_0x391433,_0x5ab0b8,_0x5c12a6):_0x4bf4d1[_0x32c8e5(0x264)](_0x190799[_0x32c8e5(0x485)],_0x130e39,_0x391433,_0x5c12a6);}var _0x20e657=Object[_0x27d9cd(0x49e)],_0x51a4d0=(_0x2e8d98,_0x2addf0,_0x387151,_0x42249b)=>{for(var _0x7e2699=_0x42249b>0x1?void 0x0:_0x42249b?_0x20e657(_0x2addf0,_0x387151):_0x2addf0,_0x1ad074=_0x2e8d98['length']-0x1,_0x3eea19;_0x1ad074>=0x0;_0x1ad074--)(_0x3eea19=_0x2e8d98[_0x1ad074])&&(_0x7e2699=_0x3eea19(_0x7e2699)||_0x7e2699);return _0x7e2699;},_0x1b6f50=(_0x5779d8,_0x4f2f9b)=>(_0x275975,_0x3fd733)=>_0x4f2f9b(_0x275975,_0x3fd733,_0x5779d8);_0x190799[_0x27d9cd(0x3dd)]=class extends _0xecd3bb[_0x27d9cd(0x1e0)]{constructor(_0x5914a7,_0x42f455,_0x4c30d9,_0x3cd6ea,_0x474cf2,_0x38423a,_0x2f9007,_0x4613d8,_0x535823,_0x4c0774,_0x50f5d4,_0x2edafe,_0x23d9a9,_0x1beb19){var _0x13f86b=_0x27d9cd;super(),_0x45ccb1(this,'_state$',new _0x3b002d[(_0x13f86b(0x131))](null)),_0x45ccb1(this,_0x13f86b(0x223),this[_0x13f86b(0x255)][_0x13f86b(0x3d0)]()),_0x45ccb1(this,_0x13f86b(0x21a)),_0x45ccb1(this,_0x13f86b(0x24c),!0x1),_0x45ccb1(this,_0x13f86b(0x1e6),''),_0x45ccb1(this,_0x13f86b(0x189),0x0),_0x45ccb1(this,_0x13f86b(0x436),this[_0x13f86b(0x223)][_0x13f86b(0x15f)](_0x3b002d[_0x13f86b(0x14b)](_0x493686=>_0x493686?_0x493686[_0x13f86b(0x1c1)]:_0x5d612c[_0x13f86b(0x47c)]),_0x3b002d[_0x13f86b(0x108)](0x1))),_0x45ccb1(this,_0x13f86b(0x28b),!0x1),_0x45ccb1(this,_0x13f86b(0x1cc),[]),(this['unitID']=_0x5914a7,this['session']=_0x42f455,this[_0x13f86b(0x1b6)]=_0x4c30d9,this[_0x13f86b(0x3d5)]=_0x3cd6ea,this[_0x13f86b(0x121)]=_0x474cf2,this[_0x13f86b(0x151)]=_0x38423a,this['_revisionService']=_0x2f9007,this['_eventService']=_0x4613d8,this[_0x13f86b(0x3c6)]=_0x535823,this[_0x13f86b(0x200)]=_0x4c0774,this[_0x13f86b(0x267)]=_0x50f5d4,this[_0x13f86b(0x1cd)]=_0x2edafe,this[_0x13f86b(0x3db)]=_0x23d9a9,this[_0x13f86b(0x22d)]=_0x1beb19);}get['state'](){var _0x4b7541=_0x27d9cd;return this[_0x4b7541(0x21a)];}async['init'](){var _0x36051f=_0x27d9cd;if(this['state'])throw new Error(_0x36051f(0x197));await this[_0x36051f(0x27e)]();}[_0x27d9cd(0x1eb)](){var _0x439866=_0x27d9cd;return this[_0x439866(0x24c)]=!0x0,_0xecd3bb[_0x439866(0x13a)](()=>{var _0x20ae9a=_0x439866;this[_0x20ae9a(0x24c)]=!0x1,this[_0x20ae9a(0x412)]();});}[_0x27d9cd(0x213)](_0x25fb1d){this['_onLocalMutation'](_0x25fb1d);}[_0x27d9cd(0x381)](_0xf34fe5){this['_state']=_0xf34fe5,this['_state$']['next'](_0xf34fe5);}async[_0x27d9cd(0x27e)](){var _0x488346=_0x27d9cd,_0x486024;this[_0x488346(0x381)](await this[_0x488346(0x29c)]()),this[_0x488346(0x3db)]&&((_0x486024=this[_0x488346(0x3db)])==null||_0x486024[_0x488346(0x35b)](this['unitID']),this[_0x488346(0x17c)](this[_0x488346(0x3db)][_0x488346(0x456)](this['unitID'])[_0x488346(0x316)](_0x38e851=>{var _0x203a9b=_0x488346;this[_0x203a9b(0x200)]['debug'](_0x203a9b(0x29e),_0x203a9b(0x35c),_0x38e851),_0x38e851===_0x502878[_0x203a9b(0x2e1)]?(this[_0x203a9b(0x1d8)][_0x203a9b(0x2eb)]({'id':_0x1af2c4[_0x203a9b(0x431)]}),this[_0x203a9b(0x1cd)]['updatePermissionPoint'](new _0x51c935[(_0x203a9b(0x1ef))](this[_0x203a9b(0x114)])['id'],!0x1),this[_0x203a9b(0x1cd)][_0x203a9b(0x19e)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x51c935[(_0x203a9b(0x1ef))](this[_0x203a9b(0x114)])['id'],!0x0),this[_0x203a9b(0x1cd)][_0x203a9b(0x19e)](!0x0));})));let _0x353d43=!0x1;return this[_0x488346(0x17c)](this[_0x488346(0x3fe)][_0x488346(0x2a8)][_0x488346(0x316)](_0x325772=>{var _0x2b0fa2=_0x488346;_0x325772===_0xe17649[_0x2b0fa2(0x318)]?this[_0x2b0fa2(0x3b2)](_0x353d43):_0x325772===_0xe17649['OFFLINE']&&(_0x353d43=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x488346(0x3fe)][_0x488346(0x14f)]['subscribe'](_0x445984=>{var _0x5a1652=_0x488346;try{switch(_0x445984['eventID']){case _0x5a8633[_0x5a1652(0x1ca)][_0x5a1652(0x303)]:{this[_0x5a1652(0x3bb)](_0x5a8633['parseProtocolChangeset'](_0x445984[_0x5a1652(0x23d)]));break;}case _0x5a8633[_0x5a1652(0x1ca)]['CHANGESET_ACK']:{this[_0x5a1652(0x2cf)](_0x445984[_0x5a1652(0x23d)]);break;}case _0x5a8633[_0x5a1652(0x1ca)][_0x5a1652(0x233)]:{this['_onRemoteRejected']();break;}case _0x5a8633['CollaborationEvent'][_0x5a1652(0x44f)]:{this[_0x5a1652(0x320)](_0x445984[_0x5a1652(0x23d)]);break;}case _0x5a8633[_0x5a1652(0x1ca)][_0x5a1652(0x2cb)]:{this[_0x5a1652(0x475)](_0x445984[_0x5a1652(0x23d)][_0x5a1652(0x221)]['map'](_0x2be05d=>_0x5a8633[_0x5a1652(0x45b)](_0x2be05d)));break;}case _0x5a8633['CollaborationEvent'][_0x5a1652(0x460)]:{this[_0x5a1652(0x451)]({'isPermissionRej':!0x0});break;}case _0x5a8633['CollaborationEvent'][_0x5a1652(0x278)]:break;}}catch(_0x423b8c){throw console['error'](_0x5a1652(0x1a2),_0x423b8c),_0x423b8c;}})),this[_0x488346(0x21a)];}[_0x27d9cd(0x400)](){var _0x1a024b=_0x27d9cd;this[_0x1a024b(0x28b)]=!0x1;}[_0x27d9cd(0x407)](){var _0x27cfbb=_0x27d9cd;if(this['_transitionLocked'])throw new Error(_0x27cfbb(0x26e));this[_0x27cfbb(0x28b)]=!0x0;}['_onLocalMutation'](_0x31eb16){var _0x184650=_0x27d9cd;this[_0x184650(0x407)](),this[_0x184650(0x381)](this[_0x184650(0x21a)][_0x184650(0x433)](_0x31eb16)),this[_0x184650(0x400)]();}[_0x27d9cd(0x3bb)](_0x62ff55){var _0x2c6886=_0x27d9cd;if(!(_0x62ff55['revision']<=this[_0x2c6886(0x184)]['getCurrentRevOfUnit'](this[_0x2c6886(0x114)]))){if(this[_0x2c6886(0x24c)]){this[_0x2c6886(0x1cc)]['push'](_0x62ff55);return;}this['_applyRemoteChangeset'](_0x62ff55);}}[_0x27d9cd(0x412)](){var _0x44fd39=_0x27d9cd;this[_0x44fd39(0x1cc)][_0x44fd39(0x266)](_0x2fd795=>this[_0x44fd39(0x23c)](_0x2fd795)),this[_0x44fd39(0x1cc)]=[];}[_0x27d9cd(0x23c)](_0x1dfd45){var _0x44aad9=_0x27d9cd;const _0x6a4fa7=this[_0x44aad9(0x121)][_0x44aad9(0x395)][_0x44aad9(0x359)](this[_0x44aad9(0x121)][_0x44aad9(0x395)][_0x44aad9(0x211)]()[_0x44aad9(0x422)])(_0x1dfd45['mutations'],null)||_0x1dfd45[_0x44aad9(0x1c6)],_0x5c76a9={..._0x1dfd45,'mutations':_0x6a4fa7};this[_0x44aad9(0x407)](),this['_updateState'](this[_0x44aad9(0x21a)][_0x44aad9(0x20a)](_0x5c76a9)),this[_0x44aad9(0x400)]();}[_0x27d9cd(0x2cf)](_0x3cd26a){var _0xc11b5b=_0x27d9cd;this['_lockTransition'](),this[_0xc11b5b(0x381)](this[_0xc11b5b(0x21a)][_0xc11b5b(0x45e)](_0x3cd26a)),this[_0xc11b5b(0x400)]();}[_0x27d9cd(0x451)](_0x14a5d0){var _0x36915f=_0x27d9cd;this[_0x36915f(0x407)](),this[_0x36915f(0x381)](this[_0x36915f(0x21a)]['onRemoteRej'](_0x14a5d0)),this[_0x36915f(0x400)]();}['_onRemoteRetry'](_0x12b9c4){var _0x19a680=_0x27d9cd;this['_lockTransition'](),this[_0x19a680(0x381)](this[_0x19a680(0x21a)][_0x19a680(0x2db)](_0x12b9c4)),this[_0x19a680(0x400)]();}[_0x27d9cd(0x475)](_0x291b6d){var _0x20e9c9=_0x27d9cd;if(!(this[_0x20e9c9(0x21a)]instanceof _0x190799[_0x20e9c9(0x314)]))throw new TypeError(_0x20e9c9(0x46d));const _0xf5680c=_0x291b6d[_0x20e9c9(0x14b)](_0x461bb0=>{var _0x37b224=_0x20e9c9;const _0x105b2b=this[_0x37b224(0x121)]['interceptor'][_0x37b224(0x359)](this[_0x37b224(0x121)][_0x37b224(0x395)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x461bb0[_0x37b224(0x1c6)],null)||_0x461bb0['mutations'];return{..._0x461bb0,'mutations':_0x105b2b};});this[_0x20e9c9(0x407)](),this[_0x20e9c9(0x381)](this[_0x20e9c9(0x21a)]['onMissedChangesetFetched'](_0xf5680c)),this['_unlockTransition']();}[_0x27d9cd(0x26a)](){var _0x3bb9d5=_0x27d9cd;this[_0x3bb9d5(0x407)](),this[_0x3bb9d5(0x381)](this['_state'][_0x3bb9d5(0x109)]()),this[_0x3bb9d5(0x400)]();}[_0x27d9cd(0x3b2)](_0x55db0d=!0x1){var _0xfb2a56=_0x27d9cd;this[_0xfb2a56(0x407)](),this[_0xfb2a56(0x381)](this[_0xfb2a56(0x21a)][_0xfb2a56(0x101)]()),this['_unlockTransition']();const _0x31dfc6=this[_0xfb2a56(0x21a)];_0x55db0d&&_0x31dfc6 instanceof _0x190799[_0xfb2a56(0x485)]&&(this['_lockTransition'](),this[_0xfb2a56(0x381)](_0x31dfc6[_0xfb2a56(0x3a5)]()),this[_0xfb2a56(0x400)]());}async[_0x27d9cd(0x29c)](){return new Promise(_0x28d5d9=>{var _0x3f71f2=_0x479e;this[_0x3f71f2(0x3fe)][_0x3f71f2(0x2a8)][_0x3f71f2(0x15f)](_0x3b002d['take'](0x1))[_0x3f71f2(0x316)](async _0x573aea=>{var _0x38a36c=_0x3f71f2;_0x28d5d9(await this['_createInitialStateImpl'](_0x573aea===_0xe17649[_0x38a36c(0x318)]));});});}[_0x27d9cd(0x304)](){var _0xe3d325=_0x27d9cd;const _0x16fe55=this[_0xe3d325(0x114)];return{'onStateChange':(_0x4d0df6,_0x1517d0)=>{var _0x4c11f0=_0xe3d325;if(_0x4d0df6!==this['_state'])throw new Error(_0x4c11f0(0x162)+_0x4d0df6[_0x4c11f0(0x1c1)]+'\x0aAfter:\x20'+_0x1517d0['status']+'\x0aCurrent:\x20'+this[_0x4c11f0(0x21a)][_0x4c11f0(0x1c1)]);this['_updateState'](_0x1517d0);},'onSendChangeset':_0x236aa5=>{var _0x3c2618=_0xe3d325;_0x236aa5['sid']||(_0x236aa5[_0x3c2618(0x2ce)]=this[_0x3c2618(0x1e6)],_0x236aa5[_0x3c2618(0x31c)]=++this[_0x3c2618(0x189)]);const _0x203bbe={'eventID':_0x5a8633[_0x3c2618(0x1ca)][_0x3c2618(0x3cd)],'data':{'unitID':_0x236aa5[_0x3c2618(0x114)],'unitType':this[_0x3c2618(0x1b6)],'changeset':_0x236aa5,'memberID':this[_0x3c2618(0x3fe)]['getMemberID']()}};this[_0x3c2618(0x3fe)]['send'](_0x203bbe,this[_0x3c2618(0x114)]);},'onMissingChangesets':({from:_0x3c7eae,to:_0x390f04})=>{var _0x50f1cd=_0xe3d325;this['_logService'][_0x50f1cd(0x176)](_0x50f1cd(0x29e),_0x50f1cd(0x3e9)+_0x3c7eae+_0x50f1cd(0x354)+_0x390f04);const _0x3b9e4b={'eventID':_0x5a8633['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x16fe55,'unitType':this[_0x50f1cd(0x1b6)],'from':_0x3c7eae,'to':_0x390f04}};this[_0x50f1cd(0x3fe)][_0x50f1cd(0x119)](_0x3b9e4b,this[_0x50f1cd(0x114)]);}};}async[_0x27d9cd(0x402)](_0x3c77a8){var _0x5a7f8c=_0x27d9cd,_0x36d219,_0x205253,_0x594e66;const _0x2ada21=await((_0x36d219=this[_0x5a7f8c(0x22d)])==null?void 0x0:_0x36d219[_0x5a7f8c(0x254)](this['unitID'])),_0x4b23bd=(_0x205253=_0x2ada21==null?void 0x0:_0x2ada21['mutations'])!=null?_0x205253:[],_0x47ae90=(_0x594e66=_0x2ada21==null?void 0x0:_0x2ada21[_0x5a7f8c(0x103)])!=null?_0x594e66:null,_0x37b27a=!!(_0x47ae90!=null&&_0x47ae90[_0x5a7f8c(0x2ce)])&&!!(_0x47ae90!=null&&_0x47ae90['reqId']);this[_0x5a7f8c(0x1e6)]=_0x37b27a?_0x47ae90[_0x5a7f8c(0x2ce)]:_0x5a8633[_0x5a7f8c(0x1d7)](),this[_0x5a7f8c(0x189)]=_0x37b27a?_0x47ae90['reqId']:0x0;const _0x36615f=this[_0x5a7f8c(0x114)];try{this[_0x5a7f8c(0x2c8)](_0x47ae90,_0x4b23bd);}catch(_0x3ef166){this['_logService'][_0x5a7f8c(0x25e)](_0x3ef166);}const _0x441652=this[_0x5a7f8c(0x304)]();if(_0x3c77a8){const _0xb8138b=_0x54b301(this['_injector'],_0x36615f,this[_0x5a7f8c(0x1b6)],_0x47ae90,_0x4b23bd,_0x441652);return _0xb8138b instanceof _0x190799[_0x5a7f8c(0x3e5)]?_0xb8138b[_0x5a7f8c(0x3bd)]():(_0xb8138b instanceof _0x190799[_0x5a7f8c(0x1d4)]||_0xb8138b instanceof _0x190799[_0x5a7f8c(0x1dd)])&&_0xb8138b[_0x5a7f8c(0x48e)](),_0xb8138b;}return this[_0x5a7f8c(0x3d5)][_0x5a7f8c(0x264)](_0x190799[_0x5a7f8c(0x48b)],_0x36615f,this[_0x5a7f8c(0x1b6)],_0x47ae90,_0x4b23bd,_0x441652);}['_replayCachedMutations'](_0x383b5b,_0x175580){var _0x442799=_0x27d9cd,_0x21fdf6,_0x42457d;const _0x183485=this['_compressMutationService'][_0x442799(0x395)][_0x442799(0x359)](this['_compressMutationService'][_0x442799(0x395)][_0x442799(0x211)]()[_0x442799(0x422)]);(_0x21fdf6=_0x183485((_0x383b5b==null?void 0x0:_0x383b5b[_0x442799(0x1c6)])||[],null))==null||_0x21fdf6[_0x442799(0x266)](_0x228528=>this['_commandService'][_0x442799(0x25d)](_0x228528['id'],_0x228528[_0x442799(0x300)])),(_0x42457d=_0x183485(_0x175580||[],null))==null||_0x42457d[_0x442799(0x266)](_0x4bb88f=>this[_0x442799(0x267)][_0x442799(0x25d)](_0x4bb88f['id'],_0x4bb88f[_0x442799(0x300)]));}},_0x190799['CollaborationEntity']=_0x51a4d0([_0x1b6f50(0x3,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x1b6f50(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x120)])),_0x1b6f50(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x2ba)])),_0x1b6f50(0x6,_0xecd3bb['Inject'](_0x5a8633[_0x27d9cd(0x344)])),_0x1b6f50(0x7,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x1b6f50(0x8,_0xecd3bb[_0x27d9cd(0x104)]),_0x1b6f50(0x9,_0xecd3bb['ILogService']),_0x1b6f50(0xa,_0xecd3bb[_0x27d9cd(0x48d)]),_0x1b6f50(0xb,_0xecd3bb[_0x27d9cd(0x321)]),_0x1b6f50(0xc,_0xecd3bb['Optional'](_0x4a5240)),_0x1b6f50(0xd,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799['CollaborationEntity']),_0x190799['DocCollaborationEntity']=class extends _0x190799[_0x27d9cd(0x3dd)]{constructor(_0x4c3451,_0x2cf909,_0x3fe64d,_0x57ffed,_0x28f406,_0x26f0ea,_0x4bd10f,_0x599a86,_0x4c557a,_0x21a221,_0x5882b5,_0x6b1df4,_0x13cfdc,_0x384f5c){var _0x466ac5=_0x27d9cd;super(_0x4c3451,_0x3fe64d,_0x2cf909,_0x57ffed,_0x28f406,_0x26f0ea,_0x4bd10f,_0x599a86,_0x4c557a,_0x21a221,_0x5882b5,_0x6b1df4,_0x13cfdc,_0x384f5c),_0x45ccb1(this,_0x466ac5(0x2fb),null),(this[_0x466ac5(0x114)]=_0x4c3451,this[_0x466ac5(0x430)]=_0x2cf909);}[_0x27d9cd(0x1e2)](_0x41d2dc){this['_handlerCallback']=_0x41d2dc;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}[_0x27d9cd(0x304)](){var _0x226afe=_0x27d9cd;const _0x444e92=super[_0x226afe(0x304)]();return _0x444e92['onTransformIME']=_0x349bb7=>{var _0x19ab88=_0x226afe,_0xe74608,_0xf4771b;return(_0xf4771b=(_0xe74608=this[_0x19ab88(0x2fb)])==null?void 0x0:_0xe74608['onTransformIME'])==null?void 0x0:_0xf4771b[_0x19ab88(0x281)](_0xe74608,_0x349bb7);},_0x444e92['onTransformState']=_0x421247=>{var _0x6248b7=_0x226afe,_0x1b442f,_0x4bec89;return(_0x4bec89=(_0x1b442f=this[_0x6248b7(0x2fb)])==null?void 0x0:_0x1b442f['onTransformState'])==null?void 0x0:_0x4bec89[_0x6248b7(0x281)](_0x1b442f,_0x421247);},_0x444e92[_0x226afe(0x334)]=_0x466beb=>{var _0x2b614f=_0x226afe,_0x365e4b,_0x25a620;return(_0x25a620=(_0x365e4b=this[_0x2b614f(0x2fb)])==null?void 0x0:_0x365e4b[_0x2b614f(0x334)])==null?void 0x0:_0x25a620[_0x2b614f(0x281)](_0x365e4b,_0x466beb);},_0x444e92[_0x226afe(0x3f8)]=_0xa3a43=>{var _0x4b5517=_0x226afe,_0x4f7740,_0x2cc324;return(_0x2cc324=(_0x4f7740=this[_0x4b5517(0x2fb)])==null?void 0x0:_0x4f7740[_0x4b5517(0x3f8)])==null?void 0x0:_0x2cc324[_0x4b5517(0x281)](_0x4f7740,_0xa3a43);},_0x444e92[_0x226afe(0x319)]=_0x55acb1=>{var _0x522010=_0x226afe,_0x452c75,_0x27de86,_0xefc3b;if(!((_0x452c75=this[_0x522010(0x2fb)])!=null&&_0x452c75[_0x522010(0x319)]))throw new Error(_0x522010(0x34a));return(_0xefc3b=(_0x27de86=this['_handlerCallback'])==null?void 0x0:_0x27de86[_0x522010(0x319)])==null?void 0x0:_0xefc3b['call'](_0x27de86,_0x55acb1);},_0x444e92[_0x226afe(0x42b)]=_0x4c63df=>{var _0x1ed4eb=_0x226afe,_0x24b934,_0x32bea2,_0x5bd144;if(!((_0x24b934=this[_0x1ed4eb(0x2fb)])!=null&&_0x24b934[_0x1ed4eb(0x42b)]))throw new Error(_0x1ed4eb(0x173));return(_0x5bd144=(_0x32bea2=this[_0x1ed4eb(0x2fb)])==null?void 0x0:_0x32bea2[_0x1ed4eb(0x42b)])==null?void 0x0:_0x5bd144[_0x1ed4eb(0x281)](_0x32bea2,_0x4c63df);},_0x444e92;}async[_0x27d9cd(0x27e)](){var _0x499783=_0x27d9cd;const _0x3e25e3=await super[_0x499783(0x27e)]();return this[_0x499783(0x17c)](this[_0x499783(0x267)][_0x499783(0x3c8)]((_0x59ad8f,_0x14eb62)=>{var _0x59d1da=_0x499783;if(_0x59ad8f[_0x59d1da(0x430)]!==_0xecd3bb[_0x59d1da(0x1f2)][_0x59d1da(0x172)]||_0x14eb62!=null&&_0x14eb62['fromCollab']||_0x14eb62!=null&&_0x14eb62[_0x59d1da(0x3cc)]||_0x59ad8f['id']===_0x306b12['RichTextEditingMutation']['id'])return;const _0xbe3339=_0x59ad8f['params'];if((_0xbe3339==null?void 0x0:_0xbe3339[_0x59d1da(0x18c)])!==this[_0x59d1da(0x114)])return;const _0x5152a1=_0x59ad8f,_0x2bfb96=this[_0x59d1da(0x121)]['interceptor'][_0x59d1da(0x359)](this[_0x59d1da(0x121)][_0x59d1da(0x395)]['getInterceptPoints']()[_0x59d1da(0x399)])([_0x5152a1],this['_univerInstanceService'])||[_0x5152a1];this[_0x59d1da(0x1f0)](_0x2bfb96[0x0]);})),_0x3e25e3;}},_0x190799[_0x27d9cd(0x3ae)]=_0x51a4d0([_0x1b6f50(0x3,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['Injector'])),_0x1b6f50(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x120)])),_0x1b6f50(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x2ba)])),_0x1b6f50(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x1b6f50(0x7,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x1b6f50(0x8,_0xecd3bb[_0x27d9cd(0x104)]),_0x1b6f50(0x9,_0xecd3bb[_0x27d9cd(0x30e)]),_0x1b6f50(0xa,_0xecd3bb[_0x27d9cd(0x48d)]),_0x1b6f50(0xb,_0xecd3bb['IPermissionService']),_0x1b6f50(0xc,_0xecd3bb[_0x27d9cd(0x12d)](_0x4a5240)),_0x1b6f50(0xd,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x3ae)]),_0x190799[_0x27d9cd(0x12c)]=class extends _0x190799[_0x27d9cd(0x3dd)]{constructor(_0x3f5def,_0x2c5636,_0x2b9f1a,_0xe6460d,_0x579ac8,_0x371a72,_0xb844d4,_0x15b055,_0x328590,_0x38e4a7,_0x17fe77,_0x3dd344,_0xf2fc95,_0x4bc9bc,_0x65a89d){var _0x9d67bf=_0x27d9cd;super(_0x3f5def,_0x2b9f1a,_0x2c5636,_0xe6460d,_0x579ac8,_0x371a72,_0xb844d4,_0x328590,_0x38e4a7,_0x17fe77,_0x3dd344,_0xf2fc95,_0x4bc9bc,_0x65a89d),this[_0x9d67bf(0x114)]=_0x3f5def,this[_0x9d67bf(0x430)]=_0x2c5636,this['_sheetTransformSelectionsService']=_0x15b055;}['_createHandler'](){var _0x3e9d92=_0x27d9cd;const _0x48d390=super[_0x3e9d92(0x304)]();return _0x48d390['onTransformSelections']=_0x249e27=>this[_0x3e9d92(0x3be)][_0x3e9d92(0x22a)](_0x249e27),_0x48d390;}async[_0x27d9cd(0x27e)](){var _0x5f10fd=_0x27d9cd;const _0x1a5d38=await super[_0x5f10fd(0x27e)]();return this[_0x5f10fd(0x17c)](this[_0x5f10fd(0x267)][_0x5f10fd(0x3c8)]((_0xb98b07,_0x3188b1)=>{var _0x14e0ec=_0x5f10fd;if(_0xb98b07[_0x14e0ec(0x430)]!==_0xecd3bb['CommandType'][_0x14e0ec(0x172)]||_0x3188b1!=null&&_0x3188b1[_0x14e0ec(0x1b4)]||_0x3188b1!=null&&_0x3188b1[_0x14e0ec(0x3cc)])return;const _0xebf430=_0xb98b07[_0x14e0ec(0x300)];if((_0xebf430==null?void 0x0:_0xebf430[_0x14e0ec(0x18c)])!==this['unitID'])return;const _0x8ff97=_0xb98b07,_0x27a64e=this[_0x14e0ec(0x121)][_0x14e0ec(0x395)][_0x14e0ec(0x359)](this[_0x14e0ec(0x121)]['interceptor'][_0x14e0ec(0x211)]()[_0x14e0ec(0x399)])([_0x8ff97],this['_univerInstanceService'])||[_0x8ff97];this['_onLocalMutation'](_0x27a64e[0x0]);})),_0x1a5d38;}},_0x190799[_0x27d9cd(0x12c)]=_0x51a4d0([_0x1b6f50(0x3,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x1b6f50(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x120)])),_0x1b6f50(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x2ba)])),_0x1b6f50(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633['RevisionService'])),_0x1b6f50(0x7,_0xecd3bb['Inject'](_0x190799['SheetTransformSelectionsService'])),_0x1b6f50(0x8,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x1b6f50(0x9,_0xecd3bb['IUniverInstanceService']),_0x1b6f50(0xa,_0xecd3bb[_0x27d9cd(0x30e)]),_0x1b6f50(0xb,_0xecd3bb[_0x27d9cd(0x48d)]),_0x1b6f50(0xc,_0xecd3bb[_0x27d9cd(0x321)]),_0x1b6f50(0xd,_0xecd3bb[_0x27d9cd(0x12d)](_0x4a5240)),_0x1b6f50(0xe,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x12c)]);const _0x53c606=_0xecd3bb[_0x27d9cd(0x2f6)](_0x27d9cd(0x467));function _0x4414ba(_0x17f66e){var _0x37a44c=_0x27d9cd,_0x30a802,_0x56d5c1,_0x386fe9,_0x6e1343,_0xd08c02;const _0x5ad925=_0x17f66e['data'],_0x40aa59=JSON[_0x37a44c(0x21c)](_0x5ad925);switch(_0x40aa59[_0x37a44c(0x1e1)]){case _0x5958c6[_0x37a44c(0x12b)]:case _0x5958c6[_0x37a44c(0x3c1)]:{const _0x409c23=_0x40aa59[_0x37a44c(0x38e)];return{..._0x40aa59,'data':_0x409c23,'cmd':_0x40aa59[_0x37a44c(0x1e1)]};}case _0x5958c6['JOIN']:{const _0x4296fa=_0x40aa59[_0x37a44c(0x219)];return{..._0x40aa59,'data':_0x4296fa,'cmd':_0x40aa59[_0x37a44c(0x1e1)]};}case _0x5958c6['RECV']:{const _0x4b3602=_0x40aa59[_0x37a44c(0x122)];switch(_0x4b3602[_0x37a44c(0x2e3)]){case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x460)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0x30a802=_0x4b3602[_0x37a44c(0x309)])==null?void 0x0:_0x30a802['cs']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633['CollaborationEvent'][_0x37a44c(0x2b0)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0x56d5c1=_0x4b3602[_0x37a44c(0x161)])==null?void 0x0:_0x56d5c1['cs']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)]['NEW_CHANGESETS']:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0x386fe9=_0x4b3602['newCsEvent'])==null?void 0x0:_0x386fe9['cs']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x233)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0x6e1343=_0x4b3602[_0x37a44c(0x47a)])==null?void 0x0:_0x6e1343['cs']},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)]['CHANGESET_SHOULD_RETRY']:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0xd08c02=_0x4b3602[_0x37a44c(0x15e)])==null?void 0x0:_0xd08c02['cs']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x1d6)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0xff)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x174)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x272)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633['CollaborationEvent']['USERS_LEAVE']:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x34f)]},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x30f)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x24f)]},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x1e8)]:case _0x5a8633['CollaborationEvent'][_0x37a44c(0x167)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602['liveShareOperation']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x387)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x24f)]},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)]['MSG_FOR_ERROR']:return{..._0x40aa59,'data':_0x4b3602,'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633['CollaborationEvent'][_0x37a44c(0x49d)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x16c)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x16f)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x124)]},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)]['SHOULD_CLOSE_CONN']:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x164)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)]['UNISCRIPT_RUN']:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x3a4)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};default:return _0x40aa59;}}default:return _0x40aa59;}}function _0xe15d3a(_0x3fadc2){var _0x47c4de=_0x27d9cd;switch(_0x3fadc2[_0x47c4de(0x1e1)]){case _0x5958c6[_0x47c4de(0x12b)]:case _0x5958c6[_0x47c4de(0x3c1)]:return JSON['stringify']({'cmd':_0x3fadc2['cmd'],'routeKey':_0x3fadc2[_0x47c4de(0x18a)]});case _0x5958c6[_0x47c4de(0x2d7)]:{let _0x5493ef;switch(_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x2e3)]){case _0x5a8633[_0x47c4de(0x1ca)]['UPDATE_CURSOR']:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x1d6)],'updateCursorEvent':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x36f)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x36f)],'leaveEvent':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x174)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)]['USERS_ENTER'],'joinEvent':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x30f)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_OPERATION']:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x3fadc2['data'][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x387)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x387)],'liveShareTerminate':_0x3fadc2[_0x47c4de(0x23d)]['data']};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x337)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_FETCH_OPERATIONS']:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x1e8)]};break;}default:_0x5493ef={'eventID':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x2e3)]};}return JSON[_0x47c4de(0x38c)]({'cmd':_0x3fadc2[_0x47c4de(0x1e1)],'routeKey':_0x3fadc2['routeKey'],'collaMsg':_0x5493ef});}case _0x5958c6['JOIN']:return JSON[_0x47c4de(0x38c)]({'cmd':_0x3fadc2['cmd'],'routeKey':_0x3fadc2['routeKey'],'joinReq':_0x3fadc2['data']});case _0x5958c6['LEAVE']:return JSON[_0x47c4de(0x38c)]({'cmd':_0x3fadc2[_0x47c4de(0x1e1)],'routeKey':_0x3fadc2[_0x47c4de(0x18a)],'leaveReq':_0x3fadc2[_0x47c4de(0x23d)]});default:throw new Error(_0x47c4de(0x229));}}var _0xc4a0e8=Object['getOwnPropertyDescriptor'],_0x42e6f1=(_0x32e646,_0x418f58,_0x16a39f,_0x56b79f)=>{var _0x44bd97=_0x27d9cd;for(var _0x429941=_0x56b79f>0x1?void 0x0:_0x56b79f?_0xc4a0e8(_0x418f58,_0x16a39f):_0x418f58,_0x1c9de8=_0x32e646[_0x44bd97(0x3ea)]-0x1,_0x38d007;_0x1c9de8>=0x0;_0x1c9de8--)(_0x38d007=_0x32e646[_0x1c9de8])&&(_0x429941=_0x38d007(_0x429941)||_0x429941);return _0x429941;},_0x2103eb=(_0x51a974,_0x291d99)=>(_0x1d427a,_0x19fd6f)=>_0x291d99(_0x1d427a,_0x19fd6f,_0x51a974);const _0x3f811f=_0xecd3bb['createIdentifier'](_0x27d9cd(0x2d8));function _0x28edf5(_0x2baeb7,_0x2e2d3f,_0x2e7638){var _0x5270e5=_0x27d9cd;return _0x2baeb7+'/'+_0x2e2d3f+_0x5270e5(0x434)+_0x2e7638+_0x5270e5(0x45c);}_0x190799[_0x27d9cd(0x2a9)]=class extends _0xecd3bb['Disposable']{constructor(_0x57253c,_0x45df71,_0x193daa,_0x34c2dd,_0x3ada28){var _0x1543b9=_0x27d9cd;super(),this['_injector']=_0x57253c,this[_0x1543b9(0x1f5)]=_0x45df71,this[_0x1543b9(0x435)]=_0x193daa,this[_0x1543b9(0x200)]=_0x34c2dd,this[_0x1543b9(0x3b8)]=_0x3ada28;}[_0x27d9cd(0x365)](_0x1fb3b2){var _0x33de2f=_0x27d9cd;const _0x2d3fe3=this['_injector'][_0x33de2f(0x15d)](_0x3fafbd[_0x33de2f(0x252)]);if(!_0x2d3fe3)throw new Error(_0x33de2f(0x383));const _0x531dd9=_0x2d3fe3['createSocket'](_0x1fb3b2);if(!_0x531dd9)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5dd8a2=new _0xecd3bb[(_0x33de2f(0x328))](),_0x228529=new _0x3b002d[(_0x33de2f(0x26c))]();_0x5dd8a2[_0x33de2f(0x1e5)](_0x531dd9[_0x33de2f(0x2c1)][_0x33de2f(0x316)](_0x4060c6=>_0x228529['next'](_0x4060c6))),_0x5dd8a2['add'](_0xecd3bb[_0x33de2f(0x13a)](()=>_0x228529[_0x33de2f(0x2e4)]()));const _0x557681=new _0x3b002d['Subject']();_0x5dd8a2['add'](_0x531dd9[_0x33de2f(0x143)]['subscribe'](_0x54a9db=>_0x557681[_0x33de2f(0x3f9)](_0x54a9db))),_0x5dd8a2[_0x33de2f(0x1e5)](_0xecd3bb[_0x33de2f(0x13a)](()=>_0x557681['complete']()));const _0x1c533f=new _0x3b002d['Subject']();_0x5dd8a2[_0x33de2f(0x1e5)](_0x531dd9[_0x33de2f(0x2f3)]['subscribe'](_0x4a6bdb=>{const _0x1fcb16=_0x4414ba(_0x4a6bdb);_0x1c533f['next'](_0x1fcb16);})),_0x5dd8a2[_0x33de2f(0x1e5)](_0xecd3bb[_0x33de2f(0x13a)](()=>_0x1c533f['complete']()));let _0x394e41;const _0x2cb360=()=>{var _0x57ce73=_0x33de2f;_0x557681[_0x57ce73(0x3f9)](new Event('connection\x20error')),_0x228529['next'](new Event('connection\x20error')),_0x394e41[_0x57ce73(0x1b3)]();};return _0x394e41={'memberID':'','close$':_0x228529['asObservable'](),'error$':_0x557681[_0x33de2f(0x3d0)](),'open$':_0x531dd9['open$'],'message$':_0x1c533f['asObservable'](),'send':_0x52f0e5=>{var _0x2b7ed4=_0x33de2f;if(_0x52f0e5[_0x2b7ed4(0x1e1)]===_0x5958c6['INGEST']){if(_0x52f0e5[_0x2b7ed4(0x23d)][_0x2b7ed4(0x2e3)]===_0x5a8633[_0x2b7ed4(0x1ca)][_0x2b7ed4(0x3cd)]){this['_submitChangeset'](_0x394e41,_0x52f0e5[_0x2b7ed4(0x23d)])['catch'](_0x433147=>{var _0x21a288=_0x2b7ed4;this[_0x21a288(0x200)][_0x21a288(0x25e)](_0x433147),_0x2cb360();});return;}if(_0x52f0e5['data'][_0x2b7ed4(0x2e3)]===_0x5a8633[_0x2b7ed4(0x1ca)][_0x2b7ed4(0x248)]){const _0x46249a=_0x52f0e5[_0x2b7ed4(0x23d)];this[_0x2b7ed4(0x265)](_0x46249a)[_0x2b7ed4(0x10c)](_0x292b64=>{var _0x368675=_0x2b7ed4;_0x1c533f[_0x368675(0x3f9)]({'cmd':_0x5958c6[_0x368675(0x152)],'code':_0x5a152d['OK'],'routeKey':_0x46249a[_0x368675(0x23d)][_0x368675(0x114)],'routeType':'','data':{'eventID':_0x5a8633['CollaborationEvent'][_0x368675(0x2cb)],'data':{'changesets':_0x292b64}}});})['catch'](_0x18321a=>{var _0x1a579f=_0x2b7ed4;this[_0x1a579f(0x200)][_0x1a579f(0x25e)](_0x18321a),_0x2cb360();});return;}}_0x531dd9[_0x2b7ed4(0x119)](_0xe15d3a(_0x52f0e5));},'close':()=>{var _0x3f2ff2=_0x33de2f;_0x531dd9['close'](),_0x5dd8a2[_0x3f2ff2(0x380)]();}},_0x394e41;}async[_0x27d9cd(0xfb)](_0x5a52c1,_0x987f48){var _0x16204d=_0x27d9cd,_0x3262f4;const {unitType:_0x1b0b34,unitID:_0x57bc1f,changeset:_0x2e667b}=_0x987f48[_0x16204d(0x23d)],_0x23a869={'unitID':_0x57bc1f,'memberID':_0x5a52c1[_0x16204d(0x2c3)],'type':_0x1b0b34,'changeset':_0x5a8633[_0x16204d(0x379)](_0x2e667b)},_0x246d63=this['_configService'][_0x16204d(0x36e)](_0xa270ad),_0x4b0a51=_0x28edf5((_0x3262f4=_0x246d63==null?void 0x0:_0x246d63['collabSubmitChangesetUrl'])!=null?_0x3262f4:_0x1b64ed,_0x1b0b34,_0x57bc1f);try{await this[_0x16204d(0x1f5)]['post'](_0x4b0a51,{'body':_0x23a869});}catch(_0x9eaa58){throw this[_0x16204d(0x200)][_0x16204d(0x25e)]('[CollaborationSession]',_0x16204d(0x1b1)),_0x9eaa58;}}async[_0x27d9cd(0x265)](_0x8f3137){var _0x5cbdad=_0x27d9cd;const {unitID:_0x3515cd,from:_0x8455d5,to:_0x2d69ba,unitType:_0x2f021c}=_0x8f3137[_0x5cbdad(0x23d)];return(await this[_0x5cbdad(0x3b8)][_0x5cbdad(0x389)]({'metadata':void 0x0},{'unitID':_0x3515cd,'type':_0x2f021c,'from':_0x8455d5,'to':_0x2d69ba}))[_0x5cbdad(0x221)]['map'](_0x297567=>((_0x297567['mutations']===null||_0x297567[_0x5cbdad(0x1c6)]===void 0x0)&&(_0x297567['mutations']=[]),_0x297567));}},_0x190799[_0x27d9cd(0x2a9)]=_0x42e6f1([_0x2103eb(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x2103eb(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd['HTTPService'])),_0x2103eb(0x2,_0xecd3bb[_0x27d9cd(0x34d)]),_0x2103eb(0x3,_0xecd3bb[_0x27d9cd(0x30e)]),_0x2103eb(0x4,_0x5a8633[_0x27d9cd(0x30d)])],_0x190799[_0x27d9cd(0x2a9)]);var _0x4409e9=Object['getOwnPropertyDescriptor'],_0x7aa854=(_0x400193,_0x5d0082,_0x4f6bf2,_0x42d0dc)=>{var _0x4de1bf=_0x27d9cd;for(var _0x5acc2f=_0x42d0dc>0x1?void 0x0:_0x42d0dc?_0x4409e9(_0x5d0082,_0x4f6bf2):_0x5d0082,_0x2e2d04=_0x400193[_0x4de1bf(0x3ea)]-0x1,_0xe7eea2;_0x2e2d04>=0x0;_0x2e2d04--)(_0xe7eea2=_0x400193[_0x2e2d04])&&(_0x5acc2f=_0xe7eea2(_0x5acc2f)||_0x5acc2f);return _0x5acc2f;},_0x365e29=(_0x580158,_0x16d203)=>(_0x220e50,_0x557233)=>_0x16d203(_0x220e50,_0x557233,_0x580158);_0x190799[_0x27d9cd(0x394)]=class extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(_0x503d0b,_0xa19621,_0x5ab3cb,_0x561cc6,_0x344e12,_0x10514b){var _0x34d73a=_0x27d9cd;super(),_0x45ccb1(this,_0x34d73a(0x21b),new _0x3b002d[(_0x34d73a(0x131))](void 0x0)),_0x45ccb1(this,'socket$',this[_0x34d73a(0x21b)][_0x34d73a(0x3d0)]()),_0x45ccb1(this,'_candidateSocket',null),_0x45ccb1(this,_0x34d73a(0x1a6),new Map()),_0x45ccb1(this,_0x34d73a(0x291),new _0x3b002d[(_0x34d73a(0x131))](_0xe17649[_0x34d73a(0x181)])),_0x45ccb1(this,_0x34d73a(0x436),this[_0x34d73a(0x291)][_0x34d73a(0x3d0)]()),_0x45ccb1(this,_0x34d73a(0x32a),!0x1),_0x45ccb1(this,'_retryConnectingTimer'),_0x45ccb1(this,_0x34d73a(0x465),0x0),_0x45ccb1(this,'_sendHeartbeatTimer'),_0x45ccb1(this,_0x34d73a(0x3ff)),(this[_0x34d73a(0x3d5)]=_0x503d0b,this['_logService']=_0xa19621,this[_0x34d73a(0x435)]=_0x5ab3cb,this[_0x34d73a(0x3de)]=_0x561cc6,this[_0x34d73a(0x2de)]=_0x344e12,this[_0x34d73a(0x2ab)]=_0x10514b,this[_0x34d73a(0x21d)]());}get[_0x27d9cd(0x35a)](){var _0x3704fc=_0x27d9cd;return this[_0x3704fc(0x21b)][_0x3704fc(0x429)]();}[_0x27d9cd(0x21d)](){var _0x4b915c=_0x27d9cd;this['_networkConditionService']&&this[_0x4b915c(0x17c)](this['_networkConditionService'][_0x4b915c(0x333)][_0x4b915c(0x316)](_0x4c3bbc=>{var _0x45683c=_0x4b915c;_0x4c3bbc&&!this[_0x45683c(0x35a)]&&this[_0x45683c(0x37f)](),_0x4c3bbc||this['_onOffline']();}));}[_0x27d9cd(0x380)](){var _0x5b400c=_0x27d9cd;super['dispose'](),this[_0x5b400c(0x44d)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x5b400c(0x1a6)][_0x5b400c(0x266)](_0x18f1e3=>_0x18f1e3['dispose']()),this[_0x5b400c(0x1a6)][_0x5b400c(0x2aa)](),this[_0x5b400c(0x291)][_0x5b400c(0x2e4)]();}async[_0x27d9cd(0x420)](_0x56aaaa){var _0x1cc9de=_0x27d9cd;if(this[_0x1cc9de(0x1a6)][_0x1cc9de(0x1c8)](_0x56aaaa))return this['_sessions'][_0x1cc9de(0x15d)](_0x56aaaa);this['_tryEnsureSocket']();const _0x50e03c=this[_0x1cc9de(0x3d5)]['createInstance'](_0x190799[_0x1cc9de(0x1a3)],_0x56aaaa,this[_0x1cc9de(0x21b)][_0x1cc9de(0x3d0)]());return this[_0x1cc9de(0x1a6)][_0x1cc9de(0x2fa)](_0x56aaaa,_0x50e03c),_0x50e03c;}['closeSession'](_0x476360){var _0x2a11be=_0x27d9cd,_0xc1e2f6;const _0x4e3f69=this[_0x2a11be(0x1a6)]['get'](_0x476360);_0x4e3f69&&(this[_0x2a11be(0x1a6)][_0x2a11be(0x297)](_0x476360),_0x4e3f69[_0x2a11be(0x1b3)]()),this[_0x2a11be(0x1a6)][_0x2a11be(0x401)]||(_0xc1e2f6=this['_socket'])==null||_0xc1e2f6[_0x2a11be(0x1b3)]();}['reconnect'](){var _0x4896a5=_0x27d9cd;this[_0x4896a5(0x465)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x4896a5(0x368)]();}[_0x27d9cd(0x44d)](){var _0x530bcc=_0x27d9cd;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x530bcc(0x288)]),this[_0x530bcc(0x288)]=null);}async[_0x27d9cd(0x1c2)](){var _0xa75c29=_0x27d9cd,_0xcb4c21;const _0x56aba7=this[_0xa75c29(0x435)][_0xa75c29(0x36e)](_0xa270ad),_0x3dc46f=(_0xcb4c21=_0x56aba7==null?void 0x0:_0x56aba7[_0xa75c29(0x2fe)])!=null?_0xcb4c21:_0x4aed1f,_0x228640=await this['_socketService']['createSocket'](_0x3dc46f);return this[_0xa75c29(0x448)]=_0x228640,_0x228640;}async[_0x27d9cd(0x438)](){var _0x22138c=_0x27d9cd,_0x340ebe,_0x169f8f;try{const _0x4a2b7f=(_0x169f8f=(_0x340ebe=this[_0x22138c(0x35a)])!=null?_0x340ebe:this[_0x22138c(0x448)])!=null?_0x169f8f:await this[_0x22138c(0x1c2)]();if(_0x4a2b7f){const _0x19a027=_0x4a2b7f[_0x22138c(0x119)];_0x4a2b7f[_0x22138c(0x119)]=_0x23340b=>(this[_0x22138c(0x299)](),_0x19a027[_0x22138c(0x1fc)](_0x4a2b7f,[_0x23340b])),_0x4a2b7f[_0x22138c(0x2f3)]['subscribe'](_0x5466c5=>this[_0x22138c(0x3bc)](_0x4a2b7f,_0x5466c5)),_0x4a2b7f[_0x22138c(0x143)][_0x22138c(0x15f)](_0x42edf7[_0x22138c(0x11e)](0x1))[_0x22138c(0x316)](_0x7a1c44=>this[_0x22138c(0x200)][_0x22138c(0x25e)]('[CollaborationSessionService]:\x20socket\x20error',_0x7a1c44)),_0x4a2b7f[_0x22138c(0x1f8)][_0x22138c(0x15f)](_0x42edf7[_0x22138c(0x11e)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x4a2b7f);}),_0x4a2b7f[_0x22138c(0x2c1)][_0x22138c(0x15f)](_0x42edf7[_0x22138c(0x11e)](0x1))[_0x22138c(0x316)](_0x50c9fd=>{var _0x5c32d0=_0x22138c;this[_0x5c32d0(0x200)][_0x5c32d0(0x176)](_0x5c32d0(0x20b),_0x5c32d0(0x3b0),_0x50c9fd),this[_0x5c32d0(0x1f4)]();});}}catch(_0x576c67){this[_0x22138c(0x200)][_0x22138c(0x25e)](_0x576c67),this['_onConnectionFailed']();}}[_0x27d9cd(0x40d)](_0x732ed5){var _0x29dcc=_0x27d9cd;this[_0x29dcc(0x200)][_0x29dcc(0x176)](_0x29dcc(0x20b),'socket\x20open.'),_0x732ed5[_0x29dcc(0x119)]({'cmd':_0x5958c6[_0x29dcc(0x3c1)]}),this[_0x29dcc(0x299)]();}['_onOffline'](){var _0x47fea7=_0x27d9cd;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x47fea7(0x291)]['next'](_0xe17649[_0x47fea7(0x47c)]),this['_socket$'][_0x47fea7(0x3f9)](null),this[_0x47fea7(0x163)](),this['_clearHeartbeatTimer']();}[_0x27d9cd(0x1f4)](){var _0x521454=_0x27d9cd,_0x581bb4;this[_0x521454(0x16b)](),this[_0x521454(0x465)]<((_0x581bb4=this[_0x521454(0x435)][_0x521454(0x36e)](_0x2b73c1))!=null?_0x581bb4:0x3)?(this['_collaborationUIEventService'][_0x521454(0x2eb)]({'id':_0x1af2c4[_0x521454(0x2c4)]}),this[_0x521454(0x368)]()):this[_0x521454(0x2de)][_0x521454(0x2eb)]({'id':_0x1af2c4['SOCKET_FAILED']});}[_0x27d9cd(0x368)](){var _0x215f23=_0x27d9cd,_0x259273;const _0x435c4f=this[_0x215f23(0x465)],_0x31f16b=this[_0x215f23(0x435)]['getConfig'](_0xa270ad),_0x34f756=_0x435c4f===0x0?0x0:((_0x259273=_0x31f16b==null?void 0x0:_0x31f16b['retryConnectingInterval'])!=null?_0x259273:0x4e20)*0x2**_0x435c4f;this[_0x215f23(0x288)]=setTimeout(()=>{var _0x16bcc7=_0x215f23;clearTimeout(this[_0x16bcc7(0x288)]),this['_retryConnectingTimer']=null,this[_0x16bcc7(0x438)]();},_0x34f756),this[_0x215f23(0x465)]+=0x1;}[_0x27d9cd(0x3bc)](_0x25ac29,_0x589dbd){var _0x40d6d9=_0x27d9cd;const {cmd:_0x33dd05}=_0x589dbd;_0x33dd05===_0x5958c6['HELLO']&&!this['_socketReady']&&(_0x25ac29['memberID']=_0x589dbd[_0x40d6d9(0x23d)][_0x40d6d9(0x2c3)],this[_0x40d6d9(0x21b)][_0x40d6d9(0x3f9)](_0x25ac29),this[_0x40d6d9(0x291)][_0x40d6d9(0x3f9)](_0xe17649[_0x40d6d9(0x318)]),this['_socketReady']=!0x0,this[_0x40d6d9(0x448)]=null),_0x33dd05===_0x5958c6[_0x40d6d9(0x12b)]&&this[_0x40d6d9(0x163)](),this['_rescheduleHeartbeat']();}[_0x27d9cd(0x299)](){var _0x9c04e9=_0x27d9cd,_0x3edac5;this[_0x9c04e9(0x13c)](),this[_0x9c04e9(0x42c)]=setTimeout(()=>this[_0x9c04e9(0x2e6)](),(_0x3edac5=this['_configService'][_0x9c04e9(0x36e)](_0x5b9780))!=null?_0x3edac5:0x7530);}['_sendHeartbeat'](){var _0x962aa0=_0x27d9cd;this[_0x962aa0(0x35a)][_0x962aa0(0x119)]({'cmd':_0x5958c6[_0x962aa0(0x12b)]}),this[_0x962aa0(0x308)]();}['_waitForHeartbeatResponse'](){var _0x27a431=_0x27d9cd,_0x29da60;this[_0x27a431(0x3ff)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x29da60=this[_0x27a431(0x435)]['getConfig'](_0x251bae))!=null?_0x29da60:0x4e20);}[_0x27d9cd(0x13c)](){var _0x1718e9=_0x27d9cd;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1718e9(0x42c)]=null);}[_0x27d9cd(0x163)](){var _0x5a7064=_0x27d9cd;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5a7064(0x3ff)]),this[_0x5a7064(0x3ff)]=null);}},_0x190799['CollaborationSessionService']=_0x7aa854([_0x365e29(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['Injector'])),_0x365e29(0x1,_0xecd3bb[_0x27d9cd(0x30e)]),_0x365e29(0x2,_0xecd3bb[_0x27d9cd(0x34d)]),_0x365e29(0x3,_0x3f811f),_0x365e29(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x365e29(0x5,_0xecd3bb[_0x27d9cd(0x12d)](_0x53c606))],_0x190799[_0x27d9cd(0x394)]);var _0x2d4509=Object['getOwnPropertyDescriptor'],_0x822a80=(_0x45f1ca,_0x5e3978,_0x223ebc,_0x227596)=>{var _0x2209db=_0x27d9cd;for(var _0x30354e=_0x227596>0x1?void 0x0:_0x227596?_0x2d4509(_0x5e3978,_0x223ebc):_0x5e3978,_0xe2c8e7=_0x45f1ca[_0x2209db(0x3ea)]-0x1,_0x3fc1cd;_0xe2c8e7>=0x0;_0xe2c8e7--)(_0x3fc1cd=_0x45f1ca[_0xe2c8e7])&&(_0x30354e=_0x3fc1cd(_0x30354e)||_0x30354e);return _0x30354e;},_0x21fa9b=(_0x4c3525,_0x352267)=>(_0x2c5d29,_0x55fc5b)=>_0x352267(_0x2c5d29,_0x55fc5b,_0x4c3525);_0x190799[_0x27d9cd(0x245)]=class extends _0xecd3bb['RxDisposable']{constructor(_0x14f80b,_0x316340,_0x55d68a,_0x5a343a){var _0x348602=_0x27d9cd,_0x3d1af7;super(),_0x45ccb1(this,_0x348602(0x432),new Map()),_0x45ccb1(this,'_entityInit$',new _0x3b002d[(_0x348602(0x26c))]()),_0x45ccb1(this,_0x348602(0x375),this[_0x348602(0x2dc)][_0x348602(0x3d0)]()),(this['_injector']=_0x14f80b,this[_0x348602(0x371)]=_0x316340,this[_0x348602(0x435)]=_0x55d68a,this[_0x348602(0x3c6)]=_0x5a343a,((_0x3d1af7=this[_0x348602(0x435)]['getConfig'](_0xa270ad))==null?void 0x0:_0x3d1af7['enableCollaboration'])!==!0x1&&this[_0x348602(0x27e)]());}[_0x27d9cd(0x380)](){var _0x103665=_0x27d9cd;super[_0x103665(0x380)](),this['_entities']['forEach'](_0xc86b59=>_0xc86b59[_0x103665(0x380)]()),this['_entities'][_0x103665(0x2aa)]();}[_0x27d9cd(0x463)](_0x494e8c){var _0x43bd70=_0x27d9cd,_0x1098bb;return(_0x1098bb=this[_0x43bd70(0x432)]['get'](_0x494e8c))!=null?_0x1098bb:null;}[_0x27d9cd(0x2be)](_0x57d84d){var _0x551355=_0x27d9cd;const _0x39bbdd=this[_0x551355(0x463)](_0x57d84d);return _0x39bbdd?_0x3b002d['of'](_0x39bbdd):this[_0x551355(0x2dc)]['pipe'](_0x42edf7[_0x551355(0x31b)](_0x36181b=>_0x36181b[_0x551355(0x114)]===_0x57d84d));}[_0x27d9cd(0x31a)](_0xa64f01){var _0x3c32e9=_0x27d9cd;return _0x3b002d[_0x3c32e9(0x133)](this[_0x3c32e9(0x2be)](_0xa64f01)[_0x3c32e9(0x15f)](_0x42edf7['map'](()=>{})));}[_0x27d9cd(0x27e)](){var _0x604e70=_0x27d9cd;this[_0x604e70(0x3c6)][_0x604e70(0x19a)](_0xecd3bb[_0x604e70(0x444)][_0x604e70(0x15b)])['pipe'](_0x3b002d[_0x604e70(0x106)](this[_0x604e70(0x27f)]),_0x42edf7['delay'](0x10))[_0x604e70(0x316)](async _0x1ded85=>{var _0x4494cc=_0x604e70;const _0x49113b=_0x1ded85['getUnitId'](),_0x5eba35=await this[_0x4494cc(0x247)](_0x49113b,_0x3bdfff[_0x4494cc(0x15b)]);this[_0x4494cc(0x432)][_0x4494cc(0x2fa)](_0x49113b,_0x5eba35);}),this[_0x604e70(0x3c6)][_0x604e70(0x19a)](_0xecd3bb[_0x604e70(0x444)][_0x604e70(0x374)])[_0x604e70(0x15f)](_0x3b002d[_0x604e70(0x106)](this[_0x604e70(0x27f)]),_0x42edf7[_0x604e70(0x2c6)](0x10))[_0x604e70(0x15f)](_0x42edf7[_0x604e70(0x31b)](_0x921430=>!_0x921430['getUnitId']()['startsWith']('__')))[_0x604e70(0x316)](async _0x463b31=>{var _0x280d31=_0x604e70;const _0x8aa872=_0x463b31[_0x280d31(0x279)](),_0x24a7b9=await this[_0x280d31(0x247)](_0x8aa872,_0x3bdfff[_0x280d31(0x374)]);this[_0x280d31(0x432)][_0x280d31(0x2fa)](_0x8aa872,_0x24a7b9);}),_0x3b002d[_0x604e70(0x2a5)](this['_univerInstanceService'][_0x604e70(0x1f6)](_0xecd3bb[_0x604e70(0x444)][_0x604e70(0x15b)]),this[_0x604e70(0x3c6)][_0x604e70(0x1f6)](_0xecd3bb[_0x604e70(0x444)][_0x604e70(0x374)]))[_0x604e70(0x15f)](_0x3b002d[_0x604e70(0x106)](this[_0x604e70(0x27f)]))[_0x604e70(0x316)](_0x38435f=>{var _0xf3aaf9=_0x604e70;const _0x268435=_0x38435f[_0xf3aaf9(0x279)](),_0x8cac36=this[_0xf3aaf9(0x432)][_0xf3aaf9(0x15d)](_0x268435);_0x8cac36&&(_0x8cac36[_0xf3aaf9(0x380)](),this['_entities']['delete'](_0x268435));});}async[_0x27d9cd(0x247)](_0x1c5c48,_0x58d8c3){var _0x2b01f7=_0x27d9cd;const _0x28fffd=await this[_0x2b01f7(0x371)]['requireSession'](_0x1c5c48),_0x15f870=this[_0x2b01f7(0x3d5)][_0x2b01f7(0x264)](this['_getCtorByUniverType'](_0x58d8c3),_0x1c5c48,_0x58d8c3,_0x28fffd);return await _0x15f870[_0x2b01f7(0x38f)](),this['_entityInit$'][_0x2b01f7(0x3f9)](_0x15f870),_0x15f870;}[_0x27d9cd(0x3c3)](_0x5ebce8){var _0x308e7e=_0x27d9cd;switch(_0x5ebce8){case _0x3bdfff[_0x308e7e(0x374)]:return _0x190799[_0x308e7e(0x3ae)];case _0x3bdfff[_0x308e7e(0x15b)]:return _0x190799[_0x308e7e(0x12c)];default:throw new Error(_0x308e7e(0x22e)+_0x5ebce8);}}},_0x190799[_0x27d9cd(0x245)]=_0x822a80([_0x21fa9b(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x21fa9b(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x190799[_0x27d9cd(0x394)])),_0x21fa9b(0x2,_0xecd3bb[_0x27d9cd(0x34d)]),_0x21fa9b(0x3,_0xecd3bb[_0x27d9cd(0x104)])],_0x190799[_0x27d9cd(0x245)]);var _0x1d1787=Object[_0x27d9cd(0x49e)],_0x280f8a=(_0x31176a,_0x239c59,_0x4f31f1,_0x2b53b0)=>{var _0xa3388=_0x27d9cd;for(var _0x157740=_0x2b53b0>0x1?void 0x0:_0x2b53b0?_0x1d1787(_0x239c59,_0x4f31f1):_0x239c59,_0x549dcb=_0x31176a[_0xa3388(0x3ea)]-0x1,_0x58ecf5;_0x549dcb>=0x0;_0x549dcb--)(_0x58ecf5=_0x31176a[_0x549dcb])&&(_0x157740=_0x58ecf5(_0x157740)||_0x157740);return _0x157740;},_0x129899=(_0x5c9682,_0x4cdd96)=>(_0x107c12,_0x323b46)=>_0x4cdd96(_0x107c12,_0x323b46,_0x5c9682);const _0xb93054=_0x27d9cd(0x398),_0x18732a='Univer';let _0x5e7f79=class extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(_0x50208d,_0x2b9741){var _0x3232e6=_0x27d9cd;super(),this[_0x3232e6(0x3c6)]=_0x50208d,this[_0x3232e6(0x435)]=_0x2b9741,this[_0x3232e6(0x27e)]();}[_0x27d9cd(0x27e)](){var _0x311f32=_0x27d9cd;this[_0x311f32(0x17c)](this[_0x311f32(0x3c6)]['focused$'][_0x311f32(0x316)](()=>{var _0x3b4bd9=_0x311f32,_0xa2fd34;const _0x36c2b1=this[_0x3b4bd9(0x3c6)]['getFocusedUnit']();let _0x539301=(_0xa2fd34=this[_0x3b4bd9(0x435)][_0x3b4bd9(0x36e)](_0xb93054))!=null?_0xa2fd34:_0x18732a;_0x36c2b1 instanceof _0xecd3bb['Workbook']&&(_0x539301=_0x36c2b1[_0x3b4bd9(0x495)]),document[_0x3b4bd9(0x147)]=_0x539301;}));}};_0x5e7f79=_0x280f8a([_0x129899(0x0,_0xecd3bb['IUniverInstanceService']),_0x129899(0x1,_0xecd3bb[_0x27d9cd(0x34d)])],_0x5e7f79);var _0x254997=Object[_0x27d9cd(0x49e)],_0x2c033b=(_0x1311e7,_0x5c86fb,_0x388444,_0x4c0e05)=>{for(var _0x244191=_0x4c0e05>0x1?void 0x0:_0x4c0e05?_0x254997(_0x5c86fb,_0x388444):_0x5c86fb,_0x3414c8=_0x1311e7['length']-0x1,_0x11191a;_0x3414c8>=0x0;_0x3414c8--)(_0x11191a=_0x1311e7[_0x3414c8])&&(_0x244191=_0x11191a(_0x244191)||_0x244191);return _0x244191;},_0x1b7041=(_0xd3c1f2,_0x23d71d)=>(_0x4af3d6,_0x4fcf3)=>_0x23d71d(_0x4af3d6,_0x4fcf3,_0xd3c1f2);let _0xe53648=class{constructor(_0x4457b3,_0x41dd4d,_0x5b6c36){var _0x154c22=_0x27d9cd;this[_0x154c22(0x435)]=_0x4457b3,this[_0x154c22(0x1f5)]=_0x41dd4d,this[_0x154c22(0x453)]=_0x5b6c36,this['init']();}[_0x27d9cd(0x38f)](){var _0x5d538d=_0x27d9cd;this[_0x5d538d(0x1f5)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4c7310,_0x266834)=>_0x266834(_0x4c7310)[_0x5d538d(0x15f)](_0x3b002d[_0x5d538d(0x257)](async _0x319c3b=>{var _0x56e0f1=_0x5d538d;const _0x36d3ba=_0x319c3b;if(_0x36d3ba[_0x56e0f1(0x1c1)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x56e0f1(0x3cf)](this[_0x56e0f1(0x453)]['t'](_0x56e0f1(0x10d)))){const _0x458d70=window['encodeURIComponent'](window['location'][_0x56e0f1(0x20c)]);window['location']['href']=this[_0x56e0f1(0x472)]()+_0x56e0f1(0x117)+_0x458d70;}}return _0x36d3ba;}))});}['_getLoginPath'](){var _0x1c8b54=_0x27d9cd,_0x41e9db;const _0x2bdf92=this[_0x1c8b54(0x435)][_0x1c8b54(0x36e)](_0xa270ad);return(_0x41e9db=_0x2bdf92==null?void 0x0:_0x2bdf92['loginUrlKey'])!=null?_0x41e9db:_0x267162;}};_0xe53648=_0x2c033b([_0x1b7041(0x0,_0xecd3bb[_0x27d9cd(0x34d)]),_0x1b7041(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd[_0x27d9cd(0x3d8)])),_0x1b7041(0x2,_0xecd3bb['Inject'](_0xecd3bb['LocaleService']))],_0xe53648);var _0x387bdd=Object[_0x27d9cd(0x49e)],_0x323a71=(_0x5b1dbc,_0xa41d90,_0x5b7482,_0x5772ae)=>{for(var _0x2dabc5=_0x5772ae>0x1?void 0x0:_0x5772ae?_0x387bdd(_0xa41d90,_0x5b7482):_0xa41d90,_0x36933a=_0x5b1dbc['length']-0x1,_0x20ef21;_0x36933a>=0x0;_0x36933a--)(_0x20ef21=_0x5b1dbc[_0x36933a])&&(_0x2dabc5=_0x20ef21(_0x2dabc5)||_0x2dabc5);return _0x2dabc5;},_0x34bf51=(_0x4da22e,_0xb4cf5e)=>(_0x54f995,_0x4cd6b6)=>_0xb4cf5e(_0x54f995,_0x4cd6b6,_0x4da22e);const _0x209456=_0x27d9cd(0x1aa);_0x190799[_0x27d9cd(0x34e)]=class extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(_0x39e8fe,_0x2d7fee){var _0x4dc40a=_0x27d9cd;super(),this[_0x4dc40a(0x2f8)]=_0x39e8fe,this[_0x4dc40a(0x435)]=_0x2d7fee,this[_0x4dc40a(0x111)]();}['_initMergeInterceptor'](){var _0x50a38f=_0x27d9cd;const _0x3fcd60=this;this[_0x50a38f(0x17c)](this[_0x50a38f(0x2f8)][_0x50a38f(0x2b7)]({'priority':0x3e7,'interceptor':_0x3fafbd['MergeInterceptorFactory']({'isMatch'(_0x84be92){var _0x33e801=_0x50a38f,_0x364271;if(_0x84be92['method']===_0x33e801(0x364)&&((_0x364271=_0x84be92['requestParams'])!=null&&_0x364271[_0x33e801(0x3df)])){const {objectID:_0x3b15f4,objectType:_0x23c268}=_0x84be92[_0x33e801(0x3b4)]['body']||{};if(!_0x3b15f4||_0x23c268===void 0x0)return!0x1;const _0x48643b=_0x3fcd60[_0x33e801(0x156)]()+'/'+_0x23c268+'/object/'+_0x3b15f4+_0x33e801(0x158);if(_0x84be92['url']===_0x48643b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51a9ce){var _0x57d4b9=_0x50a38f,_0x495eb7;return(_0x495eb7=_0x51a9ce[_0x57d4b9(0x3b4)])==null?void 0x0:_0x495eb7[_0x57d4b9(0x3df)];},'mergeParamsToRequest'(_0x1bbcb1,_0x701099){var _0x4f0374=_0x50a38f;const _0x125488=_0x3fcd60[_0x4f0374(0x156)]()+_0x4f0374(0x16d),_0x257d28=_0x1bbcb1[_0x4f0374(0x33c)]((_0x4f9bcd,_0x473f2c)=>{var _0x3f968b=_0x4f0374;const {unitID:_0x58e6b9,objectID:_0x43eae5,objectType:_0x40dd86,actions:_0x13d56c}=_0x473f2c;return _0x4f9bcd[_0x58e6b9]||(_0x4f9bcd[_0x58e6b9]={}),_0x4f9bcd[_0x58e6b9][_0x43eae5]||(_0x4f9bcd[_0x58e6b9][_0x43eae5]={'objectID':_0x43eae5,'objectType':_0x40dd86,'actions':[]}),_0x4f9bcd[_0x58e6b9][_0x43eae5][_0x3f968b(0x2bd)][_0x3f968b(0x484)](..._0x13d56c),_0x4f9bcd;},{}),_0x5cca17=[];for(const _0x36051a in _0x257d28)for(const _0x3fa1fa in _0x257d28[_0x36051a]){const {actions:_0x2ec886,objectType:_0xbf9a09}=_0x257d28[_0x36051a][_0x3fa1fa],_0x4148a6=[...new Set(_0x2ec886)];_0x5cca17[_0x4f0374(0x484)]({'unitID':_0x36051a,'objectID':_0x3fa1fa,'objectType':_0xbf9a09,'actions':_0x4148a6});}return new _0x3fafbd[(_0x4f0374(0x1a9))](_0x4f0374(0x364),_0x125488,{'headers':_0x701099[_0x4f0374(0x3a8)],'withCredentials':_0x701099[_0x4f0374(0x499)],'responseType':_0x701099[_0x4f0374(0x207)],'body':{'requests':_0x5cca17}});}},{'distributeResult'(_0x5d199b,_0x595be7){var _0x13cb19=_0x50a38f;const {objectActions:_0x508708}=_0x5d199b;return _0x595be7[_0x13cb19(0x14b)](_0x10f79a=>{var _0x5b05bd=_0x13cb19;const {unitID:_0x395a4f,objectID:_0x767a82,actions:_0x26fb92}=_0x10f79a,_0x148b0b=_0x508708[_0x5b05bd(0x496)](_0x3f20bd=>_0x3f20bd[_0x5b05bd(0x114)]===_0x395a4f&&_0x3f20bd[_0x5b05bd(0x1b8)]===_0x767a82),_0x2f6bb4=_0x26fb92[_0x5b05bd(0x14b)](_0x3ea2fc=>_0x148b0b==null?void 0x0:_0x148b0b['actions'][_0x5b05bd(0x496)](_0x54860a=>_0x54860a[_0x5b05bd(0x11a)]===_0x3ea2fc))[_0x5b05bd(0x31b)](_0x27a665=>!!_0x27a665);return{'config':_0x10f79a,'result':{'actions':_0x2f6bb4,'error':_0x5d199b[_0x5b05bd(0x25e)]}};});}})}));}['_getAPIPrefixPath'](){var _0x18c613=_0x27d9cd,_0x103590;const _0x428393=this['_configService'][_0x18c613(0x36e)](_0xa270ad);return(_0x103590=_0x428393==null?void 0x0:_0x428393['authzUrl'])!=null?_0x103590:_0x209456;}async['create'](_0x41167b){var _0xf4ee05=_0x27d9cd;const _0x36733e=this['_getAPIPrefixPath']()+'/'+_0x41167b[_0xf4ee05(0x307)]+_0xf4ee05(0x27c);return(await this[_0xf4ee05(0x2f8)][_0xf4ee05(0x1ff)](_0x36733e,{'body':_0x41167b}))[_0xf4ee05(0x3df)][_0xf4ee05(0x1b8)]||'';}async['list'](_0xd427ec){var _0x1db165=_0x27d9cd;const _0x21b18d=this[_0x1db165(0x156)]()+_0x1db165(0x235);return(await this[_0x1db165(0x2f8)][_0x1db165(0x1ff)](_0x21b18d,{'body':_0xd427ec}))[_0x1db165(0x3df)][_0x1db165(0x311)];}async[_0x27d9cd(0x3fc)](_0x45190f){var _0x62ec04=_0x27d9cd,_0x5d5ad3,_0x18941e;const _0x2a48c9=this[_0x62ec04(0x156)]()+'/'+_0x45190f[_0x62ec04(0x307)]+_0x62ec04(0x187)+_0x45190f[_0x62ec04(0x1b8)],_0x405b69=await this[_0x62ec04(0x2f8)]['put'](_0x2a48c9,{'body':_0x45190f});if(((_0x18941e=(_0x5d5ad3=_0x405b69==null?void 0x0:_0x405b69[_0x62ec04(0x3df)])==null?void 0x0:_0x5d5ad3[_0x62ec04(0x25e)])==null?void 0x0:_0x18941e[_0x62ec04(0x1ba)])!==0x1)throw new Error(_0x62ec04(0x2f7));}async[_0x27d9cd(0xf8)](_0x20ff70){var _0x52affc=_0x27d9cd;const _0x25a5bf=this[_0x52affc(0x156)]()+'/'+_0x20ff70[_0x52affc(0x307)]+_0x52affc(0x187)+_0x20ff70[_0x52affc(0x1b8)]+'/allowed';return(await this[_0x52affc(0x2f8)][_0x52affc(0x1ff)](_0x25a5bf,{'body':_0x20ff70}))['body'][_0x52affc(0x2bd)];}async[_0x27d9cd(0x23f)](_0x3b2c80){var _0xc17214=_0x27d9cd;const _0x175728=this['_getAPIPrefixPath']()+_0xc17214(0x16d);return(await this['_HTTPService'][_0xc17214(0x1ff)](_0x175728,{'body':{'requests':_0x3b2c80}}))[_0xc17214(0x3df)][_0xc17214(0x49a)];}async[_0x27d9cd(0x126)](_0x102841){var _0x4f9bb1=_0x27d9cd;const _0x52226c=this['_getAPIPrefixPath']()+'/'+_0x102841[_0x4f9bb1(0x307)]+_0x4f9bb1(0x47d),_0x4722ea=await this['_HTTPService'][_0x4f9bb1(0x1ff)](_0x52226c,{'body':_0x102841});return{'roles':_0x4722ea[_0x4f9bb1(0x3df)]['roles'],'actions':_0x4722ea[_0x4f9bb1(0x3df)][_0x4f9bb1(0x2bd)]};}async[_0x27d9cd(0x1cb)](_0x31108c){var _0x3f6c72=_0x27d9cd;const _0x150693=this[_0x3f6c72(0x156)]()+'/collaborator';await this[_0x3f6c72(0x2f8)][_0x3f6c72(0x297)](_0x150693,{'params':{'collaboratorID':_0x31108c['collaboratorID'],'objectID':_0x31108c['objectID'],'unitID':_0x31108c['unitID']}});}async[_0x27d9cd(0x218)](_0x5dbb97){var _0x34aaa0=_0x27d9cd;const _0x30415e=this[_0x34aaa0(0x156)]()+_0x34aaa0(0x27d);await this[_0x34aaa0(0x2f8)][_0x34aaa0(0x253)](_0x30415e,{'body':_0x5dbb97});}async[_0x27d9cd(0x3b6)](_0x350332){var _0x7dac3a=_0x27d9cd;const _0x57c3ca=this[_0x7dac3a(0x156)]()+_0x7dac3a(0x27d);await this[_0x7dac3a(0x2f8)][_0x7dac3a(0x1ff)](_0x57c3ca,{'body':_0x350332});}async[_0x27d9cd(0x3af)](_0x3d4b87){var _0x40d094=_0x27d9cd;const _0xbf30b7=this[_0x40d094(0x156)]()+_0x40d094(0x27d);return(await this['_HTTPService'][_0x40d094(0x15d)](_0xbf30b7,{'params':{'objectID':_0x3d4b87['objectID'],'unitID':_0x3d4b87['unitID']}}))[_0x40d094(0x3df)][_0x40d094(0x47b)];}async[_0x27d9cd(0xf9)](_0x53afca){var _0x45061f=_0x27d9cd;const _0x120691=this[_0x45061f(0x156)]()+_0x45061f(0x27d);await this[_0x45061f(0x2f8)][_0x45061f(0x10e)](_0x120691,{'body':_0x53afca});}},_0x190799[_0x27d9cd(0x34e)]=_0x323a71([_0x34bf51(0x0,_0xecd3bb['Inject'](_0x3fafbd['HTTPService'])),_0x34bf51(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x34d)]))],_0x190799[_0x27d9cd(0x34e)]);var _0x29bcec=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3ec628(_0x565fe7){var _0x470b70=_0x27d9cd;return _0x565fe7&&_0x565fe7[_0x470b70(0x358)]&&Object['prototype'][_0x470b70(0x382)][_0x470b70(0x281)](_0x565fe7,_0x470b70(0x209))?_0x565fe7[_0x470b70(0x209)]:_0x565fe7;}var _0x5b936c={'exports':{}};function _0x5d3f88(_0x29e37b){var _0x1fc795=_0x27d9cd;throw new Error(_0x1fc795(0x100)+_0x29e37b+_0x1fc795(0x345));}var _0x32f0ba={'exports':{}},_0x12cb56=_0x32f0ba['exports'],_0x236d24;function _0x421067(){return _0x236d24||(_0x236d24=0x1,function(_0x1445af,_0x57e22e){(function(_0x50a4e9,_0x53d52e){_0x1445af['exports']=_0x53d52e();}(_0x12cb56,function(){var _0x2a6d3a=_0x2a6d3a||function(_0x59b568,_0x12c02f){var _0x246742=_0x479e,_0x179f18;if(typeof window<'u'&&window['crypto']&&(_0x179f18=window[_0x246742(0x222)]),typeof self<'u'&&self[_0x246742(0x222)]&&(_0x179f18=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x179f18=globalThis['crypto']),!_0x179f18&&typeof window<'u'&&window['msCrypto']&&(_0x179f18=window[_0x246742(0x25b)]),!_0x179f18&&typeof _0x29bcec<'u'&&_0x29bcec[_0x246742(0x222)]&&(_0x179f18=_0x29bcec[_0x246742(0x222)]),!_0x179f18&&typeof _0x5d3f88==_0x246742(0x198))try{_0x179f18=require('crypto');}catch{}var _0x402cda=function(){var _0x59f55b=_0x246742;if(_0x179f18){if(typeof _0x179f18['getRandomValues']==_0x59f55b(0x198))try{return _0x179f18[_0x59f55b(0x192)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x179f18[_0x59f55b(0x283)]==_0x59f55b(0x198))try{return _0x179f18['randomBytes'](0x4)[_0x59f55b(0x290)]();}catch{}}throw new Error(_0x59f55b(0x17d));},_0x25da2a=Object[_0x246742(0x1b0)]||(function(){function _0x5512d4(){}return function(_0x238251){var _0x2482c9=_0x479e,_0x15421e;return _0x5512d4[_0x2482c9(0x19f)]=_0x238251,_0x15421e=new _0x5512d4(),_0x5512d4[_0x2482c9(0x19f)]=null,_0x15421e;};}()),_0x45422c={},_0x53074d=_0x45422c[_0x246742(0x33a)]={},_0x3b8ef0=_0x53074d[_0x246742(0x3c5)]=(function(){return{'extend':function(_0x30aef2){var _0x25fffa=_0x479e,_0x12bf6f=_0x25da2a(this);return _0x30aef2&&_0x12bf6f[_0x25fffa(0x1ed)](_0x30aef2),(!_0x12bf6f[_0x25fffa(0x382)](_0x25fffa(0x38f))||this['init']===_0x12bf6f[_0x25fffa(0x38f)])&&(_0x12bf6f['init']=function(){var _0x1e2bb1=_0x25fffa;_0x12bf6f[_0x1e2bb1(0x3d9)][_0x1e2bb1(0x38f)]['apply'](this,arguments);}),_0x12bf6f[_0x25fffa(0x38f)][_0x25fffa(0x19f)]=_0x12bf6f,_0x12bf6f['$super']=this,_0x12bf6f;},'create':function(){var _0x48ba9a=_0x479e,_0x4ed87d=this[_0x48ba9a(0x201)]();return _0x4ed87d[_0x48ba9a(0x38f)][_0x48ba9a(0x1fc)](_0x4ed87d,arguments),_0x4ed87d;},'init':function(){},'mixIn':function(_0x790fe){var _0x2fa699=_0x479e;for(var _0x7caa2e in _0x790fe)_0x790fe[_0x2fa699(0x382)](_0x7caa2e)&&(this[_0x7caa2e]=_0x790fe[_0x7caa2e]);_0x790fe[_0x2fa699(0x382)](_0x2fa699(0x2e5))&&(this['toString']=_0x790fe[_0x2fa699(0x2e5)]);},'clone':function(){var _0x39b34a=_0x479e;return this[_0x39b34a(0x38f)][_0x39b34a(0x19f)][_0x39b34a(0x201)](this);}};}()),_0x42592f=_0x53074d[_0x246742(0x17f)]=_0x3b8ef0[_0x246742(0x201)]({'init':function(_0x263d2a,_0xd19e02){var _0x426e8d=_0x246742;_0x263d2a=this[_0x426e8d(0x468)]=_0x263d2a||[],_0xd19e02!=_0x12c02f?this['sigBytes']=_0xd19e02:this[_0x426e8d(0x157)]=_0x263d2a[_0x426e8d(0x3ea)]*0x4;},'toString':function(_0x2877c8){var _0x4ccae5=_0x246742;return(_0x2877c8||_0x57db77)[_0x4ccae5(0x38c)](this);},'concat':function(_0x494dea){var _0x54400f=_0x246742,_0x1cba3a=this[_0x54400f(0x468)],_0x35adf9=_0x494dea[_0x54400f(0x468)],_0x4a57f0=this[_0x54400f(0x157)],_0x3f9ec1=_0x494dea[_0x54400f(0x157)];if(this[_0x54400f(0x332)](),_0x4a57f0%0x4)for(var _0x5d02bf=0x0;_0x5d02bf<_0x3f9ec1;_0x5d02bf++){var _0x466e0d=_0x35adf9[_0x5d02bf>>>0x2]>>>0x18-_0x5d02bf%0x4*0x8&0xff;_0x1cba3a[_0x4a57f0+_0x5d02bf>>>0x2]|=_0x466e0d<<0x18-(_0x4a57f0+_0x5d02bf)%0x4*0x8;}else{for(var _0x305c5b=0x0;_0x305c5b<_0x3f9ec1;_0x305c5b+=0x4)_0x1cba3a[_0x4a57f0+_0x305c5b>>>0x2]=_0x35adf9[_0x305c5b>>>0x2];}return this[_0x54400f(0x157)]+=_0x3f9ec1,this;},'clamp':function(){var _0x5cdcb5=_0x246742,_0x477dc4=this[_0x5cdcb5(0x468)],_0x35db3b=this[_0x5cdcb5(0x157)];_0x477dc4[_0x35db3b>>>0x2]&=0xffffffff<<0x20-_0x35db3b%0x4*0x8,_0x477dc4[_0x5cdcb5(0x3ea)]=_0x59b568[_0x5cdcb5(0x29f)](_0x35db3b/0x4);},'clone':function(){var _0x84993c=_0x246742,_0x438607=_0x3b8ef0[_0x84993c(0x1bd)]['call'](this);return _0x438607['words']=this[_0x84993c(0x468)][_0x84993c(0x447)](0x0),_0x438607;},'random':function(_0x13bf21){var _0x5dbe78=_0x246742;for(var _0x1ff63b=[],_0x4a30cc=0x0;_0x4a30cc<_0x13bf21;_0x4a30cc+=0x4)_0x1ff63b[_0x5dbe78(0x484)](_0x402cda());return new _0x42592f[(_0x5dbe78(0x38f))](_0x1ff63b,_0x13bf21);}}),_0x5e8940=_0x45422c[_0x246742(0x1a0)]={},_0x57db77=_0x5e8940[_0x246742(0x2a3)]={'stringify':function(_0x55d793){var _0x78c7a5=_0x246742;for(var _0x42969f=_0x55d793[_0x78c7a5(0x468)],_0x436b3a=_0x55d793['sigBytes'],_0x270cb5=[],_0xe7ffb4=0x0;_0xe7ffb4<_0x436b3a;_0xe7ffb4++){var _0x488cbf=_0x42969f[_0xe7ffb4>>>0x2]>>>0x18-_0xe7ffb4%0x4*0x8&0xff;_0x270cb5[_0x78c7a5(0x484)]((_0x488cbf>>>0x4)[_0x78c7a5(0x2e5)](0x10)),_0x270cb5[_0x78c7a5(0x484)]((_0x488cbf&0xf)['toString'](0x10));}return _0x270cb5[_0x78c7a5(0x1d2)]('');},'parse':function(_0xb550f8){var _0x131488=_0x246742;for(var _0x1be698=_0xb550f8['length'],_0x23f4c9=[],_0x36bd9a=0x0;_0x36bd9a<_0x1be698;_0x36bd9a+=0x2)_0x23f4c9[_0x36bd9a>>>0x3]|=parseInt(_0xb550f8[_0x131488(0x2df)](_0x36bd9a,0x2),0x10)<<0x18-_0x36bd9a%0x8*0x4;return new _0x42592f[(_0x131488(0x38f))](_0x23f4c9,_0x1be698/0x2);}},_0x48126d=_0x5e8940['Latin1']={'stringify':function(_0xfac0a1){var _0x1a9792=_0x246742;for(var _0x1329b9=_0xfac0a1[_0x1a9792(0x468)],_0x6a1fdb=_0xfac0a1['sigBytes'],_0x58f9bb=[],_0x509a99=0x0;_0x509a99<_0x6a1fdb;_0x509a99++){var _0x36a90b=_0x1329b9[_0x509a99>>>0x2]>>>0x18-_0x509a99%0x4*0x8&0xff;_0x58f9bb[_0x1a9792(0x484)](String['fromCharCode'](_0x36a90b));}return _0x58f9bb[_0x1a9792(0x1d2)]('');},'parse':function(_0x249c09){var _0x2ded43=_0x246742;for(var _0x584b78=_0x249c09[_0x2ded43(0x3ea)],_0xd1704b=[],_0xdc2ccd=0x0;_0xdc2ccd<_0x584b78;_0xdc2ccd++)_0xd1704b[_0xdc2ccd>>>0x2]|=(_0x249c09[_0x2ded43(0x425)](_0xdc2ccd)&0xff)<<0x18-_0xdc2ccd%0x4*0x8;return new _0x42592f[(_0x2ded43(0x38f))](_0xd1704b,_0x584b78);}},_0xa92e86=_0x5e8940['Utf8']={'stringify':function(_0x229783){var _0x10fbef=_0x246742;try{return decodeURIComponent(escape(_0x48126d[_0x10fbef(0x38c)](_0x229783)));}catch{throw new Error(_0x10fbef(0x367));}},'parse':function(_0x449ef4){return _0x48126d['parse'](unescape(encodeURIComponent(_0x449ef4)));}},_0xae0f44=_0x53074d[_0x246742(0x148)]=_0x3b8ef0[_0x246742(0x201)]({'reset':function(){var _0x3f36d9=_0x246742;this['_data']=new _0x42592f[(_0x3f36d9(0x38f))](),this[_0x3f36d9(0x376)]=0x0;},'_append':function(_0x16dcbc){var _0x12839e=_0x246742;typeof _0x16dcbc==_0x12839e(0x1a5)&&(_0x16dcbc=_0xa92e86[_0x12839e(0x21c)](_0x16dcbc)),this[_0x12839e(0x2d2)][_0x12839e(0x306)](_0x16dcbc),this['_nDataBytes']+=_0x16dcbc[_0x12839e(0x157)];},'_process':function(_0x53a2f2){var _0x5867a6=_0x246742,_0xbc4bc8,_0x172bd2=this[_0x5867a6(0x2d2)],_0x378d64=_0x172bd2[_0x5867a6(0x468)],_0x4da88c=_0x172bd2[_0x5867a6(0x157)],_0x17c4a1=this[_0x5867a6(0x32e)],_0x496bef=_0x17c4a1*0x4,_0x2aa976=_0x4da88c/_0x496bef;_0x53a2f2?_0x2aa976=_0x59b568[_0x5867a6(0x29f)](_0x2aa976):_0x2aa976=_0x59b568['max']((_0x2aa976|0x0)-this['_minBufferSize'],0x0);var _0xf884c1=_0x2aa976*_0x17c4a1,_0x27b2b9=_0x59b568['min'](_0xf884c1*0x4,_0x4da88c);if(_0xf884c1){for(var _0x5efc39=0x0;_0x5efc39<_0xf884c1;_0x5efc39+=_0x17c4a1)this['_doProcessBlock'](_0x378d64,_0x5efc39);_0xbc4bc8=_0x378d64[_0x5867a6(0x486)](0x0,_0xf884c1),_0x172bd2['sigBytes']-=_0x27b2b9;}return new _0x42592f['init'](_0xbc4bc8,_0x27b2b9);},'clone':function(){var _0x5ccba6=_0x246742,_0x392951=_0x3b8ef0[_0x5ccba6(0x1bd)][_0x5ccba6(0x281)](this);return _0x392951[_0x5ccba6(0x2d2)]=this[_0x5ccba6(0x2d2)][_0x5ccba6(0x1bd)](),_0x392951;},'_minBufferSize':0x0});_0x53074d['Hasher']=_0xae0f44[_0x246742(0x201)]({'cfg':_0x3b8ef0['extend'](),'init':function(_0x19185d){var _0x213139=_0x246742;this['cfg']=this['cfg'][_0x213139(0x201)](_0x19185d),this[_0x213139(0x30b)]();},'reset':function(){var _0x4c1493=_0x246742;_0xae0f44['reset'][_0x4c1493(0x281)](this),this[_0x4c1493(0x2d4)]();},'update':function(_0x428e86){var _0x1dff7b=_0x246742;return this[_0x1dff7b(0x2ee)](_0x428e86),this[_0x1dff7b(0x3f0)](),this;},'finalize':function(_0x15bb4f){var _0x1aa7f4=_0x246742;_0x15bb4f&&this['_append'](_0x15bb4f);var _0x4d30f6=this[_0x1aa7f4(0x23b)]();return _0x4d30f6;},'blockSize':0x10,'_createHelper':function(_0x453025){return function(_0x420978,_0x13e1e8){var _0x16d56c=_0x479e;return new _0x453025[(_0x16d56c(0x38f))](_0x13e1e8)[_0x16d56c(0x24e)](_0x420978);};},'_createHmacHelper':function(_0x3dbc14){return function(_0x1a4f19,_0x5c4976){var _0x3e767d=_0x479e;return new _0x3af041['HMAC'][(_0x3e767d(0x38f))](_0x3dbc14,_0x5c4976)['finalize'](_0x1a4f19);};}});var _0x3af041=_0x45422c[_0x246742(0x116)]={};return _0x45422c;}(Math);return _0x2a6d3a;}));}(_0x32f0ba)),_0x32f0ba['exports'];}var _0x1f58f0={'exports':{}},_0x1cf5df=_0x1f58f0[_0x27d9cd(0x18f)],_0x3d14b3;function _0x54b5ab(){var _0x4bf598=_0x27d9cd;return _0x3d14b3||(_0x3d14b3=0x1,function(_0x1bcf84,_0x512089){(function(_0x50c252,_0xfa92fe){var _0x55c665=_0x479e;_0x1bcf84[_0x55c665(0x18f)]=_0xfa92fe(_0x421067());}(_0x1cf5df,function(_0x6c04b1){var _0x4cd0a6=_0x479e;return(function(){var _0x4d16cf=_0x479e,_0xb023a2=_0x6c04b1,_0x33c3f8=_0xb023a2[_0x4d16cf(0x33a)],_0x1c6d29=_0x33c3f8[_0x4d16cf(0x17f)],_0x1c2df2=_0xb023a2['enc'];_0x1c2df2[_0x4d16cf(0x20e)]={'stringify':function(_0x1fd849){var _0x2fb6f0=_0x4d16cf,_0x14f7e5=_0x1fd849['words'],_0x34bf57=_0x1fd849['sigBytes'],_0x358f03=this[_0x2fb6f0(0x305)];_0x1fd849[_0x2fb6f0(0x332)]();for(var _0x4b506a=[],_0x475e6d=0x0;_0x475e6d<_0x34bf57;_0x475e6d+=0x3)for(var _0x35a574=_0x14f7e5[_0x475e6d>>>0x2]>>>0x18-_0x475e6d%0x4*0x8&0xff,_0x37f431=_0x14f7e5[_0x475e6d+0x1>>>0x2]>>>0x18-(_0x475e6d+0x1)%0x4*0x8&0xff,_0x63a4cd=_0x14f7e5[_0x475e6d+0x2>>>0x2]>>>0x18-(_0x475e6d+0x2)%0x4*0x8&0xff,_0x458dd4=_0x35a574<<0x10|_0x37f431<<0x8|_0x63a4cd,_0x1a6cbf=0x0;_0x1a6cbf<0x4&&_0x475e6d+_0x1a6cbf*0.75<_0x34bf57;_0x1a6cbf++)_0x4b506a[_0x2fb6f0(0x484)](_0x358f03[_0x2fb6f0(0x404)](_0x458dd4>>>0x6*(0x3-_0x1a6cbf)&0x3f));var _0x731224=_0x358f03['charAt'](0x40);if(_0x731224){for(;_0x4b506a[_0x2fb6f0(0x3ea)]%0x4;)_0x4b506a['push'](_0x731224);}return _0x4b506a[_0x2fb6f0(0x1d2)]('');},'parse':function(_0x599a4d){var _0x3faf7d=_0x4d16cf,_0x1dd440=_0x599a4d[_0x3faf7d(0x3ea)],_0x12fbbd=this[_0x3faf7d(0x305)],_0x29d1ce=this[_0x3faf7d(0x41d)];if(!_0x29d1ce){_0x29d1ce=this['_reverseMap']=[];for(var _0x31de51=0x0;_0x31de51<_0x12fbbd['length'];_0x31de51++)_0x29d1ce[_0x12fbbd[_0x3faf7d(0x425)](_0x31de51)]=_0x31de51;}var _0x54f0fa=_0x12fbbd[_0x3faf7d(0x404)](0x40);if(_0x54f0fa){var _0x522988=_0x599a4d[_0x3faf7d(0x180)](_0x54f0fa);_0x522988!==-0x1&&(_0x1dd440=_0x522988);}return _0x5391a3(_0x599a4d,_0x1dd440,_0x29d1ce);},'_map':_0x4d16cf(0x33d)};function _0x5391a3(_0x4b4f74,_0x30516c,_0x4a028b){var _0x304a3d=_0x4d16cf;for(var _0x4ca5b0=[],_0x1606db=0x0,_0x4d4696=0x0;_0x4d4696<_0x30516c;_0x4d4696++)if(_0x4d4696%0x4){var _0x30ce80=_0x4a028b[_0x4b4f74[_0x304a3d(0x425)](_0x4d4696-0x1)]<<_0x4d4696%0x4*0x2,_0x1ebf14=_0x4a028b[_0x4b4f74[_0x304a3d(0x425)](_0x4d4696)]>>>0x6-_0x4d4696%0x4*0x2,_0x21b4c6=_0x30ce80|_0x1ebf14;_0x4ca5b0[_0x1606db>>>0x2]|=_0x21b4c6<<0x18-_0x1606db%0x4*0x8,_0x1606db++;}return _0x1c6d29[_0x304a3d(0x1b0)](_0x4ca5b0,_0x1606db);}}()),_0x6c04b1[_0x4cd0a6(0x1a0)][_0x4cd0a6(0x20e)];}));}(_0x1f58f0)),_0x1f58f0[_0x4bf598(0x18f)];}var _0x326dcf={'exports':{}},_0x969926=_0x326dcf[_0x27d9cd(0x18f)],_0x154d38;function _0xc3e901(){var _0x40d604=_0x27d9cd;return _0x154d38||(_0x154d38=0x1,function(_0x3e7fee,_0x48f099){(function(_0x17f402,_0x287b1c){var _0x413ea0=_0x479e;_0x3e7fee[_0x413ea0(0x18f)]=_0x287b1c(_0x421067());}(_0x969926,function(_0x1adf47){var _0x2879cd=_0x479e;return function(_0xcc314e){var _0x4a19c8=_0x479e,_0x3cf531=_0x1adf47,_0x53091a=_0x3cf531['lib'],_0x47b239=_0x53091a['WordArray'],_0x23bb5c=_0x53091a[_0x4a19c8(0x3ce)],_0x115988=_0x3cf531['algo'],_0x8ba4b7=[];(function(){var _0x42d4a3=_0x4a19c8;for(var _0x468cd4=0x0;_0x468cd4<0x40;_0x468cd4++)_0x8ba4b7[_0x468cd4]=_0xcc314e[_0x42d4a3(0x1ec)](_0xcc314e[_0x42d4a3(0x12f)](_0x468cd4+0x1))*0x100000000|0x0;}());var _0x2ed6a7=_0x115988[_0x4a19c8(0x2bb)]=_0x23bb5c['extend']({'_doReset':function(){var _0x31603a=_0x4a19c8;this['_hash']=new _0x47b239[(_0x31603a(0x38f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3546b3,_0x591e9c){var _0x30e72f=_0x4a19c8;for(var _0x24f7ee=0x0;_0x24f7ee<0x10;_0x24f7ee++){var _0x384e39=_0x591e9c+_0x24f7ee,_0x3fe9e4=_0x3546b3[_0x384e39];_0x3546b3[_0x384e39]=(_0x3fe9e4<<0x8|_0x3fe9e4>>>0x18)&0xff00ff|(_0x3fe9e4<<0x18|_0x3fe9e4>>>0x8)&0xff00ff00;}var _0x3a362c=this['_hash'][_0x30e72f(0x468)],_0x25c082=_0x3546b3[_0x591e9c+0x0],_0x52ae3a=_0x3546b3[_0x591e9c+0x1],_0x1bf35d=_0x3546b3[_0x591e9c+0x2],_0x166c60=_0x3546b3[_0x591e9c+0x3],_0x420230=_0x3546b3[_0x591e9c+0x4],_0x7fec51=_0x3546b3[_0x591e9c+0x5],_0x57b592=_0x3546b3[_0x591e9c+0x6],_0x4e3d98=_0x3546b3[_0x591e9c+0x7],_0x24fd31=_0x3546b3[_0x591e9c+0x8],_0x34ed51=_0x3546b3[_0x591e9c+0x9],_0x4606e7=_0x3546b3[_0x591e9c+0xa],_0x7c0569=_0x3546b3[_0x591e9c+0xb],_0x38726c=_0x3546b3[_0x591e9c+0xc],_0x1ccfda=_0x3546b3[_0x591e9c+0xd],_0x3c8650=_0x3546b3[_0x591e9c+0xe],_0x54522a=_0x3546b3[_0x591e9c+0xf],_0x3476c3=_0x3a362c[0x0],_0x27a7e2=_0x3a362c[0x1],_0x49e9a2=_0x3a362c[0x2],_0x23d47c=_0x3a362c[0x3];_0x3476c3=_0x378fa4(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x25c082,0x7,_0x8ba4b7[0x0]),_0x23d47c=_0x378fa4(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x52ae3a,0xc,_0x8ba4b7[0x1]),_0x49e9a2=_0x378fa4(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x1bf35d,0x11,_0x8ba4b7[0x2]),_0x27a7e2=_0x378fa4(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x166c60,0x16,_0x8ba4b7[0x3]),_0x3476c3=_0x378fa4(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x420230,0x7,_0x8ba4b7[0x4]),_0x23d47c=_0x378fa4(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x7fec51,0xc,_0x8ba4b7[0x5]),_0x49e9a2=_0x378fa4(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x57b592,0x11,_0x8ba4b7[0x6]),_0x27a7e2=_0x378fa4(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x4e3d98,0x16,_0x8ba4b7[0x7]),_0x3476c3=_0x378fa4(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x24fd31,0x7,_0x8ba4b7[0x8]),_0x23d47c=_0x378fa4(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x34ed51,0xc,_0x8ba4b7[0x9]),_0x49e9a2=_0x378fa4(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x4606e7,0x11,_0x8ba4b7[0xa]),_0x27a7e2=_0x378fa4(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x7c0569,0x16,_0x8ba4b7[0xb]),_0x3476c3=_0x378fa4(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x38726c,0x7,_0x8ba4b7[0xc]),_0x23d47c=_0x378fa4(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x1ccfda,0xc,_0x8ba4b7[0xd]),_0x49e9a2=_0x378fa4(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x3c8650,0x11,_0x8ba4b7[0xe]),_0x27a7e2=_0x378fa4(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x54522a,0x16,_0x8ba4b7[0xf]),_0x3476c3=_0x2b4221(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x52ae3a,0x5,_0x8ba4b7[0x10]),_0x23d47c=_0x2b4221(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x57b592,0x9,_0x8ba4b7[0x11]),_0x49e9a2=_0x2b4221(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x7c0569,0xe,_0x8ba4b7[0x12]),_0x27a7e2=_0x2b4221(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x25c082,0x14,_0x8ba4b7[0x13]),_0x3476c3=_0x2b4221(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x7fec51,0x5,_0x8ba4b7[0x14]),_0x23d47c=_0x2b4221(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x4606e7,0x9,_0x8ba4b7[0x15]),_0x49e9a2=_0x2b4221(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x54522a,0xe,_0x8ba4b7[0x16]),_0x27a7e2=_0x2b4221(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x420230,0x14,_0x8ba4b7[0x17]),_0x3476c3=_0x2b4221(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x34ed51,0x5,_0x8ba4b7[0x18]),_0x23d47c=_0x2b4221(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x3c8650,0x9,_0x8ba4b7[0x19]),_0x49e9a2=_0x2b4221(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x166c60,0xe,_0x8ba4b7[0x1a]),_0x27a7e2=_0x2b4221(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x24fd31,0x14,_0x8ba4b7[0x1b]),_0x3476c3=_0x2b4221(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x1ccfda,0x5,_0x8ba4b7[0x1c]),_0x23d47c=_0x2b4221(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x1bf35d,0x9,_0x8ba4b7[0x1d]),_0x49e9a2=_0x2b4221(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x4e3d98,0xe,_0x8ba4b7[0x1e]),_0x27a7e2=_0x2b4221(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x38726c,0x14,_0x8ba4b7[0x1f]),_0x3476c3=_0xdbe04e(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x7fec51,0x4,_0x8ba4b7[0x20]),_0x23d47c=_0xdbe04e(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x24fd31,0xb,_0x8ba4b7[0x21]),_0x49e9a2=_0xdbe04e(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x7c0569,0x10,_0x8ba4b7[0x22]),_0x27a7e2=_0xdbe04e(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x3c8650,0x17,_0x8ba4b7[0x23]),_0x3476c3=_0xdbe04e(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x52ae3a,0x4,_0x8ba4b7[0x24]),_0x23d47c=_0xdbe04e(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x420230,0xb,_0x8ba4b7[0x25]),_0x49e9a2=_0xdbe04e(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x4e3d98,0x10,_0x8ba4b7[0x26]),_0x27a7e2=_0xdbe04e(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x4606e7,0x17,_0x8ba4b7[0x27]),_0x3476c3=_0xdbe04e(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x1ccfda,0x4,_0x8ba4b7[0x28]),_0x23d47c=_0xdbe04e(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x25c082,0xb,_0x8ba4b7[0x29]),_0x49e9a2=_0xdbe04e(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x166c60,0x10,_0x8ba4b7[0x2a]),_0x27a7e2=_0xdbe04e(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x57b592,0x17,_0x8ba4b7[0x2b]),_0x3476c3=_0xdbe04e(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x34ed51,0x4,_0x8ba4b7[0x2c]),_0x23d47c=_0xdbe04e(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x38726c,0xb,_0x8ba4b7[0x2d]),_0x49e9a2=_0xdbe04e(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x54522a,0x10,_0x8ba4b7[0x2e]),_0x27a7e2=_0xdbe04e(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x1bf35d,0x17,_0x8ba4b7[0x2f]),_0x3476c3=_0x21547c(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x25c082,0x6,_0x8ba4b7[0x30]),_0x23d47c=_0x21547c(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x4e3d98,0xa,_0x8ba4b7[0x31]),_0x49e9a2=_0x21547c(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x3c8650,0xf,_0x8ba4b7[0x32]),_0x27a7e2=_0x21547c(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x7fec51,0x15,_0x8ba4b7[0x33]),_0x3476c3=_0x21547c(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x38726c,0x6,_0x8ba4b7[0x34]),_0x23d47c=_0x21547c(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x166c60,0xa,_0x8ba4b7[0x35]),_0x49e9a2=_0x21547c(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x4606e7,0xf,_0x8ba4b7[0x36]),_0x27a7e2=_0x21547c(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x52ae3a,0x15,_0x8ba4b7[0x37]),_0x3476c3=_0x21547c(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x24fd31,0x6,_0x8ba4b7[0x38]),_0x23d47c=_0x21547c(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x54522a,0xa,_0x8ba4b7[0x39]),_0x49e9a2=_0x21547c(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x57b592,0xf,_0x8ba4b7[0x3a]),_0x27a7e2=_0x21547c(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x1ccfda,0x15,_0x8ba4b7[0x3b]),_0x3476c3=_0x21547c(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x420230,0x6,_0x8ba4b7[0x3c]),_0x23d47c=_0x21547c(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x7c0569,0xa,_0x8ba4b7[0x3d]),_0x49e9a2=_0x21547c(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x1bf35d,0xf,_0x8ba4b7[0x3e]),_0x27a7e2=_0x21547c(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x34ed51,0x15,_0x8ba4b7[0x3f]),_0x3a362c[0x0]=_0x3a362c[0x0]+_0x3476c3|0x0,_0x3a362c[0x1]=_0x3a362c[0x1]+_0x27a7e2|0x0,_0x3a362c[0x2]=_0x3a362c[0x2]+_0x49e9a2|0x0,_0x3a362c[0x3]=_0x3a362c[0x3]+_0x23d47c|0x0;},'_doFinalize':function(){var _0x47ee5f=_0x4a19c8,_0x576479=this['_data'],_0x17cfc2=_0x576479[_0x47ee5f(0x468)],_0x552286=this[_0x47ee5f(0x376)]*0x8,_0x4dc337=_0x576479[_0x47ee5f(0x157)]*0x8;_0x17cfc2[_0x4dc337>>>0x5]|=0x80<<0x18-_0x4dc337%0x20;var _0x2d610a=_0xcc314e['floor'](_0x552286/0x100000000),_0x2ec4dc=_0x552286;_0x17cfc2[(_0x4dc337+0x40>>>0x9<<0x4)+0xf]=(_0x2d610a<<0x8|_0x2d610a>>>0x18)&0xff00ff|(_0x2d610a<<0x18|_0x2d610a>>>0x8)&0xff00ff00,_0x17cfc2[(_0x4dc337+0x40>>>0x9<<0x4)+0xe]=(_0x2ec4dc<<0x8|_0x2ec4dc>>>0x18)&0xff00ff|(_0x2ec4dc<<0x18|_0x2ec4dc>>>0x8)&0xff00ff00,_0x576479[_0x47ee5f(0x157)]=(_0x17cfc2[_0x47ee5f(0x3ea)]+0x1)*0x4,this['_process']();for(var _0x4c1b7b=this[_0x47ee5f(0x46a)],_0x42b7aa=_0x4c1b7b['words'],_0x8cd735=0x0;_0x8cd735<0x4;_0x8cd735++){var _0x235d57=_0x42b7aa[_0x8cd735];_0x42b7aa[_0x8cd735]=(_0x235d57<<0x8|_0x235d57>>>0x18)&0xff00ff|(_0x235d57<<0x18|_0x235d57>>>0x8)&0xff00ff00;}return _0x4c1b7b;},'clone':function(){var _0x510a3b=_0x4a19c8,_0x253b87=_0x23bb5c['clone'][_0x510a3b(0x281)](this);return _0x253b87[_0x510a3b(0x46a)]=this['_hash'][_0x510a3b(0x1bd)](),_0x253b87;}});function _0x378fa4(_0x2340ed,_0x439950,_0x45b251,_0x3fb99d,_0x143556,_0x4c038b,_0x373d73){var _0x593ae8=_0x2340ed+(_0x439950&_0x45b251|~_0x439950&_0x3fb99d)+_0x143556+_0x373d73;return(_0x593ae8<<_0x4c038b|_0x593ae8>>>0x20-_0x4c038b)+_0x439950;}function _0x2b4221(_0x1f0166,_0x227329,_0x243328,_0x413c69,_0x255451,_0x3dc3b4,_0x159abc){var _0x50c200=_0x1f0166+(_0x227329&_0x413c69|_0x243328&~_0x413c69)+_0x255451+_0x159abc;return(_0x50c200<<_0x3dc3b4|_0x50c200>>>0x20-_0x3dc3b4)+_0x227329;}function _0xdbe04e(_0x2bff98,_0x5573c7,_0x3bdaae,_0x505bf2,_0x516680,_0x56f194,_0x1aeb83){var _0x253b9a=_0x2bff98+(_0x5573c7^_0x3bdaae^_0x505bf2)+_0x516680+_0x1aeb83;return(_0x253b9a<<_0x56f194|_0x253b9a>>>0x20-_0x56f194)+_0x5573c7;}function _0x21547c(_0x9372a9,_0x4c5b62,_0x16a0d9,_0x3be7bd,_0x301ee0,_0x123578,_0x3482c4){var _0x5ab42d=_0x9372a9+(_0x16a0d9^(_0x4c5b62|~_0x3be7bd))+_0x301ee0+_0x3482c4;return(_0x5ab42d<<_0x123578|_0x5ab42d>>>0x20-_0x123578)+_0x4c5b62;}_0x3cf531[_0x4a19c8(0x2bb)]=_0x23bb5c[_0x4a19c8(0x3c9)](_0x2ed6a7),_0x3cf531[_0x4a19c8(0x25a)]=_0x23bb5c[_0x4a19c8(0x428)](_0x2ed6a7);}(Math),_0x1adf47[_0x2879cd(0x2bb)];}));}(_0x326dcf)),_0x326dcf[_0x40d604(0x18f)];}var _0x493475={'exports':{}},_0x49fab7={'exports':{}},_0x417584=_0x49fab7[_0x27d9cd(0x18f)],_0x3e8046;function _0x7dbe6f(){var _0x5cca58=_0x27d9cd;return _0x3e8046||(_0x3e8046=0x1,function(_0x16ffb7,_0x4bde11){(function(_0x363043,_0x429968){var _0x1412a9=_0x479e;_0x16ffb7[_0x1412a9(0x18f)]=_0x429968(_0x421067());}(_0x417584,function(_0x209eab){var _0x29e11b=_0x479e;return(function(){var _0x3bed05=_0x479e,_0x200920=_0x209eab,_0x3dd36f=_0x200920[_0x3bed05(0x33a)],_0x207939=_0x3dd36f['WordArray'],_0x551b27=_0x3dd36f['Hasher'],_0x233a44=_0x200920['algo'],_0x2a7f8c=[],_0x4962d8=_0x233a44[_0x3bed05(0x3ee)]=_0x551b27['extend']({'_doReset':function(){var _0x51569f=_0x3bed05;this['_hash']=new _0x207939[(_0x51569f(0x38f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3a8ee5,_0x3a46ff){var _0x5c4b4d=_0x3bed05;for(var _0x31d571=this[_0x5c4b4d(0x46a)][_0x5c4b4d(0x468)],_0xcc4461=_0x31d571[0x0],_0x1097a9=_0x31d571[0x1],_0x32c7bf=_0x31d571[0x2],_0x2cb4bc=_0x31d571[0x3],_0x4a92b1=_0x31d571[0x4],_0x270e38=0x0;_0x270e38<0x50;_0x270e38++){if(_0x270e38<0x10)_0x2a7f8c[_0x270e38]=_0x3a8ee5[_0x3a46ff+_0x270e38]|0x0;else{var _0x1be5fb=_0x2a7f8c[_0x270e38-0x3]^_0x2a7f8c[_0x270e38-0x8]^_0x2a7f8c[_0x270e38-0xe]^_0x2a7f8c[_0x270e38-0x10];_0x2a7f8c[_0x270e38]=_0x1be5fb<<0x1|_0x1be5fb>>>0x1f;}var _0x5d809c=(_0xcc4461<<0x5|_0xcc4461>>>0x1b)+_0x4a92b1+_0x2a7f8c[_0x270e38];_0x270e38<0x14?_0x5d809c+=(_0x1097a9&_0x32c7bf|~_0x1097a9&_0x2cb4bc)+0x5a827999:_0x270e38<0x28?_0x5d809c+=(_0x1097a9^_0x32c7bf^_0x2cb4bc)+0x6ed9eba1:_0x270e38<0x3c?_0x5d809c+=(_0x1097a9&_0x32c7bf|_0x1097a9&_0x2cb4bc|_0x32c7bf&_0x2cb4bc)-0x70e44324:_0x5d809c+=(_0x1097a9^_0x32c7bf^_0x2cb4bc)-0x359d3e2a,_0x4a92b1=_0x2cb4bc,_0x2cb4bc=_0x32c7bf,_0x32c7bf=_0x1097a9<<0x1e|_0x1097a9>>>0x2,_0x1097a9=_0xcc4461,_0xcc4461=_0x5d809c;}_0x31d571[0x0]=_0x31d571[0x0]+_0xcc4461|0x0,_0x31d571[0x1]=_0x31d571[0x1]+_0x1097a9|0x0,_0x31d571[0x2]=_0x31d571[0x2]+_0x32c7bf|0x0,_0x31d571[0x3]=_0x31d571[0x3]+_0x2cb4bc|0x0,_0x31d571[0x4]=_0x31d571[0x4]+_0x4a92b1|0x0;},'_doFinalize':function(){var _0x1a9957=_0x3bed05,_0x3a6b8d=this[_0x1a9957(0x2d2)],_0x4e3fb2=_0x3a6b8d[_0x1a9957(0x468)],_0x1c57c4=this[_0x1a9957(0x376)]*0x8,_0x5a4ea5=_0x3a6b8d[_0x1a9957(0x157)]*0x8;return _0x4e3fb2[_0x5a4ea5>>>0x5]|=0x80<<0x18-_0x5a4ea5%0x20,_0x4e3fb2[(_0x5a4ea5+0x40>>>0x9<<0x4)+0xe]=Math[_0x1a9957(0x269)](_0x1c57c4/0x100000000),_0x4e3fb2[(_0x5a4ea5+0x40>>>0x9<<0x4)+0xf]=_0x1c57c4,_0x3a6b8d[_0x1a9957(0x157)]=_0x4e3fb2[_0x1a9957(0x3ea)]*0x4,this[_0x1a9957(0x3f0)](),this[_0x1a9957(0x46a)];},'clone':function(){var _0x48fe99=_0x3bed05,_0x11b20c=_0x551b27[_0x48fe99(0x1bd)][_0x48fe99(0x281)](this);return _0x11b20c[_0x48fe99(0x46a)]=this[_0x48fe99(0x46a)][_0x48fe99(0x1bd)](),_0x11b20c;}});_0x200920['SHA1']=_0x551b27[_0x3bed05(0x3c9)](_0x4962d8),_0x200920['HmacSHA1']=_0x551b27['_createHmacHelper'](_0x4962d8);}()),_0x209eab[_0x29e11b(0x3ee)];}));}(_0x49fab7)),_0x49fab7[_0x5cca58(0x18f)];}var _0x52ab2d={'exports':{}},_0x16bc2b=_0x52ab2d[_0x27d9cd(0x18f)],_0x562dc1;function _0x2f88c8(){return _0x562dc1||(_0x562dc1=0x1,function(_0x159739,_0x2c6a11){(function(_0x36e8a6,_0xb9d965){_0x159739['exports']=_0xb9d965(_0x421067());}(_0x16bc2b,function(_0x5098d4){(function(){var _0x4717bb=_0x479e,_0x27ee03=_0x5098d4,_0x2d7d3f=_0x27ee03[_0x4717bb(0x33a)],_0x220b0f=_0x2d7d3f[_0x4717bb(0x3c5)],_0x47586b=_0x27ee03[_0x4717bb(0x1a0)],_0x2097cb=_0x47586b[_0x4717bb(0x48c)],_0x559ac4=_0x27ee03[_0x4717bb(0x116)];_0x559ac4['HMAC']=_0x220b0f[_0x4717bb(0x201)]({'init':function(_0x4b9eb6,_0xc25a6){var _0x37756f=_0x4717bb;_0x4b9eb6=this[_0x37756f(0x3a1)]=new _0x4b9eb6[(_0x37756f(0x38f))](),typeof _0xc25a6==_0x37756f(0x1a5)&&(_0xc25a6=_0x2097cb['parse'](_0xc25a6));var _0x508e87=_0x4b9eb6[_0x37756f(0x32e)],_0x175970=_0x508e87*0x4;_0xc25a6[_0x37756f(0x157)]>_0x175970&&(_0xc25a6=_0x4b9eb6['finalize'](_0xc25a6)),_0xc25a6[_0x37756f(0x332)]();for(var _0x157c10=this[_0x37756f(0x1a7)]=_0xc25a6[_0x37756f(0x1bd)](),_0x3b4e93=this[_0x37756f(0x3b3)]=_0xc25a6[_0x37756f(0x1bd)](),_0x2be3f6=_0x157c10[_0x37756f(0x468)],_0x247ec6=_0x3b4e93['words'],_0x24d319=0x0;_0x24d319<_0x508e87;_0x24d319++)_0x2be3f6[_0x24d319]^=0x5c5c5c5c,_0x247ec6[_0x24d319]^=0x36363636;_0x157c10[_0x37756f(0x157)]=_0x3b4e93[_0x37756f(0x157)]=_0x175970,this['reset']();},'reset':function(){var _0x56f196=_0x4717bb,_0x2053c6=this[_0x56f196(0x3a1)];_0x2053c6[_0x56f196(0x30b)](),_0x2053c6[_0x56f196(0x3fc)](this[_0x56f196(0x3b3)]);},'update':function(_0x3f5cf8){var _0x356b34=_0x4717bb;return this[_0x356b34(0x3a1)][_0x356b34(0x3fc)](_0x3f5cf8),this;},'finalize':function(_0x344222){var _0x133181=_0x4717bb,_0x15207d=this[_0x133181(0x3a1)],_0xf411b0=_0x15207d['finalize'](_0x344222);_0x15207d[_0x133181(0x30b)]();var _0x5c904d=_0x15207d['finalize'](this[_0x133181(0x1a7)][_0x133181(0x1bd)]()['concat'](_0xf411b0));return _0x5c904d;}});}());}));}(_0x52ab2d)),_0x52ab2d['exports'];}var _0x45ab2c=_0x493475[_0x27d9cd(0x18f)],_0x4e9056;function _0x4d13dd(){var _0x5af8df=_0x27d9cd;return _0x4e9056||(_0x4e9056=0x1,function(_0x57b8fa,_0xcd11a8){(function(_0x173aa3,_0x3ed79e,_0x32637b){_0x57b8fa['exports']=_0x3ed79e(_0x421067(),_0x7dbe6f(),_0x2f88c8());}(_0x45ab2c,function(_0x1d22e8){var _0x35b24d=_0x479e;return(function(){var _0x158230=_0x479e,_0x24f288=_0x1d22e8,_0x5b1a5a=_0x24f288[_0x158230(0x33a)],_0x451b23=_0x5b1a5a[_0x158230(0x3c5)],_0x1cb51f=_0x5b1a5a[_0x158230(0x17f)],_0x190366=_0x24f288[_0x158230(0x116)],_0x2abbd0=_0x190366[_0x158230(0x2bb)],_0x39e5a4=_0x190366[_0x158230(0x196)]=_0x451b23[_0x158230(0x201)]({'cfg':_0x451b23[_0x158230(0x201)]({'keySize':0x80/0x20,'hasher':_0x2abbd0,'iterations':0x1}),'init':function(_0x49c22d){var _0x4ad260=_0x158230;this[_0x4ad260(0x271)]=this[_0x4ad260(0x271)][_0x4ad260(0x201)](_0x49c22d);},'compute':function(_0x4cb2a3,_0xa25511){var _0x153dc2=_0x158230;for(var _0x5e22cc,_0x4acb1c=this[_0x153dc2(0x271)],_0x4b5385=_0x4acb1c['hasher']['create'](),_0x56d196=_0x1cb51f[_0x153dc2(0x1b0)](),_0x5a4d49=_0x56d196[_0x153dc2(0x468)],_0x667b62=_0x4acb1c[_0x153dc2(0x471)],_0x34b944=_0x4acb1c['iterations'];_0x5a4d49['length']<_0x667b62;){_0x5e22cc&&_0x4b5385[_0x153dc2(0x3fc)](_0x5e22cc),_0x5e22cc=_0x4b5385[_0x153dc2(0x3fc)](_0x4cb2a3)[_0x153dc2(0x24e)](_0xa25511),_0x4b5385[_0x153dc2(0x30b)]();for(var _0x14d8d1=0x1;_0x14d8d1<_0x34b944;_0x14d8d1++)_0x5e22cc=_0x4b5385[_0x153dc2(0x24e)](_0x5e22cc),_0x4b5385[_0x153dc2(0x30b)]();_0x56d196[_0x153dc2(0x306)](_0x5e22cc);}return _0x56d196[_0x153dc2(0x157)]=_0x667b62*0x4,_0x56d196;}});_0x24f288['EvpKDF']=function(_0x5800d6,_0x38195c,_0xdf84){var _0x32c088=_0x158230;return _0x39e5a4[_0x32c088(0x1b0)](_0xdf84)[_0x32c088(0x301)](_0x5800d6,_0x38195c);};}()),_0x1d22e8[_0x35b24d(0x196)];}));}(_0x493475)),_0x493475[_0x5af8df(0x18f)];}var _0xb5fe26={'exports':{}},_0xc9ba00=_0xb5fe26['exports'],_0x379188;function _0x2e4f8e(){return _0x379188||(_0x379188=0x1,function(_0x3b5b86,_0x177413){(function(_0x40d1a8,_0x542ed6,_0x3fc6c7){var _0x432397=_0x479e;_0x3b5b86[_0x432397(0x18f)]=_0x542ed6(_0x421067(),_0x4d13dd());}(_0xc9ba00,function(_0x2d59ee){var _0x156295=_0x479e;_0x2d59ee[_0x156295(0x33a)]['Cipher']||function(_0x29bca5){var _0x343a8b=_0x156295,_0x83faab=_0x2d59ee,_0x9b77b9=_0x83faab[_0x343a8b(0x33a)],_0x1d4bff=_0x9b77b9[_0x343a8b(0x3c5)],_0x553c00=_0x9b77b9[_0x343a8b(0x17f)],_0x4fa32c=_0x9b77b9[_0x343a8b(0x148)],_0x3cde87=_0x83faab['enc'];_0x3cde87['Utf8'];var _0x184d3c=_0x3cde87[_0x343a8b(0x20e)],_0x2c6bb9=_0x83faab['algo'],_0x5f1dd4=_0x2c6bb9[_0x343a8b(0x196)],_0x26b1b5=_0x9b77b9[_0x343a8b(0x3f7)]=_0x4fa32c[_0x343a8b(0x201)]({'cfg':_0x1d4bff[_0x343a8b(0x201)](),'createEncryptor':function(_0x11284b,_0x2c361e){var _0x47e9fb=_0x343a8b;return this[_0x47e9fb(0x1b0)](this[_0x47e9fb(0x34b)],_0x11284b,_0x2c361e);},'createDecryptor':function(_0x1aea05,_0xd70c06){var _0x5b307b=_0x343a8b;return this['create'](this[_0x5b307b(0x330)],_0x1aea05,_0xd70c06);},'init':function(_0x24914e,_0x418720,_0x569286){var _0x2217ff=_0x343a8b;this[_0x2217ff(0x271)]=this[_0x2217ff(0x271)][_0x2217ff(0x201)](_0x569286),this[_0x2217ff(0x263)]=_0x24914e,this[_0x2217ff(0x363)]=_0x418720,this['reset']();},'reset':function(){var _0x627392=_0x343a8b;_0x4fa32c['reset'][_0x627392(0x281)](this),this[_0x627392(0x2d4)]();},'process':function(_0x3fdb52){var _0x454e62=_0x343a8b;return this[_0x454e62(0x2ee)](_0x3fdb52),this['_process']();},'finalize':function(_0x5cd580){var _0x54a2fd=_0x343a8b;_0x5cd580&&this['_append'](_0x5cd580);var _0x4eea18=this[_0x54a2fd(0x23b)]();return _0x4eea18;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x40d3f4(_0x3f1833){var _0x2f43bb=_0x479e;return typeof _0x3f1833==_0x2f43bb(0x1a5)?_0xab1b46:_0x53e8b8;}return function(_0x3bccf5){return{'encrypt':function(_0x368ab5,_0x4da299,_0x3b6f5c){var _0x156fee=_0x479e;return _0x40d3f4(_0x4da299)[_0x156fee(0x166)](_0x3bccf5,_0x368ab5,_0x4da299,_0x3b6f5c);},'decrypt':function(_0x29f635,_0x2c2be6,_0x38d1eb){var _0x5898b3=_0x479e;return _0x40d3f4(_0x2c2be6)[_0x5898b3(0x322)](_0x3bccf5,_0x29f635,_0x2c2be6,_0x38d1eb);}};};}())});_0x9b77b9['StreamCipher']=_0x26b1b5[_0x343a8b(0x201)]({'_doFinalize':function(){var _0x5cdf1d=_0x343a8b,_0x2a649d=this[_0x5cdf1d(0x3f0)](!0x0);return _0x2a649d;},'blockSize':0x1});var _0xe63a86=_0x83faab['mode']={},_0xa6d06d=_0x9b77b9[_0x343a8b(0x150)]=_0x1d4bff[_0x343a8b(0x201)]({'createEncryptor':function(_0x54854e,_0x5239ff){return this['Encryptor']['create'](_0x54854e,_0x5239ff);},'createDecryptor':function(_0x1395cd,_0x32207d){var _0x1ca88b=_0x343a8b;return this[_0x1ca88b(0x169)][_0x1ca88b(0x1b0)](_0x1395cd,_0x32207d);},'init':function(_0x1e1089,_0xf650c3){var _0x1adbe2=_0x343a8b;this[_0x1adbe2(0x258)]=_0x1e1089,this[_0x1adbe2(0x136)]=_0xf650c3;}}),_0x590da6=_0xe63a86[_0x343a8b(0x244)]=(function(){var _0x348454=_0x343a8b,_0x408ebf=_0xa6d06d['extend']();_0x408ebf[_0x348454(0x2ae)]=_0x408ebf[_0x348454(0x201)]({'processBlock':function(_0x358a75,_0xc5c228){var _0x231552=_0x348454,_0x4b7600=this['_cipher'],_0x2f2754=_0x4b7600[_0x231552(0x32e)];_0x6e24ff['call'](this,_0x358a75,_0xc5c228,_0x2f2754),_0x4b7600[_0x231552(0x125)](_0x358a75,_0xc5c228),this[_0x231552(0x3aa)]=_0x358a75['slice'](_0xc5c228,_0xc5c228+_0x2f2754);}}),_0x408ebf['Decryptor']=_0x408ebf[_0x348454(0x201)]({'processBlock':function(_0x1b7164,_0x4d1069){var _0x18de31=_0x348454,_0x1ee3e5=this[_0x18de31(0x258)],_0x2314c5=_0x1ee3e5['blockSize'],_0xcd5ede=_0x1b7164[_0x18de31(0x447)](_0x4d1069,_0x4d1069+_0x2314c5);_0x1ee3e5[_0x18de31(0x22b)](_0x1b7164,_0x4d1069),_0x6e24ff[_0x18de31(0x281)](this,_0x1b7164,_0x4d1069,_0x2314c5),this[_0x18de31(0x3aa)]=_0xcd5ede;}});function _0x6e24ff(_0x34e1ef,_0x3d6c31,_0x143b36){var _0x293e91=_0x348454,_0x4256e0,_0x2f5101=this[_0x293e91(0x136)];_0x2f5101?(_0x4256e0=_0x2f5101,this[_0x293e91(0x136)]=_0x29bca5):_0x4256e0=this[_0x293e91(0x3aa)];for(var _0x19b9d1=0x0;_0x19b9d1<_0x143b36;_0x19b9d1++)_0x34e1ef[_0x3d6c31+_0x19b9d1]^=_0x4256e0[_0x19b9d1];}return _0x408ebf;}()),_0x5abf57=_0x83faab[_0x343a8b(0x1ad)]={},_0x3229d5=_0x5abf57[_0x343a8b(0x105)]={'pad':function(_0x4bbb2d,_0xeb3235){var _0x504b0f=_0x343a8b;for(var _0x32f66f=_0xeb3235*0x4,_0x4574a1=_0x32f66f-_0x4bbb2d[_0x504b0f(0x157)]%_0x32f66f,_0x1d9b61=_0x4574a1<<0x18|_0x4574a1<<0x10|_0x4574a1<<0x8|_0x4574a1,_0x39e9ad=[],_0x953727=0x0;_0x953727<_0x4574a1;_0x953727+=0x4)_0x39e9ad[_0x504b0f(0x484)](_0x1d9b61);var _0x1ec5f2=_0x553c00[_0x504b0f(0x1b0)](_0x39e9ad,_0x4574a1);_0x4bbb2d[_0x504b0f(0x306)](_0x1ec5f2);},'unpad':function(_0x59a1d0){var _0x5da2b4=_0x343a8b,_0x6866cb=_0x59a1d0[_0x5da2b4(0x468)][_0x59a1d0[_0x5da2b4(0x157)]-0x1>>>0x2]&0xff;_0x59a1d0[_0x5da2b4(0x157)]-=_0x6866cb;}};_0x9b77b9[_0x343a8b(0x2a2)]=_0x26b1b5['extend']({'cfg':_0x26b1b5[_0x343a8b(0x271)][_0x343a8b(0x201)]({'mode':_0x590da6,'padding':_0x3229d5}),'reset':function(){var _0x1b4f52=_0x343a8b,_0x2e6b07;_0x26b1b5[_0x1b4f52(0x30b)][_0x1b4f52(0x281)](this);var _0x5650bb=this['cfg'],_0xd6301b=_0x5650bb['iv'],_0x52b891=_0x5650bb['mode'];this[_0x1b4f52(0x263)]==this[_0x1b4f52(0x34b)]?_0x2e6b07=_0x52b891['createEncryptor']:(_0x2e6b07=_0x52b891[_0x1b4f52(0x2ad)],this[_0x1b4f52(0x312)]=0x1),this['_mode']&&this[_0x1b4f52(0x21f)][_0x1b4f52(0x2b3)]==_0x2e6b07?this[_0x1b4f52(0x21f)][_0x1b4f52(0x38f)](this,_0xd6301b&&_0xd6301b['words']):(this[_0x1b4f52(0x21f)]=_0x2e6b07[_0x1b4f52(0x281)](_0x52b891,this,_0xd6301b&&_0xd6301b['words']),this[_0x1b4f52(0x21f)][_0x1b4f52(0x2b3)]=_0x2e6b07);},'_doProcessBlock':function(_0x4f4b0d,_0x43a896){var _0x7c0c66=_0x343a8b;this['_mode'][_0x7c0c66(0x3b7)](_0x4f4b0d,_0x43a896);},'_doFinalize':function(){var _0x16ee36=_0x343a8b,_0x3a643f,_0x956859=this['cfg'][_0x16ee36(0x241)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x956859[_0x16ee36(0x1ad)](this[_0x16ee36(0x2d2)],this[_0x16ee36(0x32e)]),_0x3a643f=this[_0x16ee36(0x3f0)](!0x0)):(_0x3a643f=this[_0x16ee36(0x3f0)](!0x0),_0x956859['unpad'](_0x3a643f)),_0x3a643f;},'blockSize':0x80/0x20});var _0x24d873=_0x9b77b9[_0x343a8b(0x1ab)]=_0x1d4bff[_0x343a8b(0x201)]({'init':function(_0x48098a){this['mixIn'](_0x48098a);},'toString':function(_0x4e948e){var _0x5d19c0=_0x343a8b;return(_0x4e948e||this[_0x5d19c0(0x10f)])['stringify'](this);}}),_0x401203=_0x83faab[_0x343a8b(0x1d5)]={},_0x38b7be=_0x401203['OpenSSL']={'stringify':function(_0x43a343){var _0x2d71c7=_0x343a8b,_0x417ddd,_0x18f7a7=_0x43a343[_0x2d71c7(0x33b)],_0x1768bf=_0x43a343['salt'];return _0x1768bf?_0x417ddd=_0x553c00[_0x2d71c7(0x1b0)]([0x53616c74,0x65645f5f])['concat'](_0x1768bf)[_0x2d71c7(0x306)](_0x18f7a7):_0x417ddd=_0x18f7a7,_0x417ddd[_0x2d71c7(0x2e5)](_0x184d3c);},'parse':function(_0x3c7062){var _0xafaf02=_0x343a8b,_0x1260f7,_0x57727d=_0x184d3c[_0xafaf02(0x21c)](_0x3c7062),_0x57555c=_0x57727d['words'];return _0x57555c[0x0]==0x53616c74&&_0x57555c[0x1]==0x65645f5f&&(_0x1260f7=_0x553c00[_0xafaf02(0x1b0)](_0x57555c[_0xafaf02(0x447)](0x2,0x4)),_0x57555c[_0xafaf02(0x486)](0x0,0x4),_0x57727d[_0xafaf02(0x157)]-=0x10),_0x24d873[_0xafaf02(0x1b0)]({'ciphertext':_0x57727d,'salt':_0x1260f7});}},_0x53e8b8=_0x9b77b9[_0x343a8b(0x459)]=_0x1d4bff[_0x343a8b(0x201)]({'cfg':_0x1d4bff['extend']({'format':_0x38b7be}),'encrypt':function(_0x1a9942,_0x4af609,_0xb92917,_0x2be9b9){var _0xdf1f40=_0x343a8b;_0x2be9b9=this[_0xdf1f40(0x271)]['extend'](_0x2be9b9);var _0x4977f6=_0x1a9942[_0xdf1f40(0x11b)](_0xb92917,_0x2be9b9),_0x20f006=_0x4977f6[_0xdf1f40(0x24e)](_0x4af609),_0x7abf0e=_0x4977f6[_0xdf1f40(0x271)];return _0x24d873[_0xdf1f40(0x1b0)]({'ciphertext':_0x20f006,'key':_0xb92917,'iv':_0x7abf0e['iv'],'algorithm':_0x1a9942,'mode':_0x7abf0e[_0xdf1f40(0x362)],'padding':_0x7abf0e[_0xdf1f40(0x241)],'blockSize':_0x1a9942[_0xdf1f40(0x32e)],'formatter':_0x2be9b9[_0xdf1f40(0x1d5)]});},'decrypt':function(_0x4aa26a,_0x59b02b,_0x5486a6,_0x51a1fb){var _0x47c881=_0x343a8b;_0x51a1fb=this[_0x47c881(0x271)][_0x47c881(0x201)](_0x51a1fb),_0x59b02b=this[_0x47c881(0x3ca)](_0x59b02b,_0x51a1fb[_0x47c881(0x1d5)]);var _0x4844c7=_0x4aa26a['createDecryptor'](_0x5486a6,_0x51a1fb)[_0x47c881(0x24e)](_0x59b02b['ciphertext']);return _0x4844c7;},'_parse':function(_0xdba122,_0x17607f){var _0x468b03=_0x343a8b;return typeof _0xdba122==_0x468b03(0x1a5)?_0x17607f['parse'](_0xdba122,this):_0xdba122;}}),_0x479a0f=_0x83faab[_0x343a8b(0x284)]={},_0x25b151=_0x479a0f[_0x343a8b(0x10a)]={'execute':function(_0x3c1622,_0xdb31bc,_0xf507b2,_0x2a5850,_0x3bb621){var _0x1fcf24=_0x343a8b;if(_0x2a5850||(_0x2a5850=_0x553c00[_0x1fcf24(0x3ef)](0x40/0x8)),_0x3bb621)var _0x1f2398=_0x5f1dd4[_0x1fcf24(0x1b0)]({'keySize':_0xdb31bc+_0xf507b2,'hasher':_0x3bb621})[_0x1fcf24(0x301)](_0x3c1622,_0x2a5850);else var _0x1f2398=_0x5f1dd4['create']({'keySize':_0xdb31bc+_0xf507b2})['compute'](_0x3c1622,_0x2a5850);var _0x2cae98=_0x553c00[_0x1fcf24(0x1b0)](_0x1f2398[_0x1fcf24(0x468)][_0x1fcf24(0x447)](_0xdb31bc),_0xf507b2*0x4);return _0x1f2398[_0x1fcf24(0x157)]=_0xdb31bc*0x4,_0x24d873[_0x1fcf24(0x1b0)]({'key':_0x1f2398,'iv':_0x2cae98,'salt':_0x2a5850});}},_0xab1b46=_0x9b77b9[_0x343a8b(0x2f5)]=_0x53e8b8['extend']({'cfg':_0x53e8b8[_0x343a8b(0x271)][_0x343a8b(0x201)]({'kdf':_0x25b151}),'encrypt':function(_0x1464fd,_0xcac8ca,_0x394f46,_0x2e77f3){var _0x31646c=_0x343a8b;_0x2e77f3=this[_0x31646c(0x271)]['extend'](_0x2e77f3);var _0x320843=_0x2e77f3[_0x31646c(0x284)][_0x31646c(0x3e2)](_0x394f46,_0x1464fd[_0x31646c(0x471)],_0x1464fd[_0x31646c(0x228)],_0x2e77f3[_0x31646c(0x464)],_0x2e77f3[_0x31646c(0x497)]);_0x2e77f3['iv']=_0x320843['iv'];var _0x901d2c=_0x53e8b8[_0x31646c(0x166)][_0x31646c(0x281)](this,_0x1464fd,_0xcac8ca,_0x320843['key'],_0x2e77f3);return _0x901d2c['mixIn'](_0x320843),_0x901d2c;},'decrypt':function(_0x1a7349,_0x81203d,_0x32997b,_0x2742fc){var _0x3600db=_0x343a8b;_0x2742fc=this[_0x3600db(0x271)][_0x3600db(0x201)](_0x2742fc),_0x81203d=this['_parse'](_0x81203d,_0x2742fc[_0x3600db(0x1d5)]);var _0x3dba2d=_0x2742fc[_0x3600db(0x284)][_0x3600db(0x3e2)](_0x32997b,_0x1a7349[_0x3600db(0x471)],_0x1a7349['ivSize'],_0x81203d[_0x3600db(0x464)],_0x2742fc[_0x3600db(0x497)]);_0x2742fc['iv']=_0x3dba2d['iv'];var _0x10e7b8=_0x53e8b8['decrypt'][_0x3600db(0x281)](this,_0x1a7349,_0x81203d,_0x3dba2d[_0x3600db(0x13e)],_0x2742fc);return _0x10e7b8;}});}();}));}(_0xb5fe26)),_0xb5fe26['exports'];}var _0x13d03b=_0x5b936c[_0x27d9cd(0x18f)],_0xfd2f9c;function _0x12110b(){var _0x239d3e=_0x27d9cd;return _0xfd2f9c||(_0xfd2f9c=0x1,function(_0x2ab781,_0x5ca277){(function(_0x43614e,_0x52490f,_0x461a5d){var _0x5305fd=_0x479e;_0x2ab781[_0x5305fd(0x18f)]=_0x52490f(_0x421067(),_0x54b5ab(),_0xc3e901(),_0x4d13dd(),_0x2e4f8e());}(_0x13d03b,function(_0x4a732b){var _0x34adcd=_0x479e;return(function(){var _0x29bec6=_0x479e,_0x428d31=_0x4a732b,_0x2b8c68=_0x428d31[_0x29bec6(0x33a)],_0x18dfdf=_0x2b8c68[_0x29bec6(0x2a2)],_0xf7ab39=_0x428d31[_0x29bec6(0x116)],_0x4d724f=[],_0x74e008=[],_0x3648c0=[],_0x480b9e=[],_0x563861=[],_0x4af45e=[],_0xcb0935=[],_0x1a45f2=[],_0x579d9f=[],_0x1922d8=[];(function(){for(var _0x2af059=[],_0x28c129=0x0;_0x28c129<0x100;_0x28c129++)_0x28c129<0x80?_0x2af059[_0x28c129]=_0x28c129<<0x1:_0x2af059[_0x28c129]=_0x28c129<<0x1^0x11b;for(var _0x3bc8fe=0x0,_0x4a8658=0x0,_0x28c129=0x0;_0x28c129<0x100;_0x28c129++){var _0x3e7e33=_0x4a8658^_0x4a8658<<0x1^_0x4a8658<<0x2^_0x4a8658<<0x3^_0x4a8658<<0x4;_0x3e7e33=_0x3e7e33>>>0x8^_0x3e7e33&0xff^0x63,_0x4d724f[_0x3bc8fe]=_0x3e7e33,_0x74e008[_0x3e7e33]=_0x3bc8fe;var _0x409ee8=_0x2af059[_0x3bc8fe],_0x1d88fc=_0x2af059[_0x409ee8],_0x298a2f=_0x2af059[_0x1d88fc],_0x56b634=_0x2af059[_0x3e7e33]*0x101^_0x3e7e33*0x1010100;_0x3648c0[_0x3bc8fe]=_0x56b634<<0x18|_0x56b634>>>0x8,_0x480b9e[_0x3bc8fe]=_0x56b634<<0x10|_0x56b634>>>0x10,_0x563861[_0x3bc8fe]=_0x56b634<<0x8|_0x56b634>>>0x18,_0x4af45e[_0x3bc8fe]=_0x56b634;var _0x56b634=_0x298a2f*0x1010101^_0x1d88fc*0x10001^_0x409ee8*0x101^_0x3bc8fe*0x1010100;_0xcb0935[_0x3e7e33]=_0x56b634<<0x18|_0x56b634>>>0x8,_0x1a45f2[_0x3e7e33]=_0x56b634<<0x10|_0x56b634>>>0x10,_0x579d9f[_0x3e7e33]=_0x56b634<<0x8|_0x56b634>>>0x18,_0x1922d8[_0x3e7e33]=_0x56b634,_0x3bc8fe?(_0x3bc8fe=_0x409ee8^_0x2af059[_0x2af059[_0x2af059[_0x298a2f^_0x409ee8]]],_0x4a8658^=_0x2af059[_0x2af059[_0x4a8658]]):_0x3bc8fe=_0x4a8658=0x1;}}());var _0x26680b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x847cca=_0xf7ab39[_0x29bec6(0x1c0)]=_0x18dfdf['extend']({'_doReset':function(){var _0x4caba0=_0x29bec6,_0x303b29;if(!(this[_0x4caba0(0x3c7)]&&this[_0x4caba0(0x275)]===this[_0x4caba0(0x363)])){for(var _0x2e599e=this[_0x4caba0(0x275)]=this[_0x4caba0(0x363)],_0x54f2c5=_0x2e599e['words'],_0x2dacd8=_0x2e599e[_0x4caba0(0x157)]/0x4,_0x4b76a1=this[_0x4caba0(0x3c7)]=_0x2dacd8+0x6,_0x148494=(_0x4b76a1+0x1)*0x4,_0x32081f=this[_0x4caba0(0x2a1)]=[],_0x2239b0=0x0;_0x2239b0<_0x148494;_0x2239b0++)_0x2239b0<_0x2dacd8?_0x32081f[_0x2239b0]=_0x54f2c5[_0x2239b0]:(_0x303b29=_0x32081f[_0x2239b0-0x1],_0x2239b0%_0x2dacd8?_0x2dacd8>0x6&&_0x2239b0%_0x2dacd8==0x4&&(_0x303b29=_0x4d724f[_0x303b29>>>0x18]<<0x18|_0x4d724f[_0x303b29>>>0x10&0xff]<<0x10|_0x4d724f[_0x303b29>>>0x8&0xff]<<0x8|_0x4d724f[_0x303b29&0xff]):(_0x303b29=_0x303b29<<0x8|_0x303b29>>>0x18,_0x303b29=_0x4d724f[_0x303b29>>>0x18]<<0x18|_0x4d724f[_0x303b29>>>0x10&0xff]<<0x10|_0x4d724f[_0x303b29>>>0x8&0xff]<<0x8|_0x4d724f[_0x303b29&0xff],_0x303b29^=_0x26680b[_0x2239b0/_0x2dacd8|0x0]<<0x18),_0x32081f[_0x2239b0]=_0x32081f[_0x2239b0-_0x2dacd8]^_0x303b29);for(var _0x421b01=this[_0x4caba0(0x3ad)]=[],_0xb788b6=0x0;_0xb788b6<_0x148494;_0xb788b6++){var _0x2239b0=_0x148494-_0xb788b6;if(_0xb788b6%0x4)var _0x303b29=_0x32081f[_0x2239b0];else var _0x303b29=_0x32081f[_0x2239b0-0x4];_0xb788b6<0x4||_0x2239b0<=0x4?_0x421b01[_0xb788b6]=_0x303b29:_0x421b01[_0xb788b6]=_0xcb0935[_0x4d724f[_0x303b29>>>0x18]]^_0x1a45f2[_0x4d724f[_0x303b29>>>0x10&0xff]]^_0x579d9f[_0x4d724f[_0x303b29>>>0x8&0xff]]^_0x1922d8[_0x4d724f[_0x303b29&0xff]];}}},'encryptBlock':function(_0x254e1d,_0x26282){var _0xeb3ef4=_0x29bec6;this[_0xeb3ef4(0x276)](_0x254e1d,_0x26282,this[_0xeb3ef4(0x2a1)],_0x3648c0,_0x480b9e,_0x563861,_0x4af45e,_0x4d724f);},'decryptBlock':function(_0x59ca59,_0x558c9a){var _0xb009a1=_0x29bec6,_0x5e38cc=_0x59ca59[_0x558c9a+0x1];_0x59ca59[_0x558c9a+0x1]=_0x59ca59[_0x558c9a+0x3],_0x59ca59[_0x558c9a+0x3]=_0x5e38cc,this['_doCryptBlock'](_0x59ca59,_0x558c9a,this[_0xb009a1(0x3ad)],_0xcb0935,_0x1a45f2,_0x579d9f,_0x1922d8,_0x74e008);var _0x5e38cc=_0x59ca59[_0x558c9a+0x1];_0x59ca59[_0x558c9a+0x1]=_0x59ca59[_0x558c9a+0x3],_0x59ca59[_0x558c9a+0x3]=_0x5e38cc;},'_doCryptBlock':function(_0x22e25d,_0x15e8cb,_0x4b58df,_0x3fb3d9,_0x45bbab,_0x1858b1,_0xf4d09f,_0xe1261d){var _0x4cecfb=_0x29bec6;for(var _0x19ff74=this[_0x4cecfb(0x3c7)],_0x1a2315=_0x22e25d[_0x15e8cb]^_0x4b58df[0x0],_0x34b647=_0x22e25d[_0x15e8cb+0x1]^_0x4b58df[0x1],_0x23f507=_0x22e25d[_0x15e8cb+0x2]^_0x4b58df[0x2],_0x4bce73=_0x22e25d[_0x15e8cb+0x3]^_0x4b58df[0x3],_0x5c69b2=0x4,_0x4ae830=0x1;_0x4ae830<_0x19ff74;_0x4ae830++){var _0x21cd29=_0x3fb3d9[_0x1a2315>>>0x18]^_0x45bbab[_0x34b647>>>0x10&0xff]^_0x1858b1[_0x23f507>>>0x8&0xff]^_0xf4d09f[_0x4bce73&0xff]^_0x4b58df[_0x5c69b2++],_0x27f23c=_0x3fb3d9[_0x34b647>>>0x18]^_0x45bbab[_0x23f507>>>0x10&0xff]^_0x1858b1[_0x4bce73>>>0x8&0xff]^_0xf4d09f[_0x1a2315&0xff]^_0x4b58df[_0x5c69b2++],_0x91cce5=_0x3fb3d9[_0x23f507>>>0x18]^_0x45bbab[_0x4bce73>>>0x10&0xff]^_0x1858b1[_0x1a2315>>>0x8&0xff]^_0xf4d09f[_0x34b647&0xff]^_0x4b58df[_0x5c69b2++],_0x2401fc=_0x3fb3d9[_0x4bce73>>>0x18]^_0x45bbab[_0x1a2315>>>0x10&0xff]^_0x1858b1[_0x34b647>>>0x8&0xff]^_0xf4d09f[_0x23f507&0xff]^_0x4b58df[_0x5c69b2++];_0x1a2315=_0x21cd29,_0x34b647=_0x27f23c,_0x23f507=_0x91cce5,_0x4bce73=_0x2401fc;}var _0x21cd29=(_0xe1261d[_0x1a2315>>>0x18]<<0x18|_0xe1261d[_0x34b647>>>0x10&0xff]<<0x10|_0xe1261d[_0x23f507>>>0x8&0xff]<<0x8|_0xe1261d[_0x4bce73&0xff])^_0x4b58df[_0x5c69b2++],_0x27f23c=(_0xe1261d[_0x34b647>>>0x18]<<0x18|_0xe1261d[_0x23f507>>>0x10&0xff]<<0x10|_0xe1261d[_0x4bce73>>>0x8&0xff]<<0x8|_0xe1261d[_0x1a2315&0xff])^_0x4b58df[_0x5c69b2++],_0x91cce5=(_0xe1261d[_0x23f507>>>0x18]<<0x18|_0xe1261d[_0x4bce73>>>0x10&0xff]<<0x10|_0xe1261d[_0x1a2315>>>0x8&0xff]<<0x8|_0xe1261d[_0x34b647&0xff])^_0x4b58df[_0x5c69b2++],_0x2401fc=(_0xe1261d[_0x4bce73>>>0x18]<<0x18|_0xe1261d[_0x1a2315>>>0x10&0xff]<<0x10|_0xe1261d[_0x34b647>>>0x8&0xff]<<0x8|_0xe1261d[_0x23f507&0xff])^_0x4b58df[_0x5c69b2++];_0x22e25d[_0x15e8cb]=_0x21cd29,_0x22e25d[_0x15e8cb+0x1]=_0x27f23c,_0x22e25d[_0x15e8cb+0x2]=_0x91cce5,_0x22e25d[_0x15e8cb+0x3]=_0x2401fc;},'keySize':0x100/0x20});_0x428d31[_0x29bec6(0x1c0)]=_0x18dfdf['_createHelper'](_0x847cca);}()),_0x4a732b[_0x34adcd(0x1c0)];}));}(_0x5b936c)),_0x5b936c[_0x239d3e(0x18f)];}var _0x3bf15f=_0x12110b();const _0x57d211=_0x3ec628(_0x3bf15f);var _0x4fb1c6=_0x54b5ab();const _0x55a154=_0x3ec628(_0x4fb1c6);var _0x135dcc={'exports':{}},_0x3e54f9=_0x135dcc[_0x27d9cd(0x18f)],_0x128af5;function _0x356752(){var _0x7bcfae=_0x27d9cd;return _0x128af5||(_0x128af5=0x1,function(_0xfedf46,_0x33d7cb){(function(_0x390600,_0x494343){var _0x208f98=_0x479e;_0xfedf46[_0x208f98(0x18f)]=_0x494343(_0x421067());}(_0x3e54f9,function(_0x43a634){var _0x2b889b=_0x479e;return _0x43a634[_0x2b889b(0x1a0)][_0x2b889b(0x48c)];}));}(_0x135dcc)),_0x135dcc[_0x7bcfae(0x18f)];}var _0x985a49=_0x356752();const _0x125ee2=_0x3ec628(_0x985a49);var _0x3d4ba0={'exports':{}},_0x2bce6a=_0x3d4ba0[_0x27d9cd(0x18f)],_0x58d75e;function _0x6fc998(){var _0x4ac6e8=_0x27d9cd;return _0x58d75e||(_0x58d75e=0x1,function(_0x372876,_0x55f68d){(function(_0x418b81,_0x4a43bd){_0x372876['exports']=_0x4a43bd(_0x421067());}(_0x2bce6a,function(_0x41717f){var _0x20a272=_0x479e;return(function(){var _0x343126=_0x479e;if(typeof ArrayBuffer==_0x343126(0x198)){var _0x365485=_0x41717f,_0x170eec=_0x365485[_0x343126(0x33a)],_0x27bd80=_0x170eec['WordArray'],_0x3736ab=_0x27bd80['init'],_0x22e120=_0x27bd80[_0x343126(0x38f)]=function(_0x426de3){var _0x5175f2=_0x343126;if(_0x426de3 instanceof ArrayBuffer&&(_0x426de3=new Uint8Array(_0x426de3)),(_0x426de3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x426de3 instanceof Uint8ClampedArray||_0x426de3 instanceof Int16Array||_0x426de3 instanceof Uint16Array||_0x426de3 instanceof Int32Array||_0x426de3 instanceof Uint32Array||_0x426de3 instanceof Float32Array||_0x426de3 instanceof Float64Array)&&(_0x426de3=new Uint8Array(_0x426de3[_0x5175f2(0x417)],_0x426de3[_0x5175f2(0x378)],_0x426de3[_0x5175f2(0x2ea)])),_0x426de3 instanceof Uint8Array){for(var _0x4686d9=_0x426de3[_0x5175f2(0x2ea)],_0x171a5c=[],_0x4c1cfc=0x0;_0x4c1cfc<_0x4686d9;_0x4c1cfc++)_0x171a5c[_0x4c1cfc>>>0x2]|=_0x426de3[_0x4c1cfc]<<0x18-_0x4c1cfc%0x4*0x8;_0x3736ab['call'](this,_0x171a5c,_0x4686d9);}else _0x3736ab[_0x5175f2(0x1fc)](this,arguments);};_0x22e120[_0x343126(0x19f)]=_0x27bd80;}}()),_0x41717f[_0x20a272(0x33a)][_0x20a272(0x17f)];}));}(_0x3d4ba0)),_0x3d4ba0[_0x4ac6e8(0x18f)];}var _0x513cd=_0x6fc998();const _0x365f3b=_0x3ec628(_0x513cd);var _0x397bb7={'exports':{}},_0x265277=_0x397bb7['exports'],_0xb9de2f;function _0x9b7317(){var _0x5d278c=_0x27d9cd;return _0xb9de2f||(_0xb9de2f=0x1,function(_0x447a5f,_0x543709){(function(_0x40cdb5,_0xf6c385,_0x29d443){var _0x38304a=_0x479e;_0x447a5f[_0x38304a(0x18f)]=_0xf6c385(_0x421067(),_0x2e4f8e());}(_0x265277,function(_0x18f266){var _0x59e8d8=_0x479e;return _0x18f266[_0x59e8d8(0x1ad)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x18f266[_0x59e8d8(0x1ad)][_0x59e8d8(0x455)];}));}(_0x397bb7)),_0x397bb7[_0x5d278c(0x18f)];}var _0x2f3a19=_0x9b7317();const _0x54fa13=_0x3ec628(_0x2f3a19);function _0xd691f(_0x19f5b4,_0x1fbf1c){var _0x5b9479=_0x27d9cd;const _0x4ec886=_0x1fbf1c-_0x19f5b4[_0x5b9479(0x3ea)]%_0x1fbf1c,_0x20ba90=String['fromCharCode'](_0x4ec886)[_0x5b9479(0x3e6)](_0x4ec886);return _0x19f5b4+_0x20ba90;}function _0x4b3abf(_0x27609c,_0x127523){var _0x15c236=_0x27d9cd;const _0x4ad1d2=_0x365f3b[_0x15c236(0x3ef)](0x10),_0x2e5d79=_0xd691f(_0x27609c,0x10),_0x458f4f=_0x57d211[_0x15c236(0x166)](_0x125ee2['parse'](_0x2e5d79),_0x55a154[_0x15c236(0x21c)](_0x127523),{'iv':_0x4ad1d2,'padding':_0x54fa13});return _0x4ad1d2[_0x15c236(0x306)](_0x458f4f['ciphertext'])[_0x15c236(0x2e5)](_0x55a154);}function _0x468205(){var _0xd82a22=_0x27d9cd;const _0xd14bf6=_0x2a124c[_0xd82a22(0x274)]()[_0xd82a22(0x42f)];if(_0xd14bf6){const _0x22cca5={'time':Math[_0xd82a22(0x269)](Date[_0xd82a22(0x212)]()/0x3e8),'domain':location['hostname']};return _0x4b3abf(JSON[_0xd82a22(0x38c)](_0x22cca5),_0xd14bf6);}}var _0x267be9=Object['getOwnPropertyDescriptor'],_0x5eae1c=(_0x4afc0b,_0x2b3bbf,_0x3bf6ab,_0x4b221a)=>{var _0x24d3b5=_0x27d9cd;for(var _0x4e206a=_0x4b221a>0x1?void 0x0:_0x4b221a?_0x267be9(_0x2b3bbf,_0x3bf6ab):_0x2b3bbf,_0x2b4155=_0x4afc0b[_0x24d3b5(0x3ea)]-0x1,_0xa9f308;_0x2b4155>=0x0;_0x2b4155--)(_0xa9f308=_0x4afc0b[_0x2b4155])&&(_0x4e206a=_0xa9f308(_0x4e206a)||_0x4e206a);return _0x4e206a;},_0x467f41=(_0x4cb696,_0x375526)=>(_0x39d861,_0x33e14f)=>_0x375526(_0x39d861,_0x33e14f,_0x4cb696);let _0x3ba46f=class{constructor(_0x13a6c5){var _0x27e572=_0x27d9cd;this[_0x27e572(0x1f5)]=_0x13a6c5,this[_0x27e572(0x355)]();}[_0x27d9cd(0x355)](){var _0x204e75=_0x27d9cd;this[_0x204e75(0x1f5)][_0x204e75(0x2b7)]({'interceptor':(_0x4f0bc8,_0x40874d)=>{var _0x27f83c=_0x204e75;const _0x40b483=_0x4f0bc8[_0x27f83c(0x3a8)],_0x188ae2=_0x468205();return _0x188ae2&&_0x40b483['set'](_0x27f83c(0x194),_0x188ae2),_0x40874d(_0x4f0bc8);}});}};_0x3ba46f=_0x5eae1c([_0x467f41(0x0,_0xecd3bb['Inject'](_0x3fafbd[_0x27d9cd(0x3d8)]))],_0x3ba46f);var _0x2491f3=Object['getOwnPropertyDescriptor'],_0x197051=(_0x1e93a1,_0x4790b4,_0x3b3bca,_0x1835c8)=>{var _0x4da1cd=_0x27d9cd;for(var _0x5e5802=_0x1835c8>0x1?void 0x0:_0x1835c8?_0x2491f3(_0x4790b4,_0x3b3bca):_0x4790b4,_0xd240a5=_0x1e93a1[_0x4da1cd(0x3ea)]-0x1,_0x330b34;_0xd240a5>=0x0;_0xd240a5--)(_0x330b34=_0x1e93a1[_0xd240a5])&&(_0x5e5802=_0x330b34(_0x5e5802)||_0x5e5802);return _0x5e5802;},_0x2234fb=(_0x592e52,_0x14b025)=>(_0x2d3a3c,_0x9bd748)=>_0x14b025(_0x2d3a3c,_0x9bd748,_0x592e52);_0x190799[_0x27d9cd(0x39f)]=class extends _0xecd3bb['RxDisposable']{constructor(_0x4d23b5,_0x1a15b9,_0x5b3b7d){var _0x336076=_0x27d9cd;super(),_0x45ccb1(this,'_unitInfo$',new _0x3b002d['BehaviorSubject'](null)),_0x45ccb1(this,'unitInfo$',this['_unitInfo$'][_0x336076(0x3d0)]()),(this[_0x336076(0x200)]=_0x4d23b5,this['_snapshotService']=_0x1a15b9,this[_0x336076(0x22d)]=_0x5b3b7d);}async[_0x27d9cd(0x232)](_0x1ec8b0,_0x3d860b,_0x488c17){var _0x4df39a=_0x27d9cd;this['_unitInfo$']['next']({'unitId':_0x1ec8b0,'type':_0x3d860b});let _0x1cb2d6=null;switch(_0x3d860b){case _0x3bdfff[_0x4df39a(0x15b)]:{_0x1cb2d6=await this[_0x4df39a(0x2c0)][_0x4df39a(0x481)](_0x1ec8b0,_0x488c17);break;}case _0x3bdfff['UNIVER_DOC']:{_0x1cb2d6=await this[_0x4df39a(0x2c0)]['loadDoc'](_0x1ec8b0,_0x488c17);break;}default:{this[_0x4df39a(0x200)][_0x4df39a(0x25e)](_0x4df39a(0x450),_0x4df39a(0x46b));break;}}return _0x1cb2d6;}async[_0x27d9cd(0x452)](_0x38f626,_0x349d87,_0x4424c3){var _0x34a964=_0x27d9cd,_0x649c12;this[_0x34a964(0x327)][_0x34a964(0x3f9)]({'unitId':_0x38f626,'type':_0x349d87,'subUnitId':_0x4424c3});let _0x1c8662=0x0;const _0xaa5ff3=await((_0x649c12=this[_0x34a964(0x22d)])==null?void 0x0:_0x649c12[_0x34a964(0x254)](_0x38f626));return _0xaa5ff3&&(_0xaa5ff3[_0x34a964(0x103)]||_0xaa5ff3['mutations']['length']!==0x0)&&(_0x1c8662=_0xaa5ff3['rev']),_0x1c8662===0x0&&this[_0x34a964(0x200)][_0x34a964(0x176)]('[DataLoaderService]',_0x34a964(0x454)),this[_0x34a964(0x232)](_0x38f626,_0x349d87,_0x1c8662);}},_0x190799[_0x27d9cd(0x39f)]=_0x197051([_0x2234fb(0x0,_0xecd3bb['ILogService']),_0x2234fb(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x385)])),_0x2234fb(0x2,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x39f)]);var _0x2228f4=Object['getOwnPropertyDescriptor'],_0x58729b=(_0x15a34a,_0x50a55c,_0x2b766a,_0x294fa4)=>{for(var _0x2c6fe9=_0x294fa4>0x1?void 0x0:_0x294fa4?_0x2228f4(_0x50a55c,_0x2b766a):_0x50a55c,_0x36a56a=_0x15a34a['length']-0x1,_0x13f756;_0x36a56a>=0x0;_0x36a56a--)(_0x13f756=_0x15a34a[_0x36a56a])&&(_0x2c6fe9=_0x13f756(_0x2c6fe9)||_0x2c6fe9);return _0x2c6fe9;},_0x5d7bba=(_0x5af371,_0x21cfec)=>(_0x539b3b,_0x206026)=>_0x21cfec(_0x539b3b,_0x206026,_0x5af371);const _0x2a4db4=[_0x27d9cd(0x1fb),_0x27d9cd(0x1ac),_0x27d9cd(0x1d3),'image/gif',_0x27d9cd(0x3a2)],_0x3b7533=0x5*0x400*0x400,_0x215a0c=_0x27d9cd(0x141),_0x786e=_0x27d9cd(0x458);_0x190799[_0x27d9cd(0x49f)]=class{constructor(_0x321c85,_0x507a96,_0x46faf5){var _0x2240ff=_0x27d9cd;_0x45ccb1(this,_0x2240ff(0x36c),0x0),_0x45ccb1(this,_0x2240ff(0x1bc),new _0x3b002d[(_0x2240ff(0x26c))]()),_0x45ccb1(this,_0x2240ff(0x28d),this[_0x2240ff(0x1bc)]),_0x45ccb1(this,_0x2240ff(0x3f5),new Map()),(this[_0x2240ff(0x1f5)]=_0x321c85,this[_0x2240ff(0x435)]=_0x507a96,this[_0x2240ff(0x3c6)]=_0x46faf5);}[_0x27d9cd(0x2c9)](_0x3e2005){var _0x1e1209=_0x27d9cd;this[_0x1e1209(0x36c)]=_0x3e2005,this[_0x1e1209(0x1bc)][_0x1e1209(0x3f9)](_0x3e2005);}['getImageSourceCache'](_0x33826a,_0xc7094a){var _0x4f4fe4=_0x27d9cd;if(_0xc7094a===_0x102bc9['ImageSourceType'][_0x4f4fe4(0x440)]){const _0x424fe4=new Image();return _0x424fe4[_0x4f4fe4(0x483)]=_0x33826a,_0x424fe4;}return this['_imageSourceCache'][_0x4f4fe4(0x15d)](_0x33826a);}[_0x27d9cd(0x29d)](_0x2b6b28,_0x16b94e,_0x1541e6){var _0x9299db=_0x27d9cd;_0x16b94e===_0x102bc9[_0x9299db(0x268)][_0x9299db(0x440)]||_0x1541e6==null||this[_0x9299db(0x3f5)][_0x9299db(0x2fa)](_0x2b6b28,_0x1541e6);}async[_0x27d9cd(0x12a)](_0x26692f){var _0x2bc2f9=_0x27d9cd;try{const _0x4339a4=this['_replaceFileID'](this[_0x2bc2f9(0x168)](),''+_0x26692f),_0x4e28d0=(await this[_0x2bc2f9(0x1f5)]['get'](_0x4339a4))[_0x2bc2f9(0x3df)];if(_0x4e28d0[_0x2bc2f9(0x25e)]&&_0x4e28d0[_0x2bc2f9(0x25e)][_0x2bc2f9(0x1ba)]===_0x1ddbd0['OK']){const _0x2e253b=new URL(_0x4e28d0[_0x2bc2f9(0x26f)],this[_0x2bc2f9(0x22f)]())['toString']();return Promise[_0x2bc2f9(0x135)](_0x2e253b);}return Promise[_0x2bc2f9(0x476)](_0x4e28d0['error']);}catch(_0x38dcc5){return Promise[_0x2bc2f9(0x476)](_0x38dcc5);}}async[_0x27d9cd(0x17b)](_0x21f894){var _0x224f85=_0x27d9cd;let _0x136520='';if(!_0x2a4db4[_0x224f85(0x23a)](_0x21f894[_0x224f85(0x430)]))return this[_0x224f85(0x372)](),Promise[_0x224f85(0x476)](new Error(_0x102bc9['ImageUploadStatusType'][_0x224f85(0x351)]));if(_0x21f894['size']>_0x3b7533)return this[_0x224f85(0x372)](),Promise[_0x224f85(0x476)](new Error(_0x102bc9[_0x224f85(0x1f3)]['ERROR_EXCEED_SIZE']));try{const _0x242df0=new FormData();_0x242df0[_0x224f85(0x202)](_0x224f85(0x231),_0x21f894);const _0x3f16a7=this[_0x224f85(0x3c6)]['getFocusedUnit'](),_0x1e315b=_0x3f16a7==null?void 0x0:_0x3f16a7[_0x224f85(0x279)]();if(!_0x1e315b)throw new Error(_0x224f85(0x17a));const _0x51996b=this['_getUploadFileURL']()+_0x224f85(0x2d5)+_0x21f894[_0x224f85(0x401)]['toString']()+_0x224f85(0x42a)+_0x17e6be[_0x224f85(0x43d)]+_0x224f85(0x3b1)+encodeURIComponent(_0x1e315b),_0x1c4a2a={'body':_0x242df0},_0x4c6b0d=(await this['_httpService'][_0x224f85(0x1ff)](_0x51996b,_0x1c4a2a))[_0x224f85(0x3df)];if(typeof _0x4c6b0d[_0x224f85(0x49b)]!=_0x224f85(0x1a5))return this[_0x224f85(0x372)](),Promise[_0x224f85(0x476)](new Error(_0x102bc9[_0x224f85(0x1f3)][_0x224f85(0x14c)]));_0x136520=_0x4c6b0d[_0x224f85(0x49b)];}catch{return this[_0x224f85(0x372)](),Promise['reject'](new Error(_0x102bc9[_0x224f85(0x1f3)][_0x224f85(0x14c)]));}return new Promise((_0x1d87be,_0x351fa5)=>{var _0x2a2612=_0x224f85;const _0x194671=new FileReader();_0x194671[_0x2a2612(0x13d)](_0x21f894),_0x194671[_0x2a2612(0x28c)]=_0x450891=>{var _0x6dc4eb=_0x2a2612,_0x5245cc;const _0x5e54e0=(_0x5245cc=_0x450891['target'])==null?void 0x0:_0x5245cc[_0x6dc4eb(0x2b9)];if(_0x5e54e0==null){this[_0x6dc4eb(0x372)](),_0x351fa5(new Error(_0x102bc9['ImageUploadStatusType'][_0x6dc4eb(0x14c)]));return;}const _0x2102f0=_0xecd3bb[_0x6dc4eb(0x38d)](0x6);_0x1d87be({'imageId':_0x2102f0,'imageSourceType':_0x102bc9['ImageSourceType']['UUID'],'source':_0x136520,'base64Cache':_0x5e54e0,'status':_0x102bc9[_0x6dc4eb(0x1f3)][_0x6dc4eb(0xfe)]}),this[_0x6dc4eb(0x372)]();};});}[_0x27d9cd(0x470)](){var _0x1d3a1e=_0x27d9cd,_0x97b10d;const _0x1b9b4c=this[_0x1d3a1e(0x435)][_0x1d3a1e(0x36e)](_0xa270ad);return(_0x97b10d=_0x1b9b4c==null?void 0x0:_0x1b9b4c['uploadFileServerUrl'])!=null?_0x97b10d:_0x215a0c;}['_getSignURL'](){var _0x4b8c31=_0x27d9cd,_0xa0656a;const _0x50b92e=this[_0x4b8c31(0x435)][_0x4b8c31(0x36e)](_0xa270ad);return(_0xa0656a=_0x50b92e==null?void 0x0:_0x50b92e[_0x4b8c31(0x178)])!=null?_0xa0656a:_0x786e;}[_0x27d9cd(0x22f)](){var _0x2608ec=_0x27d9cd,_0x1f5480;const _0xa63237=this[_0x2608ec(0x435)][_0x2608ec(0x36e)](_0xa270ad);return(_0x1f5480=_0xa63237==null?void 0x0:_0xa63237[_0x2608ec(0x3a3)])!=null?_0x1f5480:location[_0x2608ec(0x373)];}[_0x27d9cd(0x170)](_0x5d8114,_0x2f5843){var _0x450a66=_0x27d9cd;return _0x5d8114[_0x450a66(0x13b)]('{fileID}',_0x2f5843);}[_0x27d9cd(0x372)](){var _0xf2a5a5=_0x27d9cd;this['_waitCount']-=0x1,this[_0xf2a5a5(0x1bc)][_0xf2a5a5(0x3f9)](this[_0xf2a5a5(0x36c)]);}},_0x190799['CollaborationImageIoService']=_0x58729b([_0x5d7bba(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd[_0x27d9cd(0x3d8)])),_0x5d7bba(0x1,_0xecd3bb['IConfigService']),_0x5d7bba(0x2,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x104)]))],_0x190799[_0x27d9cd(0x49f)]);var _0x132842=Object[_0x27d9cd(0x49e)],_0x526ca1=(_0x18b1b1,_0x3dd182,_0x118385,_0x188f74)=>{for(var _0x1467f0=_0x188f74>0x1?void 0x0:_0x188f74?_0x132842(_0x3dd182,_0x118385):_0x3dd182,_0x29b19f=_0x18b1b1['length']-0x1,_0x5daf9c;_0x29b19f>=0x0;_0x29b19f--)(_0x5daf9c=_0x18b1b1[_0x29b19f])&&(_0x1467f0=_0x5daf9c(_0x1467f0)||_0x1467f0);return _0x1467f0;},_0x2f47ce=(_0x142a40,_0x45092e)=>(_0x27f287,_0x16f1a6)=>_0x45092e(_0x27f287,_0x16f1a6,_0x142a40);const _0x4a31ea='/universer-api/authz';_0x190799[_0x27d9cd(0x33f)]=class{constructor(_0x11076a,_0x780b23){var _0x20a75b=_0x27d9cd;this[_0x20a75b(0x435)]=_0x11076a,this[_0x20a75b(0x2f8)]=_0x780b23;}['_getAPIPrefixPath'](){var _0x14059d=_0x27d9cd,_0xcde67a;const _0x4c998c=this[_0x14059d(0x435)][_0x14059d(0x36e)](_0xa270ad);return(_0xcde67a=_0x4c998c==null?void 0x0:_0x4c998c['authzUrl'])!=null?_0xcde67a:_0x4a31ea;}async[_0x27d9cd(0x40b)](_0x3e357d){var _0xa6fea3=_0x27d9cd;const _0x499b3a=this[_0xa6fea3(0x156)]()+'/collaborator';return{'list':[{'title':_0xa6fea3(0x409),'mentions':(await this[_0xa6fea3(0x2f8)][_0xa6fea3(0x15d)](_0x499b3a,{'params':{'objectID':_0x3e357d[_0xa6fea3(0x18c)],'unitID':_0x3e357d[_0xa6fea3(0x18c)]}}))[_0xa6fea3(0x3df)][_0xa6fea3(0x47b)]['map'](_0x31c309=>({'objectId':_0x31c309['id'],'name':_0x31c309[_0xa6fea3(0x3da)][_0xa6fea3(0x495)],'metadata':{'icon':_0x31c309[_0xa6fea3(0x3da)][_0xa6fea3(0x123)]},'label':_0x31c309[_0xa6fea3(0x3da)][_0xa6fea3(0x495)],'objectType':_0xecd3bb[_0xa6fea3(0x3f4)][_0xa6fea3(0x341)]})),'metadata':{},'type':_0xecd3bb['MentionType'][_0xa6fea3(0x341)]}]};}},_0x190799[_0x27d9cd(0x33f)]=_0x526ca1([_0x2f47ce(0x0,_0xecd3bb['Inject'](_0xecd3bb[_0x27d9cd(0x34d)])),_0x2f47ce(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd[_0x27d9cd(0x3d8)]))],_0x190799['MentionIoHttpService']);var _0x2fe726=Object['getOwnPropertyDescriptor'],_0x511c6b=(_0x5df371,_0x55c108,_0x2cf44f,_0x205007)=>{var _0x45a4f2=_0x27d9cd;for(var _0x594268=_0x205007>0x1?void 0x0:_0x205007?_0x2fe726(_0x55c108,_0x2cf44f):_0x55c108,_0x1313c5=_0x5df371[_0x45a4f2(0x3ea)]-0x1,_0x39079a;_0x1313c5>=0x0;_0x1313c5--)(_0x39079a=_0x5df371[_0x1313c5])&&(_0x594268=_0x39079a(_0x594268)||_0x594268);return _0x594268;},_0xeef9de=(_0x19fde1,_0x10fc22)=>(_0x43071a,_0x4314a7)=>_0x10fc22(_0x43071a,_0x4314a7,_0x19fde1);let _0x4af6e4=class extends _0xecd3bb[_0x27d9cd(0x1e0)]{constructor(_0x1c087d,_0x2deef4,_0x4a4960,_0x1d3bd8,_0x50275f){var _0x205b5e=_0x27d9cd;super(),this[_0x205b5e(0x3d5)]=_0x1c087d,this['_univerInstanceService']=_0x2deef4,this[_0x205b5e(0x1cd)]=_0x4a4960,this['_collaborationSessionService']=_0x1d3bd8,this[_0x205b5e(0x2de)]=_0x50275f,this[_0x205b5e(0x182)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x14421d=_0x27d9cd;const _0x64f4ea=async _0x632c4=>{var _0x1b4acb=_0x479e;(await this['_collaborationSessionService'][_0x1b4acb(0x420)](_0x632c4))[_0x1b4acb(0x14f)][_0x1b4acb(0x15f)](_0x42edf7[_0x1b4acb(0x31b)](_0x21eca2=>_0x21eca2[_0x1b4acb(0x2e3)]===_0x5a8633[_0x1b4acb(0x1ca)][_0x1b4acb(0x498)]),_0x42edf7[_0x1b4acb(0x106)](this[_0x1b4acb(0x27f)]))[_0x1b4acb(0x316)](_0x4325fa=>{var _0x18c07f=_0x1b4acb;const _0x739ff7=_0x4325fa,{reason:_0x58385c}=_0x739ff7[_0x18c07f(0x23d)];this[_0x18c07f(0x2de)][_0x18c07f(0x2eb)]({'id':_0x1af2c4['CLOSE_ROOM'],'data':_0x58385c}),this[_0x18c07f(0x1cd)][_0x18c07f(0x3d2)](new _0x51c935['WorkbookEditablePermission'](_0x632c4)['id'],!0x1),this[_0x18c07f(0x3eb)][_0x18c07f(0x424)](_0x632c4);});};_0x3b002d[_0x14421d(0x2a5)](this[_0x14421d(0x3c6)]['getTypeOfUnitAdded$'](_0xecd3bb[_0x14421d(0x444)][_0x14421d(0x15b)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xecd3bb[_0x14421d(0x444)][_0x14421d(0x374)]))[_0x14421d(0x15f)](_0x42edf7[_0x14421d(0x14b)](_0x9e9fa0=>_0x9e9fa0[_0x14421d(0x279)]()),_0x42edf7[_0x14421d(0x31b)](_0x243644=>!_0xecd3bb[_0x14421d(0x3c4)](_0x243644)),_0x42edf7['takeUntil'](this[_0x14421d(0x27f)]))['subscribe'](_0x5b0499=>{_0x64f4ea(_0x5b0499);});}[_0x27d9cd(0x182)](){var _0x31a0b8=_0x27d9cd;const _0x5b5ca5=async _0x494bbd=>{var _0x22cad7=_0x479e;const _0x2c1f96=await this['_collaborationSessionService'][_0x22cad7(0x420)](_0x494bbd),_0x147a1b=this[_0x22cad7(0x3d5)][_0x22cad7(0x15d)](_0x51c935[_0x22cad7(0x145)]);_0x2c1f96['event$'][_0x22cad7(0x15f)](_0x42edf7[_0x22cad7(0x31b)](_0x14a279=>_0x14a279[_0x22cad7(0x2e3)]===_0x5a8633[_0x22cad7(0x1ca)]['UPDATE_PERMISSION_OBJ']),_0x42edf7[_0x22cad7(0x106)](this[_0x22cad7(0x27f)]))['subscribe'](_0x5ae1f4=>{var _0x1893fa=_0x22cad7;const _0x3f8506=_0x5ae1f4,{objectId:_0x1f7c6f}=_0x3f8506['data'];_0x1f7c6f===_0x494bbd?_0x147a1b[_0x1893fa(0x388)](_0x494bbd):_0x147a1b['refreshPermission'](_0x494bbd,_0x1f7c6f);});};_0x3b002d['merge'](this[_0x31a0b8(0x3c6)][_0x31a0b8(0x19a)](_0xecd3bb['UniverInstanceType']['UNIVER_SHEET']))[_0x31a0b8(0x15f)](_0x42edf7[_0x31a0b8(0x14b)](_0x1ee786=>_0x1ee786[_0x31a0b8(0x279)]()),_0x42edf7[_0x31a0b8(0x31b)](_0x32bdd8=>!_0xecd3bb['isInternalEditorID'](_0x32bdd8)),_0x42edf7[_0x31a0b8(0x106)](this[_0x31a0b8(0x27f)]))[_0x31a0b8(0x316)](_0x1ead1e=>{_0x5b5ca5(_0x1ead1e);});}};_0x4af6e4=_0x511c6b([_0xeef9de(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0xeef9de(0x1,_0xecd3bb['IUniverInstanceService']),_0xeef9de(0x2,_0xecd3bb[_0x27d9cd(0x321)]),_0xeef9de(0x3,_0xecd3bb['Inject'](_0x190799[_0x27d9cd(0x394)])),_0xeef9de(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80))],_0x4af6e4);var _0x4ae754=Object[_0x27d9cd(0x49e)],_0x29d687=(_0xd9d700,_0xf6a1f2,_0x58c936,_0x5e9b03)=>{for(var _0x13c7c6=_0x5e9b03>0x1?void 0x0:_0x5e9b03?_0x4ae754(_0xf6a1f2,_0x58c936):_0xf6a1f2,_0x3fbd8a=_0xd9d700['length']-0x1,_0x42c75e;_0x3fbd8a>=0x0;_0x3fbd8a--)(_0x42c75e=_0xd9d700[_0x3fbd8a])&&(_0x13c7c6=_0x42c75e(_0x13c7c6)||_0x13c7c6);return _0x13c7c6;},_0x2641b7=(_0x309448,_0x53c848)=>(_0x326a19,_0x3d2674)=>_0x53c848(_0x326a19,_0x3d2674,_0x309448);_0x190799[_0x27d9cd(0x461)]=class{constructor(_0x328400,_0x2aa5e7){var _0x6325b1=_0x27d9cd;this[_0x6325b1(0x435)]=_0x328400,this[_0x6325b1(0x1f5)]=_0x2aa5e7;}async[_0x27d9cd(0x408)](_0x149021,_0x2c9a2e){var _0x5b967b=_0x27d9cd,_0x264c27;const {unitID:_0x1d1865,type:_0x207c14,revision:_0x225b01=0x0}=_0x2c9a2e,_0x16986b=this[_0x5b967b(0x3e3)]()+'/'+_0x207c14+_0x5b967b(0x434)+_0x1d1865+_0x5b967b(0x40e)+_0x225b01,_0x3cd244=(await this[_0x5b967b(0x1f5)]['get'](_0x16986b))['body'],_0xdf5b1=(_0x264c27=_0x3cd244['snapshot'])==null?void 0x0:_0x264c27[_0x5b967b(0x261)];if(_0xdf5b1){const _0x4bbaf2=_0xdf5b1==null?void 0x0:_0xdf5b1[_0x5b967b(0x3fb)],_0x27b88e=_0x5a8633[_0x5b967b(0x3d3)][_0x5b967b(0x13f)](_0x5a8633[_0x5b967b(0x2d6)](_0x4bbaf2));_0xdf5b1['originalMeta']=_0x27b88e,Object[_0x5b967b(0x144)](_0xdf5b1[_0x5b967b(0x1b5)])['forEach'](([,_0x3fc927])=>{var _0x5cb52c=_0x5b967b;const _0x4e5cf9=_0x3fc927['originalMeta'],_0x19ac33=_0x5a8633[_0x5cb52c(0x3d3)][_0x5cb52c(0x13f)](_0x5a8633[_0x5cb52c(0x2d6)](_0x4e5cf9));_0x3fc927[_0x5cb52c(0x3fb)]=_0x19ac33;});}return _0x3cd244;}async[_0x27d9cd(0x154)](_0x1cae6e,_0xd760d){var _0x296edf=_0x27d9cd;const {unitID:_0xbbf71,type:_0xec6e11,blockID:_0x1a8ac0}=_0xd760d,_0x39035c=this['_getAPIPrefix']()+'/'+_0xec6e11+_0x296edf(0x434)+_0xbbf71+_0x296edf(0x44b)+_0x1a8ac0;return(await this[_0x296edf(0x1f5)][_0x296edf(0x15d)](_0x39035c))['body'];}async[_0x27d9cd(0x32d)](_0x7cec8f,_0x15dcda){var _0x1e19ad=_0x27d9cd;const {unitID:_0x26e13a,type:_0x339f45,blockID:_0x42440c}=_0x15dcda,_0x4b676e=this[_0x1e19ad(0x107)]()+'/block/'+_0x339f45+_0x1e19ad(0x434)+_0x26e13a+_0x1e19ad(0x44b)+_0x42440c;return(await this[_0x1e19ad(0x1f5)][_0x1e19ad(0x15d)](_0x4b676e))[_0x1e19ad(0x3df)];}async[_0x27d9cd(0x389)](_0x6eb650,_0x3ca418){var _0x36479c=_0x27d9cd;const {unitID:_0x2fb4ca,type:_0x40a382,from:_0x1cb880,to:_0x1bacff}=_0x3ca418,_0x14b40f=this[_0x36479c(0x107)]()+'/'+_0x40a382+_0x36479c(0x434)+_0x2fb4ca+_0x36479c(0x411)+_0x1cb880+_0x36479c(0x199)+_0x1bacff;return(await this[_0x36479c(0x1f5)]['get'](_0x14b40f))[_0x36479c(0x3df)];}[_0x27d9cd(0x3e3)](){var _0x3addad=_0x27d9cd,_0x20807a;return(_0x20807a=this['_configService'][_0x3addad(0x36e)](_0xa5b735))!=null?_0x20807a:this[_0x3addad(0x107)]();}[_0x27d9cd(0x107)](){var _0x58e637=_0x27d9cd,_0x2eb859;const _0x5f1d66=this[_0x58e637(0x435)][_0x58e637(0x36e)](_0xa270ad);return(_0x2eb859=_0x5f1d66==null?void 0x0:_0x5f1d66['snapshotServerUrl'])!=null?_0x2eb859:_0x2607b1;}async[_0x27d9cd(0x18e)](_0x4cd61d,_0x131404){var _0x4e6596=_0x27d9cd;const _0x51fd4b=_0x4e6596(0x250)+_0x131404[_0x4e6596(0x430)]+_0x4e6596(0x434)+_0x131404[_0x4e6596(0x114)]+_0x4e6596(0x146);return(await this[_0x4e6596(0x1f5)][_0x4e6596(0x15d)](_0x51fd4b,{'params':{'resourceId':JSON[_0x4e6596(0x38c)](_0x131404['resourceIDs'])}}))[_0x4e6596(0x3df)];}['saveSnapshot'](){var _0x5cb800=_0x27d9cd;throw new Error(_0x5cb800(0x38a));}[_0x27d9cd(0x43a)](){var _0x37bac1=_0x27d9cd;throw new Error(_0x37bac1(0x38a));}[_0x27d9cd(0x446)](){var _0x587e96=_0x27d9cd;throw new Error(_0x587e96(0x38a));}[_0x27d9cd(0x405)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x27d9cd(0x179)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x453c2f=_0x27d9cd;throw new Error(_0x453c2f(0x38a));}},_0x190799[_0x27d9cd(0x461)]=_0x29d687([_0x2641b7(0x0,_0xecd3bb[_0x27d9cd(0x34d)]),_0x2641b7(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd['HTTPService']))],_0x190799[_0x27d9cd(0x461)]);var _0x4d2236=Object['getOwnPropertyDescriptor'],_0x3bb43f=(_0x28c05e,_0x494922,_0x29eeec,_0x37b3a3)=>{var _0x5a140c=_0x27d9cd;for(var _0x1da1ab=_0x37b3a3>0x1?void 0x0:_0x37b3a3?_0x4d2236(_0x494922,_0x29eeec):_0x494922,_0x25cbe5=_0x28c05e[_0x5a140c(0x3ea)]-0x1,_0x58d566;_0x25cbe5>=0x0;_0x25cbe5--)(_0x58d566=_0x28c05e[_0x25cbe5])&&(_0x1da1ab=_0x58d566(_0x1da1ab)||_0x1da1ab);return _0x1da1ab;},_0x4a07c5=(_0x189f43,_0x30a971)=>(_0x10eaea,_0x271f63)=>_0x30a971(_0x10eaea,_0x271f63,_0x189f43);_0x190799[_0x27d9cd(0x2d3)]=class extends _0xecd3bb['LocalUndoRedoService']{constructor(_0x22a4bd,_0x1cf831,_0x44c2aa,_0xafd673,_0x161f91){var _0x20a37d=_0x27d9cd;super(_0x22a4bd,_0x1cf831,_0x44c2aa),this[_0x20a37d(0x2f2)]=_0xafd673,this['_logService']=_0x161f91;}[_0x27d9cd(0x28a)](_0x1fedc6,_0xaf59c0){var _0x4c9ba3=_0x27d9cd;const _0x16b889=this[_0x4c9ba3(0x31d)](_0x1fedc6);if(_0x16b889)try{const _0x787f77=this[_0x4c9ba3(0x3e4)](_0x16b889,_0xaf59c0);this[_0x4c9ba3(0x1bf)](_0x1fedc6,_0x787f77);}catch(_0x31ad5c){this[_0x4c9ba3(0x200)][_0x4c9ba3(0x25e)](_0x4c9ba3(0x225),_0x31ad5c),this[_0x4c9ba3(0x2e0)](_0x1fedc6);}const _0x2db54f=this[_0x4c9ba3(0x15c)](_0x1fedc6);if(_0x2db54f)try{const _0x1c6f6f=this[_0x4c9ba3(0x3e4)](_0x2db54f,_0xaf59c0);this[_0x4c9ba3(0x2e9)](_0x1fedc6,_0x1c6f6f);}catch(_0x40d1a2){this['_logService'][_0x4c9ba3(0x25e)](_0x40d1a2),this['_clearRedo'](_0x1fedc6);}}['_clearUndo'](_0x5d248d){var _0x20f07b=_0x27d9cd;const _0x3b0312=this[_0x20f07b(0x31d)](_0x5d248d);_0x3b0312&&(_0x3b0312[_0x20f07b(0x3ea)]=0x0,this[_0x20f07b(0x494)]());}[_0x27d9cd(0x3e1)](_0x451e45){const _0x43484f=this['_getRedoStack'](_0x451e45);_0x43484f&&(_0x43484f['length']=0x0,this['_updateStatus']());}[_0x27d9cd(0x1bf)](_0x3fe147,_0x5e5667){var _0x33a638=_0x27d9cd;this[_0x33a638(0x44e)][_0x33a638(0x2fa)](_0x3fe147,_0x5e5667),this[_0x33a638(0x494)]();}[_0x27d9cd(0x2e9)](_0x51f3a0,_0x1cba9a){var _0x2a47dc=_0x27d9cd;this[_0x2a47dc(0x273)][_0x2a47dc(0x2fa)](_0x51f3a0,_0x1cba9a),this['_updateStatus']();}[_0x27d9cd(0x3e4)](_0x14acfb,_0x1945f2){var _0x4c5ecb=_0x27d9cd;const _0x2335f0=[];let _0x17ef0c=_0x1945f2,_0x14148b=_0x1945f2;for(let _0x4219af=_0x14acfb[_0x4c5ecb(0x3ea)]-0x1;_0x4219af>=0x0;_0x4219af--){const {unitID:_0xef54cf,undoMutations:_0x5e60cb,redoMutations:_0x2bb51d}=_0x14acfb[_0x4219af],_0x5bf7bd=this[_0x4c5ecb(0x2f2)][_0x4c5ecb(0x48a)](_0x17ef0c,_0x5e60cb),_0x37d155=this['_transformService'][_0x4c5ecb(0x48a)](_0x14148b,_0x2bb51d);if(_0x5a8633[_0x4c5ecb(0x457)](_0x5bf7bd)||_0x5a8633[_0x4c5ecb(0x457)](_0x37d155)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x4c5ecb(0x20d),_0x5bf7bd,_0x37d155);break;}_0x17ef0c=_0x5bf7bd[_0x4c5ecb(0x1fe)],_0x14148b=_0x37d155[_0x4c5ecb(0x1fe)],_0x2335f0['push']({'unitID':_0xef54cf,'undoMutations':_0x5bf7bd['m2Prime'],'redoMutations':_0x37d155['m2Prime']});}return _0x2335f0['reverse']();}},_0x190799[_0x27d9cd(0x2d3)]=_0x3bb43f([_0x4a07c5(0x0,_0xecd3bb['IUniverInstanceService']),_0x4a07c5(0x1,_0xecd3bb['ICommandService']),_0x4a07c5(0x2,_0xecd3bb[_0x27d9cd(0x1d9)]),_0x4a07c5(0x3,_0x5a8633[_0x27d9cd(0x2af)]),_0x4a07c5(0x4,_0xecd3bb[_0x27d9cd(0x30e)])],_0x190799[_0x27d9cd(0x2d3)]);var _0x3ab565=Object[_0x27d9cd(0x3ab)],_0x55d5dc=Object[_0x27d9cd(0x49e)],_0x59a125=(_0x2233d6,_0x3fa4d5,_0x2192e)=>_0x3fa4d5 in _0x2233d6?_0x3ab565(_0x2233d6,_0x3fa4d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2192e}):_0x2233d6[_0x3fa4d5]=_0x2192e,_0x5f3eda=(_0x438d7e,_0x47d3c1,_0x491d78,_0x229842)=>{var _0x57e7f8=_0x27d9cd;for(var _0x57ad59=_0x229842>0x1?void 0x0:_0x229842?_0x55d5dc(_0x47d3c1,_0x491d78):_0x47d3c1,_0x3f48da=_0x438d7e[_0x57e7f8(0x3ea)]-0x1,_0x30aa15;_0x3f48da>=0x0;_0x3f48da--)(_0x30aa15=_0x438d7e[_0x3f48da])&&(_0x57ad59=_0x30aa15(_0x57ad59)||_0x57ad59);return _0x57ad59;},_0x22f617=(_0x276c37,_0x3d361f)=>(_0x305efc,_0x3cd6ad)=>_0x3d361f(_0x305efc,_0x3cd6ad,_0x276c37),_0x1f65d2=(_0x5c1c27,_0x45c71b,_0x33d738)=>_0x59a125(_0x5c1c27,_0x45c71b+'',_0x33d738);const _0x17ef91=_0x27d9cd(0x1da);_0x190799[_0x27d9cd(0x473)]=class extends _0xecd3bb[_0x27d9cd(0x3f1)]{constructor(_0x32e579,_0x3ff88e,_0x1e47c7,_0xd3fb7f){var _0x4bf315=_0x27d9cd;super(),_0x45ccb1(this,_0x4bf315(0x2f4)),(this['_logService']=_0x3ff88e,this[_0x4bf315(0x3d5)]=_0x1e47c7,this['_configService']=_0xd3fb7f);const {..._0x5acb00}=_0xecd3bb[_0x4bf315(0x2a5)]({},_0x2a19ca,_0x32e579);if(!_0x5acb00['socketService'])throw new Error(_0x4bf315(0x40f));this[_0x4bf315(0x2f4)]=_0x5acb00,this['_configService'][_0x4bf315(0x1a4)](_0xa270ad,_0x5acb00);}['onStarting'](){var _0x119e0f=_0x27d9cd;this[_0x119e0f(0x262)](),this[_0x119e0f(0x3d6)]();}[_0x27d9cd(0x262)](){var _0x3920f2=_0x27d9cd,_0x3bfded,_0x9d2af2;this[_0x3920f2(0x3d5)]['has'](_0xecd3bb['IUndoRedoService'])&&this[_0x3920f2(0x200)][_0x3920f2(0x25e)](_0x3920f2(0x203),_0x3920f2(0x49c));const _0x5db5a1=_0xecd3bb[_0x3920f2(0x2cd)]([[_0xecd3bb[_0x3920f2(0x2e7)],{'useClass':_0x190799['CollaborativeUndoRedoService']}],[_0x190799[_0x3920f2(0x394)]],[_0x190799['MemberService']],[_0x190799[_0x3920f2(0x298)]],[_0xe53648],[_0x3ba46f],[_0x163fa3],[_0x4af6e4],[_0x560d80],[_0x190799[_0x3920f2(0x39f)]],[_0x3f811f,{'useClass':this[_0x3920f2(0x2f4)][_0x3920f2(0x46c)]}],[_0x5a8633[_0x3920f2(0x30d)],{'useClass':_0x190799[_0x3920f2(0x461)]}],[_0xecd3bb[_0x3920f2(0x42d)],{'useClass':_0x190799['AuthzIoHttpService']}],[_0x102bc9[_0x3920f2(0x292)],{'useClass':_0x190799['CollaborationImageIoService']}],[_0xecd3bb[_0x3920f2(0x1de)],{'useClass':_0x190799['MentionIoHttpService']}],[_0x190799[_0x3920f2(0x245)]],[_0x5e7f79]],(_0x3bfded=this[_0x3920f2(0x2f4)])==null?void 0x0:_0x3bfded[_0x3920f2(0x243)]);if(!((_0x9d2af2=this[_0x3920f2(0x2f4)])!=null&&_0x9d2af2[_0x3920f2(0x216)])){const _0x41791f=_0x5db5a1[_0x3920f2(0x369)](([_0x139275])=>_0x139275===_0x4a5240);_0x41791f!==-0x1&&_0x5db5a1['splice'](_0x41791f,0x1);}_0xecd3bb['registerDependencies'](this['_injector'],_0x5db5a1);}[_0x27d9cd(0x3d6)](){var _0x5d17db=_0x27d9cd,_0x23bc98,_0x4de82c,_0xaba1dd;this[_0x5d17db(0x3d5)][_0x5d17db(0x15d)](_0x3fafbd[_0x5d17db(0x3d8)])[_0x5d17db(0x2b7)]({'priority':0x14,'interceptor':_0x3fafbd[_0x5d17db(0x140)]({'maxParallel':0x6})}),(_0x23bc98=this[_0x5d17db(0x2f4)])!=null&&_0x23bc98['enableOfflineEditing']||(_0x4de82c=this['_injector'][_0x5d17db(0x15d)](_0x521485,_0xecd3bb[_0x5d17db(0x1ee)][_0x5d17db(0x442)]))==null||_0x4de82c['disableLocalCache'](),(_0xaba1dd=this['_config'])!=null&&_0xaba1dd[_0x5d17db(0x20f)]&&_0xecd3bb['touchDependencies'](this[_0x5d17db(0x3d5)],[[_0xe53648]]),_0xecd3bb['touchDependencies'](this[_0x5d17db(0x3d5)],[[_0x3ba46f],[_0x190799[_0x5d17db(0x245)]],[_0x4af6e4]]);}},_0x1f65d2(_0x190799[_0x27d9cd(0x473)],_0x27d9cd(0x2ec),_0x17ef91),_0x190799['UniverCollaborationClientPlugin']=_0x5f3eda([_0xecd3bb['DependentOn'](_0x5a8633['UniverCollaborationPlugin'],_0x3fafbd[_0x27d9cd(0x353)]),_0x22f617(0x1,_0xecd3bb['ILogService']),_0x22f617(0x2,_0xecd3bb['Inject'](_0xecd3bb[_0x27d9cd(0x185)])),_0x22f617(0x3,_0xecd3bb[_0x27d9cd(0x34d)])],_0x190799[_0x27d9cd(0x473)]),_0x190799['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0xa270ad,_0x190799[_0x27d9cd(0x406)]=_0x5d612c,_0x190799[_0x27d9cd(0x188)]=_0x1af2c4,_0x190799[_0x27d9cd(0x11f)]=_0x560d80,_0x190799[_0x27d9cd(0x3d7)]=_0x163fa3,_0x190799['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x4aed1f,_0x190799[_0x27d9cd(0x295)]=_0x355e17,_0x190799[_0x27d9cd(0x390)]=_0x4bf3a7,_0x190799[_0x27d9cd(0x240)]=_0x5b9780,_0x190799[_0x27d9cd(0x132)]=_0x251bae,_0x190799[_0x27d9cd(0x237)]=_0x3f811f,_0x190799[_0x27d9cd(0x195)]=_0x521485,_0x190799[_0x27d9cd(0x2bc)]=_0x53c606,_0x190799['ISingleActiveUnitService']=_0x4a5240,_0x190799[_0x27d9cd(0x2a7)]=0x3e8,_0x190799[_0x27d9cd(0x1bb)]=_0x35aad7,_0x190799[_0x27d9cd(0x3dc)]=_0x5d8d62,_0x190799[_0x27d9cd(0x3c2)]=_0x2b73c1,_0x190799['SessionStatus']=_0xe17649,_0x190799[_0x27d9cd(0x2f9)]=_0x502878,_0x190799[_0x27d9cd(0x414)]=_0x4414ba,_0x190799[_0x27d9cd(0x2bf)]=_0x2679aa,_0x190799[_0x27d9cd(0x370)]=_0xe15d3a,Object[_0x27d9cd(0x3ab)](_0x190799,Symbol['toStringTag'],{'value':'Module'});}));function _0x479e(_0x98d3a0,_0x975092){_0x98d3a0=_0x98d3a0-0xf8;var _0x119d87=_0x119d();var _0x479e49=_0x119d87[_0x98d3a0];return _0x479e49;}function _0x119d(){var _0x4be982=['SheetsSelectionsService','collabWebSocketUrl','UNKNOWN_CMD','params','compute','CONFLICT','NEW_CHANGESETS','_createHandler','_map','concat','objectType','_waitForHeartbeatResponse','permissionRejEvent','ALREADY_EXISTS','reset','sessionStatus','ISnapshotServerService','ILogService','LIVESHARE_NEW_HOST','HttpExport','objects','_minBufferSize','onCommentUpdate','FetchingMissState','\x20-\x20','subscribe','_clearCollaborationTimeoutTimer','ONLINE','onTransformRemoteChangesetByIMECache','readyForCollab','filter','reqId','_getUndoStack','YUUMI_ASYNCIO_CANCELLED','_shouldReportTelemetry','_onRemoteRetry','IPermissionService','decrypt','3037098vodWsu','JOIN_ROOM_FULL','INTERNAL_ERROR','getAllMembers','_unitInfo$','DisposableCollection','operators','_socketReady','ITelemetryService','NOT_COLLAB','getDeserializedSheetBlock','blockSize','min','_DEC_XFORM_MODE','MSG_FOR_ERROR','clamp','online$','onTransformSelections','REDEMPTION_INVALID_CODE','not_collab','LIVESHARE_REQUEST_HOST','HttpImport','univer-pro.collaboration-client.single-active-unit-service','lib','ciphertext','reduce','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','REDEMPTION_CODE_HAS_BEEN_CREATED','MentionIoHttpService','_startTelemetryCollaborationNewChangeset','PERSON','JSONX','baseRev','RevisionService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','APPLY_NON_SEQUENTIAL_REVISION','Rectangle','_roomMembers','_transformRemoteChangesetByIMECache','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_ENC_XFORM_MODE','save\x20fail\x20reason\x20is\x20','IConfigService','AuthzIoHttpService','leaveEvent','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ERROR_IMAGE_TYPE','ERROR_AGAIN','UniverNetworkPlugin','\x20to\x20','_initRequestHeader','UniverProCollaborationClient','_maxTotalRetryTimeout','__esModule','fetchThroughInterceptors','_socket','editingUnit','editing\x20status\x20changed\x20to','INVALID_ARGUMENT','TOO_MANY_REQUESTS','_members$','YUUMI_AI_RUN_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','mode','_key','POST','_doCreateSocket','[CollaborationState]:\x20apply\x20error!','Malformed\x20UTF-8\x20data','_tryReconnect','findIndex','[SyncedState]:\x20received\x20acknowledgement.','JOINING','_waitCount','REDEMPTION_USER_NOT_ELIGIBLE','getConfig','USERS_LEAVE','serializeCombRequest','_collabSessionService','_decreaseWaiting','origin','UNIVER_DOC','entityInit$','_nDataBytes','5edxQlU','byteOffset','parseChangesetToProtocol','FAIL','members$','PAYMENT_CHANNEL_NOT_SUPPORT','YUUMI_CONNECTOR_URL_NOT_FOUND','_resendWithTimeout','reconnect','dispose','_updateState','hasOwnProperty','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','subUnitId','SnapshotService','@univerjs/docs','LIVESHARE_TERMINATE','initWorkbookPermissionChange','fetchMissingChangesets','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNDEFINED','stringify','generateRandomId','infoRsp','init','DEFAULT_WS_SESSION_TICKET_URL','getSheetId','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','amd','CollaborationSessionService','interceptor','isTransformMutationsWithChangesetSuccess','_instanceService','DEFAULT_FILE_NAME','COMPRESS_MUTATION_SEND','LICENSE_IMPORT_SIZE_EXCEEDED','195VjAESY','NO_OTHER_CLIENTS_EDITING','waitForRoom$','onStateChange','DataLoaderService','_commentService','_hasher','image/bmp','downloadEndpointUrl','uniscriptRunEvent','fetchMiss','[PendingState]:\x20received\x20acknowledgement.','INVITE_CODE_ALREADY_BOUND','headers','GLOBAL_ROOMS_CNT_EXCEEDS','_prevBlock','defineProperty','HEARTBEAT_TIMEOUT','_invKeySchedule','DocCollaborationEntity','listCollaborators','socket\x20close','&assign=','_toggleOnline','_iKey','requestParams','/universer-api/user/session-ticket','createCollaborator','processBlock','_snapshotServerService','CURRENT_STATUS_CANNOT_OPERATE','UNAUTHENTICATED','_onRemoteChangeset','_onMessage','_schedule','_sheetTransformSelectionsService','1944644hpPHcf','session.join-failed','HELLO','RETRY_CONNECTING_MAX_COUNT_KEY','_getCtorByUniverType','isInternalEditorID','Base','_univerInstanceService','_nRounds','onMutationExecutedForCollab','_createHelper','_parse','MemberService','onlyLocal','SUBMIT_CHANGESET','Hasher','confirm','asObservable','SetSelectionsOperation','updatePermissionPoint','textEncoder','[OfflineState]:\x20received\x20changeset.','_injector','_initDependencies','CommentService','HTTPService','$super','subject','_singleActiveUnitService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CollaborationEntity','_socketService','body','JOIN_ROOM_PERMISSION_DENIED','_clearRedo','execute','getSnapshotAPIPath','_transformStack','PendingState','repeat','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','fetching\x20missing\x20changesets\x20from\x20','length','_collaborationSessionService','_acknowledgedAwaitingChangeset','_getSendChangesetTimeout','SHA1','random','_process','Plugin','conflict','APPLY_DUPLICATED','MentionType','_imageSourceCache','getWorkbookSelections','Cipher','onSyncEditingCollabCursor','next','SOCKET_FAILED','originalMeta','update','LICENSE_MAX_UNITS_EXCEEDED','session','_timeoutTimer','_unlockTransition','size','_createInitialStateImpl','_telemetryInfo','charAt','saveChangeset','CollaborationStatus','_lockTransition','getUnitOnRev','People','MOBILE_VERIFY_CODE_MISMATCH','list','_isPermissionRej','_onConnectionOpen','/rev/','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_undoRedoService','/fetchmissing?from=','_exhaustRemoteChangesetQueue','UniverTelemetry','deserializeToCombResponse','LOGIN_FAILED','unsubscribe','buffer','1970gUvwqq','_collaborationTimeoutTimer','synced','_socketMessageSubscription','incrementRevOfUnit','_reverseMap','awaiting','COMPLETION_FINISHED','requireSession','textRanges','COMPRESS_MUTATION_APPLY','INVALID_INVITE_CODE','closeSession','charCodeAt','_onConflict','_unitID','_createHmacHelper','getValue','&source=','onTransformRemoteChangesetByStateCache','_sendHeartbeatTimer','IAuthzIoService','c2Prime','__Key__','type','OTHER_CLIENT_EDITING','_entities','appendMutation','/unit/','_configService','status$','/universer-api/comb','_tryEnsureSocket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','updateSnapshot','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','UnitEmbedded','60XYGFBc','_telemetryService','BASE64','@univerjs-pro/collaboration','OPTIONAL','_clearScheduledTask','UniverInstanceType','JOIN_ROOM_FAILED','saveSheetBlock','slice','_candidateSocket','__splitChunk__','fetch_missing','/block/','PENDING','_clearRetryConnectingTimer','_undoStacks','CHANGESET_SHOULD_RETRY','[DataLoaderService]','_onRemoteRejected','loadUnit','localeService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','NoPadding','getUnitStatus$','isTransformMutationsWithChangesetFailure','/universer-api/file/{fileID}/sign-url','SerializableCipher','commentUpdate$','parseProtocolChangeset','/new_changes','rxjs','onRemoteAck','ENTITLE_CAN_NOT_BUY_LOWER_OTP','PERMISSION_REJ','SnapshotServerOverHTTPService','transformChangesets','getCollabEntity','salt','_retryCount','UNIVER_SLIDE','univer-pro.collaboration-client.network-condition.service','words','UNIVER_PROJECT','_hash','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','socketService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_sendingTimer','_getUploadFileURL','keySize','_getLoginPath','UniverCollaborationClientPlugin','YUUMI_ALL_TABLES_IS_INVALID','_onFetchMissResult','reject','roomInfos','_commentUpdate$','_checkMissing','csRejEvent','collaborators','OFFLINE','/role','AWAITING','_sessionStatus$','awaiting_with_pending','loadSheet','AWAITING_WITH_PENDING','src','push','SyncedState','splice','updateMember','offline','[FetchMissState]','transformMutationsWithChangeset','OfflineState','Utf8','ICommandService','resend','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','EMAIL_VERIFY_CODE_MISMATCH','REDEMPTION_CODE_FULLY_REDEEMED','_onJoinRoomEvent','SNAPSHOT_INVALID_SNAPSHOT','_updateStatus','name','find','hasher','SHOULD_CLOSE_CONN','withCredentials','objectActions','FileId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','COMMENT_UPDATE','getOwnPropertyDescriptor','CollaborationImageIoService','allowed','putCollaborators','session.room-cnt-exceeds','_submitChangeset','APPLY_PERMISSION_DENIED','_scheduleCollaborationTimeoutTimer','SUCCUSS','updateCursorEvent','Could\x20not\x20dynamically\x20require\x20\x22','toggleOnline','range','awaitingChangeset','IUniverInstanceService','Pkcs7','takeUntil','_getAPIPrefix','shareReplay','toggleOffline','OpenSSL','_onCombEvent','then','auth.needGotoLoginAlert','put','formatter','_transformRemoteChangesetByStateCache','_initMergeInterceptor','DATA_SOURCE_TOO_LARGE','189232ZwrKJP','unitID','setCurrentUser','algo','?url=','_transformStateCache','send','action','createEncryptor','_transformUndoredo','SUBMIT_CHANGESET_TIMEOUT','take','CollaborationUIEventService','CompressMutationService','_compressMutationService','collaMsg','avatar','updatePermissionObjEvent','encryptBlock','listRoles','_handler','ENTITLE_COUPON_EXPIRED','max','getImage','HEARTBEAT','SheetCollaborationEntity','Optional','_userManagerService','sin','FETCH_MISS','BehaviorSubject','HEARTBEAT_TIMEOUT_KEY','firstValueFrom','13usyGBm','resolve','_iv','@univerjs/telemetry','capture','every','toDisposable','replace','_clearHeartbeatTimer','readAsDataURL','key','encode','ThresholdInterceptorFactory','/universer-api/stream/file/upload','UniverNetwork','error$','entries','SheetPermissionInitController','/resources','title','BufferedBlockAlgorithm','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','map','ERROR_IMAGE','telemetry\x20info\x20is\x20not\x20initialized','[SyncedState]:\x20received\x20rejection.','event$','BlockCipherMode','_localeService','RECV','/universer-api/uniscript','getSheetBlock','isPermissionRej','_getAPIPrefixPath','sigBytes','/allowed','getCurrentSelections','YUUMI_NO_CUBOID_FOR_QUESTION','UNIVER_SHEET','_getRedoStack','get','csShouldRetryEvent','pipe','_resendTimeout','csAckEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearTimeoutTimer','shouldCloseConn','[OfflineState]:\x20received\x20rejection.','encrypt','LIVESHARE_OPERATION','_getSignURL','Decryptor','WECHAT_HAS_BEEN_BOUND','_onOffline','commentUpdateEvent','/-/object/-/batch_allowed','m2Prime','UPDATE_PERMISSION_OBJ','_replaceFileID','USER_NOT_FOUND','MUTATION','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','USERS_ENTER','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','debug','stopTime','signUrlServerUrl','copyFileMeta','unitId\x20is\x20not\x20found','saveImage','disposeWithMe','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getActiveSheet','WordArray','indexOf','IDLE','_initUnitPermissionChange','LEAVE','_revisionService','Injector','_showConflictNotification','/object/','CollaborationUIEventId','_changesetReqId','routeKey','UNIVER_UNKNOWN','unitId','_removeRoom','getResourcesRequest','exports','symbol','onTransformIME','getRandomValues','localCacheService','x-univer-host','ILocalCacheService','EvpKDF','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','function','&to=','getTypeOfUnitAdded$','NOT_FOUND','_sender','onMissingChangesets','setShowComponents','prototype','enc','LICENSE_EXPORT_SIZE_EXCEEDED','Error\x20on\x20receiving\x20event','CollaborationSession','setConfig','string','_sessions','_oKey','ws://127.0.0.1:8000/universer-api/comb/connect','HTTPRequest','/universer-api/authz','CipherParams','image/jpeg','pad','2755452sAAUmr','Disposable','create','submit\x20changeset\x20error!','CONNECTOR_DATA_TOO_LARGE','close','fromCollab','sheets','_type','mapDocumentTypeToUniverType','objectID','USER_NOT_INVITED_CODE','code','LOCAL_CACHE_INTERVAL_KEY','_change$','clone','sequenceExecute','_substituteUndoStack','AES','status','_createSocket','EmptyMutationInfo','[PendingState]:\x20received\x20rejection.','deepClone','mutations','@univerjs/drawing','has','compose','CollaborationEvent','deleteCollaborator','_remoteChangesetQueue','_permissionService','Inject','_pendingMutations','_memberService','MOBILE_HAS_BEEN_BOUND','join','image/jpg','AwaitingWithPendingState','format','UPDATE_CURSOR','uuidv4','_eventService','IContextService','UNIVER_COLLABORATION_CLIENT_PLUGIN','updateOfflineData','_emitMembers','AwaitingState','IMentionIOService','Undefined','RxDisposable','cmd','addHandlerCallback','ENTITLE_INSUFFICIENT_QUOTA','UnitSnapshot','add','_changesetSessionId','onMissedChangesetFetched','LIVESHARE_FETCH_OPERATIONS','userID','_incrementRevisionNumber','pauseCollaboration','abs','mixIn','Quantity','WorkbookEditablePermission','_onLocalMutation','getTime','CommandType','ImageUploadStatusType','_onConnectionFailed','_httpService','getTypeOfUnitDisposed$','pending','open$','isArray','PY_RUNTIME_SCRIPT_ERROR','image/png','apply','UNRECOGNIZED','c1Prime','post','_logService','extend','append','[UniverCollaborationClientPlugin]','_executeRemoteChangeset','onSendChangeset','collaboration_new_changeset','responseType','_transformIMECache','default','onRemoteChangeset','[CollaborationSessionService]','href','transformStack\x20failed!','Base64','enableAuthServer','values','getInterceptPoints','now','onLocalMutation','ClipsheetFragments','LOGIN_TOKEN_PROCESSING_FAILED','enableSingleActiveInstanceLock','_getCurrentRevision','updateCollaborator','joinRsp','_state','_socket$','parse','_listenToNetworkCondition','_roomCreated$','_mode','_updateLocalCache','changesets','crypto','state$','HEARTBEAT_INTERVAL','[CollaborationUndoRedoService]','_resendTimer','_queuedRemoteChangesets','ivSize','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','transformSelections','decryptBlock','_members','_localCacheService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getDownloadEndpointURL','_joinRoom','file','loadUnitOfRevision','CHANGESET_REJ','ENTITLE_NEED_BILLING_ADDRESS','/-/object/list','472978RaGBYv','ICollaborationSocketService','ReplaySubject','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','includes','_doFinalize','_applyRemoteChangeset','data','JOIN','batchAllowed','HEARTBEAT_INTERVAL_KEY','padding','1341441AukuKD','override','CBC','CollaborationController','[OfflineState]:\x20received\x20acknowledgement.','_startCollaboration','FETCH_MISSING','ENTITLE_CHAT_LIMIT_EXCEED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_collaborationPaused','7UfcJoC','finalize','liveShareNewHost','/universer-api/snapshot/','getUnit','ISocketService','patch','loadOfflineData','_state$','UserProfileImg','concatMap','_cipher','getCurrentUser','HmacMD5','msCrypto','PERMISSION_DENIED','executeCommand','error','USER_IS_ANONYMOUS','LICENSE_DISTRO_REJECTED','workbook','_registerDependencies','_xformMode','createInstance','_fetchMissChangesets','forEach','_commandService','ImageSourceType','floor','_toggleOffline','_event$','Subject','unknown','[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.','url','ENTITLE_COUPON_USED_UP','cfg','joinEvent','_redoStacks','getGlobalObject','_keyPriorReset','_doCryptBlock','selections','UNISCRIPT_RUN','getUnitId','_transformSelections','_stopTelemetryCollaborationNewChangeset','/object','/collaborator','_init','dispose$','session.room-not-exists','call','YUUMI_UNABLE_LOAD_URL','randomBytes','kdf','UNKNOWN_CODE','CLOSE_ROOM','CHANGESET_REVISION_CONFILICT','_retryConnectingTimer','REDEMPTION_CODE_INACTIVE','transformUndoRedo','_transitionLocked','onload','change$','removeMember','rxjs/operators','readInt32LE','_status$','IImageIoService','UniverDocs','ENTITLE_REPORT_LIMIT_EXCEED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onRemoteRej','delete','SheetTransformSelectionsService','_rescheduleHeartbeat','/universer-api/oidc/authpage','UniverDrawing','_createInitialState','addImageSourceCache','[CollaborationEntity]','ceil','_throwTelemetryCollaborationNewChangeset','_keySchedule','BlockCipher','Hex','revision','merge','REDEMPTION_CODE_NOT_STARTED','LOCAL_CACHE_INTERVAL','sessionStatus$','CollaborationSocketService','clear','_networkConditionService','@univerjs-pro/license','createDecryptor','Encryptor','ITransformService','CHANGESET_ACK','18GeiSmb','Tools','__creator','_scheduleCompleteTimestamp','YUUMI_RATE_OVER_LIMIT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','registerHTTPInterceptor','_onUserJoin','result','LocaleService','MD5','INetworkConditionService','actions','getCollabEntity$','getLocalCacheKey','_snapshotService','close$','JOIN_ROOM_NOT_EXISTS','memberID','SOCKET_FAILED_RETRY','_disableEditing','delay','getRoom','_replayCachedMutations','setWaitCount','EMAIL_HAS_BEEN_BOUND','PSEUDO_FETCH_MISSING_RESULT','INVITE_CODE_REQUIRED','mergeOverrideWithDependencies','sid','_onRemoteACK','unit-cache-','InsertSheetMutation','_data','CollaborativeUndoRedoService','_doReset','?size=','b64DecodeUnicode','INGEST','univer-pro.collaboration-client-socket-service','getUnitType','APPLY_REJECT','onRemoteRetry','_entityInit$','ConflictState','_collaborationUIEventService','substr','_clearUndo','OTHER_CLIENTS_EDITING','getCurrentRevOfUnit','eventID','complete','toString','_sendHeartbeat','IUndoRedoService','_clearLocalCache','_substituteRedoStack','byteLength','emitEvent','pluginName','AUTHORIZE_CODE_ILLEGAL','_append','getMember','@univerjs/sheets','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformService','message$','_config','PasswordBasedCipher','createIdentifier','Failed\x20to\x20update\x20permission\x20point','_HTTPService','UnitStatus','set','_handlerCallback','_awaitingChangeset'];_0x119d=function(){return _0x4be982;};return _0x119d();}
2
+ function _0x222a(_0x3b5c13,_0x1a070a){_0x3b5c13=_0x3b5c13-0x1c4;var _0x53166d=_0x5316();var _0x222a39=_0x53166d[_0x3b5c13];return _0x222a39;}(function(_0x1f88f1,_0x44fb01){var _0x262945=_0x222a,_0x9d0000=_0x1f88f1();while(!![]){try{var _0xed38d1=parseInt(_0x262945(0x40a))/0x1+parseInt(_0x262945(0x3c4))/0x2+-parseInt(_0x262945(0x4a7))/0x3+parseInt(_0x262945(0x48c))/0x4+parseInt(_0x262945(0x399))/0x5+-parseInt(_0x262945(0x288))/0x6*(-parseInt(_0x262945(0x2ce))/0x7)+-parseInt(_0x262945(0x332))/0x8*(parseInt(_0x262945(0x430))/0x9);if(_0xed38d1===_0x44fb01)break;else _0x9d0000['push'](_0x9d0000['shift']());}catch(_0x352ed2){_0x9d0000['push'](_0x9d0000['shift']());}}}(_0x5316,0x21643),function(_0x303650,_0x419e8b){var _0x5407c7=_0x222a;typeof exports=='object'&&typeof module<'u'?_0x419e8b(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==_0x5407c7(0x35d)&&define[_0x5407c7(0x24b)]?define([_0x5407c7(0x375),_0x5407c7(0x4bc),_0x5407c7(0x3ec),_0x5407c7(0x502),_0x5407c7(0x4cb),_0x5407c7(0x34f),'@univerjs/telemetry',_0x5407c7(0x47e),_0x5407c7(0x509),_0x5407c7(0x4b3),_0x5407c7(0x466)],_0x419e8b):(_0x303650=typeof globalThis<'u'?globalThis:_0x303650||self,_0x419e8b(_0x303650['UniverProCollaborationClient']={},_0x303650[_0x5407c7(0x44f)],_0x303650['UniverCore'],_0x303650[_0x5407c7(0x31b)],_0x303650[_0x5407c7(0x4e4)],_0x303650[_0x5407c7(0x34f)],_0x303650[_0x5407c7(0x234)],_0x303650['rxjs'][_0x5407c7(0x2f3)],_0x303650[_0x5407c7(0x352)],_0x303650['UniverDrawing'],_0x303650[_0x5407c7(0x3c5)]));}(this,function(_0x330a6c,_0x94e8ef,_0x29f72d,_0x1633c3,_0x504e3a,_0x26770d,_0x55e48e,_0x213182,_0x59551f,_0xb9a54d,_0x136827){'use strict';var _0x3b85f3=_0x222a;var _0x3d982f=Object[_0x3b85f3(0x40f)],_0x1f3f6a=(_0x3fac3a,_0x3738a7,_0x3157cf)=>_0x3738a7 in _0x3fac3a?_0x3d982f(_0x3fac3a,_0x3738a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3157cf}):_0x3fac3a[_0x3738a7]=_0x3157cf,_0x3dafef=(_0x4ad006,_0x521fb6,_0x96966e)=>_0x1f3f6a(_0x4ad006,typeof _0x521fb6!=_0x3b85f3(0x49b)?_0x521fb6+'':_0x521fb6,_0x96966e);const _0x3610cc=_0x3b85f3(0x342),_0x371056=_0x3b85f3(0x213),_0xbda5=_0x3b85f3(0x4d8),_0x1bd4c8='/universer-api/user/session-ticket',_0x5559aa='HEARTBEAT_INTERVAL',_0x11fb3c=_0x3b85f3(0x1eb),_0x48de82=_0x3b85f3(0x282),_0x28c6bf=_0x3b85f3(0x34e),_0x21462f=_0x3b85f3(0x454),_0x491713=_0x3b85f3(0x1da),_0x1335a0='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x70674b=_0x3b85f3(0x2b8);var _0x229e63=(_0x200504=>(_0x200504[_0x200504[_0x3b85f3(0x1c8)]=0x0]='UNDEFINED',_0x200504[_0x200504['OK']=0x1]='OK',_0x200504[_0x200504[_0x3b85f3(0x45d)]=0x2]=_0x3b85f3(0x45d),_0x200504[_0x200504[_0x3b85f3(0x1c9)]=0x3]='PERMISSION_DENIED',_0x200504[_0x200504[_0x3b85f3(0x346)]=0x4]=_0x3b85f3(0x346),_0x200504[_0x200504[_0x3b85f3(0x1c5)]=0x5]='UNAUTHENTICATED',_0x200504[_0x200504[_0x3b85f3(0x431)]=0x6]=_0x3b85f3(0x431),_0x200504[_0x200504[_0x3b85f3(0x455)]=0x7]=_0x3b85f3(0x455),_0x200504[_0x200504[_0x3b85f3(0x4a6)]=0x8]='TOO_MANY_REQUESTS',_0x200504[_0x200504['COMPLETION_FINISHED']=0x9]=_0x3b85f3(0x2f7),_0x200504[_0x200504[_0x3b85f3(0x32c)]=0xa]=_0x3b85f3(0x32c),_0x200504[_0x200504[_0x3b85f3(0x49c)]=0xb]=_0x3b85f3(0x49c),_0x200504[_0x200504[_0x3b85f3(0x22e)]=0xc]=_0x3b85f3(0x22e),_0x200504[_0x200504['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3b85f3(0x3f2),_0x200504[_0x200504[_0x3b85f3(0x363)]=0xe]=_0x3b85f3(0x363),_0x200504[_0x200504[_0x3b85f3(0x267)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x200504[_0x200504['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x3b85f3(0x393),_0x200504[_0x200504['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x3b85f3(0x383),_0x200504[_0x200504[_0x3b85f3(0x260)]=0x65]=_0x3b85f3(0x260),_0x200504[_0x200504[_0x3b85f3(0x460)]=0xc9]=_0x3b85f3(0x460),_0x200504[_0x200504[_0x3b85f3(0x2f4)]=0xca]='USER_IS_ANONYMOUS',_0x200504[_0x200504['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3b85f3(0x476),_0x200504[_0x200504[_0x3b85f3(0x464)]=0x1771]=_0x3b85f3(0x464),_0x200504[_0x200504[_0x3b85f3(0x256)]=0x1772]=_0x3b85f3(0x256),_0x200504[_0x200504[_0x3b85f3(0x241)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x200504[_0x200504[_0x3b85f3(0x2e2)]=0x1b59]=_0x3b85f3(0x2e2),_0x200504[_0x200504[_0x3b85f3(0x292)]=0x1b5a]=_0x3b85f3(0x292),_0x200504[_0x200504['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x200504[_0x200504[_0x3b85f3(0x3d0)]=0x1b5c]=_0x3b85f3(0x3d0),_0x200504[_0x200504['APPLY_DUPLICATED']=0x1b5d]=_0x3b85f3(0x210),_0x200504[_0x200504[_0x3b85f3(0x537)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x200504[_0x200504[_0x3b85f3(0x1ef)]=0x2329]=_0x3b85f3(0x1ef),_0x200504[_0x200504[_0x3b85f3(0x4a2)]=0x232a]=_0x3b85f3(0x4a2),_0x200504[_0x200504[_0x3b85f3(0x4ff)]=0x232b]=_0x3b85f3(0x4ff),_0x200504[_0x200504[_0x3b85f3(0x27a)]=0x232c]=_0x3b85f3(0x27a),_0x200504[_0x200504['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x200504[_0x200504[_0x3b85f3(0x322)]=0x2711]=_0x3b85f3(0x322),_0x200504[_0x200504['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3b85f3(0x233),_0x200504[_0x200504['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3b85f3(0x424),_0x200504[_0x200504[_0x3b85f3(0x448)]=0x2714]=_0x3b85f3(0x448),_0x200504[_0x200504[_0x3b85f3(0x3e0)]=0x271a]=_0x3b85f3(0x3e0),_0x200504[_0x200504[_0x3b85f3(0x515)]=0x271b]=_0x3b85f3(0x515),_0x200504[_0x200504[_0x3b85f3(0x227)]=0x271c]=_0x3b85f3(0x227),_0x200504[_0x200504['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3b85f3(0x37f),_0x200504[_0x200504[_0x3b85f3(0x364)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x200504[_0x200504[_0x3b85f3(0x3a1)]=0x271f]=_0x3b85f3(0x3a1),_0x200504[_0x200504[_0x3b85f3(0x249)]=0x2720]=_0x3b85f3(0x249),_0x200504[_0x200504[_0x3b85f3(0x395)]=0x2af9]=_0x3b85f3(0x395),_0x200504[_0x200504[_0x3b85f3(0x403)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x200504[_0x200504[_0x3b85f3(0x4d9)]=0x2ee2]='INVALID_INVITE_CODE',_0x200504[_0x200504[_0x3b85f3(0x39e)]=0x2ee3]=_0x3b85f3(0x39e),_0x200504[_0x200504[_0x3b85f3(0x1ca)]=0x2ee4]=_0x3b85f3(0x1ca),_0x200504[_0x200504['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x200504[_0x200504[_0x3b85f3(0x497)]=0x32c9]=_0x3b85f3(0x497),_0x200504[_0x200504['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x200504[_0x200504['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3b85f3(0x333),_0x200504[_0x200504['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x200504[_0x200504[_0x3b85f3(0x503)]=0x36b2]=_0x3b85f3(0x503),_0x200504[_0x200504['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x3b85f3(0x275),_0x200504[_0x200504[_0x3b85f3(0x39d)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x200504[_0x200504['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x3b85f3(0x276),_0x200504[_0x200504['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x3b85f3(0x2b1),_0x200504[_0x200504[_0x3b85f3(0x32f)]=0x36b7]=_0x3b85f3(0x32f),_0x200504[_0x200504[_0x3b85f3(0x2df)]=0x36b8]=_0x3b85f3(0x2df),_0x200504[_0x200504[_0x3b85f3(0x1e6)]=0x3715]=_0x3b85f3(0x1e6),_0x200504[_0x200504[_0x3b85f3(0x365)]=0x3716]=_0x3b85f3(0x365),_0x200504[_0x200504[_0x3b85f3(0x498)]=0x3717]=_0x3b85f3(0x498),_0x200504[_0x200504[_0x3b85f3(0x1e4)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x200504[_0x200504[_0x3b85f3(0x1d7)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x200504[_0x200504[_0x3b85f3(0x337)]=0x3a9a]=_0x3b85f3(0x337),_0x200504[_0x200504[_0x3b85f3(0x217)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x200504[_0x200504['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x3b85f3(0x428),_0x200504[_0x200504['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x3b85f3(0x3ba),_0x200504[_0x200504[_0x3b85f3(0x1e7)]=0x3a9e]=_0x3b85f3(0x1e7),_0x200504[_0x200504[_0x3b85f3(0x4d3)]=0x3a9f]=_0x3b85f3(0x4d3),_0x200504[_0x200504[_0x3b85f3(0x1dc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x200504[_0x200504[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0x200504))(_0x229e63||{}),_0x2da9ac=(_0x1eca87=>(_0x1eca87[_0x1eca87[_0x3b85f3(0x41b)]=0x0]=_0x3b85f3(0x41b),_0x1eca87[_0x1eca87[_0x3b85f3(0x3ee)]=0x1]=_0x3b85f3(0x3ee),_0x1eca87[_0x1eca87['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1eca87[_0x1eca87[_0x3b85f3(0x3af)]=0x3]=_0x3b85f3(0x3af),_0x1eca87[_0x1eca87[_0x3b85f3(0x329)]=0x4]=_0x3b85f3(0x329),_0x1eca87[_0x1eca87['UNRECOGNIZED']=-0x1]=_0x3b85f3(0x486),_0x1eca87))(_0x2da9ac||{}),_0x8150f7=(_0x54a485=>(_0x54a485[_0x54a485[_0x3b85f3(0x400)]=0x0]='UNKNOWN_CMD',_0x54a485[_0x54a485['HELLO']=0x1]=_0x3b85f3(0x549),_0x54a485[_0x54a485['JOIN']=0x2]='JOIN',_0x54a485[_0x54a485[_0x3b85f3(0x4c1)]=0x3]=_0x3b85f3(0x4c1),_0x54a485[_0x54a485['INGEST']=0x4]='INGEST',_0x54a485[_0x54a485[_0x3b85f3(0x398)]=0x5]=_0x3b85f3(0x398),_0x54a485[_0x54a485[_0x3b85f3(0x535)]=0x6]='RECV',_0x54a485[_0x54a485[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0x54a485))(_0x8150f7||{}),_0xb4b847=(_0xd4a0d8=>(_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x36e)]=0x0]=_0x3b85f3(0x36e),_0xd4a0d8[_0xd4a0d8['OK']=0x1]='OK',_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x52c)]=0x2]=_0x3b85f3(0x52c),_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x3b2)]=0x3e9]=_0x3b85f3(0x3b2),_0xd4a0d8[_0xd4a0d8['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3b85f3(0x274),_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x2b4)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xd4a0d8[_0xd4a0d8['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0xd4a0d8))(_0xb4b847||{}),_0x195c26=(_0x48440e=>(_0x48440e[_0x48440e[_0x3b85f3(0x353)]=0x0]=_0x3b85f3(0x353),_0x48440e[_0x48440e[_0x3b85f3(0x263)]=0x1]=_0x3b85f3(0x263),_0x48440e[_0x48440e['HttpExport']=0x2]=_0x3b85f3(0x22c),_0x48440e[_0x48440e[_0x3b85f3(0x293)]=0x3]=_0x3b85f3(0x293),_0x48440e[_0x48440e[_0x3b85f3(0x373)]=0x4]=_0x3b85f3(0x373),_0x48440e[_0x48440e[_0x3b85f3(0x277)]=0x5]=_0x3b85f3(0x277),_0x48440e[_0x48440e[_0x3b85f3(0x52d)]=0x6]='ClipsheetFragments',_0x48440e[_0x48440e[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0x48440e))(_0x195c26||{});const _0xd5da60=_0x3b85f3(0x3d6);function _0x314a10(_0x26ef01){return JSON['stringify'](_0x26ef01)['length'];}var _0x465567=(_0x18a55d=>(_0x18a55d[_0x3b85f3(0x456)]=_0x3b85f3(0x456),_0x18a55d['PERMISSION_DENIED']=_0x3b85f3(0x1c9),_0x18a55d[_0x3b85f3(0x31d)]=_0x3b85f3(0x31d),_0x18a55d[_0x3b85f3(0x2f8)]=_0x3b85f3(0x2f8),_0x18a55d[_0x3b85f3(0x326)]=_0x3b85f3(0x326),_0x18a55d[_0x3b85f3(0x41d)]=_0x3b85f3(0x41d),_0x18a55d['SOCKET_FAILED']=_0x3b85f3(0x42f),_0x18a55d[_0x3b85f3(0x4ec)]=_0x3b85f3(0x4ec),_0x18a55d))(_0x465567||{});class _0x18e687{constructor(){var _0x2131f5=_0x3b85f3;_0x3dafef(this,_0x2131f5(0x33f),new _0x26770d[(_0x2131f5(0x37c))]()),_0x3dafef(this,_0x2131f5(0x479),this[_0x2131f5(0x33f)][_0x2131f5(0x1fb)]());}[_0x3b85f3(0x1d4)](_0x1f16c1){var _0x23ba31=_0x3b85f3;this[_0x23ba31(0x33f)][_0x23ba31(0x4c8)](_0x1f16c1);}}class _0x146c00{constructor(){var _0x282d7a=_0x3b85f3;_0x3dafef(this,'_commentUpdate$',new _0x26770d[(_0x282d7a(0x37c))]()),_0x3dafef(this,_0x282d7a(0x404),this[_0x282d7a(0x3b9)]['asObservable']());}['onCommentUpdate'](_0x49e0a1){var _0x58ff20=_0x3b85f3;this[_0x58ff20(0x3b9)][_0x58ff20(0x4c8)](_0x49e0a1);}}var _0x1881db=Object[_0x3b85f3(0x2e1)],_0x4e98ea=(_0x1185b7,_0x54f37c,_0x10d11c,_0xdf2cc7)=>{for(var _0x262959=_0xdf2cc7>0x1?void 0x0:_0xdf2cc7?_0x1881db(_0x54f37c,_0x10d11c):_0x54f37c,_0x464706=_0x1185b7['length']-0x1,_0x52fa5e;_0x464706>=0x0;_0x464706--)(_0x52fa5e=_0x1185b7[_0x464706])&&(_0x262959=_0x52fa5e(_0x262959)||_0x262959);return _0x262959;},_0x335e54=(_0x29886b,_0x30f1ac)=>(_0x3eb6b3,_0x152d19)=>_0x30f1ac(_0x3eb6b3,_0x152d19,_0x29886b);_0x330a6c[_0x3b85f3(0x2d9)]=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0x42a260,_0x250f98){var _0x2875ba=_0x3b85f3;super(),_0x3dafef(this,_0x2875ba(0x44c),new Map()),_0x3dafef(this,_0x2875ba(0x2eb),new _0x26770d[(_0x2875ba(0x37c))]()),(this[_0x2875ba(0x550)]=_0x42a260,this[_0x2875ba(0x422)]=_0x250f98,this[_0x2875ba(0x4de)](_0x26770d[_0x2875ba(0x1cb)](this[_0x2875ba(0x550)][_0x2875ba(0x2da)](_0x29f72d[_0x2875ba(0x294)][_0x2875ba(0x4be)])[_0x2875ba(0x341)](_0x213182[_0x2875ba(0x55e)](_0x440c19=>_0x440c19[_0x2875ba(0x4ba)]())),this[_0x2875ba(0x550)]['getTypeOfUnitDisposed$'](_0x29f72d['UniverInstanceType'][_0x2875ba(0x3ee)])[_0x2875ba(0x341)](_0x213182['map'](_0x3cec14=>_0x3cec14[_0x2875ba(0x4ba)]())),this['_univerInstanceService'][_0x2875ba(0x2da)](_0x29f72d['UniverInstanceType']['UNIVER_SLIDE'])[_0x2875ba(0x341)](_0x213182[_0x2875ba(0x55e)](_0x514d5b=>_0x514d5b[_0x2875ba(0x4ba)]())))[_0x2875ba(0x255)](_0x53b85d=>this['_removeRoom'](_0x53b85d))));}[_0x3b85f3(0x4d7)](_0x33f6b1){var _0x4c82c7=_0x3b85f3;return this[_0x4c82c7(0x44c)][_0x4c82c7(0x1d6)](_0x33f6b1)?_0x26770d['of'](this[_0x4c82c7(0x44c)][_0x4c82c7(0x1f8)](_0x33f6b1)):this[_0x4c82c7(0x2eb)][_0x4c82c7(0x341)](_0x213182[_0x4c82c7(0x55e)](_0x5354fa=>{var _0x2b0057=_0x4c82c7;if(_0x5354fa===_0x33f6b1)return this[_0x2b0057(0x44c)][_0x2b0057(0x1f8)](_0x5354fa);}));}[_0x3b85f3(0x521)](_0x5e4bb2){var _0xb6b7f=_0x3b85f3;this[_0xb6b7f(0x422)][_0xb6b7f(0x521)](_0x5e4bb2);}[_0x3b85f3(0x28c)](){var _0x28d394=_0x3b85f3;return this['_userManagerService'][_0x28d394(0x28c)]();}[_0x3b85f3(0x4b5)](_0x3e3062,_0x31450c){var _0x18c158=_0x3b85f3;let _0x35dbe7=this[_0x18c158(0x44c)][_0x18c158(0x1f8)](_0x3e3062);_0x35dbe7||(_0x35dbe7=new _0x5406c0(),this[_0x18c158(0x44c)][_0x18c158(0x2d7)](_0x3e3062,_0x35dbe7),this[_0x18c158(0x2eb)][_0x18c158(0x4c8)](_0x3e3062)),_0x35dbe7[_0x18c158(0x4b5)](_0x31450c);}['removeMember'](_0x38972b,_0x246d03){var _0x2a10b5=_0x3b85f3;const _0x3587a0=this[_0x2a10b5(0x44c)][_0x2a10b5(0x1f8)](_0x38972b);_0x3587a0&&_0x3587a0[_0x2a10b5(0x209)](_0x246d03);}[_0x3b85f3(0x418)](_0x5a4a63){var _0x5418b5=_0x3b85f3;return this[_0x5418b5(0x44c)]['get'](_0x5a4a63);}[_0x3b85f3(0x262)](_0x48d4b2,_0x3b6f9b){var _0xeefee5=_0x3b85f3;const _0x2631fc=this['_roomMembers'][_0xeefee5(0x1f8)](_0x48d4b2);if(_0x2631fc)return _0x2631fc[_0xeefee5(0x262)](_0x3b6f9b);}[_0x3b85f3(0x2ba)](_0x276cf5){var _0x178a16=_0x3b85f3;const _0x1aec11=this[_0x178a16(0x44c)]['get'](_0x276cf5);_0x1aec11&&(_0x1aec11[_0x178a16(0x44d)](),this[_0x178a16(0x44c)][_0x178a16(0x245)](_0x276cf5));}[_0x3b85f3(0x44d)](){var _0x4913a3=_0x3b85f3;this[_0x4913a3(0x44c)][_0x4913a3(0x3ae)](_0xfa29d=>_0xfa29d[_0x4913a3(0x44d)]()),this[_0x4913a3(0x44c)]['clear'](),this['_roomCreated$'][_0x4913a3(0x4ee)]();}},_0x330a6c[_0x3b85f3(0x2d9)]=_0x4e98ea([_0x335e54(0x0,_0x29f72d[_0x3b85f3(0x558)]),_0x335e54(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x42d)]))],_0x330a6c[_0x3b85f3(0x2d9)]);class _0x5406c0 extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(){var _0x46e6fd=_0x3b85f3;super(...arguments),_0x3dafef(this,_0x46e6fd(0x220),new Map()),_0x3dafef(this,'_members$',new _0x26770d['BehaviorSubject'](this[_0x46e6fd(0x220)])),_0x3dafef(this,_0x46e6fd(0x3f3),this[_0x46e6fd(0x1e1)]['asObservable']());}['dispose'](){var _0x183c5a=_0x3b85f3;this[_0x183c5a(0x220)]['clear']();}['updateMember'](_0x49f3a9){var _0x439117=_0x3b85f3;this['_members'][_0x439117(0x2d7)](_0x49f3a9['memberID'],_0x49f3a9),this[_0x439117(0x4e8)]();}['removeMember'](_0x37e06f){var _0x450a2b=_0x3b85f3;this[_0x450a2b(0x220)]['delete'](_0x37e06f);}[_0x3b85f3(0x262)](_0x4a8b6c){var _0x48e28b=_0x3b85f3;return this[_0x48e28b(0x220)][_0x48e28b(0x1f8)](_0x4a8b6c);}[_0x3b85f3(0x4f7)](){var _0x1377d6=_0x3b85f3;return Array['from'](this[_0x1377d6(0x220)]['values']());}[_0x3b85f3(0x4e8)](){var _0x156397=_0x3b85f3;this[_0x156397(0x1e1)][_0x156397(0x4c8)](this[_0x156397(0x220)]);}}var _0x4de37a=Object[_0x3b85f3(0x2e1)],_0x3eff84=(_0x2f4e97,_0x381a4e,_0x411873,_0x5dbdf4)=>{for(var _0x21694c=_0x5dbdf4>0x1?void 0x0:_0x5dbdf4?_0x4de37a(_0x381a4e,_0x411873):_0x381a4e,_0x302074=_0x2f4e97['length']-0x1,_0x30e0cc;_0x302074>=0x0;_0x302074--)(_0x30e0cc=_0x2f4e97[_0x302074])&&(_0x21694c=_0x30e0cc(_0x21694c)||_0x21694c);return _0x21694c;},_0x482da3=(_0x4c38f4,_0x18457f)=>(_0x3d379e,_0x3e393e)=>_0x18457f(_0x3d379e,_0x3e393e,_0x4c38f4),_0x5c4cf0=(_0x4c315f=>(_0x4c315f[_0x4c315f['IDLE']=0x0]='IDLE',_0x4c315f[_0x4c315f[_0x3b85f3(0x43a)]=0x1]=_0x3b85f3(0x43a),_0x4c315f[_0x4c315f[_0x3b85f3(0x376)]=0x2]=_0x3b85f3(0x376),_0x4c315f[_0x4c315f[_0x3b85f3(0x425)]=0x3]=_0x3b85f3(0x425),_0x4c315f))(_0x5c4cf0||{});const _0x1d7134={[_0xb4b847[_0x3b85f3(0x52c)]]:_0x3b85f3(0x507),[_0xb4b847[_0x3b85f3(0x3b2)]]:'session.room-full',[_0xb4b847[_0x3b85f3(0x274)]]:_0x3b85f3(0x2b3),[_0xb4b847['JOIN_ROOM_PERMISSION_DENIED']]:_0x3b85f3(0x530),[_0xb4b847[_0x3b85f3(0x271)]]:_0x3b85f3(0x3b8)};_0x330a6c[_0x3b85f3(0x325)]=class extends _0x29f72d[_0x3b85f3(0x253)]{constructor(_0x539714,_0x3cd1ac,_0x686062,_0x2520a6,_0x324b8a,_0x36e85c,_0x222250,_0x22d1bd){var _0x33685f=_0x3b85f3;super(),_0x3dafef(this,_0x33685f(0x222),new _0x26770d[(_0x33685f(0x2cc))](0x0)),_0x3dafef(this,_0x33685f(0x301),this[_0x33685f(0x222)]['asObservable']()),_0x3dafef(this,_0x33685f(0x33f),new _0x26770d[(_0x33685f(0x37c))]()),_0x3dafef(this,_0x33685f(0x479),this[_0x33685f(0x33f)][_0x33685f(0x1fb)]()),_0x3dafef(this,_0x33685f(0x1e3)),_0x3dafef(this,_0x33685f(0x508)),_0x3dafef(this,_0x33685f(0x2e4)),_0x3dafef(this,_0x33685f(0x1ff),!0x1),_0x3dafef(this,_0x33685f(0x25d),null),(this[_0x33685f(0x257)]=_0x539714,this[_0x33685f(0x20b)]=_0x686062,this[_0x33685f(0x265)]=_0x2520a6,this[_0x33685f(0x2a9)]=_0x324b8a,this[_0x33685f(0x41f)]=_0x36e85c,this[_0x33685f(0x2ed)]=_0x222250,this[_0x33685f(0x254)]=_0x22d1bd,this[_0x33685f(0x1ff)]=!!this['_telemetryService'],_0x3cd1ac[_0x33685f(0x341)](_0x26770d[_0x33685f(0x4bb)](this['dispose$']))[_0x33685f(0x255)](_0x501dd6=>{var _0x4706bd=_0x33685f,_0x569d44;typeof _0x501dd6>'u'||(this[_0x4706bd(0x1e3)]=_0x501dd6,_0x501dd6?(this['_joinRoom'](_0x501dd6),this['_socketMessageSubscription']=_0x501dd6[_0x4706bd(0x264)][_0x4706bd(0x255)](_0x3de79c=>{var _0x830ed0=_0x4706bd;_0x3de79c['routeKey']===this[_0x830ed0(0x257)]&&this[_0x830ed0(0x3f0)](_0x3de79c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4706bd(0x222)][_0x4706bd(0x4c8)](0x2),(_0x569d44=this[_0x4706bd(0x508)])==null||_0x569d44[_0x4706bd(0x2c8)](),this['_socketMessageSubscription']=null));}));}get[_0x3b85f3(0x28d)](){var _0x1693a8=_0x3b85f3;return this[_0x1693a8(0x222)][_0x1693a8(0x377)]();}[_0x3b85f3(0x4d1)](){var _0x443ec1=_0x3b85f3,_0xa054ad,_0x1f66bb;return(_0x1f66bb=(_0xa054ad=this['_socket'])==null?void 0x0:_0xa054ad[_0x443ec1(0x297)])!=null?_0x1f66bb:null;}[_0x3b85f3(0x44d)](){var _0x10d69e=_0x3b85f3;super[_0x10d69e(0x44d)](),this[_0x10d69e(0x4dc)]['next'](),this[_0x10d69e(0x4dc)][_0x10d69e(0x4ee)]();}[_0x3b85f3(0x268)](){var _0x3e5983=_0x3b85f3,_0x2c1bc0,_0xed8b20;this[_0x3e5983(0x3b5)](),(_0x2c1bc0=this[_0x3e5983(0x1e3)])==null||_0x2c1bc0[_0x3e5983(0x485)]({'cmd':_0x8150f7[_0x3e5983(0x4c1)],'data':{'roomID':this[_0x3e5983(0x257)]}}),(_0xed8b20=this['_socket'])==null||_0xed8b20[_0x3e5983(0x268)](),this[_0x3e5983(0x33f)][_0x3e5983(0x4ee)](),this[_0x3e5983(0x222)][_0x3e5983(0x4ee)](),this[_0x3e5983(0x44d)]();}[_0x3b85f3(0x3f0)](_0x17b8b4){var _0x15c245=_0x3b85f3;_0x17b8b4[_0x15c245(0x21c)]===_0x8150f7[_0x15c245(0x225)]?this[_0x15c245(0x44e)](_0x17b8b4):_0x17b8b4[_0x15c245(0x21c)]===_0x8150f7['RECV']&&this['_onRecvEvent'](_0x17b8b4);}[_0x3b85f3(0x347)](_0xde23f5){var _0x4f8a7a=_0x3b85f3;this[_0x4f8a7a(0x222)][_0x4f8a7a(0x4c8)](0x1),_0xde23f5[_0x4f8a7a(0x485)]({'cmd':_0x8150f7[_0x4f8a7a(0x225)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4f8a7a(0x257)]}]}});}[_0x3b85f3(0x44e)](_0x16b9b7){var _0x1293a0=_0x3b85f3,_0x125bae;if(_0x16b9b7[_0x1293a0(0x2b2)]in _0x1d7134){this[_0x1293a0(0x2ed)][_0x1293a0(0x1d4)]({'id':_0x465567[_0x1293a0(0x326)],'data':_0x1d7134[_0x16b9b7['code']]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x1293a0(0x222)][_0x1293a0(0x4c8)](0x3);const _0x20efd8=(_0x125bae=_0x16b9b7['data'][_0x1293a0(0x445)][this['_unitID']])==null?void 0x0:_0x125bae[_0x1293a0(0x504)];_0x20efd8&&_0x20efd8[_0x1293a0(0x3ae)](_0x66d90=>this[_0x1293a0(0x2a9)][_0x1293a0(0x4b5)](this['_unitID'],_0x66d90));}[_0x3b85f3(0x1f1)](_0xebfd36){var _0x28c582=_0x3b85f3;try{const _0x557816=_0xebfd36[_0x28c582(0x2c0)];switch(_0x557816[_0x28c582(0x3df)]){case _0x94e8ef['CollaborationEvent'][_0x28c582(0x414)]:this[_0x28c582(0x23f)](_0x557816),this[_0x28c582(0x33f)]['next'](_0x557816);break;case _0x94e8ef[_0x28c582(0x22b)][_0x28c582(0x421)]:this['_onUserLeave'](_0x557816),this[_0x28c582(0x33f)][_0x28c582(0x4c8)](_0x557816);break;case _0x94e8ef['CollaborationEvent']['CHANGESET_ACK']:case _0x94e8ef[_0x28c582(0x22b)][_0x28c582(0x370)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x28c582(0x247)](),this[_0x28c582(0x33f)][_0x28c582(0x4c8)](_0x557816);break;case _0x94e8ef[_0x28c582(0x22b)]['MSG_FOR_ERROR']:this[_0x28c582(0x20b)][_0x28c582(0x313)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x28c582(0x3ff)](_0x557816)),this['_event$'][_0x28c582(0x4c8)](_0x557816);break;case _0x94e8ef[_0x28c582(0x22b)][_0x28c582(0x35c)]:this[_0x28c582(0x41f)][_0x28c582(0x2cf)](_0x557816[_0x28c582(0x2c0)]),this['_event$'][_0x28c582(0x4c8)](_0x557816);break;default:this['_event$'][_0x28c582(0x4c8)](_0x557816);}}catch(_0x14d30b){this['_logService'][_0x28c582(0x313)](_0x14d30b,_0xebfd36);}}[_0x3b85f3(0x23f)](_0x4269c7){var _0x2e6245=_0x3b85f3;this['_memberService'][_0x2e6245(0x4b5)](this[_0x2e6245(0x257)],_0x4269c7[_0x2e6245(0x2c0)]);}[_0x3b85f3(0x25a)](_0x2e9800){var _0x264dbc=_0x3b85f3;this['_memberService'][_0x264dbc(0x209)](this[_0x264dbc(0x257)],_0x2e9800['data'][_0x264dbc(0x297)]);}async['send'](_0x2bf662,_0x5a231c){var _0x29104a=_0x3b85f3;if(this[_0x29104a(0x28d)]!==0x3||!this[_0x29104a(0x1e3)])throw new Error(_0x29104a(0x280));try{_0x2bf662['eventID']===_0x94e8ef[_0x29104a(0x22b)][_0x29104a(0x544)]&&(this[_0x29104a(0x459)](),this[_0x29104a(0x4d6)](_0x2bf662)),this[_0x29104a(0x1e3)][_0x29104a(0x485)]({'cmd':_0x8150f7['INGEST'],'routeKey':_0x5a231c,'routeType':'','data':_0x2bf662});}catch(_0x2e28dc){this[_0x29104a(0x20b)][_0x29104a(0x313)](_0x2e28dc);}}[_0x3b85f3(0x459)](){var _0x428cc7=_0x3b85f3,_0x258ffe;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4f8227=_0x222a;this[_0x4f8227(0x2e4)]=null,this[_0x4f8227(0x2ed)]['emitEvent']({'id':_0x465567[_0x4f8227(0x4ec)]});},(_0x258ffe=this[_0x428cc7(0x265)][_0x428cc7(0x4d4)](_0x11fb3c))!=null?_0x258ffe:0x4e20);}[_0x3b85f3(0x247)](){var _0x5e90d6=_0x3b85f3;this[_0x5e90d6(0x2e4)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5e90d6(0x2e4)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x1bace3){var _0x6d9a04=_0x3b85f3;if(!this[_0x6d9a04(0x1ff)])return;const {data:_0x59c85b}=_0x1bace3,{unitID:_0x487e30,changeset:_0x36b0d4}=_0x59c85b,{mutations:_0x5694f5,type:_0x5369b8}=_0x36b0d4;this[_0x6d9a04(0x25d)]={'unitId':_0x487e30,'type':_0x5369b8,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x314a10(_0x5694f5)};}[_0x3b85f3(0x478)](){var _0x58e5f0=_0x3b85f3;if(this[_0x58e5f0(0x1ff)]){if(!this[_0x58e5f0(0x25d)]){this['_logService']['error']('[CollaborationSession]',_0x58e5f0(0x357));return;}this['_telemetryInfo'][_0x58e5f0(0x381)]=performance[_0x58e5f0(0x202)](),this[_0x58e5f0(0x25d)]['duration']=this[_0x58e5f0(0x25d)][_0x58e5f0(0x381)]-this[_0x58e5f0(0x25d)]['startTime'],this[_0x58e5f0(0x254)][_0x58e5f0(0x506)](_0xd5da60,this[_0x58e5f0(0x25d)]),this[_0x58e5f0(0x25d)]=null;}}[_0x3b85f3(0x3b5)](){var _0x3a8557=_0x3b85f3;this[_0x3a8557(0x25d)]=null;}},_0x330a6c[_0x3b85f3(0x325)]=_0x3eff84([_0x482da3(0x2,_0x29f72d['ILogService']),_0x482da3(0x3,_0x29f72d['IConfigService']),_0x482da3(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c[_0x3b85f3(0x2d9)])),_0x482da3(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x146c00)),_0x482da3(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x482da3(0x7,_0x29f72d['Optional'](_0x55e48e[_0x3b85f3(0x1cf)]))],_0x330a6c[_0x3b85f3(0x325)]);const _0x54c85=_0x29f72d[_0x3b85f3(0x3cf)](_0x3b85f3(0x31f));function _0x99f370(_0x5f3cda){var _0x21eb44=_0x3b85f3;return _0x21eb44(0x391)+_0x5f3cda;}var _0x3c9695=Object['getOwnPropertyDescriptor'],_0x535e46=(_0x4d246d,_0x3ae6f6,_0x5b0ec5,_0x401db4)=>{for(var _0x3275bb=_0x401db4>0x1?void 0x0:_0x401db4?_0x3c9695(_0x3ae6f6,_0x5b0ec5):_0x3ae6f6,_0x3bf6fc=_0x4d246d['length']-0x1,_0x5c37e5;_0x3bf6fc>=0x0;_0x3bf6fc--)(_0x5c37e5=_0x4d246d[_0x3bf6fc])&&(_0x3275bb=_0x5c37e5(_0x3275bb)||_0x3275bb);return _0x3275bb;},_0x127ebf=(_0x2715f0,_0x1ee457)=>(_0x21608e,_0x1758fb)=>_0x1ee457(_0x21608e,_0x1758fb,_0x2715f0);function _0x5b8cb8(_0x4b43f4){var _0x4b7c52=_0x3b85f3;const {unitID:_0x214567,mutations:_0x554edb}=_0x4b43f4;return{'unitId':_0x214567,'subUnitId':_0x554edb[_0x4b7c52(0x24a)]>0x0?_0x554edb[0x0][_0x4b7c52(0x45a)][_0x4b7c52(0x2fc)]:null};}_0x330a6c[_0x3b85f3(0x4e9)]=class{constructor(_0x55181b,_0x13c76f,_0x5b8ad){var _0x370914=_0x3b85f3;this[_0x370914(0x53a)]=_0x55181b,this[_0x370914(0x2c5)]=_0x13c76f,this[_0x370914(0x4af)]=_0x5b8ad;}['transformSelections'](_0x31f7b5){var _0x25c001=_0x3b85f3,_0x1ccb2f,_0x347b9a,_0x1bdf36,_0x534894;const _0xca7a0e=this[_0x25c001(0x53a)][_0x25c001(0x1f8)](_0x504e3a[_0x25c001(0x25c)]),{unitId:_0xdd5cac,subUnitId:_0x5bdf25}=_0x5b8cb8(_0x31f7b5),_0xb0ea28=_0xca7a0e==null?void 0x0:_0xca7a0e[_0x25c001(0x482)](_0xdd5cac)[_0x25c001(0x1ee)](),_0x2f0b5e=(_0x347b9a=(_0x1ccb2f=this[_0x25c001(0x4af)]['getUnit'](_0xdd5cac))==null?void 0x0:_0x1ccb2f[_0x25c001(0x47b)]())==null?void 0x0:_0x347b9a['getSheetId']();if(_0xb0ea28[_0x25c001(0x24a)]===0x0||!_0xdd5cac||!_0x5bdf25)return;const _0x16b30d=[{'id':_0x504e3a[_0x25c001(0x3a2)]['id'],'params':{'unitId':_0xdd5cac,'subUnitId':_0x2f0b5e,'selections':_0x29f72d[_0x25c001(0x4e6)][_0x25c001(0x4e5)](_0xb0ea28)}}],_0x47480b=this[_0x25c001(0x2c5)][_0x25c001(0x25f)](_0x31f7b5,_0x16b30d);if(!_0x94e8ef[_0x25c001(0x221)](_0x47480b))throw _0x47480b['error'];const _0x567618=(_0x534894=(_0x1bdf36=_0x47480b[_0x25c001(0x343)][0x0])==null?void 0x0:_0x1bdf36[_0x25c001(0x45a)])==null?void 0x0:_0x534894['selections'];if(Array[_0x25c001(0x25b)](_0x567618)&&_0x567618[_0x25c001(0x24a)]){if(_0x567618[_0x25c001(0x24a)]===_0x16b30d[0x0]['params'][_0x25c001(0x471)][_0x25c001(0x24a)]&&_0x567618[_0x25c001(0x321)]((_0x6acd25,_0x168150)=>_0x29f72d[_0x25c001(0x3ea)][_0x25c001(0x26d)](_0x6acd25[_0x25c001(0x1d3)],_0x16b30d[0x0][_0x25c001(0x45a)][_0x25c001(0x471)][_0x168150][_0x25c001(0x1d3)])))return;this[_0x25c001(0x53a)]['get'](_0x29f72d[_0x25c001(0x4f4)])[_0x25c001(0x551)](_0x504e3a[_0x25c001(0x3a2)]['id'],{'unitId':_0xdd5cac,'subUnitId':_0x2f0b5e,'selections':_0x567618});}}},_0x330a6c[_0x3b85f3(0x4e9)]=_0x535e46([_0x127ebf(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x127ebf(0x1,_0x94e8ef[_0x3b85f3(0x34a)]),_0x127ebf(0x2,_0x29f72d[_0x3b85f3(0x558)])],_0x330a6c[_0x3b85f3(0x4e9)]);const _0x17abdd=_0x29f72d[_0x3b85f3(0x3cf)](_0x3b85f3(0x1c4));var _0x17f828=(_0x1d49e3=>(_0x1d49e3[_0x1d49e3[_0x3b85f3(0x4b2)]=0x0]=_0x3b85f3(0x4b2),_0x1d49e3[_0x1d49e3[_0x3b85f3(0x4fc)]=0x1]=_0x3b85f3(0x4fc),_0x1d49e3))(_0x17f828||{});const _0x54fbde=_0x3b85f3(0x4eb),_0x32803a={};function _0x16f21b(_0x3f37a0){var _0x566cbf=_0x3b85f3,_0x5a2dce;return!!((_0x5a2dce=_0x3f37a0[_0x566cbf(0x45a)])!=null&&_0x5a2dce['__splitChunk__']);}const _0x8bff1=new Set([_0x504e3a['InsertSheetMutation']['id']]);function _0x17ce0a(_0x2dc7f5,_0x464a58,_0x325dda,_0x537643,_0x12bdba){var _0x1e191b=_0x3b85f3,_0x495c46,_0x1166fd,_0x5290f4,_0x320415;const _0x4e3774=[];for(const _0x1e919e of _0x2dc7f5){if(_0x8bff1[_0x1e191b(0x1d6)](_0x1e919e['id'])){if(_0x4e3774[_0x1e191b(0x24a)]>0x0)break;_0x4e3774[_0x1e191b(0x2cd)](_0x1e919e);break;}if(_0x16f21b(_0x1e919e)){if(_0x4e3774[_0x1e191b(0x24a)]>0x0)break;_0x4e3774[_0x1e191b(0x2cd)](_0x1e919e);break;}_0x4e3774['push'](_0x1e919e);}const _0x3cdbd5=(_0x1166fd=(_0x495c46=_0x12bdba[_0x1e191b(0x28c)]())==null?void 0x0:_0x495c46[_0x1e191b(0x4a4)])!=null?_0x1166fd:_0x1e191b(0x26e),_0x11b99d=(_0x320415=(_0x5290f4=_0x12bdba['getCurrentUser']())==null?void 0x0:_0x5290f4[_0x1e191b(0x297)])!=null?_0x320415:_0x1e191b(0x26e);return{'changeset':{'unitID':_0x464a58,'type':_0x94e8ef['mapDocumentTypeToUniverType'](_0x325dda[_0x1e191b(0x272)](_0x464a58)),'baseRev':_0x537643['getCurrentRevOfUnit'](_0x464a58),'revision':0x0,'userID':_0x3cdbd5,'memberID':_0x11b99d,'mutations':_0x4e3774},'pendingMutations':_0x2dc7f5[_0x1e191b(0x3db)](_0x4e3774['length'])};}function _0x2697b3(_0x1e8056,_0x116133,_0x308778,_0x5e7036,_0x4a8de4){var _0x5bdb9d=_0x3b85f3,_0x2b550a,_0x1a4aaf,_0x3f9cf7,_0x14f94d;const _0x258a7b=[_0x1e8056[_0x5bdb9d(0x46d)]((_0x220895,_0x54403a)=>{var _0x1a581d=_0x5bdb9d,_0x2541c8;const {id:_0x3678ad}=_0x220895,{id:_0x361339,type:_0x5d0e07}=_0x54403a,_0x19ddb4=(_0x2541c8=_0x220895[_0x1a581d(0x45a)])!=null?_0x2541c8:{'actions':null},_0xb942d7=_0x54403a['params'];if(_0x3678ad&&_0x3678ad!==_0x361339)throw new Error(_0x1a581d(0x533)+_0x3678ad+_0x1a581d(0x554)+_0x361339+'.');return{..._0x220895,'id':_0x361339,'type':_0x5d0e07,'params':{'unitId':_0xb942d7[_0x1a581d(0x2fe)],'textRanges':_0xb942d7['textRanges'],'actions':_0x29f72d[_0x1a581d(0x266)][_0x1a581d(0x1c7)](_0x19ddb4[_0x1a581d(0x29b)],_0xb942d7[_0x1a581d(0x29b)])}};},{})],_0x28033b=(_0x1a4aaf=(_0x2b550a=_0x4a8de4['getCurrentUser']())==null?void 0x0:_0x2b550a['userID'])!=null?_0x1a4aaf:_0x5bdb9d(0x26e),_0x2bf2e4=(_0x14f94d=(_0x3f9cf7=_0x4a8de4['getCurrentUser']())==null?void 0x0:_0x3f9cf7[_0x5bdb9d(0x297)])!=null?_0x14f94d:_0x5bdb9d(0x26e);return{'changeset':{'unitID':_0x116133,'type':_0x94e8ef[_0x5bdb9d(0x2d6)](_0x308778[_0x5bdb9d(0x272)](_0x116133)),'baseRev':_0x5e7036[_0x5bdb9d(0x1ec)](_0x116133),'revision':0x0,'userID':_0x28033b,'memberID':_0x2bf2e4,'mutations':_0x258a7b},'pendingMutations':[]};}function _0x42bc29(_0x48f298,_0x446e8e){var _0x127817=_0x3b85f3;const _0x17c59a=new _0x26770d[(_0x127817(0x410))](0x1);return setTimeout(()=>_0x17c59a[_0x127817(0x4c8)](_0x446e8e),_0x48f298),_0x17c59a['asObservable']()[_0x127817(0x341)](_0x26770d[_0x127817(0x354)](0x1));}var _0x57decf=Object[_0x3b85f3(0x2e1)],_0x1d59cd=(_0x23425e,_0x2201f3,_0x46bcba,_0x293a30)=>{var _0x3af1f1=_0x3b85f3;for(var _0x40333f=_0x293a30>0x1?void 0x0:_0x293a30?_0x57decf(_0x2201f3,_0x46bcba):_0x2201f3,_0x32f654=_0x23425e[_0x3af1f1(0x24a)]-0x1,_0x5d7e24;_0x32f654>=0x0;_0x32f654--)(_0x5d7e24=_0x23425e[_0x32f654])&&(_0x40333f=_0x5d7e24(_0x40333f)||_0x40333f);return _0x40333f;},_0x2215d7=(_0x2c4c1b,_0x3a0f3a)=>(_0x2793bb,_0x17b6d2)=>_0x3a0f3a(_0x2793bb,_0x17b6d2,_0x2c4c1b),_0xcbbb88=(_0x468407=>(_0x468407[_0x3b85f3(0x402)]='not_collab',_0x468407[_0x3b85f3(0x2ee)]=_0x3b85f3(0x35e),_0x468407[_0x3b85f3(0x3ca)]=_0x3b85f3(0x38c),_0x468407['AWAITING']=_0x3b85f3(0x3ce),_0x468407[_0x3b85f3(0x33a)]=_0x3b85f3(0x323),_0x468407['FETCH_MISS']=_0x3b85f3(0x561),_0x468407[_0x3b85f3(0x31d)]=_0x3b85f3(0x31a),_0x468407[_0x3b85f3(0x376)]=_0x3b85f3(0x23e),_0x468407))(_0xcbbb88||{});const _0x59df39=0x4e20,_0x2e27e1=0x2bf20;class _0x3e2750{constructor(_0x3c4a0b,_0x3d8051,_0x3d3236,_0x2c0c76,_0x2bcc9d,_0x5df099,_0x58a1fc,_0x5a0a0e,_0x280eb6){var _0x12ffa0=_0x3b85f3;_0x3dafef(this,_0x12ffa0(0x238),null),_0x3dafef(this,_0x12ffa0(0x50c),[]),(this[_0x12ffa0(0x3be)]=_0x3c4a0b,this[_0x12ffa0(0x565)]=_0x3d8051,this['_handler']=_0x2bcc9d,this[_0x12ffa0(0x440)]=_0x5df099,this[_0x12ffa0(0x24c)]=_0x58a1fc,this[_0x12ffa0(0x2ff)]=_0x5a0a0e,this['_localCacheService']=_0x280eb6,this[_0x12ffa0(0x238)]=_0x3d3236,this[_0x12ffa0(0x50c)]=_0x2c0c76);}[_0x3b85f3(0x38d)](_0x5add1b){var _0x316240=_0x3b85f3;const _0x21cb1e=this['_revisionService']['getCurrentRevOfUnit'](this[_0x316240(0x3be)]);return _0x5add1b[_0x316240(0x2c2)]>_0x21cb1e+0x1?(this[_0x316240(0x24d)]['onMissingChangesets']({'from':_0x21cb1e,'to':_0x5add1b[_0x316240(0x2c2)]-0x1}),!0x0):!0x1;}[_0x3b85f3(0x426)](_0x52ba4c){var _0x513567=_0x3b85f3;this['_undoRedoService'][_0x513567(0x3d2)](this[_0x513567(0x3be)],_0x52ba4c);}['_transformSelections'](_0x2b0a51){var _0x8be8f0=_0x3b85f3,_0x5c2459,_0x5b6323;(_0x5b6323=(_0x5c2459=this[_0x8be8f0(0x24d)])[_0x8be8f0(0x2a0)])==null||_0x5b6323[_0x8be8f0(0x4c4)](_0x5c2459,_0x2b0a51);}[_0x3b85f3(0x392)](_0x511b48){var _0x52763f=_0x3b85f3,_0x43f964,_0x2e7808;return(_0x2e7808=(_0x43f964=this[_0x52763f(0x24d)])[_0x52763f(0x53d)])==null?void 0x0:_0x2e7808['call'](_0x43f964,_0x511b48);}['_transformStateCache'](_0x370837){var _0x522901=_0x3b85f3,_0x508b66,_0x52e755;return(_0x52e755=(_0x508b66=this[_0x522901(0x24d)])['onTransformState'])==null?void 0x0:_0x52e755['call'](_0x508b66,_0x370837);}[_0x3b85f3(0x2ef)](_0x1354d0){var _0x16b99d=_0x3b85f3,_0x2f4f48,_0x1f5bc9,_0x5c7407;return(_0x5c7407=(_0x1f5bc9=(_0x2f4f48=this[_0x16b99d(0x24d)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1f5bc9['call'](_0x2f4f48,_0x1354d0))!=null?_0x5c7407:_0x1354d0;}[_0x3b85f3(0x1f4)](_0x262335){var _0x5cb603=_0x3b85f3,_0x389782,_0xf253d2,_0x5c00bf;return(_0x5c00bf=(_0xf253d2=(_0x389782=this[_0x5cb603(0x24d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xf253d2[_0x5cb603(0x4c4)](_0x389782,_0x262335))!=null?_0x5c00bf:_0x262335;}['_syncEditingCollabCursor'](_0x200d07){var _0x3c2c48=_0x3b85f3,_0xf446d4,_0x263040;if(this['type']===_0x2da9ac[_0x3c2c48(0x3ee)]){const {unitID:_0x21b46f,mutations:_0x3a0b56,memberID:_0x309382}=_0x200d07,_0x166ee6=_0x3a0b56['length']>0x0?_0x3a0b56[0x0][_0x3c2c48(0x45a)]['textRanges']:[];Array[_0x3c2c48(0x25b)](_0x166ee6)&&_0x166ee6[_0x3c2c48(0x24a)]>0x0&&((_0x263040=(_0xf446d4=this[_0x3c2c48(0x24d)])[_0x3c2c48(0x2b7)])==null||_0x263040[_0x3c2c48(0x4c4)](_0xf446d4,{'unitID':_0x21b46f,'memberID':_0x309382,'textRanges':_0x166ee6}));}}[_0x3b85f3(0x2cb)](){var _0x208add=_0x3b85f3,_0x25eaf3;(_0x25eaf3=this['_localCacheService'])==null||_0x25eaf3[_0x208add(0x2ea)](this[_0x208add(0x3be)],this[_0x208add(0x565)],this['_awaitingChangeset'],this[_0x208add(0x50c)]);}['_getCurrentRevision'](){var _0x3a3bb1=_0x3b85f3;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x3a3bb1(0x3be)]);}[_0x3b85f3(0x4c3)](){var _0xd4deb9=_0x3b85f3;this[_0xd4deb9(0x2ff)][_0xd4deb9(0x223)](this[_0xd4deb9(0x3be)]);}[_0x3b85f3(0x299)](_0xbfea68){var _0x493252=_0x3b85f3,_0x39ea38;let _0x52c3cc=this[_0x493252(0x2ef)](_0xbfea68);_0x52c3cc=this['_transformRemoteChangesetByStateCache'](_0x52c3cc);const _0x1ff7a8=_0x29f72d[_0x493252(0x37d)](_0x52c3cc[_0x493252(0x358)],this[_0x493252(0x440)],{'fromCollab':!0x0});if(!_0x1ff7a8['result'])throw _0x1ff7a8['error']instanceof Error?_0x1ff7a8[_0x493252(0x313)]:new Error((_0x39ea38=_0x1ff7a8['error'])!=null?_0x39ea38:_0x493252(0x433));this[_0x493252(0x392)](_0x52c3cc),this['_transformStateCache'](_0x52c3cc),this[_0x493252(0x426)](_0xbfea68),this[_0x493252(0x350)](_0x52c3cc),this[_0x493252(0x226)](_0x52c3cc),this[_0x493252(0x4c3)]();}}_0x330a6c[_0x3b85f3(0x2d4)]=class extends _0x3e2750{constructor(_0x304e64,_0xd312be,_0x2d39b2,_0x15db1b,_0x2a056e,_0x3f099d,_0x32ec34,_0x437ec,_0x243f73,_0x1d62c6){var _0x4799f1=_0x3b85f3;super(_0x304e64,_0xd312be,null,[],_0x2d39b2,_0x32ec34,_0x3f099d,_0x15db1b,_0x1d62c6),_0x3dafef(this,_0x4799f1(0x47c),_0x4799f1(0x35e)),(this[_0x4799f1(0x53a)]=_0x2a056e,this[_0x4799f1(0x20b)]=_0x437ec,this[_0x4799f1(0x2c5)]=_0x243f73,this[_0x4799f1(0x3fd)]=_0x1d62c6);}[_0x3b85f3(0x4ac)](_0x4f1261){var _0x280721=_0x3b85f3;const _0x530372=this['_injector'][_0x280721(0x43b)](_0x330a6c[_0x280721(0x50f)],this[_0x280721(0x3be)],this[_0x280721(0x565)],[_0x4f1261],this['_handler']);return _0x530372[_0x280721(0x43e)](),_0x530372['_updateLocalCache'](),_0x530372;}['onRemoteChangeset'](_0x5e7aec){var _0x60c129=_0x3b85f3;if(this[_0x60c129(0x38d)](_0x5e7aec))return this[_0x60c129(0x53a)][_0x60c129(0x43b)](_0x330a6c[_0x60c129(0x34b)],this['unitID'],this[_0x60c129(0x565)],null,[],null,[_0x5e7aec],this['_handler']);try{const _0x5f22cd=this['_transformService'][_0x60c129(0x25f)](_0x5e7aec,[_0x94e8ef[_0x60c129(0x3a5)]]);if(_0x94e8ef['isTransformMutationsWithChangesetSuccess'](_0x5f22cd)){const {c1Prime:_0x4d36d6}=_0x5f22cd;return this[_0x60c129(0x299)](_0x4d36d6),this;}throw _0x5f22cd[_0x60c129(0x313)];}catch(_0x3858d9){return this['_logService']['error'](_0x3858d9),this[_0x60c129(0x3d1)](!0x1);}}[_0x3b85f3(0x3d1)](_0x2c63dd){var _0x5338d5=_0x3b85f3;return this[_0x5338d5(0x53a)][_0x5338d5(0x43b)](_0x330a6c[_0x5338d5(0x304)],this[_0x5338d5(0x3be)],this[_0x5338d5(0x565)],null,[],this[_0x5338d5(0x24d)],_0x2c63dd);}[_0x3b85f3(0x212)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3b85f3(0x2bb)](){var _0x5b0691=_0x3b85f3;throw new Error(_0x5b0691(0x474));}[_0x3b85f3(0x32e)](){return this;}['toggleOffline'](){var _0x436535=_0x3b85f3;return this['_injector'][_0x436535(0x43b)](_0x330a6c['OfflineState'],this['unitID'],this[_0x436535(0x565)],null,[],this[_0x436535(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x3bc3af=_0x3b85f3;throw new Error(_0x3bc3af(0x52f));}[_0x3b85f3(0x348)](){var _0x449d9b=_0x3b85f3;const _0x583f93=this['_revisionService']['getCurrentRevOfUnit'](this[_0x449d9b(0x3be)]);return this[_0x449d9b(0x24d)][_0x449d9b(0x283)]({'from':_0x583f93,'to':0x0}),this[_0x449d9b(0x53a)]['createInstance'](_0x330a6c[_0x449d9b(0x34b)],this[_0x449d9b(0x3be)],this['type'],null,[],null,[],this[_0x449d9b(0x24d)]);}},_0x330a6c[_0x3b85f3(0x2d4)]=_0x1d59cd([_0x2215d7(0x3,_0x29f72d['Inject'](_0x94e8ef['RevisionService'])),_0x2215d7(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x316)]),_0x2215d7(0x8,_0x94e8ef[_0x3b85f3(0x34a)]),_0x2215d7(0x9,_0x29f72d['Optional'](_0x54c85))],_0x330a6c[_0x3b85f3(0x2d4)]),_0x330a6c['PendingState']=class extends _0x3e2750{constructor(_0x15291b,_0x415abb,_0x510069,_0x215e1e,_0x423105,_0x404528,_0x4b9b24,_0x4e8739,_0x305eda,_0x1630d2,_0x3f6606,_0x2bf5b1,_0x344a13,_0x5ebdee){var _0x41c459=_0x3b85f3;super(_0x15291b,_0x415abb,null,_0x510069,_0x215e1e,_0x305eda,_0x344a13,_0x404528,_0x5ebdee),_0x3dafef(this,'status',_0x41c459(0x38c)),_0x3dafef(this,_0x41c459(0x3bb),null),_0x3dafef(this,_0x41c459(0x4a8),null),(this[_0x41c459(0x53a)]=_0x423105,this[_0x41c459(0x2a9)]=_0x4b9b24,this[_0x41c459(0x20b)]=_0x4e8739,this[_0x41c459(0x265)]=_0x1630d2,this[_0x41c459(0x2c5)]=_0x3f6606,this[_0x41c459(0x550)]=_0x2bf5b1);}[_0x3b85f3(0x4ac)](_0x55f3f9){var _0x2c1813=_0x3b85f3;return this['_pendingMutations'][_0x2c1813(0x2cd)](_0x55f3f9),this['_updateLocalCache'](),this;}[_0x3b85f3(0x2e9)](_0x22773e){var _0x57d68c=_0x3b85f3;if(this[_0x57d68c(0x38d)](_0x22773e))return this[_0x57d68c(0x39b)](),this['_injector'][_0x57d68c(0x43b)](_0x330a6c[_0x57d68c(0x34b)],this[_0x57d68c(0x3be)],this['type'],null,this[_0x57d68c(0x50c)],null,[_0x22773e],this[_0x57d68c(0x24d)]);try{const _0x49a86b=this[_0x57d68c(0x2c5)]['transformMutationsWithChangeset'](_0x22773e,this[_0x57d68c(0x50c)]);if(_0x94e8ef[_0x57d68c(0x221)](_0x49a86b)){const {c1Prime:_0x5d15a6,m2Prime:_0x5cdc56}=_0x49a86b;this[_0x57d68c(0x299)](_0x5d15a6);const _0x3c3b75=this[_0x57d68c(0x53a)][_0x57d68c(0x43b)](_0x330a6c['PendingState'],this['unitID'],this['type'],_0x5cdc56,this['_handler']);this['_clearScheduledTask']();const _0x18eb41=new Date()[_0x57d68c(0x4ea)](),_0x396148=this['_scheduleCompleteTimestamp']?Math[_0x57d68c(0x566)](this[_0x57d68c(0x3bb)]-_0x18eb41,0x0):this[_0x57d68c(0x309)]();return _0x3c3b75[_0x57d68c(0x43e)](_0x396148),_0x3c3b75;}throw _0x49a86b[_0x57d68c(0x313)];}catch(_0x3d8270){return this[_0x57d68c(0x20b)][_0x57d68c(0x313)](_0x3d8270),this[_0x57d68c(0x3d1)](!0x1);}}['onRemoteAck'](){var _0x1ff151=_0x3b85f3;throw new Error(_0x1ff151(0x20a));}[_0x3b85f3(0x2bb)](){var _0x2d9132=_0x3b85f3;throw new Error(_0x2d9132(0x269));}[_0x3b85f3(0x32e)](){return this;}[_0x3b85f3(0x492)](){var _0x425410=_0x3b85f3;return this['_clearScheduledTask'](),this[_0x425410(0x53a)]['createInstance'](_0x330a6c['OfflineState'],this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x425410(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x43e)](_0x48260c){var _0x2b9616=_0x3b85f3;const _0x927268=_0x48260c!=null?_0x48260c:this[_0x2b9616(0x309)]();this[_0x2b9616(0x3bb)]=new Date()[_0x2b9616(0x4ea)]()+_0x927268,this['_sendingTimer']=setTimeout(()=>{var _0x2699aa=_0x2b9616;this[_0x2699aa(0x39b)]();let _0x2e2bcb=null;switch(this[_0x2699aa(0x565)]){case _0x2da9ac['UNIVER_SHEET']:{_0x2e2bcb=_0x17ce0a(this[_0x2699aa(0x50c)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x550)],this[_0x2699aa(0x2ff)],this[_0x2699aa(0x2a9)]);break;}case _0x2da9ac['UNIVER_DOC']:{this[_0x2699aa(0x50c)][_0x2699aa(0x321)](_0x23827c=>_0x23827c['id']===_0x1633c3[_0x2699aa(0x3e4)]['id'])?_0x2e2bcb=_0x2697b3(this[_0x2699aa(0x50c)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x550)],this['_revisionService'],this[_0x2699aa(0x2a9)]):_0x2e2bcb=_0x17ce0a(this[_0x2699aa(0x50c)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x550)],this[_0x2699aa(0x2ff)],this[_0x2699aa(0x2a9)]);break;}default:throw new Error(_0x2699aa(0x230)+this[_0x2699aa(0x565)]+_0x2699aa(0x368));}const {changeset:_0x508e,pendingMutations:_0x5aead9}=_0x2e2bcb;this[_0x2699aa(0x24d)][_0x2699aa(0x28f)](_0x508e);const _0x699035=_0x5aead9['length']?this[_0x2699aa(0x53a)][_0x2699aa(0x43b)](_0x330a6c[_0x2699aa(0x4fe)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x565)],_0x508e,_0x5aead9,this[_0x2699aa(0x24d)],void 0x0):this[_0x2699aa(0x53a)][_0x2699aa(0x43b)](_0x330a6c['AwaitingState'],this[_0x2699aa(0x3be)],this[_0x2699aa(0x565)],_0x508e,this['_handler']);_0x699035[_0x2699aa(0x2cb)](),this['_handler'][_0x2699aa(0x469)](this,_0x699035);},_0x927268);}[_0x3b85f3(0x309)](){var _0x7db2cd=_0x3b85f3,_0x572545;const _0x8048a3=this['_configService']['getConfig'](_0x54fbde);return(_0x572545=_0x8048a3==null?void 0x0:_0x8048a3[_0x7db2cd(0x31e)])!=null?_0x572545:0x7d0;}[_0x3b85f3(0x3fc)](){var _0x2f374f=_0x3b85f3;throw new Error(_0x2f374f(0x423));}[_0x3b85f3(0x39b)](){var _0x2a035c=_0x3b85f3;this[_0x2a035c(0x4a8)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2a035c(0x4a8)]=null);}[_0x3b85f3(0x3d1)](_0x29bb09){var _0x2144ae=_0x3b85f3;return this[_0x2144ae(0x39b)](),this[_0x2144ae(0x53a)][_0x2144ae(0x43b)](_0x330a6c[_0x2144ae(0x304)],this[_0x2144ae(0x3be)],this[_0x2144ae(0x565)],null,this['_pendingMutations'],this['_handler'],_0x29bb09);}},_0x330a6c['PendingState']=_0x1d59cd([_0x2215d7(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d['Injector'])),_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c['MemberService'])),_0x2215d7(0x7,_0x29f72d['ILogService']),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x9,_0x29f72d['IConfigService']),_0x2215d7(0xa,_0x94e8ef[_0x3b85f3(0x34a)]),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x558)]),_0x2215d7(0xc,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xd,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x50f)]),_0x330a6c['AwaitingState']=class extends _0x3e2750{constructor(_0x172a39,_0x5e2dcd,_0xa8b9ce,_0x140356,_0x36238b,_0x4ce788,_0xc0b2a0,_0x45dcbd,_0x4e25c5,_0x999b1d,_0x49d03){var _0x5c7b90=_0x3b85f3;super(_0x172a39,_0x5e2dcd,_0xa8b9ce,[],_0x140356,_0xc0b2a0,_0x999b1d,_0x4ce788,_0x49d03),_0x3dafef(this,_0x5c7b90(0x47c),_0x5c7b90(0x3ce)),_0x3dafef(this,_0x5c7b90(0x243),0x0),_0x3dafef(this,_0x5c7b90(0x3e3),0x0),_0x3dafef(this,'_resendTimer'),_0x3dafef(this,'_sender'),(this[_0x5c7b90(0x53a)]=_0x36238b,this[_0x5c7b90(0x20b)]=_0x45dcbd,this[_0x5c7b90(0x2c5)]=_0x4e25c5);}[_0x3b85f3(0x4ac)](_0x4b1d6d){var _0x977977=_0x3b85f3;this['_clearScheduledTask']();const _0x1dd187=this[_0x977977(0x53a)][_0x977977(0x43b)](_0x330a6c[_0x977977(0x4fe)],this[_0x977977(0x3be)],this[_0x977977(0x565)],this[_0x977977(0x238)],[_0x4b1d6d],this[_0x977977(0x24d)],this[_0x977977(0x279)]);return _0x1dd187[_0x977977(0x2cb)](),_0x1dd187;}[_0x3b85f3(0x2e9)](_0x2e52f2){var _0x42d613=_0x3b85f3;if(this[_0x42d613(0x38d)](_0x2e52f2))return this[_0x42d613(0x39b)](),this[_0x42d613(0x53a)][_0x42d613(0x43b)](_0x330a6c[_0x42d613(0x34b)],this[_0x42d613(0x3be)],this['type'],this[_0x42d613(0x238)],[],null,[_0x2e52f2],this[_0x42d613(0x24d)]);try{const _0x972c56=this[_0x42d613(0x2c5)][_0x42d613(0x3d5)]([_0x2e52f2],[this[_0x42d613(0x238)]],!0x1);if(_0x94e8ef['isTransformChangesetsSuccess'](_0x972c56)){const {c1Prime:_0x16da86,c2Prime:_0x27d411}=_0x972c56;this[_0x42d613(0x299)](_0x16da86[0x0]),_0x27d411[0x0][_0x42d613(0x4a0)]=this[_0x42d613(0x1ea)](),this[_0x42d613(0x39b)]();const _0x439bd3=this[_0x42d613(0x53a)][_0x42d613(0x43b)](_0x330a6c['AwaitingState'],this['unitID'],this[_0x42d613(0x565)],_0x27d411[0x0],this[_0x42d613(0x24d)]);return _0x439bd3['_updateLocalCache'](),_0x439bd3;}return this['_onConflict'](!0x1);}catch(_0x11eab3){return this[_0x42d613(0x20b)][_0x42d613(0x313)](_0x11eab3),this['_onConflict'](!0x1);}}[_0x3b85f3(0x212)](_0x515b5f){var _0x51c1fb=_0x3b85f3;this['_clearScheduledTask']();const _0x19ec57=this[_0x51c1fb(0x2ff)][_0x51c1fb(0x1ec)](this[_0x51c1fb(0x3be)]);if(_0x515b5f[_0x51c1fb(0x2c2)]<_0x19ec57-0x1)return this;if(this[_0x51c1fb(0x38d)](_0x515b5f))return this['_injector'][_0x51c1fb(0x43b)](_0x330a6c[_0x51c1fb(0x34b)],this['unitID'],this[_0x51c1fb(0x565)],null,[],this[_0x51c1fb(0x238)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x35e5f1=this[_0x51c1fb(0x53a)]['createInstance'](_0x330a6c[_0x51c1fb(0x2d4)],this[_0x51c1fb(0x3be)],this['type'],this[_0x51c1fb(0x24d)]);return _0x35e5f1[_0x51c1fb(0x2cb)](),_0x35e5f1;}[_0x3b85f3(0x2bb)](_0x419954){var _0x35d353=_0x3b85f3;return this[_0x35d353(0x3d1)](!!(_0x419954!=null&&_0x419954[_0x35d353(0x4fa)]));}[_0x3b85f3(0x32e)](_0x407230){var _0x4727d6=_0x3b85f3;return this[_0x4727d6(0x3e3)]>_0x2e27e1?this[_0x4727d6(0x492)]():(this[_0x4727d6(0x279)]=_0x42bc29(this[_0x4727d6(0x243)],{'timeout':this[_0x4727d6(0x243)],'reqId':_0x407230[_0x4727d6(0x3ab)]}),this[_0x4727d6(0x4fb)]=this['_resendTimer'][_0x4727d6(0x255)](({reqId:_0x3ba60f,timeout:_0x2ac385})=>{var _0x2348d3=_0x4727d6;this[_0x2348d3(0x2d0)](_0x3ba60f,_0x2ac385);}),this);}[_0x3b85f3(0x492)](){var _0x17510d=_0x3b85f3;return this['_clearScheduledTask'](),this[_0x17510d(0x53a)]['createInstance'](_0x330a6c[_0x17510d(0x557)],this[_0x17510d(0x3be)],this['type'],this[_0x17510d(0x238)],[],this[_0x17510d(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x5dcb01=_0x3b85f3;this[_0x5dcb01(0x24d)][_0x5dcb01(0x28f)](this[_0x5dcb01(0x238)]);}[_0x3b85f3(0x3d1)](_0x1fcb7e){var _0x391fdf=_0x3b85f3;return this[_0x391fdf(0x39b)](),this[_0x391fdf(0x53a)][_0x391fdf(0x43b)](_0x330a6c['ConflictState'],this[_0x391fdf(0x3be)],this['type'],this['_awaitingChangeset'],[],this[_0x391fdf(0x24d)],_0x1fcb7e);}['_resendWithTimeout'](_0x48eab4,_0x3f3b18){var _0x56943c=_0x3b85f3,_0x24e7f7;_0x48eab4===((_0x24e7f7=this['_awaitingChangeset'])==null?void 0x0:_0x24e7f7[_0x56943c(0x3ab)])&&(this[_0x56943c(0x3fc)](),this[_0x56943c(0x243)]=_0x3f3b18===0x0?0x3e8:Math[_0x56943c(0x2f0)](_0x3f3b18*0x2,_0x59df39),this[_0x56943c(0x3e3)]+=this['_resendTimeout']);}[_0x3b85f3(0x39b)](){var _0x280277=_0x3b85f3,_0x4b03c5;(_0x4b03c5=this[_0x280277(0x4fb)])==null||_0x4b03c5[_0x280277(0x2c8)](),this[_0x280277(0x243)]=0x0,this[_0x280277(0x3e3)]=0x0;}},_0x330a6c[_0x3b85f3(0x30b)]=_0x1d59cd([_0x2215d7(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x7,_0x29f72d['ILogService']),_0x2215d7(0x8,_0x94e8ef['ITransformService']),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xa,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x30b)]),_0x330a6c[_0x3b85f3(0x4fe)]=class extends _0x3e2750{constructor(_0x466940,_0x5913a8,_0x34cdea,_0x2e5c74,_0x855680,_0x25fef2,_0x368065,_0x5ba104,_0x4151a6,_0x505ea0,_0x1c6ce8,_0x58d6d1,_0x247090){var _0x487da1=_0x3b85f3;super(_0x466940,_0x5913a8,_0x34cdea,_0x2e5c74,_0x855680,_0x4151a6,_0x58d6d1,_0x5ba104,_0x247090),_0x3dafef(this,_0x487da1(0x47c),_0x487da1(0x323)),_0x3dafef(this,_0x487da1(0x243),0x0),_0x3dafef(this,_0x487da1(0x3e3),0x0),_0x3dafef(this,_0x487da1(0x279)),_0x3dafef(this,_0x487da1(0x4fb)),(this['_injector']=_0x368065,this[_0x487da1(0x20b)]=_0x505ea0,this[_0x487da1(0x2c5)]=_0x1c6ce8,this[_0x487da1(0x3fd)]=_0x247090,_0x25fef2&&(this[_0x487da1(0x279)]=_0x25fef2,this[_0x487da1(0x4fb)]=this[_0x487da1(0x279)]['subscribe'](({reqId:_0x1eed55,timeout:_0x51b00d})=>{var _0x17b892=_0x487da1;this[_0x17b892(0x2d0)](_0x1eed55,_0x51b00d);})));}['appendMutation'](_0x105303){var _0x4f371b=_0x3b85f3;return this[_0x4f371b(0x50c)][_0x4f371b(0x2cd)](_0x105303),this;}[_0x3b85f3(0x2e9)](_0x3c75db){var _0x293a3f=_0x3b85f3;if(this[_0x293a3f(0x38d)](_0x3c75db))return this[_0x293a3f(0x39b)](),this[_0x293a3f(0x53a)][_0x293a3f(0x43b)](_0x330a6c[_0x293a3f(0x34b)],this['unitID'],this[_0x293a3f(0x565)],this[_0x293a3f(0x238)],this[_0x293a3f(0x50c)],null,[_0x3c75db],this[_0x293a3f(0x24d)]);try{const _0x334ffc=this[_0x293a3f(0x2c5)]['transformChangesets']([_0x3c75db],[this['_awaitingChangeset']],!0x1);if(_0x94e8ef[_0x293a3f(0x520)](_0x334ffc)){const {c1Prime:_0x5ec518,c2Prime:_0x5791a4}=_0x334ffc,_0xa1ddf=this['_transformService'][_0x293a3f(0x25f)](_0x5ec518[0x0],this[_0x293a3f(0x50c)]);if(_0x94e8ef['isTransformMutationsWithChangesetSuccess'](_0xa1ddf)){const {c1Prime:_0x23b8b8,m2Prime:_0x32156e}=_0xa1ddf;return this[_0x293a3f(0x299)](_0x23b8b8),_0x5791a4[0x0][_0x293a3f(0x4a0)]=this[_0x293a3f(0x1ea)](),this[_0x293a3f(0x39b)](),this[_0x293a3f(0x53a)][_0x293a3f(0x43b)](_0x330a6c['AwaitingWithPendingState'],this[_0x293a3f(0x3be)],this[_0x293a3f(0x565)],_0x5791a4[0x0],_0x32156e,this[_0x293a3f(0x24d)],void 0x0);}throw _0xa1ddf['error'];}throw _0x334ffc[_0x293a3f(0x313)];}catch(_0x142e4a){return this[_0x293a3f(0x20b)][_0x293a3f(0x313)](_0x142e4a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1433e7){var _0x309c9c=_0x3b85f3;if(this['_clearScheduledTask'](),this[_0x309c9c(0x38d)](_0x1433e7))return this[_0x309c9c(0x53a)][_0x309c9c(0x43b)](_0x330a6c[_0x309c9c(0x34b)],this[_0x309c9c(0x3be)],this[_0x309c9c(0x565)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x309c9c(0x24d)]);this[_0x309c9c(0x4c3)]();const _0x59bb62=this['_injector'][_0x309c9c(0x43b)](_0x330a6c[_0x309c9c(0x50f)],this[_0x309c9c(0x3be)],this['type'],this['_pendingMutations'],this[_0x309c9c(0x24d)]);return _0x59bb62[_0x309c9c(0x43e)](),_0x59bb62[_0x309c9c(0x2cb)](),_0x59bb62;}[_0x3b85f3(0x2bb)](_0x22da1e){var _0x443e2e=_0x3b85f3;return this[_0x443e2e(0x3d1)](!!(_0x22da1e!=null&&_0x22da1e[_0x443e2e(0x4fa)]));}[_0x3b85f3(0x32e)](_0x21467a){var _0x2f60a9=_0x3b85f3;return this[_0x2f60a9(0x3e3)]>_0x2e27e1?this[_0x2f60a9(0x492)]():(this[_0x2f60a9(0x279)]=_0x42bc29(this[_0x2f60a9(0x243)],{'timeout':this[_0x2f60a9(0x243)],'reqId':_0x21467a[_0x2f60a9(0x3ab)]}),this['_sender']=this[_0x2f60a9(0x279)]['subscribe'](({reqId:_0x513f39,timeout:_0x354e94})=>{var _0x12d7a6=_0x2f60a9;this[_0x12d7a6(0x2d0)](_0x513f39,_0x354e94);}),this);}[_0x3b85f3(0x492)](){var _0x3eb8a4=_0x3b85f3;return this[_0x3eb8a4(0x39b)](),this[_0x3eb8a4(0x53a)]['createInstance'](_0x330a6c[_0x3eb8a4(0x557)],this[_0x3eb8a4(0x3be)],this['type'],this['_awaitingChangeset'],this[_0x3eb8a4(0x50c)],this[_0x3eb8a4(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x232512=_0x3b85f3;this[_0x232512(0x24d)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x3b85f3(0x3d1)](_0x41662d){var _0x5733e8=_0x3b85f3;return this[_0x5733e8(0x39b)](),this[_0x5733e8(0x53a)]['createInstance'](_0x330a6c[_0x5733e8(0x304)],this['unitID'],this[_0x5733e8(0x565)],null,this['_pendingMutations'],this['_handler'],_0x41662d);}[_0x3b85f3(0x2d0)](_0x2fe2bc,_0x3300c7){var _0x434a0f=_0x3b85f3,_0x236c99;_0x2fe2bc===((_0x236c99=this[_0x434a0f(0x238)])==null?void 0x0:_0x236c99[_0x434a0f(0x3ab)])&&(this['resend'](),this[_0x434a0f(0x243)]=_0x3300c7===0x0?0x3e8:Math['min'](_0x3300c7*0x2,_0x59df39),this['_maxTotalRetryTimeout']+=this[_0x434a0f(0x243)]);}[_0x3b85f3(0x39b)](){var _0x49a1a8=_0x3b85f3,_0x3774e2;(_0x3774e2=this[_0x49a1a8(0x4fb)])==null||_0x3774e2['unsubscribe'](),this[_0x49a1a8(0x243)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x330a6c[_0x3b85f3(0x4fe)]=_0x1d59cd([_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x316)]),_0x2215d7(0xa,_0x94e8ef['ITransformService']),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xc,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x4fe)]),_0x330a6c[_0x3b85f3(0x304)]=class extends _0x3e2750{constructor(_0x49c65e,_0x3f92fa,_0x213d9d,_0x5b9039,_0x51ae1e,_0x2e56d5=!0x1,_0x3e09f7,_0x112387,_0x5536a7,_0x940095,_0x16d32a,_0x2df0e4,_0x1605da){var _0xbfe0f6=_0x3b85f3;super(_0x49c65e,_0x3f92fa,_0x213d9d,_0x5b9039,_0x51ae1e,_0x112387,_0x5536a7,_0x940095,_0x1605da),_0x3dafef(this,_0xbfe0f6(0x47c),_0xbfe0f6(0x31a)),(this[_0xbfe0f6(0x439)]=_0x2e56d5,this[_0xbfe0f6(0x543)]=_0x3e09f7,this[_0xbfe0f6(0x407)]=_0x16d32a,this[_0xbfe0f6(0x2ed)]=_0x2df0e4,this[_0xbfe0f6(0x3fd)]=_0x1605da,this[_0xbfe0f6(0x531)](),this[_0xbfe0f6(0x372)](),this['_disableEditing']());}[_0x3b85f3(0x4ac)](){return this;}['onRemoteChangeset'](){return this;}[_0x3b85f3(0x212)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x3b85f3(0x492)](){return this;}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x35d3a8=_0x3b85f3;throw new Error(_0x35d3a8(0x50d));}[_0x3b85f3(0x372)](){var _0x17743a=_0x3b85f3,_0x1054b4;(_0x1054b4=this[_0x17743a(0x38e)])==null||_0x1054b4[_0x17743a(0x2ea)](this[_0x17743a(0x3be)],this[_0x17743a(0x565)],null,[]);}[_0x3b85f3(0x531)](){var _0x10d13c=_0x3b85f3;this[_0x10d13c(0x439)]?this['_collaborationUIEventService'][_0x10d13c(0x1d4)]({'id':_0x465567[_0x10d13c(0x1c9)]}):this['_collaborationUIEventService'][_0x10d13c(0x1d4)]({'id':_0x465567['CONFLICT']});}[_0x3b85f3(0x340)](){var _0x2abd6a=_0x3b85f3;this['_permissionService'][_0x2abd6a(0x44b)](new _0x504e3a['WorkbookEditablePermission'](this[_0x2abd6a(0x3be)])['id'],!0x1);}},_0x330a6c[_0x3b85f3(0x304)]=_0x1d59cd([_0x2215d7(0x6,_0x29f72d['Inject'](_0x29f72d['IPermissionService'])),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef['RevisionService'])),_0x2215d7(0xa,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x487)])),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x2215d7(0xc,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x304)]),_0x330a6c['OfflineState']=class extends _0x3e2750{constructor(_0x4917a9,_0x4fabc0,_0x1ef129,_0x581dd4,_0x5a254a,_0x3f4658,_0x4f2cec,_0x26e09a,_0x181245,_0x3582ed){var _0x184f35=_0x3b85f3;super(_0x4917a9,_0x4fabc0,_0x1ef129,_0x581dd4,_0x5a254a,_0x26e09a,_0x181245,_0x4f2cec,_0x3582ed),_0x3dafef(this,_0x184f35(0x47c),'offline'),this[_0x184f35(0x53a)]=_0x3f4658;}['appendMutation'](_0x491e47){var _0x530244=_0x3b85f3;return this[_0x530244(0x50c)][_0x530244(0x2cd)](_0x491e47),this[_0x530244(0x2cb)](),this;}[_0x3b85f3(0x2e9)](_0x1e45b7){var _0x4e75c9=_0x3b85f3;throw new Error(_0x4e75c9(0x310));}['onRemoteAck'](){var _0x40fb78=_0x3b85f3;throw new Error(_0x40fb78(0x3d3));}[_0x3b85f3(0x2bb)](){var _0x7d9109=_0x3b85f3;throw new Error(_0x7d9109(0x560));}['onRemoteRetry'](){return this;}[_0x3b85f3(0x492)](){return this;}[_0x3b85f3(0x553)](){var _0x15a412=_0x3b85f3;const {_injector:_0x5a7966,_pendingMutations:_0x2f3d05,_awaitingChangeset:_0x5d8e7f,unitID:_0x80e60d,_handler:_0x37f9a1,type:_0x3683c7}=this,_0x467e04=_0x3d585d(_0x5a7966,_0x80e60d,_0x3683c7,_0x5d8e7f,_0x2f3d05,_0x37f9a1);return _0x467e04 instanceof _0x330a6c[_0x15a412(0x50f)]?_0x467e04[_0x15a412(0x43e)]():(_0x467e04 instanceof _0x330a6c[_0x15a412(0x4fe)]||_0x467e04 instanceof _0x330a6c['AwaitingState'])&&_0x467e04[_0x15a412(0x3fc)](),_0x467e04;}[_0x3b85f3(0x3fc)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x330a6c[_0x3b85f3(0x557)]=_0x1d59cd([_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x6,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x557)]),_0x330a6c[_0x3b85f3(0x34b)]=class extends _0x3e2750{constructor(_0x34f334,_0xa985cb,_0x4a7c48,_0x232e6f,_0x104f1a,_0x25f725,_0x41a716,_0x453664,_0x135bdd,_0x3b53c9,_0xa84be4,_0x572f25,_0x488f65,_0x44b3bf){var _0x41c32d=_0x3b85f3;super(_0x34f334,_0xa985cb,_0x4a7c48,_0x232e6f,_0x41a716,_0xa84be4,_0x572f25,_0x135bdd,_0x44b3bf),_0x3dafef(this,_0x41c32d(0x47c),_0x41c32d(0x561)),(this['_acknowledgedAwaitingChangeset']=_0x104f1a,this[_0x41c32d(0x539)]=_0x25f725,this['_injector']=_0x453664,this['_logService']=_0x3b53c9,this[_0x41c32d(0x2c5)]=_0x488f65,this['localCacheService']=_0x44b3bf);}[_0x3b85f3(0x534)](_0x3b9d34){var _0x4a7b00=_0x3b85f3;try{const _0x1e3889=[..._0x3b9d34,...this[_0x4a7b00(0x539)]],_0x1433d0=[this[_0x4a7b00(0x238)]||this[_0x4a7b00(0x3f1)]][_0x4a7b00(0x463)](_0x2f9c00=>!!_0x2f9c00);let _0x22d2bf,_0xd23234;if(_0x1433d0[_0x4a7b00(0x24a)]){const _0x567f40=this['_transformService']['transformChangesets'](_0x1e3889,_0x1433d0,!0x1);if(!_0x94e8ef[_0x4a7b00(0x520)](_0x567f40))throw _0x567f40[_0x4a7b00(0x313)];_0x22d2bf=_0x567f40[_0x4a7b00(0x3f9)],_0xd23234=_0x567f40[_0x4a7b00(0x3e8)];}else _0x22d2bf=_0x1e3889,_0xd23234=[];let _0x440be5=this[_0x4a7b00(0x50c)];_0x22d2bf[_0x4a7b00(0x3ae)](_0x2ceeb4=>{var _0x40ed38=_0x4a7b00;let _0x1255f8;if(_0x440be5['length']){const _0x324417=this[_0x40ed38(0x2c5)][_0x40ed38(0x25f)](_0x2ceeb4,_0x440be5);if(!_0x94e8ef[_0x40ed38(0x221)](_0x324417))throw _0x324417[_0x40ed38(0x313)];_0x1255f8=_0x324417['c1Prime'],_0x440be5=_0x324417[_0x40ed38(0x343)];}else _0x1255f8=_0x2ceeb4;this[_0x40ed38(0x299)](_0x1255f8);}),this[_0x4a7b00(0x3f1)]&&this[_0x4a7b00(0x4c3)](),this[_0x4a7b00(0x238)]&&_0xd23234[_0x4a7b00(0x24a)]&&(_0xd23234[0x0][_0x4a7b00(0x4a0)]=this['_getCurrentRevision']());let _0x3620ac;if(this[_0x4a7b00(0x238)]&&_0x440be5[_0x4a7b00(0x24a)]!==0x0)_0x3620ac=this[_0x4a7b00(0x53a)][_0x4a7b00(0x43b)](_0x330a6c[_0x4a7b00(0x4fe)],this['unitID'],this[_0x4a7b00(0x565)],_0xd23234[0x0],_0x440be5,this[_0x4a7b00(0x24d)],void 0x0);else{if(this[_0x4a7b00(0x238)]&&_0x440be5['length']===0x0)_0xd23234[0x0][_0x4a7b00(0x4a0)]=this['_getCurrentRevision'](),_0x3620ac=this[_0x4a7b00(0x53a)]['createInstance'](_0x330a6c[_0x4a7b00(0x30b)],this['unitID'],this['type'],_0xd23234[0x0],this['_handler']);else{if(_0x440be5[_0x4a7b00(0x24a)]!==0x0){const _0x3f624d=this['_injector'][_0x4a7b00(0x43b)](_0x330a6c['PendingState'],this[_0x4a7b00(0x3be)],this[_0x4a7b00(0x565)],_0x440be5,this['_handler']);_0x3f624d[_0x4a7b00(0x43e)](),_0x3620ac=_0x3f624d;}else _0x3620ac=this[_0x4a7b00(0x53a)]['createInstance'](_0x330a6c[_0x4a7b00(0x2d4)],this['unitID'],this[_0x4a7b00(0x565)],this[_0x4a7b00(0x24d)]);}}return _0x3620ac[_0x4a7b00(0x2cb)](),_0x3620ac;}catch(_0xf22356){return this[_0x4a7b00(0x20b)]['error']('[FetchMissState]',_0x4a7b00(0x46c),_0xf22356),this[_0x4a7b00(0x53a)][_0x4a7b00(0x43b)](_0x330a6c['ConflictState'],this[_0x4a7b00(0x3be)],this[_0x4a7b00(0x565)],this[_0x4a7b00(0x238)],this['_pendingMutations'],this[_0x4a7b00(0x24d)],!0x1);}}[_0x3b85f3(0x3fc)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3b85f3(0x4ac)](_0x1bbc94){var _0x23ecf0=_0x3b85f3;return this[_0x23ecf0(0x50c)]['push'](_0x1bbc94),this;}[_0x3b85f3(0x2e9)](_0x22877f){var _0xe084df=_0x3b85f3;return this[_0xe084df(0x539)][_0xe084df(0x2cd)](_0x22877f),this;}[_0x3b85f3(0x212)](_0xf3e037){var _0x1ad954=_0x3b85f3;if(this[_0x1ad954(0x238)])return this['_acknowledgedAwaitingChangeset']=this[_0x1ad954(0x238)],this['_awaitingChangeset']=null,this;throw new Error(_0x1ad954(0x2dd));}[_0x3b85f3(0x2bb)](_0x5b6dd0){var _0x2ec39c=_0x3b85f3;return this[_0x2ec39c(0x3d1)](!!(_0x5b6dd0!=null&&_0x5b6dd0[_0x2ec39c(0x4fa)]));}[_0x3b85f3(0x32e)](){return this;}[_0x3b85f3(0x492)](){var _0x6f4b0=_0x3b85f3;return this['_injector'][_0x6f4b0(0x43b)](_0x330a6c['OfflineState'],this[_0x6f4b0(0x3be)],this[_0x6f4b0(0x565)],this[_0x6f4b0(0x238)],this[_0x6f4b0(0x50c)],this[_0x6f4b0(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3d1)](_0x20b786){var _0x430113=_0x3b85f3;return this[_0x430113(0x53a)][_0x430113(0x43b)](_0x330a6c[_0x430113(0x304)],this[_0x430113(0x3be)],this[_0x430113(0x565)],this[_0x430113(0x238)],this[_0x430113(0x50c)],this[_0x430113(0x24d)],_0x20b786);}},_0x330a6c[_0x3b85f3(0x34b)]=_0x1d59cd([_0x2215d7(0x7,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x8,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x316)]),_0x2215d7(0xa,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xc,_0x94e8ef[_0x3b85f3(0x34a)]),_0x2215d7(0xd,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x34b)]);function _0x3d585d(_0x37ef6f,_0x1b2ffa,_0x2f46a9,_0x93a0e4,_0x28d173,_0x46ef04){var _0x5a912=_0x3b85f3;return _0x93a0e4&&_0x28d173[_0x5a912(0x24a)]?_0x37ef6f[_0x5a912(0x43b)](_0x330a6c[_0x5a912(0x4fe)],_0x1b2ffa,_0x2f46a9,_0x93a0e4,_0x28d173,_0x46ef04,void 0x0):_0x93a0e4?_0x37ef6f[_0x5a912(0x43b)](_0x330a6c['AwaitingState'],_0x1b2ffa,_0x2f46a9,_0x93a0e4,_0x46ef04):_0x28d173[_0x5a912(0x24a)]?_0x37ef6f[_0x5a912(0x43b)](_0x330a6c[_0x5a912(0x50f)],_0x1b2ffa,_0x2f46a9,_0x28d173,_0x46ef04):_0x37ef6f['createInstance'](_0x330a6c[_0x5a912(0x2d4)],_0x1b2ffa,_0x2f46a9,_0x46ef04);}var _0x2a33da=Object[_0x3b85f3(0x2e1)],_0x223caa=(_0x1c71c6,_0x47a751,_0x546e9e,_0x2badd0)=>{var _0xf7bb02=_0x3b85f3;for(var _0x417182=_0x2badd0>0x1?void 0x0:_0x2badd0?_0x2a33da(_0x47a751,_0x546e9e):_0x47a751,_0x332958=_0x1c71c6[_0xf7bb02(0x24a)]-0x1,_0x3b7f83;_0x332958>=0x0;_0x332958--)(_0x3b7f83=_0x1c71c6[_0x332958])&&(_0x417182=_0x3b7f83(_0x417182)||_0x417182);return _0x417182;},_0x132858=(_0x188647,_0x478323)=>(_0x298e65,_0x434c1f)=>_0x478323(_0x298e65,_0x434c1f,_0x188647);_0x330a6c['CollaborationEntity']=class extends _0x29f72d['RxDisposable']{constructor(_0x38b0e6,_0x275b75,_0x2ac148,_0x544436,_0x473170,_0x466826,_0xb944b4,_0xe6b718,_0x280ef9,_0x549ea8,_0x136e32,_0x22bea9,_0x10f43a,_0x3abc24){var _0x1f9a53=_0x3b85f3;super(),_0x3dafef(this,_0x1f9a53(0x4e3),new _0x26770d[(_0x1f9a53(0x2cc))](null)),_0x3dafef(this,_0x1f9a53(0x29e),this[_0x1f9a53(0x4e3)]['asObservable']()),_0x3dafef(this,'_state'),_0x3dafef(this,'_collaborationPaused',!0x1),_0x3dafef(this,_0x1f9a53(0x49e),''),_0x3dafef(this,_0x1f9a53(0x409),0x0),_0x3dafef(this,_0x1f9a53(0x3e7),this[_0x1f9a53(0x29e)][_0x1f9a53(0x341)](_0x26770d[_0x1f9a53(0x55e)](_0x3d928d=>_0x3d928d?_0x3d928d[_0x1f9a53(0x47c)]:_0xcbbb88[_0x1f9a53(0x376)]),_0x26770d[_0x1f9a53(0x32a)](0x1))),_0x3dafef(this,_0x1f9a53(0x26a),!0x1),_0x3dafef(this,_0x1f9a53(0x546),[]),(this[_0x1f9a53(0x3be)]=_0x38b0e6,this['session']=_0x275b75,this[_0x1f9a53(0x30c)]=_0x2ac148,this[_0x1f9a53(0x53a)]=_0x544436,this[_0x1f9a53(0x23c)]=_0x473170,this[_0x1f9a53(0x407)]=_0x466826,this[_0x1f9a53(0x2ff)]=_0xb944b4,this[_0x1f9a53(0x3e1)]=_0xe6b718,this[_0x1f9a53(0x550)]=_0x280ef9,this[_0x1f9a53(0x20b)]=_0x549ea8,this[_0x1f9a53(0x440)]=_0x136e32,this['_permissionService']=_0x22bea9,this[_0x1f9a53(0x49d)]=_0x10f43a,this['_localCacheService']=_0x3abc24);}get[_0x3b85f3(0x4f5)](){var _0x13e723=_0x3b85f3;return this[_0x13e723(0x2b9)];}async[_0x3b85f3(0x4e1)](){var _0x49879e=_0x3b85f3;if(this[_0x49879e(0x4f5)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x49879e(0x527)]();}['pauseCollaboration'](){var _0x228c35=_0x3b85f3;return this[_0x228c35(0x51a)]=!0x0,_0x29f72d['toDisposable'](()=>{var _0x539274=_0x228c35;this[_0x539274(0x51a)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x27d008){this['_onLocalMutation'](_0x27d008);}[_0x3b85f3(0x53e)](_0x5dd1bd){var _0x4e82af=_0x3b85f3;this[_0x4e82af(0x2b9)]=_0x5dd1bd,this['_state$'][_0x4e82af(0x4c8)](_0x5dd1bd);}async[_0x3b85f3(0x527)](){var _0x4b5fa9=_0x3b85f3,_0x2cffd1;this[_0x4b5fa9(0x53e)](await this[_0x4b5fa9(0x336)]()),this[_0x4b5fa9(0x49d)]&&((_0x2cffd1=this['_singleActiveUnitService'])==null||_0x2cffd1['editingUnit'](this[_0x4b5fa9(0x3be)]),this[_0x4b5fa9(0x4de)](this[_0x4b5fa9(0x49d)][_0x4b5fa9(0x3c9)](this[_0x4b5fa9(0x3be)])['subscribe'](_0x6f1e54=>{var _0xb21b23=_0x4b5fa9;this['_logService']['debug'](_0xb21b23(0x31c),'editing\x20status\x20changed\x20to',_0x6f1e54),_0x6f1e54===_0x17f828[_0xb21b23(0x4fc)]?(this[_0xb21b23(0x3e1)][_0xb21b23(0x1d4)]({'id':_0x465567[_0xb21b23(0x456)]}),this[_0xb21b23(0x543)][_0xb21b23(0x44b)](new _0x504e3a[(_0xb21b23(0x251))](this[_0xb21b23(0x3be)])['id'],!0x1),this[_0xb21b23(0x543)][_0xb21b23(0x4f6)](!0x1)):(this[_0xb21b23(0x543)][_0xb21b23(0x44b)](new _0x504e3a[(_0xb21b23(0x251))](this[_0xb21b23(0x3be)])['id'],!0x0),this[_0xb21b23(0x543)][_0xb21b23(0x4f6)](!0x0));})));let _0x467c1e=!0x1;return this['disposeWithMe'](this[_0x4b5fa9(0x36b)]['sessionStatus$']['subscribe'](_0x1af437=>{var _0x5b15cb=_0x4b5fa9;_0x1af437===_0x5c4cf0[_0x5b15cb(0x425)]?this[_0x5b15cb(0x30a)](_0x467c1e):_0x1af437===_0x5c4cf0['OFFLINE']&&(_0x467c1e=!0x0,this[_0x5b15cb(0x319)]());})),this[_0x4b5fa9(0x4de)](this[_0x4b5fa9(0x36b)]['event$']['subscribe'](_0x11916f=>{var _0xcca1ef=_0x4b5fa9;try{switch(_0x11916f[_0xcca1ef(0x3df)]){case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x20e)]:{this[_0xcca1ef(0x2ca)](_0x94e8ef[_0xcca1ef(0x21b)](_0x11916f['data']));break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x3b3)]:{this['_onRemoteACK'](_0x11916f[_0xcca1ef(0x2c0)]);break;}case _0x94e8ef[_0xcca1ef(0x22b)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x370)]:{this[_0xcca1ef(0x415)](_0x11916f[_0xcca1ef(0x2c0)]);break;}case _0x94e8ef['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xcca1ef(0x442)](_0x11916f[_0xcca1ef(0x2c0)][_0xcca1ef(0x529)][_0xcca1ef(0x55e)](_0x3f0cd2=>_0x94e8ef['parseProtocolChangeset'](_0x3f0cd2)));break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x4db)]:{this[_0xcca1ef(0x541)]({'isPermissionRej':!0x0});break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x2fa)]:break;}}catch(_0x151e78){throw console[_0xcca1ef(0x313)](_0xcca1ef(0x47d),_0x151e78),_0x151e78;}})),this[_0x4b5fa9(0x2b9)];}[_0x3b85f3(0x285)](){var _0xae7f0a=_0x3b85f3;this[_0xae7f0a(0x26a)]=!0x1;}[_0x3b85f3(0x2a5)](){var _0x722273=_0x3b85f3;if(this[_0x722273(0x26a)])throw new Error(_0x722273(0x1f2));this[_0x722273(0x26a)]=!0x0;}[_0x3b85f3(0x37a)](_0x35a9da){var _0x25fd47=_0x3b85f3;this[_0x25fd47(0x2a5)](),this[_0x25fd47(0x53e)](this[_0x25fd47(0x2b9)][_0x25fd47(0x4ac)](_0x35a9da)),this['_unlockTransition']();}[_0x3b85f3(0x2ca)](_0x1e29a7){var _0x30ecd3=_0x3b85f3;if(!(_0x1e29a7[_0x30ecd3(0x2c2)]<=this[_0x30ecd3(0x2ff)][_0x30ecd3(0x1ec)](this['unitID']))){if(this[_0x30ecd3(0x51a)]){this[_0x30ecd3(0x546)]['push'](_0x1e29a7);return;}this[_0x30ecd3(0x287)](_0x1e29a7);}}['_exhaustRemoteChangesetQueue'](){var _0x5273e7=_0x3b85f3;this['_remoteChangesetQueue']['forEach'](_0x4c4712=>this[_0x5273e7(0x287)](_0x4c4712)),this[_0x5273e7(0x546)]=[];}['_applyRemoteChangeset'](_0xc2f658){var _0x250a8d=_0x3b85f3;const _0x533db9=this[_0x250a8d(0x23c)]['interceptor'][_0x250a8d(0x453)](this[_0x250a8d(0x23c)][_0x250a8d(0x3e2)][_0x250a8d(0x33e)]()[_0x250a8d(0x3a9)])(_0xc2f658[_0x250a8d(0x358)],null)||_0xc2f658[_0x250a8d(0x358)],_0x1219b0={..._0xc2f658,'mutations':_0x533db9};this[_0x250a8d(0x2a5)](),this[_0x250a8d(0x53e)](this[_0x250a8d(0x2b9)][_0x250a8d(0x2e9)](_0x1219b0)),this[_0x250a8d(0x285)]();}[_0x3b85f3(0x369)](_0x114036){var _0x242a12=_0x3b85f3;this[_0x242a12(0x2a5)](),this['_updateState'](this[_0x242a12(0x2b9)][_0x242a12(0x212)](_0x114036)),this[_0x242a12(0x285)]();}[_0x3b85f3(0x541)](_0x2af852){var _0x934d3a=_0x3b85f3;this[_0x934d3a(0x2a5)](),this[_0x934d3a(0x53e)](this[_0x934d3a(0x2b9)]['onRemoteRej'](_0x2af852)),this[_0x934d3a(0x285)]();}[_0x3b85f3(0x415)](_0x56e151){var _0x2af5fd=_0x3b85f3;this[_0x2af5fd(0x2a5)](),this[_0x2af5fd(0x53e)](this[_0x2af5fd(0x2b9)]['onRemoteRetry'](_0x56e151)),this[_0x2af5fd(0x285)]();}[_0x3b85f3(0x442)](_0x3fef98){var _0x313143=_0x3b85f3;if(!(this[_0x313143(0x2b9)]instanceof _0x330a6c[_0x313143(0x34b)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3912d3=_0x3fef98[_0x313143(0x55e)](_0x53c67c=>{var _0x2fe73a=_0x313143;const _0x1253a7=this[_0x2fe73a(0x23c)][_0x2fe73a(0x3e2)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2fe73a(0x3e2)][_0x2fe73a(0x33e)]()[_0x2fe73a(0x3a9)])(_0x53c67c[_0x2fe73a(0x358)],null)||_0x53c67c[_0x2fe73a(0x358)];return{..._0x53c67c,'mutations':_0x1253a7};});this[_0x313143(0x2a5)](),this[_0x313143(0x53e)](this[_0x313143(0x2b9)][_0x313143(0x534)](_0x3912d3)),this[_0x313143(0x285)]();}[_0x3b85f3(0x319)](){var _0x295277=_0x3b85f3;this[_0x295277(0x2a5)](),this[_0x295277(0x53e)](this[_0x295277(0x2b9)][_0x295277(0x492)]()),this[_0x295277(0x285)]();}['_toggleOnline'](_0x502259=!0x1){var _0x4aa75f=_0x3b85f3;this[_0x4aa75f(0x2a5)](),this[_0x4aa75f(0x53e)](this[_0x4aa75f(0x2b9)][_0x4aa75f(0x553)]()),this[_0x4aa75f(0x285)]();const _0x10bc99=this[_0x4aa75f(0x2b9)];_0x502259&&_0x10bc99 instanceof _0x330a6c[_0x4aa75f(0x2d4)]&&(this[_0x4aa75f(0x2a5)](),this[_0x4aa75f(0x53e)](_0x10bc99[_0x4aa75f(0x348)]()),this[_0x4aa75f(0x285)]());}async['_createInitialState'](){return new Promise(_0x15036b=>{var _0x3dd5c9=_0x222a;this[_0x3dd5c9(0x36b)][_0x3dd5c9(0x301)][_0x3dd5c9(0x341)](_0x26770d[_0x3dd5c9(0x354)](0x1))['subscribe'](async _0x3589d2=>{var _0x244479=_0x3dd5c9;_0x15036b(await this[_0x244479(0x4d2)](_0x3589d2===_0x5c4cf0[_0x244479(0x425)]));});});}[_0x3b85f3(0x390)](){var _0x294869=_0x3b85f3;const _0x13f361=this[_0x294869(0x3be)];return{'onStateChange':(_0x2bea61,_0x331e5c)=>{var _0x3e092a=_0x294869;if(_0x2bea61!==this[_0x3e092a(0x2b9)])throw new Error(_0x3e092a(0x48f)+_0x2bea61[_0x3e092a(0x47c)]+_0x3e092a(0x2db)+_0x331e5c[_0x3e092a(0x47c)]+_0x3e092a(0x55b)+this[_0x3e092a(0x2b9)][_0x3e092a(0x47c)]);this[_0x3e092a(0x53e)](_0x331e5c);},'onSendChangeset':_0xb98d10=>{var _0x16838c=_0x294869;_0xb98d10['sid']||(_0xb98d10[_0x16838c(0x2e7)]=this[_0x16838c(0x49e)],_0xb98d10['reqId']=++this[_0x16838c(0x409)]);const _0x3eeabf={'eventID':_0x94e8ef[_0x16838c(0x22b)][_0x16838c(0x544)],'data':{'unitID':_0xb98d10['unitID'],'unitType':this[_0x16838c(0x30c)],'changeset':_0xb98d10,'memberID':this[_0x16838c(0x36b)]['getMemberID']()}};this[_0x16838c(0x36b)][_0x16838c(0x485)](_0x3eeabf,this['unitID']);},'onMissingChangesets':({from:_0x37aa4a,to:_0x9785ce})=>{var _0x497c43=_0x294869;this[_0x497c43(0x20b)][_0x497c43(0x53f)](_0x497c43(0x31c),_0x497c43(0x261)+_0x37aa4a+_0x497c43(0x2e6)+_0x9785ce);const _0x276525={'eventID':_0x94e8ef[_0x497c43(0x22b)][_0x497c43(0x3a7)],'data':{'unitID':_0x13f361,'unitType':this[_0x497c43(0x30c)],'from':_0x37aa4a,'to':_0x9785ce}};this[_0x497c43(0x36b)]['send'](_0x276525,this[_0x497c43(0x3be)]);}};}async[_0x3b85f3(0x4d2)](_0x104fc3){var _0x5c350f=_0x3b85f3,_0x176f50,_0x6c92ee,_0x621af0;const _0x18a83f=await((_0x176f50=this[_0x5c350f(0x38e)])==null?void 0x0:_0x176f50['loadOfflineData'](this[_0x5c350f(0x3be)])),_0x2a9c5c=(_0x6c92ee=_0x18a83f==null?void 0x0:_0x18a83f[_0x5c350f(0x358)])!=null?_0x6c92ee:[],_0x1f6957=(_0x621af0=_0x18a83f==null?void 0x0:_0x18a83f['awaitingChangeset'])!=null?_0x621af0:null,_0x3334e4=!!(_0x1f6957!=null&&_0x1f6957[_0x5c350f(0x2e7)])&&!!(_0x1f6957!=null&&_0x1f6957[_0x5c350f(0x3ab)]);this[_0x5c350f(0x49e)]=_0x3334e4?_0x1f6957[_0x5c350f(0x2e7)]:_0x94e8ef[_0x5c350f(0x457)](),this['_changesetReqId']=_0x3334e4?_0x1f6957[_0x5c350f(0x3ab)]:0x0;const _0x39f2c2=this['unitID'];try{this['_replayCachedMutations'](_0x1f6957,_0x2a9c5c);}catch(_0x3c18ae){this[_0x5c350f(0x20b)]['error'](_0x3c18ae);}const _0x537b3b=this[_0x5c350f(0x390)]();if(_0x104fc3){const _0xf5d43b=_0x3d585d(this[_0x5c350f(0x53a)],_0x39f2c2,this[_0x5c350f(0x30c)],_0x1f6957,_0x2a9c5c,_0x537b3b);return _0xf5d43b instanceof _0x330a6c[_0x5c350f(0x50f)]?_0xf5d43b[_0x5c350f(0x43e)]():(_0xf5d43b instanceof _0x330a6c[_0x5c350f(0x4fe)]||_0xf5d43b instanceof _0x330a6c[_0x5c350f(0x30b)])&&_0xf5d43b[_0x5c350f(0x3fc)](),_0xf5d43b;}return this[_0x5c350f(0x53a)][_0x5c350f(0x43b)](_0x330a6c[_0x5c350f(0x557)],_0x39f2c2,this[_0x5c350f(0x30c)],_0x1f6957,_0x2a9c5c,_0x537b3b);}[_0x3b85f3(0x38b)](_0x554c47,_0x47096d){var _0x232cae=_0x3b85f3,_0x1c4ed4,_0x4a0473;const _0x379ed9=this[_0x232cae(0x23c)][_0x232cae(0x3e2)][_0x232cae(0x453)](this['_compressMutationService']['interceptor'][_0x232cae(0x33e)]()[_0x232cae(0x3a9)]);(_0x1c4ed4=_0x379ed9((_0x554c47==null?void 0x0:_0x554c47['mutations'])||[],null))==null||_0x1c4ed4[_0x232cae(0x3ae)](_0x3ebac1=>this[_0x232cae(0x440)]['executeCommand'](_0x3ebac1['id'],_0x3ebac1[_0x232cae(0x45a)])),(_0x4a0473=_0x379ed9(_0x47096d||[],null))==null||_0x4a0473['forEach'](_0x16a668=>this['_commandService']['executeCommand'](_0x16a668['id'],_0x16a668['params']));}},_0x330a6c[_0x3b85f3(0x295)]=_0x223caa([_0x132858(0x3,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d['Injector'])),_0x132858(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x50b)])),_0x132858(0x5,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x487)])),_0x132858(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x132858(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x132858(0x8,_0x29f72d['IUniverInstanceService']),_0x132858(0x9,_0x29f72d['ILogService']),_0x132858(0xa,_0x29f72d['ICommandService']),_0x132858(0xb,_0x29f72d['IPermissionService']),_0x132858(0xc,_0x29f72d[_0x3b85f3(0x307)](_0x17abdd)),_0x132858(0xd,_0x29f72d['Optional'](_0x54c85))],_0x330a6c[_0x3b85f3(0x295)]),_0x330a6c[_0x3b85f3(0x242)]=class extends _0x330a6c[_0x3b85f3(0x295)]{constructor(_0x275f4f,_0x36f825,_0x2cf822,_0x2c0ace,_0x47bdbe,_0x199c59,_0x572aa7,_0x1c5ed0,_0x2a809a,_0x59360c,_0x245516,_0xef0d12,_0x2ef881,_0x45ceca){var _0x301367=_0x3b85f3;super(_0x275f4f,_0x2cf822,_0x36f825,_0x2c0ace,_0x47bdbe,_0x199c59,_0x572aa7,_0x1c5ed0,_0x2a809a,_0x59360c,_0x245516,_0xef0d12,_0x2ef881,_0x45ceca),_0x3dafef(this,_0x301367(0x35b),null),(this[_0x301367(0x3be)]=_0x275f4f,this['type']=_0x36f825);}[_0x3b85f3(0x2dc)](_0x54c348){this['_handlerCallback']=_0x54c348;}[_0x3b85f3(0x44d)](){var _0x237aa1=_0x3b85f3;this[_0x237aa1(0x35b)]=null,super[_0x237aa1(0x44d)]();}[_0x3b85f3(0x390)](){var _0x223e31=_0x3b85f3;const _0x4efb3a=super[_0x223e31(0x390)]();return _0x4efb3a[_0x223e31(0x53d)]=_0x199341=>{var _0x43deb1=_0x223e31,_0x4249c5,_0x4ddd37;return(_0x4ddd37=(_0x4249c5=this[_0x43deb1(0x35b)])==null?void 0x0:_0x4249c5[_0x43deb1(0x53d)])==null?void 0x0:_0x4ddd37[_0x43deb1(0x4c4)](_0x4249c5,_0x199341);},_0x4efb3a[_0x223e31(0x27e)]=_0x4feda9=>{var _0x465966=_0x223e31,_0x2570a9,_0x5e7c8d;return(_0x5e7c8d=(_0x2570a9=this['_handlerCallback'])==null?void 0x0:_0x2570a9[_0x465966(0x27e)])==null?void 0x0:_0x5e7c8d[_0x465966(0x4c4)](_0x2570a9,_0x4feda9);},_0x4efb3a[_0x223e31(0x2a0)]=_0x994429=>{var _0x2e8cd4,_0x4cd8bb;return(_0x4cd8bb=(_0x2e8cd4=this['_handlerCallback'])==null?void 0x0:_0x2e8cd4['onTransformSelections'])==null?void 0x0:_0x4cd8bb['call'](_0x2e8cd4,_0x994429);},_0x4efb3a[_0x223e31(0x2b7)]=_0x1228fb=>{var _0x328c57=_0x223e31,_0x2d1eea,_0x28b2fc;return(_0x28b2fc=(_0x2d1eea=this[_0x328c57(0x35b)])==null?void 0x0:_0x2d1eea['onSyncEditingCollabCursor'])==null?void 0x0:_0x28b2fc[_0x328c57(0x4c4)](_0x2d1eea,_0x1228fb);},_0x4efb3a['onTransformRemoteChangesetByIMECache']=_0x3286f3=>{var _0x26b655=_0x223e31,_0x5be22c,_0x55c741,_0x270a45;if(!((_0x5be22c=this['_handlerCallback'])!=null&&_0x5be22c[_0x26b655(0x250)]))throw new Error(_0x26b655(0x438));return(_0x270a45=(_0x55c741=this[_0x26b655(0x35b)])==null?void 0x0:_0x55c741['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x270a45[_0x26b655(0x4c4)](_0x55c741,_0x3286f3);},_0x4efb3a[_0x223e31(0x567)]=_0x34652c=>{var _0x5415a8=_0x223e31,_0x39100e,_0xc0d7af,_0x245d7a;if(!((_0x39100e=this[_0x5415a8(0x35b)])!=null&&_0x39100e[_0x5415a8(0x567)]))throw new Error(_0x5415a8(0x371));return(_0x245d7a=(_0xc0d7af=this['_handlerCallback'])==null?void 0x0:_0xc0d7af[_0x5415a8(0x567)])==null?void 0x0:_0x245d7a[_0x5415a8(0x4c4)](_0xc0d7af,_0x34652c);},_0x4efb3a;}async[_0x3b85f3(0x527)](){var _0x4260e3=_0x3b85f3;const _0x12d0d0=await super[_0x4260e3(0x527)]();return this[_0x4260e3(0x4de)](this['_commandService'][_0x4260e3(0x555)]((_0x2a5f12,_0x5201f7)=>{var _0x29e7a9=_0x4260e3;if(_0x2a5f12['type']!==_0x29f72d[_0x29e7a9(0x46b)]['MUTATION']||_0x5201f7!=null&&_0x5201f7['fromCollab']||_0x5201f7!=null&&_0x5201f7['onlyLocal']||_0x2a5f12['id']===_0x1633c3[_0x29e7a9(0x3e4)]['id'])return;const _0x1547e9=_0x2a5f12['params'];if((_0x1547e9==null?void 0x0:_0x1547e9['unitId'])!==this['unitID'])return;const _0x3eec0c=_0x2a5f12,_0x40c5bf=this[_0x29e7a9(0x23c)]['interceptor'][_0x29e7a9(0x453)](this[_0x29e7a9(0x23c)]['interceptor'][_0x29e7a9(0x33e)]()[_0x29e7a9(0x33b)])([_0x3eec0c],this[_0x29e7a9(0x550)])||[_0x3eec0c];this[_0x29e7a9(0x37a)](_0x40c5bf[0x0]);})),_0x12d0d0;}},_0x330a6c[_0x3b85f3(0x242)]=_0x223caa([_0x132858(0x3,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x132858(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x50b)])),_0x132858(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x487)])),_0x132858(0x6,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x132858(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x132858(0x8,_0x29f72d[_0x3b85f3(0x558)]),_0x132858(0x9,_0x29f72d[_0x3b85f3(0x316)]),_0x132858(0xa,_0x29f72d[_0x3b85f3(0x4f4)]),_0x132858(0xb,_0x29f72d[_0x3b85f3(0x4cc)]),_0x132858(0xc,_0x29f72d['Optional'](_0x17abdd)),_0x132858(0xd,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x242)]),_0x330a6c[_0x3b85f3(0x24e)]=class extends _0x330a6c[_0x3b85f3(0x295)]{constructor(_0x3ad690,_0x1fff01,_0x1de21e,_0x519e4d,_0x1aa317,_0x19f14b,_0x575ff7,_0x106f71,_0x2b1b81,_0x3fd52a,_0x17f86c,_0xef72a6,_0x534683,_0x287a14,_0x4d813b){var _0x1f311e=_0x3b85f3;super(_0x3ad690,_0x1de21e,_0x1fff01,_0x519e4d,_0x1aa317,_0x19f14b,_0x575ff7,_0x2b1b81,_0x3fd52a,_0x17f86c,_0xef72a6,_0x534683,_0x287a14,_0x4d813b),this[_0x1f311e(0x3be)]=_0x3ad690,this[_0x1f311e(0x565)]=_0x1fff01,this[_0x1f311e(0x246)]=_0x106f71;}[_0x3b85f3(0x390)](){var _0x2795a3=_0x3b85f3;const _0x3a276c=super[_0x2795a3(0x390)]();return _0x3a276c[_0x2795a3(0x2a0)]=_0x26f72d=>this[_0x2795a3(0x246)][_0x2795a3(0x2fd)](_0x26f72d),_0x3a276c;}async[_0x3b85f3(0x527)](){var _0x9d10b5=_0x3b85f3;const _0x4d7634=await super[_0x9d10b5(0x527)]();return this['disposeWithMe'](this['_commandService']['onMutationExecutedForCollab']((_0x954333,_0x289888)=>{var _0x2ea9fa=_0x9d10b5;if(_0x954333['type']!==_0x29f72d[_0x2ea9fa(0x46b)][_0x2ea9fa(0x4b4)]||_0x289888!=null&&_0x289888['fromCollab']||_0x289888!=null&&_0x289888[_0x2ea9fa(0x305)])return;const _0x5a2282=_0x954333[_0x2ea9fa(0x45a)];if((_0x5a2282==null?void 0x0:_0x5a2282[_0x2ea9fa(0x2fe)])!==this[_0x2ea9fa(0x3be)])return;const _0x5d2463=_0x954333,_0x156490=this[_0x2ea9fa(0x23c)]['interceptor'][_0x2ea9fa(0x453)](this[_0x2ea9fa(0x23c)]['interceptor'][_0x2ea9fa(0x33e)]()['COMPRESS_MUTATION_SEND'])([_0x5d2463],this[_0x2ea9fa(0x550)])||[_0x5d2463];this[_0x2ea9fa(0x37a)](_0x156490[0x0]);})),_0x4d7634;}},_0x330a6c[_0x3b85f3(0x24e)]=_0x223caa([_0x132858(0x3,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x132858(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x50b)])),_0x132858(0x5,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x487)])),_0x132858(0x6,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x132858(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c[_0x3b85f3(0x4e9)])),_0x132858(0x8,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x132858(0x9,_0x29f72d[_0x3b85f3(0x558)]),_0x132858(0xa,_0x29f72d[_0x3b85f3(0x316)]),_0x132858(0xb,_0x29f72d['ICommandService']),_0x132858(0xc,_0x29f72d[_0x3b85f3(0x4cc)]),_0x132858(0xd,_0x29f72d['Optional'](_0x17abdd)),_0x132858(0xe,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c['SheetCollaborationEntity']);const _0x3f33c3=_0x29f72d['createIdentifier'](_0x3b85f3(0x458));function _0xf5b918(_0x43f3bf){var _0x21f9b3=_0x3b85f3,_0xa9bd09,_0x322472,_0x52f2f4,_0xd4b49a,_0x367037;const _0x172b0a=_0x43f3bf[_0x21f9b3(0x2c0)],_0x4ee94e=JSON[_0x21f9b3(0x2a8)](_0x172b0a);switch(_0x4ee94e[_0x21f9b3(0x21c)]){case _0x8150f7[_0x21f9b3(0x398)]:case _0x8150f7[_0x21f9b3(0x549)]:{const _0x68ec78=_0x4ee94e['infoRsp'];return{..._0x4ee94e,'data':_0x68ec78,'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};}case _0x8150f7[_0x21f9b3(0x225)]:{const _0x236ad2=_0x4ee94e[_0x21f9b3(0x366)];return{..._0x4ee94e,'data':_0x236ad2,'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};}case _0x8150f7[_0x21f9b3(0x535)]:{const _0x333654=_0x4ee94e[_0x21f9b3(0x380)];switch(_0x333654[_0x21f9b3(0x3df)]){case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x4db)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0xa9bd09=_0x333654['permissionRejEvent'])==null?void 0x0:_0xa9bd09['cs']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x3b3)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0x322472=_0x333654[_0x21f9b3(0x51b)])==null?void 0x0:_0x322472['cs']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)]['NEW_CHANGESETS']:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0x52f2f4=_0x333654[_0x21f9b3(0x484)])==null?void 0x0:_0x52f2f4['cs']},'cmd':_0x4ee94e['cmd']};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x446)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0xd4b49a=_0x333654[_0x21f9b3(0x518)])==null?void 0x0:_0xd4b49a['cs']},'cmd':_0x4ee94e['cmd']};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x370)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0x367037=_0x333654['csShouldRetryEvent'])==null?void 0x0:_0x367037['cs']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x472)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x452)]},'cmd':_0x4ee94e['cmd']};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x414)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x55d)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x421)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x23a)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)]['LIVESHARE_NEW_HOST']:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654['liveShareNewHost']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x303)]:case _0x94e8ef['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x2b6)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x4c9)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x441)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x1fd)]:return{..._0x4ee94e,'data':_0x333654,'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x35c)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x3f4)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x2bc)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x46e)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x231)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x2d1)]},'cmd':_0x4ee94e['cmd']};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x2fa)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x48e)]},'cmd':_0x4ee94e['cmd']};default:return _0x4ee94e;}}default:return _0x4ee94e;}}function _0xd85f3a(_0x12ddaf){var _0x427e91=_0x3b85f3;switch(_0x12ddaf['cmd']){case _0x8150f7[_0x427e91(0x398)]:case _0x8150f7['HELLO']:return JSON[_0x427e91(0x3ff)]({'cmd':_0x12ddaf[_0x427e91(0x21c)],'routeKey':_0x12ddaf[_0x427e91(0x4fd)]});case _0x8150f7[_0x427e91(0x45f)]:{let _0x580a36;switch(_0x12ddaf[_0x427e91(0x2c0)][_0x427e91(0x3df)]){case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x472)]:{_0x580a36={'eventID':_0x94e8ef['CollaborationEvent'][_0x427e91(0x472)],'updateCursorEvent':_0x12ddaf[_0x427e91(0x2c0)][_0x427e91(0x2c0)]};break;}case _0x94e8ef[_0x427e91(0x22b)]['USERS_LEAVE']:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x421)],'leaveEvent':_0x12ddaf[_0x427e91(0x2c0)][_0x427e91(0x2c0)]};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x414)]:{_0x580a36={'eventID':_0x94e8ef['CollaborationEvent'][_0x427e91(0x414)],'joinEvent':_0x12ddaf['data'][_0x427e91(0x2c0)]};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x302)]:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x302)],'liveShareNewHost':_0x12ddaf[_0x427e91(0x2c0)]['data']};break;}case _0x94e8ef[_0x427e91(0x22b)]['LIVESHARE_OPERATION']:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x3f8)],'liveShareOperation':_0x12ddaf['data']['data']};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x4c9)]:{_0x580a36={'eventID':_0x94e8ef['CollaborationEvent'][_0x427e91(0x4c9)],'liveShareTerminate':_0x12ddaf[_0x427e91(0x2c0)]['data']};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x32b)]:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x32b)],'liveShareRequestHost':_0x12ddaf[_0x427e91(0x2c0)]['data']};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x303)]:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x303)]};break;}default:_0x580a36={'eventID':_0x12ddaf[_0x427e91(0x2c0)]['eventID']};}return JSON['stringify']({'cmd':_0x12ddaf[_0x427e91(0x21c)],'routeKey':_0x12ddaf[_0x427e91(0x4fd)],'collaMsg':_0x580a36});}case _0x8150f7[_0x427e91(0x225)]:return JSON[_0x427e91(0x3ff)]({'cmd':_0x12ddaf[_0x427e91(0x21c)],'routeKey':_0x12ddaf[_0x427e91(0x4fd)],'joinReq':_0x12ddaf[_0x427e91(0x2c0)]});case _0x8150f7['LEAVE']:return JSON[_0x427e91(0x3ff)]({'cmd':_0x12ddaf['cmd'],'routeKey':_0x12ddaf[_0x427e91(0x4fd)],'leaveReq':_0x12ddaf[_0x427e91(0x2c0)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4f1e6d=Object[_0x3b85f3(0x2e1)],_0x33fc5e=(_0x3a842d,_0x2e75c0,_0x5b5a21,_0xe18a0c)=>{var _0x4b679c=_0x3b85f3;for(var _0x1f6d24=_0xe18a0c>0x1?void 0x0:_0xe18a0c?_0x4f1e6d(_0x2e75c0,_0x5b5a21):_0x2e75c0,_0x10bb8f=_0x3a842d[_0x4b679c(0x24a)]-0x1,_0x19e634;_0x10bb8f>=0x0;_0x10bb8f--)(_0x19e634=_0x3a842d[_0x10bb8f])&&(_0x1f6d24=_0x19e634(_0x1f6d24)||_0x1f6d24);return _0x1f6d24;},_0x5f4063=(_0x1d6069,_0x4c6f14)=>(_0x295fdc,_0x42f910)=>_0x4c6f14(_0x295fdc,_0x42f910,_0x1d6069);const _0x2d9dbe=_0x29f72d[_0x3b85f3(0x3cf)]('univer-pro.collaboration-client-socket-service');function _0x19ffaf(_0x393332,_0x3b5365,_0x2c2a8e){var _0x3411e4=_0x3b85f3;return _0x393332+'/'+_0x3b5365+_0x3411e4(0x526)+_0x2c2a8e+_0x3411e4(0x1e8);}_0x330a6c[_0x3b85f3(0x3c3)]=class extends _0x29f72d['Disposable']{constructor(_0x2c9418,_0x1ba947,_0x242012,_0x325e30,_0x5a37e4){var _0xce47a3=_0x3b85f3;super(),this['_injector']=_0x2c9418,this[_0xce47a3(0x2c1)]=_0x1ba947,this['_configService']=_0x242012,this[_0xce47a3(0x20b)]=_0x325e30,this[_0xce47a3(0x45e)]=_0x5a37e4;}[_0x3b85f3(0x36f)](_0x22c7f5){var _0x25254c=_0x3b85f3;const _0xe18d08=this[_0x25254c(0x53a)][_0x25254c(0x1f8)](_0x59551f[_0x25254c(0x3ed)]);if(!_0xe18d08)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xe6e398=_0xe18d08[_0x25254c(0x4e2)](_0x22c7f5);if(!_0xe6e398)throw new Error(_0x25254c(0x228));const _0x26375=new _0x29f72d[(_0x25254c(0x3d9))](),_0x18bcc1=new _0x26770d[(_0x25254c(0x37c))]();_0x26375[_0x25254c(0x406)](_0xe6e398[_0x25254c(0x524)][_0x25254c(0x255)](_0x27ab30=>_0x18bcc1[_0x25254c(0x4c8)](_0x27ab30))),_0x26375['add'](_0x29f72d[_0x25254c(0x514)](()=>_0x18bcc1['complete']()));const _0x58d10e=new _0x26770d[(_0x25254c(0x37c))]();_0x26375[_0x25254c(0x406)](_0xe6e398[_0x25254c(0x48b)][_0x25254c(0x255)](_0x355ddc=>_0x58d10e[_0x25254c(0x4c8)](_0x355ddc))),_0x26375[_0x25254c(0x406)](_0x29f72d['toDisposable'](()=>_0x58d10e[_0x25254c(0x4ee)]()));const _0x11d176=new _0x26770d['Subject']();_0x26375[_0x25254c(0x406)](_0xe6e398['message$']['subscribe'](_0x2714f6=>{const _0x163e8f=_0xf5b918(_0x2714f6);_0x11d176['next'](_0x163e8f);})),_0x26375[_0x25254c(0x406)](_0x29f72d[_0x25254c(0x514)](()=>_0x11d176[_0x25254c(0x4ee)]()));let _0x501fb7;const _0x4a4eb8=()=>{var _0x42274a=_0x25254c;_0x58d10e[_0x42274a(0x4c8)](new Event('connection\x20error')),_0x18bcc1['next'](new Event('connection\x20error')),_0x501fb7['close']();};return _0x501fb7={'memberID':'','close$':_0x18bcc1['asObservable'](),'error$':_0x58d10e[_0x25254c(0x1fb)](),'open$':_0xe6e398[_0x25254c(0x4ce)],'message$':_0x11d176['asObservable'](),'send':_0x1480b4=>{var _0x599290=_0x25254c;if(_0x1480b4[_0x599290(0x21c)]===_0x8150f7['INGEST']){if(_0x1480b4[_0x599290(0x2c0)][_0x599290(0x3df)]===_0x94e8ef[_0x599290(0x22b)][_0x599290(0x544)]){this[_0x599290(0x1e2)](_0x501fb7,_0x1480b4[_0x599290(0x2c0)])[_0x599290(0x519)](_0x21ec31=>{var _0x395b41=_0x599290;this[_0x395b41(0x20b)][_0x395b41(0x313)](_0x21ec31),_0x4a4eb8();});return;}if(_0x1480b4[_0x599290(0x2c0)]['eventID']===_0x94e8ef[_0x599290(0x22b)][_0x599290(0x3a7)]){const _0x10f2ee=_0x1480b4[_0x599290(0x2c0)];this[_0x599290(0x3d4)](_0x10f2ee)[_0x599290(0x218)](_0x144f89=>{var _0xd5718c=_0x599290;_0x11d176[_0xd5718c(0x4c8)]({'cmd':_0x8150f7['RECV'],'code':_0xb4b847['OK'],'routeKey':_0x10f2ee['data'][_0xd5718c(0x3be)],'routeType':'','data':{'eventID':_0x94e8ef['CollaborationEvent'][_0xd5718c(0x4a5)],'data':{'changesets':_0x144f89}}});})[_0x599290(0x519)](_0x182486=>{var _0x42bb0f=_0x599290;this[_0x42bb0f(0x20b)][_0x42bb0f(0x313)](_0x182486),_0x4a4eb8();});return;}}_0xe6e398['send'](_0xd85f3a(_0x1480b4));},'close':()=>{var _0xce730=_0x25254c;_0xe6e398[_0xce730(0x268)](),_0x26375[_0xce730(0x44d)]();}},_0x501fb7;}async['_submitChangeset'](_0x55c236,_0x1131d0){var _0x36345a=_0x3b85f3,_0x2d98e0;const {unitType:_0x198a71,unitID:_0x5764da,changeset:_0x3cfa51}=_0x1131d0['data'],_0x5a6d71={'unitID':_0x5764da,'memberID':_0x55c236[_0x36345a(0x297)],'type':_0x198a71,'changeset':_0x94e8ef[_0x36345a(0x207)](_0x3cfa51)},_0x4520ae=this[_0x36345a(0x265)][_0x36345a(0x4d4)](_0x54fbde),_0x206f4b=_0x19ffaf((_0x2d98e0=_0x4520ae==null?void 0x0:_0x4520ae[_0x36345a(0x1c6)])!=null?_0x2d98e0:_0x21462f,_0x198a71,_0x5764da);try{await this[_0x36345a(0x2c1)][_0x36345a(0x1fe)](_0x206f4b,{'body':_0x5a6d71});}catch(_0x478e13){throw this['_logService']['error'](_0x36345a(0x495),'submit\x20changeset\x20error!'),_0x478e13;}}async[_0x3b85f3(0x3d4)](_0x12b158){var _0x35fd21=_0x3b85f3;const {unitID:_0x581810,from:_0x429f3d,to:_0x5cdaa5,unitType:_0x4cfd36}=_0x12b158[_0x35fd21(0x2c0)];return(await this[_0x35fd21(0x45e)][_0x35fd21(0x49f)]({'metadata':void 0x0},{'unitID':_0x581810,'type':_0x4cfd36,'from':_0x429f3d,'to':_0x5cdaa5}))['changesets'][_0x35fd21(0x55e)](_0x7aaafa=>((_0x7aaafa[_0x35fd21(0x358)]===null||_0x7aaafa['mutations']===void 0x0)&&(_0x7aaafa[_0x35fd21(0x358)]=[]),_0x7aaafa));}},_0x330a6c['CollaborationSocketService']=_0x33fc5e([_0x5f4063(0x0,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x5f4063(0x1,_0x29f72d['Inject'](_0x59551f[_0x3b85f3(0x2bf)])),_0x5f4063(0x2,_0x29f72d[_0x3b85f3(0x44a)]),_0x5f4063(0x3,_0x29f72d[_0x3b85f3(0x316)]),_0x5f4063(0x4,_0x94e8ef[_0x3b85f3(0x54f)])],_0x330a6c['CollaborationSocketService']);var _0x436279=Object[_0x3b85f3(0x2e1)],_0x15191a=(_0x3f557d,_0x2765f4,_0x2a0493,_0x2c77ad)=>{var _0x2b223a=_0x3b85f3;for(var _0x48aa3c=_0x2c77ad>0x1?void 0x0:_0x2c77ad?_0x436279(_0x2765f4,_0x2a0493):_0x2765f4,_0x5e09ea=_0x3f557d[_0x2b223a(0x24a)]-0x1,_0x5f23b0;_0x5e09ea>=0x0;_0x5e09ea--)(_0x5f23b0=_0x3f557d[_0x5e09ea])&&(_0x48aa3c=_0x5f23b0(_0x48aa3c)||_0x48aa3c);return _0x48aa3c;},_0x1c2159=(_0x4697d4,_0x147d7b)=>(_0x4ff23d,_0x185af3)=>_0x147d7b(_0x4ff23d,_0x185af3,_0x4697d4);_0x330a6c['CollaborationSessionService']=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0x54e77a,_0x3d33d8,_0x2e06f4,_0x5aa53f,_0x491da9,_0x59910f){var _0x389125=_0x3b85f3;super(),_0x3dafef(this,_0x389125(0x493),new _0x26770d[(_0x389125(0x2cc))](void 0x0)),_0x3dafef(this,_0x389125(0x3e5),this[_0x389125(0x493)]['asObservable']()),_0x3dafef(this,_0x389125(0x273),null),_0x3dafef(this,_0x389125(0x1de),new Map()),_0x3dafef(this,_0x389125(0x351),new _0x26770d[(_0x389125(0x2cc))](_0x5c4cf0[_0x389125(0x25e)])),_0x3dafef(this,'status$',this[_0x389125(0x351)]['asObservable']()),_0x3dafef(this,'_socketReady',!0x1),_0x3dafef(this,_0x389125(0x2e5)),_0x3dafef(this,_0x389125(0x3da),0x0),_0x3dafef(this,_0x389125(0x29f)),_0x3dafef(this,_0x389125(0x34d)),(this[_0x389125(0x53a)]=_0x54e77a,this['_logService']=_0x3d33d8,this[_0x389125(0x265)]=_0x2e06f4,this[_0x389125(0x55a)]=_0x5aa53f,this['_collaborationUIEventService']=_0x491da9,this[_0x389125(0x2ec)]=_0x59910f,this[_0x389125(0x4d0)]());}get[_0x3b85f3(0x1e3)](){var _0x3c6a4e=_0x3b85f3;return this[_0x3c6a4e(0x493)]['getValue']();}[_0x3b85f3(0x4d0)](){var _0x30ccef=_0x3b85f3;this[_0x30ccef(0x2ec)]&&this[_0x30ccef(0x4de)](this[_0x30ccef(0x2ec)][_0x30ccef(0x48a)]['subscribe'](_0x29a971=>{var _0x6eeb6a=_0x30ccef;_0x29a971&&!this[_0x6eeb6a(0x1e3)]&&this[_0x6eeb6a(0x1e5)](),_0x29a971||this[_0x6eeb6a(0x300)]();}));}[_0x3b85f3(0x44d)](){var _0x179ba3=_0x3b85f3;super[_0x179ba3(0x44d)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x179ba3(0x1de)][_0x179ba3(0x3ae)](_0x521aa0=>_0x521aa0['dispose']()),this[_0x179ba3(0x1de)][_0x179ba3(0x315)](),this[_0x179ba3(0x351)][_0x179ba3(0x4ee)]();}async[_0x3b85f3(0x214)](_0x4c54a4){var _0x4d4585=_0x3b85f3;if(this[_0x4d4585(0x1de)][_0x4d4585(0x1d6)](_0x4c54a4))return this[_0x4d4585(0x1de)][_0x4d4585(0x1f8)](_0x4c54a4);this[_0x4d4585(0x2a1)]();const _0x3d23a2=this[_0x4d4585(0x53a)]['createInstance'](_0x330a6c[_0x4d4585(0x325)],_0x4c54a4,this[_0x4d4585(0x493)][_0x4d4585(0x1fb)]());return this[_0x4d4585(0x1de)][_0x4d4585(0x2d7)](_0x4c54a4,_0x3d23a2),_0x3d23a2;}[_0x3b85f3(0x21d)](_0x523e06){var _0x2259f6=_0x3b85f3,_0x163c5c;const _0x291153=this[_0x2259f6(0x1de)][_0x2259f6(0x1f8)](_0x523e06);_0x291153&&(this[_0x2259f6(0x1de)][_0x2259f6(0x245)](_0x523e06),_0x291153[_0x2259f6(0x268)]()),this[_0x2259f6(0x1de)][_0x2259f6(0x21a)]||(_0x163c5c=this[_0x2259f6(0x1e3)])==null||_0x163c5c['close']();}[_0x3b85f3(0x1e5)](){var _0x202582=_0x3b85f3;this[_0x202582(0x3da)]=0x0,this[_0x202582(0x3a4)](),this[_0x202582(0x51f)]();}[_0x3b85f3(0x3a4)](){var _0x1f5bfc=_0x3b85f3;this[_0x1f5bfc(0x2e5)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x3b85f3(0x362)](){var _0x599b0b=_0x3b85f3,_0x13a280;const _0x6b73c8=this['_configService'][_0x599b0b(0x4d4)](_0x54fbde),_0xa84f7c=(_0x13a280=_0x6b73c8==null?void 0x0:_0x6b73c8['collabWebSocketUrl'])!=null?_0x13a280:_0xbda5,_0x3d6a32=await this[_0x599b0b(0x55a)]['createSocket'](_0xa84f7c);return this[_0x599b0b(0x273)]=_0x3d6a32,_0x3d6a32;}async[_0x3b85f3(0x2a1)](){var _0x2a1fa3=_0x3b85f3,_0x36b637,_0x2028bf;try{const _0x23f422=(_0x2028bf=(_0x36b637=this[_0x2a1fa3(0x1e3)])!=null?_0x36b637:this[_0x2a1fa3(0x273)])!=null?_0x2028bf:await this[_0x2a1fa3(0x362)]();if(_0x23f422){const _0x2d9d6c=_0x23f422[_0x2a1fa3(0x485)];_0x23f422['send']=_0x7b49ef=>(this[_0x2a1fa3(0x385)](),_0x2d9d6c['apply'](_0x23f422,[_0x7b49ef])),_0x23f422[_0x2a1fa3(0x264)]['subscribe'](_0x1f4796=>this[_0x2a1fa3(0x3e9)](_0x23f422,_0x1f4796)),_0x23f422[_0x2a1fa3(0x48b)][_0x2a1fa3(0x341)](_0x213182[_0x2a1fa3(0x354)](0x1))[_0x2a1fa3(0x255)](_0x37820d=>this[_0x2a1fa3(0x20b)][_0x2a1fa3(0x313)]('[CollaborationSessionService]:\x20socket\x20error',_0x37820d)),_0x23f422[_0x2a1fa3(0x4ce)][_0x2a1fa3(0x341)](_0x213182['take'](0x1))['subscribe'](()=>{var _0x3bdfd9=_0x2a1fa3;this[_0x3bdfd9(0x2f6)](_0x23f422);}),_0x23f422[_0x2a1fa3(0x524)]['pipe'](_0x213182[_0x2a1fa3(0x354)](0x1))['subscribe'](_0x38eb56=>{var _0x432777=_0x2a1fa3;this[_0x432777(0x20b)][_0x432777(0x53f)](_0x432777(0x248),_0x432777(0x236),_0x38eb56),this['_onConnectionFailed']();});}}catch(_0x366526){this['_logService'][_0x2a1fa3(0x313)](_0x366526),this[_0x2a1fa3(0x22a)]();}}[_0x3b85f3(0x2f6)](_0x34beb3){var _0x489091=_0x3b85f3;this['_logService'][_0x489091(0x53f)](_0x489091(0x248),_0x489091(0x4f0)),_0x34beb3['send']({'cmd':_0x8150f7['HELLO']}),this['_rescheduleHeartbeat']();}[_0x3b85f3(0x300)](){var _0x6a419=_0x3b85f3;this[_0x6a419(0x290)]=!0x1,this[_0x6a419(0x273)]=null,this[_0x6a419(0x351)][_0x6a419(0x4c8)](_0x5c4cf0['OFFLINE']),this[_0x6a419(0x493)][_0x6a419(0x4c8)](null),this[_0x6a419(0x318)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0xe80f87=_0x3b85f3,_0x5bdee0;this['_onOffline'](),this[_0xe80f87(0x3da)]<((_0x5bdee0=this['_configService']['getConfig'](_0x48de82))!=null?_0x5bdee0:0x3)?(this[_0xe80f87(0x2ed)][_0xe80f87(0x1d4)]({'id':_0x465567[_0xe80f87(0x41d)]}),this['_tryReconnect']()):this[_0xe80f87(0x2ed)]['emitEvent']({'id':_0x465567[_0xe80f87(0x42f)]});}[_0x3b85f3(0x51f)](){var _0x44fdfd=_0x3b85f3,_0x2fa93b;const _0x59798e=this[_0x44fdfd(0x3da)],_0x108c0e=this[_0x44fdfd(0x265)][_0x44fdfd(0x4d4)](_0x54fbde),_0x4541ee=_0x59798e===0x0?0x0:((_0x2fa93b=_0x108c0e==null?void 0x0:_0x108c0e['retryConnectingInterval'])!=null?_0x2fa93b:0x4e20)*0x2**_0x59798e;this[_0x44fdfd(0x2e5)]=setTimeout(()=>{var _0x5b73d6=_0x44fdfd;clearTimeout(this[_0x5b73d6(0x2e5)]),this[_0x5b73d6(0x2e5)]=null,this[_0x5b73d6(0x2a1)]();},_0x4541ee),this[_0x44fdfd(0x3da)]+=0x1;}[_0x3b85f3(0x3e9)](_0x22a9e8,_0x5adcde){var _0x5f3bac=_0x3b85f3;const {cmd:_0x57346d}=_0x5adcde;_0x57346d===_0x8150f7[_0x5f3bac(0x549)]&&!this['_socketReady']&&(_0x22a9e8[_0x5f3bac(0x297)]=_0x5adcde[_0x5f3bac(0x2c0)][_0x5f3bac(0x297)],this['_socket$'][_0x5f3bac(0x4c8)](_0x22a9e8),this[_0x5f3bac(0x351)][_0x5f3bac(0x4c8)](_0x5c4cf0[_0x5f3bac(0x425)]),this[_0x5f3bac(0x290)]=!0x0,this[_0x5f3bac(0x273)]=null),_0x57346d===_0x8150f7[_0x5f3bac(0x398)]&&this[_0x5f3bac(0x318)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x348a1d=_0x3b85f3,_0x1a1ee3;this['_clearHeartbeatTimer'](),this[_0x348a1d(0x29f)]=setTimeout(()=>this[_0x348a1d(0x24f)](),(_0x1a1ee3=this['_configService'][_0x348a1d(0x4d4)](_0x5559aa))!=null?_0x1a1ee3:0x7530);}[_0x3b85f3(0x24f)](){var _0xeff317=_0x3b85f3;this['_socket']['send']({'cmd':_0x8150f7[_0xeff317(0x398)]}),this[_0xeff317(0x54c)]();}[_0x3b85f3(0x54c)](){var _0x4aeae4=_0x3b85f3,_0x4cb411;this['_timeoutTimer']=setTimeout(()=>this[_0x4aeae4(0x22a)](),(_0x4cb411=this[_0x4aeae4(0x265)][_0x4aeae4(0x4d4)](_0x11fb3c))!=null?_0x4cb411:0x4e20);}[_0x3b85f3(0x22f)](){var _0x2a56a5=_0x3b85f3;this[_0x2a56a5(0x29f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2a56a5(0x29f)]=null);}[_0x3b85f3(0x318)](){var _0x5e02e9=_0x3b85f3;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5e02e9(0x34d)]),this[_0x5e02e9(0x34d)]=null);}},_0x330a6c[_0x3b85f3(0x4ab)]=_0x15191a([_0x1c2159(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x1c2159(0x1,_0x29f72d[_0x3b85f3(0x316)]),_0x1c2159(0x2,_0x29f72d[_0x3b85f3(0x44a)]),_0x1c2159(0x3,_0x2d9dbe),_0x1c2159(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x1c2159(0x5,_0x29f72d[_0x3b85f3(0x307)](_0x3f33c3))],_0x330a6c['CollaborationSessionService']);var _0x355175=Object[_0x3b85f3(0x2e1)],_0xd57e0e=(_0x24c19d,_0x4b83d0,_0xfdc091,_0x15f84e)=>{for(var _0x74c541=_0x15f84e>0x1?void 0x0:_0x15f84e?_0x355175(_0x4b83d0,_0xfdc091):_0x4b83d0,_0x11be24=_0x24c19d['length']-0x1,_0x5324b3;_0x11be24>=0x0;_0x11be24--)(_0x5324b3=_0x24c19d[_0x11be24])&&(_0x74c541=_0x5324b3(_0x74c541)||_0x74c541);return _0x74c541;},_0x348701=(_0x20556d,_0x303dce)=>(_0x592b38,_0x4132a3)=>_0x303dce(_0x592b38,_0x4132a3,_0x20556d);_0x330a6c['CollaborationController']=class extends _0x29f72d['RxDisposable']{constructor(_0x1d3e6f,_0x578104,_0x4c1e34,_0x11b1e9){var _0x2548d=_0x3b85f3,_0x32be37;super(),_0x3dafef(this,'_entities',new Map()),_0x3dafef(this,_0x2548d(0x2d5),new _0x26770d[(_0x2548d(0x37c))]()),_0x3dafef(this,_0x2548d(0x200),this[_0x2548d(0x2d5)][_0x2548d(0x1fb)]()),(this[_0x2548d(0x53a)]=_0x1d3e6f,this[_0x2548d(0x235)]=_0x578104,this[_0x2548d(0x265)]=_0x4c1e34,this[_0x2548d(0x550)]=_0x11b1e9,((_0x32be37=this[_0x2548d(0x265)][_0x2548d(0x4d4)](_0x54fbde))==null?void 0x0:_0x32be37[_0x2548d(0x55c)])!==!0x1&&this[_0x2548d(0x527)]());}[_0x3b85f3(0x44d)](){var _0x47aeac=_0x3b85f3;super['dispose'](),this[_0x47aeac(0x54e)]['forEach'](_0x2777f6=>_0x2777f6[_0x47aeac(0x44d)]()),this[_0x47aeac(0x54e)]['clear']();}[_0x3b85f3(0x416)](_0x30058b){var _0x329c54=_0x3b85f3,_0x50aa3a;return(_0x50aa3a=this[_0x329c54(0x54e)][_0x329c54(0x1f8)](_0x30058b))!=null?_0x50aa3a:null;}['getCollabEntity$'](_0x2663b9){var _0x2852e2=_0x3b85f3;const _0x1a1480=this['getCollabEntity'](_0x2663b9);return _0x1a1480?_0x26770d['of'](_0x1a1480):this[_0x2852e2(0x2d5)]['pipe'](_0x213182[_0x2852e2(0x463)](_0xe44c4d=>_0xe44c4d['unitID']===_0x2663b9));}['readyForCollab'](_0x4354f6){var _0x186b39=_0x3b85f3;return _0x26770d[_0x186b39(0x2a7)](this[_0x186b39(0x468)](_0x4354f6)[_0x186b39(0x341)](_0x213182[_0x186b39(0x55e)](()=>{})));}[_0x3b85f3(0x527)](){var _0x7495a7=_0x3b85f3;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x29f72d[_0x7495a7(0x294)]['UNIVER_SHEET'])[_0x7495a7(0x341)](_0x26770d['takeUntil'](this[_0x7495a7(0x4dc)]),_0x213182[_0x7495a7(0x28b)](0x10))['subscribe'](async _0x3a90cb=>{var _0x136a70=_0x7495a7;const _0x5e93dc=_0x3a90cb[_0x136a70(0x4ba)](),_0x1c3f09=await this[_0x136a70(0x30f)](_0x5e93dc,_0x2da9ac['UNIVER_SHEET']);this[_0x136a70(0x54e)][_0x136a70(0x2d7)](_0x5e93dc,_0x1c3f09);}),this['_univerInstanceService'][_0x7495a7(0x494)](_0x29f72d[_0x7495a7(0x294)][_0x7495a7(0x3ee)])[_0x7495a7(0x341)](_0x26770d[_0x7495a7(0x4bb)](this[_0x7495a7(0x4dc)]),_0x213182[_0x7495a7(0x28b)](0x10))[_0x7495a7(0x341)](_0x213182['filter'](_0x4c4ae6=>!_0x4c4ae6[_0x7495a7(0x4ba)]()[_0x7495a7(0x34c)]('__')))['subscribe'](async _0x196204=>{var _0xaf3bc1=_0x7495a7;const _0x2e8d17=_0x196204['getUnitId'](),_0x556415=await this['_startCollaboration'](_0x2e8d17,_0x2da9ac[_0xaf3bc1(0x3ee)]);this[_0xaf3bc1(0x54e)][_0xaf3bc1(0x2d7)](_0x2e8d17,_0x556415);}),_0x26770d[_0x7495a7(0x1cb)](this[_0x7495a7(0x550)][_0x7495a7(0x2da)](_0x29f72d[_0x7495a7(0x294)][_0x7495a7(0x4be)]),this['_univerInstanceService'][_0x7495a7(0x2da)](_0x29f72d['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0x26770d[_0x7495a7(0x4bb)](this['dispose$']))[_0x7495a7(0x255)](_0x232da8=>{var _0x454d9e=_0x7495a7;const _0x370ddc=_0x232da8[_0x454d9e(0x4ba)](),_0x335e8c=this[_0x454d9e(0x54e)][_0x454d9e(0x1f8)](_0x370ddc);_0x335e8c&&(_0x335e8c[_0x454d9e(0x44d)](),this['_entities'][_0x454d9e(0x245)](_0x370ddc));});}async[_0x3b85f3(0x30f)](_0x83d5f7,_0x2449b9){var _0x2576f5=_0x3b85f3;const _0x103cc0=await this['_collabSessionService']['requireSession'](_0x83d5f7),_0x4c2274=this['_injector'][_0x2576f5(0x43b)](this[_0x2576f5(0x2f9)](_0x2449b9),_0x83d5f7,_0x2449b9,_0x103cc0);return await _0x4c2274[_0x2576f5(0x4e1)](),this[_0x2576f5(0x2d5)]['next'](_0x4c2274),_0x4c2274;}[_0x3b85f3(0x2f9)](_0x2e1d3f){var _0xca1597=_0x3b85f3;switch(_0x2e1d3f){case _0x2da9ac[_0xca1597(0x3ee)]:return _0x330a6c[_0xca1597(0x242)];case _0x2da9ac[_0xca1597(0x4be)]:return _0x330a6c[_0xca1597(0x24e)];default:throw new Error(_0xca1597(0x4e0)+_0x2e1d3f);}}},_0x330a6c[_0x3b85f3(0x2c6)]=_0xd57e0e([_0x348701(0x0,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x348701(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c[_0x3b85f3(0x4ab)])),_0x348701(0x2,_0x29f72d[_0x3b85f3(0x44a)]),_0x348701(0x3,_0x29f72d[_0x3b85f3(0x558)])],_0x330a6c[_0x3b85f3(0x2c6)]);var _0x4183da=Object['getOwnPropertyDescriptor'],_0x1879eb=(_0x41eab4,_0x1fc8cc,_0x43911f,_0xf990fa)=>{var _0x1ab0f4=_0x3b85f3;for(var _0x44b69e=_0xf990fa>0x1?void 0x0:_0xf990fa?_0x4183da(_0x1fc8cc,_0x43911f):_0x1fc8cc,_0xb74885=_0x41eab4[_0x1ab0f4(0x24a)]-0x1,_0x359642;_0xb74885>=0x0;_0xb74885--)(_0x359642=_0x41eab4[_0xb74885])&&(_0x44b69e=_0x359642(_0x44b69e)||_0x44b69e);return _0x44b69e;},_0x1c21d2=(_0x4e7229,_0x1b4120)=>(_0x4d2ce5,_0x102b0b)=>_0x1b4120(_0x4d2ce5,_0x102b0b,_0x4e7229);const _0x5799e1=_0x3b85f3(0x2b0),_0x26fd9f=_0x3b85f3(0x532);let _0x5b598e=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0x3b59e7,_0x78d143){var _0x267652=_0x3b85f3;super(),this[_0x267652(0x550)]=_0x3b59e7,this[_0x267652(0x265)]=_0x78d143,this[_0x267652(0x527)]();}['_init'](){var _0xcfb5ec=_0x3b85f3;this['disposeWithMe'](this['_univerInstanceService'][_0xcfb5ec(0x1d9)][_0xcfb5ec(0x255)](()=>{var _0x2482dc=_0xcfb5ec,_0x328458;const _0x50422b=this[_0x2482dc(0x550)]['getFocusedUnit']();let _0x2fc194=(_0x328458=this['_configService'][_0x2482dc(0x4d4)](_0x5799e1))!=null?_0x328458:_0x26fd9f;_0x50422b instanceof _0x29f72d['Workbook']&&(_0x2fc194=_0x50422b['name']),document[_0x2482dc(0x4b7)]=_0x2fc194;}));}};_0x5b598e=_0x1879eb([_0x1c21d2(0x0,_0x29f72d[_0x3b85f3(0x558)]),_0x1c21d2(0x1,_0x29f72d['IConfigService'])],_0x5b598e);var _0x4872f0=Object[_0x3b85f3(0x2e1)],_0x21913e=(_0x2fa3a7,_0x3ea310,_0x12acca,_0x307a8d)=>{for(var _0x47e745=_0x307a8d>0x1?void 0x0:_0x307a8d?_0x4872f0(_0x3ea310,_0x12acca):_0x3ea310,_0xa9dae=_0x2fa3a7['length']-0x1,_0xe255a7;_0xa9dae>=0x0;_0xa9dae--)(_0xe255a7=_0x2fa3a7[_0xa9dae])&&(_0x47e745=_0xe255a7(_0x47e745)||_0x47e745);return _0x47e745;},_0x1bc03f=(_0x2f79de,_0x5c9e09)=>(_0xe65e15,_0x1ea72d)=>_0x5c9e09(_0xe65e15,_0x1ea72d,_0x2f79de);let _0x3b6ab0=class{constructor(_0xab8c37,_0x1d5e0d,_0x409f9d){var _0x232fa0=_0x3b85f3;this['_configService']=_0xab8c37,this[_0x232fa0(0x2c1)]=_0x1d5e0d,this['localeService']=_0x409f9d,this[_0x232fa0(0x4e1)]();}[_0x3b85f3(0x4e1)](){var _0x4f5b95=_0x3b85f3;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x30ce1f,_0x28e5dc)=>_0x28e5dc(_0x30ce1f)['pipe'](_0x26770d[_0x4f5b95(0x2d8)](async _0x26fd76=>{var _0x4e74b2=_0x4f5b95;const _0x37a6c3=_0x26fd76;if(_0x37a6c3['status']===0x191){if(typeof window>'u')throw new Error(_0x4e74b2(0x556));if(window[_0x4e74b2(0x401)](this[_0x4e74b2(0x3cd)]['t'](_0x4e74b2(0x46f)))){const _0x5bd0e0=window[_0x4e74b2(0x1e0)](window[_0x4e74b2(0x54a)][_0x4e74b2(0x4bd)]);window[_0x4e74b2(0x54a)][_0x4e74b2(0x4bd)]=this['_getLoginPath']()+'?url='+_0x5bd0e0;}}return _0x37a6c3;}))});}[_0x3b85f3(0x467)](){var _0xcfd3dc=_0x3b85f3,_0x24d8d4;const _0x5917ee=this[_0xcfd3dc(0x265)]['getConfig'](_0x54fbde);return(_0x24d8d4=_0x5917ee==null?void 0x0:_0x5917ee[_0xcfd3dc(0x2a3)])!=null?_0x24d8d4:_0x491713;}};_0x3b6ab0=_0x21913e([_0x1bc03f(0x0,_0x29f72d[_0x3b85f3(0x44a)]),_0x1bc03f(0x1,_0x29f72d['Inject'](_0x59551f[_0x3b85f3(0x2bf)])),_0x1bc03f(0x2,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x487)]))],_0x3b6ab0);var _0x2813f5=Object[_0x3b85f3(0x2e1)],_0x1a5c82=(_0x656659,_0x50f34f,_0x531de7,_0xb5855d)=>{for(var _0xc4dc=_0xb5855d>0x1?void 0x0:_0xb5855d?_0x2813f5(_0x50f34f,_0x531de7):_0x50f34f,_0x48016d=_0x656659['length']-0x1,_0x20dda5;_0x48016d>=0x0;_0x48016d--)(_0x20dda5=_0x656659[_0x48016d])&&(_0xc4dc=_0x20dda5(_0xc4dc)||_0xc4dc);return _0xc4dc;},_0x31ebae=(_0x5c360a,_0x107dd2)=>(_0x5542a1,_0x515b42)=>_0x107dd2(_0x5542a1,_0x515b42,_0x5c360a);const _0x4905a4='/universer-api/authz';_0x330a6c[_0x3b85f3(0x568)]=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0xb46e90,_0x19c016){var _0x1a16b6=_0x3b85f3;super(),this[_0x1a16b6(0x360)]=_0xb46e90,this['_configService']=_0x19c016,this[_0x1a16b6(0x523)]();}['_initMergeInterceptor'](){var _0x22d3fe=_0x3b85f3;const _0x209b9f=this;this[_0x22d3fe(0x4de)](this[_0x22d3fe(0x360)][_0x22d3fe(0x1d1)]({'priority':0x3e7,'interceptor':_0x59551f['MergeInterceptorFactory']({'isMatch'(_0x3dc0e9){var _0x5de5a5=_0x22d3fe,_0x1c34b6;if(_0x3dc0e9[_0x5de5a5(0x219)]===_0x5de5a5(0x2d3)&&((_0x1c34b6=_0x3dc0e9['requestParams'])!=null&&_0x1c34b6[_0x5de5a5(0x3fa)])){const {objectID:_0xf86879,objectType:_0x2cea8c}=_0x3dc0e9[_0x5de5a5(0x330)]['body']||{};if(!_0xf86879||_0x2cea8c===void 0x0)return!0x1;const _0x34568c=_0x209b9f[_0x5de5a5(0x49a)]()+'/'+_0x2cea8c+_0x5de5a5(0x4f3)+_0xf86879+_0x5de5a5(0x499);if(_0x3dc0e9['url']===_0x34568c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1424a9){var _0x4c2bc9=_0x22d3fe,_0x39419b;return(_0x39419b=_0x1424a9['requestParams'])==null?void 0x0:_0x39419b[_0x4c2bc9(0x3fa)];},'mergeParamsToRequest'(_0x2ca650,_0x1fe3ff){var _0x2aa24b=_0x22d3fe;const _0x4a65df=_0x209b9f[_0x2aa24b(0x49a)]()+_0x2aa24b(0x54b),_0x3890f5=_0x2ca650[_0x2aa24b(0x46d)]((_0x4fcf63,_0x580421)=>{const {unitID:_0x575e6e,objectID:_0x256d34,objectType:_0x50d2f1,actions:_0x194fee}=_0x580421;return _0x4fcf63[_0x575e6e]||(_0x4fcf63[_0x575e6e]={}),_0x4fcf63[_0x575e6e][_0x256d34]||(_0x4fcf63[_0x575e6e][_0x256d34]={'objectID':_0x256d34,'objectType':_0x50d2f1,'actions':[]}),_0x4fcf63[_0x575e6e][_0x256d34]['actions']['push'](..._0x194fee),_0x4fcf63;},{}),_0x10855d=[];for(const _0x35e08b in _0x3890f5)for(const _0x3b19c3 in _0x3890f5[_0x35e08b]){const {actions:_0x46552e,objectType:_0xbf73}=_0x3890f5[_0x35e08b][_0x3b19c3],_0x2a5fea=[...new Set(_0x46552e)];_0x10855d[_0x2aa24b(0x2cd)]({'unitID':_0x35e08b,'objectID':_0x3b19c3,'objectType':_0xbf73,'actions':_0x2a5fea});}return new _0x59551f[(_0x2aa24b(0x201))]('POST',_0x4a65df,{'headers':_0x1fe3ff['headers'],'withCredentials':_0x1fe3ff[_0x2aa24b(0x500)],'responseType':_0x1fe3ff['responseType'],'body':{'requests':_0x10855d}});}},{'distributeResult'(_0x43d216,_0x581ef3){var _0x4ada30=_0x22d3fe;const {objectActions:_0x459e30}=_0x43d216;return _0x581ef3[_0x4ada30(0x55e)](_0x522873=>{var _0x193186=_0x4ada30;const {unitID:_0x4086eb,objectID:_0xa3ede,actions:_0x5011b7}=_0x522873,_0xdd07a0=_0x459e30[_0x193186(0x229)](_0x28fecc=>_0x28fecc[_0x193186(0x3be)]===_0x4086eb&&_0x28fecc['objectID']===_0xa3ede),_0x4247d1=_0x5011b7['map'](_0xbf3a30=>_0xdd07a0==null?void 0x0:_0xdd07a0[_0x193186(0x29b)][_0x193186(0x229)](_0x370337=>_0x370337['action']===_0xbf3a30))[_0x193186(0x463)](_0x149036=>!!_0x149036);return{'config':_0x522873,'result':{'actions':_0x4247d1,'error':_0x43d216[_0x193186(0x313)]}};});}})}));}['_getAPIPrefixPath'](){var _0x585612=_0x3b85f3,_0x25d947;const _0x132668=this[_0x585612(0x265)][_0x585612(0x4d4)](_0x54fbde);return(_0x25d947=_0x132668==null?void 0x0:_0x132668[_0x585612(0x26f)])!=null?_0x25d947:_0x4905a4;}async[_0x3b85f3(0x444)](_0x468b2b){var _0x545662=_0x3b85f3;const _0x205d39=this['_getAPIPrefixPath']()+'/'+_0x468b2b['objectType']+_0x545662(0x331);return(await this['_HTTPService'][_0x545662(0x1fe)](_0x205d39,{'body':_0x468b2b}))[_0x545662(0x3fa)][_0x545662(0x512)]||'';}async[_0x3b85f3(0x3b4)](_0xf4867e){var _0x3e94da=_0x3b85f3;const _0x5e1d76=this[_0x3e94da(0x49a)]()+'/-/object/list';return(await this[_0x3e94da(0x360)][_0x3e94da(0x1fe)](_0x5e1d76,{'body':_0xf4867e}))['body'][_0x3e94da(0x447)];}async[_0x3b85f3(0x2a4)](_0x38c6fc){var _0x36740b=_0x3b85f3,_0x3f6908,_0x587731;const _0x3bac79=this[_0x36740b(0x49a)]()+'/'+_0x38c6fc[_0x36740b(0x3d7)]+_0x36740b(0x4f3)+_0x38c6fc['objectID'],_0x3de13e=await this[_0x36740b(0x360)][_0x36740b(0x3b0)](_0x3bac79,{'body':_0x38c6fc});if(((_0x587731=(_0x3f6908=_0x3de13e==null?void 0x0:_0x3de13e[_0x36740b(0x3fa)])==null?void 0x0:_0x3f6908[_0x36740b(0x313)])==null?void 0x0:_0x587731[_0x36740b(0x2b2)])!==0x1)throw new Error(_0x36740b(0x42b));}async[_0x3b85f3(0x2a6)](_0x3bb46e){var _0x2b623b=_0x3b85f3;const _0x5e8a24=this[_0x2b623b(0x49a)]()+'/'+_0x3bb46e[_0x2b623b(0x3d7)]+_0x2b623b(0x4f3)+_0x3bb46e[_0x2b623b(0x512)]+_0x2b623b(0x499);return(await this[_0x2b623b(0x360)]['post'](_0x5e8a24,{'body':_0x3bb46e}))['body']['actions'];}async[_0x3b85f3(0x224)](_0x1a2cff){var _0x4f593f=_0x3b85f3;const _0xf96fcc=this[_0x4f593f(0x49a)]()+_0x4f593f(0x54b);return(await this[_0x4f593f(0x360)][_0x4f593f(0x1fe)](_0xf96fcc,{'body':{'requests':_0x1a2cff}}))[_0x4f593f(0x3fa)][_0x4f593f(0x204)];}async[_0x3b85f3(0x2ab)](_0x309721){var _0x11fe19=_0x3b85f3;const _0xff0a60=this[_0x11fe19(0x49a)]()+'/'+_0x309721[_0x11fe19(0x3d7)]+'/role',_0xc387ff=await this[_0x11fe19(0x360)]['post'](_0xff0a60,{'body':_0x309721});return{'roles':_0xc387ff[_0x11fe19(0x3fa)]['roles'],'actions':_0xc387ff[_0x11fe19(0x3fa)][_0x11fe19(0x29b)]};}async[_0x3b85f3(0x2ac)](_0x511566){var _0x3a9190=_0x3b85f3;const _0x437e7d=this[_0x3a9190(0x49a)]()+_0x3a9190(0x1d0);await this['_HTTPService'][_0x3a9190(0x245)](_0x437e7d,{'params':{'collaboratorID':_0x511566[_0x3a9190(0x432)],'objectID':_0x511566[_0x3a9190(0x512)],'unitID':_0x511566[_0x3a9190(0x3be)]}});}async[_0x3b85f3(0x29d)](_0x420abb){var _0x574b2a=_0x3b85f3;const _0x1defd2=this[_0x574b2a(0x49a)]()+_0x574b2a(0x1d0);await this[_0x574b2a(0x360)][_0x574b2a(0x2c4)](_0x1defd2,{'body':_0x420abb});}async['createCollaborator'](_0x477da2){var _0x7fcd3e=_0x3b85f3;const _0x28d7b3=this[_0x7fcd3e(0x49a)]()+_0x7fcd3e(0x1d0);await this[_0x7fcd3e(0x360)]['post'](_0x28d7b3,{'body':_0x477da2});}async[_0x3b85f3(0x3aa)](_0x4014e1){var _0x1ffc74=_0x3b85f3;const _0x548e26=this[_0x1ffc74(0x49a)]()+'/collaborator';return(await this['_HTTPService'][_0x1ffc74(0x1f8)](_0x548e26,{'params':{'objectID':_0x4014e1[_0x1ffc74(0x512)],'unitID':_0x4014e1['unitID']}}))[_0x1ffc74(0x3fa)][_0x1ffc74(0x3fb)];}async[_0x3b85f3(0x237)](_0x2ac32f){var _0x3b1313=_0x3b85f3;const _0xf45729=this['_getAPIPrefixPath']()+_0x3b1313(0x1d0);await this[_0x3b1313(0x360)][_0x3b1313(0x3b0)](_0xf45729,{'body':_0x2ac32f});}},_0x330a6c[_0x3b85f3(0x568)]=_0x1a5c82([_0x31ebae(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x59551f['HTTPService'])),_0x31ebae(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x44a)]))],_0x330a6c[_0x3b85f3(0x568)]);var _0x3b3051=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x38739b(_0x547a7a){var _0x4fc4b9=_0x3b85f3;return _0x547a7a&&_0x547a7a['__esModule']&&Object[_0x4fc4b9(0x387)][_0x4fc4b9(0x451)]['call'](_0x547a7a,'default')?_0x547a7a[_0x4fc4b9(0x37b)]:_0x547a7a;}var _0x1ef8e4={'exports':{}};function _0x2fce9a(_0x5c5f70){var _0x324e68=_0x3b85f3;throw new Error(_0x324e68(0x483)+_0x5c5f70+_0x324e68(0x427));}var _0x162bf4={'exports':{}},_0x1cabf5=_0x162bf4[_0x3b85f3(0x375)],_0x50289d;function _0x19ebea(){var _0x88f2bb=_0x3b85f3;return _0x50289d||(_0x50289d=0x1,function(_0x5494c7,_0x313c14){(function(_0x37b035,_0x404d00){var _0x1b3e60=_0x222a;_0x5494c7[_0x1b3e60(0x375)]=_0x404d00();}(_0x1cabf5,function(){var _0x323056=_0x323056||function(_0xb9a56e,_0x46bacb){var _0x5e08d2=_0x222a,_0x5607de;if(typeof window<'u'&&window['crypto']&&(_0x5607de=window[_0x5e08d2(0x4c5)]),typeof self<'u'&&self['crypto']&&(_0x5607de=self[_0x5e08d2(0x4c5)]),typeof globalThis<'u'&&globalThis[_0x5e08d2(0x4c5)]&&(_0x5607de=globalThis['crypto']),!_0x5607de&&typeof window<'u'&&window[_0x5e08d2(0x434)]&&(_0x5607de=window['msCrypto']),!_0x5607de&&typeof _0x3b3051<'u'&&_0x3b3051[_0x5e08d2(0x4c5)]&&(_0x5607de=_0x3b3051[_0x5e08d2(0x4c5)]),!_0x5607de&&typeof _0x2fce9a==_0x5e08d2(0x35d))try{_0x5607de=require('crypto');}catch{}var _0x57e3b8=function(){var _0x591e85=_0x5e08d2;if(_0x5607de){if(typeof _0x5607de[_0x591e85(0x528)]==_0x591e85(0x35d))try{return _0x5607de[_0x591e85(0x528)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5607de['randomBytes']==_0x591e85(0x35d))try{return _0x5607de[_0x591e85(0x27f)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2c7061=Object[_0x5e08d2(0x444)]||(function(){function _0x581eee(){}return function(_0x5833d6){var _0x227ccb=_0x222a,_0x403c5b;return _0x581eee[_0x227ccb(0x387)]=_0x5833d6,_0x403c5b=new _0x581eee(),_0x581eee[_0x227ccb(0x387)]=null,_0x403c5b;};}()),_0x58adbf={},_0x8b4af8=_0x58adbf[_0x5e08d2(0x563)]={},_0x36169d=_0x8b4af8['Base']=(function(){return{'extend':function(_0x5236eb){var _0x2fb4b1=_0x222a,_0x28ee15=_0x2c7061(this);return _0x5236eb&&_0x28ee15[_0x2fb4b1(0x27b)](_0x5236eb),(!_0x28ee15[_0x2fb4b1(0x451)]('init')||this[_0x2fb4b1(0x4e1)]===_0x28ee15[_0x2fb4b1(0x4e1)])&&(_0x28ee15[_0x2fb4b1(0x4e1)]=function(){var _0x57313a=_0x2fb4b1;_0x28ee15[_0x57313a(0x382)][_0x57313a(0x4e1)][_0x57313a(0x33d)](this,arguments);}),_0x28ee15[_0x2fb4b1(0x4e1)][_0x2fb4b1(0x387)]=_0x28ee15,_0x28ee15['$super']=this,_0x28ee15;},'create':function(){var _0x35b510=_0x222a,_0x27cd9c=this[_0x35b510(0x39f)]();return _0x27cd9c[_0x35b510(0x4e1)][_0x35b510(0x33d)](_0x27cd9c,arguments),_0x27cd9c;},'init':function(){},'mixIn':function(_0x1fd056){var _0x3af7d0=_0x222a;for(var _0x552677 in _0x1fd056)_0x1fd056[_0x3af7d0(0x451)](_0x552677)&&(this[_0x552677]=_0x1fd056[_0x552677]);_0x1fd056['hasOwnProperty'](_0x3af7d0(0x3f5))&&(this['toString']=_0x1fd056[_0x3af7d0(0x3f5)]);},'clone':function(){var _0x829681=_0x222a;return this[_0x829681(0x4e1)][_0x829681(0x387)][_0x829681(0x39f)](this);}};}()),_0x163903=_0x8b4af8[_0x5e08d2(0x2de)]=_0x36169d['extend']({'init':function(_0xfed3e4,_0x5bc518){var _0x20a474=_0x5e08d2;_0xfed3e4=this[_0x20a474(0x30e)]=_0xfed3e4||[],_0x5bc518!=_0x46bacb?this[_0x20a474(0x436)]=_0x5bc518:this[_0x20a474(0x436)]=_0xfed3e4['length']*0x4;},'toString':function(_0x247ef0){var _0x48bc9a=_0x5e08d2;return(_0x247ef0||_0x579188)[_0x48bc9a(0x3ff)](this);},'concat':function(_0xdddebc){var _0x5bb439=_0x5e08d2,_0x1816fa=this[_0x5bb439(0x30e)],_0xdb48d3=_0xdddebc[_0x5bb439(0x30e)],_0x12db2d=this[_0x5bb439(0x436)],_0x1f2083=_0xdddebc[_0x5bb439(0x436)];if(this['clamp'](),_0x12db2d%0x4)for(var _0x4480e8=0x0;_0x4480e8<_0x1f2083;_0x4480e8++){var _0x49a28e=_0xdb48d3[_0x4480e8>>>0x2]>>>0x18-_0x4480e8%0x4*0x8&0xff;_0x1816fa[_0x12db2d+_0x4480e8>>>0x2]|=_0x49a28e<<0x18-(_0x12db2d+_0x4480e8)%0x4*0x8;}else{for(var _0x10e092=0x0;_0x10e092<_0x1f2083;_0x10e092+=0x4)_0x1816fa[_0x12db2d+_0x10e092>>>0x2]=_0xdb48d3[_0x10e092>>>0x2];}return this[_0x5bb439(0x436)]+=_0x1f2083,this;},'clamp':function(){var _0x5882cf=_0x5e08d2,_0xa9a491=this[_0x5882cf(0x30e)],_0x293db6=this[_0x5882cf(0x436)];_0xa9a491[_0x293db6>>>0x2]&=0xffffffff<<0x20-_0x293db6%0x4*0x8,_0xa9a491['length']=_0xb9a56e['ceil'](_0x293db6/0x4);},'clone':function(){var _0x8a7d06=_0x5e08d2,_0x4622ee=_0x36169d['clone']['call'](this);return _0x4622ee[_0x8a7d06(0x30e)]=this[_0x8a7d06(0x30e)]['slice'](0x0),_0x4622ee;},'random':function(_0x3e281d){var _0x234b83=_0x5e08d2;for(var _0x1f52b1=[],_0x2ecbd6=0x0;_0x2ecbd6<_0x3e281d;_0x2ecbd6+=0x4)_0x1f52b1[_0x234b83(0x2cd)](_0x57e3b8());return new _0x163903['init'](_0x1f52b1,_0x3e281d);}}),_0x58404c=_0x58adbf[_0x5e08d2(0x344)]={},_0x579188=_0x58404c[_0x5e08d2(0x41e)]={'stringify':function(_0x2f78af){var _0x4734f9=_0x5e08d2;for(var _0x592818=_0x2f78af[_0x4734f9(0x30e)],_0x3da652=_0x2f78af[_0x4734f9(0x436)],_0x34dd02=[],_0x240794=0x0;_0x240794<_0x3da652;_0x240794++){var _0x3f1bf6=_0x592818[_0x240794>>>0x2]>>>0x18-_0x240794%0x4*0x8&0xff;_0x34dd02[_0x4734f9(0x2cd)]((_0x3f1bf6>>>0x4)[_0x4734f9(0x3f5)](0x10)),_0x34dd02[_0x4734f9(0x2cd)]((_0x3f1bf6&0xf)[_0x4734f9(0x3f5)](0x10));}return _0x34dd02[_0x4734f9(0x320)]('');},'parse':function(_0x599130){var _0x2d903a=_0x5e08d2;for(var _0x4f0a3a=_0x599130[_0x2d903a(0x24a)],_0x40cf60=[],_0x348538=0x0;_0x348538<_0x4f0a3a;_0x348538+=0x2)_0x40cf60[_0x348538>>>0x3]|=parseInt(_0x599130[_0x2d903a(0x36a)](_0x348538,0x2),0x10)<<0x18-_0x348538%0x8*0x4;return new _0x163903[(_0x2d903a(0x4e1))](_0x40cf60,_0x4f0a3a/0x2);}},_0x4ddb5f=_0x58404c[_0x5e08d2(0x1e9)]={'stringify':function(_0x1ab2f5){var _0x229986=_0x5e08d2;for(var _0x3b1f42=_0x1ab2f5['words'],_0x8c448=_0x1ab2f5[_0x229986(0x436)],_0x455039=[],_0x20f3a6=0x0;_0x20f3a6<_0x8c448;_0x20f3a6++){var _0x93c693=_0x3b1f42[_0x20f3a6>>>0x2]>>>0x18-_0x20f3a6%0x4*0x8&0xff;_0x455039[_0x229986(0x2cd)](String[_0x229986(0x1f0)](_0x93c693));}return _0x455039['join']('');},'parse':function(_0x41ac10){var _0x2ef6b3=_0x5e08d2;for(var _0x56bc6c=_0x41ac10[_0x2ef6b3(0x24a)],_0x57df86=[],_0x1f7822=0x0;_0x1f7822<_0x56bc6c;_0x1f7822++)_0x57df86[_0x1f7822>>>0x2]|=(_0x41ac10[_0x2ef6b3(0x3cc)](_0x1f7822)&0xff)<<0x18-_0x1f7822%0x4*0x8;return new _0x163903[(_0x2ef6b3(0x4e1))](_0x57df86,_0x56bc6c);}},_0x357588=_0x58404c[_0x5e08d2(0x286)]={'stringify':function(_0x1974a4){var _0x5f4815=_0x5e08d2;try{return decodeURIComponent(escape(_0x4ddb5f[_0x5f4815(0x3ff)](_0x1974a4)));}catch{throw new Error(_0x5f4815(0x419));}},'parse':function(_0xa6bcb2){var _0x484450=_0x5e08d2;return _0x4ddb5f[_0x484450(0x2a8)](unescape(encodeURIComponent(_0xa6bcb2)));}},_0x403570=_0x8b4af8[_0x5e08d2(0x437)]=_0x36169d[_0x5e08d2(0x39f)]({'reset':function(){var _0x9d569f=_0x5e08d2;this['_data']=new _0x163903[(_0x9d569f(0x4e1))](),this[_0x9d569f(0x2af)]=0x0;},'_append':function(_0x87879c){var _0x5e6dca=_0x5e08d2;typeof _0x87879c==_0x5e6dca(0x2f5)&&(_0x87879c=_0x357588[_0x5e6dca(0x2a8)](_0x87879c)),this[_0x5e6dca(0x465)][_0x5e6dca(0x211)](_0x87879c),this[_0x5e6dca(0x2af)]+=_0x87879c['sigBytes'];},'_process':function(_0x120f6b){var _0x4ad45d=_0x5e08d2,_0x224ca1,_0x49ea53=this['_data'],_0x8a15a7=_0x49ea53[_0x4ad45d(0x30e)],_0x1b52db=_0x49ea53['sigBytes'],_0x21cd5f=this['blockSize'],_0x559a6a=_0x21cd5f*0x4,_0x2a6976=_0x1b52db/_0x559a6a;_0x120f6b?_0x2a6976=_0xb9a56e[_0x4ad45d(0x296)](_0x2a6976):_0x2a6976=_0xb9a56e[_0x4ad45d(0x566)]((_0x2a6976|0x0)-this[_0x4ad45d(0x417)],0x0);var _0x437716=_0x2a6976*_0x21cd5f,_0x449c21=_0xb9a56e['min'](_0x437716*0x4,_0x1b52db);if(_0x437716){for(var _0x108b87=0x0;_0x108b87<_0x437716;_0x108b87+=_0x21cd5f)this[_0x4ad45d(0x547)](_0x8a15a7,_0x108b87);_0x224ca1=_0x8a15a7['splice'](0x0,_0x437716),_0x49ea53['sigBytes']-=_0x449c21;}return new _0x163903[(_0x4ad45d(0x4e1))](_0x224ca1,_0x449c21);},'clone':function(){var _0x50fee0=_0x5e08d2,_0x2f2f59=_0x36169d['clone'][_0x50fee0(0x4c4)](this);return _0x2f2f59[_0x50fee0(0x465)]=this[_0x50fee0(0x465)][_0x50fee0(0x52e)](),_0x2f2f59;},'_minBufferSize':0x0});_0x8b4af8[_0x5e08d2(0x386)]=_0x403570[_0x5e08d2(0x39f)]({'cfg':_0x36169d[_0x5e08d2(0x39f)](),'init':function(_0xffac84){var _0xe50afc=_0x5e08d2;this[_0xe50afc(0x252)]=this['cfg'][_0xe50afc(0x39f)](_0xffac84),this[_0xe50afc(0x1cd)]();},'reset':function(){var _0x2dbbb7=_0x5e08d2;_0x403570[_0x2dbbb7(0x1cd)][_0x2dbbb7(0x4c4)](this),this[_0x2dbbb7(0x208)]();},'update':function(_0x521dd2){var _0xc4056e=_0x5e08d2;return this[_0xc4056e(0x3f6)](_0x521dd2),this[_0xc4056e(0x522)](),this;},'finalize':function(_0x17a1cd){var _0x5166d8=_0x5e08d2;_0x17a1cd&&this[_0x5166d8(0x3f6)](_0x17a1cd);var _0x571a7c=this[_0x5166d8(0x490)]();return _0x571a7c;},'blockSize':0x10,'_createHelper':function(_0x93feec){return function(_0x35e484,_0x5ef4c9){var _0x657b71=_0x222a;return new _0x93feec['init'](_0x5ef4c9)[_0x657b71(0x411)](_0x35e484);};},'_createHmacHelper':function(_0x50aa09){return function(_0x2891aa,_0x12dd01){var _0x35299b=_0x222a;return new _0x145b62[(_0x35299b(0x50a))][(_0x35299b(0x4e1))](_0x50aa09,_0x12dd01)[_0x35299b(0x411)](_0x2891aa);};}});var _0x145b62=_0x58adbf[_0x5e08d2(0x2e0)]={};return _0x58adbf;}(Math);return _0x323056;}));}(_0x162bf4)),_0x162bf4[_0x88f2bb(0x375)];}var _0x2abece={'exports':{}},_0x5215d5=_0x2abece[_0x3b85f3(0x375)],_0x4d3051;function _0x2e66f6(){return _0x4d3051||(_0x4d3051=0x1,function(_0xc10ac8,_0x3f7855){(function(_0x399672,_0x4afc2c){var _0x462db0=_0x222a;_0xc10ac8[_0x462db0(0x375)]=_0x4afc2c(_0x19ebea());}(_0x5215d5,function(_0x44006c){var _0x262d52=_0x222a;return(function(){var _0x5b0d2d=_0x222a,_0x2121b9=_0x44006c,_0x5d4000=_0x2121b9[_0x5b0d2d(0x563)],_0x5c8918=_0x5d4000[_0x5b0d2d(0x2de)],_0x32100c=_0x2121b9[_0x5b0d2d(0x344)];_0x32100c[_0x5b0d2d(0x3e6)]={'stringify':function(_0x338458){var _0x3df0b0=_0x5b0d2d,_0x496170=_0x338458[_0x3df0b0(0x30e)],_0x5dcade=_0x338458[_0x3df0b0(0x436)],_0x12f85d=this['_map'];_0x338458[_0x3df0b0(0x405)]();for(var _0x32f427=[],_0x498e3a=0x0;_0x498e3a<_0x5dcade;_0x498e3a+=0x3)for(var _0x26703d=_0x496170[_0x498e3a>>>0x2]>>>0x18-_0x498e3a%0x4*0x8&0xff,_0x3ce442=_0x496170[_0x498e3a+0x1>>>0x2]>>>0x18-(_0x498e3a+0x1)%0x4*0x8&0xff,_0x4220e1=_0x496170[_0x498e3a+0x2>>>0x2]>>>0x18-(_0x498e3a+0x2)%0x4*0x8&0xff,_0x488d03=_0x26703d<<0x10|_0x3ce442<<0x8|_0x4220e1,_0x265437=0x0;_0x265437<0x4&&_0x498e3a+_0x265437*0.75<_0x5dcade;_0x265437++)_0x32f427[_0x3df0b0(0x2cd)](_0x12f85d[_0x3df0b0(0x475)](_0x488d03>>>0x6*(0x3-_0x265437)&0x3f));var _0x288fa5=_0x12f85d['charAt'](0x40);if(_0x288fa5){for(;_0x32f427[_0x3df0b0(0x24a)]%0x4;)_0x32f427[_0x3df0b0(0x2cd)](_0x288fa5);}return _0x32f427[_0x3df0b0(0x320)]('');},'parse':function(_0x4c2b8d){var _0x40f1a4=_0x5b0d2d,_0x4de124=_0x4c2b8d[_0x40f1a4(0x24a)],_0x178cc1=this[_0x40f1a4(0x205)],_0x114abe=this[_0x40f1a4(0x42a)];if(!_0x114abe){_0x114abe=this[_0x40f1a4(0x42a)]=[];for(var _0x18ce91=0x0;_0x18ce91<_0x178cc1[_0x40f1a4(0x24a)];_0x18ce91++)_0x114abe[_0x178cc1['charCodeAt'](_0x18ce91)]=_0x18ce91;}var _0x51ea0c=_0x178cc1[_0x40f1a4(0x475)](0x40);if(_0x51ea0c){var _0x275ac2=_0x4c2b8d[_0x40f1a4(0x3b1)](_0x51ea0c);_0x275ac2!==-0x1&&(_0x4de124=_0x275ac2);}return _0x5b3e01(_0x4c2b8d,_0x4de124,_0x114abe);},'_map':_0x5b0d2d(0x258)};function _0x5b3e01(_0x2000d1,_0x49c600,_0x570119){var _0x531604=_0x5b0d2d;for(var _0x1c0354=[],_0x32589d=0x0,_0x2f5556=0x0;_0x2f5556<_0x49c600;_0x2f5556++)if(_0x2f5556%0x4){var _0x173fac=_0x570119[_0x2000d1['charCodeAt'](_0x2f5556-0x1)]<<_0x2f5556%0x4*0x2,_0x4a2ba7=_0x570119[_0x2000d1['charCodeAt'](_0x2f5556)]>>>0x6-_0x2f5556%0x4*0x2,_0x56cdd9=_0x173fac|_0x4a2ba7;_0x1c0354[_0x32589d>>>0x2]|=_0x56cdd9<<0x18-_0x32589d%0x4*0x8,_0x32589d++;}return _0x5c8918[_0x531604(0x444)](_0x1c0354,_0x32589d);}}()),_0x44006c[_0x262d52(0x344)][_0x262d52(0x3e6)];}));}(_0x2abece)),_0x2abece['exports'];}var _0x32baeb={'exports':{}},_0x36f18c=_0x32baeb['exports'],_0x20ebf5;function _0x1cda65(){var _0x5e4241=_0x3b85f3;return _0x20ebf5||(_0x20ebf5=0x1,function(_0x3a3739,_0x2571a7){(function(_0x1b5f9f,_0x185d8f){_0x3a3739['exports']=_0x185d8f(_0x19ebea());}(_0x36f18c,function(_0x33656f){var _0x564ae8=_0x222a;return function(_0x3fc3e4){var _0x24e033=_0x222a,_0x10d118=_0x33656f,_0x2f60df=_0x10d118[_0x24e033(0x563)],_0x50105f=_0x2f60df[_0x24e033(0x2de)],_0x533730=_0x2f60df['Hasher'],_0x1ee726=_0x10d118[_0x24e033(0x2e0)],_0x34fd6a=[];(function(){var _0x2093bb=_0x24e033;for(var _0x4b848b=0x0;_0x4b848b<0x40;_0x4b848b++)_0x34fd6a[_0x4b848b]=_0x3fc3e4[_0x2093bb(0x3dc)](_0x3fc3e4[_0x2093bb(0x36c)](_0x4b848b+0x1))*0x100000000|0x0;}());var _0x36c0cc=_0x1ee726[_0x24e033(0x42c)]=_0x533730[_0x24e033(0x39f)]({'_doReset':function(){var _0x435cf8=_0x24e033;this[_0x435cf8(0x2e8)]=new _0x50105f[(_0x435cf8(0x4e1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x104f82,_0x5371e9){var _0x54bbef=_0x24e033;for(var _0x460185=0x0;_0x460185<0x10;_0x460185++){var _0x3c1d59=_0x5371e9+_0x460185,_0x4789ff=_0x104f82[_0x3c1d59];_0x104f82[_0x3c1d59]=(_0x4789ff<<0x8|_0x4789ff>>>0x18)&0xff00ff|(_0x4789ff<<0x18|_0x4789ff>>>0x8)&0xff00ff00;}var _0x2963c2=this['_hash'][_0x54bbef(0x30e)],_0x5efa7c=_0x104f82[_0x5371e9+0x0],_0x316c87=_0x104f82[_0x5371e9+0x1],_0x44ac0b=_0x104f82[_0x5371e9+0x2],_0x4e3a5e=_0x104f82[_0x5371e9+0x3],_0x286b97=_0x104f82[_0x5371e9+0x4],_0x12eda2=_0x104f82[_0x5371e9+0x5],_0x3da290=_0x104f82[_0x5371e9+0x6],_0x1b52d0=_0x104f82[_0x5371e9+0x7],_0x291ea3=_0x104f82[_0x5371e9+0x8],_0x33e7b8=_0x104f82[_0x5371e9+0x9],_0x5a3395=_0x104f82[_0x5371e9+0xa],_0x450eb6=_0x104f82[_0x5371e9+0xb],_0x1c99f0=_0x104f82[_0x5371e9+0xc],_0x27db29=_0x104f82[_0x5371e9+0xd],_0x1cbe5c=_0x104f82[_0x5371e9+0xe],_0xaad0d3=_0x104f82[_0x5371e9+0xf],_0x5aa973=_0x2963c2[0x0],_0x7a1a01=_0x2963c2[0x1],_0x5f4cd3=_0x2963c2[0x2],_0x16907d=_0x2963c2[0x3];_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5efa7c,0x7,_0x34fd6a[0x0]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x316c87,0xc,_0x34fd6a[0x1]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x44ac0b,0x11,_0x34fd6a[0x2]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x4e3a5e,0x16,_0x34fd6a[0x3]),_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x286b97,0x7,_0x34fd6a[0x4]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x12eda2,0xc,_0x34fd6a[0x5]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x3da290,0x11,_0x34fd6a[0x6]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x1b52d0,0x16,_0x34fd6a[0x7]),_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x291ea3,0x7,_0x34fd6a[0x8]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x33e7b8,0xc,_0x34fd6a[0x9]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x5a3395,0x11,_0x34fd6a[0xa]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x450eb6,0x16,_0x34fd6a[0xb]),_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x1c99f0,0x7,_0x34fd6a[0xc]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x27db29,0xc,_0x34fd6a[0xd]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1cbe5c,0x11,_0x34fd6a[0xe]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0xaad0d3,0x16,_0x34fd6a[0xf]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x316c87,0x5,_0x34fd6a[0x10]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x3da290,0x9,_0x34fd6a[0x11]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x450eb6,0xe,_0x34fd6a[0x12]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x5efa7c,0x14,_0x34fd6a[0x13]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x12eda2,0x5,_0x34fd6a[0x14]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x5a3395,0x9,_0x34fd6a[0x15]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0xaad0d3,0xe,_0x34fd6a[0x16]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x286b97,0x14,_0x34fd6a[0x17]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x33e7b8,0x5,_0x34fd6a[0x18]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x1cbe5c,0x9,_0x34fd6a[0x19]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x4e3a5e,0xe,_0x34fd6a[0x1a]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x291ea3,0x14,_0x34fd6a[0x1b]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x27db29,0x5,_0x34fd6a[0x1c]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x44ac0b,0x9,_0x34fd6a[0x1d]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1b52d0,0xe,_0x34fd6a[0x1e]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x1c99f0,0x14,_0x34fd6a[0x1f]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x12eda2,0x4,_0x34fd6a[0x20]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x291ea3,0xb,_0x34fd6a[0x21]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x450eb6,0x10,_0x34fd6a[0x22]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x1cbe5c,0x17,_0x34fd6a[0x23]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x316c87,0x4,_0x34fd6a[0x24]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x286b97,0xb,_0x34fd6a[0x25]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1b52d0,0x10,_0x34fd6a[0x26]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x5a3395,0x17,_0x34fd6a[0x27]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x27db29,0x4,_0x34fd6a[0x28]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x5efa7c,0xb,_0x34fd6a[0x29]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x4e3a5e,0x10,_0x34fd6a[0x2a]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x3da290,0x17,_0x34fd6a[0x2b]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x33e7b8,0x4,_0x34fd6a[0x2c]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x1c99f0,0xb,_0x34fd6a[0x2d]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0xaad0d3,0x10,_0x34fd6a[0x2e]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x44ac0b,0x17,_0x34fd6a[0x2f]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5efa7c,0x6,_0x34fd6a[0x30]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x1b52d0,0xa,_0x34fd6a[0x31]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1cbe5c,0xf,_0x34fd6a[0x32]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x12eda2,0x15,_0x34fd6a[0x33]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x1c99f0,0x6,_0x34fd6a[0x34]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x4e3a5e,0xa,_0x34fd6a[0x35]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x5a3395,0xf,_0x34fd6a[0x36]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x316c87,0x15,_0x34fd6a[0x37]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x291ea3,0x6,_0x34fd6a[0x38]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0xaad0d3,0xa,_0x34fd6a[0x39]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x3da290,0xf,_0x34fd6a[0x3a]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x27db29,0x15,_0x34fd6a[0x3b]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x286b97,0x6,_0x34fd6a[0x3c]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x450eb6,0xa,_0x34fd6a[0x3d]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x44ac0b,0xf,_0x34fd6a[0x3e]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x33e7b8,0x15,_0x34fd6a[0x3f]),_0x2963c2[0x0]=_0x2963c2[0x0]+_0x5aa973|0x0,_0x2963c2[0x1]=_0x2963c2[0x1]+_0x7a1a01|0x0,_0x2963c2[0x2]=_0x2963c2[0x2]+_0x5f4cd3|0x0,_0x2963c2[0x3]=_0x2963c2[0x3]+_0x16907d|0x0;},'_doFinalize':function(){var _0x1fc3eb=_0x24e033,_0xa7657a=this[_0x1fc3eb(0x465)],_0x3758b3=_0xa7657a[_0x1fc3eb(0x30e)],_0x2f97d1=this[_0x1fc3eb(0x2af)]*0x8,_0x1d6756=_0xa7657a[_0x1fc3eb(0x436)]*0x8;_0x3758b3[_0x1d6756>>>0x5]|=0x80<<0x18-_0x1d6756%0x20;var _0x5e8d10=_0x3fc3e4[_0x1fc3eb(0x1f5)](_0x2f97d1/0x100000000),_0xd5f03=_0x2f97d1;_0x3758b3[(_0x1d6756+0x40>>>0x9<<0x4)+0xf]=(_0x5e8d10<<0x8|_0x5e8d10>>>0x18)&0xff00ff|(_0x5e8d10<<0x18|_0x5e8d10>>>0x8)&0xff00ff00,_0x3758b3[(_0x1d6756+0x40>>>0x9<<0x4)+0xe]=(_0xd5f03<<0x8|_0xd5f03>>>0x18)&0xff00ff|(_0xd5f03<<0x18|_0xd5f03>>>0x8)&0xff00ff00,_0xa7657a[_0x1fc3eb(0x436)]=(_0x3758b3['length']+0x1)*0x4,this[_0x1fc3eb(0x522)]();for(var _0x3b92de=this[_0x1fc3eb(0x2e8)],_0x596ba2=_0x3b92de[_0x1fc3eb(0x30e)],_0xf5aa15=0x0;_0xf5aa15<0x4;_0xf5aa15++){var _0x438658=_0x596ba2[_0xf5aa15];_0x596ba2[_0xf5aa15]=(_0x438658<<0x8|_0x438658>>>0x18)&0xff00ff|(_0x438658<<0x18|_0x438658>>>0x8)&0xff00ff00;}return _0x3b92de;},'clone':function(){var _0x126588=_0x24e033,_0x54989b=_0x533730[_0x126588(0x52e)][_0x126588(0x4c4)](this);return _0x54989b[_0x126588(0x2e8)]=this[_0x126588(0x2e8)][_0x126588(0x52e)](),_0x54989b;}});function _0x85e5c7(_0x57ac71,_0x4bbe79,_0x42e61a,_0x59db22,_0x169d7a,_0xa711d2,_0x5d8b1d){var _0xffbd0c=_0x57ac71+(_0x4bbe79&_0x42e61a|~_0x4bbe79&_0x59db22)+_0x169d7a+_0x5d8b1d;return(_0xffbd0c<<_0xa711d2|_0xffbd0c>>>0x20-_0xa711d2)+_0x4bbe79;}function _0x52d114(_0x1ccb0e,_0x105d7d,_0x28ec5b,_0x21f248,_0x1b70f0,_0x3aa496,_0xac5e8){var _0x54e524=_0x1ccb0e+(_0x105d7d&_0x21f248|_0x28ec5b&~_0x21f248)+_0x1b70f0+_0xac5e8;return(_0x54e524<<_0x3aa496|_0x54e524>>>0x20-_0x3aa496)+_0x105d7d;}function _0x9010e8(_0x163121,_0x278a29,_0xceef0,_0x586fc7,_0x4814d2,_0x36e23c,_0x5a09f9){var _0x34097d=_0x163121+(_0x278a29^_0xceef0^_0x586fc7)+_0x4814d2+_0x5a09f9;return(_0x34097d<<_0x36e23c|_0x34097d>>>0x20-_0x36e23c)+_0x278a29;}function _0x267818(_0x459a7c,_0x11f4f8,_0x4fc4cc,_0x418000,_0x3cf0af,_0x4977f9,_0x5341f0){var _0x5eb133=_0x459a7c+(_0x4fc4cc^(_0x11f4f8|~_0x418000))+_0x3cf0af+_0x5341f0;return(_0x5eb133<<_0x4977f9|_0x5eb133>>>0x20-_0x4977f9)+_0x11f4f8;}_0x10d118[_0x24e033(0x42c)]=_0x533730[_0x24e033(0x3bd)](_0x36c0cc),_0x10d118['HmacMD5']=_0x533730['_createHmacHelper'](_0x36c0cc);}(Math),_0x33656f[_0x564ae8(0x42c)];}));}(_0x32baeb)),_0x32baeb[_0x5e4241(0x375)];}var _0x31c94c={'exports':{}},_0x42392e={'exports':{}},_0x4d2944=_0x42392e[_0x3b85f3(0x375)],_0x530498;function _0x5e943a(){return _0x530498||(_0x530498=0x1,function(_0x2228f2,_0x388caa){(function(_0xe664ea,_0x2240d2){var _0xa2c284=_0x222a;_0x2228f2[_0xa2c284(0x375)]=_0x2240d2(_0x19ebea());}(_0x4d2944,function(_0x3431b1){var _0x21d05d=_0x222a;return(function(){var _0x2b1baf=_0x222a,_0x16bd67=_0x3431b1,_0x5cdcc2=_0x16bd67[_0x2b1baf(0x563)],_0x2cf08d=_0x5cdcc2[_0x2b1baf(0x2de)],_0x3a9b9f=_0x5cdcc2[_0x2b1baf(0x386)],_0x3d8d48=_0x16bd67['algo'],_0x2ee788=[],_0x893ed4=_0x3d8d48[_0x2b1baf(0x29a)]=_0x3a9b9f[_0x2b1baf(0x39f)]({'_doReset':function(){var _0x498a7d=_0x2b1baf;this[_0x498a7d(0x2e8)]=new _0x2cf08d[(_0x498a7d(0x4e1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3ec0c4,_0x35cb92){var _0x4f6ea1=_0x2b1baf;for(var _0x46fce0=this[_0x4f6ea1(0x2e8)]['words'],_0x909a99=_0x46fce0[0x0],_0x21aa88=_0x46fce0[0x1],_0x56a76c=_0x46fce0[0x2],_0x1b0ce3=_0x46fce0[0x3],_0x533956=_0x46fce0[0x4],_0x3c7d32=0x0;_0x3c7d32<0x50;_0x3c7d32++){if(_0x3c7d32<0x10)_0x2ee788[_0x3c7d32]=_0x3ec0c4[_0x35cb92+_0x3c7d32]|0x0;else{var _0x7cc118=_0x2ee788[_0x3c7d32-0x3]^_0x2ee788[_0x3c7d32-0x8]^_0x2ee788[_0x3c7d32-0xe]^_0x2ee788[_0x3c7d32-0x10];_0x2ee788[_0x3c7d32]=_0x7cc118<<0x1|_0x7cc118>>>0x1f;}var _0x12d288=(_0x909a99<<0x5|_0x909a99>>>0x1b)+_0x533956+_0x2ee788[_0x3c7d32];_0x3c7d32<0x14?_0x12d288+=(_0x21aa88&_0x56a76c|~_0x21aa88&_0x1b0ce3)+0x5a827999:_0x3c7d32<0x28?_0x12d288+=(_0x21aa88^_0x56a76c^_0x1b0ce3)+0x6ed9eba1:_0x3c7d32<0x3c?_0x12d288+=(_0x21aa88&_0x56a76c|_0x21aa88&_0x1b0ce3|_0x56a76c&_0x1b0ce3)-0x70e44324:_0x12d288+=(_0x21aa88^_0x56a76c^_0x1b0ce3)-0x359d3e2a,_0x533956=_0x1b0ce3,_0x1b0ce3=_0x56a76c,_0x56a76c=_0x21aa88<<0x1e|_0x21aa88>>>0x2,_0x21aa88=_0x909a99,_0x909a99=_0x12d288;}_0x46fce0[0x0]=_0x46fce0[0x0]+_0x909a99|0x0,_0x46fce0[0x1]=_0x46fce0[0x1]+_0x21aa88|0x0,_0x46fce0[0x2]=_0x46fce0[0x2]+_0x56a76c|0x0,_0x46fce0[0x3]=_0x46fce0[0x3]+_0x1b0ce3|0x0,_0x46fce0[0x4]=_0x46fce0[0x4]+_0x533956|0x0;},'_doFinalize':function(){var _0x664fa5=_0x2b1baf,_0x269077=this['_data'],_0x36886e=_0x269077[_0x664fa5(0x30e)],_0x2490af=this[_0x664fa5(0x2af)]*0x8,_0x307a26=_0x269077[_0x664fa5(0x436)]*0x8;return _0x36886e[_0x307a26>>>0x5]|=0x80<<0x18-_0x307a26%0x20,_0x36886e[(_0x307a26+0x40>>>0x9<<0x4)+0xe]=Math[_0x664fa5(0x1f5)](_0x2490af/0x100000000),_0x36886e[(_0x307a26+0x40>>>0x9<<0x4)+0xf]=_0x2490af,_0x269077[_0x664fa5(0x436)]=_0x36886e[_0x664fa5(0x24a)]*0x4,this[_0x664fa5(0x522)](),this['_hash'];},'clone':function(){var _0x181935=_0x2b1baf,_0x53ce43=_0x3a9b9f[_0x181935(0x52e)][_0x181935(0x4c4)](this);return _0x53ce43[_0x181935(0x2e8)]=this[_0x181935(0x2e8)][_0x181935(0x52e)](),_0x53ce43;}});_0x16bd67[_0x2b1baf(0x29a)]=_0x3a9b9f['_createHelper'](_0x893ed4),_0x16bd67[_0x2b1baf(0x35f)]=_0x3a9b9f[_0x2b1baf(0x54d)](_0x893ed4);}()),_0x3431b1[_0x21d05d(0x29a)];}));}(_0x42392e)),_0x42392e['exports'];}var _0x24aa0e={'exports':{}},_0x4c0aee=_0x24aa0e[_0x3b85f3(0x375)],_0x288d21;function _0x5c392a(){var _0x1ae4b0=_0x3b85f3;return _0x288d21||(_0x288d21=0x1,function(_0x326529,_0x3a878e){(function(_0x3992da,_0x45399a){var _0xcce024=_0x222a;_0x326529[_0xcce024(0x375)]=_0x45399a(_0x19ebea());}(_0x4c0aee,function(_0x4ee675){(function(){var _0x48ab55=_0x222a,_0x46c251=_0x4ee675,_0x179650=_0x46c251['lib'],_0x4bbb0f=_0x179650[_0x48ab55(0x511)],_0x9722e8=_0x46c251[_0x48ab55(0x344)],_0x6bc1c8=_0x9722e8[_0x48ab55(0x286)],_0x5e96ce=_0x46c251[_0x48ab55(0x2e0)];_0x5e96ce[_0x48ab55(0x50a)]=_0x4bbb0f[_0x48ab55(0x39f)]({'init':function(_0x59d148,_0x1215a5){var _0x58d232=_0x48ab55;_0x59d148=this[_0x58d232(0x3a8)]=new _0x59d148[(_0x58d232(0x4e1))](),typeof _0x1215a5==_0x58d232(0x2f5)&&(_0x1215a5=_0x6bc1c8[_0x58d232(0x2a8)](_0x1215a5));var _0x7c3b51=_0x59d148[_0x58d232(0x20f)],_0x3d3385=_0x7c3b51*0x4;_0x1215a5['sigBytes']>_0x3d3385&&(_0x1215a5=_0x59d148[_0x58d232(0x411)](_0x1215a5)),_0x1215a5[_0x58d232(0x405)]();for(var _0x32a073=this['_oKey']=_0x1215a5[_0x58d232(0x52e)](),_0x235868=this[_0x58d232(0x4ed)]=_0x1215a5[_0x58d232(0x52e)](),_0x3ffd29=_0x32a073[_0x58d232(0x30e)],_0x23e030=_0x235868['words'],_0x191222=0x0;_0x191222<_0x7c3b51;_0x191222++)_0x3ffd29[_0x191222]^=0x5c5c5c5c,_0x23e030[_0x191222]^=0x36363636;_0x32a073[_0x58d232(0x436)]=_0x235868[_0x58d232(0x436)]=_0x3d3385,this[_0x58d232(0x1cd)]();},'reset':function(){var _0x3d3e4a=_0x48ab55,_0x14a7b9=this['_hasher'];_0x14a7b9[_0x3d3e4a(0x1cd)](),_0x14a7b9['update'](this[_0x3d3e4a(0x4ed)]);},'update':function(_0x4cb2a1){var _0x2ce77a=_0x48ab55;return this[_0x2ce77a(0x3a8)][_0x2ce77a(0x2a4)](_0x4cb2a1),this;},'finalize':function(_0x352084){var _0x3b7d97=_0x48ab55,_0x4dd113=this['_hasher'],_0x2f1a44=_0x4dd113[_0x3b7d97(0x411)](_0x352084);_0x4dd113['reset']();var _0x17689b=_0x4dd113[_0x3b7d97(0x411)](this['_oKey'][_0x3b7d97(0x52e)]()[_0x3b7d97(0x211)](_0x2f1a44));return _0x17689b;}});}());}));}(_0x24aa0e)),_0x24aa0e[_0x1ae4b0(0x375)];}var _0x54368c=_0x31c94c[_0x3b85f3(0x375)],_0x3f6bae;function _0x3e1602(){var _0x38b7fd=_0x3b85f3;return _0x3f6bae||(_0x3f6bae=0x1,function(_0x2c9faa,_0xc4b40d){(function(_0xb92433,_0x484081,_0x54704b){var _0x49a572=_0x222a;_0x2c9faa[_0x49a572(0x375)]=_0x484081(_0x19ebea(),_0x5e943a(),_0x5c392a());}(_0x54368c,function(_0x3feb62){var _0x81d86d=_0x222a;return(function(){var _0xce3477=_0x222a,_0x4e5b45=_0x3feb62,_0x157bf0=_0x4e5b45[_0xce3477(0x563)],_0x7c8e6d=_0x157bf0[_0xce3477(0x511)],_0xdb06d1=_0x157bf0[_0xce3477(0x2de)],_0x5a20db=_0x4e5b45[_0xce3477(0x2e0)],_0x5128e7=_0x5a20db[_0xce3477(0x42c)],_0x4e0f57=_0x5a20db[_0xce3477(0x470)]=_0x7c8e6d[_0xce3477(0x39f)]({'cfg':_0x7c8e6d[_0xce3477(0x39f)]({'keySize':0x80/0x20,'hasher':_0x5128e7,'iterations':0x1}),'init':function(_0x464ada){var _0x499456=_0xce3477;this[_0x499456(0x252)]=this['cfg'][_0x499456(0x39f)](_0x464ada);},'compute':function(_0x2bde7b,_0x444974){var _0x14a63c=_0xce3477;for(var _0x2fede4,_0x87032d=this[_0x14a63c(0x252)],_0x44ad59=_0x87032d[_0x14a63c(0x2fb)][_0x14a63c(0x444)](),_0xebc9bf=_0xdb06d1[_0x14a63c(0x444)](),_0x426143=_0xebc9bf['words'],_0x2c4ae7=_0x87032d['keySize'],_0x14ad5e=_0x87032d[_0x14a63c(0x339)];_0x426143[_0x14a63c(0x24a)]<_0x2c4ae7;){_0x2fede4&&_0x44ad59[_0x14a63c(0x2a4)](_0x2fede4),_0x2fede4=_0x44ad59['update'](_0x2bde7b)[_0x14a63c(0x411)](_0x444974),_0x44ad59[_0x14a63c(0x1cd)]();for(var _0x2be184=0x1;_0x2be184<_0x14ad5e;_0x2be184++)_0x2fede4=_0x44ad59['finalize'](_0x2fede4),_0x44ad59[_0x14a63c(0x1cd)]();_0xebc9bf['concat'](_0x2fede4);}return _0xebc9bf['sigBytes']=_0x2c4ae7*0x4,_0xebc9bf;}});_0x4e5b45[_0xce3477(0x470)]=function(_0x322077,_0x50af01,_0x3eadaa){var _0x39cb1b=_0xce3477;return _0x4e0f57[_0x39cb1b(0x444)](_0x3eadaa)['compute'](_0x322077,_0x50af01);};}()),_0x3feb62[_0x81d86d(0x470)];}));}(_0x31c94c)),_0x31c94c[_0x38b7fd(0x375)];}var _0x2ccee7={'exports':{}},_0x49d383=_0x2ccee7['exports'],_0x37cb56;function _0x3d46bc(){var _0x418fe5=_0x3b85f3;return _0x37cb56||(_0x37cb56=0x1,function(_0x559d1d,_0xe1779a){(function(_0x97fd67,_0x15c185,_0x4524a0){var _0xb16a3=_0x222a;_0x559d1d[_0xb16a3(0x375)]=_0x15c185(_0x19ebea(),_0x3e1602());}(_0x49d383,function(_0x3d1381){var _0x273f8e=_0x222a;_0x3d1381[_0x273f8e(0x563)][_0x273f8e(0x52a)]||function(_0x52daa5){var _0x1c7ee7=_0x273f8e,_0x4be53e=_0x3d1381,_0x16d229=_0x4be53e[_0x1c7ee7(0x563)],_0x5afe0e=_0x16d229['Base'],_0x205607=_0x16d229[_0x1c7ee7(0x2de)],_0xdde14d=_0x16d229[_0x1c7ee7(0x437)],_0x443b58=_0x4be53e[_0x1c7ee7(0x344)];_0x443b58[_0x1c7ee7(0x286)];var _0xfec7f7=_0x443b58[_0x1c7ee7(0x3e6)],_0x4610d5=_0x4be53e['algo'],_0x20a66a=_0x4610d5[_0x1c7ee7(0x470)],_0x27b764=_0x16d229[_0x1c7ee7(0x52a)]=_0xdde14d[_0x1c7ee7(0x39f)]({'cfg':_0x5afe0e['extend'](),'createEncryptor':function(_0x2ec2a4,_0x3e3ed0){var _0x3a9854=_0x1c7ee7;return this[_0x3a9854(0x444)](this[_0x3a9854(0x47a)],_0x2ec2a4,_0x3e3ed0);},'createDecryptor':function(_0x5544a2,_0xce5d6f){var _0xf8f760=_0x1c7ee7;return this[_0xf8f760(0x444)](this[_0xf8f760(0x52b)],_0x5544a2,_0xce5d6f);},'init':function(_0x299def,_0x1aa7b6,_0x269b38){var _0x5296b5=_0x1c7ee7;this[_0x5296b5(0x252)]=this[_0x5296b5(0x252)]['extend'](_0x269b38),this[_0x5296b5(0x51e)]=_0x299def,this['_key']=_0x1aa7b6,this['reset']();},'reset':function(){var _0x4ee7cf=_0x1c7ee7;_0xdde14d[_0x4ee7cf(0x1cd)][_0x4ee7cf(0x4c4)](this),this[_0x4ee7cf(0x208)]();},'process':function(_0x5090db){var _0xc9038=_0x1c7ee7;return this[_0xc9038(0x3f6)](_0x5090db),this['_process']();},'finalize':function(_0x30ec6c){var _0x12377e=_0x1c7ee7;_0x30ec6c&&this[_0x12377e(0x3f6)](_0x30ec6c);var _0x251687=this[_0x12377e(0x490)]();return _0x251687;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2bfbfd(_0x489e18){var _0x1a338e=_0x222a;return typeof _0x489e18==_0x1a338e(0x2f5)?_0x4512f5:_0x505643;}return function(_0x139f32){return{'encrypt':function(_0x1b3e16,_0x414256,_0x52b338){var _0x1adbb3=_0x222a;return _0x2bfbfd(_0x414256)[_0x1adbb3(0x43c)](_0x139f32,_0x1b3e16,_0x414256,_0x52b338);},'decrypt':function(_0x29f3e9,_0x490c72,_0x2e9b24){var _0x2b6fb1=_0x222a;return _0x2bfbfd(_0x490c72)[_0x2b6fb1(0x379)](_0x139f32,_0x29f3e9,_0x490c72,_0x2e9b24);}};};}())});_0x16d229['StreamCipher']=_0x27b764[_0x1c7ee7(0x39f)]({'_doFinalize':function(){var _0x417868=_0x1c7ee7,_0x1f1b34=this[_0x417868(0x522)](!0x0);return _0x1f1b34;},'blockSize':0x1});var _0x36bcb3=_0x4be53e[_0x1c7ee7(0x28e)]={},_0x21bdd1=_0x16d229[_0x1c7ee7(0x538)]=_0x5afe0e[_0x1c7ee7(0x39f)]({'createEncryptor':function(_0x4fa23d,_0x13b503){var _0x1694ca=_0x1c7ee7;return this[_0x1694ca(0x394)]['create'](_0x4fa23d,_0x13b503);},'createDecryptor':function(_0x5b4efc,_0x4f3731){var _0x391f64=_0x1c7ee7;return this[_0x391f64(0x38f)][_0x391f64(0x444)](_0x5b4efc,_0x4f3731);},'init':function(_0x1acbd9,_0x33fff1){var _0xa3fcbd=_0x1c7ee7;this[_0xa3fcbd(0x361)]=_0x1acbd9,this[_0xa3fcbd(0x26b)]=_0x33fff1;}}),_0x2f06e3=_0x36bcb3['CBC']=(function(){var _0x368320=_0x1c7ee7,_0x52a24a=_0x21bdd1[_0x368320(0x39f)]();_0x52a24a[_0x368320(0x394)]=_0x52a24a[_0x368320(0x39f)]({'processBlock':function(_0x758a5c,_0x112459){var _0x337508=_0x368320,_0x506718=this[_0x337508(0x361)],_0x54db51=_0x506718['blockSize'];_0x2b1cdf[_0x337508(0x4c4)](this,_0x758a5c,_0x112459,_0x54db51),_0x506718[_0x337508(0x3b7)](_0x758a5c,_0x112459),this['_prevBlock']=_0x758a5c[_0x337508(0x3db)](_0x112459,_0x112459+_0x54db51);}}),_0x52a24a['Decryptor']=_0x52a24a[_0x368320(0x39f)]({'processBlock':function(_0x3f3260,_0x237f02){var _0x5a7681=_0x368320,_0x1decfa=this['_cipher'],_0x57d210=_0x1decfa['blockSize'],_0x3b5cd4=_0x3f3260['slice'](_0x237f02,_0x237f02+_0x57d210);_0x1decfa[_0x5a7681(0x259)](_0x3f3260,_0x237f02),_0x2b1cdf[_0x5a7681(0x4c4)](this,_0x3f3260,_0x237f02,_0x57d210),this[_0x5a7681(0x27c)]=_0x3b5cd4;}});function _0x2b1cdf(_0x3716a1,_0x3656a9,_0x2f8001){var _0x44ea59=_0x368320,_0x427923,_0x30b60a=this[_0x44ea59(0x26b)];_0x30b60a?(_0x427923=_0x30b60a,this[_0x44ea59(0x26b)]=_0x52daa5):_0x427923=this['_prevBlock'];for(var _0x5e4702=0x0;_0x5e4702<_0x2f8001;_0x5e4702++)_0x3716a1[_0x3656a9+_0x5e4702]^=_0x427923[_0x5e4702];}return _0x52a24a;}()),_0x12addb=_0x4be53e['pad']={},_0xccd6ad=_0x12addb['Pkcs7']={'pad':function(_0x18c213,_0x5c2155){var _0x9844d4=_0x1c7ee7;for(var _0x4fbf32=_0x5c2155*0x4,_0x2a6ecd=_0x4fbf32-_0x18c213[_0x9844d4(0x436)]%_0x4fbf32,_0x2ccd27=_0x2a6ecd<<0x18|_0x2a6ecd<<0x10|_0x2a6ecd<<0x8|_0x2a6ecd,_0x29ba44=[],_0x174aa0=0x0;_0x174aa0<_0x2a6ecd;_0x174aa0+=0x4)_0x29ba44[_0x9844d4(0x2cd)](_0x2ccd27);var _0x3f33e0=_0x205607['create'](_0x29ba44,_0x2a6ecd);_0x18c213[_0x9844d4(0x211)](_0x3f33e0);},'unpad':function(_0x1d835d){var _0x54b0ee=_0x1c7ee7,_0x223cf5=_0x1d835d[_0x54b0ee(0x30e)][_0x1d835d[_0x54b0ee(0x436)]-0x1>>>0x2]&0xff;_0x1d835d['sigBytes']-=_0x223cf5;}};_0x16d229['BlockCipher']=_0x27b764[_0x1c7ee7(0x39f)]({'cfg':_0x27b764[_0x1c7ee7(0x252)][_0x1c7ee7(0x39f)]({'mode':_0x2f06e3,'padding':_0xccd6ad}),'reset':function(){var _0x48155e=_0x1c7ee7,_0x5ba3f0;_0x27b764['reset'][_0x48155e(0x4c4)](this);var _0x5ed6d4=this[_0x48155e(0x252)],_0x44f61c=_0x5ed6d4['iv'],_0x104ef6=_0x5ed6d4['mode'];this[_0x48155e(0x51e)]==this[_0x48155e(0x47a)]?_0x5ba3f0=_0x104ef6[_0x48155e(0x2c3)]:(_0x5ba3f0=_0x104ef6['createDecryptor'],this[_0x48155e(0x417)]=0x1),this[_0x48155e(0x3b6)]&&this[_0x48155e(0x3b6)]['__creator']==_0x5ba3f0?this[_0x48155e(0x3b6)][_0x48155e(0x4e1)](this,_0x44f61c&&_0x44f61c[_0x48155e(0x30e)]):(this[_0x48155e(0x3b6)]=_0x5ba3f0[_0x48155e(0x4c4)](_0x104ef6,this,_0x44f61c&&_0x44f61c['words']),this['_mode'][_0x48155e(0x2aa)]=_0x5ba3f0);},'_doProcessBlock':function(_0x1e2e9b,_0x39e311){var _0x43f6ab=_0x1c7ee7;this[_0x43f6ab(0x3b6)]['processBlock'](_0x1e2e9b,_0x39e311);},'_doFinalize':function(){var _0xce7dce=_0x1c7ee7,_0x478f48,_0x3715f6=this[_0xce7dce(0x252)][_0xce7dce(0x2ae)];return this['_xformMode']==this[_0xce7dce(0x47a)]?(_0x3715f6[_0xce7dce(0x388)](this[_0xce7dce(0x465)],this[_0xce7dce(0x20f)]),_0x478f48=this[_0xce7dce(0x522)](!0x0)):(_0x478f48=this[_0xce7dce(0x522)](!0x0),_0x3715f6['unpad'](_0x478f48)),_0x478f48;},'blockSize':0x80/0x20});var _0x145d08=_0x16d229[_0x1c7ee7(0x327)]=_0x5afe0e[_0x1c7ee7(0x39f)]({'init':function(_0x366964){var _0x2326f5=_0x1c7ee7;this[_0x2326f5(0x27b)](_0x366964);},'toString':function(_0x27b9d6){var _0x5adc3b=_0x1c7ee7;return(_0x27b9d6||this[_0x5adc3b(0x1f3)])[_0x5adc3b(0x3ff)](this);}}),_0x20e429=_0x4be53e[_0x1c7ee7(0x501)]={},_0x598eab=_0x20e429[_0x1c7ee7(0x314)]={'stringify':function(_0x407691){var _0x546ca6=_0x1c7ee7,_0x336458,_0x538513=_0x407691[_0x546ca6(0x21f)],_0x4632dc=_0x407691[_0x546ca6(0x517)];return _0x4632dc?_0x336458=_0x205607[_0x546ca6(0x444)]([0x53616c74,0x65645f5f])[_0x546ca6(0x211)](_0x4632dc)[_0x546ca6(0x211)](_0x538513):_0x336458=_0x538513,_0x336458[_0x546ca6(0x3f5)](_0xfec7f7);},'parse':function(_0x15d01b){var _0x28f446=_0x1c7ee7,_0x2c2ec4,_0x5bc657=_0xfec7f7[_0x28f446(0x2a8)](_0x15d01b),_0x214250=_0x5bc657['words'];return _0x214250[0x0]==0x53616c74&&_0x214250[0x1]==0x65645f5f&&(_0x2c2ec4=_0x205607[_0x28f446(0x444)](_0x214250[_0x28f446(0x3db)](0x2,0x4)),_0x214250[_0x28f446(0x4ca)](0x0,0x4),_0x5bc657[_0x28f446(0x436)]-=0x10),_0x145d08[_0x28f446(0x444)]({'ciphertext':_0x5bc657,'salt':_0x2c2ec4});}},_0x505643=_0x16d229[_0x1c7ee7(0x3a0)]=_0x5afe0e[_0x1c7ee7(0x39f)]({'cfg':_0x5afe0e[_0x1c7ee7(0x39f)]({'format':_0x598eab}),'encrypt':function(_0x2cb55c,_0x37e538,_0x428155,_0x500d33){var _0x5face6=_0x1c7ee7;_0x500d33=this[_0x5face6(0x252)]['extend'](_0x500d33);var _0x4406d2=_0x2cb55c[_0x5face6(0x2c3)](_0x428155,_0x500d33),_0x179cdb=_0x4406d2['finalize'](_0x37e538),_0xb0d1c4=_0x4406d2[_0x5face6(0x252)];return _0x145d08[_0x5face6(0x444)]({'ciphertext':_0x179cdb,'key':_0x428155,'iv':_0xb0d1c4['iv'],'algorithm':_0x2cb55c,'mode':_0xb0d1c4[_0x5face6(0x28e)],'padding':_0xb0d1c4[_0x5face6(0x2ae)],'blockSize':_0x2cb55c[_0x5face6(0x20f)],'formatter':_0x500d33[_0x5face6(0x501)]});},'decrypt':function(_0x12b015,_0x23b0be,_0xa9d37f,_0xe29a7c){var _0x221de7=_0x1c7ee7;_0xe29a7c=this[_0x221de7(0x252)][_0x221de7(0x39f)](_0xe29a7c),_0x23b0be=this[_0x221de7(0x40b)](_0x23b0be,_0xe29a7c[_0x221de7(0x501)]);var _0x1774aa=_0x12b015['createDecryptor'](_0xa9d37f,_0xe29a7c)['finalize'](_0x23b0be[_0x221de7(0x21f)]);return _0x1774aa;},'_parse':function(_0x516f25,_0x719ffb){var _0x454e52=_0x1c7ee7;return typeof _0x516f25=='string'?_0x719ffb[_0x454e52(0x2a8)](_0x516f25,this):_0x516f25;}}),_0x228118=_0x4be53e['kdf']={},_0x1f9e95=_0x228118['OpenSSL']={'execute':function(_0x5d7d1a,_0x293a8e,_0x439de6,_0x24c578,_0x5d8b95){var _0x22c098=_0x1c7ee7;if(_0x24c578||(_0x24c578=_0x205607[_0x22c098(0x1ce)](0x40/0x8)),_0x5d8b95)var _0x10dee6=_0x20a66a['create']({'keySize':_0x293a8e+_0x439de6,'hasher':_0x5d8b95})['compute'](_0x5d7d1a,_0x24c578);else var _0x10dee6=_0x20a66a[_0x22c098(0x444)]({'keySize':_0x293a8e+_0x439de6})[_0x22c098(0x545)](_0x5d7d1a,_0x24c578);var _0x561e3f=_0x205607['create'](_0x10dee6[_0x22c098(0x30e)][_0x22c098(0x3db)](_0x293a8e),_0x439de6*0x4);return _0x10dee6[_0x22c098(0x436)]=_0x293a8e*0x4,_0x145d08['create']({'key':_0x10dee6,'iv':_0x561e3f,'salt':_0x24c578});}},_0x4512f5=_0x16d229[_0x1c7ee7(0x203)]=_0x505643[_0x1c7ee7(0x39f)]({'cfg':_0x505643['cfg'][_0x1c7ee7(0x39f)]({'kdf':_0x1f9e95}),'encrypt':function(_0x4838ac,_0x3aba8b,_0x36d148,_0xcbaafd){var _0x1bd9b5=_0x1c7ee7;_0xcbaafd=this[_0x1bd9b5(0x252)]['extend'](_0xcbaafd);var _0x5c756f=_0xcbaafd['kdf'][_0x1bd9b5(0x412)](_0x36d148,_0x4838ac['keySize'],_0x4838ac[_0x1bd9b5(0x29c)],_0xcbaafd[_0x1bd9b5(0x517)],_0xcbaafd[_0x1bd9b5(0x2fb)]);_0xcbaafd['iv']=_0x5c756f['iv'];var _0x1f1cf7=_0x505643[_0x1bd9b5(0x43c)][_0x1bd9b5(0x4c4)](this,_0x4838ac,_0x3aba8b,_0x5c756f['key'],_0xcbaafd);return _0x1f1cf7[_0x1bd9b5(0x27b)](_0x5c756f),_0x1f1cf7;},'decrypt':function(_0x400e6d,_0x5892fb,_0x54931e,_0x38d831){var _0x410763=_0x1c7ee7;_0x38d831=this['cfg'][_0x410763(0x39f)](_0x38d831),_0x5892fb=this[_0x410763(0x40b)](_0x5892fb,_0x38d831[_0x410763(0x501)]);var _0x4c3048=_0x38d831['kdf'][_0x410763(0x412)](_0x54931e,_0x400e6d[_0x410763(0x21e)],_0x400e6d[_0x410763(0x29c)],_0x5892fb[_0x410763(0x517)],_0x38d831['hasher']);_0x38d831['iv']=_0x4c3048['iv'];var _0xef3df6=_0x505643[_0x410763(0x379)]['call'](this,_0x400e6d,_0x5892fb,_0x4c3048[_0x410763(0x559)],_0x38d831);return _0xef3df6;}});}();}));}(_0x2ccee7)),_0x2ccee7[_0x418fe5(0x375)];}var _0x157c7f=_0x1ef8e4[_0x3b85f3(0x375)],_0x43271c;function _0x1c4b92(){return _0x43271c||(_0x43271c=0x1,function(_0x7f8d19,_0x4952fc){(function(_0xf7aa9b,_0xf4e752,_0x561b37){_0x7f8d19['exports']=_0xf4e752(_0x19ebea(),_0x2e66f6(),_0x1cda65(),_0x3e1602(),_0x3d46bc());}(_0x157c7f,function(_0x3284ca){var _0x137da8=_0x222a;return(function(){var _0x18c2e3=_0x222a,_0x533a94=_0x3284ca,_0x57dc3a=_0x533a94[_0x18c2e3(0x563)],_0x5966a0=_0x57dc3a['BlockCipher'],_0x41700e=_0x533a94['algo'],_0x1834c4=[],_0x536ffc=[],_0x2ea63e=[],_0x5a8b55=[],_0x1da941=[],_0x5f3fc9=[],_0x579f98=[],_0x4bcc3d=[],_0xddfa7d=[],_0x5f4c3a=[];(function(){for(var _0x46256e=[],_0x414521=0x0;_0x414521<0x100;_0x414521++)_0x414521<0x80?_0x46256e[_0x414521]=_0x414521<<0x1:_0x46256e[_0x414521]=_0x414521<<0x1^0x11b;for(var _0x391964=0x0,_0x5abe73=0x0,_0x414521=0x0;_0x414521<0x100;_0x414521++){var _0x1a9478=_0x5abe73^_0x5abe73<<0x1^_0x5abe73<<0x2^_0x5abe73<<0x3^_0x5abe73<<0x4;_0x1a9478=_0x1a9478>>>0x8^_0x1a9478&0xff^0x63,_0x1834c4[_0x391964]=_0x1a9478,_0x536ffc[_0x1a9478]=_0x391964;var _0x9052=_0x46256e[_0x391964],_0x59fc75=_0x46256e[_0x9052],_0x4f307f=_0x46256e[_0x59fc75],_0x12a864=_0x46256e[_0x1a9478]*0x101^_0x1a9478*0x1010100;_0x2ea63e[_0x391964]=_0x12a864<<0x18|_0x12a864>>>0x8,_0x5a8b55[_0x391964]=_0x12a864<<0x10|_0x12a864>>>0x10,_0x1da941[_0x391964]=_0x12a864<<0x8|_0x12a864>>>0x18,_0x5f3fc9[_0x391964]=_0x12a864;var _0x12a864=_0x4f307f*0x1010101^_0x59fc75*0x10001^_0x9052*0x101^_0x391964*0x1010100;_0x579f98[_0x1a9478]=_0x12a864<<0x18|_0x12a864>>>0x8,_0x4bcc3d[_0x1a9478]=_0x12a864<<0x10|_0x12a864>>>0x10,_0xddfa7d[_0x1a9478]=_0x12a864<<0x8|_0x12a864>>>0x18,_0x5f4c3a[_0x1a9478]=_0x12a864,_0x391964?(_0x391964=_0x9052^_0x46256e[_0x46256e[_0x46256e[_0x4f307f^_0x9052]]],_0x5abe73^=_0x46256e[_0x46256e[_0x5abe73]]):_0x391964=_0x5abe73=0x1;}}());var _0x5dbc50=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x301e81=_0x41700e['AES']=_0x5966a0[_0x18c2e3(0x39f)]({'_doReset':function(){var _0x1b047f=_0x18c2e3,_0x14d79f;if(!(this[_0x1b047f(0x1fa)]&&this['_keyPriorReset']===this['_key'])){for(var _0x39e5f3=this[_0x1b047f(0x461)]=this[_0x1b047f(0x420)],_0x577c8c=_0x39e5f3[_0x1b047f(0x30e)],_0x4b0ee9=_0x39e5f3[_0x1b047f(0x436)]/0x4,_0x2ae7e0=this[_0x1b047f(0x1fa)]=_0x4b0ee9+0x6,_0x1e8296=(_0x2ae7e0+0x1)*0x4,_0x4f9ab8=this['_keySchedule']=[],_0x3bdd6b=0x0;_0x3bdd6b<_0x1e8296;_0x3bdd6b++)_0x3bdd6b<_0x4b0ee9?_0x4f9ab8[_0x3bdd6b]=_0x577c8c[_0x3bdd6b]:(_0x14d79f=_0x4f9ab8[_0x3bdd6b-0x1],_0x3bdd6b%_0x4b0ee9?_0x4b0ee9>0x6&&_0x3bdd6b%_0x4b0ee9==0x4&&(_0x14d79f=_0x1834c4[_0x14d79f>>>0x18]<<0x18|_0x1834c4[_0x14d79f>>>0x10&0xff]<<0x10|_0x1834c4[_0x14d79f>>>0x8&0xff]<<0x8|_0x1834c4[_0x14d79f&0xff]):(_0x14d79f=_0x14d79f<<0x8|_0x14d79f>>>0x18,_0x14d79f=_0x1834c4[_0x14d79f>>>0x18]<<0x18|_0x1834c4[_0x14d79f>>>0x10&0xff]<<0x10|_0x1834c4[_0x14d79f>>>0x8&0xff]<<0x8|_0x1834c4[_0x14d79f&0xff],_0x14d79f^=_0x5dbc50[_0x3bdd6b/_0x4b0ee9|0x0]<<0x18),_0x4f9ab8[_0x3bdd6b]=_0x4f9ab8[_0x3bdd6b-_0x4b0ee9]^_0x14d79f);for(var _0x505ac7=this[_0x1b047f(0x1df)]=[],_0x27aa20=0x0;_0x27aa20<_0x1e8296;_0x27aa20++){var _0x3bdd6b=_0x1e8296-_0x27aa20;if(_0x27aa20%0x4)var _0x14d79f=_0x4f9ab8[_0x3bdd6b];else var _0x14d79f=_0x4f9ab8[_0x3bdd6b-0x4];_0x27aa20<0x4||_0x3bdd6b<=0x4?_0x505ac7[_0x27aa20]=_0x14d79f:_0x505ac7[_0x27aa20]=_0x579f98[_0x1834c4[_0x14d79f>>>0x18]]^_0x4bcc3d[_0x1834c4[_0x14d79f>>>0x10&0xff]]^_0xddfa7d[_0x1834c4[_0x14d79f>>>0x8&0xff]]^_0x5f4c3a[_0x1834c4[_0x14d79f&0xff]];}}},'encryptBlock':function(_0x4ff294,_0x2f79dd){var _0xa3737=_0x18c2e3;this[_0xa3737(0x564)](_0x4ff294,_0x2f79dd,this[_0xa3737(0x40c)],_0x2ea63e,_0x5a8b55,_0x1da941,_0x5f3fc9,_0x1834c4);},'decryptBlock':function(_0x1a8420,_0xe337a8){var _0x44b5e1=_0x18c2e3,_0x14c9fb=_0x1a8420[_0xe337a8+0x1];_0x1a8420[_0xe337a8+0x1]=_0x1a8420[_0xe337a8+0x3],_0x1a8420[_0xe337a8+0x3]=_0x14c9fb,this[_0x44b5e1(0x564)](_0x1a8420,_0xe337a8,this[_0x44b5e1(0x1df)],_0x579f98,_0x4bcc3d,_0xddfa7d,_0x5f4c3a,_0x536ffc);var _0x14c9fb=_0x1a8420[_0xe337a8+0x1];_0x1a8420[_0xe337a8+0x1]=_0x1a8420[_0xe337a8+0x3],_0x1a8420[_0xe337a8+0x3]=_0x14c9fb;},'_doCryptBlock':function(_0x3b6ca2,_0xaa2e7d,_0x3e219f,_0x4479f5,_0x3e39a7,_0x36d052,_0x3ca283,_0x48aa6e){var _0x3d0ec5=_0x18c2e3;for(var _0x5e0c62=this[_0x3d0ec5(0x1fa)],_0x4edb66=_0x3b6ca2[_0xaa2e7d]^_0x3e219f[0x0],_0x58a375=_0x3b6ca2[_0xaa2e7d+0x1]^_0x3e219f[0x1],_0x380fd8=_0x3b6ca2[_0xaa2e7d+0x2]^_0x3e219f[0x2],_0x373d89=_0x3b6ca2[_0xaa2e7d+0x3]^_0x3e219f[0x3],_0x107f82=0x4,_0x5db816=0x1;_0x5db816<_0x5e0c62;_0x5db816++){var _0x17e8d8=_0x4479f5[_0x4edb66>>>0x18]^_0x3e39a7[_0x58a375>>>0x10&0xff]^_0x36d052[_0x380fd8>>>0x8&0xff]^_0x3ca283[_0x373d89&0xff]^_0x3e219f[_0x107f82++],_0x323729=_0x4479f5[_0x58a375>>>0x18]^_0x3e39a7[_0x380fd8>>>0x10&0xff]^_0x36d052[_0x373d89>>>0x8&0xff]^_0x3ca283[_0x4edb66&0xff]^_0x3e219f[_0x107f82++],_0xa70611=_0x4479f5[_0x380fd8>>>0x18]^_0x3e39a7[_0x373d89>>>0x10&0xff]^_0x36d052[_0x4edb66>>>0x8&0xff]^_0x3ca283[_0x58a375&0xff]^_0x3e219f[_0x107f82++],_0xad07b4=_0x4479f5[_0x373d89>>>0x18]^_0x3e39a7[_0x4edb66>>>0x10&0xff]^_0x36d052[_0x58a375>>>0x8&0xff]^_0x3ca283[_0x380fd8&0xff]^_0x3e219f[_0x107f82++];_0x4edb66=_0x17e8d8,_0x58a375=_0x323729,_0x380fd8=_0xa70611,_0x373d89=_0xad07b4;}var _0x17e8d8=(_0x48aa6e[_0x4edb66>>>0x18]<<0x18|_0x48aa6e[_0x58a375>>>0x10&0xff]<<0x10|_0x48aa6e[_0x380fd8>>>0x8&0xff]<<0x8|_0x48aa6e[_0x373d89&0xff])^_0x3e219f[_0x107f82++],_0x323729=(_0x48aa6e[_0x58a375>>>0x18]<<0x18|_0x48aa6e[_0x380fd8>>>0x10&0xff]<<0x10|_0x48aa6e[_0x373d89>>>0x8&0xff]<<0x8|_0x48aa6e[_0x4edb66&0xff])^_0x3e219f[_0x107f82++],_0xa70611=(_0x48aa6e[_0x380fd8>>>0x18]<<0x18|_0x48aa6e[_0x373d89>>>0x10&0xff]<<0x10|_0x48aa6e[_0x4edb66>>>0x8&0xff]<<0x8|_0x48aa6e[_0x58a375&0xff])^_0x3e219f[_0x107f82++],_0xad07b4=(_0x48aa6e[_0x373d89>>>0x18]<<0x18|_0x48aa6e[_0x4edb66>>>0x10&0xff]<<0x10|_0x48aa6e[_0x58a375>>>0x8&0xff]<<0x8|_0x48aa6e[_0x380fd8&0xff])^_0x3e219f[_0x107f82++];_0x3b6ca2[_0xaa2e7d]=_0x17e8d8,_0x3b6ca2[_0xaa2e7d+0x1]=_0x323729,_0x3b6ca2[_0xaa2e7d+0x2]=_0xa70611,_0x3b6ca2[_0xaa2e7d+0x3]=_0xad07b4;},'keySize':0x100/0x20});_0x533a94[_0x18c2e3(0x240)]=_0x5966a0['_createHelper'](_0x301e81);}()),_0x3284ca[_0x137da8(0x240)];}));}(_0x1ef8e4)),_0x1ef8e4['exports'];}var _0x3c95e6=_0x1c4b92();const _0x1bb738=_0x38739b(_0x3c95e6);var _0x5edb84=_0x2e66f6();const _0x3167b1=_0x38739b(_0x5edb84);var _0x2e9cda={'exports':{}},_0x1fe925=_0x2e9cda[_0x3b85f3(0x375)],_0x5a0d7d;function _0x278c28(){var _0x585e0c=_0x3b85f3;return _0x5a0d7d||(_0x5a0d7d=0x1,function(_0xd6c0d4,_0x5f3e48){(function(_0x55f7e4,_0x174978){var _0x484e98=_0x222a;_0xd6c0d4[_0x484e98(0x375)]=_0x174978(_0x19ebea());}(_0x1fe925,function(_0x133937){var _0x2cecce=_0x222a;return _0x133937[_0x2cecce(0x344)]['Utf8'];}));}(_0x2e9cda)),_0x2e9cda[_0x585e0c(0x375)];}var _0x16149d=_0x278c28();const _0x3efdfa=_0x38739b(_0x16149d);var _0x118015={'exports':{}},_0x884938=_0x118015[_0x3b85f3(0x375)],_0x4fbab8;function _0x2bc9ad(){return _0x4fbab8||(_0x4fbab8=0x1,function(_0x2ac3aa,_0x34ff57){(function(_0x247d88,_0x4601ff){var _0x2186ae=_0x222a;_0x2ac3aa[_0x2186ae(0x375)]=_0x4601ff(_0x19ebea());}(_0x884938,function(_0x3ea44a){var _0x29a91a=_0x222a;return(function(){var _0x242868=_0x222a;if(typeof ArrayBuffer=='function'){var _0x1633de=_0x3ea44a,_0x565dc8=_0x1633de[_0x242868(0x563)],_0x20c87b=_0x565dc8[_0x242868(0x2de)],_0x4ee913=_0x20c87b[_0x242868(0x4e1)],_0x42ca90=_0x20c87b[_0x242868(0x4e1)]=function(_0x3d9268){var _0x170e2c=_0x242868;if(_0x3d9268 instanceof ArrayBuffer&&(_0x3d9268=new Uint8Array(_0x3d9268)),(_0x3d9268 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3d9268 instanceof Uint8ClampedArray||_0x3d9268 instanceof Int16Array||_0x3d9268 instanceof Uint16Array||_0x3d9268 instanceof Int32Array||_0x3d9268 instanceof Uint32Array||_0x3d9268 instanceof Float32Array||_0x3d9268 instanceof Float64Array)&&(_0x3d9268=new Uint8Array(_0x3d9268[_0x170e2c(0x1d5)],_0x3d9268['byteOffset'],_0x3d9268[_0x170e2c(0x39c)])),_0x3d9268 instanceof Uint8Array){for(var _0x20285b=_0x3d9268[_0x170e2c(0x39c)],_0x118fd1=[],_0x1c420a=0x0;_0x1c420a<_0x20285b;_0x1c420a++)_0x118fd1[_0x1c420a>>>0x2]|=_0x3d9268[_0x1c420a]<<0x18-_0x1c420a%0x4*0x8;_0x4ee913[_0x170e2c(0x4c4)](this,_0x118fd1,_0x20285b);}else _0x4ee913[_0x170e2c(0x33d)](this,arguments);};_0x42ca90['prototype']=_0x20c87b;}}()),_0x3ea44a[_0x29a91a(0x563)][_0x29a91a(0x2de)];}));}(_0x118015)),_0x118015['exports'];}var _0x224c0a=_0x2bc9ad();const _0xa0bdb4=_0x38739b(_0x224c0a);var _0x22b5ef={'exports':{}},_0x51afdd=_0x22b5ef[_0x3b85f3(0x375)],_0x87d13e;function _0x2149ce(){return _0x87d13e||(_0x87d13e=0x1,function(_0x567dd8,_0x10f3dc){(function(_0xaeb5e,_0x4e487f,_0x2d4b51){var _0x4a3e8f=_0x222a;_0x567dd8[_0x4a3e8f(0x375)]=_0x4e487f(_0x19ebea(),_0x3d46bc());}(_0x51afdd,function(_0x44352c){var _0x587127=_0x222a;return _0x44352c[_0x587127(0x388)][_0x587127(0x3c7)]={'pad':function(){},'unpad':function(){}},_0x44352c[_0x587127(0x388)][_0x587127(0x3c7)];}));}(_0x22b5ef)),_0x22b5ef['exports'];}var _0x22d3f2=_0x2149ce();const _0x5d316c=_0x38739b(_0x22d3f2);function _0x1dfed0(_0x2a40be,_0x2daf17){var _0x135bb6=_0x3b85f3;const _0x4be0cb=_0x2daf17-_0x2a40be[_0x135bb6(0x24a)]%_0x2daf17,_0x351c2d=String[_0x135bb6(0x1f0)](_0x4be0cb)[_0x135bb6(0x2b5)](_0x4be0cb);return _0x2a40be+_0x351c2d;}function _0x358c2d(_0x7b19d4,_0x1b3178){var _0x431573=_0x3b85f3;const _0x4b8ab4=_0xa0bdb4[_0x431573(0x1ce)](0x10),_0x454ed6=_0x1dfed0(_0x7b19d4,0x10),_0x4fcc7c=_0x1bb738[_0x431573(0x43c)](_0x3efdfa[_0x431573(0x2a8)](_0x454ed6),_0x3167b1[_0x431573(0x2a8)](_0x1b3178),{'iv':_0x4b8ab4,'padding':_0x5d316c});return _0x4b8ab4[_0x431573(0x211)](_0x4fcc7c[_0x431573(0x21f)])['toString'](_0x3167b1);}function _0xb18fef(){var _0x3bb680=_0x3b85f3;const _0x203b4d=_0x136827[_0x3bb680(0x270)]()[_0x3bb680(0x335)];if(_0x203b4d){const _0x4d9f40={'time':Math[_0x3bb680(0x1f5)](Date[_0x3bb680(0x202)]()/0x3e8),'domain':location[_0x3bb680(0x449)]};return _0x358c2d(JSON[_0x3bb680(0x3ff)](_0x4d9f40),_0x203b4d);}}var _0x593f97=Object[_0x3b85f3(0x2e1)],_0x45c140=(_0x218f9f,_0x12577b,_0x1ed4fa,_0x7d7e33)=>{var _0x30c7f3=_0x3b85f3;for(var _0x2dbf93=_0x7d7e33>0x1?void 0x0:_0x7d7e33?_0x593f97(_0x12577b,_0x1ed4fa):_0x12577b,_0x4e8f1e=_0x218f9f[_0x30c7f3(0x24a)]-0x1,_0x174d73;_0x4e8f1e>=0x0;_0x4e8f1e--)(_0x174d73=_0x218f9f[_0x4e8f1e])&&(_0x2dbf93=_0x174d73(_0x2dbf93)||_0x2dbf93);return _0x2dbf93;},_0x2f96c0=(_0x11d4b5,_0x34ffaa)=>(_0x26eb08,_0x28e422)=>_0x34ffaa(_0x26eb08,_0x28e422,_0x11d4b5);let _0x5d8493=class{constructor(_0x2914ef){var _0x3ff499=_0x3b85f3;this[_0x3ff499(0x2c1)]=_0x2914ef,this[_0x3ff499(0x306)]();}[_0x3b85f3(0x306)](){var _0x195a0d=_0x3b85f3;this[_0x195a0d(0x2c1)][_0x195a0d(0x1d1)]({'interceptor':(_0x38ef2b,_0x1d615e)=>{var _0x422526=_0x195a0d;const _0x698743=_0x38ef2b[_0x422526(0x20d)],_0x16667a=_0xb18fef();return _0x16667a&&_0x698743[_0x422526(0x2d7)]('x-univer-host',_0x16667a),_0x1d615e(_0x38ef2b);}});}};_0x5d8493=_0x45c140([_0x2f96c0(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x59551f['HTTPService']))],_0x5d8493);var _0x31b70f=Object[_0x3b85f3(0x2e1)],_0x4b9bdb=(_0x58105d,_0x7fe5fc,_0x5dcba3,_0x2359cc)=>{var _0x211969=_0x3b85f3;for(var _0x4816be=_0x2359cc>0x1?void 0x0:_0x2359cc?_0x31b70f(_0x7fe5fc,_0x5dcba3):_0x7fe5fc,_0x3513ed=_0x58105d[_0x211969(0x24a)]-0x1,_0x1dc613;_0x3513ed>=0x0;_0x3513ed--)(_0x1dc613=_0x58105d[_0x3513ed])&&(_0x4816be=_0x1dc613(_0x4816be)||_0x4816be);return _0x4816be;},_0x501eef=(_0x486fd6,_0x3ff71a)=>(_0x1d553b,_0xcd4849)=>_0x3ff71a(_0x1d553b,_0xcd4849,_0x486fd6);_0x330a6c[_0x3b85f3(0x569)]=class extends _0x29f72d['RxDisposable']{constructor(_0x36a3e9,_0x16abba,_0x569905){var _0x35f302=_0x3b85f3;super(),_0x3dafef(this,_0x35f302(0x4c6),new _0x26770d[(_0x35f302(0x2cc))](null)),_0x3dafef(this,_0x35f302(0x278),this[_0x35f302(0x4c6)][_0x35f302(0x1fb)]()),(this['_logService']=_0x36a3e9,this[_0x35f302(0x20c)]=_0x16abba,this[_0x35f302(0x38e)]=_0x569905);}async[_0x3b85f3(0x37e)](_0x56346b,_0x505801,_0x231d6b){var _0x401afe=_0x3b85f3;this[_0x401afe(0x4c6)]['next']({'unitId':_0x56346b,'type':_0x505801});let _0x5d3b2f=null;switch(_0x505801){case _0x2da9ac[_0x401afe(0x4be)]:{_0x5d3b2f=await this[_0x401afe(0x20c)][_0x401afe(0x536)](_0x56346b,_0x231d6b);break;}case _0x2da9ac[_0x401afe(0x3ee)]:{_0x5d3b2f=await this[_0x401afe(0x20c)][_0x401afe(0x3fe)](_0x56346b,_0x231d6b);break;}default:{this[_0x401afe(0x20b)][_0x401afe(0x313)](_0x401afe(0x4b8),_0x401afe(0x27d));break;}}return _0x5d3b2f;}async[_0x3b85f3(0x3dd)](_0x19319c,_0x30a659,_0x391d50){var _0x2dbb13=_0x3b85f3,_0x257507;this[_0x2dbb13(0x4c6)]['next']({'unitId':_0x19319c,'type':_0x30a659,'subUnitId':_0x391d50});let _0x3d3f4f=0x0;const _0x1a926c=await((_0x257507=this[_0x2dbb13(0x38e)])==null?void 0x0:_0x257507[_0x2dbb13(0x338)](_0x19319c));return _0x1a926c&&(_0x1a926c['awaitingChangeset']||_0x1a926c[_0x2dbb13(0x358)]['length']!==0x0)&&(_0x3d3f4f=_0x1a926c[_0x2dbb13(0x2c9)]),_0x3d3f4f===0x0&&this[_0x2dbb13(0x20b)]['debug']('[DataLoaderService]',_0x2dbb13(0x516)),this['loadUnitOfRevision'](_0x19319c,_0x30a659,_0x3d3f4f);}},_0x330a6c[_0x3b85f3(0x569)]=_0x4b9bdb([_0x501eef(0x0,_0x29f72d[_0x3b85f3(0x316)]),_0x501eef(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x3c1)])),_0x501eef(0x2,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x569)]);var _0x433aba=Object[_0x3b85f3(0x2e1)],_0x15c249=(_0x2fb8c2,_0x512a63,_0x182b82,_0x4dcb45)=>{var _0x5a198c=_0x3b85f3;for(var _0x5019e9=_0x4dcb45>0x1?void 0x0:_0x4dcb45?_0x433aba(_0x512a63,_0x182b82):_0x512a63,_0x536f2e=_0x2fb8c2[_0x5a198c(0x24a)]-0x1,_0x35c18f;_0x536f2e>=0x0;_0x536f2e--)(_0x35c18f=_0x2fb8c2[_0x536f2e])&&(_0x5019e9=_0x35c18f(_0x5019e9)||_0x5019e9);return _0x5019e9;},_0x4c431a=(_0x2d9913,_0x418117)=>(_0x594234,_0x4e16e1)=>_0x418117(_0x594234,_0x4e16e1,_0x2d9913);const _0x215288=[_0x3b85f3(0x42e),_0x3b85f3(0x540),_0x3b85f3(0x1f6),_0x3b85f3(0x53b),'image/bmp'],_0x313c4f=0x5*0x400*0x400,_0x456bc6=_0x3b85f3(0x480),_0x28851a=_0x3b85f3(0x4b9);_0x330a6c[_0x3b85f3(0x4c2)]=class{constructor(_0x3aaa7e,_0x2b3e8f,_0x534623){var _0x1d3fff=_0x3b85f3;_0x3dafef(this,_0x1d3fff(0x4b6),0x0),_0x3dafef(this,_0x1d3fff(0x1fc),new _0x26770d[(_0x1d3fff(0x37c))]()),_0x3dafef(this,'change$',this[_0x1d3fff(0x1fc)]),_0x3dafef(this,_0x1d3fff(0x22d),new Map()),(this['_httpService']=_0x3aaa7e,this['_configService']=_0x2b3e8f,this[_0x1d3fff(0x550)]=_0x534623);}[_0x3b85f3(0x4da)](_0x55d7c8){var _0xc2279d=_0x3b85f3;this[_0xc2279d(0x4b6)]=_0x55d7c8,this[_0xc2279d(0x1fc)][_0xc2279d(0x4c8)](_0x55d7c8);}['getImageSourceCache'](_0x345b03,_0x4baac4){var _0x649c3c=_0x3b85f3;if(_0x4baac4===_0xb9a54d[_0x649c3c(0x396)][_0x649c3c(0x4bf)]){const _0x31932a=new Image();return _0x31932a[_0x649c3c(0x1cc)]=_0x345b03,_0x31932a;}return this[_0x649c3c(0x22d)]['get'](_0x345b03);}['addImageSourceCache'](_0xc5700,_0x2a6e4e,_0x21df84){var _0x2073ec=_0x3b85f3;_0x2a6e4e===_0xb9a54d[_0x2073ec(0x396)][_0x2073ec(0x4bf)]||_0x21df84==null||this[_0x2073ec(0x22d)]['set'](_0xc5700,_0x21df84);}async[_0x3b85f3(0x289)](_0x3b89c4){var _0x3ad164=_0x3b85f3;try{const _0x5d3574=this[_0x3ad164(0x2f2)](this['_getSignURL'](),''+_0x3b89c4),_0x5dd4e5=(await this[_0x3ad164(0x2c1)][_0x3ad164(0x1f8)](_0x5d3574))[_0x3ad164(0x3fa)];if(_0x5dd4e5['error']&&_0x5dd4e5[_0x3ad164(0x313)][_0x3ad164(0x2b2)]===_0x229e63['OK']){const _0x2f9285=new URL(_0x5dd4e5[_0x3ad164(0x435)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x3ad164(0x4f8)](_0x2f9285);}return Promise[_0x3ad164(0x4f9)](_0x5dd4e5[_0x3ad164(0x313)]);}catch(_0x4e9240){return Promise['reject'](_0x4e9240);}}async['saveImage'](_0x3db3b1){var _0x186d74=_0x3b85f3;let _0xa8fdd6='';if(!_0x215288[_0x186d74(0x312)](_0x3db3b1[_0x186d74(0x565)]))return this[_0x186d74(0x3cb)](),Promise['reject'](new Error(_0xb9a54d[_0x186d74(0x510)][_0x186d74(0x244)]));if(_0x3db3b1[_0x186d74(0x21a)]>_0x313c4f)return this['_decreaseWaiting'](),Promise[_0x186d74(0x4f9)](new Error(_0xb9a54d[_0x186d74(0x510)][_0x186d74(0x46a)]));try{const _0x2229e6=new FormData();_0x2229e6['append'](_0x186d74(0x41c),_0x3db3b1);const _0xbbcbd6=this['_univerInstanceService']['getFocusedUnit'](),_0x4d4750=_0xbbcbd6==null?void 0x0:_0xbbcbd6['getUnitId']();if(!_0x4d4750)throw new Error(_0x186d74(0x4dd));const _0x10faf0=this[_0x186d74(0x2ad)]()+_0x186d74(0x477)+_0x3db3b1['size'][_0x186d74(0x3f5)]()+_0x186d74(0x4a1)+_0x195c26[_0x186d74(0x293)]+_0x186d74(0x35a)+encodeURIComponent(_0x4d4750),_0x5785d3={'body':_0x2229e6},_0x35cf6d=(await this['_httpService'][_0x186d74(0x1fe)](_0x10faf0,_0x5785d3))[_0x186d74(0x3fa)];if(typeof _0x35cf6d[_0x186d74(0x30d)]!='string')return this[_0x186d74(0x3cb)](),Promise['reject'](new Error(_0xb9a54d['ImageUploadStatusType'][_0x186d74(0x367)]));_0xa8fdd6=_0x35cf6d[_0x186d74(0x30d)];}catch{return this[_0x186d74(0x3cb)](),Promise[_0x186d74(0x4f9)](new Error(_0xb9a54d[_0x186d74(0x510)][_0x186d74(0x367)]));}return new Promise((_0x3a82bb,_0x4a43b8)=>{var _0x42d51c=_0x186d74;const _0x2fff32=new FileReader();_0x2fff32[_0x42d51c(0x4ae)](_0x3db3b1),_0x2fff32[_0x42d51c(0x4cf)]=_0x5dfaab=>{var _0x526f80=_0x42d51c,_0x3197e3;const _0x2f93d2=(_0x3197e3=_0x5dfaab['target'])==null?void 0x0:_0x3197e3['result'];if(_0x2f93d2==null){this[_0x526f80(0x3cb)](),_0x4a43b8(new Error(_0xb9a54d[_0x526f80(0x510)][_0x526f80(0x367)]));return;}const _0x533a2d=_0x29f72d[_0x526f80(0x206)](0x6);_0x3a82bb({'imageId':_0x533a2d,'imageSourceType':_0xb9a54d[_0x526f80(0x396)][_0x526f80(0x41a)],'source':_0xa8fdd6,'base64Cache':_0x2f93d2,'status':_0xb9a54d[_0x526f80(0x510)][_0x526f80(0x562)]}),this[_0x526f80(0x3cb)]();};});}[_0x3b85f3(0x2ad)](){var _0x39cd4d=_0x3b85f3,_0x54d81d;const _0xfe3eb8=this[_0x39cd4d(0x265)][_0x39cd4d(0x4d4)](_0x54fbde);return(_0x54d81d=_0xfe3eb8==null?void 0x0:_0xfe3eb8[_0x39cd4d(0x359)])!=null?_0x54d81d:_0x456bc6;}['_getSignURL'](){var _0x2dfaf6=_0x3b85f3,_0x5484cc;const _0x1150ef=this[_0x2dfaf6(0x265)][_0x2dfaf6(0x4d4)](_0x54fbde);return(_0x5484cc=_0x1150ef==null?void 0x0:_0x1150ef[_0x2dfaf6(0x491)])!=null?_0x5484cc:_0x28851a;}[_0x3b85f3(0x1f9)](){var _0x3f59f3=_0x3b85f3,_0x2fa731;const _0x339e99=this['_configService'][_0x3f59f3(0x4d4)](_0x54fbde);return(_0x2fa731=_0x339e99==null?void 0x0:_0x339e99[_0x3f59f3(0x2a2)])!=null?_0x2fa731:location[_0x3f59f3(0x50e)];}[_0x3b85f3(0x2f2)](_0x38d0de,_0x2011c1){var _0xbfaf5a=_0x3b85f3;return _0x38d0de[_0xbfaf5a(0x40e)]('{fileID}',_0x2011c1);}[_0x3b85f3(0x3cb)](){var _0x1b1da6=_0x3b85f3;this['_waitCount']-=0x1,this[_0x1b1da6(0x1fc)][_0x1b1da6(0x4c8)](this[_0x1b1da6(0x4b6)]);}},_0x330a6c[_0x3b85f3(0x4c2)]=_0x15c249([_0x4c431a(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x59551f['HTTPService'])),_0x4c431a(0x1,_0x29f72d[_0x3b85f3(0x44a)]),_0x4c431a(0x2,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x558)]))],_0x330a6c[_0x3b85f3(0x4c2)]);var _0x3a907a=Object['getOwnPropertyDescriptor'],_0x2131c3=(_0x4d2995,_0x460592,_0x525777,_0x2f312b)=>{var _0x1c7063=_0x3b85f3;for(var _0x57a7fe=_0x2f312b>0x1?void 0x0:_0x2f312b?_0x3a907a(_0x460592,_0x525777):_0x460592,_0x3bb14f=_0x4d2995[_0x1c7063(0x24a)]-0x1,_0x838a19;_0x3bb14f>=0x0;_0x3bb14f--)(_0x838a19=_0x4d2995[_0x3bb14f])&&(_0x57a7fe=_0x838a19(_0x57a7fe)||_0x57a7fe);return _0x57a7fe;},_0x2f5b7b=(_0xdd1375,_0x48651a)=>(_0x313478,_0x155b44)=>_0x48651a(_0x313478,_0x155b44,_0xdd1375);const _0x353ae2=_0x3b85f3(0x4df);_0x330a6c[_0x3b85f3(0x33c)]=class{constructor(_0x41db3c,_0x1780dc){var _0xd36f=_0x3b85f3;this['_configService']=_0x41db3c,this[_0xd36f(0x360)]=_0x1780dc;}[_0x3b85f3(0x49a)](){var _0x414229=_0x3b85f3,_0x33e4d3;const _0x58ff82=this[_0x414229(0x265)][_0x414229(0x4d4)](_0x54fbde);return(_0x33e4d3=_0x58ff82==null?void 0x0:_0x58ff82[_0x414229(0x26f)])!=null?_0x33e4d3:_0x353ae2;}async[_0x3b85f3(0x3b4)](_0x21e898){var _0xaaeb2c=_0x3b85f3;const _0x2fd9f4=this[_0xaaeb2c(0x49a)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0xaaeb2c(0x360)][_0xaaeb2c(0x1f8)](_0x2fd9f4,{'params':{'objectID':_0x21e898[_0xaaeb2c(0x2fe)],'unitID':_0x21e898[_0xaaeb2c(0x2fe)]}}))[_0xaaeb2c(0x3fa)]['collaborators']['map'](_0x472ba8=>({'objectId':_0x472ba8['id'],'name':_0x472ba8[_0xaaeb2c(0x298)][_0xaaeb2c(0x36d)],'metadata':{'icon':_0x472ba8[_0xaaeb2c(0x298)][_0xaaeb2c(0x26c)]},'label':_0x472ba8[_0xaaeb2c(0x298)]['name'],'objectType':_0x29f72d[_0xaaeb2c(0x3c2)]['PERSON']})),'metadata':{},'type':_0x29f72d[_0xaaeb2c(0x3c2)][_0xaaeb2c(0x548)]}]};}},_0x330a6c['MentionIoHttpService']=_0x2131c3([_0x2f5b7b(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x44a)])),_0x2f5b7b(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x59551f[_0x3b85f3(0x2bf)]))],_0x330a6c[_0x3b85f3(0x33c)]);var _0x541d19=Object[_0x3b85f3(0x2e1)],_0x115f15=(_0x5d8ca3,_0x53f094,_0x2ef8a7,_0x1f43a3)=>{var _0x2cb146=_0x3b85f3;for(var _0x553136=_0x1f43a3>0x1?void 0x0:_0x1f43a3?_0x541d19(_0x53f094,_0x2ef8a7):_0x53f094,_0x3e0322=_0x5d8ca3[_0x2cb146(0x24a)]-0x1,_0x1f5d47;_0x3e0322>=0x0;_0x3e0322--)(_0x1f5d47=_0x5d8ca3[_0x3e0322])&&(_0x553136=_0x1f5d47(_0x553136)||_0x553136);return _0x553136;},_0x4aa4ef=(_0x4a7484,_0x44afd7)=>(_0x28523b,_0x3785d9)=>_0x44afd7(_0x28523b,_0x3785d9,_0x4a7484);let _0x4b0910=class extends _0x29f72d['RxDisposable']{constructor(_0x4f3ea0,_0x1b48de,_0x441e07,_0x37cc54,_0x42ab76){var _0x3a61ef=_0x3b85f3;super(),this['_injector']=_0x4f3ea0,this['_univerInstanceService']=_0x1b48de,this[_0x3a61ef(0x543)]=_0x441e07,this[_0x3a61ef(0x239)]=_0x37cc54,this[_0x3a61ef(0x2ed)]=_0x42ab76,this['_initUnitPermissionChange'](),this[_0x3a61ef(0x43d)]();}[_0x3b85f3(0x43d)](){var _0x3bc9b7=_0x3b85f3;const _0x2ab3da=async _0x1ecd07=>{var _0x529db0=_0x222a;(await this['_collaborationSessionService']['requireSession'](_0x1ecd07))[_0x529db0(0x479)][_0x529db0(0x341)](_0x213182['filter'](_0x39a354=>_0x39a354[_0x529db0(0x3df)]===_0x94e8ef[_0x529db0(0x22b)]['SHOULD_CLOSE_CONN']),_0x213182[_0x529db0(0x4bb)](this[_0x529db0(0x4dc)]))[_0x529db0(0x255)](_0x2fc9a1=>{var _0x4e5ff6=_0x529db0;const _0x2d1187=_0x2fc9a1,{reason:_0x11f7c2}=_0x2d1187[_0x4e5ff6(0x2c0)];this['_collaborationUIEventService'][_0x4e5ff6(0x1d4)]({'id':_0x465567[_0x4e5ff6(0x2f8)],'data':_0x11f7c2}),this[_0x4e5ff6(0x543)][_0x4e5ff6(0x44b)](new _0x504e3a[(_0x4e5ff6(0x251))](_0x1ecd07)['id'],!0x1),this[_0x4e5ff6(0x239)]['closeSession'](_0x1ecd07);});};_0x26770d[_0x3bc9b7(0x1cb)](this[_0x3bc9b7(0x550)][_0x3bc9b7(0x494)](_0x29f72d[_0x3bc9b7(0x294)][_0x3bc9b7(0x4be)]),this[_0x3bc9b7(0x550)]['getTypeOfUnitAdded$'](_0x29f72d[_0x3bc9b7(0x294)][_0x3bc9b7(0x3ee)]))['pipe'](_0x213182[_0x3bc9b7(0x55e)](_0x32d498=>_0x32d498['getUnitId']()),_0x213182[_0x3bc9b7(0x463)](_0x4cdf2b=>!_0x29f72d[_0x3bc9b7(0x232)](_0x4cdf2b)),_0x213182[_0x3bc9b7(0x4bb)](this[_0x3bc9b7(0x4dc)]))['subscribe'](_0x5edb17=>{_0x2ab3da(_0x5edb17);});}['_initUnitPermissionChange'](){var _0x388721=_0x3b85f3;const _0xd5a498=async _0x16cf6f=>{var _0xf8bcb4=_0x222a;const _0x47af4c=await this[_0xf8bcb4(0x239)][_0xf8bcb4(0x214)](_0x16cf6f),_0x292f61=this[_0xf8bcb4(0x53a)]['get'](_0x504e3a['SheetPermissionInitController']);_0x47af4c[_0xf8bcb4(0x479)][_0xf8bcb4(0x341)](_0x213182['filter'](_0x1e4b78=>_0x1e4b78[_0xf8bcb4(0x3df)]===_0x94e8ef[_0xf8bcb4(0x22b)]['UPDATE_PERMISSION_OBJ']),_0x213182[_0xf8bcb4(0x4bb)](this['dispose$']))['subscribe'](_0x22ce4e=>{var _0x2b4c49=_0xf8bcb4;const _0x4d9ba3=_0x22ce4e,{objectId:_0x18d36c}=_0x4d9ba3[_0x2b4c49(0x2c0)];_0x18d36c===_0x16cf6f?_0x292f61[_0x2b4c49(0x1f7)](_0x16cf6f):_0x292f61[_0x2b4c49(0x4d5)](_0x16cf6f,_0x18d36c);});};_0x26770d['merge'](this[_0x388721(0x550)][_0x388721(0x494)](_0x29f72d[_0x388721(0x294)][_0x388721(0x4be)]))[_0x388721(0x341)](_0x213182[_0x388721(0x55e)](_0x40b941=>_0x40b941[_0x388721(0x4ba)]()),_0x213182[_0x388721(0x463)](_0x46a7b5=>!_0x29f72d[_0x388721(0x232)](_0x46a7b5)),_0x213182[_0x388721(0x4bb)](this['dispose$']))[_0x388721(0x255)](_0x54f4c3=>{_0xd5a498(_0x54f4c3);});}};_0x4b0910=_0x115f15([_0x4aa4ef(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x4aa4ef(0x1,_0x29f72d[_0x3b85f3(0x558)]),_0x4aa4ef(0x2,_0x29f72d['IPermissionService']),_0x4aa4ef(0x3,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c['CollaborationSessionService'])),_0x4aa4ef(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x18e687))],_0x4b0910);var _0x14c222=Object[_0x3b85f3(0x2e1)],_0x756102=(_0x86f37b,_0x2b43d6,_0x5c8f92,_0x2bfe04)=>{for(var _0x3882c0=_0x2bfe04>0x1?void 0x0:_0x2bfe04?_0x14c222(_0x2b43d6,_0x5c8f92):_0x2b43d6,_0x58ff4a=_0x86f37b['length']-0x1,_0x3b8dec;_0x58ff4a>=0x0;_0x58ff4a--)(_0x3b8dec=_0x86f37b[_0x58ff4a])&&(_0x3882c0=_0x3b8dec(_0x3882c0)||_0x3882c0);return _0x3882c0;},_0x299bc7=(_0x96cb7d,_0x4d5c5e)=>(_0x1bc90c,_0x119fa9)=>_0x4d5c5e(_0x1bc90c,_0x119fa9,_0x96cb7d);_0x330a6c['SnapshotServerOverHTTPService']=class{constructor(_0x4d65fd,_0x2ac3c3){var _0x2d2a3f=_0x3b85f3;this[_0x2d2a3f(0x265)]=_0x4d65fd,this['_httpService']=_0x2ac3c3;}async['getUnitOnRev'](_0x107105,_0x333fc6){var _0x1edad1=_0x3b85f3,_0x4cc3fb;const {unitID:_0x17159f,type:_0xc2bbc3,revision:_0x4e39e0=0x0}=_0x333fc6,_0xcce0b0=this[_0x1edad1(0x355)]()+'/'+_0xc2bbc3+_0x1edad1(0x526)+_0x17159f+'/rev/'+_0x4e39e0,_0x315c48=(await this[_0x1edad1(0x2c1)][_0x1edad1(0x1f8)](_0xcce0b0))['body'],_0xdafb6f=(_0x4cc3fb=_0x315c48['snapshot'])==null?void 0x0:_0x4cc3fb[_0x1edad1(0x349)];if(_0xdafb6f){const _0x50039a=_0xdafb6f==null?void 0x0:_0xdafb6f[_0x1edad1(0x384)],_0x1e00ad=_0x94e8ef[_0x1edad1(0x3eb)][_0x1edad1(0x328)](_0x94e8ef[_0x1edad1(0x334)](_0x50039a));_0xdafb6f[_0x1edad1(0x384)]=_0x1e00ad,Object[_0x1edad1(0x51d)](_0xdafb6f[_0x1edad1(0x284)])[_0x1edad1(0x3ae)](([,_0x5cb40f])=>{var _0x219ae7=_0x1edad1;const _0x217ea7=_0x5cb40f[_0x219ae7(0x384)],_0x5c5460=_0x94e8ef[_0x219ae7(0x3eb)]['encode'](_0x94e8ef[_0x219ae7(0x334)](_0x217ea7));_0x5cb40f[_0x219ae7(0x384)]=_0x5c5460;});}return _0x315c48;}async[_0x3b85f3(0x3c8)](_0x3f2f55,_0x4631ae){var _0x3d17cd=_0x3b85f3;const {unitID:_0x236c66,type:_0x34d273,blockID:_0x459fed}=_0x4631ae,_0x1dd054=this[_0x3d17cd(0x496)]()+'/'+_0x34d273+_0x3d17cd(0x526)+_0x236c66+_0x3d17cd(0x3ac)+_0x459fed;return(await this[_0x3d17cd(0x2c1)][_0x3d17cd(0x1f8)](_0x1dd054))[_0x3d17cd(0x3fa)];}async[_0x3b85f3(0x450)](_0x3ac44a,_0x287b22){var _0x281841=_0x3b85f3;const {unitID:_0x59ee37,type:_0x3e37b8,blockID:_0x50bd5c}=_0x287b22,_0x3fe573=this[_0x281841(0x496)]()+_0x281841(0x3ac)+_0x3e37b8+_0x281841(0x526)+_0x59ee37+_0x281841(0x3ac)+_0x50bd5c;return(await this['_httpService'][_0x281841(0x1f8)](_0x3fe573))[_0x281841(0x3fa)];}async[_0x3b85f3(0x49f)](_0x43be7f,_0x5393ec){var _0x41b987=_0x3b85f3;const {unitID:_0x262e0f,type:_0x405966,from:_0x33c573,to:_0x5b0483}=_0x5393ec,_0x214caf=this[_0x41b987(0x496)]()+'/'+_0x405966+_0x41b987(0x526)+_0x262e0f+_0x41b987(0x3c0)+_0x33c573+_0x41b987(0x215)+_0x5b0483;return(await this[_0x41b987(0x2c1)][_0x41b987(0x1f8)](_0x214caf))[_0x41b987(0x3fa)];}[_0x3b85f3(0x355)](){var _0x541e1c=_0x3b85f3,_0x57df8c;return(_0x57df8c=this[_0x541e1c(0x265)][_0x541e1c(0x4d4)](_0x371056))!=null?_0x57df8c:this[_0x541e1c(0x496)]();}[_0x3b85f3(0x496)](){var _0x43c630=_0x3b85f3,_0x4ccb4f;const _0x3150a5=this[_0x43c630(0x265)][_0x43c630(0x4d4)](_0x54fbde);return(_0x4ccb4f=_0x3150a5==null?void 0x0:_0x3150a5[_0x43c630(0x1d8)])!=null?_0x4ccb4f:_0x3610cc;}async[_0x3b85f3(0x1d2)](_0x269fdd,_0x35b68f){var _0x1d0d7c=_0x3b85f3;const _0x180b7a=_0x1d0d7c(0x3a6)+_0x35b68f[_0x1d0d7c(0x565)]+_0x1d0d7c(0x526)+_0x35b68f[_0x1d0d7c(0x3be)]+'/resources';return(await this['_httpService'][_0x1d0d7c(0x1f8)](_0x180b7a,{'params':{'resourceId':JSON[_0x1d0d7c(0x3ff)](_0x35b68f[_0x1d0d7c(0x4b1)])}}))[_0x1d0d7c(0x3fa)];}[_0x3b85f3(0x473)](){var _0x423dbc=_0x3b85f3;throw new Error(_0x423dbc(0x3ad));}[_0x3b85f3(0x2bd)](){var _0x2bbd73=_0x3b85f3;throw new Error(_0x2bbd73(0x3ad));}[_0x3b85f3(0x291)](){var _0x304198=_0x3b85f3;throw new Error(_0x304198(0x3ad));}[_0x3b85f3(0x3d8)](){var _0x334931=_0x3b85f3;throw new Error(_0x334931(0x3ad));}[_0x3b85f3(0x4b0)](){var _0x4354fb=_0x3b85f3;throw new Error(_0x4354fb(0x3ad));}[_0x3b85f3(0x4e7)](){var _0x40d469=_0x3b85f3;throw new Error(_0x40d469(0x3ad));}},_0x330a6c['SnapshotServerOverHTTPService']=_0x756102([_0x299bc7(0x0,_0x29f72d[_0x3b85f3(0x44a)]),_0x299bc7(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x59551f[_0x3b85f3(0x2bf)]))],_0x330a6c['SnapshotServerOverHTTPService']);var _0x428b5e=Object['getOwnPropertyDescriptor'],_0x468eb8=(_0x8919f6,_0x1a16f9,_0x4226f6,_0x59f925)=>{for(var _0x3fd85b=_0x59f925>0x1?void 0x0:_0x59f925?_0x428b5e(_0x1a16f9,_0x4226f6):_0x1a16f9,_0x51a672=_0x8919f6['length']-0x1,_0x3a1f4a;_0x51a672>=0x0;_0x51a672--)(_0x3a1f4a=_0x8919f6[_0x51a672])&&(_0x3fd85b=_0x3a1f4a(_0x3fd85b)||_0x3fd85b);return _0x3fd85b;},_0x465fa5=(_0x56cd2f,_0x459839)=>(_0x225851,_0x4c7112)=>_0x459839(_0x225851,_0x4c7112,_0x56cd2f);_0x330a6c[_0x3b85f3(0x4ef)]=class extends _0x29f72d[_0x3b85f3(0x53c)]{constructor(_0x23a5dd,_0x395c75,_0x5f4ad4,_0x71787c,_0x5e0327){var _0x5c0f94=_0x3b85f3;super(_0x23a5dd,_0x395c75,_0x5f4ad4),this[_0x5c0f94(0x2c5)]=_0x71787c,this[_0x5c0f94(0x20b)]=_0x5e0327;}[_0x3b85f3(0x3d2)](_0x336efb,_0x392706){var _0x104bc0=_0x3b85f3;const _0x16b979=this['_getUndoStack'](_0x336efb);if(_0x16b979)try{const _0x296251=this[_0x104bc0(0x552)](_0x16b979,_0x392706);this[_0x104bc0(0x308)](_0x336efb,_0x296251);}catch(_0x45c89d){this[_0x104bc0(0x20b)]['error'](_0x104bc0(0x216),_0x45c89d),this[_0x104bc0(0x374)](_0x336efb);}const _0x48dfc0=this[_0x104bc0(0x47f)](_0x336efb);if(_0x48dfc0)try{const _0x37e22c=this[_0x104bc0(0x552)](_0x48dfc0,_0x392706);this[_0x104bc0(0x2be)](_0x336efb,_0x37e22c);}catch(_0x4a4a8c){this[_0x104bc0(0x20b)][_0x104bc0(0x313)](_0x4a4a8c),this[_0x104bc0(0x3ef)](_0x336efb);}}[_0x3b85f3(0x374)](_0x581e00){var _0x1a2f16=_0x3b85f3;const _0xa070f4=this[_0x1a2f16(0x488)](_0x581e00);_0xa070f4&&(_0xa070f4[_0x1a2f16(0x24a)]=0x0,this['_updateStatus']());}[_0x3b85f3(0x3ef)](_0x9a848f){var _0x82e6f4=_0x3b85f3;const _0x3c385f=this[_0x82e6f4(0x47f)](_0x9a848f);_0x3c385f&&(_0x3c385f[_0x82e6f4(0x24a)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x14aa6a,_0x388cec){var _0x183d9a=_0x3b85f3;this[_0x183d9a(0x281)][_0x183d9a(0x2d7)](_0x14aa6a,_0x388cec),this[_0x183d9a(0x378)]();}[_0x3b85f3(0x2be)](_0x9a66df,_0x1a8275){var _0x1a34b2=_0x3b85f3;this['_redoStacks'][_0x1a34b2(0x2d7)](_0x9a66df,_0x1a8275),this[_0x1a34b2(0x378)]();}['_transformStack'](_0x269f35,_0x3e4512){var _0x2d6541=_0x3b85f3;const _0x505746=[];let _0x13b6b0=_0x3e4512,_0x368422=_0x3e4512;for(let _0x2592de=_0x269f35[_0x2d6541(0x24a)]-0x1;_0x2592de>=0x0;_0x2592de--){const {unitID:_0x1af47c,undoMutations:_0x15fcf1,redoMutations:_0x3efd09}=_0x269f35[_0x2592de],_0x9195b3=this[_0x2d6541(0x2c5)][_0x2d6541(0x25f)](_0x13b6b0,_0x15fcf1),_0x2c15e3=this[_0x2d6541(0x2c5)]['transformMutationsWithChangeset'](_0x368422,_0x3efd09);if(_0x94e8ef[_0x2d6541(0x23b)](_0x9195b3)||_0x94e8ef[_0x2d6541(0x23b)](_0x2c15e3)){this[_0x2d6541(0x20b)][_0x2d6541(0x313)](_0x2d6541(0x216),_0x2d6541(0x324),_0x9195b3,_0x2c15e3);break;}_0x13b6b0=_0x9195b3[_0x2d6541(0x3f9)],_0x368422=_0x2c15e3[_0x2d6541(0x3f9)],_0x505746[_0x2d6541(0x2cd)]({'unitID':_0x1af47c,'undoMutations':_0x9195b3['m2Prime'],'redoMutations':_0x2c15e3[_0x2d6541(0x343)]});}return _0x505746['reverse']();}},_0x330a6c[_0x3b85f3(0x4ef)]=_0x468eb8([_0x465fa5(0x0,_0x29f72d[_0x3b85f3(0x558)]),_0x465fa5(0x1,_0x29f72d['ICommandService']),_0x465fa5(0x2,_0x29f72d[_0x3b85f3(0x317)]),_0x465fa5(0x3,_0x94e8ef['ITransformService']),_0x465fa5(0x4,_0x29f72d[_0x3b85f3(0x316)])],_0x330a6c[_0x3b85f3(0x4ef)]);var _0x5c9507=Object[_0x3b85f3(0x40f)],_0x1543df=Object[_0x3b85f3(0x2e1)],_0x15ca2e=(_0xeb0671,_0x231ff8,_0x758ec8)=>_0x231ff8 in _0xeb0671?_0x5c9507(_0xeb0671,_0x231ff8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x758ec8}):_0xeb0671[_0x231ff8]=_0x758ec8,_0x100304=(_0x33ddeb,_0xf926b1,_0x361d86,_0x13236d)=>{for(var _0x5c33b6=_0x13236d>0x1?void 0x0:_0x13236d?_0x1543df(_0xf926b1,_0x361d86):_0xf926b1,_0x673852=_0x33ddeb['length']-0x1,_0x649bdb;_0x673852>=0x0;_0x673852--)(_0x649bdb=_0x33ddeb[_0x673852])&&(_0x5c33b6=_0x649bdb(_0x5c33b6)||_0x5c33b6);return _0x5c33b6;},_0x253e2b=(_0x21f3a8,_0xd7749c)=>(_0x1405fd,_0x10a910)=>_0xd7749c(_0x1405fd,_0x10a910,_0x21f3a8),_0x261247=(_0x342315,_0x25d282,_0xe6b1e0)=>_0x15ca2e(_0x342315,_0x25d282+'',_0xe6b1e0);const _0x4be1ec=_0x3b85f3(0x513);_0x330a6c[_0x3b85f3(0x2f1)]=class extends _0x29f72d[_0x3b85f3(0x356)]{constructor(_0x23e850,_0x51ba8a,_0x1b3665,_0x2a31a2){var _0x45c0ab=_0x3b85f3;super(),_0x3dafef(this,'_config'),(this[_0x45c0ab(0x20b)]=_0x51ba8a,this[_0x45c0ab(0x53a)]=_0x1b3665,this[_0x45c0ab(0x265)]=_0x2a31a2);const {..._0x5279c9}=_0x29f72d['merge']({},_0x32803a,_0x23e850);if(!_0x5279c9[_0x45c0ab(0x32d)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x45c0ab(0x2c7)]=_0x5279c9,this[_0x45c0ab(0x265)][_0x45c0ab(0x3a3)](_0x54fbde,_0x5279c9);}[_0x3b85f3(0x408)](){var _0x2278c9=_0x3b85f3;this[_0x2278c9(0x45c)](),this[_0x2278c9(0x38a)]();}[_0x3b85f3(0x45c)](){var _0x5b758a=_0x3b85f3,_0x125ef7,_0xf0bf85;this['_injector']['has'](_0x29f72d[_0x5b758a(0x2d2)])&&this[_0x5b758a(0x20b)][_0x5b758a(0x313)](_0x5b758a(0x40d),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3917dd=_0x29f72d[_0x5b758a(0x28a)]([[_0x29f72d['IUndoRedoService'],{'useClass':_0x330a6c['CollaborativeUndoRedoService']}],[_0x330a6c[_0x5b758a(0x4ab)]],[_0x330a6c[_0x5b758a(0x2d9)]],[_0x330a6c[_0x5b758a(0x4e9)]],[_0x3b6ab0],[_0x5d8493],[_0x146c00],[_0x4b0910],[_0x18e687],[_0x330a6c['DataLoaderService']],[_0x2d9dbe,{'useClass':this['_config'][_0x5b758a(0x32d)]}],[_0x94e8ef[_0x5b758a(0x54f)],{'useClass':_0x330a6c['SnapshotServerOverHTTPService']}],[_0x29f72d[_0x5b758a(0x443)],{'useClass':_0x330a6c[_0x5b758a(0x568)]}],[_0xb9a54d[_0x5b758a(0x3bf)],{'useClass':_0x330a6c[_0x5b758a(0x4c2)]}],[_0x29f72d[_0x5b758a(0x489)],{'useClass':_0x330a6c[_0x5b758a(0x33c)]}],[_0x330a6c[_0x5b758a(0x2c6)]],[_0x5b598e]],(_0x125ef7=this[_0x5b758a(0x2c7)])==null?void 0x0:_0x125ef7[_0x5b758a(0x23d)]);if(!((_0xf0bf85=this[_0x5b758a(0x2c7)])!=null&&_0xf0bf85[_0x5b758a(0x4c0)])){const _0x4b4840=_0x3917dd['findIndex'](([_0x114803])=>_0x114803===_0x17abdd);_0x4b4840!==-0x1&&_0x3917dd[_0x5b758a(0x4ca)](_0x4b4840,0x1);}_0x29f72d[_0x5b758a(0x4ad)](this['_injector'],_0x3917dd);}[_0x3b85f3(0x38a)](){var _0x318f2c=_0x3b85f3,_0x591a,_0x44ecd9,_0x3229ea;this[_0x318f2c(0x53a)][_0x318f2c(0x1f8)](_0x59551f[_0x318f2c(0x2bf)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x59551f[_0x318f2c(0x311)]({'maxParallel':0x6})}),(_0x591a=this[_0x318f2c(0x2c7)])!=null&&_0x591a[_0x318f2c(0x429)]||(_0x44ecd9=this[_0x318f2c(0x53a)][_0x318f2c(0x1f8)](_0x54c85,_0x29f72d['Quantity'][_0x318f2c(0x3bc)]))==null||_0x44ecd9['disableLocalCache'](),(_0x3229ea=this[_0x318f2c(0x2c7)])!=null&&_0x3229ea['enableAuthServer']&&_0x29f72d[_0x318f2c(0x51c)](this['_injector'],[[_0x3b6ab0]]),_0x29f72d[_0x318f2c(0x51c)](this['_injector'],[[_0x5d8493],[_0x330a6c[_0x318f2c(0x2c6)]],[_0x4b0910]]);}},_0x261247(_0x330a6c['UniverCollaborationClientPlugin'],_0x3b85f3(0x4a9),_0x4be1ec),_0x330a6c[_0x3b85f3(0x2f1)]=_0x100304([_0x29f72d[_0x3b85f3(0x4cd)](_0x94e8ef['UniverCollaborationPlugin'],_0x59551f['UniverNetworkPlugin']),_0x253e2b(0x1,_0x29f72d[_0x3b85f3(0x316)]),_0x253e2b(0x2,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d['Injector'])),_0x253e2b(0x3,_0x29f72d['IConfigService'])],_0x330a6c[_0x3b85f3(0x2f1)]),_0x330a6c[_0x3b85f3(0x3c6)]=_0x54fbde,_0x330a6c[_0x3b85f3(0x4aa)]=_0xcbbb88,_0x330a6c[_0x3b85f3(0x4f1)]=_0x465567,_0x330a6c[_0x3b85f3(0x2e3)]=_0x18e687,_0x330a6c[_0x3b85f3(0x4a3)]=_0x146c00,_0x330a6c[_0x3b85f3(0x542)]=_0xbda5,_0x330a6c[_0x3b85f3(0x389)]=_0x70674b,_0x330a6c[_0x3b85f3(0x1dd)]=_0x1bd4c8,_0x330a6c[_0x3b85f3(0x1ed)]=_0x5559aa,_0x330a6c[_0x3b85f3(0x462)]=_0x11fb3c,_0x330a6c[_0x3b85f3(0x3de)]=_0x2d9dbe,_0x330a6c[_0x3b85f3(0x55f)]=_0x54c85,_0x330a6c[_0x3b85f3(0x43f)]=_0x3f33c3,_0x330a6c[_0x3b85f3(0x505)]=_0x17abdd,_0x330a6c['LOCAL_CACHE_INTERVAL']=0x3e8,_0x330a6c[_0x3b85f3(0x4f2)]=_0x28c6bf,_0x330a6c[_0x3b85f3(0x39a)]=_0x1335a0,_0x330a6c[_0x3b85f3(0x3f7)]=_0x48de82,_0x330a6c[_0x3b85f3(0x481)]=_0x5c4cf0,_0x330a6c['UnitStatus']=_0x17f828,_0x330a6c[_0x3b85f3(0x4c7)]=_0xf5b918,_0x330a6c['getLocalCacheKey']=_0x99f370,_0x330a6c[_0x3b85f3(0x48d)]=_0xd85f3a,Object['defineProperty'](_0x330a6c,Symbol[_0x3b85f3(0x1db)],{'value':_0x3b85f3(0x525)});}));function _0x5316(){var _0x13130c=['YUUMI_ALL_TABLES_IS_INVALID','collaMsg','stopTime','$super','CURRENT_STATUS_CANNOT_OPERATE','originalMeta','_rescheduleHeartbeat','Hasher','prototype','pad','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initDependencies','_replayCachedMutations','pending','_checkMissing','_localCacheService','Decryptor','_createHandler','unit-cache-','_transformIMECache','LOGIN_TOKEN_PROCESSING_FAILED','Encryptor','PY_RUNTIME_SCRIPT_ERROR','ImageSourceType','Inject','HEARTBEAT','1037100AFAqLy','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_clearScheduledTask','byteLength','PAYMENT_CHANNEL_NOT_SUPPORT','INVITE_CODE_REQUIRED','extend','SerializableCipher','YUUMI_AI_RUN_FAILED','SetSelectionsOperation','setConfig','_clearRetryConnectingTimer','EmptyMutationInfo','/universer-api/snapshot/','FETCH_MISSING','_hasher','COMPRESS_MUTATION_APPLY','listCollaborators','reqId','/block/','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','forEach','UNIVER_SLIDE','put','indexOf','JOIN_ROOM_FULL','CHANGESET_ACK','list','_throwTelemetryCollaborationNewChangeset','_mode','encryptBlock','session.room-cnt-exceeds','_commentUpdate$','REDEMPTION_USER_NOT_ELIGIBLE','_scheduleCompleteTimestamp','OPTIONAL','_createHelper','unitID','IImageIoService','/fetchmissing?from=','SnapshotService','MentionType','CollaborationSocketService','463896pambqP','UniverProLicense','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','NoPadding','getSheetBlock','getUnitStatus$','PENDING','_decreaseWaiting','charCodeAt','localeService','awaiting','createIdentifier','APPLY_PERMISSION_DENIED','_onConflict','transformUndoRedo','[OfflineState]:\x20received\x20acknowledgement.','_fetchMissChangesets','transformChangesets','collaboration_new_changeset','objectType','saveChangeset','DisposableCollection','_retryCount','slice','abs','loadUnit','ICollaborationSocketService','eventID','YUUMI_NO_CUBOID_FOR_QUESTION','_eventService','interceptor','_maxTotalRetryTimeout','RichTextEditingMutation','socket$','Base64','status$','c2Prime','_onMessage','Rectangle','textEncoder','@univerjs/core','ISocketService','UNIVER_DOC','_clearRedo','_onCombEvent','_acknowledgedAwaitingChangeset','EMAIL_VERIFY_CODE_MISMATCH','members$','commentUpdateEvent','toString','_append','RETRY_CONNECTING_MAX_COUNT_KEY','LIVESHARE_OPERATION','c1Prime','body','collaborators','resend','localCacheService','loadDoc','stringify','UNKNOWN_CMD','confirm','NOT_COLLAB','INVITE_CODE_HAS_BEEN_UES','commentUpdate$','clamp','add','_localeService','onStarting','_changesetReqId','153823CYUmcg','_parse','_keySchedule','[UniverCollaborationClientPlugin]','replace','defineProperty','ReplaySubject','finalize','execute','RevisionService','USERS_ENTER','_onRemoteRetry','getCollabEntity','_minBufferSize','getRoom','Malformed\x20UTF-8\x20data','UUID','UNIVER_UNKNOWN','file','SOCKET_FAILED_RETRY','Hex','_commentService','_key','USERS_LEAVE','_userManagerService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_RATE_OVER_LIMIT','ONLINE','_transformUndoredo','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','REDEMPTION_CODE_NOT_STARTED','enableOfflineEditing','_reverseMap','Failed\x20to\x20update\x20permission\x20point','MD5','UserManagerService','image/png','SOCKET_FAILED','4021065DtcLpU','ALREADY_EXISTS','collaboratorID','[CollaborationState]:\x20apply\x20error!','msCrypto','url','sigBytes','BufferedBlockAlgorithm','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_isPermissionRej','JOINING','createInstance','encrypt','_initCloseConn','_schedule','INetworkConditionService','_commandService','liveShareNewHost','_onFetchMissResult','IAuthzIoService','create','roomInfos','CHANGESET_REJ','objects','YUUMI_SUBSCRIPTION_NOT_FOUND','hostname','IConfigService','updatePermissionPoint','_roomMembers','dispose','_onJoinRoomEvent','UniverProCollaboration','getDeserializedSheetBlock','hasOwnProperty','updateCursorEvent','fetchThroughInterceptors','/universer-api/comb','INVALID_ARGUMENT','OTHER_CLIENT_EDITING','uuidv4','univer-pro.collaboration-client.network-condition.service','_scheduleCollaborationTimeoutTimer','params','Disposable','_registerDependencies','INTERNAL_ERROR','_snapshotServerService','INGEST','USER_NOT_FOUND','_keyPriorReset','HEARTBEAT_TIMEOUT_KEY','filter','SNAPSHOT_INVALID_SNAPSHOT','_data','@univerjs-pro/license','_getLoginPath','getCollabEntity$','onStateChange','ERROR_EXCEED_SIZE','CommandType','failed\x20to\x20apply\x20missed\x20changesets!','reduce','updatePermissionObjEvent','auth.needGotoLoginAlert','EvpKDF','selections','UPDATE_CURSOR','saveSnapshot','[SyncedState]:\x20received\x20rejection.','charAt','CHANGESET_REVISION_CONFILICT','?size=','_stopTelemetryCollaborationNewChangeset','event$','_ENC_XFORM_MODE','getActiveSheet','status','Error\x20on\x20receiving\x20event','rxjs/operators','_getRedoStack','/universer-api/stream/file/upload','SessionStatus','getWorkbookSelections','Could\x20not\x20dynamically\x20require\x20\x22','newCsEvent','send','UNRECOGNIZED','LocaleService','_getUndoStack','IMentionIOService','online$','error$','954320Klqpzl','serializeCombRequest','uniscriptRunEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_doFinalize','signUrlServerUrl','toggleOffline','_socket$','getTypeOfUnitAdded$','[CollaborationSession]','_getAPIPrefix','WECHAT_HAS_BEEN_BOUND','ENTITLE_INSUFFICIENT_QUOTA','/allowed','_getAPIPrefixPath','symbol','MOBILE_VERIFY_CODE_MISMATCH','_singleActiveUnitService','_changesetSessionId','fetchMissingChangesets','baseRev','&source=','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CommentService','userID','PSEUDO_FETCH_MISSING_RESULT','TOO_MANY_REQUESTS','219777RZCjON','_sendingTimer','pluginName','CollaborationStatus','CollaborationSessionService','appendMutation','registerDependencies','readAsDataURL','_instanceService','copyFileMeta','resourceIDs','NO_OTHER_CLIENTS_EDITING','@univerjs/drawing','MUTATION','updateMember','_waitCount','title','[DataLoaderService]','/universer-api/file/{fileID}/sign-url','getUnitId','takeUntil','@univerjs-pro/collaboration','href','UNIVER_SHEET','BASE64','enableSingleActiveInstanceLock','LEAVE','CollaborationImageIoService','_incrementRevisionNumber','call','crypto','_unitInfo$','deserializeToCombResponse','next','LIVESHARE_TERMINATE','splice','@univerjs/sheets','IPermissionService','DependentOn','open$','onload','_listenToNetworkCondition','getMemberID','_createInitialStateImpl','REDEMPTION_CODE_HAS_BEEN_CREATED','getConfig','refreshPermission','_startTelemetryCollaborationNewChangeset','waitForRoom$','ws://127.0.0.1:8000/universer-api/comb/connect','INVALID_INVITE_CODE','setWaitCount','PERMISSION_REJ','dispose$','unitId\x20is\x20not\x20found','disposeWithMe','/universer-api/authz','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','init','createSocket','_state$','UniverSheets','deepClone','Tools','getLatestCsReqIdBySid','_emitMembers','SheetTransformSelectionsService','getTime','collaboration-client.config','SUBMIT_CHANGESET_TIMEOUT','_iKey','complete','CollaborativeUndoRedoService','socket\x20open.','CollaborationUIEventId','LOCAL_CACHE_INTERVAL_KEY','/object/','ICommandService','state','setShowComponents','getAllMembers','resolve','reject','isPermissionRej','_sender','OTHER_CLIENTS_EDITING','routeKey','AwaitingWithPendingState','LICENSE_IMPORT_SIZE_EXCEEDED','withCredentials','format','@univerjs/docs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','members','ISingleActiveUnitService','capture','session.join-failed','_socketMessageSubscription','@univerjs/network','HMAC','CompressMutationService','_pendingMutations','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','origin','PendingState','ImageUploadStatusType','Base','objectID','UNIVER_COLLABORATION_CLIENT_PLUGIN','toDisposable','YUUMI_ASYNCIO_CANCELLED','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','salt','csRejEvent','catch','_collaborationPaused','csAckEvent','touchDependencies','entries','_xformMode','_tryReconnect','isTransformChangesetsSuccess','setCurrentUser','_process','_initMergeInterceptor','close$','Module','/unit/','_init','getRandomValues','changesets','Cipher','_DEC_XFORM_MODE','FAIL','ClipsheetFragments','clone','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-permission-denied','_showConflictNotification','Univer','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onMissedChangesetFetched','RECV','loadSheet','CONNECTOR_DATA_TOO_LARGE','BlockCipherMode','_queuedRemoteChangesets','_injector','image/gif','LocalUndoRedoService','onTransformIME','_updateState','debug','image/jpeg','_onRemoteRejected','DEFAULT_COLLAB_WEB_SOCKET_URL','_permissionService','SUBMIT_CHANGESET','compute','_remoteChangesetQueue','_doProcessBlock','PERSON','HELLO','location','/-/object/-/batch_allowed','_waitForHeartbeatResponse','_createHmacHelper','_entities','ISnapshotServerService','_univerInstanceService','executeCommand','_transformStack','toggleOnline','\x20-\x20','onMutationExecutedForCollab','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','OfflineState','IUniverInstanceService','key','_socketService','\x0aCurrent:\x20','enableCollaboration','joinEvent','map','ILocalCacheService','[OfflineState]:\x20received\x20rejection.','fetch_missing','SUCCUSS','lib','_doCryptBlock','type','max','onTransformRemoteChangesetByStateCache','AuthzIoHttpService','DataLoaderService','univer-pro.collaboration-client.single-active-unit-service','UNAUTHENTICATED','collabSubmitChangesetUrl','compose','UNDEFINED','PERMISSION_DENIED','USER_NOT_INVITED_CODE','merge','src','reset','random','ITelemetryService','/collaborator','registerHTTPInterceptor','getResourcesRequest','range','emitEvent','buffer','has','REDEMPTION_INVALID_CODE','snapshotServerUrl','focused$','/universer-api/oidc/authpage','toStringTag','DATA_SOURCE_TOO_LARGE','DEFAULT_WS_SESSION_TICKET_URL','_sessions','_invKeySchedule','encodeURIComponent','_members$','_submitChangeset','_socket','ENTITLE_NEED_BILLING_ADDRESS','reconnect','ENTITLE_CHAT_LIMIT_EXCEED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','/new_changes','Latin1','_getCurrentRevision','HEARTBEAT_TIMEOUT','getCurrentRevOfUnit','HEARTBEAT_INTERVAL_KEY','getCurrentSelections','LICENSE_MAX_UNITS_EXCEEDED','fromCharCode','_onRecvEvent','[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.','formatter','_transformRemoteChangesetByStateCache','floor','image/jpg','initWorkbookPermissionChange','get','_getDownloadEndpointURL','_nRounds','asObservable','_change$','MSG_FOR_ERROR','post','_shouldReportTelemetry','entityInit$','HTTPRequest','now','PasswordBasedCipher','objectActions','_map','generateRandomId','parseChangesetToProtocol','_doReset','removeMember','[PendingState]:\x20received\x20acknowledgement.','_logService','_snapshotService','headers','NEW_CHANGESETS','blockSize','APPLY_DUPLICATED','concat','onRemoteAck','SNAPSHOT_URL_KEY','requireSession','&to=','[CollaborationUndoRedoService]','REDEMPTION_CODE_FULLY_REDEEMED','then','method','size','parseProtocolChangeset','cmd','closeSession','keySize','ciphertext','_members','isTransformMutationsWithChangesetSuccess','_sessionStatus$','incrementRevOfUnit','batchAllowed','JOIN','_syncEditingCollabCursor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','find','_onConnectionFailed','CollaborationEvent','HttpExport','_imageSourceCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_clearHeartbeatTimer','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SHOULD_CLOSE_CONN','isInternalEditorID','YUUMI_URL_COL_OUT_OF_RANGE','UniverTelemetry','_collabSessionService','socket\x20close','putCollaborators','_awaitingChangeset','_collaborationSessionService','leaveEvent','isTransformMutationsWithChangesetFailure','_compressMutationService','override','offline','_onUserJoin','AES','ENSURE_SNAPSHOT_EXECUTION','DocCollaborationEntity','_resendTimeout','ERROR_IMAGE_TYPE','delete','_sheetTransformSelectionsService','_clearCollaborationTimeoutTimer','[CollaborationSessionService]','YUUMI_CONNECTOR_URL_NOT_FOUND','length','amd','_undoRedoService','_handler','SheetCollaborationEntity','_sendHeartbeat','onTransformRemoteChangesetByIMECache','WorkbookEditablePermission','cfg','RxDisposable','_telemetryService','subscribe','SNAPSHOT_HAS_BEEN_REMOVED','_unitID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decryptBlock','_onUserLeave','isArray','SheetsSelectionsService','_telemetryInfo','IDLE','transformMutationsWithChangeset','ERROR_AGAIN','fetching\x20missing\x20changesets\x20from\x20','getMember','HttpImport','message$','_configService','JSONX','AUTHORIZE_CODE_ILLEGAL','close','[PendingState]:\x20received\x20rejection.','_transitionLocked','_iv','avatar','equals','unknown','authzUrl','getGlobalObject','GLOBAL_ROOMS_CNT_EXCEEDS','getUnitType','_candidateSocket','JOIN_ROOM_NOT_EXISTS','ENTITLE_DUP_SUBSCRIPTION','ENTITLE_INVALID_COUPON_CODE','UserProfileImg','unitInfo$','_resendTimer','LICENSE_EXPORT_SIZE_EXCEEDED','mixIn','_prevBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformState','randomBytes','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_undoStacks','RETRY_CONNECTING_MAX_COUNT','onMissingChangesets','sheets','_unlockTransition','Utf8','_applyRemoteChangeset','6edqSFO','getImage','mergeOverrideWithDependencies','delay','getCurrentUser','sessionStatus','mode','onSendChangeset','_socketReady','saveSheetBlock','APPLY_NON_SEQUENTIAL_REVISION','UnitEmbedded','UniverInstanceType','CollaborationEntity','ceil','memberID','subject','_executeRemoteChangeset','SHA1','actions','ivSize','updateCollaborator','state$','_sendHeartbeatTimer','onTransformSelections','_tryEnsureSocket','downloadEndpointUrl','loginUrlKey','update','_lockTransition','allowed','firstValueFrom','parse','_memberService','__creator','listRoles','deleteCollaborator','_getUploadFileURL','padding','_nDataBytes','DEFAULT_FILE_NAME','ENTITLE_COUPON_EXPIRED','code','session.room-not-exists','JOIN_ROOM_PERMISSION_DENIED','repeat','liveShareOperation','onSyncEditingCollabCursor','/universer-api/uniscript','_state','_removeRoom','onRemoteRej','UPDATE_PERMISSION_OBJ','updateSnapshot','_substituteRedoStack','HTTPService','data','_httpService','revision','createEncryptor','patch','_transformService','CollaborationController','_config','unsubscribe','rev','_onRemoteChangeset','_updateLocalCache','BehaviorSubject','push','1902803BHQOPy','onCommentUpdate','_resendWithTimeout','shouldCloseConn','IUndoRedoService','POST','SyncedState','_entityInit$','mapDocumentTypeToUniverType','set','concatMap','MemberService','getTypeOfUnitDisposed$','\x0aAfter:\x20','addHandlerCallback','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','WordArray','ENTITLE_USE_COUPON_NOT_1ST_TRADE','algo','getOwnPropertyDescriptor','APPLY_REJECT','CollaborationUIEventService','_collaborationTimeoutTimer','_retryConnectingTimer','\x20to\x20','sid','_hash','onRemoteChangeset','updateOfflineData','_roomCreated$','_networkConditionService','_collaborationUIEventService','SYNCED','_transformRemoteChangesetByIMECache','min','UniverCollaborationClientPlugin','_replaceFileID','operators','USER_IS_ANONYMOUS','string','_onConnectionOpen','COMPLETION_FINISHED','CLOSE_ROOM','_getCtorByUniverType','UNISCRIPT_RUN','hasher','subUnitId','transformSelections','unitId','_revisionService','_onOffline','sessionStatus$','LIVESHARE_NEW_HOST','LIVESHARE_FETCH_OPERATIONS','ConflictState','onlyLocal','_initRequestHeader','Optional','_substituteUndoStack','_getSendChangesetTimeout','_toggleOnline','AwaitingState','_type','FileId','words','_startCollaboration','[OfflineState]:\x20received\x20changeset.','ThresholdInterceptorFactory','includes','error','OpenSSL','clear','ILogService','IContextService','_clearTimeoutTimer','_toggleOffline','conflict','UniverDocs','[CollaborationEntity]','CONFLICT','sendChangesetTimeout','collaboration-client.local-cache-service','join','every','YUUMI_UNABLE_LOAD_URL','awaiting_with_pending','transformStack\x20failed!','CollaborationSession','JOIN_ROOM_FAILED','CipherParams','encode','UNIVER_PROJECT','shareReplay','LIVESHARE_REQUEST_HOST','LOGIN_FAILED','socketService','onRemoteRetry','ENTITLE_COUPON_USED_UP','requestParams','/object','16IgMeue','EMAIL_HAS_BEEN_BOUND','b64DecodeUnicode','__Key__','_createInitialState','REDEMPTION_CODE_INACTIVE','loadOfflineData','iterations','AWAITING_WITH_PENDING','COMPRESS_MUTATION_SEND','MentionIoHttpService','apply','getInterceptPoints','_event$','_disableEditing','pipe','/universer-api/snapshot','m2Prime','enc','Injector','NOT_FOUND','_joinRoom','fetchMiss','workbook','ITransformService','FetchingMissState','startsWith','_timeoutTimer','LOCAL_CACHE_INTERVAL','rxjs','_transformSelections','_status$','UniverNetwork','Undefined','take','getSnapshotAPIPath','Plugin','telemetry\x20info\x20is\x20not\x20initialized','mutations','uploadFileServerUrl','&assign=','_handlerCallback','COMMENT_UPDATE','function','synced','HmacSHA1','_HTTPService','_cipher','_createSocket','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_REPORT_LIMIT_EXCEED','joinRsp','ERROR_IMAGE','\x20in\x20_schedule.','_onRemoteACK','substr','session','sin','name','UNKNOWN_CODE','_doCreateSocket','CHANGESET_SHOULD_RETRY','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearLocalCache','UnitSnapshot','_clearUndo','exports','OFFLINE','getValue','_updateStatus','decrypt','_onLocalMutation','default','Subject','sequenceExecute','loadUnitOfRevision'];_0x5316=function(){return _0x13130c;};return _0x5316();}
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x91a6(_0x19705a,_0x220f18){_0x19705a=_0x19705a-0x10c;const _0x53d767=_0x53d7();let _0x91a6f=_0x53d767[_0x19705a];return _0x91a6f;}(function(_0x510686,_0x122bad){const _0x3a304e=_0x91a6,_0x367b81=_0x510686();while(!![]){try{const _0x5a4040=parseInt(_0x3a304e(0x113))/0x1+-parseInt(_0x3a304e(0x125))/0x2+-parseInt(_0x3a304e(0x133))/0x3+-parseInt(_0x3a304e(0x13f))/0x4+parseInt(_0x3a304e(0x131))/0x5+-parseInt(_0x3a304e(0x11e))/0x6*(parseInt(_0x3a304e(0x11b))/0x7)+parseInt(_0x3a304e(0x10e))/0x8;if(_0x5a4040===_0x122bad)break;else _0x367b81['push'](_0x367b81['shift']());}catch(_0x8d24b3){_0x367b81['push'](_0x367b81['shift']());}}}(_0x53d7,0xa5eb7),function(_0xbb0b01,_0x531bfa){const _0x1b7067=_0x91a6;typeof exports==_0x1b7067(0x143)&&typeof module<'u'?_0x531bfa(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x1b7067(0x148)]?define([_0x1b7067(0x145),_0x1b7067(0x118),_0x1b7067(0x14c),_0x1b7067(0x117),'@univerjs/core',_0x1b7067(0x124)],_0x531bfa):(_0xbb0b01=typeof globalThis<'u'?globalThis:_0xbb0b01||self,_0x531bfa(_0xbb0b01[_0x1b7067(0x115)]={},_0xbb0b01[_0x1b7067(0x122)],_0xbb0b01[_0x1b7067(0x12a)],_0xbb0b01[_0x1b7067(0x11f)],_0xbb0b01[_0x1b7067(0x119)],_0xbb0b01[_0x1b7067(0x124)]));}(this,function(_0x7bf351,_0x594716,_0x17c37e,_0x2cb4ff,_0x4c2a01,_0x4d58bb){'use strict';const _0x4224c7=_0x91a6;class _0x5582f6 extends _0x17c37e[_0x4224c7(0x134)]{get[_0x4224c7(0x114)](){return _0x594716['CollaborationStatus'];}}_0x17c37e['FEnum'][_0x4224c7(0x13e)](_0x5582f6);var _0x4f1997=Object['getOwnPropertyDescriptor'],_0x2507e4=(_0x140cbb,_0x42c638,_0x35675c,_0x338403)=>{const _0x5e2a0f=_0x4224c7;for(var _0x4978be=_0x338403>0x1?void 0x0:_0x338403?_0x4f1997(_0x42c638,_0x35675c):_0x42c638,_0x53c307=_0x140cbb[_0x5e2a0f(0x14a)]-0x1,_0x44197a;_0x53c307>=0x0;_0x53c307--)(_0x44197a=_0x140cbb[_0x53c307])&&(_0x4978be=_0x44197a(_0x4978be)||_0x4978be);return _0x4978be;},_0x174d6a=(_0x947039,_0x5d76e6)=>(_0x252f15,_0x295545)=>_0x5d76e6(_0x252f15,_0x295545,_0x947039);_0x7bf351[_0x4224c7(0x144)]=class extends _0x17c37e[_0x4224c7(0x11c)]{constructor(_0x59808b,_0x152c05,_0x565ea8,_0x39b2b9,_0x2c8bf7){const _0x1bc41e=_0x4224c7;super(),this[_0x1bc41e(0x112)]=_0x59808b,this['_injector']=_0x152c05,this[_0x1bc41e(0x129)]=_0x565ea8,this[_0x1bc41e(0x11d)]=_0x39b2b9,this[_0x1bc41e(0x128)]=_0x2c8bf7;}async[_0x4224c7(0x13a)](){const _0xcd74f3=_0x4224c7;return this[_0xcd74f3(0x135)]();}async[_0x4224c7(0x135)](){const _0x21078d=_0x4224c7;throw new Error(_0x21078d(0x13c));}async[_0x4224c7(0x121)](_0x6f43e2){return this['loadSheetAsync'](_0x6f43e2);}async[_0x4224c7(0x14e)](_0x450142,_0x2d20e8){const _0x49acfa=_0x4224c7;return await this[_0x49acfa(0x11d)][_0x49acfa(0x121)](_0x450142,0x0,_0x2d20e8)?(await this[_0x49acfa(0x128)][_0x49acfa(0x116)](_0x450142),this[_0x49acfa(0x112)]['getUniverSheet'](_0x450142)):null;}['subscribeCollaborators'](_0x1368c9,_0x409a09){const _0x89a095=_0x4224c7,_0xd5ceba=this['_injector'][_0x89a095(0x12f)](_0x594716[_0x89a095(0x130)])[_0x89a095(0x147)](_0x1368c9)[_0x89a095(0x13b)](_0x4d58bb[_0x89a095(0x110)](_0x5d2a15=>_0x5d2a15[_0x89a095(0x146)]))[_0x89a095(0x10c)](_0xe45d6b=>_0x409a09(Array[_0x89a095(0x12b)](_0xe45d6b[_0x89a095(0x142)]())));return _0x4c2a01['toDisposable'](_0xd5ceba);}[_0x4224c7(0x10f)](){const _0x10a43a=_0x4224c7,_0xe62e96=this['_univerInstanceService'][_0x10a43a(0x137)]();if(!_0xe62e96)return _0x594716[_0x10a43a(0x114)][_0x10a43a(0x11a)];const _0x1d310b=this['_collaborationController']['getCollabEntity'](_0xe62e96['getUnitId']());return _0x1d310b?_0x1d310b[_0x10a43a(0x120)][_0x10a43a(0x138)]:_0x594716['CollaborationStatus'][_0x10a43a(0x11a)];}},_0x7bf351[_0x4224c7(0x144)]=_0x2507e4([_0x174d6a(0x1,_0x4c2a01[_0x4224c7(0x149)](_0x4c2a01[_0x4224c7(0x123)])),_0x174d6a(0x2,_0x4c2a01['IUniverInstanceService']),_0x174d6a(0x3,_0x4c2a01[_0x4224c7(0x149)](_0x2cb4ff[_0x4224c7(0x140)])),_0x174d6a(0x4,_0x4c2a01[_0x4224c7(0x149)](_0x594716[_0x4224c7(0x10d)]))],_0x7bf351[_0x4224c7(0x144)]);class _0x2aafde extends _0x17c37e[_0x4224c7(0x14b)]{[_0x4224c7(0x12c)](){const _0x3bb165=_0x4224c7;return this['_injector'][_0x3bb165(0x139)](_0x7bf351[_0x3bb165(0x144)],{'getUniverSheet':_0x110240=>this[_0x3bb165(0x111)](_0x110240)});}[_0x4224c7(0x127)](_0x18faa7,_0x3cc826,_0x357263){const _0x3c47cd=_0x4224c7;return this[_0x3c47cd(0x126)]['get'](_0x594716[_0x3c47cd(0x132)])[_0x3c47cd(0x141)](_0x18faa7,_0x3cc826,_0x357263);}[_0x4224c7(0x12e)](_0x173f5f,_0x1d8dac,_0x1c7d69){const _0x10749a=_0x4224c7;return this[_0x10749a(0x126)][_0x10749a(0x12f)](_0x594716[_0x10749a(0x132)])[_0x10749a(0x13d)](_0x173f5f,_0x1d8dac,_0x1c7d69);}}_0x17c37e[_0x4224c7(0x14b)][_0x4224c7(0x13e)](_0x2aafde),Object[_0x4224c7(0x136)](_0x7bf351,Symbol[_0x4224c7(0x14d)],{'value':_0x4224c7(0x12d)});}));function _0x53d7(){const _0x3a3511=['_snapshotService','416136WkGuYw','UniverProCollaboration','state','loadSheet','UniverProCollaborationClient','Injector','rxjs','2716088fmkpxJ','_injector','loadServerUnit','_collaborationController','_univerInstanceService','UniverCoreFacade','from','getCollaboration','Module','loadServerUnitOfRevision','get','MemberService','3921250CFcrXi','DataLoaderService','2601615GGnIEm','FEnum','loadActiveSheetAsync','defineProperty','getFocusedUnit','status','createInstance','loadActiveSheet','pipe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadUnitOfRevision','extend','4082420mpEXac','SnapshotService','loadUnit','values','object','FCollaboration','exports','members$','waitForRoom$','amd','Inject','length','FUniver','@univerjs/core/facade','toStringTag','loadSheetAsync','subscribe','CollaborationController','29283664ZzIwZQ','getCollaborationStatus','switchMap','getUniverSheet','_handler','798517zvVBmJ','CollaborationStatus','UniverProCollaborationClientFacade','readyForCollab','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client','UniverCore','NOT_COLLAB','133HdRbuk','FBase'];_0x53d7=function(){return _0x3a3511;};return _0x53d7();}
5
+ (function(_0x141629,_0x19b82e){const _0x452787=_0x5d1c,_0x52e22f=_0x141629();while(!![]){try{const _0x86df6a=parseInt(_0x452787(0x116))/0x1+-parseInt(_0x452787(0x111))/0x2+-parseInt(_0x452787(0xe6))/0x3*(-parseInt(_0x452787(0x10d))/0x4)+-parseInt(_0x452787(0x11a))/0x5+-parseInt(_0x452787(0x112))/0x6+parseInt(_0x452787(0x10c))/0x7*(-parseInt(_0x452787(0xfe))/0x8)+-parseInt(_0x452787(0xe2))/0x9*(-parseInt(_0x452787(0xf1))/0xa);if(_0x86df6a===_0x19b82e)break;else _0x52e22f['push'](_0x52e22f['shift']());}catch(_0x248e5b){_0x52e22f['push'](_0x52e22f['shift']());}}}(_0x5e01,0x3e398),function(_0x115d86,_0x4ba9e3){const _0x350aeb=_0x5d1c;typeof exports=='object'&&typeof module<'u'?_0x4ba9e3(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x350aeb(0xfb)&&define[_0x350aeb(0x11f)]?define([_0x350aeb(0xee),_0x350aeb(0x11c),'@univerjs/core/facade',_0x350aeb(0x10a),_0x350aeb(0xec),_0x350aeb(0xe4)],_0x4ba9e3):(_0x115d86=typeof globalThis<'u'?globalThis:_0x115d86||self,_0x4ba9e3(_0x115d86[_0x350aeb(0xf4)]={},_0x115d86[_0x350aeb(0xed)],_0x115d86[_0x350aeb(0x121)],_0x115d86[_0x350aeb(0xf0)],_0x115d86[_0x350aeb(0xf5)],_0x115d86['rxjs']));}(this,function(_0x115386,_0x43617f,_0x32518e,_0x447ad5,_0x5845df,_0x300528){'use strict';const _0x131e75=_0x5d1c;class _0x241c95 extends _0x32518e[_0x131e75(0x105)]{get[_0x131e75(0xe7)](){const _0x5a3381=_0x131e75;return _0x43617f[_0x5a3381(0xe7)];}}_0x32518e['FEnum'][_0x131e75(0x113)](_0x241c95);var _0x4cc2ae=Object[_0x131e75(0x114)],_0x1d0d4c=(_0xc23e5f,_0x54b113,_0x23f9f0,_0x1fd3f7)=>{const _0x170a67=_0x131e75;for(var _0x46113d=_0x1fd3f7>0x1?void 0x0:_0x1fd3f7?_0x4cc2ae(_0x54b113,_0x23f9f0):_0x54b113,_0x4639de=_0xc23e5f[_0x170a67(0xde)]-0x1,_0x1970a2;_0x4639de>=0x0;_0x4639de--)(_0x1970a2=_0xc23e5f[_0x4639de])&&(_0x46113d=_0x1970a2(_0x46113d)||_0x46113d);return _0x46113d;},_0xee84f1=(_0x15caac,_0x83f15d)=>(_0x5c958f,_0x4227d2)=>_0x83f15d(_0x5c958f,_0x4227d2,_0x15caac);_0x115386[_0x131e75(0x120)]=class extends _0x32518e[_0x131e75(0x122)]{constructor(_0x106cef,_0x411878,_0xff7657,_0x108694,_0x4fe30a){const _0x4c3045=_0x131e75;super(),this[_0x4c3045(0x100)]=_0x106cef,this[_0x4c3045(0xfa)]=_0x411878,this[_0x4c3045(0x110)]=_0xff7657,this[_0x4c3045(0x11e)]=_0x108694,this[_0x4c3045(0xef)]=_0x4fe30a;}async[_0x131e75(0x102)](){const _0x124336=_0x131e75;return this[_0x124336(0x119)]();}async[_0x131e75(0x119)](){const _0x2978f9=_0x131e75;throw new Error(_0x2978f9(0x106));}async[_0x131e75(0xff)](_0x108259){const _0x4378a7=_0x131e75;return this[_0x4378a7(0x117)](_0x108259);}async[_0x131e75(0x117)](_0x21084b,_0x1c4a5d){const _0x44f7c9=_0x131e75;return await this['_snapshotService'][_0x44f7c9(0xff)](_0x21084b,0x0,_0x1c4a5d)?(await this[_0x44f7c9(0xef)][_0x44f7c9(0x104)](_0x21084b),this[_0x44f7c9(0x100)]['getUniverSheet'](_0x21084b)):null;}[_0x131e75(0xdd)](_0x41553b,_0x176c57){const _0x39690e=_0x131e75,_0x3055c2=this['_injector']['get'](_0x43617f[_0x39690e(0xea)])['waitForRoom$'](_0x41553b)[_0x39690e(0x108)](_0x300528[_0x39690e(0x103)](_0x202ae9=>_0x202ae9['members$']))[_0x39690e(0x10b)](_0xfd495=>_0x176c57(Array[_0x39690e(0x11b)](_0xfd495[_0x39690e(0xf3)]())));return _0x5845df[_0x39690e(0x109)](_0x3055c2);}[_0x131e75(0x10f)](){const _0x4a7082=_0x131e75,_0x37d8b3=this[_0x4a7082(0x110)]['getFocusedUnit']();if(!_0x37d8b3)return _0x43617f[_0x4a7082(0xe7)][_0x4a7082(0x107)];const _0x180a28=this[_0x4a7082(0xef)][_0x4a7082(0xdf)](_0x37d8b3[_0x4a7082(0xe9)]());return _0x180a28?_0x180a28[_0x4a7082(0xe1)][_0x4a7082(0x115)]:_0x43617f[_0x4a7082(0xe7)][_0x4a7082(0x107)];}},_0x115386['FCollaboration']=_0x1d0d4c([_0xee84f1(0x1,_0x5845df[_0x131e75(0xf2)](_0x5845df[_0x131e75(0xf9)])),_0xee84f1(0x2,_0x5845df[_0x131e75(0xe5)]),_0xee84f1(0x3,_0x5845df['Inject'](_0x447ad5[_0x131e75(0xfd)])),_0xee84f1(0x4,_0x5845df[_0x131e75(0xf2)](_0x43617f[_0x131e75(0xfc)]))],_0x115386[_0x131e75(0x120)]);class _0x109e56 extends _0x32518e[_0x131e75(0xf8)]{[_0x131e75(0x11d)](){const _0x106c79=_0x131e75;return this[_0x106c79(0xfa)][_0x106c79(0xeb)](_0x115386[_0x106c79(0x120)],{'getUniverSheet':_0x1373d8=>this[_0x106c79(0xe0)](_0x1373d8)});}[_0x131e75(0x101)](_0x168fde,_0x199396,_0x1f334f){const _0x5b6f9b=_0x131e75;return this['_injector']['get'](_0x43617f[_0x5b6f9b(0xf6)])['loadUnit'](_0x168fde,_0x199396,_0x1f334f);}[_0x131e75(0xe8)](_0x4272df,_0x9b0218,_0x1f1113){const _0x47a94b=_0x131e75;return this[_0x47a94b(0xfa)][_0x47a94b(0xe3)](_0x43617f[_0x47a94b(0xf6)])[_0x47a94b(0x118)](_0x4272df,_0x9b0218,_0x1f1113);}}_0x32518e[_0x131e75(0xf8)][_0x131e75(0x113)](_0x109e56),Object['defineProperty'](_0x115386,Symbol[_0x131e75(0x10e)],{'value':_0x131e75(0xf7)});}));function _0x5d1c(_0x42e439,_0x22c696){_0x42e439=_0x42e439-0xdd;const _0x5e01df=_0x5e01();let _0x5d1cd0=_0x5e01df[_0x42e439];return _0x5d1cd0;}function _0x5e01(){const _0x2f58ce=['443654XostAi','loadSheetAsync','loadUnitOfRevision','loadActiveSheetAsync','2310505REOwXQ','from','@univerjs-pro/collaboration-client','getCollaboration','_snapshotService','amd','FCollaboration','UniverCoreFacade','FBase','subscribeCollaborators','length','getCollabEntity','getUniverSheet','state','63mVTzSg','get','rxjs','IUniverInstanceService','245121EgTLmL','CollaborationStatus','loadServerUnitOfRevision','getUnitId','MemberService','createInstance','@univerjs/core','UniverProCollaborationClient','exports','_collaborationController','UniverProCollaboration','1257110OrnHzV','Inject','values','UniverProCollaborationClientFacade','UniverCore','DataLoaderService','Module','FUniver','Injector','_injector','function','CollaborationController','SnapshotService','8aUlTBd','loadSheet','_handler','loadServerUnit','loadActiveSheet','switchMap','readyForCollab','FEnum','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','NOT_COLLAB','pipe','toDisposable','@univerjs-pro/collaboration','subscribe','1588762WRFNhK','4XwPblI','toStringTag','getCollaborationStatus','_univerInstanceService','358062qSCuPf','1694208GCiHll','extend','getOwnPropertyDescriptor','status'];_0x5e01=function(){return _0x2f58ce;};return _0x5e01();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x1e96(_0x33e75d,_0x33584b){_0x33e75d=_0x33e75d-0x8b;const _0x276d1c=_0x276d();let _0x1e961c=_0x276d1c[_0x33e75d];return _0x1e961c;}function _0x276d(){const _0x252eaa=['deserializeRangeWithSheet','flatMap','fillText','getColorFromTheme','doc.mutation.rich-text-editing','react/jsx-runtime','IRenderManagerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','VIEW_MAIN','REDEMPTION_USER_NOT_ELIGIBLE','cursorInfo$','parseInt','_hideTimer','find','_updateURLWithCurrentState','IBeforeCloseService','[LogService\x20Error]:\x20','size','getCellPositionByOffset','collabStatus.fetchMiss','registerRefRange','_docTransformIMECacheService','createIdentifier','_startDocCollabCursor','ranges','exhaustSavingTask','shareReplay','storage','ENTITLE_CHAT_LIMIT_EXCEED','CollaborationSocketService','addObject','unhandledrejection','SessionStatus','stringify','YUUMI_RATE_OVER_LIMIT','subscribeEvent','collabStatus.syncing','Rect','_scheduleSaving','_collaborationUIEventService','_taskIds','isTransformMutationFailure','SetTextSelectionsOperation','removeParam','_createSocketURL','getRenderById','jsxs','makeDirty','_docStateChangeManagerService','_updateLocalCursor','RECT','FETCH_MISS','getMemberID','getFocusedUnit','_initUserListener','getStateCache','top','green.600','actions','@univerjs/docs-ui','RemoveColCommandId','functionsExecutedState','getConfig','getMember','_send','_memberID','SHEET_VIEWPORT_KEY','YUUMI_AI_RUN_FAILED','setItem','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','REDEMPTION_CODE_FULLY_REDEEMED','_shapes','SUBMIT_CHANGESET_TIMEOUT','amd','DeleteRangeMoveLeftCommandId','source','reason','height','DocStateChangeManagerService','displayName','forEach','_onRefRangeChange','saveOfflineData','UniverCore','getTypeOfUnitAdded$','useDependency','UniverInstanceType','_labelPosition','_showGuardMessage','_docSkeletonManagerService','IUIPartsService','pluginName','rgba(255,\x20255,\x20255,\x200.01)','post','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_config','_color','onPointerMove$','collabStatus.notCollab','DOC_RANGE_TYPE','getUniverSheetInstance','CanceledError','_uiPartsService','_setFormulaLimitStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SetFormulaCalculationStartMutation','useCallback','ENTITLE_DUP_SUBSCRIPTION','UniverEngineFormula','filter','Unknown\x20user','max','LOCAL_CACHE_INTERVAL','href','_setupBeforeClosingHandler','React','Failed','_hovered','handleIRemoveCol','loadOfflineData','_initEvent','random','permission.content','APPLY_REJECT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_drawTextRange','UniverCollaborationClientUIPlugin','APPLY_NON_SEQUENTIAL_REVISION','disposeWithMe','handleInsertRow','isTransformMutationsWithChangesetSuccess','Tooltip','UniverDrawing','addObjects','_collaborationController','_registerDependencies','invokeId','hide','unitId','USERS_LEAVE','PY_RUNTIME_SCRIPT_ERROR','createInstance','collab-text-range-','AWAITING_WITH_PENDING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','PENDING','REDEMPTION_INVALID_CODE','generateRandomId','_dataLoaderService','_imageIoService','colorChannel1','next','getUnitId','from','ThemeService','OFFLINE','disableLocalCache','_saveTaskMap','pipe','RevisionService','@univerjs/core','lineTo','DataLoaderService','_pollingInterval','_eventUnsubscribe','getSheetId','delete','SOCKET_FAILED','UNIVER_DOC','_render','debounce','getCurrentUnitForType','getTypeOfUnitDisposed$','push','handleInsertRangeMoveRight','round','_messageService','_saveCache','START_CALCULATION','Inject','_toggleOffline','length','@univerjs/ui','_docTransformSelectionsService','_transformPreviousActiveRange','collaboration.closeRoom','jsx','DocSelectionManagerService','object','transform','2258135IPvvWV','/run/','roomMembers','connectInjector','registerRenderModule','INVITE_CODE_REQUIRED','_hasFormulaInDirtyRanges','_collabSessionService','295SthjCV','FormulaExecuteStageType','_transformService','M0\x200H16V16H0z','getSkeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CollaborationUIEventId','complete','_getFormulaLimitStatus','ENTITLE_COUPON_USED_UP','_context','_setupSubUnitSync','_urlService','/universer-api/license/formula/limit/done','registerBeforeClose','ENTITLE_COUPON_EXPIRED','labelPosition','APPLY_PERMISSION_DENIED','subscribe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','activeSheet$','beforeCommandExecuted','\x20at\x20','_docTransformStateCacheService','getCurrentRevOfUnit','_initCommandExecutedListener','#FFF','_removeClearOtherTimer','registerDependencies','takeUntil','CommandType','_docClipboardService','INVALID_INVITE_CODE','unshift','YUUMI_ASYNCIO_CANCELLED','_handleHeartbeatEvent','transformSelections','message','_collaborationSessionService','Disposable','startRow','SNAPSHOT_HAS_BEEN_REMOVED','_renderManagerService','_onCursorUpdate','http://www.w3.org/2000/svg','replaceState','@univerjs/network','sessionStatus$','...','getCollabCursors$','includes','collaboration.offline-data-not-saved','181089lbLabS','@univerjs/engine-formula','ENTITLE_REPORT_LIMIT_EXCEED','NO_OTHER_CLIENTS_EDITING','arc','?taskId=','eventID','_applyCommand','_scheduleClearOtherTimer','UNIVER_SHEET','div','InsertRangeMoveDownCommandId','COLORS','status$','setShapeProps','setConfig','imageSourceType','USER_NOT_FOUND','selections','_selfUnitIDs','drawWith','RemoveRowCommandId','_disabled','createElement','_online','disposeUnit','idSuffix','onPointerLeave$','saveTaskMap','code','onMouseMove','_localCacheService','currentColor','_cursorShapes','dispose$','EffectRefRangId','LOCAL_CACHE_INTERVAL_KEY','limitInfo','ENTITLE_INSUFFICIENT_QUOTA','CollaborationController','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getLocalCacheKey','off-line-icon_clip0_910_343','_checkAndWaitForCalculationPermission','OTHER_CLIENT_EDITING','transformRemoteChangeset','transformByState','_initWindowErrorListener','isFormulaString','_hover','DEFAULT_WS_SESSION_TICKET_URL','_drawAnchor','ISnapshotServerService','LocaleService','mutations','clearTimeout','_revisionService','_init','_cachedData','has','isFormulaId','getColor','xlink:href','_cursorInfo$','popstate','jiqing.500','IConfigService','body','stack','on-line-icon','LICENSE_MAX_UNITS_EXCEEDED','INotificationService','_doCreateSocket','EMAIL_HAS_BEEN_BOUND','_uploadLog','_docSkeleton','onPointerEnter$','_collabCursorController','getUndoRedoMutationParamsCache','_initStatusComponent','startFormulaLimitUrl','add','REDEMPTION_CODE_NOT_STARTED','Tools','_roomMembers$','some','_httpService','_currentUsage','getOffsetConfig','_name','LOGIN_TOKEN_PROCESSING_FAILED','width','UniverRpc','SetWorksheetActivateCommand','beginPath','_refRangeService','@univerjs/docs','mergeOverrideWithDependencies','CollaborationSessionService','react','runId','_monkeyPatchLogService','_anchorDot','getCurrentSelections','fromEvent','selection','_initEntityListener','debug','18916caFSAs','parse','_sheetSkeletonManagerService','runOnServer','_textBubble','1em','replace','_checkCalculationAvailable','_transformHistoryAndStateStack','isEditing','stageInfo','_cursor','touchDependencies','ILocalCacheService','removeEventListener','handleDeleteRangeMoveLeft','_handleEvent','REDEMPTION_CODE_HAS_BEEN_CREATED','ONLINE','UniverProCollaborationClientUi','_entityInit$','engine','UniverProCollaboration','FromArray','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','wsSessionTicketUrl','[CollaborationDataLoaderController]','registerComponent','_memberService','UNAUTHENTICATED','UniverCollaborationClientPlugin','range','bind','YUUMI_URL_COL_OUT_OF_RANGE','getVpScrollXYInfoByPosToVp','SYNCED','IRemoteInstanceService','40jMqPiQ','defIds','_initResize','TOO_MANY_REQUESTS','collab-rect-range-','getCollabEntity$','UniverEngineRender','@univerjs-pro/collaboration-client','AUTHORIZE_CODE_ILLEGAL','_getAnchorBounding','RegularPolygon','event$','error','_docSyncEditingCollabCursorService','_getSaveTimeout','USER_NOT_INVITED_CODE','lineno','DocIMEInputManagerService','_initUnhandledRejectionListener','LOGIN_FAILED','cursorInfo','collabStatus.offline','throttleTime','deepClone','Optional','docStateChange$','NOT_FOUND','_instanceService','BehaviorSubject','AWAITING','COMPLETION_FINISHED','combineLatest','toStringTag','UPDATE_CURSOR','CollaborationEvent','history','_syncEditingCollabCursorService','session.connection-failed','getUnitStatus$','defs','saveImage','translate(.97)','triggerDblclick','CONNECTOR_DATA_TOO_LARGE','rxjs','/universer-api/frontend/logs','_scene','isArray','INTERNAL_ERROR','string','subunit','collabCursorState$','_themeService','CLOSE_ROOM','_colorAssignService','fillStyle','enableLocalCache','redoState','isActive','ENTITLE_CAN_NOT_BUY_LOWER_OTP','MOBILE_VERIFY_CODE_MISMATCH','_heartbeatTimer','collaboration-client-ui.config','RemoteUniscriptService','_lastResponseTimestamp','urlChange$','session.will-retry','APPLY_DUPLICATED','_refreshCollabCursors','_unitOnClients','BrowserCollaborationSocketService','RefRangeService','SheetCollabCursorShape','backgroundColor','substring','497iTMlYs','_document','_assignedColors','_localStorageService','black','OnLineIcon','_draw','m2Prime','transformMutationsWithChangeset','collab-client.tooltip.reconnect','_configService','onLocalMutation','attrs','WebSocketService','UnitStatus','SetFormulaCalculationNotificationMutation','6696376HqjzyV','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getActiveSheet','replaceDocRanges','path','SetDocZoomRatioOperation','18gpJTFk','SetSelectionsOperation','ALREADY_EXISTS','IDocClipboardService','key','data','getValue','blue.400','evenodd','USER_IS_ANONYMOUS','values','UniverIcon','result','_commandService','Loading','requireSession','getSheetBySheetId','clearInterval','currentUsage','JOIN_ROOM_FAILED','url(#off-line-icon_clip0_910_343)','0\x200\x2016\x2016','ICommandService','save','addClipboardHook','currentTheme$','maxFormulaLimit','serializeRangeWithSheet','url(#$1','_backgroundColor','_id','children','Subject','search','@univerjs/rpc','map','svg','_handleLeaveEvent','_injector','ERROR_AGAIN','49926gzHczx','YUUMI_UNABLE_LOAD_URL','_maxFormulaLimit','releaseFormulaLimitUrl','getRelativeToViewportCoord','YUUMI_ALL_TABLES_IS_INVALID','13591GRwXvr','_startCalculationLimit','_logService','YUUMI_CONNECTOR_URL_NOT_FOUND','clsx','params','_startSheetCollabCursor','_range','location','socket$','memberID','YUUMI_NO_CUBOID_FOR_QUESTION','TEXT','column','Injector','@univerjs/sheets-ui','permission.title','_ensureSubject','with','UniverUi','ENTITLE_NEED_BILLING_ADDRESS','univerjs-icon\x20univerjs-icon-','LICENSE_IMPORT_SIZE_EXCEEDED','@univerjs/engine-render','debounceTime','application/json','unload','_entities','_univerInstanceService','stage','_localeService','assign','fill','handleInsertCol','getCurrent','unit','contains','yellow.400','type','WebBrowserSingleActiveUnitService','toRgbString','1587660YSrlrE','REDEMPTION_CODE_INACTIVE','setAlpha','_getScale','MoveRangeCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Shape','ColorKit','_updateCollabCursors','INVITE_CODE_HAS_BEEN_UES','endRow','assignAColorForMemberID','collaboration.single-unit.warning','sheetID','UNDEFINED','getRangePointData','MUTATION','CHANGESET_REVISION_CONFILICT','tag','toString','DocCollaborationEntity','_drawRectRange','ITransformService','_lastPointer','LICENSE_EXPORT_SIZE_EXCEEDED','RxDisposable','_session','NodePositionConvertToRectRange','ILocalStorageService','ISocketService','formula.calculation.unable','onCommandExecuted','measureText','OTHER_CLIENTS_EDITING','collab-text-anchor-','init','setInterval','getUnit','createSocket','getParam','BuiltInUIPart','HTTPService','get','Warning','ENTITLE_INVALID_COUPON_CODE','onStarting','_initDependencies','_initStatusListener','unsubscribe','_handleJoinEvent','_registerRenderDependencies','now','set','text','asObservable','MessageType','startColumn','DesktopCollaborationStatusDisplayController','WECHAT_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','newValue','_collabCursorState$','ACTIVE_UNIT_EVENT_CHANNEL','IUniverInstanceService','transformStateCache','univer-mr-2\x20univer-flex\x20univer-text-xl','_unitStatus','_colorIndex','CONFLICT','YUUMI_SUBSCRIPTION_NOT_FOUND','getAncestorScale','_releaseCalculationLimit','Vector2','executionId','entityInit$','_transformUndoRedoStack','getDocRanges','SOCKET_FAILED_RETRY','_onCursorDelete','@univerjs/sheets','session.collaboration-timeout','setStateCache','subUnitId','[Unhandled\x20Rejection]:\x20','show','OffLineIcon','handleDeleteRangeMoveUp','_removeCollabCursors','clipPath','_clearPolling','_getMergeRange','reconnect','_scheduleHeartbeat','TEXT_RANGE_LAYER_INDEX','textRanges','LICENSE_DISTRO_REJECTED','forwardRef','row','undoState','getMergeData','setParam','_updateSubUnitFromURLParams','restore','enableFrontendLog','24NZTuGy','_getSessionTicket','ILogService','addEventListener','send','white','_status$','getOwnPropertyDescriptor','switchMap','name','@univerjs-pro/collaboration','CURRENT_STATUS_CANNOT_OPERATE','APPLY_REVISION_CONFILICT','color','NOT_COLLAB','transformIMECache','m1Prime','dispose','NodePositionConvertToCursor','PAYMENT_CHANNEL_NOT_SUPPORT','then','join','endColumn','ENSURE_SNAPSHOT_EXECUTION','none','INVITE_CODE_ALREADY_BOUND','toDisposable','_initCommandInterceptor','distinctUntilChanged','InsertRangeMoveRightCommandId','INVALID_ARGUMENT','currentSkeleton$','Workbook','transformMutation','univer-flex\x20univer-items-center','whenReady','override','setTimeout','_cursors','_clearOtherTimers','IImageIoService','mask','min','fillRule','PERMISSION_DENIED','_notificationService','findNodePositionByCharIndex','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','DATA_SOURCE_TOO_LARGE','getCoordByCell','CollaborationUIEventService','unitID','mapTo','Error','roomMembers$','UniverDocs','_toggleOnline','_anchor','0\x200\x2017\x2016','searchParams','CollaborationDataLoaderController','IMessageService','UniverNetwork','[RemoteUniscriptService]:\x20no\x20focused\x20unit','on-line-icon_clip0_910_349','CollaborationStatus','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionTicket','defineProperty'];_0x276d=function(){return _0x252eaa;};return _0x276d();}(function(_0xa40f83,_0x3951a8){const _0x105a11=_0x1e96,_0x252545=_0xa40f83();while(!![]){try{const _0x3e8963=parseInt(_0x105a11(0x119))/0x1*(parseInt(_0x105a11(0x37b))/0x2)+parseInt(_0x105a11(0x2ea))/0x3+parseInt(_0x105a11(0x356))/0x4*(parseInt(_0x105a11(0x2b6))/0x5)+parseInt(_0x105a11(0x113))/0x6*(parseInt(_0x105a11(0xd5))/0x7)+-parseInt(_0x105a11(0xe5))/0x8+parseInt(_0x105a11(0xeb))/0x9*(-parseInt(_0x105a11(0x142))/0xa)+-parseInt(_0x105a11(0x2ae))/0xb*(-parseInt(_0x105a11(0x1aa))/0xc);if(_0x3e8963===_0x3951a8)break;else _0x252545['push'](_0x252545['shift']());}catch(_0xfd562b){_0x252545['push'](_0x252545['shift']());}}}(_0x276d,0x6fcf8),function(_0x102fe5,_0x1a16fe){const _0x14ea45=_0x1e96;typeof exports==_0x14ea45(0x2ac)&&typeof module<'u'?_0x1a16fe(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[_0x14ea45(0x238)]?define(['exports',_0x14ea45(0x1f4),_0x14ea45(0x91),_0x14ea45(0x290),_0x14ea45(0x2a6),_0x14ea45(0xb6),'@univerjs/design',_0x14ea45(0x34d),_0x14ea45(0x10d),_0x14ea45(0x191),_0x14ea45(0x130),_0x14ea45(0x2e4),_0x14ea45(0x22a),'@univerjs/drawing',_0x14ea45(0x1b4),_0x14ea45(0x34a),_0x14ea45(0x2eb),'rxjs/operators',_0x14ea45(0x128)],_0x1a16fe):(_0x102fe5=typeof globalThis<'u'?globalThis:_0x102fe5||self,_0x1a16fe(_0x102fe5[_0x14ea45(0x369)]={},_0x102fe5[_0x14ea45(0x262)],_0x102fe5['UniverProCollaborationClient'],_0x102fe5[_0x14ea45(0x242)],_0x102fe5[_0x14ea45(0x12c)],_0x102fe5['rxjs'],_0x102fe5['UniverDesign'],_0x102fe5[_0x14ea45(0x262)],_0x102fe5[_0x14ea45(0x346)],_0x102fe5['UniverSheets'],_0x102fe5[_0x14ea45(0x90)],_0x102fe5[_0x14ea45(0x1e8)],_0x102fe5['UniverDocsUi'],_0x102fe5[_0x14ea45(0x273)],_0x102fe5[_0x14ea45(0x36c)],_0x102fe5[_0x14ea45(0x1e1)],_0x102fe5[_0x14ea45(0x25b)],_0x102fe5['rxjs']['operators'],_0x102fe5['UniverSheetsUi']));}(this,function(_0x606468,_0x5c5bf7,_0x1fb0d5,_0x51c300,_0x316cc8,_0x26ac39,_0x1d9515,_0x1d7edf,_0x25dc54,_0x5898ab,_0x50dad4,_0x3f6e7a,_0x517afe,_0x13674f,_0x564972,_0x1f24cd,_0x4f54c4,_0x7a3377,_0x38208b){'use strict';const _0x17d35d=_0x1e96;var _0x2fa194=Object['defineProperty'],_0x55c694=(_0x4c1ec3,_0x45ee3c,_0x205384)=>_0x45ee3c in _0x4c1ec3?_0x2fa194(_0x4c1ec3,_0x45ee3c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x205384}):_0x4c1ec3[_0x45ee3c]=_0x205384,_0x3a1755=(_0x5dbb7a,_0x43351e,_0x2d6703)=>_0x55c694(_0x5dbb7a,typeof _0x43351e!='symbol'?_0x43351e+'':_0x43351e,_0x2d6703);function _0x378932({ref:_0x554c64,..._0x456568}){const _0x16307b=_0x1e96,{icon:_0x3df70d,id:_0x4152f5,className:_0x2c8bad,extend:_0xb3c899,..._0x10cb63}=_0x456568,_0x32d025=(_0x16307b(0x12e)+_0x4152f5+'\x20'+(_0x2c8bad||''))['trim'](),_0x8abd19=_0x1d7edf['useRef']('_'+_0xcab300());return _0xf80eeb(_0x3df70d,''+_0x4152f5,{'defIds':_0x3df70d[_0x16307b(0x8b)],'idSuffix':_0x8abd19['current']},{'ref':_0x554c64,'className':_0x32d025,..._0x10cb63},_0xb3c899);}function _0xf80eeb(_0x3b0f8d,_0x300428,_0x4ba0ac,_0x29e412,_0x2c3e68){const _0x29879a=_0x1e96;return _0x1d7edf[_0x29879a(0x301)](_0x3b0f8d[_0x29879a(0x154)],{'key':_0x300428,..._0x4c0a5b(_0x3b0f8d,_0x4ba0ac,_0x2c3e68),..._0x29e412},(_0x2ab4f8(_0x3b0f8d,_0x4ba0ac)[_0x29879a(0x10a)]||[])[_0x29879a(0x10e)]((_0x435e11,_0x361436)=>_0xf80eeb(_0x435e11,_0x300428+'-'+_0x3b0f8d[_0x29879a(0x154)]+'-'+_0x361436,_0x4ba0ac,void 0x0,_0x2c3e68)));}function _0x4c0a5b(_0x43843e,_0x35e274,_0x144f6c){const _0x2fee40=_0x1e96,_0x3211c6={..._0x43843e[_0x2fee40(0xe1)]};_0x144f6c!=null&&_0x144f6c[_0x2fee40(0x286)]&&_0x3211c6[_0x2fee40(0x139)]===_0x2fee40(0x286)&&(_0x3211c6['fill']=_0x144f6c[_0x2fee40(0x286)]),_0x43843e['tag']===_0x2fee40(0x1d3)&&_0x3211c6['id']&&(_0x3211c6['id']=_0x3211c6['id']+_0x35e274[_0x2fee40(0x304)]),Object['entries'](_0x3211c6)['forEach'](([_0x1a5ac5,_0x77105f])=>{const _0x3324fb=_0x2fee40;_0x1a5ac5===_0x3324fb(0x1d3)&&typeof _0x77105f=='string'&&(_0x3211c6[_0x1a5ac5]=_0x77105f[_0x3324fb(0x35c)](/url\(#(.*)\)/,_0x3324fb(0x107)+_0x35e274[_0x3324fb(0x304)]+')'));});const {defIds:_0x3f43be}=_0x35e274;return!_0x3f43be||_0x3f43be['length']===0x0||(_0x43843e[_0x2fee40(0x154)]==='use'&&_0x3211c6[_0x2fee40(0x328)]&&(_0x3211c6[_0x2fee40(0x328)]=_0x3211c6[_0x2fee40(0x328)]+_0x35e274[_0x2fee40(0x304)]),Object['entries'](_0x3211c6)[_0x2fee40(0x23f)](([_0xddb639,_0x26c6a7])=>{const _0x342cc8=_0x2fee40;typeof _0x26c6a7=='string'&&(_0x3211c6[_0xddb639]=_0x26c6a7[_0x342cc8(0x35c)](/url\(#(.*)\)/,'url(#$1'+_0x35e274[_0x342cc8(0x304)]+')'));})),_0x3211c6;}function _0x2ab4f8(_0x1892ce,_0x8b616e){const _0xd0e1f9=_0x1e96;var _0x3330ec;const {defIds:_0x41e178}=_0x8b616e;return!_0x41e178||_0x41e178[_0xd0e1f9(0x2a5)]===0x0?_0x1892ce:_0x1892ce[_0xd0e1f9(0x154)]===_0xd0e1f9(0xb1)&&((_0x3330ec=_0x1892ce[_0xd0e1f9(0x10a)])!=null&&_0x3330ec[_0xd0e1f9(0x2a5)])?{..._0x1892ce,'children':_0x1892ce[_0xd0e1f9(0x10a)]['map'](_0x52f982=>typeof _0x52f982[_0xd0e1f9(0xe1)]['id']==_0xd0e1f9(0xbb)&&_0x41e178&&_0x41e178[_0xd0e1f9(0x2e8)](_0x52f982['attrs']['id'])?{..._0x52f982,'attrs':{..._0x52f982[_0xd0e1f9(0xe1)],'id':_0x52f982[_0xd0e1f9(0xe1)]['id']+_0x8b616e['idSuffix']}}:_0x52f982)}:_0x1892ce;}function _0xcab300(){const _0x454db2=_0x1e96;return Math[_0x454db2(0x268)]()[_0x454db2(0x155)](0x24)[_0x454db2(0xd4)](0x2,0x8);}_0x378932[_0x17d35d(0x23e)]=_0x17d35d(0xf6);const _0x509446={'tag':_0x17d35d(0x10f),'attrs':{'xmlns':_0x17d35d(0x2e2),'fill':'none','viewBox':_0x17d35d(0x100),'width':_0x17d35d(0x35b),'height':_0x17d35d(0x35b)},'children':[{'tag':'g','attrs':{'clipPath':_0x17d35d(0xff)},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'stroke':_0x17d35d(0x30a),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x17d35d(0x29f),'strokeLinejoin':_0x17d35d(0x29f),'strokeWidth':1.2}}]},{'tag':_0x17d35d(0xb1),'attrs':{},'children':[{'tag':_0x17d35d(0x19a),'attrs':{'id':_0x17d35d(0x314)},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'fill':_0x17d35d(0x1af),'d':_0x17d35d(0x2b9)}}]}]}],'defIds':[_0x17d35d(0x314)]},_0x395cc3=_0x1d7edf[_0x17d35d(0x1a2)](function(_0x53714d,_0x15199e){const _0x2be05a=_0x17d35d;return _0x1d7edf['createElement'](_0x378932,Object[_0x2be05a(0x138)]({},_0x53714d,{'id':'off-line-icon','ref':_0x15199e,'icon':_0x509446}));});_0x395cc3[_0x17d35d(0x23e)]=_0x17d35d(0x197);const _0x517233={'tag':_0x17d35d(0x10f),'attrs':{'xmlns':_0x17d35d(0x2e2),'fill':_0x17d35d(0x1c2),'viewBox':_0x17d35d(0x1e4),'width':_0x17d35d(0x35b),'height':_0x17d35d(0x35b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'stroke':_0x17d35d(0x30a),'d':_0x17d35d(0x234),'strokeLinecap':_0x17d35d(0x29f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x17d35d(0xb1),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x17d35d(0x1ea)},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'fill':_0x17d35d(0x1af),'d':'M0\x200H16V16H0z','transform':_0x17d35d(0xb3)}}]}]}],'defIds':[_0x17d35d(0x1ea)]},_0x264afe=_0x1d7edf[_0x17d35d(0x1a2)](function(_0x19923b,_0x17d755){const _0x139bfd=_0x17d35d;return _0x1d7edf['createElement'](_0x378932,Object['assign']({},_0x19923b,{'id':_0x139bfd(0x32f),'ref':_0x17d755,'icon':_0x517233}));});_0x264afe['displayName']=_0x17d35d(0xda);function _0x371803(_0x19d419){const _0x7d4125=_0x17d35d;switch(_0x19d419){case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x28b)]:return _0x7d4125(0x9f);case _0x1fb0d5[_0x7d4125(0x1eb)]['CONFLICT']:return'collabStatus.conflict';case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x222)]:return _0x7d4125(0x202);case _0x1fb0d5[_0x7d4125(0x1eb)][_0x7d4125(0x1b8)]:return _0x7d4125(0x251);case _0x1fb0d5[_0x7d4125(0x1eb)][_0x7d4125(0xa7)]:case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x27e)]:return _0x7d4125(0x213);case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x379)]:case _0x1fb0d5[_0x7d4125(0x1eb)][_0x7d4125(0x281)]:return'collabStatus.synced';}}function _0x30aed3(_0x267312){const _0x20f9d0=_0x17d35d,{status$:_0x453b01}=_0x267312,_0x8095ca=_0x316cc8['useObservable'](_0x453b01,_0x1fb0d5[_0x20f9d0(0x1eb)][_0x20f9d0(0x1b8)]),_0x3787d8=_0x316cc8[_0x20f9d0(0x244)](_0x51c300[_0x20f9d0(0x31f)]),_0x4be3c8=_0x316cc8[_0x20f9d0(0x244)](_0x1fb0d5[_0x20f9d0(0x34c)]),_0xb9115e=_0x8095ca!==_0x1fb0d5[_0x20f9d0(0x1eb)][_0x20f9d0(0x28b)],_0xc4c677=_0x3787d8['t'](_0x371803(_0x8095ca)),_0x33d027=_0xb9115e?_0x5c5bf7[_0x20f9d0(0x2aa)](_0x264afe,{}):_0x5c5bf7[_0x20f9d0(0x2aa)](_0x395cc3,{}),_0x56ad6c=_0x1d7edf[_0x20f9d0(0x259)](()=>{const _0x39ab1c=_0x20f9d0;_0xb9115e||_0x4be3c8[_0x39ab1c(0x19d)]();},[_0xb9115e,_0x4be3c8]);function _0x16f139(){const _0x409b42=_0x20f9d0;return _0x5c5bf7[_0x409b42(0x21d)]('div',{'className':_0x409b42(0x1cc),'onClick':_0x56ad6c,'children':[_0x5c5bf7[_0x409b42(0x2aa)](_0x409b42(0x2f4),{'className':_0x1d9515[_0x409b42(0x11d)](_0x409b42(0x183),{'univer-text-green-500':_0xb9115e,'univer-text-red-500':!_0xb9115e}),'children':_0x33d027}),_0x5c5bf7[_0x409b42(0x2aa)](_0x409b42(0x2f4),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xc4c677})]});}return _0xb9115e?_0x16f139():_0x5c5bf7[_0x20f9d0(0x2aa)](_0x1d9515[_0x20f9d0(0x272)],{'title':_0x3787d8['t'](_0x20f9d0(0xde)),'children':_0x16f139()});}var _0x122733=Object['getOwnPropertyDescriptor'],_0x2a72fd=(_0x3a3d4d,_0x58e57c,_0x194b09,_0x1972c3)=>{const _0x4c7689=_0x17d35d;for(var _0x2cff63=_0x1972c3>0x1?void 0x0:_0x1972c3?_0x122733(_0x58e57c,_0x194b09):_0x58e57c,_0x161baa=_0x3a3d4d[_0x4c7689(0x2a5)]-0x1,_0x40008d;_0x161baa>=0x0;_0x161baa--)(_0x40008d=_0x3a3d4d[_0x161baa])&&(_0x2cff63=_0x40008d(_0x2cff63)||_0x2cff63);return _0x2cff63;},_0x5801d5=(_0x2b6d7f,_0x50ae21)=>(_0x27500d,_0x27d83b)=>_0x50ae21(_0x27500d,_0x27d83b,_0x2b6d7f);_0x606468[_0x17d35d(0x17b)]=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x1620a0,_0x14dbd9,_0x5b67c6,_0x420f5f){const _0xad6e6a=_0x17d35d;super(),_0x3a1755(this,_0xad6e6a(0x1b0),new _0x26ac39[(_0xad6e6a(0xa6))](_0x1fb0d5[_0xad6e6a(0x1eb)][_0xad6e6a(0x1b8)])),(this[_0xad6e6a(0x135)]=_0x1620a0,this[_0xad6e6a(0x111)]=_0x14dbd9,this[_0xad6e6a(0x275)]=_0x5b67c6,this[_0xad6e6a(0x255)]=_0x420f5f,this[_0xad6e6a(0x339)](),this[_0xad6e6a(0x171)]());}[_0x17d35d(0x171)](){const _0x1a8346=_0x17d35d;this[_0x1a8346(0x26f)](this['_univerInstanceService']['focused$'][_0x1a8346(0x28e)](_0x26ac39[_0x1a8346(0x1b2)](()=>{const _0x19adac=_0x1a8346,_0x3ddbae=this[_0x19adac(0x135)][_0x19adac(0x224)]();return _0x3ddbae?this[_0x19adac(0x275)][_0x19adac(0x8f)](_0x3ddbae[_0x19adac(0x288)]()):_0x26ac39['of'](null);}),_0x26ac39[_0x1a8346(0x1b2)](_0xaf9c92=>_0xaf9c92?_0xaf9c92[_0x1a8346(0x2f7)]:_0x26ac39['of'](_0x1fb0d5['CollaborationStatus'][_0x1a8346(0x1b8)])))['subscribe'](_0x161e38=>{const _0x3305fc=_0x1a8346;this[_0x3305fc(0x1b0)]['next'](_0x161e38);}));}[_0x17d35d(0x339)](){const _0x4763a3=_0x17d35d;this[_0x4763a3(0x26f)](this[_0x4763a3(0x255)][_0x4763a3(0x371)](_0x316cc8[_0x4763a3(0x16a)]['HEADER_MENU'],()=>_0x316cc8[_0x4763a3(0x2b1)](_0x40f696({'status$':this[_0x4763a3(0x1b0)][_0x4763a3(0x178)]()}),this[_0x4763a3(0x111)])));}},_0x606468['DesktopCollaborationStatusDisplayController']=_0x2a72fd([_0x5801d5(0x0,_0x51c300[_0x17d35d(0x181)]),_0x5801d5(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x51c300['Injector'])),_0x5801d5(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5[_0x17d35d(0x311)])),_0x5801d5(0x3,_0x316cc8[_0x17d35d(0x249)])],_0x606468[_0x17d35d(0x17b)]);function _0x40f696(_0x429182){const {status$:_0x2411a0}=_0x429182;return function(){const _0x220e7d=_0x1e96;return _0x5c5bf7[_0x220e7d(0x2aa)](_0x30aed3,{'status$':_0x2411a0});};}const _0x1fcf33=_0x51c300[_0x17d35d(0x205)]('uni.network.url-service');var _0xba0257=Object[_0x17d35d(0x1b1)],_0x287dfb=(_0x452080,_0x3e8f74,_0x2eb359,_0x2de4bf)=>{const _0x270caa=_0x17d35d;for(var _0x5b413d=_0x2de4bf>0x1?void 0x0:_0x2de4bf?_0xba0257(_0x3e8f74,_0x2eb359):_0x3e8f74,_0x4da03c=_0x452080[_0x270caa(0x2a5)]-0x1,_0x373ab3;_0x4da03c>=0x0;_0x4da03c--)(_0x373ab3=_0x452080[_0x4da03c])&&(_0x5b413d=_0x373ab3(_0x5b413d)||_0x5b413d);return _0x5b413d;},_0x36f2ae=(_0xf8f983,_0x3c78cc)=>(_0x1b234d,_0x4fd2f1)=>_0x3c78cc(_0x1b234d,_0x4fd2f1,_0xf8f983);_0x606468[_0x17d35d(0x1e6)]=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x1592d1,_0x4644ce,_0x365ce3,_0x26b0e8,_0x17979e){const _0x3a982e=_0x17d35d;super(),this[_0x3a982e(0x2c2)]=_0x1592d1,this['_logService']=_0x4644ce,this[_0x3a982e(0xf8)]=_0x365ce3,this['_dataLoaderService']=_0x26b0e8,_0x17979e?_0x17979e==null||_0x17979e[_0x3a982e(0x1cd)]()[_0x3a982e(0x1be)](()=>this[_0x3a982e(0x323)]()):(this['_logService'][_0x3a982e(0x355)](_0x3a982e(0x370),_0x3a982e(0x2bb)),this[_0x3a982e(0x323)]());}async['_init'](){const _0x3464f2=_0x17d35d,_0x5cdef4=this[_0x3464f2(0x2c2)]['getParam'](_0x3464f2(0x13c)),_0x2cf8b9=this[_0x3464f2(0x2c2)]['getParam'](_0x3464f2(0x13f)),_0x19966d=this[_0x3464f2(0x2c2)][_0x3464f2(0x169)](_0x3464f2(0xbc));if(!_0x5cdef4||!_0x2cf8b9){this[_0x3464f2(0x11b)]['debug'](_0x3464f2(0x370),_0x3464f2(0x1d9));return;}const _0x17d276=await this[_0x3464f2(0x284)]['loadUnit'](_0x5cdef4,Number(_0x2cf8b9),_0x19966d);_0x17d276&&_0x17d276 instanceof _0x51c300[_0x3464f2(0x1ca)]&&this['_setupSubUnitSync'](_0x17d276);}async[_0x17d35d(0x2c1)](_0x5e592a){const _0x52ee4f=_0x17d35d;await this[_0x52ee4f(0x1a7)](_0x5e592a),_0x5e592a[_0x52ee4f(0x2ca)][_0x52ee4f(0x28e)](_0x26ac39[_0x52ee4f(0x2d3)](this[_0x52ee4f(0x30c)]))[_0x52ee4f(0x2c8)](_0x175bb9=>{const _0x4cf1c7=_0x52ee4f;_0x175bb9&&this[_0x4cf1c7(0x1fd)](_0x175bb9);}),this[_0x52ee4f(0x2c2)][_0x52ee4f(0xcb)][_0x52ee4f(0x28e)](_0x26ac39[_0x52ee4f(0x2d3)](this[_0x52ee4f(0x30c)]))['subscribe'](()=>this[_0x52ee4f(0x1a7)](_0x5e592a));}[_0x17d35d(0x1fd)](_0x2733a8,_0x9eb3d6=!0x1){const _0x190bbf=_0x17d35d,_0x6c641b=this['_urlService']['getParam'](_0x190bbf(0xbc));_0x2733a8[_0x190bbf(0x295)]()!==_0x6c641b&&this[_0x190bbf(0x2c2)][_0x190bbf(0x1a6)](_0x190bbf(0xbc),_0x2733a8[_0x190bbf(0x295)](),_0x9eb3d6);}async[_0x17d35d(0x1a7)](_0x50a2bf){const _0xb27cb4=_0x17d35d;var _0x4788c7;const _0x35e5ba=this[_0xb27cb4(0x2c2)][_0xb27cb4(0x169)](_0xb27cb4(0xbc));if(!_0x35e5ba||!_0x50a2bf[_0xb27cb4(0xfb)](_0x35e5ba)){const _0x5b6ded=_0x50a2bf['getUnhiddenWorksheets']()[0x0],_0x1c113a=_0x50a2bf['getSheetBySheetId'](_0x5b6ded);if(!_0x1c113a)return;this[_0xb27cb4(0x1fd)](_0x1c113a,!0x0),await this[_0xb27cb4(0xf8)]['executeCommand'](_0x5898ab[_0xb27cb4(0x347)]['id'],{'unitId':_0x50a2bf[_0xb27cb4(0x288)](),'subUnitId':_0x5b6ded});return;}((_0x4788c7=_0x50a2bf[_0xb27cb4(0xe7)]())==null?void 0x0:_0x4788c7['getSheetId']())!==_0x35e5ba&&await this[_0xb27cb4(0xf8)]['executeCommand'](_0x5898ab[_0xb27cb4(0x347)]['id'],{'unitId':_0x50a2bf['getUnitId'](),'subUnitId':_0x35e5ba});}},_0x606468[_0x17d35d(0x1e6)]=_0x287dfb([_0x36f2ae(0x0,_0x1fcf33),_0x36f2ae(0x1,_0x51c300[_0x17d35d(0x1ac)]),_0x36f2ae(0x2,_0x51c300[_0x17d35d(0x101)]),_0x36f2ae(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5[_0x17d35d(0x292)])),_0x36f2ae(0x4,_0x51c300[_0x17d35d(0xa2)](_0x25dc54[_0x17d35d(0x37a)]))],_0x606468[_0x17d35d(0x1e6)]);var _0x5d1b7d=Object[_0x17d35d(0x1b1)],_0x562d88=(_0x344650,_0x2d3cbe,_0x4fc7c0,_0x3193c2)=>{const _0x1164a4=_0x17d35d;for(var _0x25f13d=_0x3193c2>0x1?void 0x0:_0x3193c2?_0x5d1b7d(_0x2d3cbe,_0x4fc7c0):_0x2d3cbe,_0x99c98c=_0x344650[_0x1164a4(0x2a5)]-0x1,_0x224de9;_0x99c98c>=0x0;_0x99c98c--)(_0x224de9=_0x344650[_0x99c98c])&&(_0x25f13d=_0x224de9(_0x25f13d)||_0x25f13d);return _0x25f13d;},_0x1744e7=(_0x1aed5a,_0x20cd9e)=>(_0x4cdf41,_0x5763b6)=>_0x20cd9e(_0x4cdf41,_0x5763b6,_0x1aed5a);let _0x47d9f6=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x7dba11,_0x877133){const _0xf00362=_0x17d35d;super(),this[_0xf00362(0x2d5)]=_0x7dba11,this[_0xf00362(0x285)]=_0x877133,this[_0xf00362(0x323)]();}[_0x17d35d(0x323)](){const _0x4e137f=_0x17d35d,_0x5b720b=this;this['disposeWithMe'](this[_0x4e137f(0x2d5)][_0x4e137f(0x103)]({'onBeforePasteImage':async _0x20ab3c=>{const _0x5d619c=_0x4e137f,_0xa8a8e9=await _0x5b720b[_0x5d619c(0x285)][_0x5d619c(0xb2)](_0x20ab3c);return _0xa8a8e9?{'source':_0xa8a8e9[_0x5d619c(0x23a)],'imageSourceType':_0xa8a8e9[_0x5d619c(0x2fa)]}:null;}}));}};_0x47d9f6=_0x562d88([_0x1744e7(0x0,_0x517afe[_0x17d35d(0xee)]),_0x1744e7(0x1,_0x13674f[_0x17d35d(0x1d2)])],_0x47d9f6);const _0x3d1f79=['purple.300',_0x17d35d(0x32b),_0x17d35d(0x228),'red.300',_0x17d35d(0xf2),_0x17d35d(0x13e)];class _0x18a9e9 extends _0x51c300[_0x17d35d(0x2dd)]{constructor(){const _0x32e919=_0x17d35d;super(...arguments),_0x3a1755(this,'_assignedColors',new Map()),_0x3a1755(this,_0x32e919(0x185),0x0);}[_0x17d35d(0x14d)](_0x2d4105){const _0x2593d5=_0x17d35d;if(this[_0x2593d5(0xd7)][_0x2593d5(0x325)](_0x2d4105))return this[_0x2593d5(0xd7)][_0x2593d5(0x16c)](_0x2d4105);const _0xa71d64=_0x3d1f79[this[_0x2593d5(0x185)]];return this[_0x2593d5(0x185)]=(this[_0x2593d5(0x185)]+0x1)%_0x3d1f79['length'],this[_0x2593d5(0xd7)]['set'](_0x2d4105,_0xa71d64),_0xa71d64;}}function _0x53d8f3(_0x4558a7){const _0x4ec3fa=_0x17d35d;let _0x33f554='';for(const _0x25292d of _0x4558a7){const {startOffset:_0x4975dc,endOffset:_0x97996d,isActive:_0x400b64,rangeType:_0x51d4af,segmentId:_0x51c6b6,segmentPage:_0x4119f1}=_0x25292d;_0x33f554[_0x4ec3fa(0x2a5)]&&(_0x33f554+=','),_0x33f554+=_0x4975dc+':'+_0x97996d+':'+(_0x400b64?'1':'0')+':'+_0x51d4af+':'+_0x51c6b6+':'+_0x4119f1;}return _0x33f554;}function _0x3f574f(_0x3ba5fc){const _0x216f48=_0x17d35d,_0x4fd1b0=_0x3ba5fc['split'](','),_0x64c880=[];for(const _0x54358b of _0x4fd1b0){const [_0x202d40,_0x2d6a71,_0x54548e,_0x872dde,_0x26b678,_0x3b8adf]=_0x54358b['split'](':');_0x64c880[_0x216f48(0x29d)]({'startOffset':Number(_0x202d40),'endOffset':Number(_0x2d6a71),'collapsed':_0x202d40===_0x2d6a71,'isActive':_0x54548e==='1','rangeType':_0x872dde===_0x51c300['DOC_RANGE_TYPE'][_0x216f48(0x125)]?_0x51c300[_0x216f48(0x252)][_0x216f48(0x125)]:_0x51c300[_0x216f48(0x252)][_0x216f48(0x221)],'segmentId':typeof _0x26b678=='string'?String(_0x26b678):'','segmentPage':Number(_0x3b8adf!=null?_0x3b8adf:-0x1)});}return _0x64c880[_0x216f48(0x33f)](_0x50f13f=>_0x50f13f['isActive'])||(_0x64c880[0x0][_0x216f48(0xc4)]=!0x0),_0x64c880;}class _0x2bcc62 extends _0x51c300['RxDisposable']{constructor(){const _0x1d3807=_0x17d35d;super(...arguments),_0x3a1755(this,_0x1d3807(0x17f),new _0x26ac39[(_0x1d3807(0xa6))](null)),_0x3a1755(this,_0x1d3807(0xbd),this[_0x1d3807(0x17f)][_0x1d3807(0x178)]());}['syncEditingCollabCursor'](_0x40bc4e){const _0x432845=_0x17d35d,{unitID:_0x4ecb7e,memberID:_0x57a13c,textRanges:_0x18cc78}=_0x40bc4e,_0x5def2c=_0x53d8f3(_0x18cc78);if(_0x5def2c==='')return;const _0x110ae8={'unitID':_0x4ecb7e,'memberID':_0x57a13c,'selection':_0x5def2c};this[_0x432845(0x17f)][_0x432845(0x287)](_0x110ae8);}}var _0x4daeae=Object[_0x17d35d(0x1b1)],_0x22f911=(_0x16fdf0,_0x4e00a6,_0x3efcda,_0x3701fc)=>{for(var _0x265da3=_0x3701fc>0x1?void 0x0:_0x3701fc?_0x4daeae(_0x4e00a6,_0x3efcda):_0x4e00a6,_0x39ac9c=_0x16fdf0['length']-0x1,_0x4f66b4;_0x39ac9c>=0x0;_0x39ac9c--)(_0x4f66b4=_0x16fdf0[_0x39ac9c])&&(_0x265da3=_0x4f66b4(_0x265da3)||_0x265da3);return _0x265da3;},_0x1da7b2=(_0x9b39ba,_0x3ba84e)=>(_0x432dda,_0x469e8b)=>_0x3ba84e(_0x432dda,_0x469e8b,_0x9b39ba);const _0x214f40=0x12c,_0x3a5aa4=0x64;let _0x52f626=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x4891b1,_0x41d6e9,_0x4319c9,_0x422e73,_0x8a6ed7,_0x4371a5,_0x1a0383,_0x44a22d,_0x711baf){const _0x103dba=_0x17d35d;super(),_0x3a1755(this,_0x103dba(0x302),!0x1),_0x3a1755(this,_0x103dba(0x323),!0x1),_0x3a1755(this,_0x103dba(0x329),new _0x26ac39[(_0x103dba(0xa6))](new Map())),_0x3a1755(this,_0x103dba(0x1f9),this[_0x103dba(0x329)][_0x103dba(0x178)]()),_0x3a1755(this,_0x103dba(0x33e),new _0x26ac39[(_0x103dba(0xa6))]([])),_0x3a1755(this,_0x103dba(0x1e0),this[_0x103dba(0x33e)][_0x103dba(0x28e)](_0x26ac39[_0x103dba(0x131)](_0x214f40))),_0x3a1755(this,_0x103dba(0x220),_0x51c300[_0x103dba(0x29a)](_0x307c80=>{const _0x44854d=_0x103dba,_0x47d68b={'eventID':_0x564972[_0x44854d(0xac)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x44854d(0x1dd)],'memberID':this['_session'][_0x44854d(0x223)](),'selection':_0x53d8f3(_0x307c80)}};this[_0x44854d(0x15c)][_0x44854d(0x1ae)](_0x47d68b,this[_0x44854d(0x1dd)]);},_0x3a5aa4)),(this[_0x103dba(0x1dd)]=_0x4891b1,this[_0x103dba(0x15c)]=_0x41d6e9,this[_0x103dba(0x111)]=_0x4319c9,this[_0x103dba(0xc0)]=_0x422e73,this[_0x103dba(0x372)]=_0x8a6ed7,this[_0x103dba(0xae)]=_0x4371a5,this[_0x103dba(0x2b8)]=_0x1a0383,this['_univerInstanceService']=_0x44a22d,this['_commandService']=_0x711baf);}get[_0x17d35d(0x9e)](){const _0x41a8a2=_0x17d35d;return this['_cursorInfo$'][_0x41a8a2(0xf1)]();}get[_0x17d35d(0x2b0)](){const _0x4047e0=_0x17d35d;return this['_roomMembers$'][_0x4047e0(0xf1)]();}['dispose'](){const _0x289a29=_0x17d35d;super[_0x289a29(0x1bb)](),this[_0x289a29(0x329)][_0x289a29(0x287)](new Map()),this[_0x289a29(0x329)][_0x289a29(0x2bd)](),this['_roomMembers$'][_0x289a29(0x287)]([]),this['_roomMembers$'][_0x289a29(0x2bd)]();}['init'](){const _0x38c802=_0x17d35d;this['_init']||(this[_0x38c802(0x323)]=!0x0,this[_0x38c802(0x15c)][_0x38c802(0x2e5)][_0x38c802(0x28e)](_0x26ac39[_0x38c802(0x2d3)](this[_0x38c802(0x30c)]))[_0x38c802(0x2c8)](_0x4c45f0=>{const _0x333b00=_0x38c802;_0x4c45f0===_0x1fb0d5['SessionStatus'][_0x333b00(0x368)]?this[_0x333b00(0x1e2)]():this[_0x333b00(0x2a4)]();}),this[_0x38c802(0x15c)]['event$']['pipe'](_0x26ac39[_0x38c802(0x2d3)](this['dispose$']))[_0x38c802(0x2c8)](_0x10ca19=>{const _0x13448e=_0x38c802,_0x29fd92=_0x10ca19[_0x13448e(0x2f0)];_0x29fd92===_0x564972[_0x13448e(0xac)][_0x13448e(0xab)]&&this[_0x13448e(0x2e1)](_0x10ca19),_0x29fd92===_0x564972[_0x13448e(0xac)][_0x13448e(0x27a)]&&this[_0x13448e(0x190)](_0x10ca19);}),this[_0x38c802(0x26f)](this[_0x38c802(0xf8)][_0x38c802(0x161)](_0x398d4d=>{const _0x16b89d=_0x38c802,_0x4fdf94=_0x398d4d[_0x16b89d(0x11e)];_0x4fdf94!=null&&this[_0x16b89d(0x302)]&&_0x398d4d['id']===_0x1f24cd[_0x16b89d(0x219)]['id']&&_0x4fdf94[_0x16b89d(0x279)]===this[_0x16b89d(0x1dd)]&&_0x4fdf94[_0x16b89d(0x35f)]===!0x1&&_0x4fdf94[_0x16b89d(0x207)]['length']>0x0&&this[_0x16b89d(0x220)](_0x4fdf94[_0x16b89d(0x207)]);})),this[_0x38c802(0xae)][_0x38c802(0xbd)]['pipe'](_0x26ac39[_0x38c802(0x2d3)](this['dispose$']))['subscribe'](_0x541095=>{const _0x10d9ed=_0x38c802;if((_0x541095==null?void 0x0:_0x541095[_0x10d9ed(0x1dd)])!==this[_0x10d9ed(0x1dd)])return;const _0x1f9259={'eventID':_0x564972[_0x10d9ed(0xac)]['UPDATE_CURSOR'],'data':_0x541095};this['_onCursorUpdate'](_0x1f9259);}),this[_0x38c802(0x26f)](this[_0x38c802(0xf8)][_0x38c802(0x161)](_0x4607e9=>{const _0x1cb5a7=_0x38c802;if(_0x4607e9[_0x1cb5a7(0x11e)]==null)return;const _0x5b3366=_0x4607e9[_0x1cb5a7(0x11e)];if(_0x4607e9['id']!==_0x1f24cd['RichTextEditingMutation']['id']||_0x5b3366[_0x1cb5a7(0x279)]!==this[_0x1cb5a7(0x1dd)])return;const _0x22f741={'id':'doc.mutation.rich-text-editing','params':_0x5b3366},_0x2b2ba9=this[_0x1cb5a7(0x9e)];for(const [_0x5adcd9,_0x1cedf2]of _0x2b2ba9){const _0x5ac6a6={'id':_0x1cb5a7(0x1f3),'params':{'unitId':this[_0x1cb5a7(0x1dd)],'actions':null,'textRanges':_0x1cedf2[_0x1cb5a7(0x207)]}},_0x1d4333=this[_0x1cb5a7(0x2b8)][_0x1cb5a7(0x1cb)](_0x22f741,_0x5ac6a6,!0x1);if(_0x564972[_0x1cb5a7(0x218)](_0x1d4333))throw _0x1d4333['error'];_0x2b2ba9['set'](_0x5adcd9,{..._0x1cedf2,'ranges':_0x1d4333['m2Prime'][_0x1cb5a7(0x11e)]['textRanges']});}queueMicrotask(()=>{const _0x557a85=_0x1cb5a7;this[_0x557a85(0x329)][_0x557a85(0x287)](_0x2b2ba9);});})));}[_0x17d35d(0x2e1)](_0x4ba7a2){const _0x2b5396=_0x17d35d;var _0x50fe41,_0x4c99d1;const {memberID:_0x347078,selection:_0x50a431}=_0x4ba7a2[_0x2b5396(0xf0)],_0x1e50ba=_0x3f574f(_0x50a431),_0x4adbc8=(_0x4c99d1=(_0x50fe41=this[_0x2b5396(0x372)][_0x2b5396(0x22e)](this[_0x2b5396(0x1dd)],_0x347078))==null?void 0x0:_0x50fe41[_0x2b5396(0x1b3)])!=null?_0x4c99d1:_0x2b5396(0x25d),_0x50926b={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x347078),'name':_0x4adbc8,'ranges':_0x1e50ba},_0x39b9a8=this[_0x2b5396(0x9e)];_0x39b9a8[_0x2b5396(0x176)](_0x347078,_0x50926b),this[_0x2b5396(0x329)][_0x2b5396(0x287)](_0x39b9a8);}[_0x17d35d(0x190)](_0x227840){const _0x3f507f=_0x17d35d,{memberID:_0x37b83f}=_0x227840[_0x3f507f(0xf0)],_0x47fd13=this['cursorInfo'];_0x47fd13['delete'](_0x37b83f),this['_cursorInfo$']['next'](_0x47fd13);}[_0x17d35d(0x1e2)](){const _0x35ebb2=_0x17d35d;var _0x1951aa;if(this[_0x35ebb2(0x302)]=!0x0,((_0x1951aa=this[_0x35ebb2(0x135)]['getFocusedUnit']())==null?void 0x0:_0x1951aa[_0x35ebb2(0x288)]())!==this[_0x35ebb2(0x1dd)])return;const _0x286951=this['_injector'][_0x35ebb2(0x16c)](_0x1f24cd[_0x35ebb2(0x2ab)])[_0x35ebb2(0x18e)]();Array[_0x35ebb2(0xb9)](_0x286951)&&_0x286951[_0x35ebb2(0x2a5)]>0x0&&this[_0x35ebb2(0x220)](_0x286951);}[_0x17d35d(0x2a4)](){const _0x1e250b=_0x17d35d;this[_0x1e250b(0x302)]=!0x1;}};_0x52f626=_0x22f911([_0x1da7b2(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x1da7b2(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x18a9e9)),_0x1da7b2(0x4,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5['MemberService'])),_0x1da7b2(0x5,_0x51c300['Inject'](_0x2bcc62)),_0x1da7b2(0x6,_0x564972[_0x17d35d(0x158)]),_0x1da7b2(0x7,_0x51c300[_0x17d35d(0x181)]),_0x1da7b2(0x8,_0x51c300[_0x17d35d(0x101)])],_0x52f626);var _0x6d5007=Object[_0x17d35d(0x1b1)],_0x4d927b=(_0x5adada,_0x1dabda,_0xb1b5e8,_0x2a568b)=>{const _0x3a7fa6=_0x17d35d;for(var _0xf2161=_0x2a568b>0x1?void 0x0:_0x2a568b?_0x6d5007(_0x1dabda,_0xb1b5e8):_0x1dabda,_0x5110ea=_0x5adada[_0x3a7fa6(0x2a5)]-0x1,_0x31f475;_0x5110ea>=0x0;_0x5110ea--)(_0x31f475=_0x5adada[_0x5110ea])&&(_0xf2161=_0x31f475(_0xf2161)||_0xf2161);return _0xf2161;},_0x8f5e3c=(_0x5b4656,_0x1243a4)=>(_0x242fe7,_0x1203dd)=>_0x1243a4(_0x242fe7,_0x1203dd,_0x5b4656);const _0x392b95=0x12c,_0x48371d=0x64,_0x1e1ad6=()=>{let _0x352555=[],_0x229679=!0x1;return _0x34a44f=>{const _0x2f0bd7=_0x1e96;_0x352555[_0x2f0bd7(0x29d)](_0x34a44f),_0x229679||(_0x229679=!0x0,setTimeout(()=>{_0x352555['forEach'](_0x5a0e40=>_0x5a0e40()),_0x352555=[],_0x229679=!0x1;}));};};let _0x28fe3d=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x66194,_0x5d2974,_0x1d8832,_0x3d7e4c,_0x56e97c,_0x3b3ccb,_0x219c01,_0x209870){const _0x2585dd=_0x17d35d;super(),_0x3a1755(this,_0x2585dd(0x302),!0x1),_0x3a1755(this,'_init',!0x1),_0x3a1755(this,'_cursorInfo$',new _0x26ac39['BehaviorSubject'](new Map())),_0x3a1755(this,_0x2585dd(0x1f9),this[_0x2585dd(0x329)]['asObservable']()),_0x3a1755(this,_0x2585dd(0x33e),new _0x26ac39['BehaviorSubject']([])),_0x3a1755(this,_0x2585dd(0x1e0),this[_0x2585dd(0x33e)]['pipe'](_0x26ac39[_0x2585dd(0x131)](_0x392b95))),_0x3a1755(this,_0x2585dd(0x220),_0x51c300[_0x2585dd(0x29a)]((_0x2b72e0,_0x5207d3)=>{const _0x566cdb=_0x2585dd,_0x465b0f={'eventID':_0x564972[_0x566cdb(0xac)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x566cdb(0x1dd)],'memberID':this[_0x566cdb(0x15c)][_0x566cdb(0x223)](),'selection':_0x4f54c4[_0x566cdb(0x106)](_0x2b72e0,_0x5207d3[_0x566cdb(0x375)])}};this[_0x566cdb(0x15c)][_0x566cdb(0x1ae)](_0x465b0f,this[_0x566cdb(0x1dd)]);},_0x48371d)),(this[_0x2585dd(0x1dd)]=_0x66194,this['_session']=_0x5d2974,this[_0x2585dd(0x111)]=_0x1d8832,this['_colorAssignService']=_0x3d7e4c,this[_0x2585dd(0x372)]=_0x56e97c,this[_0x2585dd(0x135)]=_0x3b3ccb,this[_0x2585dd(0xf8)]=_0x219c01,this[_0x2585dd(0x349)]=_0x209870);}get[_0x17d35d(0x9e)](){const _0x2f96e7=_0x17d35d;return this[_0x2f96e7(0x329)][_0x2f96e7(0xf1)]();}get[_0x17d35d(0x2b0)](){const _0x2f4664=_0x17d35d;return this[_0x2f4664(0x33e)][_0x2f4664(0xf1)]();}['dispose'](){const _0x34c6d5=_0x17d35d;super[_0x34c6d5(0x1bb)](),this[_0x34c6d5(0x329)][_0x34c6d5(0x287)](new Map()),this[_0x34c6d5(0x329)][_0x34c6d5(0x2bd)](),this[_0x34c6d5(0x33e)]['next']([]),this[_0x34c6d5(0x33e)][_0x34c6d5(0x2bd)]();}[_0x17d35d(0x165)](){const _0x3b38cf=_0x17d35d;this['_init']||(this['_init']=!0x0,this[_0x3b38cf(0x15c)][_0x3b38cf(0x2e5)][_0x3b38cf(0x28e)](_0x26ac39[_0x3b38cf(0x2d3)](this['dispose$']))[_0x3b38cf(0x2c8)](_0x5016ca=>{const _0x24c098=_0x3b38cf;_0x5016ca===_0x1fb0d5[_0x24c098(0x20f)][_0x24c098(0x368)]?this[_0x24c098(0x1e2)]():this[_0x24c098(0x2a4)]();}),this[_0x3b38cf(0x15c)][_0x3b38cf(0x95)][_0x3b38cf(0x28e)](_0x26ac39[_0x3b38cf(0x2d3)](this[_0x3b38cf(0x30c)]))[_0x3b38cf(0x2c8)](_0x49b6bc=>{const _0x58e72a=_0x3b38cf,_0x26c579=_0x49b6bc[_0x58e72a(0x2f0)];_0x26c579===_0x564972[_0x58e72a(0xac)]['UPDATE_CURSOR']&&this[_0x58e72a(0x2e1)](_0x49b6bc),_0x26c579===_0x564972[_0x58e72a(0xac)][_0x58e72a(0x27a)]&&this[_0x58e72a(0x190)](_0x49b6bc);}),this[_0x3b38cf(0x240)](),this[_0x3b38cf(0x26f)](this[_0x3b38cf(0xf8)]['onCommandExecuted'](_0x32964b=>{const _0x14149c=_0x3b38cf;if(this[_0x14149c(0x302)]&&_0x32964b['id']===_0x5898ab[_0x14149c(0xec)]['id']&&_0x32964b[_0x14149c(0x11e)][_0x14149c(0x279)]===this[_0x14149c(0x1dd)]){const _0x2a3e98=_0x32964b[_0x14149c(0x11e)];this[_0x14149c(0x220)](_0x2a3e98[_0x14149c(0x194)],_0x2a3e98[_0x14149c(0x2fc)][0x0]);}})));}[_0x17d35d(0x2e1)](_0x4fbbf5){const _0x505b7c=_0x17d35d;var _0x520f55,_0x237992;const {memberID:_0x11c45f,selection:_0x1f209d}=_0x4fbbf5['data'],{sheetName:_0x3dc3aa,range:_0x2ddb6b}=_0x4f54c4[_0x505b7c(0x1ef)](_0x1f209d),_0x26d7e9={'name':(_0x237992=(_0x520f55=this[_0x505b7c(0x372)]['getMember'](this[_0x505b7c(0x1dd)],_0x11c45f))==null?void 0x0:_0x520f55[_0x505b7c(0x1b3)])!=null?_0x237992:_0x505b7c(0x25d),'range':this[_0x505b7c(0x19c)](_0x3dc3aa,_0x2ddb6b),'sheetID':_0x3dc3aa,'color':this[_0x505b7c(0xc0)][_0x505b7c(0x14d)](_0x11c45f),'selection':_0x1f209d},_0x77edb7=this['cursorInfo'];_0x77edb7[_0x505b7c(0x176)](_0x11c45f,_0x26d7e9),this[_0x505b7c(0x329)][_0x505b7c(0x287)](_0x77edb7);}[_0x17d35d(0x190)](_0x44c076){const _0x4def7c=_0x17d35d,{memberID:_0x32ae2e}=_0x44c076[_0x4def7c(0xf0)],_0x732e4=this[_0x4def7c(0x9e)];_0x732e4[_0x4def7c(0x296)](_0x32ae2e),this[_0x4def7c(0x329)][_0x4def7c(0x287)](_0x732e4);}[_0x17d35d(0x19c)](_0x40547f,_0x1e5ab6){const _0x2172d9=_0x17d35d;var _0x19dab6,_0x3e4b73;const _0x11c3a1=(_0x3e4b73=(_0x19dab6=this[_0x2172d9(0x135)][_0x2172d9(0x253)](this[_0x2172d9(0x1dd)]))==null?void 0x0:_0x19dab6[_0x2172d9(0xfb)](_0x40547f))==null?void 0x0:_0x3e4b73[_0x2172d9(0x1a5)]();return(_0x11c3a1==null?void 0x0:_0x11c3a1[_0x2172d9(0x1fc)](_0x378459=>_0x51c300['Rectangle'][_0x2172d9(0x13d)](_0x378459,_0x1e5ab6)))||_0x1e5ab6;}[_0x17d35d(0x240)](){const _0x586c7a=_0x17d35d,_0x369317=new _0x51c300['DisposableCollection'](),_0x188a70=_0x1e1ad6(),_0x2a9704=()=>{const _0x134270=_0x1e96;_0x369317[_0x134270(0x1bb)]();const _0x5df6b6=(_0x1e9f91,_0x285859,_0x220a3f,_0x479918)=>{const _0x23c44f=_0x134270;let _0x44c131=[];switch(_0x1e9f91['id']){case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x239)]:{_0x44c131=_0x5898ab[_0x23c44f(0x365)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)]['DeleteRangeMoveUpCommandId']:{_0x44c131=_0x5898ab[_0x23c44f(0x198)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)]['InsertColCommandId']:{_0x44c131=_0x5898ab[_0x23c44f(0x13a)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x2f5)]:{_0x44c131=_0x5898ab['handleInsertRangeMoveDown'](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x1c7)]:{_0x44c131=_0x5898ab[_0x23c44f(0x29e)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)]['InsertRowCommandId']:{_0x44c131=_0x5898ab[_0x23c44f(0x270)](_0x1e9f91,_0x479918);break;}case _0x5898ab['EffectRefRangId'][_0x23c44f(0x146)]:{_0x44c131=_0x5898ab['handleMoveRange'](_0x1e9f91,_0x479918);break;}case _0x5898ab['EffectRefRangId'][_0x23c44f(0x22b)]:{_0x44c131=_0x5898ab[_0x23c44f(0x265)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x2ff)]:{_0x44c131=_0x5898ab['handleIRemoveRow'](_0x1e9f91,_0x479918);break;}}const _0x5704b8=_0x5898ab['runRefRangeMutations'](_0x44c131,_0x479918),_0x4f8a65=this[_0x23c44f(0x9e)][_0x23c44f(0x16c)](_0x285859);if(_0x4f8a65&&_0x5704b8){const _0x5c96b5={..._0x4f8a65,'range':_0x5704b8};this['cursorInfo'][_0x23c44f(0x176)](_0x285859,_0x5c96b5),_0x188a70(()=>{const _0x25dfdd=_0x23c44f,_0x23bbc0=this[_0x25dfdd(0x349)][_0x25dfdd(0x203)](_0x5704b8,_0xca9c3=>(_0x23bbc0[_0x25dfdd(0x1bb)](),_0x5df6b6(_0xca9c3,_0x285859,_0x220a3f,_0x5704b8)));_0x369317[_0x25dfdd(0x33b)](_0x23bbc0);});}return{'redos':[],'undos':[]};};this[_0x134270(0x9e)][_0x134270(0x23f)]((_0xf5fbe9,_0x17b0e3)=>{const _0x461b6f=_0x134270,{range:_0x1214b6,sheetID:_0x2fa938}=_0xf5fbe9,_0x6be8db=this[_0x461b6f(0x349)][_0x461b6f(0x203)](_0x1214b6,_0x4c5cc3=>(_0x6be8db['dispose'](),_0x5df6b6(_0x4c5cc3,_0x17b0e3,_0x2fa938,_0x1214b6)));_0x369317[_0x461b6f(0x33b)](_0x6be8db);});};this[_0x586c7a(0x26f)](_0x51c300[_0x586c7a(0x1c4)](this[_0x586c7a(0x329)]['subscribe'](()=>{_0x2a9704();})));}[_0x17d35d(0x1e2)](){const _0x3e96bc=_0x17d35d;var _0x25b609,_0x222f58;if(this[_0x3e96bc(0x302)]=!0x0,((_0x25b609=this['_univerInstanceService'][_0x3e96bc(0x224)]())==null?void 0x0:_0x25b609[_0x3e96bc(0x288)]())!==this[_0x3e96bc(0x1dd)])return;const _0x2cc26c=(_0x222f58=this[_0x3e96bc(0x111)]['get'](_0x5898ab['SheetsSelectionsService'])[_0x3e96bc(0x351)]())==null?void 0x0:_0x222f58[0x0],_0x20df21=this[_0x3e96bc(0x135)][_0x3e96bc(0x29b)](_0x51c300[_0x3e96bc(0x245)]['UNIVER_SHEET'])['getActiveSheet']();_0x2cc26c&&_0x20df21&&this['_updateLocalCursor'](_0x20df21['getSheetId'](),_0x2cc26c);}[_0x17d35d(0x2a4)](){const _0x130f33=_0x17d35d;this[_0x130f33(0x302)]=!0x1;}};_0x28fe3d=_0x4d927b([_0x8f5e3c(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x8f5e3c(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x18a9e9)),_0x8f5e3c(0x4,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5['MemberService'])),_0x8f5e3c(0x5,_0x51c300[_0x17d35d(0x181)]),_0x8f5e3c(0x6,_0x51c300[_0x17d35d(0x101)]),_0x8f5e3c(0x7,_0x51c300['Inject'](_0x5898ab[_0x17d35d(0xd1)]))],_0x28fe3d);var _0x20cb22=Object[_0x17d35d(0x1b1)],_0x5e06c5=(_0x4b3801,_0x5de9b8,_0x43b1b4,_0x329bfb)=>{const _0x534bc1=_0x17d35d;for(var _0x192cc0=_0x329bfb>0x1?void 0x0:_0x329bfb?_0x20cb22(_0x5de9b8,_0x43b1b4):_0x5de9b8,_0x2b3ea9=_0x4b3801[_0x534bc1(0x2a5)]-0x1,_0x440ad0;_0x2b3ea9>=0x0;_0x2b3ea9--)(_0x440ad0=_0x4b3801[_0x2b3ea9])&&(_0x192cc0=_0x440ad0(_0x192cc0)||_0x192cc0);return _0x192cc0;},_0x33151a=(_0x23de39,_0x2c1f2b)=>(_0x315ef7,_0x1de233)=>_0x2c1f2b(_0x315ef7,_0x1de233,_0x23de39);let _0x5c07ee=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0xa11cfd,_0x230ba6,_0x34a3d4){const _0x25e75a=_0x17d35d;super(),_0x3a1755(this,_0x25e75a(0x134),new Map()),_0x3a1755(this,_0x25e75a(0x36a),new _0x26ac39[(_0x25e75a(0x10b))]()),(this[_0x25e75a(0x135)]=_0xa11cfd,this[_0x25e75a(0x111)]=_0x230ba6,this[_0x25e75a(0x2b5)]=_0x34a3d4,this[_0x25e75a(0x323)]());}[_0x17d35d(0x1bb)](){const _0x2191c1=_0x17d35d;super[_0x2191c1(0x1bb)](),this[_0x2191c1(0x36a)][_0x2191c1(0x2bd)](),this[_0x2191c1(0x134)]['forEach'](_0x1a000c=>_0x1a000c[_0x2191c1(0x1bb)]());}[_0x17d35d(0x2e7)](_0x2aa530){const _0xd1e13e=_0x17d35d;return this['_entities']['has'](_0x2aa530)?this[_0xd1e13e(0x134)][_0xd1e13e(0x16c)](_0x2aa530)['cursorInfo$']:this[_0xd1e13e(0x36a)]['pipe'](_0x26ac39[_0xd1e13e(0x25c)](_0x27a2dc=>_0x27a2dc[_0xd1e13e(0x1dd)]===_0x2aa530),_0x26ac39[_0xd1e13e(0x1b2)](_0x26f5aa=>_0x26f5aa[_0xd1e13e(0x1f9)]));}[_0x17d35d(0x323)](){const _0x486e33=_0x17d35d;this[_0x486e33(0x135)][_0x486e33(0x243)](_0x51c300[_0x486e33(0x245)]['UNIVER_SHEET'])[_0x486e33(0x28e)](_0x26ac39[_0x486e33(0x2d3)](this[_0x486e33(0x30c)]))[_0x486e33(0x2c8)](async _0x258034=>{const _0x4feba3=_0x486e33,_0x172722=_0x258034['getUnitId'](),_0xa8846e=await this[_0x4feba3(0x11f)](_0x172722);this[_0x4feba3(0x36a)][_0x4feba3(0x287)](_0xa8846e),this[_0x4feba3(0x134)][_0x4feba3(0x176)](_0x172722,_0xa8846e);}),this[_0x486e33(0x135)]['getTypeOfUnitAdded$'](_0x51c300[_0x486e33(0x245)][_0x486e33(0x298)])[_0x486e33(0x28e)](_0x26ac39[_0x486e33(0x2d3)](this['dispose$']))[_0x486e33(0x28e)](_0x26ac39['filter'](_0x172383=>!_0x172383['getUnitId']()['startsWith']('__')))[_0x486e33(0x2c8)](async _0xfd8535=>{const _0x3a04d0=_0x486e33,_0x25c7a1=_0xfd8535['getUnitId'](),_0x4fa361=await this[_0x3a04d0(0x206)](_0x25c7a1);this[_0x3a04d0(0x36a)][_0x3a04d0(0x287)](_0x4fa361),this['_entities']['set'](_0x25c7a1,_0x4fa361);}),_0x26ac39['merge'](this[_0x486e33(0x135)][_0x486e33(0x29c)](_0x51c300[_0x486e33(0x245)][_0x486e33(0x298)]),this['_univerInstanceService'][_0x486e33(0x29c)](_0x51c300[_0x486e33(0x245)][_0x486e33(0x2f3)]))[_0x486e33(0x28e)](_0x26ac39[_0x486e33(0x2d3)](this[_0x486e33(0x30c)]))[_0x486e33(0x2c8)](_0x41cb1a=>{const _0x49aa7a=_0x486e33,_0xe0bee1=_0x41cb1a[_0x49aa7a(0x288)](),_0x5f56a2=this['_entities']['get'](_0xe0bee1);_0x5f56a2&&(_0x5f56a2[_0x49aa7a(0x1bb)](),this[_0x49aa7a(0x134)][_0x49aa7a(0x296)](_0xe0bee1));});}async[_0x17d35d(0x11f)](_0x35532e){const _0x1c4057=_0x17d35d,_0x7ec605=await this['_collabSessionService'][_0x1c4057(0xfa)](_0x35532e),_0x1ed7c6=this['_injector'][_0x1c4057(0x27c)](_0x28fe3d,_0x35532e,_0x7ec605);return _0x1ed7c6[_0x1c4057(0x165)](),_0x1ed7c6;}async[_0x17d35d(0x206)](_0x52d051){const _0x1ac989=_0x17d35d,_0x19822c=await this['_collabSessionService'][_0x1ac989(0xfa)](_0x52d051),_0x42e3b9=this[_0x1ac989(0x111)][_0x1ac989(0x27c)](_0x52f626,_0x52d051,_0x19822c);return _0x42e3b9['init'](),_0x42e3b9;}};_0x5c07ee=_0x5e06c5([_0x33151a(0x0,_0x51c300[_0x17d35d(0x181)]),_0x33151a(0x1,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x127)])),_0x33151a(0x2,_0x51c300['Inject'](_0x1fb0d5['CollaborationSessionService']))],_0x5c07ee);const _0x7a0843=0x14,_0xc1df0b=0xc8,_0x5d113f=0x4,_0x11d589=0x5;function _0x37c559(_0x243636,_0x5a730c){const _0x8b9ccf=_0x17d35d;let {radius:_0x860907,width:_0x106bcb,height:_0x33bd20}=_0x5a730c;_0x860907=_0x860907!=null?_0x860907:0x0,_0x106bcb=_0x106bcb!=null?_0x106bcb:0x1e,_0x33bd20=_0x33bd20!=null?_0x33bd20:0x1e;let _0x38a596=0x0,_0x4bf2c7=0x0,_0x17b941=0x0;_0x38a596=_0x4bf2c7=_0x17b941=Math[_0x8b9ccf(0x1d4)](_0x860907,_0x106bcb/0x2,_0x33bd20/0x2),_0x243636[_0x8b9ccf(0x348)](),_0x243636['moveTo'](_0x38a596,0x0),_0x243636[_0x8b9ccf(0x291)](_0x106bcb-_0x4bf2c7,0x0),_0x243636[_0x8b9ccf(0x2ee)](_0x106bcb-_0x4bf2c7,_0x4bf2c7,_0x4bf2c7,Math['PI']*0x3/0x2,0x0,!0x1),_0x243636[_0x8b9ccf(0x291)](_0x106bcb,_0x33bd20-_0x17b941),_0x243636[_0x8b9ccf(0x2ee)](_0x106bcb-_0x17b941,_0x33bd20-_0x17b941,_0x17b941,0x0,Math['PI']/0x2,!0x1),_0x243636[_0x8b9ccf(0x291)](0x0,_0x33bd20),_0x243636[_0x8b9ccf(0x291)](0x0,_0x38a596),_0x243636[_0x8b9ccf(0x2ee)](_0x38a596,_0x38a596,_0x38a596,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x243636['closePath'](),_0x5a730c['fill']&&(_0x243636[_0x8b9ccf(0x102)](),_0x243636[_0x8b9ccf(0xc1)]=_0x5a730c[_0x8b9ccf(0x139)],_0x5a730c[_0x8b9ccf(0x1d5)]==='evenodd'?_0x243636[_0x8b9ccf(0x139)](_0x8b9ccf(0xf3)):_0x243636[_0x8b9ccf(0x139)](),_0x243636[_0x8b9ccf(0x1a8)]());}class _0x3b8824 extends _0x50dad4['Shape']{constructor(_0x5d4c60,_0x5cedea){const _0x4dd881=_0x17d35d;super(_0x5d4c60,_0x5cedea),_0x3a1755(this,_0x4dd881(0x1b7)),_0x3a1755(this,_0x4dd881(0x177)),(this['color']=_0x5cedea==null?void 0x0:_0x5cedea[_0x4dd881(0x1b7)],this[_0x4dd881(0x177)]=_0x5cedea==null?void 0x0:_0x5cedea[_0x4dd881(0x177)]);}static[_0x17d35d(0x2fe)](_0xcd1ca,_0x1c2a23){const _0x50e9bc=_0x17d35d,{text:_0x55fbc7,color:_0x77925f}=_0x1c2a23;_0xcd1ca['save'](),_0xcd1ca['font']=_0x50e9bc(0x1ec);const _0x31ac11=_0xcd1ca[_0x50e9bc(0x162)](_0x55fbc7)[_0x50e9bc(0x345)],_0x4433cf=Math[_0x50e9bc(0x1d4)](_0x31ac11+0x2*_0x5d113f,_0xc1df0b);_0x37c559(_0xcd1ca,{'height':_0x7a0843,'radius':0x4,'width':_0x4433cf,'fill':_0x77925f}),_0xcd1ca[_0x50e9bc(0xc1)]=_0x50e9bc(0x2d0);const _0x5adf2f=_0x5d113f,_0x1a374e=_0x7a0843-_0x11d589,_0x7b37d9=_0xc1df0b-0x2*_0x5d113f;if(_0x31ac11>_0x7b37d9){let _0x24ba10='',_0x170b8a=0x0;for(const _0x2c6fe3 of _0x55fbc7){const _0x44ca3e=_0xcd1ca[_0x50e9bc(0x162)](_0x2c6fe3)[_0x50e9bc(0x345)];if(_0x170b8a+_0x44ca3e<=_0x7b37d9-_0xcd1ca[_0x50e9bc(0x162)](_0x50e9bc(0x2e6))[_0x50e9bc(0x345)])_0x24ba10+=_0x2c6fe3,_0x170b8a+=_0x44ca3e;else{_0x24ba10+=_0x50e9bc(0x2e6);break;}}_0xcd1ca['fillText'](_0x24ba10,_0x5adf2f,_0x1a374e);}else _0xcd1ca[_0x50e9bc(0x1f1)](_0x55fbc7,_0x5adf2f,_0x1a374e);_0xcd1ca[_0x50e9bc(0x1a8)]();}[_0x17d35d(0xdb)](_0x4abcc1){const _0xb9efa6=_0x17d35d;_0x3b8824[_0xb9efa6(0x2fe)](_0x4abcc1,this);}}const _0x36b479=_0x17d35d(0x164),_0x1a42c8=_0x17d35d(0x27d),_0x113ad9=_0x17d35d(0x8e),_0x18de62=0x6,_0x508d38=1.5,_0x170cfc=0x4,_0xef646=1.5,_0x18fe6d=_0x17d35d(0x24b);class _0x2a191c{constructor(_0x476ca0,_0xe9ce2b,_0x3c87b5,_0x4073cf){const _0x158de3=_0x17d35d;_0x3a1755(this,_0x158de3(0x236),[]),_0x3a1755(this,_0x158de3(0x1e3),null),_0x3a1755(this,_0x158de3(0x35a),null),_0x3a1755(this,_0x158de3(0x350),null),_0x3a1755(this,_0x158de3(0x1fb),null),_0x3a1755(this,_0x158de3(0x294),null),(this[_0x158de3(0x361)]=_0x476ca0,this[_0x158de3(0xb8)]=_0xe9ce2b,this[_0x158de3(0x335)]=_0x3c87b5,this[_0x158de3(0xd6)]=_0x4073cf,this[_0x158de3(0x299)]());}set['_hover'](_0x5631e7){const _0x5e951c=_0x17d35d;_0x5631e7?(this[_0x5e951c(0x350)]&&this[_0x5e951c(0x350)][_0x5e951c(0x278)](),this[_0x5e951c(0x35a)]&&this[_0x5e951c(0x35a)][_0x5e951c(0x196)]()):(this[_0x5e951c(0x350)]&&this[_0x5e951c(0x350)][_0x5e951c(0x196)](),this[_0x5e951c(0x35a)]&&this[_0x5e951c(0x35a)][_0x5e951c(0x278)]());}[_0x17d35d(0x1bb)](){const _0x1ee1ec=_0x17d35d;for(const _0x53fe41 of this['_shapes'])_0x53fe41[_0x1ee1ec(0x1bb)]();this[_0x1ee1ec(0x35a)]&&this[_0x1ee1ec(0x35a)][_0x1ee1ec(0x1bb)](),this[_0x1ee1ec(0x350)]&&this[_0x1ee1ec(0x350)][_0x1ee1ec(0x1bb)](),this[_0x1ee1ec(0x1e3)]&&this['_anchor']['dispose'](),this[_0x1ee1ec(0x294)]&&this['_eventUnsubscribe']();}[_0x17d35d(0x299)](){const _0x44b524=_0x17d35d;var _0x2c256d;const {_docSkeleton:_0x1ab39c,_document:_0x31e1a8}=this,{color:_0x494e22,name:_0x35135d,ranges:_0x123106}=this[_0x44b524(0x361)],_0x294a64=_0x31e1a8[_0x44b524(0x342)](),{docsLeft:_0x171436,docsTop:_0x51ffeb}=_0x294a64,_0x35104e=new _0x517afe[(_0x44b524(0x1bc))](_0x294a64,_0x1ab39c);for(const {startOffset:_0x302b20,endOffset:_0x4c1af2,rangeType:_0x55d150,segmentId:_0x2bd677,segmentPage:_0x178622,collapsed:_0x3907ed,isActive:_0x57211f}of _0x123106){const _0x407c19=_0x1ab39c['findNodePositionByCharIndex'](_0x302b20,!0x0,_0x2bd677,_0x178622);let _0x565e05=_0x1ab39c['findNodePositionByCharIndex'](_0x4c1af2,!0x0,_0x2bd677,_0x178622);if(_0x565e05==null&&(_0x565e05=_0x1ab39c[_0x44b524(0x1d8)](_0x4c1af2-0x1,!0x1,_0x2bd677,_0x178622)),_0x57211f){const {contentBoxPointGroup:_0x577358}=_0x35104e[_0x44b524(0x151)](_0x565e05,_0x565e05);if(_0x577358[_0x44b524(0x2a5)]===0x0)continue;this[_0x44b524(0x31d)](_0x494e22,_0x577358,_0x171436,_0x51ffeb,_0x35135d),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x407c19&&_0x565e05){if(_0x55d150===_0x51c300['DOC_RANGE_TYPE'][_0x44b524(0x221)]){const _0x36aee5=new _0x517afe[(_0x44b524(0x15d))](_0x294a64,_0x1ab39c),{pointGroup:_0x19737d}=(_0x2c256d=_0x36aee5[_0x44b524(0x151)](_0x407c19,_0x565e05))!=null?_0x2c256d:{};if(_0x19737d==null||_0x19737d[_0x44b524(0x2a5)]===0x0)continue;this['_drawRectRange'](_0x494e22,_0x19737d,_0x171436,_0x51ffeb);}else{if(!_0x3907ed){const {borderBoxPointGroup:_0x4df898}=_0x35104e['getRangePointData'](_0x407c19,_0x565e05);if(_0x4df898[_0x44b524(0x2a5)]===0x0)continue;this[_0x44b524(0x26c)](_0x494e22,_0x4df898,_0x171436,_0x51ffeb);}}}}}[_0x17d35d(0x31d)](_0x32504a,_0x4141f7,_0x17bff9,_0x5d9cab,_0x3b5248){const _0x125ac3=_0x17d35d,_0x403763=this[_0x125ac3(0x93)](_0x4141f7),{left:_0x310558,top:_0x569cf8,height:_0x2c1d8f}=_0x403763,_0xf8feb1=this['_getScale'](),_0x120082=_0xef646/_0xf8feb1,_0x10f041=new _0x50dad4[(_0x125ac3(0x214))](_0x36b479+_0x51c300['generateRandomId'](_0x18de62),{'left':_0x310558+_0x17bff9-_0x120082,'top':_0x569cf8+_0x5d9cab,'height':_0x2c1d8f,'width':_0x508d38,'fill':_0x32504a||_0x50dad4[_0x125ac3(0x327)](_0x51c300[_0x125ac3(0x2f6)][_0x125ac3(0xd9)],0x0),'strokeWidth':_0x120082,'stroke':_0x18fe6d,'evented':!0x0});this['_anchor']=_0x10f041,this[_0x125ac3(0xb8)][_0x125ac3(0x20d)](_0x10f041,_0x517afe[_0x125ac3(0x19f)]);const _0x4e6e23=new _0x50dad4[(_0x125ac3(0x214))](_0x36b479+_0x51c300[_0x125ac3(0x283)](_0x18de62),{'left':_0x310558+_0x17bff9-_0x120082,'top':_0x569cf8+_0x5d9cab-_0x170cfc/0x2,'height':_0x170cfc,'width':_0x170cfc,'fill':_0x32504a||_0x50dad4[_0x125ac3(0x327)](_0x51c300[_0x125ac3(0x2f6)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x32504a||_0x50dad4[_0x125ac3(0x327)](_0x51c300[_0x125ac3(0x2f6)][_0x125ac3(0xd9)],0x0),'evented':!0x1});this[_0x125ac3(0x350)]=_0x4e6e23,this[_0x125ac3(0xb8)][_0x125ac3(0x20d)](_0x4e6e23,_0x517afe['TEXT_RANGE_LAYER_INDEX']);const _0x1e8880=new _0x3b8824(_0x36b479+_0x51c300['generateRandomId'](_0x18de62),{'left':_0x310558+_0x17bff9-_0x120082,'top':_0x569cf8+_0x5d9cab-_0x7a0843,'text':_0x3b5248,'color':_0x32504a});this[_0x125ac3(0x35a)]=_0x1e8880,this['_scene'][_0x125ac3(0x20d)](_0x1e8880,_0x517afe['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x25ec46=_0x17d35d,_0x5106d5=this[_0x25ec46(0x1e3)][_0x25ec46(0x336)][_0x25ec46(0x212)](()=>{const _0x49ba0c=_0x25ec46;this[_0x49ba0c(0x31b)]=!0x0;}),_0x50bac8=this[_0x25ec46(0x1e3)][_0x25ec46(0x305)][_0x25ec46(0x212)](()=>{const _0x1d908e=_0x25ec46;this['_hideTimer']&&clearTimeout(this[_0x1d908e(0x1fb)]),this[_0x1d908e(0x1fb)]=setTimeout(()=>{const _0x4830af=_0x1d908e;this[_0x4830af(0x31b)]=!0x1;},0x7d0);});return()=>{const _0x2f82ff=_0x25ec46;_0x5106d5['unsubscribe'](),_0x50bac8[_0x2f82ff(0x172)]();};}['_drawTextRange'](_0x3d3680,_0x4c5c45,_0x33af06,_0x3e1399){const _0x13bfca=_0x17d35d,_0x2532e3=new _0x51c300['ColorKit'](_0x3d3680)['setAlpha'](0.2)[_0x13bfca(0x141)](),_0x20d18a=new _0x50dad4[(_0x13bfca(0x94))](_0x1a42c8+_0x51c300['generateRandomId'](_0x18de62),{'pointsGroup':_0x4c5c45,'fill':_0x2532e3||_0x50dad4[_0x13bfca(0x327)](_0x51c300[_0x13bfca(0x2f6)]['black'],0.2),'left':_0x33af06,'top':_0x3e1399,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13bfca(0x236)][_0x13bfca(0x29d)](_0x20d18a),this['_scene'][_0x13bfca(0x20d)](_0x20d18a,_0x517afe['TEXT_RANGE_LAYER_INDEX']);}[_0x17d35d(0x157)](_0x5cbf11,_0x59e206,_0x1105b3,_0x39815b){const _0x5e32f3=_0x17d35d,_0x581693=new _0x51c300[(_0x5e32f3(0x149))](_0x5cbf11)[_0x5e32f3(0x144)](0.2)['toRgbString'](),_0xa1feeb=new _0x50dad4[(_0x5e32f3(0x94))](_0x113ad9+_0x51c300[_0x5e32f3(0x283)](_0x18de62),{'pointsGroup':_0x59e206,'fill':_0x581693||_0x50dad4[_0x5e32f3(0x327)](_0x51c300[_0x5e32f3(0x2f6)]['black'],0.2),'left':_0x1105b3,'top':_0x39815b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5e32f3(0x29d)](_0xa1feeb),this[_0x5e32f3(0xb8)][_0x5e32f3(0x20d)](_0xa1feeb,_0x517afe[_0x5e32f3(0x19f)]);}[_0x17d35d(0x93)](_0x5a65ef){const _0x1e1448=_0x5a65ef[0x0],_0x597301=_0x1e1448[0x0],_0x1a50d5=_0x1e1448[0x2],{x:_0x4f1fd4,y:_0x56a18e}=_0x597301,{x:_0x4a31b4,y:_0x52b18a}=_0x1a50d5;return{'left':_0x4f1fd4,'top':_0x56a18e,'width':_0x4a31b4-_0x4f1fd4,'height':_0x52b18a-_0x56a18e};}[_0x17d35d(0x145)](){const _0xea14cf=_0x17d35d,{scaleX:_0x487e52,scaleY:_0x21e45d}=this['_scene'][_0xea14cf(0x188)]();return Math[_0xea14cf(0x25e)](_0x487e52,_0x21e45d);}}var _0x456cb1=Object[_0x17d35d(0x1b1)],_0x3de26e=(_0x3c0273,_0x16c5d8,_0x3839c5,_0xeca21f)=>{for(var _0xe8e57e=_0xeca21f>0x1?void 0x0:_0xeca21f?_0x456cb1(_0x16c5d8,_0x3839c5):_0x16c5d8,_0x1d7b71=_0x3c0273['length']-0x1,_0x5a182c;_0x1d7b71>=0x0;_0x1d7b71--)(_0x5a182c=_0x3c0273[_0x1d7b71])&&(_0xe8e57e=_0x5a182c(_0xe8e57e)||_0xe8e57e);return _0xe8e57e;},_0x408c0f=(_0x4f8670,_0xdc412d)=>(_0x19c190,_0xdc7b8a)=>_0xdc412d(_0x19c190,_0xdc7b8a,_0x4f8670);let _0x323dd0=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x49ee3f,_0x48b88b,_0x28f5d9,_0x272b7d,_0x5eebe2){const _0x56d9d8=_0x17d35d;super(),_0x3a1755(this,'_cursorShapes',[]),_0x3a1755(this,'_cursors',[]),(this[_0x56d9d8(0x2c0)]=_0x49ee3f,this[_0x56d9d8(0x248)]=_0x48b88b,this[_0x56d9d8(0x337)]=_0x28f5d9,this[_0x56d9d8(0xf8)]=_0x272b7d,this[_0x56d9d8(0xbe)]=_0x5eebe2,this[_0x56d9d8(0x323)]());}[_0x17d35d(0x323)](){const _0x5d6917=_0x17d35d,_0x340615=this[_0x5d6917(0x2c0)][_0x5d6917(0x279)],_0x4747cc=this[_0x5d6917(0x248)];this[_0x5d6917(0x26f)](_0x26ac39['combineLatest']([this['_collabCursorController'][_0x5d6917(0x2e7)](_0x340615),this[_0x5d6917(0xbe)][_0x5d6917(0x104)]])[_0x5d6917(0x28e)](_0x7a3377['map'](([_0xfa0bbf,_0x8773a])=>({'skeleton':_0x4747cc[_0x5d6917(0x2ba)](),'cursors':[..._0xfa0bbf[_0x5d6917(0xf5)]()][_0x5d6917(0x1f0)](_0x208944=>({..._0x208944,'color':this[_0x5d6917(0xbe)][_0x5d6917(0x1f2)](_0x208944['color'])}))})))['subscribe'](_0x36a51c=>{const _0x395d2c=_0x5d6917;if(this[_0x395d2c(0x199)](),_0x36a51c){const {skeleton:_0x2b708c,cursors:_0x4978ef}=_0x36a51c;this[_0x395d2c(0x14a)](_0x2b708c,_0x4978ef);}})),this['_initResize'](),this[_0x5d6917(0x2cf)]();}[_0x17d35d(0x14a)](_0x31f875,_0x2c72fc){const _0x421fcd=_0x17d35d,{scene:_0x19ddc9,mainComponent:_0x30442a}=this[_0x421fcd(0x2c0)],_0x1b60fb=_0x2c72fc[_0x421fcd(0x10e)](_0x201137=>new _0x2a191c(_0x201137,_0x19ddc9,_0x31f875,_0x30442a));this['_cursorShapes']=_0x1b60fb,this[_0x421fcd(0x1d0)]=_0x2c72fc;}['_refreshCollabCursors'](){const _0x3982f1=_0x17d35d;this[_0x3982f1(0x199)]();const {scene:_0x2d0266,mainComponent:_0x191320}=this['_context'],_0x2efd95=this[_0x3982f1(0x248)][_0x3982f1(0x2ba)](),_0x17d3a0=this[_0x3982f1(0x1d0)][_0x3982f1(0x10e)](_0x1f3ff7=>new _0x2a191c(_0x1f3ff7,_0x2d0266,_0x2efd95,_0x191320));this[_0x3982f1(0x30b)]=_0x17d3a0;}['_removeCollabCursors'](){const _0xd87de1=_0x17d35d;this[_0xd87de1(0x30b)][_0xd87de1(0x23f)](_0x442964=>_0x442964[_0xd87de1(0x1bb)]()),this[_0xd87de1(0x30b)]=[];}[_0x17d35d(0x2cf)](){const _0x589f79=_0x17d35d,_0x2457d6=[_0x517afe[_0x589f79(0xea)]['id']];this[_0x589f79(0x26f)](this[_0x589f79(0xf8)][_0x589f79(0x161)](_0x368ff5=>{const _0x35c768=_0x589f79;_0x2457d6[_0x35c768(0x2e8)](_0x368ff5['id'])&&_0x368ff5[_0x35c768(0x11e)][_0x35c768(0x279)]===this[_0x35c768(0x2c0)][_0x35c768(0x279)]&&this[_0x35c768(0xce)]();}));}[_0x17d35d(0x8c)](){const _0x166c22=_0x17d35d;this[_0x166c22(0x26f)](_0x51c300['fromEventSubject'](this['_context'][_0x166c22(0x36b)]['onTransformChange$'])[_0x166c22(0x28e)](_0x7a3377['filter'](_0x19825d=>_0x19825d[_0x166c22(0x13f)]===_0x50dad4['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x7a3377[_0x166c22(0xa0)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x323dd0=_0x3de26e([_0x408c0f(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x1f24cd['DocSkeletonManagerService'])),_0x408c0f(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x5c07ee)),_0x408c0f(0x3,_0x51c300[_0x17d35d(0x101)]),_0x408c0f(0x4,_0x51c300[_0x17d35d(0x2a3)](_0x51c300['ThemeService']))],_0x323dd0);const _0x3b8c0e=0x1,_0x351cb2=1.5;class _0x424484 extends _0x50dad4[_0x17d35d(0x148)]{constructor(_0x153c7c,_0x2e1fa3){const _0x1783ce=_0x17d35d;super(_0x153c7c,_0x2e1fa3),_0x3a1755(this,_0x1783ce(0x24f)),_0x3a1755(this,_0x1783ce(0x264),!0x1),_0x3a1755(this,_0x1783ce(0x120)),_0x3a1755(this,_0x1783ce(0x343),''),_0x3a1755(this,_0x1783ce(0x246),'top'),_0x3a1755(this,'_backgroundColor'),(_0x2e1fa3&&this['setShapeProps'](_0x2e1fa3),this['onPointerEnter$'][_0x1783ce(0x212)](()=>this[_0x1783ce(0x2f8)]({'hovered':!0x0})),this[_0x1783ce(0x305)][_0x1783ce(0x212)](()=>this[_0x1783ce(0x2f8)]({'hovered':!0x1})));}[_0x17d35d(0x2f8)](_0x2733e7){const _0x101c45=_0x17d35d;var _0xce1903,_0x23a0e4,_0x479007,_0x477168,_0x56b864,_0x315e8b;this[_0x101c45(0x24f)]=(_0xce1903=_0x2733e7[_0x101c45(0x1b7)])!=null?_0xce1903:this[_0x101c45(0x24f)],this[_0x101c45(0x264)]=(_0x23a0e4=_0x2733e7['hovered'])!=null?_0x23a0e4:this[_0x101c45(0x264)],this[_0x101c45(0x120)]=(_0x479007=_0x2733e7[_0x101c45(0x375)])!=null?_0x479007:this['_range'],this[_0x101c45(0x343)]=(_0x477168=_0x2733e7[_0x101c45(0x1b3)])!=null?_0x477168:this[_0x101c45(0x343)],this[_0x101c45(0x246)]=(_0x56b864=_0x2733e7[_0x101c45(0x2c6)])!=null?_0x56b864:this[_0x101c45(0x246)],this[_0x101c45(0x108)]=(_0x315e8b=_0x2733e7[_0x101c45(0xd3)])!=null?_0x315e8b:this[_0x101c45(0x108)],this[_0x101c45(0x318)]({'width':_0x2733e7['width'],'height':_0x2733e7[_0x101c45(0x23c)]});}[_0x17d35d(0x308)](_0x203945){const _0x4ad553=_0x17d35d,{row:_0x666983,column:_0x418216}=_0x203945;if(_0x666983>=this[_0x4ad553(0x120)]['startRow']&&_0x666983<=this[_0x4ad553(0x120)][_0x4ad553(0x14c)]&&_0x418216>=this[_0x4ad553(0x120)][_0x4ad553(0x17a)]&&_0x418216<=this[_0x4ad553(0x120)][_0x4ad553(0x1c0)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4ad553(0x2f8)]({'hovered':!0x1});}[_0x17d35d(0xb4)](_0x332238){return!0x1;}['_draw'](_0xd0c148){const _0x436708=_0x17d35d;_0x50dad4[_0x436708(0x214)][_0x436708(0x2fe)](_0xd0c148,{'width':this[_0x436708(0x345)],'height':this[_0x436708(0x23c)],'strokeWidth':_0x351cb2,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x436708(0x108)]}),this[_0x436708(0x264)]&&(_0xd0c148['save'](),_0xd0c148[_0x436708(0x2ad)](0x1,0x0,0x0,0x1,this[_0x436708(0x345)],this['_labelPosition']==='bottom'?0x0:-_0x7a0843),_0x3b8824[_0x436708(0x2fe)](_0xd0c148,{'text':this[_0x436708(0x343)],'color':this[_0x436708(0x24f)]}),_0xd0c148[_0x436708(0x1a8)]());}}var _0x1a86b0=Object[_0x17d35d(0x1b1)],_0x28e435=(_0x2a5e96,_0x20860e,_0x159f03,_0x15c2c4)=>{const _0x246a84=_0x17d35d;for(var _0x5cdf0d=_0x15c2c4>0x1?void 0x0:_0x15c2c4?_0x1a86b0(_0x20860e,_0x159f03):_0x20860e,_0x435e43=_0x2a5e96[_0x246a84(0x2a5)]-0x1,_0x4b122d;_0x435e43>=0x0;_0x435e43--)(_0x4b122d=_0x2a5e96[_0x435e43])&&(_0x5cdf0d=_0x4b122d(_0x5cdf0d)||_0x5cdf0d);return _0x5cdf0d;},_0x3ea754=(_0x4ffb27,_0x598490)=>(_0x1b9bf2,_0x557eb7)=>_0x598490(_0x1b9bf2,_0x557eb7,_0x4ffb27);const _0x5957f=0x1389;let _0x1cbee9=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x3f34b1,_0x57f5da,_0x2641d2,_0x3f2b6d){const _0x3e170d=_0x17d35d;super(),_0x3a1755(this,_0x3e170d(0x1d0),new Set()),_0x3a1755(this,_0x3e170d(0x159),null),(this[_0x3e170d(0x2c0)]=_0x3f34b1,this[_0x3e170d(0x358)]=_0x57f5da,this[_0x3e170d(0x337)]=_0x2641d2,this['_themeService']=_0x3f2b6d,this[_0x3e170d(0x323)]());}[_0x17d35d(0x323)](){const _0x5f23b4=_0x17d35d;this[_0x5f23b4(0x358)]['currentSkeleton$']['pipe'](_0x7a3377[_0x5f23b4(0x2d3)](this[_0x5f23b4(0x30c)]),_0x7a3377['switchMap'](_0x587af9=>{const _0x13a2be=_0x5f23b4;if(_0x587af9){const _0x4081da=_0x587af9['sheetId'];return _0x26ac39[_0x13a2be(0xa9)](this[_0x13a2be(0x337)][_0x13a2be(0x2e7)](this[_0x13a2be(0x2c0)][_0x13a2be(0x279)]),this['_themeService'][_0x13a2be(0x104)])[_0x13a2be(0x28e)](_0x7a3377[_0x13a2be(0x10e)](([_0x371681,_0x4fefc8])=>{const _0x295fbf=_0x13a2be,_0x43dbc4=new Map();return _0x371681[_0x295fbf(0x23f)]((_0x52a44a,_0x449677)=>{const _0x2a9d18=_0x295fbf;if(_0x52a44a[_0x2a9d18(0x14f)]===_0x4081da){const _0x364a7a={..._0x52a44a};_0x364a7a[_0x2a9d18(0x1b7)]=this[_0x2a9d18(0xbe)][_0x2a9d18(0x1f2)](_0x52a44a[_0x2a9d18(0x1b7)]),_0x43dbc4['set'](_0x449677,_0x364a7a);}}),{'skeleton':_0x587af9,'cursors':_0x43dbc4};}));}return _0x26ac39['of']({'skeleton':null,'cursors':new Map()});}))[_0x5f23b4(0x2c8)](({skeleton:_0x5c15ac,cursors:_0x29c411})=>{const _0xba2d9=_0x5f23b4;this[_0xba2d9(0x199)](),_0x5c15ac&&this[_0xba2d9(0x14a)](_0x5c15ac,_0x29c411);}),this[_0x5f23b4(0x358)][_0x5f23b4(0x1c9)][_0x5f23b4(0x2c8)](_0x2220de=>{const _0x26b9fd=_0x5f23b4;if(_0x2220de==null)return;const {skeleton:_0x47619b}=_0x2220de,{scene:_0x56928d}=this['_context'];_0x56928d[_0x26b9fd(0x250)][_0x26b9fd(0x212)](_0x51c300[_0x26b9fd(0x29a)](_0x268f88=>{const _0x1d7db8=_0x26b9fd;var _0x330362,_0x524544;const {offsetX:_0x53e2d1,offsetY:_0x752e2e}=_0x268f88,{x:_0x217320,y:_0x551ef1}=_0x56928d[_0x1d7db8(0x117)](_0x50dad4['Vector2']['FromArray']([_0x53e2d1,_0x752e2e])),{scaleX:_0x115719,scaleY:_0x573f1c}=_0x56928d[_0x1d7db8(0x188)](),_0x32b5aa=_0x56928d['getViewport'](_0x50dad4[_0x1d7db8(0x231)][_0x1d7db8(0x1f7)]),_0x580a7a=_0x56928d[_0x1d7db8(0x378)](_0x50dad4[_0x1d7db8(0x18a)][_0x1d7db8(0x36d)]([_0x217320,_0x551ef1]),_0x32b5aa),_0x3d4fb7=_0x47619b[_0x1d7db8(0x201)](_0x53e2d1,_0x752e2e,_0x115719,_0x573f1c,_0x580a7a);((_0x330362=this[_0x1d7db8(0x159)])==null?void 0x0:_0x330362[_0x1d7db8(0x126)])===_0x3d4fb7['column']&&((_0x524544=this[_0x1d7db8(0x159)])==null?void 0x0:_0x524544[_0x1d7db8(0x1a3)])===_0x3d4fb7[_0x1d7db8(0x1a3)]||this[_0x1d7db8(0x1d0)][_0x1d7db8(0x23f)](_0x4b2d9a=>{_0x4b2d9a['onMouseMove'](_0x3d4fb7);});},0x64));});}[_0x17d35d(0x14a)](_0x5208bc,_0x46da74){const _0x1e1709=_0x17d35d;var _0x2e9ef7;const _0x373191=(_0x2e9ef7=this[_0x1e1709(0x358)][_0x1e1709(0x13b)]())==null?void 0x0:_0x2e9ef7['skeleton'];if(!_0x373191)return;const _0x1348f2=this['_getSheetObject']();if(!_0x1348f2)return;this[_0x1e1709(0x1d0)]['forEach'](_0x212ee4=>{const _0x368bcb=_0x1e1709;_0x212ee4[_0x368bcb(0x21e)]();});const {scene:_0x3bacfa}=_0x1348f2,_0x3c80df=_0x20c2e1(Array[_0x1e1709(0x289)](_0x46da74[_0x1e1709(0xf5)]()))['map'](_0xc43634=>{const _0xf6516a=_0x1e1709,{color:_0x677033,range:_0x5e2acc,name:_0x490c20,selection:_0x43b81a,sheetID:_0x4b3086}=_0xc43634,{startColumn:_0x4915eb,startRow:_0x2fce74,endColumn:_0x26198d,endRow:_0x1291d4}=_0x5e2acc,_0x4c04a4=_0x38208b['getCoordByCell'](_0x2fce74,_0x4915eb,_0x3bacfa,_0x373191),_0x11ea3a=_0x38208b[_0xf6516a(0x1db)](_0x1291d4,_0x26198d,_0x3bacfa,_0x373191),{columnHeaderHeightAndMarginTop:_0x3d45b7}=_0x373191,{startX:_0x4ca7cf,startY:_0x11cc7d}=_0x4c04a4,{endX:_0x42cbcd,endY:_0x49592b}=_0x11ea3a,_0x3e1df5=_0x42cbcd-_0x4ca7cf,_0x5ed910=_0x49592b-_0x11cc7d,_0x50a2a2={'labelPosition':_0x11cc7d-_0x3d45b7>=_0x7a0843?_0xf6516a(0x227):'bottom','sheetID':_0x4b3086,'range':_0x5e2acc,'color':_0x677033,'name':_0x490c20,'selection':_0x43b81a,'left':_0x4ca7cf,'top':_0x11cc7d,'width':_0x3e1df5,'height':_0x5ed910,'evented':!0x1,'zIndex':_0x5957f};return new _0x424484(_0x490c20,_0x50a2a2);});_0x3bacfa[_0x1e1709(0x274)](_0x3c80df,_0x3b8c0e),this[_0x1e1709(0x1d0)]=new Set(_0x3c80df);}[_0x17d35d(0x199)](){const _0x1cff76=_0x17d35d;var _0x40918d;(_0x40918d=this[_0x1cff76(0x1d0)])==null||_0x40918d[_0x1cff76(0x23f)](_0x6685c=>_0x6685c[_0x1cff76(0x1bb)]());}['_getSheetObject'](){const _0x576857=_0x17d35d;return _0x38208b['getSheetObject'](this[_0x576857(0x2c0)][_0x576857(0x13c)],this[_0x576857(0x2c0)]);}};_0x1cbee9=_0x28e435([_0x3ea754(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x38208b['SheetSkeletonManagerService'])),_0x3ea754(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x5c07ee)),_0x3ea754(0x3,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x28a)]))],_0x1cbee9);function _0x20c2e1(_0x2a1b92){const _0x53048f=_0x17d35d,_0x14c172=new Map();return _0x2a1b92[_0x53048f(0x23f)](_0x46fa8c=>{const _0x5b96aa=_0x53048f;if(_0x14c172[_0x5b96aa(0x325)](_0x46fa8c[_0x5b96aa(0x353)])){const _0x366efc=_0x14c172[_0x5b96aa(0x16c)](_0x46fa8c['selection']);_0x366efc[_0x5b96aa(0x1b3)]+=',\x20'+_0x46fa8c[_0x5b96aa(0x1b3)];}else _0x14c172[_0x5b96aa(0x176)](_0x46fa8c[_0x5b96aa(0x353)],_0x46fa8c);}),Array[_0x53048f(0x289)](_0x14c172[_0x53048f(0xf5)]());}var _0x4a5a79=Object[_0x17d35d(0x1b1)],_0x41d705=(_0x4ce5e1,_0x57a4d8,_0x157751,_0xae9b23)=>{const _0x2e7c7a=_0x17d35d;for(var _0x66dc4b=_0xae9b23>0x1?void 0x0:_0xae9b23?_0x4a5a79(_0x57a4d8,_0x157751):_0x57a4d8,_0x5505c9=_0x4ce5e1[_0x2e7c7a(0x2a5)]-0x1,_0x813a9a;_0x5505c9>=0x0;_0x5505c9--)(_0x813a9a=_0x4ce5e1[_0x5505c9])&&(_0x66dc4b=_0x813a9a(_0x66dc4b)||_0x66dc4b);return _0x66dc4b;},_0x3c1bfc=(_0x1fe5a2,_0x23fc66)=>(_0x276087,_0x524851)=>_0x23fc66(_0x276087,_0x524851,_0x1fe5a2);let _0x744c25=class extends _0x51c300['Disposable']{constructor(_0x4a4105,_0x5da994,_0x46d99f,_0x3fc437,_0x367bdc,_0x35be5f){const _0x256750=_0x17d35d;super(),this['_beforeCloseService']=_0x4a4105,this['_localCacheService']=_0x5da994,this[_0x256750(0x216)]=_0x46d99f,this[_0x256750(0x2a0)]=_0x3fc437,this[_0x256750(0x1d7)]=_0x367bdc,this[_0x256750(0x137)]=_0x35be5f,this[_0x256750(0x261)](),this['_initEvent']();}[_0x17d35d(0x261)](){const _0x2d10e1=_0x17d35d;this[_0x2d10e1(0x26f)](this['_beforeCloseService'][_0x2d10e1(0x2c4)](()=>{const _0x2beb28=_0x2d10e1;if(this[_0x2beb28(0x309)][_0x2beb28(0x306)][_0x2beb28(0x200)])return this[_0x2beb28(0x137)]['t'](_0x2beb28(0x2e9));}));}[_0x17d35d(0x267)](){const _0x3ae9c9=_0x17d35d;this[_0x3ae9c9(0x26f)](this[_0x3ae9c9(0x216)][_0x3ae9c9(0x95)][_0x3ae9c9(0x2c8)](_0x1aaa0d=>{const _0x4c5649=_0x3ae9c9;_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x316)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x16d)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x14e))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0xbf)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x16d)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x2a9))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x1d6)]&&this[_0x4c5649(0x1d7)]['show']({'title':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x129)),'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x269)),'type':_0x4c5649(0x96),'duration':0x0}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x186)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x1df)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x2a9))+'('+_0x1aaa0d[_0x4c5649(0xf0)]+')'}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0xfe)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)]['Warning'],'content':this[_0x4c5649(0x137)]['t'](_0x1aaa0d['data']||'')}),_0x1aaa0d['id']===_0x1fb0d5['CollaborationUIEventId'][_0x4c5649(0x18f)]&&this[_0x4c5649(0x2a0)]['show']({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x16d)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0xcc))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x297)]&&this[_0x4c5649(0x2a0)]['show']({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x1df)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0xaf))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x237)]&&this['_messageService']['show']({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x1df)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x192))});}));}};_0x744c25=_0x41d705([_0x3c1bfc(0x0,_0x316cc8[_0x17d35d(0x1fe)]),_0x3c1bfc(0x1,_0x1fb0d5[_0x17d35d(0x363)]),_0x3c1bfc(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5[_0x17d35d(0x1dc)])),_0x3c1bfc(0x3,_0x316cc8[_0x17d35d(0x1e7)]),_0x3c1bfc(0x4,_0x316cc8[_0x17d35d(0x331)]),_0x3c1bfc(0x5,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x31f)]))],_0x744c25);var _0x361406=Object[_0x17d35d(0x1b1)],_0x5bd109=(_0x162037,_0x854191,_0x2d47fa,_0x12119b)=>{for(var _0x2eee45=_0x12119b>0x1?void 0x0:_0x12119b?_0x361406(_0x854191,_0x2d47fa):_0x854191,_0x334d91=_0x162037['length']-0x1,_0x282878;_0x334d91>=0x0;_0x334d91--)(_0x282878=_0x162037[_0x334d91])&&(_0x2eee45=_0x282878(_0x2eee45)||_0x2eee45);return _0x2eee45;},_0x44f6f1=(_0x4ee58d,_0x4e14ad)=>(_0x1c884d,_0x5a92b0)=>_0x4e14ad(_0x1c884d,_0x5a92b0,_0x4ee58d);let _0x2379d1=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x28e44,_0x181b85,_0x2c210b,_0x4049eb){const _0x3c4f7b=_0x17d35d;super(),_0x3a1755(this,_0x3c4f7b(0x230)),(this['_injector']=_0x28e44,this[_0x3c4f7b(0x340)]=_0x181b85,this[_0x3c4f7b(0x11b)]=_0x2c210b,this[_0x3c4f7b(0x2dc)]=_0x4049eb,this['_init']());}[_0x17d35d(0x323)](){const _0x63375f=_0x17d35d;this[_0x63375f(0x319)](),this[_0x63375f(0x9c)](),this[_0x63375f(0x34f)](),this[_0x63375f(0x225)]();}[_0x17d35d(0x225)](){const _0x613919=_0x17d35d;this['disposeWithMe'](this[_0x613919(0x2dc)][_0x613919(0x122)][_0x613919(0x2c8)](_0xfcc1f5=>{const _0x5d8027=_0x613919;this[_0x5d8027(0x230)]=_0xfcc1f5==null?void 0x0:_0xfcc1f5[_0x5d8027(0x123)];}));}['_initWindowErrorListener'](){const _0x203a71=_0x17d35d,_0x2e7214=_0x2afa98=>{const _0x500d08=_0x1e96;var _0x15a517;this[_0x500d08(0x334)]('error','[Window\x20Error]:\x20'+_0x2afa98[_0x500d08(0x2db)]+_0x500d08(0x2cc)+_0x2afa98['filename']+':'+_0x2afa98[_0x500d08(0x9a)]+':'+_0x2afa98['colno']+'\x0a'+(((_0x15a517=_0x2afa98[_0x500d08(0x96)])==null?void 0x0:_0x15a517['stack'])||''));};window[_0x203a71(0x1ad)](_0x203a71(0x96),_0x2e7214),this[_0x203a71(0x26f)](()=>{const _0x5565f6=_0x203a71;window[_0x5565f6(0x364)](_0x5565f6(0x96),_0x2e7214);});}['_initUnhandledRejectionListener'](){const _0x5d972c=_0x17d35d,_0x9f585d=_0x1569d8=>{const _0x291bfd=_0x1e96;this[_0x291bfd(0x334)](_0x291bfd(0x96),_0x291bfd(0x195)+_0x1569d8[_0x291bfd(0x23b)]);};window['addEventListener'](_0x5d972c(0x20e),_0x9f585d),this[_0x5d972c(0x26f)](()=>{const _0x12a243=_0x5d972c;window[_0x12a243(0x364)](_0x12a243(0x20e),_0x9f585d);});}[_0x17d35d(0x34f)](){const _0x14508c=_0x17d35d,_0x295e41=this[_0x14508c(0x11b)][_0x14508c(0x96)][_0x14508c(0x376)](this['_logService']);this[_0x14508c(0x11b)][_0x14508c(0x96)]=(..._0x3edf9d)=>{const _0x24a9a4=_0x14508c,_0x25a1fe=_0x3edf9d['map'](_0x1ee988=>_0x1ee988 instanceof Error?_0x1ee988[_0x24a9a4(0x2db)]+'\x0a'+_0x1ee988[_0x24a9a4(0x32e)]:String(_0x1ee988))[_0x24a9a4(0x1bf)]('\x20');this[_0x24a9a4(0x334)](_0x24a9a4(0x96),_0x24a9a4(0x1ff)+_0x25a1fe),_0x295e41(..._0x3edf9d);},this[_0x14508c(0x26f)](()=>{const _0x5f4f6a=_0x14508c;this['_logService'][_0x5f4f6a(0x96)]=_0x295e41;});}[_0x17d35d(0x334)](_0x5b3fbd,_0x5384cf){const _0x5e6c94=_0x17d35d;try{const _0x1b0e17={'userId':this[_0x5e6c94(0x230)],'logLabel':_0x5b3fbd,'content':_0x5384cf};this[_0x5e6c94(0x340)]['post'](_0x5e6c94(0xb7),{'body':_0x1b0e17})['catch'](()=>{});}catch{}}};_0x2379d1=_0x5bd109([_0x44f6f1(0x0,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x127)])),_0x44f6f1(0x1,_0x51c300['Inject'](_0x3f6e7a[_0x17d35d(0x16b)])),_0x44f6f1(0x2,_0x51c300[_0x17d35d(0x1ac)]),_0x44f6f1(0x3,_0x51c300['Inject'](_0x1fb0d5[_0x17d35d(0x34c)]))],_0x2379d1);const _0x33fb92=_0x17d35d(0xc8),_0x574bdb={};var _0x36ed2e=Object[_0x17d35d(0x1b1)],_0x3ca102=(_0x1ed7d8,_0x65e990,_0x43b2a2,_0x12bdc8)=>{const _0x303037=_0x17d35d;for(var _0x53caa6=_0x12bdc8>0x1?void 0x0:_0x12bdc8?_0x36ed2e(_0x65e990,_0x43b2a2):_0x65e990,_0x2dfd3e=_0x1ed7d8[_0x303037(0x2a5)]-0x1,_0xdb95ef;_0x2dfd3e>=0x0;_0x2dfd3e--)(_0xdb95ef=_0x1ed7d8[_0x2dfd3e])&&(_0x53caa6=_0xdb95ef(_0x53caa6)||_0x53caa6);return _0x53caa6;},_0x56a1f3=(_0x258649,_0x329892)=>(_0x6479da,_0x5abcff)=>_0x329892(_0x6479da,_0x5abcff,_0x258649);let _0x5348e9=class{constructor(_0x3a17c3,_0x5cbcec){const _0x4c8266=_0x17d35d;this[_0x4c8266(0x2b8)]=_0x3a17c3,this[_0x4c8266(0x2e0)]=_0x5cbcec;}[_0x17d35d(0x1b9)](_0x1a2d95){const _0x140dbb=_0x17d35d;this[_0x140dbb(0x18d)](_0x1a2d95),this[_0x140dbb(0x2a8)](_0x1a2d95);}[_0x17d35d(0x317)](_0x39bdde){const _0x3d0038=_0x17d35d,{unitID:_0x2f774b}=_0x39bdde,_0x49890c=this[_0x3d0038(0x2e0)][_0x3d0038(0x21c)](_0x2f774b)[_0x3d0038(0x12b)](_0x517afe[_0x3d0038(0x9b)]),{redoCache:_0x29961b}=_0x49890c[_0x3d0038(0x338)]();if(_0x29961b['length']===0x0)return _0x39bdde;let _0x3702fd=_0x51c300[_0x3d0038(0x33d)]['deepClone'](_0x39bdde['mutations'][0x0]);for(let _0x1a9a54=0x0;_0x1a9a54<_0x29961b[_0x3d0038(0x2a5)];_0x1a9a54++){const _0x4537c6={'id':_0x3d0038(0x1f3),'params':{..._0x29961b[_0x1a9a54]}},_0x5014b0=this[_0x3d0038(0x2b8)]['transformMutation'](_0x3702fd,_0x4537c6,!0x1);if(_0x564972[_0x3d0038(0x218)](_0x5014b0))throw _0x5014b0['error'];_0x3702fd=_0x5014b0[_0x3d0038(0x1ba)];}return{..._0x51c300[_0x3d0038(0x33d)][_0x3d0038(0xa1)](_0x39bdde),'mutations':[_0x3702fd]};}[_0x17d35d(0x18d)](_0xa984b4){const _0x101591=_0x17d35d,{unitID:_0x5a6681}=_0xa984b4,_0x1d9bbc=this[_0x101591(0x2e0)][_0x101591(0x21c)](_0x5a6681)['with'](_0x517afe[_0x101591(0x9b)]),{undoCache:_0x2c1abd,redoCache:_0x1d1336}=_0x1d9bbc[_0x101591(0x338)]();if(_0x2c1abd[_0x101591(0x2a5)]===0x0||_0x1d1336['length']===0x0)return;const _0xa7eebb=[],_0x1a3ced=[];let _0x4045e0=_0x51c300[_0x101591(0x33d)][_0x101591(0xa1)](_0xa984b4['mutations'][0x0]),_0x4b3460=_0x51c300[_0x101591(0x33d)][_0x101591(0xa1)](_0xa984b4['mutations'][0x0]);for(let _0x18314c=_0x2c1abd[_0x101591(0x2a5)]-0x1;_0x18314c>=0x0;_0x18314c--){const _0xc4b2c4={'id':'doc.mutation.rich-text-editing','params':{..._0x2c1abd[_0x18314c]}},_0x250657={'id':_0x101591(0x1f3),'params':{..._0x1d1336[_0x18314c]}},_0x545736=this[_0x101591(0x2b8)]['transformMutation'](_0x4045e0,_0xc4b2c4,!0x1),_0x36ed77=this[_0x101591(0x2b8)][_0x101591(0x1cb)](_0x4b3460,_0x250657,!0x1);if(_0x564972['isTransformMutationFailure'](_0x545736))throw _0x545736['error'];if(_0x564972['isTransformMutationFailure'](_0x36ed77))throw _0x36ed77[_0x101591(0x96)];_0xa7eebb[_0x101591(0x2d7)](_0x545736[_0x101591(0xdc)][_0x101591(0x11e)]),_0x1a3ced[_0x101591(0x2d7)](_0x36ed77[_0x101591(0xdc)]['params']),_0x4045e0=_0x545736[_0x101591(0x1ba)],_0x4b3460=_0x36ed77[_0x101591(0x1ba)];}_0x1d9bbc['setUndoRedoMutationParamsCache']({'undoCache':_0xa7eebb,'redoCache':_0x1a3ced});}['_transformPreviousActiveRange'](_0x21d733){const _0x5c7821=_0x17d35d,{unitID:_0x33b757}=_0x21d733,_0x47fd74=this[_0x5c7821(0x2e0)][_0x5c7821(0x21c)](_0x33b757)[_0x5c7821(0x12b)](_0x517afe[_0x5c7821(0x9b)]),_0x40182d=_0x47fd74['getActiveRange']();if(_0x40182d==null)return;const _0x1d2c8b=[{'id':_0x5c7821(0x1f3),'params':{'unitId':_0x21d733[_0x5c7821(0x1dd)],'actions':null,'textRanges':[_0x40182d]}}],_0x5d8ba6=this[_0x5c7821(0x2b8)][_0x5c7821(0xdd)](_0x21d733,_0x1d2c8b);if(!_0x564972[_0x5c7821(0x271)](_0x5d8ba6))throw _0x5d8ba6[_0x5c7821(0x96)];const _0xc3d76d=_0x5d8ba6[_0x5c7821(0xdc)][0x0][_0x5c7821(0x11e)][_0x5c7821(0x1a0)];Array['isArray'](_0xc3d76d)&&_0xc3d76d[_0x5c7821(0x2a5)]&&_0x47fd74['setActiveRange'](_0xc3d76d[0x0]);}};_0x5348e9=_0x3ca102([_0x56a1f3(0x0,_0x564972[_0x17d35d(0x158)]),_0x56a1f3(0x1,_0x50dad4[_0x17d35d(0x1f5)])],_0x5348e9);var _0xb1763e=Object[_0x17d35d(0x1b1)],_0x16ec86=(_0x2448a6,_0x5d13b8,_0x130811,_0x243619)=>{for(var _0x1ff72b=_0x243619>0x1?void 0x0:_0x243619?_0xb1763e(_0x5d13b8,_0x130811):_0x5d13b8,_0x15b649=_0x2448a6['length']-0x1,_0x21a80a;_0x15b649>=0x0;_0x15b649--)(_0x21a80a=_0x2448a6[_0x15b649])&&(_0x1ff72b=_0x21a80a(_0x1ff72b)||_0x1ff72b);return _0x1ff72b;},_0x192112=(_0x92c297,_0x4d54e2)=>(_0x1297df,_0x13a765)=>_0x4d54e2(_0x1297df,_0x13a765,_0x92c297);let _0x432530=class{constructor(_0x127885,_0x6d2665,_0x4483aa){const _0x12f62e=_0x17d35d;this[_0x12f62e(0x111)]=_0x127885,this[_0x12f62e(0x2b8)]=_0x6d2665,this[_0x12f62e(0x21f)]=_0x4483aa;}[_0x17d35d(0x182)](_0x29aa39){this['_transformHistoryAndStateStack'](_0x29aa39);}[_0x17d35d(0x317)](_0x1c426e){const _0x5c8dbe=_0x17d35d,{unitID:_0x16744a}=_0x1c426e,{collaboration:_0x3f783b}=this[_0x5c8dbe(0x21f)][_0x5c8dbe(0x226)](_0x16744a);if(_0x3f783b[_0x5c8dbe(0x2a5)]===0x0)return _0x1c426e;let _0x534c9e=_0x51c300[_0x5c8dbe(0x33d)][_0x5c8dbe(0xa1)](_0x1c426e[_0x5c8dbe(0x320)][0x0]);for(let _0x26ba55=0x0;_0x26ba55<_0x3f783b[_0x5c8dbe(0x2a5)];_0x26ba55++){const _0x508617={'id':_0x5c8dbe(0x1f3),'params':{'unitId':_0x3f783b[_0x26ba55]['unitId'],..._0x3f783b[_0x26ba55][_0x5c8dbe(0xc3)]}},_0x3dd5a6=this[_0x5c8dbe(0x2b8)]['transformMutation'](_0x534c9e,_0x508617,!0x1);if(_0x564972[_0x5c8dbe(0x218)](_0x3dd5a6))throw _0x3dd5a6['error'];_0x534c9e=_0x3dd5a6[_0x5c8dbe(0x1ba)];}return{..._0x51c300[_0x5c8dbe(0x33d)][_0x5c8dbe(0xa1)](_0x1c426e),'mutations':[_0x534c9e]};}[_0x17d35d(0x35e)](_0x38baec){const _0x439531=_0x17d35d,{unitID:_0x280a7d}=_0x38baec,{history:_0x1c07e2,collaboration:_0x5db477}=this[_0x439531(0x21f)][_0x439531(0x226)](_0x280a7d);if(_0x1c07e2[_0x439531(0x2a5)]===0x0&&_0x5db477[_0x439531(0x2a5)]===0x0)return;const _0x4d0ac1=[],_0xed5d30=[];let _0x198cdb=_0x51c300[_0x439531(0x33d)][_0x439531(0xa1)](_0x38baec[_0x439531(0x320)][0x0]),_0xd958b7=_0x51c300[_0x439531(0x33d)][_0x439531(0xa1)](_0x38baec[_0x439531(0x320)][0x0]);for(let _0x246947=_0x1c07e2[_0x439531(0x2a5)]-0x1;_0x246947>=0x0;_0x246947--){const _0x8eca02={'id':_0x439531(0x1f3),'params':{'unitId':_0x1c07e2[_0x246947][_0x439531(0x279)],..._0x1c07e2[_0x246947][_0x439531(0x1a4)]}},_0x6e52af={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c07e2[_0x246947][_0x439531(0x279)],..._0x1c07e2[_0x246947][_0x439531(0xc3)]}},_0x36cfdc=this[_0x439531(0x2b8)][_0x439531(0x1cb)](_0x198cdb,_0x8eca02,!0x1),_0x1d3357=this[_0x439531(0x2b8)][_0x439531(0x1cb)](_0xd958b7,_0x6e52af,!0x1);if(_0x564972[_0x439531(0x218)](_0x36cfdc))throw _0x36cfdc[_0x439531(0x96)];if(_0x564972['isTransformMutationFailure'](_0x1d3357))throw _0x1d3357[_0x439531(0x96)];_0x4d0ac1['unshift']({..._0x1c07e2[_0x246947],'undoState':_0x36cfdc[_0x439531(0xdc)][_0x439531(0x11e)],'redoState':_0x1d3357[_0x439531(0xdc)][_0x439531(0x11e)]}),_0x198cdb=_0x36cfdc[_0x439531(0x1ba)],_0xd958b7=_0x1d3357[_0x439531(0x1ba)];}_0x198cdb=_0x51c300['Tools']['deepClone'](_0x38baec[_0x439531(0x320)][0x0]),_0xd958b7=_0x51c300[_0x439531(0x33d)][_0x439531(0xa1)](_0x38baec['mutations'][0x0]);for(let _0x2bff9f=_0x5db477[_0x439531(0x2a5)]-0x1;_0x2bff9f>=0x0;_0x2bff9f--){const _0x50fb9c={'id':_0x439531(0x1f3),'params':{'unitId':_0x5db477[_0x2bff9f]['unitId'],..._0x5db477[_0x2bff9f][_0x439531(0x1a4)]}},_0x33e918={'id':_0x439531(0x1f3),'params':{'unitId':_0x5db477[_0x2bff9f][_0x439531(0x279)],..._0x5db477[_0x2bff9f]['redoState']}},_0x323b91=this[_0x439531(0x2b8)][_0x439531(0x1cb)](_0x198cdb,_0x50fb9c,!0x1),_0x1cd5b5=this[_0x439531(0x2b8)]['transformMutation'](_0xd958b7,_0x33e918,!0x1);if(_0x564972[_0x439531(0x218)](_0x323b91))throw _0x323b91[_0x439531(0x96)];if(_0x564972[_0x439531(0x218)](_0x1cd5b5))throw _0x1cd5b5['error'];_0xed5d30[_0x439531(0x2d7)]({..._0x5db477[_0x2bff9f],'undoState':_0x323b91[_0x439531(0xdc)][_0x439531(0x11e)],'redoState':_0x1cd5b5['m2Prime']['params']}),_0x198cdb=_0x323b91[_0x439531(0x1ba)],_0xd958b7=_0x1cd5b5[_0x439531(0x1ba)];}this['_docStateChangeManagerService'][_0x439531(0x193)](_0x280a7d,{'history':_0x4d0ac1,'collaboration':_0xed5d30});}};_0x432530=_0x16ec86([_0x192112(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x192112(0x1,_0x564972['ITransformService']),_0x192112(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x517afe[_0x17d35d(0x23d)]))],_0x432530);var _0x420ada=Object[_0x17d35d(0x1b1)],_0x1b70d4=(_0x102e50,_0x14385c,_0x35ce6b,_0x22cf81)=>{const _0x81cff9=_0x17d35d;for(var _0x4234ff=_0x22cf81>0x1?void 0x0:_0x22cf81?_0x420ada(_0x14385c,_0x35ce6b):_0x14385c,_0x11fc03=_0x102e50[_0x81cff9(0x2a5)]-0x1,_0x335976;_0x11fc03>=0x0;_0x11fc03--)(_0x335976=_0x102e50[_0x11fc03])&&(_0x4234ff=_0x335976(_0x4234ff)||_0x4234ff);return _0x4234ff;},_0x1ee831=(_0x4003b5,_0x31801c)=>(_0x573865,_0xd71b78)=>_0x31801c(_0x573865,_0xd71b78,_0x4003b5);let _0x44cb39=class{constructor(_0x37df06,_0x587aa6){const _0x4fdfee=_0x17d35d;this[_0x4fdfee(0x111)]=_0x37df06,this[_0x4fdfee(0x2b8)]=_0x587aa6;}[_0x17d35d(0x2da)](_0x3e3067){const _0x16d3c0=_0x17d35d;var _0x29b379;const _0x108446=this[_0x16d3c0(0x111)]['get'](_0x1f24cd[_0x16d3c0(0x2ab)]),_0x15356d=(_0x29b379=_0x108446['getDocRanges']())!=null?_0x29b379:[];if(_0x15356d[_0x16d3c0(0x2a5)]===0x0)return;const _0x328df3=_0x3e3067[_0x16d3c0(0x1dd)],_0x51c244=[{'id':_0x16d3c0(0x1f3),'params':{'unitId':_0x328df3,'actions':null,'textRanges':_0x15356d}}],_0x4b8134=this['_transformService'][_0x16d3c0(0xdd)](_0x3e3067,_0x51c244);if(!_0x564972['isTransformMutationsWithChangesetSuccess'](_0x4b8134))throw _0x4b8134['error'];const _0x4b3c33=_0x4b8134[_0x16d3c0(0xdc)][0x0][_0x16d3c0(0x11e)][_0x16d3c0(0x1a0)];Array['isArray'](_0x4b3c33)&&_0x4b3c33[_0x16d3c0(0x2a5)]&&_0x108446[_0x16d3c0(0xe8)](_0x4b3c33,{'unitId':_0x328df3,'subUnitId':_0x328df3},!0x1);}};_0x44cb39=_0x1b70d4([_0x1ee831(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x1ee831(0x1,_0x564972[_0x17d35d(0x158)])],_0x44cb39);var _0x5ee03a=Object[_0x17d35d(0x1b1)],_0x2bf7c1=(_0x3432e7,_0x508459,_0x13fdaa,_0x260fb9)=>{const _0x47b015=_0x17d35d;for(var _0x34ad56=_0x260fb9>0x1?void 0x0:_0x260fb9?_0x5ee03a(_0x508459,_0x13fdaa):_0x508459,_0x4cb13b=_0x3432e7[_0x47b015(0x2a5)]-0x1,_0x120d9f;_0x4cb13b>=0x0;_0x4cb13b--)(_0x120d9f=_0x3432e7[_0x4cb13b])&&(_0x34ad56=_0x120d9f(_0x34ad56)||_0x34ad56);return _0x34ad56;},_0x17b199=(_0x12d0b2,_0x29e14e)=>(_0x1b2fad,_0x4eb7af)=>_0x29e14e(_0x1b2fad,_0x4eb7af,_0x12d0b2);let _0x2ed237=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x4312ab,_0x5ecea4,_0x116253,_0x599c8b,_0x3e38a0,_0x5c3bf1,_0x3e9113,_0x5d6594){const _0x133093=_0x17d35d;super(),_0x3a1755(this,_0x133093(0x1b0),new _0x26ac39[(_0x133093(0xa6))](_0x1fb0d5[_0x133093(0x1eb)][_0x133093(0x1b8)])),(this[_0x133093(0x21f)]=_0x4312ab,this['_collaborationController']=_0x5ecea4,this[_0x133093(0x204)]=_0x116253,this[_0x133093(0x2cd)]=_0x599c8b,this[_0x133093(0x2a7)]=_0x3e38a0,this[_0x133093(0x97)]=_0x5c3bf1,this[_0x133093(0x2a0)]=_0x3e9113,this[_0x133093(0x137)]=_0x5d6594,this[_0x133093(0x354)]());}['_initEntityListener'](){const _0x837dbd=_0x17d35d;this[_0x837dbd(0x26f)](this[_0x837dbd(0x275)][_0x837dbd(0x18c)][_0x837dbd(0x2c8)](_0x31f4ef=>{const _0x1225d2=_0x837dbd,_0xed836a=this[_0x1225d2(0x21f)][_0x1225d2(0xa3)][_0x1225d2(0x2c8)](_0x2dc908=>{const _0x45587c=_0x1225d2;if(_0x2dc908==null)return;const {unitId:_0x288025,redoState:_0x1980d6,commandId:_0x11719}=_0x2dc908;if(_0x288025!==_0x31f4ef[_0x45587c(0x1dd)])return;const _0x7ad3d0={'id':_0x11719,'type':_0x51c300[_0x45587c(0x2d4)][_0x45587c(0x152)],'params':{'unitId':_0x288025,'actions':_0x1980d6[_0x45587c(0x229)],'textRanges':null}};_0x31f4ef[_0x45587c(0xe0)](_0x7ad3d0);});if(_0x31f4ef['disposeWithMe'](_0xed836a),_0x31f4ef instanceof _0x1fb0d5[_0x1225d2(0x156)]){const _0x171aa5={'onTransformIME':_0x177f1c=>this[_0x1225d2(0x204)][_0x1225d2(0x1b9)](_0x177f1c),'onTransformState':_0x424024=>this['_docTransformStateCacheService']['transformStateCache'](_0x424024),'onTransformSelections':_0x1578a2=>this['_docTransformSelectionsService'][_0x1225d2(0x2da)](_0x1578a2),'onSyncEditingCollabCursor':_0x39d977=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x39d977),'onTransformRemoteChangesetByIMECache':_0x430f57=>this[_0x1225d2(0x204)]['transformRemoteChangeset'](_0x430f57),'onTransformRemoteChangesetByStateCache':_0x3bc3b1=>this[_0x1225d2(0x2cd)][_0x1225d2(0x317)](_0x3bc3b1)};_0x31f4ef['addHandlerCallback'](_0x171aa5);}}));}};_0x2ed237=_0x2bf7c1([_0x17b199(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x517afe[_0x17d35d(0x23d)])),_0x17b199(0x1,_0x51c300['Inject'](_0x1fb0d5[_0x17d35d(0x311)])),_0x17b199(0x2,_0x51c300['Inject'](_0x5348e9)),_0x17b199(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x432530)),_0x17b199(0x4,_0x51c300['Inject'](_0x44cb39)),_0x17b199(0x5,_0x51c300[_0x17d35d(0x2a3)](_0x2bcc62)),_0x17b199(0x6,_0x316cc8[_0x17d35d(0x1e7)]),_0x17b199(0x7,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x31f)]))],_0x2ed237);var _0x25292b=(_0x5b6859=>(_0x5b6859[_0x5b6859[_0x17d35d(0x150)]=0x0]='UNDEFINED',_0x5b6859[_0x5b6859['OK']=0x1]='OK',_0x5b6859[_0x5b6859[_0x17d35d(0xba)]=0x2]='INTERNAL_ERROR',_0x5b6859[_0x5b6859['PERMISSION_DENIED']=0x3]=_0x17d35d(0x1d6),_0x5b6859[_0x5b6859[_0x17d35d(0xa4)]=0x4]='NOT_FOUND',_0x5b6859[_0x5b6859[_0x17d35d(0x373)]=0x5]=_0x17d35d(0x373),_0x5b6859[_0x5b6859[_0x17d35d(0xed)]=0x6]=_0x17d35d(0xed),_0x5b6859[_0x5b6859[_0x17d35d(0x1c8)]=0x7]=_0x17d35d(0x1c8),_0x5b6859[_0x5b6859[_0x17d35d(0x8d)]=0x8]=_0x17d35d(0x8d),_0x5b6859[_0x5b6859[_0x17d35d(0xa8)]=0x9]=_0x17d35d(0xa8),_0x5b6859[_0x5b6859[_0x17d35d(0x9d)]=0xa]=_0x17d35d(0x9d),_0x5b6859[_0x5b6859[_0x17d35d(0xc6)]=0xb]=_0x17d35d(0xc6),_0x5b6859[_0x5b6859[_0x17d35d(0xe6)]=0xc]=_0x17d35d(0xe6),_0x5b6859[_0x5b6859['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5b6859[_0x5b6859[_0x17d35d(0x36e)]=0xe]=_0x17d35d(0x36e),_0x5b6859[_0x5b6859[_0x17d35d(0x92)]=0xf]=_0x17d35d(0x92),_0x5b6859[_0x5b6859[_0x17d35d(0x344)]=0x10]=_0x17d35d(0x344),_0x5b6859[_0x5b6859['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x17d35d(0x1b5),_0x5b6859[_0x5b6859['ERROR_AGAIN']=0x65]=_0x17d35d(0x112),_0x5b6859[_0x5b6859[_0x17d35d(0x2fb)]=0xc9]='USER_NOT_FOUND',_0x5b6859[_0x5b6859[_0x17d35d(0xf4)]=0xca]='USER_IS_ANONYMOUS',_0x5b6859[_0x5b6859[_0x17d35d(0x153)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5b6859[_0x5b6859['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5b6859[_0x5b6859[_0x17d35d(0x2df)]=0x1772]=_0x17d35d(0x2df),_0x5b6859[_0x5b6859[_0x17d35d(0x1c1)]=0x1773]=_0x17d35d(0x1c1),_0x5b6859[_0x5b6859[_0x17d35d(0x26a)]=0x1b59]=_0x17d35d(0x26a),_0x5b6859[_0x5b6859[_0x17d35d(0x26e)]=0x1b5a]=_0x17d35d(0x26e),_0x5b6859[_0x5b6859['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x17d35d(0x1b6),_0x5b6859[_0x5b6859['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x17d35d(0x2c7),_0x5b6859[_0x5b6859[_0x17d35d(0xcd)]=0x1b5d]=_0x17d35d(0xcd),_0x5b6859[_0x5b6859[_0x17d35d(0xb5)]=0x1f41]=_0x17d35d(0xb5),_0x5b6859[_0x5b6859[_0x17d35d(0x330)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5b6859[_0x5b6859[_0x17d35d(0x1f6)]=0x232a]=_0x17d35d(0x1f6),_0x5b6859[_0x5b6859[_0x17d35d(0x12f)]=0x232b]=_0x17d35d(0x12f),_0x5b6859[_0x5b6859[_0x17d35d(0x15a)]=0x232c]=_0x17d35d(0x15a),_0x5b6859[_0x5b6859[_0x17d35d(0x1a1)]=0x232d]=_0x17d35d(0x1a1),_0x5b6859[_0x5b6859[_0x17d35d(0x114)]=0x2711]=_0x17d35d(0x114),_0x5b6859[_0x5b6859[_0x17d35d(0x377)]=0x2712]=_0x17d35d(0x377),_0x5b6859[_0x5b6859[_0x17d35d(0x211)]=0x2713]=_0x17d35d(0x211),_0x5b6859[_0x5b6859[_0x17d35d(0x187)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5b6859[_0x5b6859[_0x17d35d(0x124)]=0x271a]=_0x17d35d(0x124),_0x5b6859[_0x5b6859[_0x17d35d(0x2d8)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5b6859[_0x5b6859[_0x17d35d(0x17d)]=0x271c]=_0x17d35d(0x17d),_0x5b6859[_0x5b6859[_0x17d35d(0x118)]=0x271d]=_0x17d35d(0x118),_0x5b6859[_0x5b6859[_0x17d35d(0x27f)]=0x271e]=_0x17d35d(0x27f),_0x5b6859[_0x5b6859[_0x17d35d(0x232)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5b6859[_0x5b6859['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x17d35d(0x11c),_0x5b6859[_0x5b6859[_0x17d35d(0x27b)]=0x2af9]=_0x17d35d(0x27b),_0x5b6859[_0x5b6859[_0x17d35d(0x14b)]=0x2ee1]=_0x17d35d(0x14b),_0x5b6859[_0x5b6859[_0x17d35d(0x2d6)]=0x2ee2]=_0x17d35d(0x2d6),_0x5b6859[_0x5b6859[_0x17d35d(0x2b3)]=0x2ee3]=_0x17d35d(0x2b3),_0x5b6859[_0x5b6859[_0x17d35d(0x99)]=0x2ee4]=_0x17d35d(0x99),_0x5b6859[_0x5b6859[_0x17d35d(0x1c3)]=0x2ee5]=_0x17d35d(0x1c3),_0x5b6859[_0x5b6859[_0x17d35d(0x17c)]=0x32c9]=_0x17d35d(0x17c),_0x5b6859[_0x5b6859['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5b6859[_0x5b6859[_0x17d35d(0x333)]=0x32cb]=_0x17d35d(0x333),_0x5b6859[_0x5b6859[_0x17d35d(0xc5)]=0x36b1]=_0x17d35d(0xc5),_0x5b6859[_0x5b6859[_0x17d35d(0x312)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x5b6859[_0x5b6859[_0x17d35d(0x25a)]=0x36b3]=_0x17d35d(0x25a),_0x5b6859[_0x5b6859[_0x17d35d(0x1bd)]=0x36b4]=_0x17d35d(0x1bd),_0x5b6859[_0x5b6859[_0x17d35d(0x16e)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5b6859[_0x5b6859[_0x17d35d(0x2c5)]=0x36b6]=_0x17d35d(0x2c5),_0x5b6859[_0x5b6859[_0x17d35d(0x2bf)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x5b6859[_0x5b6859['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x17d35d(0x280),_0x5b6859[_0x5b6859['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x17d35d(0x20b),_0x5b6859[_0x5b6859[_0x17d35d(0x2ec)]=0x3716]=_0x17d35d(0x2ec),_0x5b6859[_0x5b6859[_0x17d35d(0x310)]=0x3717]=_0x17d35d(0x310),_0x5b6859[_0x5b6859[_0x17d35d(0x12d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5b6859[_0x5b6859['REDEMPTION_INVALID_CODE']=0x3a99]=_0x17d35d(0x282),_0x5b6859[_0x5b6859[_0x17d35d(0x143)]=0x3a9a]=_0x17d35d(0x143),_0x5b6859[_0x5b6859[_0x17d35d(0x235)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x5b6859[_0x5b6859[_0x17d35d(0x33c)]=0x3a9c]=_0x17d35d(0x33c),_0x5b6859[_0x5b6859[_0x17d35d(0x1f8)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x5b6859[_0x5b6859[_0x17d35d(0x26b)]=0x3a9e]=_0x17d35d(0x26b),_0x5b6859[_0x5b6859[_0x17d35d(0x367)]=0x3a9f]=_0x17d35d(0x367),_0x5b6859[_0x5b6859[_0x17d35d(0x1da)]=0x3e81]=_0x17d35d(0x1da),_0x5b6859[_0x5b6859['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5b6859))(_0x25292b||{});function _0x1d9b52(_0x79def){const _0x220f9e=_0x17d35d;var _0x57330d,_0x3f4daa;const _0x4d88ca=(_0x57330d=_0x79def[_0x220f9e(0x360)])==null?void 0x0:_0x57330d[_0x220f9e(0x136)],_0x55394e=((_0x3f4daa=_0x79def[_0x220f9e(0x360)])==null?void 0x0:_0x3f4daa['totalFormulasToCalculate'])||0x0;return _0x4d88ca===_0x4f54c4[_0x220f9e(0x2b7)][_0x220f9e(0x2a2)]&&_0x55394e>0x0;}function _0x2b46df(_0x32e058){const _0x5db89f=_0x17d35d;return _0x32e058[_0x5db89f(0x22c)]===_0x4f54c4['FormulaExecutedStateType']['SUCCESS'];}var _0x21f51b=Object[_0x17d35d(0x1b1)],_0x5c34d9=(_0x4144d5,_0x85be27,_0x3120ac,_0x35f30f)=>{for(var _0x202944=_0x35f30f>0x1?void 0x0:_0x35f30f?_0x21f51b(_0x85be27,_0x3120ac):_0x85be27,_0xeecd69=_0x4144d5['length']-0x1,_0x5a41d5;_0xeecd69>=0x0;_0xeecd69--)(_0x5a41d5=_0x4144d5[_0xeecd69])&&(_0x202944=_0x5a41d5(_0x202944)||_0x202944);return _0x202944;},_0x20d37c=(_0x35e213,_0x119ec1)=>(_0x31ad31,_0x57484a)=>_0x119ec1(_0x31ad31,_0x57484a,_0x35e213);const _0x32f55e='/universer-api/license/formula/limit/status',_0x154d2f='/universer-api/license/formula/limit/start',_0x11b762=_0x17d35d(0x2c3);let _0x2ce8fb=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x307cdd,_0x6eb2e8,_0x328a93,_0x2dcc56,_0x4e136f,_0x1a2340,_0x2884e7){const _0x4f0bf2=_0x17d35d;super(),_0x3a1755(this,_0x4f0bf2(0x293),null),_0x3a1755(this,_0x4f0bf2(0x115),0x0),_0x3a1755(this,'_currentUsage',0x0),_0x3a1755(this,_0x4f0bf2(0x217),[]),_0x3a1755(this,_0x4f0bf2(0xca),0x0),(this[_0x4f0bf2(0x2a0)]=_0x307cdd,this[_0x4f0bf2(0xf8)]=_0x6eb2e8,this[_0x4f0bf2(0xdf)]=_0x328a93,this[_0x4f0bf2(0x340)]=_0x2dcc56,this[_0x4f0bf2(0x135)]=_0x4e136f,this['_logService']=_0x1a2340,this[_0x4f0bf2(0x137)]=_0x2884e7,this['_initCommandInterceptor']());}[_0x17d35d(0x1c5)](){const _0x460b6d=_0x17d35d;this[_0x460b6d(0x26f)](this['_commandService'][_0x460b6d(0x2cb)]((_0x21315b,_0x1d1d56)=>{const _0x35b202=_0x460b6d;var _0x13aa29;if(_0x21315b['id']!==_0x4f54c4[_0x35b202(0x258)]['id'])return;const _0x4a1c16=_0x21315b[_0x35b202(0x11e)];if(!this[_0x35b202(0x2b4)]((_0x13aa29=_0x4a1c16['dirtyRanges'])!=null?_0x13aa29:[]))return;if(!this[_0x35b202(0x35d)]())throw this[_0x35b202(0x315)](_0x21315b,_0x1d1d56),this[_0x35b202(0x247)](),new _0x51c300[(_0x35b202(0x254))]();})),this[_0x460b6d(0x26f)](this[_0x460b6d(0xf8)][_0x460b6d(0x161)]((_0x59b5bb,_0x363003)=>{const _0x5ae59e=_0x460b6d;if(_0x59b5bb['id']!==_0x4f54c4[_0x5ae59e(0xe4)]['id'])return;const _0x3207b4=_0x59b5bb[_0x5ae59e(0x11e)];if(_0x1d9b52(_0x3207b4)){const _0xb08d7e=_0x51c300[_0x5ae59e(0x283)]();this[_0x5ae59e(0x217)][_0x5ae59e(0x29d)](_0xb08d7e),this[_0x5ae59e(0x11a)](_0xb08d7e);}else{if(_0x2b46df(_0x3207b4)&&this[_0x5ae59e(0x217)][_0x5ae59e(0x2a5)]>0x0){const _0x1e2bdd=this[_0x5ae59e(0x217)]['shift']();this[_0x5ae59e(0x189)](_0x1e2bdd);}}}));}[_0x17d35d(0x1bb)](){const _0x408d4a=_0x17d35d;super[_0x408d4a(0x1bb)](),this['_clearPolling'](),this['_taskIds']=[],this[_0x408d4a(0x341)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x408d4a(0xca)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x47641d,_0xac8228){const _0x8b0c57=_0x17d35d;for(let _0x13390e=0x0;_0x13390e<0x1e;_0x13390e++)try{if(await this[_0x8b0c57(0x2be)](),this[_0x8b0c57(0x35d)]()){this[_0x8b0c57(0x2f1)](_0x47641d,_0xac8228),this[_0x8b0c57(0x2a0)][_0x8b0c57(0x196)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x1d9515['MessageType']['Success']});return;}await new Promise(_0x4d5fd1=>{const _0x48bc5e=_0x8b0c57;this[_0x48bc5e(0x293)]=window[_0x48bc5e(0x1cf)](_0x4d5fd1,0x3e8);});}catch(_0x4392da){this['_logService']['error'](_0x4392da);}this[_0x8b0c57(0x2a0)][_0x8b0c57(0x196)]({'content':this[_0x8b0c57(0x137)]['t'](_0x8b0c57(0x160)),'type':_0x1d9515[_0x8b0c57(0x179)][_0x8b0c57(0x1df)]});}[_0x17d35d(0x2f1)](_0x45467c,_0x1c0a26){const _0xb0b7b1=_0x17d35d;try{this['_commandService']['executeCommand'](_0x45467c['id'],_0x45467c[_0xb0b7b1(0x11e)],_0x1c0a26);}catch(_0x2b2266){this['_logService'][_0xb0b7b1(0x96)](_0x2b2266);}}['_setFormulaLimitStatus'](_0x41fd11,_0x324843){const _0x573d8a=_0x17d35d;_0x324843<this[_0x573d8a(0xca)]||(this[_0x573d8a(0xca)]=_0x324843,this[_0x573d8a(0x115)]=Number['parseInt'](_0x41fd11[_0x573d8a(0x105)]),this[_0x573d8a(0x341)]=Number[_0x573d8a(0x1fa)](_0x41fd11[_0x573d8a(0xfd)]));}async[_0x17d35d(0x11a)](_0x33d30e){const _0x37f0aa=_0x17d35d;var _0x56644c,_0x32e2b8;const _0xf67603=Date[_0x37f0aa(0x175)]();try{const _0x57864b=((_0x56644c=this[_0x37f0aa(0xdf)][_0x37f0aa(0x22d)](_0x1fb0d5[_0x37f0aa(0x257)]))==null?void 0x0:_0x56644c[_0x37f0aa(0x33a)])||_0x154d2f,_0x4e760b=(await this[_0x37f0aa(0x340)]['post'](_0x57864b,{'body':JSON[_0x37f0aa(0x210)]({'taskId':_0x33d30e})}))[_0x37f0aa(0x32d)];if(((_0x32e2b8=_0x4e760b['error'])==null?void 0x0:_0x32e2b8[_0x37f0aa(0x307)])!==_0x25292b['OK'])return;this['_setFormulaLimitStatus'](_0x4e760b[_0x37f0aa(0x30f)],_0xf67603);}catch(_0x3371b6){this[_0x37f0aa(0x11b)][_0x37f0aa(0x96)](_0x3371b6);}}async[_0x17d35d(0x2be)](_0x5466a6){const _0x38f837=_0x17d35d;var _0x262233,_0x2557e1;const _0x579193=Date['now']();try{const _0xe5b581=((_0x262233=this[_0x38f837(0xdf)][_0x38f837(0x22d)](_0x1fb0d5[_0x38f837(0x257)]))==null?void 0x0:_0x262233['getformulaLimitStatusUrl'])||_0x32f55e,_0x5b55b2=_0x5466a6?_0xe5b581+_0x38f837(0x2ef)+encodeURIComponent(_0x5466a6):_0xe5b581,_0x5986cd=(await this[_0x38f837(0x340)][_0x38f837(0x16c)](_0x5b55b2))[_0x38f837(0x32d)];if(((_0x2557e1=_0x5986cd[_0x38f837(0x96)])==null?void 0x0:_0x2557e1[_0x38f837(0x307)])!==_0x25292b['OK'])return;this[_0x38f837(0x256)](_0x5986cd['limitInfo'],_0x579193);}catch(_0x8a584a){this[_0x38f837(0x11b)][_0x38f837(0x96)](_0x8a584a);}}async[_0x17d35d(0x189)](_0x17d226){const _0x200060=_0x17d35d;var _0x3d3646,_0x3dafa3;const _0x106ddd=Date[_0x200060(0x175)]();try{const _0x4f276d=((_0x3d3646=this['_configService'][_0x200060(0x22d)](_0x1fb0d5[_0x200060(0x257)]))==null?void 0x0:_0x3d3646[_0x200060(0x116)])||_0x11b762,_0x3e9ed1=(await this[_0x200060(0x340)][_0x200060(0x24c)](_0x4f276d,{'body':JSON[_0x200060(0x210)]({'taskId':_0x17d226})}))[_0x200060(0x32d)];if(((_0x3dafa3=_0x3e9ed1[_0x200060(0x96)])==null?void 0x0:_0x3dafa3[_0x200060(0x307)])!==_0x25292b['OK'])return;this[_0x200060(0x256)](_0x3e9ed1['limitInfo'],_0x106ddd);}catch(_0x2e02d7){this['_logService']['error'](_0x2e02d7);}}[_0x17d35d(0x35d)](){const _0x273be2=_0x17d35d;return this[_0x273be2(0x115)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x273be2(0x341)]>0x0;}[_0x17d35d(0x19b)](){const _0x1da157=_0x17d35d;this[_0x1da157(0x293)]&&(clearTimeout(this[_0x1da157(0x293)]),this[_0x1da157(0x293)]=null);}[_0x17d35d(0x247)](){const _0x4ff791=_0x17d35d;this[_0x4ff791(0x2a0)][_0x4ff791(0x196)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x1d9515[_0x4ff791(0x179)][_0x4ff791(0xf9)]});}['_hasFormulaInDirtyRanges'](_0x43c09c){const _0x2d6b96=_0x17d35d;for(const _0x57c688 of _0x43c09c){const {unitId:_0x24834a,sheetId:_0x32044b,range:_0x343324}=_0x57c688,_0x2f629c=this[_0x2d6b96(0x135)][_0x2d6b96(0x167)](_0x24834a);if(!_0x2f629c)continue;const _0x279b0e=_0x2f629c[_0x2d6b96(0xfb)](_0x32044b);if(!_0x279b0e)continue;const _0x1d2560=_0x279b0e['getCellMatrix']();for(let _0x19f843=_0x343324[_0x2d6b96(0x2de)];_0x19f843<=_0x343324[_0x2d6b96(0x14c)];_0x19f843++)for(let _0x3a0305=_0x343324[_0x2d6b96(0x17a)];_0x3a0305<=_0x343324[_0x2d6b96(0x1c0)];_0x3a0305++){const _0x10f113=_0x1d2560[_0x2d6b96(0xf1)](_0x19f843,_0x3a0305);if(_0x10f113&&(_0x51c300[_0x2d6b96(0x31a)](_0x10f113['f'])||_0x51c300[_0x2d6b96(0x326)](_0x10f113['si'])))return!0x0;}}return!0x1;}};_0x2ce8fb=_0x5c34d9([_0x20d37c(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x316cc8[_0x17d35d(0x1e7)])),_0x20d37c(0x1,_0x51c300[_0x17d35d(0x101)]),_0x20d37c(0x2,_0x51c300[_0x17d35d(0x32c)]),_0x20d37c(0x3,_0x51c300['Inject'](_0x3f6e7a[_0x17d35d(0x16b)])),_0x20d37c(0x4,_0x51c300[_0x17d35d(0x181)]),_0x20d37c(0x5,_0x51c300[_0x17d35d(0x1ac)]),_0x20d37c(0x6,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x31f)]))],_0x2ce8fb);var _0xe92fbe=Object[_0x17d35d(0x1b1)],_0xfe02ad=(_0x43462e,_0x51ad33,_0x2e3824,_0x3a0d51)=>{for(var _0x2315a1=_0x3a0d51>0x1?void 0x0:_0x3a0d51?_0xe92fbe(_0x51ad33,_0x2e3824):_0x51ad33,_0x37bfae=_0x43462e['length']-0x1,_0x3d2645;_0x37bfae>=0x0;_0x37bfae--)(_0x3d2645=_0x43462e[_0x37bfae])&&(_0x2315a1=_0x3d2645(_0x2315a1)||_0x2315a1);return _0x2315a1;},_0x410fd0=(_0x1e4b82,_0x162404)=>(_0x48cdb4,_0x5a9aa8)=>_0x162404(_0x48cdb4,_0x5a9aa8,_0x1e4b82);let _0x11105d=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x4a07cc,_0x3d8ed2,_0x2ccb4d){const _0x32adcf=_0x17d35d;super(),_0x3a1755(this,_0x32adcf(0x324),new Map()),_0x3a1755(this,_0x32adcf(0x28d),new Map()),_0x3a1755(this,_0x32adcf(0x300),!0x1),(this[_0x32adcf(0xdf)]=_0x4a07cc,this[_0x32adcf(0xd8)]=_0x3d8ed2,this[_0x32adcf(0x322)]=_0x2ccb4d);}[_0x17d35d(0x28c)](){const _0x4c841b=_0x17d35d;this[_0x4c841b(0x300)]=!0x0;}[_0x17d35d(0xc2)](){const _0x23f5dd=_0x17d35d;this[_0x23f5dd(0x300)]=!0x1;}get['saveTaskMap'](){const _0x5ecd2a=_0x17d35d;return this[_0x5ecd2a(0x28d)];}[_0x17d35d(0x1bb)](){const _0x331b50=_0x17d35d;this[_0x331b50(0x208)]()['then'](()=>super[_0x331b50(0x1bb)]());}async[_0x17d35d(0x266)](_0x564011){const _0x189238=_0x17d35d;return this['_disabled']?null:this[_0x189238(0xd8)]['getItem'](_0x1fb0d5['getLocalCacheKey'](_0x564011));}async[_0x17d35d(0x241)](_0x5aac37,_0x276be1){const _0x5f4742=_0x17d35d;return!!this[_0x5f4742(0xd8)][_0x5f4742(0x233)](_0x5aac37,_0x276be1);}['updateOfflineData'](_0x419c4e,_0x31bc19,_0x113a1b,_0x46c40f){const _0x56413f=_0x17d35d,_0x524350=this['_revisionService'][_0x56413f(0x2ce)](_0x419c4e);this['_cachedData'][_0x56413f(0x176)](_0x419c4e,{'unitID':_0x419c4e,'type':_0x31bc19,'awaitingChangeset':_0x113a1b,'mutations':_0x46c40f,'rev':_0x524350}),this[_0x56413f(0x28d)][_0x56413f(0x325)](_0x419c4e)||this[_0x56413f(0x215)](_0x419c4e);}[_0x17d35d(0x215)](_0x1b859d){const _0x8def1a=_0x17d35d,_0x3a5cdd=this[_0x8def1a(0x98)]();_0x3a5cdd===0x0?this[_0x8def1a(0x2a1)](_0x1b859d):this[_0x8def1a(0x28d)][_0x8def1a(0x176)](_0x1b859d,setTimeout(()=>this['_saveCache'](_0x1b859d),_0x3a5cdd));}[_0x17d35d(0x98)](){const _0x4c800c=_0x17d35d;var _0xe26821;return(_0xe26821=this[_0x4c800c(0xdf)]['getConfig'](_0x1fb0d5[_0x4c800c(0x30e)]))!=null?_0xe26821:_0x1fb0d5[_0x4c800c(0x25f)];}[_0x17d35d(0x2a1)](_0x5a19e8){const _0x48de8f=_0x17d35d,_0x5728c9=this[_0x48de8f(0x28d)]['get'](_0x5a19e8);return _0x5728c9!==void 0x0&&window['clearTimeout'](_0x5728c9),this['_localStorageService'][_0x48de8f(0x233)](_0x1fb0d5[_0x48de8f(0x313)](_0x5a19e8),this[_0x48de8f(0x324)]['get'](_0x5a19e8))[_0x48de8f(0x1be)](()=>this[_0x48de8f(0x28d)][_0x48de8f(0x296)](_0x5a19e8));}async['exhaustSavingTask'](){const _0x1b378b=_0x17d35d,_0x2ab9be=[];this[_0x1b378b(0x28d)][_0x1b378b(0x23f)]((_0xa6df03,_0x2ad096)=>{const _0x9967=_0x1b378b;window[_0x9967(0x321)](_0xa6df03),_0x2ab9be[_0x9967(0x29d)](this[_0x9967(0x2a1)](_0x2ad096)['then'](()=>{const _0x40f978=_0x9967;this['_saveTaskMap'][_0x40f978(0x296)](_0x2ad096);}));}),await Promise['all'](_0x2ab9be);}};_0x11105d=_0xfe02ad([_0x410fd0(0x0,_0x51c300[_0x17d35d(0x32c)]),_0x410fd0(0x1,_0x51c300[_0x17d35d(0x15e)]),_0x410fd0(0x2,_0x51c300['Inject'](_0x564972[_0x17d35d(0x28f)]))],_0x11105d);class _0xdacd90 extends _0x51c300[_0x17d35d(0x15b)]{constructor(){const _0x3ad798=_0x17d35d;super(),_0x3a1755(this,_0x3ad798(0xcb)),this['urlChange$']=_0x26ac39['fromEvent'](window,_0x3ad798(0x32a))[_0x3ad798(0x28e)](_0x26ac39[_0x3ad798(0x2d3)](this['dispose$']),_0x26ac39[_0x3ad798(0x209)](0x1),_0x26ac39[_0x3ad798(0x1de)](void 0x0));}[_0x17d35d(0x1a6)](_0x30bc99,_0xb71249,_0x57e913=!0x1){const _0x143423=_0x17d35d,_0x5695c6=new URL(window[_0x143423(0x121)]['href']);_0x5695c6[_0x143423(0x1e5)][_0x143423(0x176)](_0x30bc99,_0xb71249),_0x57e913?window[_0x143423(0xad)][_0x143423(0x2e3)]('','',_0x5695c6[_0x143423(0x155)]()):window['history']['pushState']('','',_0x5695c6[_0x143423(0x155)]());}[_0x17d35d(0x21a)](_0x1652ed,_0x16c3ce=!0x1){const _0xd14a39=_0x17d35d,_0x1c6cd8=new URL(window[_0xd14a39(0x121)][_0xd14a39(0x260)]);_0x1c6cd8[_0xd14a39(0x1e5)][_0xd14a39(0x296)](_0x1652ed),_0x16c3ce?window[_0xd14a39(0xad)]['replaceState']('','',_0x1c6cd8['toString']()):window[_0xd14a39(0xad)]['pushState']('','',_0x1c6cd8[_0xd14a39(0x155)]());}[_0x17d35d(0x169)](_0x24e50c){const _0xef962b=_0x17d35d;var _0x1df8bb;return(_0x1df8bb=new URL(window[_0xef962b(0x121)][_0xef962b(0x260)])[_0xef962b(0x1e5)][_0xef962b(0x16c)](_0x24e50c))!=null?_0x1df8bb:void 0x0;}}var _0xe3cb26=Object[_0x17d35d(0x1ee)],_0xd1e5ef=Object[_0x17d35d(0x1b1)],_0x33be02=(_0x2914a6,_0x4b1437,_0x5581c2)=>_0x4b1437 in _0x2914a6?_0xe3cb26(_0x2914a6,_0x4b1437,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5581c2}):_0x2914a6[_0x4b1437]=_0x5581c2,_0x4ad30a=(_0x4e9231,_0x4e534e,_0x3be09d,_0x2b2209)=>{const _0x5d43aa=_0x17d35d;for(var _0x8d3b35=_0x2b2209>0x1?void 0x0:_0x2b2209?_0xd1e5ef(_0x4e534e,_0x3be09d):_0x4e534e,_0x574c05=_0x4e9231[_0x5d43aa(0x2a5)]-0x1,_0x17b188;_0x574c05>=0x0;_0x574c05--)(_0x17b188=_0x4e9231[_0x574c05])&&(_0x8d3b35=_0x17b188(_0x8d3b35)||_0x8d3b35);return _0x8d3b35;},_0x5816c2=(_0x486a05,_0x3bb2e6)=>(_0x4c1df1,_0x5e4817)=>_0x3bb2e6(_0x4c1df1,_0x5e4817,_0x486a05),_0x422bec=(_0x41400e,_0xc78679,_0x220546)=>_0x33be02(_0x41400e,_0xc78679+'',_0x220546);const _0x291eab=_0x17d35d(0x2c9);_0x606468[_0x17d35d(0x26d)]=class extends _0x51c300['Plugin']{constructor(_0xc3d0d6=_0x574bdb,_0x47d4ff,_0x510d68,_0x102f0c){const _0x4ddf88=_0x17d35d;super(),this['_config']=_0xc3d0d6,this[_0x4ddf88(0x2e0)]=_0x47d4ff,this[_0x4ddf88(0x111)]=_0x510d68,this[_0x4ddf88(0xdf)]=_0x102f0c;const {..._0x52626c}=_0x51c300['merge']({},_0x574bdb,this[_0x4ddf88(0x24e)]);this[_0x4ddf88(0xdf)][_0x4ddf88(0x2f9)](_0x33fb92,_0x52626c);}[_0x17d35d(0x16f)](){const _0xdf57cc=_0x17d35d;this[_0xdf57cc(0x276)](),this[_0xdf57cc(0x170)]();}['onRendered'](){const _0x332049=_0x17d35d;this[_0x332049(0x174)]();}[_0x17d35d(0x276)](){const _0x5b16f2=_0x17d35d;var _0x4ada10;const _0x2178c1=[[_0x18a9e9],[_0x2ce8fb],[_0x44cb39],[_0x5348e9],[_0x432530],[_0x2bcc62],[_0x1fcf33,{'useClass':_0xdacd90}],[_0x3f6e7a[_0x5b16f2(0x15f)],{'useClass':_0x3f6e7a[_0x5b16f2(0xe2)]}],[_0x1fb0d5[_0x5b16f2(0x363)],{'useClass':_0x11105d}],[_0x606468[_0x5b16f2(0x17b)]],[_0x2ed237],[_0x744c25],[_0x5c07ee],[_0x47d9f6],[_0x606468[_0x5b16f2(0x1e6)]]];this[_0x5b16f2(0x24e)][_0x5b16f2(0x1a9)]&&_0x2178c1['push']([_0x2379d1]),_0x51c300[_0x5b16f2(0x2d2)](this[_0x5b16f2(0x111)],_0x51c300[_0x5b16f2(0x34b)](_0x2178c1,(_0x4ada10=this[_0x5b16f2(0x24e)])==null?void 0x0:_0x4ada10[_0x5b16f2(0x1ce)]));}[_0x17d35d(0x174)](){const _0x584cbe=_0x17d35d;this[_0x584cbe(0x26f)](this[_0x584cbe(0x2e0)][_0x584cbe(0x2b2)](_0x51c300[_0x584cbe(0x245)][_0x584cbe(0x298)],[_0x323dd0])),this[_0x584cbe(0x26f)](this[_0x584cbe(0x2e0)][_0x584cbe(0x2b2)](_0x51c300[_0x584cbe(0x245)][_0x584cbe(0x2f3)],[_0x1cbee9]));}[_0x17d35d(0x170)](){const _0x426cad=_0x17d35d;_0x51c300['touchDependencies'](this[_0x426cad(0x111)],[[_0x5c07ee],[_0x606468['DesktopCollaborationStatusDisplayController']],[_0x2ed237],[_0x744c25],[_0x606468['CollaborationDataLoaderController']],[_0x2ce8fb]]),this[_0x426cad(0x24e)]['enableFrontendLog']&&_0x51c300[_0x426cad(0x362)](this['_injector'],[[_0x2379d1]]);}},_0x422bec(_0x606468[_0x17d35d(0x26d)],_0x17d35d(0x24a),_0x291eab),_0x606468[_0x17d35d(0x26d)]=_0x4ad30a([_0x51c300['DependentOn'](_0x1fb0d5[_0x17d35d(0x374)]),_0x5816c2(0x1,_0x50dad4[_0x17d35d(0x1f5)]),_0x5816c2(0x2,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x127)])),_0x5816c2(0x3,_0x51c300[_0x17d35d(0x32c)])],_0x606468[_0x17d35d(0x26d)]);var _0x40b1fe=Object[_0x17d35d(0x1b1)],_0x51a157=(_0x1fbe10,_0x4456ba,_0x13ab75,_0xc0d200)=>{const _0x527a38=_0x17d35d;for(var _0x203401=_0xc0d200>0x1?void 0x0:_0xc0d200?_0x40b1fe(_0x4456ba,_0x13ab75):_0x4456ba,_0x11f207=_0x1fbe10[_0x527a38(0x2a5)]-0x1,_0x25fcf0;_0x11f207>=0x0;_0x11f207--)(_0x25fcf0=_0x1fbe10[_0x11f207])&&(_0x203401=_0x25fcf0(_0x203401)||_0x203401);return _0x203401;},_0x263ccd=(_0x5140b5,_0x3b5612)=>(_0x57baec,_0x690aad)=>_0x3b5612(_0x57baec,_0x690aad,_0x5140b5);_0x606468[_0x17d35d(0xd0)]=class extends _0x1fb0d5[_0x17d35d(0x20c)]{constructor(_0xad4f38,_0x193f59,_0x14306e,_0xe40386,_0x583b4e){super(_0xad4f38,_0x193f59,_0x14306e,_0xe40386,_0x583b4e);}async[_0x17d35d(0x168)](_0x51bff9){const _0x55a2d9=_0x17d35d,_0x177f43=await this[_0x55a2d9(0x1ab)](),_0x4b26b7=this['_createSocketURL'](_0x51bff9,_0x177f43);return this[_0x55a2d9(0x332)](_0x4b26b7);}[_0x17d35d(0x21b)](_0x3f05f4,_0x1aaf82){const _0x1a8118=_0x17d35d,_0x174ad4=typeof window>'u'?new URL(_0x3f05f4):new URL(_0x3f05f4,window[_0x1a8118(0x121)]['origin']);_0x174ad4[_0x1a8118(0x1e5)][_0x1a8118(0x176)](_0x1a8118(0x1ed),_0x1aaf82);const _0x516a9c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1a8118(0x121)][_0x1a8118(0x10c)]);return _0x516a9c[_0x1a8118(0x16c)](_0x1a8118(0x34e))&&_0x174ad4[_0x1a8118(0x1e5)][_0x1a8118(0x176)]('runId',_0x516a9c[_0x1a8118(0x16c)](_0x1a8118(0x34e))),_0x174ad4[_0x1a8118(0x155)]();}async[_0x17d35d(0x1ab)](){const _0x97775c=_0x17d35d;var _0x554609,_0x4426e7,_0x3a11f5;const _0x5d87df=this['_configService']['getConfig'](_0x1fb0d5[_0x97775c(0x257)]),_0x2bcd82=(_0x554609=_0x5d87df==null?void 0x0:_0x5d87df[_0x97775c(0x36f)])!=null?_0x554609:_0x1fb0d5[_0x97775c(0x31c)];return(_0x3a11f5=(_0x4426e7=(await this[_0x97775c(0x340)][_0x97775c(0x16c)](_0x2bcd82,{'headers':{'Content-Type':_0x97775c(0x132)}}))['body'])==null?void 0x0:_0x4426e7['ticket'])!=null?_0x3a11f5:'';}},_0x606468['BrowserCollaborationSocketService']=_0x51a157([_0x263ccd(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x263ccd(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x3f6e7a['HTTPService'])),_0x263ccd(0x2,_0x51c300[_0x17d35d(0x32c)]),_0x263ccd(0x3,_0x51c300['ILogService']),_0x263ccd(0x4,_0x564972[_0x17d35d(0x31e)])],_0x606468[_0x17d35d(0xd0)]);var _0x43f108=Object[_0x17d35d(0x1b1)],_0x2ea0b5=(_0x376d9d,_0x3e92f9,_0x5dc36d,_0x563ea7)=>{for(var _0x4c3ee2=_0x563ea7>0x1?void 0x0:_0x563ea7?_0x43f108(_0x3e92f9,_0x5dc36d):_0x3e92f9,_0x1f2a9c=_0x376d9d['length']-0x1,_0x377625;_0x1f2a9c>=0x0;_0x1f2a9c--)(_0x377625=_0x376d9d[_0x1f2a9c])&&(_0x4c3ee2=_0x377625(_0x4c3ee2)||_0x4c3ee2);return _0x4c3ee2;},_0xa8b1b6=(_0xdb629c,_0x12424f)=>(_0x4755d1,_0x33060f)=>_0x12424f(_0x4755d1,_0x33060f,_0xdb629c);_0x606468[_0x17d35d(0xc9)]=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x2e88eb,_0x5b8b8f,_0x435d37){const _0x20f8d6=_0x17d35d;super(),this[_0x20f8d6(0xa5)]=_0x2e88eb,this[_0x20f8d6(0x340)]=_0x5b8b8f,this[_0x20f8d6(0xdf)]=_0x435d37;}async[_0x17d35d(0x359)](_0x257cc3,_0x258db1,_0x81c821,..._0x5d9e44){const _0x1537d0=_0x17d35d;var _0x4299ba,_0xaddbe6,_0xca6b81,_0x2cbf66;const _0x2982f4=this[_0x1537d0(0xa5)][_0x1537d0(0x224)]();if(!_0x2982f4)throw new Error(_0x1537d0(0x1e9));const _0x2dcadd=((_0x4299ba=this['_configService'][_0x1537d0(0x22d)](_0x1fb0d5[_0x1537d0(0x24d)]))!=null?_0x4299ba:_0x1fb0d5[_0x1537d0(0x147)])+'/'+_0x257cc3+_0x1537d0(0x2af)+_0x258db1,_0x3e7a74=new URL(window[_0x1537d0(0x121)][_0x1537d0(0x260)]),_0x40ef19={'scriptId':_0x257cc3,'runId':(_0xaddbe6=_0x3e7a74[_0x1537d0(0x1e5)][_0x1537d0(0x16c)](_0x1537d0(0x34e)))!=null?_0xaddbe6:'','function':_0x258db1,'unitId':_0x2982f4['getUnitId'](),'argsOfFunction':JSON[_0x1537d0(0x210)](_0x5d9e44),'invokeId':(_0xca6b81=_0x81c821[_0x1537d0(0x277)])!=null?_0xca6b81:'','executionId':(_0x2cbf66=_0x81c821[_0x1537d0(0x18b)])!=null?_0x2cbf66:''};try{const _0x556d2b=await this[_0x1537d0(0x340)][_0x1537d0(0x24c)](_0x2dcadd,{'body':_0x40ef19});return _0x556d2b[_0x1537d0(0x32d)][_0x1537d0(0x96)]&&_0x556d2b[_0x1537d0(0x32d)]['error'][_0x1537d0(0x307)]!==_0x25292b['OK']?_0x1537d0(0x263):_0x556d2b['body'][_0x1537d0(0xf7)];}catch{return _0x1537d0(0x263);}}},_0x606468[_0x17d35d(0xc9)]=_0x2ea0b5([_0xa8b1b6(0x0,_0x51c300[_0x17d35d(0x181)]),_0xa8b1b6(0x1,_0x51c300['Inject'](_0x3f6e7a[_0x17d35d(0x16b)])),_0xa8b1b6(0x2,_0x51c300[_0x17d35d(0x32c)])],_0x606468[_0x17d35d(0xc9)]);const _0x2dcc94=0x7530,_0x2727e9=_0x17d35d(0x180);class _0x59543c extends _0x51c300[_0x17d35d(0x2dd)]{constructor(){const _0x2a4ea0=_0x17d35d;super(),_0x3a1755(this,'_id',_0x51c300['generateRandomId']()),_0x3a1755(this,_0x2a4ea0(0x2fd),new Set()),_0x3a1755(this,_0x2a4ea0(0xcf),new Map()),_0x3a1755(this,_0x2a4ea0(0xc7),null),_0x3a1755(this,_0x2a4ea0(0x1d1),new Map()),_0x3a1755(this,'_unitStatus',new Map()),this[_0x2a4ea0(0x323)]();}[_0x17d35d(0x1bb)](){const _0x171e26=_0x17d35d;super['dispose'](),this['_clearOtherTimers'][_0x171e26(0x23f)]((_0x3c190c,_0x170649)=>this[_0x171e26(0x2d1)](_0x170649)),this[_0x171e26(0xc7)]&&window[_0x171e26(0xfc)](this[_0x171e26(0xc7)]);}[_0x17d35d(0xb0)](_0x6b0fa5){const _0x5a8d19=_0x17d35d;return this['_ensureSubject'](_0x6b0fa5)[_0x5a8d19(0x28e)](_0x26ac39[_0x5a8d19(0x1c6)]());}['editingUnit'](_0x5df3cf){const _0x3d7a72=_0x17d35d;this[_0x3d7a72(0x2fd)][_0x3d7a72(0x200)]===0x0&&this[_0x3d7a72(0x19e)](),this[_0x3d7a72(0x2fd)]['add'](_0x5df3cf),this[_0x3d7a72(0x22f)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5df3cf],'isForwarded':!0x1});}[_0x17d35d(0x303)](_0x17f681){const _0x2273c9=_0x17d35d;this[_0x2273c9(0x2fd)][_0x2273c9(0x296)](_0x17f681),this['_selfUnitIDs'][_0x2273c9(0x200)]===0x0&&this[_0x2273c9(0xc7)]&&window[_0x2273c9(0xfc)](this[_0x2273c9(0xc7)]);}[_0x17d35d(0x323)](){const _0x22ad25=_0x17d35d;this['disposeWithMe'](_0x51c300[_0x22ad25(0x1c4)](_0x26ac39[_0x22ad25(0x352)](window,_0x22ad25(0x20a))[_0x22ad25(0x2c8)](_0x39f6e8=>{const _0x39ff46=_0x22ad25;if(_0x39f6e8[_0x39ff46(0xef)]!==_0x2727e9||!_0x39f6e8[_0x39ff46(0x17e)])return;const _0x1534c4=JSON[_0x39ff46(0x357)](_0x39f6e8['newValue']);this[_0x39ff46(0x366)](_0x1534c4);}))),window['addEventListener'](_0x22ad25(0x133),()=>this[_0x22ad25(0x22f)]({'type':0x1,'memberID':this[_0x22ad25(0x109)],'unitIDs':Array[_0x22ad25(0x289)](this[_0x22ad25(0x2fd)])}));}['_handleEvent'](_0x1229b9){const _0x2ce2e=_0x17d35d;switch(_0x1229b9[_0x2ce2e(0x13f)]){case 0x0:this[_0x2ce2e(0x173)](_0x1229b9);break;case 0x1:this[_0x2ce2e(0x110)](_0x1229b9);break;case 0x2:this[_0x2ce2e(0x2d9)](_0x1229b9);break;}}[_0x17d35d(0x173)](_0x58f9d0){const _0x289cad=_0x17d35d,{unitIDs:_0x58b490,memberID:_0x30666d,isForwarded:_0x2b71e7}=_0x58f9d0;_0x58b490[_0x289cad(0x23f)](_0x8783b8=>{const _0x1e0a7c=_0x289cad;if(!_0x2b71e7&&this[_0x1e0a7c(0xcf)]['has'](_0x8783b8)&&this[_0x1e0a7c(0x12a)](_0x8783b8)['next'](_0x1fb0d5[_0x1e0a7c(0xe3)]['OTHER_CLIENTS_EDITING']),!this[_0x1e0a7c(0xcf)]['has'](_0x8783b8)||!this[_0x1e0a7c(0xcf)][_0x1e0a7c(0x16c)](_0x8783b8)[_0x1e0a7c(0x325)](_0x30666d)){const _0x5b973d=this['_unitOnClients'][_0x1e0a7c(0x16c)](_0x8783b8)||new Set();_0x5b973d['add'](_0x30666d),this[_0x1e0a7c(0xcf)][_0x1e0a7c(0x176)](_0x8783b8,_0x5b973d),this[_0x1e0a7c(0x2f2)](_0x30666d);}}),_0x2b71e7||this[_0x289cad(0x22f)]({'type':0x0,'memberID':this[_0x289cad(0x109)],'unitIDs':[...this[_0x289cad(0x2fd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x15739b){const _0x26adfc=_0x17d35d;this[_0x26adfc(0x2d1)](_0x15739b);const _0x4c38b1=window[_0x26adfc(0x1cf)](()=>{const _0x56cb02=_0x26adfc;this['_unitOnClients'][_0x56cb02(0x23f)](_0x4ac6f3=>{_0x4ac6f3['delete'](_0x15739b);});},_0x2dcc94*0x2);this[_0x26adfc(0x1d1)]['set'](_0x15739b,_0x4c38b1);}['_removeClearOtherTimer'](_0x158462){const _0x43f4ca=_0x17d35d;if(this[_0x43f4ca(0x1d1)][_0x43f4ca(0x325)](_0x158462)){const _0x5f3fb7=this[_0x43f4ca(0x1d1)][_0x43f4ca(0x16c)](_0x158462);_0x5f3fb7&&window[_0x43f4ca(0x321)](_0x5f3fb7),this[_0x43f4ca(0x1d1)][_0x43f4ca(0x176)](_0x158462,null);}}[_0x17d35d(0x110)](_0xbea34b){const _0x7a45e3=_0x17d35d,{memberID:_0x4193f4,unitIDs:_0x2e7ef2}=_0xbea34b;_0x2e7ef2[_0x7a45e3(0x23f)](_0x1dbf65=>{const _0x391635=_0x7a45e3;var _0x3c7ccf;const _0x58983c=this[_0x391635(0xcf)][_0x391635(0x16c)](_0x1dbf65);_0x58983c&&(_0x58983c['delete'](_0x4193f4),(_0x3c7ccf=this[_0x391635(0x12a)](_0x1dbf65))==null||_0x3c7ccf[_0x391635(0x287)](_0x58983c[_0x391635(0x200)]===0x0?_0x1fb0d5[_0x391635(0xe3)][_0x391635(0x2ed)]:_0x1fb0d5[_0x391635(0xe3)][_0x391635(0x163)]));}),this['_removeClearOtherTimer'](_0x4193f4);}[_0x17d35d(0x2d9)](_0x5a2300){const _0x382b18=_0x17d35d;this[_0x382b18(0x2f2)](_0x5a2300[_0x382b18(0x123)]);}[_0x17d35d(0x22f)](_0x2352ce){const _0x42d4be=_0x17d35d;localStorage[_0x42d4be(0x233)](_0x2727e9,JSON[_0x42d4be(0x210)](_0x2352ce));}[_0x17d35d(0x19e)](){const _0x6bcffe=_0x17d35d;this[_0x6bcffe(0xc7)]=window[_0x6bcffe(0x166)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x2dcc94);}['_ensureSubject'](_0x50f621){const _0x4e16f4=_0x17d35d;return this[_0x4e16f4(0x184)][_0x4e16f4(0x325)](_0x50f621)||this[_0x4e16f4(0x184)][_0x4e16f4(0x176)](_0x50f621,new _0x26ac39[(_0x4e16f4(0xa6))](_0x1fb0d5[_0x4e16f4(0xe3)][_0x4e16f4(0x2ed)])),this['_unitStatus'][_0x4e16f4(0x16c)](_0x50f621);}}_0x606468['IURLService']=_0x1fcf33,_0x606468[_0x17d35d(0xd2)]=_0x424484,_0x606468[_0x17d35d(0x140)]=_0x59543c,_0x606468['WebURLService']=_0xdacd90,Object[_0x17d35d(0x1ee)](_0x606468,Symbol[_0x17d35d(0xaa)],{'value':'Module'});}));
8
+ function _0xd951(_0x3e2f78,_0x29cae3){_0x3e2f78=_0x3e2f78-0x1be;const _0x509803=_0x5098();let _0xd9510b=_0x509803[_0x3e2f78];return _0xd9510b;}function _0x5098(){const _0x3c2b3a=['collabStatus.offline','LOCAL_CACHE_INTERVAL','onCommandExecuted','SHEET_VIEWPORT_KEY','show','WebURLService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createElement','setActiveRange','runRefRangeMutations','_applyCommand','_docTransformIMECacheService','_updateURLWithCurrentState','some','CollaborationUIEventId','DocSelectionManagerService','isTransformMutationFailure','_injector','_range','_hideTimer','stage','status$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','children','min','getCollabCursors$','TEXT_RANGE_LAYER_INDEX','reconnect','whenReady','height','registerRenderModule','entityInit$','useRef','map','_selfUnitIDs','source','_updateLocalCursor','_removeClearOtherTimer','DeleteRangeMoveUpCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','urlChange$','_render','UNIVER_DOC','LOCAL_CACHE_INTERVAL_KEY','connectInjector','createIdentifier','EffectRefRangId','_scene','set','eventID','add','split','Shape','all','debounceTime','fillRule','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_getSessionTicket','CLOSE_ROOM','getRelativeToViewportCoord','_docTransformSelectionsService','CollaborationEvent','PENDING','univerjs-icon\x20univerjs-icon-','EMAIL_VERIFY_CODE_MISMATCH','toDisposable','resize','_unitStatus','_setupSubUnitSync','_initDependencies','ticket','_beforeCloseService','_config','YUUMI_RATE_OVER_LIMIT','RECT','isTransformMutationsWithChangesetSuccess','getVpScrollXYInfoByPosToVp','_drawTextRange','data','Module','_memberService','UniverDesign','ALREADY_EXISTS','_memberID','handleIRemoveCol','_httpService','UniverDocsUi','ISocketService','UniverCore','getCellPositionByOffset','distinctUntilChanged','Loading','@univerjs/sheets-ui','CURRENT_STATUS_CANNOT_OPERATE','Plugin','assignAColorForMemberID','getOwnPropertyDescriptor','isFormulaString','IBeforeCloseService','round','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_PERMISSION_DENIED','enableLocalCache','CollaborationStatus','/universer-api/frontend/logs','Vector2','values','onPointerEnter$','blue.400','docStateChange$','lineTo','endColumn','error','TOO_MANY_REQUESTS','location','currentSkeleton$','replace','_urlService','ENTITLE_COUPON_USED_UP','_sheetSkeletonManagerService','startsWith','off-line-icon_clip0_910_343','_univerInstanceService','_onCursorDelete','41184pbxaDL','_pollingInterval','collabCursorState$','_status$','_onRefRangeChange','black','subunit','@univerjs/ui','origin','DependentOn','send','_docSyncEditingCollabCursorService','_textBubble','getDocRanges','MemberService','transformSelections','cursorInfo$','getFocusedUnit','_collabCursorController','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toRgbString','dispose','m2Prime','DisposableCollection','focused$','InsertRangeMoveDownCommandId','hide','setUndoRedoMutationParamsCache','clsx','_instanceService','deepClone','UnitStatus','collabStatus.fetchMiss','IMessageService','getActiveSheet','_refreshCollabCursors','APPLY_REVISION_CONFILICT','getCellMatrix','getSheetBySheetId','\x20at\x20','_docSkeletonManagerService','formula.calculation.started','collabStatus.syncing','collabStatus.notCollab','[Window\x20Error]:\x20','Subject','UNAUTHENTICATED','DeleteRangeMoveLeftCommandId','init','_startDocCollabCursor','_commandService','13HHySZA','RemoteUniscriptService','getUnitStatus$','ENTITLE_DUP_SUBSCRIPTION','_getMergeRange','YUUMI_NO_CUBOID_FOR_QUESTION','_currentUsage','setInterval','_transformUndoRedoStack','_hover','toStringTag','ColorKit','transformMutationsWithChangeset','syncEditingCollabCursor','_handleJoinEvent','getRenderById','mapTo','permission.content','createSocket','reason','throttleTime','_id','Unknown\x20user','setItem','_name','_handleHeartbeatEvent','SetDocZoomRatioOperation','RxDisposable','fillText','@univerjs-pro/collaboration-client','_collabSessionService','rgba(255,\x20255,\x20255,\x200.01)','now','InsertRangeMoveRightCommandId','ISnapshotServerService','Optional','LICENSE_MAX_UNITS_EXCEEDED','undoState','_docClipboardService','DocSkeletonManagerService','SUBMIT_CHANGESET_TIMEOUT','PY_RUNTIME_SCRIPT_ERROR','transformRemoteChangeset','green.600','@univerjs/engine-formula','@univerjs/sheets','_docSkeleton','permission.title','YUUMI_UNABLE_LOAD_URL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','endRow','transformStateCache','collaboration.closeRoom','HEADER_MENU','clearTimeout','switchMap','_notificationService','SNAPSHOT_HAS_BEEN_REMOVED','assign','imageSourceType','/universer-api/license/formula/limit/done','_syncEditingCollabCursorService','_drawRectRange','/run/','_anchorDot','Disposable','sessionTicket','SOCKET_FAILED_RETRY','popstate','423SnGbxk','react/jsx-runtime','ThemeService','arc','IURLService','RichTextEditingMutation','stageInfo','AWAITING_WITH_PENDING','find','actions','_clearPolling','_online','_handleLeaveEvent','SetFormulaCalculationStartMutation','REDEMPTION_CODE_NOT_STARTED','getCurrentRevOfUnit','with','getUniverSheetInstance','_transformPreviousActiveRange','ENTITLE_COUPON_EXPIRED','handleInsertRangeMoveDown','http://www.w3.org/2000/svg','post','LOGIN_TOKEN_PROCESSING_FAILED','jsxs','REDEMPTION_USER_NOT_ELIGIBLE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','isArray','_startCalculationLimit','font','_startSheetCollabCursor','[Unhandled\x20Rejection]:\x20','0\x200\x2017\x2016','UniverProCollaborationClient','application/json','getAncestorScale','_logService','catch','shift','socket$','WECHAT_HAS_BEEN_BOUND','_imageIoService','unload','@univerjs/network','_labelPosition','getMember','addObjects','ILogService','_collaborationSessionService','url(#off-line-icon_clip0_910_343)','Tools','ENTITLE_NEED_BILLING_ADDRESS','contains','_toggleOnline','restore','_checkAndWaitForCalculationPermission','exhaustSavingTask','rxjs','transform','dirtyRanges','Success','collaboration-client-ui.config','collabStatus.conflict','@univerjs/design','Injector','4200192dUyIbO','Error','_collaborationUIEventService','SOCKET_FAILED','INVITE_CODE_HAS_BEEN_UES','search','LICENSE_DISTRO_REJECTED','_scheduleClearOtherTimer','drawWith','size','unhandledrejection','_anchor','enableFrontendLog','sheetId','SetSelectionsOperation','getMergeData','formula.calculation.unable','collaboration.offline-data-not-saved','ITransformService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','doc.mutation.rich-text-editing','getTypeOfUnitDisposed$','executeCommand','MOBILE_VERIFY_CODE_MISMATCH','includes','DOC_RANGE_TYPE','_initEntityListener','_localStorageService','takeUntil','_maxFormulaLimit','REDEMPTION_CODE_FULLY_REDEEMED','m1Prime','unitId','subUnitId','unsubscribe','_eventUnsubscribe','UPDATE_CURSOR','CONFLICT','SetTextSelectionsOperation','MoveRangeCommandId','_lastResponseTimestamp','OffLineIcon','selection','_init','RegularPolygon','body','UniverCollaborationClientPlugin','closePath','fromEvent','from','_releaseCalculationLimit','trim','INTERNAL_ERROR','loadOfflineData','amd','red.300','_roomMembers$','color','subscribe','combineLatest','current','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_initWindowErrorListener','_draw','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','saveOfflineData','getCurrentUnitForType','releaseFormulaLimitUrl','fill','getCurrent','_transformService','length','defs','Rect','[CollaborationDataLoaderController]','setShapeProps','_taskIds','collaboration.single-unit.warning','deserializeRangeWithSheet','onRendered','runId','UniverIcon','UniverSheets','unshift','APPLY_DUPLICATED','_clearOtherTimers','event$','_refRangeService','flatMap','params','text','UniverUi','registerComponent','width','history','YUUMI_ALL_TABLES_IS_INVALID','_setFormulaLimitStatus','get','onPointerMove$','startFormulaLimitUrl','getViewport','function','InsertRowCommandId','getMemberID','getItem','OnLineIcon','Workbook','activeSheet$','yellow.400','BuiltInUIPart','react','UNDEFINED','_renderManagerService','addObject','redoState','_cursors','colorChannel1','removeParam','_initUserListener','textRanges','asObservable','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_ASYNCIO_CANCELLED','ranges','transformIMECache','hovered','RevisionService','onMouseMove','href','_saveTaskMap','_getFormulaLimitStatus','disableLocalCache','_uiPartsService','UniverSheetsUi','handleInsertRangeMoveRight','ONLINE','getActiveRange','substring','xlink:href','@univerjs/core','key','TEXT','string','setConfig','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_saveCache','NOT_COLLAB','stack','SNAPSHOT_INVALID_SNAPSHOT','touchDependencies','replaceState','INVALID_ARGUMENT','currentColor','makeDirty','fromEventSubject','startRow','debounce','registerBeforeClose','div','bottom','BehaviorSubject','FormulaExecutedStateType','0\x200\x2016\x2016','_disabled','displayName','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','invokeId','engine','setStateCache','jsx','moveTo','USER_NOT_INVITED_CODE','override','addHandlerCallback','getUnhiddenWorksheets','findNodePositionByCharIndex','setAlpha','getSheetObject','ILocalCacheService','idSuffix','getConfig','translate(.97)','_messageService','mask','on-line-icon_clip0_910_349','join','on-line-icon','REDEMPTION_INVALID_CODE','DocCollaborationEntity','_checkCalculationAvailable','_backgroundColor','complete','1em','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_assignedColors','delete','subscribeEvent','off-line-icon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_REJECT','session.collaboration-timeout','_initResize','_localCacheService','has','parse','createInstance','ENSURE_SNAPSHOT_EXECUTION','_themeService','forEach','UniverEngineRender','uni.network.url-service','_dataLoaderService','updateOfflineData','NodePositionConvertToRectRange','[LogService\x20Error]:\x20','functionsExecutedState','UNRECOGNIZED','MessageType','_scheduleSaving','ENTITLE_INSUFFICIENT_QUOTA','addEventListener','getSkeleton','CollaborationSessionService','_send','114YzTssk','_drawAnchor','startColumn','UniverInstanceType','_getSaveTimeout','FormulaExecuteStageType','merge','MOBILE_HAS_BEEN_BOUND','clipPath','_initCommandExecutedListener','596540TASByU','removeEventListener','CollaborationController','sessionStatus$','IConfigService','ENTITLE_INVALID_COUPON_CODE','symbol','_cursorInfo$','_getScale','...','33006eySUYm','UniverCollaborationClientUIPlugin','UniverNetwork','svg','useDependency','_uploadLog','_heartbeatTimer','138068EgwACc','173250slbiPT','transformMutation','_scheduleHeartbeat','LICENSE_IMPORT_SIZE_EXCEEDED','skeleton','2235832Niblkg','DocIMEInputManagerService','IRenderManagerService','IImageIoService','APPLY_NON_SEQUENTIAL_REVISION','roomMembers','limitInfo','_updateCollabCursors','code','getSheetId','SetWorksheetActivateCommand','CONNECTOR_DATA_TOO_LARGE','UniverEngineFormula','BrowserCollaborationSocketService','registerRefRange','M0\x200H16V16H0z','_onCursorUpdate','_colorAssignService','getCoordByCell','RemoveColCommandId','DocStateChangeManagerService','getCurrentSelections','REDEMPTION_CODE_INACTIVE','DesktopCollaborationStatusDisplayController','currentUsage','_initCommandInterceptor','unitID','parseInt','NOT_FOUND','USER_IS_ANONYMOUS','UNIVER_SHEET','onPointerLeave$','useCallback','SetFormulaCalculationNotificationMutation','_getSheetObject','then','debug','range','_doCreateSocket','_localeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CHANGESET_REVISION_CONFILICT','_handleHover','_createSocketURL','UniverDrawing','UniverRpc','RemoveRowCommandId','COMPLETION_FINISHED','shareReplay','NO_OTHER_CLIENTS_EDITING','HTTPService','VIEW_MAIN','name','url(#on-line-icon_clip0_910_349)','IDocClipboardService','_entityInit$','_unitOnClients','collab-rect-range-','_cursorShapes','FromArray','_session','editingUnit','disposeWithMe','triggerDblclick','stringify','bind','random','getColorFromTheme','evenodd','getStateCache','@univerjs/docs-ui','fillStyle','_collaborationController','ERROR_AGAIN','mutations','jiqing.500','UniverProCollaborationClientUi','transformByState','attrs','_removeCollabCursors','exports','getColor','_ensureSubject','_colorIndex','_context','next','_configService','generateRandomId','entries','_hovered','save','pushState','_monkeyPatchLogService','getLocalCacheKey','replaceDocRanges','row','OFFLINE','SheetsSelectionsService','_lastPointer','_entities','memberID','#FFF','IUniverInstanceService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DATA_SOURCE_TOO_LARGE','_getAnchorBounding','_docTransformStateCacheService','CommandType','INVALID_INVITE_CODE','CollaborationSocketService','_toggleOffline','_shapes','UniverDocs','_setupBeforeClosingHandler','push','WebBrowserSingleActiveUnitService','getParam','COLORS','column','Failed','beginPath','PAYMENT_CHANNEL_NOT_SUPPORT','YUUMI_AI_RUN_FAILED','_showGuardMessage','runOnServer','_updateSubUnitFromURLParams','_docStateChangeManagerService','searchParams','totalFormulasToCalculate','dispose$','type','CollaborationDataLoaderController','/universer-api/license/formula/limit/status','currentTheme$','collab-text-anchor-','_handleEvent','YUUMI_URL_COL_OUT_OF_RANGE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_SUBSCRIPTION_NOT_FOUND','OTHER_CLIENTS_EDITING','FETCH_MISS','_transformHistoryAndStateStack','_initStatusComponent','backgroundColor','/universer-api/license/formula/limit/start','setTimeout','getUnitId','tag','@univerjs-pro/collaboration','saveTaskMap','defineProperty','object','_initStatusListener','_cursor','maxFormulaLimit','path','isActive','measureText','_document','_registerRenderDependencies','ICommandService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','executionId','_revisionService','useObservable','message','getTypeOfUnitAdded$','YUUMI_CONNECTOR_URL_NOT_FOUND','React','LOGIN_FAILED','white','saveImage','_hasFormulaInDirtyRanges','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','pipe','_cachedData','cursorInfo','REDEMPTION_CODE_HAS_BEEN_CREATED','_collabCursorState$','url(#$1','USER_NOT_FOUND','roomMembers$','JOIN_ROOM_FAILED','LocaleService','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','toString','none','_color','PERMISSION_DENIED','Inject','INotificationService','ENTITLE_CHAT_LIMIT_EXCEED'];_0x5098=function(){return _0x3c2b3a;};return _0x5098();}(function(_0x287316,_0x5b1030){const _0xc1aa93=_0xd951,_0x173688=_0x287316();while(!![]){try{const _0x5e5873=-parseInt(_0xc1aa93(0x3ef))/0x1*(parseInt(_0xc1aa93(0x271))/0x2)+-parseInt(_0xc1aa93(0x3bc))/0x3+parseInt(_0xc1aa93(0x27e))/0x4+-parseInt(_0xc1aa93(0x267))/0x5+parseInt(_0xc1aa93(0x25d))/0x6*(parseInt(_0xc1aa93(0x278))/0x7)+parseInt(_0xc1aa93(0x475))/0x8+-parseInt(_0xc1aa93(0x434))/0x9*(parseInt(_0xc1aa93(0x279))/0xa);if(_0x5e5873===_0x5b1030)break;else _0x173688['push'](_0x173688['shift']());}catch(_0x19e397){_0x173688['push'](_0x173688['shift']());}}}(_0x5098,0x487b8),function(_0x57b525,_0x273d66){const _0x31a82e=_0xd951;typeof exports==_0x31a82e(0x315)&&typeof module<'u'?_0x273d66(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==_0x31a82e(0x1e2)&&define[_0x31a82e(0x4ab)]?define([_0x31a82e(0x2ce),_0x31a82e(0x435),_0x31a82e(0x40c),_0x31a82e(0x208),_0x31a82e(0x3c3),'rxjs',_0x31a82e(0x473),_0x31a82e(0x1eb),'@univerjs/rpc',_0x31a82e(0x41c),'@univerjs/engine-render',_0x31a82e(0x45f),_0x31a82e(0x2c4),'@univerjs/drawing',_0x31a82e(0x312),'@univerjs/docs',_0x31a82e(0x41b),'rxjs/operators',_0x31a82e(0x39c)],_0x273d66):(_0x57b525=typeof globalThis<'u'?globalThis:_0x57b525||self,_0x273d66(_0x57b525[_0x31a82e(0x2ca)]={},_0x57b525[_0x31a82e(0x326)],_0x57b525[_0x31a82e(0x455)],_0x57b525[_0x31a82e(0x398)],_0x57b525[_0x31a82e(0x1d8)],_0x57b525[_0x31a82e(0x46d)],_0x57b525[_0x31a82e(0x391)],_0x57b525['React'],_0x57b525[_0x31a82e(0x2ab)],_0x57b525[_0x31a82e(0x1cf)],_0x57b525[_0x31a82e(0x24e)],_0x57b525[_0x31a82e(0x273)],_0x57b525[_0x31a82e(0x396)],_0x57b525[_0x31a82e(0x2aa)],_0x57b525['UniverProCollaboration'],_0x57b525[_0x31a82e(0x2ee)],_0x57b525[_0x31a82e(0x28a)],_0x57b525['rxjs']['operators'],_0x57b525[_0x31a82e(0x202)]));}(this,function(_0x40352c,_0x13857f,_0x3958ea,_0x40624a,_0x8e6f8f,_0x5b38f4,_0x4e15c3,_0xd4880e,_0xd8d89c,_0x411621,_0x2680b3,_0x42d795,_0x118be2,_0x39a6e5,_0x2c324c,_0x3f3b23,_0x100a4f,_0x23a207,_0x383790){'use strict';const _0x295e11=_0xd951;var _0x52273e=Object[_0x295e11(0x314)],_0x1ef35f=(_0x5532b3,_0xd23dcd,_0x5194f6)=>_0xd23dcd in _0x5532b3?_0x52273e(_0x5532b3,_0xd23dcd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5194f6}):_0x5532b3[_0xd23dcd]=_0x5194f6,_0x9020b=(_0x19606b,_0x2cf3a6,_0x43941c)=>_0x1ef35f(_0x19606b,typeof _0x2cf3a6!=_0x295e11(0x26d)?_0x2cf3a6+'':_0x2cf3a6,_0x43941c);function _0x131739({ref:_0xca56b2,..._0x76c429}){const _0x376ae8=_0x295e11,{icon:_0x85921,id:_0x360fe0,className:_0x1a9603,extend:_0x16bfad,..._0xac3fef}=_0x76c429,_0x1301a7=(_0x376ae8(0x37f)+_0x360fe0+'\x20'+(_0x1a9603||''))[_0x376ae8(0x4a8)](),_0x2a7704=_0xd4880e[_0x376ae8(0x360)]('_'+_0x4a4889());return _0x39d872(_0x85921,''+_0x360fe0,{'defIds':_0x85921['defIds'],'idSuffix':_0x2a7704[_0x376ae8(0x4b1)]},{'ref':_0xca56b2,'className':_0x1301a7,..._0xac3fef},_0x16bfad);}function _0x39d872(_0xb6893a,_0x2d2188,_0xb6e0a2,_0x470ea3,_0x3f876c){const _0x2eb4a0=_0x295e11;return _0xd4880e[_0x2eb4a0(0x347)](_0xb6893a['tag'],{'key':_0x2d2188,..._0x4a7ab4(_0xb6893a,_0xb6e0a2,_0x3f876c),..._0x470ea3},(_0x3b45e4(_0xb6893a,_0xb6e0a2)[_0x2eb4a0(0x357)]||[])[_0x2eb4a0(0x361)]((_0x3c3a8f,_0xf1c516)=>_0x39d872(_0x3c3a8f,_0x2d2188+'-'+_0xb6893a[_0x2eb4a0(0x311)]+'-'+_0xf1c516,_0xb6e0a2,void 0x0,_0x3f876c)));}function _0x4a7ab4(_0x1e8845,_0x6642f6,_0x472910){const _0x2289af=_0x295e11,_0x41dcf0={..._0x1e8845['attrs']};_0x472910!=null&&_0x472910['colorChannel1']&&_0x41dcf0[_0x2289af(0x1c1)]===_0x2289af(0x1f1)&&(_0x41dcf0[_0x2289af(0x1c1)]=_0x472910[_0x2289af(0x1f1)]),_0x1e8845[_0x2289af(0x311)]===_0x2289af(0x234)&&_0x41dcf0['id']&&(_0x41dcf0['id']=_0x41dcf0['id']+_0x6642f6['idSuffix']),Object[_0x2289af(0x2d6)](_0x41dcf0)[_0x2289af(0x24d)](([_0xcb21f,_0x16c5ac])=>{const _0x577462=_0x2289af;_0xcb21f===_0x577462(0x234)&&typeof _0x16c5ac==_0x577462(0x20b)&&(_0x41dcf0[_0xcb21f]=_0x16c5ac['replace'](/url\(#(.*)\)/,'url(#$1'+_0x6642f6['idSuffix']+')'));});const {defIds:_0x5d9336}=_0x6642f6;return!_0x5d9336||_0x5d9336[_0x2289af(0x1c4)]===0x0||(_0x1e8845[_0x2289af(0x311)]==='use'&&_0x41dcf0['xlink:href']&&(_0x41dcf0[_0x2289af(0x207)]=_0x41dcf0['xlink:href']+_0x6642f6[_0x2289af(0x230)]),Object['entries'](_0x41dcf0)[_0x2289af(0x24d)](([_0x29a382,_0x6b1f68])=>{const _0x5ce6b7=_0x2289af;typeof _0x6b1f68==_0x5ce6b7(0x20b)&&(_0x41dcf0[_0x29a382]=_0x6b1f68[_0x5ce6b7(0x3b4)](/url\(#(.*)\)/,_0x5ce6b7(0x332)+_0x6642f6[_0x5ce6b7(0x230)]+')'));})),_0x41dcf0;}function _0x3b45e4(_0x57adee,_0x20b1ae){const _0x47902b=_0x295e11;var _0x124c7f;const {defIds:_0x25813d}=_0x20b1ae;return!_0x25813d||_0x25813d[_0x47902b(0x1c4)]===0x0?_0x57adee:_0x57adee['tag']===_0x47902b(0x1c5)&&((_0x124c7f=_0x57adee[_0x47902b(0x357)])!=null&&_0x124c7f[_0x47902b(0x1c4)])?{..._0x57adee,'children':_0x57adee['children'][_0x47902b(0x361)](_0x498124=>typeof _0x498124[_0x47902b(0x2cc)]['id']==_0x47902b(0x20b)&&_0x25813d&&_0x25813d[_0x47902b(0x48d)](_0x498124[_0x47902b(0x2cc)]['id'])?{..._0x498124,'attrs':{..._0x498124[_0x47902b(0x2cc)],'id':_0x498124[_0x47902b(0x2cc)]['id']+_0x20b1ae['idSuffix']}}:_0x498124)}:_0x57adee;}function _0x4a4889(){const _0x70cca9=_0x295e11;return Math[_0x70cca9(0x2c0)]()[_0x70cca9(0x339)](0x24)[_0x70cca9(0x206)](0x2,0x8);}_0x131739[_0x295e11(0x221)]=_0x295e11(0x1ce);const _0x5901d5={'tag':_0x295e11(0x274),'attrs':{'xmlns':_0x295e11(0x449),'fill':_0x295e11(0x33a),'viewBox':_0x295e11(0x21f),'width':_0x295e11(0x23d),'height':_0x295e11(0x23d)},'children':[{'tag':'g','attrs':{'clipPath':_0x295e11(0x465)},'children':[{'tag':_0x295e11(0x319),'attrs':{'stroke':_0x295e11(0x215),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x295e11(0x1c5),'attrs':{},'children':[{'tag':_0x295e11(0x265),'attrs':{'id':_0x295e11(0x3b9)},'children':[{'tag':_0x295e11(0x319),'attrs':{'fill':'white','d':_0x295e11(0x28d)}}]}]}],'defIds':[_0x295e11(0x3b9)]},_0x5590f2=_0xd4880e['forwardRef'](function(_0x4f8aa6,_0x36dca2){const _0xa355de=_0x295e11;return _0xd4880e[_0xa355de(0x347)](_0x131739,Object[_0xa355de(0x429)]({},_0x4f8aa6,{'id':_0xa355de(0x242),'ref':_0x36dca2,'icon':_0x5901d5}));});_0x5590f2[_0x295e11(0x221)]=_0x295e11(0x49e);const _0xe8835b={'tag':'svg','attrs':{'xmlns':_0x295e11(0x449),'fill':'none','viewBox':_0x295e11(0x454),'width':_0x295e11(0x23d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x295e11(0x2b3)},'children':[{'tag':_0x295e11(0x319),'attrs':{'stroke':_0x295e11(0x215),'d':_0x295e11(0x4b6),'strokeLinecap':_0x295e11(0x3a3),'strokeLinejoin':_0x295e11(0x3a3),'strokeWidth':1.2}}]},{'tag':_0x295e11(0x1c5),'attrs':{},'children':[{'tag':_0x295e11(0x265),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x295e11(0x319),'attrs':{'fill':_0x295e11(0x328),'d':_0x295e11(0x28d),'transform':_0x295e11(0x232)}}]}]}],'defIds':[_0x295e11(0x235)]},_0x52040c=_0xd4880e['forwardRef'](function(_0x2250c3,_0x43e22f){const _0x53fe98=_0x295e11;return _0xd4880e[_0x53fe98(0x347)](_0x131739,Object['assign']({},_0x2250c3,{'id':_0x53fe98(0x237),'ref':_0x43e22f,'icon':_0xe8835b}));});_0x52040c[_0x295e11(0x221)]=_0x295e11(0x1e6);function _0x2f1c0b(_0x1ffd1e){const _0x51dc1a=_0x295e11;switch(_0x1ffd1e){case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x2de)]:return _0x51dc1a(0x340);case _0x3958ea[_0x51dc1a(0x3a7)]['CONFLICT']:return _0x51dc1a(0x472);case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x30a)]:return _0x51dc1a(0x3dc);case _0x3958ea[_0x51dc1a(0x3a7)]['NOT_COLLAB']:return _0x51dc1a(0x3e7);case _0x3958ea['CollaborationStatus']['AWAITING']:case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x43b)]:return _0x51dc1a(0x3e6);case _0x3958ea[_0x51dc1a(0x3a7)]['SYNCED']:case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x37e)]:return'collabStatus.synced';}}function _0xcd213(_0x1b6a2c){const _0x2bc7f5=_0x295e11,{status$:_0x436ae1}=_0x1b6a2c,_0x495ca0=_0x8e6f8f[_0x2bc7f5(0x322)](_0x436ae1,_0x3958ea['CollaborationStatus'][_0x2bc7f5(0x20f)]),_0x340eec=_0x8e6f8f['useDependency'](_0x40624a[_0x2bc7f5(0x336)]),_0x5cfd52=_0x8e6f8f[_0x2bc7f5(0x275)](_0x3958ea[_0x2bc7f5(0x25b)]),_0x3d8e3b=_0x495ca0!==_0x3958ea[_0x2bc7f5(0x3a7)]['OFFLINE'],_0x482001=_0x340eec['t'](_0x2f1c0b(_0x495ca0)),_0x164598=_0x3d8e3b?_0x13857f[_0x2bc7f5(0x226)](_0x52040c,{}):_0x13857f[_0x2bc7f5(0x226)](_0x5590f2,{}),_0x13c59d=_0xd4880e[_0x2bc7f5(0x29e)](()=>{const _0x38d741=_0x2bc7f5;_0x3d8e3b||_0x5cfd52[_0x38d741(0x35b)]();},[_0x3d8e3b,_0x5cfd52]);function _0x2e0147(){const _0xb30c2d=_0x2bc7f5;return _0x13857f[_0xb30c2d(0x44c)](_0xb30c2d(0x21b),{'className':'univer-flex\x20univer-items-center','onClick':_0x13c59d,'children':[_0x13857f[_0xb30c2d(0x226)](_0xb30c2d(0x21b),{'className':_0x4e15c3[_0xb30c2d(0x3d8)](_0xb30c2d(0x1f6),{'univer-text-green-500':_0x3d8e3b,'univer-text-red-500':!_0x3d8e3b}),'children':_0x164598}),_0x13857f[_0xb30c2d(0x226)]('div',{'className':_0xb30c2d(0x2a6),'children':_0x482001})]});}return _0x3d8e3b?_0x2e0147():_0x13857f[_0x2bc7f5(0x226)](_0x4e15c3['Tooltip'],{'title':_0x340eec['t']('collab-client.tooltip.reconnect'),'children':_0x2e0147()});}var _0x12011b=Object[_0x295e11(0x3a0)],_0x168c30=(_0x2ae7c1,_0xd94130,_0x39c76e,_0x9fb07e)=>{const _0x548137=_0x295e11;for(var _0x1022bb=_0x9fb07e>0x1?void 0x0:_0x9fb07e?_0x12011b(_0xd94130,_0x39c76e):_0xd94130,_0x35bcdb=_0x2ae7c1[_0x548137(0x1c4)]-0x1,_0x258a3c;_0x35bcdb>=0x0;_0x35bcdb--)(_0x258a3c=_0x2ae7c1[_0x35bcdb])&&(_0x1022bb=_0x258a3c(_0x1022bb)||_0x1022bb);return _0x1022bb;},_0x1e8573=(_0x43b099,_0x25030e)=>(_0x7067a,_0x705bdc)=>_0x25030e(_0x7067a,_0x705bdc,_0x43b099);_0x40352c['DesktopCollaborationStatusDisplayController']=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x391501,_0x5997cb,_0x5e9bdb,_0xbc69da){const _0x53a496=_0x295e11;super(),_0x9020b(this,'_status$',new _0x5b38f4['BehaviorSubject'](_0x3958ea[_0x53a496(0x3a7)][_0x53a496(0x20f)])),(this[_0x53a496(0x3ba)]=_0x391501,this[_0x53a496(0x351)]=_0x5997cb,this['_collaborationController']=_0x5e9bdb,this[_0x53a496(0x201)]=_0xbc69da,this[_0x53a496(0x30c)](),this['_initStatusListener']());}[_0x295e11(0x316)](){const _0x32a44f=_0x295e11;this[_0x32a44f(0x2bc)](this[_0x32a44f(0x3ba)][_0x32a44f(0x3d4)][_0x32a44f(0x32d)](_0x5b38f4[_0x32a44f(0x426)](()=>{const _0x1b9a06=_0x32a44f,_0x2517cd=this[_0x1b9a06(0x3ba)][_0x1b9a06(0x3cd)]();return _0x2517cd?this[_0x1b9a06(0x2c6)]['getCollabEntity$'](_0x2517cd[_0x1b9a06(0x310)]()):_0x5b38f4['of'](null);}),_0x5b38f4['switchMap'](_0x4ca2fe=>_0x4ca2fe?_0x4ca2fe[_0x32a44f(0x355)]:_0x5b38f4['of'](_0x3958ea[_0x32a44f(0x3a7)]['NOT_COLLAB'])))[_0x32a44f(0x4af)](_0x253c97=>{const _0x1dbc8e=_0x32a44f;this[_0x1dbc8e(0x3bf)][_0x1dbc8e(0x2d3)](_0x253c97);}));}[_0x295e11(0x30c)](){const _0x54a419=_0x295e11;this[_0x54a419(0x2bc)](this[_0x54a419(0x201)][_0x54a419(0x1d9)](_0x8e6f8f[_0x54a419(0x1ea)][_0x54a419(0x424)],()=>_0x8e6f8f[_0x54a419(0x36c)](_0x41185c({'status$':this['_status$'][_0x54a419(0x1f5)]()}),this['_injector'])));}},_0x40352c[_0x295e11(0x295)]=_0x168c30([_0x1e8573(0x0,_0x40624a[_0x295e11(0x2e4)]),_0x1e8573(0x1,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1e8573(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x269)])),_0x1e8573(0x3,_0x8e6f8f['IUIPartsService'])],_0x40352c[_0x295e11(0x295)]);function _0x41185c(_0x52c9ae){const {status$:_0x44ad9c}=_0x52c9ae;return function(){return _0x13857f['jsx'](_0xcd213,{'status$':_0x44ad9c});};}const _0x6adebe=_0x40624a[_0x295e11(0x36d)](_0x295e11(0x24f));var _0x42923e=Object[_0x295e11(0x3a0)],_0x2a106a=(_0x1e7ffc,_0x5503fa,_0x5cc529,_0xde3492)=>{const _0x214063=_0x295e11;for(var _0x5c6e79=_0xde3492>0x1?void 0x0:_0xde3492?_0x42923e(_0x5503fa,_0x5cc529):_0x5503fa,_0x1307ae=_0x1e7ffc[_0x214063(0x1c4)]-0x1,_0x76634d;_0x1307ae>=0x0;_0x1307ae--)(_0x76634d=_0x1e7ffc[_0x1307ae])&&(_0x5c6e79=_0x76634d(_0x5c6e79)||_0x5c6e79);return _0x5c6e79;},_0x592fe8=(_0x4dc3cd,_0x2b9a45)=>(_0x553803,_0x22066f)=>_0x2b9a45(_0x553803,_0x22066f,_0x4dc3cd);_0x40352c[_0x295e11(0x301)]=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1b2fa9,_0x3c9bd7,_0x3bc1d3,_0x38a27a,_0x531ae1){const _0x17777a=_0x295e11;super(),this[_0x17777a(0x3b5)]=_0x1b2fa9,this[_0x17777a(0x458)]=_0x3c9bd7,this[_0x17777a(0x3ee)]=_0x3bc1d3,this['_dataLoaderService']=_0x38a27a,_0x531ae1?_0x531ae1==null||_0x531ae1[_0x17777a(0x35c)]()[_0x17777a(0x2a1)](()=>this[_0x17777a(0x4a0)]()):(this[_0x17777a(0x458)][_0x17777a(0x2a2)](_0x17777a(0x1c7),_0x17777a(0x44e)),this[_0x17777a(0x4a0)]());}async['_init'](){const _0x4ce2cd=_0x295e11,_0x4492e0=this['_urlService'][_0x4ce2cd(0x2f2)]('unit'),_0x52bd08=this[_0x4ce2cd(0x3b5)][_0x4ce2cd(0x2f2)](_0x4ce2cd(0x300)),_0x40146a=this['_urlService'][_0x4ce2cd(0x2f2)](_0x4ce2cd(0x3c2));if(!_0x4492e0||!_0x52bd08){this['_logService'][_0x4ce2cd(0x2a2)](_0x4ce2cd(0x1c7),_0x4ce2cd(0x3a4));return;}const _0x41d800=await this[_0x4ce2cd(0x250)]['loadUnit'](_0x4492e0,Number(_0x52bd08),_0x40146a);_0x41d800&&_0x41d800 instanceof _0x40624a[_0x4ce2cd(0x1e7)]&&this[_0x4ce2cd(0x384)](_0x41d800);}async[_0x295e11(0x384)](_0x562653){const _0x461bd0=_0x295e11;await this['_updateSubUnitFromURLParams'](_0x562653),_0x562653[_0x461bd0(0x1e8)]['pipe'](_0x5b38f4[_0x461bd0(0x491)](this[_0x461bd0(0x2ff)]))[_0x461bd0(0x4af)](_0xcfca4f=>{const _0x25c174=_0x461bd0;_0xcfca4f&&this[_0x25c174(0x34c)](_0xcfca4f);}),this[_0x461bd0(0x3b5)][_0x461bd0(0x368)][_0x461bd0(0x32d)](_0x5b38f4[_0x461bd0(0x491)](this['dispose$']))[_0x461bd0(0x4af)](()=>this[_0x461bd0(0x2fb)](_0x562653));}[_0x295e11(0x34c)](_0x114e33,_0x41669a=!0x1){const _0x84637e=_0x295e11,_0xe85f69=this[_0x84637e(0x3b5)]['getParam'](_0x84637e(0x3c2));_0x114e33['getSheetId']()!==_0xe85f69&&this[_0x84637e(0x3b5)]['setParam']('subunit',_0x114e33[_0x84637e(0x287)](),_0x41669a);}async['_updateSubUnitFromURLParams'](_0x26aece){const _0x2c758e=_0x295e11;var _0x5bad2b;const _0x1690ab=this['_urlService']['getParam']('subunit');if(!_0x1690ab||!_0x26aece['getSheetBySheetId'](_0x1690ab)){const _0x5e1680=_0x26aece[_0x2c758e(0x22b)]()[0x0],_0x5b2d25=_0x26aece[_0x2c758e(0x3e2)](_0x5e1680);if(!_0x5b2d25)return;this[_0x2c758e(0x34c)](_0x5b2d25,!0x0),await this[_0x2c758e(0x3ee)][_0x2c758e(0x48b)](_0x411621[_0x2c758e(0x288)]['id'],{'unitId':_0x26aece['getUnitId'](),'subUnitId':_0x5e1680});return;}((_0x5bad2b=_0x26aece[_0x2c758e(0x3de)]())==null?void 0x0:_0x5bad2b['getSheetId']())!==_0x1690ab&&await this[_0x2c758e(0x3ee)][_0x2c758e(0x48b)](_0x411621[_0x2c758e(0x288)]['id'],{'unitId':_0x26aece[_0x2c758e(0x310)](),'subUnitId':_0x1690ab});}},_0x40352c[_0x295e11(0x301)]=_0x2a106a([_0x592fe8(0x0,_0x6adebe),_0x592fe8(0x1,_0x40624a['ILogService']),_0x592fe8(0x2,_0x40624a[_0x295e11(0x31e)]),_0x592fe8(0x3,_0x40624a['Inject'](_0x3958ea['DataLoaderService'])),_0x592fe8(0x4,_0x40624a[_0x295e11(0x412)](_0xd8d89c['IRemoteInstanceService']))],_0x40352c[_0x295e11(0x301)]);var _0x3d1fbf=Object[_0x295e11(0x3a0)],_0x23df43=(_0x2c8cd8,_0x4dfc0f,_0x1078d4,_0x2a945f)=>{const _0x4c0641=_0x295e11;for(var _0x31108d=_0x2a945f>0x1?void 0x0:_0x2a945f?_0x3d1fbf(_0x4dfc0f,_0x1078d4):_0x4dfc0f,_0x3d14b5=_0x2c8cd8[_0x4c0641(0x1c4)]-0x1,_0x2d7fb9;_0x3d14b5>=0x0;_0x3d14b5--)(_0x2d7fb9=_0x2c8cd8[_0x3d14b5])&&(_0x31108d=_0x2d7fb9(_0x31108d)||_0x31108d);return _0x31108d;},_0x52f7c2=(_0x22a71c,_0x40e784)=>(_0x13c049,_0x1fe269)=>_0x40e784(_0x13c049,_0x1fe269,_0x22a71c);let _0x47f626=class extends _0x40624a['RxDisposable']{constructor(_0x302379,_0xcd4b90){const _0x3f6b21=_0x295e11;super(),this[_0x3f6b21(0x415)]=_0x302379,this['_imageIoService']=_0xcd4b90,this[_0x3f6b21(0x4a0)]();}['_init'](){const _0x55319d=_0x295e11,_0x1ab0a9=this;this[_0x55319d(0x2bc)](this[_0x55319d(0x415)]['addClipboardHook']({'onBeforePasteImage':async _0x277c93=>{const _0x3910a2=_0x55319d,_0x49c372=await _0x1ab0a9[_0x3910a2(0x45d)][_0x3910a2(0x329)](_0x277c93);return _0x49c372?{'source':_0x49c372[_0x3910a2(0x363)],'imageSourceType':_0x49c372[_0x3910a2(0x42a)]}:null;}}));}};_0x47f626=_0x23df43([_0x52f7c2(0x0,_0x118be2[_0x295e11(0x2b4)]),_0x52f7c2(0x1,_0x39a6e5[_0x295e11(0x281)])],_0x47f626);const _0x5a4b3c=['purple.300',_0x295e11(0x2c9),_0x295e11(0x41a),_0x295e11(0x4ac),_0x295e11(0x3ac),_0x295e11(0x1e9)];class _0x2d4f99 extends _0x40624a[_0x295e11(0x430)]{constructor(){const _0x4bea10=_0x295e11;super(...arguments),_0x9020b(this,'_assignedColors',new Map()),_0x9020b(this,_0x4bea10(0x2d1),0x0);}[_0x295e11(0x39f)](_0x244c72){const _0x516272=_0x295e11;if(this[_0x516272(0x23f)][_0x516272(0x248)](_0x244c72))return this[_0x516272(0x23f)][_0x516272(0x1de)](_0x244c72);const _0x1a80ba=_0x5a4b3c[this[_0x516272(0x2d1)]];return this[_0x516272(0x2d1)]=(this[_0x516272(0x2d1)]+0x1)%_0x5a4b3c[_0x516272(0x1c4)],this['_assignedColors']['set'](_0x244c72,_0x1a80ba),_0x1a80ba;}}function _0x102844(_0x17dfa0){const _0x5ebeb7=_0x295e11;let _0xf102be='';for(const _0x21d1f8 of _0x17dfa0){const {startOffset:_0x4f2170,endOffset:_0x129770,isActive:_0x4d8e89,rangeType:_0x40628c,segmentId:_0x50c7ae,segmentPage:_0x12f649}=_0x21d1f8;_0xf102be[_0x5ebeb7(0x1c4)]&&(_0xf102be+=','),_0xf102be+=_0x4f2170+':'+_0x129770+':'+(_0x4d8e89?'1':'0')+':'+_0x40628c+':'+_0x50c7ae+':'+_0x12f649;}return _0xf102be;}function _0x58bff3(_0x51a700){const _0x1bf0df=_0x295e11,_0x21e4a0=_0x51a700[_0x1bf0df(0x373)](','),_0x1311e2=[];for(const _0x12e62a of _0x21e4a0){const [_0x4be033,_0x207bb7,_0x5c1387,_0x6963c9,_0x35316c,_0x2d12cd]=_0x12e62a[_0x1bf0df(0x373)](':');_0x1311e2[_0x1bf0df(0x2f0)]({'startOffset':Number(_0x4be033),'endOffset':Number(_0x207bb7),'collapsed':_0x4be033===_0x207bb7,'isActive':_0x5c1387==='1','rangeType':_0x6963c9===_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x20a)]?_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x20a)]:_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x38a)],'segmentId':typeof _0x35316c==_0x1bf0df(0x20b)?String(_0x35316c):'','segmentPage':Number(_0x2d12cd!=null?_0x2d12cd:-0x1)});}return _0x1311e2[_0x1bf0df(0x34d)](_0x3756f2=>_0x3756f2[_0x1bf0df(0x31a)])||(_0x1311e2[0x0][_0x1bf0df(0x31a)]=!0x0),_0x1311e2;}class _0x2a125f extends _0x40624a[_0x295e11(0x40a)]{constructor(){const _0x2da0fb=_0x295e11;super(...arguments),_0x9020b(this,_0x2da0fb(0x331),new _0x5b38f4[(_0x2da0fb(0x21d))](null)),_0x9020b(this,_0x2da0fb(0x3be),this['_collabCursorState$'][_0x2da0fb(0x1f5)]());}[_0x295e11(0x3fc)](_0x9dd2f1){const _0x4c9fae=_0x295e11,{unitID:_0x231157,memberID:_0x4e6650,textRanges:_0x555a9c}=_0x9dd2f1,_0x275abd=_0x102844(_0x555a9c);if(_0x275abd==='')return;const _0x30bb1c={'unitID':_0x231157,'memberID':_0x4e6650,'selection':_0x275abd};this[_0x4c9fae(0x331)][_0x4c9fae(0x2d3)](_0x30bb1c);}}var _0x2a4222=Object[_0x295e11(0x3a0)],_0x3e0001=(_0x55520a,_0x2800cf,_0x5d7e1e,_0x2fa240)=>{const _0x1292cd=_0x295e11;for(var _0x322cbe=_0x2fa240>0x1?void 0x0:_0x2fa240?_0x2a4222(_0x2800cf,_0x5d7e1e):_0x2800cf,_0x214fd1=_0x55520a[_0x1292cd(0x1c4)]-0x1,_0x3324de;_0x214fd1>=0x0;_0x214fd1--)(_0x3324de=_0x55520a[_0x214fd1])&&(_0x322cbe=_0x3324de(_0x322cbe)||_0x322cbe);return _0x322cbe;},_0x257362=(_0x4f2bf8,_0x25dbb3)=>(_0x446402,_0xe9a420)=>_0x25dbb3(_0x446402,_0xe9a420,_0x4f2bf8);const _0x3d3736=0x12c,_0x5e6a39=0x64;let _0x3890dd=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x55503b,_0x4c0f58,_0x13026e,_0x328ad8,_0xd6fe50,_0x253ed7,_0x4c8692,_0x5c0ab0,_0x4ed639){const _0x4e266d=_0x295e11;super(),_0x9020b(this,_0x4e266d(0x43f),!0x1),_0x9020b(this,_0x4e266d(0x4a0),!0x1),_0x9020b(this,'_cursorInfo$',new _0x5b38f4['BehaviorSubject'](new Map())),_0x9020b(this,_0x4e266d(0x3cc),this['_cursorInfo$'][_0x4e266d(0x1f5)]()),_0x9020b(this,'_roomMembers$',new _0x5b38f4[(_0x4e266d(0x21d))]([])),_0x9020b(this,'roomMembers$',this['_roomMembers$'][_0x4e266d(0x32d)](_0x5b38f4[_0x4e266d(0x376)](_0x3d3736))),_0x9020b(this,_0x4e266d(0x364),_0x40624a[_0x4e266d(0x219)](_0x15702c=>{const _0x2869dd=_0x4e266d,_0x2d05d2={'eventID':_0x2c324c[_0x2869dd(0x37d)][_0x2869dd(0x499)],'data':{'unitID':this[_0x2869dd(0x298)],'memberID':this[_0x2869dd(0x2ba)][_0x2869dd(0x1e4)](),'selection':_0x102844(_0x15702c)}};this['_session'][_0x2869dd(0x3c6)](_0x2d05d2,this[_0x2869dd(0x298)]);},_0x5e6a39)),(this[_0x4e266d(0x298)]=_0x55503b,this[_0x4e266d(0x2ba)]=_0x4c0f58,this[_0x4e266d(0x351)]=_0x13026e,this[_0x4e266d(0x28f)]=_0x328ad8,this[_0x4e266d(0x390)]=_0xd6fe50,this[_0x4e266d(0x42c)]=_0x253ed7,this[_0x4e266d(0x1c3)]=_0x4c8692,this[_0x4e266d(0x3ba)]=_0x5c0ab0,this[_0x4e266d(0x3ee)]=_0x4ed639);}get[_0x295e11(0x32f)](){const _0x17382f=_0x295e11;return this['_cursorInfo$'][_0x17382f(0x337)]();}get['roomMembers'](){const _0x2631be=_0x295e11;return this[_0x2631be(0x4ad)][_0x2631be(0x337)]();}['dispose'](){const _0x3e252b=_0x295e11;super[_0x3e252b(0x3d1)](),this[_0x3e252b(0x26e)][_0x3e252b(0x2d3)](new Map()),this['_cursorInfo$'][_0x3e252b(0x23c)](),this[_0x3e252b(0x4ad)][_0x3e252b(0x2d3)]([]),this['_roomMembers$'][_0x3e252b(0x23c)]();}[_0x295e11(0x3ec)](){const _0x1edc16=_0x295e11;this[_0x1edc16(0x4a0)]||(this[_0x1edc16(0x4a0)]=!0x0,this[_0x1edc16(0x2ba)][_0x1edc16(0x26a)][_0x1edc16(0x32d)](_0x5b38f4[_0x1edc16(0x491)](this[_0x1edc16(0x2ff)]))['subscribe'](_0x4cca0c=>{const _0x7ed1b7=_0x1edc16;_0x4cca0c===_0x3958ea['SessionStatus'][_0x7ed1b7(0x204)]?this['_toggleOnline']():this[_0x7ed1b7(0x2ec)]();}),this[_0x1edc16(0x2ba)]['event$'][_0x1edc16(0x32d)](_0x5b38f4['takeUntil'](this[_0x1edc16(0x2ff)]))['subscribe'](_0x3409f3=>{const _0x2e2d6d=_0x1edc16,_0x529573=_0x3409f3[_0x2e2d6d(0x371)];_0x529573===_0x2c324c[_0x2e2d6d(0x37d)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3409f3),_0x529573===_0x2c324c[_0x2e2d6d(0x37d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x3409f3);}),this[_0x1edc16(0x2bc)](this[_0x1edc16(0x3ee)][_0x1edc16(0x342)](_0x3bfc14=>{const _0x367677=_0x1edc16,_0x5741d1=_0x3bfc14[_0x367677(0x1d6)];_0x5741d1!=null&&this['_online']&&_0x3bfc14['id']===_0x3f3b23[_0x367677(0x49b)]['id']&&_0x5741d1['unitId']===this[_0x367677(0x298)]&&_0x5741d1['isEditing']===!0x1&&_0x5741d1['ranges'][_0x367677(0x1c4)]>0x0&&this[_0x367677(0x364)](_0x5741d1[_0x367677(0x1f8)]);})),this[_0x1edc16(0x42c)]['collabCursorState$']['pipe'](_0x5b38f4[_0x1edc16(0x491)](this[_0x1edc16(0x2ff)]))[_0x1edc16(0x4af)](_0x2a4d46=>{const _0xde30fa=_0x1edc16;if((_0x2a4d46==null?void 0x0:_0x2a4d46[_0xde30fa(0x298)])!==this[_0xde30fa(0x298)])return;const _0x901b06={'eventID':_0x2c324c['CollaborationEvent'][_0xde30fa(0x499)],'data':_0x2a4d46};this[_0xde30fa(0x28e)](_0x901b06);}),this[_0x1edc16(0x2bc)](this[_0x1edc16(0x3ee)]['onCommandExecuted'](_0x3372f4=>{const _0x3ce016=_0x1edc16;if(_0x3372f4['params']==null)return;const _0x5c9574=_0x3372f4['params'];if(_0x3372f4['id']!==_0x3f3b23[_0x3ce016(0x439)]['id']||_0x5c9574[_0x3ce016(0x495)]!==this[_0x3ce016(0x298)])return;const _0x5786b3={'id':_0x3ce016(0x489),'params':_0x5c9574},_0x4c4f43=this[_0x3ce016(0x32f)];for(const [_0x5a7712,_0x2ecd0e]of _0x4c4f43){const _0x339304={'id':_0x3ce016(0x489),'params':{'unitId':this[_0x3ce016(0x298)],'actions':null,'textRanges':_0x2ecd0e[_0x3ce016(0x1f8)]}},_0x24577b=this[_0x3ce016(0x1c3)][_0x3ce016(0x27a)](_0x5786b3,_0x339304,!0x1);if(_0x2c324c[_0x3ce016(0x350)](_0x24577b))throw _0x24577b[_0x3ce016(0x3b0)];_0x4c4f43['set'](_0x5a7712,{..._0x2ecd0e,'ranges':_0x24577b[_0x3ce016(0x3d2)][_0x3ce016(0x1d6)][_0x3ce016(0x1f4)]});}queueMicrotask(()=>{const _0x553931=_0x3ce016;this[_0x553931(0x26e)][_0x553931(0x2d3)](_0x4c4f43);});})));}[_0x295e11(0x28e)](_0x187296){const _0x3f686f=_0x295e11;var _0x4ca474,_0x52d007;const {memberID:_0x222de6,selection:_0x888b6f}=_0x187296['data'],_0x529384=_0x58bff3(_0x888b6f),_0x46197e=(_0x52d007=(_0x4ca474=this[_0x3f686f(0x390)][_0x3f686f(0x461)](this[_0x3f686f(0x298)],_0x222de6))==null?void 0x0:_0x4ca474[_0x3f686f(0x2b2)])!=null?_0x52d007:_0x3f686f(0x405),_0x29e655={'color':this[_0x3f686f(0x28f)][_0x3f686f(0x39f)](_0x222de6),'name':_0x46197e,'ranges':_0x529384},_0x1eab11=this['cursorInfo'];_0x1eab11['set'](_0x222de6,_0x29e655),this[_0x3f686f(0x26e)][_0x3f686f(0x2d3)](_0x1eab11);}[_0x295e11(0x3bb)](_0x1bc7a9){const _0x54f6ef=_0x295e11,{memberID:_0x1f34a3}=_0x1bc7a9[_0x54f6ef(0x38e)],_0x280e18=this[_0x54f6ef(0x32f)];_0x280e18[_0x54f6ef(0x240)](_0x1f34a3),this[_0x54f6ef(0x26e)][_0x54f6ef(0x2d3)](_0x280e18);}[_0x295e11(0x469)](){const _0x44e8a8=_0x295e11;var _0x736fbe;if(this['_online']=!0x0,((_0x736fbe=this[_0x44e8a8(0x3ba)][_0x44e8a8(0x3cd)]())==null?void 0x0:_0x736fbe[_0x44e8a8(0x310)]())!==this[_0x44e8a8(0x298)])return;const _0x325e34=this[_0x44e8a8(0x351)][_0x44e8a8(0x1de)](_0x3f3b23['DocSelectionManagerService'])[_0x44e8a8(0x3c9)]();Array[_0x44e8a8(0x44f)](_0x325e34)&&_0x325e34[_0x44e8a8(0x1c4)]>0x0&&this[_0x44e8a8(0x364)](_0x325e34);}[_0x295e11(0x2ec)](){const _0x3df8b6=_0x295e11;this[_0x3df8b6(0x43f)]=!0x1;}};_0x3890dd=_0x3e0001([_0x257362(0x2,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x257362(0x3,_0x40624a[_0x295e11(0x33d)](_0x2d4f99)),_0x257362(0x4,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x3ca)])),_0x257362(0x5,_0x40624a[_0x295e11(0x33d)](_0x2a125f)),_0x257362(0x6,_0x2c324c[_0x295e11(0x487)]),_0x257362(0x7,_0x40624a[_0x295e11(0x2e4)]),_0x257362(0x8,_0x40624a[_0x295e11(0x31e)])],_0x3890dd);var _0x4f6ccc=Object[_0x295e11(0x3a0)],_0x41cedf=(_0x4f145a,_0x397679,_0x1be8c2,_0x5174c2)=>{const _0x1cba3e=_0x295e11;for(var _0x8a633=_0x5174c2>0x1?void 0x0:_0x5174c2?_0x4f6ccc(_0x397679,_0x1be8c2):_0x397679,_0x556b21=_0x4f145a[_0x1cba3e(0x1c4)]-0x1,_0x1b4ab6;_0x556b21>=0x0;_0x556b21--)(_0x1b4ab6=_0x4f145a[_0x556b21])&&(_0x8a633=_0x1b4ab6(_0x8a633)||_0x8a633);return _0x8a633;},_0x1b052f=(_0x53d015,_0x570139)=>(_0x1c6c6b,_0x12287d)=>_0x570139(_0x1c6c6b,_0x12287d,_0x53d015);const _0x5b2ea1=0x12c,_0x1f1062=0x64,_0x5e4f08=()=>{let _0xb95cd2=[],_0x9b5be1=!0x1;return _0x53a938=>{const _0x4b227d=_0xd951;_0xb95cd2[_0x4b227d(0x2f0)](_0x53a938),_0x9b5be1||(_0x9b5be1=!0x0,setTimeout(()=>{const _0x38c4d2=_0x4b227d;_0xb95cd2[_0x38c4d2(0x24d)](_0x198d60=>_0x198d60()),_0xb95cd2=[],_0x9b5be1=!0x1;}));};};let _0x523ec5=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x53a2aa,_0x24400c,_0x3f2398,_0x2540fd,_0x54a51d,_0xd0d4ed,_0x2b9b4e,_0x5eabde){const _0x4de1b5=_0x295e11;super(),_0x9020b(this,_0x4de1b5(0x43f),!0x1),_0x9020b(this,_0x4de1b5(0x4a0),!0x1),_0x9020b(this,'_cursorInfo$',new _0x5b38f4[(_0x4de1b5(0x21d))](new Map())),_0x9020b(this,_0x4de1b5(0x3cc),this[_0x4de1b5(0x26e)]['asObservable']()),_0x9020b(this,'_roomMembers$',new _0x5b38f4['BehaviorSubject']([])),_0x9020b(this,_0x4de1b5(0x334),this[_0x4de1b5(0x4ad)][_0x4de1b5(0x32d)](_0x5b38f4[_0x4de1b5(0x376)](_0x5b2ea1))),_0x9020b(this,'_updateLocalCursor',_0x40624a[_0x4de1b5(0x219)]((_0x49fedb,_0x3f8233)=>{const _0x170276=_0x4de1b5,_0xe1c0d2={'eventID':_0x2c324c[_0x170276(0x37d)][_0x170276(0x499)],'data':{'unitID':this[_0x170276(0x298)],'memberID':this[_0x170276(0x2ba)][_0x170276(0x1e4)](),'selection':_0x100a4f['serializeRangeWithSheet'](_0x49fedb,_0x3f8233[_0x170276(0x2a3)])}};this[_0x170276(0x2ba)][_0x170276(0x3c6)](_0xe1c0d2,this[_0x170276(0x298)]);},_0x1f1062)),(this[_0x4de1b5(0x298)]=_0x53a2aa,this[_0x4de1b5(0x2ba)]=_0x24400c,this[_0x4de1b5(0x351)]=_0x3f2398,this[_0x4de1b5(0x28f)]=_0x2540fd,this[_0x4de1b5(0x390)]=_0x54a51d,this['_univerInstanceService']=_0xd0d4ed,this[_0x4de1b5(0x3ee)]=_0x2b9b4e,this[_0x4de1b5(0x1d4)]=_0x5eabde);}get[_0x295e11(0x32f)](){const _0x5db136=_0x295e11;return this[_0x5db136(0x26e)][_0x5db136(0x337)]();}get[_0x295e11(0x283)](){const _0x330254=_0x295e11;return this[_0x330254(0x4ad)][_0x330254(0x337)]();}[_0x295e11(0x3d1)](){const _0x51655=_0x295e11;super[_0x51655(0x3d1)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x51655(0x23c)](),this['_roomMembers$'][_0x51655(0x2d3)]([]),this[_0x51655(0x4ad)][_0x51655(0x23c)]();}[_0x295e11(0x3ec)](){const _0x1ee9a5=_0x295e11;this['_init']||(this[_0x1ee9a5(0x4a0)]=!0x0,this[_0x1ee9a5(0x2ba)]['sessionStatus$'][_0x1ee9a5(0x32d)](_0x5b38f4[_0x1ee9a5(0x491)](this[_0x1ee9a5(0x2ff)]))['subscribe'](_0x1cb913=>{const _0x3a2a11=_0x1ee9a5;_0x1cb913===_0x3958ea['SessionStatus'][_0x3a2a11(0x204)]?this['_toggleOnline']():this[_0x3a2a11(0x2ec)]();}),this[_0x1ee9a5(0x2ba)][_0x1ee9a5(0x1d3)][_0x1ee9a5(0x32d)](_0x5b38f4[_0x1ee9a5(0x491)](this[_0x1ee9a5(0x2ff)]))[_0x1ee9a5(0x4af)](_0x18ca13=>{const _0x4be13e=_0x1ee9a5,_0x9171fb=_0x18ca13[_0x4be13e(0x371)];_0x9171fb===_0x2c324c[_0x4be13e(0x37d)]['UPDATE_CURSOR']&&this[_0x4be13e(0x28e)](_0x18ca13),_0x9171fb===_0x2c324c[_0x4be13e(0x37d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x18ca13);}),this['_onRefRangeChange'](),this[_0x1ee9a5(0x2bc)](this[_0x1ee9a5(0x3ee)][_0x1ee9a5(0x342)](_0x548dff=>{const _0x447cef=_0x1ee9a5;if(this[_0x447cef(0x43f)]&&_0x548dff['id']===_0x411621[_0x447cef(0x483)]['id']&&_0x548dff['params']['unitId']===this[_0x447cef(0x298)]){const _0x2c7fef=_0x548dff[_0x447cef(0x1d6)];this[_0x447cef(0x364)](_0x2c7fef[_0x447cef(0x496)],_0x2c7fef['selections'][0x0]);}})));}['_onCursorUpdate'](_0x87c3c5){const _0x3f3f45=_0x295e11;var _0x29d61d,_0x3037ea;const {memberID:_0x3dddac,selection:_0x5c1174}=_0x87c3c5[_0x3f3f45(0x38e)],{sheetName:_0x186d70,range:_0x1d0ca4}=_0x100a4f[_0x3f3f45(0x1cb)](_0x5c1174),_0x286a83={'name':(_0x3037ea=(_0x29d61d=this['_memberService']['getMember'](this[_0x3f3f45(0x298)],_0x3dddac))==null?void 0x0:_0x29d61d[_0x3f3f45(0x2b2)])!=null?_0x3037ea:_0x3f3f45(0x405),'range':this[_0x3f3f45(0x3f3)](_0x186d70,_0x1d0ca4),'sheetID':_0x186d70,'color':this['_colorAssignService'][_0x3f3f45(0x39f)](_0x3dddac),'selection':_0x5c1174},_0x1592bc=this[_0x3f3f45(0x32f)];_0x1592bc[_0x3f3f45(0x370)](_0x3dddac,_0x286a83),this[_0x3f3f45(0x26e)][_0x3f3f45(0x2d3)](_0x1592bc);}[_0x295e11(0x3bb)](_0x42e49c){const _0x3a547d=_0x295e11,{memberID:_0x23401b}=_0x42e49c[_0x3a547d(0x38e)],_0x2b9a20=this[_0x3a547d(0x32f)];_0x2b9a20[_0x3a547d(0x240)](_0x23401b),this[_0x3a547d(0x26e)][_0x3a547d(0x2d3)](_0x2b9a20);}['_getMergeRange'](_0x3faf14,_0x355ecf){const _0x32e5b4=_0x295e11;var _0x3ac723,_0x5c18f7;const _0x370291=(_0x5c18f7=(_0x3ac723=this[_0x32e5b4(0x3ba)][_0x32e5b4(0x445)](this[_0x32e5b4(0x298)]))==null?void 0x0:_0x3ac723[_0x32e5b4(0x3e2)](_0x3faf14))==null?void 0x0:_0x5c18f7[_0x32e5b4(0x484)]();return(_0x370291==null?void 0x0:_0x370291[_0x32e5b4(0x43c)](_0x1db291=>_0x40624a['Rectangle'][_0x32e5b4(0x468)](_0x1db291,_0x355ecf)))||_0x355ecf;}[_0x295e11(0x3c0)](){const _0x3dd950=_0x295e11,_0x2fc688=new _0x40624a[(_0x3dd950(0x3d3))](),_0x3e7019=_0x5e4f08(),_0x14352a=()=>{const _0x4a07d2=_0x3dd950;_0x2fc688[_0x4a07d2(0x3d1)]();const _0x38dcf1=(_0x27614d,_0x5b7305,_0xeb9f68,_0x4bea2e)=>{const _0x541b19=_0x4a07d2;let _0x3c566f=[];switch(_0x27614d['id']){case _0x411621[_0x541b19(0x36e)][_0x541b19(0x3eb)]:{_0x3c566f=_0x411621['handleDeleteRangeMoveLeft'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x366)]:{_0x3c566f=_0x411621['handleDeleteRangeMoveUp'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)]['InsertColCommandId']:{_0x3c566f=_0x411621['handleInsertCol'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x3d5)]:{_0x3c566f=_0x411621[_0x541b19(0x448)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x410)]:{_0x3c566f=_0x411621[_0x541b19(0x203)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x1e3)]:{_0x3c566f=_0x411621['handleInsertRow'](_0x27614d,_0x4bea2e);break;}case _0x411621['EffectRefRangId'][_0x541b19(0x49c)]:{_0x3c566f=_0x411621['handleMoveRange'](_0x27614d,_0x4bea2e);break;}case _0x411621['EffectRefRangId'][_0x541b19(0x291)]:{_0x3c566f=_0x411621[_0x541b19(0x394)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x2ac)]:{_0x3c566f=_0x411621['handleIRemoveRow'](_0x27614d,_0x4bea2e);break;}}const _0x1dc816=_0x411621[_0x541b19(0x349)](_0x3c566f,_0x4bea2e),_0x553b3b=this[_0x541b19(0x32f)][_0x541b19(0x1de)](_0x5b7305);if(_0x553b3b&&_0x1dc816){const _0x441a82={..._0x553b3b,'range':_0x1dc816};this[_0x541b19(0x32f)][_0x541b19(0x370)](_0x5b7305,_0x441a82),_0x3e7019(()=>{const _0xa2c807=_0x541b19,_0x2af9fc=this['_refRangeService'][_0xa2c807(0x28c)](_0x1dc816,_0x255a80=>(_0x2af9fc[_0xa2c807(0x3d1)](),_0x38dcf1(_0x255a80,_0x5b7305,_0xeb9f68,_0x1dc816)));_0x2fc688[_0xa2c807(0x372)](_0x2af9fc);});}return{'redos':[],'undos':[]};};this[_0x4a07d2(0x32f)]['forEach']((_0x4709cc,_0x29775a)=>{const _0x13693f=_0x4a07d2,{range:_0x35ece7,sheetID:_0x488596}=_0x4709cc,_0x4b64f4=this['_refRangeService']['registerRefRange'](_0x35ece7,_0x4d7a1e=>(_0x4b64f4[_0x13693f(0x3d1)](),_0x38dcf1(_0x4d7a1e,_0x29775a,_0x488596,_0x35ece7)));_0x2fc688[_0x13693f(0x372)](_0x4b64f4);});};this[_0x3dd950(0x2bc)](_0x40624a[_0x3dd950(0x381)](this[_0x3dd950(0x26e)]['subscribe'](()=>{_0x14352a();})));}['_toggleOnline'](){const _0x5b511a=_0x295e11;var _0x54caf1,_0x32f729;if(this[_0x5b511a(0x43f)]=!0x0,((_0x54caf1=this[_0x5b511a(0x3ba)]['getFocusedUnit']())==null?void 0x0:_0x54caf1['getUnitId']())!==this[_0x5b511a(0x298)])return;const _0x2e7bb4=(_0x32f729=this[_0x5b511a(0x351)]['get'](_0x411621[_0x5b511a(0x2df)])[_0x5b511a(0x293)]())==null?void 0x0:_0x32f729[0x0],_0x3bfa3f=this['_univerInstanceService'][_0x5b511a(0x1bf)](_0x40624a[_0x5b511a(0x260)][_0x5b511a(0x29c)])[_0x5b511a(0x3de)]();_0x2e7bb4&&_0x3bfa3f&&this['_updateLocalCursor'](_0x3bfa3f[_0x5b511a(0x287)](),_0x2e7bb4);}[_0x295e11(0x2ec)](){const _0x497efa=_0x295e11;this[_0x497efa(0x43f)]=!0x1;}};_0x523ec5=_0x41cedf([_0x1b052f(0x2,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1b052f(0x3,_0x40624a[_0x295e11(0x33d)](_0x2d4f99)),_0x1b052f(0x4,_0x40624a[_0x295e11(0x33d)](_0x3958ea['MemberService'])),_0x1b052f(0x5,_0x40624a[_0x295e11(0x2e4)]),_0x1b052f(0x6,_0x40624a['ICommandService']),_0x1b052f(0x7,_0x40624a[_0x295e11(0x33d)](_0x411621['RefRangeService']))],_0x523ec5);var _0x8ceac4=Object['getOwnPropertyDescriptor'],_0x38c744=(_0x3ce998,_0x472e3d,_0x40cea5,_0x515c8b)=>{const _0x358e43=_0x295e11;for(var _0x43f0a4=_0x515c8b>0x1?void 0x0:_0x515c8b?_0x8ceac4(_0x472e3d,_0x40cea5):_0x472e3d,_0x3b0205=_0x3ce998[_0x358e43(0x1c4)]-0x1,_0x3eed05;_0x3b0205>=0x0;_0x3b0205--)(_0x3eed05=_0x3ce998[_0x3b0205])&&(_0x43f0a4=_0x3eed05(_0x43f0a4)||_0x43f0a4);return _0x43f0a4;},_0x335a40=(_0xb7f342,_0xad2926)=>(_0x5f6054,_0x5c85bd)=>_0xad2926(_0x5f6054,_0x5c85bd,_0xb7f342);let _0x2e9070=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1fe412,_0x2f10d2,_0x6027a5){const _0x27065e=_0x295e11;super(),_0x9020b(this,_0x27065e(0x2e1),new Map()),_0x9020b(this,'_entityInit$',new _0x5b38f4[(_0x27065e(0x3e9))]()),(this[_0x27065e(0x3ba)]=_0x1fe412,this['_injector']=_0x2f10d2,this[_0x27065e(0x40d)]=_0x6027a5,this['_init']());}['dispose'](){const _0xac6d81=_0x295e11;super[_0xac6d81(0x3d1)](),this[_0xac6d81(0x2b5)][_0xac6d81(0x23c)](),this['_entities'][_0xac6d81(0x24d)](_0x5a20f7=>_0x5a20f7[_0xac6d81(0x3d1)]());}[_0x295e11(0x359)](_0x149a78){const _0x5d499f=_0x295e11;return this[_0x5d499f(0x2e1)][_0x5d499f(0x248)](_0x149a78)?this['_entities'][_0x5d499f(0x1de)](_0x149a78)[_0x5d499f(0x3cc)]:this[_0x5d499f(0x2b5)]['pipe'](_0x5b38f4['filter'](_0x436759=>_0x436759[_0x5d499f(0x298)]===_0x149a78),_0x5b38f4[_0x5d499f(0x426)](_0x2db1ba=>_0x2db1ba[_0x5d499f(0x3cc)]));}[_0x295e11(0x4a0)](){const _0x45d9db=_0x295e11;this['_univerInstanceService'][_0x45d9db(0x324)](_0x40624a[_0x45d9db(0x260)][_0x45d9db(0x29c)])['pipe'](_0x5b38f4[_0x45d9db(0x491)](this[_0x45d9db(0x2ff)]))[_0x45d9db(0x4af)](async _0xfc322c=>{const _0x53a854=_0x45d9db,_0x3d0a6e=_0xfc322c['getUnitId'](),_0x44e0cb=await this[_0x53a854(0x452)](_0x3d0a6e);this[_0x53a854(0x2b5)]['next'](_0x44e0cb),this[_0x53a854(0x2e1)][_0x53a854(0x370)](_0x3d0a6e,_0x44e0cb);}),this[_0x45d9db(0x3ba)][_0x45d9db(0x324)](_0x40624a['UniverInstanceType'][_0x45d9db(0x36a)])[_0x45d9db(0x32d)](_0x5b38f4[_0x45d9db(0x491)](this[_0x45d9db(0x2ff)]))[_0x45d9db(0x32d)](_0x5b38f4['filter'](_0x17f7b2=>!_0x17f7b2['getUnitId']()[_0x45d9db(0x3b8)]('__')))[_0x45d9db(0x4af)](async _0x56497d=>{const _0x12becb=_0x45d9db,_0x5e5339=_0x56497d[_0x12becb(0x310)](),_0x237dc5=await this[_0x12becb(0x3ed)](_0x5e5339);this['_entityInit$']['next'](_0x237dc5),this[_0x12becb(0x2e1)][_0x12becb(0x370)](_0x5e5339,_0x237dc5);}),_0x5b38f4['merge'](this['_univerInstanceService'][_0x45d9db(0x48a)](_0x40624a[_0x45d9db(0x260)]['UNIVER_DOC']),this[_0x45d9db(0x3ba)][_0x45d9db(0x48a)](_0x40624a[_0x45d9db(0x260)][_0x45d9db(0x29c)]))[_0x45d9db(0x32d)](_0x5b38f4[_0x45d9db(0x491)](this['dispose$']))['subscribe'](_0x5f42bb=>{const _0x3de874=_0x45d9db,_0x1565e2=_0x5f42bb[_0x3de874(0x310)](),_0x3b3ee7=this[_0x3de874(0x2e1)]['get'](_0x1565e2);_0x3b3ee7&&(_0x3b3ee7[_0x3de874(0x3d1)](),this[_0x3de874(0x2e1)]['delete'](_0x1565e2));});}async[_0x295e11(0x452)](_0x304ffd){const _0x41cbe8=_0x295e11,_0x31eff5=await this['_collabSessionService']['requireSession'](_0x304ffd),_0x11c5dc=this[_0x41cbe8(0x351)]['createInstance'](_0x523ec5,_0x304ffd,_0x31eff5);return _0x11c5dc[_0x41cbe8(0x3ec)](),_0x11c5dc;}async[_0x295e11(0x3ed)](_0x33df58){const _0x327ee5=_0x295e11,_0x280772=await this[_0x327ee5(0x40d)]['requireSession'](_0x33df58),_0x25430d=this[_0x327ee5(0x351)][_0x327ee5(0x24a)](_0x3890dd,_0x33df58,_0x280772);return _0x25430d[_0x327ee5(0x3ec)](),_0x25430d;}};_0x2e9070=_0x38c744([_0x335a40(0x0,_0x40624a['IUniverInstanceService']),_0x335a40(0x1,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x335a40(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x25b)]))],_0x2e9070);const _0x35613d=0x14,_0x4d8d40=0xc8,_0x5d5c87=0x4,_0x928588=0x5;function _0x152066(_0x2e4cb0,_0x14e90d){const _0x2fccec=_0x295e11;let {radius:_0x269c10,width:_0x1b13f7,height:_0x1d1e5d}=_0x14e90d;_0x269c10=_0x269c10!=null?_0x269c10:0x0,_0x1b13f7=_0x1b13f7!=null?_0x1b13f7:0x1e,_0x1d1e5d=_0x1d1e5d!=null?_0x1d1e5d:0x1e;let _0x36d24f=0x0,_0x4f65a7=0x0,_0x1a9e46=0x0;_0x36d24f=_0x4f65a7=_0x1a9e46=Math[_0x2fccec(0x358)](_0x269c10,_0x1b13f7/0x2,_0x1d1e5d/0x2),_0x2e4cb0[_0x2fccec(0x2f6)](),_0x2e4cb0[_0x2fccec(0x227)](_0x36d24f,0x0),_0x2e4cb0[_0x2fccec(0x3ae)](_0x1b13f7-_0x4f65a7,0x0),_0x2e4cb0[_0x2fccec(0x437)](_0x1b13f7-_0x4f65a7,_0x4f65a7,_0x4f65a7,Math['PI']*0x3/0x2,0x0,!0x1),_0x2e4cb0[_0x2fccec(0x3ae)](_0x1b13f7,_0x1d1e5d-_0x1a9e46),_0x2e4cb0[_0x2fccec(0x437)](_0x1b13f7-_0x1a9e46,_0x1d1e5d-_0x1a9e46,_0x1a9e46,0x0,Math['PI']/0x2,!0x1),_0x2e4cb0['lineTo'](0x0,_0x1d1e5d),_0x2e4cb0[_0x2fccec(0x3ae)](0x0,_0x36d24f),_0x2e4cb0['arc'](_0x36d24f,_0x36d24f,_0x36d24f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2e4cb0[_0x2fccec(0x4a4)](),_0x14e90d[_0x2fccec(0x1c1)]&&(_0x2e4cb0[_0x2fccec(0x2d8)](),_0x2e4cb0[_0x2fccec(0x2c5)]=_0x14e90d['fill'],_0x14e90d[_0x2fccec(0x377)]===_0x2fccec(0x2c2)?_0x2e4cb0['fill']('evenodd'):_0x2e4cb0['fill'](),_0x2e4cb0[_0x2fccec(0x46a)]());}class _0x368cae extends _0x2680b3[_0x295e11(0x374)]{constructor(_0x27b948,_0x4ca0a7){const _0x3114c7=_0x295e11;super(_0x27b948,_0x4ca0a7),_0x9020b(this,'color'),_0x9020b(this,'text'),(this[_0x3114c7(0x4ae)]=_0x4ca0a7==null?void 0x0:_0x4ca0a7['color'],this[_0x3114c7(0x1d7)]=_0x4ca0a7==null?void 0x0:_0x4ca0a7['text']);}static[_0x295e11(0x47d)](_0x445bf8,_0x5820cc){const _0x5aeba8=_0x295e11,{text:_0xd0a2bb,color:_0xa74210}=_0x5820cc;_0x445bf8['save'](),_0x445bf8[_0x5aeba8(0x451)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x538f99=_0x445bf8[_0x5aeba8(0x31b)](_0xd0a2bb)['width'],_0x315024=Math[_0x5aeba8(0x358)](_0x538f99+0x2*_0x5d5c87,_0x4d8d40);_0x152066(_0x445bf8,{'height':_0x35613d,'radius':0x4,'width':_0x315024,'fill':_0xa74210}),_0x445bf8[_0x5aeba8(0x2c5)]=_0x5aeba8(0x2e3);const _0x2bb98d=_0x5d5c87,_0x3af4ce=_0x35613d-_0x928588,_0x463771=_0x4d8d40-0x2*_0x5d5c87;if(_0x538f99>_0x463771){let _0x227587='',_0x136a12=0x0;for(const _0x3497a6 of _0xd0a2bb){const _0x580044=_0x445bf8[_0x5aeba8(0x31b)](_0x3497a6)['width'];if(_0x136a12+_0x580044<=_0x463771-_0x445bf8[_0x5aeba8(0x31b)](_0x5aeba8(0x270))[_0x5aeba8(0x1da)])_0x227587+=_0x3497a6,_0x136a12+=_0x580044;else{_0x227587+=_0x5aeba8(0x270);break;}}_0x445bf8['fillText'](_0x227587,_0x2bb98d,_0x3af4ce);}else _0x445bf8[_0x5aeba8(0x40b)](_0xd0a2bb,_0x2bb98d,_0x3af4ce);_0x445bf8['restore']();}[_0x295e11(0x4b5)](_0x2c41da){_0x368cae['drawWith'](_0x2c41da,this);}}const _0x468e62=_0x295e11(0x304),_0x4c3fbd='collab-text-range-',_0x2981df=_0x295e11(0x2b7),_0x62891c=0x6,_0x5e2caf=1.5,_0x322d6c=0x4,_0x3c6dc7=1.5,_0x32fbe1=_0x295e11(0x40e);class _0x49aed0{constructor(_0x3e776c,_0x430368,_0x167092,_0xf17f62){const _0x3ff88a=_0x295e11;_0x9020b(this,_0x3ff88a(0x2ed),[]),_0x9020b(this,_0x3ff88a(0x480),null),_0x9020b(this,_0x3ff88a(0x3c8),null),_0x9020b(this,'_anchorDot',null),_0x9020b(this,'_hideTimer',null),_0x9020b(this,'_eventUnsubscribe',null),(this[_0x3ff88a(0x317)]=_0x3e776c,this[_0x3ff88a(0x36f)]=_0x430368,this[_0x3ff88a(0x41d)]=_0x167092,this[_0x3ff88a(0x31c)]=_0xf17f62,this[_0x3ff88a(0x369)]());}set[_0x295e11(0x3f8)](_0x4b3ea7){const _0x50fa72=_0x295e11;_0x4b3ea7?(this[_0x50fa72(0x42f)]&&this[_0x50fa72(0x42f)][_0x50fa72(0x3d6)](),this[_0x50fa72(0x3c8)]&&this[_0x50fa72(0x3c8)][_0x50fa72(0x344)]()):(this[_0x50fa72(0x42f)]&&this[_0x50fa72(0x42f)]['show'](),this[_0x50fa72(0x3c8)]&&this[_0x50fa72(0x3c8)][_0x50fa72(0x3d6)]());}['dispose'](){const _0x47c638=_0x295e11;for(const _0x453e76 of this[_0x47c638(0x2ed)])_0x453e76[_0x47c638(0x3d1)]();this['_textBubble']&&this['_textBubble'][_0x47c638(0x3d1)](),this[_0x47c638(0x42f)]&&this['_anchorDot'][_0x47c638(0x3d1)](),this[_0x47c638(0x480)]&&this['_anchor'][_0x47c638(0x3d1)](),this['_eventUnsubscribe']&&this[_0x47c638(0x498)]();}[_0x295e11(0x369)](){const _0x5cd4d=_0x295e11;var _0x21cf32;const {_docSkeleton:_0x2ca938,_document:_0x4e101f}=this,{color:_0x163d4b,name:_0x4f2a64,ranges:_0x2bed12}=this['_cursor'],_0x15de3b=_0x4e101f['getOffsetConfig'](),{docsLeft:_0x514a42,docsTop:_0x513a56}=_0x15de3b,_0x135c20=new _0x118be2['NodePositionConvertToCursor'](_0x15de3b,_0x2ca938);for(const {startOffset:_0xa4fd9f,endOffset:_0x1686cf,rangeType:_0xfcb2f6,segmentId:_0x1a4ea1,segmentPage:_0x3a58d4,collapsed:_0x109dd8,isActive:_0x26afd8}of _0x2bed12){const _0x470543=_0x2ca938[_0x5cd4d(0x22c)](_0xa4fd9f,!0x0,_0x1a4ea1,_0x3a58d4);let _0xf8a32d=_0x2ca938['findNodePositionByCharIndex'](_0x1686cf,!0x0,_0x1a4ea1,_0x3a58d4);if(_0xf8a32d==null&&(_0xf8a32d=_0x2ca938[_0x5cd4d(0x22c)](_0x1686cf-0x1,!0x1,_0x1a4ea1,_0x3a58d4)),_0x26afd8){const {contentBoxPointGroup:_0x6336de}=_0x135c20['getRangePointData'](_0xf8a32d,_0xf8a32d);if(_0x6336de['length']===0x0)continue;this[_0x5cd4d(0x25e)](_0x163d4b,_0x6336de,_0x514a42,_0x513a56,_0x4f2a64),this[_0x5cd4d(0x498)]=this[_0x5cd4d(0x2a8)]();}if(_0x470543&&_0xf8a32d){if(_0xfcb2f6===_0x40624a[_0x5cd4d(0x48e)][_0x5cd4d(0x38a)]){const _0x33c0cc=new _0x118be2[(_0x5cd4d(0x252))](_0x15de3b,_0x2ca938),{pointGroup:_0x28855b}=(_0x21cf32=_0x33c0cc['getRangePointData'](_0x470543,_0xf8a32d))!=null?_0x21cf32:{};if(_0x28855b==null||_0x28855b[_0x5cd4d(0x1c4)]===0x0)continue;this['_drawRectRange'](_0x163d4b,_0x28855b,_0x514a42,_0x513a56);}else{if(!_0x109dd8){const {borderBoxPointGroup:_0x24e0f6}=_0x135c20['getRangePointData'](_0x470543,_0xf8a32d);if(_0x24e0f6[_0x5cd4d(0x1c4)]===0x0)continue;this[_0x5cd4d(0x38d)](_0x163d4b,_0x24e0f6,_0x514a42,_0x513a56);}}}}}[_0x295e11(0x25e)](_0x1a7a43,_0x25207f,_0x1963bf,_0x50f52c,_0x11b189){const _0x55992b=_0x295e11,_0x36e174=this[_0x55992b(0x2e7)](_0x25207f),{left:_0x9f5970,top:_0x33308c,height:_0x2e5b09}=_0x36e174,_0x476ad1=this[_0x55992b(0x26f)](),_0x5b273c=_0x3c6dc7/_0x476ad1,_0x83d532=new _0x2680b3[(_0x55992b(0x1c6))](_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c,'height':_0x2e5b09,'width':_0x5e2caf,'fill':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'strokeWidth':_0x5b273c,'stroke':_0x32fbe1,'evented':!0x0});this['_anchor']=_0x83d532,this[_0x55992b(0x36f)][_0x55992b(0x1ee)](_0x83d532,_0x118be2['TEXT_RANGE_LAYER_INDEX']);const _0x4a2a75=new _0x2680b3[(_0x55992b(0x1c6))](_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c-_0x322d6c/0x2,'height':_0x322d6c,'width':_0x322d6c,'fill':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'strokeWidth':0x0,'stroke':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'evented':!0x1});this[_0x55992b(0x42f)]=_0x4a2a75,this['_scene'][_0x55992b(0x1ee)](_0x4a2a75,_0x118be2[_0x55992b(0x35a)]);const _0x452e1b=new _0x368cae(_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c-_0x35613d,'text':_0x11b189,'color':_0x1a7a43});this[_0x55992b(0x3c8)]=_0x452e1b,this[_0x55992b(0x36f)][_0x55992b(0x1ee)](_0x452e1b,_0x118be2[_0x55992b(0x35a)]),this[_0x55992b(0x3f8)]=!0x1;}[_0x295e11(0x2a8)](){const _0x45e073=_0x295e11,_0x45d74c=this[_0x45e073(0x480)]['onPointerEnter$'][_0x45e073(0x241)](()=>{const _0x428c75=_0x45e073;this[_0x428c75(0x3f8)]=!0x0;}),_0x4a1017=this['_anchor'][_0x45e073(0x29d)][_0x45e073(0x241)](()=>{const _0x13a8ac=_0x45e073;this[_0x13a8ac(0x353)]&&clearTimeout(this[_0x13a8ac(0x353)]),this[_0x13a8ac(0x353)]=setTimeout(()=>{const _0x22d42e=_0x13a8ac;this[_0x22d42e(0x3f8)]=!0x1;},0x7d0);});return()=>{const _0x6ba1db=_0x45e073;_0x45d74c[_0x6ba1db(0x497)](),_0x4a1017['unsubscribe']();};}['_drawTextRange'](_0x51e650,_0x2677dc,_0x4295c3,_0x240818){const _0x2168d1=_0x295e11,_0x3e206b=new _0x40624a[(_0x2168d1(0x3fa))](_0x51e650)[_0x2168d1(0x22d)](0.2)['toRgbString'](),_0x3e5796=new _0x2680b3['RegularPolygon'](_0x4c3fbd+_0x40624a['generateRandomId'](_0x62891c),{'pointsGroup':_0x2677dc,'fill':_0x3e206b||_0x2680b3['getColor'](_0x40624a[_0x2168d1(0x2f3)][_0x2168d1(0x3c1)],0.2),'left':_0x4295c3,'top':_0x240818,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2168d1(0x2ed)][_0x2168d1(0x2f0)](_0x3e5796),this['_scene'][_0x2168d1(0x1ee)](_0x3e5796,_0x118be2[_0x2168d1(0x35a)]);}[_0x295e11(0x42d)](_0x37adb3,_0x1484a6,_0x1375a1,_0x47744a){const _0xc0a53=_0x295e11,_0x1704ee=new _0x40624a[(_0xc0a53(0x3fa))](_0x37adb3)[_0xc0a53(0x22d)](0.2)[_0xc0a53(0x3d0)](),_0x57683d=new _0x2680b3[(_0xc0a53(0x4a1))](_0x2981df+_0x40624a['generateRandomId'](_0x62891c),{'pointsGroup':_0x1484a6,'fill':_0x1704ee||_0x2680b3[_0xc0a53(0x2cf)](_0x40624a['COLORS'][_0xc0a53(0x3c1)],0.2),'left':_0x1375a1,'top':_0x47744a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc0a53(0x2ed)][_0xc0a53(0x2f0)](_0x57683d),this[_0xc0a53(0x36f)]['addObject'](_0x57683d,_0x118be2[_0xc0a53(0x35a)]);}[_0x295e11(0x2e7)](_0x36430a){const _0x169476=_0x36430a[0x0],_0x3d5c78=_0x169476[0x0],_0x4afe71=_0x169476[0x2],{x:_0x3007fc,y:_0x47a6ab}=_0x3d5c78,{x:_0x66f2e9,y:_0x28a6a5}=_0x4afe71;return{'left':_0x3007fc,'top':_0x47a6ab,'width':_0x66f2e9-_0x3007fc,'height':_0x28a6a5-_0x47a6ab};}[_0x295e11(0x26f)](){const _0x574867=_0x295e11,{scaleX:_0x2b11c8,scaleY:_0x16a6d8}=this[_0x574867(0x36f)][_0x574867(0x457)]();return Math['max'](_0x2b11c8,_0x16a6d8);}}var _0x5d8036=Object[_0x295e11(0x3a0)],_0x48f02f=(_0x422e3a,_0x362264,_0x13f3a5,_0x2e4ea6)=>{for(var _0x33c8e4=_0x2e4ea6>0x1?void 0x0:_0x2e4ea6?_0x5d8036(_0x362264,_0x13f3a5):_0x362264,_0x1a7f33=_0x422e3a['length']-0x1,_0x2971e7;_0x1a7f33>=0x0;_0x1a7f33--)(_0x2971e7=_0x422e3a[_0x1a7f33])&&(_0x33c8e4=_0x2971e7(_0x33c8e4)||_0x33c8e4);return _0x33c8e4;},_0x509c49=(_0x3cb66e,_0x9d9ea8)=>(_0x28d023,_0x355064)=>_0x9d9ea8(_0x28d023,_0x355064,_0x3cb66e);let _0x2faf05=class extends _0x40624a['RxDisposable']{constructor(_0x53e963,_0x1a36ed,_0x57a9c0,_0x6b714b,_0x42fc37){const _0x3ded4d=_0x295e11;super(),_0x9020b(this,_0x3ded4d(0x2b8),[]),_0x9020b(this,'_cursors',[]),(this['_context']=_0x53e963,this['_docSkeletonManagerService']=_0x1a36ed,this[_0x3ded4d(0x3ce)]=_0x57a9c0,this[_0x3ded4d(0x3ee)]=_0x6b714b,this[_0x3ded4d(0x24c)]=_0x42fc37,this[_0x3ded4d(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x978927=_0x295e11,_0x19672e=this[_0x978927(0x2d2)]['unitId'],_0x193287=this[_0x978927(0x3e4)];this[_0x978927(0x2bc)](_0x5b38f4[_0x978927(0x4b0)]([this[_0x978927(0x3ce)][_0x978927(0x359)](_0x19672e),this['_themeService'][_0x978927(0x303)]])[_0x978927(0x32d)](_0x23a207[_0x978927(0x361)](([_0x36f1eb,_0x40f003])=>({'skeleton':_0x193287[_0x978927(0x25a)](),'cursors':[..._0x36f1eb[_0x978927(0x3aa)]()][_0x978927(0x1d5)](_0x4164e5=>({..._0x4164e5,'color':this[_0x978927(0x24c)][_0x978927(0x2c1)](_0x4164e5[_0x978927(0x4ae)])}))})))[_0x978927(0x4af)](_0x4d355d=>{const _0x533a3f=_0x978927;if(this['_removeCollabCursors'](),_0x4d355d){const {skeleton:_0x4a9044,cursors:_0x2ac6ff}=_0x4d355d;this[_0x533a3f(0x285)](_0x4a9044,_0x2ac6ff);}})),this['_initResize'](),this[_0x978927(0x266)]();}[_0x295e11(0x285)](_0x5c235d,_0x1d1800){const _0x105a3b=_0x295e11,{scene:_0x248cf8,mainComponent:_0x51f349}=this[_0x105a3b(0x2d2)],_0x47dffe=_0x1d1800['map'](_0x443027=>new _0x49aed0(_0x443027,_0x248cf8,_0x5c235d,_0x51f349));this[_0x105a3b(0x2b8)]=_0x47dffe,this[_0x105a3b(0x1f0)]=_0x1d1800;}[_0x295e11(0x3df)](){const _0x5a1911=_0x295e11;this[_0x5a1911(0x2cd)]();const {scene:_0x2c9fc9,mainComponent:_0x21bc0d}=this[_0x5a1911(0x2d2)],_0x3eb528=this[_0x5a1911(0x3e4)][_0x5a1911(0x25a)](),_0x237ef4=this[_0x5a1911(0x1f0)][_0x5a1911(0x361)](_0x477e92=>new _0x49aed0(_0x477e92,_0x2c9fc9,_0x3eb528,_0x21bc0d));this['_cursorShapes']=_0x237ef4;}[_0x295e11(0x2cd)](){const _0x548f61=_0x295e11;this[_0x548f61(0x2b8)][_0x548f61(0x24d)](_0x569084=>_0x569084['dispose']()),this[_0x548f61(0x2b8)]=[];}[_0x295e11(0x266)](){const _0x503524=_0x295e11,_0x4a1537=[_0x118be2[_0x503524(0x409)]['id']];this[_0x503524(0x2bc)](this['_commandService'][_0x503524(0x342)](_0x328b7a=>{const _0x22c2ba=_0x503524;_0x4a1537[_0x22c2ba(0x48d)](_0x328b7a['id'])&&_0x328b7a[_0x22c2ba(0x1d6)][_0x22c2ba(0x495)]===this['_context'][_0x22c2ba(0x495)]&&this[_0x22c2ba(0x3df)]();}));}[_0x295e11(0x246)](){const _0x375ed4=_0x295e11;this[_0x375ed4(0x2bc)](_0x40624a[_0x375ed4(0x217)](this[_0x375ed4(0x2d2)][_0x375ed4(0x224)]['onTransformChange$'])[_0x375ed4(0x32d)](_0x23a207['filter'](_0x32b4cb=>_0x32b4cb['type']===_0x2680b3[_0x375ed4(0x2e5)][_0x375ed4(0x382)]),_0x23a207[_0x375ed4(0x403)](0x10))[_0x375ed4(0x4af)](()=>{this['_refreshCollabCursors']();}));}};_0x2faf05=_0x48f02f([_0x509c49(0x1,_0x40624a[_0x295e11(0x33d)](_0x3f3b23[_0x295e11(0x416)])),_0x509c49(0x2,_0x40624a['Inject'](_0x2e9070)),_0x509c49(0x3,_0x40624a[_0x295e11(0x31e)]),_0x509c49(0x4,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x436)]))],_0x2faf05);const _0x554bac=0x1,_0x1624fb=1.5;class _0x446f9f extends _0x2680b3['Shape']{constructor(_0x191857,_0x80cea1){const _0x144fc3=_0x295e11;super(_0x191857,_0x80cea1),_0x9020b(this,_0x144fc3(0x33b)),_0x9020b(this,_0x144fc3(0x2d7),!0x1),_0x9020b(this,_0x144fc3(0x352)),_0x9020b(this,'_name',''),_0x9020b(this,_0x144fc3(0x460),'top'),_0x9020b(this,'_backgroundColor'),(_0x80cea1&&this[_0x144fc3(0x1c8)](_0x80cea1),this[_0x144fc3(0x3ab)][_0x144fc3(0x241)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x144fc3(0x241)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x295e11(0x1c8)](_0x22cefa){const _0x265723=_0x295e11;var _0x1051f7,_0x43fa79,_0x51ee62,_0x32f725,_0x5ddcf4,_0xd3418a;this[_0x265723(0x33b)]=(_0x1051f7=_0x22cefa[_0x265723(0x4ae)])!=null?_0x1051f7:this['_color'],this[_0x265723(0x2d7)]=(_0x43fa79=_0x22cefa[_0x265723(0x1fa)])!=null?_0x43fa79:this[_0x265723(0x2d7)],this[_0x265723(0x352)]=(_0x51ee62=_0x22cefa[_0x265723(0x2a3)])!=null?_0x51ee62:this[_0x265723(0x352)],this[_0x265723(0x407)]=(_0x32f725=_0x22cefa[_0x265723(0x2b2)])!=null?_0x32f725:this[_0x265723(0x407)],this[_0x265723(0x460)]=(_0x5ddcf4=_0x22cefa['labelPosition'])!=null?_0x5ddcf4:this[_0x265723(0x460)],this[_0x265723(0x23b)]=(_0xd3418a=_0x22cefa[_0x265723(0x30d)])!=null?_0xd3418a:this['_backgroundColor'],this[_0x265723(0x2cb)]({'width':_0x22cefa['width'],'height':_0x22cefa[_0x265723(0x35d)]});}[_0x295e11(0x1fc)](_0x4b5ca4){const _0x22b833=_0x295e11,{row:_0x26ee95,column:_0x2f75dd}=_0x4b5ca4;if(_0x26ee95>=this[_0x22b833(0x352)][_0x22b833(0x218)]&&_0x26ee95<=this['_range'][_0x22b833(0x421)]&&_0x2f75dd>=this[_0x22b833(0x352)]['startColumn']&&_0x2f75dd<=this[_0x22b833(0x352)][_0x22b833(0x3af)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x22b833(0x1c8)]({'hovered':!0x1});}[_0x295e11(0x2bd)](_0x31d5da){return!0x1;}[_0x295e11(0x4b5)](_0x39c592){const _0x51b4e5=_0x295e11;_0x2680b3[_0x51b4e5(0x1c6)]['drawWith'](_0x39c592,{'width':this[_0x51b4e5(0x1da)],'height':this[_0x51b4e5(0x35d)],'strokeWidth':_0x1624fb,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x51b4e5(0x23b)]}),this[_0x51b4e5(0x2d7)]&&(_0x39c592[_0x51b4e5(0x2d8)](),_0x39c592[_0x51b4e5(0x46e)](0x1,0x0,0x0,0x1,this[_0x51b4e5(0x1da)],this[_0x51b4e5(0x460)]==='bottom'?0x0:-_0x35613d),_0x368cae[_0x51b4e5(0x47d)](_0x39c592,{'text':this['_name'],'color':this[_0x51b4e5(0x33b)]}),_0x39c592[_0x51b4e5(0x46a)]());}}var _0x5d98a5=Object[_0x295e11(0x3a0)],_0x399d1c=(_0x1b7c7b,_0x7b9092,_0x4f1259,_0x3a6867)=>{for(var _0x2c80ca=_0x3a6867>0x1?void 0x0:_0x3a6867?_0x5d98a5(_0x7b9092,_0x4f1259):_0x7b9092,_0x4b6784=_0x1b7c7b['length']-0x1,_0x48b49d;_0x4b6784>=0x0;_0x4b6784--)(_0x48b49d=_0x1b7c7b[_0x4b6784])&&(_0x2c80ca=_0x48b49d(_0x2c80ca)||_0x2c80ca);return _0x2c80ca;},_0x4b97fc=(_0x20a562,_0xab254a)=>(_0x111884,_0x1a5f7c)=>_0xab254a(_0x111884,_0x1a5f7c,_0x20a562);const _0x52502=0x1389;let _0xb986df=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1ee1aa,_0x500f55,_0x1bfc3b,_0x298392){const _0x7aa836=_0x295e11;super(),_0x9020b(this,_0x7aa836(0x1f0),new Set()),_0x9020b(this,_0x7aa836(0x2e0),null),(this[_0x7aa836(0x2d2)]=_0x1ee1aa,this[_0x7aa836(0x3b7)]=_0x500f55,this[_0x7aa836(0x3ce)]=_0x1bfc3b,this[_0x7aa836(0x24c)]=_0x298392,this[_0x7aa836(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x500a49=_0x295e11;this['_sheetSkeletonManagerService'][_0x500a49(0x3b3)][_0x500a49(0x32d)](_0x23a207[_0x500a49(0x491)](this[_0x500a49(0x2ff)]),_0x23a207[_0x500a49(0x426)](_0x260293=>{const _0x15ca47=_0x500a49;if(_0x260293){const _0x1cf6ef=_0x260293[_0x15ca47(0x482)];return _0x5b38f4['combineLatest'](this['_collabCursorController'][_0x15ca47(0x359)](this['_context'][_0x15ca47(0x495)]),this['_themeService'][_0x15ca47(0x303)])[_0x15ca47(0x32d)](_0x23a207['map'](([_0x30fe7b,_0x5dc4c8])=>{const _0x3507ac=_0x15ca47,_0xa7f4e2=new Map();return _0x30fe7b[_0x3507ac(0x24d)]((_0x535890,_0x1bbee2)=>{const _0x5ab6a9=_0x3507ac;if(_0x535890['sheetID']===_0x1cf6ef){const _0x14f30d={..._0x535890};_0x14f30d[_0x5ab6a9(0x4ae)]=this[_0x5ab6a9(0x24c)][_0x5ab6a9(0x2c1)](_0x535890['color']),_0xa7f4e2[_0x5ab6a9(0x370)](_0x1bbee2,_0x14f30d);}}),{'skeleton':_0x260293,'cursors':_0xa7f4e2};}));}return _0x5b38f4['of']({'skeleton':null,'cursors':new Map()});}))[_0x500a49(0x4af)](({skeleton:_0x4921d2,cursors:_0x5d4702})=>{const _0x2fc025=_0x500a49;this[_0x2fc025(0x2cd)](),_0x4921d2&&this[_0x2fc025(0x285)](_0x4921d2,_0x5d4702);}),this[_0x500a49(0x3b7)][_0x500a49(0x3b3)]['subscribe'](_0x3989b9=>{const _0x3d3863=_0x500a49;if(_0x3989b9==null)return;const {skeleton:_0x416265}=_0x3989b9,{scene:_0x3a8ade}=this[_0x3d3863(0x2d2)];_0x3a8ade[_0x3d3863(0x1df)][_0x3d3863(0x241)](_0x40624a[_0x3d3863(0x219)](_0xd4e93f=>{const _0x51cdd8=_0x3d3863;var _0x3b3651,_0x4525e5;const {offsetX:_0x4df87c,offsetY:_0x22bfb1}=_0xd4e93f,{x:_0x3c34dc,y:_0x5aeee3}=_0x3a8ade[_0x51cdd8(0x37b)](_0x2680b3[_0x51cdd8(0x3a9)][_0x51cdd8(0x2b9)]([_0x4df87c,_0x22bfb1])),{scaleX:_0x4543fd,scaleY:_0x81404a}=_0x3a8ade[_0x51cdd8(0x457)](),_0x5466ba=_0x3a8ade[_0x51cdd8(0x1e1)](_0x2680b3[_0x51cdd8(0x343)][_0x51cdd8(0x2b1)]),_0x2b909b=_0x3a8ade[_0x51cdd8(0x38c)](_0x2680b3[_0x51cdd8(0x3a9)][_0x51cdd8(0x2b9)]([_0x3c34dc,_0x5aeee3]),_0x5466ba),_0x569c48=_0x416265[_0x51cdd8(0x399)](_0x4df87c,_0x22bfb1,_0x4543fd,_0x81404a,_0x2b909b);((_0x3b3651=this['_lastPointer'])==null?void 0x0:_0x3b3651['column'])===_0x569c48[_0x51cdd8(0x2f4)]&&((_0x4525e5=this['_lastPointer'])==null?void 0x0:_0x4525e5[_0x51cdd8(0x2dd)])===_0x569c48[_0x51cdd8(0x2dd)]||this[_0x51cdd8(0x1f0)][_0x51cdd8(0x24d)](_0x238391=>{_0x238391['onMouseMove'](_0x569c48);});},0x64));});}[_0x295e11(0x285)](_0x35609f,_0x36dd65){const _0x359ee4=_0x295e11;var _0x515972;const _0x42e965=(_0x515972=this[_0x359ee4(0x3b7)][_0x359ee4(0x1c2)]())==null?void 0x0:_0x515972[_0x359ee4(0x27d)];if(!_0x42e965)return;const _0x3fa5b4=this[_0x359ee4(0x2a0)]();if(!_0x3fa5b4)return;this[_0x359ee4(0x1f0)][_0x359ee4(0x24d)](_0x17f7d1=>{const _0x6fdaff=_0x359ee4;_0x17f7d1[_0x6fdaff(0x216)]();});const {scene:_0x50d9da}=_0x3fa5b4,_0x354a8b=_0x1c8364(Array[_0x359ee4(0x4a6)](_0x36dd65[_0x359ee4(0x3aa)]()))[_0x359ee4(0x361)](_0x20008a=>{const _0x5ba545=_0x359ee4,{color:_0x55f6ed,range:_0x5f21e7,name:_0x3de70f,selection:_0x16a4e9,sheetID:_0x2a1fec}=_0x20008a,{startColumn:_0x46c150,startRow:_0x335f62,endColumn:_0x5dce2b,endRow:_0x5a0e2b}=_0x5f21e7,_0x1b432e=_0x383790[_0x5ba545(0x290)](_0x335f62,_0x46c150,_0x50d9da,_0x42e965),_0x2447d5=_0x383790[_0x5ba545(0x290)](_0x5a0e2b,_0x5dce2b,_0x50d9da,_0x42e965),{columnHeaderHeightAndMarginTop:_0x20aa36}=_0x42e965,{startX:_0x211bb7,startY:_0x6f1270}=_0x1b432e,{endX:_0x4d9382,endY:_0x5201b8}=_0x2447d5,_0x10d8bb=_0x4d9382-_0x211bb7,_0x4e5c52=_0x5201b8-_0x6f1270,_0x463e23={'labelPosition':_0x6f1270-_0x20aa36>=_0x35613d?'top':_0x5ba545(0x21c),'sheetID':_0x2a1fec,'range':_0x5f21e7,'color':_0x55f6ed,'name':_0x3de70f,'selection':_0x16a4e9,'left':_0x211bb7,'top':_0x6f1270,'width':_0x10d8bb,'height':_0x4e5c52,'evented':!0x1,'zIndex':_0x52502};return new _0x446f9f(_0x3de70f,_0x463e23);});_0x50d9da[_0x359ee4(0x462)](_0x354a8b,_0x554bac),this[_0x359ee4(0x1f0)]=new Set(_0x354a8b);}[_0x295e11(0x2cd)](){const _0x178af6=_0x295e11;var _0x40f1dd;(_0x40f1dd=this[_0x178af6(0x1f0)])==null||_0x40f1dd['forEach'](_0x24fe21=>_0x24fe21['dispose']());}[_0x295e11(0x2a0)](){const _0x3b1ff4=_0x295e11;return _0x383790[_0x3b1ff4(0x22e)](this['_context']['unit'],this[_0x3b1ff4(0x2d2)]);}};_0xb986df=_0x399d1c([_0x4b97fc(0x1,_0x40624a[_0x295e11(0x33d)](_0x383790['SheetSkeletonManagerService'])),_0x4b97fc(0x2,_0x40624a[_0x295e11(0x33d)](_0x2e9070)),_0x4b97fc(0x3,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x436)]))],_0xb986df);function _0x1c8364(_0x1d81dc){const _0x8c30c4=_0x295e11,_0x2ec3b8=new Map();return _0x1d81dc[_0x8c30c4(0x24d)](_0x34ba1f=>{const _0x3b4441=_0x8c30c4;if(_0x2ec3b8['has'](_0x34ba1f[_0x3b4441(0x49f)])){const _0x411f40=_0x2ec3b8['get'](_0x34ba1f[_0x3b4441(0x49f)]);_0x411f40['name']+=',\x20'+_0x34ba1f[_0x3b4441(0x2b2)];}else _0x2ec3b8[_0x3b4441(0x370)](_0x34ba1f[_0x3b4441(0x49f)],_0x34ba1f);}),Array[_0x8c30c4(0x4a6)](_0x2ec3b8[_0x8c30c4(0x3aa)]());}var _0x326b59=Object[_0x295e11(0x3a0)],_0x31e8cf=(_0x2bc339,_0x2cd2a2,_0x50089b,_0x82946f)=>{const _0x2d3b7e=_0x295e11;for(var _0x1f8ef3=_0x82946f>0x1?void 0x0:_0x82946f?_0x326b59(_0x2cd2a2,_0x50089b):_0x2cd2a2,_0x4d16db=_0x2bc339[_0x2d3b7e(0x1c4)]-0x1,_0x45d6ea;_0x4d16db>=0x0;_0x4d16db--)(_0x45d6ea=_0x2bc339[_0x4d16db])&&(_0x1f8ef3=_0x45d6ea(_0x1f8ef3)||_0x1f8ef3);return _0x1f8ef3;},_0x2c4925=(_0x4fddfb,_0xccfc63)=>(_0x6f0825,_0x352217)=>_0xccfc63(_0x6f0825,_0x352217,_0x4fddfb);let _0x3ef4e4=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x2faa9a,_0x1cab0b,_0x51fd2d,_0x28daa8,_0x27c5f6,_0x5eb3e6){const _0x49a0ec=_0x295e11;super(),this['_beforeCloseService']=_0x2faa9a,this[_0x49a0ec(0x247)]=_0x1cab0b,this[_0x49a0ec(0x477)]=_0x51fd2d,this[_0x49a0ec(0x233)]=_0x28daa8,this[_0x49a0ec(0x427)]=_0x27c5f6,this[_0x49a0ec(0x2a5)]=_0x5eb3e6,this[_0x49a0ec(0x2ef)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x1f1018=_0x295e11;this[_0x1f1018(0x2bc)](this[_0x1f1018(0x387)][_0x1f1018(0x21a)](()=>{const _0x505ea7=_0x1f1018;if(this['_localCacheService'][_0x505ea7(0x313)][_0x505ea7(0x47e)])return this[_0x505ea7(0x2a5)]['t'](_0x505ea7(0x486));}));}['_initEvent'](){const _0x55ef9c=_0x295e11;this['disposeWithMe'](this[_0x55ef9c(0x477)][_0x55ef9c(0x1d3)][_0x55ef9c(0x4af)](_0x4c11de=>{const _0x46ea29=_0x55ef9c;_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)]['OTHER_CLIENT_EDITING']&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x1ca))}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x37a)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x423))}),_0x4c11de['id']===_0x3958ea['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x46ea29(0x427)][_0x46ea29(0x344)]({'title':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x41e)),'content':this['_localeService']['t'](_0x46ea29(0x400)),'type':'error','duration':0x0}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x49a)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)][_0x46ea29(0x476)],'content':this[_0x46ea29(0x2a5)]['t']('collaboration.closeRoom')+'('+_0x4c11de[_0x46ea29(0x38e)]+')'}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x335)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3['MessageType']['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x4c11de[_0x46ea29(0x38e)]||'')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x432)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t']('session.will-retry')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x478)]&&this['_messageService'][_0x46ea29(0x344)]({'type':_0x4e15c3['MessageType'][_0x46ea29(0x476)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x417)]&&this['_messageService']['show']({'type':_0x4e15c3[_0x46ea29(0x256)][_0x46ea29(0x476)],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x245))});}));}};_0x3ef4e4=_0x31e8cf([_0x2c4925(0x0,_0x8e6f8f[_0x295e11(0x3a2)]),_0x2c4925(0x1,_0x3958ea[_0x295e11(0x22f)]),_0x2c4925(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea['CollaborationUIEventService'])),_0x2c4925(0x3,_0x8e6f8f[_0x295e11(0x3dd)]),_0x2c4925(0x4,_0x8e6f8f[_0x295e11(0x33e)]),_0x2c4925(0x5,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x336)]))],_0x3ef4e4);var _0x2791ef=Object['getOwnPropertyDescriptor'],_0x9fed27=(_0x407397,_0x5eda0d,_0x3f868e,_0x27465a)=>{for(var _0x5abdd1=_0x27465a>0x1?void 0x0:_0x27465a?_0x2791ef(_0x5eda0d,_0x3f868e):_0x5eda0d,_0x44d037=_0x407397['length']-0x1,_0x387584;_0x44d037>=0x0;_0x44d037--)(_0x387584=_0x407397[_0x44d037])&&(_0x5abdd1=_0x387584(_0x5abdd1)||_0x5abdd1);return _0x5abdd1;},_0x282872=(_0x220ff5,_0x8186e2)=>(_0x42d608,_0x425b71)=>_0x8186e2(_0x42d608,_0x425b71,_0x220ff5);let _0x308889=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x4de178,_0xb79518,_0x33a17b,_0x44e31e){const _0x474d16=_0x295e11;super(),_0x9020b(this,_0x474d16(0x393)),(this[_0x474d16(0x351)]=_0x4de178,this[_0x474d16(0x395)]=_0xb79518,this[_0x474d16(0x458)]=_0x33a17b,this['_collaborationSessionService']=_0x44e31e,this[_0x474d16(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x8453ab=_0x295e11;this[_0x8453ab(0x4b4)](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0x8453ab(0x1f3)]();}[_0x295e11(0x1f3)](){const _0x29e4f1=_0x295e11;this[_0x29e4f1(0x2bc)](this[_0x29e4f1(0x464)][_0x29e4f1(0x45b)]['subscribe'](_0x2cf014=>{const _0x7ba852=_0x29e4f1;this['_memberID']=_0x2cf014==null?void 0x0:_0x2cf014[_0x7ba852(0x2e2)];}));}[_0x295e11(0x4b4)](){const _0x40aafe=_0x295e11,_0xd8b0d9=_0x12204f=>{const _0x3d1f4d=_0xd951;var _0x2ee5f9;this[_0x3d1f4d(0x276)](_0x3d1f4d(0x3b0),_0x3d1f4d(0x3e8)+_0x12204f[_0x3d1f4d(0x323)]+_0x3d1f4d(0x3e3)+_0x12204f['filename']+':'+_0x12204f['lineno']+':'+_0x12204f['colno']+'\x0a'+(((_0x2ee5f9=_0x12204f[_0x3d1f4d(0x3b0)])==null?void 0x0:_0x2ee5f9['stack'])||''));};window[_0x40aafe(0x259)](_0x40aafe(0x3b0),_0xd8b0d9),this[_0x40aafe(0x2bc)](()=>{const _0x13c24b=_0x40aafe;window[_0x13c24b(0x268)](_0x13c24b(0x3b0),_0xd8b0d9);});}['_initUnhandledRejectionListener'](){const _0x198791=_0x295e11,_0x1ce688=_0x2461ac=>{const _0x599c23=_0xd951;this['_uploadLog'](_0x599c23(0x3b0),_0x599c23(0x453)+_0x2461ac[_0x599c23(0x402)]);};window[_0x198791(0x259)]('unhandledrejection',_0x1ce688),this['disposeWithMe'](()=>{const _0x3e249f=_0x198791;window[_0x3e249f(0x268)](_0x3e249f(0x47f),_0x1ce688);});}[_0x295e11(0x2da)](){const _0x1a19ac=_0x295e11,_0x125679=this[_0x1a19ac(0x458)][_0x1a19ac(0x3b0)][_0x1a19ac(0x2bf)](this[_0x1a19ac(0x458)]);this[_0x1a19ac(0x458)][_0x1a19ac(0x3b0)]=(..._0x452fc5)=>{const _0x285d1e=_0x1a19ac,_0x37c87f=_0x452fc5[_0x285d1e(0x361)](_0x5a4984=>_0x5a4984 instanceof Error?_0x5a4984['message']+'\x0a'+_0x5a4984[_0x285d1e(0x210)]:String(_0x5a4984))[_0x285d1e(0x236)]('\x20');this[_0x285d1e(0x276)](_0x285d1e(0x3b0),_0x285d1e(0x253)+_0x37c87f),_0x125679(..._0x452fc5);},this[_0x1a19ac(0x2bc)](()=>{const _0x2fd058=_0x1a19ac;this['_logService'][_0x2fd058(0x3b0)]=_0x125679;});}[_0x295e11(0x276)](_0x247c54,_0x199cda){const _0x545c73=_0x295e11;try{const _0x57b6db={'userId':this[_0x545c73(0x393)],'logLabel':_0x247c54,'content':_0x199cda};this[_0x545c73(0x395)][_0x545c73(0x44a)](_0x545c73(0x3a8),{'body':_0x57b6db})[_0x545c73(0x459)](()=>{});}catch{}}};_0x308889=_0x9fed27([_0x282872(0x0,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x282872(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x282872(0x2,_0x40624a[_0x295e11(0x463)]),_0x282872(0x3,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x25b)]))],_0x308889);const _0x146d19=_0x295e11(0x471),_0x1498da={};var _0x25e539=Object[_0x295e11(0x3a0)],_0x475cf6=(_0x5e3968,_0x1ace57,_0x2e7346,_0x2a1a9d)=>{const _0x3b36b5=_0x295e11;for(var _0x455dd1=_0x2a1a9d>0x1?void 0x0:_0x2a1a9d?_0x25e539(_0x1ace57,_0x2e7346):_0x1ace57,_0x59fb3e=_0x5e3968[_0x3b36b5(0x1c4)]-0x1,_0x53e22f;_0x59fb3e>=0x0;_0x59fb3e--)(_0x53e22f=_0x5e3968[_0x59fb3e])&&(_0x455dd1=_0x53e22f(_0x455dd1)||_0x455dd1);return _0x455dd1;},_0xb424f6=(_0x1d2751,_0x4007bf)=>(_0x226338,_0x2714b2)=>_0x4007bf(_0x226338,_0x2714b2,_0x1d2751);let _0x516df5=class{constructor(_0x498256,_0x66e69f){const _0x559a62=_0x295e11;this[_0x559a62(0x1c3)]=_0x498256,this['_renderManagerService']=_0x66e69f;}[_0x295e11(0x1f9)](_0x1adbe4){const _0x8f6da7=_0x295e11;this['_transformUndoRedoStack'](_0x1adbe4),this[_0x8f6da7(0x446)](_0x1adbe4);}[_0x295e11(0x419)](_0x38542a){const _0x56747f=_0x295e11,{unitID:_0xbadb73}=_0x38542a,_0x52604b=this[_0x56747f(0x1ed)][_0x56747f(0x3fe)](_0xbadb73)['with'](_0x118be2[_0x56747f(0x27f)]),{redoCache:_0x3d9c76}=_0x52604b['getUndoRedoMutationParamsCache']();if(_0x3d9c76[_0x56747f(0x1c4)]===0x0)return _0x38542a;let _0x1a316c=_0x40624a[_0x56747f(0x466)][_0x56747f(0x3da)](_0x38542a[_0x56747f(0x2c8)][0x0]);for(let _0x389109=0x0;_0x389109<_0x3d9c76[_0x56747f(0x1c4)];_0x389109++){const _0x21b49d={'id':'doc.mutation.rich-text-editing','params':{..._0x3d9c76[_0x389109]}},_0x20b20e=this[_0x56747f(0x1c3)][_0x56747f(0x27a)](_0x1a316c,_0x21b49d,!0x1);if(_0x2c324c[_0x56747f(0x350)](_0x20b20e))throw _0x20b20e[_0x56747f(0x3b0)];_0x1a316c=_0x20b20e[_0x56747f(0x494)];}return{..._0x40624a[_0x56747f(0x466)][_0x56747f(0x3da)](_0x38542a),'mutations':[_0x1a316c]};}[_0x295e11(0x3f7)](_0x47955d){const _0x4a0590=_0x295e11,{unitID:_0x737230}=_0x47955d,_0x15eac6=this[_0x4a0590(0x1ed)]['getRenderById'](_0x737230)[_0x4a0590(0x444)](_0x118be2[_0x4a0590(0x27f)]),{undoCache:_0x3727a9,redoCache:_0x4ad55b}=_0x15eac6[_0x4a0590(0x32c)]();if(_0x3727a9[_0x4a0590(0x1c4)]===0x0||_0x4ad55b[_0x4a0590(0x1c4)]===0x0)return;const _0x1e5b66=[],_0x1942cd=[];let _0x241064=_0x40624a[_0x4a0590(0x466)][_0x4a0590(0x3da)](_0x47955d[_0x4a0590(0x2c8)][0x0]),_0x52fb1b=_0x40624a[_0x4a0590(0x466)]['deepClone'](_0x47955d[_0x4a0590(0x2c8)][0x0]);for(let _0x43a8ef=_0x3727a9[_0x4a0590(0x1c4)]-0x1;_0x43a8ef>=0x0;_0x43a8ef--){const _0x57471b={'id':_0x4a0590(0x489),'params':{..._0x3727a9[_0x43a8ef]}},_0x2be435={'id':_0x4a0590(0x489),'params':{..._0x4ad55b[_0x43a8ef]}},_0x15c0c9=this['_transformService']['transformMutation'](_0x241064,_0x57471b,!0x1),_0x5ab943=this[_0x4a0590(0x1c3)]['transformMutation'](_0x52fb1b,_0x2be435,!0x1);if(_0x2c324c['isTransformMutationFailure'](_0x15c0c9))throw _0x15c0c9[_0x4a0590(0x3b0)];if(_0x2c324c[_0x4a0590(0x350)](_0x5ab943))throw _0x5ab943[_0x4a0590(0x3b0)];_0x1e5b66[_0x4a0590(0x1d0)](_0x15c0c9[_0x4a0590(0x3d2)]['params']),_0x1942cd[_0x4a0590(0x1d0)](_0x5ab943[_0x4a0590(0x3d2)][_0x4a0590(0x1d6)]),_0x241064=_0x15c0c9[_0x4a0590(0x494)],_0x52fb1b=_0x5ab943[_0x4a0590(0x494)];}_0x15eac6[_0x4a0590(0x3d7)]({'undoCache':_0x1e5b66,'redoCache':_0x1942cd});}[_0x295e11(0x446)](_0x4c1826){const _0x1a89b6=_0x295e11,{unitID:_0x2533aa}=_0x4c1826,_0x175ba1=this[_0x1a89b6(0x1ed)][_0x1a89b6(0x3fe)](_0x2533aa)[_0x1a89b6(0x444)](_0x118be2[_0x1a89b6(0x27f)]),_0x309938=_0x175ba1[_0x1a89b6(0x205)]();if(_0x309938==null)return;const _0x2d81b5=[{'id':_0x1a89b6(0x489),'params':{'unitId':_0x4c1826[_0x1a89b6(0x298)],'actions':null,'textRanges':[_0x309938]}}],_0x135543=this[_0x1a89b6(0x1c3)][_0x1a89b6(0x3fb)](_0x4c1826,_0x2d81b5);if(!_0x2c324c['isTransformMutationsWithChangesetSuccess'](_0x135543))throw _0x135543['error'];const _0x2d096d=_0x135543[_0x1a89b6(0x3d2)][0x0][_0x1a89b6(0x1d6)][_0x1a89b6(0x1f4)];Array[_0x1a89b6(0x44f)](_0x2d096d)&&_0x2d096d[_0x1a89b6(0x1c4)]&&_0x175ba1[_0x1a89b6(0x348)](_0x2d096d[0x0]);}};_0x516df5=_0x475cf6([_0xb424f6(0x0,_0x2c324c[_0x295e11(0x487)]),_0xb424f6(0x1,_0x2680b3['IRenderManagerService'])],_0x516df5);var _0x228c9f=Object[_0x295e11(0x3a0)],_0x1714d3=(_0x8fcc38,_0x13f243,_0x43a4ca,_0x1dc333)=>{const _0x5f4ca8=_0x295e11;for(var _0x19dfad=_0x1dc333>0x1?void 0x0:_0x1dc333?_0x228c9f(_0x13f243,_0x43a4ca):_0x13f243,_0x247b40=_0x8fcc38[_0x5f4ca8(0x1c4)]-0x1,_0x217173;_0x247b40>=0x0;_0x247b40--)(_0x217173=_0x8fcc38[_0x247b40])&&(_0x19dfad=_0x217173(_0x19dfad)||_0x19dfad);return _0x19dfad;},_0x558441=(_0xfd4f4,_0x15dae2)=>(_0x3a885b,_0x21c62f)=>_0x15dae2(_0x3a885b,_0x21c62f,_0xfd4f4);let _0x2c640a=class{constructor(_0x3366a7,_0x4ca0da,_0x5717eb){const _0x107f65=_0x295e11;this['_injector']=_0x3366a7,this[_0x107f65(0x1c3)]=_0x4ca0da,this[_0x107f65(0x2fc)]=_0x5717eb;}[_0x295e11(0x422)](_0x479a34){this['_transformHistoryAndStateStack'](_0x479a34);}[_0x295e11(0x419)](_0x58abe5){const _0x1381e9=_0x295e11,{unitID:_0x4ab10b}=_0x58abe5,{collaboration:_0x5ee347}=this[_0x1381e9(0x2fc)]['getStateCache'](_0x4ab10b);if(_0x5ee347[_0x1381e9(0x1c4)]===0x0)return _0x58abe5;let _0x738f18=_0x40624a[_0x1381e9(0x466)][_0x1381e9(0x3da)](_0x58abe5['mutations'][0x0]);for(let _0x473fb2=0x0;_0x473fb2<_0x5ee347[_0x1381e9(0x1c4)];_0x473fb2++){const _0xbe55d9={'id':_0x1381e9(0x489),'params':{'unitId':_0x5ee347[_0x473fb2]['unitId'],..._0x5ee347[_0x473fb2][_0x1381e9(0x1ef)]}},_0x1440b1=this[_0x1381e9(0x1c3)][_0x1381e9(0x27a)](_0x738f18,_0xbe55d9,!0x1);if(_0x2c324c[_0x1381e9(0x350)](_0x1440b1))throw _0x1440b1[_0x1381e9(0x3b0)];_0x738f18=_0x1440b1[_0x1381e9(0x494)];}return{..._0x40624a[_0x1381e9(0x466)]['deepClone'](_0x58abe5),'mutations':[_0x738f18]};}[_0x295e11(0x30b)](_0x3c2ae0){const _0x4011c1=_0x295e11,{unitID:_0x18d294}=_0x3c2ae0,{history:_0x1de47f,collaboration:_0x508721}=this[_0x4011c1(0x2fc)][_0x4011c1(0x2c3)](_0x18d294);if(_0x1de47f['length']===0x0&&_0x508721[_0x4011c1(0x1c4)]===0x0)return;const _0x388a17=[],_0x46a1e1=[];let _0x31ccae=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]),_0x1d162d=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]);for(let _0x5b86d4=_0x1de47f['length']-0x1;_0x5b86d4>=0x0;_0x5b86d4--){const _0x23e857={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1de47f[_0x5b86d4][_0x4011c1(0x495)],..._0x1de47f[_0x5b86d4][_0x4011c1(0x414)]}},_0x1fb002={'id':_0x4011c1(0x489),'params':{'unitId':_0x1de47f[_0x5b86d4]['unitId'],..._0x1de47f[_0x5b86d4][_0x4011c1(0x1ef)]}},_0x1a3ef3=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x31ccae,_0x23e857,!0x1),_0x3cf942=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x1d162d,_0x1fb002,!0x1);if(_0x2c324c[_0x4011c1(0x350)](_0x1a3ef3))throw _0x1a3ef3[_0x4011c1(0x3b0)];if(_0x2c324c['isTransformMutationFailure'](_0x3cf942))throw _0x3cf942[_0x4011c1(0x3b0)];_0x388a17[_0x4011c1(0x1d0)]({..._0x1de47f[_0x5b86d4],'undoState':_0x1a3ef3[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)],'redoState':_0x3cf942[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)]}),_0x31ccae=_0x1a3ef3[_0x4011c1(0x494)],_0x1d162d=_0x3cf942[_0x4011c1(0x494)];}_0x31ccae=_0x40624a[_0x4011c1(0x466)][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]),_0x1d162d=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]);for(let _0xdd9db5=_0x508721['length']-0x1;_0xdd9db5>=0x0;_0xdd9db5--){const _0x152d96={'id':_0x4011c1(0x489),'params':{'unitId':_0x508721[_0xdd9db5][_0x4011c1(0x495)],..._0x508721[_0xdd9db5]['undoState']}},_0x26e121={'id':_0x4011c1(0x489),'params':{'unitId':_0x508721[_0xdd9db5][_0x4011c1(0x495)],..._0x508721[_0xdd9db5][_0x4011c1(0x1ef)]}},_0x27e4ee=this[_0x4011c1(0x1c3)]['transformMutation'](_0x31ccae,_0x152d96,!0x1),_0x51dc8f=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x1d162d,_0x26e121,!0x1);if(_0x2c324c[_0x4011c1(0x350)](_0x27e4ee))throw _0x27e4ee[_0x4011c1(0x3b0)];if(_0x2c324c[_0x4011c1(0x350)](_0x51dc8f))throw _0x51dc8f['error'];_0x46a1e1[_0x4011c1(0x1d0)]({..._0x508721[_0xdd9db5],'undoState':_0x27e4ee[_0x4011c1(0x3d2)]['params'],'redoState':_0x51dc8f[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)]}),_0x31ccae=_0x27e4ee[_0x4011c1(0x494)],_0x1d162d=_0x51dc8f['m1Prime'];}this[_0x4011c1(0x2fc)][_0x4011c1(0x225)](_0x18d294,{'history':_0x388a17,'collaboration':_0x46a1e1});}};_0x2c640a=_0x1714d3([_0x558441(0x0,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x558441(0x1,_0x2c324c[_0x295e11(0x487)]),_0x558441(0x2,_0x40624a[_0x295e11(0x33d)](_0x118be2[_0x295e11(0x292)]))],_0x2c640a);var _0xe51764=Object['getOwnPropertyDescriptor'],_0x2bc37e=(_0x2ddb06,_0x206184,_0x2fc267,_0x4fa6c8)=>{const _0x596df3=_0x295e11;for(var _0x2d54cb=_0x4fa6c8>0x1?void 0x0:_0x4fa6c8?_0xe51764(_0x206184,_0x2fc267):_0x206184,_0x1b0cb3=_0x2ddb06[_0x596df3(0x1c4)]-0x1,_0x43f500;_0x1b0cb3>=0x0;_0x1b0cb3--)(_0x43f500=_0x2ddb06[_0x1b0cb3])&&(_0x2d54cb=_0x43f500(_0x2d54cb)||_0x2d54cb);return _0x2d54cb;},_0x1448a9=(_0xc7e7e0,_0x1bcdac)=>(_0x36dd66,_0x500562)=>_0x1bcdac(_0x36dd66,_0x500562,_0xc7e7e0);let _0x1165fa=class{constructor(_0x2dbfae,_0x141d78){const _0x340588=_0x295e11;this['_injector']=_0x2dbfae,this[_0x340588(0x1c3)]=_0x141d78;}[_0x295e11(0x3cb)](_0xad5b72){const _0x38493d=_0x295e11;var _0x17d107;const _0x4ecc4d=this[_0x38493d(0x351)][_0x38493d(0x1de)](_0x3f3b23[_0x38493d(0x34f)]),_0x21811f=(_0x17d107=_0x4ecc4d[_0x38493d(0x3c9)]())!=null?_0x17d107:[];if(_0x21811f[_0x38493d(0x1c4)]===0x0)return;const _0xf31187=_0xad5b72[_0x38493d(0x298)],_0x1a1b71=[{'id':_0x38493d(0x489),'params':{'unitId':_0xf31187,'actions':null,'textRanges':_0x21811f}}],_0x225db4=this[_0x38493d(0x1c3)][_0x38493d(0x3fb)](_0xad5b72,_0x1a1b71);if(!_0x2c324c[_0x38493d(0x38b)](_0x225db4))throw _0x225db4[_0x38493d(0x3b0)];const _0x53b2e9=_0x225db4[_0x38493d(0x3d2)][0x0][_0x38493d(0x1d6)][_0x38493d(0x1f4)];Array[_0x38493d(0x44f)](_0x53b2e9)&&_0x53b2e9[_0x38493d(0x1c4)]&&_0x4ecc4d[_0x38493d(0x2dc)](_0x53b2e9,{'unitId':_0xf31187,'subUnitId':_0xf31187},!0x1);}};_0x1165fa=_0x2bc37e([_0x1448a9(0x0,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1448a9(0x1,_0x2c324c[_0x295e11(0x487)])],_0x1165fa);var _0x368a97=Object[_0x295e11(0x3a0)],_0x488d23=(_0x389eab,_0x3b6076,_0x19ce94,_0x5a2e4f)=>{const _0xe45ea=_0x295e11;for(var _0x55d49a=_0x5a2e4f>0x1?void 0x0:_0x5a2e4f?_0x368a97(_0x3b6076,_0x19ce94):_0x3b6076,_0x1852ae=_0x389eab[_0xe45ea(0x1c4)]-0x1,_0x5ec3de;_0x1852ae>=0x0;_0x1852ae--)(_0x5ec3de=_0x389eab[_0x1852ae])&&(_0x55d49a=_0x5ec3de(_0x55d49a)||_0x55d49a);return _0x55d49a;},_0x178c3d=(_0x506b87,_0xd415ac)=>(_0x1f6c46,_0x5b9abc)=>_0xd415ac(_0x1f6c46,_0x5b9abc,_0x506b87);let _0x22b2b8=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x76a33e,_0x49edf4,_0xaeffd1,_0x15ef02,_0x42766f,_0x4dcb6e,_0x45ab22,_0xafb9eb){const _0x210030=_0x295e11;super(),_0x9020b(this,_0x210030(0x3bf),new _0x5b38f4[(_0x210030(0x21d))](_0x3958ea[_0x210030(0x3a7)][_0x210030(0x20f)])),(this[_0x210030(0x2fc)]=_0x76a33e,this['_collaborationController']=_0x49edf4,this['_docTransformIMECacheService']=_0xaeffd1,this['_docTransformStateCacheService']=_0x15ef02,this[_0x210030(0x37c)]=_0x42766f,this[_0x210030(0x3c7)]=_0x4dcb6e,this[_0x210030(0x233)]=_0x45ab22,this[_0x210030(0x2a5)]=_0xafb9eb,this[_0x210030(0x48f)]());}[_0x295e11(0x48f)](){const _0x89f344=_0x295e11;this['disposeWithMe'](this[_0x89f344(0x2c6)][_0x89f344(0x35f)]['subscribe'](_0xa3270f=>{const _0x1521ae=_0x89f344,_0x2e4bdf=this[_0x1521ae(0x2fc)][_0x1521ae(0x3ad)]['subscribe'](_0x3d23f8=>{const _0x2e7699=_0x1521ae;if(_0x3d23f8==null)return;const {unitId:_0x879a5c,redoState:_0x1c67dd,commandId:_0x5d1873}=_0x3d23f8;if(_0x879a5c!==_0xa3270f[_0x2e7699(0x298)])return;const _0x56e44f={'id':_0x5d1873,'type':_0x40624a[_0x2e7699(0x2e9)]['MUTATION'],'params':{'unitId':_0x879a5c,'actions':_0x1c67dd[_0x2e7699(0x43d)],'textRanges':null}};_0xa3270f['onLocalMutation'](_0x56e44f);});if(_0xa3270f[_0x1521ae(0x2bc)](_0x2e4bdf),_0xa3270f instanceof _0x3958ea[_0x1521ae(0x239)]){const _0x1b6ba9={'onTransformIME':_0x4d1e27=>this[_0x1521ae(0x34b)]['transformIMECache'](_0x4d1e27),'onTransformState':_0x3029b5=>this['_docTransformStateCacheService'][_0x1521ae(0x422)](_0x3029b5),'onTransformSelections':_0x2950ee=>this[_0x1521ae(0x37c)][_0x1521ae(0x3cb)](_0x2950ee),'onSyncEditingCollabCursor':_0xf108b8=>this['_docSyncEditingCollabCursorService'][_0x1521ae(0x3fc)](_0xf108b8),'onTransformRemoteChangesetByIMECache':_0x25c36d=>this[_0x1521ae(0x34b)][_0x1521ae(0x419)](_0x25c36d),'onTransformRemoteChangesetByStateCache':_0x335dcb=>this[_0x1521ae(0x2e8)][_0x1521ae(0x419)](_0x335dcb)};_0xa3270f[_0x1521ae(0x22a)](_0x1b6ba9);}}));}};_0x22b2b8=_0x488d23([_0x178c3d(0x0,_0x40624a[_0x295e11(0x33d)](_0x118be2[_0x295e11(0x292)])),_0x178c3d(0x1,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x269)])),_0x178c3d(0x2,_0x40624a[_0x295e11(0x33d)](_0x516df5)),_0x178c3d(0x3,_0x40624a[_0x295e11(0x33d)](_0x2c640a)),_0x178c3d(0x4,_0x40624a['Inject'](_0x1165fa)),_0x178c3d(0x5,_0x40624a['Inject'](_0x2a125f)),_0x178c3d(0x6,_0x8e6f8f[_0x295e11(0x3dd)]),_0x178c3d(0x7,_0x40624a[_0x295e11(0x33d)](_0x40624a['LocaleService']))],_0x22b2b8);var _0x319d71=(_0x4df9c9=>(_0x4df9c9[_0x4df9c9[_0x295e11(0x1ec)]=0x0]=_0x295e11(0x1ec),_0x4df9c9[_0x4df9c9['OK']=0x1]='OK',_0x4df9c9[_0x4df9c9[_0x295e11(0x4a9)]=0x2]=_0x295e11(0x4a9),_0x4df9c9[_0x4df9c9[_0x295e11(0x33c)]=0x3]=_0x295e11(0x33c),_0x4df9c9[_0x4df9c9[_0x295e11(0x29a)]=0x4]='NOT_FOUND',_0x4df9c9[_0x4df9c9[_0x295e11(0x3ea)]=0x5]='UNAUTHENTICATED',_0x4df9c9[_0x4df9c9[_0x295e11(0x392)]=0x6]=_0x295e11(0x392),_0x4df9c9[_0x4df9c9[_0x295e11(0x214)]=0x7]=_0x295e11(0x214),_0x4df9c9[_0x4df9c9['TOO_MANY_REQUESTS']=0x8]=_0x295e11(0x3b1),_0x4df9c9[_0x4df9c9[_0x295e11(0x2ad)]=0x9]=_0x295e11(0x2ad),_0x4df9c9[_0x4df9c9['LOGIN_FAILED']=0xa]=_0x295e11(0x327),_0x4df9c9[_0x4df9c9[_0x295e11(0x48c)]=0xb]=_0x295e11(0x48c),_0x4df9c9[_0x4df9c9[_0x295e11(0x488)]=0xc]=_0x295e11(0x488),_0x4df9c9[_0x4df9c9[_0x295e11(0x380)]=0xd]=_0x295e11(0x380),_0x4df9c9[_0x4df9c9[_0x295e11(0x346)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4df9c9[_0x4df9c9['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x4df9c9[_0x4df9c9[_0x295e11(0x44b)]=0x10]=_0x295e11(0x44b),_0x4df9c9[_0x4df9c9['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x295e11(0x39d),_0x4df9c9[_0x4df9c9[_0x295e11(0x2c7)]=0x65]=_0x295e11(0x2c7),_0x4df9c9[_0x4df9c9['USER_NOT_FOUND']=0xc9]=_0x295e11(0x333),_0x4df9c9[_0x4df9c9['USER_IS_ANONYMOUS']=0xca]=_0x295e11(0x29b),_0x4df9c9[_0x4df9c9[_0x295e11(0x2a7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4df9c9[_0x4df9c9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x295e11(0x211),_0x4df9c9[_0x4df9c9[_0x295e11(0x428)]=0x1772]=_0x295e11(0x428),_0x4df9c9[_0x4df9c9[_0x295e11(0x24b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4df9c9[_0x4df9c9['APPLY_REJECT']=0x1b59]=_0x295e11(0x244),_0x4df9c9[_0x4df9c9[_0x295e11(0x282)]=0x1b5a]=_0x295e11(0x282),_0x4df9c9[_0x4df9c9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x295e11(0x3e0),_0x4df9c9[_0x4df9c9[_0x295e11(0x3a5)]=0x1b5c]=_0x295e11(0x3a5),_0x4df9c9[_0x4df9c9['APPLY_DUPLICATED']=0x1b5d]=_0x295e11(0x1d1),_0x4df9c9[_0x4df9c9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x295e11(0x289),_0x4df9c9[_0x4df9c9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x295e11(0x413),_0x4df9c9[_0x4df9c9[_0x295e11(0x420)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4df9c9[_0x4df9c9[_0x295e11(0x27c)]=0x232b]=_0x295e11(0x27c),_0x4df9c9[_0x4df9c9[_0x295e11(0x338)]=0x232c]=_0x295e11(0x338),_0x4df9c9[_0x4df9c9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x295e11(0x47b),_0x4df9c9[_0x4df9c9[_0x295e11(0x41f)]=0x2711]=_0x295e11(0x41f),_0x4df9c9[_0x4df9c9[_0x295e11(0x306)]=0x2712]=_0x295e11(0x306),_0x4df9c9[_0x4df9c9[_0x295e11(0x389)]=0x2713]=_0x295e11(0x389),_0x4df9c9[_0x4df9c9[_0x295e11(0x308)]=0x2714]=_0x295e11(0x308),_0x4df9c9[_0x4df9c9[_0x295e11(0x3f4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4df9c9[_0x4df9c9[_0x295e11(0x1f7)]=0x271b]=_0x295e11(0x1f7),_0x4df9c9[_0x4df9c9[_0x295e11(0x243)]=0x271c]=_0x295e11(0x243),_0x4df9c9[_0x4df9c9[_0x295e11(0x1dc)]=0x271d]=_0x295e11(0x1dc),_0x4df9c9[_0x4df9c9[_0x295e11(0x3cf)]=0x271e]=_0x295e11(0x3cf),_0x4df9c9[_0x4df9c9[_0x295e11(0x2f8)]=0x271f]=_0x295e11(0x2f8),_0x4df9c9[_0x4df9c9[_0x295e11(0x325)]=0x2720]=_0x295e11(0x325),_0x4df9c9[_0x4df9c9[_0x295e11(0x418)]=0x2af9]=_0x295e11(0x418),_0x4df9c9[_0x4df9c9[_0x295e11(0x479)]=0x2ee1]=_0x295e11(0x479),_0x4df9c9[_0x4df9c9[_0x295e11(0x2ea)]=0x2ee2]='INVALID_INVITE_CODE',_0x4df9c9[_0x4df9c9['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4df9c9[_0x4df9c9[_0x295e11(0x228)]=0x2ee4]=_0x295e11(0x228),_0x4df9c9[_0x4df9c9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4df9c9[_0x4df9c9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x295e11(0x45c),_0x4df9c9[_0x4df9c9[_0x295e11(0x264)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4df9c9[_0x4df9c9[_0x295e11(0x32b)]=0x32cb]=_0x295e11(0x32b),_0x4df9c9[_0x4df9c9[_0x295e11(0x4b3)]=0x36b1]=_0x295e11(0x4b3),_0x4df9c9[_0x4df9c9[_0x295e11(0x307)]=0x36b2]=_0x295e11(0x307),_0x4df9c9[_0x4df9c9[_0x295e11(0x3f2)]=0x36b3]=_0x295e11(0x3f2),_0x4df9c9[_0x4df9c9[_0x295e11(0x2f7)]=0x36b4]=_0x295e11(0x2f7),_0x4df9c9[_0x4df9c9[_0x295e11(0x26c)]=0x36b5]=_0x295e11(0x26c),_0x4df9c9[_0x4df9c9['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x295e11(0x447),_0x4df9c9[_0x4df9c9[_0x295e11(0x3b6)]=0x36b7]=_0x295e11(0x3b6),_0x4df9c9[_0x4df9c9['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x295e11(0x31f),_0x4df9c9[_0x4df9c9[_0x295e11(0x33f)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4df9c9[_0x4df9c9['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x295e11(0x4b2),_0x4df9c9[_0x4df9c9[_0x295e11(0x258)]=0x3717]=_0x295e11(0x258),_0x4df9c9[_0x4df9c9[_0x295e11(0x467)]=0x37dd]=_0x295e11(0x467),_0x4df9c9[_0x4df9c9[_0x295e11(0x238)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4df9c9[_0x4df9c9[_0x295e11(0x294)]=0x3a9a]=_0x295e11(0x294),_0x4df9c9[_0x4df9c9[_0x295e11(0x493)]=0x3a9b]=_0x295e11(0x493),_0x4df9c9[_0x4df9c9[_0x295e11(0x442)]=0x3a9c]=_0x295e11(0x442),_0x4df9c9[_0x4df9c9[_0x295e11(0x44d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4df9c9[_0x4df9c9[_0x295e11(0x23e)]=0x3a9e]=_0x295e11(0x23e),_0x4df9c9[_0x4df9c9[_0x295e11(0x330)]=0x3a9f]=_0x295e11(0x330),_0x4df9c9[_0x4df9c9[_0x295e11(0x2e6)]=0x3e81]=_0x295e11(0x2e6),_0x4df9c9[_0x4df9c9[_0x295e11(0x255)]=-0x1]=_0x295e11(0x255),_0x4df9c9))(_0x319d71||{});function _0x143dd4(_0x1b9485){const _0x3d0277=_0x295e11;var _0x2be7e6,_0x1d6e22;const _0x4a10a4=(_0x2be7e6=_0x1b9485[_0x3d0277(0x43a)])==null?void 0x0:_0x2be7e6[_0x3d0277(0x354)],_0xe72418=((_0x1d6e22=_0x1b9485['stageInfo'])==null?void 0x0:_0x1d6e22[_0x3d0277(0x2fe)])||0x0;return _0x4a10a4===_0x100a4f[_0x3d0277(0x262)]['START_CALCULATION']&&_0xe72418>0x0;}function _0x361644(_0x44083a){const _0x34793c=_0x295e11;return _0x44083a[_0x34793c(0x254)]===_0x100a4f[_0x34793c(0x21e)]['SUCCESS'];}var _0x161bf3=Object[_0x295e11(0x3a0)],_0x5d9f83=(_0x269f0d,_0x57c0a6,_0x1c7f2f,_0x57a56a)=>{for(var _0x553e4f=_0x57a56a>0x1?void 0x0:_0x57a56a?_0x161bf3(_0x57c0a6,_0x1c7f2f):_0x57c0a6,_0x23464b=_0x269f0d['length']-0x1,_0x1a0113;_0x23464b>=0x0;_0x23464b--)(_0x1a0113=_0x269f0d[_0x23464b])&&(_0x553e4f=_0x1a0113(_0x553e4f)||_0x553e4f);return _0x553e4f;},_0x16e967=(_0x10ba53,_0x59b4cf)=>(_0x5d5295,_0x2ea79d)=>_0x59b4cf(_0x5d5295,_0x2ea79d,_0x10ba53);const _0x55cf85=_0x295e11(0x302),_0x918f2b=_0x295e11(0x30e),_0x272d31=_0x295e11(0x42b);let _0x2f3884=class extends _0x40624a['Disposable']{constructor(_0x225761,_0x5d0559,_0x2b9c81,_0x204d62,_0x2f9443,_0x468d02,_0xf5bd9){const _0x4a297c=_0x295e11;super(),_0x9020b(this,_0x4a297c(0x3bd),null),_0x9020b(this,_0x4a297c(0x492),0x0),_0x9020b(this,'_currentUsage',0x0),_0x9020b(this,_0x4a297c(0x1c9),[]),_0x9020b(this,_0x4a297c(0x49d),0x0),(this[_0x4a297c(0x233)]=_0x225761,this[_0x4a297c(0x3ee)]=_0x5d0559,this[_0x4a297c(0x2d4)]=_0x2b9c81,this[_0x4a297c(0x395)]=_0x204d62,this[_0x4a297c(0x3ba)]=_0x2f9443,this[_0x4a297c(0x458)]=_0x468d02,this['_localeService']=_0xf5bd9,this[_0x4a297c(0x297)]());}[_0x295e11(0x297)](){const _0x27bf7a=_0x295e11;this[_0x27bf7a(0x2bc)](this[_0x27bf7a(0x3ee)]['beforeCommandExecuted']((_0x13d7ac,_0x2246ba)=>{const _0x29ed22=_0x27bf7a;var _0x1c851b;if(_0x13d7ac['id']!==_0x100a4f[_0x29ed22(0x441)]['id'])return;const _0x2315a0=_0x13d7ac[_0x29ed22(0x1d6)];if(!this[_0x29ed22(0x32a)]((_0x1c851b=_0x2315a0[_0x29ed22(0x46f)])!=null?_0x1c851b:[]))return;if(!this[_0x29ed22(0x23a)]())throw this['_checkAndWaitForCalculationPermission'](_0x13d7ac,_0x2246ba),this['_showGuardMessage'](),new _0x40624a['CanceledError']();})),this[_0x27bf7a(0x2bc)](this[_0x27bf7a(0x3ee)]['onCommandExecuted']((_0x2dec4d,_0x13ba47)=>{const _0x3f4b7a=_0x27bf7a;if(_0x2dec4d['id']!==_0x100a4f[_0x3f4b7a(0x29f)]['id'])return;const _0x3a9303=_0x2dec4d[_0x3f4b7a(0x1d6)];if(_0x143dd4(_0x3a9303)){const _0x4e049b=_0x40624a['generateRandomId']();this[_0x3f4b7a(0x1c9)][_0x3f4b7a(0x2f0)](_0x4e049b),this[_0x3f4b7a(0x450)](_0x4e049b);}else{if(_0x361644(_0x3a9303)&&this['_taskIds'][_0x3f4b7a(0x1c4)]>0x0){const _0xbd4839=this[_0x3f4b7a(0x1c9)][_0x3f4b7a(0x45a)]();this[_0x3f4b7a(0x4a7)](_0xbd4839);}}}));}[_0x295e11(0x3d1)](){const _0xd03487=_0x295e11;super[_0xd03487(0x3d1)](),this[_0xd03487(0x43e)](),this['_taskIds']=[],this[_0xd03487(0x3f5)]=0x0,this[_0xd03487(0x492)]=0x0,this[_0xd03487(0x49d)]=0x0;}async[_0x295e11(0x46b)](_0x302348,_0x23fe20){const _0x58fbaf=_0x295e11;for(let _0x26e843=0x0;_0x26e843<0x1e;_0x26e843++)try{if(await this[_0x58fbaf(0x1ff)](),this[_0x58fbaf(0x23a)]()){this[_0x58fbaf(0x34a)](_0x302348,_0x23fe20),this['_messageService'][_0x58fbaf(0x344)]({'content':this[_0x58fbaf(0x2a5)]['t'](_0x58fbaf(0x3e5)),'type':_0x4e15c3[_0x58fbaf(0x256)][_0x58fbaf(0x470)]});return;}await new Promise(_0x469cc3=>{const _0x22ddd1=_0x58fbaf;this[_0x22ddd1(0x3bd)]=window[_0x22ddd1(0x30f)](_0x469cc3,0x3e8);});}catch(_0x1812e6){this['_logService'][_0x58fbaf(0x3b0)](_0x1812e6);}this[_0x58fbaf(0x233)][_0x58fbaf(0x344)]({'content':this['_localeService']['t'](_0x58fbaf(0x485)),'type':_0x4e15c3[_0x58fbaf(0x256)][_0x58fbaf(0x476)]});}[_0x295e11(0x34a)](_0x23753a,_0x3d2a46){const _0x49fce1=_0x295e11;try{this['_commandService'][_0x49fce1(0x48b)](_0x23753a['id'],_0x23753a['params'],_0x3d2a46);}catch(_0x3c77d8){this[_0x49fce1(0x458)][_0x49fce1(0x3b0)](_0x3c77d8);}}[_0x295e11(0x1dd)](_0x5f1832,_0x34df17){const _0x12502a=_0x295e11;_0x34df17<this['_lastResponseTimestamp']||(this[_0x12502a(0x49d)]=_0x34df17,this[_0x12502a(0x492)]=Number[_0x12502a(0x299)](_0x5f1832[_0x12502a(0x318)]),this[_0x12502a(0x3f5)]=Number[_0x12502a(0x299)](_0x5f1832[_0x12502a(0x296)]));}async[_0x295e11(0x450)](_0x5bdc4e){const _0x2af952=_0x295e11;var _0x2eef35,_0x15c990;const _0x3a6982=Date[_0x2af952(0x40f)]();try{const _0x584b09=((_0x2eef35=this[_0x2af952(0x2d4)][_0x2af952(0x231)](_0x3958ea[_0x2af952(0x222)]))==null?void 0x0:_0x2eef35[_0x2af952(0x1e0)])||_0x918f2b,_0x590f0d=(await this[_0x2af952(0x395)][_0x2af952(0x44a)](_0x584b09,{'body':JSON[_0x2af952(0x2be)]({'taskId':_0x5bdc4e})}))[_0x2af952(0x4a2)];if(((_0x15c990=_0x590f0d['error'])==null?void 0x0:_0x15c990[_0x2af952(0x286)])!==_0x319d71['OK'])return;this[_0x2af952(0x1dd)](_0x590f0d[_0x2af952(0x284)],_0x3a6982);}catch(_0x1b9cd1){this['_logService']['error'](_0x1b9cd1);}}async[_0x295e11(0x1ff)](_0x363f61){const _0x283ad5=_0x295e11;var _0x358e7c,_0x53746a;const _0x43a2fe=Date['now']();try{const _0x41b3a0=((_0x358e7c=this[_0x283ad5(0x2d4)]['getConfig'](_0x3958ea[_0x283ad5(0x222)]))==null?void 0x0:_0x358e7c['getformulaLimitStatusUrl'])||_0x55cf85,_0x3cc283=_0x363f61?_0x41b3a0+'?taskId='+encodeURIComponent(_0x363f61):_0x41b3a0,_0x4c03fb=(await this[_0x283ad5(0x395)][_0x283ad5(0x1de)](_0x3cc283))[_0x283ad5(0x4a2)];if(((_0x53746a=_0x4c03fb[_0x283ad5(0x3b0)])==null?void 0x0:_0x53746a[_0x283ad5(0x286)])!==_0x319d71['OK'])return;this['_setFormulaLimitStatus'](_0x4c03fb[_0x283ad5(0x284)],_0x43a2fe);}catch(_0x527548){this[_0x283ad5(0x458)][_0x283ad5(0x3b0)](_0x527548);}}async[_0x295e11(0x4a7)](_0x366abc){const _0x3e112b=_0x295e11;var _0x15dfdf,_0x2a02e5;const _0x721099=Date[_0x3e112b(0x40f)]();try{const _0x391bf7=((_0x15dfdf=this['_configService']['getConfig'](_0x3958ea[_0x3e112b(0x222)]))==null?void 0x0:_0x15dfdf[_0x3e112b(0x1c0)])||_0x272d31,_0x58b32a=(await this[_0x3e112b(0x395)][_0x3e112b(0x44a)](_0x391bf7,{'body':JSON['stringify']({'taskId':_0x366abc})}))[_0x3e112b(0x4a2)];if(((_0x2a02e5=_0x58b32a[_0x3e112b(0x3b0)])==null?void 0x0:_0x2a02e5[_0x3e112b(0x286)])!==_0x319d71['OK'])return;this[_0x3e112b(0x1dd)](_0x58b32a[_0x3e112b(0x284)],_0x721099);}catch(_0x1e0304){this[_0x3e112b(0x458)][_0x3e112b(0x3b0)](_0x1e0304);}}['_checkCalculationAvailable'](){const _0x1aef1f=_0x295e11;return this[_0x1aef1f(0x492)]===0x0?!0x0:this[_0x1aef1f(0x492)]-this[_0x1aef1f(0x3f5)]>0x0;}[_0x295e11(0x43e)](){const _0x4475b9=_0x295e11;this[_0x4475b9(0x3bd)]&&(clearTimeout(this[_0x4475b9(0x3bd)]),this[_0x4475b9(0x3bd)]=null);}[_0x295e11(0x2f9)](){const _0x57899b=_0x295e11;this[_0x57899b(0x233)][_0x57899b(0x344)]({'content':this[_0x57899b(0x2a5)]['t']('formula.calculation.waiting'),'type':_0x4e15c3[_0x57899b(0x256)][_0x57899b(0x39b)]});}[_0x295e11(0x32a)](_0x1de230){const _0x5bb94c=_0x295e11;for(const _0x2d63b8 of _0x1de230){const {unitId:_0x3cde27,sheetId:_0x1f7711,range:_0x4f34b9}=_0x2d63b8,_0x4e678d=this['_univerInstanceService']['getUnit'](_0x3cde27);if(!_0x4e678d)continue;const _0x2be0c4=_0x4e678d[_0x5bb94c(0x3e2)](_0x1f7711);if(!_0x2be0c4)continue;const _0x3ca1e0=_0x2be0c4[_0x5bb94c(0x3e1)]();for(let _0x755b32=_0x4f34b9[_0x5bb94c(0x218)];_0x755b32<=_0x4f34b9[_0x5bb94c(0x421)];_0x755b32++)for(let _0x17d3f7=_0x4f34b9[_0x5bb94c(0x25f)];_0x17d3f7<=_0x4f34b9[_0x5bb94c(0x3af)];_0x17d3f7++){const _0x36e27d=_0x3ca1e0['getValue'](_0x755b32,_0x17d3f7);if(_0x36e27d&&(_0x40624a[_0x5bb94c(0x3a1)](_0x36e27d['f'])||_0x40624a['isFormulaId'](_0x36e27d['si'])))return!0x0;}}return!0x1;}};_0x2f3884=_0x5d9f83([_0x16e967(0x0,_0x40624a[_0x295e11(0x33d)](_0x8e6f8f[_0x295e11(0x3dd)])),_0x16e967(0x1,_0x40624a['ICommandService']),_0x16e967(0x2,_0x40624a[_0x295e11(0x26b)]),_0x16e967(0x3,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x16e967(0x4,_0x40624a[_0x295e11(0x2e4)]),_0x16e967(0x5,_0x40624a['ILogService']),_0x16e967(0x6,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x336)]))],_0x2f3884);var _0xd76ff7=Object[_0x295e11(0x3a0)],_0xc80f08=(_0x5c7170,_0x19d41a,_0x24c4a4,_0x1b31f6)=>{const _0x2fb312=_0x295e11;for(var _0x3b9490=_0x1b31f6>0x1?void 0x0:_0x1b31f6?_0xd76ff7(_0x19d41a,_0x24c4a4):_0x19d41a,_0x1c13dd=_0x5c7170[_0x2fb312(0x1c4)]-0x1,_0xf04be;_0x1c13dd>=0x0;_0x1c13dd--)(_0xf04be=_0x5c7170[_0x1c13dd])&&(_0x3b9490=_0xf04be(_0x3b9490)||_0x3b9490);return _0x3b9490;},_0x5b38eb=(_0x29c3f9,_0x53c8d0)=>(_0xe464cc,_0x2c92aa)=>_0x53c8d0(_0xe464cc,_0x2c92aa,_0x29c3f9);let _0x3698c4=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x4e7466,_0x33f518,_0x2b911c){const _0xdc9bf9=_0x295e11;super(),_0x9020b(this,_0xdc9bf9(0x32e),new Map()),_0x9020b(this,_0xdc9bf9(0x1fe),new Map()),_0x9020b(this,'_disabled',!0x1),(this[_0xdc9bf9(0x2d4)]=_0x4e7466,this[_0xdc9bf9(0x490)]=_0x33f518,this[_0xdc9bf9(0x321)]=_0x2b911c);}[_0x295e11(0x200)](){const _0x14cbd3=_0x295e11;this[_0x14cbd3(0x220)]=!0x0;}[_0x295e11(0x3a6)](){const _0x1a6373=_0x295e11;this[_0x1a6373(0x220)]=!0x1;}get[_0x295e11(0x313)](){return this['_saveTaskMap'];}[_0x295e11(0x3d1)](){const _0x4b1ad8=_0x295e11;this[_0x4b1ad8(0x46c)]()['then'](()=>super[_0x4b1ad8(0x3d1)]());}async[_0x295e11(0x4aa)](_0x23171b){const _0x332140=_0x295e11;return this[_0x332140(0x220)]?null:this[_0x332140(0x490)][_0x332140(0x1e5)](_0x3958ea[_0x332140(0x2db)](_0x23171b));}async[_0x295e11(0x1be)](_0x5a590a,_0xf74f56){const _0x1cf23a=_0x295e11;return!!this[_0x1cf23a(0x490)][_0x1cf23a(0x406)](_0x5a590a,_0xf74f56);}[_0x295e11(0x251)](_0x41b57a,_0x587a5,_0x1b55a6,_0x3c1683){const _0x5ce9a2=_0x295e11,_0x5ef294=this['_revisionService'][_0x5ce9a2(0x443)](_0x41b57a);this[_0x5ce9a2(0x32e)][_0x5ce9a2(0x370)](_0x41b57a,{'unitID':_0x41b57a,'type':_0x587a5,'awaitingChangeset':_0x1b55a6,'mutations':_0x3c1683,'rev':_0x5ef294}),this[_0x5ce9a2(0x1fe)]['has'](_0x41b57a)||this[_0x5ce9a2(0x257)](_0x41b57a);}['_scheduleSaving'](_0x5e498c){const _0x4517e5=_0x295e11,_0x40d34b=this[_0x4517e5(0x261)]();_0x40d34b===0x0?this['_saveCache'](_0x5e498c):this[_0x4517e5(0x1fe)][_0x4517e5(0x370)](_0x5e498c,setTimeout(()=>this[_0x4517e5(0x20e)](_0x5e498c),_0x40d34b));}[_0x295e11(0x261)](){const _0x3408cc=_0x295e11;var _0x2dc032;return(_0x2dc032=this[_0x3408cc(0x2d4)][_0x3408cc(0x231)](_0x3958ea[_0x3408cc(0x36b)]))!=null?_0x2dc032:_0x3958ea[_0x3408cc(0x341)];}['_saveCache'](_0x318b16){const _0x146c43=_0x295e11,_0x13c50e=this[_0x146c43(0x1fe)][_0x146c43(0x1de)](_0x318b16);return _0x13c50e!==void 0x0&&window[_0x146c43(0x425)](_0x13c50e),this[_0x146c43(0x490)]['setItem'](_0x3958ea['getLocalCacheKey'](_0x318b16),this[_0x146c43(0x32e)][_0x146c43(0x1de)](_0x318b16))[_0x146c43(0x2a1)](()=>this[_0x146c43(0x1fe)][_0x146c43(0x240)](_0x318b16));}async[_0x295e11(0x46c)](){const _0x3a06f5=_0x295e11,_0xa9a7a7=[];this['_saveTaskMap']['forEach']((_0x17ac57,_0x427d1d)=>{const _0xab9e18=_0xd951;window[_0xab9e18(0x425)](_0x17ac57),_0xa9a7a7['push'](this[_0xab9e18(0x20e)](_0x427d1d)[_0xab9e18(0x2a1)](()=>{const _0x3c9f93=_0xab9e18;this[_0x3c9f93(0x1fe)]['delete'](_0x427d1d);}));}),await Promise[_0x3a06f5(0x375)](_0xa9a7a7);}};_0x3698c4=_0xc80f08([_0x5b38eb(0x0,_0x40624a[_0x295e11(0x26b)]),_0x5b38eb(0x1,_0x40624a['ILocalStorageService']),_0x5b38eb(0x2,_0x40624a[_0x295e11(0x33d)](_0x2c324c[_0x295e11(0x1fb)]))],_0x3698c4);class _0x5e9496 extends _0x40624a[_0x295e11(0x40a)]{constructor(){const _0x5c8673=_0x295e11;super(),_0x9020b(this,_0x5c8673(0x368)),this[_0x5c8673(0x368)]=_0x5b38f4[_0x5c8673(0x4a5)](window,_0x5c8673(0x433))[_0x5c8673(0x32d)](_0x5b38f4[_0x5c8673(0x491)](this[_0x5c8673(0x2ff)]),_0x5b38f4[_0x5c8673(0x2ae)](0x1),_0x5b38f4[_0x5c8673(0x3ff)](void 0x0));}['setParam'](_0x102d3a,_0x5a52be,_0xe60998=!0x1){const _0x417047=_0x295e11,_0x260554=new URL(window[_0x417047(0x3b2)]['href']);_0x260554[_0x417047(0x2fd)][_0x417047(0x370)](_0x102d3a,_0x5a52be),_0xe60998?window[_0x417047(0x1db)]['replaceState']('','',_0x260554[_0x417047(0x339)]()):window[_0x417047(0x1db)][_0x417047(0x2d9)]('','',_0x260554[_0x417047(0x339)]());}[_0x295e11(0x1f2)](_0x194a37,_0x1417a0=!0x1){const _0xda47cc=_0x295e11,_0x4ed731=new URL(window['location'][_0xda47cc(0x1fd)]);_0x4ed731[_0xda47cc(0x2fd)][_0xda47cc(0x240)](_0x194a37),_0x1417a0?window[_0xda47cc(0x1db)][_0xda47cc(0x213)]('','',_0x4ed731[_0xda47cc(0x339)]()):window[_0xda47cc(0x1db)][_0xda47cc(0x2d9)]('','',_0x4ed731['toString']());}['getParam'](_0x2f9c7a){const _0x24aca3=_0x295e11;var _0x530226;return(_0x530226=new URL(window['location'][_0x24aca3(0x1fd)])[_0x24aca3(0x2fd)]['get'](_0x2f9c7a))!=null?_0x530226:void 0x0;}}var _0x530910=Object['defineProperty'],_0x40f96b=Object[_0x295e11(0x3a0)],_0x15fe47=(_0x497739,_0x48709e,_0x25a192)=>_0x48709e in _0x497739?_0x530910(_0x497739,_0x48709e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25a192}):_0x497739[_0x48709e]=_0x25a192,_0x283235=(_0x43d628,_0x4e9c62,_0x4a1ebc,_0x20abd7)=>{const _0x1d2d08=_0x295e11;for(var _0x51ed70=_0x20abd7>0x1?void 0x0:_0x20abd7?_0x40f96b(_0x4e9c62,_0x4a1ebc):_0x4e9c62,_0x34e86d=_0x43d628[_0x1d2d08(0x1c4)]-0x1,_0x224bab;_0x34e86d>=0x0;_0x34e86d--)(_0x224bab=_0x43d628[_0x34e86d])&&(_0x51ed70=_0x224bab(_0x51ed70)||_0x51ed70);return _0x51ed70;},_0x51bd95=(_0x3935e6,_0x5cd520)=>(_0x12642d,_0x496546)=>_0x5cd520(_0x12642d,_0x496546,_0x3935e6),_0xeb6823=(_0x3a2726,_0x4a477f,_0x17dd68)=>_0x15fe47(_0x3a2726,_0x4a477f+'',_0x17dd68);const _0x25e50f=_0x295e11(0x378);_0x40352c[_0x295e11(0x272)]=class extends _0x40624a[_0x295e11(0x39e)]{constructor(_0x322eef=_0x1498da,_0x297ed5,_0x2657ee,_0x30d688){const _0x1d217a=_0x295e11;super(),this['_config']=_0x322eef,this[_0x1d217a(0x1ed)]=_0x297ed5,this[_0x1d217a(0x351)]=_0x2657ee,this[_0x1d217a(0x2d4)]=_0x30d688;const {..._0x4c8277}=_0x40624a[_0x1d217a(0x263)]({},_0x1498da,this[_0x1d217a(0x388)]);this[_0x1d217a(0x2d4)][_0x1d217a(0x20c)](_0x146d19,_0x4c8277);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x295e11(0x1cc)](){const _0x45c951=_0x295e11;this[_0x45c951(0x31d)]();}['_registerDependencies'](){const _0x5c7cca=_0x295e11;var _0x1e58aa;const _0x149308=[[_0x2d4f99],[_0x2f3884],[_0x1165fa],[_0x516df5],[_0x2c640a],[_0x2a125f],[_0x6adebe,{'useClass':_0x5e9496}],[_0x42d795[_0x5c7cca(0x397)],{'useClass':_0x42d795['WebSocketService']}],[_0x3958ea[_0x5c7cca(0x22f)],{'useClass':_0x3698c4}],[_0x40352c[_0x5c7cca(0x295)]],[_0x22b2b8],[_0x3ef4e4],[_0x2e9070],[_0x47f626],[_0x40352c['CollaborationDataLoaderController']]];this[_0x5c7cca(0x388)][_0x5c7cca(0x481)]&&_0x149308[_0x5c7cca(0x2f0)]([_0x308889]),_0x40624a['registerDependencies'](this[_0x5c7cca(0x351)],_0x40624a['mergeOverrideWithDependencies'](_0x149308,(_0x1e58aa=this[_0x5c7cca(0x388)])==null?void 0x0:_0x1e58aa[_0x5c7cca(0x229)]));}['_registerRenderDependencies'](){const _0x5835c9=_0x295e11;this['disposeWithMe'](this[_0x5835c9(0x1ed)]['registerRenderModule'](_0x40624a[_0x5835c9(0x260)][_0x5835c9(0x36a)],[_0x2faf05])),this[_0x5835c9(0x2bc)](this[_0x5835c9(0x1ed)][_0x5835c9(0x35e)](_0x40624a[_0x5835c9(0x260)]['UNIVER_SHEET'],[_0xb986df]));}[_0x295e11(0x385)](){const _0xf40917=_0x295e11;_0x40624a['touchDependencies'](this[_0xf40917(0x351)],[[_0x2e9070],[_0x40352c['DesktopCollaborationStatusDisplayController']],[_0x22b2b8],[_0x3ef4e4],[_0x40352c[_0xf40917(0x301)]],[_0x2f3884]]),this[_0xf40917(0x388)][_0xf40917(0x481)]&&_0x40624a[_0xf40917(0x212)](this[_0xf40917(0x351)],[[_0x308889]]);}},_0xeb6823(_0x40352c[_0x295e11(0x272)],'pluginName',_0x25e50f),_0x40352c['UniverCollaborationClientUIPlugin']=_0x283235([_0x40624a[_0x295e11(0x3c5)](_0x3958ea[_0x295e11(0x4a3)]),_0x51bd95(0x1,_0x2680b3[_0x295e11(0x280)]),_0x51bd95(0x2,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x51bd95(0x3,_0x40624a['IConfigService'])],_0x40352c['UniverCollaborationClientUIPlugin']);var _0x1765a2=Object[_0x295e11(0x3a0)],_0x4dc7fa=(_0x68f912,_0x4d5339,_0x42cc1b,_0x630dc7)=>{const _0x54acd5=_0x295e11;for(var _0x372736=_0x630dc7>0x1?void 0x0:_0x630dc7?_0x1765a2(_0x4d5339,_0x42cc1b):_0x4d5339,_0x35b2c3=_0x68f912[_0x54acd5(0x1c4)]-0x1,_0x2886eb;_0x35b2c3>=0x0;_0x35b2c3--)(_0x2886eb=_0x68f912[_0x35b2c3])&&(_0x372736=_0x2886eb(_0x372736)||_0x372736);return _0x372736;},_0x45c070=(_0x1a1fbe,_0x3c7144)=>(_0x240266,_0xf162bb)=>_0x3c7144(_0x240266,_0xf162bb,_0x1a1fbe);_0x40352c[_0x295e11(0x28b)]=class extends _0x3958ea[_0x295e11(0x2eb)]{constructor(_0x163fe0,_0x3aac88,_0x264432,_0xef7ada,_0x59efbb){super(_0x163fe0,_0x3aac88,_0x264432,_0xef7ada,_0x59efbb);}async[_0x295e11(0x401)](_0x1decec){const _0x3aa03b=_0x295e11,_0x569583=await this[_0x3aa03b(0x379)](),_0x19c363=this['_createSocketURL'](_0x1decec,_0x569583);return this[_0x3aa03b(0x2a4)](_0x19c363);}[_0x295e11(0x2a9)](_0x1a79ce,_0x5acd25){const _0x396d29=_0x295e11,_0x40b677=typeof window>'u'?new URL(_0x1a79ce):new URL(_0x1a79ce,window[_0x396d29(0x3b2)][_0x396d29(0x3c4)]);_0x40b677[_0x396d29(0x2fd)][_0x396d29(0x370)](_0x396d29(0x431),_0x5acd25);const _0x4b5e69=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x396d29(0x47a)]);return _0x4b5e69['get']('runId')&&_0x40b677[_0x396d29(0x2fd)][_0x396d29(0x370)]('runId',_0x4b5e69[_0x396d29(0x1de)]('runId')),_0x40b677[_0x396d29(0x339)]();}async[_0x295e11(0x379)](){const _0x2c0bb4=_0x295e11;var _0x29799d,_0x34773e,_0x4fd70b;const _0x22bb55=this['_configService'][_0x2c0bb4(0x231)](_0x3958ea[_0x2c0bb4(0x222)]),_0x2a50cf=(_0x29799d=_0x22bb55==null?void 0x0:_0x22bb55['wsSessionTicketUrl'])!=null?_0x29799d:_0x3958ea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4fd70b=(_0x34773e=(await this['_httpService'][_0x2c0bb4(0x1de)](_0x2a50cf,{'headers':{'Content-Type':_0x2c0bb4(0x456)}}))[_0x2c0bb4(0x4a2)])==null?void 0x0:_0x34773e[_0x2c0bb4(0x386)])!=null?_0x4fd70b:'';}},_0x40352c['BrowserCollaborationSocketService']=_0x4dc7fa([_0x45c070(0x0,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x45c070(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x45c070(0x2,_0x40624a[_0x295e11(0x26b)]),_0x45c070(0x3,_0x40624a['ILogService']),_0x45c070(0x4,_0x2c324c[_0x295e11(0x411)])],_0x40352c[_0x295e11(0x28b)]);var _0x145339=Object[_0x295e11(0x3a0)],_0x3380e6=(_0x10608d,_0x32eefe,_0x528d30,_0x38a671)=>{const _0x2855f2=_0x295e11;for(var _0x1dd3aa=_0x38a671>0x1?void 0x0:_0x38a671?_0x145339(_0x32eefe,_0x528d30):_0x32eefe,_0x5ec9c9=_0x10608d[_0x2855f2(0x1c4)]-0x1,_0x537c0f;_0x5ec9c9>=0x0;_0x5ec9c9--)(_0x537c0f=_0x10608d[_0x5ec9c9])&&(_0x1dd3aa=_0x537c0f(_0x1dd3aa)||_0x1dd3aa);return _0x1dd3aa;},_0x2105cc=(_0x3b52ec,_0xa2f103)=>(_0x52c6e8,_0x3ad6ba)=>_0xa2f103(_0x52c6e8,_0x3ad6ba,_0x3b52ec);_0x40352c[_0x295e11(0x3f0)]=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x2b038e,_0x2b01df,_0x145c2e){const _0xd440d6=_0x295e11;super(),this[_0xd440d6(0x3d9)]=_0x2b038e,this[_0xd440d6(0x395)]=_0x2b01df,this[_0xd440d6(0x2d4)]=_0x145c2e;}async[_0x295e11(0x2fa)](_0x44efb2,_0x9379ac,_0x515c21,..._0x27df63){const _0x3b9f42=_0x295e11;var _0x369917,_0x53d13d,_0x3ca8b7,_0x376a1a;const _0x5c31c4=this[_0x3b9f42(0x3d9)][_0x3b9f42(0x3cd)]();if(!_0x5c31c4)throw new Error(_0x3b9f42(0x356));const _0x15c154=((_0x369917=this[_0x3b9f42(0x2d4)][_0x3b9f42(0x231)](_0x3958ea[_0x3b9f42(0x367)]))!=null?_0x369917:_0x3958ea[_0x3b9f42(0x20d)])+'/'+_0x44efb2+_0x3b9f42(0x42e)+_0x9379ac,_0x358859=new URL(window[_0x3b9f42(0x3b2)]['href']),_0x41cfc3={'scriptId':_0x44efb2,'runId':(_0x53d13d=_0x358859['searchParams'][_0x3b9f42(0x1de)](_0x3b9f42(0x1cd)))!=null?_0x53d13d:'','function':_0x9379ac,'unitId':_0x5c31c4['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x27df63),'invokeId':(_0x3ca8b7=_0x515c21[_0x3b9f42(0x223)])!=null?_0x3ca8b7:'','executionId':(_0x376a1a=_0x515c21[_0x3b9f42(0x320)])!=null?_0x376a1a:''};try{const _0x166dcb=await this[_0x3b9f42(0x395)]['post'](_0x15c154,{'body':_0x41cfc3});return _0x166dcb[_0x3b9f42(0x4a2)][_0x3b9f42(0x3b0)]&&_0x166dcb[_0x3b9f42(0x4a2)][_0x3b9f42(0x3b0)][_0x3b9f42(0x286)]!==_0x319d71['OK']?_0x3b9f42(0x2f5):_0x166dcb[_0x3b9f42(0x4a2)]['result'];}catch{return _0x3b9f42(0x2f5);}}},_0x40352c[_0x295e11(0x3f0)]=_0x3380e6([_0x2105cc(0x0,_0x40624a[_0x295e11(0x2e4)]),_0x2105cc(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795['HTTPService'])),_0x2105cc(0x2,_0x40624a[_0x295e11(0x26b)])],_0x40352c[_0x295e11(0x3f0)]);const _0x193540=0x7530,_0x4b5352='ACTIVE_UNIT_EVENT_CHANNEL';class _0x581939 extends _0x40624a['Disposable']{constructor(){const _0x2f2490=_0x295e11;super(),_0x9020b(this,_0x2f2490(0x404),_0x40624a[_0x2f2490(0x2d5)]()),_0x9020b(this,'_selfUnitIDs',new Set()),_0x9020b(this,_0x2f2490(0x2b6),new Map()),_0x9020b(this,_0x2f2490(0x277),null),_0x9020b(this,_0x2f2490(0x1d2),new Map()),_0x9020b(this,_0x2f2490(0x383),new Map()),this[_0x2f2490(0x4a0)]();}[_0x295e11(0x3d1)](){const _0x3c3c1e=_0x295e11;super[_0x3c3c1e(0x3d1)](),this[_0x3c3c1e(0x1d2)][_0x3c3c1e(0x24d)]((_0x4726ee,_0x389075)=>this[_0x3c3c1e(0x365)](_0x389075)),this[_0x3c3c1e(0x277)]&&window['clearInterval'](this[_0x3c3c1e(0x277)]);}[_0x295e11(0x3f1)](_0x53f8cf){const _0xd1888f=_0x295e11;return this[_0xd1888f(0x2d0)](_0x53f8cf)[_0xd1888f(0x32d)](_0x5b38f4[_0xd1888f(0x39a)]());}[_0x295e11(0x2bb)](_0x46adff){const _0x547cf5=_0x295e11;this[_0x547cf5(0x362)][_0x547cf5(0x47e)]===0x0&&this[_0x547cf5(0x27b)](),this[_0x547cf5(0x362)][_0x547cf5(0x372)](_0x46adff),this[_0x547cf5(0x25c)]({'type':0x0,'memberID':this[_0x547cf5(0x404)],'unitIDs':[_0x46adff],'isForwarded':!0x1});}['disposeUnit'](_0x33cc0d){const _0x1ecd45=_0x295e11;this[_0x1ecd45(0x362)][_0x1ecd45(0x240)](_0x33cc0d),this['_selfUnitIDs'][_0x1ecd45(0x47e)]===0x0&&this[_0x1ecd45(0x277)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x295e11(0x4a0)](){const _0x5d77a4=_0x295e11;this[_0x5d77a4(0x2bc)](_0x40624a[_0x5d77a4(0x381)](_0x5b38f4[_0x5d77a4(0x4a5)](window,'storage')[_0x5d77a4(0x4af)](_0x16ce6a=>{const _0x247378=_0x5d77a4;if(_0x16ce6a[_0x247378(0x209)]!==_0x4b5352||!_0x16ce6a['newValue'])return;const _0x2e8109=JSON[_0x247378(0x249)](_0x16ce6a['newValue']);this[_0x247378(0x305)](_0x2e8109);}))),window['addEventListener'](_0x5d77a4(0x45e),()=>this[_0x5d77a4(0x25c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5d77a4(0x4a6)](this[_0x5d77a4(0x362)])}));}[_0x295e11(0x305)](_0xd4b0f0){const _0x119784=_0x295e11;switch(_0xd4b0f0['type']){case 0x0:this[_0x119784(0x3fd)](_0xd4b0f0);break;case 0x1:this[_0x119784(0x440)](_0xd4b0f0);break;case 0x2:this[_0x119784(0x408)](_0xd4b0f0);break;}}[_0x295e11(0x3fd)](_0xc9e2fa){const _0x4c0708=_0x295e11,{unitIDs:_0x18139d,memberID:_0x563195,isForwarded:_0x38b6a9}=_0xc9e2fa;_0x18139d[_0x4c0708(0x24d)](_0x37fea6=>{const _0xe3a1f4=_0x4c0708;if(!_0x38b6a9&&this['_unitOnClients']['has'](_0x37fea6)&&this[_0xe3a1f4(0x2d0)](_0x37fea6)[_0xe3a1f4(0x2d3)](_0x3958ea[_0xe3a1f4(0x3db)][_0xe3a1f4(0x309)]),!this[_0xe3a1f4(0x2b6)]['has'](_0x37fea6)||!this[_0xe3a1f4(0x2b6)]['get'](_0x37fea6)[_0xe3a1f4(0x248)](_0x563195)){const _0x1051cc=this[_0xe3a1f4(0x2b6)][_0xe3a1f4(0x1de)](_0x37fea6)||new Set();_0x1051cc[_0xe3a1f4(0x372)](_0x563195),this[_0xe3a1f4(0x2b6)][_0xe3a1f4(0x370)](_0x37fea6,_0x1051cc),this[_0xe3a1f4(0x47c)](_0x563195);}}),_0x38b6a9||this['_send']({'type':0x0,'memberID':this[_0x4c0708(0x404)],'unitIDs':[...this[_0x4c0708(0x362)]],'isForwarded':!0x0});}[_0x295e11(0x47c)](_0x2be0eb){const _0x163496=_0x295e11;this[_0x163496(0x365)](_0x2be0eb);const _0x527f4d=window[_0x163496(0x30f)](()=>{const _0xa25ac2=_0x163496;this['_unitOnClients'][_0xa25ac2(0x24d)](_0xe18203=>{const _0x3d12f1=_0xa25ac2;_0xe18203[_0x3d12f1(0x240)](_0x2be0eb);});},_0x193540*0x2);this['_clearOtherTimers'][_0x163496(0x370)](_0x2be0eb,_0x527f4d);}['_removeClearOtherTimer'](_0x1f1ce3){const _0x47b597=_0x295e11;if(this['_clearOtherTimers'][_0x47b597(0x248)](_0x1f1ce3)){const _0x423165=this['_clearOtherTimers'][_0x47b597(0x1de)](_0x1f1ce3);_0x423165&&window[_0x47b597(0x425)](_0x423165),this[_0x47b597(0x1d2)][_0x47b597(0x370)](_0x1f1ce3,null);}}['_handleLeaveEvent'](_0x2e4fe6){const _0x93116a=_0x295e11,{memberID:_0x50e1c3,unitIDs:_0x1d15b6}=_0x2e4fe6;_0x1d15b6['forEach'](_0x7328e0=>{const _0x5261a9=_0xd951;var _0x4b3b46;const _0x49411c=this[_0x5261a9(0x2b6)]['get'](_0x7328e0);_0x49411c&&(_0x49411c[_0x5261a9(0x240)](_0x50e1c3),(_0x4b3b46=this[_0x5261a9(0x2d0)](_0x7328e0))==null||_0x4b3b46[_0x5261a9(0x2d3)](_0x49411c[_0x5261a9(0x47e)]===0x0?_0x3958ea['UnitStatus'][_0x5261a9(0x2af)]:_0x3958ea[_0x5261a9(0x3db)][_0x5261a9(0x309)]));}),this[_0x93116a(0x365)](_0x50e1c3);}[_0x295e11(0x408)](_0x4aa911){const _0x319cfc=_0x295e11;this[_0x319cfc(0x47c)](_0x4aa911['memberID']);}['_send'](_0x4cbac8){const _0x28ad1e=_0x295e11;localStorage['setItem'](_0x4b5352,JSON[_0x28ad1e(0x2be)](_0x4cbac8));}['_scheduleHeartbeat'](){const _0x5e76e9=_0x295e11;this[_0x5e76e9(0x277)]=window[_0x5e76e9(0x3f6)](()=>{const _0x3eed7b=_0x5e76e9;this[_0x3eed7b(0x25c)]({'type':0x2,'memberID':this['_id']});},_0x193540);}[_0x295e11(0x2d0)](_0x1f0268){const _0x46b357=_0x295e11;return this[_0x46b357(0x383)]['has'](_0x1f0268)||this[_0x46b357(0x383)][_0x46b357(0x370)](_0x1f0268,new _0x5b38f4['BehaviorSubject'](_0x3958ea['UnitStatus'][_0x46b357(0x2af)])),this[_0x46b357(0x383)][_0x46b357(0x1de)](_0x1f0268);}}_0x40352c[_0x295e11(0x438)]=_0x6adebe,_0x40352c['SheetCollabCursorShape']=_0x446f9f,_0x40352c[_0x295e11(0x2f1)]=_0x581939,_0x40352c[_0x295e11(0x345)]=_0x5e9496,Object[_0x295e11(0x314)](_0x40352c,Symbol[_0x295e11(0x3f9)],{'value':_0x295e11(0x38f)});}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x4376(_0x1b4137,_0x2c3770){_0x1b4137=_0x1b4137-0xef;var _0x2635e9=_0x2635();var _0x43768d=_0x2635e9[_0x1b4137];return _0x43768d;}(function(_0x58dbfc,_0xdd249b){var _0x47376c=_0x4376,_0x1e2f4f=_0x58dbfc();while(!![]){try{var _0x4be082=-parseInt(_0x47376c(0x106))/0x1+parseInt(_0x47376c(0xfc))/0x2+parseInt(_0x47376c(0xf5))/0x3*(parseInt(_0x47376c(0xfa))/0x4)+parseInt(_0x47376c(0xfd))/0x5*(parseInt(_0x47376c(0x103))/0x6)+parseInt(_0x47376c(0xfe))/0x7*(-parseInt(_0x47376c(0xef))/0x8)+-parseInt(_0x47376c(0xf6))/0x9*(-parseInt(_0x47376c(0xf2))/0xa)+parseInt(_0x47376c(0xfb))/0xb*(-parseInt(_0x47376c(0xf4))/0xc);if(_0x4be082===_0xdd249b)break;else _0x1e2f4f['push'](_0x1e2f4f['shift']());}catch(_0x5861ba){_0x1e2f4f['push'](_0x1e2f4f['shift']());}}}(_0x2635,0x7d5ae),function(_0x159f3f,_0x152a67){var _0x38c23b=_0x4376;typeof exports==_0x38c23b(0xf7)&&typeof module<'u'?_0x152a67(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x38c23b(0xf0)&&define[_0x38c23b(0x101)]?define([_0x38c23b(0x102),_0x38c23b(0xf3)],_0x152a67):(_0x159f3f=typeof globalThis<'u'?globalThis:_0x159f3f||self,_0x152a67(_0x159f3f[_0x38c23b(0xf8)],_0x159f3f[_0x38c23b(0xf1)]));}(this,function(_0x2232b7,_0x3fbdc7){'use strict';var _0x8777fa=_0x4376;class _0x3c00b0 extends _0x3fbdc7[_0x8777fa(0x107)]{[_0x8777fa(0xf9)](_0x210b7c,_0x28e937,..._0x413d03){var _0x366582=_0x8777fa;return this[_0x366582(0x105)][_0x366582(0x104)](_0x2232b7[_0x366582(0x100)])[_0x366582(0xf9)](_0x210b7c,_0x28e937,{},..._0x413d03);}}_0x3fbdc7[_0x8777fa(0x107)][_0x8777fa(0xff)](_0x3c00b0);}));function _0x2635(){var _0x282d82=['amd','@univerjs-pro/collaboration-client-ui','3384frEfZJ','get','_injector','1008244bJwPmJ','FUniver','368CzfhSJ','function','UniverCoreFacade','170RDPKIK','@univerjs/core/facade','3588ogrWFF','14955sQHmlB','299214qGfzGw','object','UniverProCollaborationClientUi','runOnServer','508hmUeEy','33451pQqbYc','1707180nLECFa','4985OZfLVX','27881RPDZIm','extend','RemoteUniscriptService'];_0x2635=function(){return _0x282d82;};return _0x2635();}
11
+ (function(_0x46e853,_0x586dbd){var _0x287d64=_0x409b,_0x4c2a61=_0x46e853();while(!![]){try{var _0x5c048e=-parseInt(_0x287d64(0x18d))/0x1*(-parseInt(_0x287d64(0x181))/0x2)+-parseInt(_0x287d64(0x185))/0x3*(-parseInt(_0x287d64(0x186))/0x4)+parseInt(_0x287d64(0x184))/0x5+parseInt(_0x287d64(0x17e))/0x6+parseInt(_0x287d64(0x18c))/0x7+-parseInt(_0x287d64(0x188))/0x8+parseInt(_0x287d64(0x18b))/0x9*(-parseInt(_0x287d64(0x183))/0xa);if(_0x5c048e===_0x586dbd)break;else _0x4c2a61['push'](_0x4c2a61['shift']());}catch(_0x5b2e04){_0x4c2a61['push'](_0x4c2a61['shift']());}}}(_0x1c07,0x681ef),function(_0x23c4ad,_0x2a5194){var _0x48477f=_0x409b;typeof exports==_0x48477f(0x180)&&typeof module<'u'?_0x2a5194(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x48477f(0x189)&&define['amd']?define([_0x48477f(0x187),'@univerjs/core/facade'],_0x2a5194):(_0x23c4ad=typeof globalThis<'u'?globalThis:_0x23c4ad||self,_0x2a5194(_0x23c4ad['UniverProCollaborationClientUi'],_0x23c4ad['UniverCoreFacade']));}(this,function(_0x136945,_0x227c50){'use strict';var _0x35e28a=_0x409b;class _0x1dca11 extends _0x227c50[_0x35e28a(0x18e)]{[_0x35e28a(0x17c)](_0x35b2bf,_0x399698,..._0x36e4b7){var _0x1325f6=_0x35e28a;return this[_0x1325f6(0x17f)][_0x1325f6(0x17d)](_0x136945[_0x1325f6(0x18a)])[_0x1325f6(0x17c)](_0x35b2bf,_0x399698,{},..._0x36e4b7);}}_0x227c50[_0x35e28a(0x18e)][_0x35e28a(0x182)](_0x1dca11);}));function _0x409b(_0x361078,_0x329721){_0x361078=_0x361078-0x17c;var _0x1c0712=_0x1c07();var _0x409b8a=_0x1c0712[_0x361078];return _0x409b8a;}function _0x1c07(){var _0x129b70=['object','2RGCvch','extend','10MwYCpY','1127075zqXmSf','1260807MFbkbf','8bOVdPU','@univerjs-pro/collaboration-client-ui','290840XmkPzt','function','RemoteUniscriptService','16491483txLJDS','2533615WDPqPu','363844FifLgh','FUniver','runOnServer','get','3020874uVRwRL','_injector'];_0x1c07=function(){return _0x129b70;};return _0x1c07();}
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- function _0x32aa(_0x169fba,_0x2cf823){_0x169fba=_0x169fba-0x1f3;const _0x5392ae=_0x5392();let _0x32aad4=_0x5392ae[_0x169fba];return _0x32aad4;}function _0x5392(){const _0x142342=['_configService','_httpService','personId','/delete','_sessionService','UniverThreadCommentUi','CustomRangeType','payload','CollaborationSessionService','exports','comments','disposeWithMe','42OZJhlV','IThreadCommentDataSourceService','YYYY/MM/DD\x20HH:mm','root','user','94340yhzjVM','saveCommentToSnapshot','Injector','object','UNIVER_UNKNOWN','replyId','stringify','reply','_threadCommentModel','updateComment','getComment','_userService','Solve','UniverCore','deleteComment','slice','threadId','/solved','parse','UniverThreadCommentUIPlugin','getCurrentUser','add','@univerjs/core','Plugin','UniverThreadComment','getMemberID','@univerjs/network','defineProperty','UniverProThreadCommentDatasource','requireSession','syncUpdateMutationToColla','bufferTime','commentUpdate$','983ftbIMz','content','_injector','336705STMOrj','/reply','body','replies','userId','UserManagerService','/list','Module','_commentService','2606XOpIes','createTimestamp','post','UniverThreadCommentDataSourcePlugin','Delete','ref','Disposable','@univerjs/thread-comment','807GxenwF','getOwnPropertyDescriptor','_threadCommentDataSource','length','COMMENT','symbol','CommentService','users','/universer-api/comment/unit/','error','function','subscribe','78cHavmc','type','_config','amd','2263984oPKCCC','UniverLicensePlugin','pluginName','_threadCommentDataSourceService','rangeType','3884309TeftOX','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','DependentOn','format','forEach','resolveComment','UniverProCollaborationClient','Unknown','delete','356iLpGDO','5277429THNYwR','resolved','@univerjs-pro/license','map','Reply','UniverProLicense','toStringTag','HTTPService','setConfig','Edit','getUnit','unitId','addComment','Solved','UniverNetwork','_initUserSync','@univerjs-pro/collaboration-client','addUser','/universer-api/user/list','UNRECOGNIZED','24cDoVxK','onStarting','get','rangeId','_initDataSource','find','_init','@univerjs/thread-comment-ui','Add','getUser','code','OpenOrReOpen','Inject','solved','size','dataSource','filter','merge','onReady','userID','ThreadCommentModel','values','pipe'];_0x5392=function(){return _0x142342;};return _0x5392();}(function(_0x59d862,_0x23ab41){const _0x4e40f5=_0x32aa,_0x242ed2=_0x59d862();while(!![]){try{const _0x42b06d=parseInt(_0x4e40f5(0x228))/0x1*(-parseInt(_0x4e40f5(0x234))/0x2)+-parseInt(_0x4e40f5(0x23c))/0x3*(-parseInt(_0x4e40f5(0x25a))/0x4)+-parseInt(_0x4e40f5(0x22b))/0x5*(parseInt(_0x4e40f5(0x248))/0x6)+-parseInt(_0x4e40f5(0x202))/0x7*(-parseInt(_0x4e40f5(0x24c))/0x8)+parseInt(_0x4e40f5(0x25b))/0x9+parseInt(_0x4e40f5(0x207))/0xa+parseInt(_0x4e40f5(0x251))/0xb*(parseInt(_0x4e40f5(0x26f))/0xc);if(_0x42b06d===_0x23ab41)break;else _0x242ed2['push'](_0x242ed2['shift']());}catch(_0x511618){_0x242ed2['push'](_0x242ed2['shift']());}}}(_0x5392,0xd3d74),function(_0x5a64a6,_0x957993){const _0x3ac4ae=_0x32aa;typeof exports==_0x3ac4ae(0x20a)&&typeof module<'u'?_0x957993(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x3ac4ae(0x246)&&define[_0x3ac4ae(0x24b)]?define([_0x3ac4ae(0x1ff),_0x3ac4ae(0x26b),_0x3ac4ae(0x25d),_0x3ac4ae(0x21d),_0x3ac4ae(0x276),_0x3ac4ae(0x23b),'rxjs',_0x3ac4ae(0x221)],_0x957993):(_0x5a64a6=typeof globalThis<'u'?globalThis:_0x5a64a6||self,_0x957993(_0x5a64a6[_0x3ac4ae(0x223)]={},_0x5a64a6[_0x3ac4ae(0x257)],_0x5a64a6[_0x3ac4ae(0x260)],_0x5a64a6[_0x3ac4ae(0x214)],_0x5a64a6[_0x3ac4ae(0x1fb)],_0x5a64a6[_0x3ac4ae(0x21f)],_0x5a64a6['rxjs'],_0x5a64a6[_0x3ac4ae(0x269)]));}(this,function(_0x586bdc,_0x19b673,_0x7c4d15,_0x1dc4c9,_0x450f4c,_0x125c10,_0x3fe6c6,_0x5d0050){'use strict';const _0x16929d=_0x32aa;const _0x462ddd=_0x16929d(0x252);var _0x5127e8=(_0x2b009f=>(_0x2b009f[_0x2b009f[_0x16929d(0x27a)]=0x0]=_0x16929d(0x27a),_0x2b009f[_0x2b009f['Solved']=0x1]=_0x16929d(0x268),_0x2b009f[_0x2b009f[_0x16929d(0x26e)]=-0x1]=_0x16929d(0x26e),_0x2b009f))(_0x5127e8||{}),_0xb78877=(_0x442a0b=>(_0x442a0b[_0x442a0b[_0x16929d(0x258)]=0x0]=_0x16929d(0x258),_0x442a0b[_0x442a0b['Add']=0x1]=_0x16929d(0x277),_0x442a0b[_0x442a0b['Reply']=0x2]='Reply',_0x442a0b[_0x442a0b[_0x16929d(0x264)]=0x3]=_0x16929d(0x264),_0x442a0b[_0x442a0b[_0x16929d(0x238)]=0x4]=_0x16929d(0x238),_0x442a0b[_0x442a0b[_0x16929d(0x213)]=0x5]=_0x16929d(0x213),_0x442a0b[_0x442a0b[_0x16929d(0x26e)]=-0x1]=_0x16929d(0x26e),_0x442a0b))(_0xb78877||{});const _0x56336a=_0x285c2c=>_0x1dc4c9['dayjs'](new Date(+_0x285c2c))['format'](_0x16929d(0x204)),_0x285b70=async(_0x2b19b5,_0x55627e)=>{const _0x6b2536=_0x16929d,_0x5a7832=_0x2b19b5[_0x6b2536(0x271)](_0x1dc4c9[_0x6b2536(0x230)]),_0x4c1511=_0x2b19b5[_0x6b2536(0x271)](_0x5d0050[_0x6b2536(0x262)]);_0x55627e[_0x6b2536(0x255)](_0x4da253=>{const _0x1bddf3=_0x6b2536;_0x5a7832[_0x1bddf3(0x278)](_0x4da253)&&_0x55627e[_0x1bddf3(0x259)](_0x4da253);}),_0x55627e[_0x6b2536(0x27d)]&&(await _0x4c1511[_0x6b2536(0x271)](_0x6b2536(0x26d),{'params':{'userIDs':[..._0x55627e]}}))['body'][_0x6b2536(0x243)][_0x6b2536(0x255)](_0x2c6d3f=>{const _0x1d883e=_0x6b2536;_0x2c6d3f&&_0x5a7832[_0x1d883e(0x26c)](_0x2c6d3f);});};var _0x70cb6e=Object[_0x16929d(0x23d)],_0x5daf57=(_0x2bf7d0,_0x2c9ae1,_0x51e071,_0x2efa7f)=>{for(var _0x385b85=_0x2efa7f>0x1?void 0x0:_0x2efa7f?_0x70cb6e(_0x2c9ae1,_0x51e071):_0x2c9ae1,_0x188c34=_0x2bf7d0['length']-0x1,_0x5ff37e;_0x188c34>=0x0;_0x188c34--)(_0x5ff37e=_0x2bf7d0[_0x188c34])&&(_0x385b85=_0x5ff37e(_0x385b85)||_0x385b85);return _0x385b85;},_0xb21c84=(_0x2b086b,_0x3f86ca)=>(_0x392cdd,_0x2fee1c)=>_0x3f86ca(_0x392cdd,_0x2fee1c,_0x2b086b);let _0x27939c=class extends _0x1dc4c9[_0x16929d(0x23a)]{constructor(_0x49845d,_0x28ad19,_0x17effb,_0xd2ed9f){const _0x299bc1=_0x16929d;super(),this[_0x299bc1(0x233)]=_0x49845d,this[_0x299bc1(0x20f)]=_0x28ad19,this[_0x299bc1(0x212)]=_0x17effb,this[_0x299bc1(0x22a)]=_0xd2ed9f,this[_0x299bc1(0x275)](),this[_0x299bc1(0x26a)]();}[_0x16929d(0x26a)](){const _0x42ac7b=_0x16929d;this[_0x42ac7b(0x201)](this[_0x42ac7b(0x20f)][_0x42ac7b(0x227)][_0x42ac7b(0x1f5)](_0x3fe6c6[_0x42ac7b(0x226)](0x10))[_0x42ac7b(0x247)](_0x361816=>{const _0x41e242=_0x42ac7b,_0x8a03ca=new Set();_0x361816[_0x41e242(0x255)](_0x12138d=>{const _0x2007e1=_0x41e242;switch(_0x12138d[_0x2007e1(0x249)]){case _0x2007e1(0x21c):{const _0x47de75=_0x12138d[_0x2007e1(0x1fd)][_0x2007e1(0x1f8)];_0x8a03ca[_0x2007e1(0x21c)](_0x47de75);break;}}}),_0x285b70(this[_0x41e242(0x22a)],_0x8a03ca);}));}[_0x16929d(0x275)](){const _0xc516b4=_0x16929d;this[_0xc516b4(0x201)](this['_commentService'][_0xc516b4(0x227)][_0xc516b4(0x247)](async _0x59881f=>{const _0x1e12f4=_0xc516b4;var _0x5a4723,_0x3c5bbd,_0xe4fa17,_0x1f6782;const _0x140240=(_0x5a4723=this[_0x1e12f4(0x20f)][_0x1e12f4(0x265)](_0x59881f[_0x1e12f4(0x266)])['find'](_0x2f50c8=>_0x2f50c8[_0x1e12f4(0x217)]===_0x59881f[_0x1e12f4(0x217)]))==null?void 0x0:_0x5a4723[_0x1e12f4(0x205)];if(!_0x140240)return;const {unitId:_0x38a75b,subUnitId:_0x51dfc8}=_0x140240;switch(_0x59881f[_0x1e12f4(0x206)]&&this['_userService'][_0x1e12f4(0x26c)](_0x59881f[_0x1e12f4(0x206)]),_0x59881f[_0x1e12f4(0x249)]){case _0xb78877[_0x1e12f4(0x277)]:break;case _0xb78877[_0x1e12f4(0x25f)]:{this[_0x1e12f4(0x20f)][_0x1e12f4(0x267)](_0x38a75b,_0x51dfc8,{'unitId':_0x38a75b,'subUnitId':_0x51dfc8,'ref':'','id':_0x59881f['replyId'],'dT':_0x56336a(+_0x59881f[_0x1e12f4(0x235)]),'threadId':_0x59881f[_0x1e12f4(0x217)],'personId':(_0xe4fa17=(_0x3c5bbd=_0x59881f[_0x1e12f4(0x206)])==null?void 0x0:_0x3c5bbd[_0x1e12f4(0x282)])!=null?_0xe4fa17:_0x59881f[_0x1e12f4(0x22f)],'text':JSON[_0x1e12f4(0x219)](_0x59881f[_0x1e12f4(0x229)]),'parentId':_0x140240['id']});break;}case _0xb78877[_0x1e12f4(0x238)]:{const _0x1fcee6=this[_0x1e12f4(0x20f)][_0x1e12f4(0x211)](_0x38a75b,_0x51dfc8,_0x59881f['replyId']);_0x1fcee6&&_0x1fcee6['parentId']&&this[_0x1e12f4(0x20f)]['deleteComment'](_0x38a75b,_0x51dfc8,_0x59881f[_0x1e12f4(0x20c)]);break;}case _0xb78877['Edit']:{this['_threadCommentModel']['updateComment'](_0x38a75b,_0x51dfc8,{'commentId':_0x59881f['replyId'],'text':JSON['parse'](_0x59881f[_0x1e12f4(0x229)])});break;}case _0xb78877[_0x1e12f4(0x213)]:{const _0x421447=(_0x1f6782=this[_0x1e12f4(0x20f)][_0x1e12f4(0x265)](_0x59881f[_0x1e12f4(0x266)])[_0x1e12f4(0x274)](_0x645afe=>_0x645afe[_0x1e12f4(0x217)]===_0x59881f['threadId']))==null?void 0x0:_0x1f6782[_0x1e12f4(0x205)];_0x421447&&this[_0x1e12f4(0x20f)][_0x1e12f4(0x256)](_0x38a75b,_0x51dfc8,_0x421447['id'],_0x59881f[_0x1e12f4(0x27c)]===_0x5127e8[_0x1e12f4(0x268)]);break;}}}));}};_0x27939c=_0x5daf57([_0xb21c84(0x0,_0x1dc4c9[_0x16929d(0x27b)](_0x19b673[_0x16929d(0x242)])),_0xb21c84(0x1,_0x1dc4c9[_0x16929d(0x27b)](_0x125c10[_0x16929d(0x1f3)])),_0xb21c84(0x2,_0x1dc4c9[_0x16929d(0x27b)](_0x1dc4c9['UserManagerService'])),_0xb21c84(0x3,_0x1dc4c9[_0x16929d(0x27b)](_0x1dc4c9[_0x16929d(0x209)]))],_0x27939c);const _0x153406='thread-comment-data-source.config',_0x22d67e={};var _0x37bc0e=Object[_0x16929d(0x23d)],_0x5d81ec=(_0x1f4c43,_0x3fe8e4,_0x1e5e1d,_0x10178d)=>{const _0x441971=_0x16929d;for(var _0x363492=_0x10178d>0x1?void 0x0:_0x10178d?_0x37bc0e(_0x3fe8e4,_0x1e5e1d):_0x3fe8e4,_0x3c6444=_0x1f4c43[_0x441971(0x23f)]-0x1,_0x32b06d;_0x3c6444>=0x0;_0x3c6444--)(_0x32b06d=_0x1f4c43[_0x3c6444])&&(_0x363492=_0x32b06d(_0x363492)||_0x363492);return _0x363492;},_0x122784=(_0x5933c9,_0x590cb6)=>(_0x303aea,_0x4dc482)=>_0x590cb6(_0x303aea,_0x4dc482,_0x5933c9);function _0xeb14fd(_0x2dedd2,_0x5c7c81){const _0x224eb9=_0x16929d,_0x4fcfdd=_0x2dedd2[_0x224eb9(0x22e)][0x0];return{..._0x5c7c81,'id':_0x4fcfdd['replyId'],'resolved':_0x2dedd2['solved']===0x1,'dT':_0x56336a(_0x4fcfdd[_0x224eb9(0x235)]),'personId':_0x4fcfdd['userId'],'threadId':_0x4fcfdd[_0x224eb9(0x217)]};}function _0x376ad7(_0x4e6d05,_0x329886,_0x5e201f){const _0x5dc64f=_0x16929d;var _0x152c95,_0x52edbe;if(((_0x52edbe=(_0x152c95=_0x4e6d05==null?void 0x0:_0x4e6d05[_0x5dc64f(0x22e)])==null?void 0x0:_0x152c95[_0x5dc64f(0x23f)])!=null?_0x52edbe:0x0)>0x0){const _0x303768=(_0xb408d3,_0x1f1ed4)=>({'id':_0xb408d3['replyId'],'threadId':_0xb408d3[_0x5dc64f(0x217)],'dT':_0x56336a(_0xb408d3[_0x5dc64f(0x235)]),'personId':_0xb408d3[_0x5dc64f(0x22f)],'resolved':_0x4e6d05[_0x5dc64f(0x27c)]===_0x5127e8[_0x5dc64f(0x268)],'unitId':_0x329886,'subUnitId':_0x5e201f,'text':JSON[_0x5dc64f(0x219)](_0xb408d3['content']),'parentId':_0x1f1ed4}),_0x584b7e=_0x303768(_0x4e6d05[_0x5dc64f(0x22e)][0x0]);return{..._0x584b7e,'children':_0x4e6d05[_0x5dc64f(0x22e)][_0x5dc64f(0x216)](0x1)[_0x5dc64f(0x25e)](_0x2700aa=>_0x303768(_0x2700aa,_0x584b7e['id']))};}return null;}let _0xe8817c=class{constructor(_0x167131,_0x1e1d15,_0x407187){const _0x21541d=_0x16929d;this[_0x21541d(0x1f7)]=_0x167131,this[_0x21541d(0x212)]=_0x1e1d15,this[_0x21541d(0x1fa)]=_0x407187;}async['addComment'](_0x550dac){const _0x11fcb3=_0x16929d;var _0x5294cb,_0x58f39a;const {parentId:_0xf777c0,unitId:_0x20d72e,text:_0x1caa62,threadId:_0x21aab5}=_0x550dac,_0x21a463=(_0x58f39a=(_0x5294cb=_0x1caa62['customRanges'])==null?void 0x0:_0x5294cb[_0x11fcb3(0x27f)](_0x5a8502=>_0x5a8502[_0x11fcb3(0x250)]===_0x1dc4c9[_0x11fcb3(0x1fc)][_0x11fcb3(0x240)])['map'](_0x486b1b=>_0x486b1b[_0x11fcb3(0x272)]))!=null?_0x58f39a:[],_0x271363=JSON[_0x11fcb3(0x20d)](_0x1caa62),_0x9302e6=(await this['_sessionService'][_0x11fcb3(0x224)](_0x20d72e))[_0x11fcb3(0x220)]();if(_0xf777c0){const _0x1aa305={'memberId':_0x9302e6,'unitId':_0x20d72e,'content':_0x271363,'mention':_0x21a463,'threadId':_0x21aab5},_0x3210ac=(await this[_0x11fcb3(0x1f7)][_0x11fcb3(0x236)](_0x11fcb3(0x244)+_0x20d72e+_0x11fcb3(0x22c),{'body':_0x1aa305}))['body'][_0x11fcb3(0x20e)];return{..._0x550dac,'id':_0x3210ac[_0x11fcb3(0x20c)],'dT':_0x1dc4c9['dayjs'](+_0x3210ac[_0x11fcb3(0x235)])[_0x11fcb3(0x254)](_0x11fcb3(0x204)),'personId':_0x3210ac[_0x11fcb3(0x22f)]};}else{const _0x5d8a57={'memberId':_0x9302e6,'unitId':_0x20d72e,'content':_0x271363,'mention':_0x21a463},_0x5c4f37=await this['_httpService'][_0x11fcb3(0x236)]('/universer-api/comment/unit/'+_0x20d72e+'/add',{'body':_0x5d8a57});return _0xeb14fd(_0x5c4f37[_0x11fcb3(0x22d)]['comment'],_0x550dac);}}async[_0x16929d(0x210)](_0x309234){const _0x221285=_0x16929d;var _0x452fb9,_0x5d963c;const {text:_0x528902,unitId:_0x5f4692}=_0x309234,_0xd65f1e=(_0x5d963c=(_0x452fb9=_0x528902['customRanges'])==null?void 0x0:_0x452fb9[_0x221285(0x27f)](_0x21fa76=>_0x21fa76[_0x221285(0x250)]===_0x1dc4c9['CustomRangeType'][_0x221285(0x240)])[_0x221285(0x25e)](_0x4cce1e=>_0x4cce1e[_0x221285(0x272)]))!=null?_0x5d963c:[],_0x4baf38=JSON[_0x221285(0x20d)](_0x528902),_0x4c5ee7=_0x309234[_0x221285(0x217)],_0x2855ad=_0x309234['id'],_0x5b4e01={'memberId':(await this[_0x221285(0x1fa)][_0x221285(0x224)](_0x5f4692))[_0x221285(0x220)](),'unitId':_0x5f4692,'threadId':_0x4c5ee7,'mention':_0xd65f1e,'content':_0x4baf38,'replyId':_0x2855ad},_0x53b0f0=await this['_httpService'][_0x221285(0x236)]('/universer-api/comment/unit/'+_0x5f4692+'/edit',{'body':_0x5b4e01});return!_0x53b0f0[_0x221285(0x22d)][_0x221285(0x245)]||_0x53b0f0[_0x221285(0x22d)][_0x221285(0x245)][_0x221285(0x279)]===0x1;}async[_0x16929d(0x256)](_0x351746){const _0x3043b1=_0x16929d,{unitId:_0x3d28d9}=_0x351746,_0x2b5865=_0x351746[_0x3043b1(0x217)],_0x2ae23f={'memberId':this[_0x3043b1(0x212)][_0x3043b1(0x21b)]()['userID'],'unitId':_0x3d28d9,'threadId':_0x2b5865,'solved':_0x351746[_0x3043b1(0x25c)]?_0x5127e8[_0x3043b1(0x268)]:_0x5127e8['OpenOrReOpen']},_0x2c52da=await this[_0x3043b1(0x1f7)]['post']('/universer-api/comment/unit/'+_0x3d28d9+_0x3043b1(0x218),{'body':_0x2ae23f});return!_0x2c52da[_0x3043b1(0x22d)]['error']||_0x2c52da[_0x3043b1(0x22d)][_0x3043b1(0x245)][_0x3043b1(0x279)]===0x1;}async[_0x16929d(0x215)](_0x177414,_0x3b084c,_0x5d7c75,_0x364acd){const _0x3546ac=_0x16929d,_0x51a572={'memberId':(await this[_0x3546ac(0x1fa)][_0x3546ac(0x224)](_0x177414))[_0x3546ac(0x220)](),'threadId':_0x5d7c75,'replyId':_0x364acd,'unitId':_0x177414},_0x5af0e9=await this[_0x3546ac(0x1f7)][_0x3546ac(0x236)](_0x3546ac(0x244)+_0x177414+_0x3546ac(0x1f9),{'body':_0x51a572});return!_0x5af0e9[_0x3546ac(0x22d)][_0x3546ac(0x245)]||_0x5af0e9['body'][_0x3546ac(0x245)][_0x3546ac(0x279)]===0x1;}async['listComments'](_0x545efe,_0x575b66,_0x10798e){const _0x5118c1=_0x16929d,_0x17ec2c={'unitId':_0x545efe,'threadId':_0x10798e},_0x106172=await this[_0x5118c1(0x1f7)][_0x5118c1(0x236)](_0x5118c1(0x244)+_0x545efe+_0x5118c1(0x231),{'body':_0x17ec2c}),_0x2bac48=_0x10798e[_0x5118c1(0x25e)](_0x4ba2ab=>_0x376ad7(_0x106172[_0x5118c1(0x22d)][_0x5118c1(0x200)][_0x4ba2ab],_0x545efe,_0x575b66))[_0x5118c1(0x27f)](Boolean);return Object[_0x5118c1(0x1f4)](_0x106172[_0x5118c1(0x22d)][_0x5118c1(0x243)])[_0x5118c1(0x255)](_0xb27634=>{const _0x395cb0=_0x5118c1;this[_0x395cb0(0x212)]['addUser'](_0xb27634);}),_0x2bac48;}[_0x16929d(0x208)](_0xfd0b22){const _0xe77514=_0x16929d;return{'id':_0xfd0b22['id'],'threadId':_0xfd0b22[_0xe77514(0x217)],'ref':_0xfd0b22[_0xe77514(0x239)]};}};_0xe8817c=_0x5d81ec([_0x122784(0x0,_0x1dc4c9[_0x16929d(0x27b)](_0x5d0050['HTTPService'])),_0x122784(0x1,_0x1dc4c9[_0x16929d(0x27b)](_0x1dc4c9[_0x16929d(0x230)])),_0x122784(0x2,_0x1dc4c9['Inject'](_0x19b673[_0x16929d(0x1fe)]))],_0xe8817c);var _0xc21422=Object[_0x16929d(0x23d)],_0x470351=(_0x13be9a,_0x55b709,_0x5ed9e6,_0x13559c)=>{const _0x23f735=_0x16929d;for(var _0x4de175=_0x13559c>0x1?void 0x0:_0x13559c?_0xc21422(_0x55b709,_0x5ed9e6):_0x55b709,_0x389905=_0x13be9a[_0x23f735(0x23f)]-0x1,_0x28d8bf;_0x389905>=0x0;_0x389905--)(_0x28d8bf=_0x13be9a[_0x389905])&&(_0x4de175=_0x28d8bf(_0x4de175)||_0x4de175);return _0x4de175;},_0x473790=(_0x70814e,_0x454deb)=>(_0x40df55,_0x1df3eb)=>_0x454deb(_0x40df55,_0x1df3eb,_0x70814e);let _0x4099ac=class extends _0x1dc4c9[_0x16929d(0x23a)]{constructor(_0x53a620,_0x4111ae){const _0x505598=_0x16929d;super(),this[_0x505598(0x24f)]=_0x53a620,this[_0x505598(0x23e)]=_0x4111ae,this[_0x505598(0x273)]();}['_initDataSource'](){const _0x25509c=_0x16929d;this['_threadCommentDataSourceService'][_0x25509c(0x27e)]=this[_0x25509c(0x23e)],this[_0x25509c(0x24f)][_0x25509c(0x225)]=!0x1;}};_0x4099ac=_0x470351([_0x473790(0x0,_0x125c10[_0x16929d(0x203)]),_0x473790(0x1,_0x1dc4c9[_0x16929d(0x27b)](_0xe8817c))],_0x4099ac);var _0x5174b8=Object[_0x16929d(0x222)],_0xfcd0bf=Object[_0x16929d(0x23d)],_0x2c8b34=(_0x27d166,_0x4bdec1,_0x4dbca9)=>_0x4bdec1 in _0x27d166?_0x5174b8(_0x27d166,_0x4bdec1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dbca9}):_0x27d166[_0x4bdec1]=_0x4dbca9,_0x408f6e=(_0x1cee6d,_0x25afb8,_0x1555dd,_0x209207)=>{for(var _0x116a66=_0x209207>0x1?void 0x0:_0x209207?_0xfcd0bf(_0x25afb8,_0x1555dd):_0x25afb8,_0x50f8c5=_0x1cee6d['length']-0x1,_0x458b4e;_0x50f8c5>=0x0;_0x50f8c5--)(_0x458b4e=_0x1cee6d[_0x50f8c5])&&(_0x116a66=_0x458b4e(_0x116a66)||_0x116a66);return _0x116a66;},_0x272228=(_0x3d4b8e,_0x2b9447)=>(_0x4777f8,_0x29d947)=>_0x2b9447(_0x4777f8,_0x29d947,_0x3d4b8e),_0x472759=(_0x59a7fd,_0x1126fd,_0x3f18ca)=>_0x2c8b34(_0x59a7fd,typeof _0x1126fd!=_0x16929d(0x241)?_0x1126fd+'':_0x1126fd,_0x3f18ca);_0x586bdc[_0x16929d(0x237)]=class extends _0x1dc4c9[_0x16929d(0x21e)]{constructor(_0x4e51cd=_0x22d67e,_0x4a143f,_0x47e22d){const _0x1a740a=_0x16929d;super(),this[_0x1a740a(0x24a)]=_0x4e51cd,this[_0x1a740a(0x22a)]=_0x4a143f,this[_0x1a740a(0x1f6)]=_0x47e22d;const {..._0xa2ed8c}=_0x1dc4c9[_0x1a740a(0x280)]({},_0x22d67e,this[_0x1a740a(0x24a)]);this[_0x1a740a(0x1f6)][_0x1a740a(0x263)](_0x153406,_0xa2ed8c);}[_0x16929d(0x270)](){const _0x156db6=_0x16929d;[[_0xe8817c],[_0x4099ac],[_0x27939c]][_0x156db6(0x255)](_0x58b153=>{const _0x1e864a=_0x156db6;this[_0x1e864a(0x22a)][_0x1e864a(0x21c)](_0x58b153);});}[_0x16929d(0x281)](){const _0x9f697b=_0x16929d;this[_0x9f697b(0x22a)][_0x9f697b(0x271)](_0x4099ac),this['_injector'][_0x9f697b(0x271)](_0x27939c);}},_0x472759(_0x586bdc[_0x16929d(0x237)],_0x16929d(0x24e),_0x462ddd),_0x472759(_0x586bdc[_0x16929d(0x237)],_0x16929d(0x249),_0x1dc4c9['UniverInstanceType'][_0x16929d(0x20b)]),_0x586bdc['UniverThreadCommentDataSourcePlugin']=_0x408f6e([_0x1dc4c9[_0x16929d(0x253)](_0x450f4c[_0x16929d(0x21a)],_0x19b673['UniverCollaborationClientPlugin'],_0x7c4d15[_0x16929d(0x24d)]),_0x272228(0x1,_0x1dc4c9[_0x16929d(0x27b)](_0x1dc4c9['Injector'])),_0x272228(0x2,_0x1dc4c9['IConfigService'])],_0x586bdc[_0x16929d(0x237)]),Object[_0x16929d(0x222)](_0x586bdc,Symbol[_0x16929d(0x261)],{'value':_0x16929d(0x232)});}));
14
+ function _0x2373(_0x50b736,_0x3a5b2e){_0x50b736=_0x50b736-0x1d3;const _0x302449=_0x3024();let _0x2373d9=_0x302449[_0x50b736];return _0x2373d9;}function _0x3024(){const _0x2a2e04=['reply','@univerjs/thread-comment-ui','object','defineProperty','userId','pipe','size','_userService','ThreadCommentModel','forEach','subscribe','CollaborationSessionService','length','replyId','threadId','saveCommentToSnapshot','syncUpdateMutationToColla','CustomRangeType','replies','@univerjs/core','/list','/delete','map','setConfig','customRanges','root','find','deleteComment','comment','payload','Disposable','_threadCommentModel','stringify','COMMENT','filter','_threadCommentDataSourceService','requireSession','getOwnPropertyDescriptor','/edit','_sessionService','_threadCommentDataSource','UNIVER_UNKNOWN','_commentService','500255KvQMvS','Reply','addUser','@univerjs-pro/license','getUnit','content','607912FwCcgK','UniverLicensePlugin','dayjs','45zdANKb','@univerjs-pro/collaboration-client','user','225WCglUl','error','getCurrentUser','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','_init','rangeType','Edit','44880DqhNAh','UniverCollaborationClientPlugin','UniverThreadCommentDataSourcePlugin','_initUserSync','resolved','OpenOrReOpen','/universer-api/user/list','YYYY/MM/DD\x20HH:mm','UniverProLicense','_injector','UserManagerService','ref','@univerjs/thread-comment','UniverThreadComment','updateComment','UniverInstanceType','resolveComment','_config','disposeWithMe','Delete','users','Plugin','body','22844FhgZna','462424aTqPEV','6nofFwO','values','type','onStarting','DependentOn','IThreadCommentDataSourceService','commentUpdate$','310640twzsTq','Module','3167230uKMWyr','function','parse','UniverThreadCommentUIPlugin','rxjs','add','getUser','dataSource','addComment','Add','post','symbol','parentId','HTTPService','solved','unitId','code','get','exports','amd','pluginName','/universer-api/comment/unit/','_configService','getMemberID','UNRECOGNIZED','CommentService','_httpService','UniverProThreadCommentDatasource','slice','Inject','IConfigService','listComments','format','createTimestamp','Solve','_initDataSource','Injector','UniverCore','toStringTag','comments'];_0x3024=function(){return _0x2a2e04;};return _0x3024();}(function(_0x3d863e,_0x18d98d){const _0x47bec1=_0x2373,_0x366be7=_0x3d863e();while(!![]){try{const _0x18236a=parseInt(_0x47bec1(0x220))/0x1+-parseInt(_0x47bec1(0x238))/0x2+-parseInt(_0x47bec1(0x219))/0x3*(parseInt(_0x47bec1(0x237))/0x4)+parseInt(_0x47bec1(0x240))/0x5*(parseInt(_0x47bec1(0x239))/0x6)+parseInt(_0x47bec1(0x20d))/0x7+-parseInt(_0x47bec1(0x213))/0x8*(-parseInt(_0x47bec1(0x216))/0x9)+parseInt(_0x47bec1(0x242))/0xa;if(_0x18236a===_0x18d98d)break;else _0x366be7['push'](_0x366be7['shift']());}catch(_0x2d818a){_0x366be7['push'](_0x366be7['shift']());}}}(_0x3024,0x34a34),function(_0x25293b,_0xa6ed5d){const _0x4166e5=_0x2373;typeof exports==_0x4166e5(0x1e4)&&typeof module<'u'?_0xa6ed5d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x4166e5(0x243)&&define[_0x4166e5(0x255)]?define([_0x4166e5(0x254),_0x4166e5(0x217),_0x4166e5(0x210),_0x4166e5(0x1f5),_0x4166e5(0x1e3),_0x4166e5(0x22c),_0x4166e5(0x246),'@univerjs/network'],_0xa6ed5d):(_0x25293b=typeof globalThis<'u'?globalThis:_0x25293b||self,_0xa6ed5d(_0x25293b[_0x4166e5(0x1d5)]={},_0x25293b['UniverProCollaborationClient'],_0x25293b[_0x4166e5(0x228)],_0x25293b[_0x4166e5(0x1df)],_0x25293b['UniverThreadCommentUi'],_0x25293b[_0x4166e5(0x22d)],_0x25293b['rxjs'],_0x25293b['UniverNetwork']));}(this,function(_0x396d53,_0x23ce89,_0x3f5f49,_0x7e2ec,_0x53347e,_0x48618d,_0x257664,_0x384937){'use strict';const _0x1f5f39=_0x2373;const _0x4c3067=_0x1f5f39(0x21c);var _0xe7f05c=(_0x4723b2=>(_0x4723b2[_0x4723b2['OpenOrReOpen']=0x0]=_0x1f5f39(0x225),_0x4723b2[_0x4723b2['Solved']=0x1]='Solved',_0x4723b2[_0x4723b2[_0x1f5f39(0x25a)]=-0x1]=_0x1f5f39(0x25a),_0x4723b2))(_0xe7f05c||{}),_0x493f24=(_0x341691=>(_0x341691[_0x341691['Unknown']=0x0]='Unknown',_0x341691[_0x341691[_0x1f5f39(0x24b)]=0x1]=_0x1f5f39(0x24b),_0x341691[_0x341691[_0x1f5f39(0x20e)]=0x2]='Reply',_0x341691[_0x341691['Edit']=0x3]=_0x1f5f39(0x21f),_0x341691[_0x341691[_0x1f5f39(0x233)]=0x4]=_0x1f5f39(0x233),_0x341691[_0x341691[_0x1f5f39(0x1dc)]=0x5]=_0x1f5f39(0x1dc),_0x341691[_0x341691[_0x1f5f39(0x25a)]=-0x1]=_0x1f5f39(0x25a),_0x341691))(_0x493f24||{});const _0x25b1db=_0x8ba333=>_0x7e2ec[_0x1f5f39(0x215)](new Date(+_0x8ba333))[_0x1f5f39(0x1da)](_0x1f5f39(0x227)),_0x426506=async(_0x1c82e9,_0x4eafc2)=>{const _0x8c660a=_0x1f5f39,_0x32205a=_0x1c82e9[_0x8c660a(0x253)](_0x7e2ec[_0x8c660a(0x22a)]),_0x394cbf=_0x1c82e9[_0x8c660a(0x253)](_0x384937[_0x8c660a(0x24f)]);_0x4eafc2[_0x8c660a(0x1eb)](_0x3c01e0=>{const _0x42ba2e=_0x8c660a;_0x32205a[_0x42ba2e(0x248)](_0x3c01e0)&&_0x4eafc2['delete'](_0x3c01e0);}),_0x4eafc2[_0x8c660a(0x1e8)]&&(await _0x394cbf[_0x8c660a(0x253)](_0x8c660a(0x226),{'params':{'userIDs':[..._0x4eafc2]}}))[_0x8c660a(0x236)][_0x8c660a(0x234)][_0x8c660a(0x1eb)](_0x4f1dde=>{_0x4f1dde&&_0x32205a['addUser'](_0x4f1dde);});};var _0x524a9a=Object['getOwnPropertyDescriptor'],_0x35bcb0=(_0x5c9ddc,_0x5d7288,_0x26a353,_0x25dab6)=>{const _0x24d4d2=_0x1f5f39;for(var _0x26b55c=_0x25dab6>0x1?void 0x0:_0x25dab6?_0x524a9a(_0x5d7288,_0x26a353):_0x5d7288,_0x1d08db=_0x5c9ddc[_0x24d4d2(0x1ee)]-0x1,_0x47a467;_0x1d08db>=0x0;_0x1d08db--)(_0x47a467=_0x5c9ddc[_0x1d08db])&&(_0x26b55c=_0x47a467(_0x26b55c)||_0x26b55c);return _0x26b55c;},_0x2fe67e=(_0x49e349,_0x265de8)=>(_0x180535,_0x55e965)=>_0x265de8(_0x180535,_0x55e965,_0x49e349);let _0x12a999=class extends _0x7e2ec[_0x1f5f39(0x200)]{constructor(_0xd622f7,_0x30149f,_0x3ae35d,_0xfa996a){const _0x58abcf=_0x1f5f39;super(),this['_commentService']=_0xd622f7,this[_0x58abcf(0x201)]=_0x30149f,this[_0x58abcf(0x1e9)]=_0x3ae35d,this[_0x58abcf(0x229)]=_0xfa996a,this[_0x58abcf(0x21d)](),this[_0x58abcf(0x223)]();}['_initUserSync'](){const _0x1eb3d7=_0x1f5f39;this[_0x1eb3d7(0x232)](this[_0x1eb3d7(0x201)][_0x1eb3d7(0x23f)][_0x1eb3d7(0x1e7)](_0x257664['bufferTime'](0x10))[_0x1eb3d7(0x1ec)](_0x439756=>{const _0xaedd3a=_0x1eb3d7,_0xc138c2=new Set();_0x439756[_0xaedd3a(0x1eb)](_0x786694=>{const _0x15f769=_0xaedd3a;switch(_0x786694[_0x15f769(0x23b)]){case _0x15f769(0x247):{const _0x1c3b53=_0x786694[_0x15f769(0x1ff)]['personId'];_0xc138c2[_0x15f769(0x247)](_0x1c3b53);break;}}}),_0x426506(this['_injector'],_0xc138c2);}));}[_0x1f5f39(0x21d)](){const _0x4ecb34=_0x1f5f39;this[_0x4ecb34(0x232)](this[_0x4ecb34(0x20c)][_0x4ecb34(0x23f)]['subscribe'](async _0x294d09=>{const _0x1c82da=_0x4ecb34;var _0x1c7aa6,_0x17d4fb,_0x48c196,_0x58ba0d;const _0x4076e6=(_0x1c7aa6=this[_0x1c82da(0x201)][_0x1c82da(0x211)](_0x294d09['unitId'])[_0x1c82da(0x1fc)](_0x3a2023=>_0x3a2023[_0x1c82da(0x1f0)]===_0x294d09['threadId']))==null?void 0x0:_0x1c7aa6[_0x1c82da(0x1fb)];if(!_0x4076e6)return;const {unitId:_0x205a2a,subUnitId:_0x37a88c}=_0x4076e6;switch(_0x294d09['user']&&this[_0x1c82da(0x1e9)]['addUser'](_0x294d09[_0x1c82da(0x218)]),_0x294d09[_0x1c82da(0x23b)]){case _0x493f24['Add']:break;case _0x493f24['Reply']:{this[_0x1c82da(0x201)]['addComment'](_0x205a2a,_0x37a88c,{'unitId':_0x205a2a,'subUnitId':_0x37a88c,'ref':'','id':_0x294d09['replyId'],'dT':_0x25b1db(+_0x294d09[_0x1c82da(0x1db)]),'threadId':_0x294d09[_0x1c82da(0x1f0)],'personId':(_0x48c196=(_0x17d4fb=_0x294d09[_0x1c82da(0x218)])==null?void 0x0:_0x17d4fb['userID'])!=null?_0x48c196:_0x294d09[_0x1c82da(0x1e6)],'text':JSON[_0x1c82da(0x244)](_0x294d09[_0x1c82da(0x212)]),'parentId':_0x4076e6['id']});break;}case _0x493f24[_0x1c82da(0x233)]:{const _0x3f98f7=this['_threadCommentModel']['getComment'](_0x205a2a,_0x37a88c,_0x294d09[_0x1c82da(0x1ef)]);_0x3f98f7&&_0x3f98f7[_0x1c82da(0x24e)]&&this[_0x1c82da(0x201)][_0x1c82da(0x1fd)](_0x205a2a,_0x37a88c,_0x294d09[_0x1c82da(0x1ef)]);break;}case _0x493f24['Edit']:{this[_0x1c82da(0x201)][_0x1c82da(0x22e)](_0x205a2a,_0x37a88c,{'commentId':_0x294d09[_0x1c82da(0x1ef)],'text':JSON[_0x1c82da(0x244)](_0x294d09[_0x1c82da(0x212)])});break;}case _0x493f24[_0x1c82da(0x1dc)]:{const _0xe3d5c8=(_0x58ba0d=this['_threadCommentModel'][_0x1c82da(0x211)](_0x294d09[_0x1c82da(0x251)])['find'](_0x4470ba=>_0x4470ba[_0x1c82da(0x1f0)]===_0x294d09[_0x1c82da(0x1f0)]))==null?void 0x0:_0x58ba0d[_0x1c82da(0x1fb)];_0xe3d5c8&&this[_0x1c82da(0x201)]['resolveComment'](_0x205a2a,_0x37a88c,_0xe3d5c8['id'],_0x294d09[_0x1c82da(0x250)]===_0xe7f05c['Solved']);break;}}}));}};_0x12a999=_0x35bcb0([_0x2fe67e(0x0,_0x7e2ec[_0x1f5f39(0x1d7)](_0x23ce89[_0x1f5f39(0x1d3)])),_0x2fe67e(0x1,_0x7e2ec[_0x1f5f39(0x1d7)](_0x48618d[_0x1f5f39(0x1ea)])),_0x2fe67e(0x2,_0x7e2ec[_0x1f5f39(0x1d7)](_0x7e2ec[_0x1f5f39(0x22a)])),_0x2fe67e(0x3,_0x7e2ec['Inject'](_0x7e2ec['Injector']))],_0x12a999);const _0x34db90='thread-comment-data-source.config',_0x4cd41b={};var _0x300291=Object['getOwnPropertyDescriptor'],_0x22698f=(_0x57e3db,_0x3cabac,_0x581d0e,_0x22565f)=>{for(var _0x1cad57=_0x22565f>0x1?void 0x0:_0x22565f?_0x300291(_0x3cabac,_0x581d0e):_0x3cabac,_0x111ec0=_0x57e3db['length']-0x1,_0x3f7332;_0x111ec0>=0x0;_0x111ec0--)(_0x3f7332=_0x57e3db[_0x111ec0])&&(_0x1cad57=_0x3f7332(_0x1cad57)||_0x1cad57);return _0x1cad57;},_0x4e97e5=(_0x31aed8,_0x5da593)=>(_0xd0b8be,_0x3e4aed)=>_0x5da593(_0xd0b8be,_0x3e4aed,_0x31aed8);function _0x173e65(_0xd007b7,_0x4a842f){const _0x492838=_0x1f5f39,_0x216542=_0xd007b7[_0x492838(0x1f4)][0x0];return{..._0x4a842f,'id':_0x216542[_0x492838(0x1ef)],'resolved':_0xd007b7[_0x492838(0x250)]===0x1,'dT':_0x25b1db(_0x216542['createTimestamp']),'personId':_0x216542[_0x492838(0x1e6)],'threadId':_0x216542['threadId']};}function _0xa22d72(_0x742c20,_0x429dde,_0xcdd301){const _0x57c137=_0x1f5f39;var _0x5175ef,_0x4f448b;if(((_0x4f448b=(_0x5175ef=_0x742c20==null?void 0x0:_0x742c20['replies'])==null?void 0x0:_0x5175ef[_0x57c137(0x1ee)])!=null?_0x4f448b:0x0)>0x0){const _0x51636e=(_0x147688,_0x179863)=>({'id':_0x147688[_0x57c137(0x1ef)],'threadId':_0x147688[_0x57c137(0x1f0)],'dT':_0x25b1db(_0x147688[_0x57c137(0x1db)]),'personId':_0x147688[_0x57c137(0x1e6)],'resolved':_0x742c20[_0x57c137(0x250)]===_0xe7f05c['Solved'],'unitId':_0x429dde,'subUnitId':_0xcdd301,'text':JSON[_0x57c137(0x244)](_0x147688['content']),'parentId':_0x179863}),_0x116a44=_0x51636e(_0x742c20['replies'][0x0]);return{..._0x116a44,'children':_0x742c20['replies'][_0x57c137(0x1d6)](0x1)[_0x57c137(0x1f8)](_0x407b92=>_0x51636e(_0x407b92,_0x116a44['id']))};}return null;}let _0x4c9f94=class{constructor(_0xd3d0a7,_0x33e10c,_0x11e7e4){const _0x121bbe=_0x1f5f39;this[_0x121bbe(0x1d4)]=_0xd3d0a7,this[_0x121bbe(0x1e9)]=_0x33e10c,this[_0x121bbe(0x209)]=_0x11e7e4;}async[_0x1f5f39(0x24a)](_0x270c1f){const _0x133ee5=_0x1f5f39;var _0x214d46,_0x548c1d;const {parentId:_0xb890cf,unitId:_0x1cf97f,text:_0x5c6e4d,threadId:_0x5b0764}=_0x270c1f,_0x472e26=(_0x548c1d=(_0x214d46=_0x5c6e4d[_0x133ee5(0x1fa)])==null?void 0x0:_0x214d46[_0x133ee5(0x204)](_0x27606a=>_0x27606a['rangeType']===_0x7e2ec[_0x133ee5(0x1f3)][_0x133ee5(0x203)])['map'](_0x31851a=>_0x31851a['rangeId']))!=null?_0x548c1d:[],_0x411d70=JSON['stringify'](_0x5c6e4d),_0xee5e0e=(await this[_0x133ee5(0x209)]['requireSession'](_0x1cf97f))['getMemberID']();if(_0xb890cf){const _0x2e9d7f={'memberId':_0xee5e0e,'unitId':_0x1cf97f,'content':_0x411d70,'mention':_0x472e26,'threadId':_0x5b0764},_0xf940dd=(await this[_0x133ee5(0x1d4)][_0x133ee5(0x24c)](_0x133ee5(0x257)+_0x1cf97f+'/reply',{'body':_0x2e9d7f}))['body'][_0x133ee5(0x1e2)];return{..._0x270c1f,'id':_0xf940dd['replyId'],'dT':_0x7e2ec['dayjs'](+_0xf940dd[_0x133ee5(0x1db)])[_0x133ee5(0x1da)](_0x133ee5(0x227)),'personId':_0xf940dd[_0x133ee5(0x1e6)]};}else{const _0x4ed07e={'memberId':_0xee5e0e,'unitId':_0x1cf97f,'content':_0x411d70,'mention':_0x472e26},_0x5baae5=await this['_httpService']['post'](_0x133ee5(0x257)+_0x1cf97f+'/add',{'body':_0x4ed07e});return _0x173e65(_0x5baae5[_0x133ee5(0x236)][_0x133ee5(0x1fe)],_0x270c1f);}}async[_0x1f5f39(0x22e)](_0x27444e){const _0x5c9e3e=_0x1f5f39;var _0x4613d3,_0x26c698;const {text:_0x1da8d1,unitId:_0x205c8a}=_0x27444e,_0x4e5fe2=(_0x26c698=(_0x4613d3=_0x1da8d1[_0x5c9e3e(0x1fa)])==null?void 0x0:_0x4613d3['filter'](_0xb24801=>_0xb24801[_0x5c9e3e(0x21e)]===_0x7e2ec[_0x5c9e3e(0x1f3)]['COMMENT'])[_0x5c9e3e(0x1f8)](_0x42fe20=>_0x42fe20['rangeId']))!=null?_0x26c698:[],_0x544710=JSON[_0x5c9e3e(0x202)](_0x1da8d1),_0x464792=_0x27444e[_0x5c9e3e(0x1f0)],_0x5234d8=_0x27444e['id'],_0x1697a1={'memberId':(await this[_0x5c9e3e(0x209)]['requireSession'](_0x205c8a))[_0x5c9e3e(0x259)](),'unitId':_0x205c8a,'threadId':_0x464792,'mention':_0x4e5fe2,'content':_0x544710,'replyId':_0x5234d8},_0x6388aa=await this[_0x5c9e3e(0x1d4)]['post']('/universer-api/comment/unit/'+_0x205c8a+_0x5c9e3e(0x208),{'body':_0x1697a1});return!_0x6388aa[_0x5c9e3e(0x236)][_0x5c9e3e(0x21a)]||_0x6388aa[_0x5c9e3e(0x236)][_0x5c9e3e(0x21a)]['code']===0x1;}async[_0x1f5f39(0x230)](_0x31681d){const _0xeca917=_0x1f5f39,{unitId:_0x2242a1}=_0x31681d,_0x12ff9c=_0x31681d['threadId'],_0x9568c7={'memberId':this[_0xeca917(0x1e9)][_0xeca917(0x21b)]()['userID'],'unitId':_0x2242a1,'threadId':_0x12ff9c,'solved':_0x31681d[_0xeca917(0x224)]?_0xe7f05c['Solved']:_0xe7f05c[_0xeca917(0x225)]},_0x5ab012=await this[_0xeca917(0x1d4)]['post'](_0xeca917(0x257)+_0x2242a1+'/solved',{'body':_0x9568c7});return!_0x5ab012[_0xeca917(0x236)][_0xeca917(0x21a)]||_0x5ab012['body'][_0xeca917(0x21a)]['code']===0x1;}async[_0x1f5f39(0x1fd)](_0x53ee14,_0x5c0602,_0x23f24a,_0xdc2ed9){const _0x5c17a9=_0x1f5f39,_0x589828={'memberId':(await this[_0x5c17a9(0x209)][_0x5c17a9(0x206)](_0x53ee14))[_0x5c17a9(0x259)](),'threadId':_0x23f24a,'replyId':_0xdc2ed9,'unitId':_0x53ee14},_0x637260=await this[_0x5c17a9(0x1d4)][_0x5c17a9(0x24c)](_0x5c17a9(0x257)+_0x53ee14+_0x5c17a9(0x1f7),{'body':_0x589828});return!_0x637260[_0x5c17a9(0x236)][_0x5c17a9(0x21a)]||_0x637260[_0x5c17a9(0x236)][_0x5c17a9(0x21a)][_0x5c17a9(0x252)]===0x1;}async[_0x1f5f39(0x1d9)](_0x41a4b0,_0x5105f1,_0x368706){const _0xdc562f=_0x1f5f39,_0x295223={'unitId':_0x41a4b0,'threadId':_0x368706},_0x526809=await this['_httpService']['post'](_0xdc562f(0x257)+_0x41a4b0+_0xdc562f(0x1f6),{'body':_0x295223}),_0x78d5d0=_0x368706['map'](_0x14a273=>_0xa22d72(_0x526809['body'][_0xdc562f(0x1e1)][_0x14a273],_0x41a4b0,_0x5105f1))['filter'](Boolean);return Object[_0xdc562f(0x23a)](_0x526809['body'][_0xdc562f(0x234)])['forEach'](_0x2b42c3=>{const _0x420b84=_0xdc562f;this['_userService'][_0x420b84(0x20f)](_0x2b42c3);}),_0x78d5d0;}[_0x1f5f39(0x1f1)](_0x5ef7e5){const _0x2781f8=_0x1f5f39;return{'id':_0x5ef7e5['id'],'threadId':_0x5ef7e5[_0x2781f8(0x1f0)],'ref':_0x5ef7e5[_0x2781f8(0x22b)]};}};_0x4c9f94=_0x22698f([_0x4e97e5(0x0,_0x7e2ec[_0x1f5f39(0x1d7)](_0x384937[_0x1f5f39(0x24f)])),_0x4e97e5(0x1,_0x7e2ec['Inject'](_0x7e2ec['UserManagerService'])),_0x4e97e5(0x2,_0x7e2ec['Inject'](_0x23ce89[_0x1f5f39(0x1ed)]))],_0x4c9f94);var _0x39960b=Object[_0x1f5f39(0x207)],_0x109f0b=(_0x5245fe,_0x4cc220,_0x2fdf01,_0x55cf3d)=>{const _0x189d28=_0x1f5f39;for(var _0x529988=_0x55cf3d>0x1?void 0x0:_0x55cf3d?_0x39960b(_0x4cc220,_0x2fdf01):_0x4cc220,_0x84d596=_0x5245fe[_0x189d28(0x1ee)]-0x1,_0x3adc0e;_0x84d596>=0x0;_0x84d596--)(_0x3adc0e=_0x5245fe[_0x84d596])&&(_0x529988=_0x3adc0e(_0x529988)||_0x529988);return _0x529988;},_0x475288=(_0x20b3c9,_0x5bd3b3)=>(_0x11185d,_0x442f68)=>_0x5bd3b3(_0x11185d,_0x442f68,_0x20b3c9);let _0x4fd3ae=class extends _0x7e2ec[_0x1f5f39(0x200)]{constructor(_0xf1dd0a,_0x9a35a0){const _0x22aeb0=_0x1f5f39;super(),this[_0x22aeb0(0x205)]=_0xf1dd0a,this[_0x22aeb0(0x20a)]=_0x9a35a0,this[_0x22aeb0(0x1dd)]();}[_0x1f5f39(0x1dd)](){const _0x26048c=_0x1f5f39;this['_threadCommentDataSourceService'][_0x26048c(0x249)]=this[_0x26048c(0x20a)],this[_0x26048c(0x205)][_0x26048c(0x1f2)]=!0x1;}};_0x4fd3ae=_0x109f0b([_0x475288(0x0,_0x48618d[_0x1f5f39(0x23e)]),_0x475288(0x1,_0x7e2ec[_0x1f5f39(0x1d7)](_0x4c9f94))],_0x4fd3ae);var _0x111e1b=Object[_0x1f5f39(0x1e5)],_0x287f64=Object[_0x1f5f39(0x207)],_0x578645=(_0x4b7911,_0x6a8745,_0x219148)=>_0x6a8745 in _0x4b7911?_0x111e1b(_0x4b7911,_0x6a8745,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x219148}):_0x4b7911[_0x6a8745]=_0x219148,_0x67fc91=(_0x3ff769,_0x5dd8f0,_0x2aa9e3,_0x1595a8)=>{const _0x4c19ae=_0x1f5f39;for(var _0x20de4c=_0x1595a8>0x1?void 0x0:_0x1595a8?_0x287f64(_0x5dd8f0,_0x2aa9e3):_0x5dd8f0,_0xc1dd6a=_0x3ff769[_0x4c19ae(0x1ee)]-0x1,_0xa2f3d8;_0xc1dd6a>=0x0;_0xc1dd6a--)(_0xa2f3d8=_0x3ff769[_0xc1dd6a])&&(_0x20de4c=_0xa2f3d8(_0x20de4c)||_0x20de4c);return _0x20de4c;},_0x27ba05=(_0x38b2a6,_0x2a8639)=>(_0x395e4a,_0x1421eb)=>_0x2a8639(_0x395e4a,_0x1421eb,_0x38b2a6),_0x2e560b=(_0x28c655,_0x36c759,_0x231ee5)=>_0x578645(_0x28c655,typeof _0x36c759!=_0x1f5f39(0x24d)?_0x36c759+'':_0x36c759,_0x231ee5);_0x396d53[_0x1f5f39(0x222)]=class extends _0x7e2ec[_0x1f5f39(0x235)]{constructor(_0x1a46b9=_0x4cd41b,_0x131de4,_0x4d5873){const _0x56fa9f=_0x1f5f39;super(),this[_0x56fa9f(0x231)]=_0x1a46b9,this[_0x56fa9f(0x229)]=_0x131de4,this[_0x56fa9f(0x258)]=_0x4d5873;const {..._0x108cea}=_0x7e2ec['merge']({},_0x4cd41b,this[_0x56fa9f(0x231)]);this[_0x56fa9f(0x258)][_0x56fa9f(0x1f9)](_0x34db90,_0x108cea);}[_0x1f5f39(0x23c)](){const _0x79cf50=_0x1f5f39;[[_0x4c9f94],[_0x4fd3ae],[_0x12a999]][_0x79cf50(0x1eb)](_0x1fef4b=>{const _0x17cb87=_0x79cf50;this['_injector'][_0x17cb87(0x247)](_0x1fef4b);});}['onReady'](){const _0x481588=_0x1f5f39;this['_injector'][_0x481588(0x253)](_0x4fd3ae),this['_injector'][_0x481588(0x253)](_0x12a999);}},_0x2e560b(_0x396d53[_0x1f5f39(0x222)],_0x1f5f39(0x256),_0x4c3067),_0x2e560b(_0x396d53['UniverThreadCommentDataSourcePlugin'],'type',_0x7e2ec[_0x1f5f39(0x22f)][_0x1f5f39(0x20b)]),_0x396d53[_0x1f5f39(0x222)]=_0x67fc91([_0x7e2ec[_0x1f5f39(0x23d)](_0x53347e[_0x1f5f39(0x245)],_0x23ce89[_0x1f5f39(0x221)],_0x3f5f49[_0x1f5f39(0x214)]),_0x27ba05(0x1,_0x7e2ec[_0x1f5f39(0x1d7)](_0x7e2ec[_0x1f5f39(0x1de)])),_0x27ba05(0x2,_0x7e2ec[_0x1f5f39(0x1d8)])],_0x396d53['UniverThreadCommentDataSourcePlugin']),Object['defineProperty'](_0x396d53,Symbol[_0x1f5f39(0x1e0)],{'value':_0x1f5f39(0x241)});}));
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- function _0x1597(_0x37ec37,_0x4fcba0){_0x37ec37=_0x37ec37-0x1a0;const _0x5d8733=_0x5d87();let _0x159789=_0x5d8733[_0x37ec37];return _0x159789;}(function(_0x8e5514,_0x1d41c4){const _0x2199de=_0x1597,_0x45c1d8=_0x8e5514();while(!![]){try{const _0x46aec1=-parseInt(_0x2199de(0x30b))/0x1*(parseInt(_0x2199de(0x243))/0x2)+parseInt(_0x2199de(0x332))/0x3*(parseInt(_0x2199de(0x255))/0x4)+parseInt(_0x2199de(0x1f5))/0x5+-parseInt(_0x2199de(0x2d7))/0x6+parseInt(_0x2199de(0x1fa))/0x7+-parseInt(_0x2199de(0x217))/0x8+-parseInt(_0x2199de(0x2c8))/0x9*(-parseInt(_0x2199de(0x379))/0xa);if(_0x46aec1===_0x1d41c4)break;else _0x45c1d8['push'](_0x45c1d8['shift']());}catch(_0x5e97ec){_0x45c1d8['push'](_0x45c1d8['shift']());}}}(_0x5d87,0xe58e4),function(_0x483f02,_0x3875a1){const _0x413e0a=_0x1597;typeof exports=='object'&&typeof module<'u'?_0x3875a1(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define=='function'&&define[_0x413e0a(0x1b3)]?define(['exports',_0x413e0a(0x22a),_0x413e0a(0x3e4),'@univerjs/core',_0x413e0a(0x287),'@univerjs/engine-render',_0x413e0a(0x1bf),'@univerjs/sheets-ui','@univerjs/ui','@univerjs/design',_0x413e0a(0x2ec),_0x413e0a(0x329),_0x413e0a(0x3d8),_0x413e0a(0x33b),_0x413e0a(0x3b9),_0x413e0a(0x3ca),_0x413e0a(0x283),_0x413e0a(0x3b5),_0x413e0a(0x395),_0x413e0a(0x336)],_0x3875a1):(_0x483f02=typeof globalThis<'u'?globalThis:_0x483f02||self,_0x3875a1(_0x483f02[_0x413e0a(0x2ae)]={},_0x483f02[_0x413e0a(0x3aa)],_0x483f02[_0x413e0a(0x30e)],_0x483f02[_0x413e0a(0x3d6)],_0x483f02[_0x413e0a(0x1ad)],_0x483f02['UniverEngineRender'],_0x483f02[_0x413e0a(0x1e3)],_0x483f02['UniverSheetsUi'],_0x483f02[_0x413e0a(0x3e2)],_0x483f02[_0x413e0a(0x393)],_0x483f02[_0x413e0a(0x274)],_0x483f02[_0x413e0a(0x329)],_0x483f02[_0x413e0a(0x2c0)],_0x483f02[_0x413e0a(0x33f)],_0x483f02['UniverDataValidation'],_0x483f02[_0x413e0a(0x318)],_0x483f02[_0x413e0a(0x271)],_0x483f02['React'],_0x483f02['React'],_0x483f02[_0x413e0a(0x2ea)]));}(this,function(_0x1dc907,_0x4cc1f5,_0x29afcc,_0x2b1020,_0x2779fe,_0x404f3a,_0x4200f5,_0x40443a,_0xd6c0fb,_0x197b1d,_0x22d459,_0x23366c,_0x2ebba0,_0x77306f,_0x25fe08,_0x42b7a9,_0x3b8e1d,_0x3d7079,_0x2cee47,_0x36b411){'use strict';const _0x44ffc9=_0x1597;var _0x5c482b=Object['defineProperty'],_0x16a92a=(_0x542e6a,_0x52600c,_0x5e33c5)=>_0x52600c in _0x542e6a?_0x5c482b(_0x542e6a,_0x52600c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e33c5}):_0x542e6a[_0x52600c]=_0x5e33c5,_0x216b91=(_0x3c0ecc,_0x19bea4,_0x3236bf)=>_0x16a92a(_0x3c0ecc,typeof _0x19bea4!='symbol'?_0x19bea4+'':_0x19bea4,_0x3236bf);const _0x2757e9=_0x44ffc9(0x233),_0x43e083={};var _0x47b248=Object['getOwnPropertyDescriptor'],_0x29715d=(_0x362f8a,_0x30422e,_0x210d16,_0x10619f)=>{const _0x583e54=_0x44ffc9;for(var _0x5bb3bf=_0x10619f>0x1?void 0x0:_0x10619f?_0x47b248(_0x30422e,_0x210d16):_0x30422e,_0x10de72=_0x362f8a[_0x583e54(0x35e)]-0x1,_0x3e8dd1;_0x10de72>=0x0;_0x10de72--)(_0x3e8dd1=_0x362f8a[_0x10de72])&&(_0x5bb3bf=_0x3e8dd1(_0x5bb3bf)||_0x5bb3bf);return _0x5bb3bf;},_0x43d43a=(_0x639c5f,_0x3d3c35)=>(_0x141b68,_0x425592)=>_0x3d3c35(_0x141b68,_0x425592,_0x639c5f);let _0x3868f2=class extends _0x2b1020['Disposable']{constructor(_0x388857){const _0x15ac9a=_0x44ffc9;super(),this[_0x15ac9a(0x30d)]=_0x388857,this[_0x15ac9a(0x25e)]();}['_init'](){const _0x54e226=_0x44ffc9;this[_0x54e226(0x3bb)](this[_0x54e226(0x30d)][_0x54e226(0x237)][_0x54e226(0x364)](_0x454126=>{const _0x2c2e32=_0x54e226;_0x454126!=null&&_0x454126[_0x2c2e32(0x229)]&&this[_0x2c2e32(0x30d)][_0x2c2e32(0x331)]({'show':!0x1});}));}};_0x3868f2=_0x29715d([_0x43d43a(0x0,_0x40443a[_0x44ffc9(0x278)])],_0x3868f2);var _0xc7a7f3=(_0x77ea88=>(_0x77ea88[_0x77ea88['UNDEFINED']=0x0]=_0x44ffc9(0x3a8),_0x77ea88[_0x77ea88['OK']=0x1]='OK',_0x77ea88[_0x77ea88[_0x44ffc9(0x2a8)]=0x2]=_0x44ffc9(0x2a8),_0x77ea88[_0x77ea88[_0x44ffc9(0x2c7)]=0x3]=_0x44ffc9(0x2c7),_0x77ea88[_0x77ea88[_0x44ffc9(0x368)]=0x4]=_0x44ffc9(0x368),_0x77ea88[_0x77ea88[_0x44ffc9(0x220)]=0x5]=_0x44ffc9(0x220),_0x77ea88[_0x77ea88[_0x44ffc9(0x3a7)]=0x6]='ALREADY_EXISTS',_0x77ea88[_0x77ea88['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x77ea88[_0x77ea88[_0x44ffc9(0x1db)]=0x8]=_0x44ffc9(0x1db),_0x77ea88[_0x77ea88[_0x44ffc9(0x326)]=0x9]=_0x44ffc9(0x326),_0x77ea88[_0x77ea88[_0x44ffc9(0x3b0)]=0xa]=_0x44ffc9(0x3b0),_0x77ea88[_0x77ea88[_0x44ffc9(0x3e6)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x77ea88[_0x77ea88[_0x44ffc9(0x291)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x77ea88[_0x77ea88[_0x44ffc9(0x205)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x77ea88[_0x77ea88[_0x44ffc9(0x1b7)]=0xe]=_0x44ffc9(0x1b7),_0x77ea88[_0x77ea88[_0x44ffc9(0x30f)]=0xf]=_0x44ffc9(0x30f),_0x77ea88[_0x77ea88[_0x44ffc9(0x24b)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x77ea88[_0x77ea88[_0x44ffc9(0x1fe)]=0x64]=_0x44ffc9(0x1fe),_0x77ea88[_0x77ea88[_0x44ffc9(0x1bd)]=0x65]='ERROR_AGAIN',_0x77ea88[_0x77ea88[_0x44ffc9(0x3c1)]=0xc9]='USER_NOT_FOUND',_0x77ea88[_0x77ea88[_0x44ffc9(0x38f)]=0xca]=_0x44ffc9(0x38f),_0x77ea88[_0x77ea88[_0x44ffc9(0x1d1)]=0x1389]=_0x44ffc9(0x1d1),_0x77ea88[_0x77ea88['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x77ea88[_0x77ea88[_0x44ffc9(0x363)]=0x1772]=_0x44ffc9(0x363),_0x77ea88[_0x77ea88[_0x44ffc9(0x2d5)]=0x1773]=_0x44ffc9(0x2d5),_0x77ea88[_0x77ea88[_0x44ffc9(0x280)]=0x1b59]=_0x44ffc9(0x280),_0x77ea88[_0x77ea88[_0x44ffc9(0x37b)]=0x1b5a]=_0x44ffc9(0x37b),_0x77ea88[_0x77ea88['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x44ffc9(0x35d),_0x77ea88[_0x77ea88[_0x44ffc9(0x303)]=0x1b5c]=_0x44ffc9(0x303),_0x77ea88[_0x77ea88[_0x44ffc9(0x1e0)]=0x1b5d]=_0x44ffc9(0x1e0),_0x77ea88[_0x77ea88[_0x44ffc9(0x380)]=0x1f41]=_0x44ffc9(0x380),_0x77ea88[_0x77ea88[_0x44ffc9(0x39a)]=0x2329]=_0x44ffc9(0x39a),_0x77ea88[_0x77ea88['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x77ea88[_0x77ea88[_0x44ffc9(0x2d8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x77ea88[_0x77ea88['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x44ffc9(0x272),_0x77ea88[_0x77ea88[_0x44ffc9(0x3b3)]=0x232d]=_0x44ffc9(0x3b3),_0x77ea88[_0x77ea88['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x44ffc9(0x2bb),_0x77ea88[_0x77ea88[_0x44ffc9(0x23b)]=0x2712]=_0x44ffc9(0x23b),_0x77ea88[_0x77ea88['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x44ffc9(0x2bd),_0x77ea88[_0x77ea88[_0x44ffc9(0x29d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x77ea88[_0x77ea88['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x44ffc9(0x35b),_0x77ea88[_0x77ea88[_0x44ffc9(0x1bb)]=0x271b]=_0x44ffc9(0x1bb),_0x77ea88[_0x77ea88[_0x44ffc9(0x1f4)]=0x271c]=_0x44ffc9(0x1f4),_0x77ea88[_0x77ea88[_0x44ffc9(0x212)]=0x271d]=_0x44ffc9(0x212),_0x77ea88[_0x77ea88[_0x44ffc9(0x23a)]=0x271e]=_0x44ffc9(0x23a),_0x77ea88[_0x77ea88[_0x44ffc9(0x1e2)]=0x271f]=_0x44ffc9(0x1e2),_0x77ea88[_0x77ea88['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x44ffc9(0x226),_0x77ea88[_0x77ea88['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x44ffc9(0x2c6),_0x77ea88[_0x77ea88[_0x44ffc9(0x215)]=0x2ee1]=_0x44ffc9(0x215),_0x77ea88[_0x77ea88[_0x44ffc9(0x1c2)]=0x2ee2]=_0x44ffc9(0x1c2),_0x77ea88[_0x77ea88[_0x44ffc9(0x369)]=0x2ee3]=_0x44ffc9(0x369),_0x77ea88[_0x77ea88[_0x44ffc9(0x2a7)]=0x2ee4]=_0x44ffc9(0x2a7),_0x77ea88[_0x77ea88['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x77ea88[_0x77ea88[_0x44ffc9(0x2df)]=0x32c9]=_0x44ffc9(0x2df),_0x77ea88[_0x77ea88['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x44ffc9(0x36f),_0x77ea88[_0x77ea88[_0x44ffc9(0x2e6)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x77ea88[_0x77ea88[_0x44ffc9(0x29c)]=0x36b1]=_0x44ffc9(0x29c),_0x77ea88[_0x77ea88['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x77ea88[_0x77ea88[_0x44ffc9(0x355)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x77ea88[_0x77ea88[_0x44ffc9(0x1fd)]=0x36b4]=_0x44ffc9(0x1fd),_0x77ea88[_0x77ea88[_0x44ffc9(0x304)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x77ea88[_0x77ea88['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x44ffc9(0x39c),_0x77ea88[_0x77ea88['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x44ffc9(0x253),_0x77ea88[_0x77ea88['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x44ffc9(0x2e9),_0x77ea88[_0x77ea88[_0x44ffc9(0x309)]=0x3715]=_0x44ffc9(0x309),_0x77ea88[_0x77ea88[_0x44ffc9(0x319)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x77ea88[_0x77ea88[_0x44ffc9(0x3cd)]=0x3717]=_0x44ffc9(0x3cd),_0x77ea88[_0x77ea88[_0x44ffc9(0x270)]=0x37dd]=_0x44ffc9(0x270),_0x77ea88[_0x77ea88[_0x44ffc9(0x1e4)]=0x3a99]=_0x44ffc9(0x1e4),_0x77ea88[_0x77ea88[_0x44ffc9(0x383)]=0x3a9a]=_0x44ffc9(0x383),_0x77ea88[_0x77ea88[_0x44ffc9(0x3b6)]=0x3a9b]=_0x44ffc9(0x3b6),_0x77ea88[_0x77ea88[_0x44ffc9(0x218)]=0x3a9c]=_0x44ffc9(0x218),_0x77ea88[_0x77ea88['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x77ea88[_0x77ea88[_0x44ffc9(0x200)]=0x3a9e]=_0x44ffc9(0x200),_0x77ea88[_0x77ea88[_0x44ffc9(0x1ea)]=0x3a9f]=_0x44ffc9(0x1ea),_0x77ea88[_0x77ea88[_0x44ffc9(0x36c)]=0x3e81]=_0x44ffc9(0x36c),_0x77ea88[_0x77ea88[_0x44ffc9(0x328)]=-0x1]=_0x44ffc9(0x328),_0x77ea88))(_0xc7a7f3||{}),_0x3fc599=(_0x471120=>(_0x471120[_0x471120[_0x44ffc9(0x3d3)]=0x0]=_0x44ffc9(0x3d3),_0x471120[_0x471120[_0x44ffc9(0x341)]=0x1]=_0x44ffc9(0x341),_0x471120[_0x471120[_0x44ffc9(0x23c)]=0x2]=_0x44ffc9(0x23c),_0x471120[_0x471120['UNIVER_SLIDE']=0x3]=_0x44ffc9(0x2fc),_0x471120[_0x471120[_0x44ffc9(0x321)]=0x4]=_0x44ffc9(0x321),_0x471120[_0x471120[_0x44ffc9(0x328)]=-0x1]=_0x44ffc9(0x328),_0x471120))(_0x3fc599||{}),_0x595cfb=(_0x224901=>(_0x224901[_0x224901['View']=0x0]=_0x44ffc9(0x1e8),_0x224901[_0x224901[_0x44ffc9(0x1fc)]=0x1]=_0x44ffc9(0x1fc),_0x224901[_0x224901[_0x44ffc9(0x250)]=0x2]=_0x44ffc9(0x250),_0x224901[_0x224901[_0x44ffc9(0x317)]=0x3]=_0x44ffc9(0x317),_0x224901[_0x224901[_0x44ffc9(0x3f2)]=0x4]='Duplicate',_0x224901[_0x224901['Comment']=0x5]=_0x44ffc9(0x2d2),_0x224901[_0x224901[_0x44ffc9(0x2e4)]=0x6]=_0x44ffc9(0x2e4),_0x224901[_0x224901[_0x44ffc9(0x342)]=0x7]=_0x44ffc9(0x342),_0x224901[_0x224901[_0x44ffc9(0x31a)]=0x8]=_0x44ffc9(0x31a),_0x224901[_0x224901[_0x44ffc9(0x1cc)]=0x9]='MoveWorksheet',_0x224901[_0x224901['DeleteWorksheet']=0xa]=_0x44ffc9(0x219),_0x224901[_0x224901[_0x44ffc9(0x388)]=0xb]=_0x44ffc9(0x388),_0x224901[_0x224901[_0x44ffc9(0x2b9)]=0xc]=_0x44ffc9(0x2b9),_0x224901[_0x224901[_0x44ffc9(0x3da)]=0xd]=_0x44ffc9(0x3da),_0x224901[_0x224901[_0x44ffc9(0x1ae)]=0xe]=_0x44ffc9(0x1ae),_0x224901[_0x224901['EditWorksheetCell']=0xf]='EditWorksheetCell',_0x224901[_0x224901[_0x44ffc9(0x33d)]=0x10]=_0x44ffc9(0x33d),_0x224901[_0x224901[_0x44ffc9(0x27d)]=0x11]=_0x44ffc9(0x27d),_0x224901[_0x224901[_0x44ffc9(0x20f)]=0x12]=_0x44ffc9(0x20f),_0x224901[_0x224901[_0x44ffc9(0x1c4)]=0x13]=_0x44ffc9(0x1c4),_0x224901[_0x224901['FloatImg']=0x14]=_0x44ffc9(0x30a),_0x224901[_0x224901['History']=0x15]=_0x44ffc9(0x344),_0x224901[_0x224901[_0x44ffc9(0x359)]=0x16]='RwHgtClWdt',_0x224901[_0x224901['ViemRwHgtClWdt']=0x17]=_0x44ffc9(0x2cb),_0x224901[_0x224901['ViewFilter']=0x18]=_0x44ffc9(0x1e7),_0x224901[_0x224901[_0x44ffc9(0x1eb)]=0x19]=_0x44ffc9(0x1eb),_0x224901[_0x224901[_0x44ffc9(0x1a0)]=0x1a]=_0x44ffc9(0x1a0),_0x224901[_0x224901[_0x44ffc9(0x1a8)]=0x1b]=_0x44ffc9(0x1a8),_0x224901[_0x224901[_0x44ffc9(0x21e)]=0x1c]=_0x44ffc9(0x21e),_0x224901[_0x224901['RenameSheet']=0x1d]=_0x44ffc9(0x2af),_0x224901[_0x224901[_0x44ffc9(0x308)]=0x1e]=_0x44ffc9(0x308),_0x224901[_0x224901['SelectProtectedCells']=0x1f]='SelectProtectedCells',_0x224901[_0x224901[_0x44ffc9(0x289)]=0x20]='SelectUnProtectedCells',_0x224901[_0x224901[_0x44ffc9(0x222)]=0x21]=_0x44ffc9(0x222),_0x224901[_0x224901[_0x44ffc9(0x1f2)]=0x22]=_0x44ffc9(0x1f2),_0x224901[_0x224901[_0x44ffc9(0x252)]=0x23]='SetRowStyle',_0x224901[_0x224901[_0x44ffc9(0x1f3)]=0x24]=_0x44ffc9(0x1f3),_0x224901[_0x224901['InsertRow']=0x25]=_0x44ffc9(0x384),_0x224901[_0x224901[_0x44ffc9(0x392)]=0x26]=_0x44ffc9(0x392),_0x224901[_0x224901['DeleteRow']=0x27]=_0x44ffc9(0x2f8),_0x224901[_0x224901['DeleteColumn']=0x28]=_0x44ffc9(0x276),_0x224901[_0x224901[_0x44ffc9(0x3d2)]=0x29]='EditExtraObject',_0x224901[_0x224901['Delete']=0x2a]=_0x44ffc9(0x2f6),_0x224901[_0x224901[_0x44ffc9(0x3cb)]=0x2b]=_0x44ffc9(0x3cb),_0x224901[_0x224901[_0x44ffc9(0x31e)]=0x2c]=_0x44ffc9(0x31e),_0x224901[_0x224901['CreatePermissionObject']=0x2d]=_0x44ffc9(0x38b),_0x224901[_0x224901[_0x44ffc9(0x328)]=-0x1]=_0x44ffc9(0x328),_0x224901))(_0x595cfb||{});function _0x2966b3(_0x19bdf9){const _0x4b334f=_0x44ffc9;return!!(_0x19bdf9&&_0x19bdf9[_0x4b334f(0x22b)]&&_0x19bdf9[_0x4b334f(0x22b)]!==_0xc7a7f3['OK']&&_0x19bdf9['code']!=='OK');}const _0x122189=(_0x5a84ff,_0x278f56)=>{const _0x12630c=_0x44ffc9;if(!_0x5a84ff)return{'date':'','time':''};const _0x579a66=new Date(_0x5a84ff),_0x1ac4e7=_0x579a66['toISOString']()[_0x12630c(0x251)]('T')[0x0];switch(_0x278f56){case _0x2b1020[_0x12630c(0x3b1)][_0x12630c(0x21d)]:return{'date':_0x1f73d9(_0x1ac4e7,_0x278f56),'time':_0x579a66[_0x12630c(0x1d8)]()+':'+String(_0x579a66[_0x12630c(0x39d)]())[_0x12630c(0x389)](0x2,'0')+':'+String(_0x579a66[_0x12630c(0x2f7)]())[_0x12630c(0x389)](0x2,'0')};default:return{'date':_0x1f73d9(_0x1ac4e7,_0x278f56),'time':_0x579a66[_0x12630c(0x1d8)]()+':'+_0x579a66[_0x12630c(0x39d)]()+':'+_0x579a66[_0x12630c(0x2f7)]()};}},_0x517423=(_0x36f0d2,_0xbb84ec)=>{const _0x213d06=_0x44ffc9,_0x5d7f91=_0x36f0d2[_0x213d06(0x396)]||_0xbb84ec['t']('editHistory.panel.unknownUser');if(_0x36f0d2[_0x213d06(0x1b9)][_0x213d06(0x27c)](_0x2f6586=>_0x2f6586===_0x4cc1f5['RevertRevisionMutation']['id'])&&_0x36f0d2[_0x213d06(0x21f)]){const _0x48102e=_0x122189(_0x36f0d2[_0x213d06(0x21f)],_0xbb84ec[_0x213d06(0x231)]()),_0x2eae35=_0x48102e[_0x213d06(0x26c)]+'\x20'+_0x48102e[_0x213d06(0x23d)];return _0x5d7f91+'\x20'+_0xbb84ec['t'](_0x213d06(0x36a))+'\x20'+_0x2eae35+'\x20'+_0xbb84ec['t'](_0x213d06(0x1ba));}const _0x462539=_0x366199(_0x36f0d2),_0x57c057=_0x462539['length']===0x1?_0xbb84ec['t'](_0x462539[0x0]):''+_0xbb84ec['t'](_0x462539[0x0])+_0xbb84ec['t'](_0x213d06(0x2f5));return _0x5d7f91+'\x20'+_0x57c057;};function _0x366199(_0x26589a){const _0x5c0868=_0x44ffc9;if(_0x26589a['commands'][_0x5c0868(0x35e)]===0x0)return[''];const _0x42cd4=_0x5c0868(0x2fd),_0x43339a=_0x42cd4+_0x5c0868(0x29e),_0x23e43b=[{'id':_0x4cc1f5[_0x5c0868(0x399)]['id'],'action':_0x42cd4+_0x5c0868(0x3c7)},{'id':_0x4cc1f5[_0x5c0868(0x3a5)]['id'],'action':_0x42cd4+_0x5c0868(0x1ee)},{'id':_0x22d459[_0x5c0868(0x294)]['id'],'action':_0x42cd4+_0x5c0868(0x3bd)},{'id':_0x22d459[_0x5c0868(0x3ac)]['id'],'action':_0x42cd4+'removeSheet'},{'id':_0x22d459[_0x5c0868(0x33a)]['id'],'action':_0x42cd4+_0x5c0868(0x1b2)},{'id':_0x3b8e1d[_0x5c0868(0x2b3)]['id'],'action':_0x42cd4+_0x5c0868(0x302)},{'id':_0x25fe08[_0x5c0868(0x2b6)]['id'],'action':_0x42cd4+'setDV'},{'id':_0x25fe08[_0x5c0868(0x258)]['id'],'action':_0x42cd4+_0x5c0868(0x279)},{'id':_0x42b7a9[_0x5c0868(0x2ef)]['id'],'action':_0x42cd4+'setCF'},{'id':_0x42b7a9[_0x5c0868(0x357)]['id'],'action':_0x42cd4+_0x5c0868(0x3bf)},{'id':_0x22d459[_0x5c0868(0x330)]['id'],'action':_0x42cd4+'addProtection'},{'id':_0x22d459['AddRangeProtectionMutation']['id'],'action':_0x42cd4+_0x5c0868(0x21c)},{'id':_0x77306f[_0x5c0868(0x3e1)]['id'],'action':_0x42cd4+_0x5c0868(0x370)},{'id':_0x2ebba0[_0x5c0868(0x2ca)]['id'],'action':_0x42cd4+'insertChart'},{'id':_0x22d459[_0x5c0868(0x257)]['id'],'action':_0x42cd4+_0x5c0868(0x3e9)},{'id':_0x22d459[_0x5c0868(0x2b8)]['id'],'action':_0x42cd4+_0x5c0868(0x3e9)}][_0x5c0868(0x223)](_0x58d4c6=>_0x26589a['commands'][_0x5c0868(0x38e)](_0x58d4c6['id']));return _0x23e43b!=null&&_0x23e43b['length']?_0x23e43b[_0x5c0868(0x385)](_0x269f5b=>_0x269f5b[_0x5c0868(0x22c)]):[_0x43339a];}function _0x1f73d9(_0x1e8d46,_0x3ca213){const _0x44edec=_0x44ffc9,[_0x295565,_0x4b032d,_0x1beaa9]=new Date()['toISOString']()[_0x44edec(0x251)]('T')[0x0]['split']('-'),[_0x3bfdc3,_0x3c1884,_0x552f18]=_0x1e8d46[_0x44edec(0x251)]('-'),_0x17a334=_0x295565===_0x3bfdc3&&_0x4b032d===_0x3c1884&&_0x1beaa9===_0x552f18;let _0x402c81='',_0x83df22='',_0x298ada='';switch(_0x3ca213){case _0x2b1020[_0x44edec(0x3b1)][_0x44edec(0x21d)]:return _0x17a334?'今天':(_0x402c81=_0x295565===_0x3bfdc3?'':_0x3bfdc3+'年',_0x83df22=_0x3c1884+'月',_0x298ada=_0x552f18+'日',''+_0x402c81+_0x83df22+_0x298ada);default:return _0x17a334?_0x44edec(0x1f7):(_0x402c81=_0x295565===_0x3bfdc3?'':_0x3bfdc3+'-',_0x83df22=_0x3c1884+'-',_0x298ada=''+_0x552f18,''+_0x402c81+_0x83df22+_0x298ada);}}function _0x4a3c73(_0xac3ec0){return _0xac3ec0?_0xac3ec0['reduce']((_0x555659,_0x3c3098)=>{const _0x2db6fb=_0x1597,_0x1392da=new Date(_0x3c3098[_0x2db6fb(0x23d)])[_0x2db6fb(0x209)]()[_0x2db6fb(0x251)]('T')[0x0];return _0x555659[_0x2db6fb(0x35e)]>0x0&&_0x555659[_0x555659['length']-0x1][_0x2db6fb(0x25f)]===_0x1392da?_0x555659[_0x555659[_0x2db6fb(0x35e)]-0x1][_0x2db6fb(0x2a1)][_0x2db6fb(0x2d0)](_0x3c3098):_0x555659['push']({'dateString':_0x1392da,'versions':[_0x3c3098]}),_0x555659;},[]):[];}var _0x194c76=Object[_0x44ffc9(0x2ab)],_0xff9e8=(_0x1a240a,_0x1d6906,_0x4bf546,_0x3428a4)=>{const _0x9d88aa=_0x44ffc9;for(var _0x12aec1=_0x3428a4>0x1?void 0x0:_0x3428a4?_0x194c76(_0x1d6906,_0x4bf546):_0x1d6906,_0x187a0a=_0x1a240a[_0x9d88aa(0x35e)]-0x1,_0x3499c3;_0x187a0a>=0x0;_0x187a0a--)(_0x3499c3=_0x1a240a[_0x187a0a])&&(_0x12aec1=_0x3499c3(_0x12aec1)||_0x12aec1);return _0x12aec1;},_0x4d2673=(_0x172e28,_0x154f4c)=>(_0x2b4640,_0x387cfe)=>_0x154f4c(_0x2b4640,_0x387cfe,_0x172e28),_0x5d3d5c=(_0xb619ed=>(_0xb619ed[_0xb619ed['Unspecified']=0x0]='Unspecified',_0xb619ed[_0xb619ed[_0x44ffc9(0x351)]=0x1]='User',_0xb619ed[_0xb619ed[_0x44ffc9(0x261)]=0x2]=_0x44ffc9(0x261),_0xb619ed))(_0x5d3d5c||{});const _0x528d30=_0x44ffc9(0x2e8);let _0xa17f4a=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x378c1b,_0x2484fd,_0x2450ba,_0x4180bf,_0x30945d,_0x22bd7e,_0x4a6840){const _0x5af022=_0x44ffc9;super(),_0x216b91(this,_0x5af022(0x1be),new Map()),(this['_snapshotServerService']=_0x378c1b,this[_0x5af022(0x27a)]=_0x2484fd,this[_0x5af022(0x1cd)]=_0x2450ba,this[_0x5af022(0x288)]=_0x4180bf,this['_httpService']=_0x30945d,this[_0x5af022(0x2c3)]=_0x22bd7e,this[_0x5af022(0x256)]=_0x4a6840);}['dispose'](){const _0x3865fb=_0x44ffc9;this[_0x3865fb(0x1be)]['clear'](),super[_0x3865fb(0x2ee)]();}async['fetchCreatorList'](_0x45ef66){const _0x597a7d=_0x44ffc9;try{const _0x90021f=(await this[_0x597a7d(0x2eb)][_0x597a7d(0x282)](this[_0x597a7d(0x2bf)]()+'/'+_0x45ef66+'/creators'))[_0x597a7d(0x2a3)];if(_0x90021f&&_0x90021f[_0x597a7d(0x1d6)]&&_0x90021f[_0x597a7d(0x1d6)]['code']===_0xc7a7f3['OK'])return _0x90021f[_0x597a7d(0x335)];}catch(_0x474a62){console['error'](_0x474a62);}return[];}async['getVersions'](_0x412cab,_0x46bc3a){const _0x4dbdf1=_0x44ffc9,{userIds:_0x4afe6e,lastLabel:_0x5e498b,origin:_0x174a81}=_0x46bc3a!=null?_0x46bc3a:{},_0x49a072=new URLSearchParams();_0x49a072[_0x4dbdf1(0x23f)](_0x4dbdf1(0x35e),'20'),_0x5e498b&&_0x49a072[_0x4dbdf1(0x23f)](_0x4dbdf1(0x34d),_0x5e498b),_0x4afe6e==null||_0x4afe6e[_0x4dbdf1(0x3d7)](_0x193ffd=>{const _0x2656ff=_0x4dbdf1;_0x49a072['append'](_0x2656ff(0x2f0),_0x193ffd);}),_0x174a81&&_0x49a072[_0x4dbdf1(0x23f)](_0x4dbdf1(0x32a),_0x174a81[_0x4dbdf1(0x2c9)]());const _0x5b9e8e=this[_0x4dbdf1(0x2bf)]()+'/'+_0x412cab+_0x4dbdf1(0x20c)+_0x49a072[_0x4dbdf1(0x2c9)]();try{const _0x3c51d2=(await this[_0x4dbdf1(0x2eb)]['get'](_0x5b9e8e))[_0x4dbdf1(0x2a3)];if(_0x3c51d2&&_0x3c51d2[_0x4dbdf1(0x1d6)]&&_0x3c51d2[_0x4dbdf1(0x1d6)][_0x4dbdf1(0x22b)]===_0xc7a7f3['OK']){const {hasMore:_0x1d3845,lastLabel:_0x3c3286}=_0x3c51d2,_0x133374=_0x18cb8b(_0x3c51d2),_0xdc0203=_0x3c51d2[_0x4dbdf1(0x1c8)][_0x4dbdf1(0x22e)];return{'hasMore':_0x1d3845,'lastLabel':_0x3c3286,'versions':_0x133374,'members':_0xdc0203};}}catch(_0x6fb59e){console[_0x4dbdf1(0x1d6)](_0x6fb59e);}return null;}[_0x44ffc9(0x2bf)](){const _0x59877a=_0x44ffc9;var _0x247394;const _0xfbfc2c=this[_0x59877a(0x288)][_0x59877a(0x244)](_0x2757e9);return(_0x247394=_0xfbfc2c==null?void 0x0:_0xfbfc2c[_0x59877a(0x3e8)])!=null?_0x247394:_0x528d30;}async[_0x44ffc9(0x3e3)](_0x3f63ce,_0x1e77ae,_0x1b3fa6){const _0x23b924=_0x44ffc9;var _0x11a9f9,_0x501cd6;_0x1b3fa6===void 0x0&&(_0x1b3fa6={}),this[_0x23b924(0x1be)][_0x23b924(0x2b1)](_0x3f63ce)||this[_0x23b924(0x1be)]['set'](_0x3f63ce,new Map());const {snapshot:_0x21d107,changesets:_0x2663af,error:_0x21a18b}=await this[_0x23b924(0x3de)]['getUnitOnRev'](_0x1b3fa6,{'unitID':_0x3f63ce,'type':_0x3fc599['UNIVER_SHEET'],'revision':_0x1e77ae});if(_0x2966b3(_0x21a18b)||!_0x21d107||!_0x21d107[_0x23b924(0x343)])throw new Error(_0x23b924(0x1b1));const _0x1488b8=(_0x11a9f9=_0x2663af==null?void 0x0:_0x2663af[_0x23b924(0x35e)])!=null?_0x11a9f9:0x0;if(_0x1e77ae!==0x0&&_0x21d107['rev']+_0x1488b8!==_0x1e77ae)throw new Error(_0x23b924(0x1ed));const {workbook:_0x49e48e}=_0x21d107,_0x2509e5=_0x49e48e['blockMeta']?Object[_0x23b924(0x265)](_0x49e48e[_0x23b924(0x277)])[_0x23b924(0x385)](([_0x4ac187,_0x5091f5])=>{const _0x56e317=_0x23b924;var _0x381474,_0x425d38;return(_0x425d38=(_0x381474=_0x5091f5[_0x56e317(0x32b)])==null?void 0x0:_0x381474[_0x56e317(0x385)](_0x31f090=>_0x31f090))!=null?_0x425d38:[];})[_0x23b924(0x373)]():[],_0x370e14=(await Promise[_0x23b924(0x293)](_0x2509e5['map'](_0x1e414f=>this[_0x23b924(0x3de)][_0x23b924(0x248)](_0x1b3fa6,{'unitID':_0x3f63ce,'type':_0x3fc599['UNIVER_SHEET'],'blockID':_0x1e414f})['then'](_0x2baa29=>_0x2baa29['block']))))['filter'](_0x3463da=>!!_0x3463da),_0x2dc958=await _0x4cc1f5[_0x23b924(0x31b)](_0x21d107,_0x370e14,_0x1b3fa6);return(_0x501cd6=this['_workbookDataCache'][_0x23b924(0x282)](_0x3f63ce))==null||_0x501cd6['set'](_0x1e77ae,{'workbook':_0x2dc958}),new Promise(_0x157ae1=>{const _0x295d7b=_0x23b924,_0x18747e=this[_0x295d7b(0x27a)][_0x295d7b(0x2a5)](_0x2b1020[_0x295d7b(0x322)][_0x295d7b(0x23c)]);_0x18747e?(this[_0x295d7b(0x27a)][_0x295d7b(0x3db)](_0x18747e['getUnitId']()),setTimeout(()=>{const _0x4bb1ba=_0x295d7b;this[_0x4bb1ba(0x28e)](_0x2dc958,_0x2663af),this[_0x4bb1ba(0x256)]['refreshRangeProtectPermission'](),_0x157ae1(!0x0);},0x0)):(this[_0x295d7b(0x28e)](_0x2dc958,_0x2663af),_0x157ae1(!0x0));});}[_0x44ffc9(0x28e)](_0x145996,_0x2eb2f5){const _0xa5f745=_0x44ffc9,_0x48aa76=this[_0xa5f745(0x27a)]['createUnit'](_0x2b1020[_0xa5f745(0x322)]['UNIVER_SHEET'],_0x145996);this[_0xa5f745(0x27a)][_0xa5f745(0x213)](_0x48aa76[_0xa5f745(0x398)]());const _0x37ae2f=this[_0xa5f745(0x2c3)]['interceptor']['fetchThroughInterceptors'](this[_0xa5f745(0x2c3)][_0xa5f745(0x36d)][_0xa5f745(0x1dc)]()[_0xa5f745(0x26a)]);return _0x2eb2f5==null||_0x2eb2f5[_0xa5f745(0x3d7)](_0x415b1a=>{const _0x518f6c=_0xa5f745,_0x532ce6=_0x415b1a['mutations'][_0x518f6c(0x385)](_0x595562=>({'id':_0x595562['id'],'params':JSON[_0x518f6c(0x1d2)](_0x595562[_0x518f6c(0x25d)])}));({..._0x415b1a,'mutations':_0x37ae2f(_0x532ce6,null)||_0x532ce6}[_0x518f6c(0x387)][_0x518f6c(0x3d7)](_0x43d94b=>{const _0x2f4350=_0x518f6c;this[_0x2f4350(0x1cd)][_0x2f4350(0x2aa)](_0x43d94b['id'])&&this[_0x2f4350(0x1cd)][_0x2f4350(0x27f)](_0x43d94b['id'],_0x43d94b[_0x2f4350(0x1f6)]);}));}),_0x48aa76;}};_0xa17f4a=_0xff9e8([_0x4d2673(0x0,_0x4cc1f5[_0x44ffc9(0x2fa)]),_0x4d2673(0x1,_0x2b1020['IUniverInstanceService']),_0x4d2673(0x2,_0x2b1020[_0x44ffc9(0x2e5)]),_0x4d2673(0x3,_0x2b1020[_0x44ffc9(0x2e2)]),_0x4d2673(0x4,_0x2b1020[_0x44ffc9(0x33e)](_0x4200f5['HTTPService'])),_0x4d2673(0x5,_0x2b1020[_0x44ffc9(0x33e)](_0x4cc1f5['CompressMutationService'])),_0x4d2673(0x6,_0x2b1020[_0x44ffc9(0x33e)](_0x22d459['SheetPermissionInitController']))],_0xa17f4a);function _0x18cb8b(_0xa38a12){const _0x26ea09=_0x44ffc9;var _0x681ab3,_0x443424;const _0x31eec8=[],{entities:_0x30066f,historyIds:_0xc32ac2}=_0xa38a12,{datas:_0x47d0bf,users:_0x2418ce}=_0x30066f;for(const _0x37abc9 of _0xc32ac2){const _0x44c202=_0x47d0bf[_0x37abc9];if(_0x44c202){const _0x3ed491=!!((_0x681ab3=_0x2418ce[_0x44c202[_0x26ea09(0x26f)]])!=null&&_0x681ab3[_0x26ea09(0x31c)]);_0x31eec8[_0x26ea09(0x2d0)]({'unitId':_0x44c202[_0x26ea09(0x340)],'user':_0x3ed491?'':((_0x443424=_0x2418ce==null?void 0x0:_0x2418ce[_0x44c202[_0x26ea09(0x26f)]])==null?void 0x0:_0x443424['name'])||'','isAnonymous':_0x3ed491,'id':_0x37abc9,'time':_0x44c202['createTime']?Number(_0x44c202[_0x26ea09(0x297)]):void 0x0,'commands':_0x44c202[_0x26ea09(0x2cf)],'startRev':Number(_0x44c202[_0x26ea09(0x3df)]),'endRev':Number(_0x44c202[_0x26ea09(0x246)]),'recoverTime':_0x44c202[_0x26ea09(0x21f)]?Number(_0x44c202[_0x26ea09(0x21f)]):void 0x0,'additionalFields':_0x44c202[_0x26ea09(0x3c3)]});}}return _0x31eec8;}var _0x14d274=Object[_0x44ffc9(0x2ab)],_0x329df6=(_0x25aca0,_0x569d2f,_0x1829f9,_0x43a95d)=>{for(var _0x46050b=_0x43a95d>0x1?void 0x0:_0x43a95d?_0x14d274(_0x569d2f,_0x1829f9):_0x569d2f,_0xd3dba6=_0x25aca0['length']-0x1,_0x5dbf9f;_0xd3dba6>=0x0;_0xd3dba6--)(_0x5dbf9f=_0x25aca0[_0xd3dba6])&&(_0x46050b=_0x5dbf9f(_0x46050b)||_0x46050b);return _0x46050b;},_0x4eb04c=(_0x2d6008,_0x3675ac)=>(_0x3ee82b,_0x1ca721)=>_0x3675ac(_0x3ee82b,_0x1ca721,_0x2d6008),_0x49205b=(_0x1b376b=>(_0x1b376b['Entered']=_0x44ffc9(0x1bc),_0x1b376b[_0x44ffc9(0x1c7)]='exited',_0x1b376b[_0x44ffc9(0x1f9)]='error',_0x1b376b))(_0x49205b||{}),_0x2adc54=(_0x49bdb3=>(_0x49bdb3[_0x44ffc9(0x311)]='init',_0x49bdb3[_0x44ffc9(0x1c9)]=_0x44ffc9(0x2d3),_0x49bdb3[_0x44ffc9(0x1d9)]=_0x44ffc9(0x3b8),_0x49bdb3))(_0x2adc54||{});const _0x938f55=_0x44ffc9(0x2dd);_0x1dc907[_0x44ffc9(0x358)]=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x4aa2f0,_0x422736,_0x4f18de,_0x549d3d){const _0x138b04=_0x44ffc9;super(),_0x216b91(this,_0x138b04(0x27b),new _0x23366c[(_0x138b04(0x224))]([])),_0x216b91(this,'versions$',this[_0x138b04(0x27b)]['asObservable']()),_0x216b91(this,'_currentVersion$',new _0x23366c[(_0x138b04(0x224))]('')),_0x216b91(this,_0x138b04(0x2fe),this['_currentVersion$'][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x2a0),new _0x23366c[(_0x138b04(0x224))]('entered')),_0x216b91(this,_0x138b04(0x238),this['_status$'][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x27e),new _0x23366c[(_0x138b04(0x224))](0x0)),_0x216b91(this,_0x138b04(0x324),this[_0x138b04(0x27e)][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x22d),new _0x23366c[(_0x138b04(0x224))]('')),_0x216b91(this,_0x138b04(0x206),this[_0x138b04(0x22d)]['asObservable']()),_0x216b91(this,'_fetching$',new _0x23366c[(_0x138b04(0x224))](!0x1)),_0x216b91(this,_0x138b04(0x34f),this[_0x138b04(0x333)][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x25c),new _0x23366c['BehaviorSubject']([])),_0x216b91(this,_0x138b04(0x239),this[_0x138b04(0x25c)][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x1a3),new _0x23366c[(_0x138b04(0x224))](_0x138b04(0x1ab))),_0x216b91(this,_0x138b04(0x3c4),this[_0x138b04(0x1a3)]['asObservable']()),_0x216b91(this,_0x138b04(0x32e),null),_0x216b91(this,_0x138b04(0x234),!0x0),_0x216b91(this,'_members',new Map()),_0x216b91(this,_0x138b04(0x307)),_0x216b91(this,_0x138b04(0x202)),_0x216b91(this,_0x138b04(0x1c6)),_0x216b91(this,'_canRevert',!0x1),_0x216b91(this,_0x138b04(0x362),null),(this['_messageService']=_0x4aa2f0,this[_0x138b04(0x323)]=_0x422736,this[_0x138b04(0x2c2)]=_0x4f18de,this[_0x138b04(0x1d3)]=_0x549d3d);}['_setFetching'](_0xe6e6e7){const _0x1cf9cb=_0x44ffc9;this[_0x1cf9cb(0x333)][_0x1cf9cb(0x3a6)](_0xe6e6e7);}get['fetching'](){const _0x38bb09=_0x44ffc9;return this[_0x38bb09(0x333)][_0x38bb09(0x20a)];}async['triggerLoadVersions'](_0x32d49b,_0x524723,_0x4cc27d){const _0x3b5935=_0x44ffc9;this[_0x3b5935(0x307)]=_0x524723,this[_0x3b5935(0x33c)]=_0x4cc27d,await this[_0x3b5935(0x3f1)](_0x32d49b);}async['loadInitialVersions'](_0x1c1d39,_0x86185){const _0x3a4a88=_0x44ffc9;this[_0x3a4a88(0x22d)][_0x3a4a88(0x3a6)](_0x1c1d39),this[_0x3a4a88(0x362)]=_0x86185!=null?_0x86185:null,this[_0x3a4a88(0x262)](!0x0);const _0x4729c2=await this[_0x3a4a88(0x1d3)][_0x3a4a88(0x2f1)](_0x1c1d39,_0x86185);if(this[_0x3a4a88(0x262)](!0x1),_0x4729c2){const {versions:_0x78e73c,lastLabel:_0x4aae7f,hasMore:_0xd14bb4,members:_0x3ad314}=_0x4729c2;_0x78e73c[_0x3a4a88(0x35e)]===0x0&&_0x78e73c['push']({'unitId':_0x1c1d39,'id':_0x938f55,'startRev':0x1,'endRev':0x0,'time':Date[_0x3a4a88(0x2e7)](),'user':this[_0x3a4a88(0x2c2)]['t'](_0x3a4a88(0x1dd)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x78e73c,_0xd14bb4,_0x4aae7f,!0x1,_0x3ad314),this[_0x3a4a88(0x2bc)][_0x3a4a88(0x3a6)](_0x78e73c[0x0]['id']);}else this[_0x3a4a88(0x2a0)]['next']('error');}async[_0x44ffc9(0x3a0)](){const _0x316101=_0x44ffc9;if(!this[_0x316101(0x32e)]||!this['_hasMore']||this[_0x316101(0x1a5)])return!0x1;this[_0x316101(0x262)](!0x0);const _0x50321d=await this[_0x316101(0x1d3)][_0x316101(0x2f1)](this[_0x316101(0x340)],{'lastLabel':this['_lastLabel'],...this['_loadParams']});if(this['_setFetching'](!0x1),_0x50321d){const {versions:_0x3313fb,lastLabel:_0xa2f7c9,hasMore:_0x550c9e,members:_0x19122d}=_0x50321d;this[_0x316101(0x1ec)](_0x3313fb,_0x550c9e,_0xa2f7c9,!0x0,_0x19122d);}else this[_0x316101(0x263)][_0x316101(0x229)]({'content':this[_0x316101(0x2c2)]['t'](_0x316101(0x2b4)),'type':_0x197b1d['MessageType'][_0x316101(0x1f9)],'duration':0xbb8});return!0x0;}async[_0x44ffc9(0x211)](){const _0x42d864=_0x44ffc9,{unitId:_0x30eaf9}=this;if(!_0x30eaf9)return;const _0x319efb=await this[_0x42d864(0x1d3)][_0x42d864(0x2cc)](_0x30eaf9);_0x319efb&&this[_0x42d864(0x25c)][_0x42d864(0x3a6)](_0x319efb);}async['triggerLoadSheet'](_0x2ebb0d){const _0x5350f5=_0x44ffc9;var _0x204b02;const _0x43ccf4=(_0x204b02=this[_0x5350f5(0x27b)][_0x5350f5(0x20a)])==null?void 0x0:_0x204b02['find'](_0x56d215=>_0x56d215['id']===_0x2ebb0d),{endRev:_0x3b35f2}=_0x43ccf4||{};_0x3b35f2||_0x3b35f2===0x0?(this['_loadingState$']['next']('loading'),await this[_0x5350f5(0x1d3)][_0x5350f5(0x3e3)](this[_0x5350f5(0x340)],_0x3b35f2),this[_0x5350f5(0x1a3)]['next'](_0x5350f5(0x3b8))):this['_status$']['next'](_0x5350f5(0x1d6));}async[_0x44ffc9(0x2b5)](_0xb12b4b){const _0x5a5999=_0x44ffc9,_0x29888b=_0xb12b4b?this['getVersion'](_0xb12b4b):this[_0x5a5999(0x3d9)]();if(!_0x29888b)return;const _0x4c94a2=_0x29888b[_0x5a5999(0x394)],_0x21c3f8=_0x122189(_0x29888b['time'],this[_0x5a5999(0x2c2)][_0x5a5999(0x231)]());await this['_confirmService'][_0x5a5999(0x1a2)]({'id':_0x5a5999(0x338),'title':{'title':this[_0x5a5999(0x2c2)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x5a5999(0x2c2)]['t'](_0x5a5999(0x2ed))+_0x5a5999(0x39f)+_0x21c3f8['date']+'\x20'+_0x21c3f8['time']+')'},'cancelText':this[_0x5a5999(0x2c2)]['t'](_0x5a5999(0x25a)),'confirmText':this[_0x5a5999(0x2c2)]['t']('editHistory.panel.confirm')})&&this[_0x5a5999(0x27e)][_0x5a5999(0x3a6)](_0x4c94a2);}['_updateVersions'](_0x447614,_0x188f94,_0x275e41,_0x4039b6,_0x3676dd){const _0x5b9b55=_0x44ffc9;this[_0x5b9b55(0x1b0)](_0x4039b6?this['_versions$'][_0x5b9b55(0x20a)]['concat'](_0x447614):_0x447614),this['_hasMore']=_0x188f94,this[_0x5b9b55(0x32e)]=_0x275e41,_0x3676dd&&Object['keys'](_0x3676dd)[_0x5b9b55(0x3d7)](_0x45ca83=>this[_0x5b9b55(0x26b)][_0x5b9b55(0x23f)](_0x45ca83,_0x3676dd[_0x45ca83]));}[_0x44ffc9(0x3d9)](){const _0x347f78=_0x44ffc9;return this[_0x347f78(0x37e)](this[_0x347f78(0x2bc)][_0x347f78(0x20a)]);}[_0x44ffc9(0x1b0)](_0x2dc397){const _0x5b16c6=_0x44ffc9;this[_0x5b16c6(0x27b)][_0x5b16c6(0x3a6)](_0x2dc397);}['getVersion'](_0x35f459){var _0x6be990;return(_0x6be990=this['_versions$']['value'])==null?void 0x0:_0x6be990['find'](_0x124426=>_0x124426['id']===_0x35f459);}[_0x44ffc9(0x1ef)](_0x55ebe4){const _0x404ffd=_0x44ffc9;return this[_0x404ffd(0x26b)][_0x404ffd(0x282)](_0x55ebe4);}[_0x44ffc9(0x347)](){const _0xc604ba=_0x44ffc9;this[_0xc604ba(0x1c6)]=document[_0xc604ba(0x314)](_0xc604ba(0x365)),this[_0xc604ba(0x1c6)][_0xc604ba(0x35c)]=_0xc604ba(0x3b2),this[_0xc604ba(0x1c6)]['style'][_0xc604ba(0x378)]=_0xc604ba(0x2d9),this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x375)]='0',this[_0xc604ba(0x1c6)]['style'][_0xc604ba(0x21a)]='0',this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x38d)]='100%',this['_maskElement']['style'][_0xc604ba(0x3ad)]=_0xc604ba(0x299),this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x20d)]=_0xc604ba(0x376),this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x210)]='white',this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x29b)]='flex',this[_0xc604ba(0x1c6)]['style']['justifyContent']=_0xc604ba(0x240),this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x36b)]=_0xc604ba(0x3eb),this[_0xc604ba(0x1c6)]['style']['display']=_0xc604ba(0x2b2),this[_0xc604ba(0x202)][_0xc604ba(0x28b)](this['_maskElement']);}[_0x44ffc9(0x367)](){const _0x148163=_0x44ffc9;var _0x3918c3;const _0x33409f=(_0x3918c3=document[_0x148163(0x2ba)](this['_historyContainerId']))==null?void 0x0:_0x3918c3[_0x148163(0x2db)](_0x148163(0x28d));_0x33409f&&(this[_0x148163(0x202)]=_0x33409f,this[_0x148163(0x347)]());}[_0x44ffc9(0x20e)](){const _0x333d9b=_0x44ffc9;this[_0x333d9b(0x202)]||this[_0x333d9b(0x367)](),this[_0x333d9b(0x1c6)]&&(this[_0x333d9b(0x1c6)]['style']['display']='flex');}[_0x44ffc9(0x2da)](){const _0x2408b9=_0x44ffc9;this[_0x2408b9(0x1c6)]&&(this[_0x2408b9(0x1c6)]['style'][_0x2408b9(0x29b)]=_0x2408b9(0x2b2));}set[_0x44ffc9(0x3f5)](_0x71498d){const _0x2217df=_0x44ffc9;this[_0x2217df(0x2a0)][_0x2217df(0x3a6)](_0x71498d);}set[_0x44ffc9(0x310)](_0x26759a){const _0x23053b=_0x44ffc9;_0x26759a!==this['_currentVersion$'][_0x23053b(0x20a)]&&this[_0x23053b(0x2bc)][_0x23053b(0x3a6)](_0x26759a);}get[_0x44ffc9(0x310)](){const _0x2b4286=_0x44ffc9;return this[_0x2b4286(0x2bc)][_0x2b4286(0x20a)];}set[_0x44ffc9(0x340)](_0x17e9e4){const _0x182033=_0x44ffc9;this['_unitId$'][_0x182033(0x3a6)](_0x17e9e4);}get[_0x44ffc9(0x340)](){const _0x35f325=_0x44ffc9;return this[_0x35f325(0x22d)][_0x35f325(0x20a)];}get[_0x44ffc9(0x37a)](){const _0x5bcfad=_0x44ffc9;return this[_0x5bcfad(0x33c)];}get['loadingState'](){const _0x4d0516=_0x44ffc9;return this[_0x4d0516(0x1a3)]['value'];}},_0x1dc907[_0x44ffc9(0x358)]=_0x329df6([_0x4eb04c(0x0,_0xd6c0fb[_0x44ffc9(0x3ec)]),_0x4eb04c(0x1,_0xd6c0fb[_0x44ffc9(0x259)]),_0x4eb04c(0x2,_0x2b1020[_0x44ffc9(0x33e)](_0x2b1020[_0x44ffc9(0x325)])),_0x4eb04c(0x3,_0x2b1020['Inject'](_0xa17f4a))],_0x1dc907[_0x44ffc9(0x358)]);function _0x1672cc({ref:_0x49a443,..._0x28ff09}){const _0x278364=_0x44ffc9,{icon:_0x2ef8bf,id:_0x27362f,className:_0x654625,extend:_0x1691a3,..._0x4a89e0}=_0x28ff09,_0x1f0953=('univerjs-icon\x20univerjs-icon-'+_0x27362f+'\x20'+(_0x654625||''))[_0x278364(0x264)](),_0x2fc893=_0x2cee47[_0x278364(0x361)]('_'+_0x307ff8());return _0x35b1c5(_0x2ef8bf,''+_0x27362f,{'defIds':_0x2ef8bf[_0x278364(0x2f2)],'idSuffix':_0x2fc893[_0x278364(0x34b)]},{'ref':_0x49a443,'className':_0x1f0953,..._0x4a89e0},_0x1691a3);}function _0x35b1c5(_0x5e5295,_0x6eff5a,_0x589366,_0x3ffcc8,_0x4c83bb){const _0x1937c7=_0x44ffc9;return _0x2cee47['createElement'](_0x5e5295[_0x1937c7(0x284)],{'key':_0x6eff5a,..._0x2c25ea(_0x5e5295,_0x589366,_0x4c83bb),..._0x3ffcc8},(_0xe6472d(_0x5e5295,_0x589366)['children']||[])[_0x1937c7(0x385)]((_0x229459,_0x1e942f)=>_0x35b1c5(_0x229459,_0x6eff5a+'-'+_0x5e5295[_0x1937c7(0x284)]+'-'+_0x1e942f,_0x589366,void 0x0,_0x4c83bb)));}function _0x2c25ea(_0x5d9167,_0x428b01,_0x5d99c8){const _0x1ae68d=_0x44ffc9,_0x15e981={..._0x5d9167['attrs']};_0x5d99c8!=null&&_0x5d99c8[_0x1ae68d(0x23e)]&&_0x15e981[_0x1ae68d(0x315)]==='colorChannel1'&&(_0x15e981[_0x1ae68d(0x315)]=_0x5d99c8[_0x1ae68d(0x23e)]),_0x5d9167[_0x1ae68d(0x284)]===_0x1ae68d(0x2ad)&&_0x15e981['id']&&(_0x15e981['id']=_0x15e981['id']+_0x428b01[_0x1ae68d(0x2c5)]),Object['entries'](_0x15e981)[_0x1ae68d(0x3d7)](([_0x4fcaa5,_0x2a9027])=>{const _0x24d29d=_0x1ae68d;_0x4fcaa5===_0x24d29d(0x2ad)&&typeof _0x2a9027=='string'&&(_0x15e981[_0x4fcaa5]=_0x2a9027[_0x24d29d(0x216)](/url\(#(.*)\)/,_0x24d29d(0x2a4)+_0x428b01[_0x24d29d(0x2c5)]+')'));});const {defIds:_0x21f200}=_0x428b01;return!_0x21f200||_0x21f200[_0x1ae68d(0x35e)]===0x0||(_0x5d9167[_0x1ae68d(0x284)]===_0x1ae68d(0x1f0)&&_0x15e981[_0x1ae68d(0x3ef)]&&(_0x15e981[_0x1ae68d(0x3ef)]=_0x15e981['xlink:href']+_0x428b01[_0x1ae68d(0x2c5)]),Object['entries'](_0x15e981)[_0x1ae68d(0x3d7)](([_0x3bc3fe,_0x134d2f])=>{const _0x2339ad=_0x1ae68d;typeof _0x134d2f==_0x2339ad(0x2ce)&&(_0x15e981[_0x3bc3fe]=_0x134d2f[_0x2339ad(0x216)](/url\(#(.*)\)/,_0x2339ad(0x2a4)+_0x428b01[_0x2339ad(0x2c5)]+')'));})),_0x15e981;}function _0xe6472d(_0x662685,_0x497643){const _0x3dd2dc=_0x44ffc9;var _0x5599f8;const {defIds:_0x53b318}=_0x497643;return!_0x53b318||_0x53b318[_0x3dd2dc(0x35e)]===0x0?_0x662685:_0x662685[_0x3dd2dc(0x284)]===_0x3dd2dc(0x3e0)&&((_0x5599f8=_0x662685['children'])!=null&&_0x5599f8[_0x3dd2dc(0x35e)])?{..._0x662685,'children':_0x662685[_0x3dd2dc(0x2ac)][_0x3dd2dc(0x385)](_0x587ca9=>typeof _0x587ca9['attrs']['id']==_0x3dd2dc(0x2ce)&&_0x53b318&&_0x53b318[_0x3dd2dc(0x38e)](_0x587ca9[_0x3dd2dc(0x3d0)]['id'])?{..._0x587ca9,'attrs':{..._0x587ca9[_0x3dd2dc(0x3d0)],'id':_0x587ca9[_0x3dd2dc(0x3d0)]['id']+_0x497643[_0x3dd2dc(0x2c5)]}}:_0x587ca9)}:_0x662685;}function _0x307ff8(){const _0x3077b3=_0x44ffc9;return Math[_0x3077b3(0x21b)]()[_0x3077b3(0x2c9)](0x24)['substring'](0x2,0x8);}_0x1672cc[_0x44ffc9(0x3a4)]=_0x44ffc9(0x1aa);const _0x3dd1cb={'tag':'svg','attrs':{'xmlns':_0x44ffc9(0x316),'fill':_0x44ffc9(0x2b2),'viewBox':_0x44ffc9(0x3f4),'width':'1em','height':_0x44ffc9(0x3a1)},'children':[{'tag':_0x44ffc9(0x3b4),'attrs':{'fill':_0x44ffc9(0x301),'d':_0x44ffc9(0x312)}}]},_0x505d3e=_0x2cee47[_0x44ffc9(0x2d4)](function(_0x507416,_0x79fa1d){const _0x5b5d98=_0x44ffc9;return _0x2cee47['createElement'](_0x1672cc,Object[_0x5b5d98(0x2de)]({},_0x507416,{'id':'back-icon','ref':_0x79fa1d,'icon':_0x3dd1cb}));});_0x505d3e['displayName']='BackIcon';const _0x562d82={'tag':_0x44ffc9(0x1d4),'attrs':{'xmlns':_0x44ffc9(0x316),'fill':_0x44ffc9(0x2b2),'viewBox':_0x44ffc9(0x1e6),'width':_0x44ffc9(0x3a1),'height':_0x44ffc9(0x3a1)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x44ffc9(0x3b4),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x44ffc9(0x3b4),'attrs':{'d':_0x44ffc9(0x337),'fillRule':_0x44ffc9(0x3c0),'clipRule':_0x44ffc9(0x3c0)}}]},{'tag':_0x44ffc9(0x3e0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x44ffc9(0x235)},'children':[{'tag':_0x44ffc9(0x225),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x44ffc9(0x3e5),'rx':0x4}}]}]}],'defIds':[_0x44ffc9(0x235)]},_0x97c456=_0x2cee47[_0x44ffc9(0x2d4)](function(_0x327fea,_0x3fd3f5){const _0x325350=_0x44ffc9;return _0x2cee47['createElement'](_0x1672cc,Object['assign']({},_0x327fea,{'id':_0x325350(0x300),'ref':_0x3fd3f5,'icon':_0x562d82}));});_0x97c456[_0x44ffc9(0x3a4)]=_0x44ffc9(0x28c);const _0x45cef8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44ffc9(0x2b2),'viewBox':'0\x200\x2016\x2016','width':_0x44ffc9(0x3a1),'height':_0x44ffc9(0x3a1)},'children':[{'tag':_0x44ffc9(0x3b4),'attrs':{'fill':'#0B9EFB','d':_0x44ffc9(0x241),'fillOpacity':0.2,'fillRule':_0x44ffc9(0x3c0),'clipRule':_0x44ffc9(0x3c0)}},{'tag':_0x44ffc9(0x3b4),'attrs':{'fill':_0x44ffc9(0x285),'d':_0x44ffc9(0x1a6),'fillRule':'evenodd','clipRule':_0x44ffc9(0x3c0)}}]},_0x360cfe=_0x2cee47[_0x44ffc9(0x2d4)](function(_0x1cd5c9,_0x3d6def){const _0xac4abb=_0x44ffc9;return _0x2cee47[_0xac4abb(0x314)](_0x1672cc,Object[_0xac4abb(0x2de)]({},_0x1cd5c9,{'id':'loading-multi-icon','ref':_0x3d6def,'icon':_0x45cef8}));});_0x360cfe[_0x44ffc9(0x3a4)]=_0x44ffc9(0x1ff);function _0x402cd4(){const _0x230964=_0x44ffc9;var _0x231f00;const _0x43a30a=_0xd6c0fb['useDependency'](_0x1dc907[_0x230964(0x358)]),_0x3f74d0=_0xd6c0fb[_0x230964(0x1a4)](_0x2b1020[_0x230964(0x325)]),_0x5500fa=_0x2cee47[_0x230964(0x346)](()=>{const _0x29a199=_0x230964;_0x43a30a['status']=_0x49205b[_0x29a199(0x1c7)];},[_0x43a30a]),_0x287e8b=_0x2cee47[_0x230964(0x346)](()=>{_0x43a30a['triggerRevert']();},[_0x43a30a]),_0x1a4296=_0xd6c0fb[_0x230964(0x227)](_0x43a30a[_0x230964(0x2fe)]),_0x2afe41=_0xd6c0fb[_0x230964(0x227)](_0x43a30a[_0x230964(0x207)]),_0x26351f=_0x1a4296===((_0x231f00=_0x2afe41==null?void 0x0:_0x2afe41[0x0])==null?void 0x0:_0x231f00['id']),_0xdf3e3=_0x1a4296!==''&&!_0x26351f&&_0x43a30a[_0x230964(0x37a)];return _0x3d7079['jsxs'](_0x230964(0x365),{'className':_0x197b1d[_0x230964(0x3ab)](_0x230964(0x296),_0x197b1d['borderBottomClassName']),'children':[_0x3d7079[_0x230964(0x3c8)]('a',{'className':_0x230964(0x2e1),'role':_0x230964(0x3dc),'onClick':_0x5500fa,'children':_0x3d7079[_0x230964(0x3c8)](_0x505d3e,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),_0x3d7079['jsx']('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0xdf3e3&&_0x3d7079['jsx'](_0x197b1d[_0x230964(0x2e0)],{'variant':_0x230964(0x348),'onClick':_0x287e8b,'children':_0x3f74d0['t']('editHistory.header.revert')})})]});}var _0x44c217=Object['getOwnPropertyDescriptor'],_0x50ebbe=(_0x2b8f91,_0x375167,_0x47f540,_0x2ff84f)=>{const _0x414d3d=_0x44ffc9;for(var _0x3d18f6=_0x2ff84f>0x1?void 0x0:_0x2ff84f?_0x44c217(_0x375167,_0x47f540):_0x375167,_0x482d08=_0x2b8f91[_0x414d3d(0x35e)]-0x1,_0x2694a0;_0x482d08>=0x0;_0x482d08--)(_0x2694a0=_0x2b8f91[_0x482d08])&&(_0x3d18f6=_0x2694a0(_0x3d18f6)||_0x3d18f6);return _0x3d18f6;},_0x1d8144=(_0x3f09b6,_0x412e70)=>(_0x3a8dc0,_0x1f95e0)=>_0x412e70(_0x3a8dc0,_0x1f95e0,_0x3f09b6);let _0x3a1d7e=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x3423bb,_0x52bb89,_0x5a6289,_0x136599,_0x3fdc47,_0x3ad32f){const _0x24e82e=_0x44ffc9;super(),this['_permissionService']=_0x3423bb,this[_0x24e82e(0x1cf)]=_0x52bb89,this['_messageService']=_0x5a6289,this['_localeService']=_0x136599,this[_0x24e82e(0x201)]=_0x3fdc47,this['_injector']=_0x3ad32f,this['_init']();}[_0x44ffc9(0x25e)](){const _0x5a3134=_0x44ffc9;this[_0x5a3134(0x3bb)](this[_0x5a3134(0x201)]['currentVersion$'][_0x5a3134(0x364)](_0x5bbc07=>{const _0xd97909=_0x5a3134;_0x5bbc07&&this['_historyManagerService'][_0xd97909(0x3a9)](_0x5bbc07);})),this[_0x5a3134(0x3bb)](this[_0x5a3134(0x2be)][_0x5a3134(0x281)][_0x5a3134(0x364)](_0x20f9d1=>{const _0x454fae=_0x5a3134,_0x26c6a5=this[_0x454fae(0x201)][_0x454fae(0x340)];_0x26c6a5&&(_0x20f9d1['subType']===_0x595cfb[_0x454fae(0x1fc)]&&_0x20f9d1['value']===!0x0&&this[_0x454fae(0x2be)][_0x454fae(0x2f3)](new _0x22d459['WorkbookEditablePermission'](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb['RenameSheet']&&_0x20f9d1['value']===!0x0&&this['_permissionService'][_0x454fae(0x2f3)](new _0x22d459[(_0x454fae(0x3c2))](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb['MoveSheet']&&_0x20f9d1['value']===!0x0&&this['_permissionService'][_0x454fae(0x2f3)](new _0x22d459['WorkbookMoveSheetPermission'](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb[_0x454fae(0x1a8)]&&_0x20f9d1[_0x454fae(0x20a)]===!0x0&&this['_permissionService'][_0x454fae(0x2f3)](new _0x22d459[(_0x454fae(0x327))](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb[_0x454fae(0x2d2)]&&_0x20f9d1[_0x454fae(0x20a)]===!0x0&&this[_0x454fae(0x2be)][_0x454fae(0x2f3)](new _0x22d459[(_0x454fae(0x381))](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb['FloatImg']&&_0x20f9d1[_0x454fae(0x20a)]===!0x0&&this[_0x454fae(0x2be)][_0x454fae(0x2f3)](new _0x22d459[(_0x454fae(0x381))](_0x26c6a5)['id'],!0x1));})),this[_0x5a3134(0x3bb)](this['_uiPartsService'][_0x5a3134(0x1a1)](_0xd6c0fb[_0x5a3134(0x275)][_0x5a3134(0x1ac)],()=>_0xd6c0fb[_0x5a3134(0x1af)](_0x402cd4,this[_0x5a3134(0x3b7)])));let _0x556d33;this[_0x5a3134(0x3bb)](this['_historyManagerService'][_0x5a3134(0x3c4)][_0x5a3134(0x364)](_0x4a86d9=>{const _0x257569=_0x5a3134;_0x556d33==null||_0x556d33[_0x257569(0x2ee)](),_0x4a86d9===_0x2adc54[_0x257569(0x1c9)]&&(this[_0x257569(0x201)][_0x257569(0x20e)](),_0x556d33=this[_0x257569(0x263)][_0x257569(0x229)]({'type':_0x197b1d[_0x257569(0x3ae)][_0x257569(0x3c9)],'content':this[_0x257569(0x2c2)]['t'](_0x257569(0x3dd))})),_0x4a86d9===_0x2adc54[_0x257569(0x1d9)]&&this[_0x257569(0x201)][_0x257569(0x2da)]();}));}};_0x3a1d7e=_0x50ebbe([_0x1d8144(0x0,_0x2b1020[_0x44ffc9(0x35a)]),_0x1d8144(0x1,_0xd6c0fb[_0x44ffc9(0x208)]),_0x1d8144(0x2,_0xd6c0fb[_0x44ffc9(0x3ec)]),_0x1d8144(0x3,_0x2b1020[_0x44ffc9(0x33e)](_0x2b1020[_0x44ffc9(0x325)])),_0x1d8144(0x4,_0x2b1020[_0x44ffc9(0x33e)](_0x1dc907[_0x44ffc9(0x358)])),_0x1d8144(0x5,_0x2b1020['Inject'](_0x2b1020['Injector']))],_0x3a1d7e);var _0xa26c03=Object[_0x44ffc9(0x2ab)],_0x5dd3d3=(_0x1c86fa,_0x48e116,_0x540d6b,_0x55ead4)=>{const _0x5adcd0=_0x44ffc9;for(var _0x50c357=_0x55ead4>0x1?void 0x0:_0x55ead4?_0xa26c03(_0x48e116,_0x540d6b):_0x48e116,_0x9f4c0c=_0x1c86fa[_0x5adcd0(0x35e)]-0x1,_0x22292c;_0x9f4c0c>=0x0;_0x9f4c0c--)(_0x22292c=_0x1c86fa[_0x9f4c0c])&&(_0x50c357=_0x22292c(_0x50c357)||_0x50c357);return _0x50c357;},_0x493742=(_0x52b295,_0x3824c6)=>(_0x24ec49,_0x1cd6e3)=>_0x3824c6(_0x24ec49,_0x1cd6e3,_0x52b295);let _0x1d4592=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x1ca95c,_0xa58e29,_0x3ebe8f){const _0x76abc8=_0x44ffc9;super(),_0x216b91(this,_0x76abc8(0x24c),new Map()),_0x216b91(this,_0x76abc8(0x34c),new _0x23366c[(_0x76abc8(0x224))]({'ranges':new Map(),'active':null})),_0x216b91(this,_0x76abc8(0x292),this[_0x76abc8(0x34c)][_0x76abc8(0x25b)]()),(this[_0x76abc8(0x201)]=_0x1ca95c,this[_0x76abc8(0x3f3)]=_0xa58e29,this[_0x76abc8(0x3de)]=_0x3ebe8f,this[_0x76abc8(0x25e)]());}['_init'](){const _0x4e742b=_0x44ffc9;this[_0x4e742b(0x24c)]=new Map(),this[_0x4e742b(0x3bb)](this[_0x4e742b(0x201)][_0x4e742b(0x206)]['subscribe'](_0x34ab40=>{const _0x497910=_0x4e742b;_0x34ab40&&!this['_diffRangesMap'][_0x497910(0x2b1)](_0x34ab40)&&this['_diffRangesMap'][_0x497910(0x23f)](_0x34ab40,new Map());})),this['disposeWithMe'](this[_0x4e742b(0x201)]['currentVersion$'][_0x4e742b(0x364)](async _0x374a79=>{const _0x2f3768=_0x4e742b;var _0x360b22;_0x374a79&&(await this[_0x2f3768(0x1de)](_0x374a79),this[_0x2f3768(0x34c)][_0x2f3768(0x3a6)](((_0x360b22=this[_0x2f3768(0x24c)][_0x2f3768(0x282)](this['_historyManagerService'][_0x2f3768(0x340)]))==null?void 0x0:_0x360b22[_0x2f3768(0x282)](_0x374a79))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x4a6050){const _0x367ebb=_0x44ffc9;var _0x4ee1ff,_0x40d51b;const _0x308ad6=this[_0x367ebb(0x201)][_0x367ebb(0x37e)](_0x4a6050),_0x234927=this[_0x367ebb(0x201)][_0x367ebb(0x340)];if(!_0x308ad6||!_0x234927)return;const _0x453717=this[_0x367ebb(0x24c)][_0x367ebb(0x282)](_0x234927);if(_0x453717||this[_0x367ebb(0x24c)][_0x367ebb(0x23f)](_0x234927,new Map()),(_0x4ee1ff=this['_diffRangesMap'][_0x367ebb(0x282)](_0x234927))!=null&&_0x4ee1ff[_0x367ebb(0x2b1)](_0x308ad6['id']))return;const {startRev:_0x15e8bf,endRev:_0x289609}=_0x308ad6;if(_0x15e8bf===0x1){_0x453717['set'](_0x308ad6['id'],{'ranges':new Map(),'active':null});return;}const _0x1e8105=_0x15e8bf-0x1,_0x430139=_0x289609,_0x311e98=await this[_0x367ebb(0x3de)][_0x367ebb(0x3ce)]({},{'unitID':_0x234927,'from':_0x1e8105,'to':_0x430139,'type':_0x3fc599[_0x367ebb(0x23c)]});if(((_0x40d51b=_0x311e98[_0x367ebb(0x1d6)])==null?void 0x0:_0x40d51b['code'])===_0xc7a7f3['OK']){const _0x3a545b=_0x311e98[_0x367ebb(0x1d0)]['map'](_0x549a6b=>((_0x549a6b[_0x367ebb(0x387)]===null||_0x549a6b[_0x367ebb(0x387)]===void 0x0)&&(_0x549a6b[_0x367ebb(0x387)]=[]),_0x4cc1f5[_0x367ebb(0x260)](_0x549a6b)))[_0x367ebb(0x385)](_0x58ead4=>_0x58ead4[_0x367ebb(0x387)][_0x367ebb(0x385)](_0x507d50=>({..._0x507d50,'params':{..._0x507d50[_0x367ebb(0x1f6)],'memberId':_0x58ead4[_0x367ebb(0x3c6)]}})))[_0x367ebb(0x373)](),_0x196391=await this[_0x367ebb(0x32f)](_0x3a545b),_0x21e8c8=this['_getActiveSubUnitId'](_0x3a545b),_0x56d437=this[_0x367ebb(0x339)](_0x196391);_0x453717['set'](_0x308ad6['id'],{'ranges':_0x56d437,'active':_0x21e8c8});}}async[_0x44ffc9(0x32f)](_0x26e1e4){const _0x1d605c=_0x44ffc9;let _0x482dab=[];for(let _0x1b1ecb=0x0;_0x1b1ecb<_0x26e1e4[_0x1d605c(0x35e)];_0x1b1ecb++){const _0x2a0916=_0x26e1e4[_0x1b1ecb];if(_0x482dab['push'](_0x2a0916),_0x1b1ecb!==_0x26e1e4[_0x1d605c(0x35e)]-0x1){const _0x32d413=_0x26e1e4[_0x1b1ecb+0x1],_0x54b741=this[_0x1d605c(0x3f3)]['transformMutations'](_0x482dab,[_0x32d413]);_0x4cc1f5['isTransformMutationsSuccess'](_0x54b741)?_0x482dab=_0x54b741[_0x1d605c(0x3d5)]:_0x482dab=[];}_0x1b1ecb%0xa===0x0&&_0x1b1ecb>0x0&&await this[_0x1d605c(0x377)]();}return _0x482dab;}['_yieldToMain'](){return new Promise(_0x4eb926=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x4eb926(),{'timeout':0x64}):setTimeout(_0x4eb926,0x0);});}['_getActiveSubUnitId'](_0x508fe6){const _0x4898e9=_0x44ffc9;let _0x5d2e2e=[];return _0x508fe6[_0x4898e9(0x3d7)](_0x3923c2=>{const _0x406ca5=_0x4898e9;if(_0x3923c2['id']===_0x22d459[_0x406ca5(0x294)]['id']){const _0x76dc32=_0x3923c2['params'];_0x5d2e2e[_0x406ca5(0x2d0)](_0x76dc32[_0x406ca5(0x3c5)]['id']);}else{if(_0x3923c2['id']===_0x22d459['RemoveSheetMutation']['id']){const _0xa22022=_0x3923c2[_0x406ca5(0x1f6)];_0x5d2e2e[_0x406ca5(0x35e)]>0x0&&(_0x5d2e2e=_0x5d2e2e[_0x406ca5(0x223)](_0x2356cd=>_0x2356cd!==_0xa22022[_0x406ca5(0x32c)]));}else{if(_0x3923c2['id']===_0x22d459[_0x406ca5(0x39b)]['id']){const _0x1d8287=_0x3923c2[_0x406ca5(0x1f6)];_0x1d8287['hidden']?_0x5d2e2e=_0x5d2e2e[_0x406ca5(0x223)](_0x55454d=>_0x55454d!==_0x1d8287[_0x406ca5(0x32c)]):_0x5d2e2e['push'](_0x1d8287[_0x406ca5(0x32c)]);}else{const _0x58d7ea=_0x3923c2['params'];_0x58d7ea[_0x406ca5(0x32c)]&&_0x5d2e2e['push'](_0x58d7ea[_0x406ca5(0x32c)]);}}}}),_0x5d2e2e[_0x4898e9(0x35e)]>0x0?_0x5d2e2e[_0x5d2e2e[_0x4898e9(0x35e)]-0x1]:null;}['_extractRanges'](_0x1565bf){const _0x1723cc=_0x44ffc9,_0x3c1bbc=new Map();return _0x1565bf['forEach'](_0x1f9449=>{const _0x508c49=_0x1597;var _0x27a5cc,_0x582a5c;const _0x4ec578=(_0x27a5cc=_0x1f9449[_0x508c49(0x1f6)])==null?void 0x0:_0x27a5cc['memberId'];if(_0x4ec578){_0x3c1bbc['has'](_0x4ec578)||_0x3c1bbc['set'](_0x4ec578,[]);const _0x40302f=this[_0x508c49(0x1f8)](_0x1f9449);(_0x582a5c=_0x3c1bbc['get'](_0x4ec578))==null||_0x582a5c[_0x508c49(0x2d0)](..._0x40302f);}}),_0x3c1bbc[_0x1723cc(0x3d7)]((_0x2a4ddf,_0x288801)=>{const _0xe485d8=_0x1723cc;_0x3c1bbc['set'](_0x288801,this[_0xe485d8(0x390)](_0x2a4ddf));}),_0x3c1bbc;}[_0x44ffc9(0x1f8)](_0x255997){const _0x43eb63=_0x44ffc9;switch(_0x255997['id']){case _0x22d459[_0x43eb63(0x3cf)]['id']:{const _0x37250a=_0x255997['params'];return _0x37250a['rules']['map'](_0xab3bd6=>_0xab3bd6['ranges']['map'](_0x1b00f0=>({'range':_0x1b00f0,'unitId':_0x37250a[_0x43eb63(0x340)],'subUnitId':_0x37250a[_0x43eb63(0x32c)]})))[_0x43eb63(0x373)]();}case _0x22d459[_0x43eb63(0x34e)]['id']:{const _0x54c4b2=_0x255997[_0x43eb63(0x1f6)];return _0x54c4b2['ranges'][_0x43eb63(0x385)](_0x4e431e=>({'range':_0x4e431e,'unitId':_0x54c4b2[_0x43eb63(0x340)],'subUnitId':_0x54c4b2[_0x43eb63(0x32c)]}));}case _0x22d459[_0x43eb63(0x247)]['id']:{const _0x889097=_0x255997[_0x43eb63(0x1f6)];return[{'range':_0x889097[_0x43eb63(0x3cc)],'unitId':_0x889097[_0x43eb63(0x340)],'subUnitId':_0x889097[_0x43eb63(0x32c)]}];}case _0x22d459['InsertColMutation']['id']:{const _0x4a33d0=_0x255997[_0x43eb63(0x1f6)];return[{'range':_0x4a33d0['range'],'unitId':_0x4a33d0[_0x43eb63(0x340)],'subUnitId':_0x4a33d0[_0x43eb63(0x32c)]}];}case _0x22d459['MoveRangeMutation']['id']:{const _0x27e0cd=_0x255997[_0x43eb63(0x1f6)],{from:_0x47f0a8,to:_0x1694b9,unitId:_0x898f8d}=_0x27e0cd;return[{'range':_0x29e3a1(_0x47f0a8[_0x43eb63(0x20a)]),'unitId':_0x898f8d,'subUnitId':_0x47f0a8[_0x43eb63(0x32c)]},{'range':_0x29e3a1(_0x1694b9[_0x43eb63(0x20a)]),'unitId':_0x898f8d,'subUnitId':_0x1694b9['subUnitId']}];}case _0x22d459[_0x43eb63(0x1a9)]['id']:{const _0xb24151=_0x255997[_0x43eb63(0x1f6)],{unitId:_0x561bf0,subUnitId:_0x40590b,sourceRange:_0x335a5c,targetRange:_0x562a50}=_0xb24151,_0x1fe754=_0x335a5c[_0x43eb63(0x2f9)]-_0x335a5c[_0x43eb63(0x268)]+0x1;return[{'range':_0x562a50[_0x43eb63(0x268)]<=_0x335a5c[_0x43eb63(0x268)]?_0x562a50:{..._0x562a50,'startRow':_0x562a50[_0x43eb63(0x268)]-_0x1fe754,'endRow':_0x562a50[_0x43eb63(0x2f9)]-_0x1fe754},'unitId':_0x561bf0,'subUnitId':_0x40590b}];}case _0x22d459['MoveColsMutation']['id']:{const _0x403e46=_0x255997[_0x43eb63(0x1f6)],{unitId:_0x277dca,subUnitId:_0x5ed917,sourceRange:_0x477971,targetRange:_0x5be9e1}=_0x403e46,_0xb19d7c=_0x477971['endColumn']-_0x477971['startColumn']+0x1;return[{'range':_0x5be9e1['startColumn']<=_0x477971[_0x43eb63(0x28f)]?_0x5be9e1:{..._0x5be9e1,'startColumn':_0x5be9e1[_0x43eb63(0x28f)]-_0xb19d7c,'endColumn':_0x5be9e1[_0x43eb63(0x3f0)]-_0xb19d7c},'unitId':_0x277dca,'subUnitId':_0x5ed917}];}case _0x22d459[_0x43eb63(0x286)]['id']:{const _0x1fb96f=_0x255997[_0x43eb63(0x1f6)],{values:_0x576c8c,unitId:_0x14941e,subUnitId:_0x5adddd}=_0x1fb96f;return Object['values'](_0x576c8c)[_0x43eb63(0x385)](_0x512e4e=>_0x512e4e[_0x43eb63(0x1da)][_0x43eb63(0x385)](_0x2709bf=>({'range':_0x2709bf,'unitId':_0x14941e,'subUnitId':_0x5adddd})))[_0x43eb63(0x373)]();}case _0x22d459[_0x43eb63(0x371)]['id']:{const _0x489347=_0x255997[_0x43eb63(0x1f6)],{ranges:_0x1fd9bc,unitId:_0x41a020,subUnitId:_0x42c37b}=_0x489347;return _0x1fd9bc[_0x43eb63(0x385)](_0x13cbc0=>({'range':_0x13cbc0,'unitId':_0x41a020,'subUnitId':_0x42c37b}));}case _0x22d459['ReorderRangeMutation']['id']:{const _0x5bd411=_0x255997['params'],{unitId:_0x19031e,subUnitId:_0xcb83db,range:_0x2fc422}=_0x5bd411;return[{'range':_0x2fc422,'unitId':_0x19031e,'subUnitId':_0xcb83db}];}case _0x22d459[_0x43eb63(0x352)]['id']:{const _0x39ed38=_0x255997[_0x43eb63(0x1f6)];return _0x39ed38[_0x43eb63(0x37c)][_0x43eb63(0x1da)][_0x43eb63(0x385)](_0x17d1c6=>({'range':_0x17d1c6,'unitId':_0x39ed38[_0x43eb63(0x340)],'subUnitId':_0x39ed38[_0x43eb63(0x32c)]}));}case _0x22d459[_0x43eb63(0x39e)]['id']:{const _0x274740=_0x255997[_0x43eb63(0x1f6)];return _0x274740[_0x43eb63(0x30c)]?_0x1c5df7(_0x274740['cellValue'])[_0x43eb63(0x385)](_0x1d7a35=>({'range':_0x1d7a35,'unitId':_0x274740['unitId'],'subUnitId':_0x274740[_0x43eb63(0x32c)]})):[];}case _0x3b8e1d[_0x43eb63(0x2b3)]['id']:{const _0x3ba1a4=_0x255997['params'];return[{'range':_0x3ba1a4[_0x43eb63(0x3cc)],'unitId':_0x3ba1a4[_0x43eb63(0x340)],'subUnitId':_0x3ba1a4[_0x43eb63(0x32c)]}];}case _0x25fe08['AddDataValidationMutation']['id']:{const _0x3f11fc=_0x255997[_0x43eb63(0x1f6)];return(Array[_0x43eb63(0x360)](_0x3f11fc[_0x43eb63(0x37c)])?_0x3f11fc[_0x43eb63(0x37c)]:[_0x3f11fc[_0x43eb63(0x37c)]])['map'](_0x522273=>_0x522273[_0x43eb63(0x1da)][_0x43eb63(0x385)](_0x3098ae=>({'range':_0x3098ae,'unitId':_0x3f11fc[_0x43eb63(0x340)],'subUnitId':_0x3f11fc[_0x43eb63(0x32c)]})))[_0x43eb63(0x373)]();}case _0x42b7a9[_0x43eb63(0x2ef)]['id']:{const _0x343f9e=_0x255997[_0x43eb63(0x1f6)];return _0x343f9e[_0x43eb63(0x37c)]['ranges']['map'](_0x50c27a=>({'range':_0x50c27a,'unitId':_0x343f9e[_0x43eb63(0x340)],'subUnitId':_0x343f9e['subUnitId']}));}default:return[];}}[_0x44ffc9(0x390)](_0x1fcf5f){const _0x561d12=_0x44ffc9;if(_0x1fcf5f[_0x561d12(0x35e)]<=0x1)return _0x1fcf5f;const _0x22f781=new Map();return _0x1fcf5f['forEach'](_0x40d6f2=>{const _0x2177d4=_0x561d12;var _0x1323ef;const {unitId:_0x4c706b,subUnitId:_0x26b063}=_0x40d6f2,_0x428b19=_0x4c706b+'-'+_0x26b063;_0x22f781[_0x2177d4(0x2b1)](_0x428b19)?(_0x1323ef=_0x22f781[_0x2177d4(0x282)](_0x428b19))==null||_0x1323ef[_0x2177d4(0x2d0)](_0x40d6f2):_0x22f781['set'](_0x428b19,[_0x40d6f2]);}),Array[_0x561d12(0x2e3)](_0x22f781[_0x561d12(0x1c0)]())[_0x561d12(0x385)](_0x4950de=>new _0x22d459[(_0x561d12(0x37f))]()['add'](..._0x4950de[_0x561d12(0x385)](_0x5ef00c=>_0x5ef00c['range']))['merge']()[_0x561d12(0x385)](_0x46943f=>({'range':_0x46943f,'unitId':_0x4950de[0x0][_0x561d12(0x340)],'subUnitId':_0x4950de[0x0][_0x561d12(0x32c)]})))[_0x561d12(0x373)]();}};_0x1d4592=_0x5dd3d3([_0x493742(0x0,_0x2b1020[_0x44ffc9(0x33e)](_0x1dc907[_0x44ffc9(0x358)])),_0x493742(0x1,_0x4cc1f5[_0x44ffc9(0x305)]),_0x493742(0x2,_0x4cc1f5['ISnapshotServerService'])],_0x1d4592);function _0x29e3a1(_0x56a62d){const _0x373b1e=_0x44ffc9;return new _0x2b1020[(_0x373b1e(0x32d))](_0x56a62d)[_0x373b1e(0x38a)]();}function _0x1c5df7(_0x339a56){const _0x449652=_0x44ffc9,_0x3c9b25=new _0x2b1020[(_0x449652(0x32d))](_0x339a56),_0x45941b=new _0x2b1020[(_0x449652(0x32d))]();return _0x3c9b25[_0x449652(0x20b)]((_0x3f999b,_0x3db144)=>{_0x45941b['setValue'](_0x3f999b,_0x3db144,0x1);}),_0x22d459['findAllRectangle'](_0x45941b);}var _0x4eec02=Object[_0x44ffc9(0x2ab)],_0x2fa159=(_0x41824d,_0x35beb4,_0x4ef8c5,_0x2c7b55)=>{const _0x3e3943=_0x44ffc9;for(var _0x117c74=_0x2c7b55>0x1?void 0x0:_0x2c7b55?_0x4eec02(_0x35beb4,_0x4ef8c5):_0x35beb4,_0x3d5ffb=_0x41824d[_0x3e3943(0x35e)]-0x1,_0xf4ec78;_0x3d5ffb>=0x0;_0x3d5ffb--)(_0xf4ec78=_0x41824d[_0x3d5ffb])&&(_0x117c74=_0xf4ec78(_0x117c74)||_0x117c74);return _0x117c74;},_0x3dc02d=(_0x32e46b,_0x585275)=>(_0x5e7cf8,_0x510e51)=>_0x585275(_0x5e7cf8,_0x510e51,_0x32e46b);let _0x2172b4=class extends _0x2b1020['Disposable']{constructor(_0x5ef754,_0x45ae03,_0x4bfc9d,_0x1964e8,_0xf4d094,_0x597995,_0x4a9fa9){const _0x56d405=_0x44ffc9;super(),_0x216b91(this,_0x56d405(0x1cb),new Set()),_0x216b91(this,_0x56d405(0x34a),null),(this[_0x56d405(0x24f)]=_0x5ef754,this[_0x56d405(0x201)]=_0x45ae03,this['_versionDiffService']=_0x4bfc9d,this[_0x56d405(0x27a)]=_0x1964e8,this[_0x56d405(0x295)]=_0xf4d094,this['_sheetSkeletonManagerService']=_0x597995,this['_commandService']=_0x4a9fa9,this[_0x56d405(0x25e)]());}[_0x44ffc9(0x25e)](){const _0x22c10d=_0x44ffc9;this[_0x22c10d(0x1b5)](),this[_0x22c10d(0x273)]();}[_0x44ffc9(0x1b5)](){const _0x3c4ea2=_0x44ffc9;this[_0x3c4ea2(0x3bb)](_0x23366c[_0x3c4ea2(0x1a7)]([this['_historyManagerService'][_0x3c4ea2(0x3c4)],this['_sheetSkeletonManagerService'][_0x3c4ea2(0x1e5)]])[_0x3c4ea2(0x349)](_0x23366c[_0x3c4ea2(0x2dc)](([_0x3a7b26,_0x1b1c2e])=>{const _0x59c273=_0x3c4ea2;if(_0x3a7b26===_0x2adc54[_0x59c273(0x1d9)]&&_0x1b1c2e){const _0x3721b4=_0x1b1c2e['sheetId'];return this[_0x59c273(0x1b8)][_0x59c273(0x292)]['pipe'](_0x23366c['map'](_0x1725fd=>{const _0x135830=_0x59c273,_0x96ad4=new Map();return _0x1725fd[_0x135830(0x1da)][_0x135830(0x3d7)]((_0x4bc26b,_0x12c3ff)=>{const _0x50ba2d=_0x135830,_0x44aa91=_0x4bc26b[_0x50ba2d(0x223)](_0x55c383=>_0x55c383[_0x50ba2d(0x32c)]===_0x3721b4);_0x96ad4[_0x50ba2d(0x23f)](_0x12c3ff,_0x44aa91);}),{'skeleton':_0x1b1c2e,'diffs':_0x96ad4};}));}return _0x23366c['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x825843,diffs:_0xed326d})=>{const _0x19a2eb=_0x3c4ea2;this[_0x19a2eb(0x2ff)](),_0x825843&&this['_updateDiffMarks'](_0x825843,_0xed326d);})),this[_0x3c4ea2(0x3bb)](this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3c4ea2(0x364)](_0x5cb626=>{const _0xf7d225=_0x3c4ea2;if(_0x5cb626==null)return;const {skeleton:_0x2779e9}=_0x5cb626,{scene:_0x442ced}=this[_0xf7d225(0x24f)];_0x442ced[_0xf7d225(0x386)][_0xf7d225(0x345)](_0x2b1020[_0xf7d225(0x1d7)](_0x1dafdb=>{const _0x19d6cf=_0xf7d225;var _0x138914,_0x2a8001;const {offsetX:_0x17537a,offsetY:_0x7a10f4}=_0x1dafdb,{x:_0x2312fb,y:_0xf742e2}=_0x442ced[_0x19d6cf(0x22f)](_0x404f3a[_0x19d6cf(0x245)][_0x19d6cf(0x2d1)]([_0x17537a,_0x7a10f4])),{scaleX:_0x169aed,scaleY:_0x4bdfb1}=_0x442ced[_0x19d6cf(0x1b4)](),_0x59e462=_0x442ced[_0x19d6cf(0x31f)](_0x404f3a['SHEET_VIEWPORT_KEY'][_0x19d6cf(0x28a)]),_0x62abb1=_0x442ced[_0x19d6cf(0x269)](_0x404f3a[_0x19d6cf(0x245)][_0x19d6cf(0x2d1)]([_0x2312fb,_0xf742e2]),_0x59e462),_0x3e5154=_0x2779e9[_0x19d6cf(0x228)](_0x17537a,_0x7a10f4,_0x169aed,_0x4bdfb1,_0x62abb1);((_0x138914=this[_0x19d6cf(0x34a)])==null?void 0x0:_0x138914[_0x19d6cf(0x24e)])===_0x3e5154['column']&&((_0x2a8001=this[_0x19d6cf(0x34a)])==null?void 0x0:_0x2a8001[_0x19d6cf(0x391)])===_0x3e5154[_0x19d6cf(0x391)]||this[_0x19d6cf(0x1cb)]['forEach'](_0x42a8c9=>{const _0x1ca868=_0x19d6cf;_0x42a8c9[_0x1ca868(0x242)](_0x3e5154);});},0x64));}));}['_initActiveSwitch'](){const _0x4b13f9=_0x44ffc9;this[_0x4b13f9(0x3bb)](this[_0x4b13f9(0x201)]['loadingState$'][_0x4b13f9(0x364)](_0x3518e6=>{const _0x55e534=_0x4b13f9,_0x281e3c=new _0x2b1020[(_0x55e534(0x1c3))]();return _0x3518e6===_0x2adc54[_0x55e534(0x1d9)]&&(_0x281e3c[_0x55e534(0x2ee)](),_0x281e3c[_0x55e534(0x26e)](this[_0x55e534(0x1b8)][_0x55e534(0x292)][_0x55e534(0x364)](_0xb4455a=>{const _0x20db19=_0x55e534;_0xb4455a[_0x20db19(0x3ee)]&&this[_0x20db19(0x1cd)][_0x20db19(0x3ba)](_0x22d459[_0x20db19(0x26d)]['id'],{'unitId':this['_context'][_0x20db19(0x340)],'subUnitId':_0xb4455a[_0x20db19(0x3ee)]});}))),()=>_0x281e3c['dispose']();}));}['_updateDiffMarks'](_0x3f7f59,_0xb33ae2){const _0x94a8a3=_0x44ffc9;var _0x286596;const _0x502b42=(_0x286596=this['_sheetSkeletonManagerService'][_0x94a8a3(0x2cd)]())==null?void 0x0:_0x286596[_0x94a8a3(0x2f4)];if(!_0x502b42)return;this[_0x94a8a3(0x1cb)][_0x94a8a3(0x3d7)](_0x3c32fe=>{const _0x1ec916=_0x94a8a3;_0x3c32fe[_0x1ec916(0x249)]();});const {scene:_0x1ca307}=this[_0x94a8a3(0x24f)],_0x7bd39=Array[_0x94a8a3(0x2e3)](_0xb33ae2['keys']())[_0x94a8a3(0x385)](_0x14b858=>_0xb33ae2['get'](_0x14b858)['map'](_0x1eee6b=>{const _0x14efa2=_0x94a8a3;var _0x2cfe89;const {range:_0x3c8591,subUnitId:_0x5eeb88,unitId:_0x4ace3f}=_0x1eee6b,{startColumn:_0x41eeac,startRow:_0x81817b,endColumn:_0x5a5273,endRow:_0x59176c}=_0x3c8591,_0xe90e9b=_0x40443a[_0x14efa2(0x306)](_0x81817b,_0x41eeac,_0x1ca307,_0x502b42),_0x1408f2=_0x40443a['getCoordByCell'](_0x59176c,_0x5a5273,_0x1ca307,_0x502b42),{columnHeaderHeightAndMarginTop:_0xbc0e44}=_0x502b42,{startX:_0x128ca6,startY:_0x2dca24}=_0xe90e9b,{endX:_0x2abe69,endY:_0x358c69}=_0x1408f2,_0x56aa21=_0x2abe69-_0x128ca6,_0x152894=_0x358c69-_0x2dca24,_0xdd8c57={'labelPosition':_0x2dca24-_0xbc0e44>=0x14?_0x14efa2(0x375):_0x14efa2(0x372),'sheetID':_0x5eeb88,'range':_0x3c8591,'color':_0x14efa2(0x3a2),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x2cfe89=this[_0x14efa2(0x201)][_0x14efa2(0x1ef)](_0x14b858))==null?void 0x0:_0x2cfe89[_0x14efa2(0x354)])||'','selection':_0x4ace3f+'-'+_0x5eeb88+'-'+_0x3c8591[_0x14efa2(0x28f)]+'-'+_0x3c8591[_0x14efa2(0x268)]+'-'+_0x3c8591['endColumn']+'-'+_0x3c8591['endRow'],'left':_0x128ca6,'top':_0x2dca24,'width':_0x56aa21,'height':_0x152894,'evented':!0x1,'zIndex':0x1};return new _0x36b411[(_0x14efa2(0x221))]('',_0xdd8c57);}))[_0x94a8a3(0x373)]();_0x1ca307['addObjects'](_0x7bd39,0x1),this[_0x94a8a3(0x1cb)]=new Set(_0x7bd39);}[_0x44ffc9(0x2ff)](){const _0x2005c9=_0x44ffc9;var _0x466c62;(_0x466c62=this[_0x2005c9(0x1cb)])==null||_0x466c62[_0x2005c9(0x3d7)](_0x3ab134=>_0x3ab134[_0x2005c9(0x2ee)]());}[_0x44ffc9(0x267)](){const _0x58432c=_0x44ffc9;return _0x40443a[_0x58432c(0x1b6)](this[_0x58432c(0x27a)],this[_0x58432c(0x295)]);}};_0x2172b4=_0x2fa159([_0x3dc02d(0x1,_0x2b1020['Inject'](_0x1dc907[_0x44ffc9(0x358)])),_0x3dc02d(0x2,_0x2b1020['Inject'](_0x1d4592)),_0x3dc02d(0x3,_0x2b1020['IUniverInstanceService']),_0x3dc02d(0x4,_0x404f3a[_0x44ffc9(0x236)]),_0x3dc02d(0x5,_0x2b1020[_0x44ffc9(0x33e)](_0x40443a['SheetSkeletonManagerService'])),_0x3dc02d(0x6,_0x2b1020['ICommandService'])],_0x2172b4);function _0x37292c(){const _0x28f720=_0x44ffc9,_0x11390e=_0xd6c0fb['useDependency'](_0x1dc907[_0x28f720(0x358)]),_0x173fe3=_0xd6c0fb[_0x28f720(0x227)](_0x11390e[_0x28f720(0x207)]),[_0xf2605c,_0x2bddc9]=_0x2cee47[_0x28f720(0x298)](!0x1),_0x3bd20a=_0x4a3c73(_0x173fe3);return _0x173fe3?_0x3d7079['jsx']('div',{'className':_0x28f720(0x3a3),'children':_0x3d7079[_0x28f720(0x2a9)](_0x28f720(0x365),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x3bd20a[_0x28f720(0x385)]((_0x57e6b4,_0x5abb7b)=>_0x3d7079['jsxs'](_0x2cee47[_0x28f720(0x230)],{'children':[_0x3d7079[_0x28f720(0x3c8)](_0x3c7e43,{'date':_0x57e6b4['dateString']}),_0x57e6b4[_0x28f720(0x2a1)][_0x28f720(0x385)]((_0x266375,_0x56ad92)=>_0x3d7079['jsx'](_0x57274a,{'index':[_0x5abb7b,_0x56ad92],'item':_0x266375},_0x5abb7b+'-'+_0x56ad92))]},_0x57e6b4[_0x28f720(0x25f)])),_0xf2605c&&_0x3d7079[_0x28f720(0x3c8)](_0x479a08,{})]})}):_0x3d7079['jsx'](_0xbd7a5d,{});}function _0x479a08(){const _0x257c7a=_0x44ffc9;return _0x3d7079[_0x257c7a(0x3c8)](_0x257c7a(0x365),{'className':_0x257c7a(0x2c4),'children':_0x3d7079[_0x257c7a(0x3c8)](_0x360cfe,{'className':'univer-animate-spin'})});}function _0xbd7a5d(){const _0x1f2372=_0x44ffc9;return _0x3d7079['jsx']('div',{'className':_0x1f2372(0x1df),'children':_0x3d7079[_0x1f2372(0x3c8)](_0x1f2372(0x203),{'className':_0x1f2372(0x3ea),'children':_0x3d7079[_0x1f2372(0x3c8)](_0x360cfe,{'className':_0x1f2372(0x3d4)})})});}function _0x3c7e43(_0x1f26f5){const _0x2dec9d=_0x44ffc9,_0x15e510=_0xd6c0fb['useDependency'](_0x2b1020[_0x2dec9d(0x325)]),{date:_0x1db55d}=_0x1f26f5;return _0x3d7079[_0x2dec9d(0x3c8)](_0x2dec9d(0x365),{'className':_0x2dec9d(0x290),'children':_0x1f73d9(_0x1db55d,_0x15e510[_0x2dec9d(0x231)]())});}function _0x57274a(_0x19dcd9){const _0x59f4ea=_0x44ffc9,{item:_0x4ca7e1,index:_0x34b524}=_0x19dcd9,{time:_0x588863,user:_0x51eb4f}=_0x4ca7e1,[_0x2b6b35,_0x455c3f]=_0x34b524,_0x5d7328=_0xd6c0fb[_0x59f4ea(0x1a4)](_0x1dc907[_0x59f4ea(0x358)]),_0x1599a2=_0xd6c0fb[_0x59f4ea(0x227)](_0x5d7328[_0x59f4ea(0x2fe)],'',!0x0)===_0x4ca7e1['id'],_0x15fda9=_0x2b6b35===0x0&&_0x455c3f===0x0,_0x4ea326=!_0x15fda9&&_0x5d7328['canRevert'],_0x2a1ce3=_0xd6c0fb[_0x59f4ea(0x1a4)](_0x2b1020[_0x59f4ea(0x325)]),_0x103cef=_0x2a1ce3[_0x59f4ea(0x231)](),_0x19a570=_0x122189(_0x588863,_0x103cef),_0x2aa671=_0x2a1ce3['t'](_0x59f4ea(0x2a6)),_0xbc7456=_0x2cee47[_0x59f4ea(0x346)](_0x2ad36b=>{const _0x2584ec=_0x59f4ea;_0x5d7328[_0x2584ec(0x31d)]!==_0x2adc54[_0x2584ec(0x1c9)]&&(_0x5d7328['currentVersion']=_0x2ad36b);},[_0x5d7328]),_0x1193be=_0x2cee47[_0x59f4ea(0x346)](_0x55db10=>{const _0x49e128=_0x59f4ea;_0x5d7328[_0x49e128(0x2b5)](_0x55db10);},[_0x5d7328]);return _0x3d7079[_0x59f4ea(0x2a9)]('div',{'className':_0x197b1d[_0x59f4ea(0x3ab)](_0x59f4ea(0x24a),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x1599a2}),'onClick':()=>_0xbc7456(_0x4ca7e1['id']),'children':[_0x3d7079[_0x59f4ea(0x2a9)](_0x59f4ea(0x365),{'className':_0x59f4ea(0x214),'children':[_0x3d7079[_0x59f4ea(0x2a9)](_0x59f4ea(0x365),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x3d7079['jsx']('span',{'children':_0x19a570[_0x59f4ea(0x23d)]}),_0x15fda9&&_0x3d7079[_0x59f4ea(0x3c8)](_0x59f4ea(0x203),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x2aa671})]}),_0x3d7079[_0x59f4ea(0x3c8)]('div',{'children':_0x4ea326&&_0x3d7079[_0x59f4ea(0x3c8)](_0x197b1d['Tooltip'],{'title':_0x2a1ce3['t'](_0x59f4ea(0x1c5)),'children':_0x3d7079[_0x59f4ea(0x3c8)]('div',{'onClick':_0x175914=>{const _0x358284=_0x59f4ea;_0x175914[_0x358284(0x1ce)](),_0x1193be(_0x4ca7e1['id']);},'className':_0x59f4ea(0x1e9),'children':_0x3d7079[_0x59f4ea(0x3c8)](_0x97c456,{})})})})]}),_0x3d7079[_0x59f4ea(0x3c8)](_0x59f4ea(0x365),{'className':_0x59f4ea(0x1f1),'children':_0x517423(_0x4ca7e1,_0x2a1ce3)})]});}var _0x77da65=Object[_0x44ffc9(0x2ab)],_0x58f917=(_0x2b4d6b,_0x691e4,_0x8de09,_0x3da0ca)=>{for(var _0x40177e=_0x3da0ca>0x1?void 0x0:_0x3da0ca?_0x77da65(_0x691e4,_0x8de09):_0x691e4,_0xb801d9=_0x2b4d6b['length']-0x1,_0x211fa0;_0xb801d9>=0x0;_0xb801d9--)(_0x211fa0=_0x2b4d6b[_0xb801d9])&&(_0x40177e=_0x211fa0(_0x40177e)||_0x40177e);return _0x40177e;},_0x568e7c=(_0x194f02,_0x7ab72d)=>(_0x3106a4,_0x14daf6)=>_0x7ab72d(_0x3106a4,_0x14daf6,_0x194f02);const _0x2401d6=_0x44ffc9(0x204);let _0x851966=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x2ecfc3,_0x141781,_0x434f8d,_0x101ab4,_0x2f53ac){const _0x4b49fe=_0x44ffc9;super(),_0x216b91(this,'_sidebarDisposable',null),(this[_0x4b49fe(0x320)]=_0x2ecfc3,this[_0x4b49fe(0x232)]=_0x141781,this[_0x4b49fe(0x2c2)]=_0x434f8d,this[_0x4b49fe(0x201)]=_0x101ab4,this[_0x4b49fe(0x288)]=_0x2f53ac,this[_0x4b49fe(0x25e)]());}[_0x44ffc9(0x25e)](){const _0x57170e=_0x44ffc9;this[_0x57170e(0x3af)](),this[_0x57170e(0x3d1)]();}['_openPanel'](){const _0x46ef8b=_0x44ffc9;var _0xe7887e;if(this['_sidebarDisposable'])return;const _0x1e6e12=((_0xe7887e=this[_0x46ef8b(0x288)][_0x46ef8b(0x244)](_0x2757e9))==null?void 0x0:_0xe7887e[_0x46ef8b(0x36e)])||_0x2401d6,_0x46e6b9={'header':{'title':this[_0x46ef8b(0x2c2)]['t'](_0x46ef8b(0x3e7))},'children':{'label':_0x1e6e12},'onClose':()=>{const _0x2bfa7f=_0x46ef8b;this['_sidebarDisposable']=null,this[_0x2bfa7f(0x201)][_0x2bfa7f(0x3f5)]=_0x49205b[_0x2bfa7f(0x1c7)];}};this[_0x46ef8b(0x3be)]=this[_0x46ef8b(0x320)][_0x46ef8b(0x382)]({..._0x46e6b9});}[_0x44ffc9(0x3af)](){const _0x19b1b7=_0x44ffc9;this['disposeWithMe'](this[_0x19b1b7(0x232)][_0x19b1b7(0x397)](_0x2401d6,_0x37292c)),this[_0x19b1b7(0x3bb)](this[_0x19b1b7(0x320)][_0x19b1b7(0x266)][_0x19b1b7(0x349)](_0x23366c[_0x19b1b7(0x2b7)](0x64))['subscribe'](_0x561cab=>{const _0x1975ef=_0x19b1b7,{target:_0xb0bcc6}=_0x561cab||{};if(_0xb0bcc6){const {scrollTop:_0x47dba0,scrollHeight:_0x1e5277,clientHeight:_0x13615d}=_0xb0bcc6;_0x47dba0+_0x13615d>=_0x1e5277-0x5&&this[_0x1975ef(0x201)][_0x1975ef(0x3a0)]();}}));}};_0x851966=_0x58f917([_0x568e7c(0x0,_0xd6c0fb[_0x44ffc9(0x3ed)]),_0x568e7c(0x1,_0x2b1020[_0x44ffc9(0x33e)](_0xd6c0fb['ComponentManager'])),_0x568e7c(0x2,_0x2b1020[_0x44ffc9(0x33e)](_0x2b1020[_0x44ffc9(0x325)])),_0x568e7c(0x3,_0x2b1020[_0x44ffc9(0x33e)](_0x1dc907['HistoryManagerService'])),_0x568e7c(0x4,_0x2b1020['IConfigService'])],_0x851966);class _0x22854b extends _0x2b1020['Disposable']{constructor(){const _0x3eb410=_0x44ffc9;super(),_0x216b91(this,_0x3eb410(0x350),new _0x23366c['Subject']());}[_0x44ffc9(0x382)](){const _0x3a58f8=_0x44ffc9;return _0x2b1020[_0x3a58f8(0x1d5)](()=>{});}['close'](){}[_0x44ffc9(0x24d)](_0x7e0f65){}[_0x44ffc9(0x37d)](){const _0x1b9a29=_0x44ffc9;return this['_dialogOptions$'][_0x1b9a29(0x25b)]();}}var _0x2648ff=Object[_0x44ffc9(0x353)],_0x34485e=Object['getOwnPropertyDescriptor'],_0x31dbd5=(_0x4db943,_0x30cca5,_0x563232)=>_0x30cca5 in _0x4db943?_0x2648ff(_0x4db943,_0x30cca5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x563232}):_0x4db943[_0x30cca5]=_0x563232,_0x4cdb5f=(_0x39d1c2,_0xd2ae2d,_0x1640b1,_0x36c4c7)=>{const _0x92e70=_0x44ffc9;for(var _0x12b9e9=_0x36c4c7>0x1?void 0x0:_0x36c4c7?_0x34485e(_0xd2ae2d,_0x1640b1):_0xd2ae2d,_0x550417=_0x39d1c2[_0x92e70(0x35e)]-0x1,_0x4813de;_0x550417>=0x0;_0x550417--)(_0x4813de=_0x39d1c2[_0x550417])&&(_0x12b9e9=_0x4813de(_0x12b9e9)||_0x12b9e9);return _0x12b9e9;},_0x52bab6=(_0x563f55,_0x158ae0)=>(_0x52b847,_0x43fc75)=>_0x158ae0(_0x52b847,_0x43fc75,_0x563f55),_0x7a817=(_0x315d4b,_0xbd3035,_0x4dbd33)=>_0x31dbd5(_0x315d4b,_0xbd3035+'',_0x4dbd33);const _0x153a1f='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';_0x1dc907[_0x44ffc9(0x2d6)]=class extends _0x2b1020['Plugin']{constructor(_0x5db56c=_0x43e083,_0xca6a08,_0x295317,_0x4c06eb){const _0x1be541=_0x44ffc9;super(),this[_0x1be541(0x2a2)]=_0x5db56c,this['_injector']=_0xca6a08,this[_0x1be541(0x295)]=_0x295317,this[_0x1be541(0x288)]=_0x4c06eb;const {..._0x115412}=_0x2b1020[_0x1be541(0x366)]({},_0x43e083,this[_0x1be541(0x2a2)]);this[_0x1be541(0x288)][_0x1be541(0x334)](_0x2757e9,_0x115412);}[_0x44ffc9(0x29a)](){const _0x316b59=_0x44ffc9;[[_0x1dc907[_0x316b59(0x358)]],[_0x3a1d7e],[_0x1d4592],[_0xa17f4a],[_0x851966],[_0x3868f2],[_0x4cc1f5['ISnapshotServerService'],{'useClass':_0x29afcc[_0x316b59(0x2fb)]}],[_0xd6c0fb['IDialogService'],{'useClass':_0x22854b}],[_0x2779fe[_0x316b59(0x2c1)],{'useClass':_0x29afcc[_0x316b59(0x356)]}]][_0x316b59(0x3d7)](_0x482cc9=>this[_0x316b59(0x3b7)][_0x316b59(0x26e)](_0x482cc9)),this['_injector'][_0x316b59(0x282)](_0x3a1d7e);}[_0x44ffc9(0x374)](){const _0x5876b6=_0x44ffc9;[[_0x2172b4]][_0x5876b6(0x3d7)](_0x3b835d=>{const _0x58af60=_0x5876b6;this[_0x58af60(0x3bb)](this[_0x58af60(0x295)]['registerRenderModule'](_0x2b1020[_0x58af60(0x322)][_0x58af60(0x23c)],_0x3b835d));}),this['_injector']['get'](_0x3868f2),this[_0x5876b6(0x3b7)][_0x5876b6(0x282)](_0x851966);}['onSteady'](){const _0x56b26a=_0x44ffc9;this[_0x56b26a(0x3b7)]['get'](_0x1d4592);}},_0x7a817(_0x1dc907[_0x44ffc9(0x2d6)],_0x44ffc9(0x1fb),_0x153a1f),_0x1dc907[_0x44ffc9(0x2d6)]=_0x4cdb5f([_0x2b1020[_0x44ffc9(0x313)](_0x40443a[_0x44ffc9(0x1c1)],_0x4200f5[_0x44ffc9(0x2b0)]),_0x52bab6(0x1,_0x2b1020[_0x44ffc9(0x33e)](_0x2b1020[_0x44ffc9(0x3bc)])),_0x52bab6(0x2,_0x404f3a[_0x44ffc9(0x236)]),_0x52bab6(0x3,_0x2b1020[_0x44ffc9(0x2e2)])],_0x1dc907[_0x44ffc9(0x2d6)]),_0x1dc907[_0x44ffc9(0x38c)]=_0x49205b,_0x1dc907['HistoryOrigin']=_0x5d3d5c,Object['defineProperty'](_0x1dc907,Symbol[_0x44ffc9(0x29f)],{'value':_0x44ffc9(0x254)});}));function _0x5d87(){const _0x2de5e3=['REDEMPTION_CODE_INACTIVE','InsertRow','map','onPointerMove$','mutations','HideWorksheet','padStart','getDataRange','CreatePermissionObject','HistoryModeStatus','width','includes','USER_IS_ANONYMOUS','_combineRanges','row','InsertColumn','UniverDesign','endRev','react','user','register','getUnitId','CreateUnitMutation','LICENSE_MAX_UNITS_EXCEEDED','SetWorksheetHideMutation','ENTITLE_COUPON_EXPIRED','getMinutes','SetRangeValuesMutation',':\x20(','loadMoreVersions','1em','rgba(58,\x2096,\x20247,\x200.20)','univer-overflow-hidden','displayName','RevertRevisionMutation','next','ALREADY_EXISTS','UNDEFINED','triggerLoadSheet','UniverProCollaboration','clsx','RemoveSheetMutation','height','MessageType','_initPanel','LOGIN_FAILED','LocaleType','history-mask','LICENSE_DISTRO_REJECTED','path','react/jsx-runtime','REDEMPTION_CODE_FULLY_REDEEMED','_injector','loaded','@univerjs/data-validation','executeCommand','disposeWithMe','Injector','insertSheet','_sidebarDisposable','setCF','evenodd','USER_NOT_FOUND','WorkbookRenameSheetPermission','additionalFields','loadingState$','sheet','userID','createSheet','jsx','Info','@univerjs/sheets-conditional-formatting','RecoverHistory','range','ENTITLE_INSUFFICIENT_QUOTA','fetchMissingChangesets','AddRangeProtectionMutation','attrs','_openPanel','EditExtraObject','UNIVER_UNKNOWN','univer-m-auto\x20univer-animate-spin','m1Prime','UniverCore','forEach','@univerjs-pro/sheets-chart','getCurrentVersion','CreateWorksheet','disposeUnit','button','editHistory.info.loading','_snapshotServerService','startRevision','defs','AddSheetSparklineMutation','UniverUi','loadSheet','@univerjs-pro/collaboration-client','white','MOBILE_VERIFY_CODE_MISMATCH','editHistory.panel.title','historyListServerUrl','deleteProtection','univer-text-gray-500','1000','IMessageService','ISidebarService','active','xlink:href','endColumn','loadInitialVersions','Duplicate','_transformService','0\x200\x2016\x2016','status','DeleteSheet','registerComponent','confirm','_loadingState$','useDependency','fetching','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','combineLatest','HideSheet','MoveRowsMutation','UniverIcon','init','HEADER','UniverDrawing','SetWorksheetStyle','connectInjector','_setVersions','[HistoryFetchService]:\x20request\x20snapshot\x20error!','setFrozen','amd','getAncestorScale','_initRender','getSheetObject','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_versionDiffService','commands','editHistory.action.revertSheetSuffix','YUUMI_ASYNCIO_CANCELLED','entered','ERROR_AGAIN','_workbookDataCache','@univerjs/network','values','UniverSheetsUIPlugin','INVALID_INVITE_CODE','DisposableCollection','PivotTable','editHistory.panel.revertDesc','_maskElement','Exited','entities','Loading','style','_diffs','MoveWorksheet','_commandService','stopPropagation','_uiPartsService','changesets','CHANGESET_REVISION_CONFILICT','parse','_historyFetchService','svg','toDisposable','error','debounce','getHours','Loaded','ranges','TOO_MANY_REQUESTS','getInterceptPoints','editHistory.panel.currentUser','ensureVersion','univer-flex\x20univer-items-center\x20univer-justify-center','APPLY_DUPLICATED','subType','YUUMI_AI_RUN_FAILED','UniverNetwork','REDEMPTION_INVALID_CODE','currentSkeleton$','0\x200\x2016\x2017','ViewFilter','View','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','REDEMPTION_CODE_HAS_BEEN_CREATED','MoveSheet','_updateVersions','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','revertSheet','getMember','use','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','SetCellValue','SetColumnStyle','YUUMI_TABLE_NOT_FOUND_IN_UNIT','4003360kUGOhW','params','Today','_getRangesByMutation','Error','3095491wzuZuS','pluginName','Edit','PAYMENT_CHANNEL_NOT_SUPPORT','CURRENT_STATUS_CANNOT_OPERATE','LoadingMultiIcon','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_historyManagerService','_maskContainer','span','history-panel','EMAIL_VERIFY_CODE_MISMATCH','unitId$','versions$','IUIPartsService','toISOString','value','forValue','/list?','backgroundColor','showMask','Filter','color','loadHistoryCreatorList','YUUMI_ALL_TABLES_IS_INVALID','focusUnit','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','INVITE_CODE_HAS_BEEN_UES','replace','11452208NVAgJw','REDEMPTION_CODE_NOT_STARTED','DeleteWorksheet','left','random','addProtection','ZH_CN','CopySheet','recoverTime','UNAUTHENTICATED','SheetCollabCursorShape','SetCellStyle','filter','BehaviorSubject','rect','YUUMI_CONNECTOR_URL_NOT_FOUND','useObservable','getCellPositionByOffset','show','@univerjs-pro/collaboration','code','action','_unitId$','users','getRelativeToViewportCoord','Fragment','getCurrentLocale','_componentManager','edit-history-viewer.config','_hasMore','restore-icon_clip0_1247_2','IRenderManagerService','state$','status$','creators$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_SHEET','time','colorChannel1','set','center','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','onMouseMove','4psudjR','getConfig','Vector2','endRevision','InsertRowMutation','getDeserializedSheetBlock','makeDirty','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','LOGIN_TOKEN_PROCESSING_FAILED','_diffRangesMap','closeAll','column','_context','ManageCollaborator','split','SetRowStyle','ENTITLE_COUPON_USED_UP','Module','16OlqgID','_sheetPermissionInitController','DeleteRangeProtectionMutation','UpdateDataValidationMutation','IConfirmService','editHistory.panel.cancel','asObservable','_creators$','data','_init','dateString','parseProtocolChangeset','Character','_setFetching','_messageService','trim','entries','scrollEvent$','_getSheetObject','startRow','getVpScrollXYInfoByPosToVp','COMPRESS_MUTATION_APPLY','_members','date','SetWorksheetActiveOperation','add','userId','ENTITLE_NEED_BILLING_ADDRESS','UniverSheetsFilter','LICENSE_EXPORT_SIZE_EXCEEDED','_initActiveSwitch','UniverSheets','BuiltInUIPart','DeleteColumn','blockMeta','ICellEditorManagerService','setDV','_univerInstanceService','_versions$','some','Sort','_revertRevision$','syncExecuteCommand','APPLY_REJECT','permissionPointUpdate$','get','@univerjs/sheets-filter','tag','#0B9EFB','SetNumfmtMutation','@univerjs/drawing','_configService','SelectUnProtectedCells','VIEW_MAIN','append','RestoreIcon','.univer-app-container-content','_createUnit','startColumn','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','currentVersionDiff$','all','InsertSheetMutation','_renderManagerService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','createTime','useState','100%','onStarting','display','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_SUBSCRIPTION_NOT_FOUND','editSheet','toStringTag','_status$','versions','_config','body','url(#$1','getCurrentUnitForType','editHistory.panel.currentVersion','USER_NOT_INVITED_CODE','INTERNAL_ERROR','jsxs','hasCommand','getOwnPropertyDescriptor','children','mask','UniverProEditHistoryViewer','RenameSheet','UniverNetworkPlugin','has','none','SetSheetsFilterRangeMutation','editHistory.panel.listFetchError','triggerRevert','AddDataValidationMutation','debounceTime','DeleteWorksheetProtectionMutation','RenameWorksheet','getElementById','YUUMI_UNABLE_LOAD_URL','_currentVersion$','YUUMI_RATE_OVER_LIMIT','_permissionService','_getAPIPrefix','UniverProSheetsChart','IImageIoService','_localeService','_compressMutationService','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','idSuffix','PY_RUNTIME_SCRIPT_ERROR','PERMISSION_DENIED','801UCMzdk','toString','InsertSheetsChartMutation','ViemRwHgtClWdt','fetchCreatorList','getCurrent','string','command','push','FromArray','Comment','loading','forwardRef','ENSURE_SNAPSHOT_EXECUTION','UniverEditHistoryViewerPlugin','4180230FDMJDx','LICENSE_IMPORT_SIZE_EXCEEDED','absolute','hideMask','querySelector','switchMap','VIRTUAL_VERSION_NOW','assign','WECHAT_HAS_BEEN_BOUND','Button','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','IConfigService','from','Copy','ICommandService','EMAIL_HAS_BEEN_BOUND','now','/universer-api/history','ENTITLE_USE_COUPON_NOT_1ST_TRADE','UniverProCollaborationClientUi','_httpService','@univerjs/sheets','editHistory.panel.revertConfirmText','dispose','SetConditionalRuleMutation','userIds','getVersions','defIds','updatePermissionPoint','skeleton','editHistory.action.etc','Delete','getSeconds','DeleteRow','endRow','ISnapshotServerService','SnapshotServerOverHTTPService','UNIVER_SLIDE','editHistory.action.','currentVersion$','_removeDiffMarks','restore-icon','currentColor','setFilter','APPLY_PERMISSION_DENIED','ENTITLE_INVALID_COUPON_CODE','ITransformService','getCoordByCell','_historyContainerId','CreateSheet','ENTITLE_CHAT_LIMIT_EXCEED','FloatImg','592900JDGmdg','cellValue','_cellEditorManagerService','UniverProCollaborationClient','AUTHORIZE_CODE_ILLEGAL','currentVersion','Init','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','DependentOn','createElement','fill','http://www.w3.org/2000/svg','Print','UniverSheetsConditionalFormatting','ENTITLE_REPORT_LIMIT_EXCEED','Export','transformSnapshotToWorkbookData','anonymous','loadingState','ViewHistory','getViewport','_sidebarService','UNIVER_PROJECT','UniverInstanceType','_confirmService','revertRevision$','LocaleService','COMPLETION_FINISHED','WorkbookHideSheetPermission','UNRECOGNIZED','rxjs','origin','blocks','subUnitId','ObjectMatrix','_lastLabel','_transformMutationByOrder','AddWorksheetProtectionMutation','setState','1274793fXtKvn','_fetching$','setConfig','creators','@univerjs-pro/collaboration-client-ui','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','confirm-revert-revision','_extractRanges','SetFrozenMutation','@univerjs-pro/sheets-sparkline','_canRevert','InsertHyperlink','Inject','UniverProSheetsSparkline','unitId','UNIVER_DOC','Share','workbook','History','subscribeEvent','useCallback','_createMask','primary','pipe','_lastPointer','current','_currentVersionDiff$','lastLabel','AddWorksheetMergeMutation','fetching$','_dialogOptions$','User','SetRangeProtectionMutation','defineProperty','name','ENTITLE_DUP_SUBSCRIPTION','CollaborationImageIoService','AddConditionalRuleMutation','HistoryManagerService','RwHgtClWdt','IPermissionService','YUUMI_NO_CUBOID_FOR_QUESTION','className','APPLY_REVISION_CONFILICT','length','Disposable','isArray','useRef','_loadParams','SNAPSHOT_HAS_BEEN_REMOVED','subscribe','div','merge','_initMaskContainer','NOT_FOUND','INVITE_CODE_REQUIRED','editHistory.action.revertSheetPrefix','zIndex','DATA_SOURCE_TOO_LARGE','interceptor','historyPanelComponentKey','MOBILE_HAS_BEEN_BOUND','addSparkline','RemoveNumfmtMutation','bottom','flat','onRendered','top','rgba(225,\x20225,\x20225,\x200.5)','_yieldToMain','position','147380dykjQE','canRevert','APPLY_NON_SEQUENTIAL_REVISION','rule','getDialogs$','getVersion','RangeMergeUtil','CONNECTOR_DATA_TOO_LARGE','WorkbookEditablePermission','open'];_0x5d87=function(){return _0x2de5e3;};return _0x5d87();}
17
+ function _0x1234(_0x5dfced,_0x389ad5){_0x5dfced=_0x5dfced-0xe3;const _0xddf457=_0xddf4();let _0x123474=_0xddf457[_0x5dfced];return _0x123474;}(function(_0x51a992,_0x3c6235){const _0x2b0c0d=_0x1234,_0x4bc7a3=_0x51a992();while(!![]){try{const _0x1bca38=-parseInt(_0x2b0c0d(0x17f))/0x1*(-parseInt(_0x2b0c0d(0x188))/0x2)+-parseInt(_0x2b0c0d(0x29c))/0x3*(-parseInt(_0x2b0c0d(0x13c))/0x4)+parseInt(_0x2b0c0d(0x30e))/0x5*(parseInt(_0x2b0c0d(0x1e1))/0x6)+parseInt(_0x2b0c0d(0x2f5))/0x7*(-parseInt(_0x2b0c0d(0xfd))/0x8)+-parseInt(_0x2b0c0d(0x1d3))/0x9+parseInt(_0x2b0c0d(0x328))/0xa+parseInt(_0x2b0c0d(0x2fc))/0xb*(-parseInt(_0x2b0c0d(0x31e))/0xc);if(_0x1bca38===_0x3c6235)break;else _0x4bc7a3['push'](_0x4bc7a3['shift']());}catch(_0x1599e7){_0x4bc7a3['push'](_0x4bc7a3['shift']());}}}(_0xddf4,0x9c616),function(_0x313e7c,_0x52d54b){const _0x3da7a7=_0x1234;typeof exports==_0x3da7a7(0x219)&&typeof module<'u'?_0x52d54b(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define=='function'&&define['amd']?define([_0x3da7a7(0x19f),_0x3da7a7(0x2ff),_0x3da7a7(0x2d0),_0x3da7a7(0x280),'@univerjs/drawing',_0x3da7a7(0x1dd),_0x3da7a7(0x330),'@univerjs/sheets-ui',_0x3da7a7(0x1da),_0x3da7a7(0x117),_0x3da7a7(0xec),_0x3da7a7(0x1ef),_0x3da7a7(0x323),_0x3da7a7(0x2c0),_0x3da7a7(0x20c),_0x3da7a7(0x1eb),'@univerjs/sheets-filter',_0x3da7a7(0x165),_0x3da7a7(0x216),'@univerjs-pro/collaboration-client-ui'],_0x52d54b):(_0x313e7c=typeof globalThis<'u'?globalThis:_0x313e7c||self,_0x52d54b(_0x313e7c[_0x3da7a7(0x227)]={},_0x313e7c[_0x3da7a7(0x270)],_0x313e7c[_0x3da7a7(0x2b3)],_0x313e7c[_0x3da7a7(0x2b2)],_0x313e7c[_0x3da7a7(0x115)],_0x313e7c['UniverEngineRender'],_0x313e7c[_0x3da7a7(0x259)],_0x313e7c[_0x3da7a7(0x1f6)],_0x313e7c[_0x3da7a7(0x317)],_0x313e7c['UniverDesign'],_0x313e7c[_0x3da7a7(0x148)],_0x313e7c['rxjs'],_0x313e7c[_0x3da7a7(0x228)],_0x313e7c[_0x3da7a7(0x142)],_0x313e7c[_0x3da7a7(0x210)],_0x313e7c[_0x3da7a7(0x2f9)],_0x313e7c[_0x3da7a7(0x1e8)],_0x313e7c[_0x3da7a7(0x2c2)],_0x313e7c[_0x3da7a7(0x2c2)],_0x313e7c[_0x3da7a7(0x1b1)]));}(this,function(_0x10d983,_0x31bbcc,_0x28124e,_0x362e90,_0x3d4b38,_0x3ad675,_0x3ce9c5,_0x7da741,_0x20c686,_0xdd5d02,_0x20148a,_0x41005e,_0x16bdb7,_0x363a77,_0x3435f9,_0xf24397,_0x67c81,_0x39e60c,_0x502a43,_0x33458a){'use strict';const _0xd971d0=_0x1234;var _0x2bd0ef=Object[_0xd971d0(0x1dc)],_0x4c971e=(_0x4de466,_0x14616d,_0x2bdc71)=>_0x14616d in _0x4de466?_0x2bd0ef(_0x4de466,_0x14616d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2bdc71}):_0x4de466[_0x14616d]=_0x2bdc71,_0x1980b0=(_0x3e22a6,_0x550361,_0x46023a)=>_0x4c971e(_0x3e22a6,typeof _0x550361!=_0xd971d0(0x1f5)?_0x550361+'':_0x550361,_0x46023a);const _0x4b6a56='edit-history-viewer.config',_0x2d6f67={};var _0x11d376=Object[_0xd971d0(0x31b)],_0x10fc11=(_0xdf8df2,_0x409c6e,_0x466e6b,_0x250d2a)=>{const _0x5ee491=_0xd971d0;for(var _0x4ff804=_0x250d2a>0x1?void 0x0:_0x250d2a?_0x11d376(_0x409c6e,_0x466e6b):_0x409c6e,_0x3620f5=_0xdf8df2[_0x5ee491(0x311)]-0x1,_0x346559;_0x3620f5>=0x0;_0x3620f5--)(_0x346559=_0xdf8df2[_0x3620f5])&&(_0x4ff804=_0x346559(_0x4ff804)||_0x4ff804);return _0x4ff804;},_0x4cb6c3=(_0x50c56c,_0x2af9a0)=>(_0x56cf10,_0x95e0d6)=>_0x2af9a0(_0x56cf10,_0x95e0d6,_0x50c56c);let _0x48b2ea=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x494029){const _0x2e0f74=_0xd971d0;super(),this[_0x2e0f74(0x205)]=_0x494029,this[_0x2e0f74(0x261)]();}[_0xd971d0(0x261)](){const _0x51a0f5=_0xd971d0;this[_0x51a0f5(0x32f)](this['_cellEditorManagerService'][_0x51a0f5(0x17d)]['subscribe'](_0x17b262=>{const _0x399410=_0x51a0f5;_0x17b262!=null&&_0x17b262['show']&&this[_0x399410(0x205)][_0x399410(0x1c4)]({'show':!0x1});}));}};_0x48b2ea=_0x10fc11([_0x4cb6c3(0x0,_0x7da741['ICellEditorManagerService'])],_0x48b2ea);var _0x3cdc91=(_0xf3b4e2=>(_0xf3b4e2[_0xf3b4e2['UNDEFINED']=0x0]=_0xd971d0(0x30d),_0xf3b4e2[_0xf3b4e2['OK']=0x1]='OK',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x31a)]=0x2]=_0xd971d0(0x31a),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x154)]=0x3]='PERMISSION_DENIED',_0xf3b4e2[_0xf3b4e2['NOT_FOUND']=0x4]=_0xd971d0(0x252),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x298)]=0x5]=_0xd971d0(0x298),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x21f)]=0x6]=_0xd971d0(0x21f),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1d7)]=0x7]=_0xd971d0(0x1d7),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1e2)]=0x8]=_0xd971d0(0x1e2),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x238)]=0x9]=_0xd971d0(0x238),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x123)]=0xa]=_0xd971d0(0x123),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1fd)]=0xb]=_0xd971d0(0x1fd),_0xf3b4e2[_0xf3b4e2['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xf3b4e2[_0xf3b4e2['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x100)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x110)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x131)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0xf3b4e2[_0xf3b4e2['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0xd971d0(0x332),_0xf3b4e2[_0xf3b4e2['ERROR_AGAIN']=0x65]=_0xd971d0(0x2ad),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2cc)]=0xc9]=_0xd971d0(0x2cc),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1b0)]=0xca]=_0xd971d0(0x1b0),_0xf3b4e2[_0xf3b4e2['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xd971d0(0xe3),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1a7)]=0x1771]=_0xd971d0(0x1a7),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x124)]=0x1772]=_0xd971d0(0x124),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x192)]=0x1773]=_0xd971d0(0x192),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x13d)]=0x1b59]=_0xd971d0(0x13d),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1a5)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x32c)]=0x1b5b]=_0xd971d0(0x32c),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x24a)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x264)]=0x1b5d]=_0xd971d0(0x264),_0xf3b4e2[_0xf3b4e2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x285)]=0x2329]=_0xd971d0(0x285),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0xe7)]=0x232a]=_0xd971d0(0xe7),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2c5)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2dc)]=0x232c]=_0xd971d0(0x2dc),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x209)]=0x232d]=_0xd971d0(0x209),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2f4)]=0x2711]=_0xd971d0(0x2f4),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x24b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xf3b4e2[_0xf3b4e2['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xf3b4e2[_0xf3b4e2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xd971d0(0x127),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x303)]=0x271a]=_0xd971d0(0x303),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2a8)]=0x271b]=_0xd971d0(0x2a8),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1ba)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2f3)]=0x271d]=_0xd971d0(0x2f3),_0xf3b4e2[_0xf3b4e2['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1e7)]=0x271f]=_0xd971d0(0x1e7),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x316)]=0x2720]=_0xd971d0(0x316),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0xfb)]=0x2af9]=_0xd971d0(0xfb),_0xf3b4e2[_0xf3b4e2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xd971d0(0xf0),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2c4)]=0x2ee2]=_0xd971d0(0x2c4),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x22b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xf3b4e2[_0xf3b4e2['USER_NOT_INVITED_CODE']=0x2ee4]=_0xd971d0(0x1ce),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2c8)]=0x2ee5]=_0xd971d0(0x2c8),_0xf3b4e2[_0xf3b4e2['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xd971d0(0x14a),_0xf3b4e2[_0xf3b4e2['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x334)]=0x32cb]=_0xd971d0(0x334),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x19b)]=0x36b1]=_0xd971d0(0x19b),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1bf)]=0x36b2]=_0xd971d0(0x1bf),_0xf3b4e2[_0xf3b4e2['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xd971d0(0x108),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x18b)]=0x36b4]=_0xd971d0(0x18b),_0xf3b4e2[_0xf3b4e2['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0xd971d0(0x13e),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2df)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x106)]=0x36b7]=_0xd971d0(0x106),_0xf3b4e2[_0xf3b4e2['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0xd971d0(0x2d2),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x29d)]=0x3715]=_0xd971d0(0x29d),_0xf3b4e2[_0xf3b4e2['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0xd971d0(0x1e3),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x13f)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x263)]=0x37dd]=_0xd971d0(0x263),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x107)]=0x3a99]=_0xd971d0(0x107),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x279)]=0x3a9a]=_0xd971d0(0x279),_0xf3b4e2[_0xf3b4e2['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0xd971d0(0x31c),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2e6)]=0x3a9c]=_0xd971d0(0x2e6),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1c2)]=0x3a9d]=_0xd971d0(0x1c2),_0xf3b4e2[_0xf3b4e2['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xd971d0(0x240),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x102)]=0x3a9f]=_0xd971d0(0x102),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2b7)]=0x3e81]=_0xd971d0(0x2b7),_0xf3b4e2[_0xf3b4e2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xf3b4e2))(_0x3cdc91||{}),_0xb8b1fa=(_0x108bce=>(_0x108bce[_0x108bce[_0xd971d0(0x109)]=0x0]=_0xd971d0(0x109),_0x108bce[_0x108bce[_0xd971d0(0x15f)]=0x1]=_0xd971d0(0x15f),_0x108bce[_0x108bce['UNIVER_SHEET']=0x2]=_0xd971d0(0xfc),_0x108bce[_0x108bce[_0xd971d0(0x1c0)]=0x3]=_0xd971d0(0x1c0),_0x108bce[_0x108bce[_0xd971d0(0x1d1)]=0x4]='UNIVER_PROJECT',_0x108bce[_0x108bce[_0xd971d0(0x17a)]=-0x1]=_0xd971d0(0x17a),_0x108bce))(_0xb8b1fa||{}),_0x5a947f=(_0x42b593=>(_0x42b593[_0x42b593[_0xd971d0(0x226)]=0x0]='View',_0x42b593[_0x42b593[_0xd971d0(0x11c)]=0x1]='Edit',_0x42b593[_0x42b593[_0xd971d0(0x27c)]=0x2]='ManageCollaborator',_0x42b593[_0x42b593[_0xd971d0(0x288)]=0x3]='Print',_0x42b593[_0x42b593['Duplicate']=0x4]=_0xd971d0(0x307),_0x42b593[_0x42b593['Comment']=0x5]=_0xd971d0(0x126),_0x42b593[_0x42b593[_0xd971d0(0x2b1)]=0x6]='Copy',_0x42b593[_0x42b593[_0xd971d0(0x19c)]=0x7]=_0xd971d0(0x19c),_0x42b593[_0x42b593[_0xd971d0(0xea)]=0x8]=_0xd971d0(0xea),_0x42b593[_0x42b593[_0xd971d0(0x2e4)]=0x9]=_0xd971d0(0x2e4),_0x42b593[_0x42b593[_0xd971d0(0x27a)]=0xa]='DeleteWorksheet',_0x42b593[_0x42b593[_0xd971d0(0x1cf)]=0xb]=_0xd971d0(0x1cf),_0x42b593[_0x42b593['RenameWorksheet']=0xc]=_0xd971d0(0x121),_0x42b593[_0x42b593['CreateWorksheet']=0xd]=_0xd971d0(0x16e),_0x42b593[_0x42b593[_0xd971d0(0x289)]=0xe]=_0xd971d0(0x289),_0x42b593[_0x42b593[_0xd971d0(0x290)]=0xf]=_0xd971d0(0x290),_0x42b593[_0x42b593[_0xd971d0(0x2ca)]=0x10]=_0xd971d0(0x2ca),_0x42b593[_0x42b593['Sort']=0x11]=_0xd971d0(0x30f),_0x42b593[_0x42b593[_0xd971d0(0x12f)]=0x12]=_0xd971d0(0x12f),_0x42b593[_0x42b593['PivotTable']=0x13]=_0xd971d0(0x2b5),_0x42b593[_0x42b593[_0xd971d0(0x2bc)]=0x14]=_0xd971d0(0x2bc),_0x42b593[_0x42b593[_0xd971d0(0x1c5)]=0x15]=_0xd971d0(0x1c5),_0x42b593[_0x42b593[_0xd971d0(0x160)]=0x16]=_0xd971d0(0x160),_0x42b593[_0x42b593['ViemRwHgtClWdt']=0x17]=_0xd971d0(0x189),_0x42b593[_0x42b593['ViewFilter']=0x18]=_0xd971d0(0x22c),_0x42b593[_0x42b593[_0xd971d0(0x207)]=0x19]=_0xd971d0(0x207),_0x42b593[_0x42b593['DeleteSheet']=0x1a]=_0xd971d0(0x1cd),_0x42b593[_0x42b593[_0xd971d0(0x278)]=0x1b]=_0xd971d0(0x278),_0x42b593[_0x42b593['CopySheet']=0x1c]=_0xd971d0(0x319),_0x42b593[_0x42b593['RenameSheet']=0x1d]=_0xd971d0(0x19d),_0x42b593[_0x42b593[_0xd971d0(0xf7)]=0x1e]=_0xd971d0(0xf7),_0x42b593[_0x42b593[_0xd971d0(0xf9)]=0x1f]=_0xd971d0(0xf9),_0x42b593[_0x42b593['SelectUnProtectedCells']=0x20]='SelectUnProtectedCells',_0x42b593[_0x42b593[_0xd971d0(0x338)]=0x21]=_0xd971d0(0x338),_0x42b593[_0x42b593['SetCellValue']=0x22]='SetCellValue',_0x42b593[_0x42b593[_0xd971d0(0x269)]=0x23]=_0xd971d0(0x269),_0x42b593[_0x42b593[_0xd971d0(0x277)]=0x24]='SetColumnStyle',_0x42b593[_0x42b593[_0xd971d0(0x33a)]=0x25]=_0xd971d0(0x33a),_0x42b593[_0x42b593[_0xd971d0(0xfa)]=0x26]='InsertColumn',_0x42b593[_0x42b593['DeleteRow']=0x27]=_0xd971d0(0x129),_0x42b593[_0x42b593[_0xd971d0(0x104)]=0x28]=_0xd971d0(0x104),_0x42b593[_0x42b593[_0xd971d0(0x318)]=0x29]='EditExtraObject',_0x42b593[_0x42b593[_0xd971d0(0x2dd)]=0x2a]=_0xd971d0(0x2dd),_0x42b593[_0x42b593[_0xd971d0(0x242)]=0x2b]=_0xd971d0(0x242),_0x42b593[_0x42b593[_0xd971d0(0x314)]=0x2c]=_0xd971d0(0x314),_0x42b593[_0x42b593[_0xd971d0(0x1a8)]=0x2d]=_0xd971d0(0x1a8),_0x42b593[_0x42b593[_0xd971d0(0x17a)]=-0x1]='UNRECOGNIZED',_0x42b593))(_0x5a947f||{});function _0x4b6771(_0x3a555c){const _0x398967=_0xd971d0;return!!(_0x3a555c&&_0x3a555c[_0x398967(0x256)]&&_0x3a555c[_0x398967(0x256)]!==_0x3cdc91['OK']&&_0x3a555c['code']!=='OK');}const _0x5dbd4d=(_0x3f454d,_0x6c1e90)=>{const _0x4a66d5=_0xd971d0;if(!_0x3f454d)return{'date':'','time':''};const _0x5bd0e0=new Date(_0x3f454d),_0x37348f=_0x5bd0e0[_0x4a66d5(0x326)]()['split']('T')[0x0];switch(_0x6c1e90){case _0x362e90[_0x4a66d5(0x305)][_0x4a66d5(0xee)]:return{'date':_0x3e1cfe(_0x37348f,_0x6c1e90),'time':_0x5bd0e0[_0x4a66d5(0x1f3)]()+':'+String(_0x5bd0e0[_0x4a66d5(0x1f0)]())[_0x4a66d5(0x275)](0x2,'0')+':'+String(_0x5bd0e0[_0x4a66d5(0x2bd)]())['padStart'](0x2,'0')};default:return{'date':_0x3e1cfe(_0x37348f,_0x6c1e90),'time':_0x5bd0e0[_0x4a66d5(0x1f3)]()+':'+_0x5bd0e0[_0x4a66d5(0x1f0)]()+':'+_0x5bd0e0[_0x4a66d5(0x2bd)]()};}},_0x43830a=(_0x1d0f97,_0x5db068)=>{const _0x30e5d3=_0xd971d0,_0x1129af=_0x1d0f97[_0x30e5d3(0x28c)]||_0x5db068['t'](_0x30e5d3(0x1bc));if(_0x1d0f97[_0x30e5d3(0x1de)][_0x30e5d3(0x25d)](_0x443e63=>_0x443e63===_0x31bbcc[_0x30e5d3(0x163)]['id'])&&_0x1d0f97[_0x30e5d3(0x23d)]){const _0x5e09ae=_0x5dbd4d(_0x1d0f97[_0x30e5d3(0x23d)],_0x5db068[_0x30e5d3(0x293)]()),_0x10a479=_0x5e09ae[_0x30e5d3(0x2eb)]+'\x20'+_0x5e09ae['time'];return _0x1129af+'\x20'+_0x5db068['t'](_0x30e5d3(0x266))+'\x20'+_0x10a479+'\x20'+_0x5db068['t'](_0x30e5d3(0x141));}const _0xa66ef9=_0x82ddf9(_0x1d0f97),_0x3948dd=_0xa66ef9[_0x30e5d3(0x311)]===0x1?_0x5db068['t'](_0xa66ef9[0x0]):''+_0x5db068['t'](_0xa66ef9[0x0])+_0x5db068['t'](_0x30e5d3(0x2b4));return _0x1129af+'\x20'+_0x3948dd;};function _0x82ddf9(_0x1cdbda){const _0x1e37ed=_0xd971d0;if(_0x1cdbda[_0x1e37ed(0x1de)]['length']===0x0)return[''];const _0x4897f0=_0x1e37ed(0xe9),_0x34eb3a=_0x4897f0+_0x1e37ed(0x27d),_0x139c63=[{'id':_0x31bbcc['CreateUnitMutation']['id'],'action':_0x4897f0+'createSheet'},{'id':_0x31bbcc[_0x1e37ed(0x163)]['id'],'action':_0x4897f0+_0x1e37ed(0x2b9)},{'id':_0x20148a[_0x1e37ed(0x2e8)]['id'],'action':_0x4897f0+_0x1e37ed(0x1f2)},{'id':_0x20148a[_0x1e37ed(0x21c)]['id'],'action':_0x4897f0+'removeSheet'},{'id':_0x20148a[_0x1e37ed(0x14c)]['id'],'action':_0x4897f0+_0x1e37ed(0x2ee)},{'id':_0x67c81[_0x1e37ed(0x1f1)]['id'],'action':_0x4897f0+_0x1e37ed(0x1d8)},{'id':_0x3435f9['AddDataValidationMutation']['id'],'action':_0x4897f0+_0x1e37ed(0xe5)},{'id':_0x3435f9[_0x1e37ed(0x25a)]['id'],'action':_0x4897f0+_0x1e37ed(0xe5)},{'id':_0xf24397[_0x1e37ed(0xf8)]['id'],'action':_0x4897f0+_0x1e37ed(0x2a6)},{'id':_0xf24397[_0x1e37ed(0x29b)]['id'],'action':_0x4897f0+'setCF'},{'id':_0x20148a['AddWorksheetProtectionMutation']['id'],'action':_0x4897f0+_0x1e37ed(0x2b0)},{'id':_0x20148a['AddRangeProtectionMutation']['id'],'action':_0x4897f0+_0x1e37ed(0x2b0)},{'id':_0x363a77[_0x1e37ed(0x24e)]['id'],'action':_0x4897f0+_0x1e37ed(0x26c)},{'id':_0x16bdb7[_0x1e37ed(0x271)]['id'],'action':_0x4897f0+_0x1e37ed(0x112)},{'id':_0x20148a[_0x1e37ed(0x245)]['id'],'action':_0x4897f0+'deleteProtection'},{'id':_0x20148a[_0x1e37ed(0x162)]['id'],'action':_0x4897f0+_0x1e37ed(0x132)}][_0x1e37ed(0x320)](_0xe3ae62=>_0x1cdbda[_0x1e37ed(0x1de)][_0x1e37ed(0x282)](_0xe3ae62['id']));return _0x139c63!=null&&_0x139c63[_0x1e37ed(0x311)]?_0x139c63[_0x1e37ed(0x1a6)](_0x2a719c=>_0x2a719c[_0x1e37ed(0x260)]):[_0x34eb3a];}function _0x3e1cfe(_0x31cb79,_0x9190fb){const _0x2bb376=_0xd971d0,[_0x3c7443,_0x46592f,_0x592dc1]=new Date()['toISOString']()[_0x2bb376(0x191)]('T')[0x0][_0x2bb376(0x191)]('-'),[_0x3c3d7d,_0x3a936a,_0x18f03f]=_0x31cb79[_0x2bb376(0x191)]('-'),_0xe348be=_0x3c7443===_0x3c3d7d&&_0x46592f===_0x3a936a&&_0x592dc1===_0x18f03f;let _0x1e0bc8='',_0x550576='',_0x3928db='';switch(_0x9190fb){case _0x362e90[_0x2bb376(0x305)]['ZH_CN']:return _0xe348be?'今天':(_0x1e0bc8=_0x3c7443===_0x3c3d7d?'':_0x3c3d7d+'年',_0x550576=_0x3a936a+'月',_0x3928db=_0x18f03f+'日',''+_0x1e0bc8+_0x550576+_0x3928db);default:return _0xe348be?_0x2bb376(0x12d):(_0x1e0bc8=_0x3c7443===_0x3c3d7d?'':_0x3c3d7d+'-',_0x550576=_0x3a936a+'-',_0x3928db=''+_0x18f03f,''+_0x1e0bc8+_0x550576+_0x3928db);}}function _0x3435cf(_0x18270d){const _0x192dac=_0xd971d0;return _0x18270d?_0x18270d[_0x192dac(0x30a)]((_0x15b294,_0x5c9027)=>{const _0x407c56=_0x192dac,_0x526b68=new Date(_0x5c9027[_0x407c56(0x309)])[_0x407c56(0x326)]()[_0x407c56(0x191)]('T')[0x0];return _0x15b294[_0x407c56(0x311)]>0x0&&_0x15b294[_0x15b294[_0x407c56(0x311)]-0x1][_0x407c56(0x144)]===_0x526b68?_0x15b294[_0x15b294[_0x407c56(0x311)]-0x1][_0x407c56(0x1f8)][_0x407c56(0x15a)](_0x5c9027):_0x15b294[_0x407c56(0x15a)]({'dateString':_0x526b68,'versions':[_0x5c9027]}),_0x15b294;},[]):[];}var _0x3ac490=Object[_0xd971d0(0x31b)],_0x4f98a2=(_0x1de436,_0x1fcb6a,_0x112e71,_0x58cb65)=>{for(var _0x394fc5=_0x58cb65>0x1?void 0x0:_0x58cb65?_0x3ac490(_0x1fcb6a,_0x112e71):_0x1fcb6a,_0x190f1a=_0x1de436['length']-0x1,_0x3db64;_0x190f1a>=0x0;_0x190f1a--)(_0x3db64=_0x1de436[_0x190f1a])&&(_0x394fc5=_0x3db64(_0x394fc5)||_0x394fc5);return _0x394fc5;},_0x4ea9a3=(_0x474436,_0x23fc49)=>(_0x4ef790,_0x34d98d)=>_0x23fc49(_0x4ef790,_0x34d98d,_0x474436),_0x1cd6f3=(_0x47919f=>(_0x47919f[_0x47919f['Unspecified']=0x0]=_0xd971d0(0x13b),_0x47919f[_0x47919f[_0xd971d0(0x32b)]=0x1]=_0xd971d0(0x32b),_0x47919f[_0x47919f[_0xd971d0(0xfe)]=0x2]=_0xd971d0(0xfe),_0x47919f))(_0x1cd6f3||{});const _0x1afcfc=_0xd971d0(0x2a0);let _0x531cb8=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x4d2f44,_0xdea50d,_0x3fa050,_0x37e15c,_0x1b707e,_0x3edb4a,_0x3fd2ca){const _0x4ff5ac=_0xd971d0;super(),_0x1980b0(this,_0x4ff5ac(0x268),new Map()),(this[_0x4ff5ac(0x267)]=_0x4d2f44,this[_0x4ff5ac(0x20e)]=_0xdea50d,this[_0x4ff5ac(0x130)]=_0x3fa050,this[_0x4ff5ac(0x147)]=_0x37e15c,this[_0x4ff5ac(0x12c)]=_0x1b707e,this['_compressMutationService']=_0x3edb4a,this[_0x4ff5ac(0x139)]=_0x3fd2ca);}[_0xd971d0(0x26f)](){const _0x1f4e97=_0xd971d0;this['_workbookDataCache'][_0x1f4e97(0x2d8)](),super['dispose']();}async['fetchCreatorList'](_0x5e8a38){const _0x361c82=_0xd971d0;try{const _0x242a70=(await this[_0x361c82(0x12c)]['get'](this['_getAPIPrefix']()+'/'+_0x5e8a38+_0x361c82(0x231)))['body'];if(_0x242a70&&_0x242a70[_0x361c82(0x10b)]&&_0x242a70['error']['code']===_0x3cdc91['OK'])return _0x242a70[_0x361c82(0x1d5)];}catch(_0x46e5e4){console[_0x361c82(0x10b)](_0x46e5e4);}return[];}async[_0xd971d0(0x183)](_0x27dcdd,_0x893538){const _0x125e37=_0xd971d0,{userIds:_0x4c685d,lastLabel:_0x296c1f,origin:_0x3fdc85}=_0x893538!=null?_0x893538:{},_0x347a4a=new URLSearchParams();_0x347a4a['set']('length','20'),_0x296c1f&&_0x347a4a['set']('lastLabel',_0x296c1f),_0x4c685d==null||_0x4c685d[_0x125e37(0x33f)](_0x16befe=>{const _0x56da37=_0x125e37;_0x347a4a[_0x56da37(0x1ed)](_0x56da37(0x29e),_0x16befe);}),_0x3fdc85&&_0x347a4a['set'](_0x125e37(0x331),_0x3fdc85[_0x125e37(0x1be)]());const _0x156f81=this[_0x125e37(0x223)]()+'/'+_0x27dcdd+_0x125e37(0x16a)+_0x347a4a[_0x125e37(0x1be)]();try{const _0x330ee6=(await this['_httpService'][_0x125e37(0x16d)](_0x156f81))[_0x125e37(0x12b)];if(_0x330ee6&&_0x330ee6[_0x125e37(0x10b)]&&_0x330ee6[_0x125e37(0x10b)]['code']===_0x3cdc91['OK']){const {hasMore:_0x20fd4f,lastLabel:_0x36e2a1}=_0x330ee6,_0x469ff3=_0x533ef0(_0x330ee6),_0x4e0c3c=_0x330ee6[_0x125e37(0x2d1)]['users'];return{'hasMore':_0x20fd4f,'lastLabel':_0x36e2a1,'versions':_0x469ff3,'members':_0x4e0c3c};}}catch(_0x522310){console[_0x125e37(0x10b)](_0x522310);}return null;}[_0xd971d0(0x223)](){const _0x21ea16=_0xd971d0;var _0x528a3a;const _0x3a8702=this[_0x21ea16(0x147)][_0x21ea16(0x23f)](_0x4b6a56);return(_0x528a3a=_0x3a8702==null?void 0x0:_0x3a8702[_0x21ea16(0x15d)])!=null?_0x528a3a:_0x1afcfc;}async[_0xd971d0(0x152)](_0x119002,_0x368924,_0x25cfc4){const _0x478f95=_0xd971d0;var _0x210328,_0x3d9f55;_0x25cfc4===void 0x0&&(_0x25cfc4={}),this[_0x478f95(0x268)][_0x478f95(0x18c)](_0x119002)||this['_workbookDataCache'][_0x478f95(0x1b9)](_0x119002,new Map());const {snapshot:_0x5591a3,changesets:_0xb6299a,error:_0x4471b8}=await this[_0x478f95(0x267)][_0x478f95(0x220)](_0x25cfc4,{'unitID':_0x119002,'type':_0xb8b1fa[_0x478f95(0xfc)],'revision':_0x368924});if(_0x4b6771(_0x4471b8)||!_0x5591a3||!_0x5591a3[_0x478f95(0x212)])throw new Error(_0x478f95(0x195));const _0x556bba=(_0x210328=_0xb6299a==null?void 0x0:_0xb6299a[_0x478f95(0x311)])!=null?_0x210328:0x0;if(_0x368924!==0x0&&_0x5591a3[_0x478f95(0x155)]+_0x556bba!==_0x368924)throw new Error(_0x478f95(0x1cb));const {workbook:_0x150117}=_0x5591a3,_0x1781a3=_0x150117['blockMeta']?Object[_0x478f95(0x306)](_0x150117['blockMeta'])[_0x478f95(0x1a6)](([_0x55d3a9,_0x40876b])=>{const _0x4e1187=_0x478f95;var _0x4b0342,_0x1e9074;return(_0x1e9074=(_0x4b0342=_0x40876b[_0x4e1187(0x300)])==null?void 0x0:_0x4b0342['map'](_0x47d550=>_0x47d550))!=null?_0x1e9074:[];})[_0x478f95(0x321)]():[],_0x29b688=(await Promise[_0x478f95(0x14f)](_0x1781a3[_0x478f95(0x1a6)](_0x25a3a2=>this[_0x478f95(0x267)]['getDeserializedSheetBlock'](_0x25cfc4,{'unitID':_0x119002,'type':_0xb8b1fa['UNIVER_SHEET'],'blockID':_0x25a3a2})['then'](_0x40ce4a=>_0x40ce4a[_0x478f95(0x1c3)]))))[_0x478f95(0x320)](_0x294cd3=>!!_0x294cd3),_0x3dc002=await _0x31bbcc['transformSnapshotToWorkbookData'](_0x5591a3,_0x29b688,_0x25cfc4);return(_0x3d9f55=this[_0x478f95(0x268)]['get'](_0x119002))==null||_0x3d9f55[_0x478f95(0x1b9)](_0x368924,{'workbook':_0x3dc002}),new Promise(_0x39448b=>{const _0x2f575e=_0x478f95,_0x34b8e0=this['_univerInstanceService']['getCurrentUnitForType'](_0x362e90[_0x2f575e(0x164)][_0x2f575e(0xfc)]);_0x34b8e0?(this[_0x2f575e(0x20e)]['disposeUnit'](_0x34b8e0[_0x2f575e(0x200)]()),setTimeout(()=>{const _0x1e22cc=_0x2f575e;this['_createUnit'](_0x3dc002,_0xb6299a),this[_0x1e22cc(0x139)][_0x1e22cc(0x324)](),_0x39448b(!0x0);},0x0)):(this['_createUnit'](_0x3dc002,_0xb6299a),_0x39448b(!0x0));});}['_createUnit'](_0x528d3a,_0x12af96){const _0x3fcee4=_0xd971d0,_0x275e99=this[_0x3fcee4(0x20e)][_0x3fcee4(0x14e)](_0x362e90[_0x3fcee4(0x164)][_0x3fcee4(0xfc)],_0x528d3a);this['_univerInstanceService']['focusUnit'](_0x275e99[_0x3fcee4(0x200)]());const _0x528e21=this[_0x3fcee4(0x2d4)][_0x3fcee4(0x1df)][_0x3fcee4(0x2f8)](this[_0x3fcee4(0x2d4)][_0x3fcee4(0x1df)][_0x3fcee4(0x23a)]()['COMPRESS_MUTATION_APPLY']);return _0x12af96==null||_0x12af96['forEach'](_0x16cde1=>{const _0x285a8d=_0x3fcee4,_0x2ea9e6=_0x16cde1[_0x285a8d(0x1c9)]['map'](_0x1c11ca=>({'id':_0x1c11ca['id'],'params':JSON['parse'](_0x1c11ca[_0x285a8d(0x22a)])}));({..._0x16cde1,'mutations':_0x528e21(_0x2ea9e6,null)||_0x2ea9e6}['mutations'][_0x285a8d(0x33f)](_0x1935ab=>{const _0x2c4c38=_0x285a8d;this[_0x2c4c38(0x130)][_0x2c4c38(0x184)](_0x1935ab['id'])&&this[_0x2c4c38(0x130)][_0x2c4c38(0x21b)](_0x1935ab['id'],_0x1935ab['params']);}));}),_0x275e99;}};_0x531cb8=_0x4f98a2([_0x4ea9a3(0x0,_0x31bbcc[_0xd971d0(0x1ae)]),_0x4ea9a3(0x1,_0x362e90['IUniverInstanceService']),_0x4ea9a3(0x2,_0x362e90[_0xd971d0(0x272)]),_0x4ea9a3(0x3,_0x362e90[_0xd971d0(0x198)]),_0x4ea9a3(0x4,_0x362e90[_0xd971d0(0x32a)](_0x3ce9c5[_0xd971d0(0x29f)])),_0x4ea9a3(0x5,_0x362e90['Inject'](_0x31bbcc['CompressMutationService'])),_0x4ea9a3(0x6,_0x362e90[_0xd971d0(0x32a)](_0x20148a[_0xd971d0(0x1d9)]))],_0x531cb8);function _0x533ef0(_0x3a18d5){const _0x2519e3=_0xd971d0;var _0x580f7b,_0x3ee792;const _0x9d07fd=[],{entities:_0x497d25,historyIds:_0x34af13}=_0x3a18d5,{datas:_0x4cf94f,users:_0x3e21dd}=_0x497d25;for(const _0x2b101b of _0x34af13){const _0x2a2240=_0x4cf94f[_0x2b101b];if(_0x2a2240){const _0x19ff90=!!((_0x580f7b=_0x3e21dd[_0x2a2240[_0x2519e3(0x1e5)]])!=null&&_0x580f7b[_0x2519e3(0x239)]);_0x9d07fd[_0x2519e3(0x15a)]({'unitId':_0x2a2240[_0x2519e3(0x2fa)],'user':_0x19ff90?'':((_0x3ee792=_0x3e21dd==null?void 0x0:_0x3e21dd[_0x2a2240[_0x2519e3(0x1e5)]])==null?void 0x0:_0x3ee792[_0x2519e3(0x203)])||'','isAnonymous':_0x19ff90,'id':_0x2b101b,'time':_0x2a2240[_0x2519e3(0x250)]?Number(_0x2a2240[_0x2519e3(0x250)]):void 0x0,'commands':_0x2a2240[_0x2519e3(0x1ee)],'startRev':Number(_0x2a2240['startRevision']),'endRev':Number(_0x2a2240['endRevision']),'recoverTime':_0x2a2240[_0x2519e3(0x23d)]?Number(_0x2a2240['recoverTime']):void 0x0,'additionalFields':_0x2a2240[_0x2519e3(0x295)]});}}return _0x9d07fd;}var _0x10a1e8=Object[_0xd971d0(0x31b)],_0x4ba8ee=(_0x14a83a,_0x47b304,_0x2f80cc,_0xa78fef)=>{const _0x9d7d13=_0xd971d0;for(var _0x1460fe=_0xa78fef>0x1?void 0x0:_0xa78fef?_0x10a1e8(_0x47b304,_0x2f80cc):_0x47b304,_0x29fa91=_0x14a83a[_0x9d7d13(0x311)]-0x1,_0x31844d;_0x29fa91>=0x0;_0x29fa91--)(_0x31844d=_0x14a83a[_0x29fa91])&&(_0x1460fe=_0x31844d(_0x1460fe)||_0x1460fe);return _0x1460fe;},_0x53f3c6=(_0x2324dc,_0x31228c)=>(_0x48c7ea,_0x1470d9)=>_0x31228c(_0x48c7ea,_0x1470d9,_0x2324dc),_0x27d434=(_0x24f6da=>(_0x24f6da[_0xd971d0(0x1bb)]=_0xd971d0(0x21d),_0x24f6da[_0xd971d0(0xf4)]='exited',_0x24f6da[_0xd971d0(0x20f)]=_0xd971d0(0x10b),_0x24f6da))(_0x27d434||{}),_0x5108cc=(_0x372f73=>(_0x372f73[_0xd971d0(0x218)]=_0xd971d0(0x177),_0x372f73[_0xd971d0(0x322)]=_0xd971d0(0x24f),_0x372f73[_0xd971d0(0x20b)]=_0xd971d0(0x128),_0x372f73))(_0x5108cc||{});const _0x1e5d5f=_0xd971d0(0x2da);_0x10d983[_0xd971d0(0x281)]=class extends _0x362e90['Disposable']{constructor(_0x196d42,_0x4736f0,_0x1095de,_0x480de0){const _0x413fb5=_0xd971d0;super(),_0x1980b0(this,_0x413fb5(0x2e2),new _0x41005e[(_0x413fb5(0x180))]([])),_0x1980b0(this,_0x413fb5(0x297),this[_0x413fb5(0x2e2)][_0x413fb5(0x292)]()),_0x1980b0(this,'_currentVersion$',new _0x41005e[(_0x413fb5(0x180))]('')),_0x1980b0(this,_0x413fb5(0x12e),this[_0x413fb5(0x136)][_0x413fb5(0x292)]()),_0x1980b0(this,_0x413fb5(0x299),new _0x41005e[(_0x413fb5(0x180))](_0x413fb5(0x21d))),_0x1980b0(this,'status$',this[_0x413fb5(0x299)]['asObservable']()),_0x1980b0(this,_0x413fb5(0xff),new _0x41005e[(_0x413fb5(0x180))](0x0)),_0x1980b0(this,_0x413fb5(0x2ec),this[_0x413fb5(0xff)][_0x413fb5(0x292)]()),_0x1980b0(this,_0x413fb5(0x253),new _0x41005e[(_0x413fb5(0x180))]('')),_0x1980b0(this,'unitId$',this['_unitId$']['asObservable']()),_0x1980b0(this,'_fetching$',new _0x41005e['BehaviorSubject'](!0x1)),_0x1980b0(this,_0x413fb5(0x185),this[_0x413fb5(0x18e)][_0x413fb5(0x292)]()),_0x1980b0(this,'_creators$',new _0x41005e[(_0x413fb5(0x180))]([])),_0x1980b0(this,'creators$',this[_0x413fb5(0x1b8)][_0x413fb5(0x292)]()),_0x1980b0(this,_0x413fb5(0x28d),new _0x41005e['BehaviorSubject'](_0x413fb5(0x177))),_0x1980b0(this,'loadingState$',this[_0x413fb5(0x28d)][_0x413fb5(0x292)]()),_0x1980b0(this,_0x413fb5(0x16c),null),_0x1980b0(this,_0x413fb5(0x2cd),!0x0),_0x1980b0(this,_0x413fb5(0x2cf),new Map()),_0x1980b0(this,_0x413fb5(0x1d2)),_0x1980b0(this,_0x413fb5(0x232)),_0x1980b0(this,_0x413fb5(0x140)),_0x1980b0(this,_0x413fb5(0xeb),!0x1),_0x1980b0(this,'_loadParams',null),(this['_messageService']=_0x196d42,this['_confirmService']=_0x4736f0,this[_0x413fb5(0x194)]=_0x1095de,this[_0x413fb5(0x2a1)]=_0x480de0);}['_setFetching'](_0x585d96){const _0x16b4dd=_0xd971d0;this[_0x16b4dd(0x18e)][_0x16b4dd(0x204)](_0x585d96);}get[_0xd971d0(0x2b8)](){const _0x3b986d=_0xd971d0;return this[_0x3b986d(0x18e)][_0x3b986d(0x2af)];}async[_0xd971d0(0xf6)](_0x58294f,_0x473b3d,_0x322a86){const _0x47b859=_0xd971d0;this[_0x47b859(0x1d2)]=_0x473b3d,this['_canRevert']=_0x322a86,await this[_0x47b859(0x234)](_0x58294f);}async['loadInitialVersions'](_0x5cf328,_0x179c08){const _0x30e1a0=_0xd971d0;this[_0x30e1a0(0x253)][_0x30e1a0(0x204)](_0x5cf328),this[_0x30e1a0(0x235)]=_0x179c08!=null?_0x179c08:null,this[_0x30e1a0(0x134)](!0x0);const _0xca0ab=await this[_0x30e1a0(0x2a1)][_0x30e1a0(0x183)](_0x5cf328,_0x179c08);if(this['_setFetching'](!0x1),_0xca0ab){const {versions:_0x41ca39,lastLabel:_0x2d88b0,hasMore:_0x3387c7,members:_0x4504b3}=_0xca0ab;_0x41ca39['length']===0x0&&_0x41ca39[_0x30e1a0(0x15a)]({'unitId':_0x5cf328,'id':_0x1e5d5f,'startRev':0x1,'endRev':0x0,'time':Date[_0x30e1a0(0x26b)](),'user':this['_localeService']['t'](_0x30e1a0(0x170)),'commands':[],'isAnonymous':!0x1}),this[_0x30e1a0(0x248)](_0x41ca39,_0x3387c7,_0x2d88b0,!0x1,_0x4504b3),this['_currentVersion$'][_0x30e1a0(0x204)](_0x41ca39[0x0]['id']);}else this[_0x30e1a0(0x299)][_0x30e1a0(0x204)](_0x30e1a0(0x10b));}async[_0xd971d0(0x116)](){const _0x59d8d2=_0xd971d0;if(!this[_0x59d8d2(0x16c)]||!this[_0x59d8d2(0x2cd)]||this[_0x59d8d2(0x2b8)])return!0x1;this[_0x59d8d2(0x134)](!0x0);const _0x487db2=await this[_0x59d8d2(0x2a1)][_0x59d8d2(0x183)](this['unitId'],{'lastLabel':this[_0x59d8d2(0x16c)],...this['_loadParams']});if(this[_0x59d8d2(0x134)](!0x1),_0x487db2){const {versions:_0x2af00e,lastLabel:_0x120b37,hasMore:_0x135fd4,members:_0x186bc4}=_0x487db2;this[_0x59d8d2(0x248)](_0x2af00e,_0x135fd4,_0x120b37,!0x0,_0x186bc4);}else this[_0x59d8d2(0x315)][_0x59d8d2(0x2e0)]({'content':this['_localeService']['t'](_0x59d8d2(0x28a)),'type':_0xdd5d02['MessageType'][_0x59d8d2(0x20f)],'duration':0xbb8});return!0x0;}async[_0xd971d0(0x2ab)](){const _0x5c4b7a=_0xd971d0,{unitId:_0x3973bb}=this;if(!_0x3973bb)return;const _0x167ff8=await this['_historyFetchService'][_0x5c4b7a(0x158)](_0x3973bb);_0x167ff8&&this[_0x5c4b7a(0x1b8)][_0x5c4b7a(0x204)](_0x167ff8);}async['triggerLoadSheet'](_0x15f571){const _0x3ac446=_0xd971d0;var _0x4fda0f;const _0x1aa3f8=(_0x4fda0f=this[_0x3ac446(0x2e2)][_0x3ac446(0x2af)])==null?void 0x0:_0x4fda0f[_0x3ac446(0x30b)](_0x3546c2=>_0x3546c2['id']===_0x15f571),{endRev:_0xa56af6}=_0x1aa3f8||{};_0xa56af6||_0xa56af6===0x0?(this['_loadingState$']['next'](_0x3ac446(0x24f)),await this[_0x3ac446(0x2a1)][_0x3ac446(0x152)](this[_0x3ac446(0x2fa)],_0xa56af6),this['_loadingState$'][_0x3ac446(0x204)](_0x3ac446(0x128))):this[_0x3ac446(0x299)][_0x3ac446(0x204)](_0x3ac446(0x10b));}async[_0xd971d0(0x2e5)](_0x2254fd){const _0xcf2149=_0xd971d0,_0x257e55=_0x2254fd?this[_0xcf2149(0x15b)](_0x2254fd):this[_0xcf2149(0x21a)]();if(!_0x257e55)return;const _0x3129b3=_0x257e55['endRev'],_0x5e12a4=_0x5dbd4d(_0x257e55[_0xcf2149(0x309)],this[_0xcf2149(0x194)][_0xcf2149(0x293)]());await this['_confirmService'][_0xcf2149(0x1e6)]({'id':_0xcf2149(0x159),'title':{'title':this['_localeService']['t'](_0xcf2149(0x1c8))},'children':{'title':this[_0xcf2149(0x194)]['t']('editHistory.panel.revertConfirmText')+_0xcf2149(0x125)+_0x5e12a4[_0xcf2149(0x2eb)]+'\x20'+_0x5e12a4['time']+')'},'cancelText':this[_0xcf2149(0x194)]['t'](_0xcf2149(0x1d4)),'confirmText':this['_localeService']['t'](_0xcf2149(0x2ac))})&&this['_revertRevision$'][_0xcf2149(0x204)](_0x3129b3);}[_0xd971d0(0x248)](_0x288ee0,_0x1159a3,_0x29518a,_0x4c235e,_0x1e177d){const _0x4aa4f7=_0xd971d0;this[_0x4aa4f7(0x225)](_0x4c235e?this[_0x4aa4f7(0x2e2)]['value'][_0x4aa4f7(0x1ab)](_0x288ee0):_0x288ee0),this['_hasMore']=_0x1159a3,this[_0x4aa4f7(0x16c)]=_0x29518a,_0x1e177d&&Object[_0x4aa4f7(0x1b4)](_0x1e177d)[_0x4aa4f7(0x33f)](_0x114297=>this['_members'][_0x4aa4f7(0x1b9)](_0x114297,_0x1e177d[_0x114297]));}[_0xd971d0(0x21a)](){const _0x3cb098=_0xd971d0;return this[_0x3cb098(0x15b)](this[_0x3cb098(0x136)][_0x3cb098(0x2af)]);}[_0xd971d0(0x225)](_0x13f206){const _0x32899b=_0xd971d0;this[_0x32899b(0x2e2)]['next'](_0x13f206);}['getVersion'](_0x593695){const _0x209c49=_0xd971d0;var _0x41b252;return(_0x41b252=this[_0x209c49(0x2e2)][_0x209c49(0x2af)])==null?void 0x0:_0x41b252[_0x209c49(0x30b)](_0x1c53ed=>_0x1c53ed['id']===_0x593695);}[_0xd971d0(0x27e)](_0xad5c34){const _0xc1d1b0=_0xd971d0;return this[_0xc1d1b0(0x2cf)][_0xc1d1b0(0x16d)](_0xad5c34);}[_0xd971d0(0x20d)](){const _0x2b94cb=_0xd971d0;this[_0x2b94cb(0x140)]=document[_0x2b94cb(0x10d)](_0x2b94cb(0x1ca)),this['_maskElement'][_0x2b94cb(0x25f)]=_0x2b94cb(0x308),this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x329)]='absolute',this[_0x2b94cb(0x140)][_0x2b94cb(0x312)]['top']='0',this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x119)]='0',this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x2a4)]=_0x2b94cb(0x1f4),this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x16b)]=_0x2b94cb(0x1f4),this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x229)]=_0x2b94cb(0x224),this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x287)]=_0x2b94cb(0x1f7),this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x2c9)]=_0x2b94cb(0xf3),this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x175)]=_0x2b94cb(0x286),this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x173)]='1000',this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x2c9)]=_0x2b94cb(0x19a),this['_maskContainer'][_0x2b94cb(0x1ed)](this[_0x2b94cb(0x140)]);}[_0xd971d0(0x25c)](){const _0x180c24=_0xd971d0;var _0x354181;const _0x4e266b=(_0x354181=document[_0x180c24(0x1ad)](this['_historyContainerId']))==null?void 0x0:_0x354181[_0x180c24(0x10f)]('.univer-app-container-content');_0x4e266b&&(this[_0x180c24(0x232)]=_0x4e266b,this[_0x180c24(0x20d)]());}[_0xd971d0(0x181)](){const _0x40ebdc=_0xd971d0;this['_maskContainer']||this[_0x40ebdc(0x25c)](),this[_0x40ebdc(0x140)]&&(this['_maskElement'][_0x40ebdc(0x312)][_0x40ebdc(0x2c9)]=_0x40ebdc(0xf3));}[_0xd971d0(0xed)](){const _0x30b895=_0xd971d0;this[_0x30b895(0x140)]&&(this[_0x30b895(0x140)]['style']['display']=_0x30b895(0x19a));}set[_0xd971d0(0x1d6)](_0xad11ca){const _0x9151ce=_0xd971d0;this[_0x9151ce(0x299)][_0x9151ce(0x204)](_0xad11ca);}set['currentVersion'](_0x592120){const _0x21f2a5=_0xd971d0;_0x592120!==this[_0x21f2a5(0x136)][_0x21f2a5(0x2af)]&&this[_0x21f2a5(0x136)][_0x21f2a5(0x204)](_0x592120);}get['currentVersion'](){const _0x5e31ae=_0xd971d0;return this[_0x5e31ae(0x136)][_0x5e31ae(0x2af)];}set[_0xd971d0(0x2fa)](_0x983ad2){const _0x4043ba=_0xd971d0;this[_0x4043ba(0x253)][_0x4043ba(0x204)](_0x983ad2);}get['unitId'](){const _0x3867c2=_0xd971d0;return this[_0x3867c2(0x253)][_0x3867c2(0x2af)];}get[_0xd971d0(0x310)](){const _0x35ec20=_0xd971d0;return this[_0x35ec20(0xeb)];}get[_0xd971d0(0x2db)](){const _0x2b8493=_0xd971d0;return this[_0x2b8493(0x28d)][_0x2b8493(0x2af)];}},_0x10d983[_0xd971d0(0x281)]=_0x4ba8ee([_0x53f3c6(0x0,_0x20c686[_0xd971d0(0x114)]),_0x53f3c6(0x1,_0x20c686[_0xd971d0(0xf5)]),_0x53f3c6(0x2,_0x362e90[_0xd971d0(0x32a)](_0x362e90['LocaleService'])),_0x53f3c6(0x3,_0x362e90[_0xd971d0(0x32a)](_0x531cb8))],_0x10d983['HistoryManagerService']);function _0x4ca1df({ref:_0x511f14,..._0xe3d923}){const _0x1d0976=_0xd971d0,{icon:_0x1cee99,id:_0x3c6be3,className:_0x5c40d5,extend:_0x5995de,..._0x4b41a5}=_0xe3d923,_0x266ab7=(_0x1d0976(0x301)+_0x3c6be3+'\x20'+(_0x5c40d5||''))[_0x1d0976(0x2ae)](),_0x408eba=_0x502a43[_0x1d0976(0x133)]('_'+_0x2f54df());return _0x29fef3(_0x1cee99,''+_0x3c6be3,{'defIds':_0x1cee99['defIds'],'idSuffix':_0x408eba[_0x1d0976(0x156)]},{'ref':_0x511f14,'className':_0x266ab7,..._0x4b41a5},_0x5995de);}function _0x29fef3(_0x32be3f,_0xad5bde,_0x8b56da,_0x44cc01,_0x529851){const _0x115e5b=_0xd971d0;return _0x502a43[_0x115e5b(0x10d)](_0x32be3f[_0x115e5b(0x11f)],{'key':_0xad5bde,..._0x2ddf77(_0x32be3f,_0x8b56da,_0x529851),..._0x44cc01},(_0x347f7a(_0x32be3f,_0x8b56da)[_0x115e5b(0x1a0)]||[])['map']((_0x33def0,_0x27cf71)=>_0x29fef3(_0x33def0,_0xad5bde+'-'+_0x32be3f[_0x115e5b(0x11f)]+'-'+_0x27cf71,_0x8b56da,void 0x0,_0x529851)));}function _0x2ddf77(_0xb4bb9f,_0x32c0aa,_0x31d04b){const _0x3aa1d7=_0xd971d0,_0x6ff38d={..._0xb4bb9f['attrs']};_0x31d04b!=null&&_0x31d04b[_0x3aa1d7(0x25b)]&&_0x6ff38d[_0x3aa1d7(0x2d7)]==='colorChannel1'&&(_0x6ff38d[_0x3aa1d7(0x2d7)]=_0x31d04b[_0x3aa1d7(0x25b)]),_0xb4bb9f['tag']===_0x3aa1d7(0x2e7)&&_0x6ff38d['id']&&(_0x6ff38d['id']=_0x6ff38d['id']+_0x32c0aa[_0x3aa1d7(0x21e)]),Object[_0x3aa1d7(0x306)](_0x6ff38d)[_0x3aa1d7(0x33f)](([_0x289f0d,_0x597fda])=>{const _0x2474b1=_0x3aa1d7;_0x289f0d===_0x2474b1(0x2e7)&&typeof _0x597fda=='string'&&(_0x6ff38d[_0x289f0d]=_0x597fda[_0x2474b1(0x179)](/url\(#(.*)\)/,_0x2474b1(0x32e)+_0x32c0aa[_0x2474b1(0x21e)]+')'));});const {defIds:_0x29f0de}=_0x32c0aa;return!_0x29f0de||_0x29f0de[_0x3aa1d7(0x311)]===0x0||(_0xb4bb9f[_0x3aa1d7(0x11f)]===_0x3aa1d7(0x28f)&&_0x6ff38d[_0x3aa1d7(0x2ea)]&&(_0x6ff38d[_0x3aa1d7(0x2ea)]=_0x6ff38d[_0x3aa1d7(0x2ea)]+_0x32c0aa[_0x3aa1d7(0x21e)]),Object['entries'](_0x6ff38d)[_0x3aa1d7(0x33f)](([_0x43be49,_0x2e33bd])=>{const _0x537baf=_0x3aa1d7;typeof _0x2e33bd==_0x537baf(0x208)&&(_0x6ff38d[_0x43be49]=_0x2e33bd[_0x537baf(0x179)](/url\(#(.*)\)/,_0x537baf(0x32e)+_0x32c0aa[_0x537baf(0x21e)]+')'));})),_0x6ff38d;}function _0x347f7a(_0x36beaa,_0x36c31e){const _0x1e1c5=_0xd971d0;var _0x4fca92;const {defIds:_0x3a1b68}=_0x36c31e;return!_0x3a1b68||_0x3a1b68[_0x1e1c5(0x311)]===0x0?_0x36beaa:_0x36beaa[_0x1e1c5(0x11f)]===_0x1e1c5(0x19e)&&((_0x4fca92=_0x36beaa[_0x1e1c5(0x1a0)])!=null&&_0x4fca92[_0x1e1c5(0x311)])?{..._0x36beaa,'children':_0x36beaa[_0x1e1c5(0x1a0)][_0x1e1c5(0x1a6)](_0x354e73=>typeof _0x354e73[_0x1e1c5(0x182)]['id']==_0x1e1c5(0x208)&&_0x3a1b68&&_0x3a1b68[_0x1e1c5(0x282)](_0x354e73[_0x1e1c5(0x182)]['id'])?{..._0x354e73,'attrs':{..._0x354e73[_0x1e1c5(0x182)],'id':_0x354e73[_0x1e1c5(0x182)]['id']+_0x36c31e[_0x1e1c5(0x21e)]}}:_0x354e73)}:_0x36beaa;}function _0x2f54df(){const _0x235343=_0xd971d0;return Math['random']()['toString'](0x24)[_0x235343(0x15e)](0x2,0x8);}_0x4ca1df['displayName']=_0xd971d0(0x2a9);const _0x4bbde0={'tag':_0xd971d0(0x23b),'attrs':{'xmlns':_0xd971d0(0x103),'fill':_0xd971d0(0x19a),'viewBox':_0xd971d0(0x1aa),'width':_0xd971d0(0x167),'height':_0xd971d0(0x167)},'children':[{'tag':'path','attrs':{'fill':_0xd971d0(0x186),'d':_0xd971d0(0x1e9)}}]},_0x42fe38=_0x502a43[_0xd971d0(0x1b3)](function(_0x3e6f08,_0x2b0fe3){const _0x2a4fda=_0xd971d0;return _0x502a43['createElement'](_0x4ca1df,Object[_0x2a4fda(0x233)]({},_0x3e6f08,{'id':_0x2a4fda(0x1e4),'ref':_0x2b0fe3,'icon':_0x4bbde0}));});_0x42fe38[_0xd971d0(0x2d3)]=_0xd971d0(0x336);const _0x5596e9={'tag':'svg','attrs':{'xmlns':_0xd971d0(0x103),'fill':_0xd971d0(0x19a),'viewBox':'0\x200\x2016\x2017','width':'1em','height':_0xd971d0(0x167)},'children':[{'tag':'g','attrs':{'fill':_0xd971d0(0x186),'clipPath':_0xd971d0(0x2c6)},'children':[{'tag':_0xd971d0(0x26e),'attrs':{'d':_0xd971d0(0x190)}},{'tag':_0xd971d0(0x26e),'attrs':{'d':_0xd971d0(0x294),'fillRule':_0xd971d0(0x2d5),'clipRule':_0xd971d0(0x2d5)}}]},{'tag':_0xd971d0(0x19e),'attrs':{},'children':[{'tag':_0xd971d0(0x284),'attrs':{'id':_0xd971d0(0x25e)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0xd971d0(0x25e)]},_0x32c3e1=_0x502a43['forwardRef'](function(_0x3500ab,_0x4c26d1){const _0x50a45b=_0xd971d0;return _0x502a43[_0x50a45b(0x10d)](_0x4ca1df,Object[_0x50a45b(0x233)]({},_0x3500ab,{'id':_0x50a45b(0x247),'ref':_0x4c26d1,'icon':_0x5596e9}));});_0x32c3e1['displayName']=_0xd971d0(0x122);const _0xbfaab6={'tag':'svg','attrs':{'xmlns':_0xd971d0(0x103),'fill':_0xd971d0(0x19a),'viewBox':_0xd971d0(0x1aa),'width':_0xd971d0(0x167),'height':_0xd971d0(0x167)},'children':[{'tag':_0xd971d0(0x26e),'attrs':{'fill':_0xd971d0(0x178),'d':_0xd971d0(0x335),'fillOpacity':0.2,'fillRule':_0xd971d0(0x2d5),'clipRule':_0xd971d0(0x2d5)}},{'tag':_0xd971d0(0x26e),'attrs':{'fill':_0xd971d0(0x178),'d':_0xd971d0(0x31d),'fillRule':_0xd971d0(0x2d5),'clipRule':_0xd971d0(0x2d5)}}]},_0x39613e=_0x502a43['forwardRef'](function(_0x37f5f3,_0x219380){const _0x18a394=_0xd971d0;return _0x502a43['createElement'](_0x4ca1df,Object[_0x18a394(0x233)]({},_0x37f5f3,{'id':_0x18a394(0xe8),'ref':_0x219380,'icon':_0xbfaab6}));});_0x39613e[_0xd971d0(0x2d3)]=_0xd971d0(0x2a5);function _0x18953a(){const _0x16af74=_0xd971d0;var _0x4e9a17;const _0x1ac90c=_0x20c686[_0x16af74(0x291)](_0x10d983[_0x16af74(0x281)]),_0x2bc997=_0x20c686[_0x16af74(0x291)](_0x362e90[_0x16af74(0x283)]),_0x103330=_0x502a43[_0x16af74(0x201)](()=>{const _0x2c38c7=_0x16af74;_0x1ac90c['status']=_0x27d434[_0x2c38c7(0xf4)];},[_0x1ac90c]),_0x59cb85=_0x502a43['useCallback'](()=>{const _0x4baf8d=_0x16af74;_0x1ac90c[_0x4baf8d(0x2e5)]();},[_0x1ac90c]),_0x585564=_0x20c686[_0x16af74(0x10e)](_0x1ac90c['currentVersion$']),_0x5586b4=_0x20c686[_0x16af74(0x10e)](_0x1ac90c[_0x16af74(0x297)]),_0x77beb8=_0x585564===((_0x4e9a17=_0x5586b4==null?void 0x0:_0x5586b4[0x0])==null?void 0x0:_0x4e9a17['id']),_0x4d4588=_0x585564!==''&&!_0x77beb8&&_0x1ac90c[_0x16af74(0x310)];return _0x39e60c[_0x16af74(0x258)](_0x16af74(0x1ca),{'className':_0xdd5d02[_0x16af74(0x16f)]('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0xdd5d02[_0x16af74(0x28b)]),'children':[_0x39e60c[_0x16af74(0x138)]('a',{'className':_0x16af74(0x26d),'role':'button','onClick':_0x103330,'children':_0x39e60c[_0x16af74(0x138)](_0x42fe38,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),_0x39e60c['jsx'](_0x16af74(0x1ca),{'className':_0x16af74(0x33e),'children':_0x4d4588&&_0x39e60c[_0x16af74(0x138)](_0xdd5d02['Button'],{'variant':_0x16af74(0x230),'onClick':_0x59cb85,'children':_0x2bc997['t']('editHistory.header.revert')})})]});}var _0x65c163=Object[_0xd971d0(0x31b)],_0x4bd867=(_0x428a03,_0x6cee88,_0x580af4,_0x1fe37a)=>{const _0x29255e=_0xd971d0;for(var _0x4cc7de=_0x1fe37a>0x1?void 0x0:_0x1fe37a?_0x65c163(_0x6cee88,_0x580af4):_0x6cee88,_0x87bc81=_0x428a03[_0x29255e(0x311)]-0x1,_0x49fcb8;_0x87bc81>=0x0;_0x87bc81--)(_0x49fcb8=_0x428a03[_0x87bc81])&&(_0x4cc7de=_0x49fcb8(_0x4cc7de)||_0x4cc7de);return _0x4cc7de;},_0x3a5209=(_0x21731e,_0x4fc46f)=>(_0x4308f1,_0x7918f9)=>_0x4fc46f(_0x4308f1,_0x7918f9,_0x21731e);let _0x322ffd=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x26b491,_0x17190,_0x65d49e,_0x3b1201,_0x5c55d8,_0x2d0a21){const _0x5b2c14=_0xd971d0;super(),this['_permissionService']=_0x26b491,this['_uiPartsService']=_0x17190,this['_messageService']=_0x65d49e,this['_localeService']=_0x3b1201,this[_0x5b2c14(0x1b5)]=_0x5c55d8,this[_0x5b2c14(0x146)]=_0x2d0a21,this[_0x5b2c14(0x261)]();}[_0xd971d0(0x261)](){const _0x580906=_0xd971d0;this[_0x580906(0x32f)](this['_historyManagerService'][_0x580906(0x12e)]['subscribe'](_0x4856a0=>{const _0x23d2a3=_0x580906;_0x4856a0&&this[_0x23d2a3(0x1b5)][_0x23d2a3(0x1b6)](_0x4856a0);})),this[_0x580906(0x32f)](this[_0x580906(0x120)][_0x580906(0x11b)][_0x580906(0x2d9)](_0x30f8e2=>{const _0x29bcbc=_0x580906,_0x4089fc=this[_0x29bcbc(0x1b5)][_0x29bcbc(0x2fa)];_0x4089fc&&(_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x11c)]&&_0x30f8e2['value']===!0x0&&this[_0x29bcbc(0x120)]['updatePermissionPoint'](new _0x20148a[(_0x29bcbc(0x2ce))](_0x4089fc)['id'],!0x1),_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x19d)]&&_0x30f8e2[_0x29bcbc(0x2af)]===!0x0&&this[_0x29bcbc(0x120)]['updatePermissionPoint'](new _0x20148a[(_0x29bcbc(0x2e9))](_0x4089fc)['id'],!0x1),_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x207)]&&_0x30f8e2[_0x29bcbc(0x2af)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x20148a[(_0x29bcbc(0x151))](_0x4089fc)['id'],!0x1),_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x278)]&&_0x30f8e2['value']===!0x0&&this['_permissionService'][_0x29bcbc(0x31f)](new _0x20148a[(_0x29bcbc(0x1af))](_0x4089fc)['id'],!0x1),_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x126)]&&_0x30f8e2[_0x29bcbc(0x2af)]===!0x0&&this[_0x29bcbc(0x120)]['updatePermissionPoint'](new _0x20148a[(_0x29bcbc(0x2ce))](_0x4089fc)['id'],!0x1),_0x30f8e2['subType']===_0x5a947f['FloatImg']&&_0x30f8e2[_0x29bcbc(0x2af)]===!0x0&&this[_0x29bcbc(0x120)]['updatePermissionPoint'](new _0x20148a['WorkbookEditablePermission'](_0x4089fc)['id'],!0x1));})),this[_0x580906(0x32f)](this[_0x580906(0x22e)]['registerComponent'](_0x20c686['BuiltInUIPart']['HEADER'],()=>_0x20c686[_0x580906(0x1e0)](_0x18953a,this[_0x580906(0x146)])));let _0x413a33;this[_0x580906(0x32f)](this[_0x580906(0x1b5)][_0x580906(0x24c)][_0x580906(0x2d9)](_0x10d87b=>{const _0x215587=_0x580906;_0x413a33==null||_0x413a33[_0x215587(0x26f)](),_0x10d87b===_0x5108cc[_0x215587(0x322)]&&(this[_0x215587(0x1b5)][_0x215587(0x181)](),_0x413a33=this['_messageService'][_0x215587(0x2e0)]({'type':_0xdd5d02['MessageType'][_0x215587(0x174)],'content':this[_0x215587(0x194)]['t'](_0x215587(0x166))})),_0x10d87b===_0x5108cc[_0x215587(0x20b)]&&this[_0x215587(0x1b5)][_0x215587(0xed)]();}));}};_0x322ffd=_0x4bd867([_0x3a5209(0x0,_0x362e90['IPermissionService']),_0x3a5209(0x1,_0x20c686['IUIPartsService']),_0x3a5209(0x2,_0x20c686[_0xd971d0(0x114)]),_0x3a5209(0x3,_0x362e90[_0xd971d0(0x32a)](_0x362e90[_0xd971d0(0x283)])),_0x3a5209(0x4,_0x362e90['Inject'](_0x10d983['HistoryManagerService'])),_0x3a5209(0x5,_0x362e90['Inject'](_0x362e90[_0xd971d0(0x2a3)]))],_0x322ffd);var _0x465e1c=Object['getOwnPropertyDescriptor'],_0x1ec8be=(_0x163ec9,_0x34957c,_0x1e95a6,_0x1ffa06)=>{const _0x2b450f=_0xd971d0;for(var _0x54f879=_0x1ffa06>0x1?void 0x0:_0x1ffa06?_0x465e1c(_0x34957c,_0x1e95a6):_0x34957c,_0x5f3c09=_0x163ec9[_0x2b450f(0x311)]-0x1,_0x2e681f;_0x5f3c09>=0x0;_0x5f3c09--)(_0x2e681f=_0x163ec9[_0x5f3c09])&&(_0x54f879=_0x2e681f(_0x54f879)||_0x54f879);return _0x54f879;},_0x144604=(_0x15a022,_0x43957b)=>(_0x135707,_0x506c4e)=>_0x43957b(_0x135707,_0x506c4e,_0x15a022);let _0x2c97eb=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x44dcee,_0x526968,_0x387bb7){const _0xa07fea=_0xd971d0;super(),_0x1980b0(this,_0xa07fea(0x105),new Map()),_0x1980b0(this,_0xa07fea(0x325),new _0x41005e[(_0xa07fea(0x180))]({'ranges':new Map(),'active':null})),_0x1980b0(this,'currentVersionDiff$',this[_0xa07fea(0x325)]['asObservable']()),(this[_0xa07fea(0x1b5)]=_0x44dcee,this['_transformService']=_0x526968,this['_snapshotServerService']=_0x387bb7,this[_0xa07fea(0x261)]());}[_0xd971d0(0x261)](){const _0x1757a0=_0xd971d0;this['_diffRangesMap']=new Map(),this['disposeWithMe'](this[_0x1757a0(0x1b5)][_0x1757a0(0x214)][_0x1757a0(0x2d9)](_0x5c1086=>{const _0x4f9954=_0x1757a0;_0x5c1086&&!this['_diffRangesMap']['has'](_0x5c1086)&&this[_0x4f9954(0x105)][_0x4f9954(0x1b9)](_0x5c1086,new Map());})),this[_0x1757a0(0x32f)](this[_0x1757a0(0x1b5)][_0x1757a0(0x12e)][_0x1757a0(0x2d9)](async _0x4834b7=>{const _0x4467a4=_0x1757a0;var _0x284f92;_0x4834b7&&(await this[_0x4467a4(0x33b)](_0x4834b7),this[_0x4467a4(0x325)][_0x4467a4(0x204)](((_0x284f92=this['_diffRangesMap']['get'](this[_0x4467a4(0x1b5)][_0x4467a4(0x2fa)]))==null?void 0x0:_0x284f92[_0x4467a4(0x16d)](_0x4834b7))||{'ranges':new Map(),'active':null}));}));}async[_0xd971d0(0x33b)](_0x4bb79f){const _0xf3b6c5=_0xd971d0;var _0x32f048,_0x4528de;const _0xc61179=this[_0xf3b6c5(0x1b5)][_0xf3b6c5(0x15b)](_0x4bb79f),_0x4f7aff=this['_historyManagerService']['unitId'];if(!_0xc61179||!_0x4f7aff)return;const _0x34b95b=this['_diffRangesMap']['get'](_0x4f7aff);if(_0x34b95b||this[_0xf3b6c5(0x105)][_0xf3b6c5(0x1b9)](_0x4f7aff,new Map()),(_0x32f048=this['_diffRangesMap'][_0xf3b6c5(0x16d)](_0x4f7aff))!=null&&_0x32f048[_0xf3b6c5(0x18c)](_0xc61179['id']))return;const {startRev:_0x6acaf9,endRev:_0x586881}=_0xc61179;if(_0x6acaf9===0x1){_0x34b95b[_0xf3b6c5(0x1b9)](_0xc61179['id'],{'ranges':new Map(),'active':null});return;}const _0x3740de=_0x6acaf9-0x1,_0xecf7c4=_0x586881,_0xcbe565=await this['_snapshotServerService'][_0xf3b6c5(0x2f7)]({},{'unitID':_0x4f7aff,'from':_0x3740de,'to':_0xecf7c4,'type':_0xb8b1fa['UNIVER_SHEET']});if(((_0x4528de=_0xcbe565[_0xf3b6c5(0x10b)])==null?void 0x0:_0x4528de[_0xf3b6c5(0x256)])===_0x3cdc91['OK']){const _0x3ae33b=_0xcbe565[_0xf3b6c5(0x12a)][_0xf3b6c5(0x1a6)](_0x57f34b=>((_0x57f34b[_0xf3b6c5(0x1c9)]===null||_0x57f34b['mutations']===void 0x0)&&(_0x57f34b['mutations']=[]),_0x31bbcc['parseProtocolChangeset'](_0x57f34b)))[_0xf3b6c5(0x1a6)](_0x275642=>_0x275642['mutations'][_0xf3b6c5(0x1a6)](_0x50e9a4=>({..._0x50e9a4,'params':{..._0x50e9a4['params'],'memberId':_0x275642[_0xf3b6c5(0x145)]}})))['flat'](),_0x4f51d1=await this[_0xf3b6c5(0x2bb)](_0x3ae33b),_0x210f8a=this['_getActiveSubUnitId'](_0x3ae33b),_0x57978c=this['_extractRanges'](_0x4f51d1);_0x34b95b[_0xf3b6c5(0x1b9)](_0xc61179['id'],{'ranges':_0x57978c,'active':_0x210f8a});}}async[_0xd971d0(0x2bb)](_0x5290d8){const _0x5419e9=_0xd971d0;let _0x329249=[];for(let _0x5737fe=0x0;_0x5737fe<_0x5290d8[_0x5419e9(0x311)];_0x5737fe++){const _0x358752=_0x5290d8[_0x5737fe];if(_0x329249[_0x5419e9(0x15a)](_0x358752),_0x5737fe!==_0x5290d8['length']-0x1){const _0x5887b1=_0x5290d8[_0x5737fe+0x1],_0x2e1f67=this[_0x5419e9(0x2f6)]['transformMutations'](_0x329249,[_0x5887b1]);_0x31bbcc[_0x5419e9(0x1a4)](_0x2e1f67)?_0x329249=_0x2e1f67[_0x5419e9(0x243)]:_0x329249=[];}_0x5737fe%0xa===0x0&&_0x5737fe>0x0&&await this['_yieldToMain']();}return _0x329249;}[_0xd971d0(0x17c)](){return new Promise(_0x33b763=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x33b763(),{'timeout':0x64}):setTimeout(_0x33b763,0x0);});}[_0xd971d0(0x217)](_0xbf0fc9){const _0x337854=_0xd971d0;let _0x5cffff=[];return _0xbf0fc9[_0x337854(0x33f)](_0x4bf16e=>{const _0x43c111=_0x337854;if(_0x4bf16e['id']===_0x20148a['InsertSheetMutation']['id']){const _0x20d599=_0x4bf16e[_0x43c111(0x213)];_0x5cffff[_0x43c111(0x15a)](_0x20d599[_0x43c111(0x13a)]['id']);}else{if(_0x4bf16e['id']===_0x20148a[_0x43c111(0x21c)]['id']){const _0x1e4b93=_0x4bf16e[_0x43c111(0x213)];_0x5cffff[_0x43c111(0x311)]>0x0&&(_0x5cffff=_0x5cffff['filter'](_0x289dbb=>_0x289dbb!==_0x1e4b93[_0x43c111(0x1fe)]));}else{if(_0x4bf16e['id']===_0x20148a[_0x43c111(0xe6)]['id']){const _0x335a35=_0x4bf16e['params'];_0x335a35[_0x43c111(0x2cb)]?_0x5cffff=_0x5cffff[_0x43c111(0x320)](_0x496993=>_0x496993!==_0x335a35['subUnitId']):_0x5cffff[_0x43c111(0x15a)](_0x335a35[_0x43c111(0x1fe)]);}else{const _0x206e19=_0x4bf16e[_0x43c111(0x213)];_0x206e19[_0x43c111(0x1fe)]&&_0x5cffff['push'](_0x206e19[_0x43c111(0x1fe)]);}}}}),_0x5cffff[_0x337854(0x311)]>0x0?_0x5cffff[_0x5cffff[_0x337854(0x311)]-0x1]:null;}[_0xd971d0(0x2f2)](_0x3a18cf){const _0xf70127=_0xd971d0,_0x41cae7=new Map();return _0x3a18cf[_0xf70127(0x33f)](_0x48cfb3=>{const _0x114452=_0xf70127;var _0x520787,_0x1b1f59;const _0x13597e=(_0x520787=_0x48cfb3['params'])==null?void 0x0:_0x520787[_0x114452(0x273)];if(_0x13597e){_0x41cae7[_0x114452(0x18c)](_0x13597e)||_0x41cae7[_0x114452(0x1b9)](_0x13597e,[]);const _0x5650c1=this[_0x114452(0xf1)](_0x48cfb3);(_0x1b1f59=_0x41cae7[_0x114452(0x16d)](_0x13597e))==null||_0x1b1f59[_0x114452(0x15a)](..._0x5650c1);}}),_0x41cae7[_0xf70127(0x33f)]((_0x51be88,_0x3bd31e)=>{const _0x522514=_0xf70127;_0x41cae7[_0x522514(0x1b9)](_0x3bd31e,this[_0x522514(0x26a)](_0x51be88));}),_0x41cae7;}['_getRangesByMutation'](_0x32f144){const _0x9371bb=_0xd971d0;switch(_0x32f144['id']){case _0x20148a[_0x9371bb(0x1a3)]['id']:{const _0x22481d=_0x32f144['params'];return _0x22481d[_0x9371bb(0x168)][_0x9371bb(0x1a6)](_0x58fdf8=>_0x58fdf8[_0x9371bb(0x157)][_0x9371bb(0x1a6)](_0x32f7c8=>({'range':_0x32f7c8,'unitId':_0x22481d[_0x9371bb(0x2fa)],'subUnitId':_0x22481d[_0x9371bb(0x1fe)]})))[_0x9371bb(0x321)]();}case _0x20148a[_0x9371bb(0x29a)]['id']:{const _0x2c6431=_0x32f144[_0x9371bb(0x213)];return _0x2c6431['ranges'][_0x9371bb(0x1a6)](_0x188ca0=>({'range':_0x188ca0,'unitId':_0x2c6431[_0x9371bb(0x2fa)],'subUnitId':_0x2c6431[_0x9371bb(0x1fe)]}));}case _0x20148a['InsertRowMutation']['id']:{const _0xf0a60=_0x32f144[_0x9371bb(0x213)];return[{'range':_0xf0a60['range'],'unitId':_0xf0a60[_0x9371bb(0x2fa)],'subUnitId':_0xf0a60[_0x9371bb(0x1fe)]}];}case _0x20148a[_0x9371bb(0x32d)]['id']:{const _0x275317=_0x32f144[_0x9371bb(0x213)];return[{'range':_0x275317['range'],'unitId':_0x275317[_0x9371bb(0x2fa)],'subUnitId':_0x275317[_0x9371bb(0x1fe)]}];}case _0x20148a[_0x9371bb(0x2c1)]['id']:{const _0x994c6e=_0x32f144['params'],{from:_0xda637f,to:_0x3d6d31,unitId:_0x525fd1}=_0x994c6e;return[{'range':_0x45b329(_0xda637f[_0x9371bb(0x2af)]),'unitId':_0x525fd1,'subUnitId':_0xda637f[_0x9371bb(0x1fe)]},{'range':_0x45b329(_0x3d6d31[_0x9371bb(0x2af)]),'unitId':_0x525fd1,'subUnitId':_0x3d6d31[_0x9371bb(0x1fe)]}];}case _0x20148a[_0x9371bb(0x1d0)]['id']:{const _0x4351fb=_0x32f144[_0x9371bb(0x213)],{unitId:_0x609e70,subUnitId:_0x2ba3c7,sourceRange:_0x1210f8,targetRange:_0x4a6e8d}=_0x4351fb,_0x33f1b9=_0x1210f8[_0x9371bb(0x1c1)]-_0x1210f8[_0x9371bb(0x14b)]+0x1;return[{'range':_0x4a6e8d[_0x9371bb(0x14b)]<=_0x1210f8['startRow']?_0x4a6e8d:{..._0x4a6e8d,'startRow':_0x4a6e8d['startRow']-_0x33f1b9,'endRow':_0x4a6e8d['endRow']-_0x33f1b9},'unitId':_0x609e70,'subUnitId':_0x2ba3c7}];}case _0x20148a['MoveColsMutation']['id']:{const _0x2741a6=_0x32f144[_0x9371bb(0x213)],{unitId:_0x5a69ad,subUnitId:_0xe57548,sourceRange:_0x30cc69,targetRange:_0x195ae1}=_0x2741a6,_0x55d1d5=_0x30cc69['endColumn']-_0x30cc69[_0x9371bb(0x202)]+0x1;return[{'range':_0x195ae1[_0x9371bb(0x202)]<=_0x30cc69[_0x9371bb(0x202)]?_0x195ae1:{..._0x195ae1,'startColumn':_0x195ae1[_0x9371bb(0x202)]-_0x55d1d5,'endColumn':_0x195ae1[_0x9371bb(0xe4)]-_0x55d1d5},'unitId':_0x5a69ad,'subUnitId':_0xe57548}];}case _0x20148a['SetNumfmtMutation']['id']:{const _0x2b2660=_0x32f144[_0x9371bb(0x213)],{values:_0x317bed,unitId:_0x2014cf,subUnitId:_0x57548e}=_0x2b2660;return Object[_0x9371bb(0x18a)](_0x317bed)[_0x9371bb(0x1a6)](_0x100944=>_0x100944[_0x9371bb(0x157)][_0x9371bb(0x1a6)](_0x143ced=>({'range':_0x143ced,'unitId':_0x2014cf,'subUnitId':_0x57548e})))['flat']();}case _0x20148a[_0x9371bb(0x118)]['id']:{const _0x364aa6=_0x32f144[_0x9371bb(0x213)],{ranges:_0x7d3ffa,unitId:_0x34fb27,subUnitId:_0x90c1b8}=_0x364aa6;return _0x7d3ffa[_0x9371bb(0x1a6)](_0x1a2b9e=>({'range':_0x1a2b9e,'unitId':_0x34fb27,'subUnitId':_0x90c1b8}));}case _0x20148a[_0x9371bb(0x1fb)]['id']:{const _0x550423=_0x32f144[_0x9371bb(0x213)],{unitId:_0x3b1f6b,subUnitId:_0x359c52,range:_0x2ddf64}=_0x550423;return[{'range':_0x2ddf64,'unitId':_0x3b1f6b,'subUnitId':_0x359c52}];}case _0x20148a[_0x9371bb(0x23e)]['id']:{const _0x4ea0f0=_0x32f144['params'];return _0x4ea0f0['rule'][_0x9371bb(0x157)][_0x9371bb(0x1a6)](_0x34484d=>({'range':_0x34484d,'unitId':_0x4ea0f0[_0x9371bb(0x2fa)],'subUnitId':_0x4ea0f0['subUnitId']}));}case _0x20148a[_0x9371bb(0x2ed)]['id']:{const _0x3ad171=_0x32f144[_0x9371bb(0x213)];return _0x3ad171[_0x9371bb(0x1c6)]?_0x570030(_0x3ad171[_0x9371bb(0x1c6)])[_0x9371bb(0x1a6)](_0x3a11b1=>({'range':_0x3a11b1,'unitId':_0x3ad171[_0x9371bb(0x2fa)],'subUnitId':_0x3ad171[_0x9371bb(0x1fe)]})):[];}case _0x67c81['SetSheetsFilterRangeMutation']['id']:{const _0x5f48d5=_0x32f144[_0x9371bb(0x213)];return[{'range':_0x5f48d5[_0x9371bb(0x211)],'unitId':_0x5f48d5[_0x9371bb(0x2fa)],'subUnitId':_0x5f48d5[_0x9371bb(0x1fe)]}];}case _0x3435f9[_0x9371bb(0x28e)]['id']:{const _0x1a37eb=_0x32f144['params'];return(Array[_0x9371bb(0x1ff)](_0x1a37eb['rule'])?_0x1a37eb[_0x9371bb(0x1ac)]:[_0x1a37eb[_0x9371bb(0x1ac)]])['map'](_0x378d21=>_0x378d21[_0x9371bb(0x157)][_0x9371bb(0x1a6)](_0x34ddee=>({'range':_0x34ddee,'unitId':_0x1a37eb['unitId'],'subUnitId':_0x1a37eb[_0x9371bb(0x1fe)]})))['flat']();}case _0xf24397[_0x9371bb(0xf8)]['id']:{const _0x1114c3=_0x32f144[_0x9371bb(0x213)];return _0x1114c3[_0x9371bb(0x1ac)][_0x9371bb(0x157)]['map'](_0x304dcb=>({'range':_0x304dcb,'unitId':_0x1114c3[_0x9371bb(0x2fa)],'subUnitId':_0x1114c3['subUnitId']}));}default:return[];}}['_combineRanges'](_0x1d28e2){const _0x288ef1=_0xd971d0;if(_0x1d28e2[_0x288ef1(0x311)]<=0x1)return _0x1d28e2;const _0x4ba5af=new Map();return _0x1d28e2['forEach'](_0x1cbde7=>{const _0x236b13=_0x288ef1;var _0x2d9439;const {unitId:_0x52186f,subUnitId:_0x128176}=_0x1cbde7,_0x1e95aa=_0x52186f+'-'+_0x128176;_0x4ba5af[_0x236b13(0x18c)](_0x1e95aa)?(_0x2d9439=_0x4ba5af['get'](_0x1e95aa))==null||_0x2d9439[_0x236b13(0x15a)](_0x1cbde7):_0x4ba5af[_0x236b13(0x1b9)](_0x1e95aa,[_0x1cbde7]);}),Array[_0x288ef1(0x1bd)](_0x4ba5af[_0x288ef1(0x18a)]())[_0x288ef1(0x1a6)](_0x46823b=>new _0x20148a[(_0x288ef1(0x333))]()['add'](..._0x46823b[_0x288ef1(0x1a6)](_0x208bf6=>_0x208bf6[_0x288ef1(0x211)]))[_0x288ef1(0x169)]()[_0x288ef1(0x1a6)](_0x572006=>({'range':_0x572006,'unitId':_0x46823b[0x0][_0x288ef1(0x2fa)],'subUnitId':_0x46823b[0x0][_0x288ef1(0x1fe)]})))[_0x288ef1(0x321)]();}};_0x2c97eb=_0x1ec8be([_0x144604(0x0,_0x362e90[_0xd971d0(0x32a)](_0x10d983['HistoryManagerService'])),_0x144604(0x1,_0x31bbcc[_0xd971d0(0x15c)]),_0x144604(0x2,_0x31bbcc[_0xd971d0(0x1ae)])],_0x2c97eb);function _0x45b329(_0x389fac){const _0x31f57f=_0xd971d0;return new _0x362e90['ObjectMatrix'](_0x389fac)[_0x31f57f(0x302)]();}function _0x570030(_0x5de6b4){const _0x31e929=_0xd971d0,_0x3290e4=new _0x362e90[(_0x31e929(0x2be))](_0x5de6b4),_0x50da03=new _0x362e90[(_0x31e929(0x2be))]();return _0x3290e4['forValue']((_0x410a42,_0x65e46b)=>{const _0x398328=_0x31e929;_0x50da03[_0x398328(0x2ef)](_0x410a42,_0x65e46b,0x1);}),_0x20148a[_0x31e929(0x24d)](_0x50da03);}var _0x480cf6=Object['getOwnPropertyDescriptor'],_0x378217=(_0x32a144,_0xd83a25,_0x259a66,_0xd76995)=>{for(var _0x5be115=_0xd76995>0x1?void 0x0:_0xd76995?_0x480cf6(_0xd83a25,_0x259a66):_0xd83a25,_0x3e8f6d=_0x32a144['length']-0x1,_0x3fff60;_0x3e8f6d>=0x0;_0x3e8f6d--)(_0x3fff60=_0x32a144[_0x3e8f6d])&&(_0x5be115=_0x3fff60(_0x5be115)||_0x5be115);return _0x5be115;},_0xc0a5b7=(_0x462bcf,_0x2d6d31)=>(_0x16761a,_0x125d56)=>_0x2d6d31(_0x16761a,_0x125d56,_0x462bcf);let _0x1bb87c=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x5b2905,_0x43d5b4,_0x17cf54,_0x495c12,_0x51d18e,_0x44a844,_0x1fd0e3){const _0x341c6a=_0xd971d0;super(),_0x1980b0(this,_0x341c6a(0x11a),new Set()),_0x1980b0(this,_0x341c6a(0x18d),null),(this[_0x341c6a(0x10a)]=_0x5b2905,this[_0x341c6a(0x1b5)]=_0x43d5b4,this[_0x341c6a(0x1ec)]=_0x17cf54,this['_univerInstanceService']=_0x495c12,this[_0x341c6a(0x296)]=_0x51d18e,this[_0x341c6a(0x265)]=_0x44a844,this[_0x341c6a(0x130)]=_0x1fd0e3,this['_init']());}['_init'](){this['_initRender'](),this['_initActiveSwitch']();}['_initRender'](){const _0x1b7524=_0xd971d0;this[_0x1b7524(0x32f)](_0x41005e[_0x1b7524(0x337)]([this[_0x1b7524(0x1b5)][_0x1b7524(0x24c)],this['_sheetSkeletonManagerService'][_0x1b7524(0x20a)]])[_0x1b7524(0x244)](_0x41005e[_0x1b7524(0x149)](([_0xaa9cbb,_0x20f9f8])=>{const _0x1b8971=_0x1b7524;if(_0xaa9cbb===_0x5108cc[_0x1b8971(0x20b)]&&_0x20f9f8){const _0x2682c8=_0x20f9f8[_0x1b8971(0x1f9)];return this[_0x1b8971(0x1ec)][_0x1b8971(0x1ea)][_0x1b8971(0x244)](_0x41005e[_0x1b8971(0x1a6)](_0x48d4d3=>{const _0x23c015=_0x1b8971,_0x1a53e9=new Map();return _0x48d4d3[_0x23c015(0x157)][_0x23c015(0x33f)]((_0x5ba406,_0x3dd855)=>{const _0x201581=_0x23c015,_0x2fcbfc=_0x5ba406[_0x201581(0x320)](_0x4c28d7=>_0x4c28d7[_0x201581(0x1fe)]===_0x2682c8);_0x1a53e9['set'](_0x3dd855,_0x2fcbfc);}),{'skeleton':_0x20f9f8,'diffs':_0x1a53e9};}));}return _0x41005e['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x2610c8,diffs:_0x3035ff})=>{const _0x1f4255=_0x1b7524;this['_removeDiffMarks'](),_0x2610c8&&this[_0x1f4255(0x150)](_0x2610c8,_0x3035ff);})),this[_0x1b7524(0x32f)](this[_0x1b7524(0x265)][_0x1b7524(0x20a)][_0x1b7524(0x2d9)](_0x4893b5=>{const _0x51f950=_0x1b7524;if(_0x4893b5==null)return;const {skeleton:_0x2e0c74}=_0x4893b5,{scene:_0x32de16}=this[_0x51f950(0x10a)];_0x32de16[_0x51f950(0x176)][_0x51f950(0x33c)](_0x362e90[_0x51f950(0x14d)](_0x4dca9f=>{const _0x2e69e0=_0x51f950;var _0x12b3f6,_0x1a4404;const {offsetX:_0x55fec6,offsetY:_0x436843}=_0x4dca9f,{x:_0x247b3b,y:_0xdd3f3d}=_0x32de16[_0x2e69e0(0x193)](_0x3ad675[_0x2e69e0(0x1a1)]['FromArray']([_0x55fec6,_0x436843])),{scaleX:_0x5627ab,scaleY:_0x45a4eb}=_0x32de16[_0x2e69e0(0x236)](),_0x1e2317=_0x32de16[_0x2e69e0(0x1c7)](_0x3ad675[_0x2e69e0(0x11e)][_0x2e69e0(0x10c)]),_0x2b3330=_0x32de16[_0x2e69e0(0x161)](_0x3ad675['Vector2'][_0x2e69e0(0x1fa)]([_0x247b3b,_0xdd3f3d]),_0x1e2317),_0x1ab5b0=_0x2e0c74[_0x2e69e0(0x1a9)](_0x55fec6,_0x436843,_0x5627ab,_0x45a4eb,_0x2b3330);((_0x12b3f6=this[_0x2e69e0(0x18d)])==null?void 0x0:_0x12b3f6['column'])===_0x1ab5b0[_0x2e69e0(0x172)]&&((_0x1a4404=this['_lastPointer'])==null?void 0x0:_0x1a4404[_0x2e69e0(0x2e1)])===_0x1ab5b0[_0x2e69e0(0x2e1)]||this['_diffs'][_0x2e69e0(0x33f)](_0x49b727=>{const _0x3e6175=_0x2e69e0;_0x49b727[_0x3e6175(0x327)](_0x1ab5b0);});},0x64));}));}['_initActiveSwitch'](){const _0x1e4e77=_0xd971d0;this['disposeWithMe'](this[_0x1e4e77(0x1b5)]['loadingState$'][_0x1e4e77(0x2d9)](_0xd60a06=>{const _0x44fa9e=_0x1e4e77,_0x3fc729=new _0x362e90['DisposableCollection']();return _0xd60a06===_0x5108cc[_0x44fa9e(0x20b)]&&(_0x3fc729['dispose'](),_0x3fc729['add'](this[_0x44fa9e(0x1ec)]['currentVersionDiff$']['subscribe'](_0x163f39=>{const _0x299581=_0x44fa9e;_0x163f39[_0x299581(0x222)]&&this[_0x299581(0x130)][_0x299581(0x246)](_0x20148a[_0x299581(0x2f0)]['id'],{'unitId':this[_0x299581(0x10a)][_0x299581(0x2fa)],'subUnitId':_0x163f39[_0x299581(0x222)]});}))),()=>_0x3fc729['dispose']();}));}['_updateDiffMarks'](_0x57e642,_0x1098f5){const _0x4d7ebd=_0xd971d0;var _0x29ee8;const _0x3769d3=(_0x29ee8=this['_sheetSkeletonManagerService'][_0x4d7ebd(0x1fc)]())==null?void 0x0:_0x29ee8[_0x4d7ebd(0x257)];if(!_0x3769d3)return;this[_0x4d7ebd(0x11a)]['forEach'](_0x46d876=>{_0x46d876['makeDirty']();});const {scene:_0xaccbdd}=this[_0x4d7ebd(0x10a)],_0x7cac48=Array[_0x4d7ebd(0x1bd)](_0x1098f5[_0x4d7ebd(0x1b4)]())[_0x4d7ebd(0x1a6)](_0x50d549=>_0x1098f5['get'](_0x50d549)[_0x4d7ebd(0x1a6)](_0x488bc4=>{const _0x147f36=_0x4d7ebd;var _0xe35715;const {range:_0x4d347a,subUnitId:_0x1857a2,unitId:_0x182945}=_0x488bc4,{startColumn:_0x108bb2,startRow:_0x5d1a09,endColumn:_0x247136,endRow:_0x158b2f}=_0x4d347a,_0x10bfc8=_0x7da741[_0x147f36(0x17b)](_0x5d1a09,_0x108bb2,_0xaccbdd,_0x3769d3),_0xbd98ed=_0x7da741[_0x147f36(0x17b)](_0x158b2f,_0x247136,_0xaccbdd,_0x3769d3),{columnHeaderHeightAndMarginTop:_0x23150d}=_0x3769d3,{startX:_0x2bc523,startY:_0x261711}=_0x10bfc8,{endX:_0x4b8f8b,endY:_0x13b4fc}=_0xbd98ed,_0x277692=_0x4b8f8b-_0x2bc523,_0x3560c6=_0x13b4fc-_0x261711,_0x597a92={'labelPosition':_0x261711-_0x23150d>=0x14?_0x147f36(0x1db):'bottom','sheetID':_0x1857a2,'range':_0x4d347a,'color':_0x147f36(0x339),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x147f36(0x339),'name':((_0xe35715=this[_0x147f36(0x1b5)]['getMember'](_0x50d549))==null?void 0x0:_0xe35715[_0x147f36(0x203)])||'','selection':_0x182945+'-'+_0x1857a2+'-'+_0x4d347a['startColumn']+'-'+_0x4d347a[_0x147f36(0x14b)]+'-'+_0x4d347a['endColumn']+'-'+_0x4d347a[_0x147f36(0x1c1)],'left':_0x2bc523,'top':_0x261711,'width':_0x277692,'height':_0x3560c6,'evented':!0x1,'zIndex':0x1};return new _0x33458a[(_0x147f36(0x1a2))]('',_0x597a92);}))['flat']();_0xaccbdd[_0x4d7ebd(0x22d)](_0x7cac48,0x1),this[_0x4d7ebd(0x11a)]=new Set(_0x7cac48);}[_0xd971d0(0x2de)](){const _0x4f36d1=_0xd971d0;var _0x2dae38;(_0x2dae38=this[_0x4f36d1(0x11a)])==null||_0x2dae38[_0x4f36d1(0x33f)](_0x4fde5c=>_0x4fde5c[_0x4f36d1(0x26f)]());}['_getSheetObject'](){const _0x35d0e1=_0xd971d0;return _0x7da741[_0x35d0e1(0x199)](this[_0x35d0e1(0x20e)],this[_0x35d0e1(0x296)]);}};_0x1bb87c=_0x378217([_0xc0a5b7(0x1,_0x362e90[_0xd971d0(0x32a)](_0x10d983[_0xd971d0(0x281)])),_0xc0a5b7(0x2,_0x362e90[_0xd971d0(0x32a)](_0x2c97eb)),_0xc0a5b7(0x3,_0x362e90[_0xd971d0(0x33d)]),_0xc0a5b7(0x4,_0x3ad675[_0xd971d0(0x206)]),_0xc0a5b7(0x5,_0x362e90['Inject'](_0x7da741[_0xd971d0(0x2b6)])),_0xc0a5b7(0x6,_0x362e90[_0xd971d0(0x272)])],_0x1bb87c);function _0xbd4abc(){const _0x14e412=_0xd971d0,_0x30a32f=_0x20c686['useDependency'](_0x10d983[_0x14e412(0x281)]),_0x3cf835=_0x20c686[_0x14e412(0x10e)](_0x30a32f[_0x14e412(0x297)]),[_0x3b28dd,_0x1afd66]=_0x502a43[_0x14e412(0x101)](!0x1),_0x3fc4d3=_0x3435cf(_0x3cf835);return _0x3cf835?_0x39e60c['jsx']('div',{'className':'univer-overflow-hidden','children':_0x39e60c[_0x14e412(0x258)](_0x14e412(0x1ca),{'className':_0x14e412(0x18f),'children':[_0x3fc4d3[_0x14e412(0x1a6)]((_0x521543,_0x5373f7)=>_0x39e60c[_0x14e412(0x258)](_0x502a43[_0x14e412(0x2a7)],{'children':[_0x39e60c['jsx'](_0x36c778,{'date':_0x521543[_0x14e412(0x144)]}),_0x521543[_0x14e412(0x1f8)]['map']((_0x1c53de,_0x1a88db)=>_0x39e60c[_0x14e412(0x138)](_0x1a8656,{'index':[_0x5373f7,_0x1a88db],'item':_0x1c53de},_0x5373f7+'-'+_0x1a88db))]},_0x521543[_0x14e412(0x144)])),_0x3b28dd&&_0x39e60c['jsx'](_0x27122f,{})]})}):_0x39e60c[_0x14e412(0x138)](_0x2accae,{});}function _0x27122f(){const _0x49df56=_0xd971d0;return _0x39e60c[_0x49df56(0x138)](_0x49df56(0x1ca),{'className':_0x49df56(0xf2),'children':_0x39e60c[_0x49df56(0x138)](_0x39613e,{'className':_0x49df56(0x2fd)})});}function _0x2accae(){const _0x16b65f=_0xd971d0;return _0x39e60c['jsx'](_0x16b65f(0x1ca),{'className':_0x16b65f(0x276),'children':_0x39e60c[_0x16b65f(0x138)](_0x16b65f(0x1cc),{'className':_0x16b65f(0x2ba),'children':_0x39e60c[_0x16b65f(0x138)](_0x39613e,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function _0x36c778(_0x1d8713){const _0x146866=_0xd971d0,_0x7a53ec=_0x20c686[_0x146866(0x291)](_0x362e90[_0x146866(0x283)]),{date:_0x6667d8}=_0x1d8713;return _0x39e60c['jsx'](_0x146866(0x1ca),{'className':_0x146866(0x111),'children':_0x3e1cfe(_0x6667d8,_0x7a53ec[_0x146866(0x293)]())});}function _0x1a8656(_0x553529){const _0x41527e=_0xd971d0,{item:_0x49e883,index:_0x12980b}=_0x553529,{time:_0x5866f4,user:_0x3ebcd2}=_0x49e883,[_0x530772,_0x2e2f1f]=_0x12980b,_0x5e73e7=_0x20c686[_0x41527e(0x291)](_0x10d983[_0x41527e(0x281)]),_0x3551ac=_0x20c686[_0x41527e(0x10e)](_0x5e73e7[_0x41527e(0x12e)],'',!0x0)===_0x49e883['id'],_0x30380b=_0x530772===0x0&&_0x2e2f1f===0x0,_0x310d7c=!_0x30380b&&_0x5e73e7[_0x41527e(0x310)],_0x352c7c=_0x20c686[_0x41527e(0x291)](_0x362e90[_0x41527e(0x283)]),_0x7269fa=_0x352c7c[_0x41527e(0x293)](),_0x33479f=_0x5dbd4d(_0x5866f4,_0x7269fa),_0x25fc2a=_0x352c7c['t']('editHistory.panel.currentVersion'),_0x36b14e=_0x502a43[_0x41527e(0x201)](_0x2d54e1=>{const _0x202ee9=_0x41527e;_0x5e73e7[_0x202ee9(0x2db)]!==_0x5108cc[_0x202ee9(0x322)]&&(_0x5e73e7[_0x202ee9(0x262)]=_0x2d54e1);},[_0x5e73e7]),_0x4d954f=_0x502a43[_0x41527e(0x201)](_0x532afd=>{const _0x4bf44c=_0x41527e;_0x5e73e7[_0x4bf44c(0x2e5)](_0x532afd);},[_0x5e73e7]);return _0x39e60c[_0x41527e(0x258)](_0x41527e(0x1ca),{'className':_0xdd5d02[_0x41527e(0x16f)](_0x41527e(0x2e3),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x3551ac}),'onClick':()=>_0x36b14e(_0x49e883['id']),'children':[_0x39e60c[_0x41527e(0x258)]('div',{'className':_0x41527e(0x2fe),'children':[_0x39e60c[_0x41527e(0x258)](_0x41527e(0x1ca),{'className':_0x41527e(0x22f),'children':[_0x39e60c['jsx'](_0x41527e(0x1cc),{'children':_0x33479f['time']}),_0x30380b&&_0x39e60c[_0x41527e(0x138)](_0x41527e(0x1cc),{'className':_0x41527e(0x2a2),'children':_0x25fc2a})]}),_0x39e60c[_0x41527e(0x138)](_0x41527e(0x1ca),{'children':_0x310d7c&&_0x39e60c[_0x41527e(0x138)](_0xdd5d02[_0x41527e(0x113)],{'title':_0x352c7c['t'](_0x41527e(0x255)),'children':_0x39e60c[_0x41527e(0x138)](_0x41527e(0x1ca),{'onClick':_0x4252c3=>{const _0x27d7b4=_0x41527e;_0x4252c3[_0x27d7b4(0x215)](),_0x4d954f(_0x49e883['id']);},'className':_0x41527e(0x196),'children':_0x39e60c[_0x41527e(0x138)](_0x32c3e1,{})})})})]}),_0x39e60c['jsx'](_0x41527e(0x1ca),{'className':'univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':_0x43830a(_0x49e883,_0x352c7c)})]});}var _0x35d3b4=Object['getOwnPropertyDescriptor'],_0x486340=(_0xc05e26,_0x2ca445,_0x47625c,_0x3fa885)=>{for(var _0x2b4fb6=_0x3fa885>0x1?void 0x0:_0x3fa885?_0x35d3b4(_0x2ca445,_0x47625c):_0x2ca445,_0x6a0393=_0xc05e26['length']-0x1,_0x30fe64;_0x6a0393>=0x0;_0x6a0393--)(_0x30fe64=_0xc05e26[_0x6a0393])&&(_0x2b4fb6=_0x30fe64(_0x2b4fb6)||_0x2b4fb6);return _0x2b4fb6;},_0x372c05=(_0xe83f20,_0x27c11c)=>(_0x228f05,_0x782c8e)=>_0x27c11c(_0x228f05,_0x782c8e,_0xe83f20);const _0x549dab=_0xd971d0(0xef);let _0x383517=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0xf69c6b,_0x501c43,_0x3db198,_0x23766b,_0x4a009d){const _0x696562=_0xd971d0;super(),_0x1980b0(this,_0x696562(0x23c),null),(this[_0x696562(0x143)]=_0xf69c6b,this['_componentManager']=_0x501c43,this[_0x696562(0x194)]=_0x3db198,this[_0x696562(0x1b5)]=_0x23766b,this['_configService']=_0x4a009d,this[_0x696562(0x261)]());}[_0xd971d0(0x261)](){const _0x4a52db=_0xd971d0;this['_initPanel'](),this[_0x4a52db(0x135)]();}[_0xd971d0(0x135)](){const _0x350ea9=_0xd971d0;var _0x125a30;if(this['_sidebarDisposable'])return;const _0x22444f=((_0x125a30=this[_0x350ea9(0x147)][_0x350ea9(0x23f)](_0x4b6a56))==null?void 0x0:_0x125a30['historyPanelComponentKey'])||_0x549dab,_0x4c156f={'header':{'title':this[_0x350ea9(0x194)]['t'](_0x350ea9(0x274))},'children':{'label':_0x22444f},'onClose':()=>{const _0x46f2e0=_0x350ea9;this[_0x46f2e0(0x23c)]=null,this['_historyManagerService']['status']=_0x27d434[_0x46f2e0(0xf4)];}};this[_0x350ea9(0x23c)]=this[_0x350ea9(0x143)][_0x350ea9(0x153)]({..._0x4c156f});}[_0xd971d0(0x27b)](){const _0x21c264=_0xd971d0;this[_0x21c264(0x32f)](this[_0x21c264(0x187)]['register'](_0x549dab,_0xbd4abc)),this['disposeWithMe'](this[_0x21c264(0x143)]['scrollEvent$'][_0x21c264(0x244)](_0x41005e['debounceTime'](0x64))['subscribe'](_0x11b276=>{const _0x2c7408=_0x21c264,{target:_0x529848}=_0x11b276||{};if(_0x529848){const {scrollTop:_0x25fe2f,scrollHeight:_0x358e31,clientHeight:_0x1ed20c}=_0x529848;_0x25fe2f+_0x1ed20c>=_0x358e31-0x5&&this[_0x2c7408(0x1b5)][_0x2c7408(0x116)]();}}));}};_0x383517=_0x486340([_0x372c05(0x0,_0x20c686[_0xd971d0(0x2d6)]),_0x372c05(0x1,_0x362e90[_0xd971d0(0x32a)](_0x20c686[_0xd971d0(0x197)])),_0x372c05(0x2,_0x362e90[_0xd971d0(0x32a)](_0x362e90['LocaleService'])),_0x372c05(0x3,_0x362e90[_0xd971d0(0x32a)](_0x10d983[_0xd971d0(0x281)])),_0x372c05(0x4,_0x362e90[_0xd971d0(0x198)])],_0x383517);class _0x1f14bd extends _0x362e90[_0xd971d0(0x2fb)]{constructor(){const _0x4c94ab=_0xd971d0;super(),_0x1980b0(this,_0x4c94ab(0x237),new _0x41005e[(_0x4c94ab(0x171))]());}[_0xd971d0(0x153)](){return _0x362e90['toDisposable'](()=>{});}[_0xd971d0(0x2aa)](){}[_0xd971d0(0x17e)](_0x7ba736){}[_0xd971d0(0x30c)](){const _0x1f75ad=_0xd971d0;return this['_dialogOptions$'][_0x1f75ad(0x292)]();}}var _0x245dc6=Object[_0xd971d0(0x1dc)],_0x3928a=Object['getOwnPropertyDescriptor'],_0x2e2fe7=(_0x4b0dbd,_0x4bfce4,_0x1fbf59)=>_0x4bfce4 in _0x4b0dbd?_0x245dc6(_0x4b0dbd,_0x4bfce4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fbf59}):_0x4b0dbd[_0x4bfce4]=_0x1fbf59,_0x3aaccc=(_0x2d50c5,_0x2f5066,_0x3a9849,_0x2a4a25)=>{const _0x2b4574=_0xd971d0;for(var _0xd892da=_0x2a4a25>0x1?void 0x0:_0x2a4a25?_0x3928a(_0x2f5066,_0x3a9849):_0x2f5066,_0xd0342=_0x2d50c5[_0x2b4574(0x311)]-0x1,_0x2b28ad;_0xd0342>=0x0;_0xd0342--)(_0x2b28ad=_0x2d50c5[_0xd0342])&&(_0xd892da=_0x2b28ad(_0xd892da)||_0xd892da);return _0xd892da;},_0x59784e=(_0x3d3e84,_0x328dbd)=>(_0x1195c1,_0x20e65a)=>_0x328dbd(_0x1195c1,_0x20e65a,_0x3d3e84),_0x33236e=(_0x200069,_0x605330,_0x1ea55f)=>_0x2e2fe7(_0x200069,_0x605330+'',_0x1ea55f);const _0x38ca3a=_0xd971d0(0x1b7);_0x10d983[_0xd971d0(0x340)]=class extends _0x362e90[_0xd971d0(0x313)]{constructor(_0x1333d1=_0x2d6f67,_0x4d123d,_0x1ef8af,_0x51513e){const _0x419f9b=_0xd971d0;super(),this['_config']=_0x1333d1,this[_0x419f9b(0x146)]=_0x4d123d,this[_0x419f9b(0x296)]=_0x1ef8af,this[_0x419f9b(0x147)]=_0x51513e;const {..._0x3db79d}=_0x362e90[_0x419f9b(0x169)]({},_0x2d6f67,this['_config']);this[_0x419f9b(0x147)][_0x419f9b(0x241)](_0x4b6a56,_0x3db79d);}[_0xd971d0(0x2c3)](){const _0x51f322=_0xd971d0;[[_0x10d983[_0x51f322(0x281)]],[_0x322ffd],[_0x2c97eb],[_0x531cb8],[_0x383517],[_0x48b2ea],[_0x31bbcc[_0x51f322(0x1ae)],{'useClass':_0x28124e[_0x51f322(0x221)]}],[_0x20c686['IDialogService'],{'useClass':_0x1f14bd}],[_0x3d4b38['IImageIoService'],{'useClass':_0x28124e['CollaborationImageIoService']}]][_0x51f322(0x33f)](_0x11e407=>this['_injector']['add'](_0x11e407)),this[_0x51f322(0x146)]['get'](_0x322ffd);}['onRendered'](){const _0x19c273=_0xd971d0;[[_0x1bb87c]]['forEach'](_0x5ead5e=>{const _0x72c1d4=_0x1234;this['disposeWithMe'](this[_0x72c1d4(0x296)][_0x72c1d4(0x11d)](_0x362e90['UniverInstanceType'][_0x72c1d4(0xfc)],_0x5ead5e));}),this['_injector'][_0x19c273(0x16d)](_0x48b2ea),this[_0x19c273(0x146)][_0x19c273(0x16d)](_0x383517);}[_0xd971d0(0x137)](){const _0x33819f=_0xd971d0;this[_0x33819f(0x146)]['get'](_0x2c97eb);}},_0x33236e(_0x10d983[_0xd971d0(0x340)],_0xd971d0(0x249),_0x38ca3a),_0x10d983[_0xd971d0(0x340)]=_0x3aaccc([_0x362e90[_0xd971d0(0x1b2)](_0x7da741[_0xd971d0(0x304)],_0x3ce9c5[_0xd971d0(0x251)]),_0x59784e(0x1,_0x362e90[_0xd971d0(0x32a)](_0x362e90[_0xd971d0(0x2a3)])),_0x59784e(0x2,_0x3ad675[_0xd971d0(0x206)]),_0x59784e(0x3,_0x362e90[_0xd971d0(0x198)])],_0x10d983[_0xd971d0(0x340)]),_0x10d983[_0xd971d0(0x2f1)]=_0x27d434,_0x10d983[_0xd971d0(0x27f)]=_0x1cd6f3,Object[_0xd971d0(0x1dc)](_0x10d983,Symbol[_0xd971d0(0x2c7)],{'value':_0xd971d0(0x2bf)});}));function _0xddf4(){const _0x2a04fd=['evenodd','ISidebarService','fill','clear','subscribe','VIRTUAL_VERSION_NOW','loadingState','LICENSE_EXPORT_SIZE_EXCEEDED','Delete','_removeDiffMarks','ENTITLE_COUPON_EXPIRED','show','row','_versions$','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','MoveWorksheet','triggerRevert','REDEMPTION_CODE_NOT_STARTED','mask','InsertSheetMutation','WorkbookRenameSheetPermission','xlink:href','date','revertRevision$','SetRangeValuesMutation','setFrozen','setValue','SetWorksheetActiveOperation','HistoryModeStatus','_extractRanges','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_UNABLE_LOAD_URL','1008lQTxFS','_transformService','fetchMissingChangesets','fetchThroughInterceptors','UniverSheetsConditionalFormatting','unitId','Disposable','429BPstho','univer-animate-spin','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','@univerjs-pro/collaboration','blocks','univerjs-icon\x20univerjs-icon-','getDataRange','YUUMI_NO_CUBOID_FOR_QUESTION','UniverSheetsUIPlugin','LocaleType','entries','Duplicate','history-mask','time','reduce','find','getDialogs$','UNDEFINED','4385oVCxiS','Sort','canRevert','length','style','Plugin','ViewHistory','_messageService','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverUi','EditExtraObject','CopySheet','INTERNAL_ERROR','getOwnPropertyDescriptor','REDEMPTION_CODE_FULLY_REDEEMED','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','421908kmdEAl','updatePermissionPoint','filter','flat','Loading','@univerjs-pro/sheets-chart','refreshRangeProtectPermission','_currentVersionDiff$','toISOString','onMouseMove','11841150keKXyE','position','Inject','User','APPLY_REVISION_CONFILICT','InsertColMutation','url(#$1','disposeWithMe','@univerjs/network','origin','CURRENT_STATUS_CANNOT_OPERATE','RangeMergeUtil','EMAIL_HAS_BEEN_BOUND','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','BackIcon','combineLatest','SetCellStyle','rgba(58,\x2096,\x20247,\x200.20)','InsertRow','ensureVersion','subscribeEvent','IUniverInstanceService','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','forEach','UniverEditHistoryViewerPlugin','CHANGESET_REVISION_CONFILICT','endColumn','setDV','SetWorksheetHideMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','loading-multi-icon','editHistory.action.','Export','_canRevert','@univerjs/sheets','hideMask','ZH_CN','history-panel','INVITE_CODE_HAS_BEEN_UES','_getRangesByMutation','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','flex','Exited','IConfirmService','triggerLoadVersions','CreateSheet','SetConditionalRuleMutation','SelectProtectedCells','InsertColumn','PY_RUNTIME_SCRIPT_ERROR','UNIVER_SHEET','21808HClPMQ','Character','_revertRevision$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','useState','REDEMPTION_CODE_HAS_BEEN_CREATED','http://www.w3.org/2000/svg','DeleteColumn','_diffRangesMap','ENTITLE_COUPON_USED_UP','REDEMPTION_INVALID_CODE','ENTITLE_DUP_SUBSCRIPTION','UNIVER_UNKNOWN','_context','error','VIEW_MAIN','createElement','useObservable','querySelector','AUTHORIZE_CODE_ILLEGAL','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','insertChart','Tooltip','IMessageService','UniverDrawing','loadMoreVersions','@univerjs/design','RemoveNumfmtMutation','left','_diffs','permissionPointUpdate$','Edit','registerRenderModule','SHEET_VIEWPORT_KEY','tag','_permissionService','RenameWorksheet','RestoreIcon','LOGIN_FAILED','SNAPSHOT_HAS_BEEN_REMOVED',':\x20(','Comment','YUUMI_SUBSCRIPTION_NOT_FOUND','loaded','DeleteRow','changesets','body','_httpService','Today','currentVersion$','Filter','_commandService','LOGIN_TOKEN_PROCESSING_FAILED','deleteProtection','useRef','_setFetching','_openPanel','_currentVersion$','onSteady','jsx','_sheetPermissionInitController','sheet','Unspecified','16672EGKswG','APPLY_REJECT','ENTITLE_INVALID_COUPON_CODE','ENTITLE_INSUFFICIENT_QUOTA','_maskElement','editHistory.action.revertSheetSuffix','UniverProSheetsSparkline','_sidebarService','dateString','userID','_injector','_configService','UniverSheets','switchMap','WECHAT_HAS_BEEN_BOUND','startRow','SetFrozenMutation','debounce','createUnit','all','_updateDiffMarks','WorkbookMoveSheetPermission','loadSheet','open','PERMISSION_DENIED','rev','current','ranges','fetchCreatorList','confirm-revert-revision','push','getVersion','ITransformService','historyListServerUrl','substring','UNIVER_DOC','RwHgtClWdt','getVpScrollXYInfoByPosToVp','DeleteWorksheetProtectionMutation','RevertRevisionMutation','UniverInstanceType','react/jsx-runtime','editHistory.info.loading','1em','rules','merge','/list?','height','_lastLabel','get','CreateWorksheet','clsx','editHistory.panel.currentUser','Subject','column','zIndex','Info','justifyContent','onPointerMove$','init','#0B9EFB','replace','UNRECOGNIZED','getCoordByCell','_yieldToMain','state$','closeAll','2212hzMriG','BehaviorSubject','showMask','attrs','getVersions','hasCommand','fetching$','currentColor','_componentManager','216lUaVNO','ViemRwHgtClWdt','values','PAYMENT_CHANNEL_NOT_SUPPORT','has','_lastPointer','_fetching$','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','split','ENSURE_SNAPSHOT_EXECUTION','getRelativeToViewportCoord','_localeService','[HistoryFetchService]:\x20request\x20snapshot\x20error!','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','ComponentManager','IConfigService','getSheetObject','none','ENTITLE_CAN_NOT_BUY_LOWER_OTP','Share','RenameSheet','defs','exports','children','Vector2','SheetCollabCursorShape','AddRangeProtectionMutation','isTransformMutationsSuccess','APPLY_NON_SEQUENTIAL_REVISION','map','SNAPSHOT_INVALID_SNAPSHOT','CreatePermissionObject','getCellPositionByOffset','0\x200\x2016\x2016','concat','rule','getElementById','ISnapshotServerService','WorkbookHideSheetPermission','USER_IS_ANONYMOUS','UniverProCollaborationClientUi','DependentOn','forwardRef','keys','_historyManagerService','triggerLoadSheet','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','_creators$','set','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Entered','editHistory.panel.unknownUser','from','toString','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNIVER_SLIDE','endRow','REDEMPTION_USER_NOT_ELIGIBLE','block','setState','History','cellValue','getViewport','editHistory.panel.revertConfirm','mutations','div','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','span','DeleteSheet','USER_NOT_INVITED_CODE','HideWorksheet','MoveRowsMutation','UNIVER_PROJECT','_historyContainerId','4084605AuXDcs','editHistory.panel.cancel','creators','status','INVALID_ARGUMENT','setFilter','SheetPermissionInitController','@univerjs/ui','top','defineProperty','@univerjs/engine-render','commands','interceptor','connectInjector','2718WEYMJf','TOO_MANY_REQUESTS','ENTITLE_REPORT_LIMIT_EXCEED','back-icon','userId','confirm','YUUMI_AI_RUN_FAILED','UniverSheetsFilter','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','currentVersionDiff$','@univerjs/sheets-conditional-formatting','_versionDiffService','append','command','rxjs','getMinutes','SetSheetsFilterRangeMutation','insertSheet','getHours','100%','symbol','UniverSheetsUi','white','versions','sheetId','FromArray','ReorderRangeMutation','getCurrent','MOBILE_VERIFY_CODE_MISMATCH','subUnitId','isArray','getUnitId','useCallback','startColumn','name','next','_cellEditorManagerService','IRenderManagerService','MoveSheet','string','LICENSE_DISTRO_REJECTED','currentSkeleton$','Loaded','@univerjs/data-validation','_createMask','_univerInstanceService','Error','UniverDataValidation','range','workbook','params','unitId$','stopPropagation','react','_getActiveSubUnitId','Init','object','getCurrentVersion','syncExecuteCommand','RemoveSheetMutation','entered','idSuffix','ALREADY_EXISTS','getUnitOnRev','SnapshotServerOverHTTPService','active','_getAPIPrefix','rgba(225,\x20225,\x20225,\x200.5)','_setVersions','View','UniverProEditHistoryViewer','UniverProSheetsChart','backgroundColor','data','INVITE_CODE_REQUIRED','ViewFilter','addObjects','_uiPartsService','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','primary','/creators','_maskContainer','assign','loadInitialVersions','_loadParams','getAncestorScale','_dialogOptions$','COMPLETION_FINISHED','anonymous','getInterceptPoints','svg','_sidebarDisposable','recoverTime','SetRangeProtectionMutation','getConfig','REDEMPTION_USER_REDEEM_TIMES_EXCEED','setConfig','RecoverHistory','m1Prime','pipe','DeleteRangeProtectionMutation','executeCommand','restore-icon','_updateVersions','pluginName','APPLY_PERMISSION_DENIED','YUUMI_URL_COL_OUT_OF_RANGE','loadingState$','findAllRectangle','AddSheetSparklineMutation','loading','createTime','UniverNetworkPlugin','NOT_FOUND','_unitId$','subType','editHistory.panel.revertDesc','code','skeleton','jsxs','UniverNetwork','UpdateDataValidationMutation','colorChannel1','_initMaskContainer','some','restore-icon_clip0_1247_2','className','action','_init','currentVersion','ENTITLE_NEED_BILLING_ADDRESS','APPLY_DUPLICATED','_sheetSkeletonManagerService','editHistory.action.revertSheetPrefix','_snapshotServerService','_workbookDataCache','SetRowStyle','_combineRanges','now','addSparkline','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','path','dispose','UniverProCollaboration','InsertSheetsChartMutation','ICommandService','memberId','editHistory.panel.title','padStart','univer-flex\x20univer-items-center\x20univer-justify-center','SetColumnStyle','HideSheet','REDEMPTION_CODE_INACTIVE','DeleteWorksheet','_initPanel','ManageCollaborator','editSheet','getMember','HistoryOrigin','@univerjs/core','HistoryManagerService','includes','LocaleService','clipPath','LICENSE_MAX_UNITS_EXCEEDED','center','color','Print','SetWorksheetStyle','editHistory.panel.listFetchError','borderBottomClassName','user','_loadingState$','AddDataValidationMutation','use','EditWorksheetCell','useDependency','asObservable','getCurrentLocale','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','additionalFields','_renderManagerService','versions$','UNAUTHENTICATED','_status$','AddWorksheetMergeMutation','AddConditionalRuleMutation','747WRfyiv','ENTITLE_CHAT_LIMIT_EXCEED','userIds','HTTPService','/universer-api/history','_historyFetchService','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','Injector','width','LoadingMultiIcon','setCF','Fragment','YUUMI_ASYNCIO_CANCELLED','UniverIcon','close','loadHistoryCreatorList','editHistory.panel.confirm','ERROR_AGAIN','trim','value','addProtection','Copy','UniverCore','UniverProCollaborationClient','editHistory.action.etc','PivotTable','SheetSkeletonManagerService','DATA_SOURCE_TOO_LARGE','fetching','revertSheet','univer-text-gray-500','_transformMutationByOrder','FloatImg','getSeconds','ObjectMatrix','Module','@univerjs-pro/sheets-sparkline','MoveRangeMutation','React','onStarting','INVALID_INVITE_CODE','LICENSE_IMPORT_SIZE_EXCEEDED','url(#restore-icon_clip0_1247_2)','toStringTag','INVITE_CODE_ALREADY_BOUND','display','InsertHyperlink','hidden','USER_NOT_FOUND','_hasMore','WorkbookEditablePermission','_members','@univerjs-pro/collaboration-client','entities','ENTITLE_USE_COUPON_NOT_1ST_TRADE','displayName','_compressMutationService'];_0xddf4=function(){return _0x2a04fd;};return _0xddf4();}
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0xa0b4(){const _0x41949a=['@univerjs/sheets-drawing','disposeWithMe','mergeMenu','UniverFormulaEnginePlugin','status$','colorChannel1','getSheets','UniverSheetsDataValidation','historyListServerUrl','UniverDesign','@univerjs/design','M0\x200H16V16H0z','includes','React','UniverSheetsConditionalFormattingUi','unMountHistoryContent','_sidebarService','entries','value','UniverEditHistoryViewerPlugin','CommandType','http://www.w3.org/2000/svg','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/sheets-filter-ui','UniverSheetsChartPlugin','location','@univerjs/sheets-drawing-ui','UniverProSheetsChartUi','symbol','_revertErrorTimer','UniverSheetsUIPlugin','UniverSheetsDataValidationUIPlugin','CollaborationController','UniverNetwork','getAllPlugins','status','_historyUniver$','UniverSheetsChartUIPlugin','registerCommand','WorkbookRecoverHistoryPermission','display','11209462yzhjXK','defIds','@univerjs-pro/sheets-chart','_config','DisposableCollection','composePermission','100%','editHistory.panel.revertFailed','height','darkMode$','asObservable','WorksheetEditPermission','toStringTag','UniverRpc','univerContainerId','xlink:href','editHistory.panel.listFetchError','url(#$1','assign','path','getConfig','@univerjs/core','Univer','OTHERS','_initContainer','UniverProSheetsSparklineUi','setLocale','_injector','CollaborationEvent','_checkCanRevert','ISidebarService','@univerjs-pro/edit-history-viewer','UniverInstanceType','42040SKmFnQ','Inject','block','exhaustSavingTask','[HistoryLoaderService]:\x20Plugin\x20','MenuItemType','onStarting','49FXQynz','CHANGESET_ACK','UniverSheetsFormula','revertRevision$','eventID','RxDisposable','UNIVER_UNKNOWN','combineLatest','_dialogService','UniverProSheetsSparkline','UniverEngineFormula','@univerjs/ui','history-container','_collaborationController','div','UniverSheetsFilterUi','UniverProCollaborationClient','@univerjs/engine-render','IAuthzIoService','forEach','@univerjs/data-validation','string','658881cNdQif','setConfig','Injector','RevertRevisionMutation','IMenuManagerService','BUTTON','UniverUIPlugin','286182gUiIaH','every','UniverProLicense','RibbonStartGroup','workerURL','fill','UniverSheetsDrawingUi','merge','amd','@univerjs/sheets-data-validation','edit-history-loader.config','UniverSheetsHyperLink','UniverDrawing','getSubunitRuleList','@univerjs/sheets','HistoryIcon','_pluginMap','onCommandExecuted','defs','@univerjs-pro/sheets-sparkline-ui','url(#history-icon_clip0_907_281)','1em','_localCacheService','attrs','exports','has','IConfigService','BehaviorSubject','UniverRenderEnginePlugin','@univerjs/sheets-filter','_historyManagerService','1275096XObPvi','data','0\x200\x2016\x2016','editHistory.panel.reverting','IPermissionService','editHistory.panel.title','useRef','UniverDataValidation','triggerLoadVersions','Loading','WorkbookViewHistoryPermission','substring','clipPath','WorkbookEditablePermission','reload','UniverDataValidationPlugin','ThemeService','@univerjs/sheets-conditional-formatting','@univerjs-pro/license','univer-container','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','univer-history-container','_initPlugins','rxjs','none','_init','UniverSheetsHyperLinkPlugin','285786RAykXO','UniverSheetsConditionalFormatting','mountHistoryContent','UniverUi','ComponentManager','MessageType','setTheme','SYNCED','\x20has\x20been\x20registered.','9uorfwL','Plugin','_configService','@univerjs/docs','HistoryModeStatus','_menuManagerService','_themeService','2Yydywb','close','UniverDrawingUIPlugin','HistoryManagerService','IImageIoService','UniverSheetSparklineUIPlugin','_messageService','@univerjs/sheets-formula-ui','invoke','historyUniver$','_disposableCollection','HistoryLoaderService','UniverSheetSparklinePlugin','Exited','length','@univerjs/engine-formula','IMessageService','@univerjs/drawing','show','idSuffix','UniverSheetsFormulaPlugin','permissionId','dataset','session','get','getSheetId','UniverEditHistoryLoaderPlugin','_permissionService','getUnit','@univerjs/network','some','RangeProtectionRuleModel','values','UniverSheetsPlugin','state$','createElement','LS_CONFIG_KEY','UniverSheetsConditionalFormattingPlugin','_selectionProtectionRuleModel','mutations','subscribe','UniverSheetsNumfmtPlugin','style','@univerjs-pro/sheets-sparkline','_commandService','tag','map','IUniverInstanceService','params','UniverEngineRender','ICommandService','676128Ereqwv','Error','UniverRPCMainThreadPlugin','_initUniver','event$','@univerjs/sheets-hyper-link-ui','univer.operation.toggle-edit-history','UniverSheetsDataValidationPlugin','next','@univerjs/drawing-ui','dispose','ILocalCacheService','getOwnPropertyDescriptor','type','UniverLicensePlugin','setDarkMode','UniverSheetsFormulaUi','10WnASWe','UniverSheetsDrawingPlugin','history-icon_clip0_907_281','appendChild','register','UniverProSheetsChart','children','registerPlugin','getMenuHiddenObservable','historyUniver','OPERATION','getElementById','defineProperty','menu','UniverSheetsDrawingUIPlugin','@univerjs/sheets-numfmt','displayName','UniverSheetsConditionalFormattingUIPlugin','_initListener','unsubscribe','RangeProtectionPermissionEditPoint','UniverSheetsHyperLinkUIPlugin','AuthzIoHttpService','LocaleService','function','executeCommand','UniverDocsPlugin','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','@univerjs-pro/sheets-chart-ui','add','@univerjs/rpc','pluginName','UniverCollaborationPlugin','_localeService','mask','UniverSheetsDrawing','_univerInstanceService','@univerjs/sheets-formula','top'];_0xa0b4=function(){return _0x41949a;};return _0xa0b4();}function _0x3eb5(_0x60793e,_0x3fbec1){_0x60793e=_0x60793e-0x102;const _0xa0b43a=_0xa0b4();let _0x3eb5c5=_0xa0b43a[_0x60793e];return _0x3eb5c5;}(function(_0x128eec,_0x205e6d){const _0x3be5ee=_0x3eb5,_0x12738a=_0x128eec();while(!![]){try{const _0xee3c1f=parseInt(_0x3be5ee(0x20c))/0x1*(-parseInt(_0x3be5ee(0x1c2))/0x2)+-parseInt(_0x3be5ee(0x1bb))/0x3+-parseInt(_0x3be5ee(0x11c))/0x4+parseInt(_0x3be5ee(0x19e))/0x5+parseInt(_0x3be5ee(0x1fc))/0x6*(-parseInt(_0x3be5ee(0x1a5))/0x7)+parseInt(_0x3be5ee(0x1e1))/0x8*(parseInt(_0x3be5ee(0x205))/0x9)+parseInt(_0x3be5ee(0x12d))/0xa*(parseInt(_0x3be5ee(0x17d))/0xb);if(_0xee3c1f===_0x205e6d)break;else _0x12738a['push'](_0x12738a['shift']());}catch(_0x492d88){_0x12738a['push'](_0x12738a['shift']());}}}(_0xa0b4,0x2b993),function(_0x3a5700,_0x4e1573){const _0x10ba30=_0x3eb5;typeof exports=='object'&&typeof module<'u'?_0x4e1573(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x10ba30(0x145)&&define[_0x10ba30(0x1ca)]?define([_0x10ba30(0x1da),_0x10ba30(0x192),'@univerjs-pro/collaboration','@univerjs-pro/collaboration-client',_0x10ba30(0x15e),'react',_0x10ba30(0x1b0),_0x10ba30(0x1f8),_0x10ba30(0x1d0),_0x10ba30(0x19c),_0x10ba30(0x1f3),_0x10ba30(0x17f),_0x10ba30(0x149),'@univerjs-pro/sheets-pivot',_0x10ba30(0x114),_0x10ba30(0x1d5),_0x10ba30(0x1b9),_0x10ba30(0x208),'@univerjs/docs-ui',_0x10ba30(0x21d),_0x10ba30(0x125),_0x10ba30(0x21b),_0x10ba30(0x1b6),_0x10ba30(0x106),_0x10ba30(0x14b),_0x10ba30(0x1f2),'@univerjs/sheets-conditional-formatting-ui',_0x10ba30(0x1cb),'@univerjs/sheets-data-validation-ui',_0x10ba30(0x154),_0x10ba30(0x16e),_0x10ba30(0x1df),_0x10ba30(0x16b),_0x10ba30(0x152),_0x10ba30(0x213),'@univerjs/sheets-hyper-link',_0x10ba30(0x121),_0x10ba30(0x13c),'@univerjs/sheets-ui'],_0x4e1573):(_0x3a5700=typeof globalThis<'u'?globalThis:_0x3a5700||self,_0x4e1573(_0x3a5700['UniverProEditHistoryLoader']={},_0x3a5700['UniverCore'],_0x3a5700['UniverProCollaboration'],_0x3a5700[_0x10ba30(0x1b5)],_0x3a5700[_0x10ba30(0x15d)],_0x3a5700[_0x10ba30(0x161)],_0x3a5700[_0x10ba30(0x1ff)],_0x3a5700['rxjs'],_0x3a5700['UniverSheets'],_0x3a5700['UniverProEditHistoryViewer'],_0x3a5700[_0x10ba30(0x1c4)],_0x3a5700[_0x10ba30(0x132)],_0x3a5700[_0x10ba30(0x16f)],_0x3a5700['UniverProSheetsPivot'],_0x3a5700[_0x10ba30(0x1ae)],_0x3a5700[_0x10ba30(0x196)],_0x3a5700[_0x10ba30(0x1e8)],_0x3a5700['UniverDocs'],_0x3a5700['UniverDocsUi'],_0x3a5700[_0x10ba30(0x1ce)],_0x3a5700['UniverDrawingUi'],_0x3a5700[_0x10ba30(0x1af)],_0x3a5700[_0x10ba30(0x11a)],_0x3a5700[_0x10ba30(0x175)],_0x3a5700[_0x10ba30(0x18a)],_0x3a5700[_0x10ba30(0x1fd)],_0x3a5700[_0x10ba30(0x162)],_0x3a5700[_0x10ba30(0x15b)],_0x3a5700['UniverSheetsDataValidationUi'],_0x3a5700[_0x10ba30(0x150)],_0x3a5700[_0x10ba30(0x1c8)],_0x3a5700['UniverSheetsFilter'],_0x3a5700[_0x10ba30(0x1b4)],_0x3a5700[_0x10ba30(0x1a7)],_0x3a5700[_0x10ba30(0x12c)],_0x3a5700[_0x10ba30(0x1cd)],_0x3a5700['UniverSheetsHyperLinkUi'],_0x3a5700['UniverSheetsNumfmt'],_0x3a5700['UniverSheetsUi']));}(this,function(_0x280e88,_0x233f08,_0xaaeebb,_0x4c4856,_0x28dc16,_0x19842c,_0x26c674,_0x88a227,_0x52be2e,_0x3de5b9,_0x17c309,_0x25a116,_0x3a73a7,_0x2b0423,_0x29cd2d,_0x3f4b93,_0x1b8685,_0x56ad77,_0x371393,_0x249fa8,_0x42a28a,_0x2d9ea5,_0x2424a1,_0xfb2797,_0x1e121d,_0x19cd24,_0x23d0b0,_0x4ca176,_0x391292,_0xf68933,_0x38902d,_0x24a080,_0x57edba,_0x27debd,_0x196c9b,_0x346911,_0x41df1,_0x5b3102,_0x5d4cdb){'use strict';const _0x3bfe25=_0x3eb5;var _0x4c26b8=Object[_0x3bfe25(0x139)],_0x4c3d2b=(_0x31d6fa,_0xcc7d3d,_0x5bfd0f)=>_0xcc7d3d in _0x31d6fa?_0x4c26b8(_0x31d6fa,_0xcc7d3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bfd0f}):_0x31d6fa[_0xcc7d3d]=_0x5bfd0f,_0x229616=(_0x1c2187,_0x583608,_0x2e21fd)=>_0x4c3d2b(_0x1c2187,typeof _0x583608!=_0x3bfe25(0x170)?_0x583608+'':_0x583608,_0x2e21fd),_0x124250;const _0x575c58=_0x3bfe25(0x1cc),_0x4eaee0={};function _0x2c55e9({ref:_0x5e07bf,..._0x289867}){const _0x2a9582=_0x3bfe25,{icon:_0x4c6d86,id:_0x4a7964,className:_0x284a95,extend:_0x3477b5,..._0x415fcb}=_0x289867,_0x3fcf34=('univerjs-icon\x20univerjs-icon-'+_0x4a7964+'\x20'+(_0x284a95||''))['trim'](),_0x388e29=_0x19842c[_0x2a9582(0x1e7)]('_'+_0x441822());return _0x40ff87(_0x4c6d86,''+_0x4a7964,{'defIds':_0x4c6d86[_0x2a9582(0x17e)],'idSuffix':_0x388e29['current']},{'ref':_0x5e07bf,'className':_0x3fcf34,..._0x415fcb},_0x3477b5);}function _0x40ff87(_0x38cf1a,_0xb90da7,_0xf91921,_0xb24378,_0x28c412){const _0x2c15f9=_0x3bfe25;return _0x19842c[_0x2c15f9(0x10c)](_0x38cf1a['tag'],{'key':_0xb90da7,..._0x66108e(_0x38cf1a,_0xf91921,_0x28c412),..._0xb24378},(_0x35f598(_0x38cf1a,_0xf91921)['children']||[])['map']((_0x424d9a,_0x3691ee)=>_0x40ff87(_0x424d9a,_0xb90da7+'-'+_0x38cf1a[_0x2c15f9(0x116)]+'-'+_0x3691ee,_0xf91921,void 0x0,_0x28c412)));}function _0x66108e(_0x206b54,_0x5f2460,_0x687be0){const _0x40c5ac=_0x3bfe25,_0x395c90={..._0x206b54[_0x40c5ac(0x1d9)]};_0x687be0!=null&&_0x687be0[_0x40c5ac(0x159)]&&_0x395c90[_0x40c5ac(0x1c7)]==='colorChannel1'&&(_0x395c90[_0x40c5ac(0x1c7)]=_0x687be0['colorChannel1']),_0x206b54[_0x40c5ac(0x116)]===_0x40c5ac(0x14f)&&_0x395c90['id']&&(_0x395c90['id']=_0x395c90['id']+_0x5f2460[_0x40c5ac(0x21f)]),Object[_0x40c5ac(0x165)](_0x395c90)[_0x40c5ac(0x1b8)](([_0x1839d5,_0x45c7f5])=>{const _0x13ab8b=_0x40c5ac;_0x1839d5===_0x13ab8b(0x14f)&&typeof _0x45c7f5=='string'&&(_0x395c90[_0x1839d5]=_0x45c7f5['replace'](/url\(#(.*)\)/,_0x13ab8b(0x18e)+_0x5f2460[_0x13ab8b(0x21f)]+')'));});const {defIds:_0x1346a3}=_0x5f2460;return!_0x1346a3||_0x1346a3[_0x40c5ac(0x21a)]===0x0||(_0x206b54[_0x40c5ac(0x116)]==='use'&&_0x395c90[_0x40c5ac(0x18c)]&&(_0x395c90[_0x40c5ac(0x18c)]=_0x395c90[_0x40c5ac(0x18c)]+_0x5f2460[_0x40c5ac(0x21f)]),Object['entries'](_0x395c90)[_0x40c5ac(0x1b8)](([_0x4ee312,_0x4599b7])=>{const _0x5d57c2=_0x40c5ac;typeof _0x4599b7==_0x5d57c2(0x1ba)&&(_0x395c90[_0x4ee312]=_0x4599b7['replace'](/url\(#(.*)\)/,'url(#$1'+_0x5f2460[_0x5d57c2(0x21f)]+')'));})),_0x395c90;}function _0x35f598(_0x43ea14,_0x18ddf2){const _0x57c4ed=_0x3bfe25;var _0x58aaa1;const {defIds:_0x5b33ba}=_0x18ddf2;return!_0x5b33ba||_0x5b33ba['length']===0x0?_0x43ea14:_0x43ea14[_0x57c4ed(0x116)]===_0x57c4ed(0x1d4)&&((_0x58aaa1=_0x43ea14[_0x57c4ed(0x133)])!=null&&_0x58aaa1[_0x57c4ed(0x21a)])?{..._0x43ea14,'children':_0x43ea14[_0x57c4ed(0x133)][_0x57c4ed(0x117)](_0x51d293=>typeof _0x51d293[_0x57c4ed(0x1d9)]['id']==_0x57c4ed(0x1ba)&&_0x5b33ba&&_0x5b33ba[_0x57c4ed(0x160)](_0x51d293[_0x57c4ed(0x1d9)]['id'])?{..._0x51d293,'attrs':{..._0x51d293[_0x57c4ed(0x1d9)],'id':_0x51d293[_0x57c4ed(0x1d9)]['id']+_0x18ddf2[_0x57c4ed(0x21f)]}}:_0x51d293)}:_0x43ea14;}function _0x441822(){const _0x5edeeb=_0x3bfe25;return Math['random']()['toString'](0x24)[_0x5edeeb(0x1ec)](0x2,0x8);}_0x2c55e9[_0x3bfe25(0x13d)]='UniverIcon';const _0x20cb47={'tag':'svg','attrs':{'xmlns':_0x3bfe25(0x169),'fill':'none','viewBox':_0x3bfe25(0x1e3),'width':_0x3bfe25(0x1d7),'height':_0x3bfe25(0x1d7)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x3bfe25(0x1d6)},'children':[{'tag':_0x3bfe25(0x190),'attrs':{'d':_0x3bfe25(0x1f5)}},{'tag':_0x3bfe25(0x190),'attrs':{'d':_0x3bfe25(0x148)}}]},{'tag':_0x3bfe25(0x1d4),'attrs':{},'children':[{'tag':_0x3bfe25(0x1ed),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x3bfe25(0x190),'attrs':{'fill':'white','d':_0x3bfe25(0x15f)}}]}]}],'defIds':[_0x3bfe25(0x12f)]},_0x4a181e=_0x19842c['forwardRef'](function(_0x4ab9f2,_0x2cbe46){const _0x4f53c0=_0x3bfe25;return _0x19842c[_0x4f53c0(0x10c)](_0x2c55e9,Object[_0x4f53c0(0x18f)]({},_0x4ab9f2,{'id':'history-icon','ref':_0x2cbe46,'icon':_0x20cb47}));});_0x4a181e[_0x3bfe25(0x13d)]=_0x3bfe25(0x1d1);var _0x3cbb54=Object[_0x3bfe25(0x128)],_0x59bcae=(_0x324612,_0x5a2f05,_0x542cfd,_0x4e6cc2)=>{for(var _0x1cb9a6=_0x4e6cc2>0x1?void 0x0:_0x4e6cc2?_0x3cbb54(_0x5a2f05,_0x542cfd):_0x5a2f05,_0xd5d22a=_0x324612['length']-0x1,_0x294eb1;_0xd5d22a>=0x0;_0xd5d22a--)(_0x294eb1=_0x324612[_0xd5d22a])&&(_0x1cb9a6=_0x294eb1(_0x1cb9a6)||_0x1cb9a6);return _0x1cb9a6;},_0x474e4e=(_0x30929a,_0x37fa12)=>(_0xc0422c,_0x52db97)=>_0x37fa12(_0xc0422c,_0x52db97,_0x30929a);const _0x2c0214=_0x3bfe25(0x1f4),_0x5a4c2c='UNIVER_CONTAINER_ID',_0x391694=_0x3bfe25(0x1f6);_0x280e88['HistoryLoaderService']=class extends _0x233f08['Disposable']{constructor(_0x40989d,_0x13d95d,_0x51ee08,_0xb60ada,_0x279b95,_0x2d344b,_0x4dee8e,_0x1f1df3,_0x57df34,_0x357804){const _0x5630be=_0x3bfe25;super(),_0x229616(this,'_historyUniver$',new _0x88a227[(_0x5630be(0x1dd))](null)),_0x229616(this,_0x5630be(0x215),this[_0x5630be(0x178)][_0x5630be(0x187)]()),_0x229616(this,_0x5630be(0x216),new _0x233f08[(_0x5630be(0x181))]()),_0x229616(this,_0x5630be(0x1d2),new Map()),(this[_0x5630be(0x14e)]=_0x40989d,this[_0x5630be(0x151)]=_0x13d95d,this[_0x5630be(0x207)]=_0x51ee08,this[_0x5630be(0x115)]=_0xb60ada,this[_0x5630be(0x212)]=_0x279b95,this[_0x5630be(0x104)]=_0x2d344b,this[_0x5630be(0x10f)]=_0x4dee8e,this[_0x5630be(0x1ad)]=_0x1f1df3,this[_0x5630be(0x164)]=_0x57df34,this[_0x5630be(0x20b)]=_0x357804,this[_0x5630be(0x1fa)]());}get['historyUniver'](){const _0x31f876=_0x3bfe25;return this[_0x31f876(0x178)][_0x31f876(0x166)];}[_0x3bfe25(0x1fa)](){const _0xe188cd=_0x3bfe25;this[_0xe188cd(0x195)](),this[_0xe188cd(0x1f7)]();}['_initContainer'](){const _0x5c44d0=_0x3bfe25;var _0x11c8c3;const _0x3b7351=(_0x11c8c3=this[_0x5c44d0(0x207)]['getConfig'](_0x5a4c2c))!=null?_0x11c8c3:_0x2c0214,_0x440228=document[_0x5c44d0(0x138)](_0x3b7351);if(!_0x440228)return;const _0x1b6edc=document[_0x5c44d0(0x10c)](_0x5c44d0(0x1b3));_0x1b6edc['id']=_0x391694,_0x1b6edc[_0x5c44d0(0x222)]['uComp']=_0x5c44d0(0x1b1),_0x1b6edc[_0x5c44d0(0x113)]['position']='absolute',_0x1b6edc['style'][_0x5c44d0(0x153)]='0',_0x1b6edc[_0x5c44d0(0x113)]['left']='0',_0x1b6edc['style']['width']='100%',_0x1b6edc[_0x5c44d0(0x113)][_0x5c44d0(0x185)]=_0x5c44d0(0x183),_0x1b6edc['style']['zIndex']='1000',_0x1b6edc['style']['display']=_0x5c44d0(0x1f9),_0x440228[_0x5c44d0(0x130)](_0x1b6edc);}[_0x3bfe25(0x1f7)](){const _0x588067=_0x3bfe25;var _0x564664,_0x453338,_0xa08e,_0x3155a8;[[_0x2424a1[_0x588067(0x1de)]],[_0x26c674[_0x588067(0x1c1)],{'container':_0x391694,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x26c674['IDialogService'],null]]}],[_0xfb2797['UniverNetworkPlugin']],[_0x249fa8['UniverDrawingPlugin'],{'override':[[_0x249fa8[_0x588067(0x210)],null]]}],[_0x56ad77[_0x588067(0x147)],{'hasScroll':!0x1}],[_0x371393['UniverDocsUIPlugin']],[_0x5b3102[_0x588067(0x112)]],[_0x52be2e[_0x588067(0x10a)],{'notExecuteFormula':!0x0}],[_0x5d4cdb[_0x588067(0x172)]],[_0x27debd[_0x588067(0x220)]],[_0x196c9b['UniverSheetsFormulaUIPlugin']],[_0xaaeebb[_0x588067(0x14d)]],[_0x24a080['UniverSheetsFilterPlugin']],[_0x57edba['UniverSheetsFilterUIPlugin']],[_0x19cd24[_0x588067(0x10e)]],[_0x23d0b0[_0x588067(0x13e)]],[_0x346911[_0x588067(0x1fb)]],[_0x41df1[_0x588067(0x142)]],[_0x1b8685[_0x588067(0x1f0)]],[_0x4ca176[_0x588067(0x123)]],[_0x391292[_0x588067(0x173)]],[_0x2d9ea5[_0x588067(0x157)],{'notExecuteFormula':!0x0}],[_0x1e121d[_0x588067(0x11e)],{'workerURL':(_0x453338=(_0x564664=this[_0x588067(0x207)]['getConfig'](_0x1e121d['PLUGIN_CONFIG_KEY_MAIN_THREAD']))==null?void 0x0:_0x564664[_0x588067(0x1c6)])!=null?_0x453338:'./worker.js'}],[_0x42a28a[_0x588067(0x20e)]],[_0xf68933[_0x588067(0x12e)]],[_0x38902d[_0x588067(0x13b)]],[_0x29cd2d[_0x588067(0x218)]],[_0x3f4b93[_0x588067(0x211)]],[_0x25a116[_0x588067(0x16c)]],[_0x3a73a7[_0x588067(0x179)]],[_0x2b0423['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x3de5b9[_0x588067(0x167)],{'historyListServerUrl':(_0xa08e=this[_0x588067(0x207)]['getConfig'](_0x575c58))==null?void 0x0:_0xa08e[_0x588067(0x15c)],'historyPanelComponentKey':(_0x3155a8=this['_configService'][_0x588067(0x191)](_0x575c58))==null?void 0x0:_0x3155a8['historyPanelComponentKey']}]][_0x588067(0x1b8)](([_0xf98628,_0x3b4eb2])=>this['registerPlugin'](_0xf98628,_0x3b4eb2));}['dispose'](){const _0x53d4bf=_0x3bfe25;super[_0x53d4bf(0x126)](),this[_0x53d4bf(0x163)](),this[_0x53d4bf(0x1d2)]['clear']();}[_0x3bfe25(0x134)](_0x5675f1,_0x2077a1,_0x415f82){const _0x3952c8=_0x3bfe25;if(this[_0x3952c8(0x1d2)][_0x3952c8(0x1db)](_0x5675f1[_0x3952c8(0x14c)])&&!_0x415f82)throw new Error(_0x3952c8(0x1a2)+_0x5675f1['pluginName']+_0x3952c8(0x204));this[_0x3952c8(0x1d2)]['set'](_0x5675f1[_0x3952c8(0x14c)],[_0x5675f1,_0x2077a1]);}[_0x3bfe25(0x176)](){const _0x10ae64=_0x3bfe25;return Array['from'](this[_0x10ae64(0x1d2)][_0x10ae64(0x109)]());}[_0x3bfe25(0x1fe)](_0x196636){const _0x5b3121=_0x3bfe25,_0x4ea361=document[_0x5b3121(0x138)](_0x391694);_0x4ea361&&(_0x4ea361[_0x5b3121(0x113)][_0x5b3121(0x17c)]=_0x5b3121(0x1a0),this[_0x5b3121(0x11f)](_0x196636,_0x391694));}[_0x3bfe25(0x163)](){const _0x1900ee=_0x3bfe25;var _0x12a315;this[_0x1900ee(0x216)][_0x1900ee(0x126)](),(_0x12a315=this[_0x1900ee(0x136)])==null||_0x12a315['dispose'](),this[_0x1900ee(0x178)][_0x1900ee(0x124)](null);const _0x5049c6=document[_0x1900ee(0x138)](_0x391694);_0x5049c6&&(_0x5049c6['style'][_0x1900ee(0x17c)]='none');}[_0x3bfe25(0x11f)](_0x19415b,_0x16ee50){const _0x3eea5d=_0x3bfe25;if(this[_0x3eea5d(0x136)])return;const _0x5034cf=new _0x233f08[(_0x3eea5d(0x193))]({'locales':{[this[_0x3eea5d(0x14e)]['getCurrentLocale']()]:this[_0x3eea5d(0x14e)]['getLocales']()},'override':[[_0x233f08[_0x3eea5d(0x1b7)],{'useClass':_0x4c4856[_0x3eea5d(0x143)]}]]}),_0x460380=_0x5034cf['__getInjector']();this['disposeWithMe'](this[_0x3eea5d(0x20b)][_0x3eea5d(0x186)][_0x3eea5d(0x111)](_0x5d680=>{const _0x53ace5=_0x3eea5d;_0x460380['get'](_0x233f08[_0x53ace5(0x1f1)])[_0x53ace5(0x12b)](_0x5d680);})),this['disposeWithMe'](this[_0x3eea5d(0x20b)]['currentTheme$'][_0x3eea5d(0x111)](_0x37e5da=>{const _0x868c83=_0x3eea5d;_0x460380[_0x868c83(0x224)](_0x233f08['ThemeService'])[_0x868c83(0x202)](_0x37e5da);})),_0x460380[_0x3eea5d(0x224)](_0x233f08[_0x3eea5d(0x144)])[_0x3eea5d(0x197)](this['_localeService']['getCurrentLocale']()),_0x460380['get'](_0x233f08[_0x3eea5d(0x1dc)])['setConfig'](_0x4c4856[_0x3eea5d(0x16a)],this[_0x3eea5d(0x207)][_0x3eea5d(0x191)](_0x4c4856[_0x3eea5d(0x16a)]));const _0x2cf8f2=this[_0x3eea5d(0x207)][_0x3eea5d(0x191)](_0x17c309[_0x3eea5d(0x10d)]);_0x2cf8f2&&_0x5034cf['registerPlugin'](_0x17c309[_0x3eea5d(0x12a)],{'license':_0x2cf8f2['ls']}),this[_0x3eea5d(0x1d2)][_0x3eea5d(0x1b8)](([_0x22b1a1,_0x48bdcb])=>{const _0x2bb217=_0x3eea5d;_0x5034cf[_0x2bb217(0x134)](_0x22b1a1,_0x48bdcb);}),_0x460380[_0x3eea5d(0x214)](_0x420cc4=>{const _0x5a9ade=_0x3eea5d;this[_0x5a9ade(0x13f)](_0x420cc4,_0x19415b);}),this[_0x3eea5d(0x178)]['next'](_0x5034cf);const _0x5895ce=_0x460380[_0x3eea5d(0x224)](_0x3de5b9[_0x3eea5d(0x20f)]),_0x34f09c=this[_0x3eea5d(0x19a)](_0x19415b);_0x5895ce[_0x3eea5d(0x1e9)](_0x19415b,_0x16ee50,_0x34f09c);}[_0x3bfe25(0x13f)](_0x301d72,_0x581495){const _0x56c3df=_0x3bfe25,_0x13c952=_0x301d72['get'](_0x3de5b9['HistoryManagerService']);this[_0x56c3df(0x216)][_0x56c3df(0x14a)](_0x13c952[_0x56c3df(0x158)][_0x56c3df(0x111)](_0x3fc221=>{const _0x45cc8d=_0x56c3df;switch(_0x3fc221){case _0x3de5b9[_0x45cc8d(0x209)]['Entered']:this['_dialogService']['closeAll'](),this[_0x45cc8d(0x164)][_0x45cc8d(0x20d)]();break;case _0x3de5b9[_0x45cc8d(0x209)][_0x45cc8d(0x219)]:this[_0x45cc8d(0x115)][_0x45cc8d(0x146)](_0x1be2fb['id']),this[_0x45cc8d(0x163)]();break;case _0x3de5b9['HistoryModeStatus'][_0x45cc8d(0x11d)]:this[_0x45cc8d(0x163)](),this[_0x45cc8d(0x212)]['show']({'content':this[_0x45cc8d(0x14e)]['t'](_0x45cc8d(0x18d)),'type':_0x28dc16[_0x45cc8d(0x201)][_0x45cc8d(0x11d)],'duration':0xbb8});break;}})),this[_0x56c3df(0x216)][_0x56c3df(0x14a)](_0x13c952[_0x56c3df(0x1a8)]['subscribe'](async _0x2dfaee=>{const _0x11c129=_0x56c3df;_0x2dfaee&&this['_commandService'][_0x11c129(0x146)](_0xaaeebb[_0x11c129(0x1be)]['id'],{'unitId':_0x581495,'revision':_0x2dfaee});}));}[_0x3bfe25(0x19a)](_0x56301b){const _0x127bda=_0x3bfe25,_0x27efa9=this[_0x127bda(0x151)][_0x127bda(0x105)](_0x56301b)[_0x127bda(0x15a)]()[_0x127bda(0x117)](_0x1d0224=>_0x1d0224[_0x127bda(0x102)]()),_0x67be6a=new _0x52be2e[(_0x127bda(0x1ee))](_0x56301b)['id'],_0x3aabde=_0x27efa9[_0x127bda(0x117)](_0x14156d=>new _0x52be2e[(_0x127bda(0x188))](_0x56301b,_0x14156d)['id']),_0x5b162d=_0x27efa9[_0x127bda(0x117)](_0x370746=>this[_0x127bda(0x10f)][_0x127bda(0x1cf)](_0x56301b,_0x370746)['map'](_0xb3a530=>new _0x52be2e[(_0x127bda(0x141))](_0x56301b,_0x370746,_0xb3a530[_0x127bda(0x221)])['id']))['flat'](),_0x20fcb2=new _0x52be2e[(_0x127bda(0x17b))](_0x56301b)['id'];return this['_permissionService'][_0x127bda(0x182)]([_0x67be6a,..._0x3aabde,..._0x5b162d,_0x20fcb2])[_0x127bda(0x1c3)](_0x2f9adf=>!!_0x2f9adf[_0x127bda(0x166)]);}},_0x280e88[_0x3bfe25(0x217)]=_0x59bcae([_0x474e4e(0x0,_0x233f08[_0x3bfe25(0x19f)](_0x233f08[_0x3bfe25(0x144)])),_0x474e4e(0x1,_0x233f08[_0x3bfe25(0x118)]),_0x474e4e(0x2,_0x233f08[_0x3bfe25(0x1dc)]),_0x474e4e(0x3,_0x233f08[_0x3bfe25(0x11b)]),_0x474e4e(0x4,_0x26c674['IMessageService']),_0x474e4e(0x5,_0x233f08[_0x3bfe25(0x1e5)]),_0x474e4e(0x6,_0x233f08[_0x3bfe25(0x19f)](_0x52be2e[_0x3bfe25(0x108)])),_0x474e4e(0x7,_0x233f08[_0x3bfe25(0x19f)](_0x26c674['IDialogService'])),_0x474e4e(0x8,_0x233f08[_0x3bfe25(0x19f)](_0x26c674[_0x3bfe25(0x19b)])),_0x474e4e(0x9,_0x233f08[_0x3bfe25(0x19f)](_0x233f08['ThemeService']))],_0x280e88['HistoryLoaderService']);const _0x57d6fc={'id':_0x3bfe25(0x122),'type':_0x233f08[_0x3bfe25(0x168)]['OPERATION'],'handler':_0x5b5b14=>{const _0x4074d6=_0x3bfe25,_0x5b0fe2=_0x5b5b14['get'](_0x280e88[_0x4074d6(0x217)]),_0x108576=_0x5b5b14['get'](_0x233f08['IUniverInstanceService']),{unitId:_0xa65585}=_0x52be2e['getSheetCommandTarget'](_0x108576)||{};return _0xa65585?(_0x5b0fe2['mountHistoryContent'](_0xa65585),!0x0):!0x1;}},_0x1be2fb={'id':'univer.operation.exit-edit-history','type':_0x233f08[_0x3bfe25(0x168)][_0x3bfe25(0x137)],'handler':()=>!0x0};function _0x4f717c(_0x37a8a4){const _0x5d4f75=_0x3bfe25;return{'id':_0x57d6fc['id'],'type':_0x26c674[_0x5d4f75(0x1a3)][_0x5d4f75(0x1c0)],'icon':_0x5d4f75(0x1d1),'tooltip':_0x5d4f75(0x1e6),'hidden$':_0x26c674[_0x5d4f75(0x135)](_0x37a8a4,_0x233f08[_0x5d4f75(0x19d)]['UNIVER_SHEET']),'disabled$':_0x5d4cdb['getCurrentRangeDisable$'](_0x37a8a4,{'workbookTypes':[_0x52be2e[_0x5d4f75(0x1ee)],_0x52be2e[_0x5d4f75(0x1eb)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x3495f5={[_0x26c674[_0x3bfe25(0x1c5)][_0x3bfe25(0x194)]]:{[_0x57d6fc['id']]:{'order':0.2,'menuItemFactory':_0x4f717c}}};var _0x5b0e7d=Object[_0x3bfe25(0x128)],_0x3bfa4a=(_0x2ee89b,_0x4faf0b,_0x4185c5,_0x573c9c)=>{for(var _0x5a1eff=_0x573c9c>0x1?void 0x0:_0x573c9c?_0x5b0e7d(_0x4faf0b,_0x4185c5):_0x4faf0b,_0x271c78=_0x2ee89b['length']-0x1,_0x198146;_0x271c78>=0x0;_0x271c78--)(_0x198146=_0x2ee89b[_0x271c78])&&(_0x5a1eff=_0x198146(_0x5a1eff)||_0x5a1eff);return _0x5a1eff;},_0x365ced=(_0x33c9ae,_0xfbf93a)=>(_0x493f61,_0xaf7765)=>_0xfbf93a(_0x493f61,_0xaf7765,_0x33c9ae);let _0x61b69d=class extends _0x233f08[_0x3bfe25(0x1aa)]{constructor(_0x67821d,_0x12683b,_0x26cafa,_0x2ab6f1,_0xdec945,_0x381971,_0x28d7fd,_0x2988bd){const _0x2bf8f5=_0x3bfe25;super(),_0x229616(this,_0x2bf8f5(0x171),null),(this[_0x2bf8f5(0x115)]=_0x67821d,this[_0x2bf8f5(0x20a)]=_0x12683b,this['_componentManager']=_0x26cafa,this['_historyManagerService']=_0x2ab6f1,this[_0x2bf8f5(0x14e)]=_0xdec945,this['_messageService']=_0x381971,this[_0x2bf8f5(0x1b2)]=_0x28d7fd,this[_0x2bf8f5(0x1d8)]=_0x2988bd,this['_init']());}[_0x3bfe25(0x1fa)](){const _0x5993cf=_0x3bfe25;[_0x57d6fc,_0x1be2fb]['forEach'](_0x51f7fc=>this['disposeWithMe'](_0x233f08['toDisposable'](this[_0x5993cf(0x115)][_0x5993cf(0x17a)](_0x51f7fc)))),this[_0x5993cf(0x155)](this['_componentManager'][_0x5993cf(0x131)](_0x5993cf(0x1d1),_0x4a181e)),this['_menuManagerService'][_0x5993cf(0x156)](_0x3495f5),this[_0x5993cf(0x155)](this[_0x5993cf(0x115)][_0x5993cf(0x1d3)](_0x18ccff=>{const _0x32938c=_0x5993cf;if(_0x18ccff['id']===_0xaaeebb[_0x32938c(0x1be)]['id']){this[_0x32938c(0x212)]['show']({'content':this['_localeService']['t'](_0x32938c(0x1e4)),'type':_0x28dc16[_0x32938c(0x201)][_0x32938c(0x1ea)],'duration':0x1388});const {unitId:_0x46010b}=_0x18ccff[_0x32938c(0x119)],_0x5f356c=this[_0x32938c(0x1b2)]['getCollabEntity'](_0x46010b),_0x2c0a48=_0x88a227[_0x32938c(0x1ac)]([_0x5f356c[_0x32938c(0x223)][_0x32938c(0x120)],_0x5f356c[_0x32938c(0x10b)]])['subscribe'](async([_0x181030,_0xd8cecd])=>{const _0x507f1f=_0x32938c;var _0xdddbfa;_0x181030[_0x507f1f(0x1a9)]===_0xaaeebb[_0x507f1f(0x199)][_0x507f1f(0x1a6)]&&(_0xd8cecd==null?void 0x0:_0xd8cecd[_0x507f1f(0x177)])===_0x4c4856['CollaborationStatus'][_0x507f1f(0x203)]&&_0x181030[_0x507f1f(0x1e2)][_0x507f1f(0x110)][_0x507f1f(0x107)](_0x3ee8b3=>_0x3ee8b3['id']===_0xaaeebb[_0x507f1f(0x1be)]['id'])&&(this[_0x507f1f(0x1e0)]['unMountHistoryContent'](),_0x2c0a48['unsubscribe'](),this[_0x507f1f(0x171)]&&clearTimeout(this[_0x507f1f(0x171)]),await((_0xdddbfa=this[_0x507f1f(0x1d8)])==null?void 0x0:_0xdddbfa[_0x507f1f(0x1a1)]()),setTimeout(()=>window[_0x507f1f(0x16d)][_0x507f1f(0x1ef)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x50e3bb=_0x32938c;_0x2c0a48[_0x50e3bb(0x140)](),this[_0x50e3bb(0x212)][_0x50e3bb(0x21e)]({'content':this['_localeService']['t'](_0x50e3bb(0x184)),'type':_0x28dc16['MessageType']['Error'],'duration':0xbb8});},0x1388);}}));}};_0x61b69d=_0x3bfa4a([_0x365ced(0x0,_0x233f08[_0x3bfe25(0x11b)]),_0x365ced(0x1,_0x26c674[_0x3bfe25(0x1bf)]),_0x365ced(0x2,_0x233f08[_0x3bfe25(0x19f)](_0x26c674[_0x3bfe25(0x200)])),_0x365ced(0x3,_0x233f08[_0x3bfe25(0x19f)](_0x280e88[_0x3bfe25(0x217)])),_0x365ced(0x4,_0x233f08[_0x3bfe25(0x19f)](_0x233f08[_0x3bfe25(0x144)])),_0x365ced(0x5,_0x26c674[_0x3bfe25(0x21c)]),_0x365ced(0x6,_0x233f08[_0x3bfe25(0x19f)](_0x4c4856[_0x3bfe25(0x174)])),_0x365ced(0x7,_0x4c4856[_0x3bfe25(0x127)])],_0x61b69d);var _0x215c38=Object[_0x3bfe25(0x128)],_0x1c9cd8=(_0x209c8f,_0xfd99d2,_0x5ce4fa,_0x4c040e)=>{const _0x32848a=_0x3bfe25;for(var _0x169a73=_0x4c040e>0x1?void 0x0:_0x4c040e?_0x215c38(_0xfd99d2,_0x5ce4fa):_0xfd99d2,_0x47741f=_0x209c8f[_0x32848a(0x21a)]-0x1,_0x22ee3f;_0x47741f>=0x0;_0x47741f--)(_0x22ee3f=_0x209c8f[_0x47741f])&&(_0x169a73=_0x22ee3f(_0x169a73)||_0x169a73);return _0x169a73;},_0x577880=(_0x12d4f9,_0x259bd1)=>(_0x418589,_0x1731c2)=>_0x259bd1(_0x418589,_0x1731c2,_0x12d4f9);const _0x4c82b7='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x280e88[_0x3bfe25(0x103)]=(_0x124250=class extends _0x233f08[_0x3bfe25(0x206)]{constructor(_0x50164d=_0x4eaee0,_0x5cebfc,_0x257a37){const _0x37b57b=_0x3bfe25;super(),this['_config']=_0x50164d,this[_0x37b57b(0x198)]=_0x5cebfc,this[_0x37b57b(0x207)]=_0x257a37;const {menu:_0x3b25d0,..._0x4441f7}=_0x233f08[_0x37b57b(0x1c9)]({},_0x4eaee0,this[_0x37b57b(0x180)]);_0x3b25d0&&this[_0x37b57b(0x207)][_0x37b57b(0x1bc)](_0x37b57b(0x13a),_0x3b25d0,{'merge':!0x0}),this[_0x37b57b(0x207)][_0x37b57b(0x1bc)](_0x575c58,_0x4441f7),this[_0x37b57b(0x180)][_0x37b57b(0x18b)]&&this[_0x37b57b(0x207)][_0x37b57b(0x1bc)](_0x5a4c2c,this['_config']['univerContainerId']);}[_0x3bfe25(0x1a4)](){const _0x10ac53=_0x3bfe25;[[_0x280e88['HistoryLoaderService']],[_0x61b69d]]['forEach'](_0x199d82=>this[_0x10ac53(0x198)][_0x10ac53(0x14a)](_0x199d82));}['onSteady'](){const _0x45a02b=_0x3bfe25;this[_0x45a02b(0x198)][_0x45a02b(0x224)](_0x61b69d);}},_0x229616(_0x124250,_0x3bfe25(0x129),_0x233f08[_0x3bfe25(0x19d)][_0x3bfe25(0x1ab)]),_0x229616(_0x124250,'pluginName',_0x4c82b7),_0x124250),_0x280e88[_0x3bfe25(0x103)]=_0x1c9cd8([_0x577880(0x1,_0x233f08[_0x3bfe25(0x19f)](_0x233f08[_0x3bfe25(0x1bd)])),_0x577880(0x2,_0x233f08[_0x3bfe25(0x1dc)])],_0x280e88[_0x3bfe25(0x103)]),_0x280e88['UNIVER_CONTAINER_ID_KEY']=_0x5a4c2c,_0x280e88['UNIVER_HISTORY_CONTAINER_ID']=_0x391694,Object['defineProperty'](_0x280e88,Symbol[_0x3bfe25(0x189)],{'value':'Module'});}));
20
+ function _0x124d(_0x485ece,_0x4b8c8b){_0x485ece=_0x485ece-0x1f1;const _0x37d862=_0x37d8();let _0x124d62=_0x37d862[_0x485ece];return _0x124d62;}(function(_0x59e3e5,_0x109fac){const _0x78b1eb=_0x124d,_0x3e3b91=_0x59e3e5();while(!![]){try{const _0x5ec740=parseInt(_0x78b1eb(0x2a5))/0x1+parseInt(_0x78b1eb(0x2a0))/0x2*(-parseInt(_0x78b1eb(0x227))/0x3)+-parseInt(_0x78b1eb(0x306))/0x4+parseInt(_0x78b1eb(0x2a9))/0x5*(-parseInt(_0x78b1eb(0x284))/0x6)+parseInt(_0x78b1eb(0x2c0))/0x7+-parseInt(_0x78b1eb(0x1f8))/0x8*(-parseInt(_0x78b1eb(0x268))/0x9)+-parseInt(_0x78b1eb(0x2cb))/0xa;if(_0x5ec740===_0x109fac)break;else _0x3e3b91['push'](_0x3e3b91['shift']());}catch(_0x4662e1){_0x3e3b91['push'](_0x3e3b91['shift']());}}}(_0x37d8,0xc174a),function(_0x75700f,_0x1b37d7){const _0xf87289=_0x124d;typeof exports==_0xf87289(0x26a)&&typeof module<'u'?_0x1b37d7(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0xf87289(0x210)&&define[_0xf87289(0x25a)]?define([_0xf87289(0x273),_0xf87289(0x238),_0xf87289(0x2cd),_0xf87289(0x220),_0xf87289(0x240),_0xf87289(0x2d7),'@univerjs/ui',_0xf87289(0x300),_0xf87289(0x302),_0xf87289(0x241),_0xf87289(0x2d2),'@univerjs-pro/sheets-chart',_0xf87289(0x231),_0xf87289(0x221),_0xf87289(0x213),'@univerjs-pro/sheets-sparkline-ui',_0xf87289(0x244),_0xf87289(0x2e1),'@univerjs/docs-ui','@univerjs/drawing',_0xf87289(0x23b),_0xf87289(0x281),'@univerjs/engine-render','@univerjs/network',_0xf87289(0x2de),_0xf87289(0x2ee),_0xf87289(0x212),'@univerjs/sheets-data-validation',_0xf87289(0x285),_0xf87289(0x272),'@univerjs/sheets-drawing-ui',_0xf87289(0x255),'@univerjs/sheets-filter-ui','@univerjs/sheets-formula',_0xf87289(0x26f),_0xf87289(0x2ad),_0xf87289(0x270),_0xf87289(0x319),'@univerjs/sheets-ui'],_0x1b37d7):(_0x75700f=typeof globalThis<'u'?globalThis:_0x75700f||self,_0x1b37d7(_0x75700f[_0xf87289(0x219)]={},_0x75700f[_0xf87289(0x295)],_0x75700f[_0xf87289(0x303)],_0x75700f[_0xf87289(0x279)],_0x75700f[_0xf87289(0x2c4)],_0x75700f[_0xf87289(0x25e)],_0x75700f[_0xf87289(0x24a)],_0x75700f[_0xf87289(0x300)],_0x75700f[_0xf87289(0x1f4)],_0x75700f[_0xf87289(0x2c9)],_0x75700f['UniverProLicense'],_0x75700f['UniverProSheetsChart'],_0x75700f[_0xf87289(0x237)],_0x75700f['UniverProSheetsPivot'],_0x75700f[_0xf87289(0x233)],_0x75700f[_0xf87289(0x20c)],_0x75700f['UniverDataValidation'],_0x75700f[_0xf87289(0x22e)],_0x75700f[_0xf87289(0x314)],_0x75700f['UniverDrawing'],_0x75700f[_0xf87289(0x27d)],_0x75700f[_0xf87289(0x2c6)],_0x75700f['UniverEngineRender'],_0x75700f[_0xf87289(0x27a)],_0x75700f[_0xf87289(0x29a)],_0x75700f['UniverSheetsConditionalFormatting'],_0x75700f['UniverSheetsConditionalFormattingUi'],_0x75700f[_0xf87289(0x2ae)],_0x75700f['UniverSheetsDataValidationUi'],_0x75700f[_0xf87289(0x2ec)],_0x75700f[_0xf87289(0x1ff)],_0x75700f[_0xf87289(0x253)],_0x75700f[_0xf87289(0x216)],_0x75700f[_0xf87289(0x260)],_0x75700f[_0xf87289(0x225)],_0x75700f['UniverSheetsHyperLink'],_0x75700f[_0xf87289(0x2b6)],_0x75700f[_0xf87289(0x251)],_0x75700f[_0xf87289(0x252)]));}(this,function(_0x5cac82,_0x34a90d,_0x2eb656,_0x45f3a2,_0x4474d1,_0x45a5ed,_0x34cb47,_0x48578a,_0x2fde5c,_0x439866,_0x520d16,_0x7b79a6,_0x147fa9,_0x2869ae,_0x4b06d1,_0x11d5a3,_0xe21d26,_0x3c81c2,_0x440a5e,_0x522ec0,_0x1ef6a0,_0x3b845d,_0x1441e7,_0x323686,_0x55a82b,_0x16fe94,_0xcff4fb,_0x639a1e,_0x8ee3b6,_0x1a27f2,_0xd84625,_0x443dfa,_0x37a903,_0x1ec90c,_0x2ac54a,_0x580d09,_0xaa7fa9,_0x564a49,_0x1f95dc){'use strict';const _0x1dfb1a=_0x124d;var _0x5c4b83=Object[_0x1dfb1a(0x1f1)],_0x2e3b70=(_0x230d3d,_0x39922c,_0x277e70)=>_0x39922c in _0x230d3d?_0x5c4b83(_0x230d3d,_0x39922c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x277e70}):_0x230d3d[_0x39922c]=_0x277e70,_0x536d7b=(_0x115882,_0x308d7e,_0x3c381f)=>_0x2e3b70(_0x115882,typeof _0x308d7e!='symbol'?_0x308d7e+'':_0x308d7e,_0x3c381f),_0x52766f;const _0x78e37d='edit-history-loader.config',_0x4cb294={};function _0x310ce0({ref:_0x602684,..._0x1eb342}){const _0x27669e=_0x1dfb1a,{icon:_0x2c7fc1,id:_0xe41b32,className:_0xb3bd82,extend:_0x5a6cec,..._0x1dac45}=_0x1eb342,_0xe59726=(_0x27669e(0x310)+_0xe41b32+'\x20'+(_0xb3bd82||''))[_0x27669e(0x276)](),_0x587901=_0x45a5ed[_0x27669e(0x254)]('_'+_0x4688c6());return _0x516403(_0x2c7fc1,''+_0xe41b32,{'defIds':_0x2c7fc1[_0x27669e(0x2d0)],'idSuffix':_0x587901['current']},{'ref':_0x602684,'className':_0xe59726,..._0x1dac45},_0x5a6cec);}function _0x516403(_0xba67f9,_0x124beb,_0x5439c4,_0x1bf902,_0x3411c0){const _0x16b3b7=_0x1dfb1a;return _0x45a5ed['createElement'](_0xba67f9[_0x16b3b7(0x288)],{'key':_0x124beb,..._0x48d122(_0xba67f9,_0x5439c4,_0x3411c0),..._0x1bf902},(_0x5d3a1e(_0xba67f9,_0x5439c4)[_0x16b3b7(0x2d4)]||[])[_0x16b3b7(0x2e0)]((_0x19f04d,_0x593e6c)=>_0x516403(_0x19f04d,_0x124beb+'-'+_0xba67f9[_0x16b3b7(0x288)]+'-'+_0x593e6c,_0x5439c4,void 0x0,_0x3411c0)));}function _0x48d122(_0x2585fb,_0x48f1f2,_0x188c4d){const _0x1bdc15=_0x1dfb1a,_0x226b4b={..._0x2585fb[_0x1bdc15(0x247)]};_0x188c4d!=null&&_0x188c4d['colorChannel1']&&_0x226b4b['fill']===_0x1bdc15(0x2c5)&&(_0x226b4b[_0x1bdc15(0x305)]=_0x188c4d['colorChannel1']),_0x2585fb[_0x1bdc15(0x288)]===_0x1bdc15(0x294)&&_0x226b4b['id']&&(_0x226b4b['id']=_0x226b4b['id']+_0x48f1f2['idSuffix']),Object[_0x1bdc15(0x201)](_0x226b4b)['forEach'](([_0x34569d,_0x22c2df])=>{const _0x5ee44c=_0x1bdc15;_0x34569d===_0x5ee44c(0x294)&&typeof _0x22c2df=='string'&&(_0x226b4b[_0x34569d]=_0x22c2df[_0x5ee44c(0x2e7)](/url\(#(.*)\)/,_0x5ee44c(0x215)+_0x48f1f2['idSuffix']+')'));});const {defIds:_0x4225c8}=_0x48f1f2;return!_0x4225c8||_0x4225c8[_0x1bdc15(0x230)]===0x0||(_0x2585fb[_0x1bdc15(0x288)]==='use'&&_0x226b4b[_0x1bdc15(0x235)]&&(_0x226b4b['xlink:href']=_0x226b4b[_0x1bdc15(0x235)]+_0x48f1f2['idSuffix']),Object['entries'](_0x226b4b)['forEach'](([_0x3ca2fe,_0x56db3f])=>{const _0x3a19c0=_0x1bdc15;typeof _0x56db3f=='string'&&(_0x226b4b[_0x3ca2fe]=_0x56db3f[_0x3a19c0(0x2e7)](/url\(#(.*)\)/,_0x3a19c0(0x215)+_0x48f1f2[_0x3a19c0(0x2a2)]+')'));})),_0x226b4b;}function _0x5d3a1e(_0x26b6b6,_0x3ea1be){const _0x2f97e8=_0x1dfb1a;var _0x1b9ceb;const {defIds:_0x53a452}=_0x3ea1be;return!_0x53a452||_0x53a452[_0x2f97e8(0x230)]===0x0?_0x26b6b6:_0x26b6b6[_0x2f97e8(0x288)]===_0x2f97e8(0x202)&&((_0x1b9ceb=_0x26b6b6[_0x2f97e8(0x2d4)])!=null&&_0x1b9ceb[_0x2f97e8(0x230)])?{..._0x26b6b6,'children':_0x26b6b6[_0x2f97e8(0x2d4)][_0x2f97e8(0x2e0)](_0x2772ea=>typeof _0x2772ea[_0x2f97e8(0x247)]['id']==_0x2f97e8(0x2ed)&&_0x53a452&&_0x53a452[_0x2f97e8(0x277)](_0x2772ea[_0x2f97e8(0x247)]['id'])?{..._0x2772ea,'attrs':{..._0x2772ea[_0x2f97e8(0x247)],'id':_0x2772ea[_0x2f97e8(0x247)]['id']+_0x3ea1be[_0x2f97e8(0x2a2)]}}:_0x2772ea)}:_0x26b6b6;}function _0x4688c6(){const _0x22ea82=_0x1dfb1a;return Math['random']()[_0x22ea82(0x26e)](0x24)[_0x22ea82(0x2f5)](0x2,0x8);}_0x310ce0[_0x1dfb1a(0x236)]=_0x1dfb1a(0x22c);const _0x475e85={'tag':_0x1dfb1a(0x2d8),'attrs':{'xmlns':_0x1dfb1a(0x2f4),'fill':_0x1dfb1a(0x1f3),'viewBox':'0\x200\x2016\x2016','width':_0x1dfb1a(0x1fa),'height':_0x1dfb1a(0x1fa)},'children':[{'tag':'g','attrs':{'fill':_0x1dfb1a(0x20a),'clipPath':_0x1dfb1a(0x258)},'children':[{'tag':_0x1dfb1a(0x2a3),'attrs':{'d':_0x1dfb1a(0x1f7)}},{'tag':_0x1dfb1a(0x2a3),'attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1dfb1a(0x2be),'attrs':{'id':_0x1dfb1a(0x2cc)},'children':[{'tag':_0x1dfb1a(0x2a3),'attrs':{'fill':_0x1dfb1a(0x23e),'d':_0x1dfb1a(0x292)}}]}]}],'defIds':[_0x1dfb1a(0x2cc)]},_0x547813=_0x45a5ed[_0x1dfb1a(0x287)](function(_0x7ddaa3,_0x515dec){const _0x5048f8=_0x1dfb1a;return _0x45a5ed[_0x5048f8(0x2ea)](_0x310ce0,Object[_0x5048f8(0x2e9)]({},_0x7ddaa3,{'id':_0x5048f8(0x1f9),'ref':_0x515dec,'icon':_0x475e85}));});_0x547813['displayName']=_0x1dfb1a(0x30b);var _0x4ffeb2=Object[_0x1dfb1a(0x2c8)],_0x18861c=(_0xb01f10,_0xce2965,_0x11bbc2,_0x154293)=>{const _0x4cb9e6=_0x1dfb1a;for(var _0x15b18a=_0x154293>0x1?void 0x0:_0x154293?_0x4ffeb2(_0xce2965,_0x11bbc2):_0xce2965,_0x30b506=_0xb01f10[_0x4cb9e6(0x230)]-0x1,_0x10459e;_0x30b506>=0x0;_0x30b506--)(_0x10459e=_0xb01f10[_0x30b506])&&(_0x15b18a=_0x10459e(_0x15b18a)||_0x15b18a);return _0x15b18a;},_0x1da4a=(_0x149a4f,_0xae76fc)=>(_0x348bba,_0x20f943)=>_0xae76fc(_0x348bba,_0x20f943,_0x149a4f);const _0x11ae25=_0x1dfb1a(0x2fb),_0xdb1c36=_0x1dfb1a(0x24c),_0x3c4b02=_0x1dfb1a(0x2fa);_0x5cac82[_0x1dfb1a(0x1fc)]=class extends _0x34a90d[_0x1dfb1a(0x256)]{constructor(_0x5d3f69,_0x2e99a6,_0x5609ba,_0x527900,_0x54b561,_0x1c3cb8,_0x212315,_0x33485c,_0x3b639a,_0x352b54){const _0x49d3f9=_0x1dfb1a;super(),_0x536d7b(this,'_historyUniver$',new _0x48578a['BehaviorSubject'](null)),_0x536d7b(this,'historyUniver$',this[_0x49d3f9(0x24b)][_0x49d3f9(0x2df)]()),_0x536d7b(this,'_disposableCollection',new _0x34a90d[(_0x49d3f9(0x2dc))]()),_0x536d7b(this,'_pluginMap',new Map()),(this[_0x49d3f9(0x22d)]=_0x5d3f69,this[_0x49d3f9(0x29c)]=_0x2e99a6,this[_0x49d3f9(0x315)]=_0x5609ba,this[_0x49d3f9(0x243)]=_0x527900,this[_0x49d3f9(0x2c3)]=_0x54b561,this[_0x49d3f9(0x229)]=_0x1c3cb8,this['_selectionProtectionRuleModel']=_0x212315,this[_0x49d3f9(0x26c)]=_0x33485c,this[_0x49d3f9(0x2b9)]=_0x3b639a,this[_0x49d3f9(0x278)]=_0x352b54,this[_0x49d3f9(0x29b)]());}get[_0x1dfb1a(0x228)](){const _0x4e5883=_0x1dfb1a;return this[_0x4e5883(0x24b)][_0x4e5883(0x2b2)];}[_0x1dfb1a(0x29b)](){const _0x3c0ce8=_0x1dfb1a;this[_0x3c0ce8(0x2fe)](),this[_0x3c0ce8(0x2a1)]();}[_0x1dfb1a(0x2fe)](){const _0x475bcd=_0x1dfb1a;var _0x280b45;const _0x3c4062=(_0x280b45=this[_0x475bcd(0x315)][_0x475bcd(0x249)](_0xdb1c36))!=null?_0x280b45:_0x11ae25,_0x5a6293=document['getElementById'](_0x3c4062);if(!_0x5a6293)return;const _0x4eecd1=document[_0x475bcd(0x2ea)](_0x475bcd(0x264));_0x4eecd1['id']=_0x3c4b02,_0x4eecd1[_0x475bcd(0x2b3)][_0x475bcd(0x2da)]=_0x475bcd(0x27e),_0x4eecd1[_0x475bcd(0x239)]['position']=_0x475bcd(0x226),_0x4eecd1['style']['top']='0',_0x4eecd1[_0x475bcd(0x239)][_0x475bcd(0x2d5)]='0',_0x4eecd1[_0x475bcd(0x239)]['width']=_0x475bcd(0x259),_0x4eecd1[_0x475bcd(0x239)][_0x475bcd(0x299)]=_0x475bcd(0x259),_0x4eecd1['style']['zIndex']=_0x475bcd(0x2c1),_0x4eecd1[_0x475bcd(0x239)][_0x475bcd(0x23d)]='none',_0x5a6293['appendChild'](_0x4eecd1);}[_0x1dfb1a(0x2a1)](){const _0x173d85=_0x1dfb1a;var _0x1be5e4,_0x54a840,_0x1327dd,_0x40a224;[[_0x1441e7['UniverRenderEnginePlugin']],[_0x34cb47[_0x173d85(0x23c)],{'container':_0x3c4b02,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x34cb47['IDialogService'],null]]}],[_0x323686[_0x173d85(0x293)]],[_0x522ec0[_0x173d85(0x2f9)],{'override':[[_0x522ec0[_0x173d85(0x298)],null]]}],[_0x3c81c2[_0x173d85(0x223)],{'hasScroll':!0x1}],[_0x440a5e[_0x173d85(0x2a7)]],[_0x564a49[_0x173d85(0x2bf)]],[_0x2fde5c['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x1f95dc['UniverSheetsUIPlugin']],[_0x1ec90c[_0x173d85(0x1f6)]],[_0x2ac54a['UniverSheetsFormulaUIPlugin']],[_0x2eb656[_0x173d85(0x2c7)]],[_0x443dfa['UniverSheetsFilterPlugin']],[_0x37a903[_0x173d85(0x23f)]],[_0x16fe94['UniverSheetsConditionalFormattingPlugin']],[_0xcff4fb[_0x173d85(0x30e)]],[_0x580d09[_0x173d85(0x280)]],[_0xaa7fa9[_0x173d85(0x2f1)]],[_0xe21d26['UniverDataValidationPlugin']],[_0x639a1e[_0x173d85(0x21e)]],[_0x8ee3b6[_0x173d85(0x2b0)]],[_0x3b845d[_0x173d85(0x1fe)],{'notExecuteFormula':!0x0}],[_0x55a82b['UniverRPCMainThreadPlugin'],{'workerURL':(_0x54a840=(_0x1be5e4=this['_configService']['getConfig'](_0x55a82b[_0x173d85(0x311)]))==null?void 0x0:_0x1be5e4['workerURL'])!=null?_0x54a840:_0x173d85(0x2e8)}],[_0x1ef6a0[_0x173d85(0x22f)]],[_0x1a27f2[_0x173d85(0x2f2)]],[_0xd84625['UniverSheetsDrawingUIPlugin']],[_0x4b06d1[_0x173d85(0x27c)]],[_0x11d5a3[_0x173d85(0x2f7)]],[_0x7b79a6[_0x173d85(0x234)]],[_0x147fa9['UniverSheetsChartUIPlugin']],[_0x2869ae[_0x173d85(0x2e6)],{'notExecuteFormula':!0x0}],[_0x439866[_0x173d85(0x282)],{'historyListServerUrl':(_0x1327dd=this['_configService'][_0x173d85(0x249)](_0x78e37d))==null?void 0x0:_0x1327dd[_0x173d85(0x30d)],'historyPanelComponentKey':(_0x40a224=this[_0x173d85(0x315)][_0x173d85(0x249)](_0x78e37d))==null?void 0x0:_0x40a224[_0x173d85(0x24e)]}]][_0x173d85(0x2ca)](([_0x561b30,_0x564dfe])=>this[_0x173d85(0x313)](_0x561b30,_0x564dfe));}[_0x1dfb1a(0x2a4)](){const _0x5106c9=_0x1dfb1a;super['dispose'](),this[_0x5106c9(0x22a)](),this[_0x5106c9(0x283)]['clear']();}[_0x1dfb1a(0x313)](_0xf031bd,_0x31b0f1,_0x1a97d4){const _0x1e7a8b=_0x1dfb1a;if(this[_0x1e7a8b(0x283)][_0x1e7a8b(0x257)](_0xf031bd[_0x1e7a8b(0x2fc)])&&!_0x1a97d4)throw new Error(_0x1e7a8b(0x2dd)+_0xf031bd['pluginName']+_0x1e7a8b(0x206));this[_0x1e7a8b(0x283)][_0x1e7a8b(0x1fb)](_0xf031bd['pluginName'],[_0xf031bd,_0x31b0f1]);}[_0x1dfb1a(0x2bc)](){const _0x34b665=_0x1dfb1a;return Array[_0x34b665(0x211)](this[_0x34b665(0x283)][_0x34b665(0x27b)]());}[_0x1dfb1a(0x2aa)](_0x4ffb4c){const _0xeb1684=_0x1dfb1a,_0x4ede76=document['getElementById'](_0x3c4b02);_0x4ede76&&(_0x4ede76[_0xeb1684(0x239)]['display']=_0xeb1684(0x224),this[_0xeb1684(0x30c)](_0x4ffb4c,_0x3c4b02));}[_0x1dfb1a(0x22a)](){const _0x2ff87d=_0x1dfb1a;var _0x3487a3;this[_0x2ff87d(0x2db)][_0x2ff87d(0x2a4)](),(_0x3487a3=this[_0x2ff87d(0x228)])==null||_0x3487a3[_0x2ff87d(0x2a4)](),this[_0x2ff87d(0x24b)][_0x2ff87d(0x2ac)](null);const _0x19ace6=document[_0x2ff87d(0x203)](_0x3c4b02);_0x19ace6&&(_0x19ace6[_0x2ff87d(0x239)][_0x2ff87d(0x23d)]=_0x2ff87d(0x1f3));}['_initUniver'](_0x298580,_0x417a2d){const _0x2e194d=_0x1dfb1a;if(this[_0x2e194d(0x228)])return;const _0x4e5989=new _0x34a90d[(_0x2e194d(0x21a))]({'locales':{[this[_0x2e194d(0x22d)][_0x2e194d(0x318)]()]:this[_0x2e194d(0x22d)][_0x2e194d(0x2e5)]()},'override':[[_0x34a90d['IAuthzIoService'],{'useClass':_0x45f3a2[_0x2e194d(0x267)]}]]}),_0x51dafb=_0x4e5989[_0x2e194d(0x304)]();this[_0x2e194d(0x29e)](this[_0x2e194d(0x278)][_0x2e194d(0x1fd)][_0x2e194d(0x2b1)](_0x4a9ff3=>{const _0x32310a=_0x2e194d;_0x51dafb[_0x32310a(0x245)](_0x34a90d[_0x32310a(0x317)])[_0x32310a(0x2d6)](_0x4a9ff3);})),this[_0x2e194d(0x29e)](this[_0x2e194d(0x278)][_0x2e194d(0x28f)]['subscribe'](_0x501f7c=>{const _0x14d8ca=_0x2e194d;_0x51dafb[_0x14d8ca(0x245)](_0x34a90d[_0x14d8ca(0x317)])['setTheme'](_0x501f7c);})),_0x51dafb[_0x2e194d(0x245)](_0x34a90d['LocaleService'])[_0x2e194d(0x301)](this[_0x2e194d(0x22d)]['getCurrentLocale']()),_0x51dafb[_0x2e194d(0x245)](_0x34a90d[_0x2e194d(0x2e3)])[_0x2e194d(0x316)](_0x45f3a2['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x2e194d(0x315)][_0x2e194d(0x249)](_0x45f3a2[_0x2e194d(0x262)]));const _0x207633=this[_0x2e194d(0x315)][_0x2e194d(0x249)](_0x520d16[_0x2e194d(0x250)]);_0x207633&&_0x4e5989[_0x2e194d(0x313)](_0x520d16['UniverLicensePlugin'],{'license':_0x207633['ls']}),this[_0x2e194d(0x283)][_0x2e194d(0x2ca)](([_0x32e3c9,_0x301c29])=>{const _0x51add6=_0x2e194d;_0x4e5989[_0x51add6(0x313)](_0x32e3c9,_0x301c29);}),_0x51dafb[_0x2e194d(0x2af)](_0x566e6b=>{const _0x21849c=_0x2e194d;this[_0x21849c(0x275)](_0x566e6b,_0x298580);}),this[_0x2e194d(0x24b)][_0x2e194d(0x2ac)](_0x4e5989);const _0x2adadb=_0x51dafb[_0x2e194d(0x245)](_0x439866[_0x2e194d(0x2cf)]),_0x5e67b1=this[_0x2e194d(0x20e)](_0x298580);_0x2adadb[_0x2e194d(0x28a)](_0x298580,_0x417a2d,_0x5e67b1);}[_0x1dfb1a(0x275)](_0x5a7470,_0x46dfc5){const _0x542274=_0x1dfb1a,_0x12cbba=_0x5a7470['get'](_0x439866['HistoryManagerService']);this[_0x542274(0x2db)][_0x542274(0x200)](_0x12cbba[_0x542274(0x286)][_0x542274(0x2b1)](_0x368ba1=>{const _0x375d46=_0x542274;switch(_0x368ba1){case _0x439866[_0x375d46(0x2b5)]['Entered']:this[_0x375d46(0x26c)][_0x375d46(0x218)](),this[_0x375d46(0x2b9)][_0x375d46(0x2b4)]();break;case _0x439866[_0x375d46(0x2b5)][_0x375d46(0x25b)]:this[_0x375d46(0x243)][_0x375d46(0x246)](_0x5828d9['id']),this[_0x375d46(0x22a)]();break;case _0x439866['HistoryModeStatus'][_0x375d46(0x308)]:this[_0x375d46(0x22a)](),this[_0x375d46(0x2c3)][_0x375d46(0x2bb)]({'content':this[_0x375d46(0x22d)]['t']('editHistory.panel.listFetchError'),'type':_0x4474d1[_0x375d46(0x25c)][_0x375d46(0x308)],'duration':0xbb8});break;}})),this[_0x542274(0x2db)][_0x542274(0x200)](_0x12cbba[_0x542274(0x27f)]['subscribe'](async _0x4320a7=>{const _0x3389db=_0x542274;_0x4320a7&&this[_0x3389db(0x243)][_0x3389db(0x246)](_0x2eb656[_0x3389db(0x2d9)]['id'],{'unitId':_0x46dfc5,'revision':_0x4320a7});}));}['_checkCanRevert'](_0x2d40cc){const _0x5f5870=_0x1dfb1a,_0x40e58a=this['_univerInstanceService']['getUnit'](_0x2d40cc)[_0x5f5870(0x2d3)]()[_0x5f5870(0x2e0)](_0x440d6d=>_0x440d6d[_0x5f5870(0x248)]()),_0x397602=new _0x2fde5c[(_0x5f5870(0x1f5))](_0x2d40cc)['id'],_0x232483=_0x40e58a[_0x5f5870(0x2e0)](_0xb099=>new _0x2fde5c[(_0x5f5870(0x232))](_0x2d40cc,_0xb099)['id']),_0x57069f=_0x40e58a[_0x5f5870(0x2e0)](_0x3aab9e=>this[_0x5f5870(0x2fd)][_0x5f5870(0x2ba)](_0x2d40cc,_0x3aab9e)[_0x5f5870(0x2e0)](_0x5adba0=>new _0x2fde5c[(_0x5f5870(0x26b))](_0x2d40cc,_0x3aab9e,_0x5adba0[_0x5f5870(0x24f)])['id']))[_0x5f5870(0x28c)](),_0x48dacb=new _0x2fde5c['WorkbookRecoverHistoryPermission'](_0x2d40cc)['id'];return this[_0x5f5870(0x229)]['composePermission']([_0x397602,..._0x232483,..._0x57069f,_0x48dacb])[_0x5f5870(0x2a6)](_0x3d208a=>!!_0x3d208a[_0x5f5870(0x2b2)]);}},_0x5cac82[_0x1dfb1a(0x1fc)]=_0x18861c([_0x1da4a(0x0,_0x34a90d[_0x1dfb1a(0x204)](_0x34a90d['LocaleService'])),_0x1da4a(0x1,_0x34a90d[_0x1dfb1a(0x2e2)]),_0x1da4a(0x2,_0x34a90d['IConfigService']),_0x1da4a(0x3,_0x34a90d[_0x1dfb1a(0x217)]),_0x1da4a(0x4,_0x34cb47[_0x1dfb1a(0x25f)]),_0x1da4a(0x5,_0x34a90d['IPermissionService']),_0x1da4a(0x6,_0x34a90d[_0x1dfb1a(0x204)](_0x2fde5c['RangeProtectionRuleModel'])),_0x1da4a(0x7,_0x34a90d[_0x1dfb1a(0x204)](_0x34cb47[_0x1dfb1a(0x289)])),_0x1da4a(0x8,_0x34a90d['Inject'](_0x34cb47[_0x1dfb1a(0x309)])),_0x1da4a(0x9,_0x34a90d[_0x1dfb1a(0x204)](_0x34a90d[_0x1dfb1a(0x317)]))],_0x5cac82['HistoryLoaderService']);const _0x4eab88={'id':_0x1dfb1a(0x24d),'type':_0x34a90d[_0x1dfb1a(0x28d)][_0x1dfb1a(0x30a)],'handler':_0x497f57=>{const _0x259e29=_0x1dfb1a,_0x376576=_0x497f57['get'](_0x5cac82[_0x259e29(0x1fc)]),_0x3e86ee=_0x497f57[_0x259e29(0x245)](_0x34a90d[_0x259e29(0x2e2)]),{unitId:_0xd75e52}=_0x2fde5c['getSheetCommandTarget'](_0x3e86ee)||{};return _0xd75e52?(_0x376576[_0x259e29(0x2aa)](_0xd75e52),!0x0):!0x1;}},_0x5828d9={'id':_0x1dfb1a(0x30f),'type':_0x34a90d['CommandType']['OPERATION'],'handler':()=>!0x0};function _0x276837(_0x127afc){const _0x5e485f=_0x1dfb1a;return{'id':_0x4eab88['id'],'type':_0x34cb47[_0x5e485f(0x261)][_0x5e485f(0x2ff)],'icon':_0x5e485f(0x30b),'tooltip':_0x5e485f(0x21f),'hidden$':_0x34cb47[_0x5e485f(0x29d)](_0x127afc,_0x34a90d[_0x5e485f(0x1f2)][_0x5e485f(0x2e4)]),'disabled$':_0x1f95dc[_0x5e485f(0x20b)](_0x127afc,{'workbookTypes':[_0x2fde5c[_0x5e485f(0x1f5)],_0x2fde5c[_0x5e485f(0x26d)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x117db3={[_0x34cb47[_0x1dfb1a(0x222)][_0x1dfb1a(0x263)]]:{[_0x4eab88['id']]:{'order':0.2,'menuItemFactory':_0x276837}}};var _0x380126=Object[_0x1dfb1a(0x2c8)],_0x90906b=(_0x158919,_0x46e3ef,_0x2f35fc,_0xdbcbe3)=>{const _0x4f69fe=_0x1dfb1a;for(var _0x276450=_0xdbcbe3>0x1?void 0x0:_0xdbcbe3?_0x380126(_0x46e3ef,_0x2f35fc):_0x46e3ef,_0x468c60=_0x158919[_0x4f69fe(0x230)]-0x1,_0x49fd4f;_0x468c60>=0x0;_0x468c60--)(_0x49fd4f=_0x158919[_0x468c60])&&(_0x276450=_0x49fd4f(_0x276450)||_0x276450);return _0x276450;},_0x3f160b=(_0x427586,_0x1f6e75)=>(_0x2ad1f8,_0x2d54b5)=>_0x1f6e75(_0x2ad1f8,_0x2d54b5,_0x427586);let _0x4ab4e8=class extends _0x34a90d[_0x1dfb1a(0x291)]{constructor(_0x4d42a3,_0x2d4b53,_0x2d1d74,_0x569f35,_0x445122,_0x2a59b0,_0x344f4b,_0x3a3846){const _0x34823c=_0x1dfb1a;super(),_0x536d7b(this,_0x34823c(0x274),null),(this[_0x34823c(0x243)]=_0x4d42a3,this[_0x34823c(0x209)]=_0x2d4b53,this['_componentManager']=_0x2d1d74,this[_0x34823c(0x205)]=_0x569f35,this[_0x34823c(0x22d)]=_0x445122,this['_messageService']=_0x2a59b0,this[_0x34823c(0x2f0)]=_0x344f4b,this[_0x34823c(0x207)]=_0x3a3846,this[_0x34823c(0x29b)]());}['_init'](){const _0x13126c=_0x1dfb1a;[_0x4eab88,_0x5828d9][_0x13126c(0x2ca)](_0x5834c1=>this[_0x13126c(0x29e)](_0x34a90d[_0x13126c(0x20d)](this['_commandService'][_0x13126c(0x208)](_0x5834c1)))),this[_0x13126c(0x29e)](this['_componentManager'][_0x13126c(0x271)]('HistoryIcon',_0x547813)),this[_0x13126c(0x209)]['mergeMenu'](_0x117db3),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0xa15784=>{const _0x35a282=_0x13126c;if(_0xa15784['id']===_0x2eb656[_0x35a282(0x2d9)]['id']){this[_0x35a282(0x2c3)][_0x35a282(0x2bb)]({'content':this[_0x35a282(0x22d)]['t'](_0x35a282(0x297)),'type':_0x4474d1['MessageType'][_0x35a282(0x21d)],'duration':0x1388});const {unitId:_0x48f3ce}=_0xa15784['params'],_0x381884=this[_0x35a282(0x2f0)][_0x35a282(0x25d)](_0x48f3ce),_0x50d507=_0x48578a[_0x35a282(0x214)]([_0x381884[_0x35a282(0x2ab)]['event$'],_0x381884[_0x35a282(0x2f8)]])[_0x35a282(0x2b1)](async([_0x554dd4,_0x4115c9])=>{const _0x32fe84=_0x35a282;var _0x2cf1b0;_0x554dd4[_0x32fe84(0x29f)]===_0x2eb656[_0x32fe84(0x307)]['CHANGESET_ACK']&&(_0x4115c9==null?void 0x0:_0x4115c9[_0x32fe84(0x2f6)])===_0x45f3a2['CollaborationStatus'][_0x32fe84(0x312)]&&_0x554dd4[_0x32fe84(0x20f)]['mutations'][_0x32fe84(0x23a)](_0x2cb6e6=>_0x2cb6e6['id']===_0x2eb656[_0x32fe84(0x2d9)]['id'])&&(this['_historyManagerService'][_0x32fe84(0x22a)](),_0x50d507['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x32fe84(0x274)]),await((_0x2cf1b0=this[_0x32fe84(0x207)])==null?void 0x0:_0x2cf1b0[_0x32fe84(0x2c2)]()),setTimeout(()=>window['location'][_0x32fe84(0x21b)]()));});this[_0x35a282(0x274)]=setTimeout(()=>{const _0x443e20=_0x35a282;_0x50d507[_0x443e20(0x2d1)](),this['_messageService'][_0x443e20(0x2bb)]({'content':this['_localeService']['t'](_0x443e20(0x21c)),'type':_0x4474d1[_0x443e20(0x25c)][_0x443e20(0x308)],'duration':0xbb8});},0x1388);}}));}};_0x4ab4e8=_0x90906b([_0x3f160b(0x0,_0x34a90d['ICommandService']),_0x3f160b(0x1,_0x34cb47['IMenuManagerService']),_0x3f160b(0x2,_0x34a90d['Inject'](_0x34cb47['ComponentManager'])),_0x3f160b(0x3,_0x34a90d[_0x1dfb1a(0x204)](_0x5cac82['HistoryLoaderService'])),_0x3f160b(0x4,_0x34a90d[_0x1dfb1a(0x204)](_0x34a90d[_0x1dfb1a(0x290)])),_0x3f160b(0x5,_0x34cb47[_0x1dfb1a(0x25f)]),_0x3f160b(0x6,_0x34a90d[_0x1dfb1a(0x204)](_0x45f3a2[_0x1dfb1a(0x2bd)])),_0x3f160b(0x7,_0x45f3a2[_0x1dfb1a(0x2eb)])],_0x4ab4e8);var _0x504575=Object[_0x1dfb1a(0x2c8)],_0xe9f61c=(_0x162713,_0x9db5a6,_0x218b2e,_0x42414b)=>{const _0x3a1642=_0x1dfb1a;for(var _0x27a82f=_0x42414b>0x1?void 0x0:_0x42414b?_0x504575(_0x9db5a6,_0x218b2e):_0x9db5a6,_0x4280cf=_0x162713[_0x3a1642(0x230)]-0x1,_0x4d920e;_0x4280cf>=0x0;_0x4280cf--)(_0x4d920e=_0x162713[_0x4280cf])&&(_0x27a82f=_0x4d920e(_0x27a82f)||_0x27a82f);return _0x27a82f;},_0x49983f=(_0x54d8e8,_0x280875)=>(_0x15b7ef,_0x59762e)=>_0x280875(_0x15b7ef,_0x59762e,_0x54d8e8);const _0x546900=_0x1dfb1a(0x265);_0x5cac82['UniverEditHistoryLoaderPlugin']=(_0x52766f=class extends _0x34a90d[_0x1dfb1a(0x296)]{constructor(_0xe666c=_0x4cb294,_0x57735e,_0x4b15dd){const _0x228108=_0x1dfb1a;super(),this['_config']=_0xe666c,this['_injector']=_0x57735e,this[_0x228108(0x315)]=_0x4b15dd;const {menu:_0x2125f7,..._0x366d33}=_0x34a90d[_0x228108(0x2a8)]({},_0x4cb294,this['_config']);_0x2125f7&&this[_0x228108(0x315)][_0x228108(0x316)](_0x228108(0x266),_0x2125f7,{'merge':!0x0}),this[_0x228108(0x315)][_0x228108(0x316)](_0x78e37d,_0x366d33),this[_0x228108(0x2b7)][_0x228108(0x269)]&&this['_configService'][_0x228108(0x316)](_0xdb1c36,this[_0x228108(0x2b7)]['univerContainerId']);}['onStarting'](){const _0x4d18ba=_0x1dfb1a;[[_0x5cac82[_0x4d18ba(0x1fc)]],[_0x4ab4e8]][_0x4d18ba(0x2ca)](_0x7131b9=>this[_0x4d18ba(0x22b)][_0x4d18ba(0x200)](_0x7131b9));}[_0x1dfb1a(0x2f3)](){const _0x3d8b46=_0x1dfb1a;this[_0x3d8b46(0x22b)]['get'](_0x4ab4e8);}},_0x536d7b(_0x52766f,'type',_0x34a90d[_0x1dfb1a(0x1f2)][_0x1dfb1a(0x2ef)]),_0x536d7b(_0x52766f,_0x1dfb1a(0x2fc),_0x546900),_0x52766f),_0x5cac82[_0x1dfb1a(0x28e)]=_0xe9f61c([_0x49983f(0x1,_0x34a90d[_0x1dfb1a(0x204)](_0x34a90d[_0x1dfb1a(0x2ce)])),_0x49983f(0x2,_0x34a90d[_0x1dfb1a(0x2e3)])],_0x5cac82[_0x1dfb1a(0x28e)]),_0x5cac82['UNIVER_CONTAINER_ID_KEY']=_0xdb1c36,_0x5cac82[_0x1dfb1a(0x2b8)]=_0x3c4b02,Object[_0x1dfb1a(0x1f1)](_0x5cac82,Symbol[_0x1dfb1a(0x242)],{'value':_0x1dfb1a(0x28b)});}));function _0x37d8(){const _0x5949e5=['_sidebarService','getSubunitRuleList','show','getAllPlugins','CollaborationController','clipPath','UniverSheetsNumfmtPlugin','6823593idOMlT','1000','exhaustSavingTask','_messageService','UniverDesign','colorChannel1','UniverEngineFormula','UniverCollaborationPlugin','getOwnPropertyDescriptor','UniverProEditHistoryViewer','forEach','21714060LhWnrB','history-icon_clip0_907_281','@univerjs-pro/collaboration','Injector','HistoryManagerService','defIds','unsubscribe','@univerjs-pro/license','getSheets','children','left','setDarkMode','react','svg','RevertRevisionMutation','uComp','_disposableCollection','DisposableCollection','[HistoryLoaderService]:\x20Plugin\x20','@univerjs/rpc','asObservable','map','@univerjs/docs','IUniverInstanceService','IConfigService','UNIVER_SHEET','getLocales','UniverSheetsPivotTablePlugin','replace','./worker.js','assign','createElement','ILocalCacheService','UniverSheetsDrawing','string','@univerjs/sheets-conditional-formatting','UNIVER_UNKNOWN','_collaborationController','UniverSheetsHyperLinkUIPlugin','UniverSheetsDrawingPlugin','onSteady','http://www.w3.org/2000/svg','substring','status','UniverSheetSparklineUIPlugin','state$','UniverDrawingPlugin','univer-history-container','univer-container','pluginName','_selectionProtectionRuleModel','_initContainer','BUTTON','rxjs','setLocale','@univerjs/sheets','UniverProCollaboration','__getInjector','fill','949036xKUrat','CollaborationEvent','Error','ISidebarService','OPERATION','HistoryIcon','_initUniver','historyListServerUrl','UniverSheetsConditionalFormattingUIPlugin','univer.operation.exit-edit-history','univerjs-icon\x20univerjs-icon-','PLUGIN_CONFIG_KEY_MAIN_THREAD','SYNCED','registerPlugin','UniverDocsUi','_configService','setConfig','ThemeService','getCurrentLocale','@univerjs/sheets-numfmt','defineProperty','UniverInstanceType','none','UniverSheets','WorkbookEditablePermission','UniverSheetsFormulaPlugin','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','408jRkOyt','history-icon','1em','set','HistoryLoaderService','darkMode$','UniverFormulaEnginePlugin','UniverSheetsDrawingUi','add','entries','defs','getElementById','Inject','_historyManagerService','\x20has\x20been\x20registered.','_localCacheService','registerCommand','_menuManagerService','currentColor','getCurrentRangeDisable$','UniverProSheetsSparklineUi','toDisposable','_checkCanRevert','data','function','from','@univerjs/sheets-conditional-formatting-ui','@univerjs-pro/sheets-sparkline','combineLatest','url(#$1','UniverSheetsFilterUi','ICommandService','closeAll','UniverProEditHistoryLoader','Univer','reload','editHistory.panel.revertFailed','Loading','UniverSheetsDataValidationPlugin','editHistory.panel.title','@univerjs-pro/collaboration-client','@univerjs-pro/sheets-pivot','RibbonStartGroup','UniverDocsPlugin','block','UniverSheetsFormulaUi','absolute','3fgyHTP','historyUniver','_permissionService','unMountHistoryContent','_injector','UniverIcon','_localeService','UniverDocs','UniverDrawingUIPlugin','length','@univerjs-pro/sheets-chart-ui','WorksheetEditPermission','UniverProSheetsSparkline','UniverSheetsChartPlugin','xlink:href','displayName','UniverProSheetsChartUi','@univerjs/core','style','some','@univerjs/drawing-ui','UniverUIPlugin','display','white','UniverSheetsFilterUIPlugin','@univerjs/design','@univerjs-pro/edit-history-viewer','toStringTag','_commandService','@univerjs/data-validation','get','executeCommand','attrs','getSheetId','getConfig','UniverUi','_historyUniver$','UNIVER_CONTAINER_ID','univer.operation.toggle-edit-history','historyPanelComponentKey','permissionId','LS_CONFIG_KEY','UniverSheetsNumfmt','UniverSheetsUi','UniverSheetsFilter','useRef','@univerjs/sheets-filter','Disposable','has','url(#history-icon_clip0_907_281)','100%','amd','Exited','MessageType','getCollabEntity','React','IMessageService','UniverSheetsFormula','MenuItemType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','OTHERS','div','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','menu','AuthzIoHttpService','277353qyKMgt','univerContainerId','object','RangeProtectionPermissionEditPoint','_dialogService','WorkbookViewHistoryPermission','toString','@univerjs/sheets-formula-ui','@univerjs/sheets-hyper-link-ui','register','@univerjs/sheets-drawing','exports','_revertErrorTimer','_initListener','trim','includes','_themeService','UniverProCollaborationClient','UniverNetwork','values','UniverSheetSparklinePlugin','UniverDrawingUi','history-container','revertRevision$','UniverSheetsHyperLinkPlugin','@univerjs/engine-formula','UniverEditHistoryViewerPlugin','_pluginMap','78iFqdXN','@univerjs/sheets-data-validation-ui','status$','forwardRef','tag','IDialogService','triggerLoadVersions','Module','flat','CommandType','UniverEditHistoryLoaderPlugin','currentTheme$','LocaleService','RxDisposable','M0\x200H16V16H0z','UniverNetworkPlugin','mask','UniverCore','Plugin','editHistory.panel.reverting','IImageIoService','height','UniverRpc','_init','_univerInstanceService','getMenuHiddenObservable','disposeWithMe','eventID','630976QuOSmn','_initPlugins','idSuffix','path','dispose','1244940CkmGNN','every','UniverDocsUIPlugin','merge','105715WWlvSY','mountHistoryContent','session','next','@univerjs/sheets-hyper-link','UniverSheetsDataValidation','invoke','UniverSheetsDataValidationUIPlugin','subscribe','value','dataset','close','HistoryModeStatus','UniverSheetsHyperLinkUi','_config','UNIVER_HISTORY_CONTAINER_ID'];_0x37d8=function(){return _0x5949e5;};return _0x37d8();}
21
21
 
22
22
  // index
23
23
  (function(e,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(e=typeof globalThis<"u"?globalThis:e||self,o(e.UniverPresetSheetsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi,e.UniverProEditHistoryLoader))})(this,(function(e,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0}=n,r=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:s(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${r}/universer-api/history`}]]}}e.UniverSheetsCollaborationPreset=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));